Nicholas Riley’s Weblog
Thoughts from a computer science graduate student,
medical student and Cocoa programmer (this week).

Skip over navigation
February 2002
Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28    
Jan   Mar

made with
Click here to visit the Radio UserLand website.

Click on the coffee mug to add Nicholas Riley's Instant Outline to your Radio UserLand buddy list.

 

>
Saturday, February 9, 2002
 
After getting one too many questions from someone using an outdated version of ICeCoffEE, I realized it probably wasn't such a good idea to leave links to old versions on my software page. So I got rid of them, and added a few custom error pages that I hope will be helpful for anyone following a broken link.

6:30:38 PM | reply []

asdf asdf asdf. asdfasdfasdf asdfasdfasdf asdf asdf asdf.

Live it.

4:37:24 PM | reply []

Macros fixed and ALT text working. The problem was the weird dichotomy in UserTalk's named parameter syntax. You declare a default value by "name=value", but you call it with "name: value". Python uses "name=value" for both. In some ways Frontier's method makes sense, you're doing something different in each case, assigning to the variable in the first and using the variable name as an identifier in the second, but this never fails to catch me. It was worse when I was programming in Python and UserTalk both on a daily basis.

4:32:39 PM | reply []

Speaking of Emacs, it seems Radio is none too happy if you create two files with the same name but different extensions. This has caught me twice in the last day, once last night when I named a file ".old" and wondered why the template didn't update, and once just then when Radio preferred the file ending with a "~" (another type of Emacs backup file; the ## one is from automatic saving). Blargh, should report bug. I hope it gets some more attention than my previous text file bug (which would have been astonishingly trivial to fix, like 30 seconds, but... oh well.)

Turns out Bill Bumgarner has written about this too. Thanks for the email, Bill.

3:54:59 PM | reply []

Well, in an astonishing feat of brilliance, I broke all the macros. That teaches me to run Emacs on Radio.root in order to find what I want. Blah.

Also, a w3m bug, I'm using XEmacs to write this, it doesn't convert ^M into ^J before passing a text area to an external editor. (or should Radio be doing this, using net-standard line endings? Hmm.)

3:26:29 PM | reply []

It's been two days since I exercised, and boy am I feeling it. Note to self: don't forget, ever, no matter (almost) what. Do it when you get home from school if needed.

Wish I was still going to Kuk Sool, but I'm sufficiently behind that will have to start again next semester. OTOH, I will start going to the gym this week in addition to my home exercise.

I was going to edit my Radio template remotely to fix an ALT tag, so I cd'd into the 'www' directory and typed 'ls':

#cascadingStyleSheet.css     #navigatorLinks.xml  WebDAV/          images/               stories/
#dayTemplate.txt             #prefs.txt           customBlogPost/  index.txt             system/
#desktopWebsiteTemplate.txt  #template.txt        customLinks/     manilaBloggerBridge/  whoIs/
#homeTemplate.txt            #upstream.xml        directory.opml   myPictures/
#itemTemplate.txt            2002/                gems/            rss.xml

So, my first thought was "hey, what's up with all those backup files?" Emacs saves files with the format #filename#, and my first inclination was to delete them. 3:17:26 PM | reply []

Really, really fixed the bug with spacing in the header; it had to do with extraneous spacing in the HTML source. I tested on Mozilla 0.9.8, IE 5.1 for Mac, and IE 5.5/6 for Windows. It even degrades well in OmniWeb.

This would have been faster if Radio didn't decide that it can't find "template" every once in a while and force me to restart it like it's been doing.

Needless to say, I didn't get much work done on WebDAV. Maybe later. 8:21:14 AM | reply []

Fixed up the template considerably. The navbar appearance took a lot of time, eventually I gave up on trying to get the previous appearance using only CSS and picked a new one. 7:56:30 AM | reply []

Carbon Tips & Tricks: lots of stuff here I didn't know. There are a number of semi-hidden environment variables to turn on various types of debugging, it'd be a help to have them all together in one place. 4:41:49 AM | reply []

No responses yet from testers. Anyone else want to test? You just need Mac OS X 10.1.2, email me if you want a copy of ICeCoffEE to test.

I'm going to take a look at WebDAV upstreaming in Radio again for the next couple of hours. (Oh, I bought Radio today, so this site isn't going away. Thanks UserLand.) 1:48:46 AM | reply []


Looking for older (or newer) material? Click another date on the calendar at the top of this page.