MurphyA/hacker-news huggingface dataset:
by fnordpiglet | 2025-05-15 19:39:51+00:00
RFK runs HHS which oversees multiple grant, research, and review organizations in the federal government. This includes the NIH, which has been gutted of experts that don’t share the political ideology of the political arm of the executive and / or aren’t willing to say untruths in service of their political agenda. The news is replete with stories of experts being purged leaving entire areas of research unstaffed; from various cancers to HIV to genetic engineering. Of course the same is true in other areas, such as NOAA, EPA, FEMA, etc that will cause more acute harm. The research harms will play out over decades.
by __mharrison__ | 2025-05-15 19:39:53+00:00
Multiple dimensions (more than 2) are hard.

I was at a conference the other day, and my friend (a very smart professor) was asking me if it would be possible to move away from Xarray to Pandas or Polars...

Perhaps using Numba or Cython (with loops) might make it fast but less prone to confusion.

Luckily for me, I mostly stay in tabular data (< 3 dimensions).
by team_pyrefly | 2025-05-15 19:39:58+00:00
Hi Hackernews, our team launched an Alpha of our new Python type checker and IDE extension today. It supports type inference, go to definition and find references in your IDE. The blog links to a podcast where a few engineers from our team talk about how we made it. We address a good number of questions in our FAQ: https://pyrefly.org/en/docs/pyrefly-faq/, and are happy to answer additional questions that you may have.
by threeducks | 2025-05-15 19:40:12+00:00
I thought I'd do something smart and inline all the matrix multiplications into the einsums of the vectorized multi-head attention implementation from the article and set optimize="optimal" to make use of the optimal matrix chain multiplication algorithm https://en.wikipedia.org/wiki/Matrix_chain_multiplication to get a nice performance boost.

def multi_head_attention_golfed(X, W_q, W_k, W_v, W_o, optimize="optimal"): scores = np.einsum('si,hij,tm,hmj->hst', X, W_q, X, W_k, optimize=optimize) weights = softmax(W_k.shape[-1]**-0.5 * scores, axis=-1) projected = np.einsum('hst,ti,hiv,hvd->shd', weights, X, W_v, W_o, optimize=optimize) return projected.reshape(X.shape[0], W_v.shape[2])

This is indeed twice as fast as the vectorized implementation, but, disappointingly, the naive implementation with loops is even faster. Here is the code if someone wants to figure out why the performance is like that: https://pastebin.com/raw/peptFyCw

My guess is that einsum could do a better job of considering cache coherency when evaluating the sum.
by mrbashtech | 2025-05-15 19:40:17+00:00
Great work! folks at llm-exe; As a TypeScript developer working with LLMs, llm-exe has been a game-changer for me. It abstracts away the boilerplate of prompt formatting, model integration, and response parsing, allowing me to focus on building features.

The modular design—separating prompts, parsers, and executors—makes my codebase cleaner and more maintainable. Plus, the ability to switch between different LLM providers with minimal code changes is incredibly convenient.
by ceejayoz | 2025-05-15 19:40:47+00:00
If you invent a creme-de-la-creme radar, there's not much reason to avoid using its components wherever you need one. E-2s get shot down; escorts get sunk. Jamming makes it so you can't get data from the E-2s, and ships can pump a lot more electrical power into their array.

https://en.wikipedia.org/wiki/AN/SPY-6 does indeed have variants for carriers that are smaller and cheaper; the ones going on the Burkes have 37 radar modules to the carriers' 9.
by commandersaki | 2025-05-15 19:41:02+00:00
The passkey is stored in the secure enclave which is protected by your unlock code & biometrics (for fast unlock), or whatever the equivalent is for Google. You're not replacing your secret key / passphrase, it's just a different way to authenticate and decrypt vaults.

It's really more a convenience on a handheld device where entering a passphrase (mine is 20 characters) is a pain in the arse. Though, if it were available for macOS, I would use it there too.
by krick | 2025-05-15 19:41:27+00:00
I wouldn't even call it pedantic. I mean, they seem to be the only sane humans in the company. The most faulty is obviously Page, who made the decision that seemed nice and progressive, but was problematic because the subordinates cannot oppose stupid intrusions from above and ignore bad policies. 2nd faulty party is the author of the story, i.e. guys, who use the room when it isn't booked, i.e. after 50 minutes of the meeting. This is natural, of course, because indeed it always happens, it would happen if it was booked for 2 hours too. But the point is that they are in a booked room, and it isn't booked by them.
by uxhacker | 2025-05-15 19:41:29+00:00
I recently have also been thinking about Jef Raskin’s book The Humane Interface. It feels increasingly relevant to now.

Raskin was deeply concerned with how humans think in vague, associative, creative ways, while computers demand precision and predictability.

His goal was to humanize the machine through thoughtful interface design—minimizing modes, reducing cognitive load, and anticipating user intent.

What’s fascinating now is how AI, changes the equation entirely. Instead of rigid systems requiring exact input, we now have tools that themselves are fuzzy, and probabilistic.

I keep thinking that the gap Raskin was trying to bridge is closing—not just through interface, but through the architecture of the machine itself.

So AI makes Raskin’s vision more feasible than ever but also challenges his assumptions:

Does AI finally enable truly humane interfaces?
by kogir | 2025-05-15 19:41:38+00:00
Another example for all you computer folks out there: ultimately, all software engineering is just moving electrons around. But imagine how hard your job would be if you could only talk about electrons moving around. No arrays, stacks, nodes, graphs, algorithms—just those lil negatively charged bois and their comings and goings.

I think this too easily skips over the fact that the abstractions are based on a knowledge of how things actually work - known with certainty. Nobody in CS is approaching the computer as an entirely black box and making up how they think or hope it works. When people don't know how the computer actually works, their code is wrong - they get bugs and vulnerabilities they don't understand and can't explain.
by immibis | 2025-05-15 19:42:26+00:00
Because 
human
 western society is in its post-competence era. It doesn't matter whether you can do your job, only whether your manager thinks you are, and they don't understand your job so they use all the wrong metrics.

Like whether there's a checkbox you have to click, and whether it spins for a while when you click it. That's a CAPTCHA now. And working is when your butt is in the chair. And investing is when you give someone money and they promise to give more back tater. And food is things that fit in your mouth and don't kill you. And free speech is when you get turned away at the border for disliking the president on social media. And top-of-the-line CPUs are ones that die within 24 months. Meanwhile the totalitarian dictatorship across the pond actually does all these things better somehow (except the politics). https://en.wikipedia.org/wiki/HyperNormalisation#Etymology
by panarky | 2025-05-15 19:42:42+00:00
If you had any significant assets on Coinbase at any time prior to this breach, spear phishing is the least of your worries.

Coinbase not only leaked your full name and address, they also gave up your balances, your transaction history, and images of your government identification.

People with "significant" crypto balances are being assaulted on the street and in their own homes, and family members are being kidnapped for ransom.

"Significant" in this case can be $10k or less.

Until now, your best defense secrecy. Never talk about crypto in public in any way that could be traced to your real-world identity.

Thanks to Coinbase that defense is now gone.

The bad guys can see who has ever had a significant balance on Coinbase (even if they don't right now), whether that balance was sold for cash and how much, or if you've ever transferred tokens off the exchange to a self-custody wallet.

Now the bad guys know who's worth kidnapping for ransom and where you live. For most people, a Google search of your name and home address turns up the names of family members who would would also be lucrative targets for kidnapping and threats of violence.

Coinbase will never be forced to reimburse all the damage they've done because the true cost would bankrupt the company.
by staunton | 2025-05-15 19:42:52+00:00
Arguably, if building quantum computers leads to quantum mechanics being falsified, that completely justifies the effort of trying to build them.

The "disappointing" scenarios would be either that the engineering task turns out to be so hard that it stays "20 years away" for another century, or that quantum computers get built but nobody can find a really impactful and useful application.
by psunavy03 | 2025-05-15 19:43:14+00:00
Carrier radars are not "just for air traffic control." The CVN needs its own way of being able to see its surroundings and cue its own self-defense weapons. Technology evolves, and the means to do this evolve with it. The reason carriers are getting SPY-6 is to replace other radars that are older and have the same job: letting the ship see what is around it.

As another poster mentioned, redundancy is a thing. Suppose you don't have an E-2 up and you need to launch a fighter alert. Someone needs to direct that intercept and it's better not to have a single point of failure. Better for those fighters to have the ability to be directed from an E-2, or the CVN, or the shotgun cruiser . . . whatever makes sense at that time.

And the Navy trains for emissions control or EMCON for short. There are tactics, techniques, and procedures not appropriate for discussion here about how ships and formations of ships are expected to do their business when it doesn't make sense to be radiating sensors.
by inglor_cz | 2025-05-15 19:43:23+00:00
"I can tell you those 0.1% aren't black."

Is Jacob Zuma now white or what?

And what is precisely the connection between the richest tycoons out there and the rural farmers that get killed? The tycoons sure as hell have good security, murderous gang activity isn't their problem.

Is your basic idea is that when some (white, Jewish etc.) people are rich, thus all (white, Jewish) people must pay for their sins with their blood, because of the shared ethnicity?
by sundarurfriend | 2025-05-15 19:44:00+00:00
The amount of work that's been put into Fortran by the LFortran [1] folks and others in recent years [2] is nothing short of absurdly impressive!

[1] https://lfortran.org/

[2] "in recent years" because that's when I became aware of this stuff, not to say there wasn't effort before then
by FireBeyond | 2025-05-15 19:44:00+00:00
I use a StreamDeck with MuteDeck (which basically provides a consistent tooling for the buttons regardless of Teams/Zoom/Meet).

MuteDeck can also integrate with hardware tools, specifically the Plenom Busylight (https://busylight.com/), which actually got a lot more reasonable price-wise from my memory ($50). They have a couple of different types of light mount.

But for now I'm fine - I work from home, desk is in the middle of the room facing the door (so camera is aimed at me and far wall). If my partner walks in, she can see the camera status on my Insta 360 camera on my monitor which has a green light visible from any direction if the webcam is live.
by panick21_ | 2025-05-15 19:44:08+00:00
This misses a huge part of the story, increase in productive, means a large economy, means more efficient use of resources, means compensation goes up over time. If you want to live the live of somebody that did 40h a week 40 years ago and only work 20h, you can already have most of that, and still have many options somebody back then didn't have that is virtually free.

The actual realization is that most people simple rather work 40h a week (or more) and spend their money on whatever they want to spend their money on.

Specially many of us here, can do so easily. I personally work 80% and could reduce it further if my goal was maximum leisure.

By far the biggest reason it doesn't feel that way, is that housing polices in most of the Western world have been utterly and completely braindead. That and the ever increasing cost of health care as people get ever older and older.
by napolux | 2025-05-15 19:44:09+00:00
LEGO set 94107 was a 2021 GitHub swag box. The 82-piece kit builds a BrickHeadz-like Octocat at his desk, and the set number is a cheeky nod to GitHub HQ’s ZIP code (94107, San Francisco).

Only a few hundred exist, so boxed copies hover around $350; the parts list is free on Rebrickable if you want to DIY it.

https://rebrickable.com/sets/94107-1/developer/#parts

Alternative clip pieces codes: https://chatgpt.com/share/682643c9-0af8-8003-8274-12e94d6fe6...
by settsu | 2025-05-15 19:45:20+00:00
You complain about oversimplification, then in the same breath complain about "random political stuff" being included. How is that not hypocritical, at best? This medical breakthrough would literally have not been possible without "politics". Get your head out of the sand. No one should be able to escape learning how their politics affects them or the society they are a part of. And if you want to enjoy the benefits of that society, then you don't get to complain about being reminded of how those benefits were achieved.

Pandering to people's fragile political sensibilities is how the U.S. got to this point where millions of citizens voted against their own self-interest because they thought candidates running on anti-intellectual, anti-science platforms was worth the zero sum "win".

Enjoy your weekends, eight hour workdays, clean air, and clean water—whether you like that those were all political or not!
by paolop | 2025-05-15 19:46:01+00:00
Thanks for reading, vaidhy! Not sure those assumptions are in there to be honest. The chart is simply to compare replacing "devs" with "devs + AI" to obtain the same output vs. keeping the same number of devs and increase the overall output. We can debate the multiplier, but it's math that with the same multiplier, more devs will produce more output, all things being equal.

If what you are saying it's true, i.e. AI is borderline useless, it should not be used as a reason to justify layoffs, right?

Finally, I was lucky enough to get a lot of my work prioritized - that paragraph was just trying to be the usual funny interaction between PMs and devs. I guess it didn't work. The main point remains - products today are not that polished or complete, so clearly some code is not being written or fixed.
by nonameiguess | 2025-05-15 19:46:34+00:00
> How many people could we save if an equivalent amount was put into reducing obesity, smoking, and drinking?

How confident are you the answer isn't very close to zero? We've already curtailed smoking quite a bit in the past 30 years. At the level of an individual, it isn't any particular mystery how to stop obesity or to simply not drink, but population-level interventions attempting to get people to voluntarily behave differently for their own health historically haven't worked well in these specific domains. Throwing more money at the problem doesn't seem like it would obviously change that.

Also keep in mind that overeating and alcohol addiction have significant genetic components. Research into gene editing has the eventual potential to cure damn near any disease, including whatever pet causes you personally think are worth defeating.
by RugnirViking | 2025-05-15 19:46:37+00:00
In general the US carrier force in ww2 was well known for having excellent redundancy and damage/fire control. Its a doctrinal thing, and a legacy they're quite proud of.

For example, USS Yorktown (CV-5) - took bomb and torpedo hits, with flooding and fires. Limped to pearl harbour, Was repaired in !!3 days!! and sent right back out to battle, where she was extremely heaviliy damaged again, but kept afloat through several days of bombardment before sinking.

USS Enterprise (CV-6) - hit by several bombs, a large fire in multiple compartments started. Fire control and damage repairs got the flight deck partially operational for launcing and recovering flights within an hour

USS Franklin (CV-13) - took almost 600 casualties, and had massive fires and ammunition explosions and fuel explosions. Despite extreme damage, she limped back to home port. Her survival is considered one of the greatest acts of shipboard damage control in naval history.

there are several more. A part of this is a difference in their design - british and french carriers used thick armoured flight decks, wheras the americans sacrificed these for speed and internal machinery space
by aucisson_masque | 2025-05-15 19:47:01+00:00
The issue with push notification isn't for the app you build yourself but all the other like your bank app, it won't be able to send you a message when you got to validate something or when my Xiaomi cleaning robot is done cleaning for instance. They all require Google play services.

Reflashing another os ? What issue does it solves ? It's less secure, they still need the Google play services to push notifications.

Grapheneos may be a bit better but it locks you to only one Android device : pixel. They are overpriced, have quality control issue and run poorly.

900€ for a pixel 9 that use Samsung hardware, overheat when I can get a s25 for the same price, that funnily enough don't use Samsung hardware but Qualcomm :)

I believe 900€ is enough even for an iphone that will run much better than pixel.

> Personally I've never had issues with Samsung modems and I am honestly confused what people are doing with their phones that require high power CPUs.

I couldn't care less too about CPU power, but cpu energy usage and the phone being able to make and receive call is what's been the issue with pixel since the 6.
by gchamonlive | 2025-05-15 19:47:53+00:00
> When people don't know how the computer actually works, their code is wrong - they get bugs and vulnerabilities they don't understand and can't explain.

While this is true, we're usually targeting a platform, either x86 or arm64, that are incredibly complex pieces of engineering. Unless you are in the IoT or your application requires you to optimize at the hardware level, we're so distant from the hardware when we're programming in python for instance that the level of awareness required about the hardware isn't that much more complicated than the basic Turing machine.
by jamesblonde | 2025-05-15 19:48:16+00:00
In Data for ML, everything has switch from NumPy (Pandas) to Arrow (Polars, DuckDB, Spark, Pandas 2.x, etc). However, Scikit-Learn is still a hold out, so it's Arrow from you data sources all to way to pre-processing pipelines in Scikit-Learn when you have to go back to NumPy. In practice, it now makes more sense to separate feature pipelines in Arrow from training pipelines with Pandas/NumPy and Scikit-Learn.*

*This is ML, not Deep Learning or Transformers.
by AStonesThrow | 2025-05-15 19:48:21+00:00
HIPAA is not designed to protect consumer or patient privacy. That is a silly fiction that voters and constituents believe in order to prop up the legislation.

HIPAA is designed to protect the privacy of providers, clinics, hospitals, and insurance carriers. HIPAA is designed to make it maximally difficult to move PHI from one provider to the next. HIPAA is designed to make it maximally difficult for plaintiff attorneys to discover incriminating malpractice evidence when suing those providers. HIPAA is a stepping-stone to single-payer insurance.

HIPAA also makes it maximally difficult to involve other people, providers, and entities in your health care. No entity under HIPAA can legally divulge the slightest tidbit to your brother, your parents, or anyone who contacts them, unless an ROI is on file. Those ROIs are a thing you have to go pursue on your own -- they are never offered or suggested by the provider -- and those ROIs will expire at the drop of a hat -- and you never know if an ROI is valid until it is tested at the point of that entity requesting information.
Show HN: Runik – generate e-reader dictionaries for fictional worlds
by skoutXII | 2025-05-15 19:48:34+00:00
One of my favourite features of modern e-readers is the built-in dictionary. I love the convenience of being able to define a word while I read without breaking immersion.

As a fan of fantasy and sci-fi, I’ve always wanted an extended version of this feature that includes definitions of people, places, and things unique to the world I’m reading about. So I made Runik!

Runik parses the content from fan wikis (like fandom.com) and generates e-reader compatible dictionaries. It allows you to make edits and additions to the dictionaries you generate and install them directly onto your device (currently supports Kobo and Kindle).

I originally built Runik with friends as part of a class project. It started as a web app, but I later rewrote it as a desktop app for performance and hosting cost reasons.

Runik is written in Go (using the wails framework) and svelte for the frontend. It’s still in early development — feedback is appreciated!

Note: Kindle dictionary conversion requires `kindlegen` which comes bundled with the Kindle Previewer app (details in the README).

https://runik.app/
by conductr | 2025-05-15 19:48:46+00:00
It’s my biggest gripe. They can pretty accurately flag a number as Spam or Telemarketing but in the “Silence Unknown Callers” setting I can only silence every single unknown caller. I can’t silence every single number that’s not in my contacts. When the plumber calls to confirm he’s in route, my phone needs to ring. Stuff like that.
by Daviey | 2025-05-15 19:49:00+00:00
The comparisons between AI systems and "PhD-level" intelligence don't really make sense as a meaningful benchmark, and I agree with your assessment of what a PhD actually represents.

A PhD isn't simply a marker of raw intelligence or knowledge retention, it represents years of specialised training, critical thinking development, original research, and the creation of new knowledge. The process involves learning to identify meaningful questions, design appropriate methodologies, interpret results with nuance, and contribute novel insights to a field.

I've been thinking about this from another angle though: what if we considered "PhD-level" more narrowly in terms of context window capacity? Since an average PhD dissertation is around 70K words (translates to roughly 90-100K tokens in most LLM tokenization schemes), perhaps one benchmark could be whether an AI system can maintain the equivalent context. By this definition, several current models would technically qualify:

- Claude 3.5 Sonnet: 200K tokens - GPT-4o: 128K tokens - Claude 3 Opus: 200K tokens - Anthropic's experimental systems: ~1M tokens - Google Gemini Ultra: 1M tokens

But this framing has significant limitations. Context window is just raw capacity, like saying a hard drive with enough storage for a dissertation is "PhD-level." The ability to simply retain 70,000 words of context doesn't mean a system can identify significant gaps in existing knowledge, formulate original research questions, or synthesize new insights that advance human understanding.

Current AI systems, regardless of context window size, don't truly "understand" information the way humans do. They recognise patterns in data and generate outputs based on statistical relationships, but lack the deeper conceptual understanding, intentionality, and the other characteristics of human intelligence.

A more meaningful comparison might focus on specific capabilities rather than vague intelligence comparisons or simple context metrics. The goal shouldn't be simply to declare AI systems as "PhD-level smart" but to develop tools that complement human intelligence and extend our collective problem-solving capabilities.