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 слични објави

Пребарај: #fromdogalitoadwa

当前筛选 #fromdogalitoadwa清除筛选
Red Nile

@rednile12 · Post #10886 · 26.01.2026 г., 17:20

🔺Continuation from above @rednile12 🔷Ras Alula’s Warning — and Italy’s Defiance Deeply angered by the occupation, Ras Alula Abanega, the most formidable general of Emperor Yohannes IV, sent a formal letter to the Italian commander General Genè, demanding that Italian forces vacate Ethiopian territory. ❗️ Italy refused. General Genè responded that he had no authorization from Rome to withdraw, and instead advanced inland toward Saati, where Italian forces began building fortifications—a clear signal that Italy intended permanent occupation. 🔷The Battle Ras Alula immediately mobilized his forces. Moving swiftly from the highlands, he confronted the Italian column at Dogali, a narrow and exposed terrain ideal for Ethiopian tactics. 🔹 Italian force: ~550 soldiers 🔹Ethiopian force: Larger, mobile, and battle-hardened 🔹Result: ▪️~470 Italian soldiers killed ▪️~80 wounded ▪️The Italian column was almost entirely annihilated This was not a skirmish—it was a strategic humiliation. 🔷Shockwaves in Italy and the Western Press 🔹Italian Press Reaction The defeat sent shockwaves through Italy. ▪️Newspapers such as La Tribuna and Corriere della Sera described Dogali as a “national tragedy” ▪️The fallen soldiers were quickly turned into martyrs of empire ▪️Public outrage fueled calls for revenge, not withdrawal Instead of questioning colonial aggression, the Italian press framed the defeat as: ▪️ A stain on national honor ▪️ Proof that Italy needed more troops, more funding, and harsher measures This reaction directly paved the way for Italy’s militarization of Eritrea and its later full-scale invasion of Ethiopia—culminating in Adwa (1896). 🔷Western Media Narrative Much of the broader European press reacted with disbelief. ▪️ Ethiopia’s victory contradicted the racist colonial assumption that African armies could not defeat Europeans ▪️ Some Western outlets downplayed Ethiopian strategy and leadership, attributing the loss to: ▪Italian “mismanagement” ▪Poor logistics ▪Terrain 🔹 Rarely did they acknowledge: ▪️Ras Alula’s military brilliance ▪️Ethiopia’s organized command structure ▪️Indigenous intelligence and strategy Yet privately, Dogali triggered a quiet realization in Europe: Ethiopia was not a weak state—it was a serious military power. 🔷Why Dogali Matters Dogali was: ▪️One of the first major African victories over a modern European army ▪️A psychological blow to colonial arrogance ▪️A direct precursor to Adwa, where Italy would suffer an even greater defeat ▪️It proved that Ethiopian resistance was not accidental, but systematic, strategic, and national. መብቱን ዮሐንስ ላሉላ ቢሰጠው እንደ ቀትር እሳት ቱርክን ገላመጠው ጣሊያንም ወደቀ እያንቀጠቀጠው አጭዶና ከምሮ እንደገብስ አሰጣው።» Photo Descriptions Image 1: Ras Alula Abanega, architect of the victory at Dogali Image 2: Italian troops burying their dead after the defeat (January–February 1887) Image 3: Wounded Italian soldiers transported back to Italy and treated in Naples — RedNile Media🌊🧭 📡@rednile12 Geopolitics | Multipolarity | Sovereignty | Strategic Reality #RedNileMedia#EthiopiaFirst #BattleOfDogali#AdwaVictory #FromDogaliToAdwa #HistoryBeyondTheWest

Red Nile

@rednile12 · Post #10888 · 26.01.2026 г., 18:32

The Strategic Containment of an Empire: How Europe Engineered Ethiopia's Landlocked Fate Red Nile Media | Deep Dive Analysis The story of Ethiopia in the late 19th and early 20th centuries is often celebrated as a heroic narrative of military triumphs at #Dogali (1887) and #Adwa (1896). Yet, a closer examination reveals a far more complex geopolitical saga. These victories did not translate into unbridled sovereignty; rather, they triggered a deliberate and coordinated European strategy of containment. The culmination of this strategy was the 1906 Tripartite Treaty—a formal pact that sealed Ethiopia’s landlocked destiny. 📌 This article expands on that history, incorporating academic perspectives to illuminate the “how” and “why” behind this enduring geopolitical outcome. 🔗Read the Full Article Here #RedNileMedia#EthiopiaFirst #BattleOfDogali#AdwaVictory #FromDogaliToAdwa #HistoryBeyondTheWest