probably worth a bug report ?

2022-01-01 Thread Marc Chantreux
hello rakoons,

I got this error message

Too few positionals passed; expected 1 argument but got 0
  in sub xxx at - line 1
  in block  at - line 2

Welcome to 퐑퐚퐤퐮퐝퐨™ v2021.09.
Implementing the 퐑퐚퐤퐮™ programming language v6.d.
Built on MoarVM version 2021.09.

by running this:

<<\-. raku; raku -v
sub xxx ( Pair $test ) { $test.raku.say }
xxx key => 'value';

and i think it's worth a bug: i don't know if

xxx key => 'value'

should parse but at least it deserve a less
confusing message, don't you think ?

regards
marc


Re: Raku name change

2022-01-01 Thread JJ Merelo
That was notified a long time ago. IIRC, the PR was merged, but has not
been deployed yet.

Cheers

El sáb, 1 ene 2022 a las 19:05, Richard Hainsworth ()
escribió:

> Just noticed when creating new module on GitHub, the dropdown for the
> .gitignore template has an entry for 'perl6' but not for raku.
>
>

-- 
JJ


Re: continuous testing

2022-01-01 Thread JJ Merelo
Hi,

El sáb, 1 ene 2022 a las 12:44, Richard Hainsworth ()
escribió:

> JJ
> Thanks. That is very useful. One interesting question.
>
> I notice from this setup that you chart the COMMITS, and the raku program
> uses 'say' to output the results.
>

That's not really needed, it's just a bit of goldplating.

> But how do you access these charted results?
>
You need to click on the log. But you can safely ignore that.

Cheers

JJ


The SF Perl Raku Study Group, 01/02 at 1pm PDT

2022-01-01 Thread Joseph Brenner
Heraclitus, translated by William Harris:

  From many things comes oneness, and out of oneness
  comes many things.

  The hidden harmony is better than the obvious.

The Raku Study Group

January 2, 2021  1pm in California, 9pm in the UK

Zoom meeting link:
  https://us02web.zoom.us/j/89182070922?pwd=Y05wV0tVakk1TUpvd21acDcrV2RGZz09

Passcode: 4RakuRoll

RSVPs are useful, though not needed:
  https://www.meetup.com/San-Francisco-Perl/events/282992445/


Happy New Year all, and see you tomorrow if you're up for it.


Raku name change

2022-01-01 Thread Richard Hainsworth
Just noticed when creating new module on GitHub, the dropdown for the 
.gitignore template has an entry for 'perl6' but not for raku.




Re: Should I start learning Perl?

2022-01-01 Thread Parrot Raiser
A great analysis of, and answer to, the question. Worthy of being
enshrined in a blog posting.


Re: continuous testing

2022-01-01 Thread Richard Hainsworth

JJ
Thanks. That is very useful. One interesting question.

I notice from this setup that you chart the COMMITS, and the raku 
program uses 'say' to output the results.


But how do you access these charted results?

Regards,

Richard

On 01/01/2022 10:14, JJ Merelo wrote:
Try the new GitHub actions with the recently renovated Docker image. 
See it in action, for instance, here:


https://github.com/JJ/p6-pod-load/blob/master/.github/workflows/test.yaml 



El vie, 31 dic 2021 a las 19:57, Richard Hainsworth 
(mailto:rnhainswo...@gmail.com>>) escribió:


Thanks

On 31/12/2021 18:27, Fernando Santagata wrote:

Hi Richard,
this is a link to the GitHub official documentation:

https://docs.github.com/en/actions


You can also copy a configuration from another project and adapt
it to your needs. For example this one installs some C libraries,
some module dependencies and runs the tests:


https://github.com/frithnanth/raku-Math-Libgsl-Interpolation/blob/master/.github/workflows/test.yml



On Fri, Dec 31, 2021 at 5:56 PM Richard Hainsworth
mailto:rnhainswo...@gmail.com>> wrote:

Fernando,

Thanks.

Any link / blog / article about how to set up GitHub action
up for Raku?

Regards,

Richard

On 31/12/2021 16:52, Fernando Santagata wrote:

Hi Richard,
apparently Travis CI has discontinued its free open source plan.
I switched to GitHub actions; don't know what's available on
other platforms.

On Fri, Dec 31, 2021 at 5:43 PM Richard Hainsworth
mailto:rnhainswo...@gmail.com>> wrote:

I noticed that the .travis files have been removed from
some distributions.

Also a .circleci file exists in the Raku Docs repo.

Is there a preferred / recommended / list of continuous
testing
environments?

Is there a preferred / rapid way to handle Raku modules?

Regards,

Richard



-- 
Fernando Santagata




-- 
Fernando Santagata




--
JJ


Re: Should I start learning Perl?

2022-01-01 Thread Richard Hainsworth

Mr. Turritopsis Dohrnii Teo En Ming,

Happy New Year from Wales.

You asked:

May I know if Perl is still in vogue?
Should I start learning Perl?

There is Perl and what used to be called Perl6, which is now called 
Raku. This is an email list for Raku, aka Perl 6.


Lets start with 'vogue-ness'.

When I was a student, FORTRAN was the main language for science, and 
COBOL was for finance. When I first set up an intranet for KPMG in their 
Moscow office, Perl 5 had just appeared and it was THE internet 
language. Since then many languages have come into fashion, and Python, 
JAVA, and Go seem to me to be widespread, whilst C remains incredibly 
important. You can find listings of popular languages on the internet.


However, consider that once a piece of software has been written in a 
language, transferring it 100% to another language is very difficult. 
Transferring about 95% is easy, but it is the rare cases that are 
difficult to get right. So companies with huge investments in software 
systems written in COBOL, Fortran, and Perl do not want to change the 
language, and they look for programmers who can maintain these software 
systems. Even though most programmers hate COBOL as a language (it is 
now old, but in its day was ground-breaking), COBOL programmers get high 
salaries from big companies with large software investments.


The same is even more true of Perl. Perl continues to be a good 
language, with VERY many modules and new ones being written, with VERY 
many companies relying on existing software systems based on Perl.


So does 'in vogue' mean what is fashionable today, but discarded 
tomorrow, or does it mean something for which there is a massive and 
continuing demand? Note that here I am trying to distinguish between 
volatile 'fashion' and what is in demand, which is an aspect of being 
'in vogue'.


It might easily be true that programmers are paid more if they have 
skills in languages with large installed bases, but which are out of 
fashion! The reason is that languages 'in fashion' attract many young 
people, who are taught these languages in schools and colleges. So the 
population of junior programmers with 'in fashion' skills is large. 
Programmers with older language skills are rarer, so they get paid more.


So if you are looking for a language to serve you in a career, then do 
not look at 'fashion', but look at the installed base. In which case 
Perl is a very good choice.


More important for a good programmer, though, is to learn the "Way" or 
"Art" of programming because various techniques for writing good 
software are applied in any different languages. Essential to good 
programming is testing, and particularly unit testing. I only started to 
use unit tests as part of the way I develop software quite late in my 
career. It is so easy to dismiss it as extra admin, rather than an 
essential way of thinking about the results generated by software. Also, 
things like program structure, naming variables and code elements in a 
self-documenting manner, differentiating between inheritance and code 
re-use, and so on are vital for good progamming.


Raku (previously known as Perl 6) is an excellent choice of language to 
learn because it has been designed to make good programming techniques 
easy. Once you have mastered important software techniques in Raku, you 
can then employ them in other settings.


At one time, I had to write in Java (for Android apps) and C (embedded 
systems), but for all my own tasks I used Raku. At the time Raku was 
very slow to compile (that is getting much better), but the ease with 
which I could write a small script to do a complex thing in a way that 
is easy to understand and debug is unmatched (I think) by any other 
language.


Raku is still at the forefront of language design, with its ability to 
handle Unicode (eg., you can name your variables in simplified or 
traditional Chinese script), grammars, concurrent programming, and 
several other areas. Why is Raku not more widespread? Probably because 
it does not have a big company sponsoring its development, and 
advertising it.


So short responses to your questions:

Is Perl 'in vogue' in the meaning of is it fashionable? Is that a good 
question to be asking? The answer is 'Perl is not as fashionable as it 
once was'. But are you asking because you only want to follow fashion, 
or are you asking to see how best to develop yourself in your career, or 
as a programmer. Is Perl in vogue because it is widely used, then yes 
Perl is in vogue.


Is Raku fashionable? If you look at the quality of the people in the 
Raku community, and their experience with other languages, and when you 
consider the types of things that interest computer scientists and being 
implemented in Raku, then 'yes, Raku is fashionable'. But if by 
fashionable, you mean what is being hyped by influencers, or companies 
with money trying to get you locked into their products, then 'no, Raku 
is not fashionable'.



Re: Should I start learning Perl?

2022-01-01 Thread Elizabeth Mattijsen
If you're looking for Perl, you're probably on the wrong mailing list: I 
suggest you try "perl.beginners".

> On 1 Jan 2022, at 10:42, Turritopsis Dohrnii Teo En Ming 
>  wrote:
> 
> Subject: Should I start learning Perl?
> 
> Good day from Singapore,
> 
> I am thinking of learning Perl. May I know if Perl is still in vogue?
> Should I start learning Perl?
> 
> I am looking forward to your replies.
> 
> Thank you very much.
> 
> Regards,
> 
> Mr. Turritopsis Dohrnii Teo En Ming
> Targeted Individual in Singapore
> 1st Jan 2022 Saturday



Re: continuous testing

2022-01-01 Thread JJ Merelo
Try the new GitHub actions with the recently renovated Docker image. See it
in action, for instance, here:

https://github.com/JJ/p6-pod-load/blob/master/.github/workflows/test.yaml

El vie, 31 dic 2021 a las 19:57, Richard Hainsworth ()
escribió:

> Thanks
> On 31/12/2021 18:27, Fernando Santagata wrote:
>
> Hi Richard,
> this is a link to the GitHub official documentation:
>
> https://docs.github.com/en/actions
>
> You can also copy a configuration from another project and adapt it to
> your needs. For example this one installs some C libraries, some module
> dependencies and runs the tests:
>
>
> https://github.com/frithnanth/raku-Math-Libgsl-Interpolation/blob/master/.github/workflows/test.yml
>
> On Fri, Dec 31, 2021 at 5:56 PM Richard Hainsworth 
> wrote:
>
>> Fernando,
>>
>> Thanks.
>>
>> Any link / blog / article about how to set up GitHub action up for Raku?
>>
>> Regards,
>>
>> Richard
>> On 31/12/2021 16:52, Fernando Santagata wrote:
>>
>> Hi Richard,
>> apparently Travis CI has discontinued its free open source plan.
>> I switched to GitHub actions; don't know what's available on other
>> platforms.
>>
>> On Fri, Dec 31, 2021 at 5:43 PM Richard Hainsworth <
>> rnhainswo...@gmail.com> wrote:
>>
>>> I noticed that the .travis files have been removed from some
>>> distributions.
>>>
>>> Also a .circleci file exists in the Raku Docs repo.
>>>
>>> Is there a preferred / recommended / list of continuous testing
>>> environments?
>>>
>>> Is there a preferred / rapid way to handle Raku modules?
>>>
>>> Regards,
>>>
>>> Richard
>>>
>>>
>>
>> --
>> Fernando Santagata
>>
>>
>
> --
> Fernando Santagata
>
>

-- 
JJ


Re: Should I start learning Perl?

2022-01-01 Thread Yong Hwa
Sure. Why not?

On Sat, Jan 1, 2022 at 5:42 PM Turritopsis Dohrnii Teo En Ming <
ceo.teo.en.m...@gmail.com> wrote:

> Subject: Should I start learning Perl?
>
> Good day from Singapore,
>
> I am thinking of learning Perl. May I know if Perl is still in vogue?
> Should I start learning Perl?
>
> I am looking forward to your replies.
>
> Thank you very much.
>
> Regards,
>
> Mr. Turritopsis Dohrnii Teo En Ming
> Targeted Individual in Singapore
> 1st Jan 2022 Saturday
>


Re: Last day for FOSDEM submission

2022-01-01 Thread JJ Merelo
Well, we can very well ship a Docker image that includes Raku by default...

Cheers

El vie, 31 dic 2021 a las 14:21, Wesley Peng via perl6-users (<
perl6-users@perl.org>) escribió:

> Replacing Bash scripts with Raku? That’s an interesting thing. Can Linux
> be shipped with Raku by default?
>
>
>
> hello people,
>
> I just discovered this this morning:
>
>
> https://www.reddit.com/r/rakulang/comments/rrcp4c/steal_these_ideas_for_raku_fosdem_talks/
>
> I don't remember if there was a previous annoucement in this list but
> it's still possible to jump in.
>
> I just submitted one on "Replacing Bash scripts with Raku"
>
> * features and way of doing things i love from zsh
> * the raku way [1]
> * getting started with raku ecosystem (raku.land, zef, Ddt, fez, rakudoc,
> prove6, ...)
>
> gather/take=while read, Seq vs Pipes, ...) and ideas of modules
>
> 1: the raku way are things like
>
> *sh│ raku
> ───┼─
> |  │ Seq.map
> xargs -P  │ .race
> while read │ gather/take
>
> At some point it could become an Intro section on the Raku documentation
> site.
>
> If a native/fluent english speaker want to take over it: i'll be more
> than happy to co-author the talk as well (i really feel like i'm a
> disaster as
> speaker).
>
> Regards
> marc
>
>

-- 
JJ


Should I start learning Perl?

2022-01-01 Thread Turritopsis Dohrnii Teo En Ming
Subject: Should I start learning Perl?

Good day from Singapore,

I am thinking of learning Perl. May I know if Perl is still in vogue?
Should I start learning Perl?

I am looking forward to your replies.

Thank you very much.

Regards,

Mr. Turritopsis Dohrnii Teo En Ming
Targeted Individual in Singapore
1st Jan 2022 Saturday