Re: Accidentally closed an issue

2020-05-30 Thread JJ Merelo
Reopened El sáb., 30 may. 2020 a las 19:26, Joseph Brenner () escribió: > I was just trying to comment on an issue I opened the other day, and I > accidentally closed it. I don't see any way for me to re-open it, so > I would guess I don't have permissions to do so. Could someone > re-open this

Re: Had a weird symptom calling raku

2020-06-06 Thread JJ Merelo
Since Raku is running CompUnits besides compiling them, it might be that there was some CompUnit creating a window in the path. Since you've been talking about GTK lately, something doing that might be left over and if it was used by something along the path, it might have been compiled, thus run,

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread JJ Merelo
Unsurprisingly, there is "if": https://github.com/FROGGS/p6-if Install it with zef install if And then... use if; # activate the :if adverb on use statements use My::Linux::Backend:if($*KERNEL.name eq 'linux');use My::Fallback::Backend:if($*KERNEL.name ne 'linux'); El dom., 7 jun. 2020 a las

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread JJ Merelo
on "use lib", so > >>> I do not have to keep commenting these back and forth? > >>> > >>> # use lib 'C:/NtUtil', '.'; > >>> use lib 'C:/NtUtil', '.', 'K:/NtUtil'; > >>>

Re: Is thre a way to do an "if" on "use lib"?

2020-06-07 Thread JJ Merelo
Also, you can simply issue different -I arguments when you invoke the script; you can put that in a shell or whatever script raku -Imy/lib script for your own lib raku -Iother/lib script for other (or Windows equivalent). No need to use Raku to change the path, actually. El dom., 7 jun. 2020

Re: Access violation when creating class instance

2020-06-24 Thread JJ Merelo
El mié., 24 jun. 2020 a las 10:05, WFB () escribió: > Hi all, > > I have an access violation on Windows for one of my classes and think it > is a bug, but not entirely sure about that. > > Every now and then creating a class instance ended my script with error: > Process finished with exit code -1

Re: perl streaming framework

2020-07-13 Thread JJ Merelo
Hi, El mar., 14 jul. 2020 a las 4:35, Warren Pang () escribió: > Hi > > Does perl have a stream computing framework? > I don't really know about Perl. It used to have Perl Data Language, but I don't know its current state. However, this mailing list is about Raku, or Perl 6 as it was called last

Re: impact of compiling pod doc

2020-07-14 Thread JJ Merelo
It's going to be pretty much the same. If it's installed, it's going to be precompiled anyway. The overhead added by reading the file might even make it slower. Of course, you can always give it a try and measure. Measuring might always surprise you :-) El mar., 14 jul. 2020 a las 14:20, Marcel Ti

Re: NativeLibs not loading on Module testing

2020-07-14 Thread JJ Merelo
I've submitted now a PR to NativeLibs that fixes that issue. El mar., 14 jul. 2020 a las 11:03, Richard Hainsworth (< rnhainswo...@gmail.com>) escribió: > I'm adding a Module to the ecosystem, and the Build system failed, see > > https://travis-ci.com/github/Raku/ecosystem/builds/175326153 > > It

Re: I cannot install any lib with Zef

2020-07-20 Thread JJ Merelo
El lun., 20 jul. 2020 a las 18:03, Aureliano Guedes (< guedes.aureli...@gmail.com>) escribió: > Hi all, > > I'm trying to figure out why I cannot install any package with zef. > > $ raku --version > This is Rakudo version 2020.06 built on MoarVM version 2020.06 > implementing Raku 6.d. > > zef ins

Re: recent perl6 book

2020-07-21 Thread JJ Merelo
I would obviously suggest my own book https://www.apress.com/gp/book/9781484249550, Perl 6 Quick Syntax Reference, published last October. And we'll have to try and find a way to update that file... El mar., 21 jul. 2020 a las 4:02, Warren Pang () escribió: > Greetings, > > Would you suggest a re

Re: recent perl6 book

2020-07-21 Thread JJ Merelo
OK, it's right there, at the bottom https://github.com/moritz/perl6book-web El mar., 21 jul. 2020 a las 9:11, JJ Merelo () escribió: > I would obviously suggest my own book > https://www.apress.com/gp/book/9781484249550, Perl 6 Quick Syntax > Reference, published last October. &g

Re: Pod6 examples

2020-07-21 Thread JJ Merelo
El mar., 21 jul. 2020 a las 17:23, Richard Hainsworth (< rnhainswo...@gmail.com>) escribió: > How about: > > https://github.com/Raku/doc/tree/master/doc/Language/pod.pod6 > > which is the pod source of https://docs.raku.org/language/pod This page is also intended as a tutorial. If there's someth

Re: Baby steps to create a dataframe structure

2020-07-22 Thread JJ Merelo
The Raku wrapper for GSL is ready, specifically all matrix operations, check it out. It's extremely fast, and could be the foundation for these data frames. El mié., 22 jul. 2020 a las 9:15, Tessa Plum () escribió: > Marc Chantreux wrote: > >> But the idea is to implement cooperatively those tool

Re: Baby steps to create a dataframe structure

2020-07-22 Thread JJ Merelo
n Wed, Jul 22, 2020 at 2:03 PM Tom Browder wrote: > >> On Wed, Jul 22, 2020 at 06:51 JJ Merelo wrote: >> >>> The Raku wrapper for GSL is ready, specifically all matrix operations, >>> check it out. It's extremely fast, and could be the foundation for thes

Re: Place for examples in a Raku module?

2020-08-13 Thread JJ Merelo
Hi, El vie., 14 ago. 2020 a las 6:25, Stuart Hungerford (< stuart.hungerf...@gmail.com>) escribió: > Hi, > > I'd like to add some example modules to a Raku module I'm working on. > These are not strictly tests, nor stand-alone scripts, but modules of > compilable code that show suggested ways to

Reminder: Fill Raku's user survey!

2020-08-30 Thread JJ Merelo
Hi, Here's the link https://docs.google.com/forms/d/e/1FAIpQLSdRPBdn1iRN_sT8BMNMOBhVbEY1u8ngZWVwLyM37sqsa4OLwQ/viewform It'll take you five minutes, top. Answers will be summarized and carefully considered. Thanks! -- JJ

Re: Reminder: Fill Raku's user survey!

2020-08-30 Thread JJ Merelo
In principle, answers are anonymous, so no way, sorry. Did you *actually* fill the form, though, or just answered the question here? We need them to be in the form, to consider them. El dom., 30 ago. 2020 a las 11:34, ToddAndMargo () escribió: > On 2020-08-30 02:26, JJ Merelo wrote: >

Re: Reminder: Fill Raku's user survey!

2020-08-30 Thread JJ Merelo
El dom., 30 ago. 2020 a las 11:43, ToddAndMargo () escribió: > >> El dom., 30 ago. 2020 a las 11:34, ToddAndMargo ( >> <mailto:toddandma...@zoho.com>>) escribió: > >> > >> On 2020-08-30 02:26, JJ Merelo wrote: > >> > Hi

Get help for your projects during hacktoberfest

2020-09-23 Thread JJ Merelo
Hi, Hacktoberfest is coming, https://hacktoberfest.digitalocean.com/, and lots of people will be running around looking for PRs to get their tees. Let's try and help them by creating a page with specific issues that we have created specifically to be easy to PR for newcomers to Raku. Here's what yo

Re: list of printers

2020-12-06 Thread JJ Merelo
El dom, 6 dic 2020 a las 10:09, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 12/4/20 8:55 PM, ToddAndMargo via perl6-users wrote: > > On 2020-12-04 20:28, Curt Tilmes wrote: > >> On Fri, Dec 4, 2020 at 10:52 PM ToddAndMargo via perl6-users > >> wrote: > >> > >>> This is t

Two days to submit your talks to FOSDEM

2020-12-20 Thread JJ Merelo
Hi, https://news.perlfoundation.org/post/fosdem-2021-call-for-papers Any kind of talk is acceptable: from lightning talks to long talks (1 hour) Cheers -- JJ

Re: Continuous testing

2020-12-23 Thread JJ Merelo
You can probably use AppVeyor. It's got good support for Windows, although you'll have to write for it specifically. This one seems to use it, for instance https://github.com/MARTIMM/gnome-native El mié, 23 dic 2020 a las 16:35, Richard Hainsworth () escribió: > Hi to everyone. > > Hope you all h

Practical Raku projects

2020-12-24 Thread JJ Merelo
Hi, El jue, 24 dic 2020 a las 3:55, Matthias Peng () escribió: > May I ask if there is any practical perl6 project running? For example, > homebrew by ruby, k8s by go, flask by python etc. > I doubt there's any perl6 practical project _now_. There are a few practical Raku projects, however, and

Re: Practical Raku projects

2020-12-24 Thread JJ Merelo
Yep, there's DBIish, which is fine and works pretty well. There's also a fabulous ORM, Red, very Rakuish, also working like a charm. Cheers El jue, 24 dic 2020 a las 12:24, Matthias Peng () escribió: > Do you know if there is any for Perl6’s DBIx::Class the ORM library? > Regards > > >> Hi, >> >

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
El mié, 30 dic 2020 a las 8:02, Veesh Goldman () escribió: > No. > I can't imagine that what you're doing now is productive. > What are you actually trying to understand by reading the source. > Probably proving his point that anything, up to and including looking at clouds and watching Turkish s

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
El mié, 30 dic 2020 a las 10:14, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 12/30/20 12:18 AM, JJ Merelo wrote: > > > > > > El mié, 30 dic 2020 a las 8:02, Veesh Goldman ( > <mailto:rabbive...@gmail.com>>) escribió: > >

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
It's "hosing me down". No, I'm not doing that. Veesh's answer was good enough for me; it probably should be for you. Cheers JJ

Re: Please take apart this stub line for me

2020-12-30 Thread JJ Merelo
El mié, 30 dic 2020 a las 11:40, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 12/30/20 2:21 AM, JJ Merelo wrote: > > It's "hosing me down". No, I'm not doing that. Veesh's answer was good > > enough for me; it probably shoul

Re: LTA documentation page

2021-01-05 Thread JJ Merelo
Gianni is basically right. rakudoc has not really been released yet into the ecosystem, and p6doc will get you the documentation itself, which you will have to build then. So LTA is true, and there's some work to be done. There's probably an issue already created, but it will pop up if you create a

Re: LTA documentation page

2021-01-05 Thread JJ Merelo
Yep, there are a couple of (known) issues here: https://github.com/Raku/problem-solving/issues/252 which request to remove it from the ecosystem (and I'll probably do it when I finish this email), and this one https://github.com/Raku/doc/issues/2896 Build.pm does not really work now, to it should p

Re: I need help with ~~m/

2021-01-29 Thread JJ Merelo
El sáb, 30 ene 2021 a las 7:24, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > Hi All, > > rakudo-pkg-2020.12-01.x86_64 > > Why does this work? > > > $x = "1.33.222.4"; > 1.33.222.4 > > $x ~~ m/ (<:N>+) [.] (<:N>+) [.] (<:N>+) [.] (<:N>+) /; > 「1.33.222.4」 > 0 => 「1」 > 1

We need you to propose projects for Google Summer of Code

2021-01-30 Thread JJ Merelo
Hi, You probably know that GSoC is an annual event where Google provides grants for students to help develop new stuff in open source organizations. https://summerofcode.withgoogle.com/ We participated a couple of years ago, and got a lot of help for the documentation and other stuff. Last year our

Re: We need you to propose projects for Google Summer of Code

2021-01-30 Thread JJ Merelo
dMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 1/30/21 12:11 AM, JJ Merelo wrote: > > Hi, > > You probably know that GSoC is an annual event where Google provides > > grants for students to help develop new stuff in open source > > organizations. http

Re: We need you to propose projects for Google Summer of Code

2021-01-30 Thread JJ Merelo
Hi, El sáb, 30 ene 2021 a las 23:14, ToddAndMargo via perl6-users (< perl6-users@perl.org>) escribió: > On 1/30/21 9:11 AM, JJ Merelo wrote: > > Anyway, my 2¢ is that in the grand scheme of things, compile time is not > > that important. > > It drives me around the

Re: We need you to propose projects for Google Summer of Code

2021-01-30 Thread JJ Merelo
https://github.com/perl-foundation-outreach/gsoc-2021-ideas/issues Here you go Cheers El dom, 31 ene 2021 a las 8:56, JJ Merelo () escribió: > Hi, > > El sáb, 30 ene 2021 a las 23:14, ToddAndMargo via perl6-users (< > perl6-users@perl.org>) escribió: > >> On 1/30/

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

2021-03-10 Thread JJ Merelo
Yep, it's not totally clear to me if it's an error in how indices are generated or an error in where index marks are placed. I'll try to check it out anyway. Thanks El mié, 10 mar 2021 a las 4:35, Will Coleda () escribió: > Please open an issue for this at github.com/Raku/doc/issues > > On Tue,

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

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

Re: Please create a Raku community channel

2021-03-13 Thread JJ Merelo
This issue has been in the problem-solving repo for a long time https://github.com/Raku/problem-solving/issues/246 So yes, we need something like this, if only to avoid confusion about what plans/roadmaps there are, what's going to be done or simply to call for elections. El sáb, 13 mar 2021 a las

Re: Please create a Raku community channel

2021-03-13 Thread JJ Merelo
I don't think it's a duplication (or, as might be the case, triplication) of resources, or a waste of resources. I learned early on that the "resources" of the community is not, as in a company, a pool with a constant value from which you, as in yourself, can draw to push forward your favorite proj

Re: too many file handles

2021-03-17 Thread JJ Merelo
Is it possible that is't got its origin in the operating system, and not in Raku itself? El mié, 17 mar 2021 a las 18:56, Elizabeth Mattijsen () escribió: > > On 17 Mar 2021, at 18:45, Richard Hainsworth > wrote: > > > > I have been running into this error: "Too many open files" > > > > Sorry fo

Re: [naive] hash assingment

2021-07-14 Thread JJ Merelo
El mié, 14 jul 2021 a las 19:43, Aureliano Guedes (< guedes.aureli...@gmail.com>) escribió: > Hi all, > > Trying to knowing a little bit more about Raku lang, I decided to write a > simple (as possible) lib to became similar to R/dplyr or Python/Pandas > method to data wrangle. > > So, Raku gives

Re: can u suggest a beginner book for perl6?

2021-09-30 Thread JJ Merelo
May I suggest my own "Perl 6 Quick Syntax Reference"? https://www.apress.com/gp/book/9781484249550 El mié, 29 sept 2021 a las 14:26, Elizabeth Mattijsen () escribió: > Perhaps Think Raku: https://greenteapress.com/wp/think-perl-6/ ? > > > On 29 Sep 2021, at 14:18, Walt CH wrote: > > > > I have s

Re: Docs on docs.raku.org need automated build

2021-11-15 Thread JJ Merelo
Testing the newly deployed docs here https://rakudocs.github.io/ I'll try and do a couple of updates and checks and if everything is OK, will deploy to the official site. El dom, 14 nov 2021 a las 19:54, Tom Browder () escribió: > Doc site i see is several weeks old and missing my last merged c

Re: Docs on docs.raku.org need automated build

2021-11-15 Thread JJ Merelo
Done also for the official site, https://docs.raku.org Check it out. El lun, 15 nov 2021 a las 19:17, JJ Merelo () escribió: > Testing the newly deployed docs here https://rakudocs.github.io/ > > I'll try and do a couple of updates and checks and if everything is OK, > w

Looking for advent calendar authors

2021-11-15 Thread JJ Merelo
Hi, 'Tis the season for looking for Advent Calendar users, so if you've got any amusing story to tell that includes Raku, please add your name here: https://github.com/Raku/advent/blob/master/raku-advent-2021/authors.md This year I'd like to have the articles by Dec 1st. So please start writing as

Re: fixing the documentation

2021-11-18 Thread JJ Merelo
Thanks a lot. Cheers El vie, 19 nov 2021 a las 0:08, Marc Chantreux () escribió: > Hello, > > > The best would be if you propose a PR or open an issue at > > https://github.com/Raku/doc. Any help with the documentation would > > most certainly be appreciated as people working on the docs project

Re: Merry Xmas day

2021-12-21 Thread JJ Merelo
Merry Xmas for you too! I wish I knew. There's no fixed roadmap, and I, for one, do not really know what's going to happen. We'll probably get closer to 6.e, and there are wonderful things in the core by the crafty and wonderful core developers. Cheers El mar, 21 dic 2021 a las 12:09, yonghua ()

Re: Rakudo-Star 2021.12 (Windows MSI and Linux RSTAR) packages

2021-12-25 Thread JJ Merelo
Great! Thanks. El sáb, 25 dic 2021 a las 12:18, escribió: > Hi all. > > The Rakudo-Star 2021.12 Windows MSI and Linux RSTAR packages are > available at [1]. The previous Windows MSI build under [2] is also > updated to 2021.10... just in case someone was using this repo and it's > versions somew

Re: Last day for FOSDEM submission

2022-01-01 Thread JJ Merelo
Well, we can very well ship a Docker image that includes Raku by default... Cheers El vie, 31 dic 2021 a las 14:21, Wesley Peng via perl6-users (< perl6-users@perl.org>) escribió: > Replacing Bash scripts with Raku? That’s an interesting thing. Can Linux > be shipped with Raku by default? > > >

Re: continuous testing

2022-01-01 Thread JJ Merelo
Try the new GitHub actions with the recently renovated Docker image. See it in action, for instance, here: https://github.com/JJ/p6-pod-load/blob/master/.github/workflows/test.yaml El vie, 31 dic 2021 a las 19:57, Richard Hainsworth () escribió: > Thanks > On 31/12/2021 18:27, Fernando Santagata

Re: continuous testing

2022-01-01 Thread JJ Merelo
Hi, El sáb, 1 ene 2022 a las 12:44, Richard Hainsworth () escribió: > JJ > Thanks. That is very useful. One interesting question. > > I notice from this setup that you chart the COMMITS, and the raku program > uses 'say' to output the results. > That's not really needed, it's just a bit of goldp

Re: Raku name change

2022-01-01 Thread JJ Merelo
That was notified a long time ago. IIRC, the PR was merged, but has not been deployed yet. Cheers El sáb, 1 ene 2022 a las 19:05, Richard Hainsworth () escribió: > Just noticed when creating new module on GitHub, the dropdown for the > .gitignore template has an entry for 'perl6' but not for rak

Re: JPEG meta-data timestamps

2022-10-08 Thread JJ Merelo
Chapter 2 of my Raku Recipes, published by APress, includes that as one of the recipes. Here's the code for that recipe: https://github.com/JJ/perl6-recipes-apress/blob/09a3465726ce96549946401970ae282baa4ba60d/Chapter-2/get-image-size.rk El dom, 9 oct 2022 a las 8:28, Fernando Santagata (< nando.

We want you to write an article for the Advent Calendar!

2022-11-28 Thread JJ Merelo
And you, and you, yes, you too. There are still some slots available. You want to talk about your module, your experience, a little tutorial, whatever, request a slot here https://github.com/Raku/advent/blob/master/raku-advent-2022/authors.md (and also send me via email a way to contact you) Cheer

Re: Help with %?RESOURCES variable

2023-04-17 Thread JJ Merelo
Can you maybe list %?RESOURCES? I see nothing wrong with it, but just in case. El lun, 17 abr 2023 a las 18:01, David Santiago () escribió: > > I'm trying to use the variable %?RESOURCES without success. It doesn't > work even when i install it locally with zef > > I have the following: > > deman

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

2024-04-17 Thread JJ Merelo
>From what I'm seeing, my impression is that you need to create a specific version, possibly with Pg bindings, to become either trusted or untrusted; there's no Trusted "node" (or bun, for that matter), but a "v8js" version of JavaScript. Any PL (procedural language) version of the language would

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

2024-05-15 Thread JJ Merelo
El mié, 15 may 2024 a las 21:08, William Michels () escribió: > Thanks for your response, JJ. > > I'm wondering if the "trusted" moniker is conferred when a > (specified/bespoke) language version sufficiently sanitizes input? > Not only that, also output to the filesystem and network. > > If so,

Offering my help with the Perl6 Text::Markdown module

2017-09-17 Thread JJ Merelo
Hi, Andrew: This is JJ Merelo, JJ in GitHub. I have been using your Text::Markdown module quite extensively, but I've had to patch a few things; on 30th July I also opened a pull request which I have increased lately with Altai-man's other pull request. Since I think that your module is

Re: Offering my help with the Perl6 Text::Markdown module

2017-09-18 Thread JJ Merelo
Thanks! 2017-09-18 4:12 GMT+02:00 : > I’ve added you to the repository – sorry about the delay, and thanks for > the help with the module! > > > > *From: *JJ Merelo > *Sent: *Sunday, September 17, 2017 4:51 AM > *To: *and...@egeler.us > *Cc: *perl6-users@perl.org &g

Re: Does words have a delimiter?

2018-04-14 Thread JJ Merelo
2018-04-14 7:27 GMT+02:00 ToddAndMargo : > Hi All, > > I am over on > https://docs.perl6.org/routine/words > and I can't make heads of tails out of it. > Can you please report that as an issue in https://github.com/perl6/doc/issues? Cheers JJ

Re: how do I do an integer divide?

2018-04-14 Thread JJ Merelo
That's actually in the documentation https://docs.perl6.org/routine/div Cheers JJ

Re: Blob - what am I missing?

2018-04-17 Thread JJ Merelo
2018-04-17 10:50 GMT+02:00 Fernando Santagata : > Hi, > I'm experimenting with Blob(s) and I'm under the impression that I don't > understand how they work. > > The documentation for the allocate() method (https://docs.perl6.org/type/ > Blob#method_allocate) reads: > > Returns a newly created Blob

Re: odd and even

2018-04-30 Thread JJ Merelo
Check out the docs.perl6.org page... And no, we don't. El lun., 30 abr. 2018 a las 8:48, ToddAndMargo () escribió: > Hi All, > > I know it would only take me 25 seconds to write one, > but do we have an odd and even function build in? > > > Many thanks, > -T > > $ perl6 -e 'my $x=3; say $x.odd;'

Re: odd and even

2018-04-30 Thread JJ Merelo
When they are not, please raise an issue. We'll try to solve it ASAP. El lun., 30 abr. 2018 a las 9:46, ToddAndMargo () escribió: > On 04/30/2018 12:04 AM, JJ Merelo wrote: > > Check out the docs.perl6.org <http://docs.perl6.org> page... And no, we > > don't.

Re: inheritance and default attributes

2018-04-30 Thread JJ Merelo
El lun., 30 abr. 2018 a las 11:08, Elizabeth Mattijsen () escribió: > > On 30 Apr 2018, at 10:55, Theo van den Heuvel > wrote: > > > > Hi all, > > > > trying to make sense of the following excerpt from the documentation on > object construction: > > > > Due to the default behavior of BUILDALL and

Re: .sub confusion

2018-05-01 Thread JJ Merelo
Can you please take this very interesting question (and the rest the answers) to StackOverflow? Cheers JJ

Re: need <-[x]> help

2018-05-03 Thread JJ Merelo
Once again, can anyone post this to StackOverflow? El jue., 3 may. 2018 a las 16:50, Fernando Santagata (< nando.santag...@gmail.com>) escribió: > Hi Todd, > > I tried to match a single string to begin with: > > my $x = '"7" ab"'; > $x ~~ s:g/ (.) \" /inches($0)/; > say $x; > > # "inches(7) ab"

Re: Range of Dates

2018-05-06 Thread JJ Merelo
Can you all take this interesting question to StackOverflow too? Thanks! El sáb., 5 may. 2018 a las 21:57, Sean McAfee () escribió: > On Wed, May 2, 2018 at 3:44 AM, Elizabeth Mattijsen > wrote: > >> Getting back to maybe your original question: if you want the date 7 days >> from now, you can j

Re: Need help converting from Perl 5

2018-05-14 Thread JJ Merelo
things that look like: > >> > > >> > $Line2 = bonecho > >> > $Line2 = custom-updates > >> > $Line2 = deerpark > >> > $Line2 = devpreview > >> > $Line2 = granparadiso > >> > $Lin

Re: number of letters question

2018-05-14 Thread JJ Merelo
IN Perl 6, it's a bit more complicated. Do you want to count graphemes or codepoints? El mar., 15 may. 2018 a las 8:32, ToddAndMargo () escribió: > Hi All, > > Do we have one of those sweet functions that will > allow us to look at a string and give us back the > count of how many "letters" and/o

Re: Need help converting from Perl 5

2018-05-14 Thread JJ Merelo
As far as I understand it, HTTP::UserAgent is preferred over LWP::Simple. It does work to spec now, so I'm using it... El mar., 15 may. 2018 a las 8:44, ToddAndMargo () escribió: > On 05/14/2018 02:42 AM, JJ Merelo wrote: > > Maybe this will work > > > > use HTTP:

Re: number of letters question

2018-05-15 Thread JJ Merelo
ons that will > >> allow us to look at a string and give us back the > >> count of how many "letters" and/or "numbers" are > >> in a string? > >> > >> And are decimal points considered numbers or letters? > >>

Re: number of letters question

2018-05-15 Thread JJ Merelo
Well, say + "abcrd-12.3.4".comb.grep: // will give you that, but say + "abcñé-12.3.4".comb.grep: // will yield the same result. Roman or other kind of numerals are excluded, though... El mar., 15 may. 2018 a las 9:44, ToddAndMargo () escribió: > On 05/15/2018 12:37 AM,

Re: number of letters question

2018-05-15 Thread JJ Merelo
El mar., 15 may. 2018 a las 10:17, ToddAndMargo () escribió: > On 05/15/2018 12:57 AM, JJ Merelo wrote: > > Well, > > say + "abcrd-12.3.4".comb.grep: // > > will give you that, but > > say + "abcñé-12.3.4".comb.grep: // > > will yield the

Re: number of letters question

2018-05-15 Thread JJ Merelo
El mar., 15 may. 2018 a las 13:48, ToddAndMargo () escribió: > On 05/15/2018 02:45 AM, Brent Laabs wrote: > > /<+alnum-[_]>/. > > What does the `+` do? > + includes a category, - eliminates one category. Check out the regexes page https://docs.perl6.org/language/regexes Cheers > > Is there a

Re: An operation first awaited

2018-05-28 Thread JJ Merelo
Hi El lun., 28 may. 2018 a las 9:04, Norman Gaywood () escribió: > T""his simple program creates a thread to read a directory with dir() and > place the files on a channel. $N worker threads read that channel and > "process" (prints) the files. But I'm getting this "An operation first > awaite

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
(also: ask questions in StackOverflow whenever possible :-) ) El mar., 12 jun. 2018 a las 9:09, JJ Merelo () escribió: > Use binding: > > my @x= <1 2 3>; my @y := @x but Iterable; say @y.^name; # OUTPUT: > «Array+{Iterable}␤» > > El mar., 12 jun. 2018 a las 9:06, Jose

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
Use binding: my @x= <1 2 3>; my @y := @x but Iterable; say @y.^name; # OUTPUT: «Array+{Iterable}␤» El mar., 12 jun. 2018 a las 9:06, Joseph Brenner () escribió: > I thought this would work to make a copy of @x but with the role > "LookInside" attached to it: > >my @y = @x but LookInside; >

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
El mar., 12 jun. 2018 a las 18:34, Brandon Allbery () escribió: > You really do want to be exclusionary, don't you? > > yada yada stackoverflow is the one truth yada yada. > Well, it really helps newcomers to find answers to their problems. It's well indexed, and it also raises visibility of the

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
Hi El mar., 12 jun. 2018 a las 18:56, Brandon Allbery () escribió: > Which doesn't change the fact that there's what amounts to an > accessibility issue. > > Do you *really* want to tell some percentage of people that they must be > willing to use the One True Web Site, or else go away because th

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
El mar., 12 jun. 2018 a las 19:07, Brandon Allbery () escribió: > That was not "also", that was "this is the right way". "Ask questions in > StackOverflow whenever possible" does not leave room for "this is also a > good venue", it asserts that there is one proper venue and others are > discourage

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
I have added this to the documentation: https://github.com/perl6/doc/commit/ddd101b089 I'll add also Liz's example to make it even clearer. Or maybe a link if it does not belong in that section. I'll see what's best. JJ

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
Please check this https://github.com/perl6/doc/commit/f6df30a8fc It's going to be soon in the docs (they are updated every 5 minutes if there are changes), however a general discussion of when to use "but" and when to use "does" is still missing. I'm working towards it in this page https://docs.pe

Re: stackoverflow vs the world (and perl6-users)

2018-06-12 Thread JJ Merelo
x27;s quite clear that wasn't my intention, and that the main problem was a misplaced "also". Never, ever, would I want to do that. > > But then, JJ Merelo (and Elizabeth Mattijsen) really aren't even > very bad offenders, as these things go. The fall-back position > ab

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
Hi, El mar., 12 jun. 2018 a las 20:35, Brad Gilbert () escribió: > On Tue, Jun 12, 2018 at 12:55 PM, Joseph Brenner > wrote: > > Thanks, both your suggestion and JJ Merelo's work, but I think I like > > yours for readability: > > > > # # using binding, su

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
El mar., 12 jun. 2018 a las 21:01, Brandon Allbery () escribió: > .WHAT is a "macro"/shorthand, which is why it's uppercase. There's a > metamodel (the real meaning of the ^) version of it as well. > Right. From here: https://docs.perl6.org/language/operators#postfix_.^ ^method calls method

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
El mar., 12 jun. 2018 a las 21:11, Brandon Allbery () escribió: > I should clarify this, but I'm not recalling full details at the moment > which is why I didn't originally. > > Perl uses a metaobject protocol (MOP, which you'll see in various places > in the docs). The "macro" to access the metao

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
This is what the documentation says: https://docs.perl6.org/syntax/WHAT You can override it, but we'll pay no attention anyway, basically. So you can't achieve it otherwise, I guess. El mar., 12 jun. 2018 a las 21:14, JJ Merelo () escribió: > > > El mar., 12 jun. 2018 a

Re: stackoverflow vs the world (and perl6-users)

2018-06-12 Thread JJ Merelo
As I said, all and any reason to not post in StackOverflow are valid. Just add a few points here El mar., 12 jun. 2018 a las 21:19, Brad Gilbert () escribió: > Stack Overflow is from Fog Creek Software. > See https://stackoverflow.com/company > > They also regularly provide bulk downloads of all

Re: mixin syntax: does vs but

2018-06-12 Thread JJ Merelo
Ah, OK, you didn't mean override WHAT itself, but get an ersatz what in some other way. Got it. Thanks. El mar., 12 jun. 2018 a las 21:32, Brad Gilbert () escribió: > On Tue, Jun 12, 2018 at 2:16 PM, JJ Merelo wrote: > > This is what the documentation says: https://docs.perl6.o

Re: RFE: eval documentation

2018-06-14 Thread JJ Merelo
Can you please open an issue in perl6/doc? It's the best to track it, and also to check that it's been solved to everyone's satisfaction. If you can't for any reason, I can open it for you, but I'll have to keep coming back to see if it's OK when solved... El jue., 14 jun. 2018 a las 20:12, ToddA

Re: RFE: eval documentation

2018-06-14 Thread JJ Merelo
El jue., 14 jun. 2018 a las 23:34, ToddAndMargo () escribió: > On 06/14/2018 02:20 PM, JJ Merelo wrote: > > Can you please open an issue in perl6/doc? It's the best to track it, > > and also to check that it's been solved to everyone's satisfaction. > > > &g

Re: using run

2018-06-20 Thread JJ Merelo
El mié., 20 jun. 2018 a las 17:32, Theo van den Heuvel (< vdheu...@heuvelhlt.nl>) escribió: > Hi all, > > trying to make sense of the documentation on run: > https://docs.perl6.org/routine/run. > In particular the last part. I don't understand the adverbs :out and : > err there. > Posted as an i

Re: a `pe4rl6 -c` error to fix

2018-06-21 Thread JJ Merelo
> > On Wed, Jun 20, 2018 at 9:59 PM, Todd Chester > What is a BEGIN block? BEGIN is one of the "phasers" that are used in Perl 6 https://docs.perl6.org/language/phasers#index-entry-Phasers__BEGIN-BEGIN It marks a block of code for running as soon as possible, and if possible during compile time

Re: MAIN subroutine

2018-07-20 Thread JJ Merelo
In general, it needs to be improved. https://github.com/perl6/doc/issues/2167 Please add to that issue or open another one to comment this specific fact. Cheers JJ

Data::Dump::Tree maintenance

2018-08-11 Thread JJ Merelo
Dear Mr. Khemir: I have noticed that there are a number of PRs and issues in the module mentioned above, including mine, which you apparently couldn't address. I have made several modifications to the module, and would be willing to take over it. Maybe you could give me a push bit in the repo? My G

Re: I need the rules for running modules from the command line

2018-08-14 Thread JJ Merelo
Since I haven't done this for a long time, let me remind you the possibility of posting, if you will, your questions _also_ in StackOverflow. You'll (possibly) get more answers (or just different ones), and will help spread the word about Perl 6 (which lately has gone back to the usual regime of on

Re: Perl6 POSIX IEEE Std 1003.1

2018-08-14 Thread JJ Merelo
Many of them are already in the ecosystem as part of lizmat's Buttefly project of porting Perl 5 CPAN modules to Perl 6. That If I remember correctly, the ones you mention are one of the few that are missing, but you can find most of them here: https://modules.perl6.org/search/?q=p5 Cheers El ma

Re: RFE: contains documentation

2018-09-09 Thread JJ Merelo
El sáb., 8 sept. 2018 a las 4:39, ToddAndMargo () escribió: > On 09/07/2018 06:25 PM, Curt Tilmes wrote: > > The documentation isn't a tutorial, but is still improving every day. > > For the function it is documenting, it had better be > a tutorial. Otherwise, why would anyone other than a > deve

  1   2   3   >