computer chip



home
archive

suggestions
help page
future features



View current page
...more recent posts

I noticed that Tom and Bill both had weird situations where viewing their pages from the [new post] link on the front page resulted in the doubling of posts. Viewing the page regularly (without the /?new) was fine.

Have you guys been using the preview? My guess is that is where the problem is. Any info is helpful.
- jim 1-18-2002 2:13 pm [link] [7 comments]

Tom was asking me about the behavior of the system when switching (in [editpage]) between the different commenting styles. This prompted me to rethink how this works. I had never really played around with it too much. Yet again, the incomparable value of having other people actually use the code you are writing.

Anyway, I've made some changes to the comment pages. The default behavior is to allow for comments to be added either flush left (not indented) after any comments that are already there, or directly under (and indented) any particular comment. The 'add a comment' link at the top of the page (or if it exists, the actual posting box at the bottom of the page) will always give you the first behavior. When it's allowed, clicking the [add a comment] link after a specific comment will put your follow up comment right under the one whose link you clicked (and indented.)

Anyway, the page owner can always switch back and forth between styles of comments (either straight, or allowing this indenting.) But if you already had indented comments on your page, then switching to straight (non-indented) comments would loose any old comments that were indented. Well, they wouldn't be lost, but they wouldn't display.

Anyway, to get to the point. I've changed things so now if you change a page that already has indented comments to the straight style it will "flatten" any indented comments (un-indent them) so that everything displays.

I am very happy about this. The reason is that it is my secret desire to get rid of the indenting comments altogether. While I agree that it is nice to have options, this one is so expensive that I think we'd be better off without it. I won't do anything rash, but over the long haul (and especially if we started to become more busy) I am thinking of eventually loosing this feature. I'll explain the cost if anyone really cares, but take it from me, it's a really high cost (in storage, and processor power) to get the indenting comments to work. If we had a hundred users it might not work out so well (or it might.) A thousand users and I'm pretty sure it would be too much strain. I'd love to find out some day how big this could scale.
- jim 1-15-2002 7:46 pm [link] [add a comment]

Well, I've done a lot of testing and I can't get any of these comment problems to happen again. But I saw some happen yesterday (in the wild, as it were) so I know that something is up. I'll keep looking.

Did somebody say something about having to scroll down on the /settings page before you see any text? That doesn't sound right. Can someone confirm this with browser/OS information?

Does this happen on any other pages?

Thanks.
- jim 1-14-2002 2:57 pm [link] [36 comments]

There are definitely some problems with the [x new comment] counters. This is a result of some new capabilities (yeah, I know) that were just added. I'll get this all straightened out by tomorrow. If anybody notices they make a comment that then doesn't show up, please write to me with the following info:

Did you post from a comment box on the comment page itself, or did you add the comment from a posting page that only contained a posting box (and no comments)?

Did you post directly as a comment, or did you use the new 'preview' feature?

Thanks.
- jim 1-14-2002 12:46 am [link] [add a comment]

I have not done serious testing, but I believe that preview mode now works for comments. There could well be errors (with the [x comments] comment counters, or the [x new comment] counters on the front page.) Please let me know if you think something is funky.

Also, there is a new page /settings where you can make some adjustments. More options are coming. Right now you can use /settings to manually zero all your new post/comment tracking counters. Plus you can assign a pixel dimension for all your posting boxes. Plus you can set a default behavior for converting line breaks to HTML (you can either have this default to on - checked - as it does now, or you can switch it to always default to off.) Also you can turn off or on the options of preview and pending (future) posts.

I'm sure this is confusing. Any help with the language that might make these options clearer is much appreciated. Also ideas for other settings.
- jim 1-13-2002 7:04 pm [link] [13 comments]

Fixed the problem with "use your own HTML" pages not recording hits for the referer log. Tom brought this to my attention and it turned out to be a little more difficult to track down than I had thought. Turns out that those pages were correctly recording hits, except in the situation where all the content is just put into the template (and nothing is [post]ed.) This turns out to be a reasonable way to build these pages, but it isn't the way I had in mind when I designed it. The original idea is that the format and graphic design elements would be entered on [editpage] into the HTML field, but that you would still post the "real" content through [post].

In any case, it works fine just to make the entire page inside the template. Hits will now record. The only possible draw back is that the search engine won't find text on that page.
- jim 1-09-2002 7:20 pm [link] [2 comments]

Fixed, finally, the 2002 archive bug. This caused problems with the framed view of the archives for sure. Not sure about the regular view. In any case this will be a problem again after 12/31/2012 but if we are still using this code base then this will be the least of our problems.
- jim 1-09-2002 6:53 pm [link] [add a comment]

Well, I was all set to order the new server and put it at he.net when they send me an email announcing that all of their virtual host accounts (that's what we have now - where you share a server with a bunch of other people but it looks to you like you're the only one on it) have been expanded. So as of this month we have twice the storage space and a great deal more bandwidth for the same price.

I still want my own machine, but now that there is less urgency I can't pull the trigger. I'm learning a lot of unix by working in OSX so I'm steeling myself to tackle the server I bought last year but never really used. If I can get linux and everything else running on that box, and can convince myself that it is reasonably stable, then I will just ship that one off. This will be about half the cost of having them manage a machine for me. Of course if something goes wrong it will be my fault instead of theirs.

Not sure what to do. I almost wish they hadn't sweetened the deal. In any case, upload away.
- jim 1-06-2002 7:07 pm [link] [1 comment]

Yeah, the archive broke at midnight. Well, not really broke, but 2002 is not working. I thought that might happen, but I didn't look into it in time. I'll fix it later today when I get my head back.
- jim 1-01-2002 7:31 pm [link] [add a comment]