All articles, newest first

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