Generic callback mechanism in NCI

2007-10-18 Thread parrot
r that matter). The entires in callback_list.txt would generate functions similar to the following in nci.c # parrot callback functions void pcbf_v_JV_0(void) # depending up signature void pcbf_v_JV_1(void) ... void pcbf_v_JV_9(void) I would then add two more ops (I shudder to say that - I'

Re: Exactly what is type match?

2018-12-21 Thread Parrot Raiser
> If you get a crash using it, I suspect you made another mistake somewhere. Possibly a compiler version difference? A perl6 -v output might be worth including.

Re: lp0

2019-03-10 Thread Parrot Raiser
Do you have the printer set up in CUPS? (Common Unix Printing System.) See "man cups". Applications shouldn't normally be writing to explicit device IDs. On 3/10/19, ToddAndMargo via perl6-users wrote: > Hi All, > > How do I output data to a printer on /dev/lp0 (LPT1)? > > Many thanks, > -T >

Re: lp0

2019-03-11 Thread Parrot Raiser
ication's. On 3/10/19, ToddAndMargo via perl6-users wrote: > >> Hi All, > >> > >> How do I output data to a printer on /dev/lp0 (LPT1)? > >> > >> Many thanks, > >> -T > >> > > On 3/10/19 11:28 AM, Par

rakudobug failure

2019-05-13 Thread Parrot Raiser
I tried to report a failure to rakudobug, which generated the following report from the mailer: - --- Date: Fri, 10 May 2019 15:59:32 -0700 (PDT) ** Message not delivered ** Your message couldn't be delivered to rakudo...@per

Downloading documentation

2019-06-21 Thread Parrot Raiser
Is there a convenient way to download the Perl 6 specification as one file, rather than having to download each topic separately?

Re: Downloading documentation

2019-06-21 Thread Parrot Raiser
On 6/21/19, Brad Gilbert wrote: > The specification is the test suite. That is true, but as a guide to learning the language, it has its limitations. > I believe you are asking for downloading the documentation as one file. > On docs.perl6.org there is a link for viewing the entire thing as a >

Re: Downloading documentation

2019-06-21 Thread Parrot Raiser
Hmm, downloaded to pdf, but at 1730 pages, maybe I'd better rethink the printing. :-)*

Diagnostics?

2019-07-08 Thread Parrot Raiser
I've been fiddling with multi-line comments and the bounding characters. Naturally-paired characters e.g. #`(...) #`[...] #`{...} all work well, but with other boundary characters like #`@@ or #`!! produce odd, displaced, diagnostic messages. Reproducing them is so easy, I'll leave it as

Re: Announce: Rakudo Perl 6 compiler, Release #131 (2019.07)

2019-07-18 Thread Parrot Raiser
"https://rakudo.org/files/rakudo"; still appears to be broken; it generates a 500 page. Attempting to go there from the "compiler-only" button on the download page does the same thing. I've tried to track down the problem and the source code for the Web page, but got rather lost (I don't actually

Rakudo update due?

2019-08-02 Thread Parrot Raiser
The current version of Rakudo* is 2019.03, which makes it 5 months old. Is there likely to be an update soon? (The underlying compiler seems to have had a few fixes.) (No pressure, I just want to stay as up-to-date as possible.)

Re: perl6's new name?

2019-08-12 Thread Parrot Raiser
"5" is a version number of Perl. To run it, $/usr/bin/perl "6" is part of the name of Perl6. To run it, $/usr/bin/perl6. With the production version of Perl incremented by 2 every year, it's still about 35 years before the version gets to an inconvenient 3 digits. (Will there really be enough wort

Re: learning resources for perl6 beginner

2019-08-24 Thread Parrot Raiser
Some books: "Think Perl 6"http://shop.oreilly.com/product/0636920065883.do "Learning Perl 6"http://shop.oreilly.com/product/0636920062776.do "Perl 6 At a Glance" https://perl6.online/perl6-at-a-glance/ (which Andrew did mention) On 8/24/19, William Michels via perl6-users w

p6doc issue - #2387

2019-08-24 Thread Parrot Raiser
https://github.com/perl6/doc/issues/2387 Coke closed the issue , but for me, "p6doc build" is still broken. It looks as though whatever was "fixed in HEAD" hasn't made it into Rakudo*. Could we have details (or at least an issue number) to help implement the fix, please?

Re: processing a file in chunks

2019-10-22 Thread Parrot Raiser
CatHandle? Is that an alias for "tail"? :-)* On 10/22/19, Marcel Timmerman wrote: > On 10/22/19 1:05 PM, Marcel Timmerman wrote: >> On 10/20/19 11:38 PM, Joseph Brenner wrote: >>> I was just thinking about the case of processing a large file in >>> chunks of an arbitrary size (where "lines" or "

Re: Rakudo Star 2019.07.1

2019-11-05 Thread Parrot Raiser
After a few difficulties caused by subtly different paths and version identification (like -n vs .n for sub-version ids) the download and installation appears to have worked, but trying the REPL produced the following error message: "I ran into a problem while trying to set up Linenoise: Failed to

Re: Rakudo Star 2019.07.1

2019-11-05 Thread Parrot Raiser
generated by zef. The warning > already tells you which module the filename pertains to (Linenoise), > so I guess I'm not understanding the problem. You can locate the your > Linenoise module using the command below, and work from there. > >> mbook:~ homedir$ zef locate Linen

Re: Rakudo Star 2019.07.1

2019-11-06 Thread Parrot Raiser
When I report a problem, I try to supply as complete a picture as possible, without imposing my filter on the data. So many times I've had a vital clue omitted by someone who "didn't think that X was important". With so many parties involved, it's not surprising that errors reveal issues entirely

Who's who of the ecosystem?

2019-11-06 Thread Parrot Raiser
Raku is the product of collaboration by many people. Some of these are well known, but there are many parts of the ecosystem whose mavens are anonymous or obscure. When a problem arises, it would be nice to be able to direct them to someone knowledgeable, rather than essentially yelling them in pub

Re: getting comb to return match objects

2019-11-17 Thread Parrot Raiser
What do the official tests for this show? On 11/16/19, Joseph Brenner wrote: > William Michelswrote: > >> I went over this with Joe as well, and I was >> equally confused. > > Part of our trouble was we were playing around with the > routine form of comb (rather than the Str method), whic

Re: vulgar?

2019-12-06 Thread Parrot Raiser
It has been said that any sound the human voice can utter is rude in some language. It is also rather obvious that people who acquire second and subsequent languages informally tend to learn a very high proportion of "taboo" expressions. (Possibly because in many cases their principal source is mi

Re: comment on the new name change

2019-12-06 Thread Parrot Raiser
Should users of Raku be termed "Rakuuns"? :-)*

Re: Perl6 vs Julia

2019-12-08 Thread Parrot Raiser
Who initiated the project, and why? What deficiencies in existing languages are they trying to address? The belief that Yet Another Programming Language is the answer to the world's problems is a persistent, but (IMNSHO) a naive one. On 12/8/19, Andrew Shitov wrote: > Let’s not hide the fact tha

Re: Perl6 vs Julia

2019-12-09 Thread Parrot Raiser
I agree with you. Improving an existing one is different, even if fixing the original does give turn out to produce what is effectively a new one. Addressing a completely new class of problem would also be different, but that would be moving up the stack.

Re: Raku, docs, help [was: Re: vulgar?]

2019-12-09 Thread Parrot Raiser
That looks like a great recommendation. On 12/9/19, Mike Stok wrote: > >> On Dec 9, 2019, at 10:24 AM, Curt Tilmes wrote: >> >> On Mon, Dec 9, 2019 at 10:07 AM ToddAndMargo via perl6-users >> mailto:perl6-us...@perl.org>> wrote: >> On 2019-12-09 02:00, JJ Merelo wrote: >> > Other than that, it's

Re: Is LibraryMake still current?

2019-12-23 Thread Parrot Raiser
With the name change to Raku, has anyone considered a naming suffix policy for modules? I don't have a problem with .pm6, and I don't want to cause an outbreak of bikeshedding, but some might consider it inconsistent. As an aside, I deplore the practice of identifying the language of a directly e

Re: perl6 vs ruby

2020-03-01 Thread Parrot Raiser
Since Ruby was designed to fix what Matz considered mis-features of Perl 5, and the motivation for Rakudo was much the same, it's hardly surprising they're similar. One feature of any Open Source product to consider when investing any effort in it is the supporting community. Though Ruby was consi

Re: perl6 vs ruby

2020-03-03 Thread Parrot Raiser
> we use ruby for Biological data analysis. I wish perl6 should have got that > capability. Would you like to give us a sample problem,, to see if someone can show a potential solution?

Re: Rakudo Star v2020.01

2020-03-03 Thread Parrot Raiser
I've managed to download 2020.01, and run it with an explicit path, but the directory structure that my script used to follow, is broken in some way. (I'll investigate further, to see if I can spot the change, but a required directory tree might help me find it, if you could provide one.) A fair

Re: Rakudo Star v2020.01

2020-03-04 Thread Parrot Raiser
it's going to take careful untangling, locating every reference to files before renaming them. On 3/3/20, Patrick Spek wrote: > On Tue, 3 Mar 2020 16:41:47 -0500 > Parrot Raiser <1parr...@gmail.com> wrote: > >> I've managed to download 2020.01, and run it with an exp

Re: the state of the build and install instructions

2020-05-14 Thread Parrot Raiser
Working with p.spek p.s...@tyil.nl on a revised Rakudo Star we encountered a problem with the Configure step; it might be worthwhile contacting him to coordinate any changes. On 5/14/20, Will Coleda wrote: > I think it's out of date, yes. > > Need a "make install" to install the binaries (by defa

Re: I reproduced one of the errors!

2020-06-02 Thread Parrot Raiser
I suspect that "methods" were originally distinguished from "subroutines" because it made the rain-dance about the new cure for all civilisation's ills and the heartbreak of psoriasis, Object-Oriented Programming, look more impressive. After one has seen a few programming religions launched, the s

Re: changing name of module

2020-06-07 Thread Parrot Raiser
Create an updated version, perhaps with an "rk" prefix, (preserving any text alignment, since "p6" and "rk" are the same length), then change the "pk" version simply to invoke the "rk"? Existing code should continue to work, albeit nanoseconds slower, while new code can be culturally consistent.

Re: just curious to know

2020-06-14 Thread Parrot Raiser
There is potentially a place for Raku in education, as a language that can evolve from simple expressions in the REPL to one-liners, basic scripts and through to complete CS courses with the various programming paradigms (procedural, O-O, functional) and into language design with grammars. The cha

Re: junctions and parenthesis

2020-06-26 Thread Parrot Raiser
It seems to me that arbitrarily changing the precedence of a function would produce a horrible maintenance nightmare. It would mean recognising what had been done, interpreting the first example found in a different way than any other code, then tracking down any other place the trick had been used

Rakudo+ versions quoted in the documentation

2020-07-04 Thread Parrot Raiser
I just happened to look at the raku.org and raskudo.org download pages, and noticed that both quote 2020.01 as the most recent versions. Patrick Spek's dist.tyil.nl/raku/rakudo-star/ has both 2020.03 and 2020.05 for download following that. Should the sites be synchronised, preferably with a mech

Re: Rakudo+ versions quoted in the documentation

2020-07-05 Thread Parrot Raiser
Wouldn't the responsibility be on the web pages to keep up-to-date? That would be more a matter of agreement on the place to watch?

Re: delimiters with more than one character? ...

2020-07-16 Thread Parrot Raiser
Perhaps with a grammar? On 7/16/20, Tom Browder wrote: > An opportunity for Raku golfers to show off Raku on the Debian users list. > > Best regards, > > -Tom > > -- Forwarded message - > From: Albretch Mueller > Date: Tue, Jul 14, 2020 at 07:52 > Subject: delimiters with more th

Pod6 examples

2020-07-21 Thread Parrot Raiser
Can anyone point me at examples of pod6 in use? I'm trying to relate the syntax shown in https://docs.raku.org/language/pod to actual results. Concise would be nice, tutorial even better.

Re: Pod6 examples

2020-07-21 Thread Parrot Raiser
com/Raku/doc/tree/master/doc directory. > > Richard > > On 21/07/2020 15:40, Parrot Raiser wrote: >> Can anyone point me at examples of pod6 in use? I'm trying to relate >> the syntax shown in https://docs.raku.org/language/pod to actual >> results. Concise would be nice, tutorial even better. >

Re: print particular lines question

2020-08-25 Thread Parrot Raiser
That will golf a little (and improve it) to: $ raku -e '.say for lines()[3,2,5]' lines.txt but you have to remember that it's zero-based. I used the first sample file and got Line 4 Line 3 Line 6 "The three great problems of computer science: compiler complexity and 'off-by-one' errors". On 8/

Re: lines :$nl-in question

2020-09-02 Thread Parrot Raiser
Possibly OT, the "-er/-ee" boundary has become corrupted in recent usage. I suppose "standees" in a bus might be tolerated, depending on your view of transit riders as active or passive, but when a jail-break occurs, the former prisoners should become "escapers", not "escapees". The prison author

List name and raku installation options

2020-09-27 Thread Parrot Raiser
As I was about to post my other question, it occurred to me that perhaps we should have a raku-users list, (and corresponding ones for the other, formerly perl6-flavoured lists? And now for the actual question. I'm experimenting with installing Raku on an ARM machine, (specifically a PineBook Pro)

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

2020-11-06 Thread Parrot Raiser
Can you provide some samples of what you are trying to match and exclude? There might be alternative solutions.

Multiplication efficiency

2020-11-25 Thread Parrot Raiser
Integer multiplication's obviously baked into the hardware, but might this algorithm: https://getpocket.com/explore/item/mathematicians-discover-the-perfect-way-to-multiply?utm_source=pocket-newtab improve performance on BigInts, &c, or are we already using it? (If performance is a problem.) Acco

Fwd: The ,= operator

2020-11-29 Thread Parrot Raiser
Having a consistent ("regular", in the linguistic sense), structure for something like the op= form is obviously very desirable. It's so much easier to teach and learn a rule like "op= has the same effect, whatever "op" is; it takes the variable on the LHS, applies the operator to its contents and

Re: The ,= operator

2020-11-29 Thread Parrot Raiser
P.S. My apologies for top-posting in the quoted text, and my apologies to William for the duplication. On 11/29/20, Parrot Raiser <1parr...@gmail.com> wrote: > Having a consistent ("regular", in the linguistic sense), structure > for something like the op= form is obviousl

Re: classes and objects questions

2020-12-15 Thread Parrot Raiser
Raku allows for several different programming paradigms; procedural, functional, (as in languages like LISP), and object-oriented. It is possible to write purely procedural Raku, while ignoring O-O features completely, though it does take some dodging. Object-oriented.programming first surfaced in

Re: How do I address individual elements inside an object

2020-12-18 Thread Parrot Raiser
Although it's a standard term, "class" has a misleading connotation of "set". Using the "fruit" example, the class Fruit should indicate a set of relevant properties for a fruit, such as name, colour, taste, size, possibly cost/kilo. Individual variables can be defined as Fruit-type objects. Then $

Multiline/embedded comments

2020-12-22 Thread Parrot Raiser
While playing around with the bounding characters for the #` form, I encountered an unexpected feature, which may or may not be a bug. If the left bounding character (e.g. the { in #`{ occurs unbalanced in the commented text, the compiler apparently treats it as code, searches for the right bounder

Re: Multiline/embedded comments

2020-12-23 Thread Parrot Raiser
> On 12/22/20, Vadim Belman wrote: >> >> You interpret it incorrectly. The problem is in your '#`{' comment On 12/23/20, Parrot Raiser <1parr...@gmail.com> wrote: > Removing the space between the #` and { changes the error message to: > > ===SORRY!

Re: I need help understanding ".contains" method construction

2020-12-28 Thread Parrot Raiser
"Definition of invoke transitive verb 1a : to petition for help or support b : to appeal to or cite as authority 2 : to call forth by incantation : conjure 3 : to make an earnest request for : solicit 4 : to put into effect or operation : implement

Re: Is the cosine page wrong?

2020-12-28 Thread Parrot Raiser
I just went to the page at docs.raku.org on multi-line comments, to suggest a couple of clarifying edits. The pencil icon invoked a 404 from GitHub. When one goes to make a fix, and the fixer is broken, it's a bit recursive. Can anyone cure problem #1, so I can get to step #2? :-)* On 12/28/20, E

Re: Is the cosine page wrong?

2020-12-28 Thread Parrot Raiser
ed fix the problem. > > Richard > > On 28/12/2020 15:35, Elizabeth Mattijsen wrote: >> https://github.com/Raku/doc/issues/3753 >> >>> On 28 Dec 2020, at 16:23, Parrot Raiser <1parr...@gmail.com> wrote: >>> >>> I just went to the page at docs.r

Is there sn ETA for the next Rakudo* ?

2021-01-15 Thread Parrot Raiser
I'm setting up a new machine, and I don't want to install something I'm going to have to update in a week.

Re: list assignment

2021-01-20 Thread Parrot Raiser
The fundamental problem here seems to be the imprint of Perl's behaviour on the mental model. Assigning arrays flattens them into a list of their contents, which then gets used as input to the assignment. That means that more complicated structures, such as arrays of arrays need some faking. Raku

Performance of matrix arithmetic in Raku

2021-02-08 Thread Parrot Raiser
There's a post online comparing Python's performance of matrix arithmetic to C, indicating that Python's performance was 100x (yes, 2 orders of magnitude) slower than C's. If I understand it correctly, matrix modules in Raku call GNU code written in C to perform the actual work. Does that make Ra

Re: 'CALL-ME' Math problem?

2021-03-02 Thread Parrot Raiser
> Doing so would, of course, be a very bad idea. But still, you _could_. Something of an understatement, I think. :-)* Seriously, this made me wonder if inscrutable error messages might be clarifed by a (reverse) trace of the last few steps in parsing. That would show you what the compiler thoug

Re: Please create a Raku community channel

2021-03-16 Thread Parrot Raiser
I'n not familiar with list managers today, but in old Unix systems it used to be possible to put a ".forward" file in one's home directory that would automatically forward mail to another address. Conceptually, an alias or symbolic link, so that more than one address ultimately pointed to one acco

Re: Comparing Int and Num

2021-04-14 Thread Parrot Raiser
What do these enormous numbers represent? On 4/13/21, sisyphus wrote: > Hi, > > C:\>raku -e "say 1.8446744073709552e+19 == 18446744073709551615" > True > > I think I understand why raku deems this to be true. > The LHS is 0x1p+64, which is identical to the double that the RHS rounds > to. > (AFAI

Language conversion and comparisons

2021-07-03 Thread Parrot Raiser
https://doordash.engineering/2021/05/04/migrating-from-python-to-kotlin-for-our-backend-services/ Obviously, it's too late to persuade them to consider Raku, but it's an interesting thought experiment to add that to the comparisons. I posted this to the Perl 6 group on LinkedIn, in the absence of

Re: Should I start learning Perl?

2022-01-01 Thread Parrot Raiser
A great analysis of, and answer to, the question. Worthy of being enshrined in a blog posting.

Re: about binary protocol porting

2022-01-04 Thread Parrot Raiser
Just to reinforce Geoff's message, remember Tony Hoare's "Premature optimisation is the root of all evil" https://effectiviology.com/premature-optimization/ as quoted by Rob Pike https://users.ece.utexas.edu/~adnan/pike.html

Latest Rakudo*

2022-01-30 Thread Parrot Raiser
https://rakudo.org/star shows the latest Rakudo* bundle for Linux as 2021.04 - is that really the latest?

A natural opportunity for Raku?

2022-02-12 Thread Parrot Raiser
In this article, "Every Simple Language Will Eventually End Up Turing Complete" https://solutionspace.blog/2021/12/04/every-simple-language-will-eventually-end-up-turing-complete the author points out an unfortunate tendency for "simple" languages to accrete features and morph into misshapen monste

Re: Ping Larry Wall: excessive compile times

2022-08-30 Thread Parrot Raiser
Surely Jonathan Worthington (or one of the other people who've worked on the compiler) would be in a better position to answer this sort of question. Assuming that you write in a normal "interpreted-language" style, (i.e. gradually adding features, testing, and moving on to the next one, do you no

Re: steps of a path

2022-09-07 Thread Parrot Raiser
> > That said, right now gmail is claiming whipupitude is misspelled... > An alternative is "whipitupitude" (the difference being the first "it". Given the examples I've seen over the years, there's a need for an opposite to "idiomatic", for programming that arrives at a solution by a Rube Goldber

Re: Problem defining factorial operator in .rakumod file

2022-10-14 Thread Parrot Raiser
The cause of the problem may well need to be fixed for other reasons, but re-purposing an almost universal operator like "!" ("not") sounds like a thoroughly bad idea, the route to non-standard code. If you must have a factorial operator, what's wrong with defining "Fact"? On 10/14/22, Elizabeth

Re: folder size

2022-10-24 Thread Parrot Raiser
This https://raku.land/zef:lizmat/path-utils might be what you're seeking. (So new the electrons have barely settled into their new orbits.)

Re: Upcoming documentation meetings

2023-02-03 Thread Parrot Raiser
I think I had problems finding the audio options on Jitsi, and wasted a couple of meetings doing so. I'd suggest a "test" setup meeting, where the whole agenda is ensuring that everyone has all the settings right. Maybe set up a static video shot with background music to give feedback? On 2/2/23,

A conspicuous omission

2023-04-08 Thread Parrot Raiser
If you read this StackOverflow article: https://stackoverflow.blog/2023/03/29/from-web2-to-web3-how-developers-can-upskill-and- build-with-blockchain/ and look at the languages mentioned with APIs, you may notice some missing. That could render them irrelevant to the future. What can we do about

Rust community in distress

2023-06-08 Thread Parrot Raiser
See https://youtu.be/QEnuzwCWpgQ This is not meant to be an example of schadenfreude. Rust is an interesting language, whose ecological niche has little in common with Perl's or Raku's. Its principal rival is Go, which is definitely more corporate. Alphabet already controls far too much. (Yes,

A suitable task for Raku?

2023-11-28 Thread Parrot Raiser
In https://youtu.be/L2jnRk2GYwg?si=ffds1MWsyZaB09HR Cassie talks about creating a language for prompting AI bots. Isn't creating specialised DSs a Raku strong point?

Re: optimizer?

2024-01-07 Thread Parrot Raiser
What's the reason behind the request? On Sun, Jan 7, 2024 at 7:24 AM Elizabeth Mattijsen wrote: > $ raku --help > > ... > --optimize=level use the given level of optimization (0..3) > ... > > > On 7 Jan 2024, at 07:09, ToddAndMargo via perl6-users < > perl6-us...@perl.org> wrote: > > > > Hi

Re: CPAN -- moving forward

2009-06-01 Thread Parrot Raiser
Part of the tension here may be coming from the attempt to debate too many levels of structure at once. One of the common factors that has contributed to the longevity of Unix (in the generic sense), and the Internet, is their layered architectures. The kernel does its thing, the shell sits on top

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-04 Thread Parrot Raiser
On Wed, Jun 3, 2009 at 6:12 PM, Chris Mair wrote: > Now, my problem is that perl6 code runs very slooow :( > > I understand this is all an early phase of development, > but this is like 2 or 3 orders of magnitude slower than perl5 :( > > So, my question: is there something fundamentally > fla

Re: rakudo-current loop 2-3 orders of magnitude slower than perl 5?

2009-06-05 Thread Parrot Raiser
If Sun's propaganda about Dtrace : http://www.sun.com/bigadmin/content/dtrace/ is anywhere near true, it sounds as though it's a wheel we won't have to invent for Parrot/Rakudo. It is apparently also available for Mac OS (Leopard) http://tinyurl.com/2xas7q

Re: [perl #64058] A note about installing Rakudo

2009-06-19 Thread Parrot Raiser
On Sat, Mar 21, 2009 at 1:43 PM, Bora wrote: > >  3 . Go to the Program Files/git/bin folder and use the command " git clone > git://github.com/rakudo/rakudo.git " for downloading rakudo , When I try this, I consistently get the messages: Initialized empty Git repository in {directory}/rakudo.g

"Nonexistent file" processing

2009-06-21 Thread Parrot Raiser
Following the instructions on the Rakudo how-to-get-rakudo page, I ran ./perl hello & hello.pl As I had not yet written hello, perl6 objected as follows: $ ./perl6 hello Unable to open filehandle from path 'hello' current instr.: 'perl6;PCT;HLLCompiler;evalfiles' pc 1099756 ((unknown file):-1) cal

Re: per 5 converter?

2017-02-13 Thread Parrot Raiser
On 2/12/17, Brandon Allbery wrote: > > Translators are infamous for producing gobbledygook no self-respecting > programmer would > write > But unfortunately, far too many programmers do. :-)*

Re: [perl #130870] Some self-referential issue with hash assignment (%h1 = %h1, %h2)

2017-02-27 Thread Parrot Raiser
I agree with Brandon on this one. RHS retaining its original value, even when being updated on the LHS is a fundamental behaviour in Perl. Changing that, especially in obscure special circumstances would be bad. On 2/27/17, Brandon Allbery wrote: > And yes, I know that it *is* retaining its valu

Re: Is there a list out there of all the \n characters?

2017-03-06 Thread Parrot Raiser
"There's at least one program out there where someone apparently used od on the output of a telnet session, saw an ancient hack for ancient teletypes involving a NUL, and thought that was the "right" way to do it" Another technological Cheshire Cat bite. :-)* On 3/6/17, Brandon Allbery wrote

Re: Question for the developers on splice

2017-03-21 Thread Parrot Raiser
"Premature optimisation is the root of many evils", or words to that effect. (I forget who said it, but I think it was someone credible.) Write your code as clearly and simply as you can, then see if it performs adequately under load. If it does, you're finished. If it doesn't, instrument and tes

Re: [perl #131047] [SPAM:##] Re: mój list,

2017-03-26 Thread Parrot Raiser
Polish spam! (Or should that be kilebasa?) When did the lads from Lagos learn Polish? (It's clearly a 419.) On 3/23/17, Marina Robert wrote: > # New Ticket Created by Marina Robert > # Please include the string: [perl #131047] > # in the subject line of all future correspondence about this iss

Re: [perl #131239] where clause thunk's return value used for smartmatching

2017-05-01 Thread Parrot Raiser
If Zoffix gets this confused, maybe the explanation needs some work for mere mortals? On 4/30/17, Zoffix Znet via RT wrote: > On Sun, 30 Apr 2017 18:47:16 -0700, c...@zoffix.com wrote: > >> The correct way to write that would be to use `&`. > > And .so on .name >

Re: [perl #131362] [LTA] Can “Cannot modify an immutable X” error message also include the value? (42 = $x)

2017-05-25 Thread Parrot Raiser
"I think a good error message would be “Cannot modify an immutable Int (42)”, or whatever else which includes the value itself." Agree. Wherever possible, error messages should show exactly what upset them. The authors of the message generator know what they're complaining about, but that doesn't

Re: [perl #131363] [LTA] Using dot instead of a semicolon as a statement end (say ‘hello’.)

2017-05-25 Thread Parrot Raiser
"Warning; old COBOL programmer has escaped" :-)* On 5/25/17, Aleks-Daniel Jakimenko-Aleksejev wrote: > # New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev > # Please include the string: [perl #131363] > # in the subject line of all future correspondence about this issue. > # https://rt.per

Re: [perl #131363] [LTA] Using dot instead of a semicolon as a statement end (say ‘hello’.)

2017-05-25 Thread Parrot Raiser
My apologies for accidental top-posting; I forgot to uncheck the "include quoted" box.

Re: Are sigils required?

2017-05-26 Thread Parrot Raiser
Isn't it stretching the definition of "variable" to use it for what are really user-named constants? On 5/26/17, Gabor Szabo wrote: > thanks! > > > Gabor "impatient" Szabo > > On Fri, May 26, 2017 at 9:27 AM, Brent Laabs wrote: >> You didn't keep reading far enough. >> >>> For information on var

Re: Are sigils required?

2017-05-26 Thread Parrot Raiser
That sounds like a rather complicated way to render a program even more confusing. On 5/26/17, Timo Paulssen wrote: > You can bind an explicitly created scalar into a sigil-less variable and > it'll be variable rather than constant >

Re: zef, zef-j, zef-m

2017-05-28 Thread Parrot Raiser
If they are really identical, might it be an idea to use symbolic links for 2 of them? That would reduce the code to be stored, maintained, and transmitted, and make it blatantly obvious if different versions are required. On 5/28/17, Nelo Onyiah wrote: > I presume that's j for JVM and m for Moar

Re: [perl #131398] Feature Request: trait for unimplemented subs/methods

2017-05-30 Thread Parrot Raiser
That is so easy for a programmer to implement; I have an "nyi" subroutine/function in the my skeleton scripts for both Perl 5 and Bash. Is it worth cluttering the language?

Re: command auto-completion in perl6 shell

2017-05-30 Thread Parrot Raiser
The REPL's almost an independent project. Can it be made modular, to reduce the coupling between it and the language?

Re: Perl6 shell, Was: command auto-completion in perl6 shell

2017-05-31 Thread Parrot Raiser
e/she controls, what is stopping them? > > However, I would argue it is best, at present and in order to facilitate > adoption of perl6, that we keep to the current naming scheme and make it > easy for newcomers to perl6. > > Finanalyst > > > On Wednesday, May 31, 2017 12:34 AM, Parrot Raiser wrote: >> The REPL's almost an independent project. >> >> Can it be made modular, to reduce the coupling between it and the >> language? >

Re: Perl6 shell, Was: command auto-completion in perl6 shell

2017-05-31 Thread Parrot Raiser
> Do you have something specific in mind? I don't know enough about the internals to have any particular suggestions. Keeping functions properly local is just one of those "motherhood and apple pie" principles that is much easier to follow if it is done consistently from the start.

Re: [perl #131492] Camelia produces different error message from commandline

2017-06-05 Thread Parrot Raiser
As a kibitzer, I tried that with "This is Rakudo version 2017.04.3 built on MoarVM version 2017.04-53-g66c6dda implementing Perl 6.c". and got: perl6 –e "my \foo = Callable but role:: { };" Could not open –e. Failed to stat file: no such file or directory while: perl6 -e "say 'boo'" boo worked

Re: [perl #131492] Camelia produces different error message from commandline

2017-06-05 Thread Parrot Raiser
I just noticed the - was a different length, so I changed it, et voila: perl6 -e "my \foo = Callable but role:: { };" ===SORRY!=== Error while compiling -e Undeclared routine: role used at line 1. Did you mean 'roll'? On 6/5/17, Parrot Raiser <1parr...@gmail.com>

Re: [perl #131492] Camelia produces different error message from commandline

2017-06-05 Thread Parrot Raiser
> Something bit you; note that you are not using "-e" but "–e" (U+2013 EN DASH). > Right, the consequence of cutting & pasting. It's interesting that the error message on the corrected version is unlike either of the original examples.

Re: [perl #126732] [RFC] Problem with superscripts when there is no number in front of it (³² == 9)

2017-06-07 Thread Parrot Raiser
When I first started programming, any program that took physical input (which had usually been keyed very accurately by reliable young women) had to pass a test. It was fed its own machine code, backwards. It was expected to reach a normal EOJ, (albeit with a significant output of error messages)

Re: [perl #126732] [RFC] Problem with superscripts when there is no number in front of it (³² == 9)

2017-06-07 Thread Parrot Raiser
When I first started programming, any program that took physical input (which had usually been keyed very accurately by reliable young women) had to pass a test. It was fed its own machine code, backwards. It was expected to reach a normal EOJ, (albeit with a significant output of error messages)

  1   2   3   4   5   >