AKMA's Random Thoughts

July 21, 2003

An Idea I Need

Séb Paquet links to Norm Walsh’s note that he uses RSS as a calendaring device to maintain his to-do list. Mercy sakes, that’s just what I need; having a whole separate app for personal information (much of which I remember automatically — unfortunately, only much of which I remember automatically) seems a waste of CPU cycles.

If my to-do list and calendar were to appear in my news aggregator, though — Brent, this couldn’t be hard at all — that would change my life for the better.

Posted by AKMA at July 21, 2003 08:34 AM | TrackBack
Comments

Agreed.... It shouldn't be too terribly difficult.

I wonder if some clever perl and applescript could pull items out of iCal to reformat them.

Hmmmm....

Though I do recall the vCal/iCal in perl folks complaining about a lot of the difficulties in 'proper' time implementation, this might not be too terribly bad if boiled down to the essentials.

(scratches chin)

Posted by: Eric Sinclair at July 21, 2003 05:45 PM

Just run MT locally, keep your to do list/ calendar in a blog, and point the aggregator at it via a localhost URI

Posted by: Kevin Marks at July 23, 2003 01:15 AM

To riff a bit further on Kevin, that was effectively what I was thinking would work well. Write some applescript (or perl) to snag items from the iCal or calendar file. Then use a call to the xml-rpc interface on a MT server to post the entries. Then magically they can show up in an RSS file....

It's a bit crufty, but it might work.

Posted by: Eric Sinclair at July 23, 2003 08:58 AM

These secret identities serve a variety of purposes, and they help us to understand how variables work. In this lesson, we'll be writing a little less code than we've done in previous articles, but we'll be taking a detailed look at how variables live and work.

Posted by: Nicholas at January 13, 2004 02:48 AM

The rest of our conversion follows a similar vein. Instead of going through line by line, let's just compare end results: when the transition is complete, the code that used to read:

Posted by: Augustus at January 13, 2004 02:48 AM

This code should compile and run just fine, and you should see no changes in how the program works. So why did we do all of that?

Posted by: Arthur at January 13, 2004 02:49 AM

Let's take a moment to reexamine that. What we've done here is create two variables. The first variable is in the Heap, and we're storing data in it. That's the obvious one. But the second variable is a pointer to the first one, and it exists on the Stack. This variable is the one that's really called favoriteNumber, and it's the one we're working with. It is important to remember that there are now two parts to our simple variable, one of which exists in each world. This kind of division is common is C, but omnipresent in Cocoa. When you start making objects, Cocoa makes them all in the Heap because the Stack isn't big enough to hold them. In Cocoa, you deal with objects through pointers everywhere and are actually forbidden from dealing with them directly.

Posted by: Sarah at January 13, 2004 12:27 PM

Let's take a moment to reexamine that. What we've done here is create two variables. The first variable is in the Heap, and we're storing data in it. That's the obvious one. But the second variable is a pointer to the first one, and it exists on the Stack. This variable is the one that's really called favoriteNumber, and it's the one we're working with. It is important to remember that there are now two parts to our simple variable, one of which exists in each world. This kind of division is common is C, but omnipresent in Cocoa. When you start making objects, Cocoa makes them all in the Heap because the Stack isn't big enough to hold them. In Cocoa, you deal with objects through pointers everywhere and are actually forbidden from dealing with them directly.

Posted by: Sarah at January 13, 2004 12:56 PM