Re: [racket] Error propagation in `flexpt` [was: [racket-bug] all/14862: extflonum returns a different solution to flonum and mixed-integer calculations]

2014-12-02 Thread Mark Lee
75) > 2^53. > > For a lot more on how errors propagate through floating-point programs > and what to do about it, you can read my article on it, which seems to > still be freely available here: > > > http://www.computer.org/cms/Computer.org/ComputingNow/issues/2014/10/mcs

Re: [racket] Error propagation in `flexpt` [was: [racket-bug] all/14862: extflonum returns a different solution to flonum and mixed-integer calculations]

2014-12-02 Thread Mark Lee
On 12/01/2014 06:17 PM, Neil Toronto wrote: > #lang racket > > (require racket/extflonum > math/bigfloat) > > (define phi.t 1.6180339887498948482t0) > > (real->extfl (bigfloat->real (bfexpt (bf (extfl->exact phi.t)) > (bf 1474 > (extflexpt phi.t

[racket-users] raco demod : '"cannot instantiate `racket/gui/base' a second time in the same process"

2015-04-24 Thread Mark Lee
To all, I have a project that I'm trying to compile to a single bytecode file via (raco demod). I compile a module .rkt file which requires several library module .rkt files. One of these module .rkt files is a windowing library that call on #lang racket/gui. (raco demod) manages to flatten and

[racket-users] Re: raco demod : '"cannot instantiate `racket/gui/base' a second time in the same process"

2015-04-24 Thread Mark Lee
On Saturday, April 25, 2015 01:34:59 AM you wrote: > To all, > > I have a project that I'm trying to compile to a single bytecode file via > (raco demod). I compile a module .rkt file which requires several library > module .rkt files. One of these module .rkt files is a windowing library > that c

[racket-users] Re: raco demod : '"cannot instantiate `racket/gui/base' a second time in the same process"

2015-04-25 Thread Mark Lee
On Saturday, April 25, 2015 01:39:54 AM you wrote: > On Saturday, April 25, 2015 01:34:59 AM you wrote: > > To all, > > > > I have a project that I'm trying to compile to a single bytecode file via > > (raco demod). I compile a module .rkt file which requires several library > > module .rkt files.

[racket-users] Re: raco demod : '"cannot instantiate `racket/gui/base' a second time in the same process"

2015-04-25 Thread Mark Lee
On Saturday, April 25, 2015 01:03:13 PM you wrote: > On Saturday, April 25, 2015 01:39:54 AM you wrote: > > On Saturday, April 25, 2015 01:34:59 AM you wrote: > > > To all, > > > > > > I have a project that I'm trying to compile to a single bytecode file > > > via > > > (raco demod). I compile a m

[racket-users] Source Code Level Flattener

2015-04-26 Thread Mark Lee
To All, I recently encountered an issue while trying to demodularize my modules to create a single bytecode file. Apparently raco demod has issues with the racket gui code. Hence, I've created a source code level demodularizer. It basically reads the require statements in the source code and i

[racket-users] Strange behavior when writing to a file

2015-06-02 Thread Mark Lee
To all, I've been recently working on a database and I've encountered strange behavior when I use "call-with-atomic-output-file" and "with-output-to-file". Attached is a sample piece of code. The correct contents of the SOAP file should be : *First-Name : John *Last-Name : Doe *Gender : male *Pho

Re: [racket-users] Strange behavior when writing to a file

2015-06-03 Thread Mark Lee
On Tuesday, June 02, 2015 04:47:33 PM Matthew Flatt wrote: > I think you wanted `(and (>=` in place of `(or (<`. That did it, thanks a lot! Mistake on my part when I wrote it, the string-length check was added afterwords so I used an or statement instead of an and. Regards, Mark -- You receive

Re: [racket-users] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2016-02-03 Thread Mark Lee
To All, This message has been chronically sent to the mailing list. Can we classify it as spam and unrelated to the Racket Language? Regards, Mark On Wed, Feb 3, 2016 at 3:17 PM, Kasem A wrote: YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al