Perl Weekly Challenge: Oh, oh, Domino!

Don’t wanna discuss it
Think it’s time for a change
You may get disgusted
Start thinking that I’m strange

I mean, I guess I am strange for always wanting to include music in the weekly challenge, but with a first challenge like this, how could I not link to Van Morrison’s Domino.

There’s no need for argument in Perl Weekly Challenge 293.

Continue reading

Perl Weekly Challenge: One Challenge, Twice Large

You didn’t know what the Weekly Challenge was / Until you met a hacker on a Github bus / I got there in the nick of time / Before he got his code across your git commit line…

Yeah, yeah, it’s a stretch, but it’s an excuse to pull out Ian Hunter’s Once Bitten, Twice Shy (yes, Ian Hunter).

So you got the rhythm, you got the speed, you got Perl Weekly Challenge 292.

(sorry I’m only doing one challenge this week; it’s been a rough week)

Continue reading

Perl Weekly Challenge: Double Your Pleasure, Double Your Luhn

Not every time is the music that the Perl Weekly Challenge inspires going to be a Broadway show tune, a banger from classic rock, or even a baroque fugue. Sometimes, it’s going to be a marketing jingle: 🎶 Double your pleasure, double your fun, with double good, double good, Doublemint Gum! 🎶

See, it’s because “Luhn” rhymes with fun. No? Fine, let’s chew on Perl Weekly Challenge 290 for a little bit.

Continue reading

Perl Weekly Challenge: A Man, A Plan, A Canal… PANAMA!

So, when someone mentions palindromes, my mind immediately jumps to my favorite book on mathematics, algorithms, music, art, and philosophy: Gödel, Escher, Bach by Douglas Hofstadter. This was the book that introduced me to the idea of a musical palindrome, a piece of music that sounds the same played forwards and backwards, and the author cites J.S. Bach’s Crab Canon as an example.

So let’s approach Perl Weekly Challenge 288 from both sides… (no, no, I will not change the theme to Joni’s Clouds).

Continue reading

Perl Weekly Challenge: Exact Change Only!

Nothing jumped out at me for the theme this week, so I started free-associating. The first task, “No Connection”, makes me think of bus routes, and that’s reinforced by the second task, “Making Change”. But I’ve already used The Hollies Bus Stop, so I started thinking about busses, and how they keep getting stuck in traffic, and I landed on Jimi Hendrix’s Crosstown Traffic.

So, with the musical background set, let’s not slow down and get to the other side of Perl Weekly Challenge 285.

Continue reading

Perl Weekly Challenge: Relatively Lucky

This week I’m having trouble locking in on a musical theme. With the tasks being “Lucky Integer” and “Relative Sort”, nothing really jumps out at me. I finally decided that “Lucky” was the key, and that made me think of Emerson, Lake, and Palmer’s Lucky Man.

Now that we have our musical accompaniment, we can work on Perl Weekly Challenge 284!

Continue reading