1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
The replacement set of keycaps arrived this afternoon, and I couldn't
wait to install them on the keyboard. The quality is inferior to the
original ones. The symbols printed on the keycaps are not consistent
with Apple's. The edges on the back side of the keycaps are shaper, and
I can see the "P" key is slightly higher than the surrounding keys.
The most unsatisfying one is the Delete key. When you press the top or
bottom of the key with a little force, it feels loose and moves up and
down. You can definitely feel that Apple puts a lot of effort into
product quality. But I can live with it for now. I don't know where to
get an official replacement, and I can delete characters with ctrl+h
instead.
Completed Unit 2, Transformation properties and proofs, on Khan Academy
today as planned. We can leverage the properties of rigid
transformations in geometric proofs. Translation, rotation, and
reflection preserve the lengths of line segments and the measures of
angles. Dilation preserves angle measures and the relationships between
different parts of a shape.
It's been a decade since I last coded in Python, and reading the
documentation gave me a new perspective on how to make use of the
language. If I want to generate a random number in the range of [1, 10],
I can simply use the random module.
python -m random 10
Getting similar results in PHP or Node.js is more verbose compared to
Python in this case:
php -r 'printf("%d\n", rand(1, 10));'
node -e 'console.log(Math.ceil(Math.random() * 10))'
In addition to numbers, you can also randomly retrieve an element from a
list, like picking what you want to eat for lunch today:
python -m random burger pizza ramen
You know what? I think I am gradually building the habit of writing this
kind of log or journal whenever I have time. It's not simply deliberate
practice for learning English, it also helps me organize my thoughts and
think more deeply. Writing is indeed an artifact of thinking. Wrapping
up my day, recording what I've learned, and reflecting on myself for the
better.
I've been going to bed late recently. I guess I treat myself too
harshly. I want to achieve too many things in a single day, and I think
I need to lower my expectations a little to protect my sleep.
Writing the log while listening to this album. It contains many
fast-beat tracks. Sharing it with you, hope you like it too.
BBD SELECTS 021: Chinatown Records 華埠錄音 (DJ Mix)
https://music.apple.com/us/album/bbd-selects-021-chinatown-records-%E8%8F%AF%E5%9F%A0%E9%8C%84%E9%9F%B3-dj-mix/1895919235
|