TGTGInsighttelegram intelligenceLIVE / telegram public index
← IT news | Tg Bots

TGINSIGHT SIMILAR POSTS

유사한 콘텐츠 찾기

소스 채널 @phpdevelopersuz · Post #2990 · 12월 31일

Bot API was updated to version 6.4 Forums • Bots can now open, close, edit and toggle the visibility of the General Topic. • Added support for new service messages, like ForumTopicEdited, GeneralForumTopicHidden and more. • The method sendChatAction can now send actions to any thread or topic via the message_thread_id parameter. Spoilers • Added spoiler detection via the new has_media_spoiler field in the Message class. • Bots can send media covered by a spoiler animation via the has_spoiler field in sendPhoto, sendVideo and sendAnimation. Web Apps • Added a native QR scanner popup, controllable via showScanQrPopup and closeScanQrPopup. • Web Apps launched from the attachment menu can request clipboard text via readTextFromClipboard. • Added a platform field, showing which platform the web app is being used on. General • Added the is_persistent field, to keep ReplyKeyboards open by default. See the full changelog for details on the official website. #update#BotAPI https://t.me/+VMLgtEPNL49jZmNh

결과

2개의 유사한 게시물이 발견되었습니다

검색: #meson

当前筛选 #meson清除筛选
宇宙航海誌

@uchuukoukaishi · Post #702 · 2024. 12. 31. PM 04:22

在一个小项目上第一次试用 #meson 就得到一个大大的惊喜!感觉比 #cmake 好用很多! 以这个「静态链接 submodule 里的 librime」为例: - 你可以直接 import cmake target! - 你可以像 cmake ExternalProject 一样设定 configure options,但同时能拿到完整的 target 信息! - 同时,subproject 会被整合到当前项目构建里(类似 cmake add_subdirectory),所以如果 subproject 里有修改,不需要做任何事,正常构建就可以正确rebuild。而且不会污染外部的变量、 option 和 target 命名空间。 - 在查询 dependency lib 时,可以设定一个 static 参数,用来控制是否优先选择静态库,它的值由 一个全局的参数 --prefer-static 控制,于是你可以一键把所有依赖都静态链接掉 - 静态库中一些对象文件可能会有 constructor 需要 -Wl,--whole-archive,这里只需要 as_link_whole() 创建一个新的 dependency 对象就可以了 - 最后,它可以正确处理所有静态库的依赖(因为可以取出完整的 target 信息),而不需要手动传递被依赖的库。如果用 cmake ExternalProject 构建静态库再链接,就会丢失掉所有相关信息,要手动补全。 虽然图上的这点代码做的事很简单,就是构造一个静态的 librime 再链接到可执行文件里,但在 cmake 里不管怎么做都很麻烦。 ---- 而且还充满了各种贴心的小设计: > Another thing to note is that include_directories adds both the source directory and corresponding build directory to include path, so you don't have to care.

Hashtags

TokenPocket

@tokenpocket_channel · Post #1287 · 2024. 03. 13. AM 10:34

🔥New DEX Integration on the [#TokenPocket] Market page: [@​mesonfi] ✅Starting now, effortlessly bridge the stablecoins on [@​BNBCHAIN], [@​arbitrum], etc. to [#BTC] on [@​MerlinLayer2], etc. directly on the TokenPocket Market page with the seamless cross-chain bridge service from [@​mesonfi]. Download and Enjoy 👉https://www.tokenpocket.pro/ [#TokenPocket] [#CrossChainBridges] [#meson] 【Details】https://twitter.com/TokenPocket_TP/status/1767861124576301076 【Powered By】Crypto Box