[00:02] *** reportable6 left [00:04] *** reportable6 joined [00:05] *** linkable6 joined [00:13] *** discord-raku-bot left [00:14] *** discord-raku-bot joined [00:14] *** discord-raku-bot left [00:15] *** discord-raku-bot left [00:16] *** discord-raku-bot joined [00:32] *** berber44 joined [00:46] *** berber44 left [00:56] *** Xliff left [01:56] *** linkable6 left [01:56] *** evalable6 left [01:57] *** evalable6 joined [02:00] *** euandreh left [02:14] *** ggoebel left [02:33] *** pony left [02:33] *** euandreh joined [02:34] *** pony joined [03:20] *** guifa left [03:45] *** pony left [03:46] *** pony joined [04:08] *** frost joined [04:31] *** ggoebel joined [04:56] *** linkable6 joined [05:00] *** ufobat joined [06:00] *** notable6 left [06:00] *** evalable6 left [06:00] *** bloatable6 left [06:00] *** linkable6 left [06:00] *** bisectable6 left [06:00] *** releasable6 left [06:00] *** coverable6 left [06:00] *** sourceable6 left [06:00] *** reportable6 left [06:00] *** statisfiable6 left [06:00] *** shareable6 left [06:00] *** nativecallable6 left [06:00] *** squashable6 left [06:00] *** unicodable6 left [06:00] *** benchable6 left [06:00] *** greppable6 left [06:00] *** committable6 left [06:00] *** quotable6 left [06:00] *** tellable6 left [06:01] *** releasable6 joined [06:01] *** anser joined [06:01] *** notable6 joined [06:01] *** nativecallable6 joined [06:01] *** unicodable6 joined [06:01] *** shareable6 joined [06:02] *** sourceable6 joined [06:02] Hi. Newbie here, trying to figure out some problem with the repl. [06:02] Works on 1 line, but not 2: https://i.lisp.cl/kpfZtk.png [06:03] *** squashable6 joined [06:03] *** benchable6 joined [06:07] The REPL doesn't play with some of the more dynamic features of Raku, particulary it doesn't work very well with new operators [06:07] unless it's all on one line, as you have found [06:12] Unfortunate [06:12] Thanks [06:17] *** ufobat left [06:27] *** Sgeo_ left [07:01] *** tellable6 joined [07:01] *** linkable6 joined [07:01] *** committable6 joined [07:02] m: say &[-](5) [07:02] rakudo-moar 40bf3f3e8: OUTPUT: «5␤» [07:02] should ^^ not be -5? [07:03] *** bisectable6 joined [07:03] weirder is this [07:03] m: say <1 2 3>.map(&[-]); say <1 2 3>.map(&[~]) [07:03] rakudo-moar 40bf3f3e8: OUTPUT: «(-1 3)␤(1 2 3)␤» [07:04] I understand each behaviour in isolation, but they seem inconsistent [07:04] m: say prefix:<->(5) [07:04] rakudo-moar 40bf3f3e8: OUTPUT: «-5␤» [07:04] m: say infix:<->(5) [07:05] m: say infix:<->(5) [07:05] rakudo-moar 40bf3f3e8: OUTPUT: «5␤» [07:05] because: multi sub infix:<->($x = 0) { $x.Numeric } [07:06] &[-] defaults to infix by design [07:06] yes. The question is, why does infix - with one param not negate? [07:06] and given it does not, why does infix ~ with one param stringify? [07:08] Because, no matter the multicandidate, operators coerce and guarantee to return a specific type. [07:09] neither &infix:<->'s proto nor &infix:<~>'s guarantee a specific return type; so it is purely conventional [07:10] Roast demands them to. [07:11] that's fine, but I want to know why? [07:11] (also about the discrepancy between the map results) [07:12] Because Larry said so, basically. It is a fundamental design principle not to confuse humans with overloading the same operator over and over again. [07:13] If you see `~`, you know you gonna get a Str. [07:13] I mean, why does &[-](5) != -5? [07:14] Becaue [stuff] is a reduction operator and those are defined to take an infix as a function argument. [07:14] yes, the question is why does &infix:<-> not negate when called with one parameter? [07:15] Thus, even with higher order operator programming, you know what you gonna get. [07:21] *** clarjon_1 joined [07:22] *** Altai-man joined [07:22] *** goblin left [07:22] *** vasko8 joined [07:23] *** perlmaros_ joined [07:23] *** samcv joined [07:24] *** skaji_ joined [07:24] *** [Coke]_ joined [07:24] *** lucs_ joined [07:26] *** dac joined [07:26] *** eseyman_ joined [07:26] *** sftp_ joined [07:31] *** mjgardner left [07:31] *** vodkra left [07:31] *** juanfra left [07:31] *** bartolin_ joined [07:31] *** phogg joined [07:31] *** tejr left [07:31] *** TempIRCLogger left [07:31] *** RakuIRCLogger left [07:31] *** vasko left [07:31] *** eseyman left [07:31] *** clarjon1 left [07:31] *** skaji left [07:31] *** GreaseMonkey left [07:31] *** [Coke] left [07:31] *** sena_kun left [07:31] *** perlmaros_ is now known as perlmaros [07:31] *** vasko8 is now known as vasko [07:31] *** skaji_ is now known as skaji [07:31] *** sftp_ is now known as sftp [07:32] *** tejr joined [07:33] *** polettix joined [07:36] *** gugod joined [07:36] *** mtj joined [07:37] *** mjgardner joined [07:37] *** vodkra joined [07:37] *** juanfra joined [07:38] *** ufobat joined [07:38] *** Ekho joined [07:48] *** sena_kun joined [07:50] *** Altai-man left [07:53] *** TempIRCLogger joined [07:56] *** moon-child is now known as Mondenkind [08:01] *** quotable6 joined [08:03] *** greppable6 joined [08:03] *** statisfiable6 joined [08:03] *** evalable6 joined [08:18] *** tbrowder left [08:18] *** zostay left [08:18] *** tbrowder joined [08:19] *** rjbs left [08:19] *** Tirifto left [08:20] *** Tirifto joined [08:22] *** patterner_ left [08:22] *** pjlsergeant left [08:22] *** patterner_ joined [08:22] *** pjlsergeant joined [08:23] *** greyrat joined [08:24] *** lucerne joined [08:25] *** goblin joined [08:27] *** evalable6 left [08:27] *** statisfiable6 left [08:27] *** greppable6 left [08:27] *** quotable6 left [08:27] *** TempIRCLogger left [08:27] *** mjgardner left [08:27] *** vodkra left [08:27] *** juanfra left [08:33] *** zostay joined [08:33] *** rjbs joined [08:33] *** evalable6 joined [08:33] *** statisfiable6 joined [08:33] *** greppable6 joined [08:33] *** quotable6 joined [08:33] *** mjgardner joined [08:33] *** vodkra joined [08:33] *** juanfra joined [08:36] *** masak joined [08:43] *** dakkar joined [08:47] *** Henry151 joined [08:50] *** greaser|q joined [08:50] *** summerisle joined [08:51] *** Altreus joined [09:20] *** lichtkind joined [09:20] *** hkdtam joined [09:28] *** dakkar left [09:47] *** perlmaros left [09:47] *** perlmaros joined [09:59] *** juanfra left [09:59] *** happy-dude left [09:59] *** AlexDaniel left [09:59] *** CIAvash left [09:59] *** demostanis[m] left [10:02] *** coverable6 joined [10:03] *** juanfra joined [10:07] *** squashable6 left [10:10] *** squashable6 joined [10:23] *** CIAvash joined [10:23] *** happy-dude joined [10:23] *** AlexDaniel joined [10:23] *** demostanis[m] joined [10:28] *** Altai-man joined [10:39] m: say &[~].candidates».arity; say &[-].candidates».arity [10:39] rakudo-moar ffaf453dd: OUTPUT: «(0 1 2 2 2 1 2 2 2 2 2 2 2 2 2 2 1 1 0)␤(0 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2)␤» [10:41] I guess that's the reason for the discrepancy between the map results, `&[-]` doesn't have a candidate with arity 1 [10:51] As a newbie I'm especially confused over why "[-] 42" is not -42 [10:52] m: say [-] 10, 2 [10:52] rakudo-moar ffaf453dd: OUTPUT: «8␤» [10:52] Coming from a standardized language, it's hard for me to swallow "because the test suite mandates it" or "because Larry said so" [10:53] why would [-] 42 be -42 but [-] 42, 0 be +42? [10:54] unary [-] is ambiguous, which is why it's not defined [10:54] How is it ambiguous? It is well defined in other languages, no? [10:55] 12:53 < moritz_> why would [-] 42 be -42 but [-] 42, 0 be +42? [10:55] that's what I mean [10:56] I don't know what the latter even means [10:56] I am talking about unary [10:56] but that's -42, not [-] 42 [10:56] -42 is defined in raku [10:57] So you can't apply - to a single argument [10:57] not if you use it as an infix operator, no [10:57] in -42, it's a prefix operator [10:57] how would you do so as a prefix operator without the literal -42? [10:57] *** immediate joined [10:58] say applying a variable only known at runtime to the - operator [11:00] -$foo also uses the prefix operator [11:01] Ok, makes sense. [11:02] *** reportable6 joined [11:02] Sorry for the dumb questions. Coming from Lisp and this is all new to me. [11:02] the infix operator is, by its nature, a binary operator -- it always stands between two terms [11:02] Thanks :) [11:02] so if the operator is associative, it's easy to come up with a sensible degenerate case for just one argument [11:03] but both - and / are not associative (so a - (b - c) and (a - b) - c) are not the same), so such a reduction doesn't follow automatically [11:03] you're welcome [11:03] *** bloatable6 joined [11:03] Makes sense [11:12] *** pony left [11:13] releasable6, status [11:13] Kaiepi, Next release in ≈9 days and ≈7 hours. 4 blockers. Changelog for this release was not started yet [11:13] hey Kaiepi, you have a message: https://gist.github.com/86d02c0af6b5712db5990214574ac780 [11:13] Kaiepi, Details: https://gist.github.com/76876f8e0ca0fdbbf918ab127580d5e8 [11:15] *** pony joined [11:16] *** Xliff joined [11:22] *** pony left [11:22] *** Raycat|Home left [11:24] *** pony joined [11:33] *** pony left [11:35] *** pony joined [11:41] *** tejr left [11:42] *** tejr joined [11:51] *** lizmat_ joined [11:51] *** TempIRCLogger joined [11:52] *** squashable6 left [11:52] *** RakuIRCLogger joined [11:54] *** lizmat left [11:55] *** squashable6 joined [11:57] *** lizmat_ left [11:57] *** lizmat joined [12:02] *** reportable6 left [12:10] *** ggoebel left [12:20] *** tejr left [12:22] *** tejr joined [12:32] *** frost left [12:43] *** immediate left [12:49] *** pony left [12:52] *** hkdtam left [13:01] *** Oshawott joined [13:03] *** reportable6 joined [13:04] *** archenoth left [13:16] *** ircuser is now known as merpkaderp [13:16] *** merpkaderp is now known as merpaderp [13:23] *** Xliff_ joined [13:37] *** [Coke]_ is now known as [Coke] [13:59] *** ggoebel joined [14:06] <[Coke]> had a run() that I was then doing a .decode('utf8-c8') on the output of. Using Proc::Async, I want to use "whenever $proc.stdout.lines" - (from doc examples) - is there a similar need to manually decode? [14:06] <[Coke]> (getting a different error at the moment, so not made it this far..) [14:17] *** anser left [14:19] <[Coke]> someone pointed out 'enc' parameter. Reading the docs explains the function. Thanks. [14:22] *** tejr left [14:23] *** tejr joined [14:24] *** Sgeo joined [14:25] *** Sgeo left [14:26] *** Sgeo joined [14:26] <[Coke]> should I be able to start two Proc::Async and have a react block following with 2 whenevers, once for each to get the lines, one for each to start? when I do that, one of the two doesn't seem to get trigger. [14:29] <[Coke]> ah, I'm an idiot. Thanks. :) [14:31] *** ggoebel left [14:31] <[Coke]> (there was a done in both of the react blocks). If I wanted a single react block to handle both procs, not sure if/how I could do that. [14:32] <[Coke]> I guess manually check for both on the done. [14:36] <[Coke]> better. [14:45] *** ggoebel joined [14:49] *** perryprog left [14:50] *** perryprog joined [15:00] *** ggoebel left [15:12] *** melezhik joined [15:12] . [15:13] *** melezhik17 joined [15:13] *** melezhik left [15:14] *** melezhik17 is now known as melezhik [15:16] I have added a "share via tweet" link to project reviews page on mybfio [15:16] for convenience who use twitter [15:22] *** melezhik left [15:47] *** clarjon_1 is now known as clarjon1 [15:48] *** clarjon1 left [15:53] [Coke]: https://raku.land/zef:tony-o/Event::Emitter::Inter-Process [15:53] err oops [15:57] *** dogbert17 left [15:57] *** melezhik joined [15:58] another interesting use for mybfio - people could announce new versions releases of their modules, by just adding a comment to a project reviews page [15:58] as the system will pop a project up to the top of the list upon this comment [16:00] so that users would quickly share their opinions on the new version, you don't even have to go long way of creating a new post on any social media ... just a thought ... [16:06] *** dogbert17 joined [16:27] An API would make that easier [16:27] that's tricky with OAuth services, though [16:32] eventually when/if I add oauth for twitter, it'd be even more easier to use "share via twitter" link, as a one is already authenticated in twitter ))) [16:36] *** ggoebel joined [16:37] *** [Coke]_ joined [16:39] *** [Coke] left [16:48] *** ggoebel left [16:48] *** ggoebel joined [16:49] *** perlbot left [16:49] *** simcop2387 left [16:57] *** Guest44 joined [16:58] *** Guest44 left [17:00] *** perlbot joined [17:02] *** simcop2387 joined [17:06] *** [Coke]_ is now known as [Coke] [17:09] *** simcop2387 left [17:09] *** perlbot left [17:18] *** lucs_ is now known as lucs [17:20] *** simcop2387 joined [17:21] *** bdju left [17:24] *** perlbot joined [17:27] *** ggoebel left [17:29] *** Sgeo_ joined [17:31] *** Sgeo left [17:31] *** Sgeo__ joined [17:34] *** Sgeo_ left [17:35] *** melezhik left [17:40] *** djerius_ joined [17:40] *** djerius left [17:45] *** djerius_ is now known as djerius [17:50] *** simcop2387 left [17:51] *** perlbot left [18:02] *** discord-raku-bot left [18:02] *** discord-raku-bot joined [18:02] *** simcop2387 joined [18:02] *** reportable6 left [18:04] *** perlbot joined [18:06] *** discord-raku-bot left [18:07] *** discord-raku-bot joined [18:11] *** vrurg left [18:11] *** gcd left [18:12] *** vrurg joined [18:17] *** vrurg left [18:54] *** Xliff left [18:54] *** bdju joined [19:04] *** reportable6 joined [19:05] *** Altai-man left [19:06] *** vrurg joined [19:35] *** Sgeo joined [19:38] *** Sgeo__ left [19:44] *** Sgeo left [19:46] *** Sgeo joined [19:46] *** melezhik joined [19:46] I have made a short review of mybf.io is someone is interested - https://dev.to/melezhik/mybfio-platform-for-software-reviews-with-social-network-aspect-2eom [19:53] very useful [20:07] i cant find something like this year ago )) [20:16] *** berber44 joined [20:20] melezhik: very interesting. just be sure to add protection against spammers, otherwise they will flood your site with their advetisements and genuine reviews will be lost amidst their garbage [20:27] berber44 sure, thanks, I have already thought about ... however if spammers start get the site, this could be sort of sign of popularity , he-he, but yeah, fair point [20:28] Petr - thanks [20:29] berber44 a sort of defense right now, that only GH authenticated uses can do posts, so at least a spammer needs to have a GH account, so it could be tracked down ... [20:31] I also thought maybe I could add category "languages", add add Rakudo to, and then for every Rakudo release - a new release comment could be added , so that users can give feedback on new release ... anyway just a thought ... [21:01] *** Doc_Holliwould joined [21:02] *** ufobat left [21:11] *** linkable6 left [21:18] right idea [21:19] where Raku search libs in Windows? [21:26] <[Coke]> C libs or raku libs? [21:26] <[Coke]> afk [21:27] *** greaser|q left [21:27] *** greaser|q joined [21:27] *** greaser|q is now known as GreaseMonkey [21:28] Sorry, Raku libs [21:29] and C )) [21:29] *** melezhik left [22:09] *** pony joined [22:09] *** ggoebel joined [22:22] *** ggoebel left [22:28] *** djerius left [22:30] *** djerius joined [22:36] *** ggoebel joined [22:37] *** berber44 left [22:52] *** pierrot_ is now known as pierrot [22:52] *** pierrot is now known as info [22:53] *** info is now known as pierrot [22:53] .tell melezhik a selection by language would be useful (don't forget Perl) [22:53] tbrowder, I'll pass your message to melezhik [23:34] *** pony left [23:35] *** pony joined [23:36] *** lichtkind left