🦋 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 inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 25 August 2021. |
|||
00:02
reportable6 left,
reportable6 joined
|
|||
dwarring | LibXML's t/11memory.t seems to suddenly running, much better, just since since the 2021.08 release and blead | 00:44 | |
tellable6 | 2021-08-05T00:43:49Z #raku <Xliff> dwarring Thanks! | ||
dwarring | test is disabled by default and needs to have environment variables set to run it: | ||
(export AUTHOR_TESTING=1 MEMORY_TEST=1; prove -e'raku -I.' -v t/11memory.t) | 00:45 | ||
results... | |||
on 2021.08: Total Mem Increase:64116 kB, Avg-Objects:873, Lost:719 Objects (0.25%) | 00:46 | ||
on v2021.08-8-g5492452b2: Total Mem Increase:5612 kB, Avg-Objects:101, Lost:14 Objects (0.00%) | 00:47 | ||
The count is of LibXML native objects, which get freed when DESTROY is called | 00:48 | ||
call to DESTROY isn't being missing and is tending to get called earlier | 00:49 | ||
leading to flatter memory usage and fewer live objects | |||
00:50
monkey_ left
|
|||
dwarring | test was ported from Perl, btw | 00:52 | |
00:54
leah2 left,
frost joined
|
|||
kybr | if i have the name of a method as a string in $method, how might i call that method on $foo ? | 00:57 | |
00:57
pisa joined
|
|||
dwarring | $foo."$method"() | 00:58 | |
pisa | hi, is there some advice for raku binding for c++ template ? | ||
kybr | dwarring: wow. thanks | ||
dwarring: wow. thanks | 00:59 | ||
dwarring | I haven't used the c++ bindings myself | 01:04 | |
I do know you want to use the CPPStruct representation | |||
class C is repr('CPPStruct') {...} | 01:05 | ||
some tests in github.com/rakudo/rakudo/blob/mast...mangling.t | |||
That should automatically mangle Raku method names to C++ symbols | 01:06 | ||
pisa | that test just for CPPStruct repr, but no template | 01:12 | |
01:21
leah2 joined
|
|||
dwarring not finding much on sourcegraph.com/search?q=context:g...pe=literal | 01:28 | ||
@pisa not sure | 01:29 | ||
01:39
pisa left
01:44
Xliff left
01:45
dominix joined
|
|||
dominix | hi everyone, quick question, what do you guy have as newsfeed regarding Rakulang ? | 01:46 | |
tellable6 | 2020-09-28T01:49:13Z #raku <tbrowder> dominix: what kind of package sys does clear linux use? is it fedora or debian based? | ||
2020-09-28T01:56:01Z #raku <tbrowder> dominix: never mind. i see the problem i would have with clear linux. i, being retired, would have the luxury of telling my client "no" to clear linux, but he's paying for that agony. | |||
2020-09-28T01:57:37Z #raku <tbrowder> dominix: but your client wants you to use raku? maybe client will pay for a clear linux raku pkg. | |||
2020-09-28T08:08:22Z #raku <El_Che> dominix It looks like Clear Linux uses flatpack as pkg format. Timotimo just release a rakudo release oin that format | |||
2020-09-28T08:15:54Z #raku <El_Che> dominix: nevr mind about the flatpack. However precompiled non-pkg release can be found here: github.com/nxadm/rakudo-pkg/releas.../v2020.09, just untar-gzip this: rakudo-pkg-mooarvm-2020.09-01-linux-x86_64.tar.gz | |||
kybr | how about if i wanted to get a reference to the function/method with the string name in $function? | 01:49 | |
timo | that depends on how you can reach it. it mayb e enough to just get my $func-obj = ::($function) | 01:50 | |
01:54
dominix left
01:55
dominix joined
02:10
pjlsergeant left
02:12
pjlsergeant joined
02:54
pjlsergeant left
02:56
zostay left,
pjlsergeant joined
02:57
zostay joined
03:18
squashable6 left
04:08
dominix left
04:10
neshpion left
04:40
lucerne left
04:41
elcaro left,
ingy left,
Juerd left,
kawaii_ left,
jast left,
rypervenche left,
skaji left,
ens left,
spacekookie left,
kawaii_ joined,
ens joined,
elcaro joined,
rypervenche joined,
skaji joined,
spacekookie joined,
rypervenche left,
rypervenche joined,
Juerd joined
04:43
ingy joined
04:45
Tirifto left,
pierrot left,
juanfra__ left,
HobGoblin left,
ilogger2 left,
gabiruh left,
jcallen left,
dg left,
wanko left,
jercos left,
polettix_ left,
tonyo_ left,
BinGOs left,
gcd left,
goblin joined,
wanko joined,
dg joined,
gcd joined,
jcallen joined,
bingos joined,
polettix joined,
jercos joined,
bingos left,
bingos joined,
ilogger2 joined,
Tirifto joined
04:46
pierrot joined,
gabiruh joined
04:50
tonyo joined
04:53
raks_rocks joined
04:54
raks_rocks left
05:12
dwarring left
05:24
keutoi joined
05:30
squashable6 joined
06:02
reportable6 left
06:05
reportable6 joined
06:16
nebuchadnezzar joined
06:34
Sgeo left
06:37
ufobat joined
06:44
clarjon_1 is now known as clarjon1
|
|||
tib | hello | 07:09 | |
dev.to/thibaultduponchelle/the-eph...ement-4n8f | 07:10 | ||
I wanted to ping jj merelo here but I don't know if he is either not connected or if I don't know his nick | 07:11 | ||
07:44
linkable6 left,
evalable6 left
07:46
linkable6 joined
|
|||
El_Che_ | tib: it's jmerelo or jj iirc | 07:56 | |
moon-child | jmerelo has not been seen here in a few months | 07:57 | |
tib | ok thx (I contacted him by email) | 07:59 | |
El_Che_ | or twitter could be an option | ||
08:04
lichtkind joined,
jjido joined
08:15
bingos is now known as BinGOs
08:28
jjido left
08:45
frost left
08:47
evalable6 joined
09:00
jjido joined
09:09
patrickb joined
09:36
jjido left
09:55
patrickb left
10:11
frost joined
|
|||
lizmat | Am I going crazy or is Twitter all of a sudden equating #raku with Camelia? twitter.com/search?q=%23raku&s...amp;f=live | 10:41 | |
keutoi | Most of the uses of #raku seem to be either pottery or rakuten | 10:46 | |
lizmat | yes, and that's fine, but *I* only see tweets with Camelia in them now :-) | 10:50 | |
El_Che_ | that's why someone on twitter is consistently adding #rakulang to all conversations :P | ||
She shall not be named | 10:51 | ||
10:51
patrickb joined
|
|||
lizmat | twitter.com/search?q=%23raku%20-ca...amp;f=live # only #raku | 10:52 | |
FWIW, I love pottery in general | 10:53 | ||
and Raku pottery even more so | |||
having lived with a potter for 5 years made me appreciate the inspiration and sweat that goes into making pottery | 10:54 | ||
not unlike the Raku programming language, actually :-) | 10:55 | ||
El_Che_ | but with less drama :P | 10:56 | |
10:56
rakuUser joined
11:04
nebuchadnezzar left,
nebuchad` joined
11:09
nebuchad` is now known as nebuchadnezzar
11:23
Geth joined
11:24
sena_kun joined
11:28
markus_ joined
11:46
jjido joined
11:47
patrickb left
12:02
reportable6 left
12:07
keutoi left
12:10
xnhp0320 joined
12:11
xnhp0320 left
12:28
patrickbkr joined
12:48
frost left
|
|||
Geth | ¦ problem-solving: lizmat assigned to codesections Issue Moving distributions between distribution backends "duplicates" them github.com/Raku/problem-solving/issues/295 | 12:49 | |
¦ problem-solving: lizmat unassigned from codesections Issue Moving distributions between distribution backends "duplicates" them github.com/Raku/problem-solving/issues/295 | 12:50 | ||
12:51
xinming left
12:53
xinming joined
13:00
jmcgnh left
13:03
reportable6 joined
|
|||
raydiak | wrt stackoverflow.com/questions/687619...-execution fwiw I don't agree with the existing behavior. imo, arguments should be evaluated in source order regardless of R metaop | 13:04 | |
13:10
jmcgnh joined
|
|||
raydiak | lizmat: wrt rakudoweekly.files.wordpress.com/2...5847-1.jpg maybe after the 15th iteration in 2 years its time to change the default post image? even though I do understand and identify with the symbolism :) | 13:12 | |
lizmat | raydiak: yeah, was thinking about that... haven't been able to come up with a suitable replacement yet | 13:13 | |
raydiak | no great idea here either, though off the top of my head I think of a bunch of people with ores rowing a boat | 13:16 | |
not exciting enough though | 13:17 | ||
people rowing a boat over the edge of a waterfall is more exciting, but the connotations are a bit negative | 13:19 | ||
tib | Announcing Stephane Gigandet at the ephemeral miniconf: dev.to/thibaultduponchelle/the-eph...ement-314d | 13:20 | |
lizmat | And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/08/30/2021-...perseding/ | 13:30 | |
tib | lizmat ++ | 13:31 | |
raydiak | one real idea, perhaps something similar to thisadventurelife.com/wp-content/u...8/para.png would be appropriate and resonate with our predominantly european community? | 13:34 | |
lizmat++ thank you as always for the weekly | |||
lizmat | raydiak: that does not convey the feeling of "we're all in this together" | 13:35 | |
at least not to me | |||
raydiak | hm. does but doesn't. I do see what you're saying | ||
13:36
Sgeo joined
|
|||
raydiak | they're all doing the same thing in the same direction, but independently. whether that's more appropriate or less, is a matter of opinion :) | 13:37 | |
anyway, that's all I had for now. been up all night. good * lizmat and #raku o/ | 13:38 | ||
lizmat | good * to you too, raydiak | 13:39 | |
14:11
jjido left
14:14
b2gills left,
b2gills joined
15:14
evalable6 left,
linkable6 left
15:15
linkable6 joined
|
|||
El_Che_ | tib: does ephemeral means the talks will not be recorded? | 15:15 | |
15:16
evalable6 joined
|
|||
tib | no El_Che_ it means that I do not plan to do another miniconf next year :) | 15:16 | |
El_Che_ | :) | 15:17 | |
15:17
El_Che_ is now known as El_Che
15:19
jjido joined
15:58
tejr left
16:00
tejr joined
16:03
markus_ left
16:26
patrickbkr left
16:53
markus_ joined
16:55
neshpion joined
16:59
ufobat_ joined
17:02
ufobat left
17:32
lucerne joined
17:57
sena_kun left
18:02
reportable6 left
18:06
qwert123 joined
18:16
jjido left
18:25
jjido joined
18:33
ufobat_ left
19:02
qwert123 left
|
|||
kybr | i'd like to do something like this: | 19:04 | |
m: my $op = "+"; infix:<$op>(2, 3).say; | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Undeclared routine: infix:<$op> used at line 1. Did you mean 'infix:<**>', 'infix:<does>', 'infix:<eq>', 'infix:<^..^>', 'infix:<gt>'? |
||
19:05
reportable6 joined
|
|||
Geth | doc: 41502bb6a7 | (Daniel Sockwell)++ (committed using GitHub Web editor) | doc/Language/syntax.pod6 Typo fix Adds a missing `C<>` wrapper to inline code |
19:07 | |
linkable6 | Link: docs.raku.org/language/syntax | ||
moon-child | m: my $op = "+"; infix:«$op»(2, 3).say | 19:08 | |
camelia | Use of uninitialized value $op of type Any in string context. Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful. in code at <tmp> line 1 5===SORRY!5=== Error while compiling <tmp> Undeclared routi… |
||
moon-child | ^ bad error message | ||
lizmat | m: my $op = "+"; say ::("&infix:<$op>")(4,5) # kybr moon-child | 19:09 | |
camelia | 9 | ||
moon-child | lizmat: any idea about the error message there? | 19:11 | |
kybr | lizmat: thank you. i need to look into what ::() does. yesterday i had a question about how to get a reference to a built-in function/method given its name as a string. | 19:12 | |
lizmat | m: BEGIN my $op = "+"; infix:«$op»(2, 3).say | ||
camelia | 5 | ||
lizmat | moon-child: apparently the $op is interpolated at compile time if you write it like that | ||
so that's before the "+" assignment, hence the error message | 19:13 | ||
moon-child | ahh, I see | ||
oh, right, of course | 19:14 | ||
19:23
neshpion left,
neshpion joined
19:44
patrickb joined
19:54
patrickb left
19:57
xinming left,
xinming joined,
discord-raku-bot left,
discord-raku-bot joined
|
|||
gfldex | lizmat: are we all in this together like this? i.redd.it/k4b07zoc69l41.jpg | 20:20 | |
japhb | I remember when they used to summer near where I lived. It was really cool looking at a grove, not seeing *anything* because they were all pretending to be leaves, and then *foom* suddenly the air is full of butterflies. | 20:41 | |
El_Che | I had that experience in Australia | 20:44 | |
wonderful | |||
20:49
phogg left
21:05
phogg joined
21:16
jjido left
21:39
tejr left
21:40
tejr joined
22:07
juanfra__ joined
|
|||
lizmat | gfldex El_Che that's indeed a nice picture! | 22:16 | |
kybr | if ::("&infix:«$op»") only interpolates at compile time and ::("&infix:<$op>") seems to fail on $op like < or >=, then what form might i turn to? | 22:27 | |
my $op = "<"; say ::("&infix:<$op>")(4,5) | |||
m: my $op = "<"; say ::("&infix:<$op>")(4,5) | |||
camelia | No such symbol '&infix:<<>' in block <unit> at <tmp> line 1 |
||
gfldex | m: my $op = "<"; say ::("&infix:«$op»")(4,5) | 22:28 | |
camelia | Use of uninitialized value $op of type Any in string context. Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful. True in code at <tmp> line 1 |
||
kybr | m: my $op = "<"; say ::("&infix:['$op']")(4,5) | ||
camelia | No such symbol '&infix:['<']' in block <unit> at <tmp> line 1 |
22:29 | |
moon-child | kybr: ::("&infix:«$op»") doesn't interpolate at compile time; &infix:«$op» does | 22:30 | |
gfldex | m: my $op = "<"; say ::('&infix:«' ~ $op ~ '»')(4,5) | ||
camelia | True | ||
moon-child | oh, wait | ||
22:33
dogbert11 left
|
|||
gfldex | lizmat: the search term was "butterfly swarm" | 22:34 | |
lizmat | ok, now to see whether I may use it :-) | 22:35 | |
tbrowder | .ask tonyo have you seen my recent Data::Dump issue? would you consider a PR for the env var suggestion? or, better, change the api and and the default behavior (with a PR)? | 22:50 | |
tellable6 | tbrowder, I'll pass your message to tonyo_ | ||
tbrowder | wow, i see tonyo just took care of 2 issues as i asked him about a new one! what a meeting of interests! | 22:53 | |
i don't know why jmerelo hasn't been on irc in a long time, but i know he is very busy with his $dayjobS (note the plural) | 22:56 | ||
i wish he were here to talk about public-facing docs. i still don't like it that documentable doesn't properly consider user desires of alpha sorting of topics on major groups on the Language page. | 22:59 | ||
imho, it's a major design flaw. | 23:00 | ||
23:01
dogbert11 joined
|
|||
Geth | doc/special-chars-in-char-ranges: 9741c66cc2 | (Daniel Sockwell)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6 Explain behavior of non-alphanumerics in <[ ]> The docs previously mentioned that you can use \ to escape characters inside <[ ]> ; this commit adds the fact that you don't need to escape most non-alphanumeric characters the way you do in the portion of a regex outside <[ ]> and that you must escape (rather than quote) characters inside <[ ]> for them to have their literal meaning. |
23:02 | |
doc: codesections++ created pull request #3948: Explain behavior of non-alphanumerics in <[ ]> |
23:03 | ||
23:14
tejr left
23:15
tejr joined
|