#jython IRC Log (v0.9)

Index

IRC Log for 2010-06-24

Timestamps are in GMT/BST.

[0:18] * Kami_ (~kami@kami.qc.to) Quit (Read error: Operation timed out)
[0:21] * Kami_ (~kami@kami.qc.to) has joined #jython
[0:29] * jimbaker (~jbaker@64.134.151.188) has joined #jython
[0:35] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[0:35] * jimbaker (~jbaker@64.134.151.188) Quit (Quit: jimbaker)
[0:35] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[0:39] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[0:39] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[0:51] * classfoo (~classfoo@58.49.52.114) has joined #jython
[0:55] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[0:56] * r0bby_ is now known as robbyoconnor
[0:58] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[0:59] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[1:05] * zooko (~user@24.130.33.164) Quit (Ping timeout: 265 seconds)
[1:06] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[1:25] * jgomo3 (~jgomo3@201.208.85.131) has joined #jython
[1:34] * Kami_ (~kami@kami.qc.to) Quit (Read error: Operation timed out)
[1:38] * Kami_ (~kami@kami.qc.to) has joined #jython
[1:54] * ^robertj (~Rob@97-81-87-202.dhcp.athn.ga.charter.com) has joined #jython
[2:01] * ^robertj (~Rob@97-81-87-202.dhcp.athn.ga.charter.com) Quit (Read error: Connection reset by peer)
[2:09] * verterok (~ggonzalez@unaffiliated/verterok) Quit (*.net *.split)
[2:09] * Oti (~ohumbel@adsl-62-167-116-145.adslplus.ch) Quit (*.net *.split)
[2:10] * ttmrichter (~ttmrichte@111.173.76.209) Quit (Quit: ...and I'm taking my ball with me!)
[2:10] * ttmrichter (~ttmrichte@111.173.76.209) has joined #jython
[2:10] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[2:10] * Oti (~ohumbel@adsl-62-167-116-145.adslplus.ch) has joined #jython
[2:25] * zooko (~user@209-204-169-32.dsl.static.sonic.net) has joined #jython
[2:55] <jimbaker> pjenvey: looking at 1522 again. as was noted by matt brinkley, a weak hash map for class_to_type is not sufficient, due to the fact that hard refs point back from a given proxied obj to both the class (javaproxy) and the type (objtype)
[2:55] <jimbaker> and this was your conclusion earlier
[2:56] <jimbaker> so i tried using class_to_type = new MapMaker().softKeys().softValues().makeMap() in its place (using the guava r05 release)
[2:56] <jimbaker> and that works just fine
[2:58] <jimbaker> i was under the impression from your earlier experience that exposed types would have to a hard ref maintained against them in some set or map, but this is not required for the regrtest to pass (which certainly is a robust test of type exposure)
[2:58] <jgomo3> Hello, just wanted to note that ubuntu 10.04 jython is version 2.2.1 . Is the package maintainer here?
[2:58] <jimbaker> so at this point, we need to come up with a reasonable test of the memory leak on proxy classes
[3:00] <jimbaker> and see if this simple fix makes it work. and if so, maybe we should simply add the guava goodness to jython. (it's debatable since it's 910k, although we potentially just pull some pieces like their custom concurrent map and related support for mapmaker)
[3:00] <jimbaker> jgomo3: i have been in contact with the debian package maintainer
[3:01] <jimbaker> he's in the process of preparing a debian package for jython 2.5.1. the holdup on that is a package for antlr 3.3.1
[3:01] <jimbaker> certainly it's my expectation that we will have a release in time for ubuntu maverick
[3:07] <jgomo3> jimbaker: thank you for the info. It could be important to backport to 10.04 because it is LTS. Regards.
[3:08] <jimbaker> jgomo3: if possible, that sounds like a very good idea
[3:18] <agronholm> shouldn't the aim be 2.5.2?
[3:19] * Kami_ (~kami@kami.qc.to) Quit (Read error: Operation timed out)
[3:20] <jimbaker> agronholm: yes. but one step at a time. 2.5.2 has to go through a beta, then a RC process first
[3:20] <jimbaker> whereas this debian package is almost ready, just needs this third party dependency of antlr to be fulfilled
[3:22] <agronholm> it'd suck if 2.5.2 didn't make it into the next ubuntu
[3:22] <agronholm> given the amount of bugs fixed since 2.5.1
[3:22] <agronholm> particularly the jsr223 issues
[3:23] <jimbaker> i agree, but i don't want to see 2.5.x not make maverick at all. i believe we have about 1.5 months to get it in time for maverick based on my conversations with some of the ubuntu devs
[3:23] <agronholm> well yeah, 2.5.1 is better than not at all
[3:23] <jimbaker> so that's just the edge of going through a full RC for us... we will see
[3:24] * Kami_ (~kami@kami.qc.to) has joined #jython
[4:12] <jgomo3> I'm overwriting a Java method named global. What can i do?
[4:16] <jgomo3> resolved: After defining the class, i attached the "global" attribute to the class assigning it a function
[4:19] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 276 seconds)
[4:19] * verterok_ (~ggonzalez@unaffiliated/verterok) has joined #jython
[4:27] * zooko (~user@209-204-169-32.dsl.static.sonic.net) Quit (Ping timeout: 264 seconds)
[4:35] * zooko (~user@209-204-169-32.dsl.static.sonic.net) has joined #jython
[4:35] * classfoo is now known as Yolanda
[4:37] <jgomo3> can you take a look at: http://pylonshq.com/pasties/af3958a9dc0a83a0709190220aaa1273
[4:40] * zooko (~user@209-204-169-32.dsl.static.sonic.net) Quit (Ping timeout: 272 seconds)
[4:47] <jgomo3> Config is a Java class wich define an addModule method (i writed in the title of the pastie it was a protected method but actually it is not, it is public). The problem is that i can instantiate a ConfigProxy c and call the method addModule as c.config.addModule(*args). But i can't do it with ConfigProxy2. I mean, i can't: c = ConfigProxy2(); c.addModule(*args). Any idea? i posted a comment showing the traceback
[4:48] <jgomo3> One more thing: the method addModule is final. But remember it is working with ConfigProxy
[5:12] * zooko (~user@209-204-169-32.dsl.static.sonic.net) has joined #jython
[5:18] * zooko (~user@209-204-169-32.dsl.static.sonic.net) Quit (Ping timeout: 240 seconds)
[5:19] <Oti> jgomo3: i believe this has to do with the general java rule that you should (or can) not call a method in the constructor before calling super()
[5:20] <Oti> in ConfigProxy2's __init__ method, you first do some stuff, and then call Config.__init__()
[5:20] <Oti> but that is just my guess
[5:24] <jgomo3> Oti: doing more tests, i found the error is the same when trying to overwrite the method normally. The method is final and that is why it raise an error. But i decided to neither use the Proxy nor use the Proxy2. Decorating the method was enough: i just call: c = Config(), and c.addModule(*args) do what i wanted. The solution was easier than i thought.
[5:25] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[5:32] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) Quit (Quit: L??hd??ss??)
[5:36] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) has joined #jython
[5:49] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[5:57] <Oti> 'java -Djava.awt.headless=true -jar jython_installer-2.5.2rc1.jar -A' fails in dir '/private/var/folders/C3/C35-YpPcE2eKxO7mXgo6gk+++TI/-Tmp-/jython.autoinstall.root_6934822737564202890_dir/003 silentTest_1976517410505425812_dir'
[5:58] <Oti> i suspect the installer doesn't like the dir name, it works in a 'normal' dir
[5:58] <Oti> but of course needs some investigation
[6:05] * zooko (~user@209-204-169-32.dsl.static.sonic.net) has joined #jython
[6:07] * Kami_ (~kami@kami.qc.to) Quit (Read error: Operation timed out)
[6:11] * Kami_ (~kami@kami.qc.to) has joined #jython
[6:12] * zooko (~user@209-204-169-32.dsl.static.sonic.net) Quit (Ping timeout: 265 seconds)
[6:38] * Oti (~ohumbel@adsl-62-167-116-145.adslplus.ch) Quit (Quit: Oti)
[6:49] * zooko (~user@76.14.64.139) has joined #jython
[7:03] * zooko (~user@76.14.64.139) Quit (Ping timeout: 258 seconds)
[7:15] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Quit: jabley)
[7:19] * jgomo3 (~jgomo3@201.208.85.131) Quit (Remote host closed the connection)
[7:21] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[7:21] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[7:32] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[7:35] * Kami_ (~kami@kami.qc.to) Quit (Read error: Operation timed out)
[7:39] * Kami_ (~kami@kami.qc.to) has joined #jython
[7:46] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[7:48] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[7:56] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[8:13] * thobe (~Adium@c83-249-252-237.bredband.comhem.se) Quit (Quit: Leaving.)
[8:29] * Kami_ (~kami@kami.qc.to) Quit (Read error: Operation timed out)
[8:31] * Kami_ (~kami@kami.qc.to) has joined #jython
[8:39] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[9:10] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[9:15] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[9:24] * mannaz (~mannaz@78.142.150.242) has joined #jython
[10:42] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[12:02] * lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[12:05] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 276 seconds)
[12:10] * lucian_ is now known as lucian
[13:23] * juneau001 (~juneau@131.225.24.72) has joined #jython
[13:40] * Yolanda (~classfoo@58.49.52.114) Quit (Remote host closed the connection)
[13:41] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[14:07] * ttmrichter (~ttmrichte@111.173.76.209) Quit (Read error: Connection timed out)
[14:08] * ttmrichter (~ttmrichte@111.173.76.209) has joined #jython
[14:23] * skay (~skay@pat1.orbitz.net) has joined #jython
[14:36] * Kami__ (~kami@kami.qc.to) has joined #jython
[14:36] * Kami_ (~kami@kami.qc.to) Quit (Ping timeout: 272 seconds)
[14:56] * classfoo (~classfoo@59.174.114.252) has joined #jython
[15:24] * verterok_ is now known as verterok
[15:32] * ttmrichter (~ttmrichte@111.173.76.209) Quit (Ping timeout: 245 seconds)
[15:41] * classfoo (~classfoo@59.174.114.252) Quit (Remote host closed the connection)
[15:47] * zooko (~user@75-144-246-6-SFBA.hfc.comcastbusiness.net) has joined #jython
[15:52] * lheuer (~heuer@unaffiliated/lheuer) Quit (Quit: Closing Time)
[15:58] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[16:00] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[16:03] * zooko (~user@75-144-246-6-SFBA.hfc.comcastbusiness.net) Quit (Ping timeout: 260 seconds)
[16:10] * mannaz (~mannaz@78.142.150.242) Quit (Quit: mannaz)
[16:13] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[17:14] * zooko (~user@24.130.33.164) has joined #jython
[17:45] * jimbaker (~jbaker@rtr-folsom.wireless.indra.com) has joined #jython
[17:48] <jimbaker> pjenvey: did i see my results with MapMaker().softKeys().softValues() ?
[17:48] <jimbaker> sorry, did *you* see :)
[18:02] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[18:18] <zooko> Oh, hey we were just using the same thing at SimpleGeo just now.
[18:20] <jimbaker> in terms of guava?
[18:22] <jimbaker> we have had a discussion in the past of the merits of including google collections (the old name for that subset of guava). on the one hand, this would increase our jar size (unless it's packaged like debian)
[18:22] <jimbaker> but on the other, it's an awesomely engineered library as far as i can see
[18:23] <zooko> Yeah, in terms of collections/guava.
[18:23] <zooko> We're using collections in part because we don't want to include the other code from guava.
[18:25] <jimbaker> zooko: do you know what the size of that jar is?
[18:26] <zooko> No I don't.
[18:26] <zooko> But I do know that one of my cow-orkers decided not to use it because he doesn't like extraneous source code bundled into packages he relies on.
[18:28] <jimbaker> makes sense. anyway, it's good to know it's separable (otherwise, it would not reflect so well on the engineering :) )
[18:33] * stakkars (~tismer@i577B5F5F.versanet.de) has joined #jython
[19:13] * zooko (~user@24.130.33.164) Quit (Ping timeout: 260 seconds)
[19:16] * zooko (~user@24.130.33.164) has joined #jython
[19:17] * jimbaker (~jbaker@rtr-folsom.wireless.indra.com) Quit (Quit: jimbaker)
[19:22] * thobe (~Adium@83.249.252.237) has joined #jython
[19:26] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Quit: leaving)
[19:27] * zooko (~user@24.130.33.164) Quit (Ping timeout: 260 seconds)
[19:28] * Oti (~ohumbel@adsl-84-227-222-211.adslplus.ch) has joined #jython
[19:29] * zooko (~user@c-24-130-33-164.hsd1.ca.comcast.net) has joined #jython
[19:35] * zooko (~user@c-24-130-33-164.hsd1.ca.comcast.net) Quit (Ping timeout: 260 seconds)
[19:37] * juneau001 (~juneau@131.225.24.72) Quit (Quit: juneau001)
[19:56] * thobe (~Adium@83.249.252.237) Quit (Quit: Leaving.)
[20:29] * pigletto (~quassel@cre243.neoplus.adsl.tpnet.pl) has joined #jython
[20:49] * zooko (~user@24.130.33.164) has joined #jython
[21:02] * pigletto (~quassel@cre243.neoplus.adsl.tpnet.pl) Quit (Remote host closed the connection)
[22:18] * jimbaker (~jbaker@c-71-56-218-169.hsd1.co.comcast.net) has joined #jython
[22:45] * jimbaker (~jbaker@c-71-56-218-169.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[22:48] * zooko (~user@24.130.33.164) Quit (Ping timeout: 276 seconds)
[23:06] * skay (~skay@pat1.orbitz.net) Quit (Quit: skay)
[23:29] * zooko (~user@24.130.33.164) has joined #jython

Index

These logs were automatically created by JythonLogBot_ on irc.freenode.net using a slightly modified version of the Java IRC LogBot (github).