Older blog entries for etrepum (starting at number 11)

IIS shall now be known as Intermittent Information Server

RickMuller: The problem you're seeing is because you're linking to an X11 GLUT and a Cocoa GLUT. You only want one. Are you compiling gopenmol for X11, or for Cocoa? Feel free to continue this via email (bobatredividotcom), it'd surely be a lot faster and less frustrating for you :)
RickMuller: Don't be afraid to change configure.in and automake again! The link options you want are going to be something like: -framework OpenGL -framework GLUT -framework Tcl -framework Tk -ljpeg. You're going to have to put a lot of #ifdef's in any source that includes GL/* and replace it with either OpenGL/* or GLUT/* depending. Other than that, the stuff looks pretty much platform/endian agnostic and shouldn't be too hard to deal with other than the dynamic module loading.
RickMuller: wxWindows has a copy of glaux.h hidden away in there if you want to look at a copy of it (it's actually stolen from the Microsoft OpenGL SDK, believe it or not). Also, you'll never find files in GL/*, all OpenGL related headers are in OpenGL/* (really /System/Library/Frameworks/OpenGL.Framework/Version/Current/Headers, but it will find them if you just use OpenGL/*). You might also want to take a look at this, if you haven't already: Gotcha's in porting UNIX software to OS X".

Just converted my mostly-encrypted home directory into a 'leet sparse disk image. So now, it takes a helluva lot less time to burn weekly backups to dvd-r, since I've only got about a gig and a half of work files and private documents :) And I do have another couple gigs free, which is a bonus.

bcully: Well, I haven't switched back to mutt - yet... but it might be of interest that you can use the open command to open just about any file that a GUI app is registered to handle. All you need to do is make sure attachments are saved with a proper extension before you try and view them and it should Just Work.

I do miss using Vim for everything, anyone know if it's possible to rig textfields in OS X to act like Vim instead of emacs? :)

sab39: Well, speaking for File Merge on OS X, it works similarly to how you're asking when integrated with Project Builder. By default, when there's a conflict in a CVS update (PB supports CVS rather well), it will open up File Merge with the conflict and allow you to resolve it. As far as I know, it doesn't specifically do exactly what you're asking separate from CVS (as far as with contextual menus and stuff goes), but I'm sure given the right command line or small shell script it would work just fine.
glyph pointed me at sloccount, after I mentioned how big the wc -l `find -name *.py` was for MoinMoin. Apparently it has some silly md5sum dependency. OS X does not come with md5sum, but it does have an md5 tool with different output. Here's a quickie shell script:
#!/bin/sh
/sbin/md5 $@ | sed 's#MD5 (\(.*\)) = \(.*\)#\2 \1#'


sab39: I don't think there is a cross-platform graphical diff tool, however for Windows I believe WinCvs comes with one, and for OS X there is File Merge (part of the Developers Toolkit).

I was wondering about this, a while ago, when ActiveState ported Python to the .NET CLR and ended up with something terrible slow and missing a bunch of the standard library. Anyways, Kobra is a .NET wrapper for CPython. It's not as slick as something like PyObjC yet, but I suppose it'd be useful if you had to use Windows all the time.. but then again, you should probably be looking for a new job if you have to use Windows that often.

How do new projects get added to Advogato anyhow, is this a Master feature? Why isn't the article comment system tied to diary entries? Will I ever get an answer without a diary comment facility?

Apparently, compiling mod_python for Apache2 (using the CompleteApache2 distribution) on OS X isn't straightforward. The options look right, but Apache2's libtool seems to be ignoring -framework and likely -F as well. I had to take off --silent to see this misbehavior. Also, of lesser difficulty, the ./configure script assumes linking to python is done with -lpython{PYTHONVERSION} when for OS X it's -framework Python (if you have a framework python that is.. the stock python 2.2 isn't linkable, static or otherwise, so I'm using a framework compile of CVS HEAD).

For my installation, I had to gcc-by-hand mod_python.so to get it to compile with all the symbols..

gcc -r -keep_private_externs -nostdlib -o .libs/mod_python.so-master.o hlistobject.lo hlist.lo filterobject.lo connobject.lo serverobject.lo util.lo tableobject.lo requestobject.lo _apachemodule.lo mod_python.lo && gcc -bundle -flat_namespace -undefined suppress -o .libs/mod_python.so .libs/mod_python.so-master.o -L/Library/Frameworks/../../Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/config -lm -lc -F. -framework Python -framework System -framework CoreServices -framework Foundation

2 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!