#jython IRC Log (v0.9)

Index

IRC Log for 2011-06-19

Timestamps are in GMT/BST.

[1:01] * lopex (lopex@84-10-213-252.dynamic.chello.pl) Quit ()
[1:25] * headius (~headius@71-37-236-192.mpls.qwest.net) Quit (Quit: headius)
[3:33] * headius (~headius@71-37-236-192.mpls.qwest.net) has joined #jython
[3:49] * wmeissner (~wmeissner@2406:a000:f005:9e00:225:ff:fe4d:e0c3) Quit (Ping timeout: 260 seconds)
[4:49] * headius (~headius@71-37-236-192.mpls.qwest.net) Quit (Quit: headius)
[5:23] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Quit: Leaving)
[6:03] * wmeissner (~wmeissner@2406:a000:f005:9e00:225:ff:fe4d:e0c3) has joined #jython
[6:34] * shashank (~shashank@67-40-52-2.hlrn.qwest.net) Quit (Quit: shashank)
[9:43] * wmeissner (~wmeissner@2406:a000:f005:9e00:225:ff:fe4d:e0c3) Quit (Ping timeout: 260 seconds)
[9:43] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[9:44] * MarderIII (~marderii@enneman.demon.nl) has left #jython
[10:00] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[10:04] * Taos (~Taos@92.20.132.35) has joined #jython
[10:04] <Taos> Morning all, im struggling getting my script into a jar
[10:04] <Taos> I have followed the listed advice, and ended up with what I think the jar is, but I can't find my script to say its an entry point
[10:13] <Taos> Which has vanished
[10:13] <Taos> And side question, where is jythonc gone?
[10:14] <agronholm> it could no longer be supported -- an alternative is in the works though
[10:15] <Taos> Ah cool, so backdoor methods are the only way forward at the moment
[10:16] <Taos> On my other point when I turn my python script into the jar, im not sure where the entry point to my python snippit is
[10:28] <Taos> Why when jython is turned into a class file it gets $py thrown in on the end?
[10:49] <Taos> Im confused about what the $py is at the end
[10:57] <agronholm> it's an indicator that it's not a regular class file
[10:57] <agronholm> as in, cannot used from Java directly
[10:57] <agronholm> one could argue that it shouldn't even be named .class
[11:00] <Taos> damn
[11:16] * Taos (~Taos@92.20.132.35) Quit (Ping timeout: 250 seconds)
[11:17] * Taos (~Taos@92.20.132.35) has joined #jython
[11:34] * qkeen (~petrov_il@212.193.77.79) has joined #jython
[11:35] * headius (~headius@71-37-236-192.mpls.qwest.net) has joined #jython
[11:37] * Taos (~Taos@92.20.132.35) Quit (Quit: HydraIRC -> http://www.hydrairc.com <-)
[11:46] * qkeen (~petrov_il@212.193.77.79) Quit (Ping timeout: 240 seconds)
[11:51] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[12:16] * headius (~headius@71-37-236-192.mpls.qwest.net) Quit (Quit: headius)
[13:36] * lopex (lopex@84-10-213-252.dynamic.chello.pl) Quit ()
[14:51] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: [IRSSI] Connection reset by peer...isn't he that short little mexican with the wire cutters heading your way??)
[14:52] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[14:52] * MarderIII (~marderii@enneman.demon.nl) has left #jython
[14:53] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[14:53] * MarderIII (~marderii@enneman.demon.nl) Quit (Client Quit)
[15:11] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[15:11] * MarderIII (~marderii@enneman.demon.nl) Quit (Client Quit)
[15:15] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[15:59] * lolsuper_ (~super_@pool-96-254-154-66.tampfl.fios.verizon.net) has joined #jython
[15:59] * lolsuper_ (~super_@pool-96-254-154-66.tampfl.fios.verizon.net) Quit (Changing host)
[15:59] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[16:52] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: [IRSSI] Life for Sale: Cheap... hardly used.)
[17:32] * jython-newbie (~raul@201.12.117.35) has joined #jython
[17:33] <jython-newbie> Is that correct?
[17:33] <jython-newbie> public SimplexTipo criar(int n, int m, float c[][]) {
[17:33] <jython-newbie> PyObject simplexObj = jySimplexClass.__call__(new PyInteger(n),new PyInteger(m), new PyList());
[17:33] <jython-newbie> return (SomaTipo)somaObj.__tojava__(SomaTipo.class);
[17:33] <jython-newbie> }
[17:33] <jython-newbie> ...
[17:34] <jython-newbie> I mean... PyList(c) can represent float c[][] ?
[17:38] <jython-newbie> ...
[17:38] <jython-newbie> How can I represent a list of lists (from python) in a Java code? pyList() only?
[17:54] * railbait (~railbait@ip68-97-11-61.ok.ok.cox.net) has joined #jython
[17:58] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[18:04] <jython-newbie> ...
[18:04] <jython-newbie> What about this?
[18:04] <jython-newbie> public SimplexTipo criar(int n, int m, int c[], int A[][], int b[]) {
[18:04] <jython-newbie> PyObject simplexObj = jySimplexClass.__call__(new PyInteger(n),new PyInteger(m), new PyList(c), new PyList(A), new PyList(b));
[18:04] <jython-newbie> return (SimplexTipo)simplexObj.__tojava__(SimplexTipo.class);
[18:04] <jython-newbie> }
[18:05] <jython-newbie> ...
[18:05] <jython-newbie> int A[][] ----------> pyList(A) ??????
[19:26] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[19:32] * jython-newbie (~raul@201.12.117.35) Quit (Quit: Saindo)
[19:59] * ciziar (~textual@81-225-140-103-no12.tbcn.telia.com) has joined #jython
[19:59] * ciziar (~textual@81-225-140-103-no12.tbcn.telia.com) Quit (Client Quit)
[20:16] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[21:21] * ciziar (~textual@81-225-140-103-no12.tbcn.telia.com) has joined #jython
[21:23] * ciziar (~textual@81-225-140-103-no12.tbcn.telia.com) Quit (Client Quit)
[21:25] * Taos (~Taos@92.20.137.251) has joined #jython
[21:29] <Taos> Hey everyone, I managed to embed a jython interprator in my java, but I was wondering how I can call methods of an instance from inside the java,
[22:02] <agronholm> read the manual...
[22:03] <agronholm> PyObject is the key
[22:03] <Taos> Ah thanks
[22:03] * Taos (~Taos@92.20.137.251) Quit (Quit: HydraIRC -> http://www.hydrairc.com <- s0 d4Mn l33t |t'z 5c4rY!)
[22:03] <agronholm> or you can use a java interface

Index

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