bhrgunatha
2021-4-4 08:19:58

@bhrgunatha has joined the channel


sschwarzer
2021-4-4 11:47:28

How often / regular are these meetings? I guess I’d like to join one day. :slightly_smiling_face:


samth
2021-4-4 12:17:13

Surely that should be clopen-range?


joel
2021-4-4 14:13:19

Makes me want to get out my guitar


mflatt
2021-4-4 15:16:09

If you read a string from a port, then it it was UTF–8-encoded by definition. If that port draws from another port with a different encoding — i.e., the port’s job is to convert — then it’s up to the convert port to translate your byte-based consume to a suitable consume on the original port.


mflatt
2021-4-4 15:17:28

But I forgot about bad UTF–8 encodings. If there’s a bad encoding that gets converted to the error character, then string-utf-8-length would not be right.


mflatt
2021-4-4 15:19:03

So, probably string-utf-8-length is not a useful piece for this problem.


samdphillips
2021-4-4 16:29:31

About once a month right now


notjack
2021-4-4 18:50:48

@samth it definitely should not


hazel
2021-4-4 20:51:51

has anyone made box-plots with the plot library? if so, are there examples of doing this? looking at the candlesticks renderer but that mandates that the x-coordinate is a real


hazel
2021-4-4 20:52:20

asking in case I’m missing something before I try and write a PR


suzanne.soy
2021-4-4 21:09:25

@alexharsanyi did a very nice talk at Racketfest with fancy plots (and fancy data processing), but I don’t remember if there was any box plot in that demo.


soegaard2
2021-4-4 21:28:50

@hazel Haven’t seen box plots for plot.


soegaard2
2021-4-4 21:32:13

It would be a good thing that the user computes the extended quartile set himself. Due to the number of different conventions in use of computing the median, and the first and third quartile.


lexi.lambda
2021-4-4 22:45:48

Ah, I see—I misunderstood the way encodings worked, but rereading the “Encodings and Locales” section of the reference, I see it is entirely consistent with what you’re saying. In that case, I think string-utf-8-length is probably good enough.

I can play with the way peeking-input-port behaves, but my main fear is how to handle commits. If I understand correctly, I would need to call port-commit-peeked on the original port, but this would disrupt the location of my peeking port. So if I need to commit part of what I’ve peeked so far, but not all of it, I assume I would have to construct a new peeking-input-port, but perhaps that’s okay. I can experiment.


hazel
2021-4-5 00:00:16

plot doesn’t really do anything with the data before plotting it, so I’d imagine a PR would just say “where to put the lines”


wjb
2021-4-5 05:51:04

I’m really surprised that this improved compile time so much. For a big scribble doc, it saved me > 10%. This makes me wonder about the default behaviour, at least when specifying --only --pkgs.