Building FFMpeg with NDK r21eThere’s a lot of ffmpeg build script out there you can find on the Internet. But I can find none of them using r21e with FFMpeg 4.3. So…Jun 12, 2021Jun 12, 2021
Using Kotlin in Your Qt ProjectKotlin has been out for a while. But, there’s no template project for Kotlin development in Qt. For those who are not familiar with Gradle…Mar 4, 2021Mar 4, 2021
String Searching in Linear Complexity— Knuth–Morris–Pratt AlgorithmFor string searching, it is easy to come up with a naive solution for string searchingJan 20, 2021Jan 20, 2021
CMake ServerI’ve been use cmake+vscode workflow happily for years. Both cpptool and cmake-tool work well and they interlope perfectly. Recently, I…Feb 2, 2020Feb 2, 2020
PyCUDA/CuPy PyTorch InterlopSince I need fast autograd for my research, and PyTorch naturally becomes my best choice. Calculating stuff in batch make my code more…Nov 22, 2019Nov 22, 2019
《薄伽梵歌》讀後心得有發現自己比較適合閱讀字少少的哲學書,可以讓我在腦中細細品味。《薄伽梵歌》只有七百行就特別適合我!不過當初會拿來閱讀只是聽說愛因斯坦明明是無神論者,他卻也讀過這本書,而這本書是宗教的經典。同為無神論者的我也很想要一探究竟!Jun 29, 2019Jun 29, 2019
PyCUDA 和 PyTorch交互最近這些日子需要用到自動微分選擇了pytorch,batch運算有時候很爽快,只不過依然有某些操作實在很難寫,尤其是batch運算裡面有if-else的。比如以下:May 18, 2019May 18, 2019
OptiX Prime 的使用(Python/C++)最近NVidia RTX顯卡很紅,我想原本的OptiX光跡追蹤引擎應該也因此被加速了不少。其中OptiX Prime是他的Low-level API,拿來讓你做triangle hit testApr 5, 20191Apr 5, 20191
Ultralight 嶄新的HTML UI Engine現在大家對軟體的顏值要求不斷上升。因此,最近幾年一直使用Electron開發一些對UI/UX高要求的程式,比如SLiMTAB和ChessGameDesigner。Apr 5, 2019Apr 5, 2019