-
Just the other day I had a need to use arguments.callee and I realized that's not something you really see every day in JavaScript. Maybe I could talk about it a bit. Anonymous functions everywhere It's not news to anyone reading this blog that one of JavaScript's workhorses are anonymous...
-
I've written about this before. You download a file to use in your web application, like a JavaScript library or an image file but the browser just can't seem to load it. You spend hours looking for a typo or broken link until you find out about that Unblock button and you realize that it's...
-
Today I was trying to install SQL 2008 on my box and the setup stopped after checking a bunch of rules. The error message was the title of this post. A quick search on the internet revealed that somehow the installer didn't believe I had VS 2008 SP1 installed, which I did. The recommendations in...
-
I've been doing a lot of static analysis on our projects at work lately. As part of that task we added NCover to our automated build process. Our build runs on Team Build (TFS) and is specified in an MSBuild file. We wanted to take code metrics very seriously and we purchased the complete version...
-
Today I needed a way to identify ANSI (Windows-1252) and UTF-8 files in a directory filled with files of these two types. I was surprised to not find a simple way of doing this via a property of method somewhere under the System.IO namespace. Not that it's that hard to identify the encoding programmatically...
-
It's a matter of time. Good were the days when almost no application knew how to put overlays on your file icons in Explorer. These days it seems this is the coolest thing ever and virtually all file system type of utilities want to add their own . Sooner or later you will install some utility and...
-
Oh, the woes of supporting IE6 (or, better put, IE666 — the browser of the beast.) Halloween is definitely upon us. Today I spent a good chunk of time trying to identify the source of a problem in my application. Right now I'm in the process of jQuery-fying some legacy JavaScript, which includes...
-
This post is part of a series called JavaScript Demystified . Answer quick. Do you know what date is being created here? var year = '2009', month = '09', day = '01'; var date = new Date( parseInt(year), parseInt(month), parseInt(day) ); At first glance, it wouldn't surprising...
-
This is a tip for anyone using Firefox and Firebug for web development that is not leveraging the Profiles feature of that browser. Recent versions of Firebug (after v1.3 I think) removed the ability to enable Firebug panes on a per-domain basis. Now it's kind of all or nothing. And you know that...
-
One of these days I was chatting with Derik and we were talking about refactoring and when to stop refactoring. We thought it was funny (and embarrassing) how sometimes, after a few consecutive refactorings, we are back at the starting point. This type of Circular Refactoring is a real productivity enemy...
-
In the spirit of helping the next guy, here's some explanation for a problem that was surprising to me. We have recently upgraded our product to 64-bits and all developer workstations to Windows 2008 x64. The transition was easy and most things worked with minor or no tweak at all. We're still...
-
This feature of SVN is very handy. After you build your projects, there will be dlls in bin folders etc which you don’t want to commit. Using svn:ignore property of SVN, you can eliminate the possibility of committing those files! As many other things, I learnt this from NH :)
-
After reading a good number of the guides for getting Git / GitHub / Unfuddle working correctly in Windows, I finally got it sorted out. I had to use a bunch of things I had not used before so I realized it's probably a good idea to share my findings, hoping to help someone else (and maybe myself...
-
This is a tip for those working with JavaScript (and possibly other types of files) that is freely available for download. For the n th time in the last few months I spent an unnecessary amount of time trying to find a problem in my code that wasn't really there. Windows keeps track of the files...
-
My current project has an interesting story of being converted across platforms and programming languages. I hope I can talk about this conversion process some day (it was not manual). One of the side effects of mass conversions like this is that the final result tends to carry over some weird patterns...