HNHacker News
TopNewBestAskShowJobs

re

2,149 karma · joined November 5, 2010

submissionscomments
re··on CDC File Transfer
> doesn't rsync already use content-defined chunk boundaries, with a condition on the rolling hash to define boundaries?

No, it operates on fixed size blocks over the destination file. However, by using a rolling hash, it can detect those blocks at any offset within the source file to avoid re-transferring them.

https://rsync.samba.org/tech_report/node2.html

re··on When I say “alphabetical order”, I mean “alphabetical order”
> a hexadecimal hash

I agree with you on this point.

> a datetime

AFAICT, natural sort shouldn't ever make datetimes harder to find, unless they are formatted inconsistently, as in the author's case. Suppose one camera wrote dates as 20250928 and another as 2025-09-28. ASCIIbetical sort would do nothing to help here.

Natural sort can even improve things over ASCII sort, for instance if someone is stuck with a format like "28/9/2025" or "September 2 2025"

re··on Farewell friends
Some additional context about the author:

> Jonathan Clements founded HumbleDollar at year-end 2016. Earlier in his career, he spent almost 20 years at The Wall Street Journal, where he was the newspaper's personal finance columnist, and six years at Citigroup, where he was director of financial education for the bank's U.S. wealth management arm. He was also the author of a fistful of personal finance books, including My Money Journey and How to Think About Money.

* https://humbledollar.com/about/jonathan-clements/

* A Money Guru Bet Big on a Very Long Life. Then He Got Cancer. https://www.nytimes.com/2024/07/13/your-money/jonathan-cleme...

* https://www.reddit.com/r/financialindependence/comments/1npe...

* Tributes to Jonathan Clements https://humbledollar.com/2025/09/tributes-to-jonathan-clemen...

* Best of Jonathan’s HumbleDollar Posts https://humbledollar.com/2025/09/best-of-jonathans-humbledol...

* Choosing Happiness https://news.ycombinator.com/item?id=32804468 (3 years ago, 101 comments)

re··on When I say “alphabetical order”, I mean “alphabetical order”
> Otherwise you have a situation where img_1_01.jpg and img_01_1.jpg does not have a complete ordering.

(Good) "natural sort" implementations generally have ways of handling ties like this. It's similar to the problem of case-insensitive sort over case sensitive sets.

re··on WASM 3.0 Completed
I haven't really been following WASM development in the last year and didn't realize that WASM had moved to a versioned release model. I've been aware of the various features in development[1] and had thought many of the newer features were going to remain optional but I guess now that implementations are expected to support all the features to be able to claim compatibility with e.g. "WASM 3.0"?

It'll be interesting to see what the second non-browser-based WASM runtime to fully support 3.0 will be (I'm guessing wasmtime will be first; I'm not counting Deno since it builds on v8). Garbage collection seems like a pretty tricky feature in particular.

Does anyone know how this 3.0 release fits into the previously announced "evergreen" release model?[2]

> With the advent of 2.0, the Working Group is switching to a so-called “evergreen” model for future releases. That means that the Candidate Recommendation will be updated in place when we create new versions of the language, without ever technically moving it to the final Recommendation state. For all intents and purposes, the latest Candidate Recommendation Draft[3] is considered to be the current standard, representing the consensus of the Community Group and Working Group.

[1] https://webassembly.org/features/

[2] https://webassembly.org/news/2025-03-20-wasm-2.0/

[3] https://www.w3.org/TR/wasm-core-2/

re··on RustGPT: A pure-Rust transformer LLM built from scratch
It does handle python version management: https://docs.astral.sh/uv/concepts/python-versions/
re··on iPhone Air
A user whose phone has "all day charge" that has to plug their phone in at 3pm because they used it too much in the morning would be, IMO, more disappointed.

Ultimately "all day"/"36 hours" are marketing labels that are at best rough approximations of reality. Your original argument sounds like "if Apple says that the iPhone Air's 3,149 mAh lasts all day, then a 4,500 mAh battery is useless", but as any heavy phone user can attest, with high usage even a new iPhone battery will need to be charged midday, regardless of what Apple says, and an extra 50% battery capacity can be the difference between regularly needing to charge midday and not.

re··on A love letter to the CSV format (2024)
As soon as you encounter any CSVs where field values may contain double quotes, commas, or newlines, you need tooling to work with CSV as well.

(TSV FTW)

re··on iPhone Air
> Unless you can deliver multi-day battery, it's useless to provide anything more than all day battery

The battery time estimates are based on certain usage patterns, not 100% utilization of power-hungry apps. A battery that can last "36 hours" can offer more real-world usage per day than one that only lasts for 24.

Edit: Looks like the only estimates Apple provides any more are video playback hours, which is much more power-efficient than general app usage and internet browsing.

re··on SQLite's File Format
Counterpoint: "The two versions of Parquet" https://news.ycombinator.com/item?id=44970769 (17 days ago, 50 comments)
re··on Apple A17 Pro Chip Hardware Flaw?
If I own an iPhone 15 Pro, how am I impacted by this? Why does this repo say that a hardware recall may be necessary?
re··on Wikipedia as a Graph
If following the "rule" to ignore parenthesized and italicized links:

Jell-O -> Brand -> Business -> Trade -> Goods and services -> Tangibility -> Perception -> Sense -> Biological system -> Biological network inference -> Inference -> Logical reasoning -> Mind -> Thought -> Cognition -> Mental state -> Mind (Loop!)

re··on Wikipedia as a Graph
> is that actually a category page?

What the parent commenter is referring to is actually called a Navbox (https://en.wikipedia.org/wiki/Wikipedia:Navigation_template). Like @chatmasta, I think it would be interesting to label those types of links distinctly and allow excluding them.

Or perhaps alternatively, exclude the contents of those navigation templates, but allow using them as an additional node: David_Bowie -> Template:Grammy_Lifetime_Achievement_Award -> Enrico_Caruso. (In this case, that is redundant with the main non-template Grammy_Lifetime_Achievement_Award page.)

re··on The Synology End Game
I looked up the ransomware attack out of curiosity: https://www.bitdefender.com/en-us/blog/hotforsecurity/asusto...

It looks like Deadbolt also hit QNAP and Terramaster.

re··on Strange CW Keys
A CW Key is apparently a switch used for transmitting Morse code. Make sure to click through to the individual pages to see them in use, e.g. https://www.youtube.com/watch?v=ghx3r_OFmt4

https://en.wikipedia.org/wiki/The_CW_Operators%27_Club

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

re··on macOS dotfiles should not go in –/Library/Application Support
Command-line binaries are also typically installed at locations hidden from the user (/bin, /opt/homebrew, ~/.bin, ~/.cargo/bin). Further indication that the "app"-oriented Apple documentation is intended only to apply to "apps", which are installed at /Applications or ~/Applications.
re··on macOS dotfiles should not go in –/Library/Application Support
For clarity, is this what you're referring to as "the spec"? https://developer.apple.com/library/archive/documentation/Fi...
re··on macOS dotfiles should not go in –/Library/Application Support
How does the XDG spec not apply to macOS, and what "fix" are you proposing? https://specifications.freedesktop.org/basedir-spec/latest/ https://www.theregister.com/2024/10/11/macos_15_is_unix/

> Probably another environment variable

Having any of the existing XDG_* environment variables set is an incredibly-clear indication that the user wants the XDG spec followed.

re··on macOS dotfiles should not go in –/Library/Application Support
I doubt anyone running Unix-style command-line/TUI tools where the config files are expected to be edited by hand by the user is expecting to find it in the Application Support directory; that directory is not a directory that Apple intends for users to ever interact with directly:

> Put app-created support files in the Library/Application support/ directory. In general, this directory includes files that the app uses to run but that should remain hidden from the user. [emphasis added]

re··on Playing every game of Wordle simultaneously
> the list of 2315 valid secret words

> 2315 was the original number of Wordle secret words. After the New York Times acquired Wordle, it was revised down to only 2309 secret words.

The NYT puzzle is no longer beholden to any specific list for solutions. There's now a larger list (of 3200 words) that Wordlebot thinks are now likely to be solutions based on NYT word frequency data, but some recent solutions (like KEFIR and LORIS) have come from outside even this set. (The NYT did however add those words into the Wordlebot dictionary just before those puzzles went live.)

> 12972 possible 5-letter words

Likewise, the number of legally guessable words has been increased to 14855.

re··on Transcribe music in abc with syntax highlighting
It's not super clear but I don't think it does automatic transcription for you; I think it just provides a text editor with syntax highlighting, and that it syncs the scrolling of the rendered output to (prerecorded) audio playback.
re··on It’s not wrong that "\u{1F926}\u{1F3FC}\u200D\u2642\uFE0F".length == 7 (2019)
What do you mean by "use codepoints for ... database indexes"? I feel like you are drawing conclusions that the essay does not propose or support. (It doesn't say that you should use codepoints for length limits.)

> If the standard is continuously updated and they feel they can just make arbitrary changes to how grapheme clusters work at any time, how is any software that's not "evergreen" (I.e. forces users onto the latest version and pretends older versions don't exist) supposed to deal with that?

Why would software need to have a permanent, durable mapping between a string and the number of grapheme clusters that it contains?

re··on Dicing an Onion, the Mathematically Optimal Way
Looks like the font predates this article:

https://handmadefont.com/shop/oniotype-font/

https://kottke.org/25/08/the-red-onion-font

re··on Dicing an Onion, the Mathematically Optimal Way
> It turns out that making horizontal cuts almost never helps with consistency.

They made the horizontal cuts evenly spaced between the cutting surface and the top of the onion, which is nonsensical to me. I believe that a single horizontal cut at around 15-20% height would be better for uniformity than a horizontal cut at 50% height.

re··on FFmpeg 8.0 adds Whisper support
I've heard that, but that doesn't sound like a useful approach for videos where (1) non-speech segments can have plenty of other sound (music, noise) and (2) you want timestamps to match up with the original video, like for subtitles. But maybe there are known mitigations for both of those issues that I'm not aware of. And if they do exist maybe they can be included in the ffmpeg whisper integration.
re··on FFmpeg 8.0 adds Whisper support
I've been playing with whisper to try to do local transcription of long videos, but one issue I've found is that long (>15 seconds) spans without any speech tend to send it into a hallucination loops that it often can't recover from. I wonder if, with direct integration into ffmpeg, they will be able to configure it in a way that can improve that situation.
re··on You're Wrong About Dates – and Your Code Is Lying to You
> Every date library you’ve ever used is lying to you.

I feel like you haven't used most date libraries.

https://docs.oracle.com/javase/8/docs/api/java/time/YearMont... / https://docs.python.org/3/library/datetime.html#date-objects / https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

re··on Pricing Pages – A Curated Gallery of Pricing Page Designs
The "style" tags/filters don't seem to be very good. The definitions of them aren't very clear from the names alone, and I can't really tell what they are from the examples within the category. Would be great to have a definition and a basic wireframe example of each style.

I'd also love to be able to filter out a style, to drill down to the examples that aren't just the multi-tier ("free/basic/pro/enterprise") vertical cards (which doesn't seem to have a dedicated style tag—maybe "Stacked Cards"? but there's a lot that look like that that don't have that tag).

re··on Happy BuyNothing Day
> The dopamine-free shopping experience.

This doesn't seem like an accurate description, since it's designed to trigger the same dopamine release as shopping, just without the real-world consequences.

I'm confused by the NoBucks Rewards ("Need $xx.xx more NoBucks; Complete anti-consumption tasks to earn more"; <https://justbuynothing.com/rewards>). Obviously no real products are getting shipped. I'm not going to make an account on this site but can NoBucks actually be earned? What happens when you've earned enough to actually "checkout"?

re··on Happy BuyNothing Day
Unless it's changed in the few hours since you've commented, there already are detail pages and reviews. You have to scroll down below "Limited Time Offers" to the complete category list/gallery, and those products are clickable. e.g. https://justbuynothing.com/product/6086
← PreviousPage 2 of 15Next →