Older blog entries for landonf (starting at number 12)

crayons are better than computers and books are better than the internet

#cowsay

Why do companies continually forget my e-mail settings, and decide that I did indeed opt-in to their "directed mailings."

It's not a very nice thing to do to your customers

Dear Diary, I got my job.

9 May 2002 (updated 9 May 2002 at 09:00 UTC) »

Stopping for a break, I staggered into a gas station bathroom somewhere near Mt. Saint Helens. The bathroom walls were bare, save one out of place decoration added by an individual with a broad purple marker. It made me smile.

"The act of living is the art of applying past emotions to future dreams"

Perhaps someone else out there will find this inked quip and add their own words.

25 Feb 2002 (updated 9 May 2002 at 08:54 UTC) »

This diary entry contained a comic I created. Then I decided to change the past.

23 Feb 2002 (updated 24 Feb 2002 at 00:28 UTC) »
The Olympics
I went to see The Olympics, and it was amazing. I've wanted to go see an olympic event since I was a child.

Watch for me in the 2006 olympics: Speed Skating or Men's Freestyle Skiing ... heh!
http://public.boredom.org/~swift/images/icanfly.jpg
I may look like a dork, but I did stick that landing.

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);
}

3 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!