🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 reportable6 left, reportable6 joined 00:09 bigdata joined 00:59 bigdata left 01:00 bigdata joined 01:03 epony left 01:10 MasterDuke left 01:16 bigdata left
Geth doc: cfa++ created pull request #4242:
Partially revert changes to `Distribution::Resource`
doc/ctest-rm: 5d4da9ae61 | (Will Coleda)++ | Makefile
Remove ctest target

The minimum we should be running is 'test'
doc: coke++ created pull request #4243:
Remove ctest target
01:24 energizer left 01:37 MasterDuke joined
Geth doc/testing-notes: 449d31147a | (Will Coleda)++ | 4 files
Cleanup READMEs.

This will close #3935 but includes other cleanup as well.
doc: coke++ created pull request #4245:
Cleanup READMEs.
doc/main: ff3ce9d1c9 | cfa++ (committed by Will Coleda) | doc/Type/Distribution/Resource.pod6
Partially revert changes to Distribution::Resource

Reverts two lines changed in 4118f0c: the directory name has yet to be changed from `perl6` to `raku`.
doc/testing-notes: 4f51d99245 | (Will Coleda)++ | writing-docs/EXAMPLES.md
Note policy on incomplete snippets

Closes #4138
doc/main: 10a5a7f236 | (Will Coleda)++ | Makefile
Remove ctest target

The minimum we should be running is 'test'
02:07 melezhik joined
melezhik o/ 02:07
rf melezhik: o/ 02:14
melezhik what's up? ))) 02:16
02:18 melezhik left 02:19 rakuuser left
Geth doc/main: 90cc553237 | (Will Coleda)++ (committed using GitHub Web editor) | 4 files
Cleanup READMEs. (#4245)

  * Cleanup READMEs.
This will close #3935 but includes other cleanup as well.
  * Note policy on incomplete snippets
Closes #4138
02:38 gcd joined 02:41 melezhik joined
melezhik Anton Antonov , sorry for the noise , this is SparrowCI issue , please disregard my last message 02:42
02:42 melezhik left 02:49 melezhik joined 02:51 melezhik left
rf melezhik I am good, sorry I was watching a movie, how are you :) 02:55
Geth ¦ doc: coke assigned to finanalyst Issue pod6 comments "=comment" inaccurate? github.com/Raku/doc/issues/4187 02:56
doc/main: 87747f050c | (Will Coleda)++ | writing-docs/EXAMPLES.md
03:44 rf left 04:09 euandreh left, melezhik joined
melezhik .tell rf - no worries 04:10
tellable6 melezhik, I'll pass your message to rf
04:12 melezhik left 05:12 linkable6 left, evalable6 left 05:13 linkable6 joined 05:15 evalable6 joined 05:36 kjp left 05:39 kjp joined 06:00 reportable6 left 06:03 reportable6 joined 06:42 Sussysham joined 06:43 Sussysham left 07:03 epony joined 07:19 jpn joined 07:24 jpn left 07:34 sena_kun joined, sena_kun left 07:39 jpn joined 07:55 jpn left 08:23 jpn joined 08:25 Sussysham joined 08:32 jpn left 08:45 jpn joined 08:58 kylese joined 09:19 squashable6 left 09:20 squashable6 joined 09:36 Sussysham left 10:21 Sgeo left
Geth doc/main: 6cfe5f1737 | (Elizabeth Mattijsen)++ | doc/Type/Any.pod6
Document Any.snitch
10:48 Sussysham joined, grondilu joined
grondilu Hi. Is there a simple way to normalize a unicode string? 10:48
10:49 jpn left
grondilu m: say "xénon".comb.map(*.ord) 10:50
camelia (120 233 110 111 110)
grondilu hum
m: say "xénon"
camelia xénon
Nemokosch aren't they normalized by default?
10:51 Sussysham left
or more closely - is it even possible to denormalize them, once they are processed? 10:51
grondilu my input wasn't, but I guess yes the output is normalized
so I suppose normalizind is trivial.
10:52 NemokoschKiwi joined
NemokoschKiwi m: say (1..3).Seq.snitch.map(*+2); # OUTPUT: «(1 2 3)␤(3 4 5)␤» 10:52
camelia ===SORRY!=== Error while compiling <tmp>
Two terms in a row
at <tmp>:2
------> (3⏏ 4 5)
expecting any of:
infix stopper
statement end
statement modifier
statement modif…
NemokoschKiwi why did it even try to parse that 10:53
m: say (1..3).Seq.snitch.map(*+2)
camelia No such method 'snitch' for invocant of type 'Seq'
in block <unit> at <tmp> line 1
NemokoschKiwi come on...
m: use v6.e.PREVIEW; say (1..3).Seq.snitch.map(*+2)
camelia (1 2 3)
(3 4 5)
NemokoschKiwi oh okay, now I get what this does... 10:54
11:04 NemokoschKiwi left
Geth doc/main: 454e12c47b | (Elizabeth Mattijsen)++ | doc/Language/operators.pod6
Document // as a prefix op
11:46 grondilu left 12:00 reportable6 left 12:01 reportable6 joined
guifa_ grondilu: you can use the NFC, NFD, NFKC, NFKD ops 12:14
tellable6 guifa_, I'll pass your message to grondilu
Geth doc/main: d33d82fcaf | (Elizabeth Mattijsen)++ | doc/Type/Str.pod6
Document comb rotor capabilities in 6.e
13:01 linkable6 left, evalable6 left, linkable6 joined 13:03 evalable6 joined 13:08 derpydoo left 13:47 QhpAptyj9hj0RQwM joined 13:50 jpn joined
Geth doc/main: f381a163cc | (Elizabeth Mattijsen)++ | doc/Type/IO/Path.pod6
Document IO::Path.chown
lizmat and that's the 2022.12 release taken care of
at least for now :-)
suggestions for improvement *always* welcome!
14:38 jpn left 14:40 jpn joined
Geth doc: cfa++ created pull request #4246:
Rename `P6_DOC_TEST_*` environment variables
14:43 rf joined
rf Morning 14:44
tellable6 2023-03-04T04:10:06Z #raku <melezhik> rf - no worries
lizmat rf o/
Geth doc/main: 62b35eaed0 | cfa++ | xt/pws/code.pws
Add a few code words
14:54 jpn left 14:57 jpn joined
guifa_ is making some nice progress on RAST pretty formatter 15:02
Nemokosch guifa++ lizmat++ 15:03
lizmat guifa_: you saw my RakuAST::Node.raku work, right
guifa_ I saw it mentioned, hadn't looked at it in detail 15:04
lizmat m: say Q|my $a = 42|.AST.raku 15:05
camelia RakuAST::StatementList.new(
expression => RakuAST::VarDeclaration::Simple.new(
name => "\$a",
initializer => RakuAST::Initializer::Assign.new(
expression => RakuAST::IntLit
guifa_ trying to finish up the number formatter fully, and then going to be looking at other stuff — the rast formatter is to help me debug a bit better than DEPARSE (i figure while i'm at it, I'll add in configuration options like indent levels, block inlining, colors, that could potentially lead to a highly configurable syntax highlighter) 15:06
15:06 jpn left
guifa_ yeah I'm definitely going to be taking advantage of that 15:06
15:12 kylese left
Geth doc/main: b26da22334 | (Elizabeth Mattijsen)++ | doc/Type/Any.pod6
Document Any.snip
guifa_ I've found a few solutions to the verbosity of RakuAST too. When I publish this module finally you'll see it 15:20
lizmat nice... looking forward to that!
guifa_ one thing I'm liking is that I can do 15:21
my @statements = helper-sub, helper-sub, (helper-sub if condition), helper-sub; and the conditional one is skipped if the condition fails 15:22
lizmat yup, the joy if Empty :-) 15:23
Geth doc: cfa++ created pull request #4247:
Declare `v6.e.PREVIEW` in the preamble for examples that require 6.e
doc/main: 8b014ad99e | cfa++ (committed using GitHub Web editor) | doc/Type/Any.pod6
Declare `v6.e.PREVIEW` in the preamble for examples that require 6.e (#4247)

  * use v6.e.PREVIEW for snitch examples
  * use v6.e.PREVIEW for snip example
doc/main: 9edc4dae12 | cfa++ | doc/Type/Any.pod6
Allow &dd in the snitch test
doc/main: 7fec5ae946 | cfa++ (committed by Will Coleda) | 13 files
Rename P6_DOC_TEST_* environment variables

16:01 derpydoo joined 16:05 guifa_ left 16:16 razetime joined
Voldenet rf: I looked at the patch yesterday and this is not how you apply locks: github.com/rawleyfowler/Humming-Bi...kumod#L115 16:18
you must add a field and share the same object between all threads 16:19
otherwise `.protect` is noop pretty much
16:19 merp left
lucs @ugexe: Uh, zef refuses to install a module even though all its tests pass but there is no "plan" set? 16:20
Geth doc/main: b1a75f5369 | (Elizabeth Mattijsen)++ | doc/Type/X/IO/Chown.pod6
Document X::IO::Chown
Voldenet (Lock is an object that may contain an id with some compare-and-swap locking and it needs storage for that id) 16:21
rf Hmm, so I have to use the same lock for both calls?
Voldenet yes 16:22
tonyo lucs: that's considered a test failure
rf Ok, I haven't published anything yet so good catch, Voldenet++
I just implemented user-specified timeout so i'll add that fix to the PR 16:23
lucs @tonyo I beg to differ.
tonyo m: use Test; sub a () { exit 0; }; ok '1' eq 1; ok a() eq 0; 16:24
camelia ok 1 -
lucs Oh wait.
tonyo is that a bad test or intentional?
lucs Maybe "done-testing" will fix it (I'm helping out a friend here, and I just looked at their test code.) 16:25
tonyo that'd probably also fix it ^
rf Voldenet I think that also fixed another bug I was encountering at high traffic volumes
lucs @tonyo: Yep, it did. 16:29
@ugexe: Sorry, false alarm (adding "done-testing" sufficed to fix the problem). 16:31
tonyo lucs: it does that because it's a bit ambiguous as to whether you meant to be done testing and it errs on the safer side 16:34
lucs Oh, I agree. The missing "done-testing" should raise an alarm. 16:36
16:42 gfldex left
Geth doc/main: 4d9e7f320f | (Elizabeth Mattijsen)++ | doc/Type/Any.pod6
Document sub versions of head / tail / skip
16:51 gfldex joined 16:57 gfldex left 17:00 gfldex joined
Geth doc/main: 86748c5f66 | cfa++ | doc/Type/independent-routines.pod6
Fix `repl` note
17:19 razetime left 17:26 guifa joined
Geth doc/main: 0eac1937bf | (Elizabeth Mattijsen)++ | 17 files
Change all modules.raku.org refs to raku.land

And remove some outdated references
doc/main: b358333e4b | (Elizabeth Mattijsen)++ | doc/Type/independent-routines.pod6
Be explicit about exitcode only being set once

In response to github.com/Raku/doc/issues/4097
17:53 perlbot left, simcop2387 left
Geth doc/main: 098536fbd7 | (Elizabeth Mattijsen)++ | doc/Type/Iterable.pod6
Mention that undefined values can be used for :batch|degree
18:00 reportable6 left 18:02 reportable6 joined
Geth doc/main: 8ff4c0089c | (Elizabeth Mattijsen)++ | doc/Type/Str.pod6
Add some release info for Str.Version|Date|DateTime
doc/main: d8f6e7b85e | (Will Coleda)++ | doc/Language/modules.pod6
fix typo
¦ doc: coke self-unassigned Explanation on thread issues with hashes github.com/Raku/doc/issues/4143 18:11
¦ doc: coke self-unassigned Documentation of Supply.split|comb github.com/Raku/doc/issues/3162
doc/main: 02e6da7090 | (Elizabeth Mattijsen)++ | 2 files
Document that DateTime.new("YYYY-MM-DD") also works

and consequently, "YYYY-MM-DD".DateTime does as well
doc/main: 6135bd242c | (Elizabeth Mattijsen)++ | doc/Type/List.pod6
Mention sort() being a runtime error
18:26 epony left
Geth doc: cfa++ created pull request #4249:
Clarify runtime error for the `sort` sub and fix a typo.
18:27 epony joined
Geth doc/main: bbfb1b158a | cfa++ (committed by Will Coleda) | doc/Type/List.pod6
Clarify runtime error for sort sub; fix typo.
18:32 jpn joined 18:56 derpydoo left 18:59 merp joined
Geth doc/main: f7725e1813 | (Will Coleda)++ | xt/rakudoc-c.rakutest
C<> should not have leading or trailing whitespace
19:12 QhpAptyj9hj0RQwM left 19:25 jpn left
Geth App-Rakubrew/macos-arm64: 8640a60ad5 | (Nick Logan)++ | 2 files
Use an arm64 perl in rakubrew standalone executeable

Previously the macos rakubrew was build with a x86 perl, which resulted in a x86 rakubrew and ultimately an x86 rakudo. This updates the macos build script to detect arm64 systems and to download the appropriate perl, build an arm64 rakubrew, which itself will build arm64 rakudos.
This also updates the version of perl used to one that has an arm build available.
App-Rakubrew: ugexe++ created pull request #72:
Enable building of arm64 rakudos on Apple silicon
doc/main: 8af1e830c5 | (Elizabeth Mattijsen)++ | 2 files
Fix some C< trailing space > issues
19:38 jpn joined 19:43 simcop2387 joined 19:44 jpn left, simcop2387 left 19:45 QhpAptyj9hj0RQwM joined
Geth doc/main: bd4e2da23f | (Elizabeth Mattijsen)++ | doc/Type/IO/Path.pod6
Document IO::Path.inode|dev|devtype
19:46 perlbot joined 19:48 simcop2387 joined
Geth doc/main: de6bd7627b | cfa++ (committed using GitHub Web editor) | xt/pws/code.pws
Add a couple more code words
doc/main: 400ee360ae | cfa++ (committed using GitHub Web editor) | xt/pws/words.pws
Update words.pws
doc/main: 7745bec943 | cfa++ | xt/pws/code.pws
Revert changes to code.pws
20:00 coleman left, coleman joined 20:04 coleman left 20:07 perlbot left, simcop2387 left 20:10 jpn joined 20:11 perlbot joined 20:12 simcop2387 joined 20:15 QhpAptyj9hj0RQwM left, jpn left 20:23 ab5tract left, ab5tract joined 20:34 ab5tract left 20:35 ab5tract joined 20:41 Sgeo joined 20:44 jpn joined 20:45 ab5tract left 20:50 jpn left 21:00 derpydoo joined 21:01 jpn joined 21:11 jpn left 21:18 squashable6 left 21:20 jpn joined 21:21 squashable6 joined 21:27 jpn left 21:29 jpn joined 21:35 jpn left 21:50 jpn joined 21:56 jpn left 22:09 jpn joined 22:12 coleman joined 22:15 jpn left 22:19 jpn joined 22:24 jpn left 22:28 epony left
Geth doc/main: 4 commits pushed by (Will Coleda)++ 22:34
22:37 jpn joined 22:45 jpn left 22:58 jpn joined 23:03 jpn left 23:13 perlbot left, perlbot joined 23:16 jpn joined 23:19 simcop2387 left, perlbot left 23:21 jpn left 23:26 simcop2387 joined 23:33 perlbot joined 23:40 jpn joined 23:47 jpn left