{"id":18,"date":"2004-06-15T18:04:27","date_gmt":"2004-06-16T00:04:27","guid":{"rendered":"http:\/\/tonosdegris.com\/blog\/?p=18"},"modified":"2004-07-07T00:54:55","modified_gmt":"2004-07-07T06:54:55","slug":"dna-humano-en-c","status":"publish","type":"post","link":"https:\/\/www.tonosdegris.com\/blog\/2004\/06\/15\/dna-humano-en-c\/","title":{"rendered":"DNA humano en C"},"content":{"rendered":"<p>El auto original de esto es <a href=\"mailto:meta@pobox.com\">Mathew Murphy<\/a>, quien luego lo liber&oacute; bajo la licensia <a href=\"http:\/\/gnu.org\">GPL<\/a><\/p>\n<p>\/* HUMAN_DNA.H<br \/>\n *<br \/>\n * Human Genome<br \/>\n * Version 2.1<br \/>\n *<br \/>\n * (C) God<br \/>\n *\/<br \/>\n <!--more--><\/p>\n<p>\/* Revision history:<br \/>\n *<br \/>\n * 0000-00-01 00:00  1.0  Adam.<br \/>\n * 0000-00-02 10:00  1.1  Eve.<br \/>\n * 0000-00-03 02:11  1.2  Added penis code to male version. A bit messy &#8212;<br \/>\n *                        will require a rewrite later on to make it neater.<br \/>\n * 0017-03-12 03:14  1.3  Added extra sex drive to male.h; took code from<br \/>\n *                        elephant-dna.c<br \/>\n * 0145-10-03 16:33  1.4  Removed tail.<br \/>\n * 1115-00-31 17:20  1.5  Shortened forearms, expanded brain case.<br \/>\n * 2091-08-20 13:56  1.6  Opposable thumbs added to hand() routine.<br \/>\n * 2501-04-09 14:04  1.7  Minor cosmetic improvements &#8212; skin colour made<br \/>\n *                        darker to match my own image.<br \/>\n * 2909-07-12 02:21  1.8  Dentition inadequate; added extra &#8216;wisdom&#8217; teeth.<br \/>\n *                        Must remember to make mouth bigger to compensate.<br \/>\n * 4501-12-31 14:18  1.9  Increase average height.<br \/>\n * 5533-02-12 17:09  2.0  Added gay option, triggered by high population<br \/>\n *                        density, to try and slow the overpopulation problem.<br \/>\n * 6004-11-04 16:11  2.1  Made forefinger narrower to fit hole in centre of<br \/>\n *                        CD.<br \/>\n *\/<\/p>\n<p>\/* Standard definitions<br \/>\n *\/<\/p>\n<p>#define SEX male<br \/>\n#define HEIGHT 1.84<br \/>\n#define MASS 68<br \/>\n#define RACE caucasian<\/p>\n<p>\/* Include inherited traits from parent DNA files.<br \/>\n *<br \/>\n * Files must be pre-processed with MENDEL program to provide proper<br \/>\n * inheritance features.<br \/>\n *\/<\/p>\n<p>#include \u00abmother.h\u00bb<br \/>\n#include \u00abfather.h\u00bb<\/p>\n<p>#infndef FATHER<br \/>\n#warn(\u00abFather unknown &#8212; guessingn\u00bb)<br \/>\n#include \u00abbastard.h\u00bb<br \/>\n#endif<\/p>\n<p>\/* Set up sex-specific functions and variables<br \/>\n *\/<br \/>\n#include <sex .h><\/p>\n<p>\/* Kludged code &#8212; I&#8217;ll re-design this lot and re-write it as a proper<br \/>\n * library sometime soon.<br \/>\n *\/<br \/>\nstruct genitals<br \/>\n   {<br \/>\n#ifdef MALE<br \/>\n   Penis *jt;<br \/>\n#endif<br \/>\n   \/* G_spot *g;   Removed for debugging purposes *\/<br \/>\n#ifdef FEMALE<br \/>\n   Vagina *p;<br \/>\n#endif<br \/>\n   }<\/p>\n<p>\/* Initialization bootstrap routine &#8212; called before DNA duplication.<br \/>\n * Allocates buffers and sets up protein file pointers<br \/>\n *\/<br \/>\nDNA *zygote_initialize(Sperm *, Ovum *);<\/p>\n<p>\/* MAIN INITIALIZATION CODE<br \/>\n *<br \/>\n * Returns structures containing pre-processed phenotypes for the organism<br \/>\n * to display at birth.<br \/>\n *<br \/>\n * Will be improved later to make output less ugly.<br \/>\n *\/<br \/>\nCharacteristic *lookup_phenotype(Identifier *i);<br \/>\n===<\/p>\n<p>&#8230;and so on.<\/p>\n<p>[ Note that God uses three-space tabs ]<\/sex><\/p>\n","protected":false},"excerpt":{"rendered":"<p>El auto original de esto es Mathew Murphy, quien luego lo liber&oacute; bajo la licensia GPL \/* HUMAN_DNA.H * * Human Genome * Version 2.1 * * (C) God *\/<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/posts\/18"}],"collection":[{"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":0,"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tonosdegris.com\/blog\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}