Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

spinclad (6747)

spinclad
  (email not shown publicly)
+ -

  Comment: Mere Nit (Score 1) on 2010.06.04 19:24

by spinclad on 2010.06.04 19:24 (#72019)
Attached to: GGE now runs fine on Rakudo master

'7430' seems to be the wrong ticket number in your last link.

Other-wise, it is indeed good news to have modern Rakudo host PGE again. 'A grateful grammar engine still applauds.'

Read More 2 comments
Comments: 2
+ -

  Comment: Re:How about this? (Score 1) on 2010.04.27 16:40

by spinclad on 2010.04.27 16:40 (#71928)
Attached to: I can haz constant?

Oh, yes, that's exactly the thing.

I think has $.x := $y would have its uses, too; i'll poke around (in spec, code, #perl6) to see what might block/enable it.

Read More 8 comments
Comments: 8
+ -

  Comment: How about this? (Score 1) on 2010.04.27 14:46

by spinclad on 2010.04.27 14:46 (#71926)
Attached to: I can haz constant?

class Car { # this is Perl 6 code
    my $cars-produced = 0;
    has $.cars-produced := $cars-produced;

    submethod BUILD() {
        ++$cars-produced;
    }
}

So you have a shared counter, an alias of it per instance (which seems redundant, but makes it work*... perhaps by some means one could persuade the compiler to compile it away, as it's constant as a reference), and accessors for inheriting.

Rakudo doesn't like the 'has $.x := $y' construct (yet?), nor other variations moving the bind into the BUILD, but std parses it fine, at least. So when I say 'makes it work', I mean 'in Perl 6, in theory, in my head'.

Read More 8 comments
Comments: 8
+ -

  Comment: Re: since Michael Dorn... (Score 1) on 2010.02.18 15:49

by spinclad on 2010.02.18 15:49 (#71710)
Attached to: The typo trap: a farcical FAQ
But .. but ... oh, yes, you're right. That was proto, and Austria, of course. A grateful nation still applauds.
Read More 6 comments
Comments: 6
+ -

  Comment: getperl.org?? (Score 1) on 2009.09.12 16:42

by spinclad on 2009.09.12 16:42 (#70570)
Attached to: getperl.org - Now prettier

Somehow I don't see using the 'getperl' name for this as contributing to peace and mutual support in the Perl 5/6 community. Perl 6 is nowhere near ready to stand as the default Perl to use; while Rakudo is getting quite interesting in the breadth and depth of what it implements, it still has holes to fill and needs to get several orders of magnitude faster; its 'ecosystem' is just beginning to be interesting but can hardly compete with CPAN as yet.

A 'getperl' site should for the forseeable future provide for getting both Perl 5 and Perl 6, in a reasonably balanced way. No, I don't know to manage this; perhaps TPF?

Read More 3 comments
Comments: 3
+ -

  Comment: Re:Fix It! (Score 1) on 2009.08.31 0:49

by spinclad on 2009.08.31 0:49 (#70341)
Attached to: Perl6 site...really...I give up
(ruby came and *went*??)
Read More 106 comments
Comments: 106
+ -

  Comment: Name of feature requisitor (Score 1) on 2009.08.23 17:19

by spinclad on 2009.08.23 17:19 (#70231)
Attached to: Playing with traits
It was takadonet who needed aliasing like this (starting here).
Read More 1 comments
Comments: 1
+ -

  Comment: Re:27 May, perhaps? (Score 1) on 2009.07.02 23:59

by spinclad on 2009.07.02 23:59 (#69236)
Attached to: Perl 6 Design Minutes for 27 May 2009
answer: yes, from clues within the text.
Read More 2 comments
Comments: 2
+ -

  Comment: 27 May, perhaps? (Score 1) on 2009.07.02 21:57

by spinclad on 2009.07.02 21:57 (#69234)
Attached to: Perl 6 Design Minutes for 27 May 2009
seeing another log for 20 May just below this one, just wondering if this is the next week's log?
Read More 2 comments
Comments: 2
+ -

  Comment: Re: Austria! (Score 1) on 2009.04.29 18:37

by spinclad on 2009.04.29 18:37 (#68352)
Attached to: The totally undeserved fame and success of proto
Anyway, I thought it was a two-pronged strategic manoeuvre from Sweden and Bratislava that stemmed the prospects of Viennese unrest.

(And who, really, could resist its magnificent Tlhingan (Tlingit?) Quch-Hom-woQ?)

Read More 4 comments
Comments: 4
+ -

  Comment: Well-deserved praise! (Score 1) on 2009.04.29 18:24

by spinclad on 2009.04.29 18:24 (#68350)
Attached to: The totally undeserved fame and success of proto
May I humbly point out that it is, in fact, 'the most successful Perl 6 installer of the decade'.

Well, and the only. (To date, at least).

Read More 4 comments
Comments: 4
+ -

  Comment: Re:Checking permissions is silly (Score 1) on 2009.01.20 16:19

It closes, not the case of its permissions changing, but of statting and reading different files, because the file (in a writable directory, like /tmp) got renamed in the interim.

A tighter permission check, reasonably cheap: fstat, read, fstat again and check nothing but access time has changed.

Read More 10 comments
Comments: 10
+ -

  Comment: C^n_2 (Score 1) on 2009.01.02 2:11

by spinclad on 2009.01.02 2:11 (#66699)
Attached to: First post.
int(fact(n)/2) is cute, but a bit off: it will grow as n^n, not n^2:

0 0 1 3 12 60 360 ...

C^n_2 is of course n!/(n-2)!2!, or n(n-1)/2:

0 0 1 3 6 10 15 ...

Read More 2 comments
Comments: 2