Re: [racket-users] Possible options for stopping spam

2021-12-14 Thread Sage Gerard
> Wouldn't people asking to be invited be pretty much the same moderation > burden as option 3, but with less support? I guess that's a way of saying I > lean to option 3. I see what you mean. I saw "invite-only" as the option with the most discretionary effort when volunteers are scarce,

Re: [racket-users] Possible options for stopping spam

2021-12-14 Thread David Bremner
Sage Gerard writes: > All, > > I've gained administrative privileges over this list to address the spammer. > I want to hear from others before I touch anything. > Thanks for putting effort into this. > I've been informed that an invite-only approach might not be appropriate, but > without

Re: [racket-users] Beginner's question

2021-12-14 Thread David Storrs
Jens answered your question, but I'll note two convenient shorthands: > #lang racket > (require racket/format) racket/format is provided by #lang racket, so you can skip that. This: (define fp (lambda (s n) (string-append (pp_number n) " + " s))) is the same as this: (define (fp s n)

Re: [racket-users] Beginner's question

2021-12-14 Thread Jens Axel Søgaard
Try reversing the order for arguments for both fp and f. /Jens Axel Den tir. 14. dec. 2021 kl. 19.48 skrev Cyrille DEUSS < cyrille.de...@gmail.com>: > #lang racket > (require racket/format) > > (define pp_number > (lambda (n) > (~a n #:width 6 #:align 'right #:left-pad-string "0"))) > >

[racket-users] Beginner's question

2021-12-14 Thread Cyrille DEUSS
#lang racket (require racket/format) (define pp_number (lambda (n) (~a n #:width 6 #:align 'right #:left-pad-string "0"))) (define fp (lambda (s n) (string-append (pp_number n) " + " s))) (define f (lambda (s n) (format "~a + ~a" n s))) (foldl f "" '(1 2 3)) ; works great !

[racket-users] Re: Possible options for stopping spam

2021-12-14 Thread Sage Gerard
Correction: "Invited users only" does have a moderation requirement, but I expect it is not the kind that requires daily interruption. On 12/14/21 1:28 PM, Sage Gerard wrote: > All, > > I've gained administrative privileges over this list to address the spammer. > I want to hear from others

[racket-users] Possible options for stopping spam

2021-12-14 Thread Sage Gerard
All, I've gained administrative privileges over this list to address the spammer. I want to hear from others before I touch anything. The spams continues because moderation is outright disabled for the list. Our other choices are to apply moderation to non-group members only, or everybody. I