Checked an e-mail account that has apparently been exluded from my main Send/Receive group in Outlook today and found this e-mail in the Junk E-mail folder.
Maybe I should use this to setup a rule...
;)

I have learned a bunch of exciting things over the past couple of months but unfortunately it's proprietary and I can't blog about it!
I was never one to blog about where I work or what projects I have been working or else I'd have a ton of new entries.
Tags:
Interesting
Tried to debug a new Silverlight application today. By new I mean it was hosted in a different web project then the one I had been previously working on due to the fact that I needed to test some stuff locally. I was trying for about half an hour to get this thing to debug. The application would start to load up and then just hang on the loading animation. A co-worker told me to make sure I had the Silverlight debugger checkbox checked. I then go into the appropriate property tab and am greeted with this:

I remember this debugger option used to be located in the appropriate Debuggers group box. Apparently when I performed my Visual Studio 2008 and .NET Framework updates my Visual Studio 2008 UI ended up getting mutated.
Very strange.
Tags:
Interesting,
Silverlight
Better grab a lunch, or 9.

Tags:
Interesting,
Other
Just installed a bunch of Windows Updates for my laptop and now I can't send / receive e-mail with Outlook. After about a minute or so it NOT RESPONDING's out. It was mostly updates dealing with Office 2007 so I'm guessing something went south. Needless to say I am uninstalling all of them and turning off automatic updates.
The only difference between now and last night at midnight when I went to bed was that I could send / receive e-mail then and updates were installed in the meantime.
WTF Microsoft?
UPDATE
Restored my system to the point right before installing the updates (thankfully this restore point is automatically created) and my Outlook works as it did before.
I think it's safe to say there was something iffy about this update as it relates to my computer. Weird.
Tags:
Interesting
I was checking stats today and came across yet another gem. Apparently some ass-man found my site by searching Google for a nested ass repeater.
FWIW, I'm number 1 out of about 4,200 for such a thing.
Win?

Tags:
Humor,
Interesting
I was checking my stats today and came across this gem. I am 1 out of 24,700 on Google UK for the following search term:
how to fuck an intranet in cmd
Win?
Tags:
Interesting

That is all.
ps. I would not be surprised if there wasn't an actual team for the Guid Generator. :-)
Tags:
Interesting,
Tools
I needed a laptop a couple of months ago as I am doing more and more freelance / contracting work lately. I wanted a Toshiba and ended up with the P105-S6177. It came loaded with Vista Home Premium, 2GB memory, 120GB HD, 17" screen, etc... So I had Visual Studio installed when I got home only to find out that I couldn't Debug! I had to revert back to classic-ASP'esque Response.Write() lines. Loooaaads of fun.
This morning I awoke to 8 updates via Automatic Updates and installed them right away in hopes that this intermittent problem with IE 7.0 freezing up anywhere from 1 - 5 minutes at times when I am feeling most productive would simply go away. Well this morning while working on a test application I accidentally clicked 'Start Debugging' instead of 'Start Without Debugging' and was floored to see that I was actually able to do this without some obtrusive messagebox telling me otherwise. Talk about simple pleasures.
Thanks Microsoft! At the same time I am sorry to say that I am going to install Firefox after I press the 'Submit' button for this entry.
UPDATE #1
I am no longer able to Debug in Visual Studio 2005!
UPDATE #2
I am able to Debug in Visual Studio 2005 (again)! More information here.
Tags:
Interesting,
Tools
Andrew Robinson sent out an e-mail to our local .NET group about anonymous delegates. The e-mail got me interested and I started reading up on delegates in the 2.0 framework. I am currently working on a class for a project that uses a lot of Generic lists. While enumerating these lists I need to make changes to the collection and of course I am unable to make direct changes to the collection while I am enumerating (rightfully so!). The next logical thing to do is create a copy and make changes and after enumerating commit those changes to the collection. This entailed creating a method such as CopyList that would take a parameter of List<T> or simply an Object.
Two weeks ago I had a method that looked like the following.
static
List<Bar> CopyFoo(Foo item)
{
List<Bar> foo = new List<Bar>();
foreach (Bar bar in item.Bar)
foo.Add(bar);
return foo;
}
Pretty basic stuff. The method takes the Foo object and enumerates each Bar in item. Each Bar is added to another collection of Bar. Pretty simple and straight-forward. As simplistic as that looks, there is actually an easier, and in my opinion; more elegant way.
With the Generic List ForEach method you can dump the entire contents of a collection in one line!
static
List<Bar> CopyFoo(Foo item)
{
List<Bar> foo = new List<Bar>();
item.Bar.ForEach(delegate (Bar bar) {foo.Add(bar);});
return foo;
}
Very simple but a cool trick nonetheless. The action of the ForEach method is a delegate to a method that performs an action (List.Add) on the object (Bar) passed to it.
Tags:
.NET,
C#,
Interesting,
Programming
Thought I would share something I found while searching for information on C# linked lists that is quite interesting and oddly humorous. To set up these screenshots, the initial poster is new to C# and is creating a circular doubly-linked list. One of the replies is helpful and the other not-so-much. I provided screenshots so as to not have to navigate back and forth.



Apparently new programmers that aren't learning the basics are the reason why companies are outsourcing to India. I understand that one should learn the basics but I don't see a direct connection to that being the reason that jobs are outsourced.
Talk amongst yourselves.
Tags:
Humor,
Interesting