Feeds:
Posts
Comments

Archive for May, 2005

IPAQ GPS

I finally purchased a car mount kit for my IPAQ so I use GPS in my car. My GPS unit is separate blue tooth box, which sits out of the way on top of the dash. Blue tooth seems to eat battery on my IPAQ, so I made sure I purchased a mount kit with [...]

Read Full Post »

In my previous post on Generics, I received a comment from Eddie, who was asking why developers would want to use the following constraint, in the example below, when he would pass the parameters as IComparable interface types. public static bool IsLessThan(T one, T two) where T:IComparable { return one.CompareTo(two) < 0; } public static [...]

Read Full Post »

Oops

I forgot to mention in my last post, about Generics, that Sahil Malik helped me out with the solution. Between the two of us we figured out why parameterized constructors are not allowed when creating new instances of generic types. I would have edited my initial post, but the formatting in my blog that displays [...]

Read Full Post »

C# Generics

I’ve been playing around with generics in C# today. Simply put, generics are akin to templates in C++, only much better. My aim in this post is not to explain the in’s and out’s of generics, in the new 2.0 version of the .NET Framework but to highlight some key points of interest. For a [...]

Read Full Post »

Ever wondered how the strange Amazon.com URL for images works? Aaugh.com has a great article on how to manipulate Amazon images by changing the URL. When I eventually get my MP3 tag writer off the ground this will be just what I’m looking for to obtain the correct album art.

Read Full Post »

Today I was delighted to learn about common table expressions in SQL Server 2005. Essentially, CTEs replace the need for cursors when executing statements against rows in a result set. Here are some examples… Let us assume that we have an employee table, and the employee table lists all employees in the company. Each employee [...]

Read Full Post »

…. If you are you might want to take a look at the following job advertisement from Ontology Works. As a software developer I always become suspicious of any job that advertises “programmer” positions and not “developer” positions (see blog post on Programmer vs Developer). Thoughts of a desk behind the company coffee vending machine, [...]

Read Full Post »

Firefox 1.04 Released

Version 1.0.4 of Mozilla Firefox has been released, which fixes a couple of critical security vulnerabilities. Download here.

Read Full Post »

When Microsoft launches Visual Studio 2005 they are planning to role out 5 new premium MSDN subscriptions types. At this time MSDN Universal and MSDN Enterprise will no longer be on sale. Existing customers of Universal and Enterprise subscriptions will be upgraded at no cost to one of the higher premium subscriptions with VS2005 and [...]

Read Full Post »

Okay, after faffing around for a couple of hours on Google and experimenting with the new Configuration Management API I managed to find a solution to my earlier problem. The following code demonstrates the new way of retrieving the maximum HTTP request size from the web.config file. private int MaxRequestLength(HttpContext context) { int result = [...]

Read Full Post »

Older Posts »

Follow

Get every new post delivered to your Inbox.