»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
timotimo CUnion exists 00:01
SmokeMachine on `has $.bla = 1 + 1` where is it being stored the `1 + 1` to run on instantiation?
Kaiepi perfect
thanks
00:08 spycrab0 left
Geth doc: 375b00243f | Coke++ | util/manage-page-order.p6
whitespace
00:10
00:13 lucasb left
timotimo SmokeMachine: it's a piece of code that's probably stashed away in the BUILDPLAN 00:25
SmokeMachine yes... at number 4, right?
timotimo: right? github.com/rakudo/rakudo/blob/56c0...N.nqp#L101 00:26
timotimo i wouldn't call that "at number 4" 00:27
did you see the big comment before create_BUILDPLAN near the beginning of the file?
00:30 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh
SmokeMachine yes 00:31
m: class C { has $.a = 42 }.^attributes.head.build.say #it works! :)
camelia 42
00:31 p6bannerbot sets mode: +v aborazmeh
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :$bla!) { say $attr.build }; class C { has $.a is bla = 42 } #but it doesn't... the initialised wasn't parsed yet? 00:32
camelia (Mu)
timotimo the buildplan gets created at compose time 00:33
i think you can install a compose method on the attribute or something? 00:34
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :$bla!) { say $attr.^lookup("build").^name }; class C { has $.a is bla = 42 } 00:43
camelia ForeignCode
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :$bla!) { $attr.^lookup("build") does role :: { method CALL-ME(|) { 13 } } }; say class C { has $.a is bla = 42 }.new # :( 00:45
camelia C.new(a => 42)
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :$bla!) { $attr.^lookup("build") does role :: { method do { 13 } } }; say class C { has $.a is bla = 42 }.new # :( 00:47
camelia C.new(a => 42)
SmokeMachine m: multi trait_mod:<is>(Attribute $attr, :$bla!) { my \b = $attr.^lookup("build"); b.^attributes.first({ .name eq q"$!do"}).set_value: b, { 13 } }; say class C { has $.a is bla = 42 }.new # :( 00:49
camelia C.new(a => 42)
timotimo what are you trying to do, though? 00:52
it's quite possible that by the time you're changing something in the buildplan, it will have already been used to generate code
i.e. it wouldn't be interpreting the buildplan any more
SmokeMachine timotimo: Im trying to use the build and modify its return 00:54
s/use/get/g 00:55
00:59 shareable6 joined, p6bannerbot sets mode: +v shareable6 01:27 aborazmeh left 01:31 kent\n left 01:32 kent\n joined, p6bannerbot sets mode: +v kent\n 01:35 molaf left 01:47 molaf joined 01:48 p6bannerbot sets mode: +v molaf 01:50 MasterDuke left
SmokeMachine timotimo: I think you are right 01:53
m: class C { has @.a = 42 }; C.^attributes.head does role { method build {13} }; say C.^attributes.head.build; say C.new
camelia 13
C.new(a => [42])
SmokeMachine maybe if I override the ClassHOW's create_BUILDPLAN 01:55
01:58 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke
SmokeMachine m: class C { has @.a = 42 }; say C.^BUILDPLAN 02:16
camelia ((0 (C) @!a a) (4 (C) @!a 42))
lookatme_q m: class C { has @.a = 42 }; dd C.^BUILDPLAN 02:27
camelia ((0, C, "\@!a", "a"), (4, C, "\@!a", 42))
02:39 ChoHag joined 02:40 p6bannerbot sets mode: +v ChoHag 02:47 eliasr left 02:52 fluter joined, fluter left
SmokeMachine m: class C { has @.a = 42 }; C.HOW does role :: { method BUILDPLAN(|) { (|callsame, (8, C, q"@!a", 13)) } }; say C.^BUILDPLAN; say C.new # :( 03:24
camelia ((0 (C) @!a a) (4 (C) @!a 42) (8 (C) @!a 13))
C.new(a => [42])
03:32 molaf left
SmokeMachine m: class C { has @.a = 42 }; C.HOW does role :: { method BUILDALLPLAN(|) { ((0, C, "\@!a", "a"), (4, C, "\@!a", 13)) } }; say C.^BUILDALLPLAN; say C.new # :( 03:50
camelia ((0 (C) @!a a) (4 (C) @!a 13))
C.new(a => [42])
lookatme_q SmokeMachine, you have to do that before the class compose
SmokeMachine m: class C { has @.a = 42; C.HOW does role :: { method BUILDALLPLAN(|) { ((0, C, "\@!a", "a"), (4, C, "\@!a", 13)) } } }; say C.^BUILDALLPLAN; say C.new # lookatme_q :( 03:52
camelia ((0 (C) @!a a) (4 (C) @!a 13))
C.new(a => [42])
SmokeMachine m: class C { has @.a = 42; C.HOW does role :: { method BUILDALLPLAN(|) { say "here"; ((0, C, "\@!a", "a"), (4, C, "\@!a", 13)) } } }; say C.new # that's not being used... 03:55
camelia C.new(a => [42])
lookatme_q yeah, it didn't call that method 03:56
SmokeMachine lookatme_q: I was trying to use something lithe this to "fix" this comment: www.reddit.com/r/perl6/comments/97...me/e4avd91 03:58
lookatme_q: any idea to "fix" that? 04:00
lookatme_q SmokeMachine, I think you may have to consider inherit from Metamodel::ClassHOW 04:09
SmokeMachine lookatme_q: I do...
lookatme_q: github.com/FCO/Red/blob/master/lib.../Model.pm6 04:11
lookatme_q Don't have time currently :) 04:20
I will check it off work 04:21
SmokeMachine lookatme_q: ok, thanks 04:22
04:56 [Sno] left 05:06 lucs joined 05:07 p6bannerbot sets mode: +v lucs 05:29 ToddAndMargo joined, p6bannerbot sets mode: +v ToddAndMargo
ToddAndMargo How do I do this is perl 6? 05:30
$ echo "a-b-c" | perl -pe 's/-//g' abc
Figured it out: $ echo "a-b-c" | perl6 -pe 's:g/"-"//' abc 05:33
05:34 ToddAndMargo left 05:40 rindolf joined 05:41 p6bannerbot sets mode: +v rindolf 05:51 greppable6 joined 05:52 p6bannerbot sets mode: +v greppable6
Kaiepi how can i give a set size for a carray? 05:52
lookatme_q I think you can't get a size of the carray 05:53
Kaiepi fuck
does it matter if the array has a size, but the way it's used is irrelevant? 05:54
it's char [14], but it can be any length
05:55 lizmat left
lookatme_q I don't know 05:55
Kaiepi i might be able to get away with dealing with it in c since i don't think the mbuf pointer passed to the icmp functions is ever changed 06:03
hopefully so 06:04
06:16 ToddAndMargo joined, p6bannerbot sets mode: +v ToddAndMargo
ToddAndMargo Hi 06:16
lookatme_q o/
ToddAndMargo Is there a perl 6 (or perl 5) subsitute for the following sed command. It prints out liens 3 and 4: 06:17
ls -al /mnt/Rent-A-Nerd/ | sed -n 3,4p
My sed and grep broke for some reason and I have had to find subs (ack for grep). I have been using `awk 'FNR>=3 && FNR<=4'`, but gee wiz! 06:18
lookatme_q How about
ls -al | perl6 -ne '.say if 3 <= ++$ <= 4' 06:19
ToddAndMargo I will try!
lookatme_q evalable6: qx/ls sandbox/
evalable6
lookatme_q evalable6: qx{ls sandbox/*}
evalable6
lookatme_q evalable6: qx{ls -al sandbox/*} 06:20
evalable6
06:20 darkmagic0 joined
lookatme_q evalable6: qx{ls -al ~} 06:20
evalable6
lookatme_q evalable6: say qx{ls -al ~}
evalable6 total 67292
drwxr-xr-x 17 bisectable bisectable 4096 Aug 5 04:01 .
drwxr-xr-x 11 root…
lookatme_q, Full output: gist.github.com/a6f0a7071cb56304b6...fab4b75614
lookatme_q evalable6: say qx{ls -al sandbox/*}
evalable6 -rw-r--r-- 1 bisectable bisectable 5546 Jun 15 11:07 sandbox/040-request.t
-rw-r--r-- …
lookatme_q, Full output: gist.github.com/125ba7d5db8d504503...33cb5852c6
lookatme_q evalable6: say qx{ls sandbox/*}
evalable6 sandbox/040-request.t
sandbox/0.806238500539699.lock
sandbox/answer
sandbox/basic.t
sandbo…
lookatme_q, Full output: gist.github.com/aed1b20fdd20d00e61...330087c79a
ToddAndMargo $ x=3; y=4; ls -al /tmp | perl6 -ne ".say if $x <= ++$ <= $y" 06:21
A thing of beauty! Thank you!
lookatme_q welcome
06:24 ToddAndMargo left, darkmagic0 left 06:30 lizmat joined 06:31 p6bannerbot sets mode: +v lizmat
lizmat weekly: opensource.com/article/18/8/garbag...ion-perl-6 06:31
notable6 lizmat, Noted!
06:37 cibs joined 06:38 p6bannerbot sets mode: +v cibs 07:02 sauvin joined, p6bannerbot sets mode: +v sauvin
Kaiepi oh i'm an idiot i added Buf.allocate specifically for static sized carrays 07:32
er
CArray.allocate
i'm fairly sure it's documented too 07:34
dumb me
07:42 itaipu joined 07:43 p6bannerbot sets mode: +v itaipu 07:45 zakharyas joined, p6bannerbot sets mode: +v zakharyas 07:49 lizmat left 08:01 inbioz joined 08:02 p6bannerbot sets mode: +v inbioz 08:04 zakharyas left 08:05 zakharyas joined, ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 08:06 p6bannerbot sets mode: +v zakharyas, ZzZombo left, ZzZombo joined, p6bannerbot sets mode: +v ZzZombo 08:11 harrison joined, p6bannerbot sets mode: +v harrison 08:19 Ven` joined 08:20 p6bannerbot sets mode: +v Ven` 08:23 ZzZombo left, Looking joined 08:24 p6bannerbot sets mode: +v Looking 08:25 [particle] left 08:26 Looking left 08:27 [particle] joined, p6bannerbot sets mode: +v [particle] 08:32 bleepy15 joined, Loki13 joined 08:33 zgrepc joined, p6bannerbot sets mode: +v bleepy15, Loki13 left, p6bannerbot sets mode: +v zgrepc 08:34 zgrepc left 08:36 x[LGWs4x4i]uG2N0 left 08:37 bleepy15 left 08:40 x[LGWs4x4i]uG2N0 joined 08:41 p6bannerbot sets mode: +v x[LGWs4x4i]uG2N0 08:48 sotona joined 08:49 p6bannerbot sets mode: +v sotona, jrslepak24 joined, p6bannerbot sets mode: +v jrslepak24 08:50 damin joined, sotona left 08:51 ZzZombo joined, p6bannerbot sets mode: +v ZzZombo, sotona joined, p6bannerbot sets mode: +v damin 08:52 jrslepak24 left, p6bannerbot sets mode: +v sotona 08:54 sotona left 08:55 damin left 08:56 F4RR3LL joined 08:57 p6bannerbot sets mode: +v F4RR3LL 09:01 F4RR3LL left, jim28 joined, jim28 left 09:03 kerframil joined, p6bannerbot sets mode: +v kerframil 09:04 sotona joined 09:05 p6bannerbot sets mode: +v sotona, zakharyas left, zakharyas joined 09:06 p6bannerbot sets mode: +v zakharyas 09:08 sotona left 09:14 Ven` left 09:21 jor joined 09:22 p6bannerbot sets mode: +v jor, sotona joined, Guest56171 joined 09:23 p6bannerbot sets mode: +v sotona, jor left, p6bannerbot sets mode: +v Guest56171 09:24 SkIzZaTo joined 09:25 SkIzZaTo left, troys left 09:26 sotona left 09:27 Guest56171 left 09:31 spycrab0 joined, p6bannerbot sets mode: +v spycrab0
Kaiepi are functions in header files used in c files for nativecall supposed to be defined? 09:34
i could've sworn they were 09:35
09:35 andrzejku_ joined
ZzZombo Why does `sudo apt-get install rakudo` also pull in `libjs-angularjs libjs-bootstrap`, is this some sick joke or what? 09:36
09:36 p6bannerbot sets mode: +v andrzejku_ 09:38 andrzejku left, andrzejku_ is now known as andrzejku
ZzZombo Also WTF, it doesn't include `zef`. 09:40
benjikun ZzZombo: You have to get rakudostar to have zef included currently, otherwise, you'll have to build/install them separate 09:44
Rakudo is just the compiler itself
09:44 Ven` joined 09:45 p6bannerbot sets mode: +v Ven`
ZzZombo There is no `rakudostar` package. 09:46
09:46 j joined, lizmat joined
jnthn ZzZombo: I suspect those are because of the profiler UI (when I first worte it, I just used a CDN, but packagers seem to prefer to bundle it, which I can understand, and then of course they package all the things individually, so it's a dep :)) 09:47
yoleaux 06:31Z <brrt> jnthn: i'll have a look at the gist
09:47 j is now known as Guest45060, p6bannerbot sets mode: +v Guest45060, p6bannerbot sets mode: +v lizmat
benjikun ZzZombo: You can build zef pretty quickly 09:49
09:49 pmurias joined
benjikun github.com/ugexe/zef 09:49
09:49 karvad00 joined, p6bannerbot sets mode: +v pmurias 09:50 p6bannerbot sets mode: +v karvad00
ZzZombo Yeah, I did. Now I have to add it to path though, because why not leave it out, everybody likes to types paths out fully. 09:50
benjikun It has the instructions to add it to the path on the instructions under rakudo.org/files 09:52
A more one-install solution will come soon, there's an ongoing discussion revolving around that
09:54 sotona joined, p6bannerbot sets mode: +v sotona, kerframil left 09:55 andrzejku_ joined, p6bannerbot sets mode: +v andrzejku_ 09:56 Luneburg joined, p6bannerbot sets mode: +v Luneburg
Kaiepi it looks like i was right 09:56
i'll make an issue about it
Luneburg Is there any way to check what if a variable is present in an array, and it's position? 09:57
yoleaux 16 Aug 2018 13:10Z <uzl> Luneburg: I don't know if you're using the printed version of TP6 but in the latest pdf, that error has been fixed. This is the book's repo: github.com/LaurentRosenfeld/thinkp...ster/book. You might want to file an issue if find more errors.
09:58 sotona left, andrzejku left, andrzejku_ is now known as andrzejku
Luneburg So like if there is an @array = [a z m pq d], and I want to find if pq is present, and if so the position of pq? 09:59
benjikun Luneburg: `.first`
lizmat Luneburg: @a.first( * == 42, :k )
benjikun m: my @a = 1, 2, 3, 10, 4, 5; say @a.first: * == 10, :p; 10:00
camelia 3 => 10
benjikun index is 3, value is 10
m: my @a = 1, 2, 3, 10, 4, 5; say @a.first: * == 10, :k;
camelia 3
benjikun `:k` for just the index
Luneburg benjikun: Thanks guys!
benjikun :)
10:01 lizmat left
ZzZombo Really? "I ran into a problem while trying to set up Linenoise: Must specify something as a path: did you mean '.' for the current directory?". It is still not fixed? 10:02
10:04 zakharyas left, kerframil joined, p6bannerbot sets mode: +v kerframil, sena_kun joined 10:05 p6bannerbot sets mode: +v sena_kun 10:06 StephenS22 joined, p6bannerbot sets mode: +v StephenS22 10:10 StephenS22 left 10:13 zakharyas joined 10:14 p6bannerbot sets mode: +v zakharyas 10:16 karvad00 left, karvad00 joined 10:17 p6bannerbot sets mode: +v karvad00 10:21 lizmat joined 10:22 p6bannerbot sets mode: +v lizmat 10:24 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 10:25 p6bannerbot sets mode: +v aborazmeh 10:28 Guest45060 left 10:31 lizmat left 10:32 erry26 joined 10:33 erry26 left 10:35 sotona joined 10:36 p6bannerbot sets mode: +v sotona 10:40 nickenchuggets joined, sotona left, nickenchuggets left 10:41 inbioz left 10:42 sotona joined 10:43 p6bannerbot sets mode: +v sotona, aphel joined 10:44 p6bannerbot sets mode: +v aphel 10:47 aphel left 10:56 sotona left, ZzZombo left 11:00 Ven` left 11:02 Ven` joined 11:03 p6bannerbot sets mode: +v Ven` 11:04 zakharyas left, zakharyas joined 11:05 p6bannerbot sets mode: +v zakharyas
Kaiepi never mind about making an issue, send_icmp wasn't in the library file itself 11:10
benjikun I wish we had more users on at this time every day
11:12 jast joined, p6bannerbot sets mode: +v jast 11:14 zakharyas left, aborazmeh left 11:25 lizmat joined, p6bannerbot sets mode: +v lizmat 11:27 molaf joined, p6bannerbot sets mode: +v molaf 11:30 lizmat left 11:31 aborazmeh joined, aborazmeh left, aborazmeh joined, p6bannerbot sets mode: +v aborazmeh 11:32 p6bannerbot sets mode: +v aborazmeh 11:33 lizmat joined, lizmat left 11:34 Ven` left 11:37 lizmat joined 11:38 p6bannerbot sets mode: +v lizmat 11:41 lizmat left 11:42 spycrab0 left
tbrowder_ o/ 11:48
benjikun howdy
tbrowder_ benjikun: where do you hang your hat? 11:49
11:53 Ven` joined 11:54 p6bannerbot sets mode: +v Ven` 11:57 EXCEPTS joined, EXCEPTS left
benjikun huh 11:59
tbrowder_ old slang for: where do you live? 12:01
12:03 Luneburg left
benjikun tbrowder_: North carolina, what about you? 12:04
tbrowder_ niceville, fl 12:05
benjikun ah, nice 12:06
tbrowder_ i’m working (slowly) on a perl6.club website where interested p6 people can post their names and locations so we can see locations to aid in planning p6 meetups, 12:08
benjikun I see, interesting
I doubt there is many if anyone else in North Carolina 12:09
tbrowder_ the map part will be similar to that on my website here: novco1968tbs.com
there are some p6 people in or near atlanta, and there is a linux meetup in nc annually where we could have a meetup 12:10
also some p6 people in texas 12:11
12:14 Ven` left
tbrowder_ i would like to lobby for a perl conf in nw florida but not enough volunteers nearby 12:14
benjikun isn't the next perl conference in massachusetts 12:15
tbrowder_ would be nice if p6 could pick up some academic interest in the nc research triangle
benjikun or is it pennsylvania
tbrowder_ next perl conf is in pittsburg 12:16
benjikun ah
you gonna go up for that?
12:16 Ven` joined 12:17 p6bannerbot sets mode: +v Ven` 12:19 inbioz joined
mst we did have a conference in Asheville once 12:20
but that was some years ago
benjikun I wasn't aware of that
12:20 p6bannerbot sets mode: +v inbioz
benjikun while perl6 has been around? 12:20
12:20 sotona joined
benjikun I was never really involved in the perl5 community 12:20
mst perl6 existed as a project back then, certainly
I forget how far along it was
benjikun ah
12:21 p6bannerbot sets mode: +v sotona
mst I think that might've been before I got jnthn to talk to the Moose guys and he ended up coming up with MoarVM 12:21
12:23 inbioz left
mst is mostly a perl5-er who plans to use Inline::Perl6 to get at grammars later ;) 12:24
tbrowder_ i plan to attend pittsburg 12:25
benjikun I will if I can
not sure how much I'd fit in at one of these 12:26
tbrowder_ trust me, i understand, but i have now attended 2 tpc:nas and p6 people are pretty welcoming for the most part 12:27
12:35 les18 joined 12:36 p6bannerbot sets mode: +v les18, les18 left 12:37 inbioz joined, p6bannerbot sets mode: +v inbioz 12:38 inbioz left 12:39 inbioz joined 12:40 p6bannerbot sets mode: +v inbioz 12:49 eth20 joined, p6bannerbot sets mode: +v eth20 12:50 stmuk joined, inbioz_ joined 12:51 p6bannerbot sets mode: +v stmuk, p6bannerbot sets mode: +v inbioz_ 12:52 rubdos joined 12:53 p6bannerbot sets mode: +v rubdos, stmuk_ left, inbioz left 12:55 eth20 left 12:56 rubdos left, sotona left 12:58 sotona joined 12:59 p6bannerbot sets mode: +v sotona 13:02 lizmat joined 13:03 p6bannerbot sets mode: +v lizmat 13:09 sotona left 13:14 awwaiid joined 13:15 p6bannerbot sets mode: +v awwaiid, pj23 joined 13:16 pj23 left 13:17 Simba2 joined, p6bannerbot sets mode: +v Simba2 13:18 zakharyas joined, p6bannerbot sets mode: +v zakharyas, aborazmeh left 13:21 Simba2 left, lizmat left 13:26 lizmat joined 13:27 p6bannerbot sets mode: +v lizmat 13:30 ChoHag left 13:44 dStruct13 joined, lizmat left, p6bannerbot sets mode: +v dStruct13 13:46 lizmat joined 13:47 p6bannerbot sets mode: +v lizmat 13:51 dStruct13 left 13:56 skids joined 13:57 p6bannerbot sets mode: +v skids 13:58 lizmat left 14:00 abraxxa left 14:03 zakharyas left 14:04 zakharyas joined 14:05 sotona joined, p6bannerbot sets mode: +v zakharyas, p6bannerbot sets mode: +v sotona 14:07 inbioz joined, inbioz_ left 14:08 p6bannerbot sets mode: +v inbioz 14:09 sotona left 14:10 MyIgel joined, p6bannerbot sets mode: +v MyIgel 14:11 MyIgel left 14:16 sarna joined 14:17 p6bannerbot sets mode: +v sarna, harrison left
sarna o/ 14:19
14:19 lizmat joined 14:20 p6bannerbot sets mode: +v lizmat 14:21 silug joined
tyil o/ 14:21
14:21 p6bannerbot sets mode: +v silug 14:22 MasterDuke left 14:23 inbioz left 14:24 inbioz joined, lizmat left 14:25 p6bannerbot sets mode: +v inbioz 14:31 Ven` left 14:33 Ven` joined 14:34 p6bannerbot sets mode: +v Ven` 14:38 StephenS16 joined 14:39 p6bannerbot sets mode: +v StephenS16
tyil sarna: poke 14:40
benjikun howdy tyil and sarna 14:41
tyil hey benjikun :>
benjikun how's it hangin
tyil used to be better before I heard some talk was censored at the perl conf 14:42
14:42 StephenS16 left
timotimo i wonder what that's about 14:44
tyil sarna: I've removed the first part of the blogpost I asked you to review 14:45
benjikun the heck
why would it be censored lol
tyil "on Wednesday a Lightning talk was given that use a series of tropes and stereotypes. Despite the fact that these were being used to as a mockery of how those stereotypes do not actually exist or apply. The talk was inappropriate and not the manner of talk that should have been given. We have taken the decision to remove the video and it will not be shown on the internet and the speaker has removed the talk
timotimo hearing something like that, my first reaction is "is this one of those cases where people yell 'censorship' when it doesn't apply at all"
tyil and its slides from any public access."
from act.perlconference.org/tpc-2018-gl.../news/1568 14:46
timotimo: I cant verify whether it applies, since its only described in a vague way and all proof of the harmful talk have been removed from public sight
benjikun wonder what it was about
tyil I did not attend the lightning talks, so all I can see is that someone apparently was offended, and someone's effort was just completely purged from the world because of that 14:47
timotimo yeah, that makes it difficult to judge from the outside. but it could just as well have been a "hey, speaker, that was pretty much not cool", "oh i guess you're right, let's remove it before people get the wrong idea" situation
tyil the news post even says the stereotypes were used to prove they were incorrect
timotimo i.e. at most self-censorship, at best late insight
tyil so apparently there are some words that are simply censored in any context 14:48
timotimo that's quite a jump there
tyil thats how the news post words it
benjikun Could be over-protective, could be reasonable, hard to tell
tyil benjikun: censorship is never reasonable in my opinion
timotimo TPC is, after all, a public event that seeks to display and promote perl and culture and such to the world 14:49
benjikun I don't think so either, but it's an organization for a programming language
tyil all I can see is that some things are apparently not accepted in any condition, but we wont say which words are in that blacklist
benjikun they don't want themselves to look bad
timotimo i'd say this is less a censorship thing, more of a "this is not the right place for that" thing
benjikun They spelt "privilege" wrong in that post
tyil so now I have to censor myself because otherwise my efforts may just be removed from the face of the earth because someone was "offended"
timotimo um ... 14:50
you can still take your recording and slides and put them up everywhere on the .net
tyil benjikun: one of the things I always praised about the pelr community was their openness and receptiveness to other opinions
this goes directly against the things I love about this community
benjikun tyil: I'm on your side when it comes to censorship for SOME things.. but in this case, if it would put a negative image on the perl community, they have the right to censor it
I don't really know until I see what the content entailed 14:51
tyil yes, they have the right to do whatever
doesnt make it a good call, though
with great power comes great responsibility
and right now, it just seems like someone abusing a CoC to silence opinions/words they dont like
benjikun Whether or not it was over-sensitivity is impossible to tell sadly
tyil it always is when CoCs and the like are involved
the way they work is by spreading uncertainty and harshly censoring those who have different opinions 14:52
its a rule by fear of backlash
benjikun Wonder who presented it and if it's elsewhere 14:53
tyil if it exists somewher I'd love to see it so I (and others) can actually form their own opinion
instead of just being forced to accept the viewponts of others who apparently think they know best for everyone
benjikun Perhaps multiple people decided to not show it 14:54
tyil we'll never know, because specifics are never given in these situations
just vague explanations that could apply to almost everything
timotimo it doesn't sound at all like the presenter had a problem with removing the stuff
benjikun ^ True
Hard to tell though lol
There's nothing to deduce
14:54 abraxxa joined 14:55 p6bannerbot sets mode: +v abraxxa
benjikun weekly: www.reddit.com/r/perl6/comments/97...mple_page/ 14:55
notable6 benjikun, Noted!
timotimo the most important thing about whether humor is fine: is it punching up, or down? 14:56
tyil anyways, sarna: thanks for your feedback on my blogpost, but due to recent events I cant release the first part
timotimo the post makes it sound like there was mostly punching down involved
tyil (and it really does bother me)
benjikun timotimo: Or as if someone just interpreted it wrongly
who knows
tyil benjikun: oftentimes in these situations it's someone interpreting it wrongly on purpose, just so they can play the offended card to silence others 14:57
benjikun mdk is in here, he's the one who wrote the post 14:58
oh, nevermind
he must've left
tyil he's probably attending the current talk
14:59 abraxxa left 15:00 enyc4 joined
benjikun true 15:00
15:00 p6bannerbot sets mode: +v enyc4, enyc4 left
sarna tyil: sorry I was afk 15:01
tyil np
benjikun Have you guys ever thought what a shell would be like that utilizes Perl6
with some added bits and bobs, of course
tyil not very good, I think
OO in shells is generally terribly ugly for the tasks a shell is used for 15:02
and perl 6 isnt particularly fast
timotimo benjikun: have you tried spitsh?
benjikun yeah, not fast or anything
but still
timotimo: I have not, what is it?
timotimo basically perl6 for shell scripting
there was a recorded talk about it, too
benjikun wow
haven't seen this before
tyil there was a good talk about zsh for perl people 15:03
benjikun a minimalized Perl6 could be interesting for a shell
if you exclude some of the huge bits
timotimo where the F was the talk
sarna tyil: about the feedback - no worries :) also, I'm kind of glad this talk was removed
tyil did you attend the lightning talk that was removed? 15:04
15:04 zakharyas left
benjikun Honestly, it'd be cool if we had a very minimalized Perl6 like perlito that wasn't just to java/javascript 15:04
timotimo www.youtube.com/watch?v=RGaQ397bTv4 15:05
p6weekly to the rescue
15:05 zakharyas joined
benjikun It'd be even cooler if it was so minimal that it compiled to C... 15:05
15:06 p6bannerbot sets mode: +v zakharyas
benjikun kinda like microperl 15:06
looks neat timotimo, thanks for the link 15:07
timotimo i'll go ahead and watch the "future of perl 5 and 6" talk from the beginning
sarna tyil: nvm I misunderstood :^) 15:08
15:09 lizmat joined
benjikun where's that timotimo? 15:09
timotimo youtu.be/Y3TH8dJhEwE?t=4h18m58s
benjikun ty
15:10 p6bannerbot sets mode: +v lizmat, lizmat left 15:11 karvad00 left 15:14 DarthGandalf left, sotona joined 15:15 DarthGandalf joined, p6bannerbot sets mode: +v DarthGandalf, p6bannerbot sets mode: +v sotona 15:19 sotona left
tyil so, I spoke to mdk 15:22
apparently the vague wording was intentional
benjikun I see
tyil the speaker agreed to have his talk removed, because he did not want to offend anyone, and it is his job not to offend anyone
even if that's a practical impossibility
the underlying issue of the actual offense that people took will not be shared
so to me this feels like the victimisation ideology has won in the Perl community, just be offended for whatever reason and you'll get your way 15:23
xq what is this about removed talks 15:27
and offended people?
timotimo act.perlconference.org/tpc-2018-gl.../news/1568
tyil ^
timotimo that's the news post in question
xq uhm, so why remove it still 15:28
public bug trackers exist for a reason
if someone has an issue with something, state it, state reasons, document it, document full resolution of it 15:29
that page is empty of meaning
timotimo i disagree about that 15:30
if the names of either the person giving the talk or the person who brought up the issue went public, i'd expect a not insignificant amount of abuse and vitriol to be hurled at those people
you know how social media is
tyil yes, and I don't want that behaviour to come in here 15:31
on social media the norm is now "if someone yells "IM OFFENDED", the world stop turning to cater to their wishes, no matter the repurcussions"
timotimo i think you only see one half of that 15:32
tyil yes, because the other half keep s getting censored
timotimo that's not what i mean
xq without public discours this is just between behind-the-scenes bullying and/or censorship 15:33
tyil offense is always taken, not given, people can be offended for any or no reason
15:33 kerframil left
xq discourse* 15:33
tyil using "someone was offended" as the sole reason for any action is incredbily silly
xq: the speaker himself agreed to have his talk removed, but I can't say if he was forced into that position 15:34
timotimo you're fine assuming ill intent on behalf of the offended person from the get-go, right?
tyil well, there's no information given, so assumptions are all we have
xq tyil, yes see the bullying part
tyil which is why I ask for specifics
15:35 Ven` left
tyil and ofcourse the staff has the power (and perhaps a right) not to share any details 15:35
but that comes at the cost of people being forced to assume things instead
timotimo i find it very strange that you'd claim silencing that speaker would be a "reward" or something
tyil and generally, when people try to hide information, its because there's something thats worth hiding
feeling like a victim is a great reward for many people these days
you get all sorts of special attention from it 15:36
timotimo oh
yeah, i bet the person who got offended now gets a few hundred followers on twitter from being mentioned by name in the news post
not.
jnthn Where does it say "someone was offended"? It says the talk was inappropriate.
15:36 inbioz_ joined
tyil sarcasm isn't going to make any side happy here either, timotimo 15:36
timotimo sorry, you're right about that 15:37
tyil jnthn: I talked to mdk and the presenter of the talk, who told me its because people came forward saying they were offended
15:37 p6bannerbot sets mode: +v inbioz_
MitarashiDango[m Was it not that the CoC was called into question? 15:39
15:40 inbioz left
xq "people came forward saying they were offended" 15:40
tyil the CoC was mentioned when I talked to the people in person, saying that offending people is not acceptable (which is indeed in the CoC)
xq ^ "file a formal complaint please" is the proper response
tyil a CoC using such terms is a terrible document in my opinion, though
vague terms allow abuse of such documents, and "offense" is taken, and incredibly objective 15:41
what I find offensive differs greatly from what others find offensive
there are people that are offended for me when I make a joke about my own autism 15:42
benjikun same
tyil to me, that's insane, to others, any joke about any condition is considered insane
it's practically impossible to promise a world where nobody is ever offended 15:43
and I don't think it's sane to try and make such a world either
timotimo goes to enjoy some food 15:44
tyil yeah, I best take a break as well to let my emotions cool a bit I think
15:46 panicbit joined 15:47 p6bannerbot sets mode: +v panicbit
benjikun tyil: Are you watching the perl conference livestream? 15:57
heh
stmuk I found mdk's news post more offensive than the original talk 15:59
benjikun stmuk: What was the original talk like? 16:00
tyil benjikun: I'm physically attending 16:01
benjikun oh wait really
are you in the room rn?
watching the lightning talks?
tyil I just entered
caught the last half of the promotion of the Contributor Covenant
benjikun lolll
I see
tyil which, in my opinion, nobody who cares about healthy societies should ever consider
benjikun I agree 16:02
I knew you would have that opinion
16:02 zakharyas left
tyil :p 16:02
benjikun weird how I'm all the way across a huge ocean watching a livestream of a place where you are
tyil I'd also like to state that I do respect the speaker's effort to talk about things they care about 16:03
I don't have anything personal against the people who promote things like the Contributor's Covenent or any other CoC
benjikun same
I just don't agree with it
tyil I just disagree with the ideology and harmful environment they promote
16:04 les10 joined
benjikun I wonder how much of the perl community uses perl6 16:04
sarna there was a survey
16:04 p6bannerbot sets mode: +v les10
benjikun yeah I made the question about if you used perl5 before perl6 for the p6 survey :P 16:05
are you talking about that or the perl5 survey that had a couple p6 questions
sarna ah right, but there's a question about perl6 in perl5 surveys
tyil sarna: I believe benjikun makes that p6 survey
sarna yeah
tyil: oopsie
tyil :p
(though I also contributed to it now!)
I added one option to a question and moved some options around 16:06
sarna benjikun: iirc less and less people use perl6, according to the perl5 survey?
benjikun www.perl.com/images/the-2018-perl-...image4.png
I found it
16:06 spycrab0 joined, p6bannerbot sets mode: +v spycrab0, les10 left
benjikun ouch 16:06
yeah you're correct sarna 16:07
sarna benjikun: maybe these people migrated here and stopped participating in the perl5 surveys? 🤔
benjikun yeah, or it was just different people for some other reason 16:08
who knows
there's still a lot more avid perl5 users it seems
compared to p6
tyil that's to be expected 16:09
Perl 5 has a couple decades of legacy going for it
benjikun yeah, much older
sarna p5 is installed by default on most of the Linux distros, no?
benjikun yeah it is
this lightning talk speaker has hexchat open
I wonder if he's in here 16:10
tyil most if not all
benjikun: the ccdif guy?
benjikun tyil: yep
tyil that'd be tux
benjikun guess he's more of a perl5-er too
tyil I highlighted him, but I dont think the popup showed 16:11
he does Text::CSV
in both Perl 5 and Perl 6
benjikun ahh
I've used that before lol
tyil his module is used as the main way to see if perl 6 got faster :>
16:11 exio44 joined
benjikun are you hiring :P 16:12
16:12 exio44 left
tyil no, but I am close to one of the people that raised their hand for it :p 16:12
benjikun lol 16:13
[Coke] I'm only looking at review here, not any announcement from the con about a particular video or talk, but it seems to me that they are not required to host any particular content at all. if the content is problematic, that is between them and the presenter. I would hope that tyil of all people would be aware at this point that some content is actually problematic, and while you're free to share it yourself, 16:16
no one else in the community is required to share it for you.
tyil [Coke]: surely, they have the right to publish (or not publish) whatever 16:17
doesnt mean I agree with their actions
I want the community to be the best it can be, and things like this go directly against that
[Coke] That said, having a clear CoC is always helpful.
tyil so I speak up about it
also, I strongly disagree on that
benjikun same 16:18
stmuk tyil++
[Coke] I do not think that an effort to police inappropriate behavior is bad for the community. exactly the opposite. 16:20
16:20 molaf left
tyil and what exactly is "inappopriate"? 16:20
also, will context be taken into consideration? 16:21
[Coke] For example: your previous behavior.
benjikun what is and isn't inappropriate is subjective
tyil which previous behaviour?
I have been here for about a year
stmuk I think some of Shadowcat are some of the worst offenders for toxic and destructive behaviour in the Perl Community
tyil is it just in the past 5 minutes? is it something I said last month?
stmuk if they are the Police we are lost
[Coke] (subjective) if the organizers of the con made a decision about content associated with their con, yes, it's up to them ultimately to make the decision, sure. 16:22
tyil saying "previous behaviour" is not very "clear"
[Coke]: as I said, I agree that they can do whatever, but if I feel it is harmful to a community I deeply care about, I will speak up
timotimo i was assuming that to refer to an incident with a specific word
benjikun It's their decision, yeah, but doesn't have to be the right one
tyil and I am (for now, at least) still allowed to talk
[Coke] tyil: sure. I disagree with you that it is harmful. 16:23
tyil that's fine 16:24
but you just called my behaviour harmful
and you have yet to say what was harmful
[Coke] yes, using racial epithets is harmful.
tyil "past behaviour" is incredibly vague, and one of my issues with this whole debacle is the vagueness 16:25
oh, so its not about this particular discussion
[Coke] I'm referring to the "n-word" incident. Apologies if that wasn't you.
16:25 calcul0n22 joined
tyil that was not at all clear by the way you talked about it 16:25
and it's saddening to see you're holding a grudge towards something I publicly apologized for multiple times now
[Coke] Sorry, from my perspective, it's one of the few interactions I've had with you.
16:25 calcul0n22 left
[Coke] I am not holding a grudge. 16:25
tyil yet you still have to bring it up
[Coke] I was answering your question about what type of behavior with an example that I thought would stand out for you. 16:26
stmuk I think we should leave personal attacks out of this.
tyil I actually actively asked what people expected of me to fik the issue
[Coke] I think you fixed it, yes. Thank you.
tyil and apparently, nothing is good enough for you to forgive anyone for a past mistake, and you have to keep bringing it up to undermine anything that person ever says
16:26 sena_kun left
tyil if you have any comments on the topic I was discussing here, I'd gladly hear them 16:27
[Coke] That is explicitly not what I've said. I apologize for bringing up a painful topic, and will attempt to use a different example if this comes up again.
tyil if you're going to just personally attack me continuously for a past mistake, I don't think you're helping at all
[Coke] I am not personally attacking you, and I apologize if it feels that way. 16:28
Let me rephrase: it's not my intent to attack you.
tyil see the issue of using vague terminology to make hard rules for subjective feelings?
if there was a rule that its a bannable offense to attakc anyone personally, would this be one of those cases to ban you? 16:29
stmuk [Coke]: that's not the impression I'm getting here. You do seem to be attacking tyil
tyil I feel attacked, even though its not your intention
by the rules of the CoC applied to this conference, you are to be removed from the community
I strongly disagree that anyone should be removed for something like this, though
stmuk [Coke]: in particular implying racial abuse and that saying you aren't even sure about it seems strange. 16:30
tyil which is why I'm upset that a talk was removed from the archives over something similar
stmuk [Coke]: if you aren't sure why did you mention it?
tyil I dont think any speaker at the conference here was actively trying to "offend" anyone
[Coke] Obviously it is possible to offend without intent, as I've done. 16:31
tyil yes, because offense is taken 16:32
as such, its very subjective
as such, its a terrible measurement to take active action upon
[Coke] Have you reached out to the conference organizers about the issue?
benjikun The point tyil is trying to make is important in my opinion, too
tyil as such, any CoC that uses the term "offense" as a bannable action, is by definition, not a clear CoC
stmuk anyway maybe best moving into other topics, CoC discussions seem to lead to even worse arguments than licences
tyil [Coke]: yes, I have 16:33
[Coke] Excellent, thank you.
tyil they dont want to discuss any part of it, and they stand by their actions
16:34 inbioz joined
tyil I'm actually considering to draft an official complaint instead, to see if we can get some official changes going to prevent harmful ideology from hurting the community and future events 16:34
16:35 p6bannerbot sets mode: +v inbioz, inbioz_ left 16:37 inbioz left
stmuk releasable6: status 16:37
releasable6 stmuk, Next release in ≈1 day and ≈2 hours. 2 blockers. 212 out of 448 commits logged
stmuk, Details: gist.github.com/db159590bb80621152...cb61b166ca
16:37 inbioz joined 16:38 p6bannerbot sets mode: +v inbioz
stmuk anyone tried windows recently? 16:40
to mention an offensive OS :)
benjikun why are ya asking?
I haven't used it in a while :P 16:41
stmuk I meant the rakudo port
benjikun ah
is something broken or something?
16:42 inbioz_ joined
stmuk it doesn't tend to get as much love as it should 16:42
linenoise doesn't work currently which seems to be a rakudo issue
benjikun yeah I think I saw an issue for that
16:42 p6bannerbot sets mode: +v inbioz_
benjikun someone mentioned it not working on *nix recently in here, actually too 16:43
I don't know why it wasn't working for him
16:44 inbioz left
benjikun colabti.org/irclogger/irclogger_log...08-17#l290 16:47
here it was
stmuk benjikun: thanks, it doesn't mention which platform but that is the windows problem and I guess it's Windows 16:48
benjikun He was using debian, I think
he mentioned apt
stmuk ok I'll try it 16:49
although it looks like he is using an official debian package which is probably too old to be useful 16:51
16:52 sarna left
benjikun I heard it was up-to-date actually, now 16:52
stmuk sid has 2018.06.1 16:53
benjikun: do you know if he was using sid?
benjikun no idea, he didn't mention that
stmuk can't reproduce that problem with either a source build or using debian's 2018.06.1 package 17:03
I see the odd debian deps!
timotimo the javascript deps? 17:08
angular and bootstrap?
i seem to recall we asked some debian person about that once? i believe they are just "recommends", though, not "depends"
stmuk Depends: moarvm (>= 2018.06), moarvm (<< 2018.07), nqp (>= 2018.06), nqp (<< 2018.07), libc6 (>= 2.4), libffi6 (>= 3.0.4), libtommath1, libuv1 (>= 1.4.2), libpath-tiny-perl, libgraph-perl 17:14
Suggests: valgrind
timotimo huh, that is kinda weird 17:15
you mean the version numbers thing, right?
stmuk I'm surprised there is the runtime dep on perl5 modules, and where the libjs-angularjs libjs-bootstrap come from I don't know!
I meant more the deps 17:16
timotimo i don't see the js deps there? do you have a link?
stmuk gist.github.com/stmuk/31f5ddb40e7f...0f78515de9 17:18
timotimo well, angularjs and bootstrap are simple; nqp --profile will output an html file that uses angular and bootstrap.
stmuk ah
timotimo as jnthn explained, though perhaps not in this channel?, he used a cdn link in the html files, but debian would probably prefer not communicating to the outside for this 17:19
which i find very sensible
the perl5 dependencies also confuse me, though. at most there's Configure.pl, right? the example languages don't use perl5? do we have tools in nqp/ that use perl5 perhaps?!
i'm not entirely sure if maybe the moarvm exprjit compiler requires some of these perl5 things, but that's a compile-time dependency, not run-time 17:20
stmuk /usr/share/perl6/rakudo-helper.pl uses Graph.pm 17:23
timotimo what's that? 17:24
* postinst script and rakudo-helper to support upgrades
and module package precompilation and cleanup
is that it?
stmuk looks like something they added to "help with precomp"
timotimo wiki.debian.org/Perl6Policy - this has a little bit about that 17:26
benjikun timotimo & stmuk: jnthn commented on the js deps 17:27
colabti.org/irclogger/irclogger_log...08-17#l250
they are used in the profiler UI
timotimo i just explained that a few lines back ;) ;) 17:29
benjikun oh, oops 17:30
sorry timotimo
didn't read those lol
timotimo no problem :)
robertle I could explain what debian is doing around rakudo-helper, basically it's the desire to manage and clean up pre-comp files 17:33
so if you install a module, and remove it later, it should not leave precomp files behind on the machine
there are two ways to do that: ship the precomp files in the package, or create and remove them on installation and package removal respectively 17:34
we ended up with the second option
the graph.pm stuff is so that we can tell which precomp files are for a given package, rather than for a dependency 17:35
stmuk makes sense .. thanks for the info 17:36
still puzzled to why ZZzombo saw a linenoise problem .. I think they must have installed zef and linenoise from source 17:38
and it works when I try it 17:39
17:45 mal10 joined 17:46 p6bannerbot sets mode: +v mal10 17:47 mal10 left
Geth ¦ doc: MorayJ self-assigned Inconsistent capitalization and use of period in the "Language" page github.com/perl6/doc/issues/2146 17:49
18:03 molaf joined, troys joined, p6bannerbot sets mode: +v molaf 18:04 p6bannerbot sets mode: +v troys 18:12 inbioz_ left 18:13 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 18:14 MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 18:19 karvad00 joined, p6bannerbot sets mode: +v karvad00 18:20 Peetz0r20 joined 18:21 p6bannerbot sets mode: +v Peetz0r20, Peetz0r20 left 18:25 zakharyas joined, p6bannerbot sets mode: +v zakharyas 18:28 sauvin left 18:41 matze17 joined 18:42 matze17 left
pmurias tyil: not publishing videos that can only potentially cause a shitstorm doesn't seem like a super bad thing 18:52
I didn't like the leftist keynote last year but I'll just skip it next year 18:53
benjikun keynote? 18:54
Do you mean the one on CoC's
pmurias the empathy one 18:57
benjikun oh
I must've missed that one
pmurias it was in 2017
benjikun oh lol, then I definitely missed it
18:58 stmuk_ joined
benjikun hi stmuk_ 18:58
again
18:58 Sousapro8 joined, MalReynolds joined 18:59 MalReynolds is now known as Guest24252, p6bannerbot sets mode: +v stmuk_, Guest24252 left, p6bannerbot sets mode: +v Sousapro8 19:00 zakharyas left, Sousapro8 left, Silversword17 joined, stmuk left 19:01 p6bannerbot sets mode: +v Silversword17 19:02 kaare_ left, Silversword17 left 19:07 cpage joined, p6bannerbot sets mode: +v cpage 19:19 abraxxa joined 19:20 p6bannerbot sets mode: +v abraxxa 19:21 x[LGWs4x4i]uG2N0 left 19:24 x[LGWs4x4i]uG2N0 joined 19:25 p6bannerbot sets mode: +v x[LGWs4x4i]uG2N0, matsu left, [particle] left 19:26 matsu joined, p6bannerbot sets mode: +v matsu, [particle] joined 19:27 p6bannerbot sets mode: +v [particle] 19:32 [particle] left 19:33 [particle] joined 19:34 karvad00 left, CC665 joined, mattcode joined, p6bannerbot sets mode: +v [particle], mattcode left 19:35 p6bannerbot sets mode: +v CC665 19:36 [particle] left, [particle] joined 19:37 p6bannerbot sets mode: +v [particle] 19:40 Zoddo29 joined 19:41 Zoddo29 left 19:43 CC665 left 19:49 abraxxa left 19:53 [particle] left 19:55 diakopter left 20:01 [particle] joined 20:02 p6bannerbot sets mode: +v [particle] 20:07 Kaiepi left, Kaypie joined 20:08 p6bannerbot sets mode: +v Kaypie, molaf left
masak does the spaceship operator <=> originate with Perl, or did Perl get it from some earlier language? 20:13
Ulti specifically the operator syntax or having a numeric compare operator infix? 20:19
timotimo well, i know about a "smaller, greater, equal than" operator from Le Maths 20:20
Ulti Icon had <-> but for xor swap of two variables
20:22 Nevolution220 joined 20:23 p6bannerbot sets mode: +v Nevolution220 20:26 kaare_ joined, Nevolution220 left, MarkAtwood4 joined, p6bannerbot sets mode: +v kaare_ 20:27 p6bannerbot sets mode: +v MarkAtwood4 20:28 MarkAtwood4 left
mst thought so. 20:28
timotimo "per loo tut", eh? 20:31
mst in loo of what, though? 20:35
timotimo not quite sure, tbh
20:36 pmurias left
[Coke] that took me a second. 20:37
mst moritz: bought grammar book just before leaving. read most of it on the train. bloody good introduction. need to finish the case studies then try and find a suitable yak to trial it on. 20:43
timotimo first i read "suitcase yak"
20:45 dindon3 joined
Ulti www.masteringperl.org/2018/08/benc...i-numbers/ in P6 I thought this would be: (4 +< $n*(3+$n)) div ((4 +< 2*$n) - (2 +< $n) - 1) +& ((2 +< $n) - 1) 20:45
20:45 p6bannerbot sets mode: +v dindon3
Ulti but it doesnt work out, I assume either precedence is off, or I just failed totally 20:45
20:46 dindon3 left
Ulti runs faster than 1 minute to get the wrong answer though for what thats worth :3 20:47
mst timotimo: they don't fit in the suitcase easily until *after* you shave them 20:49
the hair tends to jam the lock
timotimo oh, i can imagine that's annoying
21:04 skids left
tobs Ulti: you're right about the precendence 21:05
m: sub fib ($n) { (4 +< ($n*(3+$n))) div ((4 +< (2*$n)) - (2 +< $n) - 1) +& ((2 +< $n) - 1) } ; fib($_).say for ^10 21:06
camelia 0
1
2
3
5
8
13
21
34
55
21:06 silug left
tobs (two pairs of parens added near +<) 21:06
m: 5 »*» (2..4) 21:14
camelia Potential difficulties:
Useless use of »*» in sink context
at <tmp>:1
------> 035 7⏏5»*» (2..4)
No such method 'name' for invocant of type 'Mu'. Did you mean any of these?
note
take

in block <unit> at <…
tobs that's not my usual scolding when I use the hyper infix 21:15
m: say (2..4) «*« 5
camelia Lists on either side of non-dwimmy hyperop of infix:<*> are not of the same length
left: 3 elements, right: 1 elements
in block <unit> at <tmp> line 1
tobs I get the direction of «» wrong consistently every time. Is there an mnemonic? 21:17
21:17 kaare_ left
tobs To me "«*« 5" looks like "push as many 5's into it as necessary" 21:18
timotimo to me it's more "»*» 5" is "power up the 5" 21:20
tobs Hm! The docs mention "the pointy part of « or » aimed at the shorter list". I get that. 21:28
oh dang. I hope nobody looked forward to opening R#2222 themselves 21:32
synopsebot R#2222 [open]: github.com/rakudo/rakudo/issues/2222 LTA error message with non-dwimmy hyper infix
21:48 pilottage joined, p6bannerbot sets mode: +v pilottage 21:51 pilottage left 21:53 Brace13 joined 21:54 p6bannerbot sets mode: +v Brace13 21:55 Brace13 left 21:58 itaipu left
tbrowder_ .ask Altreus do you have a pod problem other than the declarator/attribute issue? 22:11
yoleaux tbrowder_: I'll pass your message to Altreus.
22:25 Praise joined, p6bannerbot sets mode: +v Praise 22:28 rindolf left 22:31 wamba joined
tyil .tell pmurias anything can potentially cause a shitstorm, so by that definition nothing should ever be published under any circumstances 22:32
yoleaux tyil: I'll pass your message to pmurias.
22:32 p6bannerbot sets mode: +v wamba 22:37 lannister joined 22:38 lannister left 22:56 Guest64743 joined 22:57 p6bannerbot sets mode: +v Guest64743 22:59 Kaiepi joined, Kaypie left, p6bannerbot sets mode: +v Kaiepi 23:00 Kaiepi left 23:01 Kaiepi joined, p6bannerbot sets mode: +v Kaiepi 23:04 Guest64743 left 23:05 stmuk joined 23:06 p6bannerbot sets mode: +v stmuk 23:08 stmuk_ left 23:20 dct joined, p6bannerbot sets mode: +v dct
AlexDaniel tyil: s/potentially/likely/ :) 23:37
though I have no idea what everyone is talking about
Garland_g[m] I have a function pointer inside of a CStruct, and a method I want it to point to. is there any way to assign a Callable to it? 23:38
23:46 hoelzro left
AlexDaniel` m: class A { method foo { say 42 } }; my $x = A.new; my &x = $x.^lookup(‘foo’).assuming($x); x() 23:49
camelia 42
AlexDaniel` @Garland_g:matrix.org: not sure if this helps ↑
23:52 wamba left
timotimo i think they want something for NativeCall 23:53
so function pointer at the C level
AlexDaniel` mmm
timotimo is at like a quarter mental capacity right now and tied up with something else that he really wants to get done 23:54
23:54 dct left
Garland_g[m] Yeah, I'm looking for NativeCall. I'm currently reading through the NativeCall source to see if I can find something that might help. 23:57
timotimo look at the test files inside rakudo's repository in the t folder 23:58
there's tests there for function pointers