$epsilon = 1.0e-6 feels too big for Rat()

2015-12-31 Thread Dan Kogai
Folks, I am only beginning to unwrap the christmas present but I immediately fell in love with the perl6 arithmetic system. Not is it rich but it is also fast. % perl6 > 340282366920938463463374607431768211297.is-prime True > 340282366920938460843936948965011886881.is-prime False And type conv

Re: Bug or PEBCAK?

2015-12-31 Thread Dominique Dumont
On Wednesday 30 December 2015 19:42:38 Parrot Raiser wrote: > probing whether your compiler thinks that it is gcc Can't compile > simple gcc probe, so something is badly wrong at build/probe.pm line > 92. Looks like probe.pm cannot find gcc when trying to compile a small program. HTH -- h

Re: $epsilon = 1.0e-6 feels too big for Rat()

2015-12-31 Thread Darren Duncan
Considering that a non-fat Rat has a 64-bit denominator, I would expect conversions from Num to make use of that full precision by default, and not round off to 6 decimal places. -- Darren Duncan

Re: release?

2015-12-31 Thread webmind
On 29/12/15 17:13, andy_b...@wiwb.uscourts.gov wrote: > On Tue, Dec 29, 2015 at 01:57:57AM -0800, Darren Duncan wrote: >>> On that note, are there going to be Perl 6 versions 6.x.y where {x,y} are >> > integers? Will 6.0.0 be the first such one? -- Darren Duncan > > On Tue, Dec 29, 2015 Patrick

Re: Bug or PEBCAK?

2015-12-31 Thread Parrot Raiser
Thank you. I'm not sure how to classify this one. It never occurred to me that a new Linux installation would NOT include a C compiler. Installing gcc fixed that. On 12/31/15, Dominique Dumont wrote: > On Wednesday 30 December 2015 19:42:38 Parrot Raiser wrote: >> probing whether your compi

Re: release?

2015-12-31 Thread Brock Wilcox
On Tue, Dec 29, 2015 at 11:39 AM, webmind wrote: > > Yes, wouldn't it make sense to couple the rakudo release version to the > language it implements? > Naw -- there'll be probably monthly rakudo releases but the Specification releases should be much less frequent -- like maybe every few months

Re: release?

2015-12-31 Thread Philip Hazelden
Note that if we want scripts to be interpreter-agnostic, the perl6 binary needs to exist for #! purposes. So renaming it would be bad, but a simlink would work. On Thu, Dec 31, 2015 at 2:27 PM Brock Wilcox wrote: > On Tue, Dec 29, 2015 at 11:39 AM, webmind wrote: > >> >> Yes, wouldn't it make s

Jonathan's "Perl 6 Introductory course"

2015-12-31 Thread Tom Browder
Jonathan's intro course, in pdf, here: https://github.com/rakudo/star/raw/master/docs/2015-spw-perl6-course.pdf is excellent, of course. But I really like the presentation theme and the slide formatting! Does anyone know what slide-making process he uses? So far the best I have found that me

Re: release?

2015-12-31 Thread Parrot Raiser
That's how I have Perl 6 (and a number of other packages) set up; a version-agnostic name in a $PATH place, symbolically linking to package directory. On 12/31/15, Philip Hazelden wrote: > Note that if we want scripts to be interpreter-agnostic, the perl6 binary > needs to exist for #! purposes.

Re: Jonathan's "Perl 6 Introductory course"

2015-12-31 Thread Sitaram Chamarty
On 31/12/15 20:43, Tom Browder wrote: > Jonathan's intro course, in pdf, here: > > https://github.com/rakudo/star/raw/master/docs/2015-spw-perl6-course.pdf > > is excellent, of course. But I really like the presentation theme and > the slide formatting! > > Does anyone know what slide-making

Re: Bug or PEBCAK?

2015-12-31 Thread Brandon Allbery
On Thu, Dec 31, 2015 at 8:55 AM, Parrot Raiser <1parr...@gmail.com> wrote: > > I'm not sure how to classify this one. It never occurred to me that a > new Linux installation would NOT include a C compiler. Installing gcc > fixed that. Normal for Debianoids. "sudo apt-get install build-essential

Re: Jonathan's "Perl 6 Introductory course"

2015-12-31 Thread Tom Browder
On Thu, Dec 31, 2015 at 9:26 AM, Sitaram Chamarty wrote: > On 31/12/15 20:43, Tom Browder wrote: >> https://github.com/rakudo/star/raw/master/docs/2015-spw-perl6-course.pdf ... >> Does anyone know what slide-making process he uses? ... > Looks like Beamer (latex+beamer). > > An easy step to beam

Re: c99 hexadecimal floating point support?

2015-12-31 Thread Patrick R. Michaud
On Thu, Dec 31, 2015 at 04:13:40PM +0900, Dan Kogai wrote: > Anyway, is there a plan to support hexadecimal floating point support? > % perl6 -e 'say 0x1.921fb54442d18p+1' > ===SORRY!=== Error while compiling -e > Malformed postfix call > at -e:1 > --> say 0x1.⏏921fb54442d18p+1 $ ./perl6 -e 's

Re: $epsilon = 1.0e-6 feels too big for Rat()

2015-12-31 Thread James Ellis Osborne III
Considering that the Chinese 5th Century is 1849, I would expect http://babel.hathitrust.org/cgi/pt?id=mdp.39015046627348 to present less zuo. -jas On 31 December 2015 at 03:48, Darren Duncan wrote: > Considering that a non-fat Rat has a 64-bit denominator, I would expect > conversions from Num

Re: Jonathan's "Perl 6 Introductory course"

2015-12-31 Thread Sitaram Chamarty
On 31/12/15 21:26, Tom Browder wrote: > On Thu, Dec 31, 2015 at 9:26 AM, Sitaram Chamarty wrote: >> On 31/12/15 20:43, Tom Browder wrote: >>> https://github.com/rakudo/star/raw/master/docs/2015-spw-perl6-course.pdf > ... >>> Does anyone know what slide-making process he uses? > ... >> Looks like

Re: Jonathan's "Perl 6 Introductory course"

2015-12-31 Thread Moritz Lenz
On 12/31/2015 04:26 PM, Sitaram Chamarty wrote: > On 31/12/15 20:43, Tom Browder wrote: >> Jonathan's intro course, in pdf, here: >> >> https://github.com/rakudo/star/raw/master/docs/2015-spw-perl6-course.pdf >> >> is excellent, of course. But I really like the presentation theme and >> the

Re: Jonathan's "Perl 6 Introductory course"

2015-12-31 Thread Tom Browder
Thanks Sitaram and Moritz! -Tom