Author Archives: Taufiq

Rate limiting in Node.js with Promises

I’ve been re-familiarising myself with Node.js recently, and there’s a lot to catch up on since I last used it in anger. With the support for ES6 I’ve been looking through the changes listed and playing with features here and … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Remote Profiling the JVM through an SSH Tunnel

This one took a little time to figure out. I wanted to profile a remote JVM application using VisualVM locally, in a way that didn’t expose any ports to the outside world and has a reasonable level of security. An … Continue reading

Posted in Programming | Tagged , | Leave a comment

Could not find or load main class

I recently came across what seemed to be a fairly common error message while trying to run a Java jar on a newly installed Ubuntu 16.04 VM:

This is a pretty common issue that usually stems from incorrect classpaths … Continue reading

Posted in Programming | Tagged , | Leave a comment

Setting up Rocket.Chat in userspace on Ubuntu 12.04

Not too long ago I needed to set up Rocket.Chat for internal evaluation. At the time its installation process was not especially well documented and required some existing knowledge of its underlying stack in order to figure out how to … Continue reading

Posted in ops, Programming | Tagged | Leave a comment

Installing a Let’s Encrypt certificate for ZNC

I’ve been running ZNC, an IRC bouncer that I use for maintaining a presence in channels while I’m offline and keeping logs so I don’t miss conversations. As it’s been using a self-signed certificate for a while, I thought I’d … Continue reading

Posted in ops, Software | Tagged , | Leave a comment

Auto-syncing Wurm map dump to web server

In my downtime I help host KangaWU, an Australia-based Wurm Unlimited server. One of the things we needed was auto-generated map dumps syncing to our web server to allow frequent updates of the online map. Looking at the options available, … Continue reading

Posted in Software | Leave a comment

Creating numeric types from byte arrays in Clojure

While writing my Clojure-based Minecraft map reader and NBT library, carrit, I’ve need to do some messing around with binary files. For this library I’ve made the decision to implement what I can in Clojure’s available functions, dropping down into … Continue reading

Posted in Programming, Software | Tagged , , , | Leave a comment

Migrating from duck-streams/to-byte-array in Clojure 1.3

Just spent some time migrating my minecraft NBT library from to Clojure 1.2.1 to 1.3, had to make a few changes as many clojure.contrib 1.2.0 libraries were moved to separate modules or merged into core. The reliance on clojure.contrib.duck-streams was … Continue reading

Posted in Programming, Software | Tagged , | Leave a comment

HGFS on a Ubuntu 11.04 VM

Had some issues sharing a windows host directory with my Ubuntu 11.04 VM on VMware 6.5.5 – kept coming back with a “Unable to update run-time folder sharing status: Unknown Error”, which was unhelpful to say the least. I’d previously … Continue reading

Posted in Programming | Leave a comment

Logging in Clojure

Warning: Clojure newbie alert. Having some difficulty finding comprehensive examples of logging in Clojure, maybe I’m searching for the wrong things. All the clojure docs seem to be brief to say the least. What would be nice is to figure … Continue reading

Posted in Programming | Tagged , | Leave a comment