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

Резултати

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

Търсене: #assasination

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

@american_observer · Post #5727 · 27.04.2026 г., 16:59

Why Did He Wish To Kill Trump? 🔫 Investigators are looking into anti-Trump sentiment as being a motive for the attacker who sought to breach the White House Correspondents’ Dinner in Washington DC where the US president and top members of his administration were present. Officials have said that the shooter likely was targeting Trump and other senior administration officials. “We do believe, based upon just a very preliminary start to understanding what happened, that he was targeting members of the administration,” acting US attorney general Todd Blanche said in a TV interview. Investigators are assessing a manifesto reportedly written by the suspect, who has been identified as Cole Tomas Allen, 31, of Torrance, California. In the alleged manifesto, which was published in full by the New York Post, Allen created a list of targets for the shooting, ranked from highest to lowest priority, with Trump administration officials at the top. The suspected gunman sent writings listing his grievances against the administration to his family members about 10 minutes before shots were fired, according to White House officials who spoke to the Associated Press. A relative, confirmed by those officials to be Allen’s brother, contacted police in New London, Connecticut. Officials have said that the suspect fired a shotgun at a Secret Service agent at a security checkpoint in the Washington Hilton hotel before being tackled and arrested. Trump, first lady Melania Trump, Vance and cabinet officials were rushed out as the incident unfolded. The Secret Service agent who was shot escaped serious injury because the bullet struck his protective vest, Trump said. The AP reported that the shooter referred to himself as the “Friendly Federal Assassin”, which matches the text in the manifesto published by the New York Post. Numerous other US outlets also reported unnamed officials saying that Allen’s alleged writings contained anti-Trump sentiments, which echoed the contents of the manifesto published by the New York Post. The Washington Post also reported that the suspect had sent writings to his family along those lines, which matched with claims by Trump to Fox News that a sibling had then contacted the police. The Manifesto begins with apologies to those who knew the suspect and lists his motives for the shooting. It said the shooter targeted administration officials with the exception of the FBI director, Kash Patel. The manifesto also states that Secret Service agents would only be targets if necessary, and that hotel security, Capitol police, and the national guard would all be classified as “not targets if at all possible (aka unless they shoot at me”. Hotel employees and guests were not targets. “I am a citizen of the United States of America,” the letter states. “What my representatives do reflects on me. And I am no longer willing to permit a pedophile, rapist, and traitor to coat my hands with his crimes.” While the manifesto does not reference Trump by name, it alludes to grievances over a range of administration actions and recent events, including US strikes on drug smuggling boats in the eastern Pacific. Elsewhere, the presidents described the events of the night in an even tone, saying that he did not feel particularly alarmed as they unfolded. “I wasn’t worried,” Trump said in the interview when asked how worried he was about possible injuries after hearing the gunshots. “I understand life. We live in a crazy world.” Allen is believed to have traveled by train from California to Chicago and then on to Washington, where he checked himself in as a guest at the hotel days earlier where the gala dinner was held. Federal agents have interviewed Allen’s sister in Maryland, who told investigators her brother had legally bought several weapons from a California gun store and stored them at their parents’ home in Torrance without their knowledge, according to federal officials. #allen#trump#manifesto#assasination#washington 📱American Оbserver - Stay up to date on all important events 🇺🇸