@ben.knoble what would be the best way to search in https://benknoble.github.io/racket-slack-archive/? Right now I think it’s only indexed by date, right?
Yes, that’s correct. Building out a better search is kind of a todo. Some people have told me they have good luck with google’s site:
searches, but I haven’t had that luck.
Thanks
Yeah, I tried "syntax-parse" site:<http://benknoble.github.io\|benknoble.github.io>
. Nothing meaningful comes up.
Try it with the /racket-slack-archive
, maybe; they function almost independently
In Slack?
Oh oh
You mean append that to the Google search
lol
I thought you meant there’s a /racket-slack-archive
command in Slack lolol
woops, sorry, yes, I meant the search. And by “they” I meany my blog of sorts vs. the archive site.
Extracted a directory tree of 10 files to another directory that was sufficient to compile the error.rkt
controller. I thought I had reproduced it, and was going to work on making it as small as possible, but now, I’m not seeing the artifacts :( No idea why having the same files in a different location would “fix” it.
I suppose the length of the lines may be a clue, but that doesn’t narrow it down much :)
The 2 images show how the tooltip changes as I move the cursor to the right. The “No bound occurrences” tooltip appears before I get to the white strikeout line.
It does seem related to that macro that expands to include-template
The artifacts only appear in my controller files that use that macro.
Ah, got something. Changing: (require web-server/http
web-server/templates)
to: (require web-server/http
web-server/templates
(only-in xml xml-attribute-encode))
Causes the problem.
Ok, this is weird. Commenting out that 3rd line removes the strange artifacts, but then uncommenting did not restore the strange artifacts. There’s some odd state management going on.
One more clue. Changing #lang racket
to #lang racket/base
fixed the artifacts in 2 of 3 files. Maybe related to the fact that the file containing the macro also used #lang racket/base
instead of #lang racket
?
Hmm.. looks like it fixed it in one file, the second file now has a blue line that I mistook for the “unused require” line. So, in that second file, using #lang racket/base
fixed one of the “no bound” artifacts, but left one of them.
So, in summary, changing to #lang racket/base
removed the artifact near the #lang
in all 3 files, and removed both artifacts in the simpler error.rkt
file.
Ok, never mind, that change just moved the artifact lines in such a way as to nearly hide them. I’m done now, this is going nowhere.