All articles, newest first

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