🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | 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 8 June 2022.
00:06 reportable6 left 00:07 reportable6 joined 00:18 lichtkind left 00:31 Colere left 00:33 Colere joined 01:29 [Coke] left 01:34 [Coke] joined 01:36 Kaipei left 01:40 Kaiepi joined 02:17 discord-raku-bot left, discord-raku-bot joined 02:36 Kaiepi left 03:36 bloatable6 left, linkable6 left, reportable6 left, releasable6 left, committable6 left, statisfiable6 left, quotable6 left, bisectable6 left, notable6 left, sourceable6 left, evalable6 left, tellable6 left, nativecallable6 left, shareable6 left, coverable6 left, benchable6 left, greppable6 left, unicodable6 left, statisfiable6 joined, sourceable6 joined, greppable6 joined, unicodable6 joined 03:37 bisectable6 joined, bloatable6 joined, coverable6 joined 03:38 tellable6 joined, reportable6 joined, notable6 joined, nativecallable6 joined, evalable6 joined, benchable6 joined, shareable6 joined, linkable6 joined, quotable6 joined, committable6 joined 03:39 releasable6 joined 04:34 KvL left 04:35 KvL joined 04:43 Kaiepi joined 04:47 guifa joined
guifa ugexe: tonyo: is it possible to change your non-public e-mail address on fez? 04:47
tonyo guifa: i could do it for you 04:59
guifa tonyo: ha, I don't need it done, but am finishing up my talk on making modules 05:00
05:00 Sankalp- joined
guifa ended up being more thinking about designing modules wit a little bit on fez at the end (leaving y'all plenty of space to get into technical nitty gritty about it for other talks/conferences) but wanted to be prepped for any questions 05:00
05:00 Sankalp left 05:01 Sankalp- is now known as Sankalp
tonyo at the moment it's just a PM transaction - no api for it yet but can add it to the list 05:01
will it be online? i'd give it a listen
guifa tonyo will be recorded, but not hybrid 05:07
Looking back I've noticed I have a tendency to push people to make good modules
(obvs subjective a bit, but wanting people to think a bit about how people use modules, at least) 05:08
tonyo are you advocating pinning module versions in usage? 05:10
05:35 Garbanzo left 05:46 sjn left 06:00 sjn joined 06:04 Sgeo left 06:06 reportable6 left 06:10 reportable6 joined 06:39 mexen joined 06:53 nort left 07:01 guifa left 07:34 abraxxa joined 07:37 abraxxa left 07:40 abraxxa joined 07:45 abraxxa left 07:46 abraxxa joined 08:09 dakkar joined 09:09 coverable6 left, nativecallable6 left, releasable6 left, committable6 left, notable6 left, statisfiable6 left, benchable6 left, shareable6 left, quotable6 left, greppable6 left, reportable6 left, bloatable6 left, linkable6 left, evalable6 left, unicodable6 left, bisectable6 left, sourceable6 left, tellable6 left, bloatable6 joined, benchable6 joined, notable6 joined, committable6 joined 09:10 nativecallable6 joined, statisfiable6 joined 09:11 sourceable6 joined, quotable6 joined, unicodable6 joined, evalable6 joined, linkable6 joined, greppable6 joined, shareable6 joined, tellable6 joined, coverable6 joined, bisectable6 joined, reportable6 joined 09:12 releasable6 joined 10:03 lichtkind joined 10:32 sena_kun left 10:34 sena_kun joined
andinus in marketing.raku.org/id/1531801752/img is there a reason `use WWW` is inside of submethod TWEAK? 11:00
lizmat andinus: because use statements are lexical? to prevent poisoning the outer scope with unnecessary exports ? 11:08
m: sub ok(|) { say "this ok" }; { use Test; ok "foo" }; ok "bar" 11:09
camelia ok 1 -
this ok
Nemokosch is 6.c, c for "christmas" a sort of inside joke originally? 11:10
in other words, which was first
the "is it christmas yet" mocking, or the name for the version? 11:11
lizmat you'd have to ask Larry
he came up with the versioning, but yeah: afaik, the "c" is for Christmas, I think the mocking was first 11:12
Nemokosch 😅 11:13
what will be the name of the e version? 11:17
[Coke] Under discussion, last I checked 11:18
github.com/Raku/problem-solving/issues/254
lizmat I think the consensus is that there will be a 6.e (perhaps Eventually :-), but that versioning after that is still undecided 11:19
11:34 linkable6 left, evalable6 left 11:35 linkable6 joined, evalable6 joined 11:42 perlbot left, simcop2387 left
Xliff lizmat: I would suggest e = Easter. 11:57
12:05 simcop2387 joined 12:07 reportable6 left, perlbot joined
Anton Antonov `e (elem) <enriched enlarged engaging endeavor>` 12:08
Is there a package that makes text console plots? I think I saw Raku code for doing that, but I am not sure it is a package…
12:09 reportable6 joined
[Coke] I would vote against Easter. We already had Christmas. 12:25
I have seen Epiphany (but in Spanish), Easter, and Eid suggested. 12:26
Nemokosch Well you were the one who wrote that under the issue as well, no? 12:27
SmokeMachine I would also vote against Easter for the same reason... 12:28
12:29 fingolfin joined
Nemokosch I also have mixed feelings about easter. But it could be named just Egg 🤣 12:29
"Easter" would kinda seem like "hah, they don't see past their own shit" 12:30
Xliff Well, gee. 12:34
Voldenet it would be fun idea to name 6.e "everlasting" and never release another one
Xliff Voldenet: Noooo! I haz plans for 6.f! 12:35
Voldenet :>
Xliff Fly, fly away!
Voldenet "ethereal" then
Xliff (would mix well with the butterfly theme...)
Nemokosch flutterby! 12:37
Xliff LOL! 🤣 12:38
Voldenet I see 6.f ideas are better, so maybe call 6.e evicted and release 6.f instead ¯\_(ツ)_/¯
Nemokosch ~~like Perl 6~~ 12:41
Anton Antonov Found it -- "Text::Chart". (Initially I was searching into raku.land with "plot".) 12:48
Nemokosch it's nice where raku.land has gotten 12:50
Anton Antonov Hmm... raku.land has to be endowed with certain semantic search capabilities. 12:59
13:22 fingolfin left 13:48 discord-raku-bot left, discord-raku-bot joined 13:50 Colere left 13:53 discord-raku-bot left, discord-raku-bot joined 14:02 p6steve left
andinus lizmat: ah i didn't know about use being lexical, thanks! 14:08
14:17 guifa joined
guifa tonyo: of course! 14:18
14:20 sena_kun left 14:21 sena_kun joined 14:45 guifa_ joined 14:48 guifa left 14:51 Tirifto left 14:54 Sgeo joined 14:56 Tirifto joined 14:58 guifa_ left 15:17 Guest87 joined 15:20 guifa joined
tonyo guifa: excellent news 15:25
15:50 guifa_ joined 15:55 guifa left
guifa_ tonyo / ugexe are there any strictly required fields in the META6.json? 15:59
I assume name, auth, version and provides 16:00
tonyo depends on what side you're on, on the upload side you must have a valid dist
with no wildcard version
(cpan and git both allow wildcard anything)
16:02 crystalfrost[m] left
guifa_ will say "generally required fields" and "other commonly used fields" for appropriate verbal wiggle room ;-) 16:02
16:03 crystalfrost[m] joined 16:04 crystalfrost[m] left 16:09 Guest87 left 16:21 spacekookie_ left 16:29 abraxxa left 16:35 dakkar left 16:53 guifa_ left 16:58 guifa joined 16:59 guifa left 17:22 spacekookie joined 18:07 reportable6 left 18:08 reportable6 joined
ugexe the language itself just requires a bare minimum of 'name' i think (i.e. what items of META6.json *must* be provided for CURs to be able to use them), although practically it also requires that `provides` be correct if you want to install modules 18:12
the language itself doesn't understand e.g. `depends`, although various raku tools would require it 18:14
"name, auth, version, provides" is a good bare minimum 18:17
like technically auth and version aren't needed, but it would be easier for everyone if they are used that way 18:18
18:18 simcop2387_ joined 18:19 simcop2387 left, simcop2387_ is now known as simcop2387 18:42 vasko joined, vasko left, vasko joined 18:46 vasko left 18:53 vasko joined, vasko left, vasko joined 19:12 p6steve joined
p6steve 2 19:19
20:08 habere-et-disper joined
habere-et-disper Hi All! Is there a rationale for why `head` is available as .head (has a method signature), but is unavailable as standalone `head`? 20:18
m: say (1000..*).grep(&is-prime).head(2)
camelia (1009 1013)
habere-et-disper versus 20:19
m: say head(2) (1000..*).grep(&is-prime)
camelia ===SORRY!=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> say head(2)⏏ (1000..*).grep(&is-prime)
expecting any of:
infix
infix stopper
postfix
statement end
20:23 discord-raku-bot left, discord-raku-bot joined 20:24 gfldex left 20:26 gfldex joined 20:28 discord-raku-bot left, discord-raku-bot joined
Voldenet I guess that is easy to explain - having them as methods is better code style 20:29
it seems that a lot of routines exist because of perl5 familiarity 20:30
like pop, shift, push, unshift 20:32
but if you look at the implementation (github.com/rakudo/rakudo/blob/db07...tors.pm6), those routines just use methods 20:34
p6steve isnt' there a way to apply a method as a sub? 20:42
kind of methodop inverse
20:44 habere-et-disper left 20:59 discord-raku-bot left, discord-raku-bot joined
Nemokosch doubtful 21:21
also, don't underestimate the worth of having head as a sub
1000 .. * ==> grep &is-prime => head 2 21:22
1000 .. * ==> grep &is-prime ==> head 2
this fails on the lack of the sub head
it wouldn't be bad style, not at all 21:23
lizmat I guess the same for tail and skip then? 21:24
21:26 discord-raku-bot left, discord-raku-bot joined
Anton Antonov @lizmat I experimented with "App::Rak" a little. Do you think it is a good idea to have the options `--must=<rx>` , `--must-not=<rx>`, `--inverted` or that is too far away from the style you prefer for that package? 21:32
Nemokosch lizmat: yes, preferably 22:01
Xliff Please do not remove .head, .tail and .skip 22:23
I <3 them.'
22:26 evalable6 left, linkable6 left 22:27 evalable6 joined 22:28 linkable6 joined 22:57 perlbot left 22:58 simcop2387 left 23:18 simcop2387 joined 23:19 perlbot joined