Articles tagged Puzzles

  1. Stop the clock, squash the bug. Which is better, a clock which loses a minute a day or one which is stopped? An investigation into how we find and fix software defects.
  2. Drawing Chessboards. An article about creating graphics programmatically.
  3. Sugar Pie. Approximating pi by scattering sugar.
  4. Animated pair streams. Another look at the functional programming problem of generating an infinite sequence of pairs. An example of using the Python Imaging Library to generate an animated GIF.
  5. The Maximum Subsequence Problem. A stream-based solution to a classic computer science problem.
  6. Zippy triples served with Python. How do you generate previous, this next, triples from a collection. A stream-based solution in Python.
  7. Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
  8. In, on and out of boxes
  9. Why Python programmers should learn Python
  10. Oberon, Cromarty, Lisa, Waggledance, Ariel
  11. Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
  12. The Lazy Builder’s Complexity Lesson. A discussion of algorithmic complexity, and a demonstration of how the C++ standard library allows programmers to write code which is both concise and efficient.
  13. Look and Say Numbers
  14. Polyominoes
  15. Friday Puzzles
  16. String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
  17. Generating solutions to the 8 Queens Puzzle