🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:06 xinming_ left, xinming_ joined 00:14 BenGoldberg joined 00:27 frost-lab joined 00:48 Zero_Dogg left 00:49 Zero_Dogg joined 01:02 aindilis left 01:05 aindilis joined 01:20 Xliff left
sxmx tyil: I liked your IRC bot article. 02:10
02:20 linkable6 left, evalable6 left, vgrato_ joined 02:21 evalable6 joined, molaf left 02:22 linkable6 joined 02:31 Chi1thangoo left 02:33 molaf joined 02:58 seanrobert joined 03:09 vgrato_ left 03:15 BenGoldberg left 03:25 seanrobert left 03:26 vgrato_ joined 03:28 BenGoldberg joined 03:48 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 03:56 Xliff joined 04:13 BenGoldberg left 04:14 DarthGandalf left 04:16 DarthGandalf joined 04:23 skids joined 04:29 skids left 04:40 Xliff left 04:48 bdju left 04:49 bdju joined 04:51 wamba joined 05:14 Xliff joined
Geth ecosystem: hythm7++ created pull request #557:
Add new module Retry
05:16
05:19 Xliff left 06:18 parabolize left 06:20 andrzejku joined 06:31 cpan-raku left 06:32 gordonfish left, cpan-raku joined, cpan-raku left, cpan-raku joined 06:34 andrzejku left 06:37 sena_kun joined 06:39 jmerelo joined 06:41 molaf left 06:44 jmerelo left 07:04 BenGoldberg joined
xinming_ today, I just realized that in raku, Nil is diffferent from Any 07:20
07:24 BenGoldberg left 07:34 Sgeo left 07:37 sxmx left 07:43 sxmx joined
tyil sxmx: :D 07:48
07:58 ufobat joined
sxmx /mouse enable 08:08
sorry
tyil sxmx: nice cloak, are you actually in Amsterdam? 08:14
sxmx No US, freebsd.amsterdam does freebsd vms where they donate proceeds to openbsd 08:15
openbsd.amsterdam
tyil ah, too bad
we used to have monthly perl+raku meetups at my work before the 'rona in Amsterdam 08:16
(and intend to bring it back after, whenever that may be)
might've been fun if you're looking for more Raku in your life
sxmx Hopefully sooner in Europe's case. It's going to take a while over here 08:17
tyil we can only hope, sadly
here many people seem to not care, still 08:18
sxmx we just had our biggest day friday 08:19
for infections that is 08:20
08:20 jmerelo joined
tyil we got it hopping between animals and people, apparently 08:20
specifically minks in mink farms 08:21
08:21 aluaces left
sxmx ah, at least it's not pet/food livestock 08:22
tyil I certainly hope not
08:39 sxmx left 08:53 sxmx joined 09:08 xinming_ left
Geth doc: 2403170f0c | (Patrick Böker)++ (committed by Juan Julián Merelo Guervós) | 2 files
Rework object construction documentation

This is mostly a rewording and restructuring of the previous material with the aim of being clearer and easier to understand.
Also several statements that I believe to be false have been corrected:
... (8 more lines)
09:09
09:10 xinming_ joined 09:11 pecastro joined 09:21 Altai-man joined 09:24 sena_kun left 09:36 aluaces joined 09:42 natrys joined 10:11 rindolf joined 10:15 BenGoldberg joined 10:28 pecastro left 10:33 BenGoldberg left 10:37 sxmx left, sxmx joined 10:58 natrys left
Geth doc: 77a673648f | (JJ Merelo)++ | highlights/package.json
Updates to fix vulnerabilities
11:02
cpan-raku New module released to CPAN! Text::MathematicalCase (0.0.4) by 03ELIZABETH
Doc_Holliwood how do i put a shaped coordinate into a variable? 11:06
as in my @a[2;2] = <a b>, <c d>; say @a[1;1]
how do i put 1;1 into a variable so @a[$x] works? 11:07
i tried to use a Pair but that did not work :/
lizmat Doc_Holliwood: you can't at the moment, there's a PR to support that in the future 11:20
github.com/rakudo/rakudo/pull/3953 to be precise
in fact, I just merged it 11:22
Geth ecosystem/JJ-patch-1: 7ce7c751c7 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Release last version to the ecosystem
11:30
ecosystem: JJ++ created pull request #558:
Release last version to the ecosystem
Doc_Holliwood I see, ty 11:40
11:41 patrickb joined 11:57 Chi1thangoo joined 11:58 xinming_ left 11:59 xinming_ joined 12:10 DarthGandalf left 12:14 DarthGandalf joined, xinming_ left 12:15 xinming_ joined
Geth doc: 608ad830b6 | Coke++ | xt/pws/code.pws
new class name in code example
12:17
doc: 1e8ee5b903 | Coke++ | doc/Language/objects.pod6
fix preamble so example compiles
linkable6 Link: docs.raku.org/language/objects
12:19 Doc_Holliwood left 13:00 donaldh joined 13:01 jmerelo left 13:07 gordonfish joined
lizmat And yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/10/26/2020-...-and-star/ 13:18
perryprog That second challenge looks fun 13:22
13:22 sena_kun joined 13:24 Altai-man left 13:25 BenGoldberg joined
perryprog Wait lizmat, you're the Rakudo weekly author? 13:31
lizmat eh, yeah, usually :-)
perryprog Oh heck, I didn't even realize! Thank you so much for your work on that, it's one of my favorite parts of the Raku community! 13:32
<3
lizmat glad to hear that :-)
13:41 xinming_ left, patrickb left 13:43 xinming_ joined 13:45 Sgeo joined, aborazmeh joined, aborazmeh left, aborazmeh joined 13:46 sena_kun left 13:57 lucasb joined 13:59 bioexpress joined 14:00 frost-lab left, BenGoldberg left 14:01 skids joined
bioexpress Hello, `choose-multi` from `Term::Choose` returns the chosen elements as an Array. Is that OK or should it return the chosen elements as a List? 14:07
lizmat do you want the returned array to be mutable ? 14:08
14:14 tejr left 14:16 tejr joined 14:20 perryprog left, aborazmeh left, perryprog joined
bioexpress lizmat, what does that mean? 14:21
lizmat should you be able to change the values in the array that is returned, or should they be considered constants
bioexpress I am not shure. 14:23
moritz IME it doesn't usually make much of a difference 14:26
14:27 skids left
bioexpress Maybe it is the best to keep it as it is (Array), so I don't have to break backwards compatibily. 14:27
tyil lizmat++
Altreus I would say the calling code takes ownership of the response, and therefore it is fine for it to be mutable
I can imagine a situation where a substitution would be applied over the results, for instance
14:28 epony left
lizmat Altreus: this doesn't matter in anything like: my @a = Term::Choose.choos-multi 14:29
it would only make a difference in something like: for Term::Choose.choose-multi { $_ = 42 } 14:30
and that would be rare, I think
Altreus well when the choices are "break" or "do nothing"... 14:33
lizmat well, I would vote for break in this case, as apparently the user has a wrong idea of what is going on there 14:34
Altreus agreed 14:37
feels like some kind of sink context to me 14:38
although the array itself isn't sunk ... nothing is being done
Can you make an array that's immutable unless it's put somewhere? :/ 14:39
lizmat but if it's put somewhere, it does not need to be mutable ?
Altreus I mean if I do my @a = Term::Choose.choose-multi, then I want @a to be mutable 14:41
rather, its items
Because if I do the for example, I want it not to be, since mutating it will have no effect
lizmat yeah, but in that case it doesn't matter whether it returns an Array or a List
Altreus oh, yes that's the difference
I lost sight of that :D
I got stuck on mutable vs immutable array
14:50 domidumont joined 14:53 parabolize joined 14:59 epony joined 15:00 bioexpress left 15:09 xinming_ left 15:10 xinming_ joined
[Coke] m: dd <a b>, <a> 15:24
camelia ("a", "b")
"a"
[Coke] m: dd <a b>, <a,>
camelia ("a", "b")
"a,"
[Coke] is there a way to use <> but get a single item list? 15:25
moritz m: dd <a > 15:26
camelia "a"
moritz [Coke]: don't think so 15:27
[Coke] ok
Altreus Oh I don't like that at all 15:29
seems bizarre not to always be a list
lizmat m: dd < a > 15:34
camelia "a"
[Coke] m: dd qw/a/; 15:41
camelia "a"
[Coke] m: dd qw/a b/;
camelia ("a", "b")
15:46 perryprog left 15:47 perryprog joined 15:59 xinming_ left 16:00 xinming_ joined 16:20 xinming_ left 16:22 xinming_ joined, sena_kun joined 16:27 thundergnat joined
thundergnat dd <a>.list 16:27
evalable6 ("a",)
thundergnat The single argument rule is very useful but there are odd corners where it bites you. 16:28
[Coke] m: dd <a b>.list 16:29
camelia ("a", "b")
[Coke] mmm. could do that if I really want the <> syntax, thank you
thundergnat I was iterating through arrays of Ranges and had to special case for arrays with only one element because of single arg. Not a problem once I figured it out, but very surprising initially. 16:30
16:32 skids joined 16:34 thundergnat left 16:49 epony left 16:52 BenGoldberg joined, domidumont left 16:56 molaf joined 17:03 natrys joined 17:24 wamba left, wamba joined 17:26 BenGoldberg left 17:37 wamba left
Altreus I feel like this is less useful than its consistency would have you believe 17:37
mind you, you're unlikely to have a variable in there so at least it won't trip you up at runtime 17:38
17:52 wamba joined 18:03 epony joined 18:04 xinming_ left, xinming_ joined 18:16 xinming_ left 18:18 xinming_ joined
[Coke] makes the mistake of reading some political posts on FB 18:18
[Coke] nopes right out
18:22 bocaneri left 18:24 wamba left
jdv79 of reading political soc med type stuff or fb altogether? 18:24
18:35 xinming_ left 18:37 xinming_ joined, wamba joined 18:49 xinming_ left, xinming_ joined 18:55 xinming_ left 18:56 xinming_ joined
[Coke] I'm stuck on FB, only way to communicate with some friends/family. I just closed the window for now. 18:59
19:07 aborazmeh joined, aborazmeh left, aborazmeh joined
gfldex lolibloggedalittle: gfldex.wordpress.com/2020/10/26/pl...olescence/ 19:19
19:36 reach_satori joined 19:49 reach_satori left, Doc_Holliwood joined, reach_satori joined 20:07 Altai-man joined 20:10 sena_kun left 20:12 Black_Ribbon joined 20:17 MasterDuke joined 20:18 BenGoldberg joined 20:27 natrys left 20:28 natrys joined 20:30 skids left 20:32 rgerr joined 20:34 rgerr left 20:35 epony left 20:44 aborazmeh left 20:45 MitarashiDango[m left, moony left, m_athias left, albino left, hobbs left, hobbs joined, hobbs left, hobbs joined, m_athias joined, epony joined, albino joined 20:46 moony joined 20:51 BenGoldberg left 20:52 MitarashiDango[m joined 21:10 dmc00 left 21:12 ufobat left 21:32 natrys left 21:38 mojca joined 21:39 mojca left 21:42 mojca joined, mojca left 21:43 rindolf left 21:46 mojca joined 21:48 mojca left 21:50 sftp left, mojca joined 21:51 mojca left 21:53 mojca joined 21:54 sftp joined 21:55 wamba left 22:03 Xliff joined
Xliff . 22:03
\p
Er. \o
gfldex o/ 22:04
22:07 vrurg left 22:09 wamba joined
MasterDuke moon-child: i don't remember if the current jvm backend can be compiled with the graalvm compiler, but pmurias++ started a truffle version (github.com/Raku/nqp/tree/truffle) of the backend. it still needs a lot of work, but it shows impressive promise 22:11
22:12 vrurg joined
moon-child MasterDuke: cool, good to know! 22:23
22:24 skids joined 22:39 pecastro joined 22:43 Altai-man left 22:52 ape666 joined 22:56 sftp left 22:58 pecastro left 22:59 __jrjsmrtn__ joined 23:00 _jrjsmrtn left 23:02 ape666 left 23:04 cpan-raku left 23:07 cpan-raku joined, cpan-raku left, cpan-raku joined 23:08 Chi1thangoo left, Chi1thangoo joined
Doc_Holliwood weekly: www.perlmonks.org/index.pl?node_id=11123120 23:10
notable6 Doc_Holliwood, Noted! (weekly)
Doc_Holliwood a bit late perhaps
lizmat 23:11
m: say 0 <<X<< (1,2) 23:18
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing << or >>
at <tmp>:1
------> 3say 0 <<X<7⏏5< (1,2)
expecting any of:
infix
infix stopper
23:23 wamba left
SmokeMachine usercontent.irccloud-cdn.com/file/...754682.JPG 23:24
^^ usercontent.irccloud-cdn.com/file/...754692.JPG 23:25
kawaii SmokeMachine: hey I work there :D 23:29
SmokeMachine Are you guys working with Raku? 23:31
kawaii: ^^
kawaii Just me at the moment, very small internal projects and experiments. :) 23:32
23:42 BenGoldberg joined 23:45 sftp joined