Skip to content

Commit b7c6e4e

Browse files
committed
2025-03-03 01:52
1 parent 7d4ca86 commit b7c6e4e

35 files changed

+806
-1
lines changed

_images/2025-01-28_185721.png

8.53 KB
Loading

_images/2025-01-28_190103.png

23.9 KB
Loading

_images/2025-02-07_223509.png

2.11 MB
Loading

_images/2025-02-07_223617.png

1.57 MB
Loading

_images/2025-02-07_231141.png

2.67 MB
Loading

_images/2025-02-07_231233.png

619 KB
Loading

_images/2025-02-21_160441.png

12.1 MB
Loading

_images/2025-02-21_173525.png

3.09 MB
Loading

_images/2025-03-02_120217.png

11.4 MB
Loading

_images/2025-03-02_121024.png

8.11 MB
Loading

_images/2025-03-02_130244.png

15.4 MB
Loading

_images/2025-03-02_130525.png

12.3 MB
Loading

_images/2025-03-02_134130.png

11.7 MB
Loading

_images/2025-03-02_134231.png

14.8 MB
Loading

_images/2025-03-02_134304.png

15.3 MB
Loading

_images/2025-03-02_134705.png

13.4 MB
Loading

_images/2025-03-02_134817.png

11.8 MB
Loading

_images/2025-03-02_220145.png

1.59 MB
Loading

_images/2025-03-02_220224.png

2.03 MB
Loading

_images/2025-03-02_220240.png

934 KB
Loading

_images/2025-03-02_220253.png

1.71 MB
Loading

_images/2025-03-02_223841.png

1.14 MB
Loading

_images/2025-03-02_223926.png

1 MB
Loading

_images/2025-03-02_223945.png

1.58 MB
Loading

_images/2025-03-02_224008.png

1.54 MB
Loading

_images/2025-03-03_001323.png

623 KB
Loading

_images/2025-03-03_131147.png

900 KB
Loading

_images/2025-03-03_131156.png

979 KB
Loading

_images/2025-03-03_131202.png

1.02 MB
Loading

blog/2023-changelog.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,18 @@
33
=============
44

55
.. post:: 2024-02-03
6-
:tags: 年度总结, 生活
6+
:tags: 生活, 画画
77
:author: LA
8+
:category: 年度总结
89
:language: zh_CN
910
:location: 杭州
1011

1112
其实每个年初都有写年度总结的冲动,但每年都因为拖延而不了了之。快元旦的时候
1213
:people:`豆豆` 就在群里催大家写总结,现在豆豆和小杰 已各自完成 [1]_ [2]_,
1314
我也该动动笔了。
1415

16+
.. _2023-work-sumup:
17+
1518
工作
1619
====
1720

blog/2024-changelog-dynamic-story.txt

+94
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
.. default-role:: sup
2+
3+
是一个有星星的夜晚,窗户敞开着,窗帘在微风下轻轻摆动。A 蜷缩在被子里 `1`,手机里的网易云对面的那个人是谁呢?`2` 她的善意是真实存在的吗?1853 公里外发来的文本还有余温,仔细闻闻还有淡淡的香气。
4+
5+
|
6+
| 我想不太可能吧,
7+
| 怎么会有人对这样的我投以善意呢?
8+
|
9+
|
10+
|
11+
| 要是真的就好了…
12+
|
13+
14+
.. raw:: html
15+
16+
<p>眼泪偷偷从 A 的眼角里滑落,<span class="distance-number">1853</span> 公里这个数字好像开始闪烁,A 耳边传来呼呼的风声,窗户也开始摇晃,他起身来跪坐在床上。</p>
17+
18+
<button id="dreamBtn">梦!</button>
19+
20+
<p class="typewriter"></p>
21+
22+
<p class="hide-content" style="display: none">于是 A 张开了双手… <sup>3</sup> 抱住了从天而降的少女。<sup>4</sup></p>
23+
24+
<script>
25+
const btn = document.querySelector('#dreamBtn');
26+
btn.addEventListener('click', () => {
27+
// 获取目标数字元素
28+
const numberElement = document.querySelector('.distance-number');
29+
const hiddenContent = document.querySelector('.hide-content');
30+
const typewriter = document.querySelector('.typewriter');
31+
const cutsceneText = "数字越来越小,越来越小…窗外不远处的似乎有什么动静…";
32+
33+
let currentNumber = parseInt(numberElement.textContent);
34+
const duration = 10000; // 10秒
35+
const startTime = Date.now();
36+
let isTypingStarted = false; // 防止重复触发
37+
38+
// 数字递减动画
39+
const animate = () => {
40+
const elapsed = Date.now() - startTime;
41+
const progress = Math.min(elapsed / duration, 1);
42+
const remaining = duration - elapsed;
43+
44+
// 计算当前数值并更新
45+
const targetNumber = Math.max(0, Math.floor(1853 - (1853 * progress)));
46+
numberElement.textContent = targetNumber;
47+
48+
// 触发逐字动画(剩余3秒时启动)
49+
if (remaining <= 3000 && !isTypingStarted) {
50+
startTypewriter();
51+
isTypingStarted = true;
52+
}
53+
54+
// 保持动画直到结束
55+
if (progress < 1) {
56+
requestAnimationFrame(animate);
57+
} else {
58+
numberElement.textContent = '0'; // 确保最终归零
59+
hiddenContent.style.display = 'block';
60+
}
61+
};
62+
63+
const startTypewriter = () => {
64+
// 动态创建字符节点实现更精准控制
65+
let index = 0;
66+
typewriter.style.display = 'block';
67+
68+
const typeInterval = setInterval(() => {
69+
if (index >= cutsceneText.length) {
70+
clearInterval(typeInterval);
71+
typewriter.classList.add('typing'); // 启动CSS动画收尾
72+
return;
73+
}
74+
typewriter.textContent += cutsceneText[index];
75+
index++;
76+
}, 80); // 通过调整间隔(ms)控制打字速度
77+
78+
// 同步剩余时间自动加速
79+
const speedBoost = remaining => {
80+
if (remaining < 1000) {
81+
clearInterval(typeInterval);
82+
typewriter.textContent = cutsceneText; // 强制完成
83+
} else if (remaining < 1853) {
84+
clearInterval(typeInterval);
85+
typeInterval = setInterval(/* 更快的间隔 */);
86+
}
87+
}
88+
};
89+
90+
requestAnimationFrame(animate);
91+
});
92+
</script>
93+
94+
.. vim: set filetype=rst: ..

blog/2024-changelog.rst

+644
Large diffs are not rendered by default.

blog/resign-for-painting.rst

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@
100100

101101
*可惜留给我的时间不多了。*
102102

103+
.. _努力与选择:
104+
103105
努力与选择
104106
==========
105107

blog/what-i-read-in-feb-2024.rst

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
======================
2+
2025 年 2 月我读了什么
3+
======================
4+
5+
.. post::
6+
:tags: 阅读
7+
:author: LA
8+
:category: 阅读记录
9+
:language: zh_CN
10+
11+
01-30: `“活在未来”是一种危害极大的“精神鸦片”`__
12+
===============================================
13+
14+
我不去做这份工作是因为未来还有更好的,我不去爱他,是因为未来还有更好的人选,我不去创业,是因为我还没准备好。
15+
16+
作者将这一类常见的大众心理归结为「活在未来」,我本以为自己不属于它所描述的一份子,但实际上 *对未来的恐惧,和对未来的期待是一体的两面*:
17+
18+
比起现在我们更注重未来。这就造成了一个问题,我们很容易对当下所发生的事情“视而不见”,从而把所有的希望寄予虚无缥缈的“未来”。总觉得到了某个时间节点,我们的人生就可以开展了。其实那个时机永远不会到来。
19+
20+
和作者一样,我也意识到了 *如果什么都不做,期待的未来永远都不会到来* 的事实。也正是这样,当我意识到我无法掌控自己的生活时,未来的面目就会变得狰狞起来,它不是我想要的,它一定会来。
21+
22+
我认为的“活在当下”是专注于“此时此刻”,敢于面对现实,立足于现实,通过“自我创造”(解决问题)感受到“自我”存在的价值,从而鼓起勇气去做更多想做的事情,让人生“高产”起来。
23+
24+
……
25+
26+
及时行乐虽然是“活在当下”,但是它却预设了一个前提,那就是:我们是没有未来的。这个“当下”是无法通向未来的,所以它的本质是悲观的,没有力量的,逃避现实的。
27+
28+
对「活在当下」的一个很积极的解释,我喜欢。但我的问题似乎是 *想做的太多又太难*,害怕失败,所以才恐惧未来。
29+
30+
我想要说明一点的是:未来之所以不存在,是因为它不是真实的,它只是我们意识上的延伸,只存在我们的脑海里。
31+
32+
那真实的未来在哪里?就在此时此刻,现在这个时间节点里。`现在就是未来 <https://music.youtube.com/playlist?list=OLAK5uy_nISou_hu8UQ-Ue5S2ezWTuiHMdIst29D8>`_ (不好听)。
33+
34+
我的未来如何取决于此时此刻我做了什么。就像评论区有个网友说的:「未来,就是今天。因为在之前你早已经憧憬过未来的到来,今天就是」。
35+
36+
所以有没有想过一个问题:今天的你就是过去憧憬的“未来”。过去的你没有努力过,现在也是不可能拥有的。今天的你依然不努力,未来也是不可能拥有的。
37+
38+
一切只能在这个当下发生。
39+
40+
感谢以前没有太拉胯的自己,虽然还不知道如何重启自己的生活,但我其实别无选择。
41+
42+
要时刻记住“活在当下”,只有当下去做了才能被我们体验到,只有当下去做了未来才能真的拥有。
43+
44+
__ https://www.zhihu.com/question/661001252/answer/44227329247
45+
46+
02-05: `[译] GPT 是如何工作的:200 行 Python 代码实现一个极简 GPT(2023)`__
47+
============================================================================
48+
49+
__ https://arthurchiao.art/blog/gpt-as-a-finite-state-markov-chain-zh/
50+
51+
02-11: 马尔可夫链__
52+
-------------------
53+
54+
__ https://www.bilibili.com/video/BV19b4y127oZ/
55+
56+
02-06: `What’s new in GTK, winter 2025 edition`__
57+
=================================================
58+
59+
__ https://blog.gtk.org/2025/02/01/whats-new-in-gtk-winter-2025-edition
60+

collections/scores/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ Alice 间奏
3838

3939
.. lilyinclude:: alice2.ly
4040

41+
.. _songbie:
42+
4143
送别 简谱
4244
=========
4345

0 commit comments

Comments
 (0)