<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>github-copilot on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/github-copilot/</link>
    <description>Recent content in github-copilot on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 05 Apr 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/github-copilot/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Things I Learned - 05 Apr 2026</title>
      <link>https://www.s-anand.net/blog/things-i-learned-05-apr-2026/</link>
      <pubDate>Sun, 05 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-05-apr-2026/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&amp;rsquo;s pretty convenient (on Ubuntu) to be able to move windows around desktops. Apart from the usual Super + Arrow keys to manage windows within a desktop, you can use:
&lt;ul&gt;
&lt;li&gt;Ctrl + Alt + Left/Right Arrow: Move desktops&lt;/li&gt;
&lt;li&gt;Ctrl + Alt + Shift + Left/Right Arrow: Move window to desktop&lt;/li&gt;
&lt;li&gt;Super + Shift + Arrow: Move window to another monitor&lt;/li&gt;
&lt;li&gt;Super + Drag: Drag window from anywhere&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;jq . file.json&lt;/code&gt; is an efficient way to pretty-print JSON files in the terminal. (Or &lt;code&gt;jaq . file.json&lt;/code&gt;, which is ~30% faster.)&lt;/li&gt;
&lt;li&gt;GitHub Copilot monthly premium requests were &lt;em&gt;not&lt;/em&gt; reset at 12 am UTC&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://social.jvns.ca/@b0rk/116297197345549083&#34;&gt;How Diffie Hellman Key Exchange Works&lt;/a&gt; by Julia Evans is an &lt;em&gt;excellent&lt;/em&gt; explanation. Share a random number. A multiplies it by their private key and shares S&lt;em&gt;A. B multiplies it by their private key and shares S&lt;/em&gt;B. They multiply the others&amp;rsquo; key with their secret key and they get S&lt;em&gt;A&lt;/em&gt;B = S&lt;em&gt;B&lt;/em&gt;A. Now &lt;em&gt;both&lt;/em&gt; of them have the same &lt;em&gt;new&lt;/em&gt; secret they can encrypt/decrypt with, but no one else knows, even though they shared everything publicly! This may be one of the &lt;strong&gt;best&lt;/strong&gt; cool uses of math I&amp;rsquo;ve seen in a long time.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.hofstede.it/shell-tricks-that-actually-make-life-easier-and-save-your-sanity/&#34;&gt;Shell tricks&lt;/a&gt; I didn&amp;rsquo;t know:
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# ALT + . cycles through the last arguments typed&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;mv file.&lt;span class=&#34;o&#34;&gt;{&lt;/span&gt;txt,md&lt;span class=&#34;o&#34;&gt;}&lt;/span&gt;    &lt;span class=&#34;c1&#34;&gt;# Move file.txt to file.md&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ls &lt;span class=&#34;p&#34;&gt;|&amp;amp;&lt;/span&gt; tee file.txt  &lt;span class=&#34;c1&#34;&gt;# Pipe both stdout and stderr to tee&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 22 Feb 2026</title>
      <link>https://www.s-anand.net/blog/things-i-learned-22-feb-2026/</link>
      <pubDate>Sun, 22 Feb 2026 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-22-feb-2026/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/tree-sitter/tree-sitter&#34;&gt;tree-sitter&lt;/a&gt; is a fast incremental parser generator. That means you can use it to create a parser for &lt;em&gt;any&lt;/em&gt; language that works even if there are errors, e.g. malformed JSON, Python, etc. It&amp;rsquo;s used by most editors. For example, &lt;a href=&#34;https://github.com/tree-sitter/tree-sitter-python&#34;&gt;tree-sitter-python&lt;/a&gt; is a fast forgiving Python parser. There are &lt;a href=&#34;https://github.com/tree-sitter/tree-sitter/wiki/List-of-parsers&#34;&gt;official parsers&lt;/a&gt; and &lt;a href=&#34;https://github.com/tree-sitter-grammars&#34;&gt;community parsers&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Programming Languages:&lt;/strong&gt; All popular ones, less popular ones like Ada, Fortran, Lua, Zig, &amp;hellip; and even niche / domain-specific languages (Gleam, TLA⁺).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Markup &amp;amp; Data Formats:&lt;/strong&gt; HTML, XML, Markdown, JSON, YAML, TOML, CSV, &amp;hellip;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query, Scripting &amp;amp; Config:&lt;/strong&gt; SQL, GraphQL, Bash, Dockerfile, Regex, Terraform (HCL), &amp;hellip;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ligature fonts are nice, but it might not be worth forming a habit out of. &lt;a href=&#34;https://claude.ai/share/3cb9d834-b85a-4aa6-bf9f-e7051101d5c6&#34;&gt;Claude&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Cloudflare introduced &lt;a href=&#34;https://blog.cloudflare.com/markdown-for-agents/&#34;&gt;Markdown for Agents&lt;/a&gt;. This converts websites from HTML to Markdown via &lt;code&gt;Accept: text/markdown&lt;/code&gt; for any Cloudflare endpoint which has enabled this feature. This requires a Pro account.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/nayafia/microgrants&#34;&gt;Microgrants&lt;/a&gt; is a list of microgrants programs - where you can give small amounts of money, e.g. $50 - $1K as well as large fellowships over $100K. This includes student grants, creative &amp;amp; community grants, tech grants, social &amp;amp; policy grants, etc.&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Animated web formats are simply video codecs &amp;hellip; stripped of their most powerful feature.&amp;rdquo; A &lt;code&gt;.webm&lt;/code&gt; file is likely to compress &lt;em&gt;much&lt;/em&gt; better than an animated &lt;code&gt;.webp&lt;/code&gt;, etc. &lt;a href=&#34;https://gemini.google.com/share/a83f37623107&#34;&gt;Gemini&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;esbuild can compile CSS files to support old browsers, e.g. nested rules, custom properties, etc. Usage: &lt;code&gt;esbuild input.css --target=chrome90 --outfile=output.css&lt;/code&gt;. &lt;a href=&#34;https://jvns.ca/til/esbuild-can-build-css/&#34;&gt;Julia Evans&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;New jargon I learnt: &lt;a href=&#34;https://tools.s-anand.net/askai/?q=What+is+Human+On+The+Loop+vs+Human+In+The+Loop%3F+Give+it+to+me+in+a+sentence.&#34;&gt;Human-On-The-Loop&lt;/a&gt;. &lt;a href=&#34;https://tools.s-anand.net/askai/?q=What%27s+Treasure+In+Treasure+Out+-+as+opposed+to+Garbage+In+Garbage+Out%3F+Give+it+to+me+in+a+sentence.&#34;&gt;Treasure In Treasure Out&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;VS Code&amp;rsquo;s GitHub Copilot extension supports a &lt;code&gt;github.copilot.chat.commitMessageGeneration.instructions&lt;/code&gt; setting that lets you add a &lt;code&gt;[{&amp;quot;text&amp;quot;: ...}]&lt;/code&gt; or &lt;code&gt;[{&amp;quot;file&amp;quot;: &amp;quot;path/to/file.ext&amp;quot;}]&lt;/code&gt; prompt to the commit message generation. I&amp;rsquo;ve pointed this to my &lt;a href=&#34;https://github.com/sanand0/scripts/blob/main/agents/custom-prompts/git-commit.md&#34;&gt;&lt;code&gt;git-commit.md&lt;/code&gt;&lt;/a&gt; custom prompt.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 28 Dec 2025</title>
      <link>https://www.s-anand.net/blog/things-i-learned-28-dec-2025/</link>
      <pubDate>Sun, 28 Dec 2025 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-28-dec-2025/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/18693771-the-body-keeps-the-score&#34;&gt;The Body Keeps the Score&lt;/a&gt; by Bessel van der Kolk argues that trauma is stored in the body, not just the mind. &lt;a href=&#34;https://claude.ai/share/ac3b435d-7100-4de0-aceb-ac9f08fca467&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Trauma recall shuts down Broca&amp;rsquo;s area (speech). Trauma survivors literally struggle to talk about trauma.&lt;/li&gt;
&lt;li&gt;Our nervous system has a calm social engagement state, a fight-or-flight state, and a freeze or shutdown state. For trauma survivors, the nervous system gets stuck in fight-or-flight or shutdown. (Based on the contested Polyvagal Theory.)&lt;/li&gt;
&lt;li&gt;Childhood trauma leads to several major health problems - heart disease, autoimmune disorders, depression, addiction, &amp;hellip;&lt;/li&gt;
&lt;li&gt;Recalling traumatic memories while following a therapist&amp;rsquo;s finger with your eyes (EMDR) works.&lt;/li&gt;
&lt;li&gt;Yoga is promising but unproven. Neurofeedback (altering brainwave patterns with EEG feedback) even less proven.&lt;/li&gt;
&lt;li&gt;Clearly, trauma is stored in the body, not just the mind. We might need to rethink therapy.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/61538.The_Extended_Phenotype&#34;&gt;The Extended Phenotype&lt;/a&gt; by Richard Dawkins argues that genes shape not just the organism but the environment too. &lt;a href=&#34;https://claude.ai/share/3a62aa83-bad5-4b66-982a-23864df8d8f3&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;In The Selfish Gene, he proposed that organisms are &amp;ldquo;survival machines&amp;rdquo; for genes.&lt;/li&gt;
&lt;li&gt;In this book, he extends this idea to show how genes can influence the environment beyond the organism&amp;rsquo;s body.&lt;/li&gt;
&lt;li&gt;The dam of the beaver, the brain of an ant infected by a parasite, gut bacteria, are examples.&lt;/li&gt;
&lt;li&gt;Critics argue that this may be tautological. It&amp;rsquo;s hard to falsify. It&amp;rsquo;s more a mental model than a theory.&lt;/li&gt;
&lt;li&gt;Also, there&amp;rsquo;s critique (see below). The general view is that there&amp;rsquo;s merit to both perspectives.
&lt;ul&gt;
&lt;li&gt;Epigenetics: Dawkins argues that only genes are inherited. But some RNA, proteins, and epigenetic markers are also be inherited.&lt;/li&gt;
&lt;li&gt;Developmental plasticity: Dawkins downplays the role of environment in shaping phenotypes.&lt;/li&gt;
&lt;li&gt;Multi-level selection: Gould argues that selection happens the organism and group levels too.&lt;/li&gt;
&lt;li&gt;Niche construction: Dawkins says genes modify the environment. But environments modify genes too.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/33930.The_Structure_of_Evolutionary_Theory&#34;&gt;The Structure of Evolutionary Theory&lt;/a&gt; by Stephen Jay Gould expands on Darwinism, suggesting there&amp;rsquo;s more than only natural selection. &lt;a href=&#34;https://claude.ai/share/9a348162-5584-4ccd-834c-0538ff065f25&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Darwinism proposed continuous, smooth evolution. Gould proposes punctuated equilibrium - stable periods interrupted by rapid change. Fossils support this.&lt;/li&gt;
&lt;li&gt;Darwinism proposed selection of individuals. Gould proposes hierarchical selection - genes, individuals, groups, species. This is debated but has merit.&lt;/li&gt;
&lt;li&gt;Darwinism proposed every feature has a reason. Gould suggests some are byproducts of other adaptations (spandrels). Not every trait is adaptive. This is generally accepted.&lt;/li&gt;
&lt;li&gt;Darwinism proposed that humans would evolve if we replayed history. Gould argues that it&amp;rsquo;s chance. Current opinion is convergence, i.e. something like us would still likely evolve.&lt;/li&gt;
&lt;li&gt;(He probably didn&amp;rsquo;t need to write such a long book over 20+ years for this. Also, it led to the Darwin Wars, mostly with Dawkins.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/27276428-the-gene&#34;&gt;The Gene: An Intimate History&lt;/a&gt; by Siddhartha Mukherjee explains the history of genetics. &lt;a href=&#34;https://claude.ai/share/eeecb08e-1cac-46a6-8d0b-95027d815ef1&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Mendel&amp;rsquo;s pea experiment numbers seem too neat. He probably didn&amp;rsquo;t fudge it but stopped at good results.&lt;/li&gt;
&lt;li&gt;Rosalind Franklin&amp;rsquo;s X-ray diffraction images were key to discovering DNA structure, but she didn&amp;rsquo;t get enough credit.&lt;/li&gt;
&lt;li&gt;Recombinant DNA (1970s) lets us copy-paste genes between organisms. E.g.: we can find the DNA sequence for the insulin protein in humans, copy it into bacteria, and have bacteria produce insulin for us.
&lt;ul&gt;
&lt;li&gt;How it works:
&lt;ul&gt;
&lt;li&gt;Restriction enzymes &lt;strong&gt;cut&lt;/strong&gt; DNA at specific sequences. E.g. EcoRI (from E. coli) cuts DNA at GAATTC. Many cut with one strand overhangs that stick to complementary sequences, making assembly easy.&lt;/li&gt;
&lt;li&gt;DNA ligase &lt;strong&gt;paste&lt;/strong&gt; DNA strands together.&lt;/li&gt;
&lt;li&gt;Plasmids (circular DNA in bacteria) are vectors that carry foreign DNA into host cells. We can paste DNA to plasmids and introduce them into bacteria. Some viruses work similarly for animals / humans.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;This is useful for creating medicines, crops, and gene therapies.:
&lt;ul&gt;
&lt;li&gt;Medicines: e.g. insulin, human growth hormone, clotting factors for hemophilia, vaccines (Hep B), erythropoietin (EPO) for anemia, cancer therapies, focused antibodies, etc.&lt;/li&gt;
&lt;li&gt;Agriculture for genetically modified (GM) foods: pest/drought-resistant crops, biofortified foods (Golden Rice with Vitamin A), nitrogen-fixing plants, etc.&lt;/li&gt;
&lt;li&gt;Gene therapy: replacing faulty genes to treat genetic disorders (inherited blindness, immune deficiencies, blood disorders, muscular dystrophy, etc.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;This is risky because of the unintended consequences, equity, and long-term risks:
&lt;ul&gt;
&lt;li&gt;Unintended consequences: Crop genes can spread. Herbicide-resistant weeds have emerged.&lt;/li&gt;
&lt;li&gt;Equity: Corporates control gene patents, concentrating power and limiting access. Only the rich can afford gene therapies.&lt;/li&gt;
&lt;li&gt;Long-term risks: Biological weapons, ecological disruption, new diseases, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Human Genome Project (1990-2003) sequenced the entire human genome (3.2 billion base pairs). This helps identify disease genes, understand genetic variation, and develop personalized medicine.
&lt;ul&gt;
&lt;li&gt;They chopped the DNA into small pieces, multiplied them using bacteria, paired them with colored markers to read them, and reassembled the full sequence using overlapping regions.&lt;/li&gt;
&lt;li&gt;We have 20-25K genes. 99.9% is the same between humans. The 0.1% accounts for ALL human diversity.&lt;/li&gt;
&lt;li&gt;A lot of the genome is not for protiens, but for regulation, i.e. when and where genes are expressed.&lt;/li&gt;
&lt;li&gt;This enables pharmacogenomics, i.e. custom drugs. Read a genome and predict which drugs will work best.&lt;/li&gt;
&lt;li&gt;Also targeted cancer therapies, i.e. read the tumor genome and design smart bomb drugs.&lt;/li&gt;
&lt;li&gt;Ancestry and crime solving. Find distant cousins, catch the Golden State Killer, etc.&lt;/li&gt;
&lt;li&gt;We can sequence our genome for ~$600 in 24 hours and it&amp;rsquo;s falling. (Analysis is expensive.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;CRISPR (2010s) lets you edit genes precisely. These &amp;ldquo;Clustered Regularly Interspaced Short Palindromic Repeats&amp;rdquo; are in bacteria.
&lt;ul&gt;
&lt;li&gt;When bacteria survived a viral attack, they store a small piece of the enemy DNA in their own genome to recognize it.&lt;/li&gt;
&lt;li&gt;Cas9 is an enzyme that cuts DNA at a specific location suggested by Guide RNA. It unzips the DNA, matches the guide RNA to one strand, and cuts both strands.&lt;/li&gt;
&lt;li&gt;This disables the gene. Or, we can insert a new DNA sequence.&lt;/li&gt;
&lt;li&gt;This has been used to cure sickle cell anemia (which has a &amp;lsquo;GTG&amp;rsquo; instead of &amp;lsquo;GAG&amp;rsquo; in the hemoglobin gene, changing glutamic acid to valine) by editing bone marrow cells (not to fix this - that&amp;rsquo;s hard - but to reactivate a fetal hemoglobin gene). This is FDA approved.&lt;/li&gt;
&lt;li&gt;Scientists are trying to edit the Asian Elephant to include woolly mammoth traits, make spicy tomatoes, etc.&lt;/li&gt;
&lt;li&gt;Risks: CRISPR might cut a SIMILAR but unintended gene. We can edit genes for better humans (like in Gattaca) and create edited species.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Epigenetics is about how gene expression (not the DNA) changes based on environment and lifestyle.
&lt;ul&gt;
&lt;li&gt;Epigenetics has 2 mechanisms. First, DNA has tags (methyl groups) that turn genes on/off without changing the sequence.&lt;/li&gt;
&lt;li&gt;Second, DNA is wrapped around protein &amp;ldquo;spools&amp;rdquo; (histones). Tight wrapping hides genes, loose wrapping exposes them.&lt;/li&gt;
&lt;li&gt;In the Agouti Study, mice fed methyl-rich diets had brown, healthy babies. Mice without it had yellow, obese babies prone to cancer.&lt;/li&gt;
&lt;li&gt;Queen bees are identical to worker bees genetically, but royal jelly changes their epigenome to make them queens.&lt;/li&gt;
&lt;li&gt;Grandchildren of the 1944 Dutch famine survivors have higher obesity, heart disease risk. Epigenetic changes are inheritable.&lt;/li&gt;
&lt;li&gt;Epigenetics inherits via sperm by (a) retaining ~1-10% of histones wrapped around important genes, and (b) small RNA molecules that regulate gene expression.&lt;/li&gt;
&lt;li&gt;Epigenetics inherits via eggs by (a) retaining several histones and (b) impact of the fluid environment in the womb. Also, mother eggs were developing when she was a fetus in grandmother&amp;rsquo;s womb, so grandmother&amp;rsquo;s environment matters too. Mother epigenetics affects 3 generations. Fathers affect only 2.&lt;/li&gt;
&lt;li&gt;There are ~100-200 imprintable genes that determine whether the dad&amp;rsquo;s or the mom&amp;rsquo;s gene is expressed. Growth is one example. E.g. dad IGF2 gene pushes for growth, while mom H19 gene limits growth to conserve resources. Lions have strong &amp;ldquo;grow/stop&amp;rdquo; genes. Tigers have weak ones. Ligers (Lion dad, Tiger mom) are huge. Tigons are small.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Eugenics is about improving humans by controlling breeding.
&lt;ul&gt;
&lt;li&gt;Invented by Francis Galton (Darwin&amp;rsquo;s cousin) who founded psychometrics (IQ tests), fingerprinting, correlations, questionnaires, anthropometry (measuring humans), and a female attractiveness map of the UK (London &amp;raquo; Aberdeen).&lt;/li&gt;
&lt;li&gt;He suggested that the best humans breed, and the worst be prevented. The US and many countries adopted this (1900s). E.g. Buck v. Bell (1927) said forced sterilization of &amp;ldquo;feeble-minded&amp;rdquo; people was legal. Oliver Wendell Holms: &amp;ldquo;Three generations of imbeciles is enough.&amp;rdquo; The last euginic law sterilization in the US was in 1981. California prisons sterilized females (2006-2010).&lt;/li&gt;
&lt;li&gt;Nazi Germany industrialized this. Deaf, blind, mentally ill, then eliminate gene pools.&lt;/li&gt;
&lt;li&gt;CRISPR and gene editing lets us design babies - another form of eugenics.&lt;/li&gt;
&lt;li&gt;Iceland and Denmark have eliminated Down syndrome births through screening and selective termination. It&amp;rsquo;s a bit controversial.
&lt;img alt=&#34;Sketch note&#34; loading=&#34;lazy&#34; src=&#34;https://files.s-anand.net/images/2025-12-27-genetics.webp&#34;&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/57517317-immune&#34;&gt;Immune: A Journey Into the Mysterious System That Keeps You Alive&lt;/a&gt; by Philipp Dettmer explains the war our immune system wages daily. &lt;a href=&#34;https://claude.ai/share/71db0b01-f112-4209-a163-793781eb159e&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Immunology is, as science writer Ed Yong memorably put it, &amp;ldquo;where intuition goes to die.&amp;rdquo; It&amp;rsquo;s the kind of subject that makes medical students weep and practicing physicians throw up their hands.&lt;/li&gt;
&lt;li&gt;We have an &lt;strong&gt;innate immune system&lt;/strong&gt;. Genetically programmed for common pathogens. Fast, but limited. Like:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Macrophages&lt;/strong&gt;: beat cops that patrol tissues and eat dozens of bacteria before dying.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Neutrophils&lt;/strong&gt;: SWAT team that rush in, spray toxic chemicals (with collateral damage), and die. They rip out their own DNA to make nets that trap bacteria!&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Natural killer cells&lt;/strong&gt;: bouncers that kill cells without an ID or have been infected (cancer, virus).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Dendritic cells&lt;/strong&gt;: spies that capture pieces of invaders and present them to the adaptive immune system.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mast cells&lt;/strong&gt;: alarms that explode and release histimine (causing inflammation) to call for backup.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Eoisinophils&lt;/strong&gt;: bombers that drop toxic enzymes to melt parasitic worms too large to eat.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;adaptive immune system&lt;/strong&gt; is smarter and slower (days to weeks). It generates millions of cells with random DNA to create a 3D sheet with loops to grab specific antigens. It combines:
&lt;ul&gt;
&lt;li&gt;~40 Variable segments: &amp;ldquo;gloves&amp;rdquo; of ~95 amino acids to grab antigens. Like a 4x4 lego brick.&lt;/li&gt;
&lt;li&gt;~25 Diversity segments: &amp;ldquo;fingers&amp;rdquo; of ~15 amino acits for the glove to grab better. Like a 1x2 lego piece.&lt;/li&gt;
&lt;li&gt;~6 Joining segments: &amp;ldquo;tips&amp;rdquo; of 3-5 amino acids to connect glove to arm. Like a 1x1 stud.&lt;/li&gt;
&lt;li&gt;It randomly chews off a a bit from the ends and adds a few random bits to create ~10^15 potential combinations.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;When a new cell is born, the Thymus (near the upper chest) tests if it can attach to invaders and whether it&amp;rsquo;s peaceful to body cells. Failing cells are killed. ~2% survive and go to the lymph nodes.&lt;/li&gt;
&lt;li&gt;These can be:
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Helper T cells&lt;/strong&gt;: generals that coordinate the immune response by activating B cells, killer T cells, and macrophages.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Killer T cells&lt;/strong&gt;: soldiers that inject toxins into infected cells to kill them.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;B cells&lt;/strong&gt;: factories that churn out antibodies that stick to invaders, gum them up, and tag them for destruction.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;When we get sick, the dendritic cell grabs an antigen (piece of an invader), sends it to the nearest lymph node, and if a Helper T cell recognizes it, it activates the B cells and Killer T cells specific to that invader. This can take days, and multiplies ~1,000x every ~2 days.&lt;/li&gt;
&lt;li&gt;Also, the B cells divide with intentional mutations and evolve to find mutants that catch invaders better. Better fits multiply faster.&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Immune boosting&amp;rdquo; is a misnomer. We really want balance, and diet, fruit, vitamins, antioxidants, probiotics, sleep, exercise, stress reduction, social connection, etc. help. But vaccines are the best way to train the immune system.&lt;/li&gt;
&lt;li&gt;Every breath and meal draws in invaders. They&amp;rsquo;re catalogued and tolerated or destroyed. It&amp;rsquo;s incredible!&lt;/li&gt;
&lt;li&gt;Measles reduces immune memory 11-73%, wiping out years of immunity to other diseases. So, when I had measles in 2009 &lt;em&gt;after&lt;/em&gt; my splenectomy in 2004, I had a double whammy. Damn! Didn&amp;rsquo;t know that.
&lt;img alt=&#34;Sketch note&#34; loading=&#34;lazy&#34; src=&#34;https://files.s-anand.net/images/2025-12-27-immune-system.webp&#34;&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Some books, like &lt;a href=&#34;https://www.goodreads.com/book/show/30753738-the-choice&#34;&gt;The Choice&lt;/a&gt;, aren&amp;rsquo;t meant to be summarized. I can&amp;rsquo;t even summarize the &lt;a href=&#34;https://claude.ai/share/a972c2a2-ab27-4470-b2b2-74c4d7a92eea&#34;&gt;summary&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/22478.The_Origin_of_Consciousness_in_the_Breakdown_of_the_Bicameral_Mind&#34;&gt;The Origin of Consciousness in the Breakdown of the Bicameral Mind&lt;/a&gt; by Julian Jaynes proposes that introspective consciousness emerged ~3,000 years ago. Unproven but unfalsified. &lt;a href=&#34;https://claude.ai/share/b2cea7b2-97b4-4d16-98dd-4359b0965ba9&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;He theorizes that until ~3,000 years ago, the right part of the brain generated &amp;ldquo;voices&amp;rdquo; the left part obeyed. The Iliad heard voices. The Odyssey has a self-aware hero.&lt;/li&gt;
&lt;li&gt;That&amp;rsquo;s why ancients across cultures heard gods&amp;rsquo; voices. Idols were meant to trigger these voices. Kings literally spoke for the gods. People didn&amp;rsquo;t feel responsible for their actions.&lt;/li&gt;
&lt;li&gt;With population growth, writing, and the Bronze Age collapse, humans were forced to adopt alternate cognitive strategies, leading to consciousness.&lt;/li&gt;
&lt;li&gt;That was also when philosophy, introspective religions, and new forms of literature emerged across the world. The Axial Age.&lt;/li&gt;
&lt;li&gt;Schizophrenia may be a vestige of this bicameral mind, where the right brain&amp;rsquo;s &amp;ldquo;voices&amp;rdquo; are misinterpreted by the left brain. Hypnosis, oracles, and creative muses are other remnants.&lt;/li&gt;
&lt;li&gt;Neurological support is weak but literary/cultural analysis is strong. His theory hasn&amp;rsquo;t been falsified.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/590652.The_Slight_Edge&#34;&gt;The Slight Edge&lt;/a&gt; by Jeff Olson suggests small, consistently repeated actions. &lt;a href=&#34;https://claude.ai/share/28107cd7-d653-4f6e-a85b-9038b13ccfcb&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Small actions compound &lt;strong&gt;exponentially&lt;/strong&gt;. But what&amp;rsquo;s easy to do is also easy to skip.&lt;/li&gt;
&lt;li&gt;Quitters stop because it feels like small actions don&amp;rsquo;t matter - leading to exponential decay.&lt;/li&gt;
&lt;li&gt;Willpower is overrated; time is underrated.&lt;/li&gt;
&lt;li&gt;What to do: Show up. Consistently. Even if no one&amp;rsquo;s watching. Commit long-term. With optimism and purpose. Pay the price.&lt;/li&gt;
&lt;li&gt;Also: Happiness isn&amp;rsquo;t just a result of success. It&amp;rsquo;s often a cause. And habits also influence people around us.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/34466963-why-we-sleep&#34;&gt;Why We Sleep&lt;/a&gt; by Matthew Walker elevates the importance of sleep - but also exaggerates. &lt;a href=&#34;https://claude.ai/share/c11436d7-ec8b-4624-90fd-9f2e2d8c42c2&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Sleep has phases. In the first half, deep sleep (NREM) dominates. It consolidates memories. Then REM dominates. Dreams, connections, creativity, emotional regulation happen here. It resets brain and body health.&lt;/li&gt;
&lt;li&gt;Sleep deprivation worsens focus, memory, immunity, metabolism, heart health.&lt;/li&gt;
&lt;li&gt;Phones, caffeine (5-7 hours before), alcohol, early alarms, irregular schedules, late meals, warm bedrooms - all hurt sleep quality.&lt;/li&gt;
&lt;li&gt;But a lot of claims are exaggerated, unproven, or false. Sleep loss isn&amp;rsquo;t a WHO epidemic. More sleep != longer life, it can shorten it (~7 hours seems optimal). Sleeping &amp;lt; 6-7 hours doesn&amp;rsquo;t impact cancer. Modern societies don&amp;rsquo;t sleep less than historically. Sleep deprivation helps depression. He also removed inconvenient data from a graph.&lt;/li&gt;
&lt;li&gt;BTW, anxiety about lack of sleep worsens sleep. So, chill.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/25663961-how-not-to-die&#34;&gt;How Not To Die&lt;/a&gt; by Michael Greger suggests a plant-only diet, but evidence indicates otherwise. &lt;a href=&#34;https://claude.ai/chat/26cd4580-ede9-45e0-909e-2c58946458d1&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Eat more plants, less processed food, cook meat at lower temperatures, and exercise. This much is valid.&lt;/li&gt;
&lt;li&gt;Unlike his claims, Omega-3s help heart disease. Milk reduces asthma risk. Soy doesn&amp;rsquo;t seem to benefit non-Asians. Fish prevent dementia.&lt;/li&gt;
&lt;li&gt;He buries B12 deficiency risk. Overall, studies are cherry-picked and even contradicts his statements.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/31170723-behave&#34;&gt;Behave&lt;/a&gt; by Robert Sapolsky reasons our actions across seconds (neurological), hours (hormones, environment), months (neuroplasticity, learning), decades (genes, culture), millenia (evolution). &lt;a href=&#34;https://claude.ai/share/919495bd-8714-4a6f-8bae-e557897105db&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;The Brain
&lt;ul&gt;
&lt;li&gt;The amygdala detects uncertainty, not just fear/aggression. The unfamiliar triggers it. But the response diminishes with exposure. It can be modulated by the prefrontal cortex.&lt;/li&gt;
&lt;li&gt;The prefrontal cortex plans. It develops late and can override amygdala responses. It is impaired by stress, fatigue, alcohol, etc. It can plan genocide / retribution as well as peace.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Hormone
&lt;ul&gt;
&lt;li&gt;Testosterone is an amplifier. It amplifies agression but also generosity! It lowers threshold for context-appropriate behaviour.&lt;/li&gt;
&lt;li&gt;Oxytocin promotes in-group trust, but promotes out-group hostility. It&amp;rsquo;s the molecule of tribalism, not love.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Childhood
&lt;ul&gt;
&lt;li&gt;Early stress triggers epigenetic changes that makes the amygdala hyperactive, impairs prefrontal cortex, and alters stress hormone regulation.&lt;/li&gt;
&lt;li&gt;This leads to impulsivity, aggression, anxiety, depression, addiction, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Evolution
&lt;ul&gt;
&lt;li&gt;We are naturally hierarchical and tribal.&lt;/li&gt;
&lt;li&gt;Thanks to language, we can expand / contract our tribes to include / exclude anyone (or anything) based on arbitrary stories.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Let&amp;rsquo;s approach wrongdoing with humility. Punishment and rewards CAN shape behavior. But a focus on prevention over retribution may help more.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/59554236-price-of-the-modi-years&#34;&gt;Price of the Modi Years&lt;/a&gt; by Aakar Patel suggests that most metrics worsened under Modi. True, but these also seem cherry-picked. &lt;a href=&#34;https://claude.ai/share/af1b7127-ef2e-4a5b-a969-6fda160a542a&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Announcements had more impact than executions.
&lt;ul&gt;
&lt;li&gt;99% of the 15.3 lakh crores demonetized came back to banks, laundered.&lt;/li&gt;
&lt;li&gt;Manufacturing GDP share fell from 16% to 13% after Make in India was launched. Employment fell from 5.1 to 2.7 cr.&lt;/li&gt;
&lt;li&gt;Press freedom rank fell from 140 (2014) to 151 - and is now 159.&lt;/li&gt;
&lt;li&gt;Democracy rank fell freom 27 (2014) to 41 (2021). India is classified as a &amp;ldquo;Flawed Democracy&amp;rdquo;.&lt;/li&gt;
&lt;li&gt;Human Development Index is stagnant at 130.&lt;/li&gt;
&lt;li&gt;Global Hunger rank fell freom 55 / 76 (2014) to 102 / 123 (2024?).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;But:
&lt;ul&gt;
&lt;li&gt;Economic Freedom rank rose from 112 (2014) to 84 (2023?).&lt;/li&gt;
&lt;li&gt;Digital payments, rural electrification, toilet construction, etc. aren&amp;rsquo;t mentioned.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/115013.The_Ants&#34;&gt;The Ants&lt;/a&gt; by Bert Hölldobler, Edward O. Wilson is the only science textbook (!) to win a Pulitzer. &lt;a href=&#34;https://claude.ai/share/efe424e5-cbf4-474d-ba20-ccb420c5c9cb&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Ants are only ~20% of human biomass, not 100% as the book claims, but that&amp;rsquo;s 2.5m ants per human!&lt;/li&gt;
&lt;li&gt;⭐ Sterile ants, which are all female, help the queen reproduce instead of having their own kids.
&lt;ul&gt;
&lt;li&gt;Ants, bees, wasps, etc. are haplodiploid, i.e. females have father + mother genes, males develop from unfertilized eggs (only mother genes).&lt;/li&gt;
&lt;li&gt;So, sisters share 75% of genes, more than 50% with their own kids. Helping mothers make sisters is better than having kids!&lt;/li&gt;
&lt;li&gt;(And if this isn&amp;rsquo;t an alien civilization, what is? We don&amp;rsquo;t need sci-fi. Nature is weirder than fiction.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;But their math doesn&amp;rsquo;t hold up!
&lt;ul&gt;
&lt;li&gt;If the queen produces 50% brothers (with 25% common genes) and 50% sisters (75% common genes), the average is 50% common genes, same as having kids.&lt;/li&gt;
&lt;li&gt;But building a nest is hard, specialization is efficient, etc. So ants stay sterile and help the colony.&lt;/li&gt;
&lt;li&gt;BTW, this gene math only works if the queen is 100% monogamous - so they are, or at least, were, until evolution locked it in.&lt;/li&gt;
&lt;li&gt;(Making nature one-step less alien. But still weird.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Epigenetics determines caste. More food or specific food (e.g. royal jelly in bees) changes gene expression of the same DNA.
&lt;ul&gt;
&lt;li&gt;When a queen dies, some ants (e.g. Indian jumping ants) can reprogram a worker ant into a queen through diet!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Leafcutter ants have been &amp;ldquo;farming&amp;rdquo; for 50 million years. Rather, are part of an agricultural symbiosis.
&lt;ul&gt;
&lt;li&gt;They cut leaves and feed it to a fungus they cultivate in their nests.&lt;/li&gt;
&lt;li&gt;They protect the fungus from pests using antibiotics produced by bacteria living on their bodies. They clear decay and weeds.&lt;/li&gt;
&lt;li&gt;They can&amp;rsquo;t live without the fungus because it produces a nutrient (Arginine) that they need but can no longer make themselves.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ants communicate using pheromones, touch, and sound.
&lt;ul&gt;
&lt;li&gt;Pheromones can communicate species, colony, caste, reproductive status, alarm, food trail, etc. These evaporate unless reinforced.
&lt;ul&gt;
&lt;li&gt;They have a bigger, more advanced, brain region than other insects. It&amp;rsquo;s not multiple brain parts coordinating.&lt;/li&gt;
&lt;li&gt;Using CRISPR to knock out pheromone receptors makes ants unable to communicate. Mutant ants wander aimlessly until killed by the colony.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;They tap each other with their antennae: to taste skin for identification, or to beg for regurgitated food.&lt;/li&gt;
&lt;li&gt;Some ants have a scraper on their waist that they rub against their abdomen. Triggers &amp;ldquo;emergency alarm&amp;rdquo;, e.g. &amp;ldquo;I&amp;rsquo;m buried&amp;rdquo; or &amp;ldquo;Help me cut!&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ant colonies are superorganisms, i.e. agents that work together to produce emergent behavior. They have sterile castes. Only ants, bees, naked mole rats, &amp;hellip; qualify.
&lt;ul&gt;
&lt;li&gt;The nest is like a giant lung. Passive ventilation sucks CO2 from top chimneys and brings in O2 from lower entrances. They regulate temperature by opening/closing nest entrances. They send workers out for water to evaporatively cool the nest.&lt;/li&gt;
&lt;li&gt;They circulate nutrients by vomiting food into each others mouths. (Ants have two stomachs - one for themselves, one for sharing.) Ants can&amp;rsquo;t digest meat but larvae can, so they feed meat to larvae and share the digested food. Larvae act like a liver.&lt;/li&gt;
&lt;li&gt;They have an immune system. Sanitation squads carry dead ants far away. Fungally infected ants leave the nest and die alone. Infected pupae are killed by workers.&lt;/li&gt;
&lt;li&gt;They have a neural system. Memory is stored in pheromone trails.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ant politics exists. E.g. Workers destroy eggs laid by other workers, protect sister-laid eggs, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/52163526-the-cancer-code&#34;&gt;The Cancer Code&lt;/a&gt; by Jason Fung suggests that cancer might be about cells acting selfishly, triggered by body environment. &lt;a href=&#34;https://claude.ai/share/d0ee6a30-6776-40a8-a409-a1d7312ef79a&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Metastatis is when cancer cells spread from the tumor to other body parts. It kills by eating up resources, mechanical obstruction, poisoning, triggering clots, or reducing immunity.&lt;/li&gt;
&lt;li&gt;We used to cut (surgery), burn (radiation), or poison (chemotherapy) cancer cells.&lt;/li&gt;
&lt;li&gt;Then we learnt cancer cells were mutations and targeted therapies work (expensively). But it treated &amp;lt;5% of cancers.&lt;/li&gt;
&lt;li&gt;Paul Davies (!) suggested cancer is when cells devolve to our unicellular ancestry. Cells that should die for collective good instead multiply. This theory is gaining ground but not proven.&lt;/li&gt;
&lt;li&gt;Devolution is enabled by the body environment. For example:
&lt;ul&gt;
&lt;li&gt;Insulin resistance. Sugar matters less. It&amp;rsquo;s the insulin resistance.&lt;/li&gt;
&lt;li&gt;Oxidative stress, i.e. not enough antioxidants to neutralize the free radicals. (Free radicals are molecules with 1 extra or missing electron. They damage cells. Mitochondria misfires and creates free radicals 0.2-2% of the time. Smoking, pollution, radiation, stress increase free radicals. Immune cells also create free radicals to kill cells.)&lt;/li&gt;
&lt;li&gt;Chronic inflammation. Leads to oxidative stress.&lt;/li&gt;
&lt;li&gt;Hormonal imbalances. E.g. high estrogen, testosterone.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Immunotherapy (teaching the immune system to attack cancer cells) is promising.&lt;/li&gt;
&lt;li&gt;Weight loss might prevent / reverse cancer. Evidence is preliminary.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/38227753-the-diabetes-code&#34;&gt;The Diabetes Code&lt;/a&gt; by Jason Fung suggests less intake to reverse Type 2 Diabetes. &lt;a href=&#34;https://claude.ai/share/ca706f64-ff53-467e-9e61-b4c8367790f1&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Insulin pushes sugar into cells for energy storage.&lt;/li&gt;
&lt;li&gt;In Type 1 Diabetes, immune cells attack insulin-producing cells. Patients need insulin to survive.&lt;/li&gt;
&lt;li&gt;In Type 2 Diabetes, high carbs -&amp;gt; high insulin -&amp;gt; cells become insulin-resistant. Feeding them insulin can harm, sometimes.&lt;/li&gt;
&lt;li&gt;Weight loss can definitely reverse it. Reducing carbs &amp;amp; preferring whole foods helps. Intermittent fasting likely helps.&lt;/li&gt;
&lt;li&gt;But &amp;ldquo;sugar is the main driver of Type 2 Diabetes&amp;rdquo; isn&amp;rsquo;t research-robust. Genetics, sleep, stress, gut microbiome, socioeconomics contribute. Diet &amp;amp; fasting are hard to sustain, and isn&amp;rsquo;t for everyone.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/24945404-the-obesity-code&#34;&gt;The Obesity Code&lt;/a&gt; by Jason Fung suggests whole foods and intermittent fasting. &lt;a href=&#34;https://claude.ai/share/2e102fee-04ab-4c78-80e8-e8d77cc3105c&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Eating whole foods (rather than processed foods) does help.&lt;/li&gt;
&lt;li&gt;Fasting does help. (But maybe no more than reduced calorie intake, and sustaining it could be harder.)&lt;/li&gt;
&lt;li&gt;But his claim that high insulin -&amp;gt; obesity isn&amp;rsquo;t research-robust. It may be correlation not causation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;⭐ &lt;a href=&#34;https://www.goodreads.com/book/show/57933312-how-minds-change&#34;&gt;How Minds Change&lt;/a&gt; suggests that friendship, more than facts, changes opinions. Sometimes your own, too. &lt;a href=&#34;https://claude.ai/share/25283a55-9f6f-408d-9080-1a7b1c3d8a3e&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Facts backfire (though less often than the book indicates). Challenging identity is a survival threat.&lt;/li&gt;
&lt;li&gt;Asking genuine questions and actually listening enables change. (It might change you, too.)&lt;/li&gt;
&lt;li&gt;&amp;ldquo;How did you come to believe that?&amp;rdquo; &amp;ldquo;How confident are you (1-10)?&amp;rdquo; &amp;ldquo;What would it take to move that number?&amp;rdquo; helps introspect.&lt;/li&gt;
&lt;li&gt;Relationships create safety to question beliefs. Lasting change requires somewhere new to belong.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;My most used GitHub Copilot feature is &lt;a href=&#34;https://docs.github.com/en/copilot/how-tos/get-code-suggestions/get-ide-code-suggestions&#34;&gt;tab completion&lt;/a&gt;. It&amp;rsquo;s surprisingly effective for note-taking (which I do more than code-writing ever since coding agents arrived.) &lt;code&gt;Tab&lt;/code&gt; completes the suggestion and &lt;code&gt;Esc&lt;/code&gt; cancels it. I&amp;rsquo;m beginning to use &lt;code&gt;Alt + ]&lt;/code&gt; and &lt;code&gt;Alt + [&lt;/code&gt; to cycle through multiple suggestions. I&amp;rsquo;m amazed that it can act as a:
&lt;ul&gt;
&lt;li&gt;Calculator/convertor. E.g. &amp;ldquo;9 * 86400 =&amp;rdquo;, &amp;ldquo;5 miles in km is&amp;rdquo; or &amp;ldquo;3 days ago, i.e. on&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Referrer. E.g. &amp;ldquo;The Attention Is All You Need paper at https://&amp;rdquo; or &amp;ldquo;The Pulitzer winning book Ants by&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Educator. E.g. &amp;ldquo;The top 3 causes of cancer are&amp;rdquo;&lt;/li&gt;
&lt;li&gt;Ideator. E.g. &amp;ldquo;5 wild ideas for sneakily improving productivity are&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;If you see a smooth, glassy patch surrounded by ripples, it’s usually because a thin surface film or local surface flow is damping the tiny wind-made waves there, not because the water underneath is calmer. &lt;a href=&#34;https://chatgpt.com/share/694d1b9b-c804-8003-b76f-818515635766&#34;&gt;ChatGPT&lt;/a&gt;
&lt;img alt=&#34;Glassy patch surrounded by ripples&#34; loading=&#34;lazy&#34; src=&#34;https://files.s-anand.net/images/2025-12-25-calm-water-amidst-turbuence-singapore-gardens-by-the-bay.webp&#34;&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/43723901-lifespan&#34;&gt;Lifespan&lt;/a&gt; and &lt;a href=&#34;https://www.goodreads.com/book/show/34458942-the-telomere-effect&#34;&gt;The Telomere EFfect&lt;/a&gt; suggest exercise, sleep, eat well, manage stress to live longer. &lt;a href=&#34;https://claude.ai/share/f7555a9c-3f6a-4f3c-a56a-ee3d9384d324&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Actually, they mainly suggest sirtuins, resveratrol, NMN, telomere-lengthening lifestyles, etc. to defeat aging. None of this is research-proven. The traditional advice is the only proven stuff.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/61153739-outlive&#34;&gt;Outlive&lt;/a&gt; suggests exercise for living longer - and to make sure your life is worth extending! &lt;a href=&#34;https://claude.ai/share/f7555a9c-3f6a-4f3c-a56a-ee3d9384d324&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Medicine focuses more on cure than prevention.&lt;/li&gt;
&lt;li&gt;Exercise has the highest impact on longevity. Especially zone 2 cardio and body strength (e.g. measure grip strength).&lt;/li&gt;
&lt;li&gt;apoB under 80mg/dL is a better indicator of heart risk than LDL.&lt;/li&gt;
&lt;li&gt;But make sure your life is worth living!&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Katy Milkman&amp;rsquo;s &lt;a href=&#34;https://www.goodreads.com/book/show/55655032-how-to-change&#34;&gt;How to Change&lt;/a&gt; suggests that biases are hard to change. Engineer environments and habits instead. &lt;a href=&#34;https://claude.ai/share/c29c127f-6fe1-480f-b0dc-fc764e5f7ece&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Breaking bad habits is hard. Start on a New Year, birthday, festivals, etc. for ease.&lt;/li&gt;
&lt;li&gt;Breaks in continuity erase good habits. Be flexible for continuity (e.g. 7/week is more flexible than 1/day is more flexible than once every morning).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;⭐ Daniel Kahnemann&amp;rsquo;s &lt;a href=&#34;https://www.goodreads.com/book/show/55339408-noise&#34;&gt;Noise&lt;/a&gt; suggests experts are more random than we think. &lt;a href=&#34;https://claude.ai/share/9bed712b-05e3-4f37-ae21-78af350e2fc5&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;When execs (or students) complain, &amp;ldquo;Oh, but the LLM aren&amp;rsquo;t consistent!&amp;rdquo; &amp;ndash; nor are humans!&lt;/li&gt;
&lt;li&gt;Get multiple INDEPENDENT opinions&lt;/li&gt;
&lt;li&gt;Use CHECKLISTS to reduce variability&lt;/li&gt;
&lt;li&gt;Use ALGORITHMS to spot outliers&lt;/li&gt;
&lt;li&gt;Acknowledge luck, good or bad. Leverage serendipity&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Notes from &lt;a href=&#34;https://github.com/sindresorhus/awesome-npm&#34;&gt;awesome-npm&lt;/a&gt; &lt;a href=&#34;https://chatgpt.com/c/694cb4a1-786c-8321-b8e0-2fd58d545480&#34;&gt;#&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;npm run command --silent&lt;/code&gt; suppresses npm output, only shows script output.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm start&lt;/code&gt; and &lt;code&gt;npm test&lt;/code&gt; are the conventions to run the app / server and test. Use these more.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npx --package=node-bin@6.2.0 -- node --version&lt;/code&gt; lets you run any node version without nvm, etc.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm link&lt;/code&gt; installs package in the current directory as a global. You can link to it from any other package via &lt;code&gt;npm link &amp;lt;dirname&amp;gt;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm install owner/repo&lt;/code&gt; installs directly from GitHub.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;npm ls --depth=2&lt;/code&gt; shows dependency tree up to depth 2.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;rclone mount&lt;/code&gt; over SFTP is the worst-case for thousands of tiny files. &lt;em&gt;Every&lt;/em&gt; &lt;code&gt;stat&lt;/code&gt;, &lt;code&gt;readdir&lt;/code&gt;, &lt;code&gt;unlink&lt;/code&gt; is an extra network round-trips, taking ~1s per operation. I&amp;rsquo;m switching to rsync instead for my &lt;a href=&#34;https://www.hetzner.com/storage/storage-box/&#34;&gt;Hetzner storage box&lt;/a&gt;. &lt;a href=&#34;https://chatgpt.com/c/694bba1e-2748-8320-94d9-a29213cc5194&#34;&gt;#&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Context: I set it up via: &lt;code&gt;rclone config create hetzner sftp host $USER.your-storagebox.de user $USER shell_type unix&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&amp;hellip; and mounted it via &lt;code&gt;rclone mount hetzner:/ /mnt/hetzner --vfs-cache-mode full --vfs-cache-max-age 24h --vfs-cache-max-size 10G&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/38728977-the-molecule-of-more&#34;&gt;The Molecule of More&lt;/a&gt; and &lt;a href=&#34;https://www.goodreads.com/book/show/55723020-dopamine-nation&#34;&gt;Dopamine Nation&lt;/a&gt; recommend pain as a down-payment for sustained pleasure. &lt;a href=&#34;https://claude.ai/chat/ecceca87-84f7-43a9-af60-e036ddfef471&#34;&gt;Claude&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Dopamine drives wanting/dread, which is decoupled from like/dislike.&lt;/li&gt;
&lt;li&gt;It also does a bunch of other things like learning (maps actions to rewards), attention, etc.&lt;/li&gt;
&lt;li&gt;Low dopamine =&amp;gt; focus, medium =&amp;gt; creativity, high =&amp;gt; noise.&lt;/li&gt;
&lt;li&gt;Brain runs a thermostat. Pleasure/pain trigger a delayed, long-decay counter-reward that we feel as &amp;ldquo;That&amp;rsquo;s it?&amp;rdquo; or &amp;ldquo;Whew!&amp;rdquo;. Abstention just resets it. Meditation just makes you aware.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Pain-upfront leads to long-decay pleasure&lt;/strong&gt;: learning/teaching, creative struggle, exercise, ice showers/sauna, fasting, spicy food, cleaning, tough conversations, apology, forgiveness, public speaking, dating, deep work, delayed gratification, investing, grief, sacrifice, boredom, etc.&lt;/li&gt;
&lt;li&gt;Surprises spike dopamine: low standards, variable rewards, interleaved work, artificial constraints, environment/social rotation, progressive difficulty, &amp;hellip;&lt;/li&gt;
&lt;li&gt;Dopamine mechanics are complex. Don&amp;rsquo;t trust any theory just yet.&lt;/li&gt;
&lt;li&gt;⭐ Pain is the down payment. Surprise is the interest. Recovery is the compounding period.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/7640261-sex-at-dawn&#34;&gt;Sex at Dawn&lt;/a&gt; claims humans evolved as promiscuous and non-jealous, that monogamy is recent. It&amp;rsquo;s partly valid (sexuality is more flexible and context-dependent than monogamy / nuclear families) but is also over-simplified with cherry-picked evidence. &lt;a href=&#34;https://claude.ai/share/417070cf-db71-4f5b-8415-21083428b7df&#34;&gt;Claude&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Discovered the &lt;code&gt;--extreme&lt;/code&gt; option for &lt;code&gt;xz&lt;/code&gt;, which compresses even better (but slower). For archives, I now use &lt;code&gt;xz -9e -vv file&lt;/code&gt;. Single-threaded is slower but better for compression, so don&amp;rsquo;t use &lt;code&gt;-mt&lt;/code&gt;. For ultra-large files, add &lt;code&gt;--lzma2=dict=256MiB&lt;/code&gt; or similar, keeping dictionary size smaller than RAM and file size. &lt;a href=&#34;https://chatgpt.com/c/694a1d73-88a8-8320-8e3d-e8335eb52b37&#34;&gt;#&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;You can specify a git repo as an inline script dependency directly in a &lt;code&gt;.py&lt;/code&gt; file when running with &lt;code&gt;uv&lt;/code&gt;! &lt;a href=&#34;https://claude.ai/chat/e5c44b76-4b23-4765-aeb1-85263cac423d&#34;&gt;#&lt;/a&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# /// script&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# dependencies = [&amp;#34;git+https://github.com/owner/repo.git&amp;#34;]&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;c1&#34;&gt;# ///&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;Excuses are a great way of making us feel better. They are synonyms for &amp;ldquo;reasons&amp;rdquo;. They reduce guilt/anxiety, lower standards &amp;ndash; all of which could be considered bad &amp;ndash; but if we are aware of it and use it consciously, it can help us move forward. (Rare TIL from my own brain, not an LLM.)&lt;/li&gt;
&lt;li&gt;You can open AI chatbots with a pre-populated query using these URLs. Gemini, notably, does not yet support this.
&lt;ul&gt;
&lt;li&gt;ChatGPT: &lt;a href=&#34;https://chatgpt.com/?q=%25s&#34;&gt;https://chatgpt.com/?q=%s&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Claude: &lt;a href=&#34;https://claude.ai/new?q=%25s&#34;&gt;https://claude.ai/new?q=%s&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Google AI Mode: &lt;a href=&#34;https://www.google.com/search?udm=50&amp;amp;q=%25s&#34;&gt;https://www.google.com/search?udm=50&amp;amp;q=%s&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Grok: &lt;a href=&#34;https://grok.com/?q=hi&#34;&gt;https://grok.com/?q=hi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Mistral: &lt;a href=&#34;https://chat.mistral.ai/chat?q=%25s&#34;&gt;https://chat.mistral.ai/chat?q=%s&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Perplexity: &lt;a href=&#34;https://www.perplexity.ai/search?q=%25s&#34;&gt;https://www.perplexity.ai/search?q=%s&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;A clever trick to prevent voice models from speaking too quickly. Use a &amp;ldquo;stay silent&amp;rdquo; function call. &lt;a href=&#34;https://x.com/ilanbigio/status/1870218818288558396?t=Bo-BdgJ0hFKOJ0urC0HYBQ&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 21 Jul 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-21-jul-2024/</link>
      <pubDate>Sun, 21 Jul 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-21-jul-2024/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://gptforwork.com/help/gpt-for-sheets/gpt-functions/all-available-functions&#34;&gt;GPT For Work&lt;/a&gt; has a set of useful spreadsheet LLM functions&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://xata.io/docs/rest-api&#34;&gt;Xata&lt;/a&gt; offers a free PostgreSQL tier with REST API&lt;/li&gt;
&lt;li&gt;Mamba now uses mambaforge as the default installation, i.e. conda-forge is the default and only channel!
&lt;ul&gt;
&lt;li&gt;Update: 6 Jun 2025. Mambaforge is sunset as of 29 Jul 2024. Conda-forge now uses Miniforge as the standard installer &lt;a href=&#34;https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/&#34;&gt;Ref&lt;/a&gt;
conda-forge.org. Users should switch to Miniforge instead.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;nginx supports a load-balancing method &lt;code&gt;least_conn&lt;/code&gt; which is &lt;em&gt;far&lt;/em&gt; better than the default round-robin.&lt;/li&gt;
&lt;li&gt;#IMPOSSIBLE LLMs cannot provide a bounding box of objects in images. (Maybe Florence 2 can). Update: Mar 2025. Gemini has &lt;a href=&#34;https://simonwillison.net/2025/Mar/25/gemini/&#34;&gt;good timestamps and bounding boxes&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Models gently grow in capability. It helps to maintain an impossibility list that steadily gets invalidated. &lt;a href=&#34;https://www.oneusefulthing.org/p/gradually-then-suddenly-upon-the&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://thakkarparth007.github.io/copilot-explorer/posts/copilot-internals.html&#34;&gt;Github Copilot internals&lt;/a&gt; walks through how Copilot constructs its prompts&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 14 Apr 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-14-apr-2024/</link>
      <pubDate>Sun, 14 Apr 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-14-apr-2024/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Prashant Pandey: we need to prepare before every meeting. Something to teach&lt;/li&gt;
&lt;li&gt;VS Code
&lt;ul&gt;
&lt;li&gt;Select any code and command &lt;code&gt;Explain this&lt;/code&gt; to understand the code&lt;/li&gt;
&lt;li&gt;&lt;code&gt;%something&lt;/code&gt; in command bar searches ACROSS files for a term. Exactly like &lt;code&gt;Ctrl+Shift+F&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Copilot has an Inline Chat: Start in Terminal (that needed me to unbind Ctrl+I in bash to work)&lt;/li&gt;
&lt;li&gt;&lt;code&gt;Ctrl+2&lt;/code&gt; opens a second window on the side. &lt;code&gt;Ctrl+1&lt;/code&gt; goes back to the first window&lt;/li&gt;
&lt;li&gt;Terminal: Open Detected Link lets you scroll through detected (file) links in terminal&lt;/li&gt;
&lt;li&gt;Terminal sticky scroll is transparent. (But Terminal stick scroll isn&amp;rsquo;t working for me.)&lt;/li&gt;
&lt;li&gt;Copilot uses last 10 commit messages, Jupyter notebook kernel state (variables) as additional context&lt;/li&gt;
&lt;li&gt;1.88: supports locked scrolling to sync scrolling of side-by-side windows&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://filesystem-spec.readthedocs.io/&#34;&gt;fsspec&lt;/a&gt; is used by &lt;a href=&#34;https://csvbase.com/blog/7&#34;&gt;csvbase&lt;/a&gt;, Pandas, etc. to implement file system protocols like &lt;code&gt;s3fs&lt;/code&gt;, &lt;code&gt;gcfs&lt;/code&gt;, etc.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/nalgeon/sqlime&#34;&gt;SQLime&lt;/a&gt; is a SQLite client / playground on the browser!&lt;/li&gt;
&lt;li&gt;Do nothing. Then do less
&lt;ul&gt;
&lt;li&gt;Humans have a bias against inaction. Hence a strategic advantage. What can you cancel today?&lt;/li&gt;
&lt;li&gt;Humans have a bias against subtraction or removal. That too is a strategic advantage. What can you remove today?&lt;/li&gt;
&lt;li&gt;Humans have a bias against constraints. That&amp;rsquo;s a strategic advantage. What constraint can you embrace?&lt;/li&gt;
&lt;li&gt;No Yay! When declining something, add it your calendar so that when the time comes you can say yeah I got this time back&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 17 Dec 2023</title>
      <link>https://www.s-anand.net/blog/things-i-learned-17-dec-2023/</link>
      <pubDate>Sun, 17 Dec 2023 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-17-dec-2023/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt;Grab. Improving last mile delivery in maps. When did people pick up the phone, when should driver be allocated to minimize waiting time, layer on top of OSM.&lt;/li&gt;
&lt;li&gt;Singapore developers the Sea Lion 7b model&lt;/li&gt;
&lt;li&gt;Try VLLM with AWQ format. Can do batch inferencing. Needs a good GPU&lt;/li&gt;
&lt;li&gt;Amex prediction whether they can pay back in 1 year or 18 months. That choice is a business decision. In real time. Precompute individual score and use it as input to another model. Model must be explainable by regulation. Creates decision tree models therefore. Compliance team must agree if I can use a feature. Can&amp;rsquo;t use gender. Age (in US, Canada);- high age is more risk. Can&amp;rsquo;t use edu level in the US.&lt;/li&gt;
&lt;li&gt;Capture information from camera and use LLMs. Like traffic cameras mapping. Explore GIS from video cameras&lt;/li&gt;
&lt;li&gt;Grab tracks road closures and road accidents and whether a cycle can go on a road vs a bike vs a car&lt;/li&gt;
&lt;li&gt;All drivers have a front facing camera&lt;/li&gt;
&lt;li&gt;Drivers report road accidents by pressing a button&lt;/li&gt;
&lt;li&gt;Amex prices individual loans when selling to a collection agency&lt;/li&gt;
&lt;li&gt;#TODO buy a bike head camera!&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://playwright.dev/&#34;&gt;Playwright&lt;/a&gt; is a browser-based test framework. Supports recording.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://platform.openai.com/docs/api-reference/chat/create#chat-create-logprobs&#34;&gt;OpenAI provides logprobs for tokens&lt;/a&gt;! This can be a used to create cool visualizations of the likelihood of the each tokens.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://youtu.be/SZVCJRUADc4&#34;&gt;Github Copilot&amp;rsquo;s new features&lt;/a&gt; makes your entire workspace or a specific file its context. It also auto-writes your commit messages and PR descriptions.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://huggingface.co/TheBloke/Mixtral-8x7B-Instruct-v0.1-GGUF&#34;&gt;Mixtral-8x7b-Instruct&lt;/a&gt; &amp;ldquo;&amp;hellip; really does seem to be equivalent in quality to ChatGPT 3.5.&amp;rdquo; &lt;a href=&#34;https://simonwillison.net/2023/Dec/14/ai-trust-crisis/&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Practical AI podcast
&lt;ul&gt;
&lt;li&gt;Advent of Gen AI is going on. Explore&lt;/li&gt;
&lt;li&gt;add to tools in data science course. Model validation&lt;/li&gt;
&lt;li&gt;write a book as an open source to github repository. Easier to evolve and easier to get feedback on..&lt;/li&gt;
&lt;li&gt;Explore utterances as a GitHub commenting platform&lt;/li&gt;
&lt;li&gt;automatically give credits to contributors who have center pull request that was accepted or an issue that was fixed. This encourages contribution&lt;/li&gt;
&lt;li&gt;Visit book.premai.io&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;ast-grep is a semgrep alternative that focuses on code refactoring rather than security. Comby is another such tool&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://serply.io/&#34;&gt;Serply&lt;/a&gt; is a Google Search API alternative to Google CSE&lt;/li&gt;
&lt;li&gt;⭐ &lt;a href=&#34;https://github.com/VikParuchuri/textbook_quality&#34;&gt;Generate textbooks&lt;/a&gt;!&lt;/li&gt;
&lt;li&gt;ChatGPT is good at generating questions or training datasets. It genuinely creates them rather than replicating from memory. &lt;a href=&#34;https://arxiv.org/pdf/2304.14334.pdf&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://v0.dev/&#34;&gt;v0.dev&lt;/a&gt; creates web pages from code. &lt;a href=&#34;https://v0.dev/t/XNlTLb7&#34;&gt;Example&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://microsoft.github.io/lida/&#34;&gt;LIDA&lt;/a&gt; from Microsoft is an LLM based data visualization tool.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
  </channel>
</rss>
