Verbally Flimzy

Ramblings, Observations and Misconceptions

Configuring CouchDB 1.6.1 with LetsEncrypt free SSL certificate on Debian 8 (jessie)

Posted on February 17, 2017

Enable jessie-backports, if not already enabled on your system. As described here: echo deb http://ftp.debian.org/debian jessie-backports main | sudo tee /etc/apt/sources.list.d/backports.list > /dev/null aptitude update Install certbot as described here: sudo aptitude install certbot -t jessie-backports Configure a web server, so certbot can communicate with the outside world. I use lighttpd.

Continue reading `Configuring CouchDB 1.6.1 with LetsEncrypt free SSL certificate on Debian 8 (jessie)` →

Filed under: Linux

Remembering significant minutiae

Posted on January 30, 2017

Today I reached a meaningless milestone. My most popular post on StackOverflow, the leading Q&A site for programmers, earned its 500th vote*. The post is short, and pretty hilariously insignificant. The question asks how to repeat a simple search-and-replace operation. My answer was essentially to add a single character, the letter “g”, to their code.

Continue reading `Remembering significant minutiae` →

Filed under: Programming recruitment stackoverflow

Installing Docker 1.12 in Debian 9 (stretch)

Posted on October 27, 2016

Debian ships with an old version of Docker, and the official installation instructions for Docker on Debian are a bit dubious (run an entirely untrusted shell script as root! yay!), not to mention error-prone, and result in a completely non-functional Docker installation on Debian, thanks to aufs being deprecated. So these instructions should make it possible to install Docker 1.

Continue reading `Installing Docker 1.12 in Debian 9 (stretch)` →

Filed under: debian docker Linux

warn "Use of Perl has been deprecated.\n";

Posted on October 20, 2016

It’s been just over a month now, since my last day as an employee of Booking.com. Which means it’s been just over a month now since I wrote my last line of professional Perl. This is worth celebrating! Now don’t get me wrong. It’s not that I hate Perl. In fact, I’ve really enjoyed using Perl over the years.

Continue reading `warn "Use of Perl has been deprecated.\n";` →

Filed under: Go javascript node.js Perl Programming Work

Question to fellow programmers: Do you like auto-complete?

Posted on October 20, 2016

Atom’s tab-completion drives me nuts. I’ve always found auto-complete to be an insanity-inducing feature in my programming text editor. Inevitably, it causes me to type the wrong thing, or hit TAB too many times. Enter-complete I find to be even more infuriating. But auto-complete, especially in text editors designed for programmers, is often very a elaborate feature.

Continue reading `Question to fellow programmers: Do you like auto-complete?` →

Filed under: best-practices Programming text-editors

How I got go-spew to work with GopherJS

Posted on October 19, 2016

go-spew is a very handy library used for dumping arbitrarily complex data structures in a (roughly) human-readable format. This is immensely helpful when debugging or writing automated tests in programs. Coupled with a package like go-difflib, it can make comparing the expected and actual results of a test not only easy, but into something approaching fun.

Continue reading `How I got go-spew to work with GopherJS` →

Filed under: Go gopherjs Programming