Re: My keeper on "contains"

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 13:30, Tobias Boege wrote: On Mon, 09 Dec 2019, perl6-users-h...@perl.org wrote: Date: Sun, 8 Dec 2019 17:45:22 -0800 From: ToddAndMargo via perl6-users To: perl6-users Subject: My keeper on "contains" 8< ... Case insensitive contains: $ p6 'if "2018 Jul 7".fc.contains(

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 07:00, Elizabeth Mattijsen wrote: For some odd reason, some folks thought I was calling him an actual dog (canine). Would you have been similarly offended if I had called him a "gatekeeper"? If you call someone a dog I did not. It is a figure of speech. Please stop twisting

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 07:28, Curt Tilmes wrote: On Mon, Dec 9, 2019 at 10:08 AM Simon Proctor > wrote: I find both the implications of "guard dog" and "gatekeeper" unfair ways to talk about anyone on the community especially JJ. I understand that the intent

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 10:48, Peter Scott wrote: On 12/9/2019 6:06 AM, ToddAndMargo via perl6-users wrote: What school did you go to?  Students rate good and bad teachers, good and bad material ALL-THE-TIME. This is a function they are entitled to exercise because they are paying the teachers.  As

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 09:44, Trey Harris wrote: ToddAndMargo, I have watched you on these lists and on GitHub issues for years. I’ve engaged a few times but have generally pulled back again, always in reaction to the same pattern of behavior: 1. You ask a question about something. 2. It is explained

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 09:44, Trey Harris wrote: Signatures are important to Raku. Trey, The signatures are very important to the developers. They only confuse the programmer. -T

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 07:35, Curt Tilmes wrote: Hmm... Project for someone bored -- We've already got a great Signature parser, how about creating a simplified human (HTML) description automagically from any Signature, then linking it from the actual Signature on each page... I second that request!

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 12:31, Philip Hazelden wrote: On Mon, Dec 9, 2019 at 1:47 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi Phillip, Have you ever been to an IEEE seminar and attended a lecture on a subject that you have intimate knowledge on hoping to

Re: Precedence: assignment vs smartmatch? (...was Re: where is my map typo)

2019-12-09 Thread Brad Gilbert
I meant that $_ is set to the left value while the right value is being evaluated, and also while .ACCEPTS is called. LEFT ~~ RIGHT (Where LEFT and RIGHT represent some expression to be executed during runtime.) Imagine that underneath the hood, something like this is happening: my

Re: Precedence: assignment vs smartmatch? (...was Re: where is my map typo)

2019-12-09 Thread William Michels via perl6-users
Thank you Brad, for your in-depth reply. There are parts of your reply that make perfect sense to me, and also parts where I am still confused. I feel I understand your first three examples (1,2,3) explaining how the smartmatch operator relates to ACCEPTS(). However in the second three examples

Re: Perl6 vs Julia

2019-12-09 Thread Andrew Kirkpatrick
I think the motivation for Julia was that nothing delivered both the performance and flexibility they wanted for numeric programming. C/C++ are too static and dangerous, Matlab proprietary, (not sure what they don't like about Octave), Java too verbose and lacking in numeric primitives, Common

Re: My keeper on "contains"

2019-12-09 Thread Tobias Boege
On Mon, 09 Dec 2019, perl6-users-h...@perl.org wrote: > Date: Sun, 8 Dec 2019 17:45:22 -0800 > From: ToddAndMargo via perl6-users > To: perl6-users > Subject: My keeper on "contains" > > 8< ... > > Case insensitive contains: > $ p6 'if "2018 Jul 7".fc.contains( "jul".fc ) {say "Yes";}' >

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Philip Hazelden
(Apologies, forgot to reply all.) On Mon, Dec 9, 2019 at 1:47 AM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > Hi Phillip, > Have you ever been to an IEEE seminar and attended a lecture > on a subject that you have intimate knowledge on hoping > to pick up some additional tips.

Re: How do I do literal quotes in a regex?

2019-12-09 Thread Trey Harris
On Mon, Dec 9, 2019 at 03:54 Fernando Santagata wrote: > On Mon, Dec 9, 2019 at 9:38 AM Fernando Santagata < > nando.santag...@gmail.com> wrote: > >> It can be used this way: >> >> $ raku -e'say „Hello!“' >> Hello! >> But it must be used with that closing quote '“' (U+201C); it cannot be >> used

Re: A grand idea on the documentation

2019-12-09 Thread Peter Scott
On 12/9/2019 6:06 AM, ToddAndMargo via perl6-users wrote: What school did you go to?  Students rate good and bad teachers, good and bad material ALL-THE-TIME. This is a function they are entitled to exercise because they are paying the teachers.  As you yourself said: When I was in

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Trey Harris
On Mon, Dec 9, 2019 at 10:25 Simon Proctor wrote: > I *highly* advise learning how signatures work. > This, this, a thousand times this. ToddAndMargo, I have watched you on these lists and on GitHub issues for years. I’ve engaged a few times but have generally pulled back again, always in

Re: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Parrot Raiser
That looks like a great recommendation. On 12/9/19, Mike Stok wrote: > >> On Dec 9, 2019, at 10:24 AM, Curt Tilmes wrote: >> >> On Mon, Dec 9, 2019 at 10:07 AM ToddAndMargo via perl6-users >> mailto:perl6-users@perl.org>> wrote: >> On 2019-12-09 02:00, JJ Merelo wrote: >> > Other than that,

Re: Perl6 vs Julia

2019-12-09 Thread Parrot Raiser
I agree with you. Improving an existing one is different, even if fixing the original does give turn out to produce what is effectively a new one. Addressing a completely new class of problem would also be different, but that would be moving up the stack.

Re: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Mike Stok
> On Dec 9, 2019, at 10:24 AM, Curt Tilmes wrote: > > On Mon, Dec 9, 2019 at 10:07 AM ToddAndMargo via perl6-users > mailto:perl6-users@perl.org>> wrote: > On 2019-12-09 02:00, JJ Merelo wrote: > > Other than that, it's clear from the context that it returns a Boolean > You still need to

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Curt Tilmes
On Mon, Dec 9, 2019 at 10:29 AM Simon Proctor wrote: > I think this does highlight something we probably should document more. > > How to read signatures. Because it's a *very* powerful part of the > language that if you don't understand you're only using it at half strength. > > multi method

Re: A grand idea on the documentation

2019-12-09 Thread Curt Tilmes
On Mon, Dec 9, 2019 at 10:08 AM Simon Proctor wrote: > I find both the implications of "guard dog" and "gatekeeper" unfair ways > to talk about anyone on the community especially JJ. > I understand that the intent was derogatory, but I would encourage JJ to take it as a compliment. He is a

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Curt Tilmes
On Mon, Dec 9, 2019 at 10:07 AM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > On 2019-12-09 02:00, JJ Merelo wrote: > > Other than that, it's clear from the context that it returns a Boolean > You still need to change the target audience of the docs > from the Developers to the

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Simon Proctor
I think this does highlight something we probably should document more. How to read signatures. Because it's a *very* powerful part of the language that if you don't understand you're only using it at half strength. multi method contains(Str:D: Cool:D $needle, Cool:D $pos --> Bool:D) If not

Re: A grand idea on the documentation

2019-12-09 Thread Elizabeth Mattijsen
> On 9 Dec 2019, at 15:26, ToddAndMargo via perl6-users > wrote: > > On 2019-12-09 03:47, Elizabeth Mattijsen wrote: >>> On 9 Dec 2019, at 10:32, ToddAndMargo via perl6-users >>> wrote: >>> On 2019-12-09 00:33, JJ Merelo wrote: The Raku community has got a community documentation.

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 06:41, Simon Proctor wrote: I find both the implications of "guard dog" and "gatekeeper" unfair ways to talk about anyone on the community especially JJ. Hi Simon, JJ is indeed a great guy. That is not up for debate. He is just a little too protective when he is on duty.

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 06:23, Elizabeth Mattijsen wrote: On 9 Dec 2019, at 14:45, ToddAndMargo via perl6-users wrote: On 2019-12-09 01:39, Tom Blackwood wrote: It's rude on a public list to speak that. Did you seriously think I was calling him a real dog (canine)? So what did you intend to convey

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 02:00, JJ Merelo wrote: Other than that, it's clear from the context that it returns a Boolean JJ, You are a teacher. In technical writing, you NEVER leave anything to "Context", even if it is "intuitively obvious to the student and left for him to figure out on his own". If

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 03:47, Elizabeth Mattijsen wrote: On 9 Dec 2019, at 10:32, ToddAndMargo via perl6-users wrote: On 2019-12-09 00:33, JJ Merelo wrote: The Raku community has got a community documentation. It's called the official documentation, and it's done by the community. You want to write

Re: A grand idea on the documentation

2019-12-09 Thread Elizabeth Mattijsen
> On 9 Dec 2019, at 14:45, ToddAndMargo via perl6-users > wrote: > On 2019-12-09 01:39, Tom Blackwood wrote: >> It's rude on a public list to speak that. > Did you seriously think I was calling him a real dog (canine)? So what did you intend to convey with the use of the word "guard dog"? That

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 02:48, JJ Merelo wrote: No, it's not. I simply tried to direct you to raise an issue to where it would actually be heard by the people that maintain that. For you that don't know what JJ and I are talking about here, you can read it over at zef requires git

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 02:48, JJ Merelo wrote: And I'm not really going to answer to the rest. It's simply not true. You don't understand lots of things that are there, fair enough. You don't need to. I always tell my students: "keep trying, and ask around when you're lost". They never, however,

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 01:39, Tom Blackwood wrote: It's rude on a public list to speak that. Did you seriously think I was calling him a real dog (canine)? JJ! I do not think you are a canine. -T

Re: A grand idea on the documentation

2019-12-09 Thread Elizabeth Mattijsen
> On 9 Dec 2019, at 10:32, ToddAndMargo via perl6-users > wrote: > On 2019-12-09 00:33, JJ Merelo wrote: >> The Raku community has got a community documentation. It's called the >> official documentation, and it's done by the community. You want to write >> your own and help yourself and maybe

Re: A grand idea on the documentation

2019-12-09 Thread JJ Merelo
El lun., 9 dic. 2019 a las 11:26, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 2019-12-09 01:52, JJ Merelo wrote: > > > > > > El lun., 9 dic. 2019 a las 10:34, ToddAndMargo via perl6-users > > (mailto:perl6-users@perl.org>>) escribió: > > > > On 2019-12-09 00:33, JJ

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 01:52, JJ Merelo wrote: El lun., 9 dic. 2019 a las 10:34, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: On 2019-12-09 00:33, JJ Merelo wrote: > The Raku community has got a community documentation. It's called the > official

Re: Fwd: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread JJ Merelo
El lun., 9 dic. 2019 a las 2:48, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 2019-12-07 08:17, Philip Hazelden wrote: > > This is not IEEE-ese. Earlier, you defined IEEE-ese as > > > > Technical written material that uses so many obscure > > terms and

Re: A grand idea on the documentation

2019-12-09 Thread JJ Merelo
El lun., 9 dic. 2019 a las 10:34, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 2019-12-09 00:33, JJ Merelo wrote: > > The Raku community has got a community documentation. It's called the > > official documentation, and it's done by the community. You want to > > write

Re: A grand idea on the documentation

2019-12-09 Thread Tom Blackwood
On Mon, Dec 9, 2019 at 5:34 PM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > On 2019-12-09 00:33, JJ Merelo wrote: > > The Raku community has got a community documentation. It's called the > > official documentation, and it's done by the community. You want to > > write your own

Re: A grand idea on the documentation

2019-12-09 Thread ToddAndMargo via perl6-users
On 2019-12-09 00:33, JJ Merelo wrote: The Raku community has got a community documentation. It's called the official documentation, and it's done by the community. You want to write your own and help yourself and maybe others, there're lots lof places you can do that: dev.to ,

Re: How do I do literal quotes in a regex?

2019-12-09 Thread Fernando Santagata
On Mon, Dec 9, 2019 at 1:27 AM ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > What is the unicode for the subscript double quote „ ? > That's U+201E and can it be used together with the regular > quote the same as 「」 ? > It can be used this way: $ raku -e'say „Hello!“' Hello!

Re: How do I do literal quotes in a regex?

2019-12-09 Thread Fernando Santagata
On Mon, Dec 9, 2019 at 9:38 AM Fernando Santagata wrote: > It can be used this way: > > $ raku -e'say „Hello!“' > Hello! > But it must be used with that closing quote '“' (U+201C); it cannot be > used paired with itself: > There's another quotation mark that can be used with '„', it's '”'

Re: A grand idea on the documentation

2019-12-09 Thread JJ Merelo
The Raku community has got a community documentation. It's called the official documentation, and it's done by the community. You want to write your own and help yourself and maybe others, there're lots lof places you can do that: dev.to, Medium, your own blog. Even the "official" Raku Advent