Socket.io: ur doing it wrong

I hate it when documentation doesn't advocate best practices. Even worse, that means that virtually every tutorial on the bleeding internet copypastas those same bad practices. I'm looking at you here, socket.io!

Lees meer

More fun with PHP!

We all know dates are hard, which is why we let libraries and built-in language features handle them. Right?

Lees meer

WTF PHP?

PHP has come a long way in recent years, and though it's still not by far the most elegant language ever PHP5.3+ at least looks like an actual programming language.

Lees meer

Dating 3.0

Right. So, I don't normally use this blog for promotion, but since I wrote about this app before and it's now (more or less) done and live, I thought it deserved a mention. May I present to the interwebz: FlirtTracker.

Lees meer

Chinese takeaway

I don't know what I accidentally dragged into the Firefox awesomebar to trigger this Google search, but I'm sure it's pretty interesting...

Lees meer

Yes, that totally makes sense (not)

I'm developing a (rather cool, I think) website/app (it's going to go live somewhere in the next few weeks, depending on how fast AAPL approves it) and as a part of that today I wanted to develop a circular countdown. A what? Well, essentially we needed a circular area to gradually 'fill up' clockwise until a certain time had been reached. In common speak, I was making a clock.

Lees meer

Why I ffing *hate* mobile development

Okay, maybe not exactly *hate*, but it comes pretty darn close. I just need to rant about this, so stay with me.

Lees meer

(Ab)using ngRoute to build a hybrid app

I love AngularJS. It makes building rich internet applications easy and does so in a structured manner. These days, whenever I need to fallback to jQuery (due to client requirements, for instance) it feels like going back to the Dark Ages. But enough praise.

Lees meer

Note to self: next time, look at the source first

A while ago I blogged about configuring Apache to handle web sockets. Of course, haters all be like "why use Apache for this". Well, simple really: I had time nor inclination to switch our entire environment to something like NginX.

Lees meer

Websockets with Angular, socket.io and Apache

Seeing as I just spent the better part of the afternoon trying to figure this out, I thought I'd write a quick blog post on how I eventually got this working - both for other people struggling with this and for my own archive since I'll probably forget again and want to look it up next time I do such a project :)