skysight-inc/HackerNews huggingface dataset:
Isn't this essentially "we're closing borders"?

Since the gloves are officially off, I'm wondering about something. Doesn't China hold a whole lot of US treasury bonds? What happens to those famous 10 years yields if China sells all its US bonds (why would it want to keep them if the relationship is dead)?
the importance of writing cannot be over-stated.

If you want to solve nasty, hard Heisen-bug problems you need to write. Ask questions, write down the answers. Follow the trail.

Some times you need to be more formal. Learning how to write maths is invaluable. Distributed systems, security, performance at scale… all benefit from a solid understanding of some pretty simple maths.

Writing is thinking! Challenge yourself, examine your thoughts, and learn to write well. It pays off in spades.
Any of them, but let's preempt the arguments.

Outright "communist" states like Cuba and Venezuela no longer have sponsors, and are sanctioned by the US, so they're exempt from having to prove that their economies could conceivably generate any innovation.

Right-wing "post-democratic" states like Russia and Hungary are, by some definition, capitalist, but you see no innovation there either. Presumably someone if not you could blame America for them being unable to innovate. One could equally say that their markets aren't free, because they're fully captured and manipulated by their respective mafia/oligarchies.

Ahem. Just like the so-called communist countries are.

Then of course there's China. Where capitalism is also a plaything of the governing power. Similarly, no major drug developments have come out of there. Although we did have a fantastic example recently of how not to manage a biolab doing gain of function research.

Pray tell, which countries without free markets do anything at all? I'm not holding my breath for North Korea to cure cancer, no matter how much of their GDP is spent trying to keep their Dear Leader alive.
How to Sync Anything
Also, don't forget to factor in the reality that many Chinese people live at and expect a far lower standard of living than Americans do. Americans by in large are some of the most spoiled and entitled people on this planet who think that getting a new TV every year is a necessity for life
No, it doesn't, because in a switch with a loop, at the end of each case (after the break), the instructions have an unconditional jump to the top of the switch again, where it performs the indirect jump. With the code using computed goto, the indirect jump is at the end of every single case of the switch. You can see this in the assembly the author provides. I'm ignoring cases where there's fallthrough to another case of the switch, which is sometimes done in interpreters like these. And though I wasn't thinking of it, the lack of a bounds check also reduces the number of branches.

The reduced branching used to bring speed improvements due to better branch prediction, though they have shrunken and become smaller and smaller on newer CPUs as branch prediction has improved in general.

The fact that they had become increasingly miniscule was acknowledged even ten years ago:

Nehalem shows a few outstanding speedups (in the 30%–40% range), as well as Sandy Bridge to a lesser extent, but the average speedups (geomean of individual speedups) for Nehalem, Sandy Bridge, and Haswell are respectively 10.1%, 4.2%, and 2.8% with a few outstanding values for
each microarchitecture. The benefits of threaded code decreases with each new generation of microarchitecture.

https://inria.hal.science/hal-01100647/document
And it's worth noting that since your comment later in that thread about sandbox being an issue, that's been fixed too as of Firefox 128: https://bugzilla.mozilla.org/show_bug.cgi?id=1411641
Good call, I started using it a few months ago, and now it is something I can't live without.
Totally forgot about this. My blog doesn't look too bad without CSS: https://theandrewbailey.com/x-naked
> buying ships from allies

In 2025, is the word “ally” even a legitimate term in the U.S. political lexicon?
Qt is great for its painting operations alone.
> Doing any styling or scripting inline should be frowned upon as hard as table-based layouts.

I strongly disagree: inlining your entire CSS and JS is absurdly good for performance, up to a surprisingly large size. If you have less than 100KB of JS and CSS (which almost every content site should be able to, most trivially, and almost all should aim to), there’s simply no question about it, I would recommend deploying with only inline styles and scripts. The threshold where it becomes more subjective is, for most target audiences, possibly over half a megabyte by now.

Seriously, it’s ridiculous just how good inlining everything is for performance, whether for first or subsequent page load; especially when you have hundreds of milliseconds of latency to the server, but even when you’re nearby. Local caches can be bafflingly slow, and letting the browser just execute it all in one go without even needing to look for a file has huge benefits.

It’s also a lot more robust. Fetching external resources is much more fragile than people tend to imagine.
SpaceX rockets routinely fail to orbit
Not an economist but doesn’t it also depend on what you think the rest of the world would think about the dollar in the future?
> Isn't this essentially "we're closing borders"?

Even if Chinese goods becomes twice as expensive, many are still cheaper than what you can buy in the US (if they're even made there).

Some businesses just don't have a choice, or they'll go bankrupt.
I completely agree - though there are places where I trust an implementation of things like a well known algorithm.

However, to add onto this, I'm consistently shocked at how often it is much CHEAPER to "roll your own." We've done some reviews on systems after a few years and the number of bugs and security vulnerabilities we experience with code based around packages is much MUCH higher. Its hard to put a number to it because the time cost of fixing those issues is variable, but its substantial. Its also amazing to me that it can be cheaper to build your own vs using a 3rd party vendor for something that would appear to be highly specialized - of course opportunity cost is a real thing.
Trump says he told TSMC it would pay 100% tax if it doesn't build in US
> Glad to see Echarts getting the recognition it deserves.

Why is it so rarely mentioned in chart libraries comparisons? Its not even listed on the Wikipedia page for JavaScript chart libraries. I discovered it by chance through Apache Superset.
> It still remains an awesome tool, but a limited one.

And that's enough to drive significant industry-wide change. Just because it can't fully automate everything doesn't mean companies aren't going to expect (and, indeed, increasingly require) their employees to learn how to effectively utilize the technology. The CEO of Shopify recently made it clear that refusal to learn to use AI tools will factor directly into performance evaluations for all staff. This is just the beginning. It's best to be wise and go where the puck is headed.

The article gives several examples of where these tools are used to rapidly accelerate experimentation, pitches, etc. Supposedly this is a bad thing and should be avoided because it's not sufficiently artisan, but no defensible argument was presented as to why these use cases are illegitimate.

In terms of writing code, we're entering an era where developers who have invested in learning how to utilize this technology are simply better and more valuable to companies than developers who have not. Naysayers will find all sorts of false ways to nitpick that statement, yet it remains true. Effective usage means knowing when (and when not) to use these tools -- and to what degree. It also, for now at least, means remaining a human expert about the craft at hand.
So is Basecamp. Profitability is not a dirty word.
how about it being a simple gentle nod to the plain design of HN.
That's bad practice because it hides build steps from `docker inspect`. Per https://github.com/docker-library/official-images#clarity:

> Try to make the Dockerfile easy to understand/read. It may be tempting, for the sake of brevity, to put complicated initialization details into a standalone script and merely add a RUN command in the Dockerfile. However, this causes the resulting Dockerfile to be overly opaque, and such Dockerfiles are unlikely to pass review. Instead, it is recommended to put all the commands for initialization into the Dockerfile as appropriate RUN or ENV command combinations. To find good examples, look at the current official images.
Totally legal

Even if it steps on a trademark?
Yes, but we see that the "raising" logic is in place. Whoever stops raising the tariff "loses face". So they'll raise them until... infinity?
He says a lot of things.

Edit: Apologies, didn't mean to be (that) flippant. I meant more like, we can't look much about what he says. Only look at what he does, and it seems he can do incredibly destructive things.
Sure, "eventually" you'll be able to point an agent at an arbitrary API and have it figure things out. We have a ways to go before we get there, but we will get there.
> "SUBSET" is the word I used.

So? There is a subset of X lang (both bigger and smaller than Rust), complaining why not rewrite in X.

But only Rust devs ever get the flak. Because it's a played out meme, or something. Or it triggers the Rust dev, whatever.
Their blog has a lot of posts on trying to attack Firefox. If it's so simple, why are you not in the bug bounty hall of fame? :)
Does anyone know how this contrasts with `text-align: justify` (mentioned in https://news.ycombinator.com/item?id=43258709#43260606)?

In Chrome (can't test Safari), `text-wrap: pretty` has a much milder effect.

Should one use both together in the main text of your average blog? I checked, they do appear to make individual changes.
Tariff Talk from Board Game Publishers on Costs, Sales, and More
>He would know that the wealthiest, most powerful nations ever on Earth - universally, with no others competing - were built on free trade.

It really depends on the context. Roman Empire wasn't built on free trade.
> "If you want something done, do it yourself"

That's how Sublime Text does it and it works great. Same UI on all platform, pretty fast and they control their destiny. Moreover, the ST binary will probably continue to work for the foreseeable future whatever the platform.
iirc the formal correctness of Rusts memory model was proven by Ralf Jung https://research.ralfj.de/thesis.html
NASA always does this in manned spaceflight: about once every two decades or one human generation, like clockwork since the 60s, they get "go fever" and people die in ways they promised the public people wouldn't.

The last one was in 2003, so I suppose those two astronauts in that Starliner must've had their guardian angels working triple shifts and overtime that day.
He does a lot of them, too.

I don't see any reason why he might not put 100% tax on any random business that doesn't do what he tells them to do, given what else he's demonstrated no concern about actually doing.

Unfortunately, given what he's also said of the trade deal that he himself signed, nobody can seriously do a deal with him ever even if it seems to be in their immediate interests: https://www.huffpost.com/entry/trump-usmca-nafta-tariffs-can...
they also more than routinely not just make it to orbit but land nicely to be used again.

Good luck Boeing trying to match that record.
It's hardly SWI's lib, clpFD is available almost identically in Sicstus, Ciao, GNU, B† and others. As to why? I dunno I guess for a lot of us constraint programming just comes to hand very naturally. It often feels more Prolog-y to us than non-constraint approaches.

†B-Prolog of course morphed into Picat which is also mentioned and Picat also leans heavy on clp so if the author is more familiar with Picat it would be even more natural to use clpFD.
And TSMC should accept any tax imposed without further consideration.
Good luck to Nvidia, Apple, and the rest finding competitive alternatives.
> Why would you expect US Fed data on US residents to have anything to do with Norway’s sovereign fund?

It is unclear if 93% of all stocks owned by Americans are owned by the richest 10% of Americans, or if 93% of all stocks traded in the US are owned by the richest 10% of Americans.

The defined benefit plan beneficial ownership is actually more so all taxpayers (since most are government employees), since they are on the hook for the benefits of the equity investments don’t live up to the expected returns. This would impact everyone via higher taxes, although exactly who and how much is up to politics.

I guess my point is the whole of society kind of has its eggs in the public equities basket.
Are you (or someone you know) proactive, tech-savvy, and two steps ahead? Help our Head of Business Development keep leads moving, calendars smooth, and the CRM sharp.

Know someone great? Send them our way, or apply now.

Six Feet Up helps impactful tech leaders solve hard problems by crafting superior and lasting software solutions, specializing in App Development, AI and Big Data.
Explain monthly payments for something that works completely offline.
>what did you expect?

Isn't that the point of doing science? What if the result showed no association or even a negative association? There are plenty of studies that yield surprising or unintuitive results. That's why you do the study, because you can't know beforehand when your expectation will be right or wrong.
>Regardless, countries that largely operate without protectionism or colonialism have become the wealthiest in the history of the world, without any real competition. There's not much argument remaining.

The wealthiest economies now are those of China and US. And both used colonialism and protectionism.

The further we look in history, the more we see most powerful economies practicing both colonialism and protectionism. From British Empire to Roman Empire.
Tailscale not having reached profitability yet and having to raise more is bad news, as it increases the odds of future enshitification.
Whisky is no longer actively maintained
Donald Trump is a prime example.
A simple configurable Bash menu template
[Bash Script] Interactive Menu to Automate Your Daily Commands!
Tired of typing the same terminal commands over and over again? This lightweight Bash script is here to save you time!

Simple, fast, and fully customizable, it lets you build your own interactive menu for launching common actions like website updates, backups, or custom scripts.
Clean color-coded UI, built-in safety check (blocks execution as www-data), supports aliases, and can auto-launch when opening a terminal.
> > historically very popular

> When? Not for a long time. Slavery and witchcraft were historically very popular ...

The wikipedia article places it as 16th to 19th century which is a longer time period than Globalism was popular.

If the end of my post wasn't clear, I'm not a fan of Mercantilism but one does need to understand the other side. Although a big critique I have of Globalism is that the gains from trade are not evenly dispersed automatically so countries like the US really need to raise the top tax rate and increase (or at least not lower) redistribution otherwise you get high income equality.

Also, slavery and witchcraft are still practiced to this day although maybe not globally popular.

> > when you buy stuff you're losing wealth

> That's a incredible failure of understanding. I can't believe that's the basis of mercantilism. Why would anyone buy something?

Economic theories like Mercantilism are on the country level so individuals would still buy stuff because they're not practicing Mercantilism.

On the country level, yeah you don't buy stuff. If your citizens love coffee and your climate doesn't support growing coffee beans then you get a South America colony so now your climate does support growing coffee beans.

Somebody's answer to the house example is pretty good to read as well - https://news.ycombinator.com/item?id=43630218

> Many transactions are better with people who happen to be outside the borders of your country - why wouldn't they be?

At the macro-level sure. However, if the USA had continued to practices mercantilism post-WW2 then we wouldn't have complaints about the lack of manufacturing.

The industrial plants in China would've never been built by US investment because that's literally handing money away to another country. If China doesn't have a factory its irrelevant if their labor is cheaper; the only labor with access to a factory is the USA.
The tariffs are already showing dents in Trumps personality cult. More Republicans are standing up to him over this in the Senate, house will follow as it becomes harder to deny he's not a great businessman or negotiator.

Retaliating is the correct move from other countries, groveling to this kind of leader will just lead to getting bullied more in the future. And unlike with Russia you can almost count on him losing power if you push back.
By the end of this message I felt like I was having a stroke. Wut?
I am Chinese, I want to try to understand why this is happening? You People often criticize our political system, why don't I feel it?
I'm not sure the current lot are capable of 2d chess. See penguins for example.

Also see "I’d like to apologize to bricks for calling Peter Retarrdo dumber than a sack of bricks. That was so unfair to bricks." - E Musk
Yes, why would I not? I, unlike you, do not intend to have a shallow knowledge on things I wanna know about. In a few years, it's going to get worse and no one would have deep expertise on anything (especially junior engineers) if they keep using LLMs. DDG is still far better than Google although I have started to see more ads on DDG searches which is quite annoying
> Also, it's not clear if aircraft carriers are survivable in a vaguely peer context.

It's not clear if the planet is survivable in a vaguely peer context. What do you want, build a second planet and make Mexico pay for it?
> in spite of appearances

Or disappearances, in some cases
It's the developed land. A house built on the land you own in a city that people would kill to buy/rent there.

A house in the middle of Sahara desert is worth a negative amount.
MIT class of '75 in course 18 (math - 3 years) and class of '76 course 6.3 (CS - fourth year). I stayed for that 4th year because the job market and grad school pool were awful. Was unemployed when graduated in June '76. Took advantage of that to take a cross-county motorcycle tour. Finally got a job in mid-September. That company went belly-up 6 weeks later. Remained unemployed until January '77. With the dream job that really launched my career. I wish I had more encouraging words for you, but what worked for me was - stick to what you love - eventually it'll work out. But don't be afraid to do what it takes to survive. I made ends meet by working as a bartender - moonlighting during that first job, and then as main income for a few more weeks until I got that wholly unexpected call from a headhunter that changed everything.
Exactly. It's been clearly established that web extensions' code is more priveleged than a page code, as it should be. The amount of people going 'muh sesoority' in this thread is baffling.
Boeing was involved with the Saturn V. The only vehicle to take humans beyond LEO, decades before I was even born. No excuses for rockets that don't work in this day and age. I say good luck to SpaceX matching that record.

BTW, I'm not defending Boeing, more just some spacex hate :p
MC-Bench
As opposed to what? The US? Land of the free and home of the brave?
We Live in a Golden Age of Interoperability
note that for inline style/script, as long as you're not using `style=''` or `onclick=''` , you can use `nonce=` to have a hash and to my understanding, newly added inline script will not be tolerated, allowing to have the best of both world
Thanks for sharing this. it's a super useful link. I hadn’t seen Canvid until now, but I think an AI-powered screen recorder is exciting. It’s a great tool for content creators and educators who want smart editing and automation.
Photographs of 19th Century Japan
>Most of us sell server-time wrapped in software that performs a service…

Most of us value goods more than services. We need food, we need shelter, we need a vehicle.
Honest question: I don't understand how forbidding inline scripts and style improves security. Also it would be a serious inconvenience to the way we distribute some of our software right now lol
Ironically the paragraph about orphans ("avoid leaving a single word by itself") puts "large" on a line by itself (at the largest viewport).

Applying `text-wrap:pretty` solves that!
CSP is great in mitigating a whole bunch of security concerns, and it also forces some good practices (e.g. not using inline scripts).

I recently implemented a couple of tools to generate[1] and validate[2] a CSP. Would be glad if anybody tries it.

[1] https://www.csphero.com/csp-builder
[2] https://www.csphero.com/csp-validator
I would rather slam my dick in a car door. A16Z can fuck right off.
Yes and no.

Yes: if you are an expert in the area. In this case I needed something fairly specific I am far from an expert in. I know both Elixir and Rust quite well but couldn't quickly figure out how to be able to wrap a Rust object in just the right container(s) data type(s) so it can be safely accessed from any OS thread even though the object at hand is `Send` but not `Sync`. And I wanted it done without a mutex.

No: because most programming languages are just verbose. Many times I know _exactly_ what I will write 10 minutes later but I still have to type it out. If I can describe it to an LLM well enough then part of that time is saved.

Mind you, I am usually an LLM hater. They are over-glorified, they don't "reason" and they don't "understand" -- it baffles me to this day that an audience seemingly as educated as HN believes in that snake oil.

That being said, they are still a useful tool and as good engineers it's on us to recognize a tool's utility and its strong and weak usages and adapt our workflows to that. I believe me and many others do just that.

The rest... believe in forest nymphs.

So yeah. I agree that a significant part of the time it's just quicker to type it out. But people like myself are good at articulating their needs so with us it's often a coin toss. I choose to type the code out myself more often than not because (1) I don't want to pay for any LLM yet and (2) I don't want to forget my craft which I love to this day and never did it just for the money.
The most obvious outcome possible. I can't believe how stupid Silicon Valley was with this.
I don't think it is WAF related, it clearly says:

> If you are owner of this website, prevent this from happening again by upgrading your plan on the Cloudflare Workers dashboard.

Looking into it, my hypothesis is that the owners page is SSRd using cloudflare workers and they reached the daily limits.
No one who extensively uses dropbox uses their UI. It's mostly either the API or rclone. It's inefficient and a complete waste of time to use any UI at all
Finance can be fast if wanted, and I don't think there' s a deliberate delay in Wise's animation.

In my country, we have a similar system, and before my bank sends me a push notification about the outgoing transfer, the push notification for incoming transfer pops up for most of the time. The delay between push notifications rarely goes above 2 seconds.

Ours has an upper limit to prevent abuse of the system, but you can't beat instant, actually.