<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>TIL on Luis’ Corner</title>
    <link>https://luismtorresv.github.io/til/</link>
    <description>Recent content in TIL on Luis’ Corner</description>
    <generator>Hugo</generator>
    <language>en-UK</language>
    <lastBuildDate>Tue, 19 May 2026 12:04:07 -0500</lastBuildDate>
    <atom:link href="https://luismtorresv.github.io/til/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Recording cell execution time in Jupyter notebooks</title>
      <link>https://luismtorresv.github.io/til/20260519-jupyter-execute-time/</link>
      <pubDate>Tue, 19 May 2026 12:04:07 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260519-jupyter-execute-time/</guid>
      <description>&lt;p&gt;The &lt;a href=&#34;https://github.com/deshaw/jupyterlab-execute-time&#34;&gt;jupyterlab-execute-time&lt;/a&gt;&#xA;extension for Jupyter Lab records the time it has taken / took&#xA;to execute a cell.&lt;/p&gt;&#xA;&lt;p&gt;It was developed by the &lt;a href=&#34;https://www.deshaw.com/&#34;&gt;D. E. Shaw group&lt;/a&gt;&#xA;(never heard of them),&#xA;so one can be reasonably sure it has been tested to some extent.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Disabling Yomitan per-site</title>
      <link>https://luismtorresv.github.io/til/20260414-yomitan-blocklist/</link>
      <pubDate>Tue, 14 Apr 2026 11:56:00 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260414-yomitan-blocklist/</guid>
      <description>&lt;p&gt;Yomitan is a browser extension that lets you&#xA;hover over words,&#xA;press a key,&#xA;and get a definition from a dictionary.&#xA;For language learners,&#xA;it&amp;rsquo;s a godsend.&lt;/p&gt;&#xA;&lt;p&gt;However, sometimes you want to avoid the modifier key,&#xA;usually &lt;code&gt;Shift&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;h2 id=&#34;to-that-end&#34;&gt;To that end…&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Open the Yomitan Settings.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Click on Profiles → Configure profiles…&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Click on Add to create a new profile.&#xA;Give it a descriptive name, like &amp;ldquo;Blocklist&amp;rdquo;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Close the dialog.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Click on the dropdown list next to &amp;ldquo;Active profile&amp;rdquo;&#xA;to switch to the &amp;ldquo;Blocklist&amp;rdquo; profile.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Disabling the Firefox full-screen animation and popup</title>
      <link>https://luismtorresv.github.io/til/20260402-firefox-full-screen/</link>
      <pubDate>Thu, 02 Apr 2026 17:32:03 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260402-firefox-full-screen/</guid>
      <description>&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; I&amp;rsquo;m using Firefox 149.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;To disable the full-screen animation and popup&#xA;that get triggered when you press F11,&#xA;which I personally found annoying,&#xA;do the following:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Type &lt;code&gt;about:config&lt;/code&gt; in the address bar and press Enter&#xA;to open the advanced config window.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;It will, most likely, prompt you for confirmation before going ahead.&#xA;Click &amp;ldquo;Accept the Risk and Continue&amp;rdquo;.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Type &lt;code&gt;full-screen-api&lt;/code&gt; in the search bar to filter the options.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;And perform the following changes:&lt;/p&gt;</description>
    </item>
    <item>
      <title>Tango trees in Computer Science</title>
      <link>https://luismtorresv.github.io/til/20260325-tango-tree/</link>
      <pubDate>Wed, 25 Mar 2026 15:48:18 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260325-tango-tree/</guid>
      <description>&lt;p&gt;I was reading about&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Dijkstra%27s_algorithm#Specialized_variants&#34;&gt;specialized variants of Dijkstra’s algorithm&lt;/a&gt;&#xA;when I saw the name&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Van_Emde_Boas_tree&#34;&gt;Van Emde Boas&lt;/a&gt;&#xA;and it grabbed my interest.&lt;/p&gt;&#xA;&lt;p&gt;I skimmed that page and saw another article&#xA;in the “See also” section:&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Tango_tree&#34;&gt;&lt;em&gt;Tango tree&lt;/em&gt;&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;A tango tree is a type of binary search tree&#xA;proposed by Erik D. Demaine, Dion Harmon, John Iacono, and Mihai Pătrașcu&#xA;in 2004.[1]&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;As for its etymology:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;It is named after&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Buenos_Aires&#34;&gt;Buenos Aires&lt;/a&gt;,&#xA;of which the&#xA;&lt;a href=&#34;https://en.wikipedia.org/wiki/Tango&#34;&gt;tango&lt;/a&gt;&#xA;is emblematic.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Open a tmux window in the same working directory</title>
      <link>https://luismtorresv.github.io/til/20260318-tmux-pwd-new-window/</link>
      <pubDate>Wed, 18 Mar 2026 14:06:22 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260318-tmux-pwd-new-window/</guid>
      <description>&lt;p&gt;To open a tmux window in the same working directory&#xA;as your current pane,&#xA;modify this keybinding in your &lt;code&gt;.tmux.conf&lt;/code&gt;:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;bind c new-window -c &amp;#34;#{pane_current_path}&amp;#34;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;splits&#34;&gt;Splits&lt;/h2&gt;&#xA;&lt;p&gt;This can be extended to splits if you want:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;bind &amp;#39;&amp;#34;&amp;#39; split-window -c &amp;#34;#{pane_current_path}&amp;#34;&#xA;bind % split-window -h -c &amp;#34;#{pane_current_path}&amp;#34;&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id=&#34;source&#34;&gt;Source&lt;/h2&gt;&#xA;&lt;p&gt;From&#xA;&lt;a href=&#34;https://unix.stackexchange.com/questions/12032/how-to-create-a-new-window-on-the-current-directory-in-tmux#answer-118381&#34;&gt;this answer&lt;/a&gt;&#xA;at Unix Stack Exchange.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Creating a new tmux session or attaching to an existing one with WSL</title>
      <link>https://luismtorresv.github.io/til/20260317-tmux-wsl/</link>
      <pubDate>Tue, 17 Mar 2026 10:57:08 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260317-tmux-wsl/</guid>
      <description>&lt;p&gt;The default “Command Line” argument for the WSL profile looks like this:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;C:\WINDOWS\system32\wsl.exe -d Ubuntu&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Append this to create a new tmux session or attach to an existing one:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;tmux attach || tmux new&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;So that it looks like this:&lt;/p&gt;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;C:\WINDOWS\system32\wsl.exe -d Ubuntu tmux attach || tmux new&#xA;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;From this&#xA;&lt;a href=&#34;https://stackoverflow.com/questions/3432536/how-to-create-new-tmux-session-if-none-exists#answer-3432749&#34;&gt;Stack Overflow answer&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Entropy can, in fact, go down</title>
      <link>https://luismtorresv.github.io/til/20260303-entropy-going-down/</link>
      <pubDate>Tue, 03 Mar 2026 10:38:00 -0500</pubDate>
      <guid>https://luismtorresv.github.io/til/20260303-entropy-going-down/</guid>
      <description>&lt;p&gt;From Aatishb&amp;rsquo;s&#xA;&lt;a href=&#34;https://aatishb.com/entropy/&#34;&gt;&lt;em&gt;Entropy explained with sheep&lt;/em&gt;&lt;/a&gt;&#xA;(emphasis mine):&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;There’s something curious here. Although the equal energy state is the most likely, it’s still very possible to find all the energy in one solid (the left or right extremes of the graph). In fact, there&amp;rsquo;s about a 1 in 8 chance of this happening. So the entropy in this system can fluctuate, sometimes going up, other times going down.&lt;/p&gt;&#xA;&lt;p&gt;So when we look at really tiny solids, energy doesn’t always flow from a hot object to a cold one. It can go the other way sometimes. &lt;strong&gt;And entropy doesn’t always increase.&lt;/strong&gt; This isn&amp;rsquo;t just a theoretical issue, entropy decreases have actually been &lt;a href=&#34;https://www.nature.com/news/1998/020722/full/news020722-2.html&#34;&gt;seen in microscopic experiments&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
