#jython IRC Log (v0.9)

Index

IRC Log for 2014-12-28

Timestamps are in GMT/BST.

[1:38] * onr (~onr@78.160.107.227) has joined #jython
[2:16] <onr> Does Jython work well with JavaFx 8?
[3:03] * onr (~onr@78.160.107.227) Quit (Quit: onr)
[4:19] * Rondom_ is now known as Rondom
[4:45] * AndyBotwin (~botwin@unaffiliated/andybotwin) Quit (Read error: Connection reset by peer)
[4:47] * AndyBotwin (~botwin@unaffiliated/andybotwin) has joined #jython
[5:31] * AndyBotwin (~botwin@unaffiliated/andybotwin) Quit (Quit: Leaving)
[5:31] * AndyBotwin (~Kevin@unaffiliated/andybotwin) has joined #jython
[8:07] * AndyBotwin (~Kevin@unaffiliated/andybotwin) Quit (Quit: Leaving)
[8:18] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[9:27] * lheuer (~Adium@unaffiliated/lheuer) Quit (Read error: Connection reset by peer)
[9:38] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[10:30] * lheuer (~Adium@unaffiliated/lheuer) Quit (Read error: Connection reset by peer)
[11:15] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[12:03] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 250 seconds)
[13:13] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) has joined #jython
[13:27] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) Quit (Quit: Leaving)
[13:31] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) has joined #jython
[13:32] <Paladiamors> hello hello
[13:33] <Paladiamors> trying to use sockets in jython, with select and poll.
[13:34] <Paladiamors> neither seems to unblock after registering readable sockets to them and sending data to the sockets -- (should have data ready for reading).
[13:34] <Paladiamors> anyone got select or poll to work for them in jython?
[13:46] * AndyBotwin (~botwin@unaffiliated/andybotwin) has joined #jython
[14:06] <agronholm> Paladiamors: I don't think sockets are automatically supposed to go to unblocked state anyway
[14:07] <Paladiamors> when there is no data, they block --> hence select is used to check if there is data in the socket and select returns the socket with data for reading
[14:08] <agronholm> yes
[14:08] <agronholm> so the first read should never block IIRC
[14:08] <agronholm> the second might
[14:08] <Paladiamors> the problem is that even if you do select.select([sock],[],[])
[14:08] <Paladiamors> while select is waiting, you send data to the socket, select doesn't return
[14:09] <Paladiamors> seems to be the experience that I am having in jython.
[14:09] <agronholm> you mean, when you send data from the other end?
[14:09] <Paladiamors> yup
[14:09] <Paladiamors> (sry if that wasn't clear)
[14:09] <agronholm> just checking
[14:09] <Paladiamors> I got example code if you want to try
[14:09] <agronholm> put it in a pastebin
[14:10] <agronholm> and which jython version are you trying it on?
[14:10] <Paladiamors> 2.7r3 in ubuntu
[14:12] <Paladiamors> http://pastebin.com/YY2w4nji
[14:17] <agronholm> Paladiamors: Socket objects have no read() method
[14:17] <Paladiamors> sorry, yeah recv
[14:17] <Paladiamors> but is it getting through the select for you?
[14:19] <agronholm> it's not
[14:19] <agronholm> let me check
[14:20] <agronholm> yeah, not working
[14:20] <agronholm> jimbaker should check this out
[14:20] <agronholm> he wrote the new socket code
[14:22] <Paladiamors> that would be cool it could be looked into. I see that he is in the chat here maybe afk
[14:23] <Paladiamors> should I log a bug somewhere for this?
[14:23] <agronholm> wouldn't hurt
[14:23] <agronholm> bugs.jython.org
[14:24] <Paladiamors> awesome, will do
[14:50] * viju (~viju@183.87.230.165) has joined #jython
[15:16] * Arfrever (~Arfrever@apache/committer/Arfrever) Quit (Quit: Ex??re)
[15:58] * ebarrett (~edd@host-2-97-169-93.as13285.net) Quit (Remote host closed the connection)
[16:25] * viju (~viju@183.87.230.165) Quit (Quit: WeeChat 0.3.7)
[17:27] * lheuer (~Adium@unaffiliated/lheuer) has joined #jython
[18:06] * ebarrett (~edd@host-2-97-169-93.as13285.net) has joined #jython
[18:30] * Paladiamors (~justin@pa9b391.tokynt01.ap.so-net.ne.jp) Quit (Ping timeout: 252 seconds)
[21:07] * Arfrever (~Arfrever@apache/committer/Arfrever) has joined #jython
[21:48] * AndyBotwin (~botwin@unaffiliated/andybotwin) Quit (Read error: Connection reset by peer)
[23:23] * AndyBotwin (~botwin@177.16.104.108) has joined #jython
[23:23] * AndyBotwin (~botwin@177.16.104.108) Quit (Changing host)
[23:23] * AndyBotwin (~botwin@unaffiliated/andybotwin) has joined #jython
[23:26] * lheuer (~Adium@unaffiliated/lheuer) Quit (Ping timeout: 250 seconds)
[23:43] * ebarrett (~edd@host-2-97-169-93.as13285.net) Quit (Quit: zzz)
[23:48] * AndyBotwin (~botwin@unaffiliated/andybotwin) Quit (Read error: Connection reset by peer)
[23:48] * AndyBotwin (~botwin@177.16.104.108) has joined #jython
[23:48] * AndyBotwin (~botwin@177.16.104.108) Quit (Changing host)
[23:48] * AndyBotwin (~botwin@unaffiliated/andybotwin) has joined #jython

Index

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