Updated: 4/7/2002; 3:20:11 AM.
Dave's Handsome Radio Blog!
Murphy-willing, a mind bomb a day keeps the doctor away!
        

Tuesday, December 11, 2001


Error deleting files on linux3.userland.com: "We haven't written tcp.ftp.delete yet." 7:59:44 PM

Steven Vore: "Should we assume that 'Dave's Handsome Radio Blog' is being created with Radio 7.1? It's a great advertisement, in itself, for the whole KM/developer group notes/blogging throughout the day deal. I'm using Radio 7.0 to create outlines of a (huge) collection of web apps I've inherited, partially in an attempt to keep my sanity while I try to wrap my arms around all this 'shtuff' I've been given and partially in hopes that the next person to join the team won't have the same troubles. DHRB has pushed my 'hey, what if I did that' button and I'm seeing the whole project-documentation picture change before my eyes. Mind bomb."

DW: "Yes, this is a Radio 7.1 blog."

3:22:20 PM


Puzzle. Watch system.temp.radio.stats.agentsTicks while the thread is running. The number for upstreamChangedFiles sometimes updates three times in each pass. I've stepped through radio.thread.script in the debugger to try to understand how this can happen, but it makes no sense to me. It often does it three times. This pisses me off because it triples the cost since it clearly is scanning three times! No, I've gotta figure out why it's doing this. 11:36:55 AM

radio.thread.script can be smarter about going to sleep. If it sees that there's work queued up for it to do, it can just loop around to the top and do another pass. An example of this is the writing of directory.opml. The need to do this is detected by the upstreamer, and it adds an item to system.temp.radio.recentlyChangedFolders, which will be picked up by radio.thread.agents.saveChangedDirectories. There may be other ways for the thread to see that it has more work to do and not go to sleep at all. How I'll do this. A new global, system.temp.radio.misc.flThreadSleeps, set on each pass in radio.thread.script, it can be turned off by any code that runs in an agent. This keeps the dirty details out of radio.thread.script. 10:33:04 AM

After it writes out the files, immediately kick the thread in the butt. Wake up! Go to work. No bitches with one hand on the hip and a pinky in the corner of the mouth. You have work to do dear thread. No lollygagging allowed. 1. 10:29:56 AM

Next change. Trick the upstreamer into doing "index" first. The goal is to make it more likely that when you click on Home on the DWHP that it will already be updated. If index is moved to the front of the list, that becomes more likely. Why should it wait for the other two files? It shouldn't. Testing. 1. 2. 3. 4. 5. 6. 9:52:57 AM

OK, back to upstreaming school. The foundation is laid. All upstreaming goes through a single bottleneck. Now to get clever about waking the bottleneck up. 9:27:10 AM

 
December 2001
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 29
30 31          
Nov   Jan


Click here to visit the Radio UserLand website.

Click to see the XML version of this web page.


Click here to send an email to the editor of this weblog.

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

Recent Posts
Ole and Lena
 4/6/02
Writing Solid Code in 2002
 4/6/02
Testing my shortcut
 4/6/02
This post has a title
 4/6/02
Uncle Davey's Lonelyhearts Club Band
 4/1/02
Cell spacing in recentTitledBlogPosts
 3/31/02
New feature: Recent Posts
 3/29/02
Instant Outline Post
 3/27/02
Instant Outline Post
 3/27/02
Is it time for a directory of weblogs?
 3/26/02
Are desktop web servers cool or not?
 3/26/02
Playing with a new API
 3/18/02
Testing categories and publishing
 3/15/02
BigCo's get Vague Support from Quote Mills
 3/14/02
Playing with a new API
 3/13/02
Mike Krus spots a bug
 3/13/02
Testing a new feature
 3/12/02
Google-It! macro for Radio 8
 3/12/02
This post only has a title, no link
 3/11/02
When to give away the technology
 3/11/02
Experts: Sun lawsuit reaches too far
 3/11/02


© Copyright 2002 Dave Winer.
Last update: 4/7/2002; 3:20:11 AM.