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

This the core unspoken bone of contention in most AI arguments I think: most people either arent writing code with strict quality requirements or dont realize where their use of AI is violating them.

That said most of the world's most useful code has strict quality requirements. Even before AI 90% of SLOC would be tossed away without much if any use, 9% was used infrequently while 1% runs half the world's software.


1/5th the price of nuclear.

Probably when combined with batteries it is half the price.

There are some colder areas in northern europe especially where solar doesnt work as well but they also tend to be better served for hydro (which can also store power).


Solar works also in the north, except in the winter of course, and it complements wind pretty well. So solar does make economic sense and is actively built in the north too.

The UK hit a record of 42% peak solar generation around midday one day last month.

https://www.pv-magazine.com/2026/04/24/uk-solar-generation-h...


Northern locales though have a much greater energy need for heating in the winter. So the "battery" solutions can often just be cheap heat batteries because there is not so much a thing as "waste heat" - that heat can be used directly without worrying as much about efficiency losses in conversion.

There are already a bunch of examples of Northern locales using these heat batteries - just heat up a big block of something when energy is cheap and solar/wind are overproducing, then use a network of insulated pipes to distribute that heated water.


So sad we could not apply economy of scale for nuclear... The main reason solar and batteries are so cheap is economy of scale.

I don’t think we have really tried. At least not in the last couple of decades.

The problem is that nuclear reactors are huge so you're never going to build that many of them compared to wind turbines (thousands) or solar panels (millions).

France plans to build a series of six reactors for its EPR2 programme with each reactor scheduled for completion 1-2 years apart, but that is only expected to reduce costs by 30% compared to the (hugely expensive) EPR.

Small modular reactors hope to improve things but it's far from clear they will end up any cheaper. Historically making reactors bigger makes them more efficient. The Rolls Royce SMR is just under 1/3rd of the size of the EPR so even if successful any cost reductions are not likely to be dramatic.


Europe was spending 200 billions / year on gas from russia. I imagine they could try to build 100 reactors for that price, but it would take a couple of years I imagine...

How much would it cost to build out batteries which cover entire continent's electricy needs for say three weeks (as there can be 2-3 week lulls of no wind and no sun in Europe in the winter)? Cause that sounds like a lot of batteries. Not to mention, if a freak 4 week lull occurs, we'll go back to Middle Ages for a week.

Australia's CSIRO studied this for Australia, renewables were half the cost of nuclear, factoring in storage and transmission for both renewables and nuclear (yes, nuclear also needs storage because energy demand varies with time). Australia is uniquely endowed with sun and land, so other countries/regions may arrive at different results.

Australia is also well endowed with coal and no carbon pricing, so for Australia the cheapest form of electricity production is a mix of solar + battery + coal.

If you live in Australia, have a house and roof, you're a bloody idiot if you didnt install solar.

You don't even need a roof. If you have enough land then a ground mount system is more convenient and easier to maintain.

I think by having a roof GP meant lives in a house instead of an apartment. If you don't have your own roof you probably don't have land either.

Solar still produces even in overcast conditions, during the day. If it's light/medium overcast, most of which Germany usually is it still produces 50-80% of nominal. It only really doesn't produce anything at night or when it snows.

Yes this is one thing that surprised me owning solar. Some days its pretty cloudy and I can still get 2kw or so from my 7kw max.

"But what if thing thing that never happens were to happen?"

We'd probably go deep into hydro, fire up every gas peaker plant, and through skyrocketing prices incentivize everyone to switch to emergency diesel generators where possible.

You're talking about a once-in-100+-years event. We'll deal with it the same way we dealt with the various oil crises.


Those once-in-100+-years events are called crises because they have large impact on economy and loss of human life.

For example a short event in US with duration 2 hours–4 days, depending on location, affecting 55 million people.

Deaths: Almost 100

https://en.wikipedia.org/wiki/Northeast_blackout_of_2003

The Economic Impacts of the August 2003 Blackout

"Based on the much-studied 1977 New York City blackout. ICF Consulting estimated the total economic cost of the August 2003 blackout to be between $7 and $10 billion"

https://www.nrc.gov/docs/ml1113/ml111300584.pdf

Short blackout: 2025 Iberian Peninsula blackout

"The employers' organization CEOE estimated that the outage resulted in economic losses valued at €1.6 billion."

https://en.wikipedia.org/wiki/2025_Iberian_Peninsula_blackou...


You can't fire up capacity you don't have. Your scenario implies a massive idle stock of power plants.

Who's going to build and run them? They'd be enormously expensive because they'd almost never sell power.

(Of course the answer is if you build 3 weeks of battery storage you can pretty obviously build 4).


But what do we do when the sun isn't shining?

Well what are we doing if the straight of hormuz isn't hormuzing?

Demand will adapt via price signals. Same story as in every market.


You would likely get to 97% green energy first with 5-8 hours of storage: https://reneweconomy.com.au/a-near-100-per-cent-renewables-g...

(for Australia it is 5, for other countries it might be 8)

Once you get to that "nice to have" problem of what to do about the remaining 3% of power needs it would probably make most sense to synthesize and store gas (methane/hydrogen) from electricity when solar and wind is overproducing. Gas can be stored cheaply for long durations. The roundtrip efficiency is poor but it's still cheaper than nuclear power on the windiest sunniest day.

The nuclear + carbon lobbies would of course prefer to model green energy transitions by pretending that the wind and sun simultaneously turn off for 2 weeks at a time every year and that electricity can only be stored in very expensive batteries. This is not realistic.


It might not be quite that good in less sunny countries. Similar modest overbuilding of wind and solar in Denmark is simulated to get to about 90% with 12h of storage. This is still good enough though.

https://xcancel.com/enn_nafnlaus/status/1565923581246091264


> (as there can be 2-3 week lulls of no wind and no sun in Europe in the winter)

This is simply entirely untrue. Europe's a big place, there's not a single day ever where there is no sun in it.


There is verifiably a flood of new projects. The selfhosted subreddit had to put in checks coz too many people were complaining about vibecoded slop.

iOS submissions are way up.

What I havent seen is existing open source people develop 10x faster.

Or, anything vibe coded get popular which wasnt just a gimmick.

Just a tsunami of slop.


>We have been authoring HTML by hand for decades with ease

No, we've been generating it with templates or authoring templates.

Authoring HTML by hand is a very early 2000s thing to do.


After you a FE webdev that doesn't regularly author HTML by hand?

Can’t answer the person who responded to you but:

Yesterday. Astro components.

3 million people will have seen it as I type this. More next week.


Hand on heart. When was the last time you built a serious production system for a real business that was 100% built from HTML without using any build step? Just editing the footer and header in every file when it updates (or using iframes)

Maybe not in your corner of the internet, but businesses used server side includes (SSI) for that, not iframes.

You add “include” tags to your HTML file and your web server like nginx or varnish would replace it with the fragment at runtime.

  <!--#include virtual="../footer.html" -->
I saw this was quite popular for big publishing houses with millions of articles still relatively recently 10 years ago. They would only write the HTML body of a new article and the other fragments would be included by the web server.

Very cheap, stable, and very big changes across the whole website could be done instantly since cache invalidation is trivial (the web server knows all modified dates of all fragments).

Also, no additional CDN or caching needed. Later, with CDNs there was even a variant where these fragments were hosted at the edge (ESI).


10 years ago. I bet you can’t name a single production site writing HTML files without any build tools at all. Just raw dogging using notepad directly on the server.

LLMs aside, when was the last time you wrote React/JSX and didn't write a subset of HTML by hand in them?

That is the point. No one writes HTML without any abstractions anymore. You use a framework or a build tool. Because just editing pure html files is a pain in the ass. Probably haven’t done that since 2010.

Even with web services it usually shits the bed if you ask it to maintain something with tech debt.

This is something I think some people are fundamentally not capable of understanding.

The first time i used LLMs it was to try and refactor behind a solid body of tests i trusted.

I figure if it cant code when it has all of the necessary context available and when obscure failures are easily detected then why would i trust it when building features and fixing bugs?

It never did get good enough at refactoring.


I agree, the mechanical refactoring of modern IDE tooling, especially with typed languages is so much faster and safer, it's not even close. These tools can be useful for sure, but I think in general they are being wayy over prescribed to different tasks.

This was a perfect example.

If you earnestly believe story points are a good measure of productivity then Im afraid you have a lot to learn.

One of the nastiest aspects of migrating from docker to podman really is "what to do about docker compose?" coz there are three wildly divergent ways to answer that all of which really suck under certain specific circumstances.

Im no fan of docker and podman by itself is a step up but orchestration headaches are enough to ruin that.


> "what to do about docker compose?"

I don't understand what you're asking here. The answer to that is probably nothing. That is unless you want:

- systemd to manage your containers - You want to use K8s primitives (which are mostly compatible)

I'm unsure what the 3rd method is you're talking about. The nice thing about Podman's compose API is you don't have to change anything (mostly). You can point all your docker tooling to Podman's socket, and it'll (mostly) magically work.


the three options are:

* use systemd, red hat's favorite kitchen sink for handling everything from setting up sound services to mounting your home dir to logging so why not this too i guess.

* docker compose where i have to run a whole separate podman service to lie to docker compose about not actually being docker.

* podman compose which would be the obvious solution if it didnt just plain suck.


> * use systemd, red hat's favorite kitchen sink for handling everything

Systemd is a tool for managing services. Containers are services. Why require an entirely separate bespoke service manager when you're already running one?

> * docker compose where i have to run a whole separate podman service to lie to docker compose about not actually being docker.

This is the same system state as using docker compose with docker: you have a client program speaking to a backing daemon. Only difference here is the Podman service, being daemonless, only runs when needed (assuming you're setting up things the documented way by enabling the podman socket).

> * podman compose which would be the obvious solution if it didnt just plain suck.

Yeah I haven't had the best luck with it either. But part of the reason it's languished is that it makes more sense to just reimplement the Compose spec on the backend rather than re-invent the wheel and create a new compose client as well.

There's also the fourth option of writing Kubernetes yaml and applying that with `podman kube play`. Honestly this is probably closer to being the podman equivalent of docker compose but since it involves writing The Bad YAML (kubernetes) rather than The Good YAML (compose) most people don't use it.


>Systemd is a tool for managing services

It's a tool for user age verification that happens to be something you can use to manage services.

Did you miss my point about it being a filthy kitchen sink?

>This is the same system state as using docker compose with docker

One of the major selling points of podman is that you dont need a daemon. except maybe yes you do because podman compose sucks so toss that selling point in the trash.

This shit is also incredibly fiddly. Ever had "docker compose" and "docker-compose" do subtly different things which drive your team mate to pull their hair out? I have.

Podman should stop trying to piggyback off docker if it's trying to be an alternative.

>Yeah I haven't had the best luck with it either. But part of the reason it's languished is that it makes more sense to just reimplement the Compose spec on the backend

Personally I suspect it languished because Red Hat simply cant abide the idea that somebody out there might avoid using systemd for something.

They happily built a docker compose to quadlets converter but they cant bring themselves to make podman compose not be a piece of shit even though it wouldnt be a lot of work.


> It's a tool for user age verification that happens to be something you can use to manage services.

Good talk buddy.

> Did you miss my point about it being a filthy kitchen sink?

I suspect there's not really a point in responding to this since you've already made up your mind.

Nevertheless, yes I am aware the systemd project contains many modular components. Some of which are good (systemd-the-service-manager that is what I was referring to), some of them are bad, and some of them are just odd (still haven't wrapped my head around systemd-homed's purpose). Podman integrates with the systemd service manager, not the rest of the project, so I'm really not concerned about that: there is no point where I am unable to use quadlets because I don't have, say `systemd-timesyncd` installed.

On the gripping hand, Quadlets are just a systemd-generator so there's nothing stopping you from getting that exact same benefits of Quadlets with some other service manager. You'd just have to write that implementation (and probably your own bespoke service manager) and will probably miss out on some of the niceties systemd provides to anything it manages.

> One of the major selling points of podman is that you dont need a daemon. except maybe yes you do because podman compose sucks so toss that selling point in the trash.

You skipped the second part of my sentence where I reminded you that Podman is daemonless. There is no long-running Podman daemon/service/etc, it is spun up on demand and then stops when the action is done. Having a second process instance is not a daemon, and I'm not sure how you would have expected this to work otherwise.

> Ever had "docker compose" and "docker-compose" do subtly different things which drive your team mate to pull their hair out? I have.

..Take this up with docker?

> Personally I suspect it languished because Red Hat simply cant abide the idea that somebody out there might avoid using systemd for something. > They happily built a docker compose to quadlets converter but they cant bring themselves to make podman compose not be a piece of shit even though it wouldnt be a lot of work.

I don't think `podman-compose` was ever an official Red Hat project. I don't think there was every really much interest in ironing out all the corner cases, especially before compose was actually fully specced, and once Podman itself implemented the spec the interest has been drying up.

Assuming you're referring to podlet[0] for the latter, that was never a Red Hat project.

[0] https://github.com/containers/podlet


>I suspect there's not really a point in responding to this since you've already made up your mind.

I suspect you ignored the point because you didnt want to address the point.

My repeating it seems to only have highlighted your wish to continue avoiding it here.

>Nevertheless, yes I am aware the systemd project contains many modular components.

Another red herring. "Modular" really isnt the point here.

It's certainly one way to justify throwing even more shit in an already overloaded kitchen sink though.

>You skipped the second part of my sentence where I reminded you that Podman is daemonless.

No, you skipped the part where I acknowledged that it was daemonless-by-default but you actually DO need to run a podman daemon if you're using docker compose with podman.

>Take this up with docker?

They're not responsible for podman trying to piggyback on their tools.


This is what stopped me from picking up Podman more, all our devs use Docker and have been writing compose files for years now. When the response at the time was "you're using Podman wrong, Quadlets are the hot stuff now" it just felt like too big a risk and commitment to jump to at the time. Have things settled more? Getting away from Docker is a bigger priority nowadays for us.

podman compose has shifted from "basically never works" to "if an existing YAML isnt too complex it works" but it's not a drop in replacement yet.

i also want to stay the hell away from quadlets or any other software which tries to make me use systemd more.


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

Search: