ūü¶č Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:27 aborazmeh left 00:31 Chi1thangoo joined 00:45 MasterDuke left 01:01 aindilis joined 01:23 aborazmeh joined, aborazmeh left, aborazmeh joined 01:28 Guest94360 left 01:45 leont left 01:47 aborazmeh left 01:49 aborazmeh joined, aborazmeh left, aborazmeh joined 01:53 molaf left 01:59 aborazmeh left 02:06 Manifest0 left, Manifest0 joined 02:19 Aliv3 joined 02:20 Success left 02:23 sxmx joined 02:25 ribasushi joined, Success joined 02:27 Aliv3 left 02:28 Aliv3 joined 02:30 Success left 03:09 Aliv3 left 03:28 Xliff joined
Xliff \o 03:28
03:38 frost-lab joined 03:46 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 04:34 sauvin_ is now known as Sauvin 04:49 dog_star_ joined 04:50 Roamer` joined 04:53 mojca_ joined 04:54 dog_star left, Roamer`_ left, mojca left, dog_star_ is now known as dog_star 04:57 perlmaros left, perlmaros joined 05:01 Doc_Holliwood joined 05:02 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 05:07 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 05:08 frost-lab left, Benett left 05:10 Benett joined 05:29 jmerelo joined 05:33 sxmx left 05:48 frost-lab joined 05:52 jmerelo left 05:58 xinming joined 05:59 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 06:00 sxmx joined 06:01 xinming_ left 06:02 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 06:20 Doc_Holliwood left 06:22 BenGoldberg left 06:38 xinming left 06:39 xinming joined 06:46 maggotbrain left 06:49 wamba joined 06:54 aluaces joined, aluaces is now known as alberto, alberto is now known as Guest7619 06:58 rindolf joined 06:59 maggotbrain joined 07:00 skids left 07:13 epony left 07:48 natrys joined 08:05 xinming left 08:06 xinming joined 08:07 Sgeo left
Zero_Dogg moritz: Bought your book. It's being really helpful in updating my regex knowledge to raku syntax and learning grammars properly. Cheers! 08:41
moritz Zero_Dogg: glad you like it :-) 08:54
I'd really appreciate a short review and rating on amazon, that's what helps others to discover it
Zero_Dogg sure, I can do that 08:57
moritz thanks!
08:59 sena_kun joined 09:00 xinming left, xinming joined 09:06 frost-lab left 09:08 epony joined 09:13 BenGoldberg joined 09:19 MasterDuke joined 09:38 natrys left 09:41 Altai-man joined 09:42 natrys joined 09:44 sena_kun left 09:47 BenGoldberg left 09:51 natrys left 09:52 natrys joined, natrys left 09:53 skids joined 10:07 Tirifto joined 10:08 Tirifto left 10:10 pecastro joined 10:15 xinming left, xinming joined 10:18 stux|RC left, kylese joined 10:19 stux|RC joined 10:35 Tirifto joined 10:42 Zero_Dogg left 10:51 skids left 10:57 Zero_Dogg joined 11:41 molaf joined 12:02 leont joined 12:13 aindilis left 12:25 wamba left 12:38 BenGoldberg joined 12:41 aindilis joined 13:01 vrurg joined 13:02 vrurg_ left 13:03 aborazmeh joined, aborazmeh left, aborazmeh joined 13:12 BenGoldberg left 13:14 stoned75 joined 13:16 vrurg_ joined 13:18 vrurg left
cpan-raku New module released to CPAN! Gnome::Gtk3 (0.30.1) by 03MARTIMM 13:20
New module released to CPAN! Gnome::GObject (0.16.11) by 03MARTIMM
Geth doc/method-not-op-p: 1bf34ad09d | (Stoned Elipot)++ | 2 files
let's not assume race/hyper's nature
13:29
13:30 Doc_Holliwood joined 13:32 xinming left, jinlo joined, xinming joined 13:39 jinlo left 13:40 xinming left, xinming joined 13:41 cpan-raku left 13:42 sena_kun joined, cpan-raku joined, cpan-raku left, cpan-raku joined 13:43 aborazmeh left 13:44 Altai-man left 14:10 maettu joined
Geth doc: 4ba9f23399 | (Stoned Elipot)++ | 2 files
race/hyper are methods not operators

while here format {Race,Hyper}Seq word
14:21
doc: 1bf34ad09d | (Stoned Elipot)++ | 2 files
let's not assume race/hyper's nature
doc: b2b4b605b1 | stoned++ (committed using GitHub Web editor) | 2 files
Merge pull request #3657 from Raku/method-not-op-p
14:27 Doc_Holliwood left 14:29 aborazmeh joined, aborazmeh left, aborazmeh joined 14:36 ThaEwat left 14:37 aborazmeh left 14:38 JJAtria[m] left, unclechu left, kent\n left, peteretep left, Grinnz left, phogg left 14:39 JJAtria[m] joined, unclechu joined, kent\n joined, peteretep joined, Grinnz joined, phogg joined 14:40 JJAtria[m] left, unclechu left, suzusime[m] left 14:46 gnufr33dom joined, BenGoldberg joined
Xliff Goin' Groovy. 14:46
Gorilla, that is.
o7 14:47
14:47 Xliff left 14:48 JJAtria[m] joined, Doc_Holliwood joined 14:51 suzusime[m] joined 14:53 ThaEwat joined 14:54 unclechu joined 15:07 maettu left 15:09 maettu joined 15:11 kylese left 15:21 domidumont joined 15:23 Doc_Holliwood left 15:24 maettu left 15:27 domidumont left 15:45 gnufr33dom left 15:46 Tirifto left 15:54 xinming left, Doc_Holliwood joined 15:56 xinming joined 15:58 aborazmeh joined, aborazmeh left, aborazmeh joined, Tirifto joined 15:59 aborazmeh left
stoned75 commit: releases Pair.new(1,2).antipairs.^name 16:08
committable6 stoned75, ¬¶releases (47 commits): ¬ę¬Ľ
stoned75 commit: releases Pair.new(1,2).antipairs.^name.say 16:09
committable6 stoned75, gist.github.com/495c0bc7e2f6ba5fdf...33641338fe
stoned75 commit: releases Pair.new(1,2).kv.^name.say
committable6 stoned75, gist.github.com/b31036d9dcd83b06ba...7159e1e498 16:10
16:25 xinming left 16:27 xinming joined 16:28 sftp left 16:46 nige_ left, nige joined, sftp joined 16:50 Guest7619 is now known as aluaces, xinming left 16:52 xinming joined 16:59 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 17:04 maettu joined 17:14 molaf left 17:15 Chi1thangoo left 17:37 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 17:41 Altai-man joined 17:44 sena_kun left 17:49 molaf joined, Xliff joined
Geth doc: 309bffd0ea | (Norbert Buchmueller)++ (committed by Juan Julián Merelo Guervós) | doc/Language/operators.pod6
fix typo
17:57
doc: 3b23b9627d | (Norbert Buchmueller)++ (committed by Juan Julián Merelo Guervós) | 2 files
document syntax for passing attribute to role in runtime mixin

see #3658
linkable6 Link: docs.raku.org/language/operators
Geth doc: 93f3832f2a | (Norbert Buchmueller)++ (committed by Juan Julián Merelo Guervós) | xt/pws/code.pws
add new proper name to aspell 'code' dict

  (reference to en.wikipedia.org/wiki/Ratatouille_%28film%29)
linkable6 DOC#3658 [closed]: github.com/Raku/doc/issues/3658 [docs] Undocumented: special syntax for initialising single public attribute of a role in runtime mixin (but/does operator)
18:04 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 18:16 vike joined, domidumont joined 18:19 domidumont left 18:24 xinming left, BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg, xinming joined 18:26 vike left 18:31 Sgeo joined 18:33 maettu left 18:36 xinming left 18:37 vike joined
Geth doc/pairs-seq: 8bbee5f209 | (Stoned Elipot)++ | doc/Type/Pair.pod6
Pair.keys/kv/values/pairs/antipairs produce a Seq
18:37
18:37 xinming joined 18:40 vrurg_ is now known as vrurg
Geth doc: stoned++ created pull request #3662:
Pair.keys/kv/values/pairs/antipairs produce a Seq
18:42
18:42 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 19:05 stoned75 left 19:08 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg, xinming left 19:09 xinming joined 19:14 xinming left, xinming joined 19:18 Ben_Goldberg joined, BenGoldberg left, Ben_Goldberg is now known as BenGoldberg 19:29 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 19:30 xinming left 19:33 xinming joined 19:36 stoned75 joined 19:42 xinming left 19:44 rindolf left, xinming joined
Doc_Holliwood I used to do iterative programming like you, but then I took parantheses to the .head 19:45
Geth doc: a67863a8f4 | (Stoned Elipot)++ | 2 files
Tweak examples' output style

  ... so that it's similar to a shorter gist
While here format Seq word.
19:51
20:02 natrys joined 20:04 xinming left, xinming joined
Xliff How can I get useful output from a Backtrace rather than "Backtrace(12 frames)"? 20:12
vrurg Xliff: ~$backtrace? 20:17
Xliff: .gist and .Str give you different output for Backtrace. 20:19
Xliff Looking for .backtrace.summary, actually! :) 20:20
20:23 Racuda joined
Racuda hi 20:23
help me please
need help translating raku to English 20:24
say "boo" 20:25
evalable6 boo
Racuda say {map {:3(.base(2))%2 },[X+&] ^2**3 xx 2} 20:28
evalable6 -> ;; $_? is raw = OUTER::<$_> { #`(Block|94008014962072) ... }
Racuda say " {map {:3(.base(2))%2 },[X+&] ^2**3 xx 2}" 20:29
evalable6 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
Racuda say " {map {:3(.base(2))%2 },[X+&] ^2**2 xx 2}"
evalable6 0 0 0 0 0 1 0 1 0 0 1 1 0 1 1 0
Racuda say " {map {:3(.base(2))%2 },[X+&] ^2**1 xx 2}" 20:30
evalable6 0 0 0 1
Racuda say " {map {:3(.base(2))%2 },[X+&] ^2**10xx 2}"
say " {map {:3(.base(2))%2 },[X+&] ^2**0 xx 2}"
evalable6 0
Racuda say " {map {:4(.base(2))%2 },[X+&] ^2**3 xx 2}" 20:31
evalable6 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1
Racuda say " {map {:1(.base(2))%2 },[X+&] ^2**3 xx 2}" 20:32
say " {map {:5(.base(2))%2 },[X+&] ^2**3 xx 2}"
evalable6 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
Racuda say " {map {:5(.base(2))%2 },[X-&] ^2**3 xx 2}"
say " {map {:5(.base(2))%2 },[X+&] ^2**3 xx 2}"
evalable6 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
Racuda say " {map {:5(.base(3))%2 },[X+&] ^2**3 xx 2}"
evalable6 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 1
Racuda say " {map {:5(.base(3))%2 },[X+&] ^2**32xx 2}" 20:33
tobs Racuda: there is a #whateverable channel where evalable6 also hangs out. If you want to tweak your command before asking a question about it, you should do that there.
(or with your local rakudo installation)
Racuda i am new what does {map {:3(.base(2))%2 },[X+&] ^2**$_ xx 2} do?
tobs 20:34
in english 20:35
tobs `^2**$x` is a range from 0 to 2**$x which you create twice (the `xx 2` part)
Racuda mm 20:36
tobs these two lists are passed into a reduction operator `[X+&]` which is composed of two operators: X which takes the two lists and creates all possible pairs from them (the cartesian product) 20:37
all these pairs are then passed to the +& operator which is bitwise AND
Racuda mmm 20:38
tobs so you get a long output list with all bitwise ANDs of pairs of numbers from 0 to 2**$x, which is in turn passed into the `map` block
Racuda wow thanks 20:39
tobs which converts each number to binary .base(2), interprets that as a ternary number with :3 and then reduces that modulo 2
Why all of this happens, I have no idea.
Racuda is there a script to translate raku to english?
tobs I know of none. 20:40
Racuda it generates Walsh matrix
it would help
thanks though great explaining 20:41
tobs I see, that's why you want the cartesian product of those lists of numbers. 20:42
Racuda i found the snippet searching Walsh
it works 20:43
www.thespoof.com/spoof-news/scienc...rakudocide 20:44
.thespoof.com/spoof-news/science-technology/150627/perl-6-nerds-committed-rakudocide 20:45
20:45 oneeggeach joined 20:46 myran joined 20:47 BenGoldberg left, BenGoldberg joined 20:48 Aliv3 joined 20:50 Aliv3 is now known as Success
Racuda i had no idea why so i wrote a spoof 20:50
20:50 Success left, Success joined
Racuda all those operators and no manual! 20:50
20:51 Kaiepi left 20:57 myran left
Doc_Holliwood docs.raku.org/language.html 21:00
Also there are books available
MasterDuke ha 21:01
21:07 oneeggeach left, molaf left 21:09 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 21:12 Racuda left 21:14 Altai-man left 21:17 Chi1thangoo joined 21:23 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 21:38 Aliv3 joined 21:42 Success left 21:43 natrys left
[Coke] . 21:55
21:56 natrys joined 22:12 mowcat joined
Xliff Is there a way to return a portion of a CArray starting at a specific position? 22:19
Because the best way to do certain things, especially with C, is to use $buffer + $pos, to get what basically amounts to a $buffer[$pos], but as its own CArray 22:20
Is there an actual list of methods for CArray? The NativeCall documentation is rather light on the subject. 22:21
What is here is really insufficient... docs.raku.org/language/nativecall#...ay_methods 22:22
22:24 natrys left 22:52 Kaiepi joined 22:54 __jrjsmrtn__ left, k-man_ is now known as k-man 22:55 __jrjsmrtn__ joined 22:59 Xliff left 23:15 pecastro left 23:18 Tirifto left 23:34 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 23:58 maggotbrain left