Monday, March 17, 2008

linqpadscreen Scott Cate blogged about LINQPad today, and I must note what a great idea this tool is.  In effect, LINQPad is SQL Query Analyzer (a.k.a. SQL Server Management Studio [SSMS]) for LINQ queries.

This tool is to accompany O'Reilly's C# 3.0 in a Nutshell written by Joseph and Ben Albahari.  Not only is it a wonderful tool to debug your LINQ queries, but it comes loaded with 200 examples from the book which is great for beginning in LINQ.

The product is free, so if you are a .NET developer, download LINQPad today.  Do not pass go.

As an interesting experiment, Joseph Albarahi suggests replacing your shortcut to SQL Management Studio with a shortcut to LINQPad.  According to Joseph, "at the end of [a] week, you will actually think in LINQ, rather than thinking in SQL and translating to LINQ."  IMHO, you won't be able to completely do without SSMS as LINQPad doesn't offer table management tools, but LINQPad certainly could sit right next to SSMS.

posted on Monday, March 17, 2008 1:52:32 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]
 Thursday, March 06, 2008

I had a love/hate relationship with physics.  In college, my classes were too big (for me) but the theories were so intriguing that the classes kept me coming back for more.  Of particular interest were my Statics (not to be confused with Statistics) and Dynamics classes.

If I had these games tools available to me when I was in school, some of the subject matter may have been slightly easier to grasp.

Phun

Crayon Physics

Technorati Tags: ,,,
posted on Thursday, March 06, 2008 11:28:17 AM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]
 Wednesday, March 05, 2008

Bravo to Microsoft for streaming their keynotes and their session presentations on their website at http://visitmix.com/2008/.  I would love for Apple to also stream their presentations.  Currently I rely on blogs such as Engadget or Gizmodo to distill those presentations for me.  This is a disservice to both me and Apple.  

I was intensely geeked out by streming the live video of Scott Guthrie's keynote on my phone while at lunch today.  The experience was amazingly and surprisingly good. 

posted on Wednesday, March 05, 2008 1:20:40 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]
 Tuesday, March 04, 2008

The_Simpsons-Jeff_AlbertsonI've worked with and around networks at many levels for years.  What I haven't done, however, is work as a network administrator.  I've found that most good net admins both look and behave like Jeff Albertson (a.k.a. The Comic-Book Guy).  They just seem to have that special something.

Regardless, you may still find yourself with the need to perform some basic administration on an Active Directory.  For example, you may need to share a network drive at the logon.  Well, here's how you do just that:

Note: I'm not a net admin.  I only play one when absolutely necessary.  The method below is based on what worked for my environment.  Your mileage may vary.

How to share a user drive at logon

Create the folder & set properties

  1. Create the user folder on a server named the same as the user to share it with a dollar sign ($) at the end, e.g. MattB$
  2. Right-click, Sharing and Security...
  3. Change to Share this folder, then click Permissions
  4. Delete the "Everyone" account, and add the user who will own this directory
  5. Change their rights to allow Full Control for this user
  6. Click OK to get to properties, then click on General tab
  7. OK

Create the logon script

  1. Start notepad.exe and add the following line:
    net use u: \\servername\%username%$
  2. Change "servername" to the name of your server, and change the "u" to whatever drive label you want to use; X: or Y: or Z:, etc
  3. Save the file as logon.bat to your desktop
  4. Right-click the file and choose "copy"

Edit your group policy

  1. Get to the group policy you wish to edit by opening AD Users & Computers, right click the domain, click properties, Group Policy tab, select the GP and click Edit
  2. Navigate to User Configuration/Windows Settings/Scripts
  3. Double-click Logon, click "Show Files..." then right click and paste the logon.bat file there
  4. OK all the way out, and close AD editors

Either wait for your AD to replicate these rules out or go to a command prompt on your AD server and type
gpupdate /force

At logon your user will be auto-shared this device

Other reading:

posted on Tuesday, March 04, 2008 9:57:13 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]

Sorry for anyone paying attention, but I had a bit of a DNS issue.  My server was maintaining its own DNS records and the host changed the way they forwarded records.  My site went *poof* and disappeared.

With a wave of my hand, I bring back mattbirmingham.com

posted on Tuesday, March 04, 2008 9:57:06 PM (US Mountain Standard Time, UTC-07:00)  #    Comments [0]