🦋 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.
SmokeMachine usercontent.irccloud-cdn.com/file/.../image.png 01:23
Geth ecosystem/main: c7db26fcdd | 0racle++ | META.list
Remove Exportable (move to zef) & wig (deprecate)
15:21
nemokosch ❤️ 15:25
the raku.org rework is looking quite good so far, only minor issues, although I can imagine that a certain one will turn out to be more complicated 16:11
lizmat is there a preview? 16:12
nemokosch Well, there is not much to view. The current aim is to reproduce the same pages. 16:15
lizmat ack, ok :-) 16:16
nemokosch let me ask this again: do we know anything about the infrastructure side, how it is deployed and how should the required modules be installed? 16:17
lizmat no, actually I don't, but people on #raku-infra should know
nemokosch roger, I will ask 16:18
is there syntax for creating a none() junction? 17:19
lizmat don't think so 17:24
lizmat m: sub infix:<!>(*@a) { none(@a) }; dd 42 ! 666 # meh, looks like an infix:<!> would need a grammar tweak 17:26
camelia ===SORRY!=== Error while compiling <tmp>
Negation metaoperator not followed by valid infix
at <tmp>:1
------> sub infix:<!>(*@a) { none(@a) }; dd 42 !⏏ 666 # meh, looks like an infix:<!> wo
expecting any of:
infi…
lizmat m: sub infix:<§>(*@a) { none(@a) }; dd 42 § 666 17:27
camelia none(42, 666)
lizmat m: sub infix:<§>(*@a) { none(@a) }; dd 42 § 666 § 137
camelia none(none(42, 666), 137)
lizmat heh
m: sub infix:<§>(*@a) is prec{ :assoc<list> } { none(@a) }; dd 42 § 666 § 137 17:31
camelia none(42, 666, 137)
teatime did you pick 137 because it is prime 17:32
... disregard
why do I recognize 137 as a 'special' number 17:33
lizmat en.wikipedia.org/wiki/137_(number)#In_physics 17:34
teatime heh, yes I think that is why, ty 17:37
librasteve true … it is a big improvement on C and very fast and powerful … but I struggle with meeting all the constraints that it imposes and prefer a fast and easy route (except when I need the speed) 18:49
JohnLaw my &f = {map {:3(.base(2))%2 },[X+&] ^2**$_ xx 2} 19:54
this is the function for calculating the Walsh matrix. 19:55
but when I type it into the interpter it truncates the output if it is large.
how to make it print it all?
like for f(4)
[10] > f(3) 19:56
(0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 1 0 1 1 0 0 1 1 0 0 0 0 0 1 1 1 1 0 1 0 1 1 0 1 0 0 0 1 1 1 1 0 0 0 1 1 0 1 0 0 1)
[11] >
is ok cause it is small enough.
but f(4) not so much.
[11] > f(4) 19:57
(0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 1 0 1 1 0 1 0 0 1 0 1 1 0 1 0 0 0 1 1 ...)
[12] >
... is not what I want
Nahita yeah it shows the gist of it
nemokosch lizmat made an environment option recently
Nahita like .gist
you can .raku for more
nemokosch an environment option that lets you set how the REPL stringifies by default
JohnLaw ok, I just downloaded this.  Any more clues would be great 19:58
but thanks
.raku 19:59
to you
nemokosch what version? 19:59
JohnLaw latest one for windows 64
just got it 20:00
rakudo-moar-2023.06-01-win-x86_640msvc.msi
rakudo-moar-2023.06-01-win-x86_64msvc.msi 20:01
nemokosch .raku always works but hang tight, I'm gonna check this environmental variable, I don't remember the name...
RAKU_REPL_OUTPUT_METHOD
JohnLaw what do I do with that string? 20:02
nemokosch how do you start the repl?
JohnLaw I have a thing on my task bar for Radudo REPL 20:03
I just punch it
then this window pops up and I define my function, f
then I type f(4)
and it eats it
nemokosch yeah I don't know if it's convenient to set an environment variable, then... 20:05
JohnLaw I can try, what do I set?
varialbe and value?
nemokosch RAKU_REPL_OUTPUT_METHOD to raku
JohnLaw ok will do thanks 20:06
nemokosch the default value is "gist", hence the difference
JohnLaw that explains why this used to work long ago when I wrote my article.
www.thespoof.com/spoof-news/scienc...rakudocide 20:07
thanks alot
JohnLaw Hi notna 20:08
enjoy this www.thespoof.com/spoof-news/scienc...rakudocide
nemokosch the spoof xD 20:09
JohnLaw yeah cool stuff 20:10
nemokosch is it like The Onion? 20:11
JohnLaw more like garlic 20:14
it really stinks
nemokosch XD 20:15
SmokeMachine Now there is a prototype of a documentation badly written and even worse formatted: github.com/FCO/RakuCron 20:20
JohnLaw thanks everyone.. got to reboot now to get the effect 20:31
bye
tbrowder__ i can't top JohnLaw's spoof, but i would like to revisit using Rakudo and zef on a multi-user Linux system. 21:02
i would like to have root maintain the rakudo installation for all users (but each can of course have their own setup if desired). 21:04
gfldex That's what I do. 21:05
tbrowder__ the problems i have had are keeping separate zef installations for root and other users.
i have been using the rakudo-pkg installation method for many years now, but i unfortunatl 21:07
gfldex I didn't have trouble with that so far but would consider it not well tested. zef does a fairly good job to keep things separate. 21:07
tbrowder__ *unfortunately i seem to mix them.
tbrowder__ which causes all kinds of problems. 21:08
actually there is only on host with a problem. i'm going to purge rakudo and root's zef and start over. 21:10
also i don't really understand debian's new way of handling sudo users and that hasn't helped the situation. 21:11
if that doesn't cure my problem, i'll be back. 21:13
gfldex: do you use debian? 21:24
regardless, how do you execute zef as root? (1) "sudo zef ..." or (2) "sudo su; zef ..." or (3) some other way? 21:27
gfldex I do use debian and I build Rakudo from source and I don't use sudo at all. I don't need to blur the line between root and users, so I don't. 21:30
If I need scripts to do root-stuff, I write a demon. 21:31
Geth ecosystem/main: e6cb6804a0 | 0racle++ | META.list
Remove Net::Netmask (move to zef)
23:15
tbrowder__ gfldex: so, if you have multiple users, you would have each install their own rakudo (or do it for them)? 23:36