#jython IRC Log

Index

IRC Log for 2013-09-30

Timestamps are in GMT/BST.

[0:48] <jimbaker> topi`, i updated the bug on twisted. i don't see how we can really avoid a jython specific reactor. on the other hand, this is probably what's really necessary
[0:49] <jimbaker> however, my understanding of the twisted codebase is fairly limited, although i have certainly programmed against it extensively
[0:51] <jimbaker> topi`, reading back: re math.sin() - yeah, we have already thought about this sort of stuff in shashank's jython-pilot project, which is about the application of invokedynamic to make such lookups much faster
[0:52] <jimbaker> so we can optimize math.sin. but we also need to deoptimize in case it's monkeypatched. otherwise, we really don't have a python impl
[0:53] <jimbaker> re Disconsented's earlier message - wasn't there a jython bukkit project? https://forums.bukkit.org/threads/using-minecraft-to-teach-programming-in-python.177826/
[0:55] <sinistersnare> lol youre just replying to everything
[0:55] <jimbaker> sinistersnare, i try
[0:57] <jimbaker> btw, most of my team uses twisted. including some well-known twisted devs. so i would like to see twisted on jython, working well :)
[0:57] <sinistersnare> did you see the article i posted, jimbaker?
[0:58] <jimbaker> sinistersnare, of course i missed it??? reading now
[0:58] <sinistersnare> :p
[0:58] <sinistersnare> i call the python file shown PyGdx: Return of the Self
[1:01] <jimbaker> sinistersnare, indeed self plays a prominent role :)
[1:01] <jimbaker> anyway, i'm intrigued so i'm downloading gdx
[1:01] <jimbaker> the code itself looks fine at first glance
[1:02] <sinistersnare> yeah, its really cool
[1:02] <jimbaker> i notice that android is prominently mentioned. note that it should be possible to use clamp to ensure ahead-of-time compilation to make this work w/ android
[1:02] <sinistersnare> i recommend downloading the zip here http://libgdx.badlogicgames.com/nightlies/
[1:02] <jimbaker> yeah, i'm getting it from there
[1:03] <sinistersnare> yeah, android assumes assets are from assets/ so you dont need to specify it if using android
[1:03] <sinistersnare> but it should work, so thats good
[1:04] <sinistersnare> i just havent tested it
[1:04] <sinistersnare> and RoboVM is a JVM on iOS, so it should work there too
[1:05] <jimbaker> hmmm, requires gwt too
[1:05] <sinistersnare> GWT is java -> .class so py cant work on it
[1:05] <jimbaker> sinistersnare, where do i get GWT?
[1:06] <sinistersnare> its an eclipse plugin, so unless you want to eclipse, you dont need to run it
[1:06] <jimbaker> hmmm, not working for me
[1:06] <sinistersnare> you can just try the desktop project, from there
[1:06] <sinistersnare> wait, did you use the setup-ui?
[1:06] <jimbaker> sinistersnare, nahhh
[1:07] <sinistersnare> https://github.com/libgdx/libgdx/wiki/Project-setup%2C-running-%26-debugging#using-libgdx-setup
[1:07] <jimbaker> just trying to add those gdx jars to CLASSPATH and run your sample program
[1:07] <sinistersnare> oh ok
[1:07] <sinistersnare> then you only need that one file
[1:08] <sinistersnare> http://bpaste.net/show/P77pA64ia4JrR5uJWYEJ/
[1:08] <sinistersnare> this is actually a better representation: http://bpaste.net/show/e9sTHZA5PqwC5E6cYbgF/ but yeah, you dont need any of that other stuff
[1:08] <sinistersnare> when youre just running desktop
[1:09] <jimbaker> sinistersnare, maybe you can post a starter project on github?
[1:09] <sinistersnare> sure
[1:09] <sinistersnare> itll have jars, because i dont feel like doing any sort of maintenance
[1:09] <jimbaker> sinistersnare, yeah, that's ok for now
[1:09] <jimbaker> later can figure out maven madness
[1:10] <jimbaker> ok, i got to get some dinner. but this is very interesting. much more so than preparing the final version of an assignment for my students ;)
[1:11] <sinistersnare> https://github.com/sinistersnare/PyGdx should work i think
[1:11] <sinistersnare> ok jimbaker go do that, i have homework to do (damn highschool!)
[1:12] <jimbaker> cool, it's always good to have smart high school students doing stuff w/ python
[1:13] <jimbaker> sinistersnare, nice, it works
[1:13] <sinistersnare> awesome!
[1:14] <jimbaker> so next steps, i'd love if you could help me get this running on android. i promise you get to do all that work ;), but i will provide you support w/ clamp's singlejar and advance proxy compilation :)
[1:14] <jimbaker> sinistersnare, sound like a good bargain?
[1:15] <sinistersnare> oh i will definitely see about android support! thats on my todolist in my head, but weekends are where i do my best work, because i have lots of homework and marching band
[1:15] <jimbaker> yeah, no worries. this has only been something i would have liked to have seen since android came out, so it can wait for the right weekend
[1:16] <jimbaker> but we are now ready to do so, with the recent clamp work. almost there??? just need to roll it a little further ;)
[1:16] <sinistersnare> this is such good timing!
[1:17] <jimbaker> sinistersnare, exactly. setup.py install ensures compilation to java bytecode. usable proxies were the last step.
[1:18] <jimbaker> ttyl!
[1:18] <sinistersnare> k adios
[1:19] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[2:35] * sinistersnare (6c1c5d99@gateway/web/cgi-irc/kiwiirc.com/ip.108.28.93.153) Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[2:43] * lheuer (~Adium@unaffiliated/lheuer) Quit (Quit: Leaving.)
[2:56] * sinistersnare (6c1c5d99@gateway/web/cgi-irc/kiwiirc.com/ip.108.28.93.153) has joined #jython
[2:56] <sinistersnare> whoops, i left
[3:16] * sinistersnare is now known as sinsnare|zzZZzz
[4:45] * jyc_ (~jyc@173.245.6.163) has joined #jython
[4:46] * truk77_ (~kurt@pool-173-73-27-144.washdc.fios.verizon.net) has joined #jython
[4:50] * jyc (~jyc@173.245.6.163) Quit (*.net *.split)
[4:50] * truk77 (~kurt@pool-173-73-27-144.washdc.fios.verizon.net) Quit (*.net *.split)
[5:46] * verterok (~ggonzalez@162.213.35.11) has joined #jython
[5:56] * lheuer (~Adium@f048037222.adsl.alicedsl.de) has joined #jython
[5:56] * lheuer (~Adium@f048037222.adsl.alicedsl.de) Quit (Changing host)
[5:56] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[6:33] * osc (~oscar@80-62-162-242-static.dk.customer.tdc.net) has joined #jython
[7:22] <topi`> jimbaker: suddenly virtualenv has stopped working for me w/jython, this is fairly odd. Do you remember which versions of venv work w/jython?
[7:23] <topi`> File "/home/topi/jython/Lib/tarfile.py", line 0, in _dbg
[7:23] <topi`> java.lang.NullPointerException:
[7:23] <topi`> oh, it's trying to install sdist at that point
[7:25] * seletz (~seletz@HSI-KBW-149-172-101-236.hsi13.kabel-badenwuerttemberg.de) has joined #jython
[7:26] <topi`> maybe I need --no-pip w/ virtualenv
[7:37] <topi`> right, with --no-pip --site-packages virtualenv 1.10.1 finally works
[8:28] * osc (~oscar@80-62-162-242-static.dk.customer.tdc.net) Quit (Ping timeout: 245 seconds)
[9:23] * vext01 (~edd@host-92-20-154-67.as13285.net) has joined #jython
[9:23] <vext01> morning
[9:32] <vext01> the correct way to use a PythonInterpreter is to instantiate it and then use initialize(), right?
[9:32] <vext01> am i missing anything else?
[9:32] <vext01> i notice that my unit tests give an exception when using an interpreter run in this way (even though they pass)
[9:33] <vext01> whereas running dist/bin/jython on them, works fine
[9:40] * seletz (~seletz@HSI-KBW-149-172-101-236.hsi13.kabel-badenwuerttemberg.de) has left #jython
[9:52] <vext01> is there a way to get a reference to the python interpreter within java itself
[9:52] <vext01> ?
[9:52] <vext01> then i would not have to embed atall
[10:06] <vext01> cant see a way in the docs
[10:38] * zz_whg is now known as whg
[10:49] <sinsnare|zzZZzz> vext01: http://www.jython.org/jythonbook/en/1.0/JythonAndJavaIntegration.html
[10:50] <vext01> sinsnare|zzZZzz: sure, i have seen this
[10:51] <sinsnare|zzZZzz> you dont need to use java at all to use jython
[10:51] <sinsnare|zzZZzz> https://github.com/sinistersnare/PyGdx i have to go, but look at this
[10:51] <sinsnare|zzZZzz> its using a java library called LibGDX
[10:52] <sinsnare|zzZZzz> i have to go.... sorry
[10:52] <vext01> no worries
[11:07] * cdleonard (~Crestez_D@205.168.23.154) has joined #jython
[11:56] <truk77_> So, if I want to pass a Java object to a script running from a PythonInterpreter object, can I just do like interpreter.set("pojo", myPojo); and then make use of it with something like interpreter.exec("pojo.foo()")
[12:03] * osc (~oscar@80-62-162-242-static.dk.customer.tdc.net) has joined #jython
[12:10] <vext01> truk77_: looks good
[12:11] <vext01> try it :P
[12:11] <truk77_> vext01: I like you style, sir ;)
[12:14] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 248 seconds)
[12:38] * verterok (~ggonzalez@162.213.35.11) Quit (Changing host)
[12:38] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[12:51] * fluxdude (~fluxdude@unaffiliated/fluxdude) has joined #jython
[12:54] * ciziar (~textual@hd5b912b5.seluldx.dyn.perspektivbredband.net) has joined #jython
[14:28] * ciziar (~textual@hd5b912b5.seluldx.dyn.perspektivbredband.net) Quit (Quit: Computer has gone to sleep.)
[15:00] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Quit: Coyote finally caught me)
[15:00] * verterok (~ggonzalez@162.213.35.11) has joined #jython
[15:07] * ciziar (~textual@hd5b912b5.seluldx.dyn.perspektivbredband.net) has joined #jython
[15:09] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[15:29] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 240 seconds)
[15:33] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Max SendQ exceeded)
[15:33] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[15:43] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[15:43] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[15:44] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[15:48] * r0bby_ (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 241 seconds)
[15:48] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[15:52] * r0bby_ (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[15:54] * r0bby_ (~wakawaka@guifications/user/r0bby) has joined #jython
[15:55] * ciziar (~textual@hd5b912b5.seluldx.dyn.perspektivbredband.net) Quit (Quit: Computer has gone to sleep.)
[16:05] * Scorp1us (4b915e69@gateway/web/freenode/ip.75.145.94.105) has joined #jython
[16:05] <Scorp1us> I'm trying to run the examples here: http://wiki.apache.org/hadoop/Hbase/Jython
[16:06] <Scorp1us> but I keep getting ImportError: no module named hadoop
[16:08] <Scorp1us> I added sys.path.append('/usr/lib/hbase/hbase.jar') sys.path.append('/usr/lib/hadoop/lib/commons-configuration-1.6.jar')
[16:08] <mary> Scorp1us: could you paste the cmd being used to invoke jython ?
[16:09] <Scorp1us> it is just jython
[16:10] * r0bby_ (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[16:10] <mary> uh
[16:10] <mary> Scorp1us: try 'HBASE_OPTS="-Dpython.path=$JYTHON_HOME" HBASE_CLASSPATH=$JYTHON_HOME/jython.jar ./bin/hbase org.python.util.jython'
[16:22] <Scorp1us> I'm so confused by that command line
[16:22] <Scorp1us> Really, I'm trying to make a .py that talks to HBase
[16:22] <Scorp1us> I am only using jython for debugging th import error
[16:26] <mary> Scorp1us: could you try and check if it works for you ? (need to set JYTHON_HOME to wherever jython.jar lives)
[16:27] <Scorp1us> unfortunately, i do not know, my jython resolves to script that does not give e a path to a jython.jar and locate does not report it
[16:28] <mary> Scorp1us: k
[16:28] * lheuer (~Adium@g230023173.adsl.alicedsl.de) has joined #jython
[16:28] * lheuer (~Adium@g230023173.adsl.alicedsl.de) Quit (Changing host)
[16:28] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[16:28] <mary> can you try setting the CLASSPATH used by jython to the outout of `hbase classpath` /
[16:31] <Scorp1us> slightly better result.
[16:31] <Scorp1us> mo module named conf
[16:31] <mary> Scorp1us: could you pastebin your script ?
[16:31] <Scorp1us> its super simple.
[16:31] <Scorp1us> import sys sys.path.append('/usr/lib/hbase/hbase.jar') sys.path.append('/usr/lib/hadoop/lib/commons-configuration-1.6.jar') import org.apache.hadoop.conf
[16:32] <Scorp1us> I just can't even import conf at thsi point
[16:32] <jimbaker> fwierzbicki, pjenvey - i really want to reconsider os.name for 2.7. to what extent is usage of os.name == "java" - and then dispatching to os._name - really out there, vs projects that could just assume os.name?
[16:32] <jimbaker> fwierzbicki, i think you had this position as well, just go through the compatibility bump
[16:33] <jimbaker> i'm also thinking of some other compatibility things like quietly ignore surrogates in unicode literals
[16:33] <mary> Scorp1us: does 'import org.apache.hadoop.conf.Configuration' work ?
[16:34] <Scorp1us> no
[16:37] <Scorp1us> i would have figured my sys.path.appends would have fixed it
[16:38] <Scorp1us> this is so frustrating. I've been messing with java imports for the last week
[16:38] <Scorp1us> In C/C++ it Just works
[16:40] <mary> Scorp1us: IIUC invoking jython via hbase cmdline tool and a script which has just the line 'import org.apache.hadoop.conf.Configuration' does not work - hmm -odd
[16:40] <mary> (works for me)
[16:41] <Scorp1us> what classpath do you have?
[16:41] <mary> ""
[16:41] <Scorp1us> hmm odd
[16:41] <Scorp1us> how does anythign find anythign then?
[16:41] <mary> scrollback
[16:42] <mary> hbase cmdline tool sets the classpath
[16:42] <fwierzbicki> jimbaker: hmmm - I had that opinion for 3.x ??? but I suspect os.name does get used a bunch to check for Jython (whether we like it or not)
[16:43] <fwierzbicki> I don't know how pervasive it is - but I have certainly seen it
[16:43] <jimbaker> fwierzbicki, i suspect it's used even more out of of jython projects :)
[16:44] <Scorp1us> what shoud JYHTON_HOME be set to?
[16:44] <fwierzbicki> gotta go to a meeting bbiab
[16:45] <jimbaker> fwierzbicki, so my thought is, we could include a compatibility option (org.python.core.Options) for the old version; this could include some other backwards breaking changes
[16:45] <mary> Scorp1us: to whichever directory ahs the jython jar
[16:45] <jimbaker> but i'm increasingly of the opinion that this is in fact a bug we have carried through
[16:46] <jimbaker> fwierzbicki, much like the old str/unicode equivalence we had prior to 2.5, although less of a problem
[16:50] <Scorp1us> ok YAY! I got it to work
[16:51] <Scorp1us> now how do I get it to work not from command line, but a servlet?
[16:51] <vext01> im going to make a test case for this weird embedding bug
[16:57] * Scorp1us (4b915e69@gateway/web/freenode/ip.75.145.94.105) Quit (Quit: Page closed)
[16:58] * Scorp1us (4b915e69@gateway/web/freenode/ip.75.145.94.105) has joined #jython
[17:01] <Scorp1us> now I get: ImportError: cannot import names BatchUpdate, Cell, RowResult
[17:01] <Scorp1us> I suspect the from org.apache.hadoop.hbase.io is not longer correct
[17:04] <vext01> guys, heres a small test case showing a problem I am encountering wrt embedding
[17:04] <vext01> https://bitbucket.org/vext01/embed-bug/src
[17:04] <jimbaker> vext01, saw your earlier message. yes, you can do this. i recommend "use the source!" here's one example of ouroboros - https://bitbucket.org/jython/jython/src/f731a595b90a4c313aa49531f8ae2b188ab31bbe/Lib/test/test_pythoninterpreter_jy.py?at=default
[17:05] <vext01> run_interp.sh is a wrapper around a java app that just instantiates the interpreter and runs the file given on the command line
[17:05] <vext01> jimbaker: cheers
[17:05] <jimbaker> there are a few other examples of using PythonInterpreter in the tests, and of course, other interesting usage like this. test_java_integration.py is also good
[17:05] <vext01> the problem is, test/test_blah.py runs under jython and cpython, but not using the embedded interpreter
[17:05] <vext01> e.g. ./run_interp.sh test/test_blah.py
[17:06] <jimbaker> vext01, and what is test_blah.py? gist?
[17:06] <vext01> its in the repo i just linked
[17:06] <vext01> File "/opt/jython-ssl/dist/Lib/unittest/main.py", line 234, in runTests
[17:06] <vext01> sys.exit(not self.result.wasSuccessful())
[17:06] <vext01> SystemExit: False
[17:07] <vext01> i see the test pass, but it just exits with this exception
[17:07] <vext01> im sure its my fault :P
[17:08] <vext01> afaics, exit with false is return code 0
[17:09] <jimbaker> vext01, it seems complicated. i'm not certain what you're trying to do...
[17:10] <vext01> ps = PySystemState() pi = PythonInterpreter({}, ps)
[17:10] <vext01> ^^ this might replace the complications
[17:11] <vext01> let me try to explain before i go there
[17:11] <jimbaker> vext01, good. that's why i wanted to push you in this other direction :)
[17:11] <Scorp1us> mary: any idea of the proper 4th import statement?
[17:12] <Scorp1us> BatchUpdate, Cell, RowResult are not part of io
[17:12] <vext01> jimbaker: i dont see why the behaviour of unittest.main() differs in the embedded interpreter
[17:13] <vext01> does the code you linked not make a copy of the interpreter?
[17:13] <jimbaker> vext01, in general, you would need to ensure paths, etc, are properly set up. by running in the context of jython, that is something you already know
[17:13] <jimbaker> so that would be my first guess
[17:13] <vext01> maybe yeh
[17:14] <jimbaker> Scorp1us is running in the same problem. however, i don't know the use of hadoop in this way
[17:15] <jimbaker> Scorp1us, one thing i would recommend if you haven't is use the interactive console. this can be especially useful to turn on tab completion: http://docs.python.org/2/library/rlcompleter.html
[17:15] <vext01> so the only reason that Main.java (and run_interp.sh) exist is so that I have a reference to the python interpreter
[17:15] <vext01> the code you linked looks like it copes(?) an interpreter
[17:15] <vext01> am i right?
[17:15] <jimbaker> vext01, but you can always get a reference to the interpreter if you want
[17:15] <vext01> great! how?
[17:16] <Scorp1us> I'm in Jythoin
[17:17] <jimbaker> vext01, ok, well let me look this up...
[17:17] <Scorp1us> the wiki turorial is last modifed in 2009, it seems the API has hanged in the last 4 years...
[17:17] <Scorp1us> *changed
[17:17] <vext01> jimbaker: thanks
[17:18] <vext01> i did spend some time looking over the API
[17:21] <jimbaker> vext01, yeah, the #1 thing i seem to do with jython is use to hack on jython internals. it's very convenient to just import the internals and use from python code. there are a few places where this isn't quite possible, but even then there are workarounds with reflection
[17:22] <jimbaker> vext01, so given your research interests, this is what i would suggest. i also recommend if you are casually browsing around to use rlcompleter
[17:22] <jimbaker> it would be nice if we could get ipython going again as well...
[17:22] <jimbaker> one reason i want to just ditch os.name as "java" in favor of what is os._name
[17:23] <mary> Scorp1us: it is quite OT for this channel - #hbase ?
[17:23] <jimbaker> mary, Scorp1us - it's on topic here - it's just that we may not have familiarity w/ the hadoop API
[17:24] <vext01> jimbaker: not sure what you mean
[17:24] <jimbaker> ipython is a fantastic tool for exploring APIs
[17:24] <mary> k:)
[17:25] <jimbaker> it has some dependency on stuff like os.name. enough that fixing it requires a patch. which means going upstream. which is just wretched after a while
[17:26] <jimbaker> there are now many other dependencies in ipython, but we lost ground on it because of this silly issue
[17:27] <vext01> ah yeh, i know ipython
[17:27] <vext01> i actually prefer bpython for faffing in apis
[17:27] <vext01> what i meant was, i am not sure what you are suggesting wrt getting an reference to the python interpreter from python
[17:28] <vext01> you reccommend i read the source perhaps :P
[17:28] <mary> Scorp1us: your best bet is to look up examples bundled with the specific version of hbase you are using
[17:32] * sinistersnare (cddef8b0@gateway/web/cgi-irc/kiwiirc.com/ip.205.222.248.176) has joined #jython
[17:34] <jimbaker> vext01, i looked at PythonInterpreter a bit more - you can use it from your jython code per that example test script i linked, but it's not actually even instantiated when running under say dist/bin/jython (= org.python.utils.jython)
[17:35] <jimbaker> so the best you can do is get at PySystemState, which actually is the same as the sys module
[17:35] <sinistersnare> ok, so i think im going to rewrite the Libgdx tests that use the Bullet 3D physics library to see some python benchmarks
[17:36] <vext01> jimbaker: hrm. thanks
[17:36] <vext01> food for thought
[17:36] <jimbaker> sinistersnare, cool
[17:36] <vext01> will probably stick with the embedded interpreter for now, im not sure...
[17:37] <jimbaker> remember, you could embed in this way, with just "pure jython"
[17:37] <sinistersnare> ive never testing anything extensively like this. could be fun!
[17:37] <jimbaker> sinistersnare, fantastic. i really want to see this work on android
[17:38] <vext01> jimbaker: yes, i could, but then I would have two python interpreters, right
[17:38] <sinistersnare> me too, ill plug my phone in after school (in 20 minutes) and see what happens
[17:38] <sinistersnare> as in, try and get it to work. i need to install ADT (freshley installed linux distro...)
[17:38] <jimbaker> vext01, well, they are pretty lightweight as you can see by looking at the impl of PythonInterpreter - the real work is in PySystemState/ThreadState
[17:39] <vext01> hrm, the approach feels awkward
[17:39] <jimbaker> sinistersnare, so i wouldn't expect it to just work. but if you use clamp + setup.py, it should
[17:39] <jimbaker> i just need to give you singlejar
[17:39] <sinistersnare> yes, i figure i might need to compile the python files
[17:39] <vext01> i take your point though
[17:39] <sinistersnare> hows the work on that?
[17:40] <Scorp1us> mary: ok, where can I find those examples?
[17:40] <jimbaker> sinistersnare, something i plan on working on today
[17:40] <sinistersnare> ok cool
[17:40] <Scorp1us> I'm new to java and hbase, but not to python and that's why I am here.
[17:41] <Scorp1us> I'm spendina a lot of time translating import calls to jars,a nd resolving the path problems
[17:42] <sinistersnare> oh, does clamp itself have a repo? i cant seem to find anything?
[17:42] <sinistersnare> https://bitbucket.org/darjus/clamp/src actually i think this is it but it doesnt seem to be recent...
[17:42] <jimbaker> sinistersnare, start here: https://github.com/jimbaker/clamped
[17:42] <jimbaker> darjus' work is great, but now superseded
[17:43] <vext01> right, enough for a day
[17:43] <jimbaker> i used it to build what's now in https://github.com/rackerlabs/clamp
[17:43] <vext01> jimbaker: thanks again
[17:43] <jimbaker> so clamped is the example project, clamp is what will go into pypi shortly
[17:43] <sinistersnare> oh there it is, thanks
[17:43] <jimbaker> vext01, np, take care
[17:43] <vext01> and sorry for asking too many questions ;)
[17:44] <jimbaker> vext01, not nearly enough i think ;)
[17:44] <vext01> hah
[18:11] * sinistersnare (cddef8b0@gateway/web/cgi-irc/kiwiirc.com/ip.205.222.248.176) Quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
[19:32] * Oti (~ohumbel@adsl-84-227-111-222.adslplus.ch) has joined #jython
[19:43] <Scorp1us> anyone know why Jython's habse shell does not support up-arrow?
[20:16] * thereisnospoon_ (~thereisno@27-33-1-87.tpgi.com.au) has joined #jython
[20:18] * thereisnospoon (~thereisno@27-33-1-87.tpgi.com.au) Quit (Ping timeout: 248 seconds)
[20:27] <Scorp1us> I really miss up arrow. all i get is ^[[A
[20:29] <jimbaker> Scorp1us, for some reason JLine is not working for you. it's been the default since 2.5.3 i believe
[20:29] <Scorp1us> i wonder if it is my terminal emulation?
[20:29] <jimbaker> Scorp1us, jython trunk has some recent improvements
[20:29] <Scorp1us> I'm sshed in
[20:30] <jimbaker> although i don't believe we have upgraded to JLine2 yet
[20:30] <Scorp1us> well i'm loving jython fast and easy (when I can get it to work lol
[20:31] <Scorp1us> I have jline-0.9.94.jar
[20:31] <jimbaker> Scorp1us, cool, it's just a matter of getting to used it. we are working on improving the packaging. i don't know if anyone else takes seriously my desire to see the dist/bin/jython script rewritten to use cpython, however
[20:32] <Scorp1us> why cpython?
[20:32] <jimbaker> Scorp1us, trunk has jline-1.0.jar
[20:32] <jimbaker> Scorp1us, because bash is, ummm, challenging, especially in such envs as cygwin
[20:33] <Scorp1us> i'm familiar with cygwin :-/
[20:34] <jimbaker> Scorp1us, good, you can give us feedback on that platform ;) i haven't used it in i guess 4 years
[20:35] <Scorp1us> so how do I troubleshoot my jline?
[20:36] <Scorp1us> i can import it fine
[20:37] <jimbaker> Scorp1us, i think it's a matter of getting stty right
[20:37] <jimbaker> but i haven't run into that problem in a long time
[20:37] <Scorp1us> TERM = xterm
[20:37] <jimbaker> about the only thing i could recommend is just try trunk to start
[20:37] <jimbaker> given that it has seen console improvments
[20:44] <Scorp1us> I think the amazon AMI jsut sucks
[20:55] * sinsnare|zzZZzz is now known as sinistersnare
[20:58] * mritz (~textual@97.65.251.170) has joined #jython
[21:16] * Scorp1us (4b915e69@gateway/web/freenode/ip.75.145.94.105) Quit (Ping timeout: 250 seconds)
[21:27] * osc (~oscar@80-62-162-242-static.dk.customer.tdc.net) Quit (Read error: Operation timed out)
[21:27] * vext01 (~edd@host-92-20-154-67.as13285.net) Quit (Ping timeout: 252 seconds)
[21:29] * vext01 (~edd@host-92-20-135-75.as13285.net) has joined #jython
[21:31] * whg is now known as zz_whg
[21:53] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[22:07] * mritz (~textual@97.65.251.170) Quit ()
[22:38] * fluxdude (~fluxdude@unaffiliated/fluxdude) Quit (Quit: fluxdude)
[22:44] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[23:08] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)
[23:19] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) has joined #jython
[23:25] * zz_whg is now known as whg
[23:33] * enebo (~enebo@c-75-73-8-169.hsd1.mn.comcast.net) Quit (Quit: enebo)

Index

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