Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web.
|
2007-10-22 The dangerous appeal of the obviousFor reasons that do not fit into the margins of this entry, DWiki
sometimes needs to get the current Unix load average. I developed DWiki
on Linux, and getting the load average on Linux is really easy; you read
a line from Then this server got changed from Linux to FreeBSD, and suddenly that code didn't work any more. (Because I had been paranoid, it didn't fail explosively; I had assumed that someday system problems might cause things to fail and coped with it.) FreeBSD doesn't have a Which promptly turned up the general and supported
Python function to do just this, This is the dangerous appeal of the obvious: just because I know how to do something doesn't mean that I know the best way to do something. Maybe I should keep looking slightly harder, just to make sure. (You could say my issue with rounding up was the same effect in action, although it was less obvious to me then.) (One comment.)
python/DangerousObviousAppeal written at 21:42:03; Add Comment
Vim options it turns out I wantThis server recently moved from Fedora
Core 2 to FreeBSD, and in the process I discovered that I had quietly
become addicted to a few (I am pleased to report that the default FreeBSD version of So it turns out to be necessary to set a few
I still sort of want (I care about this partly because I write most WanderingThoughts entries
on this machine in
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |