Fangrui Song

Results 110 comments of Fangrui Song

> > 其实呢,这个问题最简单的解法是“没有旧世界”。大家可能认为旧世界已经定型,一成不变了,实际上并不是。比如最近调整什么pt_regs结构啊,重命名UAPI里面的一些变量啊啥的,一直在导致旧世界不断变化。只不过这些变化都是温水煮青蛙式的,不像NSIG那样混搭根本起不来,把大家吓得不要不要的。我主张旧世界以改动pt_regs和重命名变量为契机,顺带着把旧世界直接消灭好了(NSIG一并改掉),希望大家支持。 > > 这是最棒的,非常支持。 支持。“学得更好,用得更好,彻底批判旧世界,创造新世界。”

glibc中`EI_ABIVERSION`有特殊含义(search `LIBC_ABI_MAX`)。arch不可随意变更。 https://maskray.me/blog/2021-10-31-relative-relocations-and-relr#ei_abiversion

(Thank you so much for porting. Will read..)

Some errors: ``` Traceback (most recent call last): File "/home/maskray/projects/telegramircd/./telegramircd.py", line 299, in init await web.channel_list() File "/home/maskray/projects/telegramircd/./telegramircd.py", line 277, in channel_list date = min(msg.date for msg in r.messages) TypeError:...

I would also like to know what library can a good replacement of telegram-cli. telegram-cli leaks memory and has so many other issues that I have to restart it after...

This library is awesome! I have updated https://github.com/MaskRay/telegramircd to substitue Telethon for telegram-cli to communicate with Telegram servers. The installation is different, please review the instructions in `README.md`. I am...

How to retrieve the pinned message of a chat/channel?

In an IPython session in the directory containing `telegramircd.session`, I ran the following commands and found nothing related to pinned messages: ``` In [1]: from telethon import TelegramClient In [2]:...

I have applied ``` -telethon-sync +https://github.com/LonamiWebs/Telethon/archive/sync-stale.zip ``` for now. For https://github.com/aio-libs/aiohttp/pull/3157 , how to properly fix it?