Category: Uncategorized


2009 in Twitter updates

In a similar vein to my previous post, here’s my 2009 in Twitter updates (although I only joined twitter in February).

  • Wondering what all this is about…
  • Might be slightly addicted to Rocky bars, can only eat them in pairs. Could just be strange OCD.
  • Pleased that Drongo came third in Battle of the Bands. The best is yet to come!
  • Amused that Drongo Sealion Magic were described by one female radio presenter as “more exhilarating than my sex life”
  • Not sure how I’m feeling. Should probably be very upset, but just feel quite numb. The sadness will come
  • I want to write a song called “Soft Porn and Nazi Sharks.” Lord knows what it would sound like…
  • Mom’s having a girl’s night so I’m trapped in the back room. Why can’t they just get drunk and play PlayStation like men do?
  • I’ve decided to move to Australia and take lessons from Paul Wardingham for a bit.
  • I take that back. Any chance we can get Paul Wardingham, Greg Howe and Todd Duane together to teach me?
  • Did you know that activity-dependent presynaptic facilitation was non-Hebbian? Me neither. They should really teach these things at school.
  • The flat fell through at the last moment. Within an hour, however, we had applied for another one. How quickly we move on!
  • I’m now with iPhone, but without motivation. I may have overworked yesterday. Time for Mitchell & Webb, then bed methinks.
  • The Searle-Churchland debate on AI would be really interesting if I didn’t feel the impending essay question doom.
  • Got the mid-revision new gear itch. Last time it was my Engl cab and Maverick 7 string, currently trying to resist a Blackstar HT-5.
  • Might be listening to Uncle Moe’s Space Ranch too much. Dennis Chambers is infiltrating my brain, and he might be pushing out the revision
  • Advanced Topics in Algorithms – who would have thought this module was completely insane?!
  • Sugar sugar sugar sugar sugar sugar sugar sugar. This isn’t helping me learn. Lame.
  • Filled up my last pad with revision, so can’t continue until Tesco opens. That’s part laziness, part procrastination. And I’m loving it.
  • Happy. Life is really good at the moment. Yes. Griff is content.
  • Can’t believe someone stole the aerial off my car. What kind of person does that?!
  • Just launched my first twitter mashup: – let me know what you think!
  • Full of pasta, so going to sit down with a beer and play Gran Tourismo. This is the life.
  • NORTH SEA JAZZ!! Excited
  • Best bits of NSJ: Jonathan Kreisberg, CTI All-Stars, George Duke, Etienne Mbappe & Lee Ritenour. John Zorn is scary.
  • Really enjoying RoR now I’m over the initial installation issues. Is this better than Cake? Hmmm, maybe.
  • Consulting “Getting Real” by 37signals. This thing is like a bible to me.
  • CORNWALL!!!!
  • Just been writing some “music”. Al is going to hate me.
  • Argh, I suck at guitar. Wish I could un-learn all the bad things about my playing. Need to sit in a room with a metronome for about a month
  • Well proud of my little sis! Soon she’ll be a dirty lazy student.
  • Great band practice, but perhaps too much rice. Should probably be sleepy time now
  • R.I.P Pouches, 2007-2009. Hope you enjoyed your time with us, you will be missed.
  • Job accepted. London, here I come! (In a year or so…)
  • Vegas time!! See you next week
  • Why is installing the MySQL gem on OSX so freakin’ difficult?!
  • RIP Stan Pedley. You’ll be missed, but I’m glad you’re no longer suffering
  • Time to bite the bullet and fill in some tax returns.
  • Moving house this weekend. Let the hunt for boxes commence!
  • Annoyingly, there is only one module this year I don’t want to take. Everything looks so interesting!
  • Moved out, keys surrendered. Bye bye, Area Griffty One. We had fun!
  • Slowly figuring out the Extended Kalman Filter. I’m pretty sure Uncle Moe’s Space Ranch are helping.
  • Had a lecture on teleportation in which I won a chocolate bar. Today is a good day!
  • Introducing the Griffkins Diet: you can eat only pasta, waffles, rice and toast. Preferably all in the same meal.
  • Relearning #Cappuccino for an idea I’ve had. Really love the way it works – refreshingly different and incredibly advanced.
  • Pumped, and a little scared for our poster presentation. Lidar, lidar, lidar, lidar, slam slam slam.
  • Massive snow in the Netherlands means we can’t travel 🙁 No Dutch Christmas for me, it seems!
  • Screenwipe is reminding me how incredibly quickly this year has passed

2009 in Facebook statuses

I thought about using the application, but it’s a bit lame, so I thought I’d do my own (this is obviously a subset of my statuses…). Enjoy!

James ‘Griff’ Griffin…

  • is enjoying Shawn White’s Snowboarding and Tomb Raider. Business essay? What Business essay?
  • is bored of looking at seg faults
  • is possibly a little obsessed with Greg Howe at the moment
  • has much shorter hair now
  • has just launched
  • came third, and is pretty pleased with that 🙂 DRONGO!
  • will be a resident of Leamington Spa on the 2nd April
  • has settled upon “Area Griffty One” as the name of his new pad. Thanks be to Paul
  • realizes, after a night out, how little women appreciate men who can correctly identify the beat
  • submitted. It’s over!!! Now for the rest of the work…
  • got hit on by an old woman, had a conversation with Scott Dacko about guitar, and had his boob signed. Good evening!
  • has survived his first visit to the gym. Now to counteract that with a chip buttie
  • starts exams tomorrow. ARGH.
  • has finished!! And, unfortunately, is massively allergic to mom’s new kitten 🙁
  • is in love with his Blackstar HT-5
  • is soupy, so he is.
  • is not in Holland (yet…), and really enjoyed Miracle on 34th Street.
is enjoying Shawn White’s Snowboarding and Tomb Raider. Business essay? What Business essay?

On the importance of Data Integrity

Not long ago, I attended a seminar by Chris Date at Warwick Uni DCS on the topic on the advantages of the Closed World Assumption as opposed to the Open World Assumption. I wont be talking about these here, but I’ll just give a quick introduction. In the closed world assumption, if a set of data exists in a database, then it is assumed to be true (for example, Employee Steve has ID 1 and earns 20K). If a set of data could exist in the database, but doesn’t, then it is assumed to be false. In the open world assumption, however, this data can be either true or false – the assumption is that it doesn’t exist in the database because we don’t know if it’s true or not. It’s a very interesting topic, perhaps I’ll talk about it some other time.

The talk was incredibly interesting, but there was one thing he said which really struck a chord, and that was:

The most important property a database can have is that its data is correct.

This struck me in particular as a result of a number of issues I’ve had with recent projects whereby the entire website was crippled because of a couple of bit of incorrect data in the database. Could this have been avoided? Definitely. I could have added lots of constraints to the database, and I could have performed more unit tests on the code itself (I’d only just gotten into doing unit tests at this time, so they weren’t quite as robust as they could have  been). It got me wondering, however, whether it would be useful to unit test that database design itself. It’s all good having “correct” code, but if the underlying database will allow inconsistencies, then there’s still a risk that the system can break. I’m not sure if unit testing the database design at a level below the code would be worthwhile, but it’s something to think about!


Research Directions

I’ve recently finished the first term of my final year of university, and for probably the first time, I’m actually sad to have completed one of my modules. The module was entitled “Research Directions”, and is (apparently) fairly unique to Warwick University. It’s organised as a series of graduate seminars, meaning the module as a whole covers a wide range of subjects, mainly being taught by guest lecturers who are experts in their particular fields. This meant that we were given decent groundings in areas including Quantum Computing, Bioinformatics and Trading Algorithms. Each member of the group presented a topic taken from the Communications of the ACM, which gave us brief introductions to more topics such as Smoothed Complexity, Probabilistic Databases and Model Checking.

What made this module great? It was relaxed, free-flowing and interesting. What more can you ask for? If only all modules were like this.


Theory and Applications

The degree I do at Warwick is very theory-heavy, in that we learn a lot of algorithms, techniques and equations, but put very little of it into practice. I quite enjoy the theory part of it, but it’s always fun to do the implementation (after all, isn’t the general perception of Computer Science that it’s a degree in programming?). Today, I got one of those wonderful moments where the theory is put into practice outside of the modules, when I had to implement Bresenham’s line drawing algorithm as part of our group project. For some reason, I found this really exciting! Of course, I had to look up how to do it, even though the module was only last year…


Reducing Complexity

So, once again, I’ve redesigned the site. The concept is very simple: reducing complexity. This is something I’m really keen on at the moment – as Einstein says, everything should be as simple as possible, but no simpler. So the main site itself is incredibly minimal, and all the things are hosted separately. This blog now uses WordPress, which is fantastic, and the majority of the other content is available through other sites such as Twitter, LinkedIn and Flickr.

The portfolio was something I thought about for a bit. Traditionally, portfolios show all your work with quick descriptions on one page. But, as a web developer, the websites itself should act as their portfolio entry, so it makes sense for the portfolio to be just a list of links. Simple, see!

I’ve got a load of things I’d like to blog about soon, so watch this space!



I just wanted to say how much I freakin’ love LaTeX. As far as I’m concerned there is nothing else you can feasibly use for academic document preparation, and the output is just so beautiful. I can’t quite explain it, but I find the aesthetics of a LaTeX prepared document just incredibly attractive. Check it out for yourself.


Gato o Cactus?

I just found a review of Cat or Cactus?! on Mon Da Dientes which made me laugh. According to Google Translate, it says:

Cat or cactus is an exciting game blends real time strategy, third-degree differential equations and guess if the photo is half covered by a cat or a cactus. A real challenge.

Thanks, Mon Da Dientes!


What’s happening to me?!

I did some work on a CakePHP site earlier today, and I pretty much hated every minute of it. Somehow, I’ve gone from the kind of person who does everything in PHP, to one of those fanatical Ruby on Rails developers. There’s only one thing for it: I must re-write everything I’ve ever done in RoR! OK, maybe I won’t go that far. Yet…


MySQL gem on OSX with XAMPP

I’ve just upgraded to Snow Leopard, and as a result, have had to reinstall my MySQL gem for Rails. On OSX, this is never easy, as the sheer number of blog posts offering advice will show. Having tried all the different solutions I could find, this is how I managed it. Note that because I am on a Core Duo machine (not a Core 2 Duo), I didn’t upgrade to the 64 bit version of MySQL.

Open up a Terminal, and edit the .profile file, to add the following to modify your path:

export PATH="/Applications/XAMPP/xamppfiles/bin:$PATH"


sudo sh env ARCHFLAGS="-arch i386" gem install mysql

You might see a load of warnings, but as long as it doesn’t fail, then they’re not too important. You can check it’s worked by running:
gem list -d mysql

This way you don’t need to bother with all the setting mysql_config flags. Or, at least, I didn’t need to. Hopefully this will work for you!