🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:20 clarjon1 joined 00:29 bigdata joined 00:32 abraxxa left 00:33 abraxxa joined 00:48 swaggboi left, jmcgnh left 00:59 bigdata left 01:00 jmcgnh joined 01:05 [Sno] joined 01:07 sno left 01:19 kvw_5_ joined 01:23 kvw_5 left, swaggboi joined 01:57 epony left 02:41 epony joined 02:45 shadowpaste joined 02:55 guifa left 03:38 abraxxa left 03:40 abraxxa joined 03:42 aborazmeh joined 03:49 MasterDuke left 04:03 rindolf joined 04:17 linkable6 left, MilkmanDan left, jhill left, bonz060_ left, Grinnz left, Altreus left, ugexe left, zostay left, riatre left, perry left, Grauwolf left, tbrowder left, peteretep left, leah2 left, daxim left, SmokeMachine left, Sgeo_ left, a6502 left, telex left, timlegge left, jast left, bdju left, mniip left, masak left, agentzh left, hobbs left, nine left, brass left, kst left, tyil left, Nasrudin left, pwr22 left, kiti_nomad[m] left, moon-child left, mojca left, pnu__ left, mithaldu_ left, charsbar left, swaggboi left, nativecallable6 left, bloatable6 left, coverable6 left, shareable6 left, unicodable6 left, committable6 left, sourceable6 left, quotable6 left, greppable6 left, mrsolo left, skaji_ left, codesections left, kini left, rba left, summerisle left, spycrab0 left, jcallen left, a3f left, stux|RC-only left, softmoth left, db48x left, dotdotdot left, ambs left, leont left, marcusr left, japhb left, Sir_Ragna left, nicholatian left, buffet left, jjatria left, CIAvash left, demostanis[m] left, sena_kun left, BuildTheRobots left, kawaii left, DarthGandalf left, abraxxa left, sxmx left, renormalist left, aluaces left, rjbs left, mightypork left, grumble left, benaiah left, raydiak left, tadzik left, synthmeat left, Mithaldu left, _________ left, robinsmidsrod left, KotH left, avar left, mst left, dogbert17 left, Black_Ribbon left, nige left, samebchase left, maggotbrain left, cosimo left, defaultxr left, dustinm` left, APic left, literal left, torbjorn left 04:18 abraxxa joined, swaggboi joined, dogbert17 joined, linkable6 joined, Black_Ribbon joined, softmoth joined, MilkmanDan joined, Sgeo_ joined, nige joined, db48x joined, tyil joined, CIAvash joined, pwr22 joined, Nasrudin joined, demostanis[m] joined, kiti_nomad[m] joined, sena_kun joined, BuildTheRobots joined, jhill joined, kawaii joined, a6502 joined, kst joined, brass joined, nine joined, hobbs joined, agentzh joined, masak joined, mniip joined, bdju joined, jast joined, timlegge joined, telex joined, charsbar joined, pnu__ joined, mithaldu_ joined, mojca joined, moon-child joined, stux|RC-only joined, a3f joined, spycrab0 joined, jcallen joined, summerisle joined, rba joined, kini joined, codesections joined, mrsolo joined, skaji_ joined, greppable6 joined, quotable6 joined, sourceable6 joined, committable6 joined, unicodable6 joined, shareable6 joined, coverable6 joined, bloatable6 joined, nativecallable6 joined, jjatria joined, buffet joined, nicholatian joined, Sir_Ragna joined, japhb joined, marcusr joined, leont joined, ambs joined, dotdotdot joined, DarthGandalf joined, SmokeMachine joined, daxim joined, leah2 joined, Grauwolf joined, peteretep joined, tbrowder joined, riatre joined, perry joined, zostay joined, ugexe joined, Altreus joined, Grinnz joined, bonz060_ joined, KotH joined, avar joined, mst joined, robinsmidsrod joined, _________ joined, Mithaldu joined, synthmeat joined, tadzik joined, raydiak joined, benaiah joined, grumble joined, mightypork joined, rjbs joined, aluaces joined, renormalist joined, sxmx joined, torbjorn joined, literal joined, APic joined, dustinm` joined, defaultxr joined, cosimo joined, maggotbrain joined, samebchase joined, stux|RC-only left, webstrand left 04:19 gugod left, Nasrudin left 04:20 kurahaupo_ left, BuildTheRobots left, Grinnz left, timeless left, uzl[m] left, unclechu left, demostanis[m] left, kawaii left 04:21 stux|RC-only joined, tusooa left, ThaEwat left, CIAvash left, juanfra__ left, AlexDaniel` left, patrickbkr[m] left, webstrand joined, gugod joined, pwr22 left, kiti_nomad[m] left, shadowpaste left, Garland_g[m] left, Tirifto[m] left, PotatoGim left, draco100[m] left, Grinnz joined 04:22 timeless joined 04:23 timeless left, kawaii joined 04:24 jhill left, PotatoGim joined, timeless joined 04:26 jhill joined, shadowpaste joined 04:28 BuildTheRobots joined 04:33 aborazmeh left 04:50 kurahaupo joined, swaggboi left 04:52 demostanis[m] joined 04:56 swaggboi joined 04:59 ThaEwat joined, Tirifto[m] joined, tusooa joined, AlexDaniel` joined, unclechu joined, patrickbkr[m] joined, juanfra__ joined, Garland_g[m] joined, Nasrudin joined, draco100[m] joined, uzl[m] joined, CIAvash joined, pwr22 joined, kiti_nomad[m] joined
moon-child is nqp-js broken? I get a bunch of errors like this one when trying to build it 0x0.st/-TT_.txt 05:04
05:25 parabolize left 05:26 epony left, epony joined 06:24 kurahaupo left 06:29 kurahaupo joined 06:52 wamba joined 07:01 parv joined
CIAvash moon-child: probably related to your node version. rakudo package on npm mentions "node 10.16.0 or 12.11.1" as dependencies www.npmjs.com/package/rakudo 07:08
moon-child ...oh 07:09
I have 15
07:13 Sgeo_ left 07:20 Sgeo joined
CIAvash If you really want to try it, you can use a node version manager like `fnm` to install and use `v12.11.1` 07:23
07:26 sena_kun left, sena_kun joined 07:36 [Sno] left 07:37 kurahaupo left 07:38 kurahaupo_ joined 07:45 abraxxa left 07:48 abraxxa joined 07:55 sno joined 08:04 aborazmeh joined 08:16 domidumont joined 08:17 stoned75 joined 08:25 DiffieHellman left, sno left 08:26 DiffieHellman joined 08:27 DiffieHellman left, DiffieHellman joined 08:28 wamba left 08:29 sno joined 08:33 wamba joined 08:39 Sgeo left 08:45 ufobat__ joined
stoned75 08:46
08:46 stoned75 left 08:56 ufobat__ left 09:10 aborazmeh left 09:30 mahafyi joined 09:58 pecastro joined 10:00 wbiker left 10:05 Kaiepi left 10:07 Kaiepi joined 10:19 mahafyi left 10:31 |oLa| joined 10:32 aborazmeh joined 10:51 mahafyi joined 10:56 |oLa| left, aborazmeh left 10:59 sena_kun left 11:00 swaggboi left 11:01 |oLa| joined 11:02 Black_Ribbon left, nige left, nige joined 11:07 nige left, nige joined 11:10 MasterDuke joined 11:22 mahafyi left 11:23 sena_kun joined 11:24 parv left 11:30 titsuki joined 11:40 adot joined 11:41 vike joined
adot How can I get the moarVM bytecode for a program? I've tryed `raku --target=mbc -o f.bc -- hello.p6` but it gives 11:42
===SORRY!===
Cannot dump this object; no dump method
hello.p6 is `say "Hello World";`
MasterDuke i think it might have to be --output, iirc the short form is broken 11:44
adot Yep, that works, thanks 11:45
MasterDuke np
MasterDuke keeps forgetting to create a rakudo issue for that
11:47 titsuki left 11:51 kurahaupo_ left 11:52 ufobat__ joined
no-n I have a Perl 5 program and a Raku program that look the same but the Raku program waits for an extra keystroke. paste.ubuntu.com/p/6WSWVXHgyw/ and paste.ubuntu.com/p/mgQwDWpwNW/ 12:00
timotimo docs.raku.org/type/IO::Handle#routine_getc - this might help you 12:07
tellable6 hey timotimo, you have a message: gist.github.com/69e7f4fdb5f81ab3d5...96feffdebc
12:12 kurahaupo joined 12:21 aborazmeh joined
adot Follow up: I've compiled the program with `rakudo --target=mbc --output=hello.moarvm hello.p6`, and when I try to run it with `moar --libpath=/usr/local/Cellar/rakudo/2021.02.1/share/perl6/lib/Perl6 hello.moarvm` I get 12:29
```
Unhandled exception: Cannot call method 'load_setting' on a null object
   at <unknown>:1  (/usr/local/Cellar/rakudo/2021.02.1/share/perl6/lib/Perl6/ModuleLoader.moarvm:<dependencies+deserialize>)
 from <unknown>:1  (hello.moarvm:<dependencies+deserialize>)
```
How would I solve/go about debuging this.
ugexe the short answer is you cant run your compiled code directly 12:34
not yet anyway
so if you want to debug that, first you need to implement it in moarvm so there is something to debug 12:35
yakshavingcream.blogspot.com/2019/...o-run.html 12:37
12:39 |oLa| left
ugexe nothing really materialized out of that though 12:39
adot `perl6` (the command line program) is now `rakudo`/`raku` (which are both the same), right? 12:42
ugexe yeah
12:44 ufobat__ left, ufobat__ joined
adot Is it ever possible to have `moar` (the cli) run bytecode then, or is it always an implemetation detail of `rakudo` 12:48
13:10 monkey__ joined 13:14 monkey__ left 13:19 ufobat__ left 13:20 aborazmeh left 13:28 monkey__ joined, monkey__ left 13:41 ufobat__ joined 13:47 abraxxa left 13:48 abraxxa joined 13:56 |oLa| joined 13:59 d_t_b joined 14:00 dtb left 14:12 adot left 14:13 squashable6 left 14:14 squashable6 joined 14:18 ufobat__ left 14:21 Marcool joined
Marcool Hi all, has there been any changes in v2021.03 as to handling of signatures in subs? 14:21
Specifically I had a script that used: 14:22
unit sub MAIN( Str :$quality where { $quality ∈ <lofi midfi hifi> } = "hifi", etc.); blabla
that used to work
and now that's throwing:
Type check failed in binding to parameter '<anon>'; expected Any but got Mu (Mu)
and is fixed thus:
14:22 codesect` joined 14:23 codesect` left
Marcool unit sub MAIN( Str :$quality where { $_ ∈ <lofi midfi hifi> } = "hifi", etc.); blabla 14:23
14:24 codesections left 14:27 nige left, nige joined 14:32 nige left, nige joined
lizmat Marcool: I think this is the problem: github.com/rakudo/rakudo/issues/4278 ? 14:33
which should get fixed before the next release, as it is marked a blocker
14:35 codesections joined
Marcool oh yeah! thanks for finding that :) sounds exactly right 14:43
14:48 aborazmeh joined 14:49 wamba left 14:51 __jrjsmrtn__ joined, _jrjsmrtn left 14:54 wamba joined 15:09 Panadestein joined 15:10 Panadestein left 15:12 aborazmeh left 15:14 abraxxa left 15:16 abraxxa joined 15:20 Marcool left 15:22 domidumont left 15:23 parabolize joined 15:57 mahafyi joined 16:09 idiosyncrat2 left 16:16 MasterDuke left 16:20 MasterDuke joined 16:22 Sgeo joined 16:27 domidumont joined 16:37 domidumont left 16:46 bonz060_ is now known as bonz060 17:07 nige left, nige joined 17:08 softmoth left, softmoth joined 17:27 b2gills left 17:48 aborazmeh joined 17:49 kurahaupo left 17:55 wamba left, simcop2387 left, Woodi left, afresh1 left, markmarkmark left, tobs left, Voldenet left, silug left, hvxgr left, pounce left, [Coke] left, tailgate left, lucs left, jraspass left, BinGOs left 17:56 wamba joined, simcop2387 joined, Woodi joined, afresh1 joined, markmarkmark joined, tobs joined, Voldenet joined, silug joined, hvxgr joined, pounce joined, jraspass joined, tailgate joined, BinGOs joined, [Coke] joined, lucs joined 18:02 b2gills joined, oneeggeach joined 18:14 Altai-man_ joined 18:16 sena_kun left 18:24 nige left 18:52 aborazmeh left 19:10 neshpion joined
tonyo .tell tbrowder you don't need to remove anything from cpan before uploading to fez 19:13
tellable6 tonyo, I'll pass your message to tbrowder
tbrowder tonyo: thanks! 19:14
tonyo .tell tbrowder zef will choose whatever version is most recent, i've been chatting with ugexe about putting `strict` repositories first. we're discussing but no news yet 19:15
tellable6 tonyo, I'll pass your message to tbrowder
tonyo hey may have done that while i was out of enjoyin the woods for the last couple weeks
19:16 abraxxa left
tbrowder now i'm waiting for skaji_ to integrate his fez branch for App::Mi6 19:16
19:18 abraxxa joined 19:20 aborazmeh joined 19:28 Manifest0 left 19:31 Black_Ribbon joined 19:32 Manifest0 joined 19:37 ufobat__ joined 19:41 nige joined 19:42 adot joined 19:56 nige left 20:11 ufobat__ left 20:30 maggotbrain left 20:37 aborazmeh left 20:38 aborazmeh joined 20:41 nige joined 20:42 aborazmeh left, swaggboi joined 20:52 monkey__ joined 21:01 nige left 21:03 adot left 21:11 monkey__ left, vike left, monkey__ joined 21:16 aborazmeh joined 21:20 aborazmeh left 21:21 monkey__ left 21:41 vike joined
japhb Ooh, fez support in mi6? That would be awesome! 21:51
lizmat indeed! 21:52
21:55 db48x left 22:03 rindolf left 22:10 oneeggeach left, oneeggeach joined 22:13 oneeggeach left, oneeggeach joined 22:18 abraxxa left 22:19 abraxxa joined 22:27 oneeggeach left 22:28 oneeggeach joined 22:33 oneeggeach left 22:45 mowcat joined 22:48 mowcat left, mowcat joined 22:51 mowcat left 22:55 mowcat joined 22:59 oneeggeach joined 23:03 oneeggeach left 23:08 mowcat left, mowcat joined 23:23 oneeggeach joined 23:25 mowcat left 23:26 db48x joined 23:30 sxmx left 23:31 mowcat joined 23:43 wamba left 23:48 pecastro left