The more interesting things you do in life, the more likely it is that some jackass will sue you. If this happens, you will probably be faced with giving one or more sets of attorneys access to your electronic documents. If, like all right-thinking citizens, you store your documents in a Subversion repository organized hierarchically [...]
Posts under ‘bugfix’
Curses::UI Escape key bindings are slow; here’s why.
I am throwing together a quick Curses (console / terminal) based UI for a database here, prior to putting (or hiring someone to put!) a Web front-end on it. In keeping with my experience with elinks, I wanted the menubar activation key to be Escape. However, it was running slower than molasses in February — [...]
A Rational Scheme for Medical Laboratory Results
Medical laboratory results these days are a hodgepodge of numbers on various scales and with various units. For example, the Merck Manual lists various laboratory test normal ranges and their units: Hematocrit: Male 41-50%, Female 35-46% Hemoglobin: Male 13.8-17.2 g/dL, Female 12.0-15.6 g/dL … Sodium: 135-146 mmol/L These “normal ranges” can be sort of misleading. [...]
Linux Software RAID and GRUB – Recovering From a Failure
A couple of weeks ago, I had the bright idea to move an internal server here at Voyager from my office into a data room. I issued the customary sudo shutdown now and proceeded to move the box. I was dismayed not to see it boot right back up afterwards. Ouch! I had specifically configured [...]
Broken Quoting of Spaces in Table Names in Ruby’s ActiveRecord
Two-part posting. 1. The hot-shit developer boys at http://dev.rubyonrails.org apparently use Python (Trac) for their bug-tracking system, and for extra chuckles, it’s broken. From http://dev.rubyonrails.org/newticket#preview (removed a Python stack trace that came down to a NOT NULL constraint violation in the underlying database — the error message was messing up the blog formatting software.) Not [...]
Fixing a package remove failure on Debian (or Ubuntu) when dpkg-divert barfs.
2006-06-18 Randall Lucas If you get stuck with a half-uninstalled (technically “half-installed;” the debian dpkg system is an optimist, I guess) package that barfs on running its postrm (post-removal) script with something like: “dpkg-divert: mismatch on divert-to …” This can sometimes be fixed, or at least made to shut up, by finding the appropriate line [...]
FIX: Ubuntu Dapper upgrade breaks CUPS printing; reinstall fixes it.
2006-06-11 Randall Lucas Upon upgrading my Ubuntu installation to Dapper using a simple: sudo vim /etc/apt/sources.list to add the Dapper repositories, and then sudo apt-get update sudo apt-get dist-upgrade I discovered that my printing no longer worked. I just previously been printing (and sharing my printer with a Windows / Mac mixed environment) just fine [...]