| | 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)
|
|
(...) 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)
|
|
(...) 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)
|
|
(...) 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)
|
|
(...) ...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)
|
|
| | (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)
|
|
(...) 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)
|