User loginCMS by Drupal |
HOWTOA "HOWTO" guide describing the accomplishment of some (usually technical) task. The Netrunner's Guide To Social EngineeringThe attached paper describes optimal play for the Netrunner card Social Engineering. Netrunner is a Collectible Card Game that has been out of print for around 10 years. Remarkably, there is still an active community of people playing the game and creating new cards. This analysis has been sitting on my hard drive since my grad student days in 1997. This weekend I finally wrote some code to solve two-player hidden information games, and used it to check my work from back then. I was surprised to find that I had gotten everything substantially right, as near as I can tell. (Corrections welcome.) The paper is in PDF format produced from LaTeX: it's a pain to do math in HTML. One of the great joys of my life was playing Netrunner with my brother. I showed him this back when I wrote it, but I wish he could have seen the final version. I hope someone will find it amusing, instructive, or even useful.
HOWTO: Debugging an ssh connection problemI'm sick of trying to debug ssh connection issues; they're often hard, and I work on them just infrequently enough to forget everything I knew. This blog post is a note to myself about what kinds of problem to look for and where to look when ssh has gone south… HOWTO: Starting debsumsI needed to run debsums on everything on one of my boxes today. A hack from the net helped me get it going…
Since I had a full local Debian mirror and my apt was set up to use it, I had to temporarily change Thanks Arthur de Jong from 2005!
HOWTO: Making Network Manager manage your wired networkThis is a very short HOWTO that answers something that's been bugging me for months. Network Manager was finally working fine with my Debian laptop's wireless, but would not (as advertised) manage its wired connection. The solution was found in an obscure email list conversation. Go to /etc/network/interfaces and comment out the lines related to eth0. Then restart Network Manager or just reboot. I have no idea how you're supposed to know this.
HOWTO: Replacing cryptoloop with dm-crypt in DebianA while back, I wrote a little HOWTO on putting the cryptoloop module back in Debian. Yesterday, Josh Triplett pointed out to me that current dm-crypt can actually be used instead of the cryptoloop module to compatibly work with cryptoloop-formatted volumes. Huh. It turns out to be as simple as
Obviously you'll need to make some substitutions in the above. Use
to clean up afterwards. Enjoy.
HOWTO: Rotated Halftones in InkscapeThere are a few good tutorials on the web about how to get a (mediocre) halftone screen in Inkscape (1, 2). (The GIMP, by contrast, has a special halftoning plugin that does a nice job. I wish that Inkscape had one of those.) One thing that none of these tutorials tell you is how to rotate the halftone screen. This turns out to be important, since unrotated screens of different colors do not overlay well. In this tutorial, I summarize the basic technique for halftoning in Inkscape, and suggest a way to do rotation… HOWTO: Putting cryptoloop back in DebianUpdate 2010-11-20: It has been pointed out to me that dm-crypt can handle cryptoloop volumes. Thus, you may choose to ignore this HOWTO in favor of one on how to do that. For reasons detailed in Debian Bug #559961 the cryptoloop module has been dropped from the Debian kernel as of the 2.6.32-trunk binary packages. I've filed a complaint at that bug. I know what I'm doing, and am unhappy that the Debian kernel maintainers have taken it upon themselves to gratuitously delete functionality from the Linux kernel image…
HOWTO: Disabling Emacs' new "mandatory" splash screenWith emacs 22, apparently someone got the idea that it would be a good idea to drop you into a splash screen rather than your edit buffer when you say "emacs -nw filename". Sending an edit command, such as control-L to refresh the screen, shows you the buffer you wanted to edit. Good plan. Anyway, I finally found the right Google search, and found out how to turn this behavior off. "(setq inhibit-splash-screen t)" in your .emacs will kill the splash screen off altogether. (Nice inverted variable sense, by the way.) If you just want it when you're not editing a file, it gets more complicated, and I haven't figured out a good plan. See this discussion for details. Note, however, that files seem to get opened after the .emacs is run, which invalidates the technique that discussion suggests.
HOWTO: Picking "random colors"So, a friend's project tried to blind me today with a hideous "random color" for a large area of text. The quotation marks are because it's hard to say what a "random color" even means. For most purposes, it means a color that is chosen solely as a label, and that therefore can be anywhere in the color palette. The usual constraint is that a set of labels need to be chosen, and so successive random colors should be easily distinguished…
HOWTO: Debian + Drupal upgradeI always forget to take notes when I do a Drupal upgrade. This blog entry will be my notes for this upgrade of my home boxes. I will use it in turn to upgrade FOB, and then hopefully use it again when it's time to upgrade again in the future…
|