Rakoons,
I keep running into a space with Raku where it would be nice to have some magic
to reduce boilerplate. I often make roles & classes with interface options
that flow from a consuming script’s MAIN arguments, then the first bit of code
at the top the MAIN block, then into instantiatio
Elizabeth,
I have been looking for that one to sort operating system devices. Exceptional
timing!
Thanks,
Mark Devine
(202) 878-1500
-Original Message-
From: Elizabeth Mattijsen
Sent: Saturday, March 2, 2024 8:14 AM
To: ToddAndMargo via perl6-users
Subject: Re: I need sorting help
Richard,
If a quick workaround is fitting, the problem can be dodged at the system
level. I'll pick 8192 open files on Linux for example:
/etc/security/limits.conf
myuser hard nofile 8192
myuser soft nofile 8192
This doesn't address the open file count within Raku, but somet
Appreciation to https://github.com/jnthn for his recent update to
https://github.com/jnthn/p6-io-socket-async-ssl.
My lab consists of the below Linux platforms, where the starred four
distributions were snagged on IO::Socket::Async::SSL, thereby holding back cro.
Not tonight!
CentOS L
Radhakrishnan,
I would be considered a non-developer and more of a system admin/architect.
I’ve used Perl 4/5 since the 1990s with success. My opinion of Python is not
particularly high, except that it is ubiquitous (like Perl 5). Ruby was not
unpleasant. I’ve sampled a few others, but none
Peter,
I applaud your excellent assistance with Raku. Et. al. (you know the names)...
Outstanding community!
Mark
-Original Message-
From: Peter Pentchev
Sent: Monday, June 8, 2020 17:13
To: perl6-users@perl.org
Subject: Re: question about the multi in method
On Mon, Jun 08, 2020 at
Easy for you to say... (haha)
Nice! Many thanks.
Mark
From: Vadim Belman
Sent: Sunday, September 8, 2019 21:32
To: Mark Devine
Cc: perl6-users
Subject: Re: Wrap an attribute’s ^get_value method in TWEAK
Here is a quickly hacked together example:
multi trait_mod: (Attribute:D $a
I’ve twisted myself into a pretzel. I couldn’t even find where a role gets
‘$’, but I saw it in JSTOWE’s code so I mimicked.
I need a little more broad-based help on what goes where and when.
Thanks,
Mark
From: Vadim Belman
Sent: Sunday, September 8, 2019 14:57
To: Mark Devine
Cc: perl6-users
Sub
Perl6 Community,
How do I properly wrap an attribute’s ^get_value method in TWEAK? If a
condition exists, I’d like to wrap all (:local) attributes so that they can do
some extra work.
The module that I’m working on has classes/attributes for hundreds of fields in
dozens of different, big XML
nks,
Mark
From: yary
Sent: Wednesday, August 14, 2019 17:05
To: Mark Devine
Cc: perl6-users
Subject: Re: FW: Type name limit?
What's the simplest way to get the error- can you make a 1 or 2 line class
definition that should compile but doesn't?
On Wed, Aug 14, 2019, 10:27 AM M
This is Rakudo version 2019.07.1 built on MoarVM version 2019.07.1 implementing
Perl 6.d.
Is there a type “name” size limit in Perl 6/Rakudo/Moar?
I’ve been making a hierarchy of classes to take in a > 4MB XML file, and I
found it organized & convenient to use the names of the elements for clas
N6Ghost,
I use Perl 6 exclusively now for "systems" work.
- SSH commands to 500 systems to gather their info using
promises/supplies/channels
- make Perl 6 modules for cantankerous system management utilities,
then write scripts that use my .pm6 modules for various purposes (I.e
I guess I’m extra impressed with esoteric linguistic references. Your replies
were concise and I understood them pretty quickly.
Mark
From: Brandon Allbery
Sent: Friday, September 28, 2018 21:51
To: Mark Devine
Cc: la...@wall.org; ToddAndMargo ; perl6-users
Subject: Re: Could this be any
Kudos to the Benevolent Dictator!
I'll have to loop over this a few times, but it's a blast...
Mark
-Original Message-
From: Larry Wall
Sent: Friday, September 28, 2018 21:28
To: ToddAndMargo
Cc: perl6-users@perl.org
Subject: Re: Could this be any more obscure?
On Fri, Sep 28, 2018 a
I get it. Different angles of approach. Some methods don't make a dent with
me (I.e. rote).
Mark
-Original Message-
From: ToddAndMargo
Sent: Sunday, September 16, 2018 21:42
To: perl6-users@perl.org
Subject: Re: Please explain this to me
On 09/16/2018 06:23 PM, Mark Devine
foy, brian d. Learning Perl 6: Keeping the Easy, Hard, and Impossible Within
Reach (Kindle Location 557). O'Reilly Media. Kindle Edition.
Chapter 2: Binding and Assignment: "There’s an important concept here that you
should learn early." [[ what follows in the most concise and understandable
e
I second that nod. Learning Perl 6 is fixing up all kinds of my errant mental
models. Just what I needed.
Mark
From: Curt Tilmes
Sent: Friday, September 7, 2018 21:25
To: Todd Chester
Cc: perl6-users
Subject: Re: RFE: contains documentation
On Fri, Sep 7, 2018 at 8:58 PM ToddAndMargo
ma
ect: Re: Perl6 POSIX IEEE Std 1003.1
Thank you. Please let me know if you miss anything and/or find any problems.
For myself, I’ve hardly had any use for these modules so they’re probably
undertested.
Liz
> On 14 Aug 2018, at 22:15, Mark Devine wrote:
>
> Wow. Glad I asked…
&
Wow. Glad I asked…
Thank you Elizabeth Mattijsen! We’ll benefit greatly from your industrious
work.
Mark
From: JJ Merelo
Sent: Tuesday, August 14, 2018 17:01
To: Mark Devine ; perl6-users
Subject: Re: Perl6 POSIX IEEE Std 1003.1
Many of them are already in the ecosystem as part of
Perl6 Users,
The POSIX module in the ecosystem (https://github.com/cspencer/perl6-posix)
implements a few commonly used subs from POSIX IEEE Std 1003.1 in a single
file, which I found useful. I wanted to use more of these so I coded a few
simple subroutines with NativeCall for my own use. The
and sort out each
Proc::Async’s $*OUT and $*ERR without line noise. For version 0.0.2 I
hardcoded a throttle of 16 threads after graphing performance on a 4 x Linux VM
– seems safe yet efficient.
Criticisms & suggestions always welcome by Perl6 mentors.
Thanks,
Mark
From: Mark Devine
Todd,
I see that you’re frequently running commands in your code like me. I was
looking for a reliable reusable approach for commands for a long time. I’m
still learning & not quite ready to step up to contribute to the ecosystem yet
(https://docs.perl6.org/language/modules.html). After read
Perl 6 Users,
[[ Bouncing off Re: who own my code? ]]
This is the first of several possible spin-off questions, but here goes…
Perl 6 has its public ecosystem, which will drive growth and adoption. Then
there’s the commercial side, which would also drive the language from another
important an
Perl 6 (Timo),
In terms of new() uses… I’ve seen a clever use of new() that goes beyond
turning ‘positionals’ into ‘named’ in
https://github.com/retupmoca/P6-Net-SMTP/blob/master/lib/Net/SMTP.pm6. It
wraps methods for debugging. Pretty great, imo.
In terms of this thread’s subject… I am com
ssage-
From: Timo Paulssen [mailto:t...@wakelift.de]
Sent: Thursday, October 5, 2017 13:56
To: Mark Devine ; perl6-users@perl.org
Subject: Re: Perl 6 Object Construction - General Advice
The main difference between BUILD and TWEAK is that BUILD will replace all
default and requiredness handling,
Perl 6,
I am preparing to write several classes for some Perl 6 apps I intend to craft
in support of a prominent backup suite. In looking at the documentation & some
of the modules published in the Perl 6 ecosystem, I’m not quite sure that I can
identify the best idiomatic object construction
Perl6 Developers,
Thank you for your efforts. I'm having a great time working with this
language. As a systems person, I'm getting the feeling that this might
actually be the "last language I ever have to learn" (cite: Wall). My
cantankerous `command` outputs are now very manageable. Concur
T,
What happens when you do this?
my $proc = run('zip', '-j', $ZipLog, $CimLog, $LogFile, $DiagDir ~ '/*', :out);
Mark
-Original Message-
From: ToddAndMargo [mailto:toddandma...@zoho.com]
Sent: Monday, July 17, 2017 8:19 PM
To: perl6-users
Subject: zip mystery
Hi All,
This runs:
m
y -> $match { say ~$match; }
Don't know about the second question with backslash double-quotes.
Mark
-Original Message-
From: ToddAndMargo [mailto:toddandma...@zoho.com]
Sent: Sunday, July 16, 2017 8:35 PM
To: perl6-users
Subject: Re: String to array problem
On 07/16/2017 05:16 PM
ut how to turn a string with
> quotes in it into an array.
>
> my $x='ls -al "Program Files" "Moe Curly Larry"';
>
> Desired result:
> my @y;
> $y[0] = 'ls';
> $y[1] = '-la';
> $y[2] = 'Program Files&
> $match { say ~$match; }
Mark
-Original Message-
From: ToddAndMargo [mailto:toddandma...@zoho.com]
Sent: Sunday, July 16, 2017 8:35 PM
To: perl6-users
Subject: Re: String to array problem
On 07/16/2017 05:16 PM, Mark Devine wrote:
> T,
>
> my $x = 'ls -al "Program Fi
T,
my $x = 'ls -al "Program Files" "Moe Curly Larry"';
my @y = ~($x ~~ m:global/ [ '"' <-[ " ]> * '"' | \S+ ] /);
Mark Devine
-Original Message-
From: ToddAndMargo [mailto:toddandma...@zoho.com]
Sent: Sunday, July
32 matches
Mail list logo