search for: exl2

Displaying 10 results from an estimated 10 matches for "exl2".

Did you mean: el2
2006 Jul 05
13
interactive web app
I have an arbitrary program written in any language, and it is a binary (ie foo.exe), that will print out output to stdout constantly every 3-5 seconds. Is there a way that I can have a web application designed in rails that will print the output of this program to the browser every 3-5 seconds in realtime, preferably even in an ajax manner. thanks -- Posted via http://www.ruby-forum.com/.
2006 Jun 30
6
using rjs
Hi I am relatively new to ruby on rails. I want to use this javascript bundle: http://prototype-window.xilinus.com/index.html How would I call those functions in an rjs file? example: win = new Window(''window_id'', {title: "Sample", top:100, left:350}) win.getContent().innerHTML = "<h1>Hello world !!</h1>"; win.setDestroyOnClose();
2006 Jul 12
1
tail -f and periodically call remote
Is there some way to tail -f a file and print whatever tail -f gets to the browser on the client side. I''m thinking periodically call remote can do it. Is there some shortcut method, or does one have to store the cursor line that they read up to from the file last time, and then start reading again from the new cursor on the next periodically call remote. thanks -- Posted via
2006 Jul 14
0
splitting a page into two
How do you perfectly allocate a page into two sides like this: ------------------- | | | | | | | | | | | | | | | ------------------- so that no matter how you resize the browser, each side will always have 50% of their share. I would like each side to have a different div id for ajax processing, as I will update
2006 Jul 28
0
refreshing a page continuously
I am using periodically call remote on a page to do an action similar to top on unix. I would like this periodically call remote to act on milliseconds and not seconds. Is there a way for it to go faster than 1 second frequency or is that the fastest? Also, is there a better way of doing this than sending ajax calls every second because it does seem kind of messy. Thanks -- Posted via
2006 Jul 28
0
Pushing a client
How do you push a client? For example, how does www.meebo.com know when someone sends an IM to you and send that to your browser. Using firebug, I noticed they do only have a periodic check of 30 seconds. They do not really have something polling every 1 second. Do they open a port on your computer when you log in , so your computer acts as a listening server? Thanks -- Posted via
2006 Jun 30
0
Interactive Processing of print
For example, I have a python program that does print "hello" time.sleep(10) print "world" and i want to print this on ruby "hello foo" (wait 10 seconds) "world foo" I tried : IO.popen("python example.py") do |p| p.each do |line| puts line + "foo" end end and it does everything except , it waits the 10 seconds before
2006 Aug 03
0
Changing session keys across different tabs
How would you change your session key when you open a new tab. Say I''m in firefox, and I have a tab opened. I have a session key holding the session variable ''test''. When I open another tab, they will share the same session key , and if I modify test on that new tab, it will affect the old tab. Is there a way to change the session key this new tab uses? Thank
2006 Aug 03
0
iframe id
If a parent opened an iframe window, is there a way to determine what my the id of the iframe window is inside the iframe. -- Posted via http://www.ruby-forum.com/.
2006 Jul 28
0
Apache/Mongrel Deployment Errors
I am having issues with setting up my apache/mongrel cluster. I am using FC5, and i currently have 3 mongrels running on port 8000,8001, 8002. I am just testing my apache/mongrel deployment on my development machine and not online. I have apache 2.2.2, and my httpd.conf is pretty much the exact default after i yum installed apache 2.2.2. in my /etc/httdp/conf.d , i have myapp.conf, which