RSSAmplifier

Blog

Zoned Out

note to self

rhardih.ioRSS feed ↗10 posts

Latest posts

Resurrecting Email Notifications on a Legacy NAS

My QNAP TS-559 Pro+ has been running faithfully since around 2010. It’s well past its end-of-life, but still perfectly capable of serving files. What it can’t do anymore is send email notifications. Not because the feature is broken, but because the internet moved on without it. I used to have email notifications set up through ... Read more

Listing the contents of a remote ZIP archive, without downloading the entire file

Why I needed to do this is a longer story, but this was a question I was looking for an answer to. Initially it led me to the following SO question: Is it possible to download just part of a ZIP archive (e.g. one file)? Not exactly the same problem but close enough. The suggestion ... Read more

Migrating from LastPass to pass

I’ve been using LastPass as a password manager since 2012 and even paid for the Premium subscription, so I could access it from my phone. That specific feature later turned free, and has recently turned paid again. It’s not that I’m unhappy with LastPass per se, or that I wouldn’t want to pay for the ... Read more

Spelunking Advent of Code, Some Assembly Required – part 3 of 4 – The Observer Pattern

Part 1: Using a queue Part 2: Sorting Part 3: The observer pattern Part 4: Go channels This post is the third in a series, exploring a random assortment of techniques, data-structures etc. Each of which can be used to solve a puzzle from the 2015 edition of Advent Of Code, namely the first part ... Read more

Spelunking Advent of Code, Some Assembly Required – part 2 of 4 – Sorting

Part 1: Using a queue Part 2: Sorting Part 3: The observer pattern Part 4: Go channels This post is the second in a series, exploring a random assortment of techniques, data-structures etc. Each of which can be used to solve a puzzle from the 2015 edition of Advent Of Code, namely the first part ... Read more

Spelunking Advent of Code, Some Assembly Required – part 1 of 4 – Using a queue

Part 1: Using a queue Part 2: Sorting Part 3: The observer pattern Part 4: Using Go channels This post is the first in a series, exploring a random assortment of techniques, data-structures etc. Each of which can be used to solve a puzzle from the 2015 edition of Advent Of Code, namely the first ... Read more

Benchmark numbers for Tesseract on Android

Here’s an interesting find, I came upon recently. In the the process of moving an Android app project of mine, Camverter, off the now ageing version r10e of the Android NDK and onto version r18b, I had to rebuild some of its dependencies as well, in order to to maintain standard library compatibility. In r18b ... Read more

Behind the scenes of shell IO redirection

In the day to day toils on a command-line, it can be easy to overlook the complexities behind many of the constructs you use all the time. In a POSIX shell, one such construct is the ability to pipe between, as well as redirect input and output of various commands with <, > and |. ... Read more

Setting up Raspberry Pi as an OpenVPN client for the NETGEAR R7000 Nighthawk router

Since OpenVPN isn’t too chatty about failures in its default configuration, this took me a couple of tries to get right. Hopefully this post can save you some of the time I wasted. In the following example, I’m assuming you already have a Raspberry Pi, running Raspbian and that you can access it over the ... Read more

Interactive visualisation of Pi and friends with D3.js

Inspiration I recently stumbled onto the magnificent posters created by Martin Krzywinski over at http://mkweb.bcgsc.ca/pi/. He’s come up with some truly original ways to illustrate the appearance and complexity of various irrational numbers. Specifically, I really liked the minimalism and simplicity of the 2013 edition, shown here: The rules used for generating the coloured dots ... Read more