Re: [racket-users] specify test timeout for pkg-build?

2017-01-27 Thread Matthew Flatt
That sounds like a reasonable addition to `raco test`, and I'll look into adding it soon. (The addition won't be effective in pkg-build.racket-lang.org until the next release, though.) At Sat, 28 Jan 2017 11:23:44 +0800, WarGrey Gyoudmon Ju wrote: > And also, I want to control `--check-stderr` in

Re: [racket-users] specify test timeout for pkg-build?

2017-01-27 Thread Matthew Flatt
At Fri, 27 Jan 2017 15:37:51 -0500, Stephen Chang wrote: > I have a package whose tests are timing out when run by pkg-build. Is > there a way to extend this timeout? > > I know I can specify individual file timeouts with `test-timeouts` but > I couldnt figure out how to specify a timeout for

Re: [racket-users] specify test timeout for pkg-build?

2017-01-27 Thread WarGrey Gyoudmon Ju
And also, I want to control `--check-stderr` in `info.rkt` file. 1. currently, typed racket complains any `ctype?` types and warns it to stderr. 2. for some tests, display their output to stdout and stderr is more convenient than wrapping the output into something like (check-exn?), say, to see

Re: [racket-users] math/statistics running expected values

2017-01-27 Thread Steve Byan's Lists
Hi Jack, > On Jan 27, 2017, at 3:57 PM, Jack Firth wrote: > > I don't have enough stats experience to help with the details of your > problem, but I'd like to suggest adding a separate package that extends > math/statistics. You'll likely have an easier time developing

Re: [racket-users] How does syntax-local-expand-expression work?

2017-01-27 Thread Alex Knauth
You can use a wrapper around a helper macro to achieve that: #lang agile ;; The helper does the actual work (define-syntax-parser local-expanding-transformer-helper [(_ e:expr) (define-values [stx opaque] (syntax-local-expand-expression #'e)) opaque]) ;; The main macro puts the

Re: [racket-users] How does syntax-local-expand-expression work?

2017-01-27 Thread Matthew Flatt
Yes, you want to be in an 'expression context. To get into one: (define-syntax (local-expanding-transformer stx) (cond [(eq? 'expression (syntax-local-context)) (syntax-parse stx [(_ e:expr) (define-values [stx opaque] (syntax-local-expand-expression #'e))

[racket-users] Re: math/statistics running expected values

2017-01-27 Thread Jack Firth
I don't have enough stats experience to help with the details of your problem, but I'd like to suggest adding a separate package that extends math/statistics. You'll likely have an easier time developing and testing it, and you won't have to worry about adding extra dependencies to the built in

[racket-users] How does syntax-local-expand-expression work?

2017-01-27 Thread Alexis King
Given that Turnstile makes extremely heavy use of local-expand, it’s easy to imagine that the macro expander could traverse a single piece of syntax dozens of times when it really only needs to traverse it once. Looking at the docs, it seems like syntax-local-expand-expression is precisely

[racket-users] specify test timeout for pkg-build?

2017-01-27 Thread Stephen Chang
I have a package whose tests are timing out when run by pkg-build. Is there a way to extend this timeout? I know I can specify individual file timeouts with `test-timeouts` but I couldnt figure out how to specify a timeout for testing the whole package. Is this possible? Steve -- You received

Re: [racket-users] Stickers!

2017-01-27 Thread David Storrs
On Tue, Jan 24, 2017 at 4:15 PM, Ben Greenman wrote: > Hi Racket Users, > > I ordered a bunch of Racket stickers to celebrate the 6.8 release. Here's > proof: > http://www.ccs.neu.edu/home/types/resources/stickers.jpg > > If you send me your address, I will mail you

Re: [racket-users] Stickers!

2017-01-27 Thread Leif Andersen
yaa.Although thanks to Matthew Butterick we have a logo that doesn't look quite so much like the pepsi logo any more. ^.^ (Also since pepsi is in a completely different domain I think that would make things more tricky too...) Also, ya, I think you're right Neil. ~Leif Andersen On Fri, Jan

Re: [racket-users] Stickers!

2017-01-27 Thread Robby Findler
Pepsi did! ;) Robby On Fri, Jan 27, 2017 at 2:01 PM Neil Van Dyke wrote: > Leif Andersen wrote on 01/27/2017 02:45 PM: > > Do we actually have a trademark on the Racket logo? > > I believe PLT can claim trademarks on the logo and the name (without > registration costs --

Re: [racket-users] Stickers!

2017-01-27 Thread Neil Van Dyke
Leif Andersen wrote on 01/27/2017 02:45 PM: Do we actually have a trademark on the Racket logo? I believe PLT can claim trademarks on the logo and the name (without registration costs -- the "tm" rather than the circle-R), and then just needs to police a tiny bit, to keep it from falling

Re: [racket-users] Stickers!

2017-01-27 Thread Leif Andersen
Do we actually have a trademark on the Racket logo? ~Leif Andersen On Fri, Jan 27, 2017 at 2:44 PM, Ben Greenman wrote: > In my unprofessional opinion: > - don't modify the logo (change colors, stretch, add unrelated text) > - don't use the logo for personal

Re: [racket-users] Stickers!

2017-01-27 Thread Ben Greenman
In my unprofessional opinion: - don't modify the logo (change colors, stretch, add unrelated text) - don't use the logo for personal profit - don't use the logo in politics and you should be fine. On Fri, Jan 27, 2017 at 3:39 AM, Daniel Brunner wrote: > Hi, > > that's a

[racket-users] math/statistics running expected values

2017-01-27 Thread Steve Byan's Lists
Thanks for the excellent statistics library, especially the on-line algorithms for the statistics object. However, I often need to partition a large population into subsets, obtain the statistics of each subset, and obtain the statistics of various unions of the subsets as well as for the

Re: [racket-users] Client side web applications in Racket

2017-01-27 Thread Stephen De Gabrielle
Thank you all! I'm still getting my head around how modern (client side)web applications are developed and work on the users browser - the last web application I worked on was perl and fast-cgi. My understanding of modern web apps is a) you are served a base (x?)HTML(5?) page and JavaScript by

Re: [racket-users] New web page

2017-01-27 Thread Matthew Butterick
I always appreciate the feedback & suggestions. I will review these points carefully. Of course, one of the hard parts of a website redesign is that because preferences conflict, everyone ends up somewhat dissatisfied ;) But we will be continuing to revise the website, in terms of fixing bugs,

Re: [racket-users] Stickers!

2017-01-27 Thread Daniel Brunner
Hi, that's a great idea. I'd like to order some at a local supplier for distributing them in Germany/Europe. Are there any legal issues to consider? (I did not find anything in the documentation.) Kind regards, Daniel Am 24.01.2017 um 22:15 schrieb Ben Greenman: > Hi Racket Users, > > I