🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 8 June 2022. |
|||
00:07
reportable6 left
00:10
reportable6 joined
00:23
swaggboi left
00:24
swaggboi joined
01:06
maettu joined
02:06
nativecallable6 left,
benchable6 left,
evalable6 left,
sourceable6 left,
shareable6 left,
tellable6 left,
releasable6 left,
notable6 left,
bisectable6 left,
linkable6 left,
coverable6 left,
unicodable6 left,
quotable6 left,
bloatable6 left,
reportable6 left,
committable6 left,
statisfiable6 left,
greppable6 left,
benchable6 joined,
linkable6 joined
02:07
statisfiable6 joined,
committable6 joined,
greppable6 joined
02:08
notable6 joined,
reportable6 joined,
tellable6 joined,
quotable6 joined,
shareable6 joined,
releasable6 joined,
bisectable6 joined
02:09
nativecallable6 joined,
unicodable6 joined,
coverable6 joined,
evalable6 joined,
sourceable6 joined,
bloatable6 joined
03:09
evalable6 left,
linkable6 left
03:11
linkable6 joined
03:12
evalable6 joined
03:27
nort joined
04:00
vrurg joined,
vrurg_ left
04:41
swaggboi left
04:59
swaggboi joined
05:17
swaggboi left
05:35
swaggboi joined
05:52
swaggboi left
06:08
swaggboi joined,
reportable6 left
06:10
reportable6 joined
06:13
frost joined
06:38
abraxxa joined
06:46
abraxxa left
06:49
abraxxa joined
06:50
dakkar joined
06:53
abraxxa left,
Sgeo_ left,
abraxxa joined
07:06
jaguart joined
07:17
oodani left
07:19
oodani joined
07:31
Sankalp left
07:34
swaggboi left,
Sankalp joined
07:46
swaggboi joined,
clarjon1 left
08:46
evalable6 left,
linkable6 left
08:47
evalable6 joined
08:49
linkable6 joined
09:04
jaguart left
09:15
sena_kun left
09:17
sena_kun joined
|
|||
gfldex | lolibloggedalittle: gfldex.wordpress.com/2022/07/13/coercive-bits/ | 09:29 | |
09:52
swaggboi left,
swaggboi joined
10:04
Altai-man joined
11:04
nativecallable6 left,
bloatable6 left,
committable6 left,
evalable6 left,
linkable6 left,
unicodable6 left,
bisectable6 left,
notable6 left,
statisfiable6 left,
sourceable6 left,
shareable6 left,
tellable6 left,
benchable6 left,
coverable6 left,
greppable6 left,
reportable6 left,
quotable6 left,
releasable6 left,
benchable6 joined,
greppable6 joined
11:05
reportable6 joined,
notable6 joined,
sourceable6 joined,
statisfiable6 joined,
bloatable6 joined
11:06
unicodable6 joined,
committable6 joined,
nativecallable6 joined,
releasable6 joined,
coverable6 joined,
evalable6 joined,
quotable6 joined,
linkable6 joined
11:07
bisectable6 joined,
tellable6 joined,
shareable6 joined
11:11
swaggboi left
11:23
swaggboi joined
11:40
p6steve left
11:44
swaggboi left
11:45
swaggboi joined
11:50
p6steve joined
11:54
p6steve left
12:07
p6steve joined
12:08
reportable6 left,
reportable6 joined
|
|||
guifa | www.unicode.org/notes/tn28/UTN28-P...ath-v2.pdf <-- this feels like a job for grammars (and maybe slangs too lol) | 12:09 | |
12:11
p6steve left
12:25
p6steve joined
|
|||
guifa | interesting | 12:31 | |
it seems that $0, $1, etc are bound rather than calling $/.list.AT-KEY | 12:32 | ||
so if you muck with the results of AT-KEY, $/.[2] might not be equivalent to $2 | |||
12:41
p6steve left
12:47
p6steve joined
|
|||
guifa | nevermind, I'm an idiot, and forgot to apply a role somewhere :-) | 12:56 | |
13:00
swaggboi left
13:01
swaggboi joined
13:07
Colere left
13:08
Colere joined
13:11
Furor joined
13:13
Colere left
13:17
avar left
13:18
avar joined
|
|||
guifa | m: use Test; sub s2r ($s) { use MONKEY-GUTS; EVAL "/$s/" }; my $m = 'a' ~~ s2r '(a)'; say $m; subtest 'x' => { my $n = 'ab' ~~ s2r '(a)(b)'; say $n; } | 13:40 | |
camelia | 「a」 0 => 「a」 # Subtest: x 「ab」 0 => 「a」 1 => 「b」 1..0 ok 1 - x |
||
guifa | why is that not working on my system :-( | ||
13:45
swaggboi left
13:46
linkable6 left
13:48
linkable6 joined
|
|||
guifa | Seems to have something to do with a role I'm applying but I can't for the life of me figure it out (or golf it, which would probably be useful) | 13:54 | |
13:57
swaggboi joined
14:02
swaggboi left
14:03
frost left
14:13
melezhik joined
|
|||
melezhik | . | 14:13 | |
jjatria any success with Tomtit? | |||
14:15
swaggboi joined
|
|||
[Coke] | instead of EVAL "/$s/", can you use / $s / ? | 14:15 | |
docs.raku.org/language/regexes#Reg...erpolation | |||
Nemokosch | $s does turn into its content, that's for sure | 14:19 | |
[Coke] | m: my $a = "what"; my $b = '<[aeiou]>'; dd $a ~~ / <$b> /; | ||
camelia | Match.new(:orig("what"), :from(2), :pos(3)) | ||
[Coke] | m: my $a = "what"; my $b = '<[aeiou]>'; dd ($a ~~ / <$b> /).Str; | ||
camelia | "a" | ||
[Coke] | m: my $a = "what"; my $b = '<[aeiou]>'; my $c = / <$b> /; dd $c; #if you need it as a separate object. | 14:20 | |
camelia | Regex $c = / <$b> / | ||
14:21
sena_kun_ joined
14:25
Altai-man left
14:34
swaggboi left
|
|||
guifa | [Coke] I'll try. Not sure how the interpolation will handle the role being applied | 14:34 | |
I'm fairly certain there's some weird scoping issue going on with $/ | |||
14:35
frost joined
|
|||
[Coke] | (not working on your system) - what version of raku/OS? | 14:38 | |
guifa | lol | 14:43 | |
I'm a massive idiot | |||
bad use of state | |||
[Coke] | glad you found it! | ||
guifa | still have to figure out how I'm going to handle ECMA's weird quantified captures | 14:44 | |
but once that's done this module should be basically ready to release | |||
14:47
swaggboi joined
14:48
tinita joined
|
|||
tinita | nine: hi, I have a quick question. are you planning to release Inline::Python soon? | 14:49 | |
currently on openSUSE it doesn't build anymore: build.opensuse.org/package/live_bu...ard/x86_64 | |||
oops, sorry, that is apparemtly the wrong channel, since it's a perl5 module :) | 14:50 | ||
14:59
frost left
15:08
swaggboi left,
vrurg_ joined,
swaggboi joined
15:10
vrurg left
15:11
frost joined
15:12
jaguart joined
|
|||
Geth__ | raku.org: 2colours++ created pull request #171: Fixing glot.io link |
15:21 | |
Nemokosch | as mentioned a couple of days ago | ||
Geth__ | raku.org: 8cb7008e5d | (Márton Polgár)++ (committed using GitHub Web editor) | source/resources/index.html Fixing glot.io link |
15:30 | |
raku.org: 050e73b45a | (Will Coleda)++ (committed using GitHub Web editor) | source/resources/index.html Merge pull request #171 from 2colours/patch-1 Fixing glot.io link |
|||
15:44
frost left
15:48
dakkar left
16:12
p6steve left
16:20
melezhik left
16:22
swaggboi left
16:25
p6steve joined
16:29
p6steve left
16:35
swaggboi joined
16:42
p6steve joined
16:47
p6steve left,
Geth__ left
16:48
Geth joined
16:52
p6steve joined
16:57
p6steve left
17:00
p6steve joined
17:03
dogbert17 left
17:06
p6steve left
|
|||
[Coke] | Geth need a rename? | 17:13 | |
17:14
melezhik joined
|
|||
lizmat | [Coke]: why ? | 17:14 | |
17:15
sena_kun_ left
17:18
p6steve joined
17:26
jaguart left,
p6steve left
17:27
Kaiepi left
17:33
jaguart joined
17:37
p6steve joined
17:47
p6steve left
|
|||
melezhik | jjatria here is my proposal for public suffix releases automation with Tomtit - gitlab.com/jjatria/publicsuffix/-/...requests/1 , it's not completed yet, but you can see the idea and star playing with that | 17:47 | |
17:57
melezhik left
18:08
reportable6 left
18:09
reportable6 joined,
melezhik joined
18:14
p6steve joined
18:24
melezhik left
18:32
Sgeo joined
|
|||
SmokeMachine | m: my &bla := -> $a, $b, $c {}; say bag ^50 .map: { my $id = &bla.id; &bla.assuming: 1; $id} # This is very odd... does anyone know why that happens? shouldn't always return the same id? | 18:49 | |
camelia | Bag(2857428604920(2) 2857493940632(47) 2857571559072) | ||
SmokeMachine | I'm trying to cache functions using id, but that's not helping... | 18:52 | |
is this a bug? | 18:56 | ||
19:11
melezhik joined
19:28
melezhik left
19:34
guifa left
|
|||
[Coke] | because he's Geth__ ? | 19:38 | |
.. except now it | |||
s not, no worries then | |||
19:44
guifa joined
19:49
guifa left
|
|||
lizmat | :-) | 19:51 | |
20:17
Furor is now known as Colere
20:34
guifa joined
20:40
Kaiepi joined
20:45
p6steve left
20:58
p6steve joined
21:06
p6steve left
21:07
jgaz joined
21:18
japhb left
21:20
japhb joined
21:26
tejr left
21:27
tejr joined
21:30
abraxxa left
21:33
abraxxa-home joined
21:34
p6steve joined
|
|||
SmokeMachine | Is that a bug? | 21:47 | |
21:56
abraxxa-home left
22:07
tobs left
22:23
tobs joined
22:24
sena_kun left
|
|||
guifa | SmokeMachine I wonder if it's an indication of JITing happening | 22:42 | |
Why not use WHICH though? That seems to be a bit more common | 22:44 | ||
gfldex | I have written an e-mail to the author of buttondown.email/hillelwayne/archi...e-to-see/, as we tick 5 out of 6 boxes. | 23:06 | |
guifa | m: my regex foo { <+[a..z]+[0..9]+[\!]\#\$\%\&\'\*\+\/\=\?\^_\`\{\|\}\~\->+ } | 23:21 | |
camelia | ===SORRY!=== Error while compiling <tmp> Unable to parse expression in metachar:sym<assert>; couldn't find final '>' (corresponding starter was at line 1) at <tmp>:1 ------> my regex foo { <+[a..z]+[0..9]+[\!]⏏\#\$\%\&\'\*\+\/\=\?\… |
||
guifa | but | ||
m: my regex foo { < +[a..z]+[0..9]+[\!]\#\$\%\&\'\*\+\/\=\?\^_\`\{\|\}\~\->+ } | |||
camelia | ( no output ) | ||
guifa | all I did was add a space between the < and + at the beginning. That space shouldn't be significant AFAICT | ||
AHA I found the error | 23:24 | ||
23:24
evalable6 left,
linkable6 left
23:26
linkable6 joined,
evalable6 joined
23:32
jgaz left,
jgaz joined
|
|||
guifa | success | 23:37 | |
gist.github.com/alabamenhu/c0f12ec...ba1a0099f8 | |||
23:50
wcs left
|