Public musings, often on software development RSS 2.0
# Wednesday, May 13, 2009

It’s been a couple weeks but I wanted to record the results of my ride for Diabetes – Tour de Cure here in San Diego.  The 2009 tour used the same 71 mile route used in 2008, and since I still haven’t gotten back to where I’m riding my 40 mile weekend rides, I limited myself to the 71 mile route instead of the century (100 mile) route.

 

The 2008 tour – well it wasn’t one of my best. It took me 5 hours and 45 minutes to complete. My average speed with my Garmin was 12.6 for the route (note the Garmin’s speed is based on time stopped at lights and rest stops… which while accurate isn’t what I want to measure, which is jsut my speed when not being penalized for stops including traffic signals)

Unfortunately I didn’t capture my bike computer’s numbers last year but I recall it being pretty low. The Garmin also estimated that I burned ~4741 calories on the ride, and recorded a max heart rate of 185. (Note: the higher the max heart rate the worse baseline shape you are in.)

 

This year my bike computer had me completing the ride with an average speed of 15 mph – which was great since I was shooting for 14.5 and would have been satisfied with anything over 14mph.

 

As for the Garmin it said 5 hours 15 minutes to complete – a 30 minute improvement.

My average speed with my Garmin was 13.7 mph – this time I actually managed to mark the time spent at rest stops – I stopped at 2 rest stops, # 4 and #5 and so I can see they accounted for 20 minutes of time, and even if I get motivated average my speed for the 3 legs of riding between them. My average speeds on the 3 legs surrounding the rest stops were 14.0, 14.4 and 15.8 respectively. Admittedly there was a nice wind blowing from the NW near the end of the ride which helped push me down the coast on that last leg (although as always I had to fight it as headwind for 7 miles down the bike path first.)  By the way, the rest stops put together by the organizers are great on this ride (both years) and there is a great deal of support along the well marked route.

 

It was also a fairly cool day, a blessing since as I recall it was hot on April 19th in 2008.  Overall it was a great ride, and they had a couple bands lined up to play after the ride.  The organizers learned from last year and did a much better job of spreading out the start time so people finished closer to the same time, instead of those on the long rides finishing after most of the festivities were over.  Of course I’ll be back to ride again next year, and encourage everyone to join me.

Wednesday, May 13, 2009 3:18:55 AM (Pacific Daylight Time, UTC-07:00)  #    Comments [0] -
Cycling | Diabetes | Musings
# Sunday, May 10, 2009

One of the ‘tools’ I’ve was most impressed with after departing Internowlogy is the suite of services hosted under the Live brand from Microsoft.  Let me clarify, when I left my job and didn’t have a new employer, it meant that while I had a personal email account, I didn’t have a professional account.  I was able to set up a professional email using Live and start managing my contacts, appointments and email both from my computer using Outlook and from my Mobile phone.  Of course, it hasn’t been all mistake free, one of my more important lessons has involved my Live identity management and one of my more challenging transitions with identity. But more on that in a moment.

I’ve not only continued to use Messenger and learned to leverage Live for email and such but I’ve leveraged the networking features of Live as well as the features of Skydrive to place documents that I need to share in a central location.  This is without even considering new development features like Mesh and Azure. 

Now onto my challenge with Live. Most people are at least reasonably familiar with Live Messenger and have used it.  If like me you’ve used it for a while – you may have set it up using your work email address – I now feel this is a mistake.  When I first signed up from Messenger, my thought process was that instead of setting up another email account that I would need to monitor. Instead I chose to point point my messenger account at my work email for a Live ID and go from there.  For most things this worked fine, but when it came time to leave Internowlogy this presented a problem. As you might imagine my old email address didn’t leave with me.  I however, wanted to keep in touch with the people I had added to messenger over the years.

The good news is that you can go to the account services and update the email address associated with your messenger account, the challenge is that even though it should only take one or two days, in my case it was taking well over a week.  Here I was looking to update my network and literally everyone – even the people who knew my new email couldn’t see me in Messenger and weren’t seeing my new email address because I was in this limbo state.  A coworker who left IK a few weeks before me (several people left IK in January of 2009) had the same problem and eventually just reverted his old account and created a new account and added all the new people.  I however, had contacted Microsoft and asked – hey what’s the status and was told yes, the change was working through.  So eventually even though it had been over a week I set up a second account on Live so that I could get contact with key people and over the next serveral days as my old account remained in limbo started to focus on this new account as my main contact point.

Eventually I had pretty much stopped checking the old account for a while, but I did a few weeks ago and lo and behold – the changes had finally made it so that I could see people and they could see me.  Now from the standpoint of email the change was easy – I just told account 1 to forward all my email to account 2 and then as I reply people saw the new address and did or didn’t update their contact.  No problem, and no different from having an alias on my main email account.  In otherwords from the standpoint of email everything still works fine.

On messenger however, I now need some way to combine these two Messenger contact lists.  I want to display/sign into both accounts at the same time.  I don’t want to bother some of my contacts with adding a new link for my other messenger account, so if someone has a good solution for that please let me know – because I know from experience that if a solution exists someone will let me know once I post this.

(BTW, as a note for all my contacts, you’ll see me online a bit less, my current employer blocks the IM ports so I’ll be online more from about 8PM Pacific onward.)

Sunday, May 10, 2009 1:22:02 PM (Pacific Daylight Time, UTC-07:00)  #    Comments [0] -
.NET | Musings | Technology | Live

So I won’t be at Tech Ed this year.  I just started my job with Rubio’s (www.rubios.com) - home of the world famous fish taco.  I accepted a position in the corporate organization and only started last week which makes heading off to a week long convention a little unrealistic.  I will be up in LA at Tech Ed today (the day before it actually gets started, Microsoft is hosting a few sessions for MVPs today.)

Fortunately although I won’t be there Microsoft is making a great deal of technical information from Tech Ed available.  The current site for Tech Ed is: http://www.msteched.com/online/channels.aspx and as you’ll see by the page I’ve chosen it has online channels with materials related to Tech Ed.  I’ll be checking back during the week to catch some of what I’m sure will be Tech Ed highlights and some great technical information.

However, for those attending there are a couple of sessions I truly wish I could attend, of those there is one in particular that if anyone does attend I’d appreciate hearing more about:  DTL336 Future Directions for Visual Basic  - Wed 5/13 | 8:30 AM-9:45 AM | Room 152.  The presenters will be Anders Hejlsberg and VB veteran Jonathan Aneja.  The nature of the tech ed site makes linking to the session description difficult, so I’ve copied the description from the session catalog:

In this talk, we discuss the future direction of the Visual Basic language both in the near and long term. Exciting features from the next release are demonstrated and discussed, including extensions to LINQ support, syntax simplifications, and improvements to the IDE. Larger trends that are likely to deeply influence the direction of the language are also covered, including dynamic binding, meta-programming, and scripting. Finally, we discuss how all these tie together into the roadmap for Visual Basic going forward.

If anyone gets to this session please feel free to send me a link if you post a recap, I’ll also be searching but I’ll have to wait for the content to get indexed.  Now that the languages team has been merged and Anders is involved in the direction for all of Microsoft’s managed languages – including Visual Basic I’m very interested in his initial public thoughts for the direction for Visual Basic.

Sunday, May 10, 2009 10:02:01 AM (Pacific Daylight Time, UTC-07:00)  #    Comments [0] -
.NET | Technology | Visual Basic
# Wednesday, April 08, 2009

One of Tim Huckaby’s favorite sayings when out mountain biking can be paraphrased; ‘If you are really pushing you’ll leave a little blood on the mountain’.  The idea being that since really pushing it on a mountain bike tends to involve taking some risks and occasionally crashing… if you’ve gone all out somebody managed to crash.

Pictured below is my knee after a recent ride, the question though with any such injury is how did I manage to get these gouges in my leg?

scratched leg

Well at this point you are probably assuming that I was on my mountain bike, after all I haven’t laid down my road bike since I was like 13… well until Sunday that was.  Yes this is the visible portion of the painful results of a road bike crash.  I was training for the Tour de Cure.  As part of my training every year I head out to Sleeping Indian road (in Oceanside, CA) and ride my bike up the rather brutal climb on that road.  To get there my route takes me out College Ave to Old River Road and then it intersects with Sleeping Indian road. Near this intersection the Old River Road narrows briefly and a curb is added, just prior to where I need to make a left.

On Sunday I was rolling along at around 18mph as I approached and needed to check behind me before moving out into the lane of traffic.  As I did this I realized I had a car literally right behind me, and he caught me by surprise – at the same time my slight reaction put me into some sand on the side of the road.  At that point my first thought was ‘ turn into the road to regain control’ – to which my second thought was ‘no there is a car there’.

I’d like to put in a quick aside here for those who drive cars.  Many times cars will stay behind us for a while.  I realize sometimes its hard to find a good time to pass, but in all honesty I would rather have you get past me sooner than stay behind me so you can ‘see me’.  The problem being that once you are past me  you are no longer a threat to me and I can be out of your thoughts… with you behind me how I react to a sudden road hazard changes – because with a choice between hitting the ground or risking getting hit by a car – well the ground looks mighty inviting.

At any rate I again corrected toward the edge of the road knowing that there was a large open dirt space on my right – but forgetting about that annoying curb.  This took me from bad to worse – because the edge of my front tire contacted this rounded ‘curb’ made from blacktop.  Which brought my next thought – TURN LEFT go into the road, followed as you might guess by the thought “NO!”.  Which was entirely appropriate since this was just about the point that my tire finally caught hard enough to trigger the chain reaction that resulted in me separating from the bike and getting the first hand experience of just how ‘inviting’ that dirt patch on the side of the road really was.

After  jumping back up from being on my back with my head toward the road, and my bike remaining (not sure how I managed it) sitting on the side of the road, I faced the cards which had now stopped.  Make no mistake it must have been an awesome crash to watch because no less than the first 3 cars in back of me asked me if I was OK… to which I answered yes – even though I wasn’t quite sure yet at that point.    Note I ALWAYS keep my cell phone with me when I ride alone so I had been less than OK or had my bike been inoperable, I would have called home/help as required.

So as with any wreck the first minute or so is just collecting the name of the ‘bus’ which just hit you and really deciding if you are OK.  Then you begin the real processing of how is my bike?  When I wrecked I was 11 miles into a planned 45 mile ride, and could have either turned back and headed home goal unfulfilled or pushed on to get in my climb and long ride. So I did a quick look over of my bike and sure enough within about 5 minutes I was pretty sure I was actually OK. I was amazed in some ways – my bike appeared pretty much undamaged. I did a more thorough check as I remounted and made a quick spin as I was deciding what to do.

Now aside from the obvious damage  - most of my impact had been on my back.  One of the tricks I learned mountain biking is that when landing “Use the camel pack.”  By which I mean, even on my road bike I show my slavery to ‘style’ by wearing a big ugly mountain bike camel pack to carry my water and stuff instead of a water bottle and the pockets in my jersey.  The advantage appeared again, because unlike my leg which has some significant scratches the only scratches above the waist are a few minor ones on my right arm.  Which is impressive because at first I wondered if I had broken my collar bone and over time it’s my right shoulder and my neck which have hurt the worst.  (Another note my helmet didn’t hit the ground – another untouched item)   The camel pack took most of the impact, that and I vaguely remember trying to get my right leg onto that curb – a memory driven in part my the pain in my right heel.

At any rate given my experience mountain biking as I got started and things appeared to be good I decided to press onward.  So I started up Sleeping Indian road.  As I was climbing Sleeping Indian I noticed that my front tire seemed a bit deformed.  I had tested with my brakes and didn’t seem to have a problem with the wheel at slow speeds… but on I pedaled noticing as my front wheel spun in front of me that it just didn’t look right.  It kept seeming like there was an odd little bump on the left hand side of my tire – which was odd since the curb was on the right when I wrecked, below is a still picture looking down on my front wheel (taken after the ride… notice the deformation). 

Bill 002

While the wheel was spinning of course there was the question of what is that ‘blip’ that keeps spinning past… but the good news was I passed my test for the ride. I made it up Sleeping Indian without stopping on the climb.  This is my test because back in 2003 when I bought my bike and started getting ready for my first Tour de Cure I set out on a ride that included this hill without knowing what I was getting into.  I stopped about 1/3 of the way up the hill and again at about 2/3’s and of course at the top.  Today like every year since I’ve climbed the hill – non-stop and as in Sunday kept on going without stopping after reaching the stop.  This is a good sign for me being read for the Tour de Cure on the 18th.

My next warning came on the resulting down hill.  Now at speed when I pressed the front brakes to slow down I got a clicking… both a sound a a feeling.  That clicking is something I’d felt before.  I had it when I managed to bend a rim on my road bike.  Not a subtle bend like you correct by adjusting spoke tension but a dent in the side of your wheel that is causing the brakes to hit an uneven surface.  Cursing mentally because I’m picturing a need to purchase a new wheel, not a cheap fix.  It also meant I had to be careful using the front brakes since they could in theory catch and send me flying (again). 

Once I got to the end of Sleeping Indian I pulled off for a quick break and to figure out just how bad the damage was and that deformation well it was caused by what would be some significant sidewall damage to my tire,

Bill 001

You’ll also note there is a small amount of what I later determined to be negligible damage to the wheel itself, but as you can see from the next photo the tire damage wasn’t in just one spot it was pretty much the entire right side of the tire.

Bill 004

So at this point, you’re probably thinking – hmm failing side wall, bleeding, shoulders and neck starting to hurt – Bill headed back.  However, you just aren’t considering just how stubborn I can be.  I was still only around 15 miles into the ride, so I continued on.  I made some checks at 20 miles and was careful to avoid my front brakes – after all – the clicking I head wasn’t the rim, it was the deformed sidewall hitting the front brakes.  Thus each time I heard that I was risking a sidewall failure as the sidewall collided with the braking mechanism.

Things went well till about mile 40 when I pretty much bonked. The fact that I couldn’t really breathe deeply combined with the general soreness of my right shoulder and neck made the last 5 miles – painful.  However, I survived and yesterday I put a new tire on my bike.  It rained this morning so I’m waiting until Thursday to head out for another ride.

Wednesday, April 08, 2009 10:46:39 AM (Pacific Daylight Time, UTC-07:00)  #    Comments [0] -
Cycling | Diabetes
# Friday, April 03, 2009

I’ve been a tea drinker since back in my days in the Navy (which is a lifetime ago for some of you.)  Literally I still have a couple tins of loose tea from my time in the far east (Japan, Hong Kong, Singapore, etc).

However, according to this Wired magazine report apparently the rest of the technology world is starting to catch up… http://blog.wired.com/business/2009/04/tech-millionair.html

Proving what a trendy, stylish guy I am…

(The preceding line is a joke; for those who don’t really know me.)

In fact I'm sitting hear with a plastic cup full of a lemon infused green tea brewed from loose tea leaves in my iced tea pot... guess I'm not quite in the same class as those rich snobs talking about having a $40-$150 thimble 'full' of tea.  I don't see me ever getting into the +$10 per swallow tea drinking club... similar to my wine tastes (or lack thereof)

Friday, April 03, 2009 10:48:04 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
About the Nerd | Musings
# Thursday, March 26, 2009

I am riding in this years San Diego Tour de Cure to help in the fight against diabetes.  This years tour is on April 18th 2009 and includes a 100 mile (century) ride which I’m hoping to complete.   If  you have a road bike and are interested or are just plain interested in the ride you can get more information from the official site at: http://tour.diabetes.org/site/TR/TourdeCure/TDC551018030?pg=entry&fr_id=5632

Since this is a ride to benefit charity you can also help out by sponsoring me.  You can send an offline donation for those uncomfortable using the online methods using the address in the link above:

Offline donations can be sent to:
American Diabetes Association
Attention: Tour de Cure
225 Broadway, Ste. 1530
San Diego, CA 92101
*Please include a note that states which rider the funds should be credited to.

 

or you can make an online donation through my personal event page is at: http://main.diabetes.org/site/TR/TourdeCure/TDC551018030?px=1001265&pg=personal&fr_id=5632

Diabetes is a nasty disease and when you consider it’s linked the leading cause of blindness and amputation in the United States, is associated with increased risk of Alzheimer's, associated with increased risk of Stroke not to mention that just having diabetes is not only an increased risk of heart attack, but means you are treated as if you’ve already had your first heart attack, you hopefully can see why I support this cause.

Thursday, March 26, 2009 3:03:39 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
About the Nerd | Cycling | Diabetes

In addition to doing Silverlight the other set of updates I’m focusing in on relate to the Sales OBA project up on CodePlex: http://obasales.codeplex.com/

I just made some minor updates to the source code for the custom Excel Spreadsheet on the site – mainly cleaning up the code and  adding some comments.  My goal is to start replicating some of the current C# projects with VB versions… of course the Excel spreadsheet is already in VB, so once I get the VB versions of the other projects I’ll loop back around and be updating the Excel spreadsheet with C# and the other C# projects for Visual Studio 2010…  I’m leveraging a tool that I like for this process and I’m going to talk about it tomorrow.

This isn’t going to be a quick process but it does mean you’ll continue to see some new sample materials related to the Professional OBA book (http://www.amazon.com/Professional-Office-Business-Application-Development/dp/0470377313/ref=sr_1_1?ie=UTF8&s=books&qid=1238107346&sr=8-1)  My target is once I’ve completed my Silverlight project – discussed in my preceding post, I’ll move to the generation of Word Documents using the XML structure created for the OBA Sales project… rest assured I’ll post something when I make a new upload.

Thursday, March 26, 2009 2:44:26 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
.NET | Technology | Visual Basic

So yesterday I posted on the newly arrived guidance examples for Prism 2.0, the Patterns and Practices guidance (announced here: http://blogs.msdn.com/blaine/archive/2009/03/25/vb-quickstarts-and-how-to-s-now-available-for-prism.aspx and her: http://blogs.msdn.com/bobbrum/archive/2009/03/24/composite-application-guidance-for-wpf-and-silverlight-now-in-vb-flavor.aspx)

The 2.0 version of Prism was an update which made changes to take the original WPF framework and provide best practices support for Silverlight. That guidance of course is associated with the Prism 2.0 which has an associated CodePlex site here: http://www.codeplex.com/CompositeWPF/ The site not only provides valuable links associated with Prism but a forum for discussing specific issues.  

In addition to these new VB examples there is an update to the Silverlight Toolkit, the March 2009 release is enhanced with Visual Basic source code for both Silverlight 2 and Silverlight 3. The Toolkit is a collection of controls, components and utilities made available outside the normal Silverlight release cycle.

It includes full source code, unit tests, samples and documentation for 18 new controls covering charting, styling, layout, and user input, in addition to 11 professional themes. I’ve been assured that the team loves feedback so join the forums on Silverlight .NET and submit suggestions to their CodePlex site. 

Me I’m off to do a Silverlight addition to this site to demonstrate I can do some VB Silverlight… hopefully I’ll have it up and running in a few days.

Thursday, March 26, 2009 2:33:47 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
.NET | Technology | Visual Basic
# Wednesday, March 25, 2009

For those considering Silverlight, the Microsoft Patterns and Practices Team has a set of recommendations with sample code.  Originally released in C#, Version 2.0 is adding sample support (the guidance is essentially the same for both languages) for Visual Basic.  A copy of the updated guidance with VB specific examples is available at:

Visual Basic QuickStarts and How-to Topics for the Composite Application Guidance for WPF and Silverlight

Download a copy - I am.

Wednesday, March 25, 2009 8:13:11 AM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
.NET | Architecture | Technology | Visual Basic
# Wednesday, March 18, 2009

A while back I blogged that if you were buying a new PC you should purchase a 64-bit machine.  "The rise and fall of 32 bit computing"  I stand by that but as part of that post I quickly mentioned that I also felt that if you were purchasing a new machine you should also get it pre-installed with Vista and not Windows XP.  In fact my personal view is that those computer manufacturers who are allowing people to continue to purchase machines with Windows XP instead of Vista are in the long run hurting their customers.

Let me explain, Microsoft is working on the next version of Windows which will be known as Windows 7.  In fact the Beta for this version of Windows is already available and I've installed it on a machine at my home.  It works great and is definitely a few steps ahead of what's in Vista in many ways.  In terms of features Windows 7 will be an evolution not a revolution.

What I mean by that is that unlike Vista which was a major departure from the Windows XP architecture, Windows 7 will maintain the core Vista architecture.  This is important because it really draws out the fact that Vista isn't something that's 'going away'.  Windows 7 is the next generation of Vista - not XP - and this is important.  Part of the core of what changed between Windows XP and Windows Vista was the device driver model.

Unfortunately when Vista released, it wasn't advertised, that because of the low level changes in the driver architecture and since there were only a limited number of drivers - that upgrading from XP to Vista had a huge risk in terms of driver compatibility.  The result was that in addition to the standard acceptance issues that any new UI experiences Vista had hardware issues - Big issues.  Fact is the combination of these issues resulted in the need for Microsoft to allow computer manufacturers to continue to ship XP.

That was probably overkill - but when you make a mistake as big as the one Microsoft made in not advertising the limitations of Vista upgrades you pay a penalty.  Microsoft paid theirs now the goal is to avoid getting caught up in that issue.  With its service packs the fact is that Vista is both stable and in my honest opinion a really good operating system.  I still won't ever go back to one of my old XP machines and attempt to upgrade from XP to Vista - but I also know I'm not going back to any of those machines and upgrading them to Windows 7 either.  Those machines were designed for XP and they work well with it and that's how they'll retire.

On the other hand when I bought my new laptop I got it preinstalled with Vista.  This means I got all of the Vista compatible drivers pre-installed by Dell.  Dell supports those drivers and I know everything is compatible.  For what it's worth, yes I got a 64 bit laptop (6 GB of RAM), and it's the Studio XPS 16 and it rocks.

The key is when Windows 7 arrives I'll go ahead and upgrade from Vista to Windows 7 and I don't expect to have any major issues.  Windows 7 adds new features and enhancements to my operating system but it isn't going to require a different set of drivers or any other major configuration changes.  Having installed the Beta of Windows 7 on my test machine from the Vista install timeframe I found the experience to be greatly improved.  The original Vista on that machine choked - plain and simple I lost sound drivers, all kinds of stuff just wasn't quite right.  Not only that but the network card didn't work... so when I got the Beta 7 bits I installed it.  I still didn't have a network card, but I had some free time so I went out and found the driver for the network card and installed it.  Windows 7 installed it no problem and suddenly I was off.  Windows 7 recognized the sound card and connected online to download the necessary driver, not just that driver but many other drivers.

So back to the question - should you get XP or Vista on that new PC?  Get Vista, because when Windows 7 comes out it's building on a Vista baseline.  You'll be able to take that Vista machine and upgrade it with minimal risk to Windows 7.  On the other hand if you have XP, well that isn't currently a supported upgrade.  What I've seen on the web is that you'll need to get rid of your windows XP environment and then install Windows 7 from scratch.  That alone should make you think twice about what you are going to have installed on your new computer - get Vista, regardless of what you heard about the initial release - it's a solid operating system at this point and is the basis of Windows 7 and future operating systems from Microsoft.

UPDATE: OK before Ileave any misconceptions,  in the last paragraph I said "supported upgrade".  That phrase has a specific meaning to Microsoft and that's NOT what I meant.  I meant that instead of installing Windows 7 on top of an existing Windows XP installation you would be starting the installation from ground zero - the upgrade is 'supported' just not what most of us would think of as an 'upgrade' as compared to a 'new install'.

Wednesday, March 18, 2009 7:03:04 PM (Pacific Standard Time, UTC-08:00)  #    Comments [0] -
Musings | Technology
Archive
<May 2009>
SunMonTueWedThuFriSat
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2012
Bill Sheldon
Sign In
All Content © 2012, Bill Sheldon