3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions
comment 9y ago · link · parent
Not quite. First, this guy went out of his way to lie and insert extra bugs in his code to make it appear like manual labor. Second, this guy is doing it all the time, whereas normally people might only do this on occasion. You can argue about whether the latter is right or wrong, but there's quite a clear line between the two, making the former far more indefensible.
comment 9y ago · link · parent
It says things like this:
> Indicates that the data for the file should be obtained from a WIM file. On access, data is transparently extracted from the WIM file and provided to applications. If the file contents are modified, data is transparently decompressed and the file is restored to the same physical form it had if this API were not used.
This is "boilerplate" and "very little content" to you? What are you thinking of?
247.
Uber admits ex-CEO Kalanick knew Levandowski had stolen Google information(sfgate.com ↗)
83 points · by wfunction · 9y ago · 31 comments
comment 9y ago · link · parent
(a) It's a fundamental (but common) mistake to view processing as a logically "separate" stage from compiling C++ code. The two are semantically intertwined for all intents and purposes. Trivial example: the value of std::numeric_limits<int>::max() MUST match that of INT_MAX. Another trivial example: #pragmas (like omp parallel or vectorize) are "preprocessor" directives that can't really be "preprocessed"; they're often tightly coupled to the actual code. You cannot preprocess a program with a compiler that differs in any semantically visivle way from the actual compiler and expect the program to behave as the C++ standard specifies. The correct way to see a preprocessed file is as a convenient text-format snapshot/dump of the compiler's memory in the overall compilation process, nothing more.
(b) I don't want to spend more time on this but I'm pretty sure you could find a counterexample that doesn't depend on the preprocessor if you try hard enough. Just pretend I'm claiming the opposite and you're arguing with me about that, trying to prove me wrong. I'm sure you'll find a counterexample. Look at >> vs. > > and the like if you have no idea where to start.
comment 9y ago · link · parent
I'm not blaming anybody/anything though
> It never gets to the make_unique because there's another error before it.
Yes, that was literally the entire point of this example, because the prior commenter had said that GCC doesn't stumble on parsing errors and keeps going anyway.
comment 9y ago · link · parent
#include <memory>
#define u8 }{
struct Foo {
char const *foo() {
char const *r = u8"foo";
std::make_unique<int>(1);
return r;
}
};
Maybe now you can argue it won't happen in practice, and my intuition is you'd still be wrong for large projects, but I don't have the time to try to come with a more realistic example. Hopefully this is enough to get the point across though. The syntax has changed, and the compiler can be only so smart trying to decipher it efficiently.comment 9y ago · link · parent
So you're saying you're unaware of the information on e.g. this page [1]? Which notably does not include Windows 10?
Notable quote (but not the only relevant one): "By default, error reporting is enabled. However, additional configuration steps are needed to configure error reporting, and no reports are sent unless these steps are completed."
> I didn't shove anything down anyone's throat.
I don't know about you personally, but so explain WTF was this crap they started doing after people were turning down the initial offers? [2]
"The redesigned GWX pop-up now treats EXITING the window as CONSENT for the Windows 10 upgrade."
> But you have to think about it from MSFT's perspective.
I never said what MS is doing is not beneficial to itself, did I?
> people like you will always find a reason to complain.
This is so wrong. I was pretty darn happy and not complaining about Windows XP, 7, or 8 (with the exception of 8's Metro UI). I've been complaining about Vista and 10. So it really does matter what MS does.
[1] https://technet.microsoft.com/en-us/library/jj618323.aspx#BK...
[2] http://www.pcworld.com/article/3073457/windows/how-microsoft...
comment 9y ago · link · parent
Didn't they let you disable it though? Unlike what you just claimed is the case in Win10?
> you are more than welcome to not use Windows
Yes, and people would avoid upgrading to Windows 10 because of this, if you didn't shove it down their throats. Which is of course why you had to do that in the first place.
comment 9y ago · link · parent
Unrelated to my sibling comment, but the parent was talking about tracking and nagware during the Windows 10 TRANSITION, which you conveniently ignored. You're talking about Windows 10 itself.
Windows 10 was forcefully shoved down so many people's throats who were desperately trying to avoid it, with misleading "confirmation" triggers to install Windows 10. Don't try to pretend Microsoft was innocent.
comment 9y ago · link · parent