RogerBW's Blog

Perl Weekly Challenge 123: Ugly Square 28 July 2021 - 2 comments

I’ve been doing the Weekly Challenges. The latest involved regular numbers and geometrical squareness testing. (Note that this is open until 1 August 2021.)

[more]
Perl Weekly Challenge 122: Basketball Stream 22 July 2021 - 1 comment

I’ve been doing the Weekly Challenges. The latest involved a progressive average and additive compositions. (Note that this is open until 25 July 2021.)

[more]
Perl Weekly Challenge 121: Travelling Bit 14 July 2021 - 6 comments

I’ve been doing the Weekly Challenges. The latest involved more binary manipulation and a traditional problem. (Note that this is open until 18 July 2021.)

[more]
Perl Weekly Challenge 120: Swap Clock 07 July 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved more binary manipulation and analogue clocks. (Note that this is open until 11 July 2021.)

[more]
Perl Weekly Challenge 119: Sequence Nibble 02 July 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved fake binary manipulation and an unusual number sequence. (Note that this is open until 4 July 2021.)

[more]
Perl Weekly Challenge 118: Binary Knight 23 June 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved binary palindromes and a restricted Knight's Tour. (Note that this is open until 27 June 2021.)

[more]
Perl Weekly Challenge 117: Missing Possibilities 16 June 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved file analysis and combinatorial explosion. (Note that this is open until 20 June 2021.)

[more]
Perl Weekly Challenge 116: Square Sequence 10 June 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved lots of digit splitting. (Note that this is open until 13 June 2021.)

[more]
Perl Weekly Challenge 115: Largest Chain 05 June 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved chained strings and number construction. (Note that this is open until 6 June 2021.)

[more]
Perl Weekly Challenge 114: Going Higher 27 May 2021 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved unconventional solutions to numerical problems. (Note that this is open until 30 May 2021.)

[more]
Perl Weekly Challenge 113: Represent-Recreate 19 May 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved finding constrained integer decompositions and more binary tree furkling. (Note that this is open until 23 May 2021.)

[more]
Perl Weekly Challenge 112: Canonical Stairs 12 May 2021 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved path canonicalisation and numerical compositions. (Note that this is open until 16 May 2021.)

[more]
Perl Weekly Challenge 111: Search Letters 05 May 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved search optimisations and word sorting. (Note that this is open until 9 May 2021.)

[more]
Perl Weekly Challenge 110: Transpose Numbers 28 April 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved transpositions. (Note that this is open until 2 May 2021.)

[more]
Perl Weekly Challenge 109: Chowla Squares 20 April 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved another numerical sequence and permutations. (Note that this is open until 25 April 2021.)

[more]
Perl Weekly Challenge 108: Memory Bell 13 April 2021 - 3 comments

I’ve been doing the Perl Weekly Challenges. The latest involved bad things and triangular numbers. (Note that this is open until 18 April 2021.)

[more]
Perl Weekly Challenge 107: Self-Descriptive Methods 07 April 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved several sorts of introspection. (Note that this is open until 11 April 2021.)

[more]
Perl Weekly Challenge 106: Maximum Decimal 31 March 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved integer differences and decimal expansion. (Note that this is open until 4 April 2021.)

[more]
Perl Weekly Challenge 105: Name Root 23 March 2021 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved fractional exponentiation and sweating with the oldies. (Note that this is open until 28 March 2021.)

[more]
Perl Weekly Challenge 104: FUSC NIM 16 March 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved the Stern-Brocot sequence (which Dijkstra named "fusc") and a variant of Nim. (Note that this is open until 21 March 2021.)

[more]
Perl Weekly Challenge 103: Playing Zodiac 10 March 2021

I’ve been doing the Perl Weekly Challenges. The latest involved lots of modulus arithmetic. (Note that this is open until 14 March 2021.)

[more]
Perl Weekly Challenge 102: Rare Hash 03 March 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved an obscure class of number and a self-consistent string format. (Note that this is open until 7 March 2021.)

[more]
Perl Weekly Challenge 101: Spiral Origin 24 February 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved packing an array and a standard geometry problem. (Note that this is open until 28 February 2021.)

[more]
Flamme Rouge by Forum 21 February 2021 - 2 comments

I have written and released software for running games of Flamme Rouge by forum.

[more]
Perl Weekly Challenge 100: Time Triangle 18 February 2021

I’ve been doing the Perl Weekly Challenges. The latest involved converting time formats and more tree traversal. (Note that this is open until 21 February 2021.)

[more]
Perl Weekly Challenge 99: Unique Match 10 February 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved globbing and building sub-sequences. (Note that this is open until 14 February 2021.)

[more]
Perl Weekly Challenge 98: Insert N 05 February 2021

I’ve been doing the Perl Weekly Challenges. The latest involved reading tiny chunks from a file and searching a list. (Note that this is open until 7 February 2021.)

[more]
Perl Weekly Challenge 97: Caesar Substrings 27 January 2021

I’ve been doing the Perl Weekly Challenges. The latest involved implementing the Caesar cipher and breaking up binary strings. (Note that this is open until 31 January 2021.)

[more]
Perl Weekly Challenge 96: Reverse Distance 22 January 2021

I’ve been doing the Perl Weekly Challenges. The latest involved reversing words in a string and calculating Levenshtein distance. (Note that this is open until 24 January 2021.)

[more]
Running a Vote 16 January 2021

I recently ran the vote for the Pearple's Choice Awards, which used to happen on the old Shut Up & Sit Down forum and now happen on discussion.tekeli.li.

[more]
Perl Weekly Challenge 95: Palindrome Stack 14 January 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved testing for palindromic numbers and building a stack class. (Note that this is open until 17 January 2021.)

[more]
Advent of Code 2020 07 January 2021

I did Advent of Code again, and had a good time. Spoilers.

[more]
Perl Weekly Challenge 94: Binary Anagrams 05 January 2021 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved grouping anagrams and more furkling with binary trees. (Note that this is open until 10 January 2021.)

[more]
Perl Weekly Challenge 93: Max Path 30 December 2020

I’ve been doing the Perl Weekly Challenges. The latest involved colinear points and binary tree sums. (Note that this is open until 3 January 2021.)

[more]
Perl Weekly Challenge 92: Isomorphic Interval 25 December 2020

I’ve been doing the Perl Weekly Challenges. The latest involved string isomorphism and interval merging. (Note that this is open until 27 December 2020.)

[more]
Perl Weekly Challenge 91: Number Jump 18 December 2020

I’ve been doing the Perl Weekly Challenges. The latest involved breaking down numbers and following sequences. (Note that this is open until 20 December 2020.)

[more]
Perl Weekly Challenge 90: Ethiopian DNA 10 December 2020 - 3 comments

I’ve been doing the Perl Weekly Challenges. The latest involved base sequences and a binary multiplication system. (Note that this is open until 13 December 2020.)

[more]
Perl Weekly Challenge 89: magic sum 05 December 2020

I’ve been doing the Perl Weekly Challenges. The latest involved GCDs and magic squares. (Note that this is open until 6 December 2020.)

[more]
Perl Weekly Challenge 88: Spiral Product 28 November 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved multiplications and spirals. (Note that this is open until 29 November 2020.)

[more]
Perl Weekly Challenge 87: Consecutive Rectangles 19 November 2020

I’ve been doing the Perl Weekly Challenges. The latest involved list searches and matrices. (Note that this is open until 22 November 2020.)

[more]
Perl Weekly Challenge 86: Sudoku Difference 12 November 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved list searches and combinatorial explosions. (Note that this is open until 15 November 2020.)

[more]
Perl Weekly Challenge 85: Triplet Power 05 November 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved searching combinations and integer powers. (Note that this is open until 8 November 2020.)

[more]
Perl Weekly Challenge 84: Reverse squares 28 October 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved reversing integers and a two-dimensional search. (Note that this is open until 1 November 2020.)

[more]
Perl Weekly Challenge 83: Length and Inversion 23 October 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved string manipulation and a numerical search. (Note that this is open until 25 October 2020.)

[more]
Perl Weekly Challenge 82: Interleave Factors 14 October 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved common factors and string searches. (Note that this is open until 12 October 2020.)

[more]
Perl Weekly Challenge 81: Base Frequency 07 October 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved substrings and word frequencies. (Note that this is open until 11 October 2020.)

[more]
Perl Weekly Challenge 80: missing numbers and jealous neighbours 29 September 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved missing numbers and more ranking of neighbours. (Note that this is open until 4 October 2020.)

[more]
Perl Weekly Challenge 79: cumulative bit count and water capacity 23 September 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved more bit counts and an innovative use of histograms.

[more]
Perl Weekly Challenge 78: Leaders and Rotation 16 September 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved searching array values and rotating lists.

[more]
Perl Weekly Challenge 77: Fibonacci Sum and Lonely X 09 September 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved summing Fibonacci numbers and looking through a grid for neighbours.

[more]
Perl Weekly Challenge 76: prime sum and word search 03 September 2020 - 5 comments

I’ve been doing the Perl Weekly Challenges. The latest involved summing primes and performing a word search.

[more]
Perl Weekly Challenge 75: coins and rectangles 27 August 2020 - 1 comment

I’ve been doing the Perl Weekly Challenges. The latest involved building set values of coins and finding rectangles in histograms.

[more]
Perl Weekly Challenge 74: more songs about lists 23 August 2020

I’ve been doing the Perl Weekly Challenges. The latest involved finding minima in subsets of lists.

[more]
Perl Weekly Challenge 73: fun with minima 15 August 2020 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved finding minima in subsets of lists.

[more]
Perl Weekly Challenge 72: factorial zeroes and line ranges 05 August 2020

I’ve been doing the Perl Weekly Challenges. The latest involved finding the trailing zeroes of a factorial and printing a range of lines from a file.

[more]
Perl Weekly Challenge 71: peak elements (and Rallyman tracks) 28 July 2020

I’ve been doing the Perl Weekly Challenges. The latest involved finding peak elements and more mucking about with linked lists.

[more]
Perl Weekly Challenge 70: character swaps and Gray code 22 July 2020

I’ve been doing the Perl Weekly Challenges. The latest involved swapping characters, and generating Gray code.

[more]
Perl Weekly Challenge 69: invertible numbers and very long strings 18 July 2020

I’ve been doing the Perl Weekly Challenges. The latest involved finding numbers that looked the same inverted, and generating a very long string.

[more]
Perl Weekly Challenge 68: zero matrix and list reordering 10 July 2020

I’ve been doing the Perl Weekly Challenges. The latest involved zeroing parts of a matrix and reordering a list.

[more]
Perl Weekly Challenge 67: combining numbers and phone keypad 03 July 2020

I’ve been doing the Perl Weekly Challenges. The latest involved generating combinations of numbers and expanding telephone keypad letters.

[more]
Perl Weekly Challenge 66: dividing and factorising 29 June 2020 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved dividing without dividing, and making a test of factors.

[more]
Perl Weekly Challenge 65: summing digits and finding palindromes 23 June 2020

I’ve been doing the Perl Weekly Challenges. The latest involved generating large numbers and splitting strings into palindromes.

[more]
Perl Weekly Challenge 64: summing paths and breaking words 10 June 2020

I’ve been doing the Perl Weekly Challenges. The latest involved searching for paths through a grid and breaking a word into tokens.

[more]
Perl Weekly Challenge 63: last words and string rotation 06 June 2020

I’ve been doing the Perl Weekly Challenges. The latest involved finding the last matching word in a string and permuting a string.

[more]
Perl Weekly Challenge 62: email sorting and 3d queens 27 May 2020

I’ve been doing the Perl Weekly Challenges. The latest involved sorting email addresses and solving a variant N-queens problem.

[more]
Perl Weekly Challenge 61: maximum products and IPv4 20 May 2020

I’ve been doing the Perl Weekly Challenges. The latest involved searching for the maximum product in a sequence, and un-munging IPv4 addresses.

[more]
Perl Weekly Challenge 60: Excel columns and number generation 14 May 2020 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved working with a form of numeric encoding, and a very arbitrary numerical problem.

[more]
Perl Weekly Challenge 59: linked list and bit sum 12 May 2020 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest involved working with a linked list and determining binary differences.

[more]
Perl Weekly Challenge 58: version comparison and ordered line 08 May 2020

I’ve been doing the Perl Weekly Challenges. The latest involved comparing version numbers and generating an arbitrary order.

[more]
Perl Weekly Challenge 57: tree inversion and unique prefixes 05 May 2020

I’ve been doing the Perl Weekly Challenges. The latest involved inverting a binary tree and finding unique prefixes.

[more]
Perl Weekly Challenge 56: Diff-K and path sum 29 April 2020

I’ve been doing the Perl Weekly Challenges. The latest involved searching arrays and summing tree paths.

[more]
Perl Weekly Challenge 55: binary flips and alternating permutation 25 April 2020

I’ve been doing the Perl Weekly Challenges. The latest involved flipping bits and generating zigzag permutations.

[more]
Perl Weekly Challenge 54: permutations and Collatz 21 April 2020

I’ve been doing the Perl Weekly Challenges. The latest involved generating permutations and checking the Collatz Conjecture.

[more]
Perl Weekly Challenge 53: matrix rotation and string expansion 17 April 2020

I’ve been doing the Perl Weekly Challenges. The latest involved a basic Markov chain.

[more]
Perl Weekly Challenge 52: stepping numbers and game theory 13 April 2020

I’ve been doing the Perl Weekly Challenges. The latest involved some game theory.

[more]
Perl Weekly Challenge 51: triplet sums and colourful numbers 07 April 2020

I’ve been doing the Perl Weekly Challenges. The latest involved a lot of nested loops.

[more]
Perl Weekly Challenge 50: merged intervals and noble integers 30 March 2020

I’ve been doing the Perl Weekly Challenges. The latest was about merging intervals and determining noble numbers.

[more]
Perl Weekly Challenge 49: multiples and LRU cache 22 March 2020

I’ve been doing the Perl Weekly Challenges. The latest was about searching for particular multiples of a number, and implementing a fixed-size cache.

[more]
Perl Weekly Challenge 48: survivor and palindromic dates 16 March 2020

I’ve been doing the Perl Weekly Challenges. The latest was about calculating the survivor of a stabbing game, and determining palindromic dates.

[more]
Perl Weekly Challenge 47: roman calculator and gapful numbers 09 March 2020

I’ve been doing the Perl Weekly Challenges. The latest was about doing Roman arithmetic and generating gapful numbers.

[more]
Perl Weekly Challenge 46: corrupt messages and hotel rooms 28 February 2020

I’ve been doing the Perl Weekly Challenges. The latest was about recovering a corrupted message and solving an iterative problem.

[more]
Perl Weekly Challenge 45: bad codes and quines 21 February 2020

I’ve been doing the Perl Weekly Challenges. The latest was about a bad encoding scheme and producing the source of a program.

[more]
Perl Weekly Challenge 44: goal-seeking 13 February 2020

I’ve been doing the Perl Weekly Challenges. The latest was about arranging numbers and arithmetical operations.

[more]
Perl Weekly Challenge 43: rings and self-descriptive numbers 09 February 2020

I’ve been doing the Perl Weekly Challenges. The latest was about allocating numbers to rings and generating self-descriptive numbers.

[more]
Perl Weekly Challenge 42: octal and balancing brackets 03 February 2020

I’ve been doing the Perl Weekly Challenges. The latest was about printing in octal and detecting balanced brackets.

[more]
Perl Weekly Challenge 41: obscure number sequences 23 January 2020

I’ve been doing the Perl Weekly Challenges. The latest was about generating number sequences.

[more]
Advent of Code 2019 09 January 2020

I did last year's Advent of Code, and had a lot of fun working on it. Spoilers.

[more]
Perl Weekly Challenge 40: mucking about with lists 29 December 2019 - 2 comments

I’ve been doing the Perl Weekly Challenges. The latest was about list manipulation.

[more]
Perl Weekly Challenge 39: text parsing 25 December 2019

I’ve been doing the Perl Weekly Challenges. Last week's was about parsing a specific file format.

[more]
Perl Weekly Challenge 38: date parsing and word games 18 December 2019

I’ve been doing the Perl Weekly Challenges. Last week's was about parsing an odd date format and generating words in a Scrabble-ish manner.

[more]
Perl Weekly Challenge 37: weekdays and day lengths 11 December 2019

I’ve been doing the Perl Weekly Challenges. Last week's was about counting weekdays and working out total daylight.

[more]
Perl Weekly Challenge 36: VINs and Knapsacks 05 December 2019

I’ve been doing the Perl Weekly Challenges. Last week's was about validating VINs and solving the knapsack problem.

[more]
Perl Weekly Challenge 35: Binary Morse Code 28 November 2019

I’ve been doing the Perl Weekly Challenges. Last week's was about encoding and decoding to a binary representation of Morse code.

[more]
Perl Weekly Challenge 34 18 November 2019

I’ve been doing the Perl Weekly Challenges Last week’s was about demonstrating specific coding techniques.

[more]
Perl Weekly Challenge 33 08 November 2019

I’ve been doing the Perl Weekly Challenges This week’s was about counting letters and generating a multiplication table.

[more]
Perl Weekly Challenge 32 04 November 2019

I’ve been doing the Perl Weekly Challenges (I missed 31 because of getting ready for Essen, and didn’t have time to do this one in Perl6). This week’s was about counting entities and generating ASCII bar charts.

[more]
Perl Weekly Challenge 30 15 October 2019

I've been doing the Perl Weekly Challenges. This one dealt with date calculations and exhaustive number searches.

[more]
Perl Weekly Challenge 29 11 October 2019

I've been doing the Perl Weekly Challenges. This one dealt with expanding braces and calling C functions.

[more]
Perl Weekly Challenge 28 04 October 2019

I've been doing the Perl Weekly Challenges. This one dealt with testing file contents and producing the current time.

[more]
Perl Weekly Challenge 27 26 September 2019

I've been doing the Perl Weekly Challenges. This one dealt with finding the intersection of two lines and doing worrying things to innocent variables.

[more]
Perl Weekly Challenge 26 20 September 2019

I've been doing the Perl Weekly Challenges. This one dealt with finding letters in words and the mean of circular quantities.

[more]
Perl Weekly Challenge 25 11 September 2019

I've been doing the Perl Weekly Challenges. This one dealt with building long strings and the Chaocypher.

[more]
Perl Weekly Challenge 24 03 September 2019

I've been doing the Perl Weekly Challenges. This one dealt with minimal programs and inverted-index text search.

[more]
Perl Weekly Challenge 23 28 August 2019

I've been doing the Perl Weekly Challenges. This one dealt with difference series and prime factorisation.

[more]
Perl Weekly Challenge 22 24 August 2019

I've been doing the Perl Weekly Challenges. This one dealt with sexy primes and LZW encoding.

[more]
Perl Weekly Challenge 21 15 August 2019

I've been doing the Perl Weekly Challenges. This one dealt with e, and URLs again.

[more]
Perl Weekly Challenge 20 08 August 2019

I've been doing the Perl Weekly Challenges. This one dealt with string splitting and amicable numbers.

[more]
Perl Weekly Challenge 19 05 August 2019 - 2 comments

I've been doing the Perl Weekly Challenges. This one dealt with months and word-wrapping.

[more]
Perl Weekly Challenge 18 27 July 2019

I've been doing the Perl Weekly Challenges. This one was a couple of standard computer-science problems.

[more]
Perl Weekly Challenge 17 24 July 2019

I've been doing the Perl Weekly Challenges. This one was to implement the Ackermann function and parse URLs.

[more]
Perl Weekly Challenge 16 18 July 2019

I've been doing the Perl Weekly Challenges. This one was to do a fiddly numerical calculation, and to check Bitcoin addresses.

[more]
Perl Weekly Challenge 15 11 July 2019

I've recently started doing the Perl Weekly Challenges. This one was to hunt primes and do "Vigenère" enciphering.

[more]
Finding Supermarket Fuel 28 April 2018

A reader (hi Dave!) suggested extending the supermarket-finder to locate supermarket fuel near motorway junctions.

[more]
Finding Tesco 18 April 2018 - 8 comments

Well, my wife wanted a sandwich while we were on the road. And unlike me she is particular about what she likes to eat, so she wanted to find branches of Tesco. This is a job for: COMPUTERS!

[more]
Building My Second First CPAN Module 13 August 2017 - 4 comments

I wrote a CPAN module back in the day. Let's not talk about it; it wasn't very good. Recently the local Perlmongers group (ThamesValley.pm) encouraged me to modularise and release some newer code.

[more]
Search
Archive
Tags 1920s 1930s 1940s 1950s 1960s 1970s 1980s 1990s 2000s 2010s 3d printing action aeronautics aikakirja anecdote animation anime army astronomy audio audio tech aviation base commerce battletech beer boardgaming book of the week bookmonth chain of command children chris chronicle church of no redeeming virtues cold war comedy computing contemporary cornish smuggler cosmic encounter coup covid-19 cycling dead of winter doctor who documentary drama driving drone ecchi economics espionage essen 2015 essen 2016 essen 2017 essen 2018 essen 2019 existential risk falklands war fandom fanfic fantasy feminism film firefly first world war flash point flight simulation food garmin drive gazebo genesys geodata gin gkp gurps gurps 101 gus harpoon historical history horror hugo 2014 hugo 2015 hugo 2016 hugo 2017 hugo 2018 hugo 2019 hugo 2020 hugo-nebula reread in brief avoid instrumented life julie enfield kickstarter learn to play leaving earth linux liquor lovecraftiana mecha men with beards museum music mystery naval non-fiction one for the brow opera parody perl perl weekly challenge photography podcast politics postscript powers prediction privacy project woolsack pyracantha python quantum rail raku ranting raspberry pi reading reading boardgames social real life restaurant reviews romance rpg a day rpgs ruby rust science fiction scythe second world war security shipwreck simutrans smartphone south atlantic war squaddies stationery steampunk stuarts suburbia superheroes suspense television the resistance thirsty meeples thriller tin soldier torg toys trailers travel type 26 type 31 type 45 vietnam war war wargaming weather wives and sweethearts writing about writing x-wing young adult
Special All book reviews, All film reviews
Produced by aikakirja v0.1