annoucements page on website

2024-05-13 Thread Richard Hainsworth
Hi all, We've added a new announcements page to the Raku documentation website. As soon as the changes propage through the tool chain - probably after about 10.30am UTC - whenever you open the website after a new announcement has been made that you have not read, you will get a popup of the a

EBook of documentation

2024-05-09 Thread Richard Hainsworth
mbedd. Once the file is generated, some experimenting will be needed to work out how best to incorporate it into the ebook. 2. The CSS could be improved. - the code snippets are fixed format and highlighted. Some TLC is needed here 3. A cover image is needed. Regards, Richard Hainsworth

Re: run on regex line?

2024-01-20 Thread Richard Hainsworth
Todd, You could use Elizabeth Mattijsen's App-rak. It's a Raku utility that does grep, sed, awk. Richard On 20/01/2024 10:53, ToddAndMargo via perl6-users wrote: On 1/20/24 01:42, William Michels via perl6-users wrote: On Jan 19, 2024, at 23:49, ToddAndMargo via perl6-users wrote: Hi A

Re: Marketing / PR / Branding

2023-10-31 Thread Richard Hainsworth
Thanks Marton for the clearer explanation and link! Sorry to everyone else for not including the link On 31/10/2023 13:48, Polgár Márton wrote: There is a thematic page on Github for a while called Discussions. In the case of the Raku/problem-solving repository, it's second next to Issues, a

Marketing / PR / Branding

2023-10-31 Thread Richard Hainsworth
Hi, I just posted a new discussion in the Raku/Problem-solvers discussion about the subject. The idea is to brain storm about where to go with Raku marketing / PR / branding. So if you have some ideas / point of view, please contribute. Regards, Richard, aka finanalyst

New search for Raku documentation page

2023-09-15 Thread Richard Hainsworth
e helpful. Ditto for the default values of some options. Regards, Richard Hainsworth, aka finanalyst

Reminder about RakuDoc

2023-08-19 Thread Richard Hainsworth
A quick reminder to this list that comments are open for the RakuDoc revision. The document can be see at https://github.com/Raku/RakuDoc-GAMMA Other information about the process can be found in the README Richard aka finanalyst

Re: A question on AND

2023-06-30 Thread Richard Hainsworth
I tried this and it worked without any problem. Here's the whole program: use v6.d; say @*ARGS.raku; if @*ARGS.elems > 0 && "@*ARGS[0]".lc eq "debug" { say 'got' } and at the terminal: $ raku todd-test.raku debug --debug=50 ["debug", "--debug=50"] got FWIW why are you quoting ARGS? The .l

Re: Need regex in the middle wildcard help

2023-06-19 Thread Richard Hainsworth
HI Todd, Some more clean up: On 19/06/2023 12:41, ToddAndMargo via perl6-users wrote: This is my test program: #!/bin/raku print "\n"; my Str $x = Q[href="wike-2.0.1-1.fc38.noarch.rpm">wike-2.0.1-1.fc38.noarch.rpm 27-Apr-2023 01:53  143K] ~ Q[href="wine-8.6-1.fc38.i686.rpm">w

Re: Upcoming documentation meetings

2023-02-06 Thread Richard Hainsworth
I thought it was for 2nd Saturday, which is the 11-th On 04/02/2023 23:13, Ralph Mellor wrote: That's super short notice but if you mean EST, so 5pm UK time, it would work for me. On Fri, Feb 3, 2023 at 7:07 PM Will Coleda wrote: I can do a test tomorrow at noon if there's interest. On Fri,

Re: How in Raku can a symlink be edited to a new target, if the target is a directory.

2022-11-07 Thread Richard Hainsworth
Ignore this message. It turns out I had set up my file structure incorrectly, so the description below is wrong and the problem is elsewhere. Raku handles a symlink to a directory correctly. On 07/11/2022 9:55 am, Richard Hainsworth wrote: I want - in a Raku program - update a symlink from

How in Raku can a symlink be edited to a new target, if the target is a directory.

2022-11-07 Thread Richard Hainsworth
I want - in a Raku program - update a symlink from 'plug-v1' to 'plug-v2', where both plug-v1 and plug-v2 are sub-directories of 'src'. The symlink is 'plug'. I am using Ubuntu. First time I create symlink with 'src/plug-v1'.IO.symlink( 'plug' ); If now I want to change the link, then the fo

Re: BEGIN {} question

2022-09-01 Thread Richard Hainsworth
On Wed, 31 Aug 2022, 00:59 ToddAndMargo via perl6-users, < perl6-users@perl.org> wrote: > On 8/30/22 13:34, Richard Hainsworth wrote: > > Hi Todd, > > > > > Since you continue for ever to complain about 'compile' time issues, > > "Stage parce&qu

Re: BEGIN {} question

2022-08-30 Thread Richard Hainsworth
Hi Todd, Long time no see. Re your 'keeper'. There is a reason why things are called the way they are in Raku (aka Perl6). BEGIN is NOT a special subroutine. BEGIN is a phaser. And it introduces a block. Blocks are not subroutines (subs). Even though blocks and subs (and methods and callable

Rakudoc - make the naming consistent

2022-07-19 Thread Richard Hainsworth
With the change from Perl 6 to Raku, there were a number of naming changes, particularly of file formats, eg pl6 -> raku, pm6 -> rakumod. One of the changes was `.pod6` to `.rakudoc` for files that are primarily documentation files. However, we continue to refer to POD6 (also known as Pod6) a

Re: Using fez

2022-07-11 Thread Richard Hainsworth
each project I develop because mi6 doesn't cover my needs. Best regards, Vadim Belman On Jul 10, 2022, at 11:38 AM, Richard Hainsworth wrote: I have begun uploading modules to fez. Suppose a module is in active development. And I have v0.7.1, then v0.7.2 etc. Do I need to upload each v

Using fez

2022-07-10 Thread Richard Hainsworth
I have begun uploading modules to fez. Suppose a module is in active development. And I have v0.7.1, then v0.7.2 etc. Do I need to upload each version, or will fez automatically provide the most updated module? When p6c was the main ecosystem, the reference was to github. So, the latest vers

Re: Is this zef or me: Inconsistent Ecosystem response

2022-06-29 Thread Richard Hainsworth
ugh 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 have updated several of my modules. But when I try the github actions to test an

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

how to handle too many threads?

2022-03-08 Thread Richard Hainsworth
Briefly I have lots of tests that individually run with no fails, but when run together I get a really strange run-time error: MoarVM oops: insert conflict, java is 437938227, 9 != 17 I think too many threads are being used. I'm not asking someone else to solve this problem, but for assistan

Re: Removing ' characters

2022-01-10 Thread Richard Hainsworth
Aha. Thanks On 10/01/2022 15:59, Gianni Ceccarelli wrote: On Mon, 10 Jan 2022 15:41:04 + Richard Hainsworth wrote: Using REPL I got > my $s = '\'\'' '' > $s.subst( / \' ~ \' (.+) /, $0) Use of Nil in string context   in block at

Removing ' characters

2022-01-10 Thread Richard Hainsworth
If a string is enclosed in ' characters, and I want to remove the bracketing ', how do I do it? Seems like ' is not a normal character, or is it because its not a bracketing character? Using REPL I got > my $s = '\'\'' '' > $s.subst( / \' ~ \' (.+) /, $0) Use of Nil in string context   in bl

Re: update: meta data in Pod Block

2022-01-03 Thread Richard Hainsworth
agraph contents has a Formatting Code'; todo 1; isa-ok $r.contents[2].contents[1], Pod::FormattingCode, 'Definition contents has a Formatting Code'; done-testing; Regards Richard On 02/01/2022 23:00, Ralph Mellor wrote: On Sun, Jan 2, 2022 at 8:00 PM Richard Hainsworth wrote:

update: meta data in Pod Block

2022-01-02 Thread Richard Hainsworth
tl;dr Found a workaround. Raku documentation about meta / config data is subtly wrong. I'm writing a PR to modify documentation. Long version: As per my previous email, the documentation in docs.raku.org about POD6 says that configuration data provided on lines after a POD6 declaration has

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: continuous testing

2022-01-01 Thread Richard Hainsworth
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 <https://github.com/JJ/p6-pod-load/blob/master/.github/workflows/test.yaml> El vie, 31 dic 2021 a las 19:57, Ri

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'.

Re: continuous testing

2021-12-31 Thread Richard Hainsworth
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 Richa

Re: continuous testing

2021-12-31 Thread Richard Hainsworth
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 preferr

continuous testing

2021-12-31 Thread Richard Hainsworth
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

Implementation of documented POD6 behaviour

2021-12-30 Thread Richard Hainsworth
I plan to use the POD6 metadata functionality a lot in a new module. It would be far better to separate out the meta data into lines. In https://docs.raku.org/language/pod I find "In the future, the configuration section may be extended over subsequent lines by starting those lines with an |=|

file format extensions

2021-12-30 Thread Richard Hainsworth
I'm revising how I name files that are included in my modules. With the name change to Raku, the file extensions also changed for script and module files. In addition Jonathan has defined some format extensions for Cro files, and I am sure there would be other developers who would like to clai

Re: gather take eager syntax

2021-04-20 Thread Richard Hainsworth
The 'take' is creating a Pair, which is one thing, whilst when creating a hash, you need two things: the key and the value. The gather adds extra complexity by creating a list, which is also one thing. But you could flatten the list into the list of things by using |. So `my %h = gather { tak

Re: too many file handles

2021-03-17 Thread Richard Hainsworth
collected? Richard On 17/03/2021 17:55, Elizabeth Mattijsen wrote: On 17 Mar 2021, at 18:45, Richard Hainsworth wrote: I have been running into this error: "Too many open files" Sorry for the lack of detail. The problem is that the error comes up in odd places, so I have found it d

too many file handles

2021-03-17 Thread Richard Hainsworth
I have been running into this error: "Too many open files" Sorry for the lack of detail. The problem is that the error comes up in odd places, so I have found it difficult to golf down into Raku program that always fails with this error. When I separate out the code that leads to the error, a

Re: Please create a Raku community channel

2021-03-15 Thread Richard Hainsworth
Thanks to everyone that responded. It seems to me that the establishment of a common communication channel by the RSC (Raku Steering Council) would in itself define the Raku Community. Those who want to be a part of the community would track (follow, read, contribute etc) the channel. I don't

Please create a Raku community channel

2021-03-12 Thread Richard Hainsworth
developers and the wider Raku community. Regards Richard Hainsworth aka finanalyst

Re: [sf-perl] The SF Perl Raku Study Group, 03/14 at 1pm PDT

2021-03-12 Thread Richard Hainsworth
Jo, I think you are something! Existentially and exemplary! The quotations you find are very interesting. TJ, I wonder whether there is some misunderstanding? Richard On 12/03/2021 19:09, yary wrote: Or is that a Zen critique ... I think therefore i am not...? On Fri, Mar 12, 2021, 11:21 AM

Re: A problem case for the site documentation search: the "^methods" method.

2021-03-11 Thread Richard Hainsworth
Jo, For what its worth, the search page on http://raku.finanalyst.org now takes you to ^methods Previously, a search on '^methods' found the reference, but hide the location, so the link could not be clicked. That is fixed now. Regards, Richard On 10/03/2021 15:42, Joseph Brenner wrote:

Re: Find Packages with prefix ...

2021-03-07 Thread Richard Hainsworth
Interesting question. I would like to know a good way of doing this. But just to refine the question, so that we don't discuss which directory modules are in (doesn't matter whether its lib/ or bin/), or whether we use classes and inheritance, the interesting (for me) question is: how to find

Module Documentation

2021-03-02 Thread Richard Hainsworth
Hi, I want to create a system that will show documentation about Raku Modules that I have installed. There does not seem to be a Documentation standard, or best practice, for Raku modules. Hence the following post. In the Modules documentation in the Language section of the Raku documentati

Alternative view of Raku Documentation

2021-03-02 Thread Richard Hainsworth
I've just passed a milestone in the development of a suite of modules for rendering a collection of POD6 content files. Please take a look at http://raku.finanalyst.org and especially http://raku.finanalyst.org/search.html Please let me know whether you find the search interface easier than t

Strange behaviour in REPL

2021-01-11 Thread Richard Hainsworth
I want to test for a key being defined in one hash, and if it is, then it should be a hash, and I need the value of that second key. So I was testing my syntax with raku and got the following: raku Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.12. Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d. Built on MoarVM ve

Re: LTA documentation page

2021-01-06 Thread Richard Hainsworth
We have a Google Summer of Code project to work on rakudoc, and the latest version of rakudoc points to "noisgul" 's repo. But ... rakudo aka p6doc was intended to work in the same way as perldoc. At the time the p6doc project was started, there was actually very little documentation, so most

Re: Extra . needed

2021-01-04 Thread Richard Hainsworth
7;t need the parens on a method call if they are empty. So $a.f() is the same as $a.f and $a.f().() is the same as $a.f.() On Sun, Jan 3, 2021 at 12:30 PM Richard Hainsworth mailto:rnhainswo...@gmail.com>> wrote: I was playing with classes and adding a closure to an attribute.

Extra . needed

2021-01-03 Thread Richard Hainsworth
I was playing with classes and adding a closure to an attribute. I discovered that to call a closure on object I need `.()` rather than just `()`. See REPL below. raku Welcome to 𝐑𝐚𝐤𝐮𝐝𝐨™ v2020.12. Implementing the 𝐑𝐚𝐤𝐮™ programming language v6.d. Built on MoarVM version 2020.12. To exit type

Re: Is the cosine page wrong?

2020-12-29 Thread Richard Hainsworth
See inline below On Tue, Dec 29, 2020, 09:54 ToddAndMargo via perl6-users < perl6-users@perl.org> wrote: > On 12/29/20 1:12 AM, Richard Hainsworth wrote: > > Hi Richard, > > > > When deciding to write a technical article, the > > VERY FIRST

Re: Is the cosine page wrong?

2020-12-29 Thread Richard Hainsworth
On Tue, Dec 29, 2020, 06:57 ToddAndMargo via perl6-users < perl6-users@perl.org> 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, > > > > > No set of documentation standards will

Re: Is the cosine page wrong?

2020-12-28 Thread Richard Hainsworth
broken, it's a bit recursive. Can anyone cure problem #1, so I can get to step #2? :-)* On 12/28/20, Elizabeth Mattijsen wrote: ❤️ On 28 Dec 2020, at 13:54, Richard Hainsworth wrote: Todd, Some of what you have said in this email list over the years has been very valuable. You ask questio

Re: Is the cosine page wrong?

2020-12-28 Thread Richard Hainsworth
Todd, Some of what you have said in this email list over the years has been very valuable. You ask questions that get some very illuminating answers. I wrote a Module just for you (although I' still trying to get it to work on Windows) and it inspired me to look much more deeply at GTK::Simpl

Continuous testing

2020-12-23 Thread Richard Hainsworth
Hi to everyone. Hope you all have a happy holiday time at the end of the year - different countries different celebrations, but good will to all. Hope 2021 is properous for you all too. About continuous testing. I have recently taken on the maintenance of GTK::Simple. The Travis-CI setup w

Re: pod6 and markdown

2020-09-02 Thread Richard Hainsworth
The raku compiler allows for what you want. It is the Pod render module that has to do this work. SO I've just re-written Pod::To::HTML. It's in Raku::Pod::Render (Note the Raku at the beginning, I also wrote another module with almost the same name that doesn't do this). The legacy Pod:

Re: lines :$nl-in question

2020-09-01 Thread Richard Hainsworth
Some comments on the linguist contribution. While 'invocant' and 'invoker' may be 'functionally equivalent', it seems to me that in fact 'invocant' is correct. 'Invocant' indicates a thing that invokes, and does not imply necessarily an intent. By analogy, we have 'defendant' in normal usage,

Re: lines :$nl-in question

2020-08-30 Thread Richard Hainsworth
Todd, While your logical transitions move you down some interesting rabbit holes, if you are going to say stuff, at least check first. On 30/08/2020 00:39, ToddAndMargo via perl6-users wrote: On 2020-08-28 23:51, Tobias Boege wrote: You do realize "invocant" is not even in the dictionary

Re: Any sign of a fix for the 10 second compile time?

2020-08-01 Thread Richard Hainsworth
andle this. I haven't looked at how to do this neatly yet. Richard On 01/08/2020 19:33, Tom Browder wrote: On Sat, Aug 1, 2020 at 12:30 Richard Hainsworth mailto:rnhainswo...@gmail.com>> wrote: What you are asking for is not a bug, but a part of the current stage of

Re: Any sign of a fix for the 10 second compile time?

2020-08-01 Thread Richard Hainsworth
Todd What you are asking for is not a bug, but a part of the current stage of design. It will probably get quicker. However, the biggest part of the timing is the compilation - as you have noticed. When you precompile a module, it stores the byte code. Then it runs quite well. Now it IS

Re: Any sign of a fix for the 10 second compile time?

2020-07-31 Thread Richard Hainsworth
Todd, Strangely after all the correspondence we have had, but I am unable to read your mind, and so understand your question. Perhaps you could have pity on me and give me a bit more information about a) which bug has appeared b) what is it that you are compiling c) a short snippet of code

Re: Pod6 examples

2020-07-21 Thread Richard Hainsworth
How about: https://github.com/Raku/doc/tree/master/doc/Language/pod.pod6 which is the pod source of https://docs.raku.org/language/pod Also try the other sources under the https://github.com/Raku/doc/tree/master/doc directory. Richard On 21/07/2020 15:40, Parrot Raiser wrote: Can anyone po

BUILD and TWEAK

2020-07-21 Thread Richard Hainsworth
Trying to update the documentation on submethod TWEAK - there is nothing. But the documentation should be accurate and not confusing. So some questions: In a loop or program, things like BUILD or LEAVE or FIRST are called 'phasers'. By analogy, during the 'build' process of instantiating an

Re: perl streaming framework

2020-07-14 Thread Richard Hainsworth
There was a talk by Steven Lembark about using the lazy gathers and concurrency constructs in Raku at the last Perl conference that might be of interest. Steven (if I remember correctly) was using these tools to analyse vast quantities of data. The language constructs exist in Raku, and the

NativeLibs not loading on Module testing

2020-07-14 Thread Richard Hainsworth
I'm adding a Module to the ecosystem, and the Build system failed, see https://travis-ci.com/github/Raku/ecosystem/builds/175326153 It doesn't seem that it is my Module that's failing, but NativeLibs. see line 165. As for my Module (raku-pod-render) it passes all tests, including Test-Meta lo

Re: root cubic

2020-07-09 Thread Richard Hainsworth
Did you mean the square root of 9 to give 3. Maybe you were wanting cube root of 27? Using REPL, I got > say 27**(1/3) 3 > On 09/07/2020 16:26, Aureliano Guedes wrote: Hi all, A quick question. This is expected? raku -e 'say 9 ** (1/3)' 2.080083823051904 Why do I'm asking this? I

Re: proto and multi

2020-06-29 Thread Richard Hainsworth
2020 19:31, Gianni Ceccarelli wrote: On 2020-06-29 Richard Hainsworth wrote: a) I don't understand why the white space matters, but clearly it does. So the token is '{*}' and not braces around a Whatever-star. Yep. Weird, but it's a special token. Not sure why the List:D i

Re: proto and multi

2020-06-29 Thread Richard Hainsworth
can you try it without, using this {*} instead? On Mon, Jun 29, 2020, 1:29 PM Richard Hainsworth mailto:rnhainswo...@gmail.com>> wrote: I have several multi methods. All of them have the same first statement, then differ depending on the signature.

proto and multi

2020-06-29 Thread Richard Hainsworth
I have several multi methods. All of them have the same first statement, then differ depending on the signature. proto seems to be a way to factor out the common statement, and there is a phrase in the Documentation that * can affect the dispatch, viz: "You can give the |proto| a function b

Re: just curious to know

2020-06-14 Thread Richard Hainsworth
Hi Radhakrishnan, If 'spreading wings over the information technology field' were to mean anything other than what is fashionable today, then C still reigns. And if anything, COBOL still is so important in big financial institutions that COBOL programmers earn more than Java programmers - if

Re: perl6 with Rakudobrew

2020-06-13 Thread Richard Hainsworth
uilt. So, no, these two are different. Best regards, Vadim Belman On Jun 13, 2020, at 4:57 AM, Richard Hainsworth mailto:rnhainswo...@gmail.com>> wrote: Is the appveyor stanza (see the rakudobrew script below) - rakudobrew build moar %TEST_MOAR% the same as what you are suggesting? Ric

Re: regex interpolation of array

2020-06-13 Thread Richard Hainsworth
- The reason your code matched is that an empty regex always matches.     'abc' ~~ / "" /     'abc' ~~ / {} /     'abc' ~~ / {'def'} / # still an empty regex as far as the regex engine is concerned On Sat, Jun 13, 2020 at 5:35 AM Richard Hai

regex interpolation of array

2020-06-13 Thread Richard Hainsworth
I was playing with a regex and array interpolation. From the documentation I thought the following comparisons would be the same, but they are not. What am I missing? my @W = ; my $S = 'perlchallengeextrathingswithweeklysome' ; #randomly concatenate the words without spaces say 'yes' if $S ~

Re: perl6 with Rakudobrew

2020-06-13 Thread Richard Hainsworth
after building? rakudobrew doesn't immediately activates a build. Best regards, Vadim Belman On Jun 12, 2020, at 4:03 PM, Richard Hainsworth mailto:rnhainswo...@gmail.com>> wrote: I have tried two different strategies on appveyor. (I also run a travis test for the same Module that pass

Re: perl6 with Rakudobrew

2020-06-12 Thread Richard Hainsworth
referable over env. Best regards, Vadim Belman On Jun 12, 2020, at 2:40 PM, Elizabeth Mattijsen wrote: It is my understanding that rakudobrew has been renamed to rakubrew: https://rakubrew.org Could the be the issue? On 12 Jun 2020, at 14:59, Richard Hainsworth wrote: I ran into this error

perl6 with Rakudobrew

2020-06-12 Thread Richard Hainsworth
I ran into this error using Rakudobrew on appveyor (see after ) I'm new at using appveyor, so maybe my script is wrong. But I wonder whether its because of a name change to raku without a backward alias to perl6. Rakudo has been built and installed. Updating shims Done, moar-2020.05.1 buil

Re: Issues with "zef install Informative" under Windows

2020-06-08 Thread Richard Hainsworth
Todd, I wrote Informative a while ago. So as to make it self-contained, I copied code from GTK::Simple (as stated in the comments). The reason for this is that GTK::Simple itself is quite large with a lot of boilerplate for many functions. So, does GTK::Simple install on Windows 10? If so,

Re: I need help finding a class for a method

2020-06-08 Thread Richard Hainsworth
Todd, The 'unit' in line 3 means something like 'this whole file is the Module' so there are no Begins/Ends/brackets. The opening bracket for class Informing is on (or about) line 10 and the closing in at about line 630, with a comment 'end of Informing class' Richard On 08/06/2020 21:47,

Re: What is the zef command to update a module?

2020-06-08 Thread Richard Hainsworth
Todd, Hi. Its zef upgrade Informative zef upgrade will upgrade all the modules you have downloaded. FYI zef is now pulling v.1.0 of Informative, which has red countdown numbers as default. Richard On 08/06/2020 12:14, ToddAndMargo via perl6-users wrote: # zef update Informative A plugin

Re: I need help finding a class for a method

2020-06-08 Thread Richard Hainsworth
Look at line 10 class Informing { On 08/06/2020 11:31, ToddAndMargo via perl6-users wrote: Hi All, Over on https://github.com/finanalyst/p6-inform/blob/master/lib/Informative.pm6 Line 144:     method show(     Str $str?,     Int :$timer,     Bool :$show-countdown

Re: I need a GTK pop up with time out

2020-06-08 Thread Richard Hainsworth
Todd, I'm answering in the list again because I can't help you. The problem shown in the screenshot seems to be a problem with GTK on Windows. I don't have the same output on Ubuntu - as you can see from the images on my computer https://ibb.co/C0x5P30 Since I don't know anything about Wi

Re: I need a GTK pop up with time out

2020-06-08 Thread Richard Hainsworth
Todd, Please see below. I'm leaving this in the list because you raise questions of style. On 08/06/2020 03:45, ToddAndMargo via perl6-users wrote: On 2020-06-07 08:45, Richard Hainsworth wrote: By directions, I mean the (English) definition of what each variable does. What do the foll

Re: question about the multi in method

2020-06-08 Thread Richard Hainsworth
Ok Todd, let me have a go at this issue. From what I understand, you see 'multi' and think 'there are more than one', which leads to the question 'where are they?' My understanding of 'multi' is 'there COULD be more than one', which leads to the question 'are there any?' This is actually a

Re: I need a GTK pop up with time out

2020-06-07 Thread Richard Hainsworth
Mea culpa :!show-countdown === :show-countdown(False) :show-countdown === :show-coundown(True) But skewer-names, not snake. Thanks Peter for the correction. Richard On 07/06/2020 17:18, Peter Pentchev wrote: On Sun, Jun 07, 2020 at 04:45:16PM +0100, Richard Hainsworth wrote: Todd I&#

Re: I need a GTK pop up with time out

2020-06-07 Thread Richard Hainsworth
07:16, ToddAndMargo via perl6-users wrote: On 2020-06-04 04:35, Richard Hainsworth wrote: Todd, I wrote you one a very long time ago, after a question from you. The module is called "Inform". Its on the modules site. Since it was a long time ago, there may be some bit-rot. Let me know if there is

Re: changing name of module

2020-06-07 Thread Richard Hainsworth
Why nanoseconds slower? (I won't notice them, but why would a name change slow things?) If alignment is not a concern, then p6 and raku are equivalent? On 07/06/2020 13:31, Parrot Raiser wrote: Create an updated version, perhaps with an "rk" prefix, (preserving any text alignment, since "p6" a

changing name of module

2020-06-07 Thread Richard Hainsworth
Hi, I've written some modules and released them into the Ecosystem. (I don't use cpan for raku) In the past, I have named my modules 'p6-xxx'. So references for zef would be git - finanalyst - p6-xxx (loosely speaking). Now I am considering whether to rename the module to `raku-xxx` There

Re: I need a GTK pop up with time out

2020-06-04 Thread Richard Hainsworth
Todd, I wrote you one a very long time ago, after a question from you. The module is called "Inform". Its on the modules site. Since it was a long time ago, there may be some bit-rot. Let me know if there is . The module should show how to use GTK, and there is a time-out function. Richard,

Re: I reproduced one of the errors!

2020-06-03 Thread Richard Hainsworth
Is there a way to write a methods as I would write a sub and avoiding the class thing? -T I suppose if a sensei were to ask what blue and yellow make - after explaining colour mixing in great detail - then get the answer red, would the sensei hit her head upon a wall? ... if the aspirant is

Re: I reproduced one of the errors!

2020-06-03 Thread Richard Hainsworth
This is so good as a reply!!! Makes the tedium of questioning worth paying attention to. On 02/06/2020 16:41, Parrot Raiser wrote: I suspect that "methods" were originally distinguished from "subroutines" because it made the rain-dance about the new cure for all civilisation's ills and the hear

Re: I reproduced one of the errors!

2020-06-01 Thread Richard Hainsworth
2:06, ToddAndMargo via perl6-users wrote: On 2020-06-01 13:46, Richard Hainsworth wrote: Todd, I'd be interested to see where someone said 'no' to creating your own methods. Methods are integral to the whole idea of a class. It's also clear throughout the Raku documentation

Re: I reproduced one of the errors!

2020-06-01 Thread Richard Hainsworth
Todd, I'd be interested to see where someone said 'no' to creating your own methods. Methods are integral to the whole idea of a class. It's also clear throughout the Raku documentation that there are methods. But for a method, you need a class. Peter put the method in a class. Do you want

Re: I reproduced one of the errors!

2020-05-31 Thread Richard Hainsworth
Probably more like: I won't understand if I don't read. On 31/05/2020 18:43, ToddAndMargo via perl6-users wrote: On Sun, May 31, 2020, 09:05 Veesh Goldman > wrote:     読めないと分かりませんよ。 On 2020-05-30 23:15, Veesh Goldman wrote: Sorry, my Japanese is mediocre. Meant t

Re: I need help with IO.e

2020-05-19 Thread Richard Hainsworth
Peter, What a genius answer! The transcendental abundance of purple in Raku :) On 18/05/2020 22:26, Peter Pentchev wrote: It's the internal representation of the program you told Raku to parse and execute; the truth is that, just like in a sci-fi story about a machine that is supposed to answ

Re: subst :g and captures in the replacement

2020-04-19 Thread Richard Hainsworth
Yary, I tried your examples out in REPL after reading Tobias and Timo's responses. After the second example, I tried outputting the  result of '$/' which contains the  whole capture from the last regex match. My result was > 'fosdffgg'.subst(/(f+)/,'( ' ~ $0 ~ ' )',:g) ( f )osd( f )gg > $/

Re: tip: Windows, Git, and those nice Linux utilities

2020-04-10 Thread Richard Hainsworth
judgement. Leaving git out is not 'a mistake', not was it 'forgotten'. It was a judgement. It is also a matter of judgement as to whom the target audience is. But that is entirely another topic. On 10/04/2020 01:37, ToddAndMargo via perl6-users wrote: On 2020-04-09 09:39,

Re: tip: Windows, Git, and those nice Linux utilities

2020-04-09 Thread Richard Hainsworth
Am I missing something here? It would seem obvious to me that Git and Raku are not linked in any way, except of course for developers who only use Git with Raku, or who only have a dependency on Git through zef. It would therefore seem to me that a Raku / Zef distribution should NOT bundle G

Rational numbers... was Re: irrational nubmer?

2020-02-20 Thread Richard Hainsworth
Hi Todd, This is going to be hard for an intuitive guy like you, but it can be proven that 100% of all numbers are irrational (see https://math.stackexchange.com/questions/1556670/100-of-the-real-numbers-between-0-and-1-are-irrational ). Except the ones that a computer can do operations on, which

Re: I need syntax to sub declare return a hash and an array

2020-01-21 Thread Richard Hainsworth
sub x( --> Hash) { my %h = A => 'a' } 1) '-->' in the signature is the best way to provide information to the compiler about what the subroutine should return 2) 'returns' in the declaration (not the part in the block) used to be used, but for some arcane reason that I never really understood

Re: Circular loading?

2020-01-16 Thread Richard Hainsworth
What is in WinReg? Bear in mind that the top level Raku program is compiled into memory and run. But the default for any Module is that it is compiled first, and the compiled version is stored. (You can prevent precompilation by using the statement "no precompilation;" which can be useful if y

Re: Once again - You say one thing and do another Re: Bug to report: cardinal called an integer

2020-01-15 Thread Richard Hainsworth
Todd, You just did exactly what Liz said you would do by writing 'Richard has not liked me for a long time'. Do you not even re-read your own posts or have the self-awareness to recognise it? Really? Does it matter whether or not 'I like you'? This list is not some place for social media t

Once again - You say one thing and do another Re: Bug to report: cardinal called an integer

2020-01-15 Thread Richard Hainsworth
Todd, Once again I find myself writing to you directly in response to a post of yours and asking again that you be respectful to others in this community. Striving for respect for everyone from everyone directly benefits us all. And disrespect harms you: your long emails defending your point

Re: My Windows Modules

2020-01-01 Thread Richard Hainsworth
Todd! Of what use are these module printouts? For someone who complains immediately if you are disrespected by having your grammar corrected, you are remarkably disrespectful to everyone else. The work you have done getting these modules to work on Windows is great. Given the dominance of Wi

USE'ing a symlinked module causes a MOAR error

2019-12-20 Thread Richard Hainsworth
I have a MOARV error when USE'ing a module that is symlinked to a local `lib` directory. So I have the following in my directory tree: raku-A/lib/                 A.pm6 raku-B/lib/                 B.pm6                 (symlink to A.pm6) raku-B/t/             01-basic.t In B.pm6 , I hav

  1   2   3   >