»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 May 2018.
buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 2 ballots submitted by 1 users! DRUM ROLL PLEASE!... 00:00
And the winning number is 3! Congratulations to [Coke]! You win a roll of duck tape!
El_Che it's rigged, it's always [Coke] 00:01
00:03 uzl_ left, dustinm` left 00:04 aborazmeh joined, aborazmeh left, aborazmeh joined, aborazmeh left 00:08 dustinm` joined 00:11 mcmillhj joined 00:15 mcmillhj left
Geth doc/car-grant-midrat: 61 commits pushed by 10 authors
review: github.com/perl6/doc/compare/ac030...3da68e7375
00:23 markoong left
Geth doc/car-grant-midrat: 904de9d3cc | (Zoffix Znet)++ | doc/Language/numerics.pod6
[CaR Grant] Toss MidRat and ZDR normalization

  - MidRat is ded[^1]
  - ZDR normalization is currently on back burner due to
   causing poorer error reporting and not solving all the
   mathemantical problems with ZDRs
  [1] blogs.perl.org/users/zoffix_znet/20...-2018.html
doc: zoffixznet++ created pull request #2086:
Add `Numerics` Language page
doc/master: 33 commits pushed by (Zoffix Znet)++, (JJ Merelo)++
review: github.com/perl6/doc/compare/9e1b7...8c8911d5e0
00:34 aborazmeh joined, aborazmeh left, aborazmeh joined 00:41 aborazmeh left
Geth doc: e8da29f414 | (Zoffix Znet)++ | 3 files
Remove leftover references to MidRat

It never existed outside of branches
00:54 mcmillhj joined 00:58 mcmillhj left 01:03 comborico1611 left 01:08 mcmillhj joined 01:10 skids joined
b2gills Zoffix: Then you have a problem with Stack Overflow's CSS, not with me. If you note, the way it is now, you can change the `1.` to any number and it will correctly renumber it on presentation, because it is now a correctly formatted Markdown ordered list. Also I told you in case you didn't like the change. There is no reason to be a _____________ about it. (Note that I made it so it would be easier to change the urls in the future 01:12
01:12 mcmillhj left 01:21 Zoffix joined
Zoffix b2gills: I had no problems until you started editing my shit. The seven prior edits to the answer should've suggested to you I didn't just type it all up with my eyes closed. It was perfect and you ruined it and there isn't even a reverse button for me to undo it. 01:22
But I no longer care. In 22 hours all those posts will be from "user342432". Edit them 'till you blue in the face. 01:24
01:24 Zoffix left
b2gills Zoffix: I assumed that you don't know all the syntax of Markdown, partially because you keep putting way too many dashes for a horizontal rule (you only need three), and that you keep using the worst way to add hyperlinks. You should always use named "variable" links at either the top or bottom of the page. 01:24
01:30 wamba left
b2gills There was no need for me to notify you of the change. I gave you the courtesy of telling you so that if you really didn't like it you could click on “rollback”. I even gave you the link where you would need to go to find it. If I didn't think of you as a rational adult, I wouldn't have changed it. 01:36
01:38 molaf left 01:41 mcmillhj joined 01:46 ilbot3 left, mcmillhj left 01:51 molaf joined 01:56 ilbot3 joined, ChanServ sets mode: +v ilbot3, mcmillhj joined 02:01 mcmillhj left 02:12 mcmillhj joined 02:17 mcmillhj left
TEttinger I'm not sure why people continue to think of Zoffix as a rational adult... he seems to have these weird angsty phases, where he just yells at people for confusing reasons, with regularity. I'm just an observer, I have no vested interest here, but the guy needs to grow up 02:19
perlawhirl sings "why can't we be friends" 02:28
talking _about_ people rarely helps. human's are allowed to get angry sometimes... but we also have the capacity to see beyond these moments 02:29
b2gills TEttinger: I think that what you wrote, wasn't written in the best spirit. Neither is what I wrote. The difference is I was having a disagreement with him and was emotional over it. (It was also far nicer than what I was originally going to write). 02:34
TEttinger it's just that he does this regularly... it seems like he needs to acknowledge it 02:35
02:36 mcmillhj joined 02:38 atweiden-air joined
atweiden-air i'm almost certain i read in the docs somewhere it's possible to lookup a variable's name, e.g. `my $variable; $variable.HOW.^self_name eq 'variable'` 02:39
does anyone know how to do this?
02:40 Zoffix joined
Zoffix atweiden-air: .VAR.name 02:40
02:41 mcmillhj left
Zoffix atweiden-air: but keep in mind that only works with proper variables. If a thing has something bound to it, that will give the name of the bound thing, or even crash with "no such method" 02:41
m: my $foo; say $foo.VAR.name; my $bar := $foo; say $bar.VAR.name
camelia $foo
Zoffix m: my $foo := 42; say $foo.VAR.name; my $bar := $foo; say $bar.VAR.name
camelia No such method 'name' for invocant of type 'Int'. Did you mean any of these?

in block <unit> at <tmp> line 1
Zoffix m: my $foo = 42; say $foo.VAR.WHAT =:= Scalar ?? $foo.VAR.name !! 'unknown name' 02:42
camelia $foo
atweiden-air Zoffix: great
Zoffix m: my $foo := 42; say $foo.VAR.WHAT =:= Scalar ?? $foo.VAR.name !! 'unknown name'
camelia unknown name
02:47 Zoffix left 02:48 mcmillhj joined 02:52 mcmillhj left 02:57 atweiden-air left 03:13 xtreak joined 03:15 Schepeers left 03:18 mcmillhj joined 03:22 mcmillhj left 03:37 mcmillhj joined 03:42 mcmillhj left 03:44 eliasr left, kurahaupo_ left, pecastro left, AlexDaniel left, Guest23105 left, mingdao left, cono left, zostay left, scott left, cibs left, xi- left, nine left, peteretep left, kent\n left, perigrin left, olinkl left, zoosha left, lumimies left, Success left, joy_ left, shadowpaste left, ponbiki left 03:46 Schepeers joined, Schepeers left, benchable6 left, coverable6 left 03:47 coverable6 joined, benchable6 joined, shareable6 left, squashable6 left, greppable6 left 03:48 committable6 left 04:02 sena_kun joined 04:04 mcmillhj joined 04:09 mcmillhj left 04:10 Schepeers joined 04:19 xtreak left, mcmillhj joined 04:23 xtreak joined 04:24 mcmillhj left 04:25 Kaiepi joined 04:29 kybr left 04:31 Schepeers_ joined 04:32 Schepeers left 04:41 sena_kun left 04:44 w_richard_w left, w_richard_w joined, committable6 joined, greppable6 joined 04:45 squashable6 joined, mcmillhj joined 04:47 curan joined 04:50 mcmillhj left 05:01 molaf left, gegagome joined
gegagome hi guys, I am new to perl so pardon my ignorance, but if an employer is looking for a perl developer, do they mean perl6? 05:02
and how do I know if a tutorial is perl5 or perl6?
raschipi No, they mean perl 5. 05:04
Everywhere you see just Perl, it's Perl 5. 05:05
If it's about Perl 6, it will be explicity about that.
gegagome I see
got it 05:07
thanks for the clarification
05:07 psychoslave joined 05:25 sauvin joined 05:28 kerrhau left 05:30 mcmillhj joined 05:35 mcmillhj left 05:47 mcmillhj joined 05:52 mcmillhj left, TEttinger left 06:04 jmerelo joined 06:07 Guest59250 left
jmerelo squashable6: status 06:09
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in ≈3 hours (2018-06-02 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
06:15 mcmillhj joined 06:20 mcmillhj left, domidumont joined 06:26 domidumont left 06:27 domidumont joined
raschipi domidumont: Any plans to package roast and run it with autopkgtest? 06:33
06:45 mcmillhj joined 06:50 mcmillhj left 06:51 epony left 06:57 Ven`` joined
Geth doc: 1220c5ecea | (Luca Ferrari)++ | doc/Type/Mu.pod6
Improve documentation about bless.

See issue #2077
synopsebot Link: doc.perl6.org/type/Mu
Geth doc: 2280294118 | (Luca Ferrari)++ | doc/Type/Mu.pod6
Try to explain why using new is bad idea.

See issue #2077
doc: cba5ade8c6 | (Luca Ferrari)++ | doc/Type/Mu.pod6
Link object construction documentation in method bless.

Close #2077
07:06 Sgeo joined 07:08 Sgeo_ left 07:19 AlexDaniel joined
AlexDaniel squashable6: next 07:20
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈2 hours (2018-06-02 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel \o/
squashable6 Webhook for perl6/whateverable is now active! Half measures are as bad as nothing at all. 07:22
07:26 Ven`` left, Ven`` joined
AlexDaniel Zoffix: fwiw there's no problem for me, I'm fine with not editing your comments. The thing is that in many environments these kinds of microcontributions are encouraged (wikis, stackoverflow, even source code of projects) 07:29
07:29 raschipi left
AlexDaniel and sometimes I even explicitly note that my comment can be edited, if it's a list of something 07:30
recently github introduced edit history for comments, so I guess there are not many reasons for not editing someone's stuff… 07:31
remarks from TEttinger are a bit worrying :( 07:32
Geth doc: 532a03908c | (JJ Merelo)++ | doc/Language/nativetypes.pod6
Links the Numerics page
doc: 5c7ff9f51f | (JJ Merelo)++ | doc/Language/numerics.pod6
Fixes links and reflows
synopsebot Link: doc.perl6.org/language/nativetypes
synopsebot Link: doc.perl6.org/language/numerics
AlexDaniel IMO it's fine being passionate about what you do, and getting a bit emotional is totally ok for me… as long as we focus on the actual topic and not downgrade to personal insults 07:34
jmerelo AlexDaniel: I would like also good answers in StackOverflow to _not_ be removed. 07:36
AlexDaniel and whether someone is an adult or not really should not matter, I hope we won't be using age as a means for discrimination…
I mean, just the idea of saying that someone is an adult or not is just wrong in its root, regardless of an actual age 07:37
jmerelo: what do you mean? 07:38
I think if you delete your account then it turns your answers into community wiki, no?
07:39 darutoko joined 07:43 epony joined, skids left 07:45 rindolf joined, wamba joined 07:47 kurahaupo_ joined, pecastro joined, Guest23105 joined, mingdao joined, cono joined, zostay joined, scott joined, cibs joined, xi- joined, nine joined, Success joined, peteretep joined, kent\n joined, perigrin joined, olinkl joined, zoosha joined, lumimies joined, joy_ joined, shadowpaste joined, ponbiki joined, Guest23105 left 07:49 giraffe joined, giraffe is now known as Guest18867, yoleaux left 07:50 undersightable6 left, undersightable6 joined 07:52 Ven`` left
jmerelo AlexDaniel: I want Squashaton! And Pizza! 07:59
AlexDaniel jmerelo: you can actually try following the instructions on github.com/perl6/whateverable/blob...IBUTING.md
jmerelo: and specifically on github.com/perl6/whateverable/wiki/Installation
jmerelo AlexDaniel: that I will :-)
AlexDaniel there are probably some rough spots in these instructions, yesterday I tried to go through things and found a bunch of issues 08:00
that I now resolved
so it should be much better/easier now, but who knows
jmerelo AlexDaniel: I'll start with that 08:01
08:01 zakharyas joined
AlexDaniel I have a feeling that HTTP::UserAgent is running out of handles, or something like that 08:03
08:03 aindilis` joined
AlexDaniel because if you run perl6 t/bisectable.t it will fail halfway through on the first run, but then it will succeed if you run it again because then it doesn't have to pull anything from the server anymore 08:03
08:04 aindilis left 08:26 ChoHag joined 08:30 Sgeo_ joined 08:31 xtreak left, xtreak joined 08:32 Sgeo left 08:33 xtreak_ joined 08:34 xtreak left, stmuk joined 08:36 stmuk_ left 08:44 sena_kun joined 08:55 Ven`` joined 09:11 aindilis` left
jmerelo I'm getting errors with some modules. Don't know if it will be temporary. Right now Stats is failing. 09:13
I'll start there... 09:14
09:16 w_richard_w left 09:19 AlexDaniel left
jmerelo Created a pull request for Stats github.com/MattOates/Stats/pull/9 09:19
squashable6: status 09:20
squashable6 jmerelo, ⚠🍕 Next SQUASHathon is in 39 minutes (2018-06-02 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
09:36 lookatme left 09:40 HaraldJoerg joined 09:45 parv joined 09:49 yoleaux joined, ChanServ sets mode: +v yoleaux 09:51 AlexDaniel joined
AlexDaniel jmerelo: oh, this is when installing deps for whateverable? 09:52
jmerelo AlexDaniel: right.
AlexDaniel jmerelo: I tweaked the instructions a bit: github.com/perl6/whateverable/wiki...pendencies 09:53
so that --force is mentioned… 09:54
let's create an issue maybe?
jmerelo AlexDaniel: OK
AlexDaniel can you file a ticket?
jmerelo AlexDaniel: done. 09:55
10:01 AlexDaniel left
squashable6 🍕 AlexDaniel++ wrote a comment on “Installation fails in 2018.04”: github.com/perl6/whateverable/issu...-393834953 10:02
🍕🍕🍕 First contribution by AlexDaniel++! ♥
jmerelo .tell AlexDaniel I'm running tests now. There seem to be some of them failing and then it gets stuck on... /tmp/whateverable/rakudo-moar/c80ea2f28939875586d326ca1c63db2cdf7b8c8d is locked. Waiting…
yoleaux jmerelo: I'll pass your message to AlexDaniel.
squashable6 🍕 JJ++ wrote a comment on “CI test?”: github.com/perl6/whateverable/issu...-393835102
🍕🍕🍕 First contribution by JJ++! ♥
🍕 JJ++ opened issue “Dockerize it?”: github.com/perl6/whateverable/issues/323 10:04
Geth doc: df52c6576f | (Claudio Ramirez)++ | doc/Type/IO/Spec/Unix.pod6
synopsebot Link: doc.perl6.org/type/IO::Spec::Unix
10:10 markoong joined
Geth doc: b004ef0c95 | (Claudio Ramirez)++ | doc/Language/containers.pod6
remove anecdotical language
synopsebot Link: doc.perl6.org/language/containers
squashable6 🍕 AlexDaniel++ labeled issue “Dockerize it?”: github.com/perl6/whateverable/issues/323
10:11 psychoslave left
squashable6 🍕 AlexDaniel++ wrote a comment on “Dockerize it?”: github.com/perl6/whateverable/issu...-393837244 10:12
10:14 Ven`` left 10:17 AlexDaniel joined
moritz 10:19
sorry 10:20
Geth doc: c3d66e9829 | (Claudio Ramirez)++ | doc/Language/containers.pod6
Add introductory paragraph
synopsebot Link: doc.perl6.org/language/containers
AlexDaniel jmerelo: heading home now so will be away for ≈1 hour :) 10:23
yoleaux 10:02Z <jmerelo> AlexDaniel: I'm running tests now. There seem to be some of them failing and then it gets stuck on... /tmp/whateverable/rakudo-moar/c80ea2f28939875586d326ca1c63db2cdf7b8c8d is locked. Waiting…
AlexDaniel oooooohhh 10:24
squashable6 🍕 AlexDaniel++ edited issue “Make it easier to run for contributors”: github.com/perl6/whateverable/issues/122
10:24 mniip left
AlexDaniel jmerelo: check out this issue: github.com/perl6/whateverable/issues/122 10:24
jmerelo: some test files are known to either not work locally, or not work at all… 10:25
feel free to unbust anything
jmerelo: as for the stuff being left behind, if that happens you probbably need to do 「rm -rf /tmp/whateverable/rakudo-moar/*」
El_Che wow 10:26
until it's cleaned up a containers would be handy :) 10:27
AlexDaniel we can probably eliminate the issue if we also save the PID of the process…
and it doesn't affect bots running on the server because they have each their own virtual /tmp
El_Che: you mean this? github.com/perl6/whateverable/issues/323 10:28
squashable6 🍕 AlexDaniel++ wrote a comment on “Make it easier to run for contributors”: github.com/perl6/whateverable/issu...-393840941 10:29
10:29 mniip joined
squashable6 🍕 AlexDaniel++ wrote a comment on “Make it easier to run for contributors”: github.com/perl6/whateverable/issu...-393840976 10:29
🍕 AlexDaniel++ edited wiki page “Installation”: github.com/perl6/whateverable/wiki/Installation 10:31
buggable New CPAN upload: P5rand-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5rand:cpan:ELIZABETH 10:32
El_Che oh crap, I didn't know github was killing anonymous gists 10:33
10:35 Ven`` joined 10:36 araujo joined, araujo left, araujo joined, Ven`` left 10:37 Ven`` joined
AlexDaniel already killed in fact 10:38
alright, away for ≈1 hour o/ 10:39
10:42 Ven`` left, Ven`` joined
buggable New CPAN upload: P5rand-0.0.5.tar.gz by ELIZABETH modules.perl6.org/dist/P5rand:cpan:ELIZABETH 10:42
10:44 AlexDaniel left 10:48 Ven`` left 10:49 Ven`` joined 10:51 psychoslave joined 10:56 Ven`` left, Ven`` joined
Geth doc: 65e76ccb73 | (Elizabeth Mattijsen)++ | doc/Language/5to6-perlfunc.pod6
Mention new functions supported by P5math
synopsebot Link: doc.perl6.org/language/5to6-perlfunc
lizmat afk for a few hours& 11:04
11:04 curan left
buggable New CPAN upload: P5built-ins-0.0.21.tar.gz by ELIZABETH cpan.metacpan.org/authors/id/E/EL/....21.tar.gz 11:12
jkramer m: say 5+²; say 5² 11:14
camelia 7
jkramer m: say (1,2,3)>>²
camelia (1 4 9)
11:19 Ven`` left 11:26 natrys joined
jkramer m: say ²; say ²²; say ²²² 11:28
camelia 2
jkramer What is happening here?
11:29 zakharyas left
jkramer m: say 2**2**2 11:29
camelia 16
jkramer m: say 22**2
camelia 484
jkramer m: say ((²)²)² 11:31
camelia 16
jkramer Ah 11:33
m: say 2**22 == ²²²
camelia True
El_Che magic 11:35
jkramer \o/ 11:37
El_Che is it a bug? 11:38
moritz imho yes 11:39
m: ²
camelia WARNINGS for <tmp>:
Useless use of constant integer ² in sink context (line 1)
moritz ² shouldn't mean either 2 or **2 depending on the context
El_Che ²²² is a weird one 11:41
first ² is 2, the rest exponent
jkramer: can you post an issue with your examples? Good catch
jkramer Sure 11:42
El_Che jkramer++ 11:43
lizmat: re your SO comment "FWIW, a P5gethostbyname module that exports gethostbyname with Perl 5 semantics, is in the works" 11:46
lizmat: in this case the functionality is missing on Perl6 altogether. Weird that the solution is p5-semantics only. Just a thought. 11:47
lizmat: is there something weird for perl 6 on this type of contained functions?
lizmat: that make them "perl5 semantic"
11:50 Ven`` joined 11:51 Schepeers_ left 11:56 AlexDaniel joined
jkramer github.com/rakudo/rakudo/issues/1892 11:56
11:57 Schepeers joined, Schepeers left 11:59 Schepeers joined, Schepeers left
El_Che jkramer++ 11:59
12:03 Schepeers joined
AlexDaniel I already commented on that issue 12:06
AlexDaniel brings popcorn
jkramer Ah sorry, I didn't know this is old/known 12:08
El_Che no sorries, it's confusing as hell 12:12
12:12 mahafyi joined 12:13 xtreak_ left
jkramer Yeah, but realistically I probably wouldn't ever write ²²² in real-life and expect it to do something useful, so for me it's no biggie :) 12:15
I only found that by accident trying to find out how ² is implemented so it turns into **2 and works in code like (1,2,3)>>² 12:16
El_Che I would expect it to panic there 12:17
jkramer In (1,2,3)>>² ?
El_Che no, ²²²²²
jkramer Ah 12:18
12:18 Ven`` left, Ven`` joined
jkramer Actually I still don't know how ² is implemented, that's why I tried ².^name in the first place. :) I expected it to be defined as something like -> $n { $n ** 2 } so it works in >>² 12:19
El_Che Zoffix: Re: editing of posts on SO, see stackoverflow.com/help/editing 12:37
12:41 itaipu joined 12:43 mcmillhj joined 12:47 itaipu left 12:48 itaipu joined 12:50 zakharyas joined 12:59 Ven` joined, Ven`` left 13:01 Ven` left 13:04 Ven`` joined 13:13 garryq3 left 13:19 kurahaupo_ is now known as kurahaupo 13:29 atroxaper joined 13:37 shareable6 joined
AlexDaniel squashable6: status 13:39
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈22 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/11815e42da19a6b523...16a13c2aa7
atroxaper CommaIDE BETA is released!
jnthn Finally! What took them so long? :) 13:44
yoleaux 31 May 2018 17:20Z <samcv> jnthn: i think this seems proper github.com/MoarVM/MoarVM/commit/1b83cc54bf trying to fix this coverity scan warning scan4.coverity.com/reports.htm#v27...tId=287729 let me know if any issues with this
atroxaper jnthn: haha ^^ 13:49
13:49 eliasr joined
SmokeMachine does the vim plugin works on CommaIDE? 13:51
El_Che isn't commaide just a plugin?
I would expect it could be combined with other plugins
13:52 andrzejku_ left
jnthn El_Che: It's both standalone IDE *and* can be used as a plugin 13:52
El_Che yes, that's what I mean 13:53
also being a plugin it should work with other plugins
jnthn SmokeMachine: Just installed the Vim plugin in Comma. Wow. I shoulda done this earlier. :D 13:54
El_Che pretty much how most language specific plugins/standalone intellij ide works
SmokeMachine jnthn: I can't use IntelliJ without that! :)
jnthn El_Che: Right, it's plugins all the way down (or up), pretty much. :) 13:55
El_Che (as in: if you need more than 1 lang, you'll endup with regular intellij + plugins)
jnthn: I'll try it when less busy. Looking forward to it. Cheers 13:58
13:58 molaf joined
jnthn :) 13:58
14:01 titsuki_ left, titsuki joined
atroxaper jnthn: are debugger works? 14:05
null 14:06
at java.util.concurrent.CompletableFuture.timedGet(CompletableFuture.java:1771)
at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1915)
at edument.perl6idea.debugger.Perl6De...d.java:52)
jnthn: Have setup SDK. Can just run. Try to debug, then see Fatal Error ^
jnthn I didn't see *that* happen before, now. Please use the built-in report thing to send us the full trace. As to how well it works...it certainly needs a pretty recent MoarVM to stand much chance. 14:08
atroxaper Just updated perl6 from master... And send report ofcource. 14:09
jnthn Thanks, we'll take a look 14:12
El_Che jnthn: if rakudo java was on par with the regular one it would make your life easier in Java land, I guess 14:13
jnthn Hmm...maybe, though I'm doubtful we could have re-used the Rakudo parsing impl. What the IDEA platform wants there is just a bit too different to adapt. And you need a grammar that accepts every input too. 14:16
El_Che I see 14:18
jnthn What we actually built is a compiler that turns a Perl 6 grammar subset into a lexer/parser
El_Che impressive
jnthn And then took the Perl 6 grammar and marked it up with what tokens/tree nodes should be produced 14:19
El_Che it pays off to have the rakudo guy on the team :)
jnthn So we follow the real grammar pretty faithfully
So if you write stuff like a regex with a code block in it with a string in it that interpolates another code block that does a regex, then we'll cope alright. :)
Whether the reader of such code will also cope alright is another matter :P 14:20
14:22 Aaronepower joined
El_Che hehe 14:22
Geth doc: a1e3a9ad10 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Language/glossary.pod6
Link memoization to the wiki
synopsebot Link: doc.perl6.org/language/glossary
14:28 Zoffix joined
El_Che AlexDaniel: I see the pop corn part now 14:29
Zoffix El_Che: yeah "Edits are expected to be substantial and to leave the post better than you found it" and which hasn't happened after b2gills's edit. "The rollback action itself then appears as the most recent item in the edit history." I only had rollback buttons for my own edits, not b2gills's, presumably because they have more rep. And since the diff included the entire post, I couldn't even manually edit it 14:31
without reviewing the entire post
El_Che: "this may not be the site for you." Yeah, agreed, which is why I deleted my account. Writing expert content to line the pockets of some nerd who does nothing while a stranger messes up your work is certainly not for me. 14:32
AlexDaniel: I like to believe I started GitHub's move to implement edit history when I emailed them saying a hostile user was editing my Issues and was damaging my character by misrepresenting what content my Issues contained. Thus, I don't believe they added it just so a stranger could barge in and make three of my sentences bold just because they felt like it. The comment is listed as posted by me. Just 14:36
because there's a way to perform two clicks to view the parts that weren't added by me doesn't mean most readers will automatically see which parts aren't from me.
El_Che Yeah, it seems to be an "deal with it or leave" policy 14:37
Zoffix This is the equivalent of personal space IRL. Just because you can stand 2 inches away from my face doesn't mean you should do that.
El_Che Zoffix: someone was trolling you changing your issues in bad faith? 14:39
that sounds bad
geekosaur I have other issues with SO, unrelated to this, but it still comes down to "everything must be on SO!" translating to "you don't want me to contribute" 14:41
El_Che geekosaur: I don't see it like that 14:42
geekosaur I noticed
El_Che geekosaur: it's just a popular medium that it's a first stop for many programmers
geekosaur you do not control my opinion, so I don't care how you see it
and it's not you that's doing most of the pushing anyway
El_Che geekosaur: and ofter the first link after a google search
Zoffix El_Che: they weren't trolling. I left a negative review of their project on CPANRatings and then filed a few bugs. They edited the issues to remove the actual bug reports and then added their own comment saying "issue deleted because the user is agressive" or something along those lines
El_Che in my opinion, the "everything" part applies to the doc site 14:43
SO is marketing
Zoffix El_Che: cpanratings.perl.org/dist/JSON-Create#12286 14:44
They now include a mention of me in the Pod :P
14:44 araujo left
El_Che lol 14:46
Zoffix El_Che: ah, here. Edited it to say "harrasment non-issue": github.com/benkasminbullock/json-c...e/issues/3 The log shows the original title was "Death on subrefs" and the same edit on github.com/benkasminbullock/json-c...e/issues/2 which log shows was originally titled as "Inconsistent/Unwanted Handling of Objects"
And then locked the Issues so I can't edit them anymore
14:48 araujo joined, araujo left, araujo joined 14:53 Ven`` left
Zoffix Oh man, Comma is here!!@! 14:53
El_Che buy some RAM :) 14:54
Zoffix No paypal, eh? 14:55
Damn, I don't wanna enter my credit card number on some random site.
Instead of just paying by paypal, I had to get up and get my wallet in the other room! #FirstWorldProblems 14:57
El_Che: why some RAM? Does it need a lot? 15:00
El_Che Zoffix: it's a Java based IDE. It's good for a Java app though
15:01 araujo left
timotimo atroxaper: can you help me help you with the debugging issue? 15:05
atroxaper timotimo: with pleasant!))
timotimo i'm not 100% sure how to go about this; let's start with what version of perl6 is in your SDK?
Zoffix "Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk." 15:06
atroxaper timotimo: on CommaIDE or Plugin&
timotimo Zoffix: put it at risk .. of being AWESOME! :P
atroxaper: which ever you are using i guess? 15:07
locally i have only the plugin in a regular IntelliJ IDEA
atroxaper timotimo: I download full CommaIDE for sure. And could setup SDK perl6 only from rakudobrew.
perl6 2018.05.43 now 15:08
timotimo OK, that is new enough to have the debugserver in it, at the very least
15:08 skids joined 15:09 domidumont left
timotimo OK, here's something you can try: in the run configuration that you use to debug, open the environment variables window, add a new one called MDS_PROTOCOL, set its value to "yes" 15:11
and run the debug process 15:14
it should give a lot of output in the console, hopefully
another thing we could try is setting the Debug Port to something that's surely unused in the Debug part of the Run Configuration 15:15
atroxaper timotimo: added just "thread 1 reacting to suspend request"
timotimo hm, if the address were already in use, moar would panic at the start, so that can't be it 15:16
atroxaper Yes. If I run the second debug then I see MoarVM panic... 15:17
timotimo right. comma needs to learn to find a free port before starting
and after the output appears you get that timeout error again?
15:18 mahafyi left
atroxaper yes. Actually the process is not finished. Just stuck. 15:19
timotimo is there any kind of firewall in place that might prevent the IDE from connecting to localhost on that port?
hm, it's probably not an ipv4/ipv6 problem? 15:21
atroxaper I think no/
jnthn timotimo: Is the suspend request something that can only be sent from the outside, or is that just because of it starting the program suspended? 15:22
timotimo the timeout for that connection is 2 seconds; it doesn't take that long to launch the moar process, right? 15:23
by itself, moar reaches the point where the port is opened in under a milisecond
atroxaper Gonna try to completely reinstall IntellijIDEA
jnthn timotimo: No, given it doesn't even load anything at the point it's suspended
15:24 wamba left
timotimo indeed 15:24
atroxaper jnthn: I clone rakudo, did configure and make. If I select rakudo folder in SDK dialog then I get "currupt" message :( 15:29
jnthn: I can choice SDK only from rakudobrew folder. 15:30
timotimo what folder exactly are you using?
i think it has to be the one you put into --prefix= with Configure.pl
atroxaper ~/git/rakudo/
15:30 comborico1611 joined
timotimo actually, the bin folder from the install prefix 15:30
jnthn atroxaper: It needs to be a directory containing a perl6 binary (or perl6.bat on Windows)
timotimo we could surely point that out in the error message 15:31
jnthn Yeah, or just try looking under bin/
timotimo right, or install/bin :)
jnthn Though in most cases folks have a Perl 6 in their PATH and we just find that and don't make them select anything :)
atroxaper The root of rakudo repository has perl6 binary...
Zoffix jkramer: the superscript operators are implemented in the grammar that rewrites them to a call of &postfix:<ⁿ> : github.com/rakudo/rakudo/blob/mast....nqp#L4340 github.com/rakudo/rakudo/blob/mast...7679-L7691 github.com/rakudo/rakudo/blob/c80e...c.pm6#L280 15:32
timotimo that's not one that works outside of the repository
jnthn Yes, but that binary doesn't work outside of the Rakudo directory, I believe.
atroxaper I have perl6 in the PATH and have to setup SDK.
timotimo comma is supposed to find the perl6 in path and suggest it as an SDK i think?
jnthn timotimo: Yes 15:33
atroxaper Ok. Then I just choice the one from rakudobrew ^^
timotimo we can surely figure out the case when someone selects the perl6 from inside the source folder
jnthn timotimo: Probably yes, but we can't really make it work. :-)
Zoffix jkramer: and handling of ² as a term is implemented as simply unicode properties: github.com/rakudo/rakudo/blob/mast....nqp#L3607 github.com/rakudo/rakudo/blob/mast...7906-L7918
timotimo indeed. we can just make sure the user understands why it's wrong 15:34
15:34 araraloren joined
jnthn I would like us to some day have a way that you can point Comma at Rakudo sources and then you will be able to Go To Declaration into there and debug into it and so forth :) 15:34
timotimo agreed 15:35
15:35 zakharyas left
Zoffix The bug reporting in comma don't work for me 15:37
The bug being if you use `unit class Foo` it indents all the stuff as if I wrote `class Foo {` 15:38
jnthn Zoffix: How did you try to do it?
ah, then probably we're not thinking of the same thing, 'cus that wouldn't cause an exception, and the reporter I'm thinking of is for those cases
Zoffix jnthn: I went to "Help-> Submit feedback" and it crashed and said "Submit a bug report". So I typed stuff up, and clicked send and it greyed out all the buttons and just sat there doing apparently nothing. I waited a couple minutes and closed it and clicking "Help Submit feedback" did nothing afterwards 15:39
15:39 ZeonPeon joined
Zoffix Ok, now looks like it worked (the sending after crash) 15:39
jnthn Hm, weird. Was gonna say, I already had some reports in the DB from before 15:40
atroxaper timotimo: as I understand, moar opens 9999 port and wait "somebody" to connect to it. Right? 15:41
jnthn Zoffix: Aha, found what happened in the logs.
timotimo that's right. somebody == comma's debugger feature
Zoffix Cool
jnthn Zoffix: Backend failure
timotimo i'm glad most of our early users are on #perl6, too
Zoffix :)
jnthn Me too :)
btw, the site that'd used to sell and offer Comma downloads is built using Cro :) 15:42
ZeonPeon Is there a way of specifying the type of list items for a sub argument?
Zoffix Cool
15:42 parv left
Zoffix ZeonPeon: yeah, use the where clause 15:42
m: -> @ where .all ~~ Int { say "all are Ints" }(<1 2 3>) 15:43
camelia all are Ints
ZeonPeon Like "List where Str :$item"?
Zoffix m: -> @ where .all ~~ Int { say "all are Ints" }(<1 2e0 3>)
camelia Constraint type check failed in binding to parameter '<anon>'; expected anonymous constraint to be met but got List ($(IntStr.new(1, "1"),...)
in block <unit> at <tmp> line 1
ZeonPeon Oh, so a subset type thingy
Zoffix Basically, yeah
ZeonPeon Thank you
Zoffix eco: WhereList 15:44
buggable Zoffix, WhereList 'Simpler `where` constraints for items of lists': modules.perl6.org/dist/WhereList:gi...fix%20Znet
Zoffix There's also that module if you have a bunch of complex constraints on lists
ZeonPeon Neat, mind if I ask another question? 15:45
Zoffix No, ask away.
ZeonPeon Is there anyway of importing using a namespace?
Like pythons "import <whatever> as what"?
Zoffix There's some binding-to-constant syntax 15:46
Zoffix tries locally 15:47
ZeonPeon Thanks
Zoffix constant IRC = (require IRC::Client); say IRC.new
ZeonPeon Ohh 15:48
Zoffix So the class is named IRC::Client, but that lets you instantiate it via `IRC` name
ZeonPeon That's handy
I'm guessing you can use that to dynamically load modules? 15:49
Zoffix yeah 15:51
$ perl6 -e 'print "Enter module name to load: "; my $name := get; my \Mod = (require ::($name)); say Mod.new'
Enter module name to load: IRC::Client
IRC::Client.new(filters =>
Tried sticking `get` directly inside ::() and it didn't wanna load it. Prolly a bug 15:52
ZeonPeon odd
15:52 troys joined
ZeonPeon Can you import by path? 15:52
Say I want to have a specific module for scraping a site, would I have to have them all in the same lib directory or can I have them in their own specific directories throughout the filesystem? 15:54
Zoffix dunno 15:56
ZeonPeon So I'm reading the modules wiki page and I'm guessing you could store the Module name & file as "Module::File" and dynamically import based on that 15:57
Thank you again for the help 15:58
timotimo i'll be AFK for a little bit. atroxaper if you want to try if debugging works in general, that'd be cool. you can try installing zef install --/test App::MoarVM::Debug and then "moar-remote 9999" with 9999 being the debug port used
atroxaper timotimo: will try 15:59
timotimo thank you. see you soon!
Zoffix bdfoy would love comma... It seems to indent with his style 16:00