š¦ 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. |
|||||||||||||||||||||||||||||||||||||||
03:46
librasteve_ left
|
|||||||||||||||||||||||||||||||||||||||
lizmat | bisectable6: old=2024.10 dd "foobar".trans(/ o / => { $0.uc }) | 08:33 | |||||||||||||||||||||||||||||||||||||
bisectable6 | lizmat, On both starting points (old=2024.10 new=3efc376) the exit code is 0 and the output is identical as well | ||||||||||||||||||||||||||||||||||||||
lizmat, Output on both points: Ā«Use of Nil.uc coerced to empty string⤠in block at /tmp/FUJcxVmNUD line 1ā¤Use of Nil.uc coerced to empty string⤠in block at /tmp/FUJcxVmNUD line 1ā¤"fbar"ā¤Ā» | |||||||||||||||||||||||||||||||||||||||
lizmat | weird, I thought that was to DWIM | 08:34 | |||||||||||||||||||||||||||||||||||||
bisectable6: old=2024.10 dd "foobar".subst(/ o / => { $0.uc }, :g) | 08:35 | ||||||||||||||||||||||||||||||||||||||
bisectable6 | lizmat, On both starting points (old=2024.10 new=3efc376) the exit code is 1 and the output is identical as well | ||||||||||||||||||||||||||||||||||||||
lizmat, gist.github.com/d4c7514a91ba1d6f59...7c4e5aeec0 | |||||||||||||||||||||||||||||||||||||||
lizmat | m: dd "foobar".subst(/ o / => { $0.uc }, :g) | ||||||||||||||||||||||||||||||||||||||
camelia | Cannot resolve caller match(Str:D: Pair:D, :g); none of these signatures matches: (Str $:: Cool:D $pattern, |c) (Str $:: Regex:D $pattern, :continue(:$c)!, *%_) (Str $:: Regex:D $pattern, :pos(:$p)!, *%_) (Str $:: Regex:D $patt⦠|
||||||||||||||||||||||||||||||||||||||
lizmat | m: dd "foobar".subst(/ o /,{ $0.uc }) | ||||||||||||||||||||||||||||||||||||||
camelia | Use of Nil.uc coerced to empty string in block at <tmp> line 1 "fobar" |
||||||||||||||||||||||||||||||||||||||
lizmat | m: dd "foobar".subst(/ o /,{ .uc }) | ||||||||||||||||||||||||||||||||||||||
camelia | "fOobar" | 08:36 | |||||||||||||||||||||||||||||||||||||
lizmat | hmmm | ||||||||||||||||||||||||||||||||||||||
ab5tract | Oh thatās an intriguing one | 08:58 | |||||||||||||||||||||||||||||||||||||
timo | incorrect use of $0 to mean $/.Str? | 09:07 | |||||||||||||||||||||||||||||||||||||
m: dd "foobar".subst(/ o / => { $/.uc }, :g) | 09:08 | ||||||||||||||||||||||||||||||||||||||
camelia | Cannot resolve caller match(Str:D: Pair:D, :g); none of these signatures matches: (Str $:: Cool:D $pattern, |c) (Str $:: Regex:D $pattern, :continue(:$c)!, *%_) (Str $:: Regex:D $pattern, :pos(:$p)!, *%_) (Str $:: Regex:D $patt⦠|
||||||||||||||||||||||||||||||||||||||
timo | oh i copied the wrong one? | ||||||||||||||||||||||||||||||||||||||
m: dd "foobar".trans(/ o / => { $/.uc }) | |||||||||||||||||||||||||||||||||||||||
camelia | "fOObar" | ||||||||||||||||||||||||||||||||||||||
timo | m: dd "fooooooooooobar".trans(/ o / => { ($/.uc, $/).pick }) | ||||||||||||||||||||||||||||||||||||||
camelia | "foOooOoooooObar" | ||||||||||||||||||||||||||||||||||||||
timo | m: .say for "foobar", *.subst(/ :i o / => { ($/.uc, $/.lc, $/.uc ~ $/.lc).pick }) ... *.chars > 10 | 09:11 | |||||||||||||||||||||||||||||||||||||
camelia | foobar Cannot resolve caller match(Str:D: Pair:D, :g(Any)); none of these signatures matches: (Str $:: Cool:D $pattern, |c) (Str $:: Regex:D $pattern, :continue(:$c)!, *%_) (Str $:: Regex:D $pattern, :pos(:$p)!, *%_) (Str $::⦠|
||||||||||||||||||||||||||||||||||||||
timo | m: .say for "foobar", *.subst(/ :i o /, { ($/.uc, $/.lc, $/.uc ~ $/.lc).pick }) ... *.chars > 10 | ||||||||||||||||||||||||||||||||||||||
camelia | foobar foobar fOobar fOoobar fOoobar fOoobar fOoobar fOoobar fOoobar fOoobar fOoobar fOoobar fooobar fOoobar fOooobar fOoooobar fooooobar fOoooobar fooooobar fOoooobar fOoooobar fooooobar fOoooobar fOooooo⦠|
||||||||||||||||||||||||||||||||||||||
timo | m: .say for "foobar", *.subst(/ :i o /, { ($/.uc, $/.lc, $/.uc ~ $/.lc).pick }, :g) ... *.chars > 10 | ||||||||||||||||||||||||||||||||||||||
camelia | foobar fOoOobar fOoOoobar fOOOoOOobar |
||||||||||||||||||||||||||||||||||||||
timo | m: .say for "foobar", *.subst(/ :i o /, { ($/.uc, $/.lc, $/.uc ~ $/.lc).pick }, :g) ... *.chars > 20 | 09:12 | |||||||||||||||||||||||||||||||||||||
camelia | foobar fOobar fOoObar fOOobar foOobar fOOoobar foOoobar fOoOoOobar fOOoOooobar fOooooOoOobar fOoOoOoOoooOobar foooOoOooOoOOobar fOOoOOOoOOooOOoObar fOOOoOoOooOoooOoOOOooOobar |
||||||||||||||||||||||||||||||||||||||
09:14
sena_kun joined
|
|||||||||||||||||||||||||||||||||||||||
Geth | rakudo/main: cacc876119 | (Elizabeth Mattijsen)++ | t/05-messages/01-errors.t Fix spellos in comment text |
09:28 | |||||||||||||||||||||||||||||||||||||
09:32
sena_kun left
|
|||||||||||||||||||||||||||||||||||||||
timo | waaaait a minute | 09:44 | |||||||||||||||||||||||||||||||||||||
why is rakudo-early-build-m using /usr/bin/moar what the heck? | |||||||||||||||||||||||||||||||||||||||
rakudo-m-early-build* | |||||||||||||||||||||||||||||||||||||||
Geth | nqp/main: fda688110f | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION Bump MoarVM to get latest fixes |
09:45 | |||||||||||||||||||||||||||||||||||||
timo | oh no | ||||||||||||||||||||||||||||||||||||||
i ran Configure with --prefix=/usr? i must have been drunk or something?!? | 09:46 | ||||||||||||||||||||||||||||||||||||||
so now, after maybe a hundred attempts to reproduce this hang in moar, i get it reproduced and i see that it's not using the moar i compiled but the one i installed from the debian package and i don't even have proper debug info >_< | 09:48 | ||||||||||||||||||||||||||||||||||||||
[Tux] |
|
09:59 | |||||||||||||||||||||||||||||||||||||
tux.nl/Talks/CSV6/speed4-20.html / tux.nl/Talks/CSV6/speed4.html tux.nl/Talks/CSV6/speed.log | |||||||||||||||||||||||||||||||||||||||
Geth | rakudo/main: cfa01ab4ef | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION Bump NQP for latest MoarVM fixes |
10:00 | |||||||||||||||||||||||||||||||||||||
lizmat | m: dd "foobar".trans( "o" => { ++$ }, :c) # unexpected result | 11:42 | |||||||||||||||||||||||||||||||||||||
camelia | "1oo333" | ||||||||||||||||||||||||||||||||||||||
Geth | rakudo/main: 26fbd4c366 | (Elizabeth Mattijsen)++ | 2 files Remove now unnecessary R:I:ALL_TYPE method Its functionality is actually exposed as the .are(Type) method nowadays. Found as part of #5488 research |
12:03 | |||||||||||||||||||||||||||||||||||||
12:08
sjn left
|
|||||||||||||||||||||||||||||||||||||||
lizmat | m: dd "foobar".trans( "o" => "xyz", :c ) | 13:04 | |||||||||||||||||||||||||||||||||||||
camelia | "xooxxx" | ||||||||||||||||||||||||||||||||||||||
13:04
sjn joined
|
|||||||||||||||||||||||||||||||||||||||
lizmat | m: dd "foobar".trans( / o / => "xyz", :c ) # I'd argue this is wrong on quite a few levels | 13:05 | |||||||||||||||||||||||||||||||||||||
camelia | "fxyzxyzbar" | ||||||||||||||||||||||||||||||||||||||
lizmat | 1. it ignores the :c, and takes the whole target string instead of the first char | 13:06 | |||||||||||||||||||||||||||||||||||||
18:49
sena_kun joined
22:33
sena_kun left
|