00:14 jpn left 00:43 MasterDuke joined 00:55 jpn joined 01:01 jpn left 01:19 hulk joined 01:21 kylese left 01:28 bloatable6_ joined, unicodable6_ joined, nativecallable6_ joined, evalable6_ joined, squashable6 joined, coverable6_ joined, releasable6_ joined 01:29 bloatable6_ left, unicodable6_ left, releasable6_ left, coverable6_ left, evalable6_ left, squashable6 left, nativecallable6_ left 01:30 tellable6_ joined, committable6_ joined, shareable6_ joined, sourceable6_ joined, statisfiable6 joined 01:31 linkable6_ joined, nativecallable6_ joined, quotable6_ joined, benchable6_ joined, unicodable6_ joined, notable6_ joined 01:32 evalable6_ joined, greppable6_ joined, squashable6 joined, bloatable6_ joined, releasable6_ joined, coverable6_ joined, bisectable6_ joined 01:33 reportable6 joined 01:40 evalable6_ left 01:41 evalable6_ joined 01:50 jpn joined 01:54 jpn left 02:15 hulk left, kylese joined 03:11 jpn joined 03:16 jpn left 03:58 MasterDuke left 04:12 jpn joined 04:17 jpn left 04:19 simcop2387 left, simcop2387 joined 05:00 lizmat__ joined 05:03 bdju left, lizmat left 05:05 bdju joined 05:09 bdju left 05:10 bdju joined 05:13 jpn joined 05:19 jpn left 05:30 Sgeo left 05:53 lizmat joined 05:57 lizmat__ left 06:00 reportable6 left 06:02 reportable6 joined 06:10 xkr47 is now known as xkr947 06:14 jpn joined 06:20 jpn left 06:27 jpn joined 06:31 abraxxa joined 06:39 jpn left 06:43 jpn joined 06:48 jpn left, silug left 06:53 lizmat_ joined, haxxelotto joined 06:56 lizmat left 07:06 jpn joined 07:26 silug joined 07:33 jpn left 07:35 xinming left 07:37 xinming joined 08:14 dakkar joined 08:30 lizmat_ left 08:31 lizmat joined 08:48 sena_kun joined 09:20 jpn joined 11:35 kylese left 11:43 jpn left 11:45 kylese joined 12:00 reportable6 left 12:01 reportable6 joined 12:08 jpn joined 12:10 abraxxa left 12:14 jpn left 12:16 abraxxa joined 12:20 jpn joined 12:23 Xliff joined
Xliff \o 12:23
Good morning!
Can you dynamically create a class with a given .^mro? 12:24
lizmat I wouldn't be surprised if Inline::Perl5 had examples of that 12:31
greenfork Will the new version of Rakudo be released that works with Red? 12:43
SmokeMachine greenfork: main rakudo works with Red… 12:44
But I agree a new release could be made… 12:45
greenfork SmokeMachine: Alright, thanks! I thought it is strange that the latest release of Rakudo doesn't work with Red, while Red says "Please update your Raku to use Red.", so it is a bit confusing 12:46
12:46 lizmat_ joined
[Coke] Did we figure out why blin didn't catch the issue? does Red need more tests? 12:46
SmokeMachine In this case you need to update to a non released version of rakudo… :( 12:47
lizmat_ we're very close to a 2024.04 release: scheduled for the 25th
so one week from now 12:48
greenfork Sounds reasonable to wait one week 12:49
SmokeMachine [Coke]: that’s really a good question… but I don’t think missing tests on Red was the one (but there are tests missing on Red)… but the problem was discovered by Red’s test… almost all tests on Red were failing…
12:49 lizmat left 12:50 lizmat_ left, lizmat joined
SmokeMachine lizmat_: couldn’t we have a 2024.04.1? But yes, 1 week may not be much to it… 12:50
tellable6 SmokeMachine, I'll pass your message to lizmat_
tellable6_ SmokeMachine, I'll pass your message to lizmat_
lizmat whee two tellables! 12:51
tellable6 2024-04-18T12:50:50Z #raku <SmokeMachine> lizmat_: couldn’t we have a 2024.04.1? But yes, 1 week may not be much to it…
tellable6_ 2024-04-18T12:50:51Z #raku <SmokeMachine> lizmat_: couldn’t we have a 2024.04.1? But yes, 1 week may not be much to it…
[Coke] Is red run by the pre-release blin tests? 12:52
SmokeMachine I think more important than releasing a new version for that problem would be to find out why that wasn’t discovered before the release…
[Coke] (I never was able to get blin running in docker on my mac, sadly)
SmokeMachine [Coke]: I don’t know, but I really how it is… I know that it already got problems on Red before… 12:53
greenfork On Windows, what is the difference between raku.exe and rakuw.exe? Which one would I run for an SDL application like a game in Pop? 12:55
lizmat if I remember correctly, one of them doesn't open a window, and the other one dies 12:56
*does
lizmat hasn't used Windows for 23+ years now 12:57
patrickb Green fork: Rakuw.exe won't open a console window. Stdin and out are not connected. when using it make sure you don't use the handles. 13:00
raku.exe will open a console window.
greenfork Thank you! I will need rakuw.exe then 13:01
patrickb technically raku.exe has application type set to "console" while rakuw.exe to "windows"
Be careful with the STD handles. If you manage to write to them the app will insta die. 13:02
I seem to recall that there are mechanisms in place that will noop say / note and the likes, but it's not foolproof. 13:03
greenfork Have you had any luck running Windows version of Raku on Linux with Wine? 13:05
I don't seem to be able to run Hello, World! with raku.exe
ceux why would you run rakuw on wine LOL 13:06
greenfork To test that it works on Windows without a Windows machine 13:07
ceux i don't trust wine enough to do that. TBH...
greenfork It's better than nothing. Last time it catched \r\n vs \n bugs, and a strange font rendering issue. I did a game in Janet then 13:09
ceux greenfork: just download a windows vm. 13:10
developer.microsoft.com/en-us/wind...-machines/
greenfork Maybe I should 13:11
13:13 Sgeo joined
patrickb greenfork: there are some docs in github.com/rakudo/rakudo/blob/main...README.txt I have the vague feeling that it's not up-to-date though. No word about STD handles being disabled. 13:22
greenfork patrickb: Thank you, I found explanations in README.txt: **WARNING** These _non-console_ applications do not have their `STDIN`, `STDOUT` and `STDERR` attached. Trying to write to these handles will cause the application to abort. 13:49
13:58 discord-raku-bot left 13:59 lizmat_ joined 14:01 discord-raku-bot joined 14:03 lizmat left
patrickb I think there is some code in rakudo that disables writes to the handles. I'll see if I can find the commit. 14:13
14:43 jpn left 14:45 jpn joined 16:05 jpn left 16:32 dakkar left 17:03 haxxelotto left 17:11 tjr left 17:14 haxxelotto joined 17:32 lizmat_ left, lizmat joined 18:00 reportable6 left 18:02 reportable6 joined 18:41 TieUpYourCamel left 19:21 abraxxa left 19:22 haxxelotto left 19:57 jpn joined 20:01 jpn left
librasteve o/ 20:18
anton: thanks for the quick fix on Chemistry::Stoichiometry! (sorry for slow reply ... $day-job!) 20:19
coke: thanks for your feedback on the length / flags around the .pm deprecation message ... not sure if this was addressed yet, please let me know if I should eg post an issue on rakudo/rakudo? 20:22
20:25 haxxelotto joined 21:24 Maylay left 21:27 Maylay joined 22:02 lizmat_ joined 22:06 lizmat left
Xliff For those who can log in to repl.it, here is the result of my experiment with dynamic class making: replit.com/@Xliff/PlumpDapperRepository 22:06
22:11 bdju left
Xliff Can someone tell me why my sub EXPORT symbol 'D' isn't getting picked up by the consuming script here: replit.com/@Xliff/PlumpDapperRepos...#main.raku 22:17
Oh wow, I had to add "returns Hash" and return a Hash instead of a Map 22:19
... OK
ab5tract Xliff: it appears that your links are visible even without a login, which is breath of fresh air 22:27
were you using `%()` as the return "wrapper" prior to using `returns Hash`? 22:29
Xliff No. I was using Map.new
ab5tract gotcha
Xliff ab5tract, And you're right. That is good news. I use repl.it for testing my wild theories all of the time and it hurts when I want to share when it's held captive by a login. 22:30
ab5tract that's pretty surprising
the Hash vs Map thing
Xliff Yeah. Was to me, but I couldn't get it to work with: 'sub EXPORT { Map.new( D => obj ) }' 22:31
ab5tract repl.it is pretty great stuff
Xliff Yeah.
The only way I know to check on situations where you NEED a separate module to illustrate an issue... like now.
ab5tract even better knowing that one can share so easily
Xliff: this is as dynamic as I've ever gotten when it comes to EXPORT : github.com/finanalyst/GTK-Simple/c...0c315116a1 22:35
Xliff Is EXPORT::subs documented anywhere? 22:36
ab5tract The pattern must be documented somewhere, or I couldn't have discovered it... 22:38
Xliff Or is that package level module that is basically EXPORT::<tag>
ab5tract that's exactly right
Xliff Hmm...
So I could have a module EXPORT::DEFAULT?
ab5tract I believe so, yeah
Xliff Hmmm... that gives me ideas. TIMTOWTDI! 22:39
ab5tract I wish this were a bit more self-documenting: github.com/Raku/roast/blob/ea4e74b...port.t#L53 22:42
22:45 jpn joined 22:50 jpn left 22:57 lizmat joined 23:00 lizmat_ left
tonyo if you're exporting as default then you can get at it with &YourMod::EXPORT::DEFAULT::sub 23:28
if you're exporting as something else then the keys in YourMod::EXPORT::.keys will be different
23:29 haxxelotto left 23:31 ttyyls left, lizmat_ joined 23:35 lizmat left, lizmat__ joined 23:38 lizmat_ left, lizmat joined 23:42 lizmat_ joined, lizmat__ left 23:45 lizmat__ joined 23:46 lizmat left 23:48 lizmat joined 23:49 lizmat_ left 23:50 ttyyls joined 23:51 lizmat_ joined 23:52 lizmat__ left 23:53 kotrcka joined 23:55 sena_kun left, lizmat left 23:56 tjr joined