Selling my MBP
Update: Sold !
I have befriended my trusty MacBook Pro for a lighter Air and I’m now selling it. It was my main computer for a year and a half and enabled me to make a living out of it.
It’s a 2010 15” MacBookPro
- 2.4GHz Core i5
- 4GB RAM (upgradable to 8GB)
- GeForce GT 330M 256MB (StarCraft 2 works fine ;) )
- 320 GB HDD
- 15.4 inch LED-backlit glossy widescreen display, 1440-by-900 resolution
- AppleCare expiring 14 April 2013


One of it’s legs has fallen and it has some scratches on the bottom case (which you might get it replaced by Apple). Other than that it’s in good condition.
I don’t want to stick too much with it so I think £750 would be a good price for it.
If you are interested please drop me a line at
[email protected]. Please also share this with anyone you know might be interested.
PivotPad, an iPad client for Pivotal Tracker, won Best New Skills at Leeds Hack.
Had a blast with @mathie and @_rahim, photos will follow on Flickr.
Edinburgh, where I’ll spend my summer working at a cool startup.
… for great good!
I’ve long been wanted to learn Erlang and I found a very good guide (isn’t as thorough but for an Erlang-noob it looks perfect).
The syntax is kind of strange but the most difficult part is thinking in a functional way. Hopefully I am going to write some toy projects in Erlang and get accustomed with it.
Another article I’ve been reading is a hands on review of Dynamo by implementing a key-value store in Erlang. It’s not a tutorial but the first article is simple enough to learn how to write Erlang modules.
If you have any suggestions for projects or other documentation please leave a comment.

Stanford started the Winter quarter class which now covers iPhone 3.0.
It’s a nice opportunity to play a bit with iPhone apps and learn Obj-C (which at first looked weird).
Get the videos from iTunes U.
Processing logs in real-time
I thought about how to process logs faster than using a cron job to poll for updates and I found mkfifo which you can use to get what’s written in real time. It makes a FIFO pipe which acts like a regular unix file except it has to be opened for reading (using fopen) before writing to it. I tested it on Snow Leopard, it is the same in linux as well.
After getting the updates in real time you can pushing them to a queue server like RabbitMQ for processing. Here’s how I done it using Ruby, Eventmachine and amqp gem:
mihai$ mkfifo log
mihai$ ruby1.9 publisher.rb log &
mihai$ echo "Test" > log
Homebrew
After a clean install of Snow Leopard I decided not to use MacPorts but to go with homebrew. Its main advantages are no duplication (macports installed its own version of ruby, python and other libs) and the path layout: packages are installed into their own prefix (eg. /usr/local/Cellar/wget) and then symlinked into the Homebrew prefix (eg. /usr/local).
And because all of the formulas are in git, to add one you just fork the project on GitHub, push your formula and make a pull request. Because of that it’s one of the most forked project on GitHub.
That’s what I did and now you can install Tokyo Cabinet and Tokyo Tyrant from my fork (I hope it will be merged into master soon) from main repo:
brew install tokyo-tyrant
(yep, no sudo needed).