Hacker Newsnew | past | comments | ask | show | jobs | submit | pyrale's commentslogin


> I miss absl::StatusOr

Sounds like you would rather have an `ErrorOr<User>` than a `Result<User, Error>`.

Both are union types wrapped in a monadic construct.


I wrote example above: https://news.ycombinator.com/item?id=46508392

My point is not the types/monadic constructs, etc (I love to do functional jerk off as a guy next to me, though), but that there are ways to keep code readable and straightforward without neither invocation chains

DoOne().OnError().ThenDoTwo().ThenDoThree().OnError()

nor coloring/await mess, nor golang-style useless error handling noise


> the really interesting question of our time.

The answer is corruption.


> You don't need to repeat anything for software. Software can be copied arbitrarily for no practical cost.

...Or so think devs.

People responsible for operating software, as well as people responsible for maintaining it, may have different opinions.

Bugs must be fixed, underlying software/hardware changes and vulnerabilities get discovered, and so versions must be bumped. The surrounding ecosystem changes, and so, even if your particular stack doesn't require new features, it must be adapted (a simple example: your react front breaks because the nginx proxy changed is subdirectory).


You're describing maintenance of existing software or even existing deployments that's a completely different beast.

I am certain cost can go down there, but that will only compete against SaaS where the marginal cost of adding another customer is already zero.


> You're describing maintenance of existing software or even existing deployments that's a completely different beast.

Yeah, that's a part of software that's often overlooked by software developers.


The article kind of misses that cost has two axes : development cost and maintenance cost.

low cost/low value software tagged as disposable usually means development cost was low, but maintenance cost is high ; and that's why you get rid of it.

On the other hand, the difference between good and bad traditional software is that, while cost is always going to be high, you want maintenance cost to be low. This is what industrialization is about.


The sarcasm is too damn high!


On the opposite, it is more expensive, and any large enough company should probably at least consider renting metal rather than services. For a small org, though, it lets you avoid a lot of infrastructure/ops work.


> More on the laziness and stupidity of their allies.

s/laziness and stupidity/corruption/g

See, for instance, what happened to Gemalto.


That is a myopic view of history.

Just look around yourself. No society is comparable to what it was 10 years ago, 20 years ago, etc, in any country. If you think nothing changed in a society, you're just poorly informed.


nameplate capacity of different generation sources can't be compared, if only because capacity factor is not comparable.


China's plan is to add 100GW of nuclear by 2040.

In 2024 alone, it added 360GW of wind and solar and the trajectory for renewables is steepening, not declining so this year's number looks like it will exceed this number - 450GW or more.

Capacity factors are just noise when you're dealing with nearly 2 orders of magnitude of difference in scale. Apply whatever adjustment for capacity factor differences that you like but 100GW of nuclear over 15 years is not going to catch up with 450GW of wind and solar per year.


China has 1,000 GW installed solar and 26 GW of wind which generate 2k TWh/yr. The total installed nuclear in China is a mere 60 GW which generate 450 TWh/yr. Therefore, the capacity factor of solar is 2 TWh/GW and that of nuclear is 4 times higher at 8 TWh/GW.

Calling an 4 times higher capacity factor "noise" is actual noise.

Besides, nuclear provides uninterrupted energy supply, no need for storage or special convenient places for installation. That's why China is building capacity of both types as fast as they can.

Europe is in a colder geographic area with less sunshine and more needs of energy during the cold/rainy days, nuclear is an absolute necessity there.


Unless half the fleet is offline like happened in France during the energy crisis and twice in Sweden in the last year.

https://www.nytimes.com/2022/11/15/business/nuclear-power-fr...

> That's why China is building capacity of both types as fast as they can.

Nuclear power as a percentage of the Chinese grid mix is backsliding. Will likely land somewhere in the 2-3% range when their grid is fully built out.

China is building renewables and storage as fast as they can and provide a token investment (in terms of their grid size)for new built nuclear power.


The scales of rollout are so vastly different, it is just noise.

China will add 450GW or more renewables this year alone.

Even after dividing by 4 this represents more additional energy production capacity in ONE year than their 15 year target for nuclear. This is after your capacity factor adjustment.

Nuclear’s contribution to Chinese electricity production at the end of their 2040 nuclear plan is likely to be below 5%. Even less than nuclear’s current global share of about 9% - down from just under 20% in the mid 1990s.


But you can compare generated power, right?

> In the 12 months to June 2025, wind and solar (2,073 TWh) generated more electricity than all other clean sources (nuclear, hydro and bioenergy) combined (1,936 TWh). Just four years ago, wind and solar generated half as much electricity as other clean sources combined.

https://ember-energy.org/latest-insights/china-energy-transi...


So, both types generated approximately the same amount of power and it still isn't enough, one type cannot replace the other, they complement each other, that's why China is building more of each type, they know what they're doing.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: