Yandex programmers losing their MINDs
HTML-код
- Опубликовано: 27 сен 2024
- Code courtesy of the Yandex code leak.
Music: Hall of the Mountain King
Original title of the video: the rapidly dwindling sanity of yandex programmers as expressed through code comments
This video is heavily inspired by shounic's video. Watch his video here: • the rapidly dwindling ...
EQUIPMENT I USE
⌨️ Keyboard: amzn.to/3tgO0le
🖱️ Mouse: amzn.to/45qLl5T
🖥️ Monitor: amzn.to/3PzgWw7
🎧 Headphones: amzn.to/3PE5C1S
🎤 Mic: amzn.to/3EX9lCx
🪑 Chair: amzn.to/3PDDlZ6
BOOKS I RECOMMEND:
📖 Clean Code: amzn.to/3rzjnqz
📖 The Singularity is Near: amzn.to/3RGjfjO
📖 Superintelligence: amzn.to/3M3Zz5R
📖 Deep Work: amzn.to/3tdDZFi
DISCLAIMER: Links might be affiliate links. As an Amazon Associate I earn from qualifying purchases. There is no additional charge to you, so thank you for supporting my channel!
#leaks #code #programming
If you enjoyed this video, I made another video like it: ruclips.net/video/2lxQiFgazj0/видео.html
Thinking about making more if people want. Let me know!
"Magic Code Here don't touch"
Yeah 99 percent of code is that.
Can confirm, don’t fix it if it works
Well, it's python , you absolutely don't touch python code.
Not without a live debugger attached to the running application .
Can you ever know anything by reading source code in dynamically typed languages ? Everything is data , and you never know what you are getting at runtime .
I absolutely hate it.
@@monad_tcp , you get used to it. In dynamically typed languages you basically have to do type testing in code, type casting and error handling, or assuming multiple cases for data. It is messier for sure.
@@JimBob1937 I know that, I use dynamic languages from time to time. They are excellent for throw away fast scripts to do tasks when you don't care much. Now trying to program a stable system using those things seem like more work debugging than actually programming itself.
Of course none of that matters, people literally use what they know, even if its a bad tool for the purpose.
@@monad_tcp , I'd still say, after you get more experience, you spend fairly little time debugging due to type issues. You just program a bit more defensively to handle more of the possibilities. I program in a lot of dynamically typed languages a lot these days and rarely have to debug due to the type issues. However, my preference is also for statically typed too, as it is less likely to cause security issues by devs not considering all possible implications.
The Internet: Noo, the russian hackers are spying on us
The Russian Hackers: *WELCOME TO SHITTY CODE*
US media: Russian hackers are interfering in elections around the world, they are hacking all the most developed companies, jokingly bypassing all protection
Also Russian hackers: "I don't understand what is going on here so I just quit"
😮
Blyatt
Russian hackers: 'Fuck off'*1024
Good to know that programmers are united all across the world in distress over messy, frightening code.
Don't forget the apologies
the thing is that yandex is russian google, but with no salaries. The interview process designed not to sieve smart guys but make you feel shitty and pay you less. And after all that interview suffering you came to that russian google and see this
@@boriskorotaev2038 yandex has actually have above medium salaries for the russian it market, and I haven't experienced anything about feel shitty on a interview (although interview process is kinda hell in Yandex, I agree). And I don't work at yandex rn btw.
@@Gandarf_ depends on interviewers ofc, there are a lot of good guys, but some of them meh, they should go back to their caves.
Do you agree that paying above average for one the hardest interview process in russia is fair? Salary must be top of the top if you claim you have top of the top programmers in your company.
@@Gandarf_ tinkoff bank is paying more than yandex and have 1 algo section with 3 leetcode mediums in 1 hour. So why devs should bother themselves to grind yandex interview if they could get more in a comparably notorious company
Never ask a woman her age, a man his salary, a Yandex dev what to call a zombie process.
context??
@@inxendere they call their zombie processes the n word multiple times in the leaked codebase
There is no problem with that in russia.
@@ChuckTheChosen nobody ever said there is one
What problem is? ))
'Fuck off * 2^10' has got to be one of the more colorful programmer insults out there.
Thats a 2 XOR 10. Use ** to show pow
@@ipebyx I bet you eat poop
"Shit has happened *again* "
Absolutely KILLED ME 🤣
"Very good code, best of the best 🥰🥰"
"Kill it with fire 🔥"
🔥🔥🔥
this code is fire
@@onethegogd5783 *on fire
This code is indeed on fire
Особенно забавно выглядит создание каких-то тестовых юзеров типа Bear Fucker или John Shiteater и потом это вылезает на какой-нибудь демонстрации перед инвесторами)
blyat, я не могу ахахахах
Lmao what did i just read
@@handleneeds3charactersormore need a translation?
@@handleneeds3charactersormore nicknames of test users which suddenly appear in pitches for investors
@@ward7576 Ютуб вроде давно уже переводить научился
1:37 it's always a good sign when the code starts in the middle of the screen
ahahahahah
let the dude build his family sized nest in piece
🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
Middle is overly optimistic
lol, 1:37 is the most viewed part of the video
I read several developer reviews about working at Yandex, if we discard all the indignation and compress it to one sentence, it sounds like: "We love to reinvent the wheel, where it's not fucking necessary."
It's really "if people are paid, they should be busy with any shit work". I dunno how it's in wordwide, but often found in my lovely Russia))
and they still have the best searcher by picture
@@donsa666imho, the best yandex product is video translation with AI dubbing on the fly
I worked at Yandex and I can confirm.
We even had our own C++ standard library, build system, map reduce, protobuf, container engine, cluster management stack, etc…
And ZERO documentation for all this stuff. Figuring out internal tools was a nightmare
@aviator9514 not really, they pay median salaries at best.
Entire world: maybe we should stop using master/slave terminology...
Yandex programmers: ni....
Единственное, за что я бы оценил русских программистов)
This is why Yandex >>>>> all
@@SomeRandomPiggo this is why Yandex based
@@SomeRandomPiggo also if you search something with words "kill yourself" in yandex, it not only gives you relevant results unlike Google, but doesn't even spam you with that annoying suicide hotline advertisement
@@Мопс_001русские программисты топ о чем ты
I SINCERELY appreciated the very last “#fuck”. I think it brought the whole video together quite well!
Good luck searching errors caused by this fills me with primal fear.
I'm not a Python developer, so I may not understand the full implications of fucking with the class type like that, but I think that was the most horrifying thing I've seen in my life.
@@verified_tinker1818in Python, it took me hours to notice that a bug is caused because in 1 line there was "if(exist is True)" instead of "if(exist==true)".
Whenever the code got to said function, it changed the type of "exist" and made everything after it break
These videos about code comments in various games and applications are great to fight against imposter syndrome.
AMOGUS?
@@playerhs7572 I don't know if you know what imposter syndrome is, but anyway. It is when you consistently see your achievements as fake in one way or another, as if someone other should be credited for them.
S U S
Absolutely true
When the imposter is sus
this is the moment when yandex devs became yandere devs
не было blyat, давай по новой
0:52
вери угли, бат шыт хапенс
обожаю
How to make such perfect accent? Probably it gotta be transliterated with Russian letters first and then converted with Russian text-to-speech software. Right?
As a Russian i find it VERY EXCITING.
I think it's actually just putting English text into google translate for Russian. It'll pronounce it with a Russian accent.
@@axeenj сам ютуб запутался в титрах на каком языке произносится, русские титры читает по английски. Так что комментатор прав похоже так и сделано было, кириллицей на писана была английская речь.
@@petervakar да не, это зависит от языка видео в настройках вроде, возможно автор по приколу сделал
that's even more ironic, he used yandex voice engine for russian language but loaded it with english words
i still have code from an old place i used to work at and the comments on that are GOLD ! if you want i could send you screen shots of and make something out of it :)
Do it!
YES.
@Dablus Sure! DM me on twitter (@leetcoderyt) or email me (you can find it in my RUclips profile).
Basically a yandex dev's documentation is every dev if they let their intrusive thoughts win😂
That's not just Yandex. It's international 😂
No, it's Yandex
This was amazing! We need more content like this!
А потом мы слышим прохладные истории как тяжело попасть в яндекс, какой там жесткий отбор, и какие профессионалы там сидят...
это всё ещё люди которые умнее 90% людей на планете
@@АртурКолянский-о7н китайцы не согласны
@@Shofixi комментаторы критикующие обосрутся на первой строчке кода
@@palkan2590сразу видно человека никогда не слышавшего легенд об азиатском и индийском коде.
@@АртурКолянский-о7н Аборигены, живущие в дикой природе, в неком смысле тоже умнее 90% людей на планете. Сомнительные формулировочки используете, товарищ)
Sadly you didn't include all of the n-words they wrote in the code
Still works better than google
When I was a game developer in Roblox team I was writing the same comments.
But I was not thinking that companies like Yandex have it
Yandex is my primary search engine now
Not a good idea, I have known this browser for many years and in Russia you can often hear any scandals + now they are given into the hands of the Russian authorities.
So? >implying google doesn't do the same.@@NonName425
@@NonName425 scandals? just Google bots trying to gaslight Yandex users. We know how it goes. Short the stocks and cause a panic. Old j ew ish tactics dating back to the Napoleon era.
@@NonName425OH YEAH! Because google is totally free from the hands of the great american authorities, and is not involved in any scandals whatsoever, right???
still don’t see any problems in the fact that the data will go somewhere over 5000 km instead of Washington.
The best part of a weekend
"Shit happens."
"...Shit has happened again."
0:57 Well, they're not lying. How about just, you know, starting with `$('.input:not(.ignore_js_templating)')` in the line directly above?
I appreciate the original name of the video cause it's fucking genius to refer to valve. Both companies create the best they can deliver, both companies share clear working conditions reputation and still both share spaghetti code and insane coders
But what about adventures of the great Igogor and his functional python?
There is a saying in the coding field, if it works it works don't fix it until something breaks. At least I can sleep well at night knowing that machines will never do anything good because they keep learning our garbage code that keeps breaking.
Man, pausing this video makes it sooo much more hilarious, cuz most of the time, like the coders, i have absolutely no idea what's happening
bro, u have to chill while watching this. It is not necessary to understand the code, to smile while watching this video)
And this is Python, too. At least the TF2 code had the excuse of being written in C++.
i like how polite they are compared to gta v programmers
Haha, this is great. Well, I guess, every big company have such issues or at least some of them
Так вот почему яндекс браузер ест так много оперативки...
лично у меня почему-то хром поджирает больше, фиг знает как это работает
My workplace doesn’t permit us to have such colorful comments.
I'm a junior ML hunting for a job here in Moscow. Good to know that working as a programmer isn't that much different from studying programming when it comes to writing code and comments...
I feel better going into software engineering that best practices means absolutely nothing when literally every successful piece of software that leaks has a giant team of programmers that collectively lament over doing it whichever way they know how that just barely works.
1:45 is clearly part of an fusermount error, I have no idea how that fits in with the rest of the video. Probably the editor just doesn't understand these comments.
The random lol comment (0:17) broke me because I also will write something terrible and then just put // lol next to it
BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING ⚠️
Holy fuck I misread the title and thought it was Yandev
ахахах оказывается программисты Яндекса не так уж и далеки от меня))
Pure gold!! Loved it 🤣🤣
In Russia you do not program Yandex,
Yandex program you
наши слоняры
Когда нибудь я дойду жо того, чтобы понимать эти шутки
Плюсую
Тут нету шуток, только боль.
(не)Обычные комментарии к коду. К говнокоду или к коду который непонятно как, но работает. Когда писал в универе у меня было что один и тот же метод не срабатывал на одно и тоже действие. Приходилось уже в готовую часть что-то добавить. Или Паскаль при создании "простейшего" кода для решения квадратного уравнения вместо ответа выводил адрес памяти.
Я у себя в команде, где бы не работал, ввожу технический термин: «ебаная неведомая хуйня». Это такая срань, которая непонятно как работает и что именно делает. Когда рефакторю или провожу ревью отмечаю все ЕНХ моменты. В английской раскладке. Так что если тебе встретится //EHX(//ehx) где-нибудь, знай, это опасность, а не странная иностранная аббревиатура.
В нынешней команде одна из метрик, кроме статического анализа чистого еще и отсутствие ehx.
@@ИбрагимДринкерманн так то по канону НЁХ, исправьте пожалусто до понедельника
As a Django dev. Sure, screw this login!
10/10: Would blyat again
This is the funniest thing I have seen all day
Ah yes...
Every programmer's nightmare unless you're over the edge...
Spaghetti code, strings of contradiction, too many lines hard to remember by each individual function.
Sometimes the C series, Lua/Luau (Potentially), Java, Python look more simplified than complex due to knowing the boolean, the call functions... until you realize that you have more dirty work to do with it.
Russia is pretty high in competitive programming, explains the poor variable names.
Believe me, if we wrote normal variables, then we would hate this world and press the key combination "alt+shift".
@@NonName425 And all those variables would have various swearing words in names.
Это просто прекрасно
I feel like my shitty automation scripts are ready for a production environment now that i've seen this.
Now wait a fucking minute. I've seen this before. This has nothing to do with Yandex. This has been already published by a dozen titles.
it's probably just an international problem
this video is definately about yandex because i saw some russian text there
You forgot the favorite porn queries in Image search unit tests
Из-за этого было целые 7 судов в РФ, которые они все пережили, скорее всего они пережили, так как сотрудничали с правительством РФ.
0:17 i will never in my life name any variable or method "set_set_...."
and this is why we need ai to refactor shit
fake ai 😂
"Just fucking please shut fucking up" in a try statement lol
Wtf I’m reconsidering the idea of using catboost in production
Best comments ever. Love how they got this upstream and no one gives a damn :D
Now is a good time to mention that the comments here are fake, even though the code isn't. Also, tbf, yndx codebase is actually pretty good compared to similar companies. In big tech this sort of sht is basically normal, unfortunately
you must be trolling
I did a little code review and found
yandex alice user addresses (if you don't know, this is a smart speaker with a voice assistant, something close to amazon alexa)
it's just trash that it lies in the open, it was not difficult for me using this database to find these people
and provide a piece of code with their address, say that they were surprised to say nothing,
some of the people who used this column were literally a couple of houses away from me...
I have always treated these assistants with skepticism, especially Russian ones, given that Yandex has repeatedly leaked all the data of politically objectionable people to the FSB,
but after the leak, i finally said no, no smart speaker garbage! I've already talked some of my friends out of wasting their money on this garbage ...
I'm sure the guy on top is a liberal
@@SL4RK Absolultly no one in this world cares about ur personal data, if u so scared better isolate urself in deep forest without electricity
@@SL4RKyou sound like Facebook doesn't collaborate with CIA
Best code from our russian devs
Plot twist - all of these are from the code of video voiceover translation feature
Well, not exactly. There are lines from some kind of billing system lurking around.
I lost it after shit has happened again
This why when I did code quality consulting we scanned for comments including words like lol and wtf.
0:31 просисинг
Me who is not a programmer : yes indeed it is bad beyond saving
oh, so now i know why every single Yandex app i've used lagged so much.
Even my unsafe C code in production is better than this 💀
0:52 please don't say this one is the updater.
it's funny because when i make code for russian people to read in russian language i leave the same comments
What TTS website did you use for the voice?
How did you find this code? I thought the IDE removed comments from code before it gets compiled?
Original sources were leaked some time ago.
these are fake comments
@@Wa515 oh ok
@@bigblackbadger1 And python is interpreted, not compiled.
@@Wa515 so the IDE just leaves the comments there in the final file? I thought it removes them to save space.
I'm a dentist, but i've had some fun
Man.
Shouldve written comments
God.
It explains why Yandex apps so clunky.
How did you voice it? Is it an automatic russian accent?
Ай эм нот соу щур, бат вей арх со мэни пипл ин ве комментс, ху ноу Рашшан компанис вери велл, бекоуз виз компаниз бекам популяр эброуд зе Рашн ор вей а олл фром Рашша?🤔
understandable, have a great day.
BIG WARNING BIG WARNING BIG WARNING BIG WARNING
1:38 WTF IS THAT? 😂
good vid mate.
Я люблю яндекс, настоящая компания добра, bliat
what the hell is yandex
Russian google
Similar to TF2 leaked code dev comments lol
Стоп код tf2 слили? Can you link to the data dump?
@@NonName425 I'm talking about the old one, который давно ещё слили, я хз где дата бамп
Да нееее, с программистами яндекса всё нормально. Проблема в js
Ничего что большая часть кода в ролике на питоне?
@@immer5680 автор коммента отсылается к тому моменту, где кодер говорил, что он плох в джаве
MySQL bit field is like tinyint(1) ?
Why you hadn't shown that racial slurs discovered in leaked Yandex source code?
Where can I find this?
@@michaelulloa12 google “yandex code leak racist slur mezha media”
@@SMK1455, is this a big problem? Will you cry?
Don't cry, in russia no black people
@@SMK1455 i say it every day and also its standart in rap so
Do they have any code review?
Some of that code was written 10+ years ago.
@@immer5680 ah, yeah, I remember that coding in 90s, no version control, no bug tracking, no build system, no auto tests... And comments in Russian)))
BIG WARNING lmao
You forgot their favorite racial slur.
😂😂
Yeah thats were gold
i see so this how we lose our jobs because ai does it better
Oh I do recognize those comments...
Not because I wrote them, but because I can "taste" the stress of the devs that they must have suffered, because of ..
Too bad it is mostly, if not only, used in Ruzzia, I heard from ex-colleagues that the framework was not that bad..
🐷
so many nato bots spamming unfunny zz jokes.
@vadimgrashchenko4764 im from the united kingdom.
@Vadim Grashchenko Даже тут перефорс и зеркалка.
@@bananasplit777 по данным вциома, надо понимать
How is this managing to work better than goolge?!?
They mus be cheating.
А почему такой специфический акцент ?
Это... Все, что тебя волнует?)
Ну а вообще, это русский бот, который читает английские слова в Гугл Переводчике
yeah whatever