#jython IRC Log

Index

IRC Log for 2017-02-21

Timestamps are in GMT/BST.

[1:51] * xemdetia (xemdetia@nat/ibm/x-dqkntqhaeuhuwiad) Quit (Remote host closed the connection)
[1:52] * xemdetia (xemdetia@nat/ibm/x-fgqebqtarxtdpgio) has joined #jython
[1:53] * xemdetia (xemdetia@nat/ibm/x-fgqebqtarxtdpgio) Quit (Remote host closed the connection)
[4:00] * lopex (uid4272@gateway/web/irccloud.com/x-yptbpnjomyyeqysr) Quit (Quit: Connection closed for inactivity)
[4:20] * Cust0sLimen (~CustosLim@unaffiliated/cust0slim3n) Quit (Ping timeout: 245 seconds)
[4:28] * Cust0sLimen (~CustosLim@unaffiliated/cust0slim3n) has joined #jython
[4:31] * shoemonkey (~shoemonke@2601:240:c802:6be3:5fb:222d:e11:40a3) has joined #jython
[4:33] * shoemonkey (~shoemonke@2601:240:c802:6be3:5fb:222d:e11:40a3) Quit (Remote host closed the connection)
[4:42] * Cust0sLimen (~CustosLim@unaffiliated/cust0slim3n) Quit (Ping timeout: 260 seconds)
[5:02] * Cust0sLimen (~CustosLim@unaffiliated/cust0slim3n) has joined #jython
[7:11] * jimklo (~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com) has joined #jython
[7:47] * dyce (~otr@unaffiliated/dyce) Quit (Ping timeout: 264 seconds)
[8:03] * jimklo (~jimklo@71-84-19-18.dhcp.trlk.ca.charter.com) Quit (Remote host closed the connection)
[8:07] * ohumbel_ (5390f784@gateway/web/freenode/ip.83.144.247.132) has joined #jython
[8:08] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) Quit (Ping timeout: 260 seconds)
[8:09] * ohumbel_ (5390f784@gateway/web/freenode/ip.83.144.247.132) Quit (Client Quit)
[8:09] * ohumbel (5390f784@gateway/web/freenode/ip.83.144.247.132) has joined #jython
[9:55] * lopex (uid4272@gateway/web/irccloud.com/x-snelcfwidhqamlre) has joined #jython
[13:35] * qwebirc84638 (5fa0b092@gateway/web/freenode/ip.95.160.176.146) has joined #jython
[13:51] * qwebirc84638 (5fa0b092@gateway/web/freenode/ip.95.160.176.146) Quit (Quit: Page closed)
[15:31] * xemdetia (xemdetia@nat/ibm/x-adwivmxnmorliohh) has joined #jython
[16:34] * floyd (~Adium@unaffiliated/floyd) has joined #jython
[16:34] <floyd> hi there
[16:34] * jimklo (~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com) has joined #jython
[16:35] <floyd> The page at https://wiki.python.org/jython/JythonFaq/GeneralInfo states "For the next release of Jython, we plan to support the C Python Extension API.". How old is that sentence?
[16:39] * agronholm (~agronholm@2a00-1190-c00e-0000-021f-d0ff-fead-d185.v6.cust.suomicom.net) has left #jython
[17:33] <xentrac> floyd: checked the Wayback Machine?
[17:33] <floyd> xentrac: good idea
[17:39] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[17:39] * ChanServ sets mode +o Arfrever
[17:49] * jimklo (~jimklo@75-128-4-186.dhcp.snlo.ca.charter.com) Quit ()
[18:19] * drgreening (d8ad89aa@gateway/web/freenode/ip.216.173.137.170) has joined #jython
[18:20] * drgreening (d8ad89aa@gateway/web/freenode/ip.216.173.137.170) Quit (Client Quit)
[18:29] * qwebirc59444 (5fa0b092@gateway/web/freenode/ip.95.160.176.146) has joined #jython
[18:39] <qwebirc59444> I'm having trouble running any jython program like this in linux: "/usr/bin/time timeout 60 jython program.py". once the time specified by timeout passes, it doesn't stop execution. I understand it's not really a jython issue, but it doesn't happen with either python or pypy. on the other hand, stuff like timeout or /usr/bin/time on their own work with jython, as does "time timeout 60 jython program.py". would anyone maybe have
[18:45] * Sujittt (b2ff2c36@gateway/web/freenode/ip.178.255.44.54) has joined #jython
[18:50] * Sujittt is now known as aaaaaa
[18:51] * aaaaaa is now known as degeg
[18:51] * qwebirc59444 (5fa0b092@gateway/web/freenode/ip.95.160.176.146) Quit (Quit: Page closed)
[18:53] * degeg (b2ff2c36@gateway/web/freenode/ip.178.255.44.54) Quit (Quit: Page closed)
[18:53] <jimbaker> qwebirc59444, so this looks like timeout interacts poorly with jython's launcher
[18:54] <jimbaker> here's an alternative that should work for you
[18:54] <jimbaker> $ timeout 5 $(jython --print) -c "import time; time.sleep(30)"
[18:55] <jimbaker> the command `jython --print` prints on stdout what is necessary to invoke jython with the actual java command
[18:56] <jimbaker> hope that helps!
[18:56] <jimbaker> floyd, xentrac, re outdated docs - yeah, sorry about that
[18:57] <floyd> jimbaker xentrac: so I understand it correctly that native code is still under way and in progress with JyNI but apart from that not much?
[18:57] <jimbaker> i have very little time for jython these days, and updating docs, while awesome, is not a personal priority item
[18:58] <jimbaker> floyd, correct, jyni is the approach to implement this api
[18:58] <floyd> jimbaker: hehe, don't worry, we've all been there
[18:59] <jimbaker> floyd, thanks for the understanding!
[19:00] <floyd> jimbaker: I see. I wanted to use Python Pillow, but that doesn't work with Jython for those reasons. Now I just wrote a Java class that does the image resizing. And now I'm implementing it in Python with Java classes??? the ugliest solution but probably the one that works best
[19:00] <floyd> ImageIO at least *should* support TIFF images with Java 9
[19:01] <jimbaker> floyd, yeah, everything in pillow is easy enough to do with built-in java
[19:01] <jimbaker> or if not, there's a third party jar
[19:02] <floyd> jimbaker: that's true and wasn't even sure if a dependency makes sense. What's nice with Jython is that I can use both standard libraries (Python and Java), so in this case it saves one more dependency (and that's quiet important in my case)
[19:03] <jimbaker> floyd, got it
[21:24] * floyd (~Adium@unaffiliated/floyd) Quit (Quit: Leaving.)
[22:23] * Rondom (~rondom@modo.nonmodosedetiam.net) Quit (Remote host closed the connection)
[22:23] * paolo (~paolo@unaffiliated/paolo) Quit (Ping timeout: 255 seconds)
[22:24] * siel (~siel@unaffiliated/motley) Quit (Ping timeout: 255 seconds)
[22:24] * paolo (~paolo@unaffiliated/paolo) has joined #jython
[22:24] * siel (~siel@unaffiliated/motley) has joined #jython
[22:25] * Rondom (~rondom@modo.nonmodosedetiam.net) has joined #jython
[22:28] * [Arfrever] (~Arfrever@apache/committer/Arfrever) Quit (Quit: leaving)
[22:33] * [Arfrever] (~Arfrever@apache/committer/Arfrever) has joined #jython
[22:33] * ChanServ sets mode +o [Arfrever]
[23:19] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: ?????????)

Index

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