What is Hackers' Pub?

Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.

1
0
0
0
2
2
1
1
0
2
1
1

I just realized that the default specifications for ActivityPub/ActivityStreams do not have a way to perform an update on an object's ID. (ie, moving it from example.com/1 -> example.com/2)

An Update activity does not allow ID updates because it would lose the reference to the original one. (It can be massaged by using an Origin property, but I don't like that).

Another option would be to use a Move activity (which is defined as moving objects between collections), where the Origin property is the object itself instead of a collection. (I like this behaviour better, as it requires less divergence from the spec)

0

Inspired by the @rl_daneR.L. Dane :Debian: :OpenBSD: 🍵 post (polymaths.social/@rl_dane/stat) about "Cool computers always have/had a light background. This is where I live now. I ain't movin'" — I remember about some words, I've read in the man 4 vt.

I've already changed default console font via vidcontrol, so why not to try change a colors for the text terminals too? :drgn_think_science:

There are some sysctl variables, which can be changed via /boot/loader.conf — 16 variables for 8 base colors and for the 8 bright versions of the same colors. And :drgn_lurk_notice: the same 16 colors are listed in the description of my beloved Solarized color theme!

So, I just entered the necessary hex values to the /boot/loader.conf and rebooted. Result was far from ideal — somehow, the red/blue and cyan/brown colors are swapped (see the pic 1), despite all color codes are matched with corresponding hex color codes :drgn_confused: .

Ok, I entered blue hex color code to the variable with red code and vice versa. And the text descriptions of colors from "vidcontrol show" got the right colors. Despite, some bright colors displayed as shades of grey (see pic. 2).

Don't know why, maybe it is bug in the Intel's i915kms or in the vt driver :drgn_think_confused:

The last change I've made — swapped the white and black color definitions to get something like Solarized Light. The result is on the pic. 3 :drgn_sparkle:

List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors).

It is visible that pairs of red/blue and cyan/yellow are swapped between each other.List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors).

It is visible from output that some bright versions of colors are not displayed correctly. The bright- blue, green, cyan, magenta and yellow are displayed as shades of grey.List of colors in terminal, issued by vidcontrol show. There are 8 base colors (black, blue, green, cyan, red, magenta, brown and white) and their bright versions (also 8 colors).

The black and white colors are swapped so the colors in terminal looks like Solarized Light color theme.Configuration in /boot/loader.conf to get a something like SolarizedLight in the text terminals:

######################
# Text console colors:
######################
# 0 - black    8  - grey
# 1 - blue     9  - lightblue
# 2 - green    10 - lightgreen
# 3 - cyan     11 - lightcyan
# 4 - red      12 - lightred
# 5 - magenta  13 - lightmagenta
# 6 - brown    14 - yellow
# 7 - white    15 - lightwhite
#
# Used colortheme: Solarized light
kern.vt.color.0.rgb="#eee8d5"  # black (white IRL)
kern.vt.color.1.rgb="#dc322f"  # blue
kern.vt.color.2.rgb="#859900"  # green
kern.vt.color.3.rgb="#b58900"  # cyan
kern.vt.color.4.rgb="#268bd2"  # red
kern.vt.color.5.rgb="#d33682"  # magenta
kern.vt.color.6.rgb="#2aa198"  # brown
kern.vt.color.7.rgb="#073642"  # white (black IRL)
kern.vt.color.8.rgb="#fdf6e3"  # grey (lightwhite IRL)
kern.vt.color.9.rgb="#cb4b16"  # lightblue
kern.vt.color.10.rgb="#586e75" # lightgreen
kern.vt.color.11.rgb="#657b83" # lightcyan
kern.vt.color.12.rgb="#839496" # lightred
kern.vt.color.13.rgb="#6c71c4" # lightmagenta
kern.vt.color.14.rgb="#93a1a1" # yellow
kern.vt.color.15.rgb="#002b36" # lightwhite (grey IRL)
0
0
1
1
1
1
0
0
1
0
1
1
0
1
2
1
1
2
0
0
2
1
0
1

こわ!​:syuilo_guee:
そにょちゃも閉まってるドアが急に「カチャ」って開く現象に悩まされたことがあるけど
こんなに大きく開くのは、、、、ナニカイル

RE:
https://misskey.io/notes/abgcn7cy09zl06lc

1
1

小学生の時のパソコン授業で、ペイントソフトを作ってオリジナルイラストを作る授業があった。

私はちんこの拡大イラストを書いていたのだが、気づいた教員に管理者PC経由でデータ消された。
モデレーター権限の強大さを味わった。あの日から大企業のサーバーを信じなくなった。

0
1
0
0
1
0
1
1
1
0
1