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

2019-09-27 Thread 'Wayne Harris' via Racket Users
‐‐‐ Original Message ‐‐‐ On Thursday, September 26, 2019 9:56 AM, Matthew Flatt wrote: > 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

Re: [racket-users] How do I secure secrets in memory?

2019-09-27 Thread Ryan Culpepper
On 9/27/19 6:56 PM, Sage Gerard wrote: I got sloppy here in a Stripe integration: https://github.com/zyrolasting/stripe-integration/blob/master/main.rkt#L31 I'm not an InfoSec expert, but I know I'd like to secure the secret key used here in memory instead of using a parameter. I'd probably

Re: [racket-users] How do I secure secrets in memory?

2019-09-27 Thread George Neuner
On 9/27/2019 12:56 PM, Sage Gerard wrote: I got sloppy here in a Stripe integration: https://github.com/zyrolasting/stripe-integration/blob/master/main.rkt#L31 I'm not an InfoSec expert, but I know I'd like to secure the secret key used here in memory instead of using a parameter. I'd

Re: [racket-users] scribble/srcdoc raised exception fix and class-doc syntax form

2019-09-27 Thread Dominik Pantůček
Hi, On 25. 09. 19 19:43, Dominik Pantůček wrote: > > On 25. 09. 19 19:32, Ben Greenman wrote: >>> Should I include a brief documentation in >>> scribble-doc/scribblings/scribble/srcdoc.scrbl within the same PR as well? >> >> Yes! > > Btw, looking at the struct-doc and struct*-doc descriptions

[racket-users] How do I secure secrets in memory?

2019-09-27 Thread Sage Gerard
I got sloppy here in a Stripe integration: https://github.com/zyrolasting/stripe-integration/blob/master/main.rkt#L31 I'm not an InfoSec expert, but I know I'd like to secure the secret key used here in memory instead of using a parameter. I'd probably encrypt the value provided by a client

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

2019-09-27 Thread Jesse Alama
On Friday, September 27, 2019 at 2:47:06 PM UTC+2, Matthew Flatt wrote: At Fri, 27 Sep 2019 05:39:23 -0700 (PDT), Jesse Alama wrote: > > On Friday, September 27, 2019 at 2:25:17 PM UTC+2, Matthew Flatt wrote: > > > > > > > > > It looks like `lazy-require` as used by `racket/match` isn't >

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

2019-09-27 Thread Matthew Flatt
At Fri, 27 Sep 2019 05:39:23 -0700 (PDT), Jesse Alama wrote: > On Friday, September 27, 2019 at 2:25:17 PM UTC+2, Matthew Flatt wrote: > > > > > > It looks like `lazy-require` as used by `racket/match` isn't compatible > > with creating a new namespace and attaching `racket/match` to that > >

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

2019-09-27 Thread Jesse Alama
On Friday, September 27, 2019 at 2:25:17 PM UTC+2, Matthew Flatt wrote: > > > It looks like `lazy-require` as used by `racket/match` isn't compatible > with creating a new namespace and attaching `racket/match` to that > namespace. More generally, `define-runtime-module-path-index` doesn't >

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

2019-09-27 Thread Matthew Flatt
At Thu, 26 Sep 2019 23:06:28 -0700 (PDT), Jesse Alama wrote: > On Thursday, September 26, 2019 at 3:37:43 PM UTC+2, Matthew Flatt wrote: > Thanks! This helps. I didn't know I was sailing into deep namespace waters. > But another error has reared its head: when, in the REPL, I evaluate an >

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

2019-09-27 Thread Jesse Alama
On Thursday, September 26, 2019 at 8:41:57 AM UTC+2, Alex Harsanyi wrote: > > > > 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

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

2019-09-27 Thread Jesse Alama
On Thursday, September 26, 2019 at 3:37:43 PM UTC+2, Matthew Flatt wrote: 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 > >