28 Oct 2003 csg   » (Master)

  • Today I wrote 300 lines of shell code for "static.routes" the insane "where am I and how did I get in this handbasket?" /etc/init.d script we use at work. It figures out where you are, how you got there, how to get to all kinds of stub networks inside the DMZ, at OpCo's, or back on the corporate network. We recently added 2 business-logic networks (due to growth), and somebody had to do it.
  • I automated the generation of port-nat VIPs on our www-tier. Provided you reserve the IP addresses in the reverse zones, the forwards (sorted, coalated, and tasty) can be generated with perl. No more typeo's in 1000 lines of DNS from silly transcription errors.
  • I reviewd a draft of ptree(1) for FreeBSD written by my man, petef. Looking good.
  • My FreeBSD: kern/58497 feature request for security.jail.jid sysctl-knob was turned down for good reason. There's no reason to leak that into into the Jail, and you can obtain the info from sysctl, provided you're acquainted with the C-Compiler. The in/out of jail flag for my /etc/init.d/** is still kewl with ps/awk.
  • Marketing tried to add a bunch of javascript code to fetch hidden spyware images from hitbox.com. It was a big bust and broke a couple of applications in production. I should refrain from saying I told you so, because that would be rude in such a public forum.
  • I spend the evening reading, and re-reading parts of Daniel L. Schacter's excellent book: The Seven Sins of Memory -- How the Mind Forgets and Remembers. (ISBN: 0-618-21919-6) If I'd only known this much about the brain, encoding information into neural nets, and the memory pifalls that the unsuspecting person can fall victim to when I was younger.... I hightly recommend the book, especially as a follow-on to the Edward DeBono books on thinking as a skill (trust me -- you can improve).

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!