🦋 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.
Geth doc: cfa++ created pull request #4242:
Partially revert changes to `Distribution::Resource`
01:20
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
Geth doc/testing-notes: 449d31147a | (Will Coleda)++ | 4 files
Cleanup READMEs.

This will close #3935 but includes other cleanup as well.
01:53
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`.
01:55
doc/testing-notes: 4f51d99245 | (Will Coleda)++ | writing-docs/EXAMPLES.md
Note policy on incomplete snippets

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

The minimum we should be running is 'test'
02:00
melezhik o/ 02:07
rf melezhik: o/ 02:14
melezhik what's up? ))) 02:16
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:24
melezhik Anton Antonov , sorry for the noise , this is SparrowCI issue , please disregard my last message 02:42
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
whitespace
03:25
melezhik .tell rf - no worries 04:10
tellable6 melezhik, I'll pass your message to rf
Geth doc/main: 6cfe5f1737 | (Elizabeth Mattijsen)++ | doc/Type/Any.pod6
Document Any.snitch
10:45
grondilu Hi. Is there a simple way to normalize a unicode string? 10:48
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?
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.
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
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
Geth doc/main: 454e12c47b | (Elizabeth Mattijsen)++ | doc/Language/operators.pod6
Document // as a prefix op
11:36
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
12:39
Geth doc/main: f381a163cc | (Elizabeth Mattijsen)++ | doc/Type/IO/Path.pod6
Document IO::Path.chown
14:33
lizmat and that's the 2022.12 release taken care of
at least for now :-)
suggestions for improvement *always* welcome!
Geth doc: cfa++ created pull request #4246:
Rename `P6_DOC_TEST_*` environment variables
14:40
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:47
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(
RakuAST::Statement::Expression.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
guifa_ yeah I'm definitely going to be taking advantage of that 15:06
Geth doc/main: b26da22334 | (Elizabeth Mattijsen)++ | doc/Type/Any.pod6
Document Any.snip
15:13
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
*of
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
15:25
doc/main: 9edc4dae12 | cfa++ | doc/Type/Any.pod6
Allow &dd in the snitch test
15:28
doc/main: 7fec5ae946 | cfa++ (committed by Will Coleda) | 13 files
Rename P6_DOC_TEST_* environment variables

P6_DOC_TEST_VERBOSE → RAKU_DOC_TEST_VERBOSE, P6_DOC_TEST_FUDGE → RAKU_DOC_TEST_FUDGE.
15:39
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
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
Geth doc/main: 4d9e7f320f | (Elizabeth Mattijsen)++ | doc/Type/Any.pod6
Document sub versions of head / tail / skip
16:44
Geth doc/main: 86748c5f66 | cfa++ | doc/Type/independent-routines.pod6
Fix `repl` note
17:14
Geth doc/main: 0eac1937bf | (Elizabeth Mattijsen)++ | 17 files
Change all modules.raku.org refs to raku.land

And remove some outdated references
17:40
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:46
Geth doc/main: 098536fbd7 | (Elizabeth Mattijsen)++ | doc/Type/Iterable.pod6
Mention that undefined values can be used for :batch|degree
17:57
Geth doc/main: 8ff4c0089c | (Elizabeth Mattijsen)++ | doc/Type/Str.pod6
Add some release info for Str.Version|Date|DateTime
18:05
doc/main: d8f6e7b85e | (Will Coleda)++ | doc/Language/modules.pod6
fix typo
18:07
¦ 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
18:12
doc/main: 6135bd242c | (Elizabeth Mattijsen)++ | doc/Type/List.pod6
Mention sort() being a runtime error
18:14
Geth doc: cfa++ created pull request #4249:
Clarify runtime error for the `sort` sub and fix a typo.
18:27
Geth doc/main: bbfb1b158a | cfa++ (committed by Will Coleda) | doc/Type/List.pod6
Clarify runtime error for sort sub; fix typo.
18:28
Geth doc/main: f7725e1813 | (Will Coleda)++ | xt/rakudoc-c.rakutest
C<> should not have leading or trailing whitespace
19:04
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.
19:31
App-Rakubrew: ugexe++ created pull request #72:
Enable building of arm64 rakudos on Apple silicon
19:32
doc/main: 8af1e830c5 | (Elizabeth Mattijsen)++ | 2 files
Fix some C< trailing space > issues
19:33
Geth doc/main: bd4e2da23f | (Elizabeth Mattijsen)++ | doc/Type/IO/Path.pod6
Document IO::Path.inode|dev|devtype
19:46
Geth doc/main: de6bd7627b | cfa++ (committed using GitHub Web editor) | xt/pws/code.pws
Add a couple more code words
19:50
doc/main: 400ee360ae | cfa++ (committed using GitHub Web editor) | xt/pws/words.pws
Update words.pws
19:52
doc/main: 7745bec943 | cfa++ | xt/pws/code.pws
Revert changes to code.pws
19:55
Geth doc/main: 4 commits pushed by (Will Coleda)++ 22:34