astounding optimization! thanks nytprof!

November 12, 2008  🐪 🧑🏽‍💻

We’ve been unhappy with the performance of some code, recently. I was pretty sure I knew where the problem was, but I thought I’d run NYTProf just to see how things looked. I’m running an older NYTprof, so it’s not 100% clear that my SQL-level optimization is what I need to do – but it’s the right thing to do anyway. Anyway, I figured I might see something sort of interesting, but I never expected this:

Read more →

more more cpan metrics

November 4, 2008  🐪

As suggested, I have run the code such that a dist’s mere appearance on the CPAN is not counted. In other words: code exists if it is used. If not, it is ignored entirely. It ends up not having much effect.

Read more →

more cpan metrics

November 4, 2008  🐪 🧑🏽‍💻

For a while, I’ve been keeping track of the total usage of my code on the CPAN. It helps me see what people have found useful, and lets me decide how scared to be of introducing back-incompat changes. Sometimes people talk about the sort of catastrophe that can occur if a highly-required module is broken. For example, over 11,000 dists require the code in Getopt-Long. If it broke badly and people installed the new code, it would be a nightmare.

Read more →

hogar crea flan

November 2, 2008  🥘

There is a fairly well-respected charity that’s fairly active in Bethlehem. It’s called Hogar Crea. I’m sure they do lots of good stuff and help people. That’s the impression I’ve gotten from various people. That’s not what matters to me.

Read more →

what the heck is distzilla?

October 27, 2008  🦖 🐪 🧑🏽‍💻

At the Pittsburgh Perl Workshop this year, I gave a lightning talk about Dist::Zilla, the system I am increasingly using to manage my CPAN distributions. I’m using it instead of writing a Makefile.PL, but it doesn’t do the same thing as Module::Build or ExtUtils::MakeMaker. I’m using it instead of running module-starter, but it doesn’t do the same things as Module::Starter. I’ve had some people say, “So should I stop using X and use Dist::Zilla instead?” The answer is complicated.

Read more →

overheard in #email

October 20, 2008  📧 🧑🏽‍💻

Programming email can leave you a bit … touched. Here are some recent gems from #email on irc.perl.org

Read more →

coping with solaris cron

October 18, 2008  🐪 🧑🏽‍💻

More and more, we’re eliminating Linux boxes in favor of Solaris. This is generally not a huge deal, but one of the niggling details has been Sun’s cron. It sucks. It sucks because it uses a constant as the subject of its alert messages. If you have a lot of servers running a lot of cron jobs, generating a lot of output, you end up with a display that looks like this:

Read more →