Re: Announce: french perl workshop (Aka Journées Perl)

2019-05-23 Thread Laurent Rosenfeld via perl6-users
Hello Mark, I was thinking about submitting a talk on the P6 Object System, but I could also change it to Grammars (or do both). Cheers, Laurent. Le mar. 21 mai 2019 à 10:30, Marc Chantreux a écrit : > hello perl6 people, > > we hope there will be some events around the French Perl Worshop >

Announce: french perl workshop (Aka Journées Perl)

2019-05-21 Thread Marc Chantreux
hello perl6 people, we hope there will be some events around the French Perl Worshop (aka journées perl) https://journeesperl.fr/jp2019/ there will be at least a "perl6 modules hackathon" (trying to contribute to the perl6 ecosystem). however i really would like to see a talk or a workshop

Re: rakudobug failure

2019-05-13 Thread Elizabeth Mattijsen
> On 13 May 2019, at 14:26, Parrot Raiser <1parr...@gmail.com> wrote: > > I tried to report a failure to rakudobug, which generated the > following report from the mailer: > - > --- > Date: Fri, 10 May 2019 15:59:32 -0700

Re: rakudobug failure

2019-05-13 Thread Elizabeth Mattijsen
I would assume this is still fallout from the Perl NOC maintenance weeks. Will pass this on to the people in the know. Thanks for the report! > On 13 May 2019, at 14:26, Parrot Raiser <1parr...@gmail.com> wrote: > > I tried to report a failure to rakudobug, which generated the > following

rakudobug failure

2019-05-13 Thread Parrot Raiser
I tried to report a failure to rakudobug, which generated the following report from the mailer: - --- Date: Fri, 10 May 2019 15:59:32 -0700 (PDT) ** Message not delivered ** Your message couldn't be delivered to

Re: valid values?

2019-05-12 Thread yary
"is copy" is what I wanted to allow modifying MAIN's passed-in values. "is rw" correctly rejects constants. sub MAIN(Int $value is copy where ($value .= Int) ∈ (1,2,4,8,16)) {say "\$value.perl = ",$value.perl } # says $value.perl = 4 -y On Sun, May 12, 2019 at 5:02 PM yary wrote: > On #perl6

Re: valid values?

2019-05-12 Thread yary
On #perl6 Int(IntStr) will not coerce because IntStr is already an Int; coercions will only fire if the type doesn't match, like with Array and Hash for example IntStr is a subclass of Int thus no coercion needed to set $value. A catch-22 if each right side element is Int as opposed to IntStr,

Re: Which TELNET options need to be supported in Net::Telnet?

2019-05-12 Thread yary
Whichever one lets env variables get passed- need to set TERM in particular. -y On Sun, May 12, 2019 at 3:28 PM Ben Davies wrote: > Net::Telnet is just about ready for release v0.0.1 now. Since it's on > the most wanted modules list, I figured someone out there needs it and > knows how the

Re: valid values?

2019-05-12 Thread yary
Side note, using the angle brackets creates IntStr objects, which in some cases is harmless, sometimes necessary. > say <1 2 4 8 16 >.perl (IntStr.new(1, "1"), IntStr.new(2, "2"), IntStr.new(4, "4"), IntStr.new(8, "8"), IntStr.new(16, "16")) > say (1,2,4,8,16).perl (1, 2, 4, 8, 16) That's

Which TELNET options need to be supported in Net::Telnet?

2019-05-12 Thread Ben Davies
Net::Telnet is just about ready for release v0.0.1 now. Since it's on the most wanted modules list, I figured someone out there needs it and knows how the protocol works. Currently, the library supports the TRANSMIT_BINARY, SGA, ECHO, and NAWS options. I'm planning on gradually adding support

Re: LogP6 not working as I expect

2019-05-10 Thread Patrick Spek via perl6-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Aha! That works for me! I don't particularly need it to be a constant, I just used constants before to make sigil-less variables. I generally don't use `my \foo` because I don't like how instantiation and use differ (one uses the `\` sigil, which

Re: LogP6 not working as I expect

2019-05-10 Thread Timo Paulssen
Hi Patrick, It could be that compile time is too early for the logger object to properly be set up; try to see if "my \Log" instead of "constant Log" fixes it, then we can perhaps find a better solution that still has "constant" (for example a feature request for LogP6) Kind Regards   - Timo

LogP6 not working as I expect

2019-05-10 Thread Patrick Spek via perl6-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi all, I'm trying to use LogP6 in one of my projects, but it's not working the way I was expecting it to work. Presumably I'm overlooking something simple, but I can't seem to figure out what or why. I have the following code: use

Re: Would libkvm bindings be useful to have?

2019-05-09 Thread Ben Davies
On second thought, libkvm differs too much between OSes for this to be possible to write portably. On 2019-05-09 8:17 p.m., Ben Davies wrote: > libkvm allows you to arbitrarily read/write memory (whether or not this > is allowed depends on the OS and its configuration), get metadata about >

Would libkvm bindings be useful to have?

2019-05-09 Thread Ben Davies
libkvm allows you to arbitrarily read/write memory (whether or not this is allowed depends on the OS and its configuration), get metadata about processes and files, get system load, and get kernel symbol information. Would it be useful to have bindings for this?

Re: Need help with a regex

2019-05-07 Thread ToddAndMargo via perl6-users
> On Mon, May 06, 2019 at 07:12:39PM -0700, Tony Ewell via perl6-users wrote: >> Hi All, >> >> What am I doing wrong here? >> >> $ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;' >> USD1.23 >> >> I am expecting to see `1.23USD` >> >> Many thanks, >> -T On 5/7/19 3:05 PM, Patrick R.

Re: Need help with a regex

2019-05-07 Thread Patrick R. Michaud
The (.*?) pattern will match an empty string. Thus $0 gets the dollar sign, $1 is "", and "$" ~ "" (i.e., "$") gets replaced by "" ~ "USD" (i.e., "USD"). So the net result is to replace the single dollar sign by "USD", resulting in "USD1.23". You might want to remove the ? modifier from

Need help with a regex

2019-05-07 Thread Tony Ewell via perl6-users
Hi All, What am I doing wrong here? $ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;' USD1.23 I am expecting to see  `1.23USD` Many thanks, -T

Re: Need help with a regex

2019-05-07 Thread ToddAndMargo via perl6-users
On Tue, 7 May 2019 at 13:10, ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, What am I doing wrong here? $ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;' USD1.23 I am expecting to see `1.23USD` Many thanks, -T On 5/6/19 8:28

Re: Need help with a regex

2019-05-06 Thread ToddAndMargo via perl6-users
On Tue, 7 May 2019 at 13:10, ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, What am I doing wrong here? $ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;' USD1.23 I am expecting to see `1.23USD` Many thanks, -T On 5/6/19

Re: Need help with a regex

2019-05-06 Thread Norman Gaywood
The .*? expression is not matching anything. I think you want to use .+ perl6 -e 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$0:$1:USD/; say $x;' $::USD1.23 perl6 -e 'my $x="\$1.23"; $x~~s/ \$(.+) /$0USD/; say $x' 1.23USD On Tue, 7 May 2019 at 13:10, ToddAndMargo via perl6-users <

Need help with a regex

2019-05-06 Thread ToddAndMargo via perl6-users
Hi All, What am I doing wrong here? $ p6 'my $x="\$1.23"; $x~~s/("\$") (.*?)/$1USD/; say $x;' USD1.23 I am expecting to see  `1.23USD` Many thanks, -T -- ~~ Computers are like air conditioners. They malfunction when you open windows

Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-02 Thread Richard Hainsworth
Hi Bill, a) The documentation about semicolons in contexts that call for Arrays or Lists is very sparse and *should* be improved. This can best be done by raising an issue on https://github.com/perl6/doc If you would do this it would help the community. b) You have said that the

Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-02 Thread JJ Merelo
El dom., 14 abr. 2019 a las 22:27, yary () escribió: > Looks like perl6 semicolon has different meaning in a list vs a capture. > In a list, it "makes sense to me" > > > perl6 --version > This is Rakudo Star version 2018.10 built on MoarVM version 2018.10 > implementing Perl 6.c. > >perl6 > To

Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-01 Thread William Michels via perl6-users
Thank you yary. I'm not sure we've seen any clarification on this. There's a reference to "Literal Lists" in the Perl 6 docs that looks related, but I don't have a "plain-speak" explanation for how semicolons, lists, push() and arrays inter-relate. https://docs.perl6.org/language/list Hoping a

Re: push() practice: misplaced semicolon creates list elements within array?

2019-05-01 Thread William Michels via perl6-users
Hello Richard and thank you for your comment, I'm not sure I have clarity on the use of semicolons in Perl 6. Most references in the documentation refer to the semicolon as a statement separator. Many references point out where semicolons are optional (e.g. particular lines within blocks). Now

Re: Short term Zef fix

2019-04-30 Thread Fernando Santagata
Just tried that; it doesn't seem to work. On Tue, Apr 30, 2019 at 1:37 PM Simon Proctor wrote: > Not tried that > > On Tue, 30 Apr 2019 at 12:35, Timo Paulssen wrote: > >> Doesn't updating zef to the latest version fix everything up nicely? >> - Timo >> On 30/04/2019 12:06, Simon Proctor

Re: Short term Zef fix

2019-04-30 Thread Fernando Santagata
Browsing zef's options I see that a --/p6c may be used instead of editing the configuration file. JJ's caveat still valid though. On Tue, Apr 30, 2019 at 12:07 PM Simon Proctor wrote: > Until the p6c system is fixed here's a short term fix that will at least > let zef install modules from cpan.

Re: Short term Zef fix

2019-04-30 Thread Simon Proctor
Not tried that On Tue, 30 Apr 2019 at 12:35, Timo Paulssen wrote: > Doesn't updating zef to the latest version fix everything up nicely? > - Timo > On 30/04/2019 12:06, Simon Proctor wrote: > > Until the p6c system is fixed here's a short term fix that will at least > let zef install modules

Re: Short term Zef fix

2019-04-30 Thread Timo Paulssen
Doesn't updating zef to the latest version fix everything up nicely?   - Timo On 30/04/2019 12:06, Simon Proctor wrote: > Until the p6c system is fixed here's a short term fix that will at > least let zef install modules from cpan. > > zef --help > This lists a config file mine is : > >

Re: Short term Zef fix

2019-04-30 Thread JJ Merelo
El mar., 30 abr. 2019 a las 13:03, Simon Proctor () escribió: > Oooh. How would I do that? > There's a phase-timeout option for zef, such as --fetch-timeout I'm not sure if that applies to repos, though... I seem to remember somebody mentioned, maybe in the IRC channel, another option, but can't

Re: Short term Zef fix

2019-04-30 Thread Simon Proctor
Oooh. How would I do that? (Like I say it's a short term fix as hopefully we'll get p6c back soonish). On Tue, 30 Apr 2019 at 12:01, JJ Merelo wrote: > The problem with that is that it will go from using the old version of the > file (and old versions of modules there) to none of them. It's

Re: Short term Zef fix

2019-04-30 Thread JJ Merelo
The problem with that is that it will go from using the old version of the file (and old versions of modules there) to none of them. It's probably better to lower the timeout... El mar., 30 abr. 2019 a las 12:07, Simon Proctor () escribió: > Until the p6c system is fixed here's a short term fix

RFE: compiler bug to fix

2019-04-30 Thread ToddAndMargo via perl6-users
Dear Perl 6 Developers, Fedora 29 $ rpm -qa rakudo* rakudo-zef-0.7.1-1.fc29.x86_64 rakudo-0.2019.03-1.fc29.x86_64 Whether this is a bug or a Request for Enhancement, I do not know. I will leave that up to you. I have moved to "selective importing of subs from modules". sub abc( ...)

Re: library search path ?

2019-04-30 Thread ToddAndMargo via perl6-users
On 4/29/19 3:50 AM, Timo Paulssen wrote: you can use these one-liners:     perl6 -e '.say for $*REPO.repo-chain'     perl6 -e '.perl.say for $*REPO.repo-chain' Hi Timo, Thank you! Just out of curiosity, what is ap# nqp# perl5# -T

Short term Zef fix

2019-04-30 Thread Simon Proctor
Until the p6c system is fixed here's a short term fix that will at least let zef install modules from cpan. zef --help This lists a config file mine is : CONFIGURATION /home/sproctor/.config/zef/config.json Open that file and fine the "p6c" section. Set enabled to 0 and zef will stop trying to

Re: library search path ?

2019-04-29 Thread ToddAndMargo via perl6-users
On 4/29/19 3:50 AM, Timo Paulssen wrote: you can use these one-liners:     perl6 -e '.say for $*REPO.repo-chain'     perl6 -e '.perl.say for $*REPO.repo-chain' Hi Timo, Thank you! Just out of curiosity, what is ap# nqp# perl5# -T

Re: library search path ?

2019-04-29 Thread Timo Paulssen
you can use these one-liners:     perl6 -e '.say for $*REPO.repo-chain'     perl6 -e '.perl.say for $*REPO.repo-chain' On 29/04/2019 00:33, ToddAndMargo via perl6-users wrote: > Hi All, > > Could not find xxx::yyy at line zz in: >     file#/home/linuxutil/p6lib >     inst#/home/tony/.perl6 >    

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 4:26 PM, ToddAndMargo via perl6-users wrote: On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks,

library search path ?

2019-04-28 Thread ToddAndMargo via perl6-users
Hi All, Could not find xxx::yyy at line zz in: file#/home/linuxutil/p6lib inst#/home/tony/.perl6 inst#/usr/lib64/perl6/site inst#/usr/lib64/perl6/vendor inst#/usr/lib64/perl6 ap# nqp# perl5# If I remember correctly, there was a way to ask Perl 5 for a list of

Re: How do I fix this zef error?

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 12:45 AM, ToddAndMargo via perl6-users wrote: $ perl6 --stagestats GetUpdates.pl6 Stage start  :   0.000 Stage parse  : ===SORRY!=== Could not find Net::SMTP at line 18 in: $ zef install  Net::SMTP ===SORRY!=== Failed to open file

What is the proper way to path a module in a non-standard directory

2019-04-28 Thread ToddAndMargo via perl6-users
Apparently use lib 'path' is not the correct way. And especially not in a module itself that calls other modules.

What is the proper way to path a module in a non-standard directory

2019-04-28 Thread ToddAndMargo via perl6-users
Apparently use lib 'path' is not the correct way. And especially not in a module itself that calls other modules.

Re: Something happened to the chat line

2019-04-28 Thread Timo Paulssen
I'm just about to go to bed, but you can use this link instead (i think what was there before was just a redirect anyway):     https://webchat.freenode.net/?channels=#perl6 HTH   - Timo On 29/04/2019 00:38, ToddAndMargo via perl6-users wrote: > Hi All, > > Going to > >    

Something happened to the chat line

2019-04-28 Thread ToddAndMargo via perl6-users
Hi All, Going to https://docs.perl6.org/ and clicking on "Chat with us" https://docs.perl6.org/webchat.html gives Page not found... yet! None of these routes could generate a response for your GET request for /webchat.html, maybe you need to add a new one? Please fix!

Re: Why so slow

2019-04-28 Thread Joseph Brenner
Brad Gilbert wrote: > For one it has the following line: > > use lib 'lib'; > > That is going to slow everything down if you have anything in the > `lib` directory. > The more things in that directory, the slower it will get. I've been seeing some pretty slow perl6 one-line invocations,

Re: Why so slow

2019-04-28 Thread Joseph Brenner
ToddAndMargo via perl6-users wrote: > David Christensen wrote: >> We discussed this at our San Francisco Perl Mongers meeting today: > > Any Perl 5 guys there? And did they get "grouchy" with you > for using Perl 6? We've been doing an "Informal Perl6 Study Group" over at the Oakland Museum

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 2:21 AM, Timo Paulssen wrote: the strace command ended up only tracing the shell script "perl6", which very quickly execs moar, at which point strace considers its job done. there was barely any output at all for that reason. fortunately we can just add -f to the strace command so

Re: Why so slow

2019-04-28 Thread Timo Paulssen
the strace command ended up only tracing the shell script "perl6", which very quickly execs moar, at which point strace considers its job done. there was barely any output at all for that reason. fortunately we can just add -f to the strace command so that it follows processes as they are

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/27/19 10:40 PM, David Christensen wrote: We discussed this at our San Francisco Perl Mongers meeting today: Any Perl 5 guys there? And did they get "grouchy" with you for using Perl 6? Did they call Perl 6 "Java" by any chance? Chuckle.

Re: Why so slow

2019-04-28 Thread David Christensen
On 4/27/19 10:40 PM, David Christensen wrote: I suggested that he install the official package: https://rakudo.org/files The Rakudo site is degraded: "Currently, rakudo.org is being served from a back-up server that doesn't have the download files." I had previously downloaded

How do I fix this zef error?

2019-04-28 Thread ToddAndMargo via perl6-users
$ perl6 --stagestats GetUpdates.pl6 Stage start : 0.000 Stage parse : ===SORRY!=== Could not find Net::SMTP at line 18 in: $ zef install Net::SMTP ===SORRY!=== Failed to open file /usr/lib64/perl6/site/dist/863D6AAB4F5E7259BA381C4EBE0F88BAA358090E: No such file or directory

Re: Why so slow

2019-04-28 Thread David Christensen
On 4/28/19 12:07 AM, Timo Paulssen wrote: I'm writing a program called moarperf, which is a local web app written in Cro that doesn't touch the network outside of loopback. It just has to build its JavaScript blobs once by downloading like a brazillion libraries from npm. That should be

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/28/19 12:01 AM, Timo Paulssen wrote: especially if it iterates your entire home directory Don't think so $ rm -rf ~/.perl6/precomp $ perl6 --stagestats GetUpdates.pl6 Stage start : 0.000 Stage parse : 13.201 Stage syntaxcheck: 0.000 Stage ast: 0.000 Stage

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
Hi Timo, This tell you anything? $ perl6 --stagestats GetUpdates.pl6 Stage start  :   0.000 Stage parse  :  13.150 Stage syntaxcheck:   0.000 Stage ast    :   0.000 Stage optimize   :   0.351 Stage mast   :   1.133 Stage mbc    :   0.019 Stage moar   :   0.000

Re: Why so slow

2019-04-28 Thread Timo Paulssen
I'm writing a program called moarperf, which is a local web app written in Cro that doesn't touch the network outside of loopback. It just has to build its JavaScript blobs once by downloading like a brazillion libraries from npm. Also, comma complete comes with support for profiling, which

Re: Why so slow

2019-04-28 Thread Timo Paulssen
Please give this a try:     env RAKUDO_MODULE_DEBUG=1 perl6 GetUpdates.pl6 and tell me if any of the lines it spits out takes considerable amounts of time before the next one shows up. Then, you can also     strace -e stat perl6 GetUpdates.pl6 to see if it's going through a whole load of

Re: Why so slow

2019-04-28 Thread David Christensen
On 21/04/2019 05:58, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. >> What gives? Many

Re: precomp?

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/27/19 9:01 PM, Gene Nardi wrote: Hey. I’m just glad it doesn’t take a whole day for a run anymore. Like in the old days. Gene Nardi Sent from my iPhone I hated punch cards!

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
> On 21/04/2019 05:58, ToddAndMargo via perl6-users wrote:>> Hi All, >> >> One liners are fast, but my own programs are very slow to start. >> >> I download >> >> https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 >> >> To check it out and it also takes ten second to start. >>

Re: Why so slow

2019-04-28 Thread ToddAndMargo via perl6-users
On 4/27/19 10:40 PM, David Christensen wrote: What is your operating system? Fedora 29 x64 Xfce 4.13 $ uname -r 5.0.7-200.fc29.x86_64 What is your Perl 6? $ rpm -qa rakudo rakudo-0.2019.03-1.fc29.x86_64 Also tried: https://github.com/nxadm/rakudo-pkg/releases

Re: Why so slow

2019-04-28 Thread Timo Paulssen
You don't happen to have a PERL6LIB or -I pointed at a folder with loads of stuff in it? If that is the case, having a single "use" statement will cause rakudo to iterate through all files and subfolders, which can take a long time if you've got, for example, your home directory in that list

Re: Why so slow

2019-04-27 Thread David Christensen
On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks,

precomp?

2019-04-27 Thread Gene Nardi
Hey. I’m just glad it doesn’t take a whole day for a run anymore. Like in the old days. Gene Nardi Sent from my iPhone

Re: Why so slow

2019-04-27 Thread Brad Gilbert
>From >https://brrt-to-the-future.blogspot.com/2018/07/perl-6-on-moarvm-has-had-jit-for-few.html > PS: You might read this and be reasonably surprised that Rakudo Perl 6 is > not, after all this, very fast yet. I have a - not entirely serious - > explanation for that: > 1. All problems in

Re: Why so slow

2019-04-27 Thread ToddAndMargo via perl6-users
On 4/20/19 8:58 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks,

Re: precomp?

2019-04-27 Thread ToddAndMargo via perl6-users
>> >> Hi All, >> >> What exactly is the purpose of the ".precomp" >> directory? "Precompile?". >> >> Is there a way to get it to speed up the start >> of my programs? Right now anything of anything >> with any amount of size takes 10 seconds to start >> >> Many thanks, >> -T On 4/26/19 8:39

Re: precomp?

2019-04-26 Thread Brad Gilbert
Only modules get precompiled currently. If you want your code to get precompiled, put most of it into a module. On Fri, Apr 26, 2019 at 9:58 PM ToddAndMargo via perl6-users wrote: > > Hi All, > > What exactly is the purpose of the ".precomp" > directory? "Precompile?". > > Is there a way to

precomp?

2019-04-26 Thread ToddAndMargo via perl6-users
Hi All, What exactly is the purpose of the ".precomp" directory? "Precompile?". Is there a way to get it to speed up the start of my programs? Right now anything of anything with any amount of size takes 10 seconds to start Many thanks, -T

Re: Help! Upgrade broke -M

2019-04-25 Thread ToddAndMargo via perl6-users
On 4/23/19 7:27 PM, ToddAndMargo via perl6-users wrote: Hi All, Okay, I am, in trouble.  I just upgraded from     rakudo-pkg-Fedora29-2018.11-01.x86_64.rpm to     rakudo-pkg-Fedora29-2019.03.1-01.x86_64.rpm and now I bomb on all my "use lib's". Virtually everything I have written bombs.   

Re: Bug: pm and pm6 get mixed up

2019-04-24 Thread ToddAndMargo via perl6-users
On Tue, Apr 23, 2019 at 9:33 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, I found out the hard way after upgrading Perl 6 $ perl6 -v This is Rakudo version 2019.03 built on MoarVM version 2019.03 implementing Perl 6.d. That 2019.03 can

Re: Why so slow

2019-04-24 Thread ToddAndMargo via perl6-users
Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks, -T On 4/24/19 5:13 AM, Brad Gilbert wrote:> For one

Re: Bug: pm and pm6 get mixed up

2019-04-24 Thread yary
Is this from having your own p5 and p6 modules in the same directory? Seems like separating them into p5lib, p6lib directories is a quick solution. If you have been pointing both zef and cpan to install in the same directory, no easy answer comes to mind. Maybe there's a way to adjust what rakudo

Re: Why so slow

2019-04-24 Thread Brad Gilbert
For one it has the following line: use lib 'lib'; That is going to slow everything down if you have anything in the `lib` directory. The more things in that directory, the slower it will get. You should really install the modules with `zef`. (It can download and install the modules itself.)

Re: gtk widget?

2019-04-24 Thread Marcel Timmerman
Please take note that the package is using GTK::V3 and that quite a few things are different compared to GTK::Simple. For that information please look at https://github.com/MARTIMM/gtk-v3 Good luck (because the documentation is still in its infancy :-o) Marcel On 4/22/19 2:56 PM, Timo

Why so slow

2019-04-24 Thread ToddAndMargo via perl6-users
Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks, -T

RFE: module extension defaults

2019-04-23 Thread ToddAndMargo via perl6-users
Dear Perl 6 Developers: Would you please consider the following Request for Enhancement. There is a regression bug in 2019.03 where Perl 6 can no longer tell the difference between Perl 5 modules (*.pm) and Perl 6 modules (*.pm6). It loads "pm" before "pm6". RFE: please set Perl 6 to only

Bug: pm and pm6 get mixed up

2019-04-23 Thread ToddAndMargo via perl6-users
Hi All, I found out the hard way after upgrading Perl 6 $ perl6 -v This is Rakudo version 2019.03 built on MoarVM version 2019.03 implementing Perl 6.d. That 2019.03 can no longer tell the difference between Perl 5 modules (*.pm) and Perl 6 modules (*.pm6) and will read in the Perl 5 module

Help! Upgrade broke -M

2019-04-23 Thread ToddAndMargo via perl6-users
Hi All, Okay, I am, in trouble. I just upgraded from rakudo-pkg-Fedora29-2018.11-01.x86_64.rpm to rakudo-pkg-Fedora29-2019.03.1-01.x86_64.rpm and now I bomb on all my "use lib's". Virtually everything I have written bombs. $ ls CurlUtils* CurlUtils.pm6 $ perl6

gtk widget?

2019-04-23 Thread ToddAndMargo via perl6-users
Hi All, I see https://github.com/perl6/gtk-simple/tree/master/examples but I have no clue what is going on. Is there some kind of gtk widget that you can graphically design these windows with? Many thanks, -T -- ~ I am Windows I am the Blue Screen of Death No one

Re: Why so slow?

2019-04-23 Thread ToddAndMargo via perl6-users
On 4/21/19 6:32 PM, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks,

Re: Why so slow?

2019-04-23 Thread ToddAndMargo via perl6-users
On 4/22/19 4:21 AM, ToddAndMargo via perl6-users wrote: On 22/04/2019 12:51, ToddAndMargo via perl6-users wrote: On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download

Re: gtk widget?

2019-04-23 Thread ToddAndMargo via perl6-users
On 4/22/19 2:22 AM, mimosin...@gmail.com wrote: Missatge de ToddAndMargo via perl6-users del dia dl., 22 d’abr. 2019 a les 5:44: I see https://github.com/perl6/gtk-simple/tree/master/examples but I have no clue what is going on. Is there some kind of gtk widget that you can graphically

Re: gtk widget?

2019-04-23 Thread ToddAndMargo via perl6-users
> On 22/04/2019 05:44, ToddAndMargo via perl6-users wrote: >> Hi All, >> >> I see >> >> https://github.com/perl6/gtk-simple/tree/master/examples >> >> but I have no clue what is going on. >> >> Is there some kind of gtk widget that you can graphically >> design these windows with? >> >> Many

Re: gtk widget?

2019-04-22 Thread Timo Paulssen
Please check out Marcel Timmermann's GTK::Glade module. Here's the readme: https://github.com/MARTIMM/gtk-glade Sadly, modules.perl6.org is currently not available, however, you can download the distribution here: https://www.cpan.org/authors/id/M/MA/MARTIMM/Perl6/gtk-glade-0.8.3.tar.gz or you

Re: Why so slow?

2019-04-22 Thread ToddAndMargo via perl6-users
On 22/04/2019 12:51, ToddAndMargo via perl6-users wrote: On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and

Re: Why so slow?

2019-04-22 Thread Timo Paulssen
It's the second line: use v6; use lib 'lib';  # ← this line right here use GTK::Simple; use GTK::Simple::App;   -Timo On 22/04/2019 12:51, ToddAndMargo via perl6-users wrote: >>> On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own

Re: Why so slow?

2019-04-22 Thread ToddAndMargo via perl6-users
On 22/04/2019 03:32, ToddAndMargo via perl6-users wrote: Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks,

Re: Why so slow?

2019-04-22 Thread Timo Paulssen
It's quite possible that when you start that program, you're first waiting for GTK::Simple to be precompiled; the "use lib 'lib'" can interfere with the storage of precompilation results. If you have installed GTK::Simple (for example by going to its folder and running "zef install .") and removed

gtk widget?

2019-04-21 Thread ToddAndMargo via perl6-users
Hi All, I see https://github.com/perl6/gtk-simple/tree/master/examples but I have no clue what is going on. Is there some kind of gtk widget that you can graphically design these windows with? Many thanks, -T -- ~ I am Windows I am the Blue Screen of Death No one

Why so slow?

2019-04-21 Thread ToddAndMargo via perl6-users
Hi All, One liners are fast, but my own programs are very slow to start. I download https://github.com/perl6/gtk-simple/blob/master/examples/05-bars.pl6 To check it out and it also takes ten second to start. What gives? Many thanks, -T

Re: perl6.org down and documentation

2019-04-21 Thread mimosinnet
Thank for the answers! Changing the owner of */usr/share/perl6/site/doc* to the user running zef allowed to install *p6doc*. We will be using these alternative websites meanwhile. Cheers! Missatge de Timo Paulssen del dia dg., 21 d’abr. 2019 a les 10:48: > Hi mimosinnet, > > we have a

Re: perl6.org down and documentation

2019-04-21 Thread Timo Paulssen
Hi mimosinnet, we have a fallback live on http://docs.perl6.wakelift.de/ for the docs and http://perl6.wakelift.de/ for the main website. There is an outage somewhere near the server that hosts all our sites. We'll be able to get physical access and fix whatever's wrong on tuesday. I'm not sure

Re: perl6.org down and documentation

2019-04-21 Thread JJ Merelo
It's provisionally here: http://docs.perl6.wakelift.de/ But those errors have nothing to do with that, I think. It's a permission problem. Do you have permission to write in the directory it indicates? Cheers El dom., 21 abr. 2019 a las 10:28, mimosinnet () escribió: > Dear perl6 users, > >

perl6.org down and documentation

2019-04-21 Thread mimosinnet
Dear perl6 users, Perl6 web [1] seems to be down. I was looking for documentation, and it seems I could not install p6doc [2]. I have installed the documentation [3] and I can now review the documentation in my box :D. Cheers! [1] https://perl6.org/ [2] ===> Updated cpan mirror:

Re: FatRat's falling back to Num's

2019-04-19 Thread Tom Browder
On Fri, Apr 19, 2019 at 17:27 Tom Browder wrote: > On Fri, Apr 19, 2019 at 17:07 Laurent Rosenfeld < > laurent.rosenf...@googlemail.com> wrote: > >> Sure Tom, >> for example, let's print the first 200 digits of pi. >> > ... > >> Ah, part of the secret is to use print! I was using say and not

Re: FatRat's falling back to Num's

2019-04-19 Thread Tom Browder
On Fri, Apr 19, 2019 at 17:07 Laurent Rosenfeld < laurent.rosenf...@googlemail.com> wrote: > Sure Tom, > for example, let's print the first 200 digits of pi. > ... > Thanks, Laurent! -Tom

Re: FatRat's falling back to Num's

2019-04-19 Thread Laurent Rosenfeld via perl6-users
Sure Tom, for example, let's print the first 200 digits of pi. Since I am getting about 1.2 * $n correct digits for a 0..$n range when calling the plouffe subroutine, it is sufficient to use the 0..200 range to get (more than) 200 correct digits. sub plouffe (Int $k) { my $result =

Re: FatRat's falling back to Num's

2019-04-19 Thread Tom Browder
On Fri, Apr 19, 2019 at 08:37 Laurent Rosenfeld via perl6-users < perl6-users@perl.org> wrote: > Hello, > > in the context of the Perl Weekly Challenge, I was trying to use one of > Franco-Canadian mathematician Simon Plouffe's formulas to compute the > digits of pi. > Laurent, now that you have

  1   2   3   4   5   6   7   8   9   10   >