MurphyA/hacker-news huggingface dataset:
by jandrewrogers | 2025-10-19 20:55:30+00:00
O_DIRECT isn't about bypassing the kernel for the sake of reducing overhead. The gains would be small if that was the only reason.

O_DIRECT is used to disable cache replacement algorithms entirely in contexts where their NP-hardness becomes unavoidably pathological. You can't fix "fundamentally broken algorithm" with more knobs.

The canonical solution for workloads that break cache replacement is to dynamically rewrite the workload execution schedule in realtime at a very granular level. A prerequisite for this when storage is involved is to have perfect visibility and control over what is in memory, what is on disk, and any inflight I/O operations. The execution sequencing and I/O schedule are intertwined to the point of being essentially the same bit of code. For things like database systems this provides qualitative integer factor throughput improvements for many workloads, so very much worth the effort.

Without O_DIRECT, Linux will demonstrably destroy the performance of the carefully orchestrated schedule by obliviously running it through cache replacement algorithms in an attempt to be helpful. More practically, O_DIRECT also gives you fast, efficient visibility over the state of all storage the process is working with, which you need regardless.

Even if Linux handed strict explicit control of the page cache to the database process it doesn't solve the problem. Rewriting the execution schedule requires running algorithms across the internal page cache metadata. In modern systems this may be done 100 million times per second in userspace. You aren't gatekeeping analysis of that metadata with a syscall. The way Linux organizes and manages this metadata couldn't support that operation rate regardless.

Linux still needs to work well for processes that are well-served by normal cache replacement algorithms. O_DIRECT is perfectly adequate for disabling cache replacement algorithms in contexts where no one should be using cache replacement algorithms.
by throw4847285 | 2025-10-19 20:56:18+00:00
Finally, 1970s British science fiction comics have become reality. I am eagerly looking forward to moving into my new apartment on the 578th floor of Sabrina Carpenter Block. There, the extremely high unemployment rates will slowly drive me futsie, and I will become involved in some kind of futuristic street gang. Eventually, I will be shot with an exploding bullet by a masked police officer. The future is now!
by patcon | 2025-10-19 20:57:04+00:00
Maybe of interest, re: neuromorphic computing that's perhaps more aligned with biological efficiency.

https://github.com/yfguo91/Ternary-Spike

Ternary Spike: Learning Ternary Spikes for Spiking Neural Networks

> The Spiking Neural Network (SNN), as one of the biologically inspired neural network infrastructures, has drawn increas- ing attention recently. It adopts binary spike activations to transmit information, thus the multiplications of activations and weights can be substituted by additions, which brings high energy efficiency. However, in the paper, we theoret- ically and experimentally prove that the binary spike acti- vation map cannot carry enough information, thus causing information loss and resulting in accuracy decreasing. To handle the problem, we propose a ternary spike neuron to transmit information. The ternary spike neuron can also enjoy the event-driven and multiplication-free operation advantages of the binary spike neuron but will boost the information ca- pacity. Furthermore, we also embed a trainable factor in the ternary spike neuron to learn the suitable spike amplitude, thus our SNN will adopt different spike amplitudes along layers, which can better suit the phenomenon that the membrane po- tential distributions are different along layers. To retain the efficiency of the vanilla ternary spike, the trainable ternary spike SNN will be converted to a standard one again via a re- parameterization technique in the inference. Extensive experi- ments with several popular network structures over static and dynamic datasets show that the ternary spike can consistently outperform state-of-the-art methods.
Show HN: Simple Static Site Generator Built with Vite and Vento
by riipandi | 2025-10-19 20:57:13+00:00
Spent the weekend building the SSG I wish existed.

Vitto: Vite-powered, simple templates, instant HMR, built-in search. Why? Next.js is a memory hog for static sites. Astro has too many moving parts. I just wanted something that works fast and stays out of my way.

Building websites shouldn't be complicated.
by ChrisMarshallNY | 2025-10-19 20:57:14+00:00
The thing that is difficult to "math," is that we perceive color in a certain way (if you ever look at the CIELAB[0] space, that's based on human eye perception). So there's a lot of "it just don't look right." involved.

I have found that getting weighted LUTs that have been extracted from some process (math, context measurements, user testing, etc.), and simply applying them in the conversion is how you execute the conversion, but generating the LUTs is the tricky part. It's not always best handled by a formula. I guess you could really go crazy, and generate the LUT on the fly, as a per-pixel conversion (we actually did something like this, for RAW conversion).

[0] https://en.wikipedia.org/wiki/CIELAB_color_space
by Retric | 2025-10-19 20:57:28+00:00
There was a contract between the auction house and the artist.

However that’s not strictly required: “Wrongful interference in a business relationship occurs when there is no contract. The defendant attempts to disrupt the relationship, causing economic harm. If the defendant defames the business owner’s product, resulting in loss of business, that is tortious interference in the business.”

https://www.findlaw.com/smallbusiness/liability-and-insuranc...
by zekrioca | 2025-10-19 20:58:08+00:00
Yes, but these differences don’t really matter. There are multiple techniques that system engineers can use to perform both variable selection and regularization (to help with differences across multiple architectures) to help them select counters that matter for their specific use cases.

But then saying “it is too much to ask” is just another way to limit what user can do with the specific resources they paid for.
by apatheticonion | 2025-10-19 20:58:44+00:00
I say this with love for Linux. Controversially, I don't think there is a file manager available on any platform as good as Windows file explorer. MacOS finder is an actual joke. Gnome's files is a less feature-rich finder and Dolphin comes close but still lags behind Windows explorer IMO.

I'd love to see a shameless rip of of Windows explorer for Linux
by InsideOutSanta | 2025-10-19 20:58:50+00:00
High-res high-refresh-rate OLEDs with modern shaders are getting close. Now somebody needs to make one that has a convex shape like an old CRT.

I wish we'd reach a point where modern technology allows us to make new CRTs relatively easily. I don't even necessarily care about the image quality, the screens and TVs I used in my youth were never particularly good. But it doesn't seem that this will become feasible in the next few decades.
by chenjq | 2025-10-19 21:00:45+00:00
Thanks for the enthusiasm! You can definitely advertise a /32 or /24 prefix on a given router, and configure the routing separately. (you just need to turn on `nonetconfigure`)

Currently, there is no special handling for the default route, meaning that if you were to advertise 0.0.0.0/0, there might be a loop. Personally, I never tried it, but I don't think it would work. Do you know of a workaround?

When I get some time, I will try to improve docs a little bit, maybe add a setup script, and docker image like you suggested :)
by keyringlight | 2025-10-19 21:00:57+00:00
There's been a little bit of a trend with windows that things they start experimenting with towards the end of the life of version N become a focus for version N+1. In the case of windows 11, they had been trying to get onto the dual-display portables wave with a "Windows 10X", but cancelled it and brought much of the UI over to 11 to a mild reception. I'd be really surprised if they don't try and leverage AI as much as they can with the next full version (and whatever fun name they give it).

More to the point, I'd agree I'd love it if they had a widely available basic version and a separate version where they can chase the latest shiny object, but I can't see them being motivated to do that in the foreseeable future.
by vacuity | 2025-10-19 21:01:14+00:00
Sounds interesting; I would like to see more OSes built out of passion. Just curious about design choices (I don't mean to come off as aggressive below):

> from basing off of Plan 9 to building a new exokernel in a language like Rust

This seems like a big change. Won't the driver support and infrastructure be even more of a hassle? And why an exokernel in particular?

> using a single-address space design similar to Opal

Why?

I like the emphasis on composability and user control. I think, more and more, people are realizing the necessity to seek out OS designs different than the mainstream offerings'. Can't let Linux be the final stage of OS evolution!
Ask HN: Those who applied to the OpenAI Grove program, did you ever hear back?
by heywoods | 2025-10-19 21:01:34+00:00
Link to the Grove program: https://openai.com/index/openai-grove/ HN discussion when it was announced: https://news.ycombinator.com/item?id=45223660

I applied. I never had high hopes of getting accepted, but never receiving confirmation of my application submission nor an email notifying me I wasn’t accepted came across as inconsiderate and unprofessional. I’m disappointed but not entirely surprised given the program felt both ambiguous (about what they were looking for) and very wide net being cast (“founders at the very earliest stages—whether you’re pre-idea, just starting out, or preparing to launch a company”).
by tehnub | 2025-10-19 21:02:02+00:00
Richard Hamming in his "You and Your Research" talk compares it to compound interest:

What Bode was saying was this: ``Knowledge and productivity are like compound interest.'' Given two people of approximately the same ability and one person who works ten percent more than the other, the latter will more than twice outproduce the former. The more you know, the more you learn; the more you learn, the more you can do; the more you can do, the more the opportunity - it is very much like compound interest. I don't want to give you a rate, but it is a very high rate. Given two people with exactly the same ability, the one person who manages day in and day out to get in one more hour of thinking will be tremendously more productive over a lifetime. I took Bode's remark to heart; I spent a good deal more of my time for some years trying to work a bit harder and I found, in fact, I could get more work done. I don't like to say it in front of my wife, but I did sort of neglect her sometimes; I needed to study. You have to neglect things if you intend to get what you want done. There's no question about this.

https://www.cs.virginia.edu/~robins/YouAndYourResearch.html
by owlstuffing | 2025-10-19 21:02:06+00:00
That is a pretty fair assessment, and I'll avoid the nominal v. structural subject, but in my experience the difference between static and dynamic typing comes down to metaprogramming. For instance, much of Python's success stems from its dynamic metaprogramming capabilities. By contrast Java's limitations wrt metaprogramming prevent it from competing in areas such as ML and data science / analytics.

One of the most untapped and misunderstood areas in language design is static metaprogramming. Perhaps this is what you meant by "inadequate compilers", but there is no reason why Java can't provide compile-time metaprogramming. With a comprehensive implementation it can compete directly with dynamic metaprogramming, with the benefits of static analysis etc., which is a game changer.
by the_duke | 2025-10-19 21:02:46+00:00
For a potential pilot (username), you are jumping to odd conclusions here...

* This looks relatively convincing.

https://avherald.com/h?article=52e80701

https://x.com/oeingoboeing/status/1979588783982133360

* They obviously would have cleaned up the wounds... this can be a few hours old , surface wounds build crusts quickly
by arjie | 2025-10-19 21:03:07+00:00
Oh this is marvelous. I'm going to send you an email at the one in your profile, though I won't be upset if you share here. I suppose there's some Barnum Effect risk with this stuff (and of course singular variants don't immediately mean everything as our GCs have pointed out before), so I'll just answer everything as I can here and maybe you and others will find it interesting.

Licorice - no I don't like it

Lower body weight - until 3 years ago, now 84.5 kg / 183 cm

Anxiety - haha, I suppose that's true

Acne - yes

Dizziness upon standing - yes

Salt cravings - yes

Difficulty with sleep / Insomnia - used to be the case, solved in the last few years, strongest in teenage

Pots/Aldosteronism - not that I know of, just tested and sitting 60 bpm, stand up highest is 77 bpm with a continuous monitor on

Vit D - funny, blood tests which I took for the first time two years ago showed 12 ng / mL (low)

Mg - didn't test, but supplements did not change anything when I tried them in isolation so can't be too bad

Spinach - yes

TMJ - no issue here

Myopia - yes with astigmatism (-4.75 spherical -2.5 cylindrical)

Sour gummy candy - not much of a fan

Caffeine/Melatonin - Yes. Caffeine I always get half-caf. Melatonin I take 200-300 ug when I use it.

Acetaminophen - Can't tell, I suppose

Handedness - Right hand dominant, no ambidextrousness

Geeky - Described as so

Synesthesia - probably not, if weak very weak. I used to think I did, but I think that's because when I learned about it as a kid I really wanted to.

Strategy Board Game - you betcha

Hair Loss - Male Pattern Baldness in teenage years haha!

Alzheimer's - how interesting, I am curious

Smoking - Oops, smoked two years in college. Quit hard.

ADHD - I can't imagine this could be likely, but I suppose I had the excitability, impulsiveness, and talking over people things, but it hasn't really caused any real lasting trouble in my life so I can't label it a disorder really. I have previously received a prescription for this condition as an adult, but I did not take the medication for any appreciable amount of time.

Salt - this is very entertaining to my wife, because yes I do often add salt post-cooking to my portion of the meal and frequently complain about undersalting

Sweet Tooth - Yes (heavily dominating my behaviour), however, blood sugar is normal any time I check it 90 - 100 mg / dL . I could wear a continuous monitor and see what it says.

Now, for the intelligence thing. The various Jonathan-Anomaly-related companies these days are definitely trying to move the Overton window on this front. Herasight is the most well known, but I know of a few that are coming up as well. Of course, I'd like to believe this is true, but I suppose the one massive caveat is that (if you run me through peddy, you'll see) I'm South Asian and I know that South Asians have poor presence in most mainstream genomic datasets - a problem I am hoping to either fix or see fixed in my lifetime.

Your standard disclaimer acknowledged.
by quickthrowman | 2025-10-19 21:03:19+00:00
This reply is amazing, thank you! This gives me a much better understanding of the work done by a chilled water pump in a closed loop vs a refrigerant pump with an expansion valve in the loop and in which situations the affinity laws apply to.

I’m just a dumb electrical PM who knows enough to be dangerous, and I only know how things like heat exchangers, pumps, and fans work on a very basic level so this is illuminating.
by EbEsacAig | 2025-10-19 21:03:32+00:00
> running is my go-to, but also woodworking or yard work

These are excellent. (Not that I'm an authority, of course.)

Additionally, the photo visualization that aantix conveys has a meditation format (I know of it from therapy) where you meet your child self during meditation, and comfort, console, and protect him/her.

Kelly McGonigal has a series (possibly in multiple editions?) on compassion, including self-compassion. The first instance I've encountered on LinkedIn Learning:

https://www.linkedin.com/learning/the-science-of-compassion-...

Searching the web for it now, this one seems related:

https://kellymcgonigal.com/cct

Note especially Tonglen (week 7). In my own uneducated imagery, I describe it as follows: during meditation, you breath in the suffering of others with your heart, and breath out love and compassion, which I imagine as a golden light. It's brilliant, especially if you do it towards someone that you resent because they have wronged you.

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

FWIW, exercise has proved more accessible (?) to me than meditation. I've managed to turn exercise into a habit; I reach for meditation exceptionally.
by throaway1988 | 2025-10-19 21:03:48+00:00
This is the difference between being attracted to prepubescents, and being attracted to minors who have undergone puberty:

Prepubescents do not have the physical sexual maturity that human beings should be attracted to. By definition. Being attracted to them shows a profound disturbance in normal brain function.

Being attracted to a 16 or 17 year old shows much, much less deviation from normal human sexual behaviour. Again, by definition. Going through puberty = becoming sexually mature. Now, notice how i said “being attracted to” not “hanging around the local school trying to pick up minors.” It’s illegal for a reason. Kids need to be protected from much older adults who know how to exploit and abuse them.
by geysersam | 2025-10-19 21:04:08+00:00
Paying an entity for building a useless empty building, so that they can build another useless empty building... All as a kind of wealth insurance scheme for a rich person who has reason to think their assets might not be safe in their home country (because they were obtained in corrupt or illegal ways?).

> Why would you want to eliminate this?

Because I believe we can do better than living off the scraps of the obscenely wealthy.
by chihuahua | 2025-10-19 21:04:39+00:00
That's certainly true; Wi-Fi is a useful and almost indispensable product. I just don't think it's a revolution in which the virtuous consumers wrest control from the evil overloads of Big Spectrum.

I was using computers before Wi-Fi and eventually bought a Wi-Fi router for use at home, so it's not that I've never experienced world without Wi-Fi.
by FridayoLeary | 2025-10-19 21:04:53+00:00
Universities are increasingly broken. Look up some of the threads here discussing that. Their self indulgent excesses have gotten worse in recent years. Conservative thought in particular is increasingly rare, so it makes sense that a very conservative administration would be asking questions about what they are paying for, and it is they who are paying in the form of taxes. You are basing your outcomes on the worst possible intentions of the administration, which i think you are wrong about because you haven't properly looked at the situation from their point of view or even objectively.

I do agree however that if i was a university i wouldn't sign it without first amending 4 and 9.
by ymelnyk | 2025-10-19 21:04:54+00:00
Here you go, Kine FoundationDB backend https://github.com/melgenek/f8n

To be honest, I was building it with the purpose of matching the Etcd scale, but making foundationdb a multitenant data store.

But with the recent craze of scalability , I'll be investing time into understanding how far foundationdb can be pushed as a K8s data store. Stay tuned.
by tomp | 2025-10-19 21:06:16+00:00
> If robots produce so much value that it is actively not even viable for humans to work, the only real logical solution is to distribute the profits

You don't understand. Almost nobody actually thinks about this in the right way, but it's actually basic economics.

Salt.

We used to fight wars for salt, but now it's literally given away for free (in restaurants).

If "robots produce so much value" then all that value will have approximately zero marginal cost. You won't need to distribute profits, you can simply distribute food and stuff and housing because they're cheap enough to be essentially free.

But obviously, not everything will be free. Just look at the famous "cost of education vs TV chart" [1]. Things that are mostly expensive: regulated (education, medicine, law) and positional (housing / land - everyone wants to live in good places!) goods. Things that are mostly cheap: things that are mass produced in factories (economies of scale, automation). Robots might move food & clothing into the "cheap" category but otherwise won't really move the needle, unless we radically rethink regulation.

[1] https://kottke.org/19/02/cheap-tvs-and-exorbitant-education-...
by marcyb5st | 2025-10-19 21:06:16+00:00
Pretty cool and thanks for sharing. I went down a similar path at some point to try to be a "road warrior", but in the end I bit the bullet, learned nvim and went the tmux + nvim + ... route.

However, another alternative to streaming the actual pixels from your home PC that doesn't confine you to the terminal would be use the built-in servers in some IDEs/editors (e.g. https://code.visualstudio.com/docs/remote/vscode-server, https://www.jetbrains.com/help/idea/remote-development-start... ) and you simply make your IDE/editor point to it.
by weitendorf | 2025-10-19 21:06:45+00:00
The problem with cynicism and seeing everything as bullshit and unfair is that it's self-reinforcing. I used to wallow in that too because it was the only way to make sense of the world, because I just was not very happy and couldn't see what I would be able to do to change that.

Once I graduated from college and started working that completely changed for me, because I finally for the first time had some semblance of agency and real stakes in my life, and wasn't forced to spend all my time with other people my age who were just as lacking in real perspective and experience. Someone gave me real responsibility over something actually pretty important, I could speak up and do and change things in ways that weren't explicitly decided for me ahead of time, it wasn't all just a game anymore.

Being a student is essentially modeled as a zero-sum audition for the real world that is simultaneously extremely low stakes (nobody else really cares about what you're doing) and high stakes (if you fail you could seriously harm your future life). You live completely at the whim of institutions with deadlines and gameable processes. The students who seemed legitimately happy to me were either the ones who didn't feel the same kind of pressure to succeed or those who legitimately found it meaningful to participate in school clubs and work professors for higher grades (go to all their office hours to get help with homework, argue for higher grades). Of course there was fun to be had too but the entire environment is engineered for cynicism, it forces you into a ghetto of inexperience and helplessness.

That is not to say that cynicism is good, and obviously the students who used it as an excuse not to learn or take accountability for their own actions or lack thereof were seriously harming themselves. But I do not think it is entirely irrational, given their perspective of the world as one in which they have very little agency and the rules are almost all artificial, to perceive it that way.
by jart | 2025-10-19 21:07:18+00:00
Folks have been ringing the alarm bell for a decade. https://www.nongnu.org/lzip/xz_inadequate.html xz is insane because it appears to be one of the most legitimately dangerous compression formats with the potential to gigafry your data but is exclusively used by literal turbonormies who unironically want to like "shave off a few kilobytes" and basically get oneshotted by it.