🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:08 tailgate left 00:09 tailgate joined 00:12 lucs left, lucs joined 00:31 tadzik left, tadzik joined 00:37 tinita left, tinita joined 00:41 jast left, jast joined 00:45 popebob left 00:46 popebob joined, popebob left, popebob joined 00:56 gfldex left, gfldex joined 01:12 MasterDuke joined 01:15 unicodable6__ left, unicodable6 joined 01:17 kylese left, kylese joined 01:18 corwin left, corwin joined 01:59 sivoais left, sivoais joined 02:03 charsbar left, charsbar joined 02:07 goblin left, goblin joined, cleo left 02:15 kylese left, kylese joined 02:29 bisectable6 left, bisectable6 joined 02:45 dano left, dano joined 03:00 jcallen left, jcallen joined 03:04 broquaint left, broquaint joined, tobs left, tobs joined 03:11 dg left, dg joined 03:37 andinus left, andinus joined 03:39 MasterDuke left 04:03 derpydoo joined 04:07 thowe left 04:08 thowe joined 04:12 bdju left 04:15 bdju joined 04:26 jetchisel left, jetchisel joined 04:38 greenfork left, greenfork joined 04:48 kjp left, kjp joined 04:50 PotatoGim left 04:51 PotatoGim joined 05:00 derpydoo left 05:47 jdv left, jdv joined 05:54 Sgeo left 05:57 simcop2387 left, simcop2387 joined 05:58 perlbot left, perlbot joined 06:02 leont left, leont joined 06:19 sena_kun joined 07:02 El_Che left, El_Che joined 07:11 sena_kun left 07:16 itaipu left 07:17 itaipu joined 07:19 zostay left, zostay joined 07:50 wayland76 joined 08:09 dakkar joined 08:36 jpn joined 08:45 nine left, nine joined 08:47 pierrot left, pierrot joined 08:51 tbrowder left, tbrowder joined 08:55 jjatria left, jjatria joined 09:06 drakonis left, drakonis joined, bdju left 09:08 bdju joined 09:15 ky left, ky joined 09:24 tib left, tib joined 09:25 rjbs left, mst left, rjbs joined, mst joined 09:27 jpn_ joined 09:29 jpn left 09:36 jpn_ left 09:37 jpn joined 09:52 vrurg_ joined, goblin left 09:53 goblin joined 09:54 vrurg left 10:05 GreaseMonkey left, greaser|q joined 10:13 bdju left, bdju joined 10:41 greppable6 left, greppable6 joined
wayland76 o/ 10:52
lizmat wayland76 \o 10:54
11:05 dustinm` left 11:07 dustinm` joined 11:09 jpn left 11:12 jpn joined 11:18 jpn left 11:29 pierrot left 12:04 atweedie left, atweedie joined 12:08 jpn joined
wayland76 Well, I made some progress in my Table-Oriented Programming module, specifically in implementing ## $table[0]<name> = 'Narnia' ## where the code between the double-hashes will automatically store a value in a Postgres database. It doesn't work yet, but I'm making progress :) . 12:17
...and I'm about to turn in. Goodnight all :) .
12:20 dpk left 12:21 dpk joined, peder left, peder joined
lizmat gnight wayland76 12:28
12:34 jpn left 12:36 jpn joined 12:41 Geth left, Geth joined 12:58 teatime left 13:52 cleo joined 14:03 samebchase left 14:04 Sgeo joined, samebchase joined 14:12 discord-raku-bot left, discord-raku-bot joined 14:19 lain` left, lain` joined 14:23 notable6 left, notable6 joined 14:24 bloatable6 left, bloatable6 joined 14:26 pierrot joined
vendethiel Hmm, maybe .min/.max should intercept :by options and error? 14:27
I just got bit by a conversion from sub form to Cool form and lost the behavior with no warning 14:28
15:00 jrjsmrtn_ left, jrjsmrtn joined
antononcube @vendethiel It is not clear to me what you mean. But R has the option na.rm in most of its numerical functions. "Not Availalble" (NA) objects are essentially removed before the corresponding numeric computations. 15:05
dakkar I suspect @vendethiel is referring to the difference between `multi sub max(+args, :&by, …)` and `multi method max(&by?, …)` 15:07
vendethiel dakkar: correct 15:08
dakkar so if you replace `max(1,2,3, :by(something))` with `[1,2,3].max(:by(something))`, the `something` will be silently ignored
it would be nice if the method form noticed the `:by` and either used it, or warned
antononcube @dakkar Good to know! 15:09
15:35 wayland joined, wayland76 left 15:39 thaewrapt left, thaewrapt joined 15:56 jpn left 15:57 jmcgnh left 16:03 lain` left 16:06 jmcgnh joined 16:08 lain` joined 16:28 kst`` left, kst`` joined 16:31 dakkar left 16:44 nicole left, nicole joined
lizmat that feels like a bug 16:50
actually, with .max, the "by" is an optional positional 16:51
m: say (3,20,100).max(*.Str) 16:53
camelia 3
lizmat m: say (3,20,100).max
camelia 100
lizmat vendethiel ^
ah... dakkar pointed that out already :-)
16:55 guest555 joined
guest555 eval: say 42 16:55
vendethiel I said I got bit by it
I realized before posting
guest555 r: say 42
camelia 42
Can't open perl script "/home/camelia/rakudo-j-inst/bin/eval-client.pl": No such file or directory
vendethiel But I still feel like it could do either of what dakkar suggested
guest555 m: Match.print 16:56
camelia Cannot look up attributes in a Match type object. Did you forget a '.new'?
in block <unit> at <tmp> line 1
guest555 m: Match.new.print
camelia ( no output )
guest555 m: ('a' ~~ / . /).say 16:57
camelia Too many positionals passed; expected 1 argument but got 2
in block <unit> at <tmp> line 1
lizmat vendethiel working on that :-) 16:59
vendethiel Perfect! lizmat++ 17:11
guest555 m: try { .print-nl } or put $! for Any, Capture, Match; 17:12
camelia Cannot resolve caller print(Any:U: Str:D); none of these signatures matches:
(Mu $:: *%_)
Cannot resolve caller print(Capture:U: Str:D); none of these signatures matches:
(Mu $:: *%_)
Too many positionals passed; expected 1 argument bu…
lizmat vendethiel github.com/rakudo/rakudo/pull/5607 17:20
lizmat wonders what guest555 is trying to achieve 17:21
guest555 m: Any.print-nl; # New error compared to 2019, now Cannot resolve caller print(Any:U: Str:D) 17:27
camelia Cannot resolve caller print(Any:U: Str:D); none of these signatures matches:
(Mu $:: *%_)
in block <unit> at <tmp> line 1
guest555 m: Match.print-nl; # Same error as in 2019: Too many positionals passed; expected 1 argument but got 2
camelia Too many positionals passed; expected 1 argument but got 2
in block <unit> at <tmp> line 1
guest555 lizmat: raiph here, debugging a problem. 17:29
lizmat: #whateverable bots weren't working so tried here
lizmat gotcha
guest555 lizmat: comment added to issue: github.com/rakudo/rakudo/issues/27...2237131552
vendethiel lizmat++: perfect DWIM :-) 17:34
17:42 sena_kun joined 18:23 guest555 left 18:57 notna joined 19:01 leah2 left 19:15 leah2 joined, notna left 19:50 AlexDaniel joined 20:03 AlexDaniel left 20:07 AlexDaniel joined 20:09 bisectable6 left 20:10 notable6 left, greppable6 left 20:11 bisectable6 joined, notable6 joined, unicodable6 left, sourceable6 left, evalable6 joined, bloatable6 left 20:12 greppable6 joined, nativecallable6 left, bisectable6__ joined, linkable6 left, unicodable6 joined
AlexDaniel woah, that's two bisectables 20:12
bisectable: help
bisectable6 AlexDaniel, Like this: bisectable6: old=2015.12 new=HEAD exit 1 if (^∞).grep({ last })[5] // 0 == 4 # See wiki for more examples: github.com/Raku/whateverable/wiki/Bisectable
bisectable6__ AlexDaniel, Like this: bisectable6__: old=2015.12 new=HEAD exit 1 if (^∞).grep({ last })[5] // 0 == 4 # See wiki for more examples: github.com/Raku/whateverable/wiki/Bisectable
20:12 quotable6 joined
AlexDaniel … my mistake :D 20:12
20:12 nativecallable6 joined, notable6__ joined, evalable6__ joined, benchable6 joined 20:13 tellable6 joined, committable6 joined, benchable6__ joined, linkable6 joined, notable6__ left, benchable6__ left, evalable6__ left, bisectable6 left, bisectable6__ left, evalable6 left, benchable6 left, notable6 left, quotable6 left 20:14 sourceable6 joined, greppable6 left, tellable6 left, unicodable6 left, sourceable6 left, coverable6 joined, nativecallable6 left, linkable6 left, coverable6 left, committable6 left
AlexDaniel sorry, had to kill them again :) 20:14
20:15 greppable6 joined
AlexDaniel lizmat, raiph: I don't know what was the issue, I just saw “connection reset by peer” in the logs and IRC::Client didn't seem to try to reconnect. I just killed them and they should start up just fine now. In the future, you can try to make a commit in raku/whateverable repo, that triggerss a redeploy of all bots which achieves the same thing 20:16
20:16 bloatable6 joined, benchable6 joined, committable6 joined 20:17 evalable6 joined, coverable6 joined, linkable6 joined, unicodable6 joined, nativecallable6 joined, shareable6 joined
lizmat AlexDaniel: Thanks! 20:18
20:18 bisectable6 joined, quotable6 joined, sourceable6 joined, tellable6 joined 20:19 notable6 joined, releasable6 joined
AlexDaniel lizmat: was it you sending the message? It's a bit of an unconventional transport for messages nowadays, it's usually spam but then spammers usually don't call me AlexDaniel :D 20:23
another possibility is always github.com/Raku/whateverable/issues :) less personal, but works just as fast 20:26
20:34 sena_kun left 20:56 greaser|q left, greaser|q joined, greaser|q is now known as GreaseMonkey 21:06 guest555 joined 21:10 guest555 left 21:11 AlexDaniel left 21:14 guifa joined 21:27 dawids joined, dawids left
lizmat AlexDaniel: yeah it was me :-) 21:45
tellable6 lizmat, I'll pass your message to AlexDaniel
lizmat thank you, tellable6 :-) 21:58
tellable6 lizmat, It's my pleasure!
patrickb Is it possible to convert a synchronous socket handle (as returned by nqp::bindsock) to an async socket handle (as returned by nqp::asyncconnect)?
A quick look at the moar sources says no. :-( 22:03
23:14 wayland left