Better HN
topnewbestaskshowjobs
Log inSign up

wfunction

3,901 karma · joined Oct 15, 2012 (14y ago) · 1,547 submissions

Submissions

comment 9y ago · link · parent

They were annoyed at you because you exploited an information asymmetry between the two of you (which is how long the job would actually take).

comment 9y ago · link · parent

> If you've ever thought "I'm done for the day, but I'm going to hang out a little longer to leave at a more respectable time," then you're feeling (and doing) the same kind of thing.

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

I haven't to be honest, but at the same time I'm not sure what you expect to see as the summary here. Is there anything profound to say about two overloads that differ by an extra "millisecond" parameter?

comment 9y ago · link · parent

Here's an example of a new API they added recently (the first one I thought of): https://msdn.microsoft.com/en-us/library/windows/desktop/mt5...

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?

comment 9y ago · link · parent

A little off-topic, but does anybody know of any hacky ways to disable hyper-threading (on Haswell if it matters) if the firmware doesn't provide the option?

comment 9y ago · link · parent

Is this actually a dupe? Old one says Waymo is making an allegation, this one is saying Uber itself is admitting this...

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

Answer to what?

comment 9y ago · link · parent

Sigh, I knew someone was going to just complain that this is using the preprocessor and I'd have to waste more time on this...

(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 wouldn't blame the compiler

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

Doesn't sound like it to me... I don't consider it a bug. I don't think it's even solvable in general. In fact I think GCC is being quite generous in going out of its way to report things so nicely already.

comment 9y ago · link · parent

Nah, it's true. Here's dumb example, where the compiler errors totally miss make_unique:

  #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

The problem is the compiler can't necessarily even parse the file with an older version of the language.

comment 9y ago · link · parent

Haha I see, interesting, okay thanks :)

comment 9y ago · link · parent

> No, not to my knowledge. In fact, most people didn't even know that MSFT lit this feature up and they beefed it up for Vista.

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

> Which MSFT has been collecting since Win XP SP2

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

> Microsoft started by doing what every other OS maker was already doing by collecting telemetry

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

> The number of people I've met that are happy about new Windows 10 features outnumber the ones that would rather stick with win7 + security updates (without the privacy invading stuff).

And what about Windows 8.1 (with classic shell, not Metro)?

comment 9y ago · link · parent

> despite the fact that you could always turn it down to basic level which was essentially crash dumps

Crash dumps contain memory dumps, right?

Memory dumps can contain passwords and other sensitive data, right?

Whom are you trying to fool?

comment 9y ago · link · parent

Why is this not getting press coverage? This looks like a huge deal...

comment 9y ago · link · parent

The whole point of blocking calls from unknown numbers is that your phone doesn't ring or distract you. Picking it up is obviously not a solution.

comment 9y ago · link · parent

Can someone explain what "neighborhood spoofing" technology is? Is it legal (beyond the fact that it lets you spoof and match the first few digits)? Can anyone do it? What's a legitimate use case for it?

comment 9y ago · link · parent

Experience with this club, or experience with some other random club?

comment 9y ago · link · parent

That's pretty cool, thanks!

comment 9y ago · link · parent

And you got it through the Enterprise license? Through your company or personally? Nothing related to 10,000 Windows seats? That's pretty weird if so since they say you must meet that requirement...

comment 9y ago · link · parent

> A few years ago the ReactOS developers had to stop all development for several months to perform a source code audit.

What kind of an audit can you do without access to the original software's source code? How would you tell if it's actually different?

comment 9y ago · link · parent

But the point is you need to already have a relationship, right? It seems you can't just say "I'm curious" (or even better, "I want to track down X bug") and expect to get source access, contrary to what was claimed earlier... Enterprise specifically says you need to "Maintain 10,000 Windows seats" which is not something a lone developer would do...

comment 9y ago · link · parent

None of those categories seem to include ordinary developers though?

comment 9y ago · link · parent

How do you "ask them"? Do they have an email address for this? Or do you have to find the right guy on the team somehow?
1
8910
52