🦋 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:08 jpn joined 00:16 jpn left 00:29 Manifest0 left 00:58 jpn joined 01:03 jpn left
el wdym by that my tmp dir is in %LOCALAPPDATA%\Temp 01:12
01:17 jpn joined 01:25 jpn left 01:51 bigdata left 01:55 jpn joined 02:00 jpn left
guifa_ Nemokosch: I feel like siberia-man may have confused Raku with Ruby 02:05
tellable6 guifa_, I'll pass your message to Nemokosch
02:12 rf left 02:49 jpn joined 02:56 razetime joined 02:57 jpn left 03:43 jpn joined 03:48 jpn left 04:20 Xliff joined 04:38 jpn joined 04:46 jpn left
ingy I think it's official now. YAPC/TPRC/NA/2023 is in Toronto, July 11-13. 04:50
05:23 razetime left 05:25 razetime joined 05:32 jpn joined 05:37 jpn left 05:48 cfa left 05:56 razetime left 06:00 reportable6 left 06:02 reportable6 joined 06:27 jpn joined 06:35 jpn left 06:47 Xliff left 07:01 jpn joined 07:08 jpn left 07:21 razetime joined 07:31 xelxebar left 07:32 xelxebar joined 07:48 ab5tract left 07:58 Sgeo left 08:01 razetime left 08:07 jpn joined 08:12 jpn left 08:14 razetime joined, xelxebar_ joined 08:17 xelxebar left 08:26 razetime left 08:30 jpn joined 08:38 jpn left 08:42 sena_kun joined
Geth doc: 2colours++ created pull request #4219:
Rewrite the "make your own operator" example
09:42 evalable6 left, linkable6 left 09:43 evalable6 joined 09:44 linkable6 joined 10:10 xelxebar_ is now known as xelxebar 10:20 jpn joined 10:35 nine_ left, nine joined 10:40 jpn left 10:50 epony left 10:51 epony joined 10:56 epony left, epony joined 11:05 jpn joined 11:10 jpn left
Geth raku.org: 5dbecb2dc5 | (Alexandr Zahatski)++ (committed using GitHub Web editor) | source/whatever/index.html
Update index.html

add podlite link
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.
11:22 jpn joined
11:46 jpn left 11:47 jpn joined 12:00 reportable6 left
lizmat clickbaits rakudoweekly.blog/2023/02/27/2023-...u-renewed/ 12:01
12:02 reportable6 joined 12:10 ab5tract joined
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.
raku.org: patrickbkr++ created pull request #181:
Bring Whatever page up to date
12:46 human-blip left
Geth doc: tbrowder++ created pull request #4220:
Ensure the 'Brackets' table generator always uses the data source file
13:46 evalable6 left, linkable6 left 13:47 linkable6 joined 13:49 evalable6 joined 14:20 xelxebar left 14:28 jgaz joined 14:32 rakuuser joined 14:50 rf joined
rf Morning folks 14:50
14:52 bigtestaccount[m left, tiziodcaio left, BarrOff left 14:53 CIAvash left, tadzik left, buffet left 14:55 buffet joined
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
15:18 jpn left
[Coke] Yah, that doc note is old. 15:22
15:22 BarrOff joined
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:23 jpn joined
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 `||=`.
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
15:27 cfa joined
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:37 tadzik joined 15:45 bigtestaccount[m joined
[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
15:56 Sgeo joined 15:57 CIAvash joined
[Coke] Also of note: work on RakuAST is in the main branch. 16:00
16:06 xelxebar joined, ab5tract left 16:19 rakuuser left 16:27 lizmat_ joined 16:32 lizmat_ left 16:33 lizmat_ joined
Geth doc/main: 0144e20110 | Coke++ | doc/Language/5to6-perlvar.pod6
Change emphasis to historical from not-updated
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.
16:36 rf left, SenFache left, tib left, committable6 left, quotable6 left, coverable6 left, shareable6 left, bisectable6 left, kaskal left, peder left, lizmat left, sjn left, Ekho left, gabiruh_ left, rypervenche left, perryprog left, synthmeat left 16:37 Xliff joined
Xliff \o 16:37
What templating systems are you folks using right now?
16:37 rf joined, xelxebar left 16:40 SenFache left, SenFache joined 16:46 lizmat_ left, lizmat joined
shmup idk but here is a thing you can skim Xliff gist.github.com/pheix/2632f286368e...9d07b3f4b6 16:53
16:53 jpn left
Nemokosch pheix 👀 16:57
17:00 euandreh joined
Geth doc/main: fe0dd7736c | Coke++ | doc/Language/5to6-nutshell.pod6
reduce prominence of name change note, text.
17:09 vrurg_ left
17:10 vrurg joined
Geth doc/main: b117a7e79a | Coke++ | .gitignore
Clean up

remove a few old unused entries
tonyo Xliff: i rolled my own that just generated code from the template 17:18
17:24 nort left
[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.
Nemokosch but that discussion apparently didn't lead to the conclusion that is kinda taken at face value at the moment
17:49 euandreh left
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
17:56 euandreh joined
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
18:00 reportable6 left
[Coke] Folks, I'll be over in #raku-docs if you need me for anything. 18:00
18:00 [Coke] left 18:02 reportable6 joined
Geth doc: cfa++ created pull request #4221:
Prefer OUTPUT: «…» in examples
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
18:22 jpn joined 18:25 AlexDaniel joined, epony left
Geth doc/main: 80de6d52c9 | Coke++ | doc/Language/filename-extensions.pod6
Move note out of table!
doc/main: 5265a6efde | cfa++ (committed using GitHub Web editor) | 21 files
Prefer OUTPUT: «…» in examples (#4221)
18:32 jpn left
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.
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
18:42 AlexDaniel left
Geth doc/main: 5e6c63d5ca | cfa++ (committed using GitHub Web editor) | doc/Type/Mu.pod6
Mu: Tidy link to "Mu (negative)" on Wikipedia
18:52 xelxebar joined 18:56 AlexDaniel joined 18:58 jpn joined 18:59 epony joined 19:03 euandreh left, jpn left
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
19:16 jpn joined
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
19:21 jpn left, MasterDuke joined 19:26 euandreh joined 19:33 jpn joined
Geth doc/main: ddedcaa51b | (Will Coleda)++ | util/test-modified.sh
util for running make test before commit
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
19:40 rakuuser joined, jpn left 19:46 squashable6 left 19:48 squashable6 joined 19:53 jpn joined 19:58 jpn left 20:11 jpn joined 20:15 jpn left
Xliff shmup: Thanks for the link! 20:18
20:27 Guest9849 joined 20:31 Guest9849 left, Guest5811 joined 20:37 jpn joined
Geth doc/main: 75388e30aa | cfa++ | 21 files
Add missing ␤ characters to OUTPUTs
20:43 jpn left 20:51 gcd left 20:56 jpn joined 20:57 gcd joined 21:00 jpn left 21:05 Xliff_ joined 21:07 Xliff left 21:11 Guest5811 left, Xliff_ left 21:16 shmup left 21:36 jpn joined 21:40 jpn left
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
21:53 jpn joined 22:01 jpn left 22:02 rakuuser left
moritz there's eqv for structural comparison, and === for object identity 22:09
22:09 rf left 22:11 shmup joined
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)
22:15 jpn joined
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
22:20 jpn left 22:29 Guest5811 joined 22:31 jpn joined 22:36 jpn left 22:37 SenFache is now known as Sauvin 22:44 Guest5811 left 23:00 rf joined, Guest5811 joined
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
23:03 sena_kun left
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:10 Guest5811 left 23:11 Guest8070 joined, jpn joined, Guest8070 is now known as tg57
Geth doc/main: adca8424cc | (Will Coleda)++ | 5 files
Remove old site templates

These are now handled by doc-website
Closes #4214
¦ doc: coke assigned to dontlaugh Issue Possible usage of SparrowCI for some CI tasks github.com/Raku/doc/issues/4195 23:16
23:19 jpn left
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
cfa 👋␤ 23:28
Nemokosch 😄 23:30
23:30 NemokoschKiwi joined 23:43 rakuuser joined 23:46 tg57 left
Geth doc/rakudoc: cfbb963a0c | (Will Coleda)++ | t/04-pod6.rakutest
Remove obsolete xt test preventing .pod files
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: