MurphyA/hacker-news huggingface dataset:
by gruez | 2026-03-05 15:34:44+00:00
>I can't prove that there was any White House advisory memo before the tariffs were announced, but hypothetically, would this not be considered material nonpublic information?

Was the hypothetical "White House advisory memo" produced using any proprietary information? If not, why should it be any different than if I hired a bunch of top lawyers to produce a private report for me?
by SurvivorForge | 2026-03-05 15:35:01+00:00
The observation about AI being more useful as a "thinking partner" than a code generator matches my experience exactly. The flip moment for me was when I stopped asking the AI to write code and started asking it to explain unfamiliar codebases, review my architecture decisions, and suggest approaches I had not considered.

The other thing that made a massive difference was investing in project context files. Most teams use AI tools with zero project-specific context — the AI knows nothing about their conventions, patterns, or architecture decisions. It is essentially a smart stranger every session.

When you give the AI a well-written .cursorrules or similar context file that encodes your team's actual patterns — naming conventions, preferred libraries, error handling approach, testing philosophy — the output quality jumps dramatically. Instead of generating generic React code, it generates code that looks like YOUR team wrote it.

I have been maintaining cursor rules across 16 frameworks and the pattern is consistent: teams that invest 30 minutes upfront writing good context files get maybe 3-5x more useful output from AI tools than teams using them out of the box. That initial setup cost is what makes the difference between "neat toy" and "actually changed my workflow."

The social contagion effect you describe (one engineer starts, others follow quickly) is real too. In my experience it usually starts with someone sharing a particularly impressive AI-assisted debug session or refactor, and then everyone wants to know how they set it up.
by giancarlostoro | 2026-03-05 15:35:11+00:00
> I understand the frustration but I don't understand the logic. The businesses who paid the tariffs (who were literally sent an invoice that they paid) should be the ones refunded.

So if I'm the owner of Uncle Billy Bobs Autoparts and I ship from Madeupcountry. I billed you $500 extra for some new car part. The US government refunds me on the tariffs they charged me to import my product to you, and now your taxes is going into my refund. Who wins in this scenario? They're effectively giving every country a free bonus. I wouldn't be surprised if some people got scammed by the tariffs by being overcharged.

There's no serious paper trail to any of this to meaningfully return lost revenue to the American consumer, I would rather not waste tax dollars on refunds.

I guess the only "winners" are maybe businesses that didn't pass on the revenue loss on to the consumer? But how do you even correctly refund those businesses?
by coldpie | 2026-03-05 15:35:20+00:00
If the government charges the importer $20 and the importer charges me $20, then I am in effect the one who paid the duty. If the refund goes to the importer, and it does not come back to me, then the government and the importer have colluded to rob me of $20. This isn't an accident, the owners of the import companies who will benefit from this theft were almost certainly all Trump supporters.

In reality, half of the funds will go to that. Maybe even some tiny portion of it will genuinely make its way back to the people who actually paid the duties. This is the fig leaf to which I referred. The other half will go to Trump toadies in the form of "mistakes," fraud, corruption, skimming, unclaimed funds, etc. This is the slush fund to which I referred.

In the end, all of it is going to Trump toadies. It's a $130B transfer of wealth to Trump's financial backers.
by wwosik | 2026-03-05 15:36:08+00:00
My experience is totally to the contrary. That American software is overpromoted crap - see you there Salesforce.

I have an (admittedly) older BMW. It just works. At first I thought that the cruise control lever is worse than buttons on the weel. After spending a lot of time in the car - no it isn't, it's much better.
by three14 | 2026-03-05 15:36:17+00:00
Then someone should really update the official python docs that explain the fire-and-forget pattern (https://docs.python.org/3/library/asyncio-task.html#asyncio....)! I had a FastAPI server, and calling a particular endpoint is supposed to kick off some work in the background. The background work does very little CPU work, but does often need to await more work for several minutes, so it's a good fit for asyncio. How do you want it to be structured? (In other words, on the level of human requirements, it IS fire and forget.)
by hackiku | 2026-03-05 15:36:33+00:00
Hi HN, I'm a writer turned aero engineer. Obsessed with Venus colonization for years, so I built a simulator to feel what it's like to fly there.

Veenie simulates Venus' atmosphere in the browser within ~2% of VEGA 1985 telemetry. You can also fly HAVOC, EVE, Landis' cloud city and other aerostats.

The fun part: let an LLM fly the balloon. One-click copy a tactical prompt with live telemetry, resource costs, 5-hour trajectory forecast (computed via Web Workers). Teleport below 40km to see ChatGPT panic:
https://veenie.space/fly?vehicle=EVE&lat=40&lon=-70&alt=3500...

Endgame: Venus at 50km is 0°C, 1 atm, and full of CO₂/H₂SO₄ (methalox fuel) and deuterium (120-1500x vs. Earth). Atmospheric flight there is a slow-twitch strategic game of thermal management that's perfect for AI agents. I'm presenting this at the Lunar and Planetary Science Conference (LPSC) next week to push for crowdsourced AI training data.

Stack: SvelteKit 5, Threlte/Three.js, Neodrag (draggable avionics), singleton for scrollytelling beats.

Physics: Headless TypeScript engine, Web Workers, 4th-order Runge-Kutta integrator, VIRA atmospheric model, subsystems bus.

The physics engine and Mission Control sandbox (https://veenie.space/lab) are fully open source:
https://github.com/hackiku/veenie (go gentle on me, but not into that good night and all)
by jillesvangurp | 2026-03-05 15:36:41+00:00
Batteries work fine right now. Much better than nuclear plants that will take another decade to build. There's probably a few dozens twh of batteries being deployed in between. They retain their charge quite long too.

It's more an economical tradeoff than a technical one. But mostly, people doing off grid setups manage fine in some parts of the world. Winter months are challenging at higher latitudes. But there are also wind turbines and cables as alternatives. Cables allow you to import/export power from further south or further west or east. It's one of those things that might be a lot easier than building a lot of new nuclear power plants.

The issue with gas (aside from emissions) is that gas turbines are a bit hard to get. The lead time for getting new ones is pretty terrible and companies making them aren't exactly eager to make risky investments in extra production capacity for turbines that may or may not be needed in a 5-10 years. And once you manage to get them, you have to supply them with gas; which is expensive. Gas prices fluctuate a lot.

If you look at this through an economic lens, the next ten years will see:

- Hundreds of GW of solar deployed. Every year. Still growing. Probably quite a few TW of capacity added.
- A bit less wind turbines but still quite a lot. The US seems to have some irrational anti wind mill sentiment currently. But that might change. Huge potential there for upgrading old ones too. And offshore wind obviously.
- > 3 twh of battery produced for use in transport, grid, and domestic storage.
- Some new gas plants coming online here and there. But not a lot. Gas usage will grow but renewables will out grow it.
- Probably growing number of GW of cables and long distance cables. Possibly even cross Atlantic.
- Lost of coal plants being decommissioned (just too expensive). Offsetting most of the gw added by gas.
- A sprinkling of nuclear plants coming online. Mostly in Asia. If it's not approved yet, there's no way in hell many will come online before 2036 in the US/EU. A few GW per year.

The big picture here is that if you need a lot of power, you want low cost and feasibility. Gas is feasible. If you can get the turbines. But it's not cheap. If you want cheap, you mainly need to decide on the number of gw of panels you can afford to buy. And where to put them. Or wind. But the point is it's very feasible and quick to execute once you decide on a budget. Battery is not cheap (but still dropping in price year over year). And you may not actually need infinite buffers. You can fall back to gas when needed but as little as you can get away with (because $$).

Any AI/data centers still in business in ten years will probably be competing on energy cost. That's likely not going to be gas or nuclear mostly.
by zdragnar | 2026-03-05 15:36:42+00:00
There's an oversimplified assumption here that the plants will be less nutritious, and so people will eat more calories to make up for the deficit.

I suspect the presence of protein, fats and sugars influence the hormone production regulating appetite far more than these changes account for. I would expect the same health issues to be affecting other animal species in just as drastic a measure as humans if it were true, and also that global obesity happened at a more uniform pace rather than coinciding with the introduction of modern western eating habits and lifestyles.
by insane_dreamer | 2026-03-05 15:36:53+00:00
Technically it might not be "insider trading" since most information (we assume) was public knowledge.

But members of the government being able to trade on matters of government policy is exactly how government corruption works. Previous administrations understood this was important to prevent (Carter putting his peanut farm in a blind trust, the Bush's did the same) but now Trump has made clear corruption is just totally fine (why else become president or a government official).
by danielmarkbruce | 2026-03-05 15:36:58+00:00
>> SCOTUS largely functions as a post-facto legitimization machine for those that appoint them. They do not interpret the constitution so much as serve as god-people in funny costumes that provide the cultural message from god that the actions of their political persuasion were legal (or illegal) even in cases where a historical and literal reading of the constitution would otherwise find you with no way to find them legitimate if not for man in black robe say so.

You keep changing what you are saying.
by SunshineTheCat | 2026-03-05 15:37:22+00:00
I do find it kinda crazy that we had a specific policy surrounding tariffs (Smoot-Hawley) that was in the center of the worst economic collapse in US history.

And now, less than 100 years later we're like "hey let's try that again!"

https://www.visualcapitalist.com/the-average-u-s-tariff-rate...
by semiquaver | 2026-03-05 15:37:32+00:00
I built tools like this at several startups to copy production customer data onto a dev instance for the purpose of bug reproduction.

When I moved to big tech the rules against doing this were honestly one of the biggest drivers of reduced velocity I encountered. Many, many bugs and customer issues are very data dependent and can’t easily be reproduced without access to the actual customer data.

Obviously I get why the rules against data access like that exist and yes, many companies have ways to get consent for this access but it tends to be cumbersome and last-resortish. I think it’s under-appreciated how much it slows down the real world progress of fixing customer-reported issues.
by WillAdams | 2026-03-05 15:37:41+00:00
Guaranteed deployment, and the lack of an IDE which works for both programmers and artists were definitely the two advantages Flash had.

I'd really like to find a replacement which clicks for me the way it did --- started out w/ its predecessor, Futurewave Smartsketch (used it on PenPoint, Mac and Windows, and for Windows, continued using through a succession of pen tablets, most notably my Fujitsu Stylistic ST-4110 which I despair of replacing --- transflective displays went out of vogue).
Feature gating patterns in a multi-tenant Next.js SaaS
by madebyjam | 2026-03-05 15:37:45+00:00
Building a multi-tenant crew management app (Next.js 15, Convex, Clerk). Just shipped the feature tiering system across Free/Pro/Business/Enterprise plans. 25+ gates across every module in two commits.

Three enforcement patterns emerged. Soft limits query the current count from Convex, compare against a tier-specific cap, and render a counter component ("3 of 15 used") that swaps to an upgrade prompt near the limit. Hard gates check planTier from the workspace record and render a full overlay with upgrade CTA when the feature is above the user's tier. Preview gates are a middle ground: the list/summary view renders normally, but clicking into a detail view hits the gate. Used this for scheduling report drill-downs where showing the summary is a better sales tool than hiding it entirely.

The TierBadge component renders tier-colored pills (Free gets smoke, Pro gets honey, Business gets violet, Enterprise gets honey with border). Placed it in the sidebar nav, workspace switcher, billing page, and settings header. The Convex `getUserWorkspaces` query was extended to return `planTier` per workspace so the badge renders without extra lookups.

Tier assignment was the interesting design problem. Crew ratings and achievements went to Free because they drive engagement. Gating engagement to upsell felt counterproductive. Soft limits were set high enough that Free users hit real value before the cap (client tags at 15, crew certifications at 10, venue photos at 10). Hard gates protect operational leverage features: bulk gig actions, labor budgets, overtime rules.

The first commit touched 55 files. Second pass wired the remaining gates I missed and corrected several tier assignments. Not glamorous but having the enforcement pattern standardized made per-module wiring mechanical.

https://jamcrew.io
by matula | 2026-03-05 15:37:50+00:00
> a pirated copy of Flash MX 2004 Pro...

This is an under-appreciated aspect of Flash's popularity, and probably a reason why Animate didn't have the same appeal. A kid could get a "free" cracked copy and make fun things.... and maybe not help Adobe/Macromedia's bottom-line, it DID help the general ecosystem.

Rive seems fine, but monthly subscriptions need to die in a fire. I'm not going to pay $10/month to allow me to build some stupid animation idea I have every few months. There are a few, like GameMaker, that do one-time pricing... but even that doesn't scratch the same itch Flash did for me.
by nekusar | 2026-03-05 15:37:52+00:00
And notice that the refunds are TO THE COMPANIES.

This was the plan from the get-go:

1. Illegal tariffs made
2. Companies pay tariffs
3. Companies sell goods with tariff passed on
4. tariffs deemed illegal
5. companies get refunds on tariffs
6. COMPANIES KEEP TARIFFS
7. The customers get fucked.
by chrisweekly | 2026-03-05 15:38:22+00:00
Obsidian has become almost an operating system for working with markdown. Its Live View / Edit mode is excellent (WYSIWYG) and its ability to accept pasted content and handle it appropriately is good and getting better. Its plugin/extension ecosystem is robust (and has a low barrier to entry), and now that it has a CLI I expect to see an acceleration of clever workflows and integrations.

No affiliation, just a very happy ~early adopter and daily user.
by bee_rider | 2026-03-05 15:38:28+00:00
> One thread per core, pinned (affinity) to separate CPUs, each with their own epoll/kqueue fd

> Each major state transition (accept, reader) is handled by a separate thread, and transitioning one client from one state to another involves passing the file descriptor to the epoll/kqueue fd of the other thread.

So this seems like a little pipeline that all of the requests go through, right? For somebody who doesn’t do server stuff, is there a general idea of how many stages a typical server might be able to implement? And does it create a load-balancing problem? I’d expect some stages to be quite cheap…
by cardanome | 2026-03-05 15:38:56+00:00
If you worked at Microsoft and had access to the Windows source code you probably should not be contributing to WINE or similar projects as there would be legal risk.

So for this case, not much different legally. Of course there is the practical difference just like there is between me seeing you with my own eyes and me taking a picture of you.

"Training" an LLM ist not the same as training a human being. It a metaphor. Its confusing the save icon with an actual floppy disk.

I can say I "trained" my printer to print copyrighted material by feeding it bits but that that would be pure sophism.

Problem is that law hasn't really caught up the our brave new AI future yet so lots of decisions are up in the air. Plus governments incentivized to look the other way regarding copyright abuses when it comes to AI as they think that having competitive AI is of strategic importance.
Show HN: Open Right Zoom, Open Source Alternative to Right Zoom for macOS
by michele0303 | 2026-03-05 15:39:12+00:00
I built a free open source alternative to Right Zoom for Mac.

it makes the green zoom button maximize windows instead of going fullscreen.
Dock and menu bar stay visible, click again to restore. Works with any app.

GitHub: https://github.com/Michele0303/open-right-zoom
by BrunoVT1992 | 2026-03-05 15:39:22+00:00
Paste any GUID / UUID to detect, decode and decompile its version, variant, timestamp (Unix milliseconds / ISO time), RFC variants, Node Identifier (Possibly MAC-address derived) if relevant, embedded fields (time_low, time_mid, time_hi_and_version, clock_seq_hi_and_reserved, clock_seq_low, node), Security warnings and helpful notes.
This inspector supports all GUID / UUID versions: v1, v2, v3, v4, v5, v6, v7 and v8.
by parineum | 2026-03-05 15:39:27+00:00
> UPS is definitely pocketing most of whatever refund they get. And golly gee gosh what a shocker, the company supports Republicans. I'm afraid you've been robbed.

Looks like they've given a pretty similar amount to both parties[1]. UPS charging a specific "Tariff Fee" is bound to have angered Trump.

[1]https://www.opensecrets.org/orgs/united-parcel-service/summa...
by angiolillo | 2026-03-05 15:39:32+00:00
That's amazing! But are you sure that the page is not satire?

> Tired of putting "Portions of this software..." in your documentation? Those maintainers worked for free—why should they get credit? ... Some licenses require you to contribute improvements back. Your shareholders didn't invest in your company so you could help strangers.

And the testimonials from "Definitely Real Corp", "MegaSoft Industries" and "Profit First LLC" are a bit suspicious, as is the fact that most of the links in the footer are not real.
by trymas | 2026-03-05 15:40:20+00:00
Side topic, but this number puts into how crazy it was for trump[0] to go on tariff war against enemies and friends alike. All the propaganda and extortionist language about how all countries will pay up to USA.

Astronomical tariffs in some cases, trade wars and dramas, alienate all allies and from all of this they got only $130B ?

$7T of spending, $1.77T in deficit[1] and they planned to fix this hole with $100B?!

Masterminds!

…and now they need to refund it.

NB: also puts into perspective how numb I became about reading AI and AI related sums of money, and how crazy actually those numbers are.

[0] off course many knew that it’s crazy way before it happened.

[1] https://en.wikipedia.org/wiki/2025_United_States_federal_bud...
by luizfelberti | 2026-03-05 15:40:26+00:00
A bit dated in the sense that for Linux you'd probably use io_uring nowadays, but otherwise it's a timeless design

Still, I'm conflicted on whether separating stages per thread (accept on one thread and the client loop in another) is a good idea. It sounds like the gains would be minimal or non-existent even in ideal circumstances, and on some workloads where there's not a lot of clients or connection churn it would waste an entire core for handling a low-volume event.

I'm open to contrarian opinions on this though, maybe I'm not seeing soemthing...
by pluralmonad | 2026-03-05 15:40:36+00:00
Never heard this take before. Care to elaborate? It seems like crop failure and disease are the typical causes of food shortages, if not outright human logistical failures. Sounds like saying pouring gasoline on a tiny fire is the only reason we aren't cold (ignoring that more firewood would be the solution). An unsustainable solution is not in-fact a good solution. So if your assertion is correct, then we should all prepare for our thatched huts in which we will starve.
by ProllyInfamous | 2026-03-05 15:40:44+00:00
I love mine as well... got it for $849 at CostCo, last year, in an astoundingly-awesome tax-free weekend sale, with 2%cashback.

Not really using it for anything demanding, mostly just listing to podcasts at night (the speakers are wonderful). Battery life is incredible. Screen mostly stays off, but is very clear — I can see the brightness being an issue if used outdoors/windowsun.
by nkassis | 2026-03-05 15:41:17+00:00
That's not really the comparable here, you need to find a person with vested interest in the outcome of the student loan forgiveness program.* Someone that was working within the agency responsible for the program and actively was in the discussions where the legality was discussed. Then made a scheme to financially get rewarded. Not only that used his son as a way to create the illusion of separation.

* And not just a borrower that wouldn't be anywhere similar to this level of conflict.
by veidr | 2026-03-05 15:41:23+00:00
I don't have that problem (new Safari window in < 100ms) but I believe you, LOL.

Because I have the problem on 7+ Macs (as in all mine, my kids', my sister's and my dad's (all of which I am primary tech support on)) where if I press ⌘+ to increase the font size on a website, it increases — and then immediately reverts back to the previous size.

Every single time. But only the first time. I just did it on this site to be sure it still happens.

Do it again, and it works.

It's been happening for at least one or two years, across more than one major OS upgrade. ¯\_(ಠ_ಠ)_/¯
by vunderba | 2026-03-05 15:41:31+00:00
Nice job.

Feedback:

1. If latency is the biggest draw, I would think a native Swift app on macOS or a C++ app on Windows would be preferable. I don't see how you're going to get around the inherent latency of high-level JavaScript and the browser.

2. You've got an animation where the cursor smoothly moves over the letter when you press a key. The issue is that (whether or not it's true) it creates the illusion of latency, which is probably not what you want.

Conclusion:

The market fit is going to be weird. There's really only two types of people using typing tools on a regular basis:

1. As a learning tool to improve their touch typing.

2. Competitively - think games like Type Racer.

In the first case, people coming in at around 20-30 wpm aren't going to be overly concerned with input latency, if they notice it at all.

In second case, you have the classic "cold start" problem that all social apps have. In order to attract an audience, you have to already have an audience.
by microsoftedging | 2026-03-05 15:41:44+00:00
Op was referencing a comic [0]

Furthermore, yes, getting to the point where we're no longer starving and in thatched huts did require fossil fuels, but now we know what they do, and that they're actively having an effect on the environment, and clearly us, are we so stuck in our ways we can't change our actions to secure a life for those that come after?

[0] https://www.bureauofinternetculture.art/memes/shareholder-va...