<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hieu Phay</title><link>https://hieuphay.com/</link><description>Recent content on Hieu Phay</description><generator>Hugo</generator><language>en</language><managingEditor>Nguyen Duc Hieu</managingEditor><webMaster>Nguyen Duc Hieu</webMaster><atom:link href="https://hieuphay.com/index.xml" rel="self" type="application/rss+xml"/><item><title>Godot-based interactive charts (prototype)</title><link>https://hieuphay.com/inchart-prototype/</link><pubDate>Sun, 11 Oct 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/inchart-prototype/</guid><description>&lt;p&gt;&lt;strong&gt;InChart&lt;/strong&gt; is a charting module for the Godot 4 game engine: line, area, bar, pie,&#10;heatmap, treemap and waterfall charts, KPI cards and a spreadsheet, all linked to one&#10;data source. Edit a cell and the line eases to the new value; drag a point and the cell&#10;changes. The prototype plots official US data from FRED and EU government spending from&#10;Eurostat. It runs in the browser with WebGL 2 and needs JavaScript.&lt;/p&gt;</description></item><item><title>Vietnam in Foreign Archives, 1975–1995</title><link>https://hieuphay.com/en/vfrd/</link><pubDate>Sun, 27 Sep 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/en/vfrd/</guid><description>&lt;p&gt;&lt;strong&gt;Vietnam in Foreign Archives, 1975–1995&lt;/strong&gt; (VFRD) is a source-linked dataset of Vietnam&amp;rsquo;s&#10;visits, talks and agreements drawn from foreign archives (US diplomatic cables, allied embassy&#10;reports, UN and IMF records), with the numbers contemporaries estimated for Vietnam&amp;rsquo;s economy.&#10;Every item links back to its source. The page needs JavaScript; the Vietnamese version is at /vfrd/.&lt;/p&gt;</description></item><item><title>Việt Nam trong lưu trữ nước ngoài, 1975–1995</title><link>https://hieuphay.com/vfrd/</link><pubDate>Sun, 27 Sep 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/vfrd/</guid><description>&lt;p&gt;&lt;strong&gt;Việt Nam trong lưu trữ nước ngoài, 1975–1995&lt;/strong&gt; (VFRD) là bộ dữ liệu về các chuyến thăm,&#10;cuộc hội đàm và thỏa thuận của Việt Nam, nhặt ra từ hồ sơ lưu trữ nước ngoài: điện tín&#10;ngoại giao Mỹ, báo cáo của sứ quán các nước đồng minh, hồ sơ Liên Hợp Quốc và IMF. Đi kèm&#10;là những con số mà người đương thời ước tính về kinh tế Việt Nam. Dữ kiện nào cũng dẫn về&#10;nguồn gốc. Trang cần bật JavaScript; bản tiếng Anh ở /en/vfrd/.&lt;/p&gt;</description></item><item><title>Tác tử AI</title><link>https://hieuphay.com/tac-tu-ai/</link><pubDate>Fri, 25 Sep 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/tac-tu-ai/</guid><description>&lt;p&gt;Tôi vừa mới đọc &lt;a href="https://vnexpress.net/ai-khong-can-doc-ac-de-tro-nen-nguy-hiem-5119833.html"&gt;bài này trên VnExpress&lt;/a&gt;.&#10;Không bàn đến nội dung, điều mà tôi để ý là cách dịch chữ &lt;em&gt;agent&lt;/em&gt; trong tiếng Anh thành &lt;em&gt;tác tử&lt;/em&gt;, nghe tuy lạ tai (với tôi) nhưng ngữ nghĩa cảm giác khá hợp lý.&#10;Tham khảo Claude, tôi được biết những cụm từ như &lt;em&gt;hệ đa tác tử&lt;/em&gt; (multi-agent system), &lt;em&gt;tác tử thông minh&lt;/em&gt; (intelligent agent) hay &lt;em&gt;tác tử phần mềm&lt;/em&gt; (software agent) đều đã có tiền lệ trong các văn bản kỹ thuật tiếng Việt.&#10;Từ &lt;em&gt;agent&lt;/em&gt; lâu nay tôi không biết dịch ra sao, bây giờ thì biết rồi.&lt;/p&gt;</description></item><item><title>Thứ khan hiếm sau AI</title><link>https://hieuphay.com/khan-hiem-sau-ai/</link><pubDate>Tue, 22 Sep 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/khan-hiem-sau-ai/</guid><description>&lt;h2 id="i"&gt;&#10; I.&#10; &lt;a class="heading-link" href="#i" aria-labelledby="i"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Hôm nay cả Anthropic và OpenAI đồng thời trình diện mô hình mới.&#10;Một cuộc chạy đua về giá rất khốc liệt đang diễn ra.&#10;Hãng A &lt;a href="https://www.anthropic.com/news/claude-opus-5-5"&gt;khẳng định&lt;/a&gt; chi phí của Opus 5.5 ít hơn Opus 5 đến 40% trên một số đầu việc điển hình, còn hãng O &lt;a href="https://openai.com/index/introducing-gpt-6-sol-and-luna/"&gt;định giá&lt;/a&gt; &lt;span class='smallcap'&gt;gpt&lt;/span&gt; 6 Sol và Luna chỉ bằng một nửa &lt;span class='smallcap'&gt;gpt&lt;/span&gt;-5.6.&#10;Tốc độ chạy đua về giá của công nghệ &lt;span class='smallcap'&gt;ai&lt;/span&gt; nhanh hơn nhiều công nghệ đa dụng trước đây, theo &lt;a href="https://x.com/EpochAIResearch/status/2102510281176023529"&gt;Epoch &lt;span class='smallcap'&gt;ai&lt;/span&gt;&lt;/a&gt;:&lt;/p&gt;</description></item><item><title>The Map of Policy-Relevant Economics</title><link>https://hieuphay.com/econ-policy-map/</link><pubDate>Sun, 06 Sep 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/econ-policy-map/</guid><description>&lt;p&gt;&lt;strong&gt;The Map of Policy-Relevant Economics&lt;/strong&gt; is an interactive map of what the policy&#10;institutions&amp;rsquo; economists write, what that literature is built on, and what engages&#10;with it: OpenAlex records from 1945 onwards, of which a core were written by&#10;someone at one of 47 institutions — the IMF, the World Bank, the Federal Reserve&#10;system, the major central banks, the multilateral development banks, the OECD and&#10;the UN economic bodies.&lt;/p&gt;</description></item><item><title>Bản đồ nghiên cứu kinh tế Việt Nam</title><link>https://hieuphay.com/ban-do-kinh-te-viet-nam/</link><pubDate>Sat, 29 Aug 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/ban-do-kinh-te-viet-nam/</guid><description>&lt;p&gt;Bản đồ tương tác của gần một trăm nghìn bài nghiên cứu kinh tế và khoa học xã&#10;hội do các nhà nghiên cứu người Việt viết từ 1990 đến nay, lấy từ OpenAlex. Mỗi&#10;bài là một điểm, đặt cạnh những bài viết về cùng đề tài; một chế độ thứ hai đặt&#10;mỗi nhà nghiên cứu thành một điểm, tại trọng tâm của những gì họ đã viết, và tô&#10;màu theo nơi họ đang công tác: trong nước, ở nước ngoài, hay là người nước ngoài&#10;làm việc tại Việt Nam.&lt;/p&gt;</description></item><item><title>The Map of Geoeconomics Research</title><link>https://hieuphay.com/geoeconomics-map/</link><pubDate>Sat, 15 Aug 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/geoeconomics-map/</guid><description>&lt;p&gt;&lt;strong&gt;The Map of Geoeconomics Research&lt;/strong&gt; is an interactive map of the academic&#10;literature on geoeconomics: 28,279 papers published between 1945 and 2026,&#10;of which 13,222 are economics. The papers are OpenAlex records, collected from&#10;the field&amp;rsquo;s vocabulary, its canonical works and the bibliographies of its&#10;survey articles, then grown two hops along citations. Each paper&amp;rsquo;s position&#10;comes from SPECTER text embeddings reduced with UMAP; clusters are found with&#10;HDBSCAN and reviewed individually.&lt;/p&gt;</description></item><item><title>Publications</title><link>https://hieuphay.com/research/</link><pubDate>Sun, 15 Mar 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/research/</guid><description>&lt;h2 id="journal-publications--working-papers"&gt;&#10; Journal Publications &amp;amp; Working Papers&#10; &lt;a class="heading-link" href="#journal-publications--working-papers" aria-labelledby="journal-publications--working-papers"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;style&gt;&#10;.bibitem { margin-bottom: 1.4em; }&#10;.bibitem-entry { margin: 0; line-height: 1.5; position: relative; }&#10;.bibitem-title { font-weight: bold; font-size: 1.05em; }&#10;.content article details.bibitem-abstract { margin-top: 0.3em; background-color: transparent; padding: 0; }&#10;.content article details.bibitem-abstract summary { cursor: pointer; color: #666; font-size: 0.9em; padding: 0; }&#10;.bibitem-abstract summary:hover { color: #333; }&#10;.bibitem-abstract p { font-size: 0.9em; margin: 0.4em 0 0 1em; line-height: 1.5; }&#10;.bibitem-margin { font-style: italic; margin-top: 0.3rem !important; }&#10;.bibitem-margin a { font-style: normal; }&#10;.bibitem-entry::before {&#10; content: "·";&#10; font-family: "NotoSansSymbols2-Regular", -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;&#10; font-weight: 700;&#10; opacity: 50%;&#10; margin-left: -1.5rem;&#10; margin-top: 0.3rem;&#10;}&#10;@media (min-width: 1024px) {&#10; .bibitem-entry::before { display: block; position: absolute; text-align: right; }&#10;}&#10;@media (max-width: 1024px) {&#10; .bibitem-entry::before { display: none; }&#10;}&#10;.bibitem-venue::before,&#10;.bibitem-status-working::before,&#10;.bibitem-status-policy::before,&#10;.bibitem-links::before {&#10; font-family: ForkAwesome;&#10; font-style: normal;&#10; margin-right: 0.3em;&#10;}&#10;.bibitem-venue::before { content: "\f02d"; }&#10;.bibitem-status-working::before { content: "\f0c3"; }&#10;.bibitem-status-policy::before { content: "\f19c"; }&#10;.bibitem-links::before { content: "\f08e"; }&#10;@media (max-width: 768px) {&#10; .bibitem-entry { display: flex; flex-direction: column; }&#10; .bibitem label.margin-toggle { display: none !important; }&#10; .bibitem input.margin-toggle { display: none !important; }&#10; .bibitem .marginnote.bibitem-margin {&#10; display: block !important;&#10; float: none;&#10; width: 100%;&#10; margin: 0.2em 0 0 0 !important;&#10; order: 2;&#10; font-size: 1.4rem;&#10; }&#10; .bibitem .bibitem-text { order: 1; }&#10;}&#10;&lt;/style&gt;&lt;div class="bibitem"&gt;&#10; &lt;p class="bibitem-entry"&gt;&#10; &lt;label for="bibitem-243500c1e1b1b09ce58aa3e0ed4224e9-0" class="margin-toggle"&gt;&lt;i class="fa fa-angle-down"&gt;&lt;/i&gt;&lt;/label&gt;&#10; &lt;input type="checkbox" id="bibitem-243500c1e1b1b09ce58aa3e0ed4224e9-0" class="margin-toggle"/&gt;&#10; &lt;span class="marginnote bibitem-margin"&gt;&lt;span class="bibitem-venue"&gt;Journal of International Money and Finance&lt;/span&gt;&lt;br&gt;&lt;span class="bibitem-links"&gt;&lt;a href="https://cepr.org/voxeu/columns/import-competition-and-us-sentiment-toward-china"&gt;VoxEU&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&#10; &lt;span class="bibitem-text"&gt;&lt;a href="https://doi.org/10.1016/j.jimonfin.2026.103540" class="bibitem-title"&gt;Import competition and U.S. sentiment toward China&lt;/a&gt; (2026), with Rabah Arezki, Ha Nguyen, Duong Le.&lt;/span&gt;&#10; &lt;/p&gt;</description></item><item><title>Công bố khoa học</title><link>https://hieuphay.com/vi/research/</link><pubDate>Sun, 15 Mar 2026 00:00:00 +0000</pubDate><guid>https://hieuphay.com/vi/research/</guid><description>&lt;h2 id="bài-báo-khoa-học--nghiên-cứu-đang-thực-hiện"&gt;&#10; Bài báo khoa học &amp;amp; Nghiên cứu đang thực hiện&#10; &lt;a class="heading-link" href="#b%c3%a0i-b%c3%a1o-khoa-h%e1%bb%8dc--nghi%c3%aan-c%e1%bb%a9u-%c4%91ang-th%e1%bb%b1c-hi%e1%bb%87n" aria-labelledby="bài-báo-khoa-học--nghiên-cứu-đang-thực-hiện"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;style&gt;&#10;.bibitem { margin-bottom: 1.4em; }&#10;.bibitem-entry { margin: 0; line-height: 1.5; position: relative; }&#10;.bibitem-title { font-weight: bold; font-size: 1.05em; }&#10;.content article details.bibitem-abstract { margin-top: 0.3em; background-color: transparent; padding: 0; }&#10;.content article details.bibitem-abstract summary { cursor: pointer; color: #666; font-size: 0.9em; padding: 0; }&#10;.bibitem-abstract summary:hover { color: #333; }&#10;.bibitem-abstract p { font-size: 0.9em; margin: 0.4em 0 0 1em; line-height: 1.5; }&#10;.bibitem-margin { font-style: italic; margin-top: 0.3rem !important; }&#10;.bibitem-margin a { font-style: normal; }&#10;.bibitem-entry::before {&#10; content: "·";&#10; font-family: "NotoSansSymbols2-Regular", -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif;&#10; font-weight: 700;&#10; opacity: 50%;&#10; margin-left: -1.5rem;&#10; margin-top: 0.3rem;&#10;}&#10;@media (min-width: 1024px) {&#10; .bibitem-entry::before { display: block; position: absolute; text-align: right; }&#10;}&#10;@media (max-width: 1024px) {&#10; .bibitem-entry::before { display: none; }&#10;}&#10;.bibitem-venue::before,&#10;.bibitem-status-working::before,&#10;.bibitem-status-policy::before,&#10;.bibitem-links::before {&#10; font-family: ForkAwesome;&#10; font-style: normal;&#10; margin-right: 0.3em;&#10;}&#10;.bibitem-venue::before { content: "\f02d"; }&#10;.bibitem-status-working::before { content: "\f0c3"; }&#10;.bibitem-status-policy::before { content: "\f19c"; }&#10;.bibitem-links::before { content: "\f08e"; }&#10;@media (max-width: 768px) {&#10; .bibitem-entry { display: flex; flex-direction: column; }&#10; .bibitem label.margin-toggle { display: none !important; }&#10; .bibitem input.margin-toggle { display: none !important; }&#10; .bibitem .marginnote.bibitem-margin {&#10; display: block !important;&#10; float: none;&#10; width: 100%;&#10; margin: 0.2em 0 0 0 !important;&#10; order: 2;&#10; font-size: 1.4rem;&#10; }&#10; .bibitem .bibitem-text { order: 1; }&#10;}&#10;&lt;/style&gt;&lt;div class="bibitem"&gt;&#10; &lt;p class="bibitem-entry"&gt;&#10; &lt;label for="bibitem-02fc2883c1197d80515148311fe50f76-0" class="margin-toggle"&gt;&lt;i class="fa fa-angle-down"&gt;&lt;/i&gt;&lt;/label&gt;&#10; &lt;input type="checkbox" id="bibitem-02fc2883c1197d80515148311fe50f76-0" class="margin-toggle"/&gt;&#10; &lt;span class="marginnote bibitem-margin"&gt;&lt;span class="bibitem-venue"&gt;Journal of International Money and Finance&lt;/span&gt;&lt;br&gt;&lt;span class="bibitem-links"&gt;&lt;a href="https://cepr.org/voxeu/columns/import-competition-and-us-sentiment-toward-china"&gt;VoxEU&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&#10; &lt;span class="bibitem-text"&gt;&lt;a href="https://doi.org/10.1016/j.jimonfin.2026.103540" class="bibitem-title"&gt;Cạnh tranh nhập khẩu và thái độ của Hoa Kỳ đối với Trung Quốc&lt;/a&gt; (2026), với Rabah Arezki, Ha Nguyen, Duong Le.&lt;/span&gt;&#10; &lt;/p&gt;</description></item><item><title>My Doom Emacs configurations</title><link>https://hieuphay.com/Doom-Emacs-config/</link><pubDate>Mon, 09 Oct 2023 00:00:00 +0000</pubDate><guid>https://hieuphay.com/Doom-Emacs-config/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#prerequisites"&gt;Prerequisites&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#reproducible-information"&gt;Reproducible information&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#fundamental-setups"&gt;Fundamental setups&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#some-good-defaults"&gt;Some good defaults&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#theme"&gt;Theme&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#font-configs"&gt;Font configs&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#font-choices"&gt;Font choices&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#setups"&gt;Setups&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#ligatures"&gt;Ligatures&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#mixed-and-fixed-pitch-fonts"&gt;Mixed- and fixed-pitch fonts&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#icons"&gt;Icons&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#slightly-transparent-emacs"&gt;Slightly transparent Emacs&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.6&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#modeline"&gt;Modeline&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.7&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#narrowing-and-center-buffer-contents"&gt;Narrowing and center buffer contents&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.8&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#git-gutter"&gt;Git gutter&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#editing-configurations"&gt;Editing configurations&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#evil"&gt;Evil&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#hack-load-evil-keybindings"&gt;Hack: load evil keybindings&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#completions"&gt;Completions&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#corfu-defaults"&gt;Corfu defaults&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#smaller-popup-text"&gt;Smaller popup text&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#kind-icon-configurations"&gt;Kind-icon configurations&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#language-server-protocol"&gt;Language server protocol (LSP)&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#yasnippet"&gt;Yasnippet&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#citations"&gt;Citations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.6&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#workspaces"&gt;Workspaces&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#major-modes-and-language-specific-configurations"&gt;Major modes and language-specific configurations&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-mode"&gt;Org-mode&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#basics"&gt;Basics&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-tempo"&gt;Org-tempo&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#visual-related-configs"&gt;Visual-related configs&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#custom-faces"&gt;Custom faces&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#font-lock-settings"&gt;Font-lock settings&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#prettify-symbols"&gt;Prettify symbols&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#turn-off-highlighting-current-line"&gt;Turn off highlighting current line&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-modern-and-svg-tag-mode"&gt;Org-modern and svg-tag-mode&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.6&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-appear"&gt;Org-appear&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.3.7&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-activate"&gt;Org-CSL-activate&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#previewing-latex-fragments"&gt;Previewing LaTeX fragments&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#general-configurations"&gt;General configurations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#transparent-background-for-org-block"&gt;Transparent background for org-block&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.4.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#ugly-patch-for-ox-hugo-export"&gt;Ugly patch for Ox-hugo export&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.4.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#ugly-patch-bbox-preview"&gt;Ugly patch &lt;code&gt;--bbox=preview&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.4.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#default-previewing-in-lualatex-based-buffers-to-use-latex"&gt;Default previewing in &lt;code&gt;lualatex&lt;/code&gt;-based buffers to use &lt;code&gt;latex&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-export"&gt;Org-export&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#general"&gt;General&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#export-to-latex"&gt;Export to LaTeX&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#engrave-faces"&gt;Engrave-faces&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#export-to-website-with-ox-hugo"&gt;Export to website with &lt;code&gt;ox-hugo&lt;/code&gt;&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#linking-between-different-org-roam-files"&gt;Linking between different Org-roam files&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#exporting-footnotes-as-sidenotes"&gt;Exporting footnotes as sidenotes&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#exporting-behavior-of-special-blocks"&gt;Exporting behavior of special blocks&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.5.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#general-behaviors"&gt;General behaviors&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.5.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#theorems-proof-definitions"&gt;Theorems, proof, definitions&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.5.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#simpler-details-blocks"&gt;Simpler &lt;code&gt;details&lt;/code&gt; blocks&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.5.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#notices"&gt;Notices&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.5.6&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#block-color-overlays"&gt;Block color overlays&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.6&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-agenda"&gt;Org-agenda&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.7&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-capture"&gt;Org-capture&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.8&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-babel"&gt;Org-babel&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.9&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-cite"&gt;Org-cite&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-roam"&gt;Org-roam&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#fundamental-settings"&gt;Fundamental settings&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#customizing-main-interface"&gt;Customizing main interface&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.1.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#capture-templates"&gt;Capture templates&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.1.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#workspace-creation"&gt;Workspace creation&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.1.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-roam-protocol"&gt;Org-roam-protocol&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-roam-and-org-agenda-itegration"&gt;Org-roam and Org-agenda itegration&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-roam-and-citar-integration"&gt;Org-roam and citar integration&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.10.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#backlinks-count-display"&gt;Backlinks count display&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1.11&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#org-download"&gt;Org-download&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#r"&gt;R&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#stata"&gt;Stata&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.4&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#python"&gt;Python&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.5&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#julia"&gt;Julia&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.6&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#latex"&gt;LaTeX&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.6.1&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#better-defaults"&gt;Better defaults&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.6.2&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#better-looks"&gt;Better looks&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.6.3&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#cdlatex-mode-and-latex-auto-activating-snippets"&gt;CDLatex-mode and LaTeX-auto-activating-snippets&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.7&lt;/span&gt; &lt;a href="https://hieuphay.com/Doom-Emacs-config/#elfeeds"&gt;Elfeeds&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Emacs is certainly a strange piece of software.&#10;It was created in the 1970s and is still in active development until this day, preserving weird concepts like &amp;ldquo;buffers&amp;rdquo; and &amp;ldquo;frame&amp;rdquo; and &amp;ldquo;fontification&amp;rdquo; in its documentation.&#10;It calls the button &lt;code&gt;Ctrl&lt;/code&gt; on modern keyboards as &lt;kbd&gt;C&lt;/kbd&gt; and the &lt;code&gt;Alt&lt;/code&gt; button as &lt;kbd&gt;M&lt;/kbd&gt; (Meta).&#10;In default settings, you copy text by pressing &lt;kbd&gt;M-w&lt;/kbd&gt; , &amp;ldquo;kill&amp;rdquo; (in modern language: cut) by &lt;kbd&gt;C-w&lt;/kbd&gt;, and paste by &lt;kbd&gt;C-y&lt;/kbd&gt;.&#10;In order to customize Emacs, you need to use a dedicated programming language called Emacs Lisp.&lt;/p&gt;</description></item><item><title>Org-mode as a Swiss-army publishing tool</title><link>https://hieuphay.com/org-publishing-latex-hugo/</link><pubDate>Mon, 22 May 2023 00:00:00 +0000</pubDate><guid>https://hieuphay.com/org-publishing-latex-hugo/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/org-publishing-latex-hugo/#footnotes-and-sidenotes"&gt;Footnotes and Sidenotes&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/org-publishing-latex-hugo/#boxes"&gt;Boxes!&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I have two large publishing needs: (1) creating &lt;span class='smallcap'&gt;pdf&lt;/span&gt;&lt;small&gt;s&lt;/small&gt; by LaTeX and (2) writing stuffs on this Hugo-powered website i.e. to write Blackfriday-compatible Markdown files.&lt;/p&gt;&#10;&lt;p&gt;Nowadays, I neither write LaTeX or Markdown documents directly, but instead write in Emacs Org-mode and convert the document to my desired format.&#10;I mentioned my Org-mode setups for &lt;span class='smallcap'&gt;pdf&lt;/span&gt;&lt;small&gt;s&lt;/small&gt; on this website &lt;a href="../export-orgmode-latex/"&gt;5 years ago&lt;/a&gt; and my configurations have slowly evolves since then.&#10;On the website publishing side, the excellent package &lt;a href="https://ox-hugo.scripter.co/"&gt;ox-hugo&lt;/a&gt; works nicely.&lt;/p&gt;</description></item><item><title>Solving a basic New-Keynesian model in symbolic programming style with Julia and Python</title><link>https://hieuphay.com/NK-symbolic-programming/</link><pubDate>Sun, 05 Feb 2023 00:00:00 +0000</pubDate><guid>https://hieuphay.com/NK-symbolic-programming/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#prerequisites"&gt;Prerequisites&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#motivations"&gt;Motivations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#the-ecosystem-for-symbolic-programming"&gt;The ecosystem for symbolic programming&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.3&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#installing-packages"&gt;Installing packages&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#importing-packages"&gt;Importing packages&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#derive-the-system-of-stochastic-difference-equations-characterize-the-dynacmics-of-the-economy"&gt;Derive the system of stochastic difference equations characterize the dynacmics of the economy&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#expressing-symbols-and-equations"&gt;Expressing symbols and equations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#rearrange-and-substitute-equations"&gt;Rearrange &amp;amp; substitute equations&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#the-economy-response-to-exogeneous-shock"&gt;The economy response to exogeneous shock&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#deriving-the-deviation-equations"&gt;Deriving the deviation equations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#method-of-undetermined-coefficients"&gt;Method of undetermined coefficients&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#study-the-stability-of-the-system"&gt;Study the stability of the system&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.1&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#extracting-the-coefficient-matrix"&gt;Extracting the coefficient matrix&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.2&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#analyze-the-conditions"&gt;Analyze the conditions&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6&lt;/span&gt; &lt;a href="https://hieuphay.com/NK-symbolic-programming/#taking-stock"&gt;Taking stock&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;h2 id="prerequisites"&gt;&#10; &lt;span class="section-num"&gt;1&lt;/span&gt; Prerequisites&#10; &lt;a class="heading-link" href="#prerequisites" aria-labelledby="prerequisites"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;h3 id="motivations"&gt;&#10; &lt;span class="section-num"&gt;1.1&lt;/span&gt; Motivations&#10; &lt;a class="heading-link" href="#motivations" aria-labelledby="motivations"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h3&gt;&#10;&lt;p&gt;This semester, we had a taste of the New-Keynesian models for monetary economics.&#10;Came along with it are the ugly algebra transformations.&#10;When my batchmates told me this would be the life of doing macroeconomics,&#10;I decided that it&amp;rsquo;s time to learn how to do symbolic programming.&lt;/p&gt;</description></item><item><title>Những điều tôi học được sau khi nộp PhD Kinh tế học ở Mỹ</title><link>https://hieuphay.com/Econ-PhD/</link><pubDate>Wed, 06 Jul 2022 00:00:00 +0000</pubDate><guid>https://hieuphay.com/Econ-PhD/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#ph%e1%ba%a7n-1-b%e1%bb%a9c-tranh-v%e1%bb%81-phd-kinh-t%e1%ba%bf-h%e1%bb%8dc"&gt;Phần 1: Bức tranh về PhD kinh tế học&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#qu%c3%a1-tr%c3%acnh-h%e1%bb%8dc"&gt;Quá trình học&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#th%e1%bb%8b-tr%c6%b0%e1%bb%9dng-vi%e1%bb%87c-l%c3%a0m-cho-phd-m%e1%bb%9bi-ra-tr%c6%b0%e1%bb%9dng"&gt;Thị trường việc làm cho PhD mới ra trường&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#phd-d%c3%a0nh-cho-ai"&gt;PhD dành cho ai?&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#ph%e1%ba%a7n-2-qu%c3%a1-tr%c3%acnh-chu%e1%ba%a9n-b%e1%bb%8b-v%c3%a0-n%e1%bb%99p-v%c3%a0o-phd"&gt;Phần 2: Quá trình chuẩn bị và nộp vào PhD&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#thu-th%e1%ba%adp-th%c3%b4ng-tin-v%c3%a0-ch%e1%bb%8dn-tr%c6%b0%e1%bb%9dng"&gt;Thu thập thông tin và chọn trường&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#th%c3%a0nh-ph%e1%ba%a7n-c%e1%bb%a7a-m%e1%bb%99t-b%e1%bb%99-h%e1%bb%93-s%c6%a1"&gt;Thành phần của một bộ hồ sơ&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#xu-h%c6%b0%e1%bb%9bng-tuy%e1%bb%83n-sinh-phd-hi%e1%bb%87n-nay"&gt;Xu hướng tuyển sinh PhD hiện nay&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#l%c3%aan-k%e1%ba%bf-ho%e1%ba%a1ch-cho-d%c3%a0i-h%e1%ba%a1n"&gt;Lên kế hoạch cho dài hạn&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#ph%e1%ba%a7n-cu%e1%bb%91i-t%c3%b4i-%c4%91%c3%a3-l%c3%a0m-g%c3%ac"&gt;Phần cuối: Tôi đã làm gì&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/Econ-PhD/#c%c3%a1c-ngu%e1%bb%93n-th%c3%b4ng-tin-kh%c3%a1c"&gt;Các nguồn thông tin khác&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Tôi đã trúng tuyển cho chương trình PhD kinh tế học (economics) ở trường &lt;a href="https://economics.wustl.edu/"&gt;Đại học Washington tại St. Louis&lt;/a&gt;. Chỉ vài tuần nữa là tôi sẽ lên máy bay sang Mỹ để nhập học vào kỳ mùa thu năm nay (2022).&#10;Nhận được kết quả đã hơn 3 tháng trước thời điểm viết bài này, nhưng đến giờ tôi vẫn đang rất vui sướng.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 18: Snailfish</title><link>https://hieuphay.com/AoC2021-day18/</link><pubDate>Sun, 19 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day18/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day18/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day18/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;This one was quite difficult.&#10;It took me 2 days to solve this one.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;Show challenge - day 18, part 1&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You descend into the ocean trench and encounter some &lt;a href="https://en.wikipedia.org/wiki/Snailfish"&gt;snailfish&lt;/a&gt;.&#10;They say they saw the sleigh keys!&#10;They&amp;rsquo;ll even tell you which direction the keys went if you help one of the smaller snailfish with his &lt;strong&gt;math homework&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 17: Trick Shot</title><link>https://hieuphay.com/AoC2021-day17/</link><pubDate>Fri, 17 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day17/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day17/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day17/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;An easy puzzle for today&amp;rsquo;s.&#10;I wonder if there is a more clever solution&amp;hellip;&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 17, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You finally decode the Elves&amp;rsquo; message.&#10;&lt;code&gt;HI&lt;/code&gt;, the message says.&#10;You continue searching for the sleigh keys.&lt;/p&gt;&#10;&lt;p&gt;Ahead of you is what appears to be a large &lt;a href="https://en.wikipedia.org/wiki/Oceanic%5Ftrench"&gt;ocean trench&lt;/a&gt;.&#10;Could the keys have fallen into it? You&amp;rsquo;d better send a probe to investigate.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 16: Packet Decoder</title><link>https://hieuphay.com/AoC2021-day16/</link><pubDate>Thu, 16 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day16/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day16/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day16/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I can feel the difficulty ramping up in the last few days.&#10;For the second part of the puzzle, I had to utilized Julia&amp;rsquo;s meta-programming capacity.&#10;It&amp;rsquo;s the first time I touched the meta-programming section in the Julia documentation.&#10;Fortunately my code worked fine this time, and I can still keep up with solving the puzzles during the same day they&amp;rsquo;re released.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 15: Chiton</title><link>https://hieuphay.com/AoC2021-day15/</link><pubDate>Wed, 15 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day15/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day15/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day15/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The one today is difficult but fun!&#10;It provided a very nice example for dynamic programming.&#10;I would probably revisit this puzzle again if I have the time.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 15, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You&amp;rsquo;ve almost reached the exit of the cave, but the walls are getting closer together.&#10;Your submarine can barely still fit, though; the main problem is that the walls of the cave are covered in &lt;a href="https://en.wikipedia.org/wiki/Chiton"&gt;chitons&lt;/a&gt;, and it would be best not to bump any of them.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 14: Extended Polymerization</title><link>https://hieuphay.com/AoC2021-day14/</link><pubDate>Tue, 14 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day14/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day14/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day14/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The puzzle today is akin to that in &lt;a href="https://hieuphay.com/AoC2021-day6/"&gt;day 6&lt;/a&gt;: A naive, recursive implementation works for part 1, but is too intensive for part 2, and requires a different approach.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 14, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;The incredible pressures at this depth are starting to put a strain on your submarine.&#10;The submarine has &lt;a href="https://en.wikipedia.org/wiki/Polymerization"&gt;polymerization&lt;/a&gt; equipment that would produce suitable materials to reinforce the submarine, and the nearby volcanically-active caves should even have the necessary input elements in sufficient quantities.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 13: Transparent Origami</title><link>https://hieuphay.com/AoC2021-day13/</link><pubDate>Mon, 13 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day13/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day13/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day13/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Alright! We&amp;rsquo;re halfway through!&#10;The puzzle today is easier than the last, as a &amp;ldquo;monday&amp;rdquo; puzzle would, but it is fun nontheless.&#10;The puzzle format break out from the tradition of &amp;ldquo;compute in this method and return this number.&amp;rdquo;&#10;To solve for the puzzle today, you actually have to visualize to see the output.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 13, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You reach another volcanically active part of the cave.&#10;It would be nice if you could do some kind of thermal imaging so you could tell ahead of time which caves are too hot to safely enter.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 12: Passage Pathing</title><link>https://hieuphay.com/AoC2021-day12/</link><pubDate>Sun, 12 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day12/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day12/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day12/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The puzzle today competely wrecked me!&#10;I spent like three hours on this one.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 12, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;With your submarine&amp;rsquo;s subterranean subsystems subsisting suboptimally, the only way you&amp;rsquo;re getting out of this cave anytime soon is by finding a path yourself.&#10;Not just &lt;strong&gt;a&lt;/strong&gt; path - the only way to know if you&amp;rsquo;ve found the &lt;strong&gt;best&lt;/strong&gt; path is to find &lt;strong&gt;all&lt;/strong&gt; of them.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 11: Dumbo Octopus</title><link>https://hieuphay.com/AoC2021-day11/</link><pubDate>Sat, 11 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day11/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day11/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day11/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I like the concept behind the puzzle today.&#10;It&amp;rsquo;s about autonomous synchronization.&#10;It happens in the nature all the time, see &lt;a href="https://ncase.me/fireflies/"&gt;this simulation&lt;/a&gt;.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 11, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You enter a large cavern full of rare bioluminescent &lt;a href="https://www.youtube.com/watch?v=eih-VSaS2g0"&gt;dumbo octopuses&lt;/a&gt;!&#10;They seem to not like the Christmas lights on your submarine, so you turn them off for now.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 10: Syntax Scoring</title><link>https://hieuphay.com/AoC2021-day10/</link><pubDate>Fri, 10 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day10/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day10/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day10/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The puzzle today was sort of interesting, because my solution is quite unique.&#10;Because this puzzle is inspired by real-life &lt;a href="https://code.visualstudio.com/blogs/2021/09/29/bracket-pair-colorization"&gt;bracket pairing problems&lt;/a&gt;, people typically implement an algorithm along that line.&#10;But I was completely oblivious of those algorithm, so I had another approach!&#10;My attempt works fine for this puzzle, but i&amp;rsquo;s probably useless if I want to expand my solution to a full-fledge parser.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 9: Smoke Basin</title><link>https://hieuphay.com/AoC2021-day9/</link><pubDate>Thu, 09 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day9/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day9/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day9/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I feel like it&amp;rsquo;s almost everyday that I can say something like:&#10;&amp;ldquo;Oooh, I thought it was going to be easy, but then it&amp;rsquo;s &lt;span class='smallcap'&gt;not&lt;/span&gt;!&amp;rdquo;&#10;Well&amp;hellip; That&amp;rsquo;s certainly the case for today.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 9, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;These caves seem to be &lt;a href="https://en.wikipedia.org/wiki/Lava%5Ftube"&gt;lava tubes&lt;/a&gt;.&#10;Parts are even still volcanically active; small hydrothermal vents release smoke into the caves that slowly settles like rain.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 8: Seven Segment Search</title><link>https://hieuphay.com/AoC2021-day8/</link><pubDate>Wed, 08 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day8/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day8/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day8/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day8/#benchmark"&gt;Benchmark&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;This one is not too hard, but a brain teaser nonetheless.&#10;The key thing I learnt today is that strings in Julia are arrays of characters, so you can use set operators to check for things like &lt;code&gt;&amp;quot;ab&amp;quot; ⊆ &amp;quot;cab&amp;quot;&lt;/code&gt;, which should return &lt;code&gt;true&lt;/code&gt;.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 8, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You barely reach the safety of the cave when the whale smashes into the cave mouth, collapsing it.&#10;Sensors indicate another exit to this cave at a much greater depth, so you have no choice but to press on.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 7: The Treachery of Whales</title><link>https://hieuphay.com/AoC2021-day7/</link><pubDate>Tue, 07 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day7/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day7/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day7/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Today&amp;rsquo;s challenge is quite simple.&#10;Blame Julia for having a good set of defaults.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 7, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;A giant &lt;a href="https://en.wikipedia.org/wiki/Sperm%5Fwhale"&gt;whale&lt;/a&gt; has decided your submarine is its next meal, and it&amp;rsquo;s much faster than you are.&#10;There&amp;rsquo;s nowhere to run!&lt;/p&gt;&#10;&lt;p&gt;Suddenly, a swarm of crabs (each in its own tiny submarine - it&amp;rsquo;s too deep for them otherwise) zooms in to rescue you!&#10;They seem to be preparing to blast a hole in the ocean floor; sensors indicate a &lt;strong&gt;massive underground cave system&lt;/strong&gt; just beyond where they&amp;rsquo;re aiming!&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 6: Lanternfish</title><link>https://hieuphay.com/AoC2021-day6/</link><pubDate>Mon, 06 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day6/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day6/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day6/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day6/#bonus-boids-simulation"&gt;Bonus: Boids simulation&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The problem today is a bit of a breather. (Puzzles are easier on weekdays.)&#10;Still, I fell right into their trap!&#10;But it&amp;rsquo;s alright.&#10;In fact, I really like this puzzle, because I had tons of fun toying with its visualization!&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;Show challenge - day 6, part 1&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;The sea floor is getting steeper.&#10;Maybe the sleigh keys got carried this way?&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 5: Hydrothermal Venture</title><link>https://hieuphay.com/AoC2021-day5/</link><pubDate>Sun, 05 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day5/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day5/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day5/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day5/#bonus-animations"&gt;Bonus: Animations!&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;I thought the challenge today would be easy, but in the end I spent too much time on it.&#10;Around halfway through I realized that I forgot to offset the index, because Julia indexes begin at 1 instead of 0.&#10;On the other hand, I learnt how slurping and splatting with &lt;code&gt;...&lt;/code&gt; works, which provide shorthand for &amp;ldquo;unwrapping&amp;rdquo; arrays, to be used inside functions.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 4: Giant Squid</title><link>https://hieuphay.com/AoC2021-day4/</link><pubDate>Sat, 04 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day4/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day4/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day4/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;The challenge today is a bigger one.&#10;You basically have to write a Bingo verifier.&#10;It&amp;rsquo;s the first one that I had to resort to importing another library (&lt;code&gt;DelimitedFiles&lt;/code&gt;), but I would argue that because &lt;code&gt;DelimitedFiles&lt;/code&gt; is bundled within Julia installation, it&amp;rsquo;s not a cheat ;)&#10;The library did not play any role in the meat of the puzzle anyway.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 4, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;You&amp;rsquo;re already almost 1.5km (almost a mile) below the surface of the ocean, already so deep that you can&amp;rsquo;t see any sunlight. What you &lt;strong&gt;can&lt;/strong&gt; see, however, is a giant squid that has attached itself to the outside of your submarine.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 3: Binary Diagnostic</title><link>https://hieuphay.com/AoC2021-day3/</link><pubDate>Fri, 03 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day3/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day3/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day3/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;It&amp;rsquo;s getting interesting!&#10;Today&amp;rsquo;s problem got me stucked for a while &amp;ndash; mainly because I didn&amp;rsquo;t read the question closely enough.&#10;For this excercise I work with matrices, which Julia handles really well.&lt;/p&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 3, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;The submarine has been making some odd creaking noises, so you ask it to produce a diagnostic report just in case.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 2: Dive!</title><link>https://hieuphay.com/AoC2021-day2/</link><pubDate>Thu, 02 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day2/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day2/#part-1"&gt;Part 1&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day2/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;h2 id="part-1"&gt;&#10; Part 1&#10; &lt;a class="heading-link" href="#part-1" aria-labelledby="part-1"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;details&gt;&#10;&lt;summary&gt;&#10;Show challenge - day 2, part 1&#10;&lt;/summary&gt;&#10;&lt;div class="details"&gt;&#10;&lt;p&gt;Now, you need to figure out how to pilot this thing.&lt;/p&gt;&#10;&lt;p&gt;It seems like the submarine can take a series of commands like forward 1, down 2, or up 3:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;forward X increases the horizontal position by X units.&lt;/li&gt;&#10;&lt;li&gt;down X increases the depth by X units.&lt;/li&gt;&#10;&lt;li&gt;up X decreases the depth by X units.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Note that since you&amp;rsquo;re on a submarine, down and up affect your depth, and so they have the opposite result of what you might expect.&lt;/p&gt;</description></item><item><title>Advent of Code 2021 in Julia – Day 1: Sonar Sweep</title><link>https://hieuphay.com/AoC2021-day1/</link><pubDate>Wed, 01 Dec 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/AoC2021-day1/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day1/#part-1"&gt;Part 1:&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/AoC2021-day1/#part-2"&gt;Part 2&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;This is my attempt to the &lt;a href="https://adventofcode.com/2021/about"&gt;Advent of Code&lt;/a&gt; challenge.&#10;It is a yearly event where you solve coding puzzles every day from December 1st until December 25th.&#10;The puzzles are not too hard or technical, and you can use any language you like to solve them &amp;ndash; a perfect opportunity for me to learn a new language.&#10;And who can turn down some fun puzzles anyway?&lt;/p&gt;</description></item><item><title>GRE Quant difficulty</title><link>https://hieuphay.com/GRE-Quant/</link><pubDate>Thu, 21 Oct 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/GRE-Quant/</guid><description>&lt;p&gt;I took the test yesterday and got an unofficial results of 170Q 159V.&lt;/p&gt;&#10;&lt;p&gt;Some people said that &lt;span class='smallcap'&gt;ets&lt;/span&gt; recently increased their quant difficulty, but I don&amp;rsquo;t think that&amp;rsquo;s really the case.&#10;Here&amp;rsquo;s what I felt:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;The knowledge required to answer the questions are the same. This is obvious and should be expected.&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;The complexity (as in the time it takes to answer questions) are roughly the same. I took an official mock test only 5 days before the real test. In both attempts, it took me ~28 minutes to complete the first Q section and ~33 minutes to complete the second, harder Q section. I am confident in math so pressure is not a relevant factor here.&lt;/p&gt;</description></item><item><title>Writing one-sentence-per-line</title><link>https://hieuphay.com/one-sentence-per-line/</link><pubDate>Wed, 30 Jun 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/one-sentence-per-line/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#prerequisites"&gt;Prerequisites&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#the-technical-inspirations"&gt;The technical inspirations&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#lucid-writings"&gt;Lucid writings&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#a-remedy-to-writer-s-block"&gt;A remedy to writer&amp;rsquo;s block&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#conclusion"&gt;Conclusion&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/one-sentence-per-line/#references"&gt;References&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;h2 id="prerequisites"&gt;&#10; Prerequisites&#10; &lt;a class="heading-link" href="#prerequisites" aria-labelledby="prerequisites"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;The notion of writing one-sentence-per-line may be confusing for many people &amp;ndash; particularly for those who are not familiar to &lt;a href="https://en.wikipedia.org/wiki/WYSIWYM"&gt;&lt;span class='smallcap'&gt;wysiwym&lt;/span&gt;&lt;/a&gt; systems (i.e. &lt;a href="https://en.wikipedia.org/wiki/Markdown"&gt;markdown&lt;/a&gt;, &lt;a href="https://en.wikipedia.org/wiki/TeX"&gt;\(\TeX\)&lt;/a&gt;,&amp;hellip;).&#10;If you belong to this group, here&amp;rsquo;s a mini-tip:&#10;&lt;em&gt;Don&amp;rsquo;t start your writing in a word processor.&lt;/em&gt;&#10;Whenever you learn new things or having an idea, and you want to jot it down, just open a text editor and write to a &lt;code&gt;.txt&lt;/code&gt; file.&#10;&lt;a href="https://en.wikipedia.org/wiki/Microsoft%5FNotepad"&gt;Notepad&lt;/a&gt; are commonly available on every Windows machine &amp;ndash; use that.&#10;There are several reasons worthy of another post, but here they are:&lt;/p&gt;</description></item><item><title>Về chuyện Việt hoá thuật ngữ chuyên ngành</title><link>https://hieuphay.com/viet-hoa-thuat-ngu/</link><pubDate>Sat, 26 Jun 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/viet-hoa-thuat-ngu/</guid><description>&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/viet-hoa-thuat-ngu/#vi%e1%bb%87t-ho%c3%a1-thu%e1%ba%adt-ng%e1%bb%af-%c4%91%e1%bb%83-l%c3%a0m-g%c3%ac"&gt;Việt hoá thuật ngữ để làm gì?&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/viet-hoa-thuat-ngu/#m%e1%bb%99t-s%e1%bb%91-%e1%ba%a3nh-h%c6%b0%e1%bb%9fng-ng%e1%ba%a7m-trong-c%c3%a1c-th%e1%ba%a3o-lu%e1%ba%adn-v%e1%bb%81-vi%e1%bb%87t-ho%c3%a1-thu%e1%ba%adt-ng%e1%bb%af"&gt;Một số ảnh hưởng ngầm trong các thảo luận về Việt hoá thuật ngữ&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/viet-hoa-thuat-ngu/#ph%e1%bb%a9c-c%e1%ba%a3m-thua-k%c3%a9m"&gt;Phức cảm thua kém&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/viet-hoa-thuat-ngu/#ch%e1%bb%a7-ngh%c4%a9a-thu%e1%ba%a7n-tu%c3%bd"&gt;Chủ nghĩa thuần tuý&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/viet-hoa-thuat-ngu/#ch%e1%bb%8dn-t%e1%bb%ab-ph%e1%bb%95-bi%e1%ba%bfn"&gt;Chọn từ phổ biến&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;a href="https://hieuphay.com/viet-hoa-thuat-ngu/#b%e1%ba%a3n-l%c4%a9nh-c%e1%bb%a7a-ng%c6%b0%e1%bb%9di-nghi%c3%aan-c%e1%bb%a9u"&gt;Bản lĩnh của người nghiên cứu&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Dạo gần đây, trong cộng đồng khoa học dữ liệu, có nhiều nỗ lực tổng hợp và Việt hoá các kiến thức chuyên môn nhằm lan toả tri thức, có thể kể đến các dự án như &lt;a href="https://d2l.aivivn.com/"&gt;Đắm mình vào học sâu&lt;/a&gt; của nhóm Machine Learning Cơ bản (Vũ Hữu Tiệp), hay gần đây là dự án &lt;a href="https://phamdinhkhanh.github.io/deepai-book/intro.html"&gt;&lt;span class='smallcap'&gt;ml&lt;/span&gt; Algorithms to Practice&lt;/a&gt; do Phạm Đình Khánh khởi xướng. Nhìn chung các dự án này đều được cộng đồng đón nhận cởi mở.&lt;/p&gt;</description></item><item><title>Site functionality demo</title><link>https://hieuphay.com/blog/org-demo/</link><pubDate>Sun, 28 Mar 2021 00:00:00 +0000</pubDate><guid>https://hieuphay.com/blog/org-demo/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#this-is-the-highest-level-not-accounting-for-the-title"&gt;This is the highest level, not accounting for the title&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#the-second-heading-most-common-ones"&gt;The second heading - most common ones&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#text-features"&gt;Text features&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.1&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#i-can-eat-glass"&gt;I can eat glass&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.2&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#blockquotes"&gt;Blockquotes&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#notices"&gt;Notices&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.4&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#code"&gt;Code&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.5&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#details"&gt;Details&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#media-embeddings"&gt;Media embeddings&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#fullwidth-image"&gt;Fullwidth image&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#instagram"&gt;Instagram&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#shortcodes"&gt;Shortcodes&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#list-tag"&gt;List tag&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#tabs"&gt;Tabs&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.3&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#mermaid"&gt;Mermaid&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.4&lt;/span&gt; &lt;a href="https://hieuphay.com/blog/org-demo/#icons"&gt;Icons&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;hr&gt;&#10;&lt;h2 id="this-is-the-highest-level-not-accounting-for-the-title"&gt;&#10; &lt;span class="section-num"&gt;1&lt;/span&gt; This is the highest level, not accounting for the title&#10; &lt;a class="heading-link" href="#this-is-the-highest-level-not-accounting-for-the-title" aria-labelledby="this-is-the-highest-level-not-accounting-for-the-title"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;h3 id="the-second-heading-most-common-ones"&gt;&#10; &lt;span class="section-num"&gt;1.1&lt;/span&gt; The second heading - most common ones&#10; &lt;a class="heading-link" href="#the-second-heading-most-common-ones" aria-labelledby="the-second-heading-most-common-ones"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h3&gt;&#10;&lt;h4 id="the-post-should-be-comprehendship-when-this-shows-up"&gt;&#10; &lt;span class="section-num"&gt;1.1.1&lt;/span&gt; The post should be comprehendship when this shows up&#10; &lt;a class="heading-link" href="#the-post-should-be-comprehendship-when-this-shows-up" aria-labelledby="the-post-should-be-comprehendship-when-this-shows-up"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h4&gt;&#10;&lt;!--list-separator--&gt;&#10;&lt;ol&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;Another level? Are you mad?&lt;/p&gt;</description></item><item><title>Batch translations via Google Translate</title><link>https://hieuphay.com/blog/2020-10-30_google-translation/</link><pubDate>Fri, 30 Oct 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/blog/2020-10-30_google-translation/</guid><description>&lt;p&gt;Slightly related to my &lt;a href="https://hieuphay.com/blog/2020-10-01_python-polyglot-detect-and-tokenize/"&gt;previous post&lt;/a&gt;, one of my tasks today was to translate a list of keywords into different languages. The inputs I received generally looks something like below. There were many more, but I truncated the bulk of it to provide a simpler example:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-text" data-lang="text"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;- Institutions: disputes, grievance, court, penal, judicial, prosecutorial, punishment, lawyer, attorney&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;- Infrastructure: railways, traffic, trucks, cars, vehicles, road, taxi, public transportation, port, logistics, collision, passenger&#10;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;[...]&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="reshape-the-text-into-a-processible-format"&gt;&#10; Reshape the text into a processible format&#10; &lt;a class="heading-link" href="#reshape-the-text-into-a-processible-format" aria-labelledby="reshape-the-text-into-a-processible-format"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Firstly, I need to transform these texts into a better format. A good text editor certainly helps. I was able to quickly convert these texts into &lt;code&gt;csv&lt;/code&gt; format, using Emacs&amp;rsquo; macro functionality and Vi&amp;rsquo;s keybindings.&lt;/p&gt;</description></item><item><title>Viết sao cho "gãy gọn"</title><link>https://hieuphay.com/viet-gay-gon/</link><pubDate>Fri, 09 Oct 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/viet-gay-gon/</guid><description>&lt;p&gt;Viết sao cho &amp;ldquo;gãy gọn&amp;rdquo;?&lt;/p&gt;&#10;&lt;h2 id="gãy"&gt;&#10; Gãy&#10; &lt;a class="heading-link" href="#g%c3%a3y" aria-labelledby="gãy"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;&amp;ldquo;Gãy&amp;rdquo; là một từ gợi thanh, gợi cảm. Hãy nghĩ đến âm thanh và cảm giác khi ta bẻ một cành cây khô. Đó là &amp;ldquo;gãy&amp;rdquo;. Cảm giác khi đưa miếng bim-bim vào mồm và nhai? Nó &amp;ldquo;gãy&amp;rdquo; đến mức bạn không thể tập trung vào bộ phim trước mặt. Cảm giác khi nghe tiếng những giọt mưa rào nặng hạt đập vào mái tôn, vào lá cây, vào mặt đất? Đó cũng là tiếng &amp;ldquo;gãy&amp;rdquo;.&lt;/p&gt;</description></item><item><title>Notes on using Python for language detection and tokenization</title><link>https://hieuphay.com/blog/2020-10-01_python-polyglot-detect-and-tokenize/</link><pubDate>Thu, 01 Oct 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/blog/2020-10-01_python-polyglot-detect-and-tokenize/</guid><description>&lt;p&gt;My upcoming works involves some text analysis so I&amp;rsquo;m exploring some of the available tools in Python. Today I tested some of the basic operations with the &lt;code&gt;polyglot&lt;/code&gt; package.&lt;/p&gt;&#10;&lt;h2 id="installation"&gt;&#10; Installation&#10; &lt;a class="heading-link" href="#installation" aria-labelledby="installation"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;Following the &lt;a href="https://polyglot.readthedocs.io/en/latest/Installation.html"&gt;installation instructions&lt;/a&gt;, I install the dependencies for &lt;code&gt;polyglot&lt;/code&gt; on my Ubuntu 20.04 machine with:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-shell" data-lang="shell"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;sudo apt-get install python-numpy libicu-dev&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;But I still got an &lt;code&gt;ModuleNotFoundError&lt;/code&gt; for &lt;code&gt;icu&lt;/code&gt; when I try to import &lt;code&gt;polyglot&lt;/code&gt; in, so I fixed this by installing the module with &lt;code&gt;pip&lt;/code&gt;:&lt;/p&gt;</description></item><item><title>Vẽ biểu đồ choropleth với R</title><link>https://hieuphay.com/choropleth/</link><pubDate>Thu, 24 Sep 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/choropleth/</guid><description>&lt;style&gt;&#10; .ox-hugo-toc ul {&#10; list-style: none;&#10; }&#10;&lt;/style&gt;&#10;&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/choropleth/#l%c3%a0m-quen-v%e1%bb%9bi-shapefile-trong-r"&gt;Làm quen với shapefile trong R&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/choropleth/#%c4%91%e1%bb%95-m%c3%a0u-v%c3%a0o-b%e1%ba%a3n-%c4%91%e1%bb%93"&gt;Đổ màu vào bản đồ&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Biểu đồ chorolepth nghe có vẻ lạ lẫm, nhưng thực ra khái niệm của nó rất đơn giản. Tôi dịch và rút gọn đoạn giới thiệu sau từ trang &lt;a href="https://en.wikipedia.org/wiki/Choropleth%5Fmap"&gt;wiki tiếng Anh&lt;/a&gt;:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;Bản đồ chorolepth (từ tiếng Hy Lạp χῶρος &amp;ldquo;khu vực/vùng&amp;rdquo; và πλῆθος &amp;ldquo;số lượng&amp;rdquo;) là một loại địa đồ trong đó các khu vực được đổ bóng hoặc thêm hoạ tiết tương đương với giá trị của một biến số thống kê. Biến số này đại diện cho một tóm tắt tổng hợp về một đặc điểm địa lý trong mỗi khu vực, ví dụ như mật độ dân số hay thu nhập trên đầu người.&lt;/p&gt;</description></item><item><title>Phân biệt thuật ngữ trong thống kê, học máy và kinh tế lượng</title><link>https://hieuphay.com/phan-biet-thuat-ngu/</link><pubDate>Tue, 25 Aug 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/phan-biet-thuat-ngu/</guid><description>&lt;style&gt;&#10; .ox-hugo-toc ul {&#10; list-style: none;&#10; }&#10;&lt;/style&gt;&#10;&lt;div class="ox-hugo-toc toc"&gt;&#10;&lt;div&gt;&lt;/div&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/phan-biet-thuat-ngu/#c%c3%b9ng-kh%c3%a1i-ni%e1%bb%87m-kh%c3%a1c-thu%e1%ba%adt-ng%e1%bb%af"&gt;Cùng khái niệm, khác thuật ngữ&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/phan-biet-thuat-ngu/#kh%c3%a1c-kh%c3%a1i-ni%e1%bb%87m-c%c3%b9ng-thu%e1%ba%adt-ng%e1%bb%af"&gt;Khác khái niệm, cùng thuật ngữ&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;p&gt;Chuyện một khái niệm được gọi bằng vài cái tên khác nhau trong các lĩnh vực khác nhau là không mới, nhất là đối với các lĩnh vực gần nhau là &lt;em&gt;học máy&lt;/em&gt; (machine learning), &lt;em&gt;thống kê&lt;/em&gt; và &lt;em&gt;kinh tế lượng&lt;/em&gt;. Các nhà nghiên cứu trong các cộng đồng nhỏ chuyên sâu hầu như ít khi nắm bắt được sự phát triển trong các ngành lân cận, cuối cùng lại sử dụng những thuật ngữ khác nhau cho cùng một khái niệm, hay tệ hơn là tự &amp;lsquo;phát minh&amp;rsquo; ra những khái niệm vốn có, sử dụng một thuật ngữ mới.&lt;/p&gt;</description></item><item><title>My vanilla Emacs configurations</title><link>https://hieuphay.com/emacs-config/</link><pubDate>Mon, 17 Aug 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/emacs-config/</guid><description>&lt;div class="ox-hugo-toc toc has-section-numbers"&gt;&#10;&lt;div class="heading"&gt;Table of Contents&lt;/div&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#prerequisite"&gt;Prerequisite&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#reproducible-information"&gt;Reproducible information&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;1.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#installing"&gt;Installing&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#initiation"&gt;Initiation&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#setup-and-bootstrap"&gt;Setup and bootstrap&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#better-defaults"&gt;Better Defaults&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;2.3&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#informative-variable"&gt;Informative variable&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#appearence"&gt;Appearence&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#interface"&gt;Interface&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;3.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#aesthetics"&gt;Aesthetics&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#hydra-and-self-defined-commands"&gt;Hydra and self-defined commands&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#my-commands"&gt;My commands&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;4.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#my-hydras"&gt;My hydras&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#editing"&gt;Editing&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#incremental-completion-with-helm"&gt;Incremental completion with &lt;code&gt;helm&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#company"&gt;Company&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.3&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#yasnippets"&gt;Yasnippets&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.4&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#smartparens"&gt;Smartparens&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.5&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#multiple-cursor"&gt;Multiple-cursor&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.6&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#electric-operator"&gt;Electric-operator&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.7&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#auto-highlight-symbol"&gt;Auto-highlight-symbol&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.8&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#expand-region"&gt;Expand-region&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;5.9&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#eyebrowse"&gt;Eyebrowse&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#notetaking-with-org-mode"&gt;Notetaking with &lt;code&gt;org-mode&lt;/code&gt;&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#setting-up"&gt;Setting up&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#org-exports"&gt;Org-exports&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6.3&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#org-agenda"&gt;Org-agenda&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6.4&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#org-ref"&gt;Org-ref&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6.5&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#org-journal"&gt;Org-journal&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;6.6&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#org-roam"&gt;Org-roam&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;7&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#utilities"&gt;Utilities&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;7.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#projectile"&gt;Projectile&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;7.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#magit"&gt;Magit&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;7.3&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#search"&gt;Search&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;7.4&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#which-key"&gt;Which-key&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;7.5&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#restart-emacs"&gt;Restart-emacs&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#languages-modes"&gt;Languages Modes&lt;/a&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.1&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#r-ess-mode"&gt;R: &lt;code&gt;ess-mode&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.2&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#python-elpy"&gt;Python: &lt;code&gt;elpy&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.3&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#julia-julia-mode-and-julia-snail"&gt;Julia: &lt;code&gt;julia-mode&lt;/code&gt; and &lt;code&gt;julia-snail&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.4&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#jupyter-notebook-emacs-jupiter"&gt;Jupyter Notebook: &lt;code&gt;emacs-jupiter&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.5&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#latex-auctex-and-cdlatex"&gt;LaTeX: &lt;code&gt;AUCTeX&lt;/code&gt; and &lt;code&gt;CDLaTeX&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.6&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#markdown-markdown-mode"&gt;Markdown: &lt;code&gt;markdown-mode&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.7&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#emacs-lisp"&gt;Emacs Lisp&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.8&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#css-mode"&gt;CSS: &lt;code&gt;css-mode&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.9&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#pdf-tools"&gt;PDF: &lt;code&gt;pdf-tools&lt;/code&gt;&lt;/a&gt;&lt;/li&gt;&#10;&lt;li&gt;&lt;span class="section-num"&gt;8.10&lt;/span&gt; &lt;a href="https://hieuphay.com/emacs-config/#org-mode-babel"&gt;Org-mode Babel&lt;/a&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/div&gt;&#10;&lt;!--endtoc--&gt;&#10;&lt;div class="notice warning"&gt;&#10; &lt;div class="notice-title"&gt;&#10; &lt;i class="fa fa-exclamation-triangle" aria-hidden="true"&gt;&lt;/i&gt;This config is no longer in use&#10; &lt;/div&gt;&#10; &lt;div class="notice-content"&gt;&lt;p&gt;Since March 2020, I have migrated to &lt;a href="https://github.com/hlissner/doom-emacs"&gt;Doom Emacs&lt;/a&gt;, and won&amp;rsquo;t be using this config anymore. This emacs configuration will be archived at &lt;a href="https://github.com/hieutkt/emacs-config"&gt;this Github repo&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Website này được hình thành như thế nào?</title><link>https://hieuphay.com/xay-dung-website/</link><pubDate>Mon, 25 May 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/xay-dung-website/</guid><description>&lt;div class="epigraph"&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;"Tôi online, nên tôi tồn tại"&lt;/p&gt;&#10;&lt;footer&gt;&#10;&amp;ndash; Hiếu Phẩy&#10;&lt;/footer&gt;&#10;&lt;/blockquote&gt;&#10;&lt;/div&gt;&#10;&lt;h2 id="vì-sao-tạo-ra-một-cái-blog"&gt;&#10; Vì sao tạo ra một cái blog?&#10; &lt;a class="heading-link" href="#v%c3%ac-sao-t%e1%ba%a1o-ra-m%e1%bb%99t-c%c3%a1i-blog" aria-labelledby="vì-sao-tạo-ra-một-cái-blog"&gt;&#10; &lt;i class="fa fa-link" aria-hidden="true"&gt;&lt;/i&gt;&#10; &lt;/a&gt;&#10;&lt;/h2&gt;&#10;&lt;p&gt;&lt;span class="newthought"&gt;Tôi đã làm nghiên cứu được hai năm,&lt;/span&gt;&#10;kể từ khoảng sau khi tốt nghiệp đại học. Thời đại học, tôi đã định sẽ theo đuổi món khoa học dữ liệu chứ không phải nghiên cứu kinh tế học. Vì vậy, tôi bước vào thế giới kinh tế học hàn lâm với kha khá nền tảng về lập trình toán và thống kê, chút kiến thức kinh tế học còn sót lại từ đại học, và hoàn toàn không biết gì về phương pháp nghiên cứu&#10;&lt;label for="sidenote-a5405f5b3c44ba18165da46b5e582ef4-2" class="margin-toggle prose-toggle sidenote-number"&gt;&lt;/label&gt;&#10;&lt;input type="checkbox" id="sidenote-a5405f5b3c44ba18165da46b5e582ef4-2" class="margin-toggle"/&gt;&#10;&lt;span class="sidenote prose-margin"&gt;Thời đại học tôi học hành cũng không được tập trung cho lắm.&lt;/span&gt;&#10;.&lt;/p&gt;</description></item><item><title>Anki burnout</title><link>https://hieuphay.com/anki-burntout/</link><pubDate>Thu, 07 May 2020 00:00:00 +0000</pubDate><guid>https://hieuphay.com/anki-burntout/</guid><description>&lt;p&gt;I have been learning Hanzi characters (actually, more like Sino-Vietnamese) as a hobby since the beginning of this year. Last year, when I helped one of my colleages with learning &lt;span class='smallcap'&gt;gre&lt;/span&gt; vocabulary, the interest for Anki sparked again in me and I started working on my Hanzi deck.&lt;/p&gt;&#10;&lt;p&gt;In order to make learning fun (or maybe just less tedious), I practiced the habit to wake up at 6am everyday to do my Anki reviews. This takes approximately 30 minutes each day, and I am rewarded with a positive sensation after having learned something to start off the day. It was great.&lt;/p&gt;</description></item><item><title>Writing LaTeX PDF documents using Emacs Org-Mode</title><link>https://hieuphay.com/export-orgmode-latex/</link><pubDate>Thu, 17 May 2018 05:47:23 +0700</pubDate><guid>https://hieuphay.com/export-orgmode-latex/</guid><description>&lt;p&gt;I love &lt;a href="https://www.gnu.org/software/emacs/"&gt;Emacs&lt;/a&gt;. It is a programmable text editor that streamlined many of my workflows. Nowadays, I do most of my computer-related tasks via Emacs, and writing is one of them.&lt;/p&gt;&#10;&lt;p&gt;&lt;span class="katex"&gt;&lt;span class="katex-mathml"&gt;&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mtext&gt;LaTeX&lt;/mtext&gt;&lt;/mrow&gt;&lt;annotation encoding="application/x-tex"&gt;\LaTeX&lt;/annotation&gt;&lt;/semantics&gt;&lt;/math&gt;&lt;/span&gt;&lt;span class="katex-html" aria-hidden="true"&gt;&lt;span class="base"&gt;&lt;span class="strut" style="height:0.8988em;vertical-align:-0.2155em;"&gt;&lt;/span&gt;&lt;span class="mord text"&gt;&lt;span class="mord textrm"&gt;L&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.36em;"&gt;&lt;/span&gt;&lt;span class="vlist-t"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.6833em;"&gt;&lt;span style="top:-2.905em;"&gt;&lt;span class="pstrut" style="height:2.7em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord textrm mtight sizing reset-size6 size3"&gt;A&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.15em;"&gt;&lt;/span&gt;&lt;span class="mord text"&gt;&lt;span class="mord textrm"&gt;T&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.1667em;"&gt;&lt;/span&gt;&lt;span class="vlist-t vlist-t2"&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.4678em;"&gt;&lt;span style="top:-2.7845em;"&gt;&lt;span class="pstrut" style="height:3em;"&gt;&lt;/span&gt;&lt;span class="mord"&gt;&lt;span class="mord textrm"&gt;E&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-s"&gt;​&lt;/span&gt;&lt;/span&gt;&lt;span class="vlist-r"&gt;&lt;span class="vlist" style="height:0.2155em;"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="mspace" style="margin-right:-0.125em;"&gt;&lt;/span&gt;&lt;span class="mord textrm"&gt;X&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; is the industry standard when it comes to publishing scientific documents. The problem is, sometimes writing &lt;code&gt;.tex&lt;/code&gt; documents can be tedious due to LaTeX&amp;rsquo;s complicated syntax. That is why I use simpler markup formats (like &lt;code&gt;.org&lt;/code&gt; or &lt;code&gt;.markdown&lt;/code&gt;) to write documents, convert them to &lt;code&gt;.tex&lt;/code&gt; and later compile the converted &lt;code&gt;.tex&lt;/code&gt; into &lt;span class='acr'&gt;pdf&lt;/span&gt; files.&lt;/p&gt;</description></item><item><title>A bubbly look at the Bitcoin bubble</title><link>https://hieuphay.com/bitcoin-bubble-plot/</link><pubDate>Tue, 02 Jan 2018 00:00:00 +0000</pubDate><guid>https://hieuphay.com/bitcoin-bubble-plot/</guid><description>&lt;p&gt;2017 was an insane year in the cryptocurrency world as bitcoin and other cryptocurrencies (so-called &lt;em&gt;altcoins&lt;/em&gt;) caught the attention of mainstream media.&#10;This is associated to the fact that Bitcoin and other cryptos&amp;rsquo; prices surged exponentially in a historically short period.&#10;Bitcoin went from less than 1000 &lt;span class='smallcap'&gt;usd&lt;/span&gt; per coin in January 2017 to 13500 &lt;span class='smallcap'&gt;usd&lt;/span&gt; by the end of the year, with its peak even reached 20000 at sometime during December.&lt;/p&gt;</description></item><item><title>About</title><link>https://hieuphay.com/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hieuphay.com/about/</guid><description>&lt;p&gt;&#10;&lt;label for="marginnote-6083a88ee3411b0d17ce02d738f69d47-0" class="margin-toggle prose-toggle" aria-label="Margin note"&gt;&lt;i class="fa fa-comment-dots"&gt;&lt;/i&gt;&lt;/label&gt;&#10;&lt;input type="checkbox" id="marginnote-6083a88ee3411b0d17ce02d738f69d47-0" class="margin-toggle"/&gt;&#10;&lt;span class="marginnote prose-margin"&gt;&lt;img src="https://hieuphay.com/images/avatar.jpg"&gt;&lt;/span&gt;&#10;&#10;This website is under construction, but feel free to look around.&lt;/p&gt;</description></item><item><title>Giới thiệu</title><link>https://hieuphay.com/vi/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://hieuphay.com/vi/about/</guid><description>&lt;p&gt;&#10;&lt;label for="marginnote-370ae39ea319a388b3b1d145b840c448-0" class="margin-toggle prose-toggle" aria-label="Ghi chú lề"&gt;&lt;i class="fa fa-comment-dots"&gt;&lt;/i&gt;&lt;/label&gt;&#10;&lt;input type="checkbox" id="marginnote-370ae39ea319a388b3b1d145b840c448-0" class="margin-toggle"/&gt;&#10;&lt;span class="marginnote prose-margin"&gt;&lt;img src="https://hieuphay.com/images/avatar.jpg"&gt;&lt;/span&gt;&#10;&#10;Trang web này đang thi công. Mời bạn cứ vọc quanh.&lt;/p&gt;</description></item></channel></rss>