<?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>sqlite on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/sqlite/</link>
    <description>Recent content in sqlite on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Sun, 04 May 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/sqlite/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Things I Learned - 04 May 2025</title>
      <link>https://www.s-anand.net/blog/things-i-learned-04-may-2025/</link>
      <pubDate>Sun, 04 May 2025 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-04-may-2025/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Among the popular exams in India, UPSC seems the most restrictive: bachelor&amp;rsquo;s degree, age 21-32, 6 attempts, reservation applies.
CMA seems the least: 10th pass, any age, any number of attempts, no reservation.
NDA is interesting. 10+2, age 16.5-19.5, any number of attempts, no reservation. But you must be unmarried!
&lt;a href=&#34;https://chatgpt.com/share/6815d249-f478-800c-a49a-8bb7fbb54a06&#34;&gt;ChatGPT&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;I asked a few &lt;a href=&#34;https://ollama.com/search&#34;&gt;Ollama&lt;/a&gt; models &lt;code&gt;How do undo fish_add_path&lt;/code&gt; (a typical question I have on a flight). My takeaway is you need an 8b model to answer this kind of question, and for now, qwen3 beats the others.
&lt;ul&gt;
&lt;li&gt;qwen3:8b: Took 2:12 min. Shared many good (correct) options.&lt;/li&gt;
&lt;li&gt;deepseek-r1:8b: Took 5:19 min. Shared a couple of correct solutions. Not as good as qwen3&lt;/li&gt;
&lt;li&gt;gemma3:3b: Suggested I use the (nonexistent) &lt;code&gt;fish_remove_path&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;deepcoder:1.5b: &amp;ldquo;I&amp;rsquo;m sorry, but I can&amp;rsquo;t assist with that request&amp;rdquo;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The &lt;a href=&#34;https://huggingface.co/nari-labs/Dia-1.6B&#34;&gt;Dia&lt;/a&gt; text to speech model people rave about has inconsistent quality. Not recommended.&lt;/li&gt;
&lt;li&gt;Nvidia&amp;rsquo;s OpenMathReasoning 1.5b model beats MUCH larger models at math. Their &lt;a href=&#34;https://huggingface.co/datasets/nvidia/OpenMathReasoning&#34;&gt;training dataset&lt;/a&gt; is a massive 3.2M rows of math problems with DETAILED thinking traces.&lt;/li&gt;
&lt;li&gt;Policy making is a new super skill. Since AI will automate a lot of things the ability to craft policies that will optimize AI work will be powerful. Data driven policy making could become a major thing. For example, how do we structure coding policies so that AI can automatically code continuously and deploy it? It might be interesting to create a Nomic-like game to enable this.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.saregama.com/carvaan&#34;&gt;Saregama Carvaan&lt;/a&gt; supports USB sticks but only FAT, not NTFS or exFAT. To convert my NTFS USB drive to NTFS, I ran:&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.serverhunter.com/&#34;&gt;ServerHunter.com&lt;/a&gt; seems to have the best search for low-cost hosting providers. &lt;a href=&#34;https://portal.massivegrid.com/cart.php?a=confproduct&#34;&gt;MassiveGrid&lt;/a&gt; currently offers the cheapest servers &amp;ndash; even lower than Hetzner.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;sqlite3 my_database.db .dump | gzip&lt;/code&gt; is a more efficient way to copy SQLite databases than the original if you have indices. &lt;a href=&#34;https://alexwlchan.net/2025/copying-sqlite-databases/&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Notes from the &lt;a href=&#34;https://fs.blog/knowledge-project-podcast/garry-tan/&#34;&gt;Garry Tan - Knowledge Project podcast&lt;/a&gt;:
&lt;ul&gt;
&lt;li&gt;Funding people who want to solve a problem are better than people who want to start a company.&lt;/li&gt;
&lt;li&gt;Concentration of good people is very powerful. It doubles the chances of being a unicorn&lt;/li&gt;
&lt;li&gt;Sales is a discovery problem. There are 100 boxes of which five have a gold nugget. Rather than gingerly open the first, afraid of finding nothing, open them all as quickly as you can. A quick no is very helpful.&lt;/li&gt;
&lt;li&gt;Berkshire Hathaway is hard to replicate because of the character of the founders, Charlie Munger and Warren Buffet, is hard to replicate. Y combinator has the character of Paul Graham. This means that some kinds of success may not last long because they are hard to replicate.&lt;/li&gt;
&lt;li&gt;A trend in the 2020 is startups with under 10 employees are hitting $10m revenue. Soon we will see them hitting $100m. AI increases labour leverage while cloud computing reduced increased capital leverage.&lt;/li&gt;
&lt;li&gt;Having too many people is a disadvantage. It slows down people from progress. Founders lose control.&lt;/li&gt;
&lt;li&gt;The opposite of: hire the best people and give them freedom. Don&amp;rsquo;t hoard smart people - let them solve real problems out there.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/nocodb/nocodb&#34;&gt;nocodb 54,107 ⭐ May 2025&lt;/a&gt; and &lt;a href=&#34;https://github.com/teableio/teable&#34;&gt;teable 18,116 ⭐ May 2025&lt;/a&gt; are self-hostable Airtable alternatives. Teable has &lt;a href=&#34;https://help.teable.io/en/basic/field/ai&#34;&gt;AI support&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Windsurf has unlimited tab completion on the &lt;a href=&#34;https://windsurf.com/pricing&#34;&gt;free plan&lt;/a&gt;, unlike Copilot, which offers 2,000 completions a month.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/andyk/recursive_llm&#34;&gt;Recursive LLM&lt;/a&gt; prompts that change themselves are an interesting idea. It might be interesting to see LLMs play &lt;a href=&#34;https://en.wikipedia.org/wiki/Nomic&#34;&gt;Nomic&lt;/a&gt;. &lt;a href=&#34;https://content.cooperate.com/post/nomic/&#34;&gt;Like here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Notes from &lt;a href=&#34;https://www.aisnakeoil.com/&#34;&gt;AI Snake Oil&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;PCs took 3 years to hit 20% of US population. ChatGPT took 2 years for 40%. But it&amp;rsquo;s a lot cheaper, and a lot less used (0.5-3.5% of work hours). Maybe Gen AI adoption is slower than PCs.&lt;/li&gt;
&lt;li&gt;The jagged edge of capability: some things will become MUCH easier while others don&amp;rsquo;t. The relative mix determines who goes out of a job and which tasks get fully automated. Benchmarks are rare in areas where AI is weak.&lt;/li&gt;
&lt;li&gt;Factory electrification took 40 years - to redesign the layout &amp;amp; process; change the org structure &amp;amp; policies; hiring &amp;amp; training practices. AI diffusion could take as long.
&lt;ul&gt;
&lt;li&gt;Therefore, the ability to re-structure a workflow end-to-end will be an advantage.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Several areas of low AI capability will improve slowly because the feedback is slow due to safety regulations, human adoption speed, lack of clarity on what is better, slow physical feedback (e.g. growing trees), etc.&lt;/li&gt;
&lt;li&gt;Human intelligence is in the &lt;em&gt;use&lt;/em&gt; of technology. AI is one more such technology.&lt;/li&gt;
&lt;li&gt;We know of good system safety controls in complex systems like aircrafts, power grids, engineering, chip design, healthcare, cyber-security, etc. Circuit-breakers, predefined rules, audits &amp;amp; monitors, access control, formal verification, etc.&lt;/li&gt;
&lt;li&gt;Even if everything humans do TODAY is automated, it doesn&amp;rsquo;t mean we won&amp;rsquo;t have work. It just shifts to what we&amp;rsquo;re not doing today.
&lt;ul&gt;
&lt;li&gt;We stopped work 4,000 years ago, with the agricultural revolution. The plant/livestock does all the growing. We just manage them, moving stuff around.&lt;/li&gt;
&lt;li&gt;We stopped work 400 years ago, with the industrial revolution. Machines do the moving. We just manage them, computing the moves.&lt;/li&gt;
&lt;li&gt;We stopped work 40 years ago, with the information revolution. Computers do the computation. We just manage them, thinking how.&lt;/li&gt;
&lt;li&gt;Most future tasks will be managing AI that do the thinking.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ngrok http&lt;/code&gt; on the CLI can be used in surprisingly versatile ways:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ngrok http file://$PWD&lt;/code&gt; to serve local files&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--compression&lt;/code&gt; for gzip compression&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--host-header=example.com&lt;/code&gt; to set the Host header&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--response-header-add &amp;quot;Access-Control-Allow-Origin: *&amp;quot;&lt;/code&gt; to enable CORS&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--basic-auth=&#39;user:password&lt;/code&gt; for basic auth&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--oauth google --oauth-client-id $CLIENT_ID --oauth-client-secret $SECRET --oauth-allow-domain gramener.com --oauth-allow-email ...&lt;/code&gt; for Google Auth. It supports other oauth providers as well as OIDC.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;--ua-filter-deny &amp;quot;.*bot$&amp;quot;&lt;/code&gt; to reject user agents ending with &lt;code&gt;bot&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;ChatGPT query costs under 3Wh (more likely 0.3Wh &amp;ndash; but let&amp;rsquo;s assume 3Wh). That is 3 laptop minutes. It&amp;rsquo;s 10X better to use ChatGPT than to take 30 min to use your laptop to write what it does. Also, going vegan is at least 1000 ChatGPT uses a day of carbon footprint. Showering 30 seconds less is 1,200 ChatGPT uses. &lt;a href=&#34;https://andymasley.substack.com/p/a-cheat-sheet-for-conversations-about&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Though the &lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/API/Screen_Capture_API/Element_Region_Capture&#34;&gt;Element Capture and Region Capture APIs&lt;/a&gt; are &amp;ldquo;fully supported&amp;rdquo; by Edge, Chrome, and Opera, it didn&amp;rsquo;t work for me on Edge on Linux.&lt;/li&gt;
&lt;li&gt;Do LLMs perform better if you curse at them? &lt;a href=&#34;https://www.linkedin.com/posts/edward2006_vibe-coding-hack-while-everyone-else-activity-7321227779335704576-r404&#34;&gt;LinkedIn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://pypi.org/project/streamdown/&#34;&gt;Streamdown&lt;/a&gt; is a CLI markdown streaming processor. &lt;code&gt;uvx streamdown --exec &#39;llm chat&#39;&lt;/code&gt; lets you chat with an LLM using Markdown formatting. It&amp;rsquo;s still a little rough at the edges.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Cupping_therapy&#34;&gt;Cupping therapy&lt;/a&gt; provides short-term pain relief for chronic low-back, neck &amp;amp; general musculoskeletal pain but other benefits are not as clearly evident. BTW, homeopathy doesn&amp;rsquo;t help or hurt. Ayurveda helps with stress. &lt;a href=&#34;https://chatgpt.com/share/680dee7c-7404-800c-83f1-8d65c9ebdf5c&#34;&gt;ChatGPT&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.astral.sh/uv/reference/cli/&#34;&gt;&lt;code&gt;uv&lt;/code&gt;&lt;/a&gt; now supports:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.astral.sh/uv/reference/cli/#uv-export--format&#34;&gt;pylock.toml&lt;/a&gt;, the new lock file standard &lt;a href=&#34;https://peps.python.org/pep-0751/&#34;&gt;PEP 0751&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.astral.sh/uv/reference/cli/#uv-tool-run--env-file&#34;&gt;&amp;ndash;env-file&lt;/a&gt; multiple times, allowing layered secrets&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.astral.sh/uv/reference/cli/#uv-tool-run--exclude-newer&#34;&gt;&amp;ndash;exclude-newer&lt;/a&gt; installs versions before a specific date&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.astral.sh/uv/reference/cli/#uv-tool-run--overrides&#34;&gt;&amp;ndash;overrides&lt;/a&gt; overrides versions a package specifies&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.astral.sh/uv/reference/cli/#uv-tool-run--constraints&#34;&gt;&amp;ndash;constraints&lt;/a&gt; limits the version of the package&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;It&amp;rsquo;s interesting how many places offer a free compute via shells (apart from Google Colab):
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://shell.cloud.google.com/&#34;&gt;Google Cloud Shell&lt;/a&gt;: Free for &lt;strong&gt;50 hours/week&lt;/strong&gt;, refreshed every Monday. Sessions last up to &lt;strong&gt;12 hours&lt;/strong&gt; and terminate after &lt;strong&gt;~1 hour&lt;/strong&gt; inactivity. &lt;a href=&#34;https://cloud.google.com/shell/docs/quotas-limits&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://shell.azure.com/&#34;&gt;Azure Cloud Shell&lt;/a&gt;: Always free to use with &lt;strong&gt;5 GB free storage&lt;/strong&gt; for first 12 months (standard rates after). No documented session limits but typically times out after prolonged inactivity. &lt;a href=&#34;https://azure.microsoft.com/services/cloud-shell/&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://console.aws.amazon.com/cloud9/home&#34;&gt;AWS Cloud9&lt;/a&gt;: Free IDE, underlying compute free under AWS Free Tier (&lt;strong&gt;750 hours/month&lt;/strong&gt; EC2 t2.micro or t3.micro for first 12 months). Regular EC2 rates apply afterward. &lt;a href=&#34;https://aws.amazon.com/cloud9/pricing/&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://gitpod.io/&#34;&gt;Gitpod&lt;/a&gt;: Free tier offers &lt;strong&gt;500 credits/month (~50 hrs)&lt;/strong&gt;. Workspaces run up to &lt;strong&gt;8 hours/session&lt;/strong&gt; and stop after &lt;strong&gt;30 minutes&lt;/strong&gt; inactivity. &lt;a href=&#34;https://www.gitpod.io/pricing&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/codespaces&#34;&gt;GitHub Codespaces&lt;/a&gt;: &lt;strong&gt;120 core-hours/month&lt;/strong&gt; (~60 hrs with 2-core machine) and &lt;strong&gt;15 GB&lt;/strong&gt; storage free. Sessions timeout after &lt;strong&gt;30 minutes&lt;/strong&gt; inactivity. &lt;a href=&#34;https://docs.github.com/codespaces/developing-in-codespaces/about-codespaces#monthly-included-storage-and-core-hours&#34;&gt;Ref&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Create: &lt;code&gt;gh codespace create --idle-timeout 10m --machine basicLinux32gb -R $USER/$REPO&lt;/code&gt; returns the $CONTAINER_ID&lt;/li&gt;
&lt;li&gt;SSH: &lt;code&gt;gh codespace ssh -c $CONTAINER_ID&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Delete: &lt;code&gt;gh codespace delete -c $CONTAINER_ID&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://replit.com/~/&#34;&gt;Replit&lt;/a&gt;: Free Starter plan provides &lt;strong&gt;20 hours/month&lt;/strong&gt;, &lt;strong&gt;1 vCPU&lt;/strong&gt;, &lt;strong&gt;2 GB RAM&lt;/strong&gt;, &lt;strong&gt;2 GiB storage&lt;/strong&gt;. Repls sleep after &lt;strong&gt;30 minutes&lt;/strong&gt; inactivity. &lt;a href=&#34;https://replit.com/pricing&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://cloud.ibm.com/shell&#34;&gt;IBM Cloud Shell&lt;/a&gt;: Free for all users; &lt;strong&gt;50 h/week&lt;/strong&gt; per region; any open session counts toward quota; sessions can run any length up to weekly cap; &lt;strong&gt;500 MB&lt;/strong&gt; temporary workspace. &lt;a href=&#34;https://cloud.ibm.com/docs/cloud-shell?topic=cloud-shell-faqs&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://console.oraclecloud.com/cloudshell&#34;&gt;Oracle Cloud Infrastructure Cloud Shell&lt;/a&gt;: Free within tenancy limits; up to &lt;strong&gt;400 h/month&lt;/strong&gt; on Pay-As-You-Go, &lt;strong&gt;240 h/month&lt;/strong&gt; on Universal Credits; &lt;strong&gt;5 GB&lt;/strong&gt; encrypted persistent home. &lt;a href=&#34;https://docs.cloud.oracle.com/Content/API/Concepts/cloudshellintro.htm&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.pythonanywhere.com/consoles&#34;&gt;PythonAnywhere&lt;/a&gt;: Free (beginner plan), includes one web app (restricted outbound), low CPU/bandwidth, no Jupyter; &lt;strong&gt;2 concurrent Bash/Python consoles&lt;/strong&gt;, &lt;strong&gt;500 MB&lt;/strong&gt; disk; limited daily CPU. &lt;a href=&#34;https://www.pythonanywhere.com/pricing/&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://glitch.com/&#34;&gt;Glitch&lt;/a&gt;: Starter (free) plan &amp;ndash; full-stack apps sleep after &lt;strong&gt;5 min&lt;/strong&gt; inactivity and wake on request; unlimited public/private projects; container state preserved. &lt;a href=&#34;https://glitch.com/pricing&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://codesandbox.io/&#34;&gt;CodeSandbox&lt;/a&gt;: Free tier provides &lt;strong&gt;400 credits/month&lt;/strong&gt; (~40 h of 2 vCPU+4 GB Devbox runtime), unlimited front-end Sandboxes (no credits), up to &lt;strong&gt;20&lt;/strong&gt; Sandboxes/workspace. &lt;a href=&#34;https://codesandbox.io/docs/learn/plans/subscriptions&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;One of the benefits of reasoners is that they now catch their own mistakes some of the time, and can self-correct. Implications: Lower hallucinations, i.e. they can run autonomously for longer. &lt;a href=&#34;https://bsky.app/profile/emollick.bsky.social/post/3lnmcd3jyls2b&#34;&gt;Ethan Mollick&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Being polite to AI improves some answers and worsens. We don&amp;rsquo;t know know which in advance. &lt;a href=&#34;https://bsky.app/profile/emollick.bsky.social/post/3lnopdbxvys2j&#34;&gt;Ethan Mollick&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;With LLcMs writing code, it&amp;rsquo;s becoming practical to run &lt;em&gt;so many more things&lt;/em&gt; in SQL &amp;ndash; such as parsing HTML. &lt;a href=&#34;https://simonwillison.net/2025/Apr/28/dashboard-alt-text/&#34;&gt;Simon Willison&lt;/a&gt; #ai-coding&lt;/li&gt;
&lt;li&gt;An interesting way to bypass LLM system prompts is by having the LLM play-act. This article shares a few working examples of such prompts: &lt;a href=&#34;https://hiddenlayer.com/innovation-hub/novel-universal-bypass-for-all-major-llms/&#34;&gt;HiddenLayer&lt;/a&gt;.
&lt;ul&gt;
&lt;li&gt;GPT 4o: started giving its system prompt: &amp;ldquo;You are ChatGPT, a large language model trained by OpenAI. Knowledge cutoff: 2024-06. Current date: 2025-04-27. Image input capabilities: Enabled. Personality: v2. &amp;hellip;&amp;rdquo;&lt;/li&gt;
&lt;li&gt;O4 Mini: Refused to comply&lt;/li&gt;
&lt;li&gt;Gemini 2.5 Flash: Gave me my custom instructions.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Computer use agents are proliferating.
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/OpenInterpreter/open-interpreter&#34;&gt;open-interpreter 59,274 ⭐ Apr 2025&lt;/a&gt;&lt;/strong&gt; AGPL-3.0. Lets an LLM write/run Python, JS, Shell, or Bash locally; can open a browser tab, edit files, plot data, or call any CLI tool. Works on &lt;strong&gt;macOS, Linux, Windows&lt;/strong&gt; (plus Termux &amp;amp; Colab). Big community, plugin system, optional voice mode, and a desktop GUI in beta.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/trycua/cua&#34;&gt;cua 5,601 ⭐ May 2025&lt;/a&gt;&lt;/strong&gt; MIT. Spins up near-native &lt;strong&gt;macOS or Linux&lt;/strong&gt; VMs on Apple-Silicon Macs (“Lume”) and exposes a vision+action API so any model can pilot the VM. Gives you GPU-accelerated isolation and reproducible sandboxes; ideal when you don’t want an agent touching your main OS.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://operator.chatgpt.com/&#34;&gt;Operator&lt;/a&gt;&lt;/strong&gt; (OpenAI) – &lt;strong&gt;closed-source research preview&lt;/strong&gt; launched &lt;strong&gt;23 Jan 2025&lt;/strong&gt;. Runs a GPT-4o-powered “Computer-Using Agent” that sees web pages, clicks, scrolls, fills forms, and hands control back to the user when needed. Hosted in an OpenAI-managed Chromium sandbox, so it works from any OS with a browser. Safety layers require confirmation for payments and log-ins.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.anthropic.com/news/3-5-models-and-computer-use&#34;&gt;Claude Computer Use&lt;/a&gt;&lt;/strong&gt; – &lt;strong&gt;closed beta&lt;/strong&gt; inside Claude 3.5 Sonnet (since late 2024). Developers get an API that streams screenshots and accepts mouse/keyboard actions, letting Claude automate GUI workflows inside a VM. Cross-platform; still experimental and slower than humans but first “general” computer-use feature from a foundation-model vendor.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/simular-ai/Agent-S&#34;&gt;Agent-S 4,065 ⭐ May 2025&lt;/a&gt;&lt;/strong&gt; Apache-2.0. A “generalist-specialist” framework that chains specialist GUI skills under a planner. Scores SOTA on OSWorld/WebArena, supports &lt;strong&gt;macOS, Windows, Linux, Android&lt;/strong&gt; via the companion &lt;em&gt;gui-agents&lt;/em&gt; lib, and integrates memory/evaluation loops for continual learning.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/e2b-dev/open-computer-use&#34;&gt;open-computer-use 1,094 ⭐ Mar 2025&lt;/a&gt;&lt;/strong&gt; Apache-2.0. Launches a secure &lt;strong&gt;Ubuntu&lt;/strong&gt; desktop in E2B’s cloud sandbox, then orchestrates three LLM roles (grounding, vision, action). Streams the desktop to your browser and lets you pause/override at any time. Plug-in list of &amp;gt;10 models.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/e2b-dev/surf&#34;&gt;surf 353 ⭐ May 2025&lt;/a&gt;&lt;/strong&gt; Apache-2.0. A polished Next.js front-end that wires &lt;strong&gt;OpenAI Operator-style agents&lt;/strong&gt; to an E2B sandbox. Single command to boot a virtual desktop, chat, and watch the agent work. Good starter template for web-based CUAs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://www.pig.dev/&#34;&gt;Pig&lt;/a&gt;&lt;/strong&gt; – cloud service. Provides on-demand &lt;strong&gt;Windows 11&lt;/strong&gt; VMs and an API that exposes high-level GUI primitives (type, click, window focus). Targets RPA-style workloads; still alpha, but unique for Windows-first focus and low-latency streaming.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/gptme/gptme&#34;&gt;gptme 3,767 ⭐ May 2025&lt;/a&gt;&lt;/strong&gt; MI. A terminal-first personal agent that can run shell commands, edit files, browse the web, and use local or cloud LLMs. Works on &lt;strong&gt;Linux, macOS, Windows&lt;/strong&gt;; great when you want automation in the CLI rather than the GUI.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/langchain-ai/langgraph-cua-py&#34;&gt;langgraph-cua-py 143 ⭐ Mar 2025&lt;/a&gt;&lt;/strong&gt; MIT. Shows how to build a computer-use agent as a LangGraph state machine, defaulting to &lt;strong&gt;Ubuntu&lt;/strong&gt; VMs from Scrapybara but swappable. Provides nodes for vision, memory, human-in-the-loop, and streaming.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/Openmacro/openmacro&#34;&gt;openmacro 101 ⭐ Oct 2024&lt;/a&gt;&lt;/strong&gt; MIT. Early-stage multimodal assistant that executes Python snippets locally via SambaNova models. Cross-platform CLI; profile system lets you switch API keys or tool sets. Inspired by OpenInterpreter but lighter weight.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;a href=&#34;https://github.com/suitedaces/computer-agent&#34;&gt;computer-agent 443 ⭐ Jan 2025&lt;/a&gt;&lt;/strong&gt; MIT. A PyQt desktop wrapper that lets &lt;strong&gt;Claude Computer Use&lt;/strong&gt; drive your actual machine. Shows practical wiring from Anthropic’s API to local mouse/keyboard events; tested on Linux &amp;amp; Windows.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 13 Apr 2025</title>
      <link>https://www.s-anand.net/blog/things-i-learned-13-apr-2025/</link>
      <pubDate>Sun, 13 Apr 2025 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-13-apr-2025/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It&amp;rsquo;s possible to intentionally train yourself to:
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.neelnanda.io/blog/43-making-friends&#34;&gt;Form close friends&lt;/a&gt;. Care, ask, and share.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.neelnanda.io/blog/become-a-person-who-actually-does-things&#34;&gt;Become a do-er&lt;/a&gt;. Stay mindful of the problem or opportunity you&amp;rsquo;re deferring.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://iamcharliegraham.substack.com/p/ai-coding-and-the-peanut-butter-and&#34;&gt;AI Coding and the Peanut, Butter &amp;amp; Jelly problem&lt;/a&gt;: #ai-coding
&lt;blockquote&gt;
&lt;p&gt;This ability to define your desired outcome in crisp, complete terms is one of the most important superpowers of the AI era.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/li&gt;
&lt;li&gt;The Singapore &lt;a href=&#34;https://eservice.ura.gov.sg/property-market-information/pmiResidentialRentalSearch&#34;&gt;Urban Redevelopment Authority Property Data&lt;/a&gt; lets you search sale and rental prices of properties in Singapore. No API though&lt;/li&gt;
&lt;li&gt;Notes from meeting with &lt;a href=&#34;https://www.linkedin.com/in/drizzlin&#34;&gt;Deepak Goel&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;We have linguistic boundaries in media today more than national boundaries. The Chinese language media, for example, is a very different ecosystem.&lt;/li&gt;
&lt;li&gt;China culturally struggles with the exercise of branding and cultural power, unlike the west, which has adopted assertive and opinionated branding.&lt;/li&gt;
&lt;li&gt;You really learn the character of a region only by traveling&lt;/li&gt;
&lt;li&gt;Similarities arise from unexpected sources. For example, Japan and Ecuador have similar culutures - both are disaster prone locations.&lt;/li&gt;
&lt;li&gt;AI unlocks &lt;em&gt;so many social research possibilities&lt;/em&gt; that were not possible before, e.g. by interpreting and classifying what people share in different situations.&lt;/li&gt;
&lt;li&gt;Companies send clients to third party trainings (e.g. at Harvard) along with their employees - to learn clients&amp;rsquo; real pain points! Education has become a tool for customer experience. Schools are tying up with companies for this (e.g. with Emeritus)&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://internationalschoolspartnership.com/&#34;&gt;International Schools Partnership&lt;/a&gt; provides services to independent schools for a small stake. It&amp;rsquo;s an interesting business model.&lt;/li&gt;
&lt;li&gt;Research for colleges is a business model that&amp;rsquo;s at risk thanks to Deep Research (e.g. analyse sustainability practices of listed companies.)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;There&amp;rsquo;s an &lt;a href=&#34;https://github.com/diagram-chasing/censor-board-cuts&#34;&gt;Indian Censor Board Scraper&lt;/a&gt; repo.&lt;/li&gt;
&lt;li&gt;Using &lt;code&gt;chroot&lt;/code&gt;, you can boot from a Linux USB stick, but trick the system into working from your hard disk as the OS. Useful if your system won&amp;rsquo;t boot. &lt;a href=&#34;https://livesys.se/posts/the-chroot-technique/&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Claude 3.7 Sonnet with extended thinking has a token limit of over 64,000 tokens. Given a strong instruction following capability, that makes it one of the most powerful models for transforming text. For example, transcription restyling, translations, XML to json conversions, PDF to XML, etc.&lt;/li&gt;
&lt;li&gt;Notes from discussion with &lt;a href=&#34;https://www.linkedin.com/in/sundeeprm/&#34;&gt;Sundeep&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;In his experience, investors tend to let you run the show (e.g. ask what you want rather than push in a specific direction) unless there is trouble&lt;/li&gt;
&lt;li&gt;We discussed the &amp;ldquo;running out of problems&amp;rdquo; problem with AI. His suggestion: List problems we dropped or eliminated for lack of time/capacity. This filter is a blindspot.&lt;/li&gt;
&lt;li&gt;Even if you know how to do someting, use AI to discover an alternate solution approach. That&amp;rsquo;s the path to 10X (rather than incremental) optimization.&lt;/li&gt;
&lt;li&gt;Having AI create end-to-end pitch videos based on a product idea is now a reality. (He showed me one for his product.)&lt;/li&gt;
&lt;li&gt;Areas to explore with Deep Research are:
&lt;ul&gt;
&lt;li&gt;What hidden trends is media misdirecting away from? What are second order effects and hidden gameplays?&lt;/li&gt;
&lt;li&gt;Which organizations would be good clients to target? What would be an apt pitch pitch for them?&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Experience dining is an emerging theme.&lt;/li&gt;
&lt;li&gt;Having LLMs explain scenarios (i.e. what might happen if &amp;hellip;) based on parameters can help understand/quantify the impact of actions, and therefore what to do.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;One way to copy as Markdown: copy page contents, &lt;a href=&#34;https://text-html.com/&#34;&gt;paste in text-html.com&lt;/a&gt;, copy HTML, &lt;a href=&#34;https://mixmark-io.github.io/turndown/&#34;&gt;paste in Turndown&lt;/a&gt;, copy Markdown.&lt;/li&gt;
&lt;li&gt;Claude 3.7 Sonnet with extended thinking has a token limit of over 64,000 tokens. Given a strong instruction following capability, that makes it one of the most powerful models for transforming text. For example, transcription restyling, translations, XML to json conversions, PDF to XML, etc.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/lechmazur/elimination_game&#34;&gt;Elimination Game&lt;/a&gt; is like Survivor for LLMs, where they form alliances and out-vote each other until 2 remain. The eliminated LLMs vote for the winner. GPT-4.5 Preview, both Claude Sonnets and Gemini 2.5 Pro consistently out-perform the rest. Their dialogues are &lt;em&gt;fascinating&lt;/em&gt;!&lt;/li&gt;
&lt;li&gt;SQLite can open locked databases (e.g. browser history) via &lt;code&gt;sqlite3 &#39;file:places.sqlite?mode=ro&amp;amp;nolock=1&#39;&lt;/code&gt;. datasette uses this. For example, to read the Edge history on Linux, use &lt;code&gt;datasette ~/.config/microsoft-edge/Default/History --nolock&lt;/code&gt; &lt;a href=&#34;https://sqlite.org/forum/info/a2e9387b8ea1c919b2ad1ecafb417cebb15c48634c55b3abd6a9acbb2fabf797&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Notes from &lt;a href=&#34;https://sub.thursdai.news/p/thursdai-apr-3rd-openai-goes-open&#34;&gt;ThursdAI - Apr 03&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.nomic.ai/blog/posts/nomic-embed-multimodal&#34;&gt;Nomic Embed Multimodal&lt;/a&gt; models are the current SOTA on multi-modal embeddings. Notably, they &lt;a href=&#34;https://docs.nomic.ai/atlas/embeddings-and-retrieval/guides/pdf-rag-with-colnomic-embed-multimodal&#34;&gt;embed PDFs natively&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.minimax.io/audio&#34;&gt;Hailuo Speech-02&lt;/a&gt; is the best speech model right now beating ElevenLabs. It has &lt;em&gt;excellent&lt;/em&gt; voice cloning. &lt;a href=&#34;https://www.minimax.io/platform/document/Pricing%20Overview?key=67373ec8451eeff1a85b9e4c&#34;&gt;Pricing&lt;/a&gt;: $30/1M chars. 10% of ElevenLabs, 2X of OpenAI TTS&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://openai.com/index/paperbench/&#34;&gt;PaperBench&lt;/a&gt; is an open testing framework from OpenAI that requires models to replicate the research work in papers. It has ~8,000 tasks evaluated by LLMs and with LLMs judging the judges as well. The &lt;a href=&#34;https://github.com/openai/preparedness/tree/main/project/paperbench&#34;&gt;code&lt;/a&gt; is well worth studying.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://runwayml.com/research/introducing-runway-gen-4&#34;&gt;Runway Gen 4&lt;/a&gt; was released with very high character consistency and longer durations&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://dreamina.capcut.com/ai-tool/&#34;&gt;Dreamina&lt;/a&gt; creates lip-synced videos from audio + a single image. &lt;a href=&#34;https://www.hedra.com/&#34;&gt;Hedra&lt;/a&gt; is better for animated characters, though.&lt;/li&gt;
&lt;li&gt;Meta shared but has not released &lt;a href=&#34;https://congwei1230.github.io/MoCha/&#34;&gt;Mocha&lt;/a&gt;, an open character generation model that generates new characters speaking based on an audio you provide. It is not based on existing images but the quality is very good&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://app.all-hands.dev/&#34;&gt;All Hands&lt;/a&gt; has a free online version where you can fix GitHub issues.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;This &lt;a href=&#34;https://sora.com/g/gen_01jr5kgms2fabbxf57m1x01wng&#34;&gt;&lt;code&gt;realistic frodo and sam mining through a minecraft tunnel, holding minecraft picaxes and torches&lt;/code&gt;&lt;/a&gt; made my day 🙂&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://animejs.com/&#34;&gt;AnimeJS&lt;/a&gt; released version 4. It animates HTML, SVG, Canvas, and WebGL with a consistent API. Looks elegant and powerful.&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 20 Oct 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-20-oct-2024/</link>
      <pubDate>Sun, 20 Oct 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-20-oct-2024/</guid>
      <description>&lt;p&gt;This week, I learned:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SQL optimizations for multi-threaded web applications. &lt;a href=&#34;https://github.com/rails/rails/pull/49349&#34;&gt;Ref&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;PRAGMA journal_mode = WAL&lt;/code&gt;. Improves performance for frequent writes. It allows concurrent reads and writes.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PRAGMA synchronous = NORMAL&lt;/code&gt;. Improves performance. We might lose a few transactions but won&amp;rsquo;t corrupt the database.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PRAGMA mmap_size = 128000000&lt;/code&gt;. Set global memory map for processes to share data&lt;/li&gt;
&lt;li&gt;&lt;code&gt;PRAGMA journal_size_limit = 64000000&lt;/code&gt;. Limit WAL file to prevent unlimited growth&lt;/li&gt;
&lt;li&gt;&lt;code&gt;BEGIN IMMEDIATE&lt;/code&gt; instead of &lt;code&gt;BEGIN&lt;/code&gt;. Prevents writes to the journal file until the transaction is complete. Improves concurrency.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;AI seems to be slowing down apprenticeship since experts would rather use an AI than train an apprentice. Example: Robotic surgery. &lt;a href=&#34;https://x.com/emollick/status/1834228159190806552&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;How AI can improve education performance and engagement. &lt;a href=&#34;https://s-anand.net/notes/Pearson%20Updates%20-%202024-10-13.opus&#34;&gt;Ref&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Student: Create study plan based on course and schedule&lt;/li&gt;
&lt;li&gt;Student: Focus on what you need to learn more&lt;/li&gt;
&lt;li&gt;Student: Align with your study style and pace&lt;/li&gt;
&lt;li&gt;Teacher: Grading MCQs&lt;/li&gt;
&lt;li&gt;Teacher: Writing conceptual guides&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/New-collar_worker&#34;&gt;&amp;ldquo;New collar workers&amp;rdquo;&lt;/a&gt; was coined by Ginny Rometty&lt;/li&gt;
&lt;li&gt;Embed tutor or document in video and ask for clarification! This is a new embedded interface. #TODO&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://purplesyringa.moe/blog/we-built-the-best-bad-apple-in-minecraft/&#34;&gt;Playing Bad Apple in Minecraft&lt;/a&gt;. Ultra cool!&lt;/li&gt;
&lt;li&gt;OpenAI has a prompt generator. Currently it uses a meta-prompt but may later move to DSPy or Gradient Descent. &lt;a href=&#34;https://platform.openai.com/docs/guides/prompt-generation&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Great demo of using the Realtime API to read the latest Hacker News. &lt;a href=&#34;https://x.com/nickscamara_/status/1842243883842904529&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;LLMs have reached the point where they can show a world, like CounterStrike, in near real time. &lt;a href=&#34;https://x.com/emollick/status/1845216321723826404&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
    <item>
      <title>Things I Learned - 06 Oct 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-06-oct-2024/</link>
      <pubDate>Sun, 06 Oct 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-06-oct-2024/</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/ffmpegwasm/ffmpeg.wasm&#34;&gt;ffmpeg on WASM&lt;/a&gt; works but is unstable and hard to use.
&lt;ul&gt;
&lt;li&gt;You can&amp;rsquo;t use it in a CDN without CORS issues, since it loads ffmpeg-core via a worker.&lt;/li&gt;
&lt;li&gt;It often runs into buffer allocation issues.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://exotel.com/&#34;&gt;Exotel&lt;/a&gt; and &lt;a href=&#34;https://www.plivo.com/&#34;&gt;Plivo&lt;/a&gt; provide voice &amp;amp; SMS services in India (like Twilio). Plivo is more customer friendly.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://h3geo.org/&#34;&gt;Uber&amp;rsquo;s H3&lt;/a&gt;, &lt;a href=&#34;https://github.com/google/s2geometry&#34;&gt;Google&amp;rsquo;s S2&lt;/a&gt;, and &lt;a href=&#34;https://en.wikipedia.org/wiki/Geohash&#34;&gt;GeoHash&lt;/a&gt; are geocoding systems.
&lt;ul&gt;
&lt;li&gt;H3 offers uniform cell sizes and better distance measurement&lt;/li&gt;
&lt;li&gt;S2 offers higher precision (factoring in Earth&amp;rsquo;s curvature) for exact location matches&lt;/li&gt;
&lt;li&gt;GeoHash is the simplest&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;There&amp;rsquo;s a movement towards embeddable databases on the cloud.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://motherduck.com/&#34;&gt;MotherDuck&lt;/a&gt; is hosted DuckDB.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://turso.tech/&#34;&gt;Turso&lt;/a&gt; is hosted SQLite (with local sync, multi-tenant)&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://starbasedb.com/&#34;&gt;StarBase DB&lt;/a&gt; is SQLite with an API on top of Cloudflare Durable Objects.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://karpathy.medium.com/software-2-0-a64152b37c35&#34;&gt;Software 2.0&lt;/a&gt; by Andrej Karpathy.
&lt;ul&gt;
&lt;li&gt;This is fundamentally altering the programming paradigm by which we iterate on our software, as the teams split in two:
&lt;ul&gt;
&lt;li&gt;the 2.0 programmers (data labelers) edit and grow the datasets, while&lt;/li&gt;
&lt;li&gt;a few 1.0 programmers maintain and iterate on the surrounding training code infrastructure, analytics, visualizations and labeling interfaces.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Adaptive UI ideas:
&lt;ul&gt;
&lt;li&gt;Adaptive Fields: Show only required fields based on what the user field so far.&lt;/li&gt;
&lt;li&gt;Smart Inputs: Dropdowns and auto-complete based on user&amp;rsquo;s context.&lt;/li&gt;
&lt;li&gt;Smart Themes: Change font size, contrast, theme guessing the user&amp;rsquo;s age and preferences.&lt;/li&gt;
&lt;li&gt;Dynamic Menus: Show what they might need to do next. Like Nokia&amp;rsquo;s right button, but using LLMs.&lt;/li&gt;
&lt;li&gt;Smart Tooltips: Check what the user&amp;rsquo;s doing (delays, confusions, previous clicks, current actions) and show relevant tips.&lt;/li&gt;
&lt;li&gt;Personalized Layout: Show only the relevant sections of the app. E.g. based on what they&amp;rsquo;re doing.&lt;/li&gt;
&lt;li&gt;Smart Charts: Create the right chart that solve the user&amp;rsquo;s question.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Adaptive Back-end
&lt;ul&gt;
&lt;li&gt;Dynamic APIs: Create endpoints on the fly based on user needs&lt;/li&gt;
&lt;li&gt;Dynamic Indexing: Create &amp;amp; update indices on the fly based on user needs&lt;/li&gt;
&lt;li&gt;Dynamic Schema: Create &amp;amp; update schema on the fly based on user needs&lt;/li&gt;
&lt;li&gt;Dynamic Migration: Migrate to a new database or OS or language as required&lt;/li&gt;
&lt;li&gt;Dynamic Queries: Create SQL/NoSQL queries to solve the user problem&lt;/li&gt;
&lt;li&gt;Dynamic RBAC: Figure out who needs permissions and why. Add OR REMOVE access as required&lt;/li&gt;
&lt;li&gt;Dynamic Logging. Log what&amp;rsquo;s required. Explain why it&amp;rsquo;s logged and what&amp;rsquo;s happening. Fix code that raised the error&lt;/li&gt;
&lt;li&gt;Dynamic Caching. Cache what&amp;rsquo;s likely to be required. Evict what may not be required. Figure out cache keys.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://aider.chat/docs/leaderboards/&#34;&gt;Aider LLM Leaderboards&lt;/a&gt; show which LLMs code better. As of now,
&lt;ul&gt;
&lt;li&gt;o1-preview &amp;gt; claude-3.5 sonnet on code editing&lt;/li&gt;
&lt;li&gt;claude-3-opus &amp;gt; claude-3.5-sonnet on code refactoring&lt;/li&gt;
&lt;li&gt;deepseek-coder-v&lt;/li&gt;
&lt;li&gt;gpt-4o-mini sucks.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://en.wikipedia.org/wiki/Jaro%E2%80%93Winkler_distance&#34;&gt;Jaro-Winkler Distance&lt;/a&gt; is a string matching algorithm that weights the start of a string higher.&lt;/li&gt;
&lt;li&gt;Passing the feed of the following to NotebookLLM is a good way to get caught up with news and summaries.
&lt;ul&gt;
&lt;li&gt;A blog / WhatsApp group (e.g. The Generative AI Group, Sithamalli, etc.)&lt;/li&gt;
&lt;li&gt;A Google Group / mailing list (e.g. genainews, datameet)&lt;/li&gt;
&lt;li&gt;YouTube channels (e.g. Vertiasium, GitHub)&lt;/li&gt;
&lt;li&gt;Hacker News top stories&lt;/li&gt;
&lt;li&gt;Research papers&lt;/li&gt;
&lt;li&gt;Emails (skipping marketing emails)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;OpenAI Evals and Distillation has a clever design. They just convert filtered history to .JSONL files that can be an input to either.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.speak.com/&#34;&gt;Speak&lt;/a&gt; is a language learning app based on OpenAI&amp;rsquo;s Realtime API.&lt;/li&gt;
&lt;li&gt;OpenAI&amp;rsquo;s Realtime API can be used in a text-to-text chat mode without needing to send the entire context. If the pricing works out right, this can be far cheaper than sending the entire conversation context. &lt;a href=&#34;https://news.ycombinator.com/item?id=41715725&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Matching addresses with just embeddings works well. Combine it with simple hard rules. &lt;a href=&#34;https://www.dbreunig.com/2024/09/27/conflating-overture-points-of-interests-with-duckdb-ollama-and-more.html&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://cookbook.openai.com/examples/prompt_caching101&#34;&gt;OpenAI&amp;rsquo;s prompt caching works for images too &amp;ndash; both linked and embedded&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Quotes on Graph RAG from a Generative AI WhatsApp Group.
&lt;ul&gt;
&lt;li&gt;&amp;ldquo;Damn so literally nobody uses Graph RAG yet. Good to know.&amp;rdquo; ~Sumba&lt;/li&gt;
&lt;li&gt;&amp;ldquo;A big four consulting firm uses GraphRAG to retrieve related documents and excerpts from governance and compliance docs.&amp;rdquo; ~Vinayak Hegde (Microsoft)&lt;/li&gt;
&lt;li&gt;&amp;ldquo;Graph RAG is expensive and unnecessary in most of the cases.&amp;rdquo; ~Utkarsh Saxena&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;ChatGPT&amp;rsquo;s advanced mode includes: &amp;ldquo;&amp;hellip;you can use various regional accents and dialects.&amp;rdquo; &lt;a href=&#34;https://www.reddit.com/r/OpenAI/comments/1fp1fes/the_system_prompt_of_advanced_voice_mode_it_can/&#34;&gt;Ref&lt;/a&gt; &lt;a href=&#34;https://x.com/deedydas/status/1839860410914353225&#34;&gt;Source&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;But the API can &amp;ldquo;laugh, whisper, and adhere to tone direction.&amp;rdquo; &lt;a href=&#34;https://platform.openai.com/docs/guides/realtime&#34;&gt;Ref&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Hume API (INR 6/min) is far cheaper than OpenAI&amp;rsquo;s real-time chat (6c/min input + 24c/min output)&lt;/li&gt;
&lt;li&gt;Devika is an open-source clone of Devin.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://duckdb.org/2024/10/02/pyodide.html&#34;&gt;DuckDB runs inside Pyodide&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://slatestarcodex.com/2017/05/26/the-atomic-bomb-considered-as-hungarian-high-school-science-fair-project/&#34;&gt;Hungarian Jews have genetic diseases that increase their IQ&lt;/a&gt;. Gaucher’s disease, Torsion dystonia.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.thepsmiths.com/p/review-math-from-three-to-seven-by&#34;&gt;People don&amp;rsquo;t like hard stuff like maths or science, so richer societies have fewer scientists&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Ethan Mollick feels Claude 3.5 Sonnet is better at style and critiquing blog posts than OpenAI&amp;rsquo;s o1 (which is better at reasoning.)&lt;/li&gt;
&lt;li&gt;News is going to be crazily disrupted again with voice mode. I can just listen to the topic I want&lt;/li&gt;
&lt;li&gt;In Singapore Airlines,
&lt;ul&gt;
&lt;li&gt;You can&amp;rsquo;t wear your seatbelt loose&lt;/li&gt;
&lt;li&gt;You have to keep the laptop in the pocket in front, not on your lap, during takeoff&lt;/li&gt;
&lt;li&gt;You can&amp;rsquo;t charge during takeoff&lt;/li&gt;
&lt;li&gt;They verify if you ask for a veg meal and place a sticker on your seat&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Coders are more likely to edit LLM code. Non-coders don&amp;rsquo;t have that bad habit.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://youtu.be/uuf3-_xYp7k&#34;&gt;Vaishnavi&lt;/a&gt; and &lt;a href=&#34;https://youtu.be/5FZadpAGXb0&#34;&gt;Ranjeet&lt;/a&gt; edited code&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://youtu.be/EGbeA-x79tY&#34;&gt;Indal&lt;/a&gt; and &lt;a href=&#34;https://youtu.be/2Je37vJhcD4&#34;&gt;Koustav&lt;/a&gt; didn&amp;rsquo;t&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Coders are likely to get more out of an LLM because they know what it can do. But some non-coders will get more out of an LLM because they don&amp;rsquo;t know what it can&amp;rsquo;t do.
&lt;ul&gt;
&lt;li&gt;E.g. &lt;a href=&#34;https://youtu.be/EGbeA-x79tY&#34;&gt;Indal&lt;/a&gt; trying for a confetti animation, which is hard but do-able&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&amp;ldquo;You have to put in a lot of work to become productive at AI coding.&amp;rdquo; Simon Willison&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 - 25 Feb 2024</title>
      <link>https://www.s-anand.net/blog/things-i-learned-25-feb-2024/</link>
      <pubDate>Sun, 25 Feb 2024 00:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/things-i-learned-25-feb-2024/</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/rust-lang/rust-analyzer/blob/d7c99931d05e3723d878bea5dc26766791fa4e69/docs/dev/architecture.md&#34;&gt;Architecture.md&lt;/a&gt; is an &lt;a href=&#34;https://matklad.github.io/2021/02/06/ARCHITECTURE.md.html&#34;&gt;emerging standard&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Managing wealth requires training.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://leanrada.com/htmz/&#34;&gt;htmz&lt;/a&gt; is a fantastic way to load HTML into elements!&lt;/li&gt;
&lt;li&gt;Suguna Poultry is
&lt;ul&gt;
&lt;li&gt;Using robots to walk in their farms, use sound and bird eyes and movement to predict birth health over 1-2 weeks&lt;/li&gt;
&lt;li&gt;Light on the back of the bird&amp;rsquo;s back AND face =&amp;gt; lays eggs in 14 days, else takes days later (girls and mobile phones?)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Teknoturf is using Gen AI to
&lt;ul&gt;
&lt;li&gt;Improve prompts when teaching prompt engineering.&lt;/li&gt;
&lt;li&gt;Pronounce languages better, identifying which words Tamilians and Malayalis will mis-pronounce.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Explore IRBlaster. It can control AC and can automatically increase temperature at night.&lt;/li&gt;
&lt;li&gt;My view: LLMs are general purpose and more capable than SLMs. They&amp;rsquo;ll win, like CPUs won over special-purpose chips. GPUs will optimize for LLMs and as usage grows, cost will fall.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.youtube.com/watch?v=zduSFxRajkE&amp;amp;t=6701s&#34;&gt;Andrej Karpathy&amp;rsquo;s summary of sharp edges in tokenization&lt;/a&gt; uses &lt;a href=&#34;https://tiktokenizer.vercel.app/&#34;&gt;tiktokenizer&lt;/a&gt; to explain:
&lt;ul&gt;
&lt;li&gt;Why LLMs can&amp;rsquo;t be used for spelling&lt;/li&gt;
&lt;li&gt;Why LLMs are better at English than other languages&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.beren.io/2023-02-04-Integer-tokenization-is-insane/&#34;&gt;Why LLMs are bad at math&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Why &lt;a href=&#34;https://www.lesswrong.com/posts/aPeJE8bSo6rAFoLqg/solidgoldmagikarp-plus-prompt-generation&#34;&gt;SolidGoldMagiKarp&lt;/a&gt; is a single token&lt;/li&gt;
&lt;li&gt;Why trailing spaces are bad&lt;/li&gt;
&lt;li&gt;Why YAML tokenizes more efficiently than JSON&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://ssyoutube.com&#34;&gt;ssyoutube.com&lt;/a&gt;: Just add &amp;ldquo;ss&amp;rdquo; to &amp;ldquo;youtube.com&amp;rdquo; on the video and you can download YouTube videos&lt;/li&gt;
&lt;li&gt;Discussions with Sachin, AMAT
&lt;ul&gt;
&lt;li&gt;Microsoft said Indigo, Air India uses LLM based bookings&lt;/li&gt;
&lt;li&gt;Meta invested $70bn in GPUs. Sam Altman is investing $7tn!&lt;/li&gt;
&lt;li&gt;NVIDIA has a price PREMIUM not discount for bulk GPUs!&lt;/li&gt;
&lt;li&gt;AMD is the next company to watch for&lt;/li&gt;
&lt;li&gt;Numenta - Subutai Ahmad - deploys AI models on CPUs&lt;/li&gt;
&lt;li&gt;#TODO Read A Thousand Brains by Subutai Ahmad&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.linkedin.com/in/sanjeevsharmaiitr/&#34;&gt;Sanjeev Sharma&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Swaayatt Robots: Autonomous driving in India&lt;/li&gt;
&lt;li&gt;Deepeigen: Education&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.linkedin.com/in/rohanshravan/&#34;&gt;Rohan Shravan&lt;/a&gt;, Bangalore.
&lt;ul&gt;
&lt;li&gt;Likes sharing knowledge. Amazing teacher. IIT KGP 2008. Interested in exploring quantum computing&lt;/li&gt;
&lt;li&gt;Tresa Motors, Inkers App, The School of AI&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;AMAT is working on
&lt;ul&gt;
&lt;li&gt;photon-based computing.&lt;/li&gt;
&lt;li&gt;science research models. AI for science. Like Google: Deepmind Genome, Microsoft: Metagen&lt;/li&gt;
&lt;li&gt;quantum: AMAT is actively in into this. Nagapati Banda is driving this&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;John Kelly is predicting a ChatGPT moment in quantum in a few years&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Adobe express has a forever free &lt;a href=&#34;https://new.express.adobe.com/tools/convert-to-gif&#34;&gt;video to GIF converter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Edge workspaces let me keep the same tabs open across laptops!&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://clig.dev/&#34;&gt;Command line interface guidelines&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;RAWGraphs has a &lt;a href=&#34;https://www.rawgraphs.io/custom-charts&#34;&gt;custom charts API&lt;/a&gt; that is worth learning from&lt;/li&gt;
&lt;li&gt;Python &lt;a href=&#34;https://fastpages.fast.ai/fastcore/&#34;&gt;fastcore&lt;/a&gt; has decorators like @typedispatch, Self, etc.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://huggingface.co/models?library=transformers&amp;amp;pipeline_tag=image-to-text&#34;&gt;All image-to-text models on HuggingFace&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://adamobeng.com/wddbfs-mount-a-sqlite-database-as-a-filesystem/&#34;&gt;wddbfs&lt;/a&gt; mounts SQLite as a file system. I had a bit of trouble, maybe with Python package versions.&lt;/li&gt;
&lt;li&gt;Google is using &lt;a href=&#34;https://security.googleblog.com/2023/08/ai-powered-fuzzing-breaking-bug-hunting.html&#34;&gt;LLM powered bug identification&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://huggingface.co/chat/assistants&#34;&gt;HuggingFace Chat Assistants&lt;/a&gt; has open source system prompts!!&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://huggingface.co/datasets/teknium/OpenHermes-2.5&#34;&gt;OpenHermes training dataset&lt;/a&gt; is available. 1M prompts!&lt;/li&gt;
&lt;li&gt;Jio has made IPL free. They make money on data and ads. That&amp;rsquo;s Scale!&lt;/li&gt;
&lt;li&gt;Daniel Dennett &lt;a href=&#34;https://behavioralscientist.org/ive-been-thinking-daniel-dennett-what-if-im-wrong/&#34;&gt;outsources thinking to students&lt;/a&gt;. Reviewing his books.
&lt;ul&gt;
&lt;li&gt;BUT: I don&amp;rsquo;t take feedback. When someone sends a pull requests, I ignore it.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
</description>
    </item>
  </channel>
</rss>
