Re: Pod6 examples

2020-07-21 Thread daniel
> Can anyone point me at examples of pod6 in use?… Concise would be nice, One concise example I've found useful is the Pod::Load script, https://modules.raku.org/dist/Pod::Load:cpan:JMERELO/lib/Pod/Load.pm6 This short script shows pod6 used both as a more full-featured documentation format (the

Re: 2020.07 just hit

2020-07-21 Thread daniel
> $ raku --version > This is Rakudo version 2020.07 built on MoarVM version 2020.07 > implementing Raku 6.d. > Whats is new?? Release notes are at https://github.com/rakudo/rakudo/blob/master/docs/announce/2020.07.md I'm most excited for new the Unicode operators, ≡ and ≢ (though the permutatio

Re: Raku User's Survey 2020 out now....

2020-08-25 Thread daniel
tion of the docs is so different. I've been trying to contribute to the docs more in the past few weeks, so maybe I can play a small part in making that situation better for us all. Best, Daniel

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread daniel
> Here is my keeper on a hash Thanks for sharing :)

Re: Any other way to do this

2020-08-31 Thread daniel
I like Bruce's Regex-based approach. Here's how I'd probably approach the problem: raku -e 'say [+] @*ARGS.grep(+*)' 0 100 200 300 apples 400oranges 2kilos 18.7876 500 grams14 10stars10 sun100moon 77 August 31, 2020 2:28 PM, "Bruce Gray" wrote: > my $is_a_number = / ^ \d+ [ '.' \d* ]? $ /; >

Re: list of all raku classes?

2021-02-28 Thread Daniel Sockwell
> Is there a convenient way to get a list of all classes built-in to Raku? Short answer: raku -e '.say for (|CORE::, |UNIT::, |OUTERS::, |MY::).grep({ .key eq .value.^name }).grep({ .value.HOW.^name eq "Perl6::Metamodel::ClassHOW" }).map(*.key).unique' Somewhat longer answer: https://stackoverf

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Daniel Sockwell
Kevin Pye wrote: > Just because mathematics allows an implied multiplication doesn't mean Raku > does -- in fact I can't > think of any programming language which does. As a (potentially) interesting side note, while Raku doesn't provide implied multiplication, it _is_ one of the few programmi

Re: Module Documentation

2021-03-02 Thread Daniel Sockwell
Richard Hainsworth wrote: > My suggestion is that some formal decision is made about documentation for > Raku modules, that some > documentation good practices are put together and included in the Modules > page. I think that this is a great idea (and that your suggestions afterwords are a go

Re: Find Packages with prefix ...

2021-03-07 Thread Daniel Sockwell
Hi Paul, That's an interesting question, and I have a few thoughts below. Before I get to those, I wanted to point out an issue with the way you started your email with "Hey Gents": the Raku community includes many talented women, and I'd love to see it include more. On to the technical quest

Re: Please create a Raku community channel

2021-03-14 Thread Daniel Sockwell
ebsite might look like, but don't think I can communicate it without a POC). I hope to be able to share more details in the coming days. Best, Daniel / codesections

Re: File::Find using a junction with exclude

2021-05-23 Thread Daniel Sockwell
> For example, you can't get a count of the number of elements in a junction Well, if you're willing to stoop to ugly enough hacks, there's _always_ a way :D any('a', 'b').raku.substr(3).EVAL.elems # OUTPUT «3» > My guess would be that the `ACCEPTS` method for a Junction is special cased to ha

Re: File::Find using a junction with exclude

2021-05-24 Thread Daniel Sockwell
> But .EVAL is evil, right? Indeed! And any('a', 'b', 'c').raku.substr(3).EVAL.elems; arguably deserves _extra_ evil points for using the .EVAL method which, unlike the EVAL sub, doesn't even warn about how dangerous it is (even though it probably should).

Re: File::Find using a junction with exclude

2021-05-24 Thread Daniel Sockwell
> It can be done without the EVAL: > >> any('a', 'b', 'c').raku.substr(4, *-1).split(',').elems > > 3 Yeah, but only at the cost of some fragility: > any('a', 'b,b', 'c').raku.substr(4, *-1).split(',').elems 4 I suppose you could do: > any('a', 'b,b', 'c').elems.raku.substr(4, *-1).split(',')

Re: File::Find using a junction with exclude

2021-05-24 Thread Daniel Sockwell
liable trick would be to use a sub and a counter > variable: > > my atomicint $c = 0; > sub foo($) { ++⚛$c }('a' | 'b,b' | 'c'); > say $c; > > Or, taking about tricks: > > ('a' | 'b,b' | 'c')».&(-> $ { ++

Re: File::Find using a junction with exclude

2021-05-24 Thread Daniel Sockwell
> Oh, and WAT is [short for] "Weird/will Ass Thing"? No, it's not an abbreviation for anything – it's the word "what", but pronounced in a way that indicates the speaker is surprised/confused. More specifically, it's a reference to the WAT talk (a really good one, even if it is about a different

Re: Buf to Str

2021-06-09 Thread Daniel Sockwell
Hi Paul, If you _do_ want/need to work with C-style null-terminated strings, you can use the (core) NativeCall library. So, given your example: > my Buf $b .= new([72, 105, 0, 32, 97, 103, 97, 105, 110, 0]); > say $b.decode; > I would expect this to print 'Hi'. > > Instead it prints 'Hi again'

Re: [naive] hash assingment

2021-07-14 Thread Daniel Sockwell
To expand slightly on what Clifton said, the reason that > %a = %a.map: { .sqrt }; > # (1 1.4142135623730951 1.7320508075688772 2 2.23606797749979) does what you mean but > %a{'column1'} ==> map( { .sqrt } ) > # (2.23606797749979) does not is that the method .map maps over *each item* in the A

Re: callbacks with placeholder vars

2021-08-25 Thread Daniel Sockwell
I just submitted a PR based on this useful thread. https://github.com/Raku/doc/pull/3942 Thanks to you both! (Also, apparently $:a has the same behavior – after the first time, you can use $a )

Re: junctions with given/when

2021-11-08 Thread Daniel Sockwell
y is pretty convincing, but is sounds like you no longer agree with that guy> I'd be very interested to know what convinced you. Thank you in advance, Daniel

Re: junctions with given/when

2021-11-08 Thread Daniel Sockwell
y is pretty convincing, but is sounds like you no longer agree with that guy> I'd be very interested to know what convinced you. Thank you in advance, Daniel

Re: the MAIN questions

2021-12-29 Thread Daniel Sockwell
> * I'm pretty sure i saw something like :!$test to express Bool :$test = False. > Did i just dreamed about it ? You sort of dreamed it. :!test passes test => False as a Pair, which means $test = False. But that's syntax for calling the fn, not declaring it. You could do Bool() :$test=0, but i

Re: file format extensions

2021-12-30 Thread Daniel Sockwell
+1 from me too. I'd also add test files to the list, which have at least .t and .rakutest (with the latter being preferred AFAK, so that GitHub will start highlighting them correctly). I'm not sure if there are other acceptable extensions for test files, though?

Re: coercion

2022-02-11 Thread Daniel Sockwell
> The question now is that I can't find anything about COERCE in the > documentation. Yeah, COERCE definitely should be documented but just hasn't been yet. There's a raku/doc issue about needing to add it (https://github.com/Raku/doc/issues/3807) but unfortunately none of us has done so yet :

Re: A natural opportunity for Raku?

2022-02-12 Thread Daniel Sockwell
February 12, 2022 4:12 PM, "Parrot Raiser" <1parr...@gmail.com> wrote: > In this article, "Every Simple Language Will Eventually End Up Turing > Complete" > https://solutionspace.blog/2021/12/04/every-simple-language-will-eventually-end-up-turing-complete > the author points out an unfortunate ten

Re: Regex surprises

2022-09-15 Thread Daniel Sockwell
be a good option if you're trying to keep something concise.) Using that syntax, your example goes from S:g[(x)|(y)] = $0 ?? x-replacement !! y-replacement to S:g[$=[x]|y] = $ ?? x-replacement !! y-replacement which is pretty similar. I hope that helps! Best, Daniel --

Re: Perl 6 Object Construction - General Advice

2017-10-01 Thread Daniel Schröer
Am 30.09.2017 19:34 schrieb "Mark Devine" : My most common OC case: initialize attributes at OC time from external input that will be parsed with grammars &/| scrubbed with elaborate conditional tests. Just a shot in the dark without fully understanding the above: maybe your difficulties indicat

Re: Simple Print/Say Question

2006-05-24 Thread Daniel Hulme
Wrt your second problem, if this > $arg_for = [ ( 0 .. $arg_for ) »*« $arg_for ]; is not rw so is not actually adding the entry to the hash (btw, shouldn't the >>*<< be >>* as the right-hand operand is a scalar?), then it is possible that > > > And then I get an error telling me 'No such method in

Re: 3 Good Reasons...

2006-05-24 Thread Daniel Hulme
> what problems Perl 5 has that Perl 6 fixes A type system to die for. I think that is enough of a win on its own that mentioning any of the other features will only muddy the issue :-> -- "The fact that some geniuses were laughed at does not imply that all who are laughed at are geniuses. The

Re: CGI on 6

2006-05-30 Thread Daniel Hulme
> (would that be a "pliki"? a "sixwiki"? a "plixi"? erm-) psiki, where the "p" is silent. Like what you throw when you fancy a free day off work. -- Humpty Dumpty sat on the wall, Humpty Dumpty had a great fall, All the King's horses and all the King's men | http://surreal.istic.org/

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-06-06 Thread Daniel Hulme
> Ask Bj�rn Hansen <[EMAIL PROTECTED]> writes: > > Woah, we are getting really far away from talking about perl6 > > here... > > Kind of a usenet law or corollary? "Every discussion about wikis ends You're being a bit optimistic there, aren't you? The only way you'd end a my-wiki-is-better-than-y

Re: OT: "my wiki syntax is better than yours" (was: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-06-06 Thread Daniel Hulme
> Also realize that it is not necessarily the duty of Textile (et al) to > handle that aspect beyond text formatting. A diff or history-revision > view goes beyond the context of the tool. I don't think Juerd was talking about tables for the purposes of showing version diffs, but so you can give p

Re: Mutil Method Questions

2006-06-23 Thread Daniel Hulme
> Multimethods are not just overloading as in C++. To expand upon this point a little, you can use multimethods to do pattern-matching in the style of ML and similar languages. So, to pinch an example from the pugs tree (examples/functional/fp.p6) multi sub length () returns Int { 0

Re: Trying to make a new operator

2006-09-17 Thread Daniel Hulme
> What am I doing wrong? Sounds like you need to define (or at least declare) the new operator before you use it. Perl 6, like Perl 5 compiles with a single pass, so when you are using your random operator, it hasn't yet read the declaration further down the file. It does its best to DTRT with mos

Re: Perl 6 fundraising and related topics.

2008-02-22 Thread Daniel Ruoso
Qui, 2008-02-21 às 11:15 -0800, Larry Wall escreveu: > I was already told at the beginning of Perl 6 that nobody wanted my > implementation skills. :) I really wouldn't mind your implementation skills being used in SMOP ;). daniel

Re: Perl as a better web language ?

2008-12-12 Thread Daniel Ruoso
the request # params. action bar($patharg, :$param1, :$param2) does Path { # Catalyst already expects a context variable, $c, which # contains the info for the current processing $+c.stash. = 'bar'; } } daniel

Re: Perl 6 pos() function?

2008-12-27 Thread Daniel Ruoso
oking for is $/.from. Unfortunally, rakudo doesn't seem to support match-in-while semantics, but follows a preview of something that does work... my $word = 'banana'; my @guess = ; $word ~~ /a/; @guess[$/.from] = 'a'; say @guess; daniel

Re: Coroutines in Perl 6 (Was: Re: Converting a Perl 5 "pseudo-continuation" to Perl 6)

2009-01-02 Thread Daniel Ruoso
Em Sex, 2009-01-02 às 08:34 -0300, Daniel Ruoso escreveu: > token routine_def: {...} Actually, I was just looking at STD, and the correct token would be token routine_declarator:coro { } I was also looking at the spec files, and I realized that DRAFT S17 mentions coroutines, but

Coroutines in Perl 6 (Was: Re: Converting a Perl 5 "pseudo-continuation" to Perl 6)

2009-01-02 Thread Daniel Ruoso
d idea to avoid action-at-a-distance. But maybe we even convince larry to push that into STD... since it's such a nice feature... daniel

Re: Logo considerations

2009-03-24 Thread Daniel Ruoso
ot in the rakudo logo? ... sorry, couldn't resist... again... daniel

Re: Logo considerations

2009-03-24 Thread Daniel Ruoso
Em Ter, 2009-03-24 às 09:01 -0300, Daniel Ruoso escreveu: > A zombie cat? While I wasn't really serious about it... <>

Re: Logo considerations

2009-03-24 Thread Daniel Ruoso
ser features that > Perl > 6 provides which is relatively new to languages in general. A zombie cat? sorry... couldn't resist... daniel

Submission for Perl 6 examples

2009-05-27 Thread Daniel Carrera
regex-dna benchmarks. You use regexes to analyze DNA code. Currently Rakudo is very slow at it, but that's not surprising at this stage. http://daniel.carrera.bz/_2009/perl/shootout-perl6-2009.05.27.tgz Cheers, Daniel.

Re: Submission for Perl 6 examples

2009-05-27 Thread Daniel Carrera
Daniel Carrera wrote: http://daniel.carrera.bz/_2009/perl/shootout-perl6-2009.05.27.tgz To run the benchmark: perl6 regex-dna.p6.pl < regex-dna.input On my computer it takes about 99s to run on Rakudo, compared to 0.18s for Perl 5 (the Perl 5 benchmark is included in the .tgz f

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-03 Thread Daniel Carrera
an language shootout to Perl 6. I figure this is a good place to start because each benchmark is designed to test one specific aspect of the language. I've only done a couple of benchmarks. If you are interested, why don't you help me? Porting benchmarks is a good way to learn Perl 6. Cheers, Daniel.

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-04 Thread Daniel Carrera
the benchmarks are well designed, your page will be not only nice but also useful. Daniel.

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-04 Thread Daniel Carrera
king on the reverse-complement benchmark. Cheers, Daniel.

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5? (Benchmarking Tool?)

2009-06-04 Thread Daniel Carrera
ctors. I am interested in a tool that can benchmark both perl 5 and perl 6 natively. If you write such a tool, I'd like to try it. Daniel.

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5? (Benchmarking Tool?)

2009-06-04 Thread Daniel Carrera
things to even out. I look forward to seeing your code. Daniel.

Re: the file slurping is not working

2009-06-05 Thread Daniel Carrera
Carl Mäsak wrote: Aruna (>): I tested the below code on parrot-1.1.0 and it read all the lines in the file and tested same code on the latest git update (4th June 2009), it outputs only the first line. That's what C<$file.get> does -- it gives you one line per default. You want C<$file.lines>.

Re: the file slurping is not working

2009-06-05 Thread Daniel Carrera
ank line!! Daniel.

RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
seful. http://daniel.carrera.bz/2009/06/rpn-calculator-in-perl-6/ Cheers, Daniel.

Re: RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
Daniel Ruoso wrote: TIMTOWTDI ;) The objective of the blog was more about the learning + teaching experience than anything else. http://sial.org/pbot/37075 % perl rpn.pl "2 2 +" Semicolon seems to be missing at rpn.pl line 2. String found where operator expected at rpn.

Re: RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
Daniel Carrera wrote: http://sial.org/pbot/37075 % perl rpn.pl "2 2 +" Tee hee... that should have been "perl6". :-) Ok, try again: % perl6 rpn.pl "2 2+" 2 2

Re: RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
Daniel Carrera wrote Ok, try again: % perl6 rpn.pl "2 2+" 2 2 You can probably fix that with a different split() line. I tried using instead of \s+ but the program just hangs forever. I also tried a more complex expression, and the calculator didn't like it: % perl6 rpn.pl

Re: RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
Daniel Ruoso wrote: You can probably fix that with a different split() line. I tried using instead of \s+ but the program just hangs forever. Hmm.. it certainly is in the split, I'm not sure how to get the barrier between the 2 and the + Does Perl 6 still have the word barrier \b

Re: RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
Daniel Ruoso wrote: Yes... that's what wasn't implemented... But now it is ;) http://sial.org/pbot/37085 Close, but... % perl6 rpn.pl "5 4 + 3 / 5 3 - *" -6 That should be a positive 6. Are you planning to write a post explaining how your program works? I figure tha

Re: RPN calculator in Perl 6

2009-06-06 Thread Daniel Carrera
Daniel Ruoso wrote: Are you planning to write a post explaining how your program works? Maybe, but if you want to beat me to it, feel free ;) I figure that the explanation is as useful as the example. I sure spent a lot of time writing the blog post. I'm not sure I'll have t

Re: RPN calculator in Perl 6

2009-06-08 Thread Daniel Ruoso
http://sial.org/pbot/37077 A slightly improved syntax, as per jnthn++ suggestion... Em Sáb, 2009-06-06 às 18:08 +0200, Daniel Carrera escreveu: > Daniel Carrera wrote > > Ok, try again: > > % perl6 rpn.pl "2 2+" > > 2 2 > You can probably fix that with a dif

Re: RPN calculator in Perl 6

2009-06-08 Thread Daniel Ruoso
Em Sáb, 2009-06-06 às 19:45 -0400, Minimiscience escreveu: > my $ls = @a.shift; > my $rs = @a.shift; > To: > my $rs = @a.pop; > my $ls = @a.pop; Thanks... this was already solved in the latest version I sent http://sial.org/pbot/37089 daniel

Re: RPN calculator in Perl 6

2009-06-08 Thread Daniel Ruoso
Em Dom, 2009-06-07 às 00:07 +0200, Daniel Carrera escreveu: > Daniel Ruoso wrote: > >> Are you planning to write a post explaining how your program works? > > Maybe, but if you want to beat me to it, feel free ;) > >> I figure that the explanation is as useful as the e

Re: RPN calculator in Perl 6

2009-06-08 Thread Daniel Ruoso
Em Sáb, 2009-06-06 às 14:06 +0200, Daniel Carrera escreveu: > I just wrote a blog post showing how to make a reverse polish notation > calculator in Perl 6. In the process I show some of Perl 6's grammar > features. TIMTOWTDI ;) http://sial.org/pbot/37075 daniel

Re: RPN calculator in Perl 6

2009-06-08 Thread Daniel Ruoso
Em Sáb, 2009-06-06 às 18:22 +0200, Daniel Carrera escreveu: > Daniel Ruoso wrote: > > er... that's because I didn't tried to implement it... but it > certainly > > is possible to, just by declaring the :(@a, Num $a) variant... > Well, * is implemented, so I gues

Re: RPN calculator in Perl 6

2009-06-08 Thread Daniel Ruoso
Em Sáb, 2009-06-06 às 19:51 +0200, Daniel Carrera escreveu: > Daniel Ruoso wrote: > > Yes... that's what wasn't implemented... But now it is ;) > > http://sial.org/pbot/37085 > Close, but... > % perl6 rpn.pl "5 4 + 3 / 5 3 - *" > -6 > That should be

The Josephus Problem

2009-06-12 Thread Daniel Carrera
one can no longer say that Perl's OOP is awkward. I put a lot of effort in writing the code the same way in all languages and I tried very hard to avoid any bias. Cheers, Daniel.

Q: Code example in "Using Perl 6" - methods and spaces.

2010-12-27 Thread Daniel Carrera
very informative. It just says "Confused at line 28, near my @sorted". Cheers, Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Q: Code example in "Using Perl 6" - methods and spaces.

2010-12-27 Thread Daniel Carrera
t; Thanks. The blacklash "unspace" works. my @sorted = @names.sort({ %sets{$_} })\ .sort({ %matches{$_} })\ .reverse; Though I'm a bit sad that you need that and you can't just separate methods with spaces. Daniel. -- No trees were des

Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
postcircumfix:sym<{ }>, couldn't find final '}' %matches{ $r1 > $r2 ? $p1 : $p2 }++; # Idea 2 gives: Unable to parse blockoid, couldn't find final '}' $r1 > $r2 ? { %matches{$p1}++ } : { %matches{$p2}++ }; Is there a way to make something along these lines wor

Re: Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
ative: $r1 > $r2 ?? { %matches{$p1}++ } !! { %matches{$p2}++ }; Now the problem is that %matches is empty. I'm not sure why. Maybe you can't have code blocks inside ?? ... !! ... Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Q: Code example in "Using Perl 6" - methods and spaces.

2010-12-27 Thread Daniel Carrera
not a big fan of special cases. As you said, they make the language harder to learn. I would add that it makes it harder to predict what a piece of code is going to do. One thing I want from a programing language is to predict what it's going to do. Cheers, Daniel. -- No trees were destro

Re: Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
s, I confirmed that the following works: $r1 > $r2 ?? {%matches{$p1}++}() !! {%matches{$p2}++}(); So, in this needlessly complex code, I basically create an anonymous function and immediately execute it. Cheers, Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
On Mon, Dec 27, 2010 at 10:03 PM, Moritz Lenz wrote: > or > > my $closure = $r1 > $r2 ?? { %matches{$p1}++ } !! { %matches{$p2}++ }; > # invoke it > $closure(); > That's very cool. Perl 6 is a functional language with lambdas and everything. Daniel. -- No t

Re: Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
mind that TTIAR is always a syntax error > in Perl6, then if your code is compiling, whatever is between ?? and !! must > be a single term. > > It's really the TTIAR thing that makes reading Perl6 so incredibly > predictable, I think. > What is TTIAR? Daniel. -- No tree

Re: Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
T > Multi() > > &say.WHAT > Multi() > > &sin.WHAT > Multi(). Interesting. I imagine that Multi() means that the function has multiple definitions. For example, I expect that "sin" has one implementation for floats and another for complex numbers. > But ser

Re: Q: Is there a reason why I can't do this?

2010-12-27 Thread Daniel Carrera
two terms one after the other with nothing in between. Yes, Multi() means it is a multimethod. Multimethods [are routines > that can have multiple variants that share the same name, selected by > arity, types, or some other constraints.][3] > Thanks. Daniel. -- No trees were

Re: Q: Is there a reason why I can't do this?

2010-12-28 Thread Daniel Carrera
On Tue, Dec 28, 2010 at 5:27 AM, yary wrote: > On Mon, Dec 27, 2010 at 8:50 PM, Daniel Carrera > wrote: > > > > So TTIR just means that any two terms must be separated by something, > like > > an operator (2+5). Which basically is common sense and I'm actually &g

Various questions

2010-12-28 Thread Daniel Carrera
", "length" and "size" without success. 3) More generally, is there a way to find out what methods are available? I'm thinking of something like "@foo.METHODS" and it'd give me a list of all the methods available in arrays. That would be useful. Cheers, D

Re: Various questions

2010-12-28 Thread Daniel Carrera
Thanks. On Wed, Dec 29, 2010 at 12:51 AM, Will Coleda wrote: > On Tue, Dec 28, 2010 at 6:32 PM, Daniel Carrera wrote: >> 1)  Does anyone know what a "Parcel" is? >> >> <1 2 3 4>.WHAT  => Parcel() >> <1 2 3 4 ; 2 3 4 ; 5>.WHAT  => Pa

Re: Questions for Survey about Perl

2010-12-29 Thread Daniel Carrera
esearch (e.g. Masters thesis, PhD thesis, or university research), does that count as "production environment" or just "real problems"? Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Questions for Survey about Perl

2010-12-29 Thread Daniel Carrera
ting for a specific feature to be implemented in Rakudo. * Rakudo is too slow. * I didn't realize Rakudo was ready for use. * Other [ fill in the blank ] Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Announce: Rakudo Star 2010.12 released

2010-12-31 Thread Daniel Carrera
Out of curiosity, is it possible to get Rakukdo to talk to C, C++ or Fortran? On Thu, Dec 30, 2010 at 8:04 PM, Patrick R. Michaud wrote: > > On behalf of the Rakudo and Perl 6 development teams, I'm happy to > announce the December 2010 release of "Rakudo Star", a useful and usable > distribution

Re: Announce: Rakudo Star 2010.12 released

2010-12-31 Thread Daniel Carrera
;. But as you can imagine, I need to spend most of my time doing my research. I can't afford a big battle to get Rakudo and Fortran 95 talking to each other. Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Questions for Survey about Perl

2010-12-31 Thread Daniel Carrera
On Fri, Dec 31, 2010 at 7:17 PM, Paul Makepeace wrote: > On Tue, Dec 28, 2010 at 23:02, Gabor Szabo wrote: >> We will have questions about usage of Perl 5 and we think there should >> be also questions >> about Perl 6. > > Should Perl 6 be called something else? >   * No >   * Yes, not sure what

Re: Questions for Survey about Perl

2010-12-31 Thread Daniel Carrera
On Sat, Jan 1, 2011 at 1:26 AM, Chas. Owens wrote: > On Wed, Dec 29, 2010 at 21:39, Xue, Brian wrote: >> I want to adding one more answer about what are people waiting for before >> they >> start using Perl 6. >> >> There hasn't an official release of PERL6.0, just Rakudo. I'm afraid of >> Raku

Re: Questions for Survey about Perl

2011-01-01 Thread Daniel Carrera
r. In turn, if Perl 6.0 is ready and Rakudo hasn't released a 1.0 I might figure that they still need more time. Daniel. -- No trees were destroyed in the generation of this email, but a large number of electrons were severely inconvenienced.

Re: Questions for Survey about Perl

2011-01-01 Thread Daniel Carrera
xpecting that when Rakudo is ready it would have a 1.0 release. I sure did. Using year + month is nice in a way, but it means that you don't immediately know if the release is production vs devel, or whether it's a major vs minor release. Daniel. -- No trees were destroyed in the

Re: Questions for Survey about Perl

2011-01-02 Thread Daniel Carrera
nux? I suspect 1.0 >  - At what point was each of the above declared a "production release"; >    was it concurrent with the release, or some time afterwards? IMO, concurrent. Daniel. -- No trees were destroyed in the generation of this email. However, a large number of electrons were severely inconvenienced.

Re: Questions for Survey about Perl

2011-01-02 Thread Daniel Carrera
e, yes. I don't think it's a rule, but I expect to see a feature freeze, and a period where you just look for bugs for the existing feature set, and then comes the production release. Daniel. -- No trees were destroyed in the generation of this email. However, a large number of elec

Re: Questions for Survey about Perl

2011-01-03 Thread Daniel Carrera
n official blessing is needed by most of us. This can > be Larry for Perl or Patrick for Rakudo or having it > "supplied by our vendor" (e.g. Ubuntu, Red Hat or ActiveState). Yeah, something like that. Daniel. -- No trees were destroyed in the generation of this email. However, a large number of electrons were severely inconvenienced.

Re: Questions for Survey about Perl

2011-01-03 Thread Daniel Carrera
development list and track its progress in order to decide for myself if it is ready for use. I certainly don't have the time or energy or inclination to do that for every single software product I use. I will make exceptions for software that has a very long history. I have no doubt that Emacs

Re: Can't download Rakudo Dec 2010 without git

2011-01-04 Thread Daniel Carrera
That's rather annoying. Isn't there a way to fix that? On Tue, Jan 4, 2011 at 8:25 AM, Moritz Lenz wrote: > On 01/04/2011 03:19 AM, gvim wrote: >> Does this mean I have no option but to install git in order to keep my Perl >> 6 up to date? > > No. You can download and install a release tarball o

Re: Can't download Rakudo Dec 2010 without git

2011-01-04 Thread Daniel Carrera
On Tue, Jan 4, 2011 at 9:38 AM, Jan Ingvoldstad wrote: > On Tue, Jan 4, 2011 at 09:30, Daniel Carrera wrote: >> >> That's rather annoying. Isn't there a way to fix that? > > Yes, install Rakudo Star instead, that bundles a suitable version of Parrot. Oh, gvim w

Re: Production Release - was Re: Questions for Survey about Perl

2011-01-05 Thread Daniel Carrera
about strange attractors and orbits, but I haven't the faintest clue how big the "orbit" of either Perl 6 or Rakudo is. Therefore, I cannot recommend it to other people, and I will hesitate to use it on anything that is very important. Daniel. On Wed, Jan 5, 2011 at 12:38 PM, Ric

Re: Production Release - was Re: Questions for Survey about Perl

2011-01-05 Thread Daniel Carrera
one who wants to see increased adoption of Perl 6 / Rakudo. Cheers, Daniel. -- No trees were destroyed in the generation of this email. However, a large number of electrons were severely inconvenienced.

Re: Production Release - was Re: Questions for Survey about Perl

2011-01-05 Thread Daniel Carrera
use. For any given software package, 99.99% of users do not follow the developers list of look through the test suite. Daniel. -- No trees were destroyed in the generation of this email. However, a large number of electrons were severely inconvenienced.

Re: Production Release - was Re: Questions for Survey about Perl

2011-01-05 Thread Daniel Carrera
of > the compiler, they will look at the size of the test suites. If they are critics to begin with, the size of the test suite will not impress them. They could just as well conclude that Perl 6 must have a million corner cases and gotchas that have to be tested. I have never seen a language re

Re: Production Release - was Re: Questions for Survey about Perl

2011-01-06 Thread Daniel Carrera
ideas. As it is, I'll probably use PDL or NumPy for that purpose. Daniel. On Thu, Jan 6, 2011 at 2:39 PM, Stefan Hornburg (Racke) wrote: > On 01/05/2011 02:51 PM, Gabor Szabo wrote: >> >> Let me just give a probably totally irrelevant comment here. >> I think most of the

Re: Production Release - was Re: Questions for Survey about Perl

2011-01-06 Thread Daniel Carrera
On Thu, Jan 6, 2011 at 3:32 PM, Guy Hulbert wrote: > On Thu, 2011-06-01 at 14:53 +0100, Daniel Carrera wrote: >> I would be very interested to see something that allowed Rakudo to >> talk to Fortran 95. >> >> I am going to use Fortran 95 for my thesis work, and maybe I

Re: Things to Implement for Rakudo

2011-01-06 Thread Daniel Carrera
Is it possible to explain briefly wht the Rulle-Takens algorithm is? That web page seems to mainly explain how some fractals like the Mandelbrot set and the Julia set are generated. Is there a specific, simple algorithm that we can try to implement in PDL, Perl 5 and Perl 6? On Thu, Jan 6, 2011 a

Re: Production Ready Perl 6?

2011-11-23 Thread Daniel Carrera
n no offence by this, is that people try to divert the question because they do not like the answer. If Perl 6 + implementations had a support comparable to C99 or Fortran 2003, I strongly suspect that most people would have answered with "yes, it is production ready". Daniel. On 11

Re: Production Ready Perl 6?

2011-11-23 Thread Daniel Carrera
ons. Javascript has the advantage of being in the browser. The only thing I like about Javascript is that it is a functional language, but it is not a terribly well designed one. Cheers, Daniel. -- I'm not overweight, I'm undertall.

  1   2   >