🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Logs available at irclogs.raku.org/raku-dev/live.html | For MoarVM see #moarvm
Set by lizmat on 8 June 2022.
00:07 reportable6 left 00:08 reportable6 joined
SmokeMachine vrurg_: no, I’m surprised with the id of a block changing because of a assuming 00:49
vrurg_ SmokeMachine: then I have bad news for you. assuming is unreliable in many ways. It re-assembles the code by EVALing newly generated wrapper. 00:50
Hence the new id.
00:50 vrurg_ is now known as vrurg
vrurg You get a new routine in place of the original one. 00:50
SmokeMachine But shouldn’t it only “mess” with the returned routine? And let the original one alone? 00:52
Why would assuming change anything on the original routine? 00:53
m: my &bla := -> $a, $b, $c {}; say bag ^50 .map: { my $id = &bla.id; &bla.clone.assuming: 1; $id} # let me try cloning it… 00:54
camelia Bag(6373731752024(2) 6373797087424(47) 6373874660704)
vrurg SmokeMachine: I can't at the moment tell you what exactly happens inside assuming. And neither have time to look into it. Besides, it will be changed with something more sensible when RakuAST comes. 00:58
SmokeMachine I’m not testing the id of the returned Code, but the original’s one
vrurg Until then I wouldn't rely on it much. It's a huge performance killer too.
The ID is, actually, nothing but address of the actual bytecode. Guess, same warning as to .WHERE applies: you can't rely on it. 00:59
SmokeMachine vrurg: yes… I saw that taking very long to run for a very small number of times on my tests…
I get the same behaviour with .WHERE… 01:00
vrurg Objects are moving in memory. Perhaps .WHICH is what you better use? 01:01
It is using objectid which doesn't depend on the actual allocation.
Anyway, have to do my job now. 01:02
SmokeMachine I think that’s very odd… it has an id, then I call assuming once, it changes the id… then I call it again, it maintains the id, if I call it again, it changes again and maintains that no meter how many times I call it again…
Thanks!
I think I’ll wait for RakuAST for that too… 01:03
Good night
01:14 frost joined 02:18 committable6 left, evalable6 left, bisectable6 left, linkable6 left, coverable6 left, quotable6 left, statisfiable6 left, tellable6 left, sourceable6 left, notable6 left, benchable6 left, bloatable6 left, greppable6 left, reportable6 left, shareable6 left, unicodable6 left, releasable6 left, nativecallable6 left 02:19 bisectable6 joined, unicodable6 joined, greppable6 joined, statisfiable6 joined, coverable6 joined, quotable6 joined, nativecallable6 joined, reportable6 joined 02:20 linkable6 joined, sourceable6 joined, committable6 joined, bloatable6 joined, evalable6 joined 02:21 shareable6 joined, benchable6 joined, tellable6 joined 02:22 releasable6 joined, notable6 joined 04:24 bloatable6 left, coverable6 left, reportable6 left, evalable6 left, greppable6 left, nativecallable6 left, releasable6 left, benchable6 left, sourceable6 left, bisectable6 left, shareable6 left, committable6 left, quotable6 left, statisfiable6 left, unicodable6 left, notable6 left, tellable6 left, linkable6 left, shareable6 joined 04:25 committable6 joined, greppable6 joined, bloatable6 joined, unicodable6 joined, quotable6 joined, tellable6 joined 04:26 bisectable6 joined, coverable6 joined, benchable6 joined, nativecallable6 joined, sourceable6 joined 04:27 evalable6 joined, notable6 joined, releasable6 joined, linkable6 joined, reportable6 joined, statisfiable6 joined 05:14 Kaiepi left 06:08 reportable6 left 06:10 reportable6 joined 06:12 bloatable6 left, japhb left, discord-raku-bot left, nine left, zostay left, [Tux] left, Util left, maettu left, Geth left, tbrowder left, |Tux| left, releasable6 left 06:13 summerisle left, timo left, nebuchadnezzar left, rypervenche left, evalable6 left, unicodable6 left, [Coke] left, rba left, gfldex left, sjn left, leont left, frost left, tailgate left, Voldenet left, vrurg left, lizmat left, patrickb left, jjatria left, lucs left, camelia left, CIAvash left, uzl[m] left, AlexDaniel left, kawaii_ left, samcv left, djinni` left, SmokeMachine left, kjp left, masak left, RakuIRCLogger left, crystalfrost[m] left 06:14 reportable6 left, statisfiable6 left, linkable6 left, notable6 left, sourceable6 left, nativecallable6 left, benchable6 left, coverable6 left, bisectable6 left, tellable6 left, quotable6 left, greppable6 left, committable6 left, shareable6 left, ilogger2 left 06:17 reportable6 joined, statisfiable6 joined, linkable6 joined, notable6 joined, sourceable6 joined, nativecallable6 joined, benchable6 joined, coverable6 joined, bisectable6 joined, quotable6 joined, committable6 joined, ilogger2 joined 06:18 releasable6 joined, evalable6 joined, unicodable6 joined, bloatable6 joined, frost joined, japhb joined, Geth joined, vrurg joined, maettu joined, [Coke] joined, discord-raku-bot joined, nine joined, lizmat joined, djinni` joined, SmokeMachine joined, summerisle joined, kjp joined, masak joined, timo joined, RakuIRCLogger joined, zostay joined, patrickb joined, [Tux] joined, Util joined, camelia joined, rba joined, tbrowder joined, crystalfrost[m] joined, nebuchadnezzar joined, samcv joined, lucs joined, jjatria joined, kawaii_ joined, AlexDaniel joined, CIAvash joined, uzl[m] joined, |Tux| joined, rypervenche joined, gfldex joined, sjn joined, tailgate joined, jdv joined, sivoais joined, bartolin_ joined, samebchase joined, JRaspass joined, Voldenet joined, leont joined 07:12 shareable6 joined, greppable6 joined 07:16 tellable6 joined
nine Why wait? Speed it up by contributing! 07:40
SmokeMachine nine: I'm more worried by the id changing than by the speed... 08:10
nine I meant speed up RakuAST's arrival 08:13
08:13 sena_kun joined
SmokeMachine nine: I'd love to have enough knowledge and time for helping on that... 08:14
(and I really need to get used to RakuAST... Red will really need that) 08:16
nine It actually doesn't require that much knowledge. Sure, there are hard bits like BEGIN time execution, but I have already pretty much taken care of that. There's also lots of low hanging fruit still left. 08:17
10:03 sourceable6 left, releasable6 left, tellable6 left, statisfiable6 left, benchable6 left, unicodable6 left, shareable6 left, notable6 left, nativecallable6 left, reportable6 left, committable6 left, quotable6 left, coverable6 left, linkable6 left, evalable6 left, bloatable6 left, greppable6 left, bisectable6 left, committable6 joined, bisectable6 joined, quotable6 joined 10:04 reportable6 joined, linkable6 joined, notable6 joined, greppable6 joined 10:05 releasable6 joined, benchable6 joined, tellable6 joined, statisfiable6 joined, sourceable6 joined, shareable6 joined 10:06 evalable6 joined, unicodable6 joined, nativecallable6 joined, coverable6 joined, bloatable6 joined 10:12 sena_kun left 10:13 sena_kun joined
Geth JSON-Unmarshal: jonathanstowe++ created pull request #1:
Add an opt-in option to unmarshal
10:29
10:52 sivoais left 10:53 sivoais joined 11:23 frost left 11:40 frost joined 12:06 frost left 12:08 reportable6 left 12:10 reportable6 joined 12:19 dogbert17 joined 12:33 frost joined 13:00 frost left 15:46 |Tux| left 16:03 |Tux| joined, Tux__ joined 16:06 Tux__ left 18:07 reportable6 left 18:10 reportable6 joined 19:38 melezhik joined 20:05 melezhik left 20:41 sena_kun left 20:42 sena_kun joined 20:58 melezhik joined 21:00 melezhik left 21:07 sena_kun left 21:45 sena_kun joined 21:52 sena_kun left