Older blog entries for landonf (starting at number 5)

These past few days, I rewrote all MacTCP related code in ShadowIRC to use BSD sockets, so it could be ported to OS X. http://public.boredom.org/~swift/images/shadowirc.jpg

9 Feb 2002 (updated 9 Feb 2002 at 09:10 UTC) »

Yesterday I added support for /proc/pid/maps to linprocfs in -CURRENT. It took me a while to get a new -CURRENT machine up, but I did manage to throw something together. A PPro 180, 40 megs of ram, a 10 gig laptop drive held down by a zip tie. Came out of my iBook. Aren't I a lucky devil.

I don't know what's up with this job I want at Apple. I'm very concerned that I won't get it. The fact is, I need a job. I can't convince myself to take something below my skill set - I know I'll be bored out of my mind in a day. I also know that I'd LOVE this position at Apple, and what's more, I'd be a wonderful addition to their team of developers. I'm cute, sweet, I have a nice smile, I follow style(9) to the letter. What's not to love? :o)

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')
        p++;
      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!