🦋 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 inspection is still being worked out
Set by lizmat on 12 August 2021.
00:02 reportable6 left 00:03 reportable6 joined 01:03 committable6 left, statisfiable6 left, greppable6 left, notable6 left, quotable6 left, releasable6 left, sourceable6 left, coverable6 left, linkable6 left, squashable6 left, reportable6 left, bloatable6 left, tellable6 left, bisectable6 left, evalable6 left, benchable6 left, unicodable6 left, shareable6 left, nativecallable6 left, committable6 joined, tellable6 joined 01:04 bisectable6 joined, bloatable6 joined, unicodable6 joined, statisfiable6 joined, nativecallable6 joined 01:05 evalable6 joined, quotable6 joined, greppable6 joined, linkable6 joined 01:06 reportable6 joined 01:14 frost joined
mjgardner Um, has anyone else noticed that docs.raku.org and modules.raku.org have been down for a bit today? 01:15
[Coke] was slow for me just now, but now it's coming up fine. 01:19
mjgardner Weird, I can ping it but can’t browse to it, and this reports it’s down: downforeveryoneorjustme.com/modules.raku.org 01:32
moon-child I can't access either either
[Coke] I know historically we've had problems with some ISPs reaching the site. modules is also hanging on load right now... 01:37
now I have a cloudflare error 01:42
02:04 sourceable6 joined, notable6 joined 02:05 releasable6 joined, benchable6 joined
mjgardner It’s making it hard to source links for this blog post. 02:07
I thought I might try turning off Wi-Fi on my phone and go through Verizon rather than my home AT&T Internet, but that’s also hanging. 02:18
Also getting Cloudflare Error 522: “An Error 522 means that the request was able to connect to your web server, but that the request didn't finish. The most likely cause is that something on your server is hogging resources.” 02:42
I had similar issues when I was on a shared web host. It’s no fun when a co-tenant can take you down. 02:43
02:56 lucasb left
mjgardner And now they’re back. Yay! 02:57
03:04 coverable6 joined 03:05 shareable6 joined 04:05 squashable6 joined 04:15 alexrover joined, alexrover left 04:42 coverable6 left, reportable6 left, nativecallable6 left, xinming left, MasterDuke left, juanfra left, jess left, Altai-man left, jdv left, dustinm` left, pat_js left, perlmaros left, pierrot left, kybr left, Henry151 left, timo left, dcx left 04:43 coverable6 joined, reportable6 joined, nativecallable6 joined, xinming joined, MasterDuke joined, juanfra joined, jess joined, Altai-man joined, jdv joined, dustinm` joined, pat_js joined, perlmaros joined, pierrot joined, kybr joined, Henry151 joined, timo joined, dcx joined 04:44 shareable6 left, gordonfish left, Xliff left, swaggboi left, leedo left, simcop2387 left, leah2 left, kjp_ left, leont left 04:45 shareable6 joined, gordonfish joined, Xliff joined, swaggboi joined, leedo joined, simcop2387 joined, leah2 joined, kjp_ joined, leont joined 04:46 happy-dude left, AlexDaniel left, CIAvash left 04:47 aolko[m] left, juanfra left 04:48 ingy left, perryprog left, Ekho left, greyrat left, [Coke] left, tobs left, elcaro left, a3r0 left, nine left, ingy joined, perryprog joined, Ekho joined, greyrat joined, [Coke] joined, tobs joined, elcaro joined, a3r0 joined, nine joined, cnx left 04:50 oodani left, jrjsmrtn left, DarthGandalf left, ptc_ left, Voldenet left, gfldex left, charsbar left, rba left, lucerne left, avar left, oodani joined, jrjsmrtn joined, DarthGandalf joined, ptc_ joined, Voldenet joined, rba joined, gfldex joined, charsbar joined, lucerne joined, avar joined 04:51 rba[m] left 04:52 casaca left, xkr47 left, jjatria left, xkr47_ joined, jjatria_ joined, casaca joined 04:53 jjatria_ is now known as jjatria 04:54 bdju left, broquain1 left, mtj left, rjbs left, esh left, ugexe left, daxim left, dpk left, GreaseMonkey left, broquaint joined, greaser|q joined, [dpk] joined, ugexe joined, esh joined, daxim joined 04:55 mtj joined, rjbs joined 04:59 bdju joined 05:15 aolko[m] joined 05:16 CIAvash joined, AlexDaniel joined 05:24 xkr47_ is now known as xkr47 05:25 rba[m] joined
Xliff When using Inline::Perl5 to access modules like Email::MIME, when perl does "Email::MIME->create( header_str => [ ... ])" 05:35
Will that be written out the same, like so: "Email::MIME.create( header_str => [ ... ])"
Because I have the feeling the last version isn't parsing my arguments, properly. 05:36
06:02 reportable6 left 06:05 reportable6 joined 06:06 neshpion left 06:33 juanfra joined 06:52 happy-dude joined 06:53 cnx joined, abraxxa joined 06:56 abraxxa left 06:58 abraxxa joined 07:03 abraxxa left 07:04 abraxxa joined 07:06 abraxxa left 07:15 Sgeo left 07:18 abraxxa joined 07:19 abraxxa left 07:29 [dpk] is now known as dpk 07:51 dakkar joined 07:56 dakkar left, dakkar joined 09:00 quotable6 left, bisectable6 left, committable6 left, benchable6 left, linkable6 left, evalable6 left, bloatable6 left, greppable6 left, unicodable6 left, notable6 left, tellable6 left, squashable6 left, statisfiable6 left, sourceable6 left, releasable6 left, shareable6 left, reportable6 left, nativecallable6 left, coverable6 left 09:01 quotable6 joined, bisectable6 joined, bloatable6 joined, squashable6 joined 09:02 statisfiable6 joined, tellable6 joined, greppable6 joined, coverable6 joined 09:03 reportable6 joined, committable6 joined 10:00 sourceable6 joined 10:02 unicodable6 joined 10:03 shareable6 joined, nativecallable6 joined 10:09 abraxxa joined 10:11 abraxxa left 10:15 abraxxa joined 10:16 abraxxa left 10:29 abraxxa joined
nine Xliff: looks correct 10:29
at least since Inline-Perl5 version 0.53 10:31
10:34 abraxxa left 10:35 abraxxa joined 11:01 notable6 joined
Xliff nine: Yeah, I thought so too until I actually had to throw Data::Dumper into the installed module to see for myself. 11:09
nine: In perl5, naked "key => value" resolves into [ $key, $value ] 11:10
Successive pairs add on to that list. Inline::Perl5 seems to want to take each pair and place them in their own arrayref.
So "key1 => value1, key2 => value2" is "[ [key1 => value1], [key2 => value2] ] instead of "[ $key1, $value1, $key2, $value2 ]" 11:11
It seems the latter is what my module needed.
nine I wouldn't know how that could be the case. Do you have a reduced test case, showing the problem? 11:13
Xliff Not really. Closest thing I have to something that illustrates the problem needs Email::MIME 11:15
nine Should be easy to create a dummy module with a method taking and dumping those args
Xliff gist.github.com/Xliff/8b70f4309f35...01d1cccfdd 11:30
nine: So it's sorted. Inline::Perl5 has been a great help. 11:31
nine Ah, now I understand. foo(a => 1, b => 2) would do what you expect, since I special cased pairs in argument lists. The same is not true when converting arrays. Each array element is converted individually to its Perl equivalent. 11:35
11:36 sena_kun joined
nine But then I'd actually expect something like [Pair->new(...), Pair->new(...), ...] to arrive in Perl 11:36
12:00 releasable6 joined 12:02 benchable6 joined, evalable6 joined, reportable6 left 12:52 leebrooks joined 12:57 leebrooks left 12:59 archenoth joined 13:02 linkable6 joined 13:11 frost left 14:04 reportable6 joined 14:11 abraxxa left
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/08/16/2021-...cumbering/ 14:12
andinus japhb: it prints lots of tput errors on install, unknown terminal type, not enough args for capability, etc 14:14
japhb: if i skip tests then it seems that i'm able to run some examples
japhb: still running examples prints "universal move must have access to tput" error 14:15
14:15 jo joined
andinus there's already an issue regarding multi-platform support (freebsd thread) so i didn't file a new one 14:15
14:17 abraxxa joined 14:18 gordonfish- joined 14:20 gordonfish left
gfldex lizmat: And once again Larry showed great foresight by making the language appealing to childen. For a 100-year langauge we better have plans for a next generation. 14:21
14:21 abraxxa left 14:22 abraxxa joined
lizmat :-) 14:23
14:23 Sgeo joined
gfldex while we are on the subject of youngsters. On Discord we got #raku-beginner (with many good questions). With a namesake on IRC I could tell the bridge to bridge. 14:32
lizmat gfldex++ # well volunteered :-) 14:34
seriously, I would welcome that very much
gfldex Who is in charge of the irc channels?
lizmat actually, that's a bit misty at the moment 14:36
but there *is* a #raku-beginner channel now
lemme just set up the logging
gfldex a hint in the topic of #raku might be helpful 14:37
and www.raku.org
14:39 RakuIRCLogger left, RakuIRCLogger joined 14:40 ChanServ sets mode: +o lizmat
lizmat 🦋 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 inspection is still being worked out. If ypu're a beginner, check out the #raku-beginner channel! 14:41
14:45 discord-raku-bot left
dakkar lizmat: $topic ~~ s/ypu/you/ 14:45
14:45 discord-raku-bot joined
lizmat 🦋 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 inspection is still being worked out. If you're a beginner, check out the #raku-beginner channel! 14:46
lizmat dakkar++ 14:46
14:47 discord-raku-bot left 14:48 discord-raku-bot joined
dakkar tonyo_: github.com/tony-o/raku-fez says «This project is for 'zef', raku's cool new shiny dist uploader»; is that a typo? 14:51
ens there's a raku discord? 14:54
perryprog Ew.
Altreus there is 14:55
sjn yes, there is a Raku discord
Altreus sometimes people use it
irc is far more active though
El_Che so are irceans 14:56
ens fair enough. but i thought new gen people don't use irc much
maybe i'm just biased. 14:57
Altreus vaguely true
El_Che I thought there were bridges
sjn There are
ens i tried to get my friend on irc and she called it 'the HAM radio of the internet'
sjn tries to find the invitation link to the discord server, but can't seem to find it
altreus™ might even work 14:58
Altreus hey it does
[Coke] irc is the worst. I love the ham radio of the internet analogy, will be stealing that.
Altreus here it is discord.gg/gg2a3T6
ens nice one, btw is discord-raku-bot in raku and open source? i would love to see how it works. 14:59
Altreus it's in #info-and-rules but you have to scroll up
discord-raku-bot: source
all bots should support that
I should probably find some time for API::Discord
sjn Altreus: where did you find it?
ens i coded a discord bot in perl5 but it was such a mess. 15:00
doesn't seem like there's good support for it that i could find anyway.
15:01 discord-raku-bot left, discord-raku-bot joined, TempIRCLogger left
Altreus sjn: right at the top of #info-and-rules 15:01
ens i have a friend who is coming over this weekend and we are going to do some long coding session to improve our raku knowledge. we are looking forward to it.
Altreus ens: with a hack session on API::Discord? xD 15:02
ens that'd be awesome.
Altreus I was going to do a triage stream ages ago, but I had a bit of a paddy
15:02 TempIRCLogger joined
Altreus I've not really found the wherewithal to pick it up 15:02
ens we are very newbie though... i know perl5 but i don't think perl5 translates very much (i could be wrong)
sjn Altreus: thanks :) 15:03
Altreus ens: start off by understanding it ... which is a challenge because I don't and I wrote it
I have definitely chosen an architecture that I find too difficult to fit in my head
some of that is me trying to make use of what Raku allows for 15:04
El_Che Altreus: in riddle you do talk
Altreus all software is a riddle for humans and clear for computers 15:05
gfldex ens: the bridge-and-eval-bot is pure Raku but not in the public eye yet. The code is still quite gnarly.
ens lizmat: sorry to hear about Robert Lemmen. Seems like quite a prolific guy for raku and in debian project.
lizmat he was more prolific for debian than raku, but yeah :-) 15:06
Altreus yes I saw this go by, but I confess I had never heard of him 15:07
It's sad that his passing was not noted immediately
lizmat yes :-(
Altreus tbf I have no idea how I would make it known if I popped my clogs unexpectedly 15:08
I still wonder what happened to f00li5h 15:09
gfldex that's not really your job
El_Che dead man switch?
I didn't see his name on debian lists besides on the release announcement 15:10
gfldex whereby  I had once a case with a contract, signed by a person who died 5 years prior. 15:11
lizmat Altreus: well, that's just the problem. Contributors sometime just don't have time, and are then just absent
there's generally no reason to expect any other reason
in the case of Jeff Goff and Jonathan Scott Duff, it was much clearer 15:12
but I also guess because I knew them more personally and from conferences as well
Altreus There's no dead man switch that is safe from ADHD 15:13
I pretty much vanished from IRC for quite a long time myself 15:14
mostly cos I forgot to ssh in
15:24 mattil joined 15:43 glguy joined 16:00 jo left 16:04 hankache joined 16:06 hankache left 16:19 hankache joined 16:24 abraxxa left
Xliff m: sub a { $*?a ?? $*a++ !! (my $*a = 0); a unless $*a >= 10; }; a 16:35
camelia 5===SORRY!5=== Error while compiling <tmp>
Expected a term, but found either infix ?? or redundant prefix ?
(to suppress this message, please use a space like ? ?)
at <tmp>:1
------> 3sub a { $*?a ??7⏏5 $*a++ !! (my $*a = 0); a unle…
Xliff m: sub a { $?*a ?? $*a++ !! (my $*a = 0); a unless $*a >= 10; }; a
camelia 5===SORRY!5=== Error while compiling <tmp>
Unsupported use of $? variable; in Raku please use $! for handling child errors also
at <tmp>:1
------> 3sub a { $?7⏏5*a ?? $*a++ !! (my $*a = 0); a unless $*
Xliff m: sub a { $*?a ?? $*a++ !! (my $*a = 0); a unless $*a >= 10; }; a
camelia 5===SORRY!5=== Error while compiling <tmp>
Expected a term, but found either infix ?? or redundant prefix ?
(to suppress this message, please use a space like ? ?)
at <tmp>:1
------> 3sub a { $*?a ??7⏏5 $*a++ !! (my $*a = 0); a unle…
Xliff m: sub a { say $*?a ?? 'a IS' !! 'a isn't' }; a 16:36
camelia 5===SORRY!5=== Error while compiling <tmp>
Expected a term, but found either infix ?? or redundant prefix ?
(to suppress this message, please use a space like ? ?)
at <tmp>:1
------> 3sub a { say $*?a ??7⏏5 'a IS' !! 'a isn't' }; a
Xliff m: sub a { ::('$*a') ?? $*a++ !! (my $*a = 0); a unless $*a >= 10; }; a
camelia 5===SORRY!5=== Error while compiling <tmp>
Illegal post-declaration of dynamic variable '$*a'. Earlier access
must be written as 'CALLERS::<$*a>' if that's what you meant.
at <tmp>:1
------> 3sub a { ::('$*a') ?? $*a++ !! (my $*a7⏏5 …
Xliff m: sub a { DYNAMIC::<$*a> ?? $*a++ !! (my $*a = 0); a unless $*a >= 10; }; a 16:38
camelia 5===SORRY!5=== Error while compiling <tmp>
Illegal post-declaration of dynamic variable '$*a'. Earlier access
must be written as 'CALLERS::<$*a>' if that's what you meant.
at <tmp>:1
------> 3b a { DYNAMIC::<$*a> ?? $*a++ !! (my $*a7⏏…
Xliff m: sub a { if DYNAMIC::<$*a> { $*a++ } else { my $*a = 0 }; a() unless $*a >= 10; }; 16:39
camelia ( no output )
Xliff m: sub a { if DYNAMIC::<$*a> { $*a++ } else { my $*a = 0 }; a() unless $*a >= 10; }; a
camelia Dynamic variable $*a not found
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub a { my $*a = 0 unless DYNAMIC::<$*a>; $*a++; say a() unless $*a >= 10; }; a 16:40
camelia (timeout)
Xliff Huh. I don't think it liked that. 16:41
16:41 hankache left 16:43 dakkar left 16:44 Pipirok joined 16:46 Pipirok left 17:10 b2gills left, b2gills joined 18:02 reportable6 left 18:17 wingfold joined 18:18 wingfold left 18:22 wingfold joined 18:25 vrurg left 18:28 sena_kun left 18:29 wingfold left, vrurg joined 18:31 greaser|q left, greaser|q joined 18:32 wingfold joined, greaser|q is now known as GreaseMonkey 18:36 wingfold left 19:10 jo joined 19:18 wingfold joined 19:22 wingfold left 19:47 neshpion joined 20:05 mattil left 20:48 archenoth left 20:58 archenoth joined 21:04 jo left, reportable6 joined 21:17 bdju left 21:18 bdju joined
[Coke] reverse test. 21:34
21:35 glguy left
[Coke] so, how does the discord bridge work? I sent something on #raku there a moment ago, and the last send before that is from Friday. 21:35
cokebot9000 Oh, it works this way. 21:37
[Coke] So, nevermind, I'm an idiot.
22:01 moritz_ joined
[Coke] got in the weekly for deleting several lines of documentation! 22:03
[Coke] will try to do something slightly more worthy this week.
22:03 moritz left 22:12 gordonfish joined 22:14 gordonfish- left 22:36 Xliff left
lizmat ++[Coke] 22:45
23:36 evalable6 left, linkable6 left