MurphyA/hacker-news huggingface dataset:
by procaryote | 2025-09-06 12:43:58+00:00
Right-shifting three bits would reduce the size of the lookup table to 32 slots

I guess something like

const int extra_bits = (sizeof(int) - 1) * 8; int x = __builtin_clz(~lead_byte); return (x == 0) + (x > 1 + extra_bits) * (x < 5 + extra_bits) * (x - extra_bits));

could work, although I've not tested it for all cases or checked if it's fast

The idea there is to invert the bits, use a built in operation to count leading zeros (i.e. leading ones in the original byte) and then do some math to achieve the same semantics as the lookup table
by JumpCrisscross | 2025-09-06 12:44:11+00:00
> this lack of empathy

Like cutting funding for autism research [1] and kids with autism on Medicaid [2]?

[1] https://www.disabilityscoop.com/2025/06/02/nih-autism-resear...

[2] https://nebraskaexaminer.com/2025/09/05/nebraska-lawmakers-h...
by soldtm | 2025-09-06 12:44:13+00:00
A recent paper proposes an operator-based framework that claims to solve the Clay Millennium problem of the Yang–Mills mass gap using a recursive spectral ladder.

The Hamiltonian is classical, but the stabilization method is novel:

T_1(ψ) = Hψ T_{n+1}(ψ) = R_n(T_n(ψ)), where R_n suppresses eigenvalues below δ_n

Entropy-scaling ensures convergence: ||T_{n+1}(ψ)|| >= κ * ||T_n(ψ)|| for some κ > 0

It exposes lambda_1 > 0 as the first nonzero eigenvalue (the mass gap) while recursively zeroing out the vacuum.

But here’s the kicker: no one’s explained how it starts. There’s no detailed justification for why this recursion stabilizes exactly the way it does. No path integrals. No lattice. No gauge fixing. Just operator laddering with spectral projectors.

If the result holds, the math checks. But can anyone reverse-engineer how the framework was seeded? What assumptions are necessary for this to hold up in standard QFT terms?
by davidatbu | 2025-09-06 12:44:28+00:00
Good point. But the overall point about Mojo availing a different level of abstraction as compared to Python still stands: I imagine that no amount of magic/operator-fusion/etc in `torch.compile()` would let one get reasonable performance for an implementation of, say, flash-attn. One would have to use CUDA/Triton/Mojo/etc.
by barriteau | 2025-09-06 12:46:17+00:00
Regarding the popular belief that AI will take jobs... If 10 (or 2 or 20...) developers can be replaced by 1 dev using AI, why fire 9 (or 1 or 19) of them when your competitors now could be 10X (or 2X or 20X) more productive by giving AI tools to their 10 (or 2 or 20...) devs?

If you own an organization and can afford to pay the salaries of 10 (or 2 or 20...) souls, you'd have to be very cheap and short-sighted to prefer reducing your payroll instead of boosting your productivity 10X (or 2X or 20X).

I don't see AI taking jobs, I see AI:

- Taking companies/organizations owned by cheap people.

- Taking huge projects ―like building a browser or an OS from scratch― to small groups or even solo developers.
by bgwalter | 2025-09-06 12:47:03+00:00
Corporate overreach like this happens if most open source developers no longer speak up because they want to be hired or retain their positions. They delude themselves if they think that attitude provides them any security. The opposite is the case: corporations will use the sycophants, secretly laugh about them and fire them if they have served their purpose. As in the case of the Google and Microsoft firings of Python core developers.
by instig007 | 2025-09-06 12:47:12+00:00
> is NOT the same scenario where you get to design your types once and then EVERYTHING that ever touches those types is forced through a type checker.

the author never claimed the types had to be designed only once, he claimed that schema evolution chosen by protobuf is inadequate for the purpose of lossless evolution.

> Kenton has already provided a good explanation here: https://news.ycombinator.com/item?id=45140590

TLDR: yada-yada [...] protobuf is practical, type algebra either doesn't exist or impractical because only PL theorists know about it, not Kenton.
by _mlbt | 2025-09-06 12:47:23+00:00
Why are doctors telling women that it's okay to take Tylenol during pregnancy in the first place? Everything they put in their bodies can have an effect on the baby so medication for pregnant mothers should be severely limited. Why haven't we learned from the Thalidomide scandal?

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

Tylenol only helps for minor aches and pains that frankly, pregnant mothers should just deal with for the good of their unborn child. The risk is not worth it.

RFK Jr. isn't right on everything, but he's not wrong on everything either and it's refreshing seeing someone head HHS that isn't in big pharma's pocket for a change.
by bayindirh | 2025-09-06 12:47:48+00:00
> Sure, humans can drive without LIDARs...

That's because our stereoscopic vision has infinitely more dynamic range, focusing speed and processing power w.r.t. a computer vision system. Periphery vision is very good at detecting movement, and central view can process tremendous amount of visual data without even trying.

Even a state of the art professional action camera system can't rival our eyes in any of these categories. LIDARs and RADARs are useful and shall be present in any car.

This is the top reason I'm not considering a Tesla. Brain dead insistence on cameras with small sensors only.
by docstryder | 2025-09-06 12:47:51+00:00
It is the safest painkiller currently available. Ibuprofen can cause gut bleeding and renal issues if overdosed on. We all know about opiates. Some facts - typical adult dose is 1g. Max suggested cap on the drug label is 3g per day (about 6 pills at usual 500mg dose). You need to take 10g (20 pills) to be at real risk of hepatotoxicity.

So 10 times the typical dose is when you have overdose effects. (basically 20 pills per day vs 2 pills per day).

Not your "wildly unsafe at slightly above usage levels" AT ALL (as someone posted on here)

This is not harmless - this might cause someone to take more dangerous painkillers when acetaminophen (tylenol) might have safely helped them. The autism stuff is plainly false and disproved.
by frodo8sam | 2025-09-06 12:47:53+00:00
Taking one gram every 5-6 hours for a maximum of 4 gram/day IS entirely reasonable.

I don't know how you jumped from "it's dangerous to take in to high amounts, even 4 times the recommended dose is dangerous" to "the recommened dose is dangerous".

When taken correctly it is very safe and had fewer side effects then NSAIDs like ibuprofen.
by hshdhdhj4444 | 2025-09-06 12:48:06+00:00
I don’t understand these responses.

A person in power makes unsubstantiated (and often disproven claims), and makes major decisions that affect all our lives based on those claims.

And the response ignores the fact that the people in power are making decisions based on complete nonsense and pointing to something fairly trivial that everyone knows about anyways.

I mean, I haven’t been to a doctor who hasn’t pointed out that there are limits to how much acetaminophen one can take. There’s a reason anything above a 650mg dose is prescription only. Theirs is a reason if you’re suffering from a severe fever doctors will give you both acetaminophen and ibuprofen and have you alternate them.

If there is a tiny minority that is apparently unaware of the fact that Tylenol in high doses can have adverse effects or at the very least not even aware of the fact that most medications need to be taken as prescribed or within the suggested limits, that’s a minuscule part of the problem relative to people in power making decisions based on unproven claims.
by ctkhn | 2025-09-06 12:48:56+00:00
Just for my home server, I have more than 10 containers for home assistant, vpn, library management for movies/tv/music, photos backup, password manager, and a notes server. I started without knowing what docker was, and in less than a year realized running services directly on my OS was more hassle than I wanted both with compatibility between services dependencies, networking setup for them, and configuring reboots and upgrades. I would say the reproducibility and configurability is easily worth the slight overhead and in my experience even reduced it.
by jjani | 2025-09-06 12:49:32+00:00
I didn't even remember whether it had a strikethrough or not but recognized it. It's nothing to do with bots, it's simple human pattern recognition. That rough sequence of characters is really only used in comments for that meme. Plus that it would've been placed in a certain context, making it even easier to recognize, which your comment didn't even have but it was still recognizable.
by daveoc64 | 2025-09-06 12:50:01+00:00
I'm always surprised at the hostility to Acetaminophen on HN (or Paracetamol as we call it here in the UK).

It's one of the most commonly used medicines in the UK - and certainly the most popular painkiller.

YouGov even did a survey confirming that - https://ygo-assets-websites-editorial-emea.yougov.net/docume...

The safety aspects of it are not something that gets raised in the UK much - other than suicide attempts, which are going to happen no matter what medicine you use.

Probably the biggest risk comes from people not realising that other medicines (e.g. for cold and flu) often include it, so they double up on a dose.
by sandworm101 | 2025-09-06 12:50:16+00:00
Solid objects that arent too dark or too shiny. Lidar is very bad at detecing mirrored surfaces or non-reflecting structures that absorb the paticular frequency in use. The back ends of trucks hauling liquid are paticularly bad. Block out the bumper/wheels, say by a slight hill, and that polished cone is invisible to lidar.
by layer8 | 2025-09-06 12:50:18+00:00
While Microsoft is certainly to blame, GP is also right that the problem wouldn’t exist if people hadn’t continued en masse to have their code hosted on a centralized proprietary and (since 2012) VC-funded platform in the first place.

As an aside, I don’t really see GitHub as a whole as a community. It’s a go-to place with network effects, but network effects doesn’t by itself imply “community”.
by frumiousirc | 2025-09-06 12:51:08+00:00
The way to do this starts with not hard-wiring the code generation step.

Instead, make codegen a function of BOTH a data schema object and a code template (eg expressed in Jinja2 template language - or ZeroMQ GSL where I first saw this approach). The codegen stage is then simply the application of the template to the data schema to produce a code artifact.

The templates are written assuming the data schema is provided following a meta-schema (eg JSON Schema for a data schema in JSON). One can develop, eg per-language templates to produce serialization code or intra-language converters between serialization forms (on wire) and application friendly forms. The extra effort to develop a template for a particular target is amortized as it will work across all data schemas that adhere to a common meta-schema.

The "codegen" stage can of course be given non "code" templates to produce, eg, reference documentation about the data schema in different formats like HTML, text, nroff/man, etc.
by fifilura | 2025-09-06 12:51:43+00:00
After 25 years in the industry I should know that there is always someone that have read more forums and researched more :)

Either way, the car is 6 years old. At this rate the battery will still be pretty fine when it is 15 years old and ready for retirement.

Never charging it above 80% is not worth the hassle. It is like never using your left hand for the fear of hurting your left hand. You are crippling your car by overthinking.
by vgr-land | 2025-09-06 12:51:53+00:00
I’ve been thinking a bit on how to improve discourse between disagreeing people and how the quick response style of comment sections don’t lend themselves to serious debate.

One idea I have is to mimic Lincoln–Douglas debates where two people debate each other in a fixed format and with structured time for rebuttal. The hope being by slowing down rebuttal the response becomes more mindful.

In general though I think its the speed and low quality of response leading to dissatisfaction of comment platforms.
by davidatbu | 2025-09-06 12:52:03+00:00
Yeah the rate of progress in AI definitely makes it seem like that from the outside for me too.

But having never written cuda, I have to rely on authority to some extent for this question. And it seems to me like few are in a better position to opine on whether there's a better story to be had for the software-hardware boundary in ML than the person who wrote MLIR, Swift-for-Tensorflow (alongside with making that work on TPUs and GPUs), ran ML at Tesla for some time, was VP at SiFive, ... etc.
by loloquwowndueo | 2025-09-06 12:52:04+00:00
Taking 1 gram every couple of hours does NOT seem entirely reasonable when the directions on every Tylenol bottle in the world say to take no more than 1g (2x500mg caps) every FOUR HOURS at most and no more than 4g per 24-hour period. Half the bottle is covered in ominous red warnings about liver damage.

It’s like saying jumping on subway tracks when there’s no train is entirely reasonable when there are ample warnings on the platform to not do that.

“ Regardless of any autism links” - there you go again with the innuendo. My dude if you want to warn about how dangerous Tylenol is in and of itself when misused, go right ahead, but leave autism out of it, you’re playing right into the “Tylenol cause autism” fearmonger’s hands.
by _mlbt | 2025-09-06 12:52:35+00:00
Is he in Big Wellness's pocket? I hadn't heard anything about that. Who's paying him off? He's a Kennedy with a net worth of about $15 million so he doesn't exactly need the money. He strikes me as an authentic true believer in his cause, but he could just be a really convincing con man, so I'd love to learn more about this.

Please link to some credible sources showing that he's being paid off by someone.
by metalman | 2025-09-06 12:53:49+00:00
the picture is that these workers must have been in the US under a completly above board legal framework to build out a battery plant and presumably they are a specialised ,experienced work force, under contract, Korea right, one of the most orderly countrys on the planet, rich too, tell them to go home, they go home

so this must be a contrived way to eliminate competition, after all of the contracts were signed. reputational damage to the US is incalculable and a strategic retreat by all other countrys becomes likely these people came with there familys, were detained at work, with there kids comming home from school to no parents full tilt, psycho freak move
by ryukafalz | 2025-09-06 12:54:24+00:00
This is one of the reasons I like Guix so much: its packaging system treats source builds as the normal case, with binary packages available via caching. So if you go to install a package and there's no cached binary, Guix will happily build it for you on the spot, with bitwise reproducibility if it can. You still get the benefits of prebuilt packages, but you always have that escape hatch.

This also means that it's trivial to install a patched version of a package through the same package manager as everything else. No dedicated build infra required (though of course if you're deploying to a large fleet you may want to set up some build servers to avoid the need for rebuilds on most machines).
by add-sub-mul-div | 2025-09-06 12:54:25+00:00
> Why are doctors telling women that it's okay to take Tylenol during pregnancy in the first place?

Untreated symptoms are also bad for the baby, and other OTC painkillers are worse than acetaminophen. You have to become informed and choose the least bad option for your situation (trimester, medical history, etc) rather than let a demagogue point your outrage at a random imperfect solution.
by viraptor | 2025-09-06 12:56:28+00:00
> Why are doctors telling women that it's okay to take Tylenol during pregnancy in the first place?

Because there's no clear evidence to the contrary. Research and published papers would be more convincing here than an accusation.

> pregnant mothers should just deal with for the good of their unborn child

There's a number of things they should be restricted from for the good of the child of course, as men request. Blessed be the fruit. /s
by sevensor | 2025-09-06 12:56:29+00:00
I was watching one of America’s greatest war propaganda films recently. Casablanca. It is remarkable how far we’ve come from making the hard decision to do what’s best for Victor Laszlo. Our modern US propaganda is all 24: the righteous man is on his own fighting a shady terrorist conspiracy, where nobody is above suspicion. We’ve successfully convinced ourselves and probably the world that the US federal government and its employees could not possibly have benevolent motivations for anything they do.

Propaganda is always coercive, always designed to make people act against their inclinations. It serves the interests of the powerful. But what I don’t get is why we’re making this propaganda instead of that propaganda.
by d_sem | 2025-09-06 12:57:09+00:00
My experience working in an automotive supplier suggest that Tesla engineers must have always knowns this and the real strategy was to provide the best ADAS experience with the cheapest sensor architecture. They certainly did achieved that goal.

There were aspirations that the bottom up approach would work with enough data, but as I learned about the kind of long tail cases that we solved with radar/camera fusion, camera-only seemed categorically less safe.

easy edge case: A self driving system cannot be inoperable due to sunlight or fog.

a more hackernew worthy consideration: calculate the angular pixel resolution required to accurately range and classify an object 100 meters away. (roughly the distance needed to safely stop if you're traveling 80mph) Now add a second camera for stereo and calculate the camera-to-camera extrinsic sensitivity you'd need to stay within to keep error sufficiently low in all temperature/road condition scenarios.

The answer is: screw that, I should just add a long range radar.

there are just so many considerations that show you need a multi-modality solution, and using human biology as a what-about-ism, doesn't translate to currently available technology.
by gchamonlive | 2025-09-06 12:57:55+00:00
Yeah, I said that first thing. It's right but it misses the point.

Being VC backed isn't a deciding factor for adopting a forge. It's the community that drives adoption.

> I don’t really see GitHub as a whole as a community.

It's basically a social network on top of a source code forge. You have a profile that is individually identifiable, you can open issues and contribute to discussions on pull requests. All this can be tracked back to every individual while they collaborate and make connections while they contribute to each other. How is this not a community?
by forgotoldacc | 2025-09-06 12:58:23+00:00
I'm working with a friend on a project and desperately trying to sway him away from Unreal. His reason for wanting to use it is because he can build the engine from source and modify it any way he wants (and he intends to attempt just that). He's also very much into pushing the engine's lighting to its limits.

We're a team with < 10 employees. He's paying very handsomely, so even if his Unreal foray is an absolute disaster, I'll have the savings to find something else.
by sublinear | 2025-09-06 12:58:39+00:00
This may produce some successes, but it's so much more work than just writing the code yourself that it's pointless. This structured way of working with generative AI is so strict that there is no scaling it up either. It feels like years since this was established to be a waste of time.

If the goal is to start writing code not knowing much, it may be a good way to learn how and establish a similar discipline within yourself to tackle projects? I think there's been research that training wheels don't work either though. Whatever works and gets people learning to write code for real can't be bad, right?
by lukeschlather | 2025-09-06 12:58:57+00:00
I had taken for granted that the cameras in the Tesla might be equivalent to human vision, but now I'm realizing that's probably laughable. I'm reading it's 8 cameras at 30fps and it sounds like the car's bus can only process about 36fps (so a total of 36fps, not 8x30 = 240fps theoretically available from the cameras, if they had a better memory bus.) It also seems plausible you would need at least 10,000 FPS to fully match human vision (especially taking into account that humans turn their heads which in a CV situation could be analogous to the CV algorithm having 32x30 = 960 FPS, but typically only processing 140 frames this second from cameras pointing in a specific direction.

So maybe LIDAR isn't necessary but also if Tesla were actually investing in cameras with a memory bus that could approximate the speed of human vision I doubt it would be cheaper than LIDAR to get the same result.
by FirmwareBurner | 2025-09-06 12:59:52+00:00
I'm sorry but as a non American I can only think about Rehab Officer Tylenol Jones from the Idiocracy movie since that's the first time I heard about Tylenol without knowing it's a drug, and in the movie everyone had well known American brands as their names due to overreach of corporate marketing into society, but that part of the satire went over my head as a European kid back then, thinking Tylenol was just a person's name and not a drug.

I wonder if Americans know how much of their society and culture bled incompletely into other countries via movies. Like for example after communism fell the youth here got hooked on American rap and hip-hop so we were using slang from those songs like friends calling each other the N word without knowing the context behind it since that's how black rappers addressed each other and they were rock stars here.
by chriskanan | 2025-09-06 13:00:15+00:00
A Type II supernova within 26 light-years of Earth is estimated to destroy more than half of the Earth's ozone layer. Some have argued that supernovas within 250-100 light-years can have a significant impact on Earth's environment, increase cancer rates, and kill a lot of plankton. They can potentially cause ice ages and extinctions. Within 25 light-years, we are within a supernova's "kill range." Fortunately, nothing should go supernova close to us for a long time.

Wikipedia article: https://en.wikipedia.org/wiki/Near-Earth_supernova

Kurzgesagt video on the impact on Earth of supernovas at varying distances: https://www.youtube.com/watch?v=q4DF3j4saCE
by madeofpalk | 2025-09-06 13:00:45+00:00
As a paid/commercial OSS maintainer, I haven't seen this from the public either. People occasionally submit low-effort PRs or issues, probably from Claude or ChatGPT or whatever, but I don't feel to bothered dealing with them. Of course, I'm fortunate enough to be paid for this.

I think it's just an unfortunate fact now in 2025 that if you look after a text box online, you're going to have to deal with AI sludge in one way or another. If you don't want to do that, close the text box.
by JackSlateur | 2025-09-06 13:01:39+00:00
Can anyone be kind enough to explain how this "age verification" works ?

Surely, if this is about "show me an ID", one can grab his parent's

If this is about "show me your face", again this seems stupid at best (how one can detect that this is an adult face, especially between 17 yo vs 19 yo)

So .. how does it work ? And also, does it work ? :)
by netsharc | 2025-09-06 13:02:05+00:00
I don't know if it's a positive, but at least the hypocrisy of people^W the ruling opressors saying "the world needs to be run with rules" has been exposed: https://archive.is/jpZGZ .. It's probably not, now we're down^W further down a path where might is right, and if anyone's got the need, they'll shoot your head off for that food in your hand.

I toured the United Nations HQ a few years ago, they even have the words on their wall of their secretary general Dag Hammarskjöld's words of "The UN was not created to take mankind to heaven, but to save humanity from hell". But nowadays it feels like, why even bother anymore?