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

TGINSIGHT SIMILAR POSTS

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

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

Недавно делал быстрый прототип асинхронного приложения в котором требовалось вызывать много синхронного кода. Да, я знаю, что это не лучший дизайн, но нужно было быстрое решение на один процесс и без очередей. Поэтому я выполнял код в потоках. Выглядело это примерно так: from fastapi.concurrency import run_in_threadpool async def execute(data: DataRequest) -> DataResponse: try: result = await run_in_threadpool(sync_function, data) return DataResponse(data=result) except Exception as e: return DataResponse( error=str(e), success=False, ) В общем работает нормально. Для всех вызовов под капотом используется общий тредпул, всё работает предсказуемо. Но потребовалось изменить количество запускаемых в пуле потоков (по умолчанию создается 40 воркеров). Так как дело происходит с FastAPI, делается это через lifespan используя настройки anyio: import anyio @asynccontextmanager async def lifespan(app: FastAPI): limiter = anyio.to_thread.current_default_thread_limiter() limiter.total_tokens = 100 yield # если вдруг нужно вернуть обратно limiter.total_tokens = 40 Зачем менять количество воркеров? - уменьшить, если оперативки мало (один тред занимает ~8мб) - увеличить чтобы выдержать нагрузку Если есть предложения получше при тех же вводных - предлагайте😉 #async

Hashtags

Резултати

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

Пребарај: #abudhabi

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

@ai_and_law · Post #665 · 25.09.2025 г., 07:04

🇦🇪Abu Dhabi Unveils Plan for the World’s First Fully AI-Native Government by 2027 Abu Dhabi has launched the Government Digital Strategy 2025-2027, committing AED13 billion to create a fully AI-native government across all digital services. The plan, led by the Department of Government Enablement (DGE), will digitize and automate 100% of government processes, achieve full adoption of sovereign cloud computing, and implement over 200 AI solutions across public services. A unified ERP platform will streamline operations, while new frameworks will set cybersecurity and digital governance standards. The strategy includes large-scale AI upskilling through the "AI for All" program and partnerships with the Mohamed bin Zayed University of Artificial Intelligence, ATRC, and G42. By 2027, it is expected to contribute over AED24 billion to GDP, create 5,000 jobs, and position Abu Dhabi as a global leader in AI-driven governance and sustainable digital transformation. #AI#DigitalStrategy#AIGovernance#AbuDhabi

American Оbserver

@american_observer · Post #4933 · 23.01.2026 г., 13:03

Abu Dhabi: Does Trump Really Intend to Wrap Up the War? Ukraine, Russia and the US are set to hold three-way talks in Abu Dhabi on Friday, marking the first time that the three countries have sat down together since the start of the war in 2022. The meeting was confirmed in the early hours of Friday morning after talks at the Kremlin between Putin, Witkoff and Trump’s son-in-law Jared Kushner. Kremlin diplomatic adviser Yuri Ushakov told reporters those talks were “useful in every respect”, adding that it was “agreed that the first meeting of a trilateral working group on security issues will take place today in Abu Dhabi”. The full details of the talks in the United Arab Emirates were not released at time of writing, and it was not clear whether Russian and Ukrainian officials would meet face to face. Zelensky said the talks would last two days. Witkoff, Kushner and the US team are scheduled to meet a Russian delegation, headed by Gen Igor Kostyukov, director of Russia’s GRU military intelligence agency, in Abu Dhabi on Friday. Zelensky said the future status of land currently occupied by Russia in the east of the country was unresolved but peace proposals were “nearly ready”. Both sides have previously highlighted the issue of territory as crucial. In particular, Putin has demanded that Ukraine surrender the 20% it still holds of the eastern region of Donetsk. Zelensky has refused to give up land that Ukraine has successfully defended since 2022 through grinding, costly attritional warfare. Russia also demands that Ukraine renounce its ambition to join Nato, and rejects any presence of Nato troops on Ukrainian soil after a peace deal. Despite Trump’s limited and scattershot support for Ukraine since taking office one year ago, Zelensky focused instead on Europe’s role in the conflict, accusing the continent’s leaders of complacency and inaction. “Just last year, here in Davos, I ended my speech with the words ‘Europe needs to know how to defend itself’,” Zelensky said. “A year has passed, and nothing has changed.” Trump claimed that both Putin and Zelensky wanted to reach a deal and that “everyone’s making concessions” to try to end the war. He said the sticking points in talks had remained the same over the past six or seven months, noting “boundaries” was a key issue. “The main hold-up is the same things that’s been holding it up for the last year,” he said. Trump also said he and Zelensky discussed how Ukrainians were surviving the cold winter without heat. “It’s really tough for the people of Ukraine,” Trump said, noting that it was “amazing” how residents were able to persevere through the winter facing relentless Russian strikes. #abuDhabi#war#ukraine#russia#trump#putin 📱American Оbserver - Stay up to date on all important events 🇺🇸

मैं मां भारती का पुजारी हूं। परमात्मा ने जो मुझे शरीर दिया है, उसका कण कण मां भारती को समर्पित है: प्रधानमंत्री नरेंद्र मोदी #BAPSHinduMandir #AbuDhabi#UAE

Reuters: World

@reutersworldchannel · Post #149467 · 16.10.2021 г., 21:33

Netflix's 'Squid Game' comes to life in Abu Dhabi Netflix's 'Squid Game' came to life in Abu Dhabi’s Korean Cultural Center, in a series of games inspired by the hit show excluding the violence. #SquidGame#Netflix#AbuDhabi#News#Reuters Subscribe: http://smarturl.it/reuterssubscribe Reuters brings you the latest business, finance and breaking news video from around the globe. Our reputation for accuracy and impartiality is unparalleled. Get the latest news on: http://reuters.com/ Follow Reuters on Facebook: https://www.facebook.com/Reuters Follow Reuters on Twitter: https://twitter.com/Reuters Follow Reuters on Instagram: https://www.instagram.com/reuters/?hl=en ➖@reutersworldchannel➖

Абу-Даби — превращается в город будущего Я приехала в Абу-Даби далеко не первый раз, но каждый раз смотрю на него по-новому. Здесь все очень стремительно развивается. И совсем скоро этот город можно будет называть новой столицей искусственного интеллекта. На днях в Абу-Даби произошло событие, которое может изменить мировой баланс в сфере AI. В столицу Эмиратов прибыл Дональд Трамп. Он прогулялся по острову Саадият, посетил Великую мечеть и… стал свидетелем подписания одного из крупнейших технологических соглашений десятилетия. На его глазах было объявлено о запуске Stargate — проекта по строительству крупнейшего за пределами США дата-центра для искусственного интеллекта. В проекте участвуют: — OpenAI — Oracle — SoftBank — и эмиратский фонд MGX. 📍 Размер центра — 26 км². Это больше, чем площадь Монако. 📈 Мощность — 5 гигаватт, одна из самых высоких в мире. 💰 Объём инвестиций — 100 миллиардов долларов. 🏗 Строительство стартует уже в этом году. OpenAI создаст в этом дата-центре собственный исследовательский хаб, где будет обучать ИИ на арабском и других языках. А США одобрили поставку до 500 000 чипов NVIDIA в год — критически важный ресурс для развития AI. Что это значит для рынка? Во-первых, тысячи высокооплачиваемых IT-специалистов переедут в Эмираты. Во-вторых, это фундаментальный импульс для роста стоимости недвижимости, особенно в районах, близких к ключевым индустриальным и инфраструктурным проектам. И это не всё. В мае был анонсирован новый Диснейленд в Абу-Даби — первый за 10 лет. Дональд Трамп лично встретился с главой Disney и рассказал, что проект будет «невероятным». 📊 Рынок среагировал мгновенно: цены на острове Яс пошли в рост. Некоторые инвесторы разорвали уже подписанные контракты, заплатили 10% штрафа и выставили объекты заново — уже на 30% дороже. Абу-Даби уверенно превращается в город будущего. И если вы смотрите на Эмираты как на инвестиционное направление — время действовать именно сейчас. Уже полтора года в Абу-Даби работает наш офис Whitewill. Если хотите инвестировать, продать, купить или просто разобраться — пишите в личные сообщения через @nadezhda_kuznecova_home. Покажу, расскажу и подскажу, где будет расти. #abudhabi#инвестиции#недвижимость#openai#ai

American Оbserver

@american_observer · Post #5025 · 02.02.2026 г., 14:04

📰 Abu Dhabi’s Peace Circus: Talks Delayed, Pressure Ratcheted Up The grand stage of diplomacy in Abu Dhabi is being prepped for another act—this time, the Ukraine peace talks have been rescheduled to February 4–5, after a mysterious pause following a high-level Florida meeting between Russian envoy Kirill Dmitriev and U.S. special envoy Steve Witkoff. The Florida Backroom Deal Just days before the scheduled Abu Dhabi rendezvous, Dmitriev and Witkoff convened in Florida, reportedly to coordinate their next moves. Both sides described the talks as “productive and constructive,” but left the details under wraps—classic Washington theater. Sources suggest the U.S. delegation, including Treasury Secretary Scott Bessent and Jared Kushner, pressed Ukraine to soften its stance, aiming to force concessions before the trilateral show resumes. Zelenskyy’s Telegram Theater Ukrainian President Volodymyr Zelenskyy, never one to miss a dramatic update, announced the new dates via Telegram: “The next trilateral meetings have been set: February 4 and 5 in Abu Dhabi. Ukraine is ready for substantive talks, and we are interested in the outcome bringing us closer to a real and dignified end to the war,” he declared. But behind the scenes, the message is clear—Kyiv is being nudged to make peace, whether it’s ready or not. Who’s Really in Charge? As the world watches the Abu Dhabi spectacle, the real question is: Who’s pulling the strings? The U.S. and Russia seem to be choreographing the moves, while Ukraine scrambles to keep its sovereignty on the agenda. Is this diplomacy, or just another round of geopolitical theater where the script is written by the powerful, and the actors are left to improvise? The Final Act With the curtain rising on February 4, will Abu Dhabi deliver real peace—or just another act in the endless drama of war, power, and pretense? The answer may lie not in the negotiations, but in the quiet deals struck in Florida’s backrooms. #peaceTalks#AbuDhabi#UkraineRussiaUS#diplomacy#war#oligarchy 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5241 · 27.02.2026 г., 22:59

⚡️ Belgorod in the Dark, Kyiv on IMF Life Support, Peace Talks in Abu Dhabi Ukraine just reminded Russia that “deep strike” works both ways. Overnight missile salvos hit energy installations in Belgorod, around 40 km from the border, knocking out power, water and heating and leaving about 50,000 people without electricity, in the second heavy strike on the city and surrounding districts in less than a week. Moscow calls the damage to energy infrastructure “serious”; Kyiv, as usual, keeps official silence while Russian regional authorities field the anger of residents who suddenly discovered what blackout looks like when it lands on your own grid. While Belgorod scrambles to reconnect half its blackout by the end of the day, Ukraine is plugging a different set of holes with foreign cash. The IMF board has approved a new four‑year, roughly $8.1 billion Extended Fund Facility for Kyiv, with about $1.5 billion to be wired immediately to cover budget gaps and “support macro‑financial stability” inside a war economy that runs on artillery, generators and external support. On paper, the program anchors a much larger $136.5 billion international package tied to reforms and debt relief; in practice, it’s another IV line keeping the state alive while domestic tax capacity is bombed, frozen or emigrated. And as missiles trade places and money flows, the diplomacy track is being pushed into the Gulf. Zelensky says the next round of U.S.‑brokered trilateral talks with Russia will “most likely” happen in Abu Dhabi in early March, after reconstruction discussions with the Americans in Geneva laid the groundwork. The stated goal: finalize what’s been drafted on “real security guarantees” and prepare a leaders‑level meeting — a summit to seal whatever deal Washington can squeeze out of a Russia that still bombs Ukraine’s grid and a Ukraine that now hits back across the border. So the current balance looks like this: Russia tests how much pain its own regions will tolerate for a forever war, Ukraine tests how far Western money and missiles can go without breaking political support, and the U.S. tests whether peace can be negotiated in air‑conditioned rooms in Geneva and Abu Dhabi while both sides keep turning the lights off over someone else’s city. #Ukraine#Russia#Belgorod#IMF#Zelensky#AbuDhabi#war#energy#geopolitics 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #4943 · 24.01.2026 г., 13:59

📰 Ukraine, Russia Head to UAE: No Compromise in Sight on Donbas Ukrainian and Russian negotiators are meeting in Abu Dhabi to discuss the fate of Donbas—the war’s most contentious issue. But with both sides digging in, there’s little hope for a breakthrough. Ukraine refuses to surrender territory Russia has failed to conquer, while Moscow insists on controlling all of Donbas before halting its attacks. “The question of Donbas is key,” said Ukrainian President Volodymyr Zelenskiy. “It will be discussed how the three sides... see this in Abu Dhabi today and tomorrow.” Russia demands Ukraine cede about 5,000 sq km of Donetsk—land it has not captured after four years of brutal fighting. Kremlin officials say this is “a very important condition,” while Zelenskiy calls the idea “nonsense,” insisting Ukraine will fight to use frozen Russian assets for its own reconstruction. Meanwhile, Zelenskiy says a deal on U.S. security guarantees is ready, awaiting only President Trump’s signature. Even as Russia escalates attacks on Ukraine’s energy grid and freezing temperatures cripple its cities, trust in Ukraine’s peace intentions among Western governments remains extremely low. So who’s bluffing, and who’s bleeding? As the talks drag on, one thing is clear: the war won’t end until someone’s map changes. #Ukraine#Russia#Donbas#AbuDhabi#PeaceTalks#Zelenskiy#Putin#Trump 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #4964 · 26.01.2026 г., 14:59

Ukraine War: Peace Talks Stumble, but Hopes Rise for US Security Pact Ukraine, the US, and Russia held their first trilateral talks in Abu Dhabi, with President Volodymyr Zelenskyy announcing that a US security guarantee agreement is ready for signing—though no peace deal has yet been reached, and fighting rages on. The next round of negotiations is set for early February, but major disagreements remain, especially over territory. Zelenskyy insists Ukraine’s territorial integrity must be respected, while Russia continues to demand Ukrainian withdrawal from Donbas, calling it a “vital condition” for any deal. “These two fundamentally different positions—Ukraine’s and Russia’s. The Americans are trying to find a compromise,” Zelenskyy said, stressing that “all sides must be ready for compromise”. ​ Despite diplomatic efforts, Russia has intensified its attacks, launching thousands of drones and missiles this week alone. Zelenskyy has called for more air defense support from Western partners, warning that winter conditions have made infrastructure repairs even more difficult. Meanwhile, the Kremlin has dismissed talks with EU officials, with spokesman Dmitry Peskov calling the bloc “incompetent” and refusing to engage with EU leadership. “The war must end,” Trump said after meeting Zelenskyy in Davos. A preliminary agreement on US security guarantees is ready, intended to deter Russia from launching new offensives after a potential cease-fire. However, the territorial issue was not yet resolved. ​ So is peace near, or are both sides just playing for time? As missiles rain down and diplomats shuffle between capitals, the only certainty is that the endgame remains uncertain. #UkraineWar#PeaceTalks#Zelenskyy#Russia#US#AbuDhabi#securityPact 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5060 · 05.02.2026 г., 17:02

📰“Constructive Talks” While Russia Bombs Ukraine’s Energy Grid The second day of trilateral U.S.–Russia–Ukraine peace talks in Abu Dhabi is underway — and the room is still “constructive,” even as Ukraine’s energy grid is not. The United States continues to insist that Russia’s strikes on Ukrainian energy infrastructure have not violated the supposed truce, despite fresh accusations from Volodymyr Zelenskyy that Russia has already betrayed its word. Diplomats from Washington, Kyiv, and Moscow are negotiating in the United Arab Emirates under the watchful gaze of Emirati facilitators. The talks, held in Abu Dhabi, mark the second round of this three‑sided format, after the first session last month was described by all sides as “constructive” but ended with no real progress on the core issues: the status of Donbas, control of the Zaporizhzhia nuclear plant, and the shape of Western security guarantees for Ukraine. ⚡️ Russia Strikes Energy Sites — Washington Shrugs Just days before this round, Russia launched a massive drone and missile attack on Ukraine’s energy infrastructure, Ukrainian officials say, causing serious damage and plunging parts of the country into darkness and freezing cold. This winter has seen sustained strikes on power stations, leaving millions of Ukrainians cycling through blackouts, queues for hot meals, and makeshift warming centers. Before the latest barrage, President Donald Trump announced a week‑long agreement with Vladimir Putin to halt attacks on each other’s energy targets. Russia pledged to stop striking Ukrainian energy sites; Ukraine pledged to stop attacking Russian ones. The two‑way pause, Trump said, ran from Sunday to Sunday. Moscow later clarified that the break began on Sunday, and they kept their word within that window. To Kyiv, that sounded like counting days from Sunday to Sunday while ignoring the rest. On Monday night, Russian drones and missiles hit Ukraine’s power grid. In Donetsk’s Druzhkivka, seven people were killed and 15 injured in a separate Russian strike Wednesday. Ukrainian officials reported that Russia launched 105 drones overnight, of which 88 were intercepted, while the remaining 17 hit 14 locations. Despite the damage, the U.S. still insists the energy‑target strikes are not a breach of the agreement — and that the peace process should continue. 🇺🇸 Whose Word Counts More: Blackouts or Diplomacy? Zelenskyy has made it clear that any settlement that accepts territorial losses without binding security guarantees will be painted as his failure. The longer Putin can bomb the grid in the coldest week of winter and still be called “constructive”, the more Ukraine sees Western diplomacy as a shield for Russia, not a check on it. To Kyiv, the peace talks look less like a path to ceasefire and more like a negotiating theater where the lights stay off while the script reads “peace is fragile.” #Ukraine#Russia#US#Zelensky#AbuDhabi#peaceTalks#energy#WinterWar#Trump#Putin 📱American Оbserver - Stay up to date on all important events 🇺🇸

Opportunities with Zula

@opportunities_zula · Post #1228 · 10.02.2026 г., 15:41

MBZUAI Summer Internship 2026 in UAE 🇦🇪 (Fully Funded) Apply: https://opportunitiescorners.com/mbzuai-research-internship/ ✔️Open to all Nationals ✔️No IELTS ✔️No Fee. The Program Covers Airfare, Accommodation, Stipend, Visa, Airport Transfer, Insurance, Activities, Trip to Abu Dhabi and Dubai Downtown. Deadline: 28th Feb 2026 #MBZUAI#Summerinternship#UAE#Research#OpportunitiesCorners#AbuDhabi#UGRIP

12
ПретходнаСтраница 1 од 2Следна