YAPC::Asia 2015, day -2

September 1, 2015

YAPC::Asia starts on August 20th with “day zero,” with a talks that didn’t make the main two days. I probably won’t be there for much of that, since it’s mostly Japanese content. Despite two prior YAPCs in Tokyo, I still can’t understand Japanese. Go figure!

Read More

trust no one

August 14, 2015

At work recently moved from our own office space to a coworking space. Bryan said, “remember to lock you laptop screen when you’re not using it.” I said, “I use Mobile Mouse so I can lock it with a hot corner from across the room.”

Read More

no wrong way to play

May 25, 2015

I am always baffled by the neverending stream of remarks of the form, “you people are playing D&D wrong.” Here’s one that particularly bugged me, today:

Read More

perl has built-in temp files

May 22, 2015

I use temporary files pretty often. There are a bunch of ways to do this, and File::Temp is probably the most popular. It’s pretty good, but also pretty complicated. A big part of this complication is that it’s meant to keep your filename around until you’re done with it, and to let you pick its name and location. Often, though, I don’t need these features. I just need a place to stream a whole bunch of data that I’ll seek around in later, or maybe just stream back out. In other words, instead of holding a whole lot of data in memory, put it in a file.

Read More

less worse command line editing in the perl6 repl

May 13, 2015

I’ve been doing more puttering about with perl6 lately. One of my chief complaints has been that the repl is pretty lousy, keyboard-wise. There’s no history, so I do a lot of copy and paste, and there’s no way to move left non-destructively. If you notice a typo at the beginning of your line, you’re stuffed.

Read More

use disposable ramdisks!

May 8, 2015

Recently I wrote about my dumb CPAN metafile analyzer, and how I’d tried to keep it fast. One of the things I tried to speed it up was creating a ramdisk for all of the archive extraction. The speed boost in this case turned out to be low, but it isn’t always. (Also, I inexplicably used a journaling filesystem .) When you’re doing a ton of file operations, the difference between physical storage and in-memory can be huge.

Read More

my stupid CPAN "meta analyzer"

April 30, 2015

Just about exactly five years ago, I wrote a goofy little program that walked through all of the CPAN and produced a CSV file telling me what was used to produce most dists. That is: it looked at the generated_by field in the META files and categorized them. Here’s what the first report, from April 11, 2010, looked like:

Read More

the 2015 Perl QA Hackathon in Berlin

April 23, 2015

I spent last week in Berlin, at the 2015 Perl QA Hackathon. This is an annual event where a group of various programmers involved with the “CPAN toolchain” and closely related projects get together, hash out future plans, write code that is hard to get written in “free time,” and communicate in person the hard that is stuff to communicate over IRC and email.

Read More

notes on drawing programming for children

March 22, 2015

Once in a while, my daughter asks me to teach her programming. We’ve done a number of little things together, including some Python, some Scratch, and other things. When I was trying to think of what I enjoyed doing with computers around that age, one of the things I remembered was drawing. We did turtle graphics with Logo in my school, and it was nice to get instant and visual feedback of what the program did. I thought this seemed like a fun idea.

Read More