MurphyA/hacker-news huggingface dataset:
by zahlman | 2026-03-12 20:51:49+00:00
> Last week in the Python Discord we had an unusual discussion about a Python oddity.

Oh, I missed it. But yes, this is more to do with NaN than Python.

> But, of course, you can't actually get to those values by their keys: ... That is, unless you stored the specific instance of nan as a variable:

Worth noting that sets work the same way here, although this was glossed over: you can store multiple NaNs in a set, but not the same NaN instance multiple times. Even though it isn't equal to itself, the insertion process (for both dicts and sets) will consider object identity before object equality:

>>> x = float('nan')
>>> {x for _ in range(10)}
{nan}

And, yes, the same is of course true of `collections.Counter`.
by seb1204 | 2026-03-12 20:51:58+00:00
Voters still need to look through the barrage of miss- and disinformation, hatred, blaming etc. in short through all the shit the zone is flooded with. Republicans can if required always turn the dial further.

A principled democratic opponent on the other hand should not succumb to all of this, they should act with integrity etc. traits that also seem to not be pushed by algorithms nowadays. All in all I think it's a lot harder, especially when paired with short attention span of viewers.
by riskassessment | 2026-03-12 20:52:18+00:00
Nor is that inequality an oddity at all. If you were to think NaN should equal NaN, that thought would probably stem from the belief that NaN is a singular entity which is a misunderstanding of its purpose. NaN rather signifies a specific number that is not representable as a floating point. Two specific numbers that cannot be represented are not necessarily equal because they may have resulted from different calculations!

I'll add that, if I recall correctly, in R, the statement NaN == NaN evaluates to NA which basicall means "it is not known whether these numbers equal each other" which is a more reasonable result than False.
by hrimfaxi | 2026-03-12 20:53:17+00:00
> It does not happen overnight. But what happens is after they take control of the clinic or company they change the sales model to boost reoccurring revenue, this then allows the clinic or target company to take loans out. Because they look good on paper. The company then pays VC back when then pays bank back.

This was the missing bit for me. Thanks for taking the time to explain!
by SmirkingRevenge | 2026-03-12 20:53:18+00:00
The biggest problem with her campaign was the one thing it was impossible to fix - the amount of time. Everything else is nitpicking and wish-casting.

And that's on Biden and his team, mostly. I do give credit to the party for actually forcing him out. That's a hard thing to do, and it's exactly what R's ought to have done to Trump a long time ago.
Social Craft AI-How well connected is your LinkedIn Network?
by nivlewd1 | 2026-03-12 20:54:02+00:00
We built SocialCraft AI to model the decay of LinkedIn connections using an exponential decay model, where relationship strength decreases by 50% every 90 days.

The problem we identified is that many professionals struggle to maintain meaningful connections on LinkedIn, leading to a decline in engagement and missed opportunities. For instance, if you haven't interacted with a connection in 180 days, their relationship strength drops to just 25% of its original value. This decay can significantly impact networking effectiveness and content visibility.

Technically, we implemented a reciprocity ledger and engagement velocity scoring to quantify and track interactions over time. The key decision was to use an exponential decay model, which allows us to predict connection strength based on the last interaction date. This approach provides a more nuanced understanding of relationship dynamics compared to simple metrics like connection count or engagement rate.

What sets us apart from other social media analytics tools is our focus on the mathematical modeling of relationships rather than just surface-level engagement metrics. While tools like LinkedIn Analytics provide insights into post performance, they often overlook the underlying relationship dynamics that drive engagement. Our model helps users understand when to re-engage connections to maintain their strength.

Currently, we are in beta and are continuously refining our algorithms based on user feedback. Some limitations include the need for more extensive data to improve accuracy and the integration of additional social platforms beyond LinkedIn. We are also working on enhancing our content generation capabilities to better align with the engagement strategies we recommend.

You can try SocialCraft AI for free at https://social-craft-ai.vercel.app. We invite any technical questions or feedback on our approach!
by overtone1000 | 2026-03-12 20:54:08+00:00
Medical equipment reps often play a pretty active role in patient care. Can't get in touch with a rep to put a device into its MRI safe mode? No MRI for you. Can't get a rep in to help the surgeon with the type in hardware they were going to install? No surgery for you.

People's AICDs aren't going to start exploding, but I'm pretty confident this will hamper care for many patients.
by bhhaskin | 2026-03-12 20:54:08+00:00
The technology doesn't exist and it would be a huge waste of money.

How heavy would a telephone pole sized tungsten rod be?

What happens when China, Russia, India or Pakistan find out you are building this (cause you can't hide it if it's in near earth orbit)? They would either knock it out of the sky or hit you with everything they have. We would do the exact same if anyone else was developing such a weapon.
by simosmik | 2026-03-12 20:54:13+00:00
It’s a phase, for sure things will turn around in the future once the hype of “oh we can now ship fast” is gone.

fwiw I’ve had this open source browser ui that sits on top of your claude code, gemini and codex and picks up/starts your sessions from any device https://github.com/siteboon/claudecodeui
by thegrimmest | 2026-03-12 20:54:15+00:00
Who ever said you have the right to a decent a secure life? People don’t universally agree about this. Some of us posit that we will never escape a state of competition for fundamentally scarce resources. And that the organizing principle of a free society should be peaceful coexistence, not mandatory cooperation.

You figure out your own economic security, I’ll manage mine.
by hsuduebc2 | 2026-03-12 20:54:26+00:00
>A month earlier, Russell Vought, director of the Office of Management and Budget (OMB), had said the White House would “break up” NCAR, citing its role in “climate alarmism.”

This is absolutely the biggest pain of today's politics. You can't argue with their dogma even when it agains literally all the facts. Needless to say, both parties are doing it. Just a little bit differently.
by bmurphy1976 | 2026-03-12 20:54:53+00:00
Everyone is NOT making that tradeoff. Maybe we will be forced into it someday, but my team is leveraging AI to increase the quality of code far beyond what we would have done without it. Some of us are using it to engineer better solutions.

Example: we are putting a lot of energy into removing technical debt, reorganizing the code to remove unneeded abstraction and complexity, and creating missing tests and automation. We're not just burping out new untested and poorly reviewed functionality.
by zahlman | 2026-03-12 20:54:53+00:00
That equality check also considers object identity first:

>>> class Evil:
... def __init__(self, hash_value): self.hash_value = hash_value
... def __eq__(self, other): return False
... def __hash__(self): return self.hash_value
...
>>> e1, e2 = Evil(1), Evil(2)
>>> {e1:1, e2:2}
{<__main__.Evil object at ...>: 1, <__main__.Evil object at ...>: 2}
>>> {e1:1, e2:2}[Evil(1)]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: <__main__.Evil object at ...>
>>> {e1:1, e2:2}[e1]
1

I'm pretty sure that this is meant as an optimization.
by mncharity | 2026-03-12 20:55:17+00:00
I like distinguishing "light" (physical world) from "color" (species-specific biology). Sunbeam blue light is already less intense than NIR-I, but human bio juices the blue. Most humans are bright-light trichromats and low-light monochromats. Rod sensitivity is 3 orders of magnitude up, with single-ish photon sensitivity. Some amphibians have an extra rod type, for low-light bichromaticity. Some deep-sea fish are bright mono and dark lotschromats (12+ rod opsins). So why not imagine seeing the world with a triple (or more) of short-wavelength super-rods, a few orders of magnitude more sensitive still, with whatever curves seem fun? Perhaps curves naturally selected for by "makes for intriguing images of the world on social media"...
by bch | 2026-03-12 20:55:43+00:00
> do you think "wow, cool, they got to wrangle all of that", or do you think "OMG they had to wrangle all of that"?

I touch on similar point of view discussing digital audio work I do for fun. I use CSound, which I've heard described as "assembly language for audio", and I think that's accurate.

Anyway, when I first, FIRST started, and got a tiny bit familiar, I thought "Wow, I can do anything!" but quickly realized I was also responsible for everything. No free lunch.
by retired | 2026-03-12 20:56:20+00:00
I had Apple Care on my 2006 MacBook. It covered around €3000 in repairs. Especially the logic board replacements added up fast. Couple of palm rests as well though that was also covered by extended warranty.

I paid $50 for that Apple Care through an eBay listing and got send a code that I could use to register. This was back when Apple Care was sold in physical boxes and people would resell them from foreign countries. So great deal all round.

But for the rest I never had Apple Care on anything.
by gorgoiler | 2026-03-12 20:56:42+00:00
Anyone who wants their commit history to be less like a written document and more like a parseable data structure is going to find it difficult when their peers don’t play along.

To that end you will want to provide a validating parser and then start rejecting commits whose messages don’t validate. If your validator has even one or two bugs you’re going to see all goodwill evaporate, and all for what? So that you could read:

bug(fix)[8177] Add missing paren

instead of

Add missing paren

…

Fixes http://bugs.com/8177

Commit messages are the primary source of why you did something. Focus all of your energy on writing clearly, concisely, and compellingly, and helping others to get better at doing so. Working on anything else is wasted energy compared to the importance of honing written communication skills.
by Kim_Bruning | 2026-03-12 20:56:45+00:00
>> The Jones Act killed American shipping.

> There is zero evidence that this did it because all evidence says if you repealed it, all shippers would just buy Chinese ships, flag them under flag of convenience and staff them all with overseas worker where they make 2000USD/yr.

You are both right, one in the long term, the other in the short term. The Jones act protected US shipbuilders from competition over a long term. Repealing it would expose them to extreme competition in the short term, when they suddenly need to compete with other shipyards on the open market.

There's probably no clean solution here. Repealing now would shake up the us market, some shipyards might close, others might scramble to catch up.

The thing is, if you wait 'till next year, it'll be worse. And the year after that even worse.
Show HN: Firstrun – Turn static documentation into interactive walkthroughs
by mhamda | 2026-03-12 20:56:53+00:00
Hi HN,

I’m the builder behind Firstrun (https://firstrun.dev). It’s a tool that takes your static documentation and turns it into interactive, step-by-step walkthroughs that you can embed anywhere.

The Problem:

Every developer knows the pain of spending hours writing great documentation, only for users to skim it, miss a crucial step, and open a support ticket saying "it doesn't work."

Static text and outdated screenshots just aren't great for complex setups or onboarding flows.

What Firstrun does:

I wanted to build the fastest way to create interactive guides without needing heavy engineering time or a bloated enterprise tool.

Create: You add your content (or extract steps from existing docs).

Generate: Firstrun turns it into a clean, interactive step-by-step UI.

Embed: You drop a simple script tag into your docs site or SaaS app.

Track: It gives you analytics on exactly where users are dropping off or failing, so you know which step of your setup is confusing them.

You can try it out here: https://firstrun.dev

I’d love to get your feedback on the UX and the embedded widget. Does this solve a pain point for your SaaS or open-source projects?

How do you currently handle onboarding flows and interactive docs?

Happy to answer any technical questions!
by Aardwolf | 2026-03-12 20:56:56+00:00
C does different things for 0.0 / 0.0 and 0 / 0 and it's not that weird to deal with (well it has other issues like it being platform dependent what happens with this). JS has no problem with it either (0.0 / 0.0 gives nan, 0n / 0n gives exception since it are integers).

Python is the only language doing this (of the ones I use at least). I don't think the notation `x: float = 0` existed when it was new by the way so that can't be the design reason?
by CapricornNoble | 2026-03-12 20:57:08+00:00
As the sister comment alludes, how many of those 15 families are in Iran?

My professor from my graduate program and his family are all Iranian. It's no surprise that they anti-regime: his wife's uncles were generals in the Shah's army, and were "disappeared" during the Revolution. They've been living in Japan for ~40 years. Hardly indicative of the opinion of the "man on the street" in Tehran, Isfahan, or Mashhad.
by gwbas1c | 2026-03-12 20:57:24+00:00
You're asking the wrong questions.

The bigger issue is that the US system of voting is set up so that:

1: Most elections predictably go to one party or another.

2: Most representatives are chosen by small minorities who vote in primaries.

The Presidential election is almost always close to 50-50, and due to peculiarities in how it works, is chosen by small regions. Basically, Google "Electoral College." Essentially, most states will always predictably elect a Republican or Democrat, so the election is chosen by states that are hard to predict. (For example, if you live in a state that always votes for the Republican candidate, trying to convince people in your state to vote Democrat won't make a difference because all of your states votes will always go to the Republican.)

Furthermore, because American news is always very critical of current leaders, if a president holds power for 8 years, people will always want change and always vote for the other party. It has little to do with the merits of the current President. People who hate Trump will hate everything he does, even when he does good things. People who hate Biden will hate everything he does, even when he does good things.

I've heard Poland has similar issues, FWIW.
by jononor | 2026-03-12 20:57:29+00:00
Many "subjective" tasks can also be done in an "objective" manner - as long as there is a large enough dataset to estimate what humans would evaluate the outputs - and the evaluators being reasonably consistent.
Many human preferences are relatively homogeneous, or sometimes clustered into groups. And there are whole fields of study/practice of such phenomena, such as sensory science - with applications in food, audio, images etc.
by rectang | 2026-03-12 20:57:47+00:00
> facial recognition showed she was the main suspect in what Fargo police called an organized bank fraud case.

> Her bank records showed she was more than 1,200 miles away, at home in Tennessee at the same time police claimed she was in Fargo committing fraud.

> Unable to pay her bills from jail, she lost her home, her car and even her dog
by tialaramex | 2026-03-12 20:57:54+00:00
Actually none of the floating point value are normal :D

Although Almost All† Real Numbers are Normal, none of the floats are normal, and nor are most numbers any regular person would think of (possible exceptions Pi and Euler's Number which are conjectured to be Normal although it is unproven)

† Almost All is a term of art in mathematics, remember there are uncountably many real numbers, so the fact the Normals are also uncountable puts them at least in the right ballpark, unlike the rationals.
by pedalpete | 2026-03-12 20:57:55+00:00
I probably should have worded that better. 500k applicants for 10k positions. The jobs aren't different. Think Amazon Warehouse job where there are 650k workers. High turnover, and an HR department is running those interviews, not the manager.

So even if each screener is running 15 minute interviews, they're asking the same questions 20 times a day. Every day. The mental task and repetitiveness just isn't something a person is going to be good at. An AI can do this more effectively and pass on the top candidates.
by ptak_dev | 2026-03-12 20:58:03+00:00
> It's true what they say that it is easy to make a demo in AI, but super hard to turn demo into product

This resonates. I've been building a conversational AI career consultant (generates tailored resumes and cover letters through dialogue) and the gap between "impressive demo" and "actually reliable" was humbling.

Biggest lesson: structured output validation at every conversational turn. The LLM will hallucinate plausible-sounding resume bullet points if you don't constrain it against what the user actually said. I ended up treating each turn like a mini-pipeline with its own schema validation — extracting structured data from user input, then generating only against verified context.

The other hard part was prompt regression across model updates. A prompt producing clean Markdown on one model version would randomly start wrapping things in code blocks or adding unsolicited commentary on the next. Pinning model versions helped, but you still need output validation as a safety net.

Tool is live if anyone wants to compare notes on LLM reliability patterns: https://super.myninja.ai/apps/6de082c7-a05f-4fc5-a7d3-ab56cc...
by ghaff | 2026-03-12 20:58:13+00:00
I think that's fair. I do carry a few checks in my travel folder but I don't think I've ever used them in Europe. Do carry some backup US cash.

But in the US, there's probably a general expectation that you can send or receive checks at least now and then. There are often other options but that's probably the lowest friction one even if my bank can send checks if needed, albeit with some delay.
by westurner | 2026-03-12 20:58:13+00:00
What is necessary to run Linux ARM64 binaries on Android ARM64?

To run conda-forge arm64 Linux binaries on Android in termux requires proot-distro because the ABIs are slightly different FWIU.

What is necessary to run Android ARM64 binaries on Linux ARM64?

Android Studio, LineageOS or BlissOS's outdated Android containers, a runtime like vinegarhq/sober that emulates just enough of Android, or a binary that makes Linux compatible syscalls only (that doesn't require Android libraries that aren't compiled for Linux)
by dfxm12 | 2026-03-12 20:58:16+00:00
I used to do banking on my (touch tone) phone before I did online banking. I still do online banking on my PC because my budget spreadsheet is on my PC, right next to my browser window.

Personally, I don't think this is about banking apps. I'm kinda surprised an article talking about ATMs and teller jobs barely mentions cash, checks & cards and doesn't mention paypal or venmo at all. I used ATMs less when it became less of a necessity to carry cash.

You don't use cash to buy things online. Even in person, outside of brick & mortars, paypal/venmo became in vogue at some point in the past.
by hugs | 2026-03-12 20:58:22+00:00
they probably mean desktop. i do browser test automation (selenium, vibium), and the lack of google chrome on arm64 trips up new users frequently. The workaround is to just use Chromium, but that's a confusing extra step for some if it's not automated and hidden for you.

on that note, besides clarifying whether they meant google chrome for testing, it would have been nice if they mentioned this means means they'll be shipping an official "chrome for testing" for arm64 linux, too.
by acuozzo | 2026-03-12 20:58:30+00:00
I live 1.6 miles from my county hospital.

If my wife is having a stroke, I can definitely pick her up, toss her in the car, and get to the ER faster than an ambulance can reach my house.

As I'm sure you know, every second counts when it comes to recovery from a stroke.

What kind of first aid do you give to someone having a stroke anyway?
by BizarroLand | 2026-03-12 20:58:34+00:00
The only real downside is that it decreases the amount of control that your power company has over your local grid, which doesn't sound like a downside until there is an electrical emergency and unregulated solar starts dumping into the grid and puts line workers at risk.

At the same time, it is a fairly small downside when 1 person does it, but the effects increase quite a bit when everyone does it.
by Caius-Cosades | 2026-03-12 20:58:35+00:00
Let's see

No minetrawlers, the four US had were scheduled to be scrapped earlier this year. So if there's even a single mine you're playing russian roulette with hundreds of people on board

Probably heaps of various anti ship missiles that have been squirreled away with ranges reaching from few nautical miles to few hundred, just for this exact scenario, please keep in mind that you only need one missile to get through to cause dozens if not hundreds of fatalities.

Unmanned naval drones of various kind, not exactly ultra-high tech in this day and age.

And then there's the guerrilla speedboat attacks which means more missiles

Did I mention that one ship has possibly hundreds of people on board? The political system of the US probably cannot tolerate a military mass casualty event of that scale and spectacle. It's therefore just too risky to get anywhere nearby with a ship so all US navy can do is just lob missiles from as far away as possible, while hoping that this whole mess ends before US runs out of standoff weapons. And between Ukraine, Yemen and now this, the armament stocks aren't probably looking too good considering the meager production numbers.
by 2uryaa | 2026-03-12 20:59:21+00:00
Hey Oras, thank you for the feedback! I think we definitely could list on OpenRouter but as you point out, our end goal is to host finetuned models for individuals. The IonRouter product is mostly to showcase our engine. In the backend, we are multiplexing finetuned and open source models on a homogenous fleet of GPUs. So if you feel no performance difference on our cloud, we're already proving what we set out to show.

I do think we will lean harder into the hosting of fine-tuned models though, this is a good insight.
by jasongill | 2026-03-12 20:59:30+00:00
yes, most of them look like USRobotics Courier modems. Note that not all the machines have one, and some have two.

Assuming that the parent commenter is right and that they are using internal line cards, I wonder if the external modems were being added to support higher speeds.

However, the fact that we can see at least 2 (but I think four) 66 blocks means they had 50 to 100 phone lines for the machines visible, which would make sense that the external modems are the primary connection and no internal modems are being used, based on the number of modems visible and the fact that each 66 block can handle 25 lines.