»ö« 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.
00:06 PacoAir left 00:16 Limbic_Region joined 00:18 jaldhar joined
[Coke] bought a quart jar of indian garlic pickle. omnomnomnom 00:26
# 06/29/2012 - rakudo++ (22774); niecza (90%); pugs (34.03%) 00:36
r: say 236+356+6-97 00:40
p6eval rakudo 9394f7: OUTPUT«501␤»
00:47 retupmoca joined 00:53 jaldhar left
[Coke] r: say '(foo)' ~~ /'(' ~ ')' .*?/ 01:03
p6eval rakudo 9394f7: OUTPUT«Unable to parse _block1011, couldn't find final ')'␤ in any FAILGOAL at src/stage2/QRegex.nqp:820␤ in regex <anon> at /tmp/ovY8j5A03X:1␤ in method ACCEPTS at src/gen/CORE.setting:9785␤ in block <anon> at /tmp/ovY8j5A03X:1␤␤»
[Coke] rakudo: multi foo() { say "OH HAI" }; multi foo(Int $a?) {}; multi foo(Str $a?) {}; foo 01:07
p6eval rakudo 9394f7: OUTPUT«Ambiguous call to 'foo'; these signatures all match:␤:()␤:(Int $a?)␤:(Str $a?)␤␤ in block <anon> at /tmp/JcvMG3et1M:1␤␤»
ruoso std: macro infix:<lalala>($rhs,$lhs) { 'lalala' ~ $rhs ~ 'lalala' ~ $lhs ~ 'lalala' }; say 'a' lalala 'b'; 01:08
p6eval std fd2647b: OUTPUT«ok 00:00 44m␤»
ruoso rakudo: macro infix:<lalala>($rhs,$lhs) { 'lalala' ~ $rhs ~ 'lalala' ~ $lhs ~ 'lalala' }; say 'a' lalala 'b';
p6eval rakudo 9394f7: OUTPUT«===SORRY!===␤Macro did not return AST at line 2, near " 'b';"␤»
ruoso niecza: macro infix:<lalala>($rhs,$lhs) { 'lalala' ~ $rhs ~ 'lalala' ~ $lhs ~ 'lalala' }; say 'a' lalala 'b'; 01:09
p6eval niecza v19-7-g5e25209: OUTPUT«===SORRY!===␤␤Action method macro_def not yet implemented at /tmp/t8myP7PqzU line 1:␤------> a' ~ $rhs ~ 'lalala' ~ $lhs ~ 'lalala' }⏏; say 'a' lalala 'b';␤␤Action method routine_declarator:macro not yet implemented at /…
ruoso sorear: is there a way to dump the AST of a small code snippet in niecza? 01:10
01:11 thou left
[Coke] r: 01 01:12
p6eval rakudo 9394f7: ( no output )
sorear ruoso: no.
[Coke] merges 2 tickets. 01:15
r: say "mmmmmmmmmany" ~~ /m ** 0..3/' 01:16
p6eval rakudo 9394f7: OUTPUT«===SORRY!===␤Confused␤at /tmp/2LElC2Yk_A:1␤»
[Coke] r: say "mmmmmmmmmany" ~~ /m ** 0..3/
p6eval rakudo 9394f7: OUTPUT«q[mmm]␤␤»
[Coke] r: say "mmmmmmmmmany" ~~ /m ** 3..0/
p6eval rakudo 9394f7: OUTPUT«q[mmmmmmmmm]␤␤»
[Coke] can we close rt.perl.org/rt3/Ticket/Display.html?id=76882 ? 01:27
do we need rakudo tickets on build warnings? 01:33
or can those be relegated to a wiki page or something?
r: .say for 1..* X* 1..* 01:38
p6eval rakudo 9394f7: OUTPUT«(timeout)»
[Coke] star: use URI; 01:39
p6eval star 2012.05: OUTPUT«(signal SEGV)»
[Coke] nr: say 1.0000001 ** (10 ** 9) 01:40
p6eval rakudo 9394f7: OUTPUT«Nominal type check failed for parameter '$nu'; expected Int but got Num instead␤ in sub DIVIDE_NUMBERS at src/gen/CORE.setting:7821␤ in sub infix:<**> at src/gen/CORE.setting:7963␤ in block <anon> at /tmp/gDPB5AKBPJ:1␤␤»
..niecza v19-7-g5e25209: OUTPUT«2.688103843211962E+43␤»
sorear \o/
[Coke] dammit, someone picked all the LHF from the bug queue! 01:41
rn: my @a //= (3); @a.perl.say; 01:42
p6eval niecza v19-7-g5e25209: OUTPUT«[].list␤»
..rakudo 9394f7: OUTPUT«Array.new()␤»
[Coke] rn: my @a ||= (3); @a.perl.say;
p6eval niecza v19-7-g5e25209: OUTPUT«[3].list␤»
..rakudo 9394f7: OUTPUT«Array.new(3)␤»
[Coke] rn: () .= () 01:44
p6eval rakudo 9394f7: OUTPUT«===SORRY!===␤Method 'isa' not found for invocant of class 'Undef'␤»
..niecza v19-7-g5e25209: OUTPUT«Use of uninitialized value in string context␤ at /home/p6eval/niecza/boot/lib/CORE.setting line 1262 (warn @ 5) ␤ at /home/p6eval/niecza/boot/lib/CORE.setting line 268 (Mu.Str @ 15) ␤ at /home/p6eval/niecza/src/STD.pm6 line 3851 (ANON @ 3) ␤ at /home/p6…
02:15 jaldhar joined
colomon nr: say 1.0000001 ** 10e4 02:22
p6eval niecza v19-7-g5e25209: OUTPUT«1.0100501665844765␤»
..rakudo 9394f7: OUTPUT«1.01005016658504␤»
colomon nr: say 1.0000001 ** 10.00001e4 02:37
p6eval niecza v19-7-g5e25209: OUTPUT«1.0100501766855416␤»
..rakudo 9394f7: OUTPUT«1.01005017668554␤»
colomon nr: say 1.0000001 ** 10000000000
p6eval rakudo 9394f7: OUTPUT«Nominal type check failed for parameter '$nu'; expected Int but got Num instead␤ in sub DIVIDE_NUMBERS at src/gen/CORE.setting:7821␤ in sub infix:<**> at src/gen/CORE.setting:7963␤ in block <anon> at /tmp/mYvZnwx8OI:1␤␤»
..niecza v19-7-g5e25209: OUTPUT«Inf␤»
02:40 Limbic_Region left 02:41 Guest8599 left 03:14 Chillance left 03:15 tyatpi left 03:23 thou joined 03:35 leprevost joined 03:45 birdwindupbird joined
sisar pmichaud: Why put language design questions in a questions.txt? I used to think that the perl6-language mailing list was made for exactly this purpose. Please correct me if I'm wrong (or unnecessary bikeshedding :-) ) 03:50
04:00 sirrobert left 04:02 birdwindupbird left 04:14 kaare_ joined 04:35 Tangaroa left
moritz sisar: unnecessary bikeshedding is exactly the problem 04:37
sisar moritz: oh, ok. Sorry. 04:38
moritz sisar: you ask perl6-language for a small detail, and some the answers want to turn perl 6 into a pure functional language
sisar: p6l hasn't realized yet to which degree Perl 6 has actually progressed yet. And that makes it very tiresome to consult 04:39
04:41 mikemol joined 04:49 leprevost left 04:57 mikemol left
sisar moritz: remember my 10-bits of storage problem? I just realised, that it is most probably not possible because of the minimum word size of the computer's architecture. What you can get is only multiple of the word size. 05:17
Well, not unless the architecture has bit addressable registers. 05:18
hm, does Parrot have bit-addressable registers ?
moritz nope
benabik It has bitwise operators. 05:19
pmichaud sisar: I put things in questions.txt because it's really easy for email threads to be forgotten over time. 05:20
also, these are things that I suspect TimToady (or others) can answer quickly. If it needs discussion, that can happen here or on perl6-language. 05:21
sisar pmichaud: maks sense :) 05:22
pmichaud also, istr that commits to perl6/specs are sent to perl6-language, so in a sense the questions *did* go there :) 05:23
sisar *makes
pmichaud if someone on perl6-language feels a need to discuss a question, they can start a thread :)
sisar r: say Real.^mro; 05:24
p6eval rakudo 9394f7: OUTPUT«Real() Any() Mu()␤»
sisar that ^ looks wrong.
should'nt that be: Real() Cool() Any() Mu() ?
pmichaud Real is a role. 05:25
I suspect that something could be Real without having to be Cool.
(a custom Real type, for example).
sisar r: say Real ~~ Cool ; 05:28
p6eval rakudo 9394f7: OUTPUT«True␤»
sisar what does the ~~ operator tell me here ?
moritz pmichaud: fwiw I'm pretty sure that the answer to Q2 is a trait on infix:<+>
sisar: type conformance
pmichaud: 1) remember TimToady saying that 2) you really want only one such warning for for 1..10 { 1 + $_; 1l } 05:29
not 10
3) performance considerations
sisar moritz: what do you mean by "type conformance"?
pmichaud moritz: I'm fine with that; we just need to name the trait then?
moritz sisar: if you have a sub f(Real $x) { }; then you can pass any argument to &f whos type conforms to Real 05:30
sisar: ie does the Real role, or has the role mixed in, or inherits from type that conforms to Real
pmichaud: aye
pmichaud: we need some kind of purity annotation for constant folding anyway 05:31
pmichaud moritz: yes, but that's slightly different because one can find the dispatch candidate from the constant. 05:32
in the case of 1 + $_ we can't know the candidate, so the trait ends up on the proto sub. It also means that there's not a easy way to declare a &infix:<+> candidate that doesn't warn about sink context.
moritz I think it's fine to stick with a per-proto trait for both purposes 05:33
you're not supposed to add an infix:<+> candidate that does significant side effects (like, besides warning) 05:34
pmichaud anyway, feel free to update questions.txt with that answer if you're confident of it. I think you've convinced me, at any rate :) 05:35
sisar r: my Real $x; $x = 2i; 05:37
p6eval rakudo 9394f7: OUTPUT«Type check failed in assignment to '$x'; expected 'Real' but got 'Complex'␤ in block <anon> at /tmp/stCiquysMj:1␤␤»
sisar ok, what is the difference between a Role and a Type ? A type is internally a Class ?
pmichaud afk, sleep 05:38
moritz sisar: classes are types, and roles are types
sisar: enums are also types
a type is a pretty broad concept
05:38 birdwindupbird joined 05:40 araujo left
sisar moritz: the tree on strangelyconsistent.org/blog/june-24-2011-types, what would you call it? "Type hierarchy" ? "Role hierarchy" ? or something else ? 05:40
sisar is really confused right now 05:41
dalek ecs: 9abc8f2 | moritz++ | questions.txt:
[questions] answer Q2 by pmichaud++
moritz sisar: all of those are classes, so it's a class hierarchy 05:42
sisar but i don't know what is it which is confusing me :/
moritz erm wait
Bool is an enum
so, a type hierarchy
sisar moritz: thanks for explaining. But ... I'm still confused, not sure about what. It looks like I need to think more about it. I'll be back with more questions :-) 05:44
05:45 _jaldhar joined, jaldhar left, _jaldhar is now known as jaldhar
benabik Type systems are a fascinating topic. Really have captured my interested in college... We'll see if my PhD thesis ends up in that area or somewhere else. 05:49
05:57 block joined
block hi perl6! I have a nqp compile problem. about invoke() not implemented in class...any idea? 05:58
06:00 birdwindupbird left
moritz block: several people have had such problems, but sadly none of the core developers has been able to reproduce or fix it 06:00
block moritz:oh ? that's too bad. 06:01
moritz block: are you on a 32 bit system? 06:04
block moritz:yes.archlinux 32
moritz that seems to be common to most (but not all) the people who've had this error 06:07
block moritz:any suggestion?
or just waiting? 06:08
moritz block: talk to jnthn when he shows up; maybe he has some ideas what to ask for 06:10
block moritz:thanks! keep waiting for the good news. bye! 06:11
06:12 block left 06:18 GlitchMr joined 06:24 thou left
sisar benabik, others: can you suggest me any good papers/thesis/books/monographs, on type systems? If it is programming language agnostic, much better. 06:36
benabik sisar: In part that depends on what your background is. Type systems are part of (and I'd say core to) the broader topic of programming language theory. I could probably dig up a few references, but they'd be very theoretical and you'd have to be fairly comfortable with logic and proofs. 06:38
This is the notes from the class I took on the topic: www.cs.rit.edu/~mtf/teaching/20101/...douts.html Works up from fairly basic steps, but is somewhat dense. 06:40
I seem to recall the handouts being very useful on their own.
sisar benabik: oh, is it like basic CompSci? Ok, then i'll ask my Computer Science friends for good textbooks. 06:41
benabik Oh. The notes require a login now. That's new.
sisar benabik: yeah, login required :/ 06:42
benabik sisar: Sorry, it didn't when I took it. Or perhaps just doesn't on campus. Who knows. 06:43
sisar benabik: no problem. :-)
benabik sisar: It's basic graduate Computer Science... But undergrad is mostly a lot of programming. :-D
I'd consider it a good intro point to the science of computing.
There is a fair amount online about the Lambda Calculus and the Simply Typed Lamba Calculus, which are the intro points to the theory. 06:44
sisar oh, Lambda Calculus! i've heard about this devil :p 06:45
benabik The lambda calculus is one of the simpler models to use to think about computation. I wouldn't suggest it as a real language. :-D 06:46
But if you add some interesting type stuff to it, you get most of the current functional languages like Haskell and ML.
sisar i was looking for a much less mathematically/logic oriented topic but I guess I'll give it a try. 06:47
sorear type systems and type theory are not quite the same thing
benabik Well you can look into the practical side of type systems. I just find the theory fascinating. :-D
If you understand why you need type systems, you can figure out how they work much easier. :-) 06:48
sorear tyupe theory is the fuzzy border region between theoretical compsci and hardcore metamathematics
sisar "The guy ask for understanding classes/roles etc, and you throw at him the whole of type system and type theory". Quite overwhelming, I'd say.
benabik Theoretical CS is basically a branch of math.
sisar :p
sorear the stuff of which goedel's theorems are the tip of the iceberg
sisar *asked 06:49
benabik sisar: Sorry, it's what I find interesting.
sorear actually it's a three-way border point. philosophers love this stuff too.
benabik You can find more practical stuff in compiler books and references.
sisar benabik: I was just kidding :-)
sorear the epistemology of formal logic
benabik sorear: My professor has a good explanation of how formal logics map 1:1 to type systems. Although not all type systems give a useful logic system. 06:50
sisar: Well, you seemed to want to know "what a type is" and well... the STLC is a decent way to understand that, I think. Although I'll admit what I find simple isn't always what others do... 06:51
That's the problem with higher learning. You become incapable of talking to those outside your field.
sorear benabik: i've used coq 06:55
sisar benabik: i'm majoring in electrical science, so yes Comp Science is not my subject per se, but it is fascinating me more day by day
sorear sisar: 'type' is an inherently fuzzy concept.
sisar: if you wanted to be precise you could probably find a dozen different but strangely consistant concepts that are refered to in the specs by that name 06:56
06:56 birdwindupbird joined
sisar sorear: Just by saying that you have solved some of my confusion! The word 'type' is overloaded and fuzzy, aye aye. 06:57
sorear for instance, there are type constraints, which are gadgets that can recognize a passed value as appropriate or inappropriate for a variable or parameter
benabik sorear: Building a type system from a logic made sense to me. The other way around took some stretching of mental muscles.
sisar lunch & 06:58
benabik lunch... Hm. I would probably be rambling far less if it was near lunchtime instead of well past bedtime. :-/ 06:59
sorear a type object is any undefined value other than a failure 07:00
a packageoid (no generally recognized name) is something that is created by 'package', 'module', 'class', 'role', or 'grammar'
a STable is a kind of object, in the most basic sense; every object in rakudo and niecza refers to a STable for everything except attribute values 07:02
07:03 fgomez left
sorear by default, every STable is associated with exactly one packageoid and exactly one type object; they can be decoupled for extensibility situations 07:03
the most basic sense of a type, from which the others ultimately spring, is that of a classification of values 07:06
however, types are fuzzy and flexible, they can and do get used in ways that are not directly related to classifying values 07:07
sleep&
benabik sorear++
07:12 birdwindupbird left 07:32 cognominal joined 07:37 PacoAir joined 07:49 cog_ joined, cognominal left 07:52 cog_ left, birdwindupbird joined 08:05 araujo joined 08:09 birdwindupbird left 08:16 snearch joined 08:33 sergot joined 08:39 pupoque joined 09:01 cognominal joined 09:10 cognominal left 09:16 fridim__ joined 09:20 cognominal joined 09:22 cog_ joined 09:25 cognominal left 09:30 cog_ left 09:41 cog_ joined 09:50 zby_home_ joined 09:57 sergot left 09:58 cog_ left 10:08 cognominal joined, spider-mario joined 10:11 thou joined 10:12 sergot joined, cog_ joined 10:13 cognominal left 10:22 cog_ left 10:30 whiteknight joined 10:31 whiteknight is now known as Guest96700 10:32 cog_ joined 10:44 cog_ left 11:06 sergot left 11:25 sergot joined 11:34 sergot left, Juerd joined 11:51 thou left 12:03 snearch left 12:13 fridim__ left 12:21 snearch joined 12:26 thelazydeveloper joined 12:40 cognominal joined 12:59 leprevost joined, cognominal left 13:08 cognominal joined 13:10 Psyche^ joined 13:12 tadzik joined 13:14 Patterner left, Psyche^ is now known as Patterner
Juerd Several things may be broken on feather, by the way 13:15
Had to 1
er
feather1
I had to force a few things for it to boot again. Apparently a previous dist-upgrade was interrupted, and left the system in an unbootable state 13:16
13:16 cognominal left 13:21 cognominal joined 13:25 fgomez joined, fgomez left, fgomez joined 13:28 cognominal left
dalek p/toqast: 98c1660 | jonathan++ | t/qast/qast.t:
Basic test for QAST::CompUnit.
13:31
nqp/toqast: 8fd4cd3 | jonathan++ | t/qast/qast.t:
nqp/toqast: Test that pre-deserialize, post-deserialize and the mainline run in the correct order.
jnthn Finally, internets! \o/
13:32 dalek joined, ChanServ sets mode: +v dalek, masak joined
masak oh hai #perl6 13:32
networks in Franch. oh la la. 13:33
France*
13:33 snearch left 13:38 PacoAir left, PacoAir joined 13:45 Pleiades` left 13:51 Pleiades` joined 13:56 benabik left 14:15 cognominal joined 14:19 cog_ joined 14:20 cognominal left 14:27 cog_ left 14:33 arlinius left, spider-mario left 14:34 spider-mario joined, sisar left 14:36 pmichaud joined 14:44 [Coke] joined 14:45 mattp_ joined
[Coke] hey, I think I know what might have killed feather! 14:45
[Coke] hangs his head.
rt.perl.org/rt3/Ticket/Display.html?id=90522
14:46 sisar joined
pmichaud yes, that could do it; especially since we recently bumped up parrot's "maximum recursion limit". 14:47
good morning, #perl6
[Coke] pmichaud: hey! check out that ticket. you might have fixed it. ;) 14:48
it got up over 9000.
pmichaud I'm not sure what "fix" means in this context, though.
[Coke] (early version died <200 or so.) 14:49
pmichaud: I was trying to see if an exception was thrown.
is there a way to reduce the recursion limit from perl6?
pmichaud I'm certain one is thrown; I don't know if/how it gets caught.
pir::getinterp__P().recursion_limit(1000); # back to parrot's default 14:50
[Coke] I'll set it even lower. ;)
what does that function return? the previous limit? 14:51
pmichaud we'd have to check parrot for that.
(or just print whatever it returns)
yes, it returns the previous limit. 14:52
src/pmc/parrotinterpreter.pmc:205
[Coke] I'm running it in the repl and was slightly confused. 14:53
\o/, it's fixed.
you now get a "maximum recursion depth"... 14:54
almost up to 100 tickets with testneeded.
r: say 233+359+6-98 14:55
p6eval rakudo 9394f7: OUTPUT«500␤»
[Coke] r: my %h = {"a" => "b"}; %h{"a"} = %h.delete("a"); say %h.perl; #RT 74946 14:56
p6eval rakudo 9394f7: OUTPUT«().hash␤»
14:58 birdwindupbird joined
[Coke] rakudo: 555 ~~!~~ 666 #RT 76436 14:59
p6eval rakudo 9394f7: ( no output )
[Coke] std: 555 ~~!~~ 666 #RT 76436
p6eval std fd2647b: OUTPUT«Use of uninitialized value $x in pattern match (m//) at STD.pm line 66584.␤Use of uninitialized value $x in concatenation (.) or string at STD.pm line 66623.␤===SORRY!===␤Expecting a term, but found either infix ~~ or redundant prefix ~␤ (to suppre…
[Coke] rakudo: grammar G { regex foo { } }; say "alive" #RT 78404 15:01
p6eval rakudo 9394f7: OUTPUT«alive␤»
15:05 xinming_ joined
[Coke] moritz: please update 71810 15:08
15:08 xinming left
[Coke] (RT) 15:08
15:20 Util joined 15:39 Chillance joined
masak lightning talks at FPW. 15:46
just realized I have internet connection :)
pmichaud \o/ lightning talks 15:47
pmichaud :( still no new videos at youtube.com/yapcna :( 15:48
dalek q: af152cf | pmichaud++ | Makefile:
Add a simple Makefile for generating the .html.
15:58
q: db23aa0 | pmichaud++ | web/index.tmpl:
Don't force style.css to be read from root (so local .html files display properly).
q: e5fb2e6 | pmichaud++ | web/style.css:
Remove padding for <code> blocks inside of <pre> (avoids initial indent).
q: 8ff73a5 | pmichaud++ | answers.md:
Question about array refs should just be a question, not a heading.
16:00
16:06 telex joined
dalek q: 38242b5 | pmichaud++ | web/ (2 files):
Fix up <ul> and <li> borders a bit for last question.
16:24
q: e8022f5 | pmichaud++ | web/style.css:
Put a little more space between questions; indent code sections.
16:31
q: ad1ff23 | pmichaud++ | answers.md:
Move the question about sigils to follow the one about references.
q: 1f5dcc6 | pmichaud++ | answers.md:
Make a http-reference into a link, add missing verb.
16:36
16:36 cognominal joined
dalek q: be7644f | pmichaud++ | answers.md:
Reword Junction/eigenstates a bit.
16:46
q: 0871dff | pmichaud++ | answers.md:
Mention .perl along with .gist in question on say/print.
q: a4ce72c | pmichaud++ | answers.md:
Correct output of printing array.
q: e2cb501 | pmichaud++ | answers.md:
Add a section for questions-not-answered-yet.
16:52
17:02 GlitchMr left 17:11 benabik joined
TimToady n: $_ = "Foo 42"; s/Foo/Bar/ if 0; say "True" when /^ \w+ ' ' \w+ / 17:12
p6eval niecza v19-7-g5e25209: OUTPUT«True␤»
TimToady n: $_ = "Foo 42"; s:s/Foo/Bar/ if 0; say "True" when /^ \w+ ' ' \w+ /
p6eval niecza v19-7-g5e25209: ( no output )
TimToady sorear: ^^^ nieczabug
[Coke] yawns. 17:13
TimToady somehow the :s is transferring to the subsequent // 17:14
17:27 Telgalizer joined 17:29 shabble joined, shabble left, shabble joined 17:31 cognominal left 17:37 birdwindupbird left
dalek kudo/nom: 039d75f | pmichaud++ | README:
Add a prerequisite section to the README (szabgab++). Update copyright.
17:42
17:49 leprevost left
dalek kudo/nom: 0208b56 | pmichaud++ | / (2 files):
Refactor prerequisite notes, since INSTALL.TXT has the detailed
17:57
17:59 fgomez left 18:00 vlixes joined 18:04 GlitchMr joined 18:06 eternaleye joined, fgomez joined
dalek kudo/nom: e34764c | pmichaud++ | docs/review-notes.txt:
Remove obsolete docs/review-notes.txt .
18:07
sorear good * #perl6 18:27
18:32 bluescreen10 left 18:36 thou joined 18:42 thou left 18:47 leprevost joined
dalek kudo/nom: 5ae28cc | pmichaud++ | docs/release_guide.pod:
[release-guide.pod]: Add note to update README copyright date.
18:50
19:07 leprevost left 19:16 am0c left 19:17 pupoque_ joined 19:23 pupoque_ is now known as Gesh 19:27 shabble left 19:28 imarcusthis left 19:29 imarcusthis- joined
dalek q: 725623b | pmichaud++ | answers.md:
Add 'token' vs. 'rule' to unanswered faqs.
19:33
19:33 am0c joined 19:35 imarcusthis- left 19:39 imarcusthis joined 19:41 birdwindupbird joined
dalek kudo/nom: a6d08c3 | pmichaud++ | src/core/ (2 files):
Add a DEPRECATED trait, mark Cool.bytes as DEPRECATED.

we can build upon in the future.
19:42
19:45 vmspb joined, imarcusthis left 19:46 cognominal joined 19:47 birdwindupbird left 19:48 cognominal left 19:49 imarcusthis joined 19:54 kaare_ left
flussence ooh, there's a leap second in ~3h54m 20:06
20:10 GlitchMr left
moritz \o 20:12
moritz needs to release R* today, otherwise it's not 2012.06 anymore :-) 20:13
flussence rn: say DateTime.new(:year(2012), :month(6), :day(30), :hour(23), :minute(59), :second($_)) for 59..61; 20:14
p6eval rakudo a6d08c: OUTPUT«DateTime.new(year => 2012, month => 6, day => 30, hour => 23, minute => 59, second => 59)␤DateTime.new(year => 2012, month => 6, day => 30, hour => 23, minute => 59, second => 60)␤second out of range. Is: 61, should be in 0..^60; No second 61 has yet been defined␤ …
..niecza v19-7-g5e25209: OUTPUT«===SORRY!===␤␤Undeclared name:␤ 'DateTime' used at line 1␤␤Unhandled exception: Check failed␤␤ at /home/p6eval/niecza/boot/lib/CORE.setting line 1402 (die @ 5) ␤ at /home/p6eval/niecza/src/STD.pm6 line 1147 (P6.comp_unit @ 37) ␤ at /hom…
moritz I thought we supported leap seconds :( 20:15
flussence it works for :seconds(60), which is right
s:2nd/s// 20:16
moritz oh
benabik Yes. 23:59:60 is the leap second.
moritz then the error message is LTA
TimToady hopes his plane lands before midnight....
moritz Is: 61, should be in 0..^60
should be 20:17
in 0..60
flussence r: say DateTime.new(:year(2012), :month(6), :day(29), :hour(23), :minute(59), :second(60))
p6eval rakudo a6d08c: OUTPUT«second out of range. Is: 60, should be in 0..^60; There is no leap second on UTC 2012-06-29␤ in method check-time at src/gen/CORE.setting:10561␤ in method new at src/gen/CORE.setting:10527␤ in block <anon> at /tmp/XvSwbHjtpH:1␤␤»
flussence I like how that message comes from Exception.pm :) 20:20
and yeah, Temporal.pm:212 has the bad range 20:21
.oO( this code is nice to read compared to what I was imagining it'd look like )
20:22
20:28 bluescreen10 joined
moritz github.com/downloads/rakudo/star/r....06.tar.gz 20:31
flussence moritz++ 20:32
moritz where do we send the release announcement? p6a, parrot-dev, anything else? 20:33
[Coke] I will have to forward this one to albany-pm 20:34
20:40 Telgalizer left
moritz rakudo.org/2012/06/30/rakudo-star-2...-released/ 20:41
20:42 pupoque left 20:43 birdwindupbird joined
[Coke] is there a link to pmichaud's "faster is better" recent slideset? 20:45
ah, found it in the comments on the .05 release. 20:46
[Coke] tries to agitate the one other person in a 50 mile radius using perl 6 20:52
er, perl.
20:52 MayDaniel joined 20:54 bluescreen10 left 20:56 am0c left 20:58 Guest33130 joined
sorear wonders where [Coke] is 21:04
masak starts publishing the t5 blog post 21:08
jnthn moritz++ # star release 21:10
moritz: Sorry I ended up too distrcated with stuff to do it.
flussence r: gist.github.com/3007551 21:16
p6eval rakudo a6d08c: OUTPUT«125000250000␤»
flussence I wrote this the other day but most people weren't around, and I'm curious how many edge cases I missed :)
masak oh, there was a star release? moritz++ 21:17
[Coke] sorear: upstate NY 21:18
masak flussence: did you try overriding [+] instead? that's how we spell 'sum' in Perl 6.
flussence I had no idea that even worked :) 21:19
r: sub prefix:<[+]>(*@stuff) { ... }
p6eval rakudo a6d08c: ( no output )
flussence r: sub prefix:<[+]>(*@stuff) { [*] @stuff }; say [+] 1..5
p6eval rakudo a6d08c: OUTPUT«1..5␤»
masak hm. 21:20
21:20 Guest33130 left
masak wonders if that isn't a bug 21:20
21:20 Telgalizer joined
masak Telgalizer: greetings. 21:20
humans and gentlebots... 21:21
sorear masak \o/ 21:22
masak ...the fifth p6cc task post is online: strangelyconsistent.org/blog/t5-enu...ting-trees
\o/
sorear! \o/
21:24 Guest33130 joined
masak writing these up is a real chore :) but I'm still happy to receive corrections, comments, and suggestions for improvements. 21:26
21:30 birdwindupbird left 21:31 Guest33130 left 21:32 birdwindupbird joined 21:35 am0c_ joined 21:43 MayDaniel left 21:45 birdwindupbird left 21:50 Gesh left 21:51 pupoque joined, pupoque_ joined, pupoque_ left, pupoque left, pupoque joined
masak 'night, #perl6 22:17
sorear night, masak. 22:23
sorear returns to the 'write parser for niecza/non-bootstrap' project. *overwhelmed*
22:24 pupoque left 22:30 PacoAir left 22:46 benabik left
colomon sorear: I know I'm probably not up to writing parser, but if there is anything I can do to make you feel less overwhelemed... 22:50
22:57 vmspb left
japhb Does Rakudo implent 'handles' yet? 22:58
*implement 22:59
22:59 am0c_ left
flussence handles as in filehandles, or the other thing? 22:59
japhb The OO thing. But I figured it out now -- Rakudo does support it, but I was bitten in my tests by shell quoting. 23:00
DARN YOU SHELL QUOTING! DARN YOU STRAIGHT TO HECK! 23:01
(Because the shell just doesn't deserve a real first-class punishment. ;-)
flussence depends on the shell :)
japhb heh
sorear colomon: thanks 23:05
japhb: I want a shell which mostly works like the Bourne shell, but supports tcl or p6-style quoting 23:06
japhb Ditto. Hell, I'd settle for p5-style quoting. That would still be a massive step up.
23:08 benabik joined
japhb *chuckle* Our local time source just sent an operations alert that a leap second happened. Because darn it, PEOPLE NEED TO KNOW. 23:09
flussence well then they're wrong, it's not supposed to happen until 0000 UTC :) 23:12
japhb Sorry, I should say the alert said that one was "announced". I presume that happens an hour early? 23:14
colomon isn't that 14 minutes ago? Or am I off because of daylight savings time
?
flussence it's 00:14 here but 23:14 UTC
23:18 am0c joined
dalek p: 7d3441a | pmichaud++ | src/HLL/Compiler.pm:
Implement --stagestats=2; outputs memory and PMC allocation statistics
23:19
sorear japhb: the announcements frequently occur months or years ahead of time 23:20
japhb: we need time to update the table of leap seconds embedded in Temporal.pm
pmichaud the leap second is ~30 mins from now. 23:29
23:33 spider-mario left 23:54 zby_home_ left