Skip to main content

Puoliautomaattisesti tuotetun koodin edut käsin tehtyyn koodaamiseen nähden




Puoliautomaattisesti tuetetun koodin käytöstä ohjelmoinnissa on aina välillä keskusteltu hyvin pitkään. Joidenkin mielestä käsin kirjoitettu HTML/PHP-koodi on jotenkin tyylikkäämpää kuin automaattisen koodikoneen tai ohjelman tuottama koodi. Kun puhutaan teollisesta ohjelmiston tuottamisesta, niin ainoa oikea tapa tuottaa koodia ovat automaattisesti sitä generoivat ohjelmat, koska niiden avulla voidaan tuottaa tehokkaasti ohjelmien tai dynaamisten kotisivujen  vaatimaa toimivaa ohjelmistokoodia.

Tällaisen koodin tuottaminen muuten on hyvin raskasta sen pituuden sekä vaadittavan tarkkuuden takia. Ylipäätään ohjelmointi on paljon työläämpää työtä,  kuin esimerkiksi kirjeen tai muun tekstin kirjoittaminen, koska jopa muuttujien kirjainkoko on merkitsevää. Ja esimerkiksi jatkuvapäivitteinen kotisivu lepää usein Dupal:in kaltaisen alustan päällä, jotta siihen olisi helpompi tehdä muutoksia sekä lisätä erilaisia objekteja.

 Drupalin kanssa tietenkin on joskus tarpeen koodata hiukan käsin, kun vaikkapa objektin kanssa pitää asemointia muuttaa. Joskus Drupal jättää kuvan lisäämisen jälkeen oletusasemoinnin "Centeriksi" jolloin teksti alkaa vähän oudosta paikasta jolloin se pitää muuttaa "Left"iksi ja arabiassa "Right":iksi, mikäli kuva poistetaan jostain syystä. Joskus myös tietokantaviittaukset sekä muut vastaavat asiat täytyy tehdä käsin. Mutta muuten graafiset, nopeasti editoitavat kotisivut perustuvat automaattiseen koodin tuottoon, mikä tapahtuu verkossa.

 Eli kotisivut ja dynaamiset verkkopalvelut voidaan tuottaa suoraan verkossa ilman mitään erityisiä editoreja.  Tämä taas helpottaa kotisivujen tekemistä, mutta asettaa taas erilaisia vaatimuksia sisällölle. Ja koskaan ei tietenkään saa käyttää järjestelmän luomia salasanoja, mikäli henkilö haluaa salata järjestelmässä olevia tietoja. Mutta jos mitään tärkeää ei tuossa systeemissä ole, niin silloin voi käyttää salasanana vaikka 1245-tyyppisiä numerosarjoja, ja sama koskee esimerkiksi päivän voimassa olevia, kertakäyttöiseksi tarkoitettuja tunnuksia, joita jaetaan jossain konferensseissa tai muissa tapahtumissa.

Comments

Popular posts from this blog

Black holes cause a virtual redshift because gravitation stretches the wavelength near them.

At the beginning of this text is a film about the redshift of black holes. Gravitation stretches light, and that means gravitation fields are pulling waves longer. That thing is called the gravitational redshift. As you can see from the film, the black hole stretches radiation and distorts the redshift. Gravitational redshift, or virtual redshift, means that a black hole might seem to be at a longer distance than it is. The film shows the redshift of the star that orbits a supermassive black hole. But all other black holes interact the same way.  The event horizon is always constant. At that point, the black hole's escaping velocity is the same as the speed of light. So every black hole interacts basically in the same way. And it's possible to apply that model to all black holes irrespective of their size.  Is gravitation the thing that forms dark energy? That thing seems somehow strange. But when photons and other particles are traveling through the ball that forms the visible

The shape of the brain means more than neuro connectivity.

Well, we might say that the brain is in its entirety. Another thing is that all things in the brain have some kind of purpose. The shape of the brain and, especially, the folding of the brain shell are extremely important things. Those folds are expanding the brain's surface areas. And the brain shell has a primary role in the thinking process. The surface area of the brain determines how large the cerebral cortex is. And in a large cerebral cortex, there are a large number of neurons. But as I just wrote, the brain is in its entirety. "Researchers have discovered that the shape of a person’s brain significantly impacts thought, feeling, and behavior, overturning the prevailing emphasis on complex neuronal connectivity. Utilizing MRI scans and the principle of eigenmodes, they found that brain function is closely linked to its geometric properties, much like how the shape of a musical instrument determines its sound, offering new avenues for exploring brain function and diseas

New nanomaterial is 4 times harder than steel. And, at the same time 5 times lighter than steel.

 New nanomaterial is 4 times harder than steel. And, at the same time 5 times lighter than steel.  The new material is the hollow glass fiber with DNA molecules inside that structure. Or as you see from the image. The glass fibers are on both sides of the DNA.  DNA molecule is the thing, that involves the genetic code of the cells. Genetically engineered cells can make DNA, and those molecules can used as the nanomaterial's structures. DNA manipulation makes it possible to create new types of extremely strong materials. And those materials are stronger than steel and lighter than it. DNA molecules can act as nano-size springs.  And in some visions, genetically engineered cyborg cells like cyborg macrophages can make extremely long DNA molecules. And then they can just use those molecules as spears that can pierce wanted cells. Or those cyborg cells can also dumb targeted cells full of the DNA that terminates them immediately.  The DNA and nanotube combinations can also act as DNA-b