»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! Set by sorear on 4 February 2011. |
|||
TimToady | perl6: "foobar".comb(/oo/).say | 00:00 | |
p6eval | rakudo cbe898, niecza v10-23-g50e0320: OUTPUT«oo» | ||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
TimToady | is probably clearer with .comb anyway | ||
soh_cah_toa | well, i was talking about how :adverbs don't seem to work | 00:01 | |
TimToady | especially since :g means very different things in p5's scalar vs list context | ||
soh_cah_toa | perl6: "foobar" ~~ m:P5/oo/ | ||
p6eval | rakudo cbe898: OUTPUT«===SORRY!===Adverb 'P5' not allowed on m at line 1, near ""» | ||
..pugs: ( no output ) | |||
..niecza v10-23-g50e0320: OUTPUT«Unhandled Exception: Autoloading NYI at /home/p6eval/niecza/boot/lib/CORE.setting line 766 (CORE die @ 2)  at /home/p6eval/niecza/src/STD.pm6 line 4608 (STD Regex.tweak @ 6)  at /home/p6eval/niecza/src/STD.pm6 line 489 (STD C191_ANON @ 2)  at /hom… | |||
soh_cah_toa | perl6: "foobar" ~~ m:r/oo/ | 00:02 | |
TimToady | perl6: say "FOOBAR" ~~ m:i/oo/ | ||
p6eval | rakudo cbe898, niecza v10-23-g50e0320: ( no output ) | ||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
rakudo cbe898: OUTPUT«=> <>» | |||
..niecza v10-23-g50e0320: OUTPUT«#<match from(1) to(3) text(OO) pos([].list) named({}.hash)>» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
TimToady | nom: say "FOOBAR" ~~ m:i/oo/ | 00:03 | |
p6eval | nom cbe898: OUTPUT«=> <>» | ||
TimToady | say what? | ||
colomon | nom: say "FOOBAR" ~~ m:/zz/ | 00:04 | |
p6eval | nom cbe898: OUTPUT«===SORRY!===Confused at line 1, near "say \"FOOBA"» | ||
colomon | nom: say "FOOBAR" ~~ m/zz/ | ||
p6eval | nom cbe898: OUTPUT«=> <>» | ||
colomon | nom: say "FOOBAR" ~~ m/OO/ | ||
p6eval | nom cbe898: OUTPUT«=> <OO>» | ||
soh_cah_toa | i guess it's just the :g and P5 adverbs | ||
TimToady | well, it's not exactly doing :i either... | 00:05 | |
nom: say "FOOBAR" ~~ m/:i oo/ | |||
p6eval | nom cbe898: OUTPUT«=> <>» | ||
soh_cah_toa | yeah, that too | ||
TimToady | nom: say "FOOBAR" ~~ /:i oo/ | ||
p6eval | nom cbe898: OUTPUT«=> <>» | ||
jnthn | ugh | ||
Guess that can be my entry point to QRegex hacking. :/ | |||
TimToady | er...have the appropriate amount of fun... | 00:06 | |
soh_cah_toa | perl6: "foobar" ~~ /<!before f> oo/ | 00:07 | |
p6eval | niecza v10-23-g50e0320: ( no output ) | ||
..rakudo cbe898: OUTPUT«Method 'before' not found for invocant of class 'Cursor' in regex <anon> at /tmp/EWvbvu_6Kd:1 in method ACCEPTS at src/gen/CORE.setting:6252 in block <anon> at /tmp/EWvbvu_6Kd:1 in <anon> at /tmp/EWvbvu_6Kd:1» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
soh_cah_toa | perl6: say "foobar" ~~ /<!before f> oo/ | ||
p6eval | rakudo cbe898: OUTPUT«Method 'before' not found for invocant of class 'Cursor' in regex <anon> at /tmp/uZYrM3dDgA:1 in method ACCEPTS at src/gen/CORE.setting:6252 in block <anon> at /tmp/uZYrM3dDgA:1 in <anon> at /tmp/uZYrM3dDgA:1» | ||
..niecza v10-23-g50e0320: OUTPUT«#<match from(1) to(3) text(oo) pos([].list) named({}.hash)>» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
jnthn | TimToady: Well, having a bus number of 1 on the regex engine is proving...painful...for Rakudo :( | ||
soh_cah_toa | perl6: say "foobar" ~~ /<!before _> oo/ | 00:09 | |
p6eval | rakudo cbe898: OUTPUT«Method 'before' not found for invocant of class 'Cursor' in regex <anon> at /tmp/rQaDsUPA7j:1 in method ACCEPTS at src/gen/CORE.setting:6252 in block <anon> at /tmp/rQaDsUPA7j:1 in <anon> at /tmp/rQaDsUPA7j:1» | ||
..niecza v10-23-g50e0320: OUTPUT«#<match from(1) to(3) text(oo) pos([].list) named({}.hash)>» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
dalek | kudo/nom: 3bc839c | jnthn++ | src/ops/perl6.ops: Make the shiftpush op a bunch more efficient when handling more than a single element. We still call it with 1 far, far too often, but this helps for the other cases. for 1..100000 { } gets 3 times faster with this patch, for example. |
||
soh_cah_toa | ng: say "foobar" ~~ /<!before _> oo/ | ||
TimToady | and just to make jnthn's day... | 00:11 | |
perl6: my $x = <a b c d>; say %$x.perl | |||
p6eval | pugs: OUTPUT«*** Cannot cast into Hash: VRef <Array:0x7f0154cbc7c9> at /tmp/FQXywA6RWY line 1, column 24 - line 2, column 1» | ||
..rakudo cbe898: OUTPUT«===SORRY!===Non-declarative sigil is missing its name at line 1, near "%$x.perl"» | |||
..niecza v10-23-g50e0320: OUTPUT«{"a" => "b", "c" => "d"}.hash» | |||
soh_cah_toa | ugh, seems like i run into every nyi feature when i need it most :( | ||
jnthn | TimToady: moritz already asked me about that one today... | 00:12 | |
TimToady | yes, why I brought it up | ||
colomon | nom: say "FOOBAR".match(/oo/, :i) | ||
p6eval | nom cbe898: OUTPUT«=> <>» | ||
TimToady | last I heard you were hoping %$x <> %($x) | ||
jnthn | TimToady: no, no | 00:13 | |
TimToady | but that's always how it's been, afaik | ||
jnthn | TimToady: moritz++ accidentally suggested @$x <> %($x) :) | ||
TimToady | mkay | ||
jnthn | Or some such :) | ||
soh_cah_toa | perl6: say "foobar".match(/oo/, :g) | 00:14 | |
p6eval | niecza v10-23-g50e0320: OUTPUT«Unhandled Exception: Excess arguments to CORE Cool.match, unused named g at /home/p6eval/niecza/lib/CORE.setting line 0 (CORE Cool.match @ 0)  at /tmp/DJ7n97nqlF line 1 (MAIN mainline @ 1)  at /home/p6eval/niecza/lib/CORE.setting line 2115 (CORE C10… | ||
..rakudo cbe898: OUTPUT«oo» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
jnthn | TimToady: %$var...is parsed by variable? | ||
soh_cah_toa | wonderful... | ||
TimToady | jnthn: yes, via desigilname | 00:15 | |
desigilname only takes off one sigil at a time | |||
and calls back to <variable> recursively if before a $ | 00:16 | ||
jnthn | ah, got it. | 00:17 | |
OK, doesn't look too hard. | 00:18 | ||
But making iteration 3 times fasters has made me kinda sleeply. So, tomorrow. :) | 00:19 | ||
*faster | |||
TimToady | (making iteration 3 time faster)++ | 00:20 | |
*times | |||
jnthn | for 1..100000 { } still seems to spend 80% of its time in memmove though o.O | ||
TimToady | let's see the karma bot figger *that* out... | ||
jnthn | oh, that's 200000...it isn't linear. | ||
Ugh. | 00:21 | ||
colomon | jnthn++ | 00:22 | |
00:43
MayDaniel left
00:50
mkramer joined
00:54
whiteknight left
00:56
Rob__ joined
00:57
mkramer left
00:58
mkramer joined
01:02
rgrau joined
01:04
mkramer left
01:05
mkramer joined
01:11
mkramer left
01:13
mkramer joined
01:23
Rob__ left
02:57
donri left
03:22
envi joined
03:28
kmwallio left
03:52
tokuhiro_ joined
03:56
poisonarms joined
03:58
espadrine left
04:00
espadrine joined
|
|||
mberends | masak++ # first macro merge | 04:00 | |
04:06
soh_cah_toa left
04:09
am0c joined
|
|||
[Coke] | I didn't see it mentioned, but thinkgeek's email newsletter name dropped Larry about his birthday. | 04:17 | |
04:29
icwiener left
|
|||
dalek | kudo/nom: 80ee09e | Coke++ | t/spectest.data: track failure modes. |
04:49 | |
04:50
risou_awy is now known as risou
04:51
cooper left
04:53
Chillance left
05:01
Limbic_Region left
05:28
cognominal___ joined
05:31
cognominal_ left
05:32
cognominal_ joined,
eternaleye joined
05:34
kaare_ joined
05:35
cognominal___ left,
cognominal___ joined
05:37
cognominal___ left,
cognominal___ joined
05:38
cognominal_ left
|
|||
mberends | rakudo: my @m = [1 xx 2] xx 3; say @m.perl; | 05:48 | |
p6eval | rakudo 80ee09: OUTPUT«Array.new(1, 1, 1, 1, 1, 1)» | ||
mberends | niecza: my @m = [1 xx 2] xx 3; say @m.perl; | ||
p6eval | niecza v10-23-g50e0320: OUTPUT«[[1, 1], [1, 1], [1, 1]].list» | ||
06:10
gbacon left
06:17
wamba joined
06:18
tokuhiro_ left
06:33
GlitchMr joined
06:35
sayu joined
06:40
beekor joined
06:45
snarkyboojum left,
snarkyboojum joined,
snarkyboojum left,
snarkyboojum joined
|
|||
mberends | rakudo: my @m; @m[2]="A"; say @m; @m[2][0]="B"; say @m; | 06:53 | |
p6eval | rakudo 80ee09: OUTPUT«Use of uninitialized value in string contextUse of uninitialized value in string context ACannot assign to a non-container in block <anon> at /tmp/Q9FjmbDJBN:1 in <anon> at /tmp/Q9FjmbDJBN:1» | ||
mberends | b: my @m; @m[2]="A"; say @m; @m[2][0]="B"; say @m; | 06:54 | |
p6eval | b 1b7dd1: OUTPUT«Any()Any()AAny()Any()B» | ||
mberends | pugs: my @m; @m[2]="A"; say @m; @m[2][0]="B"; say @m; | ||
p6eval | pugs: OUTPUT«A*** Can't modify constant item: VStr "A" at /tmp/PtSFO41ELz line 1, column 27-39» | ||
06:58
pmurias joined
07:02
risou is now known as risou_awy
07:13
GlitchMr42 joined
|
|||
moritz | good morning | 07:16 | |
TimToady: if === is supposed to autothread over junctions, does that mean you can't test Mu === Mu? | |||
07:16
GlitchMr left
|
|||
sorear | hello, moritz | 07:17 | |
moritz | hm right, S03 says so | ||
\o sorear | |||
dalek | ast: da526e3 | moritz++ | S03-operators/value_equivalence.t: remove Mu tests for === |
07:18 | |
moritz | perl6: sub f(%a = ()) { say %a.perl }; f() | 07:20 | |
p6eval | pugs: OUTPUT«{}» | ||
..niecza v10-23-g50e0320: OUTPUT«()» | |||
..rakudo 80ee09: OUTPUT«Nominal type check failed for parameter '%a'; expected Associative but got Parcel instead in sub f at /tmp/oznep0oRBh:1 in block <anon> at /tmp/oznep0oRBh:1 in <anon> at /tmp/oznep0oRBh:1» | |||
moritz | pugs++ | ||
niecza is really wrong here | 07:21 | ||
rakudo too | |||
something with the % sigil cannot hold a Parce | |||
mberends | niecza: my @m = [1 xx 2] xx 3; @m[0][0] = 2; say @m.perl # sorear: binding instead of assignment? | ||
p6eval | niecza v10-23-g50e0320: OUTPUT«[[2, 1], [2, 1], [2, 1]].list» | ||
moritz | mberends: the problem is that [] xx 3 returns the *same* array 3 times | 07:22 | |
mberends: so niecza is correct here | |||
mberends | # locally got: [[2, 1], [2, 1], [2, 1]].list expected: [[2, 1], [1, 1], [1, 1]].list | 07:24 | |
dalek | ast: 8187463 | moritz++ | S32-temporal/DateTime-Instant-Duration.t: avoid useless default value |
||
moritz | mberends: well, that test is bogus then | ||
mberends | moritz: thanks, it's only a local test, I'll rewrite my code :) | 07:27 | |
07:29
hanekomu joined
|
|||
sorear | moritz: I think rakudo is right-est here. niecza is just showing the old "no roles" | 07:30 | |
moritz: if you want my %h = () semantics, use 'is copy' | |||
sorear heads to sleep | |||
dalek | ast: 9fb628f | moritz++ | S32-temporal/DateTime-Instant-Duration.t: correct previous commit |
||
kudo/nom: a78398a | moritz++ | src/core/ (2 files): avoid assigning defaults of wrong type |
07:32 | ||
07:36
molaf joined
|
|||
Woodi | hallo | 07:41 | |
dalek | ast: fe02f96 | moritz++ | S02-types/array.t: test for RT #76676, indexing an array with a range clips to the exisiting elements |
07:42 | |
Woodi | I read yesterday such strange sentence - it says "modern Web languages" and later "Ruby" and "Python"... | ||
dalek | ast: 23dd35a | moritz++ | S03-junctions/misc.t: remove more outdated === tests |
07:43 | |
Woodi know it's about that languages libraries not core | |||
moritz | TimToady: should eqv also be limited to Any? | 07:44 | |
Woodi | so: what functionality make language "modern" for the Web ? | ||
moritz | Woodi: well, those languages gained a lot of users due to web stuff | ||
Woodi | rails, but i look for some general-but-practical definition :) | 07:45 | |
to use in Perl context :) | 07:46 | ||
mberends | Woodi: imho languages designed later than html and http would qualify as recent enough, but "modern" is a slippery term, like "new" ;) | 07:48 | |
moritz | hey, perl is even postmodern :-) | 07:49 | |
dalek | ast: 9e5e20c | moritz++ | S16-io/say.t: correct say.t, and add a test for .print |
07:55 | |
GlitchMr42 | rakudo: eval("sub perl{42}") for <perl is nice language at least for me>; print erl && language || is nice(at least for me) | 08:01 | |
p6eval | rakudo a78398: OUTPUT«===SORRY!===Non-declarative sigil is missing its name at line 1, near "&& languag"» | ||
GlitchMr42 | rakudo: eval("sub perl{42}") for <perl is nice language at least for me>; print perl && language || is nice(at least for me) | ||
p6eval | rakudo a78398: OUTPUT«===SORRY!===Non-declarative sigil is missing its name at line 1, near "&& languag"» | ||
GlitchMr42 | niecza: eval("sub perl{42}") for <perl is nice language at least for me>; print perl && language || is nice(at least for me) | ||
p6eval | niecza v10-23-g50e0320: OUTPUT«===SORRY!===Non-declarative sigil is missing its name at /tmp/oFBEGuIsXk line 1:------> e language at least for me>; print perl ⏏&& language || is nice(at least for me)Use of uninitialized value in string context … | ||
mberends | GlitchMr42: where is 'language' defined? | 08:09 | |
08:10
daniel-s joined
08:17
im2ee joined
|
|||
im2ee | Hello! :) | 08:17 | |
mberends | hello im2ee! | 08:19 | |
dalek | ecza: 2e3e4ba | (Paweł Murias)++ | / (3 files): Perl 5 methods can return a value. |
08:29 | |
08:33
MayDaniel joined
|
|||
pmurias | mberends: i get System.DllNotFoundException: gdiplus.dll when trying to run the notepad example | 08:41 | |
mberends | pmurias: I have no idea where that dependency comes from, here on Ubuntu there is no gdiplus installed :( | 08:43 | |
08:45
tokuhiro_ joined
|
|||
pmurias | mberends: turns out i had to install that when building a mono from source but i didn't | 08:49 | |
mberends | pmurias: good :) please forgive small notepad deficiencies, patches welcome | 08:51 | |
08:52
tokuhiro_ left
|
|||
Woodi | what are steps to use niecza on Linux ? assuming I have distro with good repository like Debian :) | 08:54 | |
mberends | Woodi: something like: sudo apt-get install mono-gmcs libmono-dev libmono-system2.0-cil # and maybe some others | 08:58 | |
pmurias | Woodi: then clone niecza from github | 09:00 | |
Woodi: and type make | |||
Woodi: if you encounter problems mention them on the channel | 09:01 | ||
09:09
GlitchMr42 is now known as GlitchMr
|
|||
GlitchMr | rakudo: eval"print 42" | 09:10 | |
p6eval | rakudo a78398: OUTPUT«===SORRY!===Confused at line 1, near "eval\"print"» | ||
GlitchMr | rakudo: eval "print 42" | ||
p6eval | rakudo a78398: OUTPUT«42» | ||
GlitchMr | No Perl 5 like function"arg" :). | ||
I like it :). | |||
09:11
MayDaniel left
|
|||
dalek | ecza: 7dbc457 | (Paweł Murias)++ | examples/term-ansicolor.pl: Add example which prints out "Hello Colorful World" using p5 |
09:12 | |
mberends | ooh! | ||
moritz | fwiw making === autothread breaks lots of spectests that assume you can compare type objects with === | 09:23 | |
now what should I use for asking "are those two type objects the same?" | |||
09:28
orafu left,
orafu joined
|
|||
dalek | ecza: e1988ad | (Paweł Murias)++ | / (3 files): Perl 6 string can be converted to Perl 5 strings. |
09:29 | |
ast: ac7ea9d | moritz++ | S (2 files): correct or remove tests that assume you can compare type objects with === |
09:30 | ||
09:33
cognominal joined
|
|||
mberends | pmurias: this is happening to all p5 examples locally: gist.github.com/1257273 | 09:34 | |
09:35
cognominal___ left
|
|||
dalek | kudo/nom: f7cc866 | moritz++ | src/core/ (2 files): infix === is an Any operator |
09:35 | |
kudo/nom: 3515e47 | moritz++ | src/core/ (2 files): fix Dateish.truncate-parts signature; simplify eqv |
|||
ecza: 935bc30 | (Paweł Murias)++ | / (3 files): Perl 5 code refs are invokable. |
09:41 | ||
pmurias | mberends: hmm | ||
mberends: you typed "make perl5"? | |||
mberends | pmurias: yes. now git pulled again and made perl5, same result | 09:42 | |
pmurias | no exception message at all? | 09:43 | |
just a segfault? | |||
mberends | pmurias: that's the strange thing, no message at all above the stacktrace | 09:44 | |
dalek | ecza: ee9b534 | (Paweł Murias)++ | lib/p5embed.c: Add debugging statements to p5 eval. |
09:45 | |
pmurias | meraxes: try with that | ||
mberends | pmurias: ok | ||
says # evaling code... Stacktrace: at (wrapper managed-to-native) Perl5Interpreter.EvalPerl5 | 09:47 | ||
pmurias | do you have a threading perl? | 09:48 | |
tadzik | task for today: Perl6TheBook.mobi | 09:49 | |
pmurias | tadzik: you have a kindle? | 09:50 | |
tadzik | pmurias: yep | ||
pmurias: and I have a friend who wants a .mobi too :) | |||
mberends | pmurias: yes, perl -V includes USE_ITHREADS and some Debian threads patches | ||
pmurias | mberends: you get the same error with just eval("1",:lang<perl5>)? | 09:52 | |
dalek | ast: c47bf35 | moritz++ | S05-grammar/action-stubs.t: test that make({}) sets .ast to a Hash (RT #78510) |
09:53 | |
pmurias | tadzik: what do you read on the kindle? i have one too but it seems hard to find interesting books that display correctly on that | ||
mberends | pmurias: yes, exactly the same, also initially # evaling code... | ||
pmurias: I'll install a local perlbrew, that will take a few minutes | 09:54 | ||
moritz | rakudo: class A {}; subset B of A; say A ~~ B; say B ~~ A | 09:55 | |
p6eval | rakudo a78398: OUTPUT«Bool::TrueBool::True» | ||
dalek | ecza: 9443cf8 | (Paweł Murias)++ | lib/p5embed.c: some more debugging statements |
10:03 | |
pmurias | mberends: how far does it get now? | 10:04 | |
mberends | pmurias: # initialising perl # initialised perl # evaling code <1>... Stacktrace: | 10:05 | |
pmurias: # initialising perl # initialised perl # evaling code <use Term::ANSIColor;>... Stacktrace: | 10:07 | ||
tadzik | pmurias: currently SICP, I read the Pragmatic Programmer recently, I also have a nicely-formatted Operating Systems Design and Implementation | ||
pmurias: also non-technical stuff, like HPatMoR, some good, ol' SF, The God Delusion recently | 10:08 | ||
Woodi | thanx pmurias++ :) will try | 10:10 | |
tadzik | pmurias: I'm yet to see a book in which the source code will be readable :) | 10:13 | |
dalek | ast: d7a95cb | moritz++ | S12-subset/subtypes.t: tests for RT #78748 |
10:16 | |
moritz | rakudo: say %*ENV.exists('FOO'); say %*ENV<FOO>.defined; | 10:17 | |
p6eval | rakudo 3515e4: OUTPUT«Bool::FalseBool::False» | ||
GlitchMr | rakudo: say $A.defined | 10:19 | |
p6eval | rakudo 3515e4: OUTPUT«===SORRY!===Symbol '$A' not predeclared in <anonymous> (/tmp/6S1lKBG9to:1)» | ||
GlitchMr | rakudo: eval "my \$$_" for 'A'..'Z', 'a'..'z';say $A.defined | ||
p6eval | rakudo 3515e4: OUTPUT«===SORRY!===Symbol '$A' not predeclared in <anonymous> (/tmp/wHDnHT3LR2:1)» | ||
GlitchMr | rakudo: $_='a'; say "my \$$_" | 10:20 | |
p6eval | rakudo 3515e4: OUTPUT«my $a» | ||
GlitchMr | ... | ||
Oh, I see... eval | |||
rakudo: eval "our \$$_" for 'A'..'Z', 'a'..'z';say $A.defined | |||
p6eval | rakudo 3515e4: OUTPUT«===SORRY!===Symbol '$A' not predeclared in <anonymous> (/tmp/lejP7WvQ2v:1)» | ||
10:20
GlitchMr left,
GlitchMr joined
|
|||
GlitchMr | lol I accidental part | 10:21 | |
mberends | GlitchMr: Perl 6 is always like P5's use strict 'refs'; | 10:23 | |
dalek | ast: bd97a90 | moritz++ | S02-magicals/env.t: test non-existing env variables |
10:25 | |
10:32
espadrine left,
espadrine joined
|
|||
pmurias | mberends: did you try on a newely brewed perl? | 10:39 | |
dalek | ecza: 8dbcaa8 | (Paweł Murias)++ | lib/Perl5Interpreter.cs: one more debug statement |
||
mberends | pmurias: waiting for the brew to finish. Will try this update with resident perl. | 10:40 | |
pmurias | the update won't help much | ||
mberends | yep, just the same output | 10:41 | |
10:43
risou_awy is now known as risou
|
|||
jnthn | afternoon o/ | 10:44 | |
mberends | o/ jnthn | ||
10:47
beekor left
10:51
am0c left
|
|||
dalek | ecza: bf4e20a | (Paweł Murias)++ | lib/p5embed.c: remove suspect PERL_SET_CONTEXT |
10:53 | |
pmurias | mberends: could you check with that commit, found a dubious cargo culted statement | ||
mberends | pmurias: sure | 10:54 | |
pmurias: exact same # initialising perl # initialised perl # evaling code <use Term::ANSIColor;>... Stacktrace: | 10:55 | ||
11:03
whiteknight joined
11:07
replore_ joined
|
|||
dalek | ast: 17393d0 | moritz++ | S03-operators/value_equivalence.t: wee rakudo unfudge |
11:12 | |
jnthn | Aww...just a wee one. :) | 11:19 | |
ingy | q: which is a better name for a module dealing with p6 regexes?: Foo::P6Regex Foo::P6Rules Foo::Perl6 Foo::Perl6Regexes Foo::Perl6Rulez | 11:26 | |
what's your name du jour? | 11:27 | ||
11:29
im2ee_ joined
11:30
im2ee_ left
11:33
im2ee left
11:36
Patterner left
11:39
im2ee joined
11:41
Psyche^ joined,
Psyche^ is now known as Patterner
11:51
sayu left
|
|||
dalek | p: b6f7885 | tadzik++ | VERSION: Bump VERSION, sirmacik++ for noticing |
11:52 | |
tadzik | long story short, 2011.09 release is a fail | 11:53 | |
it uses VERSION for gen-version.pl, and Rakudo recognises 2011.09 as 2011.05 | |||
my guess is that no one noticed, because everyone uses everything straight from git | 11:57 | ||
11:58
bbkr joined
|
|||
mberends | yes, no worries. As long as it's fixed for the long term. | 11:58 | |
tadzik | I'll poke the case on #phasers, I suppose nqp needs to be released as carefully as rakudo now | ||
well, "no worries", I am worried, archlinux maintainers are now going crazy trying to package rakudo | 11:59 | ||
debianeers will probably go crazy too if only they updated their repos more often than once a year :P | 12:00 | ||
Woodi | tadzik: well, I tried to write some module and best choice was to implement for Rakudo 2011.07, which is Star i think... | 12:01 | |
bleeding edge requires recompiling after every dalek++ notice :) | 12:02 | ||
flussence | (I've considered writing a script to check github's rss and do it for me...) | 12:04 | |
Woodi | but this makes problem... somethink work on Star and not on nom branch - i use deprecated feature or still broken in dev branch ?? | ||
flussence: but before compilation finishes there is new commit announced :) | 12:05 | ||
eg: | 12:07 | ||
rakudo: class A { our %h = { 'a' => 1, 'b' => 2 } } | |||
p6eval | rakudo 3515e4: OUTPUT«Method 'STORE' not found for invocant of class 'Any' in <anon> at /tmp/jMPRTnbZIN:1 in block <anon> at /tmp/jMPRTnbZIN:1 in <anon> at /tmp/jMPRTnbZIN:1» | ||
tadzik | new problem: Riga release depends on 2011.09-8-ge3d5c8b, not 2011.09 | 12:09 | |
Woodi | or it is module vs class problem ? i would like to move our variable to package level but package cannot be named with same name as class, so i need to change class name to something strange for me... | ||
tadzik | I suppose that might be my fault, which shows how we need to modify release_guide | ||
moritz | tadzik: I don't think it's a problem that riga depends on 2011.09-8-ge3d5c8b | 12:10 | |
tadzik | moritz: so which nqp does a maintainer need to install, if he doesn't use --gen-nqp? | 12:11 | |
moritz | tadzik: 2011.09-8-ge3d5c8b | ||
sirmacik | moritz: try to make its package for archlinux >.< | ||
Woodi | tadzik: it would be nice to set 'official' script for github-cloning of parrot-nqp-rakudo repositories to help packagers :) | ||
tadzik | moritz: does github allow us to download this specific release? | ||
12:11
ron__ joined
|
|||
moritz | sirmacik: not hard if you are familiar with tar and git | 12:11 | |
tadzik | Woodi: yeah, thinking about it | ||
moritz | tadzik: no, but we can make it so | 12:12 | |
tadzik | moritz: the point is that the package will be built by the user with a script written by the maintaner, and the user does not neceserilly have git | ||
it is possible to list git as a dependency, but we wanted to avoid that | |||
jnthn | I thought we tended to encourage people to package R* releases, not compiler ones? | 12:13 | |
moritz | I'll create an nqp tarball | ||
Woodi | eg: cat go.perl6.sh: git clone rakudo-repo; git clone nqp-`cat NQP_VERSION`; git clone parrot-`cat parrot_ver` | ||
jnthn | class A { our %h = { 'a' => 1, 'b' => 2 } } # some bug here. | ||
If there's not one already, an RT ticket would be good. | 12:14 | ||
Woodi | k | ||
sirmacik | jnthn: on archlinux rakudo won't build without pre-installed parrot | ||
Woodi | sirmacik: rakudo requires parrot everywhere :) | 12:15 | |
sirmacik | and --gen-nqp won't build on latest parrot from distribution repository | ||
tadzik | I'll raise the non-relocatable parrot issue on #ps this week, this has to stop | ||
even Star suffers from this burden | |||
sirmacik | that's why we're trying to buid nqp package | 12:16 | |
Woodi | tadzik: pls touch concurency subject in parrot too :) | ||
moritz | Woodi: that's a much longer path | 12:17 | |
ingy | I'll ask again.. | ||
q: which is a better name for a module dealing with p6 regexes?: Foo::P6Regex Foo::P6Rules Foo::Perl6 Foo::Perl6Regexes Foo::Perl6Rulez | |||
I don't really know what the official name is | 12:18 | ||
tadzik | Woodi: that's a matter of more than asking nicely :P | ||
moritz | github.com/perl6/nqp/downloads/ now has an nqp tarball of the correct version | 12:19 | |
I just don't know if it identifies itself correctly to rakudo's Configure.pl | |||
12:19
mauke left
12:20
dorlamm joined
|
|||
moritz | ah, I start to see the problem | 12:20 | |
tadzik: do you want to make a 2011.09.1 release or so? | |||
mberends | ingy: Foo::Perl6Regexes looks the most intuitive | ||
jnthn | ingy: Prefer "Perl 6" over "P6", I think we tend to call them rules over regexes. | ||
tadzik | moritz: of Rakudo? | ||
moritz | tadzik: if that's necessary, yes | 12:21 | |
tadzik | moritz: mebbe | ||
but what do we change in it? | |||
so a new nqp release, then a new rakudo release, targeting the fixed nqp release? | |||
ingy | I like Rules better | ||
moritz | tadzik: bump NQP_REVISION again, and note where a tarball of nqp can be found, maybe | 12:22 | |
ingy | but Regexes seemed a little more asserted in S05 | ||
moritz | tadzik: though I'm not fully here mentally... | ||
tadzik | me neither | ||
moritz | ingy: the advantage of 'regexes' is that people know what we mean | 12:23 | |
ingy | moritz: kinda, but people don't think of regexes as PEG parser grammars, which is what they are | 12:24 | |
even if you use them where you'd use a regexp | |||
anyway, I'll start using rules when I more mean grammars | 12:25 | ||
moritz | ingy: most people don't know about PEG at all | 12:26 | |
even most programmers | |||
if you mean grammar, maybe say "grammar"? | |||
ingy | well s/PEG/bnf|recdescent|etc | ||
grammar is a generic term | 12:27 | ||
I'm looking for a term that encapsulates parsing with perl6 | |||
snarkyboojum | I remember when most programmers I dealt with didn't know what a regex was either :D | ||
ingy | Perl6 Rules feels like it does that with the least confusion | 12:28 | |
snarkyboojum | ingy: I agree with you fwiw :D | 12:29 | |
ingy | \o/ | ||
done and done | |||
\o | |||
snarkyboojum | we could give camelia a peg leg... | 12:30 | |
12:32
ab5tract joined
|
|||
jnthn | afk, walk | 12:37 | |
12:38
PacoLinux left
12:52
PacoLinux joined,
PacoLinux_ left
13:00
am0c joined
13:05
PacoLinux left
13:06
dorlamm left
13:21
carlin left
13:24
PacoLinux joined
13:29
cognominal_ joined
13:30
cognominal___ joined,
cognominal left
13:32
cognominal joined
13:33
cognominal_ left
13:35
cognominal___ left
|
|||
pmurias | mberends: did the new perl finish brewing? | 13:39 | |
mberends | pmurias: yes, but that did not help. The brewed perl does not include a libperl :( | 13:40 | |
13:41
GlitchMr left
|
|||
pmurias | mberends: what? | 13:42 | |
what's your error message? | |||
mberends: you just did a standard perlbrew install ... invocantion? | |||
tadzik | sirmacik++ # rakudo archlinux package | 13:43 | |
sirmacik | (: | ||
mberends | pmurias: the error message from Niecza is unchanged, because it still loads /usr/lib/libperl.so.5.10. The perlbrew installation produces only a bin/perl executable, not a libperl.so.*. | 13:44 | |
pmurias | find ~/perl5/perlbrew/perls/ -name '*libperl*' | 13:46 | |
13:47
cognominal_ joined
|
|||
pmurias | i have a libperl.a here | 13:47 | |
mberends | pmurias: ~/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/i686-linux/CORE/libperl.a | ||
env | 13:48 | ||
pmurias | mberends: ? | 13:49 | |
could you nopaste the result of perlbrew list? | |||
13:50
cognominal left
|
|||
mberends | pmurias: it's only 2 lines: * perl-5.14.1 and /usr/bin/perl (5.10.1) | 13:50 | |
pmurias: I'll try setting LD_LIBRARY_PATH, it might help | 13:51 | ||
pmurias | LD_LIBRARY_PATH is for runtime | ||
perl -MExtUtils::Embed -e ccopts -e ldopts? | 13:52 | ||
mberends | -Wl,-E -fstack-protector -L/usr/local/lib -L/home/martin/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/i686-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc | 13:53 | |
-fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/home/martin/perl5/perlbrew/perls/perl-5.14.1/lib/5.14.1/i686-linux/CORE | |||
13:53
whiteknight left
|
|||
pmurias | looks correct | 13:55 | |
make perl5 should be linking against the new perl | |||
mberends | pmurias: I was thinking to put that -L value into LD_LIBRARY_PATH before running 'make perl5' | ||
pmurias | LD_LIBRARY_PATH is for dynamic linking | ||
mberends: how do you know that the old .so is used? | |||
mberends: did you do make -B perl5 | 13:56 | ||
maybe the .so file wasn't rebuilt? | |||
mberends | pmurias: libperl.so.5.10 was named in the native Stacktrace part of gist.github.com/1257273 | 13:58 | |
pmurias | mberends: you are sure obj/p5embed.so was rebuilt? | 13:59 | |
mberends | pmurias++: rebuilt with make -B, that fixed it :-) | 14:00 | |
Hello Colorful World :D | |||
dalek | ecza: e66416c | (Paweł Murias)++ | Makefile: make clean now removes .so files from obj |
14:01 | |
14:05
cognominal joined,
cognominal_ left
14:07
kaare_ left
14:12
cognominal_ joined
14:13
cognominal___ joined
14:14
cognominal___ left,
cognominal left
14:15
lateau_ left
14:16
cognominal___ joined
14:17
cognominal_ left
14:18
PacoLinux left,
MayDaniel joined
14:19
PacoLinux joined
14:23
Chillance joined,
cognominal_ joined
14:26
cognominal___ left
14:27
cognominal_ left
14:33
ron__ left
14:37
cognominal joined
14:57
pmurias left
|
|||
dalek | ecza: d2614f8 | mberends++ | examples/gtk-tetris.pl: [examples/gtk-tetris.pl] working proof of concept - patches welcome |
15:00 | |
15:14
MayDaniel left
15:20
poisonarms left
|
|||
tadzik | woo | 15:24 | |
15:24
PacoLinux_ joined
15:30
rml joined
15:32
packetknife joined
15:41
GlitchMr joined
15:44
rml left
|
|||
dalek | ecza: b08643d | mberends++ | examples/gtk-tetris.pl: [examples/gtk-tetris.pl] clear lines that are full of blocks |
15:44 | |
kudo/nom: 1f1df92 | jnthn++ | src/Perl6/ (2 files): Support $$foo, @$foo and %$foo as equivalents for $($foo), @($foo) and %($foo). |
15:46 | ||
colomon | mberends: Yes, even my terrible tetris skills aren't as bad as that last game I just played | 15:51 | |
On the bright side, it doesn't know when the game is over, either. | 15:52 | ||
mberends | colomon: it evokes lots of nostalgia. patches welcome! :) | 15:53 | |
colomon | Can't talk, playing tetris! ;) | 15:54 | |
mberends++ | 15:58 | ||
Can't begin to say how cool it is to be playing an "arcade" game written in p6. | |||
mberends celebrates with a beer :) | |||
colomon | I'd buy one for you if I could. Bravo! | 15:59 | |
So, Gtk can handle text, too, right? | 16:00 | ||
I've been meaning to write a program to help me remember to practice tunes I know, but didn't have any idea how to handle a UI for it. | |||
mberends | colomon: yes, examples/gtk-clock.pl has some text. Resizeable, too. | ||
colomon | I'm thinking Niecza+Gtk might be just the thing. | ||
I don't need anything terribly fancy, just the ability to display, say, ten tune names at once, plus a couple of checkboxes to say "Practiced!" or "Needs extra eork!" | 16:01 | ||
dalek | kudo/nom: 8b07dd1 | jnthn++ | src/Perl6/Grammar.pm: Fix failure to scream to the high heavens about certain redeclarations. |
16:02 | |
mberends | colomon: good idea. See the Gtk VBox, CheckButton and Label classes. | 16:04 | |
16:07
skangas joined
|
|||
colomon | mberends++ # no time now, but I'll try to take a look at that before bed tonight, maybe | 16:11 | |
16:26
am0c left
|
|||
jnthn | b: say 'aa' ~~ /(.)$1/ | 16:27 | |
p6eval | b 1b7dd1: OUTPUT«a» | ||
jnthn | Turns out that nqp-rx regexes also have this issue. | 16:28 | |
!BACKREF in QRegex essentially appears to be a port of the nqp-rx one. | 16:29 | ||
I'm guessing it's "bug compatible" ;) | |||
Unless undefined captures are menat to always be zero-width matches. | |||
niecza: say 'aa' ~~ /(.)$1/ | 16:30 | ||
p6eval | niecza v10-34-gb08643d: OUTPUT«Use of uninitialized value in string context at /home/p6eval/niecza/lib/CORE.setting line 613 (CORE warn @ 2)  at /home/p6eval/niecza/lib/CORE.setting line 21 (CORE Mu.Str @ 12)  at line 0 (ExitRunloop @ 0)  at /tmp/VBiBHNqSIB line 1 (MAIN C3_ANON… | ||
jnthn | niecza: say ?('aa' ~~ /(.)$1/) | ||
p6eval | niecza v10-34-gb08643d: OUTPUT«Use of uninitialized value in string context at /home/p6eval/niecza/lib/CORE.setting line 613 (CORE warn @ 2)  at /home/p6eval/niecza/lib/CORE.setting line 21 (CORE Mu.Str @ 12)  at line 0 (ExitRunloop @ 0)  at /tmp/u7xv5kLgab line 1 (MAIN C3_ANON… | ||
jnthn | Grr, can't see if it succeeds | 16:31 | |
niecza: while ?('aa' ~~ /(.)$1/) { 1 } | |||
p6eval | niecza v10-34-gb08643d: OUTPUT«(signal XFSZ)Use of uninitialized value in string context at /home/p6eval/niecza/lib/CORE.setting line 613 (CORE warn @ 2)  at /home/p6eval/niecza/lib/CORE.setting line 21 (CORE Mu.Str @ 12)  at line 0 (ExitRunloop @ 0)  at /tmp/K8pkvMbnT6 line 1 … | ||
16:31
replore_ left
|
|||
jnthn | oh, seems it does. | 16:31 | |
So, is RT#100472 wrong, or the implementations? | 16:32 | ||
TimToady: ^^, for when you're about. | |||
The S05 backreferences spec doesn't say either way. | 16:33 | ||
16:36
soh_cah_toa joined
16:37
mj41 joined
|
|||
dalek | Heuristic branch merge: pushed 22 commits to rakudo/optimizer by jnthn | 16:38 | |
16:39
MayDaniel joined
|
|||
soh_cah_toa | jnthn++ # work on optimizer | 16:39 | |
jnthn | soh_cah_toa: heh, that was just merging latest stuff from nom into optimizer ;) | 16:41 | |
soh_cah_toa | it's exciting though | 16:44 | |
rakudo's horribly slow speed makes regular use very frustrating | |||
16:44
risou is now known as risou_awy
|
|||
soh_cah_toa | so it's good to see work on optimization | 16:44 | |
16:44
risou_awy is now known as risou
|
|||
jnthn | :) | 16:45 | |
Just going to make it catch a couple more obvious bugs at compile time. :) | |||
Need to teach it more about variables soon I guess. | |||
soh_cah_toa | cool | ||
jnthn | Though I think before that I might try and get the work so far merged. | 16:46 | |
The optimizer branch will be where the latest cutting edge stuff gets done, and every so often, when we're comfortable with it, that gets merged into the mainline. | |||
16:48
soh_cah_toa_ joined
16:50
soh_cah_toa left,
soh_cah_toa_ is now known as soh_cah_toa
|
|||
soh_cah_toa has a *terrible* laptop battery | 16:51 | ||
has anybody ever ordered a replacement laptop battery online and know of a reputable site? | 16:52 | ||
16:52
buubot_backup left
|
|||
benabik | soh_cah_toa: I tend to overpay and get OEM batteries. | 16:53 | |
16:53
replore joined
16:54
HarryS left
|
|||
soh_cah_toa | benabik: yeah, i could do that i suppose | 16:54 | |
16:54
packetknife left
17:01
risou is now known as risou_awy
17:08
buubot_backup joined,
localhost left
17:09
localhost joined
17:12
ab5tract left
17:17
zby_home joined
17:20
GlitchMr left
|
|||
Woodi | idea just strikes me... humans have two hands so we do multitasking by-design... imagine we have only one hand... then we need to use other algoritms in our life... would be much slower (probably)... and in traditional programming languages we use sequencial algoritms... isn't it sub optimal ? even processors have only one PC register... | 17:23 | |
dalek | kudo/optimizer: bd4c869 | jnthn++ | src/binder/bind.c: Catch a few more must-fail binds at compile time. For example, 'sub x(Int $y) { }; x('pivo')' will now be caught at CHECK time. |
||
kudo/optimizer: 34c0d41 | jnthn++ | src/Perl6/Optimizer.pm: A block with exception handlers should not be inlined; fixes one of the broken test cases. |
|||
kudo/optimizer: ec32d85 | jnthn++ | src/Perl6/Actions.pm: Fix bad interaction between anonymous parameters and inlining. |
|||
17:24
MayDaniel left
|
|||
jnthn | phenny: tell moritz I've been through the tests that the optimizer failed, and dealt with the genuine optimizer issues that broke some of them. The rest look like tests that needs dies => eval_dies love. If you have a moment for that, help most welcome. :) | 17:25 | |
phenny | jnthn: I'll pass that on when moritz is around. | ||
jnthn | phenny: tell moritz oh, except the undef.t one. Though that's a todo'd test already. | ||
phenny | jnthn: I'll pass that on when moritz is around. | ||
17:26
icwiener joined
17:31
preflex_ joined
17:32
preflex left,
preflex_ is now known as preflex
17:33
wamba left
17:37
lichtkind joined
|
|||
lichtkind | seen thou | 17:45 | |
aloha | thou was last seen in #perl6 2 days 2 hours ago joining the channel. | ||
lichtkind | thank you | ||
17:49
GlitchMr joined
17:53
kaare_ joined
|
|||
flussence | Woodi: yep, x86 in particular gets a lot of complaints for its shortage of GPRs. There's a project going on right now to give 32-bit programs access to the extra 64-bit registers - sites.google.com/site/x32abi/home | 17:58 | |
tadzik | can someone copypaste me the funky a in Masak? It's not even on his homepage :/ | 18:05 | |
benabik | ä ? | ||
tadzik | ok, found on github | ||
thanks :) | |||
benabik | Apple makes accented characters easy. :-) | ||
soh_cah_toa | yeah, i never know how to type unicode characters either :\ | ||
tadzik | okay, I has a UsingPerl6.mobi with cover and everything :) | 18:06 | |
out 'make html' is a bit less than awesome, it doesn't escape < and > inside <code> tags | |||
s/out/our/ | |||
18:07
Exodist left
|
|||
soh_cah_toa | i know, it's all i can use though since i get some weird 'latex is 5 years old' error when building | 18:07 | |
tadzik | uploaded to github.com/perl6/book/downloads/ | 18:10 | |
I asked Calibre nicely, but I'm still not sure if the cover's here or no | |||
soh_cah_toa | tadzik: what's a .mobi file? | 18:11 | |
tadzik | soh_cah_toa: it's something that an ebook reader can display nicely | ||
soh_cah_toa | ah | ||
18:11
Exodist joined
|
|||
tadzik | contrary to the popular belief, PDF is not a good ebook format | 18:12 | |
soh_cah_toa | tadzik: how come? | ||
tadzik | soh_cah_toa: they don't scale well | ||
benabik | Lack of reflow, for one. | ||
I prefer ePub, myself. | 18:13 | ||
tadzik | they're page oriented too, a page on a pdf is not something to fit on a 6" screen | ||
I've never seen an ePub myself :) | |||
benabik | ePub is essentially zipped HTML. | ||
(Simplified HTML) | 18:14 | ||
tadzik | nice | ||
I just processed UsingPerl6.html with kindlegen (amazon tool), and got UsingPerl6.mobi | |||
benabik | Yeah. Kindles don't support ePub for some reason. | 18:15 | |
tadzik | They don't? | ||
I thought they do | |||
benabik | Nope. Calibre and others will convert them to Mobipocket though. | 18:16 | |
tadzik | but that'd explain why do they always publish ePubs and "mobi for the Kindle" | ||
benabik | Yeah. | ||
ePub is the open standard for ebooks though. It's an irritation to me that Kindles don't support it. | 18:17 | ||
tadzik | yeah, that sounds wrong | ||
soh_cah_toa | of course not. b/c it's open | ||
tadzik | isn't mobi open? | ||
benabik | .mobi is from Mobipocket SA | 18:18 | |
Bought by Amazon. | |||
tadzik | that explains it | ||
18:27
Exodist left
18:28
Exodist joined
|
|||
dalek | kudo/optimizer: 90c4020 | jnthn++ | src/binder/multidispatch.c: Catch some type cases of multi dispatch being impossible also. |
18:30 | |
18:47
cooper joined
18:53
rgrau left
18:56
donri joined
19:01
GlitchMr left
|
|||
sorear | phenny: tell mberends sudo apt-get install mono-complete. the other mono packages exist for the sake of dependencies and should not be installed manuall | 19:05 | |
phenny | sorear: I'll pass that on when mberends is around. | ||
mberends | sorear, phenny: ah, thanks. This Ubuntu has a frugal Mono install, occasionally runs into missing deps as you've explained. | 19:07 | |
phenny | mberends: 19:05Z <sorear> tell mberends sudo apt-get install mono-complete. the other mono packages exist for the sake of dependencies and should not be installed manuall | ||
sorear | I guess if you're on a slow and/or metered connection it might also make sense to install an incomplete mono | 19:08 | |
mberends | by a process of dependency creep, an incomplete mono aymptotically approaches mono-complete over time | 19:11 | |
sorear | pmurias++ | ||
well, mono-complete includes a lot of stuff that niecza isn't likely to use anytime soon | 19:12 | ||
like the asp.net support libs | |||
19:12
icwiener left
19:22
kfo_ joined
19:26
kfo left
|
|||
Patterner | gentoo has no mono-complete :( | 19:27 | |
moritz | o/ | 20:05 | |
phenny | moritz: 17:25Z <jnthn> tell moritz I've been through the tests that the optimizer failed, and dealt with the genuine optimizer issues that broke some of them. The rest look like tests that needs dies => eval_dies love. If you have a moment for that, help most welcome. :) | ||
moritz: 17:25Z <jnthn> tell moritz oh, except the undef.t one. Though that's a todo'd test already. | |||
jnthn | o/ moritz | 20:07 | |
20:08
mj41 left
|
|||
moritz | jnthn: did you fix the Inf thing in optimizer? | 20:08 | |
dalek | kudo/nom: d3d3ae1 | moritz++ | t/spectest.data: run say.t |
||
jnthn | moritz: As in, the num with Inf and NaN one? | 20:12 | |
moritz | jnthn: yes | ||
20:13
pothos left
|
|||
jnthn | moritz: yes, it was a few days ago, I think :) | 20:13 | |
20:13
y3llow left
20:14
zby_home left,
y3llow joined
20:15
pothos_ joined,
pothos_ is now known as pothos
20:17
y3llow left,
y3llow joined,
wolfman2000 left
|
|||
sorear | good * #perl6 | 20:19 | |
mberends | good * sorear | ||
moritz | jnthn: will look into the fallout tomorrow | 20:20 | |
I just did a very classic mistake | 20:24 | ||
ran spectest with 3 concurrent jobs | |||
and in another console typed 'uptime' | |||
and wondered that the load average was < 0.2 | |||
so I restarted the spectest with 6 concurrent jobs | |||
and... the load average dropped even further | |||
because that other terminal had in fact a ssh session to another host open :-) | 20:25 | ||
jnthn | hehe :) | ||
moritz | and it was in the local network, so the latency was too small to notice | 20:26 | |
20:31
envi left
|
|||
moritz | 756 open tickets | 20:32 | |
I believe this is more than 100 less than two weeks ago | |||
jnthn | Yes, it is :) | 20:36 | |
Amazing work :) | 20:37 | ||
I fixed a couple of bugs today that should let us close a couple more too :) | |||
benabik | Is this things nom fixed or just attacking bugs? | ||
jnthn | Currently working on iteration performance. | ||
benabik: A lot is things nom fixed, but I've attacked various bugs of late too :) | 20:38 | ||
moritz | benabik: in particular nom leaks far less parrot objects into p6 space | ||
which often led to generic "weird behavior" | |||
jnthn: many of the new error messages seem to have the line number off by one | 20:39 | ||
jnthn: ie the error is often reported one line above the actual error | 20:40 | ||
jnthn | moritz: In optimizer? | 20:41 | |
The CHECK time ones? | 20:42 | ||
Or somewhere else? | |||
moritz | jnthn: yes to both | ||
jnthn | moritz: OK, thanks...will investigate. | ||
One fun discovery earlier is that | 20:43 | ||
sub foo($, $, $x) { $x }; foo(1,2,3) | |||
Is reduced by the optimizer now to just 3 :) | |||
moritz | \o/ | 20:44 | |
jnthn | Well, it's not so \o/ if 1 and 2 were things that had side-effects... | 20:45 | |
So, will need to fix that one. | |||
dalek | ast: 7db2936 | moritz++ | S (8 files): move a few dying tests to string eval, because an optimizer (erm, the optimizer :-) catches them at compile time |
||
moritz | this is not even close to all of the failures, rest tomrrow | ||
moritz -> sleep | |||
20:47
kaare_ left
|
|||
jnthn | moritz++, sleep well | 20:47 | |
im2ee | Good night! :) o/ | 21:16 | |
jnthn | dobranoc, im2ee | 21:17 | |
21:18
im2ee left,
djspy187 joined
21:19
wolfman2000 joined
|
|||
djspy187 | So seriously guys I'm already for Perl6 | 21:20 | |
21:24
wolfman2_ joined
21:26
wolfman2000 left
21:29
wolfman2_ left
21:30
djspy187 left,
djspy187 joined
|
|||
sorear | djspy187: Hello and welcome to #perl6. | 21:31 | |
djspy187: Is there anything we can help you with? | |||
djspy187 | ;-) I'd like to say I like Perl and would love to start using Perl6 in production environment. You guys are gr8! | 21:39 | |
sorear | Thanks | 21:41 | |
although this number-coding is a pet peeve of mine. especially the people who say "3q" | |||
djspy187 | what is three queue suppose to mean? | 21:43 | |
Is it like thank you? | |||
sorear | in East Asian languages, 3 is pronounced san | ||
jnthn | "freak"? :) | ||
oh :) | |||
sorear | which is phonemically the same as than | 21:44 | |
djspy187 | oh damn that is particularly bad | 21:45 | |
Also 'ty' annoys me | |||
or 'ta' | |||
which is suppose to be thank you or thanks alot | |||
mberends | ta pronounced tah is much older than the internet | 21:49 | |
djspy187 | mberends: Yeah that word freakin annoys me | 21:50 | |
mberends: If someone did something to deserve a thank you at least you can say the whole word ;-) | |||
mberends | djspy187: you're quite right there :) | 21:51 | |
dalek | ok: 4a4df08 | soh_cah_toa++ | src/subs-n-sigs.pod: Made numerous additions and fixes to Chapter 4. Added 'Return Types', 'Required Parameters', and 'Abstract and Concrete Parameters' sections. Fixed example in 'Interpolating Arrays and Hashes'. Added some extra verbosity to several paragraphs. |
21:53 | |
jnthn | heh, "ta" is quite common in some dialects in England. Including the one I was born in :P | 21:56 | |
er, the one spoken where I was born. ) | |||
dalek | ok: 0d5ec05 | soh_cah_toa++ | lib/book.sty: Added myself to the credits. |
21:57 | |
jnthn seems to be much of the way to a patch that will let us do for loops over large numbers of elements without spending 90% of the time in memmove... | 21:59 | ||
Tene | jnthn: nice | ||
jnthn | Long story short, for 1..$n { } is meant to be O($n), but was accidentally more like O($n ** 2) | 22:02 | |
sorear resists the urge to yell 'told you so' | 22:03 | ||
jnthn | sorear: Well, I've seen it in various timings. This is the first time I've dug into the mode and worked out why. | ||
*code | |||
sorear | someone I'm helping off-channel wrote eval { ... } and it's not working | 22:04 | |
because, well, it should be try | |||
I guess I ought to make eval take a Str arguemnt | |||
jnthn | nom: eval { 42 } | 22:05 | |
p6eval | nom d3d3ae: OUTPUT«Nominal type check failed for parameter '$code'; expected Str but got Block instead in sub eval at src/gen/CORE.setting:420 in block <anon> at /tmp/5VqgA06CW9:1 in <anon> at /tmp/5VqgA06CW9:1» | ||
22:18
pmurias joined,
PacoLinux_ left
|
|||
sorear | o/ pmurias | 22:20 | |
22:20
pernatiy left,
sjn left,
tomaw left,
dukeleto left,
cxreg left,
miso2217 left,
BinGOs left,
mattp_ left,
phenny left,
daemon left,
BooK left,
bloonix left,
broquaint left,
felipe left,
revdiablo left,
mdxi_ left,
Bucciarati left,
yahooooo left,
literal left
22:21
pmurias left,
cotto left,
araujo left,
krakan_ left,
pjcj_ left,
ranguard left,
Tene left,
espadrine left,
mberends left,
Sarten-X left,
gfldex left,
ascent__ left,
Vlavv` left,
saaki left,
jfried left,
ruz left,
TimToady left,
JodaZ_ left,
sbp left,
nsh left,
_sri left,
betterworld left
22:22
mattp_ joined
|
|||
soh_cah_toa | sorear: remember the other day i asked about negative lookahead assertions? didn't you recommend an alternate syntax? something like <-[\n]> i think? | 22:22 | |
sorear: apparantly, <!before foo> doesn't work on rakudo :( | |||
sorear | <-[\n]> and <!before \n> are the ways I recommended | 22:23 | |
22:23
literal joined,
yahooooo joined,
Bucciarati joined,
mdxi_ joined,
revdiablo joined,
broquaint joined,
felipe joined,
bloonix joined,
BooK joined,
daemon joined,
phenny joined,
BinGOs joined,
miso2217 joined,
cxreg joined,
dukeleto joined,
tomaw joined,
sjn joined,
pernatiy joined,
pmurias joined,
espadrine joined,
mberends joined,
cotto joined,
Sarten-X joined,
gfldex joined,
araujo joined,
krakan_ joined,
ascent__ joined,
pjcj_ joined,
Tene joined,
ranguard joined,
Vlavv` joined,
betterworld joined,
_sri joined,
nsh joined,
sbp joined,
JodaZ_ joined,
TimToady joined,
ruz joined,
jfried joined,
saaki joined
|
|||
soh_cah_toa | ok | 22:23 | |
22:23
donri left,
donri joined
|
|||
sorear | wait, those aren't quite the same | 22:24 | |
<-[\n]> matches any character other than \n | |||
<![\n]> matches zero-width but not before \n | |||
<-[\n]> is like [ <!before \n> . ] | |||
soh_cah_toa | right | 22:25 | |
22:25
tokuhiro_ joined
|
|||
sorear | perl6: say ?/ ^ <!before \n> /, ?/ ^ <![\n]> / for "", "\n", "n", "\\" | 22:25 | |
p6eval | niecza v10-34-gb08643d: OUTPUT«Bool::TrueBool::TrueBool::FalseBool::FalseBool::TrueBool::TrueBool::TrueBool::True» | ||
..rakudo d3d3ae: OUTPUT«Method 'match' not found for invocant of class 'Any' in method Bool at src/gen/CORE.setting:6255 in sub prefix:<?> at src/gen/CORE.setting:1712 in block <anon> at /tmp/Oz0uE3s4K9:1 in method reify at src/gen/CORE.setting:3748 in method reify at src/gen/CO… | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
sorear | perl6: say ?($_ ~~ / ^ <!before \n> /), " ", ?($_ ~~ / ^ <![\n]> /) for "", "\n", "n", "\\" | 22:26 | |
p6eval | rakudo d3d3ae: OUTPUT«Method 'before' not found for invocant of class 'Cursor' in regex <anon> at /tmp/U6U0ucoV4Z:1 in method ACCEPTS at src/gen/CORE.setting:6251 in block <anon> at /tmp/U6U0ucoV4Z:1 in method reify at src/gen/CORE.setting:3748 in method reify at src/gen/CORE.… | ||
..niecza v10-34-gb08643d: OUTPUT«Bool::True Bool::TrueBool::False Bool::FalseBool::True Bool::TrueBool::True Bool::True» | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… | |||
sorear | rakudo: say ?($_ ~~ / ^ <![\n]> /) for "", "\n", "n", "\\" | 22:27 | |
p6eval | rakudo d3d3ae: OUTPUT«Bool::FalseBool::TrueBool::FalseBool::True» | ||
sorear | rakudo: say ?($_ ~~ eval "/ ^ <![\\\n]> /") for "", "\n", "n", "\\" | ||
p6eval | rakudo d3d3ae: OUTPUT«Bool::FalseBool::FalseBool::TrueBool::True» | ||
sorear | rakudo: say ?($_ ~~ eval "/ ^ <![\n]> /") for "", "\n", "n", "\\" | 22:28 | |
p6eval | rakudo d3d3ae: OUTPUT«Bool::FalseBool::TrueBool::TrueBool::True» | ||
22:29
pmurias left
|
|||
sorear | jnthn: do you know enough about the regex system to help soh_cah_toa? | 22:29 | |
jnthn | sorear: I know <!before ...> is not re-implemented yet. | ||
soh_cah_toa | :( | ||
jnthn | I guess <![\n]> maybe isn't either. | 22:30 | |
soh_cah_toa | soh_cah_toa ~~ /<!happy>/ | ||
i wanna appened an octothorpe to the beginning of a string but i also want it to work w/ embedded newlines | 22:32 | ||
$msg ~~ s/^ <!before \#>/\# <space>/; | |||
$msg ~~ s:g/\n <!before \#>/\n \# <space>/; | |||
^ no longer works :( | |||
sorear | phenny: tell masak I have a new crazy dream: p5 in p6 using the macro infrastructure, probably with a few ad-hoc extensions. | 22:33 | |
phenny | sorear: I'll pass that on when masak is around. | ||
jnthn | soh_cah_toa: Sorry it's still missing. pmichaud++ has had extremely limited (unexpectedly so) tuits to work on regex stuff in nom of late, and nobody else is yet up to speed on QRegex enough to fix things like that. | 22:34 | |
22:34
molaf left
|
|||
soh_cah_toa | yeah, it's alright i guess | 22:34 | |
i wish i could fix it myself but there's not much low hanging fruit in rakudo :\ | 22:35 | ||
22:38
hanekomu left
22:39
whiteknight joined
|
|||
soh_cah_toa | btw, i'm working on a Test::Builder module. would somebody be willing to add it to the ecosystem for me? | 22:40 | |
github.com/soh-cah-toa/p6-test-builder | |||
soh_cah_toa doesn't have a commit bit | |||
it's only a few days old but eventually i'd like to see Test.pm be built on it :) | 22:41 | ||
sorear | soh_cah_toa: where is the ecosystem? | 22:44 | |
jnthn | sorear: perl6 | ||
sorear: I don't think I have privs to grant soh_cah_toa a commit bit there | |||
sorear mumbles about the proliferation of p6 testing modules | |||
jnthn: I do | |||
jnthn | Only you/TimToady/pmichaud/moritz | ||
jnthn is not trusted :P | |||
22:44
replore left
22:45
HarryS joined
|
|||
sorear | done. | 22:45 | |
soh_cah_toa | sorear++ | 22:46 | |
great, thanks | |||
sorear | jnthn: do you want to be? | ||
jnthn | sorear: I don't mind either way; I guess spreading the load of giving out commit bits can be good though. | 22:47 | |
sorear: Being able to give out nqp-rx bits would be especially useful. | |||
[Coke] | jnthn++ #optimizer goodness. | 22:48 | |
22:59
djspy187 left
|
|||
jnthn | nom: say 286.105 / 7.003 | 23:04 | |
p6eval | nom d3d3ae: OUTPUT«40.8546337284021» | ||
dalek | kudo/nom: af0d2e1 | jnthn++ | src/core/MapIter.pm: Fix mis-design in MapIter that led to it being quadratic rather than linear order. Now, 'for 1..1000000 { $i++ }' runs around 40 times faster. No spectest regressions. |
23:11 | |
soh_cah_toa | perl6: #`{ HAI CAN HAS STDIO? } my $lolcode; say $lolcode.WHY | 23:13 | |
p6eval | niecza v10-34-gb08643d: OUTPUT«Unhandled Exception: Unable to resolve method WHY in class Any at /tmp/6W9mQYwnye line 1 (MAIN mainline @ 1)  at /home/p6eval/niecza/lib/CORE.setting line 2115 (CORE C1022_ANON @ 2)  at /home/p6eval/niecza/lib/CORE.setting line 2116 (CORE module-COR… | ||
..pugs: ( no output ) | |||
..rakudo d3d3ae: OUTPUT«Any()» | |||
soh_cah_toa | aw...still no declarator blocks yet? | ||
23:16
cotto left,
cotto joined
|
|||
jnthn | I thought the sytnax for pod doc was #= | 23:17 | |
soh_cah_toa | oh yeah | 23:18 | |
perl6: #={ HAI CAN HAS STDIO? } my $lolcode; say $lolcode.WHY | |||
p6eval | pugs, rakudo d3d3ae: ( no output ) | ||
..niecza v10-34-gb08643d: OUTPUT«===SORRY!===Action method comment:sym<#=(...)> not yet implemented at /tmp/RULsE59NtM line 1:------> #={ HAI CAN HAS STDIO? }⏏ my $lolcode; say $lolcode.WHYUnhandled Exception: Check failed at /home/p6eval/niec… | |||
soh_cah_toa | :( | ||
jnthn | However, 1) you can't do it to variables yet, and 2) even when you can, it'll have to be $lolcode.VAR.WHY | ||
nom: #={ HAI CAN HAS STDIO? } class C { }; say C.WHY | 23:19 | ||
p6eval | nom d3d3ae: ( no output ) | ||
jnthn | oh...hmm...does #= take a blocky thing after it? | ||
sorear | nom: #| HAI CAN HAS STDIO?  class C { }; say C.WHY | 23:20 | |
p6eval | nom d3d3ae: OUTPUT«Any()» | ||
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say C.WHY | ||
p6eval | nom d3d3ae: OUTPUT«Block::Declarator<3648813062187568205>» | ||
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say ~C.WHY | ||
p6eval | nom d3d3ae: OUTPUT«Block::Declarator<5379478159188087177>» | ||
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say C.WHY.^methods(:local) | 23:21 | |
p6eval | nom d3d3ae: OUTPUT«set_docee WHEREFORE» | ||
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say C.WHEREFORE | ||
p6eval | nom d3d3ae: OUTPUT«Method 'WHEREFORE' not found for invocant of class 'C' in block <anon> at /tmp/VJubm1Mc9Q:2 in <anon> at /tmp/VJubm1Mc9Q:1» | ||
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say C.WHY.^methods(:all) | ||
p6eval | nom d3d3ae: OUTPUT«too many named arguments: 1 passed, 0 used in methods at src/gen/Metamodel.pm:365 in method dispatch:<.^> at src/gen/CORE.setting:709 in block <anon> at /tmp/URnqCIGQhe:2 in <anon> at /tmp/URnqCIGQhe:1» | ||
sorear | wah? | ||
nom: #= HAI CAN HAS STDIO?  class C { }; say C.WHY.^parents | |||
p6eval | nom d3d3ae: OUTPUT«Block() Any() Mu()» | ||
jnthn | tadzik: See ^^ | 23:22 | |
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say C.HOW.WHY | ||
p6eval | nom d3d3ae: OUTPUT«Method 'WHY' not found for invocant of class 'Perl6::Metamodel::ClassHOW' in block <anon> at /tmp/YCpbc_Aez1:2 in <anon> at /tmp/YCpbc_Aez1:1» | ||
jnthn | nom: #= HAI CAN HAS STDIO?  class C { }; say C.^doc | ||
p6eval | nom d3d3ae: OUTPUT«Method 'doc' not found for invocant of class 'Perl6::Metamodel::ClassHOW' in method dispatch:<.^> at src/gen/CORE.setting:709 in block <anon> at /tmp/j2b_62cF0C:2 in <anon> at /tmp/j2b_62cF0C:1» | ||
jnthn | nom: #= HAI CAN HAS STDIO?  class C { }; say C.^docs | ||
p6eval | nom d3d3ae: OUTPUT«too many positional arguments: 2 passed, 1 expected in docs at src/gen/Metamodel.pm:68 in method dispatch:<.^> at src/gen/CORE.setting:709 in block <anon> at /tmp/ISFtxain4h:2 in <anon> at /tmp/ISFtxain4h:1» | ||
jnthn | huh | ||
sorear | nom: #= HAI CAN HAS STDIO?  class C { }; say C.HOW.docs | ||
p6eval | nom d3d3ae: OUTPUT«Block::Declarator<7529203389254166775>» | ||
jnthn | That really, really should stringify better than that. | 23:23 | |
sorear | jnthn: it does seem that I have rights to add owners. if you want to be in the group, and moritz doesn't object, I'll add you | 23:28 | |
jnthn | ok | ||
alright, time to rest. I've a pretty tough $dayjob week ahead. | |||
night o/ | 23:29 | ||
sorear | night! | ||
23:43
jferrero joined
|
|||
soh_cah_toa | perl6: "foobar".subst(/o/, /e/, :g).say | 23:58 | |
p6eval | rakudo af0d2e: OUTPUT«Method '!cursor_start' not found for invocant of class 'Match' in regex <anon> at /tmp/EK8i6CJD31:1 in method reify at src/gen/CORE.setting:3748 in method reify at src/gen/CORE.setting:3653 in method reify at src/gen/CORE.setting:3653 in method gimme at s… | 23:59 | |
..niecza v10-34-gb08643d: OUTPUT«Unhandled Exception: No value for parameter self in MAIN C2_ANON at /tmp/XMeEtHcB1Q line 0 (MAIN C2_ANON @ 0)  at /home/p6eval/niecza/lib/CORE.setting line 263 (CORE Cool.subst @ 32)  at /tmp/XMeEtHcB1Q line 1 (MAIN mainline @ 1)  at /home/p6eval/… | |||
..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) { unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib'; eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;}'Pugs::Runtime::Match::HsBridge'"*** '<HANDLE>' trapped b… |