News for hackers. Stuff that matters.
Re:Coronavirus: Dexamethasone proves first life-saving drug? by Someone on Tuesday June 16, 2020 @01:05PM (#23541436)
“Spaghetti code“ doesn’t imply “buggy”, so I think is a decent description. Evolution found a good local optimum, but I think that the optimal design would be quite a bit better than what we have now.

A classical example is https://en.wikipedia.org/wiki/Recurrent_laryngeal_nerve. Nobody in his right mind would design a nerve running from your brain to your larynx that way.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by orestarod on Tuesday June 16, 2020 @04:17PM (#23543551)
> “Spaghetti code“ doesn’t imply “buggy”, so I think is a decent description. Evolution found a good local optimum, but I think that the optimal design would be quite a bit better than what we have now.

> A classical example is https://en.wikipedia.org/wiki/Recurrent_laryngeal_nerve. Nobody in his right mind would design a nerve running from your brain to your larynx that way.

The matter is, the possibilities of DNA are infinite, you can create Godzilla if you knew how. The problem is, nobody knows how, so evolution is all we have - random mutations and survival will lead to /something/. Even genetical engineering now is in essence copy pasting of certain parts that we know work in a specific way, bound by what currently exists. But if you could really grasp biology, that works down to the single molecule and atomic levels, and actually dictate it however you like, I think it would be the final technology we would ever need.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by nwienert on Tuesday June 16, 2020 @01:33PM (#23541763)
Spaghetti code absolutely implies buggy because code != biology. They operate completely differently, in fact potentially opposites (logic is the opposite/complement of intuition, ie neural nets, of which our body operates far more like an adaptive/analog machine than a logical one which is brutally unforgiving).

In code, a single typo breaks the whole thing. So spaghetti code by definition is bad and breaks easily.

Sure, we have a fuck ton of complexity. But it’s only messy to us because we don’t understand all the conditions that led to it.

Humans certainly have flaws, but in general we are as well suited to surviving on Earth as you possibly can be, especially on the whole.

I’d say: we’re so so much better designed than any code that exists anywhere today, that it’s a farce. We are literally the opposite of spaghetti code. We’re Antifragile!

Re:Coronavirus: Dexamethasone proves first life-saving drug? by yipbub on Tuesday June 16, 2020 @02:25PM (#23542407)
Memory leaks, data loss, intermittent bugs, bad edge case handling are all examples of bugs that could result from a typo and not break the whole system outright.

Furthermore, there are plenty of examples of single gene mutations/interventions that are deadly/crippling.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by ceejayoz on Tuesday June 16, 2020 @02:11PM (#23542209)
> In code, a single typo breaks the whole thing.

A single typo sometimes breaks the whole thing. Sometimes, it does not. The same is true for genetic mutations in humans - most typos are harmless, a few give us nasty cancers.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by nwienert on Tuesday June 16, 2020 @02:23PM (#23542382)
Yes, but that process is also what makes us live in the first place (variability). It definitely breaks, but on the majority it works better than anything we know of.
Re:Coronavirus: Dexamethasone proves first life-saving drug? by ceejayoz on Tuesday June 16, 2020 @02:29PM (#23542461)
"The spaghetti code works fairly well" is a different claim than "it's not spaghetti code", though.

"Spaghetti code" doesn't mean "broken". It means "hard to maintain". Our modern medical system is pretty decent proof that maintaining a human is quite a bit of work.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by TeMPOraL on Tuesday June 16, 2020 @04:36PM (#23543756)
> In code, a single typo breaks the whole thing.

Only in high-level languages, when you have to deal with grammar.

DNA is better compared to binary code fed to a CPU. There is no equivalent of "a single typo breaks the whole thing" there; whatever you feed the CPU, it will execute something. Whether you'll like the results or not is another question - but the same is true with biology. The DNA is there, physically, and it will interact with proteins in one way or another.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by rowanG077 on Tuesday June 16, 2020 @02:34PM (#23542522)
Spaghetti code is spaghetti code. It refers to to the code being essentially so interwoven with each other that changing a single thing has consequences for many other locations in the code. Spaghetti code can be 100% bug free.

There are myriad of examples of our body having feature which you could equate to biological spaghetti.

Re:Coronavirus: Dexamethasone proves first life-saving drug? by fredsanford on Tuesday June 16, 2020 @02:09PM (#23542177)
Code cockroaches?