🦋 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.
el wdym by that my tmp dir is in %LOCALAPPDATA%\Temp 01:12
guifa_ Nemokosch: I feel like siberia-man may have confused Raku with Ruby 02:05
tellable6 guifa_, I'll pass your message to Nemokosch
ingy I think it's official now. YAPC/TPRC/NA/2023 is in Toronto, July 11-13. 04:50
Geth doc: 2colours++ created pull request #4219:
Rewrite the "make your own operator" example
09:00
Geth raku.org: 5dbecb2dc5 | (Alexandr Zahatski)++ (committed using GitHub Web editor) | source/whatever/index.html
Update index.html

add podlite link
11:22
raku.org: a65cf5ea07 | (Alexandr Zahatski)++ (committed using GitHub Web editor) | source/whatever/index.html
add online pod6 editor
raku.org: d63fb663a8 | (Patrick Böker)++ (committed using GitHub Web editor) | source/whatever/index.html
Merge pull request #180 from zag/master

Add Podlite and pod.in to Whatever page.
lizmat clickbaits rakudoweekly.blog/2023/02/27/2023-...u-renewed/ 12:01
Geth raku.org/whatever-update-2023: c6e9573471 | (Patrick Böker)++ (committed using GitHub Web editor) | source/whatever/index.html
Bring Whatever page up to date

Remove long dead Padre and archived vim-perl6. Add Kate and RakuNavigator.
12:45
raku.org: patrickbkr++ created pull request #181:
Bring Whatever page up to date
Geth doc: tbrowder++ created pull request #4220:
Ensure the 'Brackets' table generator always uses the data source file
12:59
rf Morning folks 14:50
[Coke] GOOD MORNING IRC 14:51
moritz good morning [Coke], did you wake up screaming? :-) 15:13
[Coke] docs have a very old note that RAKULIB is NYI - that's wrong, yes? 15:16
moritz: not today but it's happened. :|
... that sounds horrible. Like, once or twice, usually after sleeping on my shoulder funny, sorry. 15:17
[Coke] Yah, that doc note is old. 15:22
Geth doc/main: d66241c3da | Coke++ | doc/Language/intro.pod6
Update perl6->raku section

  * move to end of file, reduce importance
  * Remove old NYI tag
  * Add .rakutest
15:22
Geth doc/main: 26dd5e260e | (Márton Polgár)++ (committed using GitHub Web editor) | doc/Language/js-nutshell.pod6
Rewrite the "make your own operator" example

The previous one was a mis-implementation of an actually existent operator `||=`.
15:25
doc/main: f5c80f6c60 | cfa++ (committed using GitHub Web editor) | doc/Language/js-nutshell.pod6
Merge pull request #4219 from 2colours/patch-3

Rewrite the "make your own operator" example
rf Can someone give me to TLDR on RakuAST 15:27
El_Che I think nine was working on that. Maybe he knows if there is an estimated date 15:28
Geth doc/main: 68ee7c5e85 | cfa++ (committed using GitHub Web editor) | doc/Language/js-nutshell.pod6
Fix: Add comment character to wrapped example line
15:36
[Coke] github.com/rakudo/rakudo/blob/main.../README.md 15:55
Several core developers including nine are working on RakuAST. no estimated completion date yet, though we often get updates on percentage complete in terms of tests here. 15:56
[Coke] Also of note: work on RakuAST is in the main branch. 16:00
Geth doc/main: 0144e20110 | Coke++ | doc/Language/5to6-perlvar.pod6
Change emphasis to historical from not-updated
16:33
doc/main: 7214aae18c | Coke++ | 2 files
Remove intro table from intro entirely

Most of it was already duplicated in filename extensions; also update that table to reflect preferred first, and remove cro extension - not part of core, didn't change anyway.
doc/main: 199348e514 | Coke++ | 3 files
Update from .t to .rakutest

Avoid duplicating list of preferred AND historic extensions here, refer to existing list instead.
Xliff \o 16:37
What templating systems are you folks using right now?
shmup idk but here is a thing you can skim Xliff gist.github.com/pheix/2632f286368e...9d07b3f4b6 16:53
Nemokosch pheix 👀 16:57
Geth doc/main: fe0dd7736c | Coke++ | doc/Language/5to6-nutshell.pod6
reduce prominence of name change note, text.
17:09
Geth doc/main: b117a7e79a | Coke++ | .gitignore
Clean up

remove a few old unused entries
17:17
tonyo Xliff: i rolled my own that just generated code from the template 17:18
[Coke] the change to .rakutest means anyone using prove needs to add a --ext=rakutest 17:32
cfa prove6 is preferred, right? 17:45
Nemokosch to be honest, this extension change seems kinda voluntaristic here 17:47
tonyo it needs to be backwards compatible
otherwise half of the modules in the eco will either be untestable or install without tests
Nemokosch what initiated it? the deprecation of the .t extension was nowhere written and nobody talked about it up until like 2 or 3 months ago 17:48
tonyo it was a big discussion ~2 years ago
Nemokosch this isn't like .pm6 or .p6
tonyo it's part of that discussion, too
we were trying to determine _what_ the extension should be and test extensions got pulled into that
Geth doc/main: 098dae258f | Coke++ | 56 files
Rename our own test files from .t to .rakutest

Update testing module, corresponding tests that depend on file extension also.
17:49
Nemokosch but that discussion apparently didn't lead to the conclusion that is kinda taken at face value at the moment
tonyo what do you mean? 17:49
Nemokosch that .t was not decided to be deprecated and now all of a sudden, people started acting as if it was 17:50
I don't care much for the extensions, to be honest; much rather it would be good to know how these processes come to be and how to synchronize them
[Coke] From my standpoint - I've had on my list updating raku/doc to follow all the new extensions, as a canary, for some times. previous doc person was more cautious. Now that the site is live, I'm going forward with it. 17:51
tonyo [Coke]++ 17:53
nemokosch: ah, yes, it wasn't as explicit as the pm6 -> rakumod extension change
tellable6 tonyo, I'll pass your message to Nemokosch
[Coke] Next on my rename list is pod6 to rakudoc - will do one, make sure the new site can deal with it, then do them all.
(rakumod was already done because it doesn't impact anything downstream) 17:54
Nemokosch github.com/Raku/problem-solving/bl...to-Raku.md extensions second paragraph 17:55
I'm not the spokesperson of the .t extension but it would be good to know how it fell obsolete 3 years later 17:56
mind you, it's completely possible that other people just don't put too much thought into things like that but my recurring worry is that an outsider would get contradictory feedback and impressions about a lot of Raku-related things which can easily imply chaos 17:59
[Coke] Folks, I'll be over in #raku-docs if you need me for anything. 18:00
Geth doc: cfa++ created pull request #4221:
Prefer OUTPUT: «…» in examples
18:03
tonyo it is a bit that way and the docs should be updated 18:07
as fez moves into the dist management space (i'm currently writing a gzip module so now system deps are necessary from fez or from zef) then a lot of that can start to be cleaned up
there's other atypical patterns that need to change in META6 too, like `depends` specs 18:08
`name` should be the dist name and not a module name 18:09
etc etc 18:10
Geth doc/main: 80de6d52c9 | Coke++ | doc/Language/filename-extensions.pod6
Move note out of table!
18:31
doc/main: 5265a6efde | cfa++ (committed using GitHub Web editor) | 21 files
Prefer OUTPUT: «…» in examples (#4221)
Geth raku.org: c6e9573471 | (Patrick Böker)++ (committed using GitHub Web editor) | source/whatever/index.html
Bring Whatever page up to date

Remove long dead Padre and archived vim-perl6. Add Kate and RakuNavigator.
18:34
raku.org: 1b0b5c177c | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | source/whatever/index.html
Merge pull request #181 from Raku/whatever-update-2023

Bring Whatever page up to date
Geth doc/main: 5e6c63d5ca | cfa++ (committed using GitHub Web editor) | doc/Type/Mu.pod6
Mu: Tidy link to "Mu (negative)" on Wikipedia
18:43
patrickb I'm wondering about nqp::handle(). It seems the things written it its argument list aren't executed until they are used. Is there some special casing going on or is that some standard functionality I'm blissfully unaware of? 19:11
tonyo are they being thunked? 19:16
patrickb Hm. Docs don't have much to say about thunks. Anywhere to read up about them? 19:18
Code usually looks like this: nqp::handle(code(value), 'EMIT', $state.run-emit(), 'DONE', $state.run-done(), 'CATCH', $state.run-catch()); 19:20
Geth doc/main: ddedcaa51b | (Will Coleda)++ | util/test-modified.sh
util for running make test before commit
19:34
doc/main: ebe807a65e | (Will Coleda)++ | doc/Language/filename-extensions.pod6
Update entire page, not just the table.

  (the text referenced the table, had to adjust)
tonyo thunking in haskell means something isn't evaluated until it's used, eg x = len(inf) would return a thunk and not hang until x was used elsewhere 19:36
in terms of nqp i'd guess that the $state.run-emit isn't evaluated until that nqp::handle is evaluated 19:37
but i haven't dug around in there for a while
Xliff shmup: Thanks for the link! 20:18
Geth doc/main: 75388e30aa | cfa++ | 21 files
Add missing ␤ characters to OUTPUTs
20:39
rf m: class Foo { has $.bar; }; say Foo.new(bar => '123') eq Foo.new(bar => '123'); 21:41
camelia False
rf How do you compare objects? I've never actually had to do this before lol
moritz there's eqv for structural comparison, and === for object identity 22:09
Nemokosch === normally works using the .WHICH representation, while eqv works as a .raku comparison by default but since it's meant to be generic, it's to be expected that it's overloaded in all funky ways 22:12
what also uses the .WHICH representation is the hash 22:13
and all data structures backed by a hash some way (Sets, for example)
tbh I wish it was disallowed (or at least strongly and explicitly discouraged) to overload most built-in operators; the ones that aren't explicitly meant to be generic, at the very least 22:18
if you start overloading e.g numeric operators for values that cannot be meaningfully coerced into numeric values, you basically drill a hole into the predictability of the code 22:20
guifa_ Thus the trick though -- how do you know someone isn't overloading for an object that isn't sufficiently numeric? This is def a case wehre the philosophy is to give folks enough rope to hang themselves BUT also provide sufficient enough guidance (== and eq, along with the existance of ===, eqv, cmp, =:=, etc should clue people in that maybe they should at least give thought to how to compare a custom class) 23:02
but if someone wanted to figure out a way to hack in, say, hyperreal numbers… haha
Geth doc/main: a13058f24c | (Will Coleda)++ | .gitignore
Remove obsolete files

These used to belong to the link checker, which is now run as part of doc-website - script is long gone.
23:06
Geth doc/main: adca8424cc | (Will Coleda)++ | 5 files
Remove old site templates

These are now handled by doc-website
Closes #4214
23:12
¦ doc: coke assigned to dontlaugh Issue Possible usage of SparrowCI for some CI tasks github.com/Raku/doc/issues/4195 23:16
Nemokosch guifa: well, that's exactly the point... it's not possible to know because it's not forbidden 23:21
but it could still be discouraged
Geth doc/main: 6a53615de8 | cfa++ | 8 files
Add in a few more missing ␤ chars
23:26
cfa 👋␤ 23:28
Nemokosch 😄 23:30
Geth doc/rakudoc: cfbb963a0c | (Will Coleda)++ | t/04-pod6.rakutest
Remove obsolete xt test preventing .pod files
23:46
doc/rakudoc: 3f548619c7 | (Will Coleda)++ | 824 files
rename files from pod6 to rakudoc
doc/rakudoc: 7eda3948e0 | (Will Coleda)++ | 18 files
track file rename from pod6 to rakudoc
doc: coke++ created pull request #4222:
Rakudoc
23:47