#jython IRC Log

Index

IRC Log for 2015-11-27

Timestamps are in GMT/BST.

[0:04] * jorgew (sid36089@gateway/web/irccloud.com/x-pyqaryrnyrhydidr) has joined #jython
[0:37] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[6:23] * lazybear (~lazybear@radium.atom.fi) Quit (Ping timeout: 265 seconds)
[6:24] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 264 seconds)
[6:36] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[6:38] * binarybitme (~binarybit@162.243.21.247) Quit (*.net *.split)
[6:38] * Cheaterman (~cheaterma@unaffiliated/cheaterman) Quit (*.net *.split)
[6:43] * binarybitme (~binarybit@162.243.21.247) has joined #jython
[8:21] * lazybear (~lazybear@radium.atom.fi) has joined #jython
[8:29] * JStoker (jstoker@unaffiliated/jstoker) Quit (Ping timeout: 272 seconds)
[8:41] * lazybear (~lazybear@radium.atom.fi) Quit (*.net *.split)
[8:42] * paolo (~paolo@unaffiliated/paolo) Quit (*.net *.split)
[8:42] * gthank (~hank@unaffiliated/gthank) Quit (*.net *.split)
[9:03] * binarybitme (~binarybit@162.243.21.247) Quit (*.net *.split)
[9:03] * jorgew (sid36089@gateway/web/irccloud.com/x-pyqaryrnyrhydidr) Quit (*.net *.split)
[9:13] * jorgew (sid36089@gateway/web/irccloud.com/x-pyqaryrnyrhydidr) has joined #jython
[9:20] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[9:22] * binarybitme (~binarybit@162.243.21.247) has joined #jython
[9:33] * paolo (~paolo@2a03:8180:1001:b2:25::12c) Quit (*.net *.split)
[9:34] * jorgew (sid36089@gateway/web/irccloud.com/x-pyqaryrnyrhydidr) Quit (*.net *.split)
[9:34] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[9:34] * jorgew (sid36089@gateway/web/irccloud.com/x-pyqaryrnyrhydidr) has joined #jython
[9:35] * gthank (~hank@ec2-54-173-0-150.compute-1.amazonaws.com) has joined #jython
[9:35] * gthank (~hank@ec2-54-173-0-150.compute-1.amazonaws.com) Quit (Changing host)
[9:35] * gthank (~hank@unaffiliated/gthank) has joined #jython
[9:43] * Cheaterman (~cheaterma@unaffiliated/cheaterman) has joined #jython
[10:07] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) Quit (Ping timeout: 246 seconds)
[10:21] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 240 seconds)
[10:27] * jorgew_ (sid36089@gateway/web/irccloud.com/x-nllvgipuoznmdhmg) has joined #jython
[10:35] * paolo (~paolo@2a03:8180:1001:b2:25::12c) Quit (*.net *.split)
[10:35] * jorgew (sid36089@gateway/web/irccloud.com/x-pyqaryrnyrhydidr) Quit (*.net *.split)
[10:37] * jorgew_ is now known as jorgew
[10:40] * 21WAAFACV (~foo@217.30.184.161) Quit (*.net *.split)
[10:42] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[10:46] * paolo (~paolo@2a03:8180:1001:b2:25::12c) Quit (*.net *.split)
[10:46] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[11:01] * jorgew (sid36089@gateway/web/irccloud.com/x-nllvgipuoznmdhmg) Quit (Ping timeout: 264 seconds)
[11:04] -mquin- [Global Notice] We are again experiencing connectivity problems to some servers due to DDoS attacks. Please bear with us while we ride it out.
[11:24] * paolo (~paolo@2a03:8180:1001:b2:25::12c) Quit (*.net *.split)
[11:28] * lopex (uid4272@gateway/web/irccloud.com/x-wnrnlevjgsyxeivc) Quit (Read error: Connection reset by peer)
[11:35] * grey_ (eaaltone@kapsi.fi) has joined #jython
[11:36] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[11:43] * ebarrett (~edd@vext01.default.vext01.uk0.bigv.io) Quit (*.net *.split)
[11:43] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (*.net *.split)
[11:44] * pdurbin (~pdurbin@server1.greptilian.com) Quit (*.net *.split)
[11:44] * cyraxjoe (~joe@CableLink205-241.telefonia.InterCable.net) Quit (*.net *.split)
[11:44] * verterok (~ggonzalez@156.35.213.162.lcy-02.canonistack.canonical.com) Quit (*.net *.split)
[11:44] * jimbaker (~jbaker@python/psf/jimbaker) Quit (*.net *.split)
[11:48] * pdurbin (~pdurbin@server1.greptilian.com) has joined #jython
[11:48] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[11:48] * jimbaker (~jbaker@python/psf/jimbaker) Quit (Remote host closed the connection)
[11:51] * maxpowa (maxpowa@ipv6.everythingisawesome.us) Quit (Ping timeout: 262 seconds)
[11:57] * maxpowa (maxpowa@2602:ffea:1:45e::1) has joined #jython
[12:01] * Rondom (~rondom@modo.nonmodosedetiam.net) Quit (Quit: No Ping reply in 180 seconds.)
[12:02] * Rondom (~rondom@2a03:b0c0:3:d0::6b:1) has joined #jython
[12:10] * jimbaker (~jbaker@c-76-25-158-6.hsd1.co.comcast.net) has joined #jython
[12:10] * jimbaker (~jbaker@c-76-25-158-6.hsd1.co.comcast.net) Quit (Changing host)
[12:10] * jimbaker (~jbaker@python/psf/jimbaker) has joined #jython
[12:10] * ChanServ sets mode +o jimbaker
[12:11] * verterok (~ggonzalez@156.35.213.162.lcy-02.canonistack.canonical.com) has joined #jython
[12:11] * ebarrett (~edd@vext01.default.vext01.uk0.bigv.io) has joined #jython
[12:13] * cyraxjoe (~joe@CableLink205-241.telefonia.InterCable.net) has joined #jython
[12:36] <Cheaterman> agronholm: Hum, now it says it cannot import site module
[12:38] * verterok (~ggonzalez@156.35.213.162.lcy-02.canonistack.canonical.com) Quit (Ping timeout: 264 seconds)
[12:39] * cyraxjoe_ (~joe@CableLink205-241.telefonia.InterCable.net) has joined #jython
[12:39] <agronholm> Cheaterman: what did you do to make that happen
[12:40] * cyraxjoe (~joe@CableLink205-241.telefonia.InterCable.net) Quit (Ping timeout: 264 seconds)
[12:40] <agronholm> Cheaterman: do remember that you need to recompile all your stuff if you switch to a different jython version
[12:40] * ebarrett (~edd@vext01.default.vext01.uk0.bigv.io) Quit (Ping timeout: 264 seconds)
[12:40] <agronholm> even if the difference is just a single commit
[12:43] * verterok (~ggonzalez@156.35.213.162.lcy-02.canonistack.canonical.com) has joined #jython
[12:45] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[12:45] * ChanServ sets mode +o [Arfrever]
[12:47] <Cheaterman> agronholm: hmm, it's not packed in the jar
[12:47] <Cheaterman> it's hard to find doc on how to do it
[12:47] <agronholm> what is not packed in the jar
[12:47] <agronholm> how to do what
[12:49] <Cheaterman> I'll just pack it manually in the .jar
[12:50] <agronholm> pack what
[12:53] <Cheaterman> agronholm:
[12:53] <Cheaterman> if I understand correctly the thing you told me to do builds a 'standard' jython
[12:53] <Cheaterman> not a standalone one
[12:54] <Cheaterman> and I need a standalone one
[12:54] <agronholm> ah right, sorry
[12:54] <agronholm> ant jar-standalone
[12:54] <agronholm> I'm so used to making jar-complete
[12:57] <Cheaterman> /home/minecraft/spigot/jython-git/dist/bin/jython: No module named pip
[12:57] <agronholm> odd...but jython -m ensurerpip should fix that
[12:57] <agronholm> ensurepip
[12:57] <Cheaterman> agronholm: all I did was clone the git, build with ant, move the dist/jython.jar inside minecraft/lib folder where standalone should be
[12:58] <Cheaterman> and ka boom, can't import site package
[12:58] <agronholm> Cheaterman: but did you try with "ant jar-standalone" then?
[12:58] <agronholm> or did that give you the error?
[12:58] <Cheaterman> which happens whenever I try to use this jar I just built, anywhere else but in its dist/ folder
[12:59] <Cheaterman> where it has Lib/
[12:59] <agronholm> so you can get to the REPL? or?
[13:00] <Cheaterman> Good to know Jython doesn't suffer from GIL though! Just learned that
[13:00] <agronholm> still doesn't mean it's very performance oriented :P
[13:01] <agronholm> Cheaterman: so, talk to me
[13:01] <agronholm> Cheaterman: how far do you get with jython-standalone.jar?
[13:02] <Cheaterman> agronholm: I don't know man
[13:02] <Cheaterman> You tell me?
[13:02] <Cheaterman> What's not packed in the jar is the Lib/ folder
[13:02] <Cheaterman> which has site.py
[13:02] <Cheaterman> and the associated .class
[13:02] <agronholm> Cheaterman: you're telling me you're looking at the build jython-standalone.jar and it has no Lib/ dir?
[13:03] <Cheaterman> the jython I just compiled expects this to be provided externally
[13:03] <agronholm> *built
[13:03] <Cheaterman> I could simply move the LIb/ folder where it expects to find it, but really, that's dirty
[13:03] <agronholm> I don't think you're listening to me
[13:05] <Cheaterman> The Lib/ folder?
[13:05] <Cheaterman> which has site.py
[13:06] <Cheaterman> and the associated .class
[13:06] <Cheaterman> etc etc?
[13:06] <agronholm> yes, when you do "jar tf jython-standalone.jar", does it have the Lib/ directory and site.py?
[13:06] <agronholm> just checking but did you do "ant jar-standalone" previously?
[13:12] * Guest82545 (sid14086@gateway/web/irccloud.com/x-pokuovtnuxjnpvhm) Quit (Remote host closed the connection)
[13:16] <Cheaterman> agronholm: owiiii
[13:16] <Cheaterman> jar-standalone it will be!
[13:16] <Cheaterman> Lemme try that first
[13:16] <agronholm> this is the third time I mentioned it :)
[13:16] <Cheaterman> Because you told me to do jar-complete :)
[13:16] <agronholm> [14:54:09] <@agronholm> ah right, sorry
[13:16] <agronholm> [14:54:30] <@agronholm> ant jar-standalone
[13:17] <agronholm> [14:58:15] <@agronholm> Cheaterman: but did you try with "ant jar-standalone" then?
[13:17] <agronholm> [15:01:21] <@agronholm> Cheaterman: how far do you get with jython-standalone.jar?
[13:17] <Cheaterman> The target seems to work, compiling now
[13:17] <Cheaterman> And I didn't remember -m ensurepip :) will use it too
[13:17] <Cheaterman> agronholm: Also!!!
[13:17] <Cheaterman> Since I rebuild jar-standalone from scratch
[13:18] <Cheaterman> if I pip install sqlalchemy and pymysql prior to that
[13:18] <Cheaterman> they will be in my standalone?
[13:18] <Cheaterman> and no more need for my home-built sqlalchemy.jar?
[13:18] <agronholm> that's not how it works
[13:18] <agronholm> you will need sqlalchemy.jar and you will need to recompile/repackage it
[13:18] <agronholm> maybe
[13:18] * ebarrett (~edd@vext01.default.vext01.uk0.bigv.io) has joined #jython
[13:19] <agronholm> jython is very touchy about its version numbering
[13:20] <Cheaterman> Okay now it fails with a weird error, but that one might be what you said earlier, that I need to recompile everything
[13:21] <Cheaterman> http://pastebin.com/cZNqUcfz
[13:22] <Cheaterman> agronholm: Worth noting we're speaking with a huuuuuge delay because Freenode is under attack
[13:22] <agronholm> right
[13:22] <Cheaterman> That's why our conversation is a bit weird
[13:22] <agronholm> does your standalone jar have that file?
[13:31] * Guest82545 (sid14086@gateway/web/irccloud.com/x-wytozljmmyeavaie) has joined #jython
[13:41] * lopex (uid4272@gateway/web/irccloud.com/x-jqimbssajozlmceh) has joined #jython
[13:49] <Cheaterman> org/python/version.properties
[13:49] <Cheaterman> agronholm: ??? seems to have it
[13:50] <agronholm> Cheaterman: dunno what to say then :/
[13:51] <Cheaterman> agronholm: one guy had the issue, came to IRC, then told you he solved it and that it was path-related
[13:52] * jorgew (sid36089@gateway/web/irccloud.com/x-efgpgvydrkzdbvyg) has joined #jython
[13:52] <Cheaterman> he didn't specify much
[13:52] <agronholm> not very helpful...
[13:52] * lopex (uid4272@gateway/web/irccloud.com/x-jqimbssajozlmceh) Quit (*.net *.split)
[13:52] * Guest82545 (sid14086@gateway/web/irccloud.com/x-wytozljmmyeavaie) Quit (*.net *.split)
[13:52] <Cheaterman> maybe i should restart my whole minecraft server instead of trying to reload the plugin
[13:52] <agronholm> probably a good idea
[13:52] <Cheaterman> which might have kept the old jython.jar in memory
[13:54] <Cheaterman> agronholm: Hey it seems to work!
[13:54] <agronholm> great!
[14:04] <Cheaterman> agronholm: Seems like it works, I'm about to try inserting new rows now
[14:04] <Cheaterman> agronholm: Worth noting, I didn't need to recompile anything
[14:04] <agronholm> good
[14:06] <pdurbin> Cheaterman: heh. neat that you're hacking on Minecraft with jython :)
[14:16] <Cheaterman> agronholm: Insertin new rows fails, gonna paste you the traceback, meanwhile I test in standalone interpreter
[14:20] <Cheaterman> agronholm: Okay I found it, it's a SQLIntegrityError
[14:20] <agronholm> Cheaterman: not a jython problem then
[14:20] <Cheaterman> Because my fields are set to None (NULL) when they should have some value otherwise MySQL throws me
[14:21] <Cheaterman> Would make sense to provide default values in model itself I suppose, gonna work on that
[14:23] <Cheaterman> muahaha default scalar values, totally fine
[14:23] <Cheaterman> I love this ORM <3
[14:27] * paolo (~paolo@2a03:8180:1001:b2:25::12c) Quit (*.net *.split)
[14:30] <Cheaterman> agronholm: not only it works, but a player tried it before me hahahaha
[14:30] <Cheaterman> they really eager for me to add new features, to the point they test them for me ;)
[14:30] <agronholm> Cheaterman: awesome :)
[14:31] <Cheaterman> just a small detail, minecraft returns ip in /IP:PORT format for some reason, gonna use a regexp to parse it
[14:31] <Cheaterman> pdurbin: I know right? The only thing that annoys me so far is debugging, because I don't get very meaningful tracebacks/errors
[14:32] <Cheaterman> That's probably something that can be fixed, and it's not a big issue as long as I write code that works, right? :)
[14:35] <pdurbin> Cheaterman: this is probably a stupid question but is Minecraft free and open source? My kids are playing a bit with Scratch but maybe I can get them into some Minecraft hacking.
[14:35] <agronholm> noap
[14:36] <pdurbin> so would I pay per month or something? how much?
[14:44] <Cheaterman> For the IP format, certainly isn't, but about debugging info, I think something could be done
[14:45] <pdurbin> hmm, it's looking more like it's a one time purchase and then you can probably play as much as you want: https://help.mojang.com/customer/en/portal/articles/325947-where-can-i-buy-minecraft-
[14:48] <Cheaterman> for ip format, a simple ip = ip[1:].split(':')[0] does the trick
[14:48] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[14:51] <Cheaterman> Let's go grab some food hehehe
[14:53] <Cheaterman> agronholm: Thanks a lot, /register works properly :-) I'll code /changepass next, should be piece of cake
[14:53] <agronholm> cheers
[15:21] * lopex (uid4272@gateway/web/irccloud.com/x-grbpphnlfnlvohtt) has joined #jython
[15:49] * Guest82545 (sid14086@gateway/web/irccloud.com/x-lowqyhlcvmoflqkk) has joined #jython
[15:54] * pdurbin (~pdurbin@server1.greptilian.com) Quit (Ping timeout: 250 seconds)
[16:04] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[16:11] * pdurbin (~pdurbin@server1.greptilian.com) has joined #jython
[16:46] * pdurbin (~pdurbin@server1.greptilian.com) Quit (*.net *.split)
[16:46] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (*.net *.split)
[16:46] * paolo (~paolo@2a03:8180:1001:b2:25::12c) Quit (*.net *.split)
[16:52] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[16:56] * pdurbin (~pdurbin@server1.greptilian.com) has joined #jython
[16:56] * paolo (~paolo@2a03:8180:1001:b2:25::12c) has joined #jython
[17:23] * cyraxjoe_ is now known as cyraxjoe
[17:34] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (Quit: Leaving)
[17:34] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[17:35] * grey_ (eaaltone@kapsi.fi) Quit (*.net *.split)
[17:57] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 246 seconds)
[17:58] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[18:19] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 246 seconds)
[18:19] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[18:21] * 21WAAFFYG (eaaltone@217.30.184.161) has joined #jython
[18:28] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 246 seconds)
[19:55] * lazybear (~lazybear@radium.atom.fi) has joined #jython
[22:08] * lac (~quassel@c-ecc4e055.1321-1-64736c11.cust.bredbandsbolaget.se) has joined #jython
[23:02] * Paladiamors (~justin@p02a616.tokynt01.ap.so-net.ne.jp) has joined #jython
[23:55] * 21WAAFFYG (eaaltone@217.30.184.161) 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.