er-azh

Results 6 comments of er-azh

can you post the output of: `gcc -print-search-dirs`?

the code in this library is auto-generated from tdlib's `td_api.tl` and as seen in tdlib's docs `getSupergroup` accepts `int32` ([link](https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1get_supergroup.html)) also the `chat`'s `id`, it's type is `int53` ([link](https://core.telegram.org/tdlib/docs/classtd_1_1td__api_1_1chat.html)) which...

the issue is in the code generator. the parser runs `replaceKeyWords` on enum type names and this causes words like `Url` to become `URL`. but tdlib returns the original types...

this should work: ```go // msg is a *tdlib.Message if msg.Sender.GetMessageSenderEnum() == msg.MessageSenderUserType{ fmt.Printf("sender id: %d\n", reply.Sender.(*tdlib.MessageSenderUser).UserID) } ```

I think I found the issue. There are 2 places where we're subtracting the ARC size from the used memory. one is [here](https://github.com/htop-dev/htop/blob/4d40680aa04370b06e9a2acd732f0be2ee6b6eba/freebsd/FreeBSDProcessList.c#L364). ```c if (fpl->zfs.enabled) { fpl->memWire -= fpl->zfs.size;...

It's possible to set fallback fonts. I was trying to compile for WASM and stumbled onto this issue. Looks line `FontSystem::new_with_fonts` allows adding custom font sources when creating a `FontSystem`....