-
Recent Posts
Archives
Categories
Meta
Author Archives: Joost
Wifi on IP Cam EM 6220 does not work – or how not to design your UI
I bought an IP cam to spy on my little baby girl. The plan was to set up this camera above her bed. It has wifi, so the lack of network sockets in the bedroom should be no problem. Setting up wifi … Continue reading
Why we chose JSON-RPC over REST
If you don’t want to mess about with XML, REST is pretty much the industry standard for creating an API. Initially, we had a REST(ish) API. But after using it internally at HomeRez, we were not very happy with how … Continue reading
Posted in software development
9 Comments
Checking log4js output in your node.js testsuite
This post will teach you how to test log4js log statements in your code. You can also find the code below in the `src/log4js-unittest` dir of my blog code repository. Let’s say that we have written this simple node.js module, foo.js . … Continue reading
Posted in JavaScript, node.js, software development
Tagged log output, log4js, logger, mocha, mock, node, node.js, npm, sinon, spy, stub, test, test log output, test suite, unit test
Leave a comment
Combining mongoose and Q in node.js
This post will teach you how to write promise-based mongoose code, using Kris Kowal’s Q library. You can also find the code below in the `src/mongoose-and-q` dir of my blog code repository. We have a mongo database with 3 collections: users, … Continue reading
Posted in JavaScript, node.js, software development
Tagged array of promises, callback, javascript, mongo, mongoose, node, node.js, promise, promises, q
4 Comments
Wifi USB adapter N300 in Ubuntu server
In my living room, I have a home theatre PC that runs Ubuntu 14.04 with Kodi (formerly XBMC). I wanted to reduce the amount of cables under my TV, so I bought a Sitecom N300 Wi-Fi USB adapter. It turned out … Continue reading
Posted in linux
Tagged 14.04, configuration, linux, ubuntu, ubuntu 14.04, usb, usb adapter, wifi, wifi usb adapter, wireless, wlan, wpa, wpa_supplicant
Leave a comment
Processing an array of promises sequentially in node.js
This post describes how you can perform a sequence of promises sequentially – one after another – using Kriskowal’s Q library in node.js. If you’re just interested in how to do this, and not in the other examples, scroll down … Continue reading
Posted in JavaScript, node.js, software development
Tagged array of promises, javascript, library, node.js, nodejs, promise, promises, q, sequential, serial, upload, upload file, uploading files sequentially
6 Comments
Cannot login after upgrading to Ubuntu 14.04
On my Macbook Pro, I run a virtual Ubuntu machine thanks to VMware Fusion. This works great and I am very happy with it. However, when I upgraded it from 12.04 LTS to 14.04 LTS, I could no longer login … Continue reading
Posted in linux
Tagged 12.04, 14.04, accountsservice, cannot login, lightdm, linux, login, login screen, macosx, ubuntu, uid, userid, vmware, vmware fusion
Leave a comment
User registration in django with django-allauth
While working on my bridge website (at this moment, very much in alpha state), which is written in Django, I had arrived at the point where I wanted users to be able to register themselves, instead of me having to … Continue reading
Posted in django, python, software development
Tagged allauth, auth, bridge, django, django-allauth, login, logout, webauth
3 Comments
Chatting at work for fun and profit
As I am writing this, I am employed as a software engineer at XS4ALL, the oldest consumer internet provider in the Netherlands. One of the things that makes people at XS4ALL so effective, is the use of a company IRC … Continue reading
Posted in work
Tagged channel, channels, chat, chat at work, effective, group chat, irc, irc at work, irssi, mirc, work
1 Comment