Posts in category 'hacking'

  • Yet More Palmy Fun

    Well, I gotta say, I’ve been having great fun with my snazzy new wireless keyboard. In fact, I’m on the bus right now, hacking up this blog entry, keyboard in my lap, TX battery slowly bleeding away. Pretty darn cool, I think.

    But the real bonus is the new capabilities this keyboard affords. One of the things I’ve always been curious to try is Palm development. However, the barrier to entry is pretty darn high… getting a devkit working on Linux is a non-trivial procedure, to say the least, which is saying a lot, given I hand-rolled my first GBA development kit.

    The other option had always been an onboard environment of some description. And there are a few that are workable. There’s HotPaw Basic, which provides a fairly complete Basic environment right on the Palm. ‘course, it is Basic… shudder. Then there’s LispMe, which is a reasonably full-featured Scheme implementation. Unfortunately, it has stabilities issues on the TX which ruled it out. Additionally, I came across OnBoard C, which is actually a C development environment which runs right on the Palm, and generates standalone applications. ‘course, it’s C… which provides me with a little more hanging rope than I would like.

    And then I discovered PP Compiler. Like OnBoard C, this is a full development environment for the Palm which generates 68k or ARM applications. However, this is a Pascal compiler. IOW, I get a reasonably powerful, and safe programming environment that allows me to write, well, essentially anything I want! It also appears to have a fairly lively user community and developers who are actively maintaining the project.

    ‘course, the next question is, now what? Honestly, I have no idea. But it is pretty cool. :) And at least it gives me another justification for purchasing this keyboad…

  • The Gallery Cometh

    I decided to take a tour through my collection of digital camera photos and was, frankly, surprised at how much stuff I had. Worse, none of it was terribly accessible nor shareable. And so I finally cracked and decided it was time to get some kind of photo gallery going on.

    Now, I could have one with Gallery, which Brad has used to power his photo gallery, but I really wanted something that would integrate directly into my wiki, so that I could easily incorporate gallery photos into wiki pages, comment on them in the normal fashion, etc, etc. Unfortunately, nothing of the sort really exists for Oddmuse, meaning it was time to roll my own.

    The result is my Gallery. It’s pretty bare bones, at this point… really, it’s just functional enough to be useful. It can:

    • Add galleries and images through a standard web interface.
    • Support infinite nesting of galleries.
    • Handle zips and tarballs, as well as standard image formats.
    • Does the usual pagination stuff, so you don’t get all gallery images at once.
    • Does on-demand scaling of images, so people can choose different resolutions.

    And all of this is done in the context of the standard wiki subsystems, so you can comment, search, etc (though search is b0rked for image captions and descriptions right now… that’s on my todo list).

    Anyway, there you have it. Take a look. Give me feedback if you like. And if I can make the code, you know, not horrible, I’ll release the source to it.