»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend! Set by sorear on 25 June 2013. |
|||
raydiak | hah ab5tract++ | 00:06 | |
00:07
ab5tract left
|
|||
jercos | gotta turn my monitor upside down for it to work though :p | 00:07 | |
raydiak | nah just yer head :) | 00:08 | |
rjbs | TimToady: How did "bless" come to be called "bless"? | 00:11 | |
00:19
atroxaper joined
00:21
telex left
00:22
telex joined,
telex left
|
|||
raydiak guesses it has to do with how it anoints a referant into a class in p5 | 00:23 | ||
00:24
atroxaper left
00:27
telex joined
00:29
araujo joined,
araujo left,
araujo joined
00:35
Mouq joined
00:38
ssqq joined
|
|||
dalek | kudo/nom: c91a583 | (Geoffrey Broadwell)++ | src/core/Temporal.pm: Loosen Date.new(DateTime) to Date.new(Dateish) to simplify subclasses |
00:40 | |
00:48
oetiker joined
01:21
dayangkun joined
01:27
jerzi left,
dayangkun left
01:42
raiph joined
01:45
denis_boyun___ left
02:10
atroxaper joined
02:14
rmgk_ joined,
rmgk is now known as Guest84960,
Guest84960 left,
rmgk_ is now known as rmgk
02:15
atroxaper left
02:16
jimmy_ joined
02:18
grettis left,
jimmy_ is now known as JimmyZ,
JimmyZ is now known as JimmyZ_
02:54
chenryn joined
02:55
tinyblak left
02:56
tinyblak joined
02:59
tinyblak_ joined
03:00
konsolebox left
03:01
pochi_ joined,
tinyblak left,
pochi left
03:03
tinyblak_ left
03:04
tinyblak joined,
tinyblak left
03:05
tinyblak joined
03:07
tinyblak_ joined,
aborazmeh left
03:10
tinyblak left
03:13
noganex_ joined,
konsolebox joined
03:16
noganex left,
Mso150 joined
03:27
BenGoldberg left
|
|||
dalek | ecs: 09480dd | (Rob Hoelz)++ | S99-glossary.pod: Document closure parameters in S99 I found the naming of closure parameters versus subsignatures confusing, so I thought I would clarify in S99 |
03:41 | |
ecs: 7f6282f | (Rob Hoelz)++ | S99-glossary.pod: Add a glossary entry for subsignatures |
|||
03:41
aborazmeh joined
03:50
Mso150 left
04:07
xinming left
04:09
aborazmeh left,
aborazmeh joined
04:11
dj_goku joined
04:16
jercos left,
atroxaper joined
04:17
jercos joined
04:21
atroxaper left
04:28
xinming joined
04:36
kaleem joined
04:50
perlo joined
04:56
Mouq left
04:58
Mouq joined
05:00
perlo left
05:01
chenryn left
05:02
kjs_ joined
05:05
kjs_ left
05:08
aborazmeh left
05:18
atroxaper joined
05:21
kaare_ joined
05:24
atroxaper left
05:26
konsolebox left
05:28
telex left,
denis_boyun_ joined
05:31
chenryn joined
05:32
dayangkun joined
05:33
denis_boyun_ left
05:35
denis_boyun joined
05:36
[Sno] left
05:38
kaleem left,
ptc_p6 joined
05:42
telex joined
05:45
ptc_p6 left
05:46
ssqq left
05:55
denis_boyun_ joined
05:56
denis_boyun left
06:04
tinyblak_ left,
tinyblak joined
06:05
aborazmeh joined
06:06
ssqq joined
06:09
tinyblak left
06:11
dayangkun left
06:12
chenryn left
06:15
chenryn joined
06:19
KCL_ joined
06:20
tinyblak joined,
mr-foobar left
06:29
[Sno] joined
06:46
aborazmeh left
06:47
KCL_ left
06:49
denis_boyun_ left
06:58
denis_boyun joined
06:59
gfldex left,
raiph left,
Mouq left
07:00
baest_ is now known as baest
07:02
denis_boyun___ joined
07:03
denis_boyun left
07:07
chenryn left
07:12
denis_boyun_ joined
07:14
denis_boyun___ left
07:22
ggoebel111111117 joined,
ggoebel111111116 left
07:28
chenryn joined
07:29
bjz joined,
chenryn left,
jluis joined
07:31
lokendra joined
|
|||
lokendra | hi | 07:31 | |
07:31
chenryn joined
|
|||
lokendra | need to know the start for for perl | 07:32 | |
Timbus | what do you need to know the start for for for | 07:36 | |
07:36
prontotest joined,
prontotest left
07:40
anaeem1_ joined
07:44
FROGGS joined
07:45
anaeem1__ joined,
kaleem joined,
Isp-sec joined
07:46
anaeem1_ left
07:56
kaleem_ joined
07:57
zakharyas joined
07:58
kaleem left
07:59
anaeem1__ left
08:03
robinsmidsrod left
08:05
robinsmidsrod joined
08:09
vti joined
08:11
rurban joined
08:14
ssqq left
08:19
anaeem1_ joined
08:21
fhelmberger joined
|
|||
lokendra | yes timbus | 08:26 | |
08:29
Mso150 joined
08:30
Alina-malina left
08:31
Alina-malina joined
08:32
darutoko joined,
telex left
08:33
Isp-sec left
|
|||
Timbus | i fear we may have a small language barrier here, lokendra. :) could you ask your question differently? | 08:34 | |
08:34
Rounin joined
|
|||
mathw | morning | 08:42 | |
08:43
telex joined
|
|||
lokendra | i want to help, what can I do | 08:46 | |
JimmyZ_ | describe where is your pain :) | 08:50 | |
08:58
konsolebox joined
09:04
ssqq joined
09:06
ptc_p6 joined
09:07
robinsmidsrod left
09:08
robinsmidsrod joined
09:11
denis_boyun_ left
09:15
robinsmidsrod left
09:17
robinsmidsrod joined,
robinsmidsrod left
09:18
robinsmidsrod joined
09:26
dakkar joined
09:29
robinsmidsrod left
09:31
robinsmidsrod joined
09:41
kjs_ joined
09:46
davido_ left
09:47
davido_ joined
|
|||
masak | good antenoon, #perl6 | 09:53 | |
arnsholt | o/ | 09:54 | |
JimmyZ_ | \o | ||
mathw | o/ | ||
mathw would rather be writing Perl 6 | 09:55 | ||
09:55
rindolf joined
|
|||
mathw | (okay I admit it, I'd also rather be writing some sort of Lisp, or Haskell, or learning PureScript, but there's exciting things going on in Perl 6 world on my hard drive) | 10:00 | |
arnsholt | What are you stuck writing? | 10:03 | |
masak | lokendra: hi. if you're new to Perl 6, there are people here who can get you started. if you want to contribute, we can help with that too. :) | ||
mathw | arnsholt: I'm not writing anything at all, I'm triaging support requests :( | ||
arnsholt | Ow. Even worse than PHP (probably) | 10:04 | |
10:04
virtualsue joined
10:05
virtualsue left
|
|||
mathw | well... I'm not entirely sure about that. | 10:09 | |
I do have very strong feelings about PHP | |||
10:09
virtualsue joined
10:12
kjs_ left,
Ven joined
|
|||
Ven | moritz++ # p6advent | 10:13 | |
on the topic of reactive stuff: github.com/kriskowal/gtor | |||
10:16
robinsmidsrod left,
robinsmidsrod joined
|
|||
mathw | So happy to see reactive programming getting more and more traction | 10:19 | |
10:20
kjs_ joined,
brrt joined
|
|||
brrt | \o #perl6 | 10:20 | |
fwiw I had an idea for what to do on the perl6 advent calendar | |||
Ven | o/ brrt | ||
brrt | basically, would it be fun to do a post 'see how the moarvm jit works for YOU' | 10:21 | |
10:21
JimmyZ_ left
|
|||
Ven | very much :-) | 10:23 | |
brrt | ok, then that's what i'll do | ||
10:25
kaleem_ left
10:26
Mso150 left
10:27
kaleem joined,
pecastro joined
10:28
Mso150 joined
10:32
robinsmidsrod left
10:34
robinsmidsrod joined
|
|||
mathw | I'm preparing a talk for Nottingham.pm's next tech night called "What do you mean you can't do $x in Perl 6?" | 10:34 | |
Naturally this involves writing presentation-assisting tools in Perl 6 | |||
10:37
kaleem_ joined
10:38
kaleem left
|
|||
brrt | :-) | 10:40 | |
10:46
atroxaper joined
10:50
Mso150 left
10:52
atroxaper left
10:59
chenryn left
11:00
mvuets joined
|
|||
masak | mathw++ :) | 11:03 | |
11:04
brrt left
|
|||
mathw | we shall see how it goes, but the regulars are interested in hearing it | 11:07 | |
11:17
esaym153 left,
Alina-malina left
11:18
Alina-malina joined
11:19
esaym153 joined
11:25
rindolf left
11:34
jluis left
11:39
chenryn joined
11:45
kjs_ left
11:46
jluis joined
11:48
robinsmidsrod left
11:49
robins joined
12:06
abraxxa joined
|
|||
masak | "Lisp in Small Pieces" has arrived! \o/ | 12:08 | |
its chapter 9 is called "Macros: their use and abuse" :P | 12:09 | ||
mathw: www.purescript.org/ looks interesting. | 12:10 | ||
12:11
abraxxa left,
robins left
12:13
robinsmidsrod joined
12:16
lokendra left
|
|||
masak | the tone in news.ycombinator.com/item?id=8724727 is uplifting. | 12:17 | |
though I also note that people can't tell terms from operators, and apparently "more readable" means "I've spent a lot of time reading this language, so I can read it more easily". | |||
12:18
anaeem1__ joined,
anaeem1_ left
12:23
cosimo joined
12:34
pecastro left
12:40
brrt` joined
12:43
rurban left
12:57
sqirrel joined
13:05
chenryn left
13:06
Ven left
13:07
ggoebel111111117 left
13:30
atroxaper joined
|
|||
sergot | hello o/ | 13:38 | |
What trick was there with 42 in Perl 6? | |||
I forgot it | |||
tadzik | a trick with 42? | 13:39 | |
mathw | masak: it always does. See also 'intuitive' | 13:40 | |
people say Python is unintuitive because they're used to curly braces and find the idea of significant whitespace to be abhorrent. Despite that they probably follow similar unenforced rules just to make their code readable... | |||
sergot | tadzik: "the meaning of life" | ||
I barely remember this | 13:41 | ||
FROGGS | m: say 42.WHY | ||
camelia | rakudo-moar c91a58: OUTPUT«(Any)» | ||
tadzik | :D | ||
FROGGS | hmmm | ||
I though that would do | |||
tadzik | sergot: I didn't know there is something specific about it in p6 | ||
geekosaur | m: say 42.WHAT | ||
camelia | rakudo-moar c91a58: OUTPUT«(Int)» | ||
geekosaur | mrrr, what was it | ||
tadzik | found it | 13:42 | |
but I cheated | |||
m: "Life, the Universe, and Everything".WHY.say | |||
camelia | rakudo-moar c91a58: OUTPUT«42» | ||
FROGGS | ahh | ||
:o) | |||
13:42
tgt joined
|
|||
sergot | tadzik++ | 13:42 | |
geekosaur | yeh, had a feeling it was the other way around but my log greps aren't spotting it, sigh | ||
13:43
rurban joined
|
|||
Rounin | Haha | 13:43 | |
tgt | 42.WHY worked in April, but broke at some point. | ||
sergot | It was cool :) | 13:44 | |
tgt | irclog.perlgeek.de/perl6/2014-04-26#i_8642372 | ||
masak | it used to be the other way around. | 13:45 | |
this way makes a bit more sense, though. as "42" is the answer, not the question. | |||
brrt` | m: say 32.WHY | ||
camelia | rakudo-moar c91a58: OUTPUT«(Any)» | ||
geekosaur | that was why I tried .WHAT | ||
brrt` | m: "Life, the Universe, and Everything".WHY | 13:46 | |
camelia | ( no output ) | ||
brrt` | nice | 13:47 | |
hmm wait | |||
13:47
brrt` left
13:48
brrt joined
|
|||
brrt | what does perl6 has for printf support | 13:49 | |
13:49
tgt left,
rurban left
|
|||
tadzik | brrt: it's our own implemented in nqp iirc | 13:50 | |
brrt | ah | ||
but | |||
m: printf("%d", 42); | 13:51 | ||
camelia | rakudo-moar c91a58: OUTPUT«42» | ||
brrt | ah | ||
brrt didn't read the error message very well | |||
do we support position specifiers? | 13:52 | ||
as in: m: printf("%2$d %1$d", 1, 2); | |||
m: printf("%2$d %1$d", 1, 2); | |||
camelia | rakudo-moar c91a58: OUTPUT«===SORRY!=== Error while compiling /tmp/JOCybDXxYCVariable '$d' is not declaredat /tmp/JOCybDXxYC:1------> printf("%2$d⏏ %1$d", 1, 2); expecting any of: postfix» | ||
brrt | uh duh | 13:53 | |
m: printf('%2$d %1$d', 1, 2); | |||
camelia | rakudo-moar c91a58: OUTPUT«2 1» | ||
brrt | public service announcement, brrt is dumb today | ||
lizmat | good *, #perl6! | 13:57 | |
FROGGS | hi lizmat | ||
lizmat just recovered from a ~9 hour Hobbit Marathon | |||
wrt to 42.WHY: yes, that used to work | |||
but someone pointed out to me, it was actually the other way around | 13:58 | ||
tadzik | lizmat: so, the first film? :P | ||
lizmat | 42 was the answer, not the question :-) | ||
the first 3 films | |||
brrt | \o lizmat | ||
lizmat | brrt tadzik FROGGS o/ | ||
tadzik | o/ | ||
brrt | is the third hobbit film available yet? | ||
as in | |||
released | |||
FROGGS | does it have production grade? | 13:59 | |
FROGGS runs | |||
lizmat | brrt: yes, it came out today (just after midnight :-) | ||
brrt | awesome | 14:00 | |
14:00
ssqq left
14:01
ssqq joined,
sqirrel left
|
|||
geekosaur considers a compare and contrast with the Rankin-Bass one >.> | 14:02 | ||
tadzik | on the day that thepiratebay went down :P | ||
colomon | Never thought I'd say this, but based on the first two Jackson films, the Rankin-Bass one is miles better. :) | 14:03 | |
geekosaur | I can't really claim to be surprised; doing it as a trilogy always seemed like it was aiming for doom | 14:04 | |
Rounin | Hm yes, it's not exactly the longest book, is it? | 14:07 | |
colomon | While I hate the additions to pad the running time, my real objection is to the goofy action scenes, I think. | ||
brrt | on the other hand, it's likely you'd spend more than 9 hours reading it | ||
colomon | brrt: !!! I haven't timed myself recently, but I'm pretty sure I'd have finished it in 2-3 hours back when I was a kid and had uninterrupted reading time. | 14:08 | |
Rounin | Yes, they could include every description of every tree | ||
Complete with a voiceover | 14:09 | ||
brrt hasn't read it at all | |||
Rounin | "Here are all of Bilbo's aunts and uncles, by the way:" | ||
brrt | but perhaps i'm a relatively slow reader | ||
[Coke] | it's including other source material, not just the hobbit. | ||
but yes, the long running action sequences that appear to be there solely to give some heft to the 3D experience are meh for me. | 14:10 | ||
(my kid doesn't mind them, however, which I think might be kind of th epoint) | |||
colomon | [Coke]: yeah, I may not be the intended audience. | ||
Just checked, and an unabridged audiobook of The Hobbit is 11 hours and 8 minutes. | 14:11 | ||
[Coke] | colomon: I am sure I could devour it much faster. :P | ||
I am just glad the movie is here so my daughter can watch it, and NOW FINALLY she will consent to watch LOTR with me. :) | 14:12 | ||
colomon | [Coke]: yes, notice my estimate of (silent) reading time above. ;) | ||
Rounin | She's reached the age of Tolkien consent... What a milestone! | ||
[Coke] | Rounin: only reason she wouldn't watch it before was because she wanted to see the movies in order. :P | 14:13 | |
sorry, “in order” | |||
Rounin | She sounds more than adequately geeky, [Coke] | ||
lizmat wonders how much better the extended versions will be, especially wrt to action/non-action scene ratio | 14:14 | ||
14:15
sqirrel joined,
pecastro joined
|
|||
moritz | ok, I'm slowly setting up the various p6 websites on the new webserver | 14:16 | |
with domain p6c.org instead of perl6.org | |||
so that we can do a friendly DNS switch-over once everything is as we want | |||
www.p6c.org and faq.p6c.org are already set up | 14:17 | ||
geekosaur | yeh, I've found I can't do audiobooks because it's painfully slow compared to reading | ||
masak | today's autopun spotting: twitter.com/secboffin/status/534629070508920832 | ||
colomon is now listening to www.youtube.com/watch?v=B3kCGNFBuSU because of this conversation | 14:19 | ||
14:20
ggoebel111111114 joined
|
|||
moritz | geekosaur: I find audiobooks perfect when doing laundry etc. | 14:20 | |
colomon | long drives... | 14:21 | |
saving your voice when your son wants to hear Prisoner of Azkaban for the fifth time.... | |||
[Coke] | I put on podcasts/short stories when walking. | ||
but yah, if it's the -active- thing I'm doing, it's too slow. waaaay too slow | 14:22 | ||
FROGGS | moritz: p6c.org feels fast-ish :o) | 14:24 | |
moritz | FROGGS: \o/ | ||
also shell accounts are available | 14:25 | ||
FROGGS | nice :o) | ||
PerlJam | moritz++ | 14:27 | |
moritz: so ... how do we obtain said shell accounts? | 14:28 | ||
moritz | PerlJam: /msg me your pubkey and desired username | ||
14:29
ssqq left
|
|||
moritz | I plan to blog about it later | 14:29 | |
masak | ooh, I have another advent blog idea! | ||
14:29
ssqq joined
|
|||
masak | will take a bit of effort to pull off, but should be worth it... :) | 14:29 | |
colomon | moritz: shall we move the smoke test report stuff over? | ||
masak | I'd better write it sooner rather than later, though. | ||
moritz | colomon: yes please | 14:32 | |
colomon: though that's probably better located on the webserver (www.p6c.org) | |||
FROGGS | go masak go! /o/ | 14:33 | |
14:34
ssqq_ joined,
ssqq left
14:36
raiph joined
14:39
ssqq_ left
14:41
treehug88 joined,
perlpilot joined
|
|||
colomon | moritz++ | 14:46 | |
14:47
perlpilot left,
perlpilot joined
14:48
perlpilot is now known as PerlJam
14:51
Foxcool joined
|
|||
lizmat | welcome Foxcool :-) | 14:51 | |
Foxcool | (: | 14:52 | |
lizmat | moritz: I wonder whether we shouldn't have a ':all' param on PsuedoStash.keys | 14:53 | |
*Pseudo | |||
I guess after a while you get fed up with seeing the usual suspects in there :-) | 14:54 | ||
15:05
mvuets left
15:06
ptc_p6 left
15:09
rindolf joined
15:13
konsolebox left
15:15
rurban joined
15:16
[Sno] left
|
|||
masak | lizmat: I haven't kept up on PseduoStashes. when does this happen? | 15:22 | |
15:23
ggoebel111111115 joined
15:24
anaeem1__ left
15:25
ggoebel111111114 left
15:27
anaeem1_ joined
15:29
onebitboy left
|
|||
moritz | lizmat: you mean for the implicit vars? | 15:33 | |
15:34
kaleem_ left
|
|||
lizmat | moritz: yes, the implicit vars | 15:37 | |
masak | it sounds harmful to me to hide something by default that's there but implicitly declared. | 15:44 | |
lizmat | but we do the same with ^methods, no? | 15:46 | |
15:54
telex left
15:56
telex joined
15:58
andreoss joined
|
|||
andreoss | sub ... is cached{ # no space between 'd' and '{' - causes compile-time error | 16:00 | |
why space is needed? | |||
flussence | cached{...} is a hash key lookup | 16:01 | |
std: sub foo is cached{ 1 } | |||
camelia | std 76ccee1: OUTPUT«===SORRY!===Malformed block at /tmp/cMv2wK83uk line 1 (EOF):------> sub foo is cached{ 1 }⏏<EOL>Parse failedFAILED 00:00 137m» | ||
andreoss | even without sigil? | 16:02 | |
FROGGS | std: sub foo is cached{ 1 } { ... } | ||
camelia | std 76ccee1: OUTPUT«ok 00:00 137m» | ||
FROGGS | that belongs to the trait | ||
std: sub foo is cached(1) { ... } # like in here | |||
camelia | std 76ccee1: OUTPUT«ok 00:00 139m» | ||
flussence | m: constant cached = { :foo, :bar }; say cached{'foo'} | 16:03 | |
camelia | rakudo-moar c91a58: OUTPUT«True» | ||
16:05
FROGGS left
|
|||
andreoss | so with 'is cached{...}' ... is meant for some additional options? | 16:06 | |
16:18
andreoss left
16:19
virtualsue left
16:20
atroxaper left,
Rounin left
16:28
gfldex joined
16:31
psch joined
|
|||
psch | hi #perl6 \o | 16:31 | |
16:32
brrt left
16:34
kurahaupo left
16:37
tinyblak left
16:47
abraxxa joined
16:48
pecastro left
16:51
onebitboy joined
16:54
andreoss joined
16:55
kaleem joined
17:00
pecastro joined
|
|||
moritz | oh hai | 17:03 | |
so we don't have an advent post for tomorrow | |||
who wants to chime in? | |||
TimToady | yesterday jnthn++ was saying he would, I thought, but I'm still backlogging | 17:04 | |
moritz | oh right, I misread the diff | ||
so nevermind | |||
jnthn++ | |||
so Saturday, 13th is the next unclaimed spot | |||
jnthn | Yeah, I'll probably eat first, and then work on it :) | 17:07 | |
17:07
kaleem left
17:08
mr-foobar joined
|
|||
andreoss | yet is there something anyhow close to perltidy? | 17:10 | |
so far i've found Perl6::Format which is broken/unfinished | |||
masak | oh, I was not aware of that one. | 17:15 | |
dalek | ake: c53c697 | (Arne Skjærholt)++ | src/Snake/Metamodel/ClassHOW.nqp: First stab at user-defined callables. |
||
masak | andreoss: no, I wouldn't say there is anything close to PerlTidy yet. | ||
17:19
raiph left,
anaeem1_ left
17:20
pecastro left,
atroxaper joined
17:21
alesk joined
17:22
andreoss left
|
|||
alesk | m: role Doc { has $.doc is rw }; multi trait_mod:<is>(Attribute $a, Doc, $arg) { $a.container.VAR does Doc($arg); }; class C { has @.v is Doc('Array container') is rw; }; my $x = C.new; $x.v.doc.say; $x.v = (42, 43, 44); $x.v.perl.say; | 17:22 | |
camelia | rakudo-moar c91a58: OUTPUT«Array containerArray+{Doc}.new(42, 43, 44)» | ||
alesk | m: role Doc { has $.doc is rw }; multi trait_mod:<is>(Attribute $a, Doc, $arg) { $a.container.VAR does Doc($arg); }; class C { has $.v is Doc('Scalar container') is rw; }; my $x = C.new; $x.v.doc.say; $x.v = 42; $x.v.perl.say; | 17:23 | |
camelia | rakudo-moar c91a58: OUTPUT«Scalar containerCannot modify an immutable Scalar+{Doc} in block <unit> at /tmp/l8vXmsezxt:1» | ||
alesk | Why does it not work with scalars ? | 17:24 | |
17:26
atroxaper left
|
|||
psch | m: my $x = 5; my $whichx = $x.WHICH; $x = 6; say $whichx === $x.WHICH | 17:27 | |
camelia | rakudo-moar c91a58: OUTPUT«False» | ||
hoelzro | o/ #perl6 | 17:28 | |
psch | hoelzro \o | ||
17:30
raiph joined,
anaeem1_ joined
|
|||
hoelzro | so I've been playing with Go a bit recently, and one thing that I find appealing about it is its tools to operate on Go source (ex. go fmt) | 17:33 | |
these are easy to make because there's a Go parser in the stdlib; do we have a Grammar (other than Grammar.nqp) for doing something like this for Perl 6 source? | 17:34 | ||
I guess maybe STD.pm6 =/ | |||
[Coke] | m: say Perl6::Grammar.WHAT: | 17:35 | |
camelia | rakudo-moar c91a58: OUTPUT«===SORRY!=== Error while compiling /tmp/QZy8hRja3jMissing semicolon.at /tmp/QZy8hRja3j:1------> say Perl6::Grammar.WHAT:⏏<EOL> expecting any of: colon pair» | ||
TimToady | it's probably about time to translate STD.pm6 to run on rakudo | ||
[Coke] | m: say Perl6::Grammar.WHAT; | ||
camelia | rakudo-moar c91a58: OUTPUT«Could not find symbol '&Grammar' in method <anon> at src/gen/m-CORE.setting:13772 in any find_method_fallback at src/gen/m-Metamodel.nqp:2725 in any find_method at src/gen/m-Metamodel.nqp:988 in block <unit> at /tmp/XRF3CpOACx:1» | ||
psch | m: say %~LANG | 17:36 | |
camelia | rakudo-moar c91a58: OUTPUT«Slang.new(:grammar(Any), :actions(Any))» | ||
TimToady | but the desire for a standard high-level AST for macros may produce something in this regard to | ||
thing is, Go is one language by design, and Perl 6 is many languages by design, so you have to account for extensibility | 17:37 | ||
17:37
zakharyas left
|
|||
hoelzro | indeed | 17:37 | |
my use case is I want to search roast for a particular construction to see it's covered in tests | 17:38 | ||
and the construction involves a for loop, so searching by hand isn't really an option =/ | |||
TimToady | it has been our feeling from the beginning that Paul Graham is correct about the 100-year language needing to be evolvable | ||
so basically we need to extend our extensibility to the document model for Perl 6 code :) | 17:39 | ||
17:40
[Sno] joined
|
|||
TimToady | à la PPI, but extensible along with the language | 17:40 | |
hoelzro | sounds good to me | ||
because one might add, for example, an after block (or something), and may want to write a tool to do something with after blocks, right? | 17:41 | ||
TimToady | you'd like your IDE to suddenly know about them, yeah | ||
hoelzro | makes sense | 17:42 | |
moritz | loliblug: perlgeek.de/blog-en/perl-6/2014-com...-live.html | 17:48 | |
TimToady wonders what breaks if we translate Grammar.nqp into Grammar.pm6 without translating Actions.nqp | |||
17:50
xinming_ joined
17:52
xinming left
|
|||
psch | .tell jnthn fwiw, jarakudo tags 2013.11 and 2013.12 also die with boxing errors on the CRC32 example, so i don't know where to start bisecting from | 17:55 | |
yoleaux | psch: I'll pass your message to jnthn. | ||
psch | moritz++ # hardware and such | 17:56 | |
moritz | psch: just to be clear, I didn't pay anything for the hardware, that was funded by community donations | 17:57 | |
TimToady | moritz++ # scutwork and such :) | 17:58 | |
psch | moritz: oh, yeah i know that. "handling hardware" might've been better | ||
apparently i regularly struggle with actually expressing what i mean | |||
TimToady now wonders the derivation of "scut"...probably scatalogical... | |||
or scutalogical... | 17:59 | ||
moritz simply out-corrects to "scout work" :-) | |||
TimToady | *ological | ||
moritz | or "grunt work" | 18:00 | |
huf | huh, new word! thanks | ||
TimToady now wonders about the derivation of "grunt" :) | |||
moritz | it's hard, thankless work where you grunt while doing it | ||
or feel like a pig | 18:01 | ||
18:01
dakkar left
|
|||
TimToady hopes pigs feel better when it's done | 18:01 | ||
moritz does, at least | 18:02 | ||
huf | grunt sounds suspiciously like the sound of grunting... | 18:03 | |
18:05
Mso150 joined
|
|||
moritz | I've now enforced some resource limits on user accounts on hack.p6c.org | 18:05 | |
max RSS of 8GB, max. 1k processes, max 50 parallel logins per user | 18:06 | ||
does that sound reasonable? | |||
PerlJam | moritz: aye. | ||
TimToady | 50 logins should be enough for anyone :P | 18:07 | |
moritz | it's not supposed to be lose enough to work well with rakudo dev, and only strict enough to not kill the server accidentally | ||
TimToady | well, it's not like it's set in stone for all eternity | 18:08 | |
not that stones are eternal either... | |||
masak .oO( unless they are infinity stones... ) | 18:09 | ||
moritz | agreed with both :-) | ||
18:15
mvuets joined,
grettis joined
|
|||
vendethiel | o/, #perl6 | 18:16 | |
18:16
andreoss joined
|
|||
andreoss | my @x = "123" ~~ m/\d/; # > catches 1 | 18:20 | |
my @x = "123" ~~ m:g/\d/; # > catches nothing | |||
how do i get matches in array context? | 18:21 | ||
tony-o | use .any | ||
oh, nvm | |||
psch | andreoss: use the .match methods for now, m:g// isn't working quite right currently | 18:24 | |
*method | |||
m: say "123".match(:g, /\d/) | |||
camelia | rakudo-moar c91a58: OUTPUT«「1」 「2」 「3」» | 18:25 | |
masak | m: say "123".comb(/\d/) | 18:27 | |
camelia | rakudo-moar c91a58: OUTPUT«1 2 3» | ||
masak | m: say "123".comb(/\d/).perl | ||
camelia | rakudo-moar c91a58: OUTPUT«("1", "2", "3").list» | ||
tony-o | masak: beat me | 18:28 | |
masak | I don't believe in violence. | 18:29 | |
you'll have to ask someone else. | |||
andreoss | my @x = "123" ~~ m/\d/; # > catches 1 | ||
my @x = "123" ~~ m:g/\d/; # > catches nothing | |||
sorry..wrong buffer | |||
18:30
njmurphy joined
|
|||
andreoss | btw, is there #learningperl6 or something like that? don't wanna spoil serious discussions with noob questions | 18:30 | |
vendethiel | andreoss: there's no "noob questions" :) | 18:32 | |
TimToady | maybe we should just make List one of the success values that smartmatching doesn't retest | ||
I can't really think of any downsides | 18:34 | ||
PerlJam | vendethiel: I'd say ... there's only "noob questions" ;) | ||
TimToady | anything currently done by List.ACCEPTS should probably have a keyword anyway | ||
psch | TimToady: that would happen instead of the OKness bit? | ||
18:35
Mso150_a joined,
Mso150 left
|
|||
masak | PerlJam, vendethiel: the noob/non-noob duality is an illusion! | 18:35 | |
TimToady | nobody every sprang for an OKness bit, but we've just kept a list of exceptional values/types | ||
psch | rather, "be an alternative to the OKness bit to improve smartmatching" | ||
TimToady | it seems saner than creating fake Match objects out of lists | 18:36 | |
and potentially allows other types to return lists as a success | 18:37 | ||
and it falls out naturally that a list with 0 elements is False, while other lists are True, so a successful match can still be evaluated for 1-or-more-ness, which pretty much corresponds to how P5 handles matching in list vs boolean context | 18:38 | ||
psch | fwiw, the implementation for m:g// that i have sitting around leaves a root Match object around, which represents everything that has matched as one match | ||
but it waterbedded towards "you have to say you want the list if you want to iterate over the list" | 18:39 | ||
which as mentioned seems un-idiomatic | |||
from that point of view i think having m:g// just return a List sounds cleaner | |||
TimToady | indeed | 18:40 | |
psch | and the point with truthiness of a List according to the number of elements is good as well | 18:41 | |
jnthn | Also, Match objects as currently factored don't do laziness, and m:g kinda wants it, or potentially wants it... | 18:46 | |
yoleaux | 17:55Z <psch> jnthn: fwiw, jarakudo tags 2013.11 and 2013.12 also die with boxing errors on the CRC32 example, so i don't know where to start bisecting from | ||
jnthn | And m:ex I guess really wants it. | 18:47 | |
TimToady | we should also remove any wildcarding from Array.ACCEPTS and make such pattern matching keyword driven as well | 18:50 | |
"respectively" is a bit long, however :) | 18:52 | ||
jnthn | .tell psch Well, bother. That means it bust ages ago :/ | ||
yoleaux | jnthn: I'll pass your message to psch. | ||
18:54
FROGGS joined
|
|||
psch was here all along | 18:55 | ||
yoleaux | 18:52Z <jnthn> psch: Well, bother. That means it bust ages ago :/ | ||
psch | maybe i can get it with my overloaded method work, if not i'll look later on | 18:56 | |
[Coke] | Do we have a page with "must have for 6.0.0." ? | 18:58 | |
I want to make sure we have some notes about tests. | |||
jnthn must have dinner & | 18:59 | ||
19:00
rindolf left
|
|||
[Coke] is so glad his $dayjob should be going back to normal soon. | 19:00 | ||
19:01
rindolf joined
|
|||
FROGGS | lizmat: what's "That worked out" in .nl? | 19:03 | |
hoelzro .oO( het heeft uitgewerkt? ) | 19:04 | ||
19:04
fhelmberger left
|
|||
mvuets | paste.scsys.co.uk/451676 - open does not handle :enc<utf16> properly, :enc<cp1251> dies with a fair reasonable message though | 19:04 | |
is it known? or should i rakudobug it? | |||
psch | m: my \xₙ = 1; my \xₙ₊₁ = xₙ + 1; # this made me a bit sad recently | 19:07 | |
camelia | rakudo-moar c91a58: OUTPUT«===SORRY!=== Error while compiling /tmp/WRagmtH7sqTerm definition requires an initializerat /tmp/WRagmtH7sq:1------> my \xₙ = 1; my \xₙ⏏₊₁ = xₙ + 1; # this made me a bit sad re expecting any o…» | ||
psch | not sure if it'd be reasonable to expect it to work | ||
FROGGS | you expect that the + will be part of the name? | ||
psch | i'd have liked it in this case, yeah | 19:08 | |
mvuets | re open: fwiw it's print() that fails, not open(), but the question stays | ||
psch | but it's still a plus, even if subscripted | ||
19:09
sqirrel_ joined,
sqirrel left,
FROGGS left,
pecastro joined
19:10
smls joined
|
|||
psch | mvuets: a cursory search of RT didn't reveal a known bug to me at least | 19:10 | |
[Coke] | There's limits on what's in a var name. | 19:11 | |
19:11
FROGGS joined
|
|||
[Coke] | "An identifier is composed of an alphabetic character followed by any sequence of alphanumeric characters. The definitions of alphabetic and numeric include appropriate Unicode characters. Underscore is always considered alphabetic. An identifier may also contain isolated apostrophes or hyphens provided the next character is alphabetic." | 19:12 | |
19:13
rindolf left,
Mso150_a left
|
|||
smls | How can I get formatting codes to work inside Pod tables? (Stand-alone example script: gist.github.com/smls/f10a15046a58c740248c ) | 19:13 | |
[Coke] | so, no bug there, methinks. | ||
19:15
Mso150_a joined
19:16
perltricks joined
|
|||
psch | oh, i'm not saying it's a bug | 19:17 | |
i can accept having to override <ident> to get that kind of identifier working | 19:18 | ||
it's not like we're generally that math-centric to want non-alnum sub- or superscripts in identifiers | 19:19 | ||
19:22
ronin joined
|
|||
ronin | what's wrong with this ideone.com/xuZcUT gist.github.com/smls/732115c66cd29...-grades-p6 | 19:22 | |
I get Unable to open filehandle from path 'grades.p6' | 19:23 | ||
mvuets | links on rakudo.org/tickets/ are broken )-: for instance, rakudo.org/rt/easy -> "There was an error parsing your search query [...]" | ||
m: say "☺".encode("UTF-8") | 19:24 | ||
camelia | rakudo-moar c91a58: OUTPUT«Buf:0x<e2 98 ba>» | ||
mvuets | m: say "☺".encode("UTF-16") | ||
camelia | rakudo-moar c91a58: OUTPUT«Buf:0x<263a>» | ||
mvuets | latter case seems odd: is that a multi-byte? encode should return octets as in the former example, shouldn't it? | 19:25 | |
smls | ronin: Do you have the grades.txt file in the current directory? | 19:27 | |
ronin | yes | ||
wait | |||
I run it from the wrong directory, how can i even run it from wrong directory? :/ | 19:28 | ||
wtf | |||
but i get now: Unsupported use of - as character range; in Perl 6 please use .. at line 4, near "]>?) $/ or" | |||
FROGGS | std: /<[+-]>/ | 19:29 | |
camelia | std 76ccee1: OUTPUT«ok 00:00 138m» | ||
FROGGS | m: /<[+-]>/ | ||
camelia | ( no output ) | ||
geekosaur | mvuets: Buf can have sizes other than 8 (octets). encode("UTF-16") gives you a Buf of 2-byte chunks, corresponding to the encoding | 19:31 | |
smls | ronin: It works fine for me on a relatively recent Rakudo+MoarVM | ||
FROGGS | will that every work? m:s/^ (\w+) (<[A..F]><[+-]>?) $/ | 19:32 | |
ahh, yes perhaps | 19:33 | ||
vendethiel finished the draft of the new learnperl6inyminutes | 19:36 | ||
smls | m: "Celine\tA-" ~~ m:s/^ (\w+) (<[A..F]><[+-]>?) $/; say "$0: $1" | ||
camelia | rakudo-moar c91a58: OUTPUT«Celine: A-» | ||
vendethiel | new structure* | ||
mvuets | m: say "☺".encode("utf-16").perl | ||
camelia | rakudo-moar c91a58: OUTPUT«utf16.new(9786)» | ||
mvuets | apparently utf-16 is affected by endianness (in contrast to utf-16le and utf16-be) | 19:37 | |
so that is perfectly valid | |||
geekosaur: thanks (-: | |||
19:40
nige joined
19:42
raiph left
|
|||
nige | Hi | 19:48 | |
here is a draft my advent post - feedback is very welcome: perl6advent.wordpress.com/?p=2507&a...eview=true | |||
psch | nige++ # portcullis as a mnemonic for private attribute twigil | 19:51 | |
vendethiel can't read it | 19:53 | ||
psch | i'm not sure i fully agree with "the twigil travels with the attribute through the class" - you can (have to) access $.var as $!var if you want to write to it | ||
vendethiel: you need to be in the author group i think | 19:54 | ||
19:54
kurahaupo joined,
anaeem1_ left,
kurahaupo left
|
|||
FROGGS | nige++ | 19:55 | |
I like it :o) | |||
psch | i also meant to put a "?" after the parenthesesed "have to", because i'm not completely sure... | 19:56 | |
19:56
kurahaupo joined
|
|||
FROGGS | psch: you have to if your accessor method is not rw | 19:56 | |
psch | FROGGS++: ah, okay, thanks | 19:57 | |
19:57
anaeem1_ joined
19:58
beastd joined
|
|||
vendethiel | ah, right. | 19:58 | |
dalek | kudo/nom: 5f64944 | (Tobias Leich)++ | src/core/operators.pm: RT #123303 fix exception throwing of undeducable sequences |
20:01 | |
synopsebot | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=123303 | ||
20:01
_4d47 joined
|
|||
bartolin | hi, #perl6 | 20:03 | |
speaking of sequences: did someone have an opportunity to look at my PR which attempts to fix chained sequences (github.com/rakudo/rakudo/pull/336) | 20:05 | ||
dalek | ast: 3b96e08 | (Tobias Leich)++ | S03-sequence/misc.t: RT #123303 test exception throwing of undeducable sequences |
20:07 | |
synopsebot | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=123303 | ||
20:08
anaeem1_ left,
anaeem1 joined
20:09
virtualsue joined
|
|||
FROGGS | bartolin: let me test it | 20:10 | |
bartolin | great! FROGSS++ | ||
FROGGS | bartolin: could that be part of an else after line 232? github.com/usev6/rakudo/commit/8b8...2a492aR225 | 20:12 | |
20:12
darutoko left
|
|||
bartolin | FROGGS: yes, that looks plausible | 20:15 | |
FROGGS | maybe we spot another opportunity to save some work... | ||
would be unfortunate to slow sequences down | 20:16 | ||
bartolin | agreed. I was kind of happy to make it work -- but the code can be improved surely ... | 20:19 | |
FROGGS | yeah, it looks very good... I don't see any spectest fallout yet | 20:20 | |
bartolin | I had no spectest failures as well (moar, parrot and jvm) | ||
but on the other hand there aren't many tests for chained sequences (and probably it's not used for other functionalities) | 20:23 | ||
the four tests skipped for rakudo in S03-sequence/misc.t should pass with this as well | 20:25 | ||
FROGGS | yes, that's what I am testing | 20:29 | |
20:32
Isp-sec joined
|
|||
FROGGS | bartolin: can you please push optimizations to your repo? I'll merge it when I get your ok | 20:34 | |
mvuets | paste.scsys.co.uk/451709 - IO::Handle.open does not handle symlinks? )-: | ||
bartolin | FROGGS: do you have other suggestions at hand (apart from the else clause mentioned above)? | 20:36 | |
mvuets | how do i search ticket bodies in rt? | ||
FROGGS | bartolin: maybe don't alloc @left_tail? | 20:37 | |
mvuets: I believe it is not possible anymore... it used to work until RT was updated | |||
bartolin: same for $last | 20:38 | ||
mvuets | FROGGS: when i want to check if the bug is reported already, i can count on subjects only? | ||
bartolin | FROGGS: okay, I'll look at it. thanks a lot for testing and commenting! | ||
FROGGS | bartolin: sure :o) | 20:39 | |
psch | ohh boy. i get different behavior for repeated runs of the same code :( | ||
sometimes debug output disappears /o\ | |||
FROGGS | bartolin: please point to other PR's... it is easy to overlook them :o/ | ||
mvuets: aye, also masak and bartolin know pretty well the bugs they filed/reviewed :o) | 20:40 | ||
bartolin | there is only a PR for the P6 book (mostly to handle the related tickets): github.com/perl6/book/pull/82 | ||
20:41
kjs_ joined
|
|||
bartolin | *g* | 20:41 | |
FROGGS | bartolin: line 238 in that gist can be simplified: | ||
m: my @a = 1, 2; my @b = 3, 4; say @a = unshift @b, @a | |||
camelia | rakudo-moar 5f6494: OUTPUT«1 2 3 4» | ||
FROGGS | you don't need any 'unshift', right? | ||
20:42
kjs_ left
|
|||
FROGGS | m: my @a = 1, 2; my @b = 3, 4; say @a = @a, @b | 20:42 | |
camelia | rakudo-moar 5f6494: OUTPUT«1 2 3 4» | ||
FROGGS | m: my @a = 1, 2; my @b = 3, 4; @a.push: @b; say @a | ||
camelia | rakudo-moar 5f6494: OUTPUT«1 2 3 4» | ||
FROGGS | I'd prefer the latter | ||
bartolin | FROGGS: but @seq can be infinite | 20:43 | |
s/seq/seq_part/ | 20:44 | ||
FROGGS | m: my @a := 1..*; my @b = 42; @a := @a, @b | ||
camelia | ( no output ) | ||
FROGGS | m: my @b := 1..*; my @a = 42; @a := @a, @b | ||
camelia | ( no output ) | ||
FROGGS | that should do | ||
bartolin | FROGGS++ | ||
FROGGS | err, @a := (@b, @a).flat <-- better | 20:45 | |
that's almost an idiom, you find that in quite some places in the setting | |||
bartolin | that gave me something to work on, thanks again | 20:46 | |
FROGGS | :o) | ||
masak | perl6: sub f { my &b = { say "returnin'!"; return }; sub g(&c) { say "in g"; c() }; g(&b); say "still in f" }; f() | 20:50 | |
camelia | rakudo-{parrot,moar} 5f6494: OUTPUT«in greturnin'!» | ||
21:03
ggoebel111111115 left
|
|||
mvuets filed his two very first perl6 bug reports (-: | 21:04 | ||
bartolin | you're welcome ;-) | ||
21:04
pecastro left
21:05
pecastro joined,
ggoebel111111114 joined
|
|||
hoelzro | mvuets++ | 21:06 | |
jnthn works on le blog post | 21:07 | ||
mvuets | #perl6, i had this idea to share interesting perl6 sample few-liners along as i learn the language | 21:08 | |
itz | arggg systemd ate my sid | ||
mvuets | with hoelzro's boost i created a twitter account for this purpose | 21:09 | |
21:09
nige left
|
|||
PerlJam | mvuets++ | 21:09 | |
mvuets | enter twitter.com/perlhex | ||
hoelzro++ for the great handle pun name | |||
FROGGS | jnthn: for your blog or the advent calendar? | 21:10 | |
jnthn | FROGGS: Ja. | ||
masak | 'night, #perl6 | ||
FROGGS | arrgh! | ||
jnthn | Bah, there goes one of my proof readers... :P | ||
'night, masak | |||
FROGGS: Uh, for the advent calendar... :) | |||
FROGGS | jnthn: as I tend to say to my kids: replying with 'ja' to an either/or question is invalid! | ||
kthx :o) | 21:11 | ||
gnight masak | |||
jnthn | Damn, I was so proud I managed to answer it in another language, I forget the answer was meaningless. :P | ||
FROGGS | hehe | ||
mvuets | i started off with easy and trivial examples, pretending i write a tutorial for newbies (-: | ||
21:12
Mso150_a left
|
|||
mvuets | and do not want to freak out people with crazy fancy examples at once | 21:12 | |
FROGGS | yeah, don't spread line noise :o) | 21:13 | |
21:14
muraiki left
|
|||
mvuets | so, if you have any feedback (what to post, how to post, stop it altogether, etc) - very welcome | 21:14 | |
vendethiel | niice :-) | 21:15 | |
21:16
ptc_p6 joined
21:18
muraiki joined
|
|||
FROGGS | mvuets: nice examples! | 21:19 | |
21:19
alesk left
|
|||
FROGGS | though since I've got no twitter account I won't stalk^Wfollow anybody there :o) | 21:19 | |
dalek | rl6-roast-data: d8e01f6 | coke++ | / (4 files): today (automated commit) |
21:20 | |
21:22
sqirrel_ left
21:24
anaeem1 left,
anaeem1_ joined
21:25
bjz left
|
|||
perltricks | Argh Windows, why | 21:26 | |
C:\Users\dfarrell>perl6 -e ".say for 0..10" | more ??????????? | |||
moritz | does it work without | more ? | 21:28 | |
mvuets | FROGGS: thank you! | 21:29 | |
perltricks | moritz: oh yeah it works fine. more just outputs ? for every char printed. I'm trying to find a workaround for the fact that p6doc uses less, which doesn't exist on WIndows | ||
doesn't exist on cmd.exe I should say | |||
jnthn | ffs, it does that here as well | 21:30 | |
wtf. | |||
geekosaur | some kind of encoding issue? like it expects utf16 if it doesn't see the (technically illegal) byte order mark? | 21:31 | |
jnthn | Redirect to a file works. Piping it into other processes works. But more gets upset. | ||
PerlJam | perltricks: write a perl pager to use instead of less :) | 21:32 | |
21:32
kurahaupo1 joined,
ptc_p6 left
|
|||
moritz | call it "pess" | 21:33 | |
21:34
colomon joined
|
|||
perltricks | hmm | 21:35 | |
mvuets | perltricks: try gnuwin32.sourceforge.net/packages/less.htm - it's a native port, not as heavy as cygwin | ||
perltricks | if you do: chcp 65001 | 21:36 | |
then try piping into more, you'll see a P6 error msg | |||
Not enough memory. Failed to write string to stream: broken pipe in method print at src/gen/m-CORE.setting:14845 in sub say at src/gen/m-CORE.setting:15179 in method say at src/gen/m-CORE.setting:1136 in block <unit> at -e:1 | 21:37 | ||
mvuets | perltricks: also if you use git for windows, iirc it comes with mingw which should have less as well | ||
(that's in case you want to workaround a problem) | |||
perltricks | mvuets: thanks, but I'm wondering about how to fix this in p6doc | 21:38 | |
dalek | c: 69e0292 | moritz++ | sync: sync also to new community server |
||
21:38
colomon left
21:40
anaeem1_ left,
anaeem1_ joined
|
|||
moritz | that's it for today, TTFN folks | 21:40 | |
21:40
anaeem1_ left,
colomon joined
21:41
anaeem1_ joined,
anaeem1_ left
21:42
kjs_ joined
21:45
mvuets left
21:51
kjs_ left
21:52
kurahaupo1 left
21:53
kaare_ left
21:55
carlin joined
22:02
nige joined
|
|||
lizmat | FROGGS hoelzro: "het heeft uitgewerkt" is a literal translation and not correct | 22:04 | |
I would say "alles is op zijn pootjes terecht gekomen" | |||
literally translates to: "everything landed on its feet" | 22:05 | ||
FROGGS | lizmat: thanks! :D | ||
in the end I just wrote "Dat werkte!" | 22:06 | ||
lizmat | that would mean more "it worked" instead of "it worked out" | ||
*that | 22:07 | ||
FROGGS | well, he fixed something, so that's all right I think | ||
lizmat | ah, then "dat werkte" would be better | 22:08 | |
22:10
Rounin joined,
telex left
|
|||
bartolin | FROGGS: I'm now testing an improved version (IMHO) of my PR locally. if it runs fine, I'll commit it to my repository and leave you a note (probably tomorrow). or should I better close the existing PR and create a new one? | 22:11 | |
FROGGS | bartolin: just push to your nom branch, and it will show up in the existing PR | ||
bartolin | FROGGS: great | 22:12 | |
22:12
telex joined
22:14
colomon left
|
|||
hoelzro | I know, I was trying to make a bad joke =) | 22:14 | |
of all of the things I learned living among the Dutch, the language was not one of them | 22:15 | ||
lizmat | I wonder how many Dutch people you've actually seen while you where in Amsterdam :-) | 22:16 | |
tony-o | timotimo: pipelining is working for http async, doing some testing on it prior to uploading | ||
hoelzro | lizmat: good point =) | ||
22:17
xinming_ left,
xinming joined
|
|||
lizmat | m: role A { has $.a; submethod BUILD(:$!a) {}}; class B does A {}; B.new # this feels weird | 22:18 | |
camelia | rakudo-moar 5f6494: OUTPUT«P6opaque: no such attribute '$!a' in submethod BUILD at /tmp/oXV5w_hmGw:1 in method BUILDALL at src/gen/m-CORE.setting:961 in method bless at src/gen/m-CORE.setting:944 in method new at src/gen/m-CORE.setting:928 in block <unit> at /tmp…» | ||
lizmat | so I can't have a submethod BUILD in a role ? | 22:19 | |
jnthn | lizmat: What happens if you assign the attr in the method body and take a normal programer? | ||
wtf | |||
a normal PARAMETER | |||
FROGGS | take that bloody normal programmer! :P | 22:20 | |
lizmat | jnthn: works ok then | ||
ok, that will do as a workaround then | |||
22:20
kurahaupo1 joined
|
|||
jnthn | Pleaes file it | 22:21 | |
lizmat | will do | ||
jnthn | it's either a generic instantiatoin bug or, more likely perhaps, a bug in the signature bind lowering optimization tht makes it mis-handle the genericity. | ||
lizmat | --optimize=0 gives same result | 22:23 | |
jnthn | Yeah, but it's actually done in actions phase, not optimizer phase. | 22:24 | |
lizmat | disabling spesh also doesn't change the result (not that I expected that, but as a data point) | ||
jnthn | m: role A { has $.a; submethod BUILD(:$!a, @a? is copy) {}}; class B does A {}; B.new | ||
camelia | rakudo-moar 5f6494: OUTPUT«===SORRY!=== Error while compiling /tmp/ncybyPYRO3Cannot put optional positional parameter @a after variadic parametersat /tmp/ncybyPYRO3:1------> s $.a; submethod BUILD(:$!a, @a? is copy⏏) {}}; class B does A {}…» | ||
jnthn | ah | ||
m: role A { has $.a; submethod BUILD(@a? is copy, :$!a) {}}; class B does A {}; B.new | |||
camelia | ( no output ) | ||
jnthn | Yeah, it's in the bind lowering. | 22:25 | |
(I know bind lowering can't handle @a is copy, so I use it to force it to bail). | |||
22:25
nige left
|
|||
lizmat does not know what you mean with "bind lowering" | 22:26 | ||
jnthn | lizmat: Signature binding naively goes through a bunch of code that interprets the signature. | ||
lizmat: Bind lowering "compiles" signatures that are simple enough (which is the majority thta show up in real code) | 22:27 | ||
22:27
perltricks left
|
|||
jnthn | And the bug is in that bit of compilation, somewhere around the code that handles attributive parameters. | 22:27 | |
dalek | kudo/newio: 37b37fd | jonathan++ | tools/build/NQP_REVISION: NQP bump to get MoarVM with callbacks changes. |
||
kudo/newio: c91a583 | (Geoffrey Broadwell)++ | src/core/Temporal.pm: Loosen Date.new(DateTime) to Date.new(Dateish) to simplify subclasses |
|||
kudo/newio: c9eecf9 | (Elizabeth Mattijsen)++ | / (2 files): Merge branch 'nom' into newio |
|||
kudo/newio: 21aee6b | (Elizabeth Mattijsen)++ | src/core/IO/Locally.pm: Workaround for #123407 |
|||
synopsebot | Link: rt.perl.org/rt3//Public/Bug/Displa...?id=123407 | ||
22:28
denis_boyun joined,
kurahaupo is now known as kurahaupo_,
kurahaupo1 is now known as kurahaupo
22:30
ronin left,
denis_boyun left
22:32
denis_boyun joined
|
|||
tony-o | btyler: can you do a test for me on a branch of http-async ? | 22:33 | |
22:33
vti left
22:34
denis_boyun left
22:36
denis_boyun joined
|
|||
tony-o | btyler: looking at keep-alive on this branch: github.com/tony-o/perl6-http-serve.../keepalive | 22:36 | |
22:38
colomon joined
|
|||
lizmat | mvuets: re paste.scsys.co.uk/451709, I don't have any problem opening files from a symlink | 22:39 | |
perhaps it's really an access right issue ? | 22:40 | ||
gnight, #perl6! | 22:43 | ||
bartolin | o/ | ||
hoelzro | lizmat: did you see the bit about the symlink having a relative vs absolute path? | 22:44 | |
lizmat | no, but relative/absolute: I can still open a file from a symlink | 22:45 | |
(on OS X, that is) | |||
real sleep& | |||
hoelzro | ah ha, maybe it's a Linux issue, then | 22:49 | |
22:49
rurban left
|
|||
tony-o | should that bit interpret ~/ as %*ENV<HOME>/ on linux/osx ? | 22:50 | |
or whatever the proper environment variable is ^^ | |||
22:50
atroxaper joined,
brrt joined
|
|||
geekosaur | um. it's somewhat unusual for programs other than shells to handle ~ | 22:52 | |
psch | jnthn: how do i handle getting arrays from java? allocate a VMArrayInstance and push the values in there after boxing? | ||
jnthn: another thing i discovered not working is returning objects instantiated in java, test case is a new instance of the class i imported | 22:53 | ||
that class should already exist but maybe i'm not finding the right STable..? (this stuff is rather complicated i feel...) | |||
jnthn | psch: Yes, though see Ops.list or so to see how it's typically done... | ||
22:54
kurahaupo left
22:55
atroxaper left
|
|||
psch | ah, RakOps.p6list it is i guess, thanks jnthn++ | 22:56 | |
tony-o | jnthn: keep-alive seems to be working for http-async, seems like it causes moar to segfault sooner than it used to | 23:03 | |
23:05
brrt left
23:06
FROGGS left
|
|||
jnthn | tony-o: Yeah. My tuit supply has continued to suck. :( It's likely to improve somewhat in the next days, quite a bit in a couple of weeks, and perhaps very drastically in a few months. :) | 23:09 | |
I didn't forget I need to look at it, it's just digging into such things tends to be a many-hour bug hunt. | 23:10 | ||
23:10
virtualsue left
23:13
Isp-sec left
23:24
kurahaupo joined
23:25
treehug88 left
23:28
denis_boyun left
23:31
araujo left
23:37
oetiker left
23:38
smls left
23:39
beastd left
23:40
aborazmeh joined
23:42
kurahaupo left
23:43
oetiker joined
23:58
kurahaupo_ left
|
|||
dalek | c: fface4e | smls++ | lib/ (11 files): Refactor and expand sets/bags/mixes docs The class docs now have their own .pod files in the Type/ folder (like all other classes). The Sets_Bags_and_Mixes language page is renamed to setbagmix to fit in with the usual naming scheme. All related .pod's are now also more fleshed out. |
23:59 |