Giter Site home page Giter Site logo

oldratlee / translations Goto Github PK

View Code? Open in Web Editor NEW
6.8K 423.0 1.6K 14.12 MB

🐼 Chinese translations for classic software development resources

Home Page: https://github.com/oldratlee/translations

License: Other

translation chinese-translation lisp erlang elixir git design distributed-systems paxos python

translations's People

Contributors

airstone42 avatar angty avatar beyondyuefei avatar codeyu avatar craneyuan avatar diorch avatar driventokill avatar findstr avatar gitter-badger avatar haoel avatar jeff2go avatar kun-song avatar langinteger avatar lcynot avatar mj5219054 avatar newjie avatar oldratlee avatar quan7u avatar steven-cmy avatar strawhatfy avatar xiangmingzhe0928 avatar xuqinghan avatar zoroqi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

translations's Issues

翻译『Strategic Scala Style: Principle of Least Power』

Strategic Scala Style: Principle of Least Power
http://www.lihaoyi.com/post/StrategicScalaStylePrincipleofLeastPower.html


翻译 Scala编程语言之”疣“

Warts of the Scala Programming Language http://www.lihaoyi.com/post/WartsoftheScalaProgrammingLanguage.html

这里有一份翻译
http://hangscer.win/2017/05/30/Warts-of-the-Scala-Programming-Language-%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91/


http://weibo.com/1715118170/F56QFtwcB
【Warts of the Scala programming language】Scala编程语言之”疣“。Scala是我目前最喜欢的通用编程语言。 但是它绝对有缺点。 虽然有些在设计语言时有很大的权衡,但其它的则是微不足道的愚蠢的问题导致沮丧程度远远超出了它们的复杂程度:“疣”。 这篇文章将探讨一些在我看来是Scala编程语言之“疣”,希望提高他们作为问题的存在意识,并建立一个愿望在更广泛的社区以解决它们。

clean extra TTL value in destination thread

您好,请教一个问题:

TransmittableThreadLocal类中的 backupAndSet() 方法中,如下代码:

for (Iterator<? extends Map.Entry<TransmittableThreadLocal<?>, ?>> iterator = holder.get().entrySet().iterator();
             iterator.hasNext(); ) {
    Map.Entry<TransmittableThreadLocal<?>, ?> next = iterator.next();
    TransmittableThreadLocal<?> threadLocal = next.getKey();

    // 此处将线程池所在线程threadlocal备份
    backup.put(threadLocal, threadLocal.get());

    // 没太理解此处,为何将copied中不存在,holder中存在的 threadlocal remove?
    if (!copied.containsKey(threadLocal)) {
        iterator.remove();
        threadLocal.superRemove();
    }
}

一旦调用iterator.remove()本来不属于当前线程的threadlocal也会被remove,这样假如此时另外一个线程池中的线程调用了copy()方法,就会丢失部分数据?

不知我哪里理解错误,望批评指正。
期待回复

git集中式工作流

原文有这么一段话:

git pull --rebase

# 【译注】:
# 原文用的命令是 git push --rebase origin master
# 原因同上

其中 git push --rebase origin master 应为
git pull --rebase origin master

原文地址

译: A Look Into NASA’s Coding Philosophy

你好,想问下关于git flow的develop分支上的合并操作?

workflow-gitflow.md#小红完成发布

在小红完成功能开发中,本地some-feature分支先是合并了远程develop分支,然后本地develop分支合并了本地some-feature分支之后提交,然后删除了本地some-feature分支。

  1. 远程是否存在some-feature分支?
  2. 那么在小红完成发布中,本地release-0.1分支是否应该在本地master分支合并完成之后,先合并来自远程develop分支的代码,然后本地develop分支合并本地release-0.1分支,然后提交?

翻译: A practical introduction to functional programming

A practical introduction to functional programming
https://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming

信息来源

来自非常好的FP书籍《Functional Programming,Simplified(Scala edition)》 ❤️

Chapter - What is “Functional Programming”? / Section - Proof: A wonderful quote from Mary Rose Cook:

When I first started learning FP, I was aware that pure functions were important, but this point was really driven home when I came across an article titled A Practical Introduction to Functional Programming by Mary Rose Cook.

Ms. Cook used to work at the Recurse Center (formerly known as “Hacker School”) and now works at Makers Academy, and in her “Practical Introduction to FP” essay, she refers to using only pure functions as a Guide Rope to learning FP:

When people talk about functional programming, they mention a dizzying number of ‘functional’ characteristics. They mention immutable data, first class functions, and tail call optimisation. These are language features that aid functional programming.

They mention mapping, reducing, pipelining, recursing, currying and the use of higher order functions. These are programming techniques used to write functional code.

They mention parallelization, lazy evaluation, and determinism. These are advantageous properties of functional programs.

Ignore all that. Functional code is characterised by one thing: the absence of side effects. It (a pure function) doesn’t rely on data outside the current function, and it doesn’t change data that exists outside the current function. Every other ‘functional’ thing can be derived from this property. Use it as a guide rope as you learn.

When she writes about the “absence of side effects,” she’s referring to building applications from pure functions.

Her guide rope statement is so good, it bears repeating:

Functional code is characterised by one thing: the absence of side effects.

When I first read this quote, the little light bulb went on over my head and I began focusing even more on writing only pure functions.

If you think about it, this statement means exactly what I wrote at the beginning of this lesson:

Functional programming is a way of writing software applications using only pure functions and immutable values.

wiki的用法简介

可否把github上的wiki的用法简介给写一下呢?或者推荐一个相关文档也可以。多谢啦! @oldratlee

『API设计原则』翻译建义:could have翻译不要丢掉虚拟语气

For example, QMimeSourceFactory in Qt 3 could have been called QImageLoader and have a different API.
举个例子,在Qt 3中,QMimeSourceFactory不应命名成QImageLoader并有不一样的API。

could have 虚拟语气。 如果不是为了简介清晰,QMimeSourceFactory 在Qt 3中会被叫做QImageLoader并有一套不同的API.

Fork-Join这篇翻译存在的错误

- 尽管这些框架都能适应 不能形式 的并行程序,他们优化了Fork/Join的设计:
+ 尽管这些框架都能适应 不同形式 的并行程序,他们优化了Fork/Join的设计:

随机的int有问题

这条其实是一个迷题,先不要看解答。看看你能不能自己找出解法。

运行下面的代码:

for (int i = 0; i < 10; i++) {
    System.out.println((Integer) i);
}

…… 然后要得到类似下面的输出(每次输出是随机结果):

92
221
45
48
236
183
39
193
33
84

Output:

0
1
2
3
4
5
6
7
8
9

翻译『API Design Principles』

整理Doug Lea论文A Java Fork/Join Framework的译文

已经有 译文稿 Java Fork Join 框架 http://ifeve.com/a-java-fork-join-framework/

值得改进,原因:

  1. 翻译内容不完整
  2. 在 ifeve.com 一小节内容不多但各成一页,阅读/导航不方便

更多参见: Doug Lea并发编程文章全部译文 http://ifeve.com/doug-lea/

PS:

PPS:

Fork/Join Framework vs. Parallel Streams vs. ExecutorService: The Ultimate Fork/Join Benchmark http://blog.takipi.com/forkjoin-framework-vs-parallel-streams-vs-executorservice-the-ultimate-benchmark/

你好,问一个hotfix分支的问题

文中提到的,hotfix分支使用方式是不是点问题。因为从图上看,这个似乎是不能像release分支一样,去走一个发布流程,这不符合规范吧。

翻译 The Rise of Worse is Better(来自Erlang讨论)

The Rise of Worse is Better http://dreamsongs.com/RiseOfWorseIsBetter.html

已有的翻译稿:

PS

关于Erlang:

  • 面向并发(建模、设计、容错、软实时),一等公民,其它是模仿,只有局部。(底层公平调度)。
  • 关于防过载
    • 目前我们的方案,如Java圈子里基于服务TPS的限流方案,都挺不漂亮的,感觉是个Patch:复杂、繁琐、容易踩坑。
    • Erlang的机制 过载时也是 稳定的。 细节我还理解的不够。
  • Let it crash
  • 十几年的积累&优化,产品级
  • beam 是很公平的调度,JVM 是依赖 OS 的调度,感觉 beam 的调度比 OS 的还要公平

Erlang方面 很劲暴(激进)的文章

Erlang的知乎主题

  • 为啥 Erlang 没有像 Go、Scala 语言那样崛起?
    Erlang 有一个简单、正确、不妥协的接口,但是底层实现就不得不非常复杂精巧,当底层实现的优化都不能满足你的特定需求时,你很难绕过统一美好的模型做case by case, quick and dirty的优化。
  • Worse is Better 能比较好地解释题主的「为什么」。也是篇劲暴的文章。。。
    • 激进的人和文章!
    • 要坚持美好真TM难, 结果 Worse is Better
    • 虽然大部分场景 用Worse的方案 是OK的,但是
      • Better的方案一旦理解,整体软件成本 应用 优的
      • 对于要求高的场景 , Worse应该是做的半桶水,做不到够用。
      • 非常均匀的任务切换,Erlang为了实现“可抢占的公平”下了很大功夫。
        要使用美好的东西也很难, 使用好难, 系统理解&使用对 难。

计算机格言收集、整理、翻译和简析

刚开始学习Git及Github

希望楼主能整理一下GitGithub术语的中英文对照表,比如

  • Repository是否对应仓库
  • Pull Request是否对应提交?

统一feed的翻译用词 log-what-every-software-engineer-should-know-about-real-time-datas-unifying

feed 本文表示的是 用于数据处理生产新数据的输入数据,『喂养』的本意 体现了 feed驱动了数据处理过程。

可能的翻译:

  • 输入数据
  • 数据输入
  • 输入
  • 喂入数据
  • 灌入数据

上面的用词都不理想,没有体现出『喂养』形象感,但技术翻译中不合适使用『喂养』这个词。

译文中使用

  • 直接使用feed
  • 动词时,译成 『输入』/ 『输出』?
  • 名词时,译成 『输入数据』/ 『输出数据』?

意义没错,但很平淡。。。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.