Archive for the 'hacking' Category


let’s do the timewaste again – or just another example on how some popular JavaScript libraries or frameworks freak me out

Let’s talk about code quality and about quality of documentation. One example. I’m using underscore. So there is ‘findWhere’ on collections. All you can get is “Just like where, but directly returns only the first model in the collection that matches the passed attributes.” Ok, fine, you might say, but what if it doesn’t find […]

Dockered tinyproxy for dev environment

The other day I was looking for a solution to replace my Charles based proxy setup for our legacy system’s dev environment. Mostly because a colleague doesn’t have a license and didn’t want to pay for it. And we’re only using it for a single use case. The functionality they call “Map Remote”. Basically it […]

Compile MongooseIM on OS X with openssl

Another tricky thing I always struggle with: Get MongooseIM compiled on OS X (since they removed openssl). So if you have openssl installed via homebrew just do diff –git a/apps/ejabberd/rebar.config b/apps/ejabberd/rebar.config index c693471..4e5ff1f 100644 — a/apps/ejabberd/rebar.config +++ b/apps/ejabberd/rebar.config @@ -8,8 +8,15 @@ {require_otp_vsn, “R?1[678]”}. {port_specs, – [{“.*”, “priv/lib/tls_drv.so”, [“c_src/tls_drv.c”], [{env, [{“LDFLAGS”, “$LDFLAGS -lssl”}]}]}, – {“.*”, […]

Otalk IM

A customer of mine asked for a WebRTC based, self hosted solution. So I started investigating and stumbled upon the great Otalk IM Client. Unfortunately it has not been maintained for a while. I decided to go with it nonetheless. I updated dependencies as required to make them work with latest stable NPM (3.x) and […]

Cookie monster’s eating all of my Websockets

Lately I came across to playing around with XMPP Over Websockets. The objective was to get something like page transitions working for Websockets as well as they do with BOSH. With page transitions I mean being able to integrate some XMPP client into a web site that still has the old habit of loading new […]

Introducing Tumblikes

Tumblikes is a webapp based on node.js that allows you to download all your liked posts at Tumblr. It’s useful for backup or offline access. The project is opensource (AGPL) and hosted at Github. For convenience there’s an npm package as well. So you might just want to $ npm install tumblikes If you just […]

Nagios Plugin to monitor BOSH services

Enjoy! #!/usr/bin/perl -w # # check_bosh plugin for nagios # # usage: # check_bosh -U url -H host # # Check if bosh service running at specified address # # initial version: 3 May 2000 by Truongchinh Nguyen and Karl DeBisschop # # current status: $Revision: 1196 $ # # Copyright Notice: GPL # $Id: […]

today: radio talk on openmicroblogging (in german)

Today I’ll be giving an interview to radio fsk, hamburg. The topic is about twitter and openmicroblogging. They’ll have Cem Basman from WhisperN News and Media (brokerz) at face and I’ll join later on to talk about the role of XMPP in the field of openmicroblogging. The live broadcast calls itself Nerdalert and will start […]

Google Tech Talk on Building JavaScript Libraries

coding and stuff