HNHacker News
TopNewBestAskShowJobs

naberhausj

194 karma · joined May 16, 2020

submissionscomments
naberhausj··on The real cost of owning a home
Absolutely true if you're renting a home, but I feel like people never address that most people are renting apartments. These have substantially lower operating costs.

Home buying/rental is a totally fair comparison, but I know several people whose main justification for buying a home, rather than continuing living in an apartment, was that they wanted to, "stop throwing their money away". Totally ignoring how home ownership is actually more costly than renting a suitable apartment.

Of course, I fully recognize their are a lot of advantages to home ownership. Some of which you already called out. However, I doubt those advantages are actually sufficient to justify a small, but significant, portion of home purchases.

naberhausj··on California to begin ticketing driverless cars that violate traffic laws
I don't think the statistics would bear out there being any way to make driving safer per passenger mile than public transport.

I get what you're saying. The empirical evidence just doesn't agree AFAIK.

naberhausj··on California to begin ticketing driverless cars that violate traffic laws
This is the same attitude as people who are afraid of commercial flying despite it being the single safest form of transport. I get it. But it's irrational.

You might not get stabbed, but driving is incredibly dangerous. Even just in terms of violence: road rage is tolerated to a large extent in America. The difference is that the news doesn't report even a small fraction of the traffic deaths in this country. In Iowa, the state I used to live in, around 300 people died every year from driving. I don't know a single one of those people despite their death being a tragedy. Whereas the stories you linked were broadcast coast to coast.

naberhausj··on Two pilots dead after plane and ground vehicle collide at LaGuardia
I am not aware of any data that supports the claim that there are more incidents in recent history. The safest years were, of course, the COVID-19 shutdown years, when air-travel was greatly reduced. But besides that the last couple of years has been overall safer than the years before COVID-19.

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

The 2025 crash near DCA, of course, absolutely spiked the number of recent commercial aviation deaths, but we haven't had any other aviation tragedies of that magnitude in more than a decade.

This can be a preventable tragedy without there needing to be a conspiracy behind it.

naberhausj··on Two pilots dead after plane and ground vehicle collide at LaGuardia
I think this is a good idea.

The only negative I can think of is that it will generally involve accepting and responding to clearances on short final. I think adding more tasks to that critical stage of flight probably increases danger a little. Especially for low time student pilots like myself. That's particularly relevant in the U.S. because we have a higher percentage of student and private pilots than most of the world.

Overall, though, I'm fully convinced this would be safer.

naberhausj··on 19 States approved permanent daylight saving time
Anybody know what those of us in the remaining states can do to help push this forward? I've never contacted my local representatives before, but this is the kind of no-brainer change that I would love for us to finally enact.
naberhausj··on I converted 2D conventional flight tracking into 3D
There are many factors that could have contributed to this (airspace restrictions, turbulence, etc...), but usually altitudes are selected based on the prevailing winds. You want as strong of a tailwind, or at least as weak of a headwind as possible.
naberhausj··on Stranger Things creator says turn off “garbage” settings
Don't have personal experience with these devices, but a passthrough EDID emulator might solve this. I expect it would make the TV unable to recognize the specific device you have plugged in.

Something like this:

https://a.co/d/4pVIpRV

I think you just find one with the same output specs as your PS5.

naberhausj··on UA 1093
About the same as a transponder, I think. According to the FAA many weather balloons operate their transponders (if equipped at all) intermittently to preserve battery.
naberhausj··on UA 1093
47 CFR 87.107 requires that radios transmitters in aircraft broadcast an identification number, and the allowed forms of identification aren't permissive enough for non-registered aircraft.

ADS-B out is still relatively new (especially in aviation terms) so I expect we'll see this continue to evolve.

naberhausj··on One to two Starlink satellites are falling back to Earth each day
This article [1] indicates that they burn up at altitudes between 37-50 miles above the surface. If so, that's well above the 40,000' that planes normally fly.

[1] https://www.space.com/spacex-starlink-reentry-pollution-dama...

naberhausj··on Is air travel getting worse?
I've also been on flights where they asked us to hurry, and then we (flight attendants included) sat and waited for other things to be completed. Not saying that was what you experienced, of course! Nor am I complaining. My understanding is that gate attendants get penalized if they're the reason the plane is held up, so I understand why they'd play it safe and hurry people.

I'd love to see some hard data on this (I've tried to find it in the past, but there's so much fluff about this subject)!

naberhausj··on Is air travel getting worse?
I'm a _somewhat_ frequent flyer (5-8 trips a year). I've never experienced a plane being delayed by the time it take passengers to enter/exit the plane. I have, however, experienced delays because the baggage handlers are still loading the plane.

For that reason, I've never understood the obsession with loading the plane quickly.

naberhausj··on GPT-5 Demo Mistake About Bernoulli Effect
This "blog post" appears to just be copy-pasted content from the NASA article [1]. I give credit for the source being cited, but it's still plagiarism.

[1] https://www.grc.nasa.gov/www/k-12/VirtualAero/BottleRocket/a...

naberhausj··on PlasticList – Plastic Levels in Foods
Cheap, ubiquitous plastics have revolutionized every industry (tools, food, automotive, etc...). We wouldn't be able to consume anywhere close to current level without them.

Not saying that's a good thing. But giving up plastics (not just in our personal life, but across the entire supply chain we rely on) would probably be harder for the average American than giving up alcohol for a drunk.

naberhausj··on Ask HN: Do You Take Protein Suppliments? Any Noticeable Benefits?
There is pretty much a hard limit on how much protein you need to intake. Often you'll hear one gram per pound of bodyweight as a rule of thumb, but in reality that is actually the ceiling. At the very most you need one gram per pound of lean body mass, not including fat (and most people are at least 15% body fat, even more for women).

Basically, the only way to know if you need a protein supplement is to track your macros. That means logging everything that you eat throughout the day. Personally, I eat lots of meat, and only need a protein shake occasionally. Before I started tracking I way over-indexed on protein. That's not necessarily a bad thing, but it was a waste of money (carbs and fats are both cheaper).

Additional protein won't hurt you, but it's not going to increase muscle growth. Especially not without hypertrophic exercise.

naberhausj··on Chatbot hinted a kid should kill his parents over screen time limits: lawsuit
There is something deeply disturbing to me about these "conversations".

Reminds me of a Philip K. Dick short story titled Progeny. In its universe children are raised exclusively by robots. Unlike humans, they never make mistakes or commit abuse. The child, once grown, ends up seeing his Father as an animal and the robots as his kindred. In the last pages, he chooses the sterile world of the robots instead of joining his Dad's work/explorations in the far reaches of the solar system.

Our current chatbots are still flawed, but they're still sterile in the sense that you can trash them and start anew at any moment. You're never forced to converse with someone who is uninteresting, or even annoying. Yet, these are the very things that grow people.

naberhausj··on Show HN: I built PixSpeed to optimize website images for free
The best feature of my purpose-built static site generator is that it automatically builds (mostly) optimized WEBPs from any source image [1]. Not only does it reduce the image size, but it outputs many sizes of the image so that I can use an image `srcset`. The browser then automatically downloads the optimally sized image for the element.

It's a game changer to be able to copy photos directly from my Google Photos and not worry about it bloating my web pages.

[1] https://github.com/JosephNaberhaus/naberhausj.com/blob/05846...

naberhausj··on Jaywalking legalized in New York City
In addition to the ones people already mentioned: In Copenhagen it was very rare for people to cross on red. I never got and dirty looks when I did it, but it was definitely not the norm.
naberhausj··on JSON Patch
This is what "op": "test" is for. You can use it at the beginning of a patch to verify that the server's object hasn't drifted from your own.
naberhausj··on When railroad dining cars were the height of luxury
I find it odd that they force you to sit with other people. I walked into a nearly empty Empire Builder dining car and was still forced to sit with people. Why not ask for people's preferences?

During that trip, the company at breakfast was a nightmare. I sat across from two very drunk young men who were traveling on there father's money. At one point they started a fight with our waiter. Thankfully, our dinner companions made up for it by being delightful.

I completely agree about the quality of the food. For dinner I ate the steak, and it was quite good.

naberhausj··on Zod: TypeScript-first schema validation with static type inference
I've not used either, but it appears to be similar to JOI, yes.

The main distinction is that ZOD allows you to extract a TypeScript type from your schema. This means you get both compile-time and run-time type checking.

naberhausj··on Love them or hate them, this couple reign in Russian literature
War and Peace was my first introduction to the translation debate as well. I read and loved the Anthony Briggs translation, but I also read a few samples from the Maude translation and didn't think it was much different.

In general, I think there's too much emphasis on language barriers for the layperson. It's the classic problem where passionate people introduce considerations that aren't relevant to the casual user ("Don't use that brand/thing! This brand/thing is 0.1% better!").

I'm fluent in English, but still am capable of missing subtle uses of the language. Yet, we treat foreign (to us) languages as if all of the subtly is obvious to anyone who is fluent in it. I honestly don't think that the average Russian reader is going to see much more in the language than an English person with a good translation. An expert will see it, but not me.

In my opinion the return on investment is much higher for increasing your understanding of both the culture and historical moment, not the language.

naberhausj··on Printf Oriented Message Protocol
Also reminds me of the huge shortcoming that these "simple" serialization libraries have. In most use-cases you're eventually going to need some way to add/remove fields from the payloads.

JSON and protobuf make that easy. You can start emitting the new field and then update the receiving end at your leisure.

With these libraries you have to write your own versioning system. For a small performance improvement over JSON parsing it's pretty much not worth it. There's almost always going to be a piece of lower hanging fruit.

naberhausj··on I don't know how CPUs work so I simulated one in code (2019)
Love to see people doing CPU projects!

I just recently wrote a JavaScript emulator [1] for a simple 8-bit CPU I had built with logic gates. Both were fun projects, but one took a weekend whereas the other took about 4 months. Having skimmed through the author's code, I totally understand why it took them so much longer to get their's working. It's implemented with gate-level simulated logic gates, which is an impressive achievement. It's so much easier to just emulate whole components like I did.

[1] https://naberhausj.com/miscellaneous/8-bit-computer/page.htm...

naberhausj··on Programmable Matter – 3D Catoms
I enjoyed watching this presentation by one of the creators: https://www.youtube.com/watch?v=uXhELbJhgoU

However, don't see any evidence that they have physical prototypes of multi-catom swarms. Seems like they're more interested in the controls side of it, which is itself a very difficult problem.

I imagine physical constraints (such as the amount of power needed to engage the device's electromagnets) would render real constructions impossible. I'd loved to be proved wrong, though.

naberhausj··on CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
Like I asked the other person in this thread, what's wrong with that answer?

Not only does it correctly identify the attack vector of this CVE, but I think his advice on how to mitigate it is sound. Is there something I'm missing? The only flaw I see is that it doesn't consider the implications of using PDF.js in Electron.

naberhausj··on CVE-2024-4367 – Arbitrary JavaScript execution in PDF.js
That answer goes on to say,

"If you serve untrusted PDFs in a PDF viewer and you are hosting at your location, it is better be located at different origin than your main app, www.example.org vs pdfviewer.example.org."

My understanding is that this CVE is an XSS attack, so isn't this advice sound? The RCE portion of this CVE is for Election, where every XSS attack is twice as fun.

Is there something about his answer that is wrong that I don't see? I hardly think we can fault someone simply for having faith in the integrity of software that everyone else trusted until now.

naberhausj··on Show HN: Trains.fyi – a live map of passenger trains in the US and Canada
Was it an in-service passenger train? A freight train or out-of-service passenger train wouldn't show up.

Sadly, there's very little data available for most trains on US rails. For example, there's no way (AFAIK) to see what freight trains are active on the network. It's a little frustrating in comparison with how rich our air traffic sources are.

If anyone on HN knows of any richer sources for train network data, please let me know. I'm highly interested!

naberhausj··on Napoleon: Two centuries of life after death
I'm in the middle of it right now. It definitely doesn't suffer from pop-history. I also read Andrew Robert's Churchill biography and thought it was excellent. Not quite to the level of The Last Lion, but that's mainly because it's much shorter.
Page 1 of 2Next →