Swine flu compared to computer viruses

Paul Raven @ 03-09-2009

influenza virusHere’s an interesting link, coming to us via the one and only Bruce Schneier. Haker/maker type person Bunnie draws a fascinating analogy between influenza viruses (like our topical and quite possibly overhyped amigo, swine flu) and the computer viruses with which he is more familiar. The result? A computer geek’s guide to molecular biology…

For those not familiar with molecular biology, DNA is information-equivalent to RNA on a 1 to 1 mapping; DNA is like a program stored on disk, and RNA is like a program loaded into RAM. Upon loading DNA, a transcription occurs where “T” bases are replaced with “U” bases. Remember, each base pair specifies one of four possible symbols (A [T/U] G C), so a single base pair corresponds to 2 bits of information.

[...]

If you thought of organisms as computers with IP addresses, each functional group of cells in the organism would be listening to the environment through its own active port. So, as port 25 maps specifically to SMTP services on a computer, port H1 maps specifically to the windpipe region on a human. Interestingly, the same port H1 maps to the intestinal tract on a bird. Thus, the same H1N1 virus will attack the respiratory system of a human, and the gut of a bird. In contrast, H5 — the variety found in H5N1, or the deadly “avian flu” — specifies the port for your inner lungs. As a result, H5N1 is much more deadly because it attacks your inner lung tissue, causing severe pneumonia. H1N1 is not as deadly because it is attacking a much more benign port that just causes you to blow your nose a lot and cough up loogies, instead of ceasing to breathe.

Researchers are still discovering more about the H5 port; the Nature article indicates that perhaps certain human mutants have lungs that do not listen on the H5 port. So, those of us with the mutation that causes lungs to ignore the H5 port would have a better chance of surviving an Avian flu infection, whereas as those of us that open port H5 on the lungs have no chance to survive make your time / all your base pairs are belong to H5N1.

So how many bits are in this instance of H1N1? The raw number of bits, by my count, is 26,022; the actual number of coding bits approximately 25,054 — I say approximately because the virus does the equivalent of self-modifying code to create two proteins out of a single gene in some places (pretty interesting stuff actually), so it’s hard to say what counts as code and what counts as incidental non-executing NOP sleds that are required for self-modifying code.

So it takes about 25 kilobits — 3.2 kbytes — of data to code for a virus that has a non-trivial chance of killing a human. This is more efficient than a computer virus, such as MyDoom, which rings in at around 22 kbytes.

It’s humbling that I could be killed by 3.2kbytes of genetic data. Then again, with 850 Mbytes of data in my genome, there’s bound to be an exploit or two.

[image by kat m research]


Games and economic misbehaviour

Tom James @ 03-08-2009

wolfram_fractalsGeorge Dyson has an excellent and compelling essay on game theory, economics, information theory, computer science, banking, finance, technology, and John von Neumann:

We are surrounded by codes (some Turing-universal) that make copies of themselves, and by physical machines that spawn virtual machines that in turn spawn demand for more physical machines. Some digital sequences code for spreadsheets, some code for music, some code for operating systems, some code for sprawling, metazoan search engines, some code for proteins, some code for the gears used in numerically-controlled gear-cutting machines, and, increasingly, some code for DNA belonging to individuals who serve as custodians and creators of more code. “It is easier to write a new code than to understand an old one,” von Neumann warned.

The monograph over on Edge discusses von Neumann’s intellectual antecendants and the development of game theory and statistical modelling. It also includes some interesting commentary on our recent economic difficulties. Definitely worth a read.

[image from kevindooley on flickr]


Coding for cars

Tom James @ 17-02-2009

road_lightApparently the media and navigation systems of a high-end Mercedes now require more lines of code than a 787 Dreamliner:

Boeing’s new 787 Dreamliner, scheduled to be delivered to customers in 2010, requires about 6.5 million lines of software code to operate its avionics and onboard support systems.

Alfred Katzenbach, the director of information technology management at Daimler, has reportedly said that the radio and navigation system in the current S-class Mercedes-Benz requires over 20 million lines of code alone and that the car contains nearly as many ECUs as the new Airbus A380 (excluding the plane’s in-flight entertainment system).

There is a considerably more awesome car than an S-class described in Heavy Weather by Bruce Sterling, but I can’t find my copy to tell you how many lines of code that needed (I remember it was specified somewhere).

[via Charles Stross][image Aitor Escauriaza from on flickr]


Entangled Up in Blue: Quantum Images

Tom Marcinko @ 14-06-2008

quantum-catsResearchers at the Commerce Department’s Joint Quantum Institute (JQI) and the University of Maryland have used laser beams to produce less “noisy” images, according to Science Express via Science Daily. The experiment could lead to better computers and information-storage. The images are born in pairs, “like twins separated at birth,” at slightly different frequencies. None of that is necessarily weird, but:

Look at one quantum image, and it displays random and unpredictable changes over time. Look at the other image, and it exhibits very similar random fluctuations at the same time, even if the two images are far apart and unable to transmit information to one another. They are “entangled”–their properties are linked in such a way that they exist as a unit rather than individually.

The photo-montage of quantum cats is made from color-treated images used in the experiment. The lines suggest how entanglement occurs. What else could we do with quantum entanglement? It would be fun to make entangled drawings or paintings.

[Image: Vincent Boyer/JQI]


Karl Schroeder: technology is legislation

Paul Raven @ 26-02-2008

rusty-doors-padlocked Canadian sf author Karl Schroeder brings our attention to an Australian judge who warns that technology has outstripped legislation’s ability to regulate it, and suggests that restrictions of use are best embodied into products themselves:

“The challenges that technology present continue to beat even the best legal minds in the world, Kirby said.

Despite this, lawmakers should attempt to implement checks and balances. Without them, corporations pose an even graver problem for humanity.

“To do nothing is to make a decision to let others go and take technology where they will. There are even more acute questions arising in biotechnology and informatics, such as the hybridization of the human species and other species. Points of no return can be reached,” he said.”

Within this legalese and obfuscation is, essentially, a defence of (and/or advocacy for) DRM-like technologies. Schroeder points out the logic flaws in his reasoning:

“… his idea implies we may have a legal system that operates not according to what’s allowed, but according to what’s possible.  If criminal use of a particular technology is simply not possible, then that’s the same as having a law against that use. 

I think most people would prefer to live in a world where things are possible if not allowed, rather than the nightmare scenario of a world where many things simply can’t be done.

However, Kirby is wrong about one crucial thing.  Laws will not be expressed in their effective form through code; code does and will continue to effectively create law–without reference to the legal system.  Groups like the record companies and the RIAA are finding out this out now.

[snip!]

Technology is legislation, but it can’t be controlled on the level that Kirby is talking about.  Any attempt to do so can only result in Orwellian, and unintentionally hilarious, results (again, the entire current state of the music industry is both).”

Quite so. This will be an ongoing issue until we have people involved in the legal process who actually understand how technologies work. It’s also one of the reasons why Second Life is such a fascinating experiment – because, up until quite recently, it has been arguably the only MMO where code is not law. [Image by K?vanç]