Tuesday 25 January 2022

Western Music Piano

Notation: C Major refers to the key and Cmaj refers to the triad.

Practise scales and chords with both hands.
Practise time using metronome.
Learn all scales (major, natural minor and harmonic minor)
Learn all diatonic chords in a scale (major, minor, augmented, diminished, suspended)
Practice chord inversion

Learn chords progression
Memorize time intervals

Learn Sight Reading
Learn Sight Singing

Rhythm

http://musictheorysite.com
http://www.pianolessons.com/
http://pianomeditation.com/

Staff
Stave lines represent the lines with the notes, clefs, key signatures, and time signatures of a song. The various types are Single Staff, Double Staves.

Clef
Clefs move the stave lines up or down the pitch ladder. The various types are Treble Clef (G Clef), Bass Clef (F Clef), C Clef (Alto Clef, Tenor Clef). The middle C is exactly between the Bass clef and the Treble clef.

Pro Tip:

Treble lines: Every Good Boy Deserves Fudge.
Bass lines: Green Birds Don’t Fly Away

Treble spaces: FACE,
Bass spaces: All Cows Eat Grass

Note that the Treble clef is called G clef because the clef sign wraps around the G line. Similarly, the Bass clef is called F clef because the dot are on either side of the F line.

Note
A pitch is a frequency of sound. A note is a named pitch. The pitch of piano key C4 is different from that of key C5. There are 12 notes in Western music. After twelve, the notes repeat in the next higher register or octave. The notes are C, C#(Db), D, D#(Eb), E, F, F#(Gb), G, F#(Ab), A, A#(Bb) and B.

Scale (Key)
Key signature denotes how many sharp and flat notes appear in a song. The sharp and flat notes raise a note by a half, or even a full, step. Not all notes in a scale are used in a song. Many songs work with just 7 notes creating a harmony. In every key, notes in same position work in the same way.

We play a scale. We cannot play a key. A song is in some scale or key.

A scale is a group of notes played in succession. Chords are built from scales.The various types of scales are major, minor(natural, harmonic, melodic), blues, jazz, pentatonic and so on. Pentatonic scales are based on major or minor scales. The various examples are C Major, C natural minor, C harmonic minor, C melodic minor, C major pentatonic, C minor pentatonic...

Every scale has a formula.

  • The Major scale formula is W - W - H - W - W - W - H. It is a cool major scale.
  • The Natural minor scale formula is W - H - W - W - H - W - W. It is a cool minor scale.
  • The Harmonic minor scale formula is W - H - W - W - H - WH- H. The problem with natural minor is that the leading tone is absent.
  • The Meladonic minor scale formula is W - H - W - W - W - W - W. The problem with harmonic minor is the large gap between 6th and 7th notes.

Relative scales share key. A relative minor scale is built from the sixth degree of the major scale. The relative scale of C major is A minor. In C major, the root note C is special. In A minor, the root note A is special. The same note plays a different role in each relative scale.

Time
Time signature denotes the number of notes in a measure and the note values that gets the beat. The various types are 4/4, 3/4, 5/4, 6/8, 3/8 and 2/2. In the 4/4 time, there are four beats in a measure and one quarter note gets the beat.

Interval
The smallest interval in Western music is a half step or semi tone. A major second will have the same feeling in any scale.

Perfect First (Unison): 00 half step
Minor Second: 01 half step (JAWS soundtrack)
Major Second: 02 half steps (Happy Birthday)
Minor Third: 03 half steps
Major Third: 04 half steps (Kumbaya my LORD)
Perfect Fourth: 05 half steps (Here comes the bride)
Tritone: 06 half steps
Perfect Fifth: 07 half steps (Mary had a little lamb)
Minor Sixth: 08 half steps
Major Sixth: 09 half steps (My Bonnie lies over the)
Minor Seventh: 10 half steps
Major Seventh: 11 half steps (Take on me)
Perfect Eighth (Octave): 12 half steps

In short, there are eight types of intervals classified into two:

  1. Perfect: first, fourth, fifth, eighth
  2. Major: second, third, sixth, seventh

Tritone is a dissonant interval.

In addition, an augmented interval is a half-step larger than a perfect or a major interval, and a diminished interval is a half-step smaller than a perfect or a minor interval.

There are multiple ways to call the same interval:

tritone = augmented perfect fourth = diminished perfect fifth
Major sixth = augmented minor sixth =diminished octave
Minor third = augmented major second = diminished major third

Intervals can also be inverted. Perfect intervals remain perfect upon inversion. Major intervals become minor (and vice-versa). Augmented intervals become diminished (and vice-versa).

Chord
A chord is a group of notes. The different types of chords are Cmaj, Cm, Csus, Caug, Cdim, Cmaj7, Cmin7, C7, Csus4, C7sus4, C6, Cmin6, C7-5, C7+5, Cm7-5 and A/C.

A triad is a chord constructed with 3 notes. The various types of triads are major (happy), minor (sad), augmented (mysterious) and diminished (dissonant). Every triad has a formula. A major chord is a chord that has a root, major third, and perfect fifth. A minor chord is a chord that has a root, minor third, and perfect fifth. An augmented triad is a chord, made up of two major thirds (augmented fifth). A diminished triad is a triad consisting of two minor thirds above the root. A suspended chord (or sus chord) is a musical chord in which the (major or minor) third is omitted, replaced usually with either a perfect fourth or a major second although the fourth is far more common.

Extended chords are extension to the triads. Various extended chords are 7 chords, 9 chords, 13 chords and so on. Types of 7 chords are Major 7 (maj7), Minor 7 (m7) and Dominant 7 (7).

Slash chords are another type of chords. An example is A/C.

Diatonic chords are chords that naturally belong to a key. The pattern of diatonic chords for a Major key follow a formula: 1(Major) - 2(Minor) - 3(Minor) - 4(Major) - 5(Major) - 6(Minor) - 7(Diminished). The pattern of diatonic chords for a Minor key follow a formula: 1(Minor) - 2(Diminished) - 3(Major) - 4(Minor) - 5(Minor) - 6(Major) - 7(Major). Each diatonic chord has a function - tonic, subdominant, dominant. For example, in the major scale, the function is shown in brackets: I(t) - ii(s) - iii(t) - IV(s) - V(d) - vi(t) - vii(d)

Chord inversion gives a nice flavor to the original chord. They are useful for making progressions on piano easier to play and smoother sounding. A triad has a root inversion (root is at the root position), a first inversion (root note is at the top position) and a second inversion (root note is at the middle position). A 7 chord has a root inversion, first inversion, second inversion and third inversion.

Chord Progression

A chord progression is a series of chords played in a pattern.
e.g. I-IV-V-I
e.g. I-VI-II-V-I

1 - any
2 - 5
3 - 6
4 - 1 or 5
5 - 1
6 - 2

Counting Notes
Everything written below is w.r.t. the common time.
A whole note spans the whole of a measure.
A half note spans a half of a measure.
A quarter note spans a quarter of a measure. There are one quarter note in each beat and four quarter notes in a measure. (One Two Three...)
An 8th note spans 1/8th of a measure. There are two 8th notes in each beat and eight 8th notes in a measure. (One and Two and Three and...)
A 16th note spans 1/16th of a measure. There are four 16th notes in each beat and sixteen 16th notes in a measure. (One ee and a Two ee and a Three ee and a...)
An 8th note triplet is three 8th notes in each beat. There are four triplets in a measure. (One and a Two and a Three and a...)
A 16th note triplet is six 16th notes in each beat. There are four triplets in a measure.

Friday 31 December 2021

Review: OOP Concepts

OOP Concepts: Encapsulation, Inheritance (reuse properties and behaviours), Polymorphism (method overloading and method overriding), Abstraction (abstract classes and interfaces)

 - parameter (function declaration) vs. argument (function call)
 - method vs. function

 - access specifier: private (only within class), default (within the package), protected (within same package and for subclasses), public
 - abstract (just idea; define in subclass) vs. interface (all methods are abstract)
 - extends (wrt class) vs. implements (wrt interface)
 - final (cannot override)
 - static
 - super vs. this
 - static binding (method overloading) vs. dynamic binding (method overriding)

 - single-level inheritance vs. multi-level inheritance
 - multiple inheritance vs. hierarchical inheritance
 - hybrid inheritance

 - getter vs. setter
 - high cohesion vs. loose coupling

Monday 8 November 2021

Every Good Endeavour - Tim Keller, Katherine Leary Alsdorf

Introduction

obstacles - expressive individualism; job vs. vocation; work to live vs. live to work

hope - Leaf by Niggle by J.R.R. Tolkien (the author of The Lord of the Rings, writer's block, question his vision to produce a fantasy, in the league of The Iliad, The Mahabharata); our work will bear fruit in heaven; Is this idea backed by the scripture?

how to make the right choice - ability (Can you do it?), affinity (Do you like it?), opportunity (Is there any open position?);

Part One: God's Plan for Work

1. The Design of Work - God-ordained; God did work and God saw that the creation was good; God took rest; Jesus was a carpenter (The Chosen); Paul was a tent-maker;
2. The Dignity of Work - basic human need; The Remains of the Day by Kazuo Ishiguro (depicts the dignity of labour, the protagonist is a butler); Mike, the doorman;
3. Work as Cultivation - culture mandate (culture building); job description (Genesis 1)
4. Work as Service - the Divine providence; spiritual work vs. secular work (Martin Luther, we have many needs including food, clothing, shelter, WiFi);

Part Two: Our Problems with Work

1. Work becomes fruitless - sin (paradise lost, things fall apart); two extremes: idealism (optimistic about good end-result) vs. cynicism (pessimistic about good end-result); choice (post-war years vs. current years, my parents' generation vs. my generation); wrong job probably;

2. Work becomes pointless - Ecclesiastes (meaningless, chasing after the wind;); alienated labour, Karl Marx (unable to see the end-result, agrarian economy vs. industrialized economy vs. service economy);

3. Work becomes selfish - Tower of Babel (establish one's identity, pride in one's own labour, tribalism to ensure security); Esther "in the Palace"; the Ovarian lottery (privilege, grace of God); IIT-JEE top rankers (identity through CS IITB); competitive pride (C.S. Lewis, publish or perish, by hook or by crook);

Idols of `Workship': Idol is something that is prominent, takes away too much of your energy and is considered sacrosanct. (1) traditional: collectivism (racism, religious fundamentalism, casteism, nationalism); (2) modern: individualism, emphasis on science, facts and figures, power of reasoning; and (3) post-modern: rise of cynicism (e.g. Terminator, Jurassic Park), liberalism (e.g. gender fluidity), means-without-an-end. 
Christians ought to discern the idols functioning in their professions and industries. Some examples are shown below:
  • Idols in UESI Ministry: organize camps vs. personal evangelism, share gospel vs. build relationships, study WoG vs. practise WoG;
  • Idols in NLP research: publication quantity vs. value of output; SOTA vs. elegance;

Part Three: The Gospel and Work

a new worldview: three questions (origin, purpose, destiny); the gospel worldview (everything was good, the world is fallen, Jesus as the embodiment of God's grace); think of the gospel as a pair of glasses through which you look at everything else in the world;

impact of gospel view on society: culture of Europe and the West in general; high regard for human rights; development of democracy; civil society (waste management, punctuality, product quality, efficiency at work);

dualism vs. integration at work: wrong notion that Christian work means taking part in overtly Christian activities; the danger of excessively spiritualizing things in life;

the doctrine of common grace (everybody is created in the image of God; Psalm 19); appreciate the work done by non-Christians; the Divine providence; avoid disengagement with popular culture (James Cameron, Hans Zimmer, Blessy, JRR Tolkien, CS Lewis, Vaikom Muhammad Basheer, MN Karassery, Sunil P Ilayidom, Santhosh George Kulangara);

ethics and morality at workplace: personal dishonesty (e.g. exaggerate current salary), corruption (e.g. lobbying), lack of transparency (e.g. complex financial instruments);

How to incorporate faith into work? 

  • in general: respect coworkers and colleagues; exercise wisdom (know God, know oneself, learn from experience, the book of Proverbs, the Holy Spirit); be generous with time and investment; display resilience under distress or failure;
  • gospel worldview and business: serve the common good; profits are not inherently evil;
  • gospel worldview and higher education: improve quality; make it accessible to everyone regardless of background, sex or race; avoid pride (IIT/IITM, Ivy League)

Do the right thing not because of the incentives it brings but because it is the right thing to do.

"Yet when I surveyed all that my hands had done and what I had toiled to achieve,
everything was meaningless, a chasing after the wind;
nothing was gained under the sun." (Ecclesiastes 2: 11)

"I have fought the good fight, I have finished the race, I have kept the faith. Now there is in store for me the crown of righteousness..." (2 Timothy 4: 7, 8a)

vocational discipleship

How can we have any freedom from the temptations of work and still keep our job?

motivation: passion (passion of the Christ), living sacrifice (Romans 12: 1); serve the work;
rest: rest in the finished work of God (Leaf by Nibble);

people matter < institutions matter

References

  1. Book URL
  2. Study guide, Nancy Erisman
  3. Keller/Alsdorf, Redeemer Church
  4. Alsdorf, ToW

 

Tuesday 8 June 2021

The Pursuit of God, A. W. Tozer

https://bible.org/series/pursuit-god

1. Following Hard after God

  • Do you want to pursue God and only God?
  • God has put the desire in us to pursue Him.
  • I, the seeker, is already in God's hands.
  • Seeker sought (Zacchaeus)
  • conscious, personal awareness
  • too much focus on "accepting" Christ (not seen in the Scripture; the Pentecostal faith, baptism, religious externals)
  • religious simplicity (personal experience, read a book, talk a walk in the woods) vs. religious complexity (programs, organizations, movements)
  • pursue only God (instead of God-and)

2. Blessedness of Possessing Nothing

  • What is the first barrier that keeps you away from God?
  • Abraham was rich and owned servants, cattle but possessed nothing
  • "tyranny of things"
  • poor in spirit (soul poverty, beatitude)
  • intangible assets (talents, gifts)

3. Breaking the Veil

  • What is the second barrier that keeps you away from God?
  • Two kinds of prison: remember Brooks in Shawshank Redemption; the physical prison and the mental prison
  • Let go of ego.
  • Self is the veil.
  • Mother Teresa, Father Damien, Nelson Mandela, Mahatma Gandhi

"Self is the opaque veil that hides the face of God from us. It can be removed only in spiritual experience, never by mere instruction. We may as well try to instruct leprosy out of our system. There must be a work of God in destruction before we are free. We must invite the cross to do its deadly work within us."

4. Apprehending ("Understanding") God

  • God and the spiritual world are real.
  • It is possible for us to experience God with all the five senses (sight, hear, smell, taste, touch). I believe this nature of God manifests itself in Jesus, the second person in the Trinity.
  • intimate relationship ("bhakti tradition")
  • A Christian's beliefs are practical (healing, miracles of prophets, Jesus).
  • The object of a Christian's faith is unseen reality. Remember Hebrews 11: 1 ("Now faith is being sure of what we hope for and being certain of what we do not see."). It is not mere ideas or abstract, but tangible and concrete.

5. The Universal Presence

  • God is here.

6. The Speaking God

  • God is still speaking.
  • The Word of God -> The Voice of God ("the donkey that talks, the book that speaks")
  • The heavens *declare* the glory of God; the skies *proclaim* the works of His hands.
  • The Word of God is quick and powerful. In the beginning, He spoke to nothing and it became something.
  • The Voice of God is a friendly Voice.
  • Voice vs. Noise
  • The Deaf Maestro

7. The Gaze of the Soul

  • What is faith? Do I have faith?
  • Believing is Seeing (vs. Seeing is Believing).
  • Directing our attention to God is the physical manifestation of our faith.
  • remember The Serpent on the Pole
  • the act of seeing (simple act, can be done anywhere and anytime, no religious paraphernalia)
  • The Twin Sisters (and their Twin Husbands)

"അവങ്കലേക്ക് നോക്കിയവർ പ്രകാശിതരായി, അവരുടെ മുഖം ലജ്ജിച്ചു പോയതുമില്ല." (സങ്കി 34:5)

8. Restoring the Creator-Creature Relationship

  • Be Thou exalted!
  • over my possessions, friendships, comforts, reputation
  • consequences: Eli and two sons, Samson
  • OTOH, God does not mind our weaknesses: fishermen as disciples, Moses
  • The choices that we make reflect our faith (God vs. money, God vs. human love, God vs. personal ambition, God vs. self, God vs. men, ...)
  • Christian life ought to be simplistic, easy yoke, light burden, not complicated

9. Meekness and Rest

  • burden of pride
  • burden of pretence
  • become as little children (no pride or pretence)
  • no pride --> meek --> rest
  • meekness != punching bag; meekness boldness
  • not people-pleaser, but God-pleaser --> rest

"Come to me, all who are weary and heavy-laden, and I will give you rest"

10. The Sacrament of Living

  • sacred (praying, Bible reading, singing hymns, attending church) vs. secular (eating, working, playing) dichotomy
  • in everything, honour, glorify God

Tuesday 1 June 2021

Artificial Intelligence: A Guide for Thinking Humans, Melanie Mitchell

Prologue; Part I:  BACKGROUND

The goal of AI is, supposedly, to solve intelligence and use it to solve everything else.

The main hypothesis behind the creation of AI is that any aspect of learning or intelligence can be simulated by a machine. Brain is composed of cells, neurons, and matter that obey laws of physics.

Two problems associated with the development of AI are: (1) people are rushing blindly and deliriously to create AI without giving a thought on its implications, and (2) the trivialization of humanity (emotions, society, music, art, games, movies, literature).

Technological singularity is the point at which machine intelligence surpasses human intelligence, which leads to an intelligence explosion. This happens because an intelligent being is capable of creating an even more-intelligent being. Ray Kurzweil is a proponent of technological singularity and forecasts that singularity is imminent in a few decades. Ray Kurzweil attributes his prediction to exponential growth, Moore's law, neuroscience, virtual reality. He also predicts that a computer will pass the Turing Test by 2029. The two main arguments of his sceptics are: (1) intelligence does not reside solely in the brain; that all the senses associated with the human body are necessary for intelligence to operate (social intelligence, emotional intelligence), and (2) software has not shown any exponential progress.

PART II: COMPUTER VISION

ImageNet (~WordNet) is a dataset of images built with the help of annotators recruited using Amazon Mechanical Turk. AlexNet solved the task of object identification in ImageNet using convolutional neural-networks (ConvNet) and GPUs.

Some technical challenges to AI are (1) the long tail, (2) easy to fool (adversarial examples), (3) bias, (4) supervised learning is not how humans learn; unsupervised learning is the dark matter of AI, (5) data-hungry systems "big data", need a lot of labelled data, (6) inability to interpret the results "show your work", (7) spurious correlation "clever Hans", (8) rely on human understanding of the task in model design, hyperparameter tuning.

We already use AI systems in our day-to-day lives: recommender systems (Amazon, YouTube), web search engines (Google Search, Microsoft Bing), translators (Google Translate, DeepL), personal digital assistants (Alexa, Cortana, Siri). However there are some issues of dispute and concern. How to enforce ethics in AI? How to regulate development and deployment of AI especially in domains such as mass surveillance, face recognition, and arms race? Do we need to teach morality to machines "moral machines"?

Part III: LEARNING TO PLAY

Reinforcement Learning (RL)

Reinforcement learning is a type of machine learning in which the agent learns by itself through reinforcement (rewards) from the environment. Humans learn to ride the bicycle through a similar process. 

The primary approach in RL is to learn the Q-table through multiple episodes (one episode corresponds to a complete game of Breakthrough) and multiple iterations (one iteration corresponds to a single action such as one move). An evaluation function evaluates the current states and predicts the next move by exploiting and exploring the set of values for each possible action. These value of an action indicates the agent's estimate of the reward at the end of the episode if that action is chosen at a given state.

For domains with simple state description, computing the Q-table is easier.  The objective then is to compute values of each action at every possible state. However for complex domains such as self-driving cars which can have inputs from thousands of sensors, neural networks can be used to process the input and generate the state description. These neural networks can then group similar states together through its state representation.

Game Engines

Traditionally, game engines such as IBM Deep Blue (vs. Garry Kasparov, 1997) relied on game trees and pruning algorithms such as minimax. However generating the game tree in real-time for games such as Go proved to be difficult even with sophisticated computing power.

With the advent of deep learning, it has been shown that it is possible to learn the Q-table through the use of neural networks. These Deep Q-Networks (DQN) employed a technique called temporal difference learning, which is based on the hypothesis that the evaluation function becomes more accurate as the games proceeds. 

DeepMind developed AI game engines that relied on deep Q-learning on Atari games and Go (AlphaGo vs Lee Sedol, 2016) Specifically, AlphaGo employed a combination of techniques: convolutional neural networks, deep Q-learning, Monte Carlo tree search and powerful hardware.

Simulation to Reality

However it is difficult to transfer the knowledge gained by the agent to other domains (due to lack of understanding or capabilities of abstraction or transfer learning) or into the real-world (due to ambiguity, noise, unpredictability). These models are also vulnerable to adversarial examples.

While board games or Atari games are easy to solve by current AI systems, these domains are not so challenging. The simple game of dumb charades will be much more harder because the game requires visual, linguistic and social understanding.

Moreover, though it is claimed that the RL agents are capable of learning by themselves without any specialized domain knowledge, the agent receive some amount of guidance through the choice of model architecture and hyperparameters.

PART IV: NATURAL LANGUAGE PROCESSING (NLP)

AI has been very successful in speech recognition.

The use of language is a major hallmark of human intelligence. Reading and writing are specific to humans. Humans all over the world talk. The main component of the Turing Test is language.

The recent advances in NLP can be attributed to  word embeddings (which are based on distributional semantics), recurrent neural networks and pre-trained language model (GPT-2, BERT).

Machine translation is an active research area. Though machines perform well, the evaluation method (BLUE score) is flawed. They make mistakes. They are vulnerable to adversarial examples or in the presence of noise (e.g. grammatical errors, SMS text). They do not work well on low-resource languages (e.g. Indian languages).

Question answering is another active research area. IBM Watson beat the world champion in the quiz show Jeopardy! Though digital personal assistants such as Siri, Cortana, Alexa perform question-answering, typically they perform mere answer retrieval. 

PART V: MEANING AND UNDERSTANDING 

The primary traits of human intelligence are the following: 

  • intuitive physics (e.g. world is composed of objects, objects have weight), intuitive biology (e.g. that there are animate and inanimate objects), intuitive psychology (social intelligence), 
  • knowledge of abstract and concrete concepts (metaphor), abstraction (ability to generalize between concepts) and analogy making (identify common essence between two concepts), 
  • cause and effect (e.g. if we push an object, the objects moves unless it is heavy or pulled by somebody else), predict possible futures,  simulate counterfactual events (e.g. tsunami in Heidelberg), ability to reason (use knowledge), 
  • self-awareness (consciousness)

Bongard problems are designed to test the abstraction and analogy-making skills of AI. Copycat was an approach that tested these skills in a microworld --- the letter-string domain.

Cyc is an ongoing project to teach machines common-sense.

Humans have the power of metacognition, in addition of cognition. We can think about, and reason on, what we think and what others think.

Q1: How soon are self-driving cars going to a reality? Ans: We're still far, far away from developing fully  autonomous vehicles.

Q2: Will AI replace all jobs? Ans: AI will likely create a new set of jobs. AI will replace low--pay, boring, degrading, dangerous jobs.

Q3: Should we be scared of AI? Ans: Humans need not be scared of super-intelligence; at least for the next couple of decades. However we should be worried about the reckless rush to deploy AI in all spheres of life without understanding intelligence, and capabilities and vulnerabilities of AI.

Q4: Can machines be creative? Ans: Most AI systems need a human in the loop. Seemingly creative systems such as AI relied on Cope's knowledge about music, algorithm design, and selection of music. More importantly, EMI was not capable enough to judge or appreciate its own music. EMI did not "understand" music, time signatures, rhythm, tune and many other concepts related to music and composition.

What makes us proud is not only the ability to produce music, but also the ability to appreciate it, the ability to comprehend what it communicates.

Thursday 20 May 2021

Why We Sleep, Matthew Walker

These are the key points I found in the book "Why We Sleep" by Dr. Matthew Walker.

PART 1: WHAT IS SLEEP

7-9 hours of sleep per day
sleep vs. evolution (unintuitive)

circadian rhythm (>24 hours), biological clock, suprachiasmatic nucleus, melatonin
adenosine (sleep drug)

jet lag: eastward (harder) vs. westward travel (easier); falling asleep ahead of usual time is harder
caffeine, vs. adenosine, processed by liver, half life of 7-8 hours
morning larks vs. night owls

How to identify sleep? (1) lack of external awareness; (2) easy to reverse (vs. anaesthesia, coma, hibernation, death); (3) posture; (4) time; (5) relaxed muscles; and () time distortion.

Sleep stages:
 - 90 minutes cycles
 - REM (dream sleep, paradoxical sleep) and NREM stages
 - AM (low frequency, coordinated pulses, deep sleep, during NREM) vs. FM (high frequency, REM)
 - REM atonia: muscle paralysis during REM sleep; to avoid acting out the dreams
 - wakefulness (reception), NREM sleep (reflection), REM sleep (integration)

Differences in sleep across species: (1) duration (4--22 hours); (2) pattern (monophasic, biphasic); (3) composition of NREM/REM stages); and (4) extreme situation (e.g. migratory birds undergo sleep fast, one half or both halves of the brain inactive).

Sleep rebound (catchup lost sleep)

Human sleep: (1) includes higher proportion of REM stages; (2) exclusive terrestrial sleepers.

PART 2: WHY SHOULD YOU SLEEP

Memory (NREM stage):  (1) free-up temporary storage (hippocampus); (2) consolidate memory to permanent storage (cortex); and (3) muscle memory, motor skills.

Creativity (REM stage): dream sleep

power nap: not a substitute for full-night sleep
microsleep - e.g falling asleep at the wheel
sleep inertia
sleepless elite

Consequences of sleep deprivation: (1) lack of concentration; (2) emotional irrationality; (3) psychiatric, mental illnesses (e.g. schizophrenia, depression, bipolar disorder); (4) higher risk of heart attack, diabetes, weight gain

PART 3: DREAM

 - psychotic: hallucination, delusional, disoriented , labile (mood swing), amnesia
 - not a replay of daytime events
 - strong activation in visual, motor, emotional and memory (hippocampus) regions of the brain, yet a relative deactivation of rational thought (prefrontal cortex)
 - repair emotional wounds, social skills, PTSD
 - creativity, problem-solving skills (e.g. Mendeleev), "sleep on it"

PART 4: FROM SLEEPING PILLS TO SOCIETY TRANSFORMED

Sleep disorders (Chapter 12): (1) somnambulism (sleep walking; trouble with REM sleep); (2) insomnia (inability to sleep; emotional distress); (3) narcolepsy (excessive sleeping; trouble with release of orexin); (4) fatal familial insomnia (hereditary); and (5) sleep apnoea.

Sleep indicators (for the brain): (1) reduction of heart rate; (2) reduction of blood pressure; (3) reduction of metabolism (no late night dinner); and (4)
 lowering of core body temperature.

sleep opportunity
beauty sleep
short sleep
sleep deprivation = food deprivation

Improve sleep quality (Chapter 13):
 - melatonin release increases with sunset (drop in sunlight, temperature)
 - humans are predominantly visual creatures
 - lighting (yellow incandescent vs. blue LED; lowered, dim light in the evening)
temperature (wash face, feet and hands with cold water; hot bath;)
 - 18.3 degree Celsius is the optimum temperature for sleep.
 - alcohol (sedation and not sleep)
 - avoid alarm clock, avoid snooze button

"Modern society has taken nature's perfect solution (sleep) and divided it into two problems: (1) lack of sleep at night, (2) inability to remain fully awake during the day."

Sleeping pills (Chapter 14): (1) do not induce natural sleep; (2) not the perfect cure for insomnia; (3) belong to the class of drugs called sedatives; (4) rebound insomnia; and (5) withdrawal symptoms.

CBT-I (cognitive behavioural therapy for insomnia)

Health Trinity: balanced diet, proper exercise, sound sleep

do not go to bed too hungry or too full
avoid excess carbs, sugar
get workout a few hours before bedtime

Sleep and Society (Chapter 15): (1) sleep loss declared as global health epidemic (WHO); (2) sleep deprivation vs. ADHD; (3) relaxed approach to work schedules; (4) sleep deprivation among employees, students, doctors; and (5) 22 hours without sleep = legally drunk.

 Useful Links: 

  1. Blog post 
  2. www.sleepfoundation.org

Friday 14 May 2021

Chapter 2: Chernobyl Prayer, Svetlana Alexievich

Please find below a few of the mind-numbing, heart-wrenching statements I found in Chapter 2 of  "Voices from Chernobyl: The Oral History of a Nuclear Disaster" by Svetlana Alexievich.

Mother:
"She's disabled from Chernobyl."
 
Lecturer:
"In the days straight after the accident, all the books on radiation - on Hiroshima and Nagasaki, even on X-rays - vanished from the library."
 
"There was even a joke that, if Chernobyl had exploded on Papua New Guinea, everyone but Papuans would be shaking with fear."
 
Hunter:
"They were excited to see us, came running to a human voice. They welcomed us."
 
Pripyat resident:
"But the words rang in my ears: `My dear, for some people procreation would be a sin.'"
 
Photographer:
"It wasn't obvious what to film. Nothing was blowing up anywhere." [silent killer; in stealth-mode]
 
Teachers:
"There is nothing that can surprise them, and nothing that can cheer them up."
 
Journalist:
"For the third month they are telling us on the radio, `The situation is stablilizing...The situation is stabilizing...The situation is stabilizing...'"
 
Academic:
"Because they will always go together in history: the downfall of Socialism and the Chernobyl disaster."
 
"From the viewpoint of our culture, thinking about yourself was selfish. It showed a lack of spirit. There was always something more important than you and your life."
 
Agricultural Scientist:
"Everybody is shouting that it's not possible to live on that land, but I say it is. We need to learn how to live on it."
 
The Folk Choir:
"If I had known what was going to happen, I would have shut the door, stood blocking the front entrance and locked them all ten times over..."

Sunday 9 May 2021

വാക്യങ്ങൾ

സംസ്‌കൃതം

  1. ലോകാഃ സമസ്താഃ സുഖിനോ ഭവന്തു
  2. തത്വമസി; അഹം ബ്രഹ്മാസ്മി
  3. ... വസുധൈവ കുടുംബഗം
  4. യദാ യദാ ഹി ധര്‍മസ്യഗ്ലാനിര്‍ ഭവതി ഭാരത || അഭ്യുത്ഥാനമധര്‍മസ്യ തദാത്മാനം സൃജാമ്യഹം || പരിത്രാണായ സാധൂനാം വിനാശായ ച ദുഷ്കൃതാം || ധര്‍മസംസ്ഥാപനാര്‍ഥായ സംഭവാമി യുഗേ യുഗേ (ഗീത)  
  5. ഉടുരാജമുഖി മൃഗരാജകടി
    ഗജരാജവിരാജിത മന്ദഗതി
    ... 

മലയാളം

  1. വെളിച്ചം ദുഃഖമാണുണ്ണി, തമസ്സല്ലോ സുഖപ്രദം
  2. പ്രേമമാണഖിലസാരവുമൂഴിയിൽ …
  3. ജാതിഭേദം മതദ്വേഷം || ഏതുമില്ലാതെ സർവരും || സോദരത്വേന വാഴുന്ന || മാതൃക സ്ഥാനമാണിത്
    (ശ്രീ നാരായണ ഗുരു)
  4. നരനായിങ്ങനെ ജനിച്ചു ഭൂമിയിൽ || നരകവാരിധിനടുവിൽ ഞാൻ || ഈ നരകത്തീന്നെന്നെ കരകേറ്റീടേണം || തിരുവൈക്കം വാഴും ശിവ ശംഭോ
  5. കണ്ടു കണ്ടു കണ്ടങ്ങിരിക്കും ജനങ്ങളെ || കണ്ടില്ലെന്നു വരുത്തുന്നതും ഭവാൻ || രണ്ടുനാലു ദിനം കൊണ്ടൊരുത്തനെ || തണ്ടിലേറ്റി നടത്തുന്നതും ഭവാൻ || മാളിക മുകളിലേറിയ മന്നന്റെ തോളിൽ
    മാറാപ്പു കേറ്റുന്നതും ഭവാൻ (ജ്ഞാനപ്പാന, പൂന്താനം)
  6.  

Thursday 1 April 2021

Chapter 1: Chernobyl Prayer, Svetlana Alexievich

Please find below a few of the mind-numbing, heart-wrenching statements I found in Chapter 1 of  "Voices from Chernobyl: The Oral History of a Nuclear Disaster" by Svetlana Alexievich.
 
The scientist:
"I thought the worst was behind me, the war years, and that now I was safe."
 
The father:
"I want to testify: my daughter died from Chernobyl. But they want us to keep quiet."
 
The returnees:
"My good husband liked to say man pulls the trigger, but God carries the bullet."
 
"You just need to live. That's all."
 
"Two Chernobyl women are chatting. One says, `Have you heard, everyone's got the white blood cancer now?' The other says, `Rubbish! Yesterday I cut my finger and the blood was red.'"
 
"Laugh and the world laughs with you. There's a Ukrainian woman selling big red apples at the market. She was touting her wares: `Come and get them! Apples from Chernobyl!' Someone told her, `Don't advertise the fact that they're from Chernobyl, love. No one will buy them.' `Don't you believe it! They're selling well! People buy them for their mother-in-law or their boss!"
 
"As they say, the place where you were born is where you belong."
 
"...this is an act of betrayal."
 
"Your children only bring you joy while they are little."
 
"Why did that Chernobyl blow up? Some say it's the scientists to blame. Trying to catch God by the beard, and He has the last laugh. And it's us that suffer!"
 
"It has been two years since we stopped drifting about those strange places and came back home."
 
"Find Anna Sushko for us...She's got a hump, been mute since childhood...The whole village cared about her."
 
The refugees:
"And the bandits asked us: `Is it Kulobi or Pamiri?'"
 
"Who would I give birth to, with my soul dead?"
 
"One life is over, and I don't have the strength for another one."
 
"The Ukranian word for `wormwood' is Chernobyl."
 
"Man is crafty only in evil, but he's so simple and open in his plain words of love."
 
The Soldier's Choir:
"We got home. I took everything off, all the stuff I'd been wearing...I gave the cap to my little son, as a present. He kept asking for it. He wore it non-stop. Two years later, he was diagnosed with a brain tumour." [the ignorance among the liquidators on the danger of radiation]
 
"When I got back from Afghanistan, I knew I'd live. After Chernobyl, the opposite was true."
 
"The doctor wouldn't touch a thing." [lack of transparency]
 
"You're a Chernobyl guy now. Who'd want to marry you?"
 
"As we said, battling the atom with spades! In the twentieth century."
 
"Then, of course, they got us to sign some form. A non-disclosure agreement."
 
"Out there, death was an everyday reality. It was no mystery." [Chernobyl vs. Afghanistan]
 
"After my nine operations and two hearts attacks, I don't judge anyone any more."
 
"A job for real men!" [heroic urge, sense of adventure]
 
"But it was clear their [robots'] insides has been fried by the high doses of radiation."

Monday 29 March 2021

The Great Divorce, C. S. Lewis

These are the titles I came up with for each chapter in the book:


Chapter 1: The omnibus
Chapter 2: The dark, damp, dreary Hell
Chapter 3: The bright Heaven (Real World)
Chapter 4: The mean, unforgiving man - Who are we to judge others? Are we even worthy to do so?
Chapter 5: The intellectual man - Be careful of sins of the intellect such as ego, pride or prejudice.
Chapter 6: The materialist
Chapter 7: The cynical man (the conspiracy theorist) - Is it wise to distrust everything? That's too much negative energy.
Chapter 8: The embarrassed lady - Turn your shame into something that's nourishing.
Chapter 9: The Teacher
Chapter 10: The dominating wife
Chapter 11: The possessive mother, and the man with the lizard - How to deal with addiction?
Chapter 12: The ordinary woman (Sarah Smith) and her self-centred husband - Fame on earth vs. Fame on Heaven;
Chapter 13: The tiny, insignificant, useless Hell (unreal World)
Chapter 14: The dream

Favourite Quotes:
1) "No one had a right to come between me and my son. Not even God."
2) "Don't you know that you can't hurt anyone in this country."
3) "I cannot kill it against your will. It is impossible. Have I your permission?"
4) "All Hell is smaller than one pebble of your earthly world."

References:
1) Exploring C.S. Lewis's The Great Divorce

Wednesday 17 March 2021

Walsalam and Upadeshi

This article summarizes the book "Songs as Locus for a Lay Theology: Moshe Walsalam Sastriyar and Sadhu Kochukunju Upadeshi" written by Philip K Mathai.

Chapter 1: Sangam Age (Tamilakam, socialism, Buddhism, Jainism, Dravidian traditions); Aryan Influence (Hinduism, caste hierarchy, Sanskrit, Malayalam); St Thomas (1st century); Thomas of Cana (3rd century); Adi Sankara (8th century); Venad (12th century); Vasco da Gama (1498 CE); the Portuguese (~150 years); Synod of Diamper; Coonan Cross Oath (Catholic Church vs. Malankara Orthodox Church); the Dutch; Travancore (padmanabhadasan); the British; Revolt (Kerala Varma Pazhassi Raja, Velu Thambi Dalawa); Social Reformation (Chattambi Swamikal, Sri Narayana Guru, Ayyankali, Upper Cloth Revolt, Temple Entry Proclamation); Church Missionary Society (Kottayam, Benjamin Bailey); London Missionary Society (Nagercoil); Mar Thoma Church (~1880 CE); Church of South India (1948 CE);  

Chapter 2: Doxology (praise, worship, songs, music, actions) vs. Theology (doctrines, liturgy); how various Christian traditions (Roman Catholic, Protestant, Orthodox and Eastern) differ; history of Doxology in Latin, German (Luther) and English (Isaac Watts, John Wesley, Charles Wesley); the Bhakti tradition (worship, complete submission to a personal God through word, mind and body) in India and Hinduism; locus theologicus (source of theology); 

Chapter 3: Moshe Walsalam (surname, beloved) Sastriyar (honorific, scholar); 1847-1916; born into a nadar Christian family in Trivandrum; associated with the CSI Church and the London Mission Society; trained poet, musician and composer; translated English and Tamil songs into Malayalam; Kathakalakshepam; Trust (ninte hitam...), Liberation (sneha virunnanubhavippan...);  

Chapter 4: Sadhu (honorific, sage) Kochukunju Upadeshi (honorific, preacher); 1883-1945; belonged to the Mar Thoma Church; General Secretary of the Mar Thoma Voluntary Evangelists' Association; born in Edayaranmula; no formal training in music; the Valley of Baca; Worldly life (sojourner, ascetic way of life, transitory life); Love (sensual love); Trust (dukhathinte paanapathram...);

Conclusion: The songs written by Walsalam and Upadeshi are still in circulation in the churches of Kerala, and thus have stood the test of time. These songs are also ecumenical in nature. The songs represent the theology, faith and doctrinal stance of the laity (both Walsalam and Upadeshi were evangelists), as opposed to the theology taught by the clergy (remember Martin Luther). Finally,  the songs were products of amalgamation of the Western theology and the Indian religious culture (bhakti), resulting in a new form of doxology based on new vocabulary (e.g. devan, avataram, pey) and literary expression (e.g. love feast, end of casteism).

Monday 1 March 2021

Ejukkayshun

Education is a noble activity. The mere act of gaining knowledge inherently is free from evil. It is what we intend to do with the knowledge that leads to immorality. A member of the bomb disposal squad ought to understand the internal mechanism of a bomb. Only when he has acquired sufficient amount of required knowledge can he be excellent and faithful at his job.

Roger Schank Blog

Lectures are not effective for teaching and learning. Education begins with curiosity. We learn through conversations that are dialogues in nature not monologues. In other words, a good teacher talks with the students and not to the students.

Do Schools Kill Creativity is a popular TED talk. Children are born free-thinkers --- have lots of questions, want to know everything, and are not afraid of making mistakes. However the modern education system is a factory to produce corporate slaves and brain-dead people.

“So, my advice. Know what matters to you. Learn that. Temporarily memorize nonsense if you want to graduate but have a proper perspective on it. Nothing you learn in high school will matter in your future life.” --- Roger Schank

“Tell me and I forget, teach me and I may remember, involve me and I learn.”―Benjamin Franklin

“Failure is instructive. The person who really thinks learns quite as much from his failures as from his successes.” ―John Dewey

ADHD, autism, dyslexia, introverts

Pedagogy

  1. learning by teaching - learn by teaching fellow students in the class
  2. flipped classroom - (not an intuitive term) interactive learning; discussion; real-time problem solving; watch video lectures together; the lecturer or teacher is no longer primary focus in the classroom; project-based learning
  3. Jigsaw - students learn from each other; cooperative learning
  4. Education 3.0 - the marriage of technology and learning; personalised learning
  5. MOOC (massive open online course) - mass learning; e.g. Udemy, Coursera, MIT OCW
  6. homeschooling 

ഒരിക്കലും അവസാനിക്കാത്ത ഒരു പ്രക്രിയയാണ് വിദ്യാഭാസം. ജീവിതകാലം മുഴുവൻ ഒരുവൻ വിദ്യാർത്ഥി ആയിരിക്കും. ഒരു യഥാർഥ വിദ്യാർഥി എന്നും എളിമയുള്ളവനായിരിക്കും.

എന്താണ് വിദ്യാഭ്യാസത്തിന്റെ ഉദ്ദേശ്യം?  (1) അറിവ് - അറിവിലൂടെ ലോകത്തെപ്പറ്റിയും, സമൂഹത്തെപ്പറ്റിയും പ്രയോഗികജ്ഞാനം ലഭിക്കുന്നു; (2) നെറിവ് - ശരിയും  തെറ്റും തമ്മിൽ വേർതിരിച്ചറിയാൻ  ഉതകുന്നത് നെറിവു; (3) തിരിച്ചറിവ് - തെറ്റ് മനസ്സിലാക്കി  നന്മയുടെ പാതയിൽ നേർവഴി നടക്കാൻ തിരിച്ചറിവ് സഹായിക്കും. 

    അറിവ് (information), ജ്ഞാനം (knowledge), വിവേകം (wisdom)

    എന്താണ് അറിവ്? (1) വസ്തുതകൾ (facts), (2) വ്യാഖ്യാനം (interpretation), (3) വ്യവഹാരം (critique), (4) ലാവണ്യം (aesthetics, elegance)