Friday, 1. November 12013
p3k dots

How to run loggerhead via WSGI and Apache 2.4.

I did not find a complete instructional for doing this so I wrote down what I had to do to make it work on the “saucy” Ubuntu (13.10).

  1. Copied the file /usr/share/doc/loggerhead/examples/apache-loggerhead.conf to /etc/apache2/config-available/loggerhead.conf
  2. Modified the following lines: WSGIDaemonProcess loggerhead user=www-data group=www-data maximum-requests=1000 display-name=loggerhead processes=4 threads=1 WSGISocketPrefix /var/run/apache
  3. Enabled the configuration by a2enconf loggerhead
  4. Copied the file /usr/share/doc/loggerhead/examples/bazaar.conf to /var/www/.bazaar/bazaar.conf
  5. Created the directory /var/cache/loggerhead and changed access permissions by chown www-data:www-data /var/cache/loggerhead
  6. Disabled the loggerhead upstart service by echo 'manual' >> /etc/init/loggerhead.override
  7. Restarted Apache by service apache2 restart

Of course, you also need to adapt the URL and file paths to your Bazaar repositories according to your setup.

Thursday, 31. October 12013
p3k dots

I wish I only had a glimpse of how Mike Bostock comes up with the formulas for something like this Epicyclic Gearing thingie…

It’s all about math, trigonometry and shitake (and SVG of course), I know, but still: how long does it take to find out how to describe not only one gear but three different gears with a few lines of code and some sine and cosine calculations?

Wednesday, 30. October 12013
p3k dots

Bitcoin, Shitcoin.

On the fact that Bitcoin has a Kill Switch; and how to disconnect it.

Chemtrails, Nazis auf dem Mond, Neuschwabenland, Hohlwelt uvam. Irre!

Selten so gelacht: Die Mondverschwörung.

Tuesday, 29. October 12013
p3k dots

Motorola announces Project Ara, an open hardware platform with modular components à la Phonebloks. (Via reddit.com.)

Monday, 28. October 12013
p3k dots

StopWatching.us “fatally compromised by the prominent leadership and participation of the Libertarian Party and other libertarian student groups [who stand] in direct opposition to almost everything I believe in as a social democrat.”

Thursday, 24. October 12013
p3k dots

“As consumers, we should understand ad-avoidance as a way of setting a price on our time and attention. For the past century, we’ve arguably been selling it too cheap, trading it all for a few decent sitcoms and sports programming.”

Wednesday, 23. October 12013
p3k dots

Wikipedia’s list of musical works in unusual time signatures.

Scaling up an image with ImageMagick but without anti-aliasing.

I created a large version of my good ole p3k logo using the following ImageMagick command:

$ convert p3k-logo.gif -filter Point -resize 200 +antialias p3k-logo-200.png

Via www.alecjacobson.com.

Tuesday, 22. October 12013
p3k dots

“Supporting IE8 on our responsive platform means we cannot develop using these technologies natively: [List of cool stuff]” – (Via sebastian-werner.com.)