Logs for the RingoJS IRC channel,
as logged by ringostarr.
2011-06-27
[10:17] <oberhamsi> hi hannesw, what do you think about https://github.com/ringo/ringojs/pull/138 ?
[10:17] <oberhamsi> websocket fixes
[10:18] <hannesw> oberhamsi: thanks, will look at it
[10:18] <oberhamsi> thx, there's now different interfaces for text, binary, control messages
[10:18] <oberhamsi> i chose text and it now works as it did before
[10:21] <hannesw> hm, so websocket is totally broken?
[10:22] <hannesw> we should add some tests.
[10:22] <oberhamsi> yes, i finally have a project that uses them so will hopefully notice sooner in the future
[18:22] <tom_i> what constitutes an 'invalid return'?
[18:36] <rrmckinley> tom_i: is that a JSGI thing?
[21:53] <tom_i> rrmckinley: sorry, it was an error in my code
[21:53] <tom_i> thx
[22:31] <rrmckinley> hannesw_: is anything being done with Java varargs in Rhino? seems like I have to do method([a]) often.
[23:13] <robi42> hannesw_: there's a version of that `ringo/subprocess` test which actually works on windows now, see: https://github.com/ringo/ringojs/issues/139#issuecomment-1450489
[23:14] <hannesw_> rrmckinley: Nothing I'm aware of, not from my side.
[23:14] <hannesw_> do you have any ideas on how to improve it?
[23:15] <hannesw_> robi42: subprocess wasn't working on windows?
[23:15] <hannesw_> oh, just the test, i see
[23:15] <hannesw_> :)
[23:15] <hannesw_> feel free to merge/push
[23:15] <robi42> it does. just that test related to cwd-awareness wasn't really :)
[23:16] <robi42> ok
[23:16] <earl> hannesw_: package loading from jars seems to work fine now, thanks a lot for the fix
[23:18] <hannesw> earl: cool
[23:23] <earl> i think the "add many jars to the classpath from within a package" question will come up quite often
[23:23] <earl> how about adding a simple utility function to ease that very common task?
[23:23] <hannesw> earl: sounds like a good idea
[23:24] <robi42> yep, that would come in handy.
[23:24] <earl> require('ringo/engine').addJars('./jars')
[23:24] <earl> sthg like that
[23:25] <rrmckinley> hannesw: I can't see a way to get a method on a particular object, just a class, so I'm not sure I could suggest a better way: http://www-archive.mozilla.org/js/liveconnect/lc3_method_overloading.html#ExplicitMethod
[23:28] <rrmckinley> But, in most of these cases, no method is found on method(a, b, c) so it seems simple to look for a vararg method if no other method is found.
[23:28] <rrmckinley> and then wrap a, b, c in a [] automatically.
[23:46] <rrmckinley> earl, robi42, hannesw: I'd like to see a boolean option for recursive directory loading on addJars('./jars', true). When I use maven to maintain jars in my packages, I clean and put jars into ./jars/repo so that I do not delete any jars manually placed in ./jars. I don't care too much what the default behavior is with no boolean arg.