To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 5272
  Monitor Page
 
Todd, Have you ever considered offering a page, either like the traffic page, or the X-most recent messages list, which will auto-refresh? I suppose that would be a bit of a hit on the bandwidth, but would be nicely convenient. Alternately, is there (...) (25 years ago, 16-Mar-00, to lugnet.admin.general)
 
  Re: Monitor Page
 
(...) Yes. (...) Yes, and CPU. (...) Are you looking for something more along the lines of an instant "news ticker" type of thing? (...) No. --Todd (25 years ago, 16-Mar-00, to lugnet.admin.general)
 
  Re: Monitor Page
 
"Steve Bliss" <blisses@worldnet.att.net> wrote in message news:FrJCBq.KuI@lugnet.com... (...) the (...) would be (...) You could create a html page with frames and add scripting that keeps updating the other frame every X seconds. If you keep the (...) (25 years ago, 16-Mar-00, to lugnet.admin.general)
 
  Re: Monitor Page
 
(...) BAD! NO! Evil. Every X minutes, maybe, where X is a large number, and X gets progressively larger the longer you've been away from your terminal, but not just regularly for the hell of it. --Todd (...) (25 years ago, 16-Mar-00, to lugnet.admin.general)
 
  Re: Monitor Page
 
"Todd Lehman" <lehman@javanet.com> wrote in message news:FrJE3r.9GK@lugnet.com... (...) I agree! (...) progressively (...) regularly (...) In dutch we would call such a this "de botte bijl methode" which roughly translates: "The blunt axe method". (...) (25 years ago, 16-Mar-00, to lugnet.admin.general)
 
  Re: Monitor Page
 
(...) OK, as long as you've thought about it. (...) Yah, I think. What I was really thinking of is a live list of the most-recent messages. As new messages get posted, the server sends them down to my browser. Steve (25 years ago, 17-Mar-00, to lugnet.admin.general)
 
  Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) I was surprised how easy it was to devise a little pseudo-news-streamer -- both on the server end and on the client end. All a client has to do is poll a special URL periodically and check the global article count. If the count has changed, (...) (25 years ago, 17-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Oops. That should say: article ::= artnum \n ( head \n body )? \. \n (no * after the head) --Todd (25 years ago, 17-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
[snipped everything about the pseudo-streaming stuff] Cool! I didn't reply to this sooner, because copying the example client code, pasting it to a file, and running it through perl pretty much exhausted my Perl knowledge. I must play with this some (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) yah, it's very cool - I modified it quite a bit here to have messages pop up to my screen, and to be able to tell it which message to start at, either by number or relative to the current one... I plan to add an option to have it start by (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) I'm working on a Java client. I've nailed down the basic functionality of a text-mode dumb client in about half an hour. Dang, it was easy. Thanks, Todd and Suz! :-, My client is fairly modular and extensable. I'm using a callback interface (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) One thing worth noting, just as a general side comment about powerful string- processing languages like Perl and Lisp... When someone gives out a program which connects to some server, it's only safe as you trust the code/server combination. (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Great! Neat-o! One suggestion: Separate the producer into a separate, totally encapsulated daemon which just sits there running 24x7 and slurps new articles whenever they appear and spools them into some directory on the local drive. That way, (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
In lugnet.admin.general, Todd Lehman writes: One suggestion: Separate the producer into a separate, totally encapsulated (...) I thought of doing that, though - what's the differnece between a newsreader and my script then? that it works over http (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Depends on the newsreader...most newsreaders (that I've ever seen) either store articles in a proprietary compresses formart or don't store copies at all. It's also a lot more work on the newsserver if clients are connecting via NNTP and (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) replying to myself (I did decide I need it) - I read lugnet both at work and at home - I havn't found an easy way to sync the two, so I'm writing my own :) Thanks for putting out the API that allows me to do it... (...) yup, similar to what (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Too late! All done! :-, But that would be easy to do; I could simply write a daemon class that consumes tidbits by spooling them for serving later. The drawback to doing this, is that one *might* need to run two JVM's -- one for the spooler, (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) For general review, the app: (URL) the source: (URL) I'm assuming JDK 1.2.2. Build scripts are for Win32 (but this should be insanely easy to build on Un*x). You can run the app by "java -jar text_streaming_news.jar". All it does is print the (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Thank you for pointing that out. I had forgotten about eval, and did not realize the potential for trouble with it. I've got a simple client developed in MS-VB, which just polls and displays the feed, inserting the messages at the top of the (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Corporate firewall? What do you figure that it didn't like? The repeated periodic polling, and it blocked you from doing that after it exceeded some count? What happens when you set the polling rate to be less frequent? Does your firewall also (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Another advantage of having a separate, detached fetcher/spooler for incoming new messages is that it can be turned around backwards and instead of polling the server periodically, it can be made callable by the server, if clients registered (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
On Tue, 21 Mar 2000 22:40:49 GMT Todd Lehman <lehman@javanet.com> wrote concerning 'Re: Pseudo-streaming live news (was: Re: Monitor Page)': (...) the advantage of that being that the spooler isn't being spammed by the clients to see if there's new (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) which brings me to another idea I've been playing with - a lugnet/ICQ portal... instead of getting messages through the mail, or through NNTP, have them appear in your icq client... either set up a user for each newsgroup you're subscribed to, (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Wouldn't the spooler fetch messages based upon the 1min/5min polling? Cheers, - jsproat (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
In lugnet.admin.general, Todd Lehman wrote: [snipped all the cool stuff] OK, one more request. Feel free to blow this off if it's too much of a time-sink. Would it be possible to have avid.cgi serve up the html streams used to build the (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) The firewall seems to periodically require re-authentication to get out. But it's not clear what strategy it uses to determine when to re-authenticate. It's not elapsed time since last authentication, or elapsed time since last request. It (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) That would be very easy, but other than a page header & footer, how would it differ fundamentally from this which already exists?-- (URL) means: show at most 20 articles in "brief" mode, starting at global article count 119500.) Do you have a (...) (25 years ago, 21-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) the escaped-period condition in the message body schema. Also, it now dumps 1024 bytes of the message body, instead of just some headers. Cheers, - jsproat (25 years ago, 21-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) it merits it! Cheers! Richard (25 years ago, 22-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) it could, or it could be subscribed to the newsgroups as mailing lists, which is faster than the polling. Heh, unless we get Todd to allow us to poll at 10s intervals since it saves user hits. :P Dan (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) The data that avid.cgi reports is only updated on the server once every 60 seconds anyway. --Todd (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) doh... in that case, 1m it will be. Just curious, how often does the main page update? Dan (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Same. --Todd (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) if I wasn't clear on that. (...) Yes, I do. Sticking to Perl and html, I could use a daemon-type[1] program to maintain an HTML document with the output from avid.cgi. This HTML document would have an auto-refresh command, so I could display (...) (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) ...And again. Changes: o I've changed the way the Consumer talks to the Listener -- it's now somewhat closer to the JDK 1.1.x event model, in that the Consumer has to Listener.addConsumer() itself, and the Listener can fire news tidbits (...) (25 years ago, 22-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) If you wanted to rename the "Body:" header to something other than "Body:" and still let clients of the code access aspects of an article object via the same single entry point, you could redefine the body's "header key" to be the null string (...) (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Hey, that works *great* with a Properties object, except I'll haveta use a blank string instead of a null string (the hashcode of a null object is pretty hard to come by...) Thanks! :-, Cheers, - jsproat (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) I guess I should state that I'm developing this with the 1.2 JDK. I have 1.1 lying around here somewhere, but I don't have it installed for compatability testing. Yet. Cheers, - jsproat (25 years ago, 22-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Ditto. Changes: o Added a SkipFilter class. There is no support for it in the Listener class; I'm not sure if skip-filters shouldn't be a client-only thing. Anyway, see TextClient.java for an example of implementation. I referred to Todd's (...) (25 years ago, 23-Mar-00, to lugnet.admin.general)  
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) ACL = ? (The only ACL expansion that comes to mind for me Access Control Lists. Is that which ACL you mean?) I guess any old hierarchical system -could- use that general method for defining and controlling areas of access...but in a "real" (...) (25 years ago, 23-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Isn't the Windows term for a daemon "prince of darkness"? :-, Cheers, - jsproat (25 years ago, 23-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Hey, Todd: I just wanted to say thanks for putting together the avid.cgi interface. It's very nifty and cool, even if I don't write a local newsspooler to attach to it. My little app polls through avid, and shows a list of the most recent (...) (25 years ago, 24-Mar-00, to lugnet.admin.general)
 
  (canceled)
 
 
  (canceled)
 
 
  GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
[reposting and crossposting to .geek to get a wider audience] [f-ups to .geek] (...) (URL) the source: (URL) - The very first update takes the latest avid.cgi message number and subtracts 20 from it and starts reading messages based on *that*, (...) (25 years ago, 25-Mar-00, to lugnet.admin.general, lugnet.off-topic.geek) ! 
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Excellent! Glad to hear it! --Todd (25 years ago, 25-Mar-00, to lugnet.admin.general)
 
  Re: Pseudo-streaming live news (was: Re: Monitor Page)
 
(...) Question to y'all: What type of API is expected between the spooler and the spooler's client? i.e. How does your spooler serve articles to the client? Is it pretty much expected to imitate the avid.cgi over HTTP etc., or is anyone writing a (...) (25 years ago, 27-Mar-00, to lugnet.admin.general)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
Wow. Not one reply. Two people (including myself) gave the original message a score of 100, though. Did anyone download and try the client? Was the cold response the result of my presentation, or did the app just bite? Cheers, - jsproat (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) sorry, man, can't try it out - it requires java, which mozilla does not support yet. I'd love to see what it does, if only to get ideas for the perl streamer I'm working (slowly) on... I haven't really done anything since I got it to work - (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) I did, although I was too ashamed to admit that I couldn't get it working.. (linux) I tried (actually, I'm in win at the moment so I can't remember the exact filename names!): $ java -jar gui_streaming_client.jar (couldn't find the ice html (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)  
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Try running the command inside run.bat. After getting it all back on one line, it's: java -classpath external_classes\ice...g_news.jar sproat.lugnet.news.s....GUIClient Oops. Hmmm. I need to fix that. For Linux, it'd probably be: java (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)  
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Good point. I wasn't clear enough. This does not require any browser support of Java. Instead, it's a Java application which periodically *launches* Netscape (could be any browser, regardless of Java support). (...) This, essentially, is what (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)  
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) BTW, did you see any kind of output indicating an error, such as a stack trace? If so, could you please e-mail it to me or post it here? Cheers, - jsproat (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
In lugnet.off-topic.geek, Jeremy H. Sproat writes: bite? (...) or, have it connect to your spooling message server... (...) nope, though Todd said it's possible to have it in the avid.cgi output... I was thinking of how we could remotely vote... (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Whoops, good point! After I implement a spooling server, of course. :-, (...) Mmmmmm. That'd be nice. Cheers, - jsproat (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) heh, that occured to me... while I dislike java, I'll give it a shot :) (...) yes, but in that case, you increase the delay from the time the message is posted, and the time the client displays it... it'll be 2-10 minutes, assuming the 1/5 min (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)  
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Nah, nothing as heinous as a stack error - it was the NoDefClass (?) error - basically it wasn't finding the ice stuff. I have some free time tomorrow - so I *will* get it working, and post a fix here.. it's probably something *really* simple. (...) (25 years ago, 29-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Sorry, me no Java. Plus, I've been working on that low-budget VB-based avid client. Steve (25 years ago, 30-Mar-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Heh -- I had to re-read this sentence. It first looked like you said: "I've been working on that low-budget VR-based avid client." Can you tell me when I can get the goggles for that? :-, Cheers, - jsproat (25 years ago, 31-Mar-00, to lugnet.off-topic.fun)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) The ratings are actually meta-data separate from the actual messages. (The message headers and bodies are constant but the ratings change over time.) What I need to figure out before serving a rating stream is how efficiently updates could be (...) (25 years ago, 1-Apr-00, to lugnet.off-topic.geek)  
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Nope, that would put sensitive data into the httpd logs! Gonna hafta pass your cookie the regular way, not part of GET. In addition to your cookie, here's what you wanna send via HTTP POST to /news/rate.cgi, basically: (...) (25 years ago, 1-Apr-00, to lugnet.off-topic.geek) ! 
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
On Sat, 1 Apr 2000 07:13:58 GMT "Todd Lehman" <lehman@javanet.com> wrote concerning 'Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))': (...) hmmm... good point - though doesn't the login cgi end (...) (25 years ago, 3-Apr-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) No, that's passed via POST, not GET. (...) Should be pretty easy to find it in your cookies.txt file...(?) (...) Ahhh, neat-o: lots of numpad keys. I like * for 100! :) The . key (labeled Del on most keyboard today) or the / key might also (...) (25 years ago, 3-Apr-00, to lugnet.off-topic.geek)
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) nodnod. (...) nod - though I'll prob make it do a proper login to get the cookie, so that you won't have to have a browser installed just for that. (...) nod, unsubmitting is important (can you do it via the web interface?) prob use the 'del' (...) (25 years ago, 3-Apr-00, to lugnet.off-topic.geek)  
 
  Re: GUI LUGNET streaming news client in Java (Was: Pseudo-streaming live news (was: Re: Monitor Page))
 
(...) Oh! Two other thing about the above... First, don't worry about passing multiple data points for a single article -- only the last one listed is used. The simplest thing to do for queueing up outgoing ratings is probably just to write them out (...) (25 years ago, 3-Apr-00, to lugnet.off-topic.geek)  
 
  LUGNET streaming news client in Java 2
 
Hey all, I've just uploaded a streaming news client for LUGNET, which I've written in Java 2 (JDK 1.2). It doesn't use any external Java classes! :-, It's downloadable from: (URL) run it with JDK 1.2, type: java -jar table_streaming_news.jar The (...) (25 years ago, 7-Apr-00, to lugnet.off-topic.geek, lugnet.announce)  

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR