Как заработать миллион (не сум) если тебе 18? Многие часто об этом задумывались. Что делать если в стране почти не дают венчурных инвестиций? 🤔🤔🤔🤔
Пример двух бразильских юношей, которые за год с небольшим создали свой единорог. Всё возможно в этом мире, господа 😉
#StartUpSchool#GroundZero#Story#Inspire
Обговорили ЗП и всякие ништяки с Facebook.
ЗП или как говорят тут TC (Total Compensation) состоит из 3 частей.
⁃ Base salary - базовый оклад, то что ты получаешь стабильно в конце месяца. Каждый февраль ЗП увеличивается на несколько процентов в зависимости от продуктивности в течении года.
⁃ Bonus - дополнительная денежка поверх Base Salary. Обычно это какой то процент от твоей ЗП в зависимости от твоей продуктивности. Хорошо - 15%, Очень хорошо - 30%, Окуительно - 40% и т.д. Процентаж пересчитывается 2 раза в год.
⁃ Equity - это тоже денежка, но в виде ценных бумаг, акций компаний. Их дают на 4 года, и каждые несколько месяцев эту сумму по частям тебе дают. К примеру если ты договорился на $200K на 4 года, то тебе ежегодно будут давать по $50K.
То есть Base salary+Bonus+Equity = TC (Total Compensation).
Сколько ты зарабатываешь?
Сколько платят в Facebook можно посмотреть на картинке, суммы очень близки к действительности. Но не обольщайся, это сумма Gross Salary, то есть сумма ЗП без вычета налогов. В Великобритании достаточно конские налоги в 40% (на самом деле там работает система прогрессивного налога, но я считаю грубо). То есть получается что почти половину твоих кровных забирает государство. Там могут быть какие то льготы, но я пока не в курсе о них. ЗП с вычетом налогов называется Net Salary или Take Home Salary, те жалкие гроши которые ты получаешь на руки, после того как оплатил налоги.
Что еще дает компания?
⁃ Оплата визы, билетов на самолет для всей семьи.
⁃ Оплата отеля на 2 месяца, пока не найдешь квартиру в городе.
⁃ Relocation bonus - денежка на всякие траты во время переезда (примерно $20K-$30K).
⁃ Перевозка домашнего барахла.
⁃ Крутой офис.
⁃ Рабочий комп и телефон (Айфон и Мак).
⁃ Мед страховка.
⁃ Деньги на транспорт.
⁃ Деньги на химчистку.
⁃ Бесплатная еда в офисе (привет Коронавирус).
⁃ Бесплатное посещение и лечение зубов у дантиста.
⁃ Деньги на спортзал.
⁃ 25 дней отпуска в году.
⁃ Декретный отпуск если заделаю еще детей.
⁃ И много чего еще.
Что дальше?
Мне будут делать Background Check и проверять не напиздел ли я о моем образовании и о прошлом опыте в резюме. Потихоньку собирают документы и данные для разрешения на работу. Надо привезти квартиру в порядок, чтобы при сдаче не было проблем, починить то что дочь тут наломала. Надо доделать проекты на работе, оставить доки чтобы ребята потом смогли подхватить. Настроение хорошее. А какое у вас настроение?
#story#facebook
Пару дней назад прошло мое дополнительное собеседование с Facebook. Было 2 собеседования по 45 минут, System Design и Кодинг.
Что там было?
System Design.
Зашел интервьюер, мы немного поболтали. Он дал задание сделать API дизайн для одного из сервисов компании. Я начал задавать уточняющие вопросы, нужно ли касаться Scalability системы, серверов, базы данных и т.д или он хочет сфокусироваться только на API. Интервьюер сказал что ему интересен только API и то как я буду это оптимизировать под страны с медленным интернетом.
Я немного рассказал про то как можно хранить данные чтобы сделать быстрым чтение, но не стал уходить глубоко и старался не уходить от главной темы. Начал с того какой можно протокол использовать для передачи данных. Упомянул REST vs gRPC, JSON vs Protobuf, HTTP 1.1 vs HTTP 2.0 и т.д. Рассказал про плюсы и минусы разных подходов. В итоге остановился на связке gRPC+Protobuf+HTTP 1.1. gRPC+Protobuf потому что это внутренний API и мы будет отправлять большое количество данных и нужно делать это с минимальным размером запроса. gRPC для этого подходит идеально. Если бы это был публичный API можно было бы обойтись REST+JSON, так как он более распространён и более читабелен. Хотя по умолчанию gRPC работает с HTTP 2.0, я предложил использовать его с HTTP 1.1, так как в бедных странах может быть старое железо и софт которое не поддерживает HTTP 2.0, а gRPC может работать с HTTP 1.1 если сделать серализацию в JSON строку. Построил модели для request и response, рассказал про реализацию пагинации. На этом закончилось время и я не успел обсудить оптимизацию глубже.
Coding.
Зашел интервьюер, мы немного поболтали. Интервьюер сказал что хочет спросить 2 задачи.
Первая задача было связана с матрицей. Я начал рассказывать brute-force решение, и в какой то момент интервьюер меня прервал и бросил мне в лицо финальное решение. Точнее, очень так жирно намекнул на него. Я быстро подхватил и реализовал это решение. Он спросил про то если в матрице будут строки разной длины, я сказал можно добавить проверку по индексам или выбросить ошибку, так как матрица обычно имеет равное количество колонок в каждой строке. Он согласился выбросить ошибку.
Вторая задача была связана со строками. Я опять начал рассказывать brute-force решение, и опять интервьюер меня прервал и недвусмысленно намекнул на финальное решение. Я начал тупить, так как надо было работать с индексами, а это очень запутывает, плюс я не сам пришел к решению. Интервьюер увидел что я запутался и предложил вынести работу с индексами в абстрактную функцию, что я и сделал. Это сильно упростило решение и я быстро написал решение. Интервьюер указал на один edge case который я упустил, быстро исправил.
Чтобы было дальше?
Я решил написать свой фидбэк своему рекрутеру, так как второе интервью было очень сумбурным и странным. Только я сел писать, как получил письмо от рекрутера, спустя буквально пол часа после собеседования. Он там писал что уже получил фидбэк от интервьюеров и они позитивные (“it’s looking positive”), так же он сказал что после обсуждения результатов отправит их в понедельник на рассмотрение в Engineering Directors, что бы это не значило. Сказал что финальные результаты будут уже на следующей неделе.
Какие ощущения ?
Первое собеседование прошло хорошо, но я не смог охватить все темы. Второе прошло хрен знает как, я жестко тупил, интервьюер меня постоянно подгонял. Ощущение опять смешанное. Я ставлю 50/50.
#story#facebook
Пришли новости с фронта. Facebook пропустил меня на онсайт. Если бы не этот гребенный вирус скатался бы в Лондон. К сожалению, придется сидеть дома. Но плюсы в том, что не надо будет тратить свой отпуск и ставить в известность работодателя.
#story#facebook
Какие ощущения ?
Я вышел с собеседования уверенным. Но потом анализируя свои ответы понимал что сделал не правильно. В некоторых местах я упускал edge cases, неверно посчитал Space Complexity, неверно выбирал структуры данных для хранения и т.д. Но радует что я смог написать правильное и рабочее решение. Так же я принимал подсказки от интервьюера, что есть хорошо. Задача была несложной на рекурсию и бинарное дерево. Немного опешил от вопросов про треды, в остальном перформил уверенно. Я ставлю на то что я пройду на следующий этап на 70%, 30% что меня отошьют.
#story#facebook
В среду прошел мой первый phone interview в Facebook. Интервью должно было длиться 45 минут. 5 минут на ответы и вопросы в начале, 5 минут на ответы и вопросы в конце, остальные 35 минут на решение одной задачи по программированию. Выпил стакан воды чтобы горло не пересохло за это время и взял с собой блокнот и ручку, на всякий случай.
Что было?
Подключился по видео-чату. Подключился мой интервьюер. Попросил подождать минуту. Что то там настраивал.
Потом он рассказал немного о себе. Спросил про мой опыт. Кратко рассказал о себе, по примеру Cracking the Coding interview. “Я являюсь [позиция] в [компания], в [страна] [город]. Сейчас мы разрабатываем [какой то интересный проект]. В работе используем [какие то технологии]”. Это должно быть на зубок, чтобы не терять времени.
Потом чувак сказал давай приступим к решению задачи и зашарил экран. Там у него был открыт что то типа Paint, для рисования. Он дал мне задачи на графы и деревья уровня Easy/Medium в Leetcode. Я имел опыт с этой задачей раньше. Нужно было найти какое-то максимальное значение чего-то там.
Начал объяснять решение: “Бла бла бла,… тут я буду из функции возвращать 2 переменных…”. Интервьюер приврал меня: “Зачем 2, можно же использовать глобальные переменные”. Я согласился что так будет проще и код будет чище. Он спросил а какие есть минусы у такого подхода. Я сказал что в данном контексте не вижу никаких минусов. Он добавил, а если мы будем запускать поиск для каждого поддерева в отдельном потоке? Я сказал что не думал что мы будем это делать, но если это так то будет race condition. Глобальная переменная будет меняться каждым потоком и они будут затирать значения друг друга, так что решение не будет верным. Интервьюер спросил, а как решить эту проблему? Я сказал что можно использовать locking. Указать данную переменную как общий ресурс и заключить его в lock, чтобы каждый поток записывал значение по очереди. Он согласился.
Интервьюер попросил рассказать свой алгоритм дальше. Я продолжил. Он чет не догнал меня , были сложности с коммуникацией, так как не было доски под рукой. Мы согласились что будем использовать определенную терминологию чтобы друг друга не путать. Часть решения я объяснил переведя свое решение на эту терминологию, часть начертил ручкой на блокноте которая была рядом и показал через камеру. Он вкурил что я имею ввиду.
Потом он спросил как мой алгоритм поменяется если будет не 2 поддерева, а K поддеревьев. Я сказал что тогда я буду использовать цикл чтобы найти 2 максимальных значения из всех поддеревьев и буду их суммировать, а хранить я их буду в массиве с длиной 2. Интервьюер сказал что массив может быть не самым лучшим решением для хранения. Я вспомнил что массив бронирует в памяти больше места чем требуется и упомянул это, поменял массив на 2 переменных. Интервьюер согласился.
Потом спросил насчет Space and Time complexity. Я сказал что Time Complexity будет O(n), где n это количество всех вершин. Потому что нам надо будет посетить все вершины чтобы найти наше значение. Насчет Space Complexity я немного лажанул, как я понял позже. Я сказал что потому что это бинарное дерево и на каждой итерации мы заходим на максимальную глубину дерева и храним ее в call stack, а когда выходим из глубины то убираем вершину из call stack, и того получается O(logn), где n это количество вершин. Он спросил почему это O(logn), я объяснил. Он согласился. Но, потом я понял что мое решение по Space Complexity верно только для сбалансированного дерева, и неверно для остальных. По хорошему Space complexity должен быть O(h), где h это высота дерева или глубина, кому как нравиться. Тут мой косяк. Интервьюер не стал со мной спорить.
Он предложил закодить решение. Я открыл онлайн редактор и начал писать. Код лился из моих пальцев. Потратил 5 минут. Прошелся взглядом по коду. Запустил несколько тест кейсов. Готово!
Интервьюер посмотрел, молча думал минуту. Сказал что ему все нравиться.
Я поспрашивал его про компанию и мы попрощались. Мы уложиличь в 20-30 минут вместо 45.
#story#facebook
"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
"mysterious soul energy"
Chapter~02{healing Academy}
He woke up by the bright light bothering his eyes, sat down and looked around confused for a few moments, when he suddenly remembered that he had to go to register today..., he closed his eyes and put himself on the bed again. He was falling asleep again when he suddenly saw that he was getting up and turning at the same time, he opened his eyes and looked in front of him, everything was upside down!
Surprisingly, he analyzed his surroundings when his grandfather's voice came to him:"sleepy boy, from now on you are going to be a classmate with the girls. Learn some order. It is really unfortunate. Get ready soon. Do not be late for the first day."Then Kai felt he fell and fell, he gathered his face with pain and realized that his grandfather had lifted him from his feet at that time and he had turned upside down, not his room …!
After preparing and eating breakfast, he went out of the house and saw his grandfather waiting for him. He ran to him and said, "I'm ready. "
He finally got to the academy, there were girls and women everywhere, he felt kinda anxious, and lowered his head and walked behind his grandfather,
Entering the management room, the lady sitting at the table raised her head and looked at them With a questioning face and said, "welcome, can I help you?"
"We came to register," said the grandfather.
When the grandfather's words were over, the laughter of the girls could be heard. The manager yelled at them, "Be quiet!" "And you,boy, introduce yourself."
Kai went a step further and said, "Im Kai ,from thunder tribe and I'm twelve ."
"Classes start early in the morning and last until the afternoon, the academy is open until sunset in the afternoon and you can come to practice if you want," manager said
while filling out the form. And then she got up and left the room and told them, "Follow me." A few girls and a woman were in the room, as if their they were in the middle of teaching.
"this is your class and she is Miss Jia ,your teacher, and these are your classmates." manager said.
Kai greeted them and introduced himself.
The manager and grandfather left the classroom. Miss Jia, with a surprise that she tried to hide it , showed Kai's place to him and Kai sat on his seat, then he heard whispers and laughters,he thought that he had to adapt to it, because wherever he went, he would hear the same thing.
Miss Jia began to speak : " You use healing in normal times or in time of war .
the situation is not the same and you should be able to be careful and increase the speed of your work , and sometimes even an innocent person may lose his life due to your carelessness, Gather and practice and listen carefully to the lessons and tips, just as you can kill a person with your carelessness .
With a lot of focus and practice you can bring an almost dead person back to life."
And then she went to the table where a big fish, which seemed to be not alive, was layed.
Then she told Kai and the others, "Come on, pay attention to the words and gestures."
students moved, kai was thinking in his mind (are we going to cook fish,to bring a dead man back with eating it? and he laughed silently )
they came close to the table.
Ms. Jia said as she raised her hand, "Soul energy has accumulated in your body. Fighters move the soul energy by applying pressure to some point, causing their energy to flow in the body and then pulling it out."
"It does, but this pressure has no effect on the healing soul energy .You must first find its core and then release it and calm it down. Flow that part of the soul energy and bring it to the palm of your hand. See , like this."
Then a light and turquoise energy spread like light on the palm of her hand , then she placed it on the fish's body, saying : "This fish is injured and in a bad state, but by finding the damaged part and repairing it, the fish can live again."
Previous Chapters:
[00] • [01] • [1.5]
#review#merixo#story
"Mysterious soul energy"
Chapter~01.5 {soul energy exam}
After reaching home , Kai finally greeted grandfather and went to sit next to him, the grandfather patted Kai's head and said: "Welcome! are you tired?"
Kai thought to himself to wait until finishing eating, then talking about his soul energy.
And he answered with an artificial laugh: "Grandpa, yes; a lot ... I ran all the way here, I'm going to the kitchen ,to Marie and will tell her to prepare food for me"
Kai nodded and took a deep breath. Then turned his head to find Marie ,she was looking at him suspiciously, kai laughed and got closer, then said, "What did Marie made with her golden hand today?"
he went and sat down at the table.
"What's the matter?" Marie asked as she prepared food:"I feel like something is weird with you today."
And she put the food in front of Kai on the table. Kai quickly replied, "no... everything is fine."
And without looking he began to eat.suddenly marie said: "But you did not even notice the mushroom in the food and ate it."
After hearing this, Kai stopped eating and drank all the water in the glass, hoping that the mushrooms would go down, then he coughed.
Marie came near Kai and hit him twice in the back, then Kai returned to normal.
Marie looked at him seriously, and said :"Well ... now tell me what happened?"
Kai leaned back in his chair impatiently, then got up and said: "Let's go there, I have to tell Grandpa too."
On the way, until he arrived, he thought over a thousand ways of how to say and at last he took a deep breath and went to sat in front of his grandfather. Marie stand beside him.
Grandpa stopped reading and said: "from the second you arrived, it was as if you wanted to say something. Tell me, let me see what happened."
Kai raised his head and immediately, without noticing what was going through his mind, said, "I am turquoise. No i mean ... .. Huff", he looked desperately at the roof and blinked, then said, "Haha, congratulations!"
"Today, I took the test of soul energy. and guess what the result was?
, my soul energy was turquoise… .. the first boy with the turquoise power of healing in the whole history…."
And then he leaned back and looked at Grandpa's face.
After a few moments of silence, the grandfather looked at Kai's worried face with a smile and said:"You must be very tired from the morning. Go and rest. We have to go register tomorrow morning and we have a lot of work to do"
Then he patted his hand on Kai's shoulder and left. Kai blinked in surprise and looked at Marie, Marie also shrugged and left. Kai got up and walked to his room.
from the morning he had been faced with things that had occupied his mind and he was so tired that by the time he entered the room he threw himself on the bed and before reaching the pillow he fell asleep.
Previous Chapters:
[00] • [01]
#merixo#story#review
"Mysterious soul energy"
Chapter.01 {soul Energy exam}
There was a commotion everywhere. People could be seen everywhere at the entrance test site. Some were spectators and some were teenagers .
A group of participants eagerly awaited their turn.
Kai was standing In a corner of the crowd with a numb, slightly sad face. As a child, he could not use his soul energy like the rest of his peers, and he was always ridiculed.
He was thinking and suddenly the loud and startled voice of the people brought him to himself, he went a little higher on his foot and went forward to see what had happened ?!
And he noticed that the people were surprised and talking about the result of the test of Nicholas, the famous disciple of the tribe of sky.
It was a test to measure the soul energy of the academy's entrances.
( The touch of the sacred sphere by the weakest warrior turned it green, and with increasing power the colors yellow, orange, red, brown, and black appeared, respectively. and there were only a few geniuses in the land who could apear the black . and it was usually yellow when most of the participants touched it. )
But when Nicholas touched it, the sphere had turned orange.
Everyone called him a genius with surprise, and a group insisted that the sphere was broken: /
After Nicholas came down from the test stand, the test taker picked up the list of participants and read the name of the next person: "The next participant is Kai from the Thunder tribe."
There was silence for a moment, and then some people started laughing, one of the participants shouted from the crowd: "Do you want to take the test from that loser? He can not even pull out his soul energy."
And then again everyone started laughing.
Kai sighed and nodded . he continued on his way, it was not his fault that he had never been able to use his power, he had tried all the ways and done what the other children were doing but to no avail.
Finally he reached the test site, was walking slowly, as if he did not want to reach the sphere quickly, he finally reached to the sphere then blinked for a few seconds, raised his hand and finally put it on that sphere , unconsciously closed his eyes tightly.
The crowd was in a strange silence. After a few moments and hearing the laughter and surprise of the people, he opened his eyes, he was waiting to see the green color, but what he saw was the turquoise color, he felt that his body was frozen and his soul was separated from his body.
The color division of soul energies starts with blue, turquoise, then green, yellow, and so on.
Those who have the power of blue spirit are the common people whose spiritual power can be used only in daily affairs, and those who have the power of turquoise are doctors who ... are mostly women…. , and only those who have green soul energy can change it , improve it, and strengthen their own soul energy. They can turn it yellow, orange and…. . and they can fight.
Shocked and surprised, Kai came down from the stand, one person from the crowd said, "Bro, you came the wrong way. Instead of coming to the martial arts academy, you should go and learn healing with the girls," and they started laughing.
Another person shouted, "Don't make fun of him, can't you see we have a genius?The first boy in history to have the Turquoise energy ."
Kai ran and left the test site. There were many things he wanted to think about, but his brain was more empty than ever, and he did not even know exactly what to do now.
He saw that he had been reached home for so long, he did not know how to explain what happened today to his grandfather.."
Previous Chapters:
[00]
#merixo#story#review
"Mysterious soul energy"
Chapter.00 {Prologue}
When you once had a dream, you had a goal and a passion, but the world puts you in a different direction.
The path that is in the opposite direction of that dream.
And then you decide to adapt, you move on with life, and you live in a new way that you never imagined.
But then, subconsciously, by this world, you are turned in such a way and you take a path that you are subconsciously taken to that dream and your initial goal, but…. Here, this time, at this point, you have no memory of that old dream.
The path you took during this period has changed your actions and beliefs during this period and has even taken you in the opposite direction from your original dream to the extent that you no longer remember that goal and desire and stare at the white wall of memories of that dream to explore a bit of information , a bit of a common point.
It may be the easiest thing to surrender or get confused and turn away from that old dream, but you stay, you stabilize and you find your old self again, you close your eyes for a moment from the path of the past, so you can start again in the opposite direction.
After a while, you come to your senses and see that you were able to hold both paths together, and find a common path between these two opposite paths, and take a step in it , then you can see how the same opposite path that you have taken for a while accompanies and helps in the path of your dream, and you use its teachings in the new path.
Wanted to fight
Became a healer
Then had to harm,
World is actually playing isn't?
#review#story#merixo
🌟9️⃣ марта — День нестандартно мыслящих людей!🚀 Выходи за рамки, ломай шаблоны и думай так, как никто другой! 😎
Представь: обычный день, все плывут по течению — кофе, универ, сериал. А ты? Ты тот, кто видит в луже радугу, в ошибке шанс и в "невозможно" — просто вызов! 💥 Сегодня праздник для мечтателей, изобретателей и бунтарей души. Не бойся быть "странным" — именно такие меняют мир. Эйнштейн думал нестандартно, Стив Джобс — тоже, а ты? Почему бы не начать прямо сейчас?
Помни: рамки — для картин, а ты — шедевр без границ. Выходи, сияй, меняй реальность! 🔥🧠
#МедиаФокус#ТвориЧудеса#БудьСобой#Inspire