June 2003 Archives

flash forward

Check out this year's flash film festival nominees at the flash forward conference. There is some really cool stuff in there. I had the chance to sneak in and watch last year's festival when my wife attended the conference and I happily tagged along for the trip. Flash has this wonderful quality of uniting the artist crowd with the hacker crowd and the results are very creative. And NY is the perfect setting for this conference, very streamlined, energetic, awake, fast. I miss that city. The company (my wife and I both work for the same shop) didn't send her this year. Oh well.

batik + swf

Every now and then things fall in place and I wish I had more time to connect them together and build a cool open source project. An example is writing a transcoder that generates swf (flash) output from batik svg input. The project should also provide a Graphics2D subclass SWFGraphics2D that uses the batik infrastructure (gvt) and renders into a swf file similar to SVGGraphics2D. This way any java program can generate swf output as simple as printing. Frameworks like javaswf or jgenerator will help with the low-level details of the swf file format. Why is this necessary ? It's not, but it would be cool. svg is great but hasn't caught on yet and swf is basically in every browser out there. Imagine for example jcharts or jfreechart with swf output etc (there must be tons of examples where printing to swf would be useful).

calculation of programs

I always believed in this. When given a more complex problem or a trickier algorithm it helps enormously if you can express it in mathematical notation and have some calculus at your disposal that manipulates these expressions. In Java and other iterative programming languages it makes sense to work with things like precondition and postcondition (ideally as mathematical expressions) and calculi like weakest precondition, loop invariants etc. I've written a small paper that illustrates the concepts and gives some pointers to literature. I will keep posting examples to solving problems this way in this blog. Also check out this paper for another nice example of deriving a program.

haskell programmer

Found this great page with a collection of Haskell programs on a common theme, gradually getting more and more complex. Apparently it's the Haskell version of this page. Very funny (and very instructive).

skewtree 4

Ok, I promise, this is the last entry about skewtrees. I just wanted to point out that this problem is widely known and dealt with in the algorithms literature under the name "optimal binary search trees". I found that out by accident while googling for something else. Just search for "optimal binary search trees" and you'll see what I mean. There are even top-down approaches that provide almost optimal solutions.

skewtree 3

I finally did play with LaTex and write up in more detail the skewtree solution.
I have to say LaTex is very cool. I'm still a beginner but I feel the power behind it. You can throw pretty complex mathematical expressions at it and it lays it out nicely, no sweat. You can find the paper here.

About this Archive

This page is an archive of entries from June 2003 listed from newest to oldest.

May 2003 is the previous archive.

July 2003 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Creative Commons License
This blog is licensed under a Creative Commons License.