TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #672 · 28.11

Впервые сделал крупный проект (под NDA, так что не расскажу, какой) на облачных функциях. Впечатления противоречивые. Изначально программисты арендовали компьютер в датацентре: или целиком или кусочек. На нём теоретически можно делать что угодно, но для запуска своих программ нужно было настроить операционную систему, безопасность и авторизацию, установить нужные исполнительные модули, программы для удобства деплоя, мониторинг нагрузки итд. Поэтому появились сервисы, которые это всё делают за тебя, а тебе дают буквально окно, куда можно написать свой код и запускать его удалённо на чужой машине. Конкретно я пользовался решением от Яндекса, чей протокол скопирован напрямую с Amazon Web Services. Причём, в документации не только открыто об этом говорится, но ещё и в некоторых местах перенаправляют на доки от Amazon. И SDK предлагают тоже использовать амазоновский. До санкций я бы сказал, что это не так плохо — можно использовать что-то привычное тем, кто уже работал с Amazon. Но сейчас привязка к американскому сервису выглядит скорее жирным минусом. Не знаю, есть ли у Яндекса ресурсы на какое-то серьёзное разделение. Судя по состоянию документации и платформы в целом — нет. Yandex Cloud кажется системой, которая активно развивалась несколько лет назад, а сейчас подзаброшена. Среда выполнения .NET отстаёт от актуальной на две версии (3.1 вместо 6, четвёртой версии не существует). Изначально мой проект был написан как обычное контейнеризированное приложение на .NET 6, а потом я переводил его на функции. Пришлось пройтись по всему коду и переписать несовместимые куски с C#10 на C#8, это было не слишком приятно. Документации фактически нет, а там, где есть, много путаницы. В примерах написано одно, по факту другое: например в функцию вместо объекта Request приходит просто строка, а разбирать её надо самому. Авторизацию я нашёл только на Stackoverflow. Интересно, что адекватных доков про неё не было ни у Яндекса, ни у Amazon. Функция выполняется и выгружается, поэтому ваша программа не должна рассчитывать на наличие постоянно живущего процесса. Мне пришлось вытащить из неё большой словарь, который грузится при старте, и положить уже подготовленные данные из него в Object Storage — это такое горячее файловое хранилище, там же рядом с функциями. Справедливости ради, работает это всё быстрее, чем я думал. Удалось запихнуть в функции даже сравнительно большой проект с кучей классов, создающий при запуске несколько десятков объектов и производящий загрузку из сети с декомпрессией. Другой важный плюс — бесплатная квота довольно внушительная: миллион вызовов и 10Гб*часов оперативной памяти в месяц. Для пет проекта вы сможете вообще не покупать сервер. Но если сервер у вас всё-таки есть, деплой вы уже настроили, то удобнее будет, конечно, делать как привычно. И гибкости больше. #dev

Hashtags

Резултати

Намерени 2 подобни публикации

Търсене: #dodik

当前筛选 #dodik清除筛选
American Оbserver

@american_observer · Post #5691 · 23.04.2026 г., 14:00

The War Between the EU and the US Is Real Than Never The EU risks a confrontation with Trump after it sought to stall the awarding of a lucrative Balkans pipeline contract to a company fronted by his personal lawyer, documents seen by the Guardian show. Brussels has clashed with Trump over trade, Ukraine and military spending, but the intervention in the Southern Interconnection pipeline project appears to mark the first time it has challenged a commercial venture by those close to the president. The pipeline will run through Bosnia and Herzegovina. Under what Bosnian sources say have been months of pressure from US officials, its leaders have been moving quickly to award the contract to a previously little-known company based in Wyoming. AAFS Infrastructure and Energy was incorporated in November last year and has not disclosed its owners. It is fronted by two leading members of Trump’s campaign to overturn his 2020 election defeat : Jesse Binnall, a lawyer who defended him against allegations of inciting the Capitol riots after his defeat, and Joe Flynn, the brother of the president’s former national security adviser. Despite lacking any apparent track record, AAFS is planning to invest $1.5bn in the pipeline and other Bosnian infrastructure projects, its local representative has said. In March, lawmakers approved legislation that Transparency International said would set a “dangerous precedent” by stipulating that the contract must go to AAFS without a tender. Days later, Brussels’ representative in Sarajevo delivered a private warning to Bosnia’s leaders that they were jeopardising the country’s hopes of joining the EU. In a letter sent on 13 April, obtained by the Bosnian investigative outlet istraga.ba and seen by the Guardian, the EU official Luigi Soreca wrote that, under an energy agreement between Bosnia and Brussels, it was “crucial that draft laws are thoroughly coordinated” with the EU. Soreca said Brussels should have a say in the pipeline legislation. “In this way, Bosnia and Herzegovina can continue to progress on its European path and avoid missing out on opportunities for further integration, as well as financial opportunities,” he said. Binnall has said the pipeline is a “priority for the Trump administration”. Asked about the EU’s intervention, he said: “AAFS will never lose sight of what truly matters in this project: delivering energy security and fostering economic development for the people of Bosnia and Herzegovina. We are committed to working closely with all relevant authorities to develop the infrastructure needed to make this vision a reality.” By connecting Bosnia to a liquefied natural gas terminal off the Croatian coast, the pipeline would allow US gas to reach a country that depends on Russia for its entire supply. After Putin launched Russia’s full-scale invasion of Ukraine in 2022, Brussels set a deadline for EU members – plus aspiring members, such as Bosnia – to stop buying Russian gas by 2028. Nonetheless, Brussels faces the prospect of a crucial new piece of Europe’s energy chessboard falling under the control of not just a US company, but one personally connected to an antagonistic president. Binnall and Flynn are not the only ones from Trump’s circle to have shown an interest in Bosnia. Joe Flynn’s brother Michael – a former US intelligence chief whose conviction for lying to the FBI about his dealings with Russia was quashed by a pardon from Trump in 2020 – has been lobbying for the head of Bosnia’s Serb nationalist faction. The lobbying campaign succeeded in October in having US sanctions lifted from Milorad Dodik, the Bosnian Serb leader who has been undermining the 1995 peace accord that ended a three-year war in which more than 100,000 people were killed. In April, Donald Trump Jr, who runs the family business empire, visited Sarajevo. Although neither he nor Michael Flynn appear to be directly involved in the pipeline project, Dodik has thrown his support behind it. #trump#dodik#gaz 📱American Оbserver - Stay up to date on all important events🇺🇸

Tutto Elezioni

@tuttoelezioni · Post #1390 · 23.11.2025 г., 10:02

#BosniaErzegovina🇧🇦 #RepublikaSrpska #Presidenziali 🗒Breve panoramica della Republika Srpska La Repubblica Serba (Republika Srpska) è una delle due entità che compongono la Bosnia ed Erzegovina, insieme alla Federazione di Bosnia ed Erzegovina. Nata dagli Accordi di Dayton del 1995, è l’area in cui è maggioritaria la popolazione serba di Bosnia (nella Federazione si concentra la popolazione croata e bosgnacca). Il centro amministrativo della Repubblica è Banja Luka. La Republika Srpska è politicamente dominata da partiti nazional-conservatori serbi, in particolare l’Alleanza dei Socialdemocratici Indipendenti (#SNSD|Nazionalisti serbi russofili) di Milorad #Dodik, e i rapporti con il governo di Sarajevo sono spesso tesi, soprattutto sul tema dei poteri delle istituzioni centrali e dell’Alto Rappresentante. Le elezioni nell’entità hanno sempre un impatto significativo sull’equilibrio complessivo della Bosnia ed Erzegovina. ❓Come si vota? Per le elezioni presidenziali, è previsto un unico turno ed è eletto Presidente il candidato che ottiene il maggior numero di voti. Il mandato dura 4 anni. @TuttoElezioni