MurphyA/hacker-news huggingface dataset:
by jared_hulbert | 2025-09-04 23:49:18+00:00
Oh man... I'd have look into that. Off the top of my head I don't know how you'd make that happen. Way back when I'd have said no. Now with all the folio updates to the Linux kernel memory handling I'm not sure. I think you'd have to take care to make sure the data gets into to page cache as huge pages. If not then when you tried to madvise() or whatever the buffer to use huge pages it would likely just ignore you. In theory it could aggregate the small pages into huge pages but that would be more latency bound work and it's not clear how that impacts the page cache.

But the arm64 systems with 16K or 64K native pages would have fewer faults.
by Nevermark | 2025-09-04 23:50:02+00:00
Source of these ideas: Economist Henry George.[0]

When land is taxed, but the property on it is not, and rates are normalized to maintain neutral tax flow due to the change:

1. Someone who owns land with little productive development, will see a large tax increase.

2. Someone who owns the adjacent same-sized plot, with higher value development, will pay the same tax, instead of a prior much greater tax.

So development isn't taxed, making development more attractive, as it will have a higher return.

Much greater incentive to usefully develop land. Much greater disincentives to holding relatively less usefully developed land.

Also good alignment:

(1) a land tax, taxes the exclusionary asset, paying a tax on essentially rents the land from the community. Which makes sense.

(2) Not paying a tax on development, removes a wealth tax on any land owner from any financial scale.

(3) That wealth tax on wealth disincentivize development, relative to other investments.

(4) The lower property taxes on less developed land, that we have now, means that high value property wealth tax, is subsiding the returns of Lower development land owners.

(5) And that imbalance accounts for lands use as a financial instrument, instead of land + use, as the investment. Holding land prices up, while subsidizing non-development holding.

The elimination of most land-price driven investment, would reduce a massive amount of artificial demand, resulting in more supply and lower prices, for those who wanted to make returns by further developing the land.

Land's use as "gold" is incredibly wasteful.

[0] https://en.wikipedia.org/wiki/Henry_George
by amarant | 2025-09-04 23:50:32+00:00
Yeah I think you're right! And it's not just the visual stimulus either! She'd walk through pretty much the entire village, including a few homes that smack in the middle of nowhere. And she'd say hello to everyone she passed! Once in a while she'd stop and have chat...

After the dog died she only talked to people if they came into her home.

I think the social aspect of her walks was very important for her health too. Like you say, it's all about exercising that noggin',as well as the body!
by dtedesco1 | 2025-09-04 23:51:04+00:00
This makes sense for one-way posting, but there are two issues for my main use case (personal and small company websites):

1. I want to edit the pages sometimes, and I want to do so using markdown without extra steps.

2. I still want to use React components *sometimes*.

3. I want it to be really easy to deploy and monitor. Nextjs is really easy for those things.

Solving the first issue and third issues don’t require React, but the second definitely does. So I’m still stuck.
by dijit | 2025-09-04 23:51:04+00:00
I wish I had a way of just bulk buying everything thats “in my library” on Apple Music.

I know its not Spotify, so maybe not related, but I have a much better experience with PlexAmp and would love to be able to buy my way out. Even if its €1,500 or something.

It should be noted that I actively fought against Apple Music as a subscription service, but buying music became (very rapidly) a third tier experience once they started pushing in that direction.
by stevage | 2025-09-04 23:51:36+00:00
I tried to figure out how much data you can send exactly. It's not very clear from the spec:

> If the amount of data that can be queued to be sent by keepalive enabled requests is exceeded by the size of transmittedData (as defined in HTTP-network-or-cache fetch), set the return value to false and terminate these steps.

Does anyone know?
by ACCount37 | 2025-09-04 23:52:08+00:00
If you want to decay and rot and die a miserable death, that's your choice. If your genuine preference is that all of your friends and family and your own children should decay and rot and die a miserable death too, then that's your opinion and you can hold onto it.

But don't you dare force that outcome onto everyone.

In my eyes, "decay and rot and the inevitability of a miserable death is a good thing actually" is a fucking insane viewpoint to hold. The only possible reason I see to hold onto it is that it's the socially accepted cope. If you truly believe that nothing can be done about aging, then "death is good acktually" makes for a good coping mechanism.

I'd rather humans cope less and problem-solve more.
by vkou | 2025-09-04 23:52:19+00:00
You're rewriting history.

The actual timeline was that Kennedy blockades Cuba, Soviet vessels turn around rather than start a shooting war, Khruschev makes a secret proposal to de-escalate, Kennedy agrees to it, both side declare victory, Soviet bombers are removed from Cuba, the blockade is lifted, the US removes missiles from Turkey.

That you see all this, and your takeaway is that "Kennedy blinked first because unlike Ivan, he isn't a power-hungry monster" belies an unnuanced, zero-sum, exceptionalist view of the world.

As for Israel and Ukraine, I think all that demonstrated was that the US cared more about kowtowing to Israel, than it did about having a proxy war with Russia. Weirdly enough, though, to this day, weapons and cash (that is immediately spent on weapons) continue to pour into Ukraine. Someone should probably notify Canada and the EU about that new Russian red line, they clearly haven't gotten the memo.
by stevage | 2025-09-04 23:52:32+00:00
>Sending a ping on leaving the page is a pretty contrived example

I don't think it's a contrived example. It seems to be one of the main use cases. From the spec:

> The main use case for the Beacon API is to send analytics such as client-side events or session data to the server. Historically, websites have used XMLHttpRequest for this, but browsers do not guarantee to send these asynchronous requests in some circumstances (for example, if the page is about to be unloaded). To combat this, websites have resorted to various techniques, such as making the request synchronous, that have a bad effect on responsiveness. Because beacon requests are both asynchronous and guaranteed to be sent, they combine good performance characteristics and reliability.
by StanislavPetrov | 2025-09-04 23:53:29+00:00
Whenever the issue of cars come up the gaping divide between Europeans and Americans rears its ugly head. It's like someone living at the equator telling the Alaska resident that though they own a winter hat, they rarely feel the need to use it. In many areas of Europe it is not only possible, but convenient to get around without a car. In the overwhelming majority of the United States it's impossible or inconvenient with only a couple of cities (like NYC) where it's even feasible. In fact, a growing number of eateries and coffee places in the USA are solely accessible via the drive through. They don't accept walk in customers at all and have no dining area.
by bigstrat2003 | 2025-09-04 23:53:32+00:00
If you're always listening to new music, that makes sense. But are you really? Or are you listening to the stuff you already know and like, with an occasional sprinkling of new music? My impression is that most people are more in the latter group than the former, and at that point you need to consider whether you come out ahead if you buy music rather than renting it. I know that I personally would waste a ton of money paying for Spotify, because I'm 99.99% listening to the music I already know and like.
by CGamesPlay | 2025-09-04 23:53:42+00:00
@justinmk, thanks for all your work and leadership on neovim. I'm not excited about this feature, but in general I am excited about the changes I've seen in the project. Making a text editor is definitely not my life's ambition, but I'm glad you're taking up the challenge.

...

I don't really agree that "New users must look for a plugin manager and figure out how to install it". The only users who need to do that are the ones who have already found a plugin that they want to install, and which also doesn't provide installation instructions of its own. I don't agree that "Lack of a declarative way to specify plugins" is a valid problem, since this problem is actually introduced by bundling a plugin manager.

And this justification for creating the feature completely ignores the several high-quality existing, unbundled implementations of plugin managers. The installation of Lazy.nvim is entirely within your nvim init files, demonstrating that 3rd-party plugin managers can have simple installation instructions.

The bundled package manager also makes some trade-offs that 3rd-party ones don't have to make (e.g. support for non-git plugins). This is addressable, like the lack of lockfiles, automatic dependency management, and re-implementing every other feature that existing plugins already provide. That's why this is bloat. This task is better-served outside of the core project.
by MontyCarloHall | 2025-09-04 23:53:49+00:00
This is very true, which is why consistency is so key. I think the reason so many people perceive their health falling off in their 40s is that this is when the cumulative weight of increasing life responsibilities (kids, career advancement, caring for elder relatives, etc.) really hits hard, making it more and more difficult to find time/energy for regular exercise.
by colechristensen | 2025-09-04 23:53:53+00:00
The reason electricity is cheap at night is that non-variable sources have fixed cost and the capacity is going wasted when unused. Solar having the daily peak is going to invert this so nighttime electricity is going to get considerably more expensive. Solar maximum is going to be the cheapest electricity of the day.

There are a few residential utilities in Australia which give users free electricity for 3 hours a day to encourage users to divert their usage to that period.

Widespread solar deployment significantly changes the electricity market. Further deployment is going to push fossil plants to charge higher rates when they're needed to the point where supply outstrips demand and it becomes cheaper to shut down a plant which will further increase overnight prices.
by pcfwik | 2025-09-04 23:53:54+00:00
To add another suggestion for understanding the Fourier transform, personally the first explanation that ever clicked with me was the Aho/Hopcroft/Ullman algorithms textbook.

Rather than talking about sine and cosine waves, they motivate the Fourier transform entirely in terms of polynomials. Imagine you want to multiply two polynomials (p(x) and q(x)). The key is to recognize that there are two ways to represent each polynomial:

1. "Coefficient form," as a set of coefficients [p_0, p_1, p_2, ..., p_d] where p(x) = p_0 + p_1x + p_2x^2 + ... + p_dx^d, OR

2. "Sample form," as a set of sampled points from each polynomial, like [(0, p(0)), (1, p(1)), (2, p(2)), ..., (d, p(d))]

Now, naive multiplication of p(x) and q(x) in coefficient form takes O(d^2) scalar multiplications to get the coefficients of p(x)q(x). But if you have p(x) and q(x) in sample form, it's clear that the sample form of p(x)q(x) is just [(0, p(0)q(0)), (1, p(1)q(1)), ...], which requires only O(d) multiplications!

As long as you have enough sample points relative to the degree, these two representations are equivalent (two points uniquely defines a line, three a quadratic, four a cubic, etc.). The (inverse) Fourier transform is just a function that witnesses this equivalence, i.e., maps from representation (1) to representation (2) (and vice-versa). If the sample points are chosen cleverly (not just 1/2/3/...) it actually becomes possible to compute the Fourier transform in O(d log d) time with a DP-style algorithm (the FFT).

So, long story short, if you want to multiply p(x) and q(x), it's best to first convert them to "sample" form (O(d log d) time using the FFT), then multiply the sample forms pointwise to get the sample form of p(x)q(x) (O(d) time), and then finally convert them back to the "coefficient" form (O(d log d) using the inverse FFT).
by noduerme | 2025-09-04 23:54:25+00:00
I recently switched to Jellyfin when Plex started charging for remotely accessing my home server.

For anyone considering it, I found Tailscale + Jellyfin work a charm. There aren't great docs for doing so, and I beat my head against it for a little bit, but all you need to do really is to add both your local IP range and the Tailscale IP range to the allowed ranges for Jellyfin.

With that, any device on your tailnet can access it. I went further and set up a cloud VM with a public web address behind an auth, installed Tailscale on the VM, and set it up to reverse proxy port 443 to the Jellyfin tailscaleIP:port on my tailnet. So now I can get to it through any web browser or Jellyfin app on devices that aren't on my tailnet.

I'm extremely happy with the results, and the nice thing is that unlike Plex this setup is never subject to forced changes in the future.
by sunrunner | 2025-09-04 23:54:36+00:00
I'm always glad to see people move away from Spotify's model and towards options that better support artists directly, and I definitely don't mean this to take anything away from the article despite how it sounds, but just seeing the system diagram reminds me that it's amazing the lengths that systems-minded people will go to to create their own Rube Goldberg-esque systems to 'optimise' the experience.

I counted thirteen separate components. If it works for the author then more power to them, but I personally want to spend less time futzing with technology when it comes to this kind of thing and more time actually just actively listening to new music.

I buy from Bandcamp or Apple, sync locally, and I'm done. Bandcamp's iOS app is better than Apple's Music at this point (though not a hard bar to reach). And I find new music organically from listener-supported streaming public radio.

I haven't mentioned analysis or recommendations, but honestly I so rarely seem to find anything through the typical algorithms and recommendation-type mechanisms that I genuinely like, and stumbling across something new just from having public radio on in the background still feels magical, organic, and overall such a good way to broaden your musical horizons.

Still, a good starting point for people wanting their own similar setup.
by jimt1234 | 2025-09-04 23:54:37+00:00
> They didn't challenge themselves in high school or college from an academic standpoint...

A slightly different perspective: they weren't challenged academically, primarily because they excelled at footballs/sports. I had a friend in high school (back in the 80s) that was, coincidentally, also a star running back, broke rushing records, played for a good college, all that. However, he never made it to the NFL. He coasted through high school because everyone wanted him on the field and didn't care at all about his education. College was even worse. He told me for most semesters he didn't even know what his classes were; he was there only to play football, and that was made very clear to him from the start.

It's easy to point the finger, like, "You should've challenged yourself in high school!", and that's true. But for a lot of these kids, "the system" either simply looks the other way or actively discourages them from education.

Fortunately for my friend he landed a job in the football program at a small, private college, where he also was able to actually attend classes and eventually get a degree. I think he's retired now, though.
by parliament32 | 2025-09-04 23:55:13+00:00
> Those are two different things. Recording artist does not always equal songwriter. So how much should the songwriter make? The recording studio? The audio engineer? All the other people involved in creating the recorded song? Now that it's made, how do you get people to know the song exists and want to listen to it, much less purchase it?

Why are any of these the distribution medium's (or better, listener's) problem? The songwriter, recording studio, audio engineer, marketing firm, etc should be paid for their services at their standard rates at the time the service is performed. The artist is the one who should accept this risk. Just like.. basically everything else in the world. The plumber who installed an office sink is not entitled to some fraction of the occupying organization's revenue, right?

> But that is so much work that they would need to already have an income stream to give them the time to do it all

Which is why labels exist. They take the risk on, and pre-pay for (everything), in exchange for the lion's share of potential revenue. Artists are, of course, welcome to stay unsigned and handle all the risk and rewards themselves, but that typically isn't a good value prop.

IMO everything here is working as designed, including Spotify. The author just doesn't understand that "artists getting paid fractions of pennies per stream" is exactly what should happen.
by nl | 2025-09-04 23:55:19+00:00
It depends on the stablecoin mechanism.

Algorithmic stablecoins[1] don't have a one-for-one backing in real world assets so can in theory create new coins "from thin air". The amount they can do this depends on the exact algorithm and the backing assets, and the practicalities of unstable crypto pricing make this difficult in practice.

For example the well-known DAI stablecoin[2] is backed by a mix of crypto assets, but is overcollateralized to avoid problems when one of the backing assets drops in value. The is sort of the opposite of "creating money out of thin air"...

Non-algorithmic stablecoins can do it by being backed by "high quality loan assets", in which case the conventional, non-crypto credit creation mechanism applies.

[1] https://www.kraken.com/learn/algorithmic-stablecoins

[2] https://en.wikipedia.org/wiki/Dai_(cryptocurrency)
by recursive | 2025-09-04 23:55:25+00:00
Affordable housing seems in direct conflict to the interests of those using their home as an investment or store of value, strategically or not.

As a home owner, I think the best move for the country as a whole probably doesn't align with the financial interests of the current home-owning class.

The idea of a home as investment seems to inevitably cause this kind of conflict.
by Anon1096 | 2025-09-04 23:55:57+00:00
There are teams for maintaining massive services where you can build promo packets with a couple <1% cost reduction PRs. I've worked on a non Amazon but similar team where half our M2's org charter was explicitly cost reduction with KPIs of x dollars saved (measured using CPU/memory/etc that we had formulas to convert to infra dollar equivalents).
by anyfoo | 2025-09-04 23:56:04+00:00
> Sometime in graduate school I started paying more attention to the Xerox PARC legacy of the Mac, and I started realizing that perhaps Unix was not the pinnacle of operating systems design.

For me, that watershed moment came when I looked at IBM's AS/400, known today as "IBM i". Despite having used computers since the 80s, and Unix/Linux since about the mid-90s, only much later AS/400 made me realize how extremely unixoid almost every OS I know is (well, every OS I knew after the 8 bit micro era or so). Just like you, it also made me realize how UNIX maybe isn't the answer to all, and that it's maybe not such a good thing that we've pretty much settled on it.

I've heard that apparently MULTICS, one of UNIX's major influences, gives people a similar impression when they revisit it nowadays, and realize how advanced it was. I personally have not looked into it yet.

(The other OS that expanded my horizon on how different OSes can be from what I know is MVS on IBM mainframes, but unlike AS/400, not really on a necessarily good way.)
by nchmy | 2025-09-04 23:56:46+00:00
I just saw this post so am starting with Part 1. Could you replace the charts with ones on some sort of log scale? It makes it look like nothing happened til 2010, but I'd wager its just an optical illusion...

And, even better, put all the lines on the same chart, or at least with the same y axis scale (perhaps make them all relative to their base on the left), so that we can the relative rate of growth?
by AppleBananaPie | 2025-09-04 23:57:10+00:00
I'm surprised the answer of doing all exercises (including essay writing) in class is apparently not obvious.

High school me was a moron and should not be trusted to do the real work and people who know better should force him to practice the skills lol

Once he's grown and has a job he will one day realize and be thankful for the teachers that forced him to do the work.

Obviously not true for all students but I don't think it harms anyone inverting it but please point out if I'm wrong!
by 0xDEAFBEAD | 2025-09-04 23:57:29+00:00
Pretty sure I read somewhere that many people prefer Waymo over Uber because there's no driver, which kinda contradicts these findings.

How about HN users? Do you typically enjoy chatting with an Uber driver?

If this "30 minutes with a stranger" experiment was performed during the pandemic, it could be that people were short on human connection at the time, and that explains why they valued it so much.
by laszlokorte | 2025-09-04 23:57:33+00:00
I am glad you like it!

Yes the simplest way to think of it is to exponentiate the dft matrix to an exponent between 0 and 1 (1 being the classic dft). But then the runtime complexity is O(n^2) (vector multiplied with precomputed matrix) or O(n^3) opposed to the O(n log n) of fast fourier transform. There are tricks to do a fast fractional fourier transform by multiplying and convolving with a chirp signal. My implementation is in rust [1] compiled to web assembly, but it is based on the matlab of [2] who gladly answered all my mails asking many questions despite already being retired.

[1]: https://github.com/laszlokorte/svelte-rust-fft/tree/master/s...

[2]: https://nalag.cs.kuleuven.be/research/software/FRFT/
by brentm | 2025-09-04 23:57:39+00:00
I managed a few artists in the past. Usually Spotify paid something like $0.0035 per stream but it ranges based on where the listen took place. One artist owned part of their catalog so earned the 100% on those streams. The rest of their catalog was owned by a major label where they were credited 15% of the streaming take (which was slightly higher than the direct rate) towards their unrecouped major label account.

I'd say overall though, streaming can be good for artists. It helps keep them fresh in fans ears (via auto-generated & editorial playlists) and provides a revenue stream for the older stuff that would never be selling in stores or iTunes now.