借助 ChatGPT 修改履歷

透過 ChatGPT 輔助修改履歷的過程,我覺得在和 ChatGPT 溝通的過程其實挺順暢的,簡單扼要並清楚的告訴 ChatGPT 當前遭遇的問題,以及相關的背景設定與假設條件,通常都能獲得不錯的結果。 即使第一次輸出的結果並不符合我的期待,在明確告知 ChatGPT 後也能得到較為滿意的結果。 而唯一需要注意的一點,是 ChatGPT 告訴我他會執行下載檔案的行為,以便讀取檔案內容;未來若有相似需要 ChatGPT 的協助,則應該更加注意是否已避開提供機敏性的資料。

<span title='2023-02-17 23:29:09 +0800 +0800'>February 17, 2023</span>&nbsp;·&nbsp;3 分鐘&nbsp;·&nbsp;1103 字&nbsp;·&nbsp;ZhengWei, Liu

Hugo-PaperMod theme 設定

這篇文章整理了個人使用 PaperMod theme 的設定

<span title='2023-01-09 14:27:41 +0800 +0800'>January 9, 2023</span>&nbsp;·&nbsp;5 分鐘&nbsp;·&nbsp;2254 字&nbsp;·&nbsp;ZhengWei, Liu

GitHub Pages 設定 Custom Domain ( Go Daddy )

這篇文章主要提供 GitHub Pages 設定 custom domain 的過程

<span title='2023-01-05 22:42:35 +0800 +0800'>January 5, 2023</span>&nbsp;·&nbsp;1 分鐘&nbsp;·&nbsp;426 字&nbsp;·&nbsp;ZhengWei, Liu

Hugo 安裝與部署到 GitHub Pages ( Mac M2 )

這篇文章主要提供在 Mac M2 上安裝 Hugo 、執行一個 quick start 的示範站點,並自動部署到 GitHub Pages 的過程

<span title='2023-01-05 14:58:42 +0800 +0800'>January 5, 2023</span>&nbsp;·&nbsp;5 分鐘&nbsp;·&nbsp;2029 字&nbsp;·&nbsp;ZhengWei, Liu

[leetcode][Python][Concurrency][Medium] 1226. The Dining Philosophers

Description Five silent philosophers sit at a round table with bowls of spaghetti. Forks are placed between each pair of adjacent philosophers. Each philosopher must alternately think and eat. However, a philosopher can only eat spaghetti when they have both left and right forks. Each fork can be held by only one philosopher and so a philosopher can use the fork only if it is not being used by another philosopher....

<span title='2022-12-24 15:05:27.192 +0000 UTC'>December 24, 2022</span>&nbsp;·&nbsp;3 分鐘&nbsp;·&nbsp;498 字&nbsp;·&nbsp;ZhengWei, Liu

[leetcode][Python][Concurrency][Medium] 1195. Fizz Buzz Multithreaded

Description You have the four functions: printFizz that prints the word "fizz" to the console, printBuzz that prints the word "buzz" to the console, printFizzBuzz that prints the word "fizzbuzz" to the console, and printNumber that prints a given integer to the console. You are given an instance of the class FizzBuzz that has four functions: fizz, buzz, fizzbuzz and number. The same instance of FizzBuzz will be passed to four different threads:...

<span title='2022-12-24 05:25:42.878 +0000 UTC'>December 24, 2022</span>&nbsp;·&nbsp;3 分鐘&nbsp;·&nbsp;532 字&nbsp;·&nbsp;ZhengWei, Liu

[leetcode][Python][Concurrency][Medium] 1115. Print FooBar Alternately

Description Suppose you are given the following code: class FooBar { public void foo() { for (int i = 0; i < n; i++) { print("foo"); } } public void bar() { for (int i = 0; i < n; i++) { print("bar"); } } } The same instance of FooBar will be passed to two different threads: thread A will call foo(), while thread B will call bar(). Modify the given program to output "foobar" n times....

<span title='2022-12-24 04:07:08.369 +0000 UTC'>December 24, 2022</span>&nbsp;·&nbsp;1 分鐘&nbsp;·&nbsp;192 字&nbsp;·&nbsp;ZhengWei, Liu

Python3 - asyncio

asyncio is a library to write concurrent code using the async/await syntax. How does asyncio work ? async & await, Create Task & Submit Coroutine, Timeout & Cancel, Gather multi task…

<span title='2022-12-22 14:12:05.02 +0000 UTC'>December 22, 2022</span>&nbsp;·&nbsp;2 分鐘&nbsp;·&nbsp;330 字&nbsp;·&nbsp;ZhengWei, Liu

[leetcode][Python][Concurrency][Medium] 1188. Design Bounded Blocking Queue

Description Implement a thread-safe bounded blocking queue that has the following methods: BoundedBlockingQueue(int capacity) The constructor initializes the queue with a maximum capacity. void enqueue(int element) Adds an element to the front of the queue. If the queue is full, the calling thread is blocked until the queue is no longer full. int dequeue() Returns the element at the rear of the queue and removes it. If the queue is empty, the calling thread is blocked until the queue is no longer empty....

<span title='2022-12-22 07:45:19.754 +0000 UTC'>December 22, 2022</span>&nbsp;·&nbsp;3 分鐘&nbsp;·&nbsp;486 字&nbsp;·&nbsp;ZhengWei, Liu

[leetcode][Python][Concurrency][Medium] 1242. Web Crawler Multithreaded

Description Given a URL startUrl and an interface HtmlParser, implement a Multi-threaded web crawler to crawl all links that are under the same hostname as startUrl. Return all URLs obtained by your web crawler in any order. Your crawler should: Start from the page: startUrl Call HtmlParser.getUrls(url) to get all URLs from a webpage of a given URL. Do not crawl the same link twice. Explore only the links that are under the same hostname as startUrl....

<span title='2022-12-22 06:53:34.26 +0000 UTC'>December 22, 2022</span>&nbsp;·&nbsp;3 分鐘&nbsp;·&nbsp;552 字&nbsp;·&nbsp;ZhengWei, Liu