Socialtext::EditPage
Arg! I just wrote a really long blog post, but unfortunatly had the wrong password set... so I lost everything. I'm going to fix this module today, so that if saving fails, the page contents are stored somewhere on disk, or the editor pops up again... something other than just quiting, and deleting all your work.
WikiWednesday
I went to Luke's yesterday for Wiki Wednesday. I moved last week to a suburb outside of Vancouver in order to save money for reasons I'll talk about later, so it took over an hour to get to Luke's. So after an hour of commuting and checking email etc, Luke, Jen (Luke's wife) and I went out and had szechuan for lunch.
We decided that it would be cool if you could have a filesystem representation for rest url's. Luke came up with a fairly simple method, and I came up with the opposite. I wanted to use Fuse to create a userspace filesystem rest client.
So, when we got back from Lunch, I installed Fuse.pm from CPAN. Unfortunately, it doesn't seem to work with MacFuse yet. The developer release does compile on my mac, but definitly doesn't work. After having to hold down the power button 10 times, I gave up.
I played with the idea of writing something in objective-c, but didn't make it very far. Finally, I tried the python fuse module. I was able to run an example hello world script without having to hard reboot!!
I didn't make it very far before leaving Luke's, but later in the evening I was able to get to the point where I have a filesystem with workspaces and page names.
Now that I've taught myself how to code in python, and I know what i'm doing, I think that it would be pretty easy to implement open, create, write, and read. Ingy wants to use SubEthaEdit in standups, and I think it would be really cool if he just opened the file: "/Volumes/socialtext.net/workspaces/stdev/pages/JHC Standup, 2007-09-06" Then, each time he hits save, it will save directly to the wiki using the REST API.
So I think that my WikiWednesday was a success, even though way too much of it was wasted trying to get Fuse.pm to work on my mac!
I will get socialtextfs.py checked into the clients repo soon.
Argentina
Also, I'm going to Argentina for a few months in December, but I will be working as normal, I'll just be slightly further east... I don't think it will impact my work at all, since I will have full speed internet and the time difference is not that much.
My friend Kragen lives in Buenos Aries and he's very sociable and nice. If you'd like, you could meet up with him. He's a guy worth having dinner with.
contributed by Matthew O'Connor on Sep 6 6:29pm
A while back I had a script which created a subdir that looked like a workspace (i.e. $workspace/$page_uri) and then gave the files a certain file type so when I opened them they'd fire up wikedit. I mostly used it via quicksilver, but eventually I stopped using it all together. It wasn't as responsive as I'd hoped and so I usually fell back to the command line anyway.
contributed by Matthew O'Connor on Sep 6 6:32pm