Portland Rain Data Sonification

The rumors are true, it rains alot in Portland! This seems to be common knowledge, however I wanted to take a slightly different look at the weather. The City of Portland HYDRA Rainfall Network publishes the average rainfall data online from various rain gages placed around the city. I thought…

Frequency Distribution with Chinese Words

I recently had been reading about Zipf's Law and how it seems to hold for most natural languages. Given my background with the Chinese language, I wanted to see if the distributions would work the same as they do with English. Zipfs Law states that with any corpus of natural…

A Markov Generated Novel

So during the month of November there's an informal hackathon that's held called NaNoGenMo (aka National Novel Generation Month). It's a play on the National Novel Writing Month which also takes place in November. The idea is pretty simple, write code that will generate a "novel". A novel here is…

Page Objects in Python

Using Behaviour Driven Development to build your software can make your life alot easier. While the testing and documentation benefits are incredible, one potential roadblock is having high-maintenance tests that require you to fix or refactor often. Fortunately, there are numerous ways to avoid having a brittle test suite, one…

Using Selenium Webdriver with Behave BDD

Testing your web application is a crucial part of the development lifecycle. Being able to simulate exactly what a user will encounter while using your application is an absolute game-changer. It's even better if your tests can explain what your software does at a higher level using natural language. This…