»ö« 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. |
|||
00:00
p6bannerbot sets mode: +v regreg_
00:08
ZzZombo_ joined,
p6bannerbot sets mode: +v ZzZombo_
00:10
ZzZombo left,
ZzZombo_ is now known as ZzZombo
00:11
cognominal-p6 joined,
p6bannerbot sets mode: +v cognominal-p6
00:15
lizmat left
00:18
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | Demos[m]: is that bad? RE: "yay! perl makes symlinks on windows with SYMBOLIC_LINK_FLAG_ALLOW_UNPRIVILEGED_CREATE" | 00:18 | |
Zoffix isn't sure if the "yay" was sarcastic or geniuine :) | 00:19 | ||
jnthn: the qp// was killed. It won't happen :) | 00:20 | ||
Or I should say: it was deliberate to remove all traces of it | |||
samcv++ # encoding work | 00:22 | ||
m: sub prefix:<🛣> { $^v.IO }; dd 🛣'/tmp/bar' | 00:24 | ||
camelia | IO::Path.new("/tmp/bar", :SPEC(IO::Spec::Unix), :CWD("/home/camelia")) | ||
Zoffix | Demos[m]: there's your path-making operator :} | ||
00:25
gurmble joined,
p6bannerbot sets mode: +v gurmble
00:26
gurmble is now known as grumble
00:31
erana joined
00:32
erana left
|
|||
erana_ | about shameen.dyndns.net, could someone test port 80 of the webserver at 152.35-136-217.adsl-dyn.isp.belgacom.be | 00:35 | |
Then you can see the markov ai I was talking about | 00:36 | ||
00:36
grumble left
00:37
grumble joined,
p6bannerbot sets mode: +v grumble,
Zoffix left
|
|||
erana_ | attack page, oh boy | 00:38 | |
00:43
Guest18 joined,
p6bannerbot sets mode: +v Guest18
00:50
mcmillhj left
00:55
oxc joined,
p6bannerbot sets mode: +v oxc
00:57
oxc left
01:00
jbicha13 joined
01:01
p6bannerbot sets mode: +v jbicha13,
jbicha13 left
01:06
hamhu3 joined
01:07
p6bannerbot sets mode: +v hamhu3,
hamhu3_ left
01:12
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
01:16
fake_space_whale joined
01:17
mcmillhj left,
p6bannerbot sets mode: +v fake_space_whale
01:20
avar left,
avar joined,
avar left,
avar joined,
p6bannerbot sets mode: +v avar
01:21
p6bannerbot sets mode: +v avar
01:23
xinming left,
xinming joined
01:24
p6bannerbot sets mode: +v xinming
01:30
HuskyApocalypse joined,
p6bannerbot sets mode: +v HuskyApocalypse
01:31
HuskyApocalypse left
01:43
Guest18 left
01:47
Guest18 joined
01:48
p6bannerbot sets mode: +v Guest18
01:50
Guest18 left
01:52
mcmillhj joined
01:53
p6bannerbot sets mode: +v mcmillhj
01:57
mcmillhj left,
Guest18 joined,
p6bannerbot sets mode: +v Guest18
02:02
cpage left,
ufobat_ joined
02:03
p6bannerbot sets mode: +v ufobat_,
mani_ left
02:06
mcmillhj joined,
ufobat left
02:07
p6bannerbot sets mode: +v mcmillhj
02:10
mcmillhj left
02:14
knation joined,
p6bannerbot sets mode: +v knation
|
|||
knation | I am a perl 5 dev and looking to get started with perl 6, I am running into a problem that I am sure has a simple solution. I am looking to import a module into another file, I have the following file structure: bin/main.pm6 and I want to import from bin/Controller/Test.pm6 | 02:16 | |
I have read that this is the correct syntax in my main.pm6 file: `use lib 'Controller::Test'` but it does not seem to be able to find the module | |||
02:19
ZzZombo left,
aijony joined
|
|||
geekosaur | use lib adds a director tot he module path | 02:20 | |
use Controller::Test; | |||
if it's in the current directory then you may need: use lib '.'; | |||
02:20
p6bannerbot sets mode: +v aijony
|
|||
geekosaur | this is more or less the same as perl 5 except that perl 6 likes to use precompiled modules instead of perl 6 source | 02:21 | |
02:25
aijony left
|
|||
knation | Thanks all, taking a second look now! | 02:25 | |
02:27
|oLa| left
|
|||
timotimo | there ought to be a link from Positional to docs.perl6.org/language/operators#...ix_%5B_%5D in the docs | 02:30 | |
02:33
ZaB|SHC|13 joined,
graphene left
02:34
p6bannerbot sets mode: +v ZaB|SHC|13,
graphene joined
02:35
w_richard_w joined,
p6bannerbot sets mode: +v graphene,
p6bannerbot sets mode: +v w_richard_w
02:36
vike1 left,
ZaB|SHC|13 left,
knation left,
mcmillhj joined
02:37
Guest18 left,
p6bannerbot sets mode: +v mcmillhj
02:38
w_richard_w left
02:39
Guest18 joined,
vike1 joined
02:40
p6bannerbot sets mode: +v Guest18,
p6bannerbot sets mode: +v vike1,
knation joined,
p6bannerbot sets mode: +v knation
02:41
mcmillhj left
02:47
knation left,
mcmillhj joined
02:48
p6bannerbot sets mode: +v mcmillhj
02:52
mcmillhj left
02:55
Welcome joined,
p6bannerbot sets mode: +v Welcome
02:59
Welcome left,
ufobat___ joined
03:00
p6bannerbot sets mode: +v ufobat___
03:03
ufobat_ left
03:05
mcmillhj joined
03:06
ZzZombo joined,
p6bannerbot sets mode: +v ZzZombo,
p6bannerbot sets mode: +v mcmillhj
03:10
mcmillhj left
03:12
|oLa| joined
03:13
p6bannerbot sets mode: +v |oLa|
03:16
dharrigan joined
03:17
p6bannerbot sets mode: +v dharrigan
03:21
dharrigan left
03:29
Herby_ joined
03:30
p6bannerbot sets mode: +v Herby_
|
|||
Herby_ | o/ | 03:30 | |
03:30
mcmillhj joined
03:31
p6bannerbot sets mode: +v mcmillhj
03:36
mcmillhj left
03:37
Guest18 left,
Guest18 joined
03:38
p6bannerbot sets mode: +v Guest18
03:41
mcmillhj joined
03:42
p6bannerbot sets mode: +v mcmillhj
03:46
mcmillhj left
03:54
aborazmeh left
|
|||
MasterDuke | samcv: "Since there was no functionality for writing utf-16 to a file previously, there should be no back compatibility issues with before at all before, luckily there aren’t any back compatibility issues.", is awkward | 04:00 | |
04:04
joy_ left
04:12
joy_ joined,
p6bannerbot sets mode: +v joy_
04:13
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
04:15
Herby_ left
04:16
Quick_Wango9 joined
04:17
p6bannerbot sets mode: +v Quick_Wango9,
mcmillhj left
04:20
Quick_Wango9 left
04:27
mcmillhj joined
04:28
p6bannerbot sets mode: +v mcmillhj
04:32
mcmillhj left,
molaf joined
04:33
p6bannerbot sets mode: +v molaf
04:52
curan joined,
p6bannerbot sets mode: +v curan
04:53
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
04:57
mcmillhj left
05:06
molaf left
05:10
mcmillhj joined
05:11
p6bannerbot sets mode: +v mcmillhj
05:14
mcmillhj left
05:16
sauvin joined,
p6bannerbot sets mode: +v sauvin
05:33
yujunz11 joined
05:34
p6bannerbot sets mode: +v yujunz11
05:36
yujunz11 left
05:38
HaraldJoerg joined
05:39
p6bannerbot sets mode: +v HaraldJoerg,
mcmillhj joined
05:40
p6bannerbot sets mode: +v mcmillhj
05:42
fake_space_whale left
05:44
mcmillhj left
05:53
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
05:58
mcmillhj left
06:04
mcmillhj joined
06:05
j4168 joined,
p6bannerbot sets mode: +v mcmillhj,
domidumont joined
06:06
p6bannerbot sets mode: +v j4168,
p6bannerbot sets mode: +v domidumont
06:07
domidumont1 joined
06:08
p6bannerbot sets mode: +v domidumont1
06:09
mcmillhj left
06:10
domidumont left
06:13
j4168 left
06:15
jmerelo joined
06:16
p6bannerbot sets mode: +v jmerelo
06:17
domidumont1 left
06:23
psychoslave joined,
fake_space_whale joined
06:24
p6bannerbot sets mode: +v psychoslave,
p6bannerbot sets mode: +v fake_space_whale
06:25
buZz8 joined
06:26
p6bannerbot sets mode: +v buZz8
06:27
wirehead26 joined,
p6bannerbot sets mode: +v wirehead26
06:28
buZz8 left,
Guest18 left
06:29
wirehead26 left
06:33
kurahaupo left,
Guest18 joined
06:34
p6bannerbot sets mode: +v Guest18,
kurahaupo joined
06:35
mcmillhj joined,
p6bannerbot sets mode: +v kurahaupo
06:36
bwasti7 joined,
p6bannerbot sets mode: +v mcmillhj,
p6bannerbot sets mode: +v bwasti7
06:38
graphene left
06:39
graphene joined
06:40
Guest58266 joined,
p6bannerbot sets mode: +v graphene,
mcmillhj left,
p6bannerbot sets mode: +v Guest58266,
bwasti7 left
06:41
Guest58266 left
06:43
robertle joined
06:44
p6bannerbot sets mode: +v robertle
06:48
fake_space_whale left
06:57
Guest18 left
06:58
Guest18 joined,
p6bannerbot sets mode: +v Guest18
|
|||
jmerelo | Hi! | 06:59 | |
tyil | hi jmerelo :> | ||
jmerelo | Hi, tyil How're you doing? :-) | 07:00 | |
07:00
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
jmerelo | Hi, lizmat ! | 07:00 | |
07:01
scoopex18 joined
07:02
p6bannerbot sets mode: +v scoopex18
07:03
scoopex18 left
07:04
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
|
|||
tyil | jmerelo: just got to work, doing fine here | 07:07 | |
been looking at github.com/rakudo/rakudo/blob/nom/...in.pm#L17, to see if I can fix one of these TODOs | |||
jmerelo | tyil: that would be great. | 07:08 | |
07:08
mcmillhj left
|
|||
jmerelo | tyil: I raised a couple of issues about EnumHOW, don't know if you have seen them (maybe you have and that's why you're telling me) | 07:08 | |
tyil: there are lots of other issues in Rakudo anyway, you've got many to choose from... | 07:09 | ||
tyil | yeah, but I haven't done anything in rakudo's perl 6 code yet | 07:10 | |
07:10
graphene left
|
|||
tyil | I found these particular issues through a SO answer (stackoverflow.com/questions/350072...rl-6?rq=1) | 07:11 | |
jmerelo | tyil: you might find zoffix's z useful to build and test everything | ||
tyil: although probably you have that (or something similar) already. | |||
07:12
graphene joined
|
|||
tyil | not yet, but if I go into actually trying to fix it, I'll probably write up scripts to automate all the annoying parts before my first PR :p | 07:12 | |
jmerelo | tyil: good luck! | ||
07:12
p6bannerbot sets mode: +v graphene
|
|||
tyil | thanks :D | 07:13 | |
lookatme_q | :) | 07:15 | |
07:16
lizmat left,
domidumont joined
07:17
p6bannerbot sets mode: +v domidumont
07:19
rindolf joined
07:20
p6bannerbot sets mode: +v rindolf
07:30
graphene left,
psychoslave left
07:31
graphene joined
07:32
p6bannerbot sets mode: +v graphene
07:34
dakkar joined
07:35
p6bannerbot sets mode: +v dakkar
07:39
eliran joined,
eliran left
07:47
mcmillhj joined
07:48
ZzZombo_ joined,
p6bannerbot sets mode: +v ZzZombo_,
p6bannerbot sets mode: +v mcmillhj
07:50
ZzZombo left,
ZzZombo_ is now known as ZzZombo
07:52
mcmillhj left
07:54
Ven` joined
07:55
p6bannerbot sets mode: +v Ven`
07:59
robertle left
08:01
robertle joined
08:02
p6bannerbot sets mode: +v robertle
08:05
mcmillhj joined
08:06
p6bannerbot sets mode: +v mcmillhj
08:11
mcmillhj left
08:24
lizmat joined,
p6bannerbot sets mode: +v lizmat
08:29
robertle left,
robertle joined
08:30
p6bannerbot sets mode: +v robertle
08:35
robertle left,
dnusbaum6 joined,
p6bannerbot sets mode: +v dnusbaum6
08:36
dnusbaum6 left
08:37
robertle joined
08:38
p6bannerbot sets mode: +v robertle,
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
08:40
scimon joined
08:41
p6bannerbot sets mode: +v scimon
08:43
mcmillhj left
08:48
Guest18 left
|
|||
lizmat | weekly: opensource.com/article/18/9/using-sigils-perl-6 | 08:51 | |
notable6 | lizmat, Noted! | ||
08:56
Sigyn joined,
p6bannerbot sets mode: +v Sigyn
08:57
delacroix1 joined
08:58
delacroix1 left
09:01
mcmillhj joined
09:02
p6bannerbot sets mode: +v mcmillhj
09:06
mcmillhj left
09:12
cpage joined
09:13
p6bannerbot sets mode: +v cpage
09:19
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
09:23
mcmillhj left
|
|||
El_Che | lizmat: | **@** | Array | Positional | | 09:25 | |
**@** ? | |||
lizmat | argh... the messed up the markdown -> HTML conversion | 09:26 | |
tyil | I just wanted to say | 09:27 | |
that looks like she tried to bolden it | |||
El_Che | it's tricky when the formatting is done with special chars that p6 also uses | ||
lizmat | the thing is that on GitHub, the markdown rendered the sigils as bold inside that table | 09:29 | |
tyil | GitHub has its own flavour of markdown | 09:30 | |
maybe that can explain some of the differences | |||
lizmat | yeah, apparently :-( | 09:31 | |
El_Che | I know you can't change it :( | 09:32 | |
lizmat | well, I sent emails to the editors | 09:33 | |
but they're still asleep :-) | |||
09:37
mcmillhj joined
09:38
p6bannerbot sets mode: +v mcmillhj
09:41
mcmillhj left
|
|||
AlexDaniel | github has 3 of its own flavours | 09:54 | |
gists, comments and wiki pages are all different | |||
tyil | heh | 09:56 | |
I thought it was all GFM | |||
AlexDaniel | tyil: github.com/AlexDaniel/GFM-test/blo.../README.md github.com/AlexDaniel/GFM-test/issues/1 github.com/AlexDaniel/GFM-test/wiki | 10:00 | |
that's one example off the top of my head | |||
10:02
ZzZombo left
|
|||
tyil | that's pretty different | 10:02 | |
10:03
mcmillhj joined
|
|||
AlexDaniel | I remember there was some feature that I simply couldn't get to work in gists at all | 10:03 | |
something related to tables and code blocks | |||
but IIRC it worked in wikis | |||
10:04
p6bannerbot sets mode: +v mcmillhj
|
|||
AlexDaniel | or maybe in comments, I don't remember at all now | 10:04 | |
10:08
mcmillhj left
10:14
Ipsilon16 joined
10:15
p6bannerbot sets mode: +v Ipsilon16
|
|||
cognominal-p6 | A sequitur about my question yesterday. What will be the point to use str in place of Str, which caused my problem in the first place, if eventually the optimizer will be capable optimize out the OO rigmarole when possible. | 10:15 | |
10:16
Ipsilon16 left
|
|||
tyil | because eventually is not right now would be my first guess | 10:16 | |
cognominal-p6 | I would agree with that. So my use of str was premature optimization | 10:18 | |
10:19
psychoslave joined
|
|||
jnthn | Primarily it's there for bootstrapping reasons, but also a `my str @arr` can be rather more compact in memory | 10:19 | |
There's not much reason to use it on a scalar | |||
10:19
mcmillhj joined
|
|||
jnthn | And what performance reasons there are increasingly falling away as optimization gets smarter | 10:19 | |
10:19
p6bannerbot sets mode: +v psychoslave
|
|||
cognominal-p6 | jnthn++ | 10:20 | |
10:20
p6bannerbot sets mode: +v mcmillhj
10:24
mcmillhj left,
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
cognominal-p6 | Also my code was facepalm. It was contained the equivalent of my str $s = 'toto'; $s.say # so much for going without OO | 10:25 | |
s/was// | |||
10:28
leont joined
10:29
p6bannerbot sets mode: +v leont
10:36
sena_kun joined,
p6bannerbot sets mode: +v sena_kun
10:38
mcmillhj joined
10:39
p6bannerbot sets mode: +v mcmillhj
10:42
mcmillhj left
10:45
psychoslave left
|
|||
timotimo | well, you can use methods on $s if it's "str", but it'll be boxed to a Str on the spot for you | 10:52 | |
and that Str object will immediately become garbage | |||
10:52
pmurias left
|
|||
timotimo | however, if the say method call is inlined, partial escape analysis (one of the newest opts) can probably excise it | 10:52 | |
10:53
pmurias joined,
p6bannerbot sets mode: +v pmurias
|
|||
leont | I'm considering splitting splitting App::prove6 out of TAP::Harness. Are there any ecosystem reasons why this would be painful for end-users? | 10:55 | |
10:56
molaf joined
10:57
p6bannerbot sets mode: +v molaf
10:58
koto joined,
AlexDani` joined,
p6bannerbot sets mode: +v koto
10:59
p6bannerbot sets mode: +v AlexDani`
11:01
sena_kun left
11:02
sena_kun joined,
koto left,
AlexDaniel left,
p6bannerbot sets mode: +v sena_kun
11:09
mcmillhj joined,
koto joined,
p6bannerbot sets mode: +v mcmillhj,
p6bannerbot sets mode: +v koto
11:11
sena_kun left,
pmurias left
11:14
mcmillhj left
11:26
LinuxJedi joined
11:27
p6bannerbot sets mode: +v LinuxJedi,
LinuxJedi left
11:28
ZzZombo joined,
p6bannerbot sets mode: +v ZzZombo
11:33
AlexDani` is now known as AlexDaniel
11:34
lizmat left
11:37
krzywix27 joined,
krzywix27 left
11:38
Guest72793 joined
11:39
p6bannerbot sets mode: +v Guest72793
11:40
Guest72793 left
11:47
mcmillhj joined
11:48
fasdfd25 joined,
p6bannerbot sets mode: +v mcmillhj
11:49
p6bannerbot sets mode: +v fasdfd25,
fasdfd25 left
11:52
avar left,
avar joined,
avar left,
avar joined,
p6bannerbot sets mode: +v avar,
mcmillhj left
11:53
p6bannerbot sets mode: +v avar
11:54
void1 joined,
void1 left,
void1 joined,
p6bannerbot sets mode: +v void1
12:00
bildz joined,
SA6BSS-Mike joined,
p6bannerbot sets mode: +v bildz
12:01
p6bannerbot sets mode: +v SA6BSS-Mike
12:04
bildz left
12:05
SA6BSS-Mike left
12:07
avar left
12:08
avar joined,
avar left,
avar joined,
p6bannerbot sets mode: +v avar
12:10
hami joined,
p6bannerbot sets mode: +v hami
|
|||
El_Che | .tell lizmat "Elizabeth Mattijsen has been programming for a living since 1978 in various (mostly now defunct) programming languages." <-- I think the "dead languages" introduction will be associated with Perl 5 and 6 by casual readers. I would drop that part. | 12:11 | |
yoleaux | El_Che: I'll pass your message to lizmat. | ||
12:12
phreedom_23 joined,
p6bannerbot sets mode: +v phreedom_23
12:15
phreedom_23 left
12:19
void1 left
12:20
mcmillhj joined
12:21
p6bannerbot sets mode: +v mcmillhj
12:25
mcmillhj left
12:26
HaraldJoerg left
12:28
regreg_ left
12:40
nemesit|znc27 joined,
Zoffix joined,
p6bannerbot sets mode: +v Zoffix
|
|||
Zoffix | If a routine shows up red in profile instead of green like all the others, how to find out why? | 12:40 | |
There's no "BAIL" in spesh log. | 12:41 | ||
12:41
p6bannerbot sets mode: +v nemesit|znc27,
psychoslave joined
12:42
p6bannerbot sets mode: +v psychoslave
|
|||
timotimo | Zoffix: the JIT log would have it, not the spesh log | 12:42 | |
Zoffix | Ah | 12:43 | |
timotimo | though with a little branch i've got in moarvm, the information goes into the spesh log, too | ||
Zoffix giggles at "BAIL: op <setmethcache>" | 12:44 | ||
.oO( is there a setcocainecache op? ) |
|||
cognominal-p6 | Is Walter White in the core team ? | 12:46 | |
12:47
nemesit|znc27 left
|
|||
Zoffix | BAIL: op <setmethcache> | 12:47 | |
Constructing JIT graph (cuuid: 83, name: '!cursor_start') | |||
timotimo: these two lines are one after the other. Does it mean !cursor_start was not made green because of setmethcache op? | 12:48 | ||
timotimo | no, to find out what was bailed you have to look upwards for a "Constructing JIT graph" line | ||
potentially an "Entering inline" | |||
oh, the spesh log *does* have info about bailed jits | |||
El_Che | the number of times I get an error for using ~ instead of . | ||
timotimo | "JIT was not successful" | 12:49 | |
Zoffix | El_Che: you should write less Perl 5 :) | 12:50 | |
timotimo | are perl5's error messages as good as perl6's when you write the other perl by accident? | 12:51 | |
Zoffix | no | ||
$ perl -wlE 'say "foo" ~ "bar"' | |||
syntax error at -e line 1, near ""foo" ~" | |||
Execution of -e aborted due to compilation errors. | |||
timotimo | i wonder if a module could be written for that | ||
Zoffix | timotimo: what should I be looking for anyway? | 12:52 | |
in the log | |||
JIT was not successful and compilation took 4us | 12:53 | ||
Latest guard tree for '!cursor_init' (cuid: 80, file: gen/moar/stage2/QRegex.nqp:1415) | |||
Is that it? | |||
timotimo | that comes at the very end of a compile piece | ||
so it corresponds to what comes before it | |||
Zoffix | ok | ||
timotimo | is the routine red or yellow in the profile? | ||
Zoffix | red | 12:54 | |
MVM_SPESH_LOG=log.log ./nqp --profile --profile-filename=out.html -e 'my int $x; while $x++ < 100_000 { "foo" ~~ /:i FOO/ }' | |||
That's what I'm profiling and I wanna know why !cursor_init is red | |||
timotimo | can you check if the spesh log ends in about a gazillion "planned nothing" bits? | ||
ah, probably not that then | |||
Zoffix | Well, I wanna know how to know why a thing is red, in general | ||
no, I don't see any planned nothings at the end | 12:55 | ||
timotimo | i'll have a look-see myself. it's usually easy to see why something is yellow instead of red, but it's hard to find out why something is completely red | ||
Zoffix | Ah | ||
timotimo | param_on_o makes cursor_init bail fwiw | 12:57 | |
Zoffix | What does that op do? | ||
timotimo | gets an optional named parameter as an object | 12:58 | |
Zoffix | ah | ||
timotimo | it's the p argument | ||
12:58
mcmillhj joined
|
|||
timotimo | well, p and c, and also shared | 12:58 | |
and braid and build | |||
all of those arguments get a param_on_o generated for ti | |||
12:59
p6bannerbot sets mode: +v mcmillhj,
curan left,
vrurg joined
|
|||
timotimo | it looks like there's no matching interned callsite for spesh to latch on | 12:59 | |
too many arguments perhaps | |||
12:59
jmerelo left
|
|||
Zoffix | Oh well. | 13:00 | |
timotimo | (since nameds count double) | ||
13:00
p6bannerbot sets mode: +v vrurg
|
|||
timotimo | hum, but the limit is 8 | 13:00 | |
13:03
zaxe joined
13:04
zaxe was kicked by timotimo (zaxe))
13:05
hami left
|
|||
Zoffix | so violent | 13:05 | |
timotimo | these spambots annoy me | ||
Zoffix | deop? :) | ||
timotimo | i probably should, yeah | ||
El_Che | timotimo: you see their spam I guess | ||
timotimo | yes, i do | ||
El_Che | argh | ||
13:06
timotimo sets mode: +v timotimo,
timotimo sets mode: -o timotimo
|
|||
timotimo | test | 13:06 | |
Zoffix | test successfull | ||
tadzik | five by five | ||
timotimo | good | ||
Zoffix | timotimo: and the "easy to see why yellow" thing.. I'd just look for BAIL? | 13:09 | |
13:09
hamhu3_ joined
|
|||
timotimo | BAIL in the jit log, or "JIT not successful" in the spesh log | 13:09 | |
13:09
hamhu3 left
|
|||
Zoffix | Thanks | 13:09 | |
timotimo | the JIT log is currently the only way to figure out which op causes the bail | ||
that'll change soon-ish | |||
13:10
p6bannerbot sets mode: +v hamhu3_
|
|||
Zoffix | \o/ | 13:10 | |
13:11
harrison joined
|
|||
Zoffix | yeah, it was easy indeed :) it's getlexrelcaller | 13:11 | |
13:11
p6bannerbot sets mode: +v harrison
|
|||
timotimo | imgur.com/abx6RwQ - it looks like this in the future | 13:11 | |
well, similar | 13:12 | ||
that's the current state | |||
Zoffix | cool | ||
timotimo | getlexrelcaller for $/? | ||
Zoffix | Yeah | ||
13:13
MilkmanDan left
|
|||
timotimo | huh, "caller" doesn't appear even once in my speshlog for that code you gave | 13:13 | |
13:13
regreg_ joined
|
|||
Zoffix | timotimo: this is with a rakudo version of the code: MVM_JIT_LOG=log.log ./perl6 --profile --profile-filename=out.html -e '"foo" ~~ /:i FOO/ for ^10_000' | 13:14 | |
timotimo | ah, ok | ||
13:14
p6bannerbot sets mode: +v regreg_
|
|||
Zoffix | Do we have any collection of slow code snippets? | 13:14 | |
13:14
MilkmanDan joined,
p6bannerbot sets mode: +v MilkmanDan
|
|||
Zoffix | Like something to look at for potential improvements | 13:14 | |
13:15
cognominal-p6 left
|
|||
timotimo | nothing centralized, i don't think | 13:16 | |
13:17
SqrtNegInf joined,
scroll joined,
p6bannerbot sets mode: +v scroll
13:18
p6bannerbot sets mode: +v SqrtNegInf
|
|||
timotimo | github.com/koorchik/formula-evalua...-benchmark - this is one benchmark i remember from long-ish ago | 13:18 | |
Zoffix looks | |||
.oO( why do we use `--profile --profile-filename=out.html` instead of just `--profile=out.html` and derive the type of profile from extension ) |
13:19 | ||
timotimo | we'll potentially get that change, fwiw | 13:20 | |
13:20
danolj2 joined
|
|||
Zoffix | good | 13:20 | |
13:21
p6bannerbot sets mode: +v danolj2
|
|||
jnthn | Because --profile=heap is how you ask for a heap profile instead | 13:21 | |
And I'd not be surprised if we have a --profile=sample at some point in the future | |||
timotimo | jnthn: masterduke suggests having --profile-kind instead | ||
13:21
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
p6bannerbot sets mode: +v aborazmeh
13:22
p6bannerbot sets mode: +v aborazmeh
13:23
danolj2 left
|
|||
Zoffix | oh, I thought --profile took file formats, but now I see it's already derived from extension of --profile-filename | 13:23 | |
It's just a ton of annoying typing is all. | |||
jnthn | No, it takes which profiler to use | ||
Hmm, I always just let it pick the filename for me :) | 13:24 | ||
Zoffix | but then you run it again and you have to open again, rather than just hittin F5 in browser :) | ||
jnthn | That way I never accidentally overwrite a previous profile I might want to compare against later :) | ||
I figure your memory is better than mine :-) | |||
Zoffix | nah, I just re-open if I want to keep old profile (in a separate tab) or refresh I want to discard :) | 13:25 | |
jnthn | Anyway, not really opposed, if it's more convenient for many folks :) | ||
Though probably need to continue recognizing --profile-filename= for a while | 13:26 | ||
13:26
HaraldJoerg joined
13:27
p6bannerbot sets mode: +v HaraldJoerg
13:37
aleksander joined
13:38
p6bannerbot sets mode: +v aleksander
13:41
molaf left
13:42
aleksander left
13:46
Zoffix left
13:48
itaipu joined,
p6bannerbot sets mode: +v itaipu
13:49
knation joined,
p6bannerbot sets mode: +v knation,
Bucciarati left
13:51
Bucciarati joined
13:52
p6bannerbot sets mode: +v Bucciarati
13:56
vxla8 joined
13:57
p6bannerbot sets mode: +v vxla8
13:58
harrison left,
ponbiki joined
13:59
p6bannerbot sets mode: +v ponbiki
14:01
vxla8 left
14:02
avar left,
avar joined,
avar left,
avar joined,
p6bannerbot sets mode: +v avar
14:03
knation left,
p6bannerbot sets mode: +v avar,
cognominal-p6 joined
14:04
p6bannerbot sets mode: +v cognominal-p6,
seaking13 joined
14:05
p6bannerbot sets mode: +v seaking13,
stnly joined
14:06
seaking13 left,
p6bannerbot sets mode: +v stnly
|
|||
Geth | DBIish: fe3e78ceee | (Jonathan Stowe)++ | lib/DBDish/Oracle/Native.pm6 CLOB support in Oracle From Vadim Belman Fixes #131 |
14:08 | |
DBIish: 785c0111a2 | (Jonathan Stowe)++ | META6.json Up version |
|||
14:08
Ven` left
|
|||
14:09
ard5 joined,
p6bannerbot sets mode: +v ard5
14:10
Kaiepi left,
stnly left
14:11
Kaiepi joined,
p6bannerbot sets mode: +v Kaiepi,
ard5 left
14:18
molaf joined,
p6bannerbot sets mode: +v molaf
14:19
void1 joined,
p6bannerbot sets mode: +v void1,
cognominal-p6 left,
cognominal-p6 joined
14:20
p6bannerbot sets mode: +v cognominal-p6
14:22
knation joined,
p6bannerbot sets mode: +v knation
14:25
Shawn|i3-350M joined,
p6bannerbot sets mode: +v Shawn|i3-350M
14:29
Shawn|i3-350M left
14:34
molaf left
14:35
aborazmeh left
14:38
Ven` joined
14:39
p6bannerbot sets mode: +v Ven`
14:49
psychoslave left
14:50
cognominal-p6 left
14:52
ObsidianX joined
14:53
p6bannerbot sets mode: +v ObsidianX,
ObsidianX left,
troys joined
14:54
p6bannerbot sets mode: +v troys
15:04
fake_space_whale joined
15:05
p6bannerbot sets mode: +v fake_space_whale
15:09
axxis0 joined
15:10
p6bannerbot sets mode: +v axxis0
15:11
axxis0 left
15:12
regreg_ left
15:15
HaraldJoerg left
15:17
MilkmanDan left,
jmerelo joined,
kurahaupo left
15:18
kurahaupo joined,
kurahaupo left,
p6bannerbot sets mode: +v jmerelo,
kurahaupo joined,
MilkmanDan joined,
p6bannerbot sets mode: +v MilkmanDan,
hythm_ joined,
p6bannerbot sets mode: +v hythm_
15:19
p6bannerbot sets mode: +v kurahaupo
15:20
lizmat joined,
p6bannerbot sets mode: +v lizmat
|
|||
hythm_ | Hi, is there appreviation for "$var = 'something' if not defined $var" ? | 15:20 | |
jmerelo | hythm_: $var //= something | ||
hythm_ | Thank you | ||
knation | Is Bailador the goto web framework for Perl6 at the moment? | 15:22 | |
jmerelo | hythm_: Documentation at docs.perl6.org/language/operators#infix_// Called "defined-or" operator | 15:23 | |
knation: it's definetely a place you would want to go, but "the" would be Cro, I guess. | |||
15:25
domidumont left
15:29
hythm_ left
15:32
Guest18 joined
15:33
p6bannerbot sets mode: +v Guest18
15:35
graphene left
15:36
graphene joined
15:37
molaf joined,
p6bannerbot sets mode: +v graphene
15:38
p6bannerbot sets mode: +v molaf
15:40
lapinot14 joined
|
|||
AlexDaniel | hah, one of the funniest bugs: github.com/rakudo/rakudo/issues/19...1871279212 | 15:40 | |
the way you have to scroll to find out what's there on the end :D | 15:41 | ||
15:41
p6bannerbot sets mode: +v lapinot14
15:42
frankinaustin left
15:43
lapinot14 left
|
|||
AlexDaniel | although, yeah, there's a spoiler in the title :) | 15:43 | |
jnthn | lol | ||
15:46
tmch2 joined,
p6bannerbot sets mode: +v tmch2
15:50
tmch2 left
15:51
vike1 left
|
|||
buggable | New CPAN upload: Getopt-Advance-1.0.6.tar.gz by ALOREN modules.perl6.org/dist/Getopt::Adva...pan:ALOREN | 15:57 | |
15:59
graphene left,
yqt joined
16:00
Nik_ joined,
p6bannerbot sets mode: +v Nik_
|
|||
Nik_ | Hi.. | 16:00 | |
16:00
graphene joined,
p6bannerbot sets mode: +v yqt
|
|||
timotimo | greetings Nik_ | 16:01 | |
Nik_ | Hi there | ||
16:01
p6bannerbot sets mode: +v graphene
|
|||
Nik_ | Can you please guide me with few answers? | 16:01 | |
timotimo | we can certainly try | ||
Nik_ | Ok thanks..first I wanna know can we make frozen binaries for win & linux | 16:02 | |
timotimo | not quite; you can use WiX to create an installer for windows that will put a perl6 + your program into a fixed directory, and you can ship your application as a docker image easily | 16:03 | |
Nik_ | Ok.. | 16:04 | |
Which is the most stable module to build GUI apps . | |||
jmerelo | Nik_: you can use this perl6 image as base for your Docker image hub.docker.com/r/jjmerelo/alpine-perl6/. There are others, of course. I don't know of any for Win, though | 16:05 | |
timotimo | windows also has docker | ||
i have really only tried GTK so far | |||
Nik_ | Yeah.. I m quite familiar with docker | 16:06 | |
jmerelo | timotimo: of course, but I don't know if there's a base image for that. Win needs different images and binaries. | ||
timotimo | oh, it does? | ||
i did not know *that* | |||
jmerelo | Nik_: there are a few in the ecosystem modules.perl6.org/search/?q=GUI but just the last one looks like it really builds GUIs. timotimo is right, only GTK is known | 16:07 | |
16:07
Ven` left
|
|||
Nik_ | What about perlQT? | 16:07 | |
timotimo | oh, GTK::Simple ought to have a GUI tag on it | ||
jmerelo | timotimo: right. Docker isolates, does not virtualize. It needs the hosts's kernel. You can only ship images to those with the same kernel. Linuxes to linuxes (and MacOSx, but that's another story) | ||
timotimo | well, you can use Inline::Perl5 to get at PerlQT, and you can use Inline::Python to get at PySide and PyQt | ||
jmerelo | timotimo: originally, Windows was running a Linux VM with the docker daemon in it, and images were compatible. Now they have ported containerd to Windows, and it needs its own containers. | 16:08 | |
timotimo | that's probably for the better | ||
jmerelo | OSX still does the Linux VM under the hood, far as I know. | ||
timotimo | and surely there's a docker container somewhere that has a linux vm inside it for doing it the old way | ||
jmerelo | timotimo: you can certainly test both to see which one works better... | 16:09 | |
16:09
scimon left,
Guest18 left
|
|||
timotimo | if you have extremely specific needs for the GUI, maybe SDL2::Raw is something to try ... | 16:10 | |
jmerelo | timotimo: you look at the Docker store now, it says which architecture (for the binary format) and OS (for the kernel) it's using. For instance, mysql store.docker.com/images/mysql-enterprise-server | ||
timotimo | you mean the "linux" and "x86-64" tags below the short description? | ||
jmerelo | timotimo: right. Here, Python, for instance, has a pull down with different OSs, including "IBM Z" store.docker.com/images/python | 16:11 | |
timotimo: the "official" docker image for Perl 6 lists only Linux store.docker.com/images/rakudo-star | 16:12 | ||
timotimo | nobody has been fired for ordering ibm; why don't we have that? :) | ||
jmerelo | (my image is extraofficial) | ||
timotimo: I might have access to IBM Z under the academic initiative... I'll have to check it out. | |||
timotimo: and Python has it. Why don't we? | 16:13 | ||
16:13
Guest18 joined
|
|||
timotimo | was it IBM who gave out shell accounts to servers of their architecture to open source people? | 16:13 | |
jmerelo | timotimo: might be. We had a very generous donation under their "Academic initiative" | ||
16:14
p6bannerbot sets mode: +v Guest18
|
|||
jmerelo | I don't know if I have renewed it... | 16:14 | |
16:14
graphene left,
Nik_ left
16:15
graphene joined
16:16
p6bannerbot sets mode: +v graphene
16:18
robertle left
|
|||
timotimo | if someone is interested in building docker images for rakudo on windows, it should be possible to do that with appveyor, i'd expect? | 16:18 | |
16:22
kurahaupo left
16:23
kurahaupo joined,
p6bannerbot sets mode: +v kurahaupo
16:24
yqt left
16:27
dastorm12 joined
16:28
p6bannerbot sets mode: +v dastorm12
16:29
dakkar left
|
|||
timotimo | i suggest for the future "please state the nature of your lepidopterological emergency" when someone comes to ask for help | 16:30 | |
Geth | doc: e527812f6e | (JJ Merelo)++ | doc/Type/Cool.pod6 Checks that samecase is actually included, deletes from TODO. refs #2277 |
||
doc: 1d906f1545 | (JJ Merelo)++ | doc/Type/Cool.pod6 Adds Cool.printf, refs #2277 |
|||
synopsebot | Link: doc.perl6.org/type/Cool | ||
doc: 942dd69327 | (JJ Merelo)++ | doc/Type/Cool.pod6 Removes skip-test |
|||
16:30
dastorm12 left
|
|||
jmerelo | timotimo: don't know that very well. I don't know if they can be downloaded afterwards... | 16:30 | |
timotimo | appveyor can at least store artifacts i believe? | 16:31 | |
jmerelo | timotimo: in principle, it should be possible to build a Windows image using the base image and whatever you want to use, the msi or whatever. | ||
timotimo: as said above, that might be the case, but I don't really know. I mean, hub.docker.com builds Docker images for you, but I don't know if it does that for Windows | 16:32 | ||
timotimo | stefanscherer.github.io/setup-wind...-appveyor/ - i just skimmed it but there's a diagram showing appveyor doing a "docker push" to docker hub | ||
jmerelo | timotimo: let's just say I don't know sh*t about Windows and let's leave it at that. | ||
timotimo | that's fair | 16:33 | |
jmerelo Windows free since the Spanish IRS changed the tax preparation program to a JVM based one. | 16:37 | ||
timotimo | nice | ||
tadzik | yay :) | ||
16:39
noganex joined
16:40
p6bannerbot sets mode: +v noganex
16:44
vrurg left,
kurahaupo left
16:45
kurahaupo joined,
p6bannerbot sets mode: +v kurahaupo
|
|||
ufobat___ | is there a guide/doc/blogpost whatever that describes cro behind nginx.. i think http2 doesnt work behind a reverse proxy, does it? | 16:45 | |
16:50
Guest18 left
16:52
kurahaupo left,
kurahaupo joined
16:53
p6bannerbot sets mode: +v kurahaupo
|
|||
timotimo | i would expect reverse proxy to still Just Work, though of course the httpd you use has to support http2 | 16:54 | |
timotimo AFK | 16:55 | ||
16:55
msalvatore_ joined
|
|||
koto | ufobat___, not yet(guide/doc), I believe. We do have plans for reverse proxy support for next release with support of http1.1 and http2, but it is still work in progress. However, I am talking about a Cro server's ability to work/describe reverse proxy thing. When something other routes requests to host/port, it should Just Work I think, including http/2. | 16:56 | |
16:56
kurahaupo left,
p6bannerbot sets mode: +v msalvatore_,
kurahaupo joined
|
|||
koto | *to host/port Cro is listening on | 16:56 | |
16:57
p6bannerbot sets mode: +v kurahaupo
16:59
n0m4d1c joined
17:00
msalvatore_ left
|
|||
ufobat___ | Koto really? it does, i thouoght when you have a reverse proxy the tls will be terminated at the reverse proxy side, not at the cro side, and for http2 you need alpn, no? | 17:00 | |
17:00
p6bannerbot sets mode: +v n0m4d1c
|
|||
koto | ufobat___, I am not sure how reverse proxy you plan to use handles tls. As for alpn, we do support it... When it comes to direct request. This is where I am not too sure. Do you want some specific http/2 features like server push? | 17:03 | |
17:03
n0m4d1c left
17:05
seemethere23 joined
|
|||
koto needs to try it out when less busy | 17:05 | ||
17:05
seemethere23 left,
koto is now known as sena_kun
|
|||
sena_kun | also, humbly ping jnthn | 17:08 | |
ufobat___ | sena_kun, i am just intersted in general. i am planning to use cro behind nginx | 17:10 | |
17:12
akihu23 joined
17:13
p6bannerbot sets mode: +v akihu23,
domidumont joined
17:14
p6bannerbot sets mode: +v domidumont
|
|||
sena_kun | ufobat___, this idea is awesome. feel free to open tickets if any issue will become an obstacle. :) | 17:15 | |
17:16
akihu23 left
17:18
molaf left
|
|||
ufobat___ | yeah :D | 17:19 | |
El_Che | X-Forwarded-For oit of the box support would be nice as well (eg middleware login) | 17:20 | |
yoleaux | 15:52Z <lizmat> El_Che: adapted the "about me" to prevent possibly perceived association | ||
17:20
haagch6 joined
17:21
p6bannerbot sets mode: +v haagch6
17:22
haagch6 left
|
|||
El_Che | lizmat: it's not applied yet | 17:22 | |
lizmat: also, I hope my remarks do not come over as negative, but just as an eye for this kind of unclear language/image | 17:23 | ||
17:31
|oLa|1 joined
17:32
xexaxo17 joined,
p6bannerbot sets mode: +v |oLa|1,
|oLa|1 left
17:33
|oLa|1 joined,
p6bannerbot sets mode: +v xexaxo17,
p6bannerbot sets mode: +v |oLa|1,
|oLa| left
17:37
xexaxo17 left
17:38
bgiannan15 joined
17:39
p6bannerbot sets mode: +v bgiannan15
17:42
bgiannan15 left
17:46
cognominal-p6 joined
17:47
p6bannerbot sets mode: +v cognominal-p6
17:48
Shanmugamp710 joined
17:49
p6bannerbot sets mode: +v Shanmugamp710
17:50
a_west7 joined
17:51
p6bannerbot sets mode: +v a_west7,
a_west7 left
17:52
cognominal-p6 left,
Shanmugamp710 left,
cognominal-p6 joined
17:53
p6bannerbot sets mode: +v cognominal-p6
17:58
Kaiepi left,
Kaiepi joined
17:59
p6bannerbot sets mode: +v Kaiepi,
psychoslave joined
18:00
p6bannerbot sets mode: +v psychoslave
18:06
pecastro joined
18:07
p6bannerbot sets mode: +v pecastro
18:21
lizmat left
18:28
sauvin left
18:32
graphene left
18:34
graphene joined,
p6bannerbot sets mode: +v graphene,
graphene left
18:36
fake_space_whale left,
graphene joined,
regreg_ joined
18:37
p6bannerbot sets mode: +v graphene,
p6bannerbot sets mode: +v regreg_
18:39
psychoslave left
18:40
molaf joined
18:41
p6bannerbot sets mode: +v molaf
18:43
sotona joined,
p6bannerbot sets mode: +v sotona
18:47
khisanth_ left
18:49
fake_space_whale joined,
p6bannerbot sets mode: +v fake_space_whale
18:54
lucidm joined
18:55
p6bannerbot sets mode: +v lucidm,
lucidm left
18:59
Ven`` joined
19:00
p6bannerbot sets mode: +v Ven``
19:06
pjan13 joined
19:07
graphene left,
p6bannerbot sets mode: +v pjan13
|
|||
TimToady | m: say (1, 2 ^??? 10).perl | 19:08 | |
camelia | 10 (1, one(2, 0)) in block <unit> at <tmp> line 1 |
||
19:08
graphene joined
|
|||
jmerelo | TimToady: what? | 19:08 | |
19:09
p6bannerbot sets mode: +v graphene
|
|||
jmerelo | TimToady: docs.perl6.org/routine/%3F%3F%3F ??? | 19:09 | |
TimToady | sorry, that was for perl6-dev | 19:10 | |
19:10
lizmat joined,
p6bannerbot sets mode: +v lizmat,
pjan13 left,
ita12 joined
19:11
ita12 left
19:14
Tony991 joined,
khisanth_ joined
19:15
p6bannerbot sets mode: +v Tony991,
Tony991 left,
p6bannerbot sets mode: +v khisanth_
|
|||
lizmat | MoarVM oops: Spesh: instruction box_i missing from define-use chain | 19:16 | |
19:16
Ven`` left
|
|||
lizmat | timotimo: is that something that should be reported when doing a --profile ? | 19:16 | |
19:17
jmerelo left
|
|||
timotimo | it's a bug i'll be fixing in the near future | 19:17 | |
lizmat | any workaround that you know of ? | 19:18 | |
19:21
domidumont left
19:31
lichtkind joined
19:32
p6bannerbot sets mode: +v lichtkind
19:44
Davnit__ joined
19:45
p6bannerbot sets mode: +v Davnit__
19:47
Davnit__ left
19:55
sotona left
19:56
sotona joined
19:57
p6bannerbot sets mode: +v sotona
20:11
fake_space_whale left
20:13
mikejw joined,
p6bannerbot sets mode: +v mikejw
20:17
mikejw left
20:29
knation left
20:31
SHODAN joined,
p6bannerbot sets mode: +v SHODAN
|
|||
Demos[m] | can MAIN() support subcommand type stuff? | 20:41 | |
20:42
sena_kun left
|
|||
moritz | Demos[m]: only kinda, but some of the modules have better support | 20:46 | |
lizmat | Demos[m]: with docs.perl6.org/language/functions#...-MAIN-OPTS and MMD you can sorta | ||
moritz | you can do something like multi sub MAIN('edit', @options) | ||
timotimo | i do not know a workaround yet | 20:50 | |
20:53
MasterDuke left
20:55
terrycojones_ joined,
tass01024 joined,
p6bannerbot sets mode: +v terrycojones_
20:56
p6bannerbot sets mode: +v tass01024
20:57
tass01024 left
|
|||
Demos[m] | oh, that works nicely | 20:57 | |
20:59
oem joined,
terrycojones_ left
21:00
p6bannerbot sets mode: +v oem
|
|||
Demos[m] | OK next question: can I somehow indicate that I want a method defined as a sub as well? | 21:02 | |
lizmat | no | 21:03 | |
but you *can* use a sub as a method | |||
m: sub foo($a) { dd $a }; 42.&foo | 21:04 | ||
camelia | 42 | ||
Demos[m] | with a "."? | ||
lizmat | .&foo in the example | ||
called on an Int object that contains 42 | 21:05 | ||
Demos[m] | can I leave out the "&" | ||
lizmat | no, that indicates it should do a "sub" lookup | 21:06 | |
m: sub foo($a) { dd $a }; 42.foo | |||
camelia | No such method 'foo' for invocant of type 'Int' in block <unit> at <tmp> line 1 |
||
Demos[m] | m: sub foo(Int:D $a) { dd $a }; 42.foo | 21:09 | |
camelia | No such method 'foo' for invocant of type 'Int' in block <unit> at <tmp> line 1 |
||
21:09
Kaiepi left
21:10
hph^ joined
21:11
p6bannerbot sets mode: +v hph^
21:14
mcmillhj left
|
|||
Demos[m] | can I call a method like a sub then? | 21:15 | |
21:15
kensanata joined,
p6bannerbot sets mode: +v kensanata
|
|||
lizmat | well, you can, but that's cumbersome | 21:17 | |
21:18
MasterDuke joined,
p6bannerbot sets mode: +v MasterDuke,
MasterDuke left,
MasterDuke joined,
herbert.freenode.net sets mode: +v MasterDuke,
p6bannerbot sets mode: +v MasterDuke
|
|||
lizmat | m: class A { method foo() { say "foo" } }; my &m := A.^find_method("foo"); m(A) # Demos[m] | 21:18 | |
camelia | foo | ||
tobs | m: class A { method meth { say "hi" } }; my $a = A.new; meth $a:; | 21:20 | |
camelia | hi | ||
tobs | or using the magical :; statement separator | ||
geekosaur | its not magical. ":" is like "," in a parameter list but indicates the invocant for a method | ||
tobs | :-) | ||
geekosaur | matters when there's other parameters | 21:21 | |
if you want $x.foo(3) in sub form it's foo($x: 3) | 21:22 | ||
21:23
xcin14 joined
|
|||
lizmat | TIL :-) | 21:23 | |
21:23
p6bannerbot sets mode: +v xcin14
21:25
ufobat___ left
21:26
xcin14 left
21:28
ged joined
21:29
ged is now known as Guest17859,
p6bannerbot sets mode: +v Guest17859
21:31
itaipu left
21:33
itaipu joined,
Guest17859 left
21:34
p6bannerbot sets mode: +v itaipu
21:39
sotona left
21:40
kensanata left,
oem left
21:48
ExeciN24 joined,
kensanata joined,
p6bannerbot sets mode: +v kensanata,
p6bannerbot sets mode: +v ExeciN24
21:49
itaipu_ joined
21:50
ZLSA28 joined,
p6bannerbot sets mode: +v itaipu_,
ExeciN24 left
21:51
p6bannerbot sets mode: +v ZLSA28
21:52
itaipu left
21:53
mcmillhj joined
21:54
p6bannerbot sets mode: +v mcmillhj
21:57
mcmillhj left,
itaipu_ left
21:58
mcmillhj joined
21:59
p6bannerbot sets mode: +v mcmillhj,
ZLSA28 left
|
|||
AlexDaniel | awwaiid: what's up with thelackthereof.org/Perl6_Colons ? The website seems to be down? | 22:00 | |
22:03
mcmillhj left
22:09
fake_space_whale joined
22:10
p6bannerbot sets mode: +v fake_space_whale
22:12
hph^ left
22:14
mcmillhj joined
22:15
p6bannerbot sets mode: +v mcmillhj
22:16
graphene left
22:17
graphene joined
22:18
p6bannerbot sets mode: +v graphene
22:19
mcmillhj left
22:33
leont left,
hph^ joined
22:34
p6bannerbot sets mode: +v hph^
22:37
mcmillhj joined
22:38
p6bannerbot sets mode: +v mcmillhj
22:40
regreg_ left
22:42
mcmillhj left
22:44
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
22:48
mcmillhj left
22:49
evalable6 joined,
ChanServ sets mode: +v evalable6
22:50
p6bannerbot sets mode: +v evalable6
22:57
pecastro left,
cpage left
22:58
akiman12 joined
22:59
p6bannerbot sets mode: +v akiman12,
kensanata left,
akiman12 left
23:00
mcmillhj joined,
p6bannerbot sets mode: +v mcmillhj
23:04
mcmillhj left
23:05
mcmillhj joined
23:06
p6bannerbot sets mode: +v mcmillhj
23:09
erdic joined,
p6bannerbot sets mode: +v erdic
23:10
mcmillhj left
23:18
Herby_ joined,
Herby_ is now known as Herby____,
p6bannerbot sets mode: +v Herby____
|
|||
Herby____ | o/ | 23:18 | |
23:19
julmac23 joined,
endre25 joined
23:20
p6bannerbot sets mode: +v julmac23,
p6bannerbot sets mode: +v endre25
23:21
mcmillhj joined,
julmac23 left
23:22
p6bannerbot sets mode: +v mcmillhj,
endre25 left
23:25
mcmillhj left
23:28
lichtkind left,
sotona joined
23:29
p6bannerbot sets mode: +v sotona
23:32
sotona left
23:35
hph^ left
23:37
mcmillhj joined
23:38
p6bannerbot sets mode: +v mcmillhj
23:41
mcmillhj left
23:43
knation joined,
p6bannerbot sets mode: +v knation
23:46
vrurg joined
23:47
p6bannerbot sets mode: +v vrurg
|
|||
knation | thepasteb.in/p/nZhl2Pkr2oYuY | 23:48 | |
Oops, the above is a question about perl6 Cro and react | 23:49 | ||
23:56
vike1 joined
23:57
hph^ joined,
p6bannerbot sets mode: +v vike1,
p6bannerbot sets mode: +v hph^
|
|||
tbrowder__ | hey, #perl6 | 23:58 |