Live data from Hacker News

Code is run more than read (2023)

olano.dev

91–100 of 110 posts

Re: Code is run more than read (2023)

#91

Earlier quoted context omitted.

Most cars sold in the US are not aerodynamic so it seems a couple of mpg isn't the focus anyway

The US is filled with bubble cars like everywhere else. There isn't really much difference between cars across the world. Well, China is unique with like 100 automakers all searching for customers, but for most of the world, it's Toyota, VW, Hyundai/Kia, Stellantis, GM, Renault/Nissan, Ford as the top global producers and they sell everywhere. Sure there are some special models in local markets, but those are mostly…

> However that is because cars have gotten more aerodynamic so fewer insects are hitting the windshield.

According to this research the opposite is true:

"The survey of insects hitting car windscreens in rural Denmark used data collected every summer from 1997 to 2017 and found an 80% decline in abundance. It also found a parallel decline in the number of swallows and martins, birds that live on insects.

The second survey, in the UK county of Kent in 2019, examined splats in a grid placed over car registration plates, known as a “splatometer”. This revealed 50% fewer impacts than in 2004. The research included vintage cars up to 70 years old to see if their less aerodynamic shape meant they killed more bugs, but it found that modern cars actually hit slightly more insects."

Source: https://www.theguardian.com/environment/2020/feb/12/car-spla...

Re: Code is run more than read (2023)

#92
post #70
post #47

Earlier quoted context omitted.

We don't have magic oil filters which last even 22k miles. You should be replacing them every 6 months / 6k miles, or 12 months / 12k miles depending on your risk tolerance (some people suggest even half my short interval). Anyone who actually drives their car regularly will be doing an oil change at least twice a year. If an oil change takes more than 30 minutes of actual labour time of an inexperienced mechanic, it…

> We don't have magic oil filters which last even 22k miles. You should be replacing them every 6 months / 6k miles, or 12 months / 12k miles depending on your risk tolerance (some people suggest even half my short interval). We do - they are just a lot bigger. You should replace the oil filter when it is no longer filtering. Replacing it early is a pure waste of money. Unfortunately the tests of do you need to chang…

> We do - they are just a lot bigger.

Yeah, of course, but I am not aware of any regular car which comes stock with such filters.

The point was really that lasting 22k miles longer than stock would be an unrealistic improvement for a filter for a normal car.

> You should replace the oil filter when it is no longer filtering.

I was specifically referring to manufacturer recommendations. Of course they're conservative, they also have to account for engine wear.

And yes, you are right that ideally you'd test. Although testing the filter from what I've seen is destructive, and there's a nontrivial turnaround time.

I'd disagree that following manufacturer recommendations is a waste of money though. As you say, testing is _more_ expensive. Engine damage is even more expensive. Replacing the filter on schedule is the economical choice.

It might be strictly a waste of resources, but that's a separate concern.

Re: Code is run more than read (2023)

#94
post #92
post #70

Earlier quoted context omitted.

> We don't have magic oil filters which last even 22k miles. You should be replacing them every 6 months / 6k miles, or 12 months / 12k miles depending on your risk tolerance (some people suggest even half my short interval). We do - they are just a lot bigger. You should replace the oil filter when it is no longer filtering. Replacing it early is a pure waste of money. Unfortunately the tests of do you need to chang…

> We do - they are just a lot bigger. Yeah, of course, but I am not aware of any regular car which comes stock with such filters. The point was really that lasting 22k miles longer than stock would be an unrealistic improvement for a filter for a normal car. > You should replace the oil filter when it is no longer filtering. I was specifically referring to manufacturer recommendations. Of course they're conservative,…

Follow the manufacture recomendations. it sounded like a recomendation to replace more often. Maybe we are in agreement?

filter test can be inferred from flow rate and oil analisys. Destructive testing is best if you must know - but also not helpful.

Re: Code is run more than read (2023)

#96
post #78

biz > user is capitalism. Removal of that isn't capitalism. Non-removal of that is capitalism.

Richard Brand says the most important thing to grow a successful business is to put your employees above all else. Being the place where everyone wants to work and cares about their job is the way to get the most loyal customers. Having the most loyal customers is how you make the most money over the long term. Survivorship bias exists, but look at all the Virgin brands and at places like Google. So for a moment let’…

Putting employees first is socialism. Putting owners first is capitalism.

Re: Code is run more than read (2023)

#97
post #60

Earlier quoted context omitted.

You made a "well actually" comment in which you demonstrated your lack of knowledge on the topic, _and_ stated a truism which didn't apply to the thing you were replying to. Yes, I'm sure most people on this website have ran into seemingly bad design choices which made sense once they knew more context. But that doesn't mean that all bad design choices are like this. Specifically dumb oil filter placement is an examp…

> Yes, I'm sure most people on this website have ran into seemingly bad design choices which made sense once they knew more context. But that doesn't mean that all bad design choices are like this. I'm literally just saying the yin to this yang. Just because you run into a design that feels malicious doesn't mean that it always is. Again, sorry for the sin of trying to make an analogy/example of something I'm not an…

Option 1: "I am so much smarter than these stupid engineers"

Option 2: "Certainly, I do not understand the various trade offs that led to this design"

I wished at least in software tech circles there would be more of option 2 kind of thinking.

Re: Code is run more than read (2023)

#98

Earlier quoted context omitted.

Sorry we're talking about a hypothetical car engine, and as an analogy to software development. I'm not an expert in designing car engines like you, but acting like this example being not fully realistic is some kind of "gotcha" for the point I'm making is really frustrating. The point that I am making (obviously, I think) is that tradeoffs exist, even if you don't think the right decision was made, your full view in…

No, the point is that the GP statement missed the point. Say we hear about a company laying off 10% of workers, and someone says "What if they needed to lay off those workers in order to meet their HIPAA obligations and protect user privacy?" Now clearly that would be an argument that is either bad faith, or just spectacularly uninformed. We do not then go on to discuss the relative importance of HIPAA compliance ver…

Serviceability by owner is less and less important as fewer and fewer owners actually do maintenance themselves, though.

Re: Code is run more than read (2023)

#99

I've worked at some of the "top tier" finance firms over the years. It is absolutely astounding how much of them run on code that is: - very reliable aka it almost never breaks/fails - written in ways that makes you wonder what series of events led to such awful code For example: - A deployment system that used python to read and respond to raw HTTP requests. If you triggered a deployment, you had to leave the webpag…

Finance is like an oil well. You can do just about anything technology-wise and as long as it more or less pulls the oil from the ground, the money just keeps coming. So good code is not necessary. Some may even say that terrible code that needs to be replaced every year is a feature in terms of promotion possibilities.

Re: Code is run more than read (2023)

#100
post #98

Earlier quoted context omitted.

No, the point is that the GP statement missed the point. Say we hear about a company laying off 10% of workers, and someone says "What if they needed to lay off those workers in order to meet their HIPAA obligations and protect user privacy?" Now clearly that would be an argument that is either bad faith, or just spectacularly uninformed. We do not then go on to discuss the relative importance of HIPAA compliance ver…

Serviceability by owner is less and less important as fewer and fewer owners actually do maintenance themselves, though.

Even if 100% of owners choose to pay someone else to do it, they are still benefiting from the user-serviceable standard.

First, anything serviceable by the owner is also accessible to a local garage or independent repair shop. That means a competitive market for those owners, rather that being stuck paying extra to a local monopoly or to a rent-seeking manufacturer.

Second, it makes long-term repairability of the product much easier, things don't just suddenly become irreparable because the manufacturer closed down their "unlock codes for trusted affiliates" site. Their asset retains more of its value.

There are things which provide value even when nobody uses them.

Post reply on HN