Browsed by
Month: May 2008

>Unit Testing

>Unit Testing

>With apologies to The Monkeys I thought unit tests were just for fairy talesNever had the time to do things rightGoing live was frantic Development a drag Changing all my code got real bad Then I wrote my tests, now I’m a believerWithout a trace of doubt in my mind I’m in love – mmmmmmm I’m a believer, best thing I’ve ever tried Ahem. Or something. I’ve just made substantial changes to two of our production systems over the last…

Read More Read More

>pg_top on Ubuntu Hardy – Postgres top utility

>pg_top on Ubuntu Hardy – Postgres top utility

>This morning I got pgtop working but had some questions which I forwarded to the author Cosimo Streppone. In his very polite reply he pointed out I should really be using pg_top (note the hyphen) so I then set to getting that to work on Ubuntu Hardy Heron. Download the latest release from the site above (I downloaded pg_top-3.6.2.tar.gz) and then tar -zxpvf pg_top-3.6.2.tar.gz cd pg_top-3.6.2./configure make It’s very possible you might get some errors during this. The three I…

Read More Read More

>Old rails, rake – running on Hardy

>Old rails, rake – running on Hardy

>From my own benefit … to help with installing and maintaining our old ruby apps, do this sudo apt-get install rails rubygems irb rubysudo gem install -y rails –version=1.2.3sudo gem install -y rake –version=0.7.3sudo gem install -y postgres-pr The problem with this is that it’s not sitting in your path and Ubuntu will keep asking you to install rails via apt. So sudo ln -s /var/lib/gems/1.8/bin/rails /usr/local/bin/railssudo ln -s /var/lib/gems/1.8/bin/rake /usr/local/bin/rake

>Apple are slick

>Apple are slick

>Email from Apple to me after I registered my new purchase Thanks for registering your new Mac. We have the following on record in your name:[[IREG_PRODUCT_TEXT]]

>Strange Shinto Days

>Strange Shinto Days

>There was some kind of meeting in the shrine today. I have no idea what it was about and would not bother to ask. It didn’t sound like the most interesting event in the history of Shinto but seemed to involve a lot of priests and study and talking. Strange that I should view such a thing as strange. It’s a religion, people have views, I guess things need to be discussed. When I came back from the park with…

Read More Read More

>Welcome from the MacBook Pro and Another Welcome from Refurbished Computers UK

>Welcome from the MacBook Pro and Another Welcome from Refurbished Computers UK

>It arrived a day late and is looking pretty cool so far. So I’m typing this with MarsEdit first of all to see how I get on what that. What have I noticed about the new machine. Some random comments made in no particular order. Here’s the low down on the specs of the Machine. Model Name: MacBook Pro Model Identifier: MacBookPro4,1 Processor Name: Intel Core 2 Duo Processor Speed: 2.4 GHz Number Of Processors: 1 Total Number Of Cores:…

Read More Read More

>The Horror of Coding

>The Horror of Coding

>Preach it brother. These sorts of things that could broadly be classified as unexpected work are coming up with some regularity these days and I was complaining about it, as you do, while me and several folks from the crew I’m on were heading out to lunch at an entirely mediocre deli. The root of the complaint was, “Why?”. “Why are we seeing an increasing rate of unexpected work?”. Dark matter. Call it what you will, it sucks. It sucks…

Read More Read More

>Ubuntu / Vista / VMware / Xming

>Ubuntu / Vista / VMware / Xming

>OK, I’ve been using this setup for over a week. I’m a developer /sys admin who needs a Linux environment and who is stuck with just a Vista laptop. So here’s my solution. Certainly not a perfect solution but a lot better than some I’ve used in the past. The idea is that we run Ubuntu (or any Linux disto) within a VMware machine (I assume the free VMware player would work for this, but i’m using VMware workstation). We…

Read More Read More

>Cyrus IMAP on Hardy Heron #2

>Cyrus IMAP on Hardy Heron #2

>See the previous post to this for the first steps. Note, I posted the following on the Ubuntu forums here and there may end up being feedback there to read. Please note I am just trying to get a simple cyrus install working so I can test some python code that wants a cyrus server. This is probably insecure, toxic, illegal in most countries and prone to spontaneous combustion. I just want to create some mailboxes (I’m not even sending…

Read More Read More