samcv | what repo should i put perl 6 appimage builds in | 01:11 | |
i mean. well the script to generate appimages | |||
AlexDaniel | perl6-appimage? :) | 01:29 | |
samcv | AlexDaniel, can you try out my appimage? | 01:46 | |
AlexDaniel | samcv: sure, how? | ||
samcv | cry.nu/files/org.perl6.rakudo-x86_64.AppImage rakudo star | ||
should act like perl 6 binary | |||
see if you can run scripts with it | |||
but i could probably hack perl6lib too | 01:49 | ||
AlexDaniel | m: say $*CW | ||
camelia | Dynamic variable $*CW not found in block <unit> at <tmp> line 1 Actually thrown at: in block <unit> at <tmp> line 1 |
||
AlexDaniel | m: say $*CWD | ||
camelia | "/home/camelia".IO | ||
samcv | $*CWD | ||
AlexDaniel | "/tmp/.mount_K4TBTf/usr".IO | ||
samcv | k same here | 01:50 | |
AlexDaniel | ok, afk 20min | ||
samcv | nice. printing out %*ENV is helpful. maybe i can use something in there to set the dir properly | 01:58 | |
ok i figured out what i need to do. get perl 6 to change directories after it's already started | 02:08 | ||
AlexDaniel | hmmm | ||
samcv | cause if i cd before i start it... then the paths are all wrong | ||
needs to change directory after starting | |||
then all problems will be solved | 02:09 | ||
so maybe a new option for moar? | |||
or i guess there could be some way to do it in rakudo | 02:10 | ||
that actually makes more sense i guess. idk | |||
AlexDaniel | samcv: dunno, maybe a module that will chdir? Sounds like a horrible ideaā¦ | 02:12 | |
samcv | i mean perl6 itself has its own command line options right | ||
we just need to add a new one to made perl6 change directory on start | |||
geekosaur | may want that anyway | 02:13 | |
samcv | yeah it sounds useful | ||
geekosaur | recall the jdk is weird about changing directory | ||
samcv | i will hack something that will hopefully fix it not running files from relative directories and i think it should mostly work | 02:30 | |
Geth | rakudo: dwarring++ created pull request #1059: add todo test for RT #130267 |
04:30 | |
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=130267 | ||
samcv | NeuralAnomaly, status | 05:43 | |
NeuralAnomaly | samcv, [ā] Next release will be in 4 days and 22 hours. Since last release, there are 23 new still-open tickets (13 unreviewed and 0 blockers) and 214 unreviewed commits. See perl6.fail/release/stats for details | ||
[Tux] | This is Rakudo version 2017.03-211-g6c9f31bb0 built on MoarVM version 2017.03-115-ge8231a30 | 06:33 | |
csv-ip5xs 3.249 | |||
test 12.901 | |||
test-t 4.923 - 5.388 | |||
csv-parser 12.726 | |||
lizmat | Files=1188, Tests=56576, 200 wallclock secs (12.03 usr 4.77 sys + 1187.78 cusr 113.43 csys = 1318.01 CPU) | 08:56 | |
Geth | rakudo/nom: 5cdea61b94 | (David Warring)++ | t/04-nativecall/05-arrays.t add todo test for RT #130267 my CArray[uint8] $a .= new(200 xx 16); say $a[0]; # expected output: 200, actual output: -56 |
09:00 | |
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=130267 | ||
rakudo/nom: 5b29d2216d | lizmat++ | t/04-nativecall/05-arrays.t Merge pull request #1059 from dwarring/carray-test add todo test for RT #130267 |
|||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=130267 | ||
rakudo/nom: a8f1727650 | (Elizabeth Mattijsen)++ | src/core/Rakudo/Iterator.pm Remove unnecessary .DEFINITE |
10:36 | ||
rakudo/nom: 2731087c41 | (Elizabeth Mattijsen)++ | src/core/Set.pm Make Set.SetHash coercion 12x faster - for a 100 element Set - somehow was missed in the other QuantHash coercion improvements |
10:49 | ||
samcv | so when are we releasing star? in a week? | 10:50 | |
timotimo | i heard we'll have one this time | ||
samcv | nice | ||
also what's with the files in roast that are .moarvm it precompiles or something? and not .t | 10:52 | ||
cause my script can't handle those | |||
geekosaur | they should be .t.moarvm and that indicates that roast for rakudo-moar should run those instead of the standard one, usually because most of the file would need to be fudged | 10:53 | |
moritz | samcv: those are the result of fudging (those #?rakudo skip "explanation" thingies) | ||
samcv | hm | 10:54 | |
geekosaur | ah, thought those were inputs not outputs | ||
anyway t/fudgeandrun should deal with those | |||
timotimo | well, they are inputs. but they are also outputs | ||
samcv | ok. i'm thinking about how to go about testing the appimage with roast though | ||
does it call perl6-m or something else? | 10:55 | ||
or call moar directly? | |||
it's late i gotta get to bed. night o/ | 11:13 | ||
timotimo | gnite! | ||
Geth | nqp/master: 6 commits pushed by (Pawel Murias)++
|
12:25 | |
rakudo/nom: 10fe02a285 | (Elizabeth Mattijsen)++ | src/core/Setty.pm Make Setty.hash about 4x faster - for a 100 elem Setty |
13:22 | ||
Zoffix | masak: was it you saying something about null bytes? | 13:59 | |
masak: it's supposed to be *nul* byte or something? | |||
masak | I've learned that the name for ASCII 0 is "NUL" | 14:00 | |
they're all three-letter names down there | |||
and I *think* I learned it from nwc10 | |||
Zoffix | masak: but that's an abbreviation, innit? | ||
"The null character (also null terminator), abbreviated NUL, is a control character with the value zero" en.wikipedia.org/wiki/Null_character | 14:01 | ||
m: <X::IO::NullByte X::IO::NulByte>.pick.say | |||
camelia | X::IO::NullByte | ||
Zoffix goes with X::IO::NUL | |||
masak | could be a difference between "null character" and "NUL byte" | ||
Zoffix changes mind and goes with X::IO::Null | 14:04 | ||
masak | :) | ||
Zoffix | t/spec/S11-modules/require.t flopped | 14:17 | |
uuuhhh... | 14:21 | ||
We have nul roundtripping via IO::Path as part of 6.c-errata :S github.com/perl6/roast/blob/6.c-er....t#L57-L58 | |||
timotimo | # RT #126935 | ||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=126935 | ||
Zoffix | I'm gonna remove it. Seem it was added to test .perl roundtripping | 14:22 | |
timotimo | ah, yes | 14:23 | |
maybe just unprintables in general, and accidentally a nul byte | 14:24 | ||
Geth | roast/6.c-errata: 1f1f33e6fc | (Zoffix Znet)++ | S32-io/io-path.t [io grant] Change \0 roundtrip test to \t roundtrip test NUL bytes aren't allowed in paths, so this test is in direct contradiction with the security bug I'm trying to fix. Since it's trying to test roundtrippage of whitespace, change it to use use \t instead of \0. irclog.perlgeek.de/perl6-dev/2017-...i_14405645 |
14:40 | |
roast: 8f73ad855f | (Zoffix Znet)++ | S32-io/io-path.t [io grant] Change \0 roundtrip test to \t roundtrip test NUL bytes aren't allowed in paths, so this test is in direct contradiction with the security bug I'm trying to fix. Since it's trying to test roundtrippage of whitespace, change it to use use \t instead of \0. irclog.perlgeek.de/perl6-dev/2017-...i_14405645 |
|||
masak | what's the security bug, ooc? | 14:46 | |
Geth | roast: b16fbd3b24 | (Zoffix Znet)++ | S32-io/null-char.t [io grant] Add tests to check nul byte is rejected |
||
rakudo/nom: e6814986c0 | (Zoffix Znet)++ | 3 files [io grant] Make IO::Path throw when path contains NUL byte Fixes RT#130900: rt.perl.org/Ticket/Display.html?id=130900 |
14:48 | ||
synopsebot6 | Link: rt.perl.org/rt3/Public/Bug/Display...?id=130900 | ||
Zoffix | masak: rt.perl.org/Ticket/Display.html?id...xn-1452154 | ||
masak | ah, very well. | 14:49 | |
ugexe | i wonder if windows lets you use a null byte in the path if you *really* want | 15:11 | |
it lets you do lots of other dumb shit | |||
Zoffix | Some page I read when fixing that bug said Windows reserves NUL | 15:14 | |
ugexe | the question is which api reverses nul? the low level system (that perl/perl6 use for instance) can create files with "illegal" characters" that you cant even see in explorer | 15:16 | |
...we could hide precomp files on windows! | 15:17 | ||
timotimo | hide them behind junctions | 15:37 | |
thats a much cooler feature | |||
Zoffix | Hm. I'm already bored with this and it's only 11:38am. | 15:38 | |
Progress: 33%. | 15:39 | ||
ZofBot: should I call it a day and rest, to have lots of energy for this tomorrow? | |||
ZofBot | Zoffix, If you have a multidimensional array, you can ask for flattening semantics explicitly with "flat": zip(0 | ||
Zoffix | Can you? | ||
m: my @a[2;2] = (2, 2;3,4); dd @a | |||
camelia | Array.new(:shape(2, 2), [2, 2], [3, 4]) | ||
Zoffix | m: my @a[2;2] = (2, 2;3,4); dd flat @a | ||
camelia | (2, 2, 3, 4).Seq | ||
Zoffix | Cool | 15:40 | |
ZofBot++ # TIL | |||
AlexDaniel | heh, that's something | 15:45 | |
ZofBot: what do you think about other bots? | |||
ZofBot | AlexDaniel, tree" There is a ""list"" operator which imposes a list context on its arguments even if "list" itself occurs in item context | ||
AlexDaniel | ZofBot: ā¦ | 15:46 | |
ZofBot | AlexDaniel, This is likely to be the case on single-core architectures with heavy context switching, and may very well be the case even on manycore CPU architectures when there are more iterators than cores, such that cores may still have to do context switching | ||
AlexDaniel | nice to know, ZofBotā¦ | 15:47 | |
Geth | roast: ee7f05bb51 | (Zoffix Znet)++ | S32-io/io-path.t [io grant] Move is-path sub to top so it can be reused |
15:55 | |
Zoffix | ZOFVM: Files=1238, Tests=133571, 127 wallclock secs (24.07 usr 3.67 sys + 2644.27 cusr 155.69 csys = 2827.70 CPU) | 15:58 | |
Geth | roast: a40ba13554 | (Zoffix Znet)++ | packages/Test/Util.pm Implement fails-like Like throws-like + check that code fail()s instead of throw()ing |
16:18 | |
rakudo/nom: 6a8d63d1b6 | (Zoffix Znet)++ | 2 files [io grant] Implement :completely param in IO::Path.resolve |
16:30 | ||
roast: a809f0f1f5 | (Zoffix Znet)++ | S32-io/io-path.t [io grant] Expand IO::Path.resolve tests |
|||
chatter29 | hey guys | 19:12 | |
allah is doing | 19:13 | ||
sun is not doing allah is doing | |||
to accept Islam say that i bear witness that there is no deity worthy of worship except Allah and Muhammad peace be upon him is his slave and messenger | |||
Geth | nqp/uncurse: 4 commits pushed by TimToady++ | ||
RabidGravy | er | 19:14 | |
TimToady | ignoring seems to have been the correct response :) | 19:20 | |
geekosaur | ignore or not, they always do the same thing | 19:25 | |
and they've been doing this in multiple channels for I don't know how long now, but over a year | 19:26 | ||
Zoffix_ | A strange man just entered my apartment and broke the wall behind the sink in the washroom while I was standing in my underwear. | 19:28 | |
He was half-way through the job before I realized I was almost naked.... | 19:29 | ||
RabidGravy | :-O | ||
Zoffix_ | :) | 19:30 | |
Apparently there's some sort of flooding (now known to be) above me. | |||
TimToady | my nose is leaking too, but I don't think any repairman is going to break in here for that... | 19:36 | |
samcv | oh TimToady what are your thoughts on a perl6 command line option to have perl6 start in a directory other than ./ | 19:39 | |
does perl have such an option? and what are your thoughts on it | |||
cause that would be nice to have for making AppImages work better | |||
MasterDuke | TimToady: is the nqp/uncurse branch supposed to have any immediate effects for something like rakudo's parsing? | 20:03 | |
TimToady | MasterDuke: shouldn't | 20:12 | |
well, except in the sense that the rakudo parser will also need a lot of work | 20:13 | ||
but that should also be in a branch | |||
MasterDuke | ah, so no faster parsing just yet | 20:14 | |
TimToady | not yet | ||
can't tell how much faster it might be already, given I don't get all the way through compiling the setting yet... | 20:15 | ||
and we still have the .MATCH overhead for the moment, it just goes to a different place | 20:16 | ||
can't do much about that as long as we're forced to do lookups in an nqp hash that has to be precomputed | 20:17 | ||
but it's a step in the direction of getting away from that | |||
eventually, for most matches, saying $<foo> will just pull the foo value straight out of the cstack, and only maybe use a hash to cache it en passant | 20:18 | ||
MasterDuke | nice | 20:19 | |
TimToady | and for some matches that are just liek <statement>*, we can probably just return the cstack itself as the value of $<statement>, if that's the only capture | 20:20 | |
but this will entail turning $<foo> into some kind of method call, not just a hash lookup | |||
nqp isn't smart enough to do that yet | 20:21 | ||
but that's where I'm headed with it | 20:22 | ||
at the moment, fighting a very mysterious error while trying to compose 'class Variable' about 22% through the setting, gets: Cannot invoke this object (REPR: Null; VMNull) | 20:25 | ||
when trying to call $compiler_services.generate_accessor | 20:26 | ||
so probably some subtle interaction in the parsing of Rakudo::Internals somewhere earlier... | 20:28 | ||
MasterDuke | i don't think i'd ever looked at Variable.pm before, the contents look above my pay grade | 20:29 | |
TimToady | probably either undersharing or oversharing of some kind of match data, given how nqp has changed underneath ti | ||
MasterDuke | istr a new ticket about either over or under sharing match data somewhat recently | 20:30 | |
TimToady | Unfortunately, when you reach my paygrade, being promoted to one's level of incompetence is no longer a valid excuse. :) | ||
lizmat | and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2017/04/10/...aboom-ā½Ā¹ā¾/ | 20:58 | |
MasterDuke | lizmat++, busy week | 21:10 | |
AlexDaniel | s: 'unique', \(1, 2, 3) | 21:31 | |
SourceBaby | AlexDaniel, Something's wrong: ā¤ERR: Cannot resolve caller sourcery(Str, Capture); none of these signatures match:ā¤ ($thing, Str:D $method, Capture $c)ā¤ ($thing, Str:D $method)ā¤ (&code)ā¤ (&code, Capture $c)ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
AlexDaniel | s: unique, \(1, 2, 3) | 21:32 | |
SourceBaby | AlexDaniel, Something's wrong: ā¤ERR: Cannot resolve caller sourcery(Seq, Capture); none of these signatures match:ā¤ ($thing, Str:D $method, Capture $c)ā¤ ($thing, Str:D $method)ā¤ (&code)ā¤ (&code, Capture $c)ā¤ in block <unit> at -e line 6ā¤ā¤ | ||
AlexDaniel | s: &unique, \(1, 2, 3) | ||
SourceBaby | AlexDaniel, Sauce is at github.com/rakudo/rakudo/blob/6a8d...s.pm#L2002 | ||
AlexDaniel | s: \(1, 2, 3), 'unique' | ||
SourceBaby | AlexDaniel, Something's wrong: ā¤ERR: Type check failed in binding to parameter '&code'; expected Callable but got Method+{<anon|71130480>} (Method+{<anon|7113048...)ā¤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in blo | ||
AlexDaniel | s: (1, 2, 3), 'unique' | ||
SourceBaby | AlexDaniel, Something's wrong: ā¤ERR: Type check failed in binding to parameter '&code'; expected Callable but got Method+{<anon|71130480>} (Method+{<anon|7113048...)ā¤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in blo | ||
AlexDaniel | hmmm how do I find a methodā¦ | 21:33 | |
SourceBaby: help | |||
SourceBaby | AlexDaniel, Use s: trigger with args to give to sourcery sub. e.g. s: Int, 'base'. See modules.perl6.org/dist/CoreHackers::Sourcery | ||
AlexDaniel | s: List, 'unique' | ||
SourceBaby | AlexDaniel, Something's wrong: ā¤ERR: Type check failed in binding to parameter '&code'; expected Callable but got Method+{<anon|71130480>} (Method+{<anon|7113048...)ā¤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in blo | ||
AlexDaniel | ā¦ this fucking botā¦ | ||
Zoffix_ | What do you want from it? | ||
AlexDaniel | Zoffix_: already found it, but still. What if I wanted to find this? github.com/rakudo/rakudo/blob/6a8d...s.pm#L1496 | 21:34 | |
Zoffix_ | You're welcome to fix the Perl 6 bug that's preventing it from finding that method. | 21:35 | |
AlexDaniel | s: Any, 'unique' | ||
SourceBaby | AlexDaniel, Something's wrong: ā¤ERR: Type check failed in binding to parameter '&code'; expected Callable but got Method+{<anon|71130480>} (Method+{<anon|7113048...)ā¤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in blo | ||
AlexDaniel | Zoffix_: ah, it's the same bug | ||
okay then | |||
geekosaur | glad I'm not the only one who can't figure that thing out... | ||
Zoffix_ | Thinking of it now, it might be the bug.... | ||
*might be the augmentation | |||
m: use MONKEY; say Int.^lookup('abs').file.say | |||
camelia | SETTING::src/core/Int.pm True |
||
AlexDaniel | would be helpful if SourceBaby detected this and said sorry, but you'd probably say that I can fix SourceBaby myself :P | 21:36 | |
Zoffix_ | m: use MONKEY; augment class Int { method abs { 42 } }; Int.^lookup('abs').file.say | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Package 'Int' already has a method 'abs' (did you mean to declare a multi-method?) at <tmp>:1 |
||
Zoffix_ | m: use MONKEY; augment class Int { method abs2 { 42 } }; Int.^lookup('abs2').file.say | ||
camelia | <tmp> | ||
Zoffix_ | AlexDaniel, no, I'd probably say fix the Perl 6 bug | ||
s: (1,), 'grep' | 21:41 | ||
SourceBaby | Zoffix_, Something's wrong: ā¤ERR: Type check failed in binding to parameter '&code'; expected Callable but got Method+{<anon|71130480>} (Method+{<anon|7113048...)ā¤ in sub do-sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 42ā¤ in sub sourcery at /home/zoffix/services/lib/CoreHackers-Sourcery/lib/CoreHackers/Sourcery.pm6 (CoreHackers::Sourcery) line 33ā¤ in block | ||
Zoffix_ | m: (1,).^lookup('grep').file.say | ||
camelia | SETTING::src/core/Any-iterable-methods.pm | ||
Zoffix_ | m: say (1,).^lookup('grep') ~~ Callable | ||
camelia | False | ||
Zoffix_ | m: say (1,).^lookup($_) ~~ Callable for <first min max batch> | 21:42 | |
camelia | False False False False |
||
Zoffix_ | m: use MONKEY; augment class Int { method abs2 { 42 } }; Int.^lookup('abs2') ~~ Callable | ||
camelia | ( no output ) | ||
Zoffix_ | m: use MONKEY; augment class Int { method abs2 { 42 } }; say Int.^lookup('abs2') ~~ Callable | ||
camelia | True | ||
Zoffix_ | hmmm | ||
m: say (1,).^lookup($_) ~~ Callable for <first min max batch rotor skip maxpairs squish repeated unique> | 21:43 | ||
camelia | False False False False False True True False False False |
||
Zoffix_ shrugs | |||
lizmat++ good weekly | 21:45 | ||
Looks like the plumber stood me up. Said he'd check upstairs and then be back. That was more than 2 hours ago : | 21:47 | ||
ZofBot, I guess that means I can depants myself | 21:48 | ||
ZofBot | Zoffix_, re multi method re( --> Real ) Returns the real part of the complex number | ||
lizmat | good night, #perl6-dev! | 22:47 | |
Zoffix | night | 22:51 | |
Geth | rakudo/nom: b6838ee4df | (Zoffix Znet)++ | src/core/IO/Path.pm [io grant] Remove .f check in .z - This mirrors the same change done to .s a few months back - The X::IO::NotAFile exception is no longer needed anywhere, but I kept it, since there's a .WHICH test that tests it. |
23:10 | |
roast: feecaf087b | (Zoffix Znet)++ | S16-filehandles/filetest.t [io grant] Expand file tests - Covers previously uncovered .rw and .rwx |
23:11 | ||
Zoffix | Note to self: when estimating completion time for a grant... multiply the value by 8 :) | 23:39 | |
... or by 80 | 23:40 | ||
samcv | heh | 23:41 | |
Zoffix | According to my tacker I've done 10% today. Still have 4 full days before the release, and 3 evenings... | ||
samcv | looks like gonna be more work to get travis to push to repos. argh | 23:42 | |
oh well gist.github.com/domenic/ec8b0fc8ab45f39403dd | |||
make ssh key encrypt key, do bunch of weird things then i guess it can push to the github magically | |||
unless i can figure out how to get this token to work i generated | 23:43 | ||
maybe i need to use the hashed token not the token... | |||
if i use that and try and clone it myself, it asks for a password. which i'm guessing travis knows | 23:44 | ||
.o(if i use the hashed token, what is the good of the nonhashed token if i can't actually access anything with it) |