MurphyA/hacker-news huggingface dataset:
by elpocko | 2025-04-04 22:30:21+00:00
I'm not GP, but here goes:

LLMs are token-based, which are words or word fragments; they have limited ability to work on a letter-by-letter basis. They can't reliably count letters in a sentence, for example. "give it a string and a grammar and ask it to generate the string from the grammar" can't be done by inference alone because of this: they would generate tokens that don't match the grammar.

But you can use a grammar-based sampler and it'll generate valid strings just fine. llama.cpp can easily do this if you provide an EBNF grammar specification.
by toomuchtodo | 2025-04-04 22:30:44+00:00
ChatGPT prompt that creates Trump's tariff plan verbatim - https://news.ycombinator.com/item?id=43584316

https://old.reddit.com/r/ChatGPT/comments/1jr0h35/heres_the_...

Prompt: “What would be an easy way to calculate the tariffs that should be imposed on other countries so that the US is on even-playing fields when it comes to trade deficit? Set minimum at 10%.“
by intermerda | 2025-04-04 22:31:14+00:00
The coherent endgame is to ensure a fascist takeover of America by ensuring CEOs are at the mercy of POTUS. First the political party fell, then its representatives in Congress, then judiciary. The control of political institutions and education system has been assumed.

But free trade and commerce is antithetical to fascism. Unless the dictator can assume total control, his position is untenable. The goal is to form an equivalent of CCP Politburo and Putin in the form of POTUS + small number of hand-picked techbros. You can't achieve that goal unless you control commerce.

All of this is laid out in writings of Dark Enlightenment adherents and sanitized through Project 2025. Ironically, the people who complain the most about their freedoms being destroyed because their Facebook post saying COVID is a hoax was deleted not only will willingly submit to this, but also be its key enablers.
by llm_nerd | 2025-04-04 22:31:16+00:00
After months of talking about replacing income tax with tariffs, and his revered External Revenue Service replacing the IRS with trillions in tariff income per year, and just this morning saying that he'll never change his mind on this so manufacturers need to rush back (I guess Americans yearn for the $4 a day jobs making t-shirts or something), rapidly Trump and his sycophants are, in the face of market obliteration and literally everyone with a brain saying how dumb this all is, claiming it's a grand negotiating strategy. By mid-day various Trump supplicants like his sprog and Ackman were pretending there was a mad rush to negotiate the best terms first.

Vietnam, for instance, supposedly is on the phone "negotiating". But what is Vietnam going to negotiate? It has negligible trade barriers or tariffs -- we all realize the reciprocal thing is a ridiculous lie -- and an income per capita of like $2,500. Vietnam cannot fix the fact that they're cheap labour that quite literally benefits the US lifestyle.

In other words, after this profoundly stupid, catastrophically economically ignorant debacle, they're trying to back out yet again.

It is simply staggering how much of an idiocracy the US has become. In any normal government this clown would have people stopping him from this insanity. Instead he has slobbering bootlickers like Howard Lutnick trying to rationalize every bit of insanity.

And things will not return back to normal. Hundreds of billions of dollars of damage have already been done to the US, and this time they aren't going to fixed by another backtrack.
by magicalhippo | 2025-04-04 22:32:02+00:00
I'm curious if we'll see an adventure game revival.

With modern generative models, LLMs, diffusion and voice, one could imagine dynamic adventure games that are not quite the same each time, and which could support coop play so you can play with your friends.

Maybe not this year but if the models improve like they have for another year or two...?
by bonzini | 2025-04-04 22:32:07+00:00
Sure there will be some onshoring, but does it make more sense to onshore or pay given: 1) the instability of Trump's decisions, see Ukraine or Canada 2) you would have less economy of scale because you wouldn't sell any of your super expensive goods outside the USA 3) if the machines you need aren't produced in America they'd have tariffs too 4) the next president could make the tariffs more favorable. You also haven't touched unemployment (or lack thereof) yet.

(And by the way, if tariffs stay, brace for deflation due to waiting until after the election in 2028).
Show HN: Clawtype v2.1 – a one-hand chorded USB keyboard and mouse [video]
by akavel | 2025-04-04 22:32:13+00:00
Written in Rust (embassy), running on a SparkFun ProMicro RP2040 board, with an MPU6050 gyroscope. Based on the Chordite idea from John W. McKown (https://web.archive.org/web/20220201061603/http://chordite.c...). Intended for use with XR glasses I recently bought. Currently my typing speed is still rather slow, but my skill is graduably improving and at a noticeable pace, and I can and do some vim coding in my hobby time. I plan to try and do a wireless (BLE) version next, hopefully running off a single AA NiMH battery. The code is at: https://github.com/akavel/clawtype
by lerno | 2025-04-04 22:32:55+00:00
Back in the day when C's closest competitor was Pascal, C wasn't particularly hard to use. Pascal was easier for manipulating strings and C better at doing low level data manipulation.

But at the time there was little need for high level abstractions, and it was fine to just allocate an array with N number of entries and that was the maximum the program allowed.

Today we're dynamically allocating memory with intricate relationships, especially in object oriented programming.

This makes C look really hard to use – but it can actually be much improved with just an improved string library and a good dynamic array.

But there are also cross platform concerns for things like networking and here C offers little to help.

Regardless whether you're using Zig, C3 or Odin you're going to have a much easier time than C with straight up libc.

So I think a better comparison is that Zig is a bit like using the C++ containers. If you've ever struggled to mutate a std::vector while iterating over it, you know it's a bit complicated to figure out exactly what functions fit where.

The final solution might be performant, but it's a lot more to remember than say `iterator.remove_element()` that you might encounter in some other language. However, it does offer more ways to tweak it, and it's very explicit in what happens.
by wonderwonder | 2025-04-04 22:33:01+00:00
Intentionally nuking stocks causes investors to retreat for safety in bonds specifically treasuries. Demand for treasuries drives the interest rates on them down. The US has to refinance $10 trillion of existing debt this year. By driving rates down it save the federal government hundreds of billions in interest payments.

He has actually reposted a video confirming this outlook.

Another angle is he is targeting China. China is in a precarious domestic economic sitaution as well. It weakens China by reducing its exports. In addition tariffs if high enough for long enough encourage local manufacturing. If we go to war with China over Taiwan, it will be very easy for China to convert existing commercial factories to produce military goods. Much harder for us as so much of our manufacturing infrastructure has lain fallow. Its not a good idea to go to war with the country that makes everything you rely on.

I'm not saying these are valid ideas or it will play out like that. I'm saying this is what admin is thinking.

Also if you feel like a read, this is a paper by Trumps leading economic advisor Stephen Miran

https://www.hudsonbaycapital.com/documents/FG/hudsonbay/rese...
by gtech1 | 2025-04-04 22:33:12+00:00
I'm willing to believe this administration is acting in good faith, but two things seem to contradict that, although maybe I'm wrong:

1. Why didn't they include services exported by the US in their 'tariff chart' ? The EU for example, imports a lot more US (tech amongst others) services than they export to the US. It seems disingenous

2. Why couldn't this tariff strategy be implemented in a more calculated, predictable, slow way to give everyone time to adjust, at home and abroad. What's to gain from doing it this way over the one I mentioned ?
by mrguyorama | 2025-04-04 22:33:26+00:00
Software developers and management rarely have the statistics chops to create actually good metrics and data collection.

Just writing everything down isn't data. You have to have a standardized methodology and low-ambiguity signals. You should have systems of blinding.

What's your proposed metric for "productivity" for software developers? You could probably get a management prize for it.
by _DeadFred_ | 2025-04-04 22:33:28+00:00
Instead of barter, everyone in the world buys and holds YOUR money so that they can trade with others. Everyone else's trade = trade deficit = free money (because you are basically selling your dollars, not a product) that you can spend on stuff.

You are too smart to actually not get this. You call it fake as if money isn't just made up 100% fake 'value units' we all agree to pretend (thus making it real) is real.
by antonvs | 2025-04-04 22:33:41+00:00
> Do policy-makers pander to computing in general?

At the current president's inauguration, Zuckerberg, Bezos, Pichai, and Musk were all seated next to each other right behind the president. Their companies have some of the largest computing footprints in the world.

Some specific ways they've been pandered to include the repeal of net neutrality and reduction in antitrust activity.

> “People incessantly telling you how they use it.”

This happens in too many ways to count. A majority of popular media glamorizes and flaunts wealth and what it buys you - like Succession, The Kardashians, Billions, and all the reality shows about wealthy housewives, about real estate agents and house flippers, about an unreflective businessman who likes firing people, and so on.

Many ordinary individuals do much the same thing on their instagrams, linkedins, etc.

> (Especially for the author who isn’t in the US.)

If we're supposed to be able to identify "it" purely by the statements in the post, then where the author is from isn't really relevant. And capitalism in other places may be less extreme than in the US, but many of the same concerns still apply.
by ty6853 | 2025-04-04 22:34:04+00:00
And labor shifts from activities where we have comparative advantage (highly skilled labor) to things where we have less comparative advantage (low skilled labor).

So now you have a lower skill low pay job and paying more than before.

I cannot make sense of it other than as a few others posted here that Trump is preparing for war and wants to soften the blow of the interruption to international trade by making sure we are more prepared for isolation.
by kivle | 2025-04-04 22:34:09+00:00
> were also the economists who claimed that sanctions would destroy the Russian economy.

This is _very much_ up for debate. It's been a couple of years since Russia went completely dark on publishing key numbers on their economy. [This was three years ago.](https://www.youtube.com/watch?v=ZRgS6gpiMX0). They had a large war chest ready before they went to war (part of which has been frozen in the west), and there are a lot of signs that they are on their last stretch before things go really bad for them.

Predicting _when_ things go bad is very difficult, so I do not hold that against said economists. The most telling sign is that the first thing the Russians ask for is for sanctions relief before any peace negotiations.
by pbhjpbhj | 2025-04-04 22:35:00+00:00
Word vectors for the same concept in different languages are very close, that's not really surprising. The whole `v_king - v_male + v_female = v_queen` idea leads to an intuition that `v_grazie - v_italien + v_deutsch = v_danke`.

Code switching probably appears a lot in both literature and audio from some contexts too.

Why would it matter that a concept is expressed in a different human language? How would you structure a multilingual LLM that it couldn't syncretise languages in this way? You'd seemingly need to properly segregate the languages.
by HillRat | 2025-04-04 22:35:02+00:00
There's no coherence here, the people coming up with this policy are either ignorant or incompetent to the point of malice (Navarro, AKA "Ron Vara," being the benchmark). Tariffs, when used judiciously, can help support "infant industries" where domestic investment in emerging technologies means that supply constraints are less of a concern and where there are long-run expectations of lower domestic prices through efficiencies. In some cases, targeted punitive sanctions (against dumping policies, or to enforce labor and environmental standards) make sense, but the economic evidence on efficacy is mixed.

There is somewhat of an argument that countries such as China overuse American consumption as a crutch for development, rather than stimulating domestic consumption (Xi has, to give very mild credit, proposed policies to increase domestic demand); tariffs would certainly force countries and trade blocs to focus on non-American consumption, though this is a bit like losing weight by removing the patient's esophagus.

What we're seeing here is just ridiculous, from an economic perspective. Low-cost low-margin manufacturing is not coming back to the US, absent an economic crisis that pushes down to a upper-middle-income-level state (stay tuned!), while putting tariffs on agricultural products simply ensures that consumers will pay more without a corresponding increase in domestic competition (how many pineapples does the US grow?). The "calculation" of the tariffs, such as it is, is simply a tax on comparative advantage, which is mercantilist nonsense we left behind centuries ago. There's no steelman for this; even if there were, the increase in raw material costs would make the steelman unaffordable for us both.
by sangupta | 2025-04-04 22:36:02+00:00
Food is not entirely local. CA gets majority of fruits from Mexico, Peru, Chile etc. Olive, Sunflower, and other oils are imported. Many spices are imported. Lumber tariffs will impact housing and repairs. Any thing with semi-conductors will be expensive: routers, modems, tablets, phones.

Middle class expenses may arise around 5-10% at the very least.
by deepsquirrelnet | 2025-04-04 22:36:02+00:00
If this were indeed the case, I’m not sure tariffs are the right direction to do it.

Principally, that a company would need more guarantees on their capital investment that extend beyond a single president’s term. Since tariffs can be revoked at any moment, companies will want more assurances that the long path of capital investment will be worthwhile, or else they might find themselves disadvantaged before even getting off the ground.

They would find themselves lobbying the government to hold back the free market for them within a few years time.
by refulgentis | 2025-04-04 22:36:29+00:00
> part of the solution to ARC. I don’t know where this persistent myth comes from,

Part of, explicitly, not the, quite 100% explicitly. The TL;DR is "LLMs can't do it alone, program synthesis leveraging LLMs is my bet". Not "Maybe not LLMs but they'll certainly help us get there!", quite the opposite! Hence: well, TFA. And the intellectually lazy quote we are explicitly discussing. And anything Chollet has said on the subject. [^1]

[^1]"LLMs won’t lead to AGI - $1,000,000 Prize to find true solution" - https://www.dwarkesh.com/p/francois-chollet - 1.5 hours with the gent
by thephyber | 2025-04-04 22:36:39+00:00
> also the economists who claimed that sanctions would destroy the Russian economy. They had the opposite effect, for reasons that still remain somewhat unclear.

On what timeframe did they say that?

There’s a good argument they ARE working to that end, just not as fast as policymakers would like. See the RU economic weakness in September.

One can make a decent argument that the sanctions were insufficient as Russia is effectively a petrostate (now with industry on a war footing) and the sanctions largely avoided RU oil/gas. Also China took up the slack by buying whatever Russia was willing to sell, and in Russian currency which extended their runway.

Lastly, Russia predicted the sanctions as a response to their Feb 2022 invasion because similar things happened before, so they planned ahead and made themselves resilient to The US dollar financial system locking them out (the same way they made their internet resilient to foreign sovereigns potentially cutting them off.
by claiir | 2025-04-04 22:36:52+00:00
Correct; it doesn't. However,

(1) Tariffs will not affect all commodities in the same class equally, creating a natural price advantage, even at the level of consumers. While not absolute autarky, demand will continue to shift to less externally-dependent goods, which has and will continue to reduce our liability.

(2) Ideally congress would codify the tariffs to prevent that. That said, it seems the first Trump term tariffs did induce production onshoring, despite that uncertainty.

What would it take to change your mind on these tariffs?
Ask HN: What RAG evaluations do you care about?
by ArnavAgrawal03 | 2025-04-04 22:36:56+00:00
I'm currently in the process of improving the testing part of our infrastructure at Morphik (https://github.com/morphik-org/morphik-core). There seem to be a lot of different RAG evaluations out there, and I'm just curious which ones you care about the most.

Of course, these will be different based on use cases, but I'd love to learn more about your use case, and which benchmark or eval matters the most for it and why.
by janalsncm | 2025-04-04 22:37:16+00:00
> best solved with what used to be called symbolic AI before it started working

Right, the current paradigm of requiring an LLM to do arbitrary digit multiplication will not work and we shouldn’t need to. If your task is “do X” and it can be reliably accomplished with “write a python program to do X” that’s good enough as far as I’m concerned. It’s preferable, in fact.

Btw Chollet has said basically as much. He calls them “stored programs” I think.

I think he is onto something. The right atomic to approach these problems is probably not the token, at least at first. Higher level abstraction should be refined to specific components, similar to the concept of diffusion.
by jokethrowaway | 2025-04-04 22:37:22+00:00
There's also a moral issue at play: To safeguard the interests of a few publishers (sometimes the creators, but they can easily end up with a shitty deal) you remove freedoms to the entire population to copy the same idea.

You need a central structure funded by everyone's taxes which enforce a contract almost nobody of the infringers has signed.

That's appaling, I hope with this AI wave we'll get rid of copyright all together.
by TechDebtDevin | 2025-04-04 22:37:38+00:00
As a Vegan, maybe I'm a little biased, but I often think about what the implications of a universal translator would be, if it did infact give us the ability to understand animals. What would that imply if you could drive by a slaughterhouse and be able to understand animals saying goodbye to their loved ones... assuming this is happening.. Would all slaughtering stop? Or would people be okay with that? Interesting times ahead if there is any possibility for ML to translate animal language.
by GaggiX | 2025-04-04 22:37:50+00:00
Claude is much better than ChatGPT at low-resource languages, at least it was a year ago, I haven't tested on new models from OpenAI but I believe that Claude still has an edge.

For example, when ChatGPT was outputting nonsense in Georgian, Claude was speaking it fluently, when ChatGPT learned Georgian, Claude was able to speak Mingrelian.
by kristjansson | 2025-04-04 22:38:19+00:00
Even if you hold those views (with which we'd all, I hope, vigorously disagree), America is _still_ your jam, up to and until they mutate into crimes / criminal attempts / incitements to crime etc. The ways this administration has persued removal either violate that boundary, or require stretching the boundary around the right-hand side to its absolute limit.
by watwut | 2025-04-04 22:38:32+00:00
It has zero to do with material demands. Those lost the elections. What won them was conservatives stroking fears about trans, women and such. Talking about material demands is just repeating past mistakes.

Actual economical or other results have nothing to do with anything. It was not about that. Democrats thinking them being objectively better for economy might do something is what looses the elections.
by bofadeez | 2025-04-04 22:38:45+00:00
The point is the UX is identical with Coolify on a cheap VPS compared to overpriced Heroku/Netlify/Vercel.

Just comparing exact performance and price and features.

A blank linux VPS has a different UI/UX.

Why does it seem like you're deliberately misunderstanding? Do you work for a platform?
by KennyBlanken | 2025-04-04 22:38:47+00:00
Not to mention China has been going hard into green energy. Both manufacturing it and using it themselves. It's the cheapest form of energy, and as you noted: much less pollution, which has a huge economic impact.

Meanwhile, what are we doing? Apparently green energy is evil, and we're going to go all-in on domestic energy production from something that's expensive, very polluting, and finite.
by lucyjojo | 2025-04-04 22:39:00+00:00
when you say "immigration has destroyed wages" you mean "immigration has lowered the floor of low wages" but you also imply "businesses CAN pay higher wages but WON'T".

i wouldn't blame the immigrants there. the whole thing managed correctly would be (or actually already is) a huge boon for the country. the suffering of the young and poor seems to be a choice made by the greedy.
by mdp2021 | 2025-04-04 22:39:30+00:00
> A person who scores 30 percent on ARC-AGI-2 is in no sense inferior to someone who scores 90 percent

"News just in: journalist for the Atlantic stops reasoning and drifts in a world of feelings after neural hijacking, as he perceives abilities as some kind of threat".

> Human cognitive diversity [...] when that diversity is already so abundant, do you really want to?

We definitely need intelligence.
by chasd00 | 2025-04-04 22:39:59+00:00
Yeah I went 100% to cash about 5 days ago. Jobs report came in ok, I think Trump is enjoying the side effect of forcing the fed to lower rates to stave off recession. On the other hand the market is super emotional right now and not making sense. I’m out until the dust settles. I have to admit, it’s nice to see Wall Street twist in the wind when they’ve been running the show for so long.

Remember the financial crisis when Bush (R) wrote them a $800B check and Obama (D) delivered it hat in hand? Suck it wall st.
by _0ffh | 2025-04-04 22:40:08+00:00
I guess he might mean this one https://shader-slang.org/ though at first glance at least it looks more graphics than GPGPU oriented.

Edit: Hmm, this part of the same project looks general purpose-y and apparently integrates with PyTorch https://slangpy.shader-slang.org/en/latest/