Multiple IE on same Windows Machine
I often use Internet Explorer 7 for testing my application and always have difficulty to test in IE 6 because Microsoft only allow one browser version on the OS. I don’t want to use Virtual PC 2007 and install another virtualized Windows XP, because I need it fast and hate to wait the installation process.
I browse around and I found great site to webdeveloper who aware about IE 5.5 / 6 appreance, you could go to http://tredosoft.com/Multiple_IE to download several former IE installer before IE 7 in one Installer!. You work on same machine, no need to installing VMWare or Virtual PC 2007. Take your time and try it!.
My Favorite Web Editor
I love hand code but I need powerfull and flexible IDE (Integrated Development Environment). I search on google and I found good IDE for my self. The software is PSPad editor. PSPad editor is free and you could it for your commercial project.
PSPad have powerfull scripting engine which allow us to create our own menu and functions for our dialy job. The scripting engine use VBScript and JScript. You could the most comfortable scripting language for your own to expand the PSPad functionality. Integrated FTP client help me to edit my files on the web.
This site template created on PSPad. Why I choose PSPad? the reason is I don’t want extra huge mega size application and memory eater. It’s light and fast. PSPad still have limitation in threading and you could fell it when trying accessing to FTP server using the internal FTP client. I wish PSPad team will provide the source.
Want to try it? go to http://www.pspad.com/ and install in your computer. It’s awesome editor, many PHP developer use this tool.
Happy Programming
I change my design
There's story behind my design change. I want to create static page about my profile and moving my journal into a sub-domain. Unfortunately, my web hosting provider don't allow me to change customError on my web.config. I am afraid they define customError with "RemoteOnly" value in machine.config.
Could you tell me affordable ASP.NET host in the earth with freedom still in it's context? hehehe.
String.IsNullOrEmpty Flaw
Please take your time to visit Bill’s blog about String.IsNullOrEmpty Flaw. I am rewrite his code into new C# console project, the code is
class Program
{ static void Main(string[] args)
{
Console.WriteLine(“Starting”);
test(null);
Console.WriteLine(“Finished”);
Console.ReadLine();
} static void test(string x)
{
for (int i = 0; i < 10; i++)
{
if (String.IsNullOrEmpty(x))
{
//TODO
}
}
}
}
Now, build the code and set configurastion on Configuration Manager as “Release”. Try running the compiled .EXE and you will get the System.NullReferenceException.
Ok, let’s replace the commented //TODO into something meaningfull like
Console.WriteLine(“This is null string”);
What you get? did you get error or not?. If not the we have same situation. In my conclusion the empty IF block caused an Exception. I rarely use String.IsNullOrEmpty on a loop, but this case make me aware to use this method with heart.
I read that JIT team will not fix it until Post-Orcas is roll out … upz
