Re: [racket-users] Re: Confusion with udp-receive!

2019-09-26 Thread David Storrs
On Wed, Sep 25, 2019 at 8:16 PM David Storrs wrote: > > On Wed, Sep 25, 2019 at 7:45 PM Alex Harsanyi wrote: > > > > Is there any tunneling involved for connecting to your AWS instance? > > > > There is only one copy of the source port in an IP+UDP datagram, and this > > needs to be whatever

Re: [racket-users] Testing Servlets: exceptions not raised/passed through; how to pass extra arguments to tested servlet

2019-09-26 Thread George Neuner
On 9/26/2019 5:45 AM, Marc Kaufmann wrote: Thanks for clearing this up. If I understand correctly, the following happens: - the servlet raises an exception - this is caught by the default exception handler - it prints the traceback and exception message to standard output which I see (and

Re: [racket-users] raco exe & distribute, and namespace-require'ing a module: missing racket/base?

2019-09-26 Thread Matthew Flatt
At Tue, 24 Sep 2019 22:37:41 -0700 (PDT), Jesse Alama wrote: > This works for making a standalone executable that can exectute foo > programs specified on the command line, but doesn't work for a REPL. The > difficulty seems to be the `namespace-require` part of `run-repl`, defined > like this:

Re: [racket-users] handin: how to forbid the use of a certain function

2019-09-26 Thread Matthew Flatt
At Thu, 26 Sep 2019 00:46:23 +, "'Wayne Harris' via Racket Users" wrote: > I think my message below neither asked any question nor did it contain the > adequate politeness which I so much think every e-mail should have. I don't see any problem with your message. It's more that the handin

Re: [racket-users] Testing Servlets: exceptions not raised/passed through; how to pass extra arguments to tested servlet

2019-09-26 Thread Marc Kaufmann
Ah yes, that's right. I did somehow (without really thinking about it, admittedly) think that the exception would get returned with the response. I did not realize that test-servlet sets up a server. So for testing the functions, I just create the right requests and do a check-* test. That should

Re: [racket-users] Testing Servlets: exceptions not raised/passed through; how to pass extra arguments to tested servlet

2019-09-26 Thread Jay McCarthy
On Thu, Sep 26, 2019 at 5:46 AM Marc Kaufmann wrote: > > Thanks for clearing this up. If I understand correctly, the following happens: > > - the servlet raises an exception > - this is caught by the default exception handler > - it prints the traceback and exception message to standard output

Re: [racket-users] Announcing Stripe Integration

2019-09-26 Thread Neil Van Dyke
Sage, thank you, this is great kind of package for Racket. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. To view

Re: [racket-users] Testing Servlets: exceptions not raised/passed through; how to pass extra arguments to tested servlet

2019-09-26 Thread Marc Kaufmann
Thanks for clearing this up. If I understand correctly, the following happens: - the servlet raises an exception - this is caught by the default exception handler - it prints the traceback and exception message to standard output which I see (and which made me realize an exception had been

[racket-users] Re: raco exe & distribute, and namespace-require'ing a module: missing racket/base?

2019-09-26 Thread Alex Harsanyi
On Wednesday, September 25, 2019 at 1:37:41 PM UTC+8, Jesse Alama wrote: > > I'm working on building a standalone executable for a #lang that can be > used in two ways: > > 1. foo awesome.foo: execute file awesome.foo, which is written in #lang foo > > 2. foo (no arguments): fire up a REPL.

[racket-users] Re: raco exe & distribute, and namespace-require'ing a module: missing racket/base?

2019-09-26 Thread Jesse Alama
An update to my command line REPL adventures: I'm still unable to get a working REPL, even when adding more and more information to raco exe/distribute. Here's my latest attempt: raco exe ++lang foo ++lang racket/base ++lang racket ++lang brag ++lib racket ++lib racket/base foo.rkt I've even