#jython IRC Log (v0.9)

Index

IRC Log for 2015-05-12

Timestamps are in GMT/BST.

[0:01] * maxpowa (maxpowa@irc.everythingisawesome.us) Quit (Ping timeout: 250 seconds)
[0:02] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[0:02] * maxpowa|away (maxpowa@irc.everythingisawesome.us) has joined #jython
[0:02] * maxpowa|away is now known as maxpowa
[0:05] * koo6 (~koo5@236.152.broadband3.iol.cz) Quit (Ping timeout: 245 seconds)
[0:46] * fwierzbicki (~Adium@17.sub-70-214-9.myvzw.com) has joined #jython
[1:36] * fwierzbicki (~Adium@17.sub-70-214-9.myvzw.com) Quit (Quit: Leaving.)
[4:53] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[4:54] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[7:01] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 256 seconds)
[8:35] * mbooth (~mbooth@redhat/mbooth) has joined #jython
[8:42] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 250 seconds)
[8:46] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) has joined #jython
[8:47] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) Quit (Changing host)
[8:47] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[8:47] * ChanServ sets mode +o jimbaker
[9:17] * sidrero (~sidrero@cable-static-140-81.teleport.ch) has joined #jython
[9:17] <sidrero> hi
[9:18] <sidrero> how long does it usually take to get registered at the jython bug tracker
[9:18] <sidrero> I requested an id last week and nothing happened, yet
[9:18] <sidrero> today in the morning I tried again with another email and nothing happens
[9:20] <sidrero> oh I just got it, sorry
[9:30] <sidrero> I filed my bug about python modules fail to import when jython 2.7.0 is embedded in an eclipse plugin
[9:32] <agronholm> sidrero: what happens if you do java -jar <path_to_your_jython.jar> ?
[9:34] <sidrero> jython command line appears
[9:38] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 255 seconds)
[9:39] <sidrero> Jython 2.7.0 (default:9987c746f838, Apr 29 2015, 02:25:11)
[9:39] <sidrero> [Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_67
[9:39] <sidrero> Type "help", "copyright", "credits" or "license" for more information.
[9:39] <sidrero> >>>
[9:41] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) has joined #jython
[9:42] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) Quit (Changing host)
[9:42] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[9:42] * ChanServ sets mode +o jimbaker
[9:48] <sidrero> and there I can import os, heapq, site normally
[9:57] <agronholm> so what's different about eclipse's running environment?
[10:09] <sidrero> that it is evely complicated
[10:09] <sidrero> evil
[10:09] <sidrero> I am afraid I don't know, I am only a poor end user forced to used it
[10:10] <sidrero> in addition, if I do it in eclipse, as a normal java programm, it also works ok
[10:10] <sidrero> it fails only when done as eclipse plugin
[10:10] <sidrero> which I need to embed it into a comercial application
[10:11] <sidrero> right now it is working in production with jython 2.5.3
[10:11] <sidrero> but fails for 2.7.0
[10:11] <mbooth> sidrero: Did you see how Pydev eclipse plugin embeds jython?
[10:12] <mbooth> Might be worth a look, IIRC they use some version of 2.7.0 now
[10:15] <sidrero> ah interesting, I'll take a look
[10:15] <sidrero> ah but
[10:15] <sidrero> i don't think they embedd jython standalone, which is the one I need
[10:15] <sidrero> you have to have installed the full version on C:
[10:16] <sidrero> and then you point pydev to there
[10:16] <sidrero> there of course I would not expect this bug
[10:30] <mbooth> sidrero: Looks pretty embedded to me: https://github.com/fabioz/Pydev/tree/development/plugins/org.python.pydev.jython
[10:30] <mbooth> The jython jar is bundled in that plugin
[10:33] <sidrero> I see, I check then
[10:33] <sidrero> thanks
[12:21] <sidrero> mbooth, you are right
[12:22] <sidrero> they explode the jython.jar, then they copy the Lib folder into the top plugin folder, they set the python home to that place
[12:22] <sidrero> then it works importing modules
[12:22] <mbooth> Crazy :-)
[12:23] <sidrero> they do many other things, I don't understand all of them, but at least this solves my problem
[12:23] <sidrero> thanks a lot for the suggestion =)
[12:23] <mbooth> When jython adopts maven, I would like to try making jython into a read osgi bundle
[12:23] <mbooth> s/read/real/
[12:23] <sidrero> sounds interesting
[12:23] * mbooth is interested in jython working well in eclipse too
[13:14] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[13:28] <jimbaker> sidrero, mbooth - that unpacking into the top plugin sounds very similar to the underlying problem in http://bugs.jython.org/issue2143 -
[14:21] * xemdetia (xemdetia@nat/ibm/x-oscukfgcennfjvai) has joined #jython
[14:30] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[14:30] * ChanServ sets mode +o Arfrever
[14:55] * FunkyELF (~FunkyELF@2606:a000:63a2:b200:dcd8:4063:13b1:ae4e) has joined #jython
[14:57] <FunkyELF> jimbaker: congrats on the release
[15:09] <FunkyELF> watching the PyCon 2015 talk. Never heard of clamp before. Looks like you can now call Jython code from Java. I'm wondering if you can produce signed jars from a setup.py
[15:59] * xemdetia (xemdetia@nat/ibm/x-oscukfgcennfjvai) Quit (Remote host closed the connection)
[16:00] * offbyone (~offbyone@45.55.253.27) Quit (Excess Flood)
[16:00] * offbyone (~offbyone@45.55.253.27) has joined #jython
[16:04] * xemdetia (xemdetia@nat/ibm/x-rhymiaxtludbckbo) has joined #jython
[16:56] <jimbaker> FunkyELF, that would be an interesting extension. iirc, jar signing is done with keytool, and in general one could call a command line tool from setuptools
[16:58] <jimbaker> FunkyELF, re clamp - it's something that we have been talking about since probably 2007. darjus developed a great model of how to do it about 2 years ago
[16:59] <jimbaker> agronholm, so can i convince you to take care of moving https://kenai.com/projects/jythonbook to https://github.com/jython/book ?
[16:59] <jimbaker> because it would be awesome to get this started again...
[16:59] <agronholm> does this thing have something that I can download?
[17:00] <agronholm> no version history I take it?
[17:00] <agronholm> oh hm
[17:00] <agronholm> source code repository it says
[17:00] <agronholm> okay
[17:02] * srcerer (~chatzilla@dns2.klsairexpress.com) Quit (*.net *.split)
[17:02] * Tycale (~Tycale@tycale.be) Quit (*.net *.split)
[17:03] * srcerer (~chatzilla@dns2.klsairexpress.com) has joined #jython
[17:04] <agronholm> the checkout is taking a while
[17:05] <agronholm> no branches -- this should be easy
[17:07] <agronholm> jimbaker: https://github.com/jython/book
[17:07] * Tycale (~Tycale@tycale.be) has joined #jython
[17:13] <jimbaker> agronholm, thanks! this is going to be much easier to work with
[17:13] <agronholm> I'll just convert .hgignore to .gitignore and then you'll be good to go
[17:14] <jimbaker> ack, and we can setup a trigger for read-the-docs, and start reorganizing/making PRs. good stuff!
[17:15] <agronholm> yup
[17:16] <jimbaker> supposedly all in 5 minutes for readthedocs.org... i guess the real issue will be doing the old CNAME stuff
[17:16] <jimbaker> whole CNAME...
[17:16] <agronholm> what's the prob with that
[17:18] <jimbaker> well, it might take 15 minutes...
[17:18] <agronholm> ok, gitignore done
[17:18] <jimbaker> so i guess the real thing is just doing the admin work on jython.org itself
[17:19] <jimbaker> but maybe easy. i remember when we moved the book to jython.org it was because we were getting DDOS'ed
[17:26] <jimbaker> hmmm, i should have looked at how to deselect organizations to choose from when linking with read-the-docs. my univ course owns 100s of repos. might be doing an inadvertent DOS attack of my own...
[17:35] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Read error: Connection reset by peer)
[17:36] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[17:45] <jimbaker> http://jython.readthedocs.org/en/latest/
[17:45] <jimbaker> fwierzbicki, agronholm ^^^
[17:45] <agronholm> awesome.
[17:46] <fwierzbicki> cool!
[17:46] <jimbaker> we just need to point http://www.jython.org/jythonbook/en/1.0/ at a tagged version (= current latest), then support latest as the default for jythonbook.com
[17:48] <jimbaker> so here's where we start for that support https://docs.readthedocs.org/en/latest/alternate_domains.html
[17:48] <jimbaker> i'm going to defer to agronholm, fwierzbicki on the specifics however
[17:50] <fwierzbicki> jimbaker: do you know who put it up (or was it you?)
[17:50] <fwierzbicki> Just curious :)
[17:50] <jimbaker> i will be in touch with josh, he might know
[17:50] <jimbaker> i didn't do it however
[17:52] * sidrero (~sidrero@cable-static-140-81.teleport.ch) Quit ()
[18:36] <jimbaker> so this is pretty cool, we are currently #16 on hacker news. feel free to upvote :) - https://news.ycombinator.com/
[18:56] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 264 seconds)
[19:01] * mbooth (~mbooth@redhat/mbooth) Quit (Ping timeout: 255 seconds)
[19:41] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) has joined #jython
[20:47] <jimbaker> agronholm, here's another github challenge. is it possible to fork only https://github.com/python/cpython/tree/2.7/Doc on github.com/jython/doc?
[20:48] <jimbaker> this is to replace the out-of-date 2.6-based docs, again with something we can readily manage
[20:49] <jimbaker> maybe this is just a question of doing a filter branch...
[21:04] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 256 seconds)
[21:04] <gsnedders> jimbaker: depends if you want the GitHub fork links
[21:05] <gsnedders> jimbaker: if not you can just clone it, filter it, and push it
[21:05] <gsnedders> (that's what I'd suggest, on the whole)
[21:36] <jimbaker> gsnedders, using filter branch? or just deleting stuff? (not an expert here!)
[21:37] <jimbaker> i do want to retain history of the docs themselves. presumably we don't want the rest of cpython history in with the docs, however
[21:38] <agronholm> I don't think you can do that since it's not a subrepository
[21:38] <agronholm> checking out just the docs I mean
[21:48] <jimbaker> agronholm, right, i just want to avoid what fwierzbicki did with https://github.com/jythontools/jython/tree/master/lib-python/2.7 - looks like fwierzbicki authored the entire cpython stdlib ;)
[21:48] <jimbaker> (we should fix this before we move main 2.7 dev to github.com/jython/jython)
[21:57] * gopar (~gopar@c-73-162-171-146.hsd1.ca.comcast.net) Quit (Quit: Leaving)
[22:05] <fwierzbicki> jimbaker: ideally we'd keep CPython's 2.7 out of our repo altogether - but I know that might not be easy. Hmmm We could keep a clone of all of 2.7 in our own subrepo and use that. Then maybe we could merge from 2.7 as it changes???.?
[22:11] <xemdetia> http://git-scm.com/docs/git-submodule
[22:11] <xemdetia> I dunno if this is the thing you want
[22:13] <xemdetia> http://git-scm.com/book/en/v2/Git-Tools-Submodules
[22:13] <xemdetia> this is kind of a better doc
[22:13] <fwierzbicki> that does look promising - especially if we decide that it's ok to just point to the whole of CPython.
[22:14] <xemdetia> it may still count as source separation because you are just providing a recipe on how to get the CPython source
[22:15] <xemdetia> but consult your local lawyer for such minutia
[22:15] <fwierzbicki> We could do the same trick for docs that we do now for Lib/ ??? that is, use the upstream docs for the most part, but then have modified versions in our own docs. Best of all is if we just modify the CPython docs with occasional "in the case of Jython???." bits
[22:15] <fwierzbicki> We'd need to go through their process, but then we wouldn't have to do a bunch of syncing
[22:16] <fwierzbicki> (which is what I mean to do with our Lib/ for 3.x)
[22:16] <fwierzbicki> xemdetia: no lawyers needed, our licenses are the same :)
[22:16] <fwierzbicki> more or less
[22:17] <xemdetia> ah my blurry eyed diff of cpython vs jython
[22:17] <xemdetia> was incorrect then
[22:17] <xemdetia> might be the green :)
[22:17] <fwierzbicki> we use a huge amount of CPython's code unmodified
[22:18] <fwierzbicki> most of the standard library (the parts written in python)
[22:18] <xemdetia> well that's sensible
[22:18] <xemdetia> best way to test a source reader is to read the source :)
[22:18] <fwierzbicki> yep, and I hope to get much closer to 100% for 3.x
[22:19] <fwierzbicki> much of that by contributing Jython's workarounds (which they are happy to accept for the most part)
[22:19] <xemdetia> well much like a good lisp
[22:19] <xemdetia> the guts of the stdlib should be mostly compatible with some fiddly bits here and there
[22:20] <xemdetia> I guess that's what I dream for
[22:32] * xemdetia (xemdetia@nat/ibm/x-rhymiaxtludbckbo) Quit (Ping timeout: 255 seconds)
[22:49] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[23:07] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 255 seconds)
[23:11] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) has joined #jython
[23:11] * jimbaker (~jbaker@c-24-9-252-60.hsd1.co.comcast.net) Quit (Changing host)
[23:11] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[23:11] * ChanServ sets mode +o jimbaker
[23:52] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[23:52] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[23:58] <gsnedders> jimbaker: git-filter-tree is what you want to get rid of everything except Lib/
[23:59] <gsnedders> jimbaker: or doc/ or whatever :)

Index

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