nine AlexDaniel: I meant the trouble to keep the design docs separate from raku.org 00:01
Xliff_ \o nine 00:05
nine o/ 00:27
Xliff_ How goes the progress to Raku? 01:35
Also... what's the difference between self and SELF? 01:36
vrurg Xliff_: No difference, as far as I know. 01:46
It's just could be useful to have an alias in some cases. Especially if you create a custom method but need access to the self from closure. 01:47
Xliff_ Ah. "SELF" was referenced in a recent commit from lizmat as a replacement for "self" and was wondering if there was a significant diff... 02:30
github.com/rakudo/rakudo/commit/ed8f5141fe <-- this one 02:31
vrurg Xliff_: It feels to me like remains of older times as if at some point self wasn't provided automatically in some cases. But it's better to ask lizmat and it's a question I always forget to ask. 03:19
Xliff_ vrurg: Fair enough. Thanks! 03:20
vrurg .ask jnthn I have removed the new batch call ops in github.com/rakudo/rakudo/pull/3199 and extended WALK functionality. Would be great if you review it so I could possibly finally merge it. 03:21
tellable6 vrurg, I'll pass your message to jnthn
vrurg Xliff_: I finally got time to look into 3075 again. Beats me, but I can't reproduce travis failures! 03:23
Xliff_ vrurg: Ah. That's OK. I know you'll get it/
vrurg Xliff_: I don't remember, when you tried merging R#3284, what went wrong with it? Did you get `make test` passing without errors? 03:24
Xliff_ vrurg: Yes. The problem was I kept getting unexplainable build errors. 03:25
vrurg Was it the same on JulyActionRefactor branch? 03:26
Xliff_ Yes.
vrurg Wow... For me the branch is compiling and useTestBug.pl6 is running. 03:28
Xliff_ Heh. I probably merged things wrong. 03:29
Either that or old .precomp files.
vrurg Could be the case too...
Xliff_ Well, I have work tomorrow. I will try again when I get home. Deal? 03:30
vrurg Best if you can check it out from my vrurg/rakudo repo and checkout rakudo_3075 branch from there.
Sure deal! :) 03:31
Xliff_ OK. Will talk to you tomorrow.
vrurg o/
04:25 b2gills joined 05:45 Xliff joined
[Tux] Xliff, I didn't change a thing, but I suspect a slow sshfs connection 08:02
08:20 robertle joined
lizmat vrurg Xliff "self" is always de-containerized 08:27
if you specify a parameter with a backslash, it is taken "as-is", and thus *not* decontainerized 08:28
calling it SELF is just an idiom, to indicate it is the invocant, possibly with its container
08:40 [Tux] joined 09:03 sena_kun joined 09:08 Altai-man_ joined 09:10 sena_kun left
|Tux| Hmm, a load of 221 is high. High enough to be very worrysome. 09:37
lizmat I have once seen a load of 2000+. It froze completely soon after that :-) Something about a parallelizing fork bomb :-) 09:42
|Tux| in this case a lost samba share. processes won't stop 09:53
which also explains the slowness yesterday, I guess
the samba-server had an upgrade and automatic reboot (Windows--) and all connections to it seem to hang 09:54
10:19 stdev joined 10:31 steale joined 10:33 Kaiepi joined 10:34 stdev left 10:55 |Tux| joined 10:57 |Tux| left 11:00 |Tux| joined 11:01 |Tux| left, |Tux| joined 11:09 sena_kun joined 11:10 Altai-man_ left 11:33 steale left 11:49 steale joined 13:08 lucasb joined, Altai-man_ joined 13:10 sena_kun left
vrurg lizmat: thanks! I guessed that it's about containerization, but didn't think it through all the way down. :) 14:06
14:09 Guest13443 left 14:10 Guest85410 joined
Guest85410 AlexDaniel: done :) 14:10
AlexDaniel Guest85410: nice! What about the nickname?
Guest85410 Is it bad, should I change to dogbert17 instead?
AlexDaniel that'd be more clear, yeah 14:11
Guest85410 Hmm, I need a password for that I think which means I'll have to fix it later
I was thinking about the release. What would you say if I offered to create a draft of the MoarVM changelog? 14:12
AlexDaniel YES! Please!
Guest85410 it would have to be reviewed ofc
AlexDaniel Reviewing is not a problem!
samcv: ↑ some help is on the way! 14:13
Guest85410 Do you have a clever 'git log' incantation that I should use?
AlexDaniel Guest85410: can you try this tool? github.com/MoarVM/MoarVM/blob/mast...angelog.p6
Guest85410 aha 14:14
AlexDaniel I also need to finish rakudo's changelog but that's not a problem, I just had a backlog of things I had to do and now I'm a bit free-er :)
Guest85410 Cool, I'm getting tired of the fact that we haven't released yet :) 14:15
AlexDaniel Guest85410: btw I think we will only be including commits from this one and older github.com/MoarVM/MoarVM/commit/7e...47a709e7ef 14:17
Guest85410: so skip the newest 5 commits for now
Guest85410 ok, now the tool is starting to ask questions 14:18
[9f679f32] {JIT} (Commit) Jit and add a template for smrt_intify | src/jit/core_templates.expr, src/jit/graph.c | Daniel Green
MODIFY (e)dit/(d)rop/(c)ategory/d(o)ne/(T)itlecase/[(m)erge into other commit]/[change (v)iew opts]; PRINT (b)ody/d(i)ff/num-(l)eft/(D)ump/(C)omplete/(U)uncomplete; GOTO (n)ext/(G)oto commit ID; (Q)uit and save or (s)ave:
will this tool create a text file or will it try to commit something? 14:19
AlexDaniel Guest85410: it should update github.com/MoarVM/MoarVM/blob/mast.../ChangeLog 14:20
Guest85410: once you're done, you can PR it to moarvm 14:21
Guest85410 ok, i'll try it out for a bit 14:22
AlexDaniel TIL `git switch`
Guest85410: PR it against this branch: github.com/MoarVM/MoarVM/tree/release-2019.11 14:23
Guest85410 will do 14:24
AlexDaniel oh, TIL `git restore`
finally they're fixing stuff :) 14:25
well, functionally it wasn't broken, but the user interface was meh
Guest85410 It generated a JSON file 14:31
AlexDaniel: what am I supposed to do with this JSON file, do you know? 14:36
AlexDaniel Guest85410: I'm not sure! :)
samcv Guest85410, oh yay. thanks
|Tux| All systems involved in the samba-share debacle now rebooted:
Rakudo version 2019.07.1-479-ged8f5141f - MoarVM version 2019.07.1-317-g1b2f72e5e
csv-ip5xs0.695 - 0.699
csv-ip5xs-206.563 - 6.668
csv-parser21.310 - 21.478
csv-test-xs-200.420 - 0.446
test6.017 - 6.388
test-t1.726 - 1.781
test-t --race0.785 - 0.895
test-t-2029.140 - 29.543
test-t-20 --race8.970 - 9.041
15:04 steale left, steale joined
Guest85410 AlexDaniel, samcv: is something like this what we want? gist.github.com/dogbert17/1c151a7a...d852a18d36 15:08
15:09 sena_kun joined 15:10 Altai-man_ left 15:25 steale left
samcv Guest85410, yeah 15:27
16:11 robertle left
lucasb m: say class { my $.bar = 42 }.bar # I expect an error here 16:47
camelia 42
lucasb m: my $!foo 16:48
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use ! twigil on 'my' variable
at <tmp>:1
------> 3my $!foo7⏏5<EOL>
expecting any of:
constraint
AlexDaniel lucasb: no error is correct
it's a class variable or whatever the right name is
like static field in java?
lucasb does Raku even has that? :) I didn't know 16:49
jnthn Well, more like a private static field + an accessor method.
AlexDaniel yeah
jnthn The body of a class is just a normal block, so we can just use lexical variables for "static" things. 16:50
AlexDaniel m: class Foo { my $.bar }; my $a = Foo.new; my $b = Foo.new; $a.bar = 45; say $b.bar
camelia 45
AlexDaniel maybe a bit unexpected that you can write into it like that 16:51
jnthn Yeah, it'd be better if one had to `is rw` for that. 16:52
AlexDaniel I don't think that works now
m: class Foo { my $.bar is rw }; my $a = Foo.new; my $b = Foo.new; $a.bar = 45; say $b.bar
camelia 5===SORRY!5=== Error while compiling <tmp>
Can't use unknown trait 'is' -> 'rw' in a variable declaration.
at <tmp>:1
------> 3class Foo { my $.bar is rw 7⏏5}; my $a = Foo.new; my $b = Foo.new; $a.
expecting any of:
Typ…
AlexDaniel well, ok, actually, I'm not sure 16:54
lucasb: you're probably right that people may use `my` by accident
I've done that in the past
lucasb: can you try grepping all-modules for that problem? 16:55
lucasb: github.com/moritz/perl6-all-modules
it's a bit outdated but still good enough
if you manage to find modules where people used `my` instead of `has` by accident then we may actually have a language trap… 16:56
you'd never notice if you only have one instance
grepping across multiple lines is a pain :( 16:59
lucasb gist.github.com/Whateverable/68000...a0406ad73f 17:00
AlexDaniel ah, it's simpler because we can look at the dot, right
what is this? github.com/spebern/Parser-FreeXL-N...e.pm6#L139 17:02
feels like they didn't want to use `my`
otherwise seems like I'm the only idiot who did that mistake
:)
lucasb I just wanted to point this detail. It feels strange to me, not the lexical static class variable, but the fact that it's possible to create an accessor for that using the dot twigil. It feels even stranger that inside a method, 'my $.foo' is *not* constrained within its scope. 17:06
AlexDaniel, jnthn: thanks for clarifications 17:07
jnthn It's just that methods attach to the nearest surrounding package, so a `my $.foo` inside of a method will be installing the accessor just as if you'd written a method inside of a method 17:08
AlexDaniel m: class Foo { method hmm { my $.bar = 42 }; }; my $a = Foo.new; my $b = Foo.new; $a.bar = 45; say $b.bar
camelia 45
AlexDaniel m: class Foo { method hmm { my $.bar = 42 }; }; my $a = Foo.new; my $b = Foo.new; $a.bar = 45; $a.hmm; say $b.bar
camelia 42
17:08 Altai-man_ joined
AlexDaniel m: class Foo { method hmm { has $.bar = 42 }; }; my $a = Foo.new; $a.bar = 45; $a.hmm; say $a.bar 17:08
camelia Cannot modify an immutable Int (42)
in block <unit> at <tmp> line 1
AlexDaniel m: class Foo { method hmm { has $.bar is rw = 42 }; }; my $a = Foo.new; $a.bar = 45; $a.hmm; say $a.bar 17:09
camelia 45
AlexDaniel ok I didn't know you could do that :D
m: class Foo { method hmm { has $.bar is rw = 42 }; method aaAAA { has $.bar }; } 17:10
camelia ===SORRY!===
Package 'Foo' already has an attribute named '$!bar'
AlexDaniel goddamn lack of the line number but otherwise it seems to be alright
lucasb gist.github.com/Whateverable/f3191...4d9537d340 #<-- all the 4 sigils :)
17:10 sena_kun left
AlexDaniel this one seems to be a mistake? github.com/szabgab/Perl6-Maven/blo....pm6#L8-L9 17:11
my $pages = Perl6::Maven::Collector.get_pages; 17:12
ok, not a mistake, seems like that's exactly what they meant
17:18 Kaiepi left 17:31 Kaiepi joined 18:16 robertle joined
Guest85410 AlexDaniel: can you take a quick look at gist.github.com/dogbert17/1c151a7a...d852a18d36 18:20
AlexDaniel samcv: ↑
jnthn: ↑ 18:21
Guest85410 As it is now the newest commits are at the bottom under each heading 18:23
also, you mentioned that I should skip five commit or something like that. From which commit should I skip?
AlexDaniel: ignore my last question 18:34
18:59 MasterDuke joined 19:06 maettu joined 19:10 Altai-man_ left
Xliff lizmat: Ah! Thanks for the explanation 19:18
19:33 sena_kun joined
lizmat And another Rakudo Weekly hits the Net: rakudoweekly.blog/2019/11/18/2019-46-guidance/ 19:44
19:47 Guest85410 left
lizmat afk& 19:49
MasterDuke lizmat++ 20:01
20:05 entonian joined 20:09 entonian left 21:00 Kaiepi left 21:04 Kaiepi joined 21:08 Altai-man_ joined 21:11 sena_kun left 23:10 sena_kun joined 23:11 Altai-man_ left