LLM RAG 簡單實作範例以及限制
這篇文章作者用 Python 實作了一個簡單的 Harry Potter Q&A https://medium.com/@petrpan/llm-101-build-your-own-book-reading-bot-or-search-engine-with-llm...
如何播放音樂?
音樂被儲存以後 (可見 "[無損音樂是什麼?](https://blog.waynechu.cc/whats-nondestructive-music)" ),要怎麼被播放出來呢? 1. 首先要有一個設備讀取音樂的訊號,例如 0/1 的訊號 2. 需要把這個訊號...
無損音樂是什麼?
首先,除非你現場聽不插電演奏,否則沒有任何的音樂是無損的。為什麼呢? 因為音樂紀錄的方式是把音波轉換為 0 and 1 的形式儲存,期間一定會有耗損,所謂的無損音樂就是指耗損少到一般人聽不出來而已。 那麼音樂如何儲存呢? (注意這裡講的是儲存,也就是音源,...
Open AI 的 prompt guide
[https://platform.openai.com/docs/guides/prompt-engineering/strategy-provide-reference-text?](https://platform.openai.com/docs/guides/pro...
Migrate blog to Ghost
### Reason 原本我的 blog 是用 Rails 寫的簡單 blogger,原因沒別的就是當時閒閒無聊想說自己的 blog 自己做,什麼都可以客製化,的確是用起來很順手,用了各種工具做了看得順眼的 syntax highlights、好用的 editor、自...
Customize Mac sleep shortcut without any 3rd party software
Settings -> Keyboard -> Keyboard Shortcuts -> App Shortcuts -> Add new shortcut to All application, name is `Sleep`  ---------------------------------- L1 cache refere...
壓力測試的工具 - JMeter
JMeter 是個可以拿來做 performance testing 的工具,可以併發 request 做壓力測試 https://jmeter.apache.org/  Messaging works
OTR stands for Off-the-Record Messaging, the OTR protocol was designed by cryptographers Ian Goldberg and Nikita Borisov and released on ...