|
|
| Author |
Message |
| 25 new of 113 responses total. |
brighn
|
|
response 25 of 113:
|
Jan 3 17:16 UTC 2002 |
oh, that *is* a good point
|
keesan
|
|
response 26 of 113:
|
Jan 3 17:48 UTC 2002 |
Maybe a twit filter would be appropriate in this case, but I also don't want
to bother reading comments by other people in items entered by this one
person.
|
jp2
|
|
response 27 of 113:
|
Jan 3 17:56 UTC 2002 |
This response has been erased.
|
scott
|
|
response 28 of 113:
|
Jan 3 19:59 UTC 2002 |
I'd like the feature in #19 as well. Agora is near the top of my .cflist,
and so I end up seeing the linked version later during a session. I usually
forget things in Agora rather than in the specialty conferences.
|
rcurl
|
|
response 29 of 113:
|
Jan 3 20:47 UTC 2002 |
For me it depends on whether I judge the item has "lasting value", or
not. If not, I forget it in the specialty conference.
|
janc
|
|
response 30 of 113:
|
Jan 3 23:44 UTC 2002 |
The hard part is to find where an item is linked to. There are two defects
in the Picospan conference structure that make this painful to do. First,
links are done by creating a hard link in the Unix file system. Inspecting
an item file, it is easy to tell how many links there are to it, but you
can't tell where any of the other ones are. The only thing to do is
to do a scan of all other conference directories for an item file with the
same inode number. This is basically like doing an 'ls' of every conference
directory. Kind of painful.
Except it actually a bit worse than that. Picospan also lacks a coherent
conference list. The closest thing is the /bbs/conflist file, but that has
multiple entries for many conferences. So to generate a conference list so
I can actually do something "for all conferneces", I actually have to first
do a pass through the conflist eliminating duplicates.
So finding the item links is doable, but kind of a pain in the kester.
Actually forgetting them once found is pretty easy. In fact, for picospan
users, a tool already exists. If you want to forget item 78 in the foobar
conference just do
!forget foobar 78
That's a program that I wrote years ago for exactly this reason.
I'll put it on my list of things to do in Backtalk, but it's not likely to
happen very soon. I'd like that feature too, but in addition to the technical
difficulties, it is also not obvious how to integrate it into the interface,
and there is the question of how it should handle the case where you are not
a member of the conference it is linked to. (Should it join the conference
just so you can forget it? Seems stupid, but not if you later join the
conference.)
|
gelinas
|
|
response 31 of 113:
|
Jan 4 00:06 UTC 2002 |
The only problem with "!forget agora 78" is that I've no way of remembering
that it is item 78. :(
|
hash
|
|
response 32 of 113:
|
Jan 4 02:08 UTC 2002 |
I wrote something for m-net that would find what links an item had, but it
would run terribly slow on grex.
|
janc
|
|
response 33 of 113:
|
Jan 4 03:44 UTC 2002 |
Re #31: Sometimes the person linking the item is helpful enough to post a
response saying "Item 63 in the dentalfloss conference linked to item 14 in
the ferrari conference."
|
ea
|
|
response 34 of 113:
|
Jan 4 04:16 UTC 2002 |
(do we actually have a dentalfloss conference?)
|
remmers
|
|
response 35 of 113:
|
Jan 4 13:53 UTC 2002 |
(Sure. Just "join enigma".)
|
davel
|
|
response 36 of 113:
|
Jan 4 14:26 UTC 2002 |
heh.
|
jep
|
|
response 37 of 113:
|
Jan 4 15:42 UTC 2002 |
Jan, couldn't you use "ls -i" to find the inum of the linked item, then
use:
find /bbs -inum <the number> -print
to find the other linked items, and then use that information to forget
those items? Is that too CPU intensive?
|
remmers
|
|
response 38 of 113:
|
Jan 4 16:56 UTC 2002 |
You could do that, but it'd be awfully resource intensive. Probably
disk intensive, especially. The "find" would be doing a global search
over the entire unsorted conference database.
|
jep
|
|
response 39 of 113:
|
Jan 4 17:51 UTC 2002 |
Well, sure, but it would only have to do it if the item was linked, and
probably further only if someone chose the "forget all links to this
item" option. It doesn't seem like it would come up a whole lot.
Though also it seems like an oversight that Picospan doesn't keep track
of links in the item file.
|
gull
|
|
response 40 of 113:
|
Jan 4 18:12 UTC 2002 |
I guess the only non-disk-instensive way to do it would be to keep a
cache of what was linked where. But if you assume this is going to be
a rare event, it might not be worth the trouble.
|
kaplan
|
|
response 41 of 113:
|
Jan 4 19:28 UTC 2002 |
If you only had backtalk to worry about, then you could insert a record
in the cache to indicate that an item had just been linked. But how
would this cache discover that a picospan user had linked an item? I
guess every time a backtalk user reads an item that backtalk knows is
linked, backtalk could check the cache and if it's not listed there,
then backtalk could issue the 'find' command.
|
hash
|
|
response 42 of 113:
|
Jan 4 21:27 UTC 2002 |
the program I wrote did exactly as john describes.
|
janc
|
|
response 43 of 113:
|
Jan 5 04:05 UTC 2002 |
Yup, that's essentially what I'd do too, but I'd write it in C and gain a few
efficiencies based on a certain amount of knowledge of the structure of
conferences that find doesn't have.
I spent some time thinking about this yesterday. It's just ugly. Note that
I'm trying to write software that works on more places that Grex alone.
Though it is certainly normal to have all the conferences stored as
subdirectories of the same directory, that isn't always necessarily the case.
Even on Grex we've occasionally had conferences in other directories when bbs
is full (though that wouldn't really be a problem because if they are on a
different filesystem then they can't be linked to anyway). So anyway doing
a find on the bbs directory (by the way, on Grex you should depth limit that
so it doesn't go into the indexdir subdirectories of the conference
directories) isn't a 100% general solution. Much better to extract all
conference paths from /bbs/conflist.
If all you want is a "forget in all other conferences" command, then doing
an inefficient search each time isn't too bad a deal. But it'd actually be
nice to have this information more accessible. Like the item header might
say [linked to agora:34] instead of just [linked]. For that we'd need to
cache the information somewhere.
A decent cache would be a dbm file which uses file inode numbers as a key,
and as the value would have a string like "agora,34 coop,19 helpers,45". The
backtalk link and kill commands would automatically update it. If backtalk
notices that the link count of the item doesn't match the number of names in
the database, then it can assume someone changed things from Picospan and it
does the slow search to correct things (in the worst case - if the link count
just went down by one you could start by checking the items in the old list
to see if all but one of them are still there). This gets complex, but not
too complex.
But the conference names are a problem. Most conferences have more than one
name. "agora", "winter", "agora20" etc. Two of those three names change
periodically. We'd really want the database to say "agora20:19" instead of
"agora:19". Unfortunately, there only distinction between conference names
that will change and ones that won't change is in Walter Cramer's head. So
to do this right, we'd want to find some way of flagging the cannonical name
of the conference from the others. Should Backtalk's administrative tools
then enforce that rule?
Or maybe the cache should have the directory name instead of the conference
name in it. This changes less frequently than the conference name. But then
we need to do a reverse lookup to find the conference name everytime we want
to display the information. Also ugly.
So maybe you just ignore then conference renaming problem, and let the cache
repair code I mentioned above clean things up when the conference renames.
Of course, using a dbm file for the cache has a certain portability cost.
Currently Backtalk uses dbm files only in some configurations, so on many
systems it can be built without using dbms at all. It already has support
for about 6 different dbm packages, and most Unixs have at least one of those
so this wouldn't be that big a problem. I could also make the whole link
cache thing a compile time option, so people who didn't have a working dbm
package could build Backtgalk without it.
So though there aren't any really difficult problems here, it's a pretty big
chunk of work to do this right. I think I've got higher priority projects,
so it probably won't happen soon unless someone else does it. (Backtalk is,
after all, open source.)
|
oval
|
|
response 44 of 113:
|
Jan 8 16:57 UTC 2002 |
janc, any chance you could upgrade zsh to 4.0.4?
|
oval
|
|
response 45 of 113:
|
Jan 8 19:16 UTC 2002 |
4.0.2
|
amethyst
|
|
response 46 of 113:
|
Jan 8 20:06 UTC 2002 |
Does Grex still have a news server? I'm currently using news.umich.edu, but
I suspect it's missing a lot of groups, and I can't seem to use it from home
properly.
If Grex doesn't do news any more, can anyone recommend a good (free) server
I call pull the news from? I'm using Forte Free Agent as a reader.
Thanks!
|
gelinas
|
|
response 47 of 113:
|
Jan 8 20:10 UTC 2002 |
(I suspect that is "news.itd.umich.edu", which has one of the more complete
collection of groups. It is not currently available to ComCast cable
customers because Comcast has not yet published a list of AA/Ypsi IP
addresses.)
|
amethyst
|
|
response 48 of 113:
|
Jan 8 20:17 UTC 2002 |
Actually i had just put in news.umich.edu and was pulling groups. The umich
groups themselves don't seem to work (or at least no one posts to them). I'll
try the itd server and see if that's any different. Thanks!
|
remmers
|
|
response 49 of 113:
|
Jan 8 20:53 UTC 2002 |
Re #46: No, Grex doesn't carry newsgroups any more.
|