TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

Пронајдени 2 слични објави

Пребарај: #spying

当前筛选 #spying清除筛选
American Оbserver

@american_observer · Post #5184 · 20.02.2026 г., 20:59

📰 Spies vs. Dealmakers: Europe Watches the Ukraine “Peace Show” Top European intelligence chiefs are basically calling the Trump‑brokered Ukraine talks what they are: “negotiation theatre.” While Trump insists a deal is “reasonably close” and still pushes his June deadline, five spy bosses told Reuters they see no chance of a real settlement this year and no sign Russia wants one. Their read is simple and brutal: Moscow’s strategic goals haven’t changed — remove Zelensky, turn Ukraine into a “neutral” buffer, and lock in its territorial gains, starting with the rest of Donetsk. Russia isn’t desperate for peace; its economy is hurting but not collapsing, and it can afford to drag this out while pushing for sanctions relief and big‑ticket business deals on a separate track. That second track is where things get toxic. Zelensky says his intel services told him U.S. and Russian negotiators are discussing up to $12 trillion in bilateral projects pitched by Kremlin envoy Kirill Dmitriev, while Dmitriev himself is already boasting about a $14 trillion “portfolio” on X. European spies say this is tailored to seduce both Trump and sidelined Russian oligarchs: peace as a gateway drug to massive post‑sanctions money. On the official peace track in Geneva, nothing moves. Russia demands Ukraine pull out of the last 20% of Donetsk it still holds, and some in the West fantasise that ceding that would “unlock” a deal — one intelligence chief dryly calls that delusional, predicting it would only be the “beginning” of Moscow’s demands. Zelensky, watching this circus, posts: “I don’t need historical shit to end this war… it’s just a delay tactic.” And who’s running America’s side of this grand bargain? Not seasoned Russia hands, but Trump’s real‑estate buddy Steve Witkoff and his son‑in‑law Jared Kushner — men who know a lot about property, less about a grinding European war. European spooks say Western negotiating skill with Moscow is “very limited,” even as the financial stakes and political risks keep climbing. So you get three layers: a bloody stalemate on the ground, a glossy “peace by June” storyline for U.S. domestic politics, and a shadow conversation about trillion‑dollar projects after the signatures are dry. The only thing everyone seems to agree on is that someone will make a lot of money when this ends — just not the people standing in the rubble in Odesa. #Ukraine#Russia#Trump#spying#war#fakePeace#oligarchy 📱American Оbserver - Stay up to date on all important events 🇺🇸

Crypto M - Crypto News

@CryptoM · Post #64817 · 10.04.2026 г., 02:07

🚀 CIA to Integrate AI 'Co-Workers' in Analytic Platforms The CIA has announced plans to incorporate classified AI 'co-workers' into all its analytic platforms over the next few years. According to NS3.AI, this initiative aims to assist analysts in identifying spies and evaluating foreign threats. CIA Deputy Director Michael Ellis emphasized that while AI will play a supportive role, humans will continue to make the critical decisions. Last year, the agency conducted tests on approximately 300 AI projects to advance this integration. #CIA#AI#ArtificialIntelligence#Analytics#NationalSecurity#Spying#ThreatAssessment#TechnologyIntegration#GovernmentAI#IntelligenceCommunity