Live data from Hacker News

What if Python was natively distributable?

medium.com

51–60 of 66 posts

Re: What if Python was natively distributable?

#51
post #44

this article comes back 100% ai (for the opening). i will not reveal the tell that made me churn

You mean the cadence where everything is presented in threes? Yeah I hate it too, but beats paying some blogger to do it

just disclose please. i churn on non-disclosed ai generated content as a matter of principle. i don't necessarily churn on other variants

Re: What if Python was natively distributable?

#52
post #44

Earlier quoted context omitted.

You mean the cadence where everything is presented in threes? Yeah I hate it too, but beats paying some blogger to do it

just disclose please. i churn on non-disclosed ai generated content as a matter of principle. i don't necessarily churn on other variants

Fair enough

Re: What if Python was natively distributable?

#54
post #33

Whats curious to me here is that the github repo linked to in the article seems to exactly recreate the "operating system" that is called an "opinion in the wrong layer". Perhaps I am misunderstanding this, but after looking at the code what exactly are we achieving here over other frameworks? The repo is obviously very new (and the author certainly seems busy), so perhaps a better question is what do we aim to achie…

But seriously, I just wanted to have an easy way to parallelize my projects without a bunch of slow, bloated, boilerplate ridden frameworks, and I'm having fun building it. And I must not be the only to have had this desire considering there's way more than one solution to this problem out there already, so f*k it.

Fun is what its all about. You don't a reason other than that.

Re: What if Python was natively distributable?

#55

The distributed object fallacy is never going away, is it? https://martinfowler.com/articles/distributed-objects-micros...

Wasn’t previously aware of this opinion, but having read it, I can tell you I’m not actually committing this fallacy within the framework- I’m not forcing anyone into making their instance methods RPCs- I leave that up to my users. They are grown adults (presumably) and can commit whichever fallacies they desire.

Re: What if Python was natively distributable?

#57
post #29

cloudpickle serializes code without signatures; which is an RCE vuln. It is much safer to distribute signed code in signed packages out of band and send only non-executable data in messages. It is more safe to store distributed messages in a page with the NX bit flipped. A compromise of any client in this system results in DOS and arbitrary RCE; but that's an issue with most distributed task worker systems. To take a…

I'm running this in a trusted environment, I'm not so ambitious as to try to make this some sort of whacky trustless distributed Python runtime. Just a fun project that's been marinating for a while, and now I have an army of clankers to do the dirty work of documenting and testing it.

Distributed DAG state with W3C VC and W3C DID (did:tdw did:webvh) microledgers and maybe W3C PROV would probably work, but the opcode cost of the control layer and the opcode cost of each dispatched, signed code object, and the byte cost for data storage, and messages.

Agent isolation with WASM and now wasmtime-mte . Opcode costs with eWASM or similar?

Re: What if Python was natively distributable?

#58
post #30

Earlier quoted context omitted.

I wonder if an LLM generated article would get the title to use proper English, though: "What if Python were natively distributable?". It's possible LLMs pick up improper English, of course, since proper is some measure of what used to be a norm, but may presently be perceived as outdated.

Is it possible it's both?

evidently what becomes standard gradually changes. i believe you can see this in construction of the past tense (perfect tense) of verbs in Polish/etc vs Russian, where Russian just uses the grammatical past participle as if it were the simple past tense.

Speakers of English in the Americas make this same substitution, which sounds like a mistake to those who speak in the version of English taught in schools. They will say "i seen that" rather than "i saw that", for example, just as would happen in Russian.

Re: What if Python was natively distributable?

#59
post #30

Earlier quoted context omitted.

Is it possible it's both?

evidently what becomes standard gradually changes. i believe you can see this in construction of the past tense (perfect tense) of verbs in Polish/etc vs Russian, where Russian just uses the grammatical past participle as if it were the simple past tense. Speakers of English in the Americas make this same substitution, which sounds like a mistake to those who speak in the version of English taught in schools. They wi…

I have a feeling people will begin to purposely use slightly incorrect grammar to give the impression they are indeed human in their writing.
Post reply on HN