[00:02] *** reportable6 left [00:06] *** linkable6 joined [00:23] <[Coke]> should baghash have an .add that lets you specify a weight? [00:24] <[Coke]> ah, you just treat $baghash as a LHV. nevermind. [00:26] [Coke]: I'd also try adding a Pair. It feels natural that it should work. [00:28] m: my %h is BagHash; %h.add: :a(pi); say %h.raku [00:28] rakudo-moar 289a62f4a: OUTPUT: «Too few positionals passed; expected 2 arguments but got 1␤ in block at line 1␤␤» [00:28] m: my %h is BagHash; %h.add: "a" => pi; say %h.raku [00:28] rakudo-moar 289a62f4a: OUTPUT: «(:a(3.141592653589793e0)=>1).BagHash␤» [00:44] * [Coke] wonders how he never got sucked into project euler before. [01:04] *** reportable6 joined [02:04] *** reportable6 left [02:04] *** linkable6 left [02:04] *** evalable6 left [02:05] *** linkable6 joined [02:07] *** reportable6 joined [02:09] *** neshpion joined [02:39] [Coke] ack why'd you have to remind me, now I'll have to start doing it again [02:54] *** lucasb left [03:06] *** evalable6 joined [04:01] *** neshpion left [04:25] *** simcop2387 left [04:25] *** perlbot left [04:26] *** perlbot joined [04:26] *** 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 [08:20] *** 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 [10:30] *** bdju joined [10:44] *** bdju left [10:45] *** bdju joined [10:50] *** jaguart left [10:51] *** jaguart joined [10:53] *** bdju left [10:53] *** bdju joined [10:59] *** linkable6 joined [11:03] *** bdju left [11:03] *** bdju joined [11:07] * lizmat hopes everybody is having a good time while on vacation :-) [11:16] *** frost joined [11:22] *** evalable6 joined [11:58] *** Juerd left [11:58] weather sucks, otherwise cannot complain :D [12:00] yeah... it's pretty boring, slightly depressing weather here [12:00] not quite dry, overcast, windy [12:00] if I wouldn't know any better, I would think autumn already started [12:01] *** ChanServ sets mode: -o lizmat [12:02] *** reportable6 left [12:26] sounds like decent sailing weather. id rather be. stuck doing stupid $work stuff:( [12:43] *** frost left [12:45] *** Xliff joined [12:47] 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:48] *** squashable6 left [12:51] *** squashable6 joined [12:51] yeah, 7 is pushing it. [12:55] even 6 is stressful [12:59] can be. can be exciting too. [13:10] *** guer joined [13:11] yeah, getting hit by the boom :-) [13:12] that's why they call it boom, because of the sound it makes against one's head [13:12] *** Juerd joined [13:18] * guer Rolls a 6 sided dice and gets 4 [13:19] m: say (1..6).roll [13:19] rakudo-moar 289a62f4a: OUTPUT: «1␤» [13:19] you beat me! [13:20] :-) Just tryiing to figure out how I can get a grip of all the thngs You can do here without bother you all ... [13:22] i.e. is there a secret/hidden option or something like it? [13:22] you can privmsg camelia [13:22] same syntax as here [13:22] m: say "hello guer" [13:22] rakudo-moar 289a62f4a: OUTPUT: «hello guer␤» [13:23] privmsg m: say "hi" [13:24] camelia: say "am i alone?" [13:27] hmm, those things above got saved forever in the live log ... [13:28] camelia: help [13:28] 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> [13:29] he... that needs updating :-) [13:35] *** Sgeo joined [13:40] *** abraxxa left [13:40] what the heck :D [13:46] *** guer left [13:59] *** guer joined [14:05] *** guer left [14:05] *** reportable6 joined [15:05] *** linkable6 left [15:05] *** evalable6 left [15:05] *** linkable6 joined [15:07] *** evalable6 joined [15:16] *** RandalSchwartz joined [15:19] *** wingfold joined [15:33] *** RandalSchwartz left [15:48] *** dogbert17 joined [15:51] ping [15:59] *** wingfold left [16:07] *** mattil joined [16:08] <[Coke]> pong. [16:23] *** grondilu joined [16:28] nevermind I was about to ask where is the new IRC server but I remembered it's indicated on raku.org/community/irc [16:35] a new one? [16:35] This confusion brought to you from libera.chat [16:42] nah I meant new as opposed to freenode [16:42] I only learned recently about the events there [16:43] <[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:45] depends how you define your array. IIRC there are quite a few ways to define one in raku [16:46] @a[$row;*] ? [16:47] <[Coke]> m: my @a[2;2] = [1,2;3,4]; dd @a[0;*] [16:47] rakudo-moar 289a62f4a: OUTPUT: «Partially dimensioned views of shaped arrays not yet implemented. Sorry.␤ in block at line 1␤␤» [16:47] <[Coke]> m: my @a[2;2] = [1,2;3,4]; dd @a[0;0] [16:47] rakudo-moar 289a62f4a: OUTPUT: «Int element = 1␤» [16:47] <[Coke]> m: my @a[2;2] = [1,2;3,4]; dd @a[0;0..1] [16:47] rakudo-moar 289a62f4a: OUTPUT: «Partially dimensioned views of shaped arrays not yet implemented. Sorry.␤ in block at line 1␤␤» [16:48] <[Coke]> m: my @a[2;2] = [1,2;3,4]; dd @a[0;0..*] [16:48] rakudo-moar 289a62f4a: OUTPUT: «Partially dimensioned views of shaped arrays not yet implemented. Sorry.␤ in block at line 1␤␤» [16:48] At least it apologizes. [16:48] <[Coke]> m: my @a[2;2] = [1,2;3,4]; dd @a[*;0] [16:48] rakudo-moar 289a62f4a: OUTPUT: «Partially dimensioned views of shaped arrays not yet implemented. Sorry.␤ in block at line 1␤␤» [16:48] *** dakkar left [16:49] <[Coke]> m: my @a[2;2] = [1,2;3,4]; dd @a[0]; # last one [16:49] rakudo-moar 289a62f4a: OUTPUT: «Partially dimensioned views of shaped arrays not yet implemented. Sorry.␤ in block at line 1␤␤» [16:51] <[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: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 [18:21] [Coke]: it's just the combo with _explicit_ shapes that's NYI [18:22] m: my @a = [1,2; 3,4]; dd @a[*;0] [18:22] rakudo-moar 289a62f4a: OUTPUT: «(1, 3)␤» [19:16] *** evalable6 left [19:16] *** linkable6 left [19:18] *** linkable6 joined [19:26] *** melezhik joined [19:26] hi! [19:27] Uploaded file: https://uploads.kiwiirc.com/files/da449c6af8255a078e327a5a737bc572/perl-not-raku.png [19:28] if someone has a medium account they might be interested in giving their feedback to one Raku/Perl skeptic :] [19:28] https://medium.com/opsops/choosing-between-testinfra-and-ansible-for-tests-e52a9329b3ec [19:35] * lizmat doesn't have a medium account, only a small one :-) [19:36] lizmat if this "the medium" account the small one will be enough [19:36] alas, it is not :-) [19:37] no worries, I will stand for Raku there, trust me ))) [19:37] ++melezhik [19:49] good evening of good * [19:49] or [19:55] is there any way to make a EXPORTHOW dynamic? [20:00] *** sgrs_ joined [20:02] *** sgrs_ left [20:17] 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:27] It's a Seq in a Package. [20:47] And World.nqp wants a nqp-hash at some point. [20:48] * gfldex puts his hardhat on [21:02] *** linkable6 left [21:04] *** linkable6 joined [21:25] *** Manifest0 joined [22:20] weekly: https://dev.to/melezhik/oh-my-tomtit-alternative-to-oh-my-zshell-written-on-raku-4oc5 [22:20] melezhik, Noted! (weekly) [22:22] 'Unlike ohmyzsh plugins, Tomtit plugins could be written not just on Bash' I'm pretty sure that ohmyzsh plugins are written in ... zsh [22:23] 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:24] "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 [22:45] *** monkey_` left [22:46] *** monkey_` joined [22:47] *** monkey_` left [22:48] *** monkey_ left [23:04] *** melezhik joined [23:04] I've started discussion on yc as well - https://news.ycombinator.com/item?id=28227881 , feel free to put your comments here [23:17] *** evalable6 joined [23:30] *** vasko left [23:30] *** vasko joined