Thursday, December 22, 2005

Red Pill

Blue Badge

Green Card (?)

Ja! Ja!



Don't Forget: www.acehaid.org
Thursday, December 22, 2005 8:45:35 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Wednesday, December 21, 2005
Just noticed this on Jason Olson's blog. Not being tightly associated with INETA, any more it's been difficult to keep up with the frequent board and committee changes that have occurred since the [nearly] total board changeover in June. I'm not quite sure what a "Website Marketing" committee does (I know there was a Marketing committee and an Infrastructure (aka website) committee ... perhaps they have merged), but I know that whatever Chris and Jason are working on, they bring great energy to the table!

Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 7:01:28 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I know I know. I have told many people that you can run vs2003 and vs2005 side by side. But I have this honker application to port and I don't want to do it on the same machine where I need to be able to get at it (in vs2003) in emergencies. Plus I wanted everything super clean. The solution has many many assemblies and references a lot of 3rd party tools. Plus I had to move everything from WSE 2.0 to WSE 3.0. Too much for side by side if you ask me. Some of those 3rd party tools will be getting upgraded, like Janusys (finally moving to 2.0) and others.

So for the time being, I have taken my beautiful dual monitor setup and dedicated one screen to my other computer (until I find a solution as sweet as my VGA KVM cables that will work on DVI and isn't a $200 switchbox). I'm still feeling the dual monitor vibe though. I'm coding on one screen and emailing, etc. on the other.

I could do this as VPC, but I had a whole computer just sitting there...begging for new bits!



Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 6:11:17 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

It's their 47th b-day.

http://www.sugarbush.com/summarystats.aspx



Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 1:55:01 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

In WSE2.0, the recommended way to do authorization, was to attach a principal with role information to a SecurityToken in a custom UsernameToken manager (which you would be using to authenticate against anything but A.D.). Then in your web method, you can just get at that principal by returning the Context.Security.Tokens from the RequestContext. But that is now obsolete. In fact if you use it, you will get a warning that SoapContext.Security is obsolete and to write a custom filter instead.

However the samples and the documentation in WSE 3.0 still show the old method. So, I'm not a Michele or Benjamin or William or Clemens or Christian. And most people using this stuff aren't (cause those guys have all moved on to INdigo, but I have a live app that needs ws security...). Now what?

I guess I am going to learn how to use filters today. (so much for my fantasy of cutting out for 2 hours after lunch to go skiing because we got about 4 inches of new snow last night. whaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)



Don't Forget: www.acehaid.org
WSE
Wednesday, December 21, 2005 1:19:19 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
I'm in the middle of porting over a vs2003 app to vs2005. Every little step further is exciting. Not that I don't expect it to work, but with a number of built in challenges, it is especially rewarding  to see things working! :-)

Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 12:45:08 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Is there something wrong with my code? With the component? Or with the docs? Or were the docs just written for normal scenarios? Had I done something so very unusual that it wasn't covered in the documentation? (I don't think I did anything unsual, by the way.) [read more ...]

[A DevLife post]



Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 11:31:06 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Boy I sure wish I could have been to your party!

I also wish I was going to Namibia for the holidays, but heck, I didn't even feel likek driving 5 hours to my mother-in-laws, much less another 40+ hour trip to So. Africa this week!

Wednesday, December 21, 2005 11:15:25 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

i got this message from a friend at CEDO and thought I would share:

There is an addtional 1,200 parking spots downtown for the holidays during nights and weekends.

If you want a map of the other 14 parking lots and garages and a list of the 300+ retailers downtown go to our web site www.cedoburlington.org

Here are the locations and times free parking downtown is available:

LAKEVIEW/FILENE'S NEWLY EXPANDED PARKING GARAGE: Located West of Filene's 2 new decks with 278 more parking spaces. NEWLY CONSTRUCTED SPACES NOW OPEN, 2 HOURS FREE IN ALL CITY OWNED GARAGES!

STATE OF VERMONT PARKING LOTS at:

-50 Cherry Street (across from Filenes)50 parking spaces

-59 Pearl Street (Dept. of Labor) 39 parking spaces

Parking is FREE at these lots ONLY on weeknights, 6 p.m. to 10p.m.; Weekends 9:00 am till 10pm from November 23 through January 8, 2006.

CHITTENDEN BANK PARKING LOTS at:

-150 Bank Street (across from Henry's Diner)26 parking spaces

-2 Burlington Square (Bank Headquarters) 24 parking spaces

Parking is FREE at these lots ONLY on weeknights, 6 p.m. to 10 p.m.; Weekends 9:00 am till 10pm from November 23 through January 8, 2006.

PEASE WEST PARKING LOT at foot of College Street on the West side of Lake Street; at the end of the Free College Street shuttle (80 parking spaces)

Parking is FREE at these lots ONLY on weeknights, 6 pm to 10 p.m.; Weekends 9:00 a.m. till 10 p.m. from November 23 through January 8, 2006.

MAIN STREET LANDING PARKING LOT (160 Parking Spaces) at the foot of College Street next to Union Station at the end of the Free College Street Shuttle.

Parking is FREE at this lot only on Weeknights, 6 p.m. to 10p.m. and weekends 9:00am to 10pm from November 23 through January 8, 2006.

PERKINS PIER PARKING LOT (180 parking spaces).

Parking is FREE at this lot ONLY on Weeknights, 6 p.m. to 10 p.m.; Weekends, 9:00 am - 10pm. November 23 through January 8, 2006

ELMWOOD AVE PARKING LOT, just north of the U.S. Post office in downtown Burlington (88 parking spaces)

Parking is FREE at this lot ONLY on Weeknights, 6 p.m. to 10 p.m.; Weekends, 9:00 a.m. - 10 p.m. from November 23 through January 8, 2006.

HOWARD CENTER FOR HUMAN SERVICES, 102 S. Winooski Avenue, (50 parking spaces)

Public parking begins Friday, November 25, 2005 from 6 p.m.-10 p.m. through Monday, January 2, 2006.

FRIDAY NIGHTS ONLY 5:00 pm to 11 p.m. AND Weekends 9:00 a.m. to 11 pm

*TD BANKNORTH (100 parking spaces) on the corner of Main Street and St. Paul Street

The lot will be open for public parking through DECEMBER 31, 2005 at the following times:

Week nights: 6:00 pm to 10:00 pm

Weekends 9:00am to 10:00pm

NO PARKING ON THE FOLLOWING NIGHTS, - to accommodate Flynn Theatre patrons - on November 26, 27 and 30; December 1, 2, 3, 4, 7, 8, 9, 10, 11, 16 and 17th.

 

SURFACE PARKING LOT ON MAIN STREET across from TD Banknorth, DO NOT PARK ON EAST SIDE OF PARKING LOT ALONG BUILDING. Located mid-block between St. Paul and Pine Street. (30 parking spaces)

Weeknights, 6 p.m. to 10 p.m.;

Weekends, 9:00 a.m. - 10 p.m. from November 23- December 31, 2005.

SURFACE PARKING LOT ON CORNER OF MAIN AND PINE STREET Across from the Ski Rack. (15 parking spaces)

Parking is FREE at this lot ONLY on Weeknights, 6 p.m. to 10 p.m.; SUNDAYS ONLY, 9:00 a.m. - 10 p.m.. November 23 through January 8, 2006

SURFACE PARKING LOT MID-BLOCK ON PINE STREET BETWEEN MAIN ST. AND COLLEGE ST. across from North Star Sports (32 parking spaces)

Parking is FREE at this lot ONLY on Weeknights, 6



Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 9:55:01 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I don't have the patience that Sam Gentile does (or the knowledge to get around wierd problems) so if you are downloading the newest hottest tastiest bits (such as the latest build of Vista, which I did download last night), check his blog for problems and solutions!



Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 9:52:08 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Here is the picture (from CNN.com this morning) of people in NYC walking to work due to the subway strike. It is about 25 degrees (at 8:30 am) so colder when the photo was taken.

Of course they are cold - don't these people know about hats?



Don't Forget: www.acehaid.org
Wednesday, December 21, 2005 8:20:47 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Tuesday, December 20, 2005

It would be really handy if the compiler could tell when you have written code to access UI components in one of the external thread processes of the BackgroundWorker component, such as DoWork. (Yes, the debugger tells you when you messed up... just not the compiler.)

Luckily at least some of these are caught in runtime.

I will have to write myself a little reminder comment in these methods NO UI ACCESS HERE, DUMM-DUMM! I think that I will get over this very quickly though., as I get more and more used to working with asynch processes.

You, too, can write asynch processes (almost) easily in VS2005 now with the BackgroundWorker component. But you still have to know what you are doing and pay attention. You don't need to know threading inside and out - but have an awareness of it.



Don't Forget: www.acehaid.org
Tuesday, December 20, 2005 5:37:33 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Things I have done in my own office to reduce some time waste and also a huge time savings payoff for a client thanks to a little $40 utility....[read more ...]

[A DevLife post]



Don't Forget: www.acehaid.org
Tuesday, December 20, 2005 11:14:31 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

I have an old HP Laserjet 4si that I bought a looooooong time ago. I think the retail price was $5000 and I paid about $3500. I can only remember that it was when I was living with a certain guy and we broke up when I was 33. So it is at least 11 years old! It has really been a die-hard and has MORE than earned it's keep, even with having to lug this 125 lb beast through three household moves.

It actually still performs like a trooper but it's no longer 100% dependable. I get paper jams that drive me batty when I have to print out lengthy reports - whether it's the 100 and 200 page reports I have to print for a client  about 10 times a month or even just a 10 page document. I had the printer serviced last winter and started using better quality paper in it. The jams are back again though and yesterday, under duress, I had to send out a 100 page report with pale streaks through it (which the client was able fade out when they made their photocopies). Apparently this is either the (not very old) fuser or something suddenly wrong with the print cartridge causing the streakes. Solvable, but dumping more money into it.

So I gave in and bought its' replacement today. A 38 pound, $400 (after rebate) faster (22ppm vs 16 ppm max) LaserJet 1320t. It also does duplex printing (which I occasionally would love to have). I never needed the network capabilities so I don't have to pay for that now. And the paper trays hold 250 pages instead of 500. No problem there for me.

It's a hard thing to do. I always have better things to spend my money on, but I realized that at this point, it will cost me a good $100+/year to keep it going in addition to the aggravation of those occasional paper jams which are very costly in their own way.



Don't Forget: www.acehaid.org
Tuesday, December 20, 2005 10:29:03 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Monday, December 19, 2005
Rich rented a great movie that we watched last night: Girl from Paris. 30 yr old parisian "how to use the internet" trainer picks up from Paris, learns to farm and buys an old farm out in the boonies - complete with old farmer. Very sweet. A little farm-life gore. Made me tear up/cry I think 4 times. LOL.

Don't Forget: www.acehaid.org
Monday, December 19, 2005 8:58:19 AM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Sunday, December 18, 2005

Sam says "software is nothing like construction."

My husband, the carpenter, has this poster from Milwaukee tool that definitely agrees. (And boy does he love to tease me about that!)

Okay, it's not really related to Sam's point about the old software/architecture analogy, but it was the first thing that happened to pop into my mind. :-)



Don't Forget: www.acehaid.org
Sunday, December 18, 2005 10:47:11 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Using blocks are new to us VB developers. I get the basic concept - it's cleaner than try/catch/finally blocks when all you are doing is disposing an object and it's super great when dealing with unmanaged resources and good ol' SqlConnections.

But the intricacies of using it are a little less obvious. Luckily, this code construct has been around in C# (and I will guess C++??) so we can learn from those folks.

I was trying to find a better way to deal with a file stream and memory stream today. Porting some code over from vs2003 to vs2005, the compiler was moaning about the following code block (I am only writing it loosely here...) where I am passing in a file name, opening up the file into a streamReader and then doing something to the streamreader and then closing both objects at the end. Maybe it wasn't written perfectly to begin with, but the compiler issue was a new one.

dim fs as new FileStream(myfilename,FileMode.Open)
dim sr as new StreamReader

Try
   myStreamReader=new StreamReader(fs)

  ... do some stuff

Catch exS as IOException
 ... do something
Catch ex as Exception
 .. do something
Finally
   If  Not fs is nothing then
      fs .Close
  EndIf
  If Not sr is Nothing then
     sr.Close
  End If
End Try

So when I ported this to VS2005, the compiler was not happy about accessing the streamReader in the Finally block because it was possible that no value would be assigned and I'd get a null ref exception (on the bold red line.)

I knew that I could get rid of those Close methods with a using block but was not sure if nesting them was a) possible b) good code or c) something that would bite me in the rear down the road.

Once I figured out what I was dealing with: "nested using blocks" I quickly found this blog post by Scott Hanselman, who specifically says in the comments of this post that he is thumbs up with "nested using blocks (but ONLY if theare are pure nestings without any other code following the inner block."

So, considering the source, I'm confident that I'm doing good by doing well (or however that goes) with nested using blocks (with out extra code after the inner block). :-)

Using fs as New FilesStream(myfilepath,FileMode.Open)
  Using sr as new streamReader(fs)
     Try

       ... still need exception handling around the other code

     catch ....
    Finally
    End Try
  End Using
End Using



Don't Forget: www.acehaid.org
Sunday, December 18, 2005 2:08:58 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

When I moved to .NET from VB6, I loved the ability to name variables beginning with an underscore. Now that I am porting some .NET 1.1 code to .NET 2.0, I am seeing that this in non-CLS compliant.

However, because the handful of variables that use the underscore are in a class that has many subclasses and some of these variables are used in the subclasses (shared, protected) AND because this class is not something that anyone else will ever use outside of my application, I have made an executive decision NOT to fix the variables but to set the CLSCompliant attribute from the Assembly information to False.



Don't Forget: www.acehaid.org
Sunday, December 18, 2005 12:26:42 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 
 Saturday, December 17, 2005

This newest version is built and compiled in .NET 2.0.

I suppose this means it's time to get serious about porting a particular app that uses Infragistics controls to VS2005...

Congrats Jason, Devin et alia...

 



Don't Forget: www.acehaid.org
Saturday, December 17, 2005 9:07:27 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  | 

Charles Petzold and Chris Anderson are both writing WPF books. Then Chris got an XBox, but then realized this might not bode well for finishing his book and "lent it" to a friend. The result is a very funny post by Charles.



Don't Forget: www.acehaid.org
Saturday, December 17, 2005 8:34:20 PM (Eastern Standard Time, UTC-05:00)  #     |  Comments [0]  |