<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Nathan Braun</title>
<description></description>
<link>https://nathanbraun.com//</link>
<lastBuildDate>Wed, 12 Mar 2025 20:42:01 +0000</lastBuildDate>
<generator>Nathan Braun</generator>
<item>
<title>nathanbraun.com - Tech Tools</title>
<description>Writeup of Tech Tools</description>
<link>https://nathanbraun.com/tooling</link>
<guid>https://nathanbraun.com/tooling</guid>
<pubDate>Thu, 16 Jan 2025 00:00:00 GMT</pubDate>
</item>
<item>
<title>Notes for HS Talk</title>
<description>Notes for HS Talk</description>
<link>https://nathanbraun.com/hs</link>
<guid>https://nathanbraun.com/hs</guid>
<pubDate>Tue, 16 May 2023 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Notes for HS Talk&lt;/h1&gt;&lt;h2&gt;The problem with advice&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;depends on the person, their goals and situation&lt;/li&gt;&lt;li&gt;really good advice that applies to almost everyone (e.g. don&apos;t try heroin) is
mostly well known&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;So I can talk about my experience, what&apos;s worked for me and what I wish I&apos;d
done differently or known when I was in HS, but your mileage may vary.&lt;/p&gt;&lt;p&gt;Will start with quick overview on my background then we can branch out to
whatever you guys think would be most helpful.&lt;/p&gt;&lt;h2&gt;My experience&lt;/h2&gt;&lt;ul&gt;&lt;li&gt;Neenah HS, 2005; UW Madison 2009, Montana State 2011&lt;/li&gt;&lt;li&gt;environmental economics/BP Oil Spill&lt;/li&gt;&lt;li&gt;learning to code/side projects&lt;/li&gt;&lt;li&gt;data science day jobs&lt;/li&gt;&lt;li&gt;working for myself teaching programming and data science with sports&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;What would be useful?&lt;/h2&gt;&lt;p&gt;Happy to expand on any of these, or anything else.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;What do programmers mostly do?&lt;/li&gt;&lt;li&gt;How did I teach myself to code?&lt;/li&gt;&lt;li&gt;What programming language should you learn?&lt;/li&gt;&lt;li&gt;What&apos;s the connection between Java/programming in HS and businesses/what
programmers do day to day?&lt;ul&gt;&lt;li&gt;e.g. how are lists, bools, arrays, objects useful?&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;What&apos;s a CS degree like?&lt;/li&gt;&lt;li&gt;What is data science?&lt;/li&gt;&lt;li&gt;What kind of math do you use in programming?&lt;/li&gt;&lt;li&gt;What I like about programming:&lt;ul&gt;&lt;li&gt;it&apos;s fun; like working on puzzles&lt;/li&gt;&lt;li&gt;it let&apos;s you build things -- app, website, analysis -- which is satisfying&lt;/li&gt;&lt;li&gt;it&apos;s everywhere&lt;/li&gt;&lt;li&gt;might be the field that cares the least about formal credentials&lt;/li&gt;&lt;li&gt;very powerful skillset&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;What I like about entrepreneurship:&lt;ul&gt;&lt;li&gt;very minimal BS and wasted time&lt;/li&gt;&lt;li&gt;in theory, doesn&apos;t have to be a connection between time and results&lt;/li&gt;&lt;li&gt;easy to see how you&apos;re doing&lt;/li&gt;&lt;li&gt;requires a variety of skills&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;General life advice&lt;/li&gt;&lt;li&gt;Mistakes and misconceptions&lt;/li&gt;&lt;li&gt;Tools I&apos;m happy I learned/wish I learned earlier&lt;ul&gt;&lt;li&gt;Vim - type faster&lt;/li&gt;&lt;li&gt;Anki - memorize anything&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Resources&lt;/h2&gt;&lt;p&gt;Essays and articles&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;strong&gt;general life advice essays:&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Paul Graham (famous programmer, investor, billionaire) - &lt;a href=&quot;http://www.paulgraham.com/hs.html&quot;&gt;notes for a HS talk&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Laura Deming - &lt;a href=&quot;https://ldeming.posthaven.com/advice-for-ambitious-teenagers&quot;&gt;advice for ambitious teens&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Ben Kuhn has:&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://www.benkuhn.net/college/&quot;&gt;advice for people that just like him&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.benkuhn.net/college/&quot;&gt;a collection of his favorite life advice essays&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;Patrick Collison (billionaire, founder of Stripe) - &lt;a href=&quot;https://patrickcollison.com/advice&quot;&gt;advice for 10-20 year olds&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Alex Guzey has some &lt;a href=&quot;https://guzey.com/personal/what-should-you-do-with-your-life/#general-advice&quot;&gt;general advice&lt;/a&gt; too&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong&gt;programming specific essays:&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Patrick Mackenzie is a programmer/author who has a lot of good stuff, including:&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;https://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-programmer/&quot;&gt;career advice for programmers&lt;/a&gt; (recommended!)&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.kalzumeus.com/standing-invitation/&quot;&gt;tips for emailing busy people&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://medium.com/always-be-coding/abc-always-be-coding-d5f8051afce2&quot;&gt;Always be Coding&lt;/a&gt; is an inspirational/good essay for people really into coding&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.benkuhn.net/hard/&quot;&gt;You don&apos;t need to work on hard problems&lt;/a&gt; by Ben Kuhn&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://paulgraham.com/articles.html&quot;&gt;Paul Graham&lt;/a&gt; has a bunch on programming&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Books&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;&lt;strong&gt;general&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;/books/principles&quot;&gt;Principles&lt;/a&gt; - Ray Dalio&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;books/deepwork&quot;&gt;Deep Work&lt;/a&gt; - Cal Newport&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;books/habit&quot;&gt;Superhuman by Habit&lt;/a&gt; - Tynan&lt;/li&gt;&lt;li&gt;How to Fail at Everything and Still Win Big - Scott Adams&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong&gt;entrepreneurship:&lt;/strong&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Start Small, Stay Small - Rob Walling (new book coming out too)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;&lt;strong&gt;coding&lt;/strong&gt;:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://sarabander.github.io/sicp/&quot;&gt;Structure and Interpretation of Computer Programmers&lt;/a&gt; - famous/free coding book, also available in &lt;a href=&quot;https://www.amazon.com/Structure-Interpretation-Computer-Programs-Engineering-ebook/dp/B094X8316F/ref=sr_1_1?keywords=structure+and+interpretation+of+computer+programs&amp;qid=1684266812&amp;s=digital-text&amp;sprefix=structure+an%2Cdigital-text%2C106&amp;sr=1-1&quot;&gt;javascript&lt;/a&gt; version&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;https://www.amazon.com/gp/product/B09BCCVLCL/ref=x_gr_bb_kindle?caller=Goodreads&amp;tag=x_gr_bb_kindle-20&quot;&gt;Crafting Interpeters&lt;/a&gt; - I haven&apos;t read this but it gets good reviews and if I was planning on majoring in CS I would (might do it anyway)&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Money as a Database for Resource Allocation</title>
<description>pf</description>
<link>https://nathanbraun.com/moneydb</link>
<guid>https://nathanbraun.com/moneydb</guid>
<pubDate>Wed, 15 Feb 2023 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;&quot;Money is a database for resource allocation&quot;&lt;/h1&gt;&lt;blockquote&gt;&lt;p&gt;I think I have a pretty deep understanding of what money actually is on a day
to day basis because of Paypal...&lt;/p&gt;&lt;p&gt;...think of money as information. People often will think of money as having
power in and of itself. It does not.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Just think of money as a database for resource allocation across time and
space&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;And then in what form should that database or data system — what form would
be most effective? You&apos;re operating an economy and you need to have something
that allows for efficient value ratios between products and services. You
have this massive number of products and services and you can&apos;t just barter,
that would be extremely unwieldy. You need something that gives you a ratio
of exchange between goods and services and then something that allows you to
shift obligations across time.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This is from an &lt;a href=&quot;https://www.youtube.com/watch?v=DxREm3s1scA&quot;&gt;interview Elon Musk did with Lex Fridman&lt;/a&gt; in 2021. Elon has said
something like this a few times. Predictably, he gets crap for it.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Billionaire Elon Musk calls money &apos;Just an entry in a database&apos; as fortune
  continues to soar.&quot; - &lt;a href=&quot;https://www.independent.co.uk/space/musk-tesla-founder-spacex-money-b1768311.html&quot;&gt;The Independent&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Only the world&apos;s richest man can say money has no power!&quot; - &lt;a href=&quot;https://www.hindustantimes.com/world-news/elon-musk-s-money-doesn-t-have-power-video-goes-viral-watch-101658635350679.html&quot;&gt;Twitter&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;h2&gt;What this means&lt;/h2&gt;&lt;p&gt;When Elon says, &quot;money just an entry in a database&quot; he&apos;s not saying it in the
way people say &quot;age is just a number&quot; or that if he logs into his Chase
checking account and sees a $142B balance that that number is in some database
on Chase&apos;s servers.&lt;/p&gt;&lt;p&gt;Instead, what I think means is that anytime you buy or sell something (or
steal, or give), what you&apos;re really trading is &lt;em&gt;resources&lt;/em&gt;. Money (technically
prices) is information about these resources relative worth.&lt;/p&gt;&lt;p&gt;So as I write this, the idea of money as information allows me to say one
bushel of wheat ($8.61) is worth 2.7 gallons of gas (at $3.15 per gallon), or
29 minutes of an Amazon warehouse employees time (at $17.84 per hour).&lt;/p&gt;&lt;p&gt;These are the ratios of exchange between goods and services that Elon is talking
about.&lt;/p&gt;&lt;h3&gt;Time and Space&lt;/h3&gt;&lt;p&gt;Like Musk says, the money db is necessary to move value across time and space.&lt;/p&gt;&lt;p&gt;If I grow some tomatoes, those are ripe, juicy resources, ready to consume now.
They&apos;re not going to last forever. But I can &quot;sell&quot; them to you, i.e. trade for
money.&lt;/p&gt;&lt;p&gt;How does the money paid for tomatoes relate to value?&lt;/p&gt;&lt;p&gt;One answer is the value of money &amp;gt;= tomatoes for me (since I sold them) and
money &amp;lt;= tomatoes for you (since you bought them).&lt;/p&gt;&lt;p&gt;But again, because money doesn&apos;t have any value in and of itself, we&apos;re really
comparing the resources we can buy with $5 to to the tomatoes.&lt;/p&gt;&lt;p&gt;Moving value across space is a pretty easy extension of value across time.
Unless I sell my tomatoes then literally stand in one spot (maybe waiting for
a food truck drive by or something?), any shift in value across time is also a
shift across space.&lt;/p&gt;&lt;h3&gt;Is it really a database?&lt;/h3&gt;&lt;p&gt;Although I think it&apos;s catchy, calling it a &quot;database&quot; is a bit misleading. It&apos;s
not a database in the sense that it&apos;s persistent. If you pay me $5 cash for a
carton of tomatoes there&apos;s no record of that anywhere. Musk&apos;s alternative
framing, that &quot;money is information&quot; is probably more accurate.&lt;/p&gt;&lt;p&gt;Also, the information we get is one particular facet, namely the &lt;em&gt;marginal&lt;/em&gt;
value of the resource. Marginal basically means &quot;the next&quot;. Right now I have a
house, with running water + a bunch of seltzers in the fridge. That&apos;s all very
relevant for how I value a marginal bottle of water I might buy from the store
(not that highly).&lt;/p&gt;&lt;p&gt;Marginal value (or cost) exists on the producer side too. Each bottle of water
costs something to make. If I need to build a giant water purifying plant,
maybe the first one costs a lot, then they get cheaper after that. Maybe
eventually (depending on how many I&apos;m selling and where &quot;the next&quot; is) they get
more expensive as water becomes harder to find.&lt;/p&gt;&lt;p&gt;The point is, a price as an entry in the money DB is at a very specific and
context dependent point (the margin). It doesn&apos;t tell us e.g. the total value
of all the water on earth and let us compare that to the total value of
diamonds.&lt;/p&gt;&lt;p&gt;If you think about it, this makes sense. The value of something (even in terms
of other resources) very much depends on how many you already have + what else
is going on.&lt;/p&gt;&lt;h2&gt;The software behind the money database&lt;/h2&gt;&lt;p&gt;Musk thinks of different monetary systems as sort of the &quot;software&quot; this
database runs on. The current, US government as money supply system (in
practice a lot banks/credit card companies running &quot;COBOL in batch mode&quot;) works
pretty well.&lt;/p&gt;&lt;p&gt;Historically, one problem with government as money database is that, as Musk
says, &quot;governments [dilute] the money supply as a pernicious form of taxation.&quot;
I.e. governments have political incentives to print money. That&apos;s because
people like government spending a lot more than they like paying taxes, and why
some people advocate e.g. a gold standard.&lt;/p&gt;&lt;p&gt;Cryptocurrency like Bitcoin could be another alternative. But it has drawbacks
too, probably ones more serious than the risk of government dilution. As Musk
says:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;There is a fundamental issue with Bitcoin in its current form in that it&apos;s
transaction volume is very limited. The latency for a properly confirmed
transaction is too long. Much longer than you&apos;d like. So it&apos;s not great for a
transaction volume standpoint or a latency standpoint. So it is perhaps
useful to solve an aspect of the money database problem, which is a store of
wealth or an accounting of relative obligations, but it is not useful as a
currency.&lt;/p&gt;&lt;/blockquote&gt;]]&gt;</content:encoded>
</item>
<item>
<title>A Simple Explanation of Regression to the Mean</title>
<description>A Simple Explanation of the Regression to the Mean</description>
<link>https://nathanbraun.com/regression-to-mean</link>
<guid>https://nathanbraun.com/regression-to-mean</guid>
<pubDate>Fri, 09 Dec 2022 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;A Simple Explanation of Regression to the Mean&lt;/h1&gt;&lt;p&gt;One concept I didn&apos;t really &quot;get&quot; for a long time was regression to the mean. I
think I have some intuition for it now though and — in the spirit of my other
&lt;a href=&quot;/monty-hall&quot;&gt;simple explanations&lt;/a&gt; thought I&apos;d write it up here.&lt;/p&gt;&lt;h2&gt;Explanation&lt;/h2&gt;&lt;p&gt;Say you have a fair coin, and you flip it 10 times and count the number of
heads.&lt;/p&gt;&lt;p&gt;The number of heads in that 10 flips follows a binomial distribution which
looks something &lt;a href=&quot;https://www.wolframalpha.com/input/?i=binomial+distribution%2810%2C+0.5%29&quot;&gt;like this&lt;/a&gt;:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Binomial 10 Flips&quot; src=&quot;/images/binomial.png&quot;&gt;&lt;/p&gt;&lt;p&gt;There&apos;s about a 4% you get 2 (or 8) heads, 12% you get 3 (7), etc.&lt;/p&gt;&lt;p&gt;Now get 1000 different people to do that same set of 10 flips with their own
unbiased coins. Just because of how probabilities work, about 40 of the people
will flip two heads, about 120 three, etc.&lt;/p&gt;&lt;p&gt;Regression to the mean just means that — if these &quot;extreme&quot; 2 heads people
continue flipping their coins, the low probability of heads is unlikely to
continue.&lt;/p&gt;&lt;p&gt;If you flip a coin 10 times — regardless of what happened before — there&apos;s a
95% chance you&apos;ll get more than 2 heads, and a 90% chance you get between 3-7
heads.&lt;/p&gt;&lt;p&gt;So if these forty 2-head flippers all flip another 10 coins, 90% of them will
flip something closer to the mean.&lt;/p&gt;&lt;p&gt;That&apos;s the key I think, &lt;strong&gt;recognizing &quot;extreme&quot; events as low probability
events to begin with, and realizing that — if they really are low probability
events and you continue drawing from them — you&apos;re likely to see results closer
to the mean.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;This example is easier because we have a coin we know is fair and a bunch of
events where we know some are bound to be extreme. In real life, with smaller
samples and unknown distributions it&apos;s harder because you don&apos;t necessarily
know if you got an extreme draw from your distribution, or whether the
underlying probability is different from what you thought.&lt;/p&gt;&lt;p&gt;For example: in 2016 the US elected Donald Trump, who was an &quot;extreme&quot;
candidate (probability-wise). Was that a fluke draw and should we expect a
regression to the mean where the US (or GOP) selects a more traditional
candidate next time? Or was it some underlying shift where the probabilities
changed and it&apos;s likely we see more of the same in the future? Hard to say.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Percentile Feedback</title>
<description>pf</description>
<link>https://nathanbraun.com/pf</link>
<guid>https://nathanbraun.com/pf</guid>
<pubDate>Thu, 08 Dec 2022 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Percentile Feedback&lt;/h1&gt;&lt;p&gt;A percentile feedback graph is a productivity tool for increasing your
motivation. It shows you the portion of the day you&apos;ve worked so far and how
that compares to previous days.&lt;/p&gt;&lt;p&gt;&quot;It&apos;s 11 AM and you&apos;ve worked 2.5 hours; that&apos;s more than you&apos;ve worked (as of
11 AM) on 75% of previous days!&quot;&lt;/p&gt;&lt;p&gt;The bottom line is that you get a neat line that goes up when you work, and
starts going down when you don&apos;t. The nice thing is you can always improve it —
even if you&apos;ve had a rough morning and line is starting low, things are
redeemable, just work and it&apos;ll go up.&lt;/p&gt;&lt;p&gt;(Note: it&apos;s a line because each percentile — 75% — is calculated at some time —
11 AM. When you connect these series of points through the day it shows a
line.)&lt;/p&gt;&lt;p&gt;The idea is you have it up so you can see it while you&apos;re working. It looks
like this:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Percentile Feedback Example&quot; src=&quot;/images/percentile-feedback-example.png&quot;&gt;&lt;/p&gt;&lt;p&gt;So in this example (which comes from &lt;a href=&quot;https://alexvermeer.com/&quot;&gt;Alex Vermeer&lt;/a&gt;),
it&apos;s almost 7 pm (x axis) and Alex has worked about 40% of the day so far (y
axis). Based on logs of previous days and times worked, this is better than 57%
of his past days.&lt;/p&gt;&lt;p&gt;The dots are the previous days. If you want, you could plot these as lines too.
That&apos;s what another &lt;a href=&quot;https://github.com/matkoniecz/beeminder-percentile-feedback&quot;&gt;implementation by github user matkoniecz&lt;/a&gt; does:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Percentile Feedback with Lines&quot; src=&quot;https://nathanbraun.com/images/percentile_feedback_lines.png&quot;&gt;&lt;/p&gt;&lt;p&gt;But Vermeer (following Nick Winter) takes a subset of random points from all of
the past days lines, which gives a cloud that conveys where you&apos;re generally at
throughout the day.&lt;/p&gt;&lt;h2&gt;Origin&lt;/h2&gt;&lt;p&gt;My understanding is the late &lt;a href=&quot;https://en.wikipedia.org/wiki/Seth_Roberts&quot;&gt;Seth
Roberts&lt;/a&gt; came up with the
idea and the name, and thought it helped motivate him to work more and better.
He even had some stats showing is daily hours worked before and after he
started using it, and how the stats were a lot higher afterward.&lt;/p&gt;&lt;h2&gt;My Implementation&lt;/h2&gt;&lt;p&gt;I liked this idea when I read about it on Vermeer&apos;s site and Nick Winter&apos;s book
and went about making some improvements:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;I hooked mine up to &lt;a href=&quot;https://wakatime.com/&quot;&gt;wakatime&lt;/a&gt;, to automatically see
time spent on various projects.&lt;/li&gt;&lt;li&gt;I made these projects toggleable (both for what went into the green line as
well as the background cloud of points) so I could see time spent on certain
projects.&lt;/li&gt;&lt;li&gt;I made it all a web app in elm (vs the other main alternative at the time,
which was a forked script you had to run locally).&lt;/li&gt;&lt;li&gt;I even registered percentilefeedback.com&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I also did a reverse percentile feedback version, for things I &lt;em&gt;didn&apos;t&lt;/em&gt; want to
do (e.g. check twitter or whatsapp). For that I hooked into rescuetime, made
things discrete (n of times checked, vs total time), reversed the percentiles
(less is better) and made the line red.&lt;/p&gt;&lt;h2&gt;Experience&lt;/h2&gt;&lt;p&gt;This helped for a bit, and was cool/fine. It was fun to make, and a good
opportunity to work on my web app skills.&lt;/p&gt;&lt;p&gt;However, I no longer think things like Percentile Feedback are that effective
long term.&lt;/p&gt;&lt;p&gt;Instead, I&apos;ve come to prefer cultivating &lt;a href=&quot;/books/habit&quot;&gt;habits&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;For example, say you have a giant tub of ice cream in your house that you don&apos;t
want to eat. Having a Percentile Feedback graph is like, &quot;you&apos;ve only eaten X
amount of ice cream today, that&apos;s lower than Y% previous days, good job!&quot;&lt;/p&gt;&lt;p&gt;Whereas the habit approach would be to (short term) concentrate and focus your
willpower on not eating the ice cream. It&apos;s hard at first, but telling yourself
you just need to push through it while you&apos;re forming the habit helps. After a
month (give or take) you&apos;ll have the habit, and will be able to abstain with
minimal willpower.&lt;/p&gt;&lt;p&gt;The book &lt;a href=&quot;/books/habit&quot;&gt;Superhuman by Habit&lt;/a&gt; was influential in my thinking on
this, but even before reading it I had stopped checking my charts as often.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Utopia&apos;s Infinite Todo List - Terra Incognita</title>
<description>A note on Utopia&apos;s infinite todo list</description>
<link>https://nathanbraun.com/books/infinite-todo-list</link>
<guid>https://nathanbraun.com/books/infinite-todo-list</guid>
<pubDate>Thu, 14 Apr 2022 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Utopia&apos;s Infinite To-Do List&lt;/h1&gt;&lt;p&gt;In Ada Palmer&apos;s very unique and excellent series &lt;a href=&quot;https://www.amazon.com/dp/B074CGL8QR&quot;&gt;Terra
Incognita&lt;/a&gt;, the Utopians all wear dark
vizors for a futeristic, space helmet vibe.&lt;/p&gt;&lt;p&gt;I enjoyed this passage, where one of the non-Utopian characters, Madame, is
trying on Utopian Mushi&apos;s vizor:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;Madame blew on the inside of the vizor before trying it... “It’s normal!” She
exclaimed as the vizor settled in place. ... “The world’s unchanged!” She gazed
about at arm, walls, ceiling. “I expected everything would look like [utopia
was already here].”&lt;/p&gt;&lt;p&gt;Mushi squinted against the bare air’s unfamiliar cold. “We would hardly work so
hard for our utopias if we let ourselves live in the illusion that they are
already real.”&lt;/p&gt;&lt;p&gt;She smiled at that. “What are all these floating tags on things?”&lt;/p&gt;&lt;p&gt;“Select one to zoom in. They’re things you can fix or improve: stains or
damage, litter, blank walls waiting for art, subjects for research, mysteries,
hazards to life or health, clumsy technology waiting for a better alternative.”&lt;/p&gt;&lt;p&gt;She lifted a cup from the nursery table, examining whatever suggestions the
vizor made for its improvement. “You see this all the time?”&lt;/p&gt;&lt;p&gt;“Unless I’m watching a movie or something.”&lt;/p&gt;&lt;p&gt;“It would drive me insane. Do all Utopians see this?”&lt;/p&gt;&lt;p&gt;“Almost all. It’s our Infinite To-Do List. It staves off complacency. It’s not
easy to maintain a race of vokers in such a comfortable world.”&lt;/p&gt;&lt;p&gt;Madame’s eyes fell on Mushi, dazzled by the calls for medical research and coat
improvements which, as she describes it, glittered in the air like fireflies
flashing their quick prayers for attention.&lt;/p&gt;&lt;/blockquote&gt;&lt;h2&gt;Noticing Pain&lt;/h2&gt;&lt;p&gt;This reminded me of the part in &lt;a href=&quot;/principles&quot;&gt;Ray Dalio&apos;s Principles&lt;/a&gt; where he
mentions -- almost as a throwaway line during a broader discussion of habits --
that his most useful personal habit is reflexively reflecting on any pain he
experiences.&lt;/p&gt;&lt;p&gt;When I first read this it seemed almost impossible. Pain happens all the time,
is Dalio really reflecting on it &lt;em&gt;anytime&lt;/em&gt; it comes up? Since then I’ve tried
sort of haphazardly to apply it, and have come to see how it could be powerful.&lt;/p&gt;&lt;p&gt;For example, the other day I was making dinner for the kids and realized I had
no idea how much to make. For some reason I thought of Dalio and how this was
technically “pain”, and was thinking about what a habit of “reflecting” on it
would mean.&lt;/p&gt;&lt;p&gt;The more I thought about it, the more I realized, with this mindset, me not
knowing how much food to make (and recognizing it) was really a good thing,
because — although I might make too much or not enough this time — now I know
how much to use, and don’t need to ever make that mistake again.&lt;/p&gt;&lt;p&gt;I&apos;m still working on cultivating it in myself (another issue: what &lt;em&gt;level&lt;/em&gt; of
pain am I supposed to be noticing? Are dinner portions getting into diminishing
returns?) but a Utopian style infinite todo list helmet would definitely make
this easier.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Fantasy Monday</title>
<description>Writeup of Fantasy Monday</description>
<link>https://nathanbraun.com/monday</link>
<guid>https://nathanbraun.com/monday</guid>
<pubDate>Tue, 30 Mar 2021 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Fantasy Monday&lt;/h1&gt;&lt;p&gt;Fantasy Monday is my free, Monday only subset of &lt;a href=&quot;https://fantasymath.com&quot;&gt;Fantasy
Math&lt;/a&gt;. It lets you put in you, your opponents score,
and get back the probability you win (with some nice distribution plots).&lt;/p&gt;&lt;p&gt;It&apos;s pretty popular, especially during the first week of the season when there
are two Monday night games and everyone&apos;s excited about the season. I&apos;ve
written before about &lt;a href=&quot;/fantasymath&quot;&gt;Fantasy Math&lt;/a&gt; and how I&apos;m not positive it
has product-market fit, but Fantasy Monday definitely does. Unfortunately, the
price is free.&lt;/p&gt;&lt;h2&gt;History&lt;/h2&gt;&lt;p&gt;This was actually one of the earliest applications of the model. Way back with
&lt;a href=&quot;/bayesian-fantasy-football&quot;&gt;Bayesian Fantasy Football&lt;/a&gt;, I used to run the
matchups for my league every Monday and report back on the league messageboard.
The rest of my league has an ambivalent attitiude about my model, but they
liked these Monday night updates, and would ask for the probabilities if I
hadn&apos;t gotten around to posting them.&lt;/p&gt;&lt;p&gt;(While &lt;a href=&quot;bayesian-fantasy-football&quot;&gt;innovative&lt;/a&gt;, the Bayesian model had issues,
especially towards the tails. I still remember the night a guy in my league won
even though the model predicted he had like a 1/100,000 chance to do so — a
true Monday Night Miracle!)&lt;/p&gt;&lt;p&gt;Now, of course, my league can check out their probabilities every monday like
everyone else at &lt;a href=&quot;https://fantasymonday.com&quot;&gt;https://fantasymonday.com&lt;/a&gt;.&lt;/p&gt;&lt;h2&gt;Fantasy Tuesday&lt;/h2&gt;&lt;p&gt;During 2020, when a few games got moved to Tuesday due to Covid, I put up a
Tuesday night version at
&lt;a href=&quot;https://tuesdaynightmiracle.com&quot;&gt;https://tuesdaynightmiracle.com&lt;/a&gt;. This was
more of a marketing gimmick than anything else, but got enough signups to pay
for the domain name.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Quarantine Backyard Bird List</title>
<description>Our backyard bird list one year into quarantine</description>
<link>https://nathanbraun.com/parenting/quarantine-bird-list</link>
<guid>https://nathanbraun.com/parenting/quarantine-bird-list</guid>
<pubDate>Mon, 08 Mar 2021 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Quarantine Backyard Bird List&lt;/h1&gt;&lt;p&gt;When the daycare first closed back in March 2020 my (then) three year old and I
decided to start a list of all the birds we saw in our yard during quarantine.
We were in the middle of Spring migration and I figured it&apos;d be interesting to
keep track of what we saw over the next month or so.&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;Almost one year later and the kids are about ready to go back to daycare, which
means it might finally be time to call it a wrap on the list.&lt;/p&gt;&lt;p&gt;Here&apos;s what we got:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Quarantine Backyard Bird List&quot; src=&quot;/images/bird-list.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;Of all of these, I think most interesting might be the Nashville Warbler, which
I never would have been able to identify had it not unfortunately hit one of
our windows.&lt;/p&gt;&lt;p&gt;The Rose Breasted Grosbeak were also interesting and easily identifiable. They
came through on a migration and stayed exactly one day.&lt;/p&gt;&lt;p&gt;All in all, I&apos;d say the kids were moderately interested. Penelope can recognize
probably half the birds on here, and likes to take a look through the
binoculars at one every now and then.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>A Simple Explanation of the Monty Hall Problem</title>
<description>A Simple Explanation of the Monty Hall Problem</description>
<link>https://nathanbraun.com/monty-hall</link>
<guid>https://nathanbraun.com/monty-hall</guid>
<pubDate>Mon, 01 Feb 2021 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;A Simple Explanation of the Monty Hall Problem&lt;/h1&gt;&lt;h2&gt;Background&lt;/h2&gt;&lt;p&gt;The Monty Hall problem — based off of the TV Show &quot;Let&apos;s Make a Deal&quot; and named
after the original host, Monty Hall — is a notorious problem in statistics.&lt;/p&gt;&lt;h3&gt;Problem&lt;/h3&gt;&lt;p&gt;Monty presents to you three closed doors. Behind one is a prize, behind the
other two are nothing (I think the original formulation says they&apos;re goats
— either way, not something you want).&lt;/p&gt;&lt;p&gt;You pick one of the doors.&lt;/p&gt;&lt;p&gt;No matter which you pick, Monty (who knows what&apos;s behind every door) opens an
empty door, and offers to let you &lt;em&gt;switch&lt;/em&gt; your guess to the other, remaining
closed door.&lt;/p&gt;&lt;p&gt;Should you switch? Does it matter?&lt;/p&gt;&lt;h3&gt;Answer, which humans are bad at understanding&lt;/h3&gt;&lt;p&gt;You should indeed switch. Your odds of winning are 2/3 if you do, vs 1/3 if
you don&apos;t. However, many people find this difficult to grasp at first.&lt;/p&gt;&lt;p&gt;Jeff Kaufman has a &lt;a href=&quot;https://www.jefftk.com/p/three-doors-problem&quot;&gt;post&lt;/a&gt; where
he talks getting it wrong initially, and how bad humans are at it in general.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;The person who first showed me this problem failed to convince me that
  I should switch; that took testing it with pennies and cups.  ...&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Since then, in various conversations with people who were sure switching
  didn&apos;t help, I&apos;ve tried many times to describe how the odds for switching
  can be 2/3. I&apos;ve come up with many explanations that I think would have
  convinced me, but they don&apos;t seem to convince others.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;He&apos;s not alone:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;You should switch. However, it is so counterintuitive that I had to write
  a simulation script with 1M iterations... to confirm indeed switching yields
  twice the probability of winning than staying.&quot; — &lt;a href=&quot;https://www.reddit.com/r/Bayes/comments/ku100i/the_monty_hall_problem/giqkvd0/?utm_source=reddit&amp;utm_medium=web2x&amp;context=3&quot;&gt;u/creekwise&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&quot;I also wrote a simulation script.&quot; — &lt;a href=&quot;https://www.reddit.com/r/Bayes/comments/ku100i/the_monty_hall_problem/giqwl50/?utm_source=reddit&amp;utm_medium=web2x&amp;context=3&quot;&gt;u/Jusque&lt;/a&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;h2&gt;Simple Explanation&lt;/h2&gt;&lt;p&gt;Here&apos;s the clearest way I&apos;ve found to think about it.&lt;/p&gt;&lt;p&gt;Say you always switch. Now there are two outcomes:&lt;/p&gt;&lt;p&gt;You originally pick one of the two dud doors (2/3 chance). Then Monty will open
the &lt;em&gt;other&lt;/em&gt; dud (he has to, the only other option is the prize door and he
can&apos;t open that) and so if you switch to the unopened door, you&apos;ll win.&lt;/p&gt;&lt;p&gt;You originally pick the prize (1/3 chance). Monty will open one of the two
duds, you&apos;ll switch to the other, unopened dud. You won&apos;t win.&lt;/p&gt;&lt;p&gt;So: 2/3 of winning if you switch. Don&apos;t switch, it all depends on whether you
pick the prize initially, which you&apos;ll do 1/3 of the time.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Vim For Everyone</title>
<description>Writeup of Vim For Everyone</description>
<link>https://nathanbraun.com/vim</link>
<guid>https://nathanbraun.com/vim</guid>
<pubDate>Fri, 15 Jan 2021 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Vim For Everyone&lt;/h1&gt;&lt;p&gt;Vim For Everyone — at &lt;a href=&quot;https://www.vimforeveryone.com&quot;&gt;vimforeveryone.com&lt;/a&gt;
— is a work in progress that I put up early in 2021 to extol the benefits of
Vim for non programmers.&lt;/p&gt;&lt;h2&gt;What is Vim?&lt;/h2&gt;&lt;p&gt;Vim is a really fast text editor. Most people use it to edit code, but it&apos;s
also great for maintaining your own personal knowledge base (wiki, notes to
yourself, etc), which is the use case I&apos;m advocating on the site.&lt;/p&gt;&lt;p&gt;The main motivation to use Vim is speed. Going from hunting and pecking to
regular touch typing is big jump. Going from regular typing to Vim is
a similar jump.&lt;/p&gt;&lt;p&gt;I&apos;ll save the evangelizing for the site, but suffice to say if you&apos;re
interested in taking notes on, and ingesting and making connections between
information — and you like keyboard shortcuts — you should definitely check out
Vim.&lt;/p&gt;&lt;h2&gt;Motivation&lt;/h2&gt;&lt;p&gt;I&apos;ve been using Vim for about 10 years. Initially, it was for code, but within
a few months typing in anything else was too slow and frustrating. Since then
I&apos;ve been using Vim to take and manage all my notes (what I&apos;m reading,
meetings, to plan my days, etc).&lt;/p&gt;&lt;p&gt;I was inspired to create &lt;a href=&quot;https://vimforeveryone.com&quot;&gt;Vim For Everyone&lt;/a&gt; after
hearing a lot of hype around other personal note taking tools — Roam, Notion,
Workflowy, Evernote etc. After looking into them, it was clear (at least for
me) they weren&apos;t going match the setup I had in Vim.&lt;/p&gt;&lt;h2&gt;Market Research&lt;/h2&gt;&lt;p&gt;Out of curiosity, I poked around to see if there was a thriving community of
non technical Vim users (like the &lt;a href=&quot;https://tobiasbru.medium.com/the-history-of-roam-research-and-the-roamcult-4c1e1897633d&quot;&gt;Roam
cult&lt;/a&gt;
but for Vim) and found... exactly one &lt;a href=&quot;https://www.reddit.com/r/vim/comments/3wpour/is_vim_useful_to_nonprogrammers_or_is_it_only/&quot;&gt;reddit
post&lt;/a&gt;
from 2015 with 38 upvotes.&lt;/p&gt;&lt;p&gt;Hence the site. Vim isn&apos;t literally for everyone, but the non-coder Vim space
is criminally underdeveloped.&lt;/p&gt;&lt;h2&gt;Goals&lt;/h2&gt;&lt;p&gt;The purpose is more to get non-coders intrigued by Vim than to be necessarily
definitive source for learning how to use it.&lt;/p&gt;&lt;p&gt;Part of the issue is I learned it ~10 years ago and haven&apos;t thought recently
about the best way to get it across. However, I will probably write up some
thoughts at some point.&lt;/p&gt;&lt;h2&gt;Bottom Line&lt;/h2&gt;&lt;p&gt;Here&apos;s how useful the non-coding, note-taking aspects of Vim has been for me:
if &lt;a href=&quot;https://vimforeveryone&quot;&gt;Vim For Everyone&lt;/a&gt; gets a few new people to try
Vim, and a handful of them get as much out of it as I do, it&apos;d probably be the
most valuable thing I&apos;ve built to date.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Notes on Arnold Kling&apos;s Three Languages of Politics</title>
<description>Book review of Three Languages of Politics by Arnold Kling</description>
<link>https://nathanbraun.com/books/politics</link>
<guid>https://nathanbraun.com/books/politics</guid>
<pubDate>Wed, 13 Jan 2021 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;The Three Languages of Politics&lt;/h1&gt;&lt;p&gt;One of the simplest, most illuminating books I&apos;ve ever read is Arnold Kling&apos;s
&lt;a href=&quot;https://www.amazon.com/Three-Languages-Politics-Talking-Political-dp-1948647427/dp/1948647427/ref=dp_ob_title_bk&quot;&gt;The Three Languages of Politics&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Kling&apos;s idea: conservatives, liberals and libertarians &lt;em&gt;communicate&lt;/em&gt; (more on
whether it&apos;s just communicate or something else later) about political issues
on three, separate axes:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;progressives on the &lt;em&gt;oppressed&lt;/em&gt; vs &lt;em&gt;oppressor&lt;/em&gt; axis&lt;/li&gt;&lt;li&gt;conservatives on the &lt;em&gt;civilization&lt;/em&gt; vs &lt;em&gt;barbarism&lt;/em&gt; axis&lt;/li&gt;&lt;li&gt;libertarians on the &lt;em&gt;freedom&lt;/em&gt; vs &lt;em&gt;coercion&lt;/em&gt; axis&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Once you notice this framework, it becomes a lot easier to understand other&apos;s
views on almost any issue.&lt;/p&gt;&lt;p&gt;Many issues span all three axes. Illegal immigration is typical example.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Progressives&lt;/strong&gt; view immigrants as oppressed by unjust immigration laws, border
patrol agents, ICE, etc. They&apos;re more likely to pay attention to kids in cages
or stories about fully assimilated DREAMERs excelling in school at risk of
being deported.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Conservatives&lt;/strong&gt; argue that immigrants (particularly illegal, but legal too)
have negative cultural impacts on &quot;civilization&quot; (western, market oriented,
traditional values) at the margin.&lt;/p&gt;&lt;p&gt;They also tend to focus on the fact that (by definition) illegal immigration
is against the law. They talk a lot about rates of criminality by immigrants,
and pay attention to anecdotes about immigrants advocating things like Sharia
law.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Libertarians&lt;/strong&gt; believe people should have the freedom to live, work and enter
whatever mutually beneficial economic arrangements they want. They are against
immigration laws that prohibit this.&lt;/p&gt;&lt;p&gt;They&apos;d pay more attention to stories of hardworking immigrations who came up
from nothing (conservatives also appreciate this narrative) who are driving
a taxi to earn money to send back to their families.&lt;/p&gt;&lt;h3&gt;Other Examples&lt;/h3&gt;&lt;p&gt;Other examples of issues that pretty clearly span all three axes (see if you
can mentally make the argument for each axis):&lt;/p&gt;&lt;ul&gt;&lt;li&gt;drug laws&lt;/li&gt;&lt;li&gt;abortion&lt;/li&gt;&lt;li&gt;soda taxes&lt;/li&gt;&lt;li&gt;whether wedding cake bakers can discriminate against gay couples&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;(The last two come directly from Kling&apos;s book).&lt;/p&gt;&lt;p&gt;If I were a middle or high school social studies teacher, I&apos;d make students
analyze issues in terms of the axes all day long.&lt;/p&gt;&lt;h3&gt;Some issues are fights between two axes&lt;/h3&gt;&lt;p&gt;Many issues have three distinct axes based arguments. But often a fight about
an issue will be between two of the three camps. Take &lt;a href=&quot;https://en.wikipedia.org/wiki/2020_California_Proposition_22&quot;&gt;California Proposition
22&lt;/a&gt;, which is
about whether Uber and Lyft should be able to classify their drivers as
independent contractors instead of employees.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Progressives&lt;/strong&gt; argue classifying drivers as contractors is a way for ride
sharing companies to exploit drivers. They think Uber is oppressing drivers by
not paying mandated employee benefits (overtime, paid sick time, health care,
etc).&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Libertarians&lt;/strong&gt; argue out the rideshare-driver relationship is between the
companies and their drivers. No one is forced to drive for Uber. If someone
needs healthcare, paid sick leave, etc, they&apos;re welcome to find a job that
offers it. If enough people feel similarly, to the point Uber was having
trouble attracting drivers, they&apos;d change their business model.&lt;/p&gt;&lt;p&gt;This particular fight doesn&apos;t seem to fit the conservative axis all that well.&lt;/p&gt;&lt;h3&gt;Axes aren&apos;t always equal&lt;/h3&gt;&lt;p&gt;On some issues, a dominant axis may emerge, where most people find themselves
on a certain axis, even if they don&apos;t usually frame issues this way.&lt;/p&gt;&lt;p&gt;For example, most people today view 1960s civil rights struggle in US on the
oppressor-oppressed dimension. This clearly wasn&apos;t the case at the time; many
people then thought individual businesses and people should have the &lt;em&gt;freedom&lt;/em&gt;
to discriminate if they want.&lt;/p&gt;&lt;p&gt;While some people still believe this, they&apos;re pretty hardcore on the
freedom-coercion axis. Most people in US today view the issue through the
oppressed-oppressor lens, and take a favorable view of civil rights.&lt;/p&gt;&lt;p&gt;Other examples: initially, I think most people viewed both 9/11 and the Charlie
Hebdo shootings in civilization-barbarism terms (though apparently many on the
left have recently been accusing Charlie Hebdo of
&lt;a href=&quot;https://nyti.ms/3rb1uc&quot;&gt;racism&lt;/a&gt;, so maybe not).&lt;/p&gt;&lt;h2&gt;Extensions and Open Questions&lt;/h2&gt;&lt;p&gt;Having though about the three axis model for a while and gotten in the habit
of viewing contentious issues through the various lenses, here are some
miscellaneous thoughts and open questions.&lt;/p&gt;&lt;h3&gt;1. It&apos;s not that people are just on different axes, they often take issue with the &quot;good&quot; ends of other axes&lt;/h3&gt;&lt;p&gt;Each axis has its good end, i.e. freedom, civilization, non-oppression (OK,
it&apos;s debatable whether the progressive axis has a &quot;good&quot; end or whether they&apos;re
just anti-oppression).&lt;/p&gt;&lt;p&gt;It seems like thinking primarily on an axis means you tend to discount whether
the good ends of the other axes are worth pursuing. I think helps explain
certain behavior, and makes the model even more useful.&lt;/p&gt;&lt;p&gt;For example, &lt;strong&gt;conservatives care about civilization&lt;/strong&gt;. Do progressives and
libertarians?&lt;/p&gt;&lt;p&gt;&lt;em&gt;Progressives and civilization&lt;/em&gt;. I think anti-civilization feelings on the
left are most associated with the environmental movement. You can also see it
in tendencies to romanticize pre-colonial, indigenous societies.&lt;/p&gt;&lt;p&gt;&lt;em&gt;Libertarians and civilization.&lt;/em&gt; I would say libertarians appreciate
civilization more than progressives, but not as much as conservatives.
Example: many libertarians advocate open borders on principle, even if it might
put some of the freedom/market aspects of western culture at risk.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Libertarians care about freedom.&lt;/strong&gt; Do progressives and conservatives?&lt;/p&gt;&lt;p&gt;&lt;em&gt;Progressives and freedom.&lt;/em&gt; There is
&lt;a href=&quot;https://en.wikipedia.org/wiki/Communism&quot;&gt;obvious&lt;/a&gt;,
&lt;a href=&quot;https://en.wikipedia.org/wiki/Socialism&quot;&gt;historical&lt;/a&gt; evidence that
progressives don&apos;t value freedom that highly. But even today, at the margin
— are progressives in favor of individuals being free to spend their money on
(or hire, or eat, or wear) what they want, or less?&lt;/p&gt;&lt;p&gt;&lt;em&gt;Conservatives and freedom.&lt;/em&gt; Again, conservatives probably care more about
freedom than than progressives, but they&apos;re definitely willing to make it take
a back seat if they think other things are more important. See the NSA,
Patriot Act, Snowden, drug war, historical opposition to gay marriage, etc.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Progressives care about stopping oppression.&lt;/strong&gt; What about conservatives and
libertarians?&lt;/p&gt;&lt;p&gt;&lt;em&gt;Conservatives and oppression.&lt;/em&gt; While very few people think of themselves as
pro-oppression, I think many non-progressives take issue with much that is
categorized as oppression today. For example, conservatives point out that
when you control for violent crime rates, it doesn&apos;t appear minorities are
systematically more likely to be shot by police than whites.&lt;/p&gt;&lt;p&gt;&lt;em&gt;Libertarians and oppression.&lt;/em&gt; I think libertarians would generally agree
(though on this issue, many would also say police are too militarized and
powerful). They also have more of a freedom bent, and are hesitant to call
anything the result of voluntary transactions oppression. &quot;Yeah, working in a
sweat shop would suck, but these workers technically have a choice&quot;.&lt;/p&gt;&lt;p&gt;While we&apos;re on the subject of police shootings, an aside: the dueling
progressive-conservative slogans, &quot;black lives matter&quot; vs police as the &quot;thin
blue line&quot; that protect us from anarchy are straight out of the three axes
model.&lt;/p&gt;&lt;h3&gt;2. Is this just the way people communicate, or is it something more?&lt;/h3&gt;&lt;p&gt;Kling is careful to say he&apos;s talking about &lt;em&gt;communicating&lt;/em&gt; about political
issues. That&apos;s why the book is called the three &lt;em&gt;languages&lt;/em&gt; of politics.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Let me quickly add that I do &lt;em&gt;not&lt;/em&gt; believe that the three-axes model serves
to explain or describe the different political ideologies. I am not trying to
say that political beliefs are caused by one&apos;s choice of axis. Nor am I
saying that people think exclusively in terms of their preferred axis.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I&apos;m not sure that goes far enough, though it&apos;s obviously noisy. But I would
expect, for example, that people who identify with the freedom-coercion axis
generally favor smaller government, fewer regulations etc.&lt;/p&gt;&lt;p&gt;Also, given the way most people&apos;s internal monologue, language as thinking
brains work, the difference between language and thinking isn&apos;t necessarily
clear.&lt;/p&gt;&lt;h3&gt;3. Is there another axis?&lt;/h3&gt;&lt;p&gt;In a follow up edition, Kling toyed with adding what he called a bobo/anti
bobo axis.&lt;/p&gt;&lt;p&gt;Bobo is an idea from the NYT columnist David Brooks 2000 book &lt;a href=&quot;https://www.amazon.com/dp/B00BORKAW6/&quot;&gt;Bobos in
Paradise&lt;/a&gt;,
which (in my understanding, I&apos;ve never read the it) is basically the
cosmopolitan/elite/smug/&quot;believe science&quot; vs the backlash/anti-smug/troll/&quot;the
CDC originally said not to wear masks&quot; axis.&lt;/p&gt;&lt;p&gt;In particular, the phenomena of Trump, who — while he definitely has
conservative themes like law and order, isn&apos;t exactly the epitome of western
civilization — makes this axis intriguing.&lt;/p&gt;&lt;h3&gt;4. On average, are members of some groups at more &quot;extreme&quot; ends of their axis than others?&lt;/h3&gt;&lt;p&gt;Here I&apos;m mostly thinking of progressives, which seems to have taken the
oppression/non-oppression axis so far in one direction (particularly when it
comes to racial, sexual and gender identities) that it always reminds me (not
sure if this is weird) of &lt;em&gt;allergies&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;Allergies are caused by your body&apos;s immune system reacting too strongly to
things that are really not that big of a deal. Similarly, the left&apos;s hyper
sensitivity to any sort of (real or perceived) identity-based oppression is
causing real dysfunction, both within the left itself and in society at large.&lt;/p&gt;&lt;h3&gt;5. Many of today&apos;s ideological fault lines seem to be about nature vs nurture, how does this fit in?&lt;/h3&gt;&lt;p&gt;My guess: this is mostly relevant in impacting how people view the extent of
oppression.&lt;/p&gt;&lt;p&gt;Take the underrepresentation of women in tech. If everyone is a &lt;a href=&quot;https://www.amazon.com/dp/B000QCTNIM/&quot;&gt;Blank
Slate&lt;/a&gt;, the fact there are fewer women
in tech might be due to oppression.&lt;/p&gt;&lt;p&gt;But if — on &lt;em&gt;average&lt;/em&gt; (individuals are all over the place, which is good!)
— women are naturally less inclined to study tech related fields (whether
because of a things/people dynamic or because on average &lt;a href=&quot;https://marginalrevolution.com/marginalrevolution/2019/09/girls-comparative-advantage-in-reading-can-largely-explain-the-gender-gap-in-math-related-fields.html&quot;&gt;girls are better at
reading&lt;/a&gt;,
whatever) than this disparity might be just something that happens, no
oppression necessary.&lt;/p&gt;&lt;p&gt;Note: even if true, this doesn&apos;t at all mean women can&apos;t like tech or are
&quot;weird&quot; (or less feminine) if they do, any more than men who &lt;a href=&quot;https://goodreads.com/nathanbraun&quot;&gt;like to
read&lt;/a&gt;. Again, differences &lt;em&gt;within&lt;/em&gt; groups
swamp differences &lt;em&gt;between&lt;/em&gt; groups. It also doesn&apos;t preclude oppression.&lt;/p&gt;&lt;h3&gt;6. How does this theory fit with with Bryan Caplan&apos;s simplistic model of left and right?&lt;/h3&gt;&lt;p&gt;Caplan&apos;s &lt;a href=&quot;https://www.econlib.org/archives/2015/10/my_simplistic_t.html&quot;&gt;theory&lt;/a&gt;:
the left hates markets, the right hates the left.&lt;/p&gt;&lt;p&gt;While possibly tongue in cheek, these models do attempt to explain similar
things.&lt;/p&gt;&lt;h3&gt;7. Where do conspiracy theories fit?&lt;/h3&gt;&lt;p&gt;Are certain groups (OK, conservatives) more inclined towards conspiracy
theories? If so, why?&lt;/p&gt;&lt;h3&gt;8. How much do these axes bleed into each other?&lt;/h3&gt;&lt;p&gt;When you stare at them for a while, the boundaries between axes gets a bit
fuzzy.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;em&gt;oppression&lt;/em&gt; is arguably another word for infringing on someones &lt;em&gt;liberty&lt;/em&gt;&lt;/li&gt;&lt;li&gt;many progressives frame their oppression arguments in terms of &quot;positive liberty&quot;, e.g. if a sweatshop worker or a poor kid in the ghetto doesn&apos;t have good options, they&apos;re not technically free.&lt;/li&gt;&lt;li&gt;one of the foundational concepts of western civilization is freedom (life, liberty, pursuit of happiness) and equality under the law&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;So, question: to the extent there is overlap, what should we do about it?&lt;/p&gt;&lt;p&gt;Answer: probably just not think about it too hard. It&apos;s a model, not
necessarily exactly the way the world works in granular detail.&lt;/p&gt;&lt;h3&gt;9. Do people&apos;s cobbled-together, irrational, self-justifying minds make thinking about axes less useful?&lt;/h3&gt;&lt;p&gt;E.g. see the GOP House Freedom Caucus, which starting in 2016 did a massive shift away from Freedom/towards Trumpism. To the extent this sort of thing happens (both at the individual and group level), the model seems less useful.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Learn to Code with Baseball Writeup</title>
<description>Writeup of LTCWBB</description>
<link>https://nathanbraun.com/baseball</link>
<guid>https://nathanbraun.com/baseball</guid>
<pubDate>Sun, 22 Nov 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Learn to Code with Baseball&lt;/h1&gt;&lt;p&gt;Learn to Code with Baseball — available at
&lt;a href=&quot;https://codebaseball.com?utm_source=nathanbraun&amp;utm_content=ltcwbb&amp;utm_medium=organic&amp;utm_campaign=writeup&quot;&gt;codebaseball.com&lt;/a&gt; — is the baseball
adaptation of &lt;a href=&quot;ltcwff&quot;&gt;Learn to Code With Fantasy Football&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;I wrote it early in 2020, put it down for a while due to Covid, and picked it
back up in the fall.&lt;/p&gt;&lt;p&gt;Like the football version, it covers Python, Pandas (Python&apos;s main data
analysis library), SQL, web scraping, public APIs, data visualization, summary
stats and modeling.&lt;/p&gt;&lt;h1&gt;Writing Process&lt;/h1&gt;&lt;p&gt;Because the original football version is much more focused on teaching
programming and data science basics, which are similar across domains
(including non sports domains!), porting the same concepts to baseball was
fairly straightforward.&lt;/p&gt;&lt;p&gt;Baseball is much more stat heavy than football, which helped. I personally
don&apos;t follow it as much as football, which didn&apos;t help. But I did some
research, and I do like reading baseball books (Moneyball is an all time
favorite, also really liked The Only Rule is It Has to Work).&lt;/p&gt;&lt;p&gt;One difference is that baseball is much more focused on good composite stats
and measuring individual vs (fantasy) football, and the analysis portion of
the book reflects that.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Intermediate Coding with Fantasy Football Writeup</title>
<description>writeup</description>
<link>https://nathanbraun.com/intermediate</link>
<guid>https://nathanbraun.com/intermediate</guid>
<pubDate>Thu, 12 Nov 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Intermediate Coding with Fantasy Football: A Project Based Guide&lt;/h1&gt;&lt;p&gt;Intermediate Coding with Fantasy Football: A Project Based Guide — available
at &lt;a href=&quot;https://fantasycoding.com/next&quot;&gt;fantasycoding.com/next&lt;/a&gt; — is a follow up
to &lt;a href=&quot;ltcwff&quot;&gt;Learn to Code with Fantasy Football&lt;/a&gt; I wrote mostly over the Summer
of 2020.&lt;/p&gt;&lt;p&gt;It walks readers (who it assumes already know basic Python and Pandas) through
building three projects:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Who Do I Start Calculator&lt;/li&gt;&lt;li&gt;League Analyzer&lt;/li&gt;&lt;li&gt;Best Ball Projector&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;All of these projects are built around the Fantasy Math API, access to which
is included in the package (also includes access to the GUI version of Fantasy
Math too).&lt;/p&gt;&lt;h2&gt;Motivation&lt;/h2&gt;&lt;p&gt;While the reactions to Learn to Code with Fantasy Football have been
&lt;a href=&quot;https://fantasycoding.com/testimonials&quot;&gt;positive&lt;/a&gt; and many people have built
&lt;a href=&quot;https://twitter.com/HottyMcPlotty/status/1282866113219457025&quot;&gt;cool&lt;/a&gt;
&lt;a href=&quot;https://twitter.com/mfbanalytics/status/1286001348429910016&quot;&gt;things&lt;/a&gt; after
reading it, I had heard from a few people that they weren&apos;t quite sure where to
go or what to do next.&lt;/p&gt;&lt;p&gt;In particular LTCWFF didn&apos;t go that in depth on the process of developing real
life programs. I figured this was an opportunity to do that.&lt;/p&gt;&lt;p&gt;All three projects are built around GraphQL API access to the newly rebuilt (in
PyMC3) &lt;a href=&quot;/fantasymath&quot;&gt;Fantasy Math&lt;/a&gt; model, which I continue to believe is underrated.&lt;/p&gt;&lt;p&gt;I figured this was an opportunity to expose LTCWFF readers to the Fantasy Math
model, possibly even one they&apos;d be willing to purchase annually.&lt;/p&gt;&lt;h2&gt;Reception&lt;/h2&gt;&lt;p&gt;Reception among people who have bought it has been good, there just haven&apos;t
been as many buyers as I&apos;d have liked.&lt;/p&gt;&lt;p&gt;One issue is that LTCWFF is pretty comprehensive, and a few former readers I
reached out to about this follow up already considered themselves intermediate
and were lukewarm about the idea (&quot;sounds cool, I&apos;ll probably buy it if it&apos;s
not too expensive&quot;). So I think it&apos;s likely most of an issue of market.&lt;/p&gt;&lt;h2&gt;Reflection&lt;/h2&gt;&lt;p&gt;Overall, I&apos;d say this ended up being &lt;em&gt;not&lt;/em&gt; worth my time to do, but there were
some positives. For one, I ended up hosting the GraphQL API myself (on a
DigitalOcean box) and learned a decent amount about hosting, deploying and dev
op type stuff from doing that.&lt;/p&gt;&lt;p&gt;And now that it&apos;s done, it shouldn&apos;t be &lt;em&gt;that&lt;/em&gt; hard to spin up in future years
if I decide to do that.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Teaching Kids About Randomness</title>
<description>A game my 4 year old and I liked.</description>
<link>https://nathanbraun.com/parenting/randomness</link>
<guid>https://nathanbraun.com/parenting/randomness</guid>
<pubDate>Wed, 21 Oct 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Teaching Little Kids About Randomness&lt;/h1&gt;&lt;p&gt;The other day my 4 year old and I had to decide between two options and got on
the subject of flipping coins. I thought it could be a good opportunity to
learn about randomness, so we invented the following &quot;game&quot;.&lt;/p&gt;&lt;h2&gt;How You Play&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;Find a quarter (this is the hardest part of the game).&lt;/li&gt;&lt;li&gt;Everybody writes down their guess, heads or tails.&lt;/li&gt;&lt;li&gt;The kid flips the quarter. Initially Penelope&apos;s flip was more of a drop and it was debatable whether we were getting suficient entropy, but eventually she developed her own technique of bouncing the coin off the wall, which worked.&lt;/li&gt;&lt;li&gt;Record the results.&lt;/li&gt;&lt;li&gt;Do steps 2-4 ten times.&lt;/li&gt;&lt;li&gt;Tally the results, both who guessed the most correctly as well as the overall number of heads and tails.&lt;/li&gt;&lt;/ol&gt;&lt;h2&gt;Notes&lt;/h2&gt;&lt;p&gt;Yeah, this &quot;game&quot; is 100% luck, but most little kid games are (war, candyland
etc).&lt;/p&gt;&lt;p&gt;The benefit of doing 10 flips and recording them (as opposed to just flipping
a coin a bunch of times) is it let us see the breakdown of heads and tails at
the end, along with the order, both of which help give a more intuitive feel
for randomness.&lt;/p&gt;&lt;p&gt;I thought about leaving it at that, just flipping the coin 10 times and
recording the results, but I think writing down everyone&apos;s guess before each
flip helped Penelope stay engaged. And she definitely was engaged, she
remembered everyone&apos;s guesses every time and called out who was right and wrong
even before the coin stopped spinning.&lt;/p&gt;&lt;p&gt;We&apos;ve done it just the one time so far, but we&apos;ll keep track of the results if
we do it again. Enough times and she might have a good grasp of the central
limit theorem before she&apos;s 5.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Coinflip Results&quot; src=&quot;/images/coinflip.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;Our results. (P)enelope is my 4 year old, (D)ad is me. (G)randpa and (A)rlo
(her two year old brother, who sort of guessed but definitely did not get what
was going on and also scribbled on the sheet) also played. Can see Penelope is
the best guesser!&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Keeper + Draft Pick Trade Calculator Writeup</title>
<description>writeup of keepertradecalculator.com</description>
<link>https://nathanbraun.com/keepercalculator</link>
<guid>https://nathanbraun.com/keepercalculator</guid>
<pubDate>Tue, 22 Sep 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Keeper Trade Calculator&lt;/h1&gt;&lt;p&gt;The Keeper Trade Calculator was a tool I built along with the &lt;a href=&quot;/pickcalculator&quot;&gt;Draft Pick
Trade Calculator&lt;/a&gt; in 2015.&lt;/p&gt;&lt;p&gt;See that write up for more on the method.&lt;/p&gt;&lt;p&gt;The TLDR: use past average auction values (AAV) to see the expected AAV at
each pick, use that.&lt;/p&gt;&lt;h2&gt;Adding in Keepers&lt;/h2&gt;&lt;p&gt;Once you do that, adding keepers is a natural extension, just use the player&apos;s
average auction value and compare it to the value in draft picks.&lt;/p&gt;&lt;p&gt;Of course, keeping players makes draft picks less valuable (they&apos;re
effectively later) but that&apos;s easily adjustable. Just have the calculator
effectively move the picks back depending on who&apos;s kept. This meant anyone
using the calculator to enter in all the league&apos;s keepers.&lt;/p&gt;&lt;h2&gt;Extensions&lt;/h2&gt;&lt;p&gt;In my main league we just keep one player and that&apos;s it, but I know a lot of
teams lose the pick in the round the keeper was picked in.&lt;/p&gt;&lt;p&gt;In theory, AAV makes it easy to evaluate these trades too, and you could
actually hack the calculator to do decent job at it.&lt;/p&gt;&lt;h2&gt;Caveats&lt;/h2&gt;&lt;p&gt;Same as the &lt;a href=&quot;pickcalculator&quot;&gt;Draft Pick Trade Calculator&lt;/a&gt; version. The biggest
problem is the MFL auction data is so thin. I&apos;d really like to figure out
a good way to get updated, flexible average auction values.&lt;/p&gt;&lt;h2&gt;Tech&lt;/h2&gt;&lt;p&gt;This was one of my first projects in React. I hosted it in a $5 droplet on
Digital Ocean using Dokku. In hindsight that was completely unnecessary since
everything was stored client side, but I didn&apos;t know much about web
development then.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Notes on Deep Work by Cal Newport</title>
<description>Notes on Deep Work by Cal Newport</description>
<link>https://nathanbraun.com/books/deepwork</link>
<guid>https://nathanbraun.com/books/deepwork</guid>
<pubDate>Wed, 09 Sep 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Notes on Deep Work&lt;/h1&gt;&lt;h2&gt;Definitions&lt;/h2&gt;&lt;p&gt;Deep work: professional activities performed in a state of distraction-free
concentration that push your cognitive capabilities to their limit, create new
value, improve your skill, hard to replicate&lt;/p&gt;&lt;p&gt;As opposed to shallow work: non-cognitively demanding, logistic style tasks, often
performed while distracted, low value and easy to replicate.&lt;/p&gt;&lt;p&gt;Most workers (esp knowledge workers) do a ton of shallow work.&lt;/p&gt;&lt;p&gt;There is a massive opportunity for people who prioritize depth.&lt;/p&gt;&lt;h2&gt;Part 1: Motivation&lt;/h2&gt;&lt;p&gt;The first section of the book is Newport making the case that deep work is
valuable, rare, and meaningful.&lt;/p&gt;&lt;h3&gt;Valuable&lt;/h3&gt;&lt;p&gt;It&apos;s essential to (1) learn new, hard skills quickly and (2) perform at a high
level (both in terms of speed, quality) both involve pushing skills and
capabilities to their limits.&lt;/p&gt;&lt;p&gt;Newport also talks about biological/neurological mechanisms for why
learning/working while distracted is less effective&lt;/p&gt;&lt;h3&gt;Rare&lt;/h3&gt;&lt;p&gt;Newport basically needs this chapter so people can&apos;t say, &quot;if deep work is so
valuable, why don&apos;t more people do it?&quot;&lt;/p&gt;&lt;p&gt;His answer: (1) metric black hole (hard for businesses to measure who, what is
really productive) and (2) path of least resistance (running day out of inbox,
sitting on skype just easier) another reason: culturally, people view tech as
being worth it if it provides ANY benefit (regardless of costs).&lt;/p&gt;&lt;p&gt;For example: &quot;I read that really cool thing on twitter once&quot; vs the usual where
you wasted  a bunch of time/were distracted.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Principle of least resistance + metric black hole = work cultures that save
us from short term discomfort of concentration and planning at the expense of
long-term satisfaction and creation of real value.&quot; - Newport&lt;/p&gt;&lt;/blockquote&gt;&lt;h3&gt;Meaningful&lt;/h3&gt;&lt;p&gt;Happiness researchers: &quot;best moments usually occur when a person&apos;s body or mind
is stretched to its limits in a voluntary effort to accomplish something
difficult and worthwhile.&quot;&lt;/p&gt;&lt;p&gt;Most people underestimate happiness at work, overestimate happiness relaxing.&lt;/p&gt;&lt;p&gt;Much of shallow work is trivial, annoying, stressful &amp;lt;- not deep working means
this is at the forefront of your attention much of the time.&lt;/p&gt;&lt;h2&gt;Part 2: Practice&lt;/h2&gt;&lt;p&gt;The 2nd part of the book is HOW to do more/better deep work necessary because
deep work isn&apos;t just something that&apos;ll happen because you want it to, you need
systems, routines, habits, etc.&lt;/p&gt;&lt;p&gt;He supports with examples from historical, known deep workers, lessons drawn.&lt;/p&gt;&lt;p&gt;Bottom line basically: don&apos;t be haphazard in work habits don&apos;t wait for
inspiration.&lt;/p&gt;&lt;p&gt;In talking about how to do deep work Newport zooms in and out of different
levels over different chapters.&lt;/p&gt;&lt;p&gt;Generally, I&apos;d divide the advice up as:&lt;/p&gt;&lt;p&gt;High level: identify what you&apos;re deep working towards, track deep work, do
weekly reviews.&lt;/p&gt;&lt;p&gt;Lower or medium level, e.g.:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;plan out every minute of your day&lt;/li&gt;&lt;li&gt;be done working at a certain time&lt;/li&gt;&lt;li&gt;say no/minimize shallow obligations&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Separately, Newport puts a big emphasis on -- even when not (deep) working --
not giving in to mindless phone/internet/distraction&lt;/p&gt;&lt;h3&gt;High Level.&lt;/h3&gt;&lt;p&gt;Newport goes through some business literature talking about HOW people achieve
goals.&lt;/p&gt;&lt;ol&gt;&lt;li&gt;identify small number of ambitious outcomes to pursue with deep work hours&lt;/li&gt;&lt;li&gt;act on lead measures (time spent in a state of deep work dedicated towards ambitious outcomes)&lt;/li&gt;&lt;li&gt;keep a compelling scoreboard (e.g. tally of hours deep worked per week in office)&lt;/li&gt;&lt;li&gt;create a cadence of accountability&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;For (4), Newport did weekly reviews, where he look over scoreboard and
celebrate good weeks, understand what led to bad weeks, figure out how to
ensure good scores in days ahead&lt;/p&gt;&lt;h3&gt;Lower/Medium Level Planning Daily Planning&lt;/h3&gt;&lt;p&gt;Most people spend more time on shallow work then they realize.&lt;/p&gt;&lt;p&gt;To combat: plan every minute of your day in 30 minute increments.&lt;/p&gt;&lt;p&gt;Cal newport does his daily planning either: (1) night before, (2) first thing
in the morning, (3) after he knocks out a big task in the morning.&lt;/p&gt;&lt;p&gt;Don&apos;t just plan work, plan lunch, relaxation too.&lt;/p&gt;&lt;h4&gt;Flexiblity&lt;/h4&gt;&lt;p&gt;Planning doesn&apos;t mean you can&apos;t be flexible, if you get interrupted or things
take longer just replan remainder of day when you need to.&lt;/p&gt;&lt;p&gt;The goal isn&apos;t to stick to a given schedule at all costs; it&apos;s instead to
maintain, at all times, a thoughtful say in what you&apos;re doing with your time
going forward -- even if those decisions are reworked again and again as the
day unfolds.&lt;/p&gt;&lt;p&gt;Can plan &quot;task blocks&quot;, where just knock out smaller, specific things you have
to do.&lt;/p&gt;&lt;p&gt;Newport has a rule for himself: if stumbles upon a really important insight, OK
to spend rest of day thinking about it.&lt;/p&gt;&lt;p&gt;Most people use a plan as wishful thinking at first (definitely true in my
experience), but should try to be accurate/conservative.&lt;/p&gt;&lt;h4&gt;Weekly Planning&lt;/h4&gt;&lt;p&gt;Note: not a lot of stuff on weekly planning in Newport&apos;s book, instead some of
these notes are from posts on his blog.
usually spends 1+ hour planning week&lt;/p&gt;&lt;p&gt;Be flexible, can do goals for each day or broader heuristics (&quot;need to spend 3
hours each day on...&quot;).&lt;/p&gt;&lt;p&gt;Big part of weekly planning process if working back from calendar to fill open
time effectively.&lt;/p&gt;&lt;h4&gt;Full Horizon Planning&lt;/h4&gt;&lt;p&gt;Same as above about not in Deep Work, found on blog.&lt;/p&gt;&lt;p&gt;Newport views work in terms of projects. Each project has two states: dormant
or active.&lt;/p&gt;&lt;p&gt;If it&apos;s dormant, tracked somewhere that he regularly reviews (so he won&apos;t
forget about it).&lt;/p&gt;&lt;p&gt;If it&apos;s active, he makes a plan for how and when the whole thing will be
completed.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;To pull this off, this plan must exist at multiple levels of refining
granularity. That is, on the monthly level, I know what weeks I will work on
the project, and only when I get to those weeks do I plan out what days I
will work on it, and only when I get to the specific days do I figure out
which hours it will consume.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&quot;These plans, of course, change as things unfold, but the point is that I
don’t deal in abstractions, I like to work directly with the brute
physicality of time. This makes sure I get the most out of the cycles I have
available, and it prevents me from committing to more than is feasible.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;h4&gt;Be done by 5:30&lt;/h4&gt;&lt;p&gt;Newport calls this &quot;fixed-schedule productivity&quot;&lt;/p&gt;&lt;p&gt;Works backward to fit all he needs to get done in his time allocated for
working. He thinks it makes him more productive.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Because my time is limited each day, I cannot afford to allow a large
deadline to creep up on me, or a morning to be wasted on something trivial,
because I didn&apos;t take a moment to craft a smart plan.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Includes some non-work benefits:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;more present with family&lt;/li&gt;&lt;li&gt;reads more books&lt;/li&gt;&lt;li&gt;more comfortable being bored&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Eliminate shallow obligations&lt;/h4&gt;&lt;p&gt;You should get comfortable saying no to things. No should be the default.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;The bar for gaining access to your attention and time should be very high.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;h4&gt;Email&lt;/h4&gt;&lt;p&gt;Do more work when sending/responding.&lt;/p&gt;&lt;p&gt;It&apos;s tempting to do quickest thing to get it out of your inbox, but wastes time
in the long run. Instead think about &quot;project&quot; the email represents, what the
desired state of that project is and how to get there, then in your response
make clear where you are currently/how to get there.&lt;/p&gt;&lt;p&gt;Get comfortable not responding. Don&apos;t respond if:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;it&apos;s not something that interests you&lt;/li&gt;&lt;li&gt;nothing really good/bad would happen if you did/didn&apos;t respond&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Distraction&lt;/h4&gt;&lt;p&gt;Obviously distraction during work is bad, it&apos;s one of definitions of shallow
work.&lt;/p&gt;&lt;p&gt;But even when you&apos;re not working, will be much better off if can wean self from
dependence on distraction&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Same way athletes take care of bodies outside just training, you&apos;ll struggle
to achieve the deepest levels of concentration if you spend the rest of your
time fleeing the slightest hint of boredom&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I.e. don&apos;t just give in and mindlessly surf when you&apos;re waiting in line, etc
need to be comfortable being bored.&lt;/p&gt;&lt;p&gt;This will help you work even deeper when you are doing it&lt;/p&gt;&lt;p&gt;Instead of being always online, on phone etc, with occasional breaks to focus,
do the reverse: always off, with scheduled times to give into distraction if
you actually need to use the internet a lot, just schedule more time for it&lt;/p&gt;&lt;p&gt;This isn&apos;t in deep work, but this helped me re phone (basically solved me
feeling like I spend too much time on my phone, wish every problem I had was
this easy to solve):&lt;/p&gt;&lt;p&gt;https://maketime.blog/article/the-distraction-free-iphone/
https://maketime.blog/article/six-years-with-a-distraction-free-iphone/&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Scramble Tracker</title>
<description>Writeup of scramble tracker project.</description>
<link>https://nathanbraun.com/scramble</link>
<guid>https://nathanbraun.com/scramble</guid>
<pubDate>Mon, 24 Aug 2020 00:00:00 GMT</pubDate>
</item>
<item>
<title>Notes on Principles by Ray Dalio</title>
<description>Notes on Principles by Ray Dalio</description>
<link>https://nathanbraun.com/books/principles</link>
<guid>https://nathanbraun.com/books/principles</guid>
<pubDate>Tue, 18 Aug 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Notes on Principles by Ray Dalio&lt;/h1&gt;&lt;p&gt;&lt;a href=&quot;https://www.amazon.com/Principles-Life-Work-Ray-Dalio-ebook/dp/B071CTK28D/&quot;&gt;Principles&lt;/a&gt;
by Ray Dalio is one of my favorite books. I think everyone would benefit from
reading it.&lt;/p&gt;&lt;p&gt;The book is divided into three parts:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Dalio&apos;s &lt;strong&gt;autobiography&lt;/strong&gt; (ok, but not earth shattering)&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Life principles&lt;/strong&gt; (excellent)&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Work principles&lt;/strong&gt; (the life principles applied to work, repetitive and definitely less practical).&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;To start, I&apos;d just read part 2. That&apos;s what Derek Sivers, who also really liked
the book — &lt;a href=&quot;https://sive.rs/book/Principles&quot;&gt;&quot;I wanted to highlight almost every paragraph&quot;&lt;/a&gt; — and even Dalio
himself at one point recommend.&lt;/p&gt;&lt;h1&gt;Examples&lt;/h1&gt;&lt;p&gt;This book is good, but can give off a platitude vibe, which turns some people
off.&lt;/p&gt;&lt;p&gt;So I figured I&apos;d give a few examples of ideas that I&apos;ve personally found
useful. If these seem intriguing, might want to check out the rest of my notes
(further below) or read the book.&lt;/p&gt;&lt;h2&gt;Navigating Levels&lt;/h2&gt;&lt;p&gt;One idea that was useful to me when writing &lt;a href=&quot;/ltcwff&quot;&gt;LTCWFF&lt;/a&gt; was the idea of
&quot;levels&quot;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;Reality exists at different levels and each of them gives you different
but valuable perspectives. ... We are constantly seeing things at different
levels and navigating between them, whether we know it or not, whether we do
it well or not... For example, you can navigate levels to move from your
values to what you do to realize them on a day-to-day basis.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&amp;gt; &lt;em&gt;I want meaningful work that&apos;s full of learning.&lt;/em&gt; &lt;br&gt;&amp;gt;&amp;gt; &lt;em&gt;I want to be a doctor.&lt;/em&gt; &lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to go to medical school.&lt;/em&gt; &lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to get good grades in the sciences.&lt;/em&gt; &lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to stay home tonight and study.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;According to Dalio, when a line of reason has gotten jumbled, it&apos;s often
because the speaker is jumping around different levels without showing how they
connect.&lt;/p&gt;&lt;p&gt;That&apos;s why, when conveying information, it&apos;s important to:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Be aware what level you&apos;re examining a given subject.&lt;/li&gt;&lt;li&gt;Consciously navigate levels rather than see subjects as undifferentiated piles of facts that can be browsed randomly.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Of course, I had always known that in theory, but explicitly keeping it in mind
has probably made my thinking and writing better.&lt;/p&gt;&lt;h2&gt;Believability&lt;/h2&gt;&lt;p&gt;Believable people are those who have repeatedly and accomplished the thing in
question — strong track record of at least 3 successes — and have good,
logical explanations of how they did it when probed.&lt;/p&gt;&lt;p&gt;If you have a different view with someone who is more believable than you, you
should make clear you&apos;re trying to understand their perspective.&lt;/p&gt;&lt;h2&gt;Designer vs Worker Level You.&lt;/h2&gt;&lt;p&gt;Dalio recommends thinking of yourself as a worker operating in a machine that
you&apos;ve designed, and says it&apos;s important to distinguish between you as the
designer of your machine, and you as a worker within your machine.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&quot;It&apos;s much more important that you are a good designer/manager of your life
than a good worker in it.&quot;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;That&apos;s not to say being a good worker isn&apos;t important (Dalio also says good
work habits are way underrated), but it&apos;s not &lt;em&gt;as&lt;/em&gt; important.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;To be successful, the &quot;designer/manager you&quot; has to be objective about what
  the &quot;worker you&quot; is really like, not believing in him more than he
  deservers, or putting him in jobs he shouldn&apos;t be in. Instead of having this
  strategic perspective, most people operate emotionally and in the moment;
  their lives are a series of undirected emotional experiences, going from one
  thing to the next.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;This is one of my favorite concepts, one I&apos;ve found particularly useful.&lt;/p&gt;&lt;p&gt;For example: for a long time, I had been getting up early (and staying up late)
to hack away on side projects (which I always hoped would eventually take off)
but found once we had our second child that that was really hard to do.&lt;/p&gt;&lt;p&gt;So I decided to go down to 80% at my day job to spend one day a week working on
my own stuff. I viewed this as a &quot;designer level you&quot; move, vs just continuing
to hack along harder and harder (and with less and less sleep) in my role as
&quot;worker me&quot;. My first project made more than 20% of my old salary, and now I&apos;m
working on my things full time.&lt;/p&gt;&lt;h1&gt;General Notes &amp;amp; Questions&lt;/h1&gt;&lt;p&gt;&lt;em&gt;See full notes below for more info/summary.&lt;/em&gt;&lt;/p&gt;&lt;h2&gt;Connections between chapters?&lt;/h2&gt;&lt;p&gt;Navigating levels principle (5.4) sort of ironic, because (though principles
are all good) sort of feels like we&apos;re jumping levels here, particularly from
chapter to chapter.&lt;/p&gt;&lt;p&gt;One possibility: starts with 1 (embrace reality and deal with it) by (going
one level lower) doing 2 (5 step process).&lt;/p&gt;&lt;p&gt;Then chapters 3-5 (open-mindedness, wired, decisions) are a way to do 2 (the
five step process) better.&lt;/p&gt;&lt;h2&gt;Themes&lt;/h2&gt;&lt;p&gt;Could potentially reorganize around themes, for example:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;higher vs lower level you&lt;/li&gt;&lt;li&gt;embracing reality&lt;/li&gt;&lt;li&gt;you are designer and worker in your machine&lt;/li&gt;&lt;li&gt;open minded/pain as training&lt;/li&gt;&lt;li&gt;believability&lt;/li&gt;&lt;li&gt;navigating levels and synthesizing&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Favorites&lt;/h2&gt;&lt;p&gt;My favorite principles/concepts:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;look at your machine from a higher level (1.10)&lt;/li&gt;&lt;li&gt;being realistic about your own weaknesses (1.10)&lt;/li&gt;&lt;li&gt;higher level vs lower level you (3.1, 4, 5.1) and habits (4)&lt;/li&gt;&lt;li&gt;navigating levels (5.4)&lt;/li&gt;&lt;li&gt;seek out pain to grow (1.7) and id and don&apos;t tolerate problems (2.2)&lt;/li&gt;&lt;li&gt;designing plans with timelines and metrics (2.4)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Not as new to me personally but def critical:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;own your outcomes (1.9)&lt;/li&gt;&lt;li&gt;decisions as EV calculations (5.6)&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Issues&lt;/h2&gt;&lt;p&gt;What to do when you don&apos;t have the type of access to experts etc Dalio is
talking about?&lt;/p&gt;&lt;p&gt;It&apos;s one thing for Ray Dalio, who can talk to Bill Gates or the Dali Lama, but
what am I believable at and what believable people do I have access to?&lt;/p&gt;&lt;h1&gt;Full Notes&lt;/h1&gt;&lt;p&gt;Full notes start here.&lt;/p&gt;&lt;p&gt;Dalio thinks of life where each problem is a puzzle. The reward is principle
that helps avoid same sort of problem in future. He&apos;s written down the
principles that&apos;ve worked for him and put them into this book.&lt;/p&gt;&lt;h2&gt;1. Embrace Reality and Deal with It&lt;/h2&gt;&lt;p&gt;Nothing more important than understanding how reality works and how to deal
with it.&lt;/p&gt;&lt;h3&gt;1.1 Be a hyperrealist&lt;/h3&gt;&lt;p&gt;dreams + reality + determination = successful life&lt;/p&gt;&lt;h3&gt;1.2 Truth (accurate understanding of reality) foundation for good outcome&lt;/h3&gt;&lt;p&gt;Most people fight seeing what&apos;s true when it&apos;s not what they want.&lt;/p&gt;&lt;p&gt;It&apos;s more important to understand/deal with bad stuff because the good stuff
will take care of itself.&lt;/p&gt;&lt;h3&gt;1.3 Be radically open-minded and radically transparent&lt;/h3&gt;&lt;p&gt;Both are invaluable for rapid learning and effective change.&lt;/p&gt;&lt;p&gt;They make what you are doing, and why, clear to yourself and others.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;more open-minded: less likely to deceive yourself&lt;/li&gt;&lt;li&gt;ability to reflect on inevitable feedback requires open-mind&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Being radically transparent easier the more you do it. It&apos;s not about talking
about everyone&apos;s secrets, but being transparent with opinions of each other and
how world works.&lt;/p&gt;&lt;p&gt;Both bring more meaningful work and meaningful relationships.&lt;/p&gt;&lt;h3&gt;1.4 Look to nature to learn how reality works&lt;/h3&gt;&lt;h3&gt;1.5 Evolving is the point&lt;/h3&gt;&lt;h3&gt;1.6 Understand nature&apos;s practical lessons&lt;/h3&gt;&lt;p&gt;Dalio spends some time talking about how nature &quot;evolves for the good of the
whole&quot;, which I&apos;m not sure I really buy. I personally think nature/the
universe is pretty indifferent to what&apos;s &quot;good&quot;.&lt;/p&gt;&lt;p&gt;But I think Dalio is basically saying: learning, progressing, working towards
goals is point/what will give you the most satisfaction out of life. I do agree
with this&lt;/p&gt;&lt;p&gt;It&apos;s nice to think about because Dalio has accomplished so much, if he&apos;s still
improving and happy doing it at $18B or whatever, pretty much should work for
anyone.&lt;/p&gt;&lt;p&gt;Dalio: thrilled to be infinitesimally small part of whole; finds reality and
how nature works beautiful. Goal is to simply evolve and contribute in some tiny
way while he&apos;s here and is what he is.&lt;/p&gt;&lt;p&gt;One of nature&apos;s practical lessons: adaptation through rapid trial and error
invaluable.&lt;/p&gt;&lt;p&gt;Realize you&apos;re everything and nothing: everything to yourself, and nothing in
the scheme of things.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;It is a reality that each one of us is only one of about seven billion of our
species alive today and that our species is only one of about 10 million
species on our planet.  Earth is just one of about 100 billion planets in our
galaxy, which is just one of about two trillion galaxies in the universe.
And our lifetimes are only about 1/3k of humanity&apos;s existence, which itself
is only 1/20k billion of Earth&apos;s existence.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;h4&gt;Success&lt;/h4&gt;&lt;p&gt;Dalio defines success as struggling and evolving as effectively as possible.&lt;/p&gt;&lt;p&gt;In other words, learning rapidly about oneself and environment, then changing
to improve.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Love and work are the cornerstones of our humanness.&quot; - Freud&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Your work doesn&apos;t have to be a job, but Dalio thinks it&apos;s better if it is.&lt;/p&gt;&lt;h3&gt;1.7 Pain + Reflection = Progress&lt;/h3&gt;&lt;p&gt;A fundamental law of nature: in order to gain strength, have to push limits,
which is painful.&lt;/p&gt;&lt;p&gt;This is especially true about confronting harsh reality of own imperfections.&lt;/p&gt;&lt;p&gt;No pain no gain.&lt;/p&gt;&lt;p&gt;Stuff won&apos;t sustain happiness.&lt;/p&gt;&lt;p&gt;There&apos;s no avoiding pain, esp w/ ambitious goals.&lt;/p&gt;&lt;p&gt;Developing reflexive reaction to pain that causes you to reflect on it rather
than avoid it will lead to rapid learning/evolving. Later in book Dalio says
this is his most impactful habit&lt;/p&gt;&lt;ul&gt;&lt;li&gt;aka face the painful realities caused by problems, mistakes, weaknesses&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Most people have hard time reflecting while in pain and pay attention to other
things when pain passes. But at a minimum, you should try to remember to
reflect after it passes.&lt;/p&gt;&lt;p&gt;You&apos;re not maximizing potential unless you are:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;pushing limits&lt;/li&gt;&lt;li&gt;occasionally failing&lt;/li&gt;&lt;li&gt;sometimes breaking through&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;You get benefits from both failing and breaking through. If you do the whole
process successfully, you will keep ascending in life (Dalio has a loop like
drawing he likes).&lt;/p&gt;&lt;p&gt;It gets easier over time. First, you realize things seem bigger than they are
when seeing up close.&lt;/p&gt;&lt;p&gt;Also, higher you ascend, more you realize most things are &quot;just another one of
those&quot;.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Go to pain rather than avoiding it.&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;You&apos;ll evolve faster when comfortable operating at some level of pain.&lt;/p&gt;&lt;p&gt;The pain is the signal/what you need to seek out; like exercising.&lt;/p&gt;&lt;p&gt;When you&apos;re do it right, you&apos;ll be glad to:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;identify, accept, learn how to deal with weaknesses&lt;/li&gt;&lt;li&gt;have people around you be honest with you vs keeping negative thoughts about you to themselves&lt;/li&gt;&lt;li&gt;be yourself vs pretending to be strong about something you&apos;re weak at&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Note this loop/feedback/operating at pain thing isn&apos;t just a matter of dealing
with success (seeking out harder and harder goals), but major failures too,
which will happen.&lt;/p&gt;&lt;h3&gt;1.8 Weigh 2nd and 3rd order consequences&lt;/h3&gt;&lt;p&gt;People who overweigh 1st order consequences rarely reach their goals.&lt;/p&gt;&lt;p&gt;Example: temptations like shitty food or avoiding pain from exercise.&lt;/p&gt;&lt;h3&gt;1.9 Own your outcomes&lt;/h3&gt;&lt;p&gt;&lt;em&gt;Mostly, life gives you so many decisions to make and so many opportunities
to recover from mistakes that you can have a great life.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Whatever circumstances are, will be more likely to succeed and find happiness
if you take responsibility for making decisions well.&lt;/em&gt;&lt;/p&gt;&lt;h3&gt;1.10 Look at machine from higher level&lt;/h3&gt;&lt;p&gt;Think of yourself as a machine operating within a machine; and know you have
ability to alter machines to produce better outcomes.&lt;/p&gt;&lt;p&gt;&lt;em&gt;Distinguish between you as the designer of your machine, and you as a worker
with your machine.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;It&apos;s much more important that you are a good designer/manager of your life
than a good worker in it.&lt;/em&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;To be successful, the &quot;designer/manager you&quot; has to be objective about what
  the &quot;worker you&quot; is really like, not believing in him more than he
  deservers, or putting him in jobs he shouldn&apos;t be in. Instead of having this
  strategic perspective, most people operate emotionally and in the moment;
  their lives are a series of undirected emotional experiences, going from one
  thing to the next.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Get over ego driven emotions re: people watching you struggle (anger,
embarrassment, defensiveness, etc.&lt;/p&gt;&lt;h4&gt;Weaknesses&lt;/h4&gt;&lt;p&gt;You have four choices when encountering weaknesses:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Deny them (most people do this).&lt;/li&gt;&lt;li&gt;Accept them and work at them to convert into strengths (may or may not work, prob best option if you can do it and it&apos;s worth it).&lt;/li&gt;&lt;li&gt;Accept them and find ways around them (very under utilized).&lt;/li&gt;&lt;li&gt;Go after something else.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;If you&apos;re open-minded and determined, you can get pretty much whatever you
want.&lt;/p&gt;&lt;p&gt;No matter what you&apos;re like, many paths will be suitable. If a particular path
closes, just need to find another good one&lt;/p&gt;&lt;p&gt;In the continuum of savoring life/making an impact, dalio wanted both.&lt;/p&gt;&lt;p&gt;Getting more out of life not just a matter of working harder at it, it&apos;s
a matter of working effectively.&lt;/p&gt;&lt;p&gt;Have to decide to what extent you will put interests of others above your own,
and which others. Will do either consciously or subconsciously, so should
think about it.&lt;/p&gt;&lt;h2&gt;2. Use 5-Step Process to Get What You Want Out of Life&lt;/h2&gt;&lt;ol&gt;&lt;li&gt;Have clear goals.&lt;/li&gt;&lt;li&gt;Identify, don&apos;t tolerate problems that stand in the way.&lt;/li&gt;&lt;li&gt;Accurately diagnose problems to get at root cause.&lt;/li&gt;&lt;li&gt;Design plans that will get you around then.&lt;/li&gt;&lt;li&gt;Do what&apos;s nec to push designs through to results.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Have to do this fast, continuously and iteratively, setting goals higher and
higher.&lt;/p&gt;&lt;p&gt;Import to do all of these one at a time and in order.&lt;/p&gt;&lt;h3&gt;2.1 Have clear goals&lt;/h3&gt;&lt;p&gt;Have to prioritize, but good news is can have much more than nec to be happy.&lt;/p&gt;&lt;p&gt;goals != desires&lt;/p&gt;&lt;p&gt;Desires are things you want (like junk food or sleeping in) that can prevent
you from reaching goals.&lt;/p&gt;&lt;p&gt;Don&apos;t rule out a goal because you think it&apos;s unattainable; if you&apos;re limiting
your goals to what you know you can achieve that means the bar is way too low.&lt;/p&gt;&lt;p&gt;Need: flexibility, self-accountability.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;flexibility: accepting what reality teaches you&lt;/li&gt;&lt;li&gt;self-accountability: take failure to achieve as personal failure&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Note: not always about moving forward, dealing well with setbacks/tragedy can
be goal too.&lt;/p&gt;&lt;h3&gt;2.2 Identify and don&apos;t tolerate problems in your way&lt;/h3&gt;&lt;p&gt;Each problem an opportunity, essential to bring to surface&lt;/p&gt;&lt;ul&gt;&lt;li&gt;even if unpleasant&lt;/li&gt;&lt;li&gt;related: go to pain, don&apos;t avoid it&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Don&apos;t mistake cause of problem with problem.&lt;/p&gt;&lt;p&gt;Example: can&apos;t get enough sleep (potential cause) vs performing poorly in job
(the problem).&lt;/p&gt;&lt;p&gt;Be specific and precise in identifying them.&lt;/p&gt;&lt;p&gt;Prioritize and work on larger, important (to you) problems.&lt;/p&gt;&lt;p&gt;Once you identify a problem, don&apos;t tolerate it.&lt;/p&gt;&lt;h3&gt;2.3 Diagnose problems to get at root causes&lt;/h3&gt;&lt;p&gt;Focus on what &lt;em&gt;is&lt;/em&gt; before what to do about it.&lt;/p&gt;&lt;p&gt;Moving too quickly to a solution is common mistake.&lt;/p&gt;&lt;p&gt;Root causes manifest themselves over and over again in problems.&lt;/p&gt;&lt;p&gt;Distinguish proximate causes (verbs) from root causes (adjectives)&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&quot;I missed the train because I didn&apos;t check the train schedule.&quot;&lt;/li&gt;&lt;li&gt;&quot;I didn&apos;t check the train schedule because I am forgetful.&quot;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Can only truly solve problems by removing root causes.&lt;/p&gt;&lt;h3&gt;2.4 Design a plan&lt;/h3&gt;&lt;p&gt;Replay how you got to this point, then figure out what you have to do going
forward.&lt;/p&gt;&lt;p&gt;Think about outcomes produced by some machine, think how to change your
machine (again thinking about worker you and designer you).&lt;/p&gt;&lt;p&gt;Remember there are likely many paths to achieving goals; just need to find
one.&lt;/p&gt;&lt;p&gt;Think of things like a movie script, visualizing who will do what through
time.&lt;/p&gt;&lt;p&gt;Should go from big picture to details w/ timelines.&lt;/p&gt;&lt;p&gt;Write down plan to see and measure progress against, including tasks. Remember
tasks, narrative, goals all different.&lt;/p&gt;&lt;p&gt;Making a good plan doesn&apos;t take that long, but too many people don&apos;t do it at
all.&lt;/p&gt;&lt;h3&gt;2.5 Push through to completion&lt;/h3&gt;&lt;p&gt;Great planners who don&apos;t execute go no where.&lt;/p&gt;&lt;p&gt;Important to remember the connections between tasks and goals they are meant
to achieve. Don&apos;t lose sight of the &quot;why&quot;.&lt;/p&gt;&lt;p&gt;Good work habits are vastly underrated.&lt;/p&gt;&lt;p&gt;Establish clear metrics to make sure you&apos;re following plan. If you&apos;re not
hitting targets, that&apos;s another problem to diagnose and solve.&lt;/p&gt;&lt;p&gt;Note the process is iterative.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;when you complete one step it&apos;ll likely lead you to modify others&lt;/li&gt;&lt;li&gt;when you&apos;ve done all five, you start again with a new goal&lt;/li&gt;&lt;li&gt;if process is working, goals change more slowly than designs, than tasks&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Process is both synthesizing (first three steps) and shaping (designing
solutions and implementing).&lt;/p&gt;&lt;h3&gt;2.6 Remember weaknesses don&apos;t matter if you find solutions&lt;/h3&gt;&lt;p&gt;You probably can&apos;t do all of these steps well.&lt;/p&gt;&lt;p&gt;Good thing to do: rely on others.&lt;/p&gt;&lt;p&gt;Everyone has at least one of these that they&apos;re not that great at that stands
in the way of success, figure out which it is for you and deal with it .&lt;/p&gt;&lt;h2&gt;3. Be Radically Open Minded&lt;/h2&gt;&lt;h3&gt;3.1 Recognize your two barriers&lt;/h3&gt;&lt;p&gt;Two biggest barriers to good decision making are ego and blind spots.&lt;/p&gt;&lt;p&gt;Make it hard to objectively see what is true about you and your circumstances
and make best possible decisions by getting most out of others.&lt;/p&gt;&lt;h4&gt;Higher level vs lower level you&lt;/h4&gt;&lt;p&gt;Have two &quot;yous&quot; that fight to control you&lt;/p&gt;&lt;p&gt;Lower level&lt;/p&gt;&lt;ul&gt;&lt;li&gt;impulsive, emotional, subconscious&lt;/li&gt;&lt;li&gt;deals with ego/defense mechanisms re: criticism etc&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Higher level&lt;/p&gt;&lt;ul&gt;&lt;li&gt;neocortex&lt;/li&gt;&lt;li&gt;more logical, executive fn&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Can see it w/ people getting angry for themselves.&lt;/p&gt;&lt;p&gt;Even more of a mess when two yous fight with someone else with their yous.
Lower levels are like attack dogs even when higher levels want to figure
things out&lt;/p&gt;&lt;p&gt;Blind spot barrier is more in terms of ways we think/view things, what we
might miss.&lt;/p&gt;&lt;p&gt;Both lead to people disagreeing and people remaining convinced they&apos;re right.&lt;/p&gt;&lt;ul&gt;&lt;li&gt;not logical and leads to suboptimal decision making&lt;/li&gt;&lt;li&gt;if you disagree with someone, one of you must be wrong, shouldn&apos;t you want to make sure it isn&apos;t you?&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Both also come up with how people deal with their own problems.&lt;/p&gt;&lt;p&gt;Too common to blindly spin up against blind spots/ego when solving problems.&lt;/p&gt;&lt;p&gt;Instead should:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;teach brain to work in ways that don&apos;t come naturally&lt;/li&gt;&lt;li&gt;use compensating mechanisms (like programmed reminders)&lt;/li&gt;&lt;li&gt;rely on others who are strong in areas you are not&lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;3.2 Practice radical open-mindedness&lt;/h3&gt;&lt;p&gt;Radical open mindedness is motivated by genuine worry you might not be seeing
choices optimally&lt;/p&gt;&lt;p&gt;Requires you replace attachment to always being right with joy of learning
what&apos;s true.&lt;/p&gt;&lt;p&gt;A shift towards &quot;higher level you&quot;  .&lt;/p&gt;&lt;p&gt;Ability to deal with things you don&apos;t know is more important than what you do
know.&lt;/p&gt;&lt;p&gt;Decision making is two step process: take in info open-mindedly, then decide
(see also section 5).&lt;/p&gt;&lt;p&gt;Don&apos;t worry about looking good/exposing your ignorance/weaknesses.&lt;/p&gt;&lt;p&gt;Remember looking for best answer; not best answer you can come up with
yourself.&lt;/p&gt;&lt;p&gt;Distinguish between arguing and seeking to understand. Both have their places:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;arguing for when people are peers&lt;/li&gt;&lt;li&gt;if one person is more knowledgeable more appropriate to have a student-teacher relationship&lt;/li&gt;&lt;/ul&gt;&lt;h4&gt;Believability&lt;/h4&gt;&lt;p&gt;Believable people are those who have repeatedly and accomplished the thing in
question — strong track record of at least 3 successes — and have good,
logical explanations of how they did it when probed.&lt;/p&gt;&lt;p&gt;If you have a different view with someone who is more believable than you, you
should make clear you&apos;re trying to understand their perspective.&lt;/p&gt;&lt;p&gt;If you&apos;re more believable, politely remind the other person of that.&lt;/p&gt;&lt;h3&gt;3.3 Appreciate art of thoughtful disagreement&lt;/h3&gt;&lt;p&gt;Goal of thoughtful disagreement is not to convince other party you are right,
but to find out what&apos;s true and decide what to do about it&lt;/p&gt;&lt;p&gt;Both sides should be motivated by genuine fear of missing important
perspectives.&lt;/p&gt;&lt;p&gt;Need to be reasonable, calm, collegial, respectful.&lt;/p&gt;&lt;p&gt;Most disagreements aren&apos;t threats, more opportunities for learning.&lt;/p&gt;&lt;p&gt;Two good tactics:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;describe back to other person what they&apos;re saying&lt;/li&gt;&lt;li&gt;give others opp to talk for two straight minutes&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;All this is time consuming but worth it.&lt;/p&gt;&lt;p&gt;Important to prioritize what you spend time on and with who. There are lots of
people to disagree with, unproductive to do so with all of them.&lt;/p&gt;&lt;p&gt;Explore ideas with most believable people you have access to.&lt;/p&gt;&lt;p&gt;Don&apos;t waste time disagreeing past point of diminishing returns.&lt;/p&gt;&lt;p&gt;Why doesn&apos;t thoughtful disagreement happen more? Because most people
instinctively reluctant to disagree.&lt;/p&gt;&lt;p&gt;If two people are at a restaurant and one says &quot;I like the food&quot; the other is
more likely to agree, even if not true.&lt;/p&gt;&lt;p&gt;&lt;em&gt;This reluctance is lower level you&apos;s mistaken interpetation of disagreement
as conflict.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;That&apos;s why it&apos;s not easy: need to teach yourself art of having exchanges in
ways that don&apos;t trigger reactions in yourself and others.&lt;/p&gt;&lt;h3&gt;3.4 Triangulate your view with believable people who are willing to disagree&lt;/h3&gt;&lt;p&gt;Smart people who can thoughtfully disagree are best teachers.&lt;/p&gt;&lt;p&gt;Also good to have two knowledgeable people thoughtfully disagree while you
watch.&lt;/p&gt;&lt;p&gt;Also ok to turn over decision making when subjects are too complex for you to
understand. You&apos;re giving into lower level self if you need to make your own
decisions, even when not qualified.&lt;/p&gt;&lt;h3&gt;3.5 Recognize signs of closed and open mindedness&lt;/h3&gt;&lt;p&gt;Close minded people:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;don&apos;t want their ideas challenged&lt;/li&gt;&lt;li&gt;are more likely to make statements vs asking questions&lt;/li&gt;&lt;li&gt;focus more on being understood than understanding others&lt;/li&gt;&lt;li&gt;say &quot;I could be wrong&quot;, then follow it up with a statement, which is just perfunctory, way to convince self you&apos;re being open-minded&lt;/li&gt;&lt;li&gt;prevent others from speaking&lt;/li&gt;&lt;li&gt;have trouble holding two thoughts simultaneously&lt;/li&gt;&lt;li&gt;lack humility&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Open minded people&lt;/p&gt;&lt;ul&gt;&lt;li&gt;are curious about why there is disagreement&lt;/li&gt;&lt;li&gt;ask questions, also consider relative believability&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;3.6 Understand how you can become radically open-minded&lt;/h3&gt;&lt;p&gt;Regularly use pain as guide towards reflection.&lt;/p&gt;&lt;p&gt;Mental pain often from being too attached to an idea when person or event
comes along to challenge it.&lt;/p&gt;&lt;p&gt;Make open-mindedness a habit. Try to consistently use anger/frustration as
cues for being more thoughtful.&lt;/p&gt;&lt;p&gt;Know blind spots, helps to:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;record circumstances in which you&apos;ve consistently made bad decisions&lt;/li&gt;&lt;li&gt;ask others to help too&lt;/li&gt;&lt;li&gt;if you find yourself in an area like this again realize you&apos;re taking a huge risk&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If a number of different believable people say you are doing something wrong
and you are the only one who doesn&apos;t see it that way, assume you&apos;re biased&lt;/p&gt;&lt;p&gt;Meditate.&lt;/p&gt;&lt;p&gt;Be evidence based.&lt;/p&gt;&lt;p&gt;Realize at some point it&apos;s better to stop fighting for your view, and have
faith in your decision-making process and accept what believable others think
is best. Not doing this is dangerously arrogant.&lt;/p&gt;&lt;p&gt;More open-mindedness doesn&apos;t mean losing assertiveness. It should actually
increase confidence because it increases odds of arriving at correct decision.&lt;/p&gt;&lt;h3&gt;Are you up for it?&lt;/h3&gt;&lt;p&gt;Are you willing to fight to find out what&apos;s true?&lt;/p&gt;&lt;p&gt;Do believe it&apos;s essential to your well being?&lt;/p&gt;&lt;p&gt;Do you need to find out if you&apos;re doing something wrong that is standing in
the way of achieving your goals?&lt;/p&gt;&lt;p&gt;If no, accept that you&apos;ll never live up to your potential.&lt;/p&gt;&lt;h2&gt;4. Understand People are Wired Differently&lt;/h2&gt;&lt;p&gt;Most attributes are double-edged swords, can both help and hurt, depending on
application.&lt;/p&gt;&lt;p&gt;Important to know how others and yourself are wired.&lt;/p&gt;&lt;p&gt;Desire for meaningful work and relationships is genetically programmed.&lt;/p&gt;&lt;h3&gt;Subconscious&lt;/h3&gt;&lt;p&gt;Large parts of our brains don&apos;t do logical things.&lt;/p&gt;&lt;p&gt;Your subconscious from the &quot;two yous&quot; thing from earlier isn&apos;t just
animalistic and something that needs to be suppressed and overruled. It can
also be source of creativity/good ideas. Many people believe best way to learn
is to just cram more and more into your conscious mind and make it work
harder, but often counter productive.&lt;/p&gt;&lt;p&gt;But don&apos;t want to just immediately act on subconscious things, should examine
them with concious mind and look at them logically. Writing things down is
helpful.&lt;/p&gt;&lt;p&gt;Again, the most constant struggle between thinking and feeling.&lt;/p&gt;&lt;p&gt;Amygdala (feelings, inner you, come quicker and in spurts, then subsides) vs
prefrontal cortex (logical, outer you)&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;The biggest difference between people who guide their own personal evolution
  and achieve their goals and those who don&apos;t is the former reflect on their
  amygdala hijackings and put in context of what they really want.&lt;/p&gt;&lt;/blockquote&gt;&lt;h3&gt;Habits&lt;/h3&gt;&lt;p&gt;Greatest challenge: having higher level you manage lower level you.&lt;/p&gt;&lt;p&gt;Best way of doing that: consciously develop habits that will make doing things
good for you habitual.&lt;/p&gt;&lt;p&gt;Good habits get you to do what your &quot;upper-level you&quot; wants
Bad controlled by lower level you, stand in way of upper.&lt;/p&gt;&lt;p&gt;Habit facts:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;habit is most powerful tool in brain&apos;s toolbox&lt;/li&gt;&lt;li&gt;basal ganglia, not even concious of it&lt;/li&gt;&lt;li&gt;form in 18 months&lt;/li&gt;&lt;li&gt;three step loop (trigger, routine, reward)&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;In practice, -if you really want to change, best thing to do is choose which
habits to acquire/get rid of, then go about doing that.&lt;/p&gt;&lt;p&gt;Dalio suggests write down 3 most harmful habits, pick one and commit to
breaking it. Or acquire a good one if you want. Either way this will be
very impactful to your life.&lt;/p&gt;&lt;p&gt;Dalio&apos;s best habit: using pain to trigger quality reflections.&lt;/p&gt;&lt;h3&gt;Misc How People Are Wired Notes&lt;/h3&gt;&lt;p&gt;Bridgewater uses briggs meyer, workplace personality inventory, team
dimensions profile, stratified systems theory&lt;/p&gt;&lt;p&gt;Probably more interesting if you&apos;re building a team or hiring or something.&lt;/p&gt;&lt;p&gt;Dalio: having spent time with richest, most powerful people in world, beyond
a basic level, there is no correlation between happiness and conventional
markers of success.&lt;/p&gt;&lt;p&gt;A carpenter who derives deepest satisfaction from working with wood can easily
have a life as good or better than president of US.&lt;/p&gt;&lt;p&gt;Having right people in right roles in support of goal is important.&lt;/p&gt;&lt;p&gt;Treat lower/subconscious you with kindness, don&apos;t nec need to fight with it all
the time.&lt;/p&gt;&lt;h2&gt;5. Learn How to Make Decisions Effectively&lt;/h2&gt;&lt;h3&gt;5.1 a Biggest threat to good decision making is harmful emotions&lt;/h3&gt;&lt;h3&gt;5.1 b Decision making is a two-step process (learning, then deciding)&lt;/h3&gt;&lt;p&gt;Decision making processes more are more subconscious and complex than commonly
understood.&lt;/p&gt;&lt;p&gt;Remind yourself it&apos;s never harmful to at least hear an opposing point of view.&lt;/p&gt;&lt;p&gt;Deciding is the process of choosing which knowledge you should draw upon.&lt;/p&gt;&lt;p&gt;Depends both particulars of this situation and broader knowledge. Weigh first
order consequences against 2nd and 3rd order consequences&lt;/p&gt;&lt;p&gt;Never seize on first available option, no matter how good it seems, before
you&apos;ve asked questions and explored.&lt;/p&gt;&lt;p&gt;Dalio used to literally ask: am i learning? have i learned enough yet that
it&apos;s time for deciding?&lt;/p&gt;&lt;p&gt;Learning comes down to two things:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Being able to synthesize accurately&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;converting a lot of data -&amp;gt; accurate picture&lt;/li&gt;&lt;li&gt;quality of synthesis determines quality of decision making&lt;/li&gt;&lt;/ul&gt;&lt;ol start=&quot;2&quot;&gt;&lt;li&gt;knowing how to navigate levels&lt;/li&gt;&lt;/ol&gt;&lt;h3&gt;5.2 Synthesize&lt;/h3&gt;&lt;p&gt;Faced all the time with infinite number of things that come at you. Dalio
calls them dots.&lt;/p&gt;&lt;p&gt;Need to be able to tell which dots are important and which aren&apos;t.&lt;/p&gt;&lt;p&gt;Some people just collect a ton of observations and opinions like lint.&lt;/p&gt;&lt;p&gt;One of most important decisions you can make is who you ask questions of:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;make sure they&apos;re fully informed and believable&lt;/li&gt;&lt;li&gt;listening to random uniformed people is worse than having no answers&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Everything seems bigger (more important) in the moment than it will in
hindsight. For this reason, sometimes helpful to defer decisions.&lt;/p&gt;&lt;p&gt;New is overvalued relative to great.&lt;/p&gt;&lt;p&gt;Don&apos;t overfit limited numbers of dots.&lt;/p&gt;&lt;h3&gt;5.3 Synthesize the situation through time&lt;/h3&gt;&lt;p&gt;Keep in mind both rates of change and absolute levels; can be &quot;getting better&quot;
while still being way below the bar.&lt;/p&gt;&lt;p&gt;Everything important in your life needs to be on a trajectory to be above the
bar and headed towards excellent at appropriate pace.&lt;/p&gt;&lt;p&gt;Be imprecise. Understand what &quot;by and large&quot; means.&lt;/p&gt;&lt;p&gt;Remember 80/20 rule, understand what key 20% is.&lt;/p&gt;&lt;p&gt;Be an imperfectionist:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;perfectionists spend too much time on little differences at the margin at the expense of important things&lt;/li&gt;&lt;li&gt;typically 5-10 important factors to consider when making a decision; important to understand these really well&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;5.4 Navigate levels effectively&lt;/h3&gt;&lt;p&gt;Reality exists at different levels; each gives valuable perspectives.&lt;/p&gt;&lt;p&gt;Constantly seeing things at different levels and navigating between them.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;gt; &lt;em&gt;I want meaningful work that&apos;s full of learning.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt; &lt;em&gt;I want to be a doctor.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to go to medical school.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to get good grades in the sciences.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to stay home tonight and study.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Pay attention to conversations, we tend to move between levels when we talk.&lt;/p&gt;&lt;p&gt;Use the terms &quot;above the line&quot; and &quot;below the line&quot; to establish which level
a conversation is on.&lt;/p&gt;&lt;p&gt;When line of reasoning is jumbled, it&apos;s often because speaker has gotten
caught up in below the line details without connecting them back to major
points .&lt;/p&gt;&lt;p&gt;Only go below the line if it&apos;s necessary to illustrate something about a major
points, and make sure you synthesize and tie things back.&lt;/p&gt;&lt;p&gt;Decisions need to be made at appropriate level and consistent across levels.
Can&apos;t have 12 sausages and a beer for breakfast every morning and live
a healthy life.&lt;/p&gt;&lt;p&gt;In other words: need to constantly connect and reconcile data you&apos;re gathering
to get a complete picture.&lt;/p&gt;&lt;p&gt;Summary:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Remember that multiple levels for all subjects&lt;/li&gt;&lt;li&gt;Be aware on what level you&apos;re examining a given subject&lt;/li&gt;&lt;li&gt;Consciously navigate levels rather than see subjects as undifferentiated piles of facts that can be browsed randomly&lt;/li&gt;&lt;li&gt;Diagram flow of your thought processes using outline template (on page 250) shown previously&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Do all of that with radical open mindedness.&lt;/p&gt;&lt;h3&gt;5.5. Logic, reason, common sense are best tools for synthesizing reality&lt;/h3&gt;&lt;p&gt;Another higher vs lower self principle.&lt;/p&gt;&lt;p&gt;Fundamentals of good decision making are relatively simple and timeless&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Until you make the subconscious concious, it&apos;ll direct your life and you will call it fate.&quot; - Carl Jung&lt;/p&gt;&lt;/blockquote&gt;&lt;h3&gt;5.6 Make decisions as expected value calculations&lt;/h3&gt;&lt;p&gt;Raising your probability of being right is valuable no matter what your
probability of being right already is.&lt;/p&gt;&lt;p&gt;Knowing when not to bet is as important as knowing what bets are worth making.&lt;/p&gt;&lt;p&gt;Best choices are ones that have more pros than cons, not the ones that don&apos;t
have ANY cons.&lt;/p&gt;&lt;h3&gt;5.7 Prioritize by weighing value of additional info vs cost of not deciding&lt;/h3&gt;&lt;p&gt;Some decisions best made after acquiring more info, others immediately.&lt;/p&gt;&lt;p&gt;All of your &quot;must-dos&quot; must be above bar before you do your &quot;like-to-dos&quot;.&lt;/p&gt;&lt;p&gt;Prob won&apos;t have time to deal with unimportant things, better than not having
time to do with important thinks.&lt;/p&gt;&lt;p&gt;Don&apos;t mistake possibilities for probabilities.&lt;/p&gt;&lt;h3&gt;5.8 Simplify and 5.9 Use principles for decision making shortcuts&lt;/h3&gt;&lt;p&gt;Get rid of irrelevant details so essential things and relationships between
them stand out.&lt;/p&gt;&lt;p&gt;Principles are a way to both simplify and improve decision making.&lt;/p&gt;&lt;p&gt;Realize almost all &quot;cases at hand&quot; are just &quot;another one of those&quot;.&lt;/p&gt;&lt;p&gt;Figure out which it is, then apply well thought out principles for dealing
with it.&lt;/p&gt;&lt;p&gt;Will allow you to massively reduce the number of decisions you have to make.&lt;/p&gt;&lt;p&gt;What Dalio does:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;slow down thinking so you can note criteria you are using to make
 decision&lt;/li&gt;&lt;li&gt;write criteria down as principle&lt;/li&gt;&lt;li&gt;think about those criteria when you have an outcome to assess, and
 refine them over time&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Identifying which &quot;one of those&quot; a situation is is like id&apos;ing an animal.&lt;/p&gt;&lt;p&gt;Can be challenging since many since many cases are hybrids, in which case you
have to weigh principles against each other.&lt;/p&gt;&lt;h3&gt;5.10 Believability weight decision making&lt;/h3&gt;&lt;p&gt;If disagreeing, see if you can start by agreeing which principles should be
used to make a decision.&lt;/p&gt;&lt;h3&gt;5.11 Convert principles into algorithms and have computer make decisions too&lt;/h3&gt;&lt;h3&gt;5.12 Be wary of AI without deep understanding&lt;/h3&gt;&lt;p&gt;Sometimes can use to test how decision would have worked in past/other
simulations.&lt;/p&gt;&lt;p&gt;Not super practical, prob more relevant for investment (and maybe fantasy
football if you have a &lt;a href=&quot;fantasymath&quot;&gt;sweet model&lt;/a&gt;) decisions.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>BP Oil Spill</title>
<description>My role calculating damages due to the BP oil spill</description>
<link>https://nathanbraun.com/oil-spill</link>
<guid>https://nathanbraun.com/oil-spill</guid>
<pubDate>Wed, 12 Aug 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;BP Oil Spill&lt;/h1&gt;&lt;p&gt;In April, 2010 the Deepwater Horizon drilling rig exploded off the cost of
Louisiana, starting one of the largest environmental disasters in US history
that ultimately leaked 4.9 million barrels of oil into the Gulf of Mexico.&lt;/p&gt;&lt;p&gt;In 2011, I finished grad school with degree in applied economics, and an
interest and &lt;a href=&quot;eu-carbon-market&quot;&gt;experience&lt;/a&gt; with environmental problems.&lt;/p&gt;&lt;p&gt;It&apos;s not that surprising that I soon started working for an environmental
economics consulting company contracted to the government to (among other
things) quantify the value of the lost recreation on Gulf beaches due to the
spill.&lt;/p&gt;&lt;h2&gt;Trips lost due to the spill&lt;/h2&gt;&lt;p&gt;The lost recreation value due to the spill basically came down to:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;lost value = n of trips forgone * value of each trip
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;I worked mostly on quantifying the number of forgone trips. In theory:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;trips forgone = trips (no spill) - trips (actual)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Both numbers on the right hand side involve varying degrees of guessing.&lt;/p&gt;&lt;p&gt;Take the easier one: number of trips that actually took place. How would you
go about calculating that?&lt;/p&gt;&lt;p&gt;&quot;Ideally&quot;, maybe you have turnstiles at the entrance to every single beach in
the gulf, then you can just count up the totals and see. In practice,
obviously that&apos;s impossible&lt;/p&gt;&lt;p&gt;Instead we did some standard surveying and sampling techniques, dividing the
gulf into segments and flying a plane up and down the coast multiple times
a week snapping aerial photos. The photos were sent back to company
headquarters, where we had a team that would count the people.&lt;/p&gt;&lt;p&gt;But snapshots only tell you the number of people at any particular moment in
time. To go from that to full trips you need to get some sense of how long
people were there.&lt;/p&gt;&lt;p&gt;For example, if everyone at the beach got there early and stayed all day, then
the n of people in your picture == n of trips. Everyone was just there all
day.&lt;/p&gt;&lt;p&gt;If everyone stayed for exactly (and randomly) half the day, then you&apos;d have to
multiply your snapshot count by 2. You counted the people there during the
time you snapped a picture, but each person at the beach that day only had
a .5 probability of being in the picture.&lt;/p&gt;&lt;p&gt;We got these durations (among other information) from a staff of 100+ people
on the ground conducting interviews.&lt;/p&gt;&lt;p&gt;The result is cascading series of multiplying:&lt;/p&gt;&lt;p&gt;&lt;code&gt;n people in a photo * 1/average length of time people stayed * 1/(how often you took a picture)&lt;/code&gt;&lt;/p&gt;&lt;p&gt;etc.&lt;/p&gt;&lt;p&gt;And that&apos;s just to get the actual number of trips taken post spill, which is
the conceptually easier number. More abstract is the hypothetical: how many
&lt;em&gt;would&lt;/em&gt; people have taken had there been no spill?&lt;/p&gt;&lt;h2&gt;Estimating the counterfactual&lt;/h2&gt;&lt;p&gt;A few possible ways to approximate the number of trips people &lt;em&gt;would have&lt;/em&gt;
taken if there had been oil spill:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;Figure out how many people took trips in 2009 (right before the spill).&lt;/li&gt;&lt;li&gt;Look at how many people took trips to places not affected by the spill, extrapolate based on that.&lt;/li&gt;&lt;li&gt;Figure out how many people took trips after things returned to normal.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;All of these have issues. No one had the data for (1) — doing all the counting
and interviewing for actual trips in the aftermath of the spill was very
expensive, and no one had been doing anything like it pre spill.&lt;/p&gt;&lt;p&gt;(2) required good, comprehensive data on how the spatial impacts over time,
which was another effort. Also it was possible more people than usual might be
visiting non-affected sites, which would make the true number harder to
calculate.&lt;/p&gt;&lt;p&gt;That left (3), which had its own issues (How do you know when things have
returned to normal? What if things never did? What if people who hadn&apos;t been
taking trips went all at once after things got back to normal, overstating the
&quot;baseline&quot; n of trips lost?)&lt;/p&gt;&lt;p&gt;To deal with that, the government (specifically NOAA, who was in charge)
decided we should continue counting people on the beach until the number of
trips leveled off and stayed that way for a year.&lt;/p&gt;&lt;p&gt;To deal with seasonality inherent in recreation trips to the gulf, that
required two years of sampling after things had returned to normal (a year
longer than strictly necessary) in order to figure out what &quot;normal&quot; was.&lt;/p&gt;&lt;h2&gt;Controlling for weather&lt;/h2&gt;&lt;p&gt;Another issue with using later, &quot;back to normal&quot; years as a baseline is
potential uncontrolled for differences in other factors that might effect
trips.&lt;/p&gt;&lt;p&gt;For example, imagine the weather in 2010-2011 (when oil was affecting
recreation trips) was unusually cold. Pretend it was freezing, too cold for
anyone to go to the beach&lt;/p&gt;&lt;p&gt;What would have been the impact of the spill on recreation in that case?
Nothing! If the weather was so bad and cold that people wouldn&apos;t have taken
any trips anyway, then the spill didn&apos;t actually have any effect on recreation.&lt;/p&gt;&lt;p&gt;Obviously in real life, the weather wasn&apos;t that bad, but we had to account for
issues (another one was differences in gas prices between years) like it.&lt;/p&gt;&lt;p&gt;Officially, we did so using some fairly basic statistical techniques
(adjusting broadly for good and bad weather days across years), but — as
a check — we also built a more complicated parametric model that gave us more
fine grained control, I helped design and did all of the coding for that,
which was fun.&lt;/p&gt;&lt;h2&gt;Me and BP&lt;/h2&gt;&lt;p&gt;When I got there in the fall of 2011, the data collection effort was well
underway, but we hadn&apos;t started turning that raw data into counts of overall
trips, much less trips lost.&lt;/p&gt;&lt;p&gt;My role became programming up all processing, multiplying and adding. I did it
in Stata, which I had used a bit previously, but not that much (I haven&apos;t used
it in since ~2013).&lt;/p&gt;&lt;p&gt;Since it was for litigation with a lot stake financially, we had
a subcontractor doing the same weighting-up coding, but in SAS.&lt;/p&gt;&lt;p&gt;I have many (fond?) memories of talking through obscure data edge cases with
him, trying to figure out why our trip totals (totaling in the 100s of
millions) differed by 17 trips or whatever.&lt;/p&gt;&lt;p&gt;Aside from the unfortunate circumstances, I enjoyed working on the project. We
had a team of big name academic experts, and it was fun hashing things out
with some of the same people that had written my college textbooks and coding
up their ideas.&lt;/p&gt;&lt;p&gt;Working on it was a big part in me realize I liked programming (and data and
analysis), even more so than working specifically on environmental problems
per se.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Quadratic Voting App</title>
<description>Writeup of Quadratic Voting App project.</description>
<link>https://nathanbraun.com/voting</link>
<guid>https://nathanbraun.com/voting</guid>
<pubDate>Wed, 05 Aug 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Vote Squared - Quadratic Voting App&lt;/h1&gt;&lt;p&gt;Built April-May 2020, mostly during the kids naps while I was at home with
them due to COVID-19.&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://votesquared.com&quot;&gt;www.votequared.com&lt;/a&gt;&lt;/p&gt;&lt;h2&gt;Deciding in Groups&lt;/h2&gt;&lt;p&gt;Voting is the obvious way to decide something as a group.&lt;/p&gt;&lt;p&gt;When most people think about voting, they probably envision &quot;first past the
post&quot;, where everyone votes for one of two or more options, and the highest
vote-getter wins.&lt;/p&gt;&lt;p&gt;But with more than two options, it&apos;s not at all guaranteed that a majority of
people will prefer the winning option.&lt;/p&gt;&lt;p&gt;One option to deal with this is &lt;a href=&quot;https://en.wikipedia.org/wiki/Ranked_voting&quot;&gt;ranked-choice&lt;/a&gt; 
voting, where voters rank options by order of preference and an algorithm uses
that data to pick a winner. It&apos;s becoming &lt;a href=&quot;https://en.wikipedia.org/wiki/Ranked_voting&quot;&gt;popular in the US&lt;/a&gt; (which is good),
and NYC is set to adopt it in 2021.&lt;/p&gt;&lt;p&gt;While ranked-choice voting is a big improvement over first past the post,
quadratic voting does it one better by allowing people to vote not only on
their rank order of preference (Amash, Biden, Trump) but also the intensity of
that rank (super high, meh, none).&lt;/p&gt;&lt;p&gt;It also penalizes extreme, inflexible preferences by giving you less votes
overall.&lt;/p&gt;&lt;h2&gt;votesquared.com&lt;/h2&gt;&lt;p&gt;My friends will occasionally vote on stuff (a good weekend to get together,
new rule changes in our fantasy football league, etc).&lt;/p&gt;&lt;p&gt;In the past we&apos;ve always done first past the post voting, which isn&apos;t ideal.
I wanted to work on my web app skills and figured I might as well bring us into
a more enlightened era of decisionmaking while I was at it.&lt;/p&gt;&lt;p&gt;The result is &lt;a href=&quot;https://votesquared.com&quot;&gt;www.votequared.com&lt;/a&gt;. How it works:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Everyone gets a budget of &lt;strong&gt;$25&lt;/strong&gt;.&lt;/li&gt;&lt;li&gt;The more you vote for an option, the more it counts against your budget.  Your first vote for any option costs &lt;strong&gt;$1&lt;/strong&gt;, the next &lt;strong&gt;$3&lt;/strong&gt; (so &lt;strong&gt;$4&lt;/strong&gt; total for the two votes), etc.&lt;/li&gt;&lt;li&gt;If you want to use all your votes (5) on one option it&apos;ll cost you your whole budget and you won&apos;t be able to vote for anything else.&lt;/li&gt;&lt;/ul&gt;&lt;h2&gt;Best Fruit&lt;/h2&gt;&lt;p&gt;So say we&apos;re voting on best fruit. And have the options: apple, banana, pear,
grape.&lt;/p&gt;&lt;p&gt;My first vote for apple costs &lt;strong&gt;$1&lt;/strong&gt;, after which I have &lt;strong&gt;$24&lt;/strong&gt; left to use on banana,
pear, grape or more votes for apple.&lt;/p&gt;&lt;p&gt;From there, I can spend another &lt;strong&gt;$1&lt;/strong&gt; on my first vote for one of the other
fruits, or &lt;strong&gt;$3&lt;/strong&gt; for my second vote for apple. If I did that then a third vote
for apple would cost an additional &lt;strong&gt;$5&lt;/strong&gt;.&lt;/p&gt;&lt;p&gt;The total cost for n votes on any particular option ends up being n^2. With
a budget of &lt;strong&gt;$25&lt;/strong&gt;, that means the most you can cast at most 5 votes for any
particular option.&lt;/p&gt;&lt;p&gt;And more votes for an option eat up more of your budget. The end result might
be something like this:&lt;/p&gt;&lt;pre&gt;&lt;code&gt;apple   4 votes ($16 total)

banana  2 votes  ($4 total)

pear    2 votes  ($4 total)

grape   1 vote   ($1 total)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;So while a ranked order ballet would reflect the order of my preferences
(apple, banana/pear, grape), quadratic voting is better because it gets across
how much more I &lt;em&gt;really&lt;/em&gt; like apples vs the other options.&lt;/p&gt;&lt;h2&gt;Technology&lt;/h2&gt;&lt;p&gt;I built the site using Elm for the front end and a simple Graphql API (using
&lt;a href=&quot;https://ariadnegraphql.org/&quot;&gt;ariadne&lt;/a&gt;, which I like a lot) for the backend.&lt;/p&gt;&lt;p&gt;I host both on my hobby $5 a month DigitalOcean droplet.&lt;/p&gt;&lt;p&gt;I send transaction emails using mailjet&apos;s free tier, which is OK, though I&apos;ve
had some issues with gmails spam filter so far.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Python vs R</title>
<description>Writeup of Learn to Code with Fantasy Football</description>
<link>https://nathanbraun.com/python-vs-r</link>
<guid>https://nathanbraun.com/python-vs-r</guid>
<pubDate>Sat, 01 Aug 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Python vs R&lt;/h1&gt;&lt;p&gt;One thing a lot of beginning programmers stress about is deciding which
programming language to learn.  Today the big choice in working with data comes
to Python or R&lt;/p&gt;&lt;h2&gt;Comparision&lt;/h2&gt;&lt;p&gt;&lt;a href=&quot;https://fantasycoding.com&quot;&gt;My&lt;/a&gt; &lt;a href=&quot;https://codebaseball.com&quot;&gt;Books&lt;/a&gt; teach you
Python, along with libraries Pandas (manipulating data), BeautifulSoup (for
scraping), seaborn (data visualization), and statsmodels and scikit learn
(modeling and machine learning).&lt;/p&gt;&lt;p&gt;R is a statistical programming language and an alternative to Python. You can
basically think of it as Pandas + a few other statistical libraries. It&apos;s a
fine option. I started out in R, and am still moderately fluent. It&apos;s been
around longer and has a solid MLB/football analytics following. Like Python,
it&apos;s open source (e.g. free).&lt;/p&gt;&lt;p&gt;When it comes to data analysis, Python and R are a lot alike. Python probably
has the edge in machine learning with scikit-learn, and Pandas is excellent
(and getting even better all the time). R has the tidyverse, which a lot of
people like.&lt;/p&gt;&lt;p&gt;For non-data applications Python is definitely better. People use Python to
build their own APIs and websites, run their own servers, control their
computers, robots, whatever.&lt;/p&gt;&lt;p&gt;That&apos;s probably why until about 5 years ago the R/Python split was about 50/50,
but since then Python is the much more popular option (search for &quot;R vs Python
market share&quot;).&lt;/p&gt;&lt;h2&gt;Programmers are more likely to move from R -&amp;gt; Python than the other way around.&lt;/h2&gt;&lt;p&gt;Also interesting is this &lt;a href=&quot;https://apenwarr.ca/log/20190318&quot;&gt;study of programmer migration patterns by programmer
blogger apenwarr&lt;/a&gt;. He found that R users are much more likely to jump to
learning Python next than the other way around.&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Migration&quot; src=&quot;/images/migration.jpg&quot;&gt;&lt;/p&gt;&lt;p&gt;As apenwarr explains, nodes in red below are &quot;currently the most common
&apos;terminal nodes&apos; — where people stop because they can&apos;t find anything better&quot;.&lt;/p&gt;&lt;p&gt;Python 3 (which what we learn in LTCWFF) is a terminal node. R users (and
Matlab, Fortran, etc) tend to migrate to it over time.&lt;/p&gt;&lt;p&gt;So if you&apos;re going to end up moving from R -&amp;gt; Python anyway (or, in my case SAS
-&amp;gt; Stata -&amp;gt; R -&amp;gt; Python), it might make sense to save time and start directly
with Python?  If this sounds intriguing definitely check out the books:&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://fantasycoding.com&quot;&gt;https://fantasycoding.com&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href=&quot;https://codebaseball.com&quot;&gt;https://codebaseball.com&lt;/a&gt;&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Learn to Code with Fantasy Football</title>
<description>Writeup of Learn to Code with Fantasy Football</description>
<link>https://nathanbraun.com/ltcwff</link>
<guid>https://nathanbraun.com/ltcwff</guid>
<pubDate>Sat, 01 Aug 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Learn to Code with Fantasy Football&lt;/h1&gt;&lt;p&gt;Learn to Code with Fantasy Football (LTCWFF) — available at
&lt;a href=&quot;https://fantasycoding.com?utm_source=nathanbraun&amp;utm_content=ltcwff&amp;utm_medium=organic&amp;utm_campaign=writeup&quot;&gt;fantasycoding.com&lt;/a&gt; — is a book I wrote mostly over
the Summer of 2019.&lt;/p&gt;&lt;p&gt;It covers Python, Pandas (Python&apos;s main data analysis library), SQL, web
scraping, public APIs, data visualization, summary stats and modeling, all
applied to fantasy football.&lt;/p&gt;&lt;h2&gt;Audience&lt;/h2&gt;&lt;p&gt;The main target for the book are people who are:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;into fantasy football&lt;/li&gt;&lt;li&gt;have done a bit of their own analysis in something like Excel&lt;/li&gt;&lt;li&gt;don&apos;t necessarily have much background in coding&lt;/li&gt;&lt;li&gt;are interested in learning more&lt;/li&gt;&lt;li&gt;unsure where to start&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Which was basically me about 10 years ago.&lt;/p&gt;&lt;p&gt;The book has worked better for people who want to get into coding in an easy,
digestible way as opposed to people who just want to win their leagues and are
more indifferent to coding.&lt;/p&gt;&lt;p&gt;In other words, if your main objective is state of the art &quot;who do I start&quot;
advice, it&apos;s much easier and more efficient to just buy a subscription to
&lt;a href=&quot;https://fantasymath.com&quot;&gt;Fantasy Math&lt;/a&gt; (or 4 for 4 or whatever), then put in
all the time and energy going through this book.&lt;/p&gt;&lt;p&gt;I think most people get that, and most of my readers have been people who are
excited learning to code for themselves.&lt;/p&gt;&lt;h2&gt;Market Research&lt;/h2&gt;&lt;p&gt;I got the initial seed of an idea from a reddit post, which was about R and
didn&apos;t end up going anywhere (though author did reach out to me after my book
came out and was really nice about it).&lt;/p&gt;&lt;p&gt;I did one of my own posts on reddit to gauge interest (which there was a lot
of) and start collecting emails.&lt;/p&gt;&lt;h2&gt;Writing Process and Experience&lt;/h2&gt;&lt;p&gt;Writing the book wasn&apos;t that difficult. I think that&apos;s more of a function of
the topic — I&apos;ve spent a lot of time thinking about fantasy football and a lot
of time doing data science type tasks at my day job — than any natural skill
as an author. I would guess future books on other topics might be tougher.&lt;/p&gt;&lt;p&gt;I also enjoy teaching and believe I&apos;m pretty good at:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;synthesizing/summarizing and finding themes/commonalities among large amounts of information&lt;/li&gt;&lt;li&gt;picking out a path to knowledge and introducing things at the right time&lt;/li&gt;&lt;li&gt;getting in the mind of the reader and finding and avoiding potentially confusing spots they might trip up on&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;At first I tried to write in prose form, but found that was way too slow,
mostly because it was too hard to keep from trying to edit/rewrite/make
perfect sentences as I went.&lt;/p&gt;&lt;p&gt;It was much easier for me to write out bullet points of the concepts I wanted
to get across, even down to the sentence level (I do these writeups on my site
the same way).&lt;/p&gt;&lt;p&gt;So I bulleted out the whole book, then rewrote it as prose.&lt;/p&gt;&lt;h3&gt;Ray Dalio and Navigating Levels&lt;/h3&gt;&lt;p&gt;I really like Ray Dalio&apos;s book &lt;a href=&quot;/books/principles&quot;&gt;Principles&lt;/a&gt;, and I often
thought about the part in his book on navigating levels while writing and
bullet pointing everything out.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;Reality exists at different levels and each of them gives you different
  but valuable perspectives. ... We are constantly seeing things at different
  levels and navigating between them, whether we know it or not, whether we do
  it well or not... For example, you can navigate levels to move from your
  values to what you do to realize them on a day-to-day basis.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&amp;gt; &lt;em&gt;I want meaningful work that&apos;s full of learning.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt; &lt;em&gt;I want to be a doctor.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to go to medical school.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to get good grades in the sciences.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to stay home tonight and study.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;According to Dalio, when a line of reason has gotten jumbled, it&apos;s often
because the speaker is jumping around different levels without showing how they
connect.&lt;/p&gt;&lt;p&gt;That&apos;s why, when conveying information, it&apos;s important to:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Be aware what level you&apos;re examining a given subject.&lt;/li&gt;&lt;li&gt;Consciously navigate levels rather than see subjects as undifferentiated piles of facts that can be browsed randomly.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Of course, I had always known that in theory, but explicitly keeping it in mind
probably made the book better and has a lot to do with how the book has been
received.&lt;/p&gt;&lt;h2&gt;Format and Delivery&lt;/h2&gt;&lt;p&gt;I released the book an en ebook (pdf, code, datasets, Anki cards) on Gumroad (update: I&apos;ve moved to SendOwl), which I&apos;ve generally been happy with.&lt;/p&gt;&lt;p&gt;It&apos;s really meant to be coded along with, and I think a pdf format is the best
way to do that.&lt;/p&gt;&lt;p&gt;I&apos;ve had a requests for hard copies, and in the future I may consider other
options like Amazon publishing for those.&lt;/p&gt;&lt;h2&gt;Reception&lt;/h2&gt;&lt;p&gt;Reception has been &lt;a href=&quot;https://fantasycoding.com/testimonials&quot;&gt;very positive&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;I offer a 30 day refund, and have had only a few people take me up on it.&lt;/p&gt;&lt;p&gt;As far as criticism (which I embrace — it&apos;s the most efficient way to make the
book better by far), I&apos;ve had a few people spot typos, which I expected given
I never formally hired a copy editor. One benefit of the ebook format is I can
fix them and rerelease it immediately, which I&apos;ve done as they&apos;ve come up.&lt;/p&gt;&lt;p&gt;Initially I didn&apos;t include any end of chapter exercises or problems, and I
heard from a few people who wanted to be able to test themselves on the
material. So recently I went back and added more than 100 problems with full
solutions (most of them code).&lt;/p&gt;&lt;h2&gt;Future Plans&lt;/h2&gt;&lt;p&gt;I think there are people in other sports who would appreciate a similar book.
I&apos;ve released a &lt;a href=&quot;https://codebaseball.com&quot;&gt;baseball&lt;/a&gt; version and may do other
sports depending on interest.&lt;/p&gt;&lt;p&gt;I also think the material may be good enough as a general purpose (non sports
related) introduction to Python, Pandas and general data science practices.
I&apos;ve had a few readers who didn&apos;t know anything about football (much less
fantasy football) read this book and get a lot out of it, which makes me think
that may be a promising avenue.  If I did that, I may explore working with a
traditional publisher as well.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Forest vs Trees and Coding</title>
<description>Writeup of Learn to Code with Fantasy Football</description>
<link>https://nathanbraun.com/forest-vs-trees</link>
<guid>https://nathanbraun.com/forest-vs-trees</guid>
<pubDate>Sat, 01 Aug 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Forest vs Trees and Learning to Code&lt;/h1&gt;&lt;p&gt;Blogger and beginning programmer Jakob Greenfeld &lt;a href=&quot;http://jakobgreenfeld.com/rails-routes-controllers-views&quot;&gt;wrote&lt;/a&gt; recently about learning
Ruby on Rails, a popular library (rails)/language (ruby) for building web apps&lt;/p&gt;&lt;p&gt;I&apos;ve never used Ruby on Rails, but this part resonated with me:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&quot;Since everyone keeps raving about it, I used [a popular tutorial]. While the
tutorial was helpful, I felt as if something immensely important was missing
from it.&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&quot;This approach works to give you a rough idea of how things work in Rails.
But at the end of it, I had seen a hundred trees but couldn’t see the
forest.&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&quot;There was just no systematic discussion of the most important concepts. Many
puzzle pieces that seemed important were mentioned in passing. But how should
I know as a beginner which of them are truly important?&quot;&lt;/p&gt;&lt;/blockquote&gt;&lt;h3&gt;II&lt;/h3&gt;&lt;p&gt;Jakob&apos;s post reminded me of concept of &lt;em&gt;levels&lt;/em&gt; Ray Dalio talks about in
&lt;a href=&quot;https://www.nathanbraun.com/books/principles/&quot;&gt;Principles&lt;/a&gt;:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;em&gt;Reality exists at different levels and each of them gives you different
  but valuable perspectives. ... We are constantly seeing things at different
  levels and navigating between them, whether we know it or not, whether we do
  it well or not... For example, you can navigate levels to move from your
  values to what you do to realize them on a day-to-day basis.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;&amp;gt; &lt;em&gt;I want meaningful work that&apos;s full of learning.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt; &lt;em&gt;I want to be a doctor.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to go to medical school.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to get good grades in the sciences.&lt;/em&gt; &lt;br&gt;  &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &lt;em&gt;I need to stay home tonight and study.&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;When a line of reason (or a programming tutorial) has gotten jumbled, it&apos;s
often because the speaker is jumping around different levels without showing
how they connect.&lt;/p&gt;&lt;h3&gt;III&lt;/h3&gt;&lt;p&gt;I thought about that &lt;em&gt;constantly&lt;/em&gt; when writing my books.&lt;/p&gt;&lt;p&gt;At the highest level, data analysis is:&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;&amp;gt; Getting interesting or useful insights from data.&lt;/strong&gt;&lt;/h4&gt;&lt;h4&gt;&lt;/h4&gt;&lt;p&gt;But that&apos;s pretty broad, so let&apos;s jump down a level. More specifically, data
analysis is:&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;&amp;gt;&amp;gt; 1. Collecting Data&lt;/strong&gt;&lt;/h4&gt;&lt;p&gt;Examples: scraping data, connecting to a public API, downloading some ready made datasets.&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;&amp;gt;&amp;gt; 2. Storing Data&lt;/strong&gt;&lt;/h4&gt;&lt;p&gt;Once you have data, you have to put it somewhere. Maybe this is in spreadsheet files in a folder on your desktop, as tabs in an Excel file, or a database.&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;&amp;gt;&amp;gt; 3. Loading Data&lt;/strong&gt;&lt;/h4&gt;&lt;p&gt;Once it&apos;s stored, you need to be able to retrieve the parts you want. This is
easy for spreadsheets, but if it&apos;s in a database then you need to know some SQL
— pronounced &quot;sequel&quot; and short for Structured Query Language — to get it out.&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;&amp;gt;&amp;gt; 4. Manipulating Data&lt;/strong&gt;&lt;/h4&gt;&lt;p&gt;This step is getting your raw data in the right format for analysis. This is
usually the biggest/most time consuming step by far, and is what most of the
book is on.&lt;/p&gt;&lt;p&gt;Common tools for this step: Excel, R, Python, Stata, SPSS, Tableau, SQL, and
Hadoop.&lt;/p&gt;&lt;h4&gt;&lt;strong&gt;&amp;gt;&amp;gt; 5. Analyzing Data for Insights&lt;/strong&gt;&lt;/h4&gt;&lt;p&gt;The final model, summary stat or plot that takes you from formatted data to
insight.&lt;/p&gt;&lt;h3&gt;IV&lt;/h3&gt;&lt;p&gt;Though we haven&apos;t covered any details, even this very zoomed out level is
useful. For example, it wouldn&apos;t be unusual for a total beginner to wonder,
&quot;should I learn Python or SQL?&quot; Knowing at a high level that SQL is primarily
for getting data out of a database (vs scraping, sophisticated manipulation or
analysis) makes the decision easier.&lt;/p&gt;&lt;p&gt;That&apos;s why Greenfeld&apos;s frusteration with his Rails tutorial (&quot;At the end of it,
I had seen a hundred trees but couldn’t see the forest.&quot;) hits home. From the
intro of both books:&lt;/p&gt;&lt;p&gt;&quot;Everything in [this book] falls into one of the five [data analysis] sections
above.  Throughout, I will tie back what you are learning to this section so
you can keep sight of the big picture.&lt;/p&gt;&lt;p&gt;&quot;This is the forest. If you ever find yourself banging your head against a tree
— either confused or wondering &lt;em&gt;why&lt;/em&gt; we&apos;re talking about something — refer back
here and think about where it fits in.&quot;&lt;/p&gt;&lt;p&gt;You can check them out here: &lt;a href=&quot;https://fantasycoding.com&quot;&gt;fantasycoding.com&lt;/a&gt; and &lt;a href=&quot;https://codebaseball.com&quot;&gt;codebaseball.com&lt;/a&gt;&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Fantasy Math</title>
<description>Writeup on fantasymath.com</description>
<link>https://nathanbraun.com/fantasymath</link>
<guid>https://nathanbraun.com/fantasymath</guid>
<pubDate>Mon, 20 Jul 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Fantasy Math&lt;/h1&gt;&lt;p&gt;Fantasy Math is my active site for weekly start-sit Fantasy Football advice.
Subscribers enter in their matchup info and the players they&apos;re deciding
between, and get back optimal player and the probability they win.&lt;/p&gt;&lt;p&gt;Many sites (Yahoo, ESPN, Fleaflicker) give team win probabilities, but — as
far as I know — Fantasy Math is the only one modeling player projections as
explicit probability distributions.&lt;/p&gt;&lt;h2&gt;Projections as Probability Distributions&lt;/h2&gt;&lt;p&gt;The fundamental problem in fantasy football isn&apos;t maximizing your expected
points, but maximizing the probability you score more than whoever you&apos;re
playing that week.&lt;/p&gt;&lt;p&gt;Projecting distributions for a player&apos;s score (as opposed to point estimates or
rankings) helps in two ways. It lets you take into account:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;strong&gt;Variance&lt;/strong&gt;, how boom-or-bust a player is (1).&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Correlation&lt;/strong&gt;, the tendency of players&apos; scores to move together(2).&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Both can account for scenarios where starting the guy who&apos;s ranked &lt;em&gt;higher&lt;/em&gt; (i.e.
gets the most points on average) isn&apos;t necessarily the guy who &lt;em&gt;maximizes the
probability of winning&lt;/em&gt;.&lt;/p&gt;&lt;p&gt;I&apos;m obviously biased, but because it takes correlations and player variance
into account, I think Fantasy Math is the best start-sit advice you can get.&lt;/p&gt;&lt;h2&gt;The Second Best &quot;Who Do I Start Advice&quot; You Can Get&lt;/h2&gt;&lt;p&gt;It&apos;s easier to understand why Fantasy Math is the best start-sit advice you can
get by considering the &lt;em&gt;second&lt;/em&gt; best start-sit advice you can get.&lt;/p&gt;&lt;p&gt;Fantasy Pros &lt;a href=&quot;https://www.fantasypros.com/nfl/rankings/consensus-cheatsheets.php&quot;&gt;Expert Consensus
Rankings&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;I have an economics background, and I&apos;ve always been a big believer in
efficient markets and the wisdom of crowds. I draft by &lt;a href=&quot;https://lifehacker.com/use-the-wisdom-of-crowds-to-draft-the-best-fantasy-foot-1617837803.&quot;&gt;selecting the biggest
bargain according to
ADP&lt;/a&gt;, and my investments are in index funds.&lt;/p&gt;&lt;p&gt;ECR is clearly the fantasy football equivalent of all that. And so if the goal
is maximizing point totals, efficient markets would suggest — just as index
funds beat stock picking —  that&apos;s the best most of us (even experts) can
expect to do.&lt;/p&gt;&lt;p&gt;Fantasy Math is essentially ECR with correlations and player variance added on
top. Because the goal in fantasy is beat your opponent rather than maximizing
your total points, this gives Fantasy Math a slight edge.&lt;/p&gt;&lt;h2&gt;The Fantasy Math Edge&lt;/h2&gt;&lt;p&gt;While real, I think the Fantasy Math edge is small.&lt;/p&gt;&lt;p&gt;The main reason is that optimal start-sit decisions are mainly driven by the
scale parameter (i.e. start the guy whose distribution is furthest to the
right), which traditional rankings and point estimates get at fine(3).
Correlations and shape (aka variance aka boom or bust) are secondary.&lt;/p&gt;&lt;p&gt;I&apos;m not even sure — compared to just using
&lt;a href=&quot;https://www.fantasypros.com/nfl/rankings/consensus-cheatsheets.php&quot;&gt;ECR&lt;/a&gt; or
&lt;a href=&quot;https://www.borischen.com&quot;&gt;Boris Chen&lt;/a&gt; (also based off of ECR) — the impact on
expected wins/share of league winnings is worth what I charge, just as a pure
expected value calculation. Probably depends on your entry fee.&lt;/p&gt;&lt;p&gt;But some people won&apos;t rest until they&apos;ve uncovered every possible edge, and
Fantasy Math is for them.&lt;/p&gt;&lt;h2&gt;How It Works&lt;/h2&gt;&lt;p&gt;The are two parts to making the model: (1) fitting the distributions, and (2)
figuring out the historical correlations between same and opposing QB, RB1,
RB2, WR1-WR3, TE, K, DST.&lt;/p&gt;&lt;p&gt;I did (1) by fitting a Gamma distribution (both the scale and shape parameters)
to historical Expert Consensus Rankings (via the weekly mean and standard
deviation). For (2) it&apos;s just a giant correlation matrix.&lt;/p&gt;&lt;p&gt;Then I can use (2) to take generate random, uniformly distributed sets of
numbers with the appropriate correlation. Then I feed those correlated 0-1
pairs through the Gamma distribution and end up with correlated simulations.&lt;/p&gt;&lt;p&gt;Then when someone puts in their matchup info on Fantasy Math, it queries all
those simulations, figures out the percentage of time they win, and returns it.&lt;/p&gt;&lt;h2&gt;Technology and Stack&lt;/h2&gt;&lt;p&gt;The modeling is done using the Python data stack, and the API is in flask.&lt;/p&gt;&lt;p&gt;I did the  first version of the front end in React using HP&apos;s Grommet framework.
This worked OK, but doing this on the side, I wasn&apos;t constantly doing front end
programming and didn&apos;t look at it much in the offseason.&lt;/p&gt;&lt;p&gt;When I went to pick it back up and wanted to make a few tweaks, I found that
a bunch of the React API and frameworks I had been using were out of date.
Around the same time I saw an &lt;a href=&quot;https://blog.realkinetic.com/elm-changed-my-mind-about-unpopular-languages-190a23f4a834&quot;&gt;article on
Elm&lt;/a&gt;, and started playing round with
that.&lt;/p&gt;&lt;p&gt;I liked it enough that — when I had hernia surgery and had to lay around for a
week — I took the opportunity to recode the entire site in Elm, which is what
it&apos;s been the past two season.&lt;/p&gt;&lt;p&gt;I like Elm a lot and might do a separate writeup on it at some point. I do
sometimes wonder whether it&apos;s &lt;a href=&quot;http://boringtechnology.club/&quot;&gt;not boring
enough&lt;/a&gt; though.&lt;/p&gt;&lt;h2&gt;Challenges&lt;/h2&gt;&lt;h3&gt;Traction&lt;/h3&gt;&lt;p&gt;Fantasy Math hasn&apos;t seen wide adoption and remains fairly unknown. I think there
are a couple reasons:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The fantasy space is very noisy and competitive, with plenty of quality free material.&lt;/li&gt;&lt;li&gt;I&apos;m a lot better at building models than I am marketing them (working on this).&lt;/li&gt;&lt;li&gt;It&apos;s a challenge to concisely and effectively convey how the model works and why it&apos;s good.&lt;/li&gt;&lt;li&gt;People are interested in buying WDIS fantasy advice for a few weeks out of the year, which makes it difficult to design and test marketing strategies.&lt;/li&gt;&lt;/ul&gt;&lt;h3&gt;Modeling&lt;/h3&gt;&lt;p&gt;One of big drawbacks to Bayesian Fantasy Football was fixed shape parameter
didn&apos;t allow for boom/bust guys. That&apos;s more flexible in Fantasy Math, but not
to the extent I would like. This is one of the reasons I&apos;m redoing the
distribution fitting using more advanced techniques.&lt;/p&gt;&lt;h3&gt;UX&lt;/h3&gt;&lt;p&gt;I want the site to work better on mobile. Ideally people would be able to
import roster and matchup information too.&lt;/p&gt;&lt;h3&gt;Pricing&lt;/h3&gt;&lt;p&gt;I&apos;m not sure on pricing. While I&apos;d love for it to be reasonably priced and
widely adopted, that&apos;s not happening currently. I like running the site and
have learned a lot doing it, but now that I&apos;m out on my own I may need to focus
on things that are profitable.&lt;/p&gt;&lt;p&gt;It&apos;s possible the only way that&apos;ll happen with Fantasy Math is if I jack up the
price and focus on the much smaller set of users who recognize the value.
They&apos;re out there (I&apos;ve had people write saying they&apos;d pay hundreds of dollars
for it), and one of my goals this offseason is to figure out whether it makes
sense to focus solely on them.&lt;/p&gt;&lt;hr&gt;&lt;h3&gt;Footnotes&lt;/h3&gt;&lt;p&gt;1 — Say you&apos;re down by 45 points going into a Monday night CLE-HOU game, would
you rather start Will Fuller or Jarvis Landry? What if you were down 10 points?&lt;/p&gt;&lt;p&gt;2 — Imagine you have a close call — say Tyler Lockett vs Stefon Diggs — and
your opponent is starting Russel Wilson. The fact Wilson and Lockett&apos;s points
are positively correlated (about 0.44) might affect your optimal decision.&lt;/p&gt;&lt;p&gt;Precisely HOW it affects your decision depends on the rest of your matchup:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;if you&apos;re heavily favored, the correlation might mean you should start Lockett as a hedge against Wilson blowing up&lt;/li&gt;&lt;li&gt;if you&apos;re the underdog, maybe you need Wilson to underperform AND Diggs do really well, and so Diggs maximizes your probably of winning&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;By modeling performance as correlated distributions, FM takes this into
account.  And not only this, but every pair of simultaneous correlations (e.g.
the Lockett and Wilson are correlated, but they&apos;re also both correlated with
Chris Carson and the QB Seattle is playing against) — between same and opposing
QB, RB, WR, TE, K, DST.&lt;/p&gt;&lt;p&gt;3 — No matter what the correlations are, Fantasy Math is never going to tell
you to bench Christian McCaffrey.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>Bayesian Fantasy Football Writeup</title>
<description>writeup of Bayesian Fantasy Football</description>
<link>https://nathanbraun.com/bayesian-fantasy-football</link>
<guid>https://nathanbraun.com/bayesian-fantasy-football</guid>
<pubDate>Wed, 15 Jul 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Bayesian Fantasy Football&lt;/h1&gt;&lt;p&gt;Starting in 2013, I sold weekly fantasy projections from a Bayesian model I
built. The model used preseason draft rankings as priors, then incorporated
weekly results for an updated posterior. I ran the site for four seasons before
switching to an improved, non-Bayesian model and relaunching as &lt;a href=&quot;https://fantasymath.com&quot;&gt;Fantasy
Math&lt;/a&gt; in 2017.&lt;/p&gt;&lt;p&gt;Motivation for site grew out of the (still held) belief that fantasy markets
were mostly efficient, and that — with obvious exceptions for suspended guys
and handcuffs — ADP probably did as well or better than anything else for WDIS
decisions in week 1&lt;/p&gt;&lt;p&gt;But ADP is built on the best knowledge available preseason, and new information
(mainly how guys actually performed) comes in weekly. I wanted a way to
reconcile those prior beliefs with new data, and figured a Bayesian model was
the natural way to do that.&lt;/p&gt;&lt;p&gt;What I did:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;p&gt;Got historical ADP data from &lt;a href=&quot;https://myfantasyleague.com&quot;&gt;myfantasyleague.com&lt;/a&gt; and fit it to a Gamma distribution, where ADP and ADP^2 entered linearly into the alpha (scale) parameter and beta (shape) was the same for all players in a given position and scoring system.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Wrote the Bayesian portion of the model in R with Jags, setting the prior so alpha would start at the ADP-fit model, then update as we added game results.&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;The model also controlled for home/away, strength of opponent, (via how many
points they had given up to that position the previous 5 weeks), and (roughly)
whether a player was a starter.&lt;/p&gt;&lt;p&gt;I didn&apos;t know anything but Stata at the time, which I used to fit the original,
pre-season gamma as a function of ADP portion. I learned R in order to build
the Bayesian piece.&lt;/p&gt;&lt;p&gt;In hindsight, and after revisiting probabilistic and Bayesian models again
recently, I&apos;m not I understood the math and techniques behind what I was doing
that well, but I willed it into existence, and it worked OK.&lt;/p&gt;&lt;p&gt;Even now, I don&apos;t think anyone else is projecting performance distributions so
in many ways it was a trailblazer.&lt;/p&gt;&lt;h2&gt;Assumptions and Issues&lt;/h2&gt;&lt;p&gt;The model basically assumed players had some fixed, hidden (but approximated
by ADP) and unchanging distribution that we slowly uncovered via weekly draws
over time.&lt;/p&gt;&lt;p&gt;That fit the bill for some (even a lot) of players, but not everyone, and the
biggest problem with the model is it didn&apos;t do well on those players. It wasn&apos;t
designed to handle large changes in players situation (a handcuff with new
opportunity, a WR who&apos;s QB got injured, etc), and in that way probably would
have worked better as a ancillary, supplemental model.&lt;/p&gt;&lt;p&gt;Another problem was the fixed beta parameter of the gamma meant rankings were
monotonic and all dependent on the alpha parameter. This wasn&apos;t the end of the
world (everyone else&apos;s rankings are like that too), but it meant missing out on
some of the main benefits to projecting distributions, namely the ability to
take into account the boom-bust ness of different players.&lt;/p&gt;&lt;h2&gt;Technology&lt;/h2&gt;&lt;p&gt;My front end knowledge was limited at the time, so Bayesian Fantasy Football
was a Wordpress site with one plugin that took care of membership and another
that served csv&apos;s as tables.&lt;/p&gt;&lt;p&gt;Every Monday night I&apos;d kick off some code to grab the latest results
(eventually I learned Python to do this it), ran everything through model,
saved a new csv and uploaded it to the site.&lt;/p&gt;&lt;p&gt;As a teaser, I offered the top 5 guys at each position for free, but I&apos;m not
sure that was ever useful to anyone.&lt;/p&gt;&lt;h2&gt;Bayesian Fantasy Football vs Matthew Berry (Moderated by Keith Olbermann)&lt;/h2&gt;&lt;p&gt;To complement the paid, weekly in-season advice, I wrote up a free draft
article, where I basically advocated drafting based on ADP, which I made sound
more exciting by calling it drafting according to the wisdom of crowds (1).&lt;/p&gt;&lt;p&gt;In it, I included an analysis of — within any single position — how the
difference between ADP and Matthew Berry (whose was well known and whose
historical rankings happened to be online) was related to end of season points&lt;/p&gt;&lt;p&gt;For example, if Berry had Aaron Rodgers as the 5th best QB, and ADP had him 3,
would that difference (5-3 = 2) be associated with more or less points (via a
basic regression) at the end of the year? In other words, who was better, Berry
or the crowd?&lt;/p&gt;&lt;p&gt;I did it over a couple years (I think three) and positions (four — QB, RB, WR,
TE) and found for most of them the difference was statistically insignificant,
but for the ones that weren&apos;t, the crowd beat Berry 4-1.&lt;/p&gt;&lt;p&gt;I got this &lt;a href=&quot;http://lifehacker.com/use-the-wisdom-of-crowds-to-draft-the-best-fantasy-foot-1617837803&quot;&gt;article published on
Lifehacker&lt;/a&gt;,
whose sister site Deadspin had it up for a bit too. That night Berry was on
Keith Olbermann&apos;s show on ESPN and Olbermann asked him about it, which was funny
(Berry said he read it, but thought it was silly).&lt;/p&gt;&lt;h2&gt;Bottom Line&lt;/h2&gt;&lt;p&gt;I still like the idea of ADP as priors and weekly results as data and think
the Bayesian Fantasy Football model was ahead of its time in a lot of ways.
But it was restrictive enough that, when I developed a better approach (the
current Fantasy Math model), it made sense to scrap it.&lt;/p&gt;&lt;h3&gt;Footnotes&lt;/h3&gt;&lt;p&gt;1 — This article was
&lt;a href=&quot;https://www.reddit.com/r/fantasyfootball/comments/1pvy2t/would_like_to_take_time_to_credit_my_1st_place_72/&quot;&gt;well&lt;/a&gt;-
(&quot;changed my perspective on drafting&quot;) &lt;a href=&quot;https://www.reddit.com/r/fantasyfootball/comments/3dgfug/last_year_someone_led_me_to_a_great_drafting/&quot;&gt;recieved&lt;/a&gt; 
(&quot;made my draft significantly less stressful... went from last place ... to first&quot;) —
and I&apos;d still generally advocate drafting this way.&lt;/p&gt;]]&gt;</content:encoded>
</item>
<item>
<title>EU Carbon Market Thesis Writeup</title>
<description>thesis</description>
<link>https://nathanbraun.com/eu-carbon-market</link>
<guid>https://nathanbraun.com/eu-carbon-market</guid>
<pubDate>Wed, 08 Jul 2020 00:00:00 GMT</pubDate>
</item>
<item>
<title>Draft Pick Trade Calculator Writeup — Nathan Braun</title>
<description>draft pick trade calculator</description>
<link>https://nathanbraun.com/pickcalculator</link>
<guid>https://nathanbraun.com/pickcalculator</guid>
<pubDate>Wed, 01 Jan 2020 00:00:00 GMT</pubDate>
<content:encoded>&lt;![CDATA[&lt;h1&gt;Draft Pick Trade Calculator&lt;/h1&gt;&lt;p&gt;The Draft Pick Trade Calculator  was a tool a built in 2015 in order to (1)
help me with pre-draft pick trades and (2) learn React.&lt;/p&gt;&lt;p&gt;I still think the method behind it is theoretically sound and I might dust it
off again someday, although there were a few issues I&apos;d want to sort out.&lt;/p&gt;&lt;h2&gt;Putting a Value on Each Pick&lt;/h2&gt;&lt;p&gt;Pretend you&apos;re in an auction league — think of how much of an advantage would
it be to start with $250 when everyone else has $200. All else equal, you&apos;d
likely be the favorite heading into the season, no?&lt;/p&gt;&lt;p&gt;Or consider a head-to-head match up between two teams, one with a starting line
up of players who go (on average) for $137, the other $97. You&apos;d expect the
team with more value would win more often, right?&lt;/p&gt;&lt;p&gt;In a nutshell, this is how the pick calculator worked. Estimating the value of
draft picks is easy, all you need to do is think about the value of the player
you&apos;ll be able to pick there. Estimating the value of players is easy too, we
have the perfect metric in Average Auction Values (AAV).&lt;/p&gt;&lt;p&gt;AAV is a great proxy for the value of each pick for the same reason that index
funds are good investments. Efficient markets. Average Auction Values are
prices. They have everything we need (upside, injury risk, scarcity at
position, etc) baked in.&lt;/p&gt;&lt;p&gt;Valuing picks this way, and making trades that increase it, is a way to
effectively start off your season with a higher budget than anyone else.&lt;/p&gt;&lt;h2&gt;Translating Auction Values to Picks&lt;/h2&gt;&lt;p&gt;But how do we actually translate AAV values to picks? On the surface it seems
like we&apos;d just want to sort AAV in descending order (e.g. CMC - $55, Saquon
Barkley - $53, ...), slap those values on picks (1st OVR - $55, 2nd $53, ...) and call it a day.&lt;/p&gt;&lt;p&gt;This is close, but not exactly right.&lt;/p&gt;&lt;p&gt;Instead, we can rely on the fact that — in every individual league — SOME
players will drop. We don&apos;t know who these will be ahead of time, but — as
long as we commit to drafting value, whoever it is — we can plan on it and
value our picks accordingly.&lt;/p&gt;&lt;p&gt;The question is then, on average, what AAV can we expect at each pick? To
figure this out, I queried the MFL public API for results from more than 6000
auction and snake draft leagues to calculate what type of value we can expect
on average at each pick.&lt;/p&gt;&lt;p&gt;Here are the results:&lt;/p&gt;&lt;p&gt;&lt;img alt=&quot;Pick Value Curves&quot; src=&quot;images/pick_value.png&quot;&gt;&lt;/p&gt;&lt;p&gt;Note the different colored curves denote percentiles. The light blue line
(P50) indicates the midpoint best-player AAV (normalized to a full 12 team,
$200 budget league) you can expect available at any given pick. We can
interpret these lines as varying levels of league competitiveness. For
example, assuming every pick is very near (99 percentile) the best player
available gives us a value chart equal to the dark blue line above.&lt;/p&gt;&lt;h2&gt;League Competitiveness Plays a Role&lt;/h2&gt;&lt;p&gt;One thing this chart makes clear is the expected value of a draft pick is based
on how competitive your league is. Early picks are worth relatively more in
competitive leagues.&lt;/p&gt;&lt;p&gt;This is intuitive: the tougher a league, the quicker good players go off the
board, making later picks worth less than they’d be if no one knew what they
were doing and bargains were prevalent.&lt;/p&gt;&lt;p&gt;I thought it was a reasonable assumption that that leagues where draft pick
trading is prevalent are generally more competitive, so the calculator
assigned picks based on the 90% percentile.&lt;/p&gt;&lt;h2&gt;Caveats and Limitations&lt;/h2&gt;&lt;p&gt;Following this calculator helps increase the auction value of your &lt;em&gt;entire
roster&lt;/em&gt;. I&apos;ve noticed the calculator tends to be more in favor of trading down
that most fantasy players, and I think this is why.&lt;/p&gt;&lt;p&gt;Having a valuable whole roster is a good thing overall, but it&apos;s possible it
might lower your probability of winning — especially early in the season — by
effectively recommending you swap high caliber starters for depth. Whether
this helps you in the long depends on how you can turn that depth into
starting lineup power.&lt;/p&gt;&lt;p&gt;In leagues without a lot of trading, it might be more appropriate to judge the
impact in terms of auction amounts on your starting lineup. If I dust this off
I might add in that feature.&lt;/p&gt;&lt;p&gt;I also think the MFL auction value data might be a bit thin. Higher quality
(e.g. recent, with known scoring systems) average auction value data would
make this tool more useful.&lt;/p&gt;&lt;h2&gt;Tech&lt;/h2&gt;&lt;p&gt;This was my first project in React. I think I also used Redux. If I were to
revive it today I&apos;d use Elm.&lt;/p&gt;]]&gt;</content:encoded>
</item>
</channel>
</rss>