00:41 lucasb left 02:07 MasterDuke left 05:58 leont left 06:22 sena_kun joined 07:02 sena_kun left 07:06 sena_kun joined 07:24 Altai-man joined 07:26 sena_kun left 07:30 camelCaser left 07:31 camelCaser joined 07:51 MasterDuke joined 08:22 domidumont joined 08:41 maggotbrain left 08:55 maggotbrain joined 09:45 MasterDuke left 09:52 maggotbrain left 10:25 MasterDuke joined 10:28 maggotbrain joined
releasable6 Next release in ≈3 days and ≈7 hours. 3 blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft 11:00
11:01 MasterDuke left
Geth rakudo/rakuast: 75b650c089 | (Elizabeth Mattijsen)++ | src/core.e/Formatter.pm6
NQPify the runtime components

  - also rename sprintf to zprintf for now, for easier comparisons
11:12 timotimo left 11:13 timo joined 11:14 timo is now known as Guest97478
Guest97478 þrintf 11:15
11:15 Guest97478 is now known as timotimo
timotimo ſprintf 11:15
[Tux] ⎙f 11:24
11:25 sena_kun joined
timotimo m: say "\c[snake]printf" 11:27
camelia 🐍printf
11:27 Altai-man left
Xliff m: sub a { say '1'; }; role B { }; &a does B; 11:52
camelia ( no output )
Xliff m: sub a { say '1'; }; role B { }; &a does B; &a.WHAT.say
camelia (Sub+{B})
Xliff m: sub a (1, 2, 3, 4) { say '1'; }; role B { }; &a does B; &a.WHAT.say; &a.arity.say 11:55
camelia (Sub+{B})
11:59 MasterDuke joined 12:15 leont joined
[Tux] Rakudo version 2020.08.2-72-gf352b6d33 - MoarVM version 2020.08-91-g590bac47e
csv-ip5xs1.005 - 1.014
csv-ip5xs-2010.107 - 10.413
csv-parser26.257 - 30.128
csv-test-xs-200.388 - 0.439
test7.906 - 8.280
test-t1.845 - 1.944
test-t --race0.824 - 0.847
test-t-2032.651 - 33.070
test-t-20 --race9.438 - 11.350
12:53 ccamel joined 12:54 camelCaser left 13:00 rypervenche left 13:04 rypervenche joined 14:37 MasterDuke left 14:43 MasterDuke joined 15:24 Altai-man joined 15:27 sena_kun left 15:36 nebuchadnezzar left 15:37 Guest65602 joined 16:09 Guest65602 is now known as nebuchadnezzar` 16:11 nebuchadnezzar` is now known as nebuchadnezzar 16:31 domidumont left 17:11 MasterDuke left
Geth rakudo/rakuast: d9f94bd4bd | (Jonathan Worthington)++ | 9 files
Foundations for traits in RakuAST

Proved to at least somewhat work by implementing a number of the simple traits that apply to a typename, and then trait application on package declarators.
Xliff What's the best way to try and introspect the subs at the bottom of a compunit like this: github.com/Xliff/p6-GIO/blob/maste...Stream.pm6 17:25
If I have a package like this one, I'm fine: github.com/Xliff/p6-GIO/blob/maste...Action.pm6
This works: my $r = "GIO::Raw::Action"; require ::($r); $r = ::("{ $r }::EXPORT::DEFAULT"); 17:26
17:28 Altai-man left 17:31 Altai-man joined 17:34 Altai-man left
Xliff Ah, damn. In the prior case, they are loaded directly into MY:: 17:35
17:47 patrickb joined
Geth rakudo: patrickbkr++ created pull request #3918:
Build System: Fix RUN_RAKUDO to use the dummy Rakudo home
patrickb o/
18:46 raku-bridge joined, raku-bridge left, raku-bridge joined
patrickb vrurg: If you find the time, I'd value a look at the above PR. I'm not sure whether there is a more fool proof way of quoting things. 18:47
18:54 donaldh joined 19:05 raku-bridge left, raku-bridge joined 19:09 Geth left 20:27 MasterDuke joined 20:29 MasterDuke left 20:32 patrickb left
lizmat tyil: Geth is AWOL again 21:03
tyil :( 21:04
lizmat just added 0c52628b019355ccf3a95de7d76b17aba01053f2
21:05 Geth joined
lizmat tyil++ 21:05
timotimo tyil: earlier today i cycled the discord bridge bot 21:08
tyil ah
lizmat Geth quit much later: [21:09:00] Geth (~zofbot-ge@minion6.tyil.net) left IRC (Ping timeout: 256 seconds)
tyil that explains the short liveness of the discord bridge
I just saw it had a way shorter uptime than other services 21:09
timotimo right
tyil lizmat: I'm not quite sure why get sometimes times out, it does the same when I run it locally
timotimo is there like a log you can query where it would indicate that my user sent that command?
tyil so it's not something specific to my server or anything
lizmat :-(
tyil timotimo: I could set that up, but right now I'm working on simple trust :p 21:10
timotimo ah, i'm thinking less of trust and more of ... i dunno, knowing what the hell is going on :D
tyil I could capture logs to an ElasticSearch cluster, that seems to be The Best Thing for kubernetes
but that would require me to set up such a cluster
which is a big reason as to why I don't have it 21:11
guess I could run it on my local desktop when I get some additional storage
21:13 MasterDuke joined
timotimo it's not a priority for me, don't worry 21:15
tyil :> 21:16
it's something I should learn to set up and configure anyway
and I've got plenty of memory to spare now
timotimo memory to spare? couldn't be me! :) 21:17
tyil I got a new desktop about a week ago, so now I'm sporting 64gb memory 21:18
timotimo nice
tyil I can have 3 chromium tabs open now! 21:19
vrurg ambr@4Mudambra 21:30
timotimo vrurg: nice password you have there ... better change it quickly, though :S 21:32
vrurg oops, wrong window.
timotimo: aha.... :(
donaldh Building rakudo-star 2020.05 from tarball is a bit ugly 22:11
lots of "fatal: not in a git directory"
macOS and older centos both complain that C.UTF-8 is not a known locale. 22:12
it requires bash 4.x or newer to get declare -A so that breaks on macOS which only has bash 3.x by default. 22:13
In the homebrew formula I can depend on a newer bash to resolve that problem, but anyone building from source manually will come unstuck. 22:14
I would switch to using default C locale, but I don't know the reasoning for choosing C.UTF-8 so worried I might break things elsewhere. 22:15
timotimo donaldh: just to make sure, you didn't get the tarball from github, right? 22:20
oh, star, we don't have the issue there i guess
donaldh timotimo: the star dist tarball. 22:23
22:32 donaldh left, donaldh joined
Xliff How can I look at the symbol table of a loaded module that does not have the "unit package" declarator in it? 22:32
22:37 donaldh left
Xliff I'm trying this -- github.com/Xliff/p6-GIO/blob/filei...Stream.pm6 22:39
I cannot understand why that doesn't return a value when I invoke using: use GIO::FileInputStream; say %GIO::FileInputStream::RAW-DEFS.keys 22:40
timotimo you need ::.keys perhaps? 22:42
Xliff Well, the %RAW-DEFS.gist.say will return a value. It's when I try and access that value outside of the compunit that's the problem. It's blank! 22:43
So the .gist.say shows that it gets populated, so why can't I get data when I access GIO::FileInputStream::RAW-DEFS?
timotimo is RAW-DEFS in the GIO::FileInputStream::.keys? 22:45
Xliff Why would that matter? 22:51
Nothing is in GIO::FileInputStream::.keys 22:52
timotimo i'm just trying to debug
Xliff Sorry. Answered.
timotimo: To note though, GIO::FileInputStream isn't a package, but a class def. 22:53
timotimo ah
ok i don't think there's a reason to believe the our %RAW-DEFS would show up in there then? 22:54
Xliff OK.
timotimo i mean, classes do get packages, right?
this is an area i haven't done much with at all tbh
Xliff Well it's odd. I really don't need the %RAW-DEFS if I could get access to its symbol table when using require...
timotimo ah, require
Xliff I wasn't able to, hence the %RAW-DEFS hack. 22:55
timotimo you didn't say that?
Xliff Sorry. Mentioned this earlier. No one bit.
timotimo ok
Xliff For the record, this compunit works fine: github.com/Xliff/p6-GIO/blob/maste...ddress.pm6 22:56
And I suspect that's because it's a package def.
timotimo there's no "our" in there, so dunno
Xliff It's when I have exported subs outside of a package def that I have problems accessing symbols. 22:57
timotimo how do you require, with a constant name or a dynamic name?
Xliff So if there's a better way to write what I have in GIO::FileInputStream, then I'd like to know it.
timotimo: dynamic
Here's the script, if you are curious: github.com/Xliff/p6-GtkPlus/blob/m...params.pl6 22:58
timotimo oh, require with module name or with filename? 22:59
Xliff Module name
timotimo OK, so ::($foo) right?
Xliff Yep
timotimo: Latest changes pushed. Please reload above link. 23:01
timotimo i don't actually remember how dynamic module loading works :D
Xliff Oh. LOL
Well, if you can't help any further, then thanks for trying.
timotimo where does stuff land when you 'require ::($blah)' 23:02
Xliff But basically, what I am trying to do is get all exported subs included in module "{$n}::{$cu}"
timotimo: Usually where you'd expect. 23:03
timotimo i mean, i can get stuff from %REQUIRE_SYMBOLS
but that doesn't look official :P
How does that work? 23:04
timotimo well, i see it in MY::.keys, lol
sorry, it's in ::.keys
greppable6: "require ::" 23:05
greppable6 timotimo, Found nothing!
timotimo greppable6: require ::
greppable6 timotimo, 211 lines, 72 modules: gist.github.com/94d44a9fa6340d394e...0d64df0ec6
timotimo ah 23:06
could you try dd ::("%RAW-DEFS") after requiring ::(my $o = ...)? 23:07
after i require ::("Folder::$modname") i can access ::("Florble") which is a class i got in Folder/ModA.pm6
23:08 donaldh joined
timotimo and the "our %whoop" i have i get with ::("%whoop") 23:09
Xliff ?!? 23:11
OK. That looks to have worked.
However why is that? I didn't say "is export" 23:12
timotimo shrug :P 23:13
Xliff Heh. Fair 'nuff.
23:15 donaldh left
Xliff github.com/Xliff/p6-GtkPlus/commit...f0d08306f5 23:20