Older blog entries for landonf (starting at number 3)

25 Jan 2002 (updated 25 Jan 2002 at 11:45 UTC) »
brain teasers
I spent some time today doing some C brain teasers.
Anyone know a good location for some challenging ones?

Do not reuse code from this solution, you'll regret it.
void main(int argc, char **argv)

    char *string = (argv[1] ? strdup(argv[1]) : strdup("This is a very long test string")), *p = string, *e = string, *s;
    while(*p != '\0')
      while(*p != ' ' && *p != '\0')
      s = p--;
      while(p > e)
        *e ^= *p ^= *e++ ^= *p--;
        p = s;
        e = ++p;
    printf("%s\n", string);

23 Jan 2002 (updated 10 Mar 2002 at 04:55 UTC) »

... changing the past ...

19 Jan 2002 (updated 19 Jan 2002 at 06:34 UTC) »

Today I added support to ufs.util for generating & reading volume UUIDs. There's more work to do on autodiskmount, but it should be fairly straight forward. I'm excited about digging through the SystemConfiguration framework tomorrow.

The promise of MacOS X is amazing, I can't imagine any other software product I'd rather work on. I'm trying to get myself a job at Apple on one of the Core OS teams, and I hope I succeed.

I picked up a copy of ORA's "Palm Programming". I've been meaning to do some work with my Visor. I also snagged a copy of Hillegass' "Cocoa Programming for Mac OS X". I'm rather excited about both of them.

18 Jan 2002 (updated 19 Jan 2002 at 10:37 UTC) »

A friend of mine has suggest that we combine some energies towards an OS X related web site. Being disaffected towards most all things web, I'd generally say no.

With promises of shelter from anything remotely related to an actual web page, I've agreed to contribute knowledge and insight, at least in concept.

I'm considering getting a job at the local ski resort as a part-time cook, while I try to get another 'real job'. It sounds fun, and it would give me an excuse to be on the mountain most of the week.

Perhaps I should point out that I'm a software engineer, and not a cook. Having just returned from a hiatus in a remote location of the world, cooking and skiing sounds like a fun thing to do while I look for what I'd really like.

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!