I suppose the main reason I think it's hyperbolic is because I disagree with you that this is a critical feature. First of all, I've written lots of scores with MuseScore and Sibelius and I don't remember ever missing…
I downvoted your comment, not because I'm a MuseScore apologist, but just because calling an extraordinarily complex piece of software like this "trash" just because it's missing an obviously-useful-but-non-critical…
Exactly. I did get the impression that the author is more familiar with OCaml than Rust. However I don't think they were claiming Rust's greater low-level control makes it inferior to OCaml in general. They're just…
It's the opposite for me. Typing seems to have gotten easier. Especially now that Apple added their own swype-like functionality, I've found I'm more willing to type longer pieces of text on the phone, where I…
The point though is that the tone of his article seems to suggest that this is some scary "gotcha" of the language, whereas some of us consider this to just be the expected behavior.
I'm puzzled by your statement that "Coaxing the engine to use an index is much harder, if not impossible in postgres so far". If this were true it would make Postgres pretty much unusable for any non-toy applications,…
You're interpreting the headline too literally if you what you took from it was that people care about the actual color of the messages. The point is that they care about preserving the advantages of everyone in a group…
While you may not have to directly call malloc and free in Rust, the memory management still feels very manual compared to a language with GC. When I want to pass an object around I have to decide whether to pass a &_,…
Sounds like you want jsonschema.
There are other reasons for deciding not to sell a house after advertising it other than pulling a bait-and-switch scam. Maybe the seller changed their mind about selling it, or realized the house is worth more than…
Yes, the variable names in the case patterns are treated like variables on the left hand side of an assignment statement. Whatever value they may have had before is irrelevant. A pattern which consists solely of a…
>> This comes from the Ada design philosophy to be explicit in everything and to prefer the use of keywords over symbols. This may be true, but it doesn't contradict the claim that Ada is old-fashioned in this regard.…
Python's time.time() call is also going to be affected by system time changes and thus not guaranteed to increase uniformly. So Date() in Swift and time.time() in Python are the same in that regard.
I agree with you. I'm actually a big fan of both Haskell and F#, and use Haskell especially for a lot of my hobby projects. However the idea that either of them make a better scripting language than Python seems…
I found the official docs on how python special methods are looked up. https://docs.python.org/3/reference/datamodel.html#special-l... Apparently the runtime is even more picky than I showed. The method has to be…
This is because the actual translation of `a + b` is a little more complicated. It's something like this: if '__add__' in a.__dict__: try: return a.__add__(b) except NotImplemented: if '__radd__' in b.__dict__: return…
Agreed. I've read accounts from several elite players who were told they wouldn't be taken as seriously if they played a contemporary instrument compared to if they played a Strad or Guarneri, independent of their…
I think most people understand that rarity and antiquity have an intrinsic value to many people, including for violins. If someone said they value their Stradivarius because it's a piece of history, I don't think there…
The other problem that T solves and nested doesn't is being able to reuse a spec. Once you have a spec, whether created with T or directly, you can call glom multiple times with the same spec, pass the spec to another…
Apparently constexpr is like "inline". Just as the inline keyword doesn't actually guarantee that the compiler will inline a function, so constexpr doesn't require the compiler to precompute something, but rather just…
Exactly. The author wasn't advising against using higher order functions in general, just certain ones like comp and partial, which are easily replaced by anonymous functions. I.e. (comp a b) is the same as #(a (b %)),…
Yes, that's what "standby" tickets basically are. Some airlines would (not sure it's still a thing) sell you a "standby" ticket for cheaper than a normal ticket, which meant you show up and wait at the gate until near…
The Lambda API is an HTTP API. http://docs.aws.amazon.com/lambda/latest/dg/API_Reference.ht...
I suppose the main reason I think it's hyperbolic is because I disagree with you that this is a critical feature. First of all, I've written lots of scores with MuseScore and Sibelius and I don't remember ever missing…
I downvoted your comment, not because I'm a MuseScore apologist, but just because calling an extraordinarily complex piece of software like this "trash" just because it's missing an obviously-useful-but-non-critical…
Exactly. I did get the impression that the author is more familiar with OCaml than Rust. However I don't think they were claiming Rust's greater low-level control makes it inferior to OCaml in general. They're just…
It's the opposite for me. Typing seems to have gotten easier. Especially now that Apple added their own swype-like functionality, I've found I'm more willing to type longer pieces of text on the phone, where I…
The point though is that the tone of his article seems to suggest that this is some scary "gotcha" of the language, whereas some of us consider this to just be the expected behavior.
I'm puzzled by your statement that "Coaxing the engine to use an index is much harder, if not impossible in postgres so far". If this were true it would make Postgres pretty much unusable for any non-toy applications,…
You're interpreting the headline too literally if you what you took from it was that people care about the actual color of the messages. The point is that they care about preserving the advantages of everyone in a group…
While you may not have to directly call malloc and free in Rust, the memory management still feels very manual compared to a language with GC. When I want to pass an object around I have to decide whether to pass a &_,…
Sounds like you want jsonschema.
There are other reasons for deciding not to sell a house after advertising it other than pulling a bait-and-switch scam. Maybe the seller changed their mind about selling it, or realized the house is worth more than…
Yes, the variable names in the case patterns are treated like variables on the left hand side of an assignment statement. Whatever value they may have had before is irrelevant. A pattern which consists solely of a…
>> This comes from the Ada design philosophy to be explicit in everything and to prefer the use of keywords over symbols. This may be true, but it doesn't contradict the claim that Ada is old-fashioned in this regard.…
Python's time.time() call is also going to be affected by system time changes and thus not guaranteed to increase uniformly. So Date() in Swift and time.time() in Python are the same in that regard.
I agree with you. I'm actually a big fan of both Haskell and F#, and use Haskell especially for a lot of my hobby projects. However the idea that either of them make a better scripting language than Python seems…
I found the official docs on how python special methods are looked up. https://docs.python.org/3/reference/datamodel.html#special-l... Apparently the runtime is even more picky than I showed. The method has to be…
This is because the actual translation of `a + b` is a little more complicated. It's something like this: if '__add__' in a.__dict__: try: return a.__add__(b) except NotImplemented: if '__radd__' in b.__dict__: return…
Agreed. I've read accounts from several elite players who were told they wouldn't be taken as seriously if they played a contemporary instrument compared to if they played a Strad or Guarneri, independent of their…
I think most people understand that rarity and antiquity have an intrinsic value to many people, including for violins. If someone said they value their Stradivarius because it's a piece of history, I don't think there…
The other problem that T solves and nested doesn't is being able to reuse a spec. Once you have a spec, whether created with T or directly, you can call glom multiple times with the same spec, pass the spec to another…
Apparently constexpr is like "inline". Just as the inline keyword doesn't actually guarantee that the compiler will inline a function, so constexpr doesn't require the compiler to precompute something, but rather just…
Exactly. The author wasn't advising against using higher order functions in general, just certain ones like comp and partial, which are easily replaced by anonymous functions. I.e. (comp a b) is the same as #(a (b %)),…
Yes, that's what "standby" tickets basically are. Some airlines would (not sure it's still a thing) sell you a "standby" ticket for cheaper than a normal ticket, which meant you show up and wait at the gate until near…
The Lambda API is an HTTP API. http://docs.aws.amazon.com/lambda/latest/dg/API_Reference.ht...