HNHacker News
TopNewBestAskShowJobs

karldcampbell

18 karma · joined September 1, 2019

submissionscomments
karldcampbell··on Nutrient levels in retail grocery stores
The article is from the comsumer's perspective. For me, someone who doing my daily / weekly shopping, time-from-harvest is the only factor I can use in a purchasing decision. I can't rely on branding, source, grower etc as all that is a crap-shoot. Even if one grower has nutritious tomatoes this year, next year they might use a different field leading to worse nutrition.
karldcampbell··on Are Ultra-Processed Foods All That Unhealthy?
Here's the problem, "yogurt" may be healthy, but many brands are closer to a sugar delivery system than the traditional product.
karldcampbell··on Building a fair multi-tenant queuing system
As long as you don't need a strict priority and a worker can just grab the next waiting job:

  SELECT * FROM jobs ORDER BY RANDOM() LIMIT 1 SKIP LOCKED
should do the trick
karldcampbell··on Amazon Mandating 3 days back in office come May first
We had one yes, but what about second layoff?
karldcampbell··on Responsibility: Consequences Flow Towards Power
IMO the "I take full responsibility" line isn't directed at the people being laid off; It's directed at the people who are left.

It says to the middle management layer "I'm not going to blame or fire you because we had to lay people off."

karldcampbell··on Astronomers just discovered the farthest object in the known universe
It sound odd, but that depends on what you mean by "now"[1]. If you mean, where would the galaxy be if I traveled there at the speed of light, you would actually travel less distance due to Length Contraction [2].

[1] https://en.wikipedia.org/wiki/Relativity_of_simultaneity [2] https://en.wikipedia.org/wiki/Length_contraction

karldcampbell··on In JS functions, the ‘last’ return wins
Doesn't javac issue a warning for this? I know most IDEs do.
karldcampbell··on You've Been Referred Here Because You're Wrong About Section 230 of the CDA
If one is following current events, it isn't possible to avoid Twitter, Facebook and even Reddit. Mainstream news outlets often report on content from those social media sites, so even if I'm not a user, social media still effects me.
karldcampbell··on Our team's troubles writing automated UI tests
Have you looked into TestCafe[1]? I've only used it for a PoC, but it has better browser support than Cypress.

[1]https://devexpress.github.io/testcafe/