MurphyA/hacker-news huggingface dataset:
by elbasti | 2025-04-15 14:36:49+00:00
Like OP, I work in manufacturing (after 15 years in startup land). I'm not as experienced as him, but I work in manufacturing that makes similar products on both sides of the US/Mexico border.

Let me add some thoughts:

1) Capacity, not cost, is the main driver for nearshoring. All things being equal, a manufacturer would rather produce a product in the US than overseas. The cost of modern products is mostly parts & material, not labor. When you add logistcs expenses, the theoretical cost advantage of overseas vs local is not that great. Remember:the people on the other side of the border are capitalists too! They want to keep most of the surplus of nearshoring to themselves! The problem is that there simply is no capacity, both in facilities and especially in people.

2) What matters even more than capacity is the first derivative of capacity. In other words: how quickly can I spin up a new factory if I win a big deal? How quickly can I spin one down if the client goes away? How long will it take me to get a permit to connect my new factory to the highway? In the US, these costs and timelines are massive. Real estate, permitting, hiring. There is an order of magnitude difference here, in cost and time.

3) The labor problems are real. I don't want to disparage the american workers I work with, because they are amazing. Truly fantastic craftsmen. But they are hard to find. You'd be surprised how many people show up who can't read or can't read a tape measure. How hard it is to find people that want to work 8 hours a day, 5 days a week. By contrast, in our overseas facility we have qualified workers literally showing up at our gate every day asking for work.

In other words, the root cause problems with american manufacturing are—-surprise surprise!--the same problems as with other parts of the US that are in decay:

- Disfunctional local government, especially around permitting, construction, housing and transit

- Disfunctional education & healthcare systems.

- A lack of strategic investment in infrastructure (rail, highways)

- A social safety net that is totally out of whack, with a high cost burden for employers & employees, with little to no immediate quality-of-life benefits for the working population

Tariffs solve exactly zero of those probems!
by movpasd | 2025-04-15 14:37:40+00:00
It's a surprising choice that Rust made to have the unit of compilation and unit of distribution coincide. I say surprising, because one of the tacit design principles I've seen and really appreciated in Rust is the disaggregation of orthogonal features.

For example, classical object-oriented programming uses classes both as an encapsulation boundary (where invariants are maintained and information is hidden) and a data boundary, whereas in Rust these are separated into the module system and structs separately. This allows for complex invariants cutting across types, whereas a private member of a class can only ever be accessed within that class, including by its siblings within a module.

Another example is the trait object (dyn Trait), which allows the client of a trait to decide whether dynamic dispatch is necessary, instead of baking it into the specification of the type with virtual functions.

Notice also the compositionality: if you do want to mandate dynamic dispatch, you can use the module system to either only ever issue trait objects, or opaquely hide one in a struct. So there is no loss of expressivity.
by chneu | 2025-04-15 14:37:52+00:00
This rings true for much of South America at one point or another. Lots of African nations. Several in SE Asia as well.

Heck, just in the last few years we've seen several countries regress by a decade or more because of military coups or similar.

Really, if you look at many countries that haven't been a world power, this has happened once or twice in recent memory.
by mlsu | 2025-04-15 14:38:07+00:00
Why will a factory job will pay enough for one person to raise a family and buy a house on a single income?

Like what is unique about factory work that allows for this? I’ve heard stuff like this so much and I just do not believe it. Is anyone working in a factory in the USA today able to buy a home and have a stay at home spouse on a single income?
by xnorswap | 2025-04-15 14:38:16+00:00
> For the first time in the history

I'll charitably assume you meant first time in post-war history.

USA as "The Global leader" didn't emerge until after Europe was ravaged first by The Great War and then WWII.

No-one was looking toward the USA for leadership during The Great Game. Even by the time of the outbreak of WW1, the size of the USA's army was very small, half the size of the British army, which was itself considered small compared to the French and German armies.

US foreign policy was still inward looking, protectionist and isolationist until it could no longer ignore the case for war.

The foreign power projection really didn't kick into gear until 1945 onward and the determination not to let too much of the world fall to communist ideas.
by idle_zealot | 2025-04-15 14:38:17+00:00
> At this point it's basically capitlism against authoritarianism

Ha. You say that as though those things are incompatible. Some capital is putting up token resistance to the rise of authoritarianism, but it can't be a strong counterforce because that would risk retribution. Instead more and more capitalists bend the knee in hopes of favorable treatment. That's why I say the likes of CNN and NBC will switch to bootlicking before long.
by miiiiiike | 2025-04-15 14:38:18+00:00
Yeah, no. A doctor that I had a feeling wasn't paying too close attention to what I was saying ordered a pelvic/abdominal CT with and without contrast, ~30-40 mSv. Nothing turned up on the scans. When I went back he said "nothing's wrong" and, confused, I described my symptoms again. He just said "Oh! You need physical therapy."

Two weeks of physical therapy and I was fine.

At the time I was mad about the money, now I'm just thinking "what a dumb way to (maybe) get gut cancer."

I was young. I thought I was scheduled for an MRI like the one I had for my sinuses. I didn't even know what a was CT at the time.
by jhallenworld | 2025-04-15 14:38:19+00:00
Yuck, I have recurrent kidney stones and have had many CT-scans. It seems to have become the standard procedure when you complain of abdominal pain at the ER. Years ago I remember just getting an X-ray.

What's interesting is I needed surgery to remove the most recent stones, and I've not had a CT-scan since- the urologist uses ultrasound.

On the other hand, I've had fluoroscopy.. probably worse than even CT-scans.
by detourdog | 2025-04-15 14:38:53+00:00
I think the development cordage(rope) and woodworking techniques would have a heavy influence on slowing down, noticing the surrounding abundance. Once a location becomes favorable more substantial and long lasting structures could be made.

My question is what was the divide that kept these groups at 50kyo. Something kept them apart.

I hope they get samples from different beings to analyze.
by like_any_other | 2025-04-15 14:39:11+00:00
> Other than that it seems to be mostly good points, especially the overall one: you cannot do this overnight.

It's annoying Americans were given only two choices - offshoring is great and let's keep doing it, and, as you say, the opposite, meth-fueled let's bring back manufacturing overnight. The kind of slow and steady protection and promotion of home-grown industry that China and most of Asia so successfully used to grow their economies was completely absent as even a talking point.
by francio445 | 2025-04-15 14:39:14+00:00
66.45% is inside the edge of 66% to 72% range typical for almost any model. This is given by the fact that the most favored teams lose between 28% to 34% of the game they are supposed to win. So yeah the model predict the most favored team and sometimes was able to predict some winners that the odds weren't able to find but it's a pretty average accuracy ;) Considering the fact that 100% - 28% = 72% and 100% - 34% = 66% the model is inside that edge of predicting the obvious winner but, 1/3 of the times games' outcomes are very "random" / "unpredictable". Also, professional people who bet knowing and watching almost every game, play, knowing almost every news, trade, injury and external factors are accurate around 68% of the time. For me it's pretty amazing that a model knowing nothin could do this well sometimes and it was very fun creating and working on this for around 3 weeks ;)
by bilsbie | 2025-04-15 14:39:18+00:00
> Naturally, a rocket going into space cannot carry along an electrical wire to the ground to deliver energy.

I’ve been wondering about this actually. (Please keep an open mind if responding)

In theory if we used a high enough voltage. Possibly in the megavolt range we could have a very lightweight wire. And if we could turn that directly into heat on the rocket without even needed equipment to step it down.

I don’t see why we couldn’t have long wires. At least 20 miles and use it as a low speed first stage.
by kjkjadksj | 2025-04-15 14:39:47+00:00
People literally do just that today in the midwest. The coastal housing imbalance is just that a housing imbalance and not reflective of a lack of buying power today. Also consider that americans back then outside of the car and home had no other large purchases. No computer, no $1k phone on a $1k/yr plan, no big tv. People weren’t even eating out or flying back then when they could afford a family vacation.
by sidekickhero | 2025-04-15 14:39:53+00:00
Hi, Interesting. Thanks.

From what I’ve seen, the responsibility for keeping documentation up to date really depends on how the company is structured. In some cases, it falls under the product team; in others, it’s handled by the support team.

In a previous role at a large company, I was on the product team, and initially, we were responsible for creating and maintaining the docs. Later, that responsibility shifted to the support team. At first, this freed us up a bit, but eventually, we started producing videos so the support team could use them as a base for writing the final documentation.

That handoff helped somewhat, but it didn’t solve the core issue: even small UI changes still required updating the docs. Screenshots had to be redone constantly, which quickly became a time sink.
by tonyedgecombe | 2025-04-15 14:40:24+00:00
Start by realising this is going to take decades to reverse.

Given the timescale any solution will require cooperation across political parties. You can’t start something that will get undone in four years.

Then accept it won’t make much difference to the inhabitants of bumfuck USA. Automation is what took their jobs.

Start at the top of the food chain and gradually work down. If America can make cars but not car tyres then implement gradually increasing tariffs on imported tyres. 1% this year, 2% next and so on. Pretty soon you have a car tyre industry again.

Know when to stop, just like it doesn’t make sense for a banker to clean their own house it doesn’t make sense for a rich country to be making tee shirts.

Of course this won’t happen because of the American political system.
by _shantaram | 2025-04-15 14:40:45+00:00
Hi! I've spent the past few weeks rebuilding my web framework with a bunch of new stuff and I'd love to hear what you all think! It's got fine-grained reactivity but tries to stay as close to the DOM as possible (all methods work with HTMLElement and standard JS features) but still provide an easy-to-use API, and fits in under 5kb gzipped. A lot of the methods and utils can also be used on the server, though there isn't really anything SSR-specific yet.

Source code is on GitHub (https://github.com/xyzshantaram/campfire), PRs welcome :)
by NewUser76312 | 2025-04-15 14:40:51+00:00
As a user I'm getting so confused as to what's the "best" for various categories. I don't have time/want to dig into benchmarks for different categories, look into the example data to see which best maps onto my current problems.

The graphs presented don't even show a clear winner across all categories. The one with the biggest "number", GPT-4.5, isn't even in the best in most categories, actually it's like 3rd in a lot of them.

This is quite confusing as a user.

Otherwise big fan of OAI products thus far. I keep paying $20/mo, they keep improving across the board.
by vFunct | 2025-04-15 14:40:54+00:00
Everyone wants to think they're the most valuable thing in the world, but economics doesn't care about how much people value themselves. It only cares about when both buyer and seller agrees to the value of their work.

You may think a farm worker deserves $500,000,000 a year, but that won't matter until someone else decides to pay them that.

Ultimately, it's OK to say some things are more valuable than others, including the value of your labor.
by hedora | 2025-04-15 14:40:57+00:00
Typescript is a Microsoft project, so they did build an actually good framework. The swift work that Apple’s doing is pretty cool, though I haven’t used it in anger.

I come from an async/lock free C++ then Rust background, but am using typescript quite a bit these days. Rust is data race free because of the borrow checker. Swift async actors are too, by construction (similar to other actor based frameworks like Orleans). Typescript is trivially data race free (only one thread). Very few other popular languages provide that level of safety these days. Golang certainly does not.

I was benchmarking some single-treaded WASM rust code, and couldn’t figure out why half the runs were 2x slower than the other. It turns out I was accidentally running native half the time, so those runs were faster. I’m shocked the single core performance difference is so low.

Anyway, as bad a javascript used to be, typescript is actually a nice language with a decent ecosystem Like Rust and C++, its type system is a joy to work with, and greatly improves productivity vs. languages like Java, C#, etc.
by Herring | 2025-04-15 14:41:01+00:00
Empires come and go, that's just a fact of life. The question was whether they'd fall back relatively gracefully like (Western) Europe, now with multiple countries ranking at the top of "World's Happiest Countries", or whether they'll become Russia 2.0 with the biggest guns, richest oligarchs, and the worst quality of life.

It's still far from played out, but right now they're solidly on the road to Russia 2.0, with decades-long trends pointing that way.
by justanotheratom | 2025-04-15 14:41:15+00:00
This is an awesome direction. Few thoughts:

It would be awesome if the custom rules were generalized on the fly from ongoing reviewer conversations. Imaging two devs quibble about line length in a PR, and in a future PR, the AI reminds about this convention.

Would this work seamlessly with AI Engineers like Devin? I imagine so.

This will be very handy for solo devs as well, even those who don't use Coding CoPilots could benefit from an AI reviewer, if it does not waste their time.

Maybe there can be multiple AI models review the PR at the same time, and over time, we promote the ones whose feedback is accepted more.
by orwin | 2025-04-15 14:41:15+00:00
Yes.

I'm not saying the charges were fake, I said they imprisoned him specifically to have the other executives agreed to a signature on the contract (in my opinion , he deserves more than 14th month, but usually, executive don't get imprisonned for corruption, and suddenly get freed exactly at the moment of the signing).

The signing, the french government agreement, the GE valuation, all that reeks of political corruption, but well :/
by ZeroGravitas | 2025-04-15 14:41:23+00:00
China is also more electrified generally than the US. They only just pulled ahead but the rate of change is startling.

Since 2000 they've gone from 10% of final energy being electricity to nearly 26% while the US has been basically flat around 23% and they are both predicted to grow (or not grow) at roughly the same in the next few years.
by shhsshs | 2025-04-15 14:41:39+00:00
Question for you and commenter above, do you play games with controls similar to Outer Wilds often? Do you play many games in general? I've seen this comment a few times and I'm curious why this is such a common talking point. I thought the controls were very intuitive, so I'm curious if it's a familiarity issue or something else.
by gooseus | 2025-04-15 14:41:40+00:00
Really?

Seems way more obvious to me that Thiel/Vance/Musk would have Trump whacked... probably in the 2nd or 3rd year so that Vance can take power during a Reichstag fire with enough time left till elections in order for them to consolidate power.

Trump is primarily an actor pretending to be a gangster/president on TV to serve as a front for the real gangsters pilfering our government, at some point he will better serve those people by becoming a martyr in a way which transfers his power to someone else they control.
by mikeyouse | 2025-04-15 14:41:48+00:00
> They conducted an early-morning no-knock raid for a search warrant when they knew Malinowski would be there (having cancelled an earlier one because he wasn't home)

Among many other points that are wrong - everyone involved agrees there was plenty of knocking.

> They could have waited until daylight and knocked on the door with their warrant and walked right in.

Search warrants almost always begin at 6am - and when weapons are involved, they almost always execute them soon after.
Show HN: Buzzled – a three axis hex logic puzzle
by _usefulcat | 2025-04-15 14:41:48+00:00
I made this new daily number puzzle with four modes for beginners, casual and challenging play. I'd love to hear your feedback

Colour all the hexes yellow or black to solve the puzzle

Each row has a pin showing a target sum and colour (yellow or black). Click the hexes to change their colour so the sum of the hexes of one colour match the target sum and colour. (Right click cycles the colours in the opposite order)

When a row is solved its pin gets a green border. Pins with a green border can be clicked to fill all white hexes in that row with the opposite colour.
by uh_uh | 2025-04-15 14:42:05+00:00
> Remember that you'll get comparable levels of radiation even if you commute through the grand central station every day.

Gemini says this:

> A single typical CT scan delivers a dose that is roughly 1,000 to over 5,000 times higher than the dose you'd get from spending a few hours in Grand Central Terminal.

Where did you get that from?
by xbmcuser | 2025-04-15 14:42:18+00:00
China electricity consumption is growing by 6-8% a year and is likely to hit 10500 trillion kilowatt-hours in 2025. Which at $0.10/kwh the avg is a $1 trillion dollars. Though from what I understand in China home users are charged about $0.07 and industry $0.08 so $7-800 billion a year on electricity alone.

They are rapidly moving to renewable with grid scale BESS auctions avg $66-68/kw they are likely to have electricity prices at $0.01-0.02 over the next few years. I think it will be extremely tough to compete with China in manufacturing unless there is huge investment in renewable and storage systems to keep electricity prices competitive with China who are going to move on from coal over the next decade.
by dragonwriter | 2025-04-15 14:42:18+00:00
> IMHO, with the Big Tech boom winding down, what is more valuable for us to do?

Tech isn't winding down; tech, as the sector that draws the most investment based on long-term development, had the biggest response to tight monetary policy designed to slow the entire economy down, but that response demonstrates that tech is where most of the marginal dollar goes.

> Manufacturing could prepare us for the next wave, whatever that might be.

Trying to work our way down the raw materials -> manufacturing -> finance/services ladder that countries usually try to work their way up for maximum prosperity in globalized trade isn't going to prepare us for anything other than lasting economic decline. And why would “manufacturing”—which you can't build generically, but only by specific, usually impossible to reallocate to a different use that isn't closely similar without sacrificing most of the value, major capital investments in particular subareas of manufacturing, prepare us for anything else even ignoring that we’d have to regress to do it?
by bluGill | 2025-04-15 14:42:39+00:00
The amazing things to me is people still are not asking why people are so mad about the state of things they voted for Trump in the first place. Trump is the only one promising to make some changes to make life better for those who don't want to go to college. "Maybe he will, maybe he won't, but everyone else is ignoring us" is what I keep hearing when I listen to those people.

Fix health care - socialism isn't the only answer despite what many hear will say.

Fix school - it shouldn't be all sit at your desk but that is what we get. Bring back gym class. Make kids get practical experience building the things they designed (that is shop class). Math could be fun - but most teachers don't believe it themselves, and so they haven't a hope of passing that on to students.
by mdaniel | 2025-04-15 14:42:56+00:00
I see on your website that you claim the subprocessors are SOC2 type 2 certified, but it doesn't appear that you claim anything about your SOC2 status (in progress, certified, not interested). I mention this because I would suspect the breach risk is not that OpenAI gets popped but rather that a place which gathers continuously updated mirrors of source code does. The sandbox idea only protects the projects from one another, not from a malicious actor injecting some bad dep into your supply chain
by Bjartr | 2025-04-15 14:43:03+00:00
They mention it only offhand in one sentence, but my understanding of most of the slowness of the US rail network is that it's mostly passenger trains having to let long freight trains pass that eats tons of time.

Nominally, passenger trains have priority and freight trains have to pull into a siding to let them pass, but freight companies made the freight trains longer than the available sidings and so it's the passenger train that gives way in practice most of the time.

Doesn't really matter how fast the train is, or how efficiently it's boarded if it spends excessive amounts of time sitting still waiting for freight to pass.
by jhbadger | 2025-04-15 14:43:10+00:00
Not this again. Watson didn't "steal" Franklin's data despite the myth. Raymond Gosling, a grad student co-mentored by Wilkins and Franklin, took the famous Photo 51 as part of his graduate research. Wilkins then shared the data with Watson and Crick. At worst, you can argue that Wilkins may not have consulted with Franklin before deciding to share it, but if anyone can claim to have their data "stolen" (and I don't think they really can), it would be Gosling, which unlike the others in this story, few people have heard of.
by Workaccount2 | 2025-04-15 14:43:49+00:00
I think most people have a very confused understanding of money(currency) and value. Workers produce value, not money. Workers get a cut of that value, which is converted to money. To get by comfortably in the US, a first world developed economy, you need to be producing a lot of value. Everything is made to accommodate high value workers.

Producing t-shirts, window fans, or toilet brushes is not high value work. The slice of value available to convert to currency for the worker is very tiny. So you end up having to play games with the economy which inevitably will blow up in someone's face. $60 t-shirts so we can pretend that the value in a t-shirt is much more than it is, so we artificially make t-shirt manufacturing competitive with, say, automobile manufacturing.