
  <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
      <title>Krut&#39;s Blog</title>
      <link>https://iamkroot.github.io/</link>
      <description>The personal blog of Krut Patel</description>
      <language>en-us</language>
      <managingEditor>kroot.patel@gmail.com (Krut Patel)</managingEditor>
      <webMaster>kroot.patel@gmail.com (Krut Patel)</webMaster>
      <lastBuildDate>Wed, 04 Jun 2025 00:00:00 GMT</lastBuildDate>
      <atom:link href="https://iamkroot.github.io/feed.xml" rel="self" type="application/rss+xml"/>
      
  <item>
    <guid>https://iamkroot.github.io/til/tron</guid>
    <title>TIL: The origin of the name &quot;Tron&quot;</title>
    <link>https://iamkroot.github.io/til/tron</link>
    
    <pubDate>Wed, 04 Jun 2025 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>movies</category><category>history</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/python-fstring-whitespace</guid>
    <title>TIL: Python&#39;s debug f-string `{var =}` is whitespace-sensitive</title>
    <link>https://iamkroot.github.io/til/python-fstring-whitespace</link>
    
    <pubDate>Mon, 10 Mar 2025 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>python</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/barriers-vs-fences</guid>
    <title>TIL: Barriers vs. Fences in concurrent programming</title>
    <link>https://iamkroot.github.io/til/barriers-vs-fences</link>
    
    <pubDate>Thu, 13 Feb 2025 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>concurrency</category><category>systems</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/semiconductors</guid>
    <title>TIL: High-level overview of semiconductor manufacturing</title>
    <link>https://iamkroot.github.io/til/semiconductors</link>
    
    <pubDate>Tue, 28 Jan 2025 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>semiconductors</category><category>hardware</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/console-jquery</guid>
    <title>TIL: You can use `$` inside the browser query console</title>
    <link>https://iamkroot.github.io/til/console-jquery</link>
    
    <pubDate>Tue, 07 Jan 2025 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>javascript</category><category>webdev</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/exception-in-signal-handlers</guid>
    <title>TIL: You can throw a C++ exception from a signal handler!!</title>
    <link>https://iamkroot.github.io/til/exception-in-signal-handlers</link>
    
    <pubDate>Mon, 30 Sep 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>c++</category><category>systems</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/datalist</guid>
    <title>TIL: `&lt;datalist&gt;` element in HTML</title>
    <link>https://iamkroot.github.io/til/datalist</link>
    
    <pubDate>Thu, 29 Aug 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>html</category><category>webdev</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/octal-nul</guid>
    <title>TIL: `\0` in C is actually in octal number notation</title>
    <link>https://iamkroot.github.io/til/octal-nul</link>
    
    <pubDate>Sun, 25 Aug 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>c</category><category>languages</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/microcentury</guid>
    <title>TIL: 50 minutes is one microcentury</title>
    <link>https://iamkroot.github.io/til/microcentury</link>
    
    <pubDate>Thu, 27 Jun 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>random</category><category>time</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/git-search</guid>
    <title>TIL: git supports `:/foo` to find first commit with `foo` in first line</title>
    <link>https://iamkroot.github.io/til/git-search</link>
    
    <pubDate>Tue, 18 Jun 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>git</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/python-memoryview</guid>
    <title>TIL: Python has a `memoryview` builtin</title>
    <link>https://iamkroot.github.io/til/python-memoryview</link>
    
    <pubDate>Tue, 28 May 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>python</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/cpp-if-init</guid>
    <title>TIL: C++17 can do variable initialization inside `if` conditions</title>
    <link>https://iamkroot.github.io/til/cpp-if-init</link>
    
    <pubDate>Thu, 23 May 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>c++</category><category>languages</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/gdb-until-shell</guid>
    <title>TIL: gdb has `until` and `shell` commands</title>
    <link>https://iamkroot.github.io/til/gdb-until-shell</link>
    
    <pubDate>Sat, 11 May 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>debugging</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/hugepage-sizes</guid>
    <title>TIL: Hugepages are 2MB and 1GB by design</title>
    <link>https://iamkroot.github.io/til/hugepage-sizes</link>
    
    <pubDate>Fri, 12 Apr 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>os</category><category>memory</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/python-perfcount</guid>
    <title>TIL: `time.perf_counter()` is a thing in Python</title>
    <link>https://iamkroot.github.io/til/python-perfcount</link>
    
    <pubDate>Thu, 08 Feb 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>python</category><category>performance</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/gnu-time</guid>
    <title>TIL: GNU `time` can show memory usage</title>
    <link>https://iamkroot.github.io/til/gnu-time</link>
    
    <pubDate>Fri, 26 Jan 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>shell</category><category>performance</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/other-homes</guid>
    <title>TIL: `~foo` expands to the HOME dir of that user in Bash</title>
    <link>https://iamkroot.github.io/til/other-homes</link>
    
    <pubDate>Wed, 10 Jan 2024 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>bash</category><category>shell</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/shell-undo</guid>
    <title>TIL: My shell has an undo shortcut</title>
    <link>https://iamkroot.github.io/til/shell-undo</link>
    
    <pubDate>Sun, 17 Dec 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>shell</category><category>shortcuts</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/python-dup-in-dict</guid>
    <title>TIL: You can have &quot;duplicate&quot; keys in Python dicts</title>
    <link>https://iamkroot.github.io/til/python-dup-in-dict</link>
    
    <pubDate>Sat, 04 Nov 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>python</category><category>languages</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/blog/pointer-tagging</guid>
    <title>Memory shenanigans</title>
    <link>https://iamkroot.github.io/blog/pointer-tagging</link>
    <description>A gentle, example-guided introduction to pointer tagging</description>
    <pubDate>Fri, 04 Aug 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>pointers</category><category>C++</category><category>memory</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/cmake-bools</guid>
    <title>TIL: CMake uses -NOTFOUND for boolean False</title>
    <link>https://iamkroot.github.io/til/cmake-bools</link>
    
    <pubDate>Sun, 25 Jun 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>c++</category><category>languages</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/blog/zig-memleak</guid>
    <title>The Curious Case of a Memory Leak in a Zig program</title>
    <link>https://iamkroot.github.io/blog/zig-memleak</link>
    <description>Digs into a unexpected memory leak when using Zig&#39;s FixedBufferAllocator</description>
    <pubDate>Sat, 18 Mar 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>zig</category><category>debugging</category><category>memory</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/gcc-pragma</guid>
    <title>TIL: Having a #pragma directive in your C code could launch a game!</title>
    <link>https://iamkroot.github.io/til/gcc-pragma</link>
    
    <pubDate>Mon, 20 Feb 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>compilers</category><category>c</category><category>history</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/steal-power</guid>
    <title>TIL: It is _really_ easy to steal electricity in India</title>
    <link>https://iamkroot.github.io/til/steal-power</link>
    
    <pubDate>Sun, 19 Feb 2023 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>life</category><category>india</category>
  </item>

  <item>
    <guid>https://iamkroot.github.io/til/ldd-vuln</guid>
    <title>TIL: Running `ldd` can cause arbitrary code execution</title>
    <link>https://iamkroot.github.io/til/ldd-vuln</link>
    
    <pubDate>Tue, 29 Nov 2022 00:00:00 GMT</pubDate>
    <author>kroot.patel@gmail.com (Krut Patel)</author>
    <category>ELF</category><category>linux</category><category>security</category>
  </item>

    </channel>
  </rss>
