samcv | yeah i should add a comment to it or something | 00:08 | |
Geth | roast: 5eef15f748 | (Samantha McVey)++ | S05-modifier/ignorecase.t Make the new tests for ignorecase.t more clear + add comment |
00:11 | |
samcv | otherwise nobody will know wtf they're even testing for or be super confused | ||
my unicode test playground i'm working will hopefully automate a lot of this stuff, by shuffling codepoints around and making sure even crazy things still respond properly | 00:12 | ||
u: { .chr.ord != $_ } | 00:41 | ||
unicodable6 | samcv, U+0340 COMBINING GRAVE TONE MARK [Mn] (◌̀) | ||
samcv, U+0341 COMBINING ACUTE TONE MARK [Mn] (◌́) | |||
samcv, 1120 characters in total: gist.github.com/8b68e21e7b676920dc...d2c5308930 | |||
samcv | unidump: U+0340 | 00:44 | |
unicodable6 | samcv, gist.github.com/f22ece6cef5ea8709c...41285e1598 | ||
samcv | unidump: 0x0340 | ||
unicodable6 | samcv, gist.github.com/50586807cd43793f65...c993ecc173 | ||
samcv | still not what i want... | ||
SmokeMachine | jnthn: sorry to bother you, but had you seen the message Zoffix sent to you? | 01:18 | |
Zoffix | time in prague: 2:20 AM; I'd guess jnthn is sleeping :) | 01:21 | |
samcv | oops my bad. it makes nqp::chr 2x faster | 01:49 | |
not 46% faster | |||
that's better though | |||
it completes the same function in 46% of the time as before, so a 2x speed boost | 01:50 | ||
Zoffix | \o/ | ||
SmokeMachine | where is defined the Array[SomeType]? I changed the .perl at src/core/Array.pm, but it downs affect the Array[Int] (for example) | 02:26 | |
(should I ask that at #perl or here?) | 02:28 | ||
Zoffix | s: Array[Int].new, 'perl', \() | 02:29 | |
SourceBaby | Zoffix, Sauce is at github.com/rakudo/rakudo/blob/1bac...ay.pm#L108 | ||
SmokeMachine | Zoffix: thanks! | 02:33 | |
AlexDaniel | unidump: U+0340 | 02:54 | |
unicodable6 | AlexDaniel, gist.github.com/3cf164aa6ed4d8f8c6...404a12ad9e | ||
AlexDaniel | unidump: 0x0340 | ||
unicodable6 | AlexDaniel, gist.github.com/cc114ed60c1b3b0813...d4607265ae | ||
AlexDaniel | it can be a bit smarter when printing the character, but at least that's usable :) | ||
Zoffix | Wooo! I can see the finish line with the Plan \o/ | 03:27 | |
Sleepy. Just need a little coke to perk me up. | 03:28 | ||
This little: i.imgur.com/ezIKNKD.jpg | |||
^_^ | |||
Zoffix puts on the bikeshedding safety gear.... | 05:11 | ||
1:11AM. Good timing :) | |||
Geth | rakudo/nom: ff32415c43 | (Zoffix Znet)++ | docs/2017-IO-Grant--Action-Plan.md Add IO Action Plan to docs |
05:12 | |
Zoffix | 🎉🎉🎉🎈🎈🎈🎊🎊🎊📦📦📦❗❗❗⚠️⚠️⚠️🎉🎉🎉🎈🎈🎈🎊🎊🎊📦📦📦❗❗❗⚠️⚠️⚠️ | 05:13 | |
⚠️ | |||
⚠️ IO Action Plan under TPF's IO Grant is ready for review by core team members: | |||
⚠️ | |||
⚠️ github.com/rakudo/rakudo/blob/nom/...on-Plan.md | |||
⚠️ | |||
⚠️ The title of each of the sections contains a URL to a GitHub Issue. To keep | |||
⚠️ order and any sane record of the concerns, please try to post your comments | |||
⚠️ on those specific GitHub Issues. | |||
⚠️ | |||
⚠️ The review period will last for one week, ending on April 1st (no specific | |||
⚠️ time is set). Please make your comments prior to that date. | |||
⚠️ | |||
🎉🎉🎉🎈🎈🎈🎊🎊🎊📦📦📦❗❗❗⚠️⚠️⚠️🎉🎉🎉🎈🎈🎈🎊🎊🎊📦📦📦❗❗❗⚠️⚠️⚠️ | |||
.tell lizmat if you're interested, IO Action Plan is ready for review. The review period will end April 1st: irclog.perlgeek.de/perl6-dev/2017-...i_14321373 | 05:14 | ||
yoleaux2 | Zoffix: I'll pass your message to lizmat. | ||
Zoffix | .tell jnthn if you're interested, IO Action Plan is ready for review. The review period will end April 1st: irclog.perlgeek.de/perl6-dev/2017-...i_14321373 | ||
yoleaux2 | Zoffix: I'll pass your message to jnthn. | ||
Zoffix | .tell TimToady if you're interested, IO Action Plan is ready for review. The review period will end April 1st: irclog.perlgeek.de/perl6-dev/2017-...i_14321373 | ||
yoleaux2 | Zoffix: I'll pass your message to TimToady. | ||
Zoffix | .seen pmurias | ||
yoleaux2 | I saw pmurias 3 Mar 2017 14:50Z in #perl6-dev: <pmurias> IOninja: re docs accomodating FanLang you want it being easy to toggle them into FanLang mode where all the stuff it doesn't implement is hidden? | ||
Zoffix | .tell pmurias if you're interested, IO Action Plan is ready for review. The review period will end April 1st: irclog.perlgeek.de/perl6-dev/2017-...i_14321373 | ||
yoleaux2 | Zoffix: I'll pass your message to pmurias. | ||
Zoffix | Not sure who else is interested, but ^ see the URL :) | 05:15 | |
Zoffix takes a 30-hour break | |||
In fact.... | |||
ZofBot: stop | |||
ZofBot | Zoffix, Turned off Twitter relay | ||
Zoffix | \o | ||
samcv | unidump: U+D800 | 08:45 | |
lizmat | . | 09:35 | |
yoleaux2 | 05:14Z <Zoffix> lizmat: if you're interested, IO Action Plan is ready for review. The review period will end April 1st: irclog.perlgeek.de/perl6-dev/2017-...i_14321373 | ||
lizmat | Files=1181, Tests=55957, 197 wallclock secs (11.83 usr 4.60 sys + 1165.39 cusr 109.36 csys = 1291.18 CPU) | 09:36 | |
Geth | rakudo/nom: 7ea0f66189 | (Elizabeth Mattijsen)++ | 9 files Make .invert about 10x faster - also move out of Seq, it didn't belong there This was found during planning the hyper/race implementation - add as a dedicated iterator in R:Iti: Invert - makes 1 test fail in S02-types/pair.t It expected X::TypeCheck::Binding whereas it now throws X::TypeCheck ... (6 more lines) |
10:37 | |
lizmat | afk again for some schlepping& | ||
Geth | roast: f895020e6d | usev6++ | 3 files [JVM] Fudge failing tests |
12:50 | |
TimToady starts to recover from Erlang/Elixer Factory | 15:16 | ||
if we get anyone in here wanting to port rakudo to BEAM, please encourage 'em :) | |||
perhaps Seqqy should be called Batchable, with the understanding that Seq implies a single batch :) | 17:05 | ||
timotimo | OK, and feeds would be more like Coordinatable? | 17:06 | |
mst | TimToady: rakudo on BEAM would be very cool | 17:07 | |
also now I want somebody to write OTP in rakudo | |||
TimToady | when they asked me about it, I told them it just needs a champion, "maybe one of you" | ||
timotimo: I'd think feeds would be more like Pipeable :) | 17:09 | ||
timotimo | Floodable :3 | ||
vendethiel | mst: coping with Perl 6 semantics when they're big on immutability might prove a bit hard :) | 17:36 | |
mst | maybe | ||
I write mostly-immutable perl5 and perl6 where I can | |||
Zoffix got bored of taking breaks... | 17:38 | ||
TimToady | I asked them about that, actually, and they said BEAM itself doesn't not enforce immutable; that's Erlang that does it :) | 17:40 | |
I guess they tend to call it "the BEAM" | |||
it's probably a shibboleth to include the definite article :) | 17:41 | ||
jnthn | SmokeMachine: Invite sent, sorry for the delay | 19:22 | |
yoleaux2 | 05:14Z <Zoffix> jnthn: if you're interested, IO Action Plan is ready for review. The review period will end April 1st: irclog.perlgeek.de/perl6-dev/2017-...i_14321373 | ||
jnthn | Phew, I've got all week :) | 19:23 | |
Zoffix | :) | ||
SmokeMachine | jnthn: thanks! np! :) | ||
jnthn | Welcome onboard :) | ||
SmokeMachine++ | |||
SmokeMachine | :) | ||
Zoffix | \o/ | ||
MasterDuke | jnthn: the latest file in moarvm.org/measurements/perl6-bench/ is about two weeks old | ||
and the -releases* files that do exist are empty for about a month before that | 19:25 | ||
jnthn | Hmm, odd | ||
MasterDuke | also, the releases-history graphs all have a weird jump at the end, like there's an off-by-one error and it's graphing some sort of invalid value | 19:28 | |
jnthn | At some point not so long ago I pulled an updated perl6-bench | 19:30 | |
I wonder if that knocked something off | |||
timotimo | i fixed a few b0rked/wrong benchs | 19:31 | |
MasterDuke | what's the difference between getattr and getattrref? | 19:35 | |
timotimo | the latter gives you a container with which you can rw the value in the class | ||
the former gives you just the current value | |||
for attrrefs for int/num you ought to use decont_i/decont_n and assign_i/assign_n to interact with them | 19:36 | ||
SmokeMachine | I did not remove chaplin from rakudo organization's page! :) | 19:38 | |
timotimo | chopin? | ||
MasterDuke | m: class :: { has uint64 $.x; }.new( x => 9223372036854775808 ).x.say' | 19:40 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Two terms in a row at <tmp>:1 ------> 3 }.new( x => 9223372036854775808 ).x.say7⏏5' expecting any of: infix infix stopper statement end statement mod… |
||
MasterDuke | m: class :: { has uint64 $.x; }.new( x => 9223372036854775808 ).x.say | ||
camelia | -9223372036854775808 | ||
timotimo | huh, shouldn't that also be off by one if it accidentally confused signed and unsigned? | 19:41 | |
because there's a - 1 in 2's complement? | |||
MasterDuke | it overflowed to the negative max | 19:42 | |
timotimo | yeah, but isn't negative max one different from max? like 127 vs -128? | ||
geekosaur | yes | 19:43 | |
but the overflow happens if you ask for 128 | |||
timotimo | oh! | ||
yes, that makes a lot of sense | |||
thank you | |||
MasterDuke | i'm trying to figure out where in nqp/rakudo it decided to use signed instead of unsigned | 19:44 | |
SmokeMachine | timotimo: charles chaplin: ibin.co/3GoPnG89E5xv.png | ||
MasterDuke | i kind of got it to call the correct thing in moarvm, but the right result in moar still got turned incorrect | 19:45 | |
timotimo | i always thought his name was charlie chaplin | ||
but yeah, now that you put a border around it i see it | 19:46 | ||
took me a while | |||
Geth | roast: 1db8a2919d | (Elizabeth Mattijsen)++ | integration/advent2011-day23.t Remove senseless hypering The test is about .invert, not about hypering. |
19:49 | |
roast/6.c-errata: 5f7613eb72 | (Elizabeth Mattijsen)++ | integration/advent2011-day23.t Remove senseless hypering The test is about .invert, not about hypering. |
19:53 | ||
dogbert17 | lizmat: are you looking at t/spec/S02-types/pair.t as well? | ||
lizmat | yup | ||
dogbert17 | cool | 19:55 | |
lizmat | aaaaahhh now I know why the test fails :-) | ||
m: (1,2,3).invert | |||
camelia | ( no output ) | ||
lizmat | m: my %h = (1,2,3).invert | ||
camelia | Type check failed in invert; expected Pair but got Int (Int) in block <unit> at <tmp> line 1 |
||
lizmat | Guess I need to remove the sink-all :-) | 19:56 | |
AlexDaniel | Zoffix: maybe you're interested: irclog.perlgeek.de/perl6/2017-03-25#i_14323262 | 19:59 | |
Zoffix | Not interested in anything from that channel. | 20:01 | |
Geth | rakudo/nom: b01d7efd51 | (Elizabeth Mattijsen)++ | src/core/Rakudo/Iterator.pm Make sure sink-all at least does a value check |
20:04 | |
AlexDaniel | “How hard would it be to prevent normalization in a string? I'm thinking about file names, which need to be the same bit-by-bit to work.” | ||
Zoffix: now it is from this channel ↑ | |||
timotimo | utf8-c8 will do that for you | 20:05 | |
but make strings less fun to work with | |||
Geth | roast: f8cd2fc759 | (Elizabeth Mattijsen)++ | S02-types/pair.t Reflect change in actual exception type |
||
AlexDaniel | timotimo: but how does that work exactly? | ||
timotimo | magic | ||
AlexDaniel | timotimo: I mean, how do I create a string like this? | ||
timotimo | go from a Buf or IO to Str via .decode('utf8-c8') | 20:06 | |
AlexDaniel | ah-ha, so you're still starting with a buf | ||
okay | |||
timotimo | well, buf or binary file | ||
er | |||
or you open the file with utf8-c8 encoding | |||
or, you know, use dir and friends, they give you utf8-c8 | |||
lizmat filed RT #131060 so we don't let it fall through the cracks | 20:20 | ||
lizmat prints github.com/rakudo/rakudo/blob/nom/...on-Plan.md and goes afk to read | 20:21 | ||
geekosaur | yes, dir and friends work well when the list of input files is itself in a file... | 20:26 | |
Zoffix | AlexDaniel: that stuff is above my paygrade and isn't in the scope of IO grant. There are issues even without any user's string: gist.github.com/zoffixznet/e12bdef...974792c18b | ||
geekosaur | (not to mention I'm not using it to find a literal filename in the form p6 wants) | 20:27 | |
timotimo | Zoffix: oh crap! that needs a .decode('utf8-c8') somewhere | ||
Zoffix | Ah | ||
timotimo | well, maybe inside moarvm | 20:28 | |
we're already throwing out ops at the moarvm level that give Str from some things (async i/o mostly) | |||
maybe we want to also throw out open with a Str and only allow open with a Buf | |||
only the moarvm-level nqp::open, of course | |||
Woodi | re hyper/race: it's Seq's everywhere... that not make problems for lists and arrays ? | 20:34 | |
timotimo | no | ||
Woodi | also nice producer-consummer implementation is planned :) but maybe in some cases eager chop&thread-sh would be liked by users ? | 20:35 | |
timotimo: ok :) | 20:36 | ||
timotimo | i don't know what you mean by "chop&thread-sh"? | 21:16 | |
Woodi: can you explain that to me? | 21:21 | ||
MasterDuke | m: class :: { has uint64 $.x; }.new( x => 9223372036854775808 ) | 21:36 | |
camelia | ( no output ) | ||
MasterDuke | this will fail with the next moar/nqp bump | 21:37 | |
because something is doing a decont_i, instead of decont_u | 21:38 | ||
locally i've got the MAST::IVal to be unsigned, but bindattr doesn't know about unsigned stuff | 21:39 | ||
but, afk for a while & | |||
lizmat | Zoffix: are you aware that the JVM only knows about absolute paths ? | 21:58 | |
Zoffix: re optimizing IO, have you looked at a profile of 'for ^10000 { "ten".IO.slurp }' where "ten" is a 10-line file ? | 22:20 | ||
the actual slurping of the file takes less than 1% of CPU | 22:21 | ||
$ 6 'for ^10000 { my $slurped = "ten".IO.slurp }' | 22:25 | ||
real0m1.957s | |||
$ 6 'use nqp; for ^10000 { my $PIO := nqp::open("ten","r"); my $slurped = nqp::readallfh($PIO); nqp::closefh($PIO) } | |||
real0m0.236s | |||
which is about 19x faster | 22:26 | ||
we need to get rid of the madness / overenginieering of IO | |||
and delegate all of the $*SPEC stuff to module space, for one | 22:27 | ||
if we want Perl 6 ever to come close to Perl 5 regarding IO, we need to look at this more deeply and more out of the box | 22:29 | ||
and now I'm tired and grumpy, so I should just sleep on it and look at your proposal again tomorrow :-) | |||
good night, #perl6-dev! | |||
timotimo | good night lizmat! | 22:31 | |
MasterDuke | timotimo: you up for any bindattr-for-uints debugging help? | 23:58 | |
timotimo | right now i'm on the way to bed ... already brushed my teeth :S | 23:59 |