[racket] improving image quality

2014-10-07 Thread Stephen De Gabrielle
thanks - *very* pretty plots now. S. On Wed, Oct 8, 2014 at 2:24 AM, Robby Findler > wrote: > If you use plot-pict, it will do the right thing. > > And probably plots should implement the pict-convertible? api. > > Robby > > > On Tue, Oct 7, 2014 at 7:55 PM, Stephen De Gabrielle > > wrote: > >

Re: [racket] Web authentication tutorials?

2014-10-07 Thread Jordan Johnson
OK. Thanks, Jay. Best, jmj On Oct 7, 2014, at 8:09 AM, Jay McCarthy wrote: > As far as I know, a library similar to what you describe does not > exist. As far as using authentication generally, there's nothing > special that you should do differently in a Racket app... just follow > any advice

Re: [racket] Macro in typed racket

2014-10-07 Thread Jack Firth
Sorry for the private email instead of public, I always seem to miss the reply-all button. I did get it to work, but it felt off. If it were to actually be added to typed racket, it might be better to have some sort of standalone form like (define-type-arg-convention number Number) which lets all y

Re: [racket] Macro in typed racket

2014-10-07 Thread Matthias Felleisen
We exchange email off-line and Jack figured out what he wanted. It might be neat to add it to TR. On Oct 7, 2014, at 9:24 PM, Alexander D. Knauth wrote: > > On Oct 7, 2014, at 2:38 PM, Jack Firth wrote: > >> I read a tweet about someone wistfully wishing there was some sort of "the" >

Re: [racket] Macro in typed racket

2014-10-07 Thread Alexander D. Knauth
On Oct 7, 2014, at 2:38 PM, Jack Firth wrote: > I read a tweet about someone wistfully wishing there was some sort of "the" > operator in a typed non-parensy language such that one could write something > like this: > > Customer someFunc(the customer) { ... } > > and have it mean: > >

Re: [racket] improving image quality

2014-10-07 Thread Robby Findler
If you use plot-pict, it will do the right thing. And probably plots should implement the pict-convertible? api. Robby On Tue, Oct 7, 2014 at 7:55 PM, Stephen De Gabrielle wrote: > Hi, > > I'm learning some scribble, along with adding some images from plot. > > This works nicely, but i'm tryin

Re: [racket] Macro in typed racket

2014-10-07 Thread Hendrik Boom
On Tue, Oct 07, 2014 at 11:38:43AM -0700, Jack Firth wrote: > I read a tweet about someone wistfully wishing there was some sort of "the" > operator in a typed non-parensy language such that one could write > something like this: > > Customer someFunc(the customer) { ... } > > and have it mea

[racket] improving image quality

2014-10-07 Thread Stephen De Gabrielle
Hi, I'm learning some scribble, along with adding some images from plot. This works nicely, but i'm trying to work out how to improve the image quality in the resulting PDF. (the html output is fine.) is there any way to make my images sharper and clearer in PDF? kind regards, Stephen

Re: [racket] Macro in typed racket

2014-10-07 Thread Matthias Felleisen
Will this help: #lang typed/racket (define-syntax (the stx) (syntax-case stx () [(_ (define (f x) e)) (let ((capital-x (capitalize stx #'x))) #`(begin (: f (-> #,capital-x #,capital-x)) (define (f x) e)))])) (define-for-syntax (capitalize stx x)

[racket] Macro in typed racket

2014-10-07 Thread Jack Firth
I read a tweet about someone wistfully wishing there was some sort of "the" operator in a typed non-parensy language such that one could write something like this: Customer someFunc(the customer) { ... } and have it mean: Customer someFunc(Customer customer) { ... } Basically, an operat

Re: [racket] Web authentication tutorials?

2014-10-07 Thread Jay McCarthy
As far as I know, a library similar to what you describe does not exist. As far as using authentication generally, there's nothing special that you should do differently in a Racket app... just follow any advice out there on the Internet but generate the HTML and check the request with Racket. Ther

[racket] Error building documentation

2014-10-07 Thread Bert De Ketelaere
Hello, I got following error while installing package pollen via DrRacket: find-relative-path: contract violation expected: (and/c path-for-some-system? simple-form?) given: # context...: E:\PortableApps\Racket\App\Racket\collects\racket\path.rkt:116:2: for-loop E:\PortableApps\Racket