#jython IRC Log (v0.9)

Index

IRC Log for 2010-08-10

Timestamps are in GMT/BST.

[0:10] * ttmrichter (~ttmrichte@111.173.97.187) has joined #jython
[0:11] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) has joined #jython
[0:14] * thijstriemstra (~thijstrie@h183130.upc-h.chello.nl) Quit (Ping timeout: 245 seconds)
[0:15] * thijstriemstra (~thijstrie@h183130.upc-h.chello.nl) has joined #jython
[0:16] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)
[1:01] <agronholm> not sure why os x was talked about
[1:02] <agronholm> I for one tested on Linux
[1:07] * tristanbuckner (~tristan@38.99.42.113) Quit (Quit: tristanbuckner)
[1:16] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (*.net *.split)
[1:18] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[1:30] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) Quit (Quit: jabley)
[1:54] * thijstriemstra (~thijstrie@h183130.upc-h.chello.nl) Quit (Ping timeout: 265 seconds)
[1:55] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[2:20] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[4:19] * pigletto (~quassel@109.243.145.66) has joined #jython
[4:36] <jimbaker> pjenvey: in jython.java, you have a comment that InteractiveConsole is always used because alternative consoles (presumably JLineConsole) have issues with standard file streams
[4:38] <jimbaker> it's not clear to me that the stty used by JLineConsole would not properly work here. don't know about windows however
[4:39] <jimbaker> (as in, if it can't do stty, it fails and we go to InteractiveConsole instead)
[5:01] * agronholm_ (~demigod@nblzone-211-17.nblnetworks.fi) has joined #jython
[5:03] * agronholm (~demigod@nblzone-211-17.nblnetworks.fi) Quit (Ping timeout: 258 seconds)
[5:06] * agronholm_ (~demigod@nblzone-211-17.nblnetworks.fi) Quit (Ping timeout: 258 seconds)
[5:25] * stakkars (~tismer@i577B6468.versanet.de) Quit (Read error: Operation timed out)
[5:32] * stakkars (~tismer@i577B4FF2.versanet.de) has joined #jython
[5:57] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Quit: jimbaker)
[6:37] * ttmrichter (~ttmrichte@111.173.97.187) Quit (Quit: Quitting)
[6:37] * ttmrichter (~ttmrichte@111.173.97.187) has joined #jython
[6:41] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[6:49] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) has joined #jython
[7:27] * thobe (~Adium@212-162-171-110.skbbip.com) has joined #jython
[7:44] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[7:50] * ohumbel (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[7:58] * azazel (~user@88-149-142-68.dynamic.ngi.it) has joined #jython
[7:59] <azazel> hi all
[8:38] * richard99 (c1474121@gateway/web/freenode/ip.193.71.65.33) has joined #jython
[8:39] <richard99> hi, anyone on to answer a short question on jython?
[8:40] <richard99> wondering if it is possible to get json support
[8:45] <Oti> azazel -hi
[8:45] <Oti> richard99 - what do you mean by json support?
[8:46] * lheuer (~heuer@unaffiliated/lheuer) has joined #jython
[8:47] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) Quit (Quit: jabley)
[8:47] <richard99> when i try to import json packages in jython, I get error. json is supported in python 2.7, but when I run the same script through jython (2.5.1) I get error
[9:24] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[9:24] <Oti> maybe you need a pure java json package?
[9:39] <richard99> ok, i have been looking a bit
[10:01] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Read error: Connection reset by peer)
[10:01] * jabley_ (~jabley@87-84-49-84.absolutely2.mezzonet.net) has joined #jython
[10:01] * jabley_ is now known as jabley
[10:10] * lopex (lopex@chello089076044027.chello.pl) Quit ()
[10:42] * agronholm (~demigod@nblzone-211-17.nblnetworks.fi) has joined #jython
[10:55] * stakkars (~tismer@i577B4FF2.versanet.de) Quit (*.net *.split)
[11:04] * stakkars (~tismer@i577B4FF2.versanet.de) has joined #jython
[11:09] * juneau001 (~juneau@FESS-116326-2190508-dp.dhcp.fnal.gov) has joined #jython
[11:11] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[12:08] * pigletto (~quassel@109.243.145.66) Quit (Remote host closed the connection)
[12:29] * richard99 (c1474121@gateway/web/freenode/ip.193.71.65.33) Quit (Quit: Page closed)
[12:41] * lucian_ (~lucian@nat76.mia.three.co.uk) has joined #jython
[12:44] * lucian__ (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[12:44] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Ping timeout: 265 seconds)
[12:46] * lucian_ (~lucian@nat76.mia.three.co.uk) Quit (Ping timeout: 240 seconds)
[13:41] * Phil_FL (~Phil_FL@mia-gw.peer1.net) has joined #jython
[14:23] * skay (~skay@pat1.orbitz.net) has joined #jython
[14:28] * jimbaker (~jbaker@64.134.11.176) has joined #jython
[14:30] <jimbaker> richard99: you can install simplejson
[14:31] <jimbaker> (works well)
[14:34] <jimbaker> but it begs two questions. 1. should we provide support for pip/distribute (http://pypi.python.org/pypi/distribute) out of the box with jython 2.5.2? 2. we may want to bundle alan's jyson module (http://opensource.xhaus.com/)
[14:38] <jimbaker> this would require http://opensource.xhaus.com/projects/jyson/wiki/JysonCompliance - nothing here looks more than a day or so of work
[14:42] <pr3d4t0r> jimbaker: I'd vote for using simplejson over Jyson.
[14:42] <pr3d4t0r> jimbaker: simplejson became the json package for all later distributions. Unless Jyson is API compatible, simplejson is a better choice. More Pythonic.
[14:43] <jimbaker> sure, jyson has to be modified to support the standard interface
[14:43] <pr3d4t0r> jimbaker: There you go.
[14:44] <pr3d4t0r> jimbaker: Meanwhile, I've been using simplejson in production since March without issues (on a Jython run-time).
[14:44] <jimbaker> yeah, simplejson works fine for me too
[14:44] <jimbaker> but it's just a question of performance here
[14:45] <pr3d4t0r> jimbaker: I'd be surprised if Jyson gives a significant advantage over simplejson.
[14:46] <pr3d4t0r> jimbaker: Maybe it does; it would seem that the Java implementation still has to call lots of Jython code to map types and so on, which would be slow regardless.
[14:46] <jimbaker> depends on usage. i would imagine that json docs tend to be worked with on perhaps smaller chunks than say an xml doc
[14:47] <pr3d4t0r> jimbaker: http://opensource.xhaus.com/projects/jyson/wiki/JysonEncodeMappings
[14:47] <pr3d4t0r> jimbaker: Yes, that's generally true.
[14:47] <pr3d4t0r> jimbaker: That's what makes me think that performance vs. simplejson isn't that much better.
[14:47] <jimbaker> so it sounds like an issue that should be postponed to 2.6
[14:48] <pr3d4t0r> jimbaker: I just re-read the Jyson spec; it claims to be compatible with the json module.
[14:48] <jimbaker> but missing some current functionality
[14:48] <pr3d4t0r> jimbaker: Yup.
[14:49] <jimbaker> maybe the best bet is to create a jython-simplejson package which plugs into simplejson and adds java perf
[14:49] <pr3d4t0r> jimbaker: simplejson is just more robust. I don't know if I'd trust portability or behaviour in Jyson for a production system.
[14:50] <jimbaker> and can be based on jyson (or perhaps other code out there - whatever is fastest)
[14:50] <jimbaker> such as google-gson
[14:50] <pr3d4t0r> jimbaker: Gson is pretty slow too :)
[14:51] <pr3d4t0r> jimbaker: A client of mine just ran the benchmarks last week. They ditched it in favour of Jersey.
[14:51] <jimbaker> pr3d4t0r: ok, good to know the real world experience here :)
[14:52] <pr3d4t0r> jimbaker: http://www.cowtowncoder.com/blog/archives/2009/09/entry_326.html
[14:52] <pr3d4t0r> jimbaker: Gotta go - I'll be back in an hour.
[14:52] <jimbaker> cool, ttyl
[14:56] <jimbaker> so it looks like jackson is a good choice, http://jackson.codehaus.org/ - the streaming model would also work well with json/simplejson
[15:18] * jimbaker (~jbaker@64.134.11.176) Quit (Quit: jimbaker)
[15:29] * Taggnostr (~x@dyn57-487.yok.fi) has joined #jython
[15:30] <Taggnostr> hello
[15:42] * lheuer (~heuer@unaffiliated/lheuer) Quit (Quit: Closing Time)
[15:51] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[15:53] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Read error: No route to host)
[15:53] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) has joined #jython
[15:55] * jimbaker (~jbaker@c-24-8-39-78.hsd1.co.comcast.net) Quit (Client Quit)
[16:28] * jabley (~jabley@87-84-49-84.absolutely2.mezzonet.net) Quit (Quit: jabley)
[16:50] * lucian__ is now known as lucian
[16:59] * ttmrichter (~ttmrichte@111.173.97.187) Quit (Quit: Quitting)
[17:08] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) has joined #jython
[17:26] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[17:30] <pjenvey> jimbaker - according to my comment here http://bugs.jython.org/msg4665 enabling jline w/ an interactive stdin causes some test failures
[17:31] <pjenvey> I don't remember the details around the failures
[17:32] <Taggnostr> we are going to change the weekly summary of tracker issues for python-dev, is it ok if we change your summary too?
[17:39] * tristanbuckner (~tristan@38.99.42.113) has joined #jython
[17:51] <pjenvey> Taggnostr - what's the change?
[17:52] <Taggnostr> see the last summary sent to python-dev
[17:52] * thobe (~Adium@212-162-171-110.skbbip.com) Quit (Quit: Leaving.)
[17:56] <pjenvey> Taggnostr - sounds good
[17:56] <pjenvey> thanks
[17:57] <Taggnostr> if everything goes ok it will be applied before the next summary on Friday
[17:57] <Taggnostr> if there's something wrong you can complain here: http://psf.upfronthosting.co.za/roundup/meta/issue284
[17:57] <Taggnostr> or reply on python-dev
[18:17] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[18:19] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[18:31] * verterok1 (~ggonzalez@190.188.251.28) has joined #jython
[18:33] * verterok (~ggonzalez@unaffiliated/verterok) Quit (Ping timeout: 252 seconds)
[18:35] * Oti (~ohumbel@adsl-89-217-251-88.adslplus.ch) has joined #jython
[19:07] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) Quit (Ping timeout: 265 seconds)
[19:10] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) has joined #jython
[19:25] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Remote host closed the connection)
[19:26] * juneau001 (~juneau@FESS-116326-2190508-dp.dhcp.fnal.gov) Quit (Quit: juneau001)
[19:27] * verterok1 is now known as verterok
[19:34] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[19:39] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[20:04] * r0bby (~wakawaka@guifications/user/r0bby) Quit (Remote host closed the connection)
[20:04] * r0bby (~wakawaka@guifications/user/r0bby) has joined #jython
[20:14] * tristanbuckner (~tristan@38.99.42.113) Quit (Quit: tristanbuckner)
[20:16] * pigletto (~pigletto@dtu71.neoplus.adsl.tpnet.pl) has joined #jython
[20:30] * agronholm (~demigod@nblzone-211-17.nblnetworks.fi) Quit (Ping timeout: 265 seconds)
[20:31] * agronholm (~demigod@nblzone-211-17.nblnetworks.fi) has joined #jython
[20:56] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Remote host closed the connection)
[21:07] * thobe (~Adium@83.249.252.237) has joined #jython
[21:09] * pigletto (~pigletto@dtu71.neoplus.adsl.tpnet.pl) Quit (Remote host closed the connection)
[21:15] * Phil_FL (~Phil_FL@mia-gw.peer1.net) Quit (Quit: Leaving)
[21:24] * thobe (~Adium@83.249.252.237) Quit (Read error: Connection timed out)
[21:25] * thobe (~Adium@83.249.252.237) has joined #jython
[21:38] * tristanbuckner (~tristan@38.99.42.113) has joined #jython
[21:42] * thobe (~Adium@83.249.252.237) Quit (Read error: Connection timed out)
[21:43] * thobe (~Adium@c83-249-252-237.bredband.comhem.se) has joined #jython
[22:31] * skay (~skay@pat1.orbitz.net) Quit (Quit: skay)
[23:14] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) has joined #jython
[23:19] * lopex (lopex@chello089076044027.chello.pl) Quit (Ping timeout: 265 seconds)
[23:24] * lopex (lopex@chello089076044027.chello.pl) has joined #jython
[23:29] * jabley (~jabley@cpc1-farn4-0-0-cust318.farn.cable.virginmedia.com) Quit (Quit: jabley)
[23:40] * lucian (~lucian@188-222-55-189.zone13.bethere.co.uk) Quit (Remote host closed the connection)
[23:53] * basicer_ (~basicer@ool-ad02e4a3.dyn.optonline.net) Quit ()

Index

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