MurphyA/hacker-news huggingface dataset:
by agoose77 | 2025-11-24 08:37:47+00:00
Thanks for making this point! I'm chiming in just to add that the Jupyter Book project that builds MyST tooling is now using a new TypeScript stack instead of Sphinx, for any interested newcomers!

But yes, ^this. We are building around a shareable AST precisely because structure really matters.

(I'm a core developer from Jupyter Book, the team that builds the new MyST stack — see https://jupyterbook.org/stable/community/history/ and https://mystmd.org/guide/background)!
by torginus | 2025-11-24 08:38:10+00:00
I remember there was a huge scandal where Intel's compiler, icc (considered to be the fastest for quite a while back when) defaulted to x87 when it detected an AMD CPU instead of SSE, giving AMD cpu's a handicap (incidentally, that's the reason why x87 used to be much faster on AMD for a while).

A lot of games were shipped with icc, so my guess is they'd work just fine as they were tested with both.
by jcattle | 2025-11-24 08:41:11+00:00
That's fair. However I don't think I would have wrote that if those thoughts were shared on a blogging platform.

Most blogging platforms do not qualify as critical infrastructure. GitHub with all its CI/CD and supply chain attacks does.

There is a certain particular irony of this being written on critical (centralized) infrastructure without any apparent need.

Maybe it was intended, maybe not, in any case I found it funny.
by hexbin010 | 2025-11-24 08:41:23+00:00
I kind of agree. I grew up with a well-funded, well-staffed railway which has suffered slow managed decline, so I've got pretty good frames of reference.

A big problem now is people playing loud music, loud TikToks, phonecalls and videocalls on speaker phone (almost the default), feet on seats, vaping, bags on seats etc.

There are now no staff who enforce the norms and laws (Yup some of that legally could land you a prosecution if the railway chooses that).

Yes, society was less anti-social 20-30 years ago but IMO with strict enforcement of heavy punishment, the issues could be stamped out.

What's interesting is that one fairly large section of the railway does still have lots of staff who enforce anti-social behaviour (Merseyrail – they operate somewhat independently) and from what I've read and heard is that there tend to be far fewer issues in that network than the rest of the network. It's interesting to have the two areas to compare.

Unfortunately this governments want to continue defunding the railways, and so are happy with the cycle of managed decline and people opting to drive instead.

I used to be extremely pro public transport but it's fighting a losing battle. Trains are overpriced, delayed, cramped and anti-social
by VorpalWay | 2025-11-24 08:41:29+00:00
Python is big in the sense that your wasm bundle with the CPython runtime and a bunch of the standard library are going to be several MB most likely. Just libpython.so in my system is 8.7 MB for example. The standard library is an additional 56 MB.

Yes, you can compress and strip down unused parts, but it will still not be a fast loading page if you want to provide a reasonable coding experience for the user to write python in. And it will eat server bandwidth, not a big deal if it is just you self hosting for yourself, but if you want to make this a public service that does matter.
by zelphirkalt | 2025-11-24 08:43:01+00:00
There should be better regulation of course, but I want to point out, that the comparison with other industries doesn't quite work, because these days software is often given away at no financial cost. Often it costs ones data. But once that data is released into their data flows, you can never unrelease it. It has already been processed in LLM training or used somehow to target you with ads or whatever other purpose. So people can't do what they usually would do, when the product is broken.
by kamaal | 2025-11-24 08:43:14+00:00
Speaking as an Indian. Most of these are just diplomatic flexing of muscles which mostly reduce to literally nothing.

There is not going to a be a war in the modern context.

Secondly, only one war has happened between China and India, in which arguably we Indians kind of started it- Read here- https://en.wikipedia.org/wiki/Forward_policy_(Sino-Indian_co...

""" The forward policy had Nehru identify a set of strategies designed with the ultimate goal of effectively forcing the Chinese from territory that the Indian government claimed. The doctrine was based on a theory that China would not likely launch an all-out war if India began to occupy territory that China considered to be its own. India's thinking was partly based on the fact that China had many external problems in early 1962, especially with one of the Taiwan Strait Crises. Also, Chinese leaders had insisted they did not wish a war.[18]

"""
by foreigner | 2025-11-24 08:43:20+00:00
I've been using Catnip for this: https://github.com/wandb/catnip

Very similar features, Catnip is Claude Code specific and does everything in a Docker container so you can more safely run in YOLO mode and the Git worktrees don't make a mess on your host filesystem or checkout. Also is mobile responsive which is cute.
by gblargg | 2025-11-24 08:44:03+00:00
A bigger screen isn't better? I'll have to respectfully disagree. Having a huge screen on the PC has been a godsend.

A PC isn't just a smartphone with a bigger screen. I keep a bunch of things open and fully visible at the same time (file browser, text editor, terminal, smaller browser window, larger browser window, and some space for other things). This is nothing like using a smartphone. Every one of those programs is a content viewer/editor, where I set what they show. No notifications. Most of the time they're all static, showing what I chose and waiting for my command. If this is how you use your smartphone, then I stand corrected.
by kasabali | 2025-11-24 08:44:08+00:00
Unfortunately Debian wouldn't be exempt from "network interfaces renamed, lost default route, systemd timeouts taking 5 minutes, etc." because systemd is systemd (and Debian systemd maintainers just go along with upstream and do nothing to mitigate it)

I think interface names changed like at least 2 times in the last 4 releases.
by adinisom | 2025-11-24 08:44:44+00:00
Hearing in noise is both what most people want from hearing aids and what they are least equipped to provide.

The traditional solution is an FM system where you give the person speaking a microphone linked to your hearing aids. There are dedicated ones like Phonak Roger. You could probably also use your phone as a microphone if it's bluetooth connected to your headphones or hearing aids.
by crazybonkersai | 2025-11-24 08:45:08+00:00
It is a far stretch to call annexation/reunification (pick whichever you like) an invasion. There was no fighting and it went almost with no violence. There was a swift independence referendum followed by a decree to join Russian Federation. Majority of Crimean population voted in favor, as later confirmed by independent gallups. Anyone thinks that Crimeans want to rejoin Ukraine is delusional.
by adastra22 | 2025-11-24 08:45:12+00:00
I'm with you on the cost basis for this. It makes no sense to die on this hill.

But to answer your question, it's unclear how "inclusive" this actually is. No person of color I've talked to about this (at least 3 that I can recall) has thought this was anything other than weird virtue signaling by admittedly mostly white social justice warriors. Their feelings on "master" terminology ranged from mild bemusement to "I REALLY DON'T GIVE A SHIT."

If the only people being "included" by this are people whom are themselves being uninclusive, even if for the right reasons... I question how "inclusive" this actually is.

That said, I'm definitely in the idgaf camp. My new repos are "main" because that's the default. Most of my old repos are still "master" because I never bothered to change it.
by konradb | 2025-11-24 08:45:23+00:00
The tinniness is something your brain adjusts to and prices in, and if your hearing aid is properly set up, it is very likely that to start with it will sound tinny if your hearing is deficient with high frequencies. It is boosting those frequencies to make up for your lack in hearing. You probably need a good 2-6 months to adjust.

Mine were exactly like this to start with and over time the effect goes away such that you don't notice. I'd recommend if you do actually have hearing problems, sticking with it for quality of life improvements.
by rkomorn | 2025-11-24 08:45:58+00:00
I agree. I think the whole point is someone like TFA author has a pretty broad choice of places they can choose to publish this and choosing GitHub is somewhat ironic.

Reminds me of the guy who posted an open letter to Mark Zuckerberg like "we are not for sale" on LinkedIn, a place that literally sells access to its users as their main product.
by everlier | 2025-11-24 08:46:06+00:00
There was another technique "klmbr" a year or so ago: https://github.com/av/klmbr At a highest setting, It was unparseable by the LLMs at the time. Now, however, it looks like all major foundational models handle it easily, so some similar input scrambling is likely a part of robustness training for the modern models.

Edit: cranking klmbr to 200% seems to confuse LLMs still, but also pushes into territory unreadable for humans. "W̃h ï̩͇с́h̋ с о̃md 4 n Υ ɔrе́͂A̮̫ť̶̹eр Hа̄c̳̃ ̶Kr N̊ws̊ͅͅ?"
by zozbot234 | 2025-11-24 08:47:14+00:00
> The rigorous form of the non-rigorous version is non-standard analysis

This is quite overstated. There are other approaches to infinitesimals such as synthetic differential geometry (SDG aka. smooth infinitesimal analysis) that are probably more intuitive in some ways and less so in others. SDG infinitesimals lose the ordering of hyperreals in non-standard analysis and force you to use some non-classical logic (intuitively, smooth infinitesimals are "neither equal nor non-equal to 0", wherein classical reasoning would conflate every infinitesimal with 0), but in return you gain nilpotency (d^n = 0 for any infinitesimal d) which is often regarded as a desirable feature in informal reasoning.
by noduerme | 2025-11-24 08:47:36+00:00
The cynicism is just asking what the underlying motive is [for the interest in this algorithm]. Whatever metric you're using for judging an honest question as "better" or "worse", you didn't answer the question (someone else did), you misinterpreted it, and you still feel the need to judge its validity. Whatever reasons you have for doing so and then trying to turn it into a morality play or a spectacle, as in, how dare you ask if this relates to back propagation? Oh it's even worse than I thought! - all of that calls your motivation into doubt and brings up a whole galaxy of questions as to why you'd find it necessary to attack someone for asking a plain technical question. None of which I care about kmowing the answers to.

At school they say: There are no stupid questions, only stupid answers. Consider what negative value you have brought to this conversation, without providing any insight whatsoever.
by ownagefool | 2025-11-24 08:48:05+00:00
Sure. You tend to think about the edges of your application.

1. Router

Tanstack Router: Supports runtime validation libraries such as z0d. So I have routes such as example.com/viewer/$uuid/$number, it should 400 if those aren't actually validate uuid and numbers.

React Router: Supports Types, but every type is a string because, well, they technically are, but this isn't useful in practice in my opinion. There are 3rd party libs such as: https://github.com/fenok/react-router-typesafe-routes

2. API

Lets say you're making your API public to clients you can't trust to send the correct data ( which probably also includes your own client ).

https://www.npmjs.com/package/express-openapi-validator

This library advertises validating both your input and your output

3. State

https://github.com/pmndrs/zustand/discussions/1722

4. Database

https://www.npmjs.com/package/prisma-zod-generator

5. Forms

https://medium.com/@toukir.ahamed.pigeon/react-hook-form-wit...

6. ENV

https://jfranciscosousa.com/blog/validating-environment-vari...

Obviously checks on the agent are primarily a DX/UX thing, whilst checks on the server step are also security controls.
by dmurray | 2025-11-24 08:49:15+00:00
This seems like one of those scenarios where you find out Disney did make a Roger Rabbit sequel, but they never marketed it, or it had a limited release in 12 California cinemas, and it only existed as a pro forma device to show they still controlled the character and would have the option to make sequels for another 35 years.

Bonus if it randomly starred or was directed by someone who later became famous, or if there are blog posts calling it an unknown masterpiece.

Nice to hear that didn't happen in this case and the author gets a second chance!
Malware in PostHog NPM packages
by roskoalexey | 2025-11-24 08:49:30+00:00
I know many of us use a really excellent PostHog service, but it seems their latest version of `posthog-js` NPM package contains malware.

Reported to their security channel, also reported to NPM, but also wanted to raise awareness here.

Update: It seems all their NPM packages have the same problem

Update 2: https://status.posthog.com/
by ggm | 2025-11-24 08:51:27+00:00
Yes, but we're a long way down "our hands are off it's ICANN now". The exception might be DNSSEC and the verisign contract continuance. I have no complaint against verisign, far from it: their staff are excellent and they are amazingly diligent and risk averse.

But at a contractual level you could ask is there another company which could tender to operate the root publication function, and meet all stakeholder requirements? And, could that company be legally constituted outside the USA?
by testdelacc1 | 2025-11-24 08:52:00+00:00
> How many wars has China started?

In 1962 China launched a surprise war against India completely unprovoked over some border territory. China’s aggression continues unabated even into present day - they’ve been illegally annexing territory in Bhutan to put pressure on India. That has been China’s way of negotiating all their borders - through violence first. More can always be said but here’s a simple 2 minute video explaining the 1962 war - https://youtu.be/zCePMVvl1ek.

Here you are defending China when I bet you’d be hard pressed to point to Bhutan or Aksai Chin or the Chicken’s Neck on a map. But those are lesser known places. Are you seriously claiming you don’t know of the Nine Dash line and the violence with which China enforces its absurd maritime claims?
by almosthere | 2025-11-24 08:52:40+00:00
All the woke stuff was so annoying past 5 years. I don't remember the company name but it was one of those feature flag toggle companies. For a year straight they communicated this change they were doing, basically replacing blacklist and whitelist with more PC terms. Someone at the company decided to not only make it a recommended change, but that the old usage would BREAK the app. They couldn't handle the word blacklist in the codebase so much that they were willing to punish their users. It felt like I was getting an email from them every 5 days for a year.

That all being said - main is shorter than master and I would say most of us here, probably 95%, are "used to it" and it would actually be annoying to go back to master.
by nbadg | 2025-11-24 08:52:43+00:00
Having used both extensively, Geizhals doesn't hold a candle to McMaster. McMaster is, bar none, the single best e commerce website I've ever used (if you already know what you're looking for, and definitely still top shelf if you don't).

But McMaster and eg Amazon are optimizing for different things. McMaster knows its clientele isn't going shopping, they're solving problems. As such, McMaster focuses on helping your solve your problem and get back to work. Amazon, on the other hand, is focused on just selling you "as much 'anything' as possible" and wants you to spend as much time there as possible in the hopes that you'll stumble on an impulse buy.
by freefrog1234 | 2025-11-24 08:52:54+00:00
> and lose the very thing that keeps the US top dog. You're implying that political shifts could happen to shift _anything_.

It was the USD as reserve currency that enabled the US to fund it's military to a point that should have bankrupted the US. The US military hasn't won a war outside the Americas since WW2.

With a budget half or a quarter of the current, the US would remain secure behind two oceans. I do agree that politically the military budget will remain high due to the relationship between the MIC and US government.
by DemocracyFTW2 | 2025-11-24 08:53:49+00:00
You make a very good point there re. efficiency v robustness (a.k.a. resilience). The latter is often seen as perfectly expendable, as icing on the cake, as waste (because it's not money in their pockets) by neo-liberals, in other words, they believe 'redundancy' (as in 'reserve') to be redundant (as in 'too much, extraneous'). But in a real world, you need redundancy. A pantry is a redundancy, a fridge is, and they're good reasons to spend money on things taking up space while doing apparently nothing and to risk food going bad rather than not store anything.
by tarsinge | 2025-11-24 08:54:51+00:00
Having to tweak the defaults to get something more usable is a huge step back for MacOS. If I wanted to spend time with settings I’d use Linux. I use and recommend Mac OS because historically everything works perfectly out of the box, like an appliance, so I can focus on work and hobbies (that don’t include spending time on the computer as an end goal).
by torginus | 2025-11-24 08:54:56+00:00
What happens if you don't use Cloudflare and just host everything on a server?

Can't you run a website like that if you don't host heavy content?

How common are DDOS attacks anyway, and aren't there local (to the server), that analyze user behavior to a decent accuracy (at least it can tell they're using a real browser and behaving more or less like a human would, making attacks expensive).

Can't you buy a list of ISP ranges from a GeoIP provider (you can), at least then you'd know which addresses belong to real humans.

I don't think botnets are that big of a problem (maybe in some obscure places of the world, but you can temp rangeban a certain IP range, if there's a lot of suspicious traffic coming from there).

If lots of legit networks (as in belonging to people who are paying an ISP for their network connections) have botnets, that's means most PCs are compromised, which is a much more severe issue.
by Rechtsstaat | 2025-11-24 08:55:09+00:00
We do! It recognises the 'Do Not Track' sent, at least on FF for me. I get a very small popup telling me it's respecting this setting, and no request for accepting anything else:

> "Do not Track"-Modus erkannt! Es werden nur technisch notwendige Cookies verwended. [Datenschutzerkl"arung](...)

Lovely. If only the rest of the web looked like this.
by cristea | 2025-11-24 08:55:24+00:00
My gripe with some of these simple questions is that they do not provide a framework to answer the questions within.

"How often do you feel X?" With answers as "very often" means very different things to different people. For one person once a month could be very often since they expect this to never happen, while for another person a few times a day might be expected.

The problem here is that if people think that they might have a condition or be sick, it has been shown time and time again that this might emphasize the symptoms and make a person "sicker".

In addition these general questions that a lot of people can relate to will cause a lot of people to get unneeded screening, thereby straining an overloaded health service (it might be different in the US, I'm in Europe).
by joker99 | 2025-11-24 08:55:29+00:00
The unkind world we live in would see this role being abused quickly and a person not lasting long in this role. For one, in the wrong team, it might lead to devs just doing 80% of the work and leaving the rest to the janitor. And the janitor might get fed up with having to fix the buggy code of their colleagues.

I wonder if the janitor role could be rotated weekly or so? Then everyone could also reap the benefits of this role too, I can imagine this being a good thing for anyone in terms of motivation. Fixing stuff triggers a different positive response than building stuff
by Lio | 2025-11-24 08:56:35+00:00
> Long ago I wrote about ANT+, for example, a failed personal area network standard designed mostly around fitness applications.

I didn’t know ANT+ was “failed”, I use it all the time with my Garmin products. It’s cheap and it works better than Bluetooth.

I have ANT+ cadence and heart rate sensors. Lights, camera, Varia radar and power meter.

Some of that can be done with Bluetooth but realistically not all at the same time.

Anyone that’s run a smart trainer in a group with others will know that ANT+ is generally more reliable than Bluetooth too.

Apple refuse to support ANT+ so I need a dongle for my Mac and it’s the reason I don’t have an Apple Watch. No biggie.
by testdelacc1 | 2025-11-24 08:56:42+00:00
> Perhaps there are not many instances in history where one country has gone out of her way to be friendly and cooperative with the government and people of another country and to plead their cause in the councils of the world, and then that country returns evil for good

Jawaharlal Nehru (India’s Prime Minister), on the day that China launched an unprovoked surprise war against India in 1962. It was a crushing victory for China, and they grabbed all their territory they wanted. More can always be said but here’s a 2 minute video that explains the war - https://youtu.be/zCePMVvl1ek

You know how Mao said diplomacy flows from the barrel of a gun? That wasn’t a metaphor. That is PRC policy since 1949.
by porridgeraisin | 2025-11-24 08:56:56+00:00
Nice thing in India is that all the major providers grey-legally put optical fiber everywhere, so you get FTTH or fiber to the street no matter what. In cities where the development authority is competent, it's slower as they actually have to get approvals and stuff. And in some places they use the 26Ghz band (technically part of 5G) for "air fiber" which is basically a wireless link from the roof of an apartment to a nearby line-of-sight base station. It gives good bandwidth as there is no interference with usual mobile data as that band never ended up working in practice without clean LOS.
by JumpCrisscross | 2025-11-24 08:57:50+00:00
> Was it a distraction for UK or Argentinian leadership?

"In the period leading up to the war—and, in particular following the transfer of power between the military dictators General Jorge Rafael Videla and General Roberto Eduardo Viola late in March 1981—Argentina had been in the midst of devastating economic stagnation and large-scale civil unrest against the National Reorganisation Process, the military junta that had been governing the country since 1976.

In December 1981 there was a further change in the Argentine military regime, bringing to office a new junta headed by General Leopoldo Galtieri (acting president), Air Brigadier Basilio Lami Dozo and Admiral Jorge Anaya. Anaya was the main architect and supporter of a military solution for the long-standing claim over the islands, expecting that the United Kingdom would never respond militarily."

[1] https://en.wikipedia.org/wiki/Falklands_War#Prelude
by dijit | 2025-11-24 08:59:44+00:00
Yeah, you can.

Lots of people use raspberry pi’s for this, which is a smidge anaemic for some decent load (HN Hug Of Death)- even an Intel N100 is more grunt, for context.

This makes people think that their self hosting setup can never handle HN load; because when they see people talking about self hosting the site goes down.