Ok, here’s something you’ll want to refer to daily… the current status of the jQuery 1.4 “TODO list”, or as I like to call it, “Report 37“. Usually when people on the jQuery dev lists ask “When will jQuery 1.4 be ready?” they are met with a resigned (resigned not resiged) answer: “When it’s ready”. But we don’t have to take that kind of glib-ness anymore…
Adding “1UP notification” with jQuery
Now, as many of you know, I’m a big fan of taking interactions from retro gaming and attempting to squish them onto the page as standard UI elements. If I had my way, all sites would look like BMX Simulator from the C64. With that in mind… today something great happened. A win for old-school-gaming-as-ui-elements unmatched since CSS sprites were invented: Jeremy Keith’s 1UP notifications! Don’t simply let your user know they’ve “added a friend”, let them feel like they “added a friend” AND scored 1000 points! 1UP notifications just have to storm the web with their awesomeness, and we need to do our best to help them.
Critical jQuery Info: How to pronounce “live”
After weeks of debate an answer has emerged. Live rhymes with “jive”? Or live rhymes with “give”?… that was the discussion point that was starting to turn ugly… In the live/jive corner: the “live” event is always on – like a live broadcast. In the live/give corner: the corresponding remove event is called “die”, so it’s “live & die”.
After finally getting fed up of saying “…just use the live/live event”, @twalve realised that our heros are merely a single tweet away and hit up Brandon Aaron for the answer… and here it is:
Closures with self-invoking functions
Just a quick note-to-self… I’m a big fan of using self-invoking anonymous functions to keep stuff out of the global namespace, but I forgot that they are also nifty for keeping variables in scope via closures. Here’s the problem… Let’s say with have an array that we’d like to populate with functions. The functions simply log their index to the console:
Esrever ni sdrocer gniyalp

I’m getting pretty sick of people coming up to me on the street and asking how they can play their records backwards to hear the devil. “I can’t spin it backwards at a constant rate” they cry, “and I get tired after a while. What can be done?!”. It’s upsetting that this problem still plagues our society when the solution – past down from drunken uni student to drunken uni student for decades – is easy, and requires fewer household items than an average Curiosity Show experiment.
