#jython IRC Log (v0.9)

Index

IRC Log for 2012-04-24

Timestamps are in GMT/BST.

[0:34] * megaTherion (therion@unix.io) Quit (Ping timeout: 252 seconds)
[0:37] * megaTherion (therion@unix.io) has joined #jython
[0:40] * shashank (~shashank@184-96-142-208.hlrn.qwest.net) has joined #jython
[1:44] * juneau001 (~juneau@50-103-3-12.dklb.il.frontiernet.net) has joined #jython
[1:45] * lheuer1 (~Adium@blfd-4d082af4.pool.mediaWays.net) has joined #jython
[1:46] * lheuer (~Adium@blfd-4d086e46.pool.mediaWays.net) Quit (Ping timeout: 244 seconds)
[4:16] * juneau001 (~juneau@50-103-3-12.dklb.il.frontiernet.net) Quit (Quit: juneau001)
[4:34] * wainersm (~wainersm@189.61.204.85) Quit (Quit: Ex-Chat)
[4:50] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Read error: Connection reset by peer)
[4:52] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[6:26] * shashank (~shashank@184-96-142-208.hlrn.qwest.net) Quit (Read error: Operation timed out)
[7:05] * seletz (~seletz@85.236.236.50) has joined #jython
[7:10] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[7:27] * lheuer1 is now known as lheuer
[8:04] * fwierzbicki_ (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[8:04] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Read error: Connection reset by peer)
[8:04] * fwierzbicki_ is now known as fwierzbicki
[10:18] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 265 seconds)
[10:27] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Ping timeout: 245 seconds)
[11:11] * juneau001 (~juneau@131.225.24.74) has joined #jython
[12:21] * fwierzbicki_ (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) has joined #jython
[12:21] * fwierzbicki (~frank@99-106-170-105.lightspeed.sntcca.sbcglobal.net) Quit (Read error: Connection reset by peer)
[12:21] * fwierzbicki_ is now known as fwierzbicki
[12:41] * wainersm (~wainersm@189.61.204.85) has joined #jython
[13:12] * eanxgeek (eanxgeek@nat/redhat/x-wfommigxgmxefhbg) has left #jython
[13:21] * enebo (~enebo@75.168.81.196) has joined #jython
[13:54] * njoyce (~njoyce@109.203.113.22) Quit (Ping timeout: 246 seconds)
[13:58] * njoyce (~njoyce@109.203.113.22) has joined #jython
[14:07] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) has joined #jython
[15:00] * shashank (~shashank@184-96-142-208.hlrn.qwest.net) has joined #jython
[15:25] * Oti (5390f2dc@gateway/web/freenode/ip.83.144.242.220) Quit (Quit: Page closed)
[15:40] * shashank (~shashank@184-96-142-208.hlrn.qwest.net) Quit (Ping timeout: 240 seconds)
[16:13] <fwierzbicki> jimbaker: hey - it looks like I'm going to need to move our itertools implementation to the new style - at least one of the functions (count) is more like a class in 2.7
[16:14] <fwierzbicki> I saw you corrected my last update of count - hopefully you won't mind having a look at what I do for this
[16:24] <fwierzbicki> oops I meant chain has class behavior
[16:38] <fwierzbicki> Any Jython devs know how gamma/lgamma work? Miki Tebeka is working on our math updates for 2.7 and has a bug but isn't very familiar with these math functions and wanted me to check if there where any computational math types here that could have a look
[17:30] <jimbaker> fwierzbicki, i could take a look at gamma. probably just best to use something like http://commons.apache.org/math/apidocs/org/apache/commons/math/special/Gamma.html
[17:30] <fwierzbicki> jimbaker: Miki is using go's implementation as a guide - he has a cut at it but it has a tricky bug apparently
[17:31] <fwierzbicki> ah he looked at commons - I suggested that if math could be done more directly it would be nice to avoid another dependency
[17:31] <jimbaker> right, that's why you want a good impl :)
[17:32] <fwierzbicki> jimbaker: the go translates very cleanly -- it's nice in that it looks like C without the noise
[17:32] <jimbaker> i suspect we can just grab the source in this case
[17:32] <fwierzbicki> jimbaker: sure - that's another possibility - in one case he found that commons did not do as well as cpython and he still needed to do some by hand stuff ( I think it was our erf)
[17:32] <jimbaker> that's what i have heard (more so than most, i expect, given the team i'm on)
[17:33] <fwierzbicki> sure :)
[17:33] <jimbaker> fwierzbicki, commons has a bad reputation for sure of almost there impls
[17:33] <jimbaker> but i don't think it's across the board either
[17:34] <jimbaker> re itertools.chain, yes, that's one reason i didn't implement it
[17:34] <jimbaker> we should just simply expose it, along with math and builtins
[17:35] <fwierzbicki> jimbaker: that is my plan - I've moved itertools to its own directory and I'll do the expose style
[17:35] <jimbaker> what shashank and i are looking at it is good, but it would require indy to get the desired perf
[17:35] <fwierzbicki> the nice thing is "hg move" keeps the annotations correct
[17:35] <fwierzbicki> jimbaker: sure - some benchmarks I saw for JRuby recently indicate that indy is getting much faster
[17:36] <jimbaker> right, indy is definitely getting there, esp with respect to switchpoints
[18:03] * enebo (~enebo@75.168.81.196) Quit (Quit: enebo)
[18:44] <DanC_> the project I'm working on has one connection to MS SQLServer... and Pydev is pretty cool... I put my toe in the jython water to use sqljdbc.jar, and now I'm being sucked into the gravity of maven
[18:45] <DanC_> I'd like to just use eclipse, ant, and ivy, but I can't convince ivy not to download a .jar file that I already put in the ivy cache
[18:46] <DanC_> (I can't get IvyDE, the Eclipse/Ivy integration, to do much of anything, but I can live without that.0
[18:46] <DanC_> )
[18:46] <DanC_> any/many eclipse/ivy users about?
[19:13] <DanC_> oh... silly me... thought ivy cache was the same as mvn repository
[19:15] <DanC_> I think I'll just punt on automated dependency management. Not critical path to my goal.
[19:16] * juneau001 (~juneau@131.225.24.74) Quit (Quit: juneau001)
[20:22] * shashank (~shashank@ucb-np2-234.colorado.edu) has joined #jython
[20:44] * shashank (~shashank@ucb-np2-234.colorado.edu) Quit (Ping timeout: 248 seconds)
[20:52] * seletz (~seletz@85.236.236.50) Quit (Quit: seletz)
[21:03] <DanC_> gee... did I scare everybody away?
[21:03] <fwierzbicki> cool - "hg copy" is a nice way to extract code into a new file but keep the annotations.
[21:03] <DanC_> now I've got my jython thingy mostly deployed, but I seem to be missing the python standard library
[21:04] <DanC_> ImportError: No module named logging
[21:04] <fwierzbicki> DanC_: reading back - it can get a little slow here sometimes
[21:04] <DanC_> sure
[21:04] <agronholm> DanC_: are you sure you are using the standalone jar?
[21:04] <agronholm> and not just jython.jar from the standard installation?
[21:04] <DanC_> no
[21:05] <agronholm> the normal jython.jar does not contain the standard library
[21:05] <fwierzbicki> DanC_: yeah standalone contains the LIb/
[21:06] * DanC_ investigates getting standalone via the maven repository world... discovers a disconnect
[21:06] <DanC_> no matter...
[21:07] <agronholm> fwierzbicki: I guess there's still no updated jython in maven? or?
[21:08] <DanC_> http://search.maven.org/#artifactdetails|org.python|jython|2.5.0|jar doesn't... oh... maybe it does.
[21:08] <DanC_> I thought it didn't offer a jar
[21:08] <DanC_> it's just a few revs old
[21:08] <DanC_> anyway... I'm using 2.5.3b1
[21:08] <agronholm> that's a huge difference
[21:08] <agronholm> a zillion nasty bugs fixed between that and 2.5.2
[21:09] <DanC_> not to mention 2.5.0
[21:09] * DanC_ hunts for standalone in his 2.5.3b1 install...
[21:09] <agronholm> I meant 2.5.0
[21:09] <agronholm> doesn't 2.5.3b1 suffer from that nasty import bug?
[21:10] * DanC_ comes up empty
[21:10] <DanC_> where is this standalone you speak of?
[21:10] * shashank (~shashank@ucb-np2-234.colorado.edu) has joined #jython
[21:11] <agronholm> try the installer
[21:11] <agronholm> you have an option for creating a standalone jar
[21:12] * DanC_ finds http://wiki.python.org/jython/InstallationInstructions#standalone-mode
[21:15] * shashank (~shashank@ucb-np2-234.colorado.edu) Quit (Ping timeout: 265 seconds)
[21:15] <DanC_> ok. that seems to work.
[21:15] <fwierzbicki> agronholm: no - I was planning to do that on 2.5.3 final
[21:15] <agronholm> ok
[21:17] * DanC_ noodles on waf vs ant/ivy/maven...
[21:18] * wainersm (~wainersm@189.61.204.85) Quit (Quit: Ex-Chat)
[21:31] * makeawish (~makeawish@50-56-93-103.static.cloud-ips.com) Quit (Remote host closed the connection)
[21:31] * makeawish (~makeawish@50-56-93-103.static.cloud-ips.com) has joined #jython
[21:42] <DanC_> is there a nice message passing concurrency idiom/library in jython?
[21:43] <agronholm> zeromq?
[21:43] <agronholm> or am I totally off base
[21:43] <agronholm> not sure what you mean by that
[21:43] <DanC_> I've got a little script that bulk copies data from sqlserver to oracle
[21:44] <DanC_> right now, it reads a chunk of rows, then writes the chunk... wash, rinse, repeat.
[21:44] <DanC_> It occurs to me that it could be reading and writing at the same time.
[21:44] <agronholm> from Queue import Queue
[21:44] <DanC_> maybe "message passing" is overkill... right... Queue.
[21:52] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[23:14] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 240 seconds)

Index

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