#jython IRC Log (v0.9)

Index

IRC Log for 2013-06-03

Timestamps are in GMT/BST.

[1:12] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[1:32] * lheuer1 (~Adium@blfd-4d083734.pool.mediaWays.net) has joined #jython
[1:35] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 276 seconds)
[2:48] * topi` (foobar@lima-64.srv.hosting.fi) Quit (Quit: Lost terminal)
[5:03] * Juneau001 (~Juneau@50.44.59.187) has joined #jython
[5:05] * Juneau001 (~Juneau@50.44.59.187) Quit (Client Quit)
[5:27] * lheuer1 (~Adium@blfd-4d083734.pool.mediaWays.net) Quit (Quit: Leaving.)
[5:48] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[5:50] * lheuer (~Adium@unaffiliated/lheuer) Quit (Client Quit)
[5:59] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[5:59] * Oti (~ohumbel@adsl-178-39-164-73.adslplus.ch) Quit (Quit: Oti)
[7:15] * purplefox (~purplefox@80-42-87-28.dynamic.dsl.as9105.com) has joined #jython
[7:28] * rmannibucau (~bar@2a01:20:6::14) has joined #jython
[7:28] <rmannibucau> hi
[7:29] <rmannibucau> i'm trying to call some python from java (as you already guessed ;) and i wonder how i can pass a java list to my jython script (to replace argv)
[7:29] <agronholm> rmannibucau: create a PyList or whatever it was called
[7:29] <agronholm> and pass that
[7:30] <agronholm> you could also have jython adapt the type...but I forget how
[7:30] <rmannibucau> agronholm, thanks :), will try
[7:40] <rmannibucau> agronholm, seems perfect
[7:40] <rmannibucau> why java List are not wrapped by default?
[7:41] <rmannibucau> i mean java will pass java.util.List, python will see a PyList
[7:41] <agronholm> they are if you use them from Python
[7:41] <rmannibucau> would be more intuitive and loosely coupled
[7:41] <rmannibucau> hmm
[7:41] <agronholm> but due to clumsy java semantics you have to do it like that
[7:41] <rmannibucau> i'm using jsr 223
[7:41] <rmannibucau> (ScriptEngine)
[7:41] <agronholm> I've never used that myself
[7:41] <rmannibucau> oki
[7:45] <rmannibucau> hmm, jython automatically creates argv[0]?
[7:45] <agronholm> not sure what you're talking about
[7:45] <rmannibucau> i call a main
[7:45] <rmannibucau> my list = list of main args
[7:45] <rmannibucau> in python the first arg is the script name
[7:45] <agronholm> argv[0] is usually the executable name
[7:45] <agronholm> in any environment, even C apps
[7:45] <rmannibucau> so i "mocked" it using foo.py
[7:46] <rmannibucau> in java that's nto the case for instance
[7:46] <rmannibucau> then in my python main it seems the first item was added by jython
[7:46] <rmannibucau> (not that important, just surprising)
[8:07] * msavy (~msavy@redhat/jboss/msavy) has joined #jython
[8:13] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: Ex??re)
[8:21] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) has joined #jython
[8:21] * synasius (~syn@host19-66-static.243-95-b.business.telecomitalia.it) has left #jython
[8:50] * purplefox (~purplefox@80-42-87-28.dynamic.dsl.as9105.com) Quit (Quit: Leaving)
[9:23] <rmannibucau> guys, what's the best way to get it https://github.com/rmannibucau/landslide-maven-plugin/tree/master/src/main/resources
[9:23] <rmannibucau> i basically imported all python deps i need
[9:24] <rmannibucau> what's the common way to avoid this kind of fork?
[9:24] <rmannibucau> asking project to package it in jars?
[9:37] * purplefox (~purplefox@80-42-87-28.dynamic.dsl.as9105.com) has joined #jython
[10:08] * [Arfreve1] (~Arfrever@minotaur.apache.org) has joined #jython
[10:14] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Read error: Connection reset by peer)
[10:30] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[11:01] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[11:02] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[11:02] * Juneau001 (~Juneau@131.225.24.178) has joined #jython
[11:08] <rmannibucau> about packaging using mvn scm plugin works gret pu_lling sources from a tag on github
[11:17] * Juneau001 (~Juneau@131.225.24.178) Quit (Quit: Juneau001)
[13:14] * Juneau001 (~Juneau@131.225.24.178) has joined #jython
[13:15] * Juneau001 (~Juneau@131.225.24.178) Quit (Client Quit)
[13:25] * [Arfreve1] (~Arfrever@minotaur.apache.org) Quit (Remote host closed the connection)
[13:42] * purplefox (~purplefox@80-42-87-28.dynamic.dsl.as9105.com) Quit (Quit: Leaving)
[15:35] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[16:30] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[16:38] * rmannibucau (~bar@2a01:20:6::14) Quit (Quit: Quitte)
[19:38] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[20:34] * clajo04 (~clajo04@pool-108-46-137-135.nycmny.fios.verizon.net) has joined #jython
[22:32] * agronholm (~agronholm@2001:1bc8:102:6f29:5c93:d106:775c:28d9) Quit (Ping timeout: 264 seconds)
[22:37] * agronholm (~agronholm@2001:1bc8:102:6f29:d8bd:2677:7744:dd3f) has joined #jython
[22:37] * ChanServ sets mode +o agronholm
[23:05] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Read error: Operation timed out)
[23:40] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[23:46] * msavy (~msavy@redhat/jboss/msavy) Quit (Remote host closed the connection)

Index

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