#jython IRC Log (v0.9)


IRC Log for 2016-06-29

Timestamps are in GMT/BST.

[3:56] * siel (~siel@unaffiliated/motley) Quit (Ping timeout: 250 seconds)
[4:00] * stewori (~stefan@ip-95-223-159-149.hsi16.unitymediagroup.de) Quit (Quit: Leaving.)
[4:04] * siel (~siel@unaffiliated/motley) has joined #jython
[5:47] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) Quit (Quit: Leaving.)
[12:33] * TomA (~TomA@c-68-32-46-223.hsd1.mi.comcast.net) has joined #jython
[13:56] * maucar (~maurizioc@c-24-62-42-67.hsd1.ma.comcast.net) has joined #jython
[14:06] * xemdetia (xemdetia@nat/ibm/x-nifpffptyldhaoad) has joined #jython
[16:08] * Cheaterman (~cheaterma@unaffiliated/cheaterman) Quit (Ping timeout: 240 seconds)
[16:10] * Cheaterman (~cheaterma@unaffiliated/cheaterman) has joined #jython
[17:05] * fwierzbicki (~Adium@99-106-169-5.lightspeed.sntcca.sbcglobal.net) has joined #jython
[18:25] * pizzaman (~pm@mary008-0301-dhcp-153.bu.edu) Quit (Ping timeout: 240 seconds)
[18:29] * pizzaman (~pm@mary008-0301-dhcp-153.bu.edu) has joined #jython
[18:36] * pizzaman (~pm@mary008-0301-dhcp-153.bu.edu) Quit (Ping timeout: 244 seconds)
[18:53] * pizzaman (~pm@wireless1x-168-122-9-133.bu.edu) has joined #jython
[19:09] * deepy (deepy@wrongplanet/deepa) Quit (Quit: meow)
[19:09] * deepy (deepy@wrongplanet/deepa) has joined #jython
[19:26] * pizzaman (~pm@wireless1x-168-122-9-133.bu.edu) Quit (Ping timeout: 240 seconds)
[19:28] * teletubbie (~T.T@unaffiliated/teletubbie) Quit (Quit: ZNC 1.6.3 - http://znc.in)
[19:29] * teletubbie (~T.T@unaffiliated/teletubbie) has joined #jython
[19:35] * pizzaman (~pm@wireless1x-168-122-9-133.bu.edu) has joined #jython
[19:49] * pizzaman (~pm@wireless1x-168-122-9-133.bu.edu) Quit (Ping timeout: 252 seconds)
[19:50] * pizzaman (~pm@mary008-0301-dhcp-153.bu.edu) has joined #jython
[20:36] * maucar (~maurizioc@c-24-62-42-67.hsd1.ma.comcast.net) Quit (Quit: Leaving)
[20:54] * TomA (~TomA@c-68-32-46-223.hsd1.mi.comcast.net) Quit (Remote host closed the connection)
[21:03] * maucar (~Maurizio@85.f9.5177.ip4.static.sl-reverse.com) has joined #jython
[21:03] * maucar (~Maurizio@85.f9.5177.ip4.static.sl-reverse.com) Quit (Remote host closed the connection)
[21:36] * stewori (~stefan@ has joined #jython
[22:14] <stewori> qwebirc48359, agronholm: Regarding the SymPy-thread yesterday. I'd appreciate if your findings could make their way to the issue tracker.
[22:15] <stewori> However the method-length restriction regarding sympy is already mentioned in issue1777
[22:15] <agronholm> stewori: right, the geteuid thing?
[22:15] <stewori> Exactly
[22:15] <agronholm> can't help but to wonder if this was already fixed in pip
[22:15] <agronholm> I recall sending some jython specific PR at some point
[22:17] <stewori> Given that getuid and geteuid are only available on unix systems (or actually posix?), it should not be required on Windows. I suspect sympy might be misguided by looking at os.name to determine platform...?
[22:17] <agronholm> stewori: in case you missed the tracebacks, the error was from pip
[22:18] <agronholm> not sympy
[22:20] <stewori> Did not yet look into the details, but however: Then pip might be fooled by os.name. But right, that's strange since PIP is known to work with Jython, isn't it?
[22:21] <agronholm> yes, and I've specifically contributed code to fix compatibility issues
[22:21] <stewori> Then we probably cannot identify the issue without further information from qwebirc48359.
[22:21] <agronholm> why
[22:21] <agronholm> I can reproduce the issue just fine
[22:22] <agronholm> installing *anything* on jython+windows is broken
[22:22] <stewori> oh, okay. That's nice!
[22:22] <stewori> (That you can reproduce it)
[22:22] <stewori> (not that it's broken)
[22:22] <agronholm> yeah so the only sympy specific issue is the method length limitation
[22:25] <stewori> Than it might actually be an os.name related issue in PIP. I experienced similar stuff with ctypes. Maybe it checks for various special system-names and finally defaults to posix
[22:26] <agronholm> it's probably like this: if os.name != 'win32': <use os.geteuid()>
[22:34] <stewori> In JyNI I solved platform-detection issues of this kind by inserting a "Shadow-String" (https://github.com/Stewori/JyNI/blob/master/JyNI-Java/src/JyNI/PyShadowString.java) into PySystemState.platform
[22:36] <stewori> I didn't want to alter the value 'java' in os.name, because it's actually the correct value. Extensions that don't care for this value are doing something wrong, they should explicitly threat the java-case.
[22:37] <agronholm> well, this is why jython has os._name
[22:37] <agronholm> though I'm not entirely sure why this is so; I've removed it in jython 3
[22:38] <agronholm> in jython 3 os.name is the proper name
[22:38] <stewori> extensions usually don't look at _name
[22:38] <agronholm> not "java" or anything
[22:38] <agronholm> yes, _name is a jython specific thing
[22:38] <agronholm> not sure how ironpython does this
[22:38] <stewori> having the proper name in os.name makes things much easier for sure
[22:39] <agronholm> we can't change things in jython 2 :/
[22:39] <stewori> However the Shadow-string hack allows to keep os.name as 'java', while still guiding extensions to the right platform if they look at it
[22:40] <stewori> maybe I could port it to Jython
[22:40] <agronholm> I'm personally moving away from Jython
[22:41] <agronholm> I'll be doing all my front-end development with Angular2 (on top of either Electron for desktop apps and Cordova for mobile)
[22:41] <agronholm> all my backend stuff will be on top of the Asphalt framework running on python 3.5+
[22:51] <stewori> I'm glad to hear that you found a proper setup for your work. Still the geteuid-issue should be solved or at least tracked.
[22:59] <stewori> Regarding the method-length restriction: I experienced this limitation in PyOpenGL too. Usually these methods of extreme length arose from code-generation and could trivially be split into multiple shorter ones. Maybe it would be worth it to apply this in a Jython-specific sympy-fork.
[23:00] * xemdetia (xemdetia@nat/ibm/x-nifpffptyldhaoad) Quit (Ping timeout: 246 seconds)
[23:10] * maucar (~Maurizio@85.f9.5177.ip4.static.sl-reverse.com) has joined #jython
[23:13] * maucar (~Maurizio@85.f9.5177.ip4.static.sl-reverse.com) Quit (Client Quit)
[23:17] * pizzaman (~pm@mary008-0301-dhcp-153.bu.edu) Quit (Ping timeout: 252 seconds)


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