<?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>Engineering on Home</title>
    <link>https://justinhu.org/engineering/</link>
    <description>Recent content in Engineering on Home</description>
    <image>
      <title>Home</title>
      <url>https://justinhu.org/avatar.png</url>
      <link>https://justinhu.org/avatar.png</link>
    </image>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Thu, 01 Jan 2026 17:57:27 -0500</lastBuildDate>
    <atom:link href="https://justinhu.org/engineering/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Supercharge and Beautify your Zsh environment on Mac</title>
      <link>https://justinhu.org/engineering/supercharge_zsh/</link>
      <pubDate>Sun, 09 Nov 2025 10:57:27 -0500</pubDate>
      <guid>https://justinhu.org/engineering/supercharge_zsh/</guid>
      <description>&lt;h2 id=&#34;update&#34;&gt;Update&lt;/h2&gt;
&lt;p&gt;I have been useing the udpated zsh for a while and went through a new Macbook setup process again recently,  i relized that iTerm2 is not something mandatory.&lt;/p&gt;
&lt;p&gt;The minimal set up that i found useful and efficient are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;zsh&lt;/strong&gt; (default for new Mac)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;oh-my-zsh&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;plugins&lt;/strong&gt;:
&lt;ol&gt;
&lt;li&gt;git (default plugin for oh-my-zsh)&lt;/li&gt;
&lt;li&gt;zsh-autosuggestions&lt;/li&gt;
&lt;li&gt;zsh-syntax-highlighting&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;theme&lt;/strong&gt;: powerlevel10k&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Detailed &lt;a href=&#34;https://curiousmints.com/setting-up-powerlevel10k-with-oh-my-zsh/&#34;&gt;Installation Guide&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Tip: powerlevel10k theme requires special fonts that can be installed via brew.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>MongoDB 101: A Beginner’s Guide to NoSQL Databases</title>
      <link>https://justinhu.org/engineering/mongodb_101/</link>
      <pubDate>Fri, 21 Mar 2025 14:56:46 -0400</pubDate>
      <guid>https://justinhu.org/engineering/mongodb_101/</guid>
      <description>A Beginner’s Guide to NoSQL Database MongoDB</description>
    </item>
    <item>
      <title>Popular Static Site Generator Comparison: Jekyll, Docusaurus, Sphinx, Hugo</title>
      <link>https://justinhu.org/engineering/popular_static_site_generator/</link>
      <pubDate>Sun, 16 Feb 2025 16:56:31 -0500</pubDate>
      <guid>https://justinhu.org/engineering/popular_static_site_generator/</guid>
      <description>A feature breakdown comparison with LLM tools: ChatGPT, Grok, and DeepSeeK</description>
    </item>
    <item>
      <title>GitHub Actions and Why It&#39;s Gaining Popularity over Jenkins as Default CI/CD Tool </title>
      <link>https://justinhu.org/engineering/github_actions_101/</link>
      <pubDate>Sat, 19 Oct 2024 15:50:06 -0400</pubDate>
      <guid>https://justinhu.org/engineering/github_actions_101/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;The Current CI/CD tooling for our company is moving away from Jenkins and towards GitHub Actions. Learn some basics about GitHub Actions as a reulst.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;whats-git-actions&#34;&gt;What&amp;rsquo;s Git Actions&lt;/h2&gt;
&lt;p&gt;According to &lt;a href=&#34;https://docs.github.com/en/actions/writing-workflows/quickstart&#34;&gt;Github&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that run tests whenever you push a change to your repository, or that deploy merged pull requests to production.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Terraform and Infrastructure as Code</title>
      <link>https://justinhu.org/engineering/terraform_and_infrastructure_as_code/</link>
      <pubDate>Sat, 10 Aug 2024 20:36:29 -0400</pubDate>
      <guid>https://justinhu.org/engineering/terraform_and_infrastructure_as_code/</guid>
      <description>&lt;h2 id=&#34;infrastructure-as-code&#34;&gt;Infrastructure as Code&lt;/h2&gt;
&lt;h3 id=&#34;challenge-of-provisioning-cloud-resources&#34;&gt;Challenge of Provisioning Cloud Resources&lt;/h3&gt;
&lt;p&gt;Manual Provisioning of infrastructure at scale is slow and cumbersome. Provisioning infrastructure through
point-and-click GUIs is error-prone, inefficient, and doesn&amp;rsquo;t scale. The cloud was built for
automation, but writing custom scripts for every service and every use case is time-consuming
and costly for development teams.&lt;/p&gt;
&lt;h3 id=&#34;solution&#34;&gt;Solution&lt;/h3&gt;
&lt;p&gt;Infrastructure as Code(IaC) to automate infrastructure provisioning on any cloud.  Multi-cloud provisioning
should be automated with declarative infrastructure as code. There should be a simple, easy to learn
configuration language to allow people to define infrastructure resources such that infrastructure can be codified,
shared, versioned, and executed with a consistent workflow across all environments.&lt;/p&gt;</description>
    </item>
    <item>
      <title>How to Create Self-Signed SSL Certificates</title>
      <link>https://justinhu.org/engineering/how_to_self_signed_ssl_certificates/</link>
      <pubDate>Fri, 26 Jan 2024 14:09:39 -0500</pubDate>
      <guid>https://justinhu.org/engineering/how_to_self_signed_ssl_certificates/</guid>
      <description>&lt;h2 id=&#34;ssl-certificate&#34;&gt;SSL Certificate&lt;/h2&gt;
&lt;p&gt;Securing your website or application has become increasingly crucial in today&amp;rsquo;s
digital landscape where cyber crimes become ever more pervasive.&lt;/p&gt;
&lt;p&gt;One common way to achieve security is through encryption.  Symmetric and asymmetric encryption have been
heavily studied in the field of &lt;a href=&#34;https://en.wikipedia.org/wiki/Cryptography&#34;&gt;Cryptograph&lt;/a&gt; and are widely used in the industry to help
secure digital systems. SSL certificates, which build on top of asymmetric encryption,
are often used to secure websites by ensuring data in transit between clients and web
server are encrypted, thus private and secure.&lt;/p&gt;</description>
    </item>
    <item>
      <title>FastAPI 101</title>
      <link>https://justinhu.org/engineering/fastapi101/</link>
      <pubDate>Fri, 01 Dec 2023 16:03:50 -0500</pubDate>
      <guid>https://justinhu.org/engineering/fastapi101/</guid>
      <description>&lt;h2 id=&#34;what-is-fastapi&#34;&gt;What is FastAPI?&lt;/h2&gt;
&lt;p&gt;According to its official website,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a href=&#34;https://fastapi.tiangolo.com/&#34;&gt;FastAPI&lt;/a&gt; is a modern, fast (high-performance), web framework for building APIs with
Python 3.8+ based on standard Python type hints.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id=&#34;hello-world-with-fastapi&#34;&gt;Hello World with FastAPI&lt;/h2&gt;
&lt;h3 id=&#34;installation&#34;&gt;Installation&lt;/h3&gt;
&lt;h4 id=&#34;requirements&#34;&gt;Requirements&lt;/h4&gt;
&lt;blockquote&gt;
&lt;p&gt;Python3.8+&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h4 id=&#34;install-fastapi&#34;&gt;Install FastAPI&lt;/h4&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install fastapi
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h4 id=&#34;install-asgi-server&#34;&gt;Install ASGI Server&lt;/h4&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-shell&#34; data-lang=&#34;shell&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;pip install &lt;span class=&#34;s2&#34;&gt;&amp;#34;uvicorn[standard]&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;define-a-fastapi-app&#34;&gt;Define a FastAPI app&lt;/h3&gt;
&lt;p&gt;Create a file &lt;em&gt;main.py&lt;/em&gt; with:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;div class=&#34;chroma&#34;&gt;
&lt;table class=&#34;lntable&#34;&gt;&lt;tr&gt;&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code&gt;&lt;span class=&#34;lnt&#34;&gt;1
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;2
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;3
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;4
&lt;/span&gt;&lt;span class=&#34;lnt&#34;&gt;5
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;
&lt;td class=&#34;lntd&#34;&gt;
&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kn&#34;&gt;from&lt;/span&gt; &lt;span class=&#34;nn&#34;&gt;typing&lt;/span&gt; &lt;span class=&#34;kn&#34;&gt;import&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;Union&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;kn&#34;&gt;from&lt;/span&gt; &lt;span class=&#34;nn&#34;&gt;fastapi&lt;/span&gt; &lt;span class=&#34;kn&#34;&gt;import&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;FastAPI&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;&lt;span class=&#34;n&#34;&gt;app&lt;/span&gt; &lt;span class=&#34;o&#34;&gt;=&lt;/span&gt; &lt;span class=&#34;n&#34;&gt;FastAPI&lt;/span&gt;&lt;span class=&#34;p&#34;&gt;()&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;h3 id=&#34;create-api-endpoints&#34;&gt;Create API Endpoints&lt;/h3&gt;
&lt;p&gt;In &lt;em&gt;main.py&lt;/em&gt; add the following 2 endpoints implementation&lt;/p&gt;</description>
    </item>
    <item>
      <title>Apache Kafka and A Comparison with RabbitMQ</title>
      <link>https://justinhu.org/engineering/kafka_and_comparison_with_rabbitmq/</link>
      <pubDate>Fri, 23 Dec 2022 11:01:01 -0500</pubDate>
      <guid>https://justinhu.org/engineering/kafka_and_comparison_with_rabbitmq/</guid>
      <description>&lt;h2 id=&#34;kafka-introduction&#34;&gt;Kafka Introduction&lt;/h2&gt;
&lt;p&gt;Apache Kafka is heavily used in my work now. Therefore, I thought it would be useful and helpful to
write a post about it.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://kafka.apache.org/documentation/&#34;&gt;Kafka&lt;/a&gt; is an &lt;em&gt;&lt;strong&gt;event streaming&lt;/strong&gt;&lt;/em&gt; platform. Apache Kafka
defines event streaming as the following:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Technically speaking, event streaming is the practice of capturing data in real-time from
event sources like databases, sensors, mobile devices, cloud services, and software
applications in the form of streams of events; storing these event streams durably for
later retrieval; manipulating, processing, and reacting to the event streams in
real-time as well as retrospectively; and routing the event streams to different
destination technologies as needed. Event streaming thus ensures a continuous
flow and interpretation of data so that the right information is at the right place,
at the right time.&lt;/p&gt;
&lt;/blockquote&gt;</description>
    </item>
    <item>
      <title>Faster Python: Python 3.11 Release and Future Roadmap</title>
      <link>https://justinhu.org/engineering/faster_python/</link>
      <pubDate>Sat, 03 Dec 2022 19:59:44 -0500</pubDate>
      <guid>https://justinhu.org/engineering/faster_python/</guid>
      <description>&lt;p&gt;Python is a popular programming language, especially in scripting,  web development,  data analytics, and
ML/AI domains.&lt;/p&gt;
&lt;p&gt;According to &lt;a href=&#34;https://www.tiobe.com/tiobe-index/&#34;&gt;TIOBE Programming Language Index&lt;/a&gt;, Python has become the most popular programming since 2022, exceeding good old C:
&lt;img alt=&#34;programming language ranking&#34; loading=&#34;lazy&#34; src=&#34;https://justinhu.org/engr/programming_language_ranking.png&#34; title=&#34;programming language ranking&#34;&gt;&lt;/p&gt;
&lt;p&gt;Python has gained popularity because of its flat learning curve (compared to other languages such as C/C++), human-readable
code, and thriving ecosystems. However, Developers have always complained about python not being fast or even slower than other
interpreting languages like JS or Lua.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
