Re: [racket-users] crash in nightly build

2015-10-30 Thread Dmitry Pavlov
Matthew, Before upgrading to the version when you fixed this (or possibly other) crash, I have tried for a long time to catch it under gdb or rr (Sam, thanks for the pointer to rr). Unfortunately, the program has never crashed under gdb or rr. I do not know why. I ran it many times, and it works

Re: [racket-users] Long-term Runtime session state

2015-10-30 Thread Nota Poin
On Wednesday, October 14, 2015 at 12:30:54 AM UTC, Daniel Feltey wrote: > Some of the verbosity of units can be reduced using the "inference" features > that Racket's unit system provides. Hmm, I gave it a shot, and this seems to work. Not sure if it'd be especially useful. But fwiw -- You rec

[racket-users] Re: regexp question

2015-10-30 Thread Matthew Butterick
[[:space:]] and similar matchers also require #px. As for the difference between #rx and #px: "The pregexp ... procedures produce a regexp value using a slightly different syntax of regular expressions that is more compatible with Perl." That must be the only thing in Racket influenced by Perl.

[racket-users] Re: regexp question

2015-10-30 Thread Tim Hanson
On Friday, October 30, 2015 at 7:21:58 PM UTC+1, Matthew Butterick wrote: > To use \s as a matcher, you need #px not #rx: > > (define rx-empty-or-all-blank-string > ;#rx"^[[:space:]]*$") > #px"^\\s*$") > > See > http://docs.racket-lang.org/reference/regexp.html?q=pregexp#%28elem._%28rxex._25

[racket-users] Re: regexp question

2015-10-30 Thread Matthew Butterick
To use \s as a matcher, you need #px not #rx: (define rx-empty-or-all-blank-string ;#rx"^[[:space:]]*$") #px"^\\s*$") See http://docs.racket-lang.org/reference/regexp.html?q=pregexp#%28elem._%28rxex._25%29%29 On Friday, October 30, 2015 at 11:15:08 AM UTC-7, Tim Hanson wrote: > hi, > > I

[racket-users] regexp question

2015-10-30 Thread Tim Hanson
hi, I must be overlooking something basic, but can't figure out why the second and third tests here fail. (Makes no difference whether I spell {space-character} the [[:space:]] or the \\s way.) I'd be grateful for enlightenment. :) Cheers, Tim (define rx-empty-or-all-blank-string ;#rx"^[[:

Re: [racket-users] net/url question

2015-10-30 Thread Jay McCarthy
I just pushed a fix for these issues. Thank you! Jay On Fri, Oct 16, 2015 at 12:17 PM, Greg Hendershott wrote: > The URL needs to get split into parts, and the HTTP request will go > "on the wire" as something like: > > HEAD HTTP/1.0 > Host: www.racket-lang.org > > > When you have

[racket-users] Evaluating whatever expression halfway a debugging session

2015-10-30 Thread Marco Faustinelli
This question has been asked in 2012 and the fact that no reply has been posted makes me think this is a dead track. But nevertheless... I see that during a debugging session I can hover above an expression and rightclick to send its value to the console or so set! it something else. What I wou

[racket-users] Re: Sundials FFI wrapper

2015-10-30 Thread Lehi Toskin
On Thursday, October 22, 2015 at 1:08:57 AM UTC-7, Alexey Cherkaev wrote: > Hi all, >   > I am interested in creating the Racket wrapping for the Sundials numeric > library (http://computation.llnl.gov/casc/sundials/main.html). Ivan Raikov > did a similar job for Chicken (http://wiki.call-cc.org/