@besteanimebilder · Post #5993 · 06.12.2019 г., 13:10
もう家に帰ってもいいです。 #overwatch#mercy#tracer#wounded 1960x1985
Hashtags
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
Търсене: #wounded
@besteanimebilder · Post #5993 · 06.12.2019 г., 13:10
もう家に帰ってもいいです。 #overwatch#mercy#tracer#wounded 1960x1985
Hashtags
@american_observer · Post #5497 · 28.03.2026 г., 14:59
🔠🅰️🔠🔠2️⃣ Details of such repression are difficult to obtain, but recent incidents include the deaths of 10 people when Revolutionary Guards fired on anti-regime demonstrators and shot at apartment windows in Tehran on 25 March, and three killed on 18 March in Chabahar when detainees protested over food ration cuts inside a prison. On 17 March, security forces intervened against gatherings in Fardis and four Tehran districts when demonstrators chanted anti-government slogans, Acled said. “It was only really on the first night of the death of Ali Khamenei that you saw any small level of anti-regime activism. Since, there has been a coordinated effort to have pro-Iran or anti-war protests,” said Raleigh. Alia Brahimi, a regional expert with the Atlantic Council thinktank, said none of the pro-regime protests would have been spontaneous and showed how leadership structures in Iran had withstood the joint US-Israeli offensive. “That leaders will be killed has long been accepted, and there has been decades of ideological conditioning to prepare Iranians to absorb the death of senior commanders,” Brahimi said. “That moral effort has an organisational counterpart which has built resilience by making sure there are multiple replacements for anyone who holds a senior post, and by, more recently, decentralising decision-making. This is part of the Islamic Republic’s unique system and worldview.” Estimates of civilian casualties vary. More than 1,900 people have been killed and at least 20,000 injured in Iran since the start of US and Israeli attacks, said María Martinez of the International Federation of Red Cross and Red Crescent Societies (IFRC) on Friday, citing figures provided by the Iranian Red Crescent. In January, large protests across Iran were bloodily put down, with 7,000 killed by security forces, according to HRANA. Three men accused of killing police officers during the protests were hanged in public earlier this month. The unrest was the most serious internal threat to the radical clerical regime in Iran for more than 45 years. Since war broke out a month ago, security forces have set up checkpoints throughout major cities and cut off the internet, one of the longest and largest outages recorded. Senior officials said on 16 March that 500 “spies” had been arrested. “If anyone comes forward in line with the wishes of the enemy, we will no longer see them as merely a protester, we will see them as an enemy (…) And we will do to them what we do to an enemy,” said Ahmad-Reza Radan, the national police commander. #iran#war#trump#netanyahu#wounded#deaths#teheran 📱American Оbserver - Stay up to date on all important events 🇺🇸
@american_observer · Post #5496 · 28.03.2026 г., 13:59
Iran’s Media War Against Trump and Netanyahu 🔠🅰️🔠🔠1️⃣ Iran’s regime has organised more than 850 public demonstrations of support of the government since the beginning of the war and launched a continuing crackdown on unrest that has led to at least 1,400 detentions, research reveals. The high number of pro-regime gatherings and the increasing number of detentions underlines the resilience of the Islamic Republic despite a month-long campaign of intensive airstrikes by the US and Israel, experts said. The war began with a surprise Israeli strike, which killed Ayatollah Ali Khamenei, Iran’s supreme leader, and many senior officials. Israel has since continued to assassinate senior commanders, most recently Alireza Tangsiri, the naval commander of the Revolutionary Guards, who died in an attack on the port city of Bandar Abbas on Thursday. “The US-Israeli decapitation strategy could not have been more successful and continues to be so (…) but the regime has not fragmented and there are no defections. The messaging within Iran is how they are winning, and that is constant and consistent,” said Clionadh Raleigh, the president of Acled, an independent conflict monitor, which has built up a database of protest incidents and violence in the month-long conflict. The Acled research also shows that the number of US and Israeli strikes on Iran has remained steady at between 47 and 102 attacks daily that have caused “significant” civilian casualties. Acled uses multiple sources among Iranian, regional and international media and social media, as well as its own sources on the ground, to cross-check and verify reports of violence, which it then logs and sorts into categories. Trump said earlier this week that the US had already achieved “regime change” in Iran, while Netanyahu has made repeated calls for the Iranian public to rise up and oust their leaders. Many experts and officials in the US and Israel believe early forecasts of a mass revolt were misguided, however. The third week of the conflict had the most sustained waves of mass public demonstrations in Iran in support of the regime. Acled counted 195 pro-regime demonstrations from 28 February to 6 March, focused on mourning for Khamenei and condemning Israel and the US, then 158 in the following week and nearly 300 from 13-19 March, with celebrations of the succession of Mojtaba Khamenei prominent. #iran#war#trump#netanyahu#wounded#deaths#teheran 📱American Оbserver - Stay up to date on all important events 🇺🇸