Re: Help with macports port for zef

2023-12-31 Thread raf via perl6-users
On Sun, Dec 31, 2023 at 07:09:07AM -0600, Tom Browder wrote: > On Mon, Nov 27, 2023 at 02:17 raf via perl6-users > wrote: > > > Hi. I'm trying to create a macports portfile for zef so > > > I'm not a Mac user, but I've been struggling with another Rakudo > installation method for Linux and

Re: Help with macports port for zef

2023-12-31 Thread William Michels via perl6-users
Hi raf (and Tom), You could try emailing the MacPorts-Users list: > Begin forwarded message: > > From: macports-users-requ...@lists.macports.org > Subject: macports-users Digest, Vol 208, Issue 21 > Date: December 31, 2023 at 04:00:01 PST > To: macports-us...@lists.macports.org > Reply-To: macp

Re: Help with macports port for zef

2023-12-31 Thread Tom Browder
On Mon, Nov 27, 2023 at 02:17 raf via perl6-users wrote: > Hi. I'm trying to create a macports portfile for zef so I'm not a Mac user, but I've been struggling with another Rakudo installation method for Linux and had similar problems. My solution has been to install the binary code for linux

Re: Help with %?RESOURCES variable

2023-04-20 Thread Will Coleda
On Mon, Apr 17, 2023 at 12:01 David Santiago wrote: > > 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: > > demanuel@archlinux test> cat resources/text.txt > This is my test file > demanuel@archlinux t

Re: Help with %?RESOURCES variable

2023-04-20 Thread Marcel Timmerman
On 17-04-2023 18:01, David Santiago wrote: sub MAIN(){ say %?RESOURCES{"text.txt"}.slurp(:close); } If you really want to use it from a MAIN you could make a lookup method in a module which can do the work for you (If  you are building modules anyway). use AModule; sub MAIN(){ say AModule.

Re: Help with %?RESOURCES variable

2023-04-19 Thread Polgár Márton
I mean, yes... the program runs at runtime. Anything available to the program is "available during runtime". Yes, you can look up the content at runtime - e.g from the place where it's installed. It is NOT advised to try and change the content that you can look up with %?RESOURCES - you aren't

Re: Help with %?RESOURCES variable

2023-04-19 Thread yary
https://docs.raku.org/language/variables says > %?RESOURCES is a compile-time variable available to the code of a > Distribution . > > It contains a hash that provides compile and runtime access to files > associated with the Distribution of the curren

Re: Help with %?RESOURCES variable

2023-04-19 Thread Brad Gilbert
Unless things have changed since I was last active, only modules are precompiled. `?` Twigilled variables are set at compile time. So if it had any values, they wouldn't be useful, because they would be created anew every time. On Mon, Apr 17, 2023, 11:48 AM David Santiago wrote: > > Hi Polgár >

Re: Help with %?RESOURCES variable

2023-04-17 Thread David Santiago
Hi Polgár A seg, 17-04-2023 às 18:08 +0200, Polgár Márton escreveu: > I think this is the classic case of ?-twigilled, "compile-time" > variables only being available in modules. It kind of forces you to > always have the pattern of: heavy-lifting in a module inside lib, and > the script just

Re: Help with %?RESOURCES variable

2023-04-17 Thread Polgár Márton
I think this is the classic case of ?-twigilled, "compile-time" variables only being available in modules. It kind of forces you to always have the pattern of: heavy-lifting in a module inside lib, and the script just uses the module. On 2023. 04. 17. 18:01, David Santiago wrote: I'm trying t

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: Help with promises, supplies and channels.

2022-04-08 Thread William Michels via perl6-users
Wow that was fast! Thanks Liz! On Thu, Apr 7, 2022 at 3:25 AM Elizabeth Mattijsen wrote: > Fixed with > https://github.com/rakudo/rakudo/commit/5658f4da07b44d492a3d35d57fa76939822d2c66 > > Thanks for the report! > > > On 7 Apr 2022, at 11:28, David Emanuel da Costa Santiago < > deman...@gmail.c

Re: Help with promises, supplies and channels.

2022-04-07 Thread Elizabeth Mattijsen
Fixed with https://github.com/rakudo/rakudo/commit/5658f4da07b44d492a3d35d57fa76939822d2c66 Thanks for the report! > On 7 Apr 2022, at 11:28, David Emanuel da Costa Santiago > wrote: > > > Thanks for the information! > > I opened a bug in rakudo: > > https://github.com/rakudo/rakudo/issues

Re: Help with promises, supplies and channels.

2022-04-07 Thread David Emanuel da Costa Santiago
Thanks for the information! I opened a bug in rakudo: https://github.com/rakudo/rakudo/issues/4853 Regards, David Santiago Às 05:27 de 07/04/22, yary escreveu: For what it's worth, I'm on a mac, promise_test.raku hangs for me once in a while also. Welcome to Rakudo(tm) v2021.04. Impleme

Re: Help with promises, supplies and channels.

2022-04-06 Thread yary
For what it's worth, I'm on a mac, promise_test.raku hangs for me once in a while also. Welcome to Rakudo(tm) v2021.04. Implementing the Raku(tm) programming language v6.d. Built on MoarVM version 2021.04. Trying to reduce it, I would like to find a program that reliably tickles this bug and hang

Re: Help with promises, supplies and channels.

2022-04-05 Thread William Michels via perl6-users
Thanks for the bash loop. I'm seeing a few hangs, also some errors returned saying: "Unhandled exception in code scheduled on thread 4" (MacOS 11.11) On Tue, Apr 5, 2022 at 12:47 PM David Emanuel da Costa Santiago < deman...@gmail.com> wrote: > > Hi William, > > when it fails or hangs it doesn'

Re: Help with promises, supplies and channels.

2022-04-05 Thread David Emanuel da Costa Santiago
Hi William, when it fails or hangs it doesn't print the last line. Please check attached file for output of the stack. Since the failures are random, it's easier to invoke it in a loop: bash$ for i in $(seq 100); do raku test.raku; done If nothing is wrong with the code, i'll open a bug in t

Re: Help with promises, supplies and channels.

2022-04-05 Thread William Michels via perl6-users
No problems so far. say $*VM; #add as last line, returns: moar (2021.06) On Tue, Apr 5, 2022 at 11:06 AM David Emanuel da Costa Santiago < deman...@gmail.com> wrote: > Hi, > > > > I'm trying to learn about promises, supplies and channels. So i made > this code: > > """ > > my $p1 = Supply.interv

Re: Nested `whenever` (was Re: Help with bug)

2021-01-05 Thread Gianni Ceccarelli
On 2021-01-05 David Emanuel da Costa Santiago wrote: > > so the inner ``whenever`` really sets up a separate tap every time > > it's executed. > Is this behaviour expected? It kinda looks weird to me, specially > when looking to the output... Well, it's what *I* expected: a ``whenever`` sets

Re: Nested `whenever` (was Re: Help with bug)

2021-01-05 Thread David Emanuel da Costa Santiago
Às 13:25 de 05/01/21, Gianni Ceccarelli escreveu: > >received outer 0 >received outer 1 >received outer 2 >received outer 3 >received inner 0 for outer 0 >received inner 0 for outer 1 >received inner 0 for outer 2 >received inner 0 for outer 3 >received inner

Nested `whenever` (was Re: Help with bug)

2021-01-05 Thread Gianni Ceccarelli
On 2020-12-30 Gianni Ceccarelli wrote: > Also, my understanding of ``whenever`` is that it's adding a hook into > the event loop, and only leaving the surrounding ``react`` (or > ``supply``) will remove that hook (people who understand this better > than I do: please correct me!). If that's true,

Re: Help with bug

2020-12-30 Thread David Santiago
Thanks for the explanation! A December 30, 2020 3:28:24 PM UTC, Gianni Ceccarelli escreveu: >On 2020-12-30 David Santiago wrote: >> Thanks! It's indeed much clearer. However i have a question, why the >> react on line 24? >> >> The react there isn't required right? > >I think it is ☺ The code

Re: Help with bug

2020-12-30 Thread Gianni Ceccarelli
On 2020-12-30 David Santiago wrote: > Thanks! It's indeed much clearer. However i have a question, why the > react on line 24? > > The react there isn't required right? I think it is ☺ The code, without the debugging bits:: react { whenever $channel -> $val { $conn.prin

Re: Help with bug

2020-12-30 Thread David Santiago
Às 14:43 de 30/12/20, Gianni Ceccarelli escreveu: David: please look at my version of your code, I really think it's clearer and simpler to work with, without the explicit ``.tap`` and ``.then`` (ok, I have a few ``.then``, but they're for debugging, they don't affect the actual working of the

Re: Help with bug

2020-12-30 Thread Elizabeth Mattijsen
Thank you for the compliment. But I was merely channeling Jonathan Worthington... :-) > On 30 Dec 2020, at 14:43, Gianni Ceccarelli wrote: > > Liz is, as usual, correct: there's no reason to wait until our write > buffers are flushed (``await $conn.print``) before ``react``ing to > what's in

Re: Help with bug

2020-12-30 Thread Gianni Ceccarelli
Liz is, as usual, correct: there's no reason to wait until our write buffers are flushed (``await $conn.print``) before ``react``ing to what's in our *read* buffers. In https://github.com/dakkar/raku-socket-test-from-demanuel I've removed all ``await`` but one (the ``await .connect``), and the pro

Re: Help with bug

2020-12-30 Thread David Santiago
Hi! Às 00:16 de 30/12/20, Elizabeth Mattijsen escreveu: react, feels like a code smell to me. An `await` will block the `react` block from processing other messages until the `await` returns. Which feels like it is opening up a large window of dead-locking opportunities. I changed the t

Re: Help with bug

2020-12-29 Thread Tom Browder
On Tue, Dec 29, 2020 at 17:16 Elizabeth Mattijsen wrote: > Using an `await` inside a react, feels like a code smell to me. An > `await` will I suggest using 'note' for debugging instead of print or say so info is not delayed and goes straight to stderr. -Tom

Re: Help with bug

2020-12-29 Thread Elizabeth Mattijsen
Using an `await` inside a react, feels like a code smell to me. An `await` will block the `react` block from processing other messages until the `await` returns. Which feels like it is opening up a large window of dead-locking opportunities. Couldn't a whenever be used there instead? > On 29

Re: Help with bug

2020-12-29 Thread David Santiago
Às 19:12 de 29/12/20, Gianni Ceccarelli escreveu: I fear we've uncovered a hard-to-diagnose bug in ``IO::Socket::Async::SSL`` … :-( Thanks for the confirmation. Hopefully this can be used as a test case to help solve it. Best regards, David Santiago

Re: Help with bug

2020-12-29 Thread Gianni Ceccarelli
On 2020-12-29 David Santiago wrote: > i don't want it to exit, i want it to keep reading from the socket > until a "200" code happens. Sorry, I had mis-understood the protocol. I've put the code on Github so it's easier to look at it https://github.com/dakkar/raku-socket-test-from-demanuel (thos

Re: Help with bug

2020-12-29 Thread David Santiago
Hi! Gianni Ceccarelli wrote: if $line ~~ /^340/ { await $conn.print("[$consumer]: value $val\r\n"); } else { done; } Notice that if the client receives a 340, it sends stuff back to the server, and *does not exit*. You may want to add a ``done`` after that `

Re: Help with bug

2020-12-29 Thread Gianni Ceccarelli
On 2020-12-29 David Santiago wrote: > I need some help in debugging my script. Sometimes it hangs and i > don't know why. I'm pretty sure it hangs in the inner ``react``:: if $line ~~ /^340/ { await $conn.print("[$consumer]: value $val\r\n"); } else { done; } Notice

Re: Help with bug

2020-12-29 Thread ToddAndMargo via perl6-users
On 12/29/20 4:37 AM, David Santiago wrote: Hi! I need some help in debugging my script. Sometimes it hangs and i don't know why. Hi David, I do not know if it will help you, but in my longer programs I have found that "say" will print out the prior valuies of things and generally drove me n

Re: Help converting CArray[uint8] to Blob

2020-06-18 Thread Ralph Mellor
> from approx 1.1 to 0.0006 secs. That's quite an improvement! :) Be aware of the stop gap nature of the module, and its WARNING: > At some point, these problems will be addressed in core, but in the > meantime... > This module depends on internal details of the REPRs > of the involved types i

Re: Help converting CArray[uint8] to Blob

2020-06-17 Thread Elizabeth Mattijsen
Shorter, and much more readable, I'd say: my Blob $blob = blob-from-carray($ed.data, size=>$ed.data_size); say "bindata = { now - INIT now }"; The term "now" is short for "DateTime.now.Instant" The INIT phaser is run when the program is started: it returns the value that was obtained f

Re: Help converting CArray[uint8] to Blob

2020-06-17 Thread David Santiago
Super! That what i was looking for, i changed the code to: my Instant $init = DateTime.now.Instant; my Blob $blob = blob-from-carray($ed.data, size=>$ed.data_size); say "bindata = {DateTime.now.Instant-$init}"; Output: Bindata= 0.00060054 So it passed from approx 1.1 to 0.0006 secs. That's q

Re: Help converting CArray[uint8] to Blob

2020-06-17 Thread Ralph Mellor
> Unfortunately, i get the error "Error > X::AdHoc+{X::Await::Died}+{X::React::Died}: Don't know how many elements a C array returned from a library" I googled the error message and got a bunch of matches including this: https://stackoverflow.com/questions/51081475/getting-data-out-of-native-poi

Re: Help converting CArray[uint8] to Blob

2020-06-17 Thread David Santiago
Hi! > $ed.data.head($ed.data_size) Unfortunately, i get the error "Error X::AdHoc+{X::Await::Died}+{X::React::Died}: Don't know how many elements a C array returned from a library" > > my uint8 @data = $ed.data[0..$ed.data_size-1].Array; > > my Blob $bindata = Blob[uint8].new(@data); > > Afaict

Re: Help converting CArray[uint8] to Blob

2020-06-16 Thread Ralph Mellor
> my Data $ed = await $yenc_promise; The promise must initialize each element of the CArray[uint]. It looks pretty quick; I'm guessing it's low-level code doing that. > my uint8 @data = $ed.data[0..$ed.data_size-1].Array; > my Blob $bindata = Blob[uint8].new(@data); Afaict that's a total of five

Re: Help converting CArray[uint8] to Blob

2020-06-16 Thread Bruce Gray
On my MacBook, with Raku 2020.01 built on MoarVM version 2020.01.1 changing: $ed.data[^$ed.data_size] to: $ed.data.head($ed.data_size) cut the time in half. I cannot speak to what might be happening with the Promises. Test code: class Foo { has @.data = 0 xx (1024 ** 2

Re: Help converting CArray[uint8] to Blob

2020-06-16 Thread David Santiago
Thanks for the answer. There's a slight performance improvement, but It still takes more than 1 second: Code: my Instant $init3 = DateTime.now().Instant; #my Blob $bindata = Blob[uint8].new(@data); my Blob $bindata = Blob[uint8].new($ed.data[^$ed.data_size]); say "Bindata in {DateTime.now.Instan

Re: Help converting CArray[uint8] to Blob

2020-06-16 Thread Curt Tilmes
On Tue, Jun 16, 2020 at 5:18 PM David Santiago wrote: > my uint8 @data = $ed.data[0..$ed.data_size-1].Array; > my Blob $bindata = Blob[uint8].new(@data); Not absolutely sure, but it seems like you are copying the data twice. Try just my $bindata = Blob.new($ed.data[^$ed.data_size]);

Re: Help with grammar

2020-05-23 Thread David Santiago
Thank you all for your replies. I was able to fix it and better understanding grammars :-) Regards, David Santiago Patrick R. Michaud escreveu no dia quinta, 21/05/2020 à(s) 21:05: > > On Thu, May 21, 2020 at 08:40:08PM +, David Santiago wrote: > > Can someone explain me why my grammar isn'

Re: Help with grammar

2020-05-21 Thread Patrick R. Michaud
On Thu, May 21, 2020 at 08:40:08PM +, David Santiago wrote: > Can someone explain me why my grammar isn't working? Unfortunately i > can't figure it out :-( > > | headers > | | header > | | * MATCH "Proxy-Connection" > | | header-value > | | * MATCH "keep-alive\n" > | | crlf > | |

Re: Help with grammar

2020-05-21 Thread Gianni Ceccarelli
On 2020-05-21 David Santiago wrote: > Can someone explain me why my grammar isn't working? Unfortunately i > can't figure it out :-( Mixing ``rule``, ``token``, and ``regex`` apparently at random doesn't make for a good grammar… The text at https://docs.raku.org/language/grammar_tutorial#The_tec

Re: Help with Perl 6 script

2019-08-11 Thread Eliza
me either. no error happens. 在 2019/8/10 9:30, William Michels via perl6-users 写道: Spoiler alert: the Perl6 code you posted works with no errors on my Perl6 install.

Re: Help with Perl 6 script

2019-08-09 Thread William Michels via perl6-users
Hi Rui, Have you considered just installing Perl 6 ? https://rakudo.org https://www.perl6.org Spoiler alert: the Perl6 code you posted works with no errors on my Perl6 install. Best Regards, Bill. On Thu, Aug 8, 2019 at 1:07 PM Rui Fernandes wrote: > > Greetings > > I have this Perl 6 script

Re: Help! Upgrade broke -M

2019-04-25 Thread ToddAndMargo via perl6-users
On 4/23/19 7:27 PM, ToddAndMargo via perl6-users wrote: Hi All, Okay, I am, in trouble.  I just upgraded from     rakudo-pkg-Fedora29-2018.11-01.x86_64.rpm to     rakudo-pkg-Fedora29-2019.03.1-01.x86_64.rpm and now I bomb on all my "use lib's". Virtually everything I have written bombs.   

Re: help with map and regexp

2017-09-21 Thread Brandon Allbery
On Thu, Sep 21, 2017 at 2:37 AM, Luca Ferrari wrote: > Out of cursiosity: what is the diffence between using "is copy" and "<->"? > Seems to me the map example can work with both. > <-> is the same as "is rw" and requires that the thing being bound be a mutable container, which will be altered i

Re: help with map and regexp

2017-09-21 Thread Brent Laabs
You can also use a whatever star with the subst method to avoid the block entirely, and just chain method calls: my @fields = $line.split( ',' ).map: *.subst(/\'/, "", :g).subst(/^\"|\"$/, "", :g); On Wed, Sep 20, 2017 at 11:37 PM, Luca Ferrari wrote: > On Tue, Sep 19, 2017 at 2:43 PM, Timo Pa

Re: help with map and regexp

2017-09-20 Thread Luca Ferrari
On Tue, Sep 19, 2017 at 2:43 PM, Timo Paulssen wrote: > perl6 -e '.perl.say for "hello, how, are, you".split(",").map: -> $_ > is copy { s:g/a//; s:g/^ \s|\s $/O/; $_ }' > "hello" > "Ohow" > "Ore" > "Oyou" Thanks. Out of cursiosity: what is the diffence between using "is copy"

Re: help with map and regexp

2017-09-19 Thread Timo Paulssen
You'll have to type the $_ of the block as "is copy" if you want to do this. Another way would be to have "is rw" but that can of course only work if a container is present in what you map over; there isn't in this case.     perl6 -e '.perl.say for "hello, how, are, you".split(",").map: -> $_ is c

Re: Help me be greedy!

2017-08-04 Thread ToddAndMargo
On 08/04/2017 03:24 PM, Brent Laabs wrote: PCRE has the /U flag that reverses the behavior of .* and .*? (/PCRE_UNGREEDY)/ Greed ultimately wasn't the issue. I screwed up a bunch of other things.

Re: Help me be greedy!

2017-08-04 Thread Brent Laabs
PCRE has the /U flag that reverses the behavior of .* and .*? ( *PCRE_UNGREEDY)* This was always a terrible idea, and is probably the source of your confusion. On Fri, Aug 4, 2017 at 12:38 PM, Brandon Allbery wrote: > Like I said, greedy is the default, *.? says *don't* be greedy. You wanted >

Re: Help me be greedy!

2017-08-04 Thread Brandon Allbery
Like I said, greedy is the default, *.? says *don't* be greedy. You wanted .* for greedy match. But even with that, the extra .* before the f was telling it to eat stuff (greedily, since no ?, so it out-greed-ed the captured non-greedy .*?). On Friday, August 4, 2017, ToddAndMargo wrote: > On Fr

Re: Help me be greedy!

2017-08-04 Thread ToddAndMargo
On Friday, August 4, 2017, ToddAndMargo > wrote: Hi All, I NEED TO BE GREEDY! HAHA HAHA . Okay, I am back in control of myself (for the moment). What am I doing wrong here? perl6 -e 'my $x="a b c d e f"; $x ~~ m/.*?(c.*?).*f/; say "<$0>";'

Re: Help me be greedy!

2017-08-04 Thread Brandon Allbery
The ? is the opposite of greedy, just as in pcre/perl 5. Greedy is the default. I also don't see why you have a .* before f if you want to capture everything before the f. On Friday, August 4, 2017, ToddAndMargo wrote: > Hi All, > > I NEED TO BE GREEDY! HAHA HAHA . > > Okay, I am back in contro

Re: Help mechanism in REPL?

2016-09-10 Thread Elizabeth Mattijsen
FWIW, the .WHY is a method just like any other. What would need to be changed, is the behaviour of Mu.WHY (around line 60 in Mu.pm). > On 10 Sep 2016, at 16:41, Brad Gilbert wrote: > > There was some talk in the past about having `.WHY` look up the > descriptions in the POD6 doc ( so that we d

Re: Help mechanism in REPL?

2016-09-10 Thread Brad Gilbert
There was some talk in the past about having `.WHY` look up the descriptions in the POD6 doc ( so that we don't have to bloat Rakudo with that information ) On Fri, Sep 9, 2016 at 6:30 PM, Alex Elsayed wrote: > On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote: >> This isn't a reque

Re: Help mechanism in REPL?

2016-09-10 Thread Rob Hoelz
On Fri, 09 Sep 2016 16:30:28 -0700 Alex Elsayed wrote: > On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote: > > This isn't a request for a feature, merely a thought experiment. > > We're still in the phase where it's more important to ensure that > > existing features work properly

Re: Help mechanism in REPL?

2016-09-09 Thread Alex Elsayed
On Wednesday, 7 September 2016 17:57:32 PDT Parrot Raiser wrote: > This isn't a request for a feature, merely a thought experiment. We're > still in the phase where it's more important to ensure that existing > features work properly than add new ones. > > How difficult would it be to include a me

Re: help installing Inline::Perl5

2015-06-07 Thread Brandon Allbery
On Sun, Jun 7, 2015 at 7:43 PM, RB wrote: > This is perl6 version 2015.03 built on MoarVM version 2015.03 Recent Panda requires a recent Rakudo; the "unit" change happened in the last 2 weeks. -- brandon s allbery kf8nh sine nomine associates allber...@gmail.com

Re: Help re-building rakudo

2009-03-02 Thread Patrick R. Michaud
On Sun, Mar 01, 2009 at 03:32:46PM -0600, Chris Dolan wrote: > On Feb 26, 2009, at 3:06 PM, Moritz Lenz wrote: > >> But after that please do a 'make clean; perl Configure.pl' to make >> sure >> that the fallout of the previous build don't affect the new one. > > Time to update tools/rebase-rakudo

Re: Help re-building rakudo

2009-03-01 Thread Chris Dolan
On Feb 26, 2009, at 3:06 PM, Moritz Lenz wrote: But after that please do a 'make clean; perl Configure.pl' to make sure that the fallout of the previous build don't affect the new one. Time to update tools/rebase-rakudo.pl! Chris

Re: Help re-building rakudo

2009-03-01 Thread Moritz Lenz
yary wrote: > OK, I'll try some/all of the suggestions. I have a few comments- > > On Thu, Feb 26, 2009 at 12:06 PM, Patrick R. Michaud > wrote: > ... >> A longer announcement should be hitting the list later today, >> but for now the recommended build sequence for rakudo is: >> >> $ git clone

Re: Help re-building rakudo

2009-02-26 Thread Patrick R. Michaud
On Thu, Feb 26, 2009 at 10:06:53PM +0100, Moritz Lenz wrote: > But after that please do a 'make clean; perl Configure.pl' to make sure > that the fallout of the previous build don't affect the new one. I've been thinking that Configure.pl should force a 'make clean' to avoid the problem altogether

Re: Help re-building rakudo

2009-02-26 Thread yary
OK, I'll try some/all of the suggestions. I have a few comments- On Thu, Feb 26, 2009 at 12:06 PM, Patrick R. Michaud wrote: ... > A longer announcement should be hitting the list later today, > but for now the recommended build sequence for rakudo is: > >  $ git clone git://github.org/rakudo/rak

Re: Help re-building rakudo

2009-02-26 Thread Patrick R. Michaud
On Thu, Feb 26, 2009 at 11:53:21AM -0800, yary wrote: > I have rakudo built under my parrot directory. I updated and rebuilt > parrot, then updated and rebuilt rakudo, but rakudo won A longer announcement should be hitting the list later today, but for now the recommended build sequence for rakud

Re: Help building pugs

2009-02-23 Thread yary
I've got pugs installed now. I had to tell cabal where I installed my aftermarket libraries: pinky ~/pugs $ cabal install pugs --extra-lib-dirs=/usr/local/lib --extra-include-dirs=/usr/local/include . pinky ~/pugs $ pugs __ /\ __ \ \ \ \/\ \ __ __ __ __ (P)erl 6 \

RE: Help with the "What can I do with Perl 6 today" wiki page

2008-04-20 Thread Conrad Schneiker
> From: Aaron Trevena [mailto:[EMAIL PROTECTED] > > I started the "What can I do with Perl 6 today" wiki page at the start > of the year, but have been too busy with $paid_work to put much time > into it since. > > I was hoping anybody who's written perl 6 code and run it with Rakudo > or pugs co

Re: Help understanding syntax in S06 "Pairs as lvalues"

2008-04-17 Thread Larry Wall
On Sun, Apr 13, 2008 at 09:00:08PM -, John M. Dlugosz wrote: : : :(:who($name), :why($reason)) := (why => $because, who => "me"); : : What do the symbols $name and $reason refer to? Are they names already in scope? That would be the intent, yes. Mind you, it seems like something only a cr

Re: Help with the "What can I do with Perl 6 today" wiki page

2008-04-16 Thread Aaron Trevena
On 16/04/2008, Aaron Trevena <[EMAIL PROTECTED]> wrote: > I started the "What can I do with Perl 6 today" wiki page at the start > of the year... That would be at http://www.perlfoundation.org/perl6/index.cgi?what_can_i_do_with_perl_6_today A. -- http://www.aarontrevena.co.uk LAMP System Int

Re: Help getting pugs working?

2006-08-30 Thread Jeff Stampes
Thanks to Steffen and others who sent me some help and words of encouragement...I believe I have it working now :)

Re: Help getting pugs working?

2006-08-30 Thread Steffen Schwigon
Jeff Stampes <[EMAIL PROTECTED]> writes: > We're running Red Hat Enterprise 4, and I'm stuck at square one, > trying to get GHC running. You need ghc working to compile ghc, or > you need to bootstrap it. Did you already try one of the binaries from http://www.haskell.org/ghc/download_ghc_641.h

Re: Help Understanding Configure.pl Output

2006-07-21 Thread Joshua Hoblitt
On Fri, Jul 21, 2006 at 03:04:06PM -0400, Mr. Shawn H. Corey wrote: > Determining if your C compiler is actually gcc.yes. > Determining if your C compiler is actually Visual C++...no. > Enabling optimization...n

Re: -help

2005-09-13 Thread Sam Phillips
On 12 Sep 2005, at 19:27, [EMAIL PROTECTED] wrote: -help That's a bit spooky, are you a prisoner in a Swiss bank?

RE: -help

2005-09-13 Thread Alex . Banks
lol apologies, and oh dear... i was trying to find out the commands for the mail engine -Original Message- From: Sam Phillips [mailto:[EMAIL PROTECTED] Sent: 12 September 2005 22:55 To: Banks, Alex Cc: perl6-internals@perl.org Subject: Re: -help On 12 Sep 2005, at 19:27, [EMAIL

Re: Help compile parrot on arm-linux

2005-04-14 Thread Leopold Toetsch
=?gb2312?q?=C3=F7=20=D6=EC?= <[EMAIL PROTECTED]> wrote: > Hello! > I'm new to parrot, sorry for my pool english first. > > I downloaded parrot-0.1.2 to my debian-arm box --- > its cpu(arm920t) is s3c2410 of Samsung. > first , I run "perl Configure.pl --cc=gcc --cxx=g++ > --link=gcc" to confi

RE: Help me please

2003-10-16 Thread Jeffrey Carlyle
Paul Johnson <> wrote: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg00326.html > > I did wonder why it never made the summary. On the bright side, all of these recent discussion has finally given me reason to setup a procmail filter to sort out this list.

Re: Help me please

2003-10-16 Thread Paul Johnson
On Thu, Oct 16, 2003 at 09:37:52AM +0100, Piers Cawley wrote: > Stefan Lidman <[EMAIL PROTECTED]> writes: > > >>Shannon Francis <[EMAIL PROTECTED]> writes: > >> > >>[...] > >> > >>Oh dear. > >> > >>Asking a mailing list to do your homework for you is bad > >>enough. Asking a mailing list that has

Re: Help me please

2003-10-16 Thread Piers Cawley
Stefan Lidman <[EMAIL PROTECTED]> writes: >>Shannon Francis <[EMAIL PROTECTED]> writes: >> >>[...] >> >>Oh dear. >> >>Asking a mailing list to do your homework for you is bad >>enough. Asking a mailing list that has recently been quiet enough to >>elicit jokes about it in the summaries is, well,

Re: Help me please

2003-10-15 Thread Stefan Lidman
>Shannon Francis <[EMAIL PROTECTED]> writes: > >[...] > >Oh dear. > >Asking a mailing list to do your homework for you is bad >enough. Asking a mailing list that has recently been quiet enough to >elicit jokes about it in the summaries is, well, we'll have to see >what sort of mood I'm in when I w

Re: Help me please

2003-10-15 Thread Piers Cawley
Shannon Francis <[EMAIL PROTECTED]> writes: [...] Oh dear. Asking a mailing list to do your homework for you is bad enough. Asking a mailing list that has recently been quiet enough to elicit jokes about it in the summaries is, well, we'll have to see what sort of mood I'm in when I write the n

RE: help raise hell

2003-08-14 Thread Michal Wallace
On Mon, 11 Aug 2003, Joseph F. Ryan wrote: > How are you currently throwing/catching exceptions? I think it > might be much more difficult to create a model that "traps" > exceptions, rather than setting up code that just "figures out" how > to handle an exception when it occurs. Both JVM->PIR a

RE: help raise hell

2003-08-14 Thread Joseph F. Ryan
> -Original Message- > Date: Mon 08/11/03 3:30 AM > From: Michal Wallace <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > CC: > Subject: help raise hell > > > > Here is how I usually trigger a generic exception > in python: > > >>> raise hell > Traceback (most recent call last)

Re: help raise hell

2003-08-12 Thread Jos Visser
On Mon, Aug 11, 2003 at 03:30:44AM -0400 it came to pass that Michal Wallace wrote: > because a find_lex failure isn't an exception. > Or am I missing something? Currently find_lex does *not* throw an exception. Inside "scratchpad_get"(and friends) an internal exception is thrown which just termin

Re: help on java perl integration

2003-06-12 Thread Nicholas Clark
On Thu, Jun 12, 2003 at 02:41:12PM +0530, Raghu wrote: > Hi , > I am try to integrate a Perl application into Java. I am using Perl5.6.1 > > with jdk1.4 on solaris2.8. > I am using JNI to access the perl api's to perform this. The C > application runs fine, but the Java application core dumps at o

Re: Help with setting up Perl6

2002-12-12 Thread Sean O'Rourke
On Wed, 11 Dec 2002, Jared Rhine wrote: > In languages/perl6/t/compiler/1_1.err, I get: > > Can't find loader Parrot_DynOp_core_0_0_7: ../imcc/imcc: undefined > symbol: Parrot_DynOp_core_0_0_7 > > which is suspicious for the 0_0_7 when I actually checked out 0_0_8. You're right on the mark her

Re: Help! Strings -> Numbers

2002-11-22 Thread Dave Storrs
On Fri, Nov 22, 2002 at 12:10:11PM -0800, Michael Lazzaro wrote: > On Friday, November 22, 2002, at 10:59 AM, Luke Palmer wrote: > >> From: Michael Lazzaro <[EMAIL PROTECTED]> > I've been under the impression that the following would _not_ work: > > $s ~~ //; > print "I found $number";

Re: Help! Strings -> Numbers

2002-11-22 Thread Michael Lazzaro
On Friday, November 22, 2002, at 10:59 AM, Luke Palmer wrote: From: Michael Lazzaro <[EMAIL PROTECTED]> (This is a bit off-topic, but it's a tiny bit sad that you can name subrules, but you can't refer to them by name in the interpolation unless you use hypothetical vars. Eh, no biggie: it would

Re: Help! Strings -> Numbers

2002-11-22 Thread Luke Palmer
> Date: Fri, 22 Nov 2002 10:49:08 -0800 > From: Michael Lazzaro <[EMAIL PROTECTED]> > > Or, using hypothetical vars: > > $s ~~ s/ $num := /$num.as(MoneyFormat)/; > > (This is a bit off-topic, but it's a tiny bit sad that you can name > subrules, but you can't refer to them by name in the i

Re: Help! Strings -> Numbers

2002-11-22 Thread Michael Lazzaro
On Thursday, November 21, 2002, at 11:22 AM, Tanton Gibbs wrote: It would be very useful in the second half of a s///, too (grab a match, rewrite it in a canonical form): $s ~~ s///; once again, I think it could just be $s ~~ s//$1.as(MoneyFormat)/ Or, using hypothetical vars:

Re: Help! Strings -> Numbers

2002-11-21 Thread Jonathan Scott Duff
On Wed, Nov 20, 2002 at 05:51:17PM -0500, Tanton Gibbs wrote: > It's going to be hard to beat sprintf( "%x", $i ) for clarity or > conciseness. my $s = "%x" % $i; # python wins for conciseness :-) -Scott -- Jonathan Scott Duff [EMAIL PROTECTED]

Re: Help! Strings -> Numbers

2002-11-21 Thread Piers Cawley
Larry Wall <[EMAIL PROTECTED]> writes: > On Thu, Nov 21, 2002 at 01:29:32AM -0500, Tanton Gibbs wrote: > : Properties have bothered me, but for a different reason. It appears that > : everyone's answer to everything is "make it a property!" > > Yes, properties should generally be a last resort, n

Re: Help! Strings -> Numbers

2002-11-21 Thread Dave Storrs
On Thu, Nov 21, 2002 at 09:10:53AM -0800, Larry Wall wrote: > On Wed, Nov 20, 2002 at 10:16:54PM -0800, Dave Storrs wrote: > : As a tangent...one of the things that has bothered me about "but" and > : "is" for properties since the beginning is that they make for > : excessively long code. Does th

Re: Help! Strings -> Numbers

2002-11-21 Thread Dave Whipp
"Michael Lazzaro" <[EMAIL PROTECTED]> wrote : > > 1) "Formats" as classes. What I _want_ to do is to be able to > associate a named "format" with a given class/instance/output, because > I tend to use the same few formats over and over. So if I want to > frequently output numbers as '%-4.2d', I j

Re: Help! Strings -> Numbers

2002-11-21 Thread Tanton Gibbs
> 1) "Formats" as classes. What I _want_ to do is to be able to > associate a named "format" with a given class/instance/output, because > I tend to use the same few formats over and over. So if I want to > frequently output numbers as '%-4.2d', I just call it "MoneyFormat" or > something: > >

Re: Help! Strings -> Numbers

2002-11-21 Thread Michael Lazzaro
On Thursday, November 21, 2002, at 12:16 AM, Dave Storrs wrote: I do agree that having it be a method (and hence overloadable) is the best solution. I just wish there were some way to get away from those dratted sprintf format strings. Amen. God, I've hated those things for years. And yet m

Re: Help! Strings -> Numbers

2002-11-21 Thread Tanton Gibbs
> If I'm understanding them correctly, another way to think of runtime > properties is "dynamic inheritance", or more specifically > "instance-based inheritance". When you say: > > $v but foo(5); > > You're saying that instance/value $v now inherits the behaviors of > foo(5), in addition to it

  1   2   >