🦋 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:11 nativecallable6 left, bloatable6 left, statisfiable6 left, benchable6 left, committable6 left, evalable6 left, releasable6 left, coverable6 left, notable6 left, shareable6 left, linkable6 left, quotable6 left, unicodable6 left, tellable6 left, squashable6 left, sourceable6 left, greppable6 left, bisectable6 left 00:12 greppable6 joined, bloatable6 joined, tellable6 joined, committable6 joined, shareable6 joined, evalable6 joined, sourceable6 joined, releasable6 joined, notable6 joined, coverable6 joined 00:13 benchable6 joined, unicodable6 joined, statisfiable6 joined 00:14 linkable6 joined, bisectable6 joined, quotable6 joined, squashable6 joined, nativecallable6 joined 00:27 gordonfish left 00:36 xinming left 00:37 xinming joined 01:09 vike left 01:20 holli__ left 01:21 _jrjsmrtn joined 01:23 __jrjsmrtn__ left 01:26 xinming left, xinming joined 01:35 xinming left 01:36 xinming joined 01:49 leont left
tbrowder timotimo: yr definitely saturday night live talent waiting to be discovered :-D 01:56
02:02 Manifest0 left 02:04 Manifest0 joined 02:19 gordonfish joined 02:41 codesections joined 02:49 vike joined 03:12 codesections left 03:14 codesections joined 03:45 epony left 03:47 stanrifkin joined 03:48 stanrifkin left 03:58 kent\n left 03:59 kent\n joined 04:08 zacts joined 04:15 dmc00 left 04:42 epony joined 05:06 skids left 05:14 abraxxa left 05:17 abraxxa joined 05:55 bocaneri joined 05:58 xinming_ joined 06:01 xinming left 06:03 bocaneri left, bocaneri joined 06:26 jmerelo joined 06:30 Altai-man joined
jmerelo Hey, Altai-man 06:31
Do you think we cound do a Blin run "hacktoberfest edition" to give a little love to failing distributions?
Altai-man jmerelo, how so? The modules failing are more are less stable and most of them are either beyond broken and need to be rewritten or have PRs, but authors have abandoned. 06:36
jmerelo Altai-man: all 308 of the Always Fail? It's true that I've made a few PRs for "MissingDependency" with little success... 06:37
Altai-man: some of them are even community-maintained modules... 06:40
06:42 rindolf joined
Altai-man jmerelo, not sure about all of them. I have to do number of things now, so after some hours will be available. 06:46
jmerelo Altai-man: thanks! 06:49
Also, hacktoberfest is now opt-in only hacktoberfest.digitalocean.com/hac...est-update You need to add the "hacktoberfest" topic to the repository if you want PRs done to it to count. 06:53
06:54 andrzejku joined 07:05 sftp left 07:06 sftp joined 07:16 xinming_ left, xinming_ joined 07:17 wamba joined 07:19 zacts left, wamba left 07:21 bocaneri left 07:24 bocaneri joined 07:32 bocaneri left 07:38 kiti_nomad[m] left 07:39 kiti_nomad[m] joined 07:47 bocaneri joined 07:59 holli__ joined 08:33 xinming_ left 08:34 Grinnz left 08:35 xinming_ joined, Grinnz joined 08:36 peteretep left 08:37 peteretep joined 08:38 Black_Ribbon left, corkscrew joined, dog_star left, perryprog_ left, dog_star joined 08:39 corkscrew is now known as protium, perryprog joined
Altai-man releasable6, satatus 08:43
releasable6 Altai-man, I cannot recognize this command. See wiki for some examples: github.com/Raku/whateverable/wiki/Releasable
Altai-man releasable6, status
releasable6 Altai-man, Next release in ≈21 days and ≈10 hours. There are no known blockers. 0 out of 8 commits logged
Altai-man, Details: gist.github.com/89dd07e1b9f22bb040...e6c58f7975
jmerelo yay! 08:45
08:46 vike left 08:57 xinming_ left, xinming_ joined 09:10 vike joined 09:15 MasterDuke joined 09:22 andrzejku left 09:30 domidumont joined 09:32 aborazmeh joined, aborazmeh left, aborazmeh joined 09:42 sena_kun joined 09:43 Altai-man left
Geth ecosystem/JJ-patch-1: f389b39674 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Adds Dist::META to ecosystem

A distribution that offers an unified API to dependencies (for the time being)
09:44
ecosystem: JJ++ created pull request #552:
Adds Dist::META to ecosystem
10:07 jmerelo left 10:14 andrzejku joined 10:42 Sgeo left 10:49 xinming_ left, xinming_ joined 11:02 tejr left, tejr joined 11:12 leont joined 11:15 xinming_ left, xinming_ joined, gugod left 11:19 gugod joined 11:48 abraxxa left
tbrowder .ask codesections are you using the netlify free account? 11:58
tellable6 tbrowder, I'll pass your message to codesections
12:34 mowcat joined
tbrowder .ask moritz does yr new printed book price include the ebook? 12:51
tellable6 tbrowder, I'll pass your message to moritz
12:54 Xliff left 13:10 kylese joined 13:22 xinming_ left 13:23 xinming_ joined 13:35 raku-bridge left 13:36 raku-bridge joined, raku-bridge left, raku-bridge joined 13:38 moony left 13:39 moony joined 13:41 Altai-man joined 13:43 sena_kun left 13:57 ggoebel joined 13:58 aborazmeh left 13:59 dogbert17 joined
ggoebel .tell pamplemousse I wrote a blog a couple weeks back about installing raku for contributors. I.e. forking your own repo's, etc. Could be useful for the raku users group meeting. ergoletterbag.blogspot.com/2020/09...ng-up.html 13:59
tellable6 ggoebel, I'll pass your message to pamplemousse
ggoebel it could probably use a review and recommendations for improvements... 14:00
kind of sad in that I haven't contributed much... but figured it might help others get over the initial hump 14:01
codesections tbrowder: I used to, but I switched to just running it as a static site via nginx. I blogged about that a bit here www.codesections.com/blog/leaving-netlify/ 14:05
tellable6 2020-10-03T11:58:02Z #raku <tbrowder> codesections are you using the netlify free account?
14:06 andrzejku left
tbrowder thnx, are your load times ok in africa? 14:18
14:32 kylese left
codesections they're… ok, I guess. Not great -- certainly not as good as if I used a CDN. For my homepage: ~2.3s for a first view; < 0.1 for repeat views. (But my server is on the west cost of the US, so I could improve that a lot just by moving it east or to Europe) 14:36
www.webpagetest.org/result/201003_...f7aab97e4/
(The equivalent numbers for google.com are ~2.4s and ~2.3s for first & repeat views. Given that they're presumably using the best CDN money can buy, I feel reasonably OK with my load times. www.webpagetest.org/result/201003_...fe7ec0bd/) 14:42
(On the other hand, they're loading so much JavaScript that they're transmitting literally 100× as many bytes as I am, so they do start with a bit of a disadvantage. On the third hand, though, they have < 20 visible words and I'm not at all confident that much of that JS is for the user's benefit. So I'm not really inclined to cut them much slack for that self-imposed page weight) 14:46
14:52 mowcat left 14:53 andrzejku joined
moritz tbrowder: no idea, sorry 14:54
tellable6 2020-10-03T12:51:29Z #raku <tbrowder> moritz does yr new printed book price include the ebook?
15:11 rir joined 15:14 leont left 15:40 andrzejku left 15:43 dylanwh left, dylanwh joined 15:44 mowcat joined 15:45 jhill left 15:46 rindolf left 15:47 jhill joined 15:52 rindolf joined 16:14 abraxxa joined 16:15 abraxxa1 joined 16:18 abraxxa left 16:19 abraxxa1 left 16:20 abraxxa joined
Geth ecosystem: f389b39674 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Adds Dist::META to ecosystem

A distribution that offers an unified API to dependencies (for the time being)
16:21
ecosystem: 180db515a7 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #552 from Raku/JJ-patch-1

Adds Dist::META to ecosystem So here you go. It's one of the only modules, META6, that's already stored in the docker container, and whose version was older, so the new version needs to be specified. Here's a lesson for you. For me, in this case.
16:36 codesections left 16:38 Black_Ribbon joined, codesections joined
tbrowder codesections: i just chopped 8 sec load time off my main web-site by commenting out some old crufty internal junk. load time now about 2.5 sec 16:53
seems like a race car compared to a cement mixer 16:55
17:00 molaf joined 17:02 abraxxa left 17:12 colomon_ joined
colomon_ Hey gang — what’s the current state of the art for a Raku GUI interface? 17:13
17:13 raku-bridge left
moritz dunno if we have something better than GTK::Simple? 17:21
also, long time no see colomon_ (except on twitter :D )
17:22 cpan-raku left 17:24 domidumont left 17:25 cpan-raku joined, cpan-raku left, cpan-raku joined, hythm joined
colomon_ hello moritz++! 17:28
hythm hi, is it possible to dispatch a multi method based on an attribute value of the class?
something like: class C { has $.name = 'a'; multi method m ( ::?CLASS:D.name ~~ 'a' ) { say 'a' } }
17:29 mowcat left
moritz hythm: do you want to dispatch on the attribute of an argument, or based on the attribute of self? 17:33
17:33 hythm_ joined
hythm moritz, the attribute of self 17:33
colomon_ wanders off to look at installing GTK on OS X…. 17:36
moritz hythm: sounds like a very wonky way to do polymorphism :D
m: class A { has $.name; multi method bark(self where {.name eq 'fido'}:) { say "worf" }; multi method bark() { say "woof } }; A.new(name => 'fido').bark 17:38
camelia 5===SORRY!5=== Error while compiling <tmp>
Invalid typename 'self' in parameter declaration.
at <tmp>:1
------> 3s A { has $.name; multi method bark(self7⏏5 where {.name eq 'fido'}:) { say "worf"
moritz m: class A { has $.name; multi method bark(\self where {.name eq 'fido'}:) { say "worf" }; multi method bark() { say "woof } }; A.new(name => 'fido').bark
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in double quotes; couldn't find final '"' (corresponding starter was at line 1)
at <tmp>:1
------> 3ay "woof } }; A.new(name => 'fido').bark7⏏5<EOL>
expecting …
moritz m: class A { has $.name; multi method bark($self: where {.name eq 'fido'}) { say "worf" }; multi method bark() { say "woof } }; A.new(name => 'fido').bark 17:40
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot do non-typename cases of type_constraint yet
at <tmp>:1
------> 3thod bark($self: where {.name eq 'fido'}7⏏5) { say "worf" }; multi method bark() {
17:42 sena_kun joined 17:44 Altai-man left
hythm "sounds like a very wonky way to do polymorphism :D" I agree. just wondering if its possible and if so, how. 17:44
17:49 hythm_ left 17:50 hythm_ joined 17:52 hythm_ left
jdv79 m: $_ = DateTime.now; .say; $_+=Duration.new(0.000001); .say 17:53
camelia 2020-10-03T19:53:55.010089+02:00
2020-10-03T19:53:55.010091+02:00
jdv79 there seems to be some sort of rounding/precision type issue there 17:54
also happens with Duration.new()
m: $_ = DateTime.now; .say; .Instant.say; 17:57
camelia 2020-10-03T19:57:17.278887+02:00
Instant:1601747874.278887
jdv79 m: $_ = DateTime.now; .say; .Instant.say;
camelia 2020-10-03T19:57:21.706035+02:00
Instant:1601747878.706034
moritz I believe it's stored as a floating point value
jdv79 i would think that's a bug, no? 17:58
i don't see a ticket about it on a quick skim 18:02
that actually might explain some bizarre conditions i've been seeing lately based on intants and datetimes.
*instants 18:03
bbl though &
18:04 hythm left 18:43 skids joined
[Coke] uses Raku to solve one of "Matt Parker's Maths Puzzles", whee 18:57
19:27 xinming_ left 19:29 xinming_ joined 19:31 Sgeo joined, codesections left 19:34 xinming_ left 19:36 xinming_ joined 19:39 codesections joined 19:40 patrickb joined
patrickb o/ 19:40
ping rba
19:52 xinming_ left 19:54 xinming_ joined 20:00 tejr left 20:01 tejr joined 20:04 patrickb left, melezhik joined 20:06 xinming_ left, xinming_ joined
melezhik .tell jemerelo: "to give a little love to a failing distributions" you can use RakuDist for that 20:07
tellable6 melezhik, I haven't seen jemerelo around, did you mean jmerelo?
melezhik .tell jmerelo: "to give a little love to a failing distributions" you can use RakuDist for that 20:09
tellable6 melezhik, I'll pass your message to jmerelo
20:09 melezhik left 20:12 patrickb joined, patrickb left 20:15 mojca_ joined, mojca_ left 20:17 ngoomie joined
rypervenche How does one write to $*OUT? I tried writing a string to it with spurt, but no go. 20:18
moon-child m: $*OUT.say: 'hi' 20:19
camelia hi
rypervenche Oh, derp. Right, it's a handle.
moon-child m: $*OUT.write: 'hi'.encode
camelia hi
moon-child can also ^^ for Blob 20:20
rypervenche Thank you much. :) 20:21
20:27 xinming_ left, xinming_ joined 20:41 codesections left 20:42 codesections joined 20:46 molaf left, molaf joined 20:52 abraxxa joined, abraxxa left 21:06 rbt joined 21:14 rindolf left 21:26 xinming_ left, xinming_ joined 21:38 molaf left, sena_kun left 21:47 sno left 21:49 sno joined 22:11 xinming_ left 22:19 xinming_ joined 22:26 xinming_ left 22:27 xinming_ joined 22:33 mowcat joined
colomon_ Anyone have a notion how to deal with Cannot locate native library '(null)': dlopen(libgtk-3.dylib, 10): image not found from trying to run GTK:SImple? I have DYLD_LIBRARY_PATH as /usr/local/lib:/usr/lib/:/opt/local/lib and libgtk-3.dylib in /opt/local/lib 23:02
Rakudo is 2019.11
MasterDuke colomon_: i don't know anything about NativeCall, but maybe run under strace to see what file isn't being found? 23:09
23:12 tejr left 23:13 tejr joined 23:16 tejr left 23:18 tejr joined
colomon_ MasterDuke: excellent idea, but I’m on MacOS, and apparently Apple borked dtrace in the name of greater security. :\ 23:20
timotimo at least on linux, ld has its own debug env vars 23:31
LD_DEBUG=files or libs could be interesting 23:33
hm, if we even go through ld to do the thing with dynload or whatever it is we use
23:36 dmc00 joined
colomon_ oh, I think maybe MacOS also borked DYLD_* environent variables? scratching my head now… 23:38
timotimo does ltrace exist?
colomon_ don’t think so? 23:41
I’ve gotten beyond the last error by copying (sigh) libgtk-3.dylib to /usr/local/lib
now I get a new set of errors...
still getting a warning message: dbus[80687]: Dynamic session lookup supported but failed: launchd did not provide a socket path, verify that org.freedesktop.dbus-session.plist is loaded! 23:42
but after copying libgobject-2.0.dylib to /usr/local/lib as well, the first GTK::Simple example does run 23:43
23:43 afresh1 left
colomon_ Well, I guess I do have GTK::Simple working at this point. Can try to figure out how to use it later. 23:47
23:50 afresh1 joined
colomon_ (Also broke TextMate in the process of trying to fix GTK::Simple, but I quickly sorted that one, I think.) 23:53