The SF Perl Raku Study Group, 06/20 at 1pm PDT

2021-06-17 Thread Joseph Brenner
Edgar Rice Burroughs, "Tarzan of the Apes" (1914) Ch 7, "The Light of Knowledge": His little face was tense in study, for he had partially grasped, in a hazy, nebulous way, the rudiments of a thought which was destined to prove the key and the solution to the puzzling problem of the

Re: [sf-perl] Perl/Raku "Conference in the Clouds" (and the Raku Study Group postponed)

2021-06-11 Thread Joseph Brenner
Sorry, I meant June 20th. On 6/10/21, Earl Ruby wrote: > May 20th of what year? > > On Sun, Jun 6, 2021 at 2:34 PM Joseph Brenner wrote: > >> As I expect most of you have heard, there's another >> perl/raku "conference in the clouds" coming up this week, >

Perl/Raku "Conference in the Clouds" (and the Raku Study Group postponed)

2021-06-06 Thread Joseph Brenner
As I expect most of you have heard, there's another perl/raku "conference in the clouds" coming up this week, starting on Tuesday. The schedule is online: https://perlconference.us/tprc-2021-cloud/schedule/ Tickets for this one are just $10:

The SF Perl Raku Study Group, 05/30 at 1pm PDT

2021-05-27 Thread Joseph Brenner
Lester Bangs on Robert Quine playing with the Voidoids: "Onstage he projects the cool remote stance learned from his jazz mentors-- shades, beard, expressionless face, bald head, old sportcoat-- but his solos always burn, the more so because there is always something constricted in them,

Re: File::Find using a junction with exclude

2021-05-23 Thread Joseph Brenner
Junctions continue to surprise me: my $junction = any( 'a', 'b', 'c' ); my $char = 'b'; say $char ~~ $junction; # True say $char eq $junction; # any(False, True, False) $char = 'e'; say $char ~~ $junction; # False say $char eq $junction; # any(False, False, False) I

Re: File::Find using a junction with exclude

2021-05-23 Thread Joseph Brenner
William Michels wrote: > my $exclude3 = ( rx/<|w>mothera$/, rx/<|w>camel$/ ); > my @files3 = find( dir => $loc, type => 'file', exclude => $exclude3>>.any > ); > say "Exclude3: ", @files3; > #Exclude3: ["/Users/me/test_folder/.DS_Store".IO > "/Users/me/test_folder/godzilla".IO

Re: File::Find using a junction with exclude

2021-05-22 Thread Joseph Brenner
Ralph Mellor wrote: > A junction passed as an argument is immediately expanded unless > a function is specifically coded to handle junctions for that argument. > > That is a large part of the beauty of the junction design. All functions > (and thus all operators) automatically get a very useful

Re: File::Find using a junction with exclude

2021-05-22 Thread Joseph Brenner
Vadim Belman wrote: >> Joseph Brenner wrote: >> >>> I just gave a few other variants a try-- passing a junction in a >> variable, passing a code block containing a [junction]-- without any >> luck. > To my view, this behavior of File::Find is going against

In regexes with :P5 compatibility turned-on, do embedded modifiers work?

2021-05-22 Thread Joseph Brenner
It's looking to me like perl5's embedded pattern modifiers don't work when used with raku's :P5 compatibility modifier... printf "%-25s", "Trying raku style: "; if "this" ~~ m/ ^ <[a..z]> / { say "good"; } else { say "ng"; } printf "%-25s", "Trying :P5 without (?^x: "; if "this" ~~

Re: File::Find using a junction with exclude

2021-05-21 Thread Joseph Brenner
y_exclude = any(@exclude); my @files = find( dir => $loc, type => 'file', exclude => { $any_exclude } ); say @files; # ["/home/doom/tmp/monster_island/godzilla".IO "/home/doom/tmp/monster_island/mothera".IO "/home/doom/tmp/monster_island/rhodan&q

Re: File::Find using a junction with exclude

2021-05-21 Thread Joseph Brenner
Thanks, yes the actual result is certainly consistent with the junction applied at the top level, and not internally, which is what I was expecting. Is there actually no way to pass a junction in to a function so that it can be used later in an internal smartmach? That's been my rough

File::Find using a junction with exclude

2021-05-20 Thread Joseph Brenner
The documentation for File::Find says that the exclude argument is applied via a smart-match, so I thought that I could use a junction, like so: use File::Find my @files = find( dir => $loc, type => 'file', exclude => any( @exclude_pats ) ); But instead of getting an array of file names

The SF Perl Raku Study Group, 05/16 at 1pm PDT

2021-05-13 Thread Joseph Brenner
F. S. Boas, Shakspere and his Predecessors" (1896): "All these dramas introduce us into highly artificial societies, whose civilization is ripe unto rottenness. Admidst such media abnormal conditions of brain and emotion are generated, and intricate cases of conscience demand a

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

2021-04-27 Thread Joseph Brenner
Douglas Crockford, "Javascript: The Good Parts" (2008): "But it turns out that strong typing does not eliminate the need for careful testing. And I have found in my work that the sorts of errors that strong type checking finds are not the errors I worry about." The Raku Study Group May

The SF Perl Raku Study Group, 04/25 at 1pm PDT

2021-04-22 Thread Joseph Brenner
"Don't let the sun blast your shadow/ Don't let the milk float ride your mind" David Bowie, "Rock n' Roll Suicide" The Raku Study Group Apr 25, 2021 1pm in California, 8pm in the UK Zoom meeting link: https://us02web.zoom.us/j/84689322399?pwd=R0ZYbzlIVjRlWHhHczRwOUZFdUFsdz09

Re: slurpy hash signatures

2021-04-20 Thread Joseph Brenner
Ralph Mellor wrote: > Joseph Brenner wrote: > > > Before I get started here, a small point about defining hashes. > > There are various ways that work: > > > >my %h1 = ( 'ha' => 1, 'ho' => 2, 'hum' => 3 ); > >my %h2 = ( ha => 1, ho

Re: slurpy hash signatures

2021-04-18 Thread Joseph Brenner
021 at 3:00 PM Joseph Brenner wrote: > >> Before I get started here, a small point about defining hashes. >> There are various ways that work: >> >> my %h1 = ( 'ha' => 1, 'ho' => 2, 'hum' => 3 ); >> my %h2 = ( ha => 1, ho => 2, hum =>

The SF Perl Raku Study Group, 04/18 at 1pm PDT

2021-04-18 Thread Joseph Brenner
The SF Perl Raku Study Group, 04/18 at 1pm PDT "The year 2000 is the point at which it became cheaper to collect information than to understand it." -- Freeman Dyson The Raku Study Group April 18, 2021 1pm in California, 8pm in the UK Zoom meeting link:

slurpy hash signatures

2021-04-18 Thread Joseph Brenner
Before I get started here, a small point about defining hashes. There are various ways that work: my %h1 = ( 'ha' => 1, 'ho' => 2, 'hum' => 3 ); my %h2 = ( ha => 1, ho => 2, hum => 3 ); my %h3 = ha => 1, ho => 2, hum => 3; my %h4 = 'ha' => 1, 'ho' => 2, 'hum' => 3;

The SF Perl Raku Study Group, 04/11 at 1pm PDT

2021-04-09 Thread Joseph Brenner
William James, "Essays in Radical Empiricism" (1912): "Mental knives may be sharp, but they won't cut real wood. Mental triangles are pointed, but their points won't wound. With 'real' objects, on the contrary, consequences always accrue... " The Raku Study Group April 11th, 2021

Re: locations relative to script location

2021-03-31 Thread Joseph Brenner
"/etc/foo".IO > say $file.greatgreatgrandparent; # "/etc".IO > say $file.greatgreatgreatgrandparent; # "/".IO > > > >> On Mar 29, 2021, at 7:50 PM, Joseph Brenner wrote: >> >> I'm looking for the canoncial way to get the locatio

locations relative to script location

2021-03-30 Thread Joseph Brenner
I'm looking for the canoncial way to get the location of the currently running script (similar to perl's FindBin), so that I can specify other locations relative to the script location. This does what I want, but I see that the docs say that it's deprecated: my $loc = $*PROGRAM.chdir('..');

The SF Perl Raku Study Group, 03/21 at 1pm PDT

2021-03-19 Thread Joseph Brenner
"Nothingness lies coiled in the heart of being-- like a worm." -- Jean-Paul Sartre, "Being and Nothingness" The Raku Study Group March 21, 2021 1pm in California, 8pm in the UK Zoom meeting link: https://us02web.zoom.us/j/85728574799?pwd=S2lZN3J0WkRTcU9WZFRMMXdsM1FWUT09 Passcode:

Re: Working with a regex using positional captures stored in a variable

2021-03-17 Thread Joseph Brenner
Even worse, you then have to come up with some new syntax to prevent it > from capturing when you don't want it to. > That new syntax wouldn't be as guessible as it currently is. Which again > would confuse experts. > > If anyone seriously suggests such a change, I will vehemently f

Re: The SF Perl Raku Study Group, 03/14 at 1pm PDT

2021-03-14 Thread Joseph Brenner
Oops: > March 14th, 2021 1pm in California, 9pm in the UK Now that's *8pm* in the UK. The European Contingent might drop by a little late today.

Re: Fwd: Working with a regex using positional captures stored in a variableperl6-us...@perl.org

2021-03-13 Thread Joseph Brenner
.03.21 17:43, William Michels wrote: >> Hi Moritz your book is mentioned below. Care to chime in? Reply to >> perl6-users . >> >> Thx, Bill. >> W. Michels, Ph.D. >> >> -- Forwarded message - >> From: Joseph Brenner >> Date: Thu,

Re: Working with a regex using positional captures stored in a variable

2021-03-13 Thread Joseph Brenner
gt; > > my regex pattern { (\d+) \s+ (\w+) } > > $input ~~ / / > 「9 million」 > pattern => 「9 million」 > 0 => 「9」 > 1 => 「million」 > > Or just use it as the whole regex > > > $input ~~ $pattern # variable > 「9 milli

Re: Please create a Raku community channel

2021-03-13 Thread Joseph Brenner
Richard Hainsworth wrote: > I found out yesterday by the intervention of a regular participant in > the community that a new documentation website is being worked on. I should say, I was surprised to hear about that project also. I knew about Richard Hainsworth's work, but not about what the

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

2021-03-12 Thread Joseph Brenner
You'll need to expand on that a bit, I don't get the complaint. Do pretentious quotations bug you? On 3/12/21, Tiejun Li wrote: > Joseph, > You think you are something. You are not. You are nothing. > TJ > > On Friday, March 12, 2021, 3:17:03 AM GMT+8, Joseph Brenner >

The SF Perl Raku Study Group, 03/14 at 1pm PDT

2021-03-11 Thread Joseph Brenner
Donald Knuth, "Computer programming as an art", CACM, December 1974: "In this connection it is most important for us all to remember that there is no one 'best' style; everybody has his own preferences, and it is a mistake to try to force people into an unnatural mold. ... The important thing

Working with a regex using positional captures stored in a variable

2021-03-11 Thread Joseph Brenner
Does this behavior make sense to anyone? When you've got a regex with captures in it, the captures don't work if the regex is stashed in a variable and then interpolated into a regex. Do capture groups need to be defined at the top level where the regex is used? { # From a code example in the

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

2021-03-10 Thread Joseph Brenner
JJ Merelo wrote: > This is a bug in Documentable. Generated an issue there > https://github.com/Raku/Documentable/issues/149 Thanks for the report. And thanks for opening the issue.

Re: documentation of internals

2021-03-09 Thread Joseph Brenner
> I think it is best if you open an issue for this, so that it will not fall > through the cracks. Okay, fair enough: https://github.com/rakudo/rakudo/issues/4245 On 3/7/21, Elizabeth Mattijsen wrote: >> On 7 Mar 2021, at 00:16, Joseph Brenner wrote: >> >>

documentation of internals

2021-03-06 Thread Joseph Brenner
Is there anything like an equivalent of "man perlguts" for Raku/rakudo? There are things like this, but they seem to be very out-of-date: https://github.com/rakudo/rakudo/blob/master/docs/architecture.html

Re: Newsgroups

2021-03-04 Thread Joseph Brenner
This, for example, doesn't show any new posts in the last 30 days: https://groups.google.com/g/perl.perl6.users On 3/4/21, Joseph Brenner wrote: > William Michels via perl6-users wrote: >> Hi David, I see the archives are current: >> >> https://www.nntp.perl.org/g

Re: Newsgroups

2021-03-04 Thread Joseph Brenner
William Michels via perl6-users wrote: > Hi David, I see the archives are current: > > https://www.nntp.perl.org/group/perl.perl6.users/ Yes, going to the nntp web site, I can see something I just posted today. But David may actually be using an actual nntp feed via a newsreader-- nntp refers

The SF Perl Raku Study Group, 03/07 at 1pm PDT

2021-03-04 Thread Joseph Brenner
>From Aristotle's "Categories", the first book of The Organon (trans. Harold P. Cook): "When genera are co-ordinate and different, differentiae will differ in kind. Take the genera, animal and knowledge. 'Footed', 'two-footed', 'winged', 'aquatic' are among the differentiae of

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

2021-03-02 Thread Joseph Brenner
If you go to docs.raku.org and type "^methods" into the search window, you get a drop down looking something like this: class Method Submethod method methods Reference ^methods methods Submethods Routine method Site Search

Re: Alternative view of Raku Documentation

2021-03-02 Thread Joseph Brenner
This is some very nice work, of course. I was wondering how difficult it would be to support other output formats (texinfo, nroff...). > Please let me know whether you find the search interface easier than the one > on the official site. I've got some problems with the existing search, myself,

Re: list of all raku classes?

2021-02-28 Thread Joseph Brenner
Daniel Sockwell wrote: >> Is there a convenient way to get a list of all classes built-in to Raku? > Short answer: > raku -e '.say for (|CORE::, |UNIT::, |OUTERS::, |MY::).grep({ .key eq > .value.^name }).grep({ .value.HOW.^name eq "Perl6::Metamodel::ClassHOW" > }).map(*.key).unique' >

list of all raku classes?

2021-02-28 Thread Joseph Brenner
Is there a convenient way to get a list of all classes built-in to Raku?

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

2021-02-26 Thread Joseph Brenner
The SF Perl Raku Study Group, 02/28 at 1pm PDT "With the Power of your Ancestor Grant the prayer of your followers, Arise and Show Your Power" "Mothra's Song" (1961) by Yuji Koseki The Raku Study Group. February 28th, 2021 1pm in California, 9pm in the UK Zoom meeting link:

Re: ^methods doesn't show all methods

2021-02-18 Thread Joseph Brenner
Vadim Belman wrote: > It's not about gist truncating long lists. After all, when it does so it > ends the output with triple dot. > > Yet nobody spotted that not every methods in the list are represented by > their names. Alongside with something like 'elems' there are many >

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

2021-02-17 Thread Joseph Brenner
Christopher Marlowe, "Doctor Faustus" (~1588): "Learned Faustus, To know the secrets of astronomy Graven in the book of Jove's high-firmanent, Did mount himself to scale Olympus' top. Being seated in a chariot burning bright Drawn by the strength of yoked dragons necks He views the clouds, the

Re: ^methods doesn't show all methods

2021-02-16 Thread Joseph Brenner
Gianni Ceccarelli wrote: >If you grep the list itself, instead of its gist:: > > $ raku -e 'Set.^methods.map(*.name).grep(/keys/)>>.say' > keys Yes, you're right. That's all there was to it.

^methods doesn't show all methods

2021-02-16 Thread Joseph Brenner
Set objects have Associative methods: my $s = set 2, 4, 6; say $s.keys; # (4 2 6) But I don't see them in the list from .^methods: say $s.^methods; # (menu default pick minpairs Setty grabpairs SET-SELF raku Method+{is-nodal}.new Real Baggy iterator keyof Method+{is-nodal}.new

Re: My OOP keeper

2021-02-14 Thread Joseph Brenner
Darren Duncan wrote: > I don't understand the terminology "keeper" in this context. "Keeper" is just his own term for his private notes, like a "cheat sheet" or a summary.

Re: My OOP keeper

2021-02-14 Thread Joseph Brenner
Ralph Mellor wrote: > Raku's OOP was designed to support proto-type programming > and method delegation straight out-of-the-box. Can you give us a pointer to some code examples on how to use Raku for prototype-style OOP? I can think of ways to do it, but I don't know that I see any

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

2021-02-11 Thread Joseph Brenner
Juanita Nelson, "A Matter of Freedom" from "Seeds of Liberation" (1964) edited by Paul Goodman: "How could I presume to have so much of the truth that I would defy constituted authority? What made me so certain of myself in this regard? I was not certain. But it seemed to me that if I

Re: REPL-specific issue with stored regex variable?

2021-02-07 Thread Joseph Brenner
William Michels via perl6-users wrote: > Hello, I'm wondering if there's a REPL-specific issue with the following > docs.raku.org code? The code can be found at: > https://docs.raku.org/language/regexes#Regex_interpolation I'm seeing the same behavior. This code runs in a script, but if you

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

2021-02-04 Thread Joseph Brenner
Leo Tolstoy, "Anna Karenina": "After wavering for some time between various kinds of art-- religious, historical, genre or realistic-- he began to paint. He understood all the different kinds and was able to draw inspiration from all, but he could not imagine that it is possible to be

Re: I need help with ~~m/

2021-01-30 Thread Joseph Brenner
> My mistake was think that if a value at the end > did not exist, I was given back a null. Now I know > to look for a false. > > say "1.33" ~~ m/(\d+) ** 3..4 % "." / > False That pattern says there has to be three or four fields of digits, so if you don't have that many, the entire match has

Re: I need help with ~~m/

2021-01-30 Thread Joseph Brenner
I think ToddAndMargo was thinking of perl5 regexes, where [.] is a good way of matching a literal dot-- though myself, I'm more inclined to use \. In Raku, the square brackets just do non-capturing grouping much like (?: ... } in perl5. To do a character class, you need angles around the

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

2021-01-28 Thread Joseph Brenner
>From the introduction to "Naming, Necessity, and Natural Kinds" (1977), edited by Stephen P. Schwartz: "Putnam extends the theory to natural kind terms. His view is that we 'baptise' what we take to be good examples or paradigms of some substance such as water and then use 'water' to refer to

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

2021-01-22 Thread Joseph Brenner
"I cannot bring a world quite round, Although I patch it as I can." -- Wallace Stevens, "The Man With The Blue Guitar" The Raku Study Group January 24, 2021 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/82188514535?pwd=RU11S3JQSTNIcHh4K3l1MkZnVW1VUT09

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

2021-01-16 Thread Joseph Brenner
"I had an ardent desire to believe that there can be such a thing as knowledge, combined with a great difficulty in accepting much that passes as knowledge." -- Bertrand Russell, "The Philosophy of Logical Atomism" (1918) The Raku Study Group January 17, 2021 1pm in California, 9pm in the

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

2021-01-09 Thread Joseph Brenner
"The old world is dying, and the new world struggles to be born: now is the time of monsters" Antonio Gramsci, according to Heather Cox Richardson. The Raku Study Group January 10, 2021 1pm in California, 9pm in the UK Zoom meeting link:

The SF Perl Raku Study Group, 12/20 at 1pm PDT

2020-12-18 Thread Joseph Brenner
"The mysterious insights that people have when speaking, listening, creating, and even when they are programming, are still beyond the reach of science; nearly everything we do is still an art." -- Donald Knuth, "Computer programming as an art", CACM, December 1974 The Raku Study Group

The SF Perl Raku Study Group, 12/13 at 1pm PDT

2020-12-07 Thread Joseph Brenner
Jim Carrol, "Day and Night": "And even when the question finds the answer/ Then even then, there's something like a dancer" The Raku Study Group December 13th, 2020 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/88945179127?pwd=MlBnSW9zZ0ozRVRaL0s5d1dKbjZQdz09

Re: The ,= operator

2020-12-06 Thread Joseph Brenner
ToddAndMargo via perl6-users wrote: > I am a little late to this conversation, but `,=` > looks a lot like `push` to me. Yes that was my first impression, if you read ahead a bit in the discussion you'll see it explained. In summary: the = shortcuts all work in a precisely parallel way, so @r

The SF Perl Raku Study Group, 12/6 at 1pm PDT

2020-12-02 Thread Joseph Brenner
Gregory Corso's "The Poet's Choice": When confronted by two alternatives, choose both. The Raku Study Group. December 6th, 2020 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/89496477711?pwd=aUdqa3FSdGZMNFBnR1hNbzdsbkZsUT09 Passcode: 4RakuRoll RSVPs are

Re: The ,= operator

2020-11-30 Thread Joseph Brenner
William Michels wrote: > Joe, what would you expect the code below to produce? > %h<> ,= c => 3; > @a[] ,= 'd'; Well *I* expect it to error out, but that's my p5 brain talking. The Raku approach is if you ask for nothing it gives you everything, so an empty index like that essentially

Re: The ,= operator

2020-11-29 Thread Joseph Brenner
William Michels wrote: >> > "Perhaps more importantly, what improvement do you propose?" > > Apologies for top-posting, but what immediately comes to my mind upon > encountering the creation of a self-referential (circular/infinite) > object is proverbially 'going-down-a-level' and trying again.

Re: The ,= operator

2020-11-29 Thread Joseph Brenner
Joseph Brenner wrote: > Just to be clear, I wasn't saying I didn't think circular references should be forbidden, Sorry about the double-negative. It could use another "not" to triple it.

Re: The ,= operator

2020-11-29 Thread Joseph Brenner
Ralph Mellor wrote: >> > @r = @r , 'd'; >> >> Okay, that makes sense. So the circular reference I thought I >> was seeing is really there, and it's working as designed. >> >> There isn't anything very useful in this behavior though, is there? > > Yes. > > Here are some relevant results from a

Re: The ,= operator

2020-11-27 Thread Joseph Brenner
About the documentation in general... > > that particular pair-input syntax is my least favorite. > > Flipping around the order of key and value when the value is a numeric...? > > > > And it isn't needed to demo the operator, any pair input syntax works. > > I might argue that examples should

Re: The ,= operator

2020-11-27 Thread Joseph Brenner
First off, much thanks to Ralph Mellor for his detailed explanations. Ralph Mellor wrote: > @r ,= 'd'; > > The above expands to: > > @r = @r , 'd'; Okay, that makes sense. So the circular reference I thought I was seeing is really there, and it's working as designed. There isn't anything

The ,= operator

2020-11-26 Thread Joseph Brenner
I was going through the operator list in the documentation the other day, and I noticed this one: postfix ,= Creates an object that concatenates, in a class-dependent way, the contents of the variable on the left hand side and the expression on the right hand side: my %a = :11a,

Lambert Lum on Docker, November 29th, 1pm.

2020-11-26 Thread Joseph Brenner
We're taking a break from the "Raku Study Group" this weekend, but Lambert Lum has volunteered to use the timeslot to talk about Docker. This is on Sunday November 29th, 1pm, via google meet rather than zoom: https://meet.google.com/mdh-ywsn-ghk

The SF Perl Raku Study Group, 11/22 at 1pm PDT

2020-11-20 Thread Joseph Brenner
"But in analysing history do not be too profound, for often the causes are quite superficial." -- Ralph Waldo Emerson, 1836 The Raku Study Group. November 22nd, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/86007414540?pwd=UmlIU3pFWWVSRGtQZ1Y3ZGRlTFNVdz09

The SF Perl Raku Study Group, 11/15 at 1pm PDT

2020-11-12 Thread Joseph Brenner
"The winds and waves are always on the side of the ablest navigators." -- Edward Gibbon The Raku Study Group. November 15th, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/81829068041?pwd=QkhkM0RMSFJUdEFxYnA0UHhXcWFzdz09 Passcode: 4RakuRoll RSVPs are useful,

Re: Subset w/ Inline::Perl5 RE as constraint

2020-11-08 Thread Joseph Brenner
I think this kind of thing does what you're after: use Inline::Perl5; my $p5 = Inline::Perl5.new; my $p5pat = '\w+'; $p5.run( 'sub chk { $_[0] =~ m/' ~ $p5pat ~ '/ }' ); subset p5_words of Str where { $p5.call( "chk", $^a ) }; my p5_words $a = "alpha"; say $a; # alpha, perl5 word chars, so

The SF Perl Raku Study Group, 11/08 at 1pm PDT

2020-11-07 Thread Joseph Brenner
The SF Perl Raku Study Group, 11/01 at 1pm PDT "Possibilities, innumerable and tightly packed, could shower forth like mushroom spore between such alternatives as being here, or there; alive, or dead; and old, or young." -- Elizabeth Jane Howard, The Long View (1956) The Raku Study Group.

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

2020-10-30 Thread Joseph Brenner
And one more time (with a corrected meetup link this time): "Man or Child, Stong or Weak, None of those matter once you are out at sea!" -- Usopp ("One Piece") The Raku Study Group. November 1st, 1pm in California, 9pm in the UK Zoom meeting link:

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

2020-10-29 Thread Joseph Brenner
"Man or Child, Stong or Weak, None of those matter once you are out at sea!" -- Usopp ("One Piece") The Raku Study Group. November 1st, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/84566910601?pwd=R0ppbC9JRm5rV0hCdTJISkQ0Rml0QT09 Passcode: 4RakuRoll RSVPs are

The SF Perl Raku Study Group, 10/25 at 1pm PDT

2020-10-24 Thread Joseph Brenner
With great power, comes the Raku Study group. October 25th, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/84087845936?pwd=OXlkQ1UxRGw4bHNoUmZwMlE5dDBndz09 Passcode: 4RakuRoll https://www.meetup.com/San-Francisco-Perl/events/274150568/

The SF Perl Raku Study Group, 10/18 at 1pm PDT

2020-10-15 Thread Joseph Brenner
"... I collected the instruments of life around me, that I might infuse a spark of being into the lifeless thing that lay at my feet." The Raku Study Group October 18th, 1pm in California, 9pm in the UK Zoom meeting link:

Re: cross reduce operator magic

2020-10-11 Thread Joseph Brenner
Bruce Gray wrote: > NOTE: 30 minutes from now is the start of the Raku Study Group of the San > Francisco Perl Mongers. Thanks-- though now it's 3 minutes-- but that was the info for last week. The current one is: https://www.meetup.com/San-Francisco-Perl/events/273839687/ In general, you

The SF Perl Raku Study Group, 10/11 at 1pm PDT

2020-10-09 Thread Joseph Brenner
"You engineers are all mystics." -- Bruce Sterling, "Green Days in Brunei" (1985) And so, the SF Perl Raku Study Group: October 11th, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/83672832845?pwd=WWs0Wm5GaDUyN3RkQkZRM2QzMnhzUT09 Passcode: 4RakuRoll RSVPs can be

The SF Perl Raku Study Group, 10/4 at 1pm PDT

2020-10-01 Thread Joseph Brenner
Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information? The Raku Study Group. October 4th, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/88535076025?pwd=MHBOTDltVitVMlh4R2Z5WUFaSDYwQT09 Passcode: 4RakuRoll RSVPs are

SF Perl's Raku Study Group

2020-09-26 Thread Joseph Brenner
We shall not cease from exploration, and the end of all our exploring will be to arrive where we started, The Raku Study Group: September 27, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/88535076025?pwd=MHBOTDltVitVMlh4R2Z5WUFaSDYwQT09 Passcode: 4RakuRoll

Re: "ICU - International Components for Unicode"

2020-09-24 Thread Joseph Brenner
mp; Mapping LLC, Mandrake Linux, OCLC, Progress > Software, Python, QNX, Rogue Wave, SAP, SIL, SPSS, Software AG, SuSE, > Sybase, Symantec, Teradata (NCR), ToolAware, Trend Micro, Virage, > webMethods, Wine, WMS Gaming, XyEnterprise, Yahoo!, Vuo, and many > others. > > > On

Re: "ICU - International Components for Unicode"

2020-09-24 Thread Joseph Brenner
t there might be some point in using them for something or other. On 9/24/20, Elizabeth Mattijsen wrote: > https://www.codesections.com/blog/raku-unicode/ > >> On 24 Sep 2020, at 20:00, Joseph Brenner wrote: >> >> I'm not sure myself, but my first guess would be probably not..

Re: "ICU - International Components for Unicode"

2020-09-24 Thread Joseph Brenner
I'm not sure myself, but my first guess would be probably not...I *think* Raku is doing it's own Unicode thing, and isn't using any system ICU libraries (but I'm willing to stand corrected on that). As far as perl (the-language-formerly-known-as-perl5) is concerned: That page

The SF Perl Raku Study Group, Sunday Sept 20th at 1pm PDT

2020-09-19 Thread Joseph Brenner
One must have a mind of winter to behold the Nil that is not there and the Any that is. The Raku Study Group: September 20th, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/87842843034?pwd=RVYwb2dQdk9ESHVtS0N5VGUrbHpFZz09 Passcode: 4RakuRoll RSVPs are always

The SF Perl Raku Study Group, Sunday Sept 13th at 1pm PDT

2020-09-11 Thread Joseph Brenner
And another Raku study group is added to the cosmic unconsciousness, yet another node in the lattice of coincidence. September 13, 1pm in California, 9pm in the UK Zoom meeting link: https://us02web.zoom.us/j/83345271518?pwd=dG9za2pTQXFIVjBuSFJ0UXNQOUNmZz09 Passcode: 4RakuRoll RSVPs are always

The Raku Study group, Sunday at 1pm PST

2020-09-03 Thread Joseph Brenner
In times of crisis the wise build bridges, while the foolish build barriers: The Raku Study Group. September 6th, 1 pm in California, 9pm in the UK. Zoom meeting link: https://us02web.zoom.us/j/83899299398?pwd=S1dxa1FUVU9ZZGE2ZERWQmtoMmFhdz09 Passcode: 4RakuRoll RSVPs are always helpful,

Raku Study group in progress

2020-08-30 Thread Joseph Brenner
I'm trying to get the Raku study group working today, but I've been having a bunch of zoom weirdness. It should be in progress now: The SF Perl Raku Study Group, 8/30 at 1pm PDT https://us02web.zoom.us/j/88495193366?pwd=TXpMSlVqaVVGMm52SWlvSmRrZXFBUT09 Password: 4RakuRoll

SF Perl's Raku Study Group: Sunday 1pm PST

2020-08-18 Thread Joseph Brenner
Yeaning for the ancient heavenly connection to the starry dynamo of night, it's the Raku study group: https://us02web.zoom.us/j/85864767082?pwd=TW94dG8zR2tHWEl3ZVdvdmVyYkJkUT09 Password: 4RakuRoll. Note: we're using an earlier start time now, 1pm PST, to make things a little easier for people

The SF Perl Raku Study Group, at 1pm this Sunday, the 16th

2020-08-14 Thread Joseph Brenner
"The world is full of magical things patiently waiting for our wits to grow sharper." [1] Time for another Raku study group: https://us02web.zoom.us/j/86928085691?pwd=bWZ5TzNWbFlTaFpOWVloU3NXUEIrdz09 Password: 4RakuRoll Note: we're experimenting with an earlier start time, 1pm California

Re: SF Perl's Raku Study Group

2020-08-09 Thread Joseph Brenner
subject, we're probably going to be messing around with again with type contraints, where clauses, subsets, and type coercion. On 8/8/20, Joseph Brenner wrote: > The SF Perl group's online Raku Study group is coming up again > tomorrow, Sunday August 09th at 2pm, via zoom. > > RSVP

SF Perl's Raku Study Group

2020-08-08 Thread Joseph Brenner
The SF Perl group's online Raku Study group is coming up again tomorrow, Sunday August 09th at 2pm, via zoom. RSVP to: https://www.meetup.com/San-Francisco-Perl/events/271993517/ zoom link, 2pm: https://us04web.zoom.us/j/72909473784?pwd=YTd1ZnlWTFV3ckZMWmtRcXdPK2loZz09

SF Perl's Raku Study Group

2020-07-31 Thread Joseph Brenner
As usual, on Sunday afternoon at 2pm Pacific Standard Time, we're going to be doing our usual Raku study group... since we're zooming 'em these days there's no reason not to publicize them wider: https://www.meetup.com/San-Francisco-Perl/events/272258217/ These tend to be intermediate level

doing an inner join via cross-product

2020-07-19 Thread Joseph Brenner
I was thinking about the cross-product operator the other day, and I was wondering if there might be a convenient way of filtering the resulting cartesian product to do something like a database inner join: my @level = ( godzilla => 9 ,gremlin => 3, hanuman => 5 ); my @origin = (

Re: Raku-LibCurl:ver<1.0> install error on older MacOS?

2020-07-13 Thread Joseph Brenner
I don't know if it's related, but I was just having some trouble with installs of LibCurl on an old linux box, I was getting errors like: # at t/01-load.t6 line 7 # Cannot locate native library 'libcurl.so': libcurl.so: cannot open shared object file: No such file or directory But I had

Re: junctions and parenthesis

2020-06-24 Thread Joseph Brenner
he syntax is less like English): say so .any eq .any; My solution would be just to always use parens on the junction functions: say so any() eq any(); On 6/24/20, Timo Paulssen wrote: > On 22/06/2020 20:12, Joseph Brenner wrote: >> > Speculating wildly: could there be a need

Re: junctions and parenthesis

2020-06-22 Thread Joseph Brenner
so "eq" binds more tightly > than "any". > > Thus > >say so any eq any ; > > parses like > >say(so(any( eq any(; > > which is indeed False. > > I'm not exactly sure what sort of warning should go here, or how it'd be > det

junctions and parenthesis

2020-06-21 Thread Joseph Brenner
I was just playing around with junctions a bit today, and I noticed that if you weren't religious about using parenthesis with them you could get quietly tripped up: say so any() eq any(); # True (as expected) say so any() eq any(); # False (as expected) say so any eq any ;

Re: interpolating the return from embedded code in a regexp

2020-06-19 Thread Joseph Brenner
gt; still on 2019.03.1). > > FYI, I had been trying to write a line of code that calls the ".words" > method on both the input lines and your product list, but for some > reason I haven't been able to get to work. Maybe it's time for me to > update, as well. > > Best

Re: interpolating the return from embedded code in a regexp

2020-06-18 Thread Joseph Brenner
hes, while > the first two fail: > > checking line: P123 Viridian Green Label Saying Magenta > NO: bad line. > checking line: P666 Yoda puppets > NO: bad line. > checking line: P912 Corn dogs > Matched, line looks good > > "This is Rakudo version 2020.02.1..

<    1   2   3   4   >