https://jsilva.blog/2019/02/05/algorithms-book-summary/amp/

Alg Science is more a way of thinking than a body of knowledge

Explore and exploit: giddens index, regret minimization, try the one w the highest upper confidence interval

The highest upper confidence interval algorithm is a formal justification for Optimism and benefit of the doubt

In the long run Optimism is the best prevention of regret

We explore more when we’re young and exploit more when we’re old because our sense of intervals are different. But life gets better since regret is a log algorithm over time

Sorting

Cache, organizing stuff → LRU is best, tossing the last thing u used on the top of the file is best

The forgetting curve of human brains: a inf long shelf, predicting which items are most needed in the future. Reality itself mimicks LRU.

Cognitive decline might be bc they have more things in their brain. Brain fart is cache miss.

Scheduling: start with her lightest wash, end of the lightest dryer

Scheduling with ourselves is a single machine, order doesn’t matter: need to choose a metric

Min max lateness: earliest due date

Combined wait time for clients: sum of completion time, shortest processing time, do quickest one first

Weighted completion time: weight / complete time start w the biggest; importance per unit

Procrastination might just be metrics are wrong

Precedent constraints: precedent of a high priority task should inherit the priority

Overhead and context switching is always there

Threading: appears to be doing things at once; there’s a threshold: last straw

Caches: too many cache misses: thrashing