#jython IRC Log (v0.9)

Index

IRC Log for 2011-01-04

Timestamps are in GMT/BST.

[0:08] * bimbo (~emerino@poseidon.etesa.com.mx) has joined #jython
[0:09] <bimbo> hello, how should I add my jars to the python sys.path when creating java objects using PySystemState only? (without using PythonInterpreter)
[0:17] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[0:22] <bimbo> I've managed to call Py.setSystemState(myPySystemState); and this seems to work, but when trying to load a class from a given module using module.__getattr__(pythonClassName); it throws an Exception saying: AttributeError: 'module' object has no attribute 'MyPythonClass'
[0:53] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Read error: Connection reset by peer)
[0:53] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[1:40] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Quit: enebo)
[1:43] * quizme (~quizme@c-24-5-189-239.hsd1.ca.comcast.net) has joined #jython
[1:43] <quizme> how do u increase the memory for jython ?
[1:44] <quizme> jython -J-Xmx1024m ?
[1:44] <pjenvey> quizme - yea
[1:45] <quizme> tyu
[1:48] * lopex (lopex@89-76-44-27.dynamic.chello.pl) Quit ()
[1:49] * bimbo (~emerino@poseidon.etesa.com.mx) has left #jython
[2:33] * jimbaker (~jimbaker@64.134.26.58) has joined #jython
[3:55] * jimbaker (~jimbaker@64.134.26.58) Quit (Quit: jimbaker)
[5:08] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[5:33] * njoyce (~njoyce@124-150-107-16.dyn.iinet.net.au) Quit (Ping timeout: 276 seconds)
[6:36] * jbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[6:36] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Read error: Connection reset by peer)
[6:36] * jbaker is now known as jimbaker
[6:56] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[7:11] * quizme (~quizme@c-24-5-189-239.hsd1.ca.comcast.net) has left #jython
[7:45] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[7:50] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[8:00] * Oti (~ohumbel@210-228-221-213-pool.cable.fcom.ch) has joined #jython
[8:01] <Oti> agronholm - i am still on holidays, on a very flaky internet connection - but i'll do my best :-)
[8:02] <Oti> thanks for the ticket!
[8:31] * headius (~headius@216.160.3.79) has joined #jython
[8:31] * headius (~headius@216.160.3.79) Quit (Client Quit)
[8:43] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (*.net *.split)
[8:43] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) Quit (*.net *.split)
[8:43] * tnelson (trent@coapp/developer/tnelson) Quit (*.net *.split)
[8:43] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (*.net *.split)
[8:43] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (*.net *.split)
[8:43] * svenk (~sven@213.73.89.36) Quit (*.net *.split)
[8:47] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:47] * tnelson (trent@coapp/developer/tnelson) has joined #jython
[8:47] * clajo04_ (~clajo04_@pool-74-108-95-175.nycmny.fios.verizon.net) has joined #jython
[8:47] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[8:47] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[8:47] * svenk (~sven@213.73.89.36) has joined #jython
[8:49] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[9:54] * njoyce (~njoyce@124-150-93-135.dyn.iinet.net.au) has joined #jython
[10:00] * Oti (~ohumbel@210-228-221-213-pool.cable.fcom.ch) Quit (Quit: Oti)
[10:13] * seberg (~sebastian@134.76.0.204) has joined #jython
[10:27] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) has joined #jython
[10:35] * seberg (~sebastian@134.76.0.204) Quit (Quit: Ex-Chat)
[12:03] * njoyce (~njoyce@124-150-93-135.dyn.iinet.net.au) Quit (Ping timeout: 264 seconds)
[12:17] * juneau001 (~juneau@131.225.24.197) has joined #jython
[13:08] * seberg (~sebastian@134.76.218.252) has joined #jython
[13:10] * lucian_ (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[13:11] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Disconnected by services)
[13:11] * lucian_ is now known as lucian
[13:56] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[14:30] * seberg (~sebastian@134.76.218.252) Quit (Quit: Ex-Chat)
[15:28] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[15:28] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Read error: Connection reset by peer)
[15:29] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[15:44] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[15:49] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) Quit ()
[16:14] * stakkars_ (~tismer@89.204.153.108) has joined #jython
[16:21] * lopex (lopex@89-76-44-27.dynamic.chello.pl) has joined #jython
[16:27] * adiroiban (~adiroiban@h194-54-129-79.teleson.ro) has joined #jython
[16:35] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[17:12] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[17:26] * pr3d4t0r (~cu4cu4@varenka.cime.net) Quit (Quit: WeeChat 0.2.6)
[17:32] * stakkars_ (~tismer@89.204.153.108) Quit (Ping timeout: 240 seconds)
[17:33] * pr3d4t0r (~cu4cu4@varenka.cime.net) has joined #jython
[17:40] * stakkars_ (~tismer@89.204.153.69) has joined #jython
[17:43] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Read error: Connection reset by peer)
[17:43] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[17:49] * stakkars_ (~tismer@89.204.153.69) Quit (Quit: hasta la vista)
[18:03] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[18:15] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[19:06] * headius (~headius@216.160.3.79) has joined #jython
[19:33] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: leaving)
[19:34] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[19:58] * thijstriemstra (~thijstrie@i219160.upc-i.chello.nl) has joined #jython
[20:03] * njoyce (~njoyce@203-206-254-154.dyn.iinet.net.au) has joined #jython
[20:14] * juneau001 (~juneau@131.225.24.197) Quit (Quit: juneau001)
[20:43] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Read error: Connection reset by peer)
[20:43] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[20:56] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Quit: enebo)
[21:36] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[21:54] * Oti (~ohumbel@210-228-221-213-pool.cable.fcom.ch) has joined #jython
[22:00] * quizme (~quizme@66.43.117.226) has joined #jython
[22:01] <quizme> is there a command line option that i can put in to make jython take advantage of hotspot technology?
[22:08] <jimbaker> simply pass in the -J flag to access vm flags
[22:09] <jimbaker> quizme: like most java based technologies, tuning can be very helpful
[22:12] <quizme> jimbaker: i guess tuning is very app specific ?
[22:13] <jimbaker> quizme: it depends on what you're doing. simple apps generally don't need it.
[22:15] <jimbaker> i would recommend starting with visualvm if you do run into problems - http://openjdk.java.net/projects/visualvm/
[22:17] <quizme> jimbaker ok thanks
[22:19] <quizme> jimbaker: i want to find out how much time each function in my program spends executing.
[22:19] <jimbaker> quizme: you can use the standard python profile package for this
[22:20] <quizme> jimbaker: and my program is running on a remote linux server.
[22:20] <quizme> jimbaker oh ok
[22:20] <quizme> jimbaker: "import profile" ?
[22:21] <quizme> http://docs.python.org/library/profile.html
[22:22] <jimbaker> quizme: yes, very dated docs, but applicable
[22:22] <jimbaker> cProfile is not available, but that's just an optimized version of the profile module
[22:23] <jimbaker> (there should be a java port. it would be easy :)
[22:26] <quizme> jimbaker: thanks I'll try it.
[22:32] <quizme> how about jython --profile
[22:32] <quizme> it uses http://jiprof.sourceforge.net/
[22:35] <jimbaker> quizme: you should be able to use any java profiler. my only concern is that you will have to manage with any slight mangling of the names of methods. probably not a big deal, and easy to postprocess
[22:37] <jimbaker> there's some support for python profile in other tools, so that's one advantage. best advice - try some out, it's pretty quick to play with several :)
[22:41] <quizme> ok thanks
[22:41] <quizme> i will
[22:41] <quizme> sorry to disturb you
[22:46] <jimbaker> quizme: no problem at all, this is the right forum for these questions
[23:09] * Oti (~ohumbel@210-228-221-213-pool.cable.fcom.ch) Quit (Quit: Oti)
[23:12] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[23:39] * thijstriemstra (~thijstrie@i219160.upc-i.chello.nl) Quit (Quit: thijstriemstra)

Index

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