Archives for category: Politics


A simple water bottle, a little bit of bleach, and a little hole in the roof brings sunlight from the rooftops into homes below. Brilliant, simple, cheap and most importantly, effective.
 
Bringing light to the poor, one liter at a time | Video | Reuters.com.

Watch live streaming video from pdf2011 at livestream.com

On April 20th 1979, President Jimmy Carter was attacked by a giant, swimming rabbit. Yes, this actually happened, and we have the pictures to prove it.

How do you programmatically find someone’s name in text if there is no generally agreed upon spelling? Moamer Kaddafi present a unique challenge for those of us who like to parse our news before reading it. Several solutions are presented at StackOverflow

The regex, which basically brute forces several well known spellings:

\b(Kh?|Gh?|Qu?)[aeu](d['dt]?|t|zz|dhd)h?aff?[iy]\b

This solution, though, is my favorite though. It uses Soundex which searches for any set of sounds in a given set of english text that approximate the basic phonetics of Gaddafi’s name:

G310, K310, Q310

NYPD’s Ray Kelly’s statement on the big FBI Mafia bust yesterday. Marlon Brando, longshoreman, and general badassery.

Some rackets die hard. But the law dies hard too..