Call Windows Support

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

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

PDF diagrams in LaTeX

Posted on 13:59 by Unknown
Convert postscript to pdf using

$ epstopdf .[e]ps
$ ls *.pdf
.pdf
include in LaTeX file:

\usepackage[pdftex]{graphics}

\begin{figure}
\begin{center}
\scalebox{0.8}{\includegraphics{}}
\caption{....}
\label{fig-...}
\end{center}
\end{figure}
Read More
Posted in grimoire, LaTeX | No comments

deleting Temporary Internet Files

Posted on 13:37 by Unknown
In an MSDOS command window:
1) cd to C:\Documents and Settings\MyUser\Local Settings\Temporary Internet Files\Content.IE5
(possibly have to do this one dir level at a time)
2) dir /a > tmp.txt (note the /a ; file name is not important)
3) edit tmp.txt to contain only lines like: rmdir /q /s VH8D5Q5L (/q is quiet mode; /s forces deletion of files/subdrs)
4) paste contents of tmp.txt into cmd window
Read More
Posted in grimoire | No comments
Newer 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...
  • "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...
  • oh dear
    We have a garden pond to help encourage frogs and other amphibians. Hedgehogs may suffer, however. :-(
  • 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)
    • ►  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)
      • BoxCar 2D
      • roflysst
      • spotting the placebo
      • lowercasing file names
      • PDF diagrams in LaTeX
      • deleting Temporary Internet Files
Powered by Blogger.

About Me

Unknown
View my complete profile