Log in

No account? Create an account

Previous Entry | Next Entry

Death of a Perfectionist

Today I stayed home and finally sealed that blasted deck. (I watched the darlings in the morning and K had them after that.) Sure, according to the directions, the temperature today is only just above what it should be, but it's gone unprotected long enough. Criterion for action: Is it better than nothing ? OK, then do it.

Oh yeah, and I finally installed Jag-Wire (sic) on our Macs. Finally, O can print from the iBook, and S0 has a desktop environment is that is safer (he was always taking his programs off the Dock before). Also, I have an idea for my first Objective-C program: take an iTunes playlist in XML and format it nicely as an HTML table. (Hey, there are similar programs for prettifying IRC sessions.)



( 3 comments — Leave a comment )
Oct. 24th, 2002 01:59 pm (UTC)
More power to you for wanting to learn ObjC, but for that particular task I'd recommend Ruby or Python or (gack) Perl instead ... they have nicer XML APIs and are better at general text wrangling. And all are pre-installed in Jagwire.

If you don't already know either of those languages, I'd recommend Ruby. It has a much, much cleaner syntax than Perl, and is more of a true object-oriented language than either of the others.
Oct. 24th, 2002 02:36 pm (UTC)
I was hoping I could avoid XML parsing altogether
I was just gonna take the path of least resistance and avoid the XML issue altogether, since iTunes XML playlists appear to be serialized property lists. That way I could learn about ProjectBuilder and a few AppKit and Foundation classes too. I don't care about portability, really.

What sucks is, if I wanted to write it in Java, I'd have to get and use Xerces-J (which I actually like in both its DOM and SAX faces) or the Sun standard XML parser (JAXP). Is that a standard extension included in Apple's Java 1.3 distro ? Anyway, when I find myself asking brain-hurting questions like these, I'd just rather avoid the issue entirely. At least Perl and (I assume) the Ruby in 10.2 have their own XML parsers.
Oct. 24th, 2002 02:54 pm (UTC)
Re: I was hoping I could avoid XML parsing altogether
Oh! If it's just a plist, then that's trivial to load from Cocoa.
( 3 comments — Leave a comment )


into battle
Daddy-O à Go-Go

Latest Month

December 2016


Page Summary

Powered by LiveJournal.com
Designed by Jamison Wieser