Re: [racket-users] Apple Silicon build errors

2022-01-17 Thread Nathaniel W Griswold
if I remember correctly. > > On Mon, Jan 17, 2022 at 8:50 AM Nathaniel W Griswold wrote: > Hm, Ok. The cherry-pick of 0a8b68b286 does in fact apply cleanly to the v8.3 > tag. > > I am still having the same issue, though, even after a full clean. Right now, > I only have comma

Re: [racket-users] Apple Silicon build errors

2022-01-17 Thread Nathaniel W Griswold
Hm, Ok. The cherry-pick of 0a8b68b286 does in fact apply cleanly to the v8.3 tag. I am still having the same issue, though, even after a full clean. Right now, I only have command-line tools (latest). I am downloading the full Xcode again but it's gonna be a little bit before i can test that, t

[racket-users] Apple Silicon build errors

2022-01-17 Thread Nathaniel W Griswold
Has anyone else run into this error (see below) when building natively on Apple silicon? I am getting it both on a cleaned checkout with `make unix-style` with prefix at root, as well as when doing a configure with prefix using the source distribution found at https://mirror.racket-lang.org/ins

Re: [racket-users] Anyone successfully filtering Italian spam?

2021-12-01 Thread Nathaniel W Griswold
>> >>> On Nov 30, 2021, at 8:22 AM, Laurent wrote: >>> >>> The last 10 spams have all these words in common: >>> https://pastebin.com/BB0arV63 >>> and many more (which I won't copy here for obvious reasons). >>> >>> So you could create a dedicated spam filter that looks for *any* of (not: >>>

Re: [racket-users] Anyone successfully filtering Italian spam?

2021-12-01 Thread Nathaniel W Griswold
> On Dec 1, 2021, at 12:30 PM, Nathaniel W Griswold wrote: > > > >> On Nov 30, 2021, at 8:22 AM, Laurent wrote: >> >> The last 10 spams have all these words in common: >> https://pastebin.com/BB0arV63 >> and many more (which I won't copy

Re: [racket-users] Anyone successfully filtering Italian spam?

2021-12-01 Thread Nathaniel W Griswold
> On Nov 30, 2021, at 8:22 AM, Laurent wrote: > > The last 10 spams have all these words in common: > https://pastebin.com/BB0arV63 > and many more (which I won't copy here for obvious reasons). > > So you could create a dedicated spam filter that looks for *any* of (not: all > of) these wo

Re: [racket-users] Anyone successfully filtering Italian spam?

2021-11-30 Thread Nathaniel W Griswold
Ok. Well i don't often get Italian emails so maybe i will make a special "Italian" Inbox =) Nate > On Nov 30, 2021, at 8:41 AM, George Neuner wrote: > > > On 11/30/2021 9:22 AM, Laurent wrote: >> The last 10 spams have all these words in common: >> https://pastebin.com/BB0arV63 >> and many mo

Re: [racket-users] [ANN] Introducing "social" contracts

2021-09-23 Thread Nathaniel W Griswold
The changes look good, i like the idea of this. > On Aug 25, 2021, at 10:59 AM, Siddhartha Kasivajhula > wrote: > > Hello again folks, > I recently migrated one of my repos to use social-contract, and thought I'd > share the before/after as an example to illustrate what the package does: > >

[racket-users] exn:break:*

2021-06-16 Thread Nathaniel W Griswold
Related to talk on signals... How come Racket has exn:break:hang-up and exn:break:terminate but not something for SIGINT exceptions. How do you handle SIGINT? I mean i guess you get a `exn:break?` when it happens but there's kinda no way to distinguish that it's a SIGINT other than it just not

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

2021-06-15 Thread Nathaniel W Griswold
Has anyone taught racket to kids, like middle school and above? I see some really basic articles when googling around, but i was wondering if anyone has experience with this. Would you use the picturing-programs book? I see it's built into Racket, which is nice. I was thinking of something sma

Re: [racket-users] How to write a program to catch every SIGINT and print "hello"

2021-05-22 Thread Nathaniel W Griswold
t be some reason SIGINT is not explicitly supported, or i must be missing something. Nate > On May 21, 2021, at 2:32 PM, Nathaniel W Griswold > wrote: > > I wanted to understand a limitation of the repl of the rash package (github > issue https://github.com/willghatch/racket-ras

[racket-users] How to write a program to catch every SIGINT and print "hello"

2021-05-21 Thread Nathaniel W Griswold
I wanted to understand a limitation of the repl of the rash package (github issue https://github.com/willghatch/racket-rash/issues/78) as well as in the racket repl, i guess, and see if i could do a quick hack to get something working. Anyway, i just wanted to catch SIGINT without using somethi

Re: [racket-users] Freenode -> libera.chat

2021-05-21 Thread Nathaniel W Griswold
There is some strangeness with the freenode situation. Andrew Lee posted a pdf publicly and is talking about it right now on this thread if you haven't seen it: https://news.ycombinator.com/item?id=27234542 Nate > On May 20, 2021, at 2:30 PM, Stephen De Gabrielle > wrote: > > I don’t use IRC

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
ng is explicitly supported, unless you guys think it's possible to do correctly now? Nate > On May 20, 2021, at 4:00 AM, Nathaniel W Griswold > wrote: > > To be clear: > > "/opt/Racket/Racket 8.1" is the system racket which the unprivileged user > cannot

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
To be clear: "/opt/Racket/Racket 8.1" is the system racket which the unprivileged user cannot write. "/opt/Racket/Packages/8.1" is a unprivileged-writable directory intended for use as a package destination. Nate > On May 20, 2021, at 3:55 AM, Nathaniel W Griswold >

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
: error deleting file path: /opt/Racket/Racket 8.1/lib/launchers.rktd system error: Permission denied; errno=13 Is this expected behavior? Nate > On May 20, 2021, at 3:48 AM, Nathaniel W Griswold > wrote: > > Sam, > > Yes, the tool and PLTCONFIGDIR help me better control th

Re: [racket-users] I want a package at installation scope but also to keep my install clean

2021-05-20 Thread Nathaniel W Griswold
but a more strictly layered >> installation is meant to be possible. It turns out that some pieces >> have been missing for layering, and fixing that is an area of current >> work (https://github.com/racket/racket/commit/dfbb7040a). >> >> At Sun, 16 May 2021 23:43:

[racket-users] I want a package at installation scope but also to keep my install clean

2021-05-16 Thread Nathaniel W Griswold
Hello, I was setting up Racket on my linux box and i realized that there are a lot of options for path configuration and i forgot a lot of what i discovered last time i dug into this. I was trying to set up installation scope but maybe a little cleanly and figured someone might have some input.

Re: [racket-users] Requesting an opinion on some email processing questions; related to languages and racket

2021-05-08 Thread Nathaniel W Griswold
Actually, come to think of it, feel free to respond if you have any opinions about my questions, it actually works better as a list post to be honest. Nate > On May 8, 2021, at 8:21 AM, Nathaniel W Griswold wrote: > > Um, Sorry, everyone... > > I meant to send that last em

Re: [racket-users] Requesting an opinion on some email processing questions; related to languages and racket

2021-05-08 Thread Nathaniel W Griswold
pe it. If it's a hassle, then don't bother, i don't really care, it just wasn't a list post. Sorry! Nate > On May 8, 2021, at 8:14 AM, Nathaniel W Griswold wrote: > > g -- You received this message because you are subscribed to the Google Groups "Racket

[racket-users] Requesting an opinion on some email processing questions; related to languages and racket

2021-05-08 Thread Nathaniel W Griswold
Hello Professor! I like the Racket community, so i value the opinions of people in it. I am contacting you regarding an email from you from way back in 2011 that i found here: https://lists.racket-lang.org/users/archive/2011-June/045971.html and had a quick couple questions. 1) I was just wond

Re: [racket-users] Tell require where to find C libraries ?

2021-05-07 Thread Nathaniel W Griswold
ystem, which is Big Sur 11.3.1. Nate > On May 7, 2021, at 8:53 AM, Nathaniel W Griswold wrote: > > Folks, > > One other thing you can do that might work here is to set an environment > variable for yourself. I don’t remember the exact details of how libraries > are looked u

Re: [racket-users] Tell require where to find C libraries ?

2021-05-07 Thread Nathaniel W Griswold
Folks, One other thing you can do that might work here is to set an environment variable for yourself. I don’t remember the exact details of how libraries are looked up but on my system (mac os) i can do something like: % ls /opt/local/lib/libtag_c.* /opt/local/lib/libtag_c.0.0.0.dylib /op

Re: [racket-users] Polished 3D package for some simulations

2021-04-11 Thread Nathaniel W Griswold
Thanks all, i’m just going to see if Pict3D works out. I didn’t know about it before. I don’t really need textures for this project as i am starting with just particles moving around and wave superposition. Nate > On Apr 8, 2021, at 2:59 PM, Hendrik Boom wrote: > > On Thu, Apr 08, 2021 at 11:

[racket-users] Dynamic-place module-predifined? requirement

2020-12-16 Thread Nathaniel W Griswold
Hello. The docs at https://docs.racket-lang.org/reference/places.html?q=places#(def._((lib._racket%2Fplace..rkt)._dynamic-place)) state: "The module-path argument must not be a module path of the form (quote sym) unless the module is predefined (see module-predefined?).” Is this true? I notice

[racket-users] Dynamic-place PR

2020-12-09 Thread Nathaniel W Griswold
Hello. Is the PR #3518 “Create `racket/place/dynamic` to reduce dependencies.” going to happen? I was trying to use ‘#%place and its `dynamic-place` but realized i have to do some management of streams, i think. Nate -- You received this message because you are subscribed to the Google Group

Re: [racket-users] Trouble with `set-copy`

2020-12-08 Thread Nathaniel W Griswold
> On Tue, Dec 8, 2020 at 6:45 PM Nathaniel W Griswold > wrote: > I think it is something more. The copied set is giving completely different > elements. If i loop over the copied set i get 32 values from 0 to like 31, > when i have in fact added 1000 random elements to the original

Re: [racket-users] Trouble with `set-copy`

2020-12-08 Thread Nathaniel W Griswold
anted to call list->mutable-seteqv? Or maybe just start with an > immutable set? > > Robby > > > On Tue, Dec 8, 2020 at 6:40 PM Nathaniel W Griswold > wrote: > Thanks. Switching to 7.9 now. > > Nate > > > On Dec 8, 2020, at 6:

Re: [racket-users] Trouble with `set-copy`

2020-12-08 Thread Nathaniel W Griswold
Thanks. Switching to 7.9 now. Nate > On Dec 8, 2020, at 6:38 PM, Jon Zeppieri wrote: > > I think that's this bug > [https://github.com/racket/racket/commit/543dab59640fa5e911443baaadaae471406dbf40], > which should be fixed in 7.9. - Jon > > On Tue, Dec 8, 2020 at 7:

[racket-users] Trouble with `set-copy`

2020-12-08 Thread Nathaniel W Griswold
I don’t know if i’m missing something or what, but the following is confusing me: (let ([test (mutable-seteqv)]) (for* ([i (in-range 1000)] [j (random 0 1000)]) (set-add! test j)) (let ([test-copy (set-copy test)]) (printf "test-copy=~a\n" (set->list test-copy)) (printf "

Re: [racket-users] snappier place startup time

2020-11-24 Thread Nathaniel W Griswold
I noticed i am using the pl- functions so I replaced th-place.rkt with a stub and saw more time shaved off, this time about 15ms for each racket/place import. Under what circumstances is th-place used instead of '#%place and needed? Nate > On Nov 24, 2020, at 12:31 PM, Nathaniel W

Re: [racket-users] snappier place startup time

2020-11-24 Thread Nathaniel W Griswold
/place one time instead of once for each place. Nate > On Nov 24, 2020, at 12:24 PM, Nathaniel W Griswold > wrote: > > Actually, it cuts about 20-25ms off of a single import. Down from 185ms to > 165ms for me. 50ms off my startup time of my app on average, since i > basicall

Re: [racket-users] snappier place startup time

2020-11-24 Thread Nathaniel W Griswold
off. Nate > On Nov 24, 2020, at 12:09 PM, Nathaniel W Griswold > wrote: > > I checked into it a bit. > > racket/fixnum, racket/flonum, and racket/vector are needed by > “private/th-place.rkt”, which is required by racket/place. Not sure why > DrRacket is say

Re: [racket-users] snappier place startup time

2020-11-24 Thread Nathaniel W Griswold
why? I was > > > expecting it to be fast since the module is based on racket/base. > > > > > > > > #lang racket/base > > > > > > > > (require syntax/location) > > > > (require racket/place) > > > > > > > >

Re: [racket-users] snappier place startup time

2020-11-24 Thread 'Nathaniel W Griswold' via Racket Users
ew. > > > > > > > > The following code takes around 250ms on my machine. Any idea why? I was > > > expecting it to be fast since the module is based on racket/base. > > > > > > > > #lang racket/base > > > > > > > > (req

Re: [racket-users] snappier place startup time

2020-11-24 Thread 'Nathaniel W Griswold' via Racket Users
Thank you, Matthew. The following code takes around 250ms on my machine. Any idea why? I was expecting it to be fast since the module is based on racket/base. #lang racket/base (require syntax/location) (require racket/place) (module test racket/base (provide place-main) racket (define (