diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 60fb2d82eb..baf45b47e6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,14 +5,14 @@ ci: - cspell repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.6.9 hooks: - id: ruff args: - --fix - id: ruff-format - repo: https://github.com/commitizen-tools/commitizen - rev: v3.28.0 + rev: v3.29.1 hooks: - id: commitizen - repo: https://github.com/liblaf/pre-commit-hooks @@ -21,7 +21,7 @@ repos: - id: prettier exclude: (.*-lock\..*)|(.*\.lock)$ - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.6.0 + rev: v5.0.0 hooks: - id: check-added-large-files - id: check-ast @@ -43,16 +43,16 @@ repos: - id: mixed-line-ending - id: trailing-whitespace - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.1 + rev: 0.29.3 hooks: - id: check-github-workflows - repo: https://github.com/sirosen/texthooks - rev: 0.6.6 + rev: 0.6.7 hooks: - id: fix-ligatures - id: fix-spaces - id: forbid-bidi-controls - repo: https://github.com/streetsidesoftware/cspell-cli - rev: v8.13.1 + rev: v8.14.0 hooks: - id: cspell diff --git a/src/2022/course-work/hpc/2022-04-10-pa1-odd_even_sort.md b/src/2022/course-work/hpc/2022-04-10-pa1-odd_even_sort.md index 1df5c25a49..ec9712392d 100644 --- a/src/2022/course-work/hpc/2022-04-10-pa1-odd_even_sort.md +++ b/src/2022/course-work/hpc/2022-04-10-pa1-odd_even_sort.md @@ -228,7 +228,9 @@ Continuing in this manner, by induction it can be shown that the $i$-th rightmos We remark that each pass takes $O(n)$ steps, so this algorithm has $O(n^2)$ complexity. [^6]: ["Five Lectures on CA"](http://liinwww.ira.uka.de/~thw/vl-hiroshima/slides-4.pdf) (PDF). _Liinwww.ira.uka.de_. Retrieved 2017-07-30. + [^7]: Lang, Hans Werner. ["The 0-1-principle"](http://www.iti.fh-flensburg.de/lang/algorithmen/sortieren/networks/nulleinsen.htm). _Iti.fh-flensburg.de_. Retrieved 30 July 2017. + [^8]: ["Distributed Sorting"](http://www.net.t-labs.tu-berlin.de/~stefan/netalg13-9-sort.pdf) (PDF). _Net.t-labs.tu-berlin.de_. Retrieved 2017-07-30. ### Source Code diff --git a/src/2022/research/idea/2022-01-26-how-to-build-linux-kernel.md b/src/2022/research/idea/2022-01-26-how-to-build-linux-kernel.md index e591a79572..120e4c2e13 100644 --- a/src/2022/research/idea/2022-01-26-how-to-build-linux-kernel.md +++ b/src/2022/research/idea/2022-01-26-how-to-build-linux-kernel.md @@ -192,8 +192,13 @@ If you stuck on `Loading inital ramdisk...` after reboot, try adding `IUCODE_TOO ## Reference [^1]: [How To Build Linux Kernel {Step-By-Step} \| phoenixNAP KB](https://phoenixnap.com/kb/build-linux-kernel) + [^2]: [compilation - BTF: .tmp_vmlinux.btf: pahole (pahole) is not available - Stack Overflow](https://stackoverflow.com/questions/61657707/btf-tmp-vmlinux-btf-pahole-pahole-is-not-available) + [^3]: [Compiling the kernel 5.11.11 - Ask Ubuntu](https://askubuntu.com/questions/1329538/compiling-the-kernel-5-11-11) + [^4]: [Building Linux with Clang/LLVM — The Linux Kernel documentation](https://www.kernel.org/doc/html/v5.13/kbuild/llvm.html) + [^5]: [How Do I Change the Default Boot Kernel in Ubuntu?\_Elastic Cloud Server_Troubleshooting_Linux Issues_HUAWEI CLOUD](https://support.huaweicloud.com/intl/en-us/trouble-ecs/ecs_trouble_0327.html) + [^6]: [boot - Stuck on "Loading initial ramdisk..." after upgrading - Ask Ubuntu](https://askubuntu.com/questions/1145535/stuck-on-loading-initial-ramdisk-after-upgrading) diff --git a/src/2022/research/idea/2022-07-16-build-ijkplayer-with-clang.md b/src/2022/research/idea/2022-07-16-build-ijkplayer-with-clang.md index 5cb07cd9cd..cad1f93231 100644 --- a/src/2022/research/idea/2022-07-16-build-ijkplayer-with-clang.md +++ b/src/2022/research/idea/2022-07-16-build-ijkplayer-with-clang.md @@ -240,4 +240,5 @@ Here are some discussions on [GitHub](https://github.com/bilibili/ijkplayer). I ## Reference [^1]: [c - Unknown directive .altmacro error happens when using android-ndk standalone toolchain - Stack Overflow](https://stackoverflow.com/questions/47938599/unknown-directive-altmacro-error-happens-when-using-android-ndk-standalone-tool) + [^2]: [linux - error while loading shared libraries: libncurses.so.5: - Stack Overflow](https://stackoverflow.com/questions/17005654/error-while-loading-shared-libraries-libncurses-so-5) diff --git a/src/2022/research/idea/2022-09-21-how-to-build-telegram-for-android.md b/src/2022/research/idea/2022-09-21-how-to-build-telegram-for-android.md index 8bcd1bb745..7688ba3e6c 100644 --- a/src/2022/research/idea/2022-09-21-how-to-build-telegram-for-android.md +++ b/src/2022/research/idea/2022-09-21-how-to-build-telegram-for-android.md @@ -50,4 +50,5 @@ In Android Studio Telegram depends on some prebuilt static libraries. However, ASan requires a shared build.[^2] I haven't find a way to use ASan yet. [^1]: [DrKLO/Telegram: Telegram for Android source](https://github.com/DrKLO/Telegram#compilation-guide) + [^2]: [Address Sanitizer | Android NDK | Android Developers](https://developer.android.com/ndk/guides/asan) diff --git a/src/2023/posts/2023-02-10-clash-auto-select.md b/src/2023/posts/2023-02-10-clash-auto-select.md index 93ef9ebcbf..f6a3c635c2 100644 --- a/src/2023/posts/2023-02-10-clash-auto-select.md +++ b/src/2023/posts/2023-02-10-clash-auto-select.md @@ -31,4 +31,5 @@ parsers: ## Reference [^1]: "配置文件预处理 | Clash for Windows" + [^2]: "Auto - Clash" diff --git a/src/2024/research/slides/2024-02-28-group-meeting.md b/src/2024/research/slides/2024-02-28-group-meeting.md index b0934fa4f9..1ec1a4a8ea 100644 --- a/src/2024/research/slides/2024-02-28-group-meeting.md +++ b/src/2024/research/slides/2024-02-28-group-meeting.md @@ -89,11 +89,17 @@ mesh-kit view register ~/Documents/data/targets/*/pre/register-skull/ - [^7]\: probabilistic FEM [^1]: Zhang, Xiaoyan, Zhen Tang, Michael A. K. Liebschner, Daeseung Kim, Shunyao Shen, Chien-Ming Chang, Peng Yuan, et al. “An eFace-Template Method for Efficiently Generating Patient-Specific Anatomically-Detailed Facial Soft Tissue FE Models for Craniomaxillofacial Surgery Simulation.” Annals of Biomedical Engineering 44, no. 5 (May 2016): 1656–71. https://doi.org/10.1007/s10439-015-1480-7. + [^2]: Zhang, Xiaoyan, Daeseung Kim, Shunyao Shen, Peng Yuan, Siting Liu, Zhen Tang, Guangming Zhang, et al. “An eFTD-VP Framework for Efficiently Generating Patient-Specific Anatomically Detailed Facial Soft Tissue FE Mesh for Craniomaxillofacial Surgery Simulation.” Biomechanics and Modeling in Mechanobiology 17, no. 2 (April 2018): 387–402. https://doi.org/10.1007/s10237-017-0967-6. + [^3]: Kim, Daeseung, Dennis Chun‐Yu Ho, Huaming Mai, Xiaoyan Zhang, Steve G.F. Shen, Shunyao Shen, Peng Yuan, et al. “A Clinically Validated Prediction Method for Facial Soft‐tissue Changes Following Double‐jaw Surgery.” Medical Physics 44, no. 8 (August 2017): 4252–61. https://doi.org/10.1002/mp.12391. + [^4]: Kim, Daeseung, Tianshu Kuang, Yriu L. Rodrigues, Jaime Gateno, Steve G. F. Shen, Xudong Wang, Han Deng, et al. “A New Approach of Predicting Facial Changes Following Orthognathic Surgery Using Realistic Lip Sliding Effect.” In Medical Image Computing and Computer Assisted Intervention – MICCAI 2019, edited by Dinggang Shen, Tianming Liu, Terry M. Peters, Lawrence H. Staib, Caroline Essert, Sean Zhou, Pew-Thian Yap, and Ali Khan, 11768:336–44. Lecture Notes in Computer Science. Cham: Springer International Publishing, 2019. https://doi.org/10.1007/978-3-030-32254-0_38. + [^5]: San Vicente, G., C. Buchart, D. Borro, and J. T. Celigüeta. “Maxillofacial Surgery Simulation Using a Mass-Spring Model Derived from Continuum and the Scaled Displacement Method.” International Journal of Computer Assisted Radiology and Surgery 4, no. 1 (January 2009): 89–98. https://doi.org/10.1007/s11548-008-0271-0. + [^6]: Kim, Hyungmin, Philipp Jürgens, Stefan Weber, Lutz-Peter Nolte, and Mauricio Reyes. “A New Soft-Tissue Simulation Strategy for Cranio-Maxillofacial Surgery Using Facial Muscle Template Model.” Progress in Biophysics and Molecular Biology 103, no. 2–3 (2010): 284–91. + [^7]: Knoops, Paul GM, Alessandro Borghi, Federica Ruggiero, Giovanni Badiali, Alberto Bianchi, Claudio Marchetti, Naiara Rodriguez-Florez, Richard WF Breakey, Owase Jeelani, and David J. Dunaway. “A Novel Soft Tissue Prediction Methodology for Orthognathic Surgery Based on Probabilistic Finite Element Modelling.” PloS One 13, no. 5 (2018): e0197209. @slideend diff --git a/src/2024/research/slides/2024-03-06-group-meeting.md b/src/2024/research/slides/2024-03-06-group-meeting.md index 43bb20ecd7..2bc8b5871f 100644 --- a/src/2024/research/slides/2024-03-06-group-meeting.md +++ b/src/2024/research/slides/2024-03-06-group-meeting.md @@ -45,9 +45,13 @@ title: 2024-03-06 组会 - (大约 2010 年后) 工作的贡献在于模型的改进, 如: 滑动区域, 模型切割, 等 [^1]: Ma, Lei, Deqiang Xiao, Daeseung Kim, Chunfeng Lian, Tianshu Kuang, Qin Liu, Hannah Deng, Erkun Yang, Michael AK Liebschner, and Jaime Gateno. “Simulation of Postoperative Facial Appearances via Geometric Deep Learning for Efficient Orthognathic Surgical Planning.” IEEE Transactions on Medical Imaging 42, no. 2 (2022): 336–45. + [^2]: San Vicente, G., C. Buchart, D. Borro, and J. T. Celigüeta. “Maxillofacial Surgery Simulation Using a Mass-Spring Model Derived from Continuum and the Scaled Displacement Method.” International Journal of Computer Assisted Radiology and Surgery 4, no. 1 (January 2009): 89–98. https://doi.org/10.1007/s11548-008-0271-0. + [^3]: Cotin, Stéphane, Hervé Delingette, and Nicholas Ayache. “A Hybrid Elastic Model Allowing Real-Time Cutting, Deformations and Force-Feedback for Surgery Training and Simulation.” Visual Computer 16, no. 8 (2000): 437–52. + [^4]: Koch, Rolf M., Markus H. Gross, Friedrich R. Carls, Daniel F. Von Büren, George Fankhauser, and Yoav I. H. Parish. “Simulating Facial Surgery Using Finite Element Models.” In Proceedings of the 23rd Annual Conference on Computer Graphics and Interactive Techniques, 421–28. ACM, 1996. https://doi.org/10.1145/237170.237281. + [^5]: Pan, Binbin, Guangming Zhang, James J. Xia, Peng Yuan, Horace HS Ip, Qizhen He, Philip KM Lee, Ben Chow, and Xiaobo Zhou. “Prediction of Soft Tissue Deformations after CMF Surgery with Incremental Kernel Ridge Regression.” Computers in Biology and Medicine 75 (2016): 1–9. --