#jython IRC Log (v0.9)

Index

IRC Log for 2012-12-11

Timestamps are in GMT/BST.

[0:04] * plankton (~kvirc@177.4.69.170) has joined #jython
[0:43] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[0:48] * msavy (~msavy@redhat/jboss/msavy) Quit (Remote host closed the connection)
[1:05] * plankton (~kvirc@177.4.69.170) Quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/)
[1:55] * vayer (~vayer@173-164-129-225-SFBA.hfc.comcastbusiness.net) Quit (Quit: Leaving)
[5:24] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[6:21] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[6:27] * jlwestsr (~jlwestsr@2602:306:2472:82a9:354d:1883:4a27:3ab4) has joined #jython
[6:40] * jlwestsr (~jlwestsr@2602:306:2472:82a9:354d:1883:4a27:3ab4) Quit (Ping timeout: 246 seconds)
[6:54] * jlwestsr (~jlwestsr@2602:306:2472:21e9:354d:1883:4a27:3ab4) has joined #jython
[6:56] * jlwestsr (~jlwestsr@2602:306:2472:21e9:354d:1883:4a27:3ab4) Quit (Remote host closed the connection)
[7:53] * seletz (~seletz@business-178-015-118-087.static.arcor-ip.net) has joined #jython
[8:06] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) Quit (Read error: Connection reset by peer)
[8:06] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) has joined #jython
[9:45] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[9:49] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 252 seconds)
[10:01] * clajo05 (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) has joined #jython
[10:02] * clajo04_ (~clajo04_@pool-74-108-95-112.nycmny.fios.verizon.net) Quit (Ping timeout: 256 seconds)
[10:02] * clajo05 is now known as clajo04_
[10:28] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 255 seconds)
[12:07] * Juneau001 (~Juneau@fess-120727.dhcp.fnal.gov) has joined #jython
[12:12] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[13:11] * msavy (~msavy@redhat/jboss/msavy) Quit (Ping timeout: 244 seconds)
[13:16] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[13:24] * darq (~darq@2604:9a00:2010:a00d:1::12c) has joined #jython
[13:26] <darq> Hi. How do I get a 2D Java array in Jython from [[1,2,3],[4,5,6]]?
[13:33] * darq (~darq@2604:9a00:2010:a00d:1::12c) Quit (Ping timeout: 246 seconds)
[14:01] * jlwestsr (~jlwestsr@2602:306:2472:21e9:7d41:598f:ea0b:da1b) has joined #jython
[14:21] * jimbaker (~jbaker@canonical/jimbaker) Quit (Quit: Coyote finally caught me)
[14:23] * sgithens (~sgithens@50-90-177-28.res.bhn.net) Quit (Ping timeout: 244 seconds)
[14:27] * seletz is now known as seletz|away
[14:39] * skay (~skay@miparque/dev/skay) has joined #jython
[14:39] * skay (~skay@miparque/dev/skay) has left #jython
[14:54] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[14:56] * tlecomte (9d63400d@gateway/web/freenode/ip.157.99.64.13) has joined #jython
[14:58] <tlecomte> Hi all ! I am trying to use jython inside a java application, together with execnet to connect to a cpython interpreter. I am having problems with permgenspace errors in the jython script as soon as I use execnet after having used some java classes. Do you know where they can come from and how to solve this problem ?
[14:59] <tlecomte> Thanks in advance...
[14:59] * jimbaker (~jbaker@canonical/jimbaker) has joined #jython
[15:03] * sgithens (~sgithens@2001:18e8:3:11d1:ed75:5804:d79b:e58c) has joined #jython
[15:20] <tlecomte> Hi all ! I am trying to use jython inside a java application, together with execnet to connect to a cpython interpreter. I am having problems with permgenspace errors in the jython script as soon as I use execnet after having used some java classes. Do you know where they can come from and how to solve this problem ?
[15:25] * ctismer (~ctismer@django.stackless.com) Quit (*.net *.split)
[15:26] * ctismer (~ctismer@django.stackless.com) has joined #jython
[15:27] <agronholm> tlecomte: not sure if execnet leaks permgen memory but have you tried increasing the size of the permgen memory area?
[15:27] <agronholm> you could also try rpyc as an alternative
[15:31] * ctismer (~ctismer@django.stackless.com) Quit (*.net *.split)
[15:32] * ctismer (~ctismer@django.stackless.com) has joined #jython
[15:54] * jabley_ (uid2487@gateway/web/irccloud.com/x-yfnkxfbigmkajfbx) Quit (Remote host closed the connection)
[15:54] * lopex (uid4272@gateway/web/irccloud.com/x-vjljjgxyjidrhvww) Quit (Remote host closed the connection)
[16:07] <tlecomte> @agronholm: thanks, I'll try increasing the permgen memory area and I'll look at rpyc
[16:11] * seletz|away (~seletz@business-178-015-118-087.static.arcor-ip.net) Quit (Quit: seletz|away)
[16:22] <agronholm> is your project gpl licensed?
[16:23] * sgithens (~sgithens@2001:18e8:3:11d1:ed75:5804:d79b:e58c) Quit (Read error: Operation timed out)
[16:26] * jabley_ (uid2487@gateway/web/irccloud.com/x-cdadbloxkyloofcf) has joined #jython
[16:34] * lopex (uid4272@gateway/web/irccloud.com/x-jbqksnvytgkgmtjx) has joined #jython
[16:38] * jlwestsr (~jlwestsr@2602:306:2472:21e9:7d41:598f:ea0b:da1b) Quit (Quit: Ex-Chat)
[17:43] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[18:17] * sgithens (~sgithens@2001:18e8:3:11d1:ed75:5804:d79b:e58c) has joined #jython
[18:56] * sebastian_ (~sh@hmbg-4d06f68e.pool.mediaWays.net) has joined #jython
[18:58] <sebastian_> Hi. I'm entirely new to Jython and try to understand what exactly I can't do with it. As I understand it, that'd be calling native code outside of what would normally be in the Python interpreter? So, for example, I couldn't use the OpenCV Python bindings?
[19:03] <Arfrever> It depends on how these bindings are implemented.
[19:05] <sebastian_> I haven't been able to figure that out... It doesn't look like SWIG; it could be something homegrown. How would bindings have to be implemented to work with Jython?
[19:06] <Arfrever> ctypes
[19:06] <Arfrever> (But ctypes implementation in Jython is incomplete.)
[19:08] <Arfrever> If source code of these bindings is in C/C++, then they currently cannot be used in Jython.
[19:24] <sebastian_> Meh, they look very C++ to me :(
[19:24] <sebastian_> Thanks though. Looks like I've got to read up on ctypes.
[19:30] <Arfrever> What do you want to do anyway?
[19:36] <sebastian_> Setting up a Hadoop/HBase cluster and play "Person of Interest"; that is, feeding it prerecorded and live video/audio, and throw as many algorithms at it as I know.
[19:37] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[19:37] <sebastian_> i.e. I'd like to implement a realtime version of Phototourism, that is, reconstructing 3D sceneries from images.
[20:20] * Juneau001 (~Juneau@fess-120727.dhcp.fnal.gov) Quit (Quit: Juneau001)
[20:24] <jimbaker> sebastian_, if you want to use c/c++, you can start with jna, seems to work well w/ jython
[20:24] <jimbaker> otherwise drop down into jni
[20:24] <jimbaker> a good example project that does this intensely is sikuli. even does computer vision stuff
[20:33] <lopex> there's also jffi
[20:40] <sebastian_> Okay, so there are at least three Java ways to call C stuff which can be used from Jython, but importing a .py which calls C functions is still out, correct? So basically, most Python wrappers that have already been written are out...?
[20:45] <sebastian_> Actually, with OpenCV that might be a problem, as there'd be quite a lot of data that'd be passed up and down through the interface. Then again I'm not sure if that's not the case with the current wrapper, too...
[22:02] * sgithens (~sgithens@2001:18e8:3:11d1:ed75:5804:d79b:e58c) Quit (Read error: Operation timed out)
[23:13] <pjenvey> we have a new FFI for Python, called cffi (it's based off LuaJIT's ffi), i get the impression that adding jython support would be easier to do than ctypes
[23:13] <pjenvey> it'd be neat to have it work via jffi
[23:39] <sebastian_> Thank you, everybody, and good night.
[23:40] * sebastian_ (~sh@hmbg-4d06f68e.pool.mediaWays.net) Quit (Quit: Leaving)

Index

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