MurphyA/hacker-news huggingface dataset:
by jorge-d | 2025-04-03 09:43:04+00:00
It's even worse, they literally got their formula from a llm model (probably Grok?) => https://bsky.app/profile/dansinker.com/post/3llunnyfeoj2v

"To calculate reciprocal tariffs, import and export data from the U.S. Census Bureau for 2024. Parameter values for ε and φ were selected. The price elasticity of import demand, ε, was set at 4.

Recent evidence suggests the elasticity is near 2 in the long run (Boehm et al., 2023), but estimates of the elasticity vary. To be conservative, studies that find higher elasticities near 3-4 were drawn on. The elasticity of import prices with respect to tariffs, φ, is 0.25."[0]

[0] https://ustr.gov/issue-areas/reciprocal-tariff-calculations
by graemep | 2025-04-03 09:43:09+00:00
Because you can easily and cheaply convert USD to any other currency, and because it is the usual currency for international trade you can use it to pay someone else.

Suppose a British company imports tea from Sri Lanka and Kenya, blends and packages it, and exports it to retail chains in multiple countries. If all the buyers pay in the same currency used to pay the suppliers the British company does not have to convert more to GBP than required to meet its costs (and profits!) so loses less on converting currency at all. The usual currency used for this is USD.

So rather than:

customers currencies -> GBP -> suppliers currencies

we have customers currencies -> USD -> suppliers currencies.

Edit: I have not explained very well in the bit immediately above. The point is that the British company will not need to convert the currency at all as they will be paid in USD and will pay in USD. In most countries you get better rates converting to USD, and its easier to hedge this way. Even more so if there is a longer supply chain as then you get

A's currency -> B's currency -> C's currency to D's currency

vs

A's currency -> USD -> D's currency.

There are a few wrinkles on this in that customers may already have USD accounts, and suppliers might keep some money in USD, but obviously customers will be paid by their customers in their own currency, and will pay their staff and most other costs in their own currency.
by MrJohz | 2025-04-03 09:43:11+00:00
This is their explicit platform. Trump's presidential campaign officially ran on the basis of "Agenda 47", which clearly sets out their goals and aims. It includes dismantling the basic structures of democracy (in the form of heavy expansion of executive powers), and reducing access to healthcare for women and LGBTQ people. We have already seen evidence of the above, as well as events like the new administration arresting protestors without due process.

I think your point is that Project 2025 is not Trump's explicit platform, which is correct (although this doesn't affect my statement which was about his explicit platform). However, if it looks, walks, and talks like a duck, we also need to be willing to call it a duck. Project 2025 goes significantly above and beyond Agenda 47, the group behind it explicitly endorse Trump, and many of Project 2025's authors are involved in the Trump administration. Being an "independent thinker" does not mean accepting what both sides say at face value, it means looking at people's behaviour and drawing judgements based on that.
by moqizhengz | 2025-04-03 09:44:28+00:00
In conclusion, Google selected 178 relatively easy issues out of their 80K BUG database and found out Gemini 1.5 was kind of good when dealing with machine-detected bugs.

Maybe its time to build some post-ut automated patch generation CI pipeline?

And I think the other ongoing experiment mentioned in the paper is more interesting. ``` investigating the ability of an agent to generate bug-reproducing tests ```
by chimprich | 2025-04-03 09:44:29+00:00
> They will now build another factory in the us to be able to avoid tariffs and keep selling their goods at competitive prices

They won't be competitive prices though; they'll have to charge more because of the capital costs in setting up a whole new factory and supply chains, increased labour costs, and having to pay tariffs on importing parts.

I imagine that not being able to export cars from this factory due to reciprocal tarrifs will also drive up prices, due to things like lost flexibility, redundancy, and economies of scale.
by weatherlite | 2025-04-03 09:44:34+00:00
> If trade stops occurring in US Dollar

If I understand Trump correctly he wants a weaker U.S dollar to make American exports more attractive. I'm not sure though he wants it to become THAT weak that its on longer the reserve currency. However, simply abandoning the Dollar will prove quite difficult for many countries because there is no clear alternative (the Euro perhaps but it has a tiny market share currently) and also I'm certain Trump will threaten to remove American military support from anyone who dumps the Dollar - so Europe will probably stay, Australia, Canada, Saudi and quite a few more.
by ryzvonusef | 2025-04-03 09:44:53+00:00
> The irony in telling Americans to build a 25 year plan to roll out photo ID when they don't even solve issues for your government.

They don't solve issue for us because we deliberate include the bigotry into the system.

We are bigoted regardless of voter ID.

But it does solve problems for other countries, like the actually leftist countries in Europe etc.

And it could solve problems for you.

Just because we are 3rd world hell-hole doesn't negate the effectiveness of voter-ID.

We choose to puncture our tyres, doesn't negate the effectiveness of wheels.
by netsharc | 2025-04-03 09:44:55+00:00
Isn't that what TikTok is, or Instagram real? Swipe up and it's something completely different.

Then again, the "algorithm"(TM) is geared to showing you what captures your attention in order to keep you watching and get those ad impressions out of you, so the videos end up being very same.

Also it's curious, a few days after that hurrican/flooding in a few months ago, a lot of the videos being shown were about houses being swept away in water. A few days ago a lot of the videos were of water falling off infinity pools and that collapsing skyscraper in Thailand (RIP).
by ookdatnog | 2025-04-03 09:45:28+00:00
I'm convinced Trump is 100% sincere in his belief that his economic ideas are brilliant and will lead the US to a golden age.

I think his (and much of the far right's) mind is characterized by:

- a deep incuriosity and unwillingness to learn about the world

- extreme overconfidence in his own judgment

- an understanding of the world as being pervasively zero-sum (shared with Putin); your loss = his win

- obsessive preoccupation with the dynamics of humiliation: he feels an extreme need to be perceived as strong and to humiliate his enemies, and he greatly fears being humiliated

I feel like these characteristics explain most of his policy. The idea of tariffs arises from his zero-sum mindset: the only way to gain is by making someone else lose. This is of course factually wrong, but he's too incurious to learn from history or economics. And, of course, he's massively overconfident, so the thought that someone else could know better does not occur to him. And once the ball is rolling, his fear of humiliation will ensure that he has to stay the course. His perceived enemies (which is everyone) have to come crawling to his throne, begging to have their tariffs reduced while praising his brilliant policies, and then he might consider it. So if that doesn't happen, his only options are (a) perpetually retaliating with ever-increasing tariffs, disregarding the consequences entirely; or (b) capitulating in the trade war (lowering or abolishing tariffs) while not admitting that it's a capitulation ("don't worry, my brilliant policy fixed the mass influx of fentanyl and illegal immigrants from Canada, so now we can drop the tariffs on Sri Lanka" or something similarly incoherent).
by pzo | 2025-04-03 09:46:13+00:00
They overcomplicate by using 3-4 different (sub) license in one project:

in README:

Licenses - The sample code is released under Apple Sample Code License.

- The data is released under CC-by-NC-ND.

- The models are released under Apple ML Research Model Terms of Use.

Acknowledgements

- We use and acknowledge contributions from multiple open-source projects in ACKNOWLEDGEMENTS."

then having in github license button "Copyright (C) 2025 Apple Inc. All Rights Reserved."

in repo file LICENSE LICENSE_MODEL

why making it so confusing and elaborate? Its so useless to even use by 3rd party devs for making apps and releasing on their platform. So then just make it one license with the most strict restrictions you can make AGPL and/or CC-by-NC-ND .
by rob74 | 2025-04-03 09:46:42+00:00
> these are all internal territories of Australia. Why they get separate tariffs is weird.

Probably because they had separate entries in a "list of countries" which they picked as a base for their list? I don't really think there was more thought put into that, especially not for the countries who "only" got the "baseline" tariff of 10%. Interestingly though, Russia seems to have been completely left out, while Ukraine gets 10%.
by Ukv | 2025-04-03 09:47:14+00:00
> these companies not wanting to pay for creating their model and then just claiming fair use

Certainly model developers would prefer not to pay if given the option, but I also feel it's not untruthful to say that it hasn't actually been feasible to license content on the scale required.

Even just for training an object detection network as a side project, I struggled to find sufficient pre-training material outside of web-scraped datasets like ImageNet. I even contacted Getty and was told directly that they don't license images for machine learning.

Something like a compulsory licensing scheme where you pay into a pot to train a model could potentially work. Mostly, I hope whatever we eventually get is feasible for open source groups, individual developers, universities, smaller companies, etc. rather than only being made with the few biggest companies in mind.
Show HN: Blogroll editor, with built-in email to RSS support
by domysee | 2025-04-03 09:47:48+00:00
I developed an editor for blogrolls, you can try it out here: https://lighthouseapp.io/tools/blogroll-editor

The basic idea is that you can create a list of blogs and newsletters (via email to RSS) and then export it to an OPML file, which you or others can use to import the list in their favorite feed reader.

Recently I’ve seen it more and more that people publish blogrolls on their website/blog, but if I want to add them I have to do it one by one. OPML files are already used for exports of feed readers, but why not use them for sharing blogs too? That’s basically why I built it, to make sharing of blog lists easier.

I hope it’s valuable for you too. Any feedback or comments is very welcome of course!
by weatherlite | 2025-04-03 09:47:53+00:00
I agree, losing reserve currency status would make American gdp / living standards to come way closer to Europe for the simple fact it won't be able to permanently increase its debt deficits. However its far from clear losing reserve status is going to happen, sure some countries will try to diversify but others are probably too tight inside the American umbrella (for defense for example).

But yeah, surprises can happen so interesting times.
by verisimi | 2025-04-03 09:48:04+00:00
Yes this discriminates, but your example illustrates the exact reverse way to what I meant. Being subject to conscription is like a negative right/loss of rights - men are being forced to potentially put their lives on the line. Can you think of a female equivalent where females are ordered by the government to put themselves in harm's way?

In both cases it seems like the discrimination is not in favour of men. Apparently men ought not to get a say in "women's issues", but it is also right that men be forced to put their lives on the line.

If that is correct, it is the case that men have less rights.
Show HN: Vibe coding creates a mess, but it can be solved faster
by saketsarin | 2025-04-03 09:48:14+00:00
I've been using Cursor, Co-Pilot, ChatGPT, Claude and what not since quite some time now, and we are at a stage where we can just "vibe code" whole apps from idea to execution in a few prompts.

I tried this personally to create some side projects that solved little problems for me. But I always got stuck at a point where it just goes into an infinite loop of issues and can't solve the issue by itself.

Well I'm a developer, so it's easier for me to dive into the code and solve the problem myself, but that would take a hell lot of time to understand all the code AI wrote for me. If I keep wanna "vibing", I would just give it the screenshot of my current webpage view along with the console logs, and even network requests if its connected to some APIs

But even this took quite some manual effort and time, so I decided to solve this problem for myself when I created Composer Web (https://github.com/saketsarin/composer-web)

It solves that problem seamlessly by sending all your logs, reqs, and screenshot of your webpage altogether directly to your cursor chat, in just one-click and LESS THAN A SECOND.

I made this open source and it kinda blew up. So I'm looking for people to help me maintain this and build it further for more use cases like iOS Simulator logs, AWS Cloud Console logs and even extend the support to other open source IDEs like Cline, Aider, etc.

I'm also open to any feedback and suggestions you have for me. So feel free to comment here, or ping me on the discord given on the github repo

Hope it makes your vibe coding flow even easier and hassle-free :D
by codedokode | 2025-04-03 09:49:22+00:00
Other currencies are not always great: for example, being under sanctions Russia sold oil to India for Indian rupees; then it found out that you cannot simply take rupees abroad or exchange and you need to invest them locally [1].

But I also wonder what's wrong with other currencies and why they are not used more often.

But of course, current US move will greatly help recent Russian efforts in persuading other countries to switch the trade from US-controlled dollars.

[1] https://www.asianews.it/news-en/Delhi-pays-for-Russian-oil-i...
by 0x_rs | 2025-04-03 09:49:49+00:00
That's the part where "unprecedented wealth inequality" comes in. By most metrics, 2024 was an excellent year and the US was far ahead other developed countries [0] in growth, labor market, consumer spending, net household wealth, and much more; the fundamentals were solid and no figures could point to a major economic downturn at that point, certainly not in a predictable manner. In 2025 the 90th percentile accounts for over half all consumer spending, the median household hasn't reaped the same benefits high-income, high-spending ones have. There is no indication this will change, and may get worse with the current and proposed policies.

0. https://www.ft.com/content/1201f834-6407-4bb5-ac9d-18496ec29...
by thinkingemote | 2025-04-03 09:49:53+00:00
Many people who voted for tribe X voted for tribe Y a few years back. Have these people irredeemably changed in your eyes? Are they stupid for doing so? Is it possible for stupid, easily believing people to choose tribe X again? Does it make their stupidity disappear?

Does choosing a correct tribe increase intelligence and reduce gullibility?

One increasing view we hear today is of the "uneducated ignorant malleable masses". Should we think of our fellow tribe members this way?

The question being asked by people in tribes are "what to do with stupid/evil people" and history shows examples of tribes attempts to answer that.
by bjpirt | 2025-04-03 09:50:00+00:00
I've been pondering the same thought recently but applied to analog cameras. Analog cameras have evolved over time, approximately according to the following:

- fully mechanical

- mechanical shutter with light meter

- electronic control of shutter, mechanical advance

- fully electronic shutter and advance

Broadly, what I'm finding after digging in to restoring some cameras is that most of the cameras from the first stage can still be fixed and made to perform close to when they were new. The second still work, but the light meter can die (simpler light meters may be repairable, later ones not so much). The third and fourth stages - once they die, there's no repairing them. And when you look at digital cameras, there'll be very, very few of these that last long into the future.

This bears out the 'Lindy Effect' mentioned in the article.
by specproc | 2025-04-03 09:50:35+00:00
I'm sorry, but the US has an abysmal human rights record.

It has a per capita incarceration rate lower only than Rwanda, Turkmenistan, Cuba and El Salvador (which is a prison subcontractor _for_ the US).

It has started more wars than any other country since the second World War.

It is the only country to have used a nuclear weapon in anger.

It has a death penalty.

It supports numerous regimes with abysmal human rights records, Israel, Egypt and Saudi spring to mind, but that's just `head(3)`.

It has bombed it's own population, shot its own students, had racial segregation in living memory.

Given its scale and reach, I'd suggest that the US is, in fact, the world's greatest human rights abuser.

I'm struggling to think of a country with a worse record.
by mytailorisrich | 2025-04-03 09:50:46+00:00
The US are never going into a direct war with China, and China is never going into a direct war with the US. This is M.A.D in action.

At most we might see a proxy war over Taiwan (i.e. the US supporting and arming Taiwan, with sanctions against the PRC). The risk would then be a widespread disruption of global trade, at which point the US would not want to be dependent on the Chinese economy or factories in any way.
by avastel | 2025-04-03 09:51:48+00:00
Castle (https://castle.io) | Senior ML Engineer | Senior R&D Detection Engineer | REMOTE (Europe/EMEA) | Full-time

Hi HN! I’m Antoine, Head of Research at Castle. We’re a YC-backed Series A startup helping companies like Canva, Atlassian, and Rockstar Games fight fraud and abuse. We're building modern, AI-powered bot detection and abuse prevention tech, with a focus on real-time protection and behavioral intelligence. We’re a small, fast-moving team looking to add two technical roles:

Senior ML Engineer – Fraud & Bot Detection You'll work on real-time ML pipelines, anomaly detection, and adversarial ML techniques to stop bots and malicious actors. We’re combining traditional fraud signals with modern AI—LLMs, behavioral clustering, and vector-based search—to stay ahead of attackers. You’ll own models end to end and deploy quickly, with direct access to rich, structured behavioral and fingerprinting data. Ideal for someone with strong experience in the anti-fraud/anti-bot field who loves cutting-edge ML and wants immediate impact.

Senior Detection Engine Engineer (R&D) You’ll build and scale the core infrastructure behind our detection logic—rule engines, fingerprinting pipelines, and high-speed signal ingestion. We’re integrating AI-driven detection and auto-adaptive logic that reacts in real time. If you enjoy real-time systems, security, and automation, this is a highly technical role that’s at the core of our detection stack. Perfect if you’ve worked in security, data pipelines, or real-time analytics and want to outsmart fraudsters.

We pay US salaries globally | Fully remote from Europe/EMEA timezone | Flexible hours | Unlimited PTO | Paid parental leave We're actively hiring and committed to responding to every qualified applicant.

Drop us a line: antoine.vastel@castle.io
by noduerme | 2025-04-03 09:51:55+00:00
The fishermen will get paid in pesos but the company will be paid in dollars. And the company will probably put their dollars in a bank outside the Philippines, which only accepts dollars, euros or swiss francs.

If the fishermen could be paid in dollars, they would probably prefer that.

And the fact that they'd prefer that to being paid in Rubles or Renminbi is the underlying guarantor of American economic power... which, if it goes away and was replaced by Chinese power in the south china sea, would be catastrophic for the fishermen as well.
by rckt | 2025-04-03 09:52:10+00:00
In the gallery https://leanrada.com/notes/css-only-lqip/gallery/ there's a good example of what I mean - the bottom right image or 4th from the end. A completely different image in comparison to the gradient.

As for the minimalism, I understand what you mean. But I understood the "minimal" part in regard to implementation, not usage. If we only mean usage, we can say the same about a lot of libs, that they are minimal. Yeah, it's minimal for the end user, but under the hood it is not as minimal. It's not anything bad, it's just how I interpreted the title.
by graemep | 2025-04-03 09:52:38+00:00
> I think it's at least as plausible that this is part of the magic that makes it good. HN is sufficiently "on the margin" that they don't have to do things like placate advertisers with their moderation policies. The mods like dang, tomhow and pg mostly care about HN as users rather than owners.

I agreed, and would say its stronger than that. Running HN well is great for Y Combinators reputation, and its focused on a relevant audience. I am sure that has to be very good for them.

> Once there's a non-profit behind it the non-profit has a mission of its own.

Absolutely. It happens a lot.
by maiinablegkri | 2025-04-03 09:52:48+00:00
>Even if a professional can fix it, that expertise to be able to use those tools worth "a few thousand dollars" costs a lot too, likely pushing the price high enough that its worth thinking about buying a new device instead.

This is generally a problem in taxation than the devices. Consider I want to have an electrician fix my broken wallsocket:

>Billed for 100€/hour

>Out of which expenses for moving using a workcar, calculating by officially recognized tax administration car wear value 0,59€/km for 5km both ways, so ~6€, 94€ remains

>VAT is 25,5%, leaving you with ~70€

>Paying for mandatory employer's portion of pension 17,5%, leaving us with ~57,75€

Now the employee gets 57,75€, out of which following are deducted:

>Income tax for average electrician: 26%, ~15€

>Employee's part of mandatory pension: 7,15%, ~ 4,1€

>Municipal taxes: ~8% depending on municipality ~ 4,6€

So 57,75€ - 23,7€ = ~34€

There are also various single or partial percent taxes that slightly affect the outcome, and companies often want some sort of profit instead of directly giving 100% to the single employee.