skysight-inc/HackerNews huggingface dataset:
This could be achieved with a hierarchical namespacing scheme for functions, no?

universe.mega_corp.finance_dept.team_alpha.foo

But to use `universe.mega_corp.finance_dept.team_alpha.foo` in your application, you don't import a module, just the function `foo`.

Who controls what goes into the namespace `universe.mega_corp.finance_dept.team_alpha`?
That would be Team Alpha in the Finance Department of Mega Corp.

I guess this is like tree-shaking by default.
Then don't tell them you're a techie.
Foreigners are always good as a target for blame, but much more wealth has been transferred from American workers to the Oligarch class than via trade deficits. What we have here is a class war, not a war against other working class people in other countries, but the wealthy are winning it without firing a shot.
I'm fine with the burger being expensive, just want the burger.
Though I believe that still pales in comparison to US agricultural use. Based on some rough data sources I think the US uses about 2-3x more antibiotics on livestock than India uses on people.
So who’s to blame for the trade deficit? I’ll tell you who. It’s all the companies he invested in and made billions of dollars off of.

Because they all wanted to maximize their profit, so they ship their production overseas and now we have no choice but to buy “foreign goods“ from corporations that say they’re from the United States.

Corporations don’t care about countries, they care about profit. Countries are prisonsfor the workers.
So, you don't want to have "the world" own shares of american companies?

Okay, let europe just sell all their stocks and ETF. But also, let them build alternatives to all american products. Let them keep the money they are spending for their Windows and Office licenses, their Netflix and Disney plans. Let them no longer create ad revenues on youtube. Let them buy korean Samsung phones instead of american iPhones.

Would that be a good deal for the american people?
> There's just no way California will be able to become independent. Not sure about the US laws though, but in Europe there isn't even a legal framework for achieving something like this.

Even without a legal framework, it happens sometimes, through various means. Ireland used to be an integral part of the UK, say, Finland used to be part of (imperial) Russia, and the Baltic states were part of the Soviet Union.
You mean the Twitter files, which relied on Matt Taibbi getting the name of a government agency wrong to form the key connection he then turned into a conspiracy?
This would be true for any other country, but the dollar is the world's reserve currency. The US can simply go 'money printer go BRR' and create money out of thin air, without devaluing the dollar too much, which it can exchange for physical goods.

The US creates a 'trade deficit' by swapping things that have imaginary value for things that do not. Under these circumstances they'd be foolish on not running a trade deficit.

But if Trump gets his way, that world will be soon over, and people will trade in whatever they have so will no longer be compelled to hold USD.
just deduce the domain from text similarity :o)
The default feed, yes. That's the incentive to flag stuff you don't agree with. It basically tanks the possibility of the story making the front page.
Sent from iPhone
It’s not good. Warren Buffett just says horrible things in a polite voice.
> Not all these thousands of games running on the Deck have binaries that run natively on Linux. Pivotal to the success of the Deck is Proton, a middle-layer compatibility software, that makes this (mostly) seamless emulation possible. Nonetheless, the greater the adoption of Decks, the likelier we are to normalize prioritizing game-builds for Linux.

This exactly the problem with Steam Deck, and will last while Microsoft decides tacking Proton isn't high on priority list for Microsoft Games/XBox division issues to sort out.
uv has pretty much solved those issues, but it does need to be installed. Fortunately it's very easy to install.

Another option I've used is Deno.
Only goods, at least for the EU the 100+B trade deficit for services in favor of the US is carefully left out.
It seems like the way to "fix" a trade deficit is to create products the rest of the world actually wants to buy. The application of any reciprocal arrangement, whether tariffs or these ICs as proposed in the article only achieves "balance" through punishing others.

Aside from the obvious consumer technology and software I am hard pushed to think of any USA produce I would buy that would meet the standards we have in the EU.

The simple reality is that the USA consumes more than it produces.
If not using the custom domain stuff, cookies need protection via Set-Cookie with `SameSite=Strict`, right? I couldn't see a note in the documentation
> it's largely outside of your control on the web.

On the web or in the JS ecosystem?

While I agree that even just the browsers are monster applications, usually duplicating (at least) the entire OS they are running on, just usually worse.

However, most browsers are perfectly capable of extremely snappy rendering and interactions, even on low-powered devices.

Let's remember that WWW.app was developed on a NeXT Cube, 25 MHz 68040, probably in the 16-64 MB RAM range (min was 8, but I am assuming it was more than the min), and that was plenty snappy.
“Buffett likened the situation to a wealthy family gradually selling off parts of its estate to sustain its lifestyle”

Yet, actually the proper analogy, would be a wealthy family using their disposable income to buy products that make their life easier, and sometimes, even make them more productive so that they can have even more income.
Nordhold
Wikipedia must remove India content deemed defamatory, rules Delhi High Court
Definitely one of those "if you're using it you've made a big mistake somewhere" pieces of software.
Hackers strike Australia's largest pension funds in coordinated attacks
Because the US is run by an idiot. Like, people are inclined to overanalyse this sort of thing, but at the end it comes down to the fact that Trump has _no idea_ what he is doing, and doesn't particularly care to learn.
Gumroad’s source is available
Compiling C to PowerPoint [video]
I think we should expect the US to lose its reserve currency status if these tariffs continue and we should also expect its tax revenue to drop. The combination may make it more likely to see a US default on its debt as there will be less demand for its bonds around the world and less ability to pay high interest rates.

Seems unthinkable I know but we are in weird times.

If Trump doesn’t back down we may see a very interesting time in the US economy. I should point out that many oligarchs in Russia established themselves by making bold moves in the turbulent post Soviet times. This may be similar time period for the US where a new generation of winners emerge.
Generally they are just goods.

It’s much easier to measure physical goods crossing customs. It’s very difficult to measure whether that guy in your restaurant was a tourist or not. And that’s the simple case believe it or not…

This is one of the reasons service oriented economies seem to run huge deficits…
It's presumably because a lot of people think what people verbalise - whether in internal or external monologue - actually fully reflects our internal thought processes.

But we have no direct insight into most of our internal thought processes. And we have direct experimental data showing our brain will readily make up bullshit about our internal thought processes (split brain experiments, where one brain half is asked to justify a decision made that it didn't make; it will readily make claims about why it made the decision it didn't make)
Interesting, and worrying at the time, but he clearly turned out to be wrong. The trend never stopped [1] and is not obviously responsible for any negative economic trend. The trend has continued [2]. The thing to worry about is probably not that it is happening, but who is holding these investments.

[1]: https://www.bea.gov/data/intl-trade-investment/international...

[2]: https://fred.stlouisfed.org/graph/?g=1HrHY
Nothing in that article implies supporting terrorism. They support Palestine.

People conflating supporting Palestine with supporting terrorism should be ashamed of themselves, as Israel is the biggest terror state in the world.
Honestly I may just be missing the point, I'm not an expert on economic theory, much as I would like to be.

But wouldn't literally selling the country imply the biggest possible trade surplus? It's all export and no import.
While the framing has been reciprocal tariffs, the WH has published the formula and it’s essentially based on reciprocal trade surpluses, not tariffs. If one country sells more to the US than the US sells back then that’s seen as bad. Even if the other country has no tariff.
And kill Steam Deck just like they did with Netbooks, why get Proton translation of the real XBox experience.

Gamers that reach out to handelds in Nintendo Switch numbers don't care about what OS their consoles use, and won't be buying Steack Decks "because Linux!".
interesting post on hn today https://groups.google.com/g/erlang-programming/c/LKLesmrss2k...
Note two limitations to the maths (I'll admit that I haven't read the OP in detail).

1. That's assuming that shipping, warehousing, transport, etc. do not rely upon foreign imports, including services. Chances are that more than one link in the supply chain will be hit either by the US tariffs or by the actual reciprocal tariffs from the other end [1].

2. That's also assuming that the tariffs will not have an impact on the sales of the company, which might adapt either by decreasing its margin (to increase sales) or by increasing it (either to try and compensate for lost sales or because it feels like the right time to hike prices).

[1] We shouldn't let ourselves be fooled by the word "reciprocal tariffs" used by Donald Trump. All these numbers are bogus. In January, EU tariffs on US goods were about 2-3%, not 39%, just as US tariffs on most EU goods.
But it doesn't 'carry context' ; it's just vague and impossible to implement what you have in mind. And that's the problem; You assume people live in your reality, I assume mine, LLMs have some kind of mix between us and we will get 3 very different apps, none of which will be useful from that line alone. I like that line to be expanded with enough context to have an idea what you actually need to have built and I am quite sure pseudocode (or actual code) will be much shorter than a rambling english description you can come up with; most of which (unless it's logic language) will have enough unambiguous context to implement.

So sure, natural language is great for spitballing ideas, but after that it's just guessing what you actually want to get done.
The Amazon rainforest has evolved for at least 55 million years. It is
likely home to millions of compounds of potential medicinal value. In
just 50 years 100 million hectares, 390 billion individual trees
16,000 visible species and (estimated unknown) >100,000 types of
non-visible fungi, bacterium, microbes etc, have been destroyed. It's
why I found this wide-eyed statement in TFA particularly cringe:

The discovery shows that "there is terrifically interesting stuff
hiding in plain sight".
The USA captures most of the value from selling iPhones worldwide, but yet the entire value of an iPhone counts only as a Chinese export.

Something is not right with how we calculate these things.
I have seldomly seen insightful comments from LLMs. It is usually better than "comment what the line does" usefull for getting a hint about undocumented code, but not by much. My experience is limited, but what I have I do agree with. As long as you keep on the beaten path it is ok. Comments are not such a thing.
Supporting Palestinians that Israel has been killing for over a year (+50k killed, most were women and children), while starving the rest and ethnically cleansing them, is not supporting terrorism.
> When they talk about trade deficits do they take into account tourism and other services?

If the USA wants tourists, they better ensure not to annoy tourists by their visa policy, or even by detaining tourists:

> Germany Issues Travel Warning for US

> https://www.newsweek.com/germany-issues-travel-warning-us-20...
So, why were they banned? The comments there don't really explain much.
Show HN: React router v7 developer tools
Hey HN!

I've been building developer tools for react-router v7 for a while now, it all started with remix-development-tools and then I rebranded the Repository to react-router-devtools.

I wanted to share the project with you, it's fully open source and helps you build applications with react-router v7.

Some of the features include:
- Detailed server logs including caching information, cookies, server timings and others per loader
- Enhanced console logs telling you where it was logged and allowing you to click to open the file
- Client UI with detailed overview of your routes, current loader data, and a lot of other things.
- Open in VS code button for routes
- Open in VS code for any component on the screen (currently only available on React 18, working on 19 support)
- many many more..

I would love for you to check it out, and if the docs page is not your flavor, here is the github repo:
https://github.com/forge-42/react-router-devtools
Well, how are going to charge for them?

For example, how to deal with Steam? most of the games I buy there (Baldurs Gate 3 for e.g.) are not made in the USA.
Direct-to-Consumer Tariff Timebomb
He says when he thinks he's wrong. This is 22 years old. What does he think now?
That is 100B of ideas for making a European competitor to US services that are soon to be tariffed.
The US is not the only government with sway over US tech companies, and the OS market is now substantially more diverse than when secure boot on x86 was first introduced ~15 years ago.

Never say never, but I just don't see how the option for one to boot an alternative OS on the vast majority of commodity hardware is going to be rolled back any time in the foreseeable future.
I reckon both Mastercard and Visa will give you really damn good proxies for cross border money flows.
Congratulations. But not from me - I wouldn't touch an iPhone with a stick.
I started believing that all these, are just side effects of Americans and their leadership not accepting the loss of their global leadership to China. They know they can’t pull a Plaza Accord like they did with Japan in the 80s to slow they down. Now hoping for some hail marys. In the worst case, a good chunk of people will be poorer, less women with jobs, which should result in a bump in birth rates.

No data points, but I like to entertain this.
To expand on what you wrote, the challenge with phages is that they’re highly specific to certain bacteria, in the same way that some viruses target gorillas and some target humans. We have yet to find broad spectrum phages. While humans have been saved from bacteria by phages, it requires identifying the bacteria strain, looking up appropriate phage that can target that bacteria, cultivating a dose of the phage, etc. So, yea, phages are highly effective, but there are practical challenges. As you say, antibiotics are lazy.
Arthur Whitney writes compact code in C (and in k of course); most things fit on one A4 which is actually very nice to me as an older person. I cannot remember as much as I could (although i'm still ok) and just seeing everything I need to know for a full program on 1 page is very nice vs searching through a billion files, jump to them, read, jump back and actually mostly forgotten the 1000 steps between (I know, this refers to a typical overarchitected codebase I have to work on, but I see many of those unfortunately).
That's part of the problem. You wanting the burger has all these negative consequences for humans, animals and nature.
At the end of his interview some folks linked to, he points out still being at Microsoft working on a project related to AI looking into using Linux on XBox racks.
> Can someone explain to me how the US can reshore manufacturing without dramatically lower their standard of living?

A (very) partial solution is to build the factories at places where the cost of living for the workers is low. This way, the workers can maintain a higher standard of living at a constant salary.
Yeah, I wish other studios would do that did me instead of hiding "LLM" or "we 3" down in the middle. They should know the vibes by now, don't wastr a call if we aren't aligned on the core mission.

Still very confused though. Is there some history here everyone else knows but I don't?
The people have the power. Why not millions of people are on the fucking streets every day across the US is beyond me.
It's now ported to x86 as well, so you can probably just order a Dell box and install OpenVMS on it.
OP, did you also read Gray Mirror this morning. Curtis Yarvin went onto defend the IC idea this morning as a way to defend nascent industries (new industries).
Interesting article, also presented the ideas of mercantilism of Friedrich List (originator of the Zollverein idea).
The tariffs are only about physical goods though, so I'm not sure how this point is relevant?
Interesting, but I'm puzzled.

If these guys are smart enough to predict the future, wouldn't it be more profitable for them to invent it instead of just telling the world what's going to happen?
The subjects of His Majesty have never been free
RE ....Microsoft isn’t necessarily the most innovative.... Did you know Microsoft copied the idea of product activation from a PATENT and got fined about $300M USD for stealing the IP. Google the words Microsoft's fine for copying product activation idea, Ric Richardson for all the details .....
Fun facts, according to Jobs for some unknown reasons Wozniak refused to add floating point support to Apple Basic thus they had to license BASIC with floating point numbers from Microsoft [1].

[1] Bill & Steve (Jobs!) reminisce about floating point BASIC:

https://devblogs.microsoft.com/vbteam/bill-steve-jobs-remini...
If anyone really feels thst way, good time to move to a country that actually protects it's consumers instead of kowtowong.
Split brain experiments shows that human "introspection" is fundamentally unreliable. The brain is trivially coaxed into explaining how it made decisions it did not make.

We're doing the equivalent of LLM's and making up a plausible explanation for how we came to a conclusion, not reflecting reality.
do you really think that AGI is impossible after all that happened up to today? how is this possible?
I prefer a world where there is no distinction between modules (or namespaces) and object, so '.' it is. (and I'm almost exclusively a C++ programmer).
When the internet displaces the town square
If we take out the money of the equation, it really is about what activities constitute good standard of living.

Is it better standard of living to be in a small apartment in the city working an office job or is it better standard of living being in a more rural area working manual jobs. (I honestly don't know, personally, I prefer to do thinking work)
Technically you can revoke the default root of trust and install your own.

Then manually sign your bootloader.

This feature is available at least in my Gigabyte mainboard, but is not particularly easy to use, which is why bootloaders come pre-signed with a known root of trust.
There's nothing stopping the installer from generating the root of trust on the fly, except for the default settings in many machines.

Can also preload measurements for hardware while at it so that nobody swaps a PCIe device for an evil twin.
Thunderbird Pro's Beta Is Open
If he absolutely insisted on writing about Cal AI, I would have recommended that he write more about why he was inspired to build it and the human impact. Instead, he just rattled off metrics that admissions officers will likely know from other places in his app.
Show HN: Built a visual UI editor that exports to code
I've been specializing in UI for over a decade. Using code for UI is great but I always wished there was a more visual code to build apps and sites. So I went ahead and built it.

Decided to build it with Compose Multiplatform since I work a lot with Kotlin. Currently exports to CMP as it was simpler due to the context switch.

You can try it for free and export some apps
> It is the enforcement mechanisms which turn those ideas represented on paper into something that interacts and molds physical reality.

There’s a speech from Reagan, where he reflects on the constitutions of Soviet republics. He notes that, on paper, they all affirm human rights and the dignity of the individual. But in the end, it’s not the words that matter, it’s the people, and whether they choose to uphold or ignore those principles.

“I've read a number of constitutions of other countries, including that of the Soviet Union, and was astonished to find guarantee of freedom of expression and assembly and so forth in all of those. And you find yourself thinking, well, then, what makes ours so different? Why does ours work the way it does? And the answer is so simple that it almost escapes you. And yet it is so great that it explains the whole difference: three words -- 'We the People'.”

- Ronald Reagan - September 10, 1987
- Remarks to the Winners of the Bicentennial
of the Constitution Essay Competition
Trump appointed judges who said abortion is a state's rights issue, and leaders in states such as Texas and Florida openly declared that they would ban all abortion, without exceptions for rape, incest, or medical necessity. And many states delivered on this promise, resulting in a litany of easily-avoidable suffering[1]. None of this was a secret: this was Republicans doing exactly what they promised to do.

Every American who voted Republican voted for that. If you voted for them, you don't get to distance yourself from the abhorrent things Republicans said they were going to do and then did. If you voted for them, take responsibility for what you voted for.

If you knew that, you're pretending ignorance, and if you didn't know that, you shouldn't be spreading ignorance or voting. Either way, stop spreading misinformation.

[1] https://www.vice.com/en/article/a-year-without-roe-here-are-...
iPhone sales don't count as a US export when calculating the trade deficit? Does anyone have information on this? Seems like a major issue indeed.
Corgi | SF Bay Area | Onsite | Full-time | YC-funded

Corgi is the first fully AI-powered insurance company automating every aspect of the value chain.

We have product-market fit, multi-million-dollar revenue, and substantial funding.

We're hiring Generalist Engineers with strong backend skills:

Go, Django/Python (Flask/FastAPI), React/Next.js

AWS, Docker, databases, Redis, RabbitMQ

We use trunk-based development, pushing straight to main multiple times a day. We don't do PRs, sprints, or Jira.

IMPORTANT: We work onsite, 7 days a week.

Join us to build cutting-edge tech in a YC-funded, impactful startup.

Apply by sending a 1-min intro video about your projects, proudest achievement, and motivation.

Contact: sam@corgi.insure (subject line "HN Who Is Hiring")
Show HN: Refactored – personal time tracker with Git
After some feedback I spent some time re-reading through the git docs, and refactored to add time tracking data into the commit message directly. It's simpler than using tags.

thanks.
Surely you get that losing one dollar hurts much more when you have 100 compared to losing 1000 when you have 100 000?