Wednesday, January 25, 2012

WebMote and "Open" software

web-mote

I've been working on a tiny little utility to marginally improve my life in an almost insignificant way.

You've already heard the casual references to my "media PC", and you may have come to the conclusion that it's just a standard NAS setup, but no. It's actually just a regular computer hooked up to my TV through a VGA and audio wire[1]. About a week ago, the wireless keyboard I was using started chugging and finally gave out. Well, being that I mostly listen to music and watch ridiculous low-res videos in mplayer, why not just get a remote working? As it happens, I also had an old iPod touch lying around literally collecting dust since I stopped carrying a mobile music device with me. So I put the two together and hacked up a little remote control server for the computer. It basically just starts mplayer with -slave -idle, runs Hunchentoot out front and then passes along commands when I click on the various video links. I'm using it to watch some downloaded videos from the science network as we speak. The only gap in the interface is that I can't control the actual TV the same way yet (so I still need to get up to change channels or up the output volume)

The code is up at my github, as usual. I just noticed that there's no license file, though.

Just a second.

Ok. Compiling and inserting that took almost as long as writing the actual code. There you have it, in any case. I don't seriously recommend you use this program until I've ironed out one or two things, but feel free to if you like. I definitely enjoy being able to control my media center from whatever HTML client I happen to have at hand.

Next step: figuring out how to control the TV through wifi (though early research is not encouraging).

fingerquotes open

This was just sort of depressing.

I dunno, maybe it's not that big a deal to most people, but I'm depressed.

A good third to a half of my last weekend was spent researching ways of getting Open Genera up and running, only to find out that "Open" doesn't quite mean what I thought it did in this context. Granted, the system was built back in the 80s, so I guess the word may not have had the same connotation, but I still got confused.

It's bizarre, because I honestly don't get the point of a closed-source Lisp system. The whole point is that the entire machine is there, open to pokes and prods at its various sources and definitions. Saying that it's not being released openly or freely is just ... I dunno, off. The message is so fundamentally incongruous with the medium that it seemed to come at me entirely out of left field[2]. I guess that'll teach me to read the license first next time.

I still have my ersatz lisp machine, I guess. And I could do a bit of poking and hacking on Movitz if I really wanted to. That'll have to hold me.


Footnotes

1 - [back] - Incidentally, the mediaphiles among you should refrain from telling me that I should be using HDMI instead. Enough of my friends tell me that already, and I could give a shit. I mostly listen to music and watch almost ridiculously low-res videos; there's a separate DVD player for the occasional high-def media I watch.

2 - [back] - Enough to delete the relevant article from my archives (sorry, to the people who linked to it already) and never speak of it again[3].

3 - [back] - Except for here, obviously.

2 comments:

  1. If you had read the license of Open Genera, you'd have detected that it is proprietary software. 'Open' in those days (early 1990s) meant usually that it supports 'open' standards, not that the source is 'public domain' or similar. This is similar to OpenVMS, the operating system from DEC (now HP). OpenVMS is also not 'open source', but supports 'open' standards like 'Posix' and 'Unix'. OpenVMS also ran on DEC's Alpha processor.

    'Closed source' Lisp systems exist since many years (from Xerox, Lucid, Apple, TI, ...) and even today there are Lisp vendors (Franz, LispWorks, Corman, Scieneer, ...) who only provide only some part of the sources. In contrast Open Genera came with much of the sources (80%), available for the user who has a valid license. Open Genera does not provide the sources for its virtual machine, for example.

    At the same time there are enough other Lisp implementations which are published as 'open source' (Public Domain) or 'free software' (GPL).

    ReplyDelete
    Replies
    1. Yup. I should probably revise that paragraph; I was pissed off that I missed it, not that someone dared use a word in a different context than I was used to.

      Delete