<?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>avif on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/avif/</link>
    <description>Recent content in avif on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 25 Jan 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/avif/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Things I Learned - 25 Jan 2026</title>
      <link>https://www.s-anand.net/blog/things-i-learned-25-jan-2026/</link>
      <pubDate>Sun, 25 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-25-jan-2026/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://indieweb.org/POSSE&#34;&gt;POSSE&lt;/a&gt; - &amp;ldquo;Publish (on your) Own Site, Share Everywhere&amp;rdquo; - is a self-explanatory content sharing approach. &lt;a href=&#34;https://www.youtube.com/watch?v=X3SrZuH00GQ&amp;amp;t=835s&#34;&gt;1 minute video introduction&lt;/a&gt;. Alternatives are:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://web.archive.org/web/20140517203502/http://www.programmableweb.com/news/cope-create-once-publish-everywhere/2009/10/13&#34;&gt;COPE&lt;/a&gt;: Create once, publish everywhere.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://indieweb.org/POSE&#34;&gt;POSE&lt;/a&gt;: Publish once, syndicate everywhere.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://indieweb.org/PESOS&#34;&gt;PESOS&lt;/a&gt;: Publish elsewhere, syndicate to own site.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://indieweb.org/PESETAS&#34;&gt;PESETAS&lt;/a&gt;: Publish elsewhere, syndicate everything to a silo (one of the &amp;ldquo;elsewhere&amp;quot;s).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Cory Doctorow&amp;rsquo;s essay on &lt;a href=&#34;https://pluralistic.net/2026/01/21/cod-marxism/&#34;&gt;how Google will use AI against shoppers&lt;/a&gt; is a great lesson on several lessons in behavioral economics. Fighting it is hard, but here is generally good advice: &lt;a href=&#34;https://chatgpt.com/share/69746734-a770-8003-ae4a-3168fd4428ae&#34;&gt;ChatGPT&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Never buy when rushed.&lt;/li&gt;
&lt;li&gt;Set a max price.&lt;/li&gt;
&lt;li&gt;Compare 2+ options (TOTAL price) early.&lt;/li&gt;
&lt;li&gt;Shop logged-out for big purchases.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/vortex-data/vortex&#34;&gt;Vortex&lt;/a&gt; is supported by &lt;a href=&#34;https://duckdb.org/2026/01/23/duckdb-vortex-extension&#34;&gt;DuckDB&lt;/a&gt;. It&amp;rsquo;s a better format than parquet for analysis and querying remotely. &lt;a href=&#34;https://gemini.google.com/share/f83ec3ef584a&#34;&gt;Gemini&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Research suggests that insight emerges when we struggle with a problem, get stuck, then DISENGAGE (to inhibit distractions). EEGs can predict insight ~8 seconds before it happens using this pattern. &lt;a href=&#34;https://www.s-anand.net/blog/notes/gemini-neuroscience-of-aha-moments/&#34;&gt;Gemini&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Books that have suggested this are:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/17226604-the-art-of-thought&#34;&gt;The Art of Thought (1926)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/30676.The_Act_of_Creation&#34;&gt;The Act of Creation (1964)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/905.The_Inner_Game_of_Tennis&#34;&gt;The Inner Game of Tennis (1974)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/599317.Hare_Brain_Tortoise_Mind&#34;&gt;Hare Brain, Toroise Mind (1997)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Wu_wei&#34;&gt;Taoism&amp;rsquo;s Wu Wei&lt;/a&gt;: &amp;ldquo;muddy water, let stand, becomes clear&amp;rdquo;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Koan&#34;&gt;Zen Koans&lt;/a&gt;: giving students impossible riddles&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Books that have argued (probably incorrectly) that an impasse is a signal to push harder, not step back, are:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/74176.The_Protestant_Ethic_and_the_Spirit_of_Capitalism&#34;&gt;The Protestant Ethic and the Spirit of Capitalism (1905)&lt;/a&gt; by Max Weber, &lt;a href=&#34;https://quoteinvestigator.com/2012/12/14/genius-ratio/&#34;&gt;Edison&amp;rsquo;s 99% perspiration quote&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/10339170-the-10x-rule&#34;&gt;The 10X Rule (2011)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/27213329-grit&#34;&gt;Grit (2016)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.goodreads.com/book/show/41721428-can-t-hurt-me&#34;&gt;Can&amp;rsquo;t Hurt Me (2018)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;We are starting to talk like LLMs. &lt;a href=&#34;https://gemini.google.com/share/fa763d406046&#34;&gt;Empirical evidence of Large Language Model&amp;rsquo;s influence on human spoken communication&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.caniemail.com/features/image-avif/&#34;&gt;Email support for animated AVIF is limited&lt;/a&gt;. Though it&amp;rsquo;s perhaps the best compression format, and Apple Mail supports it well, Outlook on Windows does not support it. GMail converts it to GIF. Also, Google Groups does not yet support it. When I sent an &lt;a href=&#34;https://files.s-anand.net/images/2026-01-20-gemini-scraper-add-bookmarklet.avif&#34;&gt;animated AVIF&lt;/a&gt; in a Google Group email, it was replaced by the content proxy to &lt;a href=&#34;https://ci5.googleusercontent.com/proxy/IczfXXBzWZpSMU4zGPAy7i2QIiloAnCy9P2rvA4PX6CZU8m1-ZZP_2CBDN9oySrlTgm4lsNEKDbFsSwIDMcPm-C9k2iLSYTaPQnedmoaglIGOgI9R9l-AjGd_Ms7taUaerE=s0-d-e1-ft#https://files.s-anand.net/images/2026-01-20-gemini-scraper-add-bookmarklet.avif&#34;&gt;this nonexistent URL&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/portkey-ai/models&#34;&gt;Portkey Models&lt;/a&gt; is a repo of model related data (e.g. price, max tokens, capabilities, etc.) for a large number of models. Somewhat similar to Simon Willison&amp;rsquo;s &lt;a href=&#34;https://github.com/simonw/llm-prices&#34;&gt;LLM Prices&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/newren/git-filter-repo&#34;&gt;git-filter-repo&lt;/a&gt; is a &lt;em&gt;surprisingly&lt;/em&gt; easy way to rewrite your git history to remove specific files (e.g. large files, sensitive files). It can preserve timestamps, messages, etc. It just filters out specific files as if they were never committed. This can reduce the size of repos dramatically.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 18 Jan 2026</title>
      <link>https://www.s-anand.net/blog/things-i-learned-18-jan-2026/</link>
      <pubDate>Sun, 18 Jan 2026 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-18-jan-2026/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://pypi.org/project/vulture&#34;&gt;Vulture&lt;/a&gt; is a neat library that funds unused Python code. &lt;code&gt;uvx vulture script.py&lt;/code&gt; works fairly well, out-of-box. This helps when cleaning up AI-edited scripts that often have left-over code or imports.&lt;/li&gt;
&lt;li&gt;One of the lightest alternatives to Google Analytics is &lt;a href=&#34;https://goatcounter.com/&#34;&gt;GoatCounter&lt;/a&gt;. If you just want page views, referrers, browsers, OSes, countries, and devices, it&amp;rsquo;s great. It&amp;rsquo;s privacy-friendly (no cookies), open source, easy to self-host, free for small sites, and the data is exportable.&lt;/li&gt;
&lt;li&gt;The number of countries that allow visa-free entries to Indian passports is gently growing in Asia (Kazakhstan, Thailand, Sri Lanka, Malaysia, Iran, and Philippines).&lt;/li&gt;
&lt;li&gt;Lessons from performance books. &lt;a href=&#34;https://claude.ai/public/artifacts/cd4074fd-f227-4b77-8366-cdc1c2a6199b&#34;&gt;Claude&lt;/a&gt; &lt;a href=&#34;https://claude.ai/chat/ee0c099e-ed4c-46d1-9dcd-111010334375&#34;&gt;#&lt;/a&gt; &lt;a href=&#34;https://gemini.google.com/u/2/app/f6756cca3a258d92&#34;&gt;#&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Summary: In early days, explore, sample. Then narrow based on interest &amp;amp; fit. Practice hard and persist.&lt;/li&gt;
&lt;li&gt;⭐⭐⭐⭐ Range (David Epstein): In changing environments (rules shift, feedback is noisy/late), sample broadly, i.e. generalize. &lt;a href=&#34;https://chatgpt.com/share/68902bbf-bf58-800c-b6b5-9ae787fa9c26&#34;&gt;Specialization vs generalization&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Nobel laureates have more hobbies. Olympic athletes have less. Shift nurses have same hobbies as non-shift workers. &lt;a href=&#34;https://chatgpt.com/share/6894691e-f530-800c-b594-824814559dd2&#34;&gt;Hobbies help expertise in some areas&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Rewarding ONLY what succeeds locks behavior, halts exploration. Vary / delay incentives. Reward AFTER figuring out what works. &lt;a href=&#34;https://chatgpt.com/share/68946330-d714-800c-b845-ca86df7729b6&#34;&gt;Reinforcement and rewards&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Maybe &amp;ldquo;orderly&amp;rdquo; people specialize and creative people generalize? So pick what aligns with personality?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;⭐⭐⭐ Peak (Anders Ericsson &amp;amp; Robert Pool): Compounded practice at the edge of competence, with good immediate feedback, helps 14-26%.
&lt;ul&gt;
&lt;li&gt;But talent (genetics, upbringing, brainpower) differentiates more the expert level.&lt;/li&gt;
&lt;li&gt;Slow, effortful practice (spaced recall, interleaving topics, self-testing) builds lasting knowledge - but looks inefficient and doesn&amp;rsquo;t help with exams. &lt;a href=&#34;https://chatgpt.com/share/689180c7-03a0-800c-a5d4-5a455429e97f&#34;&gt;Learning and long-term retention&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Easy&amp;rdquo; 10K hours don&amp;rsquo;t help.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;⭐⭐ Grit (Angela Duckworth): predicts roughly the same as conscientiousness (18%). It predicts success in stable paths moderately (but brainpower, etc. matter too).
&lt;ul&gt;
&lt;li&gt;But premature grit hurts. Quit if it helps.&lt;/li&gt;
&lt;li&gt;But environment can defeat grit.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lessons from attention economy books. &lt;a href=&#34;https://claude.ai/public/artifacts/ce1ce275-1d79-443b-bfd6-9a6f2a3ddfbe&#34;&gt;Claude&lt;/a&gt; &lt;a href=&#34;https://claude.ai/chat/1fdda7c7-9d70-47d9-9a4c-7e54c16091da&#34;&gt;#&lt;/a&gt; &lt;a href=&#34;https://gemini.google.com/u/2/app/6cbffbe94a9a4e2c&#34;&gt;#&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;The attention economy is real. It is &lt;em&gt;designed&lt;/em&gt; to capture our mind, and it is winning.&lt;/li&gt;
&lt;li&gt;Distractions hurt &lt;em&gt;MUCH&lt;/em&gt; more than we think. Batching, focus time helps.&lt;/li&gt;
&lt;li&gt;Privilege helps. The rich have more control over these than the poor do.&lt;/li&gt;
&lt;li&gt;⭐⭐⭐⭐ Deep Work (Cal Newport, 2016) and ⭐⭐⭐ Digital Minimalism (Cal Newport, 2019): control the tools. &lt;strong&gt;Focus time, digital detox, embrace boredom&lt;/strong&gt;. This helps - when you can afford to.&lt;/li&gt;
&lt;li&gt;⭐⭐⭐ Indistractable (Nir Eyal): control yourself. The problem is internal (also true), so &lt;strong&gt;build habits&lt;/strong&gt;, since willpower depletes (hm&amp;hellip; not really).&lt;/li&gt;
&lt;li&gt;⭐⭐⭐ How to Do Nothing (Jenny Odell, 2019): reject. &lt;strong&gt;Embrace boredom&lt;/strong&gt; as resistance. This helps - when you can afford to.&lt;/li&gt;
&lt;li&gt;⭐⭐ Stolen Focus (Johann Hari, 2022): regulate &amp;amp; rebel. The problem is systemic and external (also true). &lt;strong&gt;Reclaim your interface&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;BTW: Goldfish have &lt;em&gt;excellent&lt;/em&gt; attention spans and memory :-)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Lessons from trauma books. &lt;a href=&#34;https://claude.ai/public/artifacts/b3e2120b-d65f-4beb-94d0-7e8a710bafb9&#34;&gt;Claude&lt;/a&gt; &lt;a href=&#34;https://claude.ai/chat/d33b75b9-a4ed-4972-8f31-c1e34b00b194&#34;&gt;#&lt;/a&gt; &lt;a href=&#34;https://gemini.google.com/u/2/app/ca92bd9b7c2c2549&#34;&gt;#&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;⭐⭐⭐ The Body Keeps the Score (Bessel van der Kolk, 2014): trauma recall shuts down the speech area. Eye movement desensitization (EMDR) helps. So does CBT, despite what the book says. But does yoga (only a little) or neurofeedback (too little data)?&lt;/li&gt;
&lt;li&gt;⭐⭐⭐ What Happened to You? (Bruce Perry &amp;amp; Oprah Winfrey, 2021): calming people down before talking. Strong connections help more than a therapist.&lt;/li&gt;
&lt;li&gt;⭐⭐ The Myth of Normal (Gabor Maté, 2022): trauma causes cancer (no), autoimmunity (partly), ALS (?), etc.&lt;/li&gt;
&lt;li&gt;⭐ It Didn’t Start with You (Mark Wolynn, 2016): maybe anxiety is epigenetic and heriditary? Unproven. &lt;a href=&#34;https://en.wikipedia.org/wiki/Family_Constellations&#34;&gt;Family Constellation Therapy&lt;/a&gt; is wrong&lt;/li&gt;
&lt;li&gt;⭐⭐ My Grandmother’s Hands (Resmaa Menakem, 2017): maybe racism is a somatic (body) response to generational (epigenetic) trauma? Too little data&lt;/li&gt;
&lt;li&gt;⭐⭐ No Bad Parts (Richard Schwartz): maybe we&amp;rsquo;re not one person but a collection of parts, and interviewing family systems (IFS) helps? Unclear&lt;/li&gt;
&lt;li&gt;⭐⭐⭐ Maybe You Should Talk to Someone (Lori Gottlieb): our memory is unreliable and therapy is messy. Connection &amp;amp; compassion help&lt;/li&gt;
&lt;li&gt;Most of these are based on the contested Polyvagal Theory: the nervous system scans for danger before the mind can process it. But the specific claims of the theory are wrong and it makes no other falsifiable claims.
&lt;ul&gt;
&lt;li&gt;The nervous system has hierarchical responses to threat. 🟢 Not unique to PVT&lt;/li&gt;
&lt;li&gt;Social connection regulates physiology. 🟢 Not unique to PVT&lt;/li&gt;
&lt;li&gt;Unconscious threat detection (neuroception). 🟡 Weak evidence&lt;/li&gt;
&lt;li&gt;Mamellian brain (ventral vagal system) is uniquely mammalian. 🔴 Lungfish have it&lt;/li&gt;
&lt;li&gt;Reptilian brain (dorsal vagal) &amp;ldquo;shutdown&amp;rdquo; causes dissociation. 🔴 No evidence&lt;/li&gt;
&lt;li&gt;RSA directly measures vagal tone. 🔴 Contested&lt;/li&gt;
&lt;li&gt;Reptiles are &amp;ldquo;asocial&amp;rdquo;. 🔴 Wrong&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Trauma causes &lt;em&gt;body&lt;/em&gt; changes too. It&amp;rsquo;s not just the mind.&lt;/li&gt;
&lt;li&gt;Childhood trauma persists.&lt;/li&gt;
&lt;li&gt;Relationships (connection &amp;amp; compassion) help more than therapy&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;What constitutes tax residency in India? For an Indian citizen, as I understand it (after 2 hours of research):
&lt;ul&gt;
&lt;li&gt;If you were in India &amp;gt;= 182 days: Resident*&lt;/li&gt;
&lt;li&gt;Else, if you left India &lt;em&gt;this year&lt;/em&gt; for employment: NRI.&lt;/li&gt;
&lt;li&gt;Else, if you are an Indian Citizen living abroad (visiting or not):
&lt;ul&gt;
&lt;li&gt;If Indian Income &amp;lt;= ₹15 Lakhs: NRI.&lt;/li&gt;
&lt;li&gt;Else if you were in India &amp;gt;= 120 days AND &amp;gt;= 365 days in the last 4 years: RNOR.&lt;/li&gt;
&lt;li&gt;Else if you are not liable to tax in any other country: RNOR.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Else, if you left India for non-employment (students, tourism) and were in India &amp;gt;= 60 days AND &amp;gt;= 365 days in the last 4 years: Resident*&lt;/li&gt;
&lt;li&gt;Else: NRI.&lt;/li&gt;
&lt;li&gt;If you ended up as a Resident*
&lt;ul&gt;
&lt;li&gt;If you were NRI in 9 of the last 10 years OR in India &amp;lt;= 729 days in the last 7 years: RNOR&lt;/li&gt;
&lt;li&gt;Else: ROR (Resident &amp;amp; Ordinarily Resident).&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;For all practical purposes, RNOR is like an NRI. You pay tax only on Indian income, not global income. It&amp;rsquo;s like a transition status for returning NRIs.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.ctrl.blog/entry/webp-avif-comparison.html&#34;&gt;AVIF compresses better than WebP&lt;/a&gt; and &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Formats/Image_types#avif_image&#34;&gt;may be the &amp;ldquo;next big thing&amp;rdquo;&lt;/a&gt;. I will be switching for all future images. &lt;a href=&#34;https://squoosh.app/&#34;&gt;Squoosh&lt;/a&gt; remains my choice of compressor and Ezgif&amp;rsquo;s &lt;a href=&#34;https://ezgif.com/avif-maker&#34;&gt;AVIF maker&lt;/a&gt; and &lt;a href=&#34;https://ezgif.com/gif-to-avif&#34;&gt;GIF to AVIF&lt;/a&gt; are handy.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 29 Sep 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-29-sep-2024/</link>
      <pubDate>Sun, 29 Sep 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-29-sep-2024/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pyodide can access the DOM and JavaScript in the browser&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://jupyter.org/try-jupyter/lab/&#34;&gt;Jupyter Lite&lt;/a&gt; lets you run Jupyter notebooks in the browser&lt;/li&gt;
&lt;li&gt;AVIFs is about 10X better than GIFs. I tried creating one via &lt;a href=&#34;https://ezgif.com/avif-maker/&#34;&gt;EZGIF AVIF Maker&lt;/a&gt; and the .avifs file created was 15X smaller!
&lt;code&gt;ffmpeg -i input.gif -c:v libaom-av1 -crf 30 -b:v 0 -cpu-used 4 -tiles -an output.avif&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Claude 3.5 thinks &lt;code&gt;.opus&lt;/code&gt; is the best format to compress audio. It used &lt;code&gt;ffmpeg -i audio.wav -c:a libopus -b:a 16k -application voip -vbr on -compression_level 10 audio.opus&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;API coding best practices &lt;a href=&#34;https://erikbern.com/2024/09/27/its-hard-to-write-code-for-humans.html&#34;&gt;Source&lt;/a&gt; via &lt;a href=&#34;https://simonwillison.net/2024/Sep/27/erik-bernhardsson/&#34;&gt;Simon Willison&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;Always add screenshots to the Readme. They never break.&lt;/li&gt;
&lt;li&gt;Always add every example. Human think in examples.&lt;/li&gt;
&lt;li&gt;Avoid defaults and be explicit unless 99% of the usage is with the default.&lt;/li&gt;
&lt;li&gt;Make the feedback loops incredibly fast.&lt;/li&gt;
&lt;li&gt;Make deprecations easy for users to deal with.&lt;/li&gt;
&lt;li&gt;Keep objects immutable.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://pymupdf.readthedocs.io/en/latest/pymupdf4llm/&#34;&gt;PyMuPDF4LLM&lt;/a&gt; can convert PDFs to Markdown. It handles tables, too.
&lt;ul&gt;
&lt;li&gt;04 Oct 2024. &lt;a href=&#34;https://github.com/opendatalab/PDF-Extract-Kit&#34;&gt;PDF-Extract-Kit&lt;/a&gt; does PDF layout, formula, table, and OCR extraction using various models.&lt;/li&gt;
&lt;li&gt;04 Oct 2024. &lt;a href=&#34;https://github.com/nlmatics/llmsherpa&#34;&gt;llmsherpa&lt;/a&gt; extracts PDF layout, tables, not OCR&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;When evaluating feasibility of technology with LLMs always ask for multiple options and pick from those. &lt;a href=&#34;https://youtu.be/6U_Zk_PZ6Kg?t=4444&#34;&gt;Simon Willison&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://ai.google.dev/gemini-api/docs/audio?lang=rest&#34;&gt;Gemini supports audio natively&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Google Vertex AI has an &lt;a href=&#34;https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/call-vertex-using-openai-library&#34;&gt;OpenAI compatible API&lt;/a&gt; but it works only for some models. Anthropic and Gemini are not compatible.&lt;/li&gt;
&lt;li&gt;When you paste HTML into Excel, it automatically changes the font of the cell to match the content in the HTML!&lt;/li&gt;
&lt;li&gt;Aptos is the new default font in Office - replacing Calibri.&lt;/li&gt;
&lt;li&gt;Anthropic&amp;rsquo;s &lt;a href=&#34;https://www.anthropic.com/news/contextual-retrieval&#34;&gt;Introducing Contextual Retrieval&lt;/a&gt; says:
&lt;ul&gt;
&lt;li&gt;Use BM25 in addition to embeddings to match rare terms (e.g. identifiers)&lt;/li&gt;
&lt;li&gt;Add a context to each chunk&amp;rsquo;s metadata (generate it with a cheap LLM) and pass it to the summarizing LLM&lt;/li&gt;
&lt;li&gt;Reranking helps with cost AND accuracy. Use &lt;a href=&#34;https://cohere.com/rerank&#34;&gt;Cohere&lt;/a&gt; or &lt;a href=&#34;https://docs.voyageai.com/docs/reranker&#34;&gt;Voyage&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/sentient-engineering/sentient&#34;&gt;Sentient&lt;/a&gt; lets you control the browser via Python in natural language&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
  </channel>
</rss>
