PIP your first Python package

Python is simple, beautiful, explicit. When you break Python’s heart it doesn’t go sulk in the corner. It tells you exactly what’s wrong.  So you can make it right. You would expect that, with such a beautiful language, its primary package index (pip) would also be the kind of friend who never leaves you out […]

Stop worrying about millennials: generation Z is way scarier

Everywhere you look, you can find signs of how millennials are ruining the world.  The real-estate market is going to crash because they don’t own houses.  The manufacturing industry will collapse because they refuse to buy cars and because they subscribe to something called the sharing economy.  And these trophy kids are impossible to work with because […]

Using JSON dot notation in php

Sometimes it’s hard…to say goodbye…to php. –The Bleatles If you’re making the transition to node.js and schema-less databases, you’re probably blowing a mind-fuse every day as you watch your code just work instead of spending hours constructing mindless php workarounds.  So in the spirit of nostalgia (for those of us who just can’t let go), here’s … another […]

Investment advice from a blowhard

People sometimes make the mistake of asking me for investment advice.  They quickly realize their mistake when they receive a blast from Captain Achilles Von Humboldt Blowhard, but by then it’s too late.  Maybe by putting it on the internet (where the whole world can see it!), I won’t be so tempted to impart my […]

How is a stock like an equity bond?

Warren Buffett described his philosophy of viewing stocks as ‘equity bonds’ in a 1977 Forbes magazine article and subsequently in a speech at Columbia Business School.  In her book, Warren Buffett and the Interpretation of Financial Statements, Mary Buffett attributes the concept to Buffett, which is interesting considering that the title of her book is […]

Turn an old laptop into a web server

You’d be amazed at what a good server an old laptop makes.  Here’s how:

Fiction: Ten Fifty on Rodeo

The boys looked up from behind the bush when the cruiser rounded the corner onto Rodeo Drive. Manuel and Chico froze while Chad lazily turned his shoulder towards the brick wall, grabbing the pipe out of Chico’s hand in a single, steady movement. He held it a moment as the officers, a man and a […]

Fiction: Eppur Si Mouve

In the days before they were a couple, but after they were an item, Thomas and Hannah spent their Saturday evenings on Capitol Hill in the apartments of the same young policy wonks with whom Hannah spent her workdays. The idea that Washington is Hollywood for ugly people isn’t true. Hollywood has been getting uglier […]

Proxy surf on a mac for free

There are many uses for this, but the one I’m most familiar with is the need to watch the BBC and ITV from outside the UK. The BBC derives a significant portion of its operating budget from a tax on all british households with a TV (I think it’s something like 11 pounds per month). […]

Make Fukuwatashi Senbei

This weekend, we decided to replicate Fukuwatashi Senbei cookies, those delightful specialty cookies that you can buy at Minamoto Kitchoan.