Geeks With Blogs


Running with Code Like scissors, only more dangerous February 2008 Entries
Finding Employment that Works for You
As I mentioned when I pioneered this blog, I work for Terralever, an interactive marketing firm based in Tempe, AZ. I started there following a rather interesting series of events that involved an application to Blizzard. As someone who has read much of my blog will know, a lot of my interest in programming lies in areas outside of web-based programming. I consider my specialties to lie in .NET internals, object-oriented design and analysis, and Windows-based UI design -- these are the areas that ......

Posted On Tuesday, February 19, 2008 11:15 PM

Dear Microsoft, Please Buy UltraMon
It was only a couple years ago that Microsoft acquired Sysinternals. I think a lot of people were concerned at the time; a lot of very cool utilities were at stake, though I think it was a nice change at the end of the day. Another utility that is well overdue for Windows, and (I think) would really help a guy with his side business, is UltraMon, by RealTimeSoft. My understanding is that it's written by a gentleman called Christian Studer, and that he works on this outside of his primary job. UltraMon ......

Posted On Monday, February 18, 2008 2:03 PM

Windows Live Platform Airlift: Thoughts
So as I sit in the airport, hoping that one of the beyond-overbooked flights has an opening so I can get home early and not have to go through Vegas, I thought I'd share my thoughts about the Windows Live platform that we picked up during partner training here in Redmond. Single Sign-On Without a doubt, the coolest feature enabled by the platform is single sign-on. And, while we're at it, the way it's implemented is really cool. When a user goes to a site that uses the single-sign-on feature (that ......

Posted On Thursday, February 14, 2008 5:20 PM

Comment Responses: C# 3.0 Best Practices
I've received some comments and composed some responses, included below: First Comment/Question: I've got questions about performance in LINQ and LINQ to SQL. Is it more effective to create a query against the context or against a collection on another object? For example, which is better: = from t in db.Things where t.Something = "MyVal" && t.ForeignKeyId = 28 or is it better to do this: = from t in db.ForeignKeys where t.Something = "MyVal" ? In the former, I'm running against the data ......

Posted On Thursday, February 14, 2008 4:08 PM

C# 3.0 Best Practices: Downloads
I'm publishing the PowerPoint slides and sample code from the C# 3.0 Best Practices talk I gave tonight at the Arizona .NET Users Group meeting. Once again I'd like to thank Scott Cate for extending the opportunity to me, Lorin Thwaits for pinch-hitting for Scott, and to Hudson IT Staffing for the event sponsorship. Slides (PowerPoint 2007 format, you can get the viewer free). Code Sample Please note that the code sample isn't really annotated, and was designed to generate the code in the slides ......

Posted On Tuesday, February 12, 2008 8:03 PM

Windows Live Platform Training
Tomorrow after I present at the Arizona .NET Users Group, I'm getting on a plane to head to Redmond, WA for some first-party training on the Windows Live platform. I'm not particularly certain what to expect; I think by and large, most of us are a bit ignorant about what the platform has to offer, and while some of the components are incredibly cool (the Virtual Earth API, for example), others seem... not so cool (such as the web-based gadget hosting platform). One thing is certain - with the Windows ......

Posted On Monday, February 11, 2008 6:53 PM

A Synchronized Reference Counter
In a recent project that I've been working on, I had the need to access a singleton object from multiple callers on multiple threads, but then restrict access to the singleton during a change operation, during which the singleton was changed out and replaced with a new one. New requests must block until the singleton change is complete, but existing requests must complete before the singleton change occurs. A WaitHandle - specifically, an EventWaitHandle with the reset mode set to Manual - is an ......

Posted On Monday, February 11, 2008 6:45 PM

The Arizona .NET Users Group - C# 3.0
Next Tuesday, Feb. 12th at 5:30pm, I'm presenting at the Arizona .NET Users Group at the Microsoft campus in downtown Phoenix. The presentation is going to be a deep exploration of the new features of C# 3.0 - including LINQ, lambda expressions, extension methods, simple properties, partial methods, anonymous/implicit types, and object and collection initialzers. It will also cover some of the new .NET Framework 3.5 class libraries, but only insofar as they support the C# 3.0 language features (for ......

Posted On Wednesday, February 6, 2008 6:51 PM

Mass Effect: Promised the Galaxy, Delivered... a Star System
Mass Effect, the latest installment of Bioware's epic RPGs, promised us the world, nay, the galaxy. It spoke of a universe of incredible depth, a future world in which humanity has discovered the means by which to travel to distant stars, interact with aliens, and eek our our place in the galaxy. It's got an incredibly compelling story, in which you are selected as humanity's first "Spectre," an agent of the galactic government empowered to do anything you see fit to preserve galactic stability. ......

Posted On Tuesday, February 5, 2008 12:51 AM

Looking at .NET: The Disposable Pattern
One of the more obscure things about the .NET Framework is the Disposable pattern used throughout the framework, supported via the IDisposable interface. This pattern is so pervasive throughout .NET, that C# intrinsically supports it via the using keyword. There is also a standard pattern for implementing the interface that the interface just can't express (perhaps because interfaces can't specify protected methods; maybe that's a C# 4.0 Wishlist part 6 item?). We can use an IDisposable object with ......

Posted On Sunday, February 3, 2008 10:14 PM

Copyright © Robert Paveza | Powered by: