News for hackers. Stuff that matters.
Re:DNA seen through the eyes of a coder by fabian2k on Wednesday December 22, 2021 @07:32AM (#29648384)
I find the coding analogy for DNA or cell biology in general to be rather problematic. It's fine as a very rough and oversimplified analogy, but if you try to apply it to the details I think it hurts more than it helps.

And important aspect of biology is that it is really much more analog than digital in many areas. Many interactions are not entirely on/off, and they are influenced by a lot of other factors in the environment of the cell. This is a part that really doesn't match well to how people understand coding. The digital aspects are also inherently coupled to their physical representations. That are not just four letters A, C, T, G in the DNA, each of them also has different chemical and physical properties.

Some analogies to coding concepts work quite well, but you really have to be aware of the limitations. And I often see computer scientists trying to use these analogies to understand certain parts of biology, but inevitably they will move out of the bounds of where the anlogy works unless they actually know the underlying biology.

Re:DNA seen through the eyes of a coder by jakobnissen on Wednesday December 22, 2021 @08:04AM (#29648751)
As a professional molecular biologist who now does programming for a living, I wonder if the metaphor could be turned on its head:

Imagine that every one of people who designed computers, from the chip makers, to the ones making the instruction set, to the firmware coders etc. had no concept of "abstraction", adherence to standards or even a logical, coherent design. Would computers be more like cells then?

I could imagine a CPU which does not have a clock to keep everything syncronized - where the die is not separated into logical areas of decoders ALUs etc but just a jumped mess of wires and logic gates that somehow works to do computation. There is no "assembly language" for this CPU, but give it the right binary inputs at the right time and it will probably do what you ask it to (depending on its complicated internal state).

Re:DNA seen through the eyes of a coder by javajosh on Wednesday December 22, 2021 @02:08PM (#29653653)
>a [jumbled] mess of wires and logic gates that somehow works to do computation

You could create this situation explicitly using FPGAs.

>no concept of "abstraction", adherence to standards or even a logical, coherent design

There's no concept of abstraction, but there is remarkable consistency in the genetic code for all that. The fact that these tiny machines are understandable at all is remarkable. Our biosphere is effectively a single process with an uptime of ~4 billion years, including the ability to recover from meteor strikes that killed off 99% of species, multiple times (albeit with different species!)

Re:DNA seen through the eyes of a coder by medstrom on Wednesday December 22, 2021 @06:35PM (#29656844)
None of the mass extinctions killed 99%. The worst one, the Permian-Triassic extinction event, killed 83% of genera.

https://en.wikipedia.org/wiki/Permian-Triassic_extinction_ev...

Re:DNA seen through the eyes of a coder by labster on Wednesday December 22, 2021 @07:33PM (#29657326)
Wait until 2100. We’ll have 99% of species gone, and we don’t even have to change what we’re doing.
Re:DNA seen through the eyes of a coder by Enginerrrd on Wednesday December 22, 2021 @08:52PM (#29657795)
Can you provide a source for that assertion? It sounds unlikely to be true, but I'd like to know if it's true.
Re:DNA seen through the eyes of a coder by labster on Wednesday December 22, 2021 @09:13PM (#29657897)
Source is my depression, sense of powerlessness about the future, and listening to too much Bernie talking about what the 1% is going to do to the 99%.

Logically, I know this can’t be worse than the K-T boundary, where a whole continent of forests simultaneously caught fire, and a hypercane formed over the Yucatán. On the first day. But it sure feels that bad. We live in a world people flip out because one wolf was reintroduced to a broken ecosystem yet no one gives a shit about the million people a year who die from fossil fuel air pollution. That one’s real: https://arstechnica.com/science/2021/12/fossil-fuel-combusti...

Re:DNA seen through the eyes of a coder by oarabbus_ on Thursday December 23, 2021 @07:03PM (#29668139)
Humans today enjoy higher standards of living, increased access to food, water, medication, and shelter than any other time period in human history.

There can high levels of inequality, yet this can still be true.

Re:DNA seen through the eyes of a coder by lou1306 on Wednesday December 22, 2021 @08:42AM (#29649151)
Indeed asynchronous digital systems, such as asynchonous CPUs or "wavefront arrays" [1], have been experimented with in the past. Looks like they never picked up steam, though.

[0] https://en.wikipedia.org/wiki/Asynchronous_circuit#Asynchron...

[1] https://en.wikipedia.org/wiki/Systolic_array

Re:DNA seen through the eyes of a coder by not2b on Wednesday December 22, 2021 @07:11PM (#29657138)
Asynchronous circuits are very hard to design and prove correct unless they are very small, though there are abstractions that work for specific cases. Debugging race conditions and metastability problems, or proving that they can't happen, is no fun. But there's massive support for synchronous logic design, it is a well-understood discipline.
Re:DNA seen through the eyes of a coder by jacquesm on Wednesday December 22, 2021 @08:08AM (#29648795)
Genetic algorithms tend to design circuits that have some elements in common with what you describe.
Re:DNA seen through the eyes of a coder by jcims on Wednesday December 22, 2021 @01:47PM (#29653395)
It's my annual opportunity to trot out one of my favorite articles ever:

https://www.damninteresting.com/on-the-origin-of-circuits/

Re:DNA seen through the eyes of a coder by jacquesm on Wednesday December 22, 2021 @03:08PM (#29654360)
Thank you for reposting this, it is still after so many years one of the most interesting results from computing that I am aware of the way that something that looks entirely alien to my electronics designer eye actually works is pure magic.
Re:DNA seen through the eyes of a coder by Ericson2314 on Wednesday December 22, 2021 @01:42PM (#29653333)
> Imagine that every one of people who designed computers, from the chip makers, to the ones making the instruction set, to the firmware coders etc. had no concept of "abstraction", adherence to standards or even a logical, coherent design. Would computers be more like cells then?

Honestly that sounds like basically what we got. The "design coherence" on the scale of the entire industry has been pretty low for decades.

Re:DNA seen through the eyes of a coder by edge17 on Wednesday December 22, 2021 @02:11PM (#29653690)
Not sure what you mean here. What would high "design coherence" on the scale of the entire industry look like?

I am sure things could be more optimal somehow, but the industry generally operates on a principle of interfaces - and it's true, the higher level you go (all the way up to the people using the technology) the messier it gets, but it certainly doesn't feel like an organism with no concept of "abstraction" as the parent describes.

Re:DNA seen through the eyes of a coder by Ericson2314 on Wednesday December 22, 2021 @04:13PM (#29655284)
> Not sure what you mean here. What would high "design coherence" on the scale of the entire industry look like?

Like everyone uses NixOS/Nixpkgs and also it's more ergonomic.

> But the industry generally operates on a principle of interfaces

Aha! Actually I would say it does not, and there in is the problem. Most interfaces only have a few implementations, and as much as I love FOSS it has made that problem worse (in the context of the economy we've got). The interfaces we do have tend to become monotonically more complex over time as there is no systematic culling, and the result is we increasingly drown in accidental complexity.

Basically, accumulated implementations are viewed as big scary problems were maintaince to simplify is a cost no one wants to bare.

A lot of this is the same critique as http://langsec.org/, generalized to areas other than security.

Re:DNA seen through the eyes of a coder by moring on Wednesday December 22, 2021 @01:18PM (#29653060)
The big difference between computers and living organisms is that computers are designed by humans and meant to be understood by humans. Those that design computers must understand them, and so do those that write code for them, those that write compilers, those that write operating systems, and so on. None of this applies to a living being or any of its parts.

I think your thought experiment makes the mistake that such an abstraction-less computer would still be designed and built by humans. That won't work, because no human can understand the whole of it all at once, hence the need for abstractions. A computer "designed" by an incredibly complex computer program could push that barrier but probably not break it. If you really want an analogy to actual life, such a computer would have to be the outcome of some evolution-like process. And no, not what people like to call "evolutionary process" or something like that today, but actual evolution that mirrors biology -- and quickly becomes too complex to understand by humans.

Re:DNA seen through the eyes of a coder by nyanpasu64 on Wednesday December 22, 2021 @08:21AM (#29648946)
This horrifies me... This is why I'm not a biologist.
Re:DNA seen through the eyes of a coder by jean_valje4n on Wednesday December 22, 2021 @09:55AM (#29650118)
There is abstraction though. It's just fuzzy.

3 DNA base pairs abstract to an amino acid which has chemical properties. It's just theres some redundancy which 3 base pairs get converted to an amino acid. And if there's a single mistake somewhere with just one amino acid, the structure of the thousand amino acid long protein probably has some fault tolerance there.

Those amino acids are arranged in a way in the DNA code to make bigger motifs, alpha helices, beta sheets, active sites, coordinating complexes with inorganic ions.

It's all in the DNA code, though I suspect this train of thoughts is influenced by epigenetics. Parts of the DNA code also responsible for the regulation of how much the protein itself is expressed. That can still abstract to conditional and loop structures.

Yes some of the base pairs strongly bind together in the double helice which can influence stability of the DNA strand. The GC pairing has 3 hydrogen bonds, where AT has 2, but I think this influences the distribution of junk DNA, as you still need codons to make proteins which is the central dogma of biology.

Re:DNA seen through the eyes of a coder by PaulDavisThe1st on Wednesday December 22, 2021 @06:03PM (#29656611)
There are lots of problems with this approach, even though of course it is also true on some rather important level.

The first level of problems is that what you're describing applies to only a tiny percentage of the DNA in a cell, and even for that DNA, it may overlap/exist in parallel with completely different "codings" that are more to do with structure, packing and replication machinery than protein coding.

Re:DNA seen through the eyes of a coder by morninglight on Wednesday December 22, 2021 @10:27AM (#29650532)
> This is why I'm not a biologist.

I don't mean to distress you, but you are a biological computer.

Just rejoice that you needn't read the release notes.

Re:DNA seen through the eyes of a coder by Nevermark on Wednesday December 22, 2021 @10:44AM (#29650776)
Except we need the release notes! And there aren't any.
Re:DNA seen through the eyes of a coder by croddin on Wednesday December 22, 2021 @11:16AM (#29651274)
Not that most apps even give good release notes. If we did have them you could expect:

“Thanks for being human. This update changes your DNA and may contain bug fixes and performance improvements. Keep on humaning!”

Re:DNA seen through the eyes of a coder by birdman3131 on Wednesday December 22, 2021 @12:31PM (#29652419)
Genesis 1 is about as detailed as many of the release notes I see. And about as accurate.
Re:DNA seen through the eyes of a coder by kelseyfrog on Wednesday December 22, 2021 @01:04PM (#29652885)
The good news is that humans are self-documenting.
Re:DNA seen through the eyes of a coder by TremendousJudge on Wednesday December 22, 2021 @03:31PM (#29654747)
The documentation for the human body is much better than anything Google ever published, that's for sure
Re:DNA seen through the eyes of a coder by PaulDavisThe1st on Wednesday December 22, 2021 @06:04PM (#29656617)
the definition of "computer" in "you are a biological computer" has been the subject of intense philosophical and scientific discussion for more than 70 years, and at this point I would say the best summary of the state of that discussion is "well, maybe but also maybe not".
Re:DNA seen through the eyes of a coder by hiptobecubic on Wednesday December 22, 2021 @10:40AM (#29650720)
If we get to the point where design is done by algorithm and no one needs to understand why it works in detail, them I would fully expect that to happen. We're not there and I think that has been good. We have "evolved" computer hardware much faster than I would expect otherwise and have seen several very evolutionarily-challenging discontinuous jumps in design.
Re:DNA seen through the eyes of a coder by tw600040 on Wednesday December 22, 2021 @03:11PM (#29654400)
// had no concept of "abstraction", adherence to standards or even a logical, coherent design.

I see your point. But I would like to make a counterargument.

If you consider the time scale with which biological systems have to work, you probably won't call their design illogical or incoherent. Computer programs have been around for not even a century. Billion years is a whole different ballgame. Can anyone even imagine writing a computer program with any guarantee that it would be readable by someone 1000 years from now? We have a tough time figuring out what our our own code does a few months after writing them.

And wrt fault tolerance, resilience, I don't know, the design language of nature definitely seems far more evolved..

Re:DNA seen through the eyes of a coder by TremendousJudge on Wednesday December 22, 2021 @03:27PM (#29654671)
There are a lot of classical examples of the incoherence of biological systems -- a very common one is some nerves on the neck of giraffes[0]. On this analogy, the most important part is that you're never, ever, in the millions of generations of DNA, allowed to do a rewrite. Only small, incremental changes, each one of them giving the organism more fitness than before. No abstraction can survive this constraint -- a legacy codebase several decades old that's never seen a rewrite is already an unintelligible mess. I think the code analogy holds here.

[0] https://bioone.org/journals/acta-palaeontologica-polonica/vo...

Re:DNA seen through the eyes of a coder by jdsully on Wednesday December 22, 2021 @10:06PM (#29658214)
I've seen a few codebases that are multiple decades old without rewrites. They are understandable and intelligible. Linux is 30 years old as an open source example.
Re:DNA seen through the eyes of a coder by regularfry on Wednesday December 22, 2021 @07:00PM (#29657063)
Your retinas are mounted back to front, and as a result will fall off if they're knocked too hard.

Nature works on a "just good enough" principle, in general.

Re:DNA seen through the eyes of a coder by dTal on Wednesday December 22, 2021 @08:58AM (#29649339)
I think you go too far. I think it's easy for you to see where the similarities between human computing and biology fail because you're so steeped in the world of coding. But imagine if you had no concept of information theory - imagine if the best mental model you had was that life was a very complicated physical process. The fact that we can literally email viruses would be very surprising! T, A, G, and C are different molecules, but they're representations. And the mechanism of viruses would also be a total mystery - how can such a simple physical object make copies of itself?

Life is, at its core, an informational phenomenon. It's not a coincidence, or a "rough and oversimplified analogy", that we have computer viruses to mirror biological viruses - they are both consequences of the same underlying principles.

Re:DNA seen through the eyes of a coder by usrusr on Wednesday December 22, 2021 @08:12AM (#29648838)
Plenty of "most of the time" on the way from DNA to proteins, and chances are that "code" developed through eons of diceroll trial+error will end up relying on ambiguities more than being harmed by them.

But doesn't the software mindset, again, have better mental models for things like that than most other disciplines? Think "relying on undefined behavior", or that old question of bug or feature. Sure, there are many pitfalls and possibilities for wrong conclusions to be drawn, but I'd dare to say that the "coding mind" is better equipped to become aware of them than others and not worse.

edit, an example: we can imagine a piece of code that works both when compiled as java and when interpreted as groovy, but has a different outcome depending on what language it is. We might even have written some for entertainment (reminds me of that ambiguous-on-Apple PNG that made the rounds a few days ago). And we could easily imagine a system that would collapse unless it occasionally gets both, the "java" outcome and the "groovy" outcome. We certainly wouldn't deliberately build a system like that, but we could easily do if there was, say, an obfuscated gradle contest. And "deliberate" is out of scope anyways. Enter eons of dicerolls, enter a system that mostly controls itself via balancing (as we know full well from high level pharmaceutical science). Yeah, it's unpredictably complex, and the coding mind should be the last to jump from "GATC is essentially digital" to underestimating that complexity and unpredictability.

edit2: I think the core of what I wanted to say (but never even tried) is that someone not used to code will likely try to wrap their head around the "ifs" and "comments" and be so occupied by that that task that the result will be a mental model of predictability that won't map well to observed reality, whereas the coder, with years of "the daily wtf", won't for a moment see any contradiction between observed reality and "lots of kind of code-like things"

Re:DNA seen through the eyes of a coder by hiptobecubic on Wednesday December 22, 2021 @10:42AM (#29650746)
There are plenty of critical pieces of software that rely on the fact that they produce different behavior when interpreted as a different language.
Re:DNA seen through the eyes of a coder by Kim_Bruning on Wednesday December 22, 2021 @02:33PM (#29653942)
I don't think "coding" is an analogy. It's pretty clear that DNA is a kind of code. It's also fairly obviously Turing complete. It's rather more than Turing complete in fact. It encodes for life, after all!

I think it does make sense to deal with DNA from an information science perspective. It might not be sufficient, there might be higher levels of emergence to be taken into account.

But I think that without having a bit of an understanding of information science, it's really really hard to understand anything about how DNA works at all.

That said, the article actually seems to be pretty good starting point for programmers who want to get an initial intro to molecular genetics, and the author doesn't take themself TOO seriously.

Re:DNA seen through the eyes of a coder by podgaj on Wednesday December 22, 2021 @08:15AM (#29648868)
I used to be a network engineer but since becoming disabled with a familial genetic disorder 20 years ago (Autism, Bipolar Disorder, Hyperlipidemia) I decided to get my genetics and study its implication in my disorder.

I think the coding analogy is more quantum computing than anything we currently know, which is why the binary analogy seems to fail. It is computing but on a whole 'notha level. Quibit instead of Binary, or maybe something we are yet to understand.

The chief complaint I have about that article is that it does not even get into the fact that we actually have two genomes that are symbiotic; Our Nuclear Genome and out Mitochondrial Genome. Glad he did touch on the epigenetics however.

I do know that understanding your genetics at the level that I have can help you manage any unknown chronic condition. It turns out my mitochondrial genetics were much more important for me (I am pretty sure I have a Complex I deficiency, thought really a trait) and that a sort of mismatch with my Nuclear Genome (mostly Calcium, Potassium, and Sodium signalling) makes me very sensitive to my environment through oxidative stress signalling.

If you can see this complex dance you will appreciate just how wonderful and complex of a machine we are that we will never fully understand. In the end my cure is more art than science. More feeling than data.

Some examples that might bother you: - Long Chain Omega 3 PUFAs are crucial to my health and I cannot eat short chain PUFAs for any extended period. This is due o my FADS1 and FADS2 genetics

- I am Electro-Hypersensitive. Exposure to household low frequency EMFs from wiring increases oxidative stress ion my body and causes me pain, insomnia, and mood disturbance. This is mainly from how EMFs trigger the Volatage Gated Ion Channels.

- Exposure to chemicals, which includes many medicines, triggers an immune reaction (drug induced Lupus) from the oxidative stress which is created through their metabolism by CYP450 enzymes.

I am able to remediate these issues by diet and environment changes and mostly through the supplements; Asocrbic Acid, Manganese, Zinc/Copper and P5P.

Re:DNA seen through the eyes of a coder by GordonS on Wednesday December 22, 2021 @12:01PM (#29651987)
> household low frequency EMFs from wiring increases oxidative stress ion my body and causes me pain, insomnia, and mood disturbance. This is mainly from how EMFs trigger the Volatage Gated Ion Channels

Wow, I've never heard that before - do you have any good papers you can link to so I can read some more?

Re:DNA seen through the eyes of a coder by freshpots on Wednesday December 22, 2021 @12:59PM (#29652824)
I am interested as well. They appear to be spouting off pseudoscience that sounds much better than the average person but I am open to seeing evidence otherwise.
Re:DNA seen through the eyes of a coder by podgaj on Wednesday December 22, 2021 @05:13PM (#29656144)
Martin Pali is at the forefront of this but, you know, this is scary to a lot of people for some reason.

The most studied ion channels are the Voltage Gated Calcium Ion Channels

https://onlinelibrary.wiley.com/doi/full/10.1111/jcmm.12088

https://www.spandidos-publications.com/ijo/59/5/92

https://www.sciencedirect.com/science/article/abs/pii/S01434...

https://emmind.net/openpapers_repos/Applied_Fields-Hazads/Va...

Re:DNA seen through the eyes of a coder by podgaj on Wednesday December 22, 2021 @05:30PM (#29656324)
I have linked some papers in a response to another comment, but here is a youtube video:

https://www.youtube.com/watch?v=0RIskTMLV40

I feel the research is lacking on this because there is a large genetic component. I do not feel LF-EMFs are a danger to everyone, but certain people, like me, with gene changes in CACNA1C, might be more affected by LF-EMFs. It is no coincidence that CACNA1C is also linked to pretty much all the mood disorders.

And I am in no way saying that LF-EMFs are the cause of all mood disorders.

Re:DNA seen through the eyes of a coder by corey_moncure on Wednesday December 22, 2021 @09:55AM (#29650116)
What practical steps did you take to go about investigating your own genome like this?
Re:DNA seen through the eyes of a coder by freshpots on Wednesday December 22, 2021 @01:00PM (#29652827)
It sure sounds like they spent a lot of time here: https://www.naturalnews.com/
Re:DNA seen through the eyes of a coder by podgaj on Wednesday December 22, 2021 @05:16PM (#29656185)
No, actually not. I hate that website with all my being, and I hate all the naturopaths that spout nonsense about nutigenomics.

I sat in on classes at UNC Chapel Hill and I only use peer reviews studies. If you want to challenge my knowledge please do so. I have spent 20 years doing this.

I have a livelong disability and it runs in my family. NO one knows the cause but I am pretty sure it is mitochondrial and is largely affecting oxidative stress.

https://pubmed.ncbi.nlm.nih.gov/20833242/

Re:DNA seen through the eyes of a coder by podgaj on Wednesday December 22, 2021 @05:19PM (#29656218)
It is hard and it takes a long time. And I would not recommend it if you are not suffering from any chronic illnesses. Most people's disorders are due to diet/environment.

A good place to start is uploading any data you have into https://promethease.com/. I would ignore most of the "good" and "bad" results, I only used it to find rare SNPs that might be linked to my disorder.

The best thing you can do is get your whole genome run. You can do it now for about $200.

Re:DNA seen through the eyes of a coder by Raaasmus on Wednesday December 22, 2021 @09:22AM (#29649664)
So how much can I find out with my 700k rows of SNPs? Any resources you recommend?
Re:DNA seen through the eyes of a coder by podgaj on Wednesday December 22, 2021 @05:23PM (#29656261)
If you have your genome from 23andme; https://promethease.com/

That is just a start, it is useful but incomplete. I usually end up searching for SNPs in my text file based on research I read. I made a bash program which I can use to run a bunch of SNPS of a specific gene.

Oh, also:

https://www.snp-nexus.org/v4/

https://www.uniprot.org/

https://www.ncbi.nlm.nih.gov/snp/

https://smpdb.ca/view/SMP0000017

http://slc.bioparadigms.org/

Re:DNA seen through the eyes of a coder by jauer on Wednesday December 22, 2021 @07:06PM (#29657105)
> Many interactions are not entirely on/off, and they are influenced by a lot of other factors in the environment of the cell. This is a part that really doesn't match well to how people understand coding.

Eh, I think you are correct re: being a rough and oversimplified analogy, but those same assumptions of how digital tech works break down when doing digital tech at large scale as well (FAANG).

A well-known example + cases I've seen repeat over the past few years include: IO Latency variations because of noise (someone yelling at a disk array), bit flips on the network just right to evade TCP error checking, ICMP packets bit flipped just right so they crash network control plane software. ASICs with die defects such that the brick if you try to load a specific set of subnets into TCAM n times, CPUs that wear out such that specific instructions return erroneous results after n years of use, and so on.

Basically, with warehouse-scale computing you encounter the consequences of very unlikely events every day, and many unlikely events happen at the interface of digital to analog (which is defined by... different chemical and physical properties).

At some point you accept that the details will always be fuzzy, but if the model works well enough most of the time, it's good enough for most practitioners. You just need to socialize that there are exceptions and make sure people know where to turn when something doesn't behave as expected.

Re:DNA seen through the eyes of a coder by AllegedAlec on Wednesday December 22, 2021 @07:44AM (#29648509)
Totally agree. If I had a dime for each time I saw people make bad oversimplifications based on "DNA as blueprint" or "DNA as code" I'd not be rich, but I would be able to buy myself a nice dinner, at the very least.
Re:DNA seen through the eyes of a coder by userbinator on Wednesday December 22, 2021 @06:35PM (#29656845)
The digital aspects are also inherently coupled to their physical representations. That are not just four letters A, C, T, G in the DNA, each of them also has different chemical and physical properties.

Weak sectors on optical media and the classic https://en.wikipedia.org/wiki/Lace_card are similar analogies in computing.

Re:DNA seen through the eyes of a coder by hasmanean on Wednesday December 22, 2021 @07:43AM (#29648494)
Yes DNA is more like a lego assembly language.
Re:DNA seen through the eyes of a coder by agumonkey on Wednesday December 22, 2021 @11:09AM (#29651172)
We may see the code but we have no interpreter.

Also it seems part of the bootstrapping lies in the female womb hosting the foetus.

Re:DNA seen through the eyes of a coder by jostmey on Wednesday December 22, 2021 @08:03PM (#29657523)
The biggest issue I have with these analogies is that cells and organisms proliferate. It would be like a computer copying both its hardware and software to create new computers. This behavior is central to understating biology and absent in computer science
Re:DNA seen through the eyes of a coder by jasode on Wednesday December 22, 2021 @09:31AM (#29649791)
>I find the coding analogy for DNA or cell biology in general to be rather problematic. It's fine as a very rough and oversimplified analogy, but if you try to apply it to the details I think it hurts more than it helps. [...] , but inevitably they will move out of the bounds of where the anlogy works unless they actually know the underlying biology.

I think the author's "digital" explanation for DNA is more helpful than problematic because we can just understand where that knowledge can be appropriately applied. Focusing on the higher abstraction of DNA as "information" or "data" is important in bioinformatics: https://en.wikipedia.org/wiki/Bioinformatics

And analyzing DNA as "information" and not just analog chemistry is also important in CRISPR gene editing. Yes, the engineers creating machines used CRISPR editing need to know more "analog" aspects of biology but other scientists can focus on the "digital data" perspective.

I think a similar digital-vs-analog split happens in computers. Consider the following different physical (analog) realizations of computation devices:

- wood gates (https://www.youtube.com/watch?v=GcDshWmhF4A)

- vacuum tubes

- silicon wafers of transistors

- optical gates using light

Can we extract a useful "information data" perspective that transcends all of those vastly different devices? Yes, we call it "computer science". We're discovering that many "computer software" ideas also apply to DNA. Scientists can look at the human genome as 750 megabytes of code and try to "reverse engineer" it. It's like forensic hackers using IDAPro/Ghidra to reverse engineer a malware binary to understand how it works.

But that doesn't mean the "analog" can be ignored. Compsci telling us about an algorithm being O(1) vs O(log n) doesn't reveal that vacuum tubes give off more heat and fail more often than silicon transistors. Or the thinness of a wire trace on a circuit board means that deploying a computer in space orbit makes it susceptible to cosmic rays flipping a random bit causing weird errors. All those analog difficulties in the real world doesn't mean that looking at computers via lens of Computer Science is problematic. It's just a different perspective that lets us make progress in that specific area. Every knowledge specialization has inherent limitations.

(I notice that my comment supplements dTal's comment: https://news.ycombinator.com/item?id=29649339)

Re:DNA seen through the eyes of a coder by moring on Wednesday December 22, 2021 @01:29PM (#29653174)
> I think a similar digital-vs-analog split happens in computers.

Does it? In computers, digital computation is the ideal that we try to mimic via analog circuits (or vacuum tubes, relays, or whatever). We are actually glad that we can chain two CMOS inverters and the result is that anything close to Vcc becomes Vcc, and anything close to GND becomes GND.

As far as I understand, in biology "improving signal quality" like that actually disturbs the system because you are removing an "error" that actually has a useful function somewhere else.

Or for a software analogy: Consider a program that breaks memory safety, but you can't fix it because some other part relies on that "bug". Now consider a program that doesn't just contain lots of weird quirks like that, but has grown around them and makes them an integral part.

At least that is how I imagine chemistry inside a cell as a layman.

Re:DNA seen through the eyes of a coder by Kim_Bruning on Wednesday December 22, 2021 @02:23PM (#29653826)
So as you might intuit, having everything work totally differently doesn't scale so well. So a lot of the chemistry inside cells is strongly standardized. Ok, so the nice thing about standards is that there's a bunch to choose from, and sure there's a lot of times when cells cheat just a smidge (or two, or three).

But... end of day, if you squint just a little, most everything is done with a standard set of amino acids that chain together in standard ways. In some AA's The Amino and Acid groups used to daisy-chain them together dwarf the actual active part! And data is stored using a standard set of 4 ( ok 5, ok... exceptions exist) bases.

(Just to be sure, eg. Hemoglobin does suddenly have an Iron atom in there, but it's still _mostly_ made of standard "lego blocks" == amino acids)

Re:DNA seen through the eyes of a coder by xwolfi on Wednesday December 22, 2021 @10:53AM (#29650911)
I think you're right that it doesnt fit perfectly but damn still, it's a self reproducing structure interpreted by a complex hardware to transform inputs into outputs.

If we cant use programming metaphors to understand how to patch it, at least maybe to explain exactly what we are fundamentally this is interesting no?

We are software running on a hardware (the environment, the interpretation precursors in the womb on startup, the rest of the machinery ALSO created by the software), are we not ? I feel it's cool we can encode some useful messages as RNA for vaccines with headers, commands, checksums even if ofc it's not exactly like electronics.