Ringobot log - RingoJS IRC channel: #ringojs on irc.freenode.net
2010-06-10:
[1:28] <oravecz> is there any way in a skin to reference an element in an array (without the use of a loop I mean). Something similar to indexing?[7:51] <oberhamsi> oravecz: you can access array items in skins like other properties <% foo.0 %>
[12:48] <emilis_info> I need to nag a function until it gives me an answer I want. What would you propose? There is no sleep() in any of the modules, so I cannot do it with a simple loop.
[12:52] <robi42> emilis_info, you may want to have a look at http://ringojs.org/api/master/ringo/scheduler
[12:53] <emilis_info> robi42, thanks, I know the scheduler, but the implementation with setTimeout() will not be an easy one I think
[12:53] <emilis_info> :)
[12:54] <robi42> well, there's also java.lang.Thread.sleep(millis), of course
[12:54] <emilis_info> uh
[12:54] <emilis_info> didn't know about this
[12:55] <emilis_info> thanks
[12:55] <robi42> you're welcome
[12:59] <robi42> btw, http://ringojs.org/api/master/ringo/promise may also be of interest related to that
[13:10] <emilis_info> I looked through this too
[13:10] <emilis_info> I am going to use Thread.sleep()
[13:11] <emilis_info> btw it's funny, that there is no RingoJS module containing sleep() and that I use setTimeout() to launch new threads.
[13:21] <earl> emilis_info: unless you need the thread to start after a delay, the direct way to launch a thread is spawn()
[13:23] <emilis_info> earl, thank you very much
[13:23] <emilis_info> :)
[17:13] <hannesw> oberhamsi rist_ earl robi42 beer tonight?
[17:13] <hannesw> (i'm in vienna)
[17:14] <rist_> going to some festwochen stuff - but not sure if it's any good - so perhaps i join you later
[17:18] <robi42> going to budapest for the weekend tomorrow morning so busy packing and so on tonight, unfortunately
[17:46] <hannesw> ok, another time then i guess
[18:15] <ringostarr> 3b61855 Hannes Walln?fer: Use camel case for servlet request/response properties in request.env
[18:15] <ringostarr> 47326e4 Hannes Walln?fer: Remove module.shared = true
