🦋 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.
01:04 kylese left, kylese joined 01:05 ACfromTX left 01:06 MasterDuke joined 01:11 hudo_ left 01:12 hudo_ joined, hudo_ left 01:14 hudo_ joined 01:28 soverysour joined 01:33 soverysour left
[Coke] would be nice if this expensive macbook air didn't get stuck in sleep mode once a day making me reboot it. 01:36
02:02 hulk joined 02:03 kylese left 02:15 hulk left, kylese joined
antononcube @Coke Maybe macbook-air has been in the air too much? (Or about to be in the air for too long...) 02:46
kybr m: $_ = '<h2 id="foo">Foo</h2> <h2 id="bar">Bar</h2>'; for m:g/ '<h2 id=' $<id>=[.*?] '>' $<title>=[.*?] '</h2>' / { say $/<id> } 03:03
camelia Type List does not support associative indexing.
in block <unit> at <tmp> line 1
kybr what am i doing wrong here?
i want to get at the capture named 'id' in the match 03:04
antononcube @kybr You missed the * -- should be [.*?] . 03:10
Here is the modified code: $_ = '<h2 id="foo">Foo</h2> <h2 id="bar">Bar</h2>'; for m:g/ '<h2 id=' $<id>=[.*?] '>' $<title>=[.*?] '</h2>' / { say $/»<id> } 03:12
Gives: (「"foo"」 「"bar"」) (「"foo"」 「"bar"」)
@kybr Note I replaced $/<id> with $/»<id>. 03:14
kybr thanks. one thing. why does it print a list, twice? 03:21
my understanding is that this code should not give a list in the body of the for loop. this should print "foo" and then "bar" 03:24
antononcube Well, without the :global option you get that. 03:29
kybr m: $_ = '<h2 id="foo">Foo</h2> <h2 id="bar">Bar</h2>'; for m/ '<h2 id=' <(.*?)> '>' <(.*?)> '</h2>' / { say $/ } 04:04
camelia 「Foo」
kybr this match has two captures. why does only the second get captured. shouldn't there be a list?
04:20 eseyman left 05:41 Sgeo left, manu_ joined, kjp left 05:42 manu_ is now known as eseyman, kjp joined 05:55 soverysour joined 05:59 thaewrapt left 06:10 thaewrapt joined 06:16 thaewrapt left 06:18 soverysour left 06:26 thaewrapt joined 06:34 thaewrapt left 06:45 thaewrapt joined 06:52 thaewrapt left 07:04 thaewrapt joined 07:10 thaewrapt left 07:21 thaewrapt joined 07:25 Manifest0 joined 07:27 thaewrapt left 07:39 thaewrapt joined 07:44 thaewrapt left 07:50 thaewrapt joined 07:51 sivoais left 07:55 thaewrapt left 08:09 soverysour joined, soverysour left, soverysour joined 08:13 soverysour left 08:15 dakkar joined 08:20 thaewrapt joined 08:26 thaewrapt left 08:28 sena_kun joined 08:38 thaewrapt joined 08:51 thaewrapt left 09:02 thaewrapt joined 09:07 thaewrapt left 09:13 melezhik joined
melezhik hi lizmat - thanks for mentiong Sparky post in the weekly, appreate it 09:14
appreciate
09:21 thaewrapt joined, jpn joined 09:22 melezhik left
vendethiel It’s very nice indeed, lizmat++ 09:28
ab5tract m: $_ = '<h2 id="foo">Foo</h2> <h2 id="bar">Bar</h2>'; for m/ ['<h2 id=' (.*?) '>' (.*?) '</h2>'\s?]+ / { say $/ } 09:32
camelia 「<h2 id="foo">Foo</h2> <h2 id="bar">Bar</h2>」
0 => 「"foo"」
1 => 「Foo」
0 => 「"bar"」
1 => 「Bar」
ab5tract kybr: ^^^
09:37 Altai-man joined 09:39 sena_kun left 09:40 hudo_ left 09:41 hudo_ joined, hudo_ left, thaewrapt left, hudo_ joined, hudo_ left 09:43 hudo_ joined 09:44 hudo_ left 09:45 hudo_ joined 09:47 hudo joined, hudo_ left 09:55 thaewrapt joined 09:59 thaewrapt left 10:04 thaewrapt joined 10:11 jpn_ joined, MasterDuke left 10:12 jpn left 10:20 melezhik joined, sena_kun joined 10:22 Altai-man left 10:25 thaewrapt left 10:27 jpn_ left
melezhik . 10:34
10:38 thaewrapt joined 10:41 melezhik left 10:44 jpn joined 10:48 bdju left 10:51 thaewrapt left 10:52 jpn left 10:53 thaewrapt joined 10:59 bdju joined 11:00 jpn joined 11:04 melezhik joined 11:05 jpn left 11:25 soverysour joined, soverysour left, soverysour joined 12:06 melezhik left 12:20 jpn joined
Geth docker: 45e8b0ecf0 | (Daniel Mita)++ | 4 files
Bump to 2024.05
12:37
docker: 8100ecfd91 | (Anton Oks)++ (committed using GitHub Web editor) | 4 files
Merge pull request #66 from m-dango/2024.05

Bump to 2024.05
12:39 soverysour left, soverysour joined 12:51 jpn left 12:53 soverysour left, soverysour joined, soverysour left, soverysour joined
lizmat clickbaits rakudoweekly.blog/2024/06/03/2024-23-sparkling/ 12:56
13:02 jpn joined 13:16 soverysour left 13:29 soverysour joined, soverysour left, soverysour joined
[Coke] anyone know where the source of www.npmjs.com/package/rakudo isa? 13:36
tadzik possibly github.com/pmurias/make-rakudo-release? 13:39
[Coke] Was going to submit a PR to change Perl 6 to Raku, but don't know where that repo is
.seen pmurias 13:42
tellable6 [Coke], I saw pmurias 2022-12-12T11:57:12Z in #raku: <pmurias> simon.peytonjones.org/assets/pdfs/...nge-22.pdf - interesting to see the overlap with Raku junctions
14:04 bdju left 14:13 soverysour left 14:14 bdju joined
antononcube I am sorry for this ignorant and probably self-answering question: Why a rakudo version released in June indicates in its name to be created in May? 14:42
(I am preparing a presentation with/for Raku and LLMs.) 14:43
(So, I want to be precise...)
[Coke] ... do you mean 2024.05.01 ? 14:47
antononcube Yes.
[Coke] If so, historically YYYY.MM is the release month; so the point release to fix that one issue on windows is a point release of the May release, not the June release. 14:48
14:48 soverysour joined
[Coke] 2024.06 would imply an entire new release 14:48
antononcube Ok. 14:49
14:49 bdju left 14:53 jpn left 14:56 jpn joined 14:58 perlbot left 14:59 bdju joined 15:00 simcop2387 left 15:10 perlbot joined 15:28 simcop2387 joined 16:04 jpn left 16:41 dakkar left 16:46 simcop2387 left 16:48 simcop2387 joined
librasteve o/ 17:08
looks@like the stackoverflow coding survey is out stackoverflow.az1.qualtrics.com/jf...erflow.com
don’t forget to lie about your age 17:09
17:19 sena_kun left 17:21 sena_kun joined
i had to write in Raku and CommaIDE 17:22
17:25 sena_kun left 17:30 sena_kun joined
tbrowder librasteve: how do think a formed pro dev but now a hobby dev should answer the first question in the surve? 17:31
*former; *survey
17:34 sena_kun left, sena_kun joined
antononcube @tbrowder By emulating a Zoomer. 17:39
(As @librasteve suggested above.)
17:41 soverysour left 17:46 sena_kun left
librasteve please can we remove the popup from the raku docs site, I have never seen this on other websites and it is super annoying 17:47
18:06 sena_kun joined 18:07 sena_kun left, sena_kun joined 18:11 soverysour joined, soverysour left, soverysour joined 18:16 soverysour left
_grenzo Will we be able to see the results of the "Apples" question? 18:18
antononcube What is that? 18:20
_grenzo "To see if you're paying attention choose 'apples' from teh following list" 18:21
antononcube ok 🍎 18:30
18:48 soverysour joined, soverysour left, soverysour joined 18:56 haxxelotto joined 19:05 soverysour left 19:38 soverysour joined 19:43 soverysour left 19:57 soverysour joined, soverysour left, soverysour joined 19:59 haxxelotto left 20:07 soverysour left 20:12 haxxelotto joined
tbrowder antononcube: i'm looking at Lingua::Number and see you filed a couple of issues. still interested in it? i asked the owner if he would like the raku community to take it over. 20:16
i am definitely interested in it. 20:17
[Coke]: working on the doc comment...moving slowly today 20:18
antononcube @tbrowder Kind of. That package did not seem “trustworthy” to me, So, I started implementing wording numbers in “Lingua::NumericWordForms” — I didn’t go far . 20:19
To be clear, “Lingua::NumericWordForms” parses-interprets “worded” numbers from many languages, but generates “worded“ numbers only to English and Koremutake. (And Bulgarian, to a point.) 20:22
21:29 soverysour joined 21:34 soverysour left 21:43 haxxelotto left 22:08 sena_kun left
[Coke] .ask librasteve It should show up once and never again. It was designed to be as minimal as possible. Can you be more specific about what's annoying? 22:09
tellable6 [Coke], I'll pass your message to librasteve
22:10 sena_kun joined 22:18 Sgeo joined 22:50 wayland76 joined
wayland76 Hi all! Some of you may remember the trouble I was having with Signatures and Parameters which resulted in suggestions that I use RakuAST (which didn't work due to having it's own bugs). I returned to the non-AST approach, and have now filed a bug report for that too at github.com/rakudo/rakudo/issues/5591 22:52
Another question. I'm trying to support tables in Raku. I want something I can use to check if the values passed in for a Tuple/Row are of the correct types. An associative structure probably won't work well because there are no real type constraints (by name/position) on the associative array. I was planning to use Captures and Signatures for this (ie. set a signature on the Table, and pass the rows in as Captures). Is there a different approach I 22:56
should be considering?
22:58 wayland76 left 23:09 sena_kun left 23:34 hudo left 23:35 hudo joined
[Coke] when you say tables, are you referring to a particular type of data structure? 23:53