November 5, 2011
Is this the easiest way to find the maximum count value of a list of integers? I have a list of integers and need to find the maximum count of how often they each occur – so loop through the list, adding to a hashmap the value and the count,… [...]
November 3, 2011
For some reason the ActiveAdmin gem, a great administration framework for rails apps, has its own CSS files loaded for ALL other views (only trying in dev env). Quite annoying and will over-ride your styles. To fix I have just moved the app/assets/stylesheets/active_admin.css.scss to vendor/assets/stylesheets/active_admin.css.scss – It is only loaded… [...]
October 16, 2011
Slightly strange ZFS problem on a FreeBSD 7.3 box recently – booted up to find the ZPOOL degraded complaining about an unavailable drive – but yet still reading and writing to it. The error message was; One or more devices could not be used because the label is missing… [...]
October 16, 2011
It seems the normally so reliable Ubuntu linux based operating system is becoming more and more unstable, looks nice but I have had a few problems recently. One such problem being the recently released upgrade to 11.10 which brings in quite a few changes, both with the Unity GUI and… [...]
August 27, 2011
I hear lorem ipsum dolor sit amet consectetur are in style this season. Er ASOS… you may want to double check your advertising emails before sending. Also see another ASOS fail I was sent
June 27, 2011
I read a very interesting post from one of the founders of github.com who had heard a great metaphor for Agile development; Imagine you’re tasked with building a computer controlled gun that can accurately hit a target about 50 meters distant. That is the only requirement. One way to do… [...]
June 18, 2011
Recently the drive containing the operating system for my home NAS server died (thats 2 drives in 2 months !) and so I thought it was a good opportunity to upgrade to the new (few months old) FreeNAS v8 – it lasted less than 24 hours because its just not… [...]
June 17, 2011
Here is proof as to why you should add a slash ( / ) to the end of a URL to speed up your site, nothing new here, its common knowledge but doesn’t appear to be implemented too commonly. Let me expand a bit, when you visit a website in… [...]
May 17, 2011
I recently took my first steps as a freelance web developer; actually these were less steps but rather poking a foot in to test the water. I found it neither too hot to handle, nor too cold for comfort (luke warm I suppose you call it) but all the same… [...]
May 4, 2011
Skip to instructions Update: Due to more bugs found with VMware Server and the unlikely event that they will be resolved I have since switched to VMware Player on Ubuntu. Instructions here for installing Server are still valid at the time of writing this (June 2011). Recently, to my mistake,… [...]