Un naufragio personal

Remarkable StackExchange subdomains

The ReiserFS filesystem

"This document describes the ReiserFS filesystem structures on disk. It was created while writing a ReiserFS reader for Windows NT. I was unsatisfied with the documentation available over at the official URL,, so I wrote my own. But, since this is my first contact with ReiserFS, it does contain errors, so if in doubt, please consult the original spec first."

"This document is copyrighted by Gerson Kurz and licensed by the GPL."

Convert your ASCII diagram scribbles into happy little SVG

"Svgbob Editor - Convert your ASCII diagram scribbles into happy little SVG"

Not really limited to ASCII; Unicode is also supported (including special support for line drawing characters).

An implementation of the ChaCha20 algorithm in Bash

This is an implementation of DJB's ChaCha20 algorithm in Bash script.

by zx2c4
You probably shouldn't use this for anything."

Old Book Illustrations

"Old Book Illustrations was born of the desire to share illustrations from a modest collection of books, which we set out to scan and publish."

Web Demo of the Voxel Space Engine

"Comanche uses a technique called Voxel Space, which is based on the same ideas like ray casting."

The Voluntary Human Extinction Movement

"Phasing out the human race by voluntarily ceasing to breed will allow Earth’s biosphere to return to good health. Crowded conditions and resource shortages will improve as we become less dense.


Thank you for not breeding."

Kahan summation algorithm


In numerical analysis, the Kahan summation algorithm, also known as compensated summation, significantly reduces the numerical error in the total obtained by adding a sequence of finite-precision floating-point numbers, compared to the obvious approach. This is done by keeping a separate running compensation (a variable to accumulate small errors).

Stuff in Space

This site shows in real-time 3D the location of satellites and other celestial bodies:

You can search for specific units, like

Sweden Solar System

"The Sweden Solar System is the world's largest permanent scale model of the Solar System. The Sun is represented by the Ericsson Globe in Stockholm, the largest hemispherical building in the world. The inner planets can also be found in Stockholm but the outer planets are situated northward in other cities along the Baltic Sea."

A DOT file to ASCII converter

Rebuilding target files when source files have changed

Genius Daniel J. Bernstein wrote an extremely simple but brilliant specification for a make-like build system:

He didn't release an implementation, but somebody apparently named apenwarr did it:

Thanks to my friend @crappo for bringing this to my attention.

What Every Programmer Should Know About Floating-Point Arithmetic

A simple and to-the-point guide to floating point arithmetic and the crazy but genius IEEE-754 standard:

Well, this site is here to:

  • Explain concisely why you get that unexpected result
  • Tell you how to deal with this problem
  • If you’re interested, provide in-depth explanations of why floating-point numbers have to work like that and what other problems can arise

The book is also on github.

Telegram Bot - how to get a group chat id?

apadana explains how to get a Telegram group chat id:

Here is the sequence that worked for me after struggling for several hours:

Assume the bot name is my_bot.

1- Add the bot to the group. Go to the group, click on group name, click on Add members, in the searchbox search for your bot like this: @my_bot, select your bot and click add.

2- Send a dummy message to the bot. You can use this example: /my_id @my_bot (I tried a few messages, not all the messages work. The example above works fine. Maybe the message should start with /)

3- Go to following url: replace XXX:YYYY with your bot token

4- Look for "chat":{"id":-zzzzzzzzzz, -zzzzzzzzzz is your chat id (with the negative sign).

5- Testing: You can test sending a message to the group with a curl:

curl -X POST ""
  -d "chat_id=-zzzzzzzzzz&text=my sample text"

If you miss step 2, there would be no update for the group you are looking for. Also if there are multiple groups, you can look for the group name in the response ("title":"group_name").

Hope this helps.

systemd now includes its own ntp service


Uninstall ntp or chrony and do

sudo timedatectl set-ntp true

How can I split a single file from a git repo into a new repo?


cd oldrepo
git fast-export HEAD -- myfile > ../
cd ..
mkdir newrepo
cd newrepo
git init
git fast-import < ../
git checkout

The PGP Problem

No more leaks with sanitize flags in gcc and clang


CFLAGS="-g -fsanitize=address -fno-omit-frame-pointer" ./

More fun with Webmentions


The rest of the site is also worth a look.

The Elian Script