🦋 Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
lizmat about 21 years ago, Wendy and I were on the first Perl Whirl 09:30
lizmat and we took a touristic tour in an old de Havilland beaver while the cruise was ashore in Ketchikan 09:30
today: www.ktoo.org/2021/08/05/searchers-...ketchikan/ 09:31
I used the picture of the cockpit in this weekly: rakudoweekly.blog/2020/09/07/2020-...ime-again/
we had excellent weather at the time 09:36
gfldex You should have kept it. Excellent weather is in short supply nowadays. :->
lizmat it's just weird how that works: a small message about something happening in a distant place, and be transported back to that day and age in a matter of moments 09:37
El_Che hi lizmat 09:41
say hi to Wendy for me
lizmat will do
CIAvash tbrowder: You're welcome 09:58
tellable6 2021-08-05T15:09:43Z #raku <tbrowder> CIAvash i used yr emacs config line and, so far, no problems with unicode fonts! thnx!
Altreus I'm often amazed at our brains' ability to recall stuff it hasn't even thought about for decades 10:36
frost m: say "hello everyone {DateTime.now}" 13:31
camelia hello everyone 2021-08-06T15:31:58.383354+02:00
frost m: say "Today is raku conference day!" 13:33
camelia Today is raku conference day!
Altreus oh it is 13:58
Good reminder
They'll never know they were appreciated :(
El_Che is there youtube channel? 14:08
sena_kun El_Che, yup, there is a link on the website 14:10
El_Che thx
El_Che "there is a long talk and a very long talk" :) 15:01
Xliff Is it possible for a trait_mod to be a method? 15:02
lizmat no, but why would that be needed ? 15:04
The First Raku Conference has started!
Daniel Sockwell about 105 C++ Algorithms in 1 line of Raku (each)
El_Che aka codesections 15:05
jdv the raku conf is being recorded, right? because of a mishap i won't be able to attend:( 15:07
El_Che it's on youtube, I don't think they´ll remove it 15:08
Xliff Where is the youtube link? 15:10
El_Che www.youtube.com/watch?v=NRl__okr8yU
Xliff Thanks!
El_Che it's on the top of the raku.org page as well
codesections . 15:11
Do we have a separate IRC channel for the Raku Conf chat, or are we using this one?
jdv should the videos exist i'll likely hit them on monday. there was a scheduling snafu - i meant to attend... 15:14
lizmat there's a raku-conf channel
Xliff #raku-conf? 15:15
lizmat yup
El_Che so, why aren't raku programmers not called rakoons?
Raccoons are not the fastest but they have very able hands :) 15:16
[Coke] Several people use that term. 15:18
El_Che damn :) 15:19
I hope someon is dressed up as The Coon at the next non-virtual Raku conf :) southpark.fandom.com/wiki/The_Coon_(character) 15:20
mykhal m: my @a = ^10; sub pred(Int $x --> Bool) { $x <= 5 && $x %% 2 }; say @a.classify(&pred){True, False} 16:08
camelia ([0 2 4] [1 3 5 6 7 8 9])
mykhal m: my @a = ^10; sub pred(Int $x --> Bool) { $x <= 5 && $x %% 2 }; say @a.classify(+(&pred)){1, 0}
camelia Cannot resolve caller Numeric(Sub+{Callable[Bool]}:D: ); none of these signatures match:
(Mu:U \v: *%_)
in block <unit> at <tmp> line 1
[Coke] I would prefer Sly Cooper. 16:09
timo codesections, im amazed you put list equality checking at the very start of the easy things, when it feels to me like its one of the most controversial topic :) 17:49
also disappointed that either zoom or youtube make some of the slides unreadable, in particular the one with the screenshot of the question near the start 17:50
totally blurred from the encoding ;
;
timo m: 18:15
timo m: (<foo bar baz>, <foo a>, <foo b>).classify(+*).&dd 18:20
camelia (my Any %{Any} = 2 => $[("foo", "a"), ("foo", "b")], 3 => $[("foo", "bar", "baz"),])
timo m: (<foo bar baz>.Slip, <foo a>.Slip, <foo b>.Slip).classify(+*).&dd 18:21
camelia Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5a' (indicated by ⏏)
in block <unit> at <tmp> line 1
timo ah slipped too early
m: my @a;(<foo bar baz>.Slip, <foo a>.Slip, <foo b>.Slip).classify(+*).&dd 18:22
camelia Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5foo' (indicated by ⏏)
in block <unit> at <tmp> line 1
timo damnit lol
m: my @a; @a.push(<foo bar baz>.Slip); @a.push(<foo a>.Slip); @a.push(<foo b>.Slip); @a.classify(+*).&dd 18:26
camelia Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5foo' (indicated by ⏏)
in block <unit> at <tmp> line 1
timo shrug
timo codesections, you said set equality implements is_permutation, but you would need bag equality so elements occuring multiple times dont get lost so different sized lists can be considered permutations of each other 18:30
lizmat 🦋 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 still being worked out
lizmat 🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). *** CONFERENCE TIME conf.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 still being worked out 18:44
timo another random aside for you codesections, hyperoperators are hyper, which is the opposite end of lazy, normally find with a lazy list will not do more work than necessary and can also wrok on infinite lists, which using hyperoperators will not allow. also, pointing the pointy end at both arguments means thne lists are allowed to be of different lengths which may not be what you want 18:54
timo there is a ncer way to spell all elements of this list except the last, which is .head(*-1) iirc 19:06
Xliff timo! 19:34
\o
timo yo
Xliff General question: Given that trait mods are implemented as multi subs, is there any way to make a trait_mod that can work using an objects attributes? 19:35
timo hm, trait mods usually run at compile time, so often you dont have like attributes of objects since instantiation often happens later 19:36
on the other hand, many cases of trait mods mix something into a type so that it can do its work at run time when that data actually is around 19:37
the answer here really is +it depends+ 19:38
now where on this keyboard do i find quotes
[Coke] belatedly buys his rakucon ticket, forgetting that his original purchase got tripped up by overeager fraud detection. 19:57
timo fraudkudo? 20:02
El_Che I supposed the Coke part didn't help
-d
[Coke] notes that the places in which he is known as Coke is basically limited to libera.chat these days 20:03
MasterDuke normally go by 'blow', 'snow', 'yeyo', eh? 20:05
El_Che El_Colombiano 20:06
timo el_guevarra 20:25
hookas_and_timow 20:29
[Coke] Wrong Coke. 20:31
I used to have the keys to the soda machine at the campus theatre.
so I could restock & make change, and was therefore very important. :)
El_Che [Coke]: great origin story 20:32
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/08/07/th...y-package/ 22:49