#jython IRC Log (v0.9)

Index

IRC Log for 2010-12-21

Timestamps are in GMT/BST.

[0:07] * njoyce (~njoyce@124-150-89-44.dyn.iinet.net.au) Quit (Ping timeout: 240 seconds)
[0:12] * jbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jbaker)
[0:22] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 240 seconds)
[0:32] <quizme> pjenvey: http://www.pastie.org/1393717
[0:32] <quizme> jbaker: http://www.pastie.org/1393717
[0:42] <quizme> pjenvey: should "." be in my sys.path ?
[0:45] <bimbo> hello, why isn't PyHashMap hasheable?
[0:45] <bimbo> s/PyHashMap/PyStringMap
[0:49] <bimbo> the thing is, I'm trying to persist some objects using neodatis object db, but when it's trying to store the jython object it complains about not being able to get the hash for PyStringMap
[1:14] <bimbo> by chekcing the source code of PyStringMap I see the hashCode method is overriden to throw an exception saying "unhashable type: 'stringmap'
[1:14] <bimbo> "
[1:58] * bimbo (~emerino@poseidon.etesa.com.mx) has left #jython
[1:59] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[2:06] <pr3d4t0r> Oh, well; bimbo left.
[2:06] * pr3d4t0r gets back to work.
[2:12] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[2:29] * njoyce (~njoyce@124-150-67-238.dyn.iinet.net.au) has joined #jython
[2:31] * lopex (lopex@89-76-44-27.dynamic.chello.pl) Quit ()
[2:33] * jbaker (~jimbaker@64.134.124.160) has joined #jython
[2:55] <pjenvey> quizme - I don't have '.' in my sys.path in those 2 examples. maybe you have the env variable set: PYTHONPATH=. ?
[3:29] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[3:29] <quizme> pjenvey: yes, "." is in PYTHONPATH
[3:29] <quizme> thanks a lot
[3:31] <quizme> thank you
[3:31] <quizme> i'll set python.path
[3:31] <quizme> goodnight
[3:31] * quizme (~quizme@66.43.117.226) has left #jython
[3:31] * jbaker (~jimbaker@64.134.124.160) Quit (Quit: jbaker)
[3:39] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[3:41] * Soteric (59b2f87b@gateway/web/freenode/ip.89.178.248.123) Quit (Ping timeout: 265 seconds)
[3:41] * njoyce (~njoyce@124-150-67-238.dyn.iinet.net.au) Quit (Ping timeout: 240 seconds)
[4:02] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Quit: schnarch)
[4:03] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 240 seconds)
[4:28] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[4:29] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[5:03] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 240 seconds)
[5:26] * pr3d4t0r is now known as pr3d4k4t
[5:28] * pr3d4k4t is now known as pr3d4t0r
[5:46] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Quit: schnarch)
[5:47] * njoyce (~njoyce@124-150-110-227.dyn.iinet.net.au) has joined #jython
[5:49] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[6:10] * njoyce (~njoyce@124-150-110-227.dyn.iinet.net.au) Quit (Read error: Connection reset by peer)
[6:23] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[7:45] * jabley_ (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[7:47] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Ping timeout: 240 seconds)
[7:47] * jabley_ is now known as jabley
[7:56] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[7:58] * bitreader (big_al@186.88.227.172) has joined #jython
[7:59] * biterader (big_al@186.88.227.172) Quit (Ping timeout: 264 seconds)
[8:16] * thobe (~Adium@c83-249-247-186.bredband.comhem.se) Quit (Quit: Leaving.)
[8:16] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[8:16] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[8:38] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[8:45] * seberg (~sebastian@134.76.0.204) has joined #jython
[9:06] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[9:37] * njoyce (~njoyce@124-150-94-103.dyn.iinet.net.au) has joined #jython
[9:49] * biterader (big_al@186.88.227.172) has joined #jython
[9:52] * bitreader (big_al@186.88.227.172) Quit (Ping timeout: 240 seconds)
[9:53] * bitreader (big_al@186.88.227.142) has joined #jython
[9:54] * biterader (big_al@186.88.227.172) Quit (Ping timeout: 255 seconds)
[10:00] * biterader (big_al@186.88.227.188) has joined #jython
[10:04] * bitreader (big_al@186.88.227.142) Quit (Ping timeout: 255 seconds)
[10:04] * bitreader (big_al@186.88.227.188) has joined #jython
[10:04] * biterader (big_al@186.88.227.188) Quit (Ping timeout: 240 seconds)
[10:05] * biterader (big_al@186.88.227.140) has joined #jython
[10:08] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Read error: Connection reset by peer)
[10:08] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[10:09] * bitreader (big_al@186.88.227.188) Quit (Ping timeout: 265 seconds)
[10:10] * biterader (big_al@186.88.227.140) Quit (Ping timeout: 265 seconds)
[10:10] * bitreader (big_al@186.88.227.188) has joined #jython
[10:10] * bitreader (big_al@186.88.227.188) Quit (Read error: Connection reset by peer)
[10:27] * javawizard (~jw@bzflag/contributor/javawizard2539) has joined #jython
[10:32] * jcp (~jw@bzflag/contributor/javawizard2539) Quit (*.net *.split)
[10:32] * pr3d4t0r (~cu4cu4@varenka.cime.net) Quit (*.net *.split)
[10:32] * javawizard is now known as jcp
[10:33] * pr3d4t0r (~cu4cu4@varenka.cime.net) has joined #jython
[10:59] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[11:06] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[11:20] * sumppi (sumppi@2001:67c:15c:1:20c:29ff:fe7f:cda1) has joined #jython
[11:28] * sumppi (sumppi@2001:67c:15c:1:20c:29ff:fe7f:cda1) Quit (Remote host closed the connection)
[12:03] * seberg (~sebastian@134.76.0.204) Quit (Quit: Ex-Chat)
[12:19] * seberg (~sebastian@134.76.0.204) has joined #jython
[12:21] * seberg (~sebastian@134.76.0.204) Quit (Client Quit)
[14:25] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: leaving)
[15:13] * headius (~headius@216.160.3.79) has joined #jython
[15:39] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[15:46] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[15:54] * njoyce (~njoyce@124-150-94-103.dyn.iinet.net.au) Quit (Ping timeout: 260 seconds)
[15:59] * lopex (lopex@89-76-44-27.dynamic.chello.pl) has joined #jython
[16:04] * jbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[16:28] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[16:43] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[16:45] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[16:46] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley_)
[17:04] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[17:08] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[17:21] * Soteric (5f18b05f@gateway/web/freenode/ip.95.24.176.95) has joined #jython
[17:24] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[17:24] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[17:27] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[17:28] * Soteric (5f18b05f@gateway/web/freenode/ip.95.24.176.95) Quit (Ping timeout: 265 seconds)
[17:28] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[17:30] * headius (~headius@216.160.3.79) has joined #jython
[17:37] * Soteric (5f18f3c7@gateway/web/freenode/ip.95.24.243.199) has joined #jython
[17:37] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[17:54] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 245 seconds)
[17:57] <Soteric> Could anyone explain if GIL issues effects Jython?
[17:57] <jbaker> Soteric: there's no GIL in jython
[17:57] <Soteric> That's nice :)
[17:58] <jbaker> although in the future we will be implementing a "GIL" for the C ext api (but only for code using that)
[18:01] <Soteric> GIL's confused me. I'm not good at multi-threading programming but I've learnt a lot and managed to make a program that uses MT benefits. Now I know about GIL and my program isn't really MT and so on... that's confusing :)
[18:04] * gqlewis (~gqlewis@h242.94.82.166.dynamic.ip.windstream.net) has joined #jython
[18:27] * bimbo (~emerino@poseidon.etesa.com.mx) has joined #jython
[18:27] <bimbo> hello, why isn't PyStringMap hasheable?
[18:28] <bimbo> the thing is, I'm trying to persist some objects using neodatis object db, but when it's trying to store the jython object it complains about not being able to get the hash for PyStringMap
[18:28] <bimbo> by chekcing the source code of PyStringMap I see the hashCode method is overriden to throw an exception saying "unhashable type: 'stringmap'"
[18:28] <jbaker> bimbo: this corresponds to python semantics
[18:31] <bimbo> jbaker: hmm that means it won't be possible to store these type of objects in the db right?
[18:33] <jbaker> bimbo: i don't know anything about neodatis, but the restrictions are odd
[18:37] <bimbo> jbaker: the thing is, it places the objects it stores as keys of a hashmap, since PyStringMap isn't hasheable neodatis isn't able to store the objects
[18:38] <bimbo> I *don't* know why it stores the objects as keys in a hashmap but that's where the stacktraces lead
[18:40] <jbaker> bimbo: sure it's the aspect of using the objects as keys. in any event, you can't use a dict as a key in python, and we use java collections to support the equivalent python types. hence the dilemma in this one case
[18:42] <bimbo> jbaker: I see, but can you think of any workaround for this? maybe not something that can be implemented right now, but maybe a possible future solution?
[18:43] <bimbo> groovy has out of the box support for neodatis object db, you just need to provide neodatis with groovy's classloader and that's it
[18:43] <bimbo> a similar approach for python would be perfect
[18:44] <jbaker> it does sound like a nice way to verify the completeness of java integration
[18:45] <jbaker> i think it needs someone from neodatis to discuss it here or on jython's mailing list
[18:45] <jbaker> if jruby has integrated neodatis, that might give some insight
[18:46] <jbaker> jruby and jython are much closer than say groovy
[18:49] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[18:54] <bimbo> I searched yesterday for neodatis integration with jruby but couldn't find it.. I think I'll have to get into it and investigate on possible ways to get the integration done, since I really need to use jython in my project
[18:57] <jbaker> bimbo: sounds cool. we can definitely help with ideas. or at least explain why we have constraints like you see with PyStringMap. but one more question - why does it care about PyStringMap, instead of PyObject? that does supporting hashing of course
[18:58] <bimbo> jbaker: that's something I need to investigate too, why the heck it's trying to store a PyStringMap when I only tried to store a simple PyObject (e.g. neodatis.store(new PyObject()); )
[18:59] * gqlewis (~gqlewis@h242.94.82.166.dynamic.ip.windstream.net) Quit (Quit: gqlewis)
[19:01] <bimbo> jbaker: you can try it yourself, neodatis requires no config at all and if you use maven you'll have a test case in no time
[19:02] <jbaker> bimbo: good to know. at the very least, i'd recommend filing a bug report on bugs.jython.org so we can track this
[19:22] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 245 seconds)
[19:39] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[19:47] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[19:48] * njoyce (~njoyce@124-150-101-205.dyn.iinet.net.au) has joined #jython
[19:55] * ideamonk_ (~ideamonk@122.167.26.126) has joined #jython
[19:55] * ideamonk_ (~ideamonk@122.167.26.126) has left #jython
[20:16] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Read error: Connection reset by peer)
[20:16] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[20:19] * lopex (lopex@89-76-44-27.dynamic.chello.pl) Quit ()
[20:21] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 245 seconds)
[20:23] * njoyce (~njoyce@124-150-101-205.dyn.iinet.net.au) Quit (Ping timeout: 260 seconds)
[20:28] * njoyce (~njoyce@203-214-86-178.dyn.iinet.net.au) has joined #jython
[20:44] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: leaving)
[20:49] * yassine (~yassine@unaffiliated/yassine) has joined #jython
[20:49] <yassine> hi folks
[20:49] <pjenvey> jbaker, ohumbel - is there a list of bugs pending for another release?
[20:50] <pjenvey> we need to just pull the trigger at some point
[20:52] <yassine> i have a very weired issue in here im tryin to execute a jelly based transformation from jython, i have provided a referenz into the jelly context and after the transformation is excuted instead of getting values of the my vars for example : ${logentry.date} i just get nothing
[20:57] <jbaker> pjenvey: i don't believe we have compiled this in a list. need to have some better way to track in bugs.jython.org. i have been using launchpad recently and i must say it does offer some great features compared to roundup
[21:06] * jbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jbaker)
[21:12] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Read error: Connection reset by peer)
[21:13] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[21:28] * Oti (~ohumbel@adsl-89-217-45-130.adslplus.ch) has joined #jython
[21:30] <Oti> pjenvey - my private list is 1681 and 1675
[21:30] <Oti> i did not look at the newer ones yet
[21:36] <yassine> anyone of you guys using jython and jelly ?
[21:40] <Oti> yassine - me not
[21:43] <yassine> Oti, well you're fine not doing so
[22:00] * jbaker (~jimbaker@64.134.24.133) has joined #jython
[22:01] * verterok_ (~ggonzalez@unaffiliated/verterok) has joined #jython
[22:17] * yassine (~yassine@unaffiliated/yassine) Quit (Ping timeout: 265 seconds)
[22:32] * bimbo (~emerino@poseidon.etesa.com.mx) has left #jython
[22:43] * quizme (~quizme@66.43.117.226) has joined #jython
[22:43] <quizme> is there such a thing as a jython server, so that I don't have to wait for jvm startup time ?
[22:44] <jbaker> quizme: take a look at nailgun
[22:44] <jbaker> it has no security, you have to start it - but it may work for your needs
[22:45] * verterok_ (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 240 seconds)
[22:46] <jbaker> i've thought that it would be neat if someone would create their own variant using execnet to combine the strengths of cpython and jython
[22:46] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[22:50] * Oti (~ohumbel@adsl-89-217-45-130.adslplus.ch) Quit (Quit: Oti)
[22:54] <quizme> jbaker thank you i'll look into nailgun
[22:58] * njoyce (~njoyce@203-214-86-178.dyn.iinet.net.au) Quit (Ping timeout: 240 seconds)
[23:00] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Read error: Connection reset by peer)
[23:01] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[23:03] * njoyce (~njoyce@124-148-53-103.dyn.iinet.net.au) has joined #jython
[23:18] * Oti (~ohumbel@adsl-89-217-45-130.adslplus.ch) has joined #jython
[23:22] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[23:30] * Oti (~ohumbel@adsl-89-217-45-130.adslplus.ch) Quit (Quit: Oti)
[23:53] * jbaker (~jimbaker@64.134.24.133) Quit (Quit: jbaker)

Index

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