Wow, slapping my forehead on this one. I’ve been wondering how to navigate through dialog box options in OS X for quite a while, and couldn’t understand why there wasn’t anything in the Universal Access preferences and why the help wasn’t working. Apparently in 10.1, there is Full Keyboard Access for Section 508 Compliance, but you actually have to go in the Keyboard preference item and click a checkbox in the second tab to turn it on. For the life of me, I can’t understand why Full Keyboard Access isn’t on by default. An interesting usability issue. While you get a second selector you can move around, say in dialog boxes with the tab key, you need to click space to activate that option. The Enter key will always activate the highlighted default. This highlighted tab is completely different from the selector you can control. That’s very stupid. Also, while the Apple Help lets you search for shortcuts by article title, and there is an ADC Keyboard Focus and Navigation article, there’s no 1-screen quick reference, which, well, there really should be.

How to parse a well behaved CSV using a regex in Perl 5:


while( m{

  (^|,)

  (?: "([^"]*)"  

  |

  ([^,"]*) ) 

}xg) {

  $f = $+

  $f = $^N # version 5.8 named reference

}

That’s the maintainable code version. here’s how you’d probably see it out in the wild:


while(m{(^|,)(?:"([^"]*)"|([^,"]*) ) }xg){$f = $+}

Of course, the scary part is that I now understand this.

Listening to the keynote right now, hey, you can download the v. 7.06.3 version of the Zebrafish genome from Ensembl. Woo. 😉 Everything I recorded yesterday is up. Fun bits include RMS at the Helix announcement, and Mozilla and Blog as KM BOF sessions.