Filter by:
Sort by:

So you think the internet is a dark and hostile place...

Well think again! Last night we had a big breakdown on Some famous actor mentioned us on facebook - which is by the way great, and well the database could not handle it. Within 6 minutes the database went from responding within about 3-600 ms to 6-8000 ms. ... Read more »

Working from home

So yesterday we did the big launch of Be My Eyes, and what a splash we made! I am so proud of having been part of this. I work from home, which basically means that I have set up an office in the bedroom. Working from home is amazing: If ... Read more »

Map Reduce in MongoDb

I had a problem where I needed to aggregate some documents in MongoDb. In Be My Eyes, we keep records of which version of ios the app is installed on. We do this to know which versions to support. The natural solution would be to use the aggregation framework, however ... Read more »

Unix commandline

Just a few scripts useful for changing many files at once. To replace all double quoted strings with single quoted strings in ruby to make rubocop happy: find . -type f -iname '*.rb' -exec sed -i.bak "s/\"/'/" "{}" +; Now find all the places where you do string interpolation and ... Read more »

EventBus in a Sinatra app

I had a sinatra app (the Be My Eyes app), that I thought had a bit too much code in the route file. So I investigated how to make that better. What I came up with was that it would be great to have some kind of EventBus, where I ... Read more »

Frontend developers and their tools

I read some frontend developer magazines like net magazine and Web Designer Magazine. Now I really like both of them, and so I thought about how great it would be to have something like that for backend developers (or maybe full stack developers). And I thought about why it is ... Read more »

Git bisect

Oh how I love git bisect In the last couple of weeks I had some bugs that were introduced at a unknown commit. Actually I couldn't even find out what code was working wrong. I did however know excactly what was wrong in the UI. For problems like this git ... Read more »

My Mac Setup

This is just a run through of my Mac setup - I do this mostly for myself, so I can find it whenever I need to setup a Mac, but you are welcome to take a peek :-) First of all Caps Lock (I never hit Caps Lock except by ... Read more »