Re: keep getting this error emailed to me on fez upload of module: Error reading META from your last upload

2023-12-08 Thread Francis Grizzly Smit
zly 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 &

Re: keep getting this error emailed to me on fez upload of module: Error reading META from your last upload

2023-12-07 Thread Bruce Gray
github.com/tony-o/raku-fez/issues/105 -- Hope this helps, Bruce Gray (Util of PerlMonks) > 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 email

Re: keep getting this error emailed to me on fez upload of module: Error reading META from your last upload

2023-12-07 Thread Francis Grizzly Smit
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 = ?

keep getting this error emailed to me on fez upload of module: Error reading META from your last upload

2023-12-07 Thread Francis Grizzly Smit
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>;  

Re: Is this zef or me: Inconsistent Ecosystem response

2022-06-29 Thread William Michels via perl6-users
Upgraded! Thank you Richard! admin@mbook:~$ ~/rakudo/rakudo-2021.06/zef/bin/zef upgrade Raku::Pod::Render ^[[A===> Searching for: Raku::Pod::Render ===> Updating fez mirror: http://360.zef.pm/ ===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json ===

Re: Is this zef or me: Inconsistent Ecosystem response

2022-06-29 Thread Richard Hainsworth
The problem is cured by uploading the latest version of the dependent module to fez. A `zef search Raku::Pod::Render` should list v3.7.6 On 29/06/2022 3:11 pm, Fernando Santagata wrote: Hi Richard, I tried 'zef search Raku::Pod::Render' and I can only see versions from v2.1 through v3.7.3. I

Re: Is this zef or me: Inconsistent Ecosystem response

2022-06-29 Thread Vadim Belman
How long ago v3.7.5 has been uploaded to p6c? Is p6c enabled in zef configuration? And it would be much better and more reliable to migrate to zef/fez ecosystem already. :) Best regards, Vadim Belman > On Jun 29, 2022, at 8:49 AM, Richard Hainsworth > wrote: > > Hi, > > zef appears to be

Re: Is this zef or me: Inconsistent Ecosystem response

2022-06-29 Thread Fernando Santagata
Hi Richard, I tried 'zef search Raku::Pod::Render' and I can only see versions from v2.1 through v3.7.3. If your last version is v3.7.5 there's something missing for sure. On Wed, Jun 29, 2022 at 2:50 PM Richard Hainsworth wrote: > Hi, > > zef appears to be giving inconsistent results. > > I hav

Is this zef or me: Inconsistent Ecosystem response

2022-06-29 Thread Richard Hainsworth
Hi, zef appears to be giving inconsistent results. I have updated several of my modules. But when I try the github actions to test an update a module that depends on one updated, it does not recognise the most recent module, only a version I changed some time ago. I have a module called Raku

Re: 'CALL-ME' Math problem?

2021-03-13 Thread Wenzel P. P. Peppmeyer
On 02/03/2021 09:12, ToddAndMargo via perl6-users wrote: Math problem:     x = 60÷5(7−5) raku -e 'say 60÷5(7−5)' No such method 'CALL-ME' for invocant of type 'Int'   in block at -e line 1 Seems raku does not like the ().  How do I fix this and maintain the

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Vadim Belman
Not in this case. The error happens at run-time. Syntactically the expression is a valid one because `5(...)` is interpreted as an invocation. Raku implements invocation protocol a part of which is method 'CALL-ME' defined on a class: class Foo { method CALL-ME(|c) { say "F

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Fernando Santagata
On Tue, Mar 2, 2021 at 4:08 PM Matthew Stuckwisch wrote: > But why do that when you can add a CALL-ME to the number classes that does > multiplication? 😇 > > Int.^add_fallback( > {$^i.defined && $^m eq 'CALL-ME'}, > -> $, $ { * * * } > ); >

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Matthew Stuckwisch
But why do that when you can add a CALL-ME to the number classes that does multiplication? 😇 Int.^add_fallback( {$^i.defined && $^m eq 'CALL-ME'}, -> $, $ { * * * } ); say 5(4); # 20 On Tue, Mar 2, 2021, 09:08 Daniel Sockwell wrote: > Kevin Pye wrote: >

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Parrot Raiser
> Doing so would, of course, be a very bad idea. But still, you _could_. Something of an understatement, I think. :-)* Seriously, this made me wonder if inscrutable error messages might be clarifed by a (reverse) trace of the last few steps in parsing. That would show you what the compi

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: 'CALL-ME' Math problem?

2021-03-02 Thread ToddAndMargo via perl6-users
>> >> Hi All, >> >> Math problem: >> x = 60÷5(7−5) >> >> raku -e 'say 60÷5(7−5)' >> No such method 'CALL-ME' for invocant of type 'Int' >> in block at -e line 1 >> >> Seems raku does not like

Re: 'CALL-ME' Math problem?

2021-03-02 Thread ToddAndMargo via perl6-users
On Tue, 2 Mar 2021, 08:13 ToddAndMargo via perl6-users, mailto:perl6-us...@perl.org>> wrote: Hi All, Math problem: x = 60÷5(7−5) raku -e 'say 60÷5(7−5)' No such method 'CALL-ME' for invocant of type 'Int' in block at -e

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Kevin Pye
for the error message is that adding parentheses after something is interpreted as trying to invoke a function. Callable objects such as functions have a CALL-ME method which is what is invoked to call the function. An integer lacks such a method, since it isn't callable. On Tue, 2 Mar 2021 at

'CALL-ME' Math problem?

2021-03-02 Thread ToddAndMargo via perl6-users
Hi All, Math problem: x = 60÷5(7−5) raku -e 'say 60÷5(7−5)' No such method 'CALL-ME' for invocant of type 'Int' in block at -e line 1 Seems raku does not like the (). How do I fix this and maintain the flow and look of the equation? -T The correct answer is 24

Re: Please take apart this stub line for me

2020-12-30 Thread ToddAndMargo via perl6-users
On 12/30/20 2:52 AM, JJ Merelo wrote: I'm also requesting you to take these totally improductive questions (and subsequent discussions) elsewhere. I'm not participating in it any more. JJ, You are the one who hosed me and personally insulted me as well rather than either ans

Re: Please take apart this stub line for me

2020-12-30 Thread ToddAndMargo via perl6-users
On 12/30/20 2:49 AM, Veesh Goldman wrote: Todd, you're being mean. Please stop I will see what I can find in the Turkish section of Netflix. I still think an explanation of the line would be a fascinating insight into the inner working of Raku.

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
El mié, 30 dic 2020 a las 11:40, ToddAndMargo via perl6-users (< perl6-us...@perl.org>) escribió: > On 12/30/20 2:21 AM, JJ Merelo wrote: > > It's "hosing me down". No, I'm not doing that. Veesh's answer was good > > enough for me; it probably shoul

Re: Please take apart this stub line for me

2020-12-30 Thread Veesh Goldman
Todd, you're being mean. Please stop On Wed, Dec 30, 2020, 12:40 ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > On 12/30/20 2:21 AM, JJ Merelo wrote: > > It's "hosing me down". No, I'm not doing that. Veesh's answer was good >

Re: Please take apart this stub line for me

2020-12-30 Thread ToddAndMargo via perl6-users
On 12/30/20 2:21 AM, JJ Merelo wrote: It's "hosing me down". No, I'm not doing that. Veesh's answer was good enough for me; it probably should be for you. Cheers JJ Hi JJ, To Quote Veesh: No. I can't imagine that what you're doing now is

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
It's "hosing me down". No, I'm not doing that. Veesh's answer was good enough for me; it probably should be for you. Cheers JJ

Re: Please take apart this stub line for me

2020-12-30 Thread ToddAndMargo via perl6-users
x27;s not, it's probably an implementation detail you don't need > to care about. > > Cheers > > JJ Hi JJ, Oh brother JJ. Did I accuse you of having patches on your elbows and a beard to look older?  What is with the name calling

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
s in > there, > > and if it's not, it's probably an implementation detail you don't need > > to care about. > > > > Cheers > > > > JJ > > Hi JJ, > > Oh brother JJ. Did I accuse you of having patches on > your elbows and a beard to

Re: Please take apart this stub line for me

2020-12-30 Thread ToddAndMargo via perl6-users
pe/Metamodel::ClassHOW> Everything is in there, and if it's not, it's probably an implementation detail you don't need to care about. Cheers JJ Hi JJ, Oh brother JJ. Did I accuse you of having patches on your elbows and a beard to look older? What is with the name callin

Re: Please take apart this stub line for me

2020-12-30 Thread ToddAndMargo via perl6-users
one brain better that another. Just different. What looks to you like chaos is actually highly organized to me. I am processing the concepts in parallel, not serial. It is a lot like Top Down programming. What I am doing is better understanding the mechanisms behind how Raku works. And I find it

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
El mié, 30 dic 2020 a las 8:02, Veesh Goldman () escribió: > No. > I can't imagine that what you're doing now is productive. > What are you actually trying to understand by reading the source. > Probably proving his point that anything, up to and including looking at clouds and watching Turkish s

Re: Please take apart this stub line for me

2020-12-29 Thread Veesh Goldman
No. I can't imagine that what you're doing now is productive. What are you actually trying to understand by reading the source. On Wed, Dec 30, 2020, 08:47 ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > Hi All, > > Would someone please take apart this

Please take apart this stub line for me

2020-12-29 Thread ToddAndMargo via perl6-users
Hi All, Would someone please take apart this line for me? https://github.com/rakudo/rakudo/blob/5df809e29cd2e7ae496a33013b27d2f7b52c7f7d/src/Perl6/bootstrap.c/BOOTSTRAP.nqp#L54 54: my stub Cool metaclass Perl6::Metamodel::ClassHOW { ... }; 2) stub 4) Perl6 5) Metamodel 6) ClassHOW 7

A regex that tickles me

2018-10-02 Thread ToddAndMargo
Hi All, This regex just tickles me. I am converting a date (2018-09-15) I harvest from a web page into a revision number (2018.09.15). The particular web site only dates for their releases, so, no problem, I am using Perl 6 #!/usr/bin/env perl6 my Str $x = "2018-09-15"; $x ~~ s

Re: Please explain this to me

2018-09-16 Thread Brandon Allbery
On 09/16/2018 05:58 PM, Curt Tilmes wrote: > >> > Read this: > >> > > >> > https://perl6advent.wordpress.com/2017/12/02/perl-6-sigils-variables-and-containers/ > >> > > >> > Then go back and read it again. It took me severa

Re: Please explain this to me

2018-09-16 Thread Brad Gilbert
I think I have an idea of where your thinking is going wrong. The trouble is going to be to describe it so that you can understand. First, I think you may be misunderstanding what we mean by defined and undefined. So I will use "instance" and "class" --- class Foo {}; say Foo; # <-

Re: Please explain this to me

2018-09-16 Thread ToddAndMargo
nd read it again. It took me several times, and I'm still > not sure I get it all :) I am spacing on the difference between my $foo = 42; and my $foo := 42; To add insult to injury, I come from Modula2, where `:=` is `=` in Perl. -T

Re: Please explain this to me

2018-09-16 Thread Brandon Allbery
tly instead of by changing the Hash element. On Sun, Sep 16, 2018 at 9:02 PM ToddAndMargo wrote: > On 09/16/2018 05:58 PM, Curt Tilmes wrote: > > Read this: > > > https://perl6advent.wordpress.com/2017/12/02/perl-6-sigils-variables-and-containers/ > > > > Then go back

Re: Please explain this to me

2018-09-16 Thread ToddAndMargo
On 09/16/2018 06:41 PM, ToddAndMargo wrote: Hi Mark, I am sorry, but books don't work for me.  Manuals do. And correspondences do too.   That is just the way my brain works. And, yes, I know I am weird. -T Videos don't work either. When I am forced to watch one to figure som

RE: Please explain this to me

2018-09-16 Thread Mark Devine
I get it. Different angles of approach. Some methods don't make a dent with me (I.e. rote). Mark -Original Message- From: ToddAndMargo Sent: Sunday, September 16, 2018 21:42 To: perl6-us...@perl.org Subject: Re: Please explain this to me On 09/16/2018 06:23 PM, Mark Devine

Re: Please explain this to me

2018-09-16 Thread ToddAndMargo
anny really. The author rolls the angles just right and I'm having mini-epiphanies one after another. So recommended... Mark Hi Mark, I am sorry, but books don't work for me. Manuals do. And correspondences do too. That is just the way my brain works. And, yes, I know I am weird. -T

RE: Please explain this to me

2018-09-16 Thread Mark Devine
ust right and I'm having mini-epiphanies one after another. So recommended... Mark -Original Message- From: ToddAndMargo Sent: Sunday, September 16, 2018 21:02 To: perl6-us...@perl.org Subject: Re: Please explain this to me On 09/16/2018 05:58 PM, Curt Tilmes wrote: > Read thi

Re: Please explain this to me

2018-09-16 Thread ToddAndMargo
On 09/16/2018 05:58 PM, Curt Tilmes wrote: Read this: https://perl6advent.wordpress.com/2017/12/02/perl-6-sigils-variables-and-containers/ Then go back and read it again.  It took me several times, and I'm still not sure I get it all :) I am spacing on the difference between my

Re: Please explain this to me

2018-09-16 Thread Curt Tilmes
Read this: https://perl6advent.wordpress.com/2017/12/02/perl-6-sigils-variables-and-containers/ Then go back and read it again. It took me several times, and I'm still not sure I get it all :) On Sun, Sep 16, 2018 at 8:49 PM ToddAndMargo wrote: > On 09/14/2018 08:07 PM, ToddAndMar

Re: Please explain this to me

2018-09-16 Thread ToddAndMargo
On 09/14/2018 08:07 PM, ToddAndMargo wrote: ":D"     means it wants actual data in the string and not a Nil.     The jargon for this requirement is that is is constrained     to an actual value     If it wanted a Nil, it would say ":U" or constrained to     a Nil Iteration 3: ":D" m

Re: Please explain this to me

2018-09-16 Thread yary
":D" means it wants actual data in the string and not a Nil. The jargon for this requirement is that is is constrained to an actual value If it wanted a Nil, it would say ":U" or constrained to a Nil Think of :D as a"defined" and :U as "Undefined" - Nil is a special thing, eve

Re: Please explain this to me

2018-09-14 Thread ToddAndMargo
Okay, see if I got it right, finally: multi method contains(Str:D: Cool:D $needle, Int(Cool:D) $pos --> Bool) "multi method" This means there are multiple ways to address this, as in multi method contains(Str:D: Cool:D $needle --> Bool) multi method contains(Str:D: Str:D

Re: Please explain this to me

2018-09-14 Thread ToddAndMargo
nd them in P6, I adored them. Methods increase readability for me a lot.

Re: Please explain this to me

2018-09-13 Thread Todd Chester
On 09/13/2018 10:24 PM, JJ Merelo wrote: Last time I counted, there were a dozen comments and 3 commits in the issue I created to try and improve the description. 2 files were modified by me. Is there some where I can look at these comments? That's rather a dynamic way of not bu

Re: Please explain this to me

2018-09-13 Thread Todd Chester
mplex easy, explained it to me this way: On 09/12/2018 10:34 AM, Larry Wall wrote: That is the wrong direction to think about it. Int is not being redefined as Cool:D there. The basic type there is just Int, and when the $pos comes in, it will end up being a simple Int. This

Re: Please explain this to me

2018-09-13 Thread Todd Chester
On 09/13/2018 10:24 PM, JJ Merelo wrote: Last time I counted, there were a dozen comments and 3 commits in the issue I created to try and improve the description. 2 files were modified by me. That's rather a dynamic way of not budging. Cheers JJ I wrote you off list giving y

Re: Please explain this to me

2018-09-13 Thread Todd Chester
On 09/12/2018 10:34 AM, Larry Wall wrote: On Tue, Sep 11, 2018 at 10:28:27PM -0700, ToddAndMargo wrote: : Okay, foul! :Str:D: Cool:D $needle : why is there not a comma between "Str:D:" and "Cool:D"? : And what is with the extra ":". By chance is the extra ":" : a confusing way of using a

Re: Please explain this to me

2018-09-13 Thread JJ Merelo
me I counted, there were a dozen comments and 3 commits in the issue I created to try and improve the description. 2 files were modified by me. That's rather a dynamic way of not budging. Cheers JJ

Re: Please explain this to me

2018-09-13 Thread Todd Chester
On 09/11/2018 05:05 AM, Simon Proctor wrote: Please note the Perl5 docs have had decades of people working on them the Perl6 ones less so. There's bound to be some difference in scope. Hi Simon, That you for the tutorial. I have it tagged to read over again really SSSLLLOOOWWLY As for

Re: Please explain this to me

2018-09-12 Thread Larry Wall
On Tue, Sep 11, 2018 at 10:28:27PM -0700, ToddAndMargo wrote: : Okay, foul! :Str:D: Cool:D $needle : why is there not a comma between "Str:D:" and "Cool:D"? : And what is with the extra ":". By chance is the extra ":" : a confusing way of using a comma for a separator? Well, "confusing" is ki

Re: Please explain this to me

2018-09-12 Thread Simon Proctor
In answer to "why the : between Str:D and Cool:D and why Int(Cool:D) ?" can I just point out the video I linked (or the slides) which answer both of these questions. On Wed, 12 Sep 2018 at 06:29 ToddAndMargo wrote: > On 09/11/2018 03:09 AM, ToddAndMargo wrote: > > multi method contains(Str:D:

Re: Please explain this to me

2018-09-11 Thread ToddAndMargo
On 09/11/2018 03:09 AM, ToddAndMargo wrote: multi method contains(Str:D: Cool:D $needle, Int(Cool:D) $pos) Okay, I know that    Str is a string    Cool is an object that can be treated as both a string and a number    $needle is the second optional parameter What is "D"? $needle is optional

Re: Please explain this to me

2018-09-11 Thread Curt Tilmes
t;b") >>> >>> The incovant is the object you invoke the method on. It's the thing that >>> gets assigned to self, $ (and whatever else you want to call it) >>> >>> 3) What makes the "invocant" special over the other second >>> and

Re: Please explain this to me

2018-09-11 Thread Brandon Allbery
you invoke the method on. It's the thing that >> gets assigned to self, $ (and whatever else you want to call it) >> >> 3) What makes the "invocant" special over the other second >> and third parameters? >> >> See about >> >> >

Re: Please explain this to me

2018-09-11 Thread Simon Proctor
it) > > 3) What makes the "invocant" special over the other second > and third parameters? > > See about > > > class Foo { > > 4) I see no class called "Foo" over on > https://docs.perl6.org/type.html > > That's a class b

Re: Please explain this to me

2018-09-11 Thread Simon Proctor
called "Foo" over on https://docs.perl6.org/type.html That's a class being defined for this example 5) Are they creating a new class? If so, why? To make an example >method whoami($me:) { 6) where is @b and %c? In this case thet aren't being passed. >

Re: Please explain this to me

2018-09-11 Thread ToddAndMargo
contians("b") 3) What makes the "invocant" special over the other second and third parameters? > class Foo { 4) I see no class called "Foo" over on https://docs.perl6.org/type.html 5) Are they creating a new class? If so, why? >method whoami($me:) {

Re: Please explain this to me

2018-09-11 Thread Timo Paulssen
On 11/09/18 12:50, ToddAndMargo wrote: > On 09/11/2018 03:09 AM, ToddAndMargo wrote: >> multi method contains(Str:D: Cool:D $needle, Int(Cool:D) $pos) > > What the heck (not my exact word) is "multi method"? > > What is wrong with calling it a "function"? Multi Methods are methods that do "multipl

Re: Please explain this to me

2018-09-11 Thread ToddAndMargo
On 09/11/2018 03:09 AM, ToddAndMargo wrote: multi method contains(Str:D: Cool:D $needle, Int(Cool:D) $pos) What the heck (not my exact word) is "multi method"? What is wrong with calling it a "function"?

Re: Please explain this to me

2018-09-11 Thread Timo Paulssen
On 11/09/18 12:38, Curt Tilmes wrote: > > On Tue, Sep 11, 2018 at 6:27 AM ToddAndMargo > wrote: > > method ($a: @b, %c) {};       # first argument is the invocant > > > I might say rather that $a is a parameter for the invocant.  The @b > parameter holds all the p

Re: Please explain this to me

2018-09-11 Thread Curt Tilmes
method whoami($me:) { > "Well I'm class $me.^name(), of course!" > } > } > say Foo.whoami; # OUTPUT: «Well I'm class Foo, of course!␤» > > is no help whatsoever. > Since $me is in front of the ':' in the signature, it is sayin

Re: Please explain this to me

2018-09-11 Thread Timo Paulssen
On 11/09/18 12:23, ToddAndMargo wrote: > As I understand it $needle? is the second optional parameter > and it is an integer, not "Cool" (both a string and a number). Where did you get "$needle?" from? I'm looking at the docs for method "contains" of type Str right now and it only says that $pos i

Re: Please explain this to me

2018-09-11 Thread JJ Merelo
ve you linked to the wrong section, > > https://docs.perl6.org/type/Signature#Parameter_separators is where the > > colon at the end is explained. > > > > Though you cannot search for :D: and get to somewhere that explains it, > > and searching for :D:, which i

Re: Please explain this to me

2018-09-11 Thread ToddAndMargo
d you to this section, either.   -Timo Hi Timo, method ($a: @b, %c) {}; # first argument is the invocant class Foo { method whoami($me:) { "Well I'm class $me.^name(), of course!" } } say Foo.whoami; # OUTPUT: «Well I'm class Foo, of course!␤» is no help whatsoever. Would you please explain it to me? -T

Re: Please explain this to me

2018-09-11 Thread ToddAndMargo
#x27;t pass the :D constraint. The : at the end means that the constraint "Str:D" applies to what's before the method call, in this case $foo. In this signature, the needle is not optional, and it doesn't make sense to me to have it optional. What would it mean to ask if a

Re: Please explain this to me

2018-09-11 Thread Timo Paulssen
On 11/09/18 12:18, JJ Merelo wrote: > > > El mar., 11 sept. 2018 a las 12:15, Timo Paulssen ( >) escribió: > > The colon at the end of "Str:D:" signifies that it's a type > constraint on what you call the method on. For example: > > > That, of course, is also in the

Re: Please explain this to me

2018-09-11 Thread JJ Merelo
El mar., 11 sept. 2018 a las 12:15, Timo Paulssen () escribió: > The colon at the end of "Str:D:" signifies that it's a type constraint on > what you call the method on. For example: > That, of course, is also in the documentation: https://docs.perl6.org/type/Signature#index-entry-type_constraint

Re: Please explain this to me

2018-09-11 Thread Timo Paulssen
nd means that the constraint "Str:D" applies to what's before the method call, in this case $foo. In this signature, the needle is not optional, and it doesn't make sense to me to have it optional. What would it mean to ask if a string contains, but not what it's supposed to

Please explain this to me

2018-09-11 Thread ToddAndMargo
multi method contains(Str:D: Cool:D $needle, Int(Cool:D) $pos) Okay, I know that Str is a string Cool is an object that can be treated as both a string and a number $needle is the second optional parameter What is "D"? $needle is optional, why is it not stated as "$needle?" How is bot

[perl #130774] [BUG] Rational.REDUCE-ME has a data race

2018-05-20 Thread Zoffix Znet via RT
Data race is now fixed (in a post release branch): Rakudo fix: https://github.com/rakudo/rakudo/commit/6dd20588b6dfb75a121e2207df5f8c89aad3e1ef Test: https://github.com/perl6/roast/commit/1d10e9dc12

[perl #130774] [BUG] Rational.REDUCE-ME has a data race

2018-05-20 Thread Zoffix Znet via RT
Data race is now fixed (in a post release branch): Rakudo fix: https://github.com/rakudo/rakudo/commit/6dd20588b6dfb75a121e2207df5f8c89aad3e1ef Test: https://github.com/perl6/roast/commit/1d10e9dc12

[perl #130774] [BUG] Rational.REDUCE-ME has a data race

2018-04-30 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
/032ce8df8533da3c5ff85c22720fe01324dd5adf On 2017-03-06 05:48:07, c...@zoffix.com wrote: > Another issue the .REDUCE-ME thing causes: > > mscha │ m: say (1/2+1/2, 2/2).unique; > +camelia │ rakudo-moar 9da50e: OUTPUT: «(1 1)␤» > > infix:<+> does not call .REDUCE-ME so the rats are different in this case

Re: Anyone want me eMail and download interface for curl?

2017-11-05 Thread ToddAndMargo
On 11/05/2017 02:44 AM, Shlomi Fish wrote: Hi, On Sat, 4 Nov 2017 14:02:35 -0700 ToddAndMargo wrote: On 11/04/2017 02:19 AM, Shlomi Fish wrote: Hi, On Fri, 3 Nov 2017 14:38:05 -0700 ToddAndMargo wrote: On 11/03/2017 02:34 AM, Shlomi Fish wrote: because i believe that otherwise vi

Re: Anyone want me eMail and download interface for curl?

2017-11-05 Thread Shlomi Fish
Hi, On Sat, 4 Nov 2017 14:02:35 -0700 ToddAndMargo wrote: > On 11/04/2017 02:19 AM, Shlomi Fish wrote: > > Hi, > > > > On Fri, 3 Nov 2017 14:38:05 -0700 > > ToddAndMargo wrote: > > > >> On 11/03/2017 02:34 AM, Shlomi Fish wrote: > >>>because i believe that > >>> otherwise viewing such

Re: Anyone want me eMail and download interface for curl?

2017-11-04 Thread ToddAndMargo
On 11/04/2017 02:19 AM, Shlomi Fish wrote: Hi, On Fri, 3 Nov 2017 14:38:05 -0700 ToddAndMargo wrote: On 11/03/2017 02:34 AM, Shlomi Fish wrote: because i believe that otherwise viewing such encumbered code may taint one's future software dev work. What do you mean by the above line?

Re: Anyone want me eMail and download interface for curl?

2017-11-04 Thread Brandon Allbery
On Fri, Nov 3, 2017 at 5:41 PM, ToddAndMargo wrote: > I frequently post modules I have come up with. Should > I stop the practice? > In countries signatory to the Berne Convention on Copyright, the default copyright is problematic; you should be explicit about the license on any code you releas

Re: Anyone want me eMail and download interface for curl?

2017-11-04 Thread Shlomi Fish
Hi, On Fri, 3 Nov 2017 14:38:05 -0700 ToddAndMargo wrote: > On 11/03/2017 02:34 AM, Shlomi Fish wrote: > > because i believe that > > otherwise viewing such encumbered code may taint one's future software dev > > work. > > What do you mean by the above line? > See the discussion at https:

Re: Anyone want me eMail and download interface for curl?

2017-11-03 Thread ToddAndMargo
a web page ... If anyone wants this module and helper modules, let me know and I will attach it here with a vpaste. I am offering this as you guys gave me a lot of help both here and on the chat line. I am definitely interested, but I agree with Shlomi. If it is truly FOSS, then you should

Re: Anyone want me eMail and download interface for curl?

2017-11-03 Thread ToddAndMargo
On 11/03/2017 02:34 AM, Shlomi Fish wrote: because i believe that otherwise viewing such encumbered code may taint one's future software dev work. What do you mean by the above line? Thank you for the heads up. Also, I do frequently post modules I have written. Should I stop the practice?

Re: Anyone want me eMail and download interface for curl?

2017-11-03 Thread Tom Browder
download a web page ... >> If anyone wants this module and helper modules, let me >> know and I will attach it here with a vpaste. >> >> I am offering this as you guys gave me a lot of help >> both here and on the chat line. I am definitely interested, but I agree with

Re: Anyone want me eMail and download interface for curl?

2017-11-03 Thread Shlomi Fish
nture" to write. I had to learn how to > properly create eMail headers -- the thing you do not see > on your eMail. Amongst and ton of other things. I took > me about two months to create. It works slick too > > If anyone wants this module and helper modules, let me > kno

Anyone want me eMail and download interface for curl?

2017-11-03 Thread Todd Chester
her things. I took me about two months to create. It works slick too If anyone wants this module and helper modules, let me know and I will attach it here with a vpaste. I am offering this as you guys gave me a lot of help both here and on the chat line. -T

Re: Who called me?

2017-09-15 Thread ToddAndMargo
On 09/13/2017 04:56 PM, ToddAndMargo wrote: Hi All, I am trying to convert this from Perl 5: my $WhoCalledMe = ( caller(0) )[1]; I use it inside a sub to determine who called the sub. How is this done in P6? Many thanks, -T Follow up: With a lot of help from the chat line, it transp

Re: Who called me?

2017-09-13 Thread Brandon Allbery
On Wed, Sep 13, 2017 at 8:15 PM, ToddAndMargo wrote: > Would this be what I am looking for? > > > for 1..* -> $level { > given callframe($level) -> $frame { > when $frame ~~ CallFrame { > next unless $frame.code ~~ Routine; > say $frame.code.package; >

Re: Who called me?

2017-09-13 Thread ToddAndMargo
On 09/13/2017 05:15 PM, ToddAndMargo wrote: On 09/13/2017 05:01 PM, Brandon Allbery wrote: On Wed, Sep 13, 2017 at 7:56 PM, ToddAndMargo > wrote: I am trying to convert this from Perl 5: my $WhoCalledMe = ( caller(0) )[1]; I use it inside a sub t

Re: Who called me?

2017-09-13 Thread ToddAndMargo
On 09/13/2017 05:01 PM, Brandon Allbery wrote: On Wed, Sep 13, 2017 at 7:56 PM, ToddAndMargo > wrote: I am trying to convert this from Perl 5: my $WhoCalledMe = ( caller(0) )[1]; I use it inside a sub to determine who called the sub. How is t

Re: Who called me?

2017-09-13 Thread Brandon Allbery
On Wed, Sep 13, 2017 at 7:56 PM, ToddAndMargo wrote: > I am trying to convert this from Perl 5: > > my $WhoCalledMe = ( caller(0) )[1]; > > I use it inside a sub to determine who called the sub. > > How is this done in P6? > You want the callframe method. Note that it can be a bit more compl

Who called me?

2017-09-13 Thread ToddAndMargo
Hi All, I am trying to convert this from Perl 5: my $WhoCalledMe = ( caller(0) )[1]; I use it inside a sub to determine who called the sub. How is this done in P6? Many thanks, -T

[perl #130774] [BUG] Rational.REDUCE-ME has a data race

2017-08-27 Thread Brian S. Julin via RT
On Mon, 06 Mar 2017 05:48:07 -0800, c...@zoffix.com wrote: > Another issue the .REDUCE-ME thing causes: > > mscha │ m: say (1/2+1/2, 2/2).unique; > +camelia │ rakudo-moar 9da50e: OUTPUT: «(1 1)␤» > > infix:<+> does not call .REDUCE-ME so the rats are different in this c

Re: Got me one too many p6's

2017-08-04 Thread ToddAndMargo
On 08/04/2017 08:14 PM, Brandon Allbery wrote: On Fri, Aug 4, 2017 at 10:50 PM, ToddAndMargo > wrote: I renamed the one in /opt and reran "updatedb" and now "which" find perl6 in /usr/bin instead of /opt/rakudo/bin. Do I need to do anything else? Argu

Re: Got me one too many p6's

2017-08-04 Thread Brandon Allbery
On Fri, Aug 4, 2017 at 10:50 PM, ToddAndMargo wrote: > > I renamed the one in /opt and reran "updatedb" and now > "which" find perl6 in /usr/bin instead of /opt/rakudo/bin. > > Do I need to do anything else? Arguably all you needed to do was remove /opt/rakudo/bin from $PATH, both in open shells

Re: Got me one too many p6's

2017-08-04 Thread ToddAndMargo
On 08/04/2017 07:40 PM, ToddAndMargo wrote: Hi All, Believe it or not EPEL beat Fedora to Rakudo 2017.07. Now I got me two perl 6's $ /opt/rakudo/bin/perl6 -v This is Rakudo version 2017.03 built on MoarVM version 2017.03 implementing Perl 6.c. $ /usr/bin/perl6 -v This is Rakudo ve

Got me one too many p6's

2017-08-04 Thread ToddAndMargo
Hi All, Believe it or not EPEL beat Fedora to Rakudo 2017.07. Now I got me two perl 6's $ /opt/rakudo/bin/perl6 -v This is Rakudo version 2017.03 built on MoarVM version 2017.03 implementing Perl 6.c. $ /usr/bin/perl6 -v This is Rakudo version 2017.07 built on MoarVM version 20

Re: Help me be greedy!

2017-08-04 Thread ToddAndMargo
On 08/04/2017 03:24 PM, Brent Laabs wrote: PCRE has the /U flag that reverses the behavior of .* and .*? (/PCRE_UNGREEDY)/ Greed ultimately wasn't the issue. I screwed up a bunch of other things.

Re: Help me be greedy!

2017-08-04 Thread Brent Laabs
PCRE has the /U flag that reverses the behavior of .* and .*? ( *PCRE_UNGREEDY)* This was always a terrible idea, and is probably the source of your confusion. On Fri, Aug 4, 2017 at 12:38 PM, Brandon Allbery wrote: > Like I said, greedy is the default, *.? says *don't* be greedy. You wanted >

Re: Help me be greedy!

2017-08-04 Thread Brandon Allbery
Like I said, greedy is the default, *.? says *don't* be greedy. You wanted .* for greedy match. But even with that, the extra .* before the f was telling it to eat stuff (greedily, since no ?, so it out-greed-ed the captured non-greedy .*?). On Friday, August 4, 2017, ToddAndMargo wrote: > On Fr

  1   2   3   4   >