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

Резултати

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

Пребарај: #aiimpact

当前筛选 #aiimpact清除筛选
AI & Law

@ai_and_law · Post #405 · 26.09.2024 г., 07:04

The Environmental Impact of AI: What Does It Take to Write an Email with ChatGPT? As AI becomes more integrated into our daily lives, understanding its environmental impact is crucial. According to estimates reported by The Washington Post, generating an email using AI tools like ChatGPT requires about as much water as a single-use plastic bottle holds, and the energy consumption is equivalent to running 14 LED light bulbs for an hour. These figures shed light on the significant resources needed to operate data centers that power AI systems. As AI continues to evolve, addressing its environmental footprint will be essential for sustainable innovation. *#AIImpact#Sustainability#DataCenters#AIEthics

Crypto M - Crypto News

@CryptoM · Post #65438 · 13.04.2026 г., 08:02

🚀 Carson Block Warns of Potential U.S. Stock Market Turbulence Carson Block, founder of Muddy Waters and a globally recognized short seller, has issued a stark warning about the U.S. stock market. According to Jin10, Block suggests that the market could experience volatility surpassing that of the 2008 financial crisis. He attributes this potential upheaval to the disruptive impact of AI technologies on the market. Block advises short sellers to prepare for opportunities, indicating that betting against the U.S. stock market might be favorable in the current environment. #CarsonBlock#USStockMarket#StockMarketTurbulence#AIImpact#ShortSelling#FinancialCrisis#Volatility#MarketWarning#MuddyWaters#ShortSellers#MarketOpportunities

Crypto M - Crypto News

@CryptoM · Post #64792 · 10.04.2026 г., 00:06

🚀 Global Economic Concerns Amid Middle East Tensions According to Jin10, a report by China International Capital Corporation (CICC) highlights that since March, concerns over conflicts involving the U.S., Israel, and Iran, along with potential blockages in the Strait of Hormuz, have triggered a market-wide risk aversion. This has led to declines in most asset classes, excluding oil and agricultural products, raising fears of stagflation. CICC acknowledges the undeniable impact of supply shocks, which could potentially slow overall economic growth. However, if the Strait of Hormuz gradually reopens, the geopolitical risks might exacerbate the K-shaped economic divergence, leading to increased investment activity while cooling consumption and employment. In the context of accelerated AI substitution and an inherently cooling labor market, inflation in resource and capital goods is unlikely to create a 'wage-inflation' spiral. From this perspective, CICC suggests that the mainstream narrative of global stagflation might be overstated. The report reiterates the view held since the beginning of the year that, amid an intensified K-shaped economy, liquidity recovery from its trough, and sustained fiscal expansion, the global nominal economic cycle driven by investment is expected to resume its upward trend. This will likely lead to continued rebalancing of global funds across sectors, asset classes, and regions, benefiting a range of physical assets and emerging markets. #GlobalEconomy#MiddleEastTensions#GeopoliticalRisk#Stagflation#SupplyShock#EconomicGrowth#KShapedRecovery#Investment#AIImpact#LaborMarket#Inflation#LiquidityRecovery#FiscalExpansion#EmergingMarkets#AssetAllocation