[Skip To Content]


# You're The Shit And I'm Knee-Deep In it

You're the shit and I'm knee-deep in it

Today, I revived Justwatchthesky from the internet graveyard/landfill of “coming soon” pages. The scope is narrow: An exercise in documenting words in the music I listen to with color and type. The constraints are simple: (1) Only use Georgia (serif) or Helvetica (sans) and (2) try to post as often as possible.

Ryan Sims, justwatchthesky.com

Another idea I wish I had come up with, although I doubt I would have executed it half as well.

Also, I know a good number of the songs he’s quoted so far, so they have been particularly interesting – I hope it remains that way.

# My kinda town!

Carl Drinkwater

Drinkwater, Saskatchewan, Canada! The photo was taken by Greg, one of the employees of 29degrees, on a recent trip across Canada.

Sadly though, I know it’s nothing to do with my family – Apparently, it doesn’t have a pub …

# News Stories in Photographs

Small fishing boats tied to the banks of the Chaohu lake, where a pollution-linked algae bloom has reappeared.

From The Big Picture. Read through all the stories, there are many, many fantastic pictures.

It’s brilliant to see such high quality pictures of news events. The only improvement I’d make is to allow linking to specific pictures within a story, so I don’t have to hotlink like I have done in the ‘fantastic’ picture above.

# Big Ideas : Don't Get Any

Radiohead held an online contest to remix “Nude” from their album – “In Rainbows” ... I decided to take the piss a bit, as the contest seemed to be in that spirit.

James Houston

Awesome for two reasons : 1) Radiohead, and 2) Old hardware. Watch and listen.

# Biggest Drawing In The World

The Biggest Drawing In The World

With the help of a GPS device and DHL, I have drawn a self-portrait on our planet. My pen was a briefcase containing the GPS device, being sent around the world. The paths the briefcase took around the globe became the strokes of the drawing.

Visit the Biggest Drawing In The World site.

Update: Meh, it’s a hoax..

# Drink and Drive

This is what happens when you drink and drive.

See the larger image to get a better idea of how the optical illusion in this advert works.

# Jyväskylä

Traffic lights in Jyväskylä

Watch this fantastic timelapse video shot in and around Jyväskylä, Finland.

# PermaStore

  1. class PermaStore < Hash
  2. def self.load
  3. if File.exists?( "data.dump" )
  4. File.open( "data.dump", "r" ) do |f|
  5. return Marshal.load( f )
  6. end
  7. end
  8. return PermaStore.new
  9. end
  10. def []=( key, value )
  11. super
  12. save
  13. end
  14. def delete( value )
  15. super
  16. save
  17. end
  18. protected
  19. def save
  20. File.open( "data.dump", "w" ) do |f|
  21. Marshal.dump( self, f )
  22. end
  23. end
  24. end

Do whatever you will with it. It’s not thread safe, but that’s easily fixable if you’re so inclined.

# Music Of The Week, Part 3

So the salesman said he got one for himself / A charmed life with some kids and some stainless steel knives / Paid in full as of 2029, I’ll need to scrape all my change and give up all my toys but / Really, who needs more than this thing?

“Zero To Love” by Say Hi, off “The Wishes And The Glitch”

Perhaps Zero To Love isn’t the stand-out track of the album, but definitely the most infectious.

The Wishes And The Glitch is definitely more experimental in its sound than Konk and Lucky – The vocals on the first track aren’t a million miles away from Sigur Rós, although the music is undisputedly more guitary.

The album’s other highlights include the chunky electronic sound of Toil and Trouble, the poppy and happy Magic Beans And The Truth Machine, and the building last track We Lost The Albatross. Bluetime strongly reminds me of another song, but I can’t recall which. Either way, you can’t knock a song about Pac-Man.

I don’t think the album will appeal to everyone, but if you like indie rock, I don’t think you could go too far wrong by giving The Wishes And The Glitch a listen.

# Music Of The Week, Part 2

Be whoever you have to be / I won’t judge you / And sing whenever you have to sing / To get it out and not become / a recluse about your house, come out

“Sway” by The Kooks, off “Konk”

I love the guitar at the end of the verses, and the chorus and the bridge are brilliant. It’s probably my favourite track of the moment, I kept repeating it in the car on the way home last night. Which means in about 3 weeks I’m going to be bored of it, and not want to hear it any more.

Pretty much the whole of Konk is excellent, so much so I’ve pre-ordered it – Something I very rarely do. I read a review last week sometime saying that the first track, See The Sun, is the best first track to an album they’d heard for a while. I’m not sure I agree with that (See These Bones), but there is no doubting it hooks you into the album immediately.

Fans of The Fratellis will like Mr. Maker (And probably the whole album, now I mention it), and Gap, Stormy Weather, Sway (of course) and Down To The Market keep the middle of the album sounding strong. I’m not too keen on Do You Wanna though.

I absolutely love the opening lyrics of the melancholic One Last Time :

Can I hold you one last time / To fight the fear that’s growing in my mind / I know I did us both all so wrong / I know I’m not always all that strong

“One Last Time” by The Kooks, off “Konk”

Listening to it again now, when I get bored of Sway this will probably be the next track I overplay.

Overall, it’s a more mature sound than Inside In/Inside Out, but still unmistakably The Kooks – Which is just fine, in my book.

# Music Of The Week, Part 1

I feel rain in the movies and the talk before the screen lights / I hear strings in the park / I don’t like to call her right / Except when its too late at night / I mostly just think in the dark

“See These Bones” by Nada Surf, off “Lucky”

The song slowly builds from a pretty indifferent first verse, but by the time you hit the first chorus you’re beginning to be sucked in, and upon reaching “Do you remember …” before the final chorus you’re completely sold on how great the song is.

I wasn’t a massive fan of Let Go, the only other album I’ve heard by Nada Surf, so listening to Lucky was a surprise – It’s a very, very good album. If you like Teenage Fanclub or Death Cab For Cutie and you’ve never heard Nada Surf, you’ll love this album.

Whose Authority and I Like What You Say are probably the two other immediate attention grabbers, you can’t help but start toe-tapping and singing along to the chorus of the latter, while the former, probably because the guitar at the beginning of the song reminds me of the Lightning Seeds, makes me want to go and dig out all the great Britpop music I’ve got and forgotten about.

Thinking about it, the whole album puts me in that mood – It takes me back to a time where the biggest problem I had was working out which black t-shirt to wear and which indie club to go to.

# Who knew?

In bash :

  1. [13:48:04 carl@mummra ~]% echo Hello
  2. Hello
  3. [13:48:06 carl@mummra ~]% ^Hello^Bye^
  4. echo Bye
  5. Bye

# SSH port forwarding with OSX

If you’re doing remote port forwarding on Leopard, you might encounter the as problem as we have done this morning. I don’t remember this happening with Tiger, so I think it’s a Leopard specific thing.

We wanted a client to see a in-development feature hosted on one of our machines in the office, which is protected by a firewall. For various reasons, we can’t punch a hole in that firewall and configure the router to direct requests for a given port to a specific machine.

You can normally do this by running something like :

  1. ssh -R 6000:localhost:5000 blog.carldr.com

We’re wanting to tunnel HTTP here, so in this example, it means that requests to ‘http://blog.carldr.com:6000/’ are forwarded (transparently to the user) to port 5000 on the machine where the ‘ssh’ was ran from.

However, this didn’t work. The connection which SSH was trying to make to port 5000 on our local machine was being refused. With use of ‘ssh -v’, ‘lsof’, ‘netstat’ et al., we found out what the problem was.

On Leopard, ‘localhost’ resolves as IPv6 ’::1’, so ssh is trying to connect to that port. The web server we were running locally was binding to 0.0.0.0, which is all interfaces, but just IPv4. The solution is one of these :

  1. ssh -4 -R 6000:localhost:5000 blog.carldr.com
  1. ssh -R 6000:127.0.0.1:5000 blog.carldr.com

Or binding the web server to ’::1’.

# The view from Mars

The Earth and the Moon, as seen from Mars.

This is an image of Earth and the Moon, acquired at 5:20 a.m. MST on 3 October 2007, at a range of 142 million kilometres. More details are available on the HiRISE site.

Funnily enough, I was watching Race To Mars at the weekend, and was wondering what the Earth and Moon would look like from Mars.

# EPIC FAIL

  1. 14:29 < botz0r> the_project carl r2983 [trunk] (0 lines added, 0 removed in 1 file)
  2. 14:29 < botz0r> i
  3. 14:29 < botz0r> the_project carl r2984 [trunk] (0 lines added, 0 removed in 1 file)
  4. 14:29 < botz0r> am
  5. 14:29 < botz0r> the_project carl r2985 [trunk] (0 lines added, 0 removed in 1 file)
  6. 14:29 < botz0r> the
  7. 14:29 < botz0r> the_project carl r2986 [trunk] (0 lines added, 0 removed in 1 file)
  8. 14:29 < botz0r> mother
  9. 14:29 < botz0r> the_project carl r2987 [trunk] (0 lines added, 0 removed in 1 file)
  10. 14:29 < botz0r> f**king
  11. 14:29 < botz0r> the_project carl r2988 [trunk] (0 lines added, 0 removed in 1 file)
  12. 14:29 < botz0r> winnah
  13. 14:30 < botz0r> the_project carl r2989 [trunk] (0 lines added, 0 removed in 1 file)
  14. 14:30 < botz0r> for
  15. 14:30 < botz0r> the_project carl r2990 [trunk] (0 lines added, 0 removed in 1 file)
  16. 14:30 < botz0r> the
  17. 14:30 < botz0r> the_project carl r2991 [trunk] (0 lines added, 0 removed in 1 file)
  18. 14:30 < botz0r> third
  19. 14:30 < botz0r> the_project carl r2992 [trunk] (0 lines added, 0 removed in 1 file)
  20. 14:30 < botz0r> time
  21. 14:30 < botz0r> the_project carl r2993 [trunk] (0 lines added, 0 removed in 1 file)
  22. 14:30 < botz0r> you
  23. 14:30 < botz0r> the_project carl r2994 [trunk] (0 lines added, 0 removed in 1 file)
  24. 14:30 < botz0r> cannot
  25. 14:30 < botz0r> the_project carl r2995 [trunk] (0 lines added, 0 removed in 1 file)
  26. 14:30 < botz0r> defeat
  27. 14:30 < botz0r> the_project carl r2996 [trunk] (0 lines added, 0 removed in 1 file)
  28. 14:30 < botz0r> me
  29. 14:30 < botz0r> the_project carl r2997 [trunk] (0 lines added, 0 removed in 1 file)
  30. 14:30 < botz0r> muhahahaha
  31. 14:30 < botz0r> the_project carl r2998 [trunk] (0 lines added, 0 removed in 1 file)
  32. 14:30 < botz0r> hahaha
  33. 14:30 < botz0r> the_project carl r2999 [trunk] (0 lines added, 0 removed in 1 file)
  34. 14:30 < botz0r> WINNAH
  35. 14:30 < botz0r> the_project ciaran r3000 [trunk/] (0 lines added, 0 removed in 1 file)
  36. 14:30 < botz0r> asdsa
  37. 14:30 < carl> FAIL :(
  38. 14:30 < Wlll> MATHS FAIL!
  39. 14:31 < ciaran29d> fail of the century

We’re a professional software development company really.

# Garfield without Garfield

Who would have guessed that when you remove Garfield from the Garfield comic strips, the result is an even better comic about schizophrenia, bipolor disorder, and the empty desperation of modern life?

Garfield without Garfield

More Garfield without Garfield.

# Goodbye

Richard Nixon's resignation letter.

Certainly terser than any resignation letters I’ve written.

# Twins

Today, we launched the 29degrees’ website. I feel a bit sad that we’ve had to take down the ‘coming soon’ page that had been up for slightly longer than forever, but Tony was all like “We need a real site, dude”, and I was like “No way!”, and he was like “Way!”. I couldn’t argue with that logic. It’s a good feeling though, it’s like we’re a proper company now and everything.

Mere moments after the 29degrees site was born, we launched the Recycling Group Finder, which makes it easier for people interested in joining a Freecycle group to find the groups close to them. It’s very much Will’s baby, and you can find out more about it by reading his launch announcement.

Yeah, so it’s baby shower week in our offices this week.

# DBMS-specific queries with Rails

Have you ever wanted to run queries which are specific to the type of database you’re connected to in Rails? Well, here’s one way of doing it :

  1. class Random < ActiveRecord::Base
  2. def do_stuff
  3. case connection.class
  4. when ActiveRecord::ConnectionAdapters::MysqlAdapter
  5. find( :all, :order => "RAND()" )
  6. when ActiveRecord::ConnectionAdapters::PostgreSQLAdapter
  7. find( :all, :order => "RANDOM()" )
  8. else
  9. raise "Merrrrh."
  10. end
  11. end
  12. end

Is there a better way? Answers on a postcard …

# The turd gets shinier

  1. 11:53 < carl> http://blog.felho.hu/what-is-new-in-php-53-part-2-late-static-binding.html - YUCK.
  2. 12:06 < Wlll> They should give up on PHP, really.
  3. 12:08 < Wlll> "What is new in PHP 5.3 - The turd gets shinier"