Logs for the RingoJS IRC channel,
as logged by ringostarr.
2010-06-10
[03:37] <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?
[10:00] <oberhamsi> oravecz: you can access array items in skins like other properties <% foo.0 %>
[14:57] <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.
[15:01] <robi42> emilis_info, you may want to have a look at http://ringojs.org/api/master/ringo/scheduler
[15:02] <emilis_info> robi42, thanks, I know the scheduler, but the implementation with setTimeout() will not be an easy one I think
[15:02] <emilis_info> :)
[15:03] <robi42> well, there's also java.lang.Thread.sleep(millis), of course
[15:03] <emilis_info> uh
[15:03] <emilis_info> didn't know about this
[15:04] <emilis_info> thanks
[15:04] <robi42> you're welcome
[15:08] <robi42> btw, http://ringojs.org/api/master/ringo/promise may also be of interest related to that
[15:19] <emilis_info> I looked through this too
[15:19] <emilis_info> I am going to use Thread.sleep()
[15:20] <emilis_info> btw it's funny, that there is no RingoJS module containing sleep() and that I use setTimeout() to launch new threads.
[15:30] <earl> emilis_info: unless you need the thread to start after a delay, the direct way to launch a thread is spawn()
[15:31] <emilis_info> earl, thank you very much
[15:31] <emilis_info> :)
[19:22] <hannesw> oberhamsi rist_ earl robi42 beer tonight?
[19:22] <hannesw> (i'm in vienna)
[19:23] <rist_> going to some festwochen stuff - but not sure if it's any good - so perhaps i join you later
[19:27] <robi42> going to budapest for the weekend tomorrow morning so busy packing and so on tonight, unfortunately
[19:55] <hannesw> ok, another time then i guess