Email or username:

Password:

Forgot your password?
10 posts total
Rubikoid

Using #vim is easy once you learn a few basic keybindings.

h and l - move left and right
j and k - move down and up
η and λ - move backwards and forwards through time
ξ and κ - translation through additional temporal dimension (if applicable)
ᚻ, ᛄ, ᚳ and ᛚ - moving left, down, up, and right through celestial spheres
𐤄 and 𐤋 - switch deity to pantheon member to left or right
𐤉 - supplicate to chosen deity
𐤊 - challenge chosen deity (dangerous)
:q - exit

Rubikoid

Can you answer this simple question about the C programming language?

$ cat test.c
#include <string.h>
#include <stdio.h>
int main() { printf("%d\n", strlen("\x01c")); }
$ cc test.c && ./a.out

What number does this program print?

Anonymous poll

Poll

0
15
3.5%
1
127
29.5%
2
211
49%
other / results
78
18.1%
431 people voted.
Voting ended 9 May at 2:37.
Show previous comments
jn

@whitequark i knew it was a trick question, but i didn't see how

tnt

@whitequark If you have syntax highlight it makes it obvious

humm

@whitequark C does not define the exact width of a byte. A char (read: byte) must be at least 8 bits wide, but can be as wide as the implementation wants. So if you have 12-bit chars and want to specify their values using \x, two hexadecimal digits won’t be enough. And saying “all following digits are part of the number” is easier for both the specification and the programmer than saying “the number of digits is ceil(CHAR_BIT/4).” In theory, in a world where you actually have systems with CHAR_BIT ≠ 8.

Rubikoid

Я переписал карту для yggdrasil: github.com/Rubikoid/yggdrasil-

Я уже писал, кажется, что у меня есть небольшая, но гордая, изолированная от основной ветки сетка на игге.
(tldr, ygg - это одноранговая оверлейная ipv6 mesh сетка).

Очень хотелось иметь какой-нибудь мониторинг, какие ноды в ней есть, кто к чему подключен, как пакетики ходят...

Есть проекты карты, который уже чуть ли не третью или четвертую оверлейную сетку живет, однако там есть фаттальный недостаток.

Она написана через жопу, и поддерживать её для собственных нужно было гиперсложно.
Поэтому пришлось переписать и получилось вот это ;)

#yggdrasil #yggdrasilnetwork

Я переписал карту для yggdrasil: github.com/Rubikoid/yggdrasil-

Я уже писал, кажется, что у меня есть небольшая, но гордая, изолированная от основной ветки сетка на игге.
(tldr, ygg - это одноранговая оверлейная ipv6 mesh сетка).

Очень хотелось иметь какой-нибудь мониторинг, какие ноды в ней есть, кто к чему подключен, как пакетики ходят...

Rubikoid

I rewrote the map for yggdrasil: github.com/Rubikoid/yggdrasil-

I wrote before, that I have a small but proud, isolated from the main branch net on ygg.
(tldr, ygg is a peer-to-peer overlay ipv6 mesh).

I really wanted to monitor what nodes are there, who is connected to what, how packets go...

There are project of map, which is almost the third or fourth overlay mesh is living, but there is a fatal flaw.

It was written through the ass, and it was hyper difficult to maintain it for your own.

#yggdrasil #yggdrasilnetwork

I rewrote the map for yggdrasil: github.com/Rubikoid/yggdrasil-

I wrote before, that I have a small but proud, isolated from the main branch net on ygg.
(tldr, ygg is a peer-to-peer overlay ipv6 mesh).

I really wanted to monitor what nodes are there, who is connected to what, how packets go...

Rubikoid

Я умудрился разлить колу на keychron k5se.

Клавиатура в целом живая, но есть несколько неожиданных моментов:
1. Она вся разбирается примерно за 1-1.5 часа.
2. Нужно две биты, ph0 и ph00.
3. Китайцы очень любят много маленьких винтиков (их там суммарно штук 30+ наверно. я задолбался их выкручивать, а потом вкручивать)
4. Винтики, которые крепят плату к корпусу - сделаны из пластилина. Слизываются очень легко даже правильной битой (а неправильной слизываются совсем легко)
5. Жидкости до платы добраться сложно - свичи сидят довольно плотно. (вроде как и не добралось ничего. Надеюсь)
6. Смазка со стабов каким-то образом затекает в область площадки оптического сенсора. То ли я перестарался, когда продувал её, то ли оно конструктивно так сделано.
7. So far из всех потерь - где-то 2-4 свича, которые начали хуже возвращаться в исходную позицию. Решается просто покупкой пакетика новых.

Я умудрился разлить колу на keychron k5se.

Клавиатура в целом живая, но есть несколько неожиданных моментов:
1. Она вся разбирается примерно за 1-1.5 часа.
2. Нужно две биты, ph0 и ph00.
3. Китайцы очень любят много маленьких винтиков (их там суммарно штук 30+ наверно. я задолбался их выкручивать, а потом вкручивать)
4. Винтики, которые крепят плату к корпусу - сделаны из пластилина. Слизываются очень легко даже правильной битой (а неправильной слизываются совсем легко)
5. Жидкости до платы добраться...

Rubikoid

I love focking #nix.

Tried to setup nix-darwin from my big infra repo with working configs for about 3-4 nix machines and got extremely strange error about non-existence of secrets folder, which i include as submodule.

In the result: all prod runs nix 2.18 or older.
My mac had nix 2.20.
They broke ?submodule param in 2.19.

Rubikoid

The reason why Im asking about email filtering is because I encountered very sad problem - I have more than 5 mailboxes, every on different hostings.

Some on google, some on yandex, some on my self host, some on other's self host.

And so I need a simple, convenient and reproducible way to move everything to spam filter all of my mail.

I don't want to use proprietary filters - they are, ewww, proprietary.
It is hard to maintain and backup them.

I can't use sieve, because
1) proprietary mailboxes doesn't support it.
2) my personal selfhost too (it can, but i don't want touch dovecot)

I'm also don't like mail client filters for the same reasons as the proprietary.
Despite the backup process easier, maintaining them is like a madness.

Also sometimes i need enogh complex logic in filters.

The reason why Im asking about email filtering is because I encountered very sad problem - I have more than 5 mailboxes, every on different hostings.

Some on google, some on yandex, some on my self host, some on other's self host.

And so I need a simple, convenient and reproducible way to move everything to spam filter all of my mail.

Rubikoid

Fedi, which way do you filter your email?

Anonymous poll

Poll

Proprietary online services (gmail / yandex / proton / etc)
6
85.7%
Filters in mail client - thunderbird / outlook / etc
2
28.6%
Sieve
1
14.3%
Hands
0
0%
Smth else (reply?)
0
0%
7 people voted.
Voting ended 11 April at 13:58.
Ever Aftar

@rubikoid Some proprietary online services use Sieve under the hood, and let the users edit their filters online.

Rubikoid

Ура, товарищи, мы снова онлайн!

Спустя неделю после появления критикал дыры в мастодоне, я таки смог добраться до конфигов и обновить свой инстанс.

Почему? Потому что glitch-soc, форк мастодона, используемый на моем инстансе, обновился на 4.3 мастодон, в котором эти шизики переехали с yarn v1 на yarn v2 (v4).

Чем сломали сборку этого прекрасного софта в не менее прекрасной системе #Nix.

Посылаю бесконечные лучи благодарности товарищу Nicolas Lenz, благодаря которому получилось это починить нормально.

Я пока ещё не настолько понял кунгфу никса, чтобы опакечивать гребанный .js ;(

Ура, товарищи, мы снова онлайн!

Спустя неделю после появления критикал дыры в мастодоне, я таки смог добраться до конфигов и обновить свой инстанс.

Почему? Потому что glitch-soc, форк мастодона, используемый на моем инстансе, обновился на 4.3 мастодон, в котором эти шизики переехали с yarn v1 на yarn v2 (v4).

Rubikoid

Я потратил пару дней в попытках прикрутить сборку первым yarn'ом проекта с локами от второго ярна с применением всевозможных костылей, но проиграл, и забил.

А сейчас повезло наткнуться на уже готовое решение, которое хотя бы работает)

Go Up