🦋 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:04 BenGoldberg joined 00:09 mowcat left 00:14 AlexDaniel joined, AlexDaniel left, AlexDaniel joined
AlexDaniel Xliff: “The pieces are there to make some really nice games in Raku.” 00:17
did you mean “some really basic games”? :P
rypervenche Rosettacode has 2048, if you want to play that :D >< 00:18
guifa rypervenche: ha, you actually have an even MORE updated Exceptions file than I do lol. I found one or two more that I didn’t take care in the AST 00:19
rypervenche Yeah, I updated it today. Although it's the same as your es.rakumod, minus the ! to . changes that I made. 00:20
AlexDaniel just because something is technically possible with a lot of effort doesn't make the tool suitable for the task
guifa rypervenche: tbh, what I do is just try to compile and keep fixing the errors as I went ha. That literally dictated the first translations I did in Asturian, and those are the ones that have notes already created for them 00:21
moon-child I made a little thing in raku and c/opengl, using c for most of the graphics bits 00:25
that's probably not what you're talking about, though :)
AlexDaniel I've heard a lot of far-fetched things on this channel but Raku for game development probably takes the cake 00:27
moon-child I mean, there are the SDL&cairo bindings, and github.com/timo/gtk_cairo_shooter 00:29
AlexDaniel and you do what with it?
guifa Define game though. I’ve been working on a port of some classic text adventure games, seems to work well lol 00:30
moon-child AlexDaniel: ¯\_(ツ)_/¯
I also originally made github.com/moon-chilled/libport to call the other way, and see if I could make a game engine scripted by raku
AlexDaniel I like this comment: www.reddit.com/r/rakulang/comments...e/g6d75ld/ 00:33
it's about using words that others don't understand the same way
guifa rypervenche: use Intl::X ‘zh-TW’; sub ($a) { EVAL $a }; foo ‘say 42’; 00:34
EVAL 是很危險的函式!!! (use the MONKEY-SEE-NO-EVAL pragma to override this error but only if you're VERY sure your data contains no injection attacks).
timotimo AlexDaniel: i don't actually have the free time to do it, but godot with gdnative could be use to embed a moarvm + rakudo inside godot 00:36
00:39 xinming left, xinming joined
AlexDaniel timotimo: I mean, come on, everything is technically possible. But we can't be saying things without any honest connection with the reality. No JIT on ARM means mobile games are out, browser games via webassembly are not realistic at this moment. Even using Raku for backend of multiplayer games would be a terrible choice for performance reasons. You're left with open-source native games that don't demand performance. That's an extremely 00:56
small niche, and even there Raku would be a terrible choice because all other goddamn languages exists and work well.
moon-child isn't mvm js backend still a thing? 00:57
AlexDaniel still a thing? Was it a thing? :)
s/exists/exist/ 00:59
timotimo not mvm js 01:00
nqp js
01:05 molaf left 01:13 a3r0 left
AlexDaniel there are a lot of things that *can* be done in this world but it doesn't mean they should be done. I use Raku for real time camera motion control. Wow, Raku used for a practical real world application, right. And you know what? I regret every single line of it. Having to deal with performance and memory issues (on a system that needs to do video encoding, you know!) and not being able to increase iteration frequencies because of a 01:16
constant fear that raku itself will ruin my work (sometimes intermittently), when I could've used literally any other programming language and would've been so much happier with that particular use case. Don't tell people to write games in Raku, please.
01:18 molaf joined 01:27 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 01:28 rir left 01:46 AlexDani` joined 01:47 a3r0 joined 01:50 AlexDaniel left 01:51 ex_nihilo joined 01:53 frot-lab joined, AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined 02:03 Manifest0 left 02:05 Manifest0 joined 02:20 leont left 02:34 frot-lab left 03:34 nativecallable6 left, statisfiable6 left, bloatable6 left, linkable6 left, sourceable6 left, notable6 left, greppable6 left, quotable6 left, squashable6 left, bisectable6 left, unicodable6 left, benchable6 left, evalable6 left, coverable6 left, committable6 left, releasable6 left, shareable6 left, tellable6 left 03:35 bloatable6 joined, notable6 joined, sourceable6 joined, committable6 joined, bisectable6 joined 03:36 tellable6 joined, linkable6 joined, releasable6 joined, coverable6 joined, quotable6 joined 03:37 squashable6 joined, nativecallable6 joined, greppable6 joined, unicodable6 joined, evalable6 joined, statisfiable6 joined, shareable6 joined 03:38 benchable6 joined 03:41 ecocode left, ecocode joined 03:44 squashable6 left, squashable6 joined 03:45 squashable6 left 03:47 squashable6 joined 03:48 zacts joined 04:10 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 04:13 sjaveed left 04:14 sjaveed joined 04:17 BenGoldberg left, BenGoldberg joined 04:19 sjaveed left 04:23 BenGoldberg left 04:31 BenGoldberg joined 04:51 sjaveed joined 05:00 aborazmeh left 05:02 ex_nihilo_ joined 05:03 BenGoldberg left, BenGoldberg joined 05:05 ex_nihilo left 05:07 jmerelo joined 05:12 skids left 05:16 andrzejku joined 05:19 frot-lab joined 05:21 bocaneri joined, sjaveed left 05:25 guifa` left 05:30 bocaneri left, molaf left, bocaneri joined 05:31 bocaneri left, bocaneri joined 05:32 BenGoldberg left, bocaneri left 05:33 BenGoldberg joined, bocaneri joined 05:34 bocaneri left 05:40 BenGoldberg left, BenGoldberg joined, frot-lab left 05:48 frot-lab joined 06:02 BenGoldberg left
frot-lab Hey, I want to know how to use the packages installed by zef if I change raku'version by using the binary releases. 06:05
06:11 ufobat joined 06:21 zacts left, andrzejku left, ex_nihilo__ joined 06:23 zacts joined 06:24 ex_nihilo_ left 06:28 zacts left
jmerelo clickbaits hacktoberfest in the Rakuverse github.com/Raku/hacktoberfest 06:32
06:35 pepl joined
jmerelo frot-lab: I'm afraid you'll have to install them all over again... The process of installation of packages is version-specific, so you need to do that every time. 06:36
06:43 Altai-man joined 06:45 andrzejku joined 06:54 vgrato_ left, spycrab0 left, ThaEwat left, kiti_nomad[m] left, CIAvash left, phogg left 06:59 stoned75 joined 07:00 Sgeo left 07:03 xinming left, xinming joined
AlexDaniel jmerelo: is it? For example, rakubrew rolls over to newer versions without the need to reinstall packages 07:03
I don't know the specifics of binary releases but shouldn't it also be possible?
moreover, even if it's not possible, you can still use zef to install modules into a specific directory which you can then add to PERL6LIB 07:04
jmerelo AlexDaniel: not too familiar with rakubrew, just started using it. Anyway, frot-lab was asking about binary packages.
AlexDaniel yes, you'll need to just wait for precompilation when you update rakudo, but no need to issue install commands from scratch
but frankly I have never used binary releases so I'm talking out of my ass x) 07:05
07:07 ufobat left 07:38 m_athias left 07:45 domidumont joined 07:48 xinming left, xinming joined 07:49 dakkar joined, AlexDani` joined 07:51 AlexDaniel left 08:07 vgrato_ joined, spycrab0 joined, ThaEwat joined, kiti_nomad[m] joined, CIAvash joined, phogg joined 08:19 MasterDuke joined 08:25 squashable6 left 08:27 squashable6 joined
andrzejku I started to think 08:34
timotimo: what's a status of C++ bindings?
08:38 xinming left 08:39 xinming joined
jmerelo andrzejku:you mean, for NativeCall? 08:51
08:52 vgrato_ left, spycrab0 left, ThaEwat left, kiti_nomad[m] left, CIAvash left, phogg left 08:57 rindolf joined 09:10 vgrato_ joined, spycrab0 joined, ThaEwat joined, kiti_nomad[m] joined, CIAvash joined, phogg joined 09:27 ex_nihilo__ left 09:31 tejr left
El_Che lo 09:32
09:34 jmerelo left 09:35 Manifest0 left 09:38 Manifest0 joined 09:42 tejr joined, sena_kun joined 09:43 Altai-man left 10:06 FErki joined 10:20 vgrato_ left 10:23 jmerelo joined 10:26 xinming left 10:27 xinming joined 10:34 zacts joined
andrzejku jmerelo: yes 10:35
10:51 Altreus left, Altreus joined 10:54 dogbert17 left 11:22 stoned75 left 11:25 leont joined
jmerelo andrzejku: yep, it would be nice to have that... 11:39
11:40 xinming left, xinming joined, m_athias joined 11:52 aborazmeh joined, aborazmeh left, aborazmeh joined 11:53 xinming left 11:54 xinming joined 12:08 xinming left, xinming joined 12:10 Black_Ribbon left
tbrowder hi, my new blog site is on line at <zola-blogs.us> as a WIP. i will be fleshing it out during the next couple of days. it is not restricted to Raku but any programmer/dev type is welcome. suggestions always welcome. 12:21
it is hosted on github with markdown source so it should be easy use and update. 12:22
it is supposed to be https but cert gen is still incomplete on github side 12:25
12:34 frot-lab left
lizmat tbrowder: any idea how long that's gonna take 12:42
because accessing such a site on MacOS is a royal pain :-)
12:42 pamplemousse joined
El_Che not much there yet :) 12:48
[Coke] I have some repos that I prefaced with "p6-" to avoid confusion with their p5 counterparts. best practice going forward? no prefix? switch to raku? 12:57
e.g.: github.com/coke/p6-unicode-mangler (also regretting the name mangler now. :) 12:58
elcaro [Coke]: I use `raku-`. I previously used `p6`, but not just to avoid p5 confusion, but maybe one day I might want to publish a python library of the same name, who knows
lizmat I guess if you still also have Perl repoes, prefix with raku
13:02 skids joined, xelxebar left 13:03 xelxebar joined 13:04 stoned75 joined 13:07 Altai-man joined 13:10 sena_kun left, sno left
[Coke] is it critical to update ecosystem file or is the github redirect fine-ish? 13:10
13:11 xinming left 13:13 xinming joined, skids left
lizmat fine-ish for the interim, but I would definitely update the ecosystem 13:13
13:15 jmerelo left 13:21 __jrjsmrtn__ joined 13:22 _jrjsmrtn left
tbrowder lizmat: what would it take to ease the pain? 13:22
or are you referring to https? 13:23
lizmat get the certificate working ?
yes
13:23 sno joined
tbrowder oh, github says 24 hr, so hopefully later today 13:24
lizmat I can wait for that :-)
tbrowder if i don't see any change by late pm i'll check with github support. i don't remember exactly when i went "live" but it was maybe 2300 yr time yesterday 13:26
Geth ecosystem: coke++ created pull request #546:
track rename
13:39
13:39 pamplemousse left
[Coke] wrote github.com/coke/raku-cal 4 years ago and forgot about it, apparently. 13:39
timotimo needs monday as first day of week :) :) 13:41
[Coke] timotimo: EW
but sure, as an option.
open an issue? :)
timotimo no, WE, as in weekend
13:42 sena_kun joined 13:43 Altai-man left 13:48 Doc_Holliwould left 13:53 pamplemousse joined 14:01 xinming left 14:04 xinming joined 14:09 pepl left 14:20 aluaces left 14:22 andrzejku left 14:26 andrzejku joined 14:27 xinming left 14:28 FErki left 14:31 xinming joined 14:32 ufobat joined 14:35 pamplemousse left, pamplemousse joined 14:40 Doc_Holliwould joined 14:41 aluaces joined 14:52 Sgeo joined 15:05 aborazmeh left 15:09 pamplemousse left 15:14 Doc_Holliwould left, molaf joined
[Coke] :) 15:15
15:19 MasterDuke left 15:23 jmerelo joined 15:25 domidumont left 15:26 xinming left, xinming joined 15:32 skids joined 15:33 xinming left 15:34 xinming joined 15:37 pepl joined 15:39 zacts left 15:40 zacts joined, pepl left
guifa [Coke]: even better, use Intl::CLDR and figure out what the first day of the week is based on the current locale :-) 15:44
15:46 xinming left 15:48 xinming joined 15:54 xinming left 15:55 xinming joined
[Coke] guifa: added github.com/coke/raku-cal/issues/2 15:57
guifa: is that data *in the module itself* or is it being pulled in from an external source? 16:03
tadzik was hacktoberfest always this spammy? 16:05
I saw people complaining first thing in the morning today, but only now I see the full onslaught
[Coke] I recall squashathons being very chatty - but the up side is that we get more people involved. 16:10
timotimo where are people complaining? 16:12
tadzik timotimo: take a look at twitter.com/shitoberfest/
jmerelo I'm all for squashathongs
tadzik and 300,000 PRs matching "improved docs": github.com/search?o=desc&q=is%...ype=Issues
jmerelo Er. Tons.
tadzik perl6/book got hit too 16:13
timotimo oh my
jmerelo But let me remind you we have created a place for all your beginner-friendly issues here github.com/Raku/hacktoberfest 16:14
timotimo is perl6/book now too outdated to be useful?
tadzik I doubt it, but you probably have to read it with a grain of salt
timotimo we do have recently written books by now, too :) 16:15
16:18 mowcat joined, mowcat left
[Coke] guifa: gist.github.com/coke/6f12b80b10b1f...835a95fe52 - failure installing that module 16:20
16:24 xinming left 16:25 xinming joined 16:29 MilkmanDan left 16:31 MilkmanDan joined 16:36 pamplemousse joined 16:38 dakkar left 16:58 kylese joined 17:03 xinming left
timotimo tadzik: i'm proud that i got my very own spamtoberfest PR 17:03
17:05 zacts left 17:07 approaching236 joined 17:12 natrys joined 17:13 xinming joined
tadzik timotimo: nice :) 17:28
is it an "awesome project" PR?
17:29 xinming left, xinming joined
lizmat weekly: www.codesections.com/blog/raku-manifesto-2/ 17:30
notable6 lizmat, Noted! (weekly)
tadzik the perl6/book one already got wiped it seems 17:32
lizmat yeah, that's the one that confused me... because the link in your tweet was dead :-)
17:34 Doc_Holliwould joined 17:37 jmerelo left
tadzik ah rip 17:37
I should have screen-shat it
17:38 pamplemousse left 17:41 Altai-man joined 17:42 pamplemousse joined
tadzik github.com/PerlDancer/advent-calen...l/44/files hurts to read 17:42
17:43 sena_kun left
timotimo tadzik: nope, it's a "this project is based on c++ language" PR 17:50
17:51 xinming left 17:53 xinming joined, pamplemousse left
tadzik heh 17:58
17:58 ufobat_ joined 18:00 spycrab0 left, ThaEwat left, kiti_nomad[m] left, CIAvash left, phogg left 18:01 ufobat left 18:02 xinming left 18:03 xinming joined
timotimo it also says in the "about" thingie that is part of the github repo itself that it's c++ 18:03
but the project did not have a readme so far
which isn't great! 18:04
18:14 andrzejku left 18:27 xinming left 18:29 MasterDuke joined 18:30 xinming joined 18:46 pamplemousse joined 18:47 xinming left, spycrab0 joined, ThaEwat joined, kiti_nomad[m] joined, CIAvash joined, phogg joined, xinming joined
[Coke] so far every "this PR for hacktoberfest is bad" link I've clicked on is a 404 on github 18:53
which means it was not just rejected but outright deleted, right? 18:54
18:57 pamplemousse left
tadzik yes 18:59
the spam reports must be working
19:02 xelxebar left, xelxebar joined 19:06 xinming left 19:08 xinming joined 19:19 approaching236 left
AlexDani` squashathons were nice but they were a bit too often 19:22
19:22 AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined
AlexDaniel also I wish core devs participated in them more 19:22
19:25 grep0r joined 19:29 pamplemousse joined 19:34 pamplemousse left
timotimo i'm definitely guilty of being a "core dev who has not participated enough" 19:34
19:39 Black_Ribbon joined
AlexDaniel it's just hard to kickstart them sometimes. If no one is doing a lot of contributions then others are also unlikely to participate 19:40
El_Che github.blog/2020-09-30-code-scanni...available/ 19:45
sadly not raku yet, but still nice
as far as I can see it's based on codeql and thus C/C++, C#, Go, Java. JS. Python 19:46
[Coke] should we put MoarVM under the scope?
El_Che I am looking how public it is 19:47
for my own repos
19:49 ufobat_ left, skids left
El_Che it's running now 19:50
just looking if it publishes what it found
it didn't find any :) 19:52
but it does nog look public, so thatś good
(I guess it's easier to shoot yourself in the foot with C than Go :) 19:53
)
MasterDuke i tried enabling it for my moarvm fork. it didn't find anything (assuming i set it up correctly) 19:54
[Coke] MasterDuke++ 19:58
20:01 Zero_Dogg joined
El_Che MasterDuke: impressive 20:06
rename your fork to moarvm-safe 20:07
:)
timotimo .o( we should run coverity scan again ) 20:09
20:16 xinming left 20:17 xinming joined 20:18 stoned75 left
Zero_Dogg How would I go about assigning a property of an object, when the name of the property is in a variable? Ie. given object $a with a property foo, and $prop = 'foo', I'd like to do something like $a.$prop = something 20:18
20:19 rindolf left 20:20 kylese left
MasterDuke m: class A { has $.a = 4 }; my $a = A.new; my $prop = "a"; say $a."$prop"() 20:20
camelia 4
20:22 xinming left, pamplemousse joined
Zero_Dogg MasterDuke: thanks. What should I read to understand why quoting makes it work? 20:22
MasterDuke good question. dunno 20:23
Zero_Dogg hehe :)
20:24 stoned75 joined
MasterDuke docs.raku.org/language/packages#In...into_names 20:25
20:25 xinming joined
Zero_Dogg MasterDuke: thanks! :) 20:28
MasterDuke np
20:32 approaching236 joined
guifa [Coke]: both. Data is self-contanied in the module, Although actually look at it now, I the start-of-week is in supplemental, so I need to manually add it and I haven’t done that yet. Ooops 20:40
20:40 dataangel left
[Coke] guifa: any guidance on test failurs? 20:41
*failures
guifa [Coke]: Looking at that now.
I’ve been doing some fairly large refactoring and I may have been overzealous somewhere with edits
Aah, META6.json I think. I moved Intl/Numbers/NumberFinder into Intl/Token/Number 20:44
21:18 pamplemousse left, pamplemousse joined 21:27 skids joined 21:32 pamplemousse left 21:41 sena_kun joined 21:43 Altai-man left
[Coke] when running 'zef test .' in a module you're working on, is there a way to say "don't use the installed version of anything META6.json says it provides" ? (ugexe) 21:43
Geth doc: mendel++ created pull request #3659:
Documenting the special syntax for initialising the single public attribute of a role in runtime mixin
21:48
21:49 stoned75 left 22:07 xinming left 22:08 xinming joined 22:16 xinming left, xinming joined 22:18 natrys left 22:22 xinming left 22:24 xinming joined 23:10 perlmaros left 23:21 pamplemousse_ joined 23:24 pamplemousse_ is now known as pamplemousse, cpan-raku left 23:25 cpan-raku joined, cpan-raku left, cpan-raku joined 23:34 guifa left 23:47 xinming left 23:51 xinming joined 23:54 spycrab0 left, ThaEwat left, kiti_nomad[m] left, CIAvash left, phogg left