Nov 13

Stumbled across a very strange “issue” with iGoogle. Very easy to reproduce:

Continue reading »

Tagged with:
Nov 11

In VB.NET you have always been able to use optional parameters:

Sub Foo(ByVal p1 As String, Optional ByVal p2 As String = "default value")
End Sub

'Call to Foo with 1 of the 2 parameters is allowed
Foo("p1 value")

Now in C# 4.0 we get the same support:

void Foo(string p1, string p2 = "default value")
{
}

//Call to Foo with 1 of the 2 parameters is allowed
Foo("p1 value");

Continue reading »

Tagged with:
Nov 09

But I for one, think this is too little too late. Is this enough to make us migrate of off Subversion, NUnit or CruiseControl.NET?  No but it might be able to fill a very small gap left by open source tools.  But I will not be switching from any open source frameworks for Team Foundation Server 2010.  We needed this about 5 years ago, why the U-Turn Microsoft? Probably because of the lack of Team System take up? Come on who do you know that uses MSUnit or Team Foundation Version Control (TFVC)?

Source: http://blogs.msdn.com/buckh/archive/2009/10/20/tfs-2010-server-licensing-it-s-included-in-msdn-subscriptions.aspx

Tagged with:
Nov 01

Quite often I would like to watch iPlayer, Sky player or youtube while I’m working.  Basically I would like to have a small window in the corner always on top.  I searched for a Firefox plug-in and found there wasn’t one.  I digged a little deeper and stumbled on this:

http://www.labnol.org/software/tutorials/keep-window-always-on-top/5213/

All you need to do is download and run the exe and press ctrl + space on any window (including Firefox windows) and that window will stick and always be on top of other windows.  This is great it means I can catch up on TV and work at the same time!

Tagged with:
Oct 22

Usually when I need to call a JavaScript function using a string I use:

function myUsefulFunction() { //useful code }
var foo = 'myUsefulFunction();';
eval(foo);

However a more elegant approach would be to use:

function myUsefulFunction() { //useful code }
this['myUsefulFunction']();

Continue reading »

Tagged with:
preload preload preload