Oct 17, 2018 Wednesday

The beauty of programming

You can do something the brute force way, the stupid way, or you can find the right approach and suddenly the problem just goes away. You look at the problem another way, and you have this epiphany: it was only a problem because you were looking at it the wrong way.

Designers experience the very same epiphany. For programmers, less code is better code even if it’s not the fastest or the rightest solution.

Oct 4, 2018 Thursday

Multiprocessing in Python

A brief overview of different approaches to show how the multiprocessing module can be used for parallel programming.

Sep 17, 2018 Monday

So good they can't ignore you

Following your passion is bad, instead go for Mastery, Autonomy and Purpose — the trio of things that have been proven to motivate knowledge workers.

Sep 9, 2018 Sunday

How to run multiple websites from one Django project

The subdomain specific settings files will inherit all the defaults from the common settings.py file, and override only those values which are specific to the domain.

WSGI app files are the key of running multiple subdomains.

Sep 5, 2018 Wednesday

The tools I use to write books

Of course I do not send plain text files out to readers. Instead, they receive nicely formatted PDF, ePub, Mobi and HTML files, which I create with only a tiny number of tools: pp, pandoc and KindleGen. Together they form a pipeline.

That pipeline is essential.

1 2 3 4 5 6 7 8 9 10 11