Archive for category Uncategorized
Shell Script Version Compare (vercmp)
Posted by A R Baboon in Uncategorized on April 5, 2010
Here is something useful. A very short shell script to compare standard version numbers of the form ##.##.## with up to four segments. It returns the difference of the first differing segment just like strcmp.
#!/bin/sh
expr '(' "$1" : '\([^.]*\)' ')' '-' '(' "$2" : '\([^.]*\)' ')' '|' \
'(' "$1" : '[^.]*[.]\([^.]*\)' ')' '-' '(' "$2" : '[^.]*[.]\([^.]*\)' ')' '|' \
'(' "$1" : '[^.]*[.][^.]*[.]\([^.]*\)' ')' '-' '(' "$2" : '[^.]*[.][^.]*[.]\([^.]*\)' ')' '|' \
'(' "$1" : '[^.]*[.][^.]*[.][^.]*[.]\([^.]*\)' ')' '-' '(' "$2" : '[^.]*[.][^.]*[.][^.]*[.]\([^.]*\)' ')'Pharoah’s Revenge
Posted by A R Baboon in Uncategorized on April 22, 2008
For those who are not familiar, there is a tradition every year when millions of Jews wake up following holiday festivities and groan in pain. Passover is a kind of fast from low density (aka leavened) food. Our systems are not designed to deal with high-density food alone. There should be a section of the haggadah dedicated to bathroom reading afterwards because you are going to be in there for a while.
Rubinium Candidate Round-up
Posted by A R Baboon in Uncategorized on January 18, 2008
After hearing Obama and Thompson on NPR All Things Considered last night I felt the need to post some of my observations. You can really tell why Doug and I gravitate toward Thompson and Obama respectively. Both men project a distinct air of honesty about them. The responses to assertions that their lack of spin may be used against them were classic. Referring to the last debate, Obama said jokingly “yeah, maybe I should have answered that my greatest weakness is I help old ladies across the street.” In his interview Thompson jabbed “some people are more interested in style than substance [...] there is plenty of people for them to vote for too.
Obama and Thompson were both asked about a now inevitable economic stimulus package. Oddly enough both of them had a rather similar response which contrasts with their competitors. They said we should consider a one-time infusion of money into the economy by tacking it on to an existing vehicle. Tacking it on to an existing vehicle allows us to avoid potential pork and minimize bureaucratic skimming. Thompson was also prompted to mention not doing anything, which is where I personally lean right now.
I am actually pulling for Romney on the Republican side. It is time for them to know how we Dems felt with Kerry as our nominee. Actually comically enough he is pretty much like Kerry with an R. I did not make this video, but it sums:
Post Jam – Lid Open
Posted by A R Baboon in Uncategorized on August 6, 2007
Every once in a while a post does not get picked up by feed readers. I don’t understand why but I am hoping this will flush the last post through.
Google maps directions: swim
Posted by A R Baboon in Uncategorized on April 23, 2007

Google maps directions: swim
Originally uploaded by courgettelawn.
You’ll need to be more than a world class swimmer to cross to New Jersey.
The Usual Suspects Visit
Posted by A R Baboon in Graphic Design, Uncategorized on March 23, 2007
One of the nice features of Google Sketchup is the use of abstract human billboards as a size gauge. Someone added a set of figures that has earned quite a few style points in my estimation. Here they are in front of my house:

Don’t Delay Read This Wikibook
Posted by A R Baboon in Datapoint, Life is Complex + sqrt(-1), Uncategorized on April 25, 2006
Or why I have not been posting
Except:
Procrastination or “task aversion” is the irrational delay of an intended course of action, even while expecting to be worse off for the delay (compare temporisation). The procrastinator deviates from the task, usually in favor of another more enjoyable (or less unenjoyable) activity. This behavior is pervasive throughout society – everyone procrastinates to some degree – but some people are so chronically affected as to be severely debilitated.
Technorati Integration Attempts
Posted by A R Baboon in Computer Science, Datapoint, Uncategorized on December 31, 2005
I have now added some automated Technorati
integration to this WordPress
blog which will hopefully make it more integrated with a tag based internet. I addded the WordPress TechnoTag which allows you to add <ttag>’s around a term that relates to the subject of the post or comment. The TechnoTag plugin has a little bit of breakage though. It will make subsequent tags link to the first tag name in a post. There is a fix listed here which you can use to patch it up. Do take care to convert the fancy quotes to real ones so PHP doesn’t s|it the bed on you.
I have also made further attempts to register this blog and I am presently trying to contect their support to figure out why it no worky. To answer Doug’s question, Technorati allows a user to create a RSS feed for arbitrary searches. Therefor you could have notification of someone linking to your site or to a peticular tag. If Doug had known this he could have been notified of this post in his liferea cha cha cha
Nothing to see here. Move along.
Posted by A R Baboon in Uncategorized on December 31, 2005
Trying to get Technorati to properly recognize this site. Just ignore.
Technorati Profile
Site Is Back Online
Posted by A R Baboon in Uncategorized on September 6, 2005
And there was much rejoicing …yay… Hopefully this is now new and improved version of Rubinium.org with category icons links to the galleries and regular posts even

