Vidar Hokstad V2.0

Home Blog

2008-03-17 00:00 UTC My blog, version 2

Posted in: , ,
I started and ended my first blog back in 2005. What caused the demise of my blog later that year was the workload I ended up with as we started preparing to launch Edgeio during evenings and weekends while I was still at Yahoo.

It's time to give it a go again, though I'm still extremely busy... Nothing like some pressure.

As last time I expect I'll end up writing a mix of everything on my mind ranging from random sites I like (though the Stumbleupon feed on the right hand side will take most of that) to politics, technology and of course extreme geekery (I have a lot of notes on a hobby project to bootstrap a compiler - expect lengthy posts with copious amount of Ruby and x86 assembler at some point...)

I also expect to make the occasional post about the company I work at, a great London web development agency called Aardvark Media, as well as any startups I meddle with - currently SpatialQ, where I'm on the board, and Skoach (where I'm only providing occasional advice)

About this site

This site is an experiment running on a custom Ruby based framework-free MVC app using Rack to interface to the webserver and Sequel against an Sqlite database for the models. About 10KB of code total, including the admin interface with some simple Ajax based CMS functionality to give in place editing/saving of page content. Of that about half (a couple of hundred lines of code) is made up of reusable, independent components. I don't like frameworks. Frameworks tend to imply high coupling.

I also actively dislike "magic". Magic is just another words for "shit goes on behind your back". I want to be able to easily rip up the plumbing and see exactly what's going on why. One of the things I love about Sequel, for example, is that until I try to pull data out of a dataset, inspecting it will give me the SQL it will use to query the database. It's visible, yet abstracted away so that I don't have to deal with it normally - and it's powerful enough that I so far have not found a single reason to dip down into raw SQL. It's however incredibly useful to be able to quickly, at any point, see what's going on when you don't quite know why something isn't working.

Using Rack lets me switch webservers at any time (as a result you may find the site at varying times running on Webrick, Mongrel, Thin or others, depending on what I feel like experimenting with), as well as write neat little filters to add capability while keeping coupling minimal. When I added Rack support I threw away hundreds of lines of code, and gained more capabilities. I like throwing away code. The more code you throw away while retaining or increasing functionality, the better what is left is likely to become.

Apart from any photographs, all graphics on my site are generated using Ruby scripts and Cairo - I really don't feel like using a drawing program for that kind of stuff.

I might end up posting snippets over the next few weeks. We'll see.


No comments yet - Be the first one!

Post a Comment

Basic HTML allowed.

About me

E-mail: vidar@hokstad.com
Skype: vhokstad
View my LinkedIn profile

I was born April 21st, 1975, in Oslo, Norway. Since 2000 I've been living in London, UK. I'm married.

I'm working for Aardvark Media as Director of Technology. I'm also currently on the board of SpatialQ, a startup in the GIS space, and an advisor to Skoach, a startup doing a time management app for people with ADD.

Recent posts to my blog

Categories

StumbleUpon My link page

(Links I have stumbled and like)