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

Are you saying this one isn't correct? Confused what point you're trying to make.

comment 9y ago · link · parent

Honest question: given you're saying this, do you know modern C++ in the first place? In other words, are you speaking with knowledge? Or without?

comment 9y ago · link · parent

I don't care as much for the Big Bang, but for it to go against relativity seems a bit hard to swallow.

comment 9y ago · link · parent

It doesn't even have sunrise/sunset? Or am I just missing it? (I use Weather Underground.)

comment 9y ago · link · parent

[edit: removing comment as people made it unreadable anyway.]

comment 9y ago · link · parent

I'm glad someone finally said it. I don't have a particular habit of predicting things correctly, but in this case I really couldn't see what the point of a 3D printer was. Even when I was given free access to one I had no idea what I would ever want to build.

comment 9y ago · link · parent

Question: is there any reason to believe the number of elements is not infinite?

comment 9y ago · link · parent

How much speedup was that "1000x" actually though? Like 2x?

comment 9y ago · link · parent

Is there some way to check without actually submitting our email address?

comment 10y ago · link · parent

> The EU approach to privacy (eroded by lobyying and lack of control over US companies) is that citizens have a right over their information. They can ask what personal information a company has on them, ask that it be corrected or deleted. This has resulted in companies that are more careful with data.

More like, this has resulted in things like nonsensical "Cookie warnings" that only waste the user's time.

comment 10y ago · link · parent

The model is the null hypothesis here... I don't think the parent comment was wrong w.r.t. this.

comment 10y ago · link · parent

> today, in more educated circles at least in my observation, doctors are just body mechanics. They derive most of their status from their pay.

...WTF? Is it even possible to write a more egotistical comment? Most doctors (especially surgeons, etc.), along with firefighters, police, etc. derive their respect in "educated circles" not from their pay (that's some of the worst nonsense I've heard this week) but from the kind of work that they do: saving other people's lives, especially in situations where one small mistake on their end can prove fatal for one or more parties involved. That's quite sufficient to deserve a ton of respect just by itself....

comment 10y ago · link · parent

Can someone explain how this "universal" syntax is supposed to be better than the old syntax?

comment 10y ago · link · parent

Thanks!

comment 10y ago · link · parent

Why the hell does glibc use quicksort as a fallback with no apparent protection against the O(n^2) case? Aren't there easy in-place O(n log n) sorts? Like heapsort?

comment 10y ago · link · parent

The problem is there shouldn't be much so I/O for loading programs in the first place, but .NET loves loading an exabyte from the disk whenever any program runs.

comment 10y ago · link · parent

How would this actually work? Wouldn't it be painfully slow? Even ARM emulation on x86 seems to be pushing it, and I feel like the reverse should be 10x worse at best...

comment 10y ago · link · parent

Whoa, any reading you can point to on that historical note?

comment 10y ago · link · parent

1-800 was a bad example, but what about mobile-to-mobile calls on the same carrier, that some carriers have offered unlimited for free?

comment 10y ago · link · parent

WARNING/fun fact: it doesn't download all emails properly. Last time I tried it, it seemed that when the Gmail server randomly closed a connection (or maybe some other time, but I think it was in these instances), the program would just keep whatever partial results it had and then move on to the next email. Which meant I had a lot of partial emails on my drive (only a small fraction of all the emails, but still), and no way to detect them.

comment 10y ago · link · parent

> Sharing modes don't help with the STATUS_DELETE_PENDING issue.

Maybe I misunderstood the problem. But I think my reasoning holds regardless? To be clear, it seems you're talking about a situation where an app is trying to delete and re-create a file, and an AV is scanning the file in between, hence a recreation fails.

But with their file system filter drivers, AVs can detect such recreation attempts, so they should be able to handle it properly. So isn't it their fault for not doing so?

> Nor does it let you delete a directory while children are open.

Right, but same as above: there exists functionality to detect this, right? So if it isn't used, whose fault is it?

comment 10y ago · link · parent

Do you mean logged into Chrome (e.g. profile sync)? or just logged into Gmail?

comment 10y ago · link · parent

I didn't say your experience was "wrong" though? That doesn't even make sense; your experience is what it is. I only said your reasoning about your experience was wrong, i.e. you should be blaming the applications and not the OS (whether they're made by MS or anyone else).

Regarding antiviruses: yes, of course I am. That's why they should be opening the files with FILE_SHARE_DELETE, and properly handling the edge cases. Unless you're telling me it's impossible (which I strongly suspect isn't the case, but then again I've never tried to write an AV myself), I don't see how it's the OS's fault. This flag and the associated functionality obviously exists for a reason, right? It's not an OS design flaw if people aren't using it, is it? People can refuse to play along with anything... that doesn't mean the OS is flawed.

comment 10y ago · link · parent

OK, so let me explain why your reasoning is wrong.

The problems here only occur if your app is modifying files that do not "belong" to it. For apps that store config files, databases, etc., these problems should not arise, because those files should only be touched by those apps, and (a) the app is already aware what metadata the file should have and is the one maintaining control over the files, and (b) the app can make sure that it is never using a file that it is trying to delete. If the user is messing with the app's files, then the user is just as responsible for not preventing their deletion as he/she is responsible for not corrupting their contents. You can't blame the deletion behavior for that; the responsibility for proper care rests entirely on the user, and having a different delete behavior doesn't fix the core problem.

For files that don't belong to the app, the situation is entirely different. First, apps should not be deleting files that don't belong to them without user consent. And if the user is consenting, the user is responsible for ensuring this does not cause problems. Second, those that modify files they do not own are responsible for all aspects of this, including preserving metadata. This is of course difficult and quite a burden, but at this point, it is considered a bug in the application if it does not do this correctly. Again, the app is the one mucking with files that it does not own, so the app and the user together are responsible for maintaining consistency, not the OS.

comment 10y ago · link · parent

That sounds obscene even to my Linux ears... why would it be a good idea to version control the system directory in any OS?

comment 10y ago · link · parent

There is such a thing as NTFS tunneling, if that's what you mean. Not sure what you have in mind if you mean otherwise.
1
222324
52