HNHacker News
TopNewBestAskShowJobs

yearolinuxdsktp

127 karma · joined October 29, 2024

submissionscomments
yearolinuxdsktp··on Google Chrome silently installs a 4 GB AI model on your device without consent
Never use “npm install”, only “npm ci”. Using “npm install” is a willing act to run fresh exploits.
yearolinuxdsktp··on GitHub is having issues now
Merge queues are not as frequently used… ~2000 PRs affected over 4 hours. I reckon that’s on the order of 10 commits per tenant. It’s a feature with low traction, probably because it creates more problems than it solves.
yearolinuxdsktp··on High-Level Rust: Getting 80% of the Benefits with 20% of the Pain
Kotlin’s closed-by-default design choice makes it worse than Java, and thus not strictly better than Java. It’s premature optimization, and a design-up-front-influenced paranoia/fear of any extension in not-designed-for places. But when I write code, I prefer to keep it open to extension, and in practice, I found a lot of value in extending decently written code, that would not be possible with Kotlin without having to go back and modify things to be open.
yearolinuxdsktp··on Delve removed from Y Combinator
A startup might have trouble with, and might not have enough automation for:

- proving churned customer data was deleted completely and within the agreed-on period of time

  - - not enough to have a record

  - - auditors will ask you to prove the data is not laying around
- proving all changes shipped are reviewed and linked to tracked work

- proving branch rules are set to require PRs and prohibit changing history on release/trunk branches

  - - auditors will ask you to show live that you can’t approve your own changes

  - - some auditors might ask you for an audit log to prove no unexpected branch rule changes occurred —- depending on the observation period, you might have to build your own audit log capture to prove this
- proving you performed penetration testing

- proving you performed a disaster recovery test in production with the frequency you claim (e.g. annually)

  - - running a DR test might be more than a few hours depending on your data size and level of infra automation

  - - this is often something that startups are ready to execute, but don’t invest a lot of time automating
- proving you have and enforce full-disk-encryption on all your employee laptops

  - - this is automated with MDM but a startup might not be running an MDM yet
- proving you are rotating credentials on the frequency you ascribe to in your policies

  - - automated reports are available for some credentials, e.g. AWS keys, but takes more work for smaller vendors

  - - even with AWS, you might discover you forgot to rotate something, and it might be because it’s non-trivial to execute
- perform quarterly access reviews

  - - some systems are more difficult/time consuming to inspect against your employee and permissions list

  - - ideally this is automated, but often times at a startup, you might not have fully automated authorization and access control, such that when employees change teams or leave the company, that you get notified and don’t miss it
- proving that you act on performance or reliability alerts

  - - auditors will ask you to show live some examples of past alerts and that someone handled it

  - - auditors will often ask you to show live that these alerts are consistently configured for all your production system —- startups might not have the alerting and PagerDuty-like setup be fully automated (e.g. with Terraform)
yearolinuxdsktp··on South Korea Mandates Solar Panels for Public Parking Lots
Tree shade means bird poop danger.
yearolinuxdsktp··on People inside Microsoft are fighting to drop mandatory Microsoft Account
It’s impossible to install XCode without an Apple account. It’s only distributed through the Mac App Store, and downloads from Mac App Store require an Apple ID. And even XCode beta downloads are locked behind an Apple login.

You can install XCode CLI dev tools without an Apple account, which comes with clang and swift for example. With this, you can build most Mac software, but I don’t think you can run Swift tests without a full XCode.

As the sibling comment notes, you can install GCC/llvm and whatever other open source tools and build Mac software without full XCode.

You can also install Apple container support without an Apple account.

yearolinuxdsktp··on Running Tesla Model 3's computer on my desk using parts from crashed cars
It’s because when placed inside the engine bay, the large wiring harness is shorter, which is not only cheaper, but also shorter wiring helps with the consistency of electrical timing and reduces noise.
yearolinuxdsktp··on Running Tesla Model 3's computer on my desk using parts from crashed cars
Yes they do. They can tolerate engine bay heat, but not exhaust heat. They are usually shielded from getting soaked.

Some Mazdas put the metal-cased engine computer in a plastic air box that feeds cold air from the front, to help ensure the engine computer stays cool enough.

In general, I believe the cooling airflow from the frontal air and the cooling fans keeps engine bay in check.

For example, this is the board that’s used in Mazda CX-5 2017+ engine computers (mfr Denso), it lists max temperature range of +150C: https://www.renesas.com/en/document/mah/rh850e1l-users-manua...

yearolinuxdsktp··on Bombarding gamblers with offers greatly increases betting and gambling harm
> If it's so bad for gamblers, why don't they stop?

Because harm does not guarantee control.

When it becomes compulsive, it’s not a simple cost-benefit choice anymore. People can know it’s hurting them and still feel driven to keep doing it.

The dopamine rush of gambling means the brain can get stuck chasing relief, hope, or reward, despite also knowing that it is destructive.

> If gambling orgs do something that you know causes harm, why isn't the a legal sense of responsibility?

Because it’s not that easy to prove responsibility in the face of powerful money lobbying and victim-blaming. Shame and stigma around addiction means people don’t come forward. Freedom argument comes in that not everyone who gambles is an addict, so restricting it takes freedom away. The same argument is used to push the personal responsibility angle.

Ultimately I think the way the gambling orgs cover their ass is by advertising gambling addiction helplines and adding small disclaimers to call those lines if you have a problem: “that’s it, legislators, we are clearly giving them the tools to help themselves, and that shows us exercising responsibility. Bombarding gamblers with offers is simply marketing and creating engagement for our business, you can’t make that illegal.”

Do they have moral responsibility to not exploit addicted gamblers? I would argue, yes, they do. But unless you prohibit all gambling marketing, how would you accomplish this moral responsibility even if the gambling company agreed it had it? It’s not like addicts identify themselves or that you can filter your marketing easily to people without problems. This is why the solutions have been on outlawing the whole thing, because it’s really hard to operate as a business without the societal cost.

yearolinuxdsktp··on macOS 26 breaks custom DNS settings including .internal
I disagree with the downvotes, but let me put it differently: if you don’t understand, have reviewed and be ready to own all of LLM output (the thoughtful part), then you aren’t owned the time to read them. If you didn’t try to reign in the verbose slop that’s the default for LLMs, I don’t want to read it.

Maybe the poster is running a local LLM.. you’d think that a SOTA model would have surmised that an overnight MacOS upgrade can only be a minor version.

yearolinuxdsktp··on macOS 26 breaks custom DNS settings including .internal
Apple container CLI configures internal domains (`container system dns`) by adding an internal resolver and it worked for me when I specified an actual domain previously handled by external DNS and it showed up as a custom resolver.

Here’s a GitHub comment showing someone on MacOS 26 with a `.test` domain, which you claim is broken: https://github.com/apple/container/issues/856#issuecomment-3... —- maybe you are configuring it incorrectly.

yearolinuxdsktp··on Claude Code wiped our production database with a Terraform command
Your AWS backup snapshots must go one-way (append-only) to a separate AWS account, to which access is extremely limited and never has any automated tools connecting to with anything other than read access. I don’t think it costs more to do that—-but it takes your backups out of the blast radius of a root or admin account compromise OR a tool malfunction. With AWS DLM, you can safely configure your backup retention in the separate AWS account and not risk any tools deleting them.

Terraform is a ticking time bomb. All it takes is for a new field to show up in AWS or a new state in an existing field, and now your resource is not modified, but is destroyed and re-created.

I will never trust any process, AI or a CD pipeline, execute `terraform apply` automatically on anything production. Maybe if you examine the plan for a very narrow set of changes and then execute apply from that plan only, maybe then you can automate it. I think it’s much rarer for Terraform to deviate from a plan.

Regardless, you must always turn on Delete Protection on all your important resources. It is wild to me that AWS didn’t ship EKS with delete protection out of the gate—-they only added this feature in August 2025! Not long before that, I’ve witnessed a production database get deleted because Terraform decided that an AWS EKS cluster could not be modified, so it decided to delete it and re-create it, while the team was trying to upgrade the version of EKS. The same exact pipeline worked fine in the staging environment. Turns out production had a slight difference due to AWS API changes, and Terraform decided it could not modify.

The use of a state file with Terraform is a constant source of trouble and footguns:

- you must never use a local Terraform state file for production that’s not committed to source control - you must use a remote S3 state file with Terraform for any production system that’s worth anything - ideally, the only state file in source control is for a separate Terraform stack to bootstrap the S3 bucket for all other Terraform stacks

If you’re running only on AWS, and are using agents to write your IaaC anyway, use AWS CloudFormation, because it doesn’t use state files, and you don’t need your IaaC code to be readable or comprehensible.

yearolinuxdsktp··on Ghostty – Terminal Emulator
I’ve been using scroll back search for 15+ years with Terminal.app and iTerm2, and there’s no way that’s not the job of the terminal. You don’t know how good that is until you use it.
yearolinuxdsktp··on Ghostty – Terminal Emulator
It’s a shame that version 1.2.x got abandoned and didn’t receive any important bug fixes. That has severely cut my trust into this project. It’s been over 4 months since the last 1.2.3 release, so the memory leak when using Claude is not addressed, my Ghostty crashes are not addressed (crash reporter doesn’t work), I don’t even bother looking at the issues anymore, as I know I am not getting the fixes for a long time.

And I’m not running a critical piece of productivity software on a nightlies channel!

yearolinuxdsktp··on Block the “Upgrade to Tahoe” alerts
Your passive-aggressive comment doesn’t deserve a response, but I’ll bite.

You see the desktop picture when you walk up to the Mac to unlock it, or immediately after you lock it before walking away. Or momentarily when you use Exposé or move windows out of the way to access files on the desktop.

Or if you are running multiple monitors, it’s common to clear out a side monitor or half of one for a new window/different app.

And I have more windows open than a Microsoft test lab.

yearolinuxdsktp··on Block the “Upgrade to Tahoe” alerts
No ability to search the scroll back buffer. Stuck on the latest 1.2 release, there shall be no more, even though important bug fixes like memory leaks when using Claude are not backported. That’s a wild “go F yourself” decision. Ghostty crashed the other day for me, I have zero expectations that crash will be fixed for me until the 1.3 release. And when that release happens, the cycle of ridiculousness will restart. All the windows are gone when it crashes. I’m not ready to run Ghostty nightlies, last thing I need is the increased chance of crashing or bugs.

About to switch to native Terminal.app since it now supports truecolor. Or back to iTerm2.

yearolinuxdsktp··on Why isn't LA repaving streets?
No way does the Escalade exert less ground pressure!

Firstly, a Wagoneer is never on pizza cutters. You can't put a 4500lb car on pizza cutters even in 1990! It came with 235/75R15 tires. They are big sidewall donuts, but no pizza cutters.

The Escalade runs 285/40R24 tires, that's wide and low-profile.

Widening a tire increases ground pressure, because low-profile tires have massive amount of reinforcement to prevent that wheel from cracking. This stiffness adds to the pressure the road feels.

Tire contact patch is a function of weight and tire pressure. A 205mm width tire has the same contact patch as a 285mm tire, given same weight and pressure. The only thing that changes is the shape of the contact patch, which becomes wide and short instead of narrow and long.

The 6000lb Escalade runs its 285/40R24's on 35 psi, the Wagoneer runs its 235's at 30 psi.

So assuming even weight distribution, the contact patch per tire is 6000lbs/4/35psi=42.8in^2 inches for the Escalade, and 4500lbs/4/30psi=37.5in^2. So the contact patch is only 14% larger on the Escalade, yet it carries 33% more weight!

If you look at the road wear formula, it's entirely a function of weight. So the width of the tires only impacts surface-level abrasion. And with the power law, that's still 3.16x of Wagoneer's wear (or 216% increase).

So the wider tires do virtually nothing to protect the road from the extra 1500 lbs weight.

In fact, the dynamic load when hitting potholes is greatly exacerbated by the 285/40R24 low profile tires, because instead of of absorbing the bumps within the tire, the stiff sidewall low-profile tires absorb way less.

The spring rate of the Wagoneer tires is ~1200-1500 lbs/in, the spring rate of the Escalade tires is ~2500-3500 lbs/in, so that's a 2x stiffer tire! As a result, it transmits twice as much force when hitting the same bump.

So as a result, an Escalade accelerates road cracking considerably worse than the Wagoneer, not even in the same league.

Yes, the heavy trucks wear the road outsizely, incomparably to the SUVs we are discussing. However, we have roads that do not allow trucks (parkways) or see little heavy truck traffic.

yearolinuxdsktp··on [dead]
And supporting the factory workers and all the Tesla employees, Elon is not the only beneficiary.
yearolinuxdsktp··on C++26: Std:Is_within_lifetime
What do you think the programming language fix would be?
yearolinuxdsktp··on Thoughts on Generating C
Java JIT compilers perform function inlining across virtual function boundaries… this is why JIT’d Java can outperform the same C or C++ code. Couple it with escape analysis to transfer short-lived allocations to be stack-allocated (avoiding GC).

Often times virtual functions are implemented in C to provide an interface (such as filesystem code in the Linux kernel) via function pointers—-just like C++ vtable lookups, these cannot be inlined at compile time.

What I wonder is whether code generated in C can be JIT-optimized by WASM runtimes with similar automatic inlining.

yearolinuxdsktp··on Coding Agent VMs on NixOS with Microvm.nix
How do you compete with Nitro-based VMs on AWS with 0.5% overhead?
yearolinuxdsktp··on How not to securely erase a NVME drive (2022)
Do you mean malware in the firmware that sticks around after you format the drive?
yearolinuxdsktp··on How not to securely erase a NVME drive (2022)
Every organization with good security hygiene requires strong-password-protected disk encryption, because when your stuff is stolen from your Tesla at lunch time in broad daylight, no shredder policy will save you, full stop.
yearolinuxdsktp··on How not to securely erase a NVME drive (2022)
100%. If you’re not encrypting your drive, along with a strong password, you’re fucking around.

Physical destruction as the only sure way? When your hardware is stolen, good luck physically destroying it.

yearolinuxdsktp··on Sqldef: Idempotent schema management tool for MySQL, PostgreSQL, SQLite
How is this better than Liquibase? Isn’t there a risk of missing schema evolution steps when you only diff current vs target? (Because current can be v1 and target v3 and you might have lost column migration logic from v2)
yearolinuxdsktp··on How Jeff Bezos Brought Down the Washington Post
Seventy-seven million in *2023
yearolinuxdsktp··on Show HN: Safe-now.live – Ultra-light emergency info site (<10KB)
How can it load when the internet is down?!? Doesn’t the PWA source have to be fetched? And if it’s cached, then so can be the static resources.
yearolinuxdsktp··on Show HN: Safe-now.live – Ultra-light emergency info site (<10KB)
Local news needs timestamps… I see stale last-week weather news. Had to click and see date from last week in the article.
yearolinuxdsktp··on Show HN: difi – A Git diff TUI with Neovim integration (written in Go)
Reminds me of `tig`, which is a TUI with a continuous diff (not side by side) viewer… you can revert chunks inline. Has tree view, diff view and blame view.
yearolinuxdsktp··on Email experiments: filtering out external images
Fastmail.fm (a paid mail provider) also has a feature to not load remote images, and it’s on by default.

You can also set up arbitrarily complex filtering rules using Sieve, if the built-in rules UI is not sophisticated enough.

← PreviousPage 2 of 5Next →