From a quick look it seems like it's "as fast as a linter" because it is a linter. The homepage says "Not just generic AST patterns", but I couldn't find any rule that did anything besides AST matching. I don't see…
> My takeaway is that his test email bounced What test email? I see no mention of a test email in the blog post. The mail that bounced was the one with the verification link from Viva.
> but we shouldn't forget that this kind of failure can only happen starting from an ambiguous grammar specification I don't think that's true. The following CFG is unambiguous: S ::= A S | A A ::= 'a' | 'a' 'b' Yet if…
Note that they're actually citing "Mitchell, Webb et al." in the paper.
> A lot of these games with fancy anti cheat protection the cheat tools basically just tell the server "spawn me a vehicle right here" and the server just does it. Citation needed. I'd be quite surprised if it were…
And perhaps more relevantly, the regex from the article also works fine in RE2.
> re2 uses a DFA-based system instead that just doesn't support the kinds of regexes that catastrophically backtrack There are certain fearures that are harder or impossible to implement with RE2's approach, but it's…
Yes and buying music on Amazon (which is what the comment I originally responded to was about), you get system number 2, i.e. a DRM-free MP3 download. Buying movies on Amazon is a different matter entirely, but the…
Which current systems? For games on Steam and movies basically anywhere, the current system is that after I buy the game/movie, I can watch/play it for as long as I have access to the account. If I lose the account or…
> > music I've purchased > They really ought to stop using "buy"/"purchase" metaphorically to mean something more like "one time fee for an indefinite lease that ends upon account termination." That doesn't really apply…
I wouldn't say the source language is not meaningful. If you wrote an ahead-of-time JavaScript-to-WebAssembly compiler and benchmarked the WASM generated by that, it would probably be a lot slower than the WASM…
An important difference between your add method and binary search is that the signature of your add method already implies the contract that the sum of the two integers must fit into an int because there simply is no…
> if this was true every company would be transparent "Only assholes and sociopaths are transparent" does not mean "all assholes and sociopaths are transparent".
> I am fairly confident that people still use Apache Ant as build system As in: there are still (older) projects around that haven't (yet) migrated away from Ant? Sure. As in: Ant is still the go-to build system or at…
If the `exit` variable were set to a string, `exit()` would be an error because you can't use `()` on strings. `exit` is a callable whose `__str__` method returns that message. Note that this isn't specific to the REPL.…
> it's conceptual slow because of the language (types, implicits, ...) and it's accidentally slow because written in Scala (a slow language) on the JVM (slow startups and warmups) Do you have reason to believe that the…
Å isn't a German character, it's Norwegian. GP was ordering a package from Germany to Norway.
> Honestly your comment is so beside the point that I am not sure that you are not trolling. That seems pretty antagonistic for no reason. > You parent comment basically says the very same thing How so? The original…
Word of warning: The Scanner class does not adhere to the maximal munch rule, so you shouldn't use it to match keywords the way that it's done in the code in the linked reddit thread. If you replace the word "foobar" in…
I can't find any evidence of that being true. In this article[1] for example, all the examples either have the comma before the "aber" or none at all. I can't find any example anywhere where a comma after the "aber"…
> In fact you wouldn’t really use iphone at all, but smartphone The sentence "Smartphone is a phone made by Apple" (or maybe "A smartphone is a phone made by Apple") would have a very different and wrong meaning though,…
> What is the programming equivalent of stack equal columns? The game's "stack equal columns" corresponds to Haskell's Data.List.group function: > import Data.List > group [1,2,2,3,3,3,2,1,1]…
> The variables used in the expressions might not be in scope (in fact they usually aren't). That's solved easily enough by evaluating the expression in the scope where it was defined (again that's what other languages…
> Also, the mutable default arguments problem is quite difficult to solve in any other way. Python never copies things for you. Why would it need to copy anything? What's wrong with just evaluating the default argument…
> At this point, does any major European country have more than two viable parties or coalitions? If we look at the coalitions that have happened at the national level in this century, we have: * Social Democrats +…
From a quick look it seems like it's "as fast as a linter" because it is a linter. The homepage says "Not just generic AST patterns", but I couldn't find any rule that did anything besides AST matching. I don't see…
> My takeaway is that his test email bounced What test email? I see no mention of a test email in the blog post. The mail that bounced was the one with the verification link from Viva.
> but we shouldn't forget that this kind of failure can only happen starting from an ambiguous grammar specification I don't think that's true. The following CFG is unambiguous: S ::= A S | A A ::= 'a' | 'a' 'b' Yet if…
Note that they're actually citing "Mitchell, Webb et al." in the paper.
> A lot of these games with fancy anti cheat protection the cheat tools basically just tell the server "spawn me a vehicle right here" and the server just does it. Citation needed. I'd be quite surprised if it were…
And perhaps more relevantly, the regex from the article also works fine in RE2.
> re2 uses a DFA-based system instead that just doesn't support the kinds of regexes that catastrophically backtrack There are certain fearures that are harder or impossible to implement with RE2's approach, but it's…
Yes and buying music on Amazon (which is what the comment I originally responded to was about), you get system number 2, i.e. a DRM-free MP3 download. Buying movies on Amazon is a different matter entirely, but the…
Which current systems? For games on Steam and movies basically anywhere, the current system is that after I buy the game/movie, I can watch/play it for as long as I have access to the account. If I lose the account or…
> > music I've purchased > They really ought to stop using "buy"/"purchase" metaphorically to mean something more like "one time fee for an indefinite lease that ends upon account termination." That doesn't really apply…
I wouldn't say the source language is not meaningful. If you wrote an ahead-of-time JavaScript-to-WebAssembly compiler and benchmarked the WASM generated by that, it would probably be a lot slower than the WASM…
An important difference between your add method and binary search is that the signature of your add method already implies the contract that the sum of the two integers must fit into an int because there simply is no…
> if this was true every company would be transparent "Only assholes and sociopaths are transparent" does not mean "all assholes and sociopaths are transparent".
> I am fairly confident that people still use Apache Ant as build system As in: there are still (older) projects around that haven't (yet) migrated away from Ant? Sure. As in: Ant is still the go-to build system or at…
If the `exit` variable were set to a string, `exit()` would be an error because you can't use `()` on strings. `exit` is a callable whose `__str__` method returns that message. Note that this isn't specific to the REPL.…
> it's conceptual slow because of the language (types, implicits, ...) and it's accidentally slow because written in Scala (a slow language) on the JVM (slow startups and warmups) Do you have reason to believe that the…
Å isn't a German character, it's Norwegian. GP was ordering a package from Germany to Norway.
> Honestly your comment is so beside the point that I am not sure that you are not trolling. That seems pretty antagonistic for no reason. > You parent comment basically says the very same thing How so? The original…
Word of warning: The Scanner class does not adhere to the maximal munch rule, so you shouldn't use it to match keywords the way that it's done in the code in the linked reddit thread. If you replace the word "foobar" in…
I can't find any evidence of that being true. In this article[1] for example, all the examples either have the comma before the "aber" or none at all. I can't find any example anywhere where a comma after the "aber"…
> In fact you wouldn’t really use iphone at all, but smartphone The sentence "Smartphone is a phone made by Apple" (or maybe "A smartphone is a phone made by Apple") would have a very different and wrong meaning though,…
> What is the programming equivalent of stack equal columns? The game's "stack equal columns" corresponds to Haskell's Data.List.group function: > import Data.List > group [1,2,2,3,3,3,2,1,1]…
> The variables used in the expressions might not be in scope (in fact they usually aren't). That's solved easily enough by evaluating the expression in the scope where it was defined (again that's what other languages…
> Also, the mutable default arguments problem is quite difficult to solve in any other way. Python never copies things for you. Why would it need to copy anything? What's wrong with just evaluating the default argument…
> At this point, does any major European country have more than two viable parties or coalitions? If we look at the coalitions that have happened at the national level in this century, we have: * Social Democrats +…