The SF Perl Raku Study Group, 04/27 at 1pm PST (ALREADY IN PROGRESS)

2025-04-27 Thread Joseph Brenner via perl6-users
We've got the Raku Study group going, even as I type. Sorry if the email address change is confusing: doomvox is now tailorm...@pm.me Zoom meeting link: https://us02web.zoom.us/j/85308554316?pwd=52Bc9BpWgd7Xsi6tqQT2QhSQ8eWDkM.1 Passcode: 4RakuRoll

Re: How do I print a structure?

2025-04-12 Thread ToddAndMargo via perl6-users
for your personal use, it’s probably fine! An example:    [2] > for $Partition.^attributes { say “{.name}: {.get_value:    $Partition}” }    $!DeviceID:    $!VolumeName:    $!ProviderName:    $!UNC_BackupPath:    $!DriveType: 0    $!DriveTypeStr: Unknown    $!FreeSpace: 0    $!Size: 0

Re: rename and unc

2025-04-11 Thread ToddAndMargo via perl6-users
On Apr 3, 2025, at 19:05, ToddAndMargo via perl6-users us...@perl.org> wrote: > On Thu, Apr 3, 2025 at 2:14 AM ToddAndMargo via perl6-users us...@perl.org <mailto:perl6-us...@perl.org>> wrote: > > And another IO ffunctio that does ot work: > > RotateA

Re: rename and unc

2025-04-11 Thread William Michels via perl6-users
y-backup-to-original-location' strategy, look here: https://unix.stackexchange.com/questions/749558/remove-exact-line-from-file-if-present-leave-the-rest-of-lines-error-handling/749581#749581 > On Apr 3, 2025, at 19:05, ToddAndMargo via perl6-users > wrote: > > > On Thu, Apr 3

H9w do I print a structure?

2025-04-10 Thread ToddAndMargo via perl6-users
Hi All, I am not having any luck printing the values of a OOP structure, except for printing them one at a time. I can get it to messily print with `say`, but I want to do it with `print` so I can control the line feeds, comments, etc.. What am I doing wrong? Many thanks, -T [0] > class Part

Re: I need help with .IO.d.Bool

2025-04-06 Thread ToddAndMargo via perl6-users
On 4/5/25 6:58 PM, ToddAndMargo via perl6-users wrote: sub Directory I changed the name to DirectoryExists The new name is more human friendly

Re: I need help with .IO.d.Bool

2025-04-05 Thread ToddAndMargo via perl6-users
On 4/2/25 6:08 PM, Bruce Gray wrote: On Apr 2, 2025, at 19:47, ToddAndMargo via perl6-users wrote: --snip-- raku -e "say '\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup1'.IO.d.Bool;" False --snip-- Moving this one-liner into a .raku file (to remove

Re: rename and unc

2025-04-03 Thread ToddAndMargo via perl6-users
> On Thu, Apr 3, 2025 at 2:14 AM ToddAndMargo via perl6-users us...@perl.org <mailto:perl6-us...@perl.org>> wrote: > > And another IO ffunctio that does ot work: > > RotateArchives: renaming directory > \\192.168.240.10\oldserver\Backup\MyDocsBackup\backup

Re: unc "for" bug

2025-04-03 Thread ToddAndMargo via perl6-users
On Wed, Apr 2, 2025 at 11:37 PM ToddAndMargo via perl6-users us...@perl.org <mailto:perl6-us...@perl.org>> wrote: Hi All, Windows Server 2025 (souped up W11) raku -v Welcome to RakudoΓäó v2025.02. Now this has to be a bug! Good result: raku -e &qu

rename and unc

2025-04-02 Thread ToddAndMargo via perl6-users
And another IO ffunctio that does ot work: RotateArchives: renaming directory \\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6 to \\192.168.240.10\oldserver\Backup\MyDocsBackup\backup4 Failed to rename 'C:\192.168.240.10\oldserver\Backup\MyDocsBackup\backup6' to 'C:\192.168.240.10\old

Re: I need help with get-options

2025-04-02 Thread ToddAndMargo via perl6-users
On 4/2/25 8:22 AM, Bruce Gray wrote: my $CommandLine = CommandLineClass.new{    help   => False,    debug  => False,    UNC_BackupPath => Q[\\192.168.240.10\MyDocsBackup\backup1],    rotates    => 2,    ParentDir  => "/" }; The problem is with the syntax of the `new`. Y

Re: I need help with .IO.d.Bool

2025-04-02 Thread ToddAndMargo via perl6-users
On 4/2/25 9:53 PM, ToddAndMargo via perl6-users wrote: On 4/2/25 6:26 PM, Will Coleda wrote: Try printing the Str before you do anything with it to see what happens. I moved to powershell I mean I did a call to powershell to find if a directory existed

Re: I need help with .IO.d.Bool

2025-04-02 Thread ToddAndMargo via perl6-users
On 4/2/25 6:26 PM, Will Coleda wrote: Try printing the Str before you do anything with it to see what happens. I moved to powershell

Re: I need help with .IO.d.Bool

2025-04-02 Thread ToddAndMargo via perl6-users
On 4/2/25 6:08 PM, Bruce Gray wrote: On Apr 2, 2025, at 19:47, ToddAndMargo via perl6-users wrote: --snip-- raku -e "say '\\192.168.240.10\oldserver\Backup\MyDocsBackup\backup1'.IO.d.Bool;" False --snip-- Moving this one-liner into a .raku file (to remove

unc "for" bug

2025-04-02 Thread ToddAndMargo via perl6-users
Hi All, Windows Server 2025 (souped up W11) raku -v Welcome to RakudoΓäó v2025.02. Now this has to be a bug! Good result: raku -e "for dir Q[C:\NtUtil] -> $i {say $i.Str;}" C:\NtUtil\2025-03-31 C:\NtUtil\CobianWrapper.raku C:\NtUtil\getopstest.raku C:\NtUtil\LinuxServerMount.bat

I need help with .IO.d.Bool

2025-04-02 Thread ToddAndMargo via perl6-users
Hi All, Windows Server 2025 (souped up W11) raku -v Welcome to RakudoΓäó v2025.02. I am trying to see if this directory exists: \\192.168.240.10\oldserver\Backup\MyDocsBackup\backup1 This is what raku .IO.d.Bool give me: raku -e "say '\\192.168.240.10\oldserver\Backup\MyDocsBackup\back

Re: I need help with get-options

2025-04-02 Thread ToddAndMargo via perl6-users
On 4/1/25 4:04 PM, Bruce Gray wrote: On Apr 1, 2025, at 03:55, ToddAndMargo via perl6-users wrote: --snip-- I have the following run string: raku C:\NtUtil\RLA.Backup.raku --rotates 345 --UNC_BackupPath \\192.168.240.10\Backup\MyDocsBackup\backup1 --debug use Getopt::Long; # get

I need help with

2025-04-01 Thread ToddAndMargo via perl6-users
Hi All, Windows Server 2025 (souped up W11) raku -v Welcome to Rakudo™ v2025.02. Implementing the Raku® Programming Language v6.d. Built on MoarVM version 2025.02. https://raku.land/cpan:LEONT/Getopt::Long I have the following run string: raku C:\NtUtil\RLA.Backup.raku --rotates 345 --UNC_

Re: I need help with get-options

2025-04-01 Thread ToddAndMargo via perl6-users
Should have said "I need help with get-options"

Re: I need help understanding a match

2025-01-16 Thread ToddAndMargo via perl6-users
On 1/16/25 1:41 AM, Todd Chester via perl6-users wrote: First I should apologize for one of my earlier posts. The first token was a bit of a jumble. I think now you just want the literal string "download" to start your capture. Hi Bill, Don't apologize. You are teaching me

Re: I need help understanding a match

2025-01-16 Thread Todd Chester via perl6-users
Thank you! On 1/13/25 18:20, William Michels via perl6-users wrote: Hi Todd, First I should apologize for one of my earlier posts. The first token was a bit of a jumble. I think now you just want the literal string "download" to start your capture. As per usual I tried a few

Re: Q[] question

2025-01-13 Thread ToddAndMargo via perl6-users
On 1/13/25 2:25 AM, Elizabeth Mattijsen wrote: On 12 Jan 2025, at 04:46, Kevin Pye wrote: On Sun, 12 Jan 2025, at 14:01, ToddAndMargo via perl6-users wrote: Hi All, Is Q[...] the same thing as <...> ? No. Q[…] is the bare quoting construct. There'll be no inter

Re: I need help understanding a match

2025-01-13 Thread William Michels via perl6-users
ou, which can help with stringification: [1] > $a ~~ m/ Y / andthen put $_.Str; Y I'll try to go through and correct what you wrote below. Best, Bill. > On Jan 12, 2025, at 03:11, ToddAndMargo via perl6-users > wrote: > > Hi Bill, > > Please correct my notes. > &

Re: I need help understanding a match

2025-01-12 Thread ToddAndMargo via perl6-users
On 1/12/25 3:11 AM, ToddAndMargo via perl6-users wrote: `?download ^`   # positive look-behind, match but don`t capture `download `   # `^` means "look behind" Opps, that should be: `?before ^` # positive look-behind, match but don`t capture

Re: I need help understanding a match

2025-01-12 Thread ToddAndMargo via perl6-users
Hi Bill, Please correct my notes. Many thanks, -T Explanation: my @y = $x ~~ m:g/ .*? | \h+ > /; `m:g` # match and global `\...\` # the constrains (beginning and end) of the match `<...>` # constraints of instructions inside the match First instruction: `` `?download ^` # p

Re: I need help understanding a match

2025-01-12 Thread ToddAndMargo via perl6-users
On 1/12/25 12:59 AM, William Michels via perl6-users wrote: ~$ /Users/admin/rakudo/rakudo-2024.09/rakudo-moar-2024.09-01-macos- arm64-clang/bin/raku -e '  \    my Str $AltClickHere = lines[0];  \    my @AltArray =       ($AltClickHere ~~ m:g/           download        #li

Re: I need help understanding a match

2025-01-12 Thread William Michels via perl6-users
#positive look-ahead, match but dont capture \> angle /).map(*.Str); \ .put for @AltArray;' todd_test.txt 'betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2' 'betterbird-128.6.0esr-bb20.en-US.linux-x86_64.tar.bz2' 'betterbird-128.6.0esr-bb20.es-AR

Re: Q[] question

2025-01-11 Thread ToddAndMargo via perl6-users
On 1/11/25 7:46 PM, Kevin Pye wrote: On Sun, 12 Jan 2025, at 14:01, ToddAndMargo via perl6-users wrote: Hi All, Is Q[...] the same thing as <...> ? No. Q[…] is the bare quoting construct. There'll be no interpolation of variables, no splitting into words, nothing

I need help understanding a match

2025-01-11 Thread ToddAndMargo via perl6-users
Hi All, In another post, Bill gave me a wonderful match that took a ridiculously long line of test and cut out what I wanted and put it into cells of an array. @ClickArray = $ClickPage ~~ m:g/ .*? | \h+ > /; I do not understand what he did. m:g = match and global <>= litteral ?

Q[] question

2025-01-11 Thread ToddAndMargo via perl6-users
Hi All, Is Q[...] the same thing as <...> ? my Str $z=Q[ab#\n] ab#\n my Str $z=Q{ab[#\n} ab[#\n my Str $z= ab#\n my Str $z= ab[#\n Many thanks, -T

Re: How to cut up a long line

2025-01-11 Thread William Michels via perl6-users
)>>.Str; \ .put for @AltArray; @AltArray.elems.say' todd_test.txt download='betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2' download='betterbird-128.6.0esr-bb20.en-US.linux-x86_64.tar.bz2' download='betterbird-128.6.0esr-bb20.es-AR.linux-x86_64.tar.bz2'

Re: How to cut up a long line

2025-01-11 Thread ToddAndMargo via perl6-users
On 1/11/25 2:20 AM, ToddAndMargo via perl6-users wrote: On 1/11/25 2:17 AM, ToddAndMargo wrote: On 1/10/25 9:35 PM, ToddAndMargo wrote: On Jan 10, 2025, at 17:50, ToddAndMargo via perl6-users us...@perl.org> wrote: Hi All, I am scratching my head trying to figure out how to cut up t

Re: How to cut up a long line

2025-01-11 Thread ToddAndMargo via perl6-users
On 1/11/25 2:17 AM, ToddAndMargo wrote: On 1/10/25 9:35 PM, ToddAndMargo wrote: On Jan 10, 2025, at 17:50, ToddAndMargo via perl6-users us...@perl.org> wrote: Hi All, I am scratching my head trying to figure out how to cut up this long line; download='betterbird-128.6.0esr-bb20.

Re: How to cut up a long line

2025-01-11 Thread ToddAndMargo via perl6-users
On 1/10/25 9:35 PM, ToddAndMargo wrote: On Jan 10, 2025, at 17:50, ToddAndMargo via perl6-users us...@perl.org> wrote: Hi All, I am scratching my head trying to figure out how to cut up this long line; download='betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2'&g

Re: How to cut up a long line

2025-01-10 Thread William Michels via perl6-users
@AltArray.push: $_ for $AltClickHere.match(:global, / .*? | \h+ > /); \ .put for @AltArray;' todd_test.txt download='betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2' download='betterbird-128.6.0esr-bb20.en-US.linux-x86_64.tar.bz2' download='betterbird-

Re: How to cut up a long line

2025-01-10 Thread ToddAndMargo via perl6-users
On Jan 10, 2025, at 17:50, ToddAndMargo via perl6-users us...@perl.org> wrote: Hi All, I am scratching my head trying to figure out how to cut up this long line; download='betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2'>class="img bz2">betterbird-12

Re: How to cut up a long line

2025-01-10 Thread William Michels via perl6-users
er script, how you're obtaining the input line(s), etc., if you need more guidance. HTH, Bill. > On Jan 10, 2025, at 17:50, ToddAndMargo via perl6-users > wrote: > > Hi All, > > I am scratching my head trying to figure out how to cut > up this long line; > >

How to cut up a long line

2025-01-10 Thread ToddAndMargo via perl6-users
Hi All, I am scratching my head trying to figure out how to cut up this long line; download='betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2'> class="img bz2"> betterbird-128.6.0esr-bb20.de.linux-x86_64.tar.bz2 class="data upper size fs-0-7">Size: 80.26MB Last modified: Tue. January 7t

MTP?

2025-01-09 Thread ToddAndMargo via perl6-users
Hi All, In Windows Raku, how do I read a MTP (Camera, etc.) device? Many thanks, -T

Re: oop pre salt question

2024-12-16 Thread ToddAndMargo via perl6-users
On 12/16/24 02:27, Elizabeth Mattijsen wrote: class Fruit { has Str $.location is rw = "Cucamonga"; has UInt $.apples is rw = 400; has UInt $.oranges is rw = 200; has UInt $.bananas is rw = 50; ``} Is the `` at the end a typo?

Re: oop pre salt question

2024-12-16 Thread ToddAndMargo via perl6-users
On 16 Dec 2024, at 10:49, ToddAndMargo via perl6-users wrote: Hi All, In the following; class Fruit { has Str $.location is rw; has UInt $.apples is rw; has UInt $.oranges is rw; has UInt $.bananas is rw; } # Pre-salted: my $FruitStand

oop pre salt question

2024-12-16 Thread ToddAndMargo via perl6-users
Hi All, In the following; class Fruit { has Str $.location is rw; has UInt $.apples is rw; has UInt $.oranges is rw; has UInt $.bananas is rw; } # Pre-salted: my $FruitStand = Fruit.new( location => "Cucamonga",

Re: "ICU - International Components for Unicode"

2024-12-09 Thread William Michels via perl6-users
https://perlweekly.com/a/samantha-mcvey.html > High End Unicode in Perl 6: https://www.youtube.com/watch?v=Oj_lgf7A2LM > Unicode Internals of Perl 6: https://www.youtube.com/watch?v=9Vv7nUUDdeA > > >> On Sep 29, 2020, at 3:14 PM, William Michels via perl6-users >> wrot

Re: Is chat down for good?

2024-11-22 Thread ToddAndMargo via perl6-users
On 11/15/24 01:51, ToddAndMargo via perl6-users wrote: It is 01:50 Pacific Standard Time (PST). https://kiwiirc.com/client/irc.libera.chat/#raku gives error 504.  I did clear my cache and reproduced on both Brave Browser and Firefox Back up yesterday at this end.

Re: zef how dependencies of installed modules?

2024-11-22 Thread ToddAndMargo via perl6-users
On 11/22/24 01:42, Quanrong via perl6-users wrote: > After the module gets installed, how can I ask zef > what the dependencies were? `zef --help` says that it's with the `depends` subcommand. So: $ zef depends File::Temp File::Directory::Tree:ver<0.1>:auth Hope that hel

Re: zef how dependencies of installed modules?

2024-11-22 Thread Quanrong via perl6-users
> After the module gets installed, how can I ask zef > what the dependencies were? `zef --help` says that it's with the `depends` subcommand. So: $ zef depends File::Temp File::Directory::Tree:ver<0.1>:auth Hope that helps!

Re: zef show dependencies of installed modules?

2024-11-20 Thread ToddAndMargo via perl6-users
Subject lacked the s in show. Sorry about that.

zef how dependencies of installed modules?

2024-11-20 Thread ToddAndMargo via perl6-users
Hi All, zef install File::Temp ===> Searching for: File::Temp ===> Searching for missing dependencies: File::Directory::Tree ... Aborting due to test failure: File::Directory::Tree:ver<0.1>:auth (use --force-test to override) I did get this installed but I have a question about it. After the

Re: Bug reporting etiquette question

2024-11-19 Thread ToddAndMargo via perl6-users
2024 at 4:49 AM ToddAndMargo via perl6-users us...@perl.org <mailto:perl6-us...@perl.org>> wrote: Hi All, I am about to report a regression bug over on https://github.com/rakudo/rakudo/issues/new <https://github.com/ rakudo/rakudo/issues/new> A question about bug r

Re: I am getting flooded with tmp files

2024-11-18 Thread ToddAndMargo via perl6-users
On 11/18/24 21:04, Bruce Gray wrote: On Nov 18, 2024, at 22:49, ToddAndMargo via perl6-users us...@perl.org> wrote: On 11/18/24 20:06, ToddAndMargo via perl6-users wrote: I am getting flooded with tmp files.  I though I was erasing them (unlink).  What am I doing wrong: use File::T

Re: I am getting flooded with tmp files

2024-11-18 Thread ToddAndMargo via perl6-users
On 11/18/24 20:06, ToddAndMargo via perl6-users wrote: I am getting flooded with tmp files.  I though I was erasing them (unlink).  What am I doing wrong: use File::Temp; ... my Str $TmpFile = $?FILE; $TmpFile ~~ s| .* $( Q[/] ) ||;  # we need just the name $TmpFile ~~ s| $( Q

I am getting flooded with tmp files

2024-11-18 Thread ToddAndMargo via perl6-users
I am getting flooded with tmp files. I though I was erasing them (unlink). What am I doing wrong: use File::Temp; ... my Str $TmpFile = $?FILE; $TmpFile ~~ s| .* $( Q[/] ) ||; # we need just the name $TmpFile ~~ s| $( Q[.] ) .* ||; ($TmpFile, $TmpHandle) = tempfile(:tempdir("."), $TmpFile ~ "

Re: unhandled target type

2024-11-16 Thread Timo Paulssen via perl6-users
On 11/16/24 08:21, ToddAndMargo via perl6-users wrote: On 11/15/24 04:49, ToddAndMargo via perl6-users wrote: And in less than 24 hours, Timo located the regression and placed a pull request to fix it. In the 30 years I have been doing this stuff, I have NEVER seen that kind of a rapid

Re: Is there a Terminal::ANSIcolor for Windows?

2024-11-16 Thread ToddAndMargo via perl6-users
On 11/13/24 06:56, ToddAndMargo via perl6-users wrote: Since I know have a module to read and write the registry, my next step is to see if I can change the setting and have it work without having to exit the terminal and/or reboot the machine. NO need for a reboot. But if you are in a

Re: unhandled target type

2024-11-15 Thread ToddAndMargo via perl6-users
On 11/15/24 04:49, ToddAndMargo via perl6-users wrote: On 11/12/24 22:20, ToddAndMargo via perl6-users wrote: Hi All, Windows 11-24H4  Pro After upgrading to     RakudoMoar-2024.10.01-win-x86_64-msvc.msi from     RakudoMoar-2022.06.01-win-x86_64-msvc.msi I am throwing this error: I just

Re: Is chat down for good?

2024-11-15 Thread ToddAndMargo via perl6-users
On 11/15/24 07:21, Elizabeth Mattijsen wrote: #raku as channel name works for me On 15 Nov 2024, at 13:56, ToddAndMargo via perl6-users wrote: On 11/15/24 03:59, ToddAndMargo via perl6-users wrote: On 15 Nov 2024, at 10:51, ToddAndMargo via perl6-users wrote: It is 01:50 Pacific

Re: Is chat down for good?

2024-11-15 Thread ToddAndMargo via perl6-users
On 11/15/24 03:59, ToddAndMargo via perl6-users wrote: On 15 Nov 2024, at 10:51, ToddAndMargo via perl6-users us...@perl.org> wrote: It is 01:50 Pacific Standard Time (PST). https://kiwiirc.com/client/irc.libera.chat/#raku gives error 504.  I did clear my cache and reproduced on both Br

Re: things I miss in Raku (from perl)

2024-11-15 Thread ToddAndMargo via perl6-users
On 10/17/24 18:45, rir via perl6-users wrote: 1) a simple C style call to call system features, etc. P6 has NativeCall, but it is not for the faint of heart. NativeCall makes calling C pretty easy, but that does not negate the difficulty of using C from a second language.. Try writing Win

Re: unhandled target type

2024-11-15 Thread ToddAndMargo via perl6-users
On 11/12/24 22:20, ToddAndMargo via perl6-users wrote: Hi All, Windows 11-24H4  Pro After upgrading to    RakudoMoar-2024.10.01-win-x86_64-msvc.msi from    RakudoMoar-2022.06.01-win-x86_64-msvc.msi I am throwing this error: I just reported it over on Regression: unhandled target type

Re: Is chat down for good?

2024-11-15 Thread ToddAndMargo via perl6-users
On 15 Nov 2024, at 10:51, ToddAndMargo via perl6-users wrote: It is 01:50 Pacific Standard Time (PST). https://kiwiirc.com/client/irc.libera.chat/#raku gives error 504. I did clear my cache and reproduced on both Brave Browser and Firefox On 11/15/24 03:07, Elizabeth Mattijsen wrote

Is chat down for good?

2024-11-15 Thread ToddAndMargo via perl6-users
It is 01:50 Pacific Standard Time (PST). https://kiwiirc.com/client/irc.libera.chat/#raku gives error 504. I did clear my cache and reproduced on both Brave Browser and Firefox

Bug reporting etiquette question

2024-11-15 Thread ToddAndMargo via perl6-users
Hi All, I am about to report a regression bug over on https://github.com/rakudo/rakudo/issues/new A question about bug reporting etiquette: 1) to reproduce the bug is 150 line of code. Do I attach the code to the bug or do I post it up on vpaste.net? 2) I have two different revision of Ra

Re: Where to report bugs?

2024-11-14 Thread ToddAndMargo via perl6-users
>> On 14 Nov 2024, at 07:32, ToddAndMargo via perl6-users wrote: >> >> Hi All, >> >> Where is the official place to report bugs to now? >> >> -T > On 11/14/24 02:54, Elizabeth Mattijsen wrote: If this is about Rakudo: https://github.com/rakudo/rakudo/issues/new It is. Thank you!

Where to report bugs?

2024-11-13 Thread ToddAndMargo via perl6-users
Hi All, Where is the official place to report bugs to now? -T

Re: Is there a Terminal::ANSIcolor for Windows?

2024-11-13 Thread ToddAndMargo via perl6-users
On 11/4/24 23:54, ToddAndMargo via perl6-users wrote: Windows 11 24H2 RakudoΓäó v2024.07 [0] > use Terminal::ANSIColor;  # qx[ color ]; Nil [1] > print color('bold'), color('52'), "abc", color('reset'); ←[1m←[38;5;52mabc←[0m[1] > [1] > pr

Re: how to I binary write to the screen?

2024-11-13 Thread ToddAndMargo via perl6-users
On 11/12/24 21:33, ToddAndMargo via perl6-users wrote: Hi All, How do I do a binary write to the STDOUT? -T >raku -e "$*OUT.write: Buf.new(27, 91, 51, 50, 109, 32, 72, 73, 32, 27, 91, 48, 109, 13, 10)" ←[32m HI ←[0m

Re: unhandled target type

2024-11-13 Thread ToddAndMargo via perl6-users
On 11/12/24 22:20, ToddAndMargo via perl6-users wrote: Hi All, Windows 11-24H4  Pro After upgrading to    RakudoMoar-2024.10.01-win-x86_64-msvc.msi from    RakudoMoar-2022.06.01-win-x86_64-msvc.msi I am throwing this error:     Internal error: unhandled target type

Re: unhandled target type

2024-11-12 Thread ToddAndMargo via perl6-users
On 11/12/24 22:30, ToddAndMargo via perl6-users wrote: On 11/12/24 22:20, ToddAndMargo via perl6-users wrote: Hi All, Windows 11-24H4  Pro After upgrading to     RakudoMoar-2024.10.01-win-x86_64-msvc.msi from     RakudoMoar-2022.06.01-win-x86_64-msvc.msi I am throwing this error

unhandled target type

2024-11-12 Thread ToddAndMargo via perl6-users
: \Rakudo\share\perl6\core\sources\E72A080325813175F67842B7D3CC6BFBA617C343 (NativeCall::Types) line 114 in sub postcircumfix:<[ ]> at 'SETTING::'src/core.c/array_slice.rakumod line 14 in sub GetSession at C: \NtUtil\NativeWinUtils.rakumod (NativeWi

how to I binary write to the screen?

2024-11-12 Thread ToddAndMargo via perl6-users
Hi All, How do I do a binary write to the STDOUT? -T

Re: Is there a Terminal::ANSIcolor for Windows?

2024-11-12 Thread ToddAndMargo via perl6-users
On 11/12/24 19:52, ToddAndMargo via perl6-users wrote: C:\NtUtil>raku -MTerminal::ANSIColor -e "say color('bold'), 'hello', color('reset')" ←[1mhello←[0m Interesting.  This works echo ^[[32m HI ^[[0m where `^[` is generated with `` I do

Re: Is there a Terminal::ANSIcolor for Windows?

2024-11-12 Thread ToddAndMargo via perl6-users
C:\NtUtil>raku -MTerminal::ANSIColor -e "say color('bold'), 'hello', color('reset')" ←[1mhello←[0m Interesting. This works echo ^[[32m HI ^[[0m where `^[` is generated with `` I do believe that the ESC `chr(27)` is not being literally sent to the screen. Raku is intercepting it. raku

Re: Is there a Terminal::ANSIcolor for Windows?

2024-11-11 Thread ToddAndMargo via perl6-users
On Thu, Nov 7, 2024 at 9:23 PM ToddAndMargo via perl6-users us...@perl.org <mailto:perl6-us...@perl.org>> wrote: >> On Tue, Nov 5, 2024 at 2:54 AM ToddAndMargo via perl6-users > us...@perl.org <mailto:us...@perl.org> <mailto:perl6- us...@perl.org <mailto

Re: Is there a Terminal::ANSIcolor for Windows?

2024-11-07 Thread ToddAndMargo via perl6-users
On Tue, Nov 5, 2024 at 2:54 AM ToddAndMargo via perl6-users us...@perl.org <mailto:perl6-us...@perl.org>> wrote: Windows 11 24H2 RakudoΓäó v2024.07 [0] > use Terminal::ANSIColor; # qx[ color ]; Nil [1] > print color('bold'), color('52'

Is there a Terminal::ANSIcolor for Windows?

2024-11-04 Thread ToddAndMargo via perl6-users
Windows 11 24H2 RakudoΓäó v2024.07 [0] > use Terminal::ANSIColor; # qx[ color ]; Nil [1] > print color('bold'), color('52'), "abc", color('reset'); ←[1m←[38;5;52mabc←[0m[1] > [1] > print color('bold'), color('red'), "abc", color('reset'); ←[1m←[31mabc←[0m[1] >

Re: MESA-INTEL: warning

2024-11-04 Thread ToddAndMargo via perl6-users
On 11/3/24 19:07, ToddAndMargo via perl6-users wrote: On 11/3/24 17:12, ToddAndMargo via perl6-users wrote: Hi All, Fedora 41 rakudo-pkg-2024.7.0-01.x86_64 bash-5.2.32-1.fc41.x86_64 Since upgrading from Fedora 39 to Fedora 41, when I start my programs, I get the following error messages

Re: print in purple question

2024-11-04 Thread ToddAndMargo via perl6-users
On 11/3/24 22:04, Bruce Gray wrote: On Nov 3, 2024, at 22:12, ToddAndMargo via perl6-users wrote: Hi All, Fedora 41 rakudo-pkg-2024.7.0-01.x86_64 bash-5.2.32-1.fc41.x86_64 I am looking at https://metacpan.org/pod/Term::ANSIColor trying to figure out how to print in dark purple. I

Re: print in purple question

2024-11-03 Thread ToddAndMargo via perl6-users
On 11/3/24 22:04, Bruce Gray wrote: On Nov 3, 2024, at 22:12, ToddAndMargo via perl6-users wrote: Hi All, Fedora 41 rakudo-pkg-2024.7.0-01.x86_64 bash-5.2.32-1.fc41.x86_64 I am looking at https://metacpan.org/pod/Term::ANSIColor trying to figure out how to print in dark purple. I

print in purple question

2024-11-03 Thread ToddAndMargo via perl6-users
Hi All, Fedora 41 rakudo-pkg-2024.7.0-01.x86_64 bash-5.2.32-1.fc41.x86_64 I am looking at https://metacpan.org/pod/Term::ANSIColor trying to figure out how to print in dark purple. I have see dnf5 do this, so I know it is possible. Now one of the hurdles is that purple is not an actual colo

Re: MESA-INTEL: warning

2024-11-03 Thread ToddAndMargo via perl6-users
On 11/3/24 17:12, ToddAndMargo via perl6-users wrote: Hi All, Fedora 41 rakudo-pkg-2024.7.0-01.x86_64 bash-5.2.32-1.fc41.x86_64 Since upgrading from Fedora 39 to Fedora 41, when I start my programs, I get the following error messages: MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c

MESA-INTEL: warning

2024-11-03 Thread ToddAndMargo via perl6-users
Hi All, Fedora 41 rakudo-pkg-2024.7.0-01.x86_64 bash-5.2.32-1.fc41.x86_64 Since upgrading from Fedora 39 to Fedora 41, when I start my programs, I get the following error messages: MESA-INTEL: warning: ../src/intel/vulkan/anv_formats.c:763: FINISHME: support YUV colorspace with DRM format mod

Re: things I miss in Raku (from perl)

2024-10-17 Thread rir via perl6-users
On Wed, Oct 09, 2024 at 10:44:58PM -0700, ToddAndMargo via perl6-users wrote: > I really do adore Raku (Perl 6), so no one get the wrong idea. > ... > Two things I miss about Perl 5 are > > 1) how fast it compiles. P5 will do in less than a second > what P6 takes over 15 s

Re: Issue #1 of the Science Perl Journal now on sale at Barnes & Noble

2024-10-16 Thread ToddAndMargo via perl6-users
On 10/16/24 07:39, Andy Bach wrote: I apologize for spamming the p6 list - I didn't know anything about the group, it was just that it seemed like a interesting new event in the Perl world. My mistake. You were sharing with your friends/colleagues. No problem. Your intent is appreciated.

Re: Issue #1 of the Science Perl Journal now on sale at Barnes & Noble

2024-10-16 Thread ToddAndMargo via perl6-users
On 10/16/24 04:45, Elizabeth Mattijsen wrote: On 16 Oct 2024, at 13:27, Todd Chester via perl6-users wrote: Perl 5? That publication is from a group of people who want to have nothing to do with Raku. It is best ignored here. When I mentioned on the Perl 5 newgroup that I was interested

Re: Issue #1 of the Science Perl Journal now on sale at Barnes & Noble

2024-10-16 Thread William Michels via perl6-users
hat they're *NOT* interested in Raku > > So, no I don't think they welcome Raku submissions. > > >> On 16 Oct 2024, at 14:25, William Michels via perl6-users >> wrote: >> >> I spoke to Brett Estrade and they welcome Raku submissions. >> >> --B. >> >>> On Oct 16, 2024, at 04:27, Todd Chester via perl6-users >>> wrote: >>> >>> Perl 5? >> >

Re: Issue #1 of the Science Perl Journal now on sale at Barnes & Noble

2024-10-16 Thread William Michels via perl6-users
I spoke to Brett Estrade and they welcome Raku submissions. --B. > On Oct 16, 2024, at 04:27, Todd Chester via perl6-users > wrote: > > Perl 5?

Re: Fw: Issue #1 of the Science Perl Journal now on sale at Barnes & Noble

2024-10-16 Thread Todd Chester via perl6-users
Perl 5?

Re: serach.brave.com's AI and Raku

2024-10-10 Thread ToddAndMargo via perl6-users
On 10/10/24 06:28, Timo Paulssen via perl6-users wrote: Make sure to use the use File::Temp statement at the top of your Raku program to enable the File::Temp module. When I followed your link I got a slightly different answer: I copied and pasted the answer into my keeper. Good thing I

Re: things I miss in Raku (from perl)

2024-10-10 Thread Timo Paulssen via perl6-users
On 10/10/24 00:24, Marc Chantreux wrote: hello People, As I started to write some code again, I gave a talk about "why Raku for the research community" (It's in french, sorry about that). I had positive feedbacks and some questions so I wrote the ones I remembered there: https://git.unistra.fr

Re: serach.brave.com's AI and Raku

2024-10-10 Thread Timo Paulssen via perl6-users
On 10/10/24 12:31, ToddAndMargo via perl6-users wrote: Oh you know it would be helpful to show the results: [...]     Specify a prefix and suffix for the filename: my ($filename, $filehandle) = tempfile(:prefix('foo'), :suffix(".txt")); Note that tempfile returns a

Re: serach.brave.com's AI and Raku

2024-10-10 Thread ToddAndMargo via perl6-users
On 10/10/24 02:35, ToddAndMargo via perl6-users wrote: https://search.brave.com/search?q=raku+create+a+tmp+file&summary=1&summary_og=ced5a7fd4f24ebb842c161 Ain't that something! Oh you know it would be helpful to show the results: Raku Create Temporary File Based on the pr

serach.rave.com's AI and Raku

2024-10-10 Thread ToddAndMargo via perl6-users
Hi All, Now I usually do not like the results of an AI (Artificial Intelligence), but lately search.brave.com's AI has been giving great results. So I decided to try it out with a Raku function I was looking for: temp files. Take a look at this result: https://search.brave.com/search?q=raku+cr

Re: things I miss in Raku (from perl)

2024-10-09 Thread ToddAndMargo via perl6-users
On 10/9/24 15:24, Marc Chantreux wrote: hello People, As I started to write some code again, I gave a talk about "why Raku for the research community" (It's in french, sorry about that). I had positive feedbacks and some questions so I wrote the ones I remembered there: https://git.unistra.fr/

Re: Raku is removed from Debian

2024-09-08 Thread ToddAndMargo via perl6-users
On 9/8/24 02:14, Dominique Dumont wrote: And the files used to make these packages cannot be re-used much for official Debian project because they do not respect Debian packaging policies (the same policies that make Debian distribution quite solid). I asked Fedora about the same thing. Fedor

Re: Raku is removed from Debian

2024-09-07 Thread ToddAndMargo via perl6-users
On 9/4/24 03:25, Dominique Dumont wrote: Hello As I feared, raku was removed from Debian testing. Which means that raku will be missing in next Debian release, and probably from Ubuntu and Mint. What led to this situation ? - the last version of raku provided in Debian is 2022.12 and it does no

Re: Raku is removed from Debian

2024-09-04 Thread Timo Paulssen via perl6-users
ss to the perl6-team group and what else we need to start working on the packages. For example, I have a patch that should make moarvm build again, and I would like to get the salsa ci/cd pipeline configured for at least moarvm as well. We can probably find out what the first few steps are goi

Re: PostgreSQL: Raku as a "trusted" language?

2024-05-15 Thread William Michels via perl6-users
create such a version of Rakudo (which, from what I can > tell, would need to be refactored at the NPQ level, since "trusted" versions > can't, for instance, access the filesystem) > > El mié, 17 abr 2024 a las 21:04, William Michels via perl6-users > (mailto:p

Re: Array remove duplicates question

2024-05-06 Thread ToddAndMargo via perl6-users
On 5/6/24 05:45, yary wrote: I thought you wanted them sorted also? [1] > (8,7,6,7,5,4,2,1).unique (8 7 6 5 4 2 1) [2] > (8,7,6,7,5,4,2,1).unique.sort (1 2 4 5 6 7 8) -y Hi Yary, Not in this instance. But the the command is really sweet. Thank you! This time I am going the extract IP add

Re: Array remove duplicates question

2024-05-06 Thread ToddAndMargo via perl6-users
On 5/6/24 03:07, ToddAndMargo via perl6-users wrote: On 6 May 2024, at 04:35, ToddAndMargo via perl6-users wrote: Hi All, I have thought of how to do it and pretty sure it would work, but just in case Raku have one of those sweet utilities, does Raku have a utility that will take an array

Re: Array remove duplicates question

2024-05-06 Thread ToddAndMargo via perl6-users
On 6 May 2024, at 04:35, ToddAndMargo via perl6-users wrote: Hi All, I have thought of how to do it and pretty sure it would work, but just in case Raku have one of those sweet utilities, does Raku have a utility that will take an array and remove all the duplicates and rearrange the cells

  1   2   3   4   5   6   7   8   9   10   >