Call Windows Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 17 February 2011

The future price of electricity

Posted on 13:48 by Unknown
I got my electricity bill last week, and I noticed a nifty new feature that's been added to it: a predicted electricity cost for the next year. And very interesting that prediction is, too.

Here is my annual expenditure on electricity for the last few years (the numbers are ridiculously low for several related reasons that I won't go into here):

electricity prices
2003: £45.36
2004: £33.14
2005: £38.26
2006: £51.04
2007: £55.71
2008: £48.74
2009: £48.30
2010: £56.16

The graph shows a noisy but nevertheless upward trend, consistent with inflation more than with any increased usage on my part.

What do you think my electricity company's prediction for my 2011 bill is? A prediction that I am assured is based on "actual readings", according to my account. £60? Maybe as much £70? No. It is £488.77.

So, what does npower know about short term electricity price inflation that I don't?
Read More
Posted in electricity, estimation | No comments

Tuesday, 15 February 2011

The price of pears

Posted on 03:45 by Unknown
Tesco pears, but not exactly the ones I bought
I bought a bag of conference pears (lovely and crunchy) at Tesco last night, for £1. As I opened them today, I thought, "£1, that's quite cheap, how much is that per pear?" I counted them, and there were eight.

Without conscious decision, the calculation flashed through my head as follows: "Eight for a pound; that's half a crown each", then a slight pause before the next step: "so that's 12-and-a-half pence each."

half a crown: big money!
Half a crown? What's that, I hear you youngsters say. Well, back in the dim and distant past, we didn't have this new-fangled dumbed-down decimal currency. We had proper pounds, shillings and pence. 12 pence to the shilling, 20 shillings to the pound; 12 times tables; the lot. How long in the past? Well, we went decimal on 15 February 1971. (I remember the excitement of getting shiny "new pence" in my change on the bus to school.) That's 40 years ago to the day.

40 years: oh dear, and I still think in old money! (Not all the time, I hasten to add. It's just that "eight half crowns to the pound" was so well drummed in that it's still the natural association. Then there's always 6/8d.) But, to the day: wow.

Never mind that. What about half a crown for a single pear! Outrageous! (OTOH, 12.5p is really cheap...)
Read More
Posted in duodecimal, money | No comments

Sunday, 13 February 2011

Computer Science meets King's Cross

Posted on 03:33 by Unknown
Platform 9 3/4, from http://en.wikipedia.org/wiki/File:KingsCross.JPG
I haven't been to London for a while, but I was there last week to give a talk. As I got off my train at King's Cross, I thought I heard an announcement: "The train currently standing at platform zero is the...". What? Platform 0? I listened to check I wasn't hallucinating, and there it was again: "Platform zero for the ..."

Now, I know King's Cross quite well, I thought. It has eight platforms on the main concourse, and also platforms 9 to 11 hidden away in their own private little siding. (Forget finding platform 9-and-3/4s: I've know people fail to find the real but well-hidden platform nine!) But platform 0? Srsly? Only computer scientists start counting from 0!

Platform 0, cropped from http://en.wikipedia.org/wiki/File:Kings_Cross_Platform_0.jpg
So when I got onto the main concourse, I checked, and sure enough, there were signs to platform 0. When I got back in Google-range, I consulted that fount of all knowledge, wikipedia. Yes, there is now a platform 0, as part of the refurbishment scheme. On the one hand, it seems a shame they've gone with platform 0, since that means platform 9-and-3/4 is still a "mistake" (there are tracks, not platform, between 9 and 10). But on the other hand: platform 0. Cool.

So I was disappointed to discover that once the refurbishment is completed, the platforms will be renumbered, starting from the much more unimaginative 1. (Presumably resulting in hilarity for all concerned as the zombified commuters, with the current numbering scheme hardwired in their cortexes, start making off-by-one errors, and end up scattered all over the country.)
Read More
Posted in mathematics, trains | No comments

Saturday, 29 January 2011

BoxCar 2D

Posted on 10:18 by Unknown
BoxCar 2D is a neat little evolutionary algorithm, that over time evolves dune buggies (inside a physics engine) that have to traverse an ever more rugged landscape.

BoxCar 2D screen shot
The little plateaus in the maximum fitness achievement give a lot of information about the environment. Will it ever get over that nasty spike at 396? Yes! But then there's that steep hill at 420... It finally powered over that at generation 39. But how long until it passes that gully around 490? At generation 54, it hauls itself out, and gets as far as the next bad obstacle at 529. Even after 700 generations, it can't get past that one... (Okay, I've been running this for too long, I admit. It's quite hypnotic. And it's fun watching later generations just power over obstacles that were literally insurmountable by their ancestors.)

average fitness over 400+ generations
What this shows is a combination of the power of evolution, and the restriction of a fixed representation. The algorithm can get so far, but to get further, there needs to be more novelty available. Look at the graph of average fitness. It rapidly shoots up to several 100 (here, fitness = distance travelled), but then it's just a noisy constant, with no overall improvement. Looking at the vehicles produced, it's easy to see why. They rapidly find good solutions within the constraints of a rigid octagonal body with wheels fixed to the vertices, but can then go no further. Watching the cars race across the terrain, it's clear they need more, maybe a flexible body, maybe something else. But they're locked into the one representation: that needs to change, to develop, too. I look forward to something like BoxCar 2D but with added evo-devo!
Read More
Posted in evolution | No comments

Monday, 24 January 2011

roflysst

Posted on 01:18 by Unknown


Watched the DVD of Bill Bailey's Dandelion Mind show last night. Brilliant, as usual. There was a great Internet abbreviation song, including the marvelous punchline roflysst (Rolling On Floor Laughing Yet Somehow Still Typing).
Read More
Posted in lol | No comments

spotting the placebo

Posted on 01:15 by Unknown
A lovely letter in New Scientist (22 Jan 2001, p26):
From Phillip Gething

As part of my training to join a medical research ethics committee, I attended lectures on drug trials. We were told of a trial in which a patient spotted when her drugs had been switched, even though great efforts had been made to make the capsules appear identical. When asked by her GP why she thought the drugs had been changed, the patient replied, "I always put them down the loo. Until recently they always floated, now they always sink."

Fleet, Hampshire, UK
Being able to spot the placebo clearly wasn't the main problem here!
Read More
Posted in science, statistics | No comments

Saturday, 22 January 2011

lowercasing file names

Posted on 14:25 by Unknown
(thanks to Ian Toyn)

find . -exec chmod u+w {} \;
for i in `find . ! -type d -name '*[A-Z]*' -print`
do
oldname=`basename $i`
newname=`echo $oldname | tr '[A-Z]' '[a-z]'`
mv $i `dirname $i`/$newname
done
for i in `find . -type d -name '*[A-Z]*' -print`
do
oldname=`basename $i`
newname=`echo $oldname | tr '[A-Z]' '[a-z]'`
mv $i `dirname $i`/$newname
done
Read More
Posted in grimoire | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • hyperbolic hyperbole
    What's with hyperbolic discounting? It's everywhere ! I first consciously noticed the term at a workshop about six weeks ago, and n...
  • better use seaweed
    As Neils Bohr is alleged to have said , “prediction is very difficult, especially about the future”. My smartphone has a weather app on it t...
  • oh dear
    We have a garden pond to help encourage frogs and other amphibians. Hedgehogs may suffer, however. :-(
  • "Windows support" -- not
    Just had another scam phone call -- someone with a strong Indian accent claiming to be calling from "Windows Technical Support" (o...
  • national stereotypes
    I've just got back from a very productive three day meeting in Paris. Just around the corner from where I was working, there was a marv...
  • retrospective holiday diary day 1: travelling north
    We went to the Lake District last “summer” ; this “summer” it was time for touring the other side of the country: Northumbria. The holiday s...
  • retrospective holiday diary day 5: trains
    Monday 24 September, and the long-threatened rain finally arrived. So this was the ideal day for the planned Carlisle-Settle rail trip . Bu...
  • funfair mirror trees
    One of the trees in our garden has died.  It died last summer in the drought, but we gave it a year to prove to us it really was dead.  It i...
  • retrospective holiday diary day 3: Lindisfarne
    Saturday 22 September, and the weather was still fine, sunny holiday weather so we decided to take advantage of the sunshine, and do Lindisf...
  • more scammers
    So not long after the scam phone call , the phone rings again. It's British Gas -- they get to call me because I'm actually a custo...

Categories

  • 3D printer
  • algorithm
  • astronomy
  • birds
  • Bonnie Tyler
  • books
  • cognition
  • computer
  • conference
  • Doctor Who
  • driving
  • ducks
  • duodecimal
  • education
  • electricity
  • estimation
  • Evernote
  • evolution
  • font
  • food
  • fractals
  • game
  • garden
  • graphics
  • grimoire
  • history
  • holiday
  • humour
  • language
  • LaTeX
  • lego
  • lol
  • mathematics
  • medicine
  • money
  • music
  • obituary
  • pedantry
  • politics
  • probability
  • psychology
  • publishing
  • python
  • quotations
  • research
  • robots
  • science
  • science fiction
  • space flight
  • statistics
  • TPS
  • trains
  • tree
  • TV
  • weather
  • web

Blog Archive

  • ▼  2013 (119)
    • ▼  December (1)
      • that's not in the least bit suspicious
    • ►  November (17)
    • ►  October (12)
    • ►  September (10)
    • ►  August (9)
    • ►  July (8)
    • ►  June (10)
    • ►  May (19)
    • ►  April (10)
    • ►  March (9)
    • ►  February (4)
    • ►  January (10)
  • ►  2012 (103)
    • ►  December (16)
    • ►  November (8)
    • ►  October (14)
    • ►  September (6)
    • ►  August (13)
    • ►  July (8)
    • ►  June (6)
    • ►  May (9)
    • ►  April (10)
    • ►  March (7)
    • ►  February (5)
    • ►  January (1)
  • ►  2011 (79)
    • ►  December (7)
    • ►  November (5)
    • ►  October (10)
    • ►  September (7)
    • ►  August (6)
    • ►  July (5)
    • ►  June (6)
    • ►  May (6)
    • ►  April (9)
    • ►  March (9)
    • ►  February (3)
    • ►  January (6)
Powered by Blogger.

About Me

Unknown
View my complete profile