2,570 karma · joined May 8, 2019 (7y ago) · 1,261 submissions
comment 3y ago · link · parent
Second, there's this idea that compiler parsers are inherently slow and require a full build to use or something. As if tree-sitter parsers were using some magic tech unavailable to compilers, and most new ones weren't modular or didn't offer APIs. It's not even hypothetical, increasingly more modern languages have semantic highlighting in real-time as part of the toolchain.
And in fact, I actually wanted to use that tech in a compiler, I said I tried to use tree-sitter for one, but that's where my big issue with tree-sitter came in: It would return parse trees that blatantly didn't match the grammar I wrote, and not mark them as bad syntax in any way. That's not error recovery, that's swallowing errors. If it does that, I'd rather work on making toolchain parsers better than fighting tree-sitter.
Even the "run the parser on the editor" part is solvable, since tree-sitter parsers are being shipped as WASM. A WASM interface for running possibly incremental parsers (that tree-sitter would also use) sounds more interesting, really.
comment 3y ago · link · parent
comment 3y ago · link · parent
At least as long as the parse trees are inherently worse: Even ignoring context-dependent grammars, last time I checked tree-sitter parsers had many edge cases in which they'd accept invalid syntax but not mark the parse trees as bad, which makes them unsuitable for compiler use.
comment 3y ago · link · parent
Didn't this just reveal that they're A/B testing on Musk's tweet performance? At the very least they're avoiding regressions, and I guess any incidental improvements to it won't be reversed, so isn't it fundamentally the same? Unless we're taking the word "everyone" literally, I guess.
comment 3y ago · link · parent
You just renew them late. There's a risk that you'll need them right then, sure, but generally those mistakes don't lock you out of fixing them for the future. However, a domain is easily irrecoverable.
comment 3y ago · link · parent
Meanwhile, the built-in Stdlib finally started to acquire much needed functions and modules during the late 4.x releases. My biggest worry is whether they'll keep up the pace, it doesn't even have a resizable array or, alternatively, a Clojure-like vector (but neither does Base).
comment 3y ago · link · parent
Having Android block or flag spam calls automatically was a godsend, even nontechnical people are looking into that feature now.
comment 3y ago · link · parent
How is this avoidable specifically in Europe you say? Breaches affect us here just as much as anywhere else, specially since most breaches are user/client lists from large corporations most people can't afford to stop dealing with.
> are the unlucky, statistically unlikely victim of spam from a new source that is yet to receive punitive action
Unlikely? Given the rate at which scam and spam calls have increased in my country as data breaches built up, and this has been going for long already, I doubt they're getting much punitive action here.