#jython IRC Log (v0.9)

Index

IRC Log for 2010-12-08

Timestamps are in GMT/BST.

[0:12] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Quit: enebo)
[0:39] * lopex (lopex@89-76-44-27.dynamic.chello.pl) Quit ()
[0:45] * jimbaker (~jimbaker@72.19.153.160) Quit (Ping timeout: 240 seconds)
[0:51] * mdcclv (~orion@76.15.221.252) Quit (Quit: mdcclv)
[0:59] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Quit: leaving)
[1:22] * tanner (~tanner@unaffiliated/tanner) Quit (Read error: Operation timed out)
[1:24] * tanner (~tanner@unaffiliated/tanner) has joined #jython
[1:36] * diegao (~diego@189.12.11.42) Quit (Ping timeout: 265 seconds)
[1:39] * diego (~diego@189.12.11.42) has joined #jython
[1:44] * diego (~diego@189.12.11.42) has left #jython
[1:45] * diegao (~diego@189.12.11.42) has joined #jython
[1:45] * tanner (~tanner@unaffiliated/tanner) Quit (Quit: tanner)
[2:15] * tanner (~tanner@unaffiliated/tanner) has joined #jython
[2:21] * tanner_ (~tanner@wsip-72-214-253-133.sb.sd.cox.net) has joined #jython
[2:21] * tanner_ (~tanner@wsip-72-214-253-133.sb.sd.cox.net) Quit (Changing host)
[2:21] * tanner_ (~tanner@unaffiliated/tanner) has joined #jython
[2:21] * tanner (~tanner@unaffiliated/tanner) Quit (Read error: Connection reset by peer)
[2:21] * tanner_ is now known as tanner
[2:26] * tanner_ (~tanner@unaffiliated/tanner) has joined #jython
[2:28] * tanner (~tanner@unaffiliated/tanner) Quit (Ping timeout: 272 seconds)
[2:28] * tanner_ is now known as tanner
[2:45] * headius (~headius@216.160.3.79) has joined #jython
[2:49] * njoyce (~njoyce@124-150-100-199.dyn.iinet.net.au) has joined #jython
[2:50] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[2:55] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Quit: schnarch)
[3:17] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[3:28] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[4:20] * diegao (~diego@189.12.11.42) Quit (Quit: fuizz)
[7:11] * njoyce (~njoyce@124-150-100-199.dyn.iinet.net.au) Quit (Quit: Leaving...)
[7:25] * njoyce (~njoyce@124-150-100-199.dyn.iinet.net.au) has joined #jython
[7:29] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[7:30] * njoyce (~njoyce@124-150-100-199.dyn.iinet.net.au) Quit (Ping timeout: 255 seconds)
[7:37] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Quit: Leaving.)
[8:07] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[8:16] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[8:17] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[8:33] * mcella (~mcella@212.183.177.75) has joined #jython
[8:43] * headius (~headius@216.160.3.79) has joined #jython
[8:44] * mcella (~mcella@212.183.177.75) Quit (Remote host closed the connection)
[9:14] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[10:01] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[10:02] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[10:09] * jabley_ (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[10:09] * headius (~headius@216.160.3.79) Quit (Quit: headius)
[10:11] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Ping timeout: 240 seconds)
[10:11] * jabley_ is now known as jabley
[10:21] * wmeissner (~wmeissner@C-59-100-81-204.bri.connect.net.au) has joined #jython
[10:26] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[10:26] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[10:35] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[10:59] * njoyce (~njoyce@124-150-100-199.dyn.iinet.net.au) has joined #jython
[11:01] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[11:01] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[11:02] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[11:02] * r0bby_ is now known as robbyoconnor
[11:03] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[11:06] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 260 seconds)
[11:22] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 260 seconds)
[11:42] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[11:46] * mcella (~mcella@212.183.177.75) has joined #jython
[11:50] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[11:50] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[11:55] * mcella (~mcella@212.183.177.75) Quit (Remote host closed the connection)
[12:02] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 240 seconds)
[12:06] * juneau001 (~juneau@131.225.24.113) has joined #jython
[12:07] * mcella (~mcella@212.183.177.75) has joined #jython
[12:11] * mcella (~mcella@212.183.177.75) Quit (Ping timeout: 245 seconds)
[12:15] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[12:16] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[12:28] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[12:30] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[12:31] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[12:35] * diegao (~diegao@189.83.171.251) has joined #jython
[12:52] * wmeissner (~wmeissner@C-59-100-81-204.bri.connect.net.au) Quit (Quit: wmeissner)
[12:59] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[12:59] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[13:04] * wmeissner (~wmeissner@C-59-100-81-204.bri.connect.net.au) has joined #jython
[13:08] * thijstriemstra (~thijstrie@i219160.upc-i.chello.nl) has joined #jython
[13:33] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[13:33] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[13:34] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[13:46] * adiroiban (~adiroiban@h194-54-129-79.teleson.ro) has left #jython
[14:03] * wmeissner (~wmeissner@C-59-100-81-204.bri.connect.net.au) Quit (Quit: wmeissner)
[14:10] * njoyce (~njoyce@124-150-100-199.dyn.iinet.net.au) Quit (Ping timeout: 260 seconds)
[14:31] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[14:36] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[14:42] * adiroiban (~adiroiban@h194-54-129-79.teleson.ro) has joined #jython
[14:43] * adiroiban (~adiroiban@h194-54-129-79.teleson.ro) has left #jython
[15:02] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[15:23] <pr3d4t0r> Good morning.
[15:24] * tanner (~tanner@unaffiliated/tanner) has left #jython
[15:29] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[16:10] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[16:24] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[16:47] * thobe1 (~Adium@212-162-171-110.skbbip.com) has joined #jython
[16:48] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Read error: Operation timed out)
[16:50] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) Quit (Quit: KVIrc 4.0.2 Insomnia http://www.kvirc.net/)
[16:52] * lopex (lopex@89-76-44-27.dynamic.chello.pl) has joined #jython
[16:52] * agronholm (~demigod@nblzone-211-37.nblnetworks.fi) has joined #jython
[16:57] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[17:02] <diegao> hi, there ara any way to execute jython more fast than normaly? on the command line.. it spent much time to give me the result.. =/
[17:02] <diegao> *are
[17:29] <agronholm> diegao: eh...no
[17:29] <agronholm> jython is quite slow
[17:29] <agronholm> are you sure you can't use plain python or java? both are much faster
[17:33] <diegao> I can use plain java, but I don't want, I don't like the java langage, is so complex to solve simple problems.. and i can't use only python
[17:34] <agronholm> well then you are stuck with jython
[17:34] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) Quit (Remote host closed the connection)
[17:34] <diegao> and sqlalchemy is so good, much bether than hibernate
[17:34] <diegao> *better
[17:35] <agronholm> yeah I know
[17:35] * thobe1 (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[17:35] <agronholm> there was an alternate solution to this
[17:35] <agronholm> let's see if I can dig it up
[17:35] <diegao> ok
[17:36] <agronholm> my bookmarks are failing me
[17:37] <agronholm> I know there is a python distribution that gives the ability to almost seamlessly call java stuff without involving jython
[17:39] <agronholm> I'm 100% certain I bookmarked it but I can't find it anywhere anymore
[17:40] <diegao> hmm..
[17:41] <agronholm> here: http://py4j.sourceforge.net/index.html
[17:43] <diegao> agronholm: thanks, I'm going to look this
[17:46] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[17:51] * headius (~headius@216.160.3.79) has joined #jython
[18:13] <diegao> agronholm: the idea of this project is good
[18:15] <diegao> but there aren't a community developing it and what i can see was that is only one person that develop it yet.
[18:17] <diegao> i'm the second watcher of this project in the github -> https://github.com/bartdag/py4j
[18:19] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 245 seconds)
[18:45] * enebo (~enebo@184-97-205-152.mpls.qwest.net) Quit (Quit: enebo)
[18:54] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[19:09] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[19:10] <agronholm> why is that a problem
[19:10] <agronholm> it's open source
[19:13] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[19:16] * enebo (~enebo@216-250-174-225.static.iphouse.net) has joined #jython
[19:27] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[19:44] * juneau001 (~juneau@131.225.24.113) Quit (Quit: juneau001)
[19:49] * Soteric (5f1a1b0a@gateway/web/freenode/ip.95.26.27.10) has joined #jython
[19:49] <Soteric> Hello. I have a problem.
[19:50] <Soteric> I've made some modules with the following names: com.mycompany.module.names
[19:50] <Soteric> it's worked fine in my main project
[19:50] <Soteric> Later I had to test some of these modules and copy-pasted them to test project
[19:51] <Soteric> now when I run the program it says that "mycompany" module wasn't found
[19:53] <Soteric> ImportError: No module named mycompany
[19:54] <Soteric> Though I can make
[19:54] <Soteric> import com
[19:54] <Soteric> print(dir(com))
[19:54] <Soteric> and I see mycompany in the printed tuple
[19:58] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[20:03] <diegao> Soteric: where you put those modules, there are the __init__.py?
[20:04] <Soteric> yes, they have __init__.py inside every folder. the root folder (com) is placed right near the program entry point - main.py
[20:11] <diegao> Soteric: paste here, the line of the import that have the problem
[20:14] <Soteric> from com.jnetx.amigo.helpers.ssh.sshhelper import SshHelper
[20:15] <Soteric> The error: http://pastie.org/1359944
[20:16] <Soteric> Entry point: http://pastie.org/1359946
[20:16] <Soteric> jysandbox module: http://pastie.org/1359948
[20:18] <Soteric> Tester class: http://pastie.org/1359953
[20:19] <Soteric> Worker class with import error: http://pastie.org/1359959
[20:20] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 255 seconds)
[20:21] <Soteric> Actually if I create another project, copy paste com.jnetx stuff there and execute
[20:21] <Soteric> from com.jnetx.amigo.helpers.ssh.sshhelper import SshHelper
[20:22] <Soteric> it works without errors
[20:22] <Soteric> So maybe it's something with those main, jysandbox, tester modules. They could mess the things somehow.
[20:23] <Soteric> But I can't see the problem there
[20:23] <diegao> strange... maybe can be the sequenco of your directories... maybe
[20:24] <diegao> *sequence
[20:27] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: leaving)
[20:27] <Soteric> import com
[20:27] <Soteric> print(dir(com))
[20:28] <Soteric> gives me the following
[20:28] <Soteric> ['__name__', 'google', 'jnetx', 'kenai', 'sun', 'xhaus', 'ziclix']
[20:28] <Soteric> so it can see jnetx module I guess
[20:28] <Soteric> package, not module
[20:34] * njoyce (~njoyce@124-150-103-210.dyn.iinet.net.au) has joined #jython
[20:37] <Soteric> The code with error works till tester.py
[20:37] <diegao> Soteric: try, print(dir(com.jnetx))
[20:38] <Soteric> AttributeError: 'javapackage' object has no attribute 'jnetx'
[20:38] <diegao> strange..
[20:38] <agronholm> I think a similar issue was discussed recently on the mailing list
[20:38] <agronholm> but it's a design problem related to class loading afaik
[20:39] <agronholm> you should just rename the packages
[20:39] <agronholm> the problem arises when you mix and match java/python packages
[20:39] <agronholm> so python package names starting with "com" are a bad idea
[20:39] <Soteric> :(
[20:39] <Soteric> you are killing me
[20:41] <agronholm> me?
[20:41] <Soteric> yes :) I have to rename them now
[20:42] <Soteric> to make things clear, do you mean that it conflicts with com package that already exists in jython default libs?
[20:42] <agronholm> possibly that too
[20:43] <agronholm> that's the theory anyway
[20:45] <Soteric> Thanks for your help. I'll try to play with it a little. Maybe I'll manage to shed some light on this issue
[20:47] <diegao> ^^
[21:07] <Soteric> "Developers coming from Java will often make the mistake of modeling their Jython package structure the same way that they model Java packages. Do not do this. The reverse url convention of Java is a great, we would even say a brilliant convention for Java. It works very well indeed in the world of Java where these namespaces are merged. In the Python world however, where modules and packages display the winner-take-all semantic, this
[21:07] <Soteric> http://www.jython.org/jythonbook/en/1.0/ModulesPackages.html
[21:08] <Soteric> It's a headshot
[21:09] <Soteric> *walked away for Uber Refactorer artifact*
[21:10] <agronholm> I think Python 3.3 will have such semantics too
[21:22] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[21:32] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[21:42] * lucian (~lucian@78-86-217-168.zone2.bethere.co.uk) has joined #jython
[22:09] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[22:18] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[22:19] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) has joined #jython
[22:23] * diegao (~diegao@189.83.171.251) Quit (Remote host closed the connection)
[22:28] * shanka (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[22:33] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[22:37] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[22:45] * enebo (~enebo@216-250-174-225.static.iphouse.net) Quit (Quit: enebo)
[23:31] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) Quit (Read error: Connection reset by peer)
[23:41] * enebo (~enebo@184-97-205-152.mpls.qwest.net) has joined #jython
[23:51] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[23:53] * stakkars (~tismer@77-21-85-35-dynip.superkabel.de) 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).