I need help with the copy command

2020-05-01 Thread ToddAndMargo via perl6-users
Hi All, https://docs.perl6.org/routine/copy (IO::Path) routine copy Defined as: method copy(IO::Path:D: IO() $to, :$createonly --> Bool:D) subcopy(IO() $from, IO() $to, :$createonly --> Bool:D) Copies a file. Returns True on success; fails with X::IO::Copy if

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

2020-04-12 Thread ToddAndMargo via perl6-users
On 2020-04-09 03:47, ToddAndMargo via perl6-users wrote: Hi All, Since the Raku Windows Installer forgets to install Git along with Zef:     https://github.com/rakudo/star/issues/145 You have to install Git yourself:     https://git-for-windows.github.io/ Now here is a sweet feature

Re: zef and tar.gz

2020-04-11 Thread ToddAndMargo via perl6-users
On 2020-04-09 03:41, ToddAndMargo via perl6-users wrote: On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: Hi All, What is this all about?  Rakudo Star forget another dependency?  psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on Moa

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

2020-04-09 Thread ToddAndMargo via perl6-users
On 2020-04-09 20:36, Tobias Boege wrote: On Thu, 09 Apr 2020, ToddAndMargo via perl6-users wrote: On 2020-04-09 09:39, Richard Hainsworth wrote: 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

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

2020-04-09 Thread ToddAndMargo via perl6-users
On 2020-04-09 09:39, Richard Hainsworth wrote: 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

tip: Windows, Git, and those nice Linux utilities

2020-04-09 Thread ToddAndMargo via perl6-users
Hi All, Since the Raku Windows Installer forgets to install Git along with Zef: https://github.com/rakudo/star/issues/145 You have to install Git yourself: https://git-for-windows.github.io/ Now here is a sweet feature of having Git installed. It comes with all kind of nice Linux

Re: zef and tar.gz

2020-04-09 Thread ToddAndMargo via perl6-users
On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: Hi All, What is this all about?  Rakudo Star forget another dependency?  psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. K:\Windows\NtU

Re: How to read a particular environmental variable?

2020-04-08 Thread ToddAndMargo via perl6-users
On 2020-04-08 19:46, ToddAndMargo via perl6-users wrote: And %*ENV    raku -e "say %*ENV;" (Any) My bad: %windir% is lower case raku -e "say %*ENV;" C:\WINDOWS Trait:Env still does not work: raku -e "use Trait::Env; my $windir is env; say $windir;" (Any)

Re: How to read a particular environmental variable?

2020-04-08 Thread ToddAndMargo via perl6-users
09:22, ToddAndMargo via perl6-users Not sure what he is trying to do. :-( On 2020-04-08 01:44, Simon Proctor wrote: Well he is me so let my try and explain. The idea is to be able to simply assign Env vars to variables so for example you might do " my $windir is env; And then $wi

Re: How to read a particular environmental variable?

2020-04-08 Thread ToddAndMargo via perl6-users
at 09:22, ToddAndMargo via perl6-users Not sure what he is trying to do. :-( On 2020-04-08 01:44, Simon Proctor wrote: Well he is me so let my try and explain. The idea is to be able to simply assign Env vars to variables so for example you might do " my $windir is env; And then

flash drive launch on insert?

2020-04-08 Thread ToddAndMargo via perl6-users
Hi All, This is a long shot, but have any of you written a Windows program that will detect when a flash drive has been inserted? https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-registerdevicenotificationw Many thanks, -T

Re: zef and tar.gz

2020-04-08 Thread ToddAndMargo via perl6-users
On 2020-04-05 17:30, ToddAndMargo via perl6-users wrote: On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: Hi All, What is this all about?  Rakudo Star forget another dependency?  psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on Moa

Re: How to read a particular environmental variable?

2020-04-08 Thread ToddAndMargo via perl6-users
On Wed, 8 Apr 2020, 03:25 ToddAndMargo via perl6-users, mailto:perl6-users@perl.org>> wrote: On 2020-04-07 18:25, Brad Gilbert wrote: > Of course %*ENV is case sensitive, hashes are case sensitive. > > say %*ENV.^name; # Hash > >

Re: sleep 3600 vs task scheduler

2020-04-08 Thread ToddAndMargo via perl6-users
On 2020-04-07 20:44, ToddAndMargo via perl6-users wrote: On 2020-04-07 20:39, Paul Procacci wrote: What happens when you try it? What impact do you observe? My guess is the impact is exactly the time it takes for your cpu to perform the initial context switch for the syscall, and then another

Re: sleep 3600 vs task scheduler

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 20:39, Paul Procacci wrote: What happens when you try it? What impact do you observe? My guess is the impact is exactly the time it takes for your cpu to perform the initial context switch for the syscall, and then another when waking up. Hi Paul, I opened the resource

Re: sleep 3600 vs task scheduler

2020-04-07 Thread ToddAndMargo via perl6-users
On Tue, Apr 7, 2020 at 6:02 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, Windows 7/10 Another piece of the puzzle. I want to loop Raku program once an hour. Is it better use `sleep 3600` or let the program die and restart ever

Re: How to read a particular environmental variable?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 18:25, Brad Gilbert wrote: Of course %*ENV is case sensitive, hashes are case sensitive.     say %*ENV.^name; # Hash %*ENV gets populated with the values before your code runs. Other than that it is fairly ordinary. My purpose for the case sensitive remark was that

Re: Dropbox and IO?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 09:29, Stephen Wilcoxon wrote: Dropbox on Windows is a real directory.  It is just monitored by the Dropbox software and files (or possibly pieces - not sure) are uploaded and downloaded when necessary to keep them in sync with the server. Confirmed! Thank you all for the tips!

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
> On Tue, Apr 7, 2020 at 1:58 PM ToddAndMargo via perl6-users > mailto:perl6-users@perl.org>> wrote: > > On 2020-04-07 02:55, Veesh Goldman wrote: > > Your question is way to vague. What do you actually want to do? > If you > > just wanna downlo

Re: How to read a particular environmental variable?

2020-04-07 Thread ToddAndMargo via perl6-users
On Tue, Apr 7, 2020 at 6:48 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, $ raku -e 'say %*ENV;' Gives me ALL of them. Is there a way to just ask for a particular one, such as %appdata%, or %userprofile% in Windows or $HOME is

Re: Can a sub be released?

2020-04-07 Thread ToddAndMargo via perl6-users
On Tue, Apr 7, 2020 at 7:21 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, Can a subroutine be released from the main program to go off on its own? (Is this called "forked"?) If not how do I do a `qqx` or a `run` that releases

How to read a particular environmental variable?

2020-04-07 Thread ToddAndMargo via perl6-users
Hi All, $ raku -e 'say %*ENV;' Gives me ALL of them. Is there a way to just ask for a particular one, such as %appdata%, or %userprofile% in Windows or $HOME is Linux? Many thanks, -T

Can a sub be released?

2020-04-07 Thread ToddAndMargo via perl6-users
Hi All, Can a subroutine be released from the main program to go off on its own? (Is this called "forked"?) If not how do I do a `qqx` or a `run` that releases the program to go off on its own? Many thanks, -T

sleep 3600 vs task scheduler

2020-04-07 Thread ToddAndMargo via perl6-users
Hi All, Windows 7/10 Another piece of the puzzle. I want to loop Raku program once an hour. Is it better use `sleep 3600` or let the program die and restart every hour from the Task Scheduler. By better, I mean less of a CPU footprint. `sleep` would allow the user to cancel the program and

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 02:55, Veesh Goldman wrote: Your question is way to vague. What do you actually want to do? If you just wanna download a page, use curl or some other tool, no reason to do it from raku if there's nothing more than that. If you want more than that, then please be more specific.

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 02:38, Shlomi Fish wrote: Hi Todd! On Tue, 7 Apr 2020 02:15:13 -0700 ToddAndMargo via perl6-users wrote: How do I read (download) a web page? get? See https://github.com/raku-community-modules/raku-lwp-simple and https://github.com/shlomif/Freenode-programming-channel-FAQ

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
> On Tue, Apr 7, 2020 at 12:15 PM ToddAndMargo via perl6-users > mailto:perl6-users@perl.org>> wrote: > > How do I read (download) a web page? get? On 2020-04-07 02:55, Veesh Goldman wrote: Your question is way to vague. What do you actually want to do? If you just wan

Re: How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
On 2020-04-07 02:15, ToddAndMargo via perl6-users wrote: How do I read (download) a web page?  get? Came up with this: # zef --force-test install HTTP::Client $ raku -e 'use HTTP::Client; my $client=HTTP::Client.new; my $response = $client.get("http://checkip.dyndns.org/;)

How to read a web page?

2020-04-07 Thread ToddAndMargo via perl6-users
How do I read (download) a web page? get?

Dropbox and IO?

2020-04-06 Thread ToddAndMargo via perl6-users
Hi All, Do any of you using Windows and Dropbox know if Raku's file IO utilities can both read and write to a Drop Box drive? Many thanks, -T

Re: zef and tar.gz

2020-04-05 Thread ToddAndMargo via perl6-users
On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: Hi All, What is this all about?  Rakudo Star forget another dependency?  psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. K:\Windows\NtU

Re: zef and tar.gz

2020-04-05 Thread ToddAndMargo via perl6-users
On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: Hi All, What is this all about?  Rakudo Star forget another dependency?  psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. K:\Windows\NtU

Re: zef and tar.gz

2020-04-05 Thread ToddAndMargo via perl6-users
On 2020-03-23 21:28, ToddAndMargo via perl6-users wrote: zef install OAuth2::Client::Google ===> Searching for: OAuth2::Client::Google Enabled extracting backends [git path psunzip] don't understand C:\Users\todd/.zef/tmp\1585022838.2848..088006717173\OAuth2-Client-Google-0.1.1.tar

Detecting Media Insertion or Removal?

2020-04-05 Thread ToddAndMargo via perl6-users
Hi All, Detecting Media Insertion or Removal: https://docs.microsoft.com/en-us/windows/win32/devio/detecting-media-insertion-or-removal Anyone do this with Raku? Have a link to an example/explanation? The goal is to check the flash drive's label. If it is the drive I am after, to dismount

Re: Tip: if you are chasing ghosts...

2020-04-03 Thread ToddAndMargo via perl6-users
On 2020-04-02 16:11, ToddAndMargo via perl6-users wrote: On 2020-04-01 17:56, ToddAndMargo via perl6-users wrote: On Wed, Apr 1, 2020 at 4:09 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote:     all around the Windows version of Raku and are about     to pull all you

Re: $FileName.IO.e.Bool and hidden files

2020-04-03 Thread ToddAndMargo via perl6-users
On 2020-04-03 13:33, ToddAndMargo via perl6-users wrote: On 2020-04-03 13:27, ToddAndMargo via perl6-users wrote: On 2020-04-03 13:12, ToddAndMargo via perl6-users wrote: On 2020-04-01 18:59, ToddAndMargo via perl6-users wrote: Hi All, In Windows, is there a way to get

Re: $FileName.IO.e.Bool and hidden files

2020-04-03 Thread ToddAndMargo via perl6-users
On 2020-04-03 13:27, ToddAndMargo via perl6-users wrote: On 2020-04-03 13:12, ToddAndMargo via perl6-users wrote: On 2020-04-01 18:59, ToddAndMargo via perl6-users wrote: Hi All, In Windows, is there a way to get     $FileName.IO.e.Bool to show hidden files? attrib  C:\pagefile.sys A  SH

Re: $FileName.IO.e.Bool and hidden files

2020-04-03 Thread ToddAndMargo via perl6-users
On 2020-04-03 13:12, ToddAndMargo via perl6-users wrote: On 2020-04-01 18:59, ToddAndMargo via perl6-users wrote: Hi All, In Windows, is there a way to get     $FileName.IO.e.Bool to show hidden files? attrib  C:\pagefile.sys A  SH  C:\pagefile.sys raku -e "say 'c:\\pagefile.sys'.IO.e

Re: $FileName.IO.e.Bool and hidden files

2020-04-03 Thread ToddAndMargo via perl6-users
On 2020-04-01 18:59, ToddAndMargo via perl6-users wrote: Hi All, In Windows, is there a way to get    $FileName.IO.e.Bool to show hidden files? attrib  C:\pagefile.sys A  SH  C:\pagefile.sys raku -e "say 'c:\\pagefile.sys'.IO.e.Bool;" False raku -e "say 'c:\pagefile.sys'.IO

Re: Tip: if you are chasing ghosts...

2020-04-02 Thread ToddAndMargo via perl6-users
On 2020-04-01 17:56, ToddAndMargo via perl6-users wrote: On Wed, Apr 1, 2020 at 4:09 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote:     all around the Windows version of Raku and are about     to pull all your hair out and have run out of     swear words (not an adm

$FileName.IO.e.Bool and hidden files

2020-04-01 Thread ToddAndMargo via perl6-users
Hi All, In Windows, is there a way to get $FileName.IO.e.Bool to show hidden files? attrib C:\pagefile.sys A SH C:\pagefile.sys raku -e "say 'c:\\pagefile.sys'.IO.e.Bool;" False raku -e "say 'c:\pagefile.sys'.IO.e.Bool;" False Many thanks, -T

Re: Tip: if you are chasing ghosts...

2020-04-01 Thread ToddAndMargo via perl6-users
On Wed, Apr 1, 2020 at 4:09 AM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: all around the Windows version of Raku and are about to pull all your hair out and have run out of swear words (not an admission that I cuss), add --optimize=0 to yo

Re: Tip: if you are chasing ghosts...

2020-04-01 Thread ToddAndMargo via perl6-users
On 2020-04-01 17:24, ToddAndMargo via perl6-users wrote: It is looking for faster ways of doing what you want. An example would be jump 2 jump 4 jump 6 optimized into jump 12

Re: Tip: if you are chasing ghosts...

2020-04-01 Thread ToddAndMargo via perl6-users
On 2020-04-01 04:37, Tessa Plum wrote: On 2020/4/1 4:09 下午, ToddAndMargo via perl6-users wrote:     raku --optimize=0 FileAttributes.pl6 I never used this argument. what does it bring to us? Thanks. Hi Tessa, I am not exactly sure what it does. "Optimize" typically works at

Tip: if you are chasing ghosts...

2020-04-01 Thread ToddAndMargo via perl6-users
all around the Windows version of Raku and are about to pull all your hair out and have run out of swear words (not an admission that I cuss), add --optimize=0 to your run string: raku --optimize=0 FileAttributes.pl6

Re: What is operand 152 and 160?

2020-03-31 Thread ToddAndMargo via perl6-users
On 2020-03-31 06:59, Tobias Boege wrote: On Tue, 31 Mar 2020, ToddAndMargo via perl6-users wrote: Hi All, Windows 10-1909 Pro raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. Running my program I get this at a call to a sub in a module

What is operand 152 and 160?

2020-03-31 Thread ToddAndMargo via perl6-users
Hi All, Windows 10-1909 Pro raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. Running my program I get this at a call to a sub in a module: operand type 160 does not match register type 152 for op decont_u in frame WinCreateKey What is

Re: How do I open Raku in the background?

2020-03-31 Thread ToddAndMargo via perl6-users
On 2020-03-31 01:12, ToddAndMargo via perl6-users wrote: On 2020-03-30 21:06, ToddAndMargo via perl6-users wrote: On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via

Re: How do I open Raku in the background?

2020-03-31 Thread ToddAndMargo via perl6-users
On 2020-03-30 21:06, ToddAndMargo via perl6-users wrote: On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users >> mailto:perl6-users@perl.org>     <mai

Re: How do I open Raku in the background?

2020-03-31 Thread ToddAndMargo via perl6-users
On 2020-03-30 21:06, ToddAndMargo via perl6-users wrote: On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users >> mailto:perl6-users@perl.org>     <mai

Re: How do I open Raku in the background?

2020-03-30 Thread ToddAndMargo via perl6-users
On Mon, Mar 30, 2020 at 8:14 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: >> On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users >> mailto:perl6-users@perl.org> <mailto:perl6-users@perl.org <mailto:pe

Re: How do I open Raku in the background?

2020-03-30 Thread ToddAndMargo via perl6-users
On Sun, Mar 29, 2020 at 8:44 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, Windows 10-1909 Pro raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. I am opening Raku from the re

How do I open Raku in the background?

2020-03-29 Thread ToddAndMargo via perl6-users
Hi All, Windows 10-1909 Pro raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. I am opening Raku from the registry with [HKEY_CLASSES_ROOT\*\shell\OpenWithFileAttributes.pl6\command] @="\"C:\\rakudo\\bin\\raku.exe\"

zef and tar.gz

2020-03-23 Thread ToddAndMargo via perl6-users
Hi All, What is this all about? Rakudo Star forget another dependency? psunzip? Windows 7, x64 SP1 K:\Windows\NtUtil>raku -v This is Rakudo version 2020.01 built on MoarVM version 2020.01.1 implementing Perl 6.d. K:\Windows\NtUtil>zef install OAuth2::Client::Google ===> Searching for:

Re: OAuth2?

2020-03-23 Thread ToddAndMargo via perl6-users
On 2020-03-23 18:31, Timo Paulssen wrote: The link was just missing a "../" at the beginning. The example code lives here: https://github.com/tbrowder/Google-API-Client/blob/master/eg/get-calendar-data.p6 Hope that helps   - Timo $ raku SendMailOAuth.pm6 No client_id.json in block

Re: OAuth2?

2020-03-23 Thread ToddAndMargo via perl6-users
On 23/03/2020 04:34, ToddAndMargo via perl6-users wrote: On 2020-03-22 16:43, Tom Browder wrote: On Sun, Mar 22, 2020 at 17:05 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote:     On 2020-03-22 10:39, Tom Browder wrote: > Have you folks checked out Raku modul

Re: OAuth2?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-22 16:43, Tom Browder wrote: On Sun, Mar 22, 2020 at 17:05 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-03-22 10:39, Tom Browder wrote: > Have you folks checked out Raku module "OAuth2::Client::Google"? ... Any chance

Re: OAuth2?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-22 16:43, Tom Browder wrote: On Sun, Mar 22, 2020 at 17:05 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: On 2020-03-22 10:39, Tom Browder wrote: > Have you folks checked out Raku module "OAuth2::Client::Google"? ... Any chance

Re: OAuth2?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-22 10:39, Tom Browder wrote: On Sun, Mar 22, 2020 at 8:25 AM Gerard ONeill > wrote: Just looked at the stackoverflow post — there are 3 updates with respect to needing to reauthenticate. Have you folks checked out Raku module

Re: star 2020.02 ?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-22 04:38, JJ Merelo wrote: El dom., 22 mar. 2020 a las 10:20, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: El dom., 22 mar. 2020 a las 9:50, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: I am

Re: OAuth2?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-21 22:56, Peter Scott wrote: On 3/21/20 2:20 PM, ToddAndMargo via perl6-users wrote: On 2020-03-18 18:42, ToddAndMargo via perl6-users wrote: This is a long shot, but have any of you figured out how to send eMail through G-Mail with OAuth2? I have a module that uses cURL, but I

Re: star 2020.02 ?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-22 02:19, ToddAndMargo via perl6-users wrote: El dom., 22 mar. 2020 a las 9:50, ToddAndMargo via perl6-users (mailto:perl6-users@perl.org>>) escribió: I am not finding 2020.02 over on https://rakudo.org/downloads/star/ Am I missing something? -- JJ On 2020

Re: star 2020.02 ?

2020-03-22 Thread ToddAndMargo via perl6-users
El dom., 22 mar. 2020 a las 9:50, ToddAndMargo via perl6-users (<perl6-users@perl.org>) escribió: I am not finding 2020.02 over on https://rakudo.org/downloads/star/

Re: OAuth2?

2020-03-22 Thread ToddAndMargo via perl6-users
On 2020-03-21 22:56, Peter Scott wrote: On 3/21/20 2:20 PM, ToddAndMargo via perl6-users wrote: On 2020-03-18 18:42, ToddAndMargo via perl6-users wrote: This is a long shot, but have any of you figured out how to send eMail through G-Mail with OAuth2? I have a module that uses cURL, but I

star 2020.02 ?

2020-03-22 Thread ToddAndMargo via perl6-users
I am not finding 2020.02 over on https://rakudo.org/downloads/star/ Am I missing something?

Re: OAuth2?

2020-03-21 Thread ToddAndMargo via perl6-users
On 2020-03-18 18:42, ToddAndMargo via perl6-users wrote: Hi Guys, This is a long shot, but have any of you figured out how to send eMail through G-Mail with OAuth2? I have a module that uses cURL, but I can't figure out how to get it to work with OAuth2. RFE: please support OAuth2 https

OAuth2?

2020-03-18 Thread ToddAndMargo via perl6-users
Hi Guys, This is a long shot, but have any of you figured out how to send eMail through G-Mail with OAuth2? I have a module that uses cURL, but I can't figure out how to get it to work with OAuth2. RFE: please support OAuth2 https://github.com/retupmoca/P6-Net-SMTP/issues/24 Is in the works,

My keeper on IO

2020-02-29 Thread ToddAndMargo via perl6-users
Hi All, I have written a keep on file IO. I have it open whenever I am doing IO. It is very useful. It is 173 line long, so I won't flood the mailing list with it, but if anyone want to see it, I will eMail it to you. :-) -T

Re: problems with 2020.01

2020-02-28 Thread ToddAndMargo via perl6-users
On 2020-02-28 20:40, Parrot Raiser wrote: > Done > > 2020.01 does not warn or uninstall other installations > https://github.com/rakudo/star/issues/151 > If you install each version in its own directory and use a symbolic link to point to the most current one, that is not a problem.

Re: problems with 2020.01

2020-02-28 Thread ToddAndMargo via perl6-users
On 2020-02-28 13:01, JJ Merelo wrote: That would be probably a good candidate for raising it as a Rakudo Star issue at https://github.com/rakudo/star/issues Definitely, at least the documentation and much better the installation process should check for prior versions and ask them to be

Re: qqx with quotes

2020-02-28 Thread ToddAndMargo via perl6-users
Left some stuff out. my $PathIAm = $?FILE; ( my $IAm = $PathIAm ) ~~ s| .* "/" ||; my Str $BatFile = $PathIAm ~ ".bat"; $BatFile ~~ s:global| '\\' |/|; my Str $OS = $*KERNEL.name; if not $OS eq "win32" { say "Sorry, $IAm only work in Windows."; exit; } ( $IAm = $PathIAm ) ~~ s| .* '\\'

Re: qqx with quotes

2020-02-28 Thread ToddAndMargo via perl6-users
I have a work around! I am taking advantage of the Windows build in programming language from hell (batch): my $PathIAm = $?FILE; ( my $IAm = $PathIAm ) ~~ s| .* "/" ||; my $FileName = "@*ARGS[0]"; my Str $CmdStr = Q[@echo off] ~ "\n" ~

Re: qqx with quotes

2020-02-28 Thread ToddAndMargo via perl6-users
On 2020-02-27 11:05, Andy Bach wrote: This did work my $file = 'hi mom' $file ~~ s:g/\s+/*/; my $res = qqx(dir $file); say $res; Just updated to 2020.01 Still getting this: C:\NtUtil>dir Test* Volume in drive C has no label. Volume Serial Number is 8A79-8401 Directory of C:\NtUtil

problems with 2020.01

2020-02-28 Thread ToddAndMargo via perl6-users
Hi All, I just installed rakudo-star-2020.01-01-win-x86_64-(JIT).msi Found out the hard way if you do not uninstall the prior version, the current version will not uninstall it for you. -T raku -v Unhandled exception: Missing or wrong version of dependency 'C:\rakudo\bin\..\sh

Re: qqx with quotes

2020-02-28 Thread ToddAndMargo via perl6-users
> On 2020-02-27 15:38, Andy Bach wrote: >> Win10 with a new raku install. *From:* Todd Chester via perl6-users *Sent:* Friday, February 28, 2020 4:57 AM *To:* perl6-users@perl.org *Subject:* Re: qqx with quotes would you do a perl6 -v for me? On 2020-02-28 10:27, Andy Bach wrote:

Re: qqx with quotes

2020-02-27 Thread ToddAndMargo via perl6-users
On 2020-02-27 11:05, Andy Bach wrote: This did work my $file = 'hi mom' $file ~~ s:g/\s+/*/; my $res = qqx(dir $file); say $res; Hi Andy, What OS did you test this on? -T

Re: qqx with quotes

2020-02-27 Thread ToddAndMargo via perl6-users
On 2020-02-27 03:22, ToddAndMargo via perl6-users wrote: On 2020-02-27 02:05, ToddAndMargo via perl6-users wrote: On 2020-02-27 00:52, ToddAndMargo via perl6-users wrote: On 2020-02-27 00:01, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:37, ToddAndMargo via perl6-users wrote: On 2020

Re: qqx with quotes

2020-02-27 Thread ToddAndMargo via perl6-users
On 2020-02-27 02:05, ToddAndMargo via perl6-users wrote: On 2020-02-27 00:52, ToddAndMargo via perl6-users wrote: On 2020-02-27 00:01, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:37, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:11, ToddAndMargo via perl6-users wrote: On 2020

Re: qqx with quotes

2020-02-27 Thread ToddAndMargo via perl6-users
On 2020-02-27 00:52, ToddAndMargo via perl6-users wrote: On 2020-02-27 00:01, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:37, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:11, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:06, Norman Gaywood wrote: I don't have a windows

Re: qqx with quotes

2020-02-27 Thread ToddAndMargo via perl6-users
On 2020-02-27 00:01, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:37, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:11, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:06, Norman Gaywood wrote: I don't have a windows system to test, but in all the examples shown I did

Re: qqx with quotes

2020-02-27 Thread ToddAndMargo via perl6-users
On 2020-02-26 15:37, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:11, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:06, Norman Gaywood wrote: I don't have a windows system to test, but in all the examples shown I did not see: qqx{ C:/Windows/System32/fsutil.exe usn readdata

Re: qqx with quotes

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 18:41, Tom Browder wrote: On Wed, Feb 26, 2020 at 19:47 ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> ... Hmm, this don't [sic] work either: perl6 -e "my $proc=run( 'dir', 'test 1', :out ); my @RtnStr  = $$proc. out.slurp-rest.lines; for @RtnS

Re: qqx with quotes

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 15:37, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:11, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:06, Norman Gaywood wrote: I don't have a windows system to test, but in all the examples shown I did not see: qqx{ C:/Windows/System32/fsutil.exe usn readdata

Re: qqx with quotes

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 15:11, ToddAndMargo via perl6-users wrote: On 2020-02-26 15:06, Norman Gaywood wrote: I don't have a windows system to test, but in all the examples shown I did not see: qqx{ C:/Windows/System32/fsutil.exe usn readdata "$FileName" }; which is how I would have expecte

Re: qqx with quotes

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 15:06, Norman Gaywood wrote: I don't have a windows system to test, but in all the examples shown I did not see: qqx{ C:/Windows/System32/fsutil.exe usn readdata "$FileName" }; which is how I would have expected to write the command. That is the way I do it in Linux too.

Re: qqx with quotes

2020-02-26 Thread ToddAndMargo via perl6-users
> *From:* ToddAndMargo via perl6-users > *Sent:* Tuesday, February 25, 2020 11:12 AM > *To:* perl6-users@perl.org > *Subject:* Re: qqx with quotes >>> On Mon, Feb 24, 2020 at 4:01 PM ToddAndMargo via perl6-users >>> mailto:perl6-users@perl.org>> wrote: >&

Re: irrational nubmer?

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 12:14, Tobias Boege wrote: On Wed, 26 Feb 2020, ToddAndMargo via perl6-users wrote: $ p6 'say (99/70).base-repeating();' (1.4 142857) means that 142857 also repeats (it does not), but that it is best it can figure out with the precision it has? What are you talking about

Re: irrational nubmer?

2020-02-26 Thread ToddAndMargo via perl6-users
PM ToddAndMargo via perl6-users wrote: On 2020-02-26 11:34, Peter Scott wrote: On 2/26/2020 11:14 AM, ToddAndMargo via perl6-users wrote: I used gnome calculator to 20 digits: 665857/470832 1.41421356237468991063 Sorry. Not seeing any repeating patterns. Here is NAS doing it to

Re: irrational nubmer?

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 11:34, Peter Scott wrote: On 2/26/2020 11:14 AM, ToddAndMargo via perl6-users wrote: I used gnome calculator to 20 digits:     665857/470832     1.41421356237468991063 Sorry.  Not seeing any repeating patterns. Here is NAS doing it to 1 million digits (they have too much time

Re: irrational nubmer?

2020-02-26 Thread ToddAndMargo via perl6-users
On 2020-02-26 08:20, Tobias Boege wrote: On Wed, 26 Feb 2020, Todd Chester via perl6-users wrote: Hi Tobias, I am confused as to as to what you mean by numerator and denominator. Rational numbers can always be written as the ratio of two integers: a/b with b non-zero. One calls a the

Re: qqx with quotes

2020-02-25 Thread ToddAndMargo via perl6-users
On Mon, Feb 24, 2020 at 4:01 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, Windows 7 In the following @Result = qqx { C:/Windows/System32/fsutil.exe usn readdata \"$FileName\" }.lines; $FileName needs to be in quote

qqx with quotes

2020-02-24 Thread ToddAndMargo via perl6-users
Hi All, Windows 7 In the following @Result = qqx { C:/Windows/System32/fsutil.exe usn readdata \"$FileName\" }.lines; $FileName needs to be in quotes as it can have spaces in it. The following did not work: \"$FileName\" "$FileName\ $FileName What am I doing wrong, this time? Many

Re: irrational nubmer?

2020-02-22 Thread ToddAndMargo via perl6-users
On 2020-02-22 01:58, Darren Duncan wrote: What would the practical value of that be? None that I know of. Did you miss the "complete trivia question" part in my original question.

Re: irrational nubmer?

2020-02-20 Thread ToddAndMargo via perl6-users
On Fri, 21 Feb 2020 at 13:31, ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: $ perl6 -e 'say sqrt(2).base-repeating();' No such method 'base-repeating' for invocant of type 'Num' in block at -e line 1 On 2020-02-20 19:07, Norman Gaywood wrote: pe

Re: irrational nubmer?

2020-02-20 Thread ToddAndMargo via perl6-users
On 2020-02-20 16:27, William Michels via perl6-users wrote: mbook:~ homedir$ perl6 -e 'say (1/7).base-repeating();' (0. 142857) mbook:~ homedir$ perl6 -e 'say (1/7).base-repeating(10);' (0. 142857) mbook:~ homedir$ perl6 -e 'say (1/7).base-repeating(10).perl;' ("0.", "142857") mbook:~ homedir$

Re: irrational nubmer?

2020-02-20 Thread ToddAndMargo via perl6-users
On 2020-02-19 23:21, Shlomi Fish wrote: Hi Paul, Well, it is not unthinkable that a https://en.wikipedia.org/wiki/Computer_algebra_system (CAS)-like system will be able to tell that the abstract number sqrt(2) is irrational, as well as some derivative numbers such as 3 + sqrt(2). E.g: Hi

Re: irrational nubmer?

2020-02-20 Thread ToddAndMargo via perl6-users
On 2020-02-20 00:41, Darren Duncan wrote: On 2020-02-20 12:10 a.m., Tobias Boege wrote: Granted, Todd would not have anticipated this answer if he calls arbitrary length integers "magic powder" and the question "I have computed this Int/Num/Rat in Raku, is it rational?" does indeed not make any

Re: Rational numbers... was Re: irrational nubmer?

2020-02-20 Thread ToddAndMargo via perl6-users
On 2020-02-20 05:53, Richard Hainsworth wrote: However, my question to you is: when would you come across an irrational number in a computer? How would you express it? Suppose I gave you a function  sub irrational( $x ) which returns true for an irrational number. What would you put in for $x?

Re: irrational nubmer?

2020-02-19 Thread ToddAndMargo via perl6-users
On 2020-02-19 21:22, Paul Procacci wrote: If you wouldn't mind, please stop referring things as being "magical". That is not an insult. I am using it as term of admiration. And I did not dream it up myself. I have had several of the developers use both magical and Magic Larry powder on me,

Re: irrational nubmer?

2020-02-19 Thread ToddAndMargo via perl6-users
On Wed, Feb 19, 2020 at 9:58 PM ToddAndMargo via perl6-users mailto:perl6-users@perl.org>> wrote: Hi All, This is a complete trivia question. Is there a test to see if a number is irrational, such as the square root of two? And how does Int handle a irrational

<    3   4   5   6   7   8   9   10   11   12   >