🦋 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. If you're a beginner, check out the #raku-beginner channel! Set by lizmat on 16 August 2021. |
|||
00:02
reportable6 left
00:06
linkable6 joined
|
|||
[Coke] | should baghash have an .add that lets you specify a weight? | 00:23 | |
ah, you just treat $baghash<key> as a LHV. nevermind. | 00:24 | ||
vrurg | [Coke]: I'd also try adding a Pair. It feels natural that it should work. | 00:26 | |
m: my %h is BagHash; %h.add: :a(pi); say %h.raku | 00:28 | ||
camelia | Too few positionals passed; expected 2 arguments but got 1 in block <unit> at <tmp> line 1 |
||
vrurg | m: my %h is BagHash; %h.add: "a" => pi; say %h.raku | ||
camelia | (:a(3.141592653589793e0)=>1).BagHash | ||
[Coke] wonders how he never got sucked into project euler before. | 00:44 | ||
01:04
reportable6 joined
02:04
reportable6 left,
linkable6 left,
evalable6 left
02:05
linkable6 joined
02:07
reportable6 joined
02:09
neshpion joined
|
|||
perryprog | [Coke] ack why'd you have to remind me, now I'll have to start doing it again | 02:39 | |
02:54
lucasb left
03:06
evalable6 joined
04:01
neshpion left
04:25
simcop2387 left,
perlbot left
04:26
perlbot joined,
simcop2387 joined
04:52
Sgeo left
04:54
Sgeo joined
05:20
nebuchadnezzar joined
06:02
reportable6 left
06:03
reportable6 joined
06:37
Sgeo left
06:48
abraxxa joined
06:52
abraxxa left
06:54
abraxxa joined
06:58
abraxxa left
06:59
abraxxa joined
07:20
dakkar joined
08:20
linkable6 left,
evalable6 left
08:21
linkable6 joined
08:30
Kloi joined
08:31
Kloi left
08:38
guer joined
08:57
guer left
09:57
linkable6 left
10:11
bdju left
10:12
bdju joined
10:30
bdju left,
bdju joined
10:44
bdju left
10:45
bdju joined
10:50
jaguart left
10:51
jaguart joined
10:53
bdju left,
bdju joined
10:59
linkable6 joined
11:03
bdju left,
bdju joined
|
|||
lizmat hopes everybody is having a good time while on vacation :-) | 11:07 | ||
11:16
frost joined
11:22
evalable6 joined
11:58
Juerd left
|
|||
moritz_ | weather sucks, otherwise cannot complain :D | 11:58 | |
lizmat | yeah... it's pretty boring, slightly depressing weather here | 12:00 | |
not quite dry, overcast, windy | |||
if I wouldn't know any better, I would think autumn already started | |||
12:01
ChanServ sets mode: -o lizmat
12:02
reportable6 left
|
|||
jdv | sounds like decent sailing weather. id rather be. stuck doing stupid $work stuff:( | 12:26 | |
12:43
frost left
12:45
Xliff joined
|
|||
moritz_ | well, we had winds at beaufort 5-7, too windy for me to sail (at least on the sea, after not having done any sailing for the past 12ish years) | 12:47 | |
12:48
squashable6 left
12:51
squashable6 joined
|
|||
jdv | yeah, 7 is pushing it. | 12:51 | |
moritz_ | even 6 is stressful | 12:55 | |
jdv | can be. can be exciting too. | 12:59 | |
13:10
guer joined
|
|||
lizmat | yeah, getting hit by the boom :-) | 13:11 | |
dakkar | that's why they call it boom, because of the sound it makes against one's head | 13:12 | |
13:12
Juerd joined
|
|||
guer Rolls a 6 sided dice and gets 4 | 13:18 | ||
lizmat | m: say (1..6).roll | 13:19 | |
camelia | 1 | ||
lizmat | you beat me! | ||
guer | :-) Just tryiing to figure out how I can get a grip of all the thngs You can do here without bother you all ... | 13:20 | |
i.e. is there a secret/hidden option or something like it? | 13:22 | ||
lizmat | you can privmsg camelia | ||
same syntax as here | |||
m: say "hello guer" | |||
camelia | hello guer | ||
guer | privmsg m: say "hi" | 13:23 | |
camelia: say "am i alone?" | 13:24 | ||
hmm, those things above got saved forever in the live log ... | 13:27 | ||
codesections | camelia: help | 13:28 | |
camelia | codesections: Usage: <(rakudo-jvm|debug-cat|nqp-jvm|nqp-js|p5-to-p6|star-m|prof-m|rakudo-moar|nqp-moarvm|r-j|rm|m|p56|star|nqp-m|r|nqp|nqp-q|r-jvm|p6|rj|rakudo|nqp-mvm|master|r-m|sm|perl6|j)(?^::\s(?!OUTPUT)) $perl6_program> | ||
lizmat | he... that needs updating :-) | 13:29 | |
13:35
Sgeo joined
13:40
abraxxa left
|
|||
Altreus | what the heck :D | 13:40 | |
13:46
guer left
13:59
guer joined
14:05
guer left,
reportable6 joined
15:05
linkable6 left,
evalable6 left,
linkable6 joined
15:07
evalable6 joined
15:16
RandalSchwartz joined
15:19
wingfold joined
15:33
RandalSchwartz left
15:48
dogbert17 joined
|
|||
grondilu | ping | 15:51 | |
15:59
wingfold left
16:07
mattil joined
|
|||
[Coke] | pong. | 16:08 | |
16:23
grondilu joined
|
|||
grondilu | nevermind I was about to ask where is the new IRC server but I remembered it's indicated on raku.org/community/irc | 16:28 | |
Altreus | a new one? | 16:35 | |
This confusion brought to you from libera.chat | |||
grondilu | nah I meant new as opposed to freenode | 16:42 | |
I only learned recently about the events there | |||
[Coke] | ugh. if I have a 2D array, is there really no way to extract a row from it? (Everything I'm trying complains about partially dimensioned views except for a single cell) | 16:43 | |
grondilu | depends how you define your array. IIRC there are quite a few ways to define one in raku | 16:45 | |
ugexe | @a[$row;*] ? | 16:46 | |
[Coke] | m: my @a[2;2] = [1,2;3,4]; dd @a[0;*] | 16:47 | |
camelia | Partially dimensioned views of shaped arrays not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
[Coke] | m: my @a[2;2] = [1,2;3,4]; dd @a[0;0] | ||
camelia | Int element = 1 | ||
[Coke] | m: my @a[2;2] = [1,2;3,4]; dd @a[0;0..1] | ||
camelia | Partially dimensioned views of shaped arrays not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
[Coke] | m: my @a[2;2] = [1,2;3,4]; dd @a[0;0..*] | 16:48 | |
camelia | Partially dimensioned views of shaped arrays not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
perryprog | At least it apologizes. | ||
[Coke] | m: my @a[2;2] = [1,2;3,4]; dd @a[*;0] | ||
camelia | Partially dimensioned views of shaped arrays not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
16:48
dakkar left
|
|||
[Coke] | m: my @a[2;2] = [1,2;3,4]; dd @a[0]; # last one | 16:49 | |
camelia | Partially dimensioned views of shaped arrays not yet implemented. Sorry. in block <unit> at <tmp> line 1 |
||
[Coke] | I'm just wasting time on euler, but would be nice if I didn't have to do the 2d <-> 1d conversion math on this array. | 16:51 | |
16:53
Xliff left
17:11
b2gills left
17:12
b2gills joined
17:25
squashable6 left
17:27
mattil left
17:39
squashable6 joined
17:56
squashable6 left
17:59
squashable6 joined
18:02
reportable6 left
18:16
Manifest0 left
|
|||
codesections | [Coke]: it's just the combo with _explicit_ shapes that's NYI | 18:21 | |
m: my @a = [1,2; 3,4]; dd @a[*;0] | 18:22 | ||
camelia | (1, 3) | ||
19:16
evalable6 left,
linkable6 left
19:18
linkable6 joined
19:26
melezhik joined
|
|||
melezhik | hi! | 19:26 | |
Uploaded file: uploads.kiwiirc.com/files/da449c6a...t-raku.png | 19:27 | ||
if someone has a medium account they might be interested in giving their feedback to one Raku/Perl skeptic :] | 19:28 | ||
medium.com/opsops/choosing-between...2a9329b3ec | |||
lizmat doesn't have a medium account, only a small one :-) | 19:35 | ||
melezhik | lizmat if this "the medium" account the small one will be enough | 19:36 | |
lizmat | alas, it is not :-) | ||
melezhik | no worries, I will stand for Raku there, trust me ))) | 19:37 | |
lizmat | ++melezhik | ||
El_Che | good evening of good * | 19:49 | |
or | |||
gfldex | is there any way to make a EXPORTHOW dynamic? | 19:55 | |
20:00
sgrs_ joined
20:02
sgrs_ left
|
|||
moritz_ | haven't tried it, but it's just a hash, no? you could bind a custom class to it that implements hash-y / associative interface | 20:17 | |
gfldex | It's a Seq in a Package. | 20:27 | |
And World.nqp wants a nqp-hash at some point. | 20:47 | ||
gfldex puts his hardhat on | 20:48 | ||
21:02
linkable6 left
21:04
linkable6 joined
21:25
Manifest0 joined
|
|||
melezhik | weekly: dev.to/melezhik/oh-my-tomtit-alter...-raku-4oc5 | 22:20 | |
notable6 | melezhik, Noted! (weekly) | ||
moon-child | 'Unlike ohmyzsh plugins, Tomtit plugins could be written not just on Bash' I'm pretty sure that ohmyzsh plugins are written in ... zsh | 22:22 | |
melezhik | oh, good point, technically, many of them are Bash compatible, but to have an accurate statement, yeah, they are written on zsh, will update my post, thanks | 22:23 | |
"Unlike ohmyzsh plugins which are written on Zshell, Tomtit plugins could be written on similar Bash and many other languages, supported by Sparrow ( on which the Tomtit is built on )" - is it better? | 22:24 | ||
^^ moon-child | |||
22:25
linkable6 left
22:27
linkable6 joined
22:30
melezhik left
22:35
vasko left
22:39
vasko joined
22:40
monkey_ joined
22:45
monkey_` joined,
monkey_` left
22:46
monkey_` joined
22:47
monkey_` left
22:48
monkey_ left
23:04
melezhik joined
|
|||
melezhik | I've started discussion on yc as well - news.ycombinator.com/item?id=28227881 , feel free to put your comments here | 23:04 | |
23:17
evalable6 joined
23:30
vasko left,
vasko joined
|