MurphyA/hacker-news huggingface dataset:
by gerdesj | 2025-04-05 01:35:32+00:00
Sometimes your best mates go a bit mad. Cut them some slack.

They will need a shoulder to cry on when they re-discover how well a trade war works out. The last ones seem to have happened at roughly 50 year intervals.

The US seems to be incapable of learning from the past. The worrying thing is that Mr Trump is old enough to remember directly or what his parents told him about the last fucked up trade shit storm or trade war.

You do not get to dictate how the world as a whole works ... ever. It has its own ideas about that.

Even Britain at its most imperious could not do that and the US can't even stop itself from trying to impose tariffs on its own air base in .io!

The best we can do from outside is to hope that the US does not collapse completely and that the downward trend stops at some point. If, somehow this all pans out that we will all benefit or even that just the US benefits then fine. Let's pick up the pieces and crack on.

I do not hate Americans nor their rather odd President. We are seeing change happening. It might be for the good eventually but I doubt it but I'm not an expert. In the meantime I suggest we continue to act as friends towards an old friend. When you go barking mad, you might need your mates to stand beside you whilst you dribble and widdle.
by nitwit005 | 2025-04-05 01:35:47+00:00
You skipped the bit at the front:

> Whenever there is a declared war between the United States and any foreign nation or government, or any invasion or predatory incursion is perpetrated, attempted, or threatened against the territory of the United States by any foreign nation or government, and the President makes public proclamation of the event

https://www.law.cornell.edu/uscode/text/50/21

Which nation is invading us? All of them? It's extremely obvious ordinary crime wasn't what this was intended for.
by walterbell | 2025-04-05 01:36:45+00:00
https://www.retailcouncil.org/u-s-hits-185-nations-with-tari...

> No new tariffs were announced for Canada. Canada and Mexico’s exemption for USMCA/CUSMA qualifying goods was maintained. However, 25% tariffs on non-USMCA compliant Canadian goods, Canadian steel and aluminum, Canadian autos and parts, and the 10% tariff on Canadian energy exports remain in place.. there are signs that negotiators on both sides are trying to steer Canada-US trade to a more productive process of an expedited renegotiation of the Canada-US-Mexico Trade Agreement (CUSMA).

More context on US trade policy: https://news.ycombinator.com/item?id=43589350
by tombert | 2025-04-05 01:36:57+00:00
I had a lot of fun overengineering the hell out of the status bar in Sway recently. It was something that I got working in fifteen minutes in Bash, and then ended up rewriting in Clojure, then figuring out how to get working with GraalVM, and then just kept adding features and making it more customizable.

None of this was that hard (outside of making it async-friendly, that was a little tricky), but it also wasn't trivial. I had Law and Order on in the background, and I hacked on it for a few days, and it did kind of get me into a "zen state". Figuring out how to make the code more flexible and figuring out which features I can feasibly add was relaxing.

I think part of it was that there's really no consequences to this. If I screw something up, no one is going to be mad at me, no one is going to yell at me, I'm not going to get fired, and I'm allowed to go off onto any tangents that I would like because I'm just doing this for fun. It doesn't feel like "work" because "work" often involves me working on stuff I don't want to work on. If something is too frustrating, I don't have to go through approvals and legal to import a library that does it for me. I can spend as much or as little time as I'd like writing documentation. I can micro-optimize or not-optimize however I'd like.

And fundamentally, if I screw something up, it's the text on the Swaybar, it's really not the end of the world.

It can be tough to find a project that holds my interest enough to get into this. I tend to have the most fun working on stuff that is completely unimportant, because if I'm not trying to change the world, then I can be as creative as I like.
by kragen | 2025-04-05 01:37:00+00:00
> Brazilian hyperinflation lasted from 1985 (the year when the military dictatorship ended) to 1994, with prices rising by 184,901,570,954.39% (or 1.849×1011 percent; equivalent to a tenfold increase on average a year)

https://en.wikipedia.org/wiki/Hyperinflation#Notable_hyperin...
by yencabulator | 2025-04-05 01:37:27+00:00
The connections between the abstract entities are the connections between the source code elements. That thing goes to `match` which gives me either this or that. It's more that the program is sort of graph-shaped (all about connections) than that I have linear grammar sentences in my head.

I could "serialize" the same mental model into various alternate syntaxes, e.g. assign to temporary variables or not, based on what feels right and has a good amount of things to think of at once (the good old no more than 7 rule).

I could write it out in multiple different orders, as long as data dependencies are fulfilled.

I definitely don't write programs as sentences like how I am writing this text right now. For example, I might first decide that I assign a placeholder `todo!()` to a local variable of a specific type (I know the "shape" it will be, no more), then use that value and return from the function, and then go back and figure out where that "something" could come from. Sometimes I have a couple of such sections and I "search" for the connections between them. My prose is much more linear.

I don't think I have much better means of expressing what goes inside my head than what that gives me. After all, language is the tool we're learned to communicate with. IDE-level helpers like rename all instances of this variable (now that I understand how I intend to use it) are useful, so I can literally name things a, b, c to describe a chain of processing and once I understand what I need to do, go back and easily rename them to something more descriptive.

Better code navigation and on-screen layout would be great. Like, what if functions aren't just sequentially in a file, but each one lives separately and can be opened in neighboring panes easily, to pick what you're looking at, instead of jumping around a "file". IDE "jump to definition" and API doc hints are related but not quite the same.

Outside of programming, being able to point at things to manipulate things and make connections is really powerful, but very hard to invent great UX for. I could see that sort of stuff being useful. Even in a text editor, I often wonder why exactly can't I drag a paragraph or a Markdown section (heading+everything under it) to move it. In gg the VCS GUI, you can drag commits between histories and changes between commits: https://www.youtube.com/watch?v=cD9L3Mi1Vy4 . In general, structural editing can be a great way to munge source code, there's definitely ways to improve over emacs paredit. I feel like there's some sort of untapped power in the combo of structural editing and a touchpad with haptic feedback, but maybe it'll take AR to make it intuitive enough. Think "gesture intents" popping up from the trackpad like long press pops up character variants on phone keyboards. Think swipe left/right and more for blocks of content, with UI feedback to confirm the action before release.
by tstrimple | 2025-04-05 01:37:51+00:00
Reminds me of this: https://www.bostonreview.net/articles/jonathan-m-metzl-dying...

> Even on death’s doorstep, Trevor was not angry. In fact, he staunchly supported the stance promoted by his elected officials. “Ain’t no way I would ever support Obamacare or sign up for it,” he told me. “I would rather die.” When I asked him why he felt this way even as he faced severe illness, he explained: “We don’t need any more government in our lives. And in any case, no way I want my tax dollars paying for Mexicans or welfare queens.”

> At the most basic level, Trevor died of the toxic effects of liver damage caused by hepatitis C. Yet Trevor’s deteriorating condition resulted also from the toxic effects of dogma. Dogma that told him that governmental assistance in any form was evil and not to be trusted, even when the assistance came in the form of federal contracts with private health insurance or pharmaceutical companies, or from expanded communal safety nets. Dogma that, as he made abundantly clear, aligned with beliefs about a racial hierarchy that overtly and implicitly aimed to keep white Americans hovering above Mexicans, welfare queens, and nonwhite others. Dogma suggesting to Trevor that minority groups received lavish benefits from the state, even though he himself lived and died on a low-income budget with state assistance. Trevor voiced a literal willingness to die for his place in this hierarchy, rather than participate in a system that might put him on the same plane as immigrants or racial minorities.
by pfannkuchen | 2025-04-05 01:38:09+00:00
They used to work that way in the US! Then came the labor protections.

Labor conditions are a prisoners dilemma. Individuals in a location can’t really choose to opt out of poor labor conditions if that is what exists there. That is why it took a lot of activism in America to change the labor conditions.

So right now we are exploiting people in places that don’t have the same protections. The comparative advantage of those places is in allowing suffering, not in the people actually being more okay with the conditions.
by nradov | 2025-04-05 01:38:25+00:00
No, we didn't label them as war crimes. None of the WWII Allied military commanders or political leaders were charged with war crimes. They are still revered as heroes today. And if we faced an existential threat we would do the same to enemy civilians again, or even more.

"Before we're through with them, the Japanese language will be spoken only in hell."

-Admiral William "Bull" Halsey, Jr. 1941

I don't necessarily agree with the sentiment, but his was quite a popular opinion at the time.
by JackYoustra | 2025-04-05 01:38:28+00:00
> Imagine what the vibes would be on the West Coast if there was a huge set of policy changes that decimated and liquidated the high tech industries

We had large inflation caused by Joe Biden's industrial revival acts (spurring a massive increase in factory construction (see https://home.treasury.gov/news/featured-stories/unpacking-th...) that led to interest rate rises and a TON of tech layoffs! People on this forum should be aware that the chain of causality runs in that direction.

And are you saying that the US media doesn't pillory Californa as a liberal hellhole? I actually don't even know what distribution of media you consume that doesn't handwring over the morality of liberals.
by bdelmas | 2025-04-05 01:38:37+00:00
There is a lot of data to talk about that's why I linked the video directly in the other comment. Maybe check it out. For the GDP it may not look bad but compared to other countries and especially the US, the UK is going through what we call a "lost decade". Their GDP should be +25% higher than right now... That's just one (huge) metric talked about in the video.
by Bjorkbat | 2025-04-05 01:39:00+00:00
Minor pet-peeve of mine, I really don't like the term "superforecaster". First time I encountered it was in association with some guy who was making predictions a year or two out.

Which to be fair it actually is kind of impressive if someone can make accurate predictions about the future that far head, but only because people are really bad at predicting the future.

Implicitly when I hear "superforecaster" I think they're someone that's really good at predicting the future, but deeper inspection often reveals that "the future" is constrained to the next 2 years. Beyond that they tend to be as bad as any other "futurist".
by lreeves | 2025-04-05 01:39:11+00:00
We (Canada) literally signed the United States-Mexico-Canada Agreement for trade in 2020... with Donald Trump. Trump this February said "Who would ever sign a thing like this?" and proceeded to make up the story about fentanyl coming from Canada as a pretense to ignore this deal. So there was certainly more than a pinky promise.

Additionally your senate just signed law to repeal the tariffs against Canada specifically so I don't know what other receipts or paperwork you'd like here. Not that I expect Trump to adhere to that of course, but I've never heard the perspective of "well these weren't signed agreements" for things that clearly were.
by trhway | 2025-04-05 01:39:27+00:00
>Of course I'm sure some people would claim this is 4D chess or what not but.. sometimes the person doing something crazy is just crazy at the end of the day.

It is crazy and it does have some crazy logic. The US trade deficit is well pronounced only on material goods. If you add services, the deficit is much less, if any. The services are produced by the people and states mostly voting Democratic. So, Trump with his tariffs may succeed in causing the EU and others to retaliate against US services, thus damaging blue states and helping (well in his mind) the red states. Trump already did similar hit against blue states with SALT deduction for example, yet it was just a small preview.
by ilpr | 2025-04-05 01:39:36+00:00
The generator doesn't crawl and index your entire website. Instead, for llms.txt, it:

- analyzes your homepage to extract site information - identifies and categorizes main navigation links - creates a structured llms.txt file following the specification

This aligns with the llms.txt proposal.

For llms-full.txt, it fetches the content from the links on the homepage. It's a much more complete documentation of your site.

You can read more about it here: https://llms-txt.io/blog/what-are-llms-txt-files

Or see examples here: https://llms-txt.io/blog/companies-using-llms-txt-examples
by simonh | 2025-04-05 01:41:10+00:00
First, that only works for potential biases you already know about and can anticipate, or can spot in the output. If the result is an egregious ripoff or an artist you’ve never heard of, or is the likeness of a model or actor you’re not aware of, how would you know?

Second, it doesn’t create the kind of originality we want. It just limits the kind of unoriginality we are getting.
by wonderwonder | 2025-04-05 01:41:13+00:00
"your ability to ignore harm to people for your own profit" Hey friend, not really sure why you are being passive aggressive with me? I'm not ignoring harm to people, my wife's 401k is red. I very much dislike the panic that people are experiencing right now watching their retirement plunge.

"I don't trust them at all, I just needed them to beat the alternative" Did you think this meant regarding his economic policies as in make money from them? I did not vote for him on the economy at all. If I see a way to hedge against what's coming, of course I will do that. Would be foolish not to.

By alternative I meant the other option for president. If you are angry at me for that, then so be it but you don't know me, we can be civil. You are free to just not comment.
by nimos | 2025-04-05 01:41:41+00:00
Countries can and have under the name of "digital services tax". Generally the rates are low and often only cover a subset of things. The US and tech giants have historically pushed back hard on them. This is a reasonably up to date link to the situation in Europe https://taxfoundation.org/data/all/eu/digital-tax-europe-202... Keep in mind many of those are proposed and not implemented.

The real threat to the US IMO is losing marketshare. The stock market has gotten beat up but most of the real pain for the average person is still off in the horizon. Anti-US sentiment is growing quickly, if we enter a full blown global recession/depression I think it could be a real catalyst for large sudden shifts away from US tech companies.
by mathfailure | 2025-04-05 01:42:08+00:00
It's different now, since at that time there were no weapons of total annihilation (and now there are quite some).

That's exactly why 'expansionist' regimes were ready to start some next war, being eager "to get some extra land" as a result of said war.

The current war is different: this is the war that started not out of appetite towards foreign lands, but, basically, out of primal fear, the fear concerning safety. The West was failing at self-reflection and was completely oblivious about their own actions being treated as crossing a real red line for Russia's safety.

You may scare a wandering bear away, but driving it into a corner is both stupid and fatal.
by jMyles | 2025-04-05 01:42:28+00:00
1. I don't think that is necessarily so. We can look at the universe we're given for some obvious fundamental physical and mathematical laws. As sure as gravity, bytes can be copied. It's just part of the universe we live in. Legislation in resistance to that requires these complex legal fictions. I don't think all legal fictions are bad; but those that tell a story that plainly contradicts fundamental laws of mathematics seem to always produce unjust outcomes.

2. Of course states can outright ban content, but the facade of protecting the poor artist gives enormous political cover. Saying, "You can't create that content because it is subversive and likely to convince people that the state is superfluous in the internet age" is just a much more honest (and politically impossible) approach - saying instead "you can't create that because it infringers on someone else's property" makes it sound like there's an attempt to serve justice.

3. Can you say more about this?
by LikeBeans | 2025-04-05 01:42:47+00:00
Lookup VUSXX. It is a vanguard short term treasury fund. That's where I put my cash. It is currently paying 4.24% that is state tax free (I live in Oregon).

Unfortunately it is hard to predict if that rate will stay high enough. Previously I had 'cash' in iBonds which for a while paid 8-9% early in the pandemic when inflation was high. If none of the above pays well enough I look into treasuries, or CDs.
by derektank | 2025-04-05 01:42:59+00:00
I think we might also find that who is rich and powerful can easily get flipped upside down over night. Being rich is not actually all that hard when law enforcement exists to uphold private property rights. But without rule of law, everything is quite literally up for grabs and might will make right. I hope our business leaders are mulling this fact over and considering whether they have either the force of personality or the physical strength to keep what they currently have in a new regime.
by donnachangstein | 2025-04-05 01:43:27+00:00
> It's because no one in the US would work gruelling hours for such little pay!

There are entire towns in the US where nearly everyone is unemployed since the manufacturing dried up.

I would happily pay a few more dollars more per sneaker if it meant those people could have a job, and it meant my purchase went toward making someone's life here better.

> levelling' will mean the US getting poorer

It was never about being rich (maybe in a silicon valley bubble it is) but these people need jobs not only to live but for personal fulfillment. The fact that you are contributing positively to society.

Not everyone wants to collect welfare or unemployment and do nothing for the rest of their life. It causes serious mental health issues and why the 'opioid epidemic' has ravaged these small former-manufacturing towns.

People are hungry for work because they want to be part of society.
by graeme | 2025-04-05 01:44:07+00:00
So the tariffs were calculated based on dividing goods trade deficit by overall goods trade.

If you run that formula for Canada and Mexico, the number would be LOWER than the tariffs already imposed.

So they had to leave Canada and Mexico off to keep things looking consistent.

You can confirm here from USTR stats: https://ustr.gov/countries-regions/americas/canada#:~:text=C...
by ants_everywhere | 2025-04-05 01:44:54+00:00
> I'm sure some people would claim this is 4D chess

There is some regular 2D chess going on here, but it's not being played by anyone in the US admin. Putin wants to weaken NATO so he can continue expanding. America is a linchpin holding together much of the European alliances and not coincidentally the candidate he helped get elected twice is destroying the US's global standing and weakening the US dollar.

The rebuilding going on in Europe, the increase in European military spending, and the talk about nuclear weapons in Europe is a direct consequence. I don't know if Putin just expected Europe to run around incompetently like the Keystone Cops, but it kind of feels like they're acting quickly and competently without the US.

At any rate, all of this is bringing us much closer to a WWI or WWII style global military conflict.
by muzani | 2025-04-05 01:44:57+00:00
Yup, that's AI for you. People will talk about vibe coding being crap and stuff and the challenge now is whether your fundamentals are good enough.

Before AI, we'd give template code with the tech stack we're using and expect them to just modify the code. With AI, we let people be more creative and push for things they want to use, as long as they can keep the train on the tracks.

Not everyone gets everything done, but it's a good way to benchmark candidates against each other - someone who gets a third of it done might be worth it if they're taking 1/4 the salary compared to someone who does everything on time.
by inkyoto | 2025-04-05 01:45:21+00:00
I concur RE: «::». For deep levels of nesting, the level of noise that «::» causes becomes excessive.

When Rust was in its infancy, I maintained a local fork for a while where I modified the parser to use the Ada syntax («'», a single apostrophe) for the same purpose. So

std::collections::hash_map::HashMap::entry

became

std'collections'hash_map'HashMap'entry

But I am not convinced that using «.» for two distinct purposes – 1) as a name qualifier, and 2) as a method/data element accessor – is a good idea, for maintaining the semantic clarity is important, i.e. is «e» in «a.b.c.d.e»

1) A method call; or 2) An accessor for a deeply nested data structure.

It is not easy to say whilst just glancing upon the code.
by ViktorRay | 2025-04-05 01:45:26+00:00
Hey thank you for posting this comment. It’s a very interesting perspective!

I wonder if a factor is that many of these older folks don’t have grandchildren to the extent older folks of previous generations did.

I don’t know what effect that could have but I know it’s a feeling that troubles many baby boomers. They thought their children would have children by now and in many cases that’s not happening. It can lead to a great deal of sadness.
by WillAdams | 2025-04-05 01:45:34+00:00
There is a source release at:

https://www.tcl-lang.com/software/tcltk/9.0.html

but I'm not seeing an easy binary download --- used to be that the availability of a pre-compiled version, nicely packaged which would install easily on one's platform of choice made it wonderfully accessible to new users.

Is that not a focus of the project these days?
by throwaway5752 | 2025-04-05 01:45:48+00:00
In the end, countries are nuanced enough to understand American political dynamics. They see Orbans, they see Le Pens, they see Trump, and they know what is behind it. I am quite sure that Ukraine did not expect anything else from the Trump faction of the Republican party. His victory was not unlikely and he is a simple creature. If different factions win, they will be eager to work with America again, with less trust and reliance.

Realistically, it is for the best if countries are resilient to US failure. It will make Americans generationally poorer, but the world will be better off for it.