»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend! Set by moritz on 22 December 2015. |
|||
00:01
cdg joined
00:04
Guest431 left
00:06
virtualsue left
00:07
virtualsue joined
|
|||
Geth | modules.perl6.org/cpan-support: dd123505c8 | (Zoffix Znet)++ | 4 files Implement rudimentary CPAN dist processor |
00:21 | |
Zoffix | Well, that was easy... It's almost as if the original designer of the site thought ahead and imagined one day we'd have more than one dist source :} | 00:22 | |
00:22
evalable6 left,
evalable6 joined
|
|||
Zoffix | One thing I don't get is how to handle dists that exist on both CPAN and p6c ecosystem... Currently, it indexes them as if they were entirely differnt dists :/ | 00:22 | |
I think I'm gonna leave it like that though. To encourage people who use CPAN to toss the dist from p6c. We could have some key in `support` for repository so that the site could link to it even for CPAN dists | 00:24 | ||
heh, I see ./id/J/JO/JONATHAN/Perl6/NativeCall-v1.meta in CPAN dists that looks to link to jnthn/zavolaj, which is a 404 | 00:26 | ||
00:28
cdg left
|
|||
Geth | perl6-most-wanted: 0b94ef197f | (David Warring)++ (committed using GitHub Web editor) | most-wanted/modules.md Update modules.md Note WIP on Font::Freetype - bindings to the Freetype2 library |
00:34 | |
00:42
Aaronepower left
|
|||
Geth | modules.perl6.org/cpan-support: 03fa2a7a78 | (Zoffix Znet)++ | 4 files Improve CPAN processor - Load last modified time - Make dist processor skip the interval pause, since we don't need it - Don't run the meta checker post processor |
00:55 | |
00:57
evalable6 left,
evalable6 joined
01:08
vendethiel- joined
01:10
Ven`` left
01:11
arnsholt left
01:13
Morfent left
01:21
astj joined
01:22
astj left
|
|||
Zoffix calls it a day | 01:28 | ||
01:34
virtualsue left
01:36
virtualsue joined,
astj joined,
astj left,
astj joined
01:42
giraffe joined,
giraffe is now known as Guest21598
01:45
ilbot3 left
01:49
epony joined
01:55
ilbot3 joined,
ChanServ sets mode: +v ilbot3
02:03
Khisanth left
02:06
cdg joined
02:09
Cabanossi left
02:10
Cabanossi joined
02:11
cdg left,
cdg joined
02:16
Khisanth joined
02:24
Morfent joined
02:26
arnsholt joined
02:38
Cabanossi left
02:40
Cabanossi joined
|
|||
Zoffix | upgrading perl on the modules.perl6.org. I'm pretty sure I installed a new perl along the old one and so the site won't be affected until I `switch` to newer perl instead of `use`ing it on the current shell (still installing all the deps). But mentioning this in case things explode | 02:40 | |
... I'm going to bed | |||
02:46
noganex_ joined
02:49
noganex left
02:56
cdg left
02:59
cdg joined
03:04
cdg left
03:16
AlexDaniel joined
03:20
AlexDaniel left
03:22
kurahaupo left,
kurahaupo joined,
kurahaupo left,
kurahaupo joined,
kurahaupo left
03:23
kurahaupo joined,
kurahaupo left
03:38
bloatable6 left,
committable6 left,
benchable6 left,
evalable6 left,
nativecallable6 left,
statisfiable6 left,
coverable6 left,
releasable6 left,
quotable6 left,
greppable6 left,
squashable6 left,
bisectable6 left,
unicodable6 left,
evalable6 joined,
greppable6 joined,
quotable6 joined,
nativecallable6 joined,
committable6 joined,
ChanServ sets mode: +v committable6,
bloatable6 joined,
coverable6 joined,
benchable6 joined,
ChanServ sets mode: +v benchable6,
releasable6 joined,
ChanServ sets mode: +v releasable6,
unicodable6 joined,
bisectable6 joined,
squashable6 joined,
statisfiable6 joined
03:39
redhands joined
|
|||
BenGoldberg wonders why all thirteen of the *able6 bots simultaneously quit then reconnected. Is it because we've got an unlucky number of them? . o O(Where's a hobbit when you need one) | 03:42 | ||
redhands | How can I force stdout autoflush on every write? | 03:47 | |
03:47
BenGoldberg left
03:57
Cabanossi left
04:00
cdg joined,
Cabanossi joined
04:05
cdg left
04:20
releasable6 left,
quotable6 left,
squashable6 left,
coverable6 left,
nativecallable6 left,
greppable6 left,
committable6 left,
bisectable6 left,
bloatable6 left,
evalable6 left,
unicodable6 left,
statisfiable6 left,
benchable6 left,
nativecallable6 joined,
bloatable6 joined,
coverable6 joined,
quotable6 joined,
ChanServ sets mode: +v bloatable6,
ChanServ sets mode: +v coverable6,
ChanServ sets mode: +v quotable6,
greppable6 joined,
benchable6 joined,
unicodable6 joined,
bisectable6 joined,
evalable6 joined,
committable6 joined,
ChanServ sets mode: +v benchable6,
ChanServ sets mode: +v unicodable6,
ChanServ sets mode: +v bisectable6,
ChanServ sets mode: +v evalable6,
ChanServ sets mode: +v committable6,
releasable6 joined,
squashable6 joined,
ChanServ sets mode: +v squashable6,
statisfiable6 joined
04:24
skids left
04:37
piojo joined
04:53
committable6 left,
greppable6 left,
squashable6 left,
bisectable6 left,
statisfiable6 left,
benchable6 left,
bloatable6 left,
releasable6 left,
nativecallable6 left,
evalable6 left,
quotable6 left,
coverable6 left,
unicodable6 left,
quotable6 joined,
ChanServ sets mode: +v quotable6,
nativecallable6 joined,
benchable6 joined,
greppable6 joined,
coverable6 joined,
bloatable6 joined,
ChanServ sets mode: +v benchable6,
ChanServ sets mode: +v greppable6,
ChanServ sets mode: +v coverable6,
ChanServ sets mode: +v bloatable6,
evalable6 joined,
committable6 joined,
bisectable6 joined,
unicodable6 joined,
releasable6 joined,
ChanServ sets mode: +v bisectable6,
ChanServ sets mode: +v unicodable6,
ChanServ sets mode: +v releasable6,
squashable6 joined,
ChanServ sets mode: +v squashable6
04:54
statisfiable6 joined
04:58
Cabanossi left
05:00
Cabanossi joined,
Ven`` joined
05:01
cdg joined,
vendethiel- left
05:03
cgfbee joined
05:06
cdg left
05:14
mempko joined
05:18
hoffentlichja joined
05:25
AlexDaniel joined
05:27
araujo left,
araujo joined
05:28
araujo left
05:29
araujo joined
|
|||
samcv | how do i get chdir to chdir taking into account a Path::IO's CWD? | 05:37 | |
i made a Path::IO object, but if i chdir into it, it ignores the CWD associated with the IO object | |||
.IO.absolute.IO works but is there a trivial way to fix it without doing that? | 05:38 | ||
05:41
mempko left
05:44
khw left
05:51
mempko joined
05:56
mempko left
05:58
mempko joined,
domidumont joined
06:01
wamba joined
06:02
cdg joined,
mempko left
06:04
bisectable6 left,
bisectable6 joined,
ChanServ sets mode: +v bisectable6,
Mrofnet joined
06:05
piojo left
06:06
cdg left
06:07
piojo joined
06:08
Morfent left,
sena_kun joined
|
|||
u-ou | What value should I use to denote the absence of a value? Is the answer Nil? | 06:09 | |
06:09
bisectable6 left,
bisectable6 joined,
ChanServ sets mode: +v bisectable6
|
|||
hoffentlichja | u-ou: Any | 06:09 | |
u-ou | ahh | ||
what's Nil for then? | |||
hoffentlichja | m: sub r() {}; r; | 06:11 | |
camelia | ( no output ) | ||
hoffentlichja | m: sub r() {}; say r; | ||
camelia | Nil | ||
06:12
bisectable6 left
|
|||
u-ou | ic | 06:13 | |
06:13
bisectable6 joined,
ChanServ sets mode: +v bisectable6,
bisectable6 left,
bisectable6 joined
|
|||
hoffentlichja | u-ou: you can check if a variable is defined with .defined or you can use "with" and "without" | 06:14 | |
m: my $x; say $x.defined; | |||
camelia | False | ||
hoffentlichja | m: my $s; say 'not defined?' without $s; | 06:15 | |
camelia | not defined? | ||
u-ou | m: say so Any | ||
camelia | False | ||
u-ou | cool | ||
06:19
mempko joined
06:23
cdg joined
06:27
cdg left
06:34
kaare__ left
06:35
domidumont left
06:37
domidumont joined
|
|||
sena_kun | lizmat, ping? | 06:41 | |
06:44
Cabanossi left
06:45
Cabanossi joined
06:46
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
mempko left
06:52
broquain1 left
06:54
abraxxa joined
06:57
aborazmeh left
06:58
redhands left
07:00
redhands joined
|
|||
geekosaur | suggest you .tell; think lizmat's asleep at this time of * | 07:01 | |
07:01
jonas1 joined
|
|||
sena_kun | I can wait, so no problem. But thanks, I guess I'll .tell in a hour or two then. | 07:02 | |
07:02
cschwenz joined
07:03
Merfont joined
07:04
zakharyas joined
07:05
cschwenz left,
ufobat joined
07:06
Mrofnet left
07:09
HoboWithAShotgun joined
|
|||
HoboWithAShotgun | welcome to another week full of ungrateful customers, dyslexic management and unrealistic deadlines | 07:10 | |
geekosaur | ...I didn't think this was #lopsa >.> | ||
07:14
Cabanossi left
07:15
Cabanossi joined
07:22
redhands left
07:24
cdg joined,
ShalokShalom joined
07:27
Mrofnet joined
07:28
cdg left
07:30
Merfont left
07:31
darutoko joined
07:32
lowbro joined,
lowbro left,
lowbro joined,
AlexDaniel left
07:38
dakkar joined
07:44
Cabanossi left
07:45
Cabanossi joined
08:00
nativecallable6 left,
coverable6 left,
squashable6 left,
statisfiable6 left,
committable6 left,
bisectable6 left,
quotable6 left,
unicodable6 left,
greppable6 left,
benchable6 left,
bloatable6 left,
releasable6 left,
evalable6 left
08:01
bloatable6 joined,
quotable6 joined,
benchable6 joined,
committable6 joined,
nativecallable6 joined,
ChanServ sets mode: +v benchable6,
ChanServ sets mode: +v committable6,
ChanServ sets mode: +v nativecallable6,
releasable6 joined,
coverable6 joined,
evalable6 joined,
greppable6 joined,
bisectable6 joined,
ChanServ sets mode: +v bisectable6,
unicodable6 joined,
squashable6 joined,
statisfiable6 joined,
ChanServ sets mode: +v statisfiable6
08:04
sproctor joined
08:06
piojo left,
leont joined
08:17
robertle joined
08:19
riatre left
08:22
piojo joined
08:24
cdg joined
08:25
rindolf joined
|
|||
sena_kun | .tell lizmat hi! there is a rakudo regression for cro, that gives me "Serialization Error: missing static code ref for closure '' (src/Perl6/World.nqp:2217)". I am not sure how bad it is, but I hope it is not. ping me for a way to reproduce(or better .tell) if it's obscure enough. thanks. | 08:27 | |
yoleaux | sena_kun: I'll pass your message to lizmat. | ||
08:28
leont left
08:29
riatre joined,
sena_kun left,
cdg left
08:35
TEttinger left
|
|||
grondilu | how can adding a C<note "foo"> prevent a "Cannot look up attributes in a Pair type object" error? | 08:42 | |
lizmat | . | ||
yoleaux | 08:27Z <sena_kun> lizmat: hi! there is a rakudo regression for cro, that gives me "Serialization Error: missing static code ref for closure '' (src/Perl6/World.nqp:2217)". I am not sure how bad it is, but I hope it is not. ping me for a way to reproduce(or better .tell) if it's obscure enough. thanks. | ||
lizmat | .tell sena_kun will pass it on to jnthn | 08:43 | |
yoleaux | lizmat: I'll pass your message to sena_kun. | ||
08:43
Cabanossi left
08:45
Cabanossi joined
08:47
Mrofnet left
08:50
Aaronepower joined
08:51
zakharyas left
|
|||
u-ou | .tell u-ou i will pass that on to u-ou when u-ou is around | 08:52 | |
yoleaux | u-ou: Talking to yourself is the first sign of madness. | ||
09:07
evalable6 left,
evalable6 joined
09:11
zakharyas joined
09:12
Cabanossi left
09:15
Cabanossi joined
09:23
El_Che left
09:25
El_Che joined,
cdg joined
09:30
cdg left
|
|||
timotimo | grondilu: perhaps the difference between sinking and non-sinking? | 09:32 | |
09:45
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
09:49
eliasr joined
10:04
evalable6 left
10:05
evalable6 joined,
ChanServ sets mode: +v evalable6
10:07
wamba left
10:11
margeas joined
10:12
zakharyas left,
lichtkind left
10:13
abraxxa left,
abraxxa joined,
abraxxa left
10:14
abraxxa joined,
soonix joined
|
|||
soonix | hi can someone help around perl5? | 10:16 | |
10:18
virtualsue left,
piojo left
|
|||
timotimo | you'll want a perl5 focused channel for that | 10:19 | |
10:19
virtualsue joined
|
|||
ilmari | unless you mean Inline::Perl5 | 10:19 | |
soonix | there is nobody to help :S | 10:20 | |
ilmari | soonix: I don't see you on #perl... | 10:23 | |
also, nobody can help until you actually ask a question | 10:24 | ||
10:24
lichtkind joined
10:26
cdg joined
|
|||
hoffentlichja | are perl6 programmers still called perl monks? | 10:26 | |
lizmat | I think only perl monks are called perl monks | 10:29 | |
10:31
cdg left
|
|||
soonix | for a school project I have to write OAuth2 where with client_id and client_secret with grant_type = client_credentials I request a token and then I download json with this token | 10:32 | |
:( | |||
Does anyone have some examples of how to do this? | 10:33 | ||
timotimo | metacpan.org/pod/distribution/Net-...OAuth2.pod ? | 10:34 | |
you can literally just put client_id, client_secret and grant_type into Net::OAuth2::Profile::Password->new | 10:35 | ||
hoffentlichja | lizmat: but how do perl programers call themselves? python programmers call themselves pythonistas | 10:36 | |
lizmat | I would argue that only pythonistas call themselves pythonistas | 10:37 | |
or are you saying you cannot be a python programmer without being a pythonista ? | 10:38 | ||
hoffentlichja | lizmat: and what is a pythonista if not a python programmer? | ||
10:38
lizmat left
|
|||
hoffentlichja | I'm only saying that programmers from different language communities like to call themselves some way | 10:39 | |
10:39
lizmat joined
|
|||
timotimo | nobody is forcing python programmers to call themselves pythonistas | 10:39 | |
lizmat | .oO( friggin' flaky wifi ) |
||
hoffentlichja | lizmat: I'm only saying that programmers from different language communities like to call themselves some way | ||
timotimo | it doesn't matter that pythonistas are "all" python programmers | ||
hoffentlichja | timotimo: I know, but programmers choose that, and it's nice sometimes | 10:40 | |
timotimo | sure | ||
hoffentlichja | I was only curious how perl programmers like to call themselves | ||
10:46
ufobat left
10:51
ufobat joined,
HoboWithAShotgun left
11:06
evalable6 left,
evalable6 joined
11:13
yht joined,
Cabanossi left
11:15
Cabanossi joined
11:19
wamba joined,
soonix left
|
|||
masak | I'm in a situation where I make a small change, and I get the error "Unhandled exception: Cannot find method 'Stringy': no method cache and no .^find_method" | 11:27 | |
with a stacktrace from NQP | |||
and I'm having a hard time finding out why my small change is causing this error. any clues? | 11:28 | ||
timotimo | any more info from --ll-exception? | ||
11:29
soonix joined
|
|||
masak | ...no. | 11:29 | |
jast | hoffentlichja: just one data point, but I prefer to not give myself some weird name based on technology I use (except maybe Git) | 11:30 | |
timotimo | huh | ||
11:30
Pilu joined
|
|||
masak | it dies in SETTING::src/core/Exception.pm:452 | 11:31 | |
something called .handle-exception | |||
timotimo | oh, ah | 11:32 | |
m: BEGIN { die "oh no" } | |||
camelia | Unhandled exception: Cannot find method 'Stringy': no method cache and no .^find_method at SETTING::src/core/Exception.pm:395 (/home/camelia/rakudo-m-inst-1/share/perl6/runtime/CORE.setting.moarvm:print_exception) from SETTING::src/core/Exceptio… |
||
hoffentlichja | jast: fair enough, but some programmers do that, I wanted to know if perl programmers do that in general and how they refer to themselves, Go programmers like to call themselves gophers because of their mascot | ||
timotimo | m: constant foo = die "oh no" | ||
camelia | Unhandled exception: Cannot find method 'Stringy': no method cache and no .^find_method at SETTING::src/core/Exception.pm:395 (/home/camelia/rakudo-m-inst-1/share/perl6/runtime/CORE.setting.moarvm:print_exception) from SETTING::src/core/Exceptio… |
||
masak | timotimo: o.O | ||
timotimo | it's this | ||
masak | so it is. | ||
but what is this? :) | |||
timotimo | we got it when we made runnign END phasers happen in HLL land | ||
i think? | |||
jast | hoffentlichja: my impression has been that perl programmers don't that too much (apart from monkhood perhaps, but I've never seen that anywhere other than perlmonks, either) | ||
timotimo | i had a "fix" but that just caused other things to break in the same way :) | 11:33 | |
11:33
piojo joined
|
|||
masak | in other words, I should check the things I have that happen at BEGIN time | 11:34 | |
timotimo | aye | ||
masak | heh. managed to narrow down the problem by running my modules least-dependent-first until one broke :P | 11:36 | |
yep. found it. | 11:37 | ||
ok -- so the rule right now is "don't fail at BEGIN time" | 11:38 | ||
11:38
Mrofnet joined
|
|||
timotimo | i wonder if i still have that commit stashed | 11:38 | |
11:38
sproctor left
|
|||
timotimo | doesn't seem like it | 11:39 | |
hoffentlichja | jast: I'm new to perl and reading around I've seen a few times "perl monks" mentioned, and got the impression that perl programmers may like to call themselves perl monks, though I'm aware there's a site / forum with that name that comes up often in search results | 11:41 | |
timotimo | yeah, i think only people who frequent that site call themselves perl monks | ||
hoffentlichja | understood :) | 11:42 | |
11:44
wamba left
11:46
dalek left,
SourceBaby left
11:47
dalek joined,
ChanServ sets mode: +v dalek,
SourceBaby joined,
ChanServ sets mode: +v SourceBaby
|
|||
lizmat | masak timotimo we should be able to fail at BEGIN time | 11:48 | |
timotimo | yes, we should :) | ||
11:49
ShalokShalom is now known as ShalokShalom2
|
|||
timotimo | i think we're expecting a low-level exception in the handling code but we're getting a HLL exception object | 11:49 | |
hoffentlichja | what IDE or code editor do you guys use? | ||
lizmat | timotimo: not vice versa? expecting a HLL exception and getting a low level one ? | 11:50 | |
timotimo | i think it's that way around | ||
MasterDuke | hoffentlichja: vim | ||
jast | hoffentlichja: vim | ||
timotimo | vim, though i haven't set it up well for C coding yet | 11:52 | |
hoffentlichja | MasterDuke: I'm a vimer as well, although a few months ago I also switched partially to emacs with evil-mode and lately I've been using vscode but the vim extension(s) are lacking, can't seem to fight a right balance anymore, each have their pros and cons but I perl6 support seems to not be so great in either of them | ||
find* | |||
MasterDuke | if you're interested in more of an IDE experience, there's github.com/perl6/Atom-as-a-Perl6-IDE | ||
hoffentlichja | MasterDuke: I prefer vscode over atom | 11:53 | |
MasterDuke | never used either myself | ||
heard good and bad about both equally | |||
11:54
domidumont left
|
|||
hoffentlichja | I've tried atom in the past but I'd choose vscode anytime though atom has better extension support, still | 11:54 | |
MasterDuke | maybe you can port the atom perl6 stuff to vscode | 11:55 | |
11:56
domidumont joined
|
|||
lizmat has a fix for 'BEGIN die' issue | 11:58 | ||
it's basically the same problem as the sprintf issue | |||
hoffentlichja | MasterDuke: it wouldn't be something trivial | 11:59 | |
12:00
soonix left,
wamba joined
|
|||
MasterDuke | hoffentlichja: no worries, i've got all day :) | 12:02 | |
lizmat | masak timotimo: github.com/rakudo/rakudo/commit/d76af6aa45 | ||
hoffentlichja | MasterDuke: what do you mean? | ||
jast | to me that sounded like an offer to do all the porting for you ;) | ||
wamba | p6: sub pok (Int(Str) $i) {$i.WHAT}; say pok 1 | 12:03 | |
camelia | Type check failed in binding to parameter '$i'; expected Str but got Int (1) in sub pok at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
hoffentlichja | jast: I doubt it but I also wouldn't ask or expect someone to do that for me | ||
MasterDuke | ha! other way around! just joking that since i don't use vscode, it doesn't bother me how long the porting takes | ||
hoffentlichja | MasterDuke: vscode's algorithm for syntax highlighting is very nice, it doesn't choke on complex syntax and the editor stays smooth, unlike some others | 12:05 | |
jast | drat. :) | ||
12:08
piojo left
12:11
mr-foobar joined
12:12
mr-fooba_ left,
soonix joined
12:13
Cabanossi left
12:15
wamba left,
Cabanossi joined
|
|||
Zoffix | hoffentlichja: u-ou Nil is the absense of value. Any is just the default default value parameters/variables have. | 12:18 | |
hoffentlichja | Zoffix: so if a var has type Any doesn't that mean it has no value? | 12:19 | |
Zoffix | redhands, it already flushes. IIRC there's currently no buffering on TTY handles. Otherwise, pass :!buffer to .open | ||
samcv: what's the code you're using to chdir? | 12:20 | ||
o-oh | 12:22 | ||
hoffentlichja: depends on its `is default` settings, by default it's the type object of the variable's type, or Any if the type is Mu. So it does have a value: the type object. If you assign another type object, that'll be its value. `Nil` job on the other hand is to signal the absence of value, so if you assign `Nil` to a variable, you'll get its `is default` value | 12:24 | ||
m: my $x is default(42) = Any; say $x | |||
camelia | (Any) | ||
Zoffix | m: my $x is default(42) = Any; say $x; $x = Nil; say $x | ||
camelia | (Any) 42 |
||
Zoffix | Man, this doesn't chdir() into the right dir :o my $p = IO::Path.new: ".", :CWD</home/zoffix>; chdir $p; dir.say | 12:25 | |
I hope it's a new bug and not something missed on IO grant. | |||
12:26
soonix left
|
|||
hoffentlichja | I see | 12:26 | |
12:27
HoboWithAShotgun joined
|
|||
HoboWithAShotgun | is there an operator that calls a method on a thing and keeps calling the method on the return values until it encounters undef or fails, in which case it returns the last valid value | 12:31 | |
Zoffix | nope | ||
12:31
domidumont left
|
|||
HoboWithAShotgun | basically a parent operator as in (imaginative) $root = $some-nested-node..parent | 12:32 | |
12:32
domidumont joined
|
|||
Zoffix | m: my $root = class { has @.stuff = <a b c>; method node { @!stuff.shift } }.new; say do loop { LAST $root<>; .node orelse last with $root;} | 12:36 | |
camelia | No such method '!capture_phasers' for invocant of type 'Code' in block <unit> at <tmp> line 1 |
||
Zoffix | heh :) | ||
m: my $root = class { has @.stuff = <a b c>; method node { @!stuff.shift } }.new; (loop {$root.node orelse last}).tail.say | 12:37 | ||
camelia | c | ||
Zoffix | m: my $root = class { has @.stuff = <a b c>; method node { @!stuff.shift } }.new; ({$root.node} ...^ !*.defined).tail.say | 12:41 | |
camelia | c | ||
Zoffix | :) | ||
.oO( I guess there *is* an operator to do that, after all) |
12:42 | ||
12:42
Cabanossi left
|
|||
Zoffix | Looks like the chdir bug existed in all the releases. I'm shocked it made it through IO Grant undiscovered. | 12:43 | |
12:44
ShalokShalom joined
|
|||
Zoffix | I see why :/ got carried away testing all the modes instead of all the paths: github.com/perl6/roast/blob/master...t#L61-L140 | 12:45 | |
12:45
Cabanossi joined
12:47
ShalokShalom2 left
12:50
|oLa| left
|
|||
Zoffix | ultimately it's a bug due to IO::Path.Str not respecting :CWD ;/ | 12:54 | |
lizmat | Zoffix: FWIW, IO::Path only has a BUILD call in its BUILDALLPLAN | 12:59 | |
Zoffix | lizmat: I've no idea what those do :) Is it bad that it only got a BUILD call? | 13:00 | |
13:00
yht left
|
|||
lizmat | no, it means that this is less likely to be a problem related to the auto-generated BUILDALL :-) | 13:00 | |
Zoffix | Ah, yeah, it's not. It existed in all the releases and we have IO::Path.Str ignore :CWD by design and the bug's due to that "feature" | 13:01 | |
13:09
epony left
13:19
wamba joined
|
|||
jdv79 | samcv: i don't think its that solutions aren't known (to the irc log issue). its just tuits. | 13:21 | |
13:21
cdg joined
13:24
darutoko left
13:27
cdg_ joined
|
|||
Zoffix | samcv: fixed that &chdir ignoring :CWD bug you spotted: github.com/rakudo/rakudo/commit/4906a1de8a | 13:29 | |
13:30
cdg left
13:37
leedo left,
leedo joined
13:41
domidumont left,
domidumont joined
13:43
Cabanossi left
13:45
Cabanossi joined
13:51
mcmillhj joined
13:55
skids joined
13:59
domidumont left
14:00
domidumont joined
|
|||
Geth | modules.perl6.org/cpan-support: 1800e0f2b1 | (Zoffix Znet)++ | 3 files Add disambiguation page for /dist route |
14:10 | |
[Coke] | . | 14:12 | |
Geth | modules.perl6.org/cpan-support: d46c55353e | (Zoffix Znet)++ | templates/root/search.html.ep Make search page link to fully qualified /dist pages |
14:13 | |
14:15
nadim joined
|
|||
[Coke] | github.com/perl6/doc/blob/a27ba650....pod6#L409 - "mimimum" | 14:19 | |
14:25
Mrofnet left
14:30
cdg joined
|
|||
Geth | doc: e32604b562 | (Zoffix Znet)++ | doc/Language/regexes.pod6 s/mimimum/minimum/; [Coke]++ |
14:31 | |
synopsebot | Link: doc.perl6.org/language/regexes | ||
14:32
sena_kun joined
14:33
cdg left
14:34
cdg joined,
cdg_ left,
cdg_ joined
|
|||
sena_kun | 14:34 | ||
yoleaux | 08:43Z <lizmat> sena_kun: will pass it on to jnthn | ||
jnthn | heh...bug circle :P | 14:35 | |
sena_kun | yeah, circle. :) | ||
hoffentlichja | Zoffix: when do we use .func and when .&func ? | ||
Zoffix | hoffentlichja: always .&func and never .func; `.foo` is a method call, so it won't work if there's no method named "func" | 14:37 | |
hoffentlichja | ah I see, it makes sense | ||
Zoffix | m: sub foo { say "subroutine" }; class Foo { method foo { say "method" } }; with Foo.new { .foo; .&foo } | ||
camelia | method Too many positionals passed; expected 0 arguments but got 1 in sub foo at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
Zoffix | m: sub foo ($) { say "subroutine" }; class Foo { method foo { say "method" } }; with Foo.new { .foo; .&foo } | ||
camelia | method subroutine |
||
Zoffix | with the .&foo form passing the invocant to the sub as the first arg | 14:38 | |
14:38
cdg left
|
|||
hoffentlichja | understood | 14:38 | |
thanks | |||
14:50
Aaronepower left
14:52
bwisti joined
14:56
Aaronepower joined
14:58
Cabanossi left
15:00
Cabanossi joined
15:01
cdg_ left
15:06
xinming_ joined
15:07
cdg joined
15:09
xinming left
|
|||
HoboWithAShotgun | in method f($s where %h = $x), what does this assignment in the where clause do? | 15:18 | |
Geth | modules.perl6.org/cpan-support: 816583d818 | (Zoffix Znet)++ | 2 files Set off donation bar a bit form rest of content |
15:21 | |
Zoffix | HoboWithAShotgun: exploits unsupported behaviour by assigning $x to %h | 15:23 | |
15:25
leont joined
15:33
bwisti left,
bwisti joined
15:35
Aaronepower left
15:38
rba_ joined
|
|||
Geth | modules.perl6.org/cpan-support: 76931ce08b | (Zoffix Znet)++ | 4 files Add stub of CPAN dist page |
15:38 | |
HoboWithAShotgun | and that has which effect? | 15:39 | |
15:41
sena_kun left
|
|||
Zoffix | HoboWithAShotgun: assignment :) | 15:41 | |
m: my %h; my $x := {:42foo, :70bar}; sub ($s where {%h := $x}) {}(%h); say %h | 15:42 | ||
camelia | {bar => 70, foo => 42} | ||
Zoffix | But side effects from `where` is not a supported behaviour, so burn the code you saw that in with fire :) | ||
15:44
Cabanossi left
15:45
Cabanossi joined
15:46
robertle left
|
|||
Geth | ecosystem: 64be703476 | (Tom Browder)++ (committed using GitHub Web editor) | META.list add a dummy module for testing with Perl 6 CPAN |
15:46 | |
15:46
rba_ left
|
|||
Zoffix raises an eyebrow | 15:47 | ||
tbrowder: FWIW, your `perl` key in that META file has the wrong value. It specifies the minimum version of language to be `6` and it won't ever be that high. You can use "6.*" | 15:48 | ||
m: say v6 before v6.c | 15:49 | ||
camelia | False | ||
HoboWithAShotgun | bit it's not := | ||
it's = | |||
Zoffix | HoboWithAShotgun: same difference | ||
15:50
troys joined
|
|||
tbrowder | Zoffix: thnx, fixed. | 15:52 | |
HoboWithAShotgun | and it gets called differently, sec | ||
15:52
kerframil joined,
epony joined
15:55
ChoHag left,
leont left
|
|||
HoboWithAShotgun | m: my %h = :foo<FOO>, :bar<BAR>; my $key = "foo"; sub callme($arg where %h = $key) { say %h; say $arg; }; callme("bar"); | 15:56 | |
camelia | {bar => BAR, foo => FOO} bar |
||
15:57
leont joined,
lowbro left
|
|||
HoboWithAShotgun | i mean i know it checks wether $arg is a key in %h but i have no idea how | 15:57 | |
Zoffix | It doesn't | 15:58 | |
I'd expect that to die | |||
HoboWithAShotgun | m: my %h = :foo<FOO>, :bar<BAR>; my $key = "foo"; sub callme($arg where %h = $key) { say %h; say $arg; }; callme("xxx"); | ||
camelia | Constraint type check failed in binding to parameter '$arg'; expected anonymous constraint to be met but got Str ("xxx") in sub callme at <tmp> line 1 in block <unit> at <tmp> line 1 |
||
HoboWithAShotgun | it does apparently | 15:59 | |
Zoffix | That's the smartmatch with %h, `= $key` is not involved | ||
Ahhhh | |||
Never mind, I was wrong | |||
HoboWithAShotgun: it smartmatches with `%h` (which checks for existance of key), and `= $key` is the default value | 16:00 | ||
tony-o | m: my %h = :foo<FOO>, :bar<BAR>; my $key = "foo"; sub callme($arg where %h = $key) { say %h; say $arg; }; callme; | ||
camelia | {bar => BAR, foo => FOO} foo |
||
HoboWithAShotgun | i am hesitant to ask where that is documented ;) | 16:01 | |
Zoffix | HoboWithAShotgun: docs.perl6.org/type/Signature#inde...gnature%29 | 16:02 | |
Geth | DBIish/add_more_use_nativecall: 1a823c3300 | (Timo Paulssen)++ | 3 files add missing "use NativeCall" to ::Native modules not sure how it used to work without this. |
16:03 | |
DBIish: timo++ created pull request #103: add missing "use NativeCall" to ::Native modules |
|||
timotimo | will travis build the code for the pull request? | ||
Zoffix | `where` smartmatches. That's basically all the documentation needed. I just got confused :) | ||
Geth | DBIish/add_more_use_nativecall: aa76d362a8 | (Timo Paulssen)++ | META6.json minor version bump |
||
16:04
Aaronepower joined
|
|||
Zoffix | timotimo: yes, it shows status of builds on PR page: github.com/perl6/DBIish/pull/103 | 16:04 | |
timotimo | aha! | ||
that wasn't there a minute ago | |||
HoboWithAShotgun | Zoffix, tx but that's just the page about type constraints | 16:08 | |
16:08
committable6 left,
leont left
16:09
committable6 joined,
ChanServ sets mode: +v committable6,
domidumont left
|
|||
Zoffix | HoboWithAShotgun: what sort of docs were you looking for? | 16:09 | |
Geth | DBIish: 1a823c3300 | (Timo Paulssen)++ | 3 files add missing "use NativeCall" to ::Native modules not sure how it used to work without this. |
||
DBIish: aa76d362a8 | (Timo Paulssen)++ | META6.json minor version bump |
|||
DBIish: d2d6e19b05 | (Jonathan Stowe)++ (committed using GitHub Web editor) | 4 files Merge pull request #103 from perl6/add_more_use_nativecall add missing "use NativeCall" to ::Native modules |
|||
HoboWithAShotgun | about this %h = $key syntax | ||
Zoffix | hm, doc search for "Smartmatch" don't show anything :( | ||
HoboWithAShotgun | in the where clause | ||
16:11
nicq20 joined,
perlpilot joined
|
|||
Zoffix | HoboWithAShotgun: that's not the syntax in the code we're talking about. it's sub (ARG = DEFAULT_VALUE) => sub callme($arg = $default-value). And you can type-constraint the arg: subset HKey where { %h{$_}:exists }; sub (HKey $arg = $default-value) {}; and you can shorten this and specify the `where` clause inline: sub ($arg where { %h{$_}:exists } = $default-value) {} and since smartmatch of non-Regex and | 16:14 | |
non-Map keys with a hash checks for existence of a key, you can shorten it still by writing sub ($arg where %h = $default-value) {} | |||
But as the existence of this discussion demonstrates, writing it this way is a bad idea and causes confusion | |||
16:14
pierrot left
|
|||
Zoffix | Especially since smartmatch with hash has more behaviours than just existence of key check | 16:15 | |
m: my %h = :foo<FOO>, :bar<BAR>; my $key = "foo"; sub callme($arg where %h = $key) { say %h; say $arg; }; callme(/f/); | |||
camelia | {bar => BAR, foo => FOO} /f/ |
||
16:15
pierrot joined
|
|||
Zoffix | m: my %h = :foo<FOO>, :bar<BAR>; my $key = "foo"; sub callme($arg where %h = $key) { say %h; say $arg; }; callme(%h); | 16:15 | |
camelia | {bar => BAR, foo => FOO} {bar => BAR, foo => FOO} |
||
16:16
Mrofnet joined
|
|||
Zoffix | So there's no assignment to %h and no assignment to where clause, it's assignment of default value to $arg when the arg wasn't provided | 16:16 | |
16:24
Aaronepower left
16:29
mempko joined
16:31
HoboWithAShotgun left
16:33
wamba left
16:40
mr-fooba_ joined
16:43
mr-foobar left
16:45
cdg left
16:47
HoboWithAShotgun joined,
leont joined
|
|||
Geth | modules.perl6.org/cpan-support: 96444904ce | (Zoffix Znet)++ | lib/ModulesPerl6/Model/Dists.pm Toss old "dist problems" from DB |
16:48 | |
16:53
leah2 left,
cdg joined
17:00
setty1 joined
17:02
AlexDaniel joined
17:06
jonas1 left
17:07
dakkar left
17:09
leah2 joined
|
|||
Geth | modules.perl6.org/cpan-support: 861173c26d | (Zoffix Znet)++ | 5 files Implement extractor for CPAN dists - Add `files` dist property. Keep it empty for now for non-CPAN dists |
17:13 | |
17:15
leah2 left
17:16
Merfont joined
17:19
Mrofnet left
17:21
ChoHag joined
17:23
domidumont joined,
AlexDaniel left,
epony left
17:25
someuser joined
17:28
wamba joined
17:31
leah2 joined
17:32
Aaronepower joined,
death2halloween is now known as hahainternet
17:33
medfly joined
|
|||
medfly | Hi folks. I want to run the roast testsuite because I heard an OS I like is failing in OS-specific ways on it. when I run 'make spectest' it hangs at some test (rosettacode/sierpinski_triangle.t) but not running it manually. any idea>? | 17:37 | |
mspo | what does ktruss say it's doing? | 17:38 | |
medfly | hi mspo | ||
17:39
robertle joined
|
|||
Zoffix | medfly: TTY vs non-TTY? | 17:39 | |
17:41
leah2 left
|
|||
medfly | One of the 4 processes I get from 'pgrep rakudo' is totally silent in ktrace, the others periodically look at the clock and sleep | 17:41 | |
Zoffix | wonder if it's the buffering stuff recently implemented | ||
17:42
AlexDaniel joined
|
|||
Zoffix | medfly: try perl6 -e 'say qx|perl6 rosettacode/sierpinski_triangle.t|' | 17:44 | |
Does that hang? | |||
medfly | nope | 17:45 | |
1..1 | |||
ok 1 - Sierpinski Triangle | |||
oh, just perl6 might be the wrong one | |||
i got it from a package manager first | |||
17:47
kyan joined
17:55
Rawriful joined
17:57
leah2 joined
|
|||
Geth | modules.perl6.org/cpan-support: 23f81e729b | (Zoffix Znet)++ | 2 files Add files missed from last commit |
17:58 | |
17:59
Cabanossi left
18:00
Cabanossi joined
18:05
ufobat left,
Morfent joined
18:06
zelenkanew01 joined
|
|||
zelenkanew01 | i have a problem which is about telnet | 18:06 | |
18:07
zelenkanew01 left
|
|||
Juerd | No, that's irc. | 18:07 | |
Geth | modules.perl6.org/cpan-support: e164379823 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/CPAN.pm Handle impolite archives |
18:08 | |
18:09
Merfont left
|
|||
Zoffix | Well, you could use telnet to IRC :) | 18:29 | |
teatime | don't forget to PONG! | ||
18:30
ZoffixTelnet joined
|
|||
ZoffixTelnet | Telnet Zoffix says hi :) | 18:30 | |
18:30
|oLa| joined
|
|||
teatime | nice | 18:30 | |
18:30
ZoffixTelnet left
18:32
cdg_ joined
18:34
leah2 left
18:36
cdg left,
cdg_ left
|
|||
timotimo | hmpf, i need to put my readme into my module's pod so that mi6 will put it back into the readme for me | 18:37 | |
18:37
|oLa| left
|
|||
Zoffix | :) | 18:38 | |
There's an open Issue on that subject: github.com/skaji/mi6/issues/23 | 18:39 | ||
18:39
|oLa| joined
18:40
TEttinger joined
18:41
troys is now known as troys_
18:42
mcmillhj left
18:45
lancew joined
18:46
mcmillhj joined
18:49
nicq20 left,
epony joined
18:50
|oLa| left
|
|||
lizmat starts working on the P6W, lemme know if you think I'm going to miss something (important :-) | 18:52 | ||
Zoffix | lizmat: not super important, but might be worth mentioning people should upload stuff to CPAN. The bot already reports uploads and in a few hours modules.perl6.org will show CPAN dists on it | 18:53 | |
18:53
Morfent left
|
|||
ugexe | whats the best way to pass data into an anonymous role? e.g. the anonymous version of `my role Foo { has $.foo }; say (1 but Foo(42)).foo;` | 18:53 | |
18:54
Exodist left
18:55
Exodist joined
|
|||
lizmat | Zoffix: I think I'll mention it next week, when it's sure to have gotten some live traffic, if that's ok with you | 18:58 | |
Zoffix | Sure | 18:59 | |
Actually, it's better that way. 3pm... I probably should relax for a bit instead of coding :) | |||
jnthn | lizmat: fwiw, leave the Cro SPA tutorial I wrote for next week also; I didn't get chance to deploy it to the site for real today when I was at the office, and am too tired/lazy to install the google cloud tool on my home box to do it now :) | 19:00 | |
19:01
bwisti left
|
|||
lizmat | jnthn: ok | 19:01 | |
19:03
medfly left
19:13
ChoHag left
19:20
kurahaupo joined
19:26
lancew left
|
|||
virtualsue | jnthn / lizmat I am now taking my little Go / P6 talk to the big Go meetup in London | 19:26 | |
lizmat | virtualsue++ :-) | 19:27 | |
virtualsue | suitably modified by taking out any bragging and teasing | ||
with some P6 | |||
I had hoped it wouldn't be too massive (80 or so) but as it happens one of the more well-known Google dev advocates is suddenly coming so now there will be ca 150 | 19:30 | ||
mspo | showdown! | ||
virtualsue | oh hell no :-) | 19:31 | |
Zoffix | virtualsue++ | ||
virtualsue | I think they will be well up for this | ||
El_Che | virtualsue: I like both, but more often than not they have very opposed design choices | ||
virtualsue: will the talk be recorded? | |||
19:32
yqt joined
|
|||
virtualsue | i think that's likely and I am a bit pressed for time to prepare ... we shall see | 19:33 | |
El_Che | good luck! | ||
mspo | (speaking of golang) did you guys decide about the whole thread phaser thing? | ||
teatime | virtualsue: I like your PTR record. I never thought of doing that. | ||
jnthn | mspo: What is the "thread phaser thing"? :) | 19:34 | |
19:34
yqt left
|
|||
mspo | jnthn: you know how go (and perl6) can't drop privileges on linux reliably? | 19:34 | |
jnthn: not just the traditional setuid stuff, but it also translates into namespaces and stuff | 19:35 | ||
jnthn: it's primarily because there's no way to say "stay single thread until X" | |||
19:37
okl joined
|
|||
virtualsue | I don't really do Highlander talks. It isn't advocacy. It's just interesting. | 19:37 | |
19:39
nicq20 joined
|
|||
Geth | modules.perl6.org/cpan-support: 2203ec9e9b | (Zoffix Znet)++ | 9 files Implement unplugged tree file viewer for CPAN dists |
19:41 | |
19:42
mempko left
|
|||
Zoffix | It's taking shape: i.imgur.com/XzAcDpe.png | 19:43 | |
I think I'm calling it a day tho. Have a ton of Perl Web work to do at $work this week; rather not burn out by doing too much of week on the weekends too | |||
\o | |||
19:44
okl left
|
|||
jnthn | Zoffix++ | 19:44 | |
preaction | Zoffix: that looks amazing | 19:45 | |
HoboWithAShotgun | in the where clause | 19:50 | |
19:50
lancew joined
19:58
mr-fooba_ left
19:59
Cabanossi left
20:00
mr-foobar joined,
Cabanossi joined
20:03
ChoHag joined
20:05
cdg joined
20:08
Morfent joined
20:23
evalable6 left,
evalable6 joined
20:25
nowan left
20:27
nowan joined
20:30
domidumont left,
cdg_ joined
20:32
kurahaupo left,
kurahaupo_ joined,
kurahaupo_ left
20:34
cdg left
20:35
kurahaupo joined
20:37
brrt joined
20:44
Rawriful left,
mempko joined,
brrt left
20:55
zakharyas joined
20:59
cdg_ left
21:00
skids left,
cdg joined
21:02
someuser left,
cdg_ joined,
cdg left
21:05
lancew left
21:06
medfly joined
21:09
mcmillhj left
21:24
unicodable6 left,
bisectable6 left,
releasable6 left,
quotable6 left,
bloatable6 left,
squashable6 left,
coverable6 left,
greppable6 left,
nativecallable6 left,
benchable6 left,
statisfiable6 left,
evalable6 left,
quotable6 joined,
unicodable6 joined,
ChanServ sets mode: +v unicodable6,
bisectable6 joined,
benchable6 joined,
bloatable6 joined,
evalable6 joined,
greppable6 joined,
nativecallable6 joined,
releasable6 joined,
ChanServ sets mode: +v releasable6,
coverable6 joined,
ChanServ sets mode: +v coverable6,
squashable6 joined,
statisfiable6 joined
21:39
evalable6 left,
evalable6 joined,
ChanServ sets mode: +v evalable6
21:43
Cabanossi left
21:44
HoboWithAShotgun left
21:45
Cabanossi joined
21:50
setty1 left
21:57
troys_ is now known as troys
21:58
traxex joined
22:01
kurahaupo_ joined,
APic left
22:02
kurahaupo left
22:07
rindolf left
22:08
zakharyas left
22:09
kurahaupo_ left,
kurahaupo joined
22:10
kurahaupo left,
kurahaupo_ joined,
kurahaupo_ left
22:11
kurahaupo joined,
kurahaupo left
22:15
leont left
22:17
rindolf joined
22:27
nadim left
|
|||
lizmat | and another Perl 6 Weekly hits the Net: p6weekly.wordpress.com/2017/10/02/...e-granted/ | 22:30 | |
22:34
bisectable6 left
22:35
bisectable6 joined
|
|||
gfldex | lizmat++ week++ | 22:37 | |
22:37
wamba left
22:38
mempko left,
medfly left
|
|||
Zoffix | lizmat++ # good weekly. | 22:51 | |
22:52
hoffentlichja left
|
|||
Zoffix | I rushed to IRC to correct the item about chained < ops, because I made changes to ≤ not <, but then remembered that yeah, I did do stuff with the < ops too :) lizmat++ making us remember what we did in a week :) | 22:53 | |
22:53
bisectable6 left
22:54
bisectable6 joined
22:55
ACTPic joined
22:59
mr-foobar left
|
|||
timotimo realizes he didn't do anything show-offable | 22:59 | ||
but for now i must give my wrists some rest, so they can recover soon :| | 23:00 | ||
23:00
rindolf left,
BenGoldberg joined
23:01
mr-foobar joined
23:02
ACTPic left
23:03
rindolf joined
23:04
bisectable6 left,
bisectable6 joined,
ChanServ sets mode: +v bisectable6,
committable6 left,
bisectable6 left,
unicodable6 left,
squashable6 left,
benchable6 left,
coverable6 left,
bloatable6 left,
releasable6 left,
evalable6 left,
statisfiable6 left,
nativecallable6 left,
quotable6 left,
greppable6 left,
quotable6 joined,
nativecallable6 joined,
evalable6 joined,
bloatable6 joined,
greppable6 joined,
releasable6 joined,
benchable6 joined,
bisectable6 joined,
coverable6 joined,
unicodable6 joined,
committable6 joined,
squashable6 joined,
statisfiable6 joined,
ChanServ sets mode: +v nativecallable6,
ChanServ sets mode: +v evalable6,
ChanServ sets mode: +v releasable6,
ChanServ sets mode: +v benchable6,
ChanServ sets mode: +v bisectable6,
ChanServ sets mode: +v coverable6,
ChanServ sets mode: +v unicodable6,
ChanServ sets mode: +v committable6,
ChanServ sets mode: +v squashable6
|
|||
AlexDaniel maybe *ables want a bouncer? | 23:04 | ||
perigrin | they seem quite adept at bouncing without it | 23:10 | |
23:11
mcmillhj joined
23:13
epony left
|
|||
Geth | whateverable: 2da9c8abf0 | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6 Don't generate paths with double slashes Tar will not normalize them. Issue #240. This was a regression after 845db2e47fd6468a069bc9f2b54997e8ae412f48. |
23:15 | |
whateverable: 11af308d8d | (Aleks-Daniel Jakimenko-Aleksejev)++ | Sakefile Adapt Sakefile targets Things are much easier now that we have all bots as systemd services. Note that this is using 「any(…) ~ ‘str’」 which is a fairly new Rakudo addition. |
|||
23:15
epony joined
23:16
cdg_ left
23:18
epony left,
epony joined
23:23
mcmillhj left
23:35
rindolf left
23:50
evalable6 left,
virtualsue left,
evalable6 joined,
ChanServ sets mode: +v evalable6
23:51
virtualsue joined
23:52
mcmillhj joined
23:53
skids joined
|
|||
buggable | New CPAN upload: JSON-Fast-0.9.5.tar.gz by TIMOTIMO www.cpan.org/authors/id/T/TI/TIMOT...9.5.tar.gz | 23:56 |