Camelia, the Perl 6 bug

IRC log for #perl6, 2012-01-19

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:00 skids joined #perl6
00:02 molaf_ joined #perl6
00:06 whiteknight joined #perl6
00:28 colomon bacek_at_work: IO is not well-specced at the moment, for sure.
00:29 bacek_at_work colomon, yeah. I just helped my mate at work with his first attempt to use Perl6. It's not obvious where to find proper documentation.
00:29 sboyette joined #perl6
00:30 unixms joined #perl6
00:40 replore_ joined #perl6
00:51 colomon bacek_at_work: no, no, with IO the problem is more fundamental.  the spec is dodgy, and so are the implementations.  I think everyone acknowledges we need something better, it just hasn't happened yet.
00:57 colomon bacek_at_work++
00:59 molaf__ joined #perl6
01:17 cognominal joined #perl6
01:23 cognominal_ joined #perl6
01:28 cognominal joined #perl6
01:40 * [Coke] yawn.
01:40 [Coke] s.
01:43 [Coke] niecza: my @a=<a b c d e>; say @a[*-4..3]
01:43 p6eval niecza v13-302-g0f93f81: OUTPUT«␤»
01:43 [Coke] niecza: my @a=<a b c d e>; say @a[1..2]
01:43 p6eval niecza v13-302-g0f93f81: OUTPUT«b c␤»
01:43 [Coke] niecza: my @a=<a b c d e>; say @a[1..*-1]
01:43 p6eval niecza v13-302-g0f93f81: OUTPUT«Unhandled exception: Cannot use value like WhateverCode as a number␤  at <unknown> line 0 (ExitRunloop @ 0) ␤  at /home/p6eval/niecza/lib/CORE.setting line 216 (Any.Numeric @ 5) ␤  at <unknown> line 0 (ExitRunloop @ 0) ␤  at /home/p6eval/niecza/lib/CORE.s…
01:43 [Coke] rakudo: my @a=<a b c d e>; say @a[1..*-1]
01:43 p6eval rakudo ed943e: OUTPUT«b c d e␤»
01:46 [Coke] niecza: say "abcdef" > 4
01:46 p6eval niecza v13-302-g0f93f81: OUTPUT«Unhandled exception: Cannot parse number: abcdef␤  at /home/p6eval/niecza/lib/CORE.setting line 1118 (die @ 3) ␤  at /home/p6eval/niecza/lib/CORE.setting line 2800 (ANON @ 10) ␤  at /home/p6eval/niecza/lib/CORE.setting line 2802 (NumSyntax.str2num @ 4) ␤ …
01:46 zjmarlow joined #perl6
01:52 [Coke] sorear: do you want tickets for things like "Exception NYI" ?
01:55 sorear no
01:57 zjmarlow_ joined #perl6
02:00 [Coke] ok.
02:02 lestrrat joined #perl6
02:02 dalek roast: 2e53c69 | coke++ | S02-types/ (3 files):
02:02 dalek roast: update todo notes.
02:02 dalek roast: review: https://github.com/perl6/roast/commit/2e53c69606
02:09 sorear perl6: class A { method foo($x) { say $x } }; class B is A { method foo($x) { nextwith($x+1) } }; B.foo(3)
02:10 p6eval rakudo ed943e: OUTPUT«4␤»
02:10 p6eval ..pugs b927740: OUTPUT«*** No such subroutine: "&nextwith"␤    at /tmp/WEQoLep0U9 line 1, column 72-87␤»
02:10 p6eval ..niecza v13-302-g0f93f81: OUTPUT«Unhandled exception: Nominal type check failed in binding self in A.foo; got Int, needed A␤  at /tmp/hvieVDBJSY line 0 (A.foo @ 1) ␤  at /tmp/hvieVDBJSY line 1 (mainline @ 4) ␤  at /home/p6eval/niecza/lib/CORE.setting line 3108 (ANON @ 3) ␤  at /home/p6ev…
02:10 sorear perl6: class A { method foo($x) { say $x } }; class B is A { method foo($x) { nextwith(self, $x+1) } }; B.foo(3)
02:10 p6eval niecza v13-302-g0f93f81: OUTPUT«4␤»
02:10 p6eval ..pugs b927740: OUTPUT«*** No such subroutine: "&nextwith"␤    at /tmp/dvJsepFLl3 line 1, column 72-93␤»
02:10 p6eval ..rakudo ed943e: OUTPUT«Too many positional parameters passed; got 3 but expected 2␤  in method foo at /tmp/evE3bnYoMp:1␤  in <anon> at src/gen/Metamodel.pm:2522␤  in call_with_args at src/gen/Metamodel.pm:2519␤  in method foo at /tmp/evE3bnYoMp:1␤  in block <anon> at /tmp/evE3bnYoMp:1␤  …
02:10 pyrimidine joined #perl6
02:11 sorear S12 says that nextwith replaces the "argument list"
02:12 sorear my interpretation of consistency is that self is part of the argument list...
02:12 sorear but POLA and Rakudo seem to have taken the opposite approach
02:12 sorear I'm requsting public feedback before I change niecza to match Rakudo
02:13 TimToady if you want a different object, it would just be an ordinary method call
02:13 TimToady so I think I'd leave the invocant out of it
02:25 TimToady bbl &
02:41 raiph joined #perl6
02:42 abercrombie joined #perl6
02:55 jakky left #perl6
03:02 arlinius joined #perl6
03:31 orafu joined #perl6
03:36 jaldhar joined #perl6
03:38 Psyche^ joined #perl6
04:04 kmwallio joined #perl6
04:07 bonsaikitten joined #perl6
04:19 dayangkun joined #perl6
04:32 arlinius joined #perl6
05:00 xinming joined #perl6
05:00 birdwindupbird joined #perl6
05:02 replore_ joined #perl6
05:06 replore_ joined #perl6
05:15 moritz bacek_at_work: pong
05:37 Util joined #perl6
05:38 pmichaud joined #perl6
05:39 [Coke] joined #perl6
05:49 kaleem joined #perl6
05:51 rhr joined #perl6
05:57 drbean_ joined #perl6
06:02 koban joined #perl6
06:14 xinming joined #perl6
06:17 etkrwl joined #perl6
06:17 lutok joined #perl6
06:53 wtw joined #perl6
07:07 hundskatt joined #perl6
07:20 woosley joined #perl6
07:35 jnthn morning...it cometh already
07:36 tadzik I hate it too
07:36 tadzik I mean, waking up isn't so attractive these days
07:36 tadzik when the exam session comes
07:37 tadzik that's almost a haiku
07:40 jnthn Apart from the incorrect number of syllables and lack of mention of the season :P
07:41 jnthn Well, exam season counts I guess ;)
07:41 jnthn so....what'm I teaching folks today...
07:41 tadzik oh, that was lost in translation
07:41 jnthn ;)
07:41 masak mornin'.
07:41 jnthn lolitsmasak
07:41 tadzik hey masak
07:41 masak hey!
07:42 masak we're all awake, and we all hate it? great.
07:42 masak on the count of three, back to bed.
07:42 * TimToady is all for it
07:42 jnthn Wow, it's like a "programming Europeans who got out of bed early for some reason" club!
07:42 tadzik yeah. Remeber when you woke up and couldn't wait to get up and start getting stuff done?
07:42 tadzik Me neither
07:42 TimToady fine by me if you guys want to live on PST :)
07:43 masak tadzik: I actually have such phases.
07:43 tadzik me too, but not in this time of year
07:43 masak TimToady: Post-Sraumatic Tress? :)
07:43 TimToady masak: keep trying...or better yet, don't...
07:43 tadzik you know, the word "sesja", an Exam Session, is an acronym for "The System of Student Elimination is Active"? :)
07:44 tadzik ah, enough of the complaining
07:45 sorear GOOD MORNING MASAK AND JNTHN AND TADZIK
07:45 sorear *BANGS PANS*
07:45 tadzik HELLO SOREAR!
07:46 jnthn OMFG QUIET!!!!
07:46 masak SOREAR WE'RE ALREADY AWAKE STOP BANGING PANS
07:46 tadzik GOOD DAY TO YOU TOO AND PLEASE STOP BANGING I'M AWAKE ANYWAY
07:46 masak phenny: en pl "System of Student Elimination is Active"?
07:46 phenny masak: "System Eliminacji Studentów Jest Aktywny" (en to pl, translate.google.com)
07:46 tadzik you see?
07:46 masak yup.
07:47 tadzik :P
07:47 masak must be true, then.
07:47 jnthn wow, Polish is easy!
07:47 jnthn :P
07:47 tadzik true enough
07:47 jnthn .oO( until you have to pronounce it )
07:47 sorear mmm, declensions
07:47 masak we has them. :)
07:47 tadzik phenny: en pl "declensions"?
07:48 phenny tadzik: "deklinacji" (en to pl, translate.google.com)
07:48 tadzik ah
07:48 masak tadzik: it's there if you squint :P
07:48 * tadzik schoolifies, unifies or whatever &
07:48 tadzik ;)
07:48 sorear suprised I spelled that right-enough
07:49 * masak declines to comment
07:52 moritz \o
07:52 GlitchMr joined #perl6
07:55 wollmers joined #perl6
07:56 wollmers moin
07:57 masak o/
07:57 jnthn yay, my studenty all came back for day 2. Time to go teach 'em stuff :)
08:01 wollmers If I port Net::Dict (TCP protocol RFC 2229) to Perl 6, will this be straight forward? Is something like IO::Sockets available in niecza also?
08:02 moritz rakudo has IO::Socket::INET built in; I don't think niecza has though
08:03 sivoais joined #perl6
08:07 sorear no IO::Socket::INET in niecza *yet*
08:07 sorear probably won't make v14
08:07 wollmers moritz: thx. I will give it a try. RFC 2229 isn't very complex.
08:08 moritz wollmers: let me know if there's anything missing in rakudo that you need
08:08 wollmers What's about DBI?
08:08 moritz that's not "in rakudo" :-)
08:09 moritz though serious, people are working on getting MiniDBI running again on latest rakudo
08:09 moritz the new NCI should allow many more drivers
08:09 moritz afk &
08:10 sorear er, all I mean by my last comment is that it's on my less-nebulous TODO
08:12 wollmers moritz: I rewrite a parser for text with approximate matching, a kind of machine learning (learning syntax, lexems, relations/semantics). This needs large dictionaries for lookup.
08:13 sorear and o/ wollmers
08:14 wollmers The biggest problem will be the performance. In Perl5 parsing a page of a book needs at the moment between 0.89 and 15 seconds.
08:18 masak don't expect it to be within 10x of that in Rakudo.
08:39 arnsholt Yeah, I don't think Perl 6 is ready for large-scale NLP just yet
08:39 arnsholt Although nothing would make me happier than being proved wrong =D
08:42 dalek niecza: 5f1d66d | sorear++ | src/ (2 files):
08:42 dalek niecza: mergeback
08:42 dalek niecza: review: https://github.com/sorear/niecza/commit/5f1d66d336
08:42 dalek niecza: 54d251d | sorear++ | / (4 files):
08:42 dalek niecza: Use real evaluation for colonpair name extensions
08:42 dalek niecza:
08:42 dalek niecza: This is the first step towards eliminating the various fake evaluators
08:42 dalek niecza: currently used in Niecza.
08:42 dalek niecza:
08:42 dalek niecza: It required making Parcel.Str a predefined C# method, because infix:<+>
08:42 dalek niecza: is literally the first sub in the setting...
08:42 dalek niecza: review: https://github.com/sorear/niecza/commit/54d251d942
08:51 mj41 joined #perl6
09:03 masak why are outsiders so eager to say "no no, you're doin' it all wrong; you need to do X", when we're already doing X?
09:04 bonsaikitten masak: because you're doing it wrong ;)
09:04 masak (X \in [ "building a feature set with acceptable performance", "making 'stable' compiler releases", "proceeding stepwise" })
09:04 moritz masak: I fear that's human nature
09:04 bonsaikitten look, I have no idea what you are talking about, but still I must be right ;)
09:07 masak I was reading http://perlmonks.org/?node_id=948477
09:07 masak mostly, I think there's a lag in community in-groups/out-groups, so people will keep saying "look, you're doing it all wrong" until they see something they consider to be a product.
09:07 masak even if we're actually heading in the right direction.
09:08 * sorear -> sleep
09:10 masak 'night, sorear. dream the elimination of fake evaluators.
09:14 jnthn masak: Their failing is they simply don't have the domain understanding to know that asking us to make Rakudo have acceptable performance and doing something less radical than, say, switching to 6model are mutually exclusive.
09:15 masak right. and chances are they're not interested either. they just want the end result.
09:17 jnthn When I want to understand a field I dont' know much about, I tend to listen to the people who are working in it and do understand it. Some folks seem to operate on the assumption that clearly, though they aren't working on the problems, they understand them better.
09:17 jnthn I don't get it, it's irritating, but I'm not sure much can be done about it.
09:17 masak well, that's just the ordinary Dunning-Kruger effect at work.
09:18 masak also, of course, it *has* been 11.5 years, and that's a long time in dog^W internet years.
09:19 moritz and of course everybody has just been waiting for Perl 6 and hasn't touched any other programming language in the mean time, so it really has hurt everybody that it's more than a year
09:19 masak through the filter caused by outsiders' domain ignorance, the news that seep out of the echo chamber probably look no better than "hey, look at Pugs!"
09:19 masak moritz: sarcasm aside, point taken.
09:20 masak moritz: the Internet is an amplifier for random discontent.
09:20 p4 joined #perl6
09:22 bonsaikitten I haven't followed development in detail, but I'm seeing a rather good product that even has a test suite
09:22 bonsaikitten so even if it takes time until it is "feature complete" - the tests alone make it a lot easier to trust than rapid chaotic code that gets written in 1/3rd the time
09:23 masak if Mona Lisa were premiered in 2012 on Reddit, reactions would range from "that colour scheme sucks!" to "I don't like her hair".
09:23 jnthn Anyway, in general I agree people want "a product" at the end of the day, so mostly I just get on with making that happen the best way I know how.
09:24 masak jnthn: yeah, but you're not doing it right! you need stable compiler releases, and milestones. otherwise you're just treading water! :P
09:24 masak you *think* you're making progress, but you're really not. I, the sagely Anonymous Monk, haven't checked, but I know!
09:25 jnthn Why do I need stable *compiler* releases?! This is precisely why we have distribution releases as well. :/
09:25 jnthn Really need to find a way to communicate that better.
09:25 masak let's just say I require improvement *and* stability at the same time.
09:25 masak things should get better and be 100% static.
09:26 jnthn ...can I quit software and go work as a shepherd in the alps? :
09:26 jnthn :)
09:26 masak by the way, you guys should totally do monthly releases or something. I hear it works really well.
09:26 p4 and increment your version numbers
09:26 moritz jnthn: nope, shepherds don't get beer
09:26 moritz p4: by at least 0.8 per year
09:27 jnthn they...what...why? :)
09:27 moritz :-)
09:28 masak ah, to herd sheps.
09:28 moritz .oO( yak herding )
09:29 bonsaikitten I wonder how yak tastes
09:29 jnthn Quite good.
09:29 jnthn Its milk tastes really odd though :)
09:29 bonsaikitten I wonder if there's any way to get grilled yak in Shanghai
09:29 jnthn Yak tea takes qutie some getting used to
09:29 jnthn bonsaikitten: Find a Tibetan restaurant.
09:30 bonsaikitten jnthn: you mean ethical minority restaurant ;)
09:30 jnthn ;)
09:30 masak *rimshot*
09:39 koban left #perl6
09:50 dakkar joined #perl6
09:52 LlamaRider joined #perl6
09:59 Trashlord joined #perl6
10:21 daxim joined #perl6
10:30 donri joined #perl6
10:31 arnsholt masak: Could I pick your brains regarding some Chinese?
10:33 moritz perl6: class P1 { method a() { 'P1' } }; class P2 { method a() { 'P2' } }; class A is P1 is P2 { }; say A.a; say A.*a;
10:33 p6eval pugs b927740: OUTPUT«P2␤P2␤»
10:33 p6eval ..niecza v13-306-g54d251d: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤â�¤NYI dottyop form .* at /tmp/kuQOv28Bi9 line 1:â�¤------> [32mass A is P1 is P2 { }; say A.a; say A.*a[33mâ��[31m;[0mâ�¤â�¤Unhandled exception: Check failedâ�¤â�¤  at /home/p6eval/niecza/boot/lib/CORE.setting line 919 (die @ 2) â�¤  a…
10:33 p6eval ..rakudo ed943e: OUTPUT«P1␤P1 P2␤»
10:34 moritz rakudo++
10:34 masak arnsholt: 当然可以。
10:34 arnsholt I have no idea what that means, so I'll assume it means yes (or something like that =)
10:34 masak means "Certainly" :)
10:35 masak I'm about to go for lunch though, so I may break off in the middle if it's a long answer.
10:35 arnsholt The top example on http://specgram.com/CLII.3/0​9.phlogiston.cartoon.3.html has two words made up of two characters. Are those sensibly decomposable, or just two characters that together mean that word?
10:35 moritz phenny: "当然可以"?
10:36 phenny moritz: "Of course" (zh-CN to en, translate.google.com)
10:36 arnsholt Oh, right. phenny translates
10:37 masak arnsholt: nice page.
10:37 masak arnsholt: interestingly, the first word doesn't decompose sensibly, but the second one does.
10:37 arnsholt Oooh, even better!
10:37 masak nouns tend to decompose sensibly more often.
10:37 masak lunch &
10:57 koban joined #perl6
10:57 koban left #perl6
10:59 cognominal_ joined #perl6
11:10 moritz I don't understand where all the new rakudo spectest failures are coming from
11:11 SHODAN joined #perl6
11:12 jnthn moritz: me either...I didn't commit yesteday even :)
11:12 moritz jnthn: did you spectest after the <prior> patch?
11:13 jnthn moritz: no, I ran off to the train station :/
11:13 jnthn I...couldn't imagine it causing trouble.
11:14 jnthn I mean, all it does is stringify match objects always
11:14 jnthn Which you'd really expect to work always :/
11:14 moritz but what else could it be?
11:15 jnthn I think it is the prior patch
11:15 jnthn I'm just saying that the fact it caused problems, means we probably have underlying issues.
11:15 moritz some of the newly failing test files haven't been touched for weeks, or only in irrelevant ways
11:15 jnthn :S
11:15 jnthn Does reverting the prior patch help?
11:16 moritz jnthn: I'm trying a spectest over lunch with the patch reverted
11:16 jnthn ok
11:16 moritz jnthn: if it helps, I'd like to move it to branch
11:16 moritz (the <prior> patch, not the reversal patch :-)
11:16 jnthn Sure
11:16 jnthn Probably I should stash the match object and only stringify it when <prior> is used anyway
11:17 * moritz doesn't like the <prior> business at all. It introduces hidden, global-ish state
11:18 jnthn The spec doesn't say a whole lot on it. I've just been reviewing S95 and tests we don't run recently, and figured it was an easy one to pick off
11:19 moritz aye
11:27 muixirt joined #perl6
11:28 muixirt S95? I knew, there are hidden synopsis :-)
11:28 jnthn That's why it's taking so long! We're having to implement all those too!
11:29 stepnem joined #perl6
11:44 muixirt What would speak against handing over all perl6/nqp dynops to the parrot team?
11:45 nornagest joined #perl6
11:46 colomon niecza: say 0..-9
11:46 p6eval niecza v13-306-g54d251d: OUTPUT«0..-9␤»
11:46 colomon niecza: say ~(0..-9)
11:46 p6eval niecza v13-306-g54d251d: OUTPUT«Unhandled exception: System.ArgumentOutOfRangeException: Argument is out of range.␤  at System.Text.StringBuilder.set_Length (Int32 value) [0x00000] in <filename unknown>:0 ␤  at Niecza.CtxParcelListStr.Get (Niecza.Variable obj) [0x00000] in <filename unk…
11:47 cognominal joined #perl6
11:48 colomon nom: say ~(0..-9)
11:48 p6eval nom ed943e: OUTPUT«␤»
11:48 colomon TimToady: ping
11:48 muixirt Or more broadly all C code residing in the perl6/nqp repos...
11:51 benabik joined #perl6
12:02 fridim_ joined #perl6
12:04 bluescreen10 joined #perl6
12:27 cognominal_ joined #perl6
12:32 * [Coke] wakes up, grumpily, and sees in backlog it's the day for it.
12:32 bbkr What is the state of NativeCall module on NOM? It's not listed under any section in ecosystem/wiki
12:34 muixirt bbkr: at least it's on http://modules.perl6.org/
12:36 muixirt afaik it's said to be usable
12:36 bbkr thanks. attempt to install it gives error "Unrecognized nqp:: opcode 'nqp::r_atpos'" on Rakudo 2011.12, time for digging..
12:36 [Coke] zavolaj was just fixed up to work with nom.
12:39 wolfram joined #perl6
12:41 wolfram left #perl6
12:43 moritz bbkr: probably needs a newer nom
12:45 bbkr i'm building HEAD now... if Zavolaj works i'll try to write GeoIP library frontend :)
12:55 jnthn bbkr: Should be reasonbly capable. Also I fixed up the docs ;)
12:56 bbkr awesome
12:56 jnthn muixirt: Well, the Parrot folks have expressed an interest in adopting 6model. That'd cover a bunch of the coe in there.
12:56 jnthn *code
12:57 jnthn Generally though, unless there's some serious effort to integrate it more deeply into Parrot, there's no point moving it into the Parrot repo.
12:58 muixirt jnthn: might be better than parrot invent their version of 6model
12:59 jnthn I struggle to see that happening.
12:59 jnthn I mean, why would they?
13:00 muixirt jnthn: what? the re-invention of 6model?
13:00 muixirt or integrating perl6/nqp ops into parrot
13:00 jnthn muixirt: I got the impression from Parrot folks that they want to integrate what I've done, not re-invent it.
13:01 jnthn muixirt: I'm fine with the nqp/ops and other 6model bits moving in to Parrot repo *if* it's going to mean more than just moving the code there and then leaving it be.
13:01 moritz jnthn: btw reverting the <prior> thing didn't help getting the tests back
13:02 moritz jnthn: but going back to 77e31aee311e701ae7a47658531b9929fc075c0b (before the changes to $/ and make) does fix most of them
13:02 jnthn That is, I only want to have to negotiate changes I can freely do today if I'm getting something back in return - like better performance because 6model gets deeper Parrot integration.
13:02 jnthn moritz: Huh, I didn't think that $/ change had broken anything :S
13:02 moritz (well, except the new tests that were unfudged and added since then)
13:02 jnthn I certainly spectested that
13:03 mj41 joined #perl6
13:03 jnthn apart from...no ICU here
13:03 jnthn So I'd have missed any regressions in tests that use that.
13:05 moritz my plan is to spectest every commit since then, and see which one is to blame
13:07 drbean joined #perl6
13:08 ruoso moritz: git bisect
13:09 jnthn moritz: OK :)
13:09 moritz ruoso: I know of bisect, but in the end I'm never sure if the result is correct
13:09 masak arnsholt: Ubykh looks really funky. :)
13:09 moritz and it's not many commits
13:11 colomon niecza: say ~4
13:11 p6eval niecza v13-306-g54d251d: OUTPUT«4␤»
13:11 masak arnsholt: now I have time to elaborate a little: if you search for 所 at http://www.yellowbridge.com/ch​inese/character-dictionary.php , you'll see that its definition isn't very clear, and the compounds it forms don't really have anything in common.
13:11 colomon niecza: my $match = "abcde" ~~ /c/; say $match; say ~$match
13:12 p6eval niecza v13-306-g54d251d: OUTPUT«#<match from(2) to(3) text(c) pos([].list) named({}.hash)>␤c␤»
13:12 masak arnsholt: 有 in isolation means "to have" or "to exist".
13:12 p4 you
13:12 masak correct.
13:13 jnthn .oO( me? :) )
13:13 masak arnsholt: whereas both 朋 and 友 mean "friend".
13:13 masak arnsholt: in classical Chinese, one would've used either of those in isolation. modern Mandarin tends towards two-syllable compounds.
13:14 colomon niecza: say 4.Str
13:14 p6eval niecza v13-306-g54d251d: OUTPUT«4␤»
13:14 masak p4: 你是中国人吗?
13:14 p4 not a lot
13:14 p4 oh
13:14 p4 nope
13:14 masak :)
13:14 p4 just studied the language a bit in my spare time
13:23 benabik joined #perl6
13:23 colomon niecza: say ~()
13:23 p6eval niecza v13-306-g54d251d: OUTPUT«Unhandled exception: System.ArgumentOutOfRangeException: Argument is out of range.␤  at System.Text.StringBuilder.set_Length (Int32 value) [0x00000] in <filename unknown>:0 ␤  at Niecza.CtxParcelListStr.Get (Niecza.Variable obj) [0x00000] in <filename unk…
13:24 colomon golfing win!
13:26 masak colomon++
13:27 moritz niecza: ~()
13:27 p6eval niecza v13-306-g54d251d: OUTPUT«Unhandled exception: System.ArgumentOutOfRangeException: Argument is out of range.␤  at System.Text.StringBuilder.set_Length (Int32 value) [0x00000] in <filename unknown>:0 ␤  at Niecza.CtxParcelListStr.Get (Niecza.Variable obj) [0x00000] in <filename unk…
13:28 moritz now that was kinda obvious :-)
13:28 masak moritz++
13:28 colomon moritz++ # fair enough
13:28 masak maybe in sink context it might be optimized away, though :)
13:29 moritz seems niecza isn't smart enough for that yet
13:29 moritz and it requires quite some analysis about method purity
13:30 p4 am i an idiot for not understanding what the bot is even doing?
13:31 moritz you're not
13:31 moritz it runs Perl 6 code on various compilers
13:31 moritz and right now it errors out
13:31 masak nom: say "OH HAI"
13:31 p6eval nom ed943e: OUTPUT«OH HAI␤»
13:31 moritz nom: my $x = 'p3'; $x++; say "Hello $x"
13:31 p6eval nom ed943e: OUTPUT«Hello p4␤»
13:31 masak nom: .say for 1..12
13:31 p6eval nom ed943e: OUTPUT«1␤2␤3␤4␤5␤6␤7␤8␤9␤10␤11␤12␤»
13:32 p4 i admit that when i first joined the channel i had a strong urge to have it fork while fork
13:32 p4 but that wouldn't be a very nice thing to do
13:32 moritz p4: do try
13:32 p4 haha
13:32 colomon niecza: ().Str
13:32 p6eval niecza v13-306-g54d251d: OUTPUT«Unhandled exception: System.ArgumentOutOfRangeException: Argument is out of range.␤  at System.Text.StringBuilder.set_Length (Int32 value) [0x00000] in <filename unknown>:0 ␤  at Niecza.CtxParcelListStr.Get (Niecza.Variable obj) [0x00000] in <filename unk…
13:32 masak moritz: easy on the encouraging vandalism ;)
13:33 moritz it's not perfectly sandboxed, but fork bombs and infinite loops are easy to guard against
13:33 moritz as well as excessive memory usage
13:33 moritz nom: eager 1 ... *
13:33 p6eval nom ed943e:  ( no output )
13:34 moritz nom: .say for 1 ... *
13:34 p6eval nom ed943e: OUTPUT«(timeout)1â�¤2â�¤3â�¤4â�¤5â�¤6â�¤7â�¤8â​�¤9â�¤10â�¤11â�¤12â�¤13â�¤14â�¤15â�¤16â�¤17â�¤1​8â�¤19â�¤20â�¤21â�¤22â�¤23â�¤24â�¤25â�¤26â�¤27â​�¤28â�¤29â�¤30â�¤31â�¤32â�¤33â�¤34â�¤35â�¤36â�¤​37â�¤38â�¤39â�¤40â�¤41â�¤42â�¤43â�¤44â�¤45â�¤46​â�¤47â�¤48â�¤49â�¤50â�¤51â�¤52â�¤53â�¤54â�¤55â�​¤56â�¤57â�¤58â�¤59â�¤60â�¤61â�¤62â�¤63â�¤64â�¤6​5â�¤66â�¤67â�¤68â�¤69â�¤70â�¤71â�¤72â�¤73â�¤74â​�¤75â�¤76â�¤77â�¤78â�¤79â�¤80â�¤81â�¤82â
13:38 masak p4: so, you're a Perl 4 user? :)
13:38 masak or just a fan of last year's fourth p6cc task?
13:38 moritz or perforce user? :-)
13:38 benabik Or perhaps related to P-1?
13:39 masak so many possibilities
13:39 p4 neither, i don't remember why i even joined this channel
13:39 p4 found the discussions interesting so i stayed
13:39 colomon nom: (1..4).Str
13:39 p6eval nom ed943e:  ( no output )
13:39 colomon nom: say (1..4).Str
13:39 p6eval nom ed943e: OUTPUT«1 2 3 4␤»
13:42 Alias joined #perl6
13:44 masak p4: the discussions here are so interesting they've probably delayed the release of Perl 6.0.0 by at least a month. :P
13:45 p4 i think that's a problem with most open source projects, to be honest
13:46 masak I wasn't being very serious.
13:46 masak there's plenty of interesting people here, so interesting discussions are bound to happen.
13:46 p4 i know :p
13:48 masak I always have slight trouble coping with the S/N ratio on other channels.
13:49 moritz well, the noise in other channels isn't as interesting as here :-)
13:50 benabik I sometimes have a problem with the signal to p6eval ratio here.  ;-)
13:50 masak "#perl6: obscuerly abstract on-topic discussions, interesting noise"
13:50 masak benabik: I don't, I just think of p6eval as a first-class citizen nowadays.
13:50 p4 at least nobody's posted a picture of a cat or some other cute animal
13:50 masak benabik: she speaks when spoken to, and babble when people use 'perl6: '
13:51 masak benabik: more predictable than most human citizens :P
13:51 benabik masak: Point.
13:51 benabik masak: Definitely more predictable than dalek.  ;-)
13:51 masak p4: clearly you missed our butterfly, zebra, and panda period :P
13:52 * moritz occasionally finds masak++ pretty predictable
13:52 p4 well, you do have a cute butterfly on your project's homepage
13:52 p4 blah
13:52 benabik And the channel topic.
13:52 p4 so that's what that is
13:52 bbkr any idea what "-bundle not allowed with -dynamiclib ... Symbol not found: _dlLoadLibrary" error means? happened while running test suite for Zavolaj
13:52 masak »ö« !
13:53 benabik bbkr: It means that Zavolaj is using the wrong build flags for OS X.
13:53 masak moritz: well, it's easy to make me happy, at least. just trigger a bug somewhere :)
13:53 moritz didn't arnsholt report the same problem earlier?
13:53 benabik ...  Wasn't someone work- right, arnsholt
13:54 bbkr benabik: thanks
13:55 benabik bbkr: Discusson on that yesterday starts here: http://irclog.perlgeek.de/​perl6/2012-01-18#i_5011544
13:57 mattp_ joined #perl6
14:08 mtk joined #perl6
14:13 tokuhirom joined #perl6
14:30 cognominal joined #perl6
14:31 PacoAir joined #perl6
14:46 Woodi joined #perl6
14:48 masak one cool use of Tardis (or a debugger with similar detailed access) would be to run a test with two or more threads in "all possible ways", assuring that no data conflicts arise no matter which order threads run things in.
14:52 moritz then it's not enough to be time traveling, it needs to be time altering
14:52 masak right.
14:52 masak it's all a matter of having an API with "step forward" buttons on each interpreter thread.
14:53 PerlJam I think a couple of people here have been hanging around Damian too much :)
14:53 * masak wouldn't mind hanging around Damian a lot more
14:53 moritz I've used a formal verification tool that did similar things, but only in a language that was specifically designed for it
14:54 flussence .oO( sounds vaguely similar to the replace-malloc-with-fork trick used to test OOM handling... )
14:54 masak I find http://whiley.org/2012/01/18/connecting-the-​dots-on-the-future-of-programming-languages/ thought-provoking.
14:54 masak I don't expect Perl 6 to get core support for "pure functions", but maybe a module could do something like that.
14:57 moritz masak: I kinda expect that rakudo will get an 'is pure' or so trait (and having many functions/methods in the setting using it), and that the optimizer will use it
14:59 masak oh, ok. very well. I look forward to that.
15:04 mattp_ joined #perl6
15:06 [Coke] what if you lie?
15:06 masak [Coke]: then you might get results you wouldn't've gotten otherwise.
15:07 masak alternatively, the compiler might catch some of the lies and throw errors.
15:07 masak I doubt it will can catch all of them, but it can probably get quite close.
15:07 PerlJam Well ... that's why the guy at that end of that article you posted suggested that purity must be determined by the compiler and not the human.
15:07 moritz it falls into the same category as MOP stuff: you'd better know what you're doing if you do that
15:07 PerlJam humans are necessary but insufficient
15:08 moritz aye
15:08 masak it will probably have to be a fruitful interplay between compiler and programmer.
15:08 PerlJam masak: I think so too.
15:08 moritz I think in the long run it must be less ridgid for the programmer than haskell's type system
15:09 PerlJam Programmer: I declare that this routine is pure!  Compiler:  Um ... it was pure until ... right *here*.  Are you *sure* about this ?
15:09 moritz [no, make it impure] [yes, shut up] [error out please]
15:10 PerlJam (with varying ways for the programmer to tell the compiler "I know what I'm doing, now shut up!"
15:10 PerlJam )
15:10 moritz use MONKEY_PURITY;
15:11 flussence (don't we get pure functions for free just by using immutable types?)
15:11 moritz flussence: no
15:11 moritz flussence: because variables are still mutable, even if individual objects are not
15:12 moritz Int is immutable, but you can still reassign a variable types as 'my Int $x'
15:12 moritz because it's a *variable*, not a constant :-)
15:12 PerlJam flussence: the lesson is that purity is easier to achieve with immutability so we, as programmers, should strive to use values rather than variables.
15:13 PerlJam flussence: but it's by no means "free"
15:13 flussence I'm not making much sense today :)
15:14 moritz sub uniq(*@a) { my %h; @a.grep({ !%h{$_}++}) }
15:15 moritz that one is interesting because it's pure from the outside, but uses mutable state internally
15:15 moritz does haskell allow such functions with "pure" types?
15:16 flussence what I was trying to get at is - if there's already "is ro", and the function only takes simple scalars with no mutator methods (which is a bit harder to figure out), there's no need to write "is pure" in the code
15:16 masak flussence: this is where it helps remembering the three levels variable->container->value. you can change an Int variable because of the existence of the middle layer, even though Int is an immutable type.
15:16 masak flussence: no, purity has to do with side effects too.
15:16 masak flussence: a 'say' anywhere would make it impure.
15:17 masak flussence: the requirement is actually something much more like idempotence.
15:17 masak though that's also too wide :)
15:17 moritz well, there lots of ways in which a code block can make itself impure
15:18 moritz state variables, flipflops, assigning/binding outer variables, calling impure code
15:18 cognominal_ joined #perl6
15:18 moritz potentially throwing exceptions
15:18 masak right.
15:19 moritz and note that each dispatch can potentially fail, unless you can prove at compile time that it must succeed
15:19 moritz nom: say Mu + Mu
15:19 p6eval nom ed943e: OUTPUT«No applicable candidates found to dispatch to for 'infix:<+>'. Available candidates are:␤:(Any $x = { ... })␤:(int $a, int $b)␤:(num $a, num $b)␤:(Int:D \$a, Int:D \$b)␤:(Num:D \$a, Num:D \$b)␤:(Rat \$a, Rat \$b)␤:(Rat \$a, Int \$b)␤:(Int \$a, Rat \$b)␤:(Complex:D \$a…
15:20 flussence postgresql does something interesting: you *have* to specify whether a function is side-effecty/pure/constant. It can figure out when you're lying to it, too.
15:21 moritz but why do you have to say it if it can figure out anyway?
15:22 flussence they prefer "do what I say" instead of DWIM, I guess :)
15:22 moritz it's a bit like "tell me a number" -- "5" -- "wrong, 3 would have benn correct"
15:22 masak moritz: I agree it'd be more annoying than useful, but it *is* useful, for above-stated reasons.
15:23 masak (you get an error when a change makes a sub impure, for example)
15:23 sayu joined #perl6
15:26 sirhc joined #perl6
15:26 flussence pg's internals would make a pretty nice static-typed programming language, if it weren't for the syntax it uses :)
15:27 Trashlord joined #perl6
15:29 moritz flussence: so come up with a nice syntax for it, and rule the world :-)
15:32 flussence I dunno if that's necessary... perl6 is close enough that it might cover all of pl/pgsql already. :)
15:42 cognominal___ joined #perl6
15:44 Alias joined #perl6
15:45 thou joined #perl6
15:48 colomon phenny: tell sorear Your commit last night broke ~() -- in turn that broke at least a dozen spectests.
15:48 phenny colomon: I'll pass that on when sorear is around.
15:49 masak hm, doesn't sorear run the spectests before committing? :)
15:53 [Coke] he has an army of testers. and he definitely runs it before cutting a release.
15:55 moritz speaking of testing...
15:56 kaleem joined #perl6
15:56 benabik joined #perl6
15:57 moritz jnthn: it seems that the <prior> commit was the bad one, but that my feeble attempts at reverting it didn't work. I get nearly no test failures when checking out the revision before it. Doing one last spectest run to confirm that
15:57 * [Coke] waits to hear back from sorear before kicking off another comparative run.
15:59 jnthn moritz: ok. feel free to move it off into a branch
16:00 * jnthn decommutes
16:02 [particle] joined #perl6
16:08 mucker joined #perl6
16:12 am0c joined #perl6
16:15 PacoAir joined #perl6
16:44 PacoLinux joined #perl6
16:46 kaleem joined #perl6
17:00 * masak decommutes
17:29 kaare__ joined #perl6
17:32 colomon masak: Are you kidding?  sorear++ doesn't have time to spectest between patches!  ;)
17:36 TimToady masak: 所 basically means "place", and most of the compounds look to be derived from that to me, if you allow "place" to have metaphorical and pragmatic meanings, e.g. 所以 is "place from-here", and you can see that the English gloss "therefore" also uses the place metaphor to point to a linguistic spot in the current discourse
17:42 cognominal joined #perl6
17:45 TimToady and, of course, to have a place is to exist
17:47 TimToady and something like 有所 "exists place" == "somewhat" is extending the place metaphor in the "one place is not another" direction, in the way we'd say "there's a time and place for that"
17:47 PerlJam mise en place
17:48 pat_js joined #perl6
17:49 geekosaur and then there's the idiomatic meaning of המקם
17:58 rsimoes hey so if everything in perl 6 is typed now
17:58 rsimoes what's the point of sigils?
17:59 moritz they are micro-namespaces
17:59 moritz you know immediately that foo is a routine, $foo a scalar, @foo an array and %foo a hash
17:59 TimToady readability wrt singular/plural; discouragement of use of nouns when cascaded functions/methods are better; creating a small namespace for twigils
17:59 PerlJam rsimoes: they give hints as to how to access the thing too
18:00 moritz and you can use all 4 in the same scope without conficlits if you want to
18:00 [Coke] also, you don't have to worry about collisions like: my time = time;
18:00 rsimoes syntax highlighter can handle that now that it's able to deduce types, yeah?
18:00 TimToady they also mark the head of a noun phrase so you can spot it easily
18:00 [Coke] whoops, I thought moritz said &foo, not foo; nevermind, listen to him. ;)
18:00 * moritz thinks there should be an FAQ entry about sigils
18:01 birdwindupbird joined #perl6
18:01 rsimoes I always end up asking the FAQs in here =[
18:01 TimToady and because many natural languages use mandatory noun markers, so our brains are built to handle it
18:01 moritz rsimoes: syntax hilighters don't help you with patches, for example
18:01 rsimoes oh yeah that's true
18:01 moritz also sigils control when lists flatten
18:02 moritz @a.push: @b; # flattens the elements of @b
18:02 PerlJam TimToady: that sounds like a little chicken and egg argument :)
18:02 moritz @a.push: $b; # does not flatten, even if $b holds an Array
18:02 TimToady I like both chickens and eggs, but I can only eat chickens
18:04 TimToady we've also specced a way to program largely without sigils, but it's not implemented yet
18:04 [Coke] O_o
18:04 TimToady my \x = 42; say x
18:06 TimToady S06:1176
18:10 Chillance joined #perl6
18:14 TimToady and obviously, the first chicken egg came before the first chicken, since somatic mutations are not heritable
18:38 ksi joined #perl6
18:38 araujo joined #perl6
18:38 araujo joined #perl6
18:40 * masak home
18:46 dnewkirk joined #perl6
18:48 masak TimToady: ah. 所 meaning "place" feels like something I've once known.
19:00 masak [Coke]: I find it's not very different from writing 'constant x = 42; say x'. just shorter.
19:01 [Coke] niecza is failing 1122 tests.
19:01 moritz wow.
19:02 [Coke] so, down to 95%. If we pass all those tests again, we're up to 101%
19:02 RobiX joined #perl6
19:03 [Coke] gist updated; I'll do another run today if I see anything from either camp.
19:09 moritz ok, I've given up on the rakudo test failures
19:10 moritz I'm now reverting to the last known revision
19:10 dalek rakudo/nom: 04b34ec | moritz++ | src/core/ (5 files):
19:10 dalek rakudo/nom: revert the last few commits to deal with test failures
19:10 dalek rakudo/nom:
19:10 dalek rakudo/nom: The following commits are reverted here:
19:10 dalek rakudo/nom: 0ac25d036db5630d9794135915174dd1ca0d1d08 First cut implementation of <prior>
19:10 dalek rakudo/nom: aa1d8b645107becb8fa6c7b3d87968a9ff1da296 optimize Range.roll and Range.pick
19:10 dalek rakudo/nom: 0deac24dfe5fda0ce8d46cdae66eba2d928f0c2d try to fix sleep() with non-Num argument
19:10 dalek rakudo/nom: 2fd18f4b66a69f2b9c925f1fbe720bfcf277faad fix Range.{roll,pick}
19:10 dalek rakudo/nom: 42068aafbf3abf0b581f81ad8871b20823ee53ca remove debugging statement
19:10 dalek rakudo/nom: ed943e669a8ea11e28f1e32771f8c0ca2f7ad361 stringify stuff before passing it to the regex engine
19:10 dalek rakudo/nom:
19:10 dalek rakudo/nom: the previous state of the art is in the branch nom-with-failing-tests
19:10 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/04b34ec346
19:10 moritz and will try to apply te patches in logical (instead of chronological) order
19:10 moritz and spectest after each one
19:11 colomon [Coke], moritz: I think the niecza test failures are a relatively simple issue.  BUT my attempt to fix it went no where, and I have no idea what the heck went wrong with it.  I predict sorear++ will have it fixed within five minutes of checking in here...
19:11 moritz colomon: yes, that seems likely
19:13 masak moritz++
19:14 pyrimidine joined #perl6
19:15 * masak .oO( gotta pull this revision, since it's known-good )
19:19 sorear good * #perl6
19:19 phenny sorear: 15:48Z <colomon> tell sorear Your commit last night broke ~() -- in turn that broke at least a dozen spectests.
19:20 dalek niecza: 318efc1 | sorear++ | lib/Kernel.cs:
19:20 dalek niecza: Fix ~(), colomon++
19:20 dalek niecza: review: https://github.com/sorear/niecza/commit/318efc1b22
19:23 sorear masak: running all the spectests takes about an hour on this machine.  I won't commit anything unless it passes the 'can still compile CORE' test (~1m), and for more dubious stuff I'll run 'make test' as well (3-4m)
19:23 sorear I used to start a spectest run daily before going to bed, but [Coke]++ and colomon++ have been beating me to that lately. ;)
19:28 benabik joined #perl6
19:29 masak sorear: :)
19:29 masak [Coke]++ colomon++
19:31 benabik joined #perl6
19:41 kaare_ joined #perl6
19:46 moritz wow. It seems that there are actually two sources for the test failures
19:46 moritz the first is jnthn's <prior> commit
19:46 moritz and the second is my combined Range.roll and Range.pick optimizations
19:46 moritz which broke tests that are totally unrelated to roll and pick
19:48 carlin joined #perl6
19:48 masak that explains a lot.
19:48 masak I've said it before, but -- man, I like Perl 6! it's a really fine language to express programming thoughts in!
19:49 moritz it seems that hyper operator tests fails
19:49 moritz *fail
19:50 thou joined #perl6
19:51 bluescreen10 joined #perl6
19:51 moritz ah, hyper uses Range.pick
19:51 araujo joined #perl6
19:51 araujo joined #perl6
19:51 moritz how curious
19:51 benabik To ensure random ordering.
19:51 masak I know why.
19:51 masak right.
19:52 masak just to not give people ideas.
19:55 moritz ah, because .pick(*) is broken
19:55 * masak uses an all-junction of Callables in his code
19:56 moritz because I'm stupid
19:56 moritz I've re-dispatch Range.pick(*) to self.list.pick()
19:58 jnthn evenin'
19:59 moritz \o jnthn
19:59 masak jnthn! \o/
19:59 * [Coke] will hold off on a rerun of rakudo's tests until moritz selfcorrects.
19:59 moritz jnthn: I'm on track to fixing some of the spectest failures... turns out that hyper ops fail, because they used Range.pick, and I've botched that one case
20:00 jnthn moritz: aha :)
20:00 jnthn moritz++ # fixing stuff
20:01 moritz jnthn: the prior patch also caused some fallout, but it'll be easier to understand once the other noise is gone
20:01 jnthn moritz: I think I did something silly in it anyway.
20:03 not_gerd joined #perl6
20:03 not_gerd hello, #perl6
20:03 not_gerd how to fix the Rakudo Cygwin build: https://gist.github.com/1635180
20:04 masak hi, not_gerd
20:05 jnthn o/ not_gerd
20:05 jnthn thanks for that
20:14 jnthn not_gerd: Am currently tied up with $dayjob stuff, but will try and sort out the nqp and Rakudo bits at the weekend, if nobody beats me to it.
20:19 muixirt moritz: more reverts coming?
20:19 muixirt still some spectest failures and one hannging test
20:19 jnthn muixirt: Which one?
20:20 muixirt jnthn: erm, dunno, my box was unusable because i was afk for some time
20:21 muixirt had to kill it
20:25 pyrimidi1e joined #perl6
20:25 Chillance joined #perl6
20:29 dalek rakudo/nom: f56c3ec | moritz++ | src/core/Range.pm:
20:29 dalek rakudo/nom: optimize Range.roll, and Range.pick if the number of range elems is much larger than the number of elements to pick
20:29 dalek rakudo/nom:
20:29 dalek rakudo/nom: this is a squashed version of these three commits:
20:29 dalek rakudo/nom:  aa1d8b645107becb8fa6c7b3d87968a9ff1da296
20:29 dalek rakudo/nom:  2fd18f4b66a69f2b9c925f1fbe720bfcf277faad
20:29 dalek rakudo/nom:  42068aafbf3abf0b581f81ad8871b20823ee53ca
20:29 dalek rakudo/nom: plus a small fix to .pick(*)
20:29 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f56c3ecaf9
20:29 moritz muixirt: that one should fix the hang
20:30 cooper joined #perl6
20:30 muixirt dammit t/spec/S32-list/roll.rakudo
20:31 muixirt i rerun it
20:31 * moritz recommends a ulimit -v of 2GB for spectesting
20:35 moritz PATH := $(PARROT_BIN_DIR):$(PATH)
20:35 moritz will that work on windows?
20:35 moritz I mean, non-cygwin?
20:35 jnthn No
20:35 colomon sorear: I'm pretty sure spectesting takes under 10 minutes on my MacBook Pro using all four cores.  Eats battery like nobody's business, though!
20:36 moritz ISTR that the path separator is ; on windows, so I see a problem with adding that to the Makefile
20:36 jnthn moritz: Conditional add for cygwin maybe
20:36 jnthn moritz: But copying the file is maybe easier
20:36 jnthn I need to do the libparrot.dll copying fix for Windows outside of cygwin too
20:36 muixirt colomon: wow!
20:37 alabala joined #perl6
20:37 * jnthn does Rakudo spectest on his quad core dev box at home within 4 mins :)
20:37 moritz does niecza's 'make spectest' parallelize if TEST_JOBS is set?
20:38 moritz jnthn: and how long does it take to build the setting?
20:38 jnthn moritz: Too long. Minute or so. :S
20:38 colomon moritz: I believe so
20:38 jnthn moritz: Will be faster when we make half as many PAST nodes...
20:38 moritz jnthn: wow. It takes several minutes here
20:39 jnthn Ah, certainly not that long for me.
20:39 jnthn Well, I try and do serialization stuff within the next month.
20:39 moritz is that what will bring down the number of POST nodes?
20:40 jnthn Yeah
20:40 jnthn About half of the generated PIR today is stuff that will be replaced by the serialization.
20:41 * masak looks forward to the day when Rakudo optimizes some conditions involving junctions into something involving boolean operators instead :)
20:41 moritz jnthn: did you have any clever thoughts on how to fix the real-trouble branch?
20:43 tadzik good evning
20:43 jnthn hllo tadzik
20:43 jnthn moritz: Not yet.
20:44 jnthn moritz: Though didn't think about it too deeply in last few days...been more preoccupied with teaching and the regex backtracking stuff.
20:44 moritz no hurry, just wanted to not forget it :-)
20:44 jnthn indeed...don't want the real-trouble to last too long... :)
20:45 not_gerd jnthn: what's the size of parrot.dll when compiling with MSVC?
20:45 colomon this is the Real to role thing?
20:45 jnthn not_gerd: My libparrot.dll (built 64-bit) is 1,905,664
20:46 jnthn colomon: yeah
20:46 colomon 8m40 for my niecza spectest run
20:46 moritz colomon: yes
20:46 not_gerd my cygparrot4_0_0.dll (unstripped) is ~64MB(!)
20:46 jnthn o.O
20:46 jnthn What happens if you strip?
20:46 colomon wouldn't the simplest solution just being getting rid of the multis?
20:46 arlinius joined #perl6
20:47 not_gerd jnthn: gets rid of half of it
20:47 * colomon has a hard time believing nom is less capable in these matters than ng was....
20:47 jnthn Only half? Whoa.
20:47 colomon sorear: spectest clean now, btw
20:47 jnthn colomon: I'm guessing we arranged things differently in ng. I need to go back and look
20:47 colomon jnthn: I remember I had to be very careful with some role-related stuff
20:51 moritz colomon: thing is, we need some multis for proper :U/:D distinctin
20:51 colomon moritz: no you don't.  just create one and test if self is defined
20:52 * colomon hopes that's not become illegal...
20:52 jnthn s/defined/DEFINITE/
20:52 jnthn Could do but...
20:52 jnthn nom: role R { multi a() { } }; class C does R { multi a() { } }; C.a
20:52 p6eval nom 04b34e: OUTPUT«Method 'a' not found for invocant of class 'C'␤  in block <anon> at /tmp/WG4CYQwDOf:1␤  in <anon> at /tmp/WG4CYQwDOf:1␤»
20:53 moritz colomon: well, the theory is that if you add a multi method gist(::?CLASS:D:) { }, then the type object will continue to stringify correctly
20:53 jnthn Need to check the spec to see if it has anything on that, but it's possible that we should exclude the candidate from the role if it exactly matches the sig of the one in the class.
20:58 mj41 joined #perl6
21:01 dalek rakudo/nom: 7006f70 | moritz++ | src/core/control.pm:
21:01 dalek rakudo/nom: try to fix sleep() with non-Num argument
21:01 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7006f70f4e
21:06 [Coke] with sorear++'s fix, now: # 01/19/2012 - niecza at 100.77%
21:07 * [Coke] will do another full run later tonight.
21:09 not_gerd left #perl6
21:14 jaldhar joined #perl6
22:01 lichtkind joined #perl6
22:01 lichtkind o/
22:02 masak \o
22:02 lichtkind is there a way that someone could foreward one post to planet perl 6
22:02 lichtkind the tableets made some goo progress
22:02 masak lichtkind: did you hear? Niecza surpassed Rakudo in number of spectests passed!
22:02 lichtkind lichtkind sees everything
22:03 lichtkind its part of my job
22:03 masak omniscience. you has it.
22:04 lichtkind im going to blog on blogs.perl and would like to see in on planet perl 6
22:05 lichtkind because you can not link to almost every perl 6 command directly to an url
22:05 lichtkind which can be handy for some automated things
22:12 sorear masak: not just that, Niecza surpassed Rakudo THREE OR FOUR TIMES!
22:13 sorear on spectests
22:14 masak :P
22:14 masak E-E-E-Easter
22:15 masak clearly this kind of competition is just what the Rakudo people have been needing.
22:16 masak I hear they're even bringing back pm to combat the looming niecza threat.
22:16 slavik niecza, what technology/language is it based on?
22:16 slavik is it the mono one?
22:16 masak aye.
22:17 pat_js joined #perl6
22:21 sorear tbh I feel a tiny amount dirty about this, like the assiduous fudging was in some way gaming the system
22:27 masak sorear: I don't think the numbers exxagerate the fact that Niecza is now quite featureful and usable.
22:28 masak exaggerate*, even.
22:28 PerlJam sorear: all the implementations are "gaming the system" :)
22:28 lichtkind http://blogs.perl.org/users/lichtkind/​2012/01/sorta-perl-6-grant-report.html
22:28 pyrimidine left #perl6
22:38 domidumont joined #perl6
23:02 cognominal joined #perl6
23:06 masak 'night, #perl6
23:11 am0c joined #perl6
23:12 domidumont joined #perl6
23:25 donri left #perl6
23:39 Transformer joined #perl6
23:42 Transformer left #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs