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] Core Team: I need you decide what I should do about the spammer.

2022-01-12 Thread Sage Gerard
, 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 Sage Gerar

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 Sage Gerard

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

2022-01-11 Thread Sage Gerard
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
eft 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: >> >>> Looks lik

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

2021-12-19 Thread Sage Gerard
o 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 reconfigured to cre

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

2021-12-19 Thread Sage Gerard
: >> >> +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, 18

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

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

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

2021-12-14 Thread Sage Gerard
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 others before I touch anyth

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

[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

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] 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

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
eds 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. Ryan Stinnett wrote:

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

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't terrible to c

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

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 the p

Re: [racket-users] Racket Discourse

2021-11-22 Thread Sage Gerard
group at RacketCon, 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
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 its &

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

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 should

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

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] [ANN] Splitflap: generating valid Atom and RSS feeds

2021-10-26 Thread Sage Gerard
ober 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 in Splitflap to an arbitrary string and the guard

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

2021-10-26 Thread Sage Gerard
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 >>> - The validation logic is refreshing to see >>

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

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

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

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

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

2021-07-24 Thread Sage Gerard
t; > 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 very well may be that this > packa

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

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

2021-07-02 Thread Sage Gerard
rcises? 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 to show it off. > https://docs.racket

[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

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

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

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

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

[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

[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

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

2021-05-27 Thread Sage Gerard
hew 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? >> >> No, no

[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

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! > > -- >

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 Racket context

[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

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

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

2021-05-11 Thread Sage Gerard
RacketCon): Leif Andersen -- Movies as Programs: The Story of a > Racket - > YouTube](https://www.youtube.com/watch?v=OZXslNVaCOQ=PLXr4KViVC0qIgkwFFzM-0we_aoOfAl16Y=3) > > 11 May 2021 15:30 Sage Gerard > [](mailto:s...@sagegerard.com) wrote: > >> I don't know of one off h

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

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

2021-05-10 Thread Sage Gerard
AM, Hendrik Boom wrote: > On Sun, May 09, 2021 at 10:23:34PM +0000, 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). Since I cannot def

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, thank you b

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

2021-05-09 Thread Sage Gerard
nt 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. >> >> Minimally tested sample implementati

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

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
os 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." That i

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

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:48 PM, Sage

[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

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

2021-04-16 Thread Sage Gerard
ty 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 >> restricted) ns)` t

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

2021-04-16 Thread Sage Gerard
tach-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-attach-

[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    

[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

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," do you me

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

2021-04-12 Thread Sage Gerard
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 &

[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

Re: [racket-users] Upgrading installer verification

2021-04-02 Thread Sage Gerard
ndency 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 hash f

Re: [racket-users] Upgrading installer verification

2021-04-01 Thread Sage Gerard
o-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 checksum

[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] New package announce: value-evt

2021-04-01 Thread Sage Gerard
/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 file in >&g

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

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

2021-03-20 Thread Sage Gerard
d 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, Xiden is in beta. An update is pending on the default

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

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] 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 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] 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] 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 > >

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

2021-01-04 Thread Sage Gerard
gt; (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 > > On Tue, Jan 05, 2021

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

2021-01-04 Thread Sage Gerard
sl-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 you could > try a parame

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

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

2021-01-03 Thread Sage Gerard
ok?" 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 answer to your actual question. &

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

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

2021-01-02 Thread Sage Gerard
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 modules in my mo

[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

Re: [racket-users] How do I control where expressions may appear in a module language?

2021-01-01 Thread Sage Gerard
‐‐‐ Original Message ‐‐‐ On Friday, January 1, 2021 12:51 PM, Sage Gerard wrote: > Alright, thank you for sticking with this. I'm refactoring now. > > ~slg > > ‐‐‐ Original Message ‐‐‐ > On Friday, January 1, 2021 11:56 AM, Jay McCarthy > wrote: > >&

Re: [racket-users] Can someone please override the Reply-To so that normal replies go to the list?

2021-01-01 Thread Sage Gerard
Dominik*, apologies. ~slg ‐‐‐ Original Message ‐‐‐ On Friday, January 1, 2021 5:56 PM, Sage Gerard wrote: > > "Proper mail systems" "Now you know the reason" grrr g! > > Relax, I come in peace. > > Clients aren't created equal. I don't h

Re: [racket-users] Can someone please override the Reply-To so that normal replies go to the list?

2021-01-01 Thread Sage Gerard
ld think that in most cases, the typical behavior is to reply to the list and the exceptional behavior is to go off list. If that's true, is there something wrong with making the default behavior more accessible to more clients? ~slg ‐‐‐ Original Message ‐‐‐ On Friday, January 1, 2021 2:16 P

Re: [racket-users] How do I control where expressions may appear in a module language?

2021-01-01 Thread Sage Gerard
n Fri, Jan 1, 2021 at 11:44 AM Sage Gerard wrote: > >> Ah, I see. Thank you for that! >> >> As for rephrasing my original question: If program were provided as >> #%module-begin, I expect that syntax-protect would prevent a programmer from >> using out the phase-

Re: [racket-users] How do I control where expressions may appear in a module language?

2021-01-01 Thread Sage Gerard
ah) > (the-c-is "Caaah") > (the-d-looks-like 42)) > ``` > > -- > Jay McCarthy > Associate Professor @ CS @ UMass Lowell > http://jeapostrophe.github.io > Vincit qui se vincit. > > On Thu, Dec 31, 2020 at 12:07 PM Sage Gerard wrote: > >> I didn't see a

[racket-users] Can someone please override the Reply-To so that normal replies go to the list?

2021-01-01 Thread Sage Gerard
The Reply-To experience for this list seems wrong. Clicking normal "Reply" sets the reply to the person who last sent an email to the thread, but not the list address. Clicking "Reply All" sends a copy of the email to an increasingly larger list of people, with the mail list CC'd. The extra

Re: [racket-users] How do I control where expressions may appear in a module language?

2020-12-31 Thread Sage Gerard
y McCarthy > Associate Professor @ CS @ UMass Lowell > http://jeapostrophe.github.io > Vincit qui se vincit. > > On Wed, Dec 30, 2020 at 10:20 PM Sage Gerard wrote: > >> I'm trying to learn how to restrict where expressions appear. Those >> expressions might be procedure

[racket-users] How do I control where expressions may appear in a module language?

2020-12-30 Thread Sage Gerard
I'm trying to learn how to restrict where expressions appear. Those expressions might be procedure applications, or macros before expansion. [1] shows a library I use to help me implement a collection pass for a module language. To save you some reading, it uses syntax-parse with a lengthy

Re: [racket-users] Using expr/c within one syntax class?

2020-12-17 Thread Sage Gerard
ou couldn't tell whether `(f "1.2.3")` was a single version (whose > value is produced by a function call) or by a range (whose lower bound is the > variable f). But you could change the grammar to avoid that problem. Then you > could use `expr/c` to wrap the expressio

Re: [racket-users] Using expr/c within one syntax class?

2020-12-16 Thread Sage Gerard
Typos: - "*" remove a bound ==> "*" removes a bound - All examples should read (versions ...), not (version ...) ~slg ‐‐‐ Original Message ‐‐‐ On Wednesday, December 16, 2020 6:27 PM, Sage Gerard wrote: > I'm trying to learn how to write syntax classes. M

[racket-users] Using expr/c within one syntax class?

2020-12-16 Thread Sage Gerard
I'm trying to learn how to write syntax classes. My intended macro expresses a set of Racket versions, either as inclusive intervals or as exact versions. In an interval, "*" remove a bound. - (version "6.5") means exactly version "6.5", as does (version ("6.5" "6.5")) - (versions ("7.0"

Re: [racket-users] Re: TLS via make-ssl-connect@?

2020-12-15 Thread Sage Gerard
Missed Ryan's email earlier. Thanks Ryan! ~slg ‐‐‐ Original Message ‐‐‐ On Tuesday, December 15, 2020 3:27 PM, Sage Gerard wrote: > Answering my own question for those searching. > > Yes, make-ssl-connect@ tracks protocol recommendations. [1] shows that > make-ssl-connec

[racket-users] Re: TLS via make-ssl-connect@?

2020-12-15 Thread Sage Gerard
web-server/web-server.rkt#L74 ~slg ‐‐‐ Original Message ‐‐‐ On Thursday, December 10, 2020 7:47 PM, Sage Gerard wrote: > I've seen articles say "SSL" when they mean "TLS". When I read the docs for > make-ssl-connect@, it does not clarify what algorithm back

[racket-users] TLS via make-ssl-connect@?

2020-12-10 Thread Sage Gerard
I've seen articles say "SSL" when they mean "TLS". When I read the docs for make-ssl-connect@, it does not clarify what algorithm backs use of HTTPS. Only that OpenSSL is used. Does make-ssl-connect@ track current recommendations like TLS 1.2 or 1.3, or is it fixed to some version of SSL?

Re: [racket-users] Why are these @defthing blocks typeset incorrectly?

2020-09-24 Thread Sage Gerard
I opted for the read-syntax based solution. For those reading, it's convenient to use `replace-context` from `syntax/strip-context` to donate lexical info. The form of the transformer I used is: @(define-syntax (reformat stx) (replace-context stx (read-syntax #f (open-input-string

[racket-users] Why are these @defthing blocks typeset incorrectly?

2020-09-23 Thread Sage Gerard
I attached an image showing the rendered output of https://github.com/zyrolasting/xiden/blob/master/docs/reference/settings.scrbl#L48 I create an application to `(defthing)` as a datum due to circumstances in the surrounding code. The hacky part being `get-contract-datum`, which tries to

  1   2   3   >