My God, it's full of stars!

A week ago I gave a talk at PyWaw about astronomy, exoplanets and accessing Kepler data with Python. Here are the slides:

I'll update this blog post with the video of the talk as soon as it is published.

Continue reading »
Written on March 31, 2014

pygcvs 0.1.3 released

Yesterday I've released pygcvs 0.1.3 which fixes a small bug with parsing star coordinaates. The bug appeared when the coordinate part of GCVS entry was a string containing only spaces (for example when the star exists under an alternative designation). There are about 150 such stars in GCVS, for example VY Cep, which is actually another name for RR Cep. Starting from pygvs 0.1.3, such empty coordinates are correctly parsed as a pair of None values.

Continue reading »
Written on March 15, 2014

Getting started with HBase

Web 2.0, AJAX, HTML5, and now Big Data. Buzzwords, buzzwords everywhere. However, Big Data means data, and these large amounts of data need to be stored somewhere. Apache HBase is a distributed data store well suited for the task. As I've been playing around with Vagrant and Ansible recently, I've created a virtual machine environment for quick-and-dirty HBase setup. See vagrant-hbase at my GitHub.

Continue reading »
Written on July 28, 2013

Global revision log with django-reversion

If you ever needed to track changes to model instances in your Django code, you probably stumbled upon django-reversion (and if you didn't, I highly recommend it). It's a great way to add version control to your models and keep history of changes. For every model class registered with reversion the history view in Django administration panel gets the ability to rollback to previous versions. However, there is no central place to display a global log of all changes. Fortunately, it is quite easy to add.

Continue reading »
Written on April 23, 2013