Better HN
topnewbestaskshowjobs
Log inSign up

cryptonector

11,940 karma · joined Jun 29, 2012 (14y ago) · 8,736 submissions

Submissions

comment 6mo ago · link · parent

> something similar to vfork() but not bound by posix rules

POSIX says nothing much about vfork() anymore. It was a mistake removing it. Zealots failed to understand that vfork() >> fork(). https://news.ycombinator.com/item?id=30502392

comment 6mo ago · link · parent

> Basically vfork do a "stop the world".

vfork() does NOT stop the world in many / most implementations. The ones that do stop the world do it because someone misunderstood the whole "vfork() stops the parent process" -- yes, it stops the parent process in a pre-threads world, but it doesn't have to stop any other threads but the one that called vfork(). Indeed, many implementations don't do that.

(Someone once tried to make NetBSD's vfork() stop the world because that's what the pre-threading man page said it does. I did my utter best to keep that from happening at the time, and it didn't then. Hopefully no one tried again later.)

comment 6mo ago · link · parent

vfork() helps a LOT. The restrictions on what you can do on the child-side of vfork() are pretty much the same ones as for fork() + you must not do anything to damage the stack frame of the vfork() caller (i.e., you can't return).

comment 6mo ago · link · parent

https://gist.github.com/nicowilliams/a8a07b0fc75df05f684c23c...

Though I want a posix_spawn-as-a-system-call approach as well / instead of that.

comment 6mo ago · link · parent

Correct: it does NOT apply to vfork().

comment 6mo ago · link · parent

Ah, my one time on the HN front-page: Fork() is evil; vfork() is goodness; afork() would be better; clone() is stupid (https://news.ycombinator.com/item?id=30502392).

comment 7mo ago · link · parent

Oof, running Claude Code automatically on PRs is scary.

comment 7mo ago · link · parent

Given this amazing work, an efficient EML operator HW implementation could revolutionize a bunch of things. So the next thing might be an efficient EML HW implementation.

comment 7mo ago · link · parent

> In the example it seems pretty clear to me that:

> Mutex::new(AppConfig::default());

> ...is meant to be acquiring a mutex protecting some global config object, yes? That's what I'm calling a "global lock".

You could certainly have a global lock at the top-most level, but you're not required to. The example is just an example.

comment 7mo ago · link · parent

Sure hope so. But what if it's a partnership with parts of the Mexican army or something?

comment 7mo ago · link · parent

Imagine the cost of a shahed drone being as low as $5,000, or less. Imagine the cartels south of the U.S. having tens of thousands, maybe hundreds of thousands of them. It could get painful fast. That's one thing this war is showing.

comment 8mo ago · link · parent

Not only that, but it has to reach much higher altitudes in order to also reach the much higher re-entry velocities that it will have IRL. That makes testing Orion very expensive. Testing Crew Dragon was much much cheaper.

comment 8mo ago · link · parent

Absolutely not. I will not even consider the word of an organization that has repeatedly failed to learn from its past mistakes. They need to demonstrate an ability to learn first, and to do so they need to take these concerns seriously. That means no astronauts on Artemis II.

comment 8mo ago · link · parent

Not every lawsuit that is heard by a court goes to trial.

comment 8mo ago · link · parent

Wow, that's horrible.

comment 8mo ago · link · parent

Claude handles human languages other than English just fine.

comment 8mo ago · link · parent

Specifically the Y combinator enables recursion in a language that otherwise does not support recursion but does support closures.

comment 8mo ago · link · parent

> But again - the hard part is not cloning the product, it's stealing your customers.

Yes. A Red Hat, a Microsoft -- these companies have processes, organizational structure, politics, friction, etc. They might like your products, but replicating them might not be easy for reasons that have nothing to do with how easy it is given the freedom to do it. Small shops with vision might well have a bright future, for a while, maybe.

comment 8mo ago · link · parent

> Especially for LLMs, they are not (till now) learning on the fly. Claude Opus 4.6 knowledge cut off was August 2025, so every idea you type in after this date is in the training data but not available, so you only have to be fast enough.

First of all: it's not as though no new LLMs are being trained. Of course they are.

Second: learning LLMs are not far off, and since they can typically search the web via agents, they effectively can "learn" now, and they can learn (not so well) by writing stuff into a document hidden from you. Indeed, some LLMs can inspect your other sessions with them and refer to them in future sessions -- I've noticed this with Claude.

Third: already we see some AI companies wanting to train their models on your prompts. It's going to happen.

> The next thing is that we also have open source and open weight models that everyone of use with a decent consumer GPU can fine-tune and adapt, so its not only in the hands of a few companies.

There's a pretty good chance that LLMs buff open source, yes.

> > We will again build and innovate in private, hide, not share knowledge, mistakes, ideas.

> Why should this happen? The moment you make your idea public, anyone can build it. [...]

This was always the case, but now the cycle is faster. Therefore if you must use an LLM you might use an LLM that you run on your own hardware -- now your prompts are truly yours. But as TFA notes the AIs will learn just from your (and your private LLMs') searches, and that will be enough in some cases for them to figure out what you're up to. Oh sure, maybe the Microsofts and Googles of the world will not be able to capitalize on millions of interesting idea floating about, but still! the moment you uncloak the machine will eat your future alive, so you'll try to stay off its radar and build a moat it can't see (good luck!). Well that's what TFA says; it seems very plausible to me.

comment 8mo ago · link · parent

Indeed. So?

comment 8mo ago · link · parent

Do China's or Russia's leaders not?

comment 8mo ago · link · parent

"These people will not rest until they are able to see your teen-aged child's surrepticious sexts."

comment 8mo ago · link · parent

The joke was that [to my then knowledge] it's not used in Romance languages, but it is used in English.

comment 8mo ago · link · parent

A uniquely... English word, that.

comment 8mo ago · link · parent

> The Hard Facts: Why Chat Control Has Failed Spectacularly

The ostensible reasons for mass surveillance fail. That's very interesting.

comment 8mo ago · link · parent

Besides, SpaceX could launch more sats to even lower orbits (where they wouldn't last long just due to atmospheric drag) during a conflict -- enough to win, then we can figure out how to get all that debris cleared out.

comment 8mo ago · link · parent

Ok, but what is China's immigration policy like?

They could be importing young people from nearby India, yet they're not. Why?

comment 8mo ago · link · parent

Some are doing worse than others, and China is doing close to the worst.

comment 8mo ago · link · parent

The American advantage in launches would get narrowed within ten years. China only needs to be able to get their own constellation up; they don't need to keep SpaceX levels of launch cadence.

comment 8mo ago · link · parent

I think the issue is that one side having an overwhelming non-nuclear, conventional advantage might push the other to a nuclear response in the event of a catastrophic loss in a conventional conflict. Imagine Chine tries to invade Taiwan and they are defeated so badly that the CCP might fall -- then perhaps a nuclear response becomes more likely.

However, I think this is not the case. In the end no one wants to reduce the world to ashes over losing power. But... well, I suppose there are people crazy enough to want that.

1
131415
292