Menu Content/Inhalt
Home
Friday, June 9, 2006

The first major thing I worked on today was the code in the Catalyst application, specifically trying to get the dbi->trace command to work. I made my own copy, renaming the necessary calls and files therein. I tried to line up the indents in the function that calls dbi->trace (genchart) to see what commands were in what loop, finally succeeding with the help of Kate (KDE Advanced Text Editor -- collapses blocks and everything!). I finally found out that the function was never getting called -- a copy in another file was. I got that fixed, got dbi->trace working, but I can't get the count command to work in this new function. I have to comment it out for the genchart function to run. I don't know what's wrong with it.

I bookmarked a couple of sites that talk about making imagemaps using Perl, for making our graphs clickable.  Check out graphviz -- purty!

Next I decided to work on mocking up a bubble chart, since Nate has been wanting to use those. I've got most of the pseudocode in.

Maybe I should look at learning Ajax or XML. Would those be compatible with Catalyst? Would they be useful? Would they be accessible, cross-browser-compatible, etc? (How much do we care?)

I'd also like to know how to stop a sql command (like "select *" returning 3 billion records) without having to log back into the mysql interface. 

But the most exciting thing I did today, by far, was learning about remapping my keys, mostly via xmodmap. I've swapped the left Ctrl with Caps Lock, and I think it's going to take a lot of strain off that pinky (keyboard fan that I am, I try not to jump over to the mouse more often than I have to). I also discovered some existing keyboard shortcuts here, including:

  • Ctrl-Alt-L (well, Caps_Lock-Alt-L for me now) locks your session -- analogous to Win-L in Windows
  • Alt-F1 pulls up the launch menu (read: START MENU). I couldn't figure out how to map this to a press of the Windows key. The buil-in control panel configuration options would let me map it to Win+sthg, but not just plain Win.

Can you tell it's Friday?

 
< Prev   Next >