<?xml version='1.0' encoding='UTF-8'?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://til.jiaqicai.com/tils/feed.atom</id>
  <title>Jack TIL</title>
  <updated>2026-08-14T13:00:31+00:00</updated>
  <link href="http://til.jiaqicai.com/tils/feed.atom" rel="self"/>
  <generator uri="https://github.com/simonw/datasette" version="0.65.3">Datasette</generator>
  <entry>
    <id>tag:til.jiaqicai.com,2020-04-30:llm_which-ai-made-this.md</id>
    <title>Which AI Made This?</title>
    <updated>2026-08-14T13:00:31+00:00</updated>
    <author>
      <name>Jack</name>
      <uri>https://til.jiaqicai.com/</uri>
    </author>
    <content type="html">&lt;p&gt;&lt;a href="https://www.whichai.dev/" rel="nofollow"&gt;Which AI Made This?&lt;/a&gt; is a really handy site that compares how different AI models approach UI design, one can directly see the difference between models with or without design skills.&lt;/p&gt;
</content>
    <link href="https://til.jiaqicai.com/llm/which-ai-made-this"/>
  </entry>
  <entry>
    <id>tag:til.jiaqicai.com,2020-04-30:bash_error-when-running-clear-in-bash.md</id>
    <title>Error When Running clear in Bash</title>
    <updated>2026-08-14T13:00:31+00:00</updated>
    <author>
      <name>Jack</name>
      <uri>https://til.jiaqicai.com/</uri>
    </author>
    <content type="html">&lt;p&gt;I encoutered the following error when I ssh into a really dated ubuntu server(1804 for crying out loud) and run the &lt;code class="notranslate"&gt;clear&lt;/code&gt; command:&lt;/p&gt;
&lt;div class="highlight highlight-source-shell"&gt;&lt;pre class="notranslate"&gt;&lt;span class="pl-k"&gt;~&lt;/span&gt;$ clear
terminals database is inaccessible&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;code class="notranslate"&gt;clear&lt;/code&gt; relies on the ncurses "terminfo" database. This error means Ubuntu can't locate or read that database—often because TERMINFO is misconfigured or ncurses-term is missing.&lt;/p&gt;
&lt;p&gt;The following commands works so I put them at the end of &lt;code class="notranslate"&gt;~/.bashrc&lt;/code&gt;.&lt;/p&gt;
&lt;div class="highlight highlight-source-shell"&gt;&lt;pre class="notranslate"&gt;&lt;span class="pl-c1"&gt;unset&lt;/span&gt; TERMINFO TERMINFO_DIRS
&lt;span class="pl-k"&gt;export&lt;/span&gt; TERM=xterm-256color
clear&lt;/pre&gt;&lt;/div&gt;
&lt;div class="markdown-alert markdown-alert-note"&gt;&lt;p class="markdown-alert-title"&gt;&lt;svg data-component="Octicon" class="octicon octicon-info mr-2" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"&gt;&lt;path d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm8-6.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13ZM6.5 7.75A.75.75 0 0 1 7.25 7h1a.75.75 0 0 1 .75.75v2.75h.25a.75.75 0 0 1 0 1.5h-2a.75.75 0 0 1 0-1.5h.25v-2h-.25a.75.75 0 0 1-.75-.75ZM8 6a1 1 0 1 1 0-2 1 1 0 0 1 0 2Z"&gt;&lt;/path&gt;&lt;/svg&gt;Note&lt;/p&gt;&lt;p&gt;If the above works, remove any TERMINFO or TERMINFO_DIRS assignments from ~/.bashrc, ~/.profile, or ~/.zshrc.&lt;/p&gt;
&lt;/div&gt;</content>
    <link href="https://til.jiaqicai.com/bash/error-when-running-clear-in-bash"/>
  </entry>
</feed>
