JD
JD
Another solution is to request Syntax Highlighting when viewing the paste, with a route like `/view//. The `/new` logic would be: 1. Create a paste and indicate a default language,...
I agree with what you said, but I do have a question: what do we prefer between: 1. syntax highlighting recomputed at each view, as you propose 2. syntax highlighting...
A third option is to simply have a configuration variable allowing to switch between the two modes. After all, the difference is pretty small (save the highlighted paste or recompute...
[http://flask.pocoo.org/docs/0.11/testing/](http://flask.pocoo.org/docs/0.11/testing/) is probably a good starting point for research.
I don't see a problem with that! Just please keep us updated regarding your choices (testing framework, what you test, etc.), so that we can make sure we don't forget...
Some thoughts on these questions: 1. If the paste id is `H(paste)`, then we allow private pastes' visibility to be overwritten if someone posts the same content as public. `H(paste...
Ok, this sounds good. Or at least, good enough for the scope of TorPaste :D
On macOS 15.0.1, using Deno 2.0.3 and node 22.10.0, I get the same issue as the original description: ```javascript import * as dns from "node:dns"; dns.lookup("nonexistent-domain.net", (_err, address, family) =>...