frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Code is run more than read (2023)

https://olano.dev/blog/code-is-run-more-than-read/
83•facundo_olano•2h ago

Comments

choeger•1h ago
Clearly, there is a thing missing here: Regulations. If you have strong regulations on how you can make money, you cannot sustainably have biz antagonize user. So in that case biz just becomes a filter for users that actually are willing (and able) to fund your software. That's a good thing.

Obviously, our regulations aren't perfect or even good enough yet. See DRM. See spyware TVs. See "who actually gets to control your device?". But still...

codemog•41m ago
Stupid regulations are why we have an idiotic cookie banner on many websites.
jjk166•41m ago
> Regulations. If you have strong regulations on how you can make money, you cannot sustainably have biz antagonize user.

If that's what the regulators are optimizing for.

3form•1h ago
I like the final conclusion. And sadly I don't feel like anything changed for the better on this topic since 2023.

I am afraid that without a major crash or revolution of some sort, user won't matter next to a sufficiently big biz. But time will tell.

dbalatero•1h ago
I've found the users-first mentality degrading over the years at companies. It's a bit jarring too, since a lot of my early training was pretty user-centric.
3form•1h ago
I do have a feeling that the example of bigger players is carefully followed by many of the other companies, kind of as a cult of success. And that example for a long time has been rather lacking.
pydry•33m ago
This is definitely true. In growth companies there is way more emphasis these days on investor hype over user centricity.

For companies that have a solid competitive moat they have at best gotten lazy about user centricity and at worst actively hostile.

alexpotato•1h ago
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 webpage open as the deployment code was in the HTTP serving code

- A workflow manager that had <1000 lines of code but commits from 38 different people as the ownership always got passed to whoever the newest, most junior person on the team was

- Python code written in Java OOP style where every function call had to be traced up and down through four levels of abstraction

I mention this only b/c the "LLMs write shitty code" isn't quite the insult/blocker that people think it is. Humans write TONS of awful but working code too.

majorbugger•1h ago
Which is great until you have to make changes to this kind of code, not to mention a massive refactoring.
arscan•53m ago
It is completely possible that the path that got them to this point was the optimal path given their goals and knowledge at the time. And wildly enough, maybe it was even the optimal path with perfect knowledge of the future as well.
esafak•22m ago
That's the opposite of 'great'. Good code is that which can be refactored.
JackSlateur•57m ago
I would not call "you must leave the webpage open" a "working code" :)

This looks like an example of biobackend: defective IT compensated by humans

Your point is very sane, of course, shitty code was not invented now. But was it ever sold as a revolution ? Probably, too !

datsci_est_2015•49m ago
Google “hospital server room”. Guess everywhere should just do the same thing with their server rooms, yeah? Works for hospitals, and look how much money the healthcare system makes! Why even pay an IT engineer, just plug in another wire bro.
jollyllama•1h ago
And cars are driven more than worked on, but putting the oil filter inaccessibly in the middle of the engine block is still an unforgiveable sin.
wiseowise•1h ago
But if you happen to own a repair shop, you can make a fortune from drivers who don’t know how to do it. Wink.
Arch-TK•7m ago
[delayed]
its_ethan•1h ago
What if there's an efficiency in engine design by placing the filter in the middle that leads to a +2mpg improvement for the driver? Or that it fails, on average, 22k miles later into it's life? Not all hard-to-repair-yourself designs are malicious...
1970-01-01•55m ago
Except..there is never such reason. They can put the filter anywhere in the pipeline. Some even have it exactly where it should be: https://www.ifixit.com/Guide/2013+Subaru+Legacy+Oil+and+Oil+...
csours•55m ago
If it is a part with a regular maintenance schedule, it should be designed for maintainability.

Most maintainability conflicts come from packaging and design for assembly.

Efficiency more often comes into conflict with durability, and sometimes safety.

its_ethan•25m ago
Right but what I'm getting at is that there can be tradeoffs that might make designing for maintainability mean optimizing for something less important to the end user.

Do you optimize an engine for how easy it is to replace a filter once or twice a year (most likely done by someone the average car-owner is already paying to change their oil for them), or do you optimize it for getting better gas mileage over every single mile the car is driven?

We're talking about a hypothetical car and neither of us (I assume) design engines like this, I'm just trying to illustrate a point about tradeoffs existing. To your own point of efficiency being a trade with durability, that's not in a vacuum. If a part is in a different location with a different loading environment, it can be more/less durable (material changes leading to efficiency differences), more/less likely to break (maybe you service the hard-to-service part half as often when it's in a harder to service spot), etc.

manquer•13m ago
Only TCO matters, that is the efficiency you actually optimize for, ie dollar per mile[1]not miles per gallon.

If the car is going to need to be in shop for days needing you to have a replacement rental because the model is difficult to service and the cost of service itself is not cheap , that can easily outweigh any marginal mpg gain .

Similarly because it is expensive and time consuming you may likely skip service schedules , the engine will then have a reduced life, or seizes up on the road and you need an expensive tow and rebuild etc .

You are implicitly assuming none of these will change if the maintenance is more difficult , that is not the case though

This is what OP is implying when he says a part with regular maintenance schedule to be easily accessible.

[1] of which fuel is only one part , substantial yes but not the only one

datsci_est_2015•53m ago
I’m no mechanical engineer, but I would assume those extreme tradeoffs occur more often when repairability is not prioritized from early iterations. I.e. “boss we’re 90% into the design cycle why are you bringing up the position of the oil filter now?”

There’s definitely a programming equivalent as well…

PunchyHamster•16m ago
That is fine if you are say building a race car that will be essentially rebuilt anyway in between races, or in general where 0.1% extra performace/less weight from non-repair-friendly placement might be worth it.

Not for normal car

batisteo•47m ago
Most cars sold in the US are not aerodynamic so it seems a couple of mpg isn't the focus anyway
0x457•41m ago
I think oil filter located somewhere sinful usually in cars that are aerodynamically sound.
carefree-bob•33m ago
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 rebadged versions you can get elsewhere.

Fun Fact: Along with the "Bees are disappearing" scare, which was just measurement error, there has been an "insects are disappearing" scare, due to the fact people's windshields are not covered with bugs like they used to be. However that is because cars have gotten more aerodynamic so fewer insects are hitting the windshield.

coeneedell•19m ago
https://en.wikipedia.org/wiki/Decline_in_insect_populations?...

Um I’m pretty sure that’s not the only evidence for insect population declines.

ww520•42m ago
If the engine failed due to missing oil change because of the difficulty, the whole car is gone. The waste in cost, material, and environmental impact far outweighs the savings in 2mpg improvement.
its_ethan•19m ago
Glad to know in this hypothetical car scenario the owner decided to not get an oil change leading to the total loss of the vehicle. That seems very realistic and definitely something that car designs should be optimized around.

Or, we consider that 2mpg across 100,000 cars can save 3,500,000 gallons of gas being burned for the average American driving ~12k miles per year. And maybe things aren't so black and white. You're argument, in this hypothetical, is that negligent car owner who destroys their car because they're choosing to not change the oil is worth burning an extra 3.5millon gallons of gasoline.

bena•7m ago
To be fair, you are constructing an entirely hypothetical car scenario where oil filter placement leads to a 5-10% increase in fuel efficiency.

We're already in the land of the fucking ridiculous. Let's have fun with it.

carefree-bob•15m ago
This is like saying you can get a 10% improvement in battery life by changing where you position the RAM on your motherboard.

There is just no universe in which placing an oil filter in one location or another is going to make such a difference. You'd have to mount it completely outside the engine, say sitting as a cylinder on top of the hood, and even there you are not going to get a 2mpg improvement.

Arch-TK•3m ago
[delayed]
andsoitis•40m ago
The real issue is that oil filters and gears are really just legacy design. EVs don’t need them.

So, similar with software design, as in other fields, often a problem goes away when you ask a different question.

Arch-TK•10m ago
EVs also have consumable parts which it would be incredibly annoying to place in nonsensical locations.

The obvious one is the battery, and you can argue that modern EVs have batteries so expensive that when they are dead the car becomes scrap, and - sure, whatever.

But EVs still have: cabin air filters, coolant, brake fluid, lubricants in various places (although granted, these lubricants will mostly last the service life).

At the end of the day, as long as you have a car which moves, and not a statue, it will have things which wear out and which should be easy to replace.

Engine oil and oil filters are just an example.

ang_cire•6m ago
EVs have gears and gear oil in their drive units. There is a reduction gear that needs lubrication, as well as the differential.

They actually will need oil changes starting anywhere from the 50k to 100k mile mark.

Here's the maintenance guide with pictures walking through changing the oil and filter for the Rear Drive Unit (RDU) in a Tesla Model S:

https://service.tesla.com/docs/ModelS/ServiceManual/Palladiu...

carefree-bob•6m ago
You may not know this, but EVs also have oil filters and gears. They also having cooling systems. What they don't have is an engine (they have motors). But the motors have their own cooling system, and the gears have their own oil system with filters.

Every moving part - especially gears -- needs to be oiled, and whenever you are oiling metal on metal contact such as in gears, you are going to want an oil filter to catch worn metal debris, to remove it from the oil.

The difference between EVs and ICE vehicles is not that only one of them uses oil to reduce friction, but that the oil service intervals on EVs are so long that regular oil maintenance is not needed, you do it every 60,000 miles or whatever the manufacturer recommends, so it's out of mind. But that doesn't mean it doesn't require service.

Once EVs have been around for a while and there is an established market for used EVs, the people who buy them are going to want to change the oil to add more life to the EV. So it's something that is dealt with in the long-life maintenance, not the monthly maintenance. But when you do the oil service, you will curse Tesla for needing to drop the battery in order to do it, and all of a sudden you will care where things are placed and how accessible they are.

Here is a nice video -- I follow Sam Crac as one of my favorite automotive youtubers - and he picked up an old Tesla and did an oil service for it. It's a nice watch:

https://www.youtube.com/watch?v=l0ZNHKjHalY

kerblang•17m ago
Try replacing the battery. Seems accessible enough at first, but ingenious engineering has made batteries the modern rubik's cube of auto maintenance.
bena•10m ago
Define "modern". I have a 2017 Civic and I've had to replace the battery a couple of times. There's a holding bar that needs to be removed before the battery can be taken out, but other than that the only real problem is the weight of the thing.
logancbrown•2m ago
The Ford Maverick (2022+) requires removing the air intake to remove the car battery. This is fairly common across many new car models.
cineticdaffodil•53m ago
Oh noe, noe no.. you want to crowdsource debugging.. describe the error and your expectations, then build software by machine learning while screwing up.
direwolf20•42m ago

    biz > user
is capitalism. Removal of that isn't capitalism. Non-removal of that is capitalism.
psychoslave•31m ago
It went on the good track, but failed to generalize that ≹ is what apply among all these terms.
evanjrowley•30m ago
Does the ">" mean "greater than" or is it meant to symbolize an arrow in a ordered sequence?
esafak•27m ago
More important than:

"We arrived at a little model that expresses the relative importance of various factors in software development..."

You can't trust macOS Privacy and Security settings

https://eclecticlight.co/2026/04/10/why-you-cant-trust-privacy-security/
121•zdw•1h ago•40 comments

WireGuard makes new Windows release following Microsoft signing resolution

https://lists.zx2c4.com/pipermail/wireguard/2026-April/009561.html
71•zx2c4•53m ago•28 comments

1D Chess

https://rowan441.github.io/1dchess/chess.html
82•burnt-resistor•1h ago•12 comments

Helium Is Hard to Replace

https://www.construction-physics.com/p/helium-is-hard-to-replace
68•JumpCrisscross•1h ago•32 comments

Industrial design files for Keychron keyboards and mice

https://github.com/Keychron/Keychron-Keyboards-Hardware-Design
21•stingraycharles•20m ago•2 comments

Bluesky April 2026 Outage Post-Mortem

https://pckt.blog/b/jcalabro/april-2026-outage-post-mortem-219ebg2
19•jcalabro•51m ago•2 comments

CPU-Z and HWMonitor compromised

https://www.theregister.com/2026/04/10/cpuid_site_hijacked/
50•pashadee•3h ago•34 comments

Mysteries of Dropbox: Testing of a Distributed Sync Service (2016) [pdf]

https://www.cis.upenn.edu/~bcpierce/papers/mysteriesofdropbox.pdf
73•JackeJR•3d ago•15 comments

Code is run more than read (2023)

https://olano.dev/blog/code-is-run-more-than-read/
84•facundo_olano•2h ago•44 comments

Clojure on Fennel Part One: Persistent Data Structures

https://andreyor.st/posts/2026-04-07-clojure-on-fennel-part-one-persistent-data-structures/
30•roxolotl•3d ago•0 comments

FBI used iPhone notification data to retrieve deleted Signal messages

https://9to5mac.com/2026/04/09/fbi-used-iphone-notification-data-to-retrieve-deleted-signal-messa...
371•01-_-•5h ago•180 comments

How NASA built Artemis II’s fault-tolerant computer

https://cacm.acm.org/news/how-nasa-built-artemis-iis-fault-tolerant-computer/
538•speckx•1d ago•212 comments

I still prefer MCP over skills

https://david.coffee/i-still-prefer-mcp-over-skills/
368•gmays•14h ago•309 comments

France to ditch Windows for Linux to reduce reliance on US tech

https://techcrunch.com/2026/04/10/france-to-ditch-windows-for-linux-to-reduce-reliance-on-us-tech/
150•Teever•1h ago•54 comments

Penguin 'Toxicologists' Find PFAS Chemicals in Remote Patagonia

https://www.ucdavis.edu/health/news/penguin-toxicologists-find-pfas-chemicals-remote-patagonia
104•giuliomagnifico•10h ago•42 comments

A new trick brings stability to quantum operations

https://ethz.ch/en/news-and-events/eth-news/news/2026/04/a-new-trick-brings-stability-to-quantum-...
201•joko42•12h ago•47 comments

C++: Freestanding Standard Library

https://www.sandordargo.com/blog/2026/04/08/cpp-freestanding
17•ingve•2d ago•2 comments

Native Instant Space Switching on macOS

https://arhan.sh/blog/native-instant-space-switching-on-macos/
594•PaulHoule•20h ago•288 comments

Supply chain nightmare: How Rust will be attacked and what we can do to mitigate

https://kerkour.com/rust-supply-chain-nightmare
42•fanf2•2h ago•20 comments

Deterministic Primality Testing for Limited Bit Width

https://www.jeremykun.com/2026/04/07/deterministic-miller-rabin/
13•ibobev•2d ago•1 comments

Show HN: Marimo pair – Reactive Python notebooks as environments for agents

https://github.com/marimo-team/marimo-pair
94•manzt•2d ago•22 comments

We've raised $17M to build what comes after Git

https://blog.gitbutler.com/series-a
257•ellieh•14h ago•558 comments

DRAM has a design flaw from 1966. I bypassed it [video]

https://www.youtube.com/watch?v=KKbgulTp3FE
347•surprisetalk•2d ago•123 comments

US summons bank bosses over cyber risks from Anthropic's latest AI model

https://www.theguardian.com/technology/2026/apr/10/us-summoned-bank-bosses-to-discuss-cyber-risks...
58•ascold•2h ago•31 comments

Generative art over the years

https://blog.veitheller.de/Generative_art_over_the_years.html
211•evakhoury•3d ago•56 comments

Peers vote to ban pornography depicting sex acts between stepfamily members

https://www.theguardian.com/society/2026/apr/10/porngraphy-depicting-sex-acts-between-stepfamily-...
4•azalemeth•9m ago•0 comments

CollectWise (YC F24) Is Hiring

https://www.ycombinator.com/companies/collectwise/jobs/Ktc6m6o-ai-agent-engineer
1•OBrien_1107•12h ago

"Negative" views of Broadcom driving VMware migrations, rival says

https://arstechnica.com/information-technology/2026/04/nutanix-claims-it-has-poached-30000-vmware...
33•breve•2h ago•11 comments

Show HN: Keeper – embedded secret store for Go (help me break it)

https://github.com/agberohq/keeper
52•babawere•7h ago•28 comments

OpenAI backs Illinois bill that would limit when AI labs can be held liable

https://www.wired.com/story/openai-backs-bill-exempt-ai-firms-model-harm-lawsuits/
374•smurda•3h ago•266 comments