Patryk27 / shorelark

Simulation of life & evolution
https://pwy.io/en/posts/learning-to-fly-pt1/
MIT License
207 stars 21 forks source link

Translate it into Chinese #3

Open suhanyujie opened 3 years ago

suhanyujie commented 3 years ago
Patryk27 commented 3 years ago

Hi,

Thanks for your interest in my writing - yes, please feel free to translate it!

Would you mind sending me a link after it's done? I'd love to link it from the English page, to make it easier to discover the translation 🙂

suhanyujie commented 3 years ago

Sure : )

suhanyujie commented 3 years ago

The file URL is: https://github.com/suhanyujie/article-transfer-rs/blob/main/src/2021/3.Learning-to-Fly-Let-s-create-a-simulation-in-Rust-pt1.md

But work is still in process. If I have finished, I will let you know. : )

suhanyujie commented 3 years ago

Hello~ There is something error in this post (about style):

Since we’re iterating through `self.weights` using length of `inputs’, there are three edge cases we have to consider:

The wrong position is:

`inputs’ 

expect result is:

`inputs`
Patryk27 commented 3 years ago

Hi,

Actually, it's meant to function as Saxon Genitive (using length of inputs's - but since the word already ends with s, the 's can be trimmed to: using length of inputs').

In a hindsight, this looks a bit weird, so I've just changed it to say using length from inputs instead.

Thanks!