2002-05-04: Technical stuff
May. 4th, 2002 12:00 amFound this neat website called DreamFabric where six Swedes (members of Swedish Institute for Computer Science) record the various projects they're interested in (``ShareDreams is built on the same concept as Shareware but there is no software to share, only dreams.''). I found it because they have some good information on the SMS protocol. I found this because I am interested in writing a little program that will talk to my Ericsson mobile phone through the AT command interface to let me do things like edit the addressbook and send SMS's, etc, from the computer. `Would make a nice little GTK application.
I looked up some microscopy stuff on the internet. Unfortunately it looks like for the papers I want (i.e. the original one, Reconstruction of three-dimensional structures from electron micrographs by Aaron Klug and David DeRosier in 1968) I will have to wait until Monday when the library is open. I did find out that this 3d reconstruction technique we'll be using was pioneered by a guy named Klug (doesn't that mean "smart" in German or something?) , who really was a pioneer of electron microscopy in general; In 1982 he was awarded the nobel prize ``for his development of crystallographic electron microscopy, and his structural elucidation of biologically important nucleic acid-protein complexes.'' (See for example this). Another researcher to check up on is David DeRosier, who co-published the 1968 paper with Klug.
Ported Chris's journal program (/projects/journal) to use PostgreSQL instead of MySQL (that was trivial actually). It will be pretty easy to turn it into the sort of thing I want. Then I just have to convince myself that there's some reason to store these journal entries in a database instead of this increasingly huge file. The big bonus is that each journal entry will have a number of paths (like ``/personal/tobin'' or ``/projects/eeg'' or ``/politics/israel'') so that journal entries could be browsed by subject, not just author. And the other bonus of course is that it will be multi-user; hopefully some other splorgusers will use it. Also I intend to use it to allow people to comment on my various web pages, and even pictures. I hope to have this working before I leave for Israel, just because that seems like a good time to transition anyway.
I thought about RPC a little bit — remote procedure calls as a form of inter-process communication (IPC). It's really kind of annoying that the only way to talk between two processes on unix is something like a pipe. There's no "in between" form of IPC: you either have shared memory, or you don't. It would be so nice if I could just invoke function calls into another process. But before one can do that, one must make an entire protocol which is just annoying. Well, of course some people have done something about this. Currently XML-RPC is all the rage; but it uses HTTP and XML intermediately; I think maybe CORBA is exactly what I'm looking for. Interestingly this RPC is the primary form of IPC in the HURD. Well, the HURD (see, for instance, the Hacking Guide) has this simple ``ports'' message-passing interface, and on top of this is implemented an RPC mechanism using MIG, the Mach Interface Generator, which is something like CORBA. And speaking of this HURD stuff, I wonder how much of the HURD could be ported to Linux, like translators and the MIG stuff? Maybe we wouldn't have a nifty microkernel in that case, but we'd have many HURDish features on top of a mature kernel.