News for hackers. Stuff that matters.

w3456yhbvr5yh

Re:Terraform should have remained stateless on Saturday May 28, 2022 @09:57AM (#31540369)
Thanks for the detailed response.
Re:Terraform should have remained stateless on Saturday May 28, 2022 @07:25AM (#31539453)
"time sink" is also how i would describe CF templates and wrappers like SAM. I'd be grateful if you could elaborate on the CDK issues.

I'm also curious to know how many people in this thread consider themselves developers as opposed to devops/cloud engineers.

Do_not_track Reignition Debate

Welcome bakc HN, to another round, a couple of years later. https://news.ycombinator.com/item?id=27746587 happened only 10 months ago. Let's poll the audience:1) DO_NOT_TRACK or no?2) op? polemicist or avant-garde privacy advocate?3) personal opinion: Almost no one in the original thread mentioned that an app that has opt-out privacy policy defaults would be unlikely to change their practices....

( Read More... | no comments | on HN )
Re:Ask HN: TypeScript config confusion on Friday May 13, 2022 @08:39PM (#31374007)
This is an accurate description of my experience also:

- trial & error

- leave it alone

- don't add stuff

I don't use babel or webpack and have many examples of "working" configs, but none of it adds up to a reproducible or stable process. Any random import might or might not `export` compatibly. The compiler barely helps, and people are left flipping toggles in the package.json and tsconfig.json hoping that some combo works for what they intend.

Ask HN: TypeScript config confusion

I've been using typescript (ts) for various projects for two years. I've been pleased with the type safety and various other features of ts and I think it represents a better way to use node/js.That being said, I've read the microsoft [documentation for the tsconfig](https://www.typescriptlang.org/tsconfig) more times than I can count. In that time I have read through dozens (hundreds???) of...

( Read More... | 2 comments | 9 points | on HN )
> throwing away a cartridge "produces more waste" than throwing away a razor blade alone, which may be true, but the difference between them seems like a trivial amount

Trying to do approximate math for this is difficult and the difference seems small but greater than trivial. The larger point raised by the author is that the more packaging, dyes, adverts, etc. that a product has associated with it, the more likely a consumer is to buy it(??), and each step of the marketing-to-consumer pipeline costs more environmentally and energetically.

This is not a condemnation of advertising or marketing. In order to sell an environmentally-conscious product, you still need to sell the product.

It might seem impossible but there probably are long-term solutions to much of consumer waste. We aren't even really trying that hard overall to cut down on this and amazon et al are world leaders in packaging and return waste. There might not be easy answers but even partially solving the consumer packaging problem would cut down on landfill/recycling use.

It's a good thought exercise to imagine how you would sell razor blades without any packaging.