New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Translation of basic-data-structure.md #14
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我简单看了下,这几个地方还有点疑虑。
thinkings/basic-data-structure-en.md
Outdated
@@ -0,0 +1,328 @@ | |||
# Fundamental data structure |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
请添加一个WIP的标示, 标示正在翻译中。
thinkings/basic-data-structure.md
Outdated
但是,`http1.1规定,服务器端的响应的发送要根据请求被接收的顺序排队`,也就是说, | ||
先接收到的请求的响应也要先发送。这样造成的问题是,如果最先收到的请求的处理时间长的话,响应生成也慢,就会阻塞已经生成了的响应的发送。也会造成队头阻塞。 | ||
`HTTP/1.0` 和 `HTTP/1.1`: | ||
在`HTTP/1.0` 中每一次请求都需要建立一个TCP连接,请求结束后立即断开连接。而且下一个包必须在收到前一个包的ACK之后才能发送。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
下一个包必须在收到前一个包的ACK之后才能发送的原因是什么
thinkings/basic-data-structure-en.md
Outdated
|
||
Array is the simplest data structure and is used in so many places. For example, array is perfectly appropriate to store a data list. And in fact, you can find array behind many other data structures. | ||
|
||
The stack and queue structures which will be mentioned later can be regarded as a kind of BLOCKED array. You can find the detials in the corresponding sections. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“blocked” 这个翻译是不是改为 LIMITED 更加合适
thinkings/basic-data-structure-en.md
Outdated
|
||
### Queue | ||
|
||
Queue is a confining sequence. The elements in queue can only be removed from the head and only be added from the tail. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
confining 是不是改为 LIMITED 更合适
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同意,查了一下confining多指动作上的限制,limited可以用作状态的限制,这里limited更合适。
thinkings/basic-data-structure-en.md
Outdated
|
||
> accoding to FIFO(fisrt-in-first-out) principle | ||
|
||
Queue is also a very common data structure with widely using. Like message queue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
widely using 是不是应该改为 used widely
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以改为with widespread application, 或者用被动语态with being widely used.
widely是副词,确实不该直接拿来修饰名词。
thinkings/basic-data-structure-en.md
Outdated
|
||
### Stack | ||
|
||
Stack is a kind of blocked sequence. It only supports to add or remove element at the **top** of stack. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blocked 翻译
那就辛苦你再看看 |
update basic-data-structure.md
update the differences between
HTTP/1.0
andHTTP/1.1
& the differences betweenHTTP/1.1
andHTTP/2
.create basic-data-structure-en.md
translate most parts of
basic-data-structure.md
into English.with leaving two parts related to
React
untranslated because no idea about operations ofreact
.