So how many of me are there?
One thing bothers me about my
situation....
OK there are a lot of things that bother me about my situation, like for example I don't have a life and my alter ego does. But another thing that bothers me is that if there are two of me here, there must be one of me missing somewhere else. I may be flattering myself, but I think that's going to suck.
It seems like whenever the time machine is used, you end up in a slightly different universe than the one you left. The goats probably didn't notice. They are happy as long as they have something tasty to eat, like grass, moss or cardboard boxes. But, unlike the goats, I can see I am in a different universe. One obvious difference: this universe is inhabited by a rather unreasonable version of me that refuses to go in the time machine, whereas the universe I came from was inhabited by a better version of me (me, in fact) who didn't have a problem with time machines.
But up to the point where I arrived back in time it really seems like the universes were the same. In fact they may well have been one universe. So an alternative theory is that the universe bifurcated into two when I arrived back. That I actually created this universe by my arrival. That makes me the creator of this universe, which I think is a pretty important role. I should totally get some credit for creating the universe.
But what about the universe I left? They assured me that I had arrived the day before from the future, so if that is true, that's not the universe that is missing a me. Is it the universe that he came from, or did they get an Erik from a fourth universe? Perhaps there isn't a universe that is missing a me, there's just an endless chain of universes, each of which provided an Erik to a previous one. Perhaps there are even some where the Eriks are piling up and they don't know what to do with them.
I am strangely comforted by the thought that there might be an infinite chain of universes, each with at least one Erik in it. Others may find it less comforting, perhaps even a little spooky.
Another comforting thing about multiple universes is that there might be one where GOTO is still called JAOO.
I am really looking forward to building my new life at JAOO GOTO. After the party I expect to be a bit hung over. Not sure I'll make it to the keynote about Microsoft and Open Source. Some early bird will be able to tell me whether it was about how they are trying to crush Open Source with patent trolling, or whether they explained why they prohibit some Open Source licenses on their source hosting site.
Then there's the talk about Perl 6. The way I imagine the Perl 6 project is as a distributed version of the artist from Spaced. But it's probably more complicated than that.
In fact I think I'll just camp out in the programming languages track. I love programming languages. There are talks about 'R' and 'D'. If I ever invent a language all the good letters will be already taken.
And Tuesday at 5 there is more programming language goodness in the form of the Dart user group for Dart users or those who want to try being Dart users. You have to register, but it's free even for those that don't have a GOTO ticket!
On Wednesday I am definitely going to the Personal Productivity track. Last year it was a blast - a series of great mini-talks with tips on how to do more with less effort. I wonder if it's too late for me to do a talk on techniques for using vim with only 9 fingers.
In the afternoon there is The browser is dead (Dan, you tease, I know you don't really mean it!) and probably yet another language talk before the big Hejlsberg closing keynote which is also free to people who register even if they don't have a ticket. What's with all the freeness this year? Crazy stuff. But if you want a ticket ping me for a discount code.
How I lost a fingertip and gained a ticket to GOTO 2012
Yes, I'm bitter.
It sounded like a great chance to test the amazing technology we have in Google. "Be the first human to test the time machine" they said. "It's perfectly safe, it works just fine on goats".
I volunteered to dogfood test the time machine. I couldn't get in on the Google Glass dogfood; this sounded almost as cool.
The plan was to go back just one day. No dinosaurs, no accidentally killing your own grandmother. And it worked 99.9%. Which I guess is pretty impressive. Better than Meat Loaf's "Two out of three ain't bad". Unfortunately for me, the missing 0.1% was the tip of my little finger!
The day before the test I was sort of expecting to meet myself from the future, but they said that wasn't safe. Paradoxes and such. So I went into it without meeting my future self. No problem, they told me my future me was just fine. I wasn't worried. Nobody mentioned the finger.
I was pretty surprised, then, when I arrived back at the day before and my finger hurt like hell. The blood was a mess, the pain was something else. Basically the tip of my finger didn't make it, it was left in the future when the rest of me went back one day. They gave me some pain killers, bandaged me up and told me to relax in a bean bag chair. There was a meeting in the next room, people were trying to keep their voices down, not succeeding. I decided to barge in on the meeting. Someone was explaining that goats don't have fingers, "there was no way to know". They told me they had already agreed not to tell my past self what had happened. I told them there was no way I was not going to warn myself about something like this. That was why I had already phoned myself up and warned myself.
That turned out to be a mistake. Not the most thought-through thing I have ever done. I blame the pain meds. It turns out they were planning to wait a day, pick up the finger and sew it back on. I would have been just fine in a few weeks.
What happened instead is that my past self was very uncooperative. Basically he said he wasn't going to get in the machine without pain killers. They pointed out that I had gone in without pain killers so it would cause a paradox if he had some. He says, in that case he is not going in the machine.
So now there are two of me.
Why does this never happen in the books? I've read my share of time travel books and I don't remember this issue arising.
We've talked it over with our wife. She is pretty freaked out. To put it mildly. She keeps saying "I thought you were working on virtual machines, not on virtual Eriks". I point out that we are both physical. It doesn't help.
She only wants one of us. And she is picking the me with the intact hand, which is sad, because the way I see it, he is the unreasonable one.
The Danish state isn't going to accept two of us either. I have a CPR number but it's the same one as the other me. They don't just give out new ones to people who suddenly find they need two. And I can't explain the situation, because I am still bound by the NDAs not to tell anyone about the top secret time travel technology.
Google offered me a new job in another country, but after the way I was treated after the time machine accident I am not going to work with them. For some reason the other me is happy to stay.
So basically he gets my life and I get to start over. Sometimes I want to kill him, but not for long. After all, he is me. According to the evolutionary biologist J.B.S. Haldane you should be willing to lay down your life for two brothers or eight cousins. It's to do with the maths of kin selection: They have just as much of your DNA as you do, so they are equivalent to you. This also means I should be willing to lay down my life for one of me. I'm not willing to do that, because he is being an idiot about getting into the machine, but I'm also not going to kill him. Me. Whatever.
The only thing I get is a bit of money, some clothes and a free ticket to GOTO.
GOTO is always a good place to network. This year I have to make it the mother of all networking events. I have three days to pick up a new life.
Moving to the UK is definitely an option. A country that is so terrible at keeping track of its citizens seems ideal. According to John le Carré what you do is go to a church yard and find the gravestone of someone who was born around the same time as yourself. Then you go to the passport office and say that you are that guy and you lost your birth certificate and you need a new one. This sounds like the worst plan imaginable, but it actually worked for John Stonehouse, a British M.P. who decided he wanted a new life down under. It would be good to pick a dead person with a CS degree so I don't have to do that all over again.
At GOTO I will definitely go and see what Anders Hejlsberg is going to talk about. The rumours have been flying. It's something to do with JavaScript according to ZDNet, so it's something I have some expertise in. And I guess there is a certain beauty in the idea of having a twin/evil twin thing going with one of us at MS and the other at Google. On the other hand, he is the evil twin in this affair, so he should be the one that goes to Redmond.
I'll certainly go and see Cantrill and Pacheco talk about debugging stuff that only happens in production. I know all about bugs that only happen in production (well, in dogfooding, which is almost the same), and there's no way I'm going to try the machine again to see if we can reproduce the problem. If they corner me and ask for better dtrace support in V8 I'll just say yes, yes, you can have whatever you need. It will be the other Erik's problem to keep my promises.
Perhaps I should go see the MongoDB talk. They use V8 too and who can resist a talk title with the word "humongous" in the title? No-one, that's who.
At the party, Monday night, I plan to treat the pain in my hand with some ethanol-based pain killers. But perhaps I should start drinking a little earlier, because Contratemporal Virtual Nanomachine Programming In Topologically Connected Quantum-Relativistic Parallel Spacetimes...Made Easy! doesn't sound like something you can really appreciate sober. Also, if it's so easy, how do you explain my finger?!‽
So that's some ideas for Monday. I'll be hanging out in the exhibition area too. Everyone knows that's where the real conference takes place. Though the idea of an unconference has always struck me as being a bit like saying "The parks are the nicest parts of London, so let's bulldoze the rest of the city and have only parks. In Paris we will leave only the cafes and in Brussels we will leave only the high speed rail links that enable you to go to somewhere nicer".
Obviously I'll be posting this only on the Google-internal version of Blogger. Imagine the chaos if I accidentally posted it on the external version!
Interplanetary billards

If you've ever wanted to play at being a god then perhaps you'll find the University of Chicago's
solar system simulator to be as much fun as I did. Here you get to set up moons, planets and stars, press the start button and see what happens. Most of the time it's a demolition derby. The bodies are obviously made of glue, because nothing escapes the frequent collisions.
Making any orbital system stable with 3 or more bodies is well known to be quite difficult. However, it's easy to see in the simulator that if you keep the masses of all the bodies but the central sun down then it gets much simpler, at least on the time scales on which I can be bothered to keep watching. Starting 3 planets at distances of 142, 100 and 50 with velocities of 130, 150, 170 gets you a nice 3-planet solar system which might be OK to live in as long as the planets are much smaller than the star. Increase their sizes and things get interesting in the sorts of ways that wouldn't give
evolution time to work its magic.
There are ready made systems with planets, moons and even a dual star where one of them has a planet. When I got tired of playing with them I tried making more of my own. Two planets at radius 140 and 160 with speeds of 137 and 103 will make a dual planet system that looks fairly stable. This would be something like having a moon the size of a planet, not entirely unlike the world in Ursula K. LeGuin's
The Dispossessed. Again, it works best with smallish planets.
The somewhat more serious, but not nearly as fun simulations at
Princeton also illustrate that making stable several-body solar systems is just not an easy thing to do. Even some of the ones that start off well, such as the 3-body Lagrange orbit or FigureEight5 quickly degenerate into what looks like a drunken game of pool, played with magnetic balls. Still, who would have thought that the figure of eight with 3 bodies was stable?
So it's vital that You budding solar system building deities note how important it is to keep the size of orbiting satellites down if You want more than two of them in your system. If You keep them small enough, You can even have a stable million-body configuration, as shown in
this paper about Saturn's rings. I may be
old-fashioned, but I always feel that having at least one planet with prominent rings in your solar system shows an attention to detail that is
appreciated by any sentient life You manage to breed.
Broken link of the day
Here in Denmark almost all our interactions with the state bureaucracy can be done online. We can do our taxes online, and a thousand other things. That's great.
Until now a lot of the web pages involved were on www.danmark.dk and www.netborger.dk (netborger = net citizen, nothing to do with the
Borg). Now they have been consolidated on
borger.dk. I suppose in some way this makes more sense, but it means that thousands of links have been broken. All links to places on danmark.dk now link to the front page of borger.dk. That's painful enough, but the netborger.dk domain has just been completely removed from the net. There's no clue as to where the content could have gone.
I just hope they haven't dropped the domain completely. Because it will be hawking online casinos really soon if they have.
Reuse of neurons
Few things are as annoying as having to switch between different keyboard layouts. It took me several years to get rid of the nervous twitch caused by switching between German
QWERTZ keyboards and non-German QWERTY keyboards. The nervous twitch when writing my name, worrying about whether I had yet again written "Corrz" has only recently worn off.
After leaving Germany I settled on the Danish keyboard. It's a great keyboard for English, Danish and German. For programming, the placement of the {} braces can be annoying so I have a couple of keyboard macros in my .vimrc file:
map! hh {
map! jj }
The letters 'jj' and 'hh' occur very rarely in normal text so this doesn't interfere with non-programming use of vim.
So, happy as I am with my new employer-provided MacBook Pro, I'm not happy about the differences between the normal Danish PC keyboard layout and the one the Mac supports. It's particularly annoying on external keyboards, almost all of which have the PC keycaps.
It's not that I am totally opposed to changes in keyboard layout if they are justified. The most obvious improvement to the standard Danish PC keyboard is to get the rid of the
currency symbol that squats like a belligerent drug addict in the penthouse of the '4' key. This symbol was invented as a placeholder for various local currency symbols in the days of 7 bit character sets on non-connected washing-machine-sized machines that processed accounts using reels of tape and chugged along with less processing power than a modern day SIM card. But now, what on earth could be the justification for a symbol that means "some currency, but we don't know which one". Find out and get back to us with the answer, dammit! In these days of Unicode and a
three-letter currency abbreviations the only reason for keeping the running pancake in such a prominent position must be anti-Americanism or a misplaced sense of vague internationalism. I suppose it could be to annoy
perl programmers and
vim users.
Unfortunately, instead of turning this piece of prime keyboard real estate over to the rightful owner, the dollar sign, the Mac people have replaced the currency symbol with the Euro symbol. While marginally more useful this is no help for those of us that need the $ symbol (relegated to shift-alt-3) and conflicts with the standard placement dictated by the Eurocrats (alt-e). Granted, the Euro placement is a hugely verbose demonstration of
why you shouldn't let bureaucrats design computer equipment (yes, it's a Word file), complete with a class system for keyboard symbols (level 1, level 2 and level 3 - it is imperative that the Euro shouldn't be on a less prestigious level than other major currencies). However, now they've settled on an standard, there are advantages to following it.
So without further ado, here are a couple of
MacOSX keyboard layouts for Danish keyboard layouts. If you are the sort of person who looks down while typing they will allow the characters on your unseen screen to match the keycaps you are looking at. If you have parts of your
reptile brain dedicated to the placement of the keys it will allow you to conserve neurons and nerves needed to learn a new layout and (not least) switch between the layouts. They are made with
Ukelele and can probably be usefully combined with the use of
DoubleCommand. I hope they are useful to someone other than me.
Labels: PC USB keyboard danish denmark layout command-tilde currency symbol ukelele macos mac os x macosx
Job at Google
Well, after a fairly long process, I finally got a
job at Google in their
Aarhus office. I'm very happy about this, but I can't say a lot about what I'm doing there. I'm employed as a software engineer, which won't come as a shock to anyone who knows me.
They interviewed me for around an hour on the phone, then for around an hour in Denmark, then flew me to Trondheim for several more interviews. Most of the interviews involved writing some code on a whiteboard in a language of my choice.
I've been there a month now and as always in a new company it's a challenge to get up to speed. So far, the best thing about it is the colleagues, and the worst thing about it is the version control system. There's an interesting video of Torvalds
talking about such issues on YouTube and probably
other places.
What I hope I can say is that, in my experience so far, Googlers take the idea of '
not being evil' seriously. But of course, if we were all evil then I would say that too!
Boggle your mind
Perhaps I'm the last in the
blogosphere to discover it, but this
art about statistics and the environment was very impressive.
