My website and blog were hosted by Google, which tracks people on an industrial scale. So I've now moved to GitHub Pages using a site that's statically generated using Pelican. GitHub Pages have better privacy than Google, but the deeper point is that a static site stored in a git …read more
According to RFC 3986 the following two URLs are not necessarily equivalent:
But most users would think the two were equivalent. What's to be done? I think the RFC should have said that the first should be normalized …read more
- An aide memoire.
All elements must be of same type. Length doesn't affect the type.
l = [1, 2, 3]
areaCirc r = pi * r^2
Type names always start with a capital letter.
Parametric polymorphism (generics)
length :: [a] -> Int
Type constraint after :: and before =>
(+) :: (Num a) => a -> a -> aread more
Num is …
GallumWhen I was born we lived on a narrow boat. I can't remember anything from this time.
Ensley GardensOr 'Ensley Gargens' as we said as kids, and my parents picked up. I can remember walking in from the back garden, crossing the threshold of the door, with the …
Things to take on holiday.read more
EU Health Card
Laptop & CPAP.
- A wiki for documentation. The thing is that you need to be able to easily copy over the docs from the previous version. Perhaps using tags?
My symptoms are that I'm waking up in the morning with a dull headache, and then I feelread more
sleepy and irritable throughout the day. This happens every day. It started a few months ago.
The same symtoms occured a couple of years ago and I went to see my doctor …
Following a degree in physics I pursued an interest in computer software, working on an ERP (Enterprise Resource Planning) application in the C programming language. In 1996 I started writing web applications for Open World, an online marketing company for the luxury travel industry. I …
- What follows is a business idea that you can start implementing today. Please get in touch if you'd like my help to get it going. I can do the computery bits but I'd be out of my depth doing the rest.
The current situation
Where I live in the UK …
- Here are two lists:
Cost of copyingIf an item can be copied perfectly with near-zero cost, it's information, otherwise it …
- These are books and films I intend to read. Also see unfocussed reviews.
- Alan Clark Diaries
- Marcus Aurelius - Meditations
- A Dance to the music of time
- Norman Mailer
- John Updike
- The Age of Consent: A Manifesto for a New World Order - George …
The links below don't work. I've left them there as a reminder of how bad the web can be. Yahoo deleted my account and all my posts were lost. A salutory lesson.
- Heat, George Monbiot
- Wasp, Eric Frank Russell
- Middlemarch, George Eliot
- Airframe, Michael Crichton
- Karl Marx, Francis Wheen
- Prey …
fmt -w 50 -s message.txt > message-short.txt
Add in line breaks so that no line is longer than 50 characters.read more
<?xml version="1.0" encoding="us-ascii"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org …read more