Why do we accept car control, but not gun control?

by gabe on Mar 26, 2013

Today I want to talk about two pillars of the American cultural experience, cars and guns. If you think about it, they're really quite similar. Both can be very useful and fun if used properly. Both are very dangerous when used by people who are inexperienced, drunk, or mentally ill. Both are responsible for thousands of deaths in the United States every year. (30,470 firearm related deaths in 2010 source, 32,885 automobile deaths in 2010 source)

Yet, while cars are heavily regulated, any attempt to impose restrictions on who can buy guns, when and where they can ...

more...

Installing matplotlib in a virtrualenv on Ubuntu

by gabe on Sep 22, 2012

Just a short note to document some missing dependencies for anyone else trying to google the same problem I just had.

This first time it failed it couldn't find a file called ft2build.h. This was fixed by installing libfreetype6 and libfreetype6-dev.

After that it failed when it couldn't find png.h. This was fixed by installing libpng-dev

In summary, before running pip install run:

sudo apt-get install libfreetype6 libfreetype6-dev libpng-dev

and it should go off without a hitch. I assume these would be needed installing outside a virtualenv as well.

more...

Please Help: Join The Society for the Prevention of Cruelty to Statistics

by gabe on Jul 02, 2012

Every day, on Twitter and Facebook and comment threads all across the Internet, thousands, if not millions of statistics are being cruelly mistreated. These helpless statistics are ripped away from their proper context and used to support or attack viewpoints they may have nothing to do with. Others are dropped into the middle of a hostile argument and then heartlessly neglected by their caretakers.

"What can I do? I am just an extremely limited sample size of one man or woman." you may be saying. Well, have no fear. By working together we can have a significant (p < 0.01 ...

more...

How to stop SOPA: Don't build it.

by gabe on Dec 16, 2011

I've been following the news about SOPA, the Stop Online Piracy Act, for the past couple of weeks. Yesterday there was an interesting development when 83 of the most prominent engineers responsible for creating the Internet signed an open letter voicing their opposition to SOPA. This in and of itself is hardly surprising. Since the law was introduced anyone with a shred of technical acumen has stated that a.) It will not work. The law will not hinder piracy. b.) It will be hugely detrimental to the normal operation of the Internet.

But, this made me think. If a ...

more...

Google+ First Impressions

by gabe on Jul 01, 2011

By hook and/or crook I managed to wangle an invitation to Google+ yesterday. After messing around with it a little, I really like what they've done and I think it has great potential.

The circles are clearly the defining feature. The ability to compartmentalize friends into different groups and share things with only certain groups (or combinations thereof) is what everyone has been wanting from social networking sites for a while now. I think they might have solved the dilemma everyone has faced when their boss or parents want to friend them. To be fair, I don't ...

more...

Is Music Getting More Self-Centered?

by gabe on Jun 30, 2011

I heard on the radio the other day that Top 40 songs have gotten more self-centered recently. Supposedly, songs in the past used to be about ideas and now they're just all about the person singing the song. The DJ picked a few examples, found that it was the case, and declared this to be true.

Is it though? It seems like it wouldn't be that hard to test. I plan to do just that in the following manner.


  1. Get a list of every Billboard #1 single going back as far as possible
  2. Get lyrics for each song ...

more...

The 5 Kinds of Questions You Answer on AskReddit.

by gabe on May 06, 2011

I never thought this day would come. For years now, I've chuckled at the naysayers who lamented that "Reddit has gone downhill". People have been saying that for about as long as I can remember, and I've been there for over four years. Sooner or later, though, I guess we all become what we hate, because here I am.

Reddit has gone downhill.

Maybe that's not even quite the right way to put it. It's more like Reddit has hit a plateau. From my perspective, it's tough to tell if it's actually changed or ...

more...

Donald Trump's grand plan to pay off the national debt

by gabe on Mar 29, 2011

Crooks and Liars is parading around a twelve year old article wherein Trump proposed a one time 14.25% tax on the top 1% of Americans (then defined as households with a net worth of greater than $10 million) to pay off the national debt then $5.7 trillion.

The rest of Trump's politics aside, this doesn't sound like such a horrible idea, if the math works out. In 1999, if a 14.25% tax on the net worth of the top one percent would have paid off the $5.7 trillion national debt at the time, that ...

more...

The UFO Sightings US Heat Map

by gabe on Jan 24, 2011

For a while now I've been interested in data mining and visualization. When someone posted a link to a dataset of UFO sighting information on Reddit, it seemed as good an opportunity as any to jump in and get my feet wet. There's a lot that could be done with this data, but to start I decided to make a heat map indicating the number of sightings by county, throughout the US.

With the help of this excellent guide over at Flowing Data, this didn't seem too hard at all. The only hiccup was that I needed ...

more...

Facebook is the new Microsoft

by gabe on May 20, 2010

Is it me, or are the similarities between Facebook and Microsoft becoming downright eerie? I know Microsoft is a major investor in Facebook, so it's probably not all coincidental. But sometimes it seems like Facebook is running the MS playbook step by step, including the mistakes.

Origins

Gates and Zuckerberg both dropped out of Harvard to start their companies. Superficial and coincidental, sure, but a little weird in the Kennedy-had-a-secretary-named-Lincoln-and-vice-versa way. Additionally, both founders have been depicted in the press as being cold and calculating, with concern for little else besides the success of their company. Gates' image has ...

more...

A Django Unit Testing Primer

by gabe on Apr 05, 2010

One thing I really slacked on while developing GreaterDebater was testing. Maybe that's not the right way to put it. It's not like I didn't test. In fact, I did a lot of testing. A lot of painstaking manual testing. For every change. So, in a way it was really the opposite of slacking. It was working a whole lot harder than I really needed to. It was also dumb. What I did slack on, was figuring out how Django's unit testing framework worked. Well, no more! In fact, it's really easy to set up ...

more...

How do I like these apples?

by gabe on Mar 23, 2010

I like them quite a lot, thank you. In fact, they're pretty great! Ever since my esteemed colleague over at Killa Blog introduced me to Jazz apples almost a year ago, I've kept a close eye on the produce section at my local grocer. This past weekend a new challenger appeared.

Pink Lady apple

It seems Australia, ever the bitter rival of New Zealand, is not content to let those lousy Kiwis dominate the world of boutique apple varietals. The Pink Lady is a bit more tart than the Jazz apple, but very very tasty. She'll be appearing in my ...

more...

Spam me once, shame on you...

by gabe on Mar 22, 2010

I knew this day would come. GreaterDebater experienced it's first wave of spam this past week. In a way, it's almost flattering that the site is considered worth spamming now. In another much more prevalent way it's incredibly annoying. I know I'm only about the billionth or so person to complain about spam, but I have to wonder if the fact that spam is a worthwhile activity for some people is not an indication that there's something seriously broken about the way the Internet works.

The blessing and the curse of the Internet has been ...

more...

Your most hated code

by gabe on Mar 15, 2010

I think every programmer must have some bit of code they wrote that they absolutely hate. Maybe it's something that's brute force where it doesn't need to be. Maybe it's a block of code that's been copied and pasted a few more times than is advisable. Sure, it works. It's perfectly functional. But you know it's in your codebase, lurking. It's waiting for the perfect time to strike, when it can rear up and bite you in the ass at the worst possible moment. Of course, you didn't want to write ...

more...

Would you live in a Google house?

by gabe on Mar 08, 2010

Google is the undisputed champ when it comes to internet advertising. There's no shortage of companies on the web pursuing the same model. Obviously, not every product can be offered for free and funded with advertising, at some point somebody has to pay for the products being advertised in order for there to be any money to buy advertising with. Google's great insight has been the ability to specifically target advertising towards what people are looking for at the time. This advertising is much more valuable to both consumers and advertisers and it has enabled Google to make ...

more...