<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>lydxlx</title>
    <description></description>
    <link>https://lydxlx1.github.io/</link>
    <atom:link href="https://lydxlx1.github.io/feed.xml" rel="self" type="application/rss+xml"/>
    <pubDate>Sat, 06 Jan 2024 21:53:33 +0000</pubDate>
    <lastBuildDate>Sat, 06 Jan 2024 21:53:33 +0000</lastBuildDate>
    <generator>Jekyll v3.9.3</generator>
    
      <item>
        <title>2024-01-05 美国入关记</title>
        <description>4年多之后再次入境美国（上海 PVG –&amp;gt; 西雅图 SEA)，很多东西发生了变化，在这记录一下。

&lt;ul&gt;
  &lt;li&gt;入境的蓝色申报表不再发放填写了。
    &lt;ul&gt;
      &lt;li&gt;在我老旧的记忆力里一上飞机就会发这张表，接着就可以看到几种不同态度的人：刚发表格就立马填好的，中途想起来填写的，和一直到最后降落之前才开始填写的。&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;入关的顺序发生了变化
    &lt;ul&gt;
      &lt;li&gt;以前是下飞机先带着随身行李通过海关，然后再前往转盘拿托运行李决定是再次托运还是直接离开航站楼。&lt;/li&gt;
      &lt;li&gt;现在是所有的航班旅客都在集中拿行李，然后再集中排队通过海关。在高峰的时期大概有20-30个海关工作人员同时处理，消化队伍的速度确实比以前高不少。但缺点也很明显，拿行李的人和排队入关的人混杂在一起，没人指挥，场面一度非常混乱。尤其是排队入关的队伍非常长，绕着3、4个行李转盘转了好多圈，很长时间分不清队头队尾（可以联想一下贪吃蛇玩的很长的时候的状态）&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;一些小tips
    &lt;ul&gt;
      &lt;li&gt;行李小车很充足，行李多的话拿一个会很省心（经常看到有家庭让小朋友直接坐在小车箱子上面）&lt;/li&gt;
      &lt;li&gt;举着黄色”Passport Control”牌子的人其实代表的是队尾，所以在队伍中的人不要跟着他走 hhh&lt;/li&gt;
      &lt;li&gt;US / CA citizen和绿卡用户强烈建议下载App MPC (Mobile Passport Control)进行操作。一个家庭填写一份，之后拿到bar code就可以走MPC通道（号称5分钟就可以搞定）。这个通道好像和Global Entry在一起，感觉也应该相对丝滑。&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;海关问我的一些问题（基本上都是以前申报表上的）
    &lt;ul&gt;
      &lt;li&gt;从哪儿来，这次航班之前有没有经停其他的国家？&lt;/li&gt;
      &lt;li&gt;上一趟旅行呆了多久？&lt;/li&gt;
      &lt;li&gt;有没有带什么来美国？我说了茶叶和饼干&lt;/li&gt;
      &lt;li&gt;带了多少现金？&lt;/li&gt;
      &lt;li&gt;全部对话，包括一开始脱掉口罩眼睛扫描人脸，加在一起不超过一分钟，相当高效&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li&gt;假期结束，开始搬砖。。。&lt;/li&gt;
&lt;/ul&gt;
</description>
        <pubDate>Sat, 06 Jan 2024 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2024/01/06/entering-us/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2024/01/06/entering-us/</guid>
        
        <category>US</category>
        
        <category>custom</category>
        
        <category>SEA</category>
        
        <category>MPC</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>ChatGPT helps write an email for garbage bin replacement</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#chatgpt-drafted-email&quot; id=&quot;markdown-toc-chatgpt-drafted-email&quot;&gt;ChatGPT drafted email&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#reply-from-city-of-xxx-service&quot; id=&quot;markdown-toc-reply-from-city-of-xxx-service&quot;&gt;Reply from City of XXX Service&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#it-works&quot; id=&quot;markdown-toc-it-works&quot;&gt;It works!&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

I asked ChatGPT to prepare me an email draft for requesting a replacement of my damaged green garbage bin.
It worked very well – I just needed to copy and paste the email to the city service, and I got the reply from the city on the next business day and received a new bin on the garbage collection day!

&lt;h2 id=&quot;chatgpt-drafted-email&quot;&gt;ChatGPT drafted email&lt;/h2&gt;

&lt;strong&gt;Request for Replacement of Damaged Green Garbage Bin&lt;/strong&gt;

Dear City of XXX Service,

I hope this message finds you well. My name is XXX, and I am a residential customer residing at the following address:

…
…
…

I am writing to you to request a replacement for our green garbage bin. Unfortunately, over the past few years, our current bin has suffered from significant cracks and damages, rendering it less effective and harder to use. The situation has reached a point where it is necessary for us to request a new bin.

We understand that items like these suffer from wear and tear over time, and we appreciate your understanding and assistance in addressing this issue. Please let me know if there is any additional information needed or if there are any procedures that I need to follow in order to facilitate this replacement.

Thank you very much for your attention to this matter. I am looking forward to hearing from you soon.

&lt;h2 id=&quot;reply-from-city-of-xxx-service&quot;&gt;Reply from City of XXX Service&lt;/h2&gt;
Thank you for contacting XXX regarding your damaged container. I understand how frustrating it can be to receive a delayed response to your request. I apologize for this experience and assure you I will work to resolve this matter with the highest priority.

I have arranged for the replacement of the trash container to take place on 06/02/2023. Please ensure your damaged container is placed at the curb on or before 06/02/2023, so our driver has easy access to replace it. Your confirmation number is 237112.

If you have any additional questions, please feel free to respond to this email or chat with us online at xxx.

Thanks again for contacting XXX. We appreciate the opportunity to be your environmental service and solutions partner.

&lt;h2 id=&quot;it-works&quot;&gt;It works!&lt;/h2&gt;
We got a new bin on the garbage collection day, and here is the photo of the new bin! :)

&lt;img src=&quot;/images/2023-06-04.png&quot; alt=&quot;&quot; /&gt;

</description>
        <pubDate>Sun, 04 Jun 2023 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2023/06/04/chatgpt-replace-garbage-bin/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2023/06/04/chatgpt-replace-garbage-bin/</guid>
        
        <category>chatgpt</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>How to merge and extract tgz files from Google Takeout?</title>
        <description>
Source: &lt;a href=&quot;https://gist.github.com/chabala/22ed01d7acf9ee0de9e3d867133f83fb&quot;&gt;https://gist.github.com/chabala/22ed01d7acf9ee0de9e3d867133f83fb&lt;/a&gt;

One solution that works for me on Mac:
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;pv takeout-&lt;span class=&quot;k&quot;&gt;*&lt;/span&gt; | gtar &lt;span class=&quot;nt&quot;&gt;-xzif&lt;/span&gt; -
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

Where we need to install &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;pv&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;gnu-tar&lt;/code&gt; from Homebrew, i.e.,
&lt;div class=&quot;language-bash highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;brew &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;pv
brew &lt;span class=&quot;nb&quot;&gt;install &lt;/span&gt;gnu-tar
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

</description>
        <pubDate>Sun, 19 Feb 2023 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2023/02/19/how-to-extract-google-takeout/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2023/02/19/how-to-extract-google-takeout/</guid>
        
        <category>tgz</category>
        
        <category>google</category>
        
        <category>takeout</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>How to auto-reload all the modules and classes in Python Notebook?</title>
        <description>
The answer is &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autoreload&lt;/code&gt;. See the following Line Magics.
&lt;div class=&quot;language-python highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;n&quot;&gt;In&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;load_ext&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;autoreload&lt;/span&gt;

&lt;span class=&quot;n&quot;&gt;In&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;o&quot;&gt;%&lt;/span&gt;&lt;span class=&quot;n&quot;&gt;autoreload&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;2&lt;/span&gt;

&lt;span class=&quot;n&quot;&gt;In&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;kn&quot;&gt;from&lt;/span&gt; &lt;span class=&quot;nn&quot;&gt;foo&lt;/span&gt; &lt;span class=&quot;kn&quot;&gt;import&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;some_function&lt;/span&gt;

&lt;span class=&quot;n&quot;&gt;In&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;some_function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;Out&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;42&lt;/span&gt;

&lt;span class=&quot;n&quot;&gt;In&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;c1&quot;&gt;# open foo.py in an editor and change some_function to return 43
&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;In&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;n&quot;&gt;some_function&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;()&lt;/span&gt;
&lt;span class=&quot;n&quot;&gt;Out&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;mi&quot;&gt;6&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;]:&lt;/span&gt; &lt;span class=&quot;mi&quot;&gt;43&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

This &lt;a href=&quot;https://ipython.org/ipython-doc/3/config/extensions/autoreload.html&quot;&gt;official page&lt;/a&gt; contains more details on &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;autoreload&lt;/code&gt;.

</description>
        <pubDate>Sun, 24 Jul 2022 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2022/07/24/auto-reload-all-classes/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2022/07/24/auto-reload-all-classes/</guid>
        
        <category>python</category>
        
        <category>notebook</category>
        
        <category>autoreload</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>How to hide WPM box in Typeracer?</title>
        <description>
&lt;a href=&quot;https://play.typeracer.com/&quot;&gt;Typeracer&lt;/a&gt; is one of my favorite typing websites, and I have used the “Practice Yourself” feature a lot to improve my typing accuracy and speed (and also for fun!).

Recently, I have been thinking whether it’s possible to &lt;strong&gt;hide the WPM (words per minute) box&lt;/strong&gt; while typing so that I will get less distracted by the real-time WPM number and thus can focus more on the typing paragraph.

&lt;img src=&quot;/images/2021-11-28.png&quot; alt=&quot;&quot; /&gt;

I posted the question in the Typeracer Discord channel, and &lt;a href=&quot;https://data.typeracer.com/pit/profile?user=keegant&quot;&gt;KeeganT&lt;/a&gt; proposed a very neat solution using CSS.

&lt;div class=&quot;language-css highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;nc&quot;&gt;.rankPanel&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;nl&quot;&gt;display&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;:&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;none&lt;/span&gt;&lt;span class=&quot;p&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;p&quot;&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

To enable it, one can follow these steps, assuming using Chrome as the browser.
&lt;ul&gt;
  &lt;li&gt;Open “Inspect” tool&lt;/li&gt;
  &lt;li&gt;Go to “Sources” tab&lt;/li&gt;
  &lt;li&gt;Locate the website’s CSS file. As of now, it’s named as &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;TypeRacer.css&lt;/code&gt;.&lt;/li&gt;
  &lt;li&gt;Append the above code snippet at the end of the file.&lt;/li&gt;
&lt;/ul&gt;

&lt;img src=&quot;/images/2021-11-28_1.png&quot; alt=&quot;&quot; /&gt;

If everything is done correctly, the change should be applied immediately to the website.
To cancel the effect, one can simply remove the line &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;display: none;&lt;/code&gt;.

Big thanks to KeeganT again for providing this awesome solution.
</description>
        <pubDate>Sun, 28 Nov 2021 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2021/11/28/hide-wpm-in-typeracer/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2021/11/28/hide-wpm-in-typeracer/</guid>
        
        <category>typeracer</category>
        
        <category>wpm</category>
        
        <category>css</category>
        
        
        <category>css</category>
        
      </item>
    
      <item>
        <title>How to Skip Duplicate Files on Mac</title>
        <description>
Normally, you see the following dialog box when copying files from one folder to another and hitting a conflict.

&lt;img src=&quot;/images/2021-10-10_01.png&quot; alt=&quot;&quot; /&gt;

There are three options:
&lt;ul&gt;
  &lt;li&gt;Keep Both&lt;/li&gt;
  &lt;li&gt;Stop&lt;/li&gt;
  &lt;li&gt;Replace&lt;/li&gt;
&lt;/ul&gt;

But what if you want to SKIP duplicated files and still copy the remaining new files?
The trick is the “option” key. When pressed, the “Keep Both” button will replaced with “Skip”!

&lt;img src=&quot;/images/2021-10-10_02.png&quot; alt=&quot;&quot; /&gt;

Lastly, here are some fun facts:
&lt;ul&gt;
  &lt;li&gt;The icon of the “option” key is a circuit switch, indicating that you can choose either options.&lt;/li&gt;
  &lt;li&gt;The “option” key is also useful to remove the boarder in taking screenshots.&lt;/li&gt;
  &lt;li&gt;Mac seems to be clever enough to remember my previous decision as now “Skip” is shown by default and “Keep Both” becomes the hidden one once “option” key is pressed.&lt;/li&gt;
&lt;/ul&gt;

</description>
        <pubDate>Sun, 10 Oct 2021 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2021/10/10/how-to-skip-files-in-mac/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2021/10/10/how-to-skip-files-in-mac/</guid>
        
        <category>mac</category>
        
        <category>skip</category>
        
        <category>option</category>
        
        
        <category>mac</category>
        
      </item>
    
      <item>
        <title>Xfinity Internet does NOT come with UNLIMITED data for free</title>
        <description>
I noticed the following statement when I was renewing my current xfinity internet plan.

&lt;blockquote&gt;
  Includes our xFI Gateway and all the benefits of xFi, plus&lt;br /&gt;
&lt;strong&gt;Unlimited data&lt;/strong&gt; ($30/mo value) for peace of mind&lt;br /&gt;
The best WiFi coverage throughout your home, with an xFi Pod included if recommended
&lt;/blockquote&gt;

&lt;img src=&quot;/images/2021-10-09_01.png&quot; alt=&quot;&quot; /&gt;

Hmm… After doing some research online, I found the evidence from my xfinity account usage page that the &lt;strong&gt;default internet monthly quota is 1.2TB&lt;/strong&gt;, as shown in the following image.

&lt;img src=&quot;/images/2021-10-09_02.png&quot; alt=&quot;&quot; /&gt;

&lt;blockquote&gt;
  You have 1 courtesy month to exceed 1229GB of usage without charge.&lt;br /&gt;
After using 1 courtesy month, if you exceed the plan you will be charged &lt;span&gt;$&lt;/span&gt;10.00 for each 50GB of additional data provided, but charges will not exceed &lt;span&gt;$&lt;/span&gt;100 each month, no matter how much you use. You can also purchase our unlimited data option.
&lt;/blockquote&gt;

Not too bad. But still, &lt;span&gt;$&lt;/span&gt;10.00 for each 50GB of additional data provided seems just too high, even with the &lt;span&gt;$&lt;/span&gt;100.0 additional dollar cap. So be mindful…
</description>
        <pubDate>Sat, 09 Oct 2021 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2021/10/09/xfinitiy/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2021/10/09/xfinitiy/</guid>
        
        <category>xfinity</category>
        
        <category>unlimited</category>
        
        <category>internet</category>
        
        
        <category>xfinity</category>
        
      </item>
    
      <item>
        <title>Union in SQL</title>
        <description>
Union in SQL performs implicit deduping on all the columns, which can cause certain bugs if not paying enough attention.

For example, the output of the following SQL will only return ONE row.

&lt;div class=&quot;language-sql highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
    &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;UNION&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;ALL&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
    &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;UNION&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;ALL&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
    &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;

&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;UNION&lt;/span&gt;

&lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;
&lt;span class=&quot;k&quot;&gt;FROM&lt;/span&gt; &lt;span class=&quot;p&quot;&gt;(&lt;/span&gt;
  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
    &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;UNION&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;ALL&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
    &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;UNION&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;ALL&lt;/span&gt;

  &lt;span class=&quot;k&quot;&gt;SELECT&lt;/span&gt;
    &lt;span class=&quot;mi&quot;&gt;1&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;AS&lt;/span&gt; &lt;span class=&quot;k&quot;&gt;key&lt;/span&gt;

&lt;span class=&quot;p&quot;&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

If we are using &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;UNION ALL&lt;/code&gt; instead, the result will contain 6 rows instead.

</description>
        <pubDate>Sun, 11 Apr 2021 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2021/04/11/union-in-sql/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2021/04/11/union-in-sql/</guid>
        
        <category>sql</category>
        
        <category>union</category>
        
        
        <category>sql</category>
        
      </item>
    
      <item>
        <title>Baby Wellness Guide at 9 Months Old</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#safety--child-proofing&quot; id=&quot;markdown-toc-safety--child-proofing&quot;&gt;Safety &amp;amp; Child-proofing&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#development&quot; id=&quot;markdown-toc-development&quot;&gt;Development&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#family-well-being&quot; id=&quot;markdown-toc-family-well-being&quot;&gt;Family Well-being&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#infant-care&quot; id=&quot;markdown-toc-infant-care&quot;&gt;Infant Care&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sleep&quot; id=&quot;markdown-toc-sleep&quot;&gt;Sleep&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#nutrition&quot; id=&quot;markdown-toc-nutrition&quot;&gt;Nutrition&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overseas-travel&quot; id=&quot;markdown-toc-overseas-travel&quot;&gt;Overseas Travel&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;safety--child-proofing&quot;&gt;Safety &amp;amp; Child-proofing&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Dangling cords, hot liquids, tablecloths, appliances, plastic bags, electrical outlets, and stairs can all be dangerous to an exploring/curious baby.&lt;/li&gt;
  &lt;li&gt;Keep household cleaners, vitamins, and medicines out of reach.&lt;/li&gt;
  &lt;li&gt;Keep your baby safe with constant supervision during bath time and when on high surfaces such as changing tables, beds, and sofas.&lt;/li&gt;
  &lt;li&gt;Avoid walkers. They can tip over and cause your baby harm.&lt;/li&gt;
  &lt;li&gt;Be careful of small objects and powder: babies can choke on them. Small magnets and batteries, when swallowed, can cause serous internal injuries.&lt;/li&gt;
  &lt;li&gt;Install the car seat in the back seat, rear-facing.&lt;/li&gt;
  &lt;li&gt;Check to make sure smoke and carbon monoxide detectors are working.&lt;/li&gt;
  &lt;li&gt;Avoid smoke/tobacco/cigarette/vaping liquid or smoke/marijuana exposure.&lt;/li&gt;
  &lt;li&gt;Consider learning infant/child CPR.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;POISON CONTROL CENTER: 1-800-222-1222&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;development&quot;&gt;Development&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Your assertive baby is on the move. Your baby can sit and play, but may also be scooting/crawling, pulling up to a stand, and “cruising”.&lt;/li&gt;
  &lt;li&gt;Your child can pick up small objects between their thumb and index finger (pincer grasp).&lt;/li&gt;
  &lt;li&gt;Pushing buttons and rolling balls help figure out how things work.&lt;/li&gt;
  &lt;li&gt;Activities/books/songs/rhymes with repetition are fun, predictable, and help to build memory.&lt;/li&gt;
  &lt;li&gt;Your baby can imitate speech by babbling consonant sounds (“bababa” or “datada”) and actions such as waving “bye-bye”. You can help your baby “speaking” by providing words for her emotions and pictures/objects your child is interested in.&lt;/li&gt;
  &lt;li&gt;Your baby understands that things still exist even if they cannot see them making “hide-and-seek” more run, and “good-byes” even harder. Remember, never sneak out. Your babies awareness may cause them to be clingy with their caregivers and more fearful with strangers. Providing comfort is soothing, not “spoiling”.&lt;/li&gt;
  &lt;li&gt;Face-to-face interaction with caregivers and avoiding screen time, except for live video chatting with loved ones, will enhance your child’s social and verbal development.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;family-well-being&quot;&gt;Family Well-being&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Nine month olds are developing opinions, strong feelings, and expectations that can lead to frustration and upset. Sometimes infants can be calmed by distraction, sometimes they need to be held, or sometimes talking to them calmly can help. This is normal, though can be exhausting for caregivers. It is OK to take time for yourself.&lt;/li&gt;
  &lt;li&gt;Consider letting your baby stay with someone you trust in order to find time for yourself or to reconnect with your partner/friends.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;infant-care&quot;&gt;Infant Care&lt;/h2&gt;
** Acetaminophen and ibuprofen can help with fever and signs of discomfort.
** Teething rings, a cool washcloth, or a clean finger can be used to baby’s gums during times of teething discomfort. Brush teeth twice daily with fluoride toothpaste the size of a grain of rice on a soft toothbrush or clean finger. Avoid teething products with benzocaine.
** It is safe to take your baby outdoors if they are dressed appropriately and protected from the weather. Be cautious about exposing your baby to crowds or to people who may be sick.
** Use sunscreen (SPF 15 or higher).
** Saline drops can be used for nasal congestion, which is common in infants.

&lt;h2 id=&quot;sleep&quot;&gt;Sleep&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Simple, calming, bedtime routines can help prepare your baby for bedtime. Try to recognize signs that your baby is getting tired.&lt;/li&gt;
  &lt;li&gt;Help your baby learn how to fall asleep on their own by putting them down when they are drowsy, but not fully asleep. Expect a protest if this is a new change for your child.&lt;/li&gt;
  &lt;li&gt;Some babies establish a pattern of naps with long stretches of sleep, but others are fine taking shorter naps or napping at less regular times. Recognizing patterns and create a nap ritual can be helpful. Nap patterns will change as your baby grows and develops.&lt;/li&gt;
  &lt;li&gt;Anticipate sleep disruption as part of normal development.&lt;/li&gt;
  &lt;li&gt;A favorite stuffed animal may help your baby feel more secure.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;nutrition&quot;&gt;Nutrition&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Your baby is transitioning from breast milk and formula to solids as the main source of nutrition and calories.&lt;/li&gt;
  &lt;li&gt;Give Vitamin D (400IU/day) to babies receiving break milk.&lt;/li&gt;
  &lt;li&gt;Continue simple routines including 3 meals (fruits, veggies, meats/proteins, grains) a day. Meals are opportunities to spend time together as a family.&lt;/li&gt;
  &lt;li&gt;Your baby may be ready for more thickness and lumpiness of their food. Your child may also be ready to feed themselves with your support.&lt;/li&gt;
  &lt;li&gt;Finger foods are bit size, easy to pick up, and squish between fingers. Avoid foods that may cause choking.&lt;/li&gt;
  &lt;li&gt;Let your baby decide how much food to have and how fast/slow to eat it. Give your baby time to pause, rest, socialize, and go back to eating. Talking in a relaxed/encouraging manner helps you and your baby feel calm. It is normal for feedings to be messy.&lt;/li&gt;
  &lt;li&gt;Offer a cup without “no-spill valve”. Your baby does not need juice, tea, or flavored drinks. &lt;strong&gt;Avoid honey.&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;overseas-travel&quot;&gt;Overseas Travel&lt;/h2&gt;
If you will be traveling with your family overseas, talk with your doctor about travel questions, or you can request an online pre-travel health consultation through our eTravel Clinic. Visit our website to learn more.

</description>
        <pubDate>Tue, 05 Jan 2021 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2021/01/05/baby-9-months-old/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2021/01/05/baby-9-months-old/</guid>
        
        <category>baby</category>
        
        <category>allegro</category>
        
        
        <category>baby</category>
        
      </item>
    
      <item>
        <title>Baby Wellness Guide at 2 Months Old</title>
        <description>&lt;ul id=&quot;markdown-toc&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#infant-care&quot; id=&quot;markdown-toc-infant-care&quot;&gt;Infant Care&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#family-well-being&quot; id=&quot;markdown-toc-family-well-being&quot;&gt;Family Well-being&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#development&quot; id=&quot;markdown-toc-development&quot;&gt;Development&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#nutrition&quot; id=&quot;markdown-toc-nutrition&quot;&gt;Nutrition&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#sleep&quot; id=&quot;markdown-toc-sleep&quot;&gt;Sleep&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#safety&quot; id=&quot;markdown-toc-safety&quot;&gt;Safety&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;#overseas-travel&quot; id=&quot;markdown-toc-overseas-travel&quot;&gt;Overseas Travel&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

Helpful tips for this state of life.

&lt;h2 id=&quot;infant-care&quot;&gt;Infant Care&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;For babies 3 month or younger, a fever can be serious.
Call us if your baby has a temperature of 100.4 F / 38.0 C or higher.&lt;/li&gt;
  &lt;li&gt;It is safe to take your baby outdoors if they are dressed appropriately and protected from the weather.
Be cautious about exposing your baby to crowds or to people who may be sick.&lt;/li&gt;
  &lt;li&gt;Caregivers can further protect their baby by updating their own vaccinations, especially the Tdap (whooping cough vaccine), MMR, and seasonal flu vaccine.&lt;/li&gt;
  &lt;li&gt;Saline drops and suction can be used for nasal congestion, which is common in infants.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;family-well-being&quot;&gt;Family Well-being&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Simple routines and schedules can give you and your baby a sense of confidence regarding expectations during your day.&lt;/li&gt;
  &lt;li&gt;Try to find moments in your day to care for yourself in a healthy way.
When you are calm and relaxed, your baby is also more likely to feel calm.&lt;/li&gt;
  &lt;li&gt;Ask for help from trusted family and friends so you can get a break yourself.&lt;/li&gt;
  &lt;li&gt;Finding nurturing and safe childcare can help you feel more comfortable during the times you might need to be away from your baby.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;development&quot;&gt;Development&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Your baby is recognizing and responding to caregivers, and enjoys smiling at you and seeing your delight.
Babies can focus on and start to track caregivers and objects/toys.
They may start to coo and take turns “talking”.
Your baby prefers you over any toy/object.&lt;/li&gt;
  &lt;li&gt;Babies at this age are learning how to self soothe by sucking on a pacifier or a finger.
They are able to practice being on their tummy while looking at you, a mirror, or a toy.&lt;/li&gt;
  &lt;li&gt;Your baby may also express their personality by showing preferences for toys, activities, and what schedule works for them.&lt;/li&gt;
  &lt;li&gt;Acknowledge your baby’s preferences so they feel understood.
Recognize when they are alert and ready to play.
If they are crying, turning away, and arching, your baby is signaling you to slow down or provide comfort.
Being warm and affectionate may seem easy when your baby is happy, but it is also important to provide responsive and loving care when they are fussy and crying.
This lets your baby know they are loved, understood, and not alone.&lt;/li&gt;
  &lt;li&gt;Everyday interactions like feeding, dressing, and diaper changing are opportunities to share loving and caring messages with your baby.
By providing responsive and nurturing care, you are not “spoiling” them.&lt;/li&gt;
  &lt;li&gt;Face-to-face interaction with caregivers and avoiding screen time, except for live video chatting with loved ones, will enhance your child’s social and verbal development.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;nutrition&quot;&gt;Nutrition&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Use breast milk and formula only.&lt;/li&gt;
  &lt;li&gt;Give Vitamin D (400 IU/day) to babies receiving break milk.&lt;/li&gt;
  &lt;li&gt;You are learning your baby’s signals (sounds, facial expressions, and baby movements) to know when you’re hungry or full.&lt;/li&gt;
  &lt;li&gt;Feeding can be an opportunity to cuddle, talk to, and enjoy your baby.&lt;/li&gt;
  &lt;li&gt;Spitting up is common.
Keeping your baby upright after feeds can help.
Ask your doctor if you have concerns about associated pain, choking, or feeding problems.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;sleep&quot;&gt;Sleep&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Consider starting simple, calming routines to help your baby prepare for bedtime.
It can be helpful to recognize signs that your baby is getting tired in order to know when to slow down and start your sleep routine.&lt;/li&gt;
  &lt;li&gt;Some babies at this age are able to learn how to fall asleep after being put down when drowsy, but not fully asleep.&lt;/li&gt;
  &lt;li&gt;You can help your baby sleep at night by not waking them to feed and by keeping the room dark and quite.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;safety&quot;&gt;Safety&lt;/h2&gt;
&lt;ul&gt;
  &lt;li&gt;Put your baby to sleep on their back.
Sleep positioners are not safe for babies.&lt;/li&gt;
  &lt;li&gt;Install the car seat in backseat, rear-facing.&lt;/li&gt;
  &lt;li&gt;Check to make sure smoke and carbon monoxide detectors are working.&lt;/li&gt;
  &lt;li&gt;Avoid smoke/tobacco/cigarette/vaping liquid or smoke/marijuana exposure.&lt;/li&gt;
  &lt;li&gt;Avoid hot liquids around your baby and set your water temperature &amp;lt; 120 F (48.9 C) to prevent accidental burns.&lt;/li&gt;
  &lt;li&gt;Avoid strings or necklaces around the neck as they can choke a baby.&lt;/li&gt;
  &lt;li&gt;A baby can roll or fall off of a high surface.
Keep a hand on him when changing clothes and/or diapers.&lt;/li&gt;
  &lt;li&gt;Babies need constant supervision when bathing.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Never shake your baby.&lt;/strong&gt;
When you are feeling overwhelmed, take a break and ask for help.
Call Allegro Pediatrics for support.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;overseas-travel&quot;&gt;Overseas Travel&lt;/h2&gt;
If you will be traveling with your family overseas, talk with your doctor about travel questions, or you can request an online pre-travel health consultation through our eTravel Clinic.
Visit our website to learn more.

</description>
        <pubDate>Sat, 06 Jun 2020 00:00:00 +0000</pubDate>
        <link>https://lydxlx1.github.io/blog/2020/06/06/Baby-Wellness-Guide-at-2-Months-Old/</link>
        <guid isPermaLink="true">https://lydxlx1.github.io/blog/2020/06/06/Baby-Wellness-Guide-at-2-Months-Old/</guid>
        
        <category>baby</category>
        
        <category>allegro</category>
        
        
        <category>baby</category>
        
      </item>
    
  </channel>
</rss>
