HackerTrans
TopNewTrendsCommentsPastAskShowJobs

bennettdams

no profile record

Submissions

Caching mechanisms in Next.js (new App Router)

nextjs.org
1 points·by bennettdams·hace 3 años·0 comments

Show HN: Summora – Everything, in summary

summora.com
1 points·by bennettdams·hace 3 años·0 comments

A review of my time at Remix

kentcdodds.com
3 points·by bennettdams·hace 4 años·0 comments

Automatic (Tailwind) Class Sorting with Prettier

tailwindcss.com
2 points·by bennettdams·hace 4 años·0 comments

comments

bennettdams
·hace 3 años·discuss
It is naive to believe that these 86%, assuming the numbers are true, have any impact on the food production at all.

Of all the cropland we have, 57% is used to produce human food and 43% is used to produce animal food.

https://ourworldindata.org/land-use-diets#more-plant-based-d...

The whole point is that you need way more crops in general to "produce" the same amount of calories & proteins. That's because feeding the animals with crops instead of eating them is highly inefficient in comparison to eating them directly. "As an example: beef has an energy efficiency of about 2%. This means that for every 100 kilocalories you feed a cow, you only get 2 kilocalories of beef back."

https://ourworldindata.org/land-use-diets#livestock-waste-a-...

With how much meat is eaten right now, there is just no way we have enough grazing land to produce enough meat. 99% of meat comes from factory farms. [1] These animals are always fed with crops, so there will always be land usage to product food for animals. And it is way more inefficient.

[1]: https://www.livekindly.com/99-animal-products-factory-farms/
bennettdams
·hace 3 años·discuss
You're quoting a literal farming foundation, so here is a neutral source:

https://ourworldindata.org/land-use#half-of-the-world-s-habi...

"If we combine pastures used for grazing with land used to grow crops for animal feed, livestock accounts for 77% of global farming land. Of all the land we use for agriculture, 77% of it is used for livestock."

These 77% are only responsible for 18% of the produced calories and 37% of the produced proteins.

So, if you leave out water consumption and most importantly animal walfare, eating meat is the worst thing you can to for the environment (when talking about food).
bennettdams
·hace 4 años·discuss
Does someone know why the counter for this issue is at "70", but the repo only shows "21" issues in total? Maybe there are deleted issues that are not part of the total counter?

https://github.com/preactjs/signals/issues?q=is%3Aissue
bennettdams
·hace 4 años·discuss
If you look at the land usage for animal products and compare it to their calorie & protein supply, the story gets even worse.

In short: Of all agricultural land, ~77% is used for meat/dairy production. This 77% are responsible for only 18% of the calories and 37% of proteins, the rest comes from the plants in our diet.

The numbers may vary a bit, but the scale stays the same. It's ridiculous.

https://u4d2z7k9.rocketcdn.me/wp-content/uploads/2021/03/Glo...

https://earth.org/data_visualization/adopting-a-plant-based-...

https://ourworldindata.org/land-use-diets#more-plant-based-d...
bennettdams
·hace 4 años·discuss
I'm suprised no one has mentioned "exurb1a", by far my most favorite channel on YouTube.

The videos are always thought-provoking, intelligent and hilarious as well.

I can recommend every single video of him.

https://www.youtube.com/channel/UCimiUgDLbi6P17BdaCZpVbg
bennettdams
·hace 4 años·discuss
I can recommend giving your component name (not file name) some identifier (like an underscore), so using VS Code's "Symbols" via command palette makes it easy to find and open them.

Screenshots: https://twitter.com/BennettDams/status/1529051702351085568
bennettdams
·hace 4 años·discuss
Facebook stopped actively maintaining Jest months (years?) ago, so this is a good move for the community.

See this old HN thread:

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

..and the comment from the "only" remaining maintainer:

https://github.com/facebook/jest/pull/11529#issuecomment-102...
bennettdams
·hace 4 años·discuss
Isn't it ironic that even the writers of this article don't follow these rules in the examples on that page?

There is "Mistake 3: Not Enabling Keepalive Connections to Upstream Servers", where it says:

    In the location{} block that forwards requests to an upstream group, include the following directives along with the proxy_pass directive:

    proxy_http_version 1.1;
    proxy_set_header   "Connection" "";
Then, at "Mistake 10: Not Taking Advantage of Upstream Groups", the "location" block does not include these two directives, even though the "upstream" block contains a "keepalive" directive.