Thursday, August 05, 2004
w00t

Yesterday's geek notes had mention of woot.com.  Seems like a really interesting site.  One product a day until its sold out, at what looks like really low prices.  Best part, they have an RSS feed.  .  Check it out.  Now when I say w00t to people (most just give me a blank stare, but I can't be the only one that trys to talk in irc every so often) at least I can direct them to a site. 



 Monday, July 26, 2004
Yukon (Sql Server 2005) B2 out!

Sam Gentile blogs about Yukon B2 being out for MSDN subscribers.  Checked the DL's, and there it is.  Good times.  Ill DL this tonight when I get home and throw it on the whidbey machine.

On a side note, anyone else notice weblogs.asp.net and blogs.msdn.com are down?  You never notice how many feeds you read from there until the whole damn thing is down.  ....... 

Details here



 Friday, July 23, 2004
Mac everywhere

Although I've never really played with a mac, I've always wanted to give it a shot.  Thought about getting an imac a couple times, but that's one expensive toy.  Was pretty happy to see Steve Makofsky blog about PearPC.  Looks interesting.  Downloading...

Details here



Lookout's back!
Per ScottWater, lookout is available for download again.  The more I use lookout, the more I like it.  I would highly suggest you check it out.  Thanks MS for re-releasing it. 


 Wednesday, July 21, 2004
Development is hard.. on your machine

Sitting here wondering how my machine (1.8P4m, 512) can keep up with

3 vs.net instances
codesmith studio
Enterprise Architect (sparxsystems)
Enterprise mgr
Query Analyzer
Excel
2 Words
Outlook
RSSBandit
BlogJet
Winamp
Trillian
and finally 3 IE's

(note : and almost filling up my pagefile, time to grow  :(



 Tuesday, July 20, 2004
Two monitor goodness

I'm a laptop coder.  For months now I have sat at my desk with a full workstation, and brought my laptop from home to work on.  I dont use a docking station, no external kb, no mouse, just my thinkpad.  I would have it no other way  :)

Yesterday I was coding, and as I was printing out some use cases and sequence diagrams I was thinking, man I waste alot of paper.  Then I looked at the monitor on my desk that hasn't been turned on in a long time, and thought why the heck am I not using that as a second monitor?

I love that XP lets you do this.  A few clicks around in the display properties, and suddenly I have my monitor running at 1200x, and my lappy at 1024x.  I keep all my sql and spec documents on the monitor, and code, IM, and email on the lappy.  Loving it.

Code | Random


 Monday, July 19, 2004
Lookout!

Help keep lookout in the community.  Some links that I think are pertinant.

Dustin Mihalik details the situation

Gary Cornell tells us what we can do about it

Admin | Code | Random


IE locks when loading sharepoint portal

I had this issue for about a week.  Tried to ignore it for as long as I could.  But alas, today I had to get to one of the portals.

Basically, whenever I would try to go to one of our corporate portals, my IE would just sit and spin (no pun intended).  I was able to get to content that was directly bookmarked, and I was able to get to some of my personal portals (yes I am that geeky).  I had no idea why.

Some searching yielded next to nothing, but it was a pretty feeble attempt.  Tried some of the basics.  Rebooted, laptop had been on for a couple weeks (I use sleep alot), so I thought maybe some hidden monster was eating sharepoint.  No avail.  Did all my non-critical windows updates that might apply, nothing.  Finally, I tried clearing my temp inet files, and alas, I can get back in.

I know the temp inet files was a fix for view source, but now we can add it to the list for a spinning portal also.  I wish IE would see this error, and give us some kind of warning.  It must know somewhere in the background that it was trying to write to disk, and couldn't.  Oh well. 



 Sunday, July 18, 2004
Second ebay car purchase complete

[Long post, pictures at the bottom]

I love ebay.  What I can buy on ebay, I do.  This may be attributed to the fact that I'm a cheap bastard, but it's also so much more fun then normal shopping.  So when we had to buy our last car, I turned to ebay first. 

As you can imagine, buying a car on ebay is even more involved then most ebay purchases.  There are many factors that come into play, namely financing and delivery.  There is also the fact that usually, the car would be purchased sight unseen.  Purchasing a car sight unseen doesn't really bother me all that much.  This is a small concession to possibly saving thousands of dollars, especially when the appearance of the car doesn't necessarily speak to its mechanical condition. 

Financing can be an interesting question.  Without going into details here, I would highly suggest you nail down financing, as well as a set top end before you even begin shopping.  The shopping process could take a while, though, so be mindful of that when you choose your financing options.

Delivery can be almost as involved as financing.  The most obvious answer is there are many companies that ship cars, but the cost of delivery can quickly cut into any savings you may be hoping for.  Picking up the car is also always an option, but there are some things to consider.  If purchasing from a dealer, then usually they will get you at the airport if you fly, or you can rent a car to get there, and they will take care of the paperwork for you so you can drive your new car home.  When purchasing from a private party, though, make sure to take registration into consideration.  Here in CT, there was no way that I could find for us to get a temp plate without a bill of sale and the title, so look into your local regulations.  Your seller may also be willing to work out delivery, which I will get to in a few.

We bought our first car on ebay almost two years ago now.  We were looking for an economical sedan with side impact airbags.  We set our budget, and I started looking.  I first made a list of the models that we could pull off, and started watching auctions nightly for anything that we would be interested in.  Watching the auctions nightly, or as often as possible, is very important, and I will get to why in a bit. 

I looked for a long time.  I think in the end, it was probably 2 months of nightly ebay visits.  I would watch many cars, keeping track of how much the models were closing for, and the distance from home.  I also asked the sellers alot of questions about the cars, and their process in regards to dealing with ebay.  Many sellers have different policies, so make sure to ask about it. 

After about two months of looking, we was a Kia Optima with 8700 miles (the the remainder of the 60k bumper to bumper/100k powertrain) listed with a very lucrative buy it now price.  I ran the carfax, all looks good.  Emailed the buyer a few questions, and asked for a phone number, and within 30 minutes we were talking on the phone.  One question I asked was could we walk away from the car when we got there, and the seller said yes.  Within hours of the auction being listed, we hit the buy it now button. 

The car was in Cleveland, an estimated 8 hour drive.  So we rented a car, and took a little roadtrip.  Without going into details, do not buy a car from Cleveland (or anywhere around the great lakes) in the winter, and expect to drive it home.  Holy cow the lake effect snow was horrid.  The estimated 8 hour drive turned into 12 there, and probably about 20 home.  I had never seen a 2 mile long accident before that, but let me tell you, it will hold you up. 

So the net of the purchase, an almost brand new car with a savings of about 7 grand from local dealerships.  The only cost to us was the 200$ rental car, and one night in a motel. 

It was time to buy a car again, so again I turned to ebay.  This time we had the same side impact airbag requirements, but an added requirement of all wheel drive.  Within our price range, I could really only find 1 option, and Audi A4.  This, of course, is not something I was unhappy about  :)  So the hunt started.  Again, I would say it took about 2 months of searching, but a couple weeks ago there was a no reserve A4 in NY closing, so I added my auctionsniper, and watched as the seconds ticked down.  w00t, we win.  After a little happy dance, we started to plan how we would get this car, as this time the purchase was from a private party.  In the end, the seller agreed to deliver the car for a fee, which was fantastic.  It was delivered yesterday, and now I'm having a card time just staring at the car, wishing I could even just take it around the block again  :) 

So once again, we are very happy with our ebay car purchase.  Again, we feel we saved thousands from local dealers, although this time we will need to sink a little money into the car (needs a good cleaning, headlight, maybe shocks, and after some research looks like it may be time for a timing belt change).  But all in all, very happy once again.

Now, some tips on buying a car from ebay

  • Search alot.  The good buy it now deals will close very quickly. 
  • Don't be afraid to make an offer on the vehicle.  Alot of cars close before the end without a buy it now.
  • Use carfax.  This is an absolute must if you are buying on ebay or locally.
  • When it's time to pull the trigger, do it.  Don't wait.  We missed a couple cars with a gunshy trigger finger.
  • Know the market before you buy.  Watch auctions close before you decide it's time to buy.
  • View your searches/categories as both "ending soonest" and "newly listed" daily.
  • Nail down financing before you pull the trigger.
  • Communicate with the seller before you pull the trigger.  Make sure any and all questions are answered before bidding.
  • Look at seller feedback carefully when buying from a dealer, but dont let it dictate the purchase from a private seller.  For example, this seller had no feedback, but I think that contributed to the savings since others may have put more emphasis on that. 

Now the pictures.  Oh I can't wait to register it  :)




 Friday, July 16, 2004
Distributed pair programming

This is more so I don't lose this link.  Interesting idea.  I've been invovled with some pair programming, and certainly find the value, mostly in complex problems.  Not sure how I would feel about one of my coworkers gazing at me through my desktop, but a very cool idea nonetheless.

From Geeknotes From Sells

Check it here



 Thursday, July 15, 2004
Make that bar green!

At work, we have done quite a bit of unit testing so far.  We have been using nunit religiously, and have it integrated into everything we do.  My manager is a java guy, so he is a very firm believer in unit tests.  I was very fortunate in these aspects.

So far though, we have done a lot of test later code, in other words write the unit tests after the code is written.  We all know that we should be writing the tests first, but it's not the easiest concept to grasp.  The arguments are all over on why TDD should be this way, but still, in practice, it's tough to start doing.  In the end, also, I would maintain that the unit tests have the same value if written before or after the code.  Especially when tied into a build system.

This week, though, I had my first test first development, and I have to say, I love it.  One of our developers was heading off for a couple days, and we had been designing something together.  Before he left, we decided the best way to make sure we both agreed with the design, and more importantly each other, was to write the tests first.  Our thoughts were if we agreed on the interfaces, and they matched the logical design, we were golden. 

This of course was a task on it's own, and brought up some very interesting bits that we had overlooked.  So after a few more conversations at the white board, we had stubs for all of our tests and components, a few half written unit tests, and a whole lot of NotImplementedExceptions.  So off he went, and on I went to code.

I first polished off the unit tests to make sure they were all 100%.  This obviously took some time, but since all the interfaces were there it was a pretty easy task.  Didn't even have to turn to the use cases.  So I run my tests, all red.  Fantastic.  Its about the end of the day, so I take an inventory, and check everything in.

Come in today, and start implementing methods.  One by one I see green.  After about 5, it was like I got hit in the head with a boulder.  Holy shit.  I don't think I have ever had such an easy time coding.  Just by writing the tests first, and approaching code one green line at a time, my whole mindset changed.  In the past, half of coding was just deciding what needs to be done next.  Now nunit tells me.  I also see real progress with every green bar. 

Another side effect is the "do the simplest thing possible" statement.  There's no thinking about what it could do, how it could be implemented, should there be another object over here, should there be a kitchen sink in this object over here, none of that.  Just green.  Beautiful green.  Do the smallest amount of work to make green.  I'll be dreaming in green bars tonight.

Well, just after these past few days, I'm sold.  Maybe it's all in my head, god knows the voices are loud, but it seems striving for the green changes how I think about my code. 

Of course one word of warning to anyone thinking about this, your green bar is only as good as your tests.  At this point I have mostly green, and in the end I am estimating I will have spent about 2-3 hours more on the tests then the code.  So, crappy tests, crappy code. 

Thats it for now.  Time to turn the rest green.  One by one.  Just like I like it, small, manageable units of work.  Thanks nunit.



Trying to try Coderush

I've read alot about CodeRush.  It's kind of a pricey product, so I have shyed away from trying it, but last night I threw in the towel and decided to give it a shot.  If it's really that good, it much be worth the coin.  And since I've heard people go so far as to say its like crack for developers.

I played with it a bit last night, and the one opinion I could form was that it is a huge product.  So after about 10 minutes of playing with the purty icons it throws in the ui, I said I would pack it in for the night and see how it performs with real work tomorrow (today).

I come into work today, load up VS.net, and low and behold, CodeRush timed out.  Really?  Yes.  Half of the functionality just disappeared, and the initial pop-up says its expired.  This has to be an error either on my system or in the app, since I highly doubt people would appreciate a 10 hours trial.  Has anyone else seen this?  I emailed DevExpress, but since I am not a customer I have my doubts to if they will get back to me.  I hope so. 



 Tuesday, July 13, 2004
DFW area presentation on CodeSmith

Anyone in the DFW area should check out Jeff Gonzalez and Shannon Davis's presentation on CodeSmith.  I have quickly become a huge fan of CodeSmith, and wish I was local to check it out.  Having worked with Jeff before, I'm sure it will be a fantastic presentation.  Plus, Eric will be handing out free copies of CodeSmith.  Sounds like a can't miss to me.

Details here



 Monday, July 12, 2004
NUnitX DB testing/rollback from Roy Osherove

This seems to be a great addition to NUnit.  After struggling with DB consistancy for unit tests we have implemented something similar, but much more manual.  This seems like an ideal solution to deal with DB consistancy.  The one issue I do see is the ability to fully test transactions without needing to model the code around a RequiresNew attribute, but what a step in the right direction.  Can't wait to take a look, thanks alot!

Check it out here



Back from long weekend

Was the wife's birthday this weekend, so we took a trip up to Hampton Beach in New Hampshire.  For those not on the East Coast, it's like the beach that time never touched.  There has been little development or fixing up in years, and the arcades are still packed to the hilt with Skee Ball, pac-man, and millipede.  The nostalgia is fantastic, and of course, the seafood is even better.  Oh, and the wife loves the idea that the outlets are right there. 

So after a long weekend of burning my delicate coder skin in the sun, I'm ready to jump back into action.  Had a good idea while basking in the sun this weekend, so there may be a product brewing deep inside iceglue.  Some sequence diagrams and functional requirements are already in the works  :)

 

Code | Random


 Monday, July 05, 2004
Blog Statistics and Mozilla

A while back I was looking for an app to do some analysis of my blog logs.  I found a little app named 123loganalyzer, and started playing with it.  I ran it probably about 5 times in my 30 day trial and was able to get a good idea of what was going on.  Then, on the 31st day, the app timed out of course.  I debated purcashing it, but decided to start looking again to see whats out there.  I am really surprised at the lack of really any free tools other then awstats. 

So I gave another app a shot, but this time I'm even more impressed.  I've been playing with Surfstats, and really like the app.  And, it's even cheaper then 123.  I might pony up for this in 30 days, or I'm really debating my first whidbey project being an iislog analyzer.

Anyway, none of this is the point of the post.  In going through my logs, something struck me as very surprising.  I was looking at my browser logs, and guess who was not on top?  In fact, guess who wasn't even in the top two.  IE.  I was floored. 

The top browser, and by a decent margin, was mozilla.  In a not so close second is Bloglines.  I still can't believe it as I type this.  So, of course, this peaked my interest.  Off to download firefox.

I played with it for all of about 30 minutes, and am pretty darn impressed.  Only took a couple pages to get used to, and really like the tabbed interface.  This was not the only thing I like about it.  I started looking at the plugins to see what else was out there, and was again impressed with the community that is coming to light here.  My search bar now has options for google, dictionary.com, ebay, as well as some others.  Theres even a plugin that shows the current http headers.  I dig this.

Unfortunatley, though, I already see a couple issues.  And of course they are most noticable on Microsoft sites.  First thing I did when I opened firefox is set my homepage to msdn like I always do, and could tell immediatley the page wasn't 100%.  The question now, will I keep it around.  I really like it, and will use it for some browsing, but I highly doubt I will like having browsing browser options.  I just don't see me having my own little browser war with myself.



 Saturday, July 03, 2004
Whidbey overload

I've spent just a little time with b1, and can already see there is a huge amount of changes and updates.  Just huge.  I think I am going to take a sectioned approach to discovering whidbey, and thus picure whidbey.  Initial thoughts :

General Coding Changes
Windows Forms Designer Changes
ASP.Net Forms Designer Changes
DB Project changes

Any input on the order would be good, and I'm sure ill find more to look at in these trails.



Picture Whidbey 7 - Class Diagrams

Remember that view in diagram from PW6?  Well this is where it brings you.  A picture is worth a thousand words.  And yes, adding one in the diagram immediately adds it in code.

Mini image in post, click for large.