Hey you!

Postcards are cool! Go send some ->

postme.me

Archive for the 'Coding' Category

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

Lychrel numbers

Jan 27 2012 Published by under A tech a day

Last night I discovered another cool mathematical concept akin to the Collatz conjecture - Lychrel numbers. The idea of a lychrel number is pretty straightforward: Take a number, add its reverse, continue until you reach a palindrome number. If you never reach a palindrome, then this is a Lychrel number. Something like this: 349 + 943 = [...]

One response 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

Shoes

Jan 16 2012 Published by under A tech a day

Shoes are wonderful technology, they protect our feet, they make us look good and there’s a whole culture associated with wearing those things. A culture I, as a man, will never understand. Apparently there is a million and one way to wear the wrong kind of shoes to the wrong kind of outfit. For instance, my [...]

5 responses so far

Minimum substring cover problem

Jan 11 2012 Published by under A tech a day,Science Wednesday

A major part of my thesisinvolves finding an algorithm to discover a good substring cover of text in order to properly syllabify said text. But what is the substring cover problem anyway and what does it entail? The Minimum Substring Cover Problem paper from Hermelin, Rawitz, Rizzi and Vialette dating back to 2007 (judging by [...]

No responses yet

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

Sabbatical week day 2: I fail at Octave

Dec 28 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. After I managed to get the toggl and toshl [...]

3 responses so far

Next »

« Sabbatical week day 1: Toshl and... Sabbatical week day 3: Raining... »