Category Archives: blog

Ruby on Rails: Get some random records

EDIT AGAIN: Much better.. To get a ‘num_reqd’ array of random objects, you can use something like this. named_scope :large, :conditions => ['image_file_name IS NOT ?', nil] named_scope :small, :conditions => ['small_image_file_name IS NOT ?', nil] def self.get(num_reqd,features_arr=[],size=”large”) if size==”small” … Continue reading

Posted in Code, blog, learning, rails | Leave a comment

Leopard Mac Refuses to Stay Asleep…

The last week or so my Leopard iMac has been waking up in the middle of the night… it’s quite annoying. Finally found the answer here: macrumors – leopard imac waking from sleep issue. It turns out the problem is … Continue reading

Posted in Uncategorized, apple, blog | Leave a comment

Rails / LAMP / WordPress Setup Guide

I’ve had huge amounts of pain getting WordPress set up locally over the last few weeks on my old machine and when it struck again with my new development environment it definitely time to write down the required steps to … Continue reading

Posted in blog, meaningful labor, rails, ruby | Tagged , , , , , , | 1 Comment

It’s been quiet around here

I have six draft posts in the wings waiting to be pushed out, works in progress related to technologies I’ve been working with lately for Contrast.ie Working on a still-hush-hush project with the lads best known for their rock star … Continue reading

Posted in blog, rails | Tagged , , | Leave a comment

Git Pro Tips!

Stumbled across this fella on Twitter today, noticed he worked at Slide (who make successful/annoying Facebook Apps). None the less (I joke) he writes a blog at http://www.unethicalblogger.com/ and has recently been writing a series of ‘ProTips’ on using Git … Continue reading

Posted in blog, meaningful labor, rails, ruby | Tagged , | Leave a comment

Edinburgh #1 – Outbound

So ferries are ok. Busses are crampt, smell like on-bus toilets, and take far longer to get places than they should. Ayr is dull and a very wet place. Ayrshire, similarly, is rather dull full of sheep and precipitation of … Continue reading

Posted in blog, giants, rant | Tagged | Leave a comment

O2/Be Broadband SMTP Restrictions

O2 Broadband (the Telefonica rebranding of Be Broadband) has a restriction on its SMTP ports, the only port-25 connection you can use is for the smtp.o2.co.uk server for o2 mail. If you want to use your own email provider such … Continue reading

Posted in accessibility, blog | Tagged , , , , | 1 Comment

Belfast Giants Cardiff Devils LIVE FREE WEBCAST

Hi All This Saturday evening Live from the Odyssey Arena in Belfast, Northern Ireland, HiDavid Ltd and giantslive.com are proud to present to you the Belfast Giants in action for the first time this season as they face the Cardiff … Continue reading

Posted in blog, meaningful labor | Tagged , , | Leave a comment

iPhone and Guitar

So I’m home and just about over the jet lag, and quote glad I bought my dad a James Taylor DVD. It’s awesome and makes me want to be BETTER. Expect to hear me trying to play You’ve Got a … Continue reading

Posted in apple, blog | Leave a comment

One thing… (aka. The joys of rendering)

There is one thing that would put me off the notion of working semi-professionally in the video field. That thing is Rendering. Rendering is when you take some source videos, audio and whatever processing you wish to apply to them … Continue reading

Posted in America 2008, apple, blog, brands, meaningful labor, rant | Leave a comment