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

Резултати

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

Търсене: #laws

当前筛选 #laws清除筛选
Bali News

@balinews · Post #419 · 27.05.2025 г., 16:25

💰Indonesia is preparing a tough law against corruption 📰 Indonesian President Prabowo Subianto supported the bill on confiscation of assets gained by criminal means. The new law will allow seizing assets from corrupt officials even if their origin is not proven in court. ➡️ This could be a breakthrough in the fight against embezzlement and return billions of rupiah to the budget. ℹ️ The Asset Forfeiture Bill (RUU Perampasan Aset) has been under discussion for years. Support at the presidential level could be a decisive step to get the document passed. #laws@BaliNews

Hashtags

Bali News

@balinews · Post #469 · 02.08.2025 г., 13:40

🏝Bali continues to sweep the coastline of illegal buildings 👮‍♂️Balangan is next. The area risks repeating the fate of Bingin: the authorities have already counted 23 cafes, warung and surf school, built without permits. 🚧 Now the documents are being checked, and only after the decision of the regional parliament will heavy machinery be able to move from Bingin to this beach - tentatively not before the end of August. #places#laws@BaliNews

Hashtags

Bali News

@balinews · Post #167 · 08.09.2024 г., 14:59

🥳'Enough of your parties': Bali wants to ban partying in Bali 📰 Coordinating Minister for Maritime Affairs and Investment Luhut Binsar Panjaitan said he is concerned about the huge number of foreigners coming to Bali. ❌ The main issue the government wants to focus on is the same – respect from foreigners for the local culture and way of life. The minister has explicitly called for stricter party laws. We also don't want villas to become party venues and people dancing virtually naked in clubs. We will not let them do that. Enough of your parties. @BaliNews #tourism#laws

Bali News

@balinews · Post #76 · 04.06.2024 г., 11:00

🚯‘Bali doesn't need a rubbish tourist’: Balinese demand stricter controls on foreigners Dozens of angry social media posts from outraged Balinese forced Indonesian Minister of Tourism and Creative Economy Sandiaga Uno to calm the public. The minister reiterated the need to hold foreign visitors strictly accountable if they break the rules. This applies to tourists, investors and foreign business owners. 📞 The Directorate General of Immigration of the Ministry of Law and Human Rights has opened a hotline for people who want to report suspicious activities or legal status of foreign nationals. The head of the department, Saffar Muhammad Ghodam, said the alert line is operated by the information and complaints service for immigration monitoring and enforcement activities. Reporting any information, including unverified information, is encouraged to 📱 (+62)81399679966. ‘This immigration monitoring and enforcement hotline allows the public to lodge complaints against foreigners suspected of violating immigration rules,’ Saffar said in an official statement. @BaliNews #tourism#laws

Bali News

@balinews · Post #22 · 23.04.2024 г., 12:32

👮 Bali has started spot check drug tests on tourism drivers Bali has introduced spot-check drug tests on tourist drivers at top tourist attractions on the island. The first spot checks were conducted on Friday, April 19th. The spot checks are part of a wider mission to crack down on the use of drugs and tourist service providers driving and conducting work activities under the influence. @BaliNews #laws#tourism

Bali News

@balinews · Post #433 · 11.06.2025 г., 11:10

📰Bali tightens measures against reckless tourists Speeding will result in deportation. 👮‍♂️ The hunt for reckless drivers is underway in Bali: one serious speeding offense, riding without a helmet, or performing stunts on a motorcycle will now result in deportation without warning, rather than a fine. 📍 The police and immigration service are already conducting night raids in Chang and Uluwatu, confiscating motorcycles and checking riders. It's time to clean up the island of people who don't respect others, but above all themselves... #transport#laws@BaliNews

В РБК вышла моя колонка с критикой обсуждаемого законопроекта по регулированию почтовых сервисов [1]. Самые неприятные последствия что этого что других запретительных законов - это падение привлекательности российской юрисдикции для любых интернет проектов. При таком регулировании цифровой экономики не будет. Ссылки: [1] https://www.rbc.ru/opinions/politics/14/10/2019/5da033ea9a79478f25ca783c #laws#runet

Hashtags

Bali News

@balinews · Post #157 · 31.08.2024 г., 04:00

📱Indonesian authorities are preparing to block Telegram 📰 The country's Minister of Communications and Information Budi Aryeh Setiadi said that Telegram is one step away from being blocked on the territory of Indonesia. All because of its refusal to co-operate with law enforcement. We have warned Telegram twice, because on this platform there is a mass distribution of not only gambling, but also pornography. said Budi Aryeh Setiadi at the Jakarta Communications and Information Office. 🤞 However, the communications and information minister did not give an exact timeline for when Durov's messenger will be out of Indonesian laws. At the moment it is known about two letters that the Indonesian authorities sent to the Telegram office. In addition, an investigation is ongoing. And it is on its results, apparently, that the verdict that will be handed down to the messenger will depend. @BaliNews #accidents#laws

Bali News

@balinews · Post #104 · 30.06.2024 г., 04:01

🕵🏼Mass capture of cybercrime suspects occurred in Bali 👮‍♂️ Indonesian authorities detained more than a hundred foreign nationals. This massive operation was carried out by the Bali Becik unit, which is the name of a special branch of immigration enforcers in charge of controlling foreigners who break the law. Part of the immigration team conducted surveillance at a villa in Marga neighborhood, Tabanan regency. 💻 The detainees had no official documents and they all had expired visas. In addition, numerous computers and cell phones were found at the scene, indicating likely cybercriminal activity. @BaliNews #accidents#laws

Bali News

@balinews · Post #467 · 30.07.2025 г., 08:45

📰Yoga for donation is a direct route to deportation from Bali ℹ️ A yoga and freediving trainer was deported from Bali after immigration saw announcements on his social media accounts of “yoga-for-donation” classes and deemed them illegal work. Officers found out that the foreigner only had a tourist visa, which does not authorize him to conduct commercial activities. 👮‍♂️ Bali tourists should remember: any work without authorization will cost the foreigner deportation and entry ban. #laws#free@BaliNews

Hashtags

ПредишнаСтр. 1 от 4Следваща