🦋 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.
fabio please 02:29
Guest66049 i want to know 02:29
about programming with perl 6
and apache
like mod_perl 02:30
? 02:32
fhpedro is possible to use raku and apache httpd server? 02:37
mst fhpedro: raku can talk http itself 02:58
fhpedro: apache can use mod_proxy to talk to it 02:59
fhpedro: mod_perl has been a legacy technology for 15 years now and is not relevant to new code.
fhpedro: please talk to me in #raky 03:07
fhpedro will I handle http requests with a pattern in raku? 03:08
like *.do
in the URL
and let apache handle the remaining
?
SmokeMachine one question about supplies: if the emitter spends the time of each tapped function and each tapped function is “atomic” and we only run 1 whenever at any time, shouldn’t it be a deadlock? 08:37
SmokeMachine m: my Supplier $s .= new; Promise.in(1).then: { $s.emit: 1 }; react whenever $s.Supply { .say; $s.emit: $_ + 1 if $_ < 10 } 08:37
m: my Supplier $s .= new; Promise.in(1).then: { $s.emit: 1 }; react whenever $s.Supply { .say; $s.emit: $_ + 1; done if $_ >= 10 } 08:38
evalable6: my Supplier $s .= new; Promise.in(1).then: { $s.emit: 1 }; react whenever $s.Supply { .say; $s.emit: $_ + 1; done if $_ >= 10 }
evalable6 1
2
3
4
5
6
7
8
9
10
kawaii `MoarVM panic: Internal error: Unwound entire stack and missed handler` 10:20
what? :D
Altreus Did someone once tell me to always use a react block instead of .tap unless I really mean it? 11:15
Cos I'm having troubles that might be solved by not doing things I don't fully understand
But I don't fully understand any of it :D
never mind, it's already a react block 11:18
camelia (timeout)1 11:46
1
2
3
4
5
6
7
8
9
10
lizmat weekly: grants.perlfoundation.org 17:10
notable6 lizmat, Noted! (weekly)
SmokeMachine lizmat: revolutionary? Thanks... 20:24
lizmat :-) 20:43
SmokeMachine is this expected? 20:52
m: class C { method bla { "bla" }; method FALLBACK($a) { Proxy.new: FETCH => method (\SELF:) { say "here"; self.bla }, STORE => &say } }; say C.new.not-bla
evalable6: class C { method bla { "bla" }; method FALLBACK($a) { Proxy.new: FETCH => method (\SELF:) { say "here"; self.bla }, STORE => &say } }; say C.new.not-bla 20:53
camelia (timeout)here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here
here…
evalable6 (signal SIGHUP) here
here
here
here
here
here
h…
SmokeMachine, Full output: gist.github.com/68a3b5dc82917ed32e...e42ccf1e3f
SmokeMachine evalable6: class C { method bla { "bla" }; method FALLBACK($a) { Proxy.new: FETCH => method () { say "here"; self.bla }, STORE => &say } }; say C.new.not-bla 20:53
evalable6 (signal SIGHUP) here
here
here
here
here
here
h…
20:54
SmokeMachine, Full output: gist.github.com/98d1bb3f3cf41a52db...7a767b55a6
SmokeMachine evalable6: class C { method bla { "bla" }; method FALLBACK($a) { Proxy.new: FETCH => sub ($) { say "here"; self.bla }, STORE => &say } }; say C.new.not-bla 20:58
evalable6 here
bla
lizmat SmokeMachine: Proxy.FETCH may be called many times, you cannot be sure it will only be called once 21:17
SmokeMachine lizmat: but it's infinite looping... 21:50
lizmat that means that the FETCH method somehow calls a method that is calling FETCH again 21:51
perhaps you can gain more clarity by showing the caller of the FETCH method everytime it gets called
(possbly a few levels up)
SmokeMachine in any at gen/moar/BOOTSTRAP/v6c.nqp line 1744 22:12
in any decontrv at gen/moar/BOOTSTRAP/v6c.nqp line 4035
lizmat: www.irccloud.com/pastebin/OJtfGzfO/ 22:13
lizmat nothing jumps out to me atm... 22:15
perhaps make an issue and someone less tired could have a look (like me, but tomorrow :-) 22:16
Geth ¦ problem-solving: ugexe assigned to jnthn Issue New public interfaces are often added without any chance for general consensus github.com/Raku/problem-solving/issues/169 22:24
SmokeMachine lizmat: R#3550 22:25
linkable6 R#3550 [open]: github.com/rakudo/rakudo/issues/3550 Infinite looping on Proxy inside FALLBACK