Auffie’s Random Thoughts

Saturday, June 30, 2007

Taiwan’s Unreasonable Judicial Process

I do not normally watch events in Taiwan closely, but on my recent trip to Taiwan I could not but notice its unreasonable judicial process evidenced in the case of murder charges against 蘇建和 et al. Given the way the media reported on the case, one could not make any inferences on how strong the evidences were, either for or against the defendants. However, one point stood out in my eyes which seems to have escaped the commentators that I had read: the defendants had been acquitted in one of the trials. In the United States, that alone would have put the case to rest; there would be no way for prosecutors to continue pressing it. If the prosecutors fail to prove their case by presenting sufficient evidence (with the corresponding severity of charges: first-degree? second-degree? manslaughter? etc.), then the defendants cannot be found guilty. Legal guiltiness is different from actual guiltiness: the former has to do with what the limited human system can prove, but the latter can escape the imperfect system. The American legal system recognizes this and designs its judicial process to protect the innocent at the expense of potentially letting free the actually guilty.

This case, therefore, shows a fundamental problem in Taiwan’s judicial process. I do hope that in the coming weeks arguments will not focus so much on whether the defendants were actually guilty, but rather on how the judicial process itself needs to be fixed.

Friday, June 08, 2007

Fixing "expr: syntax error" in Acrobat Reader for Linux

I wonder how Adobe managed to get it to release: after installing Acrobat Reader 7.0 for Linux from the rpm, as soon as I invoked acroread the script went into an infinite loop spitting out the message

expr: syntax error

After digging around the net, I found the solution. It’s apparently a small typo in a regular expression that failed to match the version string on a dynamically linked library. Here is the fix (in diff notation; I’ve modified the indentation to make it display better on the blog):

418c418
< echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
---
> echo $mfile| sed 's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'

The fix is to add the Kleene * to the second [0-9] in the regular expression. With the fix the script now works smoothly.