🦋 Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
Geth ecosystem/JJ-patch-3: ded6834f77 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Changes name and auth
08:43
ecosystem: JJ++ created pull request #591:
Changes name and auth
ecosystem: ded6834f77 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Changes name and auth
08:47
ecosystem: 5926cefd10 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #591 from Raku/JJ-patch-3

Changes name and auth Merges anyway since the problem is with a binary dependence.
Geth ¦ problem-solving: JJ assigned to codesections Issue There should be a (relatively easy) way to specify how to test for non-Raku dependencies github.com/Raku/problem-solving/issues/283 09:20
p6steve hi folks - anyone know how to disable spell checker on Comma IDE? 13:36
El_Che File - Editor - Inspections - Proofreading 13:38
p6steve El_Che: tx! i'm on macos using commaide free version. there is no File - Editor menu item ;-( 13:53
El_Che in intellij looks pretty much the same on linux/macos/windows 13:58
To configure your IDE, select IntelliJ IDEA | Preferences for macOS or File | Settings for Windows and Linux. Alternatively, press Ctrl+Alt+S or click the Settings/Preferences button on the toolbar.
www.jetbrains.com/help/idea/config...tings.html
[holly] I use AquaMacs, no raku syntax highlighting though 14:01
p6steve El_Che: thanks for the info, I have tried Comma - Prefs and ⌘, ... neither work ... suspect I will have to pony up the $$$ for a full version 14:40
El_Che p6steve: no, I think it's an intellij feature and not a comma one 14:41
it should be there
(meaning the proofreading is done by intellij and not by comma)
stoned75 trying to make sense of the last paragraph of docs.raku.org/type/Int#routine_expmod, about negative "$y", took me far off my math confort zone, if anyone feels inclined to write something in there about modular logarithm, i would be delighted ':)
El_Che I would be suprised if that is an intellij ultimate and not a intellij community feature 14:42
(as it's annoying as hell complaing about typos in variable names :) )
p6steve El_Che: I will keep digging ... I CAN see File - New Project Settings - Prefs for New Projects 14:43
El_Che no, that's the project settings
the thing is that I have the intellij ultimate on a mac as well (same license as linux) 14:44
so I can't check
stackoverflow.com/a/62138953 14:46
pretty much my instructions
(I use intellij with the comma plugin instead of the comma ide because I also use intellij for other languages) 14:47
p6steve El_Che: I just opened PyCharm Pro (also IntelliJ) and went straight to the equivalent settings - no problem ... so that rules out me not looking in the right place! 14:54
the SO image you reference has "For current project" at the top --- in Comma I can only find a way to see "For new projects" ... I reckon that this is a Comma Pro feature (maybe just the menus are stomped) 14:56
really appreciate your help ... back to vi until I save up the money
fwiw Comma is very, very good and I haven't even tried the Grammar editor yet... and I am not entirely against paying for sw 14:57
after all programmers gotta eat / drink
p6steve stoned75: I think that there is an error in the doc ... last para should be say 7.expmod(-2, 5); # OUTPUT: «4␤» 15:01
my reasoning is 7 ** 2 = 49 => 49 mod 5 => 4 15:02
tried checking with repl ... my guess is WRONG 15:04
stoned75 ;-)
p6steve stoned75: found perl does expmod in Big::Int perldoc.perl.org/Math::BigInt#bmodpow%28%29 15:07
sorry Math::BigInt
bmodpow($num, -1, $mod) is exactly equiv to bmodinv($num, $mod) 15:08
stoned75 ah... lemme check this implementation 15:09
p6steve en.wikipedia.org/wiki/Modular_exponentiation very helpful explanation of what the heck it is 15:10
stoned75 actually its more en.wikipedia.org/wiki/Modular_mult...ve_inverse 15:15
or en.wikipedia.org/wiki/Discrete_logarithm
but you geet the idea I guess :-) 15:16
*get
and Math::BigInt::bmodinv()'s doc cloud be shamelessly copied to better document Int.expmod with a negative exponent 15:19
I'll consider that. thanks ! :-)
p6steve_ just upgraded to comma complete (great value for $$ btw) --- I can confirm that the properties menu have now appeared in the right place 18:30
El_Che that would make comma nagware :P 19:15
Altreus that some sort of sushi? 19:16
El_Che good one
demostanis[m] First example on Rosetta Code for factorials doesn't work anymore? I'm getting "Negation metaoperator not followed by any valid infix" 21:18
MasterDuke m: sub postfix:<!> (Int $n) { [*] 2..$n }; say 5!; 21:21
camelia 120
MasterDuke .ask thundergnat is there any way to search the text of the raku rosettacode entries for the string "Perl 6" not immediately preceded by "formerly"? I just corrected a description in the second factorial example where it talked about Perl 6, but have no idea how to check for others 21:35
tellable6 MasterDuke, I'll pass your message to thundergnat
demostanis[m] why am i getting the error then? 23:13
raydiak I can also confirm that it wfm. you'd have to provide a little more information on how you're running it and what you're running it on for anybody besides you to be able to answer that. just a couple random guesses, maybe you're using an old version of rakudo with a bug, or maybe something is getting mangled by your shell 23:26
demostanis[m] Running in the Raku REPL, 2021.04 rakudo IIRX 23:45
IIRC*