#jython IRC Log (v0.9)

Index

IRC Log for 2014-09-15

Timestamps are in GMT/BST.

[0:02] * mbooth_ (~mbooth@cpc68386-shef10-2-0-cust10.17-1.cable.virginm.net) has joined #jython
[0:02] * mbooth_ (~mbooth@cpc68386-shef10-2-0-cust10.17-1.cable.virginm.net) Quit (Changing host)
[0:02] * mbooth_ (~mbooth@redhat/mbooth) has joined #jython
[0:02] * jorgew____ (sid36089@gateway/web/irccloud.com/session) has joined #jython
[0:02] * mary_ (~ircfnode@moya.miuark.net) has joined #jython
[0:05] * [Arfreve1] (~Arfrever@minotaur.apache.org) has joined #jython
[0:07] * verterok (~ggonzalez@162.213.35.11) has joined #jython
[0:11] * diametric_ (~diametric@2604:3400:dc1:43:216:3eff:fe27:bf9d) has joined #jython
[0:12] * swiftkey_ (swiftkey@2600:3c03::f03c:91ff:feae:aac) has joined #jython
[0:13] * mbooth (~mbooth@redhat/mbooth) Quit (*.net *.split)
[0:13] * mary (~ircfnode@unaffiliated/mary) Quit (*.net *.split)
[0:13] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (*.net *.split)
[0:13] * swiftkey (swiftkey@2600:3c03::f03c:91ff:feae:aac) Quit (*.net *.split)
[0:13] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (*.net *.split)
[0:13] * verterok` (~ggonzalez@162.213.35.11) Quit (*.net *.split)
[0:13] * jorgew___ (sid36089@gateway/web/irccloud.com/x-biwcxnaavaqokrgq) Quit (*.net *.split)
[0:13] * diametric (~diametric@2604:3400:dc1:43:216:3eff:fe27:bf9d) Quit (*.net *.split)
[0:13] * offbyone (~offbyone@spf.ip6.is-is.ca) Quit (*.net *.split)
[0:13] * jorgew____ is now known as jorgew___
[0:13] * diametric_ is now known as diametric
[0:35] * offbyone_ (~offbyone@spf.ip6.is-is.ca) Quit (Read error: Connection reset by peer)
[0:35] * offbyone (~offbyone@spf.ip6.is-is.ca) has joined #jython
[1:46] * dorkmafia (~dorkmafia@2601:9:680:89b:a083:a429:d714:a200) has joined #jython
[2:19] * dorkmafia (~dorkmafia@2601:9:680:89b:a083:a429:d714:a200) Quit (Ping timeout: 272 seconds)
[4:04] * dorkmafia (~dorkmafia@2601:9:680:89b:9d16:cc9e:e706:236c) has joined #jython
[4:13] <dorkmafia> how would I chagnes this to use _Function instead of CFUNCTION? http://paste.debian.net/120873/
[4:13] <dorkmafia> or is that not possible?
[5:21] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) has joined #jython
[5:34] * mbooth_ (~mbooth@redhat/mbooth) Quit (Ping timeout: 246 seconds)
[5:46] * dorkmafia (~dorkmafia@2601:9:680:89b:9d16:cc9e:e706:236c) Quit (Ping timeout: 272 seconds)
[5:47] * Oti (~ohumbel@adsl-89-217-241-20.adslplus.ch) Quit (Quit: Oti)
[5:53] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) has joined #jython
[6:48] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Read error: Connection reset by peer)
[7:15] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) Quit (Ping timeout: 272 seconds)
[7:31] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[8:04] * jorgew___ (sid36089@gateway/web/irccloud.com/session) Quit (Changing host)
[8:04] * jorgew___ (sid36089@gateway/web/irccloud.com/x-pvsuukbcgnifgmmv) has joined #jython
[8:39] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[8:45] * grey_ (eaaltone@kapsi.fi) has joined #jython
[8:55] * [Arfreve1] (~Arfrever@minotaur.apache.org) Quit (Quit: leaving)
[8:57] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[9:10] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) has joined #jython
[9:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Excess Flood)
[9:15] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[9:15] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) Quit (Ping timeout: 272 seconds)
[11:11] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) has joined #jython
[11:16] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) Quit (Ping timeout: 260 seconds)
[11:31] * Kid_A (~alan@173.218.65.172) has joined #jython
[11:33] * lopex (uid4272@gateway/web/irccloud.com/x-aeuzypeontjofbsg) Quit (Quit: Connection closed for inactivity)
[12:00] * Kid_A (~alan@173.218.65.172) Quit (Ping timeout: 272 seconds)
[12:19] * verterok (~ggonzalez@162.213.35.11) Quit (Changing host)
[12:19] * verterok (~ggonzalez@unaffiliated/verterok) has joined #jython
[13:11] * xemdetia (xemdetia@nat/ibm/x-buwyaldleshoofvw) has joined #jython
[13:12] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) has joined #jython
[13:17] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) Quit (Ping timeout: 272 seconds)
[13:24] * lopex (uid4272@gateway/web/irccloud.com/x-lkqsjjhireuqietc) has joined #jython
[13:32] * Kid_A (~alan@64.22.249.253) has joined #jython
[13:40] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) has joined #jython
[13:49] * Kid_A (~alan@64.22.249.253) Quit (Ping timeout: 272 seconds)
[14:12] * cn28h (~smuxi@li76-236.members.linode.com) has joined #jython
[14:50] * Kid_A (~alan@64.22.249.253) has joined #jython
[14:59] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 250 seconds)
[15:13] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) has joined #jython
[15:18] * dorkmafia (~dorkmafia@2601:9:680:89b:6d79:f2c2:3159:d762) Quit (Ping timeout: 272 seconds)
[15:46] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[16:12] * chrisseaton (sid38584@gateway/web/irccloud.com/x-gfzpwlffbrwenisb) has joined #jython
[16:41] * dorkmafia (~dorkmafia@2601:9:680:89b:f5eb:9618:ae3d:3d24) has joined #jython
[16:43] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 260 seconds)
[16:44] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[16:49] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Ping timeout: 250 seconds)
[16:49] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[17:06] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Ping timeout: 245 seconds)
[17:09] * jimbaker (~jbaker@24.9.252.60) has joined #jython
[17:09] * jimbaker (~jbaker@24.9.252.60) Quit (Changing host)
[17:09] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[17:44] * Kid_A (~alan@64.22.249.253) Quit (Ping timeout: 250 seconds)
[17:59] * Ne0nd0g (~Ne0nd0g@unaffiliated/ne0nd0g) has joined #jython
[18:00] <Ne0nd0g> Hello, i was wondering if someone can help me. I'm trying to connect to MySQL with Jython. It looks like I need to use the zxJDBC package?
[18:01] <agronholm> Ne0nd0g: there was something more recent
[18:02] <Ne0nd0g> a better package than zxJDBC?
[18:02] <Ne0nd0g> Can't I just use MySQL's JDBC?
[18:02] <agronholm> you can, but if you want to use it with python APIs...
[18:03] <Ne0nd0g> Ok, so which driver do I need in my classpath? zxJDBC?
[18:03] <agronholm> the MySQL JDBC driver
[18:04] <agronholm> zxJDBC is included in jython
[18:04] <Ne0nd0g> if I have a sub folder called 'libs' where the MySQL JDBC driver is, can I just write some code to update my classpath to include the "libs" directory?
[18:05] <agronholm> JDBC drivers and the class path are a constant source of trouble
[18:05] <agronholm> you should set your CLASSPATH to include that directory
[18:05] <agronholm> either that, or put the jar in the boot classpath
[18:06] <Ne0nd0g> are you saying to set my classpath from the command line when running the program?
[18:06] <agronholm> yeh
[18:07] <Ne0nd0g> Ok, thanks for the help agronholm
[18:26] <Ne0nd0g> So, there is a better library to use instead of zxJDBC
[18:26] <Ne0nd0g> ?
[18:27] <agronholm> someone else should answer that question
[18:34] <paolo> Ne0nd0g: this one https://code.google.com/p/jyjdbc/
[18:43] <paolo> not that you *have to* use jyjdbc and not zxjdbc; it just claims to be more compliant to Python db api 2.0, with tests proving that
[18:44] <Ne0nd0g> Thanks for the suggestion paolo
[18:44] <Ne0nd0g> i'll look into it
[18:48] <paolo> np, glad to help. i also got help from #jython people (many times ;)
[18:56] <Ne0nd0g> paolo, I was reading through the github page and MySQL isn't listed as a supported backend. Do you happen to have first hand experience?
[18:57] <paolo> nope, i only tried sqlite3 (and worked)
[18:58] <xemdetia> Ne0nd0g, where do you say not supported. All I saw was 'not tested.'
[18:58] <xemdetia> Those are wildly different things!
[18:58] <Ne0nd0g> you are correct xemdetia , my mistake
[18:58] <xemdetia> no problem. :)
[18:59] <Ne0nd0g> my mind did a "well, it's not in the supported list, therefore it's unsupported". But as you noted that isn't true
[18:59] <xemdetia> Well that's the wonders of JDBC
[19:00] <Ne0nd0g> it looks like the last commit for jyjdbc was in 2011? if zxJDBC is part of python, why not use it?
[19:01] <Ne0nd0g> and by commit, I mean the zip available for download
[19:01] <xemdetia> Ne0nd0g, at that point I would just try both and see which one is easier to get up and running
[19:01] <xemdetia> you aren't trying to write a mysql driver, you just want it to work
[19:02] <Ne0nd0g> true
[19:02] <paolo> Ne0nd0g: why don't you try the repository tip instead? (Jan 16, 2013)
[19:23] * syl20bnr (~user@216.98.56.41) has joined #jython
[19:51] * Ne0nd0g_ (~Ne0nd0g@unaffiliated/ne0nd0g) has joined #jython
[19:54] * Ne0nd0g (~Ne0nd0g@unaffiliated/ne0nd0g) Quit (Ping timeout: 258 seconds)
[20:11] <Ne0nd0g_> What IDE do you guys use for Jython?
[20:17] * Kid_A (~alan@64.22.249.253) has joined #jython
[20:17] <xemdetia> Ne0nd0g_, emacs
[20:46] <jimbaker> fwiw, so it's not possible for us to simply drop zxJDBC for 2.7, but since it's not really tested, we cannot really maintain it either
[20:47] <jimbaker> a bit of a dilemma
[20:47] <xemdetia> a new jython install
[20:47] <xemdetia> jython --extra-cobwebs
[20:47] <jimbaker> :)
[20:47] <jimbaker> jython 3.x is the chance to dust
[20:48] <jimbaker> fwierzbicki has been in conversation w/ jyjdbc's author to see if we can include as a built-in zxJDBC replacement
[20:56] <fwierzbicki> Oh yeah I forgot to mention that Actian (his company) agreed to let him sign the PSF contributor agreement for purposes of contributing jyjdbc - so now it's just a matter of doing.
[20:56] <fwierzbicki> jimbaker: ^^^
[20:57] <jimbaker> fwierzbicki, fantastic! sounds like we can drop zxJDBC then, and have jyjdbc pretend to be it :)
[20:57] <fwierzbicki> Just a small matter of coding now :)
[20:58] <jimbaker> fwierzbicki, btw, i have seen some bug reports re the django dev server not working w/ beta 3... i haven't had a chance to drill into it, certainly not today... got a couple of pycon proposals to complete
[20:58] <jimbaker> but i suspect we might need a beta 4 AND a beta 5
[20:59] <fwierzbicki> sure - btw I submitted a proposal too - really just the same one I proposed 2 years ago but got influenza and couldn't be there
[20:59] <fwierzbicki> We'll see if it still flies :)
[20:59] <jimbaker> cool. i plan to say something about how we got to jython 2.7
[20:59] <jimbaker> also another proposal on weakrefs
[20:59] <fwierzbicki> cool - mine as a howto do Jython/Django to get Python into a Java shop
[20:59] <fwierzbicki> with Maven and Spring
[20:59] <jimbaker> fwierzbicki, sounds like a good one, and very timely
[21:00] <fwierzbicki> Which is really just a description of the Jython part of my current job
[21:01] <fwierzbicki> Though I'd like to put out a very simple repo that can be used as a template for that sort of thing as well - maybe put it up in jythontools
[21:01] <jimbaker> fwierzbicki, incidentally, how much would you gain if you had java annotation support in jython via clamp? this is a bit of a drag for our keystone work - we have to write a lot of java wrappers right now
[21:01] <fwierzbicki> The app I have doesn't need it - we use python style decorators and wrap the Java that way
[21:02] <jimbaker> something darjus and i have been planning to work on. but since we emit precise classes, might as well as add java annotation metadata as well
[21:02] <fwierzbicki> though I can see how it would be convenient in general
[21:02] <fwierzbicki> cool
[21:02] <fwierzbicki> If we did something like hibernate I could see it being very useful
[21:03] <jimbaker> in our case, it's spring dependency injection
[21:03] <jimbaker> so we need something to do the DI against
[21:03] <fwierzbicki> ah - hmmm. It is possible that we could use that, but I'd have to think about it.
[21:06] * robbyoconnor (~wakawaka@guifications/user/r0bby) Quit (Max SendQ exceeded)
[21:07] * robbyoconnor (~wakawaka@guifications/user/r0bby) has joined #jython
[21:11] <jimbaker> fwierzbicki, once i get back to having some time to work on clamp, i will ping you about specifics
[21:14] * a42niem (~niem@p578b7daf.dip0.t-ipconnect.de) Quit (Ping timeout: 258 seconds)
[21:22] <fwierzbicki> jimbaker: very cool
[21:26] * Kid_A (~alan@64.22.249.253) Quit (Ping timeout: 260 seconds)
[21:46] * Kid_A (~alan@64.22.249.253) has joined #jython
[21:47] * xemdetia (xemdetia@nat/ibm/x-buwyaldleshoofvw) Quit (Ping timeout: 260 seconds)
[22:01] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Ping timeout: 272 seconds)
[22:15] * Kid_A (~alan@64.22.249.253) Quit (Ping timeout: 258 seconds)
[22:19] * Kid_A (~alan@64.22.249.253) has joined #jython
[22:21] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) Quit (Remote host closed the connection)
[22:22] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) has joined #jython
[22:22] * mike_af (~mike_af@50-77-49-46-static.hfc.comcastbusiness.net) Quit (Changing host)
[22:22] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) has joined #jython
[22:26] * mike_af (~mike_af@unaffiliated/mike-af/x-5454762) Quit (Ping timeout: 246 seconds)
[22:32] * xemdetia (xemdetia@nat/ibm/x-gqzqrcgdejyzeazb) has joined #jython
[22:33] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[23:07] * Kid_A (~alan@64.22.249.253) Quit (Ping timeout: 250 seconds)
[23:34] * fwierzbicki (~Adium@208.sub-70-197-13.myvzw.com) has joined #jython
[23:44] * offbyone_ (~offbyone@spf.ip6.is-is.ca) has joined #jython
[23:52] * dorkmafia (~dorkmafia@2601:9:680:89b:f5eb:9618:ae3d:3d24) Quit (*.net *.split)
[23:52] * lopex (uid4272@gateway/web/irccloud.com/x-lkqsjjhireuqietc) Quit (*.net *.split)
[23:52] * offbyone (~offbyone@spf.ip6.is-is.ca) Quit (*.net *.split)
[23:52] * lopex (uid4272@gateway/web/irccloud.com/x-odvfhcyfxbljdhaj) has joined #jython
[23:56] * xemdetia (xemdetia@nat/ibm/x-gqzqrcgdejyzeazb) Quit (Ping timeout: 246 seconds)
[23:57] * fwierzbicki (~Adium@208.sub-70-197-13.myvzw.com) 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).