1,032 karma · joined January 6, 2017
For monoliths you can refactor the whole thing with editor support, and then deploy a new version.
So microservices will cost more, give you less flexibility and maneuverability, at more upfront cost. It seems like the worst of both worlds.
I think Martin Fowler has a nice dichotomy where he splits tests up into solitary (generally using mocks for deps) and sociable (generally using real code for dependencies): https://martinfowler.com/bliki/UnitTest.html
I've seen several analysis' such as [1] that tend point towards renewables being cheaper than nuclear power, even when taking transmission and storage into account. Better transmission cables to require less storage, plus overprovisioning and using the surplus power to create e-fuels and similar is a pretty viable alternative.
So the short answer is - is nuclear necessary? - no. Is building out new nuclear cheaper than building out new renewables + storage? Also probably no - but that might change if small scale modular reactors really take off.
However is keeping nuclear plants around a good idea? Absolutely.
[0] https://iea.blob.core.windows.net/assets/ad5a93ce-3a7f-461d-... [1] https://reneweconomy.com.au/solar-and-wind-keep-getting-chea...
It doesn't feel like trickery to me, but it certainly doesn't paint the full picture.
It essentially travels your DRF serializer tree and builds an auto-prefetched query automatically without you needing to do any work.
Back when I still worked actively on it, I wanted to monkey-patch models to track whether or not n+1 was happening, and if it was, automatically do pre-fetching, so instead of an n+1 problem you'd end up with just a "3-4 queries when it could've been 1" problem - which is much more palatable. Never got around to that part though.
Is it open-source? Well, depending on your definition probably not. Is it a fair license? Yeah I'd think so.
E.g. see here, where 90% of carbon offsets turned out to just be offsets on paper. https://www.theguardian.com/environment/2023/jan/18/revealed...