|
| Activity |
| | Sun | Mon | Tue | Wed | Thu | Fri | Sat | | 29 | 30 | 1 | 2 | 3 | 4 | 5 | | 6 | 7 | 8 | 9 | 10 | 11 | 12 | | 13 | 14 | 15 | 16 | 17 | 18 | 19 | | 20 | 21 | 22 | 23 | 24 | 25 | 26 | | 27 | 28 | 29 | 30 | 31 | 1 | 2 | | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
|
|
| Archive |
| July, 2008 (2) |
| June, 2008 (2) |
| May, 2008 (2) |
| March, 2008 (1) |
| February, 2008 (2) |
| January, 2008 (4) |
| December, 2007 (4) |
| October, 2007 (1) |
| July, 2007 (2) |
| June, 2007 (1) |
| May, 2007 (3) |
| April, 2007 (2) |
| March, 2007 (5) |
| February, 2007 (3) |
| January, 2007 (6) |
| December, 2006 (5) |
| November, 2006 (6) |
| October, 2006 (4) |
| September, 2006 (3) |
| August, 2006 (4) |
| July, 2006 (6) |
| June, 2006 (7) |
| May, 2006 (5) |
| April, 2006 (5) |
| March, 2006 (8) |
| February, 2006 (1) |
| January, 2006 (9) |
| December, 2005 (6) |
| November, 2005 (3) |
| October, 2005 (5) |
| September, 2005 (2) |
| August, 2005 (4) |
| July, 2005 (5) |
| May, 2005 (5) |
| March, 2005 (7) |
| February, 2005 (4) |
| January, 2005 (5) |
| December, 2004 (9) |
| November, 2004 (5) |
| October, 2004 (9) |
| September, 2004 (9) |
| August, 2004 (6) |
| July, 2004 (3) |
| June, 2004 (12) |
| May, 2004 (2) |
| April, 2004 (12) |
| March, 2004 (11) |
| February, 2004 (12) |
| January, 2004 (16) |
| December, 2003 (14) |
| November, 2003 (20) |
|
|
|
|
|
|
This past weekend (and part of the previous week) we spent at Cove Palisades State Park down by Madras, Oregon. In my opinion, this is one of the best state parks in Oregon for boating. If you own a boat and like getting out on the water, then this is a place you should try out. The drive is a little long from Portland and you do (at least with the most direct route) go over Mt. Hood. But it’s not really that bad. The reservoir more than makes up for the long drive.
One really cool thing is that you can rent those inflatable trampolines at the main marina near the campground. If you plan on doing a lot of boating, bring a couple of dollars for gas because the price on the water is $4 a gallon.
The only thing that really kills me about this trip is that I didn’t take many pictures…and I didn’t take a single one out on the water. I was busy pulling kids on skis and inner tubes all weekend! You can find some pictures out on Flickr. Just ignore all the people that I don’t know from Adam, and check out the lake.
|
Thursday, August 31, 2006 1:42:41 PM (Pacific Daylight Time, UTC-07:00) | | personal
|
|
|
|
|
|
Jeff has an article over on Coding Horror about source control. You know, I always figured that something like CVS or Subversion was the most used source control system. But it's SourceSafe?! Wow, I really didn't see that coming. Although I guess it makes sense...maybe. All those MSDN subscriptions? Is that the reason? Beats me. In my last post I revealed that (sometimes) I code in VB.NET. So I guess it's not a big thing to reveal that I also use SourceSafe. <GASP><FAINT>
I used SourceGear Vault for a while, and I don't recall now why I quite using it. I was using it for my own source control, so at the time anyway it was free. I don't know what the licensing for one developer is anymore.
I have been thinking about changing over to Subversion or CVS for a while now. I think the biggest hurdle that I see coming is something that Jeff said in his post "unlearning all the bad things SourceSafe taught me about source control". I'm thinking that is going to be a huge pain in the butt. Luckily, that post does have some good links as to what should be happening in your source control system. |
Friday, August 18, 2006 2:28:33 PM (Pacific Daylight Time, UTC-07:00) | | tech
|
|
|
|
|
Ok, so this isn't so much "Smooth" in the sense that it's a really slick piece of code. Rather it's "Smooth" because it took me way to long too figure it out and I thought that I better write it down somewhere that google has a chance of indexing it. That way a month from now when I may have forgotten this, I'll be able to look it up.
I'm working on this project where I show users an image and they can perform some zoom in type action where they click on the image and drag a rectangle, or they click on a bunch of points to draw lines allowing them to draw their own shape. This is basically all accomplished with javascript. Good. Not hard to figure out. When they are done drawing their shape, I am clicking on a button in the background (by using javascript) to force a postback so that I can call some web service in the code behind and reload the image. Note that this isn't a full Page postback, since I'm using an anthem:button.
Ok, so all is well, I get the new image url, I load it up. Done! Not quite. Because in my case, I'm doing some fancy fade in from a placeholder image that lets the user know that something is going on. Ok, so I need to get back to running some javascript. Stick it in the window.onload event. Yeah.....no. Not so much. This is where anthem causes a problem because the page isn't actually reloading. Just my image....which did I mention is an anthem:image? So the obvious solution now is to put my javascript method call in the image's onload event. Sounds like a good idea, right? Well it is, but the only tricky part is, how do you do it?
This doesn't work:
<anthem:image onload="FancyFadeIn()"> </anthem:image>
That's because an anthem:image doesn't play the onload game that way. BUT if you really know what's going on, you'll know that when everything is said and done that <anthem:image> ends up as an <img> which does have an onload event. To add that attribute using the Language of the Gods VB.NET, you do something like this:
Me.mapImage.Attributes.Add("onload", "FancyFadeIn()")
Now when the image reloads, the fade in javascript is called and everything is right with the world. |
Friday, August 18, 2006 1:45:23 PM (Pacific Daylight Time, UTC-07:00) | | duh | code | anthem
|
|
|
|
|
|
No, I didn't melt away into nothing.....I'm still here. As usual, too busy to post much of anything. I've been working a lot with MSBuild. Which is quite an accomplishment considering that at work we are still stuck using Visual Studio 2003 and the .NET 1.1 framework.
On a more personal note, I finally crossed the line and bought a minivan! I hear it's all downhill from here. Although I will say that it's just about the nicest car I've ever owned.
Finally, when I wasn't busy trying to get an automated build working, or fighting with car salesman, I was playing dice. |
Friday, August 11, 2006 1:45:26 PM (Pacific Daylight Time, UTC-07:00) | | personal | tech
|
|
|
|
|
|
|