MurphyA/hacker-news huggingface dataset:
by toast0 | 2025-09-21 18:01:59+00:00
> If all you do is raise std::bad_alloc or call abort(), handling NULL return from malloc() is arguably a waste of icache: just let it crash. Dereferencing NULL is guaranteed to crash on Linux, only root can mmap() the lowest page.

If you don't care to handle the error, which is a totally reasonable position, there's not a whole lot of difference between the allocator returning a pointer that will make you crash on use because it's zero, and a pointer that will make you crash on use because there are no pages available. There is some difference because if you get the allocation while there are no pages available, the fallible allocator has returned a permanently dead pointer and the unfailing allocator has returned a pointer that can work in the future.

But if you do want to respond to errors, it is easier to respond to a NULL return rather than to a failed page fault. I certainly agree it's not easy to do much other than abort in most cases, but I'd rather have the opportunity to try.
by Latty | 2025-09-21 18:02:12+00:00
As someone who went to a grammar school, they are a terrible idea and comprehensive schools are a better system.

Students are not equally capable across all subjects, and their ability changes over time. Grammar schools mean there is no room to give you what you need in subjects you fall behind on, and students who start to struggle or start achieving post-11-plus have to transfer schools to fix it, creating huge friction and basically ensuring they'll miss out on the education they should have.

Comprehensives that have a full range of sets to teach at the skill level of the student for each subject are infinitely better for actual education.

I was one of the fortunate ones who was pretty generalist and so I didn't suffer too much by it, but I consistently saw people just give up on subjects because they were too far behind and the school had no other options because there were no lower sets.
by rglullis | 2025-09-21 18:02:13+00:00
> they want me and the millions like me to move to some distant gigantic city and make that even more gigantic.

No, we want you simply to pay the full sticker price for all the things you are consuming and exploiting.

It's simple as that. Drop the pretense that you are actually carrying your own weight and that your lifestyle is sustainable. If you do just that and start paying for the privileges you have, we'll leave you in peace.
by danans | 2025-09-21 18:02:45+00:00
> This is the same sort of person that MAGA and tech workers want to discourage coming to the United States.

Tangential, but let's not forget that there are also Indian MAGAs like the current FBI director.

There are also influential and wealthy Indians who are more than willing to partner with MAGA to pay whatever tribute is necessary to curry favor, and throw working Indian immigrants under the bus to line their own pockets and accomplish their own personal and political objectives.

In the end, it has little to do with being Indian and more to do with scapegoating and dividing tech workers among themselves, to distract them from the squeeze that big corporations are putting on them.
by HarHarVeryFunny | 2025-09-21 18:03:06+00:00
We'll see. I think software development is one of the more challenging things that humans are capable of, and the challenge isn't because of something that computers have any advantage with due to computation speed or memory (unlike, say, chess).

I wouldn't expect to see a human level AI software developer (not just "coder" - the easiest part of the job) until we have human level AGI. Run-time compute and agents seem to be responsible for most of the recent advances in capability - good ways to squeeze the most out of the underlying LLM paradigm, but not the path to AGI.

We'll get there (AGI) one day, maybe in next 10-20 years, but in meantime if you want a vibe coded pile of sphaghetti to be cleaned up, it seems like it's going to be a job for a human.
by kllrnohj | 2025-09-21 18:03:28+00:00
Physical units to describe your scene before it hits your camera makes perfect sense. Physical units for the swapchain on the way to the display (which is where PQ enters the picture), however, does not make sense and is a bug with HDR10(+)/DolbyVision.

I think you've been focused entirely on the scene component, pre-camera/tone mapping, whereas I'm talking entirely after that. The part that's sent into the system or out to the display
by twixfel | 2025-09-21 18:04:07+00:00
The UK system ranks a fair bit above the antiquated German system, you should be aware that there are 3 types of schools, with only one that teaches Latin etc., and the other two of them are considered shit, one German even told me that if you go to the lowest level of secondary school, your best bet is to just kill yourself. But it's certainly neat meeting lots of young Germans who studied Latin in school but nevertheless know absolutely no Latin once you ask them about it. Fabulous system.
by nickjj | 2025-09-21 18:04:25+00:00
For around 10 years I've walked 2-4 ~(3-6 km) miles a day but when traveling I usually go into hardcore walking mode since I like hiking and exploring places on foot. It's not uncommon to end up walking 12-15 miles (~19-24 km) for those days.

Has anyone experienced walking a solid 8-10+ miles a day for a few weeks straight? It's counter intuitive but everything seems to work better. I'm less tired, eat less and I have more mental clarity.

It is a world of a difference compared to 3 miles a day broken up through out the day. I wonder if I've built up a tolerance or if there's something biologically different from putting in longer sessions.
by srkdaniel | 2025-09-21 18:05:11+00:00
I’ve been digging into this while building a tool and found something interesting: startups and small businesses often lose credibility not because of product flaws, but because their visuals look like they came from three different companies.

Landing page uses one font, decks another.

Ads have clashing colors.

Logos don’t scale across assets.

Individually, each piece might be fine. Together, they feel off — and that “credibility gap” can hurt fundraising, sales, and retention more than we admit.

I’ve been working on Brandiseer , an AI tool that tries to solve exactly this: it generates a complete brand kit (logo, colors, fonts, patterns) and then keeps every future asset — decks, ads, social posts — consistent with that style.

Not sure if HN agrees: is this actually a problem worth solving, or just founder paranoia? Would love your take.
by ack_complete | 2025-09-21 18:05:30+00:00
This is due to an overall odd strategy by the DirectX graphics team, which is to implement many of the optimization and enhancement features by Detour-ing API calls in the OS. Essentially, the Windows OS is patching itself to implement features.

Unfortunately, this is being done without core OS assistance like the AppCompat system, so it comes with similar problems to unassisted regular user-space patching. In this case, the Detours code used by DXGI is unable to support the current PAC-enabled function prologues in the current version of Windows 11 ARM64. It isn't limited to just the OP's scenario; attempting to enable Auto Super Resolution (AutoSR) on any native ARM64 program using DirectX will also currently crash in a similar manner in EnumDisplaySettings().

The full screen optimization that is mentioned also has some history. It's well intentioned to remove an entire full-screen copy per frame and increase performance/efficiency, but had some problems. When it was originally implemented in Windows 10, it broke full screen mode for some DirectX 9 apps because it made some incorrect assumptions about the window handle supplied by the application for focus tracking. But it was frustrating to deal with, because the mechanism was nearly undocumented and had no opt-out besides a manual user compatibility checkbox. It took me a couple of days of tearing apart the core windowing guts of my program to figure out what Microsoft had done and how to work around it, and it took several months for the Windows team to fix it on their end.
by fsckboy | 2025-09-21 18:05:34+00:00
I think high school students preparing to go to university are most interested in rankings not least because for graduate schools specific areas of research are more important.

and I agree with much of the parent post, and would add that "oxbridge" and/or "high ranking schools in subject areas" provide many of the professors to "lesser" schools or programs, so you can get a fine education from anywhere.

however, the special extra sauce for me was not small classes/personal attention, but rather rooms full of the smartest possible peers to do problem sets with, and these are found at the highest ranked schools, see first paragraph above, they attract the best incoming freshman.
by sokoloff | 2025-09-21 18:06:02+00:00
I’ve definitely seen absolutely bizarre creations from junior devs decades ago (so, well before modern AI). I can also think back to some cringey code I wrote by hand when I was a junior as well.

I mentor high-school students and watch them live write code that takes a completely bizarre path. It might technically be intentional, but that doesn’t mean it’s good or useful.
by ThrowawayR2 | 2025-09-21 18:06:18+00:00
Hard to say. "About six-in-ten registered voters who say they have served in the U.S. military or military reserves (61%) support former President Donald Trump in the 2024 presidential election, while 37% back Vice President Kamala Harris, according to a Pew Research Center survey conducted in early September." from https://www.pewresearch.org/short-reads/2024/09/30/military-...

The military is not composed of constitutional lawyers and the danger is that they might persuade themselves that the best way to protect the country is to support whoever has at least a façade of legitimacy, particularly if it aligns with their political preferences.
by HarHarVeryFunny | 2025-09-21 18:06:41+00:00
I'm not sure.. I kind of remembered it that way too, although perhaps not so much as a joke but just a throwaway tweet of what he was up so - experimenting with AI and having fun.

However, I just searched up his tweet, and now I'm not so sure - he seemed to be advocating it as a new way of coding.

https://x.com/karpathy/status/1886192184808149383
by bearjaws | 2025-09-21 18:07:04+00:00
- Knowing sequential IDs leaks the rate of creation and amount of said entity which can translate in number of customers or rate of sales.

This implies the existence of an endpoint that returns a list of items, which could by itself be used to determine customers or rate of sales. This also means you have a broken security model that leaks a list of customers or list of sales, that you should probably not have access to begin with.

- Knowing timed IDs leaks activity patterns. This gets worse as you cross reference data.

Again if you can list items freely you can do this anyway, capture what exists now and do diffs to determine update times and creation times.
by Latty | 2025-09-21 18:07:13+00:00
Your best argument is "we've done it for a long time, so it can't be wrong"?

Quite the contrary: there is a long history of "objective" tests being shown to be deeply flawed and biased towards certain factors (often cultural and class based), we explicitly know it isn't the case that test scores are purely about some innate intelligence characteristic: there is a reason the rich spend a lot of money to raise their children's scores.

My secondary school claimed to have the best results for Business Studies A-levels in the country. They achieved this by taking the pre-released case study, writing every possible question they could think of about the study, writing model answers, and telling the students to memorise them. The idea that these scores represent some innate intelligence of the student is obviously nonsense if you interact with the system at all.
by hnuser123456 | 2025-09-21 18:07:43+00:00
Well, the thing is, heat pumps/compressors can be more than 100% efficient by using phase change, they can be "200-300% efficient". It's not clear that TEC will be able to do that, and they're currently around 5-10% efficiency.

They're good for active cooling phone holders, maybe a chilling cupholder or stuff like that. Novelty items where you have USB power and want to cool something maybe 10-20 degrees below ambient and can have a heatsink/fan on the hot side. You can stack them for a bigger delta T, but the efficiency drops even more, and you end up needing to use increasingly smaller modules on the cold side, so only good if you need to get something small and well-insulted down to very cold temps, not active cooling.
by kg | 2025-09-21 18:07:50+00:00
I've personally run into stuff like this on Windows but I want to emphasize that the vast majority of developers won't run into these problems. It's basically the equivalent of finding a compiler bug - yes, you might, but usually the problems you hit are not caused by the compiler or OS, as a general thing.

Are OS or compiler problems more common now than they were 10 years ago? Possibly, but I wouldn't be surprised if they're less common, either.

I have run into driver bugs multiple times though, perhaps more often than OS bugs. And that's really frustrating.
by skydhash | 2025-09-21 18:08:09+00:00
There was a nice article [0] about bloated edge cases libraries (discussion [1]).

Sometimes, it's just not the responsibility of the library. Trying to handle every possible errors is a quick way to complexity.

[0]: https://43081j.com/2025/09/bloat-of-edge-case-libraries

[1]: https://news.ycombinator.com/item?id=45319399
by sdeframond | 2025-09-21 18:08:30+00:00
I don't know.

On the one hand, this stance seems common sense: why overcomplicate things? Let's just do what's commonly understood and move on.

On the other hand, writing code that the most junior in your team can understand leads to mediocre code. In the end, it crumbles under its own weight.

Most of what we master now was difficult to understand first. Should abandon generics because "it's difficult" ? Should we ditch static typing because "we're not used to it" ?

Maybe.

Or, maybe, this is the right tool that can take us to the next step. So we pause and think at this new approach to understand it then master it.
by lukan | 2025-09-21 18:08:54+00:00
Nah, better not literally:

" Each animal mates only with one of its own species. The titmouse cohabits only with the titmouse, the finch with the finch, the stork with the stork, the field-mouse with the field-mouse, the house-mouse with the house-mouse, the wolf with the she-wolf, etc."

(from Mein Kampf, Chapter 11)

But if no one would have taken him serious, there would not have been a problem. But people did take him serious, they seriously believed he was some kind of messias send from god to save his troubled great country.
by asveikau | 2025-09-21 18:08:57+00:00
I am of similar age to him and was in the tech industry at the time. It struck me at the time as a collosally dumb move and proof that he wasn't a smart guy. That is literally the point of my comment.

There are a number of possible interpretations. One is that he was incapable of researching how stupid he was being in that moment. Another is that he didn't care about that and he did it only to improve his image. Few of the interpretations I can think of have him looking great.
by ants_everywhere | 2025-09-21 18:09:13+00:00
There's been an attempt to redefine "trauma" broadly. Technically trauma is acute stress. That is, a great deal of stress delivered all at one time. There's been an attempt to redefine it to include chronic stress. That is, generally living under stressful conditions.

I don't know why people are doing this, but it's almost always closely bound to politics. For example, the commenter below mentioning the political commentators Will Self and Dan Carlin as evidence for the theory.

I've noticed generally that people who talk about trauma being broad in this sense also tend to have a confused understanding of psychology in general.

> One of the main premises of this article is that society today is more traumatic than in the past, which I find to be laughably incorrect.

They are definitely incorrect. One pop culture way of looking at this is fairy tales. Not too long ago we used to tell children that if they went into the woods they could get eaten by people who lived there and lured children into their houses.
by metalman | 2025-09-21 18:09:25+00:00
about 10hp/mph, and 6 lbs/hp, so the trick here is traction control. any skip,hop, or bump, that loostens up one wheel relative to the others invites wheel spin, asymetric wheel spin at 300mph, goes bad instantly for the RUD, so the software has to be every bit as good as the hardware
by fuzzfactor | 2025-09-21 18:09:40+00:00
Never thought of that, last time I used a taxi it was a dial phone so it has never been a consideration for decades.

I'm old enough to where I won't be forgetting any time soon how excellent things can be without any phone at all, much less cellular. Land lines were usually too expensive for students but people weren't crying about doing without.

I do bring the flatphone with me regularly, just not most of the time, and only when I have a strong anticipation of wanting or even needing it.

In a restaurant I didn't even like pagers when they were a thing.

Pagers might have been anti-social with their piercing interruptions, but least they weren't as annoying to carry around as an oversized internet-connected device.

And definitely not as anti-social as a phone having Facebook with a human being strung along attached by the finger.
by Aurornis | 2025-09-21 18:10:01+00:00
I advise a lot of caution when reading articles like this. This is more of an opinion piece or stream of consciousness writing style, even though it’s presented as if it was well researched authoritative material.

The article starts with buzzword bingo for topics that appeal to a certain group: Trauma, drugs, capitalism is to blame for our pain, and so on.

The sections describing the drugs will make anyone familiar with basic pharmacology groan. Meprobomate isn’t a drug with unknown action like he claims. It’s a GABA-A agonist with adenosine reuptake inhibition activity. When we say it isn’t fully understood we mean there’s more to it, but that’s the case for literally every drug. This person has misunderstood that as if don’t know how it works at all.

The sections about GABA are also full of similar mistakes. Benzos don’t “flood your brain with GABA”. They bind to part of the receptor that modulates its activity. We switched to them because they are much better in overdose relative to older drugs.

The author’s drug use is also in an unfortunate pattern. Modern prescribing practices only suggest benzos for short term situational use. They are not a primary treatment for chronic anxiety and they do not address psychological issues. SSRIs, buspirone, and therapy techniques are indicated for long term treatment, not benzos. Benzos are also not good for sleep quality even though a high dose can help someone get to sleep. The number of issues with the treatment described in this article is large, and I feel sorry for anyone who gets misled into thinking this is normal psychiatric practice. These days most doctors are hesitant to prescribe benzos at all because many patients want them and can start abandoning the better long-term treatments while they seek more benzos (a strategy that doesn’t work, as this author sadly discovered).

There is also an undertone of “America bad” in the article (not surprising for an article that opens by blaming capitalism for all of our suffering) but many would be surprised to learn that benzos are currently far easier to acquire in many other countries. France has some eye-popping numbers of benzo prescriptions across the population right now, whereas you’re going to have a hard time walking into an American doctor’s office and getting a benzo prescription (there are exceptions, of course).
by SquibblesRedux | 2025-09-21 18:10:17+00:00
The challenge with long form texts is that they are so often picked apart, each piece quoted and analyzed on its own, without regard for how that small piece fits into the whole, often veering from a far more nuanced argument or portrait of life.

Something I very much like about poetry, is that so much wisdom can be condensed into such succinct language. We fill the gaps with our own experiences, not relying on the author to lead us step by step. And I see poetry proliferating in modern times in song. (How else is a poet to earn a living?)

There frequently are reminders of who we are, where we come from, and whence we always return. Life is a wheel. From Black Sabbath:

They say that life's a carousel Spinning fast, you gotta ride it well The world is full of Kings and Queens Who blind your eyes and steal your dreams It's Heaven and Hell, oh well And they'll tell you black is really white The moon is just the sun at night And when you walk in golden halls You get to keep the gold that falls It's Heaven and Hell
by CreatorX | 2025-09-21 18:10:30+00:00
Hey everyone,You know how it goes—just as you are close to being finished, more issues pop up out the blue and then more bugs. However with all of them squashed i bring you my upgraded business guidance platform which is finally ready!

It's now officially launched and rebranded as GritPath OS.About a couple months back I took time to work on something new and thought to myself, what should i work on next and after looking at my business, I wondered if others had the same issues, the same problems and most of all the same questions.

Why am I doing this?

What am I suppose to do?, Where am i suppose to go?

Who do i speak to, some of us have mentors, some have people they can ask and some don't have anybody to speak to or ask help from.

So i built this a business intelligence platform that helps you create a road map for your business's future. The idea is that, it will analyse your profile and provide strategies that help grow your business based on stage and industry trends.

Since the platform is still new, we're searching for people to test it out and give us your thoughts.

Your feedback will be a huge part of how GritPath OS evolves and improves. I've got a whole lot I'm planning to include as well in the future.

If you register an account and need any help, please let me know, so that I can get you set up and running.
by Lapel2742 | 2025-09-21 18:10:52+00:00
> You believe 57 words are "each and every detail", and that "produce two full, exhaustive lists of items out of your blackbox inner conceptspace/fetch those from the web" are "extremely simple tasks"?

Sure they are. I'm not interested in how difficult this is for a LLM. This is not the question. Go out there, get the information. That this is hard for a LLM proves the point: They are surprisingly bad at some simple tasks.

> Try learning programming.

I started programming in the early 1980's.
by skippyboxedhero | 2025-09-21 18:12:11+00:00
The government is the economy in Somalia. There is no other economy. This is the case in most societies that are dedicated towards war...how else would you fund the war? You think militant groups in Somalia are IPOing on the NYSE? Companies build things based on a mutually advantageous trade, no-one wins from war so the only possible cause is government and politics.
by sim7c00 | 2025-09-21 18:12:15+00:00
anything that could capture the traffic of another application outside of that application is likely gonna need super user privs. the ports it flows on need those to capture it, and running a program which could capture it also likely needs it.

that being said: more context would thus help. what application is making the request, and at what point do you expect to intercept or get that request? is that outside the same app or not?

edit: also, can you atleast set it up as root or does everything need to happen as user? (and the OS might also matter)