What’s the deal with television shows recruiting singers to replace dead members of washed up bands?
R U The Girl? What a waste.
And now apparently they’re talking about doing another season of Rockstar for Queen or Van Halen. Dudes, last I checked, David Lee Roth, Sammy Hagar, and Gary Cherone are not dead. Unless you’re talking about their careers, that is…
Geez. Can’t we get some more good tv?
Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Some of you (well, ok, one of you) mentioned how much you loved my new snazzy syntax hiliter. As you can see, it’s phenomenal. Very easy to use, and it supports a nice bunch of languages. By far the best of it’s kind that I’ve experimented with.
Download the WP Plugin @ blog.igeek.info.
Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Seems IE 5 (and possibly 5.5) didn't actually define 'undefined' as undefined, which means that 'undefined' is actually undefined, so you can't check to see if something is undefined by comparing it to 'undefined' in IE 5. Because it's not defined.
Read it again. You'll get it.
Imagine some Javascript a la:
-
function something( requiredParam, optionalParam )
-
{
-
// blah blah blah
-
// check whether the optional param was passed
-
if( optionalParam != undefined )
-
{
-
// do something if we have the optionalParam
-
}
-
}
Well, don't do that in IE 5. Do this instead:
-
function something( requiredParam, optionalParam )
-
{
-
// blah blah blah
-
// check whether the optional param was passed
-
if( typeof( optionalParam ) != "undefined" )
-
{
-
// do something if we have the optionalParam
-
}
-
}
Truth be told, I would recommend using the latter example, regardless of browser version.
Unless you want to see the world's greatest error message (IE 5 only, of course)...

Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.
By now, you've all read my post of last week exclaiming over the free release of the Opera browser, and my new-found and torrid browser affair (Firefox has damned me, and sits in tears in my quick launch bar). As a good friend of mine likes to say, the plot sickens.
One thing that I absolutely loved about Firefox is the "find as you type" feature. It's simple, intuitive, and exceedingly useful. It struck me (and a couple other people) as passing strange that Opera doesn't offer this feature. Lo and behold, it is strange...so strange, in fact, that it ain't true - Opera does indeed support find as you type.
You just need to turn it on.
To do so, go to Preferences -> Advanced -> Search, and check off the 'Use inline find in page' option.
It's still not quite as good as Firefox's inline search (it doesn't sync with the "find in page" search bar), but nonetheless...if this is what was holding you back, it won't anymore.
(Please note: I still love Firefox. It's an amazing browser, and holds a special place in my heart. But Opera...man...Opera is hot.)
Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.
I have to say, Macromedia did a ridiculously good job with Dreamweaver 8. Every day I use it, I find something else that makes me say 'whoa - that is sweet'. Take today, for example. I was actually putting in some Html (weird, I know), and I got to see how the new auto-close tag feature works.
If you remember from previous versions of DW, the auto-close feature would close the tag immediately after you enter the opening tag. I always found that kind of annoying (it gets cluttered fast, there's no 'formatting' (line breaks, tabs, etc), and usually turned it off as one of my first post-installation tasks.
Dreamweaver 8, on the other hand, auto closes the last opened tag when you type "". Beautiful - exactly what I wanted. I no longer have to really think about the tag hierarchy that I'm working with, and I get all my (hand-coded) formatting. And it's subtle, unintrusive, and generally just...wonderful.
Three cheers for the Dreamweaver 8 Engineering Team! You've made my day yet again. Hurrah!
Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Along the vein of posting things having to with finding things, here's a handy Sql tip for making a selection (or update or deletion), with multiple possible values for a column.
The hack way of doing it would be something a la:
-
SELECT
-
columnA, columnB
-
FROM
-
tableA
-
WHERE
-
columnA = 'this' OR columnA = 'that';
Obviously, that could get pretty hairy, pretty quickly. Imagine having 19 different values that are valid (and non sequential, so you can't use 'columnA > 4 AND columnA < 10 or the like.
Enter the 'IN' clause:
-
SELECT
-
columnA, columnB
-
FROM
-
tableA
-
WHERE
-
columnA IN ( 'this', 'that' );
The only caveat being that if the column you're querying off is a numeric field, you don't enclose the values in quotes:
-
SELECT
-
numericColumnA, columnB
-
FROM
-
tableA
-
WHERE
-
columnA IN ( 12, 15, 24 );
Sql can be so much darned fun!
Share me:
These icons link to social bookmarking sites where readers can share and discover new web pages.