Dist::Zilla and line numbering

January 14, 2014  🐫 🧑🏽‍💻

brian d foy wrote a few times lately about potential annoyances distributed across various parties through the use of Dist::Zilla. I agree that Dist::Zilla can shuffle around the usual distribution of annoyances, and am happy with the trade offs that I think I’m making, and other people want different trade offs. What I don’t like, though, is adding annoyance for no gain, or when it can be easily eliminated. Most of the time, if I write software that does something annoying and leave it that way for a long time, it’s actually a sign that it doesn’t annoy me. That’s been the case, basically forever, with the fact that my Dist::Zilla configuration builds distributions where the .pm files’ line numbers don’t match the line numbers in my git repo. That means that when someone says “I get a warning from line 10,” I have to compare the released version to the version in git. Sometimes, that someone is me. Either way, it’s a cost I decided was worth the convenience.

making my daemon share more memory

January 11, 2014  🐫 🧑🏽‍💻

Quick refresher: when you’ve got a unix process and it forks, the new fork can share memory with its parent, unless it starts making changes. Lots of stuff is in memory, including your program’s code. This means that if you’re going to require a lot of Perl modules, you should strongly consider loading them early, rather than later. Although a runtime require statement can make program start faster, it’s often a big loss for a forking daemon: the module gets re-compiled for every forked child, multiplying both the time and memory cost.

todo for 2014

January 7, 2014

Huh. It looks like I haven’t written a todo list for the year since 2008. I don’t know whether I wish I had, but I’m a bit surprised. I’m going to list some things from my lists 2005-2008 that I did not accomplish and start there.

I got an Arduino!

December 30, 2013  🧑🏽‍💻

For Christmas, Gloria gave me an Arduino Starter Kit! It’s got an Arduino Uni, a bunch of wires, some resistors and LEDs and stuff, a motor, and I don’t know what else yet. I hadn’t been very intereted in Arduino until Rob Blackwell was giving a pretty neat demo at the “Quack and Hack” at DuckDuckGo last year. Still, I knew it would just be another thing to eat up my time, and I decided to stay away. Finally, though, I started having ideas of things that might be fun, but not too ambitious. I put the starter kit on my Christmas wish list and I got the Arduino Workshop book for cheap from O’Reilly.

Trekpocalypse Now

December 23, 2013  ⚔️

At YAPC::NA in Austin this year, I ran a sorta-D&D game on game night. I have been meaning to write it up nicely, but I think it’s just not going to happen, so I’m going to write it up badly. Here we go…

keeping track of the (dumb) things I do

November 26, 2013  🌀 🧑🏽‍💻

Last week, I was thinking about how sometimes I do something I have to do and then feel great, and sometimes I do something I have to do and then feel lousy. I decided I should keep track of what I do and how it makes me feel. (I have some dark predictions, but am trying to hold off until I have more recorded.) To do this, I needed a way to record the facts, and it needed to be really, really easy to use. I’d never take the time to say “I did something” if it was a hassle.

in search of excellent conference presentations

November 18, 2013

At OSCON this past year, I was a just little surprised by the still-shrinking Perl track. What really surprised me, though, was the entirely absent Ruby track. I tried to figure out what it meant, and whether it meant anything, but I didn’t come to any conclusions. Even if I’d more carefully collected actual data, I’m not sure I could’ve made any really useful conclusions.

moving my homedir into the 21st century

November 15, 2013

Over the last few weeks, I’ve done a bit of pair programming across the Internet, which I haven’t done in years. It was great! Most of this was with Ingy döt Net and Frew Schmidt.

Office Mode DEFCON

November 8, 2013  🎲

I picked up DEFCON a few months ago on Steam. It’s a game inspired by the “big nuclear war boards” we saw in movies like Dr. Strangelove or, closer to the mark, WarGames. Each player controls a section of the world. The game starts with a few very short bits of placing units and quickly turns into a shooting war. Players launch fighters, deploy fleets, and eventually sound out bombers, subs, and ICBMs. The game looks gorgeous.

Mazes & Minotaurs

October 31, 2013  ⚔️

Over a decade ago, Paul Elliott wrote a tiny piece of counterfactual history called The Gygax/Arneson Tapes. It recounts the history of the world’s most famous role-playing game, Mazes & Minotaurs, in which the players take on larger-than-life Greek-style heroes in Sword and Sandal adventures.