#jython IRC Log (v0.9)

Index

IRC Log for 2010-06-18

Timestamps are in GMT/BST.

[0:21] * jimbaker (~jbaker@174-16-125-114.hlrn.qwest.net) has joined #jython
[0:26] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[0:31] <jimbaker> i've been talking with some of the ubuntu developers (aka friends) about getting a debian package together for jython. any objections/concerns about my looking at gaining ownership of the jython debian package?
[0:31] <jimbaker> it's currently stuck on 2.1
[0:32] <Oti> jim - no absolutely no objections!
[0:32] <Oti> would be great if we knew how to to this
[0:32] <jimbaker> sorry, 2.2.1 - same difference for me:)
[0:33] <jimbaker> sounds good. i'll approach the current maintainer and see where to take this
[0:38] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[0:49] * mannaz (~mannaz@chello084113205242.2.14.vie.surfer.at) Quit (Quit: mannaz)
[1:05] <pr3d4t0r> :: yawn ::
[1:30] <jimbaker> pr3d4t0r: what's up?
[1:37] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[1:40] * jimbaker (~jbaker@174-16-125-114.hlrn.qwest.net) Quit (Quit: jimbaker)
[1:43] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[2:15] * ttmrichter (~ttmrichte@111.173.76.209) has joined #jython
[2:24] * headius (~headius@216.160.3.79) has joined #jython
[2:54] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Quit: Leaving...)
[3:18] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Quit: jabley)
[3:57] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 265 seconds)
[4:08] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[4:10] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[4:36] * brweber2_ (~bweber@ip68-100-65-167.dc.dc.cox.net) has joined #jython
[4:36] * brweber2_ (~bweber@ip68-100-65-167.dc.dc.cox.net) Quit (Client Quit)
[4:37] * stakkars (~tismer@89.204.137.98) Quit (Read error: Connection reset by peer)
[4:37] * stakkars (~tismer@89.204.137.98) has joined #jython
[6:17] * stakkars (~tismer@89.204.137.98) Quit (Read error: No route to host)
[6:18] * stakkars (~tismer@89.204.137.98) has joined #jython
[6:49] * pigletto (~quassel@109.243.195.129) has joined #jython
[7:07] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[7:45] <pr3d4t0r> pjenvey!
[7:47] <pr3d4t0r> pjenvey: If you see this: what are the plans for a Jython 2.5.2 or later release? I'm about to suggest to someone that they download the 2.5.x stable for an open source project. 2.5.1 still has that binding bug.
[7:58] * stakkars (~tismer@89.204.137.98) Quit (Read error: Connection reset by peer)
[8:00] * stakkars (~tismer@89.204.137.98) has joined #jython
[8:01] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[8:55] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 265 seconds)
[8:56] * stakkars (~tismer@89.204.137.98) Quit (Read error: Connection reset by peer)
[8:56] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[8:56] * stakkars (~tismer@89.204.137.98) has joined #jython
[9:04] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[9:11] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Remote host closed the connection)
[9:11] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[9:20] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[9:24] * stakkars_ (~tismer@89.204.137.100) has joined #jython
[9:26] * stakkars (~tismer@89.204.137.98) Quit (Ping timeout: 260 seconds)
[9:26] * stakkars_ is now known as stakkars
[9:38] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) Quit (Quit: clajo04_)
[10:38] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Read error: Connection reset by peer)
[10:38] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[10:42] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Client Quit)
[11:12] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) has joined #jython
[11:13] * Asmageddon (~asmageddo@static-22-196-112-85.radom.pilicka.pl) has joined #jython
[11:13] <Asmageddon> Hi, guys
[11:13] <Asmageddon> Anybody present here?
[11:23] <Asmageddon> I'm going afk, but I'll be gratefull if somebody explains how should I compose my python file so it compiles with jython, and how to make it work with java runtime(javaws, or what it was). Shall I pack it into *.jar file? I use linux and have got Jython 2.2.1 on java1.6.0_20. Also - does jython support pygame?
[11:27] <pr3d4t0r> Asmageddon: 1. Just write it in Python, as always.
[11:28] <pr3d4t0r> Asmageddon: 2. Put it in a .jar, and define modules/packages accordingly.
[11:28] <pr3d4t0r> Asmageddon: Don't forget to add __init__.py to your package directories before you .jar them or Jython may not see them.
[11:29] <pr3d4t0r> Asmageddon: 3. Yes, you may pack them in a .jar (see 2).
[11:30] <pr3d4t0r> Z z .
[11:31] <Asmageddon> what do you mean by define modules/packages ?
[11:31] <Asmageddon> I'm not really that experienced in python
[11:32] <Asmageddon> so you mean that I should write all the .py files normally, put them into a jar and execute with jython?
[11:34] <pr3d4t0r> Asmageddon: a) Python modules ~= Java packages.
[11:36] <Asmageddon> And does jython support pygame?
[11:36] <Asmageddon> I mean - can I compile pygame game with jython?
[11:37] <Asmageddon> also one more thing - how much(if at all) are java programs compiled with jython faster than normal python?
[11:37] <Asmageddon> As I don't know if it is worthy compiling them at all....
[11:37] <pr3d4t0r> Asmageddon: Yes, write your Python code as usual, then put it in a .jar.
[11:38] <pr3d4t0r> Asmageddon: If you run it in your file system first, your compiled PyJava .class files will be auto-generated. You can make your .jar with those too.
[11:38] <pr3d4t0r> Asmageddon: No real performance advantage doing that.
[11:38] <Asmageddon> Ah
[11:38] <Asmageddon> So I wont be doing that
[11:38] <Asmageddon> Ok, thanks for all the help
[11:38] <pr3d4t0r> c) I don't know what pygame is. If it has native code/non-Python calls, it won't work.
[11:39] <Asmageddon> However - I may later rewrite this game in java and then use some jython for name generator and other things
[11:39] <pr3d4t0r> Asmageddon: d) Programs compiled with Jython are as slow or equivalent to regular Python, and in many cases slower (pure computation).
[11:39] <Asmageddon> Ah, I hoped that jython does optimise the code so it runs as fast as java does....
[11:40] <Asmageddon> hmmm, can I use jython to run java modules from inside python?
[11:40] <Asmageddon> I could use that for faster generation of perlin noise
[11:40] <pr3d4t0r> Asmageddon: You may use Java --> Python and backward if you run your code in the Jython run-time.
[11:41] <pr3d4t0r> Asmageddon: HOWEVER - please don't do that too much. It's stupid for two reasons.
[11:41] <pr3d4t0r> Asmageddon: 1. Python and Java both have excellent libraries; if you code in Python, use the Python classes/objects. Ditto for Java. You add unnecessary compatibility issues and complexity by criss-crossing them.
[11:41] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[11:42] <pr3d4t0r> Asmageddon: 2. Mixing and matching Jython vs. Java creates class loader issues that may eventually hose your app. Ditto for GC.
[11:43] <Asmageddon> Mhm
[11:43] <Asmageddon> And also one more thing - is it possible to use external C/C++ compiled libraries in python?
[11:43] <Asmageddon> I really could use faster generation of perlin noise....
[11:43] <pr3d4t0r> Asmageddon: Python - yes. It was designed for that.
[11:44] <pr3d4t0r> Asmageddon: Jython - expect JNI tap dancing.
[11:44] <Asmageddon> How can I do that?
[11:44] <Asmageddon> what is JNI tap dancing? ^^'
[11:44] <pr3d4t0r> Asmageddon: JNI == Java Native Interface.
[11:44] <Asmageddon> And how can I use external C/C++ modules in python?
[11:44] <pr3d4t0r> Asmageddon: An extra layer of crap that you need to involve in running native code from a Python program running in a Jython run-time on a JVM.
[11:44] <Asmageddon> shall I compile them into .so .dll or something?
[11:45] <pr3d4t0r> Asmageddon: Compile what?
[11:45] <Asmageddon> the C/C++ code
[11:46] <Asmageddon> so I can use it as a module in python
[11:49] <pr3d4t0r> Asmageddon: Yeah. Go google JNI for Java and check this out: http://docs.python.org/extending/extending.html
[11:49] <Asmageddon> Nah, I don't want to use java/jython right now, that is purely python question
[11:49] <Asmageddon> ahh, it is python docs, ok, sorry
[11:49] * pr3d4t0r smacks Asmageddon.
[11:49] * Asmageddon dies
[11:52] <Asmageddon> Is there any short version of this tutorial?
[11:52] <Asmageddon> ^^
[11:53] <pr3d4t0r> Asmageddon: That's the simplest one out there.
[11:53] <Asmageddon> Well, guess I'll have to read it whole
[11:53] <Asmageddon> I can still consider myself lucky - I even wrote a game with procedurally generated infinite world without reading a single tutorial
[11:54] <Asmageddon> nor C/C++, nor python one
[11:57] <pr3d4t0r> Asmageddon: You're in the wrong business if you don't like to read.
[11:57] <Asmageddon> It's the opposite - I love to read
[11:58] <Asmageddon> However english is not my native language and I sometimes have a bit of trouble with specialistic tutorials
[11:58] <Asmageddon> Not that I don't get it, but the reading is a bit slower
[11:58] <pr3d4t0r> Asmageddon: Heh.
[11:58] <pr3d4t0r> Asmageddon: Where in Poland?
[11:58] <Asmageddon> I prefer when somebody explains only as much as neccesary with simple english
[11:58] <Asmageddon> did you check my ip? :p
[11:58] <Asmageddon> yes
[11:59] <Asmageddon> Ahh, you mean what city?
[11:59] <pr3d4t0r> Asmageddon: Yes
[11:59] <Asmageddon> I live in a small village near Radom
[11:59] <pr3d4t0r> Asmageddon: Ah.
[11:59] <Asmageddon> It's called Augustów
[11:59] <pr3d4t0r> Asmageddon: I was there 3 weeks ago, in Poznan.
[11:59] <Asmageddon> Right next to Młodocin Mniejszy
[11:59] <Asmageddon> And how it was?
[12:00] <pr3d4t0r> Asmageddon: Awezome.
[12:00] <pr3d4t0r> Asmageddon: :)
[12:00] <Asmageddon> Really?
[12:00] <Asmageddon> And where do you live?
[12:00] <Asmageddon> heh, I guess that any kind of travel is kind of awesome. Unless it's your 100th time :p
[12:01] <pr3d4t0r> Asmageddon: San Francisco.
[12:01] <Asmageddon> So you live in usa?
[12:01] <pr3d4t0r> Asmageddon: I was in Dublin last week.
[12:01] <pr3d4t0r> Asmageddon: About half of the time :)
[12:02] <Asmageddon> Ahh, Dublin lies in poland, right?
[12:02] <pr3d4t0r> Asmageddon: Heh - no.
[12:02] <Asmageddon> or is it german city?
[12:02] <Asmageddon> Well, sounds polish (a bit):p
[12:02] <pr3d4t0r> Asmageddon: I go to Europe, on average, once/week for about 8 months of the year.
[12:02] <Asmageddon> Why so?
[12:02] <pr3d4t0r> Er, once/month
[12:02] <Asmageddon> Doesn't plane flight cost quite much?
[12:04] <pr3d4t0r> Asmageddon: Yeah, a bit.
[12:05] <Asmageddon> So why do you fly to europe so often?
[12:05] <Asmageddon> Is it for bussines?
[12:05] <Asmageddon> or just for fun?
[12:06] <pr3d4t0r> Asmageddon: Yes ;)
[12:06] <pr3d4t0r> Asmageddon: I'm going to bed. It's 0300 here.
[12:06] <Asmageddon> Yes, for fun, or yes for bussines?
[12:07] <Asmageddon> ok, good night, for me it's 12:06, so it feels strange to say it :p
[12:07] <pr3d4t0r> Asmageddon: "Yes" <-- both ;)
[12:07] <pr3d4t0r> Asmageddon: http://eugeneciurana.com/galereya/view_album.php?set_albumName=Berlin2010 - 4 weeks ago.
[12:07] <pr3d4t0r> Asmageddon: http://eugeneciurana.com/galereya/view_album.php?set_albumName=GeeCON2010 - 3 weeks ago.
[12:08] <Asmageddon> no idea why, but that phot of monitor reminded me of ReactOS :p
[12:08] <Asmageddon> which being clone of Windows NT - upholded tradition, and crashed while installing on vbox :>
[12:09] <pr3d4t0r> Heh.
[12:09] <pr3d4t0r> Good nite!
[12:10] <Asmageddon> Good night :p
[12:10] <Asmageddon> In polish, "dobranoc!"
[12:11] <Asmageddon> http://www.ivona.com/?tk=yuCM0Hk3
[12:21] * Asmageddon (~asmageddo@static-22-196-112-85.radom.pilicka.pl) has left #jython
[13:05] * juneau001 (~juneau@131.225.24.72) has joined #jython
[13:48] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[13:50] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[14:43] * pigletto (~quassel@109.243.195.129) Quit (Remote host closed the connection)
[15:39] * Kami_ (~kami@kamislo.broker.freenet6.net) Quit (Read error: Operation timed out)
[15:42] * Kami_ (~kami@kamislo.broker.freenet6.net) has joined #jython
[15:59] * lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[16:01] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 276 seconds)
[16:03] * skay (~skay@pat1.orbitz.net) has joined #jython
[16:14] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[16:37] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) has joined #jython
[16:41] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[17:28] * lheuer (~heuer@unaffiliated/lheuer) Quit (Quit: Closing Time)
[17:41] * headius (~headius@216.160.3.79) has joined #jython
[17:53] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[18:12] * lucian_ is now known as lucian
[18:17] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[18:20] * clutch__ (44ffdfa2@gateway/web/freenode/ip.68.255.223.162) has joined #jython
[18:39] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[18:41] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) Quit (Quit: Lähdössä)
[18:44] * jimbaker (~jbaker@64.134.151.188) has joined #jython
[18:46] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) has joined #jython
[19:02] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[19:02] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[19:03] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Client Quit)
[19:09] * lucian_ (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[19:09] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 258 seconds)
[19:27] * jimbaker (~jbaker@64.134.151.188) Quit (Quit: jimbaker)
[19:43] * lucian_ is now known as lucian
[19:56] * ttmrichter (~ttmrichte@111.173.76.209) Quit (Ping timeout: 265 seconds)
[20:17] * headius (~headius@216-250-174-225.static.iphouse.net) has joined #jython
[20:18] * jimbaker (~jbaker@8.18.123.6) has joined #jython
[20:19] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython
[20:43] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) Quit (Quit: jabley)
[21:05] * stakkars (~tismer@89.204.137.100) Quit (Read error: No route to host)
[21:12] * stakkars (~tismer@89.204.137.100) has joined #jython
[21:21] * jimbaker (~jbaker@8.18.123.6) Quit (Quit: jimbaker)
[21:23] * juneau001 (~juneau@131.225.24.72) Quit (Quit: juneau001)
[21:30] * stakkars (~tismer@89.204.137.100) Quit (Read error: Connection reset by peer)
[21:37] * stakkars (~tismer@89.204.137.100) has joined #jython
[22:31] * skay (~skay@pat1.orbitz.net) Quit (Quit: skay)
[22:33] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[22:45] * stakkars (~tismer@89.204.137.100) Quit (Read error: Connection reset by peer)
[22:45] * stakkars (~tismer@89.204.137.100) has joined #jython
[23:08] * sabi (~nicholas@fortinbras.zoiks.net) Quit (Read error: Operation timed out)
[23:10] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[23:37] * clutch__ (44ffdfa2@gateway/web/freenode/ip.68.255.223.162) Quit (Ping timeout: 252 seconds)
[23:44] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) Quit (Quit: Lähdössä)
[23:46] * agronholm (agronholm@nblzone-211-17.nblnetworks.fi) has joined #jython
[23:56] * headius (~headius@216-250-174-225.static.iphouse.net) Quit (Quit: headius)
[23:58] * jabley (~jabley@cpc1-farn4-0-0-cust318.glfd.cable.ntl.com) has joined #jython

Index

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