stereochrome

Inklings in July 2013

Screencast recording under Ubuntu

Noted for future reference:

avconv -strict experimental -f x11grab -r 25 -s 1024x768    \
       -i :0.0 -pre medium -f alsa -ac 2 -ar 22050 -i pulse \
       cast.webm

I’ll have to decipher that myself some time, but for now it’s good enough to make note of it as I may need to do something like that at some point in the future.

LMDB (Lightning Memory-Mapped Database)

LMDB is an ultra-fast, ultra-compact key-value data store developed by Symas for the OpenLDAP Project. It uses memory-mapped files, so it has the read performance of a pure in-memory database while still offering the persistence of standard disk-based databases, and is only limited to the size of the virtual address space, (it is not limited to the size of physical RAM).

I can see places where this would be useful. In particular, it looks like it would’ve been a better choice of backing store for a small daemon I wrote recently for work. It’s compact nature and the fact it performs MVCC are attractive features to me. There are also Python bindings.

Importing from Wordpress into Mezzanine

logstash

logstash is a tool for managing events and logs. You can use it to collect logs, parse them, and store them for later use (like, for searching). Speaking of searching, logstash comes with a web interface for searching and drilling into all of your logs.

Requires Java. Looks pretty non-sucky.

beaver

Python daemon that munches on logs and sends their contents to logstash.

LZ4 compression algorithm

Looks like an interesting alternative to LZO.

RFC 6797: HTTP Strict Transport Security (HSTS)

This specification defines a mechanism enabling web sites to declare themselves accessible only via secure connections and/or for users to be able to direct their user agent(s) to interact with given sites only over secure connections. This overall policy is referred to as HTTP Strict Transport Security. The policy is declared by web sites via the Strict-Transport-Security HTTP response header field and/or by other means, such as user agent configuration, for example.

I only actually heard about this recently, though the RFC’s been published since last November. To read.

git-imerge

Incremental merge for git.

I’m not sure I quite see the value in this beyond that given by git-rebase as I’ve never encountered as situation where rebasing has ever lost any useful history, but it still looks worth checking out. Here’s a video from the git merge conference:

Enforce Single Responsibility for Your Commits

What's in a Good Commit?

LL and LR Parsing Demystified

Nice summary.

Pynamo: Exploring the Dynamo Paper in Python

A Little Riak Book

Python and the Realtime Web

Nice set of notes on writing applications in Python with WebSockets.