🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
patrickb AlexDaniel: I'd like to connect CircleCI to github.com/Raku/App-Rakubrew What's the best way to do that? Using my own GitHub and CircleCI account? 00:01
AlexDaniel patrickb: actually I don't know!
patrickb: can we do it for Raku org somehow?
patrickb CircleCI works using a OAuth GitHub app. I'd guess it's always connected to a GitHub account. 00:02
There is no non-person Raku github account, is there? 00:03
00:03 dirty_talk joined
dirty_talk hi. which is better for text manipulation, Perl or Raku ? 00:03
AlexDaniel looks at support.circleci.com/hc/en-us/arti...not-listed
dirty_talk: depends on the kind of text you have 00:04
dirty_talk: if you have many thousands of lines and need some basic manipulation, then perhaps Perl will be faster
dirty_talk: if the processing needs to be unicode aware then Raku will likely do better
guifa2 dirty_talk: that depends a bit. Perl is a bit faster at the moment and better supported on other systems, Raku has a bunch more power but isn't installed by default on many distributions (yet)
AlexDaniel patrickb: I clicked something 00:06
patrickb AlexDaniel: An email just told me, that CircleCI can now access Raku through my account, because I already had it enabled for my personal account and the org is now also enabled... 00:07
AlexDaniel patrickb: oook 00:08
patrickb I'll see if this is already all I need. Thanks!
AlexDaniel patrickb: let me know, chances are I'll need to bump your level in the org
00:08 guifa2 left
patrickb AlexDaniel: I managed to access the Raku org through the circleci website, but see no repository. 00:14
AlexDaniel hold on
hmm 00:15
lizmat .tell guifa2 I only see uploads to CPAN and new entries in ecosystem
tellable6 lizmat, I'll pass your message to guifa2
AlexDaniel Installed GitHub Apps: Travis CI
I don't see CircleCI for some reason
patrickb AlexDaniel: It's an OAuth app 00:16
AlexDaniel which means?
it is not supposed to appear there? 00:17
00:17 guifa2 joined
patrickb AlexDaniel: For me the Github -> Settings -> Applications Tab has three tabs: Installed GitHub Apps, Authorized Github Apps, Authorized OAuth Apps. 00:18
AlexDaniel: CircleCI is listed on that last tab
Also repos just started to show up on the CircleCI website.
Maybe all is well already...
AlexDaniel patrickb: I think I've just enabled something
you just need the config file 00:19
ah it's already there?
ok, so, what about now?
patrickb looking very good 00:20
AlexDaniel I see now, yeah
it added a key, hmm
00:22 guifa2 left
patrickb AlexDaniel: The Windows and Linux builds are working already. I've just requested MacOS access. Once that's granted and I get it building there too, we'll have a fully automated release build process for Rakubrew. :-D 00:28
AlexDaniel: Thanks for your quick help!
00:31 guifa2 joined
dirty_talk Raku vs Ruby 00:32
00:44 patrickb left, guifa2 left
Doc_Holliwould rypervenche: gist.github.com/holli-holzer/6509e...abb0c82138 00:45
dirty_talk Doc_Holliwould Raku vs Ruby 00:48
Doc_Holliwould i have never read nor written a single line of ruby
dirty_talk Doc_Holliwould why ? 00:49
Doc_Holliwould why haven't you ever used Ook! ?
rypervenche Doc_Holliwould: Oooh, thanks a lot :) I'll look over this and make some changes. 00:50
Doc_Holliwould changes?
dirty_talk Doc_Holliwould cause i'm a stupid guy
also Ook as nothing exciting 00:51
for me *
it's hard to excite me. Trust me
Doc_Holliwould well. there is your answer
rypervenche Doc_Holliwould: Changes to my version. :P And learn what other things I can do with this that you did.
dirty_talk I'm very used to excitation 00:52
Doc_Holliwould Or you can just use it as it is :D
cpan-raku New module released to CPAN! FindBin (0.6.0) by 03LEMBARK 00:55
rypervenche I'm trying to learn. :) 00:56
Doc_Holliwould did you learn about multi subs yet? 00:59
rypervenche Yes.
Doc_Holliwould did you know MAIN can be a multi too? 01:00
dirty_talk Well, I don't know which time is it for you 01:01
but it's late here
I should disconnect. Good night
cpan-raku New module released to CPAN! FindBin (0.6.1) by 03LEMBARK 01:02
New module released to CPAN! FileSystem::Parent (0.4.0) by 03LEMBARK
01:02 dirty_talk left
rypervenche Yep, I've seen that. What you wrote is great though, because I'm not great at breaking my code up into subroutines like you did. And you also did the set thing I was having trouble figuring out :) 01:06
Doc_Holliwould There is a "problem" with the code as in it doesnt complain when you put -d and -x at the command line 01:10
the latter than being ignored. You could catch that with an if in the main function checking for that 01:11
or you put it like so, but that means a bit of repition: gist.github.com/holli-holzer/a909c...e48158b346 01:13
Geth doc: 0781f164cf | Coke++ | doc/Language/operators.pod6
fix typo
Doc_Holliwould repitition
rypervenche repetition :) 01:14
cpan-raku New module released to CPAN! FileSystem::Parent (0.4.1) by 03LEMBARK 01:16
New module released to CPAN! FindBin (0.6.2) by 03LEMBARK 01:18
rypervenche Ah yeah. I didn't want to repeat all of that code, but having it all in a subroutine doesn't make it super long.
Doc_Holliwould It's still a bad idea to do it this way 01:23
rypervenche Hm? 01:24
cpan-raku New module released to CPAN! FileSystem::Parent (0.4.2) by 03LEMBARK 01:25
rypervenche This is both my first script and a learning experience for me. It doesn't have to be perfect. I've been learning a lot from this though.
Doc_Holliwould Well, it's not 1989 anymore. You are excluding so many valid passwords
like "Jägerme1ster!" 01:26
first script, really? 01:27
i lift my hat Sir, well done
01:31 wildtrees left
cpan-raku New module released to CPAN! FindBin::libs (0.3.0) by 03LEMBARK 01:33
New module released to CPAN! FileSystem::Parent (0.4.3) by 03LEMBARK
New module released to CPAN! FindBin (0.6.3) by 03LEMBARK
01:43 a3r0 joined
rypervenche Do many sites allow unicode characters in their passwords? 01:56
Grinnz whatever their password hashing function allows 01:59
02:03 huztiuzt joined
rypervenche Good to know. I'll add an option for extended ascii at least then. :) 02:07
02:39 llfourn joined 02:56 huztiuzt left
cpan-raku New module released to CPAN! Net::BGP (0.3.0) by 03JMASLAK 02:58
03:13 ToddAndMargo joined, guifa2 joined
ToddAndMargo What is the proper way to state that I am returning a hash from a sub? `sub x() returns % {}` 03:14
03:34 guifa2 left 03:35 guifa2 joined 03:37 xh-78 joined 03:52 guifa2 left 03:54 sauvin joined 03:55 guifa2 joined
ToddAndMargo I think this is it: > sub x() returns Associative { my %h= A=>"a"; return %h}&x> x{A => a} 04:01
04:02 guifa2 left 04:09 guifa2 joined 04:12 Doc_Holliwould left
guifa2 ToddAndMargo: note that "returns Associative" could return a hash or a map or even a pair. To strictly return just a hash, you would use sub x returns Hash { … }, or sub x (--> Hash) { … } 04:14
tellable6 2020-01-21T00:15:12Z #raku <lizmat> guifa2 I only see uploads to CPAN and new entries in ecosystem
ToddAndMargo > sub x() returns Hash { my %h= A=>"a"; return %h}&x> x{A => a} 04:15
Thank you. To return an array, would it be "Array"? 04:16
04:19 guifa2 left
ToddAndMargo > sub y() returns Array { my @a=(1,2,3,2,1) ; return @a}&y> y[1 2 3 2 1] 04:25
still too high up the food chain?
05:05 xh-78 left 05:35 ToddAndMargo left 05:46 llfourn left 05:57 guifa2 joined 06:07 jmerelo joined 06:12 xh52 joined
Geth ecosystem: 9474144314 | L'Alabameñu++ (committed using GitHub Web editor) | META.list
Add Carp to the ecosystem
ecosystem: eb99030892 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #479 from alabamenhu/patch-6

Add Carp to the ecosystem
guifa2 .tell ToddAndMargo: returning Array has the same issues. Positional allows list/array/etc, Array requires an array explicitly. There are some times that one or the other is better (particularly if you're returning lists that should be immutable, then youd want to avoid Array) 06:18
tellable6 guifa2, I'll pass your message to ToddAndMargo
06:21 guifa2 left, aluaces joined
Geth doc: 2ad6501323 | (Peter du Marchie van Voorthuysen)++ | doc/Type/Seq.pod6
Use pod formatting
doc: b7c412091e | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Seq.pod6
Merge pull request #3178 from dumarchie/#3163

Use pod formatting
doc: deb367ae2e | (JJ Merelo)++ | doc/Language/operators.pod6
Adds examples and expands explanation for +^. Closes #3177
doc: 39478c297a | (JJ Merelo)++ | doc/Language/functions.pod6
Adds link to explanation of operator names, closes #3175
07:15 domidumont joined 07:26 jmerelo left 07:30 llfourn` joined 07:31 xh52 left 07:40 llfourn` left 07:51 rindolf joined 08:32 wamba joined 09:01 cpan-raku left 09:03 cpan-raku joined, cpan-raku left, cpan-raku joined 09:10 rindolf left 09:18 b2gills left 09:25 sena_kun joined, wamba left 09:29 rindolf joined 09:33 b2gills joined
lizmat clickbaits rakudoweekly.blog/2020/01/20/2020-...aittraced/ 09:38
09:59 wamba joined 10:04 Doc_Holliwould joined 10:34 Altai-man_ joined 10:36 sena_kun left
lizmat Files=1301, Tests=109805, 210 wallclock secs (28.50 usr 8.04 sys + 2943.37 cusr 241.31 csys = 3221.22 CPU) 10:46
11:16 squashable6 left 11:19 squashable6 joined 11:20 Doc_Holliwood joined 11:23 xinming_ left, xinming_ joined 11:27 wamba left 11:37 wamba joined 11:53 holli joined 11:55 Doc_Holliwood left, Doc_Holliwould left, Doc_Holliwood joined 12:13 melezhik left 12:28 lucasb joined 12:30 ensamvarg joined 12:33 MasterDuke left 12:34 scimon joined
scimon m: my $a = EVAL "1+1";say $a 12:34
camelia 2
12:34 sena_kun joined
scimon Ummm.... shouldn't that throw and Exception? 12:35
12:36 Altai-man_ left
scimon Ahhhhhh. 12:36
m: my $b = 5;my $a = EVAL "1+$b";say $a 12:37
camelia 5===SORRY!5=== Error while compiling <tmp>
EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma to override this error,
but only if you're VERY sure your data contains no injection attacks)
at <tmp>:1
------> 3my $b = 5…
scimon Ok... I get it now.
tadzik that's one aggressive error message 12:42
.oO( the internets are without mercy )
13:02 scimon left 13:04 kensanata joined
tbrowder lizmat: i like the new raku weekly website--nice job! 13:07
tellable6 2020-01-19T13:47:45Z #raku <Kaiepi> tbrowder, possibly, i'll think about it
lizmat tbrowder: thank you :-) 13:08
tbrowder you're welcome.what do folks think about the <raku-advent.blog> desinf 13:09
13:10 Doc_Holliwood left
tbrowder *design? i like the original perl6 design better, with all due respect to jmerelo. 13:10
13:10 holli left 13:18 holli joined, Doc_Holliwood joined
Geth doc: 0b55f7d806 | Coke++ | CONTRIBUTING_PRs.md
[Coke] ^^ with that, "make test" on doc passes again.
Geth doc: 57c02ab5a1 | Coke++ | 2 files
typos, new words
doc: 5fef183ab4 | Coke++ | xt/space-after-comma.t
allow diff output.

passes CONTRIBUTING_PRs.md file
14:13 wamba left 14:19 chloekek joined
Geth doc: 507edd2965 | Coke++ | doc/Type/X/Syntax/Perl5Var.pod6
14:33 kensanata left 14:34 Altai-man_ joined 14:36 sena_kun left
cpan-raku New module released to CPAN! Gnome::N (0.15.3) by 03MARTIMM 14:38
New module released to CPAN! Gnome::Gtk3 (0.21.3) by 03MARTIMM 14:44
New module released to CPAN! Gnome::Gdk3 (0.15.1) by 03MARTIMM
New module released to CPAN! Gnome::GObject ( by 03MARTIMM
New module released to CPAN! Gnome::Glib ( by 03MARTIMM
rypervenche How might one convert a decimal ASCII code into an actual ASCII character? For example take 255 and print ÿ. 15:02
Geth doc: 5e61027394 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/community.pod6
Correct interior quotation marks to single quote

Also, remove apparently spurious right square bracket.
Better interior single quotes could be used with Unicode.
15:08 k0b6ef joined, holli left, Doc_Holliwood left 15:12 squashable6 left
tbrowder jmerelo: with new doc process where do we find how to defne the article sort order within doc categories? 15:13
tellable6 tbrowder, I'll pass your message to jmerelo
15:14 squashable6 joined 15:20 melezhik joined
tbrowder i just registered for the perl/raku conf in houston--i hope to meet other raku folks there. a houston friend of mine (college classmate) has also registered (with pressure from me). he is an old fortran programmer, but hasn't been doing such for a long time. he runs a small windows shop supporting local business owners' IT needs, and i'm trying to get him to get into raku programming at least as a hobby. i hope some raku 15:21
attendees can tell him how raku can simplify his work!
vrurg tbrowder: See you there then. Unless my boss decides not to cover the related expenses, I'll be participating too. 15:24
tbrowder vrug: great! do you use raku on win 10? 15:26
vrurg tbrowder: what's win10? :D
k0b6ef Good Day,
I will be assisting you with your service request SR#.
From what I understand, the problem description is as follows <description>.
Please let me know if anything stated above is incorrect. To help me meet your expectations, can you please explain the business impact of this issue?
In particular, could you please provide answers to the following:
Question 1
Question 2
Question 3
Please do not hesitate to contact me if you have any further questions.
Best Regards,
Krzysztof 'Kris' Bloniarz | EMEA | Ireland | Cork | Sr. Technical Support Engineer 15:27
tbrowder my feelings, too!
k0b6ef my fat fingers, sorry for that
15:28 sauvin left
vrurg tbrowder: I've spent a few years under win7 like a decade ago. Enough is enough. :) 15:28
tbrowder the irony is bill, my friend, used to work for ibm and was able to create stuff without windows. it's too bad he got trapped in the land of the backslash dir separator! 15:29
15:29 k0b6ef left
tbrowder i'm trying to interest him in getting a new perspective on digital work life. your life experience may help that. 15:31
15:32 k0b6ef joined 15:40 sauvin joined 15:52 kensanata joined
AlexDaniel m: say 255.chr 16:04
camelia ÿ
AlexDaniel rypervenche: ↑
16:09 jmerelo joined 16:15 kensanata left 16:26 domidumont left 16:32 chloekek left 16:35 sena_kun joined 16:36 Altai-man_ left 16:40 domidumont joined, domidumont left 16:44 domidumont joined
rypervenche AlexDaniel: Thanks. 17:04
17:05 wildtrees joined
Kaiepi releasable6, status 17:05
releasable6 Kaiepi, Next release will happen when it's ready. 1 blocker. 0 out of 510 commits logged
tellable6 2020-01-19T13:15:23Z #raku <tbrowder> Kaiepi are you interested in mentoring for a GSoC project to work on pod improvements? i could maybe help if need be
releasable6 Kaiepi, Details: gist.github.com/7fc67246e08026a6f0...b9274e5aa0
sena_kun Kaiepi, release is very close, we're blocked by moarvm release right now 17:10
17:10 veesh_ joined
Kaiepi ah 17:10
cpan-raku New module released to CPAN! Trait::Traced (0.1.0) by 03KAIEPI 17:11
Kaiepi ^ makes tracing thread-safe and implements the api for writing tracers! 17:12
17:12 veesh left, veesh_ is now known as veesh 17:17 jmerelo left 17:20 adisbladis left 17:37 xinming_ left 17:38 xinming_ joined 17:58 ensamvarg left 18:00 patrickb joined 18:02 finsternis joined 18:14 wildtrees left, pochi_ left 18:17 pochi joined 18:24 wamba joined 18:34 Altai-man_ joined 18:37 sena_kun left, xinming_ left, chloekek joined, xinming_ joined
tony-o .help 18:47
.weekly deathbyperl6.com/zef-ecosystem/ 18:48
gah, can never remember that
18:58 jmerelo joined, squashable6 left 18:59 squashable6 joined 19:04 k0b6ef left 19:09 vividsnow joined
TreyHarris guifa: excellent work on Carp--I used it a lot in P5 and when I inquired about it in 2016 according to channel logs, I was told it wasn't yet implementable in rakudo. I guess I missed the change that enabled it 19:15
Geth doc: 621dcf43d6 | (JJ Merelo)++ | doc/Type/Metamodel/Primitives.pod6
Try to address stackoverflow.com/questions/444869...1#44620731

But it would probably be better to raise an issue to provide an actual example. Also, some fixing.
19:26 sauvin left
Geth doc: 5c589c5f5d | (JJ Merelo)++ | doc/Type/Metamodel/Primitives.pod6
Changes another variable name.
uzl[m] Can these Rakudo releases (github.com/rakudo/rakudo/releases) be installed on Windows? Or do they only target Linux?
Geth doc: 9f2a911476 | (JJ Merelo)++ | doc/Type/Metamodel/Primitives.pod6
Adds period to end footnote.
tony-o .tell tbrowder there's a regression in the MOP that makes the way xoos builds ORM objects fail in current (just a heads up) 19:35
tellable6 tony-o, I'll pass your message to tbrowder
tbrowder tony-o: thnx 19:36
TreyHarris jmerelo: Not trying to go all toddandmargo on this, but it feels like the nonworking SO example is so untuitive that we need an explataion about why creating a custom subtype can't be done like that 19:38
Unless you've played around with allomorphs it probably wouldn't even occur to you
19:39 MasterDuke joined
TreyHarris s/untuitive/intuitive/ # I mean, it seems like it should work 19:39
jmerelo TreyHarris: unintuitive? 19:40
tellable6 2020-01-21T15:13:45Z #raku <tbrowder> jmerelo: with new doc process where do we find how to defne the article sort order within doc categories?
TreyHarris jmerelo: no, i mean intuitive, just typoed
jmerelo tbrowder: hi! There are no doc categories now, just metadata at the top of the classes. Just check it out.
TreyHarris `class MyInt is Int { ... }` just feels like it really should work
jmerelo TreyHarris: yep, we really need an example. The problem (from the docs point of view) is that I'm not sure Jnthn's comment is spec. 19:41
TreyHarris Especially if you're coming from a language like Ruby where augmenting of base classes is enabled by default
jmerelo TreyHarris: Thus the note, which basically says "This does not work in the way you thought it would work" 19:42
tbrowder jmerelo: yes, but in my look at documentable i saw there was a process, so, has that been deleted or just not used?
TreyHarris jmerelo: Oh, no, I'm not disagreeing with your commit, it's great--just agreeing with you that we really need an example
jmerelo:and also unsure about spec... trying to find anything in that ballpark in roast 19:43
jmerelo tbrowder: it's generated in order all the same, but it does not use the file with the ordering and the additional generation step, just metadata at the top of each class.
TreyHarris: we do need that. I couldn't come up with one in such a short notice, but I'll happily take an issue and address it when I can... 19:44
tbrowder i spent a lot of time enabling sorted documents within categories and think it’s worth configuring; otherwise, the items are a jumble
melezhik one now can test their Raku modules against rakudo version using RakuDistAPI, I've just refined documentation - github.com/melezhik/RakuDist#testi...an-modules
jmerelo tbrowder: the problem is that it took a huge chunk of the generation time. That intermediate step really killed it. 19:45
melezhik I also added ability to test modules hosted on GitHub
TreyHarris jmerelo: hmm, S02-names/is-default.t definitely seems to imply spec, but i'm not finding anything more on-point...
jmerelo tbrowder: I seem to remember that we managed to somehow respect order. Do check the new pages anyway, just in case, and if order is not correct, let's try to fix it. But within the current framework, please.
19:46 stoned75 joined
TreyHarris perhaps jnthn could chime in to help illuminate why the language shouldn't allow this 19:46
jmerelo goes afk. Have a great evening, morning, whatever 19:47
TreyHarris (assuming he thinks it shouldn't, i mean)
19:47 jmerelo left
melezhik `curl -d project=melezhik/Tomty -d os=debian repo.westus.cloudapp.azure.com/raku...n/:github` 19:48
19:54 vividsnow left 19:56 domidumont left
rypervenche Is there a way to interpolate a variable inside of a <[ ]> for a regex matching? I've got set('!' .. '~') assigned to a variable $symbol and would like to be able to match a string against a character class using that range. Is this possible? Something like: $string ~~ / <[$symbol]> / but something that actually works. 19:58
20:02 vividsnow joined 20:10 vividsnow left, vividsnow joined
chloekek rypervenche: you can use <?{ … }> to check whether the match is an element of the set. See docs.raku.org/language/regexes#Reg...tion_check 20:13
p6: my %symbol := set('!' .. '~'); say '!a~å' ~~ m:g/.<?{~$/ (elem) %symbol}>/
camelia (「!」 「a」 「~」)
rypervenche chloekek: Awesome! I'll check that out. 20:14
MasterDuke rypervenche: see github.com/Raku/problem-solving/issues/97 for some discussion about that exact thing
20:16 squashable6 left
chloekek rypervenche: I’m not quite sure how far $/ reaches inside that expression. 20:16
E.g. whether it will be a two-character string if you have ..<?{ … }>. 20:17
20:18 squashable6 joined
cpan-raku New module released to CPAN! Trait::Traced (0.1.1) by 03KAIEPI 20:24
20:34 sena_kun joined 20:37 Altai-man_ left 20:42 gabiruh left 20:56 mahmudov joined 20:57 patrickb left 21:03 chloekek left 21:07 gabiruh joined 21:08 mahmudov left 21:09 mahmudov joined 21:10 rindolf left 21:19 mahmudov left
Geth doc: 00231c84c7 | Coke++ | xt/duplicates.t
Don't complain about duplicate numbers
doc: 3e21a476fc | Coke++ | doc/Type/Metamodel/Primitives.pod6
Remove duplicate period
21:23 mahmudov joined 21:53 wildtrees joined 21:56 wildtrees left, wildtrees joined 22:06 wamba left
Geth doc: dumarchie++ created pull request #3181:
Document X::Cannot::Lazy
22:21 Xliff joined
Xliff o/ 22:23
What dynamic var contains the current Routine or Method?
lizmat m: sub a() { dd &?ROUTINE }; a 22:25
camelia Sub a = sub a { #`(Sub|51007760) ... }
Xliff lizmat: Where is that documented?
lizmat not a dynamic var, but a compile time var, hence the ? twigil
22:31 mahmudov left 22:34 Altai-man_ joined 22:37 sena_kun left, gabiruh left 22:46 Altai-man_ left 22:51 gabiruh joined
tony-o jnthn: is there any easy way to test where a validation is failing with cro/openapi? the definition/2/anyOf bit is fine but if you have 12k items in the list sifting through those to figure out which part of definition/2/anyOf isn't matching is a bit tedious 22:52
jnthn tony-o: Hm, probably Schema::Validate or whatever the module is called needs to become rather better at its error reporting. 23:17
23:29 vividsnow left 23:36 xinming_ left, xinming_ joined 23:42 Doc_Holliwood joined
Doc_Holliwood Holliwood is quite fond with himself and the solutions to the weekly 23:42
23:42 gabiruh left
Doc_Holliwood github.com/manwar/perlweeklychalle...1158/files 23:42
Critics always welcome 23:43
tony-o jnthn: ty - once i figure this out then i should be able to get all of the modules in the git repo META.list into an automated endpoint for zef 23:44
jnthn Very nice 23:45
23:45 cpan-raku left 23:48 cpan-raku joined, cpan-raku left, cpan-raku joined