shadowphex
Also, I am not fighting for NYT articles here. I wish that there would be no opinion pieces that are not tech related. This post just seemed particularly egregious because it is an opinion piece from a new outlet that is openly and explicitly biased.
The first line of their about page is: "Founded in 1968, Reason is the nation's leading libertarian magazine."
I have noticed more political opinion pieces posted here recently. Did the scope of this website change in the past few months?
I personally only use CPUs that I have hand made from the organic metals mined in my backyard.
-a autosplits each line by whitespace and puts each element into the array F (this was inspired by AWK).
-n loops through each line of the file, and -E executes the perl.
$. (NR in AWK) is the line number.
As others have noted, you can write the same thing in ruby on the command line already with `ruby -ane 'puts $F[1] if $.>1'`
(Notice the similarities?)
If you write one liners in AWK, Perl, or Ruby often the "odd" variables look more like useful shortcuts.
*edit You could also write the perl without any of the special variables, but it would be much more verbose, hence the special characters and flags.
Concurrency: Not all genes are run at all times. Gene regulation can look a lot like code. Ex: if(curr_temp > DANGER_TEMP){temperature_defense_gene.activate()}.
Mutability & Scope: Cells that have the same genome can act very differently (all of your cells have ~the same DNA, but act very differently) and some cells in your body can change roles.
Structured Programming: Biological pathways use a lot of control flows. [1]