Writing
I don't write as much recently, but there's still plenty of essays.
Categories
-
How I used Let's Encrypt to enable HTTPS on this blog
TL:DR - it was free and took an hour to figure everything out.
-
How to make a Java daemon with start-stop-daemon
start-stop-daemon is a utility that, among other things, can make daemons out of regular foreground user-facing programs, and they don't have to know anything about it.
-
Demystifying direct uploads from the browser to Amazon S3 - with a full example in 167 lines of code
Implementing this may sound like a big complicated job, but in fact, it's feasible without resorting to third-party libraries.
-
How to build MAPS.ME for Mac OS X - an offline OpenStreetMaps browser
It's probably better to use Organic Maps at this point.
-
Handle large JSONs effortlessly with jq
How would you find sense in a 4-megabyte JSON file? Turns out, this is a great opportunity to use jq - a lightweight and flexible command-line JSON processor.
-
The genius of React
React makes it possible to code modern web application with the same simple approach as traditional, non-interactive websites.
-
Companies that are using Clojure
These are only companies that have achieved household name level (at least in developer-held households.
-
How to index mixed-language content with Lunr.js
Details of my implementation that is now bundled into the lunr-languages library.
-
OAuth2 is easy - illustrated in 50 lines of Clojure
A generic OAuth2 library is complicated and rife with options and configurations. However, making a specific OAuth2 client takes less than 50 lines of code.
-
Some custom git commands that I use
It only makes sense to develop a third, personal, layer of git commands to help in your daily routine - call them "towel" or "toothbrush" commands, if you like.
-
What separates software consultancy from engineering? Breadth of vision
You might think that making great software products automatically makes you eligible to be a software consultant. Not so.
-
A formal prover for certain programs in the Javascript programming language
This thesis is concerned with developing an automatic system for sound formal proofs of programs written in a certain imperative subset of Javascript with logical annotations.
-
Blog article versioning in Ruby on Rails - a post mortem
I wanted an approach akin to a git-driven app development & deployment flow: make a draft version, proof-read, and only then publish changes.
-
Blog comments in Ruby on Rails - a post mortem
I'd like to share some hurdles I had to overcome with implementation of comments in Ruby on Rails.
-
Best practice: use your global .gitignore
I was setting up a new project yesterday, and it was missing a .powenv file I needed for Pow to work.
-
Fix for Raspberry Pi / ODROID silently failing to boot
If you have USB drives in your /etc/fstab and your Linux system fails to boot after registering in the network, try this:
-
No SSL, no problems
Two days ago it turned out that never getting around to setting up HTTPS access to my websites actually made them more secure.
-
Grapher
На Маке нет встроенного графического редактора а-ля Microsoft Paint, зато есть встроенная программа для построения графиков – Grapher.
-
Сравнение ODROID-U3 и Raspberry Pi
Если хочешь поиграться, рекомендую Raspberry Pi. Если хочешь собрать домашний сервер, который умещается в мыльнице, не шумит и сказывается на счете за электричество, выбирай ODROID U3.
-
Чтобы выделить на что-то время, нужно у чего-то его забрать
Чему меня научил недельный эксперимент по учету потраченного времени.