Peter Stenger

Results 189 comments of Peter Stenger

A few scattered thoughts: - The top nav should include links that people are going to use a lot: I feel like switching institutions is not something relevant to most...

I'm imagining a system where you could say "N submissions across a time period" or "5 submissions each day, except for the last day". Maybe our current rate limit system...

I like the ideas of having a rate limit at the access control level, and expanding the rate limit to support the N submissions over a time period. Maybe we...

> symlinking CLAUDE.md, copilot-instructions.md, codex.md, and the various prompt directories to these standard locations? When you say this, do you mean a local symlink, or a committed-to-git symlink? I like...

> I believe @mwest1066 tested this in PrairieTest and it just worked. Unfortunately, it didn't work for me in Cursor. I get errors opening the file unless I use a...

Keeping this in draft until #12211 is merged, so that I can write down some patterns used there in this. - icons - pagelayout / type pattern - branded types...

I think that I want to rework this to use an external tool, so I will close this out for now.

A couple of these questions are answered here: https://github.com/axe-me/vite-plugin-node/tree/main/packages/vite-plugin-node#how > Vite by design has a middleware mode, which allows us to use it programmatically inside other modules. It's originally made...

> Also: what would it take for us to use this to back `make dev` by default? 1) Fixup all the code to work if `server.ts` re-runs, but other code...

> Are you thinking something that would allow us to do this instead? Yep > Are you thinking that as part of tasks like https://github.com/PrairieLearn/PrairieLearn/issues/11852, it'd be nice if auto-restart/HMR...