Thaliana
I'm not suggesting it's better than your method or anything but well worth trying imo!
Well I had never seen that "full slice" expression syntax before. It turns out that it's important because it controls the capacity of the new slice. The capacity of the new slice is now i+4 - i.
So by using the full slice expression you get a slice of length 4 and capacity 4. Without doing this the capacity would be equal to the capacity of the original slice.
I suppose that by controlling the capacity that you eliminate the bounds check.
I also took CNBC off air briefly, although that was their man's fault as he told me to unplug the wrong video server.
The picture is certainly misleading, I guess they just grabbed a generic "plants in a rainforest" picture for evocative reasons.
I think it's not a particularly wild assumption that a lot of plants will react in this way. The MYC2 protein and jasmonic acid are important regulators of plant defenses so priming of defenses when it rains makes sense. There are pathogens (such as Pseudomonas syringae) that can trick a plant into opening its stomate, which are airholes on the leaves, as a means of gaining access to the interior of the leaf.
As the paper describes how the mechanical action of rain can wash pathogens around the leaf or onto other plants I think it's reasonable to think other plants would react like this.
The interplay between the jasmonic acid pathway and other plant hormone pathways is super interesting as plants, in general, have two ways of defending themselves. For pathogens that feed on dead tissue the name of the game is to keep the cells alive (jasmonic acid can be thought of as generally responsible for this sort of response), whereas for pathogens that feed on live tissue then the plant will kill of cells local to the infection site in order to deny the pathogen food (salicylic acid is largely responsible here).