rsheaves

 

It’s Thanksgiving weekend in the U.S., and that can only mean one thing: it’s time to start homebrewing again. The temperature’s right for fermenting and there’s no better weather for hanging out in the backyard, drinking a beer, and watching 6 gallons of amber liquid boil for an hour or so. Of course, that leaves plenty of time to whip up some Python scripts for homebrewers (well, homebrewers that dig on Python, anyway). Armed with a netbook and 3 Victory Storm King stouts: ccbrew.py And all good boys write unit tests, right? (OK, OK … this is more like a glorified main() intermingled with some unittest assertions.) test_ccbrew.py TODO Pretty much everything relevant to water chemistry, mash schedules, gravity, color, and much, much more. I only had an [...]

Share
 
Evolution

Some chicken, some beer, 13 years, and some kids who are now clearly smarter than you were at the same age: Don’t ask me why I have a bag of ballpark peanuts in my kitchen …

Share
 

These are taken directly from Major League Baseball’s official 2011 season statistics.  2011 Cleveland Indians   2011 Boston Red Sox   Payroll $48,339,167 $160,257,476  Wins 80 90  Cost per win $604,239.59 $1,780,638.62  Playoff revenue  $0 $0  Likeability 7/10 3/10  FAIL rating 7/10 11/10

Share
 

If I had a Twitter account, I would have fumbled this out with a smartphone after 4 rum and cokes. But I don’t have either, so I’ll fumble it out on an antique comfort-curve keyboard and a PC weighing roughly as much as a tractor engine. After 4 rum and cokes: The crash of an airplane costing 43 people their lives today is an event that transcends affinities to sports or leagues or teams or vocations at all. It was a human event. Tragic and sorrowful. The sort of happening that creates a feeling of anti-gravity in your stomach and a sensation that your heart is trying to make its way to the bottom of your feet. Nobody with more than two brain cells to rub together to [...]

Share
 
HOW-TO: Convert FLAC files to OGG/Vorbis files with a bash script

So you have a bunch of FLAC files for whatever reason, but if you’re like me, it’s because you are an audiophile and prefer a lossless codec for files you play on your high-end stereo equipment. However, FLAC files are huge, which can make them impractical for small personal music players with limited storage. This is especially true if you’re just going to plug the player into a cheap-ass stereo (like the one in my base model Toyota RAV4, for example.) That’s a bit like hunting squirrels with hand-grenades: overkill. Your best bet is to convert your FLAC files to something smaller and more manageable (and sounds better than MP3!): OGG/Vorbis. Let’s get started. We’ll assume your FLAC files are tagged with the artist name, song title, etc. [...]

Share
Your Ad Here