🦋 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.
avuserow I recently rediscovered devdocs dot io, a site that combines documentation from various sources and has a nice offline mode. I'd like to suggest they include Raku's docs but they want at least 5000 stars on github. Can folks please go and star github.com/rakudo/rakudo so we can try to get included? 01:32
Geth modules.raku.org: 587d23d4dd | (Zoffix Znet)++ (committed using GitHub Web editor) | site-tips.txt
s/perl6/raku/ in site tips
06:10
modules.raku.org: f6de6e4e3d | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | site-tips.txt
Merge pull request #144 from zoffixznet/patch-1

s/perl6/raku/ in site tips
melezhik Anton Antonov Raku-Data-Reshapers build keep failing on sparkyci 11:17
But probably you see that
sparrowhub.io:2222/report/759
HTH
AndroUser2 . 11:46
. 11:47
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2022/06/27/2022-...-seasoned/ 14:21
[Coke] zoffix++ 18:44
SmokeMachine zoffix++ 19:30
wolfshield I am trying to zef install Inline::Perl5 in the Rakudo-star 2021.04 docker and get the error "[Inline::Perl5] /usr/bin/ld: cannot find -lperl" -- does anyone have suggestions? 19:58
sienet_ja_LSD[m] have you added perl:latest to your docker image? 20:03
[Coke] github.com/niner/Inline-Perl5#building 20:04
You need a recent enough p5 with a specific config option enabled. 20:05
wolfshield no, thought that would have been included in the Rakudo-start docker, will try explicilty adding perl:latest, thank you
it appears the rakudo-star 2021.04 docker comes with perl 5.28.2, built with --useshrplib. That should be recent enough and built with the right config options, no? 20:12
sienet_ja_LSD[m] aye it should 20:13
[Coke] can I create a zef config that will always skip REA? 20:17
so I have to explicitly add it on the command line?
(er, add it if I want it)
I have an app with multiple mains. What's the easiest way to have a standard set of options that I can easily make available to each MAIN? Can I put some :$foos in a proto? 20:41
[Coke] supposes he should look at zef. 20:44
japhb [Coke]: See github.com/Raku-MUGS/MUGS-UI-CLI/b...kumod#L360 for how I've been doing common MAIN options. 20:50
[Coke] nifty, thanks 20:52
japhb++ incorporated 21:02
lucs [Coke]: Is zoffix involved with Raku again? 21:08
(that is, why the "++"?) 21:09
[Coke] there was a PR which looks like it was opened very recently
lucs Ah, cool. 21:10
[Coke] github.com/coke/raku-cal/issues/1 - did "now" used to return the wrong time zone in 2017? 21:11
guifa bisectable: $*TZ = 12345 andthen say $_ == DateTime.now.timezone 21:18
bisectable6 guifa, Will bisect the whole range automagically because no endpoints were provided, hang tight
guifa, Output on all releases: gist.github.com/4b1be37625f6ad6490...1a520a863d 21:19
guifa, Bisecting by exit code (old=2017.03 new=2017.04.3). Old exit code: 1
guifa, bisect log: gist.github.com/6fe6e5b7123ababe5b...740a6cd065
guifa, (2017-04-02) github.com/rakudo/rakudo/commit/1b...342667ed1c
guifa errr
bisectable6 guifa, Output on all releases and bisected commits: gist.github.com/767d60352663d25885...df4af355a1
guifa bisectable my $*TZ = 12345 andthen return $_ == DateTime.now.timezone 21:20
bisectable: my $*TZ = 12345 andthen return $_ == DateTime.now.timezone 21:21
bisectable6 guifa, Will bisect the whole range automagically because no endpoints were provided, hang tight
guifa, ¦6c (64 commits): «Attempt to return outside of any Routine␤ in block <unit> at /tmp/t60hRKym3e line 1␤␤ «exit code = 1»»
guifa, Nothing to bisect!
guifa *sigh* 21:22
does it work with sink context okay?
bisectable: my $*TZ = 12345 andthen $_ == DateTime.now.timezone
bisectable6 guifa, Will bisect the whole range automagically because no endpoints were provided, hang tight
guifa, Output on all releases: gist.github.com/58ad172d60c5ead039...25bfcfbf04
guifa, Bisecting by output (old=2016.07.1 new=2016.08.1) because on both starting points the exit code is 0
guifa, bisect log: gist.github.com/cbb3a2433c7ba3de66...e634bc9656 21:23
guifa, (2016-07-26) github.com/rakudo/rakudo/commit/53...9750f16b95
guifa, Output on all releases and bisected commits: gist.github.com/d268eb252b5caa9750...e733c1fbc1
guifa bisectable: my $*TZ = 12345 andthen exit ($_ == DateTime.now.timezone ?? 1 !! 2)
bisectable6 guifa, Will bisect the whole range automagically because no endpoints were provided, hang tight
guifa, Output on all releases: gist.github.com/aaabb40b51edc71110...66c7f300a4 21:24
guifa, Bisecting by exit code (old=2020.10 new=2020.11). Old exit code: 1
guifa, bisect log: gist.github.com/85559cb0c3683cab2e...c9d4aaa766
guifa, (2020-11-02) github.com/rakudo/rakudo/commit/61...a250b87b81
guifa, Output on all releases and bisected commits: gist.github.com/8d4b11cd5a7a25bdd2...95769ad481 21:25
guifa [Coke]: ^^ looks like something changed around 2020.11
m: say $*TZ
camelia 7200
guifa m: DateTime.now.timezone.say
camelia 7200
guifa m: say DateTime.new(now) 21:26
camelia 2022-06-27T21:26:27.318210Z
guifa ^^ using .new with now kills the timezone info