Aleksandr SHlenskij. Parallel'nye processy
---------------------------------------------------------------
© Copyright Aleksandr SHlenskij
WWW: http://zhurnal.lib.ru/s/shlenskij_a_s/
Date: 11 Oct 2005
---------------------------------------------------------------
Otdel razrabotki
--Brian, come here! It looks like we got a big problem with 2.15.
-- Leha, glyan' syuda! Kazhis', versiya 2.15 opyat' glyuchit.
-- Why don't you go ahead and check the build? Can you see any files
missing?
-- A ty prover' - tam bild, chasom, ne naebnulsya? Mozh, tam kakih fajlov
ne hvataet.
-- Sure... hold on... Oh, my goodness!!! That's right, the build's
fucked up! The whole subdirectory is missing!
-- Pogod'... shcha posmotryu... Blya-a-a-a-a-t'! Da tam pizdec polnyj! Tam
ne pary fajlov, tam vsej direktorii net!
-- Really?
-- CHto, voobshche ni huya?
-- Positive!
-- A huli ty dumal!
-- What are we gonna do now?
-- I really don't know. The new build will be ready only tomorrow
morning at 6 AM.
-- Why don't you open a ticket with CM and make it ungent?
-- I'd better come to CM first and talk to Brice myself.
-- Not a bad idea. Good luck.
-- Nu vot, opyat' budem do konca dnya mumu ebat'.
-- |to pochemu?
-- Da po kochanu! Novyj bild teper' tol'ko zavtra v shest' utra
postroitsya.
-- Nu i huli teper' delat'?
-- A ni huya. Sidi von - v igrushki igrajsya.
-- Mozhet shodit' v tehpodderzhku, poprosit', chtoby ruchkami postroili?
-- Aga! Nozhkami, blya! Ot stula. Bestolku hodit' k etim kozlam.
-- Pochemu?
-- Da chto my, ran'she ne hodili? Opyat' na huj poshlyut!
-- YA vse zhe luchshe shozhu, a to Makarych s obeda pridet, uvidit chto my tut
hui valyaem, i opyat' raspizditsya.
-- Nu ladno, pizduj v tehpodderzhku.
Otdel tehpodderzhki
-- Hi Brice! Hey y'all! How are you guys doin'?
-- Zdorovo, muzhiki!
-- What's up, man?
-- Zdorovej vidali...
-- We've got a little problem down there. Looks like the build is
broken. Can you fix it for us, please?
-- Muzhiki, u nas beda. Versiya 2.15 ne pashet - bild krivoj. Vitek, mozhet
postroish' po-bystromu?
-- Absolutely! What version?
-- It's 2.15
-- What's wrong with the build, man?
-- One of the subdirectories is missing.
-- You're sure?
-- Positive! Go ahead, take a look yourself.
-- Okay... Well... Let me see... Oh, boy!Yeah, you're right. I'll fix
it for you right now. It's not a biggy. Would you like to go ahead and open
a ticket?
-- If you want to.
-- Sure I do. We live off them, you know. That's how they evaluate our
work.
-- No prob, man. I'll do it right now.
-- Thanks, dude.
-- Brice, can I ask you more question?
-- Go ahead!
-- Do you have any idea why it happens? As a matter of fact, it happens
from time to time, and it's really annoying, you know.
-- Maybe, the disk space has been exceeded. You know, there's a lot of
stuff out there. Everything, man! Halloween video clips for the last five
years, Cindy's brithday party pictures, everyone's kids photos. We really
need to get rid at least of the part of that stuff. We're drowning, man!
-- Any other reasons?
-- Nu vot, blya, opyat' poneslas' pizda po kochkam... Ne uspeet vasha
prilada zaglyuchit', kak vy uzhe vse na pontah, prihodite na nas orat', chto
bild krivoj. Vy nebos' vchera bagov ponadelali, vot polovina modulej i ne
skompilirovalas'.
-- Esli chto-to ne skompilyalos', vse v logah dolzhno byt'. Ty logi
smotrel?
-- Ty razrabotchik, vot ty i smotri. A mne-to nahuya ih smotret'?
-- A nahuya togda pizdet'?
-- Nu ladno, huj s toboj, shcha glyanu. Taak... chto-to ya ni huya ne
nahozhu... blyad'... Anton! Antooon! /* vertit golovoj vo vse storony*/ Da
kuda zhe on s®ebalsya, tol'ko schas tut byl? /* diko oret */ Antoooooon!!! /*
Anton, molodoj inzhener, uvlechenno rubitsya v Doom i nichego ne slyshit */
Blyad', da snimi ty svoi ebanye naushniki! Kto vcherashnie logi v pizdu poter?
Vy che tam, sovsem ohueli?
-- Da ne ori ty nahuj, nikto ih ne ter. YA prosto vchera pomenyal v
skriptah direktoriyu, gde oni valyayutsya. Vot... vidish' - vse na meste.
-- Na huya pomenyal-to?
- Tak mesta uzhe ni huya na servere ne ostalos'! Zasrali vse vinty svoim
gavnom! Igrushki, huyushki, odnoj pornuhi blyad' na semnadcat' gigabajt - kak
tol'ko do sih por ves' otdel nasmert' ne zadrochilsya. I huj kogo doprosish'sya
vse eto gavno steret'. YA vchera novyj stadvadcatigigabajtnik postavil i
zaparolil. Huj vy u menya ego zasrete.
-- /* inzhener-razrabotchik prositel'no */ Nu chto logi-to?
-- Da vrode vse skompilyalos' normal'no.
-- A kuda direktoriya devalas'?
-- Skoree vsego, ubilas' pri kopirovanii.
-- Otchego ubilas'-to?
-- Well, there might be other reasons, too. Most likely, the directory
had been locked while the Perl script was copying its contents, and the
whole operation failed.
-- A huj ee znaet! Skoree vsego, direktoriya byla zalochena, kogda
perlovyj skript ee otrabatyval.
-- If you know that for sure, can you fix it?
-- Unfortunately not. Not in Perl.
-- A mozhno eto delo kak-nibud' pofiksit'?
-- Ne, nel'zya. V Perle takih komand net.
-- Why do you think the directory was locked?
-- Probably, someone opened a file in that directory with some kind of
an editor like Textpad or whatever else.
-- A otchego direktoriya byla zalochena?
-- Naverno, kto-nibud' otkryl fajl na chtenie v redaktore ili eshche
chem-nibud'.
-- Brice, can I ask you, why did you choose Perl as your script engine?
I think, shell scripting is better. You can use cygwin or MKS Corn Shell.
They are both very nice.
-- Oh! No, no! Perl is good! We use it everywhere. Just please, be
patient, and we'll fix it, one way or the other.
-- Well, I think I found a workaround.
-- You did? Wonderful! So, what is it?
-- It's real simple! If you email me the path to your build source, I
can do a file diff in our product area between the source and the
destination. If I find out that any particular files are missing, I can copy
them over, right at my desk.
-- That's fantastic, man! Alex, you're a fantastic guy! You can do
that, for sure! And later on we'll find the way to make our script less
flaky.
-- Tak chto teper', stoit nechayanno fajl otkryt', i bildu pizdec! Vy che,
sovsem ohueli? Kak my rabotat'-to budem?
-- A nehuj ishodniki otkryvat' i ostavlyat' viset' v redaktore na vsyu
noch'! CHtob takogo ne bylo - skopiruj ego sperva k sebe, a potom smotri i
redaktiruj hot' do usrachki.
-- Aga! Kak ssat' - tak razuvat'sya. I vse iz-za togo, chto vashi skripty
- gavno. Nahuj vam etot Perl? Skachali by davno cygwin ili MKS Corn Shell. A
Perl vash vykin'te nahuj.
-- Slushaj, Vasilij, a ne poshel by ty sam nahuj! Delat' mne bol'she
nechego kak vse skripty perepisyvat' zanovo v shelle. Ty videl, skol'ko tam
koda? Tam, blyad', na sem' s polovinoj meg skriptov, ponyal, pridurok? Ty
znaesh', skol'ko vremeni ih prichesyvali? Ili ty dumaesh', chto ya budu shell
stavit' radi odnogo tvoego skripta? /* otryvaet list bumagi i chto-to bystro
na nem pishet */ Koroche, vot tebe setevoj adres, gde lezhit original, s
kotorogo moi skripty bild kachayut. Esli chto-to nedokachalos' - sdelaesh' diff i
dokachaesh' ruchkami. Vse, teper' idi na huj. Mne eshche vot etogo pidora /*
pokazyvaet pal'cem na Antona*/ nado uspet' do obeda ubit' v Doom dva raza.
-- Thank you, Brice!
-- Thank you, Alex.
-- Take care, man!
-- Already.
-- Nu ladno, spasibo.
-- Spasibo nekrasivo, v sleduyushchij raz s pivom prihodi.
-- Peretopchetes'!
Otdel razrabotki
-- Did you talk to Brice?
-- Yes. He's a really nice guy.
-- Yeah! He really is!
-- Nu chto v tehpodderzhke?
-- Da nihuya.
-- Sovsem nihuya?
-- Nu ne sovsem... Koroche, na huj poslali.
-- A ya tebe chto govoril! -- A iz-za chego poslali to?
-- YA Vit'ku skazal, chto Perl - gavno, i chto nado v shelle skripty
pisat'.
-- Pravil'no sdelal.
-- Kto? YA?
-- Net, Vitek. YA by tebya tozhe poslal.
-- So, did he provide a solution for us?
-- No, not really. But we found a workaround, anyway.
-- A chto u tebya v ruke?
-- Da eto setevoj adres, gde original bilda valyaetsya. Vitek dal.
-- Oh, good! What is it? Something really cumbersome?
-- Not at all! Brice emailed me the path to the build sources. So now
we can do a file diff and copy the missing files over. We can do it any
time, dude!
-- Woo-hoo!! Dude, that's easy-cheesy! Congratulations, man! Let's do
it!
-- A zachem?
-- Govorit, sdelaj pofajlovyj diff, i raznicu rukami dokachaj - poluchish'
rabotayushchij bild.
-- CHego? Mozhet, emu eshche i podrochit' zaodno? Ladno, koroche, delat' vse
ravno nehuya, tak chto po bystromu skidyvaemsya i posylaem Lenku za pivom.
-- Ty che, Leh, Makarych znaesh' kak raspizditsya!
-- Togda vot chto: dobavim eshche po poltinniku i voz'mem vodki. Makarych
pripizduet - i emu nal'em.
-- Vot eto pravil'no.
-- Nu togda pizduj za vodkoj.
-- Kto? YA?
-- A kto, ya chto li? Starshie razrabotchiki za vodkoj ne begayut!
Last-modified: Tue, 11 Oct 2005 04:36:51 GMT