All articles, newest first

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