#jython IRC Log (v0.9)

Index

IRC Log for 2011-04-27

Timestamps are in GMT/BST.

[1:00] <pr3d4t0r> slestak: Sure.
[1:46] <pjenvey> hrmm we need some hg test commits
[1:46] <pjenvey> just want some folks to try it out to make sure nothing is insane
[1:47] <pjenvey> Oti - think we still need a public key for you, as well
[1:47] <pjenvey> just commit anything, just to go through the paces, i'll reset it all when we finally switch
[1:48] * chi_Wubbie_Baby_ (~chi_Wubbi@212.24.38.183) Quit (Remote host closed the connection)
[2:02] * lopex (lopex@84-10-213-252.dynamic.chello.pl) Quit ()
[2:06] * shashank (~shashank@ucb-np2-66.colorado.edu) Quit (Ping timeout: 240 seconds)
[2:17] * Curd_Pututie (~Curd_Putu@212.24.38.182) Quit (Remote host closed the connection)
[2:46] <juneau001> pjenvey: I will get a test commit done tomorrow, sorry for the delay
[2:52] <juneau001> pjenvey: cloning now, keys working fine
[2:57] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[3:13] <juneau001> pjenvey: I am not able to pull the entire test repo...I receive the following error ->
[3:13] <juneau001> abort: repository [svn] https://svn.python.org/projects/python/branches/release26-maint/Lib/ not found!
[3:13] <juneau001> I will keep trying in case something has gone awry on my end
[3:20] <pjenvey> juneau001 - does svn co of the same url work?
[3:20] <pjenvey> also what version of hg do you have
[3:28] * gqlewis (~gqlewis@h246.70.82.166.dynamic.ip.windstream.net) Quit (Quit: gqlewis)
[3:34] <juneau001> pjenvey: Mercurial Distributed SCM (version 1.3.1)
[3:35] <juneau001> I get this msg when trying: svn checkout http://hg.python.org/jython -> svn: XML data was not well-formed
[3:35] * gqlewis (~gqlewis@h246.70.82.166.dynamic.ip.windstream.net) has joined #jython
[3:35] <agronholm> 1.3.1? wow that' OLD
[3:35] <juneau001> very old I guess
[3:36] <juneau001> should update
[3:36] * gqlewis (~gqlewis@h246.70.82.166.dynamic.ip.windstream.net) Quit (Client Quit)
[3:36] <agronholm> I thought my 1.6.1 was old when I upgrades to 1.8.1
[3:36] <agronholm> -s+d
[3:36] <juneau001> I will update and try again
[3:49] <juneau001> updated Mercurial Distributed SCM (version 1.8.2+20110401)
[3:54] <juneau001> pjenvey agronholm: that did it...my hg was too old...working fine now
[3:54] <juneau001> thanks
[3:58] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Ping timeout: 240 seconds)
[4:16] * pejovica (~pirke@77-46-234-190.dynamic.isp.telekom.rs) has joined #jython
[4:18] * shashank (~shashank@ucb-np2-66.colorado.edu) has joined #jython
[5:25] * pejovica (~pirke@77-46-234-190.dynamic.isp.telekom.rs) has left #jython
[6:26] * shashank (~shashank@ucb-np2-66.colorado.edu) Quit (Ping timeout: 258 seconds)
[6:40] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) has joined #jython
[6:49] * shashank (~shashank@c-98-245-87-8.hsd1.co.comcast.net) Quit (Quit: Leaving.)
[6:52] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[6:57] * kilon (~chatzilla@adsl-70.79.107.24.tellas.gr) has joined #jython
[7:07] * kilon (~chatzilla@adsl-70.79.107.24.tellas.gr) Quit (Quit: ChatZilla 0.9.86.1 [Firefox 4.0/20110318052756])
[7:19] <pjenvey> juneau001, agronholm - good good
[7:21] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[7:21] <ohumbel> pjenvey - i'll try in a few hours, sorry for the delay
[7:22] <agronholm> ohumbel: any progress on the maven front?
[7:24] <ohumbel> agronholm - not yet, my next trial will be to copy the files by hand and try to succeed the build
[7:29] * kilon (~chatzilla@adsl-70.79.107.24.tellas.gr) has joined #jython
[7:58] * howlymowly (~quassel@tubsat.fb12.tu-berlin.de) has joined #jython
[8:20] * kilon (~chatzilla@adsl-70.79.107.24.tellas.gr) Quit (Ping timeout: 246 seconds)
[8:29] * kilon (~kilon@79.107.24.70) has joined #jython
[8:30] * howlymowly (~quassel@tubsat.fb12.tu-berlin.de) Quit (Remote host closed the connection)
[8:40] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[9:08] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) has joined #jython
[9:56] * kilon (~kilon@79.107.24.70) Quit (Quit: Leaving)
[10:07] * kilon (~kilon@adsl-70.79.107.24.tellas.gr) has joined #jython
[10:29] * juneau001 (~juneau@50.44.41.15) Quit (Quit: juneau001)
[10:33] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) has joined #jython
[11:00] * howlymowly (~quassel@tubsat.fb12.tu-berlin.de) has joined #jython
[11:06] * howlymowly (~quassel@tubsat.fb12.tu-berlin.de) Quit (Remote host closed the connection)
[11:11] * juneau001 (~juneau@131.225.24.148) has joined #jython
[11:20] <juneau001> pjenvey: Test commit was successful
[11:49] * kilon (~kilon@adsl-70.79.107.24.tellas.gr) Quit (Quit: Leaving)
[11:54] * thobe1 (~Adium@212-162-171-110.skbbip.com) has joined #jython
[11:57] * Oti (~ohumbel@adsl-89-217-151-162.adslplus.ch) Quit (Quit: Oti)
[11:58] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Ping timeout: 240 seconds)
[12:02] * juneau001_ (~juneau@FESS-116326.dhcp.fnal.gov) has joined #jython
[12:06] * juneau001 (~juneau@131.225.24.148) Quit (Ping timeout: 258 seconds)
[12:06] * juneau001_ is now known as juneau001
[12:08] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) Quit (Quit: jabley)
[13:00] * thobe1 (~Adium@212-162-171-110.skbbip.com) Quit (Ping timeout: 250 seconds)
[13:04] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) has joined #jython
[13:06] * juneau001 (~juneau@FESS-116326.dhcp.fnal.gov) Quit (Remote host closed the connection)
[13:06] * juneau001 (~juneau@fess-116326.dhcp.fnal.gov) has joined #jython
[13:06] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[13:50] * akitada (~user@unaffiliated/akitada) has joined #jython
[13:53] <akitada> How can I declare a reference to a Java's abstract class in Jython?
[14:08] <agronholm> akitada: declare? reference?
[14:10] <agronholm> explain please
[14:12] <akitada> In Java, "SomeAbstractDataType var = new ClassImplementingAbstract;"
[14:12] <agronholm> you don't declare types in Python
[14:12] <agronholm> as you should know
[14:12] <akitada> Yes, I know.
[14:12] <agronholm> why ask then
[14:13] <akitada> My question was how can I translate code as above into Jyton.
[14:13] <agronholm> var = ClassImplementingAbstract()
[14:15] <akitada> That's what I did and it failed with "can't instantiate abstract"
[14:15] <agronholm> are you trying to instantiate an abstract class then?
[14:16] <agronholm> I thought you were talking about a class that _implements_ that abstract class
[14:16] <agronholm> those you can instantiate just fine
[14:17] <akitada> Sorry, let me rephrase that.
[14:18] <akitada> In Java 'SomeAbstractDataType var; var.setFoo("x"); var.setVar("y");'
[14:19] <agronholm> that does not work
[14:19] <agronholm> you have to set var to an actual instance first
[14:20] <akitada> Hmm, That java snippet compiles...
[14:20] <agronholm> are you sure you don't have any hidden code between?
[14:22] <agronholm> akitada: even if that somehow compiles, it won't work
[14:22] <akitada> I don't have the code right now, that why my question is obscure.
[14:22] <agronholm> unless you set var to an instance of SomeAbstractDataType
[14:22] <akitada> I think I understand.
[14:23] <akitada> I think I need a real example for this.
[14:23] <agronholm> are you a java newbie?
[14:24] <akitada> Right. That's why I use Jython.
[15:01] <akitada> Well, it was static class method.
[15:01] <agronholm> what was?
[15:02] <akitada> so it should be translated as: SomeAbstractDataType.setFoo(); SomeAbstractDataType.setBar()
[15:02] <agronholm> so var was in fact not involved at all?
[15:03] <akitada> yes, it just change static class variables.
[15:03] * lopex (531346b2@gateway/web/freenode/ip.83.19.70.178) Quit ()
[15:04] <akitada> The method name made me confused but I should have looked at the code more carefully.
[15:04] * shashank (~shashank@98.245.87.8) has joined #jython
[15:05] <akitada> Thank you for your help, anyway :-)
[15:07] <akitada> import sys
[15:08] <akitada> import json
[15:08] <akitada> sorry, wrong window
[15:31] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[15:32] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[15:34] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[15:35] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Client Quit)
[15:40] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[15:47] * shashank (~shashank@98.245.87.8) Quit (Ping timeout: 258 seconds)
[15:47] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[15:49] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Ex-Chat)
[15:49] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[16:02] * shashank (~shashank@ucb-np2-66.colorado.edu) has joined #jython
[16:38] * jabley (~jabley@78-105-125-211.zone3.bethere.co.uk) Quit (Quit: jabley)
[16:46] <akitada> is the latest jython jar available any maven repository?
[16:46] <agronholm> no :/
[16:47] <agronholm> I've been bugging ohumber about it, but progress is slow
[16:47] <agronholm> *ohumbel
[16:50] <akitada> good to know it's planned even if it's moving rather slowly
[16:56] <akitada> with maven, jython app deployment would be much more easier than this, I think: http://wiki.python.org/jython/JythonFaq/DistributingJythonScripts
[16:57] <agronholm> depends on how you deploy
[16:58] <agronholm> I deploy my app using java web start and we have no need for maven
[16:59] <akitada> planning to put everything in a jar and push it to production and read it.
[16:59] <agronholm> is it a web app?
[17:00] <akitada> now I use APT for each required package and adjusting CLASSPATH and I'm tired of doing that
[17:00] <akitada> No, it's a simple command line app.
[17:00] <agronholm> apt? why the heck? that usually gives you old versions of everything
[17:00] <agronholm> including jython :)
[17:01] <agronholm> especially jython
[17:01] <akitada> it's my package
[17:01] <agronholm> what is?
[17:02] <akitada> I built jython package for myself
[17:02] <akitada> 2.5.2
[17:02] <agronholm> I see
[17:02] <agronholm> the standalone installer does work too...
[17:03] <akitada> and deploying software just as I do for CPython and which didn't work so great for Jython.
[17:03] <agronholm> why's that
[17:03] <akitada> is standalone the only one .jar setup?
[17:04] <agronholm> yes
[17:04] <akitada> well, I built it in normal mode.
[17:04] <akitada> Just because I thought it might be faster.
[17:05] <agronholm> I use the standard installation in development but I deploy my app with a custom build of jython where all the modules have been precompiled
[17:06] <agronholm> takes more space but starts faster
[17:06] <akitada> deploying CPython app with apt is easy and straightforward because it just need to care about .py and .so files. Handling .jar files needs a bit more care (remember I'm not so familiar with java)
[17:07] <agronholm> how do you normally deploy your apps?
[17:08] <akitada> I use standard installation, too.
[17:08] <agronholm> that doesn't answer the question
[17:09] <agronholm> how is apt-tools involved?
[17:09] <akitada> I use apt for installing required packages.
[17:09] <agronholm> why not pip or something
[17:09] <akitada> jython itself, my own .py code, some jars.
[17:10] <agronholm> yeah right, pip doesn't install jython
[17:10] <agronholm> so you make .deb packages of everything?
[17:10] <akitada> I heard there's pip for jython
[17:10] <agronholm> pip works on jython as usual
[17:11] <akitada> http://pypi.python.org/pypi/jip/
[17:11] <agronholm> oh right, that is totally something else
[17:12] <agronholm> pip installs python distributions
[17:12] <akitada> yes
[17:12] <agronholm> but jip installs jars
[17:13] <akitada> I wanted to do everything in consistent manner. so apt.
[17:14] <akitada> and tired :)
[17:15] <akitada> so now I'm thinking that how it works if I do everything with maven and put everything in a jar.
[17:18] <akitada> jip looks interesting.
[18:12] * MarderIII (~marderii@enneman.demon.nl) has joined #jython
[18:33] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Ping timeout: 252 seconds)
[18:55] * lopex (lopex@84-10-213-252.dynamic.chello.pl) Quit (Ping timeout: 246 seconds)
[19:01] <pjenvey> juneau001 - btw you probably want to change your hg username to include your full name (as it was changed to during the conversion)
[19:01] <pjenvey> https://bitbucket.org/pjenvey/pymigr/src/d6ba8bc50601/jython-authors.txt
[19:02] <juneau001> pjenvey: thanks, will do
[19:03] * lopex (lopex@84-10-213-252.dynamic.chello.pl) has joined #jython
[19:13] * juneau001 (~juneau@fess-116326.dhcp.fnal.gov) Quit (Quit: juneau001)
[19:30] * super__ (~super_@unaffiliated/lolsuper-/x-9881387) has joined #jython
[19:33] * lolsuper_ (~super_@unaffiliated/lolsuper-/x-9881387) Quit (Ping timeout: 250 seconds)
[19:55] * MarderIII (~marderii@enneman.demon.nl) Quit (Quit: [IRSSI] Art is the only way to run away without leaving home.)
[20:17] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[20:36] * slestak (~sromanow@c-71-205-38-45.hsd1.mi.comcast.net) has left #jython
[20:40] * Oti (~ohumbel@adsl-89-217-239-90.adslplus.ch) has joined #jython
[21:10] * juneau001 (~juneau@50.44.41.15) has joined #jython
[21:13] <Oti> pjenvey - you were right, my public ssh key is missing. Sent to you directly by mail. THANKS!
[21:13] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[21:41] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[21:54] * jabley_ (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[21:54] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Read error: Connection reset by peer)
[21:54] * jabley_ is now known as jabley
[21:54] * headius (~headius@71-210-144-217.mpls.qwest.net) has joined #jython
[21:56] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Read error: Connection reset by peer)
[21:56] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) has joined #jython
[22:11] * jabley (~jabley@cpc1-farn4-0-0-cust318.6-2.cable.virginmedia.com) Quit (Quit: jabley)
[22:25] * Oti (~ohumbel@adsl-89-217-239-90.adslplus.ch) Quit (Quit: Oti)
[23:20] * shashank (~shashank@ucb-np2-66.colorado.edu) Quit (Quit: Leaving.)

Index

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