#jython IRC Log (v0.9)

Index

IRC Log for 2010-11-02

Timestamps are in GMT/BST.

[0:05] * enebo (~enebo@184-97-220-196.mpls.qwest.net) has joined #jython
[0:06] * lucian_ (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[0:13] * seberg (~sebastian@vpn-3029.gwdg.de) Quit (Quit: Ex-Chat)
[0:26] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[0:45] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[1:17] * enebo (~enebo@184-97-220-196.mpls.qwest.net) Quit (Quit: enebo)
[1:20] * juneau001 (~juneau@pool-72-69-197-59.chi01.dsl-w.verizon.net) has joined #jython
[1:26] * skay (~Adium@c-71-239-171-114.hsd1.il.comcast.net) has joined #jython
[1:41] * enebo (~enebo@184-97-220-196.mpls.qwest.net) has joined #jython
[2:07] * adiroiban (~adiroiban@89.137.108.176) Quit (Ping timeout: 255 seconds)
[2:17] * thobe (~Adium@c83-249-247-186.bredband.comhem.se) Quit (Quit: Leaving.)
[2:31] * skay (~Adium@c-71-239-171-114.hsd1.il.comcast.net) Quit (Quit: Leaving.)
[2:34] * musically_ut1 (~utkarsh@FLH9Aab022.nra.mesh.ad.jp) has joined #jython
[2:37] * sgithens (~sgithens@cpe-24-166-24-35.indy.res.rr.com) Quit (Ping timeout: 265 seconds)
[3:05] * sgithens (~sgithens@cpe-24-166-24-35.indy.res.rr.com) has joined #jython
[4:08] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[4:37] <musically_ut1> Quick question: What is the correct way of adding a folder (in particular the python v2.6 'dist-packages' folder) to sys.path whenever jython starts?
[4:39] <jimbaker> musically_ut1: you mean site-packages?
[4:39] <musically_ut1> jimbaker: Err ... '/usr/local/lib/python2.6/dist-packages'
[4:40] <jimbaker> fwiw, 2.6 is in general not going to work
[4:40] <musically_ut1> jimbaker: The package I want fortunately works.
[4:40] <musically_ut1> If I manually add it to sys.path, my programs compile.
[4:41] <musically_ut1> What is the correct way of doing it in jython? Setting $PYTHONPATH seems to not work?
[4:41] <jimbaker> we have JYTHONPATH
[4:41] <jimbaker> in general, we tend to recommend virtualenv for this sort of thing, although i don't know dist-packages
[4:41] <jimbaker> (quick perusal suggests it relates to debian and perhaps other packaging)
[4:42] * musically_ut1 is trying JYTHONPATH
[4:46] <musically_ut1> jimbaker: Thanks! Worked!
[4:46] <jimbaker> cool, glad to hear that
[5:10] * mhagger (~mhagger@p54BED5AD.dip.t-dialin.net) has joined #jython
[5:48] * mhagger (~mhagger@p54BED5AD.dip.t-dialin.net) has left #jython
[6:18] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 252 seconds)
[6:31] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[7:04] * raymondh (~raymond@76.89.181.64) Quit (Ping timeout: 240 seconds)
[7:49] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[7:50] * musically_ut1 (~utkarsh@FLH9Aab022.nra.mesh.ad.jp) has left #jython
[8:05] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[8:49] * seberg (~sebastian@vpn-3012.gwdg.de) has joined #jython
[9:28] * seberg (~sebastian@vpn-3012.gwdg.de) Quit (Ping timeout: 250 seconds)
[9:41] * seberg (~sebastian@vpn-3013.gwdg.de) has joined #jython
[10:02] * juneau001 (~juneau@pool-72-69-197-59.chi01.dsl-w.verizon.net) Quit (Quit: juneau001)
[10:21] * pr3d4t0r (~cu4cu4@varenka.cime.net) Quit (Ping timeout: 252 seconds)
[10:52] * seberg (~sebastian@vpn-3013.gwdg.de) Quit (Ping timeout: 252 seconds)
[11:00] * adiroiban (~adiroiban@89.137.108.176) has joined #jython
[11:11] * Imek (~joe@host-195-188-251-108.reversezone.co.uk) has joined #jython
[11:14] * juneau001 (~juneau@FESS-116326-2433361-dp.dhcp.fnal.gov) has joined #jython
[11:22] * juneau001_ (~juneau@FESS-116326.dhcp.fnal.gov) has joined #jython
[11:22] * juneau001_ (~juneau@FESS-116326.dhcp.fnal.gov) Quit (Remote host closed the connection)
[11:22] * juneau001 (~juneau@FESS-116326-2433361-dp.dhcp.fnal.gov) Quit (Read error: Connection reset by peer)
[11:23] * juneau001 (~juneau@131.225.24.113) has joined #jython
[11:28] * adiroiban (~adiroiban@89.137.108.176) Quit (Remote host closed the connection)
[11:48] * adiroiban (~adiroiban@89.137.108.176) has joined #jython
[12:31] * Juneau001_ (~juneau@Joshs-iPad.dhcp.fnal.gov) has joined #jython
[12:42] * pr3d4t0r (~cu4cu4@varenka.cime.net) has joined #jython
[12:45] * seberg (~sebastian@vpn-3071.gwdg.de) has joined #jython
[12:50] * thobe (~Adium@83.249.247.186) has joined #jython
[12:53] * sgithens (~sgithens@cpe-24-166-24-35.indy.res.rr.com) Quit (Ping timeout: 245 seconds)
[12:57] * Juneau001_ (~juneau@Joshs-iPad.dhcp.fnal.gov) Quit (Remote host closed the connection)
[12:58] * Juneau001_ (~juneau@Joshs-iPad.dhcp.fnal.gov) has joined #jython
[13:05] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) Quit (Remote host closed the connection)
[13:27] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[13:32] * sgithens (~sgithens@149-166-133-228.dhcp-in.iupui.edu) has joined #jython
[13:34] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[13:37] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Ping timeout: 264 seconds)
[13:37] * jabley_ is now known as jabley
[13:58] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[14:00] * Juneau001_ (~juneau@Joshs-iPad.dhcp.fnal.gov) Quit (Quit: Colloquy for iPad - http://colloquy.mobi)
[14:00] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Ping timeout: 252 seconds)
[14:00] * jabley_ is now known as jabley
[14:10] * seberg (~sebastian@vpn-3071.gwdg.de) Quit (Ping timeout: 255 seconds)
[14:12] * seberg (~sebastian@vpn-3071.gwdg.de) has joined #jython
[14:25] * enebo (~enebo@184-97-220-196.mpls.qwest.net) Quit (Quit: enebo)
[14:31] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[14:41] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[14:49] * pr3d4t0r is now known as pr3d4k4t
[15:00] * pr3d4k4t is now known as pr3d4t0r
[15:03] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Ping timeout: 240 seconds)
[15:14] * adiroiban (~adiroiban@89.137.108.176) Quit (Remote host closed the connection)
[15:19] * adiroiban (~adiroiban@89.137.108.176) has joined #jython
[15:19] * adiroiban (~adiroiban@89.137.108.176) Quit (Client Quit)
[15:20] * adiroiban (~adiroiban@89.137.108.176) has joined #jython
[15:30] * skay (~Adium@pat1.orbitz.net) has joined #jython
[15:39] * skay (~Adium@pat1.orbitz.net) Quit (Ping timeout: 240 seconds)
[15:51] * pr3d4t0r (~cu4cu4@varenka.cime.net) Quit (Quit: WeeChat 0.2.6)
[15:58] * pr3d4t0r (~cu4cu4@varenka.cime.net) has joined #jython
[16:05] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[16:06] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[16:07] * skay (~Adium@pat1.orbitz.net) has joined #jython
[16:10] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Ping timeout: 250 seconds)
[16:17] * jcp (~jw@bzflag/contributor/javawizard2539) Quit (Ping timeout: 255 seconds)
[16:17] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 240 seconds)
[16:23] * jcp (~jw@bzflag/contributor/javawizard2539) has joined #jython
[16:24] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) has joined #jython
[16:27] * skay (~Adium@pat1.orbitz.net) Quit (Read error: Connection reset by peer)
[16:27] * skay1 (~Adium@pat1.orbitz.net) has joined #jython
[16:28] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Ping timeout: 265 seconds)
[16:28] * skay1 (~Adium@pat1.orbitz.net) Quit (Client Quit)
[16:29] * skay (~Adium@pat1.orbitz.net) has joined #jython
[16:30] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[16:40] * shanka (~shashank@ucb-np1-20.colorado.edu) has joined #jython
[16:40] * skay (~Adium@pat1.orbitz.net) Quit (Read error: Connection reset by peer)
[16:40] * skay (~Adium@pat1.orbitz.net) has joined #jython
[16:46] * sgithens (~sgithens@149-166-133-228.dhcp-in.iupui.edu) Quit (Ping timeout: 252 seconds)
[16:50] * headius (~headius@216.160.3.79) has joined #jython
[16:51] * Juneau001_ (~juneau@Joshs-iPad.dhcp.fnal.gov) has joined #jython
[17:12] * seberg (~sebastian@vpn-3071.gwdg.de) Quit (Quit: Ex-Chat)
[17:12] * Juneau001__ (~juneau@Joshs-iPad.dhcp.fnal.gov) has joined #jython
[17:12] * Juneau001_ (~juneau@Joshs-iPad.dhcp.fnal.gov) Quit (Read error: Connection reset by peer)
[17:37] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[17:50] * Juneau001__ (~juneau@Joshs-iPad.dhcp.fnal.gov) Quit (Quit: Colloquy for iPad - http://colloquy.mobi)
[17:55] * shanka (~shashank@ucb-np1-20.colorado.edu) Quit (Ping timeout: 240 seconds)
[18:01] * sgithens (~sgithens@2001:18e8:3:443:216:41ff:fe58:c460) has joined #jython
[18:20] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Ping timeout: 240 seconds)
[18:24] * Imek (~joe@host-195-188-251-108.reversezone.co.uk) Quit (Quit: Good night, and have a pleasant tomorrow.)
[18:37] * thobe (~Adium@83.249.247.186) Quit (Quit: Leaving.)
[18:37] * thobe (~Adium@83.249.247.186) has joined #jython
[18:45] * raymondh (~raymond@76.89.181.64) has joined #jython
[19:07] * juneau001 (~juneau@131.225.24.113) Quit (Quit: juneau001)
[19:14] * Oti (~ohumbel@adsl-62-167-42-68.adslplus.ch) has joined #jython
[19:16] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[19:18] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[20:02] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[20:26] * jimbaker (~jimbaker@64.134.11.216) has joined #jython
[20:36] * juneau001 (~juneau@pool-72-69-197-59.chi01.dsl-w.verizon.net) has joined #jython
[20:45] * sgithens (~sgithens@2001:18e8:3:443:216:41ff:fe58:c460) Quit (Read error: Operation timed out)
[20:56] <jimbaker> shanka: nice meeting with you and jeremysiek earlier today. the recursive generators code i was mentioning is in Lib/test/test_generators.py
[20:57] <jimbaker> unfortunately it's in doctest format, which requires a little bit of scraping, but has the upside of being literate
[20:58] <jimbaker> so for example, take a look at the union-find, n-queens, knights tour - all good examples of what can be done w/ recursive generators
[21:01] <jimbaker> you will also want to take a look at execnet to manage cpython so you can generate python bytecode in your tests; see http://codespeak.net/execnet/example/test_info.html#remote-exec-a-module-avoiding-inlined-source-part-ii, pretty nice api - because it's gpl, we can't have it find its way into jython's actual build, but it will be useful for bootstrapping to the python bytecode compiler
[21:01] <jimbaker> as always, do tell me if you have any other issues. i'm very excited to see your progress!
[21:07] <shanka> jimbaker: thanks for the tip on execnet
[21:07] <shanka> looking into it now. Will get my hands dirty today
[21:08] <jimbaker> sounds good. can't wait until you get pystone running. it's not the best test, but probably reasonable for testing the interpreter loop performance
[21:08] <jimbaker> also it doesn't require all bytecodes to be done
[21:10] <jimbaker> so that's in CPythonLib/test/pystone.py - i do recommend you run that with much more than its default # of iterations
[21:10] <jimbaker> maybe 1M or 500K, just try it out in that range and verify you have the jvm properly warmed up
[21:12] <jimbaker> pystone might also be interesting in terms of trying out the new azul pauseless gc that was released last month, since pystone can reasonably exercise an obj allocator
[21:12] <jimbaker> shanka: that's probably enough to play with for now :)
[21:13] * jimbaker (~jimbaker@64.134.11.216) Quit (Quit: jimbaker)
[21:15] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[21:23] * stakkars (~tismer@i577B6A81.versanet.de) Quit (Ping timeout: 245 seconds)
[21:24] * enebo (~enebo@64.1.210.2.ptr.us.xo.net) has joined #jython
[21:28] * stakkars (~tismer@i577B564F.versanet.de) has joined #jython
[21:32] * skay (~Adium@pat1.orbitz.net) has left #jython
[21:42] * jimbaker (~jimbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[21:53] * fwierzbicki (~frank@sccc-66-78-236-237.smartcity.com) has joined #jython
[22:01] * sgithens (~sgithens@cpe-24-166-24-35.indy.res.rr.com) has joined #jython
[22:17] * sgithens (~sgithens@cpe-24-166-24-35.indy.res.rr.com) Quit (Ping timeout: 276 seconds)
[22:27] * enebo (~enebo@64.1.210.2.ptr.us.xo.net) Quit (Quit: enebo)
[22:37] * seberg (~sebastian@89.204.137.7) has joined #jython
[22:53] * sgithens (~sgithens@adsl-76-252-59-111.dsl.ipltin.sbcglobal.net) has joined #jython
[22:53] * enebo (~enebo@enginey-9.border1.sfo002.pnap.net) has joined #jython
[23:22] * seberg (~sebastian@89.204.137.7) Quit (Quit: Ex-Chat)
[23:25] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[23:35] * fwierzbicki (~frank@sccc-66-78-236-237.smartcity.com) Quit (Quit: Ex-Chat)
[23:53] * enebo (~enebo@enginey-9.border1.sfo002.pnap.net) Quit (Quit: enebo)
[23:58] * sgithens (~sgithens@adsl-76-252-59-111.dsl.ipltin.sbcglobal.net) Quit (Ping timeout: 272 seconds)

Index

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