From: <mod...@li...> - 2005-04-02 21:59:40
|
Adam: > > Nevermind. I looked at the publish.py and subscribe.py to see what's going > on. > > The semantics are a bit confusing because the payload size is being used > to > > generate the payload. Perhaps an echo pub and sub would have been easier > to > > understand (I actually did just that with the example). > > You can actually blame the unclear thinking on me. I really was > learning Python as I was writing those toy apps -- and it shows. ;) No worries, we all start somewhere. It might be good to have some updated examples or cookbook scripts to get people started. For example, one thing I'd like to know right now is how to suppress all of the status messages when using the lib. I'm actually using the tests/rss_scroller.html as a base template and playing around with things in there and it would be great to have it running without all of the status and log messages. Any suggestions? Also, is the best way to load the libraries with the /kn?do_method=lib call? Which directory does the server serve the js files from? I'm unclear about the difference between the kn_client* directories. > > As for why it wasn't updating on the JS client, I'm not sure. After some > > fiddling though, it's working now. > > If you are ever able to isolate the behavior, we'd love to know. It was probably user error. Perhaps I didn't have the JS client subscribed to the right topic. > If you want some older, more experimental (read: *very* prototypey) > apps to play with, feel free to download the April 20, 2004 tarball > from Sourceforge (v0.994 -- long before the much cooler and much more > bug free repubsub came along): LOL. I would actually prefer some newer, less experimental apps to play with. The current directory structure is a little confusing, particularly since it acts as the web directory. It might make sense to encapsulate the web dir and explicitly create folders for the examples and client libs. An installer might be nice too, so the server can sit somewher within /opt or /var. I can help out in this area if anyone is interested. Regards, Brian -- ==== brian lee dae yung biomimetic art and research mux space . com ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |