News for hackers. Stuff that matters.
Re:Grow Your Own Picture – Genetic Algorithms and Generative... by pavlov on Saturday December 06, 2014 @02:20PM (#8709901)
Why is the collection of properties for an individual mutated shard called DNA? It doesn't really have anything to do with the actual molecule, as far as I can tell...

By the same logic, this is a C2H6O simulator:

  var s = "I'm going to get drunk";
  for (var i = 0; i < 10000; i++) {
    var idx = Math.floor(Math.random()*s.length);
    var c = s.substr(idx, 1);
    s = s.substr(0, idx) + s.substr(idx-1, s.length-1-idx);

    idx = Math.floor(Math.random()*s.length);
    s = s.substr(0, idx) + c + s.substr(idx, s.length-idx);
  }
(Wow, the downvotes are aggressive these days. Relax - it's just a joke!)
Re:Grow Your Own Picture – Genetic Algorithms and Generative... by jal278 on Saturday December 06, 2014 @02:33PM (#8709928)
That kind of data structure is just an abstraction of hereditary material, so a good way to think about it is that it is "like" artificial DNA in some gross ways. I don't think the author is trying to claim he's recreated the complexity of living organisms in his model
Re:Grow Your Own Picture – Genetic Algorithms and Generative... by jacques_chester on Saturday December 06, 2014 @02:35PM (#8709934)
> Why is the collection of properties for an individual mutated shard called DNA?

By easy analogy to biological genomes, I suppose.

Re:Grow Your Own Picture – Genetic Algorithms and Generative... by pavlov on Saturday December 06, 2014 @03:06PM (#8710003)
Well, sure... But I wonder if such a specific name is more confusing than useful because the analogy is off in so many ways.
Re:Grow Your Own Picture – Genetic Algorithms and Generative... by cec on Saturday December 06, 2014 @06:35PM (#8710615)
You are right. The "DNA" label is inaccurate, but jal278 explained the reasoning perfectly. I'd be happy to hear suggestions for a better term though! ;)