MurphyA/hacker-news huggingface dataset:
by beloch | 2025-04-03 20:33:26+00:00
It reflects the nature of the current trade war. It's not congress levying import taxes. It's not the secretary of commerce. (Lutnick has been completely out of the loop at times during the Canada-U.S. trade-war.) It's Trump declaring spurious emergencies to abuse IEEPA and unilaterally pass tariff's without the approval of congress.

At the same time, the Trump administration has taken issue with the independence of judiciary branch. When a judge ruled against one of their deportations, the executive branch ignored the ruling and argued that the judicial branch is subordinate. i.e. The king is above the law. So far, there have been no consequences. This is, quite literally, rule of a sort that hasn't been enjoyed by European monarchs since people became serious about enforcing the Magna Carta.

For the moment, Trump is ruling as an absolute monarch. It remains to be seen if there will be a response to assert the supremacy of law and the independence of the judiciary branch, or if the Republican controlled congress will assert it's right to control economic policy. If the law is not enforced, then Americans have a de facto king. Institutions do not defend themselves. People do.
by 0x457 | 2025-04-03 20:34:02+00:00
> The Web Locks API allows scripts running in one tab or worker to asynchronously acquire a lock, hold it while work is performed, then release it. While held, no other script executing in the same origin can acquire the same lock, *which allows a web app running in multiple tabs or workers to coordinate work and the use of resources.*

source: https://developer.mozilla.org/en-US/docs/Web/API/Web_Locks_A...
by 9rx | 2025-04-03 20:34:02+00:00
> Why are we throwing it away again?

Because we haven't figured out how to square allowing people the freedom to work in the industries they please, no matter where in the world that industry has found itself, with allowing countries to strictly limit who is allowed inside its borders.

The "just learn to code" message never sat well with those who have no interest in coding and now they are rising up to try and take back, so to speak, the work they actually want to do. The far reaching consequences that go along with that are not of their personal concern.
by SamoyedFurFluff | 2025-04-03 20:34:20+00:00
A developing country cannot possibly lower their trade deficit with USA (which is what these tariffs are based on, not if the tariffs exist in the country’s side). They literally are too poor to buy our stuff, but they can sell their stuff cheaply. This is how I get to have luxury Ethiopian coffee for less than 20$/month. There is no domestic coffee that’s competing with Ethiopian coffee (Hawaiis coffee is doing just swell).

Like, be for real, what kind of domestic banana industry do we have? We don’t, are we seriously going to be “investing” into banana crops in America? Tariffs on bananas is bananas.
by l72 | 2025-04-03 20:34:54+00:00
My company has a product that allows you to chat with tech support. The end user (our customer's customer), is just someone who went to one of our customers' help portals and requested help via chat.

These chats are going to last < 1 hour typically. There are times when the custom support agent needs to confer with someone else, and then will respond back. The end user, in that case, does not want to sit there with their phone open for 15 minutes, waiting for a response.

While we have an app those end users could download and get notifications on, no one wants to do that for a one off session (not even an App Clip).

Trying to get iOS users to add it to their home screen, is basically a no-go too.

So, it would be really nice if we had a way to send push notifications, even if it was time limited (allow notifications for the next 1 hour).

Don't get me wrong, Push Notification can and are abused. But there are valid use cases.
by NoMoreNicksLeft | 2025-04-03 20:34:55+00:00
>They want immigrants gone, but every immigrant they know is hardworking good people

Immigrants are, in large part, hard-working and decent people. I'd laugh my ass off at the suggestion that I could outwork any day laborer I've seen as I drive past Home Depot. Some drink and get a little rowdy, but not to a degree that would bother me if a citizen did so. That doesn't mean that I'm happy for them to be here, though. Our costs go up as they need to rent and make purchases too. Just because I don't want to pick apples for a living doesn't mean that their presence doesn't mean fewer jobs for Americans in general. Our culture changes in ways that can't be managed. None of these side effects are the sort that can be mitigated without drastically reducing immigration, both of the legal and illegal sort.

I don't really want the Chinese setting up secret police stations in my country, or blackmailing every immigrant (even those naturalized as our own citizens) to perform espionage on their behalf. Russians do this shit too. Do you?

All the rest of your concerns I suspect I'm more in agreement with you, but the immigration thing isn't good for anyone. These countries are being brain-drained by those who could fix things at home. Who could stop wars and other large-scale abuses. Who could be building the businesses that would life their people out of poverty. But they're over here trying to make a buck.
by layer8 | 2025-04-03 20:35:06+00:00
Yes. In particular, migrations expressed as SQL statements are strictly more powerful than a diff of two schemas, so there are situations where you can’t infer the former from the latter (but you can always infer the latter from the former).

I also object to the use of “declarative” here. Either we are talking about the schema as present in the database, then it’s neither declarative nor non-declarative, it’s just whatever is in the database. Or we are talking about a schema definition, and then I really don’t know what a non-declarative schema definition would look like, in contrast to what is called “declarative” here. Thirdly, the traditional “declarative” SQL schema definition is really a series of imperative SQL statements, so arguably not declarative.

What they seem to mean is a minimal sequence of statements that results in the desired schema, as opposed to a longer history of schema-altering statements. However, the minimal version is technically still a series of schema-altering statements, starting from (presumably) an empty schema.
by LightHugger | 2025-04-03 20:35:07+00:00
I agree. But did you stand up against discrimination against innocent people under the banner of DEI? Did you stand up against government directed censorship campaigns on social media?

The time to stand up was actually way before the extreme actions of the left inspired this extreme reactionary overcorrection from the right. You're supposed to stand up while you're still in power, not after you've lost it, it's a bit late. I still remember people insisting "but deplatforming works!" as they justified mass censorship of conservatives. Honestly if you have not stood up for the people you politically disagreed with as the noose tightened over the last 10 years you are part of the cause of this terrible over-correction.

I can only hope that people start noticing this pattern and the inevitable next "correction" is not so extreme and we get some damping on the seemingly accelerating pendulum back and fourth.
by HelloMcFly | 2025-04-03 20:35:22+00:00
I think it’s possible to critique art, institutions, or trends without assuming everyone who finds meaning in something is deluded or complicit in cultural decline. Dismissing curiosity or optimism as decadence seems like its own kind of absolutism. Reasonable people can still find value in things even when you don’t, which is kind of my main point. Your comment makes me a little sad, but not for me.
by feoren | 2025-04-03 20:35:35+00:00
> Plain English can be every bit as precise as legalese.

If you attempt to make "plain English" as precise as legalese, you will get something that is basically legalese.

Legalese does also have some variables, like "Party", "Client", etc. This allows for both precision -- repeating the variable name instead of using pronouns or re-identifying who you're talking about -- and also for reusability: you can copy/paste standard language into a document that defines "Client" differently, similar to a subroutine.
by cycomanic | 2025-04-03 20:35:37+00:00
IANAL, but my understanding is that it's more complicated than this. Generally commercial benefits (i.e. taking money) is one of the aspects being taken into consideration to decide if something is fair use, but it's not the only one and not making a monetary/commercial benefit does not guarantee that work is considered fair use (which is the exception we're talking about here).
by coderenegade | 2025-04-03 20:35:38+00:00
Reapers aren't the only military drones, and yes, there are drones that do help establish air superiority, either on the reconnaissance and logistics side, or (more recently) directly on the combat side.

China doesn't have the same level of sophistication in stealth tech, and they still struggle to make decent jet engines, because they don't have the required materials technology for certain components. There's also decades of work in signals processing, which is at least as important as the platform. Not to mention sensor packages, but they almost certainly have a lot of that down. A drone is simple until it needs to fly close to the coffin corner, do air-to-air refueling, land on a carrier, be invisible to radar, be hardened to jamming, act as a wingman to a human pilot... You get the idea.

And since it apparently wasn't obvious, I'm not really talking drones specifically, I'm talking about all defense hardware. China doesn't have anything close to an F-22, and as far as we know, their tanks aren't as good. They can't build carriers that can compete with US ones. But they're already outcompeting the US when it comes to building civilian vessels, and they're taking over the electric car market. How long until they can build a decent carrier or tank?
by uoaei | 2025-04-03 20:35:48+00:00
If you don't know anything except how words are used, you can definitely disambiguate "bicycle" and "car" solely based on the fact that the contexts they appear in are incongruent the vast majority of the time, and when they appear in the same context, they are explicitly contrasted against each other.

This is just the "fancy statistics" argument again, and it serves to describe any similar example you can come up with better than "intelligence exists inside this black box because I'm vibing with the output".
by psychoslave | 2025-04-03 20:35:55+00:00
Well, property is theft, as we all know.

Unlike what they name in physics, laws in juristic field are not a given by the cosmos. That's all human fantasy, and generally not enacted by the most altruistic and benevolent wills.

Call me back when we have no more humble humans dying from cold, hunger and war, maybe I'll have some extra compassion to spend on soulless megacorps which pretend they can own the part of our brain into which they inject their propaganda and control what we are permitted to do starting from that.
by rufus_foreman | 2025-04-03 20:36:16+00:00
>> Dems just need to spin these tariffs as the largest tax increase in US history

And then what? From a quick look at the 2024 Democratic Party Platform:

"Democrats will make billionaires pay a minimum income tax rate of 25 percent, raising $500 billion in 10 years. We’ll end the preferential treatment for capital gains for millionaires, so they pay the same rate on investment income as on wages"

Tax increase.

"We’ll put an end to abusive life insurance tax shelters, and stop billionaires from exploiting retirement tax incentives that are supposed to help middle-class families save"

Tax increase.

"We’ll eliminate the 'stepped-up basis' loophole for the wealthiest Americans"

Tax increase.

"Democrats will close the 'carried interest' loophole"

Tax increase.

"we’ll increase our new stock buyback tax to 4 percent"

Tax increase.

"Trump doesn’t care: he slashed the corporate tax rate to 21 percent, down from 35 percent. President Biden will raise that rate back to 28 percent"

Tax increase.

"And for those billion-dollar tax dodgers, the President signed a historic 15 percent corporate minimum tax into law"

Tax increase.

"He also reached a global minimum tax agreement with 140 countries"

Tax increase.

"Biden will double the tax rate that American multinationals pay on foreign earnings to 21 percent"

Tax increase.

"It means ending special tax breaks for corporate jets, and boosting fuel taxes on corporate and private jet travel"

Tax increase.

"We’ll also eliminate the so-called 'like-kind exchange' loophole that allows wealthy real estate investors to avoid paying taxes on real estate profits, as long as they keep investing in real estate"

Tax increase.

"It offers corporate landlords a basic choice for the next two years: either cap rent increases at 5 percent, or lose a valuable federal tax break"

Tax increase.

"We oppose the use of private-school vouchers, tuition tax credits, opportunity scholarships, and other schemes that divert taxpayer-funded resources away from public education"

Tax increase.

"Democrats will make Medicare permanently solvent, by making the wealthy pay their fair share in Medicare taxes"

Tax increase.

"To cover those costs, the law finally restored a vital 'polluter pays' tax that had lapsed 26 years before"

Tax increase.

"fight for a global minimum tax that ensures corporations pay their fair share"

Tax increase.

Spinning the tariffs as a tax increase will do what for the Dems, exactly? Democrats love taxes on corporations, do they not think the consumer bears much of the costs of those taxes?
by palmotea | 2025-04-03 20:36:40+00:00
> Do you assume it can't get worse? Or that 10 other things could not get worse?

> Like, much much worse?

It will at least afflict the comfortable, otherwise they wouldn't be so opposed.

And that's fine. We've been running on a twisted "win-win" logic in this country for a long time: no policy can be pursued where the working class "wins" unless the well-off also "win" (because if they don't, there will be much whining), but if the working class loses it's "Who cares! They've got to suck it up and adapt. Be more grateful and go fill the holes in your life with cheap shit from Walmart."

Enough of that, and a lot of people rightly stop caring if things can get worse. Trump is the chickens coming home to roost. If people didn't want this outcome, they should've gotten together to fix the problems with neoliberalism.
by jauntywundrkind | 2025-04-03 20:36:53+00:00
Obviously a horrible hideous theft machine.

One thing I would say, it's interesting to consider what would make this not so obviously bad.

Like, we could ask AI to assess the physical attributes of the characters it generated. Then ask it to permute some of those attributes. Generate some random tweaks: ok but brawy, short, and a different descent. Do similarly on some clothing colors. Change the game. Hit the "random character" button on the physical attributes a couple times.

There was an equally shatteringly-awful less-IP-theft (and as someone who thinks IP is itself incredibly ripping off humanity & should be vastly scoped down, it's important to me to not rest my arguments on IP violations).... An equally shattering recent incident for me. Having trouble finding it, don't remember the right keywords, but an article about how AI has a "default guy" type that it uses everywhere, a super generic personage, that it would use repeatedly. It was so distasteful.

The nature of 'AI as compression', as giving you the most median answer is horrific. Maybe maybe maybe we can escape some of this trap by iterating to different permutations, by injecting deliberate exploration of the state spaces. But I still fear AI, worry horribly when anyone relies on it for decision making, as it is anti-intelligent, uncreative in extreme, requiring human ingenuity to budge off its rock of oppressive hypernormality that it regurgitates.
by mmooss | 2025-04-03 20:37:05+00:00
An essential question is, what is the political angle for Trump and the right wing? They know what they are doing. They know it will cause economic calamity.

They often seek to create calamity and crisis - with Covid; spreading fear (of immigrants, etc.), hatred and violence; disrupting health, education, and housing; international peace and security (NATO, Ukraine, etc.). You never see them spreading calm and peace - crisis seems necessary to their movement.

Tanking the economy does the same thing, but it is a much bigger step that impacts many of their supporters. What is their exit plan?

I expect part of their plan is to blame others: They will blame Democrats somehow, and other political enemies - it doesn't need any basis because the Dems don't have any effective means of refuting it to the public; whatever the GOP says becomes reality. I suspect they'll use it to ramp up hatred and fear, blaming their current objects of hatred such as immigrants, minorities, certain religions (a traditional object of blame, the right has already been normalizing antisemitism and general prejudice - which makes antisemitism inevitable. Rogan recently hosted a conspiracy theorist blaming Jewish people for 9/11, for example - how long before does he blames them for the economy, 'undermining President Trump'), liberals, etc.

Edit: I did some rewording
by csdvrx | 2025-04-03 20:37:11+00:00
That's fair!

Before using an existing solution, I like to understand how it works to make sure I will not get bad surprises: being able to reverse and debug using assembly code can be a helpful skill, and likewise for understanding DNS.

Yesterday I vibe code a DNS server from scratch in half a day, because I wanted to test something very specific bridging DNS and mDNS. Doing the same thing for health checks and geo routing may take what, another half day?

The experience and understanding gained can help decide if it's worth using a service like route53 or not, or even better: just doing without the feature, because if you have 1 VPS, "YAGNI" is the likely answer!

If the poster is seriously thinking about scaling to 2 VPS or more, the experience gained will expose the various ways it can fail, to maybe reconsider the decision (maybe instead get beefier hardware?)

In my case, I saw the DNS-mDNS isn't much a problem, so I don't have to reconsider adding the feature I want.
by miven | 2025-04-03 20:37:24+00:00
That's absolutely correct, KV cache is just an optimization trick, you could run the model without it, that's how encoder-only transformers do it.

I guess what I'm trying to convey is that the latent representations within a transformer are conditioned on all previous latents through attention, so at least in principle, while the old cache of course does not change, since it grows with new tokens it means that the "state" can be brought up to date by being incorporated in an updated form into subsequent tokens.
by willvarfar | 2025-04-03 20:37:26+00:00
This is a tangent but I think that this neat illustration of how LLMs regurgitate their training material makes me voice a little prediction I've been nursing recently:

LLMs are better at generating the boilerplate of todays programming languages than they will be with tomorrows programming languages.

This is because not only will tomorrows programming languages be newer and lacking in corpus to train the models in but, by the time a corpus is built, that corpus will consist largely of LLM hallucinations that got checked into github!?

The internet that that has been trawled to train the LLMs is already largely SEO spam etc, but the internet of the future will be much more so. The loop will feed into itself and become ever worse quality.
by SkyBelow | 2025-04-03 20:37:31+00:00
One problem is that we have been basing too much on [human brain] for so long that we ended up with some ethical problems as we decided other brains didn't count as intelligent. As such, science has taken an approach of not assuming humans are uniquely intelligence. We seem to be the best around at doing different tasks with tools, but other animals are not completely incapable of doing the same. So [human brain] should really be [brain]. But is that good enough? Is a fruit fly brain intelligent? Is it a goal to aim for?

There is a second problem that we aren't looking for [human brain] or [brain], but [intelligence] or [sapient] or something similar. We aren't even sure what we want as many people have different ideas, and, as you pointed out, we have different people with different interest pushing for different underlying definitions of what these ideas even are.

There is also a great deal of impreciseness in most any definitions we use, and AI encroaches on this in a way that reality rarely attacks our definitions. Philosophically, we aren't well prepared to defend against such attacks. If we had every ancestor of the cat before us, could we point out the first cat from the last non-cat in that lineup? In a precise way that we would all agree upon that isn't arbitrary? I doubt we could.
Show HN: Aqtos BOSS* – all-in one business OS to run your company
by ddano | 2025-04-03 20:37:35+00:00
The bet is that all-in-one is the next wave of business apps as business owners and operators are tired of juggling many different single-puprose tools and chasing data all around... Our play in that game is Aqtos BOSS* (Business Operating System as a Service). After a year of testing with design partners and few select clients, we are ready to try it on the real battlefield.

Free trial available.

feedback welcomed, twitter.com/DamjanDano
by ckmate-king-2 | 2025-04-03 20:37:45+00:00
Two other single-handed round-the-world accounts I enjoyed are Robin Lee Graham's _Dove_ (the name of his boat), and Chay Blyth's _The Impossible Voyage_. Graham's voyage was noteworthy because of how young he was -- 16. He might have been, as I recall, the youngest ever to make such a voyage at that time. His book was later made into a film starring Joseph Bottoms and Deborah Raffin. Blyth's was noteworthy because he was the first to sail singlehanded "the wrong way round," westwards, nonstop. Incredibly arduous. Wikipedia says The Times called this "The most outstanding passage ever made by one man alone." His vessel was a 59 footer called "British Steel."
by kiwicopple | 2025-04-03 20:37:49+00:00
yeah, migrations are generated from the Declarative files. For example, the steps are for adding a new column:

1/ Add a new column to the declarative file

2/ Generate a new migration: `supabase db diff -f my_new_migration`

3/ Review/edit the generated migration, check it into git

4/ Apply migration to database
by afavour | 2025-04-03 20:37:54+00:00
> Presumably React Native apps do something to that extent?

Not in the background they don't, no.

> Or, if they don't, whatever optimization they use

They don't have one. There is no optimization they can do to run JS in the background. Push notifications in a React Native app either use native code or rely on declarative payloads sent from the server.
by shiomiru | 2025-04-03 20:37:58+00:00
Chrome has randomized its ClientHello extension order for two years now.[0]

The companies to blame here are solely the ones employing these fingerprinting techniques, and those relying on services of these companies (which is a worryingly large chunk of the web). For example, after the Chrome change, Cloudflare just switched to a fingerprinter that doesn't check the order.[1]

[0]: https://chromestatus.com/feature/5124606246518784

[1]: https://blog.cloudflare.com/ja4-signals/