-

Chiron Codex: helping software engineers become centaurs. -

-
Blog
-
Podcast
-
Consulting
Category Archives: Code & Craft
TGD Responses – selection for religion?
I’m going to do a few articles based on The God Delusion by Richard Dawkins. As this is a bit of a departure from the usual content of yon blog, I’ll be sure to prefix the titles of each with … Continue reading
I feel sorry for…
The people credited with bringing GNUstep support to OCUnit a few versions back (at least one of whom I recognise as a competent programmer who really knows what they’re doing), as the current version just won’t work at all ;-). … Continue reading
GAH!
You can’t use a java.awt.Color in WebObjects, because to use AWT at all on OS X requires connection to the WindowServer. And unless you’re mad, you probably aren’t running your WOA as root. This means I can’t do things like, … Continue reading
switching CPUs
I can waste a lot of time if an interesting question gets posed. The most recent culprit was Chris Ridd in uk.comp.sys.mac, wondering aloud if threads ever got shuttled between CPUs on a Mac. Here we go… It certainly looks … Continue reading
Hell hath frozen over
Hell, or “vi vi vi: the editor of the beast” as Matt succinctly put it. Anyway, I just wrote a Makefile with multiple dependent targets, and it worked first time. That just shouldn’t happen – especially when you only ever … Continue reading
Posted in Code & Craft
Leave a comment
WTF is a Veo?
Can anyone explain what this cpu_type represents? And yes, reasons I’m delving around in libstuff to follow within a few days…
Irritating annoying irritationnoyance of the day
WebObjects generated components use a style like this: public Main(WOContext context) { super(context); } But if you add a key using WOBuilder, then its accessors use the following style: public String username() … Continue reading
Subconscious operation
I just noticed that I’ve been using Xcode’s codesense all day, despite the fact that I’m writing Python (albeit with PyObjC goodness). I wasn’t aware that that would work, but then I wasn’t really aware that it was working, if … Continue reading
Use of vm_stat(1)
[N.B. I’ll make heavy use of links to DarwinGrok in this post. However, I make no comment on the availability of darwingrok; it’s set up on a test server which is unsupported, to test how well said unsupported server handles … Continue reading
free as in, well, free(1)
The linux tool free(1) just reports how much memory is free (and how much is in use). Simple, really. There’s no obvious equivalent for Darwin, though. We’ve got top(1) which is overkill, and vm_stat(1) which is abstract to say the … Continue reading