The Self source code has some example programs, one of which is a web browser. This was developed quite a long time ago and is unable to nicely display most pages on the modern web but it does a reasonable job of basic pages. On the Linux port there were some problems with displaying images however. I tracked this down... more →
The original implementation of the Self programming language is easy to build from source. Russell Allen maintains a git repository on github containing the source. I use Arch Linux with 'flex' and 'tcsh' packages installed for various parts of the build process. To build a Self binary: $ git clone git://github.com/russellallen/self.git $ cd self/release $ sh buildLinuxVM $ cd ..... more →
I've been reading up on protoype based programming languages recently. Mainly using the Io Programming Language and Self but also looking at LambdaMOO and similar languages. A good overview of using the prototype based approach to building programs is Organizing Programs without Classes. This post is based on examples from that paper and from Attack of the Clones which covers... more →
My last post in this series had Vorbis audio playing but with Theora video out of sync. This post will go through an approach to keeping the video in sync with the audio. To get video in sync with the audio we need a timer incrementing from when we start playback. We can't use the system clock for this as... more →
Decoding Vorbis streams require a very similar approach to that used when decoding Theora streams. The public interface to the libvorbis library is very similar to that used by libtheora. Unfortunately the libvorbis documentation doesn't contain an API reference that I could find so I'm following the approached used by the example programs. Assuming we have already obtained an ogg_packet,... more →