Monday, September 11, 2006
The Youngest is now 2
Wednesday, August 23, 2006
Spell Checker Poem
Thursday, August 10, 2006
.NET 2.0 Website Conversion: AutoEventWireup Fix
So now we've got AutoEventWireup set to true by default, and the wizard removed the "Page_*" methods from our InitializeComponent() methods. But we still have events firing twice. The last part of the puzzle is how to remove the remaining page events which are manually wired up. Regular expression searching to the rescue! You can use Visual Studio's "Find in Files" feature (say that 10 time really fast!). Click on Use Regular Expressions in the Find Option section and then paste this in the "Find what" text box:Event wire-up is done via reflection, but the type-descriptors are cached (so the lookup is one time only).
From a performance measurement perspective, there is no difference between autoeventwireup=true/false. That is one reason we switched to it as the default with VS 2005 Web App Projects.
\+=:b*new:b*System\.EventHandler:b*\(.*\.Page_This will search for adding a new System.EventHandler for a Page directive, and should take care of most variations in using white space. It will also handle the "this" keyword is in front of the delegate name. I hope this helps someone else out there understand how AutoEventWireups work, and how to fix your web site if you run into the same situation as I did. Please leave a comment if it helped. Thanks! [Update: You'll also want to check to see if the AutoEventWireup @Page attribute is explicitly set to false before you remove the wireup from the InitializeComponent() method, or else the page event won't fire!]
Friday, July 14, 2006
I Rode "Goliath"
Melissa and I took the kids--well, the older two kids--to Six Flags last Sunday. Had a blast! They removed the "Great Gasp", the ride where you go straight up, hoisted by cables suspended from a big tower, and then drop back down to the earth. In its place is the latest roller coaster: Goliath. It was pretty cool, but I was holding my glasses so that they wouldn't be blown off by 70 MPH winds, so I couldn't see very well (everything was very blurry, though even if I were wearing my glasses thing probably would still be blurry), but I sure could feel the ride.
Oh, the picture above is a piece of canvas attached to a tree next to the queue line for the Log Jamboree ride. It's just the thing to do at Six Flags: put your gum on a tree for all to see! I joked with Emmie that maybe they would let her take it home with her at the end of the season...
In this picture you mostly see the "Georgia Scorcher". Part of Goliath can be seen in the background (teal support beams and orange track). Most of the Goliath ride is outside of the park. You go over the entry/exit road, do some spins and humps, and then go back into the park to finish up. In fact, this picture shows the cul-de-sac where the parking log tram drops folks off at the ticket counters. Where you see Goliath in the background is actually outside the park.
I also got to ride the "Batman". Again, I was holding my glasses, just to be safe. The best part of that ride is the queue line as you wait to get on the train (in which you are suspended from the track). It looks like you're walking into Gotham City, or at least the dump. Well done!
Madeline's favorite ride was the "Gotham City Crime Wave", a ride where you're suspended in a swing and they spin you around and then tilt the top of the swing. At the end of the first ride they said you could stay in your seat if you wanted to ride again (the lines were very short at this time of the evening--about 7:30 or 8). She rode it about 7 or 8 times in a row!
We got Emmie on the Canyon Blaster--her first roller coaster! This was also Madeline's first roller coaster last year. We also rode the Wheelie--but I don't think any of us liked it! The bumper cars were a hit, though, except Emmie complained that it didn't last long enough.
We arrived when the park opened and we left when the park closed. That was a long day, but definitely a fun one!
Friday, July 07, 2006
MaxiVista Update
I tried the demo of MaxiVista and liked it, and then it expired. I uninstalled it. I forgot about it.
Recently, however, I have wanted to control the information coming at me a little better, and I remembered MaxiVista. So I bought the Pro version. (This version does everything except mirror your desktop on another computer--I don't foresee the need to do that.) Now I have my e-mail client open on the secondary PC and my main work open on the main screen. I can move windows around from screen to screen if I want to change where they are located.
One thing that this version does that the demo version did not do is control the second PC from the first one. So instead of making your desktop span multiple screens, this allows you to use your primary PC's keyboard and mouse on your primary PC and then drag the mouse to the other monitor and start accessing that PC's files and programs--all while still using your primary PC's keyboard and mouse. Pretty neat, though I'll still probably not use that feature all that much. A side effect of this feature is that you can highlight text on one PC, copy it, and then paste it onto the other PC.
MaxiVista also allows up to 4 PCs to be used--the primary plus 3 others. Right now I only have two laptops in use (which I think is enough for now at least).
Configuration: By default, it is configured for "Maximum Speed". This had a noticeable effect on what the desktop looked like on the second PC, so I changed the setting to "High Picture Quality" and that seemed to take care of it (the maximum setting is "Maximum Picture Quality", but "High Picture Quality" seems to give me the best look/speed tradeoff).
I just wanted to follow up on this since I said that I would.
[Update: After browsing through the documents at the MaxiVista web site, I came across this note in the Version History page:
For experts only: To change the MaxiVista behaviour when locking the Viewer PC, you can alter value "2" to "1" in following registry key: [HKEY_CURRENT_USER\Software\MaxiVista\A2\username]"lock_method"=dword:00000002 (video tutorial)
I much prefer the setting set to "1" than "2". In this mode, the monitor program on the second laptop doesn't close when the primary laptop is locked, so I don't have to reposition all the programs back onto the secondary laptop/display once more after logging back into Windows. Note that "username" in the registry key name should be the name you logged in with, not the literal "username".]
Thursday, July 06, 2006
I Saw "Sally Carrera"
My office building also houses the Porsche North American Headquarters. There is always a Porsche on display out front, but the other day there was a slightly different one parked in front of the building.
I was coming back from lunch and was walking from the parking deck (shown in the background of the picture) when I saw people looking at the car. One guy was taking a picture of it with his camera phone (or would that be "phone camera"?). I didn't think much of it since, like I mentioned, there's always a Porsche on display. Also, since I was coming up from behind the car it didn't look any different than any other Porsche (except that the roof line looked different--it was bubbled up/more pronounced than other Porsches I've seen).
It was only when I got to the front of the car that I noticed what the commotion was about. So I joined the small crowd and took a picture of my own.
Here are some links about Sally:
Wednesday, May 24, 2006
Aerial
Monday, May 22, 2006
Hammock is Fixed
A while back a friend helped me dig a couple of holes so I could put some 6x6's in them to support our hammock. When we moved into the house 4 years ago, one of the first things we noticed was the lack of trees large enough and appropriately spaced to support our hammock.
Well, as it turned out, the holes were just slightly too close together, and when I first sat in the hammock my posterior touched the ground.
I've been thinking for a while on how to fix this. I've had friends suggest elaborate ways of getting the hammock operational for adults (the kids had no problem with it--Madeline even figured out that if you twist the hammock over and over several times then the ropes get more taught and thus the hammock hangs higher off the ground), but I was pretty sure there was an easy (or at least easier) fix.
Here are the pictures of my simple solution, though with only a 7 1/4" blade on the circular saw I couldn't cut all the way--or even half-way--through the 6x6's. I cut one side, then the other, then finished off with a hand saw (which I discovered was either dull or just couldn't handle pressure-treated wood).
And here is a close-up of the cut I had to make. Note that the hook is now on top of the 6x6 instead of on the side. This has two results: the hooks are further apart so the hammock is more taught, and the hooks are higher off the ground so adults can use it now!
Thursday, May 18, 2006
New Paint!
No, not me--the house! :-)
We've lived here for the past 4 years (my how time flies!), and the house still had the original paint that the painters put on. And it showed!
We had originally gotten quotes about a year and a half ago, but didn't have the money at the time to get-er-done. Well, I don't care what people say about tax refunds being an interest-free loan to the government, but I was happy to receive one large enough this year to be able to get the house painted!
So we changed the colors a bit. The stucco on the front is now more brown (I would call the old color "pinkish", but Melissa would disagree with me), and it is the same color as the siding on the back. (The siding on the back was sort of a taupe color.)
The front door used to be black, but Melissa saw some paint combinations in the paint store and decided that she liked this "cherry" color. I like it, too, but we both think that at least one more coat is needed.
We had our old house painted once while we were there--I had forgotten just how much newer a house looks with a fresh coat of paint!
New Glasses!
No, not me--Madeline.
Melissa and Madeline had eye appointments on the same day, one after another. The doctor, a friend of ours from church, let them look and see in each other's eyes.
We knew from an appointment earlier in the year that Madeline's vision was getting to the point (already!) where she would need glasses. We decided to wait then, but not this time.
One trip to Costco was all it took pick out a pair--Madeline saw them right away, too. They are light metallic pink (of course!) with little flowers at the edges--you can't really see them too well in this picture.
And already she has come home from school with one of the temples bent at a severe angle. She claimed that she didn't know how it happened. I was able to gently bend them back, though, so they're as good as new again.
I don't think the name calling has started, yet, but four eyes are better than two any day!
Monday, May 08, 2006
Seattle
I think I mentioned a while back that I was going to Redmond (near Seattle for those of you who are geographically impared) for some training. That was about a month and a half ago. The night before I flew back home I managed to get downtown to the Seattle Center--that's where the Space Needle is.
I was there with a co-worker, and the plan was that we were going to eat dinner up there. But after looking at the menu (especially the prices) we decided not to. But I took this cool picture:
Emmie's Soccer Trophy
We signed Emmie up for soccer. To put it nicely, that was a mistake. She never really got into it. But I'll spare you the details, other than to say that the only way I could convince her to go to her last soccer game on Saturday was to tell her that this was the day that they were handing out trophies. So she's very excited in this picture! :-)
Monday, March 20, 2006
The Number of the Beast
Monday, March 13, 2006
Glaucoma! Glaucoma! Glaucoma!
Friday, March 10, 2006
Redmond, WA
Monday, January 23, 2006
Monday, January 16, 2006
In Case of Emergency
Sunday, December 18, 2005
Fun with Paint.NET
I downloaded a free program which you can use to do pretty cool image manipulation. It was designed in a college course at Washington State University, and now it is refined by the same folks who created it (i.e. they graduated). The program is called Paint.NET, and it was designed to work similar to Photoshop.
I should add that the original programmers now work for Microsoft.
Anyway, I found a picture of Emmie from a couple of years ago, and couldn't resist playing around a bit to see what Paint.NET would do. You can see the results here.
I claim full copyright protection (Copyright (c) 2005, Steve Jackson)--I'm sharing this because I really like it, but please don't use it yourself unless you have my permission. Thanks!
Wednesday, December 07, 2005
MARTA General Manager
MARTA has paid Ford a base salary of $205,000. He also earned nearly $57,000 in benefits last year, including incentive-based bonus pay and an auto allowance.Is it just me, or is it a bit hypocritical of MARTA to offer their General Manager an auto allowance? Maybe it was an electric car, or one fitted to run on natural gas... [Update: The counter offer wasn't enough to keep him. Look out San Francisco!]