HNHacker News
TopNewBestAskShowJobs

amarshall

2,336 karma · joined September 5, 2011

https://johnandrewmarshall.com
submissionscomments
amarshall··on Telo MT1
Indeed a max-load trailer truck is equivalent to 10,000 cars in road wear. However the benefit of them (since they transport goods for many) is somewhat outweighed. Regardless, that doesn’t obviate taxing personal vehicles at all, nor heavier vehicles more than lighter ones. Some quick searching shows there are about 60x more personal vehicles than trailer trucks in the U.S.
amarshall··on Telo MT1
Small multiplier, I think not.

Pickup trucks weigh about 1.5x as much as a sedan (comparing Camry to F150). Due to the fourth power law, they should be taxed about 5 times higher than a sedan simply for road maintainence. I don’t have the numbers, but I doubt that is so. Toll roads typically charge per axle, and as below, gas tax is probably only about 2x. Ironically, EVs should pay more tax for maintenance since they are usually quite a bit heavier—though the OP truck is still ~600 lb lighter than an F150.

Fuel economy is about half in a pickup vs. a sedan, so they pollute that much more. Gas tax obviously scales here, but do the other taxes? Does gas tax go towards remedying the pollution impact at all? I don’t know.

Then there’s the safety impact on pedestrians and other vehicles. I don’t have numbers here, sorry.

amarshall··on iPhone 16 cameras vs. traditional digital cameras
The point is: who cares what the “best” camera is if one doesn’t have it with them to take a photo of the fleeting moment anyway?
amarshall··on Do not download the app, use the website
Many of the “native” apps on mobile app stores are React Native, though.
amarshall··on Games Look Bad: HDR and Tone Mapping
> the exposure feature in my iPhone camera…choose the "middle gray" point of the picture for the tone mapping process

No, it uses that to set the physical exposure via the shutter speed and ISO (iPhones have a fixed aperture, so that cannot be changed). It literally says this in the video you linked. This is not tone mapping. Tone mapping in a way may also happen afterwards to convert from the wider dynamic range of the sensor if the output format has a more limited dynamic range.

amarshall··on Cinematography of “Andor”
Even so folks are still maintaining it. Once a film is done, it’s done and no one looks back.
amarshall··on Podfox: First Container-Aware Browser
Unfortunately page is completely blank (iOS Safari)
amarshall··on ZFS: Apple's New Filesystem that wasn't (2016)
Btrfs and bcachefs both have data checksumming. I think ReFS does as well.
amarshall··on ZFS: Apple's new filesystem that wasn't (2016)
Even then you obviously need L2ARC as well!! /s
amarshall··on ZFS: Apple's new filesystem that wasn't (2016)
It’s unfortunate some folks are missing the tongue-in-cheek nature of your comment.
amarshall··on ZFS: Apple's new filesystem that wasn't (2016)
> ZFS is notorious for corrupting itself when bit flips hit it and break the checksum on disk

ZFS does not need or benefit from ECC memory any more than any other FS. The bitflip corrupted the data, regardless of ZFS. Any other FS is just oblivious, ZFS will at least tell you your data is corrupt but happily keep operating.

> ZFS' RAM-hungry nature

ZFS is not really RAM-hungry, unless one uses deduplication (which is not enabled by default, nor generally recommended). It can often seem RAM hungry on Linux because the ARC is not counted as “cache” like the page cache is.

---

ZFS docs say as much as well: https://openzfs.github.io/openzfs-docs/Project%20and%20Commu...

amarshall··on OpenVSX, which VSCode forks rely on for extensions, down for 24 hours
> Yes, VSC is less "open source" than emacs. if "open sourceness" is a score out of 10 or something.

VS Code is not Open Source, period. What exists in the “Visual Studio Code - Open Source” repo that is MIT licensed but cannot be used to build VS Code. Once-upon-a-time it was just branding, telemetry, and a license to use the Microsoft Extension Marketplace. Now, however, there are proprietary, closed-source extensions and additions that are only available in the proprietary-licensed VS Code.

> You can always fetching the VSIX file and sideload it is if the "store" is down though.

No, you cannot do so legally (in the context of using Vscodium or similar), as it is a violation of [the VS Code Marketplace ToS][1]: “You may not import, install, or use Offerings published by Microsoft or GitHub, or Microsoft affiliates in any products or services except for the In-Scope Products and Services.”

[1]: https://cdn.vsassets.io/v/M253_20250303.9/_content/Microsoft...

amarshall··on Sapphire: Rust based package manager for macOS
One big difference is that apt and dnf are both binary package management systems, whereas Homebrew is a source-based build system with binary packages (“bottles”) added on top.
amarshall··on Sapphire: Rust based package manager for macOS (Homebrew replacement)
Nix effectively has per-user packages, but it’s hard to read into your full use case from your comment.
amarshall··on How much oranger do red orange bags make oranges look?
See also this popular “optical illusion”: https://en.wikipedia.org/wiki/Checker_shadow_illusion
amarshall··on Fedora change aims for 99% package reproducibility
All files pokes a big hole, really you want portals. You probably also want audio. And perhaps graphics acceleration depending on the software, and other limited hardware access. And dbus (but sandboxed proxy access). Probably some global config from the host as well (fonts, themes, cursor). And…well maybe there’s more but the point is it depends on the software. Maybe it is that simply sometimes. Often it’s not for non-trivial applications.
amarshall··on Fedora change aims for 99% package reproducibility
> Just use Podman and only mount your Wayland socket + any working files.

If only it was that simple…

amarshall··on Fedora change aims for 99% package reproducibility
Well the point is that if N of M machines produce the same output, it provides the opportunity to question why it is different on the others. If the build is not reproducible then one just throws up their arms.

It’s not clear if you’re also talking about compiler optimizations—a reproducible build must have a fixed target for that.

amarshall··on The Story Behind “100 Go Mistakes and How to Avoid Them”
The problem isn’t that they might be out-of-order. The problem is expecting that they merely might be out-of-order and actually getting missed and duplicated values due to the timing of shared memory access. This was enough of a problem that they [changed the behavior][1] in Go 1.22.

[1]: https://go.dev/blog/loopvar-preview

amarshall··on Nix Derivations, Without Guessing
For what it’s worth, nothing in this article is really necessarily for general usage of Nix, as the derivation format is mostly abstracted-away, like how the OCI image format is irrelevant to everyday authoring of Dockerfiles.
amarshall··on Nix Derivations, Without Guessing
Git doesn’t really care at all about the content. Nix does. Really they’re not reasonably comparable at all.
amarshall··on Show HN: I built a Rust crate for running unsafe code safely
Linux also has Landlock now.

macOS sandboxing is notoriously under-documented, has sharp edges, and is nowhere near as expressive as Linux sandboxing.

amarshall··on Show HN: iPhone 2005 weird "Blob Keyboard" simulator
> Yes, you had to double tap on complex, non responsive websites

I suppose GP’s point is that the vast majority of websites in 2008 were “desktop”-only.

amarshall··on Nebula Sans
Tabular numerics are great! Of course not all fonts implement them.

If only Apple could figure this out and use it for the iOS clock app.

amarshall··on Microsoft will kill Remote Desktop soon, insists you'll love replacement
I think you mean the Intel® Core™2 Duo.
amarshall··on InitWare, a portable systemd fork running on BSDs and Linux
launchd’s ergonomics as a user are quite terrible, though. `start`? No…`kickstart`? No…`enable`? No…`load`? No…`bootstrap`? Maybe. I honestly don’t know. But either way, now is it the file path, the service name, or the fully-qualified name I need…?
amarshall··on US Administration announces 34% tariffs on China, 20% on EU
Well the U.S. gets screwed too, the admin just doesn’t realize it.
amarshall··on California Attorney General issues consumer alert for 23andMe customers
Genetic testing isn’t the exclusive realm of 23andme, you can get it done through a medical provider as well who doesn’t have such privacy-violating terms.
amarshall··on Landrun: Sandbox any Linux process using Landlock, no root or containers
Some systems or admins may not trust unprivileged namespacing (thus disabling and its use requiring root), while Landlock may be enabled (and is specifically designed to be used by unprivileged processes).
amarshall··on Landrun: Sandbox any Linux process using Landlock, no root or containers
Landlock can be used to sandbox a launched sub process, as it is here, just as the Kernel APIs used by Bubblewrap could (and sometimes are!) used by programs to sandbox themselves.
← PreviousPage 2 of 20Next →