Hopbot log for 2009-04-16 - Helma IRC channel: #helma on irc.freenode.net

2009-04-16:

[8:21] <hannesw> going back to helma 1 today, working on getting the 1.7 release ready.
[8:22] <hannesw> not as exciting as ng or serverjs, but needs to be done :-)
[8:40] <simono> hehe not as exciting, but 1.7 will have more of an impact on my day2day life :)
[8:40] <hannesw> yep
[9:52] <hannesw> decke: do you have a diff/patch for the XmlConfiguration fix for Jetty6?
[9:52] <hannesw> apart from that, the only thing missing is the allowedHosts feature for ajp13, and I think we can do without that.
[9:53] <decke> hannesw: yeah that's exactly what i plan to do today...
[9:54] <hannesw> great!
[9:54] <decke> the only question that is open for met...
[9:54] <decke> -t
[9:54] <hannesw> I know it's just a few lines... so just post them here or on helma.pastebin.com
[9:54] <decke> is what to do when the user has ajp13allow=... in his config
[9:54] <hannesw> i think we can just drop it.
[9:54] <hannesw> if people want security, they should use a firewall..
[9:55] <decke> a probability would to be throw some exception to remind the user about it
[9:55] <hannesw> maybe
[9:55] <decke> yeah but if the user doesn't know about it and expects security
[9:55] <hannesw> ok, yes.
[9:55] <decke> we could throw an exception and tell him to remove the option (or use a proper server.properties)
[9:56] <decke> okay i'll create a patch for the missing things...
[11:01] <simono> trying to understand timezones and how oracle handles them... am i correct that helma only "detects" the DATE- and TIMESTAMP-columntypes as holding timeinformation and magically transforming them into js Date objects? if i read a TIMESTAMP WITH TZ column, helma returns that as a string
[11:50] <decke> hannesw: http://home.bluelife.at/patches/
[11:50] <hannesw> decke: danke
[11:50] <decke> hannesw: bitte :o)
[11:51] <decke> let the testings begin...
[12:05] <hannesw> decke: I'm afraid it will simply work :-)
[12:05] <decke> hannesw: we can bet - because i expect it won't work ;o)
[22:09] <liamMT> hannesw: I was trying to work a bit off the model you used in the googlestore to use JavaAdapter to do a bit of meta-management on the Storable object, but had some trouble. I'm basically trying to latch onto points in the code that try to access an object property that is not defined, and dynamically defines it. but if I override NativeObject.get(), I'm not sure how to check whether the property being asked for is defined, without going into an infinite loop
[22:13] <hannesw> liamMT: yes, this is tricky.
[22:13] <hannesw> you can use this.has(name, this) -> boolean
[22:14] <hannesw> but you need to know a fair bit of rhino internals
[22:14] <liamMT> I actually tried that - it seemed to call get() somewhere internally though
[22:14] <liamMT> since it still went into an infinite loop and stack overflowed on me
[22:14] <liamMT> does that sound right, or did I maybe miss something?
[22:16] <liamMT> ooh - maybe I did screw it up. I think I wasn't calling has() on 'this', but on the object I originally created
[22:22] <liamMT> ok, I think that's working now - thanks!
[22:34] <liamMT> hm - except that doesn't work so well when the method being asked for is a function...would prefer not to create a property in that case. is there any way to know within get() whether it's asking for a function or a property? getProperty() doesn't ever seem to get called...
[22:42] <hannesw> there's only one kind of property, functions and other values are all the same
[22:43] <hannesw> getProperty() in ScriptableObject is just a static helper method.
[22:45] <liamMT> gotchya - sorry for the rhino specific q's, but very helpful. thanks :)
[23:19] <liamMT> does helma provide any way to create a JS object from a Java Map?
[23:59] <liamMT> nm - found it

 

 

In the channel now:

Logs by date: