Slide 1

Slide 1 text

Eat. Sleep. Play. Code. How does our lifestyle affect our craft? Brad Montgomery twitter.com/bkmontgomery

Slide 2

Slide 2 text

Assumption: everything's connected Image: Ohm by Aimee Ray

Slide 3

Slide 3 text

What does! Science say? Image: Teaching Chemistry by starmanseries

Slide 4

Slide 4 text

Eat The food we eat affects our work Image: Street Food and Blue Wall by Louis Vest

Slide 5

Slide 5 text

Image: The Wall of Fog by Trey Ratcliff

Slide 6

Slide 6 text

Most research: prenatal/early development or cognitive decline with aging Image: old man grumbling ... by Dietmar Temps

Slide 7

Slide 7 text

The Journal of Physiology Sugar highs and lows: the impact of diet on cognitive function Jill N. Barnes and Michael J. Joyner (2012) “...data on the effects of diet on learning, memory and cognition are scarce..”

Slide 8

Slide 8 text

...unhealthy diet (high fructose intake, low omega-3 fatty acids) was associated with lower cognitive scores and insulin resistance… The Journal of Physiology Agrawal R & Gomez-Pinilla F (2012).

Slide 9

Slide 9 text

Image: Laura's rat by Michelle Tribe In Rats.

Slide 10

Slide 10 text

A healthy diet during middle age is associated with better cognitive function later in life. The Journal of Nutrition Kesse-Guyot E, Andreeva VA, Jeandel C, Ferry M, Hercberg S & Galan P (2012) Image: Smile by Alan Cleaver

Slide 11

Slide 11 text

neu·ro·trans·mit·ter! /ˌn(y)o͝orōˈtranzmitər/ Image: human brain on white background by _DJ_ ! …a messenger of neurologic information from one cell to another.

Slide 12

Slide 12 text

“Most neurotransmitters are made from amino acids obtained from the protein in food you consume.”

Slide 13

Slide 13 text

Dopamine.! ! Motivation & a Sense of readiness to meet life's challenges. ! Depleted by: stress, lack of sleep, alcohol, caffeine, & sugar. ! Antioxidants: Fruits & Vegetables

Slide 14

Slide 14 text

Acetylcholine! ! Primary chemical carrier of thought and memory; Partly responsible for concentration and focus. ! Created from B-vitamins (lecithin): egg yolks, wheat germ, soybeans, organ meats, and whole wheat products.

Slide 15

Slide 15 text

Norepinephrine (aka noradrenalin)! ! Motivation, Alertness, and Concentration. Formation of new memories & transfer to long- term storage. ! Created from amino acids & vitamins found in almonds, avocados, bananas, dairy products, lima beans, pumpkin seeds, and sesame seeds.

Slide 16

Slide 16 text

Image: Banana - Isolated by robin_24

Slide 17

Slide 17 text

Serotonin! ! The calming neurotransmitter. Promotes contentment & normal sleep. ! Created from tryptophan & vitamins found in brown rice, cottage cheese, meat, peanuts, and sesame seeds.

Slide 18

Slide 18 text

Image: Our Little Turkey by Bev Currie

Slide 19

Slide 19 text

You are what you eat. Image: Dum Dum DUUUUUUUM! by Joe Philipson

Slide 20

Slide 20 text

Sleep Image: 54/365 by Marc

Slide 21

Slide 21 text

Lack of sleep makes you Grumpy Image: Grumpy Cat by Scott Beale

Slide 22

Slide 22 text

Lack of! sleep kills Creativity Image: NOV 2011 305 by Lord Jim

Slide 23

Slide 23 text

…extensive literature now indicates that sleep supports … cognitive and emotional brain processes. Annals of the New York Academy of Sciences The Role of Sleep in Cognition and Emotion Walker MP (2009)

Slide 24

Slide 24 text

Sleep has been implicated in both the encoding and consolidation of memory. Annals of the New York Academy of Sciences The Role of Sleep in Cognition and Emotion Walker MP (2009)

Slide 25

Slide 25 text

A (2004) study found: ! 1. Learning -> activity in the hippocampus 2. Deep Sleep -> more activity in the hippocampus 3. This brain activity during sleep is proportional to “next day task improvement”. Annals of the New York Academy of Sciences The Role of Sleep in Cognition and Emotion Walker MP (2009)

Slide 26

Slide 26 text

Another (2004) study found: ! Given a Problem: Sleeping after exposure to the problem therefore more than doubled the likelihood of solving it the next day. Annals of the New York Academy of Sciences The Role of Sleep in Cognition and Emotion Walker MP (2009)

Slide 27

Slide 27 text

The goal of sleep may be to … form the basis of generalized knowledge and creativity. Annals of the New York Academy of Sciences The Role of Sleep in Cognition and Emotion Walker MP (2009)

Slide 28

Slide 28 text

Image: By El Carlos via Wikimedia Commons Sleep: where ! Learning is ! Assimilated

Slide 29

Slide 29 text

Play Call it exercise if you must Image: [108/365] Ill-advised by Pascal

Slide 30

Slide 30 text

Play (exercise) is good for you. Image: Life And Limb by JD Hancock

Slide 31

Slide 31 text

“Dozens of studies now show that aerobic exercise can increase the size of critical brain structures and improve cognition in children and older adults” 2013 Article from the University of Illinois http://news.illinois.edu/news/13/0218activity_cognition_ArtKramer.html

Slide 32

Slide 32 text

Creative potential is boosted by moderate aerobic exercise. ! Both immediately after and two hours later (residual effects). Creativity Research Journal Aerobic Exercise and Creative Potential: Immediate and Residual Effects Blanchette, Ramocki, O'del, and Casey (2005),

Slide 33

Slide 33 text

“Individual instances of exercise are unlikely to be very influential, but long-term exercise programs producing fitness gains are more likely to impact cognitive functioning” Creativity Research Journal Aerobic Exercise and Creative Potential: Immediate and Residual Effects Blanchette, Ramocki, O'del, and Casey (2005),

Slide 34

Slide 34 text

Exercise can mean as little as walking 3 times a week. Creativity Research Journal Aerobic Exercise and Creative Potential: Immediate and Residual Effects Blanchette, Ramocki, O'del, and Casey (2005),

Slide 35

Slide 35 text

Image: Afternoon walk by Farrukh

Slide 36

Slide 36 text

Image: Yep. He's on a leash by Sara

Slide 37

Slide 37 text

Code Image: Code on the Europython 2009 bag by Thomas Guest

Slide 38

Slide 38 text

Writing Code is ___________________

Slide 39

Slide 39 text

Things we do:! ! 1. Fit many problems in our head 2. And their peculiarities 3. And the edge cases 4. While juggling mental tasks 5. And then figure stuff out Image: Unicycle Lane? by Shannon Henry

Slide 40

Slide 40 text

Writing Code requires mental acuity.

Slide 41

Slide 41 text

Does it all matter? Image: Meaning of Life, Universe, Everything! by Sandra Fauconnier

Slide 42

Slide 42 text

Anecdotal “Evidence” • I think I'm more productive when I'm well-rested. • Maintenance on that 2am code :-( • I feel more productive after exercise. • Food? I feel good when my diet is good.

Slide 43

Slide 43 text

A man too busy to take care of his! health is like a mechanic too busy! to take care of his tools.! - Spanish Proverb Image: Old Tools by arbyreed

Slide 44

Slide 44 text

Science/Cognition Links! https://delicious.com/bkmontgomery/cognition Image: Thank You by Orin Zebest