Ray Li https://rayli.net/ Recent content on Ray Li Hugo -- 0.149.0 en-us Sun, 01 Feb 2026 21:53:45 -0800 The hidden reason LLMs still need you in the loop https://rayli.net/posts/llm-and-you/ Sun, 01 Feb 2026 21:53:45 -0800 https://rayli.net/posts/llm-and-you/ <p><em>What engineers add that the model still can’t replicate</em></p> <p>LLMs have transformed how technical teams write, analyze and design systems. They deliver speed and reach but they also introduce instability.</p> <p>Anyone who has worked with them sees the pattern. The same prompt can produce different answers. The same reasoning chain can shift when the context window changes.</p> <p>These models are powerful but they are not stable in the way engineers expect from production systems. This inconsistency is not a narrow bug. It is a property of how these models work.</p> Feedback loops are the secret behind exponential growth https://rayli.net/posts/feedback-loops/ Fri, 05 Sep 2025 04:56:38 -0700 https://rayli.net/posts/feedback-loops/ <p>Most of us think in straight lines. One step, then another. One plus one equals two.</p> <p>But here&rsquo;s the problem&hellip;</p> <p>Life doesn&rsquo;t always work that way.</p> <h1 id="why-we-underestimate-exponential-growth">Why We Underestimate Exponential Growth</h1> <p>Our brains aren&rsquo;t wired to spot exponential patterns. We see slow, steady beginnings and shrug them off. Then it takes off - and suddenly we&rsquo;re shocked at how fast things changed.</p> <p>Think about viral videos.</p> <p>One person shares a clip with ten friends. Each of those ten shares it with ten more - now it’s a hundred. Pretty soon, millions are watching.</p> Change your perspective of the event https://rayli.net/posts/change-perspective-cognitive-reappraisal-technique/ Fri, 22 Jul 2022 07:58:36 -0700 https://rayli.net/posts/change-perspective-cognitive-reappraisal-technique/ <p>Changing your perspective is one of the hardest cognitive reappraisal techniques.</p> <p>Here are some examples of changing your perspective:</p> <ul> <li>See the event from your manager&rsquo;s perspective.</li> <li>See the event from your children&rsquo;s eyes.</li> <li>See the event from your parent&rsquo;s perspective.</li> <li>See the event as someone from another country.</li> <li>See the event as your younger self or your older self.</li> </ul> <p>Try to really put yourself in their shoes to understand and feel what they are feeling.</p> Reprioritize the event https://rayli.net/posts/reprioritize-cognitive-reappraisal-technique/ Thu, 21 Jul 2022 23:24:02 -0700 https://rayli.net/posts/reprioritize-cognitive-reappraisal-technique/ <p>Reprioritizing an event means stepping back from something that has triggered your intense emotions.</p> <p>Evaluate its priority. It&rsquo;s frequently lower priority than you probably thought at first.</p> <p>You can systematically evaluate the priority of an event by looking at its value and effort.</p> <p>How much value does this event or fixing this event have in your life? Is it top, high, medium or low value?</p> <p>How much effort does this event take up in your life to resolved? Is it high, medium or low effort?</p> Find humor in the event https://rayli.net/posts/find-humor-cognitive-reappraisal-technique/ Thu, 21 Jul 2022 23:12:14 -0700 https://rayli.net/posts/find-humor-cognitive-reappraisal-technique/ <p>I&rsquo;ve found that humor has the highest return on investment of any cognitive reappraisal technique.</p> <p>There are so many forms of humor that this reappraisal strategy is essentially unlimited in its potential.</p> <p>For me, finding humor <em>in the situation</em> is very effective, but your experience may vary.</p> <p>For example, a school kid was giving people the middle finger a few mornings. This made me quite angry, and I felt the need to do something back.</p> Normalize the event https://rayli.net/posts/normalization-cognitive-reappraisal-technique/ Thu, 21 Jul 2022 06:43:46 -0700 https://rayli.net/posts/normalization-cognitive-reappraisal-technique/ <p>Normalizing an event is one of the most powerful cognitive reappraisal techniques.</p> <p>By telling yourself that it&rsquo;s normal to feel this way, you&rsquo;re uncertainty is immediately reduced giving you a better sense of control.</p> <p>But there&rsquo;s another more powerful benefit&hellip;</p> <p>Since it&rsquo;s &ldquo;normal,&rdquo; it&rsquo;s very likely there&rsquo;s a bunch of other people who have gone through a very similar thing.</p> <p>Whether you&rsquo;re feeling disoriented and overwhelmed on a new project, burned out as a new parent or lonely as a an entrepreneur, you can probably reuse or repurpose strategies used by others who have already addressed similar events.</p> Act on your decision to reappraise https://rayli.net/posts/act-cognitive-reappraisal-technique/ Wed, 20 Jul 2022 23:09:43 -0700 https://rayli.net/posts/act-cognitive-reappraisal-technique/ <p>Once you&rsquo;ve <a href="https://rayli.net/posts/decide-cognitive-reappraisal-technique/">decided which cognitive reappraisal technique to use</a>, it&rsquo;s time to act!</p> <p>Using the easy-to-remember mnemonic (&ldquo;Never Hit or Punch a Pig&rdquo;), let&rsquo;s go through each key cognitive reappraisal strategy.</p> <ul> <li><a href="https://rayli.net/posts/normalization-cognitive-reappraisal-technique/"><strong>Normalize</strong> the event</a>.</li> <li><a href="https://rayli.net/posts/find-humor-cognitive-reappraisal-technique/">Find <strong>Humor</strong> in the event</a>.</li> <li><a href="https://rayli.net/posts/reprioritize-cognitive-reappraisal-technique/"><strong>Reprioritize</strong> the event</a>.</li> <li><a href="https://rayli.net/posts/change-perspective-cognitive-reappraisal-technique/">Change your <strong>Perspective</strong> of the event</a>.</li> </ul> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/cognitive-reappraisal-techniques/">Cognitive reappraisal techniques</a></li> </ol> Decide if this is the right perspective https://rayli.net/posts/perspective-cognitive-reappraisal-technique/ Wed, 20 Jul 2022 06:54:20 -0700 https://rayli.net/posts/perspective-cognitive-reappraisal-technique/ <p>Changing your perspective is a cognitive reappraisal technique.</p> <p>This is the hardest type of reappraisal and allows you to interpret the difficult situation from another&rsquo;s perspective.</p> <p>Once you can see the situation from another&rsquo;s perspective, it clarifies your experience and helps to regulate your emotions.</p> <p><a href="https://rayli.net/posts/change-perspective-cognitive-reappraisal-technique/">Change your perspective of the event</a>.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/decide-cognitive-reappraisal-technique/">Decide which cognitive reappraisal technique to use</a></li> </ol> Decide if this is at the right priority https://rayli.net/posts/priority-cognitive-reappraisal-technique/ Tue, 19 Jul 2022 06:53:49 -0700 https://rayli.net/posts/priority-cognitive-reappraisal-technique/ <p>Prioritizing is a cognitive reappraisal technique.</p> <p>By lowering the priority of an event, you can change how you interpret the event.</p> <p>This isn&rsquo;t about artificially claiming that an event is unimportant. If the event is important to you, then it has a high priority relative to other events.</p> <p>However, reasoning through its priority relative to other events is a great way to put the event into the context of your life.</p> Decide if this is humorous https://rayli.net/posts/humor-cognitive-reappraisal-technique/ Mon, 18 Jul 2022 07:10:55 -0700 https://rayli.net/posts/humor-cognitive-reappraisal-technique/ <p>Humor is a cognitive reappraisal technique.</p> <p>It allows you to interpret difficult situations with a laugh.</p> <p>Because you&rsquo;re reintepreting the circumstances as funny, you can more easily step away and reinterpret the situation.</p> <p>Having a chuckle about the situation creates the space for you to regulate your emotions.</p> <p><a href="https://rayli.net/posts/find-humor-cognitive-reappraisal-technique/">Find humor in the event</a>.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/decide-cognitive-reappraisal-technique/">Decide which cognitive reappraisal technique to use</a></li> </ol> Decide if this is normal https://rayli.net/posts/normalize-cognitive-reappraisal-technique/ Sun, 10 Apr 2022 19:18:21 -0700 https://rayli.net/posts/normalize-cognitive-reappraisal-technique/ <p>Normalizing is a cognitive reappraisal technique.</p> <p>It&rsquo;s essentially a way to tell yourself that it&rsquo;s normal to feel this way.</p> <p>Because you&rsquo;ve clarified your experience, you can reduce uncertainty, which in turn gives you a better sense of control.</p> <p><a href="https://rayli.net/posts/normalization-cognitive-reappraisal-technique/">Normalize the event</a>.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/decide-cognitive-reappraisal-technique/">Decide which cognitive reappraisal technique to use</a></li> </ol> Decide which cognitive reappraisal technique to use https://rayli.net/posts/decide-cognitive-reappraisal-technique/ Sat, 09 Apr 2022 20:12:26 -0700 https://rayli.net/posts/decide-cognitive-reappraisal-technique/ <p>Once you&rsquo;ve <a href="https://rayli.net/posts/diaphragmatic-breathing-benefits/">oriented yourself</a>, you must decide which cognitive reappraisal strategy to use.</p> <p>An easy way to remember the key strategies is the mnemonic <strong>Never Hit</strong> or <strong>Punch</strong> a <strong>Pig</strong>.</p> <p>The first letter of each capitalized word maps to a reappraisal strategy.</p> <ul> <li>N - <a href="https://rayli.net/posts/normalize-cognitive-reappraisal-technique/">Decide if this is <strong>Normal</strong></a>.</li> <li>H - <a href="https://rayli.net/posts/humor-cognitive-reappraisal-technique/">Decide if this is <strong>Humorous</strong></a>.</li> <li>P - <a href="https://rayli.net/posts/priority-cognitive-reappraisal-technique/">Decide if this is at the right <strong>Priority</strong></a>.</li> <li>P - <a href="https://rayli.net/posts/perspective-cognitive-reappraisal-technique/">Decide if this is the right <strong>Perspective</strong></a>.</li> </ul> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/cognitive-reappraisal-techniques/">Cognitive reappraisal techniques</a></li> </ol> Diaphragmatic breathing benefits https://rayli.net/posts/diaphragmatic-breathing-benefits/ Thu, 17 Feb 2022 07:04:41 -0800 https://rayli.net/posts/diaphragmatic-breathing-benefits/ <p>In order to orient yourself as quickly as possible, the first thing you need to do is to re-regulate your intense emotions, even if it&rsquo;s only temporary.</p> <p>To re-regulate, one of the simplest things you can do just about anywhere is diaphragmatic breathing.</p> <p>Diaphragmatic breathing is a slow, smooth and deep inhalation of air to move the diaphragm (the muscular wall beneath your lungs). This is also called paced breathing, abdominal breathing, belly breathing or centering breath.</p> T in HALT acronym represents tiredness https://rayli.net/posts/halt-acronym-tiredness/ Fri, 11 Feb 2022 06:52:56 -0800 https://rayli.net/posts/halt-acronym-tiredness/ <p>The <em>T</em> in the <a href="https://rayli.net/posts/halt-acronym/">HALT acronym</a> represents <em>tiredness</em>.</p> <p>Tiredness can be physical or emotional.</p> <p>Physical tiredness is most frequently the result of ignoring signs we need a break. You might be pushing yourself too hard by pushing aside your body&rsquo;s signals to rest.</p> <p>Emotional tiredness is the sense of drowning and being overloaded.</p> <p>For both physical and emotional tiredness, stepping away from the thing making you tired. Do nothing, vegging out or doing activities that help you to recover and recharge.</p> L in HALT acronym represents loneliness https://rayli.net/posts/halt-acronym-loneliness/ Wed, 09 Feb 2022 06:34:10 -0800 https://rayli.net/posts/halt-acronym-loneliness/ <p>The <em>L</em> in <a href="https://rayli.net/posts/halt-acronym/">HALT acronym</a> represents <em>loneliness</em>.</p> <p>Loneliness can be real or perceived isolation.</p> <p>Real physical isolation from others is beyond the scope of this post.</p> <p>Perceived isolation can frequently happen when we isolate ourselves. It might feel like others can&rsquo;t understand us. Maybe it&rsquo;s the fear of rejection, or maybe you&rsquo;re not sure if you&rsquo;ll enjoy connecting with others.</p> <p>Rather than withdrawing from others, reach out and connect with friends and family who want to see you happy and healthy.</p> A in HALT acronym represents anger https://rayli.net/posts/halt-acronym-anger/ Mon, 07 Feb 2022 07:10:23 -0800 https://rayli.net/posts/halt-acronym-anger/ <p>The <em>A</em> in the <a href="https://rayli.net/posts/halt-acronym/">HALT acronym</a> represents <em>anger</em>.</p> <p>Anger shouldn&rsquo;t be suppressed. After all, it&rsquo;s a healthy emotion.</p> <p>The keys to addressing your anger are:</p> <ol> <li>Expressing your anger in a healthy way, so that you&rsquo;re calm when addressing your anger.</li> <li>Understanding your anger triggers, so that you can address your anger before it starts.</li> </ol> <p>While dealing with your anger trigger is probably the more lasting approach, you&rsquo;ll first need to calm your anger.</p> H in HALT acronym represents hunger https://rayli.net/posts/halt-acronym-hunger/ Sat, 05 Feb 2022 07:38:43 -0800 https://rayli.net/posts/halt-acronym-hunger/ <p>The <em>H</em> in the <a href="https://rayli.net/posts/halt-acronym/">HALT acronym</a> represents <em>hunger</em>.</p> <p>This can be physical as in taking care of your nutritional needs. Hunger can also be emotional as in yearning for attention, comfort and companionship.</p> <p>To address your hunger, eat something wholesome, talk to a good friend.</p> <p>You can even do both at the same time by asking your good friend to go out or come over!</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/halt-acronym/">HALT acronym</a></li> </ol> HALT acronym https://rayli.net/posts/halt-acronym/ Fri, 04 Feb 2022 06:18:51 -0800 https://rayli.net/posts/halt-acronym/ <p>As you improve your <a href="https://rayli.net/posts/mindfulness-of-emotions-and-feelings/">mindfulness of emotions and feelings</a>, you&rsquo;ll get a sense of what triggers your intense emotions.</p> <p>Next time you feel triggered, use the HALT acronym.</p> <p>The HALT acronym stands for <strong>hungry, angry, lonely and tired</strong>.</p> <p>The HALT acronym is used for recovery in rehab programs for substance abuse.</p> <p>It&rsquo;s an easy-to-remember technique that invites you to pause and ask yourself about 4 common stressors that frequently lead to a relapse of the behaviors you&rsquo;re trying to avoid.</p> Mindfulness of emotions and feelings https://rayli.net/posts/mindfulness-of-emotions-and-feelings/ Sat, 29 Jan 2022 08:15:48 -0800 https://rayli.net/posts/mindfulness-of-emotions-and-feelings/ <p>Increasing your mindfulness of emotions and feelings puts you on the <a href="https://rayli.net/posts/cognitive-reappraisal-techniques/">path to regulating them</a>. If you aren&rsquo;t recognizing that your emotions are intense, there&rsquo;s little you can do to regulate them.</p> <p>Mindfulness of emotions is a skill and takes practice to improve.</p> <p>Below are some examples of intense emotions manifesting in concrete behaviors:</p> <ul> <li>Avoiding someone or something</li> <li>Bullying someone</li> <li>Crying</li> <li>Harming yourself</li> <li>Overdoing alcohol or drugs</li> <li>Wanting revenge</li> <li>Wanting to fight someone</li> <li>Wanting to hit someone or something</li> <li>Withdrawing from others</li> <li>Yelling at someone</li> </ul> <p>The next time you find yourself engaging in these behaviors, start noticing how you feel&hellip;</p> Cognitive reappraisal techniques https://rayli.net/posts/cognitive-reappraisal-techniques/ Mon, 24 Jan 2022 21:50:52 -0800 https://rayli.net/posts/cognitive-reappraisal-techniques/ <p>Cognitive reappraisal techniques are a cognitive change strategy. They&rsquo;re used to regulate emotion and represent ways to reinterpret events through your own lens.</p> <p>This is different from suppressing an emotion which involves keeping a lid on the emotion and hiding the emotion from others.</p> <p>Here&rsquo;s my checklist to remind myself to do this when intense emotions surface:</p> <ol> <li><a href="https://rayli.net/posts/mindfulness-of-emotions-and-feelings/">Observe your intense emotions</a>. <ul> <li><a href="https://rayli.net/posts/halt-acronym/">HALT acronym</a>.</li> <li><a href="https://rayli.net/posts/halt-acronym-hunger/">H in HALT acronym represents hunger</a>.</li> <li><a href="https://rayli.net/posts/halt-acronym-anger/">A in HALT acronym represents anger</a>.</li> <li><a href="https://rayli.net/posts/halt-acronym-loneliness/">L in HALT acronym represents loneliness</a>.</li> <li><a href="https://rayli.net/posts/halt-acronym-tiredness/">T in HALT acronym represents tiredness</a>.</li> </ul> </li> <li><a href="https://rayli.net/posts/diaphragmatic-breathing-benefits/">Orient yourself by re-regulating</a>.</li> <li><a href="https://rayli.net/posts/decide-cognitive-reappraisal-technique/">Decide which reappraisal strategy to use</a>. <ul> <li><a href="https://rayli.net/normalize-cognitive-reappraisal-technique/">Decide if this is normal</a>.</li> <li><a href="https://rayli.net/posts/humor-cognitive-reappraisal-technique/">Decide if this is humorous</a>.</li> <li><a href="https://rayli.net/posts/priority-cognitive-reappraisal-technique/">Decide if this is at the right priority</a>.</li> <li><a href="https://rayli.net/posts/perspective-cognitive-reappraisal-technique/">Decide if this is the right perspective</a>.</li> </ul> </li> <li><a href="https://rayli.net/posts/act-cognitive-reappraisal-technique/">Act on your decision</a>. <ul> <li><a href="https://rayli.net/posts/normalization-cognitive-reappraisal-technique/">Normalize the event</a>.</li> <li><a href="https://rayli.net/posts/find-humor-cognitive-reappraisal-technique/">Find humor in the event</a>.</li> <li><a href="https://rayli.net/posts/reprioritize-cognitive-reappraisal-technique/">Reprioritize the event</a>.</li> <li><a href="https://rayli.net/posts/change-perspective-cognitive-reappraisal-technique/">Change your perspective of the event</a>.</li> </ul> </li> </ol> <h1 id="external-links">External links</h1> <ol> <li><a href="https://en.wikipedia.org/wiki/OODA_loop">OODA loop - Wikipedia</a></li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/mindfulness-of-emotions-and-feelings/">Mindfulness of emotions and feelings</a></li> <li><a href="https://rayli.net/posts/reinterpreting-ideas/">Reinterpreting ideas through your own lens</a></li> </ol> Why birds can fly over Mount Everest? https://rayli.net/posts/birds-over-mount-everest/ Mon, 25 Oct 2021 06:43:14 -0700 https://rayli.net/posts/birds-over-mount-everest/ <p><a href="https://nautil.us/issue/86/energy/why-birds-can-fly-over-mount-everest">Walter Murch&rsquo;s Letter to His Grandchildren About Earth&rsquo;s History</a> is an entertaining story of our Earth that touches on birds, dinosaurs, plants, evolution, humans and eventually fossil fuels.</p> <p>Here are my 11 takeaways:</p> <ol> <li>Birds inherited super efficient lungs from dinosaurs. But why?</li> <li>The story starts with plants migrating from ocean to land and then needing to deal with gravity.</li> <li>Land plants evolved lignin to address gravity.</li> <li>During this Carboniferous age, lignin couldn&rsquo;t be decomposed.</li> <li>So the decay of lignin (hydrocarbons) produced an oxygen surge.</li> <li>Eventually, a mushroom spore evolved a special enzyme that could dissolve lignin.</li> <li>Oxidizing lignin used up a lot of oxygen and killed 95% of life on Earth.</li> <li>Dinosaurs (probably the predecessors to dinosaurs) evolved super efficient lung systems to compensate for the reduced oxygen.</li> <li>Millions of years later, humans found burning fossilized lignin releases lots of energy.</li> <li>Humans have fossil fuels due to nature&rsquo;s inability to breakdown lignin.</li> <li>Humans are burning fossil fuels 500,000X faster than they were deposited.</li> </ol> <p>The lack of the mushroom spore with the special enzyme and fossil fuels being the result of an <a href="https://www.scientificamerican.com/article/mushroom-evolution-breaks-down-lignin-slows-coal-formation/">inability to breakdown lignin</a> is interesting. However, it still appears to be <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4780611/">up for debate</a>.</p> export-highlights for Instapaper https://rayli.net/posts/export-highlights/ Sat, 06 Feb 2021 15:14:34 -0800 https://rayli.net/posts/export-highlights/ <h1 id="whats-the-need">What&rsquo;s the need?</h1> <p>The key need is to be able to quickly export highlights from articles bookmarked in Instapaper at the command-line.</p> <h1 id="whats-the-approach">What&rsquo;s the approach?</h1> <p>The approach is to leverage the <a href="https://www.instapaper.com/api">Instapaper API</a> to quickly extract the highlights from a bookmarked article into a text stream.</p> <h1 id="what-are-the-benefits">What are the benefits?</h1> <p>Leveraging Instapaper&rsquo;s programmatic API makes exporting highlights effortless. <a href="https://en.wikiquote.org/wiki/Doug_McIlroy">Generating a text stream</a> means this output can be piped to other tools or apps and manipulated in an infinite number of ways.</p> The mindfulness conspiracy https://rayli.net/posts/mindfulness-conspiracy/ Sun, 03 Jan 2021 22:26:58 -0800 https://rayli.net/posts/mindfulness-conspiracy/ <p>In Ronald Purser&rsquo;s <a href="https://www.theguardian.com/lifeandstyle/2019/jun/14/the-mindfulness-conspiracy-capitalist-spirituality">The mindfulness conspiracy (The Guardian)</a>, he writes about a fascinating perspective on the mindfulness genre.</p> <p>Here are my 6 takeaways from the article:</p> <ol> <li>Mindfulness says paying closer attention to the present resolves our suffering.</li> <li>Mindfulness has been stripped of the accompanying teachings e.g. attachment to self, compassion.</li> <li>Mindfulness advocates are unwittingly supporting the capitalistic monetisation of our attention which mindfulness purportedly solves.</li> <li>Mindfulness attempts to deal with the symptoms (lack of focused attention) without addressing the cause (monetisation of our attention).</li> <li>Mindfulness reframes troubles as the result of individual action rather than systemic conditions.</li> <li>Neoliberalism wants pure market logic and mindfulness says &ldquo;okay, here&rsquo;s how you can focus on competing so you don&rsquo;t think too hard about the social and political conditions that brought about the suffering.&rdquo;</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/social-darwinism/">Neutralizing social Darwinism</a></li> <li><a href="https://rayli.net/posts/mindfulness-of-emotions-and-feelings/">Mindfulness of emotions and feelings</a></li> </ol> Components of BioNTech/Pfizer vaccine https://rayli.net/posts/pfizer-vaccine-components/ Mon, 28 Dec 2020 10:44:13 -0800 https://rayli.net/posts/pfizer-vaccine-components/ <p>The 6 key components of the BioNTech/Pfizer vaccine are the cap, 5&rsquo;-UTR, signal peptide, spike protein, 3&rsquo;-UTR and a poly-A tail.</p> <ol> <li>The cap makes the vaccine mRNA look legitimate.</li> <li>The 5&rsquo;-UTR helps with immune system evasion and translation.</li> <li>The signal peptide says this protein should exit via the endoplasmic reticulum (just like SARS-CoV-2).</li> <li>The spike protein is almost identical to the SARS-CoV-2 spike except for 2 proline substitutions.</li> <li>The 3&rsquo;-UTR is chosen for RNA stability and expression.</li> <li>The poly-A tail protects the mRNA from degradation.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/reverse-engineer-vaccine/">Reverse engineering the BioNTech/Pfizer vaccine</a></li> </ol> Reverse engineering the BioNTech/Pfizer vaccine https://rayli.net/posts/reverse-engineer-vaccine/ Mon, 28 Dec 2020 09:56:26 -0800 https://rayli.net/posts/reverse-engineer-vaccine/ <p>In <a href="https://berthub.eu/articles/posts/reverse-engineering-source-code-of-the-biontech-pfizer-vaccine/">Reverse Engineering the source code of the BioNTech/Pfizer SARS-CoV-2 Vaccine</a>, Bert Hubert breaks down the mechanism and key components of the BioNTech/Pfizer RNA vaccine.</p> <p>Here are the key ideas I took away from this fantastic article:</p> <ol> <li>The mRNA vaccine encodes the SARS-CoV-2 spike which generates an immune response.</li> <li>mRNA is fragile and must be stored in deep freeze.</li> <li>The vaccine consists of <a href="https://rayli.net/posts/pfizer-vaccine-components/">6 high-level components</a>.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/zanny-billg-interview/">Zanny Minton Beddoes interviews Bill Gates about COVID-19</a></li> </ol> Information-action fallacy https://rayli.net/posts/information-action-fallacy/ Wed, 16 Dec 2020 22:40:17 -0800 https://rayli.net/posts/information-action-fallacy/ <p>BJ Fogg&rsquo;s video <a href="https://vimeo.com/379122751">Information -&gt; Action Fallacy</a> opened my eyes to why giving people better information won&rsquo;t reliably change their behavior.</p> <p>Here are the 4 key takeaways:</p> <ol> <li>The fallacy is that giving people better information leads to attitude change which then leads to behavior change.</li> <li>Better information doesn&rsquo;t reliably lead to attitude change.</li> <li>Attitude change doesn&rsquo;t reliably lead to behavior change.</li> <li>Changing behavior more reliably leads to attitude change.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/constitution-of-knowledge/">The constitution of knowledge</a></li> <li><a href="https://rayli.net/posts/judging-truth/">Judging truth</a></li> </ol> <h1 id="external-links">External links</h1> <ol> <li><a href="https://www.tinyhabits.com/">BJ Fogg | Tiny Habits</a></li> </ol> README driven development https://rayli.net/posts/readme-driven-development/ Tue, 15 Dec 2020 19:51:03 -0800 https://rayli.net/posts/readme-driven-development/ <p><a href="https://tom.preston-werner.com/2010/08/23/readme-driven-development.html">Readme Driven Development</a> written by Tom Preston-Werner in 2010 is a timeless post about using a README to scope a project and collaborate with others.</p> <p>Here are the 4 key ideas I got from the post:</p> <ol> <li>Your README is the most important document in your codebase.</li> <li>So write your README first.</li> <li>A README constrains you to single file which makes it a short, light-weight and not-too-precise introduction to your code.</li> <li>A README helps with discussion and collaboration.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/weekly-incremental-value/">Weekly incremental value</a></li> </ol> Life is poker, not chess https://rayli.net/posts/poker-not-chess/ Tue, 08 Dec 2020 07:06:57 -0800 https://rayli.net/posts/poker-not-chess/ <p>Here are the key insights I took from chapter 1 of Annie Duke&rsquo;s <a href="https://www.amazon.com/Thinking-Bets-Making-Smarter-Decisions/dp/0735216355">Thinking in Bets</a>:</p> <ol> <li>Resulting is the tendency to say a decision was good when the result is good.</li> <li>Chess involves very little luck so it&rsquo;s not a good model of life.</li> <li>Poker is the sum of decision quality and luck.</li> <li>Our lives are the sum of decision quality and luck.</li> <li>A few outcomes is not enough to measure decision quality.</li> <li>A great decision is the result of a great process.</li> <li>When a less likely outcome happens, it doesn&rsquo;t mean we&rsquo;re wrong.</li> <li>Similarly, when a more likely outcome happens, it doesn&rsquo;t mean we&rsquo;re right.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/wanna-bet/">Wanna bet?</a></li> </ol> Wanna bet? https://rayli.net/posts/wanna-bet/ Fri, 04 Dec 2020 20:42:55 -0800 https://rayli.net/posts/wanna-bet/ <p>Here are my key takeaways from chapter 2 of Annie Duke&rsquo;s <a href="https://www.amazon.com/Thinking-Bets-Making-Smarter-Decisions/dp/0735216355">Thinking in Bets</a>:</p> <ol> <li>Everything is a bet.</li> <li>Skill in life is learning to be better belief calibrator.</li> <li>Our default is to believe what we hear.</li> <li>We generally process information by altering our interpretation to fit our beliefs.</li> <li>Motivated reasoning is when a belief is lodged and remains unchallenged.</li> <li>Fake news is a planted false story that is meant to amplify existing beliefs.</li> <li>Disinformation has some truth with powerful spin.</li> <li>Being smarter, more aware or better with data doesn&rsquo;t help overcome bias.</li> <li>View the world through lens of &ldquo;wanna bet?&rdquo;</li> <li>Communicating uncertainty advances knowledge and invites dialogue.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/constitution-of-knowledge/">The constitution of knowledge</a></li> <li><a href="https://rayli.net/posts/poker-not-chess/">Life is poker, not chess</a></li> <li><a href="https://rayli.net/posts/judging-truth/">Judging truth</a></li> <li><a href="https://rayli.net/posts/disinformation-hacks-brain/">How disinformation hacks your brain</a></li> </ol> Writing is the only thing that matters https://rayli.net/posts/writing-is-only-thing/ Wed, 25 Nov 2020 21:09:33 -0800 https://rayli.net/posts/writing-is-only-thing/ <p>In chapter 5 of <a href="https://www.amazon.com/How-Take-Smart-Notes-Nonfiction-ebook/dp/B06WVYW33Y">How to Take Smart Notes</a>, 2 of my favorite ideas from Sönke Ahrens are:</p> <ol> <li>Truth results from the scientific exchange of written ideas.</li> <li>Do everything as if nothing counts other than writing.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/judging-truth/">Judging truth</a></li> <li><a href="https://rayli.net/posts/stop-collecting/">Stop collecting, and start producing</a></li> <li><a href="https://rayli.net/posts/elaboration-experiment/">Elaborate by thinking, writing and connecting</a></li> </ol> Judging truth https://rayli.net/posts/judging-truth/ Wed, 25 Nov 2020 11:11:47 -0800 https://rayli.net/posts/judging-truth/ <p>In <a href="https://www.annualreviews.org/doi/abs/10.1146/annurev-psych-010419-050807">Judging Truth (Annual Review of Psychology)</a>, the authors make the claim that truth judgments are constructed and reflect inferences drawn from 3 types of information:</p> <ol> <li>Base rates</li> <li>Feelings</li> <li>Consistency with information retrieved from memory</li> </ol> <p>Each of the three inferences usually increases accuracy.</p> <p>However, specific kinds of errors can result from each class of inference.</p> <ol> <li>People tend to accept incoming information from the environment as true.</li> <li>People tend to interpret feelings as evidence of truth.</li> <li>People tend to favor consistency with facts and memory.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/american-abyss/">American abyss</a></li> <li><a href="https://rayli.net/posts/information-action-fallacy/">Information-action fallacy</a></li> <li><a href="https://rayli.net/posts/constitution-of-knowledge/">The constitution of knowledge</a></li> <li><a href="https://rayli.net/posts/wanna-bet/">Wanna bet?</a></li> <li><a href="https://rayli.net/posts/writing-is-only-thing/">Writing is the only thing that matters</a></li> <li><a href="https://rayli.net/posts/disinformation-hacks-brain/">How disinformation hacks your brain</a></li> </ol> How disinformation hacks your brain https://rayli.net/posts/disinformation-hacks-brain/ Tue, 24 Nov 2020 19:34:33 -0800 https://rayli.net/posts/disinformation-hacks-brain/ <p>The 5 key insights I got from Brett Beasley&rsquo;s <a href="https://blogs.scientificamerican.com/observations/how-disinformation-hacks-your-brain/">How Disinformation Hacks Your Brain (Scientific American)</a> are:</p> <ol> <li><a href="https://en.wikipedia.org/wiki/Illusory_truth_effect">Illusory truth effect</a> says repeated claims are more believable.</li> <li>We often accept claims as true when they fit with our memories.</li> <li>Search algorithms return results based on keywords not truth.</li> <li>We will soon consume more false media than truth.</li> <li>Become a fact checker or rely on crowdsourced fact checkers.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/wanna-bet/">Wanna bet?</a></li> <li><a href="https://rayli.net/posts/judging-truth/">Judging truth</a></li> </ol> <h1 id="external-links">External links</h1> <ol> <li><a href="https://en.wikipedia.org/wiki/Illusory_truth_effect">Illusory truth effect - Wikipedia</a></li> </ol> Come up with a partial solution https://rayli.net/posts/partial-solution/ Sat, 21 Nov 2020 08:12:52 -0800 https://rayli.net/posts/partial-solution/ <p>Coming up with a partial solution can be a great way to breakdown a complex problem.</p> <p>Sometimes the partial solution becomes part of your final solution.</p> <p>Sometimes a partial solution helps you explore the more complex problem so that you can apply other problem-solving strategies.</p> <p>Sometimes the partial solution is enough. The original problem still exists, but now you can live with it.</p> <p>A partial solution is usually better than no solution.</p> Solve an extreme example of the problem https://rayli.net/posts/extreme-example/ Sun, 15 Nov 2020 21:03:29 -0800 https://rayli.net/posts/extreme-example/ <p>To breakdown a complex problem, you can try solving an extreme example of the problem.</p> <p>The solution for the extreme case will likely be part of your final solution. It will also help to set the bounds of your final solution.</p> <p>So find some aspect of your complex problem that&rsquo;s bugging you and getting in your way.</p> <p>Solve it.</p> <p>If you want to push this strategy further, exaggerate that aspect of the problem.</p> Solve a concrete example of your problem https://rayli.net/posts/concrete-example/ Sat, 14 Nov 2020 15:31:33 -0800 https://rayli.net/posts/concrete-example/ <p>Solving a concrete example of your problem helps you to explore the problem and breakdown a complex problem.</p> <p>This strategy will often get you much closer to the more general solution.</p> <p>Try out a few concrete examples to see if there&rsquo;s a pattern in the solutions.</p> <p>If you see a pattern, that&rsquo;s perfect!</p> <p>If there&rsquo;s no clear pattern, that works, too. You&rsquo;ve learned a ton about the problem.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/breakdown-problem/">Breakdown the problem</a></li> </ol> Come up with an incorrect solution https://rayli.net/posts/incorrect-solution/ Sat, 31 Oct 2020 18:04:17 -0800 https://rayli.net/posts/incorrect-solution/ <p>When you&rsquo;re having trouble breaking down a complex problem, coming up with an incorrect solution can help.</p> <p>So start with a solution that you know is incorrect.</p> <p>Now&hellip;</p> <p>How would you correct the solution?</p> <p>Correcting the incorrect solution is a new problem, and that&rsquo;s exactly what you want!</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/breakdown-problem/">Breakdown the problem</a></li> </ol> StackBacks automated budget system https://rayli.net/posts/stackbacks/ Sat, 31 Oct 2020 08:34:44 -0700 https://rayli.net/posts/stackbacks/ <p>I&rsquo;ve been using a variation of the budgeting system described in <a href="https://web.archive.org/web/20090206134945/http://stackbacks.com/blog/wp-content/uploads/2006/01/stackbacks_budget.pdf">StackBacks Automated Budget System (Wayback Machine)</a> for many years now.</p> <p>It&rsquo;s super simple to setup.</p> <p>Here&rsquo;s a summary of the 3 key points from the PDF:</p> <ol> <li>Budgeting should be automated.</li> <li>The 2 types of expenses are planned and unplanned.</li> <li>To setup the system, figure out your expenses, setup your account and then setup the flow.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/is-inequality-inevitable/">Is inequality inevitable?</a></li> <li><a href="https://rayli.net/posts/better-schools/">Better schools won&rsquo;t fix America</a></li> </ol> Overlooked variable is key to pandemic https://rayli.net/posts/overlooked-pandemic-variable/ Sat, 24 Oct 2020 19:28:45 -0700 https://rayli.net/posts/overlooked-pandemic-variable/ <p><a href="https://www.theatlantic.com/health/archive/2020/09/k-overlooked-variable-driving-pandemic/616548/">K: The Overlooked Variable That&rsquo;s Driving the Pandemic (The Atlantic)</a> is a fascinating approach to addressing a key spreader of the pandemic: super-spreading events.</p> <p>Here are 6 key takeaways from Zeynep Tufekci&rsquo;s article:</p> <ol> <li>The overlooked variable is K, and it measures whether a virus spreads steadily or in bursts.</li> <li>We should be targeting clusters (a.k.a. super-spreading events) to reduce transmission numbers.</li> <li>Use backward tracing to trace 2-3X more cases than traditional forward tracing.</li> <li>Use fast, cheap, low-sensitivity tests to identify clusters.</li> <li>Sweden didn&rsquo;t lockdown but instead targeted super-spreading.</li> <li>Japan committed to cluster-busting.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/plan-to-give-us-lives-back/">The plan that could give us our lives back</a></li> </ol> <h1 id="external-links">External links</h1> <ol> <li><a href="https://www.theguardian.com/world/2020/jun/01/k-number-what-is-coronavirus-metric-crucial-lockdown-eases">K number: what is the coronavirus metric that could be crucial as lockdown eases? (The Guardian)</a></li> </ol> My research background https://rayli.net/posts/research-background/ Sat, 24 Oct 2020 12:39:26 -0700 https://rayli.net/posts/research-background/ <p>I was awarded runner-up at the Long Island Software Awards (LISA) for a Java desktop application.</p> <p>I led the migration to AJAX for Marine Biology JSP web application. I learned how to use Java-based DWR AJAX technology for integration into a JSP application.</p> <p>I built Debian-based Linux web server from scratch on a VPS hosted VM.</p> <p>I was selected from group of approximately 100 to develop Chemistry student-learning system (LUCID).</p> Developing Office Win32 software https://rayli.net/posts/office-win32-development/ Sat, 24 Oct 2020 12:23:55 -0700 https://rayli.net/posts/office-win32-development/ <p>I designed and delivered a C++ feature &ldquo;AutoSave App-wide Setting&rdquo; for Word, Excel and Powerpoint. This is used by tens of thousands of customers every day to improve their AutoSave experience.</p> <p>I delivered a C++ feature &ldquo;Encourage AutoSave Teaching UI&rdquo; for Excel and Powerpoint. This is helping customers every day discover AutoSave.</p> <p>I eliminated 2 of the top crashes affecting Word, Excel and Powerpoint due to reentrancy and request cancellation. This affected tens of thousands of customers every day and were 2 of the longest unsolved crashes.</p> Working with Office test automation https://rayli.net/posts/office-test-automation/ Sat, 24 Oct 2020 11:04:51 -0700 https://rayli.net/posts/office-test-automation/ <p>I delivered a C# tool to identify and eliminate top failing tests. This tool (and a process I developed) affects every engineer on File I/O by reducing the noise of flaky tests.</p> <p>I delivered JavaScript/KendoUI Validation Dashboard for signing off on monthly releases. This is used by management to assess the risk of a new monthly release.</p> <p>I delivered a backdoor hybrid C++/C# lock API to enable Excel automation. This API is heavily used by engineers throughout Office to test locks.</p> Working in the Health Solutions Group https://rayli.net/posts/hsg-work/ Sat, 24 Oct 2020 08:55:53 -0700 https://rayli.net/posts/hsg-work/ <p>I worked at <a href="https://rayli.net/posts/microsoft-work/">Microsoft</a> as an SDET2 in the <a href="http://en.wikipedia.org/wiki/Microsoft_Amalga">Health Solutions Group</a> from Jun-2010 to Feb-2012.</p> <p>I delivered end-to-end testing of Quality Measurement Module (QMM).</p> <p>I reduced execution time of a C# test suite by 30% using a binary caching strategy.</p> <p>I designed and implemented a message generator using C# to achieve 100% edge coverage of a set of CMS state flow diagrams.</p> <p>I delivered a suite of PowerShell scripts to find 300+ bugs in a look-up table implementation.</p> Working in Engineering Excellence https://rayli.net/posts/ee-work/ Sat, 24 Oct 2020 08:46:40 -0700 https://rayli.net/posts/ee-work/ <p>I worked at <a href="https://rayli.net/posts/microsoft-work/">Microsoft</a> as an SDET2 in Engineering Excellence from Mar-2012 to Mar-2014.</p> <p>I designed and delivered a C# web service test solution. This allowed the feature crew to gain confidence that the new web service had parity with the old web service.</p> <p>I designed and delivered a C#/SQL Server test solution for verification of a file upload. This allowed the team to gain confidence over a broad set of real-life customer data.</p> Working in the Office Division https://rayli.net/posts/office-work/ Sat, 24 Oct 2020 08:39:38 -0700 https://rayli.net/posts/office-work/ <p>I&rsquo;m currently working at <a href="https://rayli.net/posts/microsoft-work/">Microsoft</a> as a Senior Software Engineer in the <a href="https://office.microsoft.com">Office Division</a> since Apr-2014.</p> <ul> <li><a href="https://rayli.net/posts/office-win32-development/">Office Win32 development</a></li> <li><a href="https://rayli.net/posts/office-test-automation/">Office C++/C# test automation</a></li> </ul> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/microsoft-work/">Working at Microsoft</a></li> </ol> Working at Microsoft https://rayli.net/posts/microsoft-work/ Sat, 24 Oct 2020 08:31:23 -0700 https://rayli.net/posts/microsoft-work/ <p>I&rsquo;ve been working at <a href="https://microsoft.com">Microsoft</a> since Jun-2010. Here are the teams I&rsquo;ve worked on:</p> <ul> <li><a href="https://rayli.net/posts/office-work/">Office (2014-Present)</a></li> <li><a href="https://rayli.net/posts/ee-work/">Engineering Excellence (2012-2014)</a></li> <li><a href="https://rayli.net/posts/hsg-work/">Health Solutions Group (2010-2012)</a></li> </ul> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/resume/">My resume</a></li> </ol> Working at White Oak Technologies https://rayli.net/posts/white-oak-work/ Sat, 24 Oct 2020 08:25:43 -0700 https://rayli.net/posts/white-oak-work/ <p>I worked as a Senior Computer Scientist at <a href="http://woti.com/">White Oak</a> from May-2009 to Jun-2010.</p> <p>I achieved 3X speed increase for automated builds as well as increased reliability.</p> <p>I improved testing of an upload tool by building a PyUnit test automation framework.</p> <p>I reviewed the team&rsquo;s testing procedures and suggested areas for improvement.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/resume/">My resume</a></li> </ol> Working at Mount Sinai Medical Center https://rayli.net/posts/mount-sinai-work/ Sat, 24 Oct 2020 08:16:07 -0700 https://rayli.net/posts/mount-sinai-work/ <p>I worked as a Senior Programmer Analyst at <a href="http://mountsinai.org/">Mount Sinai Medical Center</a> from Nov-2007 to Apr-2009.</p> <p>I designed and delivered a Tablet PC application using .NET C#, WinForms and NHibernate/MySQL and collaborated across health professionals and IT.</p> <p>I also launched the division&rsquo;s first intranet clinical website.</p> <p>I was retained as a consultant for over 2 additional years from Apr-2009 to Jul-2011.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/resume/">My resume</a></li> </ol> Working at Stony Brook Medical Center https://rayli.net/posts/stony-brook-work/ Sat, 24 Oct 2020 07:51:14 -0700 https://rayli.net/posts/stony-brook-work/ <p>I worked as Lead Programmer Analyst at <a href="http://stonybrookmedicalcenter.org/">Stony Brook Medical Center</a> from Feb-2006 to Nov-2007.</p> <p>I delivered a multi-threaded Java application for use in the operating room using Java Swing and RMI.</p> <p>I automated the monitoring of over 20 Oracle 10G databases using Java, Python and PL/SQL.</p> <p>I also developed and implemented a distributed architecture making heavy use of Oracle Streams.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/resume/">My resume</a></li> </ol> Working at LifeTree Technology https://rayli.net/posts/lifetree-work/ Sat, 24 Oct 2020 07:43:03 -0700 https://rayli.net/posts/lifetree-work/ <p>I worked at LifeTree Technology from Feb-2001 to Feb-2006.</p> <p>I was a Software Developer and was promoted in 1 year to Project Manager in a start-up environment.</p> <p>I led the .NET migration of a clinical trial web application written originally written in ASP. The migrated app uses ASP.NET, C#, CSS, JavaScript and SQL Server.</p> <p>I also delivered a Windows Service solution for DPAPI connection string encryption to address security vulnerability using ASP and C#.</p> My education background https://rayli.net/posts/education-background/ Sat, 24 Oct 2020 07:33:33 -0700 https://rayli.net/posts/education-background/ <p>I graduated with a Masters of Science in <a href="http://bioinformatics.jhu.edu/">Bioinformatics</a> from <a href="http://www.johnshopkins.edu/">Johns Hopkins University</a> with a GPA of 3.9.</p> <p>I graduated with a Bachelors and Masters of Science in <a href="http://www.cs.sunysb.edu/">Computer Science</a> from <a href="http://sunysb.edu/">SUNY at Stony Brook</a> with a GPA of 3.8.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/resume/">My resume</a></li> <li><a href="https://rayli.net/posts/better-schools/">Better schools won&rsquo;t fix America</a></li> </ol> Neutralizing social Darwinism https://rayli.net/posts/social-darwinism/ Fri, 23 Oct 2020 09:05:21 -0700 https://rayli.net/posts/social-darwinism/ <p>Social Darwinism is the application of natural selection to sociology, economics and politics.</p> <p>Our society exhibits natural selection or survival of the fittest where &ldquo;fit&rdquo; is defined as things that give you access to more resources.</p> <p>While we may observe this in our society, most of us don&rsquo;t want to live in a world where social Darwinism is allowed everywhere. For example, variations of social Darwinism have been used to justify some horrifying things e.g. Nazi Germany, Japanese Imperialism.</p> Why blog? https://rayli.net/posts/why-blog/ Sat, 17 Oct 2020 20:58:29 -0700 https://rayli.net/posts/why-blog/ <p>I blog to learn, teach and grow.</p> <p>I love finding a problem, letting others know I&rsquo;m going after it, iterating over various solutions (especially using data!) and then sitting back to see the problem solved (this is my <a href="http://www.amazon.com/gp/product/1881052702/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&amp;camp=1789&amp;creative=9325&amp;creativeASIN=1881052702&amp;linkCode=as2&amp;tag=rayli0d-20&amp;linkId=IZBTNODLHWMBSEHN">high performance pattern</a>).</p> <p>Frequently, I&rsquo;m not the only one encountering these problems, and so I share my solutions with you.</p> <p>Ultimately, my hope is for you and I to be better every day.</p> Short bio https://rayli.net/bio/ Sat, 17 Oct 2020 20:49:02 -0700 https://rayli.net/bio/ <p><a href="https://rayli.net/">Ray Li</a> is a software engineer and data enthusiast who has been blogging at <a href="https://rayli.net/">rayli.net</a> and <a href="https://hackerbits.com/blog/">hackerbits.com</a> for over a decade. He loves to learn, teach and grow. You&rsquo;ll usually find him wrangling data, programming and lifehacking.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/about/">About me</a></li> </ol> Disclaimer https://rayli.net/posts/disclaimer/ Sat, 17 Oct 2020 20:43:36 -0700 https://rayli.net/posts/disclaimer/ <p>The opinions expressed on this blog are my own personal opinions and do not represent my employer&rsquo;s view in any way.</p> <p>rayli.net has affiliate partnerships e.g. Amazon. These do not influence editorial content, though rayli.net may earn commissions for products purchased via affiliate links.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/about/">About me</a></li> </ol> Writing https://rayli.net/writing/ Sat, 17 Oct 2020 08:30:04 -0700 https://rayli.net/writing/ <!-- raw HTML omitted --> <pre><code>&lt;li&gt; &lt;a href=https://rayli.net/tags/ai/ title=&quot;All writing tagged with: ai&quot;&gt;Ai&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/blogging/ title=&quot;All writing tagged with: blogging&quot;&gt;Blogging&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/climate/ title=&quot;All writing tagged with: climate&quot;&gt;Climate&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/coronavirus/ title=&quot;All writing tagged with: coronavirus&quot;&gt;Coronavirus&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/education/ title=&quot;All writing tagged with: education&quot;&gt;Education&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/experiments/ title=&quot;All writing tagged with: experiments&quot;&gt;Experiments&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/inequality/ title=&quot;All writing tagged with: inequality&quot;&gt;Inequality&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/money/ title=&quot;All writing tagged with: money&quot;&gt;Money&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/office/ title=&quot;All writing tagged with: office&quot;&gt;Office&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/productivity/ title=&quot;All writing tagged with: productivity&quot;&gt;Productivity&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/programming/ title=&quot;All writing tagged with: programming&quot;&gt;Programming&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/thinking/ title=&quot;All writing tagged with: thinking&quot;&gt;Thinking&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/truth/ title=&quot;All writing tagged with: truth&quot;&gt;Truth&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/work/ title=&quot;All writing tagged with: work&quot;&gt;Work&lt;/a&gt; &lt;/li&gt; &lt;li&gt; &lt;a href=https://rayli.net/tags/zettelkasten/ title=&quot;All writing tagged with: zettelkasten&quot;&gt;Zettelkasten&lt;/a&gt; &lt;/li&gt; </code></pre> <!-- raw HTML omitted --> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/">All posts</a></li> </ol> Find a simpler problem https://rayli.net/posts/simpler-problem/ Fri, 16 Oct 2020 15:07:25 -0800 https://rayli.net/posts/simpler-problem/ <p>Solving a simpler problem gets you closer to what your world looks like if your problem was solved.</p> <p>Solving the simpler problem either tells you more about the original problem, or helps you break it down by presenting you with a new problem.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/breakdown-problem/">Breakdown the problem</a></li> </ol> Breakdown the problem https://rayli.net/posts/breakdown-problem/ Fri, 16 Oct 2020 08:40:20 -0800 https://rayli.net/posts/breakdown-problem/ <p>If you&rsquo;re having trouble breaking down a problem into solvable chunks, here are 5 ways to get you unblocked:</p> <ol> <li><a href="https://rayli.net/posts/simpler-problem/">Solve a simpler problem</a>.</li> <li><a href="https://rayli.net/posts/incorrect-solution/">Come up with a solution that&rsquo;s incorrect</a>.</li> <li><a href="https://rayli.net/posts/concrete-example/">Solve a concrete example of the problem</a>.</li> <li><a href="https://rayli.net/posts/extreme-example/">Solve an extreme example of the problem</a>.</li> <li><a href="https://rayli.net/posts/partial-solution">Come up with a partial solution</a>.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/weekly-chunks/">Deliver weekly chunks</a></li> </ol> Better schools won't fix America https://rayli.net/posts/better-schools/ Sat, 10 Oct 2020 08:45:33 -0700 https://rayli.net/posts/better-schools/ <p><a href="https://www.theatlantic.com/magazine/archive/2019/07/education-isnt-enough/590611/">Better Public Schools Won’t Fix Income Inequality (The Atlantic)</a> is one of those belief-altering articles that completely changed my thoughts around education.</p> <p>Here are 8 of Nick Hanauer&rsquo;s most powerful points:</p> <ol> <li>Educationism is the idea that poverty and inequality can be solved with education.</li> <li>Education-reform ignores the greatest driver of student achievement: household income.</li> <li>Great public schools don&rsquo;t create a thriving middle class, great public schools are a product of thriving middle class.</li> <li>Income inequality has exploded despite education progress.</li> <li>The lower the parent&rsquo;s income, the lower the educational attainment.</li> <li>Educationists ignore the disease (economic inequality) and focus on the symptom (education inequality).</li> <li>Limited family income is difficult to overcome even for students that are naturally gifted.</li> <li>Pay the average worker more, and you will create a thriving middle class that addresses both economic and educational inequality.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/stackbacks/">StackBacks automated budget system</a></li> <li><a href="https://rayli.net/posts/is-inequality-inevitable/">Is inequality inevitable?</a></li> <li><a href="https://rayli.net/posts/stop-collecting/">Stop collecting, and start producing</a></li> </ol> Who rules America? https://rayli.net/posts/who-rules-america/ Sat, 03 Oct 2020 07:51:20 -0700 https://rayli.net/posts/who-rules-america/ <p>In G. William Domhoff&rsquo;s piece <a href="https://whorulesamerica.ucsc.edu/power/wealth.html">Who Rules America: Wealth, Income, and Power</a>, he makes 8 compelling points that should make you wonder whether you truly understand where you stand in America:</p> <ol> <li>Wealth is the value of what you own while income is what you earn.</li> <li>Wealth is highly concentrated in just a few hands in the US.</li> <li>Wealth leads to power, and power leads to wealth.</li> <li>US is a power pyramid with the bottom 80-90% having no power.</li> <li>Tax cuts on capital gains and dividends benefits only the top Americans who get the majority of their income from capital gains and dividends.</li> <li>The US has both wealth and income highly concentrated.</li> <li>In the US, taxes and transfer payments reduce inequality but not much.</li> <li>CEOs generally get the salary they think they deserve.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/social-darwinism/">Neutralizing social Darwinism</a></li> <li><a href="https://rayli.net/posts/is-inequality-inevitable/">Is inequality inevitable?</a></li> </ol> Deliver weekly chunks https://rayli.net/posts/weekly-chunks/ Sat, 19 Sep 2020 21:41:34 -0700 https://rayli.net/posts/weekly-chunks/ <p>Okay, so that&rsquo;s <a href="https://rayli.net/posts/deliver-incremental-value/">incremental value</a>.</p> <p>You might be wondering&hellip;</p> <p>Why every week?</p> <p>Taking control and delivering incremental value every week is one of the single most effective ways to focus your work on your project.</p> <p>If you can figure out how to deliver a thing of value every week on the project you&rsquo;re working on, you can pretty much tackle anything.</p> <p>It sounds simple, but to be honest, it&rsquo;s also really difficult.</p> Deliver incremental value https://rayli.net/posts/deliver-incremental-value/ Sat, 19 Sep 2020 21:38:17 -0700 https://rayli.net/posts/deliver-incremental-value/ <p>Delivering incremental value is the secret to supercharging your results.</p> <p>Not only do people benefit from seeing the thing being delivered incrementally, you can also learn whether you&rsquo;re heading in the right direction before investing too much.</p> <p>In the world of software development, incremental value doesn&rsquo;t have to be a commit (although that&rsquo;s probably the best kind of value). It could be a demo-able prototype, a plan, documenting something, etc.</p> Weekly incremental value https://rayli.net/posts/weekly-incremental-value/ Sat, 19 Sep 2020 21:20:12 -0700 https://rayli.net/posts/weekly-incremental-value/ <p>A simple, repeatable system for doing great work on your team is to:</p> <ol> <li>Take a problem on your team.</li> <li>Work on it.</li> <li>Make it go away for your team.</li> <li>Ask for another problem.</li> <li>Then repeat steps 1-4.</li> </ol> <p>I think this is a great system. It&rsquo;s super simple, but simple doesn&rsquo;t mean easy.</p> <p>It&rsquo;s made more difficult because there&rsquo;s a thing missing&hellip;</p> <p>How do you do those steps within the context of the problems and projects you work on?</p> Disturbing milestone https://rayli.net/posts/disturbing-milestone/ Thu, 03 Sep 2020 16:08:51 -0700 https://rayli.net/posts/disturbing-milestone/ <p>In Jake Johnson&rsquo;s Common Dreams piece <a href="https://www.commondreams.org/news/2020/08/17/disturbing-milestone-just-12-us-billionaires-now-own-more-1-trillion-combined-wealth">Disturbing Milestone (Common Dreams)</a>, he details:</p> <ol> <li>The top 12 American billionaires now own more than $1 trillion in wealth.</li> <li>That&rsquo;s a lot of economic and political power in the hands of just 12 people.</li> <li>Their combined wealth soared by $283 billion due to the coronavirus spread.</li> <li>While the top 12 are profiting, tens of millions of Americans are either unemployed or close to unemployed.</li> </ol> <p>While the top 12 likely obeyed US laws, it&rsquo;s worth asking the question:</p> What is the affine wealth model? https://rayli.net/posts/affine-wealth-model/ Wed, 02 Sep 2020 21:07:30 -0700 https://rayli.net/posts/affine-wealth-model/ <p>Key characteristics of the affine wealth model:</p> <ol> <li>The affine wealth model is agent-based i.e. each person or corporation is an agent.</li> <li>Wealth distribution arises from pairwise agent transactions e.g. agent A has a transaction with agent B.</li> <li>Wealth moves when an agent makes a mistake.</li> <li>The affine wealth model matches empirical data on US wealth distribution.</li> <li>chi stabilizes the wealth distribution and avoids <a href="https://rayli.net/posts/no-right-vs-left/">oligarchy</a>.</li> <li>zeta results in partial <a href="https://rayli.net/posts/no-right-vs-left/">oligarchy</a>.</li> <li>kappa shifts the wealth distribution downward to model debt.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/is-inequality-inevitable/">Is inequality inevitable?</a></li> </ol> Is inequality inevitable? https://rayli.net/posts/is-inequality-inevitable/ Wed, 02 Sep 2020 20:04:14 -0700 https://rayli.net/posts/is-inequality-inevitable/ <p><a href="https://www.scientificamerican.com/article/is-inequality-inevitable/">Is Inequality Inevitable? (Scientific American)</a> makes a compelling argument about wealth that I&rsquo;ve always suspected but lacked support.</p> <p>The key ideas I took away from Bruce Boghosian&rsquo;s article are:</p> <ol> <li>The <a href="https://rayli.net/posts/affine-wealth-model/">affine wealth model</a> reveals the tendency towards wealth concentration or extreme inequality even if the outcome of a transaction is chosen randomly.</li> <li>If the transaction outcome is random, then luck plays a bigger role in amassing wealth than most people think.</li> <li>Wealth tends to flow upward.</li> <li>As a result, the free market is essentially a casino you can never leave.</li> <li>Fortunately, redistribution sets a limit on inequality, but it&rsquo;s not necessarily a tax (see <a href="https://rayli.net/posts/affine-wealth-model/">chi, zeta and kappa parameters of the affine wealth model</a>).</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/stackbacks/">StackBacks automated budget system</a></li> <li><a href="https://rayli.net/posts/social-darwinism/">Neutralizing social Darwinism</a></li> <li><a href="https://rayli.net/posts/who-rules-america/">Who rules America?</a></li> <li><a href="https://rayli.net/posts/better-schools/">Better schools won&rsquo;t fix America</a></li> </ol> Stop collecting, and start producing https://rayli.net/posts/stop-collecting/ Sat, 29 Aug 2020 10:49:23 -0700 https://rayli.net/posts/stop-collecting/ <p>To benefit from reading, make something out of what you read.</p> <p>Making something out of what you read could be something as simple as <a href="https://rayli.net/posts/summarizing-books/">summarizing in your own words</a> or something a bit more involved like a blog post or PowerPoint slides.</p> <p>Teaching someone is probably the ultimate form of actively making something out of what you read.</p> <p>The underlying principle remains the same:</p> <p><em>Break the collector&rsquo;s fallacy.</em></p> <p>Unless you&rsquo;re reading for pleasure, passively collecting information in your mind or in your notes is the exact opposite of making something out of what you read.</p> Reinterpreting ideas through your own lens https://rayli.net/posts/reinterpreting-ideas/ Wed, 26 Aug 2020 21:37:25 -0700 https://rayli.net/posts/reinterpreting-ideas/ <p>When you reinterpret ideas&hellip;</p> <ol> <li>You should be opinionated about what matters most.</li> <li>You should use them to share and collaborate with others.</li> <li>You should use them to get on the radar of readers, moderators and the original authors.</li> <li>You should see your reinterpretation as bridges for others to access these new ideas.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/cognitive-reappraisal-techniques/">Cognitive reappraisal techniques</a></li> <li><a href="https://rayli.net/posts/summarizing-books/">The ultimate guide to summarizing books</a></li> <li><a href="https://rayli.net/posts/why-blog/">Why blog?</a></li> </ol> The ultimate guide to summarizing books https://rayli.net/posts/summarizing-books/ Wed, 26 Aug 2020 21:16:44 -0700 https://rayli.net/posts/summarizing-books/ <p><a href="https://fortelabs.co/blog/the-ultimate-guide-to-summarizing-books/">The Ultimate Guide to Summarizing Books</a> inspired my <a href="https://rayli.net/posts/elaboration-experiment/">elaboration experiment</a>.</p> <p>Tiago Forte&rsquo;s most powerful ideas that resonated with me are:</p> <ol> <li>Read with the intent of <a href="https://rayli.net/posts/stop-collecting/">making something out of what you read</a>.</li> <li>Summarize what you read, but <a href="https://rayli.net/posts/reinterpreting-ideas/">reinterpret the ideas through your own lens</a>.</li> <li>Look for content that is on the fringe of topics you care about.</li> </ol> The plan that could give us our lives back https://rayli.net/posts/plan-to-give-us-lives-back/ Sat, 22 Aug 2020 22:14:56 -0700 https://rayli.net/posts/plan-to-give-us-lives-back/ <p><a href="https://www.theatlantic.com/health/archive/2020/08/how-to-test-every-american-for-covid-19-every-day/615217/">How to Test Every American for COVID-19, Every Day (The Atlantic)</a> is one of the most eye-opening articles I&rsquo;ve read about testing in some time.</p> <p>The main ideas I got from it are:</p> <ol> <li>US isn&rsquo;t delivering PCR results faster than the virus.</li> <li>Silent spreaders are the virus&rsquo;s secret power.</li> <li>White House encouraged test competition, so nothing happened.</li> <li>We must out-volume the virus with a massive number of tests.</li> <li>PCR tests don&rsquo;t measure contagiousness, so they don&rsquo;t help stop virus.</li> <li>PCR tests are positive even when you&rsquo;re not contagious.</li> <li>Squeeze more tests from PCR testing via pooling.</li> <li>Antigen tests are inferior around day 1-3 of an infection, but are way better at end of infection.</li> <li>Paper antigen tests are COVID-19 contagiousness tests.</li> <li>Paper antigen tests are fast but much less sensitive than PCR tests.</li> <li>FDA says antigen tests must have 80% sensitivity compared to PCR tests.</li> </ol> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/overlooked-pandemic-variable/">Overlooked variable is key to pandemic</a></li> </ol> Elaborate by thinking, writing and connecting https://rayli.net/posts/elaboration-experiment/ Sat, 22 Aug 2020 21:09:17 -0700 https://rayli.net/posts/elaboration-experiment/ <p>In <a href="https://www.amazon.com/How-Take-Smart-Notes-Nonfiction/dp/1542866502/">How To Take Smart Notes</a>, Sönke Ahrens encourages the reader to elaborate by thinking, writing and then connecting.</p> <p>So why not use a blog for the same purpose? :)</p> <p>The blog becomes one possible path for the output of elaboration. It also expands how information is connected to other information.</p> <p>The first step is to think enough about something so we&rsquo;re able to write about it.</p> <p>The second step is to think about what it means for other contexts as well&hellip; how does it relate?</p> Contact https://rayli.net/contact/ Thu, 09 Aug 2018 20:53:41 -0700 https://rayli.net/contact/ <p>You can send me an email:</p> <p>[my first name] @ rayli.net</p> <p>I&rsquo;m also on <a href="https://www.linkedin.com/in/raylidotnet">LinkedIn</a>.</p> Hi, I'm Ray Li. https://rayli.net/about/ Thu, 09 Aug 2018 20:53:36 -0700 https://rayli.net/about/ <p>I&rsquo;m a software engineer and data enthusiast. I live in the Seattle region in Washington with my wife and daughter. I work as a Software Engineer in the <a href="https://rayli.net/posts/office-work/">Office Division</a> at <a href="https://rayli.net/posts/microsoft-work/">Microsoft</a>.</p> <p>I <a href="https://rayli.net/">blog</a> and publish the monthly <a href="https://rayli.net/hacker-bits/">Hacker Bits</a> magazine.</p> <p>You can send me an <a href="https://rayli.net/contact/">email</a>.</p> <h1 id="see-also">See also</h1> <ol> <li><a href="https://rayli.net/posts/why-blog/">Why blog?</a></li> <li><a href="https://rayli.net/bio/">Short bio</a></li> <li><a href="https://rayli.net/posts/disclaimer/">Disclaimer</a></li> </ol> Ray Li https://rayli.net/resume/ Thu, 09 Aug 2018 20:53:32 -0700 https://rayli.net/resume/ <p>I&rsquo;m a software engineer with diverse experience in designing, implementing and deploying .NET, Java and Python software applications.</p> <p>Specific expertise includes graduate level education in Computer Science and Bioinformatics.</p> <p>Strengths include a strong background in data analysis and software testing.</p> <h1 id="experience">Experience</h1> <ul> <li><a href="https://rayli.net/posts/microsoft-work/">Microsoft (2010-Present)</a></li> <li><a href="https://rayli.net/posts/white-oak-work/">White Oak Technologies (2009-2010)</a></li> <li><a href="https://rayli.net/posts/mount-sinai-work/">Mount Sinai Medical Center (2007-2009)</a></li> <li><a href="https://rayli.net/posts/stony-brook-work/">Stony Brook Medical Center (2006-2007)</a></li> <li><a href="https://rayli.net/posts/lifetree-work/">LifeTree Technology (2001-2006)</a></li> </ul> <h1 id="academics">Academics</h1> <ul> <li><a href="https://rayli.net/posts/education-background/">Education</a></li> <li><a href="https://rayli.net/posts/research-background/">Research</a></li> </ul> <h1 id="external-links">External links</h1> <ol> <li><a href="https://www.linkedin.com/in/raylidotnet">Ray Li | LinkedIn Profile</a></li> </ol> Hacker Bits https://rayli.net/hacker-bits/ Thu, 09 Aug 2018 20:53:22 -0700 https://rayli.net/hacker-bits/ <p>I <a href="https://hackerbits.com/blog/">blog</a> and publish <a href="https://hackerbits.com/issues">Hacker Bits</a>.</p> <p><a href="https://hackerbits.com/issues">Hacker Bits</a> is the monthly magazine that gives our readers the hottest technology stories straight from <a href="https://news.ycombinator.com/">Hacker News</a>.</p> <p>We select from the top voted stories for our readers and email them in an easy-to-read email magazine format.</p>