[racket-users] Why do single-form modules behave differently?

2021-01-02 Thread Sage Gerard
Why does Racket handle modules with exactly one form differently? I ran into a bug where modules in my module language won't expand if the modules have exactly one form, so I'm just curious. (Wild guess: It's Racket's way of checking for a shortcut to end expansion earlier) ~slg -- You receiv

Re: [racket-users] Why do single-form modules behave differently?

2021-01-02 Thread Sage Gerard
quot;perplexed by macro-expansion behavior near > #%module-begin" for more context). > > Best, > Michael > > On Sat, Jan 2, 2021 at 8:26 PM Sage Gerard wrote: > >> Why does Racket handle modules with exactly one form differently? >> >> I ran into a bug where m

Re: [racket-users] I made some videos about Racket (a.k.a the return of Playing the Game with PLT Redex)

2021-01-03 Thread Sage Gerard
Thanks for sharing. I honed in on the review video because I like the philosophical discussions that come from them. I'm not sure about the comments re: toxicity in the community and how that helps one succeed in academia, but I did see some value in discussing the merits of LOP. I spent enoug

Re: [racket-users] Why do single-form modules behave differently?

2021-01-03 Thread Sage Gerard
x27;s `#%module-begin` hook?" must be reflected in the fully-expanded > syntax of the module. > > Ryan > > On Sun, Jan 3, 2021 at 8:40 AM Michael MacLeod > wrote: > >> Oops, sorry about interpreting your question wrong. Unfortunately I don't >> know the ans

Re: [racket-users] Why is my sandbox trying to access /etc/ssl/certs.pem?

2021-01-04 Thread Sage Gerard
If you just want to silence the error with a blunt instrument, then you could try a parameterization where sandbox-path-permissions is set to: (append (map (λ (p) `(exists ,p)) (filesystem-root-list) (sandbox-path-permissions))) This suffices since it is an existential check, not a file r

Re: [racket-users] Why is my sandbox trying to access /etc/ssl/certs.pem?

2021-01-04 Thread Sage Gerard
rg/openssl/index.html?q=ssl-default-verify-sources#%28def._%28%28lib._openssl%2Fmain..rkt%29._ssl-default-verify-sources%29%29 ~slg ‐‐‐ Original Message ‐‐‐ On Monday, January 4, 2021 6:53 PM, Sage Gerard wrote: > If you just want to silence the error with a blunt instrument, then yo

Re: [racket-users] Why is my sandbox trying to access /etc/ssl/certs.pem?

2021-01-04 Thread Sage Gerard
; instrument: > > > (require/expose openssl/mzssl (X509_get_default_cert_file)) > > ... > > [sandbox-path-permissions (append `((exists > > ,(X509_get_default_cert_file))) > > (sandbox-path-permissions))] > > ... > > -- > > William J. Bowman >

Re: [racket-users] Racket v8.0 (!)

2021-02-16 Thread Sage Gerard
So exciting! A massive thank you to everyone making Racket even better. :) ~slg ‐‐‐ Original Message ‐‐‐ On Saturday, February 13, 2021 9:17 PM, 'John Clements' via Racket Users wrote: > *** Racket 8.0 is here! *** > > Racket version 8.0 is now available from > > https://racket-lang.o

Re: [racket-users] Questions Regarding My First Program

2021-02-23 Thread Sage Gerard
I can't speak to DrRacket since I never use it, so I'll focus more on the first question. Functional programming typically deals with these considerations (among others): - Write functions that return values purely in terms of arguments. - Defer side-effects until you can't. A goal to make the

Re: [racket-users] Is it safe to `read` untrusted input?

2021-02-28 Thread Sage Gerard
Does call-with-default-reading-parameterization help? https://docs.racket-lang.org/reference/Reading.html?q=accept-compiled#%28def._%28%28lib._racket%2Fprivate%2Fmisc..rkt%29._call-with-default-reading-parameterization%29%29 The parameters you are seeing re: accepting -lang, -reader are for when

Re: [racket-users] Is it safe to `read` untrusted input?

2021-02-28 Thread Sage Gerard
Typo: "but the library itself leverages the reader" should read "but if the library itself leverages the reader" On 2/28/21 4:20 PM, Sage Gerard wrote: > Does call-with-default-reading-parameterization help? > > https://docs.racket-lang.org/reference/Reading.html?

Re: [racket-users] Is something wrong with the documentation site?

2021-03-08 Thread Sage Gerard
There's an issue where if a package build fails, the pretty links to the docs do not resolve. For future reference, you can get around this by going to the package page... https://pkgs.racket-lang.org/package/pollen ...and then clicking "Documentation". That particular URL seems to still work.

Re: [racket-users] Version metadata on Racket packages

2021-03-16 Thread Sage Gerard
The last sentence of the first paragraph you quoted starts with "A version is intended," but I don't know for sure if it is a complete answer. You'll also notice on the catalog that there are version exceptions, but you may have already read that by now. https://docs.racket-lang.org/pkg/getting

[racket-users] [ANNOUNCE] Xiden is now in beta

2021-03-19 Thread Sage Gerard
Hi folks, About a year, 1384 commits, 489 tests, ~10k LOC, and 2" on my waistline later, Xiden is in beta. An update is pending on the default catalog. https://github.com/zyrolasting/xiden Xiden is a dependency manager I wrote to support use cases that I could not get working with `raco pkg`.

Re: [racket-users] Re: [ANNOUNCE] Xiden is now in beta

2021-03-20 Thread Sage Gerard
? (Maybe if I were more familiar with Guix I > would already know the answer to this) > > On Friday, March 19, 2021 at 3:56:18 PM UTC-5 Sage Gerard wrote: > >> Hi folks, >> >> About a year, 1384 commits, 489 tests, ~10k LOC, and 2" on my waistline >> later, X

Re: [racket-users] New package announce: value-evt

2021-04-01 Thread Sage Gerard
Neat! Thanks for this. Did you make sure to list your scribble file in `scribblings` under info.rkt? On 4/1/21 12:12 PM, David Storrs wrote: > Wraps an arbitrary value into a synchronizable event. The > synchronization result of the event is the original value, with two > exceptions: procedures sy

Re: [racket-users] New package announce: value-evt

2021-04-01 Thread Sage Gerard
b.com/dstorrs/thread-with-id/blob/master/info.rkt If that's not it, I'd have to take time after work to look more closely. On 4/1/21 12:31 PM, David Storrs wrote: > On Thu, Apr 1, 2021 at 12:18 PM Sage Gerard wrote: >> Neat! Thanks for this. Did you make sure to list your scribble

[racket-users] Upgrading installer verification

2021-04-01 Thread Sage Gerard
Are there any plans to publish GPG signatures for Racket installers, or at least upgrade the cryptographic hash function used for the checksums? If not, who would be a good person to talk to about contributing that? -- ~slg -- You received this message because you are subscribed to the Google

Re: [racket-users] Upgrading installer verification

2021-04-01 Thread Sage Gerard
distro-build/blob/21ccc39fc14408eea79aff035e508856a66adf89/distro-build-server/pack-built.rkt#L76 > > Sam > > On Thu, Apr 1, 2021 at 12:39 PM Sage Gerard wrote: >> Are there any plans to publish GPG signatures for Racket installers, or >> at least upgrade the cryptographic hash function used for the che

Re: [racket-users] Upgrading installer verification

2021-04-02 Thread Sage Gerard
dependency confusion > attacks? In any case, it would be good to know where Racket stands with that. > > On Apr 1, 2021, at 12:39 PM, Sage Gerard wrote: > >> Are there any plans to publish GPG signatures for Racket installers, or >> at least upgrade the cryptographic h

[racket-users] How do I, a client, get a copy of an untrusted server certificate?

2021-04-12 Thread Sage Gerard
When ssl-connect fails due to an untrusted certificate, this error is raised: ssl-connect: connect failed (error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed) I'd like to give the user a more helpful error, like this: Could not connect due to an untrusted certif

Re: [racket-users] How do I, a client, get a copy of an untrusted server certificate?

2021-04-12 Thread Sage Gerard
t to a file containing > additional root certificates. > > Ryan > > On Mon, Apr 12, 2021 at 3:20 PM Sage Gerard wrote: > >> When ssl-connect fails due to an untrusted certificate, this error is >> raised: >> >> ssl-connect: connect failed (error:1416F086:SSL

Re: [racket-users] How do I, a client, get a copy of an untrusted server certificate?

2021-04-12 Thread Sage Gerard
the certificate to XIDEN_TRUST_CERTIFICATES. Original exception follows: ... On 4/12/21 10:43 AM, Ryan Culpepper wrote: > Yes, that's right. > > Ryan > > On Mon, Apr 12, 2021 at 4:23 PM Sage Gerard wrote: > >> Understood, thank you. By "trusted location,"

[racket-users] Is it possible to write a macro that acts like namespace-set-variable-value! for implicit forms?

2021-04-16 Thread Sage Gerard
I'd like to use `eval` in terms of a restricted namespace including `#%datum` and `#%app`. For minimalism and security, I want to build that namespace starting from an empty one, without using racket/sandbox, security guards, or attaching racket/base. Under these restrictions, I would normally att

[racket-users] Cannot attach submodule to namespace

2021-04-16 Thread Sage Gerard
Why does this raise "namespace-attach-module: module not declared (in the source namespace)"? I expected that the `restricted` submodule would be both declared and instantiated by the time control reached `namespace-attach-module`. (module anon racket/base   (module restricted racket/base     (

Re: [racket-users] Cannot attach submodule to namespace

2021-04-16 Thread Sage Gerard
(namespace-attach-module (namespace-anchor->namespace a) > (quote-module-path restricted) > ns) > > is probably what you want. > > > At Fri, 16 Apr 2021 17:29:28 +, Sage Gerard wrote: >> Why does this raise "namespace-a

Re: [racket-users] Cannot attach submodule to namespace

2021-04-16 Thread Sage Gerard
a non-empty namespace, > or something else.) > > At Fri, 16 Apr 2021 18:02:47 +, Sage Gerard wrote: >> Yes. The error changed to "hello: unbound identifier, also no #%app ..." >> for me, so I also had to add `(namespace-require (quote-module-path >> restrict

[racket-users] Checking for fallbacks in generic contracts

2021-04-17 Thread Sage Gerard
Playing with this program. Its output is in the comments. ; /tmp/gen.rkt:9:10: assertion violation ; expected: a procedure ; given: #f ; in: method m ; (I/c (m (-> I? 1))) ; [...removed the rest of the error...] ; 1 (module gen-contracts racket/base (require racket/contract racket/exn racket/gene

Re: [racket-users] Checking for fallbacks in generic contracts

2021-04-18 Thread Sage Gerard
For the time being I've decided to use this macro and attach contracts to the fallbacks a different way. Please let me know if there's a better solution. (define-syntax-rule (I/weak/c [method-id method-contract] ...) (I/c [method-id (or/c #f method-contract)] ...) On 4/17/21 10:4

Re: [racket-users] Racket - How to define a function that can be used both in syntax transformers and ordinary code?

2021-05-09 Thread Sage Gerard
I'm stretching details a bit, but maybe it would help to think of phases as "passes." That is, there's a compile-time "pass" where Racket is focuses on the code you write and what they can see. These passes continue until the Racket program is fully expanded. Where things get tricky is remember

Re: [racket-users] Racket - How to define a function that can be used both in syntax transformers and ordinary code?

2021-05-09 Thread Sage Gerard
used macros with new code, and that pass has its own set of bindings that only that pass can see." ~slg Original Message On May 9, 2021, 3:14 PM, Sage Gerard wrote: > I'm stretching details a bit, but maybe it would help to think of phases as > "passes.&

[racket-users] Injecting local contracts for prefab constructors

2021-05-09 Thread Sage Gerard
I have a project with 57 prefab structure types. I need to construct instances using a local contract (module level contracts do not fit my needs here). Since I cannot define guards, the solution is easy enough. (struct foo (num) #:prefab) (define/contract make-foo (-> real? foo?) foo) Problem:

Re: [racket-users] Injecting local contracts for prefab constructors

2021-05-09 Thread Sage Gerard
uctor and as a match pattern. (If you want to >> extend the struct type, though, you still need to use the real one.) >> >> Another option would be to "forge" a new compile-time struct-info based on >> the original struct-info but replacing the constructor. >> >&

Re: [racket-users] Injecting local contracts for prefab constructors

2021-05-09 Thread Sage Gerard
, all invariant violations come down to what went a constructor, because all program output is encoded as prefab structures. That's why I want to raise any errors on instantiation. On 5/9/21 8:55 PM, Sage Gerard wrote: > Of course, if you're okay with a longer email. Before that, t

Re: [racket-users] Injecting local contracts for prefab constructors

2021-05-10 Thread Sage Gerard
le. On 5/10/21 7:05 AM, Hendrik Boom wrote: > On Sun, May 09, 2021 at 10:23:34PM +, Sage Gerard wrote: > >> I have a project with 57 prefab structure types. I need to construct >> instances using a local contract (module level contracts do not fit my needs >> here). S

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Sage Gerard
I don't know of one off hand, but I believe RacketCon 2018 (?) included a presenter that showed a PostScript-like DSL for designers and artists. If pict not cover your needs, maybe dig into the presentations? Failing that, can you show what you'd hope the syntax would look like? That would prob

Re: [racket-users] Is there a good Racket DSL alternative to Image Magick?

2021-05-11 Thread Sage Gerard
> > [(seventh RacketCon): Leif Andersen -- Movies as Programs: The Story of a > Racket - > YouTube](https://www.youtube.com/watch?v=OZXslNVaCOQ&list=PLXr4KViVC0qIgkwFFzM-0we_aoOfAl16Y&index=3) > > 11 May 2021 15:30 Sage Gerard > [](mailto:s...@sagegerard.com) wro

Re: [racket-users] Redirecting shared lib stdout

2021-05-12 Thread Sage Gerard
I ran into this issue with rsound. I'm not sure how standard output can be directly captured from a lower-level language in a Racket context when that language can freely ignore the Racket printer and write directly to STDOUT within the same operating system process. I'd hate to just add a "me too

[racket-users] Re-defined constant when dynamically evaluating module forms

2021-05-12 Thread Sage Gerard
I have a program that takes a (trusted) module form as a list and then pulls out a provided value using this method. I used syntax/modread and generate a pseudorandom id for each value of `trusted` here. (define-namespace-anchor anchor) (define module-namespace (namespace-anchor->namespace anchor)

Re: [racket-users] Redirecting shared lib stdout

2021-05-14 Thread Sage Gerard
Ah, you're right. I'm still acclimated to BC here. Disregard! On 5/14/21 7:30 AM, Paulo Matos wrote: > > Sage Gerard writes: > >> I ran into this issue with rsound. I'm not sure how standard output can >> be directly captured from a lower-level language in a

Re: [racket-users] Racket News - Issue 50

2021-05-19 Thread Sage Gerard
Thank you for organizing the news and for bringing attention to so many cool projects out there. Definitely cause to celebrate! :) On 5/19/21 10:00 AM, Paulo Matos wrote: > Hello all, > > We have hit 50 issues! :) > https://racket-news.com/2021/05/racket-news-issue-50.html > > Enjoy! > > -- > Pa

[racket-users] Cross-VM method for sending any input port to C runtime?

2021-05-23 Thread Sage Gerard
Hi all, I have a C shared library exposing a simplified interface for computing message digests. Here's a `while` that reads bytes using a callback. https://github.com/zyrolasting/xiden/blob/libcrypto/crypto/crypto.c#L46 A compatible callback provided by Racket might look like this. (λ (buf si

Re: [racket-users] Cross-VM method for sending any input port to C runtime?

2021-05-27 Thread Sage Gerard
57 PM Matthew Flatt wrote: > >> At Sun, 23 May 2021 14:57:42 +, Sage Gerard wrote: >>> Is there a cross-VM way to pass an arbitrary input port to the C >>> runtime (e.g. via open-input-bytes), such that the C runtime can read >>> bytes on its own? >> >&

[racket-users] How do I debug this "invalid memory reference"?

2021-06-02 Thread Sage Gerard
Hi all, Consider this small FFI that currently works only on GNU/Linux. https://github.com/zyrolasting/xiden/blob/libcrypto/crypto.rkt https://github.com/zyrolasting/xiden/blob/libcrypto/crypto/crypto.c `raco test` intermittently fails this module with "invalid memory reference. Some debugging

[racket-users] Re: How do I debug this "invalid memory reference"?

2021-06-02 Thread Sage Gerard
Credit to @samth on the Discord for noticing that I did not use `_bytes/nul-terminated` on Racket CS byte strings. Doing so fixed the issue. Thanks, Sam! On 6/2/21 10:21 AM, Sage Gerard wrote: > Hi all, > > Consider this small FFI that currently works only on GNU/Linux. > > htt

Re: [racket-users] Defining a function with the same name as a struct with a different constructor name

2021-06-03 Thread Sage Gerard
My understanding is that you can shadow `foo`, but you cannot use `foo` in any expression at the same scope where the struct's bindings appear. In this context, some of `foo`'s lexical information is reserved so that `struct-out` works correctly. On 6/3/21 5:01 PM, flirora wrote: > Am I correc

Re: [racket-users] PLTCOLLECTS env var is not always in effect - Why?

2021-06-05 Thread Sage Gerard
What is the value of ([][use-user-specific-search-paths](https://docs.racket-lang.org/reference/collects.html?q=PLTCOLLECTS#%28def._%28%28quote._~23~25kernel%29._use-user-specific-search-paths%29%29)) in each case? On 6/5/21 6:39 PM, Don Green wrote: > When I run drracket v 8.1 the additional c

Re: [racket-users] Teaching Racket to kids experiences, syllabus ideas, etc

2021-06-15 Thread Sage Gerard
John Carmack did so for his 10 year old. His notes may be of interest. https://groups.google.com/g/racket-users/c/yjRuIxypUQc On 6/15/21 1:42 PM, Nathaniel W Griswold wrote: > Has anyone taught racket to kids, like middle school and above? > > I see some really basic articles when googling around

Re: [racket-users] Could Racket be used as a "frontend" for a non-Racket language?

2021-06-22 Thread Sage Gerard
Short answer: Yes...ish. I wrote a few code generation programs. It can happen, but the Racket program would be dependent on the target language's toolchain and standard library. Before we get to that, note that not all languages cleanly translate into one another (Some scripting languages actu

[racket-users] Show & Tell - Xiden Documentation Revamp

2021-07-02 Thread Sage Gerard
Hey folks, I did a pretty sweeping edit pass on Xiden's documentation. I'm really proud of it, and I'd like to show it off. https://docs.racket-lang.org/xiden-index/index.html?q=xiden%20documentation This revision of the docs uses a Guide [-> Exercises] -> Reference reading flow. It allowed me

Re: [racket-users] Show & Tell - Xiden Documentation Revamp

2021-07-02 Thread Sage Gerard
he transition to the exercises? What do you find clear/confusing? Did the examples work on your machine? etc. On 7/2/21 6:02 PM, Sage Gerard wrote: > Hey folks, > > I did a pretty sweeping edit pass on Xiden's documentation. I'm really proud > of it, and I'd like t

Re: [racket-users] Security advisory for racket/sandbox; fixed in v8.2

2021-07-19 Thread Sage Gerard
Thank you for letting us know. ~slg Original Message On Jul 19, 2021, 2:35 PM, Sam Tobin-Hochstadt wrote: > The Racket team recently became aware of a security vulnerability in > the `racket/sandbox` library. Code evaluated using a sandbox could > cause system modules to incorr

Re: [racket-users] A language for command line interfaces

2021-07-24 Thread Sage Gerard
encourage you to give it a try. > > I also coincidentally came across the package > [natural-cli](https://docs.racket-lang.org/natural-cli/index.html) by Sage > Gerard. Looks like it provides some interesting features and in particular > subcommands, which are absent in #lang cli. It ver

Re: [racket-users] Bootstrap on Racket

2021-09-05 Thread Sage Gerard
Also check koyo and Axio On 9/4/21 12:14 PM, 'John Clements' via Racket Users wrote: > I use Greg Hendershott’s excellent and trouble-free ‘frog’ library. How would > your code relate to this? > > John > >> On Aug 30, 2021, at 10:57, Dexter Lagan wrote: >> >> Hi again, >> >>I've been working

Re: [racket-users] using raco to install executables

2021-09-22 Thread Sage Gerard
Yes. The keyword here is "launcher." See the gracket-launcher* and racket-launcher-* options for info.rkt files in https://docs.racket-lang.org/raco/setup-info.html These options affect `raco setup` in particular. Here's one of my info.rkt files as an example https://github.com/zyrolasting/polyglo

Re: [racket-users] Weird test failures

2021-10-24 Thread Sage Gerard
I got all tests to pass by updating the first clause of pre-escape to use equal? > (and (txexpr? x) (equal? "text" (attr-ref x 'type #f))) My hypothesis is that when you didn't have bytecode, the reference to the literal string "text" just happened to be eq?. I couldn't say why. On 10/24/21 12:

Re: [racket-users] [ANN] Splitflap: generating valid Atom and RSS feeds

2021-10-25 Thread Sage Gerard
Thank you for this!! Feedback - I like your podcast-specific entries - The validation logic is refreshing to see - Re: boolean arguments, I'd stick to keyword arguments and ask for any/c, not boolean?, in contracts. That way forms like (and ... (member ...)) won't bug users about a non-threaten

Re: [racket-users] [ANN] Splitflap: generating valid Atom and RSS feeds

2021-10-26 Thread Sage Gerard
ing to roll your own, because datetime math is a > nightmare. > >> On Monday, October 25, 2021 at 6:36:30 PM UTC-5 Sage Gerard wrote: >> >>> Thank you for this!! >>> >>> Feedback >>> >>> - I like your podcast-specific entries >>&g

Re: [racket-users] [ANN] Splitflap: generating valid Atom and RSS feeds

2021-10-26 Thread Sage Gerard
via Racket Users wrote: > On Tuesday, October 26, 2021 at 11:01:38 AM UTC-5 Sage Gerard wrote: > >> - Assuming I have the right repository link, gregor's tz/c contract is only >> (or/c string? (integer-in -64800 64800)) [1]. I can set the feed-timezone >> parameter

Re: [racket-users] Best way to append an element to a list?

2021-11-16 Thread Sage Gerard
I get these timings on x86_64 GNU/Linux using the following profile program. ; A: cpu time: 7444 real time: 7445 gc time: 716 ; B: cpu time: 9227 real time: 9228 gc time: 884 (module profile racket/base (define target-length #e5e4) (define (A current-list new-element) (append current-list (list

Re: [racket-users] Racket Discourse

2021-11-21 Thread Sage Gerard
Thanks for letting us know. When should people expect to unsubscribe? I read the ToS, privacy policy, and thoughts. Hard pass. On 11/21/21 1:09 PM, 'John Clements' via Racket Users wrote: > TL;DR: Go to > > https://racket.discourse.group/invites/okLTSrQw1T > > and sign up for Racket Discourse

Re: [racket-users] Racket Discourse

2021-11-21 Thread Sage Gerard
Also: Apologies. That came off as rude. No offense intended. But I have to ask, who wrote the ToS? Who is "the company" in its context? Discord? One of the Racket team's universities? A sponsor? On 11/21/21 11:20 PM, Sage Gerard wrote: > Thanks for letting us know. When shoul

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread Sage Gerard
If anyone here still has demand for a vanilla email list, please reach out to me. On 11/22/21 9:40 AM, David Storrs wrote: > That's sudden. > > On Mon, Nov 22, 2021 at 8:06 AM Etan Wexler wrote: > >> The stewards of [Racket](https://racket-lang.org/) have decided that it’s >> time to give up o

Re: [racket-users] Racket Discourse

2021-11-22 Thread Sage Gerard
; >> On Nov 22, 2021, at 04:54, Norman Gray >> [](mailto:norman.g...@glasgow.ac.uk) >> wrote: >> >> Greetings. >> >> On 22 Nov 2021, at 4:24, Sage Gerard wrote: >> >>> But I have to ask, who wrote the ToS? Who is "the company" in

Re: [racket-users] Racket Discourse

2021-11-22 Thread Sage Gerard
tCon, and there was some > “hallway” discussion about it. > 2) No, no sponsor was involved. Yikes! Indeed, I’m not aware that Racket > *has* any sponsors currently, aside from the research and infrastructure > grants that are being funded by the NSF et cetera. > > John > >>

Re: [racket-users] Racket Discourse

2021-11-22 Thread Sage Gerard
Thanks! On 11/22/21 9:58 AM, Sam Tobin-Hochstadt wrote: > On Mon, Nov 22, 2021 at 9:52 AM Sage Gerard wrote: >> Thanks for checking on this. I'd expect something like a CoC more than a ToS >> in this case, but terms are terms :) > The discourse site is hosted by

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread Sage Gerard
Since I missed the hallway I'll settle with a belated comment. Over my lifetime I have accumulated hundreds of accounts. Breaches led to incessant spamming. Thankfully I've kept my passwords varied and strong, so the damage hasn't terrible to contain. I tried to delete accounts to manage my ris

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread Sage Gerard
1 11:40 AM, Sage Gerard wrote: > Since I missed the hallway I'll settle with a belated comment. > > Over my lifetime I have accumulated hundreds of accounts. Breaches led to > incessant spamming. Thankfully I've kept my passwords varied and strong, so > the damage hasn'

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread Sage Gerard
Y'all are configuring Discourse to allow replies by emails too, right? On 11/22/21 11:00 AM, J. Ryan Stinnett wrote: > On Mon, 22 Nov 2021 at 15:25, Martin Weigele wrote: > >> A discourse type forum - we had this discussions in other contexts again and >> again - may be a better choice for perso

Re: the end of the [racket-users] mailing list and the migration to Discourse as a forum for Racket

2021-11-22 Thread Sage Gerard
but somebody needs to read the docs and check what’s > required in order to set it up. > > John > >> On Nov 22, 2021, at 11:56, Sage Gerard wrote: >> >> Y'all are configuring Discourse to allow replies by emails too, right? >> >> On 11/22/21 11:00 AM, J. R

[racket-users] Regarding the spammer

2021-12-02 Thread Sage Gerard
The spammer's messages unfailingly contain a swastika character for those looking for a simple filter. Beyond that, I volunteer to help ban this account at the list level if someone is willing to trust me with the related access. -- You received this message because you are subscribed to the Go

Re: [racket-users] Looking for system admin help for the package system

2021-12-07 Thread Sage Gerard
Can assist, but am biased to my own tools and designs. Is there a way to volunteer from that angle? Sent from ProtonMail mobile Original Message On Dec 7, 2021, 4:43 PM, Jacob Jozef wrote: > Hi > > I have no experience with system admin, web servers, the Racket web server, > >

[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 c

[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. >

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

2021-12-14 Thread Sage Gerard
at they are doing to mess with the list. On 12/14/21 3:53 PM, David Bremner wrote: > Sage Gerard > [](mailto:s...@sagegerard.com) > writes: > >> All, >> >> I've gained administrative privileges over this list to address the spammer. >> I want to hear from ot

[racket-users] Core Team: I need you decide what I should do about the spammer.

2021-12-18 Thread Sage Gerard
Core team, Sam asked me to issue bans for a troublesome spammer. I've done so, even just today. I understand I need quorum for larger decisions. This is why I have not yet reconfigured the list to permanently stop the spammer. After researching the problem further, I need your urgent attention. I

Re: [racket-users] Surprising but convenient

2021-12-19 Thread Sage Gerard
If I understand this correctly, there's a difference between deleting a reference to 50 GB (like an inode), and actually writing 50 GB. When you write to an output port, you are writing to a buffer in memory. This prevents the slow downs you've witnessed, because storage mediums are comparably

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2021-12-19 Thread Sage Gerard
t;> >> +1! Thank you. >> >> Robby >> >> On Sat, Dec 18, 2021 at 1:43 PM Matthew Flatt wrote: >> >>> The "members" option sounds right to me. Thanks for tracking down a way >>> to improve the situation! >>> >>> At Sat

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2021-12-19 Thread Sage Gerard
>> list so that might not have been the most useful test. >> >> Robby >> >> On Sun, Dec 19, 2021 at 11:32 AM Sage Gerard wrote: >> >>> Alright, thanks to all of you for the quick replies. As of this writing, >>> the list has been reconfigure

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2022-01-11 Thread Sage Gerard
the >> left bar read "Conversations", "Members", "About", "My membership settings". >> But in the Racket Users, there isn't a link to the "Members" list. >> >> On Sun, Dec 19, 2021 at 5:24 PM Sage Gerard wrote: >> &g

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2022-01-11 Thread Sage Gerard
ption is "Anyone on the web can ask" to join. >> It's not immediately clear who gets the emails when people ask, but >> this seems like it might be a good intermediate position. >> >> Sam >> >> On Sun, Dec 19, 2021 at 12:32 PM Sage Gerard wrote:

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2022-01-11 Thread Sage Gerard
No no, that was helpful, thank you. We do need to figure this part out. On 1/11/22 2:22 PM, Robby Findler wrote: > Sorry, I probably shouldn't have jumped in here. I'm happy with whatever you > folks decide is best! > > Robby > > On Tue, Jan 11, 2022 at 1:09 PM Sa

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2022-01-12 Thread Sage Gerard
ility, it's > easy to have someone else step up. The alternative where we specify a > specific email requires potentially changing that email address when > the responsibility changes. > > Does that seem like a reasonable approach? > > Sam > > On Tue, Jan 11, 2022 at 2:30 PM

Re: [racket-users] Core Team: I need you decide what I should do about the spammer.

2022-01-12 Thread Sage Gerard
Both racket-users and racket-dev have just now been changed to "Anyone can ask." On 1/12/22 1:17 PM, Sam Tobin-Hochstadt wrote: > On Wed, Jan 12, 2022 at 1:14 PM Sage Gerard wrote: >> Yes. I assumed was that (b) was not true, since I thought volunteers >> were hard to c

Re: [racket-users] Using ->i to allow only valid Sneetches for the McBean machine

2018-08-04 Thread Sage Gerard
gt;> (not demand]) >> (result (demand inputs) >> (and/c >> (non-empty-listof (and/c boolean? (curry boolean=? demand))) >> (compose (curry = (length inputs)) length >> (map (lambda (s) stars-upon-thars?) sneetches)

[racket-users] Do I need macros to flag unbound identifiers as failing unit tests?

2018-08-11 Thread Sage Gerard
Hi all, Still working the koans project and am hitting a design snag. My expected UX is that you clone the repo, run racket koans/all.rkt, and then see nothing but failing unit tests for you to fix. But since some exercises have unbound module identifiers

Re: [racket-users] Do I need macros to flag unbound identifiers as failing unit tests?

2018-08-12 Thread Sage Gerard
This is great feedback, thank you both so much! I like using a language for this approach as the project evolves, and You's feedback is a good stopgap that does work, and can be applied in-place. On Sat, Aug 11, 2018 at 1:01 PM Matthew Butterick wrote: > > On Aug 11, 2018, at 9:

Re: [racket-users] Do I need macros to flag unbound identifiers as failing unit tests?

2018-08-12 Thread Sage Gerard
Regarding #lang racket/koans, I opened https://github.com/zyrolasting/racket-koans/issues/24 and would appreciate comments from those more familiar with defining syntaxes if there are rough edges in this design. On Sun, Aug 12, 2018 at 10:57 AM Sage Gerard wrote: > This is great feedback, th

[racket-users] Racket koans module language bug

2018-08-26 Thread Sage Gerard
Hello all, First crack at a module language and stuck on a "expected only a `module' declaration; found an extra form" error. This is not a duplicate of this question since the error is slightly different and the error reproduces in the REPL. Here's m

Re: [racket-users] Racket koans module language bug

2018-08-26 Thread Sage Gerard
-time-error` in your `#%module-begin`, but maybe you have a > good reason to do it that way. > > Also, why not `(provide (all-from-out rackunit))` from your language? > > -Philip > > > On Sun, Aug 26, 2018 at 5:42 PM Sage Gerard wrote: > >> Hello all, >> >&g

Re: [racket-users] Racket koans module language bug

2018-09-02 Thread Sage Gerard
ater" in the koans) Thank you both. This has been more than helpful On Sun, Aug 26, 2018 at 10:03 PM Matthew Butterick wrote: > > On Aug 26, 2018, at 5:15 PM, Sage Gerard wrote: > > The intent is to reject code with blanks, and to treat code without blanks > as Racket code

[racket-users] Cannot create an account on PLaneT

2018-09-08 Thread Sage Gerard
Hey all, I cannot seem to create an account on PLaneT. No confirmation emails (even in Spam). Tried two browsers with extensions disabled. System does not see that my account exists and I don't see contact info for reporting an issue via the "Need Help?" link. Who do I contact for troubleshooting?

Re: [racket-users] Cannot create an account on PLaneT

2018-09-08 Thread Sage Gerard
Thank you. On Sat, Sep 8, 2018 at 12:11 PM Laurent wrote: > It's because PLaneT is deprecated. The new package repository is located > at: > http://pkgs.racket-lang.org/ > > HTH, > Laurent > > On Sat, Sep 8, 2018 at 4:26 PM Sage Gerard wrote: > >> Hey

Re: [racket-users] package for the RacketCon 2018 web devel workshop

2018-10-04 Thread Sage Gerard
; help.) > > I intend to polish the code and notes (that is, the package docs). If > there's any topic that you're especially interested in, I'm happy to > help; you're welcome to write to me privately, if you wish, with > questions. > -- *Sage Gerard* http://www

[racket-users] Seeking users to try file monitoring package

2019-06-21 Thread Sage Gerard
Hi all, I'm working on a filesystem monitoring package to contribute to the community. https://github.com/zyrolasting/file-watchers This is my first package and foray into threads with Racket, so there's much to improve. I'd appreciate your feedback to help me understand more about what the co

[racket-users] Seeking expert opinion on how Racketeering tames web development chaos.

2017-07-30 Thread Sage Gerard
Hi! New to Racket. Looking for expert opinion on my question, but I should give some background. I worked on software for about 11 years. Started on Win32 desktop applications with C++ and then eventually moved to web, where I stayed on front-end development for about 6 years. Moved to full-st

[racket-users] Confirming receipt

2019-08-23 Thread Sage Gerard
Hello, My last few emails to the user mailing list have gone without responses, and I suspect that my emails were sent to spam or silently discarded since I cannot find them in the mirrors. I sent another just last night, but I wanted to confirm if subscribing to the Google Group fixes the pro

[racket-users] Is it possible to sell commercial use rights to an open source Racket package?

2019-08-23 Thread Sage Gerard
--I believe this email was lost due to me not being subscribed to the list last time I sent it. Sorry if this is a duplicate. Has someone tried to release an open source Racket project under a license that enforces paid commercial use of that project? Light Googling suggests this would be antit

Re: [racket-users] Is it possible to sell commercial use rights to an open source Racket package?

2019-08-23 Thread Sage Gerard
First, thank you all for the responses. Originally I figured I would need to find some key contacts and ask them to review my Racket package* for written permission to publish under a proposed license. But if ownership itself is a question mark, I wonder if I should just pick LGPL for safety an

[racket-users] Trying out a Racket-powered Webpack alternative

2019-08-24 Thread Sage Gerard
Hi Racket, I'm excited to show off two new packages if you'll indulge me: - unlike-assets: A build tool for interdependent assets. Similar to Webpack, if you are familiar with the JS ecosystem. - polyglot: A specific configuration of `unlike-assets` that builds static websites using any #lang a

  1   2   3   >