japhb lizmat: That is a very cool gate indeed. :-) 00:25
timotimo it is! 00:26
AlexDaniel Zoffix: fwiw “?++ | atomic-fetch-dec” www.reddit.com/r/perl/comments/6v8...g/dlywvwh/ 00:41
Zoffix AlexDaniel: fixed thanks 00:44
AlexDaniel heh, people are weird 00:48
“I don't want to learn how to type non-ascii characters, so please don't use them”
well, maybe that's not exactly what they say, but I always see it this way… 00:49
TimToady there should be an emoticon for "fossil" :) 00:58
AlexDaniel “Good job on supporting the proper Unicode minus sign, but why stop there? Please add ? and ? as alternatives to >=and !=, and “”„?«»‘’‚? as alternative string delimiters.” 00:59
alright, this comment made my day :D
Geth nqp: andreoss++ created pull request #369:
Do not start interactive REPL on non tty input
01:01
AlexDaniel Meh. –“No, no, no, no, no, no, no.” –“All of the atomic operators have texas equivalents” –“That's a lot more to write and is considerably less expressive”… surprise-surprise :-/ 01:08
Zoffix++ # patiently explaining things instead of just reading these threads for laughs like me 01:12
Does anybody know why appveyor is now consistently red? 02:59
Geth: ver 593fa5f87fcc97cf3cbafd62f34b3119c9b1fbe3 03:00
Geth: ver github.com/rakudo/rakudo/commit/59...19c9b1fbe3
Geth AlexDaniel, version bump brought in these changes: github.com/perl6/nqp/compare/2017....g99f01d2cd 03:01
AlexDaniel Geth: ver github.com/perl6/nqp/commit/99f01d...2fba23f5f6
Geth AlexDaniel, version bump brought in these changes: github.com/MoarVM/MoarVM/compare/2...-g151a2563
rakudo: Gnouc++ created pull request #1141:
Checking uname as executable instead of file size
04:07
[Tux] This is Rakudo version 2017.08-25-g7d1ece805 built on MoarVM version 2017.08.1-32-gcd41322e 06:34
csv-ip5xs 1.335 - 1.505
test 10.480
test-t 3.623 - 3.791
csv-parser 11.813
Geth rakudo/nom: 29cd9fb55e | (Cuong Manh Le)++ | src/core/Kernel.pm
Checking uname as executable instead of file size

Finding executable file should be done with .x instead of .s method, otherwise, we should run in case where the file is existed but can not executable.
06:38
rakudo/nom: d8958fc37e | niner++ (committed using GitHub Web editor) | src/core/Kernel.pm
Merge pull request #1141 from Gnouc/nom

Checking uname as executable instead of file size
AlexDaniel ? Community Bug SQUASHathon blogs.perl.org/users/zoffix_znet/20...athon.html 09:43
Zoffix I recall a discussion that `make test` should not create any new files (I think?) does that apply to precomp files. I was thinking of adding a utility module for testing; would it need `no precompilation` in it to avoid creating .precomp dir? 10:37
Geth nqp: e9e09e4821 | andreoss++ | src/HLL/Compiler.nqp
Do not start interactive REPL on non tty input
10:39
nqp: 5bec212105 | (Zoffix Znet)++ (committed using GitHub Web editor) | src/HLL/Compiler.nqp
Merge pull request #369 from andreoss/non-tty

Do not start interactive REPL on non tty input
Zoffix ZOFFLOP: t/spec/S17-lowlevel/atomic-ops.t 10:48
ZOFFLOP: t/spec/S17-lowlevel/atomic.t
Geth nqp: dfe46ab3ba | (Zoffix Znet)++ | src/HLL/Compiler.nqp
Reformat conditional; lizmat++
10:49
rakudo/nom: b6a6023635 | (Zoffix Znet)++ | tools/build/NQP_REVISION
Bump NQP

Bump brought changes:
  github.com/perl6/nqp/compare/2017....6-gdfe46ab
dfe46ab Reformat conditional; lizmat++ 5bec212 Merge pull request #369 from andreoss/non-tty e9e09e4 Do not start interactive REPL on non tty input e5e5a3f Fix a bug in the last commit, that could cause configure errors c368470 Add new --ignore-errors flag to ./Configure.pl
rakudo/nom: version bump brought these changes: github.com/perl6/nqp/compare/2017....f01d2cd... No newline at end of file
94fe65dbe5 | (Zoffix Znet)++ | src/core/REPL.pm

This reverts commit 2c0cd0a3a96d8fe0b1bb821c33fe51912e95ddfc.
The feature was implemented in a superior way in
  github.com/perl6/nqp/commit/5bec212105
nqp/master: 14 commits pushed by pmurias++
review: github.com/perl6/nqp/compare/dfe46...002754a3f9
11:20
nqp: 5aa3089584 | pmurias++ | src/vm/js/nqp-runtime/ctx.js
[js] Attach stack trace info when doing a nqp::throw
12:34
lizmat is this an artefact or not? 14:01
perl6 --profile-compile -e 'use cro' # after a fresh setting "make install" 14:02
gives a profile that shows 4 calls to Lock.wait to take 98.44% of total time
timotimo looks multithreaded to me; the profiler then either crashes or it only gives you data for a single thread 14:03
the latter in this case it seems like
lizmat aaaahhh ok 14:04
:-)
ugexe m: say Str.chars; # should this warn? 17:00
camelia Use of uninitialized value of type Str in string context.?Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.? in block <unit> at <tmp> line 1?0?
Zoffix ugexe: as opposed to just giving 0? 17:05
This area is very inconsitent in the language. In some places we throw, (Rat + 0 dies with "attributes in typeobject", Int+0 dies with "want a :D"), in others we warn (and after warning give inconsitent types: +Int, +Rat, and +Num all give an Int 0 in return) 17:14
I say we nix it entirely: Numeric and Stringy typeobjects can't be used as to mean 0 or ""
Str.chars warns and uses ""; Str.starts-with dies with no-candidate; Int.abs dies with wanting a :D 17:16
Oh, there's a whole bunch of methods that on-purpose treat Str:U as "" with a warning: github.com/rakudo/rakudo/blob/94fe...2731-L2781 17:18
ugexe i would just expect it to just give 0 and not warn, or to not give 0
Zoffix nods
ugexe Zoffix: didn't you try making Test.pm more thread safe at one time? I dont see anything in the git history, so maybe it was a branch you abandoned (or dementia) 17:54
Zoffix ugexe: yeah, I did add atomic ops to test counter but that failed to solve the "test out of order" issue because say()s get executed outta order. You'd need to send TAP to print into Channel and print from the Channel, or something like that; I gave up at that point, due to fears of making Test.pm much slower 17:56
Though I plan to make Testo thread-safe (and even auto-threaded), when I ever find time to hack on it 17:57
buggable: eco Testo
buggable Zoffix, Testo 'Perl 6 Testing Done Right': github.com/zoffixznet/perl6-Testo
Zoffix ^ that Testo I mean
buggable: eco Green 17:58
buggable Zoffix, Green 'Parallel testing utility, it's really great': github.com/tony-o/perl6-green
Zoffix ^ never used that, but perhaps that's thread-safe
ugexe if the tests are out of order does it still get the final `1..$max` line correct? 18:01
Zoffix Yeah, but each test is numbered and if harness spots them out of order it complains 18:02
m: use Test; ok "a" for ^10; done-testing;
camelia ok 1 - ?ok 2 - ?ok 3 - ?ok 4 - ?ok 5 - ?ok 6 - ?ok 7 - ?ok 8 - ?ok 9 - ?ok 10 - ?1..10?
Zoffix m: use Test; await ^10 .map: { start ok "a" }; done-testing; 18:03
camelia ok 2 - ?ok 2 - ?ok 3 - ?ok 4 - ?ok 5 - ?ok 6 - ?ok 7 - ?ok 8 - ?ok 9 - ?ok 10 - ?1..10?
Zoffix m: use Test; await ^10 .map: { start ok "a" }; done-testing;
camelia ok 2 - ?ok 2 - ?ok 3 - ?ok 4 - ?ok 5 - ?ok 6 - ?ok 7 - ?ok 8 - ?ok 9 - ?ok 10 - ?1..10?
Zoffix ^ "ok 2 ok 2" would 'cause it to complain about missing #1 test. On more counts it's possible to get them out of order too and it'll complain about them too
95% sure the out-of-order tests are reported as failures 18:04
ugexe i see. i was just looking at failures from the final test count changing although the total tests were still right (e.g. ok 5 -, ok 5 -, ok 6 - ...)
Zoffix ugexe: oh, yeah, I guess it can be incorrect too 18:06
It does $num_of_tests_run = $num_of_tests_run + 1; which isn't thread-safe: github.com/rakudo/rakudo/blob/nom/...t.pm6#L674 18:07
And here's the logic that handles complaining about wrong number of tests: github.com/rakudo/rakudo/blob/nom/...#L733-L743 18:08
ugexe i worked around it in the test code itself by changing the equiv of for loop { start { ok 1; ok 1; } } to loop { start { ok 1 && 2 } } 18:09
Zoffix (to clarify: I never commited the atomic op changes, because they didn't solve the problem I was trying to solve) 18:10
timotimo Zoffix: you remember if there's an RT for the "parsing floats can give you bullshit" thing? 18:11
Zoffix ugexe: BTW, MasterDuke pointed out it would be cool for you to write a blog post showcasing uses of atomic ops ^_^ irclog.perlgeek.de/perl6/2017-08-29#i_15084800 18:12
timotimo: nope; not aware of tickets. I have it logged in my private stash of bugs though, referencing gist.github.com/zoffixznet/46ae8dd...f60f82a179 and irclog.perlgeek.de/perl6/2017-07-13#i_14864050 18:13
(but you're welcome to fix it; I got a ton of stuff on my plate anyway) 18:14
And two code examples also logged:
m: say .1e0 + .2e0 == .3e0;
camelia False?
Zoffix say 1.0e-1 + 2.0e-1 == 3.0e-1;
evalable6 True
Zoffix m: say .1e0 + .2e0 == .3e0; say 1.0e-1 + 2.0e-1 == 3.0e-1; 18:15
camelia False?False?
Zoffix (note how the example that used to be True got changed to False by merely adding new code before it)
timotimo Zoffix: if it's all right i'll send that to the mailing list where someone just asked
Zoffix Sure :)
ugexe use Test; plan 200; await ^10 .map: { start { for ^10 { ok "a"; ok "b" } } }; done-testing; # this occasionally gives the failure fwiw (although i couldnt get camelia to reproduce) 18:21
Zoffix Yeah, 'cause different threads write to the same variables unsafely 18:23
Zoffix & 18:24
Geth rakudo/jit_nativecall: 47c38fa65c | (Stefan Seifert)++ | lib/NativeCall.pm6
Decont arguments before running JITed native calls
19:32
rakudo: skids++ created pull request #1142:
Throw an X::Syntax on nameless postfix .:: (Fix for RT#130181)
19:44
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=130181
Geth rakudo/nom: d2f31bb7c1 | (Elizabeth Mattijsen)++ | src/core/Junction.pm
Add Junction.INFIX-TWO internal helper method

  - swaps two Junctions in place if they should for infix usage
  - returns a truthy value if the Junction types are the same
20:16
rakudo/nom: 5969f21eaa | skids++ | src/Perl6/Grammar.nqp
Throw an X::Syntax on nameless postfix .:: (Fix for RT#130181)
20:26
rakudo/nom: 74ca5ce951 | lizmat++ (committed using GitHub Web editor) | src/Perl6/Grammar.nqp
Merge pull request #1142 from skids/rt130181

Throw an X::Syntax on nameless postfix .:: (Fix for RT#130181)
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=130181
roast: skids++ created pull request #298:
Test for RT#130181. Also coverage for qualified method colons.
20:27
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=130181
Geth roast: 5d970e1445 | skids++ | S12-methods/qualified.t
Test for RT#130181. Also coverage for qualified method colons.
roast: 4ff4def2e4 | skids++ (committed using GitHub Web editor) | S12-methods/qualified.t
Merge pull request #298 from skids/rt130181

Test for RT#130181. Also coverage for qualified method colons.
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=130181
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=130181
rakudo/nom: e18291e20b | (Elizabeth Mattijsen)++ | src/core/Junction.pm
Use Junction.INFIX-TWO

Preparation for handling Junction ~ Junction for different types
20:49
lizmat good night, #perl6-dev!
japhb buggable: speed 21:23
buggable japhb, ?????????????????????????????????????????????????? data for 2017-07-28–2017-08-29; range: 3.587s–4.960s; 26% faster
japhb Time to rebuild ... :-)
Geth rakudo/thread-safer-testpm: 4 commits pushed by (Nick Logan)++ 22:18
rakudo: ugexe++ created pull request #1143:
Make Test.pm6 more thread safe
22:20
ugexe my atomicint $foo = 1; for ^50000 { start { say cas( $foo, -> $i { $i + 1 } ); }; }; say $foo; # this deadlocks at a random iteration unless the `say` is not called on cas(...) 22:23
also deadlocks if you do `my $x = cas(...); say $x` 22:25
note that this was also the case before the real cas was added 22:33
just s/atomicint//
Geth rakudo/nom: 5 commits pushed by (Nick Logan)++, lizmat++ 22:41
[Coke] ]/win 2 23:06
Geth rakudo: skids++ created pull request #1144:
Fix ::("GLOBAL") for RT#126523
23:47
synopsebot6 Link: rt.perl.org/rt3/Public/Bug/Display...?id=126523