HN user

mining

96 karma
Posts1
Comments40
View on HN

I searched on mobile, so no ad blocker. There were no ads for that query, and all of the content up to maybe the 5th result was an acceptable answer to the query (i.e. on a site that wasn't plastered with ads)

If I search "plumber" the first 3 results are ads.

I'm in Australia.

Searching "how to fix a leaky faucet" on Google turned up the page from "This Old House" immediately (top 3 results, top 2 were wikiHow and a YouTube video that seemed OK at a glance).

I'm not sure why my personal results are often so much better than posts like this one whenever I do the experiment - maybe it's based on location?

I would probably argue that either the first algorithm is incorrect (because searched can be larger than INT_MAX) or the complexity of the second algorithm is bound both by O(searched) (or sqrt(searched), if implemented with more vigour) and O(1) (because the value of 'searched' is bound by a constant).

I doubt they decided independently on a back to office date in the same ~1 month timeframe

Given the reason for office closures was covid, I'd guess that companies in the same geographical area would make similar decisions about when it was appropriate to return to office work. It would be more surprising to me if large companies with similar decision-making throughout the pandemic, in the same geographical area, had drastically different timelines.

Saying 99/100 doctors think something medical is true isn't an appeal to authority... Doctors /are/ an authority on medical matters. Programmers aren't an authority on economic matters.

I don't know. That seemed like a fairly simple exploration of the problem and an easy library function to solve it. Would it be much simpler in any other language?

[dead] 9 years ago

I'm always amused that "know" seems to instantly associate with "memorise" as opposed to "be aware of performance and associated tradeoffs"

Indeed, if women were systematically underpaid despite equivalent performance, I find it hard to believe they wouldn't be hired by the boatload. This might be explained by (1) a lack of women relative to men in the developer workforce and (2) a systematic bias in competence.

Or (3) because a huge proportion of perceived performance is subjective. I can't find a study right now, but e.g. http://fortune.com/2014/08/26/performance-review-gender-bias... make a decent argument towards women receiving qualitatively different performance feedback to men.

This is relative to other people who had been hired at Google - there's probably still a positive correlation between those two variables amongst the general population.

I don't think your claim that it doesn't affect the vast majority of users is correct. There's well over a billion people in India alone. You might argue that you were only making claims about US users, but a lot of sites have no reason not to be global.

I experimented with gensim's implementation of doc2vec this year; despite not being able to achieve similar results in sentiment analysis (because unshuffled datasets in the original paper) it's still really impressive. I analysed some document relations in wikipedia, and it finds some really unusual / neat relationships, e.g. Autism - Cat + Dog ~= ADHD.

But it doesn't give one when the cast is in a loop condition. That is weird.

I believe that the justification for that is that you'll often want to do e.g.

    while (node) {
      node.val += 3;
      node = node->next;
    }
Implicit conversion of a type into a bool is pretty useful here, or for e.g.
    while (std::cin >> x >> y) { ... }