Have you ever wanted to keep trying a command over and over and not be bothered until something about it changes? (Ping my server until it’s responding.) Or to take a one-shot stdin/stdout program like who or last and just watch it over time? There’s a utility for that: watch. Watch is a utility from the procps-ng… Continue reading “watch”
I find this infuriating. People who write security software get hung up on the most ridiculous nonsense in ways that make my system less secure. Exampli gratia, OpenSSH simply will not use public key authentication if it decides my keys are not stored sufficiently securely, and will fall back to password authentication. That is, it will… Continue reading “Mechanism-not-policy violations continue to irritate me”
gnu_smalltalk_3.2.5_tcl_8.6.7.diff GNU Smalltalk doesn’t build on Slackware current anymore, because TCL changed the struct Tcl_Interp. This is a blunt fix; there are probably better possible ones from people who know Smalltalk better.
Still needs much work; don’t use this yet. Snippet released under GPL v3. (defun hamming (x y) (labels ((_nor (a b) (not (or a b))) (_diff (a b) (if (eq a b) 0 1)) (_hamming (a b c) (if (_nor a b) c (_hamming (rest a) (rest b) (+ c (_diff (car a) (car b)))))))… Continue reading “Hamming distance in Common Lisp”
A snippet I have found very useful when doing information theory. It can assemble characters, numbers, words, or really whatever you want (you have to write the tokenizer) into a PMF and tell you various information-theoretic things about it. Snippet is released under the GPLv3. (defun new-pmf () (let ((pmf nil)) (lambda (msg obj) (case… Continue reading “Entropy calculator in Common Lisp”
pkexec pkexec is part of the PolicyKit (now PolKit) system. Like the other -kits, it was developed by Red Hat and FreeDesktop.org, and like the other -kits I’m not very fond of it. The goal of all of these packages was to replace traditional pipe-oriented IPC with dbus, and boy were they successful, to the… Continue reading “pkexec”
xlsfonts As the inaugural post of the WordPressified blog, we’re going to look at xlsfonts. Xlsfonts is part of the “apps” group in the modular Xorg system. It is one of the very few examples of an entirely-CLI application that is nonetheless an X client. The purpose of xlsfonts is to output a list of… Continue reading “xlsfonts”