Zoffix chalks another -1 for "Perl 6" name | 01:28 | ||||||||||||||||||||||||||||||||||
Doesn't justify sanely: i.imgur.com/hkPI2XP.png | |||||||||||||||||||||||||||||||||||
timotimo | Zoffix: what happens if you use a non-breaking sace or something fancy like that? | 01:29 | |||||||||||||||||||||||||||||||||
yoleaux | 3 Nov 2017 23:57Z <MasterDuke> timotimo: followed jnthn's advice and got a general protection fault in valgrind with azawawi's test code: gist.github.com/MasterDuke17/ee516...4ca4e72e82 | ||||||||||||||||||||||||||||||||||
Zoffix | timotimo: yeah, I did use nbsp | ||||||||||||||||||||||||||||||||||
Geth | rakudo: MasterDuke17++ created pull request #1231: Convert the rest of the `{ * }` to `{*}` |
01:39 | |||||||||||||||||||||||||||||||||
synopsebot | RAKUDO#1231 [open]: github.com/rakudo/rakudo/pull/1231 Convert the rest of the `{ * }` to `{*}` | ||||||||||||||||||||||||||||||||||
Geth | rakudo: 102fbd5179 | (Daniel Green)++ | 47 files Convert the rest of the `{ * }` to `{*}` |
01:42 | |||||||||||||||||||||||||||||||||
rakudo: 33d476d1be | (Zoffix Znet)++ (committed using GitHub Web editor) | 47 files Merge pull request #1231 from MasterDuke17/more_normalizing_proto_bodies Convert the rest of the `{ * }` to `{*}` |
|||||||||||||||||||||||||||||||||||
Zoffix | m: use NativeCall; sub strnlen (Str is encoded('ascii') --> size_t) is native {}; say strnlen 'I NativeCall Perl 6'; | 01:51 | |||||||||||||||||||||||||||||||||
camelia | 19 | ||||||||||||||||||||||||||||||||||
Zoffix | m: use NativeCall; sub strnlen (Str is encoded('ascii') --> size_t) is native {}; say strnlen 'I NativeCall Perl 6'; say chars 'I NativeCall Perl 6' | ||||||||||||||||||||||||||||||||||
camelia | 2 19 |
||||||||||||||||||||||||||||||||||
Zoffix | Why'd it change to "2" after added more unrelated code afterwards? | ||||||||||||||||||||||||||||||||||
Oh, I'm calling the wrong function; meant `strlen` | 01:54 | ||||||||||||||||||||||||||||||||||
m: use NativeCall; sub strlen (Str --> size_t) is native {}; say strlen 'I love Perl 6!'; | 02:02 | ||||||||||||||||||||||||||||||||||
camelia | 14 | 02:03 | |||||||||||||||||||||||||||||||||
Zoffix | Would love a more interesting NativeCall example that takes about the same amount of code. | ||||||||||||||||||||||||||||||||||
Geth | rakudo: MasterDuke17++ created pull request #1232: Add some INTERPOLATE variations |
04:32 | |||||||||||||||||||||||||||||||||
synopsebot | RAKUDO#1232 [open]: github.com/rakudo/rakudo/pull/1232 Add some INTERPOLATE variations | ||||||||||||||||||||||||||||||||||
samcv | MasterDuke++ | ||||||||||||||||||||||||||||||||||
this makes me happy :} | 04:33 | ||||||||||||||||||||||||||||||||||
MasterDuke | heh, glad to hear it. now i'm off to get some sleep | 04:35 | |||||||||||||||||||||||||||||||||
AlexDaniel | m: say Order.^mro | 10:27 | |||||||||||||||||||||||||||||||||
camelia | ((Order) (Int) (Cool) (Any) (Mu)) | ||||||||||||||||||||||||||||||||||
AlexDaniel | isn't it weird that there's no Enum? | ||||||||||||||||||||||||||||||||||
[Tux] |
|
12:52 | |||||||||||||||||||||||||||||||||
MasterDuke | hm, looks like all the test-t's got a little slower | 12:54 | |||||||||||||||||||||||||||||||||
jnthn | AlexDaniel: No, enum types are done as subtypes of the enum's base type, which is Int. They compose a few roles into that, such as the Enumeration role | ||||||||||||||||||||||||||||||||||
AlexDaniel | ok | 13:11 | |||||||||||||||||||||||||||||||||
MasterDuke | m: my $s = 1_000_000; my $b = ^$s; my $p = (^$s).map({$b[$_]}); say $p[*-1]; say now - INIT now | ||||||||||||||||||||||||||||||||||
camelia | 999999 3.4725444 |
||||||||||||||||||||||||||||||||||
MasterDuke | m: my $s = 1_000_000; my $b = ^$s; my $p = $b[^$s]; say $p[*-1]; say now - INIT now | ||||||||||||||||||||||||||||||||||
camelia | 999999 4.0715540 |
||||||||||||||||||||||||||||||||||
MasterDuke | on my machine i consistently see that second form ~0.7s slower | 13:12 | |||||||||||||||||||||||||||||||||
oh, List vs Seq | 13:13 | ||||||||||||||||||||||||||||||||||
i still would have expected the slice to be faster | 13:14 | ||||||||||||||||||||||||||||||||||
Geth | roast: 284ff78be6 | usev6++ | S05-mass/properties-general.t [jvm] Re-fudge unicode tests, fixed on Moar only |
13:28 | |||||||||||||||||||||||||||||||||
roast: 8e5f7252d2 | usev6++ | S11-modules/export.t [jvm] Fudge tests for RT #129215 |
13:40 | ||||||||||||||||||||||||||||||||||
synopsebot | RT#129215 [open]: rt.perl.org/Ticket/Display.html?id=129215 Passing a Hash[...] as a parameter to an imported sub | ||||||||||||||||||||||||||||||||||
Zoffix | m: say Order.^roles | 14:28 | |||||||||||||||||||||||||||||||||
camelia | No such method 'roles' for invocant of type 'Perl6::Metamodel::EnumHOW'. Did you mean any of these? does roll in block <unit> at <tmp> line 1 |
||||||||||||||||||||||||||||||||||
Zoffix | $ echo "" | perl6 -e '$*IN.encoding: Nil; say $*IN.read: 10000000; say $*IN.eof;' | 14:41 | |||||||||||||||||||||||||||||||||
Buf[uint8]:0x<0a> | |||||||||||||||||||||||||||||||||||
False | |||||||||||||||||||||||||||||||||||
Doesn't seem to happen with normal handles. Perl gives True | 14:46 | ||||||||||||||||||||||||||||||||||
Zoffix investigamates | 14:47 | ||||||||||||||||||||||||||||||||||
The answers on this one demonstrate just how awful the strategy to program using SO answers is. 3 experts answered. All wrong in some way or another: stackoverflow.com/questions/470467...y/47106348 | 14:57 | ||||||||||||||||||||||||||||||||||
ehehe see it... I see the bug! | 15:03 | ||||||||||||||||||||||||||||||||||
Zoffix readies the sandwich bread | |||||||||||||||||||||||||||||||||||
pmurias | Zoffix: SO is sometimes usefull a source of ideas if you assume the answers are likely wrong ;) | 15:14 | |||||||||||||||||||||||||||||||||
Zoffix | Yeah :D | ||||||||||||||||||||||||||||||||||
Geth | rakudo/js: 6 commits pushed by pmurias++
|
15:26 | |||||||||||||||||||||||||||||||||
Zoffix | ZOFFLOP: t/spec/S17-procasync/basic.t | 15:29 | |||||||||||||||||||||||||||||||||
Geth | nqp: a25acd1e82 | (Zoffix Znet)++ | tools/build/MOAR_REVISION Bump MoarVM |
15:37 | |||||||||||||||||||||||||||||||||
Ā¦ nqp: version bump brought these changes: github.com/MoarVM/MoarVM/compare/2...6-g2f0672f | |||||||||||||||||||||||||||||||||||
rakudo: a8c789ecac | (Zoffix Znet)++ | tools/build/NQP_REVISION Bump NQP |
|||||||||||||||||||||||||||||||||||
Zoffix | ZOFVM: Files=1283, Tests=152838, 157 wallclock secs (21.96 usr 3.53 sys + 3394.35 cusr 178.67 csys = 3598.51 CPU) | 15:38 | |||||||||||||||||||||||||||||||||
Geth | roast: c08ef07a3b | (Zoffix Znet)++ | S16-io/eof.t Test EOF on TTY isn't too lately-set Fix: github.com/MoarVM/MoarVM/commit/2f...6ddfe8a216 |
15:39 | |||||||||||||||||||||||||||||||||
travis-ci | NQP build failed. Zoffix Znet 'Bump MoarVM' | 15:51 | |||||||||||||||||||||||||||||||||
travis-ci.org/perl6/nqp/builds/297242592 github.com/perl6/nqp/compare/20536...5acd1e82e0 | |||||||||||||||||||||||||||||||||||
b2gills | That eof "fix" makes `.eof` return True at the end of a line of input if you use it interactively. Which breaks briandfoy's code on Stack Overflow in new and interesting ways. | 16:21 | |||||||||||||||||||||||||||||||||
So is `.eof` supposed to be the end of the input, or the end of currently available data? | 16:22 | ||||||||||||||||||||||||||||||||||
Zoffix | input | 16:26 | |||||||||||||||||||||||||||||||||
Geth | roast: 9c900e56f7 | (Zoffix Znet)++ | S16-io/eof.t Revert "Test EOF on TTY isn't too lately-set" This reverts commit c08ef07a3b05c7d59637c5f53c0611d835d6fc8b. irclog.perlgeek.de/perl6-dev/2017-...i_15401308 |
16:30 | |||||||||||||||||||||||||||||||||
Zoffix | gotta $work; just reverting everything now. Will take a look later if there's some trick can be done | 16:31 | |||||||||||||||||||||||||||||||||
But the "If I do the same thing in Perl 6 (Rakudo 2017.07) the program stops right away:" part of bdfoy's question is very likely the older TTY EOF bug on MacOS. And for "I'm really after a Supply that can give me one line of input as it arrives" part. That'd just be .lines.Supply innit? | 16:33 | ||||||||||||||||||||||||||||||||||
Geth | nqp: f263b9c8a6 | (Zoffix Znet)++ | tools/build/MOAR_REVISION Bump MoarVM |
16:38 | |||||||||||||||||||||||||||||||||
Ā¦ nqp: version bump brought these changes: github.com/MoarVM/MoarVM/compare/2...7-gd257df2 | |||||||||||||||||||||||||||||||||||
b2gills | Here is a quick test that I created that shows the issue with that code gist.github.com/b2gills/354aed9849...82f28f896c | ||||||||||||||||||||||||||||||||||
Geth | rakudo: 629e8684e1 | (Zoffix Znet)++ | tools/build/NQP_REVISION Bump NQP |
||||||||||||||||||||||||||||||||||
Zoffix | ZOFFLOP: t/spec/S11-modules/require.t | ||||||||||||||||||||||||||||||||||
Yeah. It'd just mark as EOF any time we read off TTY anything smaller than 0x100000 bytes :o | 16:42 | ||||||||||||||||||||||||||||||||||
b2gills | Unless we want to make `.eof` blocking on interactive input, I think it is working correctly. | 16:43 | |||||||||||||||||||||||||||||||||
Zoffix | Our TTY handle tests need some beefing up. | ||||||||||||||||||||||||||||||||||
b2gills | Well I'd run the test in the gist I just posted, except git isn't pulling down any data. | 16:44 | |||||||||||||||||||||||||||||||||
travis-ci | NQP build failed. Zoffix Znet 'Bump MoarVM' | 16:55 | |||||||||||||||||||||||||||||||||
travis-ci.org/perl6/nqp/builds/297261642 github.com/perl6/nqp/compare/a25ac...63b9c8a60f | |||||||||||||||||||||||||||||||||||
Geth | nqp: b21e0e25f6 | pmurias++ | t/nqp/023-named-args.t [jvm] Skip not yet fixed test |
17:00 | |||||||||||||||||||||||||||||||||
Zoffix | "<Zoffix> [...] Will take a look later if there's some trick can be done" Won't. Can't think of anything that wouldn't make .eof block at some point and current behaviour isn't that terrible. | 17:06 | |||||||||||||||||||||||||||||||||
Zoffix & | |||||||||||||||||||||||||||||||||||
/o\ | 17:17 | ||||||||||||||||||||||||||||||||||
travis-ci | NQP build passed. pmurias '[jvm] Skip not yet fixed test' | ||||||||||||||||||||||||||||||||||
travis-ci.org/perl6/nqp/builds/297268451 github.com/perl6/nqp/compare/f263b...1e0e25f6de | |||||||||||||||||||||||||||||||||||
Zoffix | IO::CatHandle.read's design is crap. It switches to next handle if it didn't read enough stuff, but that doesn't quite work right, since .read on, say, TTY STDIN could return only some bytes and still not be at EOF | 17:19 | |||||||||||||||||||||||||||||||||
lizmat | Zoffix: good point | 17:50 | |||||||||||||||||||||||||||||||||
hmmm... though, is it? | |||||||||||||||||||||||||||||||||||
isn't read supposed to block until it has enough bytes ? | 17:51 | ||||||||||||||||||||||||||||||||||
dogbert17 | wrt the latest ZOFFLOP: not ok 31 - got correct STDOUT | ||||||||||||||||||||||||||||||||||
# Failed test 'got correct STDOUT' | |||||||||||||||||||||||||||||||||||
# at t/spec/S17-procasync/basic.t line 85 | 17:52 | ||||||||||||||||||||||||||||||||||
# expected: 'Perl 6' | |||||||||||||||||||||||||||||||||||
# got: 'Perl' | |||||||||||||||||||||||||||||||||||
seems to happen under load | |||||||||||||||||||||||||||||||||||
lizmat | .oO( is that a sign ? ) |
18:01 | |||||||||||||||||||||||||||||||||
Zoffix | lizmat: no idea. it does block until at least one byte was received. Were it to block until 0x100000 bytes (the .read size our .lines stuff uses) were read from STDIN then it'd expect the user to bang out quite a few lines before .lines would give up the first line, wouldn't it? | 18:06 | |||||||||||||||||||||||||||||||||
dogbert17: good spot. Looks like second write promise is never awaited: github.com/perl6/roast/blob/master...asic.t#L75 | 18:08 | ||||||||||||||||||||||||||||||||||
dogbert17: need to await it before this line: github.com/perl6/roast/blob/master...asic.t#L80 | |||||||||||||||||||||||||||||||||||
Geth | rakudo: 6bca84fa1a | MasterDuke17++ | 2 files Add some INTERPOLATE variations Create INTERPOLATE_ASSERTION and some multis to pull functionality out of the regular INTERPOLATE multis. Makes `/ $rx /` and `/ <$rx> /` a bit faster. |
18:29 | |||||||||||||||||||||||||||||||||
rakudo: ea3ffa2ee3 | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | 2 files Merge pull request #1232 from MasterDuke17/add_some_INTERPOLATE_variations Add some INTERPOLATE variations |
|||||||||||||||||||||||||||||||||||
synopsebot | RAKUDO#1232 [closed]: github.com/rakudo/rakudo/pull/1232 Add some INTERPOLATE variations | ||||||||||||||||||||||||||||||||||
AlexDaniel | huggable: cla | 18:30 | |||||||||||||||||||||||||||||||||
huggable | AlexDaniel, nothing found | ||||||||||||||||||||||||||||||||||
AlexDaniel | huggable: CLA | ||||||||||||||||||||||||||||||||||
huggable | AlexDaniel, www.perlfoundation.org/contributor_..._agreement print it out, sign it, scan it in (resize your scan to 250KB or less). Email to trademark -at- perlfoundation.org | ||||||||||||||||||||||||||||||||||
MasterDuke | i've just never gotten around to it. guess i will eventually | 18:36 | |||||||||||||||||||||||||||||||||
Geth | rakudo: 2f12bea114 | (Elizabeth Mattijsen)++ | lib/Telemetry.pm6 Telemetry tweaks - make sure order of @format *is* actually alphabetical - add blurb about supervisor thread in report header |
18:40 | |||||||||||||||||||||||||||||||||
AlexDaniel | MasterDuke: please do | 18:50 | |||||||||||||||||||||||||||||||||
MasterDuke | lizmat: did i see you're registered for the london perl workshop? | 18:52 | |||||||||||||||||||||||||||||||||
lizmat | yes, that's correct :-) | ||||||||||||||||||||||||||||||||||
MasterDuke | cool, i just registered yesterday. passing through london for work, decided to fly a day early and catch the conference | 18:53 | |||||||||||||||||||||||||||||||||
Geth | roast: 6e68b2c884 | (Zoffix Znet)++ (committed using GitHub Web editor) | S17-procasync/basic.t Add missing await |
18:54 | |||||||||||||||||||||||||||||||||
Zoffix | dogbert17: ^ that should fix it | ||||||||||||||||||||||||||||||||||
lizmat | MasterDuke: looking forward to meeting you! | ||||||||||||||||||||||||||||||||||
MasterDuke | likewise | ||||||||||||||||||||||||||||||||||
Zoffix | Well, that was a waste of a day. Made a throttler/scheduler in Perl with Minion for a thing at $work... and it doesn't actually run on a target server because it's Windows and windows don't support fork. In Perl 6 it'd just be Supply.throttle -_- | 19:08 | |||||||||||||||||||||||||||||||||
Geth | rakudo: 4ed91ed644 | (Elizabeth Mattijsen)++ | lib/Telemetry.pm6 More Telemetry tweaks - default for :header-repeat is now %*ENV<RAKUDO_REPORT_HEADER_REPEAT> // 32 - default for :legend is now %*ENV<RAKUDO_REPORT_LEGEND> // 1 - corrected report header for cpu/wallclock: we want seconds, not microseconds |
19:17 | |||||||||||||||||||||||||||||||||
dogbert17 | Zoffix++, so it was the test itself which was broken | 19:24 | |||||||||||||||||||||||||||||||||
one ZOFFLOP hopefully gone :) | |||||||||||||||||||||||||||||||||||
Zoffix | :)_ | 19:26 | |||||||||||||||||||||||||||||||||
Geth | rakudo: c4d373c514 | (Elizabeth Mattijsen)++ | src/core/Kernel.pm Expose basic CPU usage information: Kernel.cpu-usage For situations like the Benchmark module, we don't want to have to load a lot of stuff. This gives the bare-bones of the stuff we need there. |
20:43 | |||||||||||||||||||||||||||||||||
rakudo: fea5612cb8 | (Elizabeth Mattijsen)++ | lib/Telemetry.pm6 Allow for "use Telemetry <cpu wallclock>" Allow selective import of all subs that are available with :COLUMNS. |
21:11 | ||||||||||||||||||||||||||||||||||
rakudo: 360eb2289f | (Elizabeth Mattijsen)++ | lib/Telemetry.pm6 Oops, we want the default exports available as well - so not only slice through EXPORT::COLUMNS, but also EXPORT::DEFAULT |
21:20 |