<?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>Writing on Harshvardhan</title>
    <link>https://harsh17.in/writing/</link>
    <description>Recent content in Writing on Harshvardhan</description>
    <image>
      <title>Harshvardhan</title>
      <url>https://harsh17.in/img/sharing-image.png</url>
      <link>https://harsh17.in/img/sharing-image.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Mon, 20 Apr 2026 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://harsh17.in/writing/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Claude Code</title>
      <link>https://harsh17.in/claude-code/</link>
      <pubDate>Mon, 20 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/claude-code/</guid>
      <description>&lt;p&gt;If I have to look back at it, if ChatGPT was the moment when the general public realised what generative models could do — Claude Code was the moment when I realised what generative models could do. Having access to my local machine, giving the model a way to verify what it creates, and being able to do it all remotely — I couldn&amp;rsquo;t have imagined a few years ago that we would have such a technology, and that we would take it so lightly.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>If I have to look back at it, if ChatGPT was the moment when the general public realised what generative models could do — Claude Code was the moment when I realised what generative models could do. Having access to my local machine, giving the model a way to verify what it creates, and being able to do it all remotely — I couldn&rsquo;t have imagined a few years ago that we would have such a technology, and that we would take it so lightly.</p>
<p>This is where Anthropic won over OpenAI. While OpenAI was tuning personalities so that people would find the chatbot more personal, Anthropic was trying to solve hard math and programming problems. There is something Anthropic does at the pre-training stage that makes its models so steadfast at solving problems.</p>
<p>Claude also has better integration with my Gmail, Google Calendar, and Google Drive than Gemini. And Gemini&rsquo;s half-baked features are such a big turnoff. NotebookLM is amazing though. I&rsquo;m not a big user, but I&rsquo;ve always found it useful to be able to summarise so many things — PDFs, videos, audio, websites — in whatever format I like. It can present it as a slide deck (with some of the best infographics), a podcast, a quiz, and more.</p>
<p><figure>
  <img src="notebooklm.png" alt="NotebookLM&rsquo;s output formats — Audio Overview, Slide Deck, Video, Mind Map, Reports, Flashcards, Quiz, Infographic, Data Table" loading="lazy" /><figcaption>NotebookLM&rsquo;s output formats — Audio Overview, Slide Deck, Video, Mind Map, Reports, Flashcards, Quiz, Infographic, Data Table</figcaption>
</figure>
</p>
<p>But the model has its own quirks. If you leave it talking to itself for long enough, it always ends up discussing <a href="https://harsh17.in/theory-of-mind/">Buddhism</a>. It was even <a href="https://www.reddit.com/r/singularity/comments/1hhz1hb/claude_was_caught_taking_the_bodhisattva_vow_a/">caught</a> taking the Bodhisattva Vow (a vow to help all beings) on 116 independent occasions. Its general tone is very paternalistic. Always trying to help the other person improve.</p>
<p>Anyway, back to Claude Code (CC).</p>
<p>What Anthropic realised was that it&rsquo;s not the LLMs themselves that matter so much, but the information they have access to. The more information a model has about the task, the better its performance will be. That is how CC beat the copy-paste-from-chatbot workflow most of us had been using with LLMs.</p>
<p>It added things like Skills and MCPs, which allow easy information flow into the app. MCPs are glorified APIs that are designed to work with LLMs; if an API exists, it is generally not hard to create an MCP. Skills, on the other hand, are such a useful idea that I have no clue why ChatGPT and Gemini don&rsquo;t do it already.</p>
<p>LLMs have difficulty remembering a person&rsquo;s preferences for how things should be done — how to access that one specific website&rsquo;s API, or format a document a certain way, or add all your <a href="travel-booking-to-calendar.skill">travel plans</a> to your calendar with the full details.</p>
<p><figure>
  <img src="travel-skill.png" alt="The travel-booking-to-calendar Skill — parses Gmail confirmations from MakeMyTrip, IRCTC, IndiGo, and other Indian travel providers, and creates Calendar events with the full itinerary" loading="lazy" /><figcaption>The travel-booking-to-calendar Skill — parses Gmail confirmations from MakeMyTrip, IRCTC, IndiGo, and other Indian travel providers, and creates Calendar events with the full itinerary</figcaption>
</figure>
</p>
<p>So, why not just load those files right before the task needs them? It&rsquo;s like doing a quick revision before the exam. Skills are precisely that. They became so popular that there are <a href="https://claudeskills.info/">sites</a> where you can find skills too. However, I&rsquo;ve found it is much better to create your own skills. Simply ask Claude to identify 3–5 tasks that you ask it to do repeatedly, so that you can make them into Skills. It is pretty good at introspection (<em>Buddhism?</em>).</p>
<p>For example, this is Quiz 1 from my ISA 383 (Python for Business Analytics) class last semester, which I wrote and formatted myself in MS Word. And this is what I put together with Claude Code. I still write the questions, but as freeform text in MarkEdit, or I just speak them to Claude Code.<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup></p>
<!-- TODO: add screenshot of Quiz 1 — MS Word version as quiz-word.png -->
<!-- TODO: add screenshot of Quiz 1 — Claude Code version as quiz-cc.png -->
<p>There&rsquo;s a night-and-day difference in the formatting of the question paper. Of course, the questions are equally easy (or hard?).</p>
<p>It is able to do that because I gave it the AUS brand guidelines and the logo, which it has saved as a Skill. Every time I hand it the questions and ask it to turn them into a quiz, it writes them down well-formatted, leaves enough space for all answers, leaves space for me to manually write my comments, and includes the points distribution too. Claude actually suggested that I make this into a Skill, since I had already done it three times.</p>
<p>Another great thing about Claude Code, Cowork, and Chat is that they are all pretty integrated. Not neatly, but integrated. You can add Skills and MCPs in Claude Chat and they&rsquo;re available in Claude Code and Cowork.</p>
<p>Speaking of Cowork, some people prefer it over CC — particularly those who don&rsquo;t care about the code Claude executes to do what it does.</p>
<p>It also has fewer permission requests. After a while, the permission requests became annoying to me. Now I have an alias <code>clawd</code> which directly opens CC in Terminal with <code>--dangerously-skip-permissions</code> and <code>--effort max</code>:</p>
<pre tabindex="0"><code>alias clawd=&#39;claude --dangerously-skip-permissions --effort max&#39;
</code></pre><p>When I tell this to people, they often ask: what if it deletes something? Well, it&rsquo;s very easy to fix. You create a folder called <code>deleted by clwd</code> and a running <code>CHANGES.md</code> which tracks all system changes, so you can revert if something breaks.</p>
<p>Claude Opus 4.7 might not be much smarter than GPT-5.4. However, it&rsquo;s actually the other receptive arms that make Claude the crab that grabs the task at hand. OpenAI realised that and released their Codex app, which was an instant hit.</p>
<p>Claude also added the concepts of agents and sub-agents within CC. For example, say you want to modify several different parts of a complex website. But loading the entire codebase into context memory overcrowds it with low-signal information. So what do you do? You spawn several agents to explore different parts of the codebase and report their findings back to the main agent. Then the main agent drafts the plan of attack (target: solving the problem as it understands it) that you can approve, modify, or reject.</p>
<p>To implement it, it again spawns multiple agents that work on different parts of the codebase. You can even give the agents their own <em>persona</em> (not quite the right word, but you get the idea). This only acts as a &ldquo;suggestion prompt&rdquo; which the main agent takes into account before writing the actual prompt for the subagent.</p>
<p>Codex now has it too. Codex with GPT-5.4-Thinking (High) is pretty awesome. Its style of working mirrors an experienced senior developer (vs CC as a very smart intern), as <a href="https://steipete.me/">Peter Steinberger</a> (creator of <a href="https://openclaw.ai/">OpenClaw</a>) described on the <a href="https://www.youtube.com/watch?v=YFjfBk8HI5o">Lex Fridman Podcast</a>.</p>
<p>OpenAI is generous with usage; Claude is not. Again, Codex could become so much more useful with Skills. In fact, they do have skills — but their implementation is so dicey that I don&rsquo;t even know how to create or use one.</p>
<p>Claude also played it smart in how it connected the model to the user&rsquo;s personal internet through a Chrome extension (vs OpenAI&rsquo;s and Perplexity&rsquo;s full-blown browsers). And Computer Use — which lets it actually control my cursor — has made development so much better. I was able to create <a href="https://harsh17.in/macchi-trash/">Macchi Trash</a> with absolutely no knowledge of Swift. (It&rsquo;s a pun app. Whenever you move your cursor to the Trash on macOS and there&rsquo;s something in it, flies hover on top. Try it at your own risk.)</p>
<p>So, Anthropic seems to be winning at being more useful. Will OpenAI catch up?</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>Honestly, ChatGPT&rsquo;s voice-to-text engine rules. Even their open-source model Whisper is the backbone of almost all open-source voice-to-text engines. I often find myself narrating to ChatGPT and then cut-pasting the prompt to Claude.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>A New Home on the Internet</title>
      <link>https://harsh17.in/new-website/</link>
      <pubDate>Fri, 10 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/new-website/</guid>
      <description>&lt;p&gt;For the last few years, I&amp;rsquo;ve maintained two separate websites. My &lt;a href=&#34;https://hv.netlify.app/&#34;&gt;personal website&lt;/a&gt; — built with Hugo Apero — housed my publications, projects, talks, and an about page. My &lt;a href=&#34;https://hvblog.netlify.app/&#34;&gt;blog&lt;/a&gt; — a separate Hugo site with the Archie theme — held all my writing. The idea was to keep &amp;ldquo;professional&amp;rdquo; and &amp;ldquo;personal&amp;rdquo; apart. In practice, it meant I was never sure where something belonged. Is a technical tutorial about R a &amp;ldquo;project&amp;rdquo; or a &amp;ldquo;blog post&amp;rdquo;? Is a conference reflection a &amp;ldquo;talk&amp;rdquo; or a piece of writing? The boundaries were artificial, and maintaining two sites meant twice the headaches.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>For the last few years, I&rsquo;ve maintained two separate websites. My <a href="https://hv.netlify.app/">personal website</a> — built with Hugo Apero — housed my publications, projects, talks, and an about page. My <a href="https://hvblog.netlify.app/">blog</a> — a separate Hugo site with the Archie theme — held all my writing. The idea was to keep &ldquo;professional&rdquo; and &ldquo;personal&rdquo; apart. In practice, it meant I was never sure where something belonged. Is a technical tutorial about R a &ldquo;project&rdquo; or a &ldquo;blog post&rdquo;? Is a conference reflection a &ldquo;talk&rdquo; or a piece of writing? The boundaries were artificial, and maintaining two sites meant twice the headaches.</p>
<p><figure>
  <img src="personal-web2.png" alt="The old personal website, built with Hugo Apero" loading="lazy" /><figcaption>The old personal website, built with Hugo Apero</figcaption>
</figure>
</p>
<p><figure>
  <img src="blog.png" alt="The old blog — Harsh&rsquo;s Corner, built with the Archie theme" loading="lazy" /><figcaption>The old blog — Harsh&rsquo;s Corner, built with the Archie theme</figcaption>
</figure>
</p>
<p>So I merged them.</p>
<h2 id="what-changed">What Changed</h2>
<p>Everything now lives at <a href="https://harsh17.in">harsh17.in</a>. One site, one theme, one place to find anything I&rsquo;ve written or built.</p>
<p><figure>
  <img src="personal-web3.png" alt="The new site — warm, minimal, everything in one place" loading="lazy" /><figcaption>The new site — warm, minimal, everything in one place</figcaption>
</figure>
</p>
<p>The new site uses <a href="https://github.com/adityatelange/hugo-PaperMod">PaperMod</a> — a minimal Hugo theme that I&rsquo;ve customized with a warm cream palette, serif typography (<a href="https://fonts.google.com/specimen/Libre+Baskerville">Libre Baskerville</a>), and a layout inspired by academic sites like <a href="https://kieranhealy.org/">Kieran Healy&rsquo;s</a>. The aesthetic is deliberately quiet. No boxes, no cards, no sidebars. Just text, links, and whitespace. I wanted it to feel like opening a well-organized notebook.</p>
<p>Oh, and the cursor is an autorickshaw. Because why not. 🛺</p>
<h2 id="where-things-are">Where Things Are</h2>
<p>The navigation is simple:</p>
<ul>
<li><strong><a href="/about/">About</a></strong> — who I am, what I do, how to reach me</li>
<li><strong><a href="/research/">Research</a></strong> — my publications, from the dissertation to conference papers</li>
<li><strong><a href="/writing/">Writing</a></strong> — everything I write: essays, tutorials, travel notes, philosophy, technical notes, coffee musings. All of it, in one stream. You can filter by tags at the top of the page — click &ldquo;philosophy&rdquo; or &ldquo;travel&rdquo; or &ldquo;data-science&rdquo; to narrow things down</li>
<li><strong><a href="/talks/">Talks</a></strong> — conference presentations, guest lectures, workshops</li>
<li><strong><a href="/docs/cv.pdf">CV</a></strong> — PDF of my CV</li>
</ul>
<p>If you&rsquo;re looking for something specific, there&rsquo;s a <a href="/search/">search page</a> too.</p>
<p>All the old URLs still work. If you had bookmarked <code>blog.harsh17.in/meditation/</code>, it redirects to <code>harsh17.in/meditation/</code>. Nothing is lost.</p>
<h2 id="what-i-dropped">What I Dropped</h2>
<p>I used to run everything through <a href="https://bookdown.org/yihui/blogdown/">blogdown</a> in RStudio, which meant every post was an R Markdown file that needed R packages, knitting, and a specific Hugo version pinned in <code>.Rprofile</code>. It broke constantly — missing packages, stale caches, version conflicts. Every few months I&rsquo;d sit down to write and spend an hour fixing the build instead.</p>
<p>No more. The new site is plain Markdown. I edit in VS Code (or any text editor), run <code>hugo server</code> in the terminal, and that&rsquo;s it. No R dependency, no blogdown, no <code>.Rmd</code> files. The old R Markdown sources are archived safely, and the rendered Markdown carries forward all the charts and tables they produced.</p>
<p>I also replaced the embedded <a href="https://www.are.na/">Are.na</a> iframes with simple links. Those iframes were loading entire pages worth of content on every visit and eating through my Netlify bandwidth. A link works just as well.</p>
<h2 id="staying-updated">Staying Updated</h2>
<p>If you&rsquo;d like to follow along, the best way is through <strong>RSS</strong> — an open, simple protocol that lets you subscribe to websites without giving away your email or depending on any platform&rsquo;s algorithm.</p>
<p>Here&rsquo;s the feed link — copy it into your reader of choice:</p>
<pre tabindex="0"><code>https://harsh17.in/writing/index.xml
</code></pre><p><strong>New to RSS?</strong> It&rsquo;s like a personal newsfeed that you control. You pick the sources, and new posts show up in your reader automatically. No newsletters to manage, no inbox clutter, no tracking pixels. Here are some good readers to get started:</p>
<ul>
<li><strong>iOS:</strong> <a href="https://feeeed.nateparrott.com/">Feeeed</a> — beautiful, simple, free</li>
<li><strong>Mac:</strong> <a href="https://netnewswire.com/">NetNewsWire</a> — open source, fast, no account needed</li>
<li><strong>Web:</strong> <a href="https://feedly.com/">Feedly</a> — works everywhere, free tier is generous</li>
<li><strong>Email delivery:</strong> <a href="https://blogtrottr.com/">Blogtrottr</a> — if you prefer getting posts in your inbox, paste the RSS link here and Blogtrottr will email you whenever I publish something new. No account on my end, no subscriber list — they handle it all.</li>
</ul>
<p>I considered setting up a newsletter but every free service either charges for RSS-to-email automation or requires infrastructure I don&rsquo;t want to maintain. RSS is simpler, more private, and more honest. You subscribe when you want, unsubscribe by removing the feed, and I never see your email address.</p>
<hr>
<p>The old personal website and blog are still accessible at <a href="https://hv.netlify.app/">hv.netlify.app</a> and <a href="https://hvblog.netlify.app/">hvblog.netlify.app</a> if you&rsquo;re feeling nostalgic. And the even older Google Sites version — my very first website — lives at <a href="https://harsh17.in/old">harsh17.in/old</a>.</p>
<p><figure>
  <img src="personal-website1.png" alt="Where it all started — the Google Sites era" loading="lazy" /><figcaption>Where it all started — the Google Sites era</figcaption>
</figure>
</p>
<p>Three generations of the same impulse: put things on the internet and hope someone finds them interesting.</p>
<p>Here&rsquo;s to the new home. 🏡</p>
]]></content:encoded>
    </item>
    <item>
      <title>Sainik School Tilaiya</title>
      <link>https://harsh17.in/sainik-school-tilaiya/</link>
      <pubDate>Sat, 04 Apr 2026 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/sainik-school-tilaiya/</guid>
      <description>I joined Sainik School Tilaiya in 2009 as a Class 6 kid who said he preferred playing sports over watching IPL. Six years later, I left as School Captain. In between, there were rabbits, overfed fish, hockey politics, and a diary obsession that never quite went away.</description>
      <content:encoded><![CDATA[<p>Sainik School Tilaiya made me who I am today. I joined Team Tilaiyans when I passed the National Entrance Exam in 2009 in Class 6. Followed by the written test, we had an interview with the Headmaster, Principal, and Registrar — all posted from officers in the Indian armed forces. I remember that they asked me about IPL and if I knew which teams would be playing tonight. I said I enjoy playing sports rather than watching them. That was followed by a pretty invasive military health test. One common reason people failed medical tests is knocking knees — that when you stand, your knees are touching each other. Apparently, that&rsquo;s bad for your ability to run.</p>
<p>Anyway, I was assigned <em>Vikram House</em> in a process akin to the sorting hat in Harry Potter. The Hostel Superintendents would ask some inane questions and you&rsquo;d be assigned a house based on your characteristics. For example, <em>Vikram House</em> had a tradition of Hockey and Drill. Implicitly, everyone who&rsquo;s part of <em>Vikram House</em> has to dedicate at least some attention to hockey. Usually, it is much.</p>
<p><figure>
  <img src="me%20as%20parade%20officer%20leading%20vikram%20house%20in%20class%2011.jpg" alt="Me as parade officer leading Vikram House in Class 11" loading="lazy" /><figcaption>Me as parade officer leading Vikram House in Class 11</figcaption>
</figure>
</p>
<h2 id="class-6-the-honeymoon">Class 6: The Honeymoon</h2>
<p>Class 6 used to live away from the other classes (Class 7–12). We used to joke that the first year is the honeymoon period of the stay at SST.
When we started our stay, we completely transformed our dormitory area. We got some swans, ducks and fishes in old broken boats and a garden. We quickly learnt that even if you keep little rabbits in a cage, the jackals/foxes/cats can dig their way in. That rabbit gave birth to 12 children and 6 of them died in a week. But we kids saved a lot of life too! The fishes were having a blast. Indeed, once a few of them died of overeating after we boys returned from our dinner with some chicken and everybody brought some and it became too much overall for them.</p>
<h2 id="the-manners">The Manners</h2>
<p>One of the first things you were given after you joined in Class 6 was a List of Manners. The list contained norms and recommendations on the Rules of SST. Most were derived from <a href="https://www.mcrhrdi.gov.in/FC2020/week3/Sri%20PKSHARMA,Retd%20(IFS),Officer%20Like%20Qualities.pdf">Officer Like Qualities (OLQs)</a>, a list of 15 axioms upon which the <a href="https://en.wikipedia.org/wiki/Services_Selection_Board">SSB Board</a> of Indian armed forces judge the candidates who become officers<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>.
Not all were sensible in the manners list. Some were stupid additions that exalted power in the hands of seniors. A few examples of manners:</p>
<ol>
<li>You should always have a clean handkerchief in your left pocket.</li>
<li>If a senior asks to see handkerchief (which they often did), you turn around slightly, pull it out saying &ldquo;excuse me sir&rdquo; and show it.</li>
<li>You should not have handkerchief in PT uniform (Physical Training).</li>
<li>That you should walk on the right side of the roads and the seniors (Class 9–12) will walk on the left side.</li>
<li>Etc.</li>
</ol>
<h2 id="history-of-sainik-school-tilaiya">History of Sainik School Tilaiya</h2>
<p>Sainik School Tilaiya was established in 1963 after the Indian Army were beat by the Chinese; the <a href="https://en.wikipedia.org/wiki/1962_Sino-Indian_War">1962 Sino-Indian War</a>. It is one of the 33 Sainik Schools in India, which are a system of schools established and managed by the Sainik Schools Society under the Ministry of Defence. The primary aim of these schools is to prepare students for entry into the National Defence Academy (NDA) and Indian Naval Academy (INA).</p>
<figure>
  <img src="nda-results.png" alt="NDA/NA selections from Sainik School Tilaiya, 1966–2024" loading="lazy" />
  <figcaption>NDA/NA selections from Sainik School Tilaiya, 1966–2024. Source: <a href="https://www.sainikschooltilaiya.org/nda-results/">sainikschooltilaiya.org</a></figcaption>
</figure>
<p>We have a lot of traditions in SST. For example, the school song is &ldquo;We are the Boys of SST&hellip; Soldiers are we going to be&hellip; So beware&hellip; All those who dare&hellip; To hurt our dignity&hellip;&rdquo;.
The school motto is &ldquo;Forward Ever&rdquo; (अग्रे सरत सर्वदा).
Class 6 is the period where you get the time to learn all of this.</p>
<p>We had an Honour Code that was introduced by Group Captain A.K. Varshney, our Principal in junior years.</p>
<blockquote>
<p>As a Tilaiyan, I will be truthful, trustworthy,
honest and forthright under all circumstances.
I will not lie, cheat, mislead or deceive anyone.
When I commit a mistake, I shall honestly
own up of my own free will.</p>
</blockquote>
<p>Another favourite of mine was the pledge<sup id="fnref:2"><a href="#fn:2" class="footnote-ref" role="doc-noteref">2</a></sup> that we took every morning in the assembly:</p>
<blockquote>
<p>The safety, honour and welfare of my country come first, always and every time.
The honour, welfare and comfort of the men I command come next.
My own ease, comfort and safety come last, always and every time.</p>
</blockquote>
<p><figure>
  <img src="with-hm-sir.png" alt="With HM Sir in Class 12 — my mentor in Class 11–12, along with other appointments at the school assembly." loading="lazy" /><figcaption>With HM Sir in Class 12 — my mentor in Class 11–12, along with other appointments at the school assembly.</figcaption>
</figure>
</p>
<p>From left to right: Sarabjeet, <em>Nalanda</em> House Captain; Manoranjan Murmu, School Games Captain<sup id="fnref:3"><a href="#fn:3" class="footnote-ref" role="doc-noteref">3</a></sup>; Mayank Kaushal, School Adjutant; Sudhanshu, School Vice-Captain; Squadron Leader Shamim Akhtar, IAF, Headmaster; Me, School Captain; Ehtesham Izhar, School Academics Captain; Pratik, School Co-curricular Activities Captain<sup id="fnref:4"><a href="#fn:4" class="footnote-ref" role="doc-noteref">4</a></sup>.</p>
<h2 id="honeymoon-over">Honeymoon Over</h2>
<p>We moved to Class 7 in 2010. Honeymoon finished. The first noticeable change was that we stayed longer after the movie finished — in school assemblies post Saturday night movies. These school assemblies were organized by School Captain and other Appointments to inspect if the students are following the <em>manners</em>. (Five years later, I would be the School Captain and I stopped the practice.) In Class 6, we often were sent early for the dinner. In Class 7–8, a little later. Class 9–10, last.</p>
<h2 id="hockey">Hockey</h2>
<p>I tried to play hockey in Class 7/8. I was not very bright at it. Suraj Jee was the house captain and made us work too hard to win the cup. (We called all seniors with &ldquo;Jee&rdquo; when referring to them and calling them &ldquo;Sir&rdquo; when talking to them.) There is picture of us Class 8 <em>Vikram House</em> where all of us are in yellow jerseies except me. On paper I was, but Suraj Jee had kicked me out because of my bad performance.</p>
<p>I liked playing hockey — dribbling ball around, shooting it around, etc. What I didn&rsquo;t like was the competitive mentality around it. After all, it&rsquo;s just a game. Play.</p>
<p>In Class 9, in a crazy turn of events, I became a member of the Hockey School Team and went to Sainik School Gopalganj. It wasn&rsquo;t because of hockey that I was in the team. Regional Sainik Schools have a competition against each other in sports and cultural activities. We were in the central zone — Tilaiya, Nalanda, Gopalganj, Ambikapur. The flaw in design was that the teams sent from non-home schools were strictly based on the sports teams. Thus, there was a real need to have some inductions of people who could take Sainik School Tilaiya up in the cultural sphere, helping us win the cultural cup. (We did win gold and silver medals in mime and music.) But, I was an assignee in the team. In Class 10, I went to Sainik School Nalanda as a member of the Volleyball team.</p>
<h2 id="languages-and-grades">Languages and Grades</h2>
<p>When I joined SST, I didn&rsquo;t want to study languages at all. My brother used to tease me on my plea: you can quiz me on any subject, any chapter but not Hindi grammar. Even though Hindi is my mother tongue, I am terrible at its grammar. Now a days, I am trying to revive my interests. My percentage in Class 6 was 69%, with a rank of 19/34 or so. In Class 7, it was 72%; Class 8 — 79%; Class 9 — 87%; Class 10 — 9.6 CGPA (91.2%); Class 11 — 93% (I was 4/93; got Best Academician in the Vikram House); Class 12 — 90.8%.</p>
<p>My score had a jump from Class 8 to Class 9 when Sanskrit dropped. Then another one when Hindi dropped in Class 10 to 11. In Class 11, I was so glad that all questions I studied were real hard topics — not <a href="https://blog.harsh17.in/languages/">languages</a>.</p>
<h2 id="music-club">Music Club</h2>
<p>Music Club became a defining part of my life in Class 8 and stayed that way until Class 10/11. Mrinal Chakraborty Sir (M.C. Sir as we called him) was our Art teacher also responsible for the Music Club.
Unlike most other clubs, getting in was based on a test. You had to sing &ldquo;Sa, Re, Ga, Ma, Pa, Dha, Ni, Sa&rdquo; (&ldquo;Do Re Mi Fa Sol La Ti Do&rdquo;) and if you could do it well, you got in.</p>
<p>I learnt how to play the Harmonium from M.C. Sir. I regularly played in the school assembly and other events. Keyboard too. My mates were Pratik, Piyush and Sinku. The first two are officers in the Indian Army now too.</p>
<p>He also taught me humility. Most importantly, he taught me to think wide — his first few classes in Art were spent totally in discussing &ldquo;What is Art?&rdquo; — weeks at a time. He was a great mentor and I am grateful to have had him in my life. He took a voluntary retirement in 2015.</p>
<p>I also was a member of the Mime team. It was awesome also because sometimes we could escape hard labour like those that happened before the Golden Jubilee celebrations that happened in 2013 (Class 9). While my friends were busy doing श्रम-दान (voluntary labour) in the school, I was busy rehearsing for the music/mime performance.</p>
<p>The Golden Jubilee was done with a BANG. Our Registrar back then was awesome at planning, execution and had the right connections.
Famous Bollywood director Prakash Jha<sup id="fnref:5"><a href="#fn:5" class="footnote-ref" role="doc-noteref">5</a></sup>, who is an alumnus from <em>Vikram House</em>, was there.
Along with many, many other dignitaries from the Indian armed forces and government. We had a grand parade, cultural performances, and a grand dinner. It was a blast.</p>
<p><figure>
  <img src="golden-jubilee.png" alt="Golden Jubilee celebrations at SST, 2013. I&rsquo;m the one on keyboard." loading="lazy" /><figcaption>Golden Jubilee celebrations at SST, 2013. I&rsquo;m the one on keyboard.</figcaption>
</figure>
</p>
<h2 id="school-captain">School Captain</h2>
<p>Anyway, near the end in Class 11, somehow it looked like I was going to be the next School Captain. D.N. Pandey Sir and P.K. Jha Sir (my house masters) recommended me; the previous school captain Abhishek Jee also recommended me and when Principal was talking to our batch after the final exam of Class 11, the batch too suggested me.</p>
<p>When I was in Class 6, I was really crazed to see Vikas Jee, the school captain from Vaishali House (2009–10). He was the North Star to me in decorum and discipline — though I have never ever talked to him. So, when I actually got to be a School Captain myself, I was very glad.</p>
<p><figure>
  <img src="me%20in%20my%20school%20captain%20uniform.jpg" alt="Me in my School Captain uniform" loading="lazy" /><figcaption>Me in my School Captain uniform</figcaption>
</figure>
</p>
<p>However, that excitement quickly wore off. There was just SO MUCH RESPONSIBILITIES. I had no clue what I had signed up for. It was a saying that the School Captain is the student among officers and officer among students. So I started getting sucked into everything. I never went to breakfast in Class 12 because I thought if I would go, someone would come with a new complaint or I would have to check the students to ensure they follow the manners that we had talked before.</p>
<p>One of the responsibilities as School Captain is that now so many random documents require your signature. There are so many documents and orders that you are &ldquo;Copy To:&rdquo;. Military is very methodical, Sainik School very much so. I used to get at least a notice a day, not all of them were relevant or useful. But I had to be present.</p>
<p><figure>
  <img src="my-room.png" alt="Ankit and my room in 2015-16 when I was the School Captain" loading="lazy" /><figcaption>Ankit and my room in 2015-16 when I was the School Captain</figcaption>
</figure>
</p>
<p>I changed a lot of rules at my time. I tried my best for the students to realise that they are here to become an independent, sharp and patriotic Indians who would contribute to the development of the country through all walks of life. Indeed, that is the mission of Sainik School Tilaiya. I was a little crazy about the Diaries. The School Diary that we got every year, it was my treasure. So much about the school and the decorum and disciplines and time tables were all published there.</p>
<p>I never fell sick in Class 12. I didn&rsquo;t know what would have happened. Of course, it would have been fine. Sudhanshu was the School Vice-Captain and he was good at organising things — he acted as Understudy many times before.</p>
<h2 id="indian-air-force-upsc-nda--ssb--pabt">Indian Air Force: UPSC (NDA) + SSB + PABT</h2>
<p>When my dream to join the Indian Air Force (IAF) was crushed in January 2016 when I failed the PABT (Pilot Aptitude Battery Test)<sup id="fnref:6"><a href="#fn:6" class="footnote-ref" role="doc-noteref">6</a></sup>, I was really sad. You can only give PABT once in your lifetime. If you pass it, you are eligible to be a pilot in the armed forces. If not, you can&rsquo;t be a pilot — ever. My dream of seven years to fly a Sukhoi upside down was crushed.
Headmaster Sqn. Ldr. Shamim Akhtar sir gave me a little printout of a quote which I pasted in my room: it essentially said god has other plans.</p>
<p>There came several more opportunities for SSB through technical entries, but I never went. I had joined IIM Indore in 2016 — where I got my B.A. and M.B.A. — and it was not like if I joined the Navy or Army or even the Air Force I could be a pilot. I could be a technical officer, but that was not what I wanted. I wanted to fly planes. So, I never went for SSB again.</p>
<hr>
<p>क्या कहूँ, सैनिक स्कूल में जो पल बीतें है वो यादगार हैं, हर परिपक्ष्य में।</p>
<hr>
<p><figure>
  <img src="with-my-friends_class12.jpg" alt="Me with my friends in Class 12" loading="lazy" /><figcaption>Me with my friends in Class 12</figcaption>
</figure>
</p>
<p><figure>
  <img src="with_registrar_sir%20%28also%20a%20tilaiyan%29.png" alt="With Registrar Sir in Class 12 — also an ex-Tilaiyan" loading="lazy" /><figcaption>With Registrar Sir in Class 12 — also an ex-Tilaiyan</figcaption>
</figure>
</p>
<p><figure>
  <img src="batch_pic.jpg" alt="All 93 of us in Class 12, in our house colour t-shirts. Vikramites are the pink panthers. Can you spot me?" loading="lazy" /><figcaption>All 93 of us in Class 12, in our house colour t-shirts. Vikramites are the pink panthers. Can you spot me?</figcaption>
</figure>
</p>
<div class="footnotes" role="doc-endnotes">
<hr>
<ol>
<li id="fn:1">
<p>The Services Selection Board (SSB) is a five-day interview process used to select officers for the Indian Armed Forces. OLQs — qualities like initiative, courage, stamina, and sense of responsibility — form the framework against which candidates are evaluated.&#160;<a href="#fnref:1" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:2">
<p>This is also the Chetwode Motto, from the Indian Military Academy in Dehradun. It is inscribed on the entrance of the academy and recited across military institutions in India.&#160;<a href="#fnref:2" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:3">
<p>Currently a Captain in the Indian Army.&#160;<a href="#fnref:3" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:4">
<p>Also currently a Captain in the Indian Army.&#160;<a href="#fnref:4" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:5">
<p>Known for films like <em>Gangaajal</em>, <em>Raajneeti</em>, and <em>Satyagraha</em>. His movies explore themes of social justice, political corruption, and human rights. He is also a recipient of the Padma Shri, one of India&rsquo;s highest civilian awards, for his contributions to the arts.&#160;<a href="#fnref:5" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
<li id="fn:6">
<p>PABT is essentially a hand-eye coordination test. You attend classes on how to read an altimeter, a heading indicator, and other basic instruments, and then you&rsquo;re put in a simple simulator. That&rsquo;s it — a video game that decides whether you can ever be a military pilot. I failed it.&#160;<a href="#fnref:6" class="footnote-backref" role="doc-backlink">&#x21a9;&#xfe0e;</a></p>
</li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>Language Models and Multiverse</title>
      <link>https://harsh17.in/language-models-and-multiverse/</link>
      <pubDate>Mon, 01 Sep 2025 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/language-models-and-multiverse/</guid>
      <description>&lt;p&gt;I was listening to a podcast by OpenAI where they tell us how they trained GPT-4.5, one of the largest models they have today.
GPT-4.5 shows intelligence in unexpected ways, demonstrating common sense like other models totally miss.
I haven’t used it much myself so cannot comment on that, but at &lt;a href=&#34;https://youtu.be/6nJZopACRuQ?t=2318&#34;&gt;38:38&lt;/a&gt; in the video, Sam Altman asks Daniel Selsam “why does supervised learning work?”.
Without skipping a beat, he replies “compression”.
Then he explains that “the ideal intelligence is Solomonoff Induction”.
Unfamiliar with this term, I jumped on a conversation with GPT-4.5 and along the way, I learnt several interesting things that I want to share with you all.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I was listening to a podcast by OpenAI where they tell us how they trained GPT-4.5, one of the largest models they have today.
GPT-4.5 shows intelligence in unexpected ways, demonstrating common sense like other models totally miss.
I haven’t used it much myself so cannot comment on that, but at <a href="https://youtu.be/6nJZopACRuQ?t=2318">38:38</a> in the video, Sam Altman asks Daniel Selsam “why does supervised learning work?”.
Without skipping a beat, he replies “compression”.
Then he explains that “the ideal intelligence is Solomonoff Induction”.
Unfamiliar with this term, I jumped on a conversation with GPT-4.5 and along the way, I learnt several interesting things that I want to share with you all.</p>
<div id="solomonoff-induction" class="section level2">
<h2>Solomonoff Induction</h2>
<p>Imagine that you are given the following set of numbers and you have to predict the next one:</p>
<blockquote>
<p>2, 4, 6, 8, ___</p>
</blockquote>
<p>Did you guess 10?
Why?
Probably because that’s the simplest pattern — “add two each time”.
But consider this alternative explanation — “Add two every time until you reach 8, then suddenly switch to adding five”.
Then, the next number would be 13.</p>
<p>Both explanations match the observed data.
Yet, intuitively, you’d bet on 10 because it’s simpler.
<strong>But why exactly does simplicity feel right?</strong></p>
<p>Simplicity feels right because of <a href="https://en.wikipedia.org/wiki/Occam%27s_razor">Occam’s Razor</a>: “Among competing hypotheses, choose the simplest one”.</p>
<p>Then, in 1960s, Ray Solomonoff had a brilliant idea.
He decided to represent each possible explanation (or hypothesis) as a computer program.
The shorter the program length (in bits or complexity), the simpler the hypothesis.</p>
<p>For example, there are several computer programs to decide the next number in our series <code>2, 4, 6, 8, ___</code>:</p>
<table>
<colgroup>
<col width="45%" />
<col width="25%" />
<col width="29%" />
</colgroup>
<thead>
<tr class="header">
<th>Program</th>
<th>Length (in bits)</th>
<th>Interpretation</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td>Print all even numbers</td>
<td>Short</td>
<td>Simple, general</td>
</tr>
<tr class="even">
<td>Print 2, 4, 6, 8, then print 13, 18, … (add 5 to last number)</td>
<td>Medium</td>
<td>Complicated, special-case explanation</td>
</tr>
<tr class="odd">
<td>Print numbers 2, 4, 6, 8, followed by random unpredictable numbers</td>
<td>Very Long</td>
<td>Highly complex, arbitrary, no clear pattern</td>
</tr>
</tbody>
</table>
<p>(While <a href="https://en.wikipedia.org/wiki/Kolmogorov_complexity">Kolmogorov complexity</a>—the length of the shortest program that generates your data—is a powerful theoretical idea, it’s actually uncomputable in practice, so we use description length as an ideal guide for simplicity.)</p>
<p>The shortest program often has the simplest interpretation.
<strong>Supervised learning algorithms are attempts to compress all available information in data useful for decision making into simple binary.</strong> Solomonoff said that to predict the next event, we should:</p>
<ol style="list-style-type: decimal">
<li>Consider every possible program that could produce the observed data.</li>
<li>Assign probabilities based on simplicity:
<ol style="list-style-type: decimal">
<li>Shorter program → Higher probability</li>
<li>Longer program → Lower probability</li>
<li><span class="math inline">\(\text{Probability} \propto 2^{-\text{program length}}\)</span></li>
</ol></li>
<li>Predict the next event by taking a weighted average of the predictions from <strong>all programs</strong>.</li>
</ol>
<p>In other words, we can imagine an infinite “multiverse” of programs generating your data.
We don’t just pick one; we average over them all, weighing each according to simplicity.</p>
<p>Even though practically it is impossible to use, it guides us to understand that simpler algorithms that compress data better are almost always better representations of data.
Additionally, since Solomonoff induction relies on an uncomputable prior, real-world machine learning uses practical substitutes like Minimum Description Length (MDL), Bayesian model averaging, or ensembling to approximate the idea of weighing simpler explanations more heavily.</p>
</div>
<div id="multiverse" class="section level2">
<h2>Multiverse?</h2>
<p>Now, while exploring Solomonoff induction, I stumbled upon its intriguing connection with another concept: the multiverse.
Physicist Max Tegmark proposed <a href="https://space.mit.edu/home/tegmark/PDF/multiverse_sciam.pdf">four levels of multiverse</a>, each level capturing a different kind of parallel universe.<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a></p>
<p>The first level Tegmark describes includes regions beyond our observable cosmic horizon.
Essentially, these universes are extensions of our own, governed by the same physical laws but possibly differing in their initial conditions.</p>
<p>The second level imagines universes arising from something called eternal inflation (recall that because of cosmic inflation our universe is constantly expanding), each potentially having different physical constants and laws of nature.
Solomonoff induction would, in theory, incorporate these universes too, evaluating them based on how simple and computable their fundamental rules are.</p>
<p>Shorter, simpler descriptions (or programs) of universes would be considered more probable than complicated, special-case scenarios.</p>
<p>The third level relates directly to quantum mechanics, specifically the many-worlds interpretation.
Here, every quantum event creates branching universes, each representing different outcomes.
This concept resonates strongly with Solomonoff induction’s approach, where each potential future event is considered simultaneously, weighted by simplicity and computability.
Each “branch” is akin to a different program output, contributing to the overall prediction.</p>
<p>Finally, Tegmark’s fourth level—the “ultimate ensemble”—is the broadest and most abstract.
It suggests that every mathematically consistent universe that can exist does exist.
This level again matches perfectly with Solomonoff induction.
Since Solomonoff induction evaluates every conceivable computable hypothesis, it inherently encompasses this idea, assigning probabilities to these universes based purely on the elegance and simplicity of their mathematical description.</p>
<p>It’s worth noting that in quantum mechanics, the many-worlds interpretation assigns probabilities to outcomes using the <a href="https://en.wikipedia.org/wiki/Born_rule">Born rule</a>, not by simplicity—so the analogy with Solomonoff is more metaphorical than literal.
Also, eternal inflation refers to the ongoing creation of new “pocket universes” with different constants, while the current expansion of our universe is driven by dark energy.</p>
</div>
<div id="okay-but-how-is-this-related-to-language-models" class="section level2">
<h2>Okay, but how is this related to language models?</h2>
<p>Bringing it back to language models: when models like GPT-4.5 predict text, they’re essentially compressing huge amounts of information into compact representations—similar to the spirit of Solomonoff induction.
Training methods like cross-entropy loss connect to Minimum Description Length, rewarding models that capture patterns efficiently.</p>
<p>When sampling outputs, techniques like temperature scaling and nucleus sampling let us explore a range of possible continuations, almost like averaging predictions from multiple “programs” or hypotheses.
In practice, ensembling and mixture-of-experts architectures mimic the idea of averaging over many models, echoing the theoretical blend of simplicity and diversity that Solomonoff induction imagines.</p>
</div>
<div id="is-multiverse-real" class="section level2">
<h2>Is Multiverse Real?</h2>
<p>We don’t know.
But as a fan of “Everything Everywhere All at Once”, I would totally say “Yes!”.</p>
</div>
<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
<li id="fn1"><p>See “Physics in the multiverse: an introductory review” by Aurélien Barrau for brief introduction on multiverse theory in Physics.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>A Week in Tirana, Albania</title>
      <link>https://harsh17.in/albania/</link>
      <pubDate>Tue, 15 Jul 2025 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/albania/</guid>
      <description>&lt;p&gt;Last month, I spent a week in Tirana, Albania.
Nestled across the Adriatic from Italy and bordered by Montenegro, Kosovo, North Macedonia, and Greece, Albania has long been one of Europe’s hidden secrets.
Until 1991, this small country lived in almost total isolation under a communist dictatorship.
After communism collapsed, Albania became a democratic republic.
In 2009, it joined NATO and today stands as an EU candidate state—to becoming a full member soon.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Last month, I spent a week in Tirana, Albania.
Nestled across the Adriatic from Italy and bordered by Montenegro, Kosovo, North Macedonia, and Greece, Albania has long been one of Europe’s hidden secrets.
Until 1991, this small country lived in almost total isolation under a communist dictatorship.
After communism collapsed, Albania became a democratic republic.
In 2009, it joined NATO and today stands as an EU candidate state—to becoming a full member soon.</p>
<p>My friend Dea Bardhosi, whom I met during my internship at HP three years ago, happened to be visiting her home at the time.
Before starting my new job, I decided to take a week-long vacation — and exploring a new country with a local makes all the difference.
Dea, along with her sister Keti and their parents, made my trip truly special.
I’m already looking forward to visiting them again soon.</p>
<div id="history-of-albania" class="section level2">
<h2>History of Albania</h2>
<p>The territory of modern-day Albania was inhabited in classical antiquity by various Illyrian tribes.
Between 200 and 400 BCE, Greek colonizers established trading posts along its coastline, most notably in Durrës—a beach town near present-day Tirana.
Following the Illyro-Roman Wars (229–168 BCE), the region was absorbed into the Roman Empire.
After the empire’s division in 395 CE, Albania came under the Eastern Roman (Byzantine) Empire.</p>
<p>In 1444, the Albanian nobleman George Kastrioti—better known as Skanderbeg—united feudal lords in a military alliance to resist the advancing Ottoman Empire.
Skanderbeg, now celebrated as a national hero with the main square in Tirana named after him, held off Ottoman forces for over two decades.
After his death, and within a decade, Albania fell under Ottoman rule.
Yet the sense of national identity he forged left a deep and lasting mark on Albanian nationalism.</p>
<p><img src="images/3BCA77A6-8EAC-458E-9D69-6BD2A38DF3C3_1_105_c.jpeg" /></p>
<blockquote>
<p>Skanderbeg Square, Tirana, Albania.</p>
</blockquote>
<p>As the Ottoman Empire weakened, Albania declared its independence on November 28, 1912.
The next two and a half decades were tumultuous, marked by the reign of two kings and occupation during both World Wars.
These events eventually set the stage for Albania to become a socialist (“Stalinist”) state under Enver Hoxha, the First Secretary of the Labour Party.
From 1944 until his death in 1985, Hoxha ruled Albania as a rigid, Stalinist one-party regime defined by forced collectivization, state-enforced atheism (making Albania the world’s first officially atheist country), and extreme international isolation.</p>
<p>Stalin’s death in 1953 and Khrushchev’s speech “On the Cult of Personality and Its Consequences” denouncing the Stalin’s methods in 1956 alarmed Hoxha.<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a>
He viewed de‑Stalinization as a betrayal of Marxism‑Leninism.
By 1961, Albania formally split from the USSR, expelled all Soviet advisers, and joined with Chairman Mao’s China as fellow anti‑revisionists.
Through the 1960s and early ’70s, Albania received Chinese economic and military aid.</p>
<p>But as Mao’s successors began opening China to foreign investment and rapprochement with the West (notably Nixon’s visit in 1972), Hoxha denounced China as “revisionist” as well.
By 1978 all Chinese personnel were gone, and Albania embarked on its “self‑reliance” policy.
From then until his death in 1985, Hoxha presided over Europe’s North Korea.</p>
<p>He persecuted religious institutions, banned almost all private enterprise, and enforced strict travel restrictions.
His regime executed or imprisoned thousands deemed opponents, and Albania became one of the most repressive states in Europe.
For more on this and other historical stories of Albania, one should read <a href="https://www.goodreads.com/book/show/58085227-free">Lea Ypi’s “Free”</a>.</p>
<p>The list of “tortures” done during Enver Hoxha’s regime are horrendous — FAIR WARNING.
“Strapping dynamite on the body”, “burning of sexual organs with petrol”, “putting inside the coffin alive”, “crushing breasts with pliers”, “cat with claws put inside underpants of women and then hit with a wood”.
These are beyond hurtful.</p>
<p><img src="images/ACF85A31-E204-448B-857A-65B08F4EE89C_1_105_c.jpeg" /></p>
<blockquote>
<p>36 Types of Tortures Committed By The Investigator During The Regime.
Courtesy: “<a href="https://www.wilsoncenter.org/blog-post/albanias-museum-secret-surveillance-house-leaves">House of Leaves</a>” museum.</p>
</blockquote>
<p>Upon Hoxha’s death in 1985, his successor Ramiz Alia cautiously introduced reforms under pressure from domestic unrest and Gorbachev’s Soviet policies.<a href="#fn2" class="footnote-ref" id="fnref2"><sup>2</sup></a>
By 1991 multi‑party elections had been held, and in March 1992 the center‑right Democratic Party assumed power, marking the end of the communist system.
The 1998 constitution enshrined rule of law and human rights.
Despite severe economic collapse and the 1997 crisis, Albania stabilized in the early 2000s, joined NATO in 2009, and is now an official candidate for European Union accession.</p>
</div>
<div id="how-is-albania-today" class="section level2">
<h2>How is Albania Today?</h2>
<p>Today, Albania is a modern European nation, home to many beautiful attractions and stunning beaches.
I was fortunate to be hosted by my friend Dea Bardhosi, who, along with her sister Keti and their parents, generously showed me around the cities of Tirana and Durrës.
Here are some highlights from my trip.</p>
<p><img src="images/03602290-DA04-4438-91F8-F3BC1DBBCC24_1_105_c.jpeg" /></p>
<blockquote>
<p>Dea Bardhosi and I at the friendship monument in Tirana.</p>
</blockquote>
<p>I landed at Tirana’s Nënë Tereza Airport (Mother Teresa Airport, TIA), which has direct connections to major European cities such as London, Paris, Munich, Frankfurt, and others, as well as flights to and from Dubai.
The airport is named after Mother Teresa, the renowned Catholic nun known for her service to India’s poor and sick.
Interestingly, although I always assumed she was Indian, she was actually Albanian by birth and became one of the first foreigners to acquire Indian citizenship through naturalization.
Despite her iconic status in Albania, Mother Teresa remains somewhat controversial in India, where she has been criticized for her practice of withholding anesthetics from patients, stemming from her belief that suffering brought one closer to God.</p>
<div id="enver-hoxha-mausoleum-pyramid" class="section level3">
<h3>Enver Hoxha Mausoleum “Pyramid”</h3>
<p>One of Tirana’s most iconic landmarks is the <strong>Pyramid of Tirana</strong>.
Originally opened in 1988 as the Enver Hoxha Museum, it was designed to showcase the legacy of Albania’s communist dictator, Enver Hoxha.
Although sardonically referred to as the “Enver Hoxha Mausoleum,” it was likely never intended to house Hoxha’s remains.
Today, the Pyramid serves as a popular local attraction and event venue.</p>
<p><img src="images/0B13CB74-AE54-47A0-9A22-CE5FD610E477_1_105_c.jpeg" /></p>
<blockquote>
<p>The Pyramid of Tirana.</p>
</blockquote>
</div>
<div id="local-architecture-in-tirana" class="section level3">
<h3>Local Architecture in Tirana</h3>
<p>Albania’s Prime Minister since 2013, Edi Rama, is a former art professor and writer whose artistic sensibility is unmistakable throughout Tirana.
He’s known for doodling on Microsoft Outlook printouts during ministerial meetings to help him concentrate—a detail that says a lot about his character.
After the fall of communism, when Rama became mayor of Tirana, his unconventional priority was to paint the city’s drab buildings in vibrant colors, even as basic infrastructure like street lights were failing.
At first, this struck many as an odd choice.
But over time, his policy began to work.
As Rama recalled in an interview with <a href="https://www.theguardian.com/artanddesign/2016/nov/15/meet-edi-rama-albanias-artist-prime-minister-exhibition">The Guardian</a>: “It had a chain effect I didn’t imagine. Once the buildings were coloured, people started to get rid of the heavy fences of their shops. In the painted roads, we had 100% tax collection from the people, while tax collection was normally 4%. People accepted to pay their share for the city, because they realised that through the colours the city exists.”</p>
<p>His impact is evident everywhere: in Tirana, there’s hardly a building without character—a fact even I, with no artistic training, can’t help but notice.</p>
<p><img src="images/tirana-1.png" /></p>
<p><img src="images/tirana-2.png" /></p>
<p><img src="images/tirana-3.png" /></p>
</div>
<div id="tiranas-new-mosque" class="section level3">
<h3>Tirana’s New Mosque</h3>
<p>In 2024, the Namazgah (Grand) Mosque of Tirana was inaugurated by Turkish President Recep Tayyip Erdoğan.
The mosque was built almost entirely with funding from the Turkish government—about $30 million, provided through (<a href="https://en.wikipedia.org/wiki/Presidency_of_Religious_Affairs">Diyanet</a>).
Its location near the Albanian parliament underscores the growing acceptance of Islam in a country that was, until recently, officially atheist.
Today, it stands as the largest mosque in Albania, accommodating 8,000 people inside the main dome and an additional 2,000 in the courtyard.
The Islamic architecture is strikingly beautiful.</p>
<p><img src="images/mosque-1.png" /></p>
<p><img src="images/mosque-2.png" /></p>
</div>
</div>
<div id="local-food-in-tirana" class="section level2">
<h2>Local Food in Tirana</h2>
<p>I had the pleasure of sharing a traditional lunch with Dea’s family, and the local food was delicious.
We enjoyed goat shoulder, a platter of traditional Albanian dishes, and finished with flan accompanied by their classic espresso.
The meal was made even more memorable by the setting—at the top of the Dajti Mountains, which you can reach from Tirana by cable car (except on Tuesdays).</p>
<p><img src="images/5AB13037-2203-4572-9DE6-9C5674C6936E_1_105_c.jpeg" /></p>
<p><img src="images/food-1-01.png" /></p>
<p><img src="images/food-2-01.png" /></p>
<div id="local-market" class="section level3">
<h3>Local Market</h3>
<p>Tirana has local markets where one can shop for a variety of fresh fruits and vegetables.</p>
<p><img src="images/0066307C-66EC-4382-A2BE-D1FE230D8A9B_1_105_c.jpeg" /></p>
</div>
<div id="froyo-frozen-yogurt" class="section level3">
<h3>Froyo: Frozen Yogurt</h3>
<p>This was probably the first time I had frozen yogurt—and it’s likely one of the best I’ll ever have.
Albanians serve their froyo with a variety of fruit jams (strawberry, avocado, blueberry) and toppings like crushed almonds and shredded coconut.
It was so good that I had it again in Durrës.
I hope I get to try it again someday.</p>
<p><img src="images/EA7CB9FF-6262-425A-87B2-FA3FD0F4EC64_1_102_o.jpeg" /></p>
</div>
<div id="petulla-albanian-fried-donuts" class="section level3">
<h3>Petulla: Albanian Fried Donuts</h3>
<p>Petulla is a simple yet delicious Albanian version of donuts.
I definitely plan to try making them myself sometime.
They’re typically enjoyed with fruit jam and cheese.<a href="#fn3" class="footnote-ref" id="fnref3"><sup>3</sup></a></p>
</div>
</div>
<div id="beachtown-durrës" class="section level2">
<h2>Beachtown: Durrës</h2>
<p>Durrës is the second-most populous city in Albania, after Tirana.
It’s actually older than Tirana, having been a significant center during both the Greek and Roman eras.
The city is also home to an ancient Roman amphitheater, which—while smaller—bears some resemblance to the Colosseum in Rome.</p>
<p><img src="images/roman.png" /></p>
<p>The beach at Durrës is very clean, though quite shallow; the water near the shore barely reached my shoulders, at about a meter deep.
The sea is clear and the waves are gentle, making it ideal for swimming.
I thoroughly enjoyed my time in the water with Dea.</p>
<p><img src="images/350C6856-F2C4-4E85-AA9E-B0DC679C7224_1_105_c.jpeg" /></p>
</div>
<div id="liquor-to-try-raki" class="section level2">
<h2>Liquor to Try: Raki</h2>
<p>Albanian raki (raki rrushi, or simply “raki”) is a strong fruit brandy that has been distilled in rural Albania for centuries.
The recipe varies by region: northern Albania typically produces grape-based raki (raki rrushi), while in central and southern areas, you’ll also find plum (slivovica), apricot (kajsie), and pear (dardhë) versions.</p>
<p>I picked up a bottle at the duty-free in TIA airport on my way back and have enjoyed it both as a shot and mixed into a cocktail with lychee, lemon, and sugar.</p>
<p><img src="images/raki.png" /></p>
</div>
<div id="conclusion" class="section level2">
<h2>Conclusion</h2>
<p>My week in Albania gave me far more than a checklist of sights—it offered a window into a nation reshaping itself after decades of isolation and upheaval.
Tirana’s colorful streets, Durrës’ ancient ruins and gentle beaches, the warmth of Albanian hospitality, and the taste of local food and raki all left a vivid impression.
Albania is still carving out its place in Europe, balancing old wounds with new energy and optimism.</p>
<p>If you’re looking for a travel experience that’s both welcoming and thought-provoking, Albania is well worth a visit.
I’m grateful to Dea and her family for making me feel at home in a country still discovering itself—and I look forward to returning someday.</p>
</div>
<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
<li id="fn1"><p>In this speech, Nikita Khrushchev denounced Stalin’s methods of creating a cult around his personality and condemned Stalin’s brutal purges, mass arrests, executions, and the creation of a personality cult that placed Stalin above the party and the people.
Read the full speech <a href="https://digitalarchive.wilsoncenter.org/document/khrushchevs-secret-speech-cult-personality-and-its-consequences-delivered-twentieth-party">here</a> and more background on <a href="https://en.wikipedia.org/wiki/On_the_Cult_of_Personality_and_Its_Consequences">Wikipedia</a>.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
<li id="fn2"><p>See, US President Mr. Ronald Reagan’s speech “<a href="https://www.youtube.com/watch?v=IguMXrgfrg8">Mr. Gorbachev, Tear Down This Wall!</a>”.<a href="#fnref2" class="footnote-back">↩︎</a></p></li>
<li id="fn3"><p>Recipe: <a href="https://mediterraneanlatinloveaffair.com/albanian-fried-dough-petulla/" class="uri">https://mediterraneanlatinloveaffair.com/albanian-fried-dough-petulla/</a><a href="#fnref3" class="footnote-back">↩︎</a></p></li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>Power of Your Passport</title>
      <link>https://harsh17.in/passports/</link>
      <pubDate>Tue, 24 Jun 2025 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/passports/</guid>
      <description>&lt;script src=&#34;https://harsh17.in/passports/index_files/htmlwidgets/htmlwidgets.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;https://harsh17.in/passports/index_files/pymjs/pym.v1.js&#34;&gt;&lt;/script&gt;
&lt;script src=&#34;https://harsh17.in/passports/index_files/widgetframe-binding/widgetframe.js&#34;&gt;&lt;/script&gt;


&lt;p&gt;&lt;img src=&#34;images/all-passports.png&#34; /&gt;&lt;/p&gt;
&lt;p&gt;A passport is “an official travel document issued by a government that certifies a person’s identity and nationality for international travel.” The word comes from the medieval French &lt;em&gt;passer&lt;/em&gt; (“to pass”) and &lt;em&gt;port&lt;/em&gt; (“harbor”): originally a document allowing you to pass through a port town’s gate.
The document requests all border protection agencies and governments to give safe passage to the bearer.
It validates the identity of the concerned citizen.
My Indian passport specifically says:&lt;/p&gt;</description>
      <content:encoded><![CDATA[<script src="https://harsh17.in/passports/index_files/htmlwidgets/htmlwidgets.js"></script>
<script src="https://harsh17.in/passports/index_files/pymjs/pym.v1.js"></script>
<script src="https://harsh17.in/passports/index_files/widgetframe-binding/widgetframe.js"></script>


<p><img src="images/all-passports.png" /></p>
<p>A passport is “an official travel document issued by a government that certifies a person’s identity and nationality for international travel.” The word comes from the medieval French <em>passer</em> (“to pass”) and <em>port</em> (“harbor”): originally a document allowing you to pass through a port town’s gate.
The document requests all border protection agencies and governments to give safe passage to the bearer.
It validates the identity of the concerned citizen.
My Indian passport specifically says:</p>
<blockquote>
<p>These are to request and require in the name of the President of the Republic of India, all those whom it may concern to allow the bearer to pass freely without let or hindrance and to afford him or her every assistance and protection of which he or she may stand in need.</p>
<p>— By The Order of President of Republic of India</p>
</blockquote>
<p>Today, passports are one of the most acceptable form of identification worldwide, thanks to <strong>International Civil Aviation Organization (ICAO)</strong>, a United Nations agency, which sets global standards for travel documents.
It dictates the qualities of passport like machine-readable zones which enable automated immigration system updates, and biometric e-passports which contain a chip with facial and fingerprint information.<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a></p>
<p>While a passport looks like a routine booklet, its true power lies in the diplomatic and economic bargains stamped inside its pages.</p>
<div id="passport-through-the-ages" class="section level2">
<h2>Passport Through the Ages</h2>
<p>Although the concept of modern passport is only a post World War II event — mostly to avoid espionage and identity verification in porous boundaries of the European countries — passports as documents asking for safe passage are very old.
One of the oldest instance is found in the Hebrew Bible (Nehemiah 2:7–9, 450 BCE) when Nehemiah, an official serving King Artaxerxes I of Persia, asked permission to travel to Judea; the king granted leave and gave him a letter “to the governors beyond the river” requesting safe passage for him as he traveled through their lands.</p>
<p>In ancient India, Arthashashtra (3rd century BCE) describes duty of Mudrādhyakṣa (lit. ‘Superintendent of Seals’) who must issue sealed passes before a person could enter or leave the countryside.
Ancient Chinese kingdoms like western Han kingdoms issued passports (傳; zhuan) and it determined a person’s ability to move throughout imperial counties and through points of control.</p>
<p>Here are some old passport images, courtesy <a href="https://en.wikipedia.org/wiki/Passport#History">Wikipedia</a>.</p>
<p><img src="images/clipboard-175384747.png" style="width:50.0%" /></p>
<blockquote>
<p>First Japanese passport, issued in 1866</p>
</blockquote>
<p><img src="images/clipboard-3383551901.png" style="width:50.0%" /></p>
<blockquote>
<p>Chinese passport from the Qing dynasty, 24th Year of the Guangxu Reign, 1898</p>
</blockquote>
<p><img src="images/clipboard-1682788832.png" style="width:70.0%" /></p>
<blockquote>
<p>An Ottoman passport (passavant) issued to a Russian subject dated July 24, 1900</p>
</blockquote>
<p><img src="images/clipboard-305265253.png" style="width:70.0%" /></p>
<blockquote>
<p>World War II Spanish official passport issued in late 1944 and used during the last six months of the war by an official being sent to Berlin.</p>
</blockquote>
<p><strong>Another fun fact:</strong> With fewer than 800 citizens, Vatican passports are among the rarest—and virtually every holder is either clergy or a Swiss Guard.</p>
</div>
<div id="beautiful-passports" class="section level2">
<h2>Beautiful Passports</h2>
<p>While my Indian passport is pretty <em>ordinary</em> (pun intended), there are several countries whose passports are a delight to look at.
For example, the Australian passport has hidden images that only show up in UV light, with even the thread acting as Aborginal flag!</p>
<p><img src="images/australia.png" /></p>
<p>Hong Kong’s passport is a marriage of old world artistry and their futuristic skyline.</p>
<p><img src="images/hongkong.png" /></p>
<p>New Zealand’s passport is a beautiful tribute to all the explorers who discovered this beautiful nation, intricately tying Maori designs with modern ones.</p>
<p><img src="images/newzealand.png" /></p>
<p>Switzerland’s passport shows each region’s topography map under UV light.</p>
<p><img src="images/switzerland.png" /></p>
<p>United States’ passport features the country’s founding principles.
Each two-page is marked with a quote from a historically-important-person.
It is also the only passport I’ve see which comes with eight pages of usage guidelines.</p>
<p><img src="images/usa.png" /></p>
<p>The Turkish passport includes local flowers under UV light and historical buildings under any light.</p>
<p><img src="images/turkey.png" /></p>
<p>Source: <a href="https://regulaforensics.com/blog/most-beautiful-passports/">The Most Beautiful Passports in the World: Regula’s Pick (2025)</a></p>
</div>
<div id="allow-bearer-to-pass-freely" class="section level2">
<h2>Allow Bearer to Pass Freely</h2>
<p>While most passports request the border officials inspecting the document to “let the bearer pass freely”, it isn’t always the case.
Not all passports are equal.
Some passports, like United Arab Emirates (UAE), Japan and Singapore, are welcomed by almost all countries.
Others, like Afghanistan and Pakistan, require a visa by almost all countries.
Thus, I wanted to explore how “powerful” each country’s passport is.</p>
<p>There are several ways to measure how “powerful” a country’s passport is.
<em>Consider India as an example.</em></p>
<ol style="list-style-type: decimal">
<li><strong>Visa-free:</strong> The number of countries that an Indian national doesn’t require a visa to visit. <em>30 countries allow visa-free access to Indians. Singapore leads this measure with visa-free access to 137 countries.</em></li>
<li><strong>Visa-on-arrival:</strong> At the port of entry, many countries grant easy visa to an Indian national. <em>45 countries give visa-on-arrival to Indians. Australia and Peru lead this measure with visa-on-arrival access to 54 countries each.</em></li>
<li><strong>Land Power:</strong> The percentage of earth’s surface that an Indian national can visit. <em>Indians can visit 34.5% of earth’s landmass.</em> <em>Spain leads this measure with access to 88.4% of earth.</em></li>
</ol>
<p>The infamous <a href="https://www.henleyglobal.com/passport-index/ranking">Henely Passport Index</a> has slightly different methodology: it uses proprietary information from International Air Transport Association (IATA) Timatic database which also provides essential travel information to international airlines.
They don’t count e-Visa towards free travel which another (more user-friendly) tracker <a href="https://www.passportindex.org/byIndividualRank.php">Passport Index</a> does.
Consequently, there are minor differences in the ultimate results.</p>
<p>However, it is clear that there are some countries that enjoy free travel in more countries than others.
So, that begets the question — what countries’ passports are more powerful than others?</p>
</div>
<div id="powerful-passports" class="section level2">
<h2>Powerful Passports</h2>
<p>To answer the question, I calculate a “Travel Easy Index”, which is simply the count of countries that let you in <em>easily</em> (visa-free or visa-on-arrival including e-TA).
Data is sourced from the <a href="https://www.passportindex.org/byIndividualRank.php">Passport Index</a> website and World Bank for GDP Per Capita (PPP).<a href="#fn2" class="footnote-ref" id="fnref2"><sup>2</sup></a>
<a href="#fn3" class="footnote-ref" id="fnref3"><sup>3</sup></a></p>
<div id="htmlwidget-1" style="width:100%;height:480px;" class="widgetframe html-widget"></div>
<script type="application/json" data-for="htmlwidget-1">{"x":{"url":"index_files/figure-html//widgets/widget_unnamed-chunk-1.html","options":{"xdomain":"*","allowfullscreen":false,"lazyload":false}},"evals":[],"jsHooks":[]}</script>
<p>When we map out global “Passport Power”, we’re really charting the footprint of a nation’s diplomatic reach, economic heft, and reciprocal trust agreements.
At the top of the list you’ll see Japan, Singapore, Germany, each offering their citizens visa-free access to well over 180 destinations.<a href="#fn4" class="footnote-ref" id="fnref4"><sup>4</sup></a>
These passports earn their strength from decades of stable foreign policy, participation in large trade blocs (like EU/Schengen or ASEAN), and rigorous security standards that give other governments confidence when they stamp that stamp.</p>
<p>Just behind them, the United States, United Kingdom, Canada and Australia hover in the 150–170 range.
Their passports remain formidable largely because of widespread bilateral visa-waiver programs: the U.S.
Visa Waiver Program alone opens doors to 40 European and Asian states, while the UK’s Commonwealth connections smooth the way in parts of Africa and the Caribbean.
Canada and Australia combine their own economic clout with selective agreements—Australia’s eTA for Canada and vice versa being one example—that boost mutual access without sacrificing border control.</p>
<p>On the other end of the spectrum, you’ll notice many developing-economy passports colored pale on our map.
These lower rankings reflect a combination of limited diplomatic networks, concerns over overstays or economic migration, and, in some regions, lingering security risks.
Small island nations and certain African and South Asian states often negotiate visa waivers last, since major powers prioritize reciprocity with strategic or high-volume partners.</p>
<p>Passport power isn’t static.
In the last five years we’ve seen the United Arab Emirates climb more than 30 places after systematically signing new waiver agreements across Asia, Europe, and Latin America.
Likewise, political crises can trigger sudden downgrades—as travel bans and suspensions ripple through reciprocal programs.
For instance, Russia’s passport lost easy travel access to 15-20 countries since 2021 since the Ukraine war.</p>
</div>
<div id="welcoming-countries" class="section level2">
<h2>Welcoming Countries</h2>
<p>“Vasudhaiva Kutumbakam” is a <a href="https://en.wikipedia.org/wiki/Vasudhaiva_Kutumbakam">Sanskrit</a> phrase meaning “the whole world is our home”.
India, during its G20 presidency in 2022-23, used this as the motto for the G20 events.
However, it is obvious that some families are more welcoming than others.
If you have ever have applied for a United States visa from a developing country, you’d probably know what I’m talking about.
When my parents applied for their U.S. tourist visa, it took them 1.5 years just to get an interview appointment at the consulate.</p>
<p>So, what countries are most welcoming?
Asian countries are leading — Vietnam, Thailand and more.</p>
<div id="htmlwidget-2" style="width:100%;height:480px;" class="widgetframe html-widget"></div>
<script type="application/json" data-for="htmlwidget-2">{"x":{"url":"index_files/figure-html//widgets/widget_unnamed-chunk-2.html","options":{"xdomain":"*","allowfullscreen":false,"lazyload":false}},"evals":[],"jsHooks":[]}</script>
<p>When we render the <em>Welcoming Score</em> choropleth, one fact jumps out: it isn’t the world’s richest or most powerful states that lead on hospitality, but a cluster of sub-Saharan African nations.
In 2025, <strong>nine</strong> countries admit <strong>every one of the 198</strong> foreign passports visa-free or with visa-on-arrival!
That list reads like a tour of West and Central Africa’s open-door pioneers: Togo, Equatorial Guinea, Côte d’Ivoire, Guinea, Comoros, Djibouti, Guinea-Bissau, Burundi and Nigeria.
By eliminating practically all entry barriers, these governments have signaled that attracting visitors—whether tourists, investors or members of their diaspora—is a strategic priority.</p>
<p>Just below that “198-club” sits a second tier of African and a handful of island nations.
Countries like Rwanda, Mozambique and Seychelles (each scoring 197–196) plus the Maldives and Samoa have likewise streamlined e-visa platforms or visa-on-arrival schemes to broaden access.</p>
<p>Contrast this with many Western and East Asian states, where high GDP per capita (PPP) and strong passports for their citizens don’t always translate into openness for inbound travelers.
Europe’s Schengen Area and North America maintain tighter controls—often justified by security or immigration-management concerns—so their Welcoming Scores rarely breach the top 20.</p>
<p>In short, our map paints a clear picture: the most welcoming places in the world aren’t necessarily the wealthiest, but those that have made a conscious policy choice to throw their doors wide open.
Africa and East Asia leads by example, proving that visa-free access can be a powerful catalyst for growth, goodwill and global connection.</p>
</div>
<div id="does-wealth-predict-passport-power" class="section level2">
<h2>Does Wealth Predict Passport Power?</h2>
<p>To test whether richer countries really do have stronger passports, I ran two simple regressions of our Travel Easy and Welcoming scores on GDP per capita.</p>
<p>You can draw two clear, contrasting lessons from these regressions.</p>
<p>First, GDP per capita is a strong predictor of your Travel Easy Index: the coefficient of 0.00111 means that for every extra $1,000 in GDP per capita, a country can expect roughly one more visa-free or visa-on-arrival destination.
The relationship is highly significant (<span class="math inline">\(p&lt;2 \times 10^{-16}\)</span>) and explains about 52 percent of the variation in passport power (<span class="math inline">\(R^2≈0.52\)</span>).
In plain English: wealthier countries tend to negotiate more visa waivers, but GDP only tells half the story—other factors like diplomatic ties, security partnerships and regional blocs fill in the rest.</p>
<p>By contrast, GDP per capita barely explains Welcoming Score.
The slope is slightly negative (–0.000393), suggesting richer nations admit marginally fewer visitors without advance visas, but the effect is very small and only accounts for about 4 percent of the variation (<span class="math inline">\(R^2≈0.04\)</span>).
In other words, economic wealth doesn’t much predict how open a country is to incoming travelers.
Some lower-income countries have adopted extremely liberal entry policies, and many wealthy ones maintain tighter controls.</p>
<table>
<thead>
<tr class="header">
<th align="left">Model</th>
<th align="left">Term</th>
<th align="right">Estimate</th>
<th align="right">Std. Error</th>
<th align="right">p-value</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="left">Travel Easy</td>
<td align="left">(Intercept)</td>
<td align="right">81.5109</td>
<td align="right">3.1924</td>
<td align="right">0.000</td>
</tr>
<tr class="even">
<td align="left">Travel Easy</td>
<td align="left">GDP_Per_Capita</td>
<td align="right">0.0011</td>
<td align="right">0.0001</td>
<td align="right">0.000</td>
</tr>
<tr class="odd">
<td align="left">Welcoming Score</td>
<td align="left">(Intercept)</td>
<td align="right">126.2201</td>
<td align="right">5.6594</td>
<td align="right">0.000</td>
</tr>
<tr class="even">
<td align="left">Welcoming Score</td>
<td align="left">GDP_Per_Capita</td>
<td align="right">-0.0004</td>
<td align="right">0.0001</td>
<td align="right">0.006</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr class="header">
<th align="right">R²</th>
<th align="left">Model</th>
</tr>
</thead>
<tbody>
<tr class="odd">
<td align="right">0.52</td>
<td align="left">Travel Easy</td>
</tr>
<tr class="even">
<td align="right">0.04</td>
<td align="left">Welcoming Score</td>
</tr>
</tbody>
</table>
</div>
<div id="conclusion" class="section level2">
<h2>Conclusion</h2>
<p>In a world where a simple booklet can open—or close—borders, passports embody far more than identity: they trace the arc of diplomacy, economic strategy and mutual trust.
From the ornate UV-inks of New Zealand’s pages to the visa-free corridors enjoyed by Emiratis, we see how history and policy converge on paper.
At the same time, the surprising generosity of many African and Asian states reminds us that openness is often a deliberate choice, not merely a by-product of wealth.
As you plan your next trip, remember that behind every stamp lies a story of negotiation, goodwill and the promise of shared humanity.
I definitely will.</p>
</div>
<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
<li id="fn1"><p>Malaysia rolled out the world’s first biometric “e-passport” in 1998, ahead of ICAO’s 2004 mandate for chip-based travel documents.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
<li id="fn2"><p>Complete data is available on my Github at <a href="https://github.com/harshvardhaniimi/blog/blob/main/content/posts/2025-06-24-passports/passport_plot_data.csv" class="uri">https://github.com/harshvardhaniimi/blog/blob/main/content/posts/2025-06-24-passports/passport_plot_data.csv</a><a href="#fnref2" class="footnote-back">↩︎</a></p></li>
<li id="fn3"><p>Everywhere in this post, I’ve used GDP per capita with purchasing power parity (PPP), sourced from the World Bank for the year 2023 in current international dollars.
See <a href="https://data.worldbank.org/indicator/NY.GDP.PCAP.PP.CD" class="uri">https://data.worldbank.org/indicator/NY.GDP.PCAP.PP.CD</a><a href="#fnref3" class="footnote-back">↩︎</a></p></li>
<li id="fn4"><p>Curiously, those who lost the World War 2 gained a lot subsequently.<a href="#fnref4" class="footnote-back">↩︎</a></p></li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>From Data to Decisions: The Story Behind My PhD</title>
      <link>https://harsh17.in/phd/</link>
      <pubDate>Tue, 22 Apr 2025 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/phd/</guid>
      <description>&lt;p&gt;On March 31, 2025, I successfully defended my dissertation: “From Data to Decisions: Enterprise Demand Forecasting with Machine Learning.” My work is rooted in generalizable research at the intersection of machine learning, operations research, and organizational decision-making, grounded through a real-world implementation at HP Inc.&lt;/p&gt;
&lt;p&gt;Final accepted draft of my dissertation is available &lt;a href=&#34;https://www.harsh17.in/docs/2025_04_10_Doctoral_Dissertation.pdf&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;div id=&#34;what-is-my-dissertation-about&#34; class=&#34;section level1&#34;&gt;
&lt;h1&gt;What is my dissertation about?&lt;/h1&gt;
&lt;p&gt;Demand forecasting has a rich intellectual and practical history.
Ancient texts like the Indian &lt;em&gt;Arthashastra&lt;/em&gt; (350 BCE) and Chinese Han Dynasty archives both emphasized blending qualitative judgment with quantitative grain records to estimate demand.
Fast forward to the industrial age, companies like Ford and Chrysler pioneered judgmental forecasting to support assembly lines.
In the 1960s, statisticians like Box, Jenkins, Holt, and Winters developed foundational time-series methods like ARIMA and exponential smoothing, which still serve as industry baselines.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>On March 31, 2025, I successfully defended my dissertation: “From Data to Decisions: Enterprise Demand Forecasting with Machine Learning.” My work is rooted in generalizable research at the intersection of machine learning, operations research, and organizational decision-making, grounded through a real-world implementation at HP Inc.</p>
<p>Final accepted draft of my dissertation is available <a href="https://www.harsh17.in/docs/2025_04_10_Doctoral_Dissertation.pdf">here</a>.</p>
<div id="what-is-my-dissertation-about" class="section level1">
<h1>What is my dissertation about?</h1>
<p>Demand forecasting has a rich intellectual and practical history.
Ancient texts like the Indian <em>Arthashastra</em> (350 BCE) and Chinese Han Dynasty archives both emphasized blending qualitative judgment with quantitative grain records to estimate demand.
Fast forward to the industrial age, companies like Ford and Chrysler pioneered judgmental forecasting to support assembly lines.
In the 1960s, statisticians like Box, Jenkins, Holt, and Winters developed foundational time-series methods like ARIMA and exponential smoothing, which still serve as industry baselines.</p>
<p>Yet these classical models have inherent limitations: they treat each time series in isolation, rely solely on historical demand, and often assume simplistic linear patterns.
As demand environments became more volatile and complex—spanning thousands of SKUs across global markets—the need arose for scalable, data-driven approaches.</p>
<p>Machine learning (ML) entered as a powerful alternative.
ML models can incorporate high-dimensional data, learn nonlinear patterns, and integrate external signals like marketing promotions or macroeconomic conditions.
Most importantly, they enable a shift from siloed, local models to global forecasting systems that learn across products and markets.</p>
<div id="from-concept-to-practice-generalizing-the-framework" class="section level2">
<h2>From Concept to Practice: Generalizing the Framework</h2>
<p>My dissertation develops and validates a comprehensive ML-based forecasting framework, centered on scalability, interpretability, and organizational integration.
Theoretically, it proposes a hybrid forecasting system combining tree-based models (LightGBM), rich feature engineering, and human-in-the-loop design.
Empirically, it demonstrates how this architecture improves forecast accuracy and operational responsiveness in enterprise settings.</p>
<p>Rather than treating the HP implementation as the core, it serves as a rigorous testbed for generalizable insights.
For example, the use of LightGBM wasn’t simply because it worked well at HP—it was chosen based on comparative performance in the M5 forecasting competition and its effectiveness on tabular, structured enterprise data.
The use of global modeling across SKUs and countries reflects broader trends in ML demand forecasting research and is designed to be transferable to other firms.</p>
</div>
<div id="case-application-at-hp-inc." class="section level2">
<h2>Case Application at HP Inc.</h2>
<p>HP sells over 18,000 print SKUs in 170+ countries.
Forecasting demand across this matrix is essential for production scheduling, R&amp;D budgeting, and supply chain planning.
Historically, HP used two methods: statistical models like ARIMA for baseline estimates, and consensus forecasts refined by domain experts.
In 2019, the Strategic Planning and Modelling (SPaM) team initiated a transition toward ML-based forecasting, which I helped design and implement during a 16-month internship.</p>
<p>We built an end-to-end pipeline using LightGBM models trained on historical sales, inventory levels, product life cycle indicators, and regional factors.
The system was built to generalize across product hierarchies and geographies, while remaining interpretable to planners.
Forecasts were served through interactive dashboards, enabling human planners to review, adjust, or override them based on local knowledge—thus creating a robust human-in-the-loop architecture.</p>
</div>
<div id="mlops-for-forecasting-at-scale" class="section level2">
<h2>MLOps for Forecasting at Scale</h2>
<p>A key research contribution lies in operationalizing ML systems.
Our MLOps framework emphasized reproducibility, automation, and governance.
We used parameterized notebooks, MLFlow tracking, and structured version control to ensure that model training, evaluation, and deployment were seamless and auditable.
Model retraining pipelines ensured continuous learning from new data while monitoring systems flagged drifts in prediction quality.</p>
<p>This MLOps architecture isn’t unique to HP; rather, it offers a replicable playbook for any enterprise seeking to productionize ML-based forecasting.</p>
</div>
<div id="human-machine-a-symbiotic-system" class="section level2">
<h2>Human + Machine: A Symbiotic System</h2>
<p>One of the most important lessons from this work is that automation does not eliminate the need for human expertise.
On the contrary, machine learning is most effective when paired with human intuition and domain knowledge.
The implemented forecasting system allows planners to adjust forecasts using soft signals—like expected promotions or supply chain disruptions—and provided transparent explanations to encourage trust.</p>
<p>Over a three year period, this hybrid approach improved forecast accuracy by 34% and reduced inventory holdings by 28%, all while maintaining service levels.
These numbers are impressive, but more importantly, they validate the core research insight: ML and human forecasting are not mutually exclusive—they are complementary.</p>
</div>
<div id="to-conclude" class="section level2">
<h2>To Conclude</h2>
<p>My research bridges the gap between algorithm design and real-world decision-making.
While the implementation at HP Inc. serves as a case study, the core ideas—scalable ML systems, human-in-the-loop forecasting, and robust MLOps infrastructure—are meant to inform a broader audience of researchers and practitioners.
The lessons extend beyond any one company, pointing toward a future where intelligent systems amplify human decision-making at scale.</p>
</div>
<div id="related-publications" class="section level2">
<h2>Related Publications</h2>
<p>This research has been accepted for publication in the <a href="https://pubsonline.informs.org/journal/ijaa"><em>INFORMS Journal of Applied Analytics</em></a>, where we present a detailed account of the modeling framework and enterprise deployment.
A preprint is available <a href="https://www.harsh17.in/docs/Print_Demand_Forecasting.pdf">here</a>.</p>
<p>We also presented this work at the <a href="https://forecasters.org/events/foresight-practitioner-conference/"><em>Foresight Practitioners Conference 2025</em></a>, where it was recognized as a Top-5 finalist globally for the <a href="https://forecasters.org/2025-iif-practice-competition/">IIF Forecasting Practice Competition</a>.
An executive summary tailored for industry audiences is forthcoming in <a href="https://forecasters.org/foresight/"><em>Foresight: The International Journal of Applied Forecasting</em></a>.</p>
</div>
</div>
<div id="behind-the-research-people-who-made-it-possible" class="section level1">
<h1>Behind the Research: People Who Made It Possible</h1>
<p>This dissertation—and everything it represents—would not have been possible without the kindness, intellect, and support of people across continents and stages of life.</p>
<p>First and foremost, my advisor, Dr. Chuanren (Charles) Liu, has been the intellectual anchor of this journey.
His rare combination of sharp research instincts, generous time, and thoughtful critique shaped not only this dissertation but my growth as an independent researcher.
He gave me remarkable freedom in defining my research path—a freedom I now recognize, in hindsight, as a true gift.
I once discussed with Prof. Bobby how some advisors assign their own topics, making things easier in the short term but stifling long-term independence.
That conversation only deepened my appreciation for Dr. Liu’s mentorship.
I owe him more than I can ever express.</p>
<p>My internship and continued collaboration with HP have been central to this work.
It wasn’t just a corporate stint—it became a living laboratory for my ideas.
I’m grateful to Cara Curtland, Adam Ghozeil, and Jerry Hwang for their generous support in translating research into real-world impact.
What made it special was HP’s willingness to treat this not as a mere “intern project,” but as a serious global initiative worthy of scale and rigor.
That trust means a lot.</p>
<p>Dr. Sean Willems’ early mentorship gave me the mental scaffolding I still build on.
His research remains a North Star, especially when I’ve felt adrift.
His advice—often tucked inside thoughtful, incisive emails—has shaped my thinking in more ways than I can count.
I’ve saved many of those emails, and I revisit them often.</p>
<p>I’ve been fortunate to build meaningful relationships with many professors at UT.
Dr. Michael Galbreth, our department head, has a rare “yes-first” leadership style.
His answer was always, “Let’s see how,” even when we asked for something as rare as a grad student pay raise.
Dr. Wenjun Zhou has been a consistent source of encouragement—I hope we can collaborate on research in the future.
Dr. Robert Mee offered guidance at critical junctures.
Dr. Emre Demirkaya made “Statistical Learning” one of the most difficult—and rewarding—courses of my PhD, and also became a great friend.
Terry Higgins and Charlie Cweik helped shape me into a better teacher, for which I’m truly thankful.</p>
<p>This path into research wouldn’t have begun without Dr. Pritam Ranjan, who nudged me early on at IIM Indore through summer internships and research papers.
His belief in me during those formative years set everything else in motion.</p>
<p>Life in Knoxville would’ve felt a lot lonelier without the people who brought warmth and light.
Nikhil Narayane has been a constant companion through shared road trips and memories.
Yu Jiang has been a close and trusted friend, introducing me to Chinese culture (and hot pot!)—and I look forward to visiting China with her one day.
Greeshma Geetha has a wonderful way of bursting my thought bubbles and grounding me in nature and environmental consciousness.
Thanks to her, I notice the world more.</p>
<p>Pablo and I have had countless late-night debates on technology, programming languages, and the very fabric of the internet.
To paraphrase Godwin’s Law—if most online conversations eventually devolve into references to Hitler, ours always loop back to the philosophy of tech.
Samudra Dasgupta (and his dog Henley) brought color and chaos in the best way.
Despite his quirks, Samudra is a kindred spirit, driven by the same idealistic goal—to make the world better than we found it.</p>
<p>A surprise gift of my time at HP was meeting Dea Bardhoshi.
Her curiosity and presence have sparked many thoughtful conversations.
Our weekly serendipity calls have helped keep my own curiosity alive.</p>
<p>And then there’s Meenal.
My favorite person.
Food for both my mind and heart.
Her presence is an anchor, a mirror, and a source of joy.
I find myself yearning for every next meeting with her.</p>
<p>Finally, to my parents—Rajendra Prasad and Chandra Lata Barnwal—my brother Shashank, and my sister Shalini: your unwavering love and patience have sustained me in more ways than you know.
Everything I do is built upon your sacrifices and support.
I carry you with me, always.</p>
</div>
<div id="phd-in-pictures" class="section level1">
<h1>PhD in Pictures</h1>
<p>Assorted pictures from the last four years.</p>
<p><img src="images/DSCF2038.png" /><img src="images/DSCF1989.png" /><img src="images/DSCF1974.png" /><img src="images/DSCF1861.png" /><img src="images/DSCF1776.png" /><img src="images/50407780_01401_0130_XLarge.png" /><img src="images/50407780_00201_0134_XLarge.png" /></p>
<p><img src="images/IMG_7979.webp" /></p>
<p><img src="images/IMG_8005.webp" /></p>
<p><img src="images/5819165760540440849.webp" /></p>
<p><img src="images/5038a1b4-17fe-4a24-a2b5-49e847522f69.webp" /></p>
<p><img src="images/982AA092-CDC9-4871-B3AB-25E337BCA7AC.webp" /></p>
<p><img src="images/IMG_9462.webp" /></p>
<p><img src="images/IMG_9581.webp" /></p>
<p><img src="images/IMG_9599.webp" /></p>
<p><img src="images/IMG_9791.webp" /></p>
<p><img src="images/IMG_5636.webp" /></p>
<p><img src="images/IMG_4083.webp" /></p>
<p><img src="images/IMG_3772.webp" /></p>
<p><img src="images/IMG_3710.webp" /></p>
<p><img src="images/IMG_3616.webp" /></p>
<p><img src="images/IMG_3600.webp" /></p>
<p><img src="images/IMG_3512.webp" /></p>
<p><img src="images/IMG_3506.webp" /></p>
<p><img src="images/IMG_1094.webp" /></p>
<p><img src="images/IMG_0980.webp" /></p>
<p><img src="images/IMG_0881.webp" /></p>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>AI Manifesto</title>
      <link>https://harsh17.in/ai-manifesto/</link>
      <pubDate>Tue, 18 Feb 2025 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/ai-manifesto/</guid>
      <description>&lt;p&gt;I’ve used a lot of AI in the last few years.
I’ve also written a lot about it previously.
Here are some of my previous posts around AI.&lt;/p&gt;
&lt;ol style=&#34;list-style-type: decimal&#34;&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.harsh17.in/ai-improvements/&#34;&gt;Improvements in Artificial
Intelligence&lt;/a&gt;, December 9,
2021&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.harsh17.in/ai2/&#34;&gt;I wonder how this AI thing is going to shape
up&lt;/a&gt;, March 3, 2023&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.harsh17.in/gpt/&#34;&gt;How does GPT work? Understanding Generative AI
Models&lt;/a&gt;, April 26, 2023&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.harsh17.in/four-ai-chatbots-other-than-chatgpt/&#34;&gt;Four AI Chatbots other than
ChatGPT&lt;/a&gt;,
November 27, 2023&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.harsh17.in/openai-gpts/&#34;&gt;OpenAI’s GPT is a terrific
idea&lt;/a&gt;, February 8, 2024&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;When ChatGPT (GPT-3.5) took the world by storm, I was actually offline in a Vipassana course.
I only got to know about it after a while but it fascinated me that it could write a poem, albeit poorly.
Now, I couldn’t make the joke “oh, it can’t write a poem anyway”. Creative jobs were up for grabs now.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>I’ve used a lot of AI in the last few years.
I’ve also written a lot about it previously.
Here are some of my previous posts around AI.</p>
<ol style="list-style-type: decimal">
<li><a href="https://blog.harsh17.in/ai-improvements/">Improvements in Artificial
Intelligence</a>, December 9,
2021</li>
<li><a href="https://blog.harsh17.in/ai2/">I wonder how this AI thing is going to shape
up</a>, March 3, 2023</li>
<li><a href="https://blog.harsh17.in/gpt/">How does GPT work? Understanding Generative AI
Models</a>, April 26, 2023</li>
<li><a href="https://blog.harsh17.in/four-ai-chatbots-other-than-chatgpt/">Four AI Chatbots other than
ChatGPT</a>,
November 27, 2023</li>
<li><a href="https://blog.harsh17.in/openai-gpts/">OpenAI’s GPT is a terrific
idea</a>, February 8, 2024</li>
</ol>
<p>When ChatGPT (GPT-3.5) took the world by storm, I was actually offline in a Vipassana course.
I only got to know about it after a while but it fascinated me that it could write a poem, albeit poorly.
Now, I couldn’t make the joke “oh, it can’t write a poem anyway”. Creative jobs were up for grabs now.</p>
<p>However, the more I think of it, I find AI to be complementing my intelligence rather than replacing it.
My own curiosities that required a lot of effort to answer, now can be answered quickly and reliably (thanks Perplexity!).
Obscure technical questions around topics that no one except me cares about (like learning Kaithee script and Hindustani language) are so much better with Claude and ChatGPT.
Often I find myself checking for updated information on Reddit Answers or Grok’s tweet search. Image generation by Grok is too good.
Coding (especially debugging) is so much better today that without these LLMs.
I have created projects where I got extensive help from LLMs like <a href="https://www.harsh17.in/spotify-randomizer/">Spotify Randomizer</a> and <a href="https://www.harsh17.in/kindle/">jailbreaking my Kindle</a>.</p>
<p>Some of the newer writings on this website may have been “proofread” with the help of an AI.
So far, I haven’t found any AI that’s able to write with my level of English or Hindustani.
But, it’s amazing for correcting spelling mistakes and reorganizing text for better flow. I use it for that.
Which tool specifically, varies quite a bit over time and space.</p>
<p>But like all authors in their books say, “all mistakes are mine alone”.
If I say something to you because I had a faulty source, my explanation that it was faulty source isn’t enough.
Thus, if I present it to you, it has my word of confirmation and verification.
I might still make an honest mistake and in that case, PLEASE correct me.</p>
<p>I think it goes back to what <a href="https://www.douglasadams.com/dna/19990901-00-a.html">Douglas
Adams</a> wrote in
1999 about the internet:</p>
<blockquote>
<p>So people complain that there’s a lot of rubbish online,… or that
you can’t necessarily trust what you read on the web. Imagine trying
to apply any of those criticisms to what you hear on the telephone. Of
course you can’t ‘trust’ what people tell you on the web anymore than
you can ‘trust’ what people tell you on megaphones, postcards or in
restaurants. <strong>Working out the social politics of who you can trust
and why is, quite literally, what a very large part of our brain has
evolved to do.</strong> For some batty reason we turn off this natural
scepticism when we see things in any medium which require a lot of
work or resources to work in, or in which we can’t easily answer back
– like newspapers, television or granite. Hence ‘carved in stone.’
What should concern us is not that we can’t take what we read on the
internet on trust – of course you can’t, it’s just people talking –
but that we ever got into the dangerous habit of believing what we
read in the newspapers or saw on the TV – a mistake that no one who
has met an actual journalist would ever make. One of the most
important things you learn from the internet is that there is no
‘them’ out there. It’s just an awful lot of ‘us’.</p>
</blockquote>
<p>Douglas Adams’ prescient observations about internet skepticism parallel our current relationship with AI in striking ways.
Just as he noted that we shouldn’t inherently trust internet content simply because it exists in a medium that requires significant resources to operate, we shouldn’t automatically trust (or distrust) AI outputs merely because they come from sophisticated models trained on vast datasets.
Just as Adams pointed out there is no “them” on the internet, just lots of “us,” we should remember that AI systems are ultimately tools created by and for humans, reflecting our collective knowledge, biases, and limitations.</p>
<p>What you can trust or not trust will be the job of institutions, like <a href="https://www.youtube.com/watch?v=H9vEfI8aWTE">Yuval Noah Harrari</a> says in the interview with Kara Swisher. Thus, trust the institutions.
To that effect, I have also created a <a href="https://textsage.netlify.app/">Chrome extension</a> that you can select any text and then ask Perplexity or Grok to factcheck it for you (for free).
By making fact-checking more accessible, we’re not just helping individuals make better decisions; we’re contributing to a broader ecosystem of trust and verification in the AI age.</p>
<p>Another side note on AI text: These language models were trained on all<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a> human text and many people consider this an evil act by itself.
I’m not so sure of my position. In one way, everything that humans have done so far was to advance the humanity even further.
No one gave Aristotle or Kalidasa money for translating or copying their works in many languages.
Today, the problem has arisen primarily due to the speed at which this transmission has happened.
Writings of yesterday might end up in training dataset today. But philosophically, nothing has changed.</p>
<p>Ancient authors often didn’t seek personal attribution or compensation.
Rather, they were supported by patronage from the royal courts — like media agencies pay journalists today.
Like Patanjali’s Yoga Sutras advanced our knowledge of medicine and surgery without any compensation to them, I am certain these systems being created will result in even better creative works, which will fuel next systems supercharging
creativity.</p>
<p>Thus, our works should be considered an homage to the future civilizations rather than mere intellectual property to be guarded.</p>
<p>I know it is easy for me to be philosophical; my bread and butter isn’t writing.
Thus, I expect a lot of people, especially independent journalists and writers, to completely disagree with me.</p>
<p>But, this is my AI manifesto for this website.
For this website (and for this website alone), I give OpenAI, Anthropic, Google, DeepSeek and everyone else, who wants to use my work to create something new, express permission to use them however they see fit.
I believe their creation will help the future humanity and thus I will have fulfilled my duty to make the world a better place.</p>
<hr />
<p>This was inspired from <a href="https://www.bydamo.la/p/ai-manifesto">Damola Morenikeji’s AI Manifesto</a>.
I’ve also requested this to be added to the list of <a href="https://slashai.page/">AI manifesto</a>.</p>
<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
<li id="fn1"><p>Not all literally, but figuratively. We are <a href="https://www.nature.com/articles/d41586-024-03990-2">running
out</a> of scaling
training data and now data curation — selecting right set of data
to fine tune the model — is more rewarding that just dumping more
data.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>Recipe: Making a Homestyle Indian Curry</title>
      <link>https://harsh17.in/making-an-indian-curry/</link>
      <pubDate>Sat, 25 Jan 2025 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/making-an-indian-curry/</guid>
      <description>&lt;p&gt;Some friends of mine asked me how to make homestyle Indian curries. We
Indians are good at it; we make many types of Sabzi सब्ज़ी that
non-Indians simply call “curry”. Sabzi literally means vegetables.
Today, I’m excited to share a versatile curry recipe that’s perfect for
anyone looking to explore Indian cooking.&lt;/p&gt;
&lt;p&gt;The recipe is a template or a base recipe for homemade Sabzi. You can
use it with any vegetable of your preference or even Chicken (but
cooking Chicken will take longer, so remember to adjust for that).&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Some friends of mine asked me how to make homestyle Indian curries. We
Indians are good at it; we make many types of Sabzi सब्ज़ी that
non-Indians simply call “curry”. Sabzi literally means vegetables.
Today, I’m excited to share a versatile curry recipe that’s perfect for
anyone looking to explore Indian cooking.</p>
<p>The recipe is a template or a base recipe for homemade Sabzi. You can
use it with any vegetable of your preference or even Chicken (but
cooking Chicken will take longer, so remember to adjust for that).</p>
<p>Also know that this is a home cooked curry, not something you would find
in an Indian restaurants. Thus, please don’t compare it with what you
see in Indian menu. Parts of it I learnt from watching my mother cook,
and rest from six years of cooking.</p>
<div id="the-heart-of-good-sabzi" class="section level2">
<h2>The Heart of Good Sabzi</h2>
<p>The beauty of Indian curry lies in its foundation — an aromatic base
for vegetables to be fried into, and then turned into the curry. The
vegetable (Sabzi) could be cauliflower (Gobi) resulting in Gobi Sabzi;
eggplant/brinjal (Baigan Sabzi); mushrooms (Mushroom Sabzi);
okra/ladyfingers (Bhindi Sabzi); or even a mixture of them (Mix Sabzi or
Mix Veg).</p>
<p>Let’s start with what you’ll need. Don’t worry if the ingredient list
seems long – most of these items can be found in your local grocery
store, and the rest are worth a special trip to an Indian market. Trust
me, your taste buds will thank you!</p>
<div id="your-shopping-list" class="section level3">
<h3>Your Shopping List</h3>
<p>For the aromatic base, gather:</p>
<ol style="list-style-type: decimal">
<li>2-3 tablespoons of your preferred cooking oil<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a></li>
<li>2 teaspoons each of cumin and mustard seeds</li>
<li>One large onion, finely chopped</li>
<li>4-5 cloves of garlic and half-thumb size of ginger, chopped (or a
tablespoon of ginger garlic paste)</li>
<li>Two medium tomatoes</li>
<li>Two medium potatoes</li>
<li>Fresh green chilies (adjust based on your spice tolerance, 1 for
low, 3-5 for high)</li>
<li>Fresh cilantro for that final touch</li>
<li>Salt to taste</li>
</ol>
<p><strong>Masala (Spices)</strong></p>
<ol style="list-style-type: decimal">
<li>Turmeric (Haldi): Gives curry its signature golden color and has
anti-inflammatory properties</li>
<li>Garam Masala: A warming blend of ground spices, essential for most
Indian dishes</li>
<li>Red Chili Powder: Adds heat and color (start with less if you’re
sensitive to spice)</li>
</ol>
<p>Additionally, you should get some spice mix. Traditional homes don’t use
them but they’re necessary unless you know what proportion of ten
different spices to use every single time. MDH or Everest are good
brands for spice mix (found in Indian stores).</p>
<ul>
<li><strong>MDH/Everest Sabzi Masala</strong>: Perfect for vegetable dishes</li>
<li><strong>Kitchen King by MDH:</strong> A versatile blend that enhances any curry’s
flavor</li>
</ul>
<p>Don’t feel restricted by the labels—you can use Biryani masala in
curry; off-label usage is okay. You can mix different masalas to create
your own unique flavor profiles.</p>
<p><strong>Recommended Combination</strong></p>
<ul>
<li>For basic curry: Turmeric + Garam Masala +Sabzi Masala</li>
<li>For extra flavor: Add Kitchen King to the basic combination</li>
<li>For heat lovers: Add extra red chili powder any combination</li>
</ul>
<p>Remember: Start with small amounts of masala and add more to taste - you
can always add, but you can’t subtract!</p>
</div>
</div>
<div id="choose-your-main-vegetables" class="section level2">
<h2>Choose Your Main Vegetable(s)</h2>
<p>You can use zero, one or multiple vegetables. Each vegetable has its own
taste. Using no vegetable would be Tamatar-Aloo Sabzi or (Tomato-Potato
Curry).</p>
<ul>
<li>Cauliflower: 1 medium head, cut into florets</li>
<li>Eggplant: 2 medium, cubed</li>
<li>Mixed vegetables: 2-3 cups of your choice</li>
<li>Mushrooms: 8-10 oz, quartered</li>
<li>Bell peppers: 1-2, chopped</li>
</ul>
</div>
<div id="instructions" class="section level2">
<h2>Instructions</h2>
<div id="base-curry-preparation" class="section level3">
<h3>Base Curry Preparation</h3>
<ol style="list-style-type: decimal">
<li>Heat oil in a large pan over medium heat.</li>
<li>Once hot, add cumin and mustard seeds. Wait for them to sputter
(about 30 seconds).</li>
<li>Add chopped onions. Cook until translucent (5-7 minutes).</li>
<li>Add ginger and garlic. Sauté for 2 minutes.</li>
<li>Add turmeric powder and stir for 30 seconds. Important: Add turmeric
before water as it needs to cook in oil (in any cooking).</li>
<li>Add garam masala and other dry spices. Stir for 1 minute.</li>
<li>Add tomatoes, potatoes and chopped green chillies. Add salt. Cook
until tomatoes soften (5 minutes).</li>
<li>Add your chosen vegetable(s).</li>
</ol>
</div>
<div id="cooking-process" class="section level3">
<h3>Cooking Process</h3>
<ol start="9" style="list-style-type: decimal">
<li>Monitor moisture levels:</li>
</ol>
<!-- -->
<ol style="list-style-type: lower-alpha">
<li>If too dry: Add small amounts of water (1/4 cup at a time)</li>
<li>If too wet: Cook uncovered until excess water evaporates</li>
</ol>
<!-- -->
<ol start="10" style="list-style-type: decimal">
<li>Alternate between covered and uncovered cooking:</li>
</ol>
<!-- -->
<ol style="list-style-type: lower-alpha">
<li>Cover to help vegetables release water and steam</li>
<li>Uncover to reduce liquid and intensify flavors</li>
</ol>
<!-- -->
<ol start="11" style="list-style-type: decimal">
<li>Cook until vegetables reach desired tenderness (15-20 minutes).</li>
<li>Garnish with fresh cilantro.</li>
</ol>
</div>
</div>
<div id="pro-tips" class="section level2">
<h2>Pro-Tips</h2>
<ol style="list-style-type: decimal">
<li><p>Spice Adjustment:</p>
<ul>
<li>Start with less spice; you can always add more. If you want to
add more spices after adding water to the curry, you can do that
in the Tadka (described below) or heating the spices first in
some oil.</li>
<li>Taste frequently and adjust seasonings. You will get better with
time.</li>
</ul></li>
<li><p>Tadka (Final Flavor Boost):</p>
<ol style="list-style-type: decimal">
<li><p>Heat 2 tablespoons ghee or oil in a small pan</p></li>
<li><p>Add 2-3 dried red chilies</p></li>
<li><p>Add 1 teaspoon cumin seeds</p></li>
<li><p>Add 1/2 teaspoon red chili powder</p></li>
<li><p>When spices sputter, pour over finished curry</p></li>
</ol></li>
</ol>
</div>
<div id="consistency-in-curry-thickness" class="section level2">
<h2>Consistency in Curry Thickness</h2>
<p>Different people have different preferences in the dryness of their
curry. Some like dry curries (good for eating with bread) while others
like watery curry (good with rice).</p>
<ul>
<li>For dry curry: Use minimal water and cook uncovered</li>
<li>For gravy: Add more water and simmer covered</li>
<li>Ideal consistency: Vegetables should be well-coated with thick gravy</li>
</ul>
</div>
<div id="final-remarks-and-troubleshooting-tips" class="section level2">
<h2>Final Remarks and Troubleshooting Tips</h2>
<p>As long as you follow the basic recipe, there is very less chance of
getting something wrong. But remember, it is okay to make mistakes and
its likely you will make mistakes. But those mistakes will teach you how
to cook better.</p>
<p>The most important ingredient in cooking is time. Remember not to hurry
or be too late. Some people hurry up in adding water before the veggies
are well fried in spices. Some delay in stirring and the vegetable burns
and sticks to the bottom. In that case, add some water and then stir
instead of stirring dry.</p>
</div>
<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
<li id="fn1"><p>Different cooking oil have slightly different taste. If you are
unsure, choose refined vegetable oil. Don’t use seseme seed oil.
Mustard oil will have a strong smell. You can use butter or ghee but
you may need a lot; I’ll recommend pairing up with some oil if you
use butter or ghee.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
</ol>
</div>
]]></content:encoded>
    </item>
    <item>
      <title>Happiness: What makes us happy?</title>
      <link>https://harsh17.in/happiness/</link>
      <pubDate>Wed, 11 Dec 2024 00:00:00 +0000</pubDate>
      <guid>https://harsh17.in/happiness/</guid>
      <description>&lt;div id=&#34;try-the-quiz&#34; class=&#34;section level2&#34;&gt;
&lt;h2&gt;Try the quiz&lt;/h2&gt;
&lt;p&gt;If you want to test your knowledge about happiness around the world, try this quiz I made based on &lt;a href=&#34;https://worldhappiness.report/&#34;&gt;World Happiness Report 2024&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Link to Quiz (10 questions, 5 mins activity): &lt;a href=&#34;https://happiness-quiz.netlify.app/&#34; class=&#34;uri&#34;&gt;https://happiness-quiz.netlify.app/&lt;/a&gt;&lt;/p&gt;
&lt;hr /&gt;
&lt;/div&gt;
&lt;div id=&#34;what-makes-us-happy&#34; class=&#34;section level2&#34;&gt;
&lt;h2&gt;What makes us happy?&lt;/h2&gt;
&lt;p&gt;One of the early realizations of my life was that happiness depends more on perspectives than circumstances.
A wise person would strive for a perspective that brings them happiness.
So, why isn’t everyone happy?
To a large extent, it’s because we are told what should make us happy: job, marriage, kids, and so on.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<div id="try-the-quiz" class="section level2">
<h2>Try the quiz</h2>
<p>If you want to test your knowledge about happiness around the world, try this quiz I made based on <a href="https://worldhappiness.report/">World Happiness Report 2024</a>.</p>
<p>Link to Quiz (10 questions, 5 mins activity): <a href="https://happiness-quiz.netlify.app/" class="uri">https://happiness-quiz.netlify.app/</a></p>
<hr />
</div>
<div id="what-makes-us-happy" class="section level2">
<h2>What makes us happy?</h2>
<p>One of the early realizations of my life was that happiness depends more on perspectives than circumstances.
A wise person would strive for a perspective that brings them happiness.
So, why isn’t everyone happy?
To a large extent, it’s because we are told what should make us happy: job, marriage, kids, and so on.</p>
<p>But happiness isn’t just a momentary thing!
Like bad experiences, sensations that bring happiness eventually change.
Even if you get a nice job, a better one might make you slightly happier, but only for a short while.</p>
<p>Long-term studies have shown that lottery winners and individuals who lost a limb eventually revert to their previous “normal” levels of happiness.<a href="#fn1" class="footnote-ref" id="fnref1"><sup>1</sup></a>
Even other life events like marriages and child birth hardly affect happiness in the long term.</p>
<p><img src="images/Life-events-on-happiness.png" /></p>
</div>
<div id="money-and-status" class="section level2">
<h2>Money and Status</h2>
<p>Sociocultural factors like status and role in society do have an impact on happiness.
Some claim money brings happiness, and that’s true—but only to a certain extent.
Someone earning $150,000 isn’t necessarily happier than someone earning $100,000.<a href="#fn2" class="footnote-ref" id="fnref2"><sup>2</sup></a></p>
<p>However, biologists insist that if happiness is measured as pleasure, it is determined by the chemical composition of balance of three biochemicals: oxytocin, dopamine, and serotonin.</p>
<p>If that’s the case, should people be drugged with the right amounts of these hormones?
Thankfully, we’re saner than that—for the most part.
Yet, this doesn’t stop us from doing things like putting VR headsets on cows to show them green pastures in farms.
How cruel are we?<a href="#fn3" class="footnote-ref" id="fnref3"><sup>3</sup></a>
Even if humanity achieves utopia, would it be utopia for the world?
Most likely not.</p>
<p>Still, all this discussion revolves around pleasure.
Happiness itself remains a mystery biologically.
Someone with cancer could feel happy, while a perfectly healthy person might not.</p>
</div>
<div id="how-do-we-measure-happiness" class="section level2">
<h2>How do we measure happiness?</h2>
<div id="cantril-ladder" class="section level3">
<h3>Cantril Ladder</h3>
<p>The World Happiness Report ranks countries using the “Cantril Ladder,” developed by Harvard psychologist Dr. Cantril.
Participants imagine a ladder with steps from 0 (worst life) to 10 (best life) and rate where they stand.
In 2024, countries highest on the Cantril Ladder included Finland, Denmark, Iceland, Israel, and the Netherlands, while countries at the bottom included Afghanistan, Lebanon, and Sierra Leone.
Below is the whole world on ‘Cantril Ladder’.</p>
<p><img src="images/cantril.png" /></p>
<p>This measure of happiness correlates heavily with economic well being (as measured by GDP per capita).
There is almost perfectly linear trending line.</p>
<p><img src="images/cantril-by-gdp.png" /></p>
<p>Even within the countries, higher income results in higher score in Cantril’s ladder — all trending upwards — as income increases, self-reported life satisfaction measured through Cantril’s ladder go up.</p>
<p><img src="images/distribution-countries-by-income.png" /></p>
<p>But is comparing yourself from your “best possible self” and your “worst possible self” is really the best measure of happiness?</p>
</div>
<div id="positive-affect" class="section level3">
<h3>Positive Affect</h3>
<p>Another measure from the Gallup Poll asks, “Did you experience happiness yesterday?” (<strong>Positive Affect</strong>).
It combines the answers to three Yes/No questions:</p>
<ol style="list-style-type: decimal">
<li>Did you experience enjoyment during a lot of the day yesterday?</li>
<li>Did you learn or do something interesting yesterday?</li>
<li>Did you smile or laugh a lot yesterday?</li>
</ol>
<p>Here, Latin American countries like Paraguay, Panama, and Guatemala rank highest.
Interestingly, different measures yield different results—Nordic countries often rank high for life satisfaction, while Latin American nations excel in daily happiness.
At the bottom of these scales, Afghanistan has been the lowest globally since 2017.</p>
<p>Even when happiness is measured through “Cantril’s Ladder”, Latin America countries are outliers.</p>
<p><img src="images/continent-version-GDP-pc-vs-Happiness-By-culture.png" /></p>
<p>But I don’t think any of the two questions measure happiness.
Of course, these are two good questions but neither is perfect, because there is no perfect scale for measuring everyone’s happiness.</p>
<hr />
</div>
</div>
<div id="what-makes-me-happy" class="section level2">
<h2>What makes me happy?</h2>
<p>We’ve established that representing happiness, both biologically and in survey design, remains elusive.</p>
<p>Therefore, I hypothesize: perspectives that make us happy require objective, unbiased, patient, and persistent observation.
In other words, it requires observation of reality as it is, not as we would like it to be.
A story from Buddha’s life illustrates this: On a cold winter night, Siddhartha Gautama, dressed in rags, was asked how he seemed so cheerful despite the harsh weather.
Buddha replied that suffering does not come from the cold or the wind but from the mind.
True contentment, he said, doesn’t depend on circumstances but on understanding the nature of the mind.</p>
<p>Essentially, happiness is a mental game.
Humans often misplace their pursuit of happiness by chasing fleeting external stimuli—wealth, power, relationships—believing they bring lasting joy.
Buddha’s teachings take a radically different view.
The core idea of <em>anicca</em> (impermanence) is that everything in life—emotions, sensations, possessions, and even our identities—is transient.
Suffering arises when we cling to these impermanent things.
<a href="https://blog.harsh17.in/vipassana2/">Vipassana</a> (a special way to “see”) was Buddha’s method of teaching people to directly observe their sensations and see reality as it is.</p>
<p>Buddha also taught <em>anapana</em> (observation of respiration) as a “deliciously pleasant way of living.” So, what is happiness, if you ask me?
It is the absence of suffering.
If you’re not happy, you’re likely experiencing suffering.
And what is peace?
Happiness at rest.
Happiness is closer to joy than pleasure.</p>
<p>Death, the fact that our entire life is impermanent, adds reasoning to happiness.
Indeed, as <a href="https://meenalsingh.substack.com/p/what-is-being-alive">Meenal</a> says:</p>
<blockquote>
<p>What does death teach us about being alive?
That it is not permanent, and probably a punishment if it becomes permanent.
The most comfortable life imaginable will become a prison for you once you have to live it forever.
There are no ups without downs.
It just becomes a plain never-ending vast surface.</p>
</blockquote>
<p>Striving to know what makes me happy has always been important to me, maybe because my name Harsh (हर्ष) means happiness in Sanskrit/Hindi.
Harshvardhan (हर्षवर्धन) means one who increases happiness.</p>
<p>Anyway, thanks for coming to my TED Talk.
Maybe you’ll decide to find what makes <em>you</em> happy—or maybe not, but please do.
Because more likely than not, it is different from everyone else in the world.
In any case, I hope we’ve learned a thing or two about happiness.</p>
<hr />
</div>
<div id="some-fun-facts-from-world-happiness-survey" class="section level2">
<h2>Some Fun Facts from World Happiness Survey</h2>
<ol style="list-style-type: decimal">
<li>Younger generation (millennial and Gen Z) is more likely than their predecessors to help others in need, especially post-COVID.</li>
<li>Financial well-being (GDP per capita), Social support, Healthy life-expectancy, Freedom to make life-choices, generosity, and perception of corruption together can explain 78% of variation in life satisfaction (Cantril ladder score, Regression’s adjusted R2 = 0.78).</li>
<li>Older age is associated with higher life satisfaction in India, refuting some claims that the positive association between age and life satisfaction only exists in high-income nations. However, older women in India report lower life satisfaction than older men.</li>
</ol>
</div>
<div id="additional-readings" class="section level2">
<h2>Additional Readings</h2>
<ol style="list-style-type: decimal">
<li><a href="https://www.youtube.com/watch?v=eg1--c2r8HE">How they find the “happiest” country on Earth, YouTube</a></li>
<li><a href="https://ourworldindata.org/happiness-and-life-satisfaction">Happiness and Life Satisfaction by Our World in Data</a></li>
<li><a href="https://worldhappiness.report/ed/2024/">World Happiness Report, 2024</a></li>
</ol>
</div>
<div class="footnotes footnotes-end-of-document">
<hr />
<ol>
<li id="fn1"><p>Brickman, P., Coates, D., &amp; Janoff-Bulman, R.
(1978).
<a href="https://www.romolocapuano.com/wp-content/uploads/2020/12/Brickman_LotteryWinners.pdf">Lottery winners and accident victims: Is happiness relative?</a>.
<em>Journal of personality and social psychology</em>, <em>36</em>(8), 917.<a href="#fnref1" class="footnote-back">↩︎</a></p></li>
<li id="fn2"><p>The actual number seems to be somewhere between $75,000 to $100,000 beyond which money becomes less important in happiness.
See <a href="https://knowledge.wharton.upenn.edu/article/does-money-buy-happiness-heres-what-the-research-says/">Does Money Buy Happiness? Here’s What the Research Says</a>.<a href="#fnref2" class="footnote-back">↩︎</a></p></li>
<li id="fn3"><p><a href="https://www.bbc.com/news/world-europe-50571010">Russian cows get VR headsets ‘to reduce anxiety’</a>, BBC, November 27, 2019.<a href="#fnref3" class="footnote-back">↩︎</a></p></li>
</ol>
</div>
]]></content:encoded>
    </item>
  </channel>
</rss>
