🦋 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
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
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
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
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!
dirty_talk Raku vs Ruby 00:32
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
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
no
repetition?
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
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
rypervenche Do many sites allow unicode characters in their passwords? 01:56
Grinnz whatever their password hashing function allows 01:59
rypervenche Good to know. I'll add an option for extended ascii at least then. :) 02:07
cpan-raku New module released to CPAN! Net::BGP (0.3.0) by 03JMASLAK 02:58
ToddAndMargo What is the proper way to state that I am returning a hash from a sub? `sub x() returns % {}` 03:14
ToddAndMargo I think this is it: > sub x() returns Associative { my %h= A=>"a"; return %h}&x> x{A => a} 04:01
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
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?
Geth ecosystem: 9474144314 | L'Alabameñu++ (committed using GitHub Web editor) | META.list
Add Carp to the ecosystem
06:13
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
Geth doc: 2ad6501323 | (Peter du Marchie van Voorthuysen)++ | doc/Type/Seq.pod6
Use pod formatting
06:22
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
06:47
doc: 39478c297a | (JJ Merelo)++ | doc/Language/functions.pod6
Adds link to explanation of operator names, closes #3175
06:51
lizmat clickbaits rakudoweekly.blog/2020/01/20/2020-...aittraced/ 09:38
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
oops
scimon m: my $a = EVAL "1+1";say $a 12:34
camelia 2
scimon Ummm.... shouldn't that throw and Exception? 12:35
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
lizmat
.oO( the internets are without mercy )
12:49
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
tbrowder *design? i like the original perl6 design better, with all due respect to jmerelo. 13:10
Geth doc: 0b55f7d806 | Coke++ | CONTRIBUTING_PRs.md
whitespace
13:33
[Coke] ^^ with that, "make test" on doc passes again.
Geth doc: 57c02ab5a1 | Coke++ | 2 files
typos, new words
13:55
doc: 5fef183ab4 | Coke++ | xt/space-after-comma.t
allow diff output.

passes CONTRIBUTING_PRs.md file
14:04
Geth doc: 507edd2965 | Coke++ | doc/Type/X/Syntax/Perl5Var.pod6
whitespace
14:20
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 (0.15.11.4) by 03MARTIMM
New module released to CPAN! Gnome::Glib (0.15.5.1) 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:04
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
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,
-=Kris
Krzysztof 'Kris' Bloniarz | EMEA | Ireland | Cork | Sr. Technical Support Engineer 15:27
sorry
tbrowder my feelings, too!
k0b6ef my fat fingers, sorry for that
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
tbrowder i'm trying to interest him in getting a new perspective on digital work life. your life experience may help that. 15:31
AlexDaniel m: say 255.chr 16:04
camelia ÿ
AlexDaniel rypervenche: ↑
rypervenche AlexDaniel: Thanks. 17:04
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
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
tony-o .help 18:47
.weekly deathbyperl6.com/zef-ecosystem/ 18:48
gah, can never remember that
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:18
Geth doc: 5c589c5f5d | (JJ Merelo)++ | doc/Type/Metamodel/Primitives.pod6
Changes another variable name.
19:27
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.
19:29
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
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
github.com/melezhik/RakuDist#testi...b-projects
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.
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)
melezhik `curl -d project=melezhik/Tomty -d os=debian repo.westus.cloudapp.azure.com/raku...n/:github` 19:48
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
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
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
cpan-raku New module released to CPAN! Trait::Traced (0.1.1) by 03KAIEPI 20:24
Geth doc: 00231c84c7 | Coke++ | xt/duplicates.t
Don't complain about duplicate numbers
21:22
doc: 3e21a476fc | Coke++ | doc/Type/Metamodel/Primitives.pod6
Remove duplicate period
Geth doc: dumarchie++ created pull request #3181:
Document X::Cannot::Lazy
22:11
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
docs.raku.org/language/variables#i...%3FROUTINE
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
Doc_Holliwood Holliwood is quite fond with himself and the solutions to the weekly 23:42
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