🦋 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:07 reportable6 left 00:08 reportable6 joined 01:08 reportable6 left, statisfiable6 left, notable6 left, quotable6 left, nativecallable6 left, tellable6 left, shareable6 left, bisectable6 left, benchable6 left, linkable6 left, greppable6 left, committable6 left, releasable6 left, bloatable6 left, unicodable6 left, sourceable6 left, evalable6 left, coverable6 left, squashable6 left, evalable6 joined, nativecallable6 joined 01:09 unicodable6 joined, sourceable6 joined, bloatable6 joined, linkable6 joined, releasable6 joined, notable6 joined, greppable6 joined 01:10 shareable6 joined, squashable6 joined, statisfiable6 joined, quotable6 joined, reportable6 joined 01:11 tellable6 joined, benchable6 joined, coverable6 joined, bisectable6 joined, committable6 joined 01:12 frost joined 02:12 linkable6 left, evalable6 left 02:14 linkable6 joined, evalable6 joined 03:14 evalable6 left, linkable6 left 03:15 evalable6 joined 03:17 linkable6 joined 03:26 squashable6 left, squashable6 joined 03:36 frost left 04:36 greppable6 left, bisectable6 left, bloatable6 left, benchable6 left, releasable6 left, notable6 left, evalable6 left, shareable6 left, sourceable6 left, coverable6 left, reportable6 left, unicodable6 left, linkable6 left, quotable6 left, nativecallable6 left, committable6 left, tellable6 left, squashable6 left, statisfiable6 left 04:37 sourceable6 joined, tellable6 joined, linkable6 joined 04:38 coverable6 joined, unicodable6 joined, bisectable6 joined, benchable6 joined, reportable6 joined, shareable6 joined, bloatable6 joined, greppable6 joined, statisfiable6 joined, evalable6 joined 04:39 squashable6 joined, notable6 joined, quotable6 joined, nativecallable6 joined, releasable6 joined, committable6 joined 04:58 razetime joined 05:08 bigdata joined 05:09 bigdata left 06:00 djerius left 06:02 djerius joined 06:07 reportable6 left 06:10 reportable6 joined 06:46 euandreh left 07:34 MoC joined 07:36 razetime left
Nemokosch Hello 08:34
if I pass `--help` to a Raku script, what will be passed to GENERATE-USAGE? 08:35
08:36 linkable6 left, evalable6 left 08:37 discord-raku-bot left, linkable6 joined, discord-raku-bot joined 08:38 evalable6 joined 09:18 jetchisel left 09:20 jetchisel joined 09:21 holyghost is now known as goon 09:22 goon is now known as holyghost 09:31 spacekookie left 09:32 spacekookie joined 09:58 Sgeo left 10:04 sena_kun joined 10:34 frost joined 10:46 epony left 11:46 linkable6 left, evalable6 left 11:47 evalable6 joined, linkable6 joined 11:52 abraxxa-home joined 11:57 abraxxa-home left 11:58 abraxxa-home joined 12:01 abraxxa-home left, abraxxa-home joined 12:02 abraxxa-home left, abraxxa-home joined 12:06 reportable6 left 12:07 reportable6 joined 12:09 abraxxa-home left 12:14 habere-et-dispet joined 12:27 Altai-man joined 12:28 Xliff joined 12:30 sena_kun left 12:54 dextercd joined 12:56 Xliff left 13:20 euandreh joined, habere-et-dispet left 14:05 frost left 14:14 epony joined, vrurg left 14:15 vrurg joined 15:15 statisfiable6 left, evalable6 left, coverable6 left, quotable6 left, unicodable6 left, reportable6 left, squashable6 left, sourceable6 left, shareable6 left, nativecallable6 left, notable6 left, greppable6 left, linkable6 left, releasable6 left, tellable6 left, benchable6 left, bloatable6 left, greppable6 joined, sourceable6 joined 15:16 bloatable6 joined, releasable6 joined, evalable6 joined, nativecallable6 joined, benchable6 joined 15:17 reportable6 joined, coverable6 joined, linkable6 joined, statisfiable6 joined, unicodable6 joined, shareable6 joined, notable6 joined, tellable6 joined 15:18 squashable6 joined, quotable6 joined 15:21 razetime joined 15:51 MoC left 16:31 djerius left, djerius joined 16:50 hythm joined 16:51 djerius left
hythm m: say Version.new( '1.1' ) cmp Version.new( '1.0010' ) 16:51
camelia Less
hythm m: say Version.new( '1.1' ) cmp Version.new( '1.001' ) 16:52
camelia Same
16:53 djerius joined
hythm is the above `Version` comparisons intended or a bug? 16:55
Nemokosch I don't know but it's kinda sane if you think about it 17:09
one is "one dot ten", the other is essentially "one dot one" 17:11
lizmat hythm: I understand that behaviour is correct 17:18
El_Che I don't understand the 1.0010 usecase 17:19
(except if your retired perl programmer)
m: say Version.new( '1.1.2' ) cmp Version.new( '1.1.1' ) 17:20
camelia More
El_Che semver ready \o/
ugexe its because of how leading zeros are treated
m: say Version.new("1.001").parts
camelia (1 1)
hythm the `1.0010` use case came from  `IO::CatHandle::AutoLines` and was expecting `v1.1` since it's the latest release but `v1.001004` won  github.com/Raku/REA/tree/main/meta...:AutoLines 17:25
ugexe see: github.com/Raku/roast/blob/dffc2a4....t#L26-L34 17:27
hythm I see, thanks 17:28
17:53 linkable6 left, evalable6 left 17:55 linkable6 joined 17:56 evalable6 joined 18:06 reportable6 left 18:09 reportable6 joined
guifa hmm, anyone else have trouble renewing / buying a sub for Comma? Giving me an error currently 18:14
Nemokosch let me retry once more 18:24
if I pass --help to a Raku script, what will be passed to GENERATE-USAGE?
ugexe m: sub GENERATE-USAGE(|c) { say c.raku }; sub MAIN() { }; BEGIN @*ARGS = <--help> 18:45
camelia \(sub MAIN { #`(Sub|6396690256992) ... }, :help(Bool::True))
True
18:46 hythm left
ugexe m: sub GENERATE-USAGE(&c) { c() }; sub MAIN() { }; BEGIN @*ARGS = <--help> 18:46
camelia Unexpected named argument 'help' passed
in sub GENERATE-USAGE at <tmp> line 1
in block <unit> at <tmp> line 1
Nemokosch gotcha, thank you 18:49
18:51 discord-raku-bot left 18:52 discord-raku-bot joined 19:00 lichtkind joined 19:17 jetchisel left 19:37 razetime left 19:38 Altai-man left 19:41 linkable6 left, sena_kun joined 19:42 linkable6 joined 20:16 tidux joined
tidux Is there some magic that nqp does to find a moar binary? I copied a working moar binary to ./install/moar from the root of the nqp source tree but it still throws a "no moar executable found" error 20:17
20:20 Sgeo joined
ugexe shouldn't it be copied to ./install/bin/moar ? 20:23
tidux ah 20:25
well you'd think so but trying to use --prefix for nqp/moarvm/rakudo has been annoyingly inconsistent on that front 20:26
so I wasn't sure
Voldenet I just do `perl Configure.pl –prefix=/opt/rakudo-2022-10` for all the repos and it works 20:29
MasterDuke i've never had a problem with --prefix, but fwiw, you can build with --relocatable and then you can move your rakudo installation around. 20:37
tidux X-Y problem alert: it turns out it was due to a limitation in my environment (Termux on Android)
setting my prefix for everything to a directory I actually had write permissions for solved it 20:38
I now have raku+zef installed
Geth doc: 0rir++ created pull request #4116:
A few corrections of english usage
20:39
20:41 lichtkind left
Geth doc/master: 4 commits pushed by rir++, Altai-man++ 21:10
21:11 Colere left, Furor joined
tidux and documented borg.moe/building-rakudo-perl-6-on-termux.html 21:11
lizmat weekly: borg.moe/building-rakudo-perl-6-on-termux.html 21:13
notable6 lizmat, Noted! (weekly)
lizmat tidux++
21:13 Lemniscate joined
tidux the place Rakubrew kept falling down was building the vendored libuv so I figured out how to make it use system libuv 21:14
21:16 Furor left 22:16 nativecallable6 left, benchable6 left, bloatable6 left, quotable6 left, notable6 left, reportable6 left, sourceable6 left, statisfiable6 left, unicodable6 left, greppable6 left, evalable6 left, committable6 left, linkable6 left, coverable6 left, tellable6 left, releasable6 left, shareable6 left, bisectable6 left, squashable6 left, coverable6 joined 22:17 bloatable6 joined, notable6 joined, quotable6 joined, nativecallable6 joined, bisectable6 joined 22:18 reportable6 joined, committable6 joined, benchable6 joined, squashable6 joined, shareable6 joined, tellable6 joined, statisfiable6 joined 22:19 releasable6 joined, greppable6 joined, unicodable6 joined, linkable6 joined, evalable6 joined
Geth ¦ problem-solving: 2colours assigned to codesections Issue The Path to Raku, revisited github.com/Raku/problem-solving/issues/347 22:20
doc: 59312284ff | rir++ | 19 files
Simple deletion of "of course" phrases.
22:43
doc: 719857a5a2 | rir++ (committed using GitHub Web editor) | 238 files
Merge branch 'master' into course
doc: c8fe600cfb | Altai-man++ (committed using GitHub Web editor) | 18 files
Merge pull request #3993 from 0rir/course

Simple deletion of "of course" phrases.
22:46 sena_kun left 23:01 linkable6 left 23:04 linkable6 joined 23:05 vrurg left, vrurg joined 23:10 rir joined 23:19 sourceable6 joined 23:22 rir left 23:36 vrurg left 23:59 vrurg joined