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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #400 · 8 дек.

Три способа выполнить множество задач с asyncio Функция для примера: async def do_it(n): await asyncio.sleep(random.uniform(0.5, 1)) return n 1. Последовательный вызов async def main(): for i in range(100): result = await do_it(i) Такой вызов имеет смысл только тогда, когда результат одной задачи требуется для вызова следующей. Если они независимы, то это антипаттерн, так как аналогичен простому синхронному вызову по очереди. 2. Упорядоченный результат async def main(): tasks = [do_it(i) for i in range(100)] results = await asyncio.gather(*tasks) Выполняет корутины конкурентно и возвращает результат в виде списка. Полезен когда требуется получить результаты в том же порядке в котором задачи отправлены. 3. Результат по мере готовности tasks = [asyncio.create_task(do_it(i)) for i in range(100)] for cor in asyncio.as_completed(tasks): result = await cor Так же выполняет корутины конкурентно, но не гарантирует порядок. Результат возвращается по мере готовности, каждый отдельно. Полезен когда нужно обработать любой ответ как можно скорее. #async

Hashtags

Резултати

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

Пребарај: #financialsecurity

当前筛选 #financialsecurity清除筛选

ብሔራዊ ባንክ ፈቃድ በሌላቸው መተግበሪያዎች የሚደረጉ የዲጂታል ግብይቶችን አገደ ****************** የኢትዮጵያ ብሔራዊ ባንክ ክሪፕቶ ከረንሲን ጨምሮ ፈቃድ በሌላቸው የተለያዩ መተግበሪያዎች የሚከናወኑ የአቻ ለአቻ (P2P) የዲጂታል ግብይቶችን በጊዜያዊነት ማገዱን አስታወቀ። ብሔራዊ ባንክ ባወጣው መግለጫ፣ ግለሰቦች ከባንኩ እውቅና በሌላቸው መተግበሪያዎች ግብይት እየፈጸሙ መሆኑ በክትትል እንደደረሰበት ጠቅሷል። እነዚህ መደበኛ ያልሆኑ ግብይቶች የገበያ መረጋጋትን ከማናጋት ባለፈ፣ ለሳይበር ወንጀል፣ ለሕገ-ወጥ የገንዘብ ዝውውር እና ለፋይናንስ ሽብርተኝነት የተጋለጡ መሆናቸውን ባንኩ አብራርቷል። በተጨማሪም የውጭ ምንዛሪ ዋጋን የማሳሳትና የግብይት ግልጽነት ችግሮችን እንደሚያስከትሉ ገልጿል። ባንኩ የዲጂታል ግብይት ቴክኖሎጂዎችን ደህንነት የሚያረጋግጥ አጠቃላይ የቁጥጥር ማዕቀፍ በመዘርጋት ላይ መሆኑን ጠቁሞ፣ ይህ ማዕቀፍ ይፋ እስኪሆን ድረስ ማንኛውም ፈቃድ የሌለው የዲጂታል ግብይት የተከለከለ መሆኑን አሳስቧል። የፋይናንስ ሥርዓቱን ታማኝነት ለመጠበቅም ከዓለም አቀፍ ተቆጣጣሪዎችና ከባለድርሻ አካላት ጋር ምክክር እየተደረገ መሆኑንም ባንኩ አመልክቷል። #Ebc#Ethiopia#NationalBankOfEthiopia#DigitalCurrency#FinancialSecurity

Crypto M - Crypto News

@CryptoM · Post #65262 · 12.04.2026 г., 11:47

🚀 AI TRENDS | UK Financial Regulator Assesses Risks of Anthropic's Latest AI Model The UK Financial Times reports that the British financial regulatory authority is urgently evaluating the risks associated with Anthropic's latest AI model. According to Jin10, this assessment comes amid growing concerns about the potential implications of advanced artificial intelligence technologies on financial stability and security. The regulator aims to understand the model's capabilities and any possible threats it may pose to the financial sector. This move reflects a broader trend of increased scrutiny on AI developments by global financial institutions. #AI#UKFinancialRegulator#AnthropicAI#FinancialStability#AIEthics#FinancialSecurity#GlobalScrutiny#ArtificialIntelligence

Crypto M - Crypto News

@CryptoM · Post #64663 · 09.04.2026 г., 13:13

🚀 PRECIOUS METALS | Poland's Central Bank Holds 580 Tons of Gold Poland's Central Bank Governor, Adam Glapiński, has announced that the central bank currently holds 580 tons of gold. According to Jin10, this substantial reserve underscores Poland's strategic approach to strengthening its financial security and diversifying its assets. The gold holdings are part of a broader effort to ensure economic stability and safeguard against global market fluctuations. Poland's commitment to maintaining a robust gold reserve reflects its proactive measures in navigating the complexities of the international financial landscape. #Poland#CentralBank#GoldReserves#FinancialSecurity#EconomicStability#GlobalMarket#AssetDiversification#GoldHoldings#InternationalFinance