Killua.eu
29
Apr 16:03
A todo list to myself
Ecryption on btrfs with plausible deniability, gl-fuse, ebuilds for ceph, cassandra, golang, timer_entropyd, percona patches to mysql, xtra-backup
27
Apr 16:54
Portage merge efficiecny
Following Diego's post about Portage's issues with massive unmerges brought me to think about what could be done to improve its merge/unmerge efficiency with respect to some tasks like rebuilding the font/mime caches. (Caveat emptor: i don't know much about Portage's internals so my thinking may be sligtly off.)
Method 1: Spawn time-consuming tasks away from the main portage process and, when using parallel-build, or add it as another portage-feature. Portage would wait for the child processes to die and inform user that the package has been merged.
Method 2: Add a persistent message queue to portage with unique entries (queue implemented in gdbm or even a textfile so that users can screw with it). All tasks that the merge process requires to be done would go into this queue and would be executed at the end of the merge. If the merge process is interrupted (ctrl+c, power outage, …), then a) the next emerge would require to first perform the queue before new packages are processed b) during boot, an init script could check if the queue doesn’t contain tasks and perform them to ensure a properly working system.
One more thing: Many ebuilds tell users what to do after a merge (i.e. after a xorg-server update, installed drivers must be rebuild, or do “hash -r” on all terminals after coreutils update)… Why aren’t (some of) these things done automatically? I guess its probably because we dont want portage to screw with the system without the user knowing. But most users will want to ‘just update their system’. So, do portage EAPIs features such as performing tasks only when version of a package changes or when user tells portage to do so? I.e. calling “emerge -uDNva —do-stuff-for-me world” would perform pkg_dostuffforuser() that would be newly defined in ebuilds.
22
Mar 20:22
Welcome to my site!
So I finally got me a personal website! My name is Pavel Stratil (Killua). Hi :-) I'm gonna post here about things that I'm interested in. that would be:

- Chinese martial arts and medicne
- science
- free software
- gentoo linux
- philosophy, sociology, psychology
... and other stuff too. I'm related to two martial art schools where I teach, a research institute and university where I do some research in physics, and a small tech company as it's CEO and a non-profit org which has to go public yet
Thanks for visiting ;-)
p.s. if anyone wonders why the date is a feature date, it's because i like the date
p.p.s. custom fonts don't seem to work on some browsers (yet) so if you don't see a logo, try use latest firefox or something...