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

Резултати

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

Търсене: #rule

当前筛选 #rule清除筛选
Ali Ahmad

@AlisherAhmatovich · Post #803 · 22.06.2023 г., 19:04

#rule Juniorlar - Sizni, yangi ishga kirgan kompaniyangizga, foydangizdan ko'ra zararingiz ko'p bo'lishi mumkin, shuning uchun, "meni eshshakdek ishlatib arzimagan summa beryapti", "ketaman bu ishxonadan" deb siqilavermang. Sizni yozgan kodlaringizni baribir kimdir, soatini narxi qimmat bo'lgan tajribali birortasi vaqtini ketqazib, tekshirib chiqadi. Mobodo tekshirmasdan nimadir xato narsa loyihaga o'tib ketsa, zararingiz 10x, 100x, 1000x bo'lishi mumkin. 1-2 ta tanish, o'rtoq juniorlar salgina yaxshiroq oylikli ishga kirdi degani, sizam shunaqasiga kirishingiz kerak, boshqasiga dam degani emas. Yana o'ziz bilasiz, Hojiboy aytadiyu: "Qorbobo" deb Ha aytgancha, hoy middle, seniorlar, siz junior paytingiz, ishxonangizni qanchaga "kirgizib" yuborgansiz? ))

Hashtags

Recursion Automata® 通知频道

@RecMataChannel · Post #248 · 31.01.2025 г., 07:02

#info#aff#rule 简单规范下外部讨论组推广规则,该规则对发出时之后、颁布新规定之前的群消息生效: 1. 群组每 24h 清除一遍消息,且限制每 1h 发言一次,在群消息保留期间每个用户只能发送一遍推荐文案,超出该限制的管理员一经发现应立刻删除,多次违规应移出群组; 2. 群成员不允许使用频道身份发言,管理员一经发现应立刻停用该身份发言权限; 3. 原则上不鼓励在外部群组讨论各类事项,和服务相关的问题应当尽量引导到客户群内处理。 感谢大家的配合。

American Оbserver

@american_observer · Post #5330 · 09.03.2026 г., 15:29

⌨️⌨️⌨️⌨️⌨️ The appointment of Mojtaba Khamenei was welcomed by Yemen’s Houthi rebels, who are backed by the Iranian regime. “We congratulate the Islamic Republic of Iran, its leadership and people, on the selection of Sayyid Mojtaba Khamenei as Supreme Leader of the Islamic Revolution at this important and pivotal juncture,” the group said in a statement on Telegram. Mojtaba Khamenei’s elevation marks the first time since the 1979 Islamic revolution that Iran’s supreme leadership has passed from father to son. It is a development likely to ignite debate inside Iran about the emergence of a dynastic system in a state founded explicitly to overthrow hereditary rule after the shah. Ayatollah Ali Khamenei, who ruled for 37 years, was killed in a US-Israeli strike on Tehran on 28 February, on the first day of the war with Iran. Across Iran’s political and security establishment, officials moved swiftly to welcome the appointment of Mojtaba Khamenei as the country’s new supreme leader. The Revolutionary Guards declared they stood ready to follow him, signalling broad backing from the country’s core institutions. Earlier in the day, in a post on X in Farsi, the Israeli military said it would continue pursuing every successor of Ali Khamenei and would pursue every person who sought to appoint a successor for him. For many analysts, Khamenei’s appointment is a symbolic move designed to make the regime still appear strong and determined not to bow to western pressure. The 56-year-old cleric has never held elected office nor formally occupied a senior position within Iran’s government. He has spent much of his life at the centre of power in Iran while remaining largely out of public view. To his supporters, Khamenei represents continuity with the ideological line established by Ayatollah Ruhollah Khomeini and maintained by his father. To critics, his rise raises uncomfortable questions about the concentration of power – and the possibility of hereditary leadership in a state founded in revolt against monarchy. Oil prices surged more than 25% on Monday to their highest levels since mid-2022, as major Middle Eastern oil producers cut supply because they cannot safely send shipments through the strait of Hormuz to refiners worldwide. Traffic through the strait was largely closed after Iran attacked at least five ships, with a limited number of tankers transiting, choking off a key artery accounting for about 20% of global oil and LNG supply. #khamenei#mojtaba#son#iran#leader#rule 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5329 · 09.03.2026 г., 14:59

Ali Khamenei’s Second Son Took His Place Who is He? ⌨️⌨️⌨️⌨️⌨️ Mojtaba Khamenei, the second son of the late Iranian supreme leader Ayatollah Ali Khamenei, has been chosen as his successor, as the war enters its 10th day and fresh missile and drone strikes reverberate across the Middle East. After members of the clerical body responsible for selecting Iran’s highest authority announced the decision on Sunday, Iranian institutions and politicians, from the foreign ministry to lawmakers, issued statements expressing their allegiance. “We will obey the commander-in-chief until the last drop of our blood,” a statement from the defence council said. The move could lead to a further escalation of the war, given Donald Trump had already acknowledged that Mojtaba Khamenei was the most likely successor and made clear he considered him an “unacceptable” choice. The US president said earlier on Sunday that Iran’s next supreme leader was “not going to last long” if Tehran did not get his approval first. When asked about the appointment during an interview with the Times of Israel published late on Sunday, Trump was reported as saying: “We’ll see what happens.” In the same interview, Trump said a decision on when to end the war would be a “mutual” one, together with Netanyahu. Trump also asserted that Iran would have destroyed Israel if he and Netanyahu had not been around. “Iran was going to destroy Israel and everything else around it (…) We’ve worked together. We’ve destroyed a country that wanted to destroy Israel,” he was quoted as saying. The Israeli military said it had launched a wave of strikes on Monday targeting “regime infrastructure” in central Iran, the first such announcement since the appointment of the new supreme leader. The military also announced strikes on the Iran-backed militant group Hezbollah in Lebanon. Iran and its proxies appeared to have launched attacks, too, with rocket and drone strikes targeting a US diplomatic facility near Baghdad’s international airport that were intercepted by the C-RAM defence system, said police sources. A drone strike targeted a US military base near Erbil airport in Iraqi Kurdistan, security sources said, while Saudi authorities reported intercepting a drone east of its northern al-Jawf region. In Bahrain, the health ministry reported 32 people were wounded overnight by an Iranian drone attack on the island of Sitra. They include a 17-year-old girl who suffered severe head and eye injuries, and a two-month-old baby, according to the ministry. Iranian state media also showed a projectile said to have been launched at Israel bearing the slogan: “At your command, Sayyid Mojtaba,” using an Islamic honorific. #khamenei#mojtaba#son#iran#leader#rule 📱American Оbserver - Stay up to date on all important events 🇺🇸