Hey you!

Postcards are cool! Go send some ->

postme.me

Heroku, mongo, node.js – a problem

Jan 30 2012 Published by under A tech a day

A couple facts about three cool technologies node.js is a powerful way of writing backend code in JavaScript; why JavaScript? Because you have the kind of problem that benefits from asynchronous code (the average web app) and you like using the same  brain for backend and frontend work mongoDB is an awesome NoSQL data store [...]

4 responses so far

Appcelerator Titanium might’ve made it to my toolbox

Jan 23 2012 Published by under A tech a day

Last time I played around with Appcelerator Titanium I didn’t get a chance to really put it through its paces. Mostly because I wasn’t getting anywhere … I remember spending hours, even days, just figuring out how to get a Hello World to run in a simulator. Yesterday was my lucky day! Not only did I [...]

No responses yet

This Haskell is wrong. Why?

Jan 20 2012 Published by under A tech a day

The problem I’m trying to solve is the simple but lovely euler 62. The cube, 41063625 (3453), can be permuted to produce two other cubes: 56623104 (3843) and 66430125 (4053). In fact, 41063625 is the smallest cube which has exactly three permutations of its digits which are also cube. Find the smallest cube for which [...]

4 responses so far

Collatz, Haskell and Memoization

Jan 09 2012 Published by under A tech a day

After an awesome longboarding session yesterday afternoon I decided to play around with infinite sequences in Haskell – it’s supposed to be one of the more (most?) powerful features of Haskell – because it’s a lazy language apparently. My first impulse of creating a primes generator was nipped in the bud by a long page [...]

5 responses so far

A message from your future self

Jan 06 2012 Published by under A tech a day

About two weeks ago I watched a TED talk on the battle between one’s present and future self. The idea being that a lot of our problems can be summed up to this: Your present self is here, he wants cool things, your future self is greatly affected by these decisions, but he can’t do [...]

One response so far

Sabbatical week day 3: Raining datatypes

Dec 29 2011 Published by under A tech a day,sabbatical

I’m taking a sabbatical week over the holidays. This week’s posts will serve as a sort of report of what I got up to the previous day instead of the usual schedule – wish me luck that I achieve even half of what I’d like to. As I sit here slowly sipping on my tea [...]

One response so far

Learning me a Haskell

Dec 23 2011 Published by under A tech a day

A couple of days ago I decided that doing my graduation thesis on a topic that, when suggested, brought a sparkle to my mentor’s eye and made him suggest I might want to think about picking a co-mentor just wasn’t hard enough – so I decided to do the whole thing in Haskell. I want [...]

7 responses so far

The problem with threads

Dec 21 2011 Published by under Science Wednesday

This morning there was a link going around listing the 15 papers you should read to understand node.js’s background. A large portion of the list is devoted to the comparison of thread- and event- based models of execution. Since I hear a lot about event loops being better than threads, I read The problem with [...]

5 responses so far

Why programmers work at night

Dec 15 2011 Published by under Essays

A popular saying goes that Programmers are machines that turn caffeine into code. And sure enough, ask a random programmer when they do their best work and there’s a high chance they will admit to a lot of late nights. Some earlier, some later. A popular trend is to get up at 4am and get [...]

217 responses so far

Javascript’s lack of strftime

Dec 12 2011 Published by under A tech a day

You know that one piece of shitty code that always makes you cringe? Something along the lines of months = ['Jan', 'Feb' ....]; dateString = date.day()+’ ‘+months[date.month()]; Yeah that piece of code. Let’s talk about that. It sucks. There is a special circle of hell for people who do it and yet JavaScript developers are forced [...]

5 responses so far

Next »

« A food experiment The best $5 I have ever spent »