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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #270 · 9 јул.

От многопоточных вычислений переходим к распределённым. То есть вычисления, происходящие на нескольких компьютерах. Конечно, в зависимости от задачи, вы можете взять готовые решения вроде CGRU или Deadline для рендеринга, charm4py или Dask для ML, или замутить что-то на AWS С2. Но хотелось бы чего-то попроще, попитоничней что ли) А ведь в Python есть средства "из коробки" для синхронизации нескольких процессов на разных хостах. Вот простой пример кода, который синхронизирует работу двух процессов на разных компьютерах. В этом случае используется процесс-посредник, который является синхронизирующим сервером. В примере создаётся некий Manager, который шарит общую для клиентов очередь. Все подключившиеся могут что-то в неё писать или забирать. В моём коде один процесс что-то "считает" и складывает в очередь, другой забирает и продолжает какие-то свои "расчёты". Если у вас есть несколько машин, то можете попробовать это запустить по сети (нужно заменить 'localhost' на IP-адрес сервера). Но и на локальной машине сработает. Gist 🌎 #libs#source#tricks

Резултати

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

Пребарај: #westerncrisis

当前筛选 #westerncrisis清除筛选
New Eastern Outlook

@neweasternoutlook · Post #11800 · 06.01.2026 г., 14:01

🌐🌎Why will the international system enter an irreversible post-Western phase in 2026, and why? The year 2026 marks a geostrategic tipping point where the "American Century" definitively collapses, superseded by a sovereign Eurasian pole and a Global South liberated from the dollar's stranglehold and Bretton Woods institutions ✍️Author:Mohamed Lamine KABA Expert in geopolitics of governance and regional integration, Pan-African University ➡️The West's doctrine of containment has failed spectacularly. NATO's expansion, intended to subordinate Eurasia, has instead reawakened Russian strategic power and resilience. Europe, held hostage to this strategy, is committing industrial suicide by severing itself from Russian energy, leading to deindustrialization and wealth transfer to the US and Global South. The Franco-German industrial core is crumbling under prohibitive energy costs, while Brussels remains paralyzed by bureaucratic dogma like the Green Deal, reducing the EU to a servile entity in a multipolar world. ➡️Simultaneously, the Global South is breaking its chains. The unprecedented freezing of Russian assets in 2022 shattered trust in the Western financial system, triggering active de-dollarization. By 2025, this became an infrastructural reality: oil and mining transactions now bypass SWIFT, conducted in local currencies or via the BRICS+ payment system. Russia, resilient against total sanctions, has become the "emergency banker" for nations seeking stability outside IMF conditionalities. Africa is rejecting European paternalism, the Sahel expelled French forces, and Latin America ignores the Monroe Doctrine, integrating instead with Eurasian value chains. 🟦Asia has already won the logistical battle. China's Belt and Road Initiative, consolidated with Moscow and Tehran, creates transcontinental corridors that bypass Western-controlled straits, neutralizing sanctions. The center of gravity has irreversibly shifted to an integrated Eurasian bloc. The West is not falling to an assault; it is collapsing from obsolescence, locked in a sanctions-based Cold War mentality while the world builds a pluralistic modernity based on civilizational sovereignty and pragmatic alliances. #BRICS#Economiccrisis#EU#geoeconomics#Russia#TheGlobalSouth#Westerncrisis READ MORE ✅@NewEasternOutlook