🦋 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:00 reportable6 left 00:01 reportable6 joined
timo1 but still, any ICE car behind me will barely have passed the intersection when it's already out of sight in my rear view mirror 00:05
it doesn't even feel like the acceleration is so strong
but there we go
tbrowder__ can't knock success! 00:30
but those ICEs were not GTOs 00:32
but electric motors have a better acceleration profile i believe. using a clutch will always have some slippage unless the driver is very skilled and has super muscle control. with a motor, i think you can just "pop the clutch" from a stab 00:36
*standing start and it does the hard work for you.
MasterDuke timo1: what EV do you have? 00:37
tbrowder__ none. i had an electric lawn mower one ;-D
*once
never had a GTO either, but one of my roomies did 00:38
i do have a pickup that can burn rubber
MasterDuke well, those usually are rear wheel drive and all the weight (unloaded) is in the front, so burning their rear tires isn't hard 00:39
tbrowder__ but that's because the accelerator pedal springs are a little stiff
true. i had an el camino once and did weight the rear end with sand bags. it helped a little. 00:41
nite folks
but still wondering about adding "rakudoc" as sub for "pod" in core 00:42
00:45 Voldenet left, Voldenet joined 01:04 guifa joined 02:23 vrurg_ joined, vrurg left 06:00 reportable6 left 06:01 reportable6 joined
nine Speaking about pod: who will take on implementing pod for RakuAST? My guess is, that it's a medium-large but relatively easy effort. 07:35
timo1 it's an opel corsa f 07:41
electric motors have the ability to output the same amount of power at any UPM, is my understanding, so it can get out of a standing start with quite a bit of whoompf 07:42
driving an automatic frees you from having to do the clutch dance yourself and should allow you to get pretty much the same start every time, provided you press the on gas pedal the same amount 07:43
nine But even the automatic can't change the fact that the ICE only produces full torque at narrow rpm range (and it's not at the bottom of the scale). Electric motors are pretty much only limited by the tyres ability to hold on to the road. 07:56
timo1 that's true 08:09
but also i'm thinking not everyone is going to push the pedal as far as it will go (without actually burning rubber) when the light switches
so surely the ICEs, even the not-luxury-sports-car ones, have a lot more acceleration than the drivers are actually making use of 08:10
anyway, i'm a big fan of the fact that EV need no complicated gearbox, it's just a fixed ratio transmission. means there's less bits that can deteriorate over time 08:11
i was always curious to see what exactly happens when you put it in reverse while the car's already at some speed, but the most likely outcomes are 1) the mechanism prevents you from attempting and 2) the gears in the transmission or something else takes damage. one is boring, the other expensive :D 08:13
the internets has videos! 08:14
here's a truck with manual transmission, the guy gets it in reverse with a bit of effort, and from the ghastly sound, the smoke, and the way it sways sideways i think it actually gets the wheels turning backwards while driving forwards? 08:22
Geth rakudo/main: 3e241ad9d9 | (Elizabeth Mattijsen)++ | t/12-rakuast/TODO
RakuAST: Statement::No no longer exists

and thus does not need to have test written for it
09:39
rakudo/main: 15586b8e28 | (Elizabeth Mattijsen)++ | src/Raku/Actions.nqp
RakuAST: Remove non-sensical multiness argument
10:27
rakudo/main: 822a74a60b | (Elizabeth Mattijsen)++ | 2 files
RakuAST: add raku/deparse support for RakuAST::Declaration::ResolvedConstant
rakudo/main: ede052104b | (Elizabeth Mattijsen)++ | src/core.c/RakuAST/Deparse.pm6
RakuAST: we can't deparse compile-time-value

So just .raku it
10:32
10:49 linkable6 left, evalable6 left, linkable6 joined 10:50 evalable6 joined
Geth rakudo/main: 8bfb2c41ba | (Elizabeth Mattijsen)++ | 2 files
RakuAST: correct .raku/deparse for roles

A Rakuast::Package that is a role actually converts its body into a Sub that returns some pertinent info when run (which happens when a role is consumed). This commit hides that code when you do a .raku or deparse on such a Package object. The actual code in there can still be seen if you .raku/deparse the body of the Package directly. ... (5 more lines)
11:39
lizmat but first... working on the weekly :-)
12:00 reportable6 left, reportable6 joined
Geth rakudo/main: 217a47b24a | (Elizabeth Mattijsen)++ | 2 files
RakuAST: streamline .raku/deparse on RakuAST::Package a bit
13:03
lizmat notable6: weekly 14:05
notable6 lizmat, No notes for “weekly”
Geth rakudo/main: 2fa64b5945 | (Elizabeth Mattijsen)++ | 2 files
RakuAST: make "how" optional on RakuAST::Package

If you're building classes / roles etc programmatically, you most likely just want the HOW that goes by the given package declarator.
This also adds a "default-how" method that returns the Metamodel class associated with the given package declarator type
15:40
rakudo/main: c0be572fff | (Elizabeth Mattijsen)++ | 2 files
RakuAST: remove "how" arguments from tests

As there is now a sensible default
15:41
rakudo/main: d2eabd016a | (Elizabeth Mattijsen)++ | src/Raku/ast/package.rakumod
RakuAST: oops, forgot modules in RakuAST::Package.default-how
16:40
rakudo/main: 38c4e0ee7f | (Elizabeth Mattijsen)++ | 7 files
RakuAST: change RakuAST::Package.package-declarator to declarator

This may be a personal thing, but I was getting annoyed by the long name and the repetition.
16:59
rakudo/main: 98cc71c02f | (Elizabeth Mattijsen)++ | t/12-rakuast/package.rakutest
RakuAST: remove "repr"

It is not needed by default
17:01
timo1 rapper Puff Daddy changed his name to Pack-Declarator 17:07
lizmat: the link to the weekly challenge gives a 404 i think? it looks kinda weird in any case :D 17:09
looks like it should be 207 not 208? that's the one i see on the main page anyway 17:10
Nemokosch for some reason, there is no weekly this week... 17:15
[Coke] rakudoweekly.blog/2023/03/13/2023-11-ainions/ 17:24
17:25 squashable6 left 17:26 squashable6 joined
Nemokosch oh I meant the weekly challenge 17:31
17:57 discord-raku-bot left 17:58 discord-raku-bot joined 18:00 reportable6 left 18:03 reportable6 joined 18:08 Xliff joined
lizmat timo1 Nemokosch I hoped that Mohammad had found the time by now. twitter.com/PerlWChallenge/status/...7524679682 18:16
Removed the reference for now 18:17
18:17 Xliff left
Nemokosch 🥺 18:47
Geth rakudo/main: 1d7bf1c61f | (Elizabeth Mattijsen)++ | 2 files
RakuAST: move role body tweaking logic to RakuAST::Package class

The reason for this is simple: we can not expect a developer that creates a new RakuAST::Package(:declarator<role>) object to know that the body of the role should really be a sub, and that it should have a signature matching the intended parameterization of the role.
... (10 more lines)
19:14
rakudo/main: 23a7c14038 | (Elizabeth Mattijsen)++ | 2 files
RakuAST: fix RakuAST::Package.raku

And make the signature argument on replace-body optional to preserve compatibility.
19:57
rakudo/main: 90a8183f4a | (Elizabeth Mattijsen)++ | t/12-rakuast/package.rakutest
RakuAST: add tests for creating roles
20:13
timo1 lizmat: you're clearly a time traveller 20:17
lizmat ?
timo1 you have weekly challenges from the future 20:20
lizmat hehe
I wish :-)
afk&
20:39 Xliff joined 21:23 ab5tract left 22:05 squashable6 left, squashable6 joined