Re: bash "."?

2020-05-14 Thread ToddAndMargo via perl6-users
On 2020-05-13 22:27, Bruce Gray wrote: On May 13, 2020, at 9:37 PM, ToddAndMargo via perl6-users wrote: Hi All, Do we have anything like Bash's "." statement where we can read in a bunch of values from a .cfg file? (I think it is called "include", but I am not sure.) . /etc/sysconfig/netw

sqrt and Buf question

2020-05-14 Thread ToddAndMargo via perl6-users
Hi All, 1) how do I get 40 or more digits out of sqrt? 2) how to I assist those bytes to a 40 (or more) byte long Buf? This obviously does not work: my Num $x = 3.sqrt; my Buf $y = Buf.new($x) Type check failed in initializing element #0 to Buf; expected uint8 but got Num (1.7320508075688772

Re: sqrt and Buf question

2020-05-14 Thread Tobias Boege
On Thu, 14 May 2020, ToddAndMargo via perl6-users wrote: > Hi All, > > 1) how do I get 40 or more digits out of sqrt? > Meaningful digits? Not possible as sqrt uses limited precision. I think the IEEE 754 doubles that I would suspect to be used internally are capped way below 40 significant deci

Re: sqrt and Buf question

2020-05-14 Thread ToddAndMargo via perl6-users
On 2020-05-14 05:51, Tobias Boege wrote: On Thu, 14 May 2020, ToddAndMargo via perl6-users wrote: Hi All, 1) how do I get 40 or more digits out of sqrt? Meaningful digits? In this instance, I do not care about meaningful. I only care about the noise. Just has to be repeatable. I may ha

Re: sqrt and Buf question

2020-05-14 Thread Bruce Gray
> On May 14, 2020, at 7:27 AM, ToddAndMargo via perl6-users > wrote: > > Hi All, > > 1) how do I get 40 or more digits out of sqrt? —snip— Use an Integer Root algorithm on ($number-you-want-the-root-of * 100 ** $number-of-digits-you-want), then shift the decimal point of the result. Exac

Re: bash "."?

2020-05-14 Thread Peter Pentchev
On Thu, May 14, 2020 at 04:39:18AM -0700, ToddAndMargo via perl6-users wrote: > On 2020-05-13 22:27, Bruce Gray wrote: > > > > > > > On May 13, 2020, at 9:37 PM, ToddAndMargo via perl6-users > > > wrote: > > > > > > Hi All, > > > > > > Do we have anything like Bash's "." statement where > > >

the state of the build and install instructions

2020-05-14 Thread Joseph Brenner
I'm having trouble doing a build of raku from github. Could it be the INSTALL.txt file is out-of-date? I was trying to build a "bleeding edge" Raku using the instructions here: https://github.com/rakudo/rakudo/blob/master/INSTALL.txt So I thought I'd just need to do this: cd /home/doom/End

Re: the state of the build and install instructions

2020-05-14 Thread Elizabeth Mattijsen
Personally, I always do: perl Configure.pl --gen-moar --gen-nqp --make-install > On 14 May 2020, at 22:08, Joseph Brenner wrote: > > I'm having trouble doing a build of raku from github. Could it > be the INSTALL.txt file is out-of-date? > > I was trying to build a "bleeding edge" Raku us

Re: the state of the build and install instructions

2020-05-14 Thread Will Coleda
I think it's out of date, yes. Need a "make install" to install the binaries (by default to ./install). Previous versions of the build left a copy in ./perl6 but that hasn't been the case for a while. Thanks for the ping, we'll open a ticket to get INSTALL.txt updated. On Thu, May 14, 2020 at 4:2

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: the state of the build and install instructions

2020-05-14 Thread Will Coleda
https://github.com/rakudo/rakudo/issues/3693 On Thu, May 14, 2020 at 5:11 PM Parrot Raiser <1parr...@gmail.com> wrote: > > 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 chang

Re: sqrt and Buf question

2020-05-14 Thread ToddAndMargo via perl6-users
On 2020-05-14 08:13, Bruce Gray wrote: On May 14, 2020, at 7:27 AM, ToddAndMargo via perl6-users wrote: Hi All, 1) how do I get 40 or more digits out of sqrt? —snip— Use an Integer Root algorithm on ($number-you-want-the-root-of * 100 ** $number-of-digits-you-want), then shift the deci

Re: bash "."?

2020-05-14 Thread ToddAndMargo via perl6-users
On 2020-05-14 08:22, Peter Pentchev wrote: On Thu, May 14, 2020 at 04:39:18AM -0700, ToddAndMargo via perl6-users wrote: On 2020-05-13 22:27, Bruce Gray wrote: On May 13, 2020, at 9:37 PM, ToddAndMargo via perl6-users wrote: Hi All, Do we have anything like Bash's "." statement where we

Re: sqrt and Buf question

2020-05-14 Thread ToddAndMargo via perl6-users
On 2020-05-14 05:51, Tobias Boege wrote: On Thu, 14 May 2020, ToddAndMargo via perl6-users wrote: Hi All, 1) how do I get 40 or more digits out of sqrt? Meaningful digits? Not possible as sqrt uses limited precision. I think the IEEE 754 doubles that I would suspect to be used internally are

Re: How do I handle Getopt::Long stray entries?

2020-05-14 Thread ToddAndMargo via perl6-users
On 2020-05-11 21:19, Peter Pentchev wrote: #!/usr/bin/env raku use v6.d; use Getopt::Long; sub cmd_install($cmd, Array[Str] :$enablerepo = [], Bool :$y = False, *@rest --> int) { say 'install'; dd $cmd; dd @rest; dd $enablerepo; dd $y; return 0;

RFE: ini documentation

2020-05-14 Thread ToddAndMargo via perl6-compiler
Dear Config, https://modules.raku.org/dist/Config:cpan:TYIL Would you please consider add the following reference to your web page: https://en.wikipedia.org/wiki/INI_file It gives a wonderful description of INI files. And there are folks out there that do not realize that INI files are standa

Re: How do I handle Getopt::Long stray entries?

2020-05-14 Thread Peter Pentchev
On Thu, May 14, 2020 at 06:46:17PM -0700, ToddAndMargo via perl6-users wrote: > On 2020-05-11 21:19, Peter Pentchev wrote: > > #!/usr/bin/env raku > > > > use v6.d; > > > > use Getopt::Long; > > > > sub cmd_install($cmd, Array[Str] :$enablerepo = [], Bool :$y = False, > > *@rest --> int) > > {

Re: How do I handle Getopt::Long stray entries?

2020-05-14 Thread Peter Pentchev
On Fri, May 15, 2020 at 07:57:47AM +0300, Peter Pentchev wrote: > On Thu, May 14, 2020 at 06:46:17PM -0700, ToddAndMargo via perl6-users wrote: > > On 2020-05-11 21:19, Peter Pentchev wrote: > > > #!/usr/bin/env raku > > > > > > use v6.d; > > > > > > use Getopt::Long; > > > > > > sub cmd_install

Re: sqrt and Buf question

2020-05-14 Thread Peter Pentchev
On Thu, May 14, 2020 at 02:36:30PM -0700, ToddAndMargo via perl6-users wrote: > On 2020-05-14 08:13, Bruce Gray wrote: > > > > > > > On May 14, 2020, at 7:27 AM, ToddAndMargo via perl6-users > > > wrote: > > > > > > Hi All, > > > > > > 1) how do I get 40 or more digits out of sqrt? > > > > —