/Algorithms

“Remember to look up at the stars and not down at your feet." -Stephen Hawking

The UnlicenseUnlicense

Algorithms

You have to let it all go, Neo - fear, doubt, and disbelief... Free your mind.

-Morpheus (The Matrix, 1999)

Images can be imprinted upon the mind as a "feeling" which can be sent through the hippocampus into the mind's "long-term memory store" to later been "seen" upon demand by the prefrontal cortex (the mind's "smart manager") and expressed via the basal ganglia (the mind's "stupid repeater"); and thus, it is possible to beneficially self-modify our minds by iteratively improving our observational opportunities for growth and adapting accordingly with metacognition. Yet, some tasks and settings preclude people from receiving self-correcting information which would reveal the suboptimal nature of their decisions (the Dunning-Kruger effect). Double-ignorance is similar to a dependency loop: how can we find an entry point within a bidirectionally cyclic graph?

People have vices, do wrong, and make themselves wretched because they don’t really understand what they are doing and why. They haven’t thought hard enough about it. But there’s a special tier of Socratic dread and contempt for double ignorance – the ignorance of those who don’t know but think they do.

-Ward Farnsworth

The First 314 Digits of PI

A stored "feeling" represented as three matrices of 10 rows and 10 columns, followed by one row of 10, followed by one row of 4.

3141592653
5897932384
6264338327
9502884197
1693993751
0582097494
4592307816
4062862089
9862803482
5342117067

9821480865
1328230664
7093844609
5505822317
2535940812
8481117450
2841027019
3852110555
9644622948
9549303819

6442881097
5665933446
1284756482
3378678316
5271201909
1456485669
2346034861
0454326648
2133936072
6024914127

3724587006
6063

Download Instructions

Use git to clone this repository and submodules from the command line:

    git clone git@github.com:claytonjwong/Algorithms.git
    cd Algorithms
    git submodule update --init --recursive

Update existing submodules from the command line:

    git pull --recurse-submodules

Jedi Mind Tricks

Your mind will take the shape of what you frequently hold in thought, for the human spirit is colored by such impressions.

-Marcus Aurelius, Meditations, 5.16

Flow

I'm one with the Force, and the Force is with me

-Chirrut Îmwe

https://en.wikipedia.org/wiki/Flow_(psychology)

  • Be Useful (Arnold Schwarzenegger)
  • Creativity (Mihaly Csikszentmihalyi)
  • Deep Work (Cal Newport)
  • Essentialism (Greg McKeown)
  • Finding Flow: The Psychology of Engagement with Everyday Life (Mihaly Csikszentmihalyi)
  • Flow: The Psychology of Optimal Experience (Mihaly Csikszentmihalyi)
  • Focus: The Hidden Driver of Excellence (Daniel Goleman)
  • Hidden Potential (Adam Grant)
  • Stealing Fire (Steven Kotler & Jamie Wheal)
  • The Art of Impossible (Steven Kotler)
  • The Power of Habit (Charles Duhigg)
  • The Power of Now (Eckhart Tolle)
  • The Rise of Superman (Steven Kotler)
  • Yoga and the Quest for the True Self (Stephen Cope)

Algorithms

Simplicity is the ultimate sophistication

Leonardo da Vinci

Recursion

Projects

Competitive Programming

Resources

Beneficial Songs