Lurker News
Someone just published 40Gb+ of leaked Yandex GIT repository. Won’t provide magnet here, but it is top google result for “yandex leak” when filtered by last 24h.

Affected services:
aapi.tar.bz2 admins.tar.bz2 ads.tar.bz2 alice.tar.bz2 analytics.tar.bz2 antiadblock.tar.bz2 antirobot.tar.bz2 autocheck.tar.bz2 balancer.tar.bz2 billing.tar.bz2 bindings.tar.bz2 captcha.tar.bz2 cdn.tar.bz2 certs.tar.bz2 ci.tar.bz2 classifieds.tar.bz2 client_analytics.tar.bz2 client_method.tar.bz2 cloud.tar.bz2 commerce.tar.bz2 connect.tar.bz2 crm.tar.bz2 crypta.tar.bz2 customer_service.tar.bz2 datacloud.tar.bz2 delivery.tar.bz2 direct.tar.bz2 disk.tar.bz2 docs.tar.bz2 drive.tar.bz2 extsearch.tar.bz2 fuzzing.tar.bz2 gencfg.tar.bz2 groups.tar.bz2 helpdesk.tar.bz2 infra.tar.bz2 intranet.tar.bz2 investors.tar.bz2 it-office.tar.bz2 jupytercloud.tar.bz2 kernel.tar.bz2 library.tar.bz2 load.tar.bz2 mail.tar.bz2 maps.tar.bz2 maps_2.tar.bz2 maps_adv.tar.bz2 market.tar.bz2 metrika.tar.bz2 mobile-WARNING-notfull.tar.bz2 nginx.tar.bz2 noc.tar.bz2 partner.tar.bz2 passport.tar.bz2 pay.tar.bz2 payplatform.tar.bz2 paysys.tar.bz2 portal.tar.bz2 robot.tar.bz2 rt-research.tar.bz2 saas.tar.bz2 sandbox.tar.bz2 search.tar.bz2 security.tar.bz2 skynet.tar.bz2 smart_devices.tar.bz2 smarttv.tar.bz2 solomon.tar.bz2 stocks.tar.bz2 tasklet.tar.bz2 taxi.tar.bz2 tools.tar.bz2 travel.tar.bz2 wmconsole.tar.bz2 yandex_io.tar.bz2 yandex360.tar.bz2 yaphone.tar.bz2 yawe.tar.bz2 frontend.tar.bz2

Comments (340) 35 threads

Earlier comments
Zetobal10 replies#
Interesting that most of the code comments are in English.
SV_BubbleTime2 replies#
Lingua franca with all their contractors most likely.
pshirshov2 replies#
Not at all. People preferred to use english to feel some connection to the world. That was mostly psychological. A Silicon Valley cargo cult if you wish.

Also the company always avoided any use of external contractors.

viraptor8 replies#
I think you're reading to much into this. It's easier to not switch languages in one task. If you're using an English-based programming language and English libraries/frameworks, you're not going to name your own variables in a different language. Comments most often follow that too. Any time I see someone attempt that, it's extremely distracting.

Continue this thread — 8 replies

int_19h3 replies#
People prefer to use English in software engineering contexts because most terminology is English anyway, so even if you're talking in Russian, you're still коммитишь чейнджсеты с багфиксами для релиза and so on. While most technical terms have nominal translations, they're usually so unwieldy that even people who are aware of them don't use them. But if they try to, others will have a hard time understanding them.

And if it's going to be half-English either way, might as well just do it all in English. If nothing else, it saves time switching keyboard layouts.

Continue this thread — 3 replies

gspetr2 replies#
At first I wanted to give a serious reply, but then I saw your (very aptly chosen, given the context) username and found myself wondering if HN rules allow parody accounts...

However, I'll give one for those who've missed the irony: It's considered gauche to have ubiquitous non-english comments.
Pretty much the only kosher use case is when you have to warn people not to modify otherwise bizarre looking code because of either regulatory, legal, or domain-specific reasons, and listing them in their native language makes more sense, since developers are not legal experts and translating them into English is not in the job description if the app is solely for domestic market.

aflag6 replies#
In many places I worked at in Brazil people will just write everything, even variable names, in Portuguese. That came down to the developers not speaking English at all.

Who considers it gauche to have software written in non-English? The Russians you mean? I certainly find it perfectly acceptable and even desirable depending on the contributor's English fluency.

Continue this thread — 6 replies

5e92cb50239222b#
I think it depends on what you're working on. I often find myself having to use legal terms for which there are no direct translations (because they do not exist in English-speaking countries), or there are analogous terms, but they do not mean exactly the same thing, or are very awkward to use (for example, a common abbreviation which everyone recognizes at once becomes something incomprehensible after translating it to English). So we can either use Russian for comments and git commits, or spend a bunch of time digging though specialized dictionaries and force everyone getting acquainted with the code base to do the same.
winddude1 reply#
So you can confirm they are legit? Anything look exciting?
SXX#
While I personally haven't worked at Yandex I can certainly say they are legit. I have a lot of friends who worked there and a lot of intranet URLs in documentation are legit.
splix1 reply#
It's inconvenient to switch the keyboard layout each time you write a comment.
BlueTemplar1 reply#
New AZERTY also has Greek in addition to Latin, but sadly not Cyrillic (might be a nice project ?)

https://norme-azerty.fr/en/

aquarin#
There are many "Cyrillic" variants.
mepian#
I'm not sure if any large company in Russia doesn't write code comments in English.
timka#
When I was learning C++ in late 90s in the university the DOS environment I was using didn't have the i18n configured properly. My teacher noticed that I was trying to use Russian transliteration for comments and she suggested to 'just use English'. That solution didn't seem obvious to me at all.

Also some other day she suggested someone else to install Linux at that student's home PC. I followed that advice too and learned a good bunch much of my English by reading man pages.

luciusdomitius1 reply#
It is not really - if standard libs, APIs and frameworks are in English, it is either this or some weird 50%/50% mix, which is often ambiguous. It is a rather standard practice in all non-english speaking countries.
xwolfi#
In France we're more 100% or 0%. You have people who really really want to use English and end up mistranslating most of the business logic in confusing spaghetti of almost-English and false friends, and you have people who tell you that to avoid being outsourced to India, we should comment everything in French. I worked on a spaghetti of bad English long enough that when I started having some power, I made us switch to use French everywhere, even variable names: this sounds awful at first, but then, a miracle door opens and you can sit down with your business expert and read through the logic with him and understand what was made and how it fit what he expected (since, ofc, he speaks no English whatsoever), even hours after having coded it and you already started to forget !

If I had to work again in a French company, I'd only use English if we were all perfectly fluent, otherwise it's just a mess, you have people, I don't know how they even learned programming, who know little to no English at all whatsoever writing variable names and comments in something so confusing and that no French reverse-translation can ever salvage.

KingOfCoders#
Worked 20+ years in German companies, all code and all comments were English, long before remote work (as it is today, all of my coachees have now mixed teams).
GoblinSlayer#
Another reason is encoding confusion. If the text is not ascii, then you somehow should guess its encoding. For compatibility reason a lot of tools and editors may default to an old codepage instead of utf-8 (they may respect utf-8 if you have a bom), add to this legacy code already written in who knows what encoding. Is it a windows codepage? DOS codepage? Linux? ISO-8859? If you guess encoding wrong, you can corrupt text.
moonchrome#
Programming languages are based on English, idioms are given English names - mixing in other languages is the worst of both worlds.
altmind#
i've seen more comments in russian than in english. what's your numbers?
psychphysic1 reply#
Is there any highlights?

Like any ML that can be run locally or neat code?

neongreen#
The repo contains the entire logic for the Alice smart assistant (kinda like Siri but more cheeky).

They only parse Russian and Turkish I think, so the parser/tokenizer/etc would have to be replaced if you wanted to steal and repurpose it for another language, but the rest could probably be translated and you’d get a working production-grade smart assistant for somewhat cheap-ish.

EVa5I7bHFq9mnYK1 reply#
Could be useful for taxi drivers to figure out how to get the surge fares.
tazjin#
Recently when I take Yandex taxi, the drivers have regularly been asking me if I would tell them how much the price displayed to me was and what fare level I selected (the second question I find surprising, as the app description makes it sound like except for maybe Комфорт/Комфорт+ the cars are _not_ the same). The discrepancies vary quite a lot (and not in the driver's favour) ...

I've never gotten this question before, so maybe Yandex has gotten more aggressive in how they treat drivers recently?

phendrenad21 reply#
Sadly building a maps app, or a search engine, is more about getting lots of data than it is about code. But I do hope that this can be used in arguments, such as saying "We should do it X way because that's what Yandex does!"
ddorian431 reply#
> or a search engine

I would guess the crawling to be the easiest part.

mdaniel1 reply#
Maybe "easiest" in the "I can explain it to my mother" way, but as with many good things, the devil's in the details about that. That goes double now that Cloudflare have basically taken over some non-trivial portion of the Internet and they really do hate crawlers

I have a theory that the big search engines have agreements in place for "side-channel" access to CF and Akamai POPs but I would guess none of the parties involved have any incentive to discuss such a thing in a place that I could read it

ddorian43#
Cloudflare probably whitelists google/bing/etc. Hell, there are many sites that work with whitelists themselves. It's still the easiest part.

> but I would guess none of the parties involved have any incentive to discuss such a thing in a place that I could read it
This reminds me how all the tech sites banned people like Alex Jones simultaneously. It's collusion.

Load more comments