alexharsanyi
2021-4-5 08:28:01

interestingly enough I have a blog post about this


alexharsanyi
2021-4-5 08:28:13

… but it is not ready yet (the blog post)


alexharsanyi
2021-4-5 08:31:05


alexharsanyi
2021-4-5 08:37:59

> plot doesn’t really do anything with the data before plotting it, not always true — for example, the function renderer will sample the input function at discrete positions, and for a more “extreme” example, see the density renderer…


gknauth
2021-4-5 15:23:24

Sorry I missed this. I would have much rather been in your meeting than the other one I was in.


samdphillips
2021-4-5 19:02:09

Next meet up Sat, 1 May 2021 at 20:00 UTC https://gather.town/app/wH1EDG3McffLjrs0/racket-users


sschwarzer
2021-4-5 20:05:21

Awesome :slightly_smiling_face:


pavpanchekha
2021-4-5 22:02:52

Very niche question about Racket CS—it seems real->floating-point-bytes allow 32-bit floats even though they’re not generally available in Racket CS. Can we rely on this going forward? We use it in Herbie…


samth
2021-4-5 22:25:33

Which reals are you providing as inputs?


mflatt
2021-4-5 22:33:09

Yes, that function will work to write 4-byte values even if there are no number values that are represented as 32-bit floats — that is, you can rely on it being available in CS


pavpanchekha
2021-4-5 23:00:50

:+1: Thank you @mflatt. And yes @samth we are providing double-precision flonum values that happen to be exactly representable as single-precision flonum values.



ben.knoble
2021-4-5 23:55:15

There’s some timeout stuff in the sandbox module, IIRC


yuhengleeeee
2021-4-6 04:35:39

@yuhengleeeee has joined the channel


jesse697
2021-4-6 05:42:21

any idea how I can use ASCII nul in a regular expression? I’m trying to use regexp-match to get a sequence of characters, none of which is "<" (less than) or the null character. In https://docs.racket-lang.org/reference/regexp.html ASCII nul does indeed show up, but it looks like it needs to be at the end of a pattern. Based on what I see in the docs about nul, I’ve tried #px"[^&lt;\\]" but this doesn’t work (square brackets aren’t balanced)


jesse697
2021-4-6 05:50:42

ah, nevermind, I figured it out: I can write (regexp-match #px"[^&lt;\u0000]+" s) (matching a string s) and it works