
Hi. I’m not sure where to put this. I’m having trouble signing in to https://pkgs.racket-lang.org. I’m trying to reset my password and I’m not getting an email with a code.

There’s a recent <https://groups.google.com/g/racket-users/c/4cVhFj_7x7E/m/5L2IYeluCAAJ|post from Tony> about changes to the password reset and registration code. First, double-check your spam filters to see if the email got caught there. If not, you can reply to the post or email Tony directly (see post for email).

I checked my spam, and the email was there :man-facepalming:. Thanks for your help.

Does anyone know the mechanism used by include-template
to know when to recompile the file containing include-template
when the file that include-template
includes is changed? I’m watching Sam’s “Great Metaprogram-off” video, and the Elixir person mentioned explicitly declaring the text file as a resource to accomplish this. I just looked through a handful of Racket source files to find the answer, but I didnt’ get far :)

Relevant portion of <https://www.twitch.tv/videos/920479571|the Elixir comment> is at 0:42:00.

I think it is compiled everytime? https://github.com/racket/web-server/blob/master/web-server-lib/web-server/templates.rkt

Hmm.. but wouldn’t raco make
skip compiling the outer .rkt file if it found a .zo ?

Yes, I believe so.

But, I think it does the right thing. I use templates for my web app, and I’m pretty sure that if I change the .html file, Racket will appropriately recompile the .rkt file that includes it. I could be mis-remembering though.

In other words, I thought Racket was implicitly doing what was happening in Elixir with that “resource” declaration i.e. declaring the .html template file as a dependency.

I can’t see anything in the docs about this issue. It is worth an experiment to see if, it actually does follow your expectations.

I’m 99.9% sure that if I change a .html file and then compile my main web app file, it will pickup the change.

Maybe @jeapostrophe knows :)

Although, I think it’s more of a Scribble thing than a web server thing.

That was a great session, and not only because I learned that Elixir enthusiasts should not own an Alexa :)

Yes, it uses the same mechanism as include to register the relationship with the compiler

Ah, I think I found it: https://docs.racket-lang.org/raco/cm-accomplice.html?q=register-external-file#%28def._%28%28lib._compiler%2Fcm-accomplice..rkt%29._register-external-file%29%29\|register-external-file (https://github.com/racket/racket/blob/cff766ab84dcc5d9dc969930611e0b8c150bfaf6/racket/collects/racket/include.rkt#L35\|source )

:wave::skin-tone–3:, I’m trying to see if it’s possible to regenerate documentation for a linked development package? It seems that doc is only generated on raco pkg install ...
but it’s not possible to update a linked package so…?

You can use raco setup <collection-name>
or raco setup --pkgs <package-name>
.

that was simple :}

thanks :thumbsup:

Well spotted.