Google Wave: Одновременное совместное редактирование

David Wang, “Google Wave: Live Collaborating Editing”, public translation into Russian from English More about this translation.

Translate into another language.

Participants

qmax998 points
iBog43 points
vadbars21 points
And others...
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next
1 2 3

Google Wave
Live Collaborating Editing

Google Wave
Одновременное совместное редактирование.

History of edits (Latest: Cannoneer 2 years, 6 months ago) §
0:00:05,634 (3.5s)
Wang: Hi. My name's David. I'm from the Google Wave team.

Ванг: Привет. Я Дэвид.
Я из команды Google Wave.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:09,200 (2.0s)
I work on the Live Concurrent Editing

Я работаю над одновременным совместным редактированием,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:11,234 (2.2s)
that you've probably seen in the last demo.

которое вы, вероятно, видели в последнем демо.

History of edits (Latest: qmax 2 years, 6 months ago) §

— "наверное", "вероятно"? будет короче vadbars

0:00:13,434 (2.6s)
So how do we actually do it?

Как же мы этого добились?

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:16,133 (1.5s)
So the way we do it

А добились мы этого,

History of edits (Latest: vadbars 2 years, 6 months ago) §
0:00:17,667 (3.1s)
is use a technology called operational transformation.

используя технологию, называемую операционное преобразование.

History of edits (Latest: qmax 2 years, 6 months ago) §

Comment was deleted

0:00:20,801 (3.3s)
It's been a very active academic research area

Это весьма активная область научных исследований

History of edits (Latest: Nashev 2 years, 6 months ago) §
0:00:24,167 (2.5s)
for quite a while now, about ten years.

в течении последних десяти лет.

History of edits (Latest: Nashev 2 years, 6 months ago) §
0:00:26,734 (2.8s)
And we've actually taken that algorithm

И мы взяли этот алгоритм

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:29,534 (4.1s)
and extended it to provide you the live concurrent editing

и расширили его, чтобы предоставить вам одновременное совместное редактирование,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:33,667 (1.8s)
that you're so used to now.

к которому вы уже так привыкли.

History of edits (Latest: qmax 2 years, 6 months ago) §

— когда это все уже привыкнуть успели? Nashev

— "которое так используется сейчас"? vadbars

— незнаю когда привыкли, но он буквально говорит "привыкли" qmax

0:00:35,467 (1.4s)
How does this all work?

Как это всё работает?

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:36,934 (1.9s)
So let me show you with an example.

Давайте я покажу на примере.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:38,901 (3.5s)
So imagine we had a client...

Представьте, что у нас есть клиент...

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:42,467 (3.7s)
and we had a server...

и сервер...

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:46,234 (3.3s)
and it all started with the same state--

и они стартуют в одинаковом состоянии -

History of edits (Latest: qmax 2 years, 6 months ago) §

— и все они запущены в одинаковом состоянии iBog

— да "всё запущено" както не совсем об этом :) qmax

— "начинают" лучше Nashev

— "находятся"? или буквально - "стартуют из" vadbars

0:00:49,567 (2.3s)
A, B, C and D.

A,B,C, и D

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:54,567 (3.4s)
Now, imagine the client wanted to insert some character

Теперь представьте, что клиент хочет вставить букву

History of edits (Latest: qmax 2 years, 6 months ago) §
0:00:57,968 (2.4s)
between C and D.

между C и D.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:00,467 (4.9s)
So he now inserts, let's say, X between the character C and D.

И вот он вставляет, скажем, X между символами C и D.

History of edits (Latest: vadbars 2 years, 6 months ago) §
0:01:05,434 (3.0s)
And the server actually wanted to delete the character B.

А сервер вообще-то хотел удалить символ B.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:08,534 (3.7s)
So now he ends up with the state A, C, and D.

И теперь он пришёл к состоянию A, C и D.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:12,267 (2.2s)
Now, these happen concurrently.

Теперь, всё это происходит одновременно.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:14,534 (2.0s)
So how do they communicate

И как же они сообщают о том,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:16,634 (3.2s)
that they've done these things on both sides?

что сделали всё это с обеих сторон?

History of edits (Latest: qmax 2 years, 6 months ago) §

Comment was deleted

— "Как же они сообщают, что они сделали это с обеих сторон?" или "Как же они сообщают друг другу о своих действиях?" vadbars

0:01:19,901 (2.3s)
So what they do is they send the action,

Они пересылают действие,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:22,300 (2.1s)
which we call operation on the wire.

которое мы называем операцией, по каналу.

History of edits (Latest: qmax 2 years, 6 months ago) §

— как вариант "operation on the wire" - "отсылка операции" iBog

— "on the wire" тут относится к "they send foo on wire". qmax

0:01:24,434 (8.0s)
So the client sends an insert X at position 0, 1, 2, and 3.

Так, клиент посылает вставку X в позиции 0,1,2 и 3.

History of edits (Latest: qmax 2 years, 6 months ago) §

Comment was deleted

— (отсчитывает позиции вслух)  qmax

0:01:32,467 (3.1s)
And the server sends the operation

А сервер посылает операцию

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:35,601 (5.5s)
delete character B at position 0 and 1.

удаления символа B в позици 0 и 1.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:41,200 (4.1s)
So now when the other side gets the message,

Теперь, когда другая сторона получает сообщение,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:45,367 (3.0s)
they could choose to blindly execute it if they wanted to.

они могли бы слепо это выполнить, если бы захотели.

History of edits (Latest: qmax 2 years, 6 months ago) §

— "слепо", "вслепую", "наобум" ? qmax

— "просто это выполнить"? в смысле "тупо, не рассуждая, взять и выполнить". :)  vadbars

0:01:48,400 (1.4s)
But what would happen

Но что же произойдёт

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:49,834 (2.1s)
if you actually blindly execute an operation?

если слепо выполнить операцию?

History of edits (Latest: qmax 2 years, 6 months ago) §

— просто выполнить vadbars

0:01:51,934 (4.0s)
So if the server executed the operation from a client,

Так, если бы сервер выполнил операцию клиента,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:55,934 (2.3s)
insert the X blindly,

вставил "X" вслепую,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:01:58,234 (2.5s)
you'd end up with the state A, C, D, and X.

получилось бы состояние A,C,D и X.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:00,801 (3.0s)
But that's clearly not what the client wants to do.

но это совершенно не то, что хотел клиент.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:03,801 (1.4s)
So what we have to do

То, что нам нужно сделать,

History of edits (Latest: qmax 2 years, 6 months ago) §

— "нужно сделать". Здесь не про результат, которого хотел клиент из предыдущей строки, а наши действия vadbars

0:02:05,300 (3.2s)
is go through a process called transformation.

это пройти процесс, называемый преобразованием.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:08,501 (1.5s)
So what happens is that the server

Происходит то, что сервер

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:10,033 (2.1s)
takes the client operation

берёт операцию клиента

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:12,200 (3.3s)
and transforms against its un-operation,

и преобразовывает её вместе со своей операцией.

History of edits (Latest: qmax 2 years, 6 months ago) §

— опечатка "own operation" qmax

0:02:15,567 (2.2s)
and it results in a new operation

в результате получается новая операция,

History of edits (Latest: vadbars 2 years, 6 months ago) §
0:02:17,801 (3.5s)
where he inserts calc X, now position 2

которая вставляет символ X уже в позицию 2.

History of edits (Latest: qmax 2 years, 6 months ago) §

— "calc" ? qmax

опечатка: "char" qmax

— "уже в позицию 2" - now  vadbars

0:02:21,400 (2.1s)
because he has to subtract a position

потому что он вычел позицию

History of edits (Latest: qmax 2 years, 6 months ago) §

— "вычел"? Отнял звучит как-то насильственно. :)  vadbars

0:02:23,534 (1.9s)
for its undeleted character.

удалённого у себя символа.

History of edits (Latest: qmax 2 years, 6 months ago) §

— опять опечатка "own deleted" qmax

— "которую занимал ранее удаленный символ" - так понятнее? vadbars

0:02:25,501 (2.1s)
And now the server applies the operation,

Теперь сервер применяет эту операцию,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:27,667 (4.7s)
and you end up with the state A, C, X, and D.

и получается состояние A,C,X, и D.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:32,400 (1.7s)
The client, on the other hand,

Клиент, со своей стороны,

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:34,133 (2.3s)
does the exact same transformation.

делает точно такие же преобразования.

History of edits (Latest: qmax 2 years, 6 months ago) §
0:02:36,467 (2.1s)
However, in this case, it just happens

Однако, в этом случае, получается

History of edits (Latest: qmax 2 years, 6 months ago) §
Pages: ← previous Ctrl next
1 2 3

© Google.