Dave Perrett

Weekend Project - Time Out in NZ

announcement, programming, rails, ruby

I’ve been flat out with a couple of contracting projects recently - apologies for the four-month blogging hiatus!

One of these projects (albeit a quickie) was a weekend spent making a rails site for a couple of New Zealand organizations to help the victims of the Japanese quakes and tsunami relocate themselves and/or their children to New Zealand temporarily.


Jekyll Plugins for Categories, Projects and Sitemaps

jekyll, plugin, programming, ruby, web

2013-03-28 Update : These plugins are now hosted on GitHub

I’ve finally gotten around to cleaning up and releasing the source for a couple of the Jekyll plugins used to build this site.

You can find them all on the Jekyll Plugins project page, or browse the source.

As always, if you come across any problems please create a ticket and we’ll try to get it fixed as soon as possible.

Enjoy!


CompSci 101 - Big-O Notation

algorithm, comp-sci-101, programming

I recently had a couple of Google interviews in Tokyo, and while preparing for them I ended up with a huge list of things I wanted to brush up on before the interview.

It turns out I didn’t get the job (next time!), but I thought I might be able to learn something anyway by working through the list and blogging about the main areas that companies like Google expect you to know.

I’ve grabbed the domain computerscience101.org (which currently redirects back here), and when I’ve collected enough posts I plan to throw everything up there as a kind of chapter-by-chapter interview-primer in the hope that it might help someone else out.

Without further ado, first on the list is Big-O notation:


A Weekend Project - fromthecache.com

announcement, company, html5, programming, rails, ruby, sass, web

I was playing around on the weekend screen-scraping and analyzing word-frequencies for various sites (don’t ask), and was getting some slow responses (and accidentally got my IP blocked from one site when I hit them a few too many times).

Eventually I hit upon the idea of hitting Google Cache for each URL (the pages I was scraping had sequential ?id=xxx URLs so it was easy to automate), with the aim of speeding things up a bit and taking some load off the target sites.

With this in mind, I spent a few hours Saturday and Sunday developing fromthecache.com - it’s built on rails, and designed to provide transparent access to the Google cache, while fetching the original page as a fallback if necessary.