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

Резултати

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

Търсене: #prose

当前筛选 #prose清除筛选
Pensive|

@PensivePost · Post #5765 · 26.05.2022 г., 07:37

*No Gold , But A Rich Heart* Neither I've got gold nor Apple Products , my bad I couldn't afford , But destiny had planned something different , wants to send this scholar abroad ; Neither I've got smart watch nor new sneakers , If you underestimate my power , by challenging me , trust me , I'm the game changer ; Never got a chance to enter KFC or Starbucks , Still , everyday , on my door , a new glory knocks ; Till today , I use the same pencil box , brought by me seven years back , But still my pen never stops , my hand powerful enough to compete with time , fastest on the poetry track ; Never got a wireless headphone , still my ears are sharp , Topper of the batch , keen sense of listening , can detect any trap ; Not having crown of royalty , still my brain working in light speed , Curiousity to gain knowledge forever , pen and paper for poems , is all I need ; Maybe not a millionaire , but rich from my heart's core , Tranquil waves worth more than a billion , with me standing on the sea shore ... #review #prose

Pensive|

@PensivePost · Post #5761 · 25.05.2022 г., 13:15

Even now I am fighting with machines. And things were going to get easier. Automation is the God that will free itself, and God only knows what will happen to the rest of us. I don’t think it will be a soft landing. The best hope is lobotomisation, and I hope I will be the first one in line... Unless... Do you want to fight it? Are you nuts? Because that will go well, won't it. The whole world collapsing on itself. The giant cluster-fuck of nuclear weapons, quantum computers, and twitter-hate. That's the dream, isn't it? We emerge from the bunkers, the smart few who distrusted everything and everyone. After years of eating tinned baked beans, we come up to the earth's sandy crust. We can start afresh. A brand new page. Let me make the first toast with our radiated water filled with rat shit. Thinking about it, it may actually happen but in reverse order. I don't see any winners if that's the outcome at the end of all this. It's impossible to not think about the world ending. Thinking about surviving it is worse. It disconnects from the present in all forms. I can see the appeal of already living in the imaginary future. We've done it for centuries, haven't we? The body is sinful, so there is a heaven where the soul can be free of the impurity of being. Life-deniers. Can't deal with life as it is, so something beyond our senses had to be deviously concocted in the minds of the holy men. There is no life now, there is the afterlife as the only true life worth thinking about... But, anyway, not today, brain. Not... To... Day... Today is not the day. Today I have convinced myself that things aren’t that bad. And even if they are, it won’t matter to me at all. Why should it? I can’t do anything about it. And who would want to? At least we can fantasise that we could own the world if it all went wrong because the chances are most of us won’t live long enough to even test that theory. By then we'll be gone, pulverised by the crushing streamlined processes of the bureaucratic unfreedom. And we bitch about it all the time too. I mean, I do. Most of the people participating in it seem to as well. Because what’s the alternative? What else would you have done? Isn’t that the reason why we vote for some fuckers to make the decisions about what’s best for us anyway? This is as good as it gets. So, you and me… we better get over ourselves. I am working on it. I am working on it as I write this. I will press the submit button again and see if God has changed their mind. #review#poetry#prose

Pensive|

@PensivePost · Post #5753 · 24.05.2022 г., 15:04

I find the lost solitary star more refulgent than the easy close glint ones. It's easy to see things for what they closely appear to be, but I crave to dig behind the skin. I crave to dance inside the rooms behind your voice. So if you want to show me your world, show me where the lights are dimmer. Show me your twilit. Dawn is too clear not to feel. #review#amtupu_#prose

Pensive|

@PensivePost · Post #4753 · 17.01.2021 г., 14:31

Honesty for one, behold my love. I'll come in your dreams, For every night that I'm gone. Honesty for one, Behold my Love. #review#noob#prose Author's note: This might not make sense because: There's a song that I only remember by the deep voice of the singer, the melody and the vague-not-so-understood lyrics. These are the words that match that voice and my feelings. And obviously not the exact lyrics.

Pensive|

@PensivePost · Post #5000 · 14.03.2021 г., 10:00

#review#prose#Angela UNASHAMED My friends always laugh at me each time senior faith shouts and Chase me away, warning me never to come anywhere close to her. They always warn me to stop listening to everything my mind tells me, else I will get into trouble, but I never listened to them. Senior faith was a brainy personnel, she was good at everything, an exceptional being in the whole school. One day I told my friends that I would make her my best friend, but they laughed hilariously mimicking me, well they never imagined that they would ever say a word to her, and here I am saying that I would make her my best friend. Each time i greet her she would reply harshly cause she felt I wasn't her type neither was I in the same level with her Not minding her attitude, I kept on greeting her lovingly, then one day she called me and said " why are you stubborn" was I really stubborn " I like your ways" I was extremely scared, not knowing how she will react "oh that's good, do you want to be like me" I took a deep breath before replying " yes, sure, I want to be like you" there was this sweet smile she gave, that melted my heart. "No problem dear, I'm in ss3b, come see me later after dinning I would be waiting for you" My missing rib has been found, I knew i wasn't complete, but now am over complete. She isn't who people thinks she is, if only I covered myself in fear and doubt I wouldn't have gotten this opportunity, just like the woman with the issue of blood , despite her condition and the fact that she shouldn't be seen among the people she struggled hard until she touched him. I was unashamed when I approached that senior The woman with the issue of blood was Unashamed cause she knew what she wanted.

Журнал Лиterraтура

@literratura · Post #116 · 24.11.2020 г., 14:21

Журнал Лиterraтура (literratura.org) представляет вашему вниманию 4 выпуск программы "Проверено Лиterraтурой". В гостях Елена Сафронова - писатель, литературный критик. Ведущая программы - Анна Арканина. https://youtu.be/ihBeYaZbK9k #лиterraтура, #literratura, #poetry, #poems, #prose, #stories, #literature, #reading, #литературныйжурнал, #новыйномер, #стихи, #проза, #современнаяпроза, #драматургия, #нон_фикшн, #критика, #non_fiction, #criticism, #dramaturgy, #чтение, #истории, #поэзия, #конкурс, #премия