Al Hoang

December 25, 2003

Viewing Microsoft Compiled HTML Files (CHM) in OS X

Filed under: fixes, mac, osx — hoanga @ 1:15 pm

Ted Leung describes how he built xchm which is a X11 app that lets you view Microsoft Compiled Help Files (CHM). THis is really handy although needing X11 is a semi bummer but a liveable one

Obligatory Excerpt:


I got xchm to build on Mac OS X. This is an open source view for compiled HTML help (CHM) files that are mostly used on Windows. The reason that I wanted xchm is that the Python docs are available in CHM format. The advantage of CHM is that its highly searchable (and you can search when you have no network connectivity). So this is a great way to get goo d access to documentation for Python, which I still need at this point.

CHM files are quite handy under Windows I must admit so it’s good to see a tool to let you view it on OS X

Link to Ted Leung’s Post

The Irony behind Decent Blogging Tools

Filed under: gripe, stupid, tech — hoanga @ 12:18 pm

So far from what I’ve seen most of the free blogging tools are pretty weak. Most of them are built and designed to be exploited by the creator only. The creator then decided to make it free software since the thought is ‘hey it works for me, it might work for lots of other people’. But after looking through many of them, I find the documentation to be rather obtuse as a user, not as flexible to my particular desires, or just cruddily documented.

Read More

Rhino JavaScripting on OS X

Filed under: java, mac, osx, programming — hoanga @ 11:55 am

From Ranchero’s Weblog I saw this Weblog Entry on getting the Rhino JavaScript engine setup in OS X. This is pretty neat especially for people who are heavy into ECMA/JavaScript hacking as it allows them to leverage all of their sensibilities of JavaScript for doing scripting tasks.

The breakdown of tasks you need to do are:

  1. Grab the Rhino Tarball from the Mozilla site
  2. Then do some customizations to your shell environment to be able to run it easily

One thing to note is that Rhino relies on a Java VM to be installed as it is basically a JAR file with a bunch of extra functionality. One bonus for OS X is that Java is already installed with OS X (isn’t it nice not having to go hunting around Sun’s website looking for a bloody JVM then waiting for some huuuuge download to finish?). However a detractor is that it’s Java. I’ve tried writing some command line tools using Java and I find them clunky as you have to do lots of annoying contortions to just run it correctly at the command line. For a seasoned Java programmer it’s probably business as usual…

However, I already know my way around Ruby, Python, and am fluent enough in plain Bourne SHell syntax that I don’t see the point of adding yet another tool to compete with my CLI tasks. Right now, I’ve truly decided on Ruby as my scripting language once it gets outside of the realm of too much difficult logic in Bourne Shell (I still use this when the needs are simple). I like Python but it sucks trying to get Python working properly in a command pipeline. But if you do the normal, write a file, then run it in the interpreter it won’t make a big difference. OR if you use some fancy IDE.

But either way, choice is good and I’m sure JavaScript fans will be able to benefit most from this

Link to getting JavaScript up on OS X

Powered by WordPress

Protected by AkismetBlog with WordPress