#jython IRC Log (v0.9)

Index

IRC Log for 2013-02-05

Timestamps are in GMT/BST.

[0:12] * wmeissner (~wmeissner@119.12.200.21) Quit (Quit: wmeissner)
[0:30] * Juneau001 (~Juneau@50-45-101-37.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[1:05] * msavy (~msavy@redhat/jboss/msavy) Quit (Remote host closed the connection)
[1:18] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[1:34] * wmeissner (~wmeissner@119.12.200.21) has joined #jython
[1:41] <thereisnospoon> fwierzbicki, not that concerned personally, but figured that a change that major was probably something that u should get a heads up on
[2:26] <agronholm> what change
[2:38] * Juneau001 (~Juneau@50-45-101-37.dklb.il.frontiernet.net) has joined #jython
[2:45] * darjus (~darjus@184-77-252-49.war.clearwire-wmx.net) has joined #jython
[2:48] * glitch83 (~nick@c-50-133-233-98.hsd1.ma.comcast.net) has joined #jython
[2:49] <glitch83> Strange question: if I have a reference to a PyObject, can I get a reference to a PyProxy from that?
[2:50] <agronholm> I don't think I've ever done it that way around
[2:51] <agronholm> I also don't think the link is bidirectional
[2:51] <darjus> glitch83: are you doing this in Java or Python?
[2:51] <glitch83> in Java
[2:52] <glitch83> I'm trying to transparently get a reference to the PyProxy reference at construction time when I subclass
[2:52] <glitch83> that's really what I'm after
[2:52] <darjus> at construction time of what/
[2:53] <glitch83> So Jython/subclass/Java but at construction(__init__), it passes a reference of itself up to Java who can hold that copy
[2:54] <glitch83> Then whenever a new version of the class shows up- I can _setPyInstance from Java side
[2:56] <darjus> hm
[2:57] <darjus> can you elaborate a bit on the use case?
[2:59] <glitch83> Imagine a tree of subclassed objects (jython subclassing java), whenever the user redefines a class, then I don't want the user to have to reconstruct the tree - just have the references reload in place
[3:00] <glitch83> that's really what I'm after
[3:00] <darjus> now i'm curious why would you want that... :)
[3:01] <glitch83> haha ;-)
[3:01] <glitch83> edit in place on a running large scale system
[3:01] <glitch83> and to be as noninvasive to your python style as possible
[3:02] <glitch83> I may have to wrap up he objects and get the reference after construction when the PyProxy object is finalized, constructed and held back
[3:02] <glitch83> *handed back
[3:09] <darjus> i think it's possible. all PyObject that are PyProxy have _setPyInstance. so you should be able to use PyObject __finditem__ Something along the lines of this line: https://bitbucket.org/darjus/clamp/src/2a68ba70a139224fc7d966476b66f0f4fa2ddf5e/src/org/python/clamp/Clamper.java?at=default#cl-55
[3:09] <darjus> i'll be away for an hour or so, so may be slow to reply for a while
[3:09] <thereisnospoon> agronholm, 4 fold increase in build+test time
[3:10] <agronholm> can you pinpoint the changeset that caused that?
[3:11] <glitch83> @darjus thanks a bunch - I'll try this out
[3:11] <thereisnospoon> probably, jenkins is running builds for me, just running a build atm, will see how the build time is incase it was an anomoly
[3:12] <agronholm> are we talking 2.7 builds here?
[3:12] <thereisnospoon> ya
[3:14] <thereisnospoon> 2.7 build on latest oracle jdk
[3:29] <glitch83> follow up, this worked: pyObject.invoke("_setPyInstance", newPyObject);
[4:09] * r0bby_ is now known as robbyoconnor
[4:12] <darjus> glitch83: super!
[4:12] * Juneau001 (~Juneau@50-45-101-37.dklb.il.frontiernet.net) Quit (Quit: Juneau001)
[4:15] * glitch83 (~nick@c-50-133-233-98.hsd1.ma.comcast.net) Quit (Quit: glitch83 has no reason)
[5:58] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[7:16] * darjus (~darjus@184-77-252-49.war.clearwire-wmx.net) Quit (Quit: Konversation terminated!)
[8:35] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) has joined #jython
[9:32] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[9:51] * msavy (~msavy@redhat/jboss/msavy) Quit (Remote host closed the connection)
[9:58] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (Ping timeout: 252 seconds)
[10:00] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[10:03] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) Quit (Read error: Connection reset by peer)
[10:05] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) has joined #jython
[10:37] * purplefox (~purplefox@host-78-150-4-241.as13285.net) has joined #jython
[11:18] * wmeissner (~wmeissner@119.12.200.21) Quit (Ping timeout: 240 seconds)
[12:06] * Juneau001 (~Juneau@131.225.24.178) has joined #jython
[12:46] * purplefox (~purplefox@host-78-150-4-241.as13285.net) Quit (Ping timeout: 252 seconds)
[13:19] * purplefox (~purplefox@host-78-150-4-241.as13285.net) has joined #jython
[13:28] * purplefox (~purplefox@host-78-150-4-241.as13285.net) Quit (Ping timeout: 276 seconds)
[14:16] * purplefox (~purplefox@host-78-150-4-241.as13285.net) has joined #jython
[14:18] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) Quit (Ping timeout: 248 seconds)
[14:51] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) has joined #jython
[15:05] <topi`> I'm writing a subsystem that needs to be integrated into a larger whole written in java. would it make sense to write it in jython and somehow integrate that? my other option is to learn java.
[15:06] <topi`> but I would want to avoid learning java if at all possible
[15:19] <agronholm> topi`: if you're dealing with a java system, it's unlikely that you can avoid learning java
[15:31] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[15:53] <topi`> I already know java, but not good enough to be a java hacker
[15:53] <topi`> and newer java versions have a lot of "new stuff"
[15:54] <agronholm> why would you need to be a java hacker?
[16:15] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 255 seconds)
[16:26] * verterok (~ggonzalez@91.189.93.88) has joined #jython
[16:30] * verterok (~ggonzalez@91.189.93.88) Quit (Ping timeout: 246 seconds)
[16:44] * purplefox (~purplefox@host-78-150-4-241.as13285.net) Quit (Ping timeout: 248 seconds)
[16:46] * purplefox (~purplefox@host-78-150-4-241.as13285.net) has joined #jython
[16:57] * purplefox (~purplefox@host-78-150-4-241.as13285.net) Quit (Ping timeout: 252 seconds)
[17:29] * purplefox (~purplefox@host-78-150-4-241.as13285.net) has joined #jython
[17:46] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) Quit (Quit: Sto andando via)
[18:41] * verterok (~ggonzalez@91.189.93.88) has joined #jython
[18:42] * verterok (~ggonzalez@91.189.93.88) Quit (Changing host)
[18:42] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[19:02] * purplefox (~purplefox@host-78-150-4-241.as13285.net) Quit (Ping timeout: 255 seconds)
[19:30] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[19:45] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[20:17] * Juneau001 (~Juneau@131.225.24.178) Quit (Quit: Juneau001)
[20:24] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[20:28] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) Quit (Ping timeout: 264 seconds)
[20:31] * ChanServ (ChanServ@services.) has joined #jython
[20:32] * purplefox (~purplefox@host-78-150-4-241.as13285.net) has joined #jython
[20:37] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[20:38] * ChanServ (ChanServ@services.) has joined #jython
[20:39] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[20:40] * ChanServ (ChanServ@services.) has joined #jython
[20:40] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[21:39] * meritum (~jakub@79.97.180.253) has joined #jython
[21:43] * ChanServ (ChanServ@services.) Quit (*.net *.split)
[21:47] * ChanServ (ChanServ@services.) has joined #jython
[21:57] * wmeissner (~wmeissner@119.12.200.21) has joined #jython
[21:58] * purplefox (~purplefox@host-78-150-4-241.as13285.net) Quit (Ping timeout: 260 seconds)
[22:00] * wmeissner (~wmeissner@119.12.200.21) Quit (Client Quit)
[22:30] * meritum (~jakub@79.97.180.253) Quit (Remote host closed the connection)
[22:51] * Juneau001 (~Juneau@50-45-101-37.dklb.il.frontiernet.net) has joined #jython
[23:59] * Juneau001 (~Juneau@50-45-101-37.dklb.il.frontiernet.net) Quit (Quit: Juneau001)

Index

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