<?xml version="1.0" encoding="utf-8"?>
<!-- If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/ -->
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:lj="http://www.livejournal.com">
  <id>urn:lj:livejournal.com:atom1:benparker</id>
  <title>blaknail</title>
  <subtitle>blaknail</subtitle>
  <author>
    <name>blaknail</name>
  </author>
  <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/"/>
  <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom"/>
  <updated>2009-12-15T23:43:57Z</updated>
  <lj:journal userid="1094965" username="benparker" type="personal"/>
  <link rel="service.feed" type="application/x.atom+xml" href="http://benparker.livejournal.com/data/atom" title="blaknail"/>
  <link rel="hub" href="http://pubsubhubbub.appspot.com/"/>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:49282</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/49282.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=49282"/>
    <title>Gambling</title>
    <published>2009-12-15T23:43:57Z</published>
    <updated>2009-12-15T23:43:57Z</updated>
    <category term="betting engine"/>
    <category term="betting"/>
    <lj:music>Radio5</lj:music>
    <content type="html">As some of you might now, I have occasionally been known to have a little bet, and have written a football betting engine to bet automatically on football matches.&lt;br /&gt;&lt;br /&gt;I made some substantial changes, after many months of losses, at the beginning of this month, and here's the profit so far this month:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="http://www.ben-parker.co.uk/images/bettingProfitDec1-15.png" /&gt; &lt;br /&gt;&lt;br /&gt;(y-axis is profit in ukp, x-axis is bet number)&lt;br /&gt;&lt;br /&gt;So since 1st December, I am 137.41 up, net of commission. This is pretty good, and more pleasing is the fact that the graph is pretty seriously upwards. Interestingly, bets 11 and 12 I was disappointed by two consecutive losses, and it seemed that I had entered the parameters wrong so it was betting using the wrong data.&lt;br /&gt;&lt;br /&gt;Whilst as a statistician, I know that 21 bets can't prove this is anything other than gamblers ruin, but this is fairly neat.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:49023</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/49023.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=49023"/>
    <title>Secret Santa: A geeky Christmas Challenge</title>
    <published>2009-11-28T00:02:26Z</published>
    <updated>2009-11-28T00:02:26Z</updated>
    <category term="secret santa"/>
    <category term="maths"/>
    <content type="html">Advent is nearly upon us, so it must be time to work out the mathematics of secret santa. I've been thinking about a mathematical problem, and I wondered if any of the assembled audience out there wanted to solve it. There may be a small bottle of gin for the person that does it.&lt;br /&gt;&lt;br /&gt;The problem is to find an algorithm to find a secret santa assignment such that everyone knows who to buy a present for, but does not know who's buying the present. We also want a secure way of doing this, such that players cant tamper with the assignment. I do not know the answer to this, and it may be possible to prove it's impossible.&lt;br /&gt;&lt;br /&gt;I'll try and formalise a little more:&lt;br /&gt;&lt;br /&gt;&lt;a name="cutid1"&gt;&lt;/a&gt;&lt;br /&gt;We have n&amp;gt;2 players that want to play secret santa. In secret santa, each player must give a present to another player, but must not know who gives any present apart from the one they themselves are giving.&lt;br /&gt;&lt;br /&gt;Each player is allowed to communicate in any way they choose with any of the other players, and may, if your algorithm desires it, have access to any technological or mathematical tools needed. We cannot assume that any communication is secure (some players may wish to sabotage the secret santa, or find out who their secret santa is). We may assume that a method exists such that each player can be identified when they communicate (so if Alice says something, we can be sure that it was Alice that said it); players can choose to lie. We may initially assume the existence of some kind of central repository for information, which is not secure. There are no trusted third parties. &lt;br /&gt;&lt;br /&gt;Is such a system possible, or can we show it is not possible? If it is possible, can we find a system without a central repository?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'll see if people want to play first before posting my own thoughts. Merry secret santa!</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:48805</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/48805.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=48805"/>
    <title>Corporate video</title>
    <published>2009-11-23T12:46:26Z</published>
    <updated>2009-11-23T12:53:26Z</updated>
    <content type="html">Haha, Ben is in the corporate video. About 4min30s in&lt;br /&gt;
&lt;object width="425" height="350"&gt;
    &lt;param name="movie" value="http://www.youtube.com/v/k365PM4ZGL0"&gt;&lt;/param&gt;
    
    &lt;embed src="http://www.youtube.com/v/k365PM4ZGL0" type="application/x-shockwave-flash" width="425" height="350"   allowScriptAccess="never"&gt;&lt;/embed&gt;
&lt;/object&gt;
    </content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:48551</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/48551.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=48551"/>
    <title>Dear Santa,</title>
    <published>2009-11-21T18:36:04Z</published>
    <updated>2009-11-21T19:37:23Z</updated>
    <content type="html">For christmas this year, I would mostly like pie. Any kind of pie would be nice. I realise I have not been good all year, but I have been mostly good, and deserver more pie. Except mince pies. You have too many of them around Christmas, and they generally no longer contain meat.&lt;br /&gt;&lt;br /&gt;If you cannot bring pies down the chimney, and I understand the EU regulations are strong on this point, then any of the other things would be very nice.&lt;br /&gt;&lt;br /&gt;- Anything from my&lt;a href="http://www.amazon.co.uk/gp/registry/registry-list.html/ref=cm_wl_rlist_mng?ie=UTF8&amp;amp;type=wishlist"&gt; Amazon wishlist.&lt;/a&gt; (I'd be perfectly happy with the second hand stuff, o rindeed buying it through somewhere not on Amazon!)&lt;br /&gt;- A nice fountain pen. I mostly like Parker pens, as it saves me having to write my name on it, and tend to like ones which the nibs don't break on. I believe the vintage ones are better quality.&lt;br /&gt;- A pie. Did I mention pie?&lt;br /&gt;- A lump of coal.&lt;br /&gt;- A subscription to private eye.&lt;br /&gt;- Nice writing paper or notebooks. I always look at it in stations, and think, gosh, this is nice, but expensive, but it's a nice gift.&lt;br /&gt;- Interesting beers, wine or gin always welcome. I particularly like interesting bitters, a good drop of claret, or Tanqueray 10, and Hendricks.&lt;br /&gt;- Don't forget the pie.&lt;br /&gt;&lt;br /&gt;Yours hoping I've been good,&lt;br /&gt;&lt;br /&gt;Ben</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:48235</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/48235.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=48235"/>
    <title>A surreal day</title>
    <published>2009-10-09T13:14:36Z</published>
    <updated>2009-10-09T13:14:36Z</updated>
    <category term="surreal day"/>
    <content type="html">Obama has apparrently won the nobel peace prize. ( This is nice for him, but they also gave it to Kissinger.)&lt;br /&gt;&lt;br /&gt;On the same day as this, Obama has ordered NASA to go to war on the moon. (He really doesn't like cheese)&lt;br /&gt;&lt;br /&gt;One of the professors here is having his 70th birthday.&amp;nbsp;The college have put up signs to Professor Preeces'(sic) birthday. The distinguished academic is now running round the college with a bottle of tippex and a marker pen, correcting the apostrophe.&lt;br /&gt;&lt;br /&gt;And you are trying to tell me the world is sane?</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:47856</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/47856.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=47856"/>
    <title>How do you get to Carnegie Hall?</title>
    <published>2009-06-07T21:37:50Z</published>
    <updated>2009-06-07T21:37:50Z</updated>
    <category term="california"/>
    <category term="new york"/>
    <category term="us"/>
    <content type="html">I actually got Lou to ask me this in New York; it is a pun I thought it was never possible to make in a real life situation, and I laughed for minutes.&lt;br /&gt;&lt;br /&gt;Lou and I are currently tired and in the US; we spent four nights in New York, and I must say I still don't like it. To me, New York is like London, but quieter, ruder, busier, less sophisticated; it's fun to wonder around the landmarks, and there were some amazing bits.&amp;nbsp;Greenwich Village was vibrant and exciting, the view from the top of the Empire State building (cliched) is spectacular, and it's a very exciting place to be. The quantity of food and the Delis are amazing, and I like getting served pickles but to be honest it ain't a patch on London.&lt;br /&gt;&lt;br /&gt; For example, a ticket to a Broadway show costs $100 _at half price_; at least three times the amount in London. The noise is incredible at all times, with people using the horn on their cars more often than the breaks.&amp;nbsp;Nobody seems to like each other, or have any time, and in&amp;nbsp;London at least they're polite about it.&amp;nbsp;It kind of feels like a mediaeval city in the sense that everyones crowded together, it's dirty, smelly, falling apart, and people are always trying to sell you something or get money from you. &lt;br /&gt;&lt;br /&gt;We've arrived on the west coast today, after a 4am start- poor little Lou is having an afternoon nap. Already, it's nicer; air is cleaner, people are friendly and actually want to stop and chat and help out. They seem to have a clue and be actively trying to be environmentally friendly. We have a Prius, which is very exciting as it has more buttons than Cadburys.&lt;br /&gt;&lt;br /&gt;We're staying here in&amp;nbsp;San Francisco for a few days, before heading down the west coast, and then a couple of days in Las Vegas and the Grand Canyon. I can report that the quality of tea is much better than on trips passim, but I still miss many things about England! Save me some summertime...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;P.S.&amp;nbsp;The answer is &amp;quot;practice&amp;quot;.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:47109</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/47109.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=47109"/>
    <title>Ballooning in the Namibian Desert</title>
    <published>2009-05-14T16:42:13Z</published>
    <updated>2009-05-14T16:42:32Z</updated>
    <category term="ballooning"/>
    <category term="tasty meat"/>
    <category term="namibia"/>
    <category term="holiday"/>
    <content type="html">So I left my intrepid reader in&amp;nbsp;Africa, no doubt pausing with baited breath as to what was hapenning next.&amp;nbsp;Would I be eaten by tigers?&amp;nbsp;Aparrently no, not least because there are no tigers in Africa. Here's a rather detailed account of our dessert trip in Namibia.&lt;br /&gt;&lt;br /&gt;So we set off for the desert; we had hired a car, packed sandwiches, gin, and everything else we needed for a journey. We cunningly followed the guide books suggestion of what routes were passable with a decent car, not necessarily a 4x4; this is important, as even a reasonable hire car costs 30 pounds a day, but a 4x4 is at least 100. &lt;br /&gt;&lt;br /&gt;The Namibian roads leave a lot to be desired being made of gravel, and strewn with rocks. It's pretty impossible to do more than 50mph on them, and even that's not easy, and some of the roads are just impassable without aformentioned 4x4.&amp;nbsp;You know the sort of road that you drive up on the way to a national trust house which is quite exciting because you know it's not very long and has a cream tea at the end of it?&amp;nbsp;It's like that, for hundres of miles, and not a cucumber sandwich for ready money.&lt;br /&gt;&lt;br /&gt;Anyway, we gamely tried, only to be defeated about an hour away from our destination by a big rock hitting the undercarriage and killing the on board computer. This road, editors of the Brandt guide take note, was not suitable for anything short of a juggernaut, and probably most suitable to be avoided completely. &lt;br /&gt;&lt;br /&gt;We were in the middle of nowhere; not just somewhere on a B road in the Cotswolds, but really nowhere. Maybe a couple of cars a day would pass. No mobile phone of course, but fortunately some buildings on the horizon; Cath and I hiked up there for a couple of miles, just as it got dark, and fortunately it turned out to be some very nice people, who offerred to drive us the hour to where we were meant to go. It could have been a lot worse in the end, but we got to where we were going only a few hours late.&lt;br /&gt;&lt;br /&gt;Now, we were staying on the outside of a massive great national park near Soussovlei the deal is this, that you get up at the crack of dawn and get taken to a big balloon set up in the middle of nowhere.&amp;nbsp;You get in the basket, and after a little while the sun comes up over the desert, which is pretty special, and you see all the animals running around, and the birds, and it's all incredibly peaceful.&amp;nbsp;Well worth the fortune it costs! ( if you're planning a trip, you could do worse than look at &lt;a href="http://www.balloon-safaris.com/"&gt;www.balloon-safaris.com&amp;nbsp; )&lt;/a&gt; When all this is over, you land&amp;nbsp;(in the sense that you hit the ground and hopefully don't fall out while some small black children try and keep the thing upright) and get taken to a champagne (cava) breakfast round the cornet.&amp;nbsp;Which is very pleasant in the middle of the desert. You attempt to climb sand dunes, realising that you are too fat to be bothered halfway up.&lt;br /&gt;&lt;br /&gt;It's a very interesting place all in all- my first real time in a desert and there's suprisingly much and interesting wildlife. The place we stayed at was a great campsite, you're given a tree, and you camp under it. There's a very reasonable dinner buffet where they had barbecued meat, including Oryx, wildebeast, Impala (my personal favourite), springbok, and, er, chicken I think.&lt;br /&gt;&lt;br /&gt;After a couple of days there, we set off home.&amp;nbsp;Cath and her mum took an air taxi, having to catch a flight and not wanting the breaking down on a rubbish road in the dessert experience again. On the way home we stopped at a plce called Solitaire, which is so quaint and remote they use it to film Westerns in, and it serves apple pie, and only apple pie, of superlative quality. We avenged the karma gods by giving a ridiculous amount of water to a family broken down in the desert (they were quite suprised that we had so much, but grateful nevertheless).&amp;nbsp;We stopped at Wimpy with the campest man in Africa(surreal, but the only place to stop). We eventually made it back to Windhoek, ruining our second hire-car on the way. Cruddy roads.&amp;nbsp;Interesting country. &lt;br /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:46949</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/46949.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=46949"/>
    <title>Ben is in Africa!</title>
    <published>2009-04-11T13:32:35Z</published>
    <updated>2009-04-11T13:32:35Z</updated>
    <category term="eating new things"/>
    <category term="namibia"/>
    <content type="html">What a terribly exciting place!&amp;nbsp;It's very big, and I've hardly been to any of it yet. You might think it's a long way down the road to the chemist, but that's nothing compared to the bigness of Africa.&amp;nbsp;Listen,...&lt;br /&gt;&lt;br /&gt;My location is Windhoek, Namibia to be precise, and I have so far eaten:&lt;br /&gt;&lt;p&gt;Zebra&lt;br /&gt;Crocodile&lt;br /&gt;Oryx (twice)&lt;br /&gt;Chicken &lt;br /&gt;&lt;br /&gt;Which are all TASTY.&amp;nbsp;Apart from the crocodile, which tastes a little bit like a chewy old fish. But it did come quite quickly&amp;nbsp;(was a snappy meal). Hehehe, I'm here all week.&lt;br /&gt;&lt;br /&gt;Local transport consists of various strange man in various cars which have seen better days (mostly 1980), although Top&amp;nbsp;Gear would love it... it's like a trip back through motoring past. The way it seems to work is that you pop your Panama hat on, and walk around.&amp;nbsp;Within 0.6 milliseconds a dodgy man will take you to where you want to go in exchange for some large sounding amount of money that varies, but seems to be about three quid.&amp;nbsp;The idea of a meter seems to be anathema. Occassionally, I'm told, if you're lucky you get a mugging thrown in.&lt;br /&gt;&lt;br /&gt;Alll the houses in town are gated with security guards, dogs, barbed wire, and I even noticed a dead snake as a warning to potential criminals; I don't know what the crime rate is like, but there's certainly anecdotal evidence that it's high. It's depressing rather than scary.&amp;nbsp;It reminds me of the quotation from&amp;nbsp;&amp;quot;Cry the beloved country&amp;quot;:&lt;/p&gt;&lt;p style="margin-left: 40px;"&gt;&lt;em&gt;&amp;quot;Cry, the beloved country, for the unborn child that is the inheritor of our fear. Let him not love the earth too deeply. Let him not laugh too gladly when the water runs through his fingers, nor stand too silent when the setting sun makes red the veld with fire. Let him not be too moved when the birds of his land are singing, nor give too much of his heart to a mountain or a valley. For fear will rob him of all if he gives too much.&lt;/em&gt;&amp;quot;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;Tomorrow we go out into the country for some hot air ballooning and a night in the desert!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:46769</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/46769.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=46769"/>
    <title>Left wing continuation</title>
    <published>2009-01-28T00:04:00Z</published>
    <updated>2009-01-28T00:04:00Z</updated>
    <content type="html">I saw Tony&amp;nbsp;Benn speak tonight.&amp;nbsp;I think he's one of the finest public speakers of our time, and I admire his principles.&lt;br /&gt;&lt;br /&gt;( It was, unfortunately, a meeting about Gaza, which in general had a lot of the student left wing brigade talking about nothing much in particular. I don't think anyone agrees with what happened in Gaza, and I think it was a strange session of preeching to the converted. )&lt;br /&gt;&lt;br /&gt;George Galloway, scheduled to speak, couldn't be bothered. It's no great loss.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:46369</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/46369.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=46369"/>
    <title>You know you're middle class when......</title>
    <published>2009-01-26T14:28:39Z</published>
    <updated>2009-01-26T14:28:39Z</updated>
    <content type="html">... you get e-mails like this, enjoining you to buy chicken:&lt;br /&gt;&lt;br /&gt;A lot of free-range chicken is fed with soya that comes from deforested areas of the Amazon. We've helped Peter, our Devon-based free-range chicken farmer, develop a special feed, rich in British ingredients, which is free from rainforest-destroying soya. Visit our free-range chicken section for more details.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:46289</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/46289.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=46289"/>
    <title>An interesting debate on ethics</title>
    <published>2008-09-19T16:32:47Z</published>
    <updated>2008-09-19T16:32:47Z</updated>
    <content type="html">I was discussing jobs with a friend the other weekend, and the following debate came up. &lt;br /&gt;&lt;br /&gt;There was a statistician post advertised for (the research agency that works for) the MOD.&amp;nbsp;The aim of the job was to research ways to prevent and detect Chemical/Biological attacks on British troops (statistically quite an interesting problem!)&lt;br /&gt;&lt;br /&gt;&lt;p&gt;I&amp;nbsp;was of the opinion that doing this job would be morally more justifiable than working in the city; my friend was of the opposite opinion, as she pointed out that any research could be turned around and used from an offensive point of view as well.&lt;/p&gt;&lt;p&gt;I wondered whether anyone else had an opinion?&lt;/p&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:45626</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/45626.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=45626"/>
    <title>From the sub-lime to the ridiculous</title>
    <published>2008-06-11T12:30:57Z</published>
    <updated>2008-06-11T12:30:57Z</updated>
    <category term="gin"/>
    <content type="html">I've just sent this to the telegraph letters page:&lt;br /&gt;&lt;br /&gt; &lt;tt&gt;Sir,&lt;/tt&gt;&lt;br /&gt; &lt;br /&gt; &lt;tt&gt;After learning that lemons have risen from 19p to 28p during the last&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;year (Telegraph front page, June 11th), gin drinkers with a bitter taste&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;in their mouth will be sweetened up to know that limes are still&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;available for 19p in my local supermarket. &lt;/tt&gt;&lt;br /&gt; &lt;br /&gt; &lt;tt&gt;Whilst this might act as a Tonic to readers Browned off with the&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;economy, with 55p on a bottle of spirits in this year's budget, it could&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;be the be-gin-ning of the end for those of us trying to keep our Spirits&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;up.&lt;/tt&gt;&lt;br /&gt; &lt;br /&gt; &lt;tt&gt;Yours faithfully,&lt;/tt&gt;&lt;br /&gt; &lt;br /&gt; &lt;tt&gt;Ben Parker&lt;/tt&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:45488</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/45488.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=45488"/>
    <title>Maths question</title>
    <published>2008-06-05T18:53:05Z</published>
    <updated>2008-06-05T18:53:05Z</updated>
    <category term="maths"/>
    <content type="html">I have a maths question- anyone out there that knows anything much appreciated as it's stumping me?&lt;br /&gt;&lt;br /&gt;I have a general stochastic matrix P representing a MC- so the sum of all the row elements add up to one. The simplest form is :&lt;br /&gt;&lt;br /&gt;( 1-p p)&lt;br /&gt;( r&amp;nbsp; 1-r)&lt;br /&gt;&lt;br /&gt;I need to find a form P^n which I think one way to do in general is to diagonalise P=D^{-1}AD. &lt;br /&gt;&lt;br /&gt;Is there a simple way to do this for general stochastic P, or is it obvious that it's impossible? You can show trivially that 1 is an eigenvalue.&lt;br /&gt;&lt;br /&gt;I can do it for the simple 2x2 matrix above; if it's not possible to do in the general case, is it possible for simpler matrices. My matrix I'm interested next is &lt;br /&gt;&lt;br /&gt;1-p&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 &amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 ...&lt;br /&gt;r&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-p-r&amp;nbsp; p&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 ...&lt;br /&gt;0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r&amp;nbsp;&amp;nbsp;&amp;nbsp; 1-p-r&amp;nbsp; p&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 &amp;nbsp;&amp;nbsp; r&amp;nbsp;&amp;nbsp; 1-r&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope that makes sense, any pointers appreciated- my linear algebra is really rusty!&lt;br /&gt;&lt;br /&gt;Ben</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:45225</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/45225.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=45225"/>
    <title>In pursuit of a decent cup of tea</title>
    <published>2008-06-04T14:28:48Z</published>
    <updated>2008-06-04T14:28:48Z</updated>
    <category term="tea"/>
    <category term="usa"/>
    <content type="html">I'm in the USA for a conference, which is quite exciting; also very strange, two countries separated by a common language and all of that.&amp;nbsp; On landing at the aeroport, the first thing I see on the television was Tony Blair; the second thing was David Beckham. Both of these people seem to be enormously popular, so I conclude that the US is ten years behind Britain. &lt;br /&gt;&lt;br /&gt;I'm staying in a small town called Annapolis, which is really very nice. Maryland is incredibly green and leafy, and it seems that the entire state is either a big forest or bits of a big forest that have been hacked down to build pretty suburban houses, or more often, larege out of town shopping malls. They have, and the reasons still escape me, drive through automatic teller machines. Drive through pharmacies. Despite this obvious need to do things quickly, everything seems very laid back. People keep telling me how historic this place is, and they apparrently signed the Treaty of Paris here which ended all that trouble in the colonies with the tea and whatnot and set up the United states.&lt;br /&gt;&lt;br /&gt;The conference itself is quite dull; I'm a statistician looking at networks on a conference about internet measuring. Some of it is interesting, most of it is dull, and instead of having multiple track conferences ( lots of talks going on at the same time) you have one long session for everyone. So If you're not intersted in the topic, you sit at the back of the room and use the WiFI...&lt;br /&gt;&lt;br /&gt;I wend to see the Baltimore Orioles (Go O's!) on Monday; Russ and Rachel happenned to be in town, and we continued our association with drinking beer at sporting events, now internationally. It's actually a lot better in person than on the television- the stadium is fantastic and has many fried food and beer, lots of room, and a good atmosphere; I think I still prefer cricket and rugby, but baseball definitely well above average.&lt;br /&gt;&lt;br /&gt;My quest for a decent cup of tea outside England continues. They have lipton here, the scourge of all tea drinkers abroad, and do the normal thing of brewing tea with hot, not boiling water. Despite my attempts to educate the world, the message still is yet to get through. You also have a choice of milk, which is either "Half and half" or 2%. I do not know what either of these are, but it does not help with the tea quality.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;In my room, there is a machine where you put water in the top, a little packet marked "tea" in the front'; you place your cup ( Paper, not china!) in front of the machine and it spits out a substance which is almost, but not quite, entirely undrinkable. &lt;br /&gt;Oh dear. I am Arthur Dent.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:44931</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/44931.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=44931"/>
    <title>Things which are wrong with the world, number 1</title>
    <published>2007-11-20T16:30:19Z</published>
    <updated>2007-11-20T16:30:19Z</updated>
    <category term="customer non-service"/>
    <category term="grumpy old man"/>
    <content type="html">&lt;tt&gt;Sunday 18th November, J.D. Wetherspoons' Cambridge&lt;/tt&gt;&lt;br /&gt; &lt;br /&gt; &lt;tt&gt;...&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;Wetherspoons lackey: Is everything alright for you?&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;Me: Well, actually, I could do with a spot more gravy (waving gravy boat&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;hopefully).&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;Wetherspoons lackey: You must order him at the bar&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;Me: All I want is a little bit more gravy- I'm afraid you gave me next&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;to none.&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;Wetherspoons lackey: I cannot help, you must order him at the bar. Is&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;everything alright for you?&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;Me: No, everything is not alright, I need more gravy...&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;&amp;lt;Wetherspoons lackey walks away to tick next customer service book,&lt;/tt&gt;&lt;br /&gt; &lt;tt&gt;rudely ignoring customer anguish...&amp;gt;&lt;/tt&gt;&lt;br /&gt; &lt;br /&gt; &lt;tt&gt;Is it me, or has the world finally gone crazy?&lt;/tt&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:44683</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/44683.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=44683"/>
    <title>Her Majesty and Her Majesty's Parliament</title>
    <published>2007-11-06T18:26:39Z</published>
    <updated>2007-11-06T18:26:39Z</updated>
    <category term="politics"/>
    <content type="html">&lt;span class="view_links2"&gt;&lt;span class="subject"&gt;&lt;/span&gt;&lt;br /&gt;Today was one of my favourite days of the year, The State Opeining of Parliament. I love living in a country where Her Majesty's Gentleman Usher of the Black Rod, whilst wearing some very fetching black stockings, has the door ceremonially slammed in his face to reassert an insult paid to King Charles 1 in 1642, when the speaker Lenthall reasserted the right to the Commons independence by saying "May it please your Majesty, I have neither eyes to see nor tongue to speak in this place but as the House is pleased to direct me, whose servant I am here." Yes, the occasion is silly, but the point is well made.&lt;br /&gt;&lt;br /&gt;However, looking at what Parliament has actually done in the last year is very disappointing, and this years programme similarly uninspiring. See: &lt;a href="http://www.opsi.gov.uk/acts/acts2007a.htm"&gt;http://www.opsi.gov.uk/acts/acts2007a.h&lt;wbr&gt;&lt;/wbr&gt;tm&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;All of these acts seem to be vapid- nothing of any merit in many of them. Quite a few of the bills (the Planning Gain Supplement (Preparations) Act, The Special Court of Sierra Leone (Act), are procedural and are only a couple of paragraphs long. Yes, they are important, but it can't have taken much of Parliament's time.&lt;br /&gt;&lt;br /&gt;There are the standard finance acts that must be passed- the middle management of the countries finances. However, there is nothing, not one act, which I think does anything substantial to improve life in the country or do anything to address many of the problems in the world! Even the ones that set out to, for example The Mental Health Act, were sufficiently watered down so as not to have as much bite as they could have done.&lt;br /&gt;&lt;br /&gt;Perhaps we were distracted by Mr Blair's prolonged exit, his successor's honeymoon period, or perhaps parliament needs to reassert it's power over a lacklustre government programme, remember speaker Lenthall's impertinence, and actually spend some time getting something useful done.&lt;/span&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:44499</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/44499.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=44499"/>
    <title>Five percent update!</title>
    <published>2007-10-31T01:47:39Z</published>
    <updated>2007-10-31T01:47:39Z</updated>
    <category term="gambiling"/>
    <category term="five percent"/>
    <content type="html">It's been a while since I updated on the five percent project- I start with 500 pounds, I make five percent a week by betting, and I get one million pounds in three years time.&lt;br /&gt;&lt;br /&gt;Well, there is bad news- I should currently have £942.82, but I only have £608.21. However, the good news is I have got to 608.21- a 21% return in less than 3 months, pretty sly for a white guy. &lt;br /&gt;&lt;br /&gt;&lt;a name="cutid1"&gt;&lt;/a&gt;&lt;div class="ljcut" text="Details"&gt;I am now almost 9 weeks down on where I should be, and am forecasting 5,247 after three years rather than one million.&lt;br /&gt;&lt;br /&gt;I have been mainly doing two things- automated betting, using a perl script (the betting engine), and betting based on statistical study of sport.&lt;br /&gt;&lt;br /&gt;From my own study, I did pretty well out of the world cup rugby as a whole- and what a tournament- I made money backing South Africa and England to win outright, and generally did well on betting on the total number of points in a game. However, I lost a lot of money with an early try in the England-France game. I still maintain that it was a good bet- there were no tries in two previous games- but I was down 50 quid after the first minute of the game. &lt;br /&gt;&lt;br /&gt;On the automated side, the general all purpose betting engine is not doing brilliantly: it seems to do well on golf tournament betting, but loses on other events- I'm still tinkering really. The real success of recent weeks is that the betting engine focused on football betting is doing really well- most of the positive trend of the last two weeks. I'm hoping it's not just a lucky streak, and will continue, but the logic is sound and should make profits.&lt;img alt="" src="http://www.ben-parker.co.uk/fivePercent.png" /&gt;&lt;/div&gt;&lt;br /&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:42937</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/42937.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=42937"/>
    <title>James and Penny's wedding</title>
    <published>2007-07-25T19:29:38Z</published>
    <updated>2007-07-25T19:29:38Z</updated>
    <content type="html">After VOLES, and a few hundred more miles driving, we turned up in Ledbury to James and Penny's wedding. From before we woke up, it rained and it rained and it rained- the way there was a little wet, driving through some fairly large puddles and we were quite lucky to get there. Many of the guests were late, but the bride managed to get there well over an hour late. She was lucky to get there- a 4x4 had to be commandeered, and very nearly a tractor.&lt;br /&gt;&lt;br /&gt;As the wedding went on, it became very clear that we were being rained in with some of the worst rain England has ever seen- we could get to the church and the village hall for the reception, but anywhere out of the village was impassable by anything short of a tractor- and only then just. The food and the reception went on, and it was a very lovely wedding. I think often people spend too much time and money focusing on the showy aspects of the wedding without realising that the most important thing is company, lots of food, and a free bar. Nobody remembers the gold sparkly glitter in the shape of pineapples on every table, or the silver embossed place mats.&lt;br /&gt;&lt;br /&gt;After the speeches, in which the groom told us that spending his wedding night with 50 of his friends was not quite as he envisioned, the local farmer helped evacuate those that wanted to to a local hostelry- the rest of us decided to brave it out in the village hall. As lots of people had left, there was copious booze, and it put me in mind of what it must have been like in the air raid shelters in the blitz. We danced on and drank on, and eventually people went to sleep in the back room. I'm never very good at sleeping somewhere odd, managed about an hour and a half. When it got light, I went to investigate and found a friendly DHL driver who showed us the way out.&lt;br /&gt;&lt;br /&gt;It was a scene of devastation outside- cars abandoned, very few roads passable, but we did make it back to the guest house, and then I went back to resuce the others, and buy harry potter, which I still haven't had time to read! All in all it was a fantastic wedding, a little bit strange and passed in a bit of a blur, but we'll certainly be remembering that one in years to come.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:42740</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/42740.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=42740"/>
    <title>VOLES!</title>
    <published>2007-07-25T19:17:10Z</published>
    <updated>2007-07-25T19:17:10Z</updated>
    <category term="new forest"/>
    <category term="voles"/>
    <category term="camping"/>
    <content type="html">VOLES was one of the best weeks I've been on in a long time- campsite was pretty perfect, and weather very nice indeed for camping. Not sunny, as then your tent gets too hot in the morning, not too wet, except at night when it didn't matter, it was in the middle of the New forest with several million unfeasibly large twigs to burn, and a good few hundred yards from the nearest other campers. Most importantly the company was lovely- I was a little bit worried that there would be a lot of young'uns, but actually it was mostly older people. I say older- I'm still the oldest- but people what I knew anyway!&lt;br /&gt;&lt;br /&gt;The New Forest is a wonderful part of the world, I've never been here before and as well as being an easy drive from London is incredibly pretty and feels fairly isolated. And has wild horses, donkeys, and cows. There's lots of interesting things to do, and was a really nice relaxing time. Just what I needed after submitting my very boring paper.&lt;br /&gt;&lt;br /&gt;We did a load of fun things- the otter sanctuary contained lots of long things, which kept gill happy, a cider farm, where we bought extraordinarily cheap cider, a nice local pub where we ate a couple of times, and a big meadowy area where the most ridiculous wide game was played on the final night, involving lots of torches and capturing the flag. In the evenings, there were many silly campfire conversations and much gin: The psychiatrist's game, defining the voles SI units, and much general silliness. &lt;br /&gt;&lt;br /&gt;Oh, and we did a revue as well! The old people were lovely, and gave us tea and cake.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:42387</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/42387.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=42387"/>
    <title>More Political Geekery</title>
    <published>2007-06-28T11:35:36Z</published>
    <updated>2007-06-28T11:35:36Z</updated>
    <content type="html">As another political aside, The Rt Hon Tony Blair is the first ex-prime mister to be appointed Warden or Deputy Warden of the CHiltern Hundreds since 1937.&lt;br /&gt;&lt;br /&gt;&amp;lt;/sad&amp;gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:42087</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/42087.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=42087"/>
    <title>Today is a very special day</title>
    <published>2007-06-25T15:46:05Z</published>
    <updated>2007-06-25T15:46:05Z</updated>
    <content type="html">And tomorrow as well.&lt;br /&gt;&lt;br /&gt;As far as I know, it is the only time that the Prime Minster and First Lord of the Treasury, had not been a leader of his political party since 1940, when Churchill replaced Chamberlain.&lt;br /&gt;&lt;br /&gt;I'd love to be corrected if wrong though!&lt;br /&gt;&lt;br /&gt;Ben</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:41330</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/41330.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=41330"/>
    <title>Free Speech</title>
    <published>2007-06-05T14:11:28Z</published>
    <updated>2007-06-05T14:11:28Z</updated>
    <category term="free speech"/>
    <category term="musing"/>
    <content type="html">After the recent livejournal censorship scandal, I found myself wondering, why do we value free speech? Now obviously, all us kids have been brought up living the American Dream (guffaw), where it's right to speak out against oppression, and how one man with the right opinion firmly held can change the world, and how any millionaire can become president: but what is free speech?&lt;br /&gt;&lt;br /&gt;If I say that, for example, I don't like French people, that's racist (well, strictly nationalist), and this is a bad thing (TM). If I say that Tony Blair is an onanist, and he eats babies then that's (probably) libellous. If I say that children should all be given free cigarettes at school, then that's just crazy talk. So should I be allowed to say them? &lt;br /&gt;&lt;br /&gt;If we're taking the purist view about free speech, then saying all the statements above are illegal (racism, libel, and incitement to child abuse). So we've immediately qualified free speech by what is legal, and therefore these opinions can no longer be freely held. &lt;br /&gt;&lt;br /&gt;The whole concept of free speech thus seems to me to be invalidated;  maybe we should give up on this silly concept, and instead get back to honest-to-goodness British decency, fair play, interesting mathematics, and doing what's right.</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:41037</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/41037.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=41037"/>
    <title>Wow!</title>
    <published>2007-05-16T12:56:19Z</published>
    <updated>2007-05-16T12:56:19Z</updated>
    <content type="html">I love magic!&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.youtube.com/watch?v=voAntzB7EwE"&gt;http://www.youtube.com/watch?v=voAntzB7EwE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(Thanks Owen!)</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:40794</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/40794.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=40794"/>
    <title>World Record Attempt Result!</title>
    <published>2007-03-19T23:29:11Z</published>
    <updated>2007-03-19T23:29:11Z</updated>
    <category term="comic relief"/>
    <category term="puns"/>
    <content type="html">I rather sadly only managed 211 puns in 24 hours for comic relief- as no one, to my knowledge, has attempted it before, this is A WORLD RECORD!!!!&lt;br /&gt;&lt;br /&gt;I would have got more, but I was working at home alone, and only had people to pun at from 6pm. 1000 would still have been hard..&lt;br /&gt;&lt;br /&gt;My favourite puns:&lt;br /&gt;&lt;br /&gt;Pun 7) MY housemate was theorising about caves. I said she was spelunculating (latin for cave is spelunca)&lt;br /&gt;Pun 14) Is a headscarf worn by bankers a Finance Shawl&lt;br /&gt;Pun 26) I think orphan about children with no parents.&lt;br /&gt;Pun 64) (After I accidentally put my mobile in the washing machine) It was wringing constantly...&lt;br /&gt;Pun 67) A small man that sits on the Underground and ticks regularly is a metrognome&lt;br /&gt;Pun 112) Is the favourite drink in hell a Djinn and Satonic?&lt;br /&gt;Pun 128) A charity for overworked theatre techs- Help the AJ-ed&lt;br /&gt;Pun 147) Small men that rob you at Christmas are Hobbit Yule Criminals&lt;br /&gt;Pun 160) Do chickens in china have a Peking order?&lt;br /&gt;Pun 201) A favourite fizzy drink for a comedian- Matt Lucasade! &lt;br /&gt;&lt;br /&gt;Most importantly, the sponsored pun and the night in watching Comic Relief has so far raised 555, with gift aid taking that total to around 700 pounds. So thank you to every one that sponsored me- those that left their names on the board, and the anonymous ones, and those that donated to the fund centrally- Comic Relief raised over 40 million this year, which is incredible. Well done everyone!&lt;br /&gt;&lt;br /&gt;If you still have money you want to send Comic Relief's way, you can do it here:&lt;br /&gt;&lt;a href="http://www.myrednoseday.com/punitiveaction"&gt;http://www.myrednoseday.com/punitiveaction&lt;/a&gt;</content>
  </entry>
  <entry>
    <id>urn:lj:livejournal.com:atom1:benparker:40546</id>
    <link rel="alternate" type="text/html" href="http://benparker.livejournal.com/40546.html"/>
    <link rel="self" type="text/xml" href="http://benparker.livejournal.com/data/atom/?itemid=40546"/>
    <title>Pun update:</title>
    <published>2007-03-16T01:32:48Z</published>
    <updated>2007-03-16T01:32:48Z</updated>
    <content type="html">01:31 -  Only 30 puns accomplished tonight. Nobody to pun at.</content>
  </entry>
</feed>
