Nightmares on Wax - Les Nuits

April 3rd, 2008 | Song Of The Week | No Comments »

Taking things downtempo a little this week. Some music I forget that I have and then come across after months and wonder why the hell I don’t listen to this stuff all the time. This is one of my favourite tracks from Nightmares on Wax. Perfect music for getting some work done.

Broken Build when not using ActiveRecord?

April 3rd, 2008 | Design & Development | 2 Comments »

Just a quickie.

I ran into this problem before, then forgot about it after finding the solution. Then one of my colleagues ran into the same problem today which prompted me to post this.

If you’re rails app doesn’t use ActiveRecord you may find yourself scratching your head wondering why your build fails with ActiveRecord related problems. I obseverd this even though I had turned off ActiveRecord in my environment.rb. CruiseControl.rb still tried to run rake tasks like test:db:purge etc.

The quick and easy solution is to remove database.yml from your config directory. CruiseControl.rb should ignore any database related rake tasks then.

I liked Dashcode

March 28th, 2008 | Design & Development, Software, Technology | No Comments »

I’ve been using Dashcode for the last two weeks or so while creating my Build Status Monitor widget. First impressions are not too bad. As IDE’s go, it does the job. You can write your html, css and javascript, all in one place, there’s a wysiwyg view, that’s all to be expected. To be honest I thought the code view could have done with better syntax highlighting, I found myself yearning for TextMate or Coda at times.

The winning feature for me though was the debugging facility. I found it to be extremely efficient, I’m sure I saved hours as it reliably showed me where the problems were in my code, allowing me to jump in at the offending line. When I’m developing for the web I can’t live without Firebug, when it comes to Dashboard widget development, Dashcode’s debugging abilities were a pleasure to use.

Deploying a widget couldn’t have been simpler. File > Deploy Widget, File > Deploy Widget to Dashboard. I did see one issue where I tried deploying the widget to my Dashboard at work and the widget simply wouldn’t initialise. All I saw was the default widget image. However I deployed the same code at home and the widget worked fine. I’ve installed that same widget in work now and I have no trouble with it now. I can’t figure out what the problem was. Perhaps all I needed was a restart.

Anyway, thats my Dashcode lowdown. I do recommend getting stuck in if you like that sort of thing.

Rachel Yamagata - Reason Why

March 27th, 2008 | Song Of The Week | No Comments »

I did quite a bit of poking around for this weeks song. If I could have found a decent video for Ingrid Michaelson’s Keep Breathing, that would have been it. However fate intervened and I came across one of my favourite live broadcasts ever. Zach Braff hosted this, The Last Kiss broadcast around the time of the movie release. I may actually run one or two other videos from that in weeks to come. I remember some really great performances from Cary Brothers and Imogen Heap. Anyway, for now enjoy the smooth tones of Rachel Yamagata.

CruiseControl.rb Dashboard Widget

March 27th, 2008 | Design & Development, Technology | 2 Comments »

I hated skipping back and forth to CruiseControl.rb at work to keep an eye on various builds so I’ve put this widget together to make life a little easier. The Builds Status Monitor Dashboard widget takes the build rss feed and displays the current build status. Does what it says on the tin.

Screenshot:

Build Status Monitor Screenshot

Download:
Click here to download the Build Status Monitor. Just unzip and install, minimum requirements MacOS 10.4.x. This is my first Dashboard widget so some of the code is a bit untidy. I’ve tried to keep the look and feel clean. Please let me know if you have any problems or suggestions.

Elbow - Station Approach (Live)

March 21st, 2008 | Song Of The Week | No Comments »

I was first introduced to Elbow by a friend of mine about two years ago. Loved them instantly. Station Approach is probably my favourite track from their catalogue.

Just a quick note on Elbow (via Last.fm)

Elbow was formed in 1990 at a sixth-form college in Bury, Lancashire, England. They began specialising in “chilled funk”, but changed the direction of their music after unanimously deciding they were “shit”. The new songs got notice from both Island Records and Universal, but after signing with both, the band was dropped before anything was released.

Maintaining Scope in Javascript Callbacks

March 14th, 2008 | Design & Development | No Comments »

As a web developer I can’t avoid using Javascript. Not that I would want to or anything. I love Javascript. I’m happy enough with my JS coding skills but there was one thing that always found a way to leave me scratching my head. Callbacks!

I had no problem with the concept of callbacks, but something was missing. I always had trouble maintaining scope in callback methods. I haven’t had to pay too much attention to the problem until today as jQuery has met the majority of my Javascript needs to date. Anyway after a quick search I found the solution, which is so easy I deserve a kick in the ass. (more…)

Sia - Breathe

March 14th, 2008 | Song Of The Week | 2 Comments »

Sticking to artists that have worked with Zero7 this week. Here’s Sia. The Australian singer added her voice to two tracks on Zero7’s Simple Things. I heard more of Sia from working with Ken McGuire who just left one of her albums on repeat for days at a time. I wasn’t complaining.

Jaxer.Web.post and XMLRPC

March 13th, 2008 | Design & Development | 1 Comment »

I've been playing around a little with Jaxer lately. I really like the ease of Cross Domain javascript calls. Just a quick note though. I've been testing the Jaxer.Web.post call against the wordpress XMLRPC.
I kept getting responses saying that the the server only accepted POST requests. But I was using Jaxer.web.post.
So I scratched my head for a while. And then some.
Eventually I figured that the body of the post request was not being set. Then I discovered that Jaxer.Web.post defaults it's content type header to "application/x-www-form-urlencoded" which, as far as I know, passes the data in a querystring format and not in the post body. The simple fix was to change the content type to "text/xml" like so :

JAVASCRIPT:
  1. Jaxer.Web.post(url,body,{contentType: "text/xml"});

The call worked perfectly after that.

Tina Dico - Home (Acoustic)

March 11th, 2008 | Song Of The Week | No Comments »

Damn I forgot to post a song of the week last week. So I'll do one today and another on Friday. Anyway, I love Zero7, I discovered Tina Dico from listening to them. The original track 'Home' can be found the Zero7 album When it Falls. This acoustic version is pure class. Also I want that guitar, my father has a 12string that looks and sounds just like it, but it has seen better days.