HN user

naizarak

34 karma
Posts0
Comments16
View on HN
No posts found.

For anybody interested in the use-case underlying this article, mainly disabling peripheral displays in a multi-monitor setup, this is already built into Windows via the Win+P hotkey. It's also possible to turn off all displays by reassigning the functions of the computer's physical power/sleep buttons in Control Panel -> Power Options.

SEO spam is gonna be nothing compared to the AI-generated web. And it's going to be the perfect excuse to finally mandate internet-ID.

Not sure why the author decides to single out DI frameworks as a problem. In most cases DI is just an implementation detail for how the framework serves up its abstraction layer over the underlying mechanisms. For example, Spring is built around injecting beans so it can wrap them in proxies which provide transaction managements, security, etc. Sounds like he's really just criticizing frameworks in general.

On the topic of DI, it's such a simple and common-sense design "pattern" that it shouldn't even have a buzzword label. All it means is that, given service A which uses service B, it's not service A's job to instantiate B and provide B with its required sub-dependencies (DataSource, config params, etc). A should only consume B without concerning itself as to how B was created in the first place. This is usually handled by some "container" service whose job is to build-up every other service and make them accessible to one another so they may be strict consumers without transitive dependencies.

It really is stupefying how Amazon has turned into a dumping ground for cheap chinese junk. Surely they realize the long term damage they're causing to their own brand?

At the same time, they're constantly tightening KYC and other regulations which only hurts honest small-time merchants.