I’m visiting my parent’s. For their anniversary they got themselves a new TV and a Blu-ray player. I brought some of my Blu-ray disks so that they have something to watch on it. Since they live in the country, it is hard for them to rent disks, so I even rented some from my local video store as well.
I have a big screen TV and a Blu-ray player, so I’ve got experience with High Definition. And now I’ve learned that I don’t have squat. My TV is big, but it is old. I’m stunned at how sharp the picture looks on their new TV. Watching Avatar, it looked like a science program on PBS. It was better than the movie theatre. It actually looks too good. It doesn’t look like a movie anymore.
We just saw 2012. A hard to believe movie, but you should check your brain at the door. I was stunned at the beauty of the long shots with mountains in the background. Special effects actually didn’t look as good as they would on my old TV. Because everything is sharper, the little errors stand out more.
I need a new TV.
One last thing about the movie, and I’m trying to figure out if I’m right or wrong. Okay, spoiler alert: the apocalypse happens. At one point, they comment that the south pole is in Wisconsin. At the end of the movie they show the earth, and the dawn/dusk line is still going north and south. Shouldn’t it be going towards the states?
Author Archives: Erik
Holy Blap!
It Works?!
This is the Grande Cache area in iCartographer, using Shuttle Radar Topography Mission data.
It’s clear there are still problems, but it is an amazing first run. But this is the first time my program has had to deal with real data, and not just the stuff I randomly generate.
Pretty good for only an hour’s work!
I should still see about getting a dinner.
This can’t end well
So, if I’m left to my own devices, I can get into trouble. It is late at night, and due to possible food poisoning, I still haven’t had dinner. I’m not that hungry, but I’m alert, so I’ve been doing some delaying tactics to avoid getting a meal made. This usually involves trolling the internet. Then what do I discover, but the Shuttle Radar Topography Mission.
Long story short, but it is possible to download the elevation data for almost anywhere on Earth. Some further research, and I’ve found out the file format. It’s really simple!
With just a bit of work, I think I could get iCartographer to read these in.
Then my program goes from just a fun little toy, to… something else. I’m not sure what yet. Educational?
Bind that!
I have been working on adding a new feature to iCartographer. I could have done it very quickly, but I decided to take the hard way. This is sort of like going to the moon. I wanted to learn more about Cocoa Bindings and Key-Value Coding/Observing.
It took a day and a half to get any progress to show up. Even then, there were fundamental problems. Then, yesterday it just clicked. While resting and vaguely thinking about the problem and how to debug it, I realized that the way I was going to debug was revealing the fundamental defect. Once I figured that out, all the bugs disappeared.
I would like to make a release of iCartographer once a month. A schedule like that will keep me focussed. And I had a personal goal of getting this month’s release done on the 15th. I can easily do that now, but I’m thinking that I should do a better job of bullet-proofing the code to handle future features. It’s somewhat hard to justify that when no one has downloaded it. At least I don’t think anyone has downloaded it; Google Analytics isn’t reporting any downloads, not even the ones I did. Does it ignore the ones I do? i.e No one has downloaded it. Or did I set up the downloading code incorrectly. I should look into that.
Time to man up
I feel like a little girl. This is not a good thing.
There was a woman I liked and who was the closest thing I’ve had to a real relationship. There was a bit of a falling out earlier this year. But I thought things had been repaired and we were still friends; albeit long-distance. Today, I noticed that I hadn’t seen a Facebook update from her in awhile. Five seconds of research showed that I was no longer her Facebook friend.
I felt really hurt.
And it has been lasting all day. This should not be happening. Well, the de-friending can and will happen, I understand that. But the feeling hurt shouldn’t. I’m a big boy. Life continues.
But, if I look at it properly, this is a good experience. I probably need to be rejected more often so that I don’t live in such fear of it. Because really, I can’t talk to woman I’m attracted to; too much fear.
Luckily, after the evening run, I’m feeling much better. Because running makes you stupid. (New research is also showing that being stupid makes you a better runner.)
Unnoticed
I’ve made enough changes to iCartographer that I felt I could make another release. Sure, it isn’t much, but I should try and make releases on a regular basis so that I can get into the habit.
Interesting thing: the website wasn’t working for the last two months. It had a broken link that made it impossible to download the application. No one ever pointed that out. i.e. No one downloaded it.
I feel like a starving artist.
Reverse stalking
Although I was never allowed to sign up for Google ads, I did sign up for Google Analytics. That has proven interesting. Basically, I’ve got a report of what kind of people visit my site.
Nothing incriminating.
But I’ve learned that no one has downloaded my program. (Either that or I set up the analytics on downloading incorrectly.) I don’t know how I feel about that. I haven’t advertised the site to anyone, I’ve never even asked my friends to go visit it, so it is not like I can be surprised.
I felt I should only tell my friends to visit it after I was able to put up ads. I figure only my friends would visit the site, and then only once, so I only had a single chance to monetize them.
But, looking at the traffic, what little there is, I am getting the impression that people who aren’t known to me are visiting. Google provides a lovely map to show where people are coming in from, and I’ve had visitors from the U.K., Australia, Finland and India. The Finnish and Indian people (singular) probably came by mistake because they spent zero time on the site. I’ve had two visits from Australia, all from Perth. I have an old friend who I haven’t spoken to in years near there, so it could be him. I do have friends in the U.K., but I’m not aware if they are actually in Sunderland or Northampton. In the U.S., I’ve had visitors from California, Florida, and Michigan. But when I look closer at the cities involved, I’m not sure if I know people from there.
It’s weird thinking that people I might not know are looking upon my works, ye mighty and despair.
Civic duty
I attended a public meeting on rezoning an area near where I live. Currently it is vacant lot, although last month there were two machines digging big holes in it. When I had asked them what they were making, I was told a gas station.
The meeting I was just at conflicts with that theory. The owners want to build a six story condo, but they need permission from city council to get rezoned. I’m normally a fan of infill development, but it becomes a different matter when it is in your own backyard. My big concern is that they want to put a tall roof on it, which will make it look nicer, but block more of my view. I somewhat like the vacant lot because it gives me a clearer sight of southern Edmonton. It’s the same reason I miss overlooking the noisy trainyard, currently blocked by a different four story condo, but with a very tall roof.
But, looking at what the lot is currently zoned for, they could construct a post-apocalyptic nightmare there tomorrow without anyone’s permission. I looked at the list of acceptable uses, and I figure they could make a gas station with an attached liquor store if they wanted. A condo seems like a better idea.
I found the people who attend these meetings interesting; I wonder if these archetypes attend every public meeting? In attendance were the people who were upset that their neighbourhood has evolved (agreeably not always for the better) and had suddenly found a forum to vent about it. Even if completely off topic. They liked to be angry, and wanted to take it out on someone.
A zealot can’t change his mind. A fanatic can’t change his mind and won’t change the subject. – Winston Churchill.
They were like dogs with a bone; couldn’t let it go.
Also there were the people who want to run for council. They aren’t elected yet, but trying to. Unfortunately, this person was trying to cater to the senior’s vote. I did not like her platform.
The biggest issue of the night was one that wasn’t supposed to be covered: increased traffic and parking. According to one official, Edmonton council is trying to concentrate more on moving people instead of goods. So they are focusing on transit and bikes. Hope it works out.
ERF!
This is going to be a complicated post, that probably will make no sense to anyone. Mathematicians might have a better chance, but I don’t exactly know the terms they use so I may be making up my own inadvertently. I’ll probably find this all confusing if I look back at it in a month. For a better use of the word “erf”, may I suggest Erfworld, an amusing webcomic.
So, for the generation of fractal landscape, I should be using the gaussian function. With a random number generator, this creates a better distribution for making landscape. But, I’ve been using a straight linear random number generator. So instead of a bell curve of probability, I have a straight line probability.
In other words, my random number generator is just as likely to make an extremely high positive or negative number, as any other number. I should have been using a random number generator that is more likely to generate a zero than an extreme value. This would cause the land generated to be more even and less… spiky?
Anyway, I’ve been researching the gaussian function. Wikipedia is generally confusing, but it does give me the formula for the distribution. That doesn’t really help me though, I need to make numbers into that distribution, not see the end result of the probabilities. The best way to do that is to take the integration of that. Unfortunately mathematicians assure me that it is very difficult to do that. So I’ve been thinking of using a simple upside-down parabola as my distribution and integrating that.
Fortunately I’ve been having difficulty remembering how to do the integration of said parabola, and then what to do once I’ve got it. I say fortunately, because I realized this evening that I can’t be the only person to have this issue. I quick search under “generate gauss function” and I find that in Matlab (whatever that is) there is a function called “erf” that does exactly what I want. And even better, I’ve found that it is part of the standard math library that is on my Mac.
Happy day. I get to ignore higher order math problems and get straight to programming. This change will require tweaking of other parts to get the distribution proper, but it looks very promising.
What have I learned this weekend?
Two important things. Firstly, when I run quickly, nutrition is different than when I run slowly. For ultramarathon training, I can eat a lot of things and I’ll digest them without too much difficulty because I’m not abusing my stomach too much. Today, I ran quickly and when I tried a fruit leather (safe at a slow speed) my stomach went into rebellion. That affected the rest of the run. Still, I was faster, and I should work on being faster.
Secondly, Sophia Coppola needs to have her movie making license revoked. The last three films she made, I have not enjoyed, but I just saw Marie Antionette and it was painful. It makes Transformers 2 look deep. Nothing happened! And when something starts happening, the film ends. With some editing, that two hour movie could be cut down to twenty minutes. And there was never any reason to care about the title character. I would have gotten the same amount of satisfaction about watching the life of Paris Hilton before her first sex tape. It seemed to me to be an excuse for Kirsten Dunst to be treated like a princess for the time it took to film it. Please take your vacations on your own time.
</rant>
My works, mighty and despaired
Okay, villainy averted. This morning, after breakfast, we went back to Fletcher Falls. The dam was still doing its basic purpose of backing up water. No one had destroyed it. However, everything else had been.
Yesterday, there had been two beautiful stone sculptures; basically stones piled in towers and leaning against each other. I had taken a lot of pictures of them. This morning, someone had kicked them apart. Tragic.
I took pictures of my work, and then cleared it out. It wasn’t as much fun destroying. But it was interesting to see how quickly the level of water dropped. But the fishies will now be able to spawn in peace.
Other than that, it has been a fairly bleak day. Overcast, occasional rain. In the evening there was a squall that put up a lot of whitecaps. But there have been moments of sun and we’ve been enjoying our time here.
I’ve been taking a lot of pictures; I’m hoping to be a better photographer. I’ve been doing a lot of experiments to create HDR pictures. Hopefully they’ll turn out well.
I feel like a villain from Captain Planet
Today is my parent’s golden wedding anniversary. We’ve driven out to Ainsworth, B.C. to celebrate, although it doesn’t look like we will touch the hot springs.
The drive yesterday was long, but the mountain sights were beautiful. It was actually the first time I’ve ever been to mainland B.C. I’ve done the West Coast Trail on Vancouver Island, but that has been about it for my British Columbia experience. (Airports don’t count.)
There are hippies everywhere. I’ve seen more hitchhikers in 24 hours than I’ve seen in my entire life. Anyone who isn’t a hippie, seems to be a motorcyclist; the route from Creston to the north is considered the best motorcycle ride in North America.
We’ve even made new friends. Did I say friends? I meant people we lovingly hate. On the drive from Creston to Kootenay Bay, we fell behind a combine pilot from Saskatchewan who drove a little too slow, and all over the road. He would conveniently speed up whenever there was a passing lane. And we were stuck behind him for far too long. We called him “Rustler” after the name printed on the back of his pickup camper. We were able to pass him five minutes before we got to the ferry, and we stayed that way for the crossing. We got off the ferry first too, which let us stay ahead of him as he was headed the same way.
We think Rustler went to Kaslo, because we’re pretty sure everyone in that town hates us after we went there for breakfast. I got chewed out by a disabled man for opening a door for him he didn’t need. My sister got poisoned by a veggie smoothie with far too much ginger. A lady nearly ran over my mother because we hadn’t left enough room in the parking stall behind us.
After breakfast, we went to Fletcher Falls and found a lovely site to have a picnic beside the lake. But after swimming and lunch, I got bored. Then I noticed the Falls in question were the source of a river into the lake. And being who I am, that river needed to be dammed. I spent several entertaining hours moving rocks around and making a nice waterfall. Unfortunately, as we were leaving we noticed a sign that said this was a spawning river, so it shouldn’t be dammed up. I am now an ecological terrorist. One man (me) can destroy nature.
We’re going back tomorrow, so I’ll tear down the dam. Hopefully after I’ve taken a picture of it. Unless the hippies have already taken it down.
After champagne at my parent’s rented condo, we went to dinner at the Ainsworth hotel. Under my rules, I had to have the salmon. You have to have the specialty of the province you are in: In B.C. you have the fish, in Alberta you have the beef, in Saskatchewan you have the grains, in Manitoba you have the perogies. It was a nice dinner, and not too formal a place. We all left happy.
My mother thinks this was the best day ever. I guess making an entire town hate you is what brings this family together.
Colours and heights
So I’m getting back to iCartographer.
I still haven’t been able to get advertisements on the site, and I think I’ve stopped trying. Maybe after I put a few more updates on, then Google will accept me into their evil empire. But at present there is no incentive for me to tell people about the site; I can’t monetize my friends. Yet.
So, I’m backing away from updating the website. Although I have started using php to support it. That should allow bots to troll it better.
I recently got a desktop atlas. The maps I’m making did not compare well with it. The land I generate is all greyscale, and let’s face it, kind of depressing. So I decided to do some experimenting. I took the exact colours (taking a digital colour picker to their website) from the book and started to use them in my program. This revealed two new problems.
The first problem is that the book’s colours were picked to allow named places to show up clearly; they are muted pastels. I never changed my ocean colours which are vibrantly blue. This makes it so that the land is actually hard to see as it is washed out. I could reduce the vividness of the oceans, but I like having colourful maps. I think I’ll have to acknowledge that the land colours need to be selected differently.
The second problem is that the colour is giving me a better idea of the actual elevations that my program is generating. In the atlas, huge tracts of land are below 500 meters above sea level. In my program, barely any is. If you look at an elevation histogram of earth you can see that land elevation is like a hockey stick (backwards in the linked picture). So I’ve started doing some new experiments with the program to better approximate that. I’ve found that putting the elevation to a cubed power and then scaled back down works fairly well. But this has revealed a third problem.
This new problem is a fundamental flaw with the program. Mainly that I do not understand how fractals really work. Most of my knowledge has come from a few books that just give me enough information to be dangerous. But at a fundamental level, I don’t know what I’m doing. This comes into glaring realization when I try and increase the granularity of an already generated map. If any modifications have been made to the map, there is a good chance the new granularity will not be at an appropriate scale.
This is something I’ve got to work on. I need to better understand my project.
Surprise, surprise. I’m alive
Despite my best efforts, I appear to have survived and passed another Death Race. CDRX.
My big concern before this run was a possible injury in my IT-band. A week before the race, my hip started hurting after doing some stair training. It was persistent. A visit to a therapeutic massage helped quite a bit, and I had been taking ibuprofen to help reduce any inflammation that might have been happening.
But, let’s go through an analysis of my three attempts at this race. My results are this:
Rank | Leg 1 | Leg 2 | Leg 3 | Leg 4 | Leg 5 | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Overall | Gender | Age | Denard | Flood | Grande | Town | Duck Pond |
Hamel | Ambler | Hell’s Gate Road |
Hell’s Gate |
Finish |
2008 | ||||||||||||
44/223 | 38/177 | 10/54 | 02:02:50 | 03:49:10 | 06:10:56 | 07:16:45 | 09:51:27 | 13:34:03 | 15:33:35 | 17:47:01 | 19:47:25 | 22:19:58 |
02:02:50 | 01:46:20 | 04:08:06 | 05:13:55 | 02:34:42 | 03:42:36 | 05:42:08 | 07:55:34 | 02:00:24 | 04:32:57 | |||
2009 | ||||||||||||
56/232 | 43/171 | 12/42 | 02:06:49 | 04:00:37 | 06:26:35 | 07:36:30 | 10:25:13 | 14:12:57 | 16:11:35 | 18:33:54 | 20:38:51 | 23:01:27 |
02:06:49 | 01:53:48 | 04:19:46 | 05:29:41 | 02:48:43 | 03:47:44 | 05:46:22 | 08:08:41 | 02:04:57 | 04:27:33 | |||
2010 | ||||||||||||
78/418 | 64/304 | 30/112 | 02:00:37 | 03:42:42 | 05:56:43 | 07:04:50 | 10:08:16 | 13:39:11 | 15:25:41 | 17:44:38 | 19:41:41 | 21:41:51 |
02:00:37 | 01:42:05 | 03:56:06 | 05:04:13 | 03:03:26 | 03:30:55 | 05:17:25 | 07:36:22 | 01:57:03 | 03:57:13 | |||
In 2010, leg three was extended by two kilometres, and leg four was reduced by the same amount. |
For each point on the race, the top number is the overall time to hit that course point, while the bottom number, in italics, is the time to reach that point since the start of the leg. For purposes of ranking (among other things) I am male and aged 30-39.
The rankings also don’t tell the whole story.
In 2008, there were 223 people signed up, but only 81 finished, and only 172 people got to the end of the first leg. That implies to me that only 172 people bothered to show up and attempt the run. The weather that year was good for running, with a high of 14 degrees. Nice and cool.
In 2009, there were 232 people signed up, but only 80 finished, and only 194 people got to the end of the first leg. I would say that 194 people showed up to run, but I remember seeing people dying on the first leg of that year. Almost literally; ambulances were involved. The temperature was 27 degrees that day which made it far too hot for most people. And as you can see, I was slower. I’m assuming the heat was the reason I got huge blisters all over my feet.
In 2010, there were 418 people signed up, but only 150 finished, and only 335 people got to the end of the first leg. Weather wise, I was thinking this year would be a lot cooler, but then looking at the predictions I found out that it was only two degrees cooler than last year. However, the clouds were much more forgiving. Annoyingly, the day before, and the day after, had great running weather; a day later, and I would have been running in clouds on Mount Grande. That would have been gorgeous.
I am consistently in the bottom half of people who finished. But considering that, on average, only 35% of people who sign up will finish, I’m okay with that. Heck, Jack Cook, running god that he is, who has won it three times, failed to finish it the past two years. I actually saw him throwing up on the top of Mount Hamel.
The first leg was the pretty much the same for every year. The goal is not to tire yourself out for the rest of the race. But because Grande Cache is so beautiful, I wanted to take pictures; I attached a camera bag to my waterbelt. Unfortunately, it slipped around my waist to position itself at my front, where it proceeded to bounce and hit parts of the anatomy that shouldn’t be hit. Eventually I got it to my side, where it still bounced. By the end of Leg 2 it was causing bruising, so I left it behind.
There was also a van “parked” in the middle of a creek bed on Leg 1. Someone was trying to use the ATV trails?
Leg 2 showed me the success of increasing the amount of stair training I had done. I found going up the mountains easier. And I never felt the need to stop and rest on the slugfest. At the rest station going up to Mount Grande, I was pulled aside and asked a few questions. A volunteer was concerned about me. I assured him I had been drinking lots of water. However I hadn’t been urinating, which is apparently an important procedure for continued health. I also told him I hadn’t been taking any ibuprofen. It would later occur to me that I had had some four days earlier and how would I know if it was out of my system. I would spend the rest of the run deeply concerned about any pains in my lower torso, sure that it was evidence my kidneys were failing.
I was trying a new strategy this year; eat more. In past years I would start losing energy in Leg 3, after covering 60km. From discussions, I figured it was because in the first leg I wasn’t eating anything (wasn’t hungry) and that was putting me in a deficit that I wasn’t getting out of. I figured out a way to make bottles of Boost much more convenient for drinking and was sucking them back for most of the course. However, the problem with eating more, is that you digest more. I should also have varied my food choices better (more protein). Leg 3 was where my body rebelled and I had to commune with nature.
Leg 3 was a very tough leg. It is often thought of being one of the easiest, because it is all downhill. But the footing can be treacherous, and due to the valley focusing the heat, and the time of day, it is hotter than it has any right to be. This year was especially bad, and lots of people dropped out after it. It was also two kilometres longer, and these kilometres were along a train track that seemed to radiate heat.
There was also administrative errors happening. Because Leg 3 was longer, the brochure stated that the cut-off time was extended by 15 minutes. That information didn’t get communicated to everyone, so some people got pulled off when they shouldn’t have.
According to the support team, many people came off Leg 3 looking terrible. I was not an exception. I needed quite some time in a chair to feel human again. But I knew that Leg 4 started with a long slow climb in the shade that would give me several hours to recover. The stair training made the climb easier than in past years. Don’t run the hills.
From the top down the sun started setting. (Wish I could have gotten a picture of it.) With foresight, I had taken my headlamp out early and was ready for it. It was still scary watching the person ahead of me NOT get their lamp out, despite going down “boulder alley” in increasing darkness. I had to tell him to let me pass because I didn’t want to be around when he injured himself.
When my lamp came on, I should have put my goggles on as well. But I quickly discovered that they were persistently foggy and impairing my vision too much. I decided to risk a branch in the eye just so I could see where I was going. Since I can still have both my eyes, it seems to have worked out.
The interesting thing about running in the dark is that it is so much harder to tell what slope the ground is at. There were many times that I was convinced that I was going uphill, albeit gently, and therefore an excuse to walk, when after looking at the elevation profile provided by my GPS unit proves I was level at worst.
By this time, last year, my feet were a mess of blisters. I had to stop off at one of the ambulances they had wandering around at Ambler and they put some protection over them, that really didn’t do anything. This year, I was mostly free of blisters. I had had a new strategy for them this year, which was: Don’t do anything. Previously I had used blister-proof socks, but I realized a few days before that I had not trained in them for many months. And the rule for races is to not experiment. I just used my regular socks, and didn’t worry about things. Now I only have blisters on my middle toes.
The run down Beaver Dam Road, all downhill, was not as fun as it sounds. I felt like I was going fast, but evidence proves otherwise. And at the end, my quads were in pain from all the braking. Lifting my legs was getting harder. But at the bottom, the start of Leg five, I was feeling much better than the start of Leg four. It was cool now.
While doing the fourth leg, I started to get a goal of finishing in under 22 hours. To do that, I would just have to shave fifteen minutes off my best time for Leg five; not outside the realm of possibility. While recovering at the transition station I figured I only needed to do 6km an hour.
Unfortunately, the first half of Leg five is brutal (brutal considering people have just run 100km.) It starts with a 100 metre climb followed by a long run through roots, rocks, and other tripping hazards that are hard to spot on a narrow path in the middle of the night. After an hour and a half, my GPS unit claimed I had only gone 6km. After the river crossing there is another steep hill, probably about 230 metres, followed by the “Root Route”, i.e. tripping hazards. But a funny thing happened; I found that if I actually ran, instead of shuffled along, it was easier on my quads and I didn’t seem to trip as much. I made excellent time, passing many other runners/walkers. It helped that I was convinced Mike would be right behind me; he always does better in the coolness of night.
I think the GPS was off, maybe it was only measuring horizontal distance? I crossed the finish line with thirteen minutes to spare. That got extended to eighteen minutes when they took into account the time it took to cross the river.
Go Death Racer!
Pre-Death Race
I’m in Grande Cache now. Tomorrow I run the Death Race once again. Today was great running weather, with it being fairly cool with cloudy periods. There were a few droplets of rain, but nothing serious. Tomorrow though, I hope the weather is the same. I’m not sure how I’ll feel about rain. Depends how hot it is.
Technically it is only going to be two degrees cooler than last year; last year was way too hot.
The hotel had told us that there would have A/C installed by this year. That was a lie. Apparently Toronto took them all because they had a heat wave there. This is why no one likes Toronto.
Corporate whore
I’ve finished up my program to the point where I’m not embarrassed by it. There are still many improvements, but I’ve applied the paint and screen doors so that it is usable. Since I have a good foundation, adding more features should be easy to do. Easier.
I realize I will never make any money off of this. Well, certainly not enough to make it worth my time. But it has been a good learning experience and I’ve enjoyed the act of creation. There is still a way that I could make money off of it. I read, long ago, that you can make money off of free programs if you place ads on the website where people can download it. That actually sounds reasonable. And until I get it to the point where I could feel it is worth charging money for, that will work.
So I went to Google and tried to figure out their system. They want to make money off of me, so I assume it wouldn’t be too hard. I applied, gave them my website, and waited. I didn’t wait long; the next day I got denied: Under construction.
I couldn’t argue with that; I wanted to get the ads before I made the website so that I could incorporate them nicely. Apparently that is backwards. At the time, I only had one page that admitted it was under construction. So I spent a day creating the website, giving it content. It was totally different. I applied again.
Denied: Under construction.
By now I’m figuring that the problem is that they are only looking at what is in their cache. If you searched for my website, and then looked at the cached version, it would only show the old page. I’ve waited a week, and now I can see their cache has some of the new pages. To even help the process along, I added more information and even documented my program.
Hopefully, I will have “Sold out to the Man” soon.
Stupid distance running
We decided to do our longest distance training run today instead of Sunday. That meant that I wouldn’t have to get up early on Sunday and I could go out to New City on Saturday night. That plan seemed so much more plausible before I pounded 62.5km over an eight hour period today.
My official excuse is that my party clothes don’t fit anymore. It looks like someone implanted contraband plastic bags in my legs. My waist is fine, but my thighs are grossly out of proportion. And I don’t have fat person pants.
This was the longest training run I’ve ever done. The planned route had an interesting concept; only cross two bridges. And the bridges were the furthest two that pedestrians can take in Edmonton; Rundle Park and Anthony Henday. Looking at the map, we left the city limits on both sides of Edmonton.
The weather, for the most part, was very good for running. It was overcast and cool. However, the weather report lied and it got sunny in the afternoon.
There was a 22km section where there was no place to refill water. So before we left, I went over my orienteering map for Laurier park and found where all the water taps were. The first one was broken; the top came off of it. I couldn’t find the second. The third one was fully operational. Unfortunately it was right next to a big picnic party. After 45km we didn’t care. Plowed right through it and tried to take over the tap. There were a lot of kids playing around, having water fights. They also kept cutting in line ahead of us. But eventually we were able to soak our heads and fill our water backpacks.
The last 15km was especially bad, because the sun really came out. We split up as we were all going different speeds.
I discovered that my shoes are only really good for 58km before they stop working. Better than my colleagues. The cushioning was gone by then. Still, I made it all the way back to our marshalling point. I actually tacked on half a kilometre extra so that I would be at one half of the distance of the Death Race. And now I can’t help but think that if I had run 800 meters further, I would have completed a marathon and a half.
Hypocrits
Planned obsolescence is not a good thing for consumers. It strikes me as something only villainous companies would do. And MEC has just sauntered into that category. I no longer believe their greenwashing.
Let me explain.
When I was in L.A. several months ago, I brought my two pairs of sunglasses with me. As these things are wont to happen, I lost one pair down there. So, in my household I only had one pair of sunglasses that now needed to do double duty between driving and running.
When I went to Florida a few weeks ago, I brought that one pair along. Due to me using my backpack as a pillow (word of advice, backpacks aren’t very good pillows) one of the lenses popped out and was lost. I scoured my backpack for it, but it was gone. Probably in an airplane or in the Toronto airport. In either case, lost forever. I was completely without eye protection.
Florida is very sunny. I think they may even advertise themselves as that. So, after a few attempts, I decided that sunglasses were a necessity and so I purchased a cheap pair from the hotel gift shop. With these, I was able to survive the Sunshine State.
When I got back home, I decided to try and get new lenses for my previous sunglasses. The only reason a lens was lost was because it was interchangeable. If they had been more solidly built, I would have been fine. Still, the lenses should be fairly cheap.
But planned obsolescence can be covered by discontinuing a model and no longer supporting the parts for it. I see no reason they needed to do this. The technology of frames has not significantly changed, and even if they had, interchangeable parts have not. So to spite them, I purchased two more pairs of sunglasses. (Yes, I realize that doesn’t make sense, but I’m bitter.) I know I’m going to lose a pair eventually, and I want a good backup.
Half a week later, while turning my backpack upside down, the missing lens showed up.
From zero to four sunglasses in a week.
With Great Power comes great responsibility
I’m continuing my development and things are shaping up nicely. Right now I’m focussed on cleaning up the code. With the sphere stuff mostly working, I’m concentrating on all the other basic features that the program should have and fixing bugs.
So it is actually starting to look like a real application. And this evening I put it through its paces. I slapped together support for printing, and I’m finding out what a monster I’ve written.
Here’s the deal: The program will generate a world map that is rather rough. These can be spit out very quickly. When you find a map you like, you should then start manipulating it. One of the basic manipulations is to make it less-rough. I call it “increasing granularity”. It adds more details, allowing you to zoom in more and still have a nice view. Since a printed copy is more detailed than the screen, it makes a better image for printing. But it also quadruples the size of the map.
So I found a world I liked, increased the granularity several times and then printed it out. This brought my printer to its knees. I have a nice laser printer, and it took 14 minutes to spit out the final map. One page. Simple maps come out easily, but this was a 12mb file.
I wish I could say that it looks gorgeous, but it doesn’t yet. It looks impressive. The problem is that I haven’t been doing as much with colour as I would like. The water is nice and vibrantly blue, but the land is in greyscale. So it looks rather bleak.
Still, I like looking at it and seeing all the coastal features that have shown up. There are a few interesting archipelagos that catch the eye.
But as much as I would like to get more colours in this, I want to finish cleaning up. Once I have done that, I’m going to put it online so that it can be downloaded by people who are interested in this. (Or, as I like to refer to them, “my testers”.)
Stuffed to the gills
I declared my home a unicorn-free zone because of the growing plethora of stuffed animals. I wanted to make a hard limit as to where the girly-ness could go.
It doesn’t help that when I come back from vacation I find that my stuffed dog seems to have acquired a friend. The new dog seems to be eyeing the ball of my old dog. So far no stuffing has been drawn, but I don’t know how long the peace will last.
Learning experience
While I was in the States, I purchased a 12-pack of Vanilla Coke. I prefer regular Coke, but every so often a change is nice and I can’t get them in Canada.
But a word of advice, don’t pack in a rush with barely any sleep. You might not put enough padding around delicate items.
My suitcases came out or the luggage carousal with a slight vanilla smell.
Overview of a vacation
I had a good time but I am still leaving disappointed.
On my last vacation to Jamaica I connected with someone, and it made the trip so much more awesome. I felt good about myself. I want that to happen on every vacation. I was hoping for the same thing this time; to be with someone who really does like me and shows it. (I’m probably going to get called on that last sentence, but I don’t have the energy to thesaurus-ize it. Please keep a clean mind and I do have friends who like me.)
So in comparison, I’m feeling lonely.
The trip started very well. When the shuttle to the hotel picked me up at the airport, it was already filled with friends I knew. We started catching up immediately. Poetically, at the end of the trip, I left totally alone in the airport shuttle. Apparently to sit in an airport and do nothing for two hours.
Now, if you can’t be with someone flirty, being with friends helps a lot. And I spent a lot of time with them. I saw the sun rise twice. There were several times where I only had one meal in a 24 hour period. (I may in another one of those right now.) The sun was blazing hot, and I got a bit of a burn at a great pool party. This morning/late last night, I met a group of Australians and got to know them as they analyzed my life for me. It meant a lot to me that when a friend was leaving, she called me up because she wanted to say goodbye personally. (Leaving me with one and a half hours of sleep today.) And I made people around me happy. I like that.
Early morning/late night
Okay, aside from the aforementioned typing problems, I really didn’t get a buzz this time. And I drank about the same amount of alcohol. But sleeping and eating have really improved me. I had no trouble staying up late. Or dare I say, early, because I do believe that is the sun rising over there.
Wish I could share this lovely day with someone.
Is their a medium-appropriate word for slur?
So to fortify myself for my nights out, I’ve gotten myself a economy-size (1.75L) bottle of lemonade Margarita. (I’m a girl-drink drunk apparently.) It is going down quickly.
Is it just me, or am I having a harder time typing?
Truth
Or it could be that I’ve only had one meal in the past 24 hours. Being hungry makes me cranky. Mostly with myself.
Stupid brain
It’s a bit sad when the highlight of your day was figuring out a programming problem. Well, it is sad when it happens on vacation. I’m continuing to assert that I like myself better after I’ve been drinking. Socializing with strangers is actually possible. Whereas after I’ve sobered up, it is just embarrassing.
And look, I’ve become introspective. All this, and my moody attitude, is probably because I have had barely any sleep. My vacation flight left at around 1:00 AM, on Friday. So I’m going to go to bed now and try to become a better me.
Recognition
The flight map indicating we were near Orlando. I looked out the starboard side of the plane and I saw something I recognized. Cape Canaveral! Over two years ago my family went to a beach near there and we saw the shuttle in the distance. That was enough to spot similarities and I was pretty sure I had it right. The pilot then came on the speaker and confirmed.
There were two rockets ready on the launch pad. Nearby was the landing strip where Atlantis came in for its final landing a few days ago.
Unfortunately I didn’t see anything take off.
Off again
Okay, off to Fort Lauderdale.
Didn’t I mention this?
While I was still employed I arranged to meet some friends down in Florida for this weekend. Plane ticket was already paid for, so I’m not going to back out now.
I really don’t know what I’ll be doing while I’m down there. I haven’t been planning this well. So far, my plan consists of staying out late and going to parties. I don’t know what to do during the day. I probably should go swimming on the beach.
I wonder if I can go running anywhere?
The last time I was there I came to the conclusion that Florida has the worst orange juice in the world. I mean it was really bad. I’m going to give the chamber of commerce a chance to change my opinion.
Squares into round holes
I had success today.
A few days ago I got great circles working correctly and displaying a bounding box. The big problem was that the corners weren’t hitting each other. There was either extra line or the lines weren’t meeting. I started doing hacks to get the lines to meet up better; the code got uglier and uglier.
I assumed the reason for the problem was that the computer wasn’t precise enough and the vectors and unit circles were getting a small rounding error that was turning into a very big, very visible line problem.
Today I found out the real reason. Once again, hidden in the low level code, I was using the wrong kind of number. An integer when I should have been using a real/floating point number. With that out of the way, the “square” is showing up quite nicely. I still need to clean up the code and make it more efficient, but that was a big hurdle.
A bigger hurdle is going to be to take that “square” and project it onto a plane so that I can actually make another map out of it. A lot is hinging on the square I used being the correct shape to project as a square. I hope I chose wisely.
Canines to the left. Felines to the right.
I need to do hill/stair training. I try and do that on Tuesday mornings, but I skipped it this week because it was too hot. I figured I would make up for it this evening. I changed, got ready, and stepped out the door. But between the front door and the exit to my building I got distracted by a neighbour.
It would have been a nice run except for the cats and dogs. The raining of them.
I still tried, and was out for about 25 minutes. I got thoroughly soaked. I almost thought it was hailing. By the time I came to my senses and turned around, puddles had grown exponentially. I didn’t even bother trying to avoid them; my shoes couldn’t take on any more water.
I thought I wouldn’t be needing my electric blanket for awhile, but it was a nice way to warm up after that debacle.