Re: Raku User's Survey 2020 out now....

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-25 16:46, ToddAndMargo via perl6-users wrote: On 2020-08-25 16:18, William Michels via perl6-users wrote: Reposting this from Rakudo Weekly News: 2020.34 Another Survey Time [by liztormato] "It's that time of the year again! Time for the yearly Raku User Survey! Please fill in the

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-28 07:49, Brad Gilbert wrote: Now with all of that said, it is little wonder why Todd has difficulties with the function descriptions where others don't. I also think that if we just replaced what we have for something that works for Todd it might make it more difficult for others.

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread ToddAndMargo via perl6-users
On 2020-08-28 03:57, Tom Browder wrote: On Thu, Aug 27, 2020 at 20:41 ToddAndMargo via perl6-users wrote: On 2020-08-27 16:53, Daniel Long Sockwell wrote: Very few of the other [methods are documented] this way. Todd, I have one more suggestion: Why don't you put your "keepers" on Github?

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread yary
Right after sending I saw that the semicolon wasn't the issue, sorry! The second half of my message is correct I think. The command reads a line at a time, then calls lines()[3,2,5] on that single line which has no lines after the zeroth. tee hee, zeroth is a word! -y On Fri, Aug 28, 2020 at

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread William Michels via perl6-users
I remove the semicolon, and it throws an error: $ cat test_lines.txt | raku -ne 'my $x=$_; say $x for $x.lines()[3,2,5] -> $i {say $i;}' ===SORRY!=== Error while compiling -e Unexpected block in infix position (missing statement control word before the expression?) at -e:1 --> my $x=$_; say

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread Andy Bach
8, Cell: (608) 658-1890 "The three great problems of computer science: compiler complexity and 'off-by-one' errors". https://martinfowler.com/bliki/TwoHardThings.html From: ToddAndMargo via perl6-users Sent: Thursday, August 27, 2020 8:41 PM To: perl6-use

Re: Raku User's Survey 2020 out now....

2020-08-28 Thread Tom Browder
On Thu, Aug 27, 2020 at 20:41 ToddAndMargo via perl6-users wrote: > On 2020-08-27 16:53, Daniel Long Sockwell wrote: > >> Very few of the other [methods are documented] this way. Todd, I have one more suggestion: Why don't you put your "keepers" on Github? Several advantages: 1. easy to change

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 16:53, Daniel Long Sockwell wrote: Also, I don't have the same reaction to the phrase "funny names" that you do -- I don't think of "funny names" as necessarily being esoteric. They could just be a bit unusual.  For example, if you want to get the numerator and denominator of a 

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 19:55, dan...@codesections.com wrote: Here is my keeper on a hash Thanks for sharing :) You are welcome. I shared my best one. Most are about 1/10 of that one.

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread daniel
> Here is my keeper on a hash Thanks for sharing :)

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 16:53, Daniel Long Sockwell wrote: Very few of the other [methods are documented] this way. This one also started with an error in the cryptogram as well.  (That is another complaint about the documentation.  The cryptograms are often wrong.) And there should be zero tolerance for

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread Daniel Long Sockwell
Hi Todd, Thanks for your detailed reply; it really helped me to understand your perspective on all this. I have a few responses to particular points you raise My perspective on Raku's docs are that they are meant as a refresher for those that already know what they are doing. My

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On Thu, Aug 27, 2020 at 1:40 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-08-27 13:28, Tobias Boege wrote: > On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: >> To pick out particular lines: >> $ cat Lines.txt | raku -e '.say for

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-27 13:28, Tobias Boege wrote: On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: To pick out particular lines: $ cat Lines.txt | raku -e '.say for lines()[3,2,5]' Line 3 Line 2 Line 5 If it is, it is buried somewhere. And what goes inside the ()? That may

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread Tobias Boege
On Thu, 27 Aug 2020, ToddAndMargo via perl6-users wrote: > To pick out particular lines: >$ cat Lines.txt | raku -e '.say for lines()[3,2,5]' >Line 3 >Line 2 >Line 5 > > If it is, it is buried somewhere. > > And what goes inside the ()? That may seem like a dumb > remark

Re: Raku User's Survey 2020 out now....

2020-08-27 Thread ToddAndMargo via perl6-users
On 2020-08-25 20:28, dan...@codesections.com wrote: I noted it over on the survey, but the things I would like to see upcoming are 1) documentation that is written for both the beginner and the advanced user. Currently, it is only written for the advanced user, who does not need it. The

Re: Raku User's Survey 2020 out now....

2020-08-25 Thread daniel
> I noted it over on the survey, but the things I would > like to see upcoming are > > 1) documentation that is written for both the beginner > and the advanced user. Currently, it is only written > for the advanced user, who does not need it. The > documentation should eventual be on par with

Re: Raku User's Survey 2020 out now....

2020-08-25 Thread ToddAndMargo via perl6-users
On 2020-08-25 16:18, William Michels via perl6-users wrote: Reposting this from Rakudo Weekly News: 2020.34 Another Survey Time [by liztormato] "It's that time of the year again! Time for the yearly Raku User Survey! Please fill in the survey so that the Raku Community can better tweak the

Raku User's Survey 2020 out now....

2020-08-25 Thread William Michels via perl6-users
Reposting this from Rakudo Weekly News: 2020.34 Another Survey Time [by liztormato] "It's that time of the year again! Time for the yearly Raku User Survey! Please fill in the survey so that the Raku Community can better tweak the Raku experience. Kudos to JJ Merelo for organizing this once