sorawee
2021-6-12 11:53:16

@spdegabrielle yes, but you can also go to “Racket > Limit Memory…” and choose “Unlimited”.


sorawee
2021-6-12 11:55:23

If I use make-temporary-file and delete the file, will it be possible for a subsequent make-temporary-file to create the same file name again?

Asking this because in my work, I use dynamic-require on the temporary files, and dynamic-require doesn’t reinstantiate already instantiated modules. I know I can create a new namespace blah blah but I’m too lazy…



laurent.orseau
2021-6-12 12:04:46

?


laurent.orseau
2021-6-12 12:08:59

“laziness leads to resource optimization, resource optimization leads to efficiency, efficiency leads to loving laziness.”


soegaard2
2021-6-12 12:17:13

It’s at least unlikely, since [ms (inexact->exact (truncate (current-inexact-milliseconds)))] is used to generate the filename.



tonyg
2021-6-12 18:28:21

Hey @ryanc your crypto package is awesome and I’m loving working with it. I’m just updating my old SSH implementation to the latest syndicate and moving from planet vyzo/crypto to your library in the process.


greg
2021-6-13 02:03:29

Thanks for replying! I developed a complicated theory of how/why an exception wasn’t being displayed. In fact? My own wrong use of with-handlers instead of call-with-exception-handler was discarding the exception. :sadpanda:


greg
2021-6-13 02:04:54

This was a classic case of, “If it takes 3 days of debugging, it will turn out to be something relatively simple”.


sorawee
2021-6-13 02:54:04

Is there a difference between -call-with-limits on a code - running code in another thread + sync/timeout + kill the thread afterward assuming that there’s no memory restriction?