Re: Perl6 -> Raku? whats the scope?

2019-10-15 Thread N6Ghost
On Tue, Oct 15, 2019 at 05:48:49PM +0200, JJ Merelo wrote:
> There's no such thing as a Raku blog, so I am not sure where the official
> renaming should go. Closest thing is Liz's Raku weekly, I guess...
> 
> El mar., 15 oct. 2019 a las 17:47, Andrew Shitov ()
> escribió:
> 

at this point, since we dont really have some sort of offical announcement, 
word is coming out
via posts. the quicker we can get an offical coomunications going out that 
would be better. 

-N6Ghost 



> > Hi,
> >
> > Here's what Larry Wall said:
> >
> > https://github.com/perl6/problem-solving/pull/89?fbclid=IwAR2rrjkuKJTWBPX6bobZTfeSj4VePT9HmEsunlLtD_XeP9g06RFsk-y0kHw#pullrequestreview-300789072
> >
> > For me, there can be no other "official" announcement. The new name is
> > Raku.
> >
> > On Tue, Oct 15, 2019 at 5:43 PM N6Ghost  wrote:
> >
> >> Starting to see posts, as if the decision was made already but have not
> >> see any offical
> >> post anywhere, i can find. everything seems to flow from a thread on
> >> github somehwere
> >> anyone know anything on the rename? is it "Raku" ?
> >>
> >> -N6Ghost
> >>
> >
> >
> > --
> > Andrew Shitov
> > __
> > a...@shitov.ru | http://shitov.ru
> >
> 
> 
> -- 
> JJ


Re: Perl6 -> Raku? whats the scope?

2019-10-15 Thread N6Ghost
On Tue, Oct 15, 2019 at 05:47:15PM +0200, Andrew Shitov wrote:


well, I guess "raku" it is, i think this may be a good thing. and we can push 
Raku forward in a cean
way.

-N6Ghost

> Hi,
> 
> Here's what Larry Wall said:
> https://github.com/perl6/problem-solving/pull/89?fbclid=IwAR2rrjkuKJTWBPX6bobZTfeSj4VePT9HmEsunlLtD_XeP9g06RFsk-y0kHw#pullrequestreview-300789072
> 
> For me, there can be no other "official" announcement. The new name is Raku.
> 
> On Tue, Oct 15, 2019 at 5:43 PM N6Ghost  wrote:
> 
> > Starting to see posts, as if the decision was made already but have not
> > see any offical
> > post anywhere, i can find. everything seems to flow from a thread on
> > github somehwere
> > anyone know anything on the rename? is it "Raku" ?
> >
> > -N6Ghost
> >
> 
> 
> -- 
> Andrew Shitov
> __
> a...@shitov.ru | http://shitov.ru


Perl6 -> Raku? whats the scope?

2019-10-15 Thread N6Ghost
Starting to see posts, as if the decision was made already but have not see any 
offical
post anywhere, i can find. everything seems to flow from a thread on github 
somehwere
anyone know anything on the rename? is it "Raku" ?

-N6Ghost


Perl6 use cases

2018-11-04 Thread N6ghost
Hi all,

Been looking around trying to find, anyone who is actually using Perl6.
and what they are using it for.

and if they are, what are there thoughts on it?

Thanks

-N6Ghost


json file pase

2017-09-02 Thread n6ghost
Hi all,

I have been away from Perl for long time, but I have a problem that may be up 
its allay for a return.

I have an export of data, (test dataset 100MB prod will be 3GB to 5GB appox) I 
can export data in
csv, json or xml.  Now the data is log data being exported from splunk. While 
splunk can do some amazing things
I need to pull data from inside events…. I am actually looking for “ldap 
servers” or other types of data points
That while splunk can get me part way there It can really get me all the way. 
And hey it’s a good reason to
Maybe write up some Perl6. As a test… 

While I did try, c# and .net first it complains, that there is whitespace and 
that’s not part of the specs. So, 
I wanted to give perl6 a go, which I been meaning to anyways and this might be 
a good use case for it.

Figured json::tiny might be the way to go,

I really don’t have very much, just the very very beginning:
⇒ Latest perl6, windows 10, and atom editor
/code
use v6;
use strict;
use json::tiny;

say "Running Perl6 script with v6 on";
say "using json::tiny";
say "";

{

my $uri "Z:\\VM_Shared\\exports\\4624\\rt_1504193701_299149.json"
my %res = file.get 

  
}
/end code


And json::tiny does not have very much in the way of docs, and most of the 
examples are more targeted
For webapp use cases. I want to chew threw a file and file data and export that 
into a new file which I can then 
Put in excel.

Any insight or direction would be helpful.   

-N6Ghost




Re: Perl 6 Speed Revelation

2017-07-23 Thread N6Ghost

Perl6 is pretty new, any sort of performance data is good.


On 7/22/2017 7:53 AM, Shlomi Fish wrote:

Hi all!

Some time ago I solved this problem - https://projecteuler.net/problem=343 -
using a relatively slow pypy3 program (see
https://github.com/shlomif/project-euler/blob/master/project-euler/343/euler_343_v1.py
). After gaining access to the problem's forum, I found a faster way to solve
it in PARI/GP there -
https://github.com/shlomif/project-euler/blob/master/project-euler/343/euler_343_v2.gp
and translated it into perl 5 + bash -
https://github.com/shlomif/project-euler/blob/master/project-euler/343/euler_343_v2.bash
 .
It uses https://en.wikipedia.org/wiki/Factor_(Unix) which is written in
optimised C.

Now, after I translated the program to Pure Perl 6 -
https://github.com/shlomif/perl6-examples/blob/shlomif--euler343/categories/euler/prob343-shlomif.p6
 ,
the perl 6 version ran very slowly. I bugged the people on freenode about it
until someone there translated the shell version to use perl 6 instead of p5,
and said it performed roughly as well. This gave me an idea to try an
equivalent perl 5 version - see
https://github.com/shlomif/project-euler/blob/master/project-euler/343/prob343-shlomif.pl
and it ran at a comparable, slow, speed as the perl 6 version.

So to sum up:

1. GNU factor is really fast.

2. When it comes to factorisation, perl 5 and perl 6 are slower and run at a
comparable speed.

I apologise for the noise I caused.

Regards,

Shlomi