1,834 karma · joined November 22, 2017
https://meet.hn/city/ca-Ottawa
[ my public key: https://keybase.io/lavofr; my proof: https://keybase.io/lavofr/sigs/89IwNhliuw72n2Le4Cx6679wAkPUDO7p0v_Q_sipXoU ]
I implemented those recommendations in Caddy to enable a "trusted proxies" system which informs the proxy, logging, request matching etc to safely use the client IP taken from proxy headers.
It lets you chain data from one task to another based on knowing what possible and available given the types. That information just straight up doesn't exist in JS code, unless you write JSDoc comments all over with that information as static analysis hints. But why not just embed that information in the language itself instead of tacking it at the top of every chunk of code, much more elegant and allows way more power.
Even if you used JSDoc, you still need that static analysis tool to exist, and hey, that's exactly what TypeScript is. It's both a language definition for augmenting JS with types, but it's also a transpiler which takes TS code and spits out JS code, _and_ it will tell you if there's problems with the types. But since that engine exists, you can plug it into LSP and so on.
Remember, LSP exists _because_ of TypeScript. VSCode exists because of TypeScript. The team that works on VSCode and came up with LSP did it because they wanted TypeScript to integrate with VSCode and they had the foresight to build something generalized that could be used for ANY language.
Here's a list of "alg: none" JWT vulns. Every one of these would've been avoided had the standard been something like PASETO which didn't allow that. https://github.com/zofrex/howmanydayssinceajwtalgnonevuln/bl...
You say "I am not going to watch the talk" and then you continue to argue in bad faith. Please walk away if you're not going to engage honestly.
It shouldn't be about demand. It's about solving the danger of these poorly designed APIs to improve overall web security.
@oldPath path_regexp ^/old/([\w-]+)
rewrite @oldPath /new/{re.oldPath.1}.php
Having matching and handling be separate steps are a huge benefit to composability of config, you can have pluggable matchers and handlers.Re you issue with netdata, ask on the forums for help.