All articles, newest first

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