« April 2005 | Main | June 2005 »

May 2005 Archives

May 5, 2005

Tiger - Where's the killer feature ? - It's Quartz Composer

To get something like this coded manually in OpenGL would take me at least 3 weeks, I'd estimate. With Quartz Composer it wasn't much more then a few hours. With QC you can do a whole lot of interesting things very, very quickly. Also at first the program may appear to be not much more than a demo maker, I think it can become quite a bit more over time.

Programming QC feels more like hardware design than actual programming. I think it could be a good teaching tool for programming intro courses. Forget Logo and the Turtle and give the kids some of this stuff to play around with.

May 7, 2005

Mail Outage

In case you wrote me and are waiting for a reply from me: I lost my mail thanks to cyrus and signal 11. All mail between 5. May and 7. May has vanished.

May 8, 2005

Towards Horizontal Scrolling in Quartz Composer

QC Screeny

I'd like to write a smooth horizontal scroller in Quartz Composer. Towards this goal, I am writing a few very simplistic text displayers. One of the most basic one, I made into a reuseable component. I stuffed it into ~/Library/Application Support/Apple/Developer Tools/Quartz Composer/Clips and now I have it handy in my Clip Library. I didnt't see offhand how to set the descriptive text, that appears at the bottom of the list of clips. So I used the Property List Editor and manually entered a description.

Maybe it's just me, but I couldn't get to save my composition properly, so that the "Mulle Text Provider" patch appeared immediately, when dragging out. Always some enveloping patch appeared instead, until I started a New from Template -> Quartz Composer Clip project and pasted my patches in there.

Anyway here is the patch for download: Mulle Text Provider.qtz.zip and the little demo, which was used to create the demo video.

May 12, 2005

MulleLife for Quartz Composer


Don't bug me about the movie not playing, looping correctly. This is a QuickTime bug.
This isn't really any progress towards the horizontal scroller, but the nifty stuff by Sam Kass inspired me to do a little Life demo using the GLSL shading language. This was not quite as easy as I thought, because the GLSL language subset that Apple provides can't do if statements really. I then figured I was going to use an array as a truth table, alas array aren't supported either.

Hmmm....

Then I had the idea, that I could use a texture as a truthtable and I handpainted a texture with the life truth values and this worked.

Although I did screw it up a little, because Painter likes to alias graphics, even when single pixel drawing But that is corrected in the code.
I suspect generations of shader coders have figured this out before me, but nevertheless I had to pat myself on my back for that. :)

So here it is MulleLifeFilter.qtz.zip.

May 18, 2005

Who stole my disk space ?

In my Cube running 10.3.9 I have a 19 GB harddisk. It's currently 98% full with 18.6 GB occupied.
oswald:/usr/bin root# df -k
Filesystem              1K-blocks     Used  Avail Capacity  Mounted on
/dev/disk0s3             19908432 19276288 433060    98%    /
but when I run du -sh on / (as root) to check where the space is used

du -shNameFinder Information
8.8GUsers8.82 GB
1.1GSystem1.06 GB
745Musr
480MLibrary371 MB
301MApplications300 MB
141Mprivate
82MDeveloper
3.7Mmach_kernel
some more small stuff

all this adds up to approximately 12GB. So where is the rest ?

Peculiarily the Finder and du differ by 110 MB on my Library folder. Is this because the other files are owned by other users ?

It could be that after deleting a ZIP file of a mere 6 GB, using the Finder, something might have broke inside HFS+. Or maybe the log of the journalling filesystem was not properly cleaned up ?
Another possibility is, that my box has been opened up and that a root kit was installed. But when I looked at the WeaponX source code, I thought, it should be fairly easy to trick a root kit, based on that code, to reveal itself. I tried, but I didn't find anything.

Solution ? I rebooted. Mac OS X cleaned itself up, I suspect it was the log:

oswald:~ nat$ df
Filesystem              512-blocks     Used    Avail Capacity  Mounted on
/dev/disk0s3              39816864 25264232 14154464    64%    /

May 30, 2005

MulleEOInterface, neues Release kommt bald

Ich hab mal wieder am MulleEOInterface rumgewerkelt. Da sind die Fixes von jetzt Dirk Lattermann drin, so das das Zeugs auch auf GnuStep laufen sollte. Ausserdem tut der Query Mode in der Displaygroup und noch ein paar Kleinigkeiten, wie z.B., daß primaryAspect jetzt funktioniert und EORadioMatrixAssociation richtig decodiert wird. Wenn nichts grossartig schief läuft sollte es spätestens nächste Woche soweit sein.

Heute mal nicht in English, weil faul :P

Devious Guitar Circles

||------------------------||
||-------------3----------||
||----2-----4-----2-------||
||-1-----3-----------3----||
||----------------------2-|| repeat
||------------------------||
in the search for simple little patterns to get my fret fingers more nimble, I created this one. I like it, because it seems to make two circles. Now I can play the little circles, clockwise, reverse clockwise, inverted and with fewer or more loopings, and my problem fingers which are 2 and 3 get quite a workout.

About May 2005

This page contains all entries posted to Nat!'s Web Journal in May 2005. They are listed from oldest to newest.

April 2005 is the previous archive.

June 2005 is the next archive.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34