[racket-users] custom byte encoders?

2021-04-22 Thread je...@lisp.sh
Is it possible to make your own byte encoder? Section 4.5.4 of the 
reference talks about them and describes the handful of built-in ones. I 
don't see a way of making my own byte encoders, though. I'd like to have my 
own way of validating bytes and performing replacements, similar to what is 
done with the "UTF-8-permissive" encoder (for example, certain junk 
characters get replaced by #\uFFFD), but I'd like to do a bit more than 
that. For example, I'd like replace some exotic but otherwise valid UTF-8 
characters with #\uFFFD. It seems that the only way to do that is to write 
my own custom input (or output) port, with the validation/replacement logic 
contained within the custom port's peek/read-bytes/write-bytes procedures. 
Or perhaps I overlooking something?

Jesse

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/4a8c8030-b2f7-46fa-80ca-df425c6bda7an%40googlegroups.com.


Re: [racket-users] Add Link to the racket Discord to the racket website?

2021-04-22 Thread 'John Clements' via Racket Users
This is the second time I’ve heard of matrix.org this week. Time to check it 
out.

John

> On Apr 20, 2021, at 1:45 AM, Yury Bulka  
> wrote:
> 
> Just my 5 cents...
> 
> Recently I had to register on a discord "server" to ask a question
> within another community - and the experience was of a high barrier of
> entry. I needed to provide my age, confirm my email, then (that might be
> an issue of that particular "server" - I'm not sure) I was forced to
> wait 5 minutes before I could interact. Also I notice now that discord
> sends me email notifications that contain third-party tracking.
> 
> Another walled garden trying to make me an addict of their service.
> 
> The only thing I want to do now is delete any of my presence on discord.
> 
> The IRC + Matrix combination is much more open and inclusive I think.
> 
> And there is a question of transparency of governance and moderation of
> course.
> 
> --
> Yury Bulka
> https://mamot.fr/@setthemfree
> #NotOnFacebook
> 
> 
> 
> Adam Golding  writes:
> 
>> I'm not so sure now: https://groups.google.com/g/racket-users/c/SkJAKkQhlgw
>> 
>> 
>> On Mon, 19 Apr 2021 at 03:39, Adam Golding  wrote:
>> 
>>> seconded
>>> 
>>> On Sun, 18 Apr 2021 at 14:56, schle...@gmail.com 
>>> wrote:
>>> 
 
 The racket discord is managed quite well, I think it should be added to
 the racket website so that newcomers can find it easier, just a thought.
 
 Maybe below the link to slack?
 
 --
 You received this message because you are subscribed to the Google Groups
 "Racket Users" group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to racket-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/racket-users/a8e865db-f585-477d-b397-fceaa7cb3131n%40googlegroups.com
 
 .
 
>>> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/87pmyp1gzf.fsf%40privacyrequired.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/21c234c5-fd5b-4717-a9c0-40f2bd6df9c4%40mtasv.net.