Sockets on OpenShift

Sat 23 November 2013 by Lars Kellogg-Stedman Tags openshift javascript

In this article, a followup to my previous post regarding long-poll servers and Python, we investigate the code changes that were necessary to make the code work when deployed on OpenShift.

In the previous post, we implemented IO polling to watch for client disconnects at the same time we were …

read more

A unified CLI for OpenStack

Fri 22 November 2013 by Lars Kellogg-Stedman Tags openstack

The python-openstackclient project, by Dean Troyer and others, is a new command line tool to replace the existing command line clients (including commands such as nova, keystone, cinder, etc).

This tool solves two problems I've encountered in the past:

  • Command line options between different command line clients are sometimes inconsistent …

read more

Automatic maintenance of tag feeds

Fri 22 November 2013 by Lars Kellogg-Stedman Tags blog git

I recently added some scripts to automatically generate tag feeds for my blog when pushing new content. I'm using GitHub Pages to publish everything, so it seemed easiest to make tag generation part of a pre-push hook (new in Git 1.8.2). This hook is run automatically as part …

read more

Enabled blog comments

Mon 18 November 2013 by Lars Kellogg-Stedman Tags blog

I've enabled blog comments using Disqus. This is something of an experiment, since (a) I'm not really happy with how Disqus is handling user registration these days and (b) I don't know that I have the time to moderate anything. But we'll see.

read more

json-tools: cli for generating and filtering json

Sun 17 November 2013 by Lars Kellogg-Stedman Tags json openstack

Interacting with JSON-based APIs from the command line can be difficult, and OpenStack is filled with REST APIs that consume or produce JSON. I've just put pair of tools for generating and filtering JSON on the command line, called collectively json-tools.

Both make use of the Python dpath module to …

read more