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

Резултати

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

Търсене: #auri

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

@PensivePost · Post #5763 · 25.05.2022 г., 16:55

Coming into my life Talking for long in midnights I kept my feelings hidden from you Waiting for the apparent time to propose you But you already had someone in your heart In your life, I wasn't going to play any part That fake friendship has reached its destination And your real face is out with real intentions Your intentions were clear and I misunderstood them I fall for you, don't know how and when? All those moments of teasing each other Showing solace and caring for each another I was clear with my thoughts about you And you showed colours which were true That forged friendship has reached its destination And your real face is out with real intentions No one can return those years spent for you No one can return the efforts I made for you My exhilaration to meet you reaching the clouds Even almighty was glad up in the clouds Every rain witness my thoughts about an amorous ride I took the long way to drop you and spent some more time But that friendship was fictitious and it's reached its destination And your real face is out with real intentions I wore your favourite colour just to impress you I followed the safe path to drop you just to protect you My eye lashes to witness the wish I yearn for The dark circles witness the sleepless nights I was awake for My sweat witnessed the time I ran after you My jean witness the first and last gift I got from you But that friendship was counterfeit and it's reached its destination And your real face is out with real intentions My eyes shed tears while remembering you I can't date anyone, cannot love someone more than you What person have I become? I regret the time which has come. That fake friendship has reached its destination And your real face is out with real intentions You have forgotten those days when I used to drop you at your place You have forgotten those days when I used to spend my pocket money on your birthdays In my every prayer, I asked for you Every beat of my heart beats for you But that all was bogus and has reached its destination And your real face is out with real intentions Today you are holding someone's hand and going to be his bride now I wish and pray you to keep that you sow He will also leave you as you left me long ago You may marry him, but won't be able to fulfill its woe Karma is a bitch you know that right? Now your time to take its ride Our friendship and my heart were broken that day When you posted your Instagram story and tagged him as your bae. Now my eyes are dry and there is no teary rain My heart is no more working and all the decisions, I am taking from my brain I will get someone better who can hold my hand Unlike you, who follow the brand I wish and pray from the depth of my heart You won't be happy I pray from my heart Your betrayal made me realize We weren't meant to be together, I don't want to meet you not even in paradise #review #poetry #auri

Pensive|

@PensivePost · Post #5762 · 25.05.2022 г., 16:43

"It's 10 PM,Do you want to walk me home?" He asked. "Are you afraid to walk alone?" She replied. "No one is alone after talking with a beautiful girl," He answered. "How come?" She questioned with known eagerness. "Thoughts occupy the fragrance of smile, nose smells beauty, eyes see wonders and tongue starts to speak never heard poetical lines" "Hey, stop flirting.I will walk with you," she said cutely. "We already reached the destination," He replied. "Now, do you want to walk me home?" Craziness came out of her words. "Of course!!! " He answered with a sense of bliss. Both smiled. The same thing continued for the next few hours. "It's a boon to love and to be in love" #review #story #auri

Pensive|

@PensivePost · Post #5783 · 30.05.2022 г., 01:06

My views about love is quite sorted out. No, I will never say "I love you" because I believe it's only the beginning.. When something starts it eventually ends and I don't want the story to end I just want a never ending story. "Sometimes I may hold your hand tight in the crowd, or I will wrap my arms around me pouring some self love Either I share my umbrella with you or we get drenched together Maybe I will fight for window seat with you or I will let you have it Okay I am this person who loves adding extra sugar to her tea but with you I can have no sugar tea. Just like the sugar free tea taste better with you similarly I am better version of me with you. I am me without you too but with you I am just the ~better~ best version." #review #auri #love

Pensive|

@PensivePost · Post #5785 · 30.05.2022 г., 07:59

She was totally surprised that I’d “let her go” after she admitted the cheating. She had expected a long intensive fight. But I did not want her back. In fact never, ever. She had turned into a liar — someone who had lied for months and months, each and every day. The irony is: the literal second before she told me the truth (which I had suspected for almost six months, but which she had virgorously denied), I would have done anything for her. I had fought for many months over a period which felt like one long nightmarish night with everything I got, but as soon as the truth — and nothing but the truth — was out, the fight was over. She was a liar. Had become one. Would always be one. So I did not fight anymore. That is to say: not for her. That had become a war I could not win anymore, and one she had already lost. So she was gone forever, and I realized I had to start all over again, trying to walk to new horizons and not knowing what to expect. After 10 fucking years. The nights became cold, and silent. And she smelled blood, smelled my weakness, so she went for the kill, for the money, for the house, thinking that now I was lying in my own pool of stinking tears, she might as well bash in my head and get it over with. She announced it to her friends, to her family. She would get the money. She would ruin me — she was a new person now, and would not care about her old life, ever again. (Her words.) And, dear friend, I will end my little sermon now with my own three beautiful words. She lost again. #review #breakup #auri