»ö« 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. |
|||
Mouq | Oh, so the :{…} is an adverb to the postcircumfix…? | 00:03 | |
timotimo | maybe | ||
this section isn't worded clearly enough for me :) | 00:04 | ||
for all those who don't follow #moarvm: jnthn has been doing cool stuff for MVM's bytecode specializer to allow it to take advantage of knowledge of types for method and sub calls | |||
this is an optimization that will benefit rakudo more than nqp, the previous optimizations were most noticable on nqp, i feel | 00:05 | ||
Mouq | Although I'm not sure `when not /^\./` is valid… | ||
00:05
rurban joined
|
|||
Mouq | I think just `:{ not m/^\./ }` would make more sense | 00:06 | |
timotimo | i'm not sure about that either | ||
lue | r: my @a; say [&&] @a; # can't say I totally agree with this... | 00:07 | |
Mouq | m: 1 + 1 :{ 1 } | ||
camelia | rakudo-parrot c2cc4f, rakudo-jvm c2cc4f, rakudo-moar c2cc4f: OUTPUT«True» | ||
rakudo-moar c2cc4f: OUTPUT«===SORRY!===Cannot find method 'has_compile_time_value'» | |||
timotimo | so which synopsis was i looking at again ... | 00:08 | |
Mouq | n: 1 + 1 :{ 1 } | ||
camelia | niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Cannot call infix:<+>; none of these signatures match: Any, Any  at /tmp/Tu6dY9XCSS line 1 (mainline @ 3)  at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @ 3)  at /home/p6eval/niecza/lib/CORE.setti…» | ||
Mouq | std: 1 + 1 :{ 1 } | ||
camelia | std e347792: OUTPUT«ok 00:01 124m» | ||
timotimo | 16b83354 S02.pod (lwall 2008-11-27 07:46:29 +0000 3735) This just naturally falls out from the preceding rules because the | 00:09 | |
this line is OLD :) | |||
00:10
rurban left
|
|||
Mouq | n: sub infix:<+> (*@a, *%h) { say @a; say %h }; 1 + 1 :{ 1 } | 00:10 | |
camelia | niecza v24-109-g48a8de3: OUTPUT«1 1{"" => { ... }}» | ||
timotimo | slight amendments have happened to that text in 2010 | ||
Mouq | n: sub infix:<+> (*@a, *%h) { say @a; say %h }; 1 + 1 :{ 1 }:b | ||
camelia | niecza v24-109-g48a8de3: OUTPUT«1 1{"" => { ... }, "b" => Bool::True}» | ||
timotimo | maybe mister wall would like to give this another glance | ||
ah, so :{...} is really just sugar for "" => {...} | 00:11 | ||
at least that piece of the mystery is explained | |||
Mouq | p6: say (:{ 1 + 1}).WHAT | ||
camelia | niecza v24-109-g48a8de3: OUTPUT«(Pair)» | ||
..rakudo-parrot c2cc4f, rakudo-jvm c2cc4f, rakudo-moar c2cc4f: OUTPUT«(Block)» | |||
Mouq | ^^ :/ | ||
timotimo | er, huh. | 00:12 | |
r: say (:{ 1 + 1 }).perl | |||
camelia | rakudo-parrot c2cc4f, rakudo-jvm c2cc4f, rakudo-moar c2cc4f: OUTPUT«Block.new()» | ||
Mouq | p6: say (:[1, 1]).WHAT | ||
timotimo | this surprises me. | ||
camelia | rakudo-parrot c2cc4f, rakudo-jvm c2cc4f, rakudo-moar c2cc4f: OUTPUT«(Array)» | ||
..niecza v24-109-g48a8de3: OUTPUT«(Pair)» | |||
Mouq | I think Rakudo is just wrong | ||
p6: say (:a[1, 1]).WHAT | |||
camelia | rakudo-parrot c2cc4f, rakudo-jvm c2cc4f, rakudo-moar c2cc4f, niecza v24-109-g48a8de3: OUTPUT«(Pair)» | ||
Mouq | But maybe I am | ||
timotimo | :foo[ ... ] was new to me | 00:13 | |
=time make -j4 m-install 91,26s user 0,76s system 115% cpu 1:19,79 total | 00:20 | ||
00:22
kurahaupo left
|
|||
timotimo | =time make -j4 m-install 94,07s user 0,68s system 115% cpu 1:22,23 total | 00:23 | |
first one with spesh, second one without | |||
without spesh peaked at 10 megabytes less maxrss | 00:24 | ||
(this is a clean rakudo build) | |||
Mouq | woo! | 00:25 | |
Mouq has to go | |||
o/ #perl6 | |||
00:25
Mouq left
|
|||
timotimo | when NQP's optimizer stops being utterly scared of regexes, it should be even better | 00:26 | |
colomon | m: say 2**256t | 00:37 | |
camelia | rakudo-moar c2cc4f: OUTPUT«===SORRY!=== Error while compiling /tmp/CF_1dYxy8sConfusedat /tmp/CF_1dYxy8s:1------> say 2**256⏏t expecting any of: whitespace» | ||
colomon | m: say 2**256 | ||
camelia | rakudo-moar c2cc4f: OUTPUT«115792089237316195423570985008687907853269984665640564039457584007913129639936» | ||
TimToady | orelse was not intended to imply a 'try' on the left side | 00:55 | |
just check for undefined | |||
timotimo | oh? | ||
then what does "exception semantics" mean? :) | |||
TimToady | otherwise we impose mandatory try overhead on everything | ||
timotimo | good to know | ||
so the tests need fixed | 00:56 | ||
TimToady | where does it say 'exception semantics'? | ||
timotimo | perl6.org/compilers/features#footnote_7 | ||
TimToady | that's...not the spec :) | ||
anyway, the original intent was that you use explicit try if that's what you want | 00:57 | ||
timotimo | that does sound acceptable | ||
TimToady | now if try has no overhead, we could rethink that | ||
but I'd like my compilers to be fast | |||
timotimo | so ... the only difference between orelse and // is that if the right side is a block it gets all arguments set to the previous value and if it's not a block, it'll get $! bound in its scope? | ||
TimToady | and andthen/orelse are what I wished I had when emitting P5 code for viv | 00:58 | |
00:58
hoverboard joined
|
|||
TimToady | yes, it's the retopicalization that is desirable | 00:59 | |
timotimo | good | ||
TimToady | if you look at the output of viv, STD.pm5, you'll see bazillions of assignments and redefinitions of $C | 01:01 | |
it would be lovely to be able to feed those cursors through as the current topic, and that's basically what andthen does | 01:02 | ||
timotimo | mhm | 01:06 | |
andthen seems already implemented correctly to my eyes | |||
01:06
rurban joined
|
|||
TimToady | but viv doesn't use exceptions (except to do a 'cut' on large backtracking occasionally) | 01:08 | |
timotimo | and viv is still dramatically fast at what it does, isn't it? :P | ||
TimToady | for having been implemented in P5, yes :) | ||
nobody ever tried to write a Perl compiler in Perl before... | 01:09 | ||
let alone a Perl 6 compiler :) | |||
well, there's PPI, but that's not close to a complete parser even | 01:11 | ||
01:11
baest left,
rurban left
|
|||
TimToady | .oO(reading a large backlog based on a false premise is not my favorite thing to do...) |
01:13 | |
timotimo | i'm sorry about that. it's probably in big part my fault :| | 01:14 | |
i blame the person who wrote the annotation to the features comparison | |||
TimToady | well, I just wish I'd specced it better | ||
or noticed the footnote :) | |||
woulda saved you some work | 01:15 | ||
01:16
baest joined
|
|||
timotimo | ah well | 01:17 | |
TimToady | n: say "[aaaaa]" ~~ / '[' ~ ']' .+? / | 01:18 | |
camelia | niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Unable to parse anonymous regexCouldn't find final ']'; gave up at /home/p6eval/niecza/lib/CORE.setting line 1536 (die @ 5)  at /home/p6eval/niecza/lib/CORE.setting line 2962 (Cursor.FAILGOAL @ 6)  at /tmp/pY59YxmYv…» | ||
TimToady | n: say "[aaaaa]" ~~ / '[' ~ ']' <-[ \] ]>+? / | 01:19 | |
camelia | niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Unable to parse anonymous regexCouldn't find final ']'; gave up at /home/p6eval/niecza/lib/CORE.setting line 1536 (die @ 5)  at /home/p6eval/niecza/lib/CORE.setting line 2962 (Cursor.FAILGOAL @ 6)  at /tmp/2nY_9EgA9…» | ||
TimToady | n: say "[aaaaa]" ~~ / '[' ~ ']' [.+?] / | ||
camelia | niecza v24-109-g48a8de3: OUTPUT«Unhandled exception: Unable to parse anonymous regexCouldn't find final ']'; gave up at /home/p6eval/niecza/lib/CORE.setting line 1536 (die @ 5)  at /home/p6eval/niecza/lib/CORE.setting line 2962 (Cursor.FAILGOAL @ 6)  at /tmp/vMqjv9Mab…» | ||
TimToady | hmm | ||
n: say "[aaaaa]" ~~ / '[' ~ ']' a* / | 01:20 | ||
camelia | niecza v24-109-g48a8de3: OUTPUT«「[aaaaa]」» | ||
01:21
baest left
|
|||
TimToady | n: say "[aaaaa]" ~~ / '[' ~ ']' [<!before ']'> .]+ / | 01:23 | |
camelia | niecza v24-109-g48a8de3: OUTPUT«「[aaaaa]」» | ||
TimToady | dunno what was teh matter with my neg cclass | ||
01:28
baest joined,
baest left
01:31
klapperl joined
|
|||
TimToady | I would like to see a use case for confusing the Promise type with the Channel type before we proceed further with confusing them | 01:32 | |
I think jnthn++'s proposal of allowing a Promise to be coerced to a Channel is much simpler | 01:33 | ||
wandering & | |||
01:34
klapperl_ left
01:44
ilbot3 left
01:46
ilbot3 joined
01:47
baest joined
02:04
rurban joined
02:06
rurban left
|
|||
timotimo | m: say $*PERL | 02:16 | |
camelia | rakudo-moar c2cc4f: OUTPUT«("name" => "rakudo", "compiler" => {"name" => "rakudo", "ver" => "2014.03.01-72-gc2cc4fd", "release-number" => "", "build-date" => "2014-04-05T20:17:24Z", "codename" => ""}).hash» | ||
02:27
xragnar_ joined,
xragnar is now known as Guest92520,
xragnar_ is now known as xragnar
02:31
Guest92520 left
|
|||
lue | That's awfully Associative for a Scalar :) | 02:39 | |
02:43
robinsmidsrod left
02:48
WJB left
02:54
robinsmidsrod joined
03:17
rurban joined
|
|||
[Coke] wants .WAT to be an alias to .WHAT | 03:33 | ||
lue | [Coke]: WAT feels like a thing you call when you demand answers from the compiler. try { 1 == 1; CATCH { WAT } } | 03:35 | |
03:43
rurban left
04:00
plobsing joined
04:04
SamuraiJack__ joined
04:11
rurban joined
04:26
kaare_ joined
04:30
Psyche^_ joined,
BenGoldberg left
04:34
Psyche^ left
04:42
kurahaupo joined
04:47
molaf_ joined
04:48
molaf left
05:03
rurban left
05:19
rurban joined
05:29
xinming_ left
05:31
xinming_ joined
05:45
rurban left
06:06
hoverboard left,
water joined,
water is now known as hoverboard
06:07
hoverboard left
06:11
aborazmeh joined
06:38
darutoko joined
06:40
xinming_ left,
xinming_ joined
06:44
baest_ joined
|
|||
moritz | lue: WAT feels like an alias to WHY (access to documentation) for me | 06:45 | |
06:46
xinming_ left,
baest left,
rurban joined
06:47
xinming_ joined
06:51
rurban left
06:56
baest_ left,
baest joined
06:58
kaare_ left,
kaare_ joined
07:00
baest left
07:01
baest joined
07:05
MikeFair joined
07:15
baest left
07:18
baest joined
|
|||
lizmat | good *, #perl6! | 07:47 | |
07:47
rurban joined
|
|||
lizmat | TimToady: if we coerce a Promise to a Channel, when will the Channel be closed? After executing .result? Or manually ? | 07:48 | |
and how would we know the difference between a real Channel and a Promise coerced to a Channel? | |||
if we would need to close the Channel "manually" | 07:49 | ||
breakfast& | |||
07:52
rurban left
07:57
baest left
08:00
kaare__ joined,
kaare_ left
08:05
Alula left
08:07
Alula joined,
denis_boyun_ joined
08:09
baest joined
08:12
baest left
08:20
MikeFair left
08:21
ggherdov_ left,
ggherdov_ joined,
ggherdov_ left,
ggherdov_ joined
08:24
baest joined
08:36
FROGGS[mobile] joined
|
|||
tadzik | hello #perl6 | 09:00 | |
lizmat | tadzik o/ | ||
09:01
rurban joined
09:04
btyler left
09:05
dmol joined
09:06
rurban left
09:07
baest left
|
|||
dalek | nda: 3be5bd5 | (Andrew Egeler)++ | lib/Panda/Builder.pm: Remove old Build class when using Build.pm If two packages with Build.pm files were installed during the same panda run (example: "panda install MIME::Base64 Auth::PAM::Simple"), the second and subsequent packages would all fail to build, as the Build class already existed when the Build.pm file attempted to create it. |
09:08 | |
nda: b24c561 | tadzik++ | lib/Panda/Builder.pm: Merge pull request #75 from retupmoca/master Remove old Build class when using Build.pm |
|||
09:10
spider-mario joined
09:12
baest joined
|
|||
dalek | nda: 99da3b3 | (Andrew Egeler)++ | / (2 files): Read from all state files we can find Not just the first writable one we find. This (for example) allows a (root) install of perl6+panda into /usr/local; along with some modules such as URI and MIME::Base64. A user can then run 'panda install LWP::Simple' and will not need to reinstall URI and MIME::Base64, because panda will now see the modules installed in /usr/local |
09:22 | |
nda: 73c2ade | (Andrew Egeler)++ | bin/panda: Don't read extra statefiles if doing site install This could cause problems if there were modules installed in /root/.perl6 for example. If we're doing a site install, all dependents need to be in site as well. |
|||
nda: c19fb6b | tadzik++ | / (2 files): Merge pull request #76 from retupmoca/multistate Read from all state files we can find |
|||
jnthn | m: my $ansprom = start { 42 }; sub p2c($p) { my $c = Channel.new; $p.then({ $p.status == Kept ?? $c.send($p.result) !! $c.fail($p.excuse) }); $c }; my $ansc = p2c($ansprom); say $c.receive | 09:31 | |
camelia | rakudo-moar c2cc4f: OUTPUT«===SORRY!=== Error while compiling /tmp/r0vWXjwti5Variable '$c' is not declaredat /tmp/r0vWXjwti5:1------> my $ansc = p2c($ansprom); say $c.receive⏏<EOL> expecting any of: method arguments» | ||
jnthn | m: my $ansprom = start { 42 }; sub p2c($p) { my $c = Channel.new; $p.then({ $p.status == Kept ?? $c.send($p.result) !! $c.fail($p.excuse) }); $c }; my $ansc = p2c($ansprom); say $ansc.receive | ||
camelia | rakudo-moar c2cc4f: OUTPUT«(signal ABRT)42» | ||
jnthn | lizmat: ^^ | ||
TimToady, lizmat: In the early days of the promise/channel work, there was no more/done. Instead, you did select on a "completed" promise exposed by the channel. And there was no array form. | 09:33 | ||
FROGGS[mobile] | "in the early days"... wow, how time flies *g* | 09:36 | |
lizmat | hehe | ||
it seems to me to be a lot of overhead to turn a Promise into a Channel | 09:38 | ||
jnthn | I don't think it's too bad. | 09:40 | |
And I don't know it'll be an especially common thing. | |||
Oh, it should $c.close in the kept path there too. | |||
Thing is that promises complete asynchronously, and channels are things you wait for a value from synchronously. | 09:41 | ||
Those boundaries are always tricky. | |||
lizmat | indeed | 09:42 | |
but you may not always wait for values on channels synchronously | |||
in any case, I'm removing Redeem from the spec now | 09:44 | ||
if we would have anything like that, it would be orthogonal to the status of the Promise | |||
09:48
baest_ joined
|
|||
dalek | ecs: 4134f88 | (Elizabeth Mattijsen)++ | S17-concurrency.pod: Remove Redeemed/.redeem |
09:49 | |
09:50
baest left
|
|||
lizmat | so now we need to keep state outside of the outcome :-( | 09:51 | |
09:58
baest_ left
09:59
baest joined
10:02
rurban joined
10:06
rurban left
10:08
SamuraiJack__ left
10:17
baest left
10:18
denis_boyun_ left
10:20
denis_boyun joined
10:22
baest joined
10:34
xinming_ left
10:36
xinming_ joined,
plobsing left
10:46
xinming_ left
10:47
xinming_ joined
10:48
baest left
10:51
xinming_ left
10:53
xinming_ joined
10:55
baest joined
10:58
xinming_ left,
ggoebel11119 left
10:59
xinming_ joined
|
|||
timotimo | o/ | 11:00 | |
11:03
xinming_ left
11:04
xinming_ joined
11:05
baest left,
baest joined
11:10
xinming_ left
11:11
xinming_ joined
11:12
SamuraiJack__ joined
11:19
xinming_ left
11:21
xinming_ joined
11:30
baest_ joined
11:32
baest left
11:36
baest_ left
11:41
baest joined
11:49
baest left
12:03
rurban joined
|
|||
dalek | kudo/nom: f6e6650 | jnthn++ | src/core/Int.pm: Optimize -- and ++ to not box a fresh 1 each time. Just use the one from the constant pool. |
12:04 | |
12:05
fsfwe joined
12:06
fsfwe left
|
|||
timotimo | ooooh | 12:07 | |
12:08
rurban left
12:13
kurahaupo left
|
|||
vendethiel | r: my $i; say ++$i; # was that implemented not-so-long ago ? | 12:15 | |
camelia | rakudo-parrot c2cc4f, rakudo-jvm c2cc4f, rakudo-moar c2cc4f: OUTPUT«1» | ||
vendethiel | because most of the perl6 code I see uses x =x +1 | ||
timotimo | native ints can't do it yet | ||
that would be why | |||
vendethiel | r: my int $i; say ++$i; # was that implemented not-so-long ago ? | 12:16 | |
camelia | rakudo-jvm c2cc4f: OUTPUT«Cannot modify an immutable value in sub prefix:<++> at gen/jvm/CORE.setting:4430 in sub prefix:<++> at gen/jvm/CORE.setting:1779 in block at /tmp/tmpfile:1» | ||
..rakudo-parrot c2cc4f: OUTPUT«Cannot modify an immutable value in sub prefix:<++> at gen/parrot/CORE.setting:4434 in sub prefix:<++> at gen/parrot/CORE.setting:1783 in block at /tmp/tmpfile:1» | |||
..rakudo-moar c2cc4f: OUTPUT«No such method 'STORE' for invocant of type 'Int' in sub prefix:<++> at src/gen/m-CORE.setting:4430 in sub prefix:<++> at src/gen/m-CORE.setting:1779 in block at /tmp/tmpfile:1» | |||
vendethiel | fair enough | ||
timotimo | it has not been implemented :) | ||
12:22
baest joined
12:24
xinming_ left
|
|||
jnthn | No, it's not done. | 12:29 | |
12:30
xinming_ joined
12:35
colomon left
12:41
zakharyas joined
12:45
xinming_ left
12:46
xinming_ joined,
rurban joined
13:02
xinming_ left
13:03
pippo joined
13:04
xinming_ joined
|
|||
pippo | m: say "[aaaa], [aa]" ~~ / ['[' ~ ']' <-[\]]>+]+ % ',' /; | 13:05 | |
camelia | rakudo-moar f6e665: OUTPUT«「[aaaa]」» | ||
timotimo | pippo: if you want to match both groups of aas in brackets, the + % needs to group around the whole thing i believe | 13:07 | |
er | |||
it does | |||
sorry | |||
you probably need to enable sigspace fo rthat to work or use ', ' | |||
pippo | m: say "[aa], [aa]" ~~ / ['[' ~ ']' <-[\]]>+]+ % ', ' /; | 13:13 | |
camelia | rakudo-moar f6e665: OUTPUT«「[aa], [aa]」» | ||
pippo | m: say "[aa], [aaaaa]" ~~ / ['[' ~ ']' <-[\]]>+]+ % ', ' /; | ||
camelia | rakudo-moar f6e665: OUTPUT«「[aa], [aaaaa]」» | ||
pippo | Yep! Thank you timotimo! | ||
timotimo | yw :) | 13:14 | |
13:22
xinming_ left
13:25
qiang joined
13:28
xinming_ joined
|
|||
ribasushi | where do I find the writeup on namespaces and authorities and all that | 13:29 | |
timotimo | is that for packaging and stuff? | 13:30 | |
timotimo not actually sure | |||
perlcabal.org/syn/S22.html - could what you seek be in here? probably not in S11, though | 13:32 | ||
13:33
virtualsue joined
|
|||
ribasushi | no | 13:37 | |
I meant... when you say 'use X' in perl6 land | |||
and when you need to address globals | |||
and when you need to instantiate objects of an external class not loaded by you | 13:38 | ||
how all of this fits together on the language side, packaging aside | |||
13:38
guru joined
|
|||
jnthn | Sounds like S11 | 13:38 | |
13:38
guru is now known as Guest85017
|
|||
timotimo | that does sound more like S11 than S22 | 13:39 | |
13:39
Guest85017 is now known as ajr_
|
|||
ribasushi | cheer guys, will look in S11 | 13:39 | |
13:44
zakharyas left
13:56
mtk joined
14:00
kurahaupo joined
14:01
telex left
14:02
telex joined
|
|||
JimmyZ | hmm, How does rakudo use NQP::Optimizer? | 14:05 | |
jnthn | Well, a bunch of Rakudo is written in NQP | 14:06 | |
NQP::Optimizer isn't applicable to Perl 6 code, however. | |||
It makes loads of assumptions that are safe in NQP, but not in full Perl 6. | |||
JimmyZ | Does the core.setting use nqp's lexical => local lowering? | 14:07 | |
jnthn | No, because it's Perl 6 code. | 14:08 | |
We can do lex => loc, but the analysis is a good bit harder in Perl 6. | |||
JimmyZ | Ha, I thought it does | ||
jnthn | For one, NQP has no eval, no pseudo packages, no "is context"... | ||
Also, no scalar containers. | 14:09 | ||
So it will be quite a bit more work/care to do that opt on Perl 6 code. | |||
JimmyZ | I had gotten the pain when nqp was assuming things are safe in NQP :P | 14:12 | |
jnthn | Yes, well, the point of NQP is being able to assume stuff. | 14:13 | |
And having a simpler language. | |||
JimmyZ | aye | ||
vendethiel | so there'll be a Rakudo::optimizer later :p ? | 14:14 | |
JimmyZ | There already is | ||
14:14
aborazmeh left
|
|||
jnthn | There is, it just doesn't know this opt yet | 14:16 | |
JimmyZ always thinks opt is short for option :P | 14:17 | ||
14:22
zakharyas joined
14:26
mtk left
14:27
mtk joined
14:29
spider-mario left
14:32
Alina-malina left
14:33
Alina-malina joined
14:38
Alina-malina left
14:41
Alina-malina joined
14:43
virtualsue left
14:53
Alina-malina left
14:54
Alina-malina joined
15:00
cognominal left,
cognominal__ joined
15:06
baest left
15:07
txt-file left
15:10
baest joined
15:12
fridim_ joined
15:16
qiang left
15:17
Rotwang joined
15:32
btyler joined
15:38
sftp left,
sftp joined
15:39
guru joined
15:40
guru is now known as Guest5033
15:42
ajr_ left
15:48
sftp left,
fridim_ left
15:49
sftp joined
15:52
sftp is now known as sftp_
15:55
sftp_ left
16:00
fridim_ joined
16:01
sftp joined
16:21
bjz left,
bjz joined
16:26
virtualsue joined
16:37
itz___ joined,
itz joined
16:39
hummeleB1 left
17:00
denis_boyun left
17:04
fridim_ left
|
|||
timotimo | i just casually tuned in to a random twitch channel to see the wind waker any% world record get taken by some german :) | 17:18 | |
vendethiel | timotimo: Kreygasm. Link for VoD ? | 17:20 | |
please :) | |||
timotimo | find it on koljai7's channel | 17:23 | |
17:23
itz___ left
17:25
itz_ joined
|
|||
timotimo | perl6-m ../moarvm/tools/spesh_diff.p6 settinglog.txt 1634,40s user 162,73s system 98% cpu 30:31,86 total | 17:26 | |
heh heh heh | |||
17:40
Guest5033 left
17:41
thou left
17:43
kurahaupo left,
Mouq joined,
guru joined
17:44
guru is now known as Guest74370
17:48
Guest74370 left
17:49
ajr joined,
ajr is now known as Guest1841
17:50
Guest1841 is now known as ajr_
17:56
ajr_ left
18:00
ajr_ joined
18:05
hummeleB1 joined,
xinming_ left
18:07
xinming_ joined
|
|||
Mouq realizes that Thing.new: :foobar; is equivalent to Thing.new :foobar | 18:08 | ||
timotimo | it is? o_O | 18:09 | |
hm, i guess | |||
Mouq | p6: class Foo { has $.color }; my $foo = Foo.new :color<blue>; say $foo.color | 18:10 | |
camelia | rakudo-parrot f6e665, rakudo-jvm f6e665, rakudo-moar f6e665, niecza v24-109-g48a8de3: OUTPUT«blue» | ||
Mouq | p6: class Foo { has $.color; has $.fruit; }; my $foo = Foo.new :color<blue>:fruit<star>; say $foo.color; say $foo.fruit; | 18:11 | |
camelia | rakudo-parrot f6e665, rakudo-jvm f6e665, rakudo-moar f6e665, niecza v24-109-g48a8de3: OUTPUT«bluestar» | ||
Mouq | p6: class Foo { has $.color; has $.fruit; }; my $foo = Foo.new :color<blue>,:fruit<star>; say $foo.color; say $foo.fruit; | ||
camelia | rakudo-parrot f6e665, rakudo-jvm f6e665, rakudo-moar f6e665: OUTPUT«WARNINGS:Useless use of "," in expression "my $foo = Foo.new :color<blue>,:fruit<star>" in sink context (line 1)blue(Any)» | 18:12 | |
..niecza v24-109-g48a8de3: OUTPUT«blue(Any)» | |||
Mouq | p6: class Foo { has $.color; has $.fruit; }; my $foo = Foo.new :color<blue> :fruit<star>; say $foo.color; say $foo.fruit; | ||
camelia | rakudo-parrot f6e665, rakudo-jvm f6e665, rakudo-moar f6e665, niecza v24-109-g48a8de3: OUTPUT«bluestar» | ||
18:12
PZt left
18:14
a3gis joined
18:20
plobsing joined
18:24
kurahaupo joined
18:27
hoverboard joined,
ajr_ left,
dwarring joined
18:33
sftp left,
sftp joined
18:41
a3gis left
18:44
vendethiel left
|
|||
lizmat | .oO( Foo Fruit, The Best There Is (TM) ) |
18:44 | |
.oO( Fruit Of The Foo ) |
|||
18:45
SamuraiJack joined
18:47
vendethiel joined
|
|||
moritz | .oO( Foorier Transform ) |
18:49 | |
18:49
guru joined,
SamuraiJack__ left,
guru is now known as Guest41918
18:50
Guest41918 is now known as ajr_
18:51
SamuraiJack left
19:00
beastd joined
19:05
darutoko left
|
|||
lizmat | .oO( Having a Foo Fruit Smoothie at the Foo Bar ) |
19:09 | |
19:19
a3gis joined
|
|||
dalek | ast: cc7720a | (David Warring [email@hidden.address] | integration/advent2013-day20.t: adding advent 2013 day 20 |
19:24 | |
vendethiel | r: my @a = 5; say $a; | 19:30 | |
camelia | rakudo-parrot f6e665, rakudo-jvm f6e665, rakudo-moar f6e665: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfileVariable '$a' is not declared. Did you mean '@a'?at /tmp/tmpfile:1------> my @a = 5; say $a⏏; expecting any of:…» | ||
vendethiel | r: my $a = (5); say @a; | ||
camelia | rakudo-parrot f6e665, rakudo-jvm f6e665, rakudo-moar f6e665: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfileVariable '@a' is not declared. Did you mean '$a'?at /tmp/tmpfile:1------> my $a = (5); say @a⏏; expecting any of:…» | ||
vendethiel | "@ as shortcut for @$, % as shortcut for %$" for what ? | ||
19:32
kurahaupo left
|
|||
jnthn | vendethiel: I *think* if that's recent it refers to match object access | 19:33 | |
@<foo> | |||
vendethiel | makes sense, yes | ||
timotimo | i've tried to $filehandler.print: "text to put into the file"; d'oh | 19:34 | |
19:34
a3gis left
|
|||
timotimo | i'm confused | 19:36 | |
Mouq | vendethiel: Original description: github.com/rakudo/rakudo/commit/456f3aa9b | ||
That got distorted | |||
vendethiel | thanks Mouq. Didn't grasp it from the rakudo star posts | 19:37 | |
dalek | kudo/nom: eb85757 | (Elizabeth Mattijsen)++ | t/spectest.data: Add advent2013-20 tests to roast |
||
19:38
hoverboard left
|
|||
lizmat | dwarring++ | 19:39 | |
timotimo | dwarring++ | 19:44 | |
20:03
Rotwang left
20:05
denis_boyun_ joined
20:08
zakharyas left
|
|||
dwarring Perl 6 addict :-) | 20:11 | ||
20:12
kaare__ left
20:15
hummeleB1 left
20:24
thou joined
20:26
hoverboard joined
20:29
vendethiel left,
vendethiel joined
|
|||
vendethiel | `panda -h` gives me full path for `panda` with double-escaped `\` every line | 20:31 | |
20:34
thou left
|
|||
timotimo | why woul dthere be \ in the path? | 20:35 | |
20:35
molaf_ left
|
|||
geekosaur | windows? | 20:37 | |
vendethiel | yes | ||
also, `panda search` exits with "no icu lib loaded" | 20:38 | ||
timotimo | ah, that's panda then | ||
er | |||
parrot | |||
20:39
lizmat_ joined,
cognominal joined,
Quom joined,
btyler_ joined
20:41
denis_boyun__ joined
20:42
sftp_ joined
20:43
masak_ joined,
itz__ joined
20:44
pecastro_ joined,
Psyche^ joined
20:45
yeltzooo3 joined
|
|||
dalek | ecs: 6e8b79e | (Elizabeth Mattijsen)++ | S17-concurrency.pod: Move introduction of outcome {} after Channel The way it was, we're starting to discuss Channels in the context of outcome before we specced what a Channel is. |
20:46 | |
20:48
Yappo__________8 left,
lizmat left,
yeltzooo left,
masak left,
denis_boyun_ left,
Mouq left,
itz_ left,
sftp left,
btyler left,
cognominal__ left,
mtk left,
Psyche^_ left,
pecastro left,
salv0 left,
yeltzooo3 is now known as yeltzooo,
lizmat_ is now known as lizmat
20:54
ajr_ left
20:55
mtk joined,
a3gis joined,
salv0 joined
20:58
Yappo__________8 joined
21:03
pecastro_ is now known as pecastro
|
|||
dalek | ecs: c4db4e1 | (Elizabeth Mattijsen)++ | S17-concurrency.pod: Remove mention of outcome in Channel spec It is mentioned in the "outcome" spec, so premature here. |
21:08 | |
21:10
Timbus left
21:11
PYTHONLOVER joined
|
|||
PYTHONLOVER | why should i learn perl? | 21:12 | |
dalek | ecs: 9089b24 | (Elizabeth Mattijsen)++ | S17-concurrency.pod: Clarify that outcome takes Promises* and Channels* As in zero or more |
||
21:12
Timbus joined
|
|||
PYTHONLOVER | ? | 21:13 | |
lizmat | why should I learn Python ? | ||
PYTHONLOVER | because it's still used, and has corporate sponsors and funding | 21:14 | |
geekosaur | you are claiming that perl isn't used. interesting blindness | ||
PYTHONLOVER | name one fortune 500 who uses perl for anything | ||
Quom | PYTHONLOVER: Are you trying to imply that Perl isn't used, have corporate sponsors or funding? | ||
geekosaur | also you're picking on the wrong channel, or maybe you're just avoiding the truth | ||
can I name 500? | 21:15 | ||
lizmat decides not to feed the troll any further | |||
Quom | lizmat: Yeah | ||
lizmat | gnight #perl6! | ||
Quom | night lizmat++! | ||
PYTHONLOVER | +camelia +dalek +hugme +ilogger2 +yoleaux _sri a3gis Alina-malina Alula amkrankruleuen anocelot apejens araujo arnsholt ascent_ ashleydev atrodo atta avar avuserow awwaiid baest bcode beastd BinGOs bjz BooK bowtie_ breinbaas broquaint brother btyler_ Bucciarati Celelibi charsbar_______2 cibs ClarusCogitatio clkao cognominal cooper corecatcher cosimo - whois - query cotto crazedpsyc cxreg d0nk dagurval_ DarthGandalf daxim_ denis_bo | ||
WHY CANT I SLAP PEOPLE WITH FISH!!] | 21:16 | ||
Long live python | |||
21:16
baest left
|
|||
PYTHONLOVER | motherfuckrers | 21:16 | |
21:16
PYTHONLOVER left
|
|||
Quom | ಠ_ಠ | 21:16 | |
Alina-malina | wow | ||
what was that? | |||
21:16
baest joined
|
|||
timotimo | that was certainly successful. | 21:16 | |
lizmat | first they mock you, then they fight you, then you win | ||
Alina-malina | shithead lol | ||
tadzik | ...but...but you can slap people with fish | ||
Quom | Alina-malina: Someone making the Python community look bad | ||
lizmat | real sleep now& | 21:17 | |
Alina-malina | hehe | ||
timotimo | Alina-malina: watch the language | ||
Alina-malina | timotimo, python? | ||
timotimo | you know what i mean :) | ||
Alina-malina | hmmm | ||
timotimo | i just thought the mean word you said was kind of not nice | 21:18 | |
21:19
Timbus left
|
|||
Alina-malina | timotimo, it was for """pythonlover""" | 21:19 | |
cognominal | hating a (supposedly) dead language, what for? | 21:20 | |
timotimo | yes, but nobody deserves hate | ||
tadzik | some think it's making them look better | ||
21:20
Timbus joined
21:22
colomon joined
|
|||
Quom realizes that he can make writing "ಠ_ಠ" an alt-command with his keyboard mapper :D | 21:22 | ||
21:22
Vlavv left
|
|||
tadzik | I have ~/fatfaces for that :P | 21:22 | |
. o O ( I see plenty of new faces ) | 21:23 | ||
lue | r: my $ಠ_ಠ = 42; say $ಠ_ಠ | 21:24 | |
camelia | rakudo-parrot eb8575, rakudo-jvm eb8575, rakudo-moar eb8575: OUTPUT«42» | ||
Quom | r: say +«( :ಠ_ಠ )»+ | 21:25 | |
camelia | rakudo-parrot eb8575, rakudo-jvm eb8575, rakudo-moar eb8575: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfileTwo terms in a rowat /tmp/tmpfile:1------> say +«( :ಠ_ಠ )»+⏏<EOL> expecting any of: postfix …» | ||
Quom isn't sure why he expected »+ to work | 21:26 | ||
dwarring | r: constant ಠ_ಠ = 42; say ಠ_ಠ | ||
camelia | rakudo-parrot eb8575, rakudo-jvm eb8575, rakudo-moar eb8575: OUTPUT«42» | ||
jnthn | .u ಠ | ||
yoleaux | U+0CA0 KANNADA LETTER TTHA [Lo] (ಠ) | ||
jnthn | Hm, I thought the used latin script in kannada... :P | 21:27 | |
lue imagines ಠ_ಠ as a more disapproving version of !!! | |||
Quom | r: sub term:<ಠ_ಠ> { die "Seriously?" }; sub foo { 1 + 2 + ಠ_ಠ } | ||
camelia | ( no output ) | ||
Quom | r: sub term:<ಠ_ಠ> { die "Seriously?" }; sub foo { 1 + 2 + ಠ_ಠ }; foo | ||
camelia | rakudo-parrot eb8575, rakudo-jvm eb8575, rakudo-moar eb8575: OUTPUT«Seriously? in sub term:<ಠ_ಠ> at /tmp/tmpfile:1 in sub foo at /tmp/tmpfile:1 in block at /tmp/tmpfile:1» | 21:28 | |
Quom | Also, was playing around earlier; I'm really happy that the REPL works on MoarVM now, having only realized a few days ago! But is it known that it screws up moving the cursor when nonASCII chars are in play? | 21:30 | |
21:30
beastd left
|
|||
lue | Quom: are you sure that's not your terminal? I know mine hates anything that isn't the same width as the normal monospace width. | 21:31 | |
21:34
Vlavv joined
21:42
raiph joined
|
|||
lue | Something in rakudo's Pod parser is replacing U+10FFFB and U+10FFFC (but not U+10FFFD, strangely enough) with spaces, can't tell what's doing it yet :/ | 21:46 | |
dalek | kudo-star-daily: 4333158 | coke++ | log/ (5 files): today (automated commit) |
21:53 | |
kudo-star-daily: 580053a | coke++ | log/ (5 files): today (automated commit) |
|||
rl6-roast-data: 4d699b1 | coke++ | / (6 files): today (automated commit) |
|||
rl6-roast-data: c43c8c7 | coke++ | / (5 files): today (automated commit) |
|||
Quom | lue: Oh, hm, maybe | 21:55 | |
21:56
denis_boyun__ left
|
|||
Quom | lue: But at the very least backspace on a non-ASCII char just truncates the last byte, producing a malformed char :( | 21:58 | |
21:59
rurban left,
dwarring left
|
|||
lue | yeah, that's not good. | 22:00 | |
Quom | And I can insert characters into other characters | ||
Quom & | |||
22:06
rurban joined
22:22
hoverboard left
22:35
zos joined
22:36
zos left
22:38
rurban left
|
|||
dalek | ast: 0b5b55b | (David Warring [email@hidden.address] | integration/advent2013-day1 (2 files): fudging supply/promise/channel for parrot |
22:42 | |
22:51
bjz left,
bjz joined
23:02
pippo left
23:05
PZt joined
|
|||
dalek | ast: 825948d | (David Warring [email@hidden.address] | integration/advent2013-day15.t: jvm fudge typo |
23:07 | |
23:08
rurban joined
23:11
btyler_ left
23:14
rurban left
23:15
kurahaupo joined
23:19
bfulgham_ joined
23:20
a3gis left
23:33
dmol left
23:36
baest left
23:41
baest joined
23:59
zacts joined
|
|||
zacts | how about a perl6 + llvm compiler? | 23:59 |