Better HN
topnewbestaskshowjobs
Log inSign up

wfunction

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

Submissions

comment 11y ago · link · parent

Is it that hard to imagine a title like "Apple I discarded as junk sells for $200k; mystery man stands to get half"...?

comment 11y ago · link · parent

It's not minor. It's a freaking pain in the rear to have to fix this every time you defragment or move/resize a partition.

comment 11y ago · link · parent

Could someone please give or link to a comparison of Ext4 encryption and NTFS encryption?

1024.

Perl Cannot Be Parsed: A Formal Proof (2008)(perlmonks.org ↗)

4 points · by wfunction · 11y ago · discuss

1025.

Algorithms, Etc(algorithms.wtf ↗)

2 points · by wfunction · 11y ago · discuss

1026.

Alice and Bob – Cast of Characters(en.wikipedia.org ↗)

1 points · by wfunction · 11y ago · discuss

comment 11y ago · link · parent

Thanks!

comment 11y ago · link · parent

> I believe that Princeton PhD's go by "mister" instead of "doctor."

Would you have a reference for this? This is really interesting.

1029.

Google's plans for your teddy bear(indianexpress.com ↗)

2 points · by wfunction · 11y ago · discuss

comment 11y ago · link · parent

> The next question is why we would want the best and most unbiased. I think those are rather obvious.

It's not obvious to me why we want an unbiased estimator actually. A Maximum-Likelihood estimate, for example, seems just as reasonable. Do you have an explanation?

Not just that, but there's also the question of why we're looking for point estimates in the first place. It isn't the correct thing to do, but no one ever gives an explanation.

comment 11y ago · link · parent

This is precisely what I never found convincing: it never explains why we should be looking for a linear unbiased estimator in the first place.

comment 11y ago · link · parent

I've struggled with the motivation for this too, and over time I've come to the conclusion that there is a much better 1-sentence explanation:

Cost (in the real world) is generally a quadratic quantity.

If this isn't obvious, think of all the formulas you've seen for work (or energy), which is the ultimate notion of "cost" in the real world: W = mv^2/2, W = CV^2/2, W = ɛE^2/2, etc.

Furthermore, the nice thing about energy (a frequent notion of cost) is that it is independent of the basis you measure it in. Put another way, since energy is generally the squared length of a vector, its value won't change no matter how you look at the vector.

Obviously, we're not always trying to minimize work or energy, and our variables of interest aren't always the linear counterparts, but these are true surprisingly often, and so this is a nice motivation for defining cost to be quadratic.

comment 11y ago · link · parent

I'm wondering the same thing. The one thing I know that changed in Haswell is that the transactional memory instructions were found to be broken, but I assume those aren't the issue here...

comment 11y ago · link · parent

Or just build a photo sharing app called Instagram, worth $1 billion.

comment 11y ago · link · parent

Can someone explain why EVERYTHING on the internet needs to be encrypted? For information that is obviously public (e.g. anything from today's articles on the New York Times to the installation image for Windows), doesn't it make more sense to encrypt the hash of the file, while making the file itself plaintext? That would seem to make it much easier to cache the data midway, reducing network traffic.

comment 11y ago · link · parent

> if radix sort is faster, and not due to better cache performance, what is it due to?

Uhm, perhaps its time complexity?

comment 11y ago · link · parent

And you're saying that's better than doing both predictable (though perhaps not linear) reads and writes, which most sorting algorithms do?

I can believe Radix Sort is faster, but I have a harder time believing that it's due to better cache performance.

comment 11y ago · link · parent

> on a fixed width key

Okay well that changes things a bit. I was thinking on general data, like strings.

> The sort then becomes a linear walk of the data doing the standard Radix sort.

Does it? What about all the buckets which you write randomly to?

1039.

Parallel STL(parallelstl.codeplex.com ↗)

47 points · by wfunction · 11y ago · 17 comments

comment 11y ago · link · parent

> One of the main points from Herb Sutter's talk is your prefetcher is a cache of infinite size. This is why Radix destroys other in-memory sorting algorithms

Can you elaborate? Radix sort seems like the most unpredictable sorting algorithm out there last time I checked... it jumps all over memory.

comment 11y ago · link · parent

How can you have multiple hypervisors...? Do they both run in ring -1?

comment 11y ago · link · parent

> Am I missing something?

Yes, you're missing the fact that it's trivial and demonstrates virtually no creativity.

comment 11y ago · link · parent

I've always wondered if parsing is still unparallelizable if you also allow backtracking. In other words, can you parse eagerly assuming that you're likely to be in a certain state, and then if you're proven wrong maybe you can retry?

1044.

Patent US6007232 – Calculating the average of two integer numbers(google.com ↗)

4 points · by wfunction · 11y ago · 5 comments

1045.

The art of shuffling music(keyj.emphy.de ↗)

39 points · by wfunction · 11y ago · 27 comments

1046.

NaN in Python(bugs.python.org ↗)

2 points · by wfunction · 11y ago · discuss

comment 11y ago · link · parent

Could you explain what exactly you see as the difference between "I won't cooperate unless you subpoena me" and "I would like to cooperate, but I don't want this to affect my future job prospects, so please subpoena me"? The OP is prompting the subpoena in either case, as far as I can tell. In either case, the other side can choose whether or not to subpoena him/her. I'm not sure I see any difference between the two...

comment 11y ago · link · parent

Why would that be lying? Being forced to do something doesn't imply it was against your will. It simply means you didn't have any other choice.

comment 11y ago · link · parent

Duplicate...

https://news.ycombinator.com/item?id=58627

https://news.ycombinator.com/item?id=3919429

https://news.ycombinator.com/item?id=8216215

1
343536
52