Show more

Oh, wait! It's not decompiler naming those ijk, it's Mojang's staff!

Good job.

Show thread

That's what I meant to do when I said I wanted to try Minecraft modding. A lot of (almost all) tutorials are about how to add new blocks, and new items to the game, where I just want to "simply" change the internal logic of the game (the existing content).

But it turns out that I have to know the game's internal beforehand, which is not easy. I'm still reading Mojang's spaghetti. And thanks to the decompiler, it names the variables in i,j,k, etc.

Do we have something like ghidra for Java bytecode?
----
So I Made Minecraft EVEN MORE Satisfying...
youtube.com/watch?v=r9_DkfLkkY

Yesterday, a friend asked me to explain LL(1) to him, so he could beat his boss today.

I suddenly wondered, if there are a lot of YouTubers making tutorials about programming languages, frameworks, etc., explaining them in a very leisurely way. Then why there are literally nobody making videos about compiler/parser technics in a similar way? I searched youtube, and all results are very serious and make me feel like I'm in college.

(Context: When I was learning compiler in college, my teacher gave us a MOOC URL and told us to watch that again and again until we figured out any questions we had. She literally does not accept any questions in class.)

The news said Iran cut the internet.

Here I recommend Briar, an Android-only app, that can work with Tor, Wifi, and BlueTooth to send instant messages. It can keep communication working even without the internet. It also supports posts, which can be synced indirectly. In the security manner, it encrypts all data, and you cannot disable the encryption.

briarproject.org/

Wow, That's interesting

----
I Became The World’s Richest Man For 7 Minutes
youtube.com/watch?v=iHfJRON3b-

LOL

I think you guys should know who post this video according to the title 😂

----

Why Ghosts Don't Haunt Asians
youtu.be/GyRIk99toRE

After watching some videos about Minecraft's chat reporting system (good job, youtube recommendation system), I decided to try to mess around with fabric API.

I have never written a mod before.

今天看了女王的葬礼。

​不禁感叹,有些人歇斯底里的妄图建立人类命运共同体,最后碌碌无为;有些人只专注于她职责,毋须歇斯底里,便能领导世界人口的三分之一,在世时受人尊敬,去世后受人敬仰。希望第一类人能多看看英女王每年的圣诞致辞,以及做人不能太浮夸功利。

以及最后的升降灵柩,升降灵柩我是没想到的。但是后来说下葬是仅限家庭成员参与。我还记得BBC的记者说,女王将一生奉献给了服务英联邦,在她死后的这一时刻,请让她和家人独处一会儿。

又以及,今天查阅了伊丽莎白二世的生平事迹,她真的值得受万人敬仰,至少是在英联邦中。

(Sorry, it's too late for me to write a English translation of this post. It's 3am in the morning and I haven't slept yet. I would try my best to remember translating this after I wake up.)

Want to know the feeling of having Asian parent? Watch this: youtu.be/TsSP-nHjZ0Q

I know this is a video for fun. I can watch and laugh on other videos as a native Chinese. I do appreciate how this youtuber mimics the Asian style.

But this one? I can't even smile. I watched half of the video and have to close the tab. I can't laugh on this video, since the situation is similar enough to bring back those memories when I was young. Of course now my parent will never treat me like this. But when I was young and can't rely on myself, (aka if they abandoned me, I would die absolutely), they did the same humiliation to me. Yes, I called that humiliation, I think by doing so, they built their dignity by destroying mine.

As for why I can't just leave my parent and move to another country, I thought, they gave me life, so I serve them to death. That's all. I would never repay them for raising me up, they didn't do a good job. But they do feed me. And I think I do need to serve them to death. That's all I want/need to do.

Useful but useless😂

----
20 Mechanical Principles combined in a Useless Lego Machine

youtube.com/watch?v=M1-YeqGynl

有关降低HSP不适的小tips:

1. 随身携带耳塞或者隔音耳机,遇到令人讨厌的大声或者不舒服的环境的时候及时戴上,可以给自己隔绝出一片小空间恢复。

2. over arrousal的时候要及时逃离环境不要忍着,在外面的话无障碍厕所其实是个好选择因为是单人且不会被打扰的环境。

3. 尽量选择能在线聊天解决的服务,避免必须要打电话既费时间还带来压力。同理,尽量把negotiate等不确定性非常大的工作外包出去会舒服很多。

4. 如果真的没办法必须做social,摄入一定咖啡因有助于增加唤醒程度,降低压力和胡思乱想。同理晚上的场合可以靠摄入少量酒精。

5. 状态非常不好的时候快去做喜欢的事,吃喜欢的东西,和喜欢的人在一起,或者到大自然中去。这时候很容易陷入持续刷手机和独自一人,不可以,会恶化的。大事发生的时候有时会ptsd似的疯狂闪回,这时候也可以靠上述活动来覆盖闪回的事件。

#HSP生存指南

I know the physics, but I have never expected Lego can do this. Amazing, again. XD
----
Can Lego create a Vortex in a Sphere?
youtube.com/watch?v=bjk0RMjQpc

Mojang tries to create and enforce rules regardless of everything. And this is the wrong way to maintain a community.

Luo Xiang, a professor at the China University of Political Science and Law, said, "Some students who are good at law, gradually lose their humanity, and become a robot of the law in the end."

In my humble opinion, the ability to bend the rule is a privilege of human beings. This also applies when I was thinking about how China government matters covid data over the life quality of normal civils.

----

wtf is even going on here anymore
youtube.com/watch?v=k8_6mWgPKx

hololive那些人都是什么怪物啊,en组拎个人出来就韩文日文法文随便来(

Holy sh*t I watched the news before sleep, again! 

Takarazuka Revue at 1947. Their first show was in 1914. At the same time, we Chinese just joined the UPU as the Republic of China. In 1947, we got the first constitution of ROC. The POC was then born two years later.

Now we (as POC) call ourselves a powerful nation (as CCP's official news said). While I think we are still at a point where we need to learn more to recognize our ignorance.

And that's the point I worried about most: Not one person or two thought China is a powerful nation, but the official media believed that too. And a large portion of young people thought that's true, and think they don't need to be humble.

I really shouldn't open Twitter before sleep. But I just can't help. F*ck.

Fine, I'll listen to Elizabeth (musicals) and try to sleep.

¯\_(ツ)_/¯

----

open.spotify.com/album/2UeUcKM

Hmmm...

Seems like Hetzner StorageBox's custom shell has some issues with file names.

I have a file named like: "(something) [something.pdf", generated by calibre.

The shell though the file name is an incomplete wildcard expression. If I use the escaped format, like "\\(something\\)\\ \\[something.pdf", the shell is fine, but the command will give an internal error and trigger an OOM kill.

The rclone failed to calculate md5 on those files. Thus failed to backup to S3.

I contacted hetzner's support, but no reply yet. I did some google, seems like hetzner's support got a very bad reputation. Hopefully they won't close my account just because I noticed a weird issue, LOL.

Learning from the accident 

DO NOT trust Windows explorer's copy function. Use FastCopy and verify your file.

Pause the sync when you keep changing your files, no matter what sync client you use: Google Drive, MountainDuck, or dropbox.

Use something like 7z and rar to provide some abilities to check file integration.

----

Today I got 30+ files with 0 bytes (the file should be 5MB~10GB), and about five files with missing content (should be 20+MB, but only got first 5~6MB synced).

Those are files I copied from Google Drive and pasted to MountainDuck. I don't know how I got those broken files, but I think it's related to Google Drive. I had a similar experience where the file on Google Drive is good, but downloading gives a broken file. And the sync part, the MountainDuck seems like using timestamp only and choosing the newer file, even if the file in the local disk is bigger while the last modified timestamps are the same.

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.