Category Archives: Hobby Programming

Baby Naming Algorithm (Python)

To help name my coworkers babies, I wrote this script. It works as follows: Popularity:  This is done via a beta distribution. An alpha parameter of 1 prioritizes the most common names, and higher numbers produce less common names. Alliteration: Prioritizes first names to match the first letter of the last name. Syllable count: Lowers… Read More »

Markdown Calendar

Are you somebody who likes the latest and greatest apps for productivity? Perhaps this is not for you. I didn’t really like the calendar apps in iPhone or Android — I have certain requirements which those apps don’t satisfy. Up till now, I’ve been using a printed paper calendar and a pen, but I figured… Read More »

Making Maps in “Time-Space” with Python

You can find the code for this on my Github. I walk through it there. How can we make maps by travel-time, rather than distance? This project was inspired by this analysis from Gradient Metrics in which they re-projected Manhattan Island into “Timespace”, which shows how long it takes to get from any two points… Read More »

I made a GIF with ggplot2 and rworldmap

In my last post, I mentioned that I was interested in exploring the mapping capabilities of ggplot2. Well, shortly after I wrote that, I was searching the internet for “ggplot2 animated gif”, and I stumbled across this excellent walkthrough by Rafael Periera, which he had posted just minutes earlier! His blog, Urban Demographics is coincidentally… Read More »