All articles, newest first

  1. Agile at a distance 👍
  2. From bytes to strings in Python and back again
  3. 24 Puzzles
  4. Unit Tests Questioned: Reading List
  5. Unit Tests Questioned
  6. A language people use and bitch about
  7. Negative Sequence Indices in Python
  8. Python Streams vs Unix Pipes
  9. Productivity++ != Better
  10. Go! Steady. Ready?
  11. 8 Queens Puzzle++
  12. 8 Queens Puzzle
  13. Easy as Py
  14. Sausages, sausages, sausages - slice, slice, slice
  15. Gofmt knows best
  16. Sledgehammers vs Nut Crackers
  17. Advent of Code
  18. Code Reviews - the rules
  19. Programming Paired and Shared
  20. Jokey Code?
  21. Election Manifesto - a timely activity for agile retrospectives
  22. Speaking at the ACCU Conference 2015
  23. 2147483647
  24. Lessons from the OuLiPo. All about a talk I'll be giving at ACCU 2015
  25. Why zip when you can map?
  26. Find the average of a collection of tuples or dicts using Python
  27. Group When
  28. Word Aligned, hosted by Github
  29. Go for short variable names
  30. You wait all day for a bus…
  31. Reverse, Esrever
  32. Clown, Flee, Jump
  33. Angle brackets hurt my eyes
  34. “Solutions”
  35. ACCU 2013
  36. An Exploration of the Phenomenology of Software Development
  37. Patience Sorted
  38. Hosting for Life? TextDrive revived!
  39. More adventures in C++
  40. Singly Linked Lists in C++
  41. Folded files and rainbow code
  42. C++ Concurrency in Action. A glowing review of Anthony Williams' book on C++11's support for concurrency
  43. Python’s lesser known loop control
  44. Two star programming
  45. ACCU Bristol and Bath
  46. Life goes on
  47. Life on Canvas
  48. Desktop preferences
  49. Knuth visited, Brains Limited
  50. Set.insert or set.add?
  51. Define pedantic
  52. Hiding iterator boilerplate behind a Boost facade
  53. Equality and Equivalence
  54. Binary search revisited
  55. Man or man(1)?
  56. Binary search returns … ?
  57. Think, quote, escape
  58. Beware the March of IDEs!
  59. Pi seconds is a nanocentury
  60. Bike charts by Google. Using the google chart API for something ... different
  61. When you comment on a comment
  62. Power programming. What makes a language powerful? The programmer!
  63. Python, Surprise me!
  64. Next permutation: When C++ gets it right. An investigation into a classic algorithm for generating the distinct permutations of a sequence in lexicographical order.
  65. Python on Ice. A review of the Python 2, Python 3 language fork. Python 3 has met with some resistance. A moratorium on further changes to the language is being imposed, to smooth the transition.
  66. Steady on Subversion. Despite the increasing popularity of distributed version control systems, I'm sticking with Subversion. Here's why.
  67. Favicon. Why my favicon is a jigsaw piece.
  68. Code Rot. What happens when we stop tending to our code? It decays. This article investigates why.
  69. A useful octal escape sequence
  70. Converting integer literals in C++ and Python
  71. Inner, Outer, Shake it all abouter. Encapsulation is about allocating responsibility and easing utility rather than protecting data.
  72. Blackmail made easy using Python counters. A programming puzzle and a discussion of Python's evolution.
  73. Could OCR conquer the calligraphylion? A note on the challenge which Arabic script sets for optical character recognition engines.
  74. Undogfooding
  75. Tony Hoare’s vision, car crashes, and Alan Turing. The highs and lows of Europython 2009. A personal review.
  76. Partitioning with Python
  77. Oulipo and the Eodermdrome challenge. The word EODERMDROME is itself an eodermdrome. Can you find any others?
  78. Run-length encoding in Python
  79. DEFLATE: run-length encoding, but better. An investigation into the extended run-length encoder at the heart of the Zlib compression library.
  80. Copy, load, redirect and tee using C++ streambufs. The C++ iostream library separates formatting from lower level read/write operations. This article shows how to use C++ stream buffers to copy, load, redirect and tee streams.
  81. Generic documentation
  82. The Rings of Saturn
  83. Software development checklist += 3
  84. Review: Expert Python Programming
  85. Patience sort and the Longest increasing subsequence. How a simple card game provides an efficient algorithm for finding the longest increasing subsequence of a given sequence.
  86. OCR. Wrong characters, right meaning! (chuckles). When OCR gets the characters wrong but the meaning right.
  87. Good maths, bad computers
  88. Longest common subsequence. An investigation into the classic computer science problem of calculating the longest common subsequence of two sequences, and its relationship to the edit distance and longest increasing subsequence problems.
  89. Ordered sublists. A brute force approach. A brute force solution to the longest increasing subsequence problem.
  90. A race within a race
  91. Maximum of an empty sequence?
  92. Emoticrab invasion, CSS breakdown. CSS positioning doesn't always work in a Feed reader.
  93. Spolsky podcast causes exercise bike incident
  94. Python was named after a comedy troupe. This note discusses what makes a good name for a computer language.
  95. Could a Python eat an elephant?
  96. Seamless sequence output in Python 3.0
  97. Tell me about … Virtualization. An attempt to describe virtualization, why it's useful, and when to consider using it.
  98. Perl 6, Python 3
  99. Steganography made simple
  100. What’s in the box?
  101. A Little Teaser. Keen Eyes? You’ll See! Follow the clues to reveal the hidden message.
  102. Books, blogs, comments and code samples
  103. Your computer might be at risk. A hard drive failed this weekend. Guess what, it hadn't been backed up. Here's how I went about recovering the data, and some thoughts on the future of computing in general and operating systems in particular.
  104. Negative, Captain
  105. Driving down the road of innovation
  106. Sums and sums of squares in C++. Reduce is a higher order function which applies a another function repeatedly to a collection of values, accumulating the result. Well known to functional programmers, reduce is also a standard C++ algorithm.
  107. BIG G little g - What begins with G? Capitalisation: Google or google?
  108. Removing duplicates using itertools.groupby. An interpreted Python session showing itertools in action.
  109. Merging sorted streams in Python. Did you know that Python's for loops can have an else clause? Here's how it can be used in a stream-merging function.
  110. Launching missiles and other unhappy accidents. Launching a missile is an example of a dangerous programming side-effect. Bus accidents are used to motivate team-work.
  111. Life, user manuals, recursive pictures
  112. Looping forever and ever
  113. Syntactic Sugar
  114. Macros with halos
  115. Entertaining Documentation
  116. iBlame Exchange
  117. Distorted Software. What does software look like? This article suggests that architecture diagrams get the emphasis wrong.
  119. Rewriting String.Left()
  120. Me, Myself and OpenID. Setting up a personal OpenID server using phpMyID
  121. Nonce Sense. Cryptography
  122. Fixing header file dependencies. A simple script to check header files are self contained
  123. Running Sums in Python. A Python program to generate the running sum of a series.
  124. Eurovision 2008 charts
  125. Curling for web sites. A script using curl and bash to detect when a website status changes.
  126. Fixing Compiler Warnings the Hard Way. Listen when your compiler grumbles, but sometimes you should ignore its suggestions.
  127. Accidental Emacs. A list of Emacs modes and tricks I use all the time but discovered by accident.
  128. Scatter pictures with Google Charts
  129. Takewhile drops one
  130. 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.
  131. Hunting down globals with nm
  132. Programming Nirvana, Plan B. Simon Peyton Jones discusses functional programming, Haskell, and promotes a radical route to programming Nirvana at ACCU 2008.
  133. Fun with Erlang, ACCU 2008
  134. White black knight then black white knight. Yet more on drawing chessboards
  135. Drawing Chess Positions. A follow-up article on scripting graphics.
  136. Ima Lumberjack, (s)he’s OK. Gender-neutral technical writing using fictional names.
  137. Drawing Chessboards. An article about creating graphics programmatically.
  138. Tracing function calls using Python decorators. Developing code to trace function calls using Python decorators.
  139. Sugar Pie. Approximating pi by scattering sugar.
  140. The Price of Coffee. Offering something for nothing and getting paid nothing for it. Leap day ramblings.
  141. Top Ten Percent. The most efficient way to sort the top 10% of a collection.
  142. Top Ten Tags. Choosing the right algorithm to select the N largest items from a collection.
  143. No www, yes comments, no categories
  144. Lexical Dispatch in Python. Dispatching to functions based on their names
  145. Essential Python Reading List. An essential Python reading list. I've ordered the items so you can pause or stop reading at any point: at every stage you'll have learned about as much possible about Python for the effort you've put in.
  146. Attack of the Alien Asterisks. Unusual font rendering on Windows
  147. From Hash Key to Haskell. A note on keys, characters, smileys, digraphs and Haskell.
  148. Erlang Erlang. A parallel processing problem.
  149. 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.
  150. ACCU Conference 2008. A preview of ACCU 2008.
  151. File shifting using lftp and rsync. Sometimes it's easier to shift files using the command line, rather than a GUI.
  152. Too big or too clever? Steve Yegge says that, for large applications, size is an enemy best controlled by dynamic languages. Alex Martelli says a language can be too dynamic for a large application. Who's right?
  153. Maybe we live in a scripting universe. Comments on Larry Wall's 11th State of the Onion address.
  154. The Maximum Sum contiguous subsequence problem. A stream-based solution to a classic computer science problem.
  155. So many feeds, so little news. So many feeds, so little news. A reflection on internet consumption.
  156. Elegance and Efficiency. Must elegant code be efficient? This article investigates.
  157. Not my links
  158. Ever wish you’d branched first? A short article describing how to branch a Subversion working copy based on the development trunk.
  159. Zippy triples served with Python. How do you generate previous, this, next, triples from a collection. A stream-based solution in Python.
  160. Paging through the Manual using Access Keys
  161. Anti-Social Build Orders. An article advocating zero-tolerance for anti-social build offences.
  162. Metablog. Reflections on 14 months of blogging, and why I'm no longer using Typo.
  163. RTM vs STW
  164. Seeing with a fresh pair of ears
  165. Reversing Hofstadter’s Law
  166. Lock but don’t but
  167. Mistargeted ads
  168. svn help patch
  169. Big City Skyline Puzzle. Comments on a novel computer science puzzle. When machine resources are scarce, a compiled language offers precise control.
  170. Ongoing Peer Review
  171. Paralipsis
  172. Fixed Wheels and Simple Designs
  173. A yen for more symbols
  174. PyCon UK: statistics, pictures and perennial problems
  175. Pitching Python in three syllables
  176. What apple gets right
  177. The Granny—Stroustrup Scale
  178. Koenig’s first rule of debugging. The problems caused by the C++ compilation model, dependencies and cryptic compile diagnostics. If an expert like Andrew Koenig can’t get it right, what hope for the rest of us?
  179. Shameful Names
  180. He Sells Shell Scripts to Intersect Sets. The Unix command shell contains a lot of what I like in a programming environment: it’s dynamic, high-level, interpreted, flexible, succinct. This article shows the Unix tools in action.
  181. Collaborative documentation tools
  182. Space sensitive programming
  183. How green you are
  184. When web search results get read out of context
  185. A world without version control
  186. In, on and out of boxes
  187. Pragmatic fashion
  188. Robot wars
  189. The Third Rule of Program Optimisation
  190. Why Python programmers should learn Python
  191. Source open, problem closed. An example of the open source advantage.
  192. How many restarts?
  193. Evolving Python in and for the real world
  194. Turing Tests and Train Trackers
  195. Feeding an internet addiction
  196. Oberon, Cromarty, Lisa, Waggledance, Ariel
  197. Introducing Java
  198. Perlish Wisdom
  199. Awesome presentations
  200. Google Reader
  201. PyCon UK
  202. The Heroic Programmer
  203. An ideal working environment
  204. The Trouble with Version Numbers
  205. High altitude programming
  206. Python keyword workaround
  207. Charming Python
  208. Why Software Development isn’t Like Construction. What’s the best metaphor for software development? Steve McConnell prefers “construction”. I disagree.
  209. Shells, Logs and Pipes
  210. Drawing Software Designs
  211. Test driven development in Python
  212. Mixing Python and C++
  213. Release then Test
  215. Code completion for dynamic languages
  216. Casualties in the great computer shootout. An investigation into various dimensions of some speed benchmark programs.
  217. A tale of two upgrades
  218. One svnserve, multiple repositories
  219. Happy Mac
  220. Retro-fitting coding standards
  221. fold left, right
  222. Code Craft
  223. Narrow Python
  224. Trac — not just a pretty interface
  225. 1, 6, 21, 107, … ?
  226. Martin Fowler on Soft Documentation
  227. Printed C++ Journals
  228. Review of Pete Becker’s TR1 Book
  229. Synchronising Workspaces
  230. Hong Kong Supplementary Character Set
  231. Permission and Forgiveness
  232. Different Angles on Legacy Code
  233. Wiki Markup. Wikis often invent their own markup syntax. A note on why I favour Markdown.
  234. Functional Programming “Aha!” Moments
  235. Spam, Typo, Subversion Logs
  236. Internal Subversion Externals
  237. Lenient Browsers and Wobbly Tables
  238. My First Typo Sidebar
  239. Smart Pointers, Dumb Programmers. A note describing how a smart pointer tripped me up.
  240. The Etch-A-Sketch User Interface
  241. Joined Output and the Fencepost Problem. Items and the spaces between them: some notes on the fencepost problem and joining up strings.
  242. When computer applications reside on the web
  243. Computer Language Complexity
  244. Complacency in the computer industry
  245. 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.
  246. Soft Documentation. A software developer's investigation into documentation tools.
  247. Personal overnight builds
  248. From CVS to Subversion
  249. Pcl-cvs and Psvn Incompatibilities
  250. Sounds of the Tokyo Metro
  251. Subversion 1.4
  252. Look and Say Numbers
  253. Polyominoes
  254. Browsing Python Documentation using the Python Sidebar
  255. From __future__ import braces
  256. Python 2.5
  257. Friday Puzzles
  258. Version Control for Third Party Software
  259. Overload Online
  260. Personal version control
  261. String literals and regular expressions. An article about string literals, escape sequences, regular expressions, and the problems encountered when mixing these together.
  262. There’s no escape??!
  263. Parsing C++
  264. Py2exe
  265. Ignoring .svn directories
  266. Are List Comprehensions the Wrong Way Round?
  267. How to Mirror a Subversion Repository
  268. Message to Self. What’s this?
  269. Octal Literals
  270. A Subversion Pre-Commit Hook. How to install and test a simple Subversion pre-commit hook script.
  271. Creating a Temporary Subversion Repository
  272. Binary Literals
  273. Readable Code
  274. Keyword Substitution - Just say No!
  275. map, filter, accumulate, lambda
  276. Saving changes to read-only files
  277. Google Mail holiday auto-responder
  278. A Python syntax highlighter
  279. Generating solutions to the 8 Queens Puzzle
  280. My (Test) First Ruby Program
  281. Getting started with Typo
  282. Posting from the command line using mtsend
  283. Built in Type Safety?
  284. The case against TODO. A neat label for work in progress or an easy way to disguise the flaws in a codebase?
  285. Metaprogramming is Your Friend. An investigation into metaprogramming techniques used by lazy C, C++, Lisp and Python programmers.
  286. A Mini-Project to Decode a Mini-Language
  287. Code in Comments. Don't comment out dead code, delete it!
  288. Brackets Off! Thoughts on operator precedence.