Re: Baby steps to create a dataframe structure

2020-07-22 Thread William Michels via perl6-users
Hi Tessa, see: "GNU Scientific Library" https://www.gnu.org/software/gsl/ HTH, Bill. On Wed, Jul 22, 2020 at 5:16 PM Tessa Plum wrote: > > JJ Merelo wrote: > > The Raku wrapper for GSL is ready, specifically all matrix operations, > > check it out. It's extremely fast, and could be the

Re: Raku version of "The top 10 tricks of Perl one-liners" ?!?

2020-07-22 Thread William Michels via perl6-users
Dear Larry, Thank you so much for such a complete reply! Not to keep score here, it seems like 9/10 Perl5 'one-liner tricks' are baked into Raku from the language's inception. [ The only feature that might be missing is 'Trick #3' where Perl5 modifies a file in-place at the bash command line

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Tessa Plum
JJ Merelo wrote: The Raku wrapper for GSL is ready, specifically all matrix operations, check it out. It's extremely fast, and could be the foundation for these data frames. What's GSL? Global StarCraft League, I google it show me this result. ^_^ Tessa Plum https://plum.ovh/

Re: Raku version of "The top 10 tricks of Perl one-liners" ?!?

2020-07-22 Thread Timo Paulssen
Try it with a very filled folder, though. I would expect the majority of the time spent is setup and actually going through the lines themselves isn't very slow. On 22/07/2020 22:31, Aureliano Guedes wrote: > That is a little bit disappointing: > > $ time ls -l | perl -lane 'print "$F[7] $F[1]"'

Re: Raku version of "The top 10 tricks of Perl one-liners" ?!?

2020-07-22 Thread Elizabeth Mattijsen
Larry, good to see you here! Of course, I have some comments on your suggestions :-) > On 22 Jul 2020, at 21:14, Larry Wall wrote: >> Trick #5: -a >> >> -a turns on autosplit mode – perl will automatically split input >> lines on whitespace into the @F array. If you ever run

Re: Raku version of "The top 10 tricks of Perl one-liners" ?!?

2020-07-22 Thread Aureliano Guedes
That is a little bit disappointing: $ time ls -l | perl -lane 'print "$F[7] $F[1]"' > /dev/null real 0m0.008s user 0m0.013s sys 0m0.000s $ time ls -l | raku -ne 'say "$_[7] $_[1]" given .words' > /dev/null Use of Nil in string context in block at -e line 1 real 0m0.302s user 0m0.370s sys

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Aureliano Guedes
I liked all answers, make me more motivated to begin On Wed, Jul 22, 2020 at 9:24 AM Fernando Santagata < nando.santag...@gmail.com> wrote: > Since you listed R among the other languages, I guess that you're > interested in statistical functions too. If not, discard the rest of this > email :-)

Re: Raku version of "The top 10 tricks of Perl one-liners" ?!?

2020-07-22 Thread Larry Wall
On Sun, Jul 19, 2020 at 09:38:31PM -0700, William Michels via perl6-users wrote: : Hello, : : I ran across this 2010 Perl(5) article on the Oracle Linux Blog: : : "The top 10 tricks of Perl one-liners" : https://blogs.oracle.com/linux/the-top-10-tricks-of-perl-one-liners-v2 : : Q1. Now that

Re: 2020.07 just hit

2020-07-22 Thread Aureliano Guedes
Nice, Daniel, But, I admit, sometimes I don't like too much some symbols not too intuitive to do on the keyboard like ≡ and ≢ Here, I see a lot of codes with weirdo symbols and I need to search how to do. Anyway, the operator itself seems nice. On Wed, Jul 22, 2020 at 12:42 AM wrote: > > $

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Fernando Santagata
Since you listed R among the other languages, I guess that you're interested in statistical functions too. If not, discard the rest of this email :-) I'm working now on the statistical functions of the GSL: mean, variance, standard deviation, etc. Those functions are not based on the GSL

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Fernando Santagata
Here https://www.gnu.org/software/gsl/ I see this note: The bottom line for commercial users: > GSL can be used internally ("in-house") without restriction, but only > redistributed in other software that is under the GNU GPL. > So yes, the license restricts the use to GNU GPL software; no

Re: Baby steps to create a dataframe structure

2020-07-22 Thread JJ Merelo
Well, you can use it for commercial software as long as you distribute the source with it... El mié., 22 jul. 2020 a las 14:07, Fernando Santagata (< nando.santag...@gmail.com>) escribió: > Here https://www.gnu.org/software/gsl/ I see this note: > > The bottom line for commercial users: >>

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Tom Browder
On Wed, Jul 22, 2020 at 06:51 JJ Merelo wrote: > The Raku wrapper for GSL is ready, specifically all matrix operations, > check it out. It's extremely fast, and could be the foundation for these > data frames. > Depending on your use of the GSL, as I recall the license restricts commercial use.

Re: Baby steps to create a dataframe structure

2020-07-22 Thread JJ Merelo
The Raku wrapper for GSL is ready, specifically all matrix operations, check it out. It's extremely fast, and could be the foundation for these data frames. El mié., 22 jul. 2020 a las 9:15, Tessa Plum () escribió: > Marc Chantreux wrote: > >> But the idea is to implement cooperatively those

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Tessa Plum
Marc Chantreux wrote: But the idea is to implement cooperatively those tools if you do that, i'll be a very suportive user (and casual contributor if i can). me second. :) Regards.

Re: Baby steps to create a dataframe structure

2020-07-22 Thread Marc Chantreux
hello, On Tue, Jul 21, 2020 at 10:56:22PM -0300, Aureliano Guedes wrote: > Then, a native call to R may be better cus bring us dataframe an a lot of > statistical functions natively without other R's package. coming from perl/shell and having to use pandas a little bit, my current perception of