News for hackers. Stuff that matters.
Re:Ask HN: Is there some academic research on software fragi... by kbrannigan on Friday January 06, 2023 @12:38PM (#34278011)
Here’s an empirical example. I followed a step by step tutorial on how to setup a server with Apache + Linux + SSL.

The backbone of the internet.

It’s still not working , and it’s been two days.

Software is cobbled together with ducktape and cowchips.

After 10 years in the field. My take is:

We’ve lied to ourselves so much that we believe our own lies

Re:Ask HN: Is there some academic research on software fragi... by ComputerGuru on Friday January 06, 2023 @12:58PM (#34278360)
Counterpoint: follow a different guide, use nginx or caddy instead of Apache, and you can be live in under thirty minutes.

In all cases, this has nothing to do with t to he question. It wasn’t about how smart you have to be to set it up yourself, it was about how robust or fragile it is once put into place. A better point would be that we had certificates with ten-year expiration (not fragile) but susceptible to a myriad of advanced security issues. The solution was to reduce that to certificates that expire every few months, held together by daemons and scripts that renew them automatically in the background, significantly increasing the number of simultaneously moving parts and making the whole more fragile (with obvious security benefits).

Re:Ask HN: Is there some academic research on software fragi... by kbrannigan on Friday January 06, 2023 @01:10PM (#34278542)
It is my belief that engineers get bored and the create the most convoluted solution for the simplest problems.

More complex = more smartsss.

I want to move away from model T, I want a F150 with push to start

Re:Ask HN: Is there some academic research on software fragi... by pixl97 on Friday January 06, 2023 @02:09PM (#34279345)
Eh, I wouldn't use the model T as a good example. A hand crank that could kill you, and the acceleration and gear system were a gigantic mess compared to the cars that showed up a decade or two later.

There are plenty of later model cars that add back seemingly unneeded complexity for little gain that would be better examples.

Re:Ask HN: Is there some academic research on software fragi... by kbrannigan on Friday January 06, 2023 @01:03PM (#34278443)
I can agree with that. Right now going live is all that matters.

To add to your point: I chose the most popular stack with the biggest mindshare, just in case something goes wrong, I’m a one man shop, but why fight against it.

I’ll try Ngnix…

Re:Ask HN: Is there some academic research on software fragi... by elitepleb on Friday January 06, 2023 @01:20PM (#34278688)
Apache isn't known to be the most user friendly, instead consider caddy[0], where a full featured web proxy/fileserver can be as easy as:

example.com { reverse_proxy localhost:9000 }

[0] https://caddyserver.com/docs/getting-started

Re:Ask HN: Is there some academic research on software fragi... by pixl97 on Friday January 06, 2023 @02:12PM (#34279373)
Apache is from the days where everything in computing was difficult and a massive number of lessons about complexity and security had not been learned yet.

It really only exists because it was the only option at some point in the past and software grew up around it so it kept momentum.

If you're doing anything new you wouldn't use it at all, and instead use one of the multitude of servers that are far simpler and better at the same tasks.