Re: [Chicken-users] getenv

2011-03-11 Thread Jim Ursetto
Hi Dave, The wiki manual tracks the latest stable release of Chicken, which is 4.6.0 and still contains "getenv". It should be removed when 4.7.0 comes out. Jim On Mar 11, 2011, at 3:33 PM, David N Murray wrote: > Hi all, > > I'm not sure fixing the docs is the correct thing here, but I'll be

[Chicken-users] getenv

2011-03-11 Thread David N Murray
Hi all, I'm not sure fixing the docs is the correct thing here, but I'll be happy to do it. http://wiki.call-cc.org/man/4/Unit%20library#get-environment-variable [procedure] (get-environment-variable STRING) [procedure] (getenv STRING) Returns the value of the environment variable STRING or #f

Re: [Chicken-users] Big Randoms

2011-03-11 Thread David N Murray
On Mar 11, Christian Kellermann scribed: > > If we are lucky we can see something obvious. :) > For posterity (and the archives) $ ulimit -c unlimited # enables coredumps but, I did it this way, instead: $ cat t1.scm (use srfi-27) (print (random-integer (expt 2 32))) $ csc -o t1 -k t1.scm $ gdb t

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Kon Lovett
On Mar 10, 2011, at 8:56 PM, David N Murray wrote: On Mar 10, Kon Lovett scribed: What happens w/ 4.6.0 when you import 'numbers' into the toplevel? i.e. #;1> (use numbers srfi-27) #;2> (expt 2 32) 4294967296 #;3> (random-integer (expt 2 32)) Floating point exception Same problem. I'

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Christian Kellermann
* David N Murray [110311 16:36]: > On Mar 11, David N Murray scribed: > > > #;2> (random-integer (expt 2 32)) > > Floating point exception > > > > Looking at the difference between your csi announcement and mine, I notice > > that I'm building the 64bit version. > > Is there something I can do t

Re: [Chicken-users] Big Randoms

2011-03-11 Thread David N Murray
On Mar 11, David N Murray scribed: > #;2> (random-integer (expt 2 32)) > Floating point exception > > Looking at the difference between your csi announcement and mine, I notice > that I'm building the 64bit version. Is there something I can do to build chicken and the egg (and use gdb?) to get mo

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Jim Ursetto
On Mar 11, 2011, at 8:55 AM, David N Murray wrote: > Looking at the difference between your csi announcement and mine, I notice > that I'm building the 64bit version. If I try the same thing on a 32-bit > build, I don't have the problem. Not that this helps much but I can reproduce the SIGFPE (o

Re: [Chicken-users] Big Randoms

2011-03-11 Thread David N Murray
On Mar 10, Kon Lovett scribed: > > Hi David, > > I get the folllowing: > > $ csi -n > > CHICKEN > (c)2008-2011 The Chicken Team > (c)2000-2007 Felix L. Winkelmann > Version 4.6.5 > macosx-unix-gnu-ppc [ manyargs dload ptables ] > compiled 2011-02-03 on Nikko.local (Darwin) > [snip] > #;3> (random-

Re: [Chicken-users] No... but it is... interesting...

2011-03-11 Thread Thomas Chust
2011/3/11 Felix : > [...] > I haven't used these, but if QML is ECMA-Script-compliant, I see no > reason why it shouldn't work. > [...] Hello, as far as I know, the scripting engine behind Qt Quick is JavaScriptCore, which comes with WebKit. Ciao, Thomas -- When C++ is your hammer, every prob

Re: [Chicken-users] No... but it is... interesting...

2011-03-11 Thread Markus Klotzbuecher
On Fri, Mar 11, 2011 at 11:43:59AM +0100, Felix wrote: > From: Markus Klotzbuecher > Subject: Re: [Chicken-users] No... but it is... interesting... > Date: Fri, 11 Mar 2011 08:54:57 +0100 > > > On Thu, Mar 10, 2011 at 09:15:15AM -0500, Felix wrote: > >> > >> This announces the availability of "S

Re: [Chicken-users] No... but it is... interesting...

2011-03-11 Thread Felix
From: Markus Klotzbuecher Subject: Re: [Chicken-users] No... but it is... interesting... Date: Fri, 11 Mar 2011 08:54:57 +0100 > On Thu, Mar 10, 2011 at 09:15:15AM -0500, Felix wrote: >> >> This announces the availability of "SPOCK", a Scheme->JavaScript >> compiler and runtime system. It can st

Re: [Chicken-users] Big Randoms

2011-03-11 Thread Peter Bex
On Thu, Mar 10, 2011 at 07:44:19PM -0800, Kon Lovett wrote: > > What happens w/ 4.6.0 when you import 'numbers' into the toplevel? i.e. > > (use numbers srfi-27) > (expt 2 32) ;=> ??? > (random-integer (expt 2 32)) ;=> ??? That should not have any effect, unless srfi-27 contains special code to