Morton Fox (mortonfox) wrote,
Morton Fox
mortonfox

WG, K-Meleon, and Lua

I believe this feature has been available for a few weeks already, but I haven't written about it. So... Where's George can now plot a bill's travels on a Google map. Example: From this bill, which has 3 hits, we can get this map. The map doesn't indicate how long the bill took to get from point to point, but it's still a useful way to visualize the bill's journey. (It's also an improvement over the bill path map feature at Bank of Frank, which was actually a pretty good effort, but only displays the path over a web of county/state borders. Example)

Today, I installed K-MeleonCCF 0.04 Beta3. This build is quite good. Beta1 was the previous good version. Then Beta2 broke a bunch of things in the bookmarks and URL bar. And now, Beta3 fixes all those problems, as far as I can tell. Anyway, one new feature is the addition of luamacros, a plugin that lets you write K-Meleon macros in Lua. Yeah, I know... have to learn yet another scripting language. *grumble, grumble* Fortunately, the basics of Lua are easy to grasp and I got up to speed quickly by reading the online copy of Programming in Lua.

Anyway, I rewrote a few macros in Lua. I think the result is quite readable compared to these macros, which were written in the built-in macro language. The latter are more concise though. However, the Lua version of the macros should be able to handle certain unusual conditions better, e.g. weird characters in web page titles and URLs.

Boy, it sure is getting icy outside.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment