Older blog entries for etrepum (starting at number 5)

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:
/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

Decided to try my hand at porting SDL Perl to OS X today. I did it, of course, and I even have it working w/ the *stock* 10.2 perl interpreter(!). Given my experience with porting pygame and a bunch of other junk to OS X, it was actually pretty straightforward (for me). I'll have to write up some kind of article about the quirks you need to know about when porting software to OS X, and the er.. special features of some of the software that comes with OS X (*cough*python*cough*).

I'll probably wrap it up this weekend and send diffs out.. All I really wanted was to try out Frozen-Bubble (and that worked fine, only little bit of patching involved there). I'll likely make a self-contained app bundle for that this weekend as well, I'm sure a lot of OS X users would enjoy it.

Here's some screenshots [1 2]

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!