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.
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?
Depends how you look at it. Dev time is a finite resource, and spending it on supporting a weird combo of user agent and browser seems likely to lead to less user utility.
I think there's a clear difference between an ad that plays sound as part of watching a video with sound, and as part of browsing a website that doesn't have sound / where the ad plays sound over the actual content.
> 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.