Re: keep getting this error emailed to me on fez upload of module: Error reading META from your last upload
On 8/12/23 18:08, Bruce Gray wrote: I tested your META6.json file with: (cd t && raku -MTest -MTest::META -e 'plan 1; meta-ok();') , and it looked good. There is an open issue matching your problem. There is mention of a fix; if I am reading it correctly, it is to archive with `git archive` and upload with "fez's --file option", instead of letting `fez` create the archive itself. (If you try this, remember to advance your version number before uploading!) Whether or not that fix works for you, we would all benefit from you noting your results on the ticket itself: https://github.com/tony-o/raku-fez/issues/105 -- Hope this helps, Bruce Gray (Util of PerlMonks) yes this works bit of a pain but it's a workaround cool bananas On Dec 8, 2023, at 00:00, Francis Grizzly Smit wrote: Ooops sorry my bad On 8/12/23 16:55, Francis Grizzly Smit wrote: Hi keep getting this error emailed to me on fez upload of module: Error reading META from your last upload, I have this deployed use v6; use lib 'lib'; use Test; use Gzz::Text::Utils; plan 1; constant AUTHOR = ?%*ENV; if AUTHOR { require Test::META <>; meta-ok; done-testing; } else { skip-rest "Skipping author test"; exit; } and it passes after a few corrections, but still on fez upload it appears to pass but I get that email and it never updates what is wrong?? my MEATA6.json is: { "name" : "Gzz::Text::Utils", "description" : "A Raku module to provide text formatting services to Raku programs. Including a \"sprintf\" alike function \"Sprintf\" that copes better with Ansi highlighted text ...", "perl" : "6.d", "license" : "LGPL-3.0-or-later", "authors" : [ "Francis Grizzly Smit " ], "depends": [ "Terminal::Width", "Terminal::WCWidth" ], "provides" : { "Gzz::Text::Utils" : "lib/Gzz/Text/Utils.rakumod" }, "source-url" : "https://github.com/grizzlysmit/Gzz-Text-Utils.git;, "support" : { "source" : "https://github.com/grizzlysmit/Gzz-Text-Utils.git;, "email" : "griz...@smit.id.au", "bugtracker": "https://github.com/grizzlysmit/Gzz-Text-Utils/issues; }, "auth": "zef:grizzlysmit", "version" : "0.1.13", "tags" : [ "text", "formatting", "sprintf clone", "ANSI", "highlighted" ], "test-depends": [ ] } -- .~. There are many things that I love /V\ but God Comes way above all else /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -- .~. There are many things that I love /V\ but God Comes way above all else /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: keep getting this error emailed to me on fez upload of module: Error reading META from your last upload
Ooops sorry my bad On 8/12/23 16:55, Francis Grizzly Smit wrote: Hi keep getting this error emailed to me on fez upload of module: Error reading META from your last upload, I have this deployed use v6; use lib 'lib'; use Test; use Gzz::Text::Utils; plan 1; constant AUTHOR = ?%*ENV; if AUTHOR { require Test::META <>; meta-ok; done-testing; } else { skip-rest "Skipping author test"; exit; } and it passes after a few corrections, but still on fez upload it appears to pass but I get that email and it never updates what is wrong?? my MEATA6.json is: { "name" : "Gzz::Text::Utils", "description" : "A Raku module to provide text formatting services to Raku programs. Including a \"sprintf\" alike function \"Sprintf\" that copes better with Ansi highlighted text ...", "perl" : "6.d", "license" : "LGPL-3.0-or-later", "authors" : [ "Francis Grizzly Smit " ], "depends": [ "Terminal::Width", "Terminal::WCWidth" ], "provides" : { "Gzz::Text::Utils" : "lib/Gzz/Text/Utils.rakumod" }, "source-url" : "https://github.com/grizzlysmit/Gzz-Text-Utils.git;, "support" : { "source" : "https://github.com/grizzlysmit/Gzz-Text-Utils.git;, "email" : "griz...@smit.id.au", "bugtracker": "https://github.com/grizzlysmit/Gzz-Text-Utils/issues; }, "auth": "zef:grizzlysmit", "version" : "0.1.13", "tags" : [ "text", "formatting", "sprintf clone", "ANSI", "highlighted" ], "test-depends": [ ] } -- .~. There are many things that I love /V\ but God Comes way above all else /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
keep getting this error emailed to me on fez upload of module: Error reading META from your last upload
Hi keep getting this error emailed to me on fez upload of module: Error reading META from your last upload, I have this deployed use v6; use lib 'lib'; use Test; use Gzz::Text::Utils; plan 1; constant AUTHOR = ?%*ENV; if AUTHOR { require Test::META <>; meta-ok; done-testing; } else { skip-rest "Skipping author test"; exit; } and it passes after a few corrections, but still on fez upload it appears to pass but I get that email and it never updates what is wrong?? my MEATA6.json is: use v6; use lib 'lib'; use Test; use Gzz::Text::Utils; plan 1; constant AUTHOR = ?%*ENV; if AUTHOR { require Test::META <>; meta-ok; done-testing; } else { skip-rest "Skipping author test"; exit; } -- .~. There are many things that I love /V\ but God Comes way above all else❣❣❣❣ /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: What is this "\t"?
On 29/11/22 13:21, ToddAndMargo via perl6-users wrote: On 11/28/22 17:40, ToddAndMargo wrote: Sigilless variable https://docs.raku.org/language/glossary#Sigilless_variable Sigilless variables are actually aliases to the value it is assigned to them, since they are not containers. Once you assign a sigilless variable (using the escape \), its value cannot be changed. Not to beat a dead horse, but when does that stop me! "\" escape to a beginner means to escape the following character > say "\$x" $x > print '\\abc\:\:' ~ "\n" \abc\:\: So without a proper sigil explanation for beginners, "using the escape \" means nothing. Personally I never use \name are I hate how it looks, and so far I have never needed it, so unless I can find something it can do that I cannot do any other way, I'll keep on not using it -- .~. There are many things that I love /V\ but God Comes way above all else /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: I need a better regex with a literal in it
On 24/10/2021 12:59, ToddAndMargo via perl6-users wrote: > On 10/23/21 18:03, Bruce Gray wrote: >> As to your "null string", I am glad that you resolved your problem, >> but I cannot get this code to hang: >> $NewRev ~~ s/ ^ .*? ('Release Notes V') //; >> , just by preceding it with this line: >> $NewRev = ''; >> , so I may misunderstand the nature of your accident. > > It would be unusual for you to have been able to > duplicate it. It had to travel through an external > call to curl and be read back from STDIN. Come > to think of it, whatever was in it (curl showed a > zero length download), it probably was not a nul. you probably had a variable that was undefined, rather than containing an empty string, or perhaps you had something else in the variable as as Raku has many types but why anything would actually hang the program instead of returning an error I could not say. -- .~. In my life God comes way first /V\ but Linux is very important for me too :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: Is the cosine page wrong?
On 29/12/2020 19:10, Francis Grizzly Smit wrote: On 29/12/2020 18:49, ToddAndMargo via perl6-users wrote: On 12/28/20 11:29 PM, Peter Scott wrote: On 12/28/20 10:57 PM, ToddAndMargo via perl6-users wrote: On 12/28/20 4:54 AM, Richard Hainsworth wrote: So please take what I say now as a plea for you to adapt a little, not to get pissed off with us even though you do seem to have pissed some of us off. You have very definite ideas about what the documentation should and shouldn't be. You have stated them over and over again. The Raku community at large - based on replies from multiple individuals over the years - disagrees with you. The Raku community has come to the concensus that there is a distinction between Tutorials and Reference, and that the Documentation site should contain both. Tutorials define how to use some aspect of Raku, with example text and explanation. Reference tries to cover as much of the language as possible, covering all the methods/subs/names/types etc as possible. Reference is written for a person who already knows how to program and who uses Raku. The assumption is that if a person reading a reference does not understand some term, then s/he will search in the documentation on that term to understand it. No set of documentation standards will please everyone - that's life. Even so, there ARE STILL areas of the Raku documentation that are lacking (just look at the issues on the Documentation repository, any of them raised by our indefatigable JJ). Hi Richard, When deciding to write a technical article, the VERY FIRST thing you have to do is determine your TARGET AUDIENCE. In a single sentence, please state for me what you believe the TARGET AUDIENCE is for the documentation. Richard stated the target audience for reference documentation quite clearly: Someone who already knows how to program and uses Raku. Multiple people have told you many times over several years that the purpose of reference documentation is to provide a complete description of the elements of a language expressed in concise formal notation, and is not to be confused with tutorials. Your condescending tone indicates you haven't listened and are still trying to convince them that they are wrong. It isn't going to work. Peter, I am, not being condescending. If you sense anything, it is frustration. I will accept your target audience: "Someone who already knows how to program and uses 'Raku.'" I will also accept that the documentation is not for me or anyone else trying to learn Raku. This is different than any other programming language I have used, but it is what it is. Not my call. And by your description of the target audience, I am correct when I say the documentation is meant for those that already know what they are doing. "language expressed in concise formal notation, and is not to be confused with tutorials" Well now, they need to get on the same page as you: https://docs.raku.org/language/classtut "A tutorial about creating and using classes in Raku" I assume what you need is a set of tutorials for beginners try https://www.google.com/search?channel=fs=ubuntu=raku+programming++for+beginners and hope for the best I guess. sorry I cannot help more just now https://raku.guide/ looks good if you have specific questions some of us here may be able to help. It is clearly stated that it is a tutorial, although it is not. It is what you describe above. This is part of my frustration. Please do not confuse frustration with condescension. -T -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: Is the cosine page wrong?
On 29/12/2020 18:49, ToddAndMargo via perl6-users wrote: On 12/28/20 11:29 PM, Peter Scott wrote: On 12/28/20 10:57 PM, ToddAndMargo via perl6-users wrote: On 12/28/20 4:54 AM, Richard Hainsworth wrote: So please take what I say now as a plea for you to adapt a little, not to get pissed off with us even though you do seem to have pissed some of us off. You have very definite ideas about what the documentation should and shouldn't be. You have stated them over and over again. The Raku community at large - based on replies from multiple individuals over the years - disagrees with you. The Raku community has come to the concensus that there is a distinction between Tutorials and Reference, and that the Documentation site should contain both. Tutorials define how to use some aspect of Raku, with example text and explanation. Reference tries to cover as much of the language as possible, covering all the methods/subs/names/types etc as possible. Reference is written for a person who already knows how to program and who uses Raku. The assumption is that if a person reading a reference does not understand some term, then s/he will search in the documentation on that term to understand it. No set of documentation standards will please everyone - that's life. Even so, there ARE STILL areas of the Raku documentation that are lacking (just look at the issues on the Documentation repository, any of them raised by our indefatigable JJ). Hi Richard, When deciding to write a technical article, the VERY FIRST thing you have to do is determine your TARGET AUDIENCE. In a single sentence, please state for me what you believe the TARGET AUDIENCE is for the documentation. Richard stated the target audience for reference documentation quite clearly: Someone who already knows how to program and uses Raku. Multiple people have told you many times over several years that the purpose of reference documentation is to provide a complete description of the elements of a language expressed in concise formal notation, and is not to be confused with tutorials. Your condescending tone indicates you haven't listened and are still trying to convince them that they are wrong. It isn't going to work. Peter, I am, not being condescending. If you sense anything, it is frustration. I will accept your target audience: "Someone who already knows how to program and uses 'Raku.'" I will also accept that the documentation is not for me or anyone else trying to learn Raku. This is different than any other programming language I have used, but it is what it is. Not my call. And by your description of the target audience, I am correct when I say the documentation is meant for those that already know what they are doing. "language expressed in concise formal notation, and is not to be confused with tutorials" Well now, they need to get on the same page as you: https://docs.raku.org/language/classtut "A tutorial about creating and using classes in Raku" I assume what you need is a set of tutorials for beginners try https://www.google.com/search?channel=fs=ubuntu=raku+programming++for+beginners and hope for the best I guess. sorry I cannot help more just now It is clearly stated that it is a tutorial, although it is not. It is what you describe above. This is part of my frustration. Please do not confuse frustration with condescension. -T -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: Is the cosine page wrong?
On 20/12/2020 19:17, ToddAndMargo via perl6-users wrote: Hi All, https://docs.raku.org/routine/cos method cos() Where is the definition of what is fed to the method? Should it no be something like: method cos( Cool:D --> Cool:D ) What am I missing? umm it looks right to me a method has a this or self argument (the invocant) so that would be what it operates on i.e. say0.cos; # OUTPUT: «1» saypi.cos; # OUTPUT: «-1» -T -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\ Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: parameters from the command line: how do they do that?
look into function MAIN in perl6 https://docs.perl6.org/language/functions https://perl6advent.wordpress.com/2010/12/02/day-2-interacting-with-the-command-line-with-main-subs/ http://perl6maven.com/parsing-command-line-arguments-perl6 On 22/06/17 14:49, Todd Chester wrote: Hi All, I know how to read things on the command line. But how to other's figure out what goes together when things don't arrive in order? For instance, from "man grep" -E, --extended-regexp Interpret PATTERN as ... -F, --fixed-strings Interpret PATTERN as ... The -E and the -F can be in any order on the command line Is there some module that you can send the run string to with "-E" (or similar) and it gives you back what comes directly after "-E"? I could do this manually, but it seems to be a lot of work. How do they do that? Many thanks, -T -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
Re: #!/usr/bin/perl6
#!/usr/bin/env perl6 is probably better let /usr/bin/env find the path to perl6 On 01/04/17 17:16, ToddAndMargo wrote: Hi All, Scientific Linux 7.3 (RHEL clone) I just came out of a panic with EPEL and their release update of Rakudo. Hosed the hole thing. Total mess. Anyway, thanks to the guys at the IRC channel, after a lot of uninstalling and erasing, I am now on https://github.com/nxadm/rakudo-pkg/releases https://github.com/nxadm/rakudo-pkg/releases/download/2017.03_02/perl6-rakudo-moarvm-CentOS7.3.1611-20170300-02.x86_64.rpm Problem, EPEL and `nxadm` put `perl6` in different places: EPEL: /usr/bin/perl6 nxadm: /opt/rakudo/bin/perl6 and all my Linux Perl6 programs start with #!/usr/bin/perl6 The following cured the issue # ln -s /opt/rakudo/bin/perl6 /usr/bin/perl6 I reported the issue over on https://github.com/nxadm/rakudo-pkg/issues/9 Therefore, I would like best practice advice: If various releases of Linux's rakudo are going to install in different places and I want Linux cross machine compatibility, is it best to leave the `#!/usr/bin/perl6`off and run everything the hard way with `perl6 xxx.pl6` and remove the bash first line path? I don't suppose there is a way to dual path the first line? Your thoughts on the issue? Many thanks, -T -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/
log base zero ???
I think I've found a bug some how there is no power that you can raise 0 to and get 23 or any number, except 0 $ perl6 -e "say log(23, 0);" -0 shouldn't it be NaN $ perl6 --version This is Rakudo version 2016.10-17-g200364a built on MoarVM version 2016.10-15-g715e39a implementing Perl 6.c. -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\ Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -BEGIN GEEK CODE BLOCK- Version: 3.1 GM/CS/H/P/S/IT/L d- s+:+ a++ C UL$ P+++ L+++$ E--- W+++ N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b DI(+) D- G e++ h+ y? r% z--- --END GEEK CODE BLOCK-- http://www.geekcode.com/
think I found a bug in the doc's
in https://docs.perl6.org/type/Int#routine_expmod it reads: routine expmod <https://docs.perl6.org/type/Int#___top> multi sub expmod(Int $y,Int $mod)returns Int:D multi method expmod(Int:D: Int $y,Int $mod)returns Int:D Returns the given |Int| raised to the |$y| power within modulus |$mod|. say expmod(4,2,5);# 1 say 7.expmod(2,5);# 4 Shouldn't the su form read: multi sub expmod(Int:D $x,Int $y,Int $mod)returns Int:D it needs three parameters -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -BEGIN GEEK CODE BLOCK- Version: 3.1 GM/CS/H/P/S/IT/L d- s+:+ a++ C UL$ P+++ L+++$ E--- W+++ N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b DI(+) D- G e++ h+ y? r% z--- --END GEEK CODE BLOCK-- http://www.geekcode.com/
Re: What are variables/parameters that start with a pipe | char
On 01/10/16 12:27, Brandon Allbery wrote: On Fri, Sep 30, 2016 at 10:22 PM, Francis (Grizzly) Smit <griz...@smit.id.au <mailto:griz...@smit.id.au>> wrote: I keep finding stuff like this: multi method spurt(IO::Path:D: Blob $contents, :$bin, |c) multi method spurt(IO::Path:D: Cool $contents, :$bin, |c) but I cannot find the |c syntax in the docs I have googled but no good a pointer or link would be good. You are looking for captures: https://docs.perl6.org/type/Signature#Capture_Parameters -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com <mailto:allber...@gmail.com> ballb...@sinenomine.net <mailto:ballb...@sinenomine.net> unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net Thx I found it on my own, finally googled the right thing -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\ Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -BEGIN GEEK CODE BLOCK- Version: 3.1 GM/CS/H/P/S/IT/L d- s+:+ a++ C UL$ P+++ L+++$ E--- W+++ N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b DI(+) D- G e++ h+ y? r% z--- --END GEEK CODE BLOCK-- http://www.geekcode.com/
Re: What are variables/parameters that start with a pipe | char
On 01/10/16 12:22, Francis (Grizzly) Smit wrote: I keep finding stuff like this: multi method spurt(IO::Path:D: Blob $contents, :$bin, |c) multi method spurt(IO::Path:D: Cool $contents, :$bin, |c) but I cannot find the |c syntax in the docs I have googled but no good a pointer or link would be good. sorry to bother you I found what I need https://docs.perl6.org/type/Signature#Capture_Parameters https://docs.perl6.org/type/Capture -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -BEGIN GEEK CODE BLOCK- Version: 3.1 GM/CS/H/P/S/IT/L d- s+:+ a++ C UL$ P+++ L+++$ E--- W+++ N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b DI(+) D- G e++ h+ y? r% z--- --END GEEK CODE BLOCK-- http://www.geekcode.com/
What are variables/parameters that start with a pipe | char
I keep finding stuff like this: multi method spurt(IO::Path:D: Blob $contents, :$bin, |c) multi method spurt(IO::Path:D: Cool $contents, :$bin, |c) but I cannot find the |c syntax in the docs I have googled but no good a pointer or link would be good. -- .~. In my life God comes first /V\ but Linux is pretty high after that :-D /( )\Francis (Grizzly) Smit ^^-^^http://www.smit.id.au/ -BEGIN GEEK CODE BLOCK- Version: 3.1 GM/CS/H/P/S/IT/L d- s+:+ a++ C UL$ P+++ L+++$ E--- W+++ N w--- M-- V-- PE- PGP t+ 5-- X-- R- tv b DI(+) D- G e++ h+ y? r% z--- --END GEEK CODE BLOCK-- http://www.geekcode.com/