|
 |
 |
Just another day
|
8/1/2010 12:40 AM
|
|
Not much to add to the site this month. Just watchin Netflix, playing some guitar and xBox.
|
|
 |
 |
 |
Addicted to Netflix
|
8/1/2010 12:38 AM
|
|
I think I'm the guy slowing down the Internet by downloading too much thanks to Netflix. I even watched a Godzilla movie last month. Right now I'm watching Legend of the Seeker, Spartacus: Blood and Sand, and the Tudors. And if you haven't already done so then write to your ABC network and beg them to renew Legend of the Seeker. It's a cool show.
|
|
 |
 |
 |
Type Inference in VB.Net
|
2/1/2010 4:44 PM
|
One of the cool things in VB on .Net 3.5 SP1 is Type Inference.
The traditional way of dimensioning a string is like this: Dim something as string = ”Text”
With type inference you don’t have to type “as string” the compiler will figure this out for you. Dim something = ”Text” <-This would dimension something as a string Dim something=1 <-This would most likely dimension something as an integer
Now if you added 1.5 to something, then something would now be inferred as a double or decimal type since it is no longer an integer.
Now most of the time this is just a little time saver until you get to working with databases. When running a select statement using LINQ to Entities we have something like this
Dim Q=From T in db.Tablename _ Where T.ID = variable _ Select T
Typically Q is an iqueryable object of T and no one remembers this stuff which is where Type Inference is a lifesaver.
|
|
 |
 |
 |
2009 Highlights
|
12/31/2009 10:35 PM
|
Just a couple of highlights for 2009. Have a great new year. -Watching NDSU in the NCAA Tournament -Seeing Sonata Arctica and Dragonforce live -Getting my Gibson LP Standard :) -Forza 3! -Windows 7 -Not running into a raccoon on HWY 3
|
|
 |
 |
 |
Merry Christmas
|
12/25/2009 6:59 AM
|
|
I hope everyone likes the new site layout. Have a great Christmas.
|
|
 |
|
|