🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). 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 6 September 2022.
00:03 kdon left 00:50 jpn left 00:51 jpn joined 00:53 unicodable6__ joined 00:55 unicodable6__ left
AlexDaniel ah, nevermind my last message, it's indeed stuck in May 00:55
01:08 Manifest0 left 01:15 jpn left 01:16 jpn joined
AlexDaniel okay, that's not a 5-minute fix but I'm on it 01:19
01:32 jpn left, jpn joined 01:41 jpn left 01:47 jpn joined 01:57 AlexDaniel left 02:02 hythm joined 02:12 jgaz left, jpn left 02:13 jpn joined 02:51 jpn left 02:53 jpn joined 03:31 jpn left 03:37 jpn joined 03:46 jpn left 03:48 thowe left 04:01 thowe joined 04:07 jpn joined 04:12 jpn left 04:15 jpn joined 04:21 jpn left 04:24 jpn joined 04:32 jpn left 04:41 jpn joined 04:47 jpn left 05:01 jpn joined 05:08 jpn left 05:11 jpn joined 05:23 jpn left 05:32 jpn joined 05:41 vrurg joined 05:44 vrurg_ left 05:45 jpn left 05:50 MoC joined 05:58 jpn joined 06:04 jpn left 06:19 hythm left 06:30 jpn joined 06:32 samebchase left 06:34 samebchase joined 06:35 jpn left 06:56 MoC left 07:24 tjr left 07:25 Vyrus left 07:26 Vyrus joined 07:31 tjr joined 08:25 AlexDaniel joined 08:42 wayland joined 08:43 wayland76 left
lizmat AlexDaniel++ 08:46
08:52 jpn joined
AlexDaniel lizmat: I think there's some rendering bug in IRC logs, for example here: irclogs.raku.org/raku/2023-02-10.html#00:49 09:09
09:10 squashable6 left
lizmat yeah, that's the discord bot being naughty and splitting too long lines without prefixing the sender 09:10
09:11 squashable6 joined
lizmat if I remember correctly... or maybe the discord bot allowing strange nicks 09:12
it's a rendering bug, not a logging bug, so when I get around to looking at that again, it will get fixed :-) 09:13
thanks for the nudge though :-)
AlexDaniel lizmat: can you change the default branch in whateverable repo to `main`? 09:29
lizmat: that would make some things a tiny bit easier for me 09:30
lizmat checks
09:32 Xliff joined
Xliff \o 09:32
.seen hythm7
lizmat AlexDaniel: should be main now
tellable6 Xliff, I saw hythm7 2023-09-23T01:00:30Z in #raku: <hythm> I see. Thanks for the detailed explanation.
AlexDaniel niiiiice
Xliff lizmat: Was it you that posted about pakku in the subreddit? 09:33
lizmat no, that'd by hythm7
*be 09:34
Xliff Oh. Neat.
So I think I can start releasing through pakku
For the smaller projects, it has a bar graph. That's a start.
For the smaller projects, it has a bar graph. That's a start. 09:35
nemokosch Please share your experience if you do 09:43
AlexDaniel Xliff: 🤗 09:49
09:55 lichtkind joined 10:09 Sgeo left 10:16 Manifest0 joined 10:34 jpn left 10:35 jpn joined
Xliff Soo.... how would I get stared? 10:40
s/stared/started/
10:43 Xliff left
nemokosch lol 10:43
10:49 jpn left 10:50 jpn joined 10:58 Xliff joined
Xliff Raku-GLib suite timing statistics for Raku 2023.08.277.g.9866.e.7.a.1.fc 10:58
Using the following processor: 13th Gen Intel(R) Core(TM) i9-13900K
Total number of projects: 34 (517467 loc)
Total non-parallel compile times: 7566.560 (222.546 avg)
Total parallel compile times: 1210.950 (35.616 avg) 6.248x speedup
11:17 ProperNoun joined 11:22 jpn left, ProperNoun left, ProperNoun joined 11:30 jpn joined 11:36 jpn left, teatwo left 11:37 ublx joined, teatwo joined 11:38 teatwo left, jpn joined, teatwo joined
Xliff Seeking package names. My existing code is titled GLib. I know MM has the Gnome:: namespace locked up and don't want to step on his toes. 11:41
So suggestions for a rename... and I'll have to postpone release until I can make the change for the module and test those changes.
11:44 jpn left
lizmat why is a rename necessary ? What's wrong with GLib ? 11:51
Xliff Hmmm... good point.
OK. I hope to release sometime today. I have to nap. 11:52
11:52 jpn joined 11:58 jpn left 11:59 jpn joined 12:05 derpydoo left 12:09 jpn left 12:16 ProperNoun left, ProperNoun joined 12:18 jpn joined, linkable6__ joined, shareable6__ joined, unicodable6__ joined 12:23 jpn left
AlexDaniel omg 12:23
they joined
u: ∞
unicodable6__ AlexDaniel, U+221E INFINITY [Sm] (∞)
unicodable6 AlexDaniel, U+221E INFINITY [Sm] (∞)
AlexDaniel ⚠️ Whateverable bots will be down for some time (pessimistically up to 2 days). I'm moving things to the new server. Sorry for the inconvenience! ⚠️ 12:25
12:26 unicodable6__ left, squashable6 left, bisectable6 left, releasable6 left, benchable6 left, statisfiable6 left, bloatable6 left, evalable6 left, reportable6 left, notable6 left, quotable6 left, unicodable6 left, linkable6 left, shareable6 left, committable6 left, tellable6 left, sourceable6 left, greppable6 left, coverable6 left, nativecallable6 left, unicodable6_ joined
lizmat ++AlexDaniel 12:26
AlexDaniel u: ∞
unicodable6_ AlexDaniel, U+221E INFINITY [Sm] (∞)
AlexDaniel this one is from the new server actually, so maybe it'll be quick and easy 12:27
lizmat that would even be cooler :-) 12:28
AlexDaniel the data is already transferred, I just need to set up the volumes for the containers, and then it should just work 12:29
12:32 jpn joined
Xliff Hmmm... 12:37
Mi6 keeps renaming my project to "GLib-Env" ... wonder why that is. 12:38
lizmat you mean without the :: ? 12:41
some filesystems don't like :: in filenames, I think that's why
Xliff No. The ::Env is getting added. 12:43
The project's name is GLib
Not <A>::GLib (where <A> is Arbitrary) as I suspect.
12:43 jpn left
Xliff Maybe NativeCall::GLib, then? 12:44
12:48 unicodable6_ left, shareable6__ left, linkable6__ left 12:52 jpn joined 12:56 jpn left 13:05 jpn joined 13:12 jpn left
ugexe it does `git ls-files` and then greps out the first with a raku module extension 13:12
13:15 derpydoo joined 13:20 jpn joined
ugexe i wonder if we should include github.com/ugexe/Raku-CompUnit--Repository--Lib in the core and punt on handling how different file systems treat file names. on the one hand you wouldnt be able to have a module named like an emoji, or have A.rakumod and a.rakumod ""just work"" on a case insensitive file system (which technically won't work anyway because of e.g. extracting it to the file system 13:25
before install). but installed modules would retain their original human readable names, the issue with native libraries that don't work when renamed would be fixed (like openssl on windows), and people could even install modules by just directly extracting an archive into a installation directory
13:27 jpn left
lizmat ugexe: feels like either a PR or a problem solving issue to me 13:35
13:35 jpn joined 13:41 jpn left 13:49 jpn joined 13:54 jpn left 13:57 sena_kun joined
Xliff ugexe: How can I stop that behavior? 14:01
And after a check on `git ls files`, it's not the first file with a .pm6
14:03 jpn joined
ugexe github.com/skaji/mi6/blob/5a30afa5...#L406-L441 14:04
yeah i read it wrong, it only does that if there is a single file. but you can read the logic there to see how it picks 14:05
Xliff Thanks!
14:08 jgaz joined 14:09 jpn left
Xliff ugexe++: I just had to create a file called lib/GLib.pm and that solved it. Thanks! 14:13
OK, so now released to CPANC/CB/CBWOOD 14:17
OK, so now released to CPAN: C/CB/CBWOOD/GLib-0.0.1.tar.gz
14:18 jpn joined
Geth ecosystem/main: 489156653b | (Elizabeth Mattijsen)++ | META.list
Remove FROGGS modules that have been moved to community modules

To prevent the p6c harvester picking up on any changes before a release is done to the zef ecosystem. Current versions of these modules remain available for installation through the REA.
14:19
14:24 jpn left 14:33 jpn joined 14:34 rf joined 14:36 ublx left, Xliff left 14:39 jpn left 14:48 jpn joined 14:54 jpn left
rf Holy moly that Stack Overflow comment from the Pythonista was quite heated haha 15:00
15:09 jpn joined
ugexe github.com/Raku/problem-solving/issues/386 15:09
lucs rf: Link?
ugexe one of their comments was flagged and removed too :P 15:10
rf ugexe++ for saying what needed to be said haha 15:11
Trying to convert some perl regex to Raku, qr/(?:^|\s)site/, I'm far from a Regex wizard, after removing 'qr' I get "Quantifier quantifies nothing", what can I do here? 15:13
ugexe rx/ ^^ | \s 'site' / 15:14
that whats chatgpt told me
rf That seems to have done it, thanks! 15:16
15:19 jpn left 15:25 rf left 15:28 jpn joined 15:34 jpn left 15:42 jpn joined
antononcube @rf Can you post a link? 15:43
15:46 Manifest0 left 15:48 jpn left 15:56 jpn joined 15:58 MoC joined 16:00 MoC left 16:02 jpn left 16:11 jpn joined
nemokosch > (1..3).contains( 2&3 ).say; # OUTPUT: «all(True, True)␤» 16:12
And why exactly does the documentation contain code like this...
It is a trap 16:13
16:17 jpn left 16:26 jpn joined 16:32 jpn left 16:46 jpn joined
lizmat nemokosch yeah, looks like a doc issue is in order 16:52
16:52 jpn left 17:01 jpn joined 17:06 jpn left 17:15 jpn joined 17:22 jpn left 17:31 jpn joined 17:38 jpn left 17:47 jpn joined 17:52 jpn left 18:00 jpn joined
nemokosch I can fix it once I get an okay idea for an alternative... 18:34
18:38 deoac joined 18:53 Sgeo joined 19:04 jpn left
There it goes 19:05
kept the method, changed the data to something more... stringy
19:06 jpn joined 19:30 deoac left 19:35 jpn left 19:36 jpn joined 19:59 deoac joined 20:17 jpn left 20:21 Manifest0 joined 20:30 jpn joined 20:36 teatwo left, teatwo joined 20:47 jpn left 20:53 jpn joined 20:55 evalable6 joined
AlexDaniel .say for ^1000 20:57
evalable6 0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
AlexDaniel, Full output: gist.github.com/a30dd4de433e83b3c6...dece7df754
20:57 evalable6 left
nemokosch lol, these haven't been used for quite a while 21:11
21:19 jpn left 21:47 jgaz left 21:54 lichtkind left
AlexDaniel is there some kind of known libssl issue or something? I'm trying to get Pastebin::Gist to work and it just doesn't. I'm using the example here: github.com/raku-community-modules/...t#synopsis 21:58
right now it just hangs on `$p.paste("<foo>bar</foo>")`
but before that I was getting Error 422: 422 Unprocessable Entity (WebDAV) 21:59
I know that this is not enough context, but maybe it rings a bell for someone 22:00
nemokosch all I remember is that the token system changed or something 22:01
AlexDaniel the old bot is working just fine with the same token, I'm trying to start it up in a docker container
I'm using rakudo-star image that is based on debian 22:02
I've just tried that same script locally and it works :( 22:03
ugexe which version of openssl.so do you have 22:05
like openssl 1.1.1 or whatever was EOL on september 11 22:06
AlexDaniel in both cases OpenSSL 3.0.9 30 May 2023 (Library: OpenSSL 3.0.9 30 May 2023)
ugexe so its possible your system installed some major version that isnt compatible with raku openssl (which is based on the older major version)
AlexDaniel hmmm
ugexe i dunno if thats what is actually causing it, but i've been expecting that EOL to eventually break stuff in the raku ecosystem 22:07
www.openssl.org/docs/man3.0/man7/m...guide.html 22:11
22:22 teatwo left
AlexDaniel uhhh I'm seeing something completely weird. If the access token is right, then `$p.paste("hello world")` hangs indefinitely 22:23
the script itself mostly keeps running, I tried `start loop { sleep 1; say "hello" };` and that seems to work 22:24
coleman Maybe try adding a newline, e.g. "<foo>bar</foo>\n" 22:29
AlexDaniel that doesn't help, no. I'm now waiting with a hope that there is actually a timeout of sorts 22:35
and it's not just hanging
oh, it's using 100% cpu, nice 22:36
ok dammit, but it's in docker so I must have a neat reproduction… let's see… 22:43
yeah, I can reproduce it 22:51
Here: gist.github.com/AlexDaniel/5c25e32...c5695801de 22:54
I've running circles around that issue for hours so any help will be appreciated 22:57
been*
23:00 ProperNoun left
ugexe I’m on my phone but I’d try modifying pastebin gist to point at some local host that just prints what it receives. Or use wireshark 23:01
then again with 100% cpu it probably isn’t network related eh
coleman I'd consider shelling out to curl 23:03
AlexDaniel coleman: sorry? 23:04
coleman I mean to say, remove the dependency on the gist library entirely 23:05
AlexDaniel that's… not entirely helpful in the long run
23:15 wayland left 23:20 jpn joined 23:25 jpn left
coleman I have reproduced your 100% CPU bug 23:27
AlexDaniel I think it's a rakudo regression, I'm trying to confirm it
if only there was a tool (or a bot) to confirm that quickly… 23:29
23:32 jpn joined
AlexDaniel confirmed working on Rakudo v2022.12-1-gd52342eb0, also working in rakudo-star 2022.12, also working in rakudo-star 2023.02, broken on 2023.08, it's a Rakudo regression 23:35
perhaps you don't even need docker to reproduce 23:36
sorry, rakudo-star 2022.12 is a potato, please ignore it
broken in 2023.04 23:40
good=2023.02, bad=2023.04 – that's as far as I can bisect right now 23:41
23:41 guifa joined
AlexDaniel pinning whateverable to 2023.02 for now… hopefully that'll allow me to move forward 23:42
coleman Cool. An strace on the container build seems to indicate a low-level network/poll issue 23:43
I do wonder if it's specific to when crypto is involved 23:44
23:51 Manifest0 left 23:52 jpn left 23:53 jpn joined 23:59 jpn left