It seems that I am always searching for good regular expressions, but really accurate and concise ones are seemingly impossible to find. Most do very poor jobs at covering corner cases, or they are completely wrong and useless. For example, I recently discovered a regex designed to match an MD5 hash, which is a 32-digit [...]
When you work with a team of Java developers of varying experience levels, you will often see compiler warnings that are ignored by Java 5 — and thus just as often ignored by the developers who figure that if it isn’t important to Java, it isn’t important for them to fix either. I find the [...]
I generally prefer using PNGs to display images. They look better than GIFs because of the alpha-channel transparency, they compress much better than GIFs, and the color range is significantly wider and allows for smoother transitions and greater color precision. Plus, if you can live with the larger file size, they don’t have that lossy [...]
One of the pet annoyances I experience when interviewing a developer is realizing that the candidate is completely clueless about certain skills he or she has claimed expertise on their resume. There are just too many outright liars out there — so many desperate people pad their list of supposedly known technologies in order for [...]
The JavaScript Fade Anything Technique is great for fading a specified background color of an element back to its native color, but I wanted to dissolve an entire div, including one with images, which the current version of the Fade Anything method doesn’t allow for. After an unsuccessful search for something to suit my needs, [...]