sorawee
2021-9-21 13:42:59

I’m all for moving away from Google Groups if it means we can deal with the spam problem more effectively


dan.ml.901
2021-9-21 16:32:08

Has anyone had trouble getting glob to work with ** on windows? e.g.: (require file/glob) (glob (build-path some place "**/*.txt"))


dan.ml.901
2021-9-21 16:32:16

Variations I’ve tried:


dan.ml.901
2021-9-21 16:32:22

(require file/glob) (glob (build-path some place "**" "*.txt"))


dan.ml.901
2021-9-21 16:33:55

(require file/glob) (glob (build-path some place "**\\*.txt"))


dan.ml.901
2021-9-21 16:34:17

They all return an empty list even though there is a tree of files present.


dan.ml.901
2021-9-21 16:35:05

(only on Windows)


dan.ml.901
2021-9-21 17:02:15

relatedly I discovered this issue: https://github.com/racket/racket/issues/4000


blerner
2021-9-21 21:20:28

A student today wrote #;; a line comment in their code, which broke my style-checker. I’m using a custom readtable that detects #\;, handles it as a 'dispatch-macro, and attempts to read-syntax/recursive on the port to read in the entire commented-out sexp. Except of course here, it’s not actually a commented-out sexp. Question: what is it actually that gets read here, and is there a way I can detect and ignore the supposed-to-be-a-line-comment somehow?


mflatt
2021-9-21 21:28:51

The reader’s handling of #; is to recursively read, but as usual ignoring comments in search of something to comment out. Since read/recursive reports a comment as a special-comment? value, you’d need to detect that and recur again.


blerner
2021-9-21 21:48:00

Ah, so I’ll wind up with a special comment there, whose content (I presume?) would be ; a line comment?


blerner
2021-9-21 21:52:56

hmmm, when I try special-comment-value on the resulting special-comment, I get a value of #f. Is there any way to obtain the text in it? it’s not urgent, just nice-to-have


ben
2021-9-21 21:57:23

thanks @dan.ml.901 , I completely forgot that glob didn’t work on Windows. I’ll try to fix this weekend.


mflatt
2021-9-21 22:08:56

The text is currently not preserved.


blerner
2021-9-21 22:10:36

got it, thanks


dan.ml.901
2021-9-22 00:07:09

Thanks @ben !


popa.bogdanp
2021-9-22 04:33:12

It came back yesterday afternoon and that CI job is now passing again. Thanks for the fix!