My very similar pet peeve is about websites that use `onclick` handlers and similar to implement navigation. Just use a damn anchor tag, which gets you correct link behavior for free: * works with middle click for new…
I actually found that particular response to be quite disappointing. It should give pause to those advocating removal of XSLT that these three totally disparate use cases could already be gracefully handled by a single…
Many of the responses to this comment imply that this is something fundamentally different than perfect pitch and give it some different name ("pseudo absolute pitch", "perfect relative pitch", etc.). While I concede…
Judging by the non-C scales, obviously it just loves Mixolydian mode :)
"A good ear" and grasp of music theory go hand in hand. Strongly disagree that the latter is limited to classical music. The best musicians in jazz and pop music absolutely know how to incorporate the circle of fifths,…
On the contrary; it's quite possible to design automated tests that operate on release artifacts. This is true not only at the integration level (testing the external interfaces of the artifact in a black-box manner),…
I develop multi-platform C and C++ code (intermingled with some python for testing and automation), and my experience has been that while MSYS + Git Bash works, I run into 'rough edges' on that side much more frequently…
The exemptions were very imperfect. Even if musicians and certain types of performers were exempted, this legislation has had an enormous effect on theater organizations, for example, especially at the semi-professional…
I call it “crying wolf in reverse” Isn't that just normal "crying wolf"?
Or, arguably, the C++ equivalent is just the destructor. 'Defer' and 'ScopeExit' are interesting, but I'm not sure if I see the advantage over widely understood first-class language features. If you don't want to write…
The borrower semantics is anything but simple. I keep seeing people saying this when discussing Rust in relation to C++. It's not untrue, but I would counter by saying that people who were writing C++ without having a…
I also work in the resource-constrained / embedded native space and have had to work within the kinds of constraints you're describing. I think you're severely misunderstanding what the comment you're responding to is…
Chandler Carruth's talk on the subject was really useful for my own understanding of the reasoning behind UB: https://www.youtube.com/watch?v=yG1OZ69H_-o
Right, I see that in the docs, which is awesome! My comment was more responding to the claim that this wouldn't be a useful tool without a large body of open-source packages, which I disagree with.
Having a large body of existing packages would be nice, but if this can be used with a private repository, it's be hugely valuable to me even if it had no open source packages available at all. I work in a corporate…
What a lot of people miss about the utility of Venmo is that it lowers the social cost of squaring up minor debts. Think of the example of a large group of friends often gathers in arbitrary subsets of the group to go…
Works well unless: - the restaurant doesn't do separate checks for large groups - friends ordered meals with significant variance in case, and the server wasn't initially told to keep items separated - you want to split…
Well sure, but that's a seriously high bar you're comparing it with. Measles is regarded as one of the most contagious diseases on earth, no?
> Be that as it may in most cases, the compiler shouldn't make an assumption that this is always the case. If I don't pass any optimization options, and especially if I pass -O0, the correct behavior should be "no…
I don't disagree, and I'm not sure what about my comment would suggest that I expect consistency there. What I was arguing was that any code relying on UB is dangerous / broken, so it's a good idea to surface any…
I think your complaint is reasonable, but I also can see their logic in making what's considered UB consistent for -O0 and other optimization levels. The reason is that for most use cases, I think it's pretty typical to…
This type of construct is unnecessary in C++11; the presence of RAII containers and structures totally obviates it. C++ provides a language-level construct for logic performed at the end of object lifetime (i.e., when…
Not if shared ownership is never actually required, though -- it's possible that ownership could transfer when moving through those different stages.
My very similar pet peeve is about websites that use `onclick` handlers and similar to implement navigation. Just use a damn anchor tag, which gets you correct link behavior for free: * works with middle click for new…
I actually found that particular response to be quite disappointing. It should give pause to those advocating removal of XSLT that these three totally disparate use cases could already be gracefully handled by a single…
Many of the responses to this comment imply that this is something fundamentally different than perfect pitch and give it some different name ("pseudo absolute pitch", "perfect relative pitch", etc.). While I concede…
Judging by the non-C scales, obviously it just loves Mixolydian mode :)
"A good ear" and grasp of music theory go hand in hand. Strongly disagree that the latter is limited to classical music. The best musicians in jazz and pop music absolutely know how to incorporate the circle of fifths,…
On the contrary; it's quite possible to design automated tests that operate on release artifacts. This is true not only at the integration level (testing the external interfaces of the artifact in a black-box manner),…
I develop multi-platform C and C++ code (intermingled with some python for testing and automation), and my experience has been that while MSYS + Git Bash works, I run into 'rough edges' on that side much more frequently…
The exemptions were very imperfect. Even if musicians and certain types of performers were exempted, this legislation has had an enormous effect on theater organizations, for example, especially at the semi-professional…
I call it “crying wolf in reverse” Isn't that just normal "crying wolf"?
Or, arguably, the C++ equivalent is just the destructor. 'Defer' and 'ScopeExit' are interesting, but I'm not sure if I see the advantage over widely understood first-class language features. If you don't want to write…
The borrower semantics is anything but simple. I keep seeing people saying this when discussing Rust in relation to C++. It's not untrue, but I would counter by saying that people who were writing C++ without having a…
I also work in the resource-constrained / embedded native space and have had to work within the kinds of constraints you're describing. I think you're severely misunderstanding what the comment you're responding to is…
Chandler Carruth's talk on the subject was really useful for my own understanding of the reasoning behind UB: https://www.youtube.com/watch?v=yG1OZ69H_-o
Right, I see that in the docs, which is awesome! My comment was more responding to the claim that this wouldn't be a useful tool without a large body of open-source packages, which I disagree with.
Having a large body of existing packages would be nice, but if this can be used with a private repository, it's be hugely valuable to me even if it had no open source packages available at all. I work in a corporate…
What a lot of people miss about the utility of Venmo is that it lowers the social cost of squaring up minor debts. Think of the example of a large group of friends often gathers in arbitrary subsets of the group to go…
Works well unless: - the restaurant doesn't do separate checks for large groups - friends ordered meals with significant variance in case, and the server wasn't initially told to keep items separated - you want to split…
Well sure, but that's a seriously high bar you're comparing it with. Measles is regarded as one of the most contagious diseases on earth, no?
> Be that as it may in most cases, the compiler shouldn't make an assumption that this is always the case. If I don't pass any optimization options, and especially if I pass -O0, the correct behavior should be "no…
I don't disagree, and I'm not sure what about my comment would suggest that I expect consistency there. What I was arguing was that any code relying on UB is dangerous / broken, so it's a good idea to surface any…
I think your complaint is reasonable, but I also can see their logic in making what's considered UB consistent for -O0 and other optimization levels. The reason is that for most use cases, I think it's pretty typical to…
This type of construct is unnecessary in C++11; the presence of RAII containers and structures totally obviates it. C++ provides a language-level construct for logic performed at the end of object lifetime (i.e., when…
Not if shared ownership is never actually required, though -- it's possible that ownership could transfer when moving through those different stages.