Nodejs

vados

7 minute read

A disturbing amount of open (and closed) source javascript projects that I’ve worked on are severely lacking in tests, whether unit or otherwise. Of course, I do find time to click around the apps and make sure they basically work, and while I find that works for smaller apps, it’s obvious that if you want long-term stability, and any one to even take a look at your app, one of the most basic requirements is having properly functioning tests.

vados

2 minute read

So for a weekend project I’ve decided to work on a site that makes conference schedules across languages, platforms, and countries easily available. I decided to use MeteorJS for this project, a relatively young web framework that really puts the “shared” in “shared back end and front end codebase”. While I have known about MeteorJS for a while, the last time I looked at them they were 0.x software, so although the demos had lots of interesting functionality, I wasn’t quite ready to take the dive (at that time, I think I was till kicking the tires on Knockout, and AngularJS).

vados

8 minute read

Recently on a project I’ve been working on, I’ve had to do some cross-programming language encryption. More specifically, I’ve had to encrypt data in Python with pycrypto (which is an excellent library), and decrypt that same data after sending it across the network in nodejs. Here’s what I got stuck on, and other random things that worked for me. If you’re trying to send the data just over the wire (ex.

vados

30 minute read

So I’ve been struggling with an issue in node-gyp for the better part of an hour now, and have just found the solution. Context: Here I am, trying to install the ursa library for node to handle some crypto, and for some reason, installs of ursa were failing with an EACCES error (which I think maybe should be EACCESS, but I will ignore that for now). The errors were very vague, and it took me a lot of debugging to reach this conclusion, but nonetheless it was fun to modify node source code and get my hands dirty (I looked in files like child_process.