MurphyA/hacker-news huggingface dataset:
by CamperBob2 | 2026-01-20 16:33:52+00:00
Yes, sorry; I added 'eligible' to emphasize how many people failed to vote at all.

Unfortunately, my understanding based on reported surveys [1] is that if the non-voters had voted, Trump's margin of victory would have been even greater. If that's the case, then those who say that my 1/3 figure is too low are correct.

1: https://www.politico.com/news/2025/06/26/2024-election-turno...
by jcranmer | 2026-01-20 16:33:53+00:00
There is utility for having a reserved set of opcode space for "NOP if you don't know what the semantics are, but later ISAs may attach semantics for it," because this allows you to add various instructions that merely do nothing on processors that don't support them. The ENDBR32/ENDBR64 instructions for CET, XACQUIRE/XRELEASE hints for LOCK, the MPX instructions, the PREFETCH instructions all use reserved NOP space (0F0D and 0F18-0F1F opcode space).
by toomuchtodo | 2026-01-20 16:33:54+00:00
The US military spent $4T-$6T in Iraq and Afghanistan, losing ~7k soldiers and ~52k wounded [1]. The US has one of the highest per capita of gun ownership and less than a million soldiers on US soil [2] [3]. Federal supremacy is based on the concept of the US military winning a conflict when they haven't won one since WW2. Force projection via military hardware and popping into Venezuela to extract its leader is a far different proposition than urban combat where your home and family is on the same soil.

I very much hope civil war is unlikely, but the federal government is vastly undermanned if a conflict occurs on US soil.

(have four siblings who have decades in combined military tours across all service branches except the coast guard, and I leverage them as a resource collectively in these matters)

[1] https://www.fcnl.org/updates/2016-10/costs-war-numbers

[2] https://usafacts.org/answers/how-many-troops-are-in-the-us-m...

[3] https://usafacts.org/articles/how-many-people-are-in-the-us-...
by complianceowl | 2026-01-20 16:34:46+00:00
The EU and Canada is upset because of Trumps use of force to remove a dictator and acquire land via direct negotiations with Greenland natives. Their response? Develop a deeper relationship with a communist country and dictator who has literal concentration camps, slave-like working conditions for a large segment of its workers, complete disregard for the environment by polluting its oceans and swaths of government-sponsored fishing boats that empty the oceans of its fish via a complete disregard for abiding by commercial fishing regulations; subsidizes one of the most ruthless and oppressive regimes known to man -- North Korea, and uses the North Koreans to harvest organs for use in China.

I get it: Trump is a degenerate person, not a role model, and extremely brash, but people's hate for him has completely blinded them of basic reasoning. No, Trump is not Hitler or anything remotely close.

As Americans, we need to stop calling every political opponent that we disagree with Hitler.
by eggy | 2026-01-20 16:34:53+00:00
Do you the think the EU and its individual country members from 1949 to present carried their fair share of the NATO spending ($55 to $60T), or troops and equipment deployments, or did they "default" on their side of the treaty? The US has paid 65 to 70% of the total of $1.4 to 1.5T/year from 2018 to 2025. That's 9.8T in 8 years (2018 included). Our soldiers, not theirs, carried the weight. If you go per capita, The US has spent an overage of $13 to $16T in 2025 dollars. Let's credit the account for that and see who owes who...
by rethinkNow | 2026-01-20 16:35:06+00:00
We are currently working on adding image redaction support to Axonflow. This feature became a priority as it was a core requirement for a secured browser feature I have been developing.

I have already forked the community codebase and am actively working on the implementation to ensure sensitive data in images is protected before reaching public APIs. I will share updates as soon as it's ready for use.
by Marsymars | 2026-01-20 16:37:02+00:00
Yes, of course, you can't lie as a business, but if someone walks into Walmart and searches for "Pikachu?", Walmart employees are free to be trained to use the trademarked term and reply "You don't want Pikachu, consider Digimon!"

(It's a contrived hypothetical, but the closest I could get to a meat-space version of search keywords.)
by subscribed | 2026-01-20 16:37:05+00:00
I tried Niagara myself, but that's not for me. I need more than one widget, very different weather widget, and quick access to the full drawer.

Separately it openly states in the privacy policy it states your location with third parties (or at least did 2 months ago). Big GTFO from me at this point.

I also tried and loved Kvaesito, but sadly their strict "one widget per line" limitation is where I bailed out. I use a number of 1x1 and 1x2 widgets so this basically breaks it down for me.

Looking forward for the Nova replacement :(
by jwr | 2026-01-20 16:37:16+00:00
Not really, because I no longer remember. I only remember bugs and frustration. But I looked at my code quickly and found this:

;; Let's render radio buttons ourselves. Because of bugs in React and Chrome, radio buttons mysteriously stop working.

;; https://stackoverflow.com/questions/48423061/radio-buttons-n...

;; https://github.com/facebook/react/issues/3446

followed by my own implementation of radio buttons, followed by:

;; Original implementation, to be used when radio buttons actually work:

followed by an implementation using an input of type radio, commented out.
Show HN: SolScript – Write Solidity, compile to Solana programs
by ticktockten | 2026-01-20 16:37:19+00:00
Hey HN,
I built SolScript, a compiler that lets you write smart contracts in Solidity syntax and deploy them to Solana.

The problem: Solana has mass dev interest (17k+ active developers in 2025), but the Rust learning curve remains a 3-6 month barrier. Anchor helps, but you still need to grok ownership, lifetimes, and borrowing. Meanwhile, there are 30k+ Solidity developers who already know how to write smart contracts.

SolScript bridges that gap. You write this:

contract Token {
mapping(address => uint256) public balanceOf;

function transfer(address to, uint256 amount) public {
balanceOf[msg.sender] -= amount;
balanceOf[to] += amount;
emit Transfer(msg.sender, to, amount);
}
}

And it compiles to a native Solana program with automatic PDA derivation, account validation, and full Anchor compatibility.
How it works:

- Parser turns Solidity-like source into an AST - Type checker validates and annotates

- Two codegen backends: (1) Anchor/Rust output that goes through cargo build-sbf, or (2) direct LLVM-to-BPF compilation - Mappings become PDAs automatically, account structs are derived from your type system

What's supported:

- State variables, structs, arrays, nested mappings

- Events and custom errors

- Modifiers (inlined)

- Cross-program invocation (CPI)

- SPL Token operations - msg.sender, block.timestamp equivalents

Current limitations:

- No msg.value for incoming SOL (use wrapped SOL or explicit transfers) - No Token 2022 support yet (planned for v0.4) - Modifiers are inlined, so keep them small

The output is standard Anchor/Rust code. You can eject anytime and continue in pure Rust. It's a launchpad, not a lock-in.

Written in Rust. Ships with a VS Code extension (LSP, syntax highlighting, go-to-definition, autocomplete).

Install: cargo install solscript-cli

I'd love feedback on the language design, the compilation approach, or use cases I haven't thought of. Happy to answer questions about the internals.
by drob518 | 2026-01-20 16:37:28+00:00
Exactly. And are you going to break it one day just because and force every node to run the new version of firmware to stay active. I like implementers who show some transparency and some self-reflection about the limits of the protocol. And to be clear, in looking through the other docs in the Reticulum repo, it looks like there are more protocol details there, so maybe Reticulum has that transparency.
by danny_codes | 2026-01-20 16:37:35+00:00
Not in one year no, but in 5-10 years, certainly. Solar is cheaper than coal in China today and they blew through their capacity targets. I was just there and the EV adoption is phenomenal. The buses, even some heavy trucks are EV.

If this pace keeps up for 10 years I don’t see how methane will be useful in the energy sector. Let’s face it, we’re investing in a dying industry. In 20 years our kids (or grandkids) will laugh at any country burning methane to make electricity.
by palmotea | 2026-01-20 16:37:42+00:00
> It's incredible to see cops just openly bragging about abusing the access they have.

How is it abusing access? They setup an ad for prostitution, which I presume is illegal, and were getting contacted by people interested in committing a crime. It seems legitimate investigative activity to look up the numbers. Even if the johns were in another state, I suppose they could forward the information onto the police in that area.
by NewCzech | 2026-01-20 16:37:59+00:00
He doesn't really address his own question.

He's answering the question "How should options be priced?"

Sure, it's possible for a big crash in Nvidia just due to volatility. But in that case, the market as a whole would likely be affected.

Whether Nvidia specifically takes a big dive depends much more on whether they continue to meet growth estimates than general volatility. If they miss earnings estimates in a meaningful way the market is going to take the stock behind the shed and shoot it. If they continue to exceed estimates the stock will probably go up or at least keep its present valuation.
by drumhead | 2026-01-20 16:38:00+00:00
It's not going to be replaced any time soon, there's no realistic replacement at the moment, but there is a slow movement away from it. We've already seen a stampede into gold from central banks. And pimco have said they're going to relocate funds out of dollar debt.

After the nonsense with Greenland no one really wants to give anymore financial power to the US so we'll see more assets kept in local currency or different reserves currencies like the Euro, Yen, Sterling, or ChF.
by ErroneousBosh | 2026-01-20 16:38:04+00:00
You might get other byproducts but in quantities barely large enough to measure and certainly too small to make any difference.

If you bring out the paper on how cooking with gas fills your house with toxic smoke and the only safe way to cook is an induction stove, I'll show you why it's utter bunk. The TL;DR of it though is that induction stoves emit far more combustion products than gas stoves, if you pick your operating conditions carefully.
by ori_b | 2026-01-20 16:38:06+00:00
> Can you show us how an fsck would discover this bug but ZFS could never?

I'd have to read closer to be certain, but if my understanding of it is correct, you'd have orphaned objects in the file system. The orphaned objects would be detectable, but would have correct hashes.

Here's a better example of one where scrub clearly doesn't catch it, but fsck would (and zdb does). The metaslab structure could be checked in theory, but isn't. https://neurrone.com/posts/openzfs-silent-metaslab-corruptio...

> if so, wouldn't this just be a bug, like (a bug in) fsck, not some fundamental limitation of the system?

It's not a bug or a fundamental limitation of the system, it's just that fsck != scrub, and nobody has written the code for fsck. If someone wanted to write the code, they could. I suspect it wouldn't even be particularly hard.

But fsck != scrub, and they catch different things.
by sunaurus | 2026-01-20 16:38:22+00:00
The US does not benefit from a stronger, more unified Europe. Thanks to NATO, "the west" has effectively become an empire in all but name, with the US having enough influence to be the de facto leaders of this empire.

If US pulls back from NATO, and Europe builds up military power to compensate, then the US loses this de facto leadership seat of an empire.

Today, the US appears in parallel to be doing two things:

1. Causing fragmentation in Europe, by promoting right-wing nationalist politics in the EU

2. Threatening to drastically reduce their role in NATO

At the very least we can both agree that these two efforts are completely in contradiction with each other, and it's very unlikely that Europeans will want to go for more fragmentation without the military power of the US on their side, right?
by gunapologist99 | 2026-01-20 16:38:23+00:00
I think parent was referring to how challenging it is to move data (files like photos and other types of files, all of which are only accessible through apps with those specific capabilities) out of the Apple mobile ecosystem and to something non-Apple-ish.

This is still true even if you use a Mac as an intermediary (if you have one), which also implies that you're probably going to be using iCloud to sync those as well.

Bottom line: it's exceptionally difficult, even for tech-forward Apple-philes, to move your own data off your iPhone without actually going DEEPER into the Apple ecosystem, and Apple has been actively removing capabilities and neutering apps like NextCloud etc (always for 'privacy' or 'security' reasons) to make it MORE difficult to exfil your own data.
by Pet_Ant | 2026-01-20 16:38:41+00:00
This is a non-sequitor.

Google has no constitutional right to exist or have accurate search results either. However, it's value depends on the quality of their search results.

People outside the US don't care about the particulars of the US constitution like it's a holy document, but rather the US governance as a whole and whether it's well-ordered, lawful, and predictable.
by munk-a | 2026-01-20 16:38:53+00:00
It isn't prohibited by the constitution and was created as an independent body. You are correct that it wasn't specifically outlined by the constitution but that's an empty statement - the constitution included the allowance of the creation of agencies and laws outside of itself... that's the main power and strength of the constitution.

Your statement was equivalent to saying that Hacker News has no constitutional right to exist - it is equally vapid.
Show HN: Mastra 1.0, open-source JavaScript agent framework from the Gatsby devs
by calcsam | 2026-01-20 16:38:56+00:00
Hi HN, we're Sam, Shane, and Abhi.

Almost a year ago, we first shared Mastra here. It’s kind of fun looking back since we were only a few months into building at the time. The HN community gave a lot of enthusiasm and some helpful feedback.

Today, we released Mastra 1.0 in stable, so we wanted to come back and talk about what’s changed.

If you’re new to Mastra, it's an open-source TypeScript agent framework that also lets you create multi-agent workflows, run evals, inspect in a local studio, and emit observability.

Since our last post, Mastra has grown to over 300k weekly npm downloads and 19.4k GitHub stars. It’s now Apache 2.0 licensed and runs in prod at companies like Replit, PayPal, and Sanity.

Agent development is changing quickly, so we’ve added a lot since February:

- Native model routing: You can access 600+ models from 40+ providers by specifying a model string (e.g., `openai/gpt-5.2-codex`) with TS autocomplete and fallbacks.
- Guardrails: Low-latency input and output processors for prompt injection detection, PII redaction, and content moderation. The tricky thing here was the low-latency part.
- Scorers: An async eval primitive for grading agent outputs. Users were asking how they should do evals. We wanted to make it easy to attach to Mastra agents, runnable in Mastra studio, and save results in Mastra storage.
- Plus a few other features like AI tracing (per-call costing for Langfuse, Braintrust, etc), memory processors, a `.network()` method that turns any agent into a routing agent, and server adapters to integrate Mastra within an existing Express/Hono server.

(That last one took a bit of time, we went down the ESM/CJS bundling rabbithole, ran into lots of monorepo issues, and ultimately opted for a more explicit approach.)

Anyway, we'd love for you to try Mastra out and let us know what you think. You can get started with `npm create mastra@latest`.

We'll be around and happy to answer any questions!
by omgJustTest | 2026-01-20 16:39:06+00:00
Currencies fundamentally relate to some trust.

I believe that the near-term de-dollarization isn't as much trust erosion as it is a tool to provide monetary penalty for behaving in unpredictable ways.

However it will provide incentive to move away from the dollar in the long-term, ie as Fareed Zakaria says "recent actions are accelerating the world to the multipolar future".
by jacquesm | 2026-01-20 16:39:44+00:00
Keep in mind that there are many such 10 to 100 billion funds and they can move very fast if they have to. If the feeling is that the value of the USD is going to be lower in the near future they will divest and before you know it the threat becomes reality simply because it is predicated on a belief. Kill the belief and the actions will follow automatically. This could be the first and it could be the only or it could be the first of many.
by foltik | 2026-01-20 16:39:52+00:00
Then let’s be precise about the claim.

If you’re saying “phones can’t replace VHF radios or repeaters for reliable long-range comms”, agreed. Nobody disputes antenna theory, and nobody is arguing for unregulated or high-power transmitters.

But if you’re saying “because of those limits, phone-native p2p shouldn’t exist at all”, that conclusion does not follow. Limited range and imperfect reliability still permit real, local, best-effort use cases, several of which have already been raised in this thread.

The point is precisely to fill the gaps, so phones aren’t completely useless when you can’t reach a cell tower and don’t have an HT handy. Most people will never carry radio gear, but will have a phone on them when something goes wrong.
by corimaith | 2026-01-20 16:39:59+00:00
>And who takes its place?

Anybody who can (EU, Yuan) does not want to. Primairly because as export based economies, they want a weak currency in relation to a strong reserve (dollar) so they can make their goods more competitive, and also because surplus naturally appreciates a currency without central bank intervention via buying US treasuries to offset the appreciation. And for China, they're not going to accept the liberalized capital controls neede for it either.

So the answer is if the US dollars fail it would be global economic collapse and then chaos, but contrary to the rhetoric the rest of the world's economic systems are too uniquely vested in the USD to see it fail. As for gold, well we come to the same problem as noted above but worse, and in that situation the US actually holds the highest gold reserves so they still benefit the most out of it.
Show HN: ChartGPU – WebGPU charting library, 1M+ points at 60fps
by huntergemmer | 2026-01-20 16:40:03+00:00
Hi HN, I built ChartGPU because existing webgpu libraries are paid-for libraries like Scichart. F that. Keep it, I'll just build my own and make it open source :)

The problem: I needed to visualize 1M+ data points for [your use case]. ECharts, Chart.js, and others dropped to single-digit FPS.

The solution: Built a charting library from scratch using WebGPU. Key features:
- Line, area, bar, scatter, pie charts
- LTTB downsampling on GPU
- Real-time streaming support
- ECharts-style declarative API
- React wrapper included

Live demo: https://chartgpu.github.io/ChartGPU/
npm: https://www.npmjs.com/package/chartgpu

WebGPU requires Chrome 113+ or Edge 113+. No Safari yet.

Would love feedback on the API design and what chart types to prioritize next.
by abustamam | 2026-01-20 16:40:27+00:00
Yeah I'll often look for something specific and I'll see listings that have nothing to do with what I'm looking for. Like I think I was looking for wide mouth nipples for baby bottles, a specific brand and model, and I was seeing baby toys. Like ok, they surmised I have a baby... But don't show it to me as a result for a query for something completely different.
Ask HN: How do you keep system context from rotting over time?
by kennethops | 2026-01-20 16:40:36+00:00
Former SRE here, looking for advice.

I know there are a lot of tools focused on root cause analysis after things break. Cool, but that’s not what’s wearing me down. What actually hurts is the constant context switching while trying to understand how a system fits together, what depends on what, and what changed recently.

As systems grow, this feels like it gets exponentially harder. Add logs and now you’ve created a million new events to reason about. Add another database and suddenly you’re dealing with subnet constraints or a DB choice that’s expensive as hell, and no one noticed until later. Everyone knows their slice, but the full picture lives nowhere, so bit rot just keeps creeping in.

This feels even worse now that AI agents are pushing large amounts of code and config changes quickly. Things move faster, but shared understanding falls behind even faster.

I’m honestly stuck on how people handle this well in practice. For folks dealing with real production systems, what’s actually helped? Diagrams, docs, tribal knowledge, tooling, something else? Where does it break down?
by duhprey | 2026-01-20 16:40:50+00:00
So insightful! This idea that some people just like the puzzles and some people like the control struck me. I get why Factorio is addictive but I can't really stand to play it much. I'd rather be refactoring something useful. And the idea that the same mentality covers forum mods. This is incredibly helpful to understand some of my friends and colleagues a little better.
by _fat_santa | 2026-01-20 16:41:19+00:00
This article goes more into the technical analysis of the stock rather than the underlying business fundamentals that would lead to a stock dump.

My 30k ft view is that the stock will inevitably slide as AI datacenter spending goes down. Right now Nvidia is flying high because datacenters are breaking ground everywhere but eventually that will come to an end as the supply of compute goes up.

The counterargument to this is that the "economic lifespan" of an Nvidia GPU is 1-3 years depending on where it's used so there's a case to be made that Nvidia will always have customers coming back for the latest and greatest chips. The problem I have with this argument is that it's simply unsustainable to be spending that much every 2-3 years and we're already seeing this as Google and others are extending their depreciation of GPU's to something like 5-7 years.
by hnburnsy | 2026-01-20 16:41:44+00:00
For those who are not bothering to read this,the article essentially states that de-dollarization is happening in pockets (e.g., reserves down to ~58-60%, Treasuries foreign ownership at 30%), but the dollar's core dominance persists.

What would replace it? I guess the options are Yuan, Gold, Oil or maybe BRICS in the future, none of which are safe, stable, and liquid.
by zamadatix | 2026-01-20 16:41:55+00:00
Different RIRs & LIRs have different policies, but the "foolproof" way is to just set up an LLC and register resources through that. There are usually renewal fees as well. If you're not hoping to be able to sell them after you get them, a careful reading of RIR policies can usually net you one or two /24s without needing to buy any blocks.

In either case, if you end up with internet resources you can trawl through sites like https://bgp.services/ to find a cheap VPS provider near you that supports peering. I run my own AS and advertise 3 network blocks (2 IPv4 + 1 IPv6) out of 2 different DCs for several hundred $ per year all in all (including renewal fees, VPS, taxes, etc).
by almusdives | 2026-01-20 16:42:21+00:00
I appreciate that this figure is showing that the relative scarcity of gold compared to oil increasing, but I'm not sure what it's saying, or is interesting beyond that? Is this reflecting a global shift towards natural gas rather than oil, or reflecting investors are particularly nervous since covid, for example?

Obviously, you can't drawn any hard conclusions, but I was wondering what the OP was thinking narratively when posting.