🦋 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 getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
spacekookie I managed to trace through the grammar and it kinda just seems like TOP is never executed. All other functions return what they're supposed to return and then it just ends 00:01
MasterDuke spacekookie: now is probably too late, but you could trying pinging moritz_ tomorrow. he's the grammar expert (literally wrote the raku book on grammars) 00:04
00:04 evalable6 joined
spacekookie Oh cool! Thank you! 00:05
I didn't know there was a raku book on grammars. That sounds like something I might want to read
MasterDuke smile.amazon.com/dp/1484232275/ (link from raku.org/resources/) 00:06
the book is good 00:07
00:07 reportable6 left
spacekookie Awesome! Thank you :) 00:08
I should probably go to bed too soon anyway x) Wanna be awake enough for the new yearsparty tomorrow
00:15 jmcgnh left 00:24 jmcgnh joined 01:02 linkable6 joined 01:09 reportable6 joined 01:50 swaggboi left 02:04 monkey_ left 02:11 monkey_ joined 02:12 Kaiepi joined 02:14 monkey_ left 02:30 smol-hors joined 03:30 benchable6 left, linkable6 left, statisfiable6 left, notable6 left, bloatable6 left, sourceable6 left, committable6 left, unicodable6 left, reportable6 left, greppable6 left, tellable6 left, nativecallable6 left, bisectable6 left, quotable6 left, releasable6 left, evalable6 left, coverable6 left, squashable6 left, shareable6 left 03:31 linkable6 joined, quotable6 joined 03:32 statisfiable6 joined, coverable6 joined 03:33 greppable6 joined, reportable6 joined, squashable6 joined, nativecallable6 joined 03:43 [Coke]_ joined 03:46 [Coke] left, lockywolf left 03:48 monkey_ joined 03:49 lockywolf joined 04:08 lockywolf left 04:10 lockywolf joined 04:31 committable6 joined, shareable6 joined 04:32 benchable6 joined, sourceable6 joined 04:33 tellable6 joined, bisectable6 joined, evalable6 joined 04:34 bloatable6 joined 04:39 swaggboi joined 05:03 holyghost_ joined 05:05 holyghost left 05:31 unicodable6 joined 05:32 releasable6 joined 05:33 notable6 joined 05:44 monkey_ left 06:07 reportable6 left 06:28 hexology left 06:56 holyghost_ left 07:02 orangebot left 07:28 seednode left 07:29 seednode joined 07:45 Sgeo left
Geth doc: 6384364fc4 | (JJ Merelo)++ | doc/Language/packages.pod6
Fixes error, closes #4004
08:07
linkable6 Link: docs.raku.org/language/packages
08:08 linkable6 left
Geth doc: 76a3d9f4e1 | (JJ Merelo)++ | META6.json
Eliminates dep :arrow_down:
08:09
08:11 linkable6 joined
systems how to change where raku created the .raku/ folder by default? 08:18
where the reply create it for example
i got it, i set $env:HOME = 'PATH' , its windows powershell thing 08:39
thanks to Jonathan Stowe on twitter 😉
Geth doc: 0b046f2e6b | (JJ Merelo)++ | doc/Language/modules.pod6
Fix broken link closes #3959
08:40
doc: 809b449f7f | (JJ Merelo)++ | doc/Type/Routine.pod6
Adds new routine to Routine and wraps, #4002
doc: 10d7d8398c | (JJ Merelo)++ | doc/Type/Telemetry.pod6
Adds new snap return value, refs #4002
linkable6 Link: docs.raku.org/language/modules
08:40 linkable6 left 08:43 linkable6 joined 09:08 jjido joined 10:05 titsuki joined 10:08 reportable6 joined
titsuki m: say do { given (False, False) { when (True, True) { "same" }; default { "different" } } 10:08
camelia ===SORRY!=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> e) { "same" }; default { "different" } }⏏<EOL>
titsuki m: say do { given (False, False) { when (True, True) { "same" }; default { "different" } } }
camelia same
titsuki m: say (False, False) ~~ (True, True)
camelia True
moon-child m: say False ~~ True 10:09
camelia Potential difficulties:
Smartmatch against True always matches; if you mean to test the topic for truthiness, use :so or *.so or ?* instead
at <tmp>:1
------> say False ~~ ⏏True
True
moon-child ^ the culprit?
(though probably the previous code snippet should print a warning too)
titsuki Thanks, I got it. 10:10
10:15 linkable6 left
titsuki m: say @(^10); my %h; %h{1;1} = @(^10); say %h{1;1}; 10:17
camelia (0 1 2 3 4 5 6 7 8 9)
(0)
10:19 Zero_Dogg left
titsuki is this a bug? or is there any good ways to use a tuple as a hash key? 10:19
10:20 sena_kun left 10:25 sena_kun joined 10:29 sena_kun left 10:30 sena_kun joined
titsuki m: say @(^10); my %h; %h{(1,1).join(";")} = @(^10); say %h{(1,1).join(";")}; # <- are there any solutions better than this way? 10:35
camelia (0 1 2 3 4 5 6 7 8 9)
(0 1 2 3 4 5 6 7 8 9)
10:36 sena_kun left
lizmat titsuki: two things: if you'd be using an object hash, that might have worked if Lists had been value types 10:36
alas, they aren't
moon-child how about a two-level hash? 10:37
m: my %h; %h{1}{1} = @(^10); say %h{1}{1}
camelia (0 1 2 3 4 5 6 7 8 9)
10:37 sena_kun joined
lizmat titsuki: maybe this can help: raku.land/zef:lizmat/Tuple 10:37
titsuki Thanks! I'll see this article 10:38
article -> module
11:03 Zero_Dogg joined 11:52 Altai-man joined 12:08 reportable6 left 12:21 lichtkind joined 13:10 reportable6 joined 13:16 linkable6 joined 14:01 canw joined, canw left 14:07 monkey_ joined 15:07 reportable6 left, benchable6 left, bisectable6 left, notable6 left, linkable6 left, releasable6 left, bloatable6 left, committable6 left, coverable6 left, quotable6 left, statisfiable6 left, squashable6 left, greppable6 left, nativecallable6 left, sourceable6 left, tellable6 left, shareable6 left, evalable6 left, unicodable6 left 15:08 squashable6 joined, bloatable6 joined, frost left, quotable6 joined, greppable6 joined 15:09 releasable6 joined, bisectable6 joined 15:10 evalable6 joined, coverable6 joined, benchable6 joined, committable6 joined 15:18 Kaiepi left 15:19 Kaiepi joined 15:24 Kaiepi left
Geth doc: finanalyst++ created pull request #4005:
Add filename extensions page
15:28
15:47 abraxxa-home joined 15:53 Kaiepi joined 16:01 abraxxa-home left 16:08 unicodable6 joined, tellable6 joined, nativecallable6 joined 16:09 linkable6 joined 16:25 monkey_ left 16:38 perlbot left, simcop2387 left 16:40 Kaiepi left 16:50 Kaiepi joined 17:08 notable6 joined 17:09 sourceable6 joined 17:20 monkey_ joined 17:21 guifa joined
guifa pokes codesections 17:21
17:26 guifa left, guifa_ joined 17:38 Sgeo joined 17:44 guifa_ left 17:46 guifa joined 17:55 Altai-man left 18:00 euandreh left 18:02 euandreh joined 18:08 shareable6 joined 18:09 reportable6 joined 18:36 perlbot joined 18:37 monkey_ left 18:38 simcop2387 joined 19:38 shareable6 left, releasable6 left, bisectable6 left, bloatable6 left, reportable6 left, squashable6 left, nativecallable6 left, tellable6 left, linkable6 left, unicodable6 left, notable6 left, sourceable6 left, committable6 left, benchable6 left, coverable6 left, greppable6 left, evalable6 left, quotable6 left 19:40 greppable6 joined, bisectable6 joined, committable6 joined, shareable6 joined 19:41 releasable6 joined, unicodable6 joined, tellable6 joined, squashable6 joined
guifa ugh I still can't think of a topic for FOSDEM. I've got some stuff planned for P&C but no real way to preview it / prep it in time for FOSDEM 20:22
Anton Antonov <guifa> Thanks for reminding me! I planning to post a proposal today. 20:32
Here is a link to my Wolfram Community post "Connecting Mathematica and Raku" : community.wolfram.com/groups/-/m/t/2434981 . (I am not proposing that to FOSDEM...) 20:33
20:35 monkey_ joined 20:39 notable6 joined, sourceable6 joined
guifa Anton: going to take me a while to process all of that but very interested in it! My dad was a math professor although I think he used Maple more than Mathematica 20:39
Anton Antonov Maple! So, wrong!!! 20:40
guifa lol
20:40 nativecallable6 joined
guifa I've always thought it could be a cool demonstration of Raku's extensibility to make a module to extend Numeric to go beyond just complex numbers 20:40
Anton Antonov For my PhD studies in applied mathematics I did all my course work in all of these three languages/systems: Mathematica, Maple, MATLAB. 20:41
20:41 quotable6 joined, coverable6 joined
guifa Like maybe some low hanging fruit could be somehow figuring out how to do n-roots losslessly, such that (√7)² == 7, just like (1/3) * 3 == 3 because of Rats 20:42
Anton Antonov Mathematica was a clear winner.
Yeah. Actually, it can be seen in the section "Encoders and decoders" in that post that Raku rationalizes the numbers given to it from Mathematica. Very few systems, except Mathematica can do that in a native way.
@guifa My FOSDEM proposal is extended version of this work: rakuforprediction.wordpress.com/20...with-raku/ 20:44
guifa I <3 all things multilingual haha 20:45
guifa . o O ( also reminds me my other other other other projects on localization frameworks ) 20:46
Anton Antonov @guifa Yeah, good to know! Most like part of the Raku/Perl culture and cults, though. 20:47
21:03 smol-hors left 21:08 statisfiable6 joined 21:10 titsuki left
I created a FOSDEM 2022 event titled "Multi-language Data Wrangling and Acquisition Conversational Agents". 21:17
moon-child guifa: cas get hairy quickly. But I would still love to see something like that 21:22
Anton Antonov @moon-child Same here. In many ways I see Raku as the only potentially serious competitor of Mathematica. 21:28
moon-child competitor in what respect? 21:29
I don't think anybody does all of things that mathematica does
and I think that, for every interesting thing that mathematica does, there is at least somebody else who does it too
guifa moon-child yeah, a full CAS would be awesome, but overkill and almost certainly would be best just wrapping and passing to extant systems. 21:36
But maybe with some work basic trig (possibly with π/τ, similar to how i works in complex numbers) and n-roots would add a lot of precision to every day ops
moon-child even just with rational powers, checking equality gets hairy 21:38
21:39 bloatable6 joined 21:40 reportable6 joined, evalable6 joined 21:47 euandreh left
[Coke]_ hey, I got a raku book off my wishlist for the holidays. nifty 21:50
21:50 [Coke]_ is now known as [Coke]
Geth doc: 398d9591e3 | Coke++ | doc/Type/Routine.pod6
avoid neologism
21:54
jjido [Coke] you received it as gift? Nice 21:55
Nemokosch neologism? bruh 21:59
not an appropriate use of the term I guess 22:01
[Coke] sounded nicer than "made up word" 22:04
basically, someone committed something without running the spell checker.
(could have also added it to the list of words if it was less neo) 22:05
22:13 Ultimatt joined
Ultimatt Happy New Year (almost) 22:14
I was wondering if there is any info on whats the best Rakudo build setup for ARM, specifically Apple M1
22:30 euandreh joined 22:41 benchable6 joined 22:46 seednode left, seednode joined
Anton Antonov @moon-child "competitor in what respect?" -- Mathematical computations. 22:51
@moon-chiled " I don't think anybody does all of things that mathematica does" -- agreed. Especially the synergy between symbolic and numerical computations is hard to replicate. 22:52
@moon-child "and I think that, for every interesting thing that mathematica does, there is at least somebody else who does it too" -- That is a claim many people make. I am not convinced. I have seen similar and inferior functionalities in other systems. 22:54
moon-child cyc has the knowledge set. Maxima has the cas. Lisp has the symbolic manipulation and term-rewriting 22:57
23:08 dogbert11 joined 23:12 gfldex_ joined, tonyo1 joined 23:13 merpader1 joined 23:14 charsbar_ joined 23:17 swaggboi left, [Coke] left, jmcgnh left, merpaderp left, MasterDuke left, japhb left, maettu left, gfldex left, charsbar left, tonyo left, jcallen left, dogbert17 left, lucs left, avar left, Woodi left, bartolin left, markmarkmark left, perlmaros left, charsbar_ is now known as charsbar 23:19 gfldex_ is now known as gfldex 23:20 [Coke]_ joined, swaggboi joined, jmcgnh joined, MasterDuke joined, japhb joined, maettu joined, jcallen joined, lucs joined, avar joined, Woodi joined, bartolin joined, markmarkmark joined, perlmaros joined, jmcgnh left 23:22 monkey_ left 23:25 Ultimatt left
gfldex pokes 2021 23:28
It's dead, Jim.
Happy new Raku year!
23:28 djerius left 23:29 jmcgnh joined 23:30 djerius joined 23:31 Ultimatt joined 23:32 Ultimatt left 23:34 monkey_ joined
tbrowder [Coke]_: which book did Santa give you? 23:36
23:40 linkable6 joined