Perl Weekly Challenge: How does it feel to decode me like you do?

Perl Weekly Challenge 390‘s tasks are “Decode String” and “Order Characters”.

Remember back in April, when PWC 369 had a task “Group Division”, and that made me think of the group Joy Division? Yeah, well “Order Characters” made me think of New Order, which is the band Joy Division turned into. So while we’re enjoying this coding challenge, enjoy all seven and a half minutes of Blue Monday.

Continue reading

Perl Weekly Challenge: Code of Many Colors

Perl Weekly Challenge 388‘s tasks are “Dyck Words” and “Secret Santa”.

Well, normally my brain would work like this: I think “Dyck” sounds like “Dyke”, which reminds me of Dick Van Dyke, and that makes me think…

Then yesterday we all got the news: Dolly Parton died. So let’s enjoy some Santa-adjacent Dolly Parton music: Hard Candy Christmas.

But as I was finishing up, I heard Dolly’s voice in my head:

🎶 Now I know we had no money, but I was rich as I could be 🎶
🎶 With my code of many colors that my mama taught to me 🎶

Continue reading

Perl Weekly Challenge: The World Turned Upside Down!

Perl Weekly Challenge 382‘s tasks are “Hamiltonian Cycle” and “Replace Question Mark”.

As soon as I saw “Hamiltonian”, I knew I needed to use a song from Hamilton: An American Musical… but I couldn’t decide which song best fit with “Cycle”. So I did what I always do when I’m stumped for a creative choice: I asked my wife.

The Hamilton Polka“, she immediately responded.1 “It’s a five-minute song cycle.”

When she’s right, she’s right.

Continue reading