Insomnia Log

This is what keeps me awake at night???

Who needs sleep? (well you’re never gonna get it)
Who needs sleep? (tell me what’s that for)
Who needs sleep? (be happy with what you’re getting,
There’s a guy who’s been awake since the second world war)

-- words and music by Steven Page & Ed Robertson

Name:
Location: Boulder, Colorado, United States

Everything you need to know about me can be found in my posts

Tuesday, December 25, 2007

I'm Dreaming of ...

Ye, it's true. Here in Boulder on Christmas we woke up to another inch or two of snow. A bit more has fallen through the morning.

Here are a couple of shots, one from our driveway, and the other from our front porch.



Labels: , ,

Friday, December 21, 2007

Party Like It's 12.19.19.17.19

Betcha didn't know that Y2K was just practice for the real end of the world, coming at the moment of the winter solstice in exactly five years. That would be December 21, 2012, 4:11:23 AM MST. You see, it was all predicted by the Mayans, thousands of years ago.

How is this stupid? Let me count the ways:
  1. This date is claimed to be the end of the Mayan calendar. But in actuality it is just the rollover from the date of 12.19.19.17.19 to the date of 13.0.0.0.0. Oh, yeah, those tricky Mayans used a modified base 20 in this particular calendar, and the fifth digit just happens to roll over from 12 to 13 on 12-21-2012. Kind of like our recent Y2K experience. Except in this case the worst we should expect to see is stone tablets crashing. (Look out below!)
  2. Yes, the Mayan calendar keeps going. And, when it gets to 19.19.19.17.19, it will roll over to 1.0.0.0.0.0. I don't expect to be around to worry about that one. And in fact there are known records of Mayans quoting dates well beyond 1.0.0.0.0.0, 3,000 years in the future.
  3. And, speaking of not being around, did anybody notice that the Mayan civilization is no longer around. Seems like if they were so smart, they'd still be here. There are still many Mayans around, but as far as I can tell the full intricacies of their calendar are only relevant in the study of ancient history (and end-of-the-world hoaxes). I'd say their fancy calendar is no longer relevant.
  4. Of course, all this is based on the interpretation of a dead language and culture by scholars looking at its remnants. Some think the rollover date is December 23, 2012. Others think it is decades off (in either direction), or even centuries. In any case, all the people who know for sure aren't currently available to tell us.
  5. Um, and nobody has any idea what the Mayans actually thought was going to happen at this interesting point in time. They actually used (according to scholars) several interwoven calendars, and the evidence is that they gathered at the end of each cycle to make sacrifices and see if there was going to be another one.
  6. This thing about being coincident with the Winter Solstice is just somebody's idea of tying these two things together to make a bigger event out of nothing. But there's no evidence that the Mayans had enough information to predict when the solstice was going to be this far in the future. The precession of the Earth's rotation has changed slowly over the centuries, and there is no way they could have known how much.
  7. Then there's this thing that people keep bringing up about how the sun is going to be in perfect alignment with the galactic equator on that date. Totally unrelated.
  8. The galactic alignment is supposed to happen only once every 26,000 years. In fact, the sun orbits the center of the Milky Way Galaxy once every 225-250 million years, and oscillates up and down 2.7 times each orbit. That seems to me to imply that we would cross the galactic equator once every 41 million years or so. 26,000 years is approximately how long it takes the earth' rotational axis to precess through 360 degrees. People who confuse galactic orbital position with the precession of the earth's rotation don't understand astronomy.
  9. In fact, if you use the precession calculation to figure out this galactic alignment thing, we crossed the galactic equator in about 1998, so that non-event already happened.
  10. And non-event is what it was. There is not one bit of difference to earth whether the sun is a tiny bit above the galactic equator or below it. No change in gravity. No change in solar flares. No flipping of the earth's magnetic poles. No scorching of the earth by the sun, no gravitational surges, no more earthquakes and volcanos than normal. And the ancient Mayans didn't know anything about the Milky Way galaxy, anyway.
  11. That's, of course, assuming that the concept of galactic equator can be accurately measured from here based on the relatively little information we've been able to collect in a few decades.
  12. In any case, wouldn't 12-21-2112 be a numerologically better date for the end of the world?
So, go ahead and buy some bonds that mature more than five years out, and don't get an adjustable rate mortgage with a balloon payment in five years. Oh, and don't waste your money on any books or movies that try to convince you of this non-disaster, or waste your time listening to anybody who believes this crap.

Labels: , , ,

Thursday, December 20, 2007

Obama is Greater than McCain

Senator Barack Obama recently had a job interview, I mean spoke, at Google, hoping to impress the nerd crowd. And, just like he did previously with Senator McCain, CEO Eric Schmidt asked a trick technical question, although slightly differently this time. No doubt he read my criticisms of his earlier question and tried to tune it up a bit.

As I wrote, McCain lost a good opportunity to profit off his version of the question, "How do you determine good ways of sorting 1 million 32-bit integers in two megabytes of RAM?" He merely laughed it off. But, when Obama was asked for "the most efficient way to sort a million 32-bit integers", he actually made a reasonable but incomplete answer, "I think the bubble sort would be the wrong way to go."

Of course, Obama must have read my earlier blog post and knew that a question like this might be asked. He probably also prepared his answer in advance. But still, he didn't actually answer the question, he merely listed one incorrect answer.

So, what is the right answer. Well, Schmidt again didn't define all his terms. Primarily he didn't say what he meant by "efficient".

Well, to me, efficient means it takes me the least amount of time. So, if I were to be asked this question, the answer would obviously be, load the numbers into Excel and select the Data Sort menu option.

But that is probably not the right answer for candidate Obama. It would depend on exactly what the numbers are and why they needed to be sorted, but in most cases the best method would be to tell one of his interns to sort the numbers and come back with just the top three.

By the way, in my earlier post I said:
Full disclosure. This log is hosted by Blogger, which is owned by Google. So, if this post never shows up in any Google searches, I think I'll know why.
Well, it turns out that there was a huge spike in the number of people visiting my blog with search terms related to sorting of integers right around the time of Obama's interview. This can only mean that the folks at Google are using my blog to help them write better interview questions.

Does this mean I get a cut of the referral bonus?

And, Mayor Giuliani, are you paying attention?

Labels: , , , ,

Tuesday, December 18, 2007

Saba Pictures

I recently wrote about the Saba Hell's Gate Triathlon, which I competed in at the beginning of this month. I thought some of my readers might be interested in some photos from Saba. Click on any picture to see the full-size version.


This is the bike I did the race on. Note the fine natural rust color of the chain, and the ultra-fast, ultra-light race wheels.


We loaded the bikes up on the ferry and cruised over from St. Maarten to Saba. My bike's in the back. Notice that somebody else rented one of these wonder machines.


This is the view of Saba from the ferry. Just five square miles, and its head in the clouds. Not one flat spot. Well's Bay, the start of the triathlon, is just around the point on the right side.


Just to give you an idea of the number of people in the race, here is a shot of the registration and pasta dinner the night before the race.


This is a shot of the race start location from the ferry. If you zoom in, you can see the steepness of the Road as it rises from Well's Bay. Using my protractor, I make it out at about 40%.


Here you can see a rainstorm coming in, like the one that made the race so much fun.


This view from Saba shows the island of Statia in the foreground, with St. Kitts behind, and Nevis barely visible in the background. On a clear day you can see to Montserrat.


This panorama shows the seascape visible from the guest house we stayed at. In the distance you can make out the islands (left to right) of St. Maarten, St. Barths, and Statia.



These are a couple of views of Mt. Scenery. At 877 meters, this volcano is the only cloud forest in the Caribbean.


The patrons of this church in Windwardside (past which the bike course goes) must worship their own interesting version of the Holy Trinity. I visited the night before the race to see if any of it would rub off on me. I believe the names of the three cats are (left to right) Swim, Bike, and Run.

Labels: , , , , ,

Monday, December 10, 2007

Through the Gates of Hell

I just got back from the Caribbean (hence the lack of posts for the past two weeks). We spent most of the time on St. Maarten/St. Martin, but we also popped over to the island of Saba so that I could participate in the Saba Hell's Gate Triathlon.

The Friendly Island Goes Halvsies

St. Maarten and St. Martin are two halves of one island. The former is part of the Netherlands Antilles and is very American (they use primarily dollars, speak English, etc.) The latter is part of France, and is very French (but American-friendly). They use Euros on the French side, which makes it currently very expensive for us Americans.

We'd been to the island of St. Maarten once before, about five years earlier, and it has changed quite a bit. For one, the traffic is horrendous. If you visit, I highly recommend finding a nice spot and remaining there as much as you can during your stay. The roads are in very bad shape, very badly signed, filled with rental cars (and this wasn't even the high season), trucks, buses, endless construction projects, and locals who think nothing of stopping anywhere in the road to say hi to someone. Plus, there are almost no stop signs or traffic lights, and even though there are numerous roundabouts many people don't really know how to drive through them.

The weather was perfect -- in the 80s every day, with maybe one or two 5-minute refreshing rainstorms during the day or early morning. The wind did pick up some times, which added some chop to the water, and made the swimming much more "interesting". I love to swim, and was out every day, and I can say that the water was much more busy this time than when we previously visited. Jet skis, wind surfers, etc., none of whom expect to see swimmers, all made swimming across a bay a bit more of an adventure.

I rented a bicycle from a shop called TriSport, which I highly recommend. The island is very hilly, which makes cycling either more fun or more of a pain, depending on your demeanor. However, what really changed since my last visit was the traffic.

It was generally true that I could ride significantly faster than the cars, but it requires riding very aggressively. I learned this technique by watching the scooters and motorcycles on the roads there. You cannot ride on the right side of the road, as you will get cut off by almost every driver, and the potholes are immense. You have to ride right down the center line. If a big truck is coming the other direction, you simply pop back into the line of cars.

One other thing that has really changed in the past few years is the amount of construction. I had a magazine from a local nature group that had hiking and biking trail maps. I spent a couple hours trying to find a particular hiking trail and a nearby biking trail shown on the map. I finally found some promising dirt roads, only to shortly thereafter get chased out by a guy on an ATV, telling me that it was a construction zone. It seems the trails are gone, and are being turned into a pink hotel, a boutique, and a streaming hotspot.

Spoiled by the Unspoiled Queen

Anyway, on the Friday after we arrived, we went down to the marina, put the rented bike in the back of the ferry, and took a ride over to Saba (also part of the Dutch Antilles). The boat takes a bit over an hour to get there. I knew nothing about Saba before we went, and nothing about the race, other than the fact that it was supposed to have a big hill climb on the bike, and that the run was mostly on trails.

However, from the ferry, I could see the bay where the swim takes place, and the start of The Road -- an incredibly steep incline at the base of an incredibly steep mountain. One of the ferry crew, on discovering I was planning on doing the race, started warning me about how hard it was. He described a 45 degree ascent on a road that was originally believed would be impossible to build.

Suitably scared, we landed. There was a truck waiting to take the bikes to the hotels at the top of the hill, and a taxi waiting for the race contestants. No, I didn't cycle up, even though it was only a few miles to our hotel. The island is only five square miles, and there is only one road (called, The Road), but it rises to something like 800 or 900 meters, and has a cloud forest at the top of its active volcano. The island is nicknamed "The Unspoiled Queen", and has only about 1500 inhabitants.

We had a great visit to Saba, as there is just about nothing to do. (There are no beaches to speak of, although scuba is very popular). Nothing but enjoy the view -- just about 360 degrees of seascape panorama. The village we were in is called Hell's Gate, and the guest house is The Gate House. That's right, a gourmet restaurant, with an award-winning wine list, extraordinary views, and as far as I know not a single door on the island even has a lock.

Isn't a Race Supposed to be Fast?

So much for the fun part. The race was on Sunday morning. No getting around it. As usual, it rained for a just few minutes, but pretty hard, right around sunrise. Made it cooler for the race, but it also meant that the roads would be wet. Yes, the course was mostly uphill, but there are some short, steep, windy descents, and wet roads would make them more treacherous.

I got a ride to Wells Bay, where the race starts, and my bike found a ride in a truck as well. There was just a tiny beach for the start. (We were lucky -- a few days earlier, there was no beach at all.) There was just a tiny field of competitors -- about 16 individuals (like me) planning on doing the entire race, and seven teams of three.

The swim portion of the race (about 800 meters) starts on the beach, goes out to a first buoy, turns left to a second buoy, and then returns to the beach. The swell and surf were significant, but certainly swimmable. However, the buoys were small and were hidden from view by the swell when swimming.

The race started. As the mainlander not used to entering the surf, I was one of the last to actually start swimming. But there was a boat to sight on at the first buoy, I got a good line and swam steady, and I soon passed several swimmers and found myself alone. Eventually, I made it to the buoy, and two swimmers appeared from nowhere.

I didn't know it at the time, but one of the two was the man who had won this race every year so far, and who was to go on to win for the fifth time that day. But at the moment, all I saw was two swimmers, one who turned this way, and the other who turned that way. Of course, I couldn't see the second buoy, so I just chose a course half way between the two.

Of course, that was a bad idea. I was guaranteed to be wrong. But after a couple minutes, I was able to correct my course, and turned a bit behind the swimmer who had gone this way. Then it was hard back to the beach, and I was gaining on him all the way. I was still behind, when, by some miracle, I caught the wave to the shore just right and he didn't. I actually beat out of the water by four seconds the man who was to go on to win the race, and at that point I was in third place (over two minutes behind the two swim leaders), at what was to be my best position all day.

Then it was up the beach, over the rocks, and through the parking lot, where the bikes had been left. I took my time putting my shoes on, because I had just come by car down that road and I knew how steep it was. I had my excuses ready -- I was on a cheap, heavy, rented mountain bike. The chain was rusted (but all the gears worked) and I rode the bike with platform pedals wearing my running shoes. But I was looking to see if I could get up that hill anyway.

Take the steepest climb you've done. Now, double the grade (or maybe triple it). Then, climb that super steep hill for the first kilometer or more of a race, and keep climbing hard for most of the rest of the race. A small number of the competitors in this race actually ride all the way. Most end up pushing their bikes. I rode for maybe two minutes, red-lining the whole time, then zigged when I should have zagged, and ended up unable to continue on the pedals.

But the funny thing is, pushing the bike was almost as fast as riding it, and I was using lots less energy, so maybe it wasn't a bad idea after all. After maybe 15 minutes of pushing, I got to the top of the first climb. I got back on the bike, but I could barely balance, I was so tired.

There were more ups and more downs. Perhaps it was lucky that the roads were wet, as it gave me an excuse to go more slowly on the descents and take the time to recover. Then came the last climb, which was almost (but not quite) as hard as the first. This one I made without walking.

The ride was only 8 kilometers, but it had taken me over 50 minutes to complete. And I was wobbling on my feet as I tried to find the trail to start the run. I was now in eleventh place overall. I just went easy for a bit, hoping to find all the turns in the trail, and hoping to get into a rhythm.

But, alas, a rhythm was not to be found. I recovered my legs soon enough, but the trail got more and more technical. After a bit, it turned into a very long, steep, treacherous descent. I was wearing my road running shoes, the trail was slippery, and, although I run trails all the time at home, this was slow going. I got passed by one, two, three "runners" who, I swear, had mountain goat genes.

The "run" section of this race is only officially 5.3 kilometers, but I didn't get to the 1/4 mark until about 17 minutes into the run. I should be almost done by now! Instead, I'm getting passed by people who train at sea level.

Finally, the trail goes back uphill. Again, incredibly steep. But at least I'm more at home. Trail running in Colorado has prepared me for this part of the race. I start catching up to the people who had passed me. I'm getting more confident. But then more downhill, and I'm getting passed again. And then a very long uphill. I try to use the uphill to get as much time as I can, and I make my way past the three people who'd gone by me a bit earlier.

But there were some more sprinkles. The trail was getting muddier and more treacherous. And this long climb would end with a very steep descent almost all the way to the finish.

On the tricky part, another runner was staying right behind me, letting me pick my way gingerly down the trail in my now-mud-caked and soaked shoes, down the moss-covered rocks, every step carefully chosen. And when we heard steps coming up from behind, my shadow passed me, and then the other runner, leaving me to wonder what special shoes they must be wearing to get through this at such speed. I was well behind both of them at the finish, in 17th place overall (out of 23).

Some of the lessons for anybody to take into this race: First, it's all about the bike. You need to get the lightest bike with the easiest gearing, then you need to spend time training on these hills, or hills very much like them (if you can find them). Second, trail running practice is crucial (although very little of the trail section was actually spent running -- most was "speed hiking"). But having good trail shoes and practicing treacherous, slippery trail descents is the key. You cannot brute force that course.

But here's the biggest take away. This is a teeny race, all local. I'm sure I was the competitor from the furthest away. (Just about all the others were from Saba or St. Maarten or St. Martin.) Not counting travel, the race entry fee is only $35, and that includes not only the t-shirt, the pasta dinner the night before, and the BBQ lunch after the race, but also the taxi rides and truck transportation for the bike all around the island all weekend. This type of small event is something that you will never find in Boulder anymore.

So, if you are interested in doing something completely different, and adding a unique challenge to a relaxing vacation, consider the Saba Hell's Gate Triathlon. Send an email to Susy at TriSport and she'll help you arrange it; she was helpful to me in many ways.

And, by going into the race knowing that I was using the wrong bike and the wrong shoes, I was forced to do the race "just for fun".

[Updated 12/18/07 with this link to my pictures from Saba.]

Labels: , , , , , , ,