Tuesday, July 29, 2008

MultiClutch Keycodes

On MacBook Pro, I use MultiClutch to add some convenient gestures to my desktop. This application surely opens the potential of the multi-touch pad. However, I'm having trouble bind arbitrary hotkeys to various gestures, so I look into the source code and found that if you input the keycodes directly, you can setup any key bindings.

You can edit the file:
/Users/YourLogin/Library/Preferences/com.wonderboots.MultiClutchBindings.plist

These is my setting, in which you can find Command-Tab which is usually not allowed in the interface.



<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>bindings</key>
<dict>
<key>Firefox</key>
<dict>
<key>Rotate Left</key>
<string>56,55,33</string>
<key>Rotate Right</key>
<string>56,55,30</string>
<key>Supports_Rotate</key>
<string>true</string>
<key>Supports_Zoom</key>
<string>false</string>
<key>Swipe Left</key>
<string>55,123</string>
<key>Swipe Right</key>
<string>55,124</string>
</dict>
<key>Global</key>
<dict>
<key>Supports_Rotate</key>
<string>false</string>
<key>Supports_Zoom</key>
<string>true</string>
<key>Swipe Down</key>
<string>55048</string>
<key>Swipe Left</key>
<string>56055048</string>
<key>Zoom In</key>
<string>55069</string>
<key>Zoom Out</key>
<string>55078</string>
<key>Zoom Out, Zoom In</key>
<string>100</string>
</dict>
</dict>
<key>donateHidden</key>
<string>NO</string>
<key>version</key>
<string>b4</string>
</dict>
</plist>

Friday, July 25, 2008

Why Blogger?

I had talked about some publishing systems in the post, Why Choose Blog. However, in mid-2008, I decided to move everything to a platform that's managed by a more stable and committed provider, Google, thinking it would save me a lot of time maintaining the technical side of things and enables me to focus more on the contents themselves. This decision involves new technical consideration, life priority, and the trends of the time.

On the technical side, Serendipity is a very good product. Otherwise I wouldn't have chosen it and spent so much time hacking it. However, after a while, it became too time consuming to patch my mods onto every new release.

The other major problem of the old system is MySQL didn't support Chinese search. I highly doubt any PHP (or Perl, or any script) based solution would include a Chinese Segmentation Engine for good Chinese searching. Therefore, I either have to rely on an external search engine, or give up the hope on local Chinese search.

Professionally I have to be very familiar with Drupal and Movable Type, and I do find Drupal very promising. The Drupal community is excellent and I think the framework is very mature and elegant. However, one thing that I learned about myself in the past few months is my current life priority does not allow me to throw in too much time maintaining a production site. Therefore, I made a decision: sacrifice the flexibility of coding things myself in exchange of precious time for my First Life.

Another important lesson that I learned after I started to work is the power of team work. DIABY (Do It All By Yourself) is not the trend in modern professional world. I learned to accept imperfection (or my intolerance of things not being my way) in exchange of the benefit of balance of life -- if I insist on doing everything on my own, I will be too occupied and exhausted to actually live. The trends nowadays are collaboration, outsourcing, and openness. Doing everything on my own is just not feasible at all (although the image of Mac Gyver or any of those heroes came to mind) and heavily customizing my personal blog satisfies nobody but myself. I think I'd be a better internet citizen if I contribute more meaningful contents instead of a very customized look of my blog. By using a more common platform, more people can have access to it with their own familiar tools.

So that's it. A Blogger now I am.

Thursday, July 24, 2008

About this Blog (moved to Blogger)

I had to move the site again -- the original hosting space became unavailable about 9 months ago so the original site was down for that long. Unfortunately, I was going through a time too overwhelming to take care of things like that. Now my life finally came back to normal and I decided to use a relatively stable provider to host my writing and to share my thoughts with people. After a careful consideration of my situation and the resources out there, I decided to use Google's Blogger service. (I'll share the technical consideration process in another post.)

Anyway, I managed to convert everything from my old blog system to Google's Blogger. However, a lot of the hyperlinks in the contents are still linking to the old system. I'll fix them one by one. In the mean time, you can easily search within my Blogger to find the intended linked page.

Also see the old About page.