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 »

Yahoo Fantasy Baseball API with R

Connecting to the Yahoo Fantasy Baseball API is tricky business. If you’ve found this post, you may have also found this post by Ryan Kuhn, and this post by Cory Nissen, both of whom have successfully implemented the API. I want to build on their work a little bit, by adding some extra functionality and… 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 »

A Foray into R, ggplot2, MariaDB

This post will not be useful to anyone but me, but I wanted to do a little project to get me more familiarized with R (especially ggplot2), MariaDB and git, and see how they all can connect. I’ve decided to use my new Fedora Scientific box to load some World Bank population data into a… Read More »

Linkwrap: Wifi Strength and Markov Chains

Victor Powell ( created this interactive D3.js explanation of what Markov Chains are.   MIT’s SENSEable City Lab created this cool analysis of address-books in Portugal. The gist of it is that there are more contacts-per-person in large cities, but those networks aren’t more inter-connected (the idea of “urban villages”).   PHD student Jason Cole… Read More »