Re: [racket-users] Re: [racket] Web Framework Benchmarks

2020-06-09 Thread Bogdan Popa
Alex Harsanyi writes: > Question 1: Based on this benchmark, is there any reason to chose anything > else but "drogon"? Even if one chooses the second best on that list, which > is "actix", they already loose about 6% performance and things degrade > quickly afterwards. The framework at positi

Re: [racket-users] Re: [racket] Web Framework Benchmarks

2020-06-09 Thread George Neuner
On 6/9/2020 3:02 AM, Bogdan Popa wrote: Alex Harsanyi writes: > Question 1: Based on this benchmark, is there any reason to chose anything > else but "drogon"? Even if one chooses the second best on that list, which > is "actix", they already loose about 6% performance and things degrade > qu

[racket-users] Artifacts: code snippets that are too small to be a package.

2020-06-09 Thread Stephen De Gabrielle
Hi All, there is an ‘Artifacts’ page on the racket wiki https://github.com/racket/racket/wiki/Artifacts This page captures useful code snippets that are too small to be a package. Recent additions include - Utah-teapot - Example of evaluating

Re: [racket-users] Re: [racket] Web Framework Benchmarks

2020-06-09 Thread Bogdan Popa
George Neuner writes: > Multiple Racket applications *should* all be able to listen on the > same port without having been spawned from the same ancestor process. > If that isn't working now, something has gotten hosed. I don't know whether this used to work in the past or not, but currently on

Re: [racket-users] Re: [racket] Web Framework Benchmarks

2020-06-09 Thread Jon Zeppieri
On Tue, Jun 9, 2020 at 7:59 AM Bogdan Popa wrote: > > I think we'd need to also set `SO_REUSEPORT', which is not available on > all platforms, to support multiple processes listening on the same port > without reusing file descriptors. And even where it is available, it doesn't work the same way.

Re: [racket-users] br-parser-tools question

2020-06-09 Thread jon stenerson
I don't think you should assume I have a *good* reason for using yacc over brag. I just thought that in my case it would be easier to put some code in the productions rather than build a full parse tree and then process that. I seem to have been wrong about that. I will take another look at bra

Re: [racket-users] Re: [racket] Web Framework Benchmarks

2020-06-09 Thread George Neuner
On 6/9/2020 7:59 AM, Bogdan Popa wrote: George Neuner writes: > Multiple Racket applications *should* all be able to listen on the > same port without having been spawned from the same ancestor process. > If that isn't working now, something has gotten hosed. I don't know whether this used to

Re: [racket-users] Re: [racket] Web Framework Benchmarks

2020-06-09 Thread George Neuner
On 6/9/2020 8:11 AM, Jon Zeppieri wrote: On Tue, Jun 9, 2020 at 7:59 AM Bogdan Popa wrote: > > I think we'd need to also set `SO_REUSEPORT', which is not available on > all platforms, to support multiple processes listening on the same port > without reusing file descriptors. And even where i

Re: [racket-users] Is it possible to simulate FEXPRs in Racket?

2020-06-09 Thread Siyuan Chen
Hi Jens, Thank you for telling me that Racket does not support capture and extend environments. So that I can change direction. Hi all, I found that Guile has a function called `local-eval`, which can be used to simulate FEXPRs. see https://www.gnu.org/software/guile/manual/guile.html#index-lo

Re: [racket-users] identifier used out of context

2020-06-09 Thread Anthony Carrico
On 6/7/20 9:23 PM, Alexis King wrote: >     #lang racket >     (define-syntax-rule (m) (displayln 'old)) >     (let () >       (m) >       (define-syntax-rule (m) 'new) >       (void)) I think you meant: (define-syntax-rule (m) (displayln 'old)) (let () (m) (define-syntax-rule (m) (displayln

Re: [racket-users] identifier used out of context

2020-06-09 Thread Anthony Carrico
On 6/9/20 12:57 PM, Anthony Carrico wrote: > (letrec ((super0 (combine initial (overlay0 self initial))) > (super1 (combine super0 (overlay1 self super0))) > (super2 (combine super1 (overlay2 self super1))) > ;; etc... > (final superN)) > ;; "self" is the desir

Re: [racket-users] Artifacts: code snippets that are too small to be a package.

2020-06-09 Thread James Platt
I just added an example to Artifacts with one way of using the qresults-list package to create a table and manipulate it with a right-click menu. I added quite a few comments which, I hope, will help people wanting to figure out how to use the qresults-list package. This package has been menti

Re: [racket-users] Artifacts: code snippets that are too small to be a package.

2020-06-09 Thread Stephen De Gabrielle
thank you! s. On Tue, Jun 9, 2020 at 11:25 PM James Platt wrote: > I just added an example to Artifacts with one way of using the > qresults-list package to create a table and manipulate it with a > right-click menu. I added quite a few comments which, I hope, will help > people wanting to figu