Camelia, the Perl 6 bug

IRC log for #parrot, 2013-01-08

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:27 aloha joined #parrot
00:33 Reini joined #parrot
00:48 dalek parrot/rurban/socket-gh909: 2734bd2 | rurban++ | t/pmc/socket.t:
00:48 dalek parrot/rurban/socket-gh909: [GH #909] Add test for chunked socket read
00:48 dalek parrot/rurban/socket-gh909:
00:48 dalek parrot/rurban/socket-gh909: Socket.read will return chunked parts.
00:48 dalek parrot/rurban/socket-gh909: review: https://github.com/parrot/parrot/commit/2734bd23c1
01:04 Reini joined #parrot
01:05 dalek parrot/rurban/sockopt-gh909: 236f8e3 | rurban++ | / (5 files):
01:05 dalek parrot/rurban/sockopt-gh909: [GH #909] Implement Socket.{get,set}sockopt methods
01:05 dalek parrot/rurban/sockopt-gh909: review: https://github.com/parrot/parrot/commit/236f8e3ca5
01:11 bacek joined #parrot
01:11 bacek ~~
01:13 bacek aloha, msg whiteknight I won't able to host aloha in next few weeks. If we still need it we have to move it somewhere
01:13 aloha bacek: OK. I'll deliver the message.
01:13 whiteknight bacek: okay
01:13 bacek aloha, msg cotto I won't able to host aloha in next few weeks. If we still need it we have to move it somewhere
01:13 aloha bacek: OK. I'll deliver the message.
01:14 bacek whiteknight, aloha
01:14 whiteknight howdy bacek. How have things been with you?
01:26 bacek whiteknight, quite busy with RL
01:40 Reini joined #parrot
02:27 Reini joined #parrot
03:23 Reini joined #parrot
03:50 schmooster joined #parrot
04:13 MikeFair joined #parrot
04:28 TonyC joined #parrot
04:31 Reini joined #parrot
06:01 Reini joined #parrot
07:02 Reini joined #parrot
07:34 Mike-PerlRecruiter_ joined #parrot
08:06 Mike-PerlRecruiter_ joined #parrot
08:25 bouncy joined #parrot
09:42 Psyche^ joined #parrot
12:49 TonyC joined #parrot
13:01 TonyC joined #parrot
13:05 Reini joined #parrot
13:06 TonyC joined #parrot
13:12 Mike-PerlRecruiter_ joined #parrot
13:17 TonyC joined #parrot
13:22 TonyC joined #parrot
13:31 TonyC joined #parrot
13:45 TonyC joined #parrot
14:08 TonyC joined #parrot
14:27 PacoAir joined #parrot
14:35 TonyC joined #parrot
15:06 mtk joined #parrot
15:10 PacoAir joined #parrot
15:41 dalek parrot/rurban/sockopt-gh909: 3f17b60 | rurban++ | / (6 files):
15:41 dalek parrot/rurban/sockopt-gh909: [GH #909] Add SO_ and SOL_ definitions, add setsocktopt test
15:41 dalek parrot/rurban/sockopt-gh909:
15:41 dalek parrot/rurban/sockopt-gh909: Do not use the g/set_flags vtable interface for g/setsocktopt methods.
15:41 dalek parrot/rurban/sockopt-gh909: Be explicit as it is for sockets only.
15:41 dalek parrot/rurban/sockopt-gh909: review: https://github.com/parrot/parrot/commit/3f17b60f1f
15:47 dmalcolm joined #parrot
16:00 bluescreen joined #parrot
16:40 rurban I'm now trying to adjust socket buffer sizes for read and send, to avoid chunked buffers
16:41 rurban This should lead to a simplified API and better socket performance
16:47 Coke is this a change that makes rakudo happy also?
16:48 Coke or is it unrelated to those socket issues?
16:51 rurban It will make rakudo happy, yes (the backcompat option), and it will increase performance for reading and sending.
16:51 rurban GH  909
16:51 Hunger joined #parrot
16:54 rurban But it will support dirty, non-proper socket programming style. VB like
16:57 Coke rurban++ # making rakudo happy
16:59 rurban I'm not sure if making rakudo happy is the right thing to do here. Most rakudo programmers will not want to see dirty socket programming styles. you really have to loop over recv()
16:59 rurban same for send()
16:59 rurban But I try to extend the internal socket buffer sizes, so in most cases it will work dirty-style, I think. And it should be faster
17:04 moritz I can also change rakudo to do the looping
17:04 Coke faster is good.
17:09 rurban moritz: yes, rakudo really has to loop. I'll optimize our socket read and send, but in some cases you'll still have to loop over it.
17:09 rurban See https://github.com/parrot/parrot/commit/​2734bd23c1c14c6b5fb48fc37be692bda509726b
17:12 rurban Sockets use two internal buffers, SNDBUF and RCVBUF. parrot already loops over the string to send in chunks. But we should not loop over the OS or HW buffer size.
17:13 rurban I'll try enhance the buffers, but e.g. enhancing the SNDBUF while sending failed for me.
17:19 Reini joined #parrot
17:25 rurban cannot we assign a string encoding to a socket? I can only see that we read the encoding, and it's always default.
17:30 Reini joined #parrot
17:44 Coke should sockets be strings or bytes?
17:56 rurban currently bytes. but users might want to send encoded strings. much easier
17:56 rurban e.g. a websocket should be utf-8
17:58 Coke not at the parrot level, I wouldn't expect.
17:58 Coke I could see a HLL making a wrapper that did it. (what if you send only half the bytes of a character in this chunk, e.g.)
17:59 moritz well, but since all HLLs would need to do that, it can happen on the parrot level right away, no?
18:00 PacoAir joined #parrot
18:03 rurban we'd just neet the set_encoding method for the PMC Socket
18:03 moritz don't we have one already?
18:04 moritz rakudo has a line
18:04 moritz $PIO.encoding(nqp::unbox_s(PAR​ROT_ENCODING(self.encoding)))
18:04 moritz (but it's commented out :-/ )
18:19 Reini joined #parrot
18:44 PacoAir joined #parrot
18:53 dalek nqp: 6a9828f | rurban++ | tools/build/Makefile.in:
18:53 dalek nqp: [GH #71] Add -L. -X. to parrot for newer parrots.
18:53 dalek nqp:
18:53 dalek nqp: See https://github.com/parrot/parrot/issues/368
18:53 dalek nqp: review: https://github.com/perl6/nqp/commit/6a9828fbd1
18:53 dalek nqp: c52df3f | rurban++ | tools/build/Makefile.in:
18:53 dalek nqp: Merge branch 'dot-libpath-gh71'
18:53 dalek nqp: review: https://github.com/perl6/nqp/commit/c52df3fcba
19:01 Reini joined #parrot
19:02 contingencyplan joined #parrot
19:19 Reini joined #parrot
19:37 Reini joined #parrot
22:53 bluescreen joined #parrot
22:57 dalek nqp: cd827db | jnthn++ | src/QAST/Operations.nqp:
22:57 dalek nqp: Add nqp:: mappings for some 6model operations.
22:57 dalek nqp: review: https://github.com/perl6/nqp/commit/cd827db609
22:57 dalek nqp: 591e59b | jnthn++ | src/stage0/ (9 files):
22:57 dalek nqp: Update bootstrap to get new nqp:: ops.
22:57 dalek nqp: review: https://github.com/perl6/nqp/commit/591e59b027
22:57 dalek nqp: 808a0d9 | jnthn++ | src/ (3 files):
22:57 dalek nqp: Some more pir:: => nqp:: in the MOP.
22:57 dalek nqp: review: https://github.com/perl6/nqp/commit/808a0d91d0
22:58 whiteknight joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced