Leaving HPE

For the past two years I have been employed by Hewlett Packard Enterprise to work on the various tools, libraries, and frameworks that make up the open-source Python HTTP ecosystem. This enormous investment by HPE into the OSS Python ecosystem has enabled a number of really important pieces of work, including the creation of a […]

Read More

Unix locales vs Unicode (‘ascii’ codec can’t encode character…)

You might get unusual errors about Unicode and inability to convert to ASCII. Programs might just crash at random. Those are often simple to fix — all you need is correct locale configuration. Has this ever happened to you? Traceback (most recent call last): File “aogonek.py”, line 1, in <module> print(u’u0105′) UnicodeEncodeError: ‘ascii’ codec can’t […]

Read More

Patches Welcome

For the last 18 months I have been a full-time Open Source Software maintainer. Since starting that role I have taken over the major maintenance work for upwards of 10 software projects, with a cumulative monthly download count somewhere near the millions. In calendar year 2016 I received 15,000 emails from GitHub, despite religiously unsubscribing […]

Read More

CF Object Storage

A Cloud Foundry CLI Plugin for Working With Object Storage A new plugin, CF Object Storage, is now available.  This plugin provides users with the ability to work with Object Storage directly from the Cloud Foundry CLI. Users can take a look at the containers and objects currently in object storage and access, create and modify them. […]

Read More

Getting the ‘next’ row of data in a pandas dataframe

I’m currently working with stock market trade data that is output from a backtesting engine (I’m working with backtrader currently) in a pandas dataframe.  The format of the ‘transcations’ data that is provided out of the backtesting engine is shown below. amount price value date 2016-01-07 00:00:00+00:00 79.017119 195.33 -15434.413883 2016-09-07 00:00:00+00:00 -79.017119 218.84 17292.106354 […]

Read More