sorawee
2021-11-21 18:33:51

@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?


ben.knoble
2021-11-21 18:39:21

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.


sorawee
2021-11-21 18:40:19

Thanks


sorawee
2021-11-21 18:41:11

Yeah, I tried "syntax-parse" site:<http://benknoble.github.io\|benknoble.github.io>. Nothing meaningful comes up.



ben.knoble
2021-11-21 18:42:02

Try it with the /racket-slack-archive, maybe; they function almost independently


sorawee
2021-11-21 18:42:33

In Slack?


sorawee
2021-11-21 18:43:01

Oh oh


sorawee
2021-11-21 18:43:08

You mean append that to the Google search


sorawee
2021-11-21 18:43:09

lol


sorawee
2021-11-21 18:43:25

I thought you meant there’s a /racket-slack-archive command in Slack lolol


ben.knoble
2021-11-21 18:44:01

woops, sorry, yes, I meant the search. And by “they” I meany my blog of sorts vs. the archive site.


badkins
2021-11-21 19:20:11

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.


badkins
2021-11-21 19:21:51

badkins
2021-11-21 19:22:08

I suppose the length of the lines may be a clue, but that doesn’t narrow it down much :)


badkins
2021-11-21 19:23:00

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.


badkins
2021-11-21 19:23:49

It does seem related to that macro that expands to include-template


badkins
2021-11-21 19:24:12

The artifacts only appear in my controller files that use that macro.


badkins
2021-11-21 19:38:52

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.


badkins
2021-11-21 19:40:54

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.


badkins
2021-11-21 19:48:31

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 ?


badkins
2021-11-21 19:50:40

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.


badkins
2021-11-21 19:52:38

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.


badkins
2021-11-21 19:53:22

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.