Camelia, the Perl 6 bug

IRC log for #perl6, 2009-10-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 diakopter also it needs sprixelCORE.setting copied to the snap
00:00 diakopter afk&
00:11 kst joined #perl6
00:18 muixirt_ joined #perl6
01:00 muixirt_ joined #perl6
01:04 hercynium joined #perl6
01:04 eternaleye_ joined #perl6
01:10 eternaleye joined #perl6
01:29 eternaleye joined #perl6
01:29 agentzh joined #perl6
01:33 kst joined #perl6
01:34 lumi joined #perl6
01:34 eternaleye joined #perl6
01:35 orafu joined #perl6
01:38 __ash__ joined #perl6
01:58 pugs_svn r28834 | diakopter++ | [STD Makefile] add sprixelCORE.setting
01:59 p6eval joined #perl6
02:00 p6eval joined #perl6
02:01 diakopter sprixel: say 4,545342453523235553254245​2452389821009370765843100
02:01 p6eval sprixel 28833: OUTPUT«45453424535232355532542​452452389821009370765843100␤»
02:01 diakopter it's alive.
02:02 diakopter yes, it double parses the setting. :) so it's slow x8
02:05 eternaleye joined #perl6
02:15 pugs_svn r28835 | diakopter++ | [sprixel] handle more than one setting .pm (by slurping them all together and feeding to STD in one bite).
02:15 pugs_svn r28835 | [sprixel] add Str.pm to the setting, with its (constant/internal, called from parser action) ctor function
02:20 pugs_svn r28836 | diakopter++ | [sprixel] implement quote__S_Double_Double, again.
02:28 diakopter I just realized that since none of the sprixel context's state is stored in JS closures, it can be trivially emitted to JS.....!
02:32 diakopter (and so the post-setting context can be loaded from a sprixelCORE.setting.js file)
02:33 * diakopter leaves that optimization for another day
02:43 crythias left #perl6
02:58 synth joined #perl6
02:59 synth joined #perl6
03:00 kst joined #perl6
03:10 quietfanatic I have a very odd syntax error...
03:11 lisppaste3 quietfanatic pasted "fails at elsif $_[0], in the second method" at http://paste.lisp.org/display/88872
03:12 quietfanatic why does the first method parse and the second not?
03:15 quietfanatic (and yes that $_[0] is supposed to be $ not @
03:18 quietfanatic )
03:20 pmichaud joined #perl6
03:20 tak11 joined #perl6
03:20 nihiliad joined #perl6
03:20 Solarion joined #perl6
03:20 Juerd joined #perl6
03:20 Trinity94 joined #perl6
03:21 astinus joined #perl6
03:21 Solarion joined #perl6
03:22 quietfanatic and commenting out the first methods stops the error
03:22 quietfanatic s/methods/method/
03:24 quietfanatic Aha, it is the postcircumfix:<{ }> declaration.
03:26 quietfanatic I guess that is NYQI
03:42 envi^office joined #perl6
04:12 desertm4x joined #perl6
04:17 mberends joined #perl6
04:24 kst joined #perl6
04:24 Confield left #perl6
04:25 mberends sprixel: say "the V8 is back";
04:25 p6eval sprixel 28836: OUTPUT«the V8 is back␤»
04:31 zloyrusskiy joined #perl6
04:31 justatheory joined #perl6
04:39 eMaX joined #perl6
04:42 dalek nqp-rx: 66906e8 | pmichaud++ | src/NQP/ (2 files):
04:42 dalek nqp-rx: More nqp value handling improvements.
04:42 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/6​6906e8ebb7bf890e168371a5214e7e10f97aefc
04:42 dalek nqp-rx: 4778331 | pmichaud++ | src/ (3 files):
04:42 dalek nqp-rx: Allow Cursors to bind non-Match objects.
04:43 dalek joined #perl6
04:44 pugs_svn r28837 | mberends++ | [sprixel] more documentation as sprixel convalesces after major surgery
05:03 patspam joined #perl6
05:04 diakopter mberends: do you want to write .DISPATCH :)
05:05 mberends hmm, must think about that. I was looking at getting 'make test' working
05:05 diakopter oh, hrm
05:05 diakopter oh
05:05 mberends it's yearning for && to work
05:05 diakopter well, I guess Test.pm could be made to work without any hacks/workarounds now
05:06 diakopter I mean, it would refer to the args in each sub in the jseval JS (not P6 named parameters)
05:06 diakopter gtg
05:06 mberends but && may be the first of many things todo for use Test to work
05:06 mberends ok, nice work!
05:09 jaldhar joined #perl6
05:16 dalek nqp-rx: a5131aa | pmichaud++ | src/ (4 files):
05:16 dalek nqp-rx: Split NQP into shared (HLL) and non-shared (NQP) components.
05:16 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/a​5131aa37cfdfc9c09dc40702373e1e3c658939b
05:16 dalek nqp-rx: b25240b | pmichaud++ |  (5 files):
05:16 dalek nqp-rx: Split NQP into shared (HLL) and non-shared (NQP) components.
05:16 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/b​25240b49f37d70a35e4784139f30701b902a928
05:16 dalek nqp-rx: 532f8aa | pmichaud++ | .gitignore:
05:16 dalek nqp-rx: Some .gitignore updates.
05:16 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/5​32f8aac0b7940aa4140f995b82e639ea7aa2b3d
05:28 NorwayGeek joined #perl6
05:36 am0c joined #perl6
05:51 zloyrusskiy joined #perl6
05:53 flip214 joined #perl6
05:54 flip214 I've found another bug in rakudo
05:54 flip214 rakudo: my $a; say $a.WHAT.HOW.WHERE.HOW;
05:54 p6eval rakudo 827734: OUTPUT«Int()<0x10a8b18>␤»
05:54 flip214 that works
05:54 flip214 rakudo: my $a; say $a.WHAT.HOW.WHERE.HOW.HOW;
05:54 p6eval rakudo 827734:  ( no output )
05:54 flip214 but two .HOW result in a segfault
05:54 flip214 at least for me
05:54 rfordinal3643 left #perl6
05:54 flip214 rakudo: my $a; say $a.HOW.HOW;
05:54 p6eval rakudo 827734:  ( no output )
05:56 rfordinal joined #perl6
05:56 zloyrusskiy joined #perl6
06:13 diakopter segfault for me too
06:14 pugs_svn r28838 | mberends++ | [sprixel] yet another documentation update
06:16 flip214 @tell masak: rakudo: my $a; say $a.WHAT.HOW.WHERE.HOW.HOW;
06:16 lambdabot Consider it noted.
06:16 diakopter convert the program AST from YAML format to JavaScript
06:17 diakopter actually it's not yaml; it's just Perl values
06:17 canhope joined #perl6
06:17 mberends oh :/
06:18 diakopter to contain source from all setting files
06:18 diakopter not setting files, runtime .js files
06:19 diakopter the setting (.pm) files are slurped in/together earlier
06:19 mberends is $r an AST in perl5  hash-of-hash format or somesuch?
06:19 diakopter yeah, though blessed
06:19 mberends ok, runtime .js, thanks
06:19 * mberends re-documents
06:20 diakopter it's kinda neat... there are 3 layers of contexts there
06:20 diakopter well, 4
06:21 pnate joined #perl6
06:21 mberends "context" is a most overloaded name for ...whatever
06:22 diakopter the Perl context, the multiple V8 contexts (which can be controlled/injected from any of the Perl or [self or other] V8 contexts), the JS notion of lexical context at runtime, and then the Perl 6 context (lexical scope combo with interpreter state and ast)
06:23 mberends heh
06:23 lumi joined #perl6
06:23 mberends for my (in)sanity: @js is runtime library, $s is setting, right?
06:29 diakopter correct
06:30 mberends :)
06:41 jaldhar joined #perl6
06:45 pugs_svn r28839 | mberends++ | [sprixel] clarified difference between setting and runtime library
06:45 Su-Shee joined #perl6
06:45 Su-Shee good morning.
06:46 mberends gm Su-Shee
06:48 rfordinal joined #perl6
06:54 mariuz joined #perl6
06:55 moritz_ \o/
06:56 Su-Shee moritz_: you finished/managed what? :)
06:56 moritz_ Su-Shee: I finished putting my arms up in the air
06:58 * mberends will put his arms up in a shower &
06:59 Su-Shee moritz_: congrats. if you define this as a success, it must have been some evening yesterday. ;)
06:59 * diakopter approaches sleep
06:59 moritz_ ;-)
07:00 * Su-Shee already had her arms under the shower and also in the bodylotion bottle.
07:00 moritz_ that must be quite a big bottle (or short arms :)
07:00 Su-Shee well, figuratively speaking. the channel now smells nicely only virtually, anyway. ;)
07:02 Su-Shee "perl 6 will also make camels smell nice." ;)
07:28 * mberends smells virtually nice
07:38 mberends well, that flew like a lead balloon :/
07:45 eMaX joined #perl6
07:46 jferrero joined #perl6
07:47 Su-Shee to where do I direct a young perl padawan interested in perl6/dbi?
07:49 moritz_ here...
07:49 moritz_ or #dbdi, though that's pretty empty right now
07:49 Su-Shee I'll bring him here.
07:49 moritz_ Su-Shee++
07:52 mberends see also: http://github.com/tene/perl6-sqlite
07:54 Su-Shee he'll have a full jabber window when he wakes up ;)
07:59 kst joined #perl6
08:04 lumi joined #perl6
08:09 envi^office joined #perl6
08:14 TiMBuS joined #perl6
08:14 JimmyZ joined #perl6
08:24 ihrd joined #perl6
08:24 ihrd left #perl6
08:41 NorwayGeek joined #perl6
08:44 dalek book: 4fe7f7b | moritz++ | src/multi-dispatch.pod:
08:44 dalek book: [MMD] give the proto the right arity
08:44 dalek book: review: http://github.com/perl6/book/commit/4f​e7f7bd9c6f3f33f32c4f9d88e9f30a0997ddc8
08:47 masak joined #perl6
09:05 am0c joined #perl6
09:12 araujo joined #perl6
09:19 jnthn oh morning
09:19 * masak yawns
09:19 lambdabot masak: You have 1 new message. '/msg lambdabot @messages' to read it.
09:19 moritz_ \☕/
09:20 masak @massage
09:20 lambdabot flip214 said 3h 3m 25s ago: rakudo: my $a; say $a.WHAT.HOW.WHERE.HOW.HOW;
09:20 moritz_ @tell := { say 'use phenny instead' }
09:20 moritz_ actually betterworld reported the .HOW.HOW segfault a while ago
09:20 * masak backlogs to find out what that cryptic message meant
09:20 jnthn why on earth would anyone do such a thing...
09:20 mathw oh hai
09:20 moritz_ jnthn: to test the semi-circularity of the MOP
09:21 moritz_ rakudo: say .HOW.HOW
09:21 p6eval rakudo 827734:  ( no output )
09:22 jnthn moritz_: Is a segfault a fail? ;-)
09:22 moritz_ :-)
09:24 * jnthn makes coffee
09:28 lumi joined #perl6
09:29 carlin Argh
09:29 * carlin is in unicode-hell :(
09:30 * moritz_ found long ago that it really pays off to have a working all-utf-8 setup
09:30 moritz_ especially when debugging encoding issues
09:30 Su-Shee ah, there's a code point for the devil's foot now? ;)
09:31 Su-Shee moritz_: indeed.
09:31 * Su-Shee helped finding a utf-16 BOM problem last week. poor innocent developer didn't know what his windows editor produced...
09:31 masak rakudo: class A { has $.x }; my $a = A.bless(42, :x("OH HAI")); say $a.x
09:31 p6eval rakudo 827734: OUTPUT«No such attribute '$!x' in class 'A'␤in Main (file src/gen_setting.pm, line 206)␤»
09:32 * masak is still a bit unclear on what can and can't be blessed
09:32 masak at the very least, it's a LTA error message.
09:32 jnthn masak: Rakudo answer: you can bless something that .CREATE gave you back.
09:32 jnthn masak: Anything else, forget it.
09:33 masak blech. :)
09:33 masak and Spec answer?
09:33 meppl joined #perl6
09:34 jnthn masak: Good question. I'm not sure exactly what else it's intended to do besides creating a default candidate if you pass not, then calling BUILDALL on it.
09:34 jnthn The smop guys probably feel differently though.
09:34 masak I can sometimes see the use for re-blessing an already .CREATEd object to a descendent class.
09:35 masak that would require running BUILD only on the newly introduced classes, I guess.
09:35 jnthn masak: I'd like to see a clear spec on what can and cannot be done with bless.
09:35 jnthn masak: Aye, that could work.
09:36 jnthn OK, I have 2 small @other-job to do.
09:36 jnthn And then it's on to the final resig2 issues.
09:37 mathw \o/
09:37 masak \o/
09:37 colomon \o/
09:38 * jnthn really hopes to merge today
09:38 jnthn Then we get to close some RT tickets. :-)
09:38 mathw \o/ \o/ \o/
09:38 * mathw is too happy to express it with o/ anymore
09:39 masak moritz_: full ACK on the @!array handles <push etc> thing. also hashes.
09:40 masak moritz_: I find it much more common to have objects behave like arrays/hashes than using the Array special case of 'handles'.
09:41 * mathw resets brain to Perl 5 and does some $work
09:41 jnthn masak: Well, that's three votes to kill it. :-)
09:42 masak as to the discussion about a newbie channel, I agree with everybody who has had an opinion in the matter. :P
09:43 masak I've heard the opinion that outsiders are "humbled" by the intricate discussions on #perl6. I think that's fine.
09:43 masak the day we lose that trait, is the day Perl 6 goes mainstream, and some of the magic goes away. :/
09:44 masak (I realize that may be read as an argument for elitism, but I don't think it is.)
09:44 jnthn 1337!
09:45 masak #perl6: Elitist Lolcats. :)
09:47 mathw The day we no longer have intricate discussions here is the day that they happen somewhere else instead
09:47 masak oh, absolutely.
09:47 masak I just like to have them here. :)
09:48 mathw They'll always be required, but particularly as the community grows somewhere else for people asking relatively straightforward questions instead of discussing why named parameters behave differently in multiple dispatch might be useful
09:48 masak quietfanatic: congratulations, you've discovered http://rt.perl.org/rt3/Tic​ket/Display.html?id=69438
09:48 Su-Shee the problem with the intricate discusssions is that they doesn't really look very much "perl 6 will be a programming language for non-academics as well"
09:49 mathw But all languages require such discussion
09:49 mathw It's the only way you sort out how it works!
09:49 desertm4x joined #perl6
09:49 Su-Shee (didn't I suggest a devel and a user's channerl already? I don't remember if it was here..)
09:50 Su-Shee mathw: sure they do. and yet all languages require users if they don't want to be labeled as "it's an academic niche language, don't bother..."
09:51 kst joined #perl6
09:57 mathw Su-Shee: Of course
09:57 mathw I think we all actually agree on this :)
10:13 dakkar joined #perl6
10:15 FCO joined #perl6
10:19 lumi joined #perl6
10:30 pmurias joined #perl6
10:34 moritz_ on the subject of newbie/dev channel I want to add that I'm not discussing this on my own account, but because I received feedback from people who perceived this channel to be suboptimal for newbies
10:39 hanekomu joined #perl6
10:41 Su-Shee I'd like to have a parrot-perl-6-and-related forum some day.
10:43 moritz_ start one. I'll answer as good as possible
10:43 moritz_ if you need hosting, that can be provided
10:44 pmurias why do we need a forum in addition to a mailing list?
10:45 arnsholt pmurias: For one thing, there're a lot of people who don't like mailing lists
10:45 Su-Shee pmurias: because it's one contemporary and nowadays common way how people gather to ask technical stuff.
10:45 moritz_ various reasons: 1) some people just like a forum better 2) a forum can be specialized (like specific link syntax, syntax hilighting)
10:45 mathw But if we split it too far, we get so that the (still small) community who can answer these questions have too many places to look for them
10:45 moritz_ 3) you can introduce a perlmonks-like voting system to motivate people to good answers
10:45 Su-Shee mathw: that's true.
10:46 mathw but that said, perlmonks has shown its use over the years
10:46 moritz_ masak: I guess that's why Su-Shee wrote "some day", not "now"
10:46 mathw so perl6monks, why not
10:46 Su-Shee moritz_: and you can subscribe to rss feeds selectively.
10:46 masak moritz_: was that for mathw?
10:46 moritz_ actually I'd rather like to get the Perl 6 users onto perlmonks too
10:46 moritz_ erm, yes
10:46 moritz_ sorry
10:46 moritz_ ma<tab> :-)
10:47 Su-Shee moritz_: I think, I looked into perlmonks about 50 times in xx years...
10:47 mathw When I changed my nick I had to keep one that preserved the tab completion mess :)
10:47 moritz_ s/mathw/wmath/ :-)
10:47 mathw There are occasionally Perl 6 things on PerlMonks at the moment...
10:47 moritz_ aye
10:48 moritz_ and nobody objected to them as being off-topic or so
10:48 mathw They're probably taking the view that it's still Perl
10:48 mathw which is nice
10:48 Su-Shee one can't force the success/failure of a forum/mailinglist anyway - only support or hinder.
10:49 moritz_ and [tye] (one of the gods there) seemed to be quite open to discussing future perl versions on perlmonks
10:49 moritz_ Su-Shee: right. and supporting stuff is really a question of effort
10:49 Su-Shee yes. indeed.
10:51 Su-Shee there will also some day the question of a rakudo-parrot or rakudo-perl6 conference or something like this coming up...
10:55 payload joined #perl6
10:58 pmurias Su-Shee: spliting it from the standard YAPC::{NA,EU} doesn't make much sense
10:58 moritz_ I think NPW was very successful both in terms of Perl 5 and Perl 6
10:59 moritz_ and I *so* regret that I couldn't be there
10:59 Su-Shee npw?
10:59 moritz_ nordic perl workshop
10:59 Su-Shee ah.
11:01 pugs_svn r28840 | pmurias++ | [re-mildew] start of Hash, t/hash.t passes
11:01 jnthn Yes, it was.
11:01 moritz_ mildew: my %h; say %h
11:01 p6eval mildew: OUTPUT«False()␤»
11:02 moritz_ mildew: my %h = a => 3; say %h
11:02 p6eval mildew: OUTPUT«Can't locate object method "emit" via package "AST::Pair" at src/AST.pm line 291.␤»
11:02 moritz_ mildew: my %h; %h<a> = 4; say %h
11:02 p6eval mildew: OUTPUT«unknown method "postcircumfix:{ }" at message line 70 file build/s1p/src/lexical.c␤»
11:03 pmurias mildew-js: my $foo = ::Hash.new;$foo{'foo'} = 123;say $foo{'foo'}
11:03 p6eval mildew-js: OUTPUT«123␤»
11:03 moritz_ wow, we have a mildew-js target :-)
11:04 pmurias diakopter++ added it
11:04 moritz_ it's nice to see that the bus number on evalbot increased
11:06 ihrd joined #perl6
11:07 ihrd left #perl6
11:09 moritz_ I mean it's not mission critical, but it does make discussions here a lot nicer
11:11 ihrd joined #perl6
11:12 ihrd left #perl6
11:15 * carlin looks forward to an IRC bot written in Perl 6
11:17 * Su-Shee looks forward to an irc bot, forum, blog engine, microblogging engine, wiki, cms, ... written in perl 6 :)
11:17 pmurias perl6: say ''.true,'0'.true
11:17 p6eval elf 28840, rakudo 827734: OUTPUT«11␤»
11:17 p6eval ..pugs: OUTPUT«␤»
11:17 * moritz_ looks forward to a Perl 6 compiler written in Perl 6
11:18 dr_df0 joined #perl6
11:18 moritz_ rakudo: say ~?''
11:18 p6eval rakudo 827734: OUTPUT«0␤»
11:18 * Su-Shee looks forward to moritz' book. ;)
11:18 moritz_ rakudo: say ~?'0'
11:18 snearch joined #perl6
11:18 p6eval rakudo 827734: OUTPUT«0␤»
11:19 moritz_ why does the .true thing answers with 1 both times?
11:19 moritz_ Su-Shee: not mine. Our! :-)
11:20 moritz_ announcement planned for Friday
11:20 moritz_ the day after the rakudo release
11:21 pmurias title?
11:21 moritz_ NYI :/
11:21 dr_df0 @karma
11:21 lambdabot You have a karma of 3
11:21 Su-Shee moritz_: today in the morning I thought about a system administrator's example and a networking example and a linguistic's example.
11:21 moritz_ we just call it "the book" so far :-)
11:21 moritz_ Su-Shee: do tell
11:22 pmurias moritz_: Perl 6: NYI ;) ?
11:22 moritz_ not sure we'll get around to proper networking in rakudo * though
11:22 moritz_ pmurias: :-)
11:22 Su-Shee moritz_: admin example could be apache logs parsing and combined with a networking example some automated update of whatever or monitoring services. (which would be something very common)
11:23 moritz_ I have a very basic apache logfile parser already
11:23 Su-Shee moritz_: all of it doesn't require crypto yet.
11:23 pugs_svn r28841 | pmurias++ | [mildew-js] ID is always set
11:23 pugs_svn r28842 | pmurias++ | [mildew-js] add .true to Str
11:23 Su-Shee (which we probably don't have as well yet..)
11:24 Su-Shee in terms of showing off the grammars it could be a domain validating grammar for one or two *nics.
11:26 moritz_ well, it's not hard to come up with good grammar examples :-)
11:27 lumi joined #perl6
11:27 Su-Shee yeah, but this would target admins and networkers and the like. which always was (and is) one of perl's strongest clientel. :)
11:28 Su-Shee and I wish for a good chapter about oo in perl 6 with REAL examples and no barking dogs and meowing cats. ;)
11:29 moritz_ we already have a "real" example
11:29 moritz_ for OO
11:29 moritz_ but I'll think about the log parsing a bit more
11:29 moritz_ http://github.com/perl6/book/blob/​master/src/classes-and-objects.pod
11:35 pugs_svn r28843 | pmurias++ | [mildew] fix test
11:35 pugs_svn r28844 | pmurias++ | [mildew-js] .lookup on lexical scope returns a bvalue
11:37 NorwayGeek joined #perl6
11:41 jlaire joined #perl6
11:49 kst joined #perl6
11:53 dalek book: 507c553 | masak++ | src/classes-and-objects.pod:
11:53 dalek book: [OO] dot is a twigil, not a sigil
11:53 dalek book: review: http://github.com/perl6/book/commit/50​7c553f7c3d9361dddfdf00fd108d4c51036057
11:58 envi^home joined #perl6
12:09 takadonet joined #perl6
12:09 takadonet morning all
12:11 Kodi joined #perl6
12:12 Kodi rakudo: my @a = 1 .. 3; say @a.perl; say @a[1 .. *].perl; say @a.perl;
12:12 p6eval rakudo 827734: OUTPUT«[1, 2, 3]␤[2, 3, undef]␤[1, 2, 3, undef]␤»
12:13 Kodi I don't understand Whatever enough to be sure that "@a[1 .. *]" should work, but it surely shouldn't do that. Has this already been reported?
12:14 moritz_ it has been reported, yes
12:14 moritz_ and nobody is really sure if it's supposed to work that way :-)
12:14 Kodi Ha, okay.
12:25 jnthn OK, onto the branch...
12:26 jnthn And the wrap.t fail. This one is...hard. :-/
12:27 ruoso joined #perl6
12:38 jnthn holyshit...I think .wrap might be a register allocation bug.
12:38 jnthn *sigh*
12:39 SmokeMachine joined #perl6
12:39 masak :(
12:48 carlin ok 4 - Successfully created 1255956343unicode with Unicode intensive content \ ok 5 - The Wikipedia and local unicode pages are indentical
12:49 * carlin has escaped Unicode-hell o/
12:50 NorwayGeek joined #perl6
12:53 masak lately, when I get an error in Rakudo, the error and the thing printed before the error are sometimes output in the wrong order.
12:54 moritz_ could be a STDOUT/STDERR buffering/autoflushing issue
12:54 jnthn Aye.
12:55 masak it's not terribly confusing, mostly surprising.
12:56 jnthn masak: Does it depend on if the thing printed has a newline on the end or not?
12:56 masak no.
12:56 masak or rather, all the things I output do.
12:56 jnthn k
12:57 * jnthn scratches his head and thinks, wtf...
13:08 * diakopter watches Camelia alight on a lambdacamel
13:10 PerlJam Release week!
13:10 masak \o/
13:10 masak this is my last change to make a dry run release.
13:11 PerlJam masak: mine too  ;-)
13:11 * jnthn sweats as he tries to track down the stupid .wrap bug that is the thing currently most in the way of merging resig2
13:14 abra joined #perl6
13:15 kst joined #perl6
13:20 * diakopter steals .DISPATCH from mildew-js/smop
13:24 Kodi left #perl6
13:26 mj41 joined #perl6
13:31 diakopter oh. nm. it's just as simple as the one in sprixel already.
13:31 diakopter :)
13:32 nihiliad joined #perl6
13:32 diakopter mberends: did you see my note about persisting the interpreter state/context to disk as js source?
13:40 jnthn Good news. I think I fixed wrap.t
13:40 masak \o/
13:40 takadonet !!!!
13:40 jnthn Bad news. I had to do something really stupid to work around a probable Parrot bug I don't understand at all.
13:40 moritz_ it needs a good comment in the code
13:41 moritz_ presumably containing lots of swear words
13:41 jnthn moritz_: Good point.
13:41 jnthn moritz_: ooh!
13:41 jnthn I like that idea.
13:41 abra joined #perl6
13:41 jnthn Also, callsame/nextsame's implementation just became a quarter of its original length. :-)
13:42 takadonet sweet
13:42 jnthn 1 files changed, 5 insertions(+), 44 deletions(-)
13:42 jnthn That's the kind of commit I like making. :-)
13:43 moritz_ aye
13:44 abra joined #perl6
13:45 kent\n joined #perl6
13:46 jnthn moritz_: Comment added. However, swearing lots in the comment in English felt really childish and immature.
13:47 mathw so you swore in Slovakian instead?
13:47 jnthn mathw: er, 5 different languages actually
13:47 jnthn :-)
13:47 mathw :)
13:47 mathw I can only swear in English unfortunately
13:47 moritz_ and that feels more mature? :-)
13:47 mathw I was very good, and never learned any German swear words
13:47 mathw moritz_: makes him look more intelligent
13:47 jnthn moritz_: No, jsut more cultured. :-)
13:48 jnthn *just
13:48 jnthn mathw: Well, I try and create the illusion sometimes.
13:48 jnthn :-)
13:48 NorwayGeek_ joined #perl6
13:49 jnthn OK, that's one test off the list, and the one that I realy, really cared about fixing.
13:49 mathw :)
13:49 mathw Take a break
13:49 * jnthn makes a cup of tea
13:49 jnthn The others are actually rather less horrible.
13:50 jnthn In fact, they're even regressable imho, but I'll try and fix them anyway.
13:50 moritz_ do you need resig2 spectest?
13:50 jnthn moritz_: Give her a spin, yes.
13:50 arnsholt mathw: But swearwords are the fun part of language acquisition =D
13:50 jnthn moritz_: You should see 3 failures.
13:50 arnsholt And often quite informative about the culture
13:50 jnthn moritz_: One of them is in capture.t - after talking with pmichaud we're regressing on that one, since we both aren't sure what the test really wants anyway, and we'll re-visit it later on.
13:50 jlaire left #perl6
13:51 jnthn moritz_: The other two should be in instance.t (one failure) and package.t (2 out of 3 fail)
13:51 mathw arnsholt: I was a good boy at school. I didn't start swearing properly until my second stint at university
13:51 jnthn mathw: I thought the point of swearing was that it was improper? ;-)
13:52 mathw Maybe
13:52 JimmyZ joined #perl6
13:52 mathw I always used to say I'm saving it for special occasions
13:53 payload joined #perl6
13:53 jnthn I try not to over-do it. :-)
13:53 dakkar joined #perl6
13:54 jnthn OK, time to fix up package.t, and probably a bunch of other stuff accidentally at the same time.
13:55 jnthn .oO( this either works or goes horribly wrong )
13:55 jnthn moritz_: plz note on testing - test resig2, not resig. Just in case. :-)
13:55 moritz_ you'll also have to fix the build on linux if you want to merge :-)
13:55 jnthn erm, huh?
13:56 jnthn I did fix the build stuff, I'd thought.
13:56 moritz_ ok
13:56 jnthn It worked for @other on Linux, I'd imagined.
13:56 moritz_ it just failed, but that might be due to parallelism
13:56 jnthn Unless both masak and carlin are on something else.
13:56 jnthn moritz_: ah, OK.
13:56 masak I'm on Darwin.
13:56 jnthn How evolved.
13:57 masak :)
13:57 moritz_ compiling gen_setting.pm is slooow
13:57 masak yep. on Darwin, we don't monkey around.
13:57 jnthn Yeah, someone would go ape if they caught you doing that.
13:58 jnthn moritz_: Tell me about it. We need something that parses NQP faster. ;-)
13:58 moritz_ jnthn: we need to split up the compilation
13:58 masak jnthn: What kernel I'm running feels like a very primate matter.
14:00 masak or "my kernel doesn't have a long tail, but my dog does."
14:01 Su-Shee grrr. and _now_ would be the time when I would _love_ to have perl 6 in the office already.
14:01 pmurias joined #perl6
14:01 masak Su-Shee: what's stopping you?
14:01 Su-Shee masak: missing dbi and speed, mostly.
14:02 masak understandable.
14:02 Su-Shee but I'm really pressuring the old code refactorwise in a "ok, and then, when we use perl 6, that would be.." direction.
14:04 KyleHa joined #perl6
14:06 mathw Su-Shee: Oddly enough, I'm doing that
14:06 mathw Or I was until I started using subroutine attributes
14:07 mathw I'm not aware of a Perl 6 equivalent right now
14:07 moritz_ has &!callback; #?
14:08 masak moritz_: can you be more specific?
14:08 alester joined #perl6
14:08 moritz_ that's a "subroutine attribute", no?
14:09 masak I think mathw meant the other thing.
14:09 masak attributes on subroutines.
14:09 PacoLinux joined #perl6
14:09 moritz_ &myroutine does role { has $.thing }
14:09 masak moritz_: and I wouldn't call a &! attribute a 'subroutine attribute', because the Callable stored in it doesn't have to be a subtroutine.
14:10 mathw I'm doing this:
14:10 pnu joined #perl6
14:10 mathw sub something :myattribute { }
14:10 mathw where the thing which handles myattribute is wrapping the sub
14:10 jnthn mathw: traits
14:10 mathw jnthn: ah yes
14:10 mathw of course
14:10 lisppaste3 moritz_ pasted "spectest on resig2 for jnthn++" at http://paste.lisp.org/display/88888
14:10 mathw jnthn: do we do custom subroutine traits yet?
14:11 moritz_ I think we do :-)
14:11 mathw yay
14:11 jnthn mathw: http://svn.pugscode.org/pugs/​t/spec/S14-traits/routines.t
14:11 jnthn moritz_: Hmm. Are you on 64-bit, by any chance?
14:11 mathw jnthn++
14:12 jnthn moritz_: And t/spec/S03-junctions/autothreading.rakudo exits with segv if you run it directly with Rakudo?
14:12 moritz_ jnthn: yes, I am
14:12 mathw jnthn: so in the trait_mod you could do something like $code.wrap ?
14:12 jnthn mathw: In theory, yes.
14:12 moritz_ jnthn: yes, segfaults directly after the plan...
14:13 mathw jnthn: yay
14:13 moritz_ jnthn: do you want access to that box to do some debugging on amd64?
14:14 mathw rakudo: multi trait_mod:<is>(Routine $c, woowoo) { $c.wrap: sub { say "Woowoo" } }; sub foo is woowoo { say "foo" }; foo();
14:14 p6eval rakudo 827734: OUTPUT«Unable to parse multisig; couldn't find final ')' at line 2, near ", woowoo) "␤in Main (file <unknown>, line <unknown>)␤»
14:14 mathw oh
14:14 mathw of course
14:14 mathw it's wrong, but it's also an LTA error
14:14 jnthn moritz_: I have a 64-bit box to hand, I'll give it a try.
14:16 jnthn moritz_: The worst bit is that it explodes in some throw-away code. :-(
14:16 jnthn moritz_: That'll be getting changed as soon as pccreapply lands.
14:16 moritz_ well
14:16 moritz_ but you want to branch before the release, and pcc_reapply lands after the release
14:17 moritz_ d'oh
14:17 meppl joined #perl6
14:19 jnthn s/branch/merge/, but yes
14:19 jnthn moritz_: So I'll have to tyr and fix it.
14:22 mathw rakudo: role woowoo {}; multi trait_mod:<is>(Routine $c, woowoo) { $c.wrap: sub { say "Woowoo" } }; sub foo is woowoo { say "foo" }; foo();
14:22 p6eval rakudo 827734: OUTPUT«Lexical '__CANDIDATE_LIST__' not found␤in Main (file src/gen_setting.pm, line 206)␤»
14:23 mathw meh
14:23 moritz_ mathw: ticket it!
14:23 masak wow :)
14:23 jnthn Ooh.
14:23 masak mathw: what moritz_ said. RT it! :)
14:23 jnthn Ouch.
14:23 mathw jnthn: Did I get the syntax right?
14:23 mathw If so, I shall file ticket
14:24 jnthn mathw: Ticket it, but now I see the code, I remember this.
14:24 moritz_ I think you did, and if not it's still a LTA error message
14:24 jnthn I even remember debugging why .wrap in trait mods didn't work and discussing the issue with pm, I think.
14:24 masak mathw: doesn't matter whether the syntax is right. those are guts sticking out.
14:24 pmichaud good morning, #perl6
14:24 moritz_ oh morning
14:24 jnthn Talk of the de^Wguy
14:24 jnthn :-)
14:24 mathw jnthn: so was that because of the call to wrap then?
14:25 jnthn mathw: Yeah, something is bad in the interaction between .wrap and trait mods.
14:25 masak pmichaud: morning!
14:25 jnthn I forget exactly what it was now though. :-(
14:25 mathw RT #69893 filed
14:25 moritz_ rakudo: role woowoo {}; multi trait_mod:<is>(Routine $c, woowoo) { $c does woowoo }; sub foo is woowoo { say "foo" }; foo();
14:25 mathw jnthn: wrap is the main reason I'd want to use them at the moment, so please fix it please please please please please
14:25 p6eval rakudo 827734: OUTPUT«foo␤»
14:26 mathw Offtopic: does perldoc.perl.org search work?
14:27 jnthn mathw: I've a horrible feeling it was not a 5 minute fix. I'll have a look sometime soon and try and figure out what it really was.
14:27 mathw jnthn: If it was, your usual strategy would be to have already fixed it...
14:27 pmichaud (gen_setting compilation)  that's rakudo's speed, not nqp's
14:27 pmichaud gen_setting is built by rakudo
14:27 moritz_ that's why I started that branch, yes
14:27 jnthn pmichaud: ah, yes
14:27 jnthn pmichaud: I was thinking actions.pm ;)
14:28 pmichaud right.  :)
14:28 jnthn pmichaud: Which I'd also love faster.
14:28 pmichaud we'll know soonish
14:28 pmichaud today is writing an operator precedence parser for nqp (and other languages)
14:28 pmichaud it's the last big piece before it all starts coming together
14:29 payload joined #perl6
14:30 mathw pmichaud: this is me, appreciating your work
14:30 * mathw appreciates
14:32 jnthn pmichaud: Gee, you just made my day's Rakudo hacking feel like child's play. :-)
14:32 jnthn pmichaud++
14:32 jnthn pmichaud: I'm attempting the package block changes atm.
14:33 jnthn My results so far mostly involve making the setting not compile.
14:35 mathw you always have to break something on the way...
14:35 mathw it's a rule of nature I think
14:38 moritz_ it is. It's called Second Law of Thermodynamics
14:39 mathw although perhaps it's a good thing that evolution doesn't work like that
14:39 mathw imagine being part of the generation who failed half their unit tests
14:40 masak pmichaud: how did you manage to bootstrap without already having an operator precedence parser? or do you have one, just not a general one?
14:40 pmichaud .oO( "Far-right Republicans?" )
14:40 jnthn lol!
14:41 kst joined #perl6
14:41 * jnthn tracks down what he thinks is the source of the trouble and tries again
14:42 pmichaud masak: parsing regular expression syntax doesn't really need operator precedence
14:42 masak pmichaud: it's just nice to have?
14:42 pmichaud well, not quite (more)
14:42 pmichaud there's really only four levels of precedence involved
14:42 pmichaud |, ||, &, &&
14:43 moritz_ you can just write the AST for regexes, no?
14:43 moritz_ that is, for a regex that parses regexes
14:43 moritz_ just like we generate PAST nodes in actions.pm
14:43 pmichaud the engine currently doesn't implement &&, I'm not sure what & will mean, and for the moment the engine treats | and || as being identical
14:43 pmichaud so that means only one level of precedence, which is easy :)
14:44 masak :)
14:44 masak I see.
14:44 pmichaud (treating | and || as identical is the same as current PGE, fwiw)
14:44 masak nod.
14:44 pmichaud moritz_: (just write the AST)   I started out that way, then decided it was a bit more complex than I wanted to do or maintain
14:45 moritz_ hm, ok
14:45 pmichaud so the p6regex syntax actually parses its own definition
14:45 pmichaud the definition is in src/Regex/P6Regex/Grammar.pm
14:45 pmichaud so, here's how the bootstrapping works
14:46 pmichaud the repository contains a known working version of the parser  (in src/stage0)
14:46 pmichaud that gets compiled to produce a stage0 executable
14:46 pmichaud that executable is then used to compile the source to produce a stage1 executable
14:46 pmichaud the stage1 executable then compiles itself again to produce the final product
14:47 moritz_ sounds like normal bootstrapping (in)sanity
14:47 masak why the last step?
14:47 masak I know there must be a reason, but I don't see it.
14:47 pmichaud because the stage1 executable was built from a (possibly incomplete) stage0 compiler
14:48 masak ah, right.
14:48 pmichaud i.e., the source might have features not present in the stage0
14:48 moritz_ you could add another step for testing
14:48 pmichaud I thought about another step for testing, but I figure if the executable passes the (ever growing suite) that's good enough for me
14:48 moritz_ which uses the bootstrapped executable to compile itself again
14:48 moritz_ and if all goes right, the result is binary identical to itself
14:49 pmichaud it won't ever be binary identical
14:49 pmichaud because the subroutine identifiers change.
14:49 moritz_ that's what gcc does
14:49 moritz_ ok
14:49 payload joined #perl6
14:49 pmichaud but one could compare the generated sources to make sure that the only differences are due to subids
14:50 pmichaud (which is what I did manually when doing the first rounds of bootstrapping)
14:50 jnthn pmichaud: Well hey, guess what
14:50 jnthn > my $x = 42; class Foo { method bar { say $x } }
14:50 jnthn > Foo.new.bar
14:50 jnthn 42
14:50 moritz_ woot
14:50 pmichaud \o/
14:50 masak jnthn++
14:50 moritz_ does the setting build? :-)
14:51 jnthn moritz_: Yes, unfortunately one sanity test fails.
14:51 moritz_ oh yes, it's using say
14:51 jnthn moritz_: Not sure quite why yet.
14:51 jnthn t\00-parrot\06-op-inplace..........ok 1/11Could not find non-existent sub gcd
14:51 jnthn And yes, this fixes integration/package.t
14:52 moritz_ oh
14:52 moritz_ gcd
14:52 jnthn If I can track down these failures as a result of this (actually quite big in terms of impact) change, that'll be down to the instance.t test.
14:52 moritz_ sounds like Rat
14:52 moritz_ jnthn: class Rat has a private gcd() function
14:53 jnthn Oh hmm.
14:53 jnthn I wonder if it's because it's a lexical sub.
14:53 * jnthn tries removing the my to see what happens
14:53 jnthn That could narrow it down quite nicely.
14:54 moritz_ though I have no idea why it might want to call that function in op-inplace.t :-)
14:54 pmichaud something did an integer division?
14:54 moritz_ oh
14:54 jnthn Yes, probably.
14:55 moritz_ $a /= 3;
14:55 jnthn yes, making it a non-lexical sub helps.
14:55 jnthn So the problem is to do with lexical subs in classes, it seems.
14:55 moritz_ maybe that should be changed to div=
14:55 moritz_ in the sanity test
14:55 moritz_ having rats there feels wrong
14:56 masak moritz_++ # thanks for the tip about 'make install' after --gen-parrot, that solved all my problems!
14:57 Psyche^ joined #perl6
14:57 moritz_ heh, it's straight from the README :-)
14:57 masak there's a README? :P
14:58 jnthn shhh...that's where my password list is!
14:58 moritz_ git mv README IGNOREME
14:58 pmichaud I think I'll write a book titled "README", and see if I can get the lowest rank on Amazon.
14:58 pyrimidine joined #perl6
14:58 masak pmichaud: naming your book "README" does seem a tad desperate...
14:59 moritz_ http://www.amazon.com/Steal-This-​Book-Abbie-Hoffman/dp/156858217X/
14:59 pmichaud http://www.amazon.com/readme-tx​t-Bill-Readings/dp/3833409401/
15:00 Su-Shee the second volume could be titled "readme, please" and the third "readme already, dammit" ;)
15:01 moritz_ sounds like a fun triology
15:01 awwaiid now all you need is content
15:01 awwaiid but I hear the title is the hardest part
15:02 mathw they lie
15:02 masak 'Where God Went Wrong', 'Some More of God's Greatest Mistakes' and 'Who is this God Person Anyway?'
15:02 rdice joined #perl6
15:02 mathw I've had plenty of titles, but I've never finished a novel
15:02 masak (by Oolon Colluphid)
15:02 mathw masak: And then wrapped up with 'Well, that about wraps it up for God'
15:02 masak :)
15:03 moritz_ :-)
15:03 mathw $god.wrap
15:03 moritz_ (Douglas Adams)++
15:03 awwaiid masak, that does not actually logically imply that, after you _have_ completed a novel, you won't look back and realize that the title was indeed the hardest part :)
15:03 mathw mat<tab>
15:03 awwaiid er, mathw
15:03 awwaiid :)
15:04 mathw :)
15:04 awwaiid "irssi: warning, I think that perhaps you are attempting to address mathw, rather than masak. Would you like me to correct this error, you careless human?"
15:05 masak that would be an awesome warning.
15:05 mathw it would, but it would require some serious perl fu to write the plugin
15:05 masak in both the old and the new senses of the word.
15:05 awwaiid masak, indeed.
15:05 mathw use Understand::English
15:05 Su-Shee the new school of polite user interfaces..
15:05 vmbrasseur joined #perl6
15:06 mathw Ah don't get me started on user interfaces
15:06 * masak doesn't get mathw started on user interfaces
15:06 Su-Shee I'd like to have something like "Su-Shee, it's after 10 already - shouldn't you go to bed now?" ;)
15:06 masak Su-Shee: now, that could be arranged.
15:06 moritz_ that shouldn't be too hard to do
15:06 PerlJam Su-Shee: that's easy enough to write
15:06 Su-Shee masak: actually, I already have that and usally ignore it :)
15:07 masak :)
15:07 moritz_ at least if you delivered enough chocolate that day :-)
15:07 vmbrasseur joined #perl6
15:07 PerlJam you just need to hook it into some software that shuts your computer off
15:07 Su-Shee the problem is, you get too easily used to all those messages and start to ignore them.
15:08 awwaiid you mean you want me to show my wife the kill switch on my power strip?
15:08 awwaiid seems dangerous
15:08 PerlJam Su-Shee: that's why it needs to be smart and vary the messages in a way that makes it unignorable.
15:08 moritz_ 22 0 * * * halt
15:08 masak I have the latest version of unreleased-tote talk to me. it's very helpful.
15:08 Su-Shee PerlJam: I've had a cron job during writing my thesis which shut down irc clients and I made a firewall rule to prevent "accidently" connecting to host xy. ;)
15:08 moritz_ man cron :-)
15:08 PerlJam awwaiid: I was thinking of an article I read recently on the pomodoro (sp?) technique.
15:08 masak it says 'testing', 'back to coding', and 'checkpoint -- oh yea!'
15:09 * awwaiid googles pomodoro and starts getting hungry
15:09 PerlJam masak: it's sad when you have to program your computer to talk to you  ;)
15:09 masak PerlJam: why? it works really well. :)
15:10 mathw Computers don't argue back...
15:10 PerlJam awwaiid: http://www.pomodorotechnique.com/
15:10 mathw ...much
15:10 masak oh, you were referring to the pathetic aspects of it. that doesn't bother me.
15:10 masak and when I'm using it among people, I just turn the $loud variable off.
15:10 Su-Shee I personally like the speaking computer in "eureka" very much ("sarah" :)
15:10 hanekomu_ joined #perl6
15:11 mathw The only one that talks to me is my satnav
15:11 mathw It talks to me in German, which I find amusing when I have passengers
15:12 jnthn pmichaud: oh ouch, I think I found what's wrong.
15:12 jnthn pmichaud: We don't actually run the code in the setting, do we?
15:12 jnthn pmichaud: That is, we just load the thing and that's it...
15:12 pmichaud the begin blocks run
15:12 jnthn Yes, but the body of a class ain't a begin block now. :-)
15:13 jnthn pmichaud: And that's what does the setting up of the gcd lexical.
15:13 jnthn :-)
15:13 mathw gcd?
15:13 jnthn mathw: gcd is a "my" sub.
15:13 jnthn In the setting.
15:13 jnthn But it appears we never set the lexical at startup.
15:14 jnthn Aye, 'tis the case.
15:14 jnthn It works for lexical subs outside of the setting (e.g. user written ones).
15:14 pmichaud well, this is a similar problem with being able to do other setting-initialized things
15:15 jnthn I think we've a separate ticket about lexical subs in the setting anyway, it's just that we got away with it before when they were in classes.
15:15 jnthn Let's make it non-lexical for now, and whoever deals with said ticket can deal with this too.
15:15 pmichaud well, the setting produces a block of its own when it's compiled -- we just need to find a way to have that block execute
15:16 pmichaud sure, making it non-lex for now is fine
15:16 jnthn I've added a TODO comment.
15:16 pmichaud jnthn++
15:17 jnthn Now let's see what the spectests have to say.
15:17 jnthn Knowing my luck, probably "omg FAIL" quarter of an hour in.
15:19 jnthn yup, sanity passes again \o/
15:19 iblechbot joined #perl6
15:19 jnthn Man, this will be a nice on-the-side win from resig though. :-)
15:20 mathw best kind
15:22 doolittle joined #perl6
15:22 jnthn moritz_: I'm curious, are there any compiler warnings on 64-bit that you see around line 640-647 when compiling perl6.ops there?
15:23 moritz_ recompiling now to check..
15:24 moritz_ perl6.ops:638: warning: cast from function call of type ‘int’ to non-matching type ‘struct PMC *’
15:24 moritz_ perl6.ops:638: warning: cast to pointer from integer of different size
15:24 moritz_ perl6.ops:638: warning: cast from function call of type ‘int’ to non-matching type ‘struct PMC *’
15:24 moritz_ oops
15:24 moritz_ perl6.ops:638: warning: cast to pointer from integer of different size
15:24 moritz_ also appears a few times, and once on line 637
15:25 mathw oh my
15:25 hercynium joined #perl6
15:25 mathw that's not good
15:25 mathw not good at all
15:25 mathw never assume ints are the same size as pointers!
15:26 jnthn hmm, those line numbers may be a little off.
15:26 jnthn mathw: no, indeed not...I'm trying to spot where I may have done that.
15:26 * mathw really wishes C was not so lenient
15:26 masak I have a moral dilemma. The Configure script of a project with dependencies needs to set PERL6LIB correctly, but it cannot do that without knowing the location of the other projects -- information which rests mostly with proto, which isn't available in the general case. so there's no way to win.
15:27 mathw The solution is to design and implement a proper Perl 6 module system
15:27 mathw Now
15:27 mathw I expect it handed in before bedtime
15:27 moritz_ masak: the solution is to install the modules, of course
15:27 masak moritz_: aye.
15:27 masak moritz_: that would solve it.
15:27 masak moritz_: I was just looking for the correct short-term solution, but there does not appear to be one.
15:28 masak which is kinda bad, because we have build failures which depend on exactly that issue being solved.
15:28 moritz_ assume that the user already set up PERL6LIB already
15:28 masak that would solve it.
15:29 masak but it's kind of a tall order when 'install' should download and build in one go.
15:30 pmurias masak: where does it install to?
15:31 masak pmurias: nowhere. it just makes .pir files in loco.
15:31 pmurias 'make install' does?
15:31 masak nono, './proto install <module>'
15:35 NorwayGeek joined #perl6
15:38 donaldh joined #perl6
15:38 cdarroch joined #perl6
15:38 masak I've successfully gotten bin/web-druid to run on feather. what measures do I need to take to make something show up on the Web?
15:39 jnthn aww...I broke anonymous classes. :-/
15:39 moritz_ masak: you need to connect to the port you've opened
15:39 moritz_ http://feather.perl6.nl:$portnumber/
15:39 masak to be more specific, it says 'Druid now runs on http://127.0.0.1:8888/', but going to 'http://feather.perl6.nl:8888/' doesn't help.
15:40 zloyrusskiy joined #perl6
15:41 masak if it's the port number that causes problems, I have the power to change it to something else.
15:42 zostay joined #perl6
15:42 moritz_ no port 8888 open on feather
15:42 jnthn Are you running on feather, or a vm on feather? Could that matter?
15:42 moritz_ that would matter
15:42 moritz_ different hostname
15:42 masak tried another portname. didn't help.
15:42 dalek rakudo: 1f16505 | moritz++ | README:
15:42 dalek rakudo: [README] mention win32 builds
15:42 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/1​f165051fd852119e19eec15f9e026dc734f0b08
15:43 masak my HTTP-fu only takes me this far.
15:43 diakopter if druid is bound only to 127.0.0.1, it wouldn't be accessible from off that machine..
15:43 masak diakopter: ah.
15:43 masak that would explain it.
15:43 kst joined #perl6
15:44 pyrimidine joined #perl6
15:45 * masak tries setting the :$LocalAddr parameter in HTTP::Daemon.new
15:46 colomon joined #perl6
15:47 * pmichaud disappears from irc for a while to focus on nqp-rx opp
15:47 cdarroch joined #perl6
15:48 masak no, that didn't help. :/
15:49 moritz_ what did you set it to?
15:49 masak 5463
15:49 moritz_ huh?
15:49 masak the $$ of my bash session.
15:49 moritz_ not an IP address?
15:49 masak oh, the host.
15:49 masak feather.perl6.nl
15:50 moritz_ try 193.200.132.135, just for the lulz
15:50 masak I could try that.
15:50 masak it workz!
15:50 masak http://feather.perl6.nl:5463/
15:51 masak (be gentle, it's slow)
15:51 masak moritz_++
15:51 pmurias diakopter: how does .DISPATCH in sprixel look like?
15:52 masak anyone fancy a game of druid?
15:52 moritz_ ENOTIME
15:52 masak oops, there it crashed.
15:52 masak Segmentation fault.
15:52 masak back up again. :)
15:53 diakopter pmurias: it will take a method name and references to the js objects representing the invocant and/or the array of args
15:53 jnthn Hmm
15:53 masak playing on the web app currently requires angelic attributes in both players, since anyone can make a move for anyone.
15:53 jnthn src_indexes=0x7fffe0da32d0, dest_indexes=0x41a7140,
15:53 pmurias diakopter: and names ones?
15:53 jnthn Ah, maybe not a problem, one is on the stack and the other not.
15:53 diakopter names ones?
15:54 pmurias err named ones
15:55 ejs joined #perl6
15:55 diakopter named whats
15:56 pmurias named arguments
15:58 masak hihi, someone made a move on the board. :)
15:59 jnthn masak: whee, it works
15:59 masak (yes, I realize passing moves using GET is horridly wrong, since GET are meant for idempotent operations...)
15:59 masak jnthn: was that you? cool!
15:59 pmurias diakopter: you also need to take care of named arguments from the beginning
15:59 diakopter pmurias: yes, ok. :)
16:00 * moritz_ did a move, but doesn't really know the rules
16:00 justatheory joined #perl6
16:01 masak the object of the game is to connect top and bottom (if you're vertical) or left and right (if you're horizontal).
16:01 masak I'm currently playing horizontal, it seems.
16:01 jnthn masak: How does board updating work?
16:01 masak jnthn: you mean the ASCII drawing, or the persistence?
16:02 jnthn masak: no, do I have to refresh manually to see the latest moves?
16:02 masak oh. yes. unfortunately.
16:02 masak no AJAX yet. :/
16:02 masak might be best to remove the ?move=xx when updating, too... :/
16:03 jnthn masak: yes, I guessed I should do that
16:03 masak this is primitive, but fun!
16:03 masak I'm playing Druid, over the web, with an application I wrote in Perl 6!
16:03 * moritz_ shouts SVG, SVG
16:04 masak moritz_: I'm using the "moritz_ principle", and hoping others will chip in...
16:04 moritz_ you know, you can make SVG elements clickable, indicating possible future moves
16:04 masak I know. :)
16:04 colomon how many spectators do you think can watch the game without bringing down the system?  ;)
16:04 masak moritz_: it's definitely on the agenda.
16:04 jnthn colomon: /. ? ;-)
16:05 masak colomon: however many we just were. :)
16:05 masak booting up again.
16:05 masak back up. :)
16:05 Bucciarati joined #perl6
16:05 colomon Oh, geez, no, I was just wondering if everyone on #perl6 could watch safely!
16:05 mberends masak++ # getting web-druid this far
16:05 jnthn masak: Is the web server written in Perl 6 too?
16:05 masak mberends++ # that's HTTP::Daemon in the bottom
16:05 moritz_ it is. That's teh fun part
16:06 jnthn Wow!!
16:06 jnthn masak++, mberends++
16:06 masak pure Perl 6.
16:06 justatheory joined #perl6
16:06 masak it's a relief not having to set up Apache, really.
16:06 * jnthn ispressed
16:06 * mberends expressed
16:06 jnthn erm, impressed
16:06 jnthn oh, I see what happend
16:07 masak Druid pulls in Web.pm, which pulls in http-daemon and perl6-sqlite.
16:07 jnthn "is impressed"
16:07 masak jnthn: it's watching neurons cross-fire in your brain, live! :P
16:08 masak jnthn: your move.
16:08 jnthn jsut moved
16:09 jnthn If I'm playing badly, it's because I'm fixing anonymous classes too ;-)
16:09 masak you play better than a total novice.
16:11 masak heh, segfault again. :)
16:11 jnthn oh noes connekshun is fail
16:11 masak try again.
16:12 masak we need to do something about that stability issue.
16:12 jnthn Indeed
16:12 jnthn Wonder if it's the same segv that we hit every so often.
16:12 jnthn With the ass. fail.
16:13 masak it segfaulted again...
16:13 jnthn bah, teh sux
16:14 masak gotta run -- we're going swimming. :)
16:15 jnthn Nice
16:15 masak I'll leave the webapp up until it crashes.
16:15 jnthn Have fun.
16:15 masak thanks -- I will!
16:18 rfordinal joined #perl6
16:20 jnthn rakudo: say eval('package Simp2 {sub pkg { $?PACKAGE }}; Simp2::pkg').WHAT
16:20 p6eval rakudo 1f1650: OUTPUT«Nil()␤»
16:22 pugs_svn r28845 | jnthn++ | [t/spec] Turn a todo'd spec to a skip, since a Rakudo improvement now sees it fail more spectaculorly.
16:30 jnthn resig2 now updated to fix packages.t and the lexicals in classes things now work. :-)
16:35 doolittle left #perl6
16:38 stephenlb joined #perl6
16:44 slavik joined #perl6
16:45 jnthn rakudo: Q:PIR { $S0 = "123" }
16:45 p6eval rakudo 1f1650:  ( no output )
16:45 jnthn rakudo: Q:PIR { $S0 = 123" }
16:45 p6eval rakudo 1f1650: OUTPUT«error:imcc:syntax error, unexpected $undefined, expecting '\n' ('"')␤      in file 'EVAL_23' line 51␤»
16:45 jnthn rakudo: Q:PIR { $S0 = unicode:"123" }
16:45 p6eval rakudo 1f1650:  ( no output )
16:46 jnthn rakudo: Q:PIR { $S0 = unicode:'123' }
16:46 p6eval rakudo 1f1650: OUTPUT«error:imcc:syntax error, unexpected LABEL ('unicode')␤     in file 'EVAL_23' line 51␤»
16:46 jnthn ah crap
16:50 am0c joined #perl6
16:50 stephenlb joined #perl6
16:54 slavik ooh
16:54 slavik parrot assembly inline with perl6?
16:54 slavik nice!
16:56 jnthn slavik: Obviously, only works with Rakudo, so using it is generally not advised. But it's useful for in the setting. :-)
16:56 slavik jnthn: might be interesting stuff for optimization and such
16:57 slavik what would be nice is to have PMX :) (JMX for Parrot)
16:59 jnthn JMX?
17:02 PerlJam is that like BMX?
17:02 jnthn Yeah, but done in Java, so it's like, not as fast. ;-)
17:03 cognominal purl says JMX is Java Management eXtensions
17:03 rfordinal3643 joined #perl6
17:03 donaldh left #perl6
17:16 stephenlb joined #perl6
17:17 payload joined #perl6
17:18 moritz_ jnthn: latest spectest on resig2 branch: cpature.t, unicode.t and autothreading.t have issues, the rest is fine
17:20 pugs_svn r28846 | lwall++ | [S12] treat all delegation objects equally including arrays and hashes
17:20 moritz_ TimToady++
17:21 * moritz_ dances the happy dance
17:22 pugs_svn r28847 | jnthn++ | [t/spec] Todo one test that we're going to regress on for now.
17:22 jnthn moritz_: Not methods/instance.t?
17:22 jnthn erm, S12-method
17:22 moritz_ oh, yes
17:22 moritz_ Failed test:  26
17:22 moritz_ missed that among all the TODO passed
17:23 jnthn aye
17:23 jnthn I've got a local fix for that, just testing then will push.
17:23 jnthn For the unicode.t one, can you pull and re-build and try that one again now?
17:23 jnthn I just pushed what I hope is a fix for it.
17:24 jnthn However, no ICU here...
17:24 jnthn moritz_: We're regressing on that one test in capture.t - that spec commit there was just doing that.
17:24 jnthn s/spec/t\/spec
17:26 bionoid joined #perl6
17:26 NorwayGeek joined #perl6
17:27 TimToady heh
17:27 dalek joined #perl6
17:28 jnthn pmichaud++ :-)
17:37 jnthn OK, with my latest push, and provided my unicode named parameters fix worked, I think we're now down to only having the segv on 64-bit in the junction auto-threading test.
17:38 jnthn I have rather mixed feelings on that. I've spent half an hour monkeying around with not much progress.
17:38 jnthn It's in code that is going to be ripped out in the next week or so anyway, when Parrot merge in pcc_reapply.
17:39 kst joined #perl6
17:39 jnthn And it's "only" affecting 64-bit in 1 test script out of the whole suite.
17:39 TimToady Damn the speed, full torpodoes ahead!
17:39 jnthn I'm rather loathed to spend hours trying to fix something in a bit of code that ain't going to last much over a week anyway.
17:40 colomon jnthn: what TimToady said.  Debugging what will be thrown away is silly.
17:40 jnthn OK, good.
17:41 jnthn In that case, I'd like to solicit spectest runs on resig2, and unless anything besides that one issue comes up, I propose we merge in a couple of hours time.
17:42 colomon in general?  I haven't been building it, but I guess I could and give the a spectest workout on OS X...
17:42 NorwayGeek joined #perl6
17:42 jnthn colomon: Yes, from anyone who has time to try it. :-)
17:43 jnthn I'd rather know about serious issues before we merge, not after. :-)
17:43 colomon Is it "git fetch resig2" to pull it?
17:44 jnthn colomon: I *think* you can just do a git pull
17:44 jnthn And then git checkout origin/resig2
17:44 jnthn At least, it worked for me...
17:45 jnthn When I wanted to grab it onto my 64-bit box.
17:45 kst joined #perl6
17:46 colomon "Moving to origin/resig2 which isn't a local branch."  I guess that worked?
17:46 colomon git log gives me a ton of your patches, guess it is right!
17:46 jnthn colomon: Yes.
17:46 jnthn colomon: I looked at that message and did a double-take too ;-)
17:46 jnthn And then realized it was just telling me something I already knew.
17:46 colomon Building now.
17:46 PerlJam colomon: you probably wanted "git co -t origin/resig2"  That would have made a local resig2 branch than tracks the remote.
17:47 colomon PerlJam: not a big deal if it's going to merge today, but I'll keep that in mind for the future.  :)
17:47 payload joined #perl6
17:48 jnthn PerlJam: Thanks, that's nice to know.
17:50 jnthn OK, short break.
17:50 jnthn bbs
17:55 diakopter TimToady: any ideas on enabling ./setting to persist the ast(s)?
17:59 TimToady feel free to hack on it
17:59 pmichaud http://nopaste.snit.ch/18372  # operator precedence parsing in nqp-rx
17:59 pmichaud (still incomplete)
18:01 hexmode joined #perl6
18:01 diakopter TimToady: currently STD saves the .syml files for the setting .pm in perl6 instead of perl6/lib; is that correct?
18:01 hexmode how can I find a list of files in a directory?  I tried opendir() and glob() from http://www.learningperl6.com​/Chapters/10.dirhandles.html
18:03 dalek nqp-rx: 9083197 | pmichaud++ | src/ (2 files):
18:03 dalek nqp-rx: Refactor the opstack and termstack to hold Match objects instead of cursors.
18:03 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/9​0831979eca78f4f5a7844cd36e4f0183e226cb0
18:03 dalek nqp-rx: ecc6416 | pmichaud++ | src/cheats/hll-grammar.pir:
18:03 dalek nqp-rx: Add left associativity to precedence parser.
18:03 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/e​cc64167aaa4b3870dbe48322e07e55957256128
18:03 dalek nqp-rx: 5b872f0 | pmichaud++ | src/ (3 files):
18:03 dalek nqp-rx: Reduce higher predecence operators immediately.
18:03 dalek nqp-rx: Test nqp with multiple levels of precedence.
18:03 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/5​b872f027bf71f6f9bb0d92fed732651dab38916
18:03 dalek nqp-rx: 0428b85 | pmichaud++ | src/cheats/hll-grammar.pir:
18:03 dalek nqp-rx: Remove some debugging code.
18:03 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/0​428b855218d192e5552f1ef9d636aac7693c52f
18:04 diakopter pmichaud: will those eventually use the mangled names in the Past;Op names?
18:04 diakopter (merely curious)
18:05 pmichaud two answers
18:05 pmichaud (1) are mangled names part of the spec yet?
18:06 pmichaud (2) the operator precedence parser doesn't make the names directly, it allows the action methods to select the names
18:06 diakopter (1) not that I know of
18:07 pmichaud anyway, it's an action method that is producing the name -- it could easily mangle it to whatever we want.  The OPP itself doesn't care about the names.
18:07 pmichaud here's the code that produces the name:
18:07 pmichaud $past := PAST::Op.new(
18:07 pmichaud $/[0].ast, $/[1].ast,
18:07 pmichaud :name( 'infix:<' ~ $<sym> ~ '>' )
18:07 pmichaud );
18:12 nihiliad joined #perl6
18:12 jnthn pmichaud: Nice work. :-)
18:13 pmichaud well, it only works for left and right associativity at the moment :)
18:13 jnthn pmichaud: Is it just infixes that work so far, or prefixes/postfixes?
18:13 pmichaud and just infixes
18:14 pmichaud but the rest should be very easy to add in
18:14 jnthn OK
18:14 jnthn Still, a nice start. :-)
18:14 pmichaud I'm a little surprised I got this far this quickly
18:14 jnthn If you didn't catch it in the backscroll, resig2 merges today, all being well.
18:14 pmichaud fantastic
18:14 pmichaud that's good timing
18:15 pmichaud jnthn++
18:15 jnthn I'd hoped to have it before now, but it's been...some effort.
18:15 pmichaud I'm impressed it's done now, tbh
18:15 pmichaud (or about to be done now)
18:15 pmichaud that's a hugely significant piece of work and effort
18:15 jnthn It's just about all I've done since I got back from Asia. :-)
18:15 pmichaud :)
18:16 pmichaud well, if opp goes well today, I will definitely take a break tonight to blog progress
18:16 pmichaud depending on distractions around the house, I may have the new version of nqp ready on wednesday.
18:17 pmichaud (looks likely.)
18:17 jnthn That would be excellent.
18:17 jnthn Are we going to use it to parse the current actions.pm?
18:17 * PerlJam DCCs some good vibes to pmichaud to help with things "going well"  :)
18:17 jnthn (I guess it's a good "backward compatibility" test.
18:17 jnthn )
18:17 pmichaud I hadn't planned on using it to parse current actions.pm, but we could try it.
18:18 pmichaud There are a couple of items that might break backwards compat.
18:18 jnthn Note that i'm not proposing grammar.pg too, just the actions.
18:18 pmichaud for loops being the big one
18:18 jnthn Oh?
18:18 pmichaud NQP  treats      for $val { ... }    as being    for $val.list { ... }   and not    for list($val) { ... }
18:18 pmichaud because NQP was created before we had those semantics well-defined in p6
18:19 pmichaud so we might have to change actions.pm to be   for @$val { ... }    or   for $val.list { ... }  instead of what it currently has.
18:20 pmichaud that's the only significant change I'm aware of at the moment, though.
18:20 pmichaud we could probably go ahead and update actions.pm to be the .list form and have it work in both nqp-old and nqp-rx
18:21 pmichaud anyway, I have errands to run around town, so bbl
18:21 jnthn Aye, I'm doing make dinner now too.
18:23 TimToady diakopter: do whatever seems best; I'm in Mr Fixit mode at my daughter's new (but old) house
18:24 diakopter ok I'll tinker
18:25 lumi joined #perl6
18:25 payload joined #perl6
18:28 PerlJam TimToady: are you like Richard Feynman?  do you "fix thinks by thinking"?  :)
18:30 colomon jnthn: resig2 spectest passes on OS X (10.5.8, 32-bit) with a nice batch of TODO passes.
18:31 jnthn colomon: \o/
18:31 colomon I'm going to try the skipped trig tests now to see what happens...
18:32 TimToady I do play the congas...
18:38 colomon jnthn: Do named positional arguments still not work?
18:42 jnthn colomon: Should work.
18:43 colomon Do they work on multisubs?
18:43 jnthn > sub foo($a, $b) { say "$a $b" } > foo(a => 1, b => 2) 1 2 > foo(b => 2, a => 1) 1 2
18:43 jnthn oh, that was meant to be several lines
18:43 jnthn Work on multi-subs in what way?
18:44 colomon I'm trying sin(:x(1.2)) and get No applicable candidates found to dispatch to for 'sin'
18:44 jnthn If the question is, "will they be treated as if they were positional arguemtns when considering narrowness", the answer is "no".
18:44 jnthn You need to write a proto that re-dispatches.
18:44 colomon multi sub sin($x, $base = 'radians') {
18:44 colomon $x.sin($base)
18:44 colomon }
18:44 colomon is what the setting has now.
18:44 jnthn Right.
18:44 jnthn But you need a proto somewhere too.
18:45 colomon Can you explain more?  I guess I'm not sure what a proto is...
18:45 jnthn sure, one moment though, dinner needs some attention...
18:45 colomon no hurry
18:47 TimToady hmm, if we called proto like an only, and wrote the proto with nextsame to access the multis, the we could say "nextsame or ..." to write default code, and maybe do away with "is default"
18:48 TimToady nextsame in a proto would be special, and use a revised capture with positionals where the original capture had nameds
18:49 jnthn OK, it's bubbling way happily now. :-)
18:50 jnthn So, how it works. When it's an only sub, it's simple. We call with named arguments, and the signature binder knows what to do with them when binding the signature.
18:50 * colomon nods
18:50 jnthn So you can just call a only-dispatch sub or method and have the nameds mapped to positionals right away, and all is good.
18:50 desertm4x joined #perl6
18:51 jnthn Multi-dispatch is a bit trickier. Multi-dispatch doesn't consider named parameters when choosing a candidate, only positional ones.
18:51 jnthn If there are no positional ones, it's going to fail.
18:51 jnthn Erm, sorry, named *arguments*.
18:51 TimToady even if there's a multi () ?
18:51 jnthn It doesn't do any per-signature rearrangement of arguments.
18:52 jnthn TimToady: TimToady That'll work, yes.
18:52 jnthn TimToady: Provided it takes the nameds either explicitly or into a slurpy.
18:52 jnthn I was considering the sin($x) case more here. :-)
18:52 jnthn colomon: Anyway, if multi-dispatch fails, then you can write something called a proto.
18:52 jnthn This gets invoked just like an only, and so the nameds at that point get turned into positionals.
18:53 jnthn It can then re-dispatch.
18:54 jnthn So you'd write for example a proto sin($x) { sin($x) }
18:54 TimToady and hopefully the proto gets aggressivly inlined at some point
18:54 TimToady *agrsvly
18:54 jnthn TimToady: Hmm...how'd we know to do that?
18:54 colomon Is proto a keyword there?
18:54 jnthn colomon: yes
18:54 SmokeMachine joined #perl6
18:55 jnthn TimToady: Oh, I guess we know the multi candidates arities and stuff statically.
18:55 TimToady all function defs are lexical, and (after CHECK) immutable
18:55 jnthn Right.
18:55 jnthn colomon: It's in the same syntactic category as only and multi.
18:56 jnthn colomon: Note that you need just one proto per sub name, and then there may be many multi candidates, btw.
18:58 jnthn TimToady: nextsame in proto - hmm, maybe.
18:58 jnthn Too much magic?
18:58 jnthn Dunno. Would have to ponder it more.
18:58 masak joined #perl6
18:58 colomon So if I say something like
18:58 colomon proto sin($x, $base) { sin($x, $base); }
18:59 colomon it will handle the named arguments as positionals correctly?
18:59 pnate i'm having a little trouble building latest perl6 on mac os x 10.6.1
19:00 NorwayGeek joined #perl6
19:00 pnate i ran perl Configure.pl --gen-parrot and i got inter::progs -        Determine what C compiler and linker to use...Compilation failed with 'gcc-4.2'
19:00 pnate Use of uninitialized value $make in system at build/gen_parrot.pl line 68.
19:00 pnate Unable to locate parrot_config.
19:00 colomon pnate: that's the master branch of Rakudo you're talking about, yes?
19:00 pnate yes
19:00 TimToady sin($x, $base = CALLER::<$?TRIGBASE>) or some such
19:00 pnate does it not like gcc 4.2?
19:00 pnate or does gcc 4.2 not like it lol
19:00 rblasch joined #perl6
19:01 colomon TimToady: Except the trigbase stuff is all broken in Rakudo at the moment.
19:01 colomon pnate: 32-bit or 64-bit?
19:01 jnthn TimToady: And we don't have CALLER yet.
19:01 colomon jnthn: but we do have proto already?
19:02 pnate i booted the 32-bit kernel
19:02 * TimToady is wondering whether trigbase should be contextual instead
19:03 colomon TimToady: I thought $? was contextual?
19:03 * colomon still gets very confused by some of this stuff.
19:04 colomon pnate: this is the first I've heard of 32-bit problems with 10.6.
19:04 TimToady no, $? is a compiler constant, lexically scoped
19:04 jnthn colomon: Do we?
19:04 colomon TimToady: lexically scoped means you can change it your scope, yes?
19:04 jnthn colomon: Dinner ready now...back in a bit.
19:04 TimToady in an inner lexical scope, yes
19:05 colomon TimToady: I thought that's what contextual meant, I fear...
19:05 TimToady contextual means you can override it in an inner dynamic scope
19:05 pnate how do i show where compilation failed?
19:06 Su-Shee pnate: use a nopaste: http://paste.lisp.org/new/perl6
19:06 pnate oh, i mean it didn't even print anything
19:06 pnate it just said what i pasted already
19:08 Su-Shee ah, got it. no idea, i've never compiled something on a mac.
19:08 colomon pnate: give me a moment, and I'll poke around here.  (I'm still running 10.5.8...)
19:09 colomon jnthn: proto sin($x) seems to work!  More as I have a chance to test....
19:10 kst joined #perl6
19:11 colomon pnate: Did it say "Configuring Parrot" ?
19:11 pnate nope
19:12 pnate hmmm
19:12 pnate i just configured parrot fine by checking iut out of svn myself
19:12 pnate using "svn co https://svn.parrot.org/parrot/trunk parrot"
19:14 colomon and that configured and built okay for you?
19:14 pnate i'm compiling now
19:15 pnate looks like parrot built fine
19:16 pnate i was able to configure perl6 by using --parrot-config=
19:16 pnate to the parrot_config i presumably just built
19:16 colomon So you (in theory) have a working configure of Rakudo now?
19:16 pnate correct
19:17 pnate i'm compiling now
19:17 colomon There goes my theory on what could be wrong.  Sigh.  I'm afraid I'm in over my head here.
19:17 pnate well, if this works, it no longer matters to me, but it's obviously a concern for others ;) aw, compile failed
19:18 colomon Certainly we'd like to have it working in the next day or two, with a release coming up.
19:18 NorwayGeek joined #perl6
19:18 lisppaste3 pnate pasted "10.6.1 compile failed" at http://paste.lisp.org/display/88915
19:23 hanekomu joined #perl6
19:24 __ash__ joined #perl6
19:26 jnthn back
19:27 jnthn colomon: The proto helps, yes?
19:27 colomon jnthn: yes.
19:27 jnthn \o/
19:27 colomon sorry, got distracted and haven't tested it all properly, but my first test was a success
19:28 jnthn colomon: OK. I'm going to work on improving the error messages that the new binder gives, 'cus they're teh sux right now.
19:28 jnthn And then it'll be merge time.
19:28 colomon (trying to help with the OS X 10.6.1 issue, quite ineffectively)
19:29 Su-Shee left #perl6
19:29 __ash__ does proto have the Test.pm in a library you can use outside of the perl6 stuff?
19:29 jnthn It's possible that latest Parrot has resolved the issue, but the one in build/PARROT_REVISION hadn't.
19:30 jnthn __ash__: If it does, it'll be in proto's project list.
19:31 colomon jnthn: you're talking about the 10.6.1 thing?  That's a good idea!
19:32 colomon and btw, proto passes my second test with flying colors
19:33 __ash__ colomon: what issue are you having? i am also on snow leopard
19:34 colomon __ash__: isn't me, it's pnate.  he can't build on 10.6.1 (32-bit).  It craps out in perl Configure.pl --gen-parrot
19:34 jnthn colomon: It's my best guess.
19:34 * colomon is too chicken to upgrade to Snow Leopard this year....
19:35 __ash__ colomon: which part crapps out? does he have an error message? (just joined the irc channel so he might of posted it before i joined)
19:35 pnate i resolved that by downloading the latest parrot and manually passing in the path to parrot_config
19:35 pnate but then when i tried to compile: http://paste.lisp.org/display/88915
19:36 colomon pnate: my suggestion would be to try bumping build/PARROT_REVISION to the latest Parrot (svn info in that parrot directory you downloaded) and trying from perl Configure.pl --gen-parrot again
19:38 colomon pnate: (actually that's jnthn++ suggestion, just spelled out in more detail)
19:38 __ash__ i'll try re-building mine to see if i get any problems
19:39 zerhash joined #perl6
19:42 __ash__ your not upgrading are you pnate? or is this a fresh install?
19:42 pnate yep, fresh install
19:42 __ash__ hm
19:42 pnate i just did that and it can't find the parrot version
19:43 lisppaste3 pnate pasted "configure attempt with latest parrot" at http://paste.lisp.org/display/88919
19:43 __ash__ 41942
19:43 __ash__ is the current parrot revision
19:43 pnate is there something i need to do other than check that parrot out into that directory?
19:46 __ash__ i have mine setup /Users/john/Projects/parrot and /Users/john/Projects/rakudo then just build parrot first, and when i configure rakudo i do perl Configure.pl --parrot-config=/usr/local/bin/parrot_config
19:46 pnate yeah, that's what i did before i got that compile error i pasted earlier
19:46 __ash__ parrot's configured with no custom options, just perl Configure.pl, then make && make install
19:46 __ash__ what gcc do you have?
19:46 __ash__ gcc -v
19:47 pnate i686-apple-darwin10-gcc-4.2.1
19:47 pnate Configured with: /var/tmp/gcc/gcc-5646~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10
19:48 bhuron joined #perl6
19:50 __ash__ when you build parrot, try a make test in that directory
19:50 __ash__ make sure parrots working fine
19:50 pnate nope lol
19:50 __ash__ whats that giving you?
19:51 lisppaste3 pnate pasted "parrot make test" at http://paste.lisp.org/display/88921
19:52 __ash__ are you in the parrot channel?
19:52 __ash__ on irc.perl.org
19:52 pnate i can be
19:52 __ash__ k, they would know more about parrot related issues, this might be a parrot issue more than rakudo
19:53 __ash__ what happens when you run make test a second time?
19:54 pnate it runs more tests
19:54 pnate many are ok
19:54 ShaneC joined #perl6
19:56 pnate all tests successful ... not sure why that happened the first time
19:59 __ash__ i am asking in the parrot channel, i had the same issue the first time i ran it
19:59 __ash__ kinda weird, its consistantly happening the first time i run tests after a make clean
20:00 omega perhaps some test leaves behind some cruft?
20:00 lambdabot omega: You have 1 new message. '/msg lambdabot @messages' to read it.
20:00 omega can I tell lamdabot I have read that msg? I seem to be getting it time and time again :p
20:02 colomon jnthn: With appropriate protos, all the currently skipped sin and asin tests past (as well as all the currently passing ones).  Given that, once you get resig2 merged and I get a chance to add protos as needed, we'll have something like 5000 additional passing tests....
20:02 __ash__ pnate: well, either way, that error hasn't prevented me from building rakudo, so... back to your issue, can you paste this:  /usr/local/bin/parrot_config --dump
20:03 __ash__ (correct the path if you need to)
20:05 lisppaste3 pnate pasted "parrot_config --dump" at http://paste.lisp.org/display/88924
20:06 jnthn colomon: I think that's a win.
20:06 jnthn :-)
20:06 colomon jnthn: I'm inclined to agree.  \o/
20:08 moritz_ re
20:12 diakopter colomon: do those trig tests expect a certain number of significant digits?
20:12 colomon diakopter: they're using is_approx, so they use its accuracy
20:12 colomon which I believe is 0.00001
20:13 moritz_ oh wow, I didn't know about http://www.learningperl6.com/
20:13 __ash__ pnate: i have no idea why your's isn't building, yours is basically identical to mine, other than a few paths
20:13 __ash__ its also kinda odd that they put the stuff out in different orders
20:14 diakopter colomon: ok cool
20:14 pnate cool
20:14 moritz_ why do these Perl 6 book authors don't discuss with us? is everything in Perl 6 clear to them?
20:14 __ash__ pnate: is your parrot build a debug build?
20:15 pnate ash: yeah, who knows, i'm glad i could be of help though
20:15 pnate ash: not that i know of
20:15 moritz_ or did I just miss all the discussions?
20:15 diakopter JS's number has a couple more digits precision that parrot
20:15 diakopter than parrot
20:16 diakopter moritz_: that website has been online for several years
20:16 colomon diakopter: I would expect that we generally get much better precision than that, though perhaps not on some of the funkier trig tests.
20:16 moritz_ just saw it, "Last Modified: Tue May 1 09:34:54 2007"
20:17 diakopter I seem to recall it being mentioned a few times on the mailing list(s) 2-3 years ago.
20:17 moritz_ ah well
20:17 __ash__ pnate:  you have a ccflag for -g , which is one of the only differences I see that is major between ours, but thats not that big of a difference, wonder where that got set, do you have any CFLAGS set in your env?
20:17 pnate nope
20:17 moritz_ then my question just applies to the newer "
20:17 moritz_ Beginning Perl 6: From Novice to Professional"
20:20 __ash__ moritz_: is that a book? i'd be amazed if an author could have a book about perl 6 out already... since, you know, the specs not even done...
20:21 diakopter By: James Lee , Richard Dice
20:21 diakopter # Pub. Date: October 26, 2009
20:21 diakopter # 500pp
20:21 moritz_ __ash__: http://www.amazon.com/Beginning-Perl​-Novice-Professional/dp/1590598334/ "Currently unavailable"
20:22 diakopter http://search.barnesandnoble.com/Begin​ning-Perl-6/James-Lee/e/9781590598337
20:22 __ash__ amazon knows the future, i think thats the real issue
20:24 diakopter rdice: hiya
20:25 rdice diakopter: G'day mate.
20:26 diakopter (see above) folkses've stumbled upon yer book
20:27 rdice Er, wot?
20:27 rdice Oh, look there, a URL.
20:27 rdice The project has been stalled for a few years. :-)
20:27 __ash__ pnate: did you do a make install of parrot?
20:28 pnate yep, actually let me try compiling rakudo again fresh
20:28 rdice # Pub. Date: October 26, 2009 -- I have no idea where this date came from.
20:28 diakopter so B&N's release date of 7 days from now... oh.
20:28 rdice I promise that it has no reflection on reality.
20:28 diakopter :D
20:29 rdice I think we started working on this in early 2006, and by mid-2006 we got as far as Pugs would allow us.  We've been waiting for Rakudo to get to the point where we could start things back up again.  And you know, we're probably there now.  But there hasn't been forward movement on it.
20:32 diakopter oh.
20:33 pnate nope, same compile failure
20:33 pnate http://paste.lisp.org/display/88915
20:36 __ash__ which git commit are you at?
20:37 pnate is it 08b7890? i'm not very familiar with git
20:38 hanekomu_ joined #perl6
20:38 moritz_ that's quite old
20:38 moritz_ Feb 26
20:38 pnate wow
20:38 moritz_ please try a newer rakudo
20:38 pnate guess i should have installed git after all
20:38 pnate doing that now
20:40 __ash__ could be the issue hehe
20:41 kst joined #perl6
20:43 pnate --gen-parrot works
20:45 gbacon joined #perl6
20:48 __ash__ cool, so you just had an old version of rakudo then?
20:49 pnate yeah, not sure why i downloaded that
20:49 pnate i guess it was the most recent i saw in the directory listing
20:49 * jnthn finishes up awesomizing the new binder's error messages
20:51 pnate yeah, there we go, it compiled successfully
20:51 pnate thanks for that
20:51 pnate now i can start writing perl 6
20:51 moritz_ I also recommend running 'make install'
20:51 moritz_ which will install it to rakudo/parrot_install/bin/perl6
20:51 pnate yep, already did
20:52 moritz_ add that to your $PATH - PROFIT!
20:52 * PerlJam always just does make install && sudo cp perl6 /usr/bin  3 :)
20:52 __ash__ mine lives in /usr/local
20:52 moritz_ I have a symlink in ~/bin/
20:52 __ash__ well /usr/local/bin/perl6
20:53 __ash__ moritz_: how do you install proto?
20:53 __ash__ just check it out?
20:53 moritz_ and then switch to the installed-modules branch
20:54 moritz_ that's already much more awesome than the master branch, IMHO
20:55 jnthn But what if master branch was suddenly to get more awesome? ;-)
20:55 moritz_ then magic git fu would be required!
20:56 moritz_ speaking of which... ETA for resig2 merge?
20:56 omega oi?
20:56 __ash__ so, i run the perl6 installer ?
20:56 omega wrong window
20:56 __ash__ to have it install itself?
20:56 jnthn moritz_: Within the next hour, I think. :-)
20:57 moritz_ __ash__: ./proto install proto
20:57 moritz_ (not that I expect much git magic to be necessary to merge that branch...)
20:58 __ash__ moritz_: it doesn't like that i didn't let rakudo build parrot...
20:58 moritz_ __ash__: there's a config file where you can change the rakudo location...
20:58 moritz_ config.proto
20:59 moritz_ should work if you put the right path there
20:59 __ash__ kk, that fixed it
21:00 __ash__ hm
21:00 __ash__ Downloading all...Use of uninitialized value      is that normal?
21:00 moritz_ no, but that branch isn't well tested either yet
21:00 __ash__ ah, kk
21:01 __ash__ well, i might switch back to master, see if that still gives that warning
21:11 jnthn Running hopefully final spectest before merge.
21:12 jaldhar joined #perl6
21:32 meppl joined #perl6
21:33 * mberends is hopeful about jnthn's resig2 branch, and has just got V8 running on amd64
21:34 jnthn mberends: It's looking good. :-)
21:34 jnthn mberends: Just about to merge.
21:46 pinchyfingers joined #perl6
21:46 __ash__ what is the resig2 branch?
21:47 jnthn It was a branch that replaced the signature binder.
21:49 dalek joined #perl6
21:49 colomon jnthn: I like that "was".  :)
21:49 jnthn Merged.
21:50 moritz_ that branch brakes parallel build, again
21:50 jnthn moritz_: aww
21:50 jnthn moritz_: I thought I'd declared all the deps. :-/
21:50 jnthn I mean, there's not that much to them.
21:50 jnthn Just make sure bind$(O) is built before the dynpmcs...
21:51 tylerni7 joined #perl6
21:51 jnthn And it's declared there.
21:51 jnthn $(DYNPMC): $(PMC_SOURCES) src/binder/bind$(O)
21:51 moritz_ perl6_ops.c:29:38: error: ../pmc/pmc_p6lowlevelsig.h: No such file or directory
21:51 jnthn Oh
21:51 colomon \o/
21:51 jnthn We need to build ops before dynpmcs I guess.
21:52 jnthn moritz_: adding
21:53 moritz_ Util++'s old patch seems to still work for that one
21:53 moritz_ (though it doesn't apply cleanly anymore)
21:53 jnthn moritz_: pushed, give it another try
21:54 athomaso1 joined #perl6
21:54 moritz_ aye, works
21:54 jnthn \o/
21:54 jnthn Yeah, I'd forgotten we need dynpmcs before ops.
21:54 dalek rakudo: fca32d8 | jonathan++ | build/Makefile.in:
21:54 dalek rakudo: Try to unbreak parallel build.
21:54 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/f​ca32d85e899b355183ebf795ae1783beae7ee9b
21:54 moritz_ jnthn++ # resig2 merge
21:54 moritz_ jnthn++ # resig2 merge
21:54 moritz_ jnthn++ # resig2 merge
21:54 moritz_ jnthn++ # resig2 merge
21:54 moritz_ jnthn++ # resig2 merge
21:55 jnthn :-)
21:55 moritz_ since dalek didn't report the commits here, I had to give out the karma myself ;-)
21:56 colomon jnthn++ indeed
21:56 moritz_ build worked with -j  (no limit) on a quad core machine
21:56 jnthn Excellent.
21:56 jnthn rakudo: sub foo(:$x) { }; foo(x => 1, y => 2, z => 3)
21:56 p6eval rakudo 1f1650: OUTPUT«Failed allocation of 375679515973768 bytes␤Parrot VM: PANIC: Out of mem!␤C file src/gc/alloc_memory.c, line 61␤Parrot file (not available), line (not available)␤␤We highly suggest you notify the Parrot team if you have not been working on␤Parrot.  Use parrotbug (located in
21:56 p6eval ..parrot's…
21:56 jnthn erm...
21:56 colomon awesome!
21:57 jnthn rakudo: say "hi"
21:57 p6eval rakudo 1f1650: OUTPUT«Failed allocation of 382045815036040 bytes␤Parrot VM: PANIC: Out of mem!␤C file src/gc/alloc_memory.c, line 61␤Parrot file (not available), line (not available)␤␤We highly suggest you notify the Parrot team if you have not been working on␤Parrot.  Use parrotbug (located in
21:57 p6eval ..parrot's…
21:57 jnthn :-/
21:57 colomon that's a lot of bytes!
21:57 jnthn Yeah!
21:57 moritz_ t/spec/S02-lexical-conventions/unicode.rakudo .................. Dubious, test returned 1 (wstat 256, 0x100)
21:57 moritz_ Failed 5/31 subtests  (less 2 skipped subtests: 24 okay)
21:58 jnthn moritz_: Gah, evidently my fix for that didn't quite work after all. :-(
21:58 * jnthn lacks ICU
21:58 colomon I mean, I thought my program trying to use 9 gigs of ram the other day was impressive, and this is orders of magnitude more than that.....
21:58 moritz_ jnthn: do you want access to a machine with icu installedß ;-)
21:58 jnthn moritz_: Well, I could be less lazy and install it on my one too. :-)
21:58 moritz_ s/ß/?/
21:59 moritz_ whatever works for you ;-)
21:59 jnthn moritz_: Any idea why evalbot has gone explodey?
22:00 moritz_ jnthn: no - realcleaning and building now
22:00 jnthn moritz_: I did bump PARROT_REVISION, btw.
22:00 jnthn ah, hopefully that fixes it.
22:00 diakopter 382045815036040 bytes
22:01 moritz_ rakudo: say 382045815036040 / 2**30
22:01 p6eval rakudo 1f1650: OUTPUT«355807.892080434␤»
22:01 diakopter heh
22:01 moritz_ that's just a few hundred peta bytes
22:01 moritz_ what's the buzz all about?
22:02 __ash__ thats 0.339 PB
22:02 moritz_ anyway, going to bed now... in 5 minutes rakudo should be rebuilt on the p6eval server, and in 10 you should have the first smolder report
22:02 moritz_ er, right
22:03 moritz_ less than a PB. Neglectible ;-)
22:03 __ash__ 347 TB :P
22:03 __ash__ can a 64 bit address space even make enough space for that?
22:03 moritz_ rakudo: say 2**64
22:03 p6eval rakudo 1f1650: OUTPUT«Failed allocation of 378723779532936 bytes␤Parrot VM: PANIC: Out of mem!␤C file src/gc/alloc_memory.c, line 61␤Parrot file (not available), line (not available)␤␤We highly suggest you notify the Parrot team if you have not been working on␤Parrot.  Use parrotbug (located in
22:03 p6eval ..parrot's…
22:03 moritz_ heh ;-)
22:04 diakopter moritz_: I'll watch it in a bit
22:04 __ash__ the world may never know
22:04 moritz_ really zZzZ
22:04 jnthn night, moritz_ :-)
22:08 hercynium joined #perl6
22:08 jnthn rakudo: say "lol I'm back"
22:08 p6eval rakudo fca32d: OUTPUT«lol I'm back␤»
22:08 jnthn \o/
22:08 jnthn rakudo: sub foo(:$x) { }; foo(x => 1, y => 2, z => 3)
22:08 p6eval rakudo fca32d: OUTPUT«2 unexpected named parameters passed (z, y)␤in Main (file src/gen_setting.pm, line 288)␤»
22:08 jnthn ooh, it mentions *both* names. ;-)
22:09 jnthn rakudo: sub foo($x, $y?) { }; foo()
22:09 p6eval rakudo fca32d: OUTPUT«Not enough positional parameters passed; got 0 but expected between 1 and 2␤in Main (file src/gen_setting.pm, line 288)␤»
22:09 jnthn rakudo: sub foo($x, *@y) { }; foo()
22:09 p6eval rakudo fca32d: OUTPUT«Not enough positional parameters passed; got 0 but expected at least 1␤in Main (file src/gen_setting.pm, line 288)␤»
22:10 mberends jnthn++ # awesome error messages
22:11 jnthn rakudo: sub plot($x, $y) { say "($x,$y)" }; plot(1,2), plot(1, y => 2); plot(2, x => 1); plot(x => 1, y => 2);
22:12 p6eval rakudo fca32d: OUTPUT«(1,2)␤(1,2)␤(1,2)␤(1,2)␤»
22:12 cognominal jnthn++ # compiling rakudo on snow leopard
22:12 jnthn rakudo: my $count = 0; class Food { method pub { $count++ } }; Food.new.pub for 1..10; say $count;
22:13 p6eval rakudo fca32d: OUTPUT«10␤»
22:13 jnthn You can now also use lexicals outside of class blocks, as an added extra bonus.
22:13 jnthn rakudo: say 1; class Food { say 2; }; say 3;
22:13 p6eval rakudo fca32d: OUTPUT«1␤2␤3␤»
22:13 jnthn diakopter: And we get that one right now. :-)
22:14 jnthn diakopter++ # getting the spec clarification on that one
22:17 __ash__ anyone seen http://github.com/quietfanatic/link-c yet?
22:18 jnthn Haven't had chance to play with it, but heard about it.
22:18 __ash__ would that let you link to other non-C libraries too perhaps? Like say, ObjC or C++ ?
22:18 __ash__ doesn't C++ just mangle the names of its symbols?
22:19 Whiteknight joined #perl6
22:19 arnsholt IIRC C++ only does name mangling, but that mangling is also compiler-specific, unless I'm much mistaken
22:20 colomon arnsholt is right about the mangling.
22:20 colomon If link-c actually works already, that's awesome.
22:21 jnthn I got the impression that it does.
22:21 __ash__ there are some samples you can try in there
22:21 __ash__ kinda odd that the git repo has a .so file in it though
22:22 __ash__ hmm, wonder if i can ask that guy about linking to other libraries, like C++ or ObjC ones
22:22 dj_goku joined #perl6
22:29 kst joined #perl6
22:30 cognominal make test successful on smow leopard
22:31 kst joined #perl6
22:33 jnthn cognominal: Excellent, thanks for testing.
22:35 cognominal spectest doing well except autothreading
22:37 jnthn cognominal: You on 64-bit?
22:44 mikehh joined #perl6
22:45 arnsholt jnthn: I just tried the latest Rakudo on my Snow Leopard and make test worked fine
22:46 arnsholt According to file, the perl6 executable is "Mach-O 64-bit executable x86_64"
22:46 jnthn Aye.
22:46 jnthn S03-junctions/autothreading.t in the spectests hits some issues on 64-bit.
22:47 jnthn It's in some throw-away code that will last about a week (until Parrot's pcc_reapply branch is merged).
22:47 jnthn So I'm not inclined to spend hours tracking down exactly why it explodes (especially sicne the bit of Parrot it crashes in is also going away within a week or so, I expect).
22:48 jnthn I tried a few things and had it under gdb, but didn't see anything obviously wrong. :-|
22:49 Chillance joined #perl6
22:50 cognominal joined #perl6
22:51 lumi joined #perl6
22:53 cognominal joined #perl6
23:02 cognominal jnthn, yes I am on 64 bits at the applicative level
23:04 dalek nqp-rx: 2188043 | pmichaud++ | src/cheats/regex-cursor-protoregex.pir:
23:04 dalek nqp-rx: Empty protoregexes return a fail.
23:04 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/2​1880437b753ff9e2311ce66bdf690acbcd5b5ad
23:04 dalek nqp-rx: 2d1ddd7 | pmichaud++ | src/ (5 files):
23:04 dalek nqp-rx: Add prefix: and postfix: processing.
23:04 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/2​d1ddd70f66142655dd8d39804537aecff43e611
23:07 cognominal rakudo:  sub quicksort ([$pivot, *@data], $reverse?, $inplace?) {...}
23:07 p6eval rakudo fca32d: OUTPUT«Malformed routine definition at line 2, near "quicksort "␤in Main (file <unknown>, line <unknown>)␤»
23:10 dalek nqp-rx: 7574241 | pmichaud++ | src/NQP/ (2 files):
23:10 dalek nqp-rx: Verify that right associativity is working (it is).
23:10 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/7​574241c990398d123ab9bc5c6cb38c5905e3f71
23:10 jnthn cognominal: Heh. You don't get those yet. :-P
23:10 jnthn cognominal: Though the binder already has various stubs in place to fill out for them.
23:11 jnthn cognominal: They're part of the grant - you'll get 'em within the next month. :-)
23:11 jnthn cognominal: You'll be pleased to know though that you now do have:
23:11 jnthn rakudo: say :($x, $y).WHAT
23:11 p6eval rakudo fca32d: OUTPUT«Signature()␤»
23:11 jnthn siglits. :-)
23:13 cognominal I am sure I have plenty to play with
23:14 cognominal say :($x, $y).perl
23:14 cognominal oops
23:14 cognominal rakudo: say :($x, $y).perl
23:14 p6eval rakudo fca32d: OUTPUT«:(Object $x, Object $y)␤»
23:15 dalek nqp-rx: 29c3519 | pmichaud++ | src/ (4 files):
23:15 dalek nqp-rx: Add circumfix: .
23:15 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/2​9c35194fd8b046baa4b80714fec997334382173
23:19 jnthn .oO( . is a circumfix? oh, wait... )
23:20 pmichaud Maybe it's a circumfix in NQP-rx.  :-)     That way we can write  "..."  as being   circumfix:<. .>( term:<.> )
23:21 jnthn ;-)
23:21 jnthn Oh, the possibilities. :-)
23:24 colomon jnthn: wrt proto, it looks like I can get away with replacing the existing "multi sub sin($x, $base = 'radians')" with "proto sin($x, $base = 'radians')" (instead of creating a separate proto version).  Does that seem right?
23:27 jnthn hmm
23:27 jnthn erm
23:27 * jnthn 's brain grinds into action
23:27 jnthn If it's an untyped variant, you may get away with that.
23:28 jnthn oh wait
23:28 jnthn no, don't do it
23:28 jnthn Bad idea. :-)
23:28 jnthn Consider you have overloads;
23:28 jnthn multi sin(Complex $x) { }
23:28 jnthn And somebody does sin(x => $some_complex_number)
23:28 jnthn If you're not re-dispatching, then you'll ignore the overloads.
23:29 jnthn As in, the other candidates.
23:29 jnthn .oO( multi sin(Original $x) { ... } )
23:30 jnthn So no, the proto should just re-dispatch to one of the matching multis.
23:35 jnthn loliblogged! http://use.perl.org/~Jonath​anWorthington/journal/39772
23:37 cognominal jnthn++
23:37 frew joined #perl6
23:38 cognominal what's this board game?
23:38 jnthn Druid
23:38 jnthn See http://github.com/masak/druid/
23:39 cognominal sounds nice
23:40 jnthn I've actually played it once in person. It was fun, though I lost. :-)
23:41 tak11 joined #perl6
23:41 cognominal I guess I need to write a goban to play go with masak. I have not explored Web though.
23:43 __ash__ joined #perl6
23:47 payload joined #perl6
23:50 colomon jnthn: okay.
23:51 cognominal specteston snow leopard :  Files=438, Tests=32257, 2051 wallclock secs (11.96 usr  3.32 sys + 3016.78 cusr 228.38 csys = 3260.44 CPU)  only autothreading fails
23:56 j2j joined #perl6
23:58 carlin Yay, resig was merged \o/
23:58 jnthn :-)
23:59 carlin but now I can't use junctions
23:59 carlin not that I did before anyway though
23:59 jnthn ;-)

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

Perl 6 | Reference Documentation | Rakudo | Niecza | Specs