May 16, 2025
·
12 min read
· Page View:

Live Photos 作为最早 Apple 在2015年9月发布的 iPhone6s
和 6s Plus
中引入的特色功能,很快就在手机摄影领域独树一帜,收获了无数忠实用户,Live Photo 的特色在于,它不仅仅是一张静态的照片,用户在拍摄实况照片时,iPhone会录下拍照前后各 1.5 秒所发生的一切。在 24 年下半年,随着微信宣布支持实况照片,Live Photo 再次成为了各大应用以及手机厂商的焦点,在短时间内无法实现更好的 AI 叙事的当下,不少手机厂商将 Live photo 适配各大社交媒体视为这个季度的业绩救赎,最近我也在思考,是否可以在博客中添加这个 feature,以便可以更好地展示照片的内容,在经过一番仔细搜索之后,发现网上完全没有关于 Hugo 支持 Live photo 的任何讨论,因此我决定自己动手实现这个 feature,也就有了本篇文章。
...
April 18, 2025
·
7 min read
· Page View:

最近在写数学相关的博客的时候,发现 mathjax
的渲染效果不尽人意,经常会在渲染的时候出现非预期的渲染效果,虽然只是极个别的公式,对整体影响并不大,当然我可以放着不解决,继续进行接下来的事情,或者简单将公式通过截图的形式放在文章里,也无伤大雅。但是凡事得想长远,想本质,今天大可以为了这一个公式采用省事的方法解决,那么它不会是我写的最后一个公式,未来可能还会有更多,因为这是一个长期的问题,如果放任不管,可能下次遇到类似的问题,我可能还是会采用省事的方法解决,那么这个问题就会一直存在,所以我认为放下手头的事,集中解决这个问题是值得的。
...
December 18, 2024
·
5 min read
· Page View:

I have been busy migrating my blog this week. Coincidentally, I learned that there may be cases of commit forgery on GitHub. Therefore, for security reasons, I added a GPG signature. However, when deploying Hugo, I encountered many problems regarding whether GPG signatures can also be used. Fortunately, I finally solved them.
...
December 14, 2024
·
5 min read
· Page View:

So after a long time, I decide to restart my blog program. In my daily development, I have a lot of thoughts and ideas, thus I will write some documents to record them. But I believe that sharing is the best way to learn. A specific example is cryptography
, which means the closing source algorithm is never the safest. Only algorithms that have been vetted by the public are truly secure.
...