My (infrequently updated) Blog...
misc nerd-ery
Saturday 08 November 2008 at
11:20:04 pm
After my friend
neal recently started using
OpenBSD, I decided to upgrade
the version on barwise (the machine of mine that hosts this website, along with others) and also decided to update a few packages I maintain.
phpsymon has been updated to work with the new(er) versions of symon/symux. I also gave xosd-clock an update, and even wrote two new xosd-* applications, xosd-systat and xosd-battery. The first is a simple system monitor that outputs, essentially, the first few lines of top(1) to your X root window (like xosd-clock). The second is a simple battery monitor that does the same thing, showing if the power source is either AC or battery, and how much battery is left both as a percent and a simple bar-graph. Battery information is queried through sysctl(3)'s, which you specify on the command line.
On a side note, when writing xosd-battery, I wrote another program called find-sensor-mibs which displays the MIB (Message Interface Buffer) of all attached sensors. I used this to write a sysctl(8)-like function where you supply the sensor name as a string, and it returns the MIB array. It could be extended to query other sysctl objects, which I plan to complete here shortly. Kinda handy for applications such as this where the sysctl name is supplied by a user.
phpsymon has been updated to work with the new(er) versions of symon/symux. I also gave xosd-clock an update, and even wrote two new xosd-* applications, xosd-systat and xosd-battery. The first is a simple system monitor that outputs, essentially, the first few lines of top(1) to your X root window (like xosd-clock). The second is a simple battery monitor that does the same thing, showing if the power source is either AC or battery, and how much battery is left both as a percent and a simple bar-graph. Battery information is queried through sysctl(3)'s, which you specify on the command line.
On a side note, when writing xosd-battery, I wrote another program called find-sensor-mibs which displays the MIB (Message Interface Buffer) of all attached sensors. I used this to write a sysctl(8)-like function where you supply the sensor name as a string, and it returns the MIB array. It could be extended to query other sysctl objects, which I plan to complete here shortly. Kinda handy for applications such as this where the sysctl name is supplied by a user.
TRON 2
Sunday 27 July 2008 at
12:21:54 am
Three blog posts in one year... I fear I might actually become a (gulp) "blogger".
But the magnitude of this development demands it.
It's my civic nerd duty to report that the gloriously unthinkable is, in fact, happening.
Tron 2 is coming! (and Jeff Bridges WILL BE IN IT)
But the magnitude of this development demands it.
It's my civic nerd duty to report that the gloriously unthinkable is, in fact, happening.
Tron 2 is coming! (and Jeff Bridges WILL BE IN IT)
remix.nin.com
Friday 22 February 2008 at
12:42:50 am
I suppose it's that time of year again when I "blog"...
NIN just launched remix.nin.com.
If you like NIN and haven't checked this out, you should.
until next year...
NIN just launched remix.nin.com.
If you like NIN and haven't checked this out, you should.
until next year...
Reason #4179 why i love *BSD's
Tuesday 06 March 2007 at
03:49:15 am
While reading the man page for setquota, a utility that makes managing user/group disk and file quotas easier to automate, I came across the following...
At 3:44am, I find this hysterical. With that, I'm going to bed.
Block sizes are in the form of valX where X is {K,k} for kilobytes or
{M,m} for megabytes. The default unit is kilobytes.
Inode sizes have no modifiers. Cope.
That's right... don't whine or complain... don't make a "feature request" for something that you could automate in a one-line shell script... just cope with it.
At 3:44am, I find this hysterical. With that, I'm going to bed.