[@TimSweeneyEpic][8] 可能会很喜欢 😊
+>
+> ![pic.twitter.com/7mt9fXt7TH][9]
+>
+> — Lutris Gaming (@LutrisGaming) [April 17, 2019][10]
+
+作为一名狂热的游戏玩家和 Linux 用户,我立即得到了这个消息,并安装了 Lutris 来运行 Epic 游戏。
+
+**备注:** 我使用 [Ubuntu 19.04][11] 来测试 Linux 环境下的游戏运行情况。
+
+### 通过 Lutris 在 Linux 下使用 Epic 游戏商城
+
+为了在你的 Linux 系统中安装 Epic 游戏商城,请确保你已经安装了 Wine 和 Python 3。接下来,[在 Ubuntu 中安装 Wine][12] ,或任何你正在使用的 Linux 发行版本也都可以。然后, [从官方网站下载 Lutris][13].
+
+#### 安装 Epic 游戏商城
+
+Lutris 安装成功后,直接启动它。
+
+当我尝试时,我遇到了一个问题(当我用 GUI 启动时却没有遇到)。当我尝试在命令行输入 `lutris` 来启动时,我发现了下图所示的错误:
+
+![][15]
+
+感谢 Abhishek,我了解到了这是一个常见问题 (你可以在 [GitHub][16] 上查看这个问题)。
+
+总之,为了解决这个问题,我需要在命令行中输入以下命令:
+
+```
+export LC_ALL=C
+```
+
+当你遇到同样的问题时,只要你输入这个命令,就能正常启动 Lutris 了。
+
+**注意**:每次启动 Lutris 时都必须输入这个命令。因此,最好将其添加到 `.bashrc` 文件或环境变量列表中。
+
+上述操作完成后,只要启动并搜索 “Epic Games Store” 会显示以下图片中的内容:
+
+![Epic Games Store in Lutris][17]
+
+在这里,我已经安装过了,所以你将会看到“安装”选项,它会自动询问你是否需要安装需要的包。只需要继续操作就可以成功安装。就是这样,不需要任何黑科技。
+
+#### 玩一款 Epic 游戏商城中的游戏
+
+![Epic Games Store][18]
+
+现在我们已经通过 Lutris 在 Linux 上安装了 Epic 游戏商城,启动它并登录你的账号就可以开始了。
+
+但这真会奏效吗?
+
+*是的,Epic 游戏商城可以运行。* **但是所有游戏都不能玩。**(LCTT 译注:莫生气,请看文末的进一步解释!)
+
+好吧,我并没有尝试过所有内容,但是我拿了一个免费的游戏(Transistor —— 一款回合制 ARPG 游戏)来检查它是否工作。
+
+![Transistor – Epic Games Store][19]
+
+很不幸,游戏没有启动。当我运行时界面显示了 “Running” 不过什么都没有发生。
+
+到目前为止,我还不知道有什么解决方案 —— 所以如果我找到解决方案,我会尽力让你们知道最新情况。
+
+### 总结
+
+通过 Lutris 这样的工具使 Linux 的游戏场景得到了改善,这终归是个好消息 。不过,仍有许多工作要做。
+
+对于在 Linux 上运行的游戏来说,无障碍运行仍然是一个挑战。其中可能就会有我遇到的这种问题,或者其它类似的。但它正朝着正确的方向发展 —— 即使还存在着一些问题。
+
+你有什么看法吗?你是否也尝试用 Lutris 在 Linux 上启动 Epic 游戏商城?在下方评论让我们看看你的意见。
+
+### 补充
+
+Transistor 实际上有一个原生的 Linux 移植版。到目前为止,我从 Epic 获得的所有游戏都是如此。所以我会试着压下我的郁闷,而因为 Epic 只让你玩你通过他们的商店/启动器购买的游戏,所以在 Linux 机器上用 Lutris 玩这个原生的 Linux 游戏是不可能的。这简直愚蠢极了。Steam 有一个原生的 Linux 启动器,虽然不是很理想,但它可以工作。GOG 允许你从网站下载购买的内容,可以在你喜欢的任何平台上玩这些游戏。他们的启动器完全是可选的。
+
+我对此非常恼火,因为我在我的 Epic 库中的游戏都是可以在我的笔记本电脑上运行得很好的游戏,当我坐在桌面前时,玩起来很有趣。但是因为那台桌面机是我唯一拥有的 Windows 机器……
+
+我选择使用 Linux 时已经知道会存在兼容性问题,并且我有一个专门用于游戏的 Windows 机器,而我通过 Epic 获得的游戏都是免费的,所以我在这里只是表示一下不满。但是,他们两个作为最著名的竞争对手,Epic 应该有在我的 Linux 机器上玩原生 Linux 移植版的机制。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/epic-games-lutris-linux/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[Modrisco](https://github.com/Modrisco)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-7316-1.html
+[2]: https://linux.cn/article-10061-1.html
+[3]: https://linux.cn/article-10054-1.html
+[4]: https://lutris.net/
+[5]: https://itsfoss.com/wp-content/uploads/2019/04/epic-games-store-lutris-linux-800x450.png
+[6]: https://www.epicgames.com/store/en-US/
+[7]: https://twitter.com/EpicGames?ref_src=twsrc%5Etfw
+[8]: https://twitter.com/TimSweeneyEpic?ref_src=twsrc%5Etfw
+[9]: https://pbs.twimg.com/media/D4XkXafX4AARDkW?format=jpg&name=medium
+[10]: https://twitter.com/LutrisGaming/status/1118552969816018948?ref_src=twsrc%5Etfw
+[11]: https://itsfoss.com/ubuntu-19-04-release-features/
+[12]: https://itsfoss.com/install-latest-wine/
+[13]: https://lutris.net/downloads/
+[14]: https://itsfoss.com/ubuntu-mate-entroware/
+[15]: https://itsfoss.com/wp-content/uploads/2019/04/lutris-error.jpg
+[16]: https://github.com/lutris/lutris/issues/660
+[17]: https://itsfoss.com/wp-content/uploads/2019/04/lutris-epic-games-store-800x520.jpg
+[18]: https://itsfoss.com/wp-content/uploads/2019/04/epic-games-store-800x450.jpg
+[19]: https://itsfoss.com/wp-content/uploads/2019/04/transistor-game-epic-games-store-800x410.jpg
+[20]: https://itsfoss.com/skpe-alpha-linux/
diff --git a/published/20190423 How to identify same-content files on Linux.md b/published/20190423 How to identify same-content files on Linux.md
new file mode 100644
index 0000000000..6353fe86b3
--- /dev/null
+++ b/published/20190423 How to identify same-content files on Linux.md
@@ -0,0 +1,256 @@
+[#]: collector: (lujun9972)
+[#]: translator: (tomjlw)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10955-1.html)
+[#]: subject: (How to identify same-content files on Linux)
+[#]: via: (https://www.networkworld.com/article/3390204/how-to-identify-same-content-files-on-linux.html#tk.rss_all)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+如何在 Linux 上识别同样内容的文件
+======
+> 有时文件副本相当于对硬盘空间的巨大浪费,并会在你想要更新文件时造成困扰。以下是用来识别这些文件的六个命令。
+
+![Vinoth Chandar \(CC BY 2.0\)][1]
+
+在最近的帖子中,我们看了[如何识别并定位硬链接的文件][2](即,指向同一硬盘内容并共享 inode)。在本文中,我们将查看能找到具有相同*内容*,却不相链接的文件的命令。
+
+硬链接很有用是因为它们能够使文件存放在文件系统内的多个地方却不会占用额外的硬盘空间。另一方面,有时文件副本相当于对硬盘空间的巨大浪费,在你想要更新文件时也会有造成困扰之虞。在本文中,我们将看一下多种识别这些文件的方式。
+
+### 用 diff 命令比较文件
+
+可能比较两个文件最简单的方法是使用 `diff` 命令。输出会显示你文件的不同之处。`<` 和 `>` 符号代表在当参数传过来的第一个(`<`)或第二个(`>`)文件中是否有额外的文字行。在这个例子中,在 `backup.html` 中有额外的文字行。
+
+```
+$ diff index.html backup.html
+2438a2439,2441
+>
+> That's all there is to report.
+>
+```
+
+如果 `diff` 没有输出那代表两个文件相同。
+
+```
+$ diff home.html index.html
+$
+```
+
+`diff` 的唯一缺点是它一次只能比较两个文件并且你必须指定用来比较的文件,这篇帖子中的一些命令可以为你找到多个重复文件。
+
+### 使用校验和
+
+`cksum`(checksum) 命令计算文件的校验和。校验和是一种将文字内容转化成一个长数字(例如2819078353 228029)的数学简化。虽然校验和并不是完全独有的,但是文件内容不同校验和却相同的概率微乎其微。
+
+```
+$ cksum *.html
+2819078353 228029 backup.html
+4073570409 227985 home.html
+4073570409 227985 index.html
+```
+
+在上述示例中,你可以看到产生同样校验和的第二个和第三个文件是如何可以被默认为相同的。
+
+### 使用 find 命令
+
+虽然 `find` 命令并没有寻找重复文件的选项,它依然可以被用来通过名字或类型寻找文件并运行 `cksum` 命令。例如:
+
+```
+$ find . -name "*.html" -exec cksum {} \;
+4073570409 227985 ./home.html
+2819078353 228029 ./backup.html
+4073570409 227985 ./index.html
+```
+
+### 使用 fslint 命令
+
+`fslint` 命令可以被特地用来寻找重复文件。注意我们给了它一个起始位置。如果它需要遍历相当多的文件,这就需要花点时间来完成。注意它是如何列出重复文件并寻找其它问题的,比如空目录和坏 ID。
+
+```
+$ fslint .
+-----------------------------------file name lint
+-------------------------------Invalid utf8 names
+-----------------------------------file case lint
+----------------------------------DUPlicate files <==
+home.html
+index.html
+-----------------------------------Dangling links
+--------------------redundant characters in links
+------------------------------------suspect links
+--------------------------------Empty Directories
+./.gnupg
+----------------------------------Temporary Files
+----------------------duplicate/conflicting Names
+------------------------------------------Bad ids
+-------------------------Non Stripped executables
+```
+
+你可能需要在你的系统上安装 `fslint`。你可能也需要将它加入你的命令搜索路径:
+
+```
+$ export PATH=$PATH:/usr/share/fslint/fslint
+```
+
+### 使用 rdfind 命令
+
+`rdfind` 命令也会寻找重复(相同内容的)文件。它的名字意即“重复数据搜寻”,并且它能够基于文件日期判断哪个文件是原件——这在你选择删除副本时很有用因为它会移除较新的文件。
+
+```
+$ rdfind ~
+Now scanning "/home/shark", found 12 files.
+Now have 12 files in total.
+Removed 1 files due to nonunique device and inode.
+Total size is 699498 bytes or 683 KiB
+Removed 9 files due to unique sizes from list.2 files left.
+Now eliminating candidates based on first bytes:removed 0 files from list.2 files left.
+Now eliminating candidates based on last bytes:removed 0 files from list.2 files left.
+Now eliminating candidates based on sha1 checksum:removed 0 files from list.2 files left.
+It seems like you have 2 files that are not unique
+Totally, 223 KiB can be reduced.
+Now making results file results.txt
+```
+
+你可以在 `dryrun` 模式中运行这个命令 (换句话说,仅仅汇报可能会另外被做出的改动)。
+
+```
+$ rdfind -dryrun true ~
+(DRYRUN MODE) Now scanning "/home/shark", found 12 files.
+(DRYRUN MODE) Now have 12 files in total.
+(DRYRUN MODE) Removed 1 files due to nonunique device and inode.
+(DRYRUN MODE) Total size is 699352 bytes or 683 KiB
+Removed 9 files due to unique sizes from list.2 files left.
+(DRYRUN MODE) Now eliminating candidates based on first bytes:removed 0 files from list.2 files left.
+(DRYRUN MODE) Now eliminating candidates based on last bytes:removed 0 files from list.2 files left.
+(DRYRUN MODE) Now eliminating candidates based on sha1 checksum:removed 0 files from list.2 files left.
+(DRYRUN MODE) It seems like you have 2 files that are not unique
+(DRYRUN MODE) Totally, 223 KiB can be reduced.
+(DRYRUN MODE) Now making results file results.txt
+```
+
+`rdfind` 命令同样提供了类似忽略空文档(`-ignoreempty`)和跟踪符号链接(`-followsymlinks`)的功能。查看 man 页面获取解释。
+
+```
+-ignoreempty ignore empty files
+-minsize ignore files smaller than speficied size
+-followsymlinks follow symbolic links
+-removeidentinode remove files referring to identical inode
+-checksum identify checksum type to be used
+-deterministic determiness how to sort files
+-makesymlinks turn duplicate files into symbolic links
+-makehardlinks replace duplicate files with hard links
+-makeresultsfile create a results file in the current directory
+-outputname provide name for results file
+-deleteduplicates delete/unlink duplicate files
+-sleep set sleep time between reading files (milliseconds)
+-n, -dryrun display what would have been done, but don't do it
+```
+
+注意 `rdfind` 命令提供了 `-deleteduplicates true` 的设置选项以删除副本。希望这个命令语法上的小问题不会惹恼你。;-)
+
+```
+$ rdfind -deleteduplicates true .
+...
+Deleted 1 files. <==
+```
+
+你将可能需要在你的系统上安装 `rdfind` 命令。试验它以熟悉如何使用它可能是一个好主意。
+
+### 使用 fdupes 命令
+
+`fdupes` 命令同样使得识别重复文件变得简单。它同时提供了大量有用的选项——例如用来迭代的 `-r`。在这个例子中,它像这样将重复文件分组到一起:
+
+```
+$ fdupes ~
+/home/shs/UPGRADE
+/home/shs/mytwin
+
+/home/shs/lp.txt
+/home/shs/lp.man
+
+/home/shs/penguin.png
+/home/shs/penguin0.png
+/home/shs/hideme.png
+```
+
+这是使用迭代的一个例子,注意许多重复文件是重要的(用户的 `.bashrc` 和 `.profile` 文件)并且不应被删除。
+
+```
+# fdupes -r /home
+/home/shark/home.html
+/home/shark/index.html
+
+/home/dory/.bashrc
+/home/eel/.bashrc
+
+/home/nemo/.profile
+/home/dory/.profile
+/home/shark/.profile
+
+/home/nemo/tryme
+/home/shs/tryme
+
+/home/shs/arrow.png
+/home/shs/PNGs/arrow.png
+
+/home/shs/11/files_11.zip
+/home/shs/ERIC/file_11.zip
+
+/home/shs/penguin0.jpg
+/home/shs/PNGs/penguin.jpg
+/home/shs/PNGs/penguin0.jpg
+
+/home/shs/Sandra_rotated.png
+/home/shs/PNGs/Sandra_rotated.png
+```
+
+`fdupe` 命令的许多选项列如下。使用 `fdupes -h` 命令或者阅读 man 页面获取详情。
+
+```
+-r --recurse recurse
+-R --recurse: recurse through specified directories
+-s --symlinks follow symlinked directories
+-H --hardlinks treat hard links as duplicates
+-n --noempty ignore empty files
+-f --omitfirst omit the first file in each set of matches
+-A --nohidden ignore hidden files
+-1 --sameline list matches on a single line
+-S --size show size of duplicate files
+-m --summarize summarize duplicate files information
+-q --quiet hide progress indicator
+-d --delete prompt user for files to preserve
+-N --noprompt when used with --delete, preserve the first file in set
+-I --immediate delete duplicates as they are encountered
+-p --permissions don't soncider files with different owner/group or
+ permission bits as duplicates
+-o --order=WORD order files according to specification
+-i --reverse reverse order while sorting
+-v --version display fdupes version
+-h --help displays help
+```
+
+`fdupes` 命令是另一个你可能需要安装并使用一段时间才能熟悉其众多选项的命令。
+
+### 总结
+
+Linux 系统提供能够定位并(潜在地)能移除重复文件的一系列的好工具,以及能让你指定搜索区域及当对你所发现的重复文件时的处理方式的选项。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3390204/how-to-identify-same-content-files-on-linux.html#tk.rss_all
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[tomjlw](https://github.com/tomjlw)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/chairs-100794266-large.jpg
+[2]: https://www.networkworld.com/article/3387961/how-to-identify-duplicate-files-on-linux.html
+[3]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
+[4]: https://www.networkworld.com/article/3242170/linux/invaluable-tips-and-tricks-for-troubleshooting-linux.html
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
+
diff --git a/published/20190427 Monitoring CPU and GPU Temperatures on Linux.md b/published/20190427 Monitoring CPU and GPU Temperatures on Linux.md
new file mode 100644
index 0000000000..1ba2cb1a9b
--- /dev/null
+++ b/published/20190427 Monitoring CPU and GPU Temperatures on Linux.md
@@ -0,0 +1,146 @@
+[#]: collector: (lujun9972)
+[#]: translator: (cycoe)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10929-1.html)
+[#]: subject: (Monitoring CPU and GPU Temperatures on Linux)
+[#]: via: (https://itsfoss.com/monitor-cpu-gpu-temp-linux/)
+[#]: author: (It's FOSS Community https://itsfoss.com/author/itsfoss/)
+
+在 Linux 上监控 CPU 和 GPU 温度
+======
+
+> 本篇文章讨论了在 Linux 命令行中监控 CPU 和 GPU 温度的两种简单方式。
+
+由于 [Steam][1](包括 [Steam Play][2],即 Proton)和一些其他的发展,GNU/Linux 正在成为越来越多计算机用户的日常游戏平台的选择。也有相当一部分用户在遇到像[视频编辑][3]或图形设计等(Kdenlive 和 [Blender][4] 是这类应用程序中很好的例子)资源消耗型计算任务时,也会使用 GNU/Linux。
+
+不管你是否是这些用户中的一员或其他用户,你也一定想知道你的电脑 CPU 和 GPU 能有多热(如果你想要超频的话更会如此)。如果是这样,那么继续读下去。我们会介绍两个非常简单的命令来监控 CPU 和 GPU 温度。
+
+我的装置包括一台 [Slimbook Kymera][5] 和两台显示器(一台 TV 和一台 PC 监视器),使得我可以用一台来玩游戏,另一台来留意监控温度。另外,因为我使用 [Zorin OS][6],我会将关注点放在 Ubuntu 和 Ubuntu 的衍生发行版上。
+
+为了监控 CPU 和 GPU 的行为,我们将利用实用的 `watch` 命令在每几秒钟之后动态地得到读数。
+
+![][7]
+
+### 在 Linux 中监控 CPU 温度
+
+对于 CPU 温度,我们将结合使用 `watch` 与 `sensors` 命令。一篇关于[此工具的图形用户界面版本][8]的有趣文章已经在 It's FOSS 中介绍过了。然而,我们将在此处使用命令行版本:
+
+```
+watch -n 2 sensors
+```
+
+`watch` 保证了读数会在每 2 秒钟更新一次(当然,这个周期值能够根据你的需要去更改):
+
+```
+Every 2,0s: sensors
+
+iwlwifi-virtual-0
+Adapter: Virtual device
+temp1: +39.0°C
+
+acpitz-virtual-0
+Adapter: Virtual device
+temp1: +27.8°C (crit = +119.0°C)
+temp2: +29.8°C (crit = +119.0°C)
+
+coretemp-isa-0000
+Adapter: ISA adapter
+Package id 0: +37.0°C (high = +82.0°C, crit = +100.0°C)
+Core 0: +35.0°C (high = +82.0°C, crit = +100.0°C)
+Core 1: +35.0°C (high = +82.0°C, crit = +100.0°C)
+Core 2: +33.0°C (high = +82.0°C, crit = +100.0°C)
+Core 3: +36.0°C (high = +82.0°C, crit = +100.0°C)
+Core 4: +37.0°C (high = +82.0°C, crit = +100.0°C)
+Core 5: +35.0°C (high = +82.0°C, crit = +100.0°C)
+```
+
+除此之外,我们还能得到如下信息:
+
+ * 我们有 5 个核心正在被使用(并且当前的最高温度为 37.0℃)。
+ * 温度超过 82.0℃ 会被认为是过热。
+ * 超过 100.0℃ 的温度会被认为是超过临界值。
+
+根据以上的温度值我们可以得出结论,我的电脑目前的工作负载非常小。
+
+### 在 Linux 中监控 GPU 温度
+
+现在让我们来看看显卡。我从来没使用过 AMD 的显卡,因此我会将重点放在 Nvidia 的显卡上。我们需要做的第一件事是从 [Ubuntu 的附加驱动][10] 中下载合适的最新驱动。
+
+在 Ubuntu(Zorin 或 Linux Mint 也是相同的)中,进入“软件和更新 > 附加驱动”选项,选择最新的可用驱动。另外,你可以添加或启用显示卡的官方 ppa(通过命令行或通过“软件和更新 > 其他软件”来实现)。安装驱动程序后,你将可以使用 “Nvidia X Server” 的 GUI 程序以及命令行工具 `nvidia-smi`(Nvidia 系统管理界面)。因此我们将使用 `watch` 和 `nvidia-smi`:
+
+```
+watch -n 2 nvidia-smi
+```
+
+与 CPU 的情况一样,我们会在每两秒得到一次更新的读数:
+
+```
+Every 2,0s: nvidia-smi
+
+Fri Apr 19 20:45:30 2019
++-----------------------------------------------------------------------------+
+| Nvidia-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
+|-------------------------------+----------------------+----------------------+
+| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
+| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
+|===============================+======================+======================|
+| 0 GeForce GTX 106... Off | 00000000:01:00.0 On | N/A |
+| 0% 54C P8 10W / 120W | 433MiB / 6077MiB | 4% Default |
++-------------------------------+----------------------+----------------------+
+
++-----------------------------------------------------------------------------+
+| Processes: GPU Memory |
+| GPU PID Type Process name Usage |
+|=============================================================================|
+| 0 1557 G /usr/lib/xorg/Xorg 190MiB |
+| 0 1820 G /usr/bin/gnome-shell 174MiB |
+| 0 7820 G ...equest-channel-token=303407235874180773 65MiB |
++-----------------------------------------------------------------------------+
+```
+
+从这个表格中我们得到了关于显示卡的如下信息:
+
+ * 它正在使用版本号为 418.56 的开源驱动。
+ * 显示卡的当前温度为 54.0℃,并且风扇的使用量为 0%。
+ * 电量的消耗非常低:仅仅 10W。
+ * 总量为 6GB 的 vram(视频随机存取存储器),只使用了 433MB。
+ * vram 正在被 3 个进程使用,他们的 ID 分别为 1557、1820 和 7820。
+
+大部分这些事实或数值都清晰地表明,我们没有在玩任何消耗系统资源的游戏或处理大负载的任务。当我们开始玩游戏、处理视频或其他类似任务时,这些值就会开始上升。
+
+#### 结论
+
+即便我们有 GUI 工具,但我还是发现这两个命令对于实时监控硬件非常的顺手。
+
+你将如何去使用它们呢?你可以通过阅读他们的 man 手册来学习更多关于这些工具的使用技巧。
+
+你有其他偏爱的工具吗?在评论里分享给我们吧 ;)。
+
+玩得开心!
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/monitor-cpu-gpu-temp-linux/
+
+作者:[Alejandro Egea-Abellán][a]
+选题:[lujun9972][b]
+译者:[cycoe](https://github.com/cycoe)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/itsfoss/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/install-steam-ubuntu-linux/
+[2]: https://itsfoss.com/steam-play-proton/
+[3]: https://itsfoss.com/best-video-editing-software-linux/
+[4]: https://www.blender.org/
+[5]: https://slimbook.es/
+[6]: https://zorinos.com/
+[7]: https://itsfoss.com/wp-content/uploads/2019/04/monitor-cpu-gpu-temperature-linux-800x450.png
+[8]: https://itsfoss.com/check-laptop-cpu-temperature-ubuntu/
+[9]: https://itsfoss.com/best-command-line-games-linux/
+[10]: https://itsfoss.com/install-additional-drivers-ubuntu/
+[11]: https://itsfoss.com/review-googler-linux/
+[12]: https://itsfoss.com/wp-content/uploads/2019/04/EGEA-ABELLAN-Alejandro.jpg
diff --git a/published/20190428 Installing Budgie Desktop on Ubuntu -Quick Guide.md b/published/20190428 Installing Budgie Desktop on Ubuntu -Quick Guide.md
new file mode 100644
index 0000000000..457caaa69a
--- /dev/null
+++ b/published/20190428 Installing Budgie Desktop on Ubuntu -Quick Guide.md
@@ -0,0 +1,112 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10919-1.html)
+[#]: subject: (Installing Budgie Desktop on Ubuntu [Quick Guide])
+[#]: via: (https://itsfoss.com/install-budgie-ubuntu/)
+[#]: author: (Atharva Lele https://itsfoss.com/author/atharva/)
+
+在 Ubuntu 上安装 Budgie 桌面
+======
+
+> 在这个逐步的教程中学习如何在 Ubuntu 上安装 Budgie 桌面。
+
+在所有[各种 Ubuntu 版本][1]中,[Ubuntu Budgie][2] 是最被低估的版本。它外观优雅,而且需要的资源也不多。
+
+阅读这篇 《[Ubuntu Budgie 点评][3]》或观看下面的视频,了解 Ubuntu Budgie 18.04 的外观如何。
+
+- [Ubuntu 18.04 Budgie Desktop Tour [It's Elegant]](https://youtu.be/KXgreWOK33k)
+
+如果你喜欢 [Budgie 桌面][5]但你正在使用其他版本的 Ubuntu,例如默认 Ubuntu 带有 GNOME 桌面,我有个好消息。你可以在当前的 Ubuntu 系统上安装 Budgie 并切换桌面环境。
+
+在这篇文章中,我将告诉你到底该怎么做。但首先,对那些不了解 Budgie 的人进行一点介绍。
+
+Budgie 桌面环境主要由 [Solus Linux 团队开发][6]。它的设计注重优雅和现代使用。Budgie 适用于所有主流 Linux 发行版,可以让用户在其上尝试体验这种新的桌面环境。Budgie 现在非常成熟,并提供了出色的桌面体验。
+
+> 警告
+>
+> 在同一系统上安装多个桌面可能会导致冲突,你可能会遇到一些问题,如面板中缺少图标或同一程序的多个图标。
+>
+> 你也许不会遇到任何问题。是否要尝试不同桌面由你决定。
+
+### 在 Ubuntu 上安装 Budgie
+
+此方法未在 Linux Mint 上进行测试,因此我建议你 Mint 上不要按照此指南进行操作。
+
+对于正在使用 Ubuntu 的人,Budgie 现在默认是 Ubuntu 仓库的一部分。因此,我们不需要添加任何 PPA 来下载 Budgie。
+
+要安装 Budgie,只需在终端中运行此命令即可。我们首先要确保系统已完全更新。
+
+```
+sudo apt update && sudo apt upgrade
+sudo apt install ubuntu-budgie-desktop
+```
+
+下载完成后,你将看到选择显示管理器的提示。选择 “lightdm” 以获得完整的 Budgie 体验。
+
+![Select lightdm][7]
+
+安装完成后,重启计算机。然后,你会看到 Budgie 的登录页面。输入你的密码进入主屏幕。
+
+![Budgie Desktop Home][8]
+
+### 切换到其他桌面环境
+
+![Budgie login screen][9]
+
+你可以单击登录名旁边的 Budgie 图标获取登录选项。在那里,你可以在已安装的桌面环境(DE)之间进行选择。就我而言,我看到了 Budgie 和默认的 Ubuntu(GNOME)桌面。
+
+![Select your DE][10]
+
+因此,无论何时你想登录 GNOME,都可以使用此菜单执行此操作。
+
+### 如何删除 Budgie
+
+如果你不喜欢 Budgie 或只是想回到常规的以前的 Ubuntu,你可以如上节所述切换回常规桌面。
+
+但是,如果你真的想要删除 Budgie 及其组件,你可以按照以下命令回到之前的状态。
+
+**在使用这些命令之前先切换到其他桌面环境:**
+
+```
+sudo apt remove ubuntu-budgie-desktop ubuntu-budgie* lightdm
+sudo apt autoremove
+sudo apt install --reinstall gdm3
+```
+
+成功运行所有命令后,重启计算机。
+
+现在,你将回到 GNOME 或其他你有的桌面。
+
+### 你对 Budgie 有什么看法?
+
+Budgie 是[最佳 Linux 桌面环境][12]之一。希望这个简短的指南帮助你在 Ubuntu 上安装了很棒的 Budgie 桌面。
+
+如果你安装了 Budgie,你最喜欢它的什么?请在下面的评论中告诉我们。像往常一样,欢迎任何问题或建议。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/install-budgie-ubuntu/
+
+作者:[Atharva Lele][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/atharva/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/which-ubuntu-install/
+[2]: https://ubuntubudgie.org/
+[3]: https://itsfoss.com/ubuntu-budgie-18-review/
+[4]: https://www.youtube.com/c/itsfoss?sub_confirmation=1
+[5]: https://github.com/solus-project/budgie-desktop
+[6]: https://getsol.us/home/
+[7]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/budgie_install_select_dm.png?fit=800%2C559&ssl=1
+[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/budgie_homescreen.jpg?fit=800%2C500&ssl=1
+[9]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/budgie_install_lockscreen.png?fit=800%2C403&ssl=1
+[10]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/budgie_install_lockscreen_select_de.png?fit=800%2C403&ssl=1
+[11]: https://itsfoss.com/snapd-error-ubuntu/
+[12]: https://itsfoss.com/best-linux-desktop-environments/
diff --git a/translated/tech/20161106 Myths about -dev-urandom.md b/published/201905/20161106 Myths about -dev-urandom.md
similarity index 73%
rename from translated/tech/20161106 Myths about -dev-urandom.md
rename to published/201905/20161106 Myths about -dev-urandom.md
index 118c6426f2..76f07ebc3c 100644
--- a/translated/tech/20161106 Myths about -dev-urandom.md
+++ b/published/201905/20161106 Myths about -dev-urandom.md
@@ -7,37 +7,37 @@
**`/dev/urandom` 不安全。加密用途必须使用 `/dev/random`**
-事实:`/dev/urandom` 才是类 Unix 操作系统下推荐的加密种子。
+*事实*:`/dev/urandom` 才是类 Unix 操作系统下推荐的加密种子。
**`/dev/urandom` 是伪随机数生成器(PRND),而 `/dev/random` 是“真”随机数生成器。**
-事实:它们两者本质上用的是同一种 CSPRNG (一种密码学伪随机数生成器)。它们之间细微的差别和“真”不“真”随机完全无关
+*事实*:它们两者本质上用的是同一种 CSPRNG (一种密码学伪随机数生成器)。它们之间细微的差别和“真”“不真”随机完全无关。(参见:“Linux 随机数生成器的构架”一节)
**`/dev/random` 在任何情况下都是密码学应用更好地选择。即便 `/dev/urandom` 也同样安全,我们还是不应该用它。**
-事实:`/dev/random` 有个很恶心人的问题:它是阻塞的。(LCTT 译注:意味着请求都得逐个执行,等待前一个请求完成)
+*事实*:`/dev/random` 有个很恶心人的问题:它是阻塞的。(参见:“阻塞有什么问题?”一节)(LCTT 译注:意味着请求都得逐个执行,等待前一个请求完成)
-**但阻塞不是好事吗!`/dev/random` 只会给出电脑收集的信息熵足以支持的随机量。`/dev/urandom` 在用完了所有熵的情况下还会不断吐不安全的随机数给你。**
+**但阻塞不是好事吗!`/dev/random` 只会给出电脑收集的信息熵足以支持的随机量。`/dev/urandom` 在用完了所有熵的情况下还会不断吐出不安全的随机数给你。**
-事实:这是误解。就算我们不去考虑应用层面后续对随机种子的用法,“用完信息熵池”这个概念本身就不存在。仅仅 256 位的熵就足以生成计算上安全的随机数很长、很长的一段时间了。
+*事实*:这是误解。就算我们不去考虑应用层面后续对随机种子的用法,“用完信息熵池”这个概念本身就不存在。仅仅 256 位的熵就足以生成计算上安全的随机数很长、很长的一段时间了。(参见:“那熵池快空了的情况呢?”一节)
问题的关键还在后头:`/dev/random` 怎么知道有系统会*多少*可用的信息熵?接着看!
**但密码学家老是讨论重新选种子(re-seeding)。这难道不和上一条冲突吗?**
-事实:你说的也没错!某种程度上吧。确实,随机数生成器一直在使用系统信息熵的状态重新选种。但这么做(一部分)是因为别的原因。
+*事实*:你说的也没错!某种程度上吧。确实,随机数生成器一直在使用系统信息熵的状态重新选种。但这么做(一部分)是因为别的原因。(参见:“重新选种”一节)
这样说吧,我没有说引入新的信息熵是坏的。更多的熵肯定更好。我只是说在熵池低的时候阻塞是没必要的。
**好,就算你说的都对,但是 `/dev/(u)random` 的 man 页面和你说的也不一样啊!到底有没有专家同意你说的这堆啊?**
-事实:其实 man 页面和我说的不冲突。它看似好像在说 `/dev/urandom` 对密码学用途来说不安全,但如果你真的理解这堆密码学术语你就知道它说的并不是这个意思。
+*事实*:其实 man 页面和我说的不冲突。它看似好像在说 `/dev/urandom` 对密码学用途来说不安全,但如果你真的理解这堆密码学术语你就知道它说的并不是这个意思。(参见:“random 和 urandom 的 man 页面”一节)
man 页面确实说在一些情况下推荐使用 `/dev/random` (我觉得也没问题,但绝对不是说必要的),但它也推荐在大多数“一般”的密码学应用下使用 `/dev/urandom` 。
虽然诉诸权威一般来说不是好事,但在密码学这么严肃的事情上,和专家统一意见是很有必要的。
-所以说呢,还确实有一些*专家*和我的一件事一致的:`/dev/urandom` 就应该是类 UNIX 操作系统下密码学应用的首选。显然的,是他们的观点说服了我而不是反过来的。
+所以说呢,还确实有一些*专家*和我的一件事一致的:`/dev/urandom` 就应该是类 UNIX 操作系统下密码学应用的首选。显然的,是他们的观点说服了我而不是反过来的。(参见:“正道”一节)
------
@@ -45,9 +45,9 @@ man 页面确实说在一些情况下推荐使用 `/dev/random` (我觉得也
我尝试不讲太高深的东西,但是有两点内容必须先提一下才能让我们接着论证观点。
-首当其冲的,*什么是随机性*,或者更准确地:我们在探讨什么样的随机性?
+首当其冲的,*什么是随机性*,或者更准确地:我们在探讨什么样的随机性?(参见:“真随机”一节)
-另外一点很重要的是,我*没有尝试以说教的态度*对你们写这段话。我写这篇文章是为了日后可以在讨论起的时候指给别人看。比 140 字长(LCTT 译注:推特长度)。这样我就不用一遍遍重复我的观点了。能把论点磨炼成一篇文章本身就很有助于将来的讨论。
+另外一点很重要的是,我*没有尝试以说教的态度*对你们写这段话。我写这篇文章是为了日后可以在讨论起的时候指给别人看。比 140 字长(LCTT 译注:推特长度)。这样我就不用一遍遍重复我的观点了。能把论点磨炼成一篇文章本身就很有助于将来的讨论。(参见:“你是在说我笨?!”一节)
并且我非常乐意听到不一样的观点。但我只是认为单单地说 `/dev/urandom` 坏是不够的。你得能指出到底有什么问题,并且剖析它们。
@@ -55,43 +55,43 @@ man 页面确实说在一些情况下推荐使用 `/dev/random` (我觉得也
绝对没有!
-事实上我自己也相信了 “`/dev/urandom` 是不安全的” 好些年。这几乎不是我们的错,因为那么德高望重的人在 Usenet、论坛、推特上跟我们重复这个观点。甚至*连 man 手册*都似是而非地说着。我们当年怎么可能鄙视诸如“信息熵太低了”这种看上去就很让人信服的观点呢?
+事实上我自己也相信了 “`/dev/urandom` 是不安全的” 好些年。这几乎不是我们的错,因为那么德高望重的人在 Usenet、论坛、推特上跟我们重复这个观点。甚至*连 man 手册*都似是而非地说着。我们当年怎么可能鄙视诸如“信息熵太低了”这种看上去就很让人信服的观点呢?(参见:“random 和 urandom 的 man 页面”一节)
整个流言之所以如此广为流传不是因为人们太蠢,而是因为但凡有点关于信息熵和密码学概念的人都会觉得这个说法很有道理。直觉似乎都在告诉我们这流言讲的很有道理。很不幸直觉在密码学里通常不管用,这次也一样。
### 真随机
-什么叫一个随机变量是“真随机的”?
+随机数是“真正随机”是什么意思?
-我不想搞的太复杂以至于变成哲学范畴的东西。这种讨论很容易走偏因为随机模型大家见仁见智,讨论很快变得毫无意义。
+我不想搞的太复杂以至于变成哲学范畴的东西。这种讨论很容易走偏因为对于随机模型大家见仁见智,讨论很快变得毫无意义。
在我看来“真随机”的“试金石”是量子效应。一个光子穿过或不穿过一个半透镜。或者观察一个放射性粒子衰变。这类东西是现实世界最接近真随机的东西。当然,有些人也不相信这类过程是真随机的,或者这个世界根本不存在任何随机性。这个就百家争鸣了,我也不好多说什么了。
-密码学家一般都会通过不去讨论什么是“真随机”来避免这种争论。它们更关心的是不可预测性。只要没有*任何*方法能猜出下一个随机数就可以了。所以当你以密码学应用为前提讨论一个随机数好不好的时候,在我看来这才是最重要的。
+密码学家一般都会通过不去讨论什么是“真随机”来避免这种哲学辩论。他们更关心的是不可预测性。只要没有*任何*方法能猜出下一个随机数就可以了。所以当你以密码学应用为前提讨论一个随机数好不好的时候,在我看来这才是最重要的。
无论如何,我不怎么关心“哲学上安全”的随机数,这也包括别人嘴里的“真”随机数。
-## 两种安全,一种有用
+### 两种安全,一种有用
但就让我们退一步说,你有了一个“真”随机变量。你下一步做什么呢?
-你把它们打印出来然后挂在墙上来展示量子宇宙的美与和谐?牛逼!我很理解你。
+你把它们打印出来然后挂在墙上来展示量子宇宙的美与和谐?牛逼!我支持你。
但是等等,你说你要*用*它们?做密码学用途?额,那这就废了,因为这事情就有点复杂了。
-事情是这样的,你的真随机,量子力学加护的随机数即将被用进不理想的现实世界程序里。
+事情是这样的,你的真随机、量子力学加护的随机数即将被用进不理想的现实世界算法里去。
-因为我们使用的大多数算法并不是理论信息学上安全的。它们“只能”提供 **计算意义上的安全**。我能想到为数不多的例外就只有 Shamir 密钥分享 和 One-time pad 算法。并且就算前者是名副其实的(如果你实际打算用的话),后者则毫无可行性可言。
+因为我们使用的几乎所有的算法都并不是信息论安全性的。它们“只能”提供**计算意义上的安全**。我能想到为数不多的例外就只有 Shamir 密钥分享和一次性密码本(OTP)算法。并且就算前者是名副其实的(如果你实际打算用的话),后者则毫无可行性可言。
-但所有那些大名鼎鼎的密码学算法,AES、RSA、Diffie-Hellman、椭圆曲线,还有所有那些加密软件包,OpenSSL、GnuTLS、Keyczar、你的操作系统的加密 API,都仅仅是计算意义上的安全的。
+但所有那些大名鼎鼎的密码学算法,AES、RSA、Diffie-Hellman、椭圆曲线,还有所有那些加密软件包,OpenSSL、GnuTLS、Keyczar、你的操作系统的加密 API,都仅仅是计算意义上安全的。
-那区别是什么呢?理论信息学上的安全肯定是安全的,绝对是,其它那些的算法都可能在理论上被拥有无限计算力的穷举破解。我们依然愉快地使用它们因为全世界的计算机加起来都不可能在宇宙年龄的时间里破解,至少现在是这样。而这就是我们文章里说的“不安全”。
+那区别是什么呢?信息论安全的算法肯定是安全的,绝对是,其它那些的算法都可能在理论上被拥有无限计算力的穷举破解。我们依然愉快地使用它们是因为全世界的计算机加起来都不可能在宇宙年龄的时间里破解,至少现在是这样。而这就是我们文章里说的“不安全”。
-除非哪个聪明的家伙破解了算法本身——在只需要极少量计算力的情况下。这也是每个密码学家梦寐以求的圣杯:破解 AES 本身、破解 RSA 本身等等。
+除非哪个聪明的家伙破解了算法本身 —— 在只需要更少量计算力、在今天可实现的计算力的情况下。这也是每个密码学家梦寐以求的圣杯:破解 AES 本身、破解 RSA 本身等等。
所以现在我们来到了更底层的东西:随机数生成器,你坚持要“真随机”而不是“伪随机”。但是没过一会儿你的真随机数就被喂进了你极为鄙视的伪随机算法里了!
-真相是,如果我们最先进的 hash 算法被破解了,或者最先进的块加密被破解了,你得到这些那些“哲学上不安全的”甚至无所谓了,因为反正你也没有安全的应用方法了。
+真相是,如果我们最先进的哈希算法被破解了,或者最先进的分组加密算法被破解了,你得到的这些“哲学上不安全”的随机数甚至无所谓了,因为反正你也没有安全的应用方法了。
所以把计算性上安全的随机数喂给你的仅仅是计算性上安全的算法就可以了,换而言之,用 `/dev/urandom`。
@@ -103,7 +103,7 @@ man 页面确实说在一些情况下推荐使用 `/dev/random` (我觉得也
![image: mythical structure of the kernel's random number generator][1]
-“真随机数”,尽管可能有点瑕疵,进入操作系统然后它的熵立刻被加入内部熵计数器。然后经过“矫偏”和“漂白”之后它进入内核的熵池,然后 `/dev/random` 和 `/dev/urandom` 从里面生成随机数。
+“真正的随机性”,尽管可能有点瑕疵,进入操作系统然后它的熵立刻被加入内部熵计数器。然后经过“矫偏”和“漂白”之后它进入内核的熵池,然后 `/dev/random` 和 `/dev/urandom` 从里面生成随机数。
“真”随机数生成器,`/dev/random`,直接从池里选出随机数,如果熵计数器表示能满足需要的数字大小,那就吐出数字并且减少熵计数。如果不够的话,它会阻塞程序直至有足够的熵进入系统。
@@ -123,25 +123,25 @@ man 页面确实说在一些情况下推荐使用 `/dev/random` (我觉得也
![image: actual structure of the kernel's random number generator before Linux 4.8][2]
-> 这是个很粗糙的简化。实际上不仅有一个,而是三个熵池。一个主池,另一个给 `/dev/random`,还有一个给 `/dev/urandom`,后两者依靠从主池里获取熵。这三个池都有各自的熵计数器,但二级池(后两个)的计数器基本都在 0 附近,而“新鲜”的熵总在需要的时候从主池流过来。同时还有好多混合和回流进系统在同时进行。整个过程对于这篇文档来说都过于复杂了我们跳过。
-
-你看到最大的区别了吗?CSPRNG 并不是和随机数生成器一起跑的,以 `/dev/urandom` 需要输出但熵不够的时候进行填充。CSPRNG 是整个随机数生成过程的内部组件之一。从来就没有什么 `/dev/random` 直接从池里输出纯纯的随机性。每个随机源的输入都在 CSPRNG 里充分混合和散列过了,这一切都发生在实际变成一个随机数,被 `/dev/urandom` 或者 `/dev/random` 吐出去之前。
+你看到最大的区别了吗?CSPRNG 并不是和随机数生成器一起跑的,它在 `/dev/urandom` 需要输出但熵不够的时候进行填充。CSPRNG 是整个随机数生成过程的内部组件之一。从来就没有什么 `/dev/random` 直接从池里输出纯纯的随机性。每个随机源的输入都在 CSPRNG 里充分混合和散列过了,这一切都发生在实际变成一个随机数,被 `/dev/urandom` 或者 `/dev/random` 吐出去之前。
另外一个重要的区别是这里没有熵计数器的任何事情,只有预估。一个源给你的熵的量并不是什么很明确能直接得到的数字。你得预估它。注意,如果你太乐观地预估了它,那 `/dev/random` 最重要的特性——只给出熵允许的随机量——就荡然无存了。很不幸的,预估熵的量是很困难的。
-Linux 内核只使用事件的到达时间来预估熵的量。它通过多项式插值,某种模型,来预估实际的到达时间有多“出乎意料”。这种多项式插值的方法到底是不是好的预估熵量的方法本身就是个问题。同时硬件情况会不会以某种特定的方式影响到达时间也是个问题。而所有硬件的取样率也是个问题,因为这基本上就直接决定了随机数到达时间的颗粒度。
+> 这是个很粗糙的简化。实际上不仅有一个,而是三个熵池。一个主池,另一个给 `/dev/random`,还有一个给 `/dev/urandom`,后两者依靠从主池里获取熵。这三个池都有各自的熵计数器,但二级池(后两个)的计数器基本都在 0 附近,而“新鲜”的熵总在需要的时候从主池流过来。同时还有好多混合和回流进系统在同时进行。整个过程对于这篇文档来说都过于复杂了,我们跳过。
+
+Linux 内核只使用事件的到达时间来预估熵的量。根据模型,它通过多项式插值来预估实际的到达时间有多“出乎意料”。这种多项式插值的方法到底是不是好的预估熵量的方法本身就是个问题。同时硬件情况会不会以某种特定的方式影响到达时间也是个问题。而所有硬件的取样率也是个问题,因为这基本上就直接决定了随机数到达时间的颗粒度。
说到最后,至少现在看来,内核的熵预估还是不错的。这也意味着它比较保守。有些人会具体地讨论它有多好,这都超出我的脑容量了。就算这样,如果你坚持不想在没有足够多的熵的情况下吐出随机数,那你看到这里可能还会有一丝紧张。我睡的就很香了,因为我不关心熵预估什么的。
-最后强调一下终点:`/dev/random` 和 `/dev/urandom` 都是被同一个 CSPRNG 喂的输入。只有它们在用完各自熵池(根据某种预估标准)的时候,它们的行为会不同:`/dev/random` 阻塞,`/dev/urandom` 不阻塞。
+最后要明确一下:`/dev/random` 和 `/dev/urandom` 都是被同一个 CSPRNG 饲喂的。只有它们在用完各自熵池(根据某种预估标准)的时候,它们的行为会不同:`/dev/random` 阻塞,`/dev/urandom` 不阻塞。
##### Linux 4.8 以后
-在 Linux 4.8 里,`/dev/random` 和 `/dev/urandom` 的等价性被放弃了。现在 `/dev/urandom` 的输出不来自于熵池,而是直接从 CSPRNG 来。
-
![image: actual structure of the kernel's random number generator from Linux 4.8 onward][3]
-*我们很快会理解*为什么这不是一个安全问题。
+在 Linux 4.8 里,`/dev/random` 和 `/dev/urandom` 的等价性被放弃了。现在 `/dev/urandom` 的输出不来自于熵池,而是直接从 CSPRNG 来。
+
+*我们很快会理解*为什么这不是一个安全问题。(参见:“CSPRNG 没问题”一节)
### 阻塞有什么问题?
@@ -149,7 +149,7 @@ Linux 内核只使用事件的到达时间来预估熵的量。它通过多项
这些都是问题。阻塞本质上会降低可用性。换而言之你的系统不干你让它干的事情。不用我说,这是不好的。要是它不干活你干嘛搭建它呢?
-> 我在工厂自动化里做过和安全相关的系统。猜猜看安全系统失效的主要原因是什么?被错误操作。就这么简单。很多安全措施的流程让工人恼火了。比如时间太长,或者太不方便。你要知道人很会找捷径来“解决”问题。
+> 我在工厂自动化里做过和安全相关的系统。猜猜看安全系统失效的主要原因是什么?操作问题。就这么简单。很多安全措施的流程让工人恼火了。比如时间太长,或者太不方便。你要知道人很会找捷径来“解决”问题。
但其实有个更深刻的问题:人们不喜欢被打断。它们会找一些绕过的方法,把一些诡异的东西接在一起仅仅因为这样能用。一般人根本不知道什么密码学什么乱七八糟的,至少正常的人是这样吧。
@@ -157,23 +157,23 @@ Linux 内核只使用事件的到达时间来预估熵的量。它通过多项
到头来如果东西太难用的话,你的用户就会被迫开始做一些降低系统安全性的事情——你甚至不知道它们会做些什么。
-我们很容易会忽视可用性之类的重要性。毕竟安全第一对吧?所以比起牺牲安全,不可用,难用,不方便都是次要的?
+我们很容易会忽视可用性之类的重要性。毕竟安全第一对吧?所以比起牺牲安全,不可用、难用、不方便都是次要的?
这种二元对立的想法是错的。阻塞不一定就安全了。正如我们看到的,`/dev/urandom` 直接从 CSPRNG 里给你一样好的随机数。用它不好吗!
### CSPRNG 没问题
-现在情况听上去很沧桑。如果连高质量的 `/dev/random` 都是从一个 CSPRNG 里来的,我们怎么敢在高安全性的需求上使用它呢?
+现在情况听上去很惨淡。如果连高质量的 `/dev/random` 都是从一个 CSPRNG 里来的,我们怎么敢在高安全性的需求上使用它呢?
-实际上,“看上去随机”是现存大多数密码学基础组件的基本要求。如果你观察一个密码学哈希的输出,它一定得和随机的字符串不可区分,密码学家才会认可这个算法。如果你生成一个块加密,它的输出(在你不知道密钥的情况下)也必须和随机数据不可区分才行。
+实际上,“看上去随机”是现存大多数密码学基础组件的基本要求。如果你观察一个密码学哈希的输出,它一定得和随机的字符串不可区分,密码学家才会认可这个算法。如果你生成一个分组加密,它的输出(在你不知道密钥的情况下)也必须和随机数据不可区分才行。
-如果任何人能比暴力穷举要更有效地破解一个加密,比如它利用了某些 CSPRNG 伪随机的弱点,那这就又是老一套了:一切都废了,也别谈后面的了。块加密、哈希,一切都是基于某个数学算法,比如 CSPRNG。所以别害怕,到头来都一样。
+如果任何人能比暴力穷举要更有效地破解一个加密,比如它利用了某些 CSPRNG 伪随机的弱点,那这就又是老一套了:一切都废了,也别谈后面的了。分组加密、哈希,一切都是基于某个数学算法,比如 CSPRNG。所以别害怕,到头来都一样。
### 那熵池快空了的情况呢?
毫无影响。
-加密算法的根基建立在攻击者不能预测输出上,只要最一开始有足够的随机性(熵)就行了。一般的下限是 256 位,不需要更多了。
+加密算法的根基建立在攻击者不能预测输出上,只要最一开始有足够的随机性(熵)就行了。“足够”的下限可以是 256 位,不需要更多了。
介于我们一直在很随意的使用“熵”这个概念,我用“位”来量化随机性希望读者不要太在意细节。像我们之前讨论的那样,内核的随机数生成器甚至没法精确地知道进入系统的熵的量。只有一个预估。而且这个预估的准确性到底怎么样也没人知道。
@@ -211,7 +211,7 @@ Linux 内核只使用事件的到达时间来预估熵的量。它通过多项
我们在回到 man 页面说:“使用 `/dev/random`”。我们已经知道了,虽然 `/dev/urandom` 不阻塞,但是它的随机数和 `/dev/random` 都是从同一个 CSPRNG 里来的。
-如果你真的需要信息论理论上安全的随机数(你不需要的,相信我),那才有可能成为唯一一个你需要等足够熵进入 CSPRNG 的理由。而且你也不能用 `/dev/random`。
+如果你真的需要信息论安全性的随机数(你不需要的,相信我),那才有可能成为唯一一个你需要等足够熵进入 CSPRNG 的理由。而且你也不能用 `/dev/random`。
man 页面有毒,就这样。但至少它还稍稍挽回了一下自己:
@@ -227,7 +227,7 @@ man 页面有毒,就这样。但至少它还稍稍挽回了一下自己:
### 正道
-本篇文章里的观点显然在互联网上是“小众”的。但如果问问一个真正的密码学家,你很难找到一个认同阻塞 `/dev/random` 的人。
+本篇文章里的观点显然在互联网上是“小众”的。但如果问一个真正的密码学家,你很难找到一个认同阻塞 `/dev/random` 的人。
比如我们看看 [Daniel Bernstein][5](即著名的 djb)的看法:
@@ -238,8 +238,6 @@ man 页面有毒,就这样。但至少它还稍稍挽回了一下自己:
>
> 对密码学家来说这甚至都不好笑了
-
-
或者 [Thomas Pornin][6] 的看法,他也是我在 stackexchange 上见过最乐于助人的一位:
> 简单来说,是的。展开说,答案还是一样。`/dev/urandom` 生成的数据可以说和真随机完全无法区分,至少在现有科技水平下。使用比 `/dev/urandom` “更好的“随机性毫无意义,除非你在使用极为罕见的“信息论安全”的加密算法。这肯定不是你的情况,不然你早就说了。
@@ -260,13 +258,13 @@ Linux 的 `/dev/urandom` 会很乐意给你吐点不怎么随机的随机数,
FreeBSD 的行为更正确点:`/dev/random` 和 `/dev/urandom` 是一样的,在系统启动的时候 `/dev/random` 会阻塞到有足够的熵为止,然后它们都再也不阻塞了。
-> 与此同时 Linux 实行了一个新的系统调用,最早由 OpenBSD 引入叫 `getentrypy(2)`,在 Linux 下这个叫 `getrandom(2)`。这个系统调用有着上述正确的行为:阻塞到有足够的熵为止,然后再也不阻塞了。当然,这是个系统调用,而不是一个字节设备(LCTT 译注:指不在 `/dev/` 下),所以它在 shell 或者别的脚本语言里没那么容易获取。这个系统调用 自 Linux 3.17 起存在。
+> 与此同时 Linux 实行了一个新的系统调用,最早由 OpenBSD 引入叫 `getentrypy(2)`,在 Linux 下这个叫 `getrandom(2)`。这个系统调用有着上述正确的行为:阻塞到有足够的熵为止,然后再也不阻塞了。当然,这是个系统调用,而不是一个字节设备(LCTT 译注:不在 `/dev/` 下),所以它在 shell 或者别的脚本语言里没那么容易获取。这个系统调用 自 Linux 3.17 起存在。
-在 Linux 上其实这个问题不太大,因为 Linux 发行版会在启动的过程中储蓄一点随机数(这发生在已经有一些熵之后,因为启动程序不会在按下电源的一瞬间就开始运行)到一个种子文件中,以便系统下次启动的时候读取。所以每次启动的时候系统都会从上一次会话里带一点随机性过来。
+在 Linux 上其实这个问题不太大,因为 Linux 发行版会在启动的过程中保存一点随机数(这发生在已经有一些熵之后,因为启动程序不会在按下电源的一瞬间就开始运行)到一个种子文件中,以便系统下次启动的时候读取。所以每次启动的时候系统都会从上一次会话里带一点随机性过来。
显然这比不上在关机脚本里写入一些随机种子,因为这样的显然就有更多熵可以操作了。但这样做显而易见的好处就是它不用关心系统是不是正确关机了,比如可能你系统崩溃了。
-而且这种做法在你真正第一次启动系统的时候也没法帮你随机,不过好在系统安装器一般会写一个种子文件,所以基本上问题不大。
+而且这种做法在你真正第一次启动系统的时候也没法帮你随机,不过好在 Linux 系统安装程序一般会保存一个种子文件,所以基本上问题不大。
虚拟机是另外一层问题。因为用户喜欢克隆它们,或者恢复到某个之前的状态。这种情况下那个种子文件就帮不到你了。
diff --git a/published/201905/20171214 Build a game framework with Python using the module Pygame.md b/published/201905/20171214 Build a game framework with Python using the module Pygame.md
new file mode 100644
index 0000000000..931a248a8c
--- /dev/null
+++ b/published/201905/20171214 Build a game framework with Python using the module Pygame.md
@@ -0,0 +1,279 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10850-1.html)
+[#]: subject: (Build a game framework with Python using the module Pygame)
+[#]: via: (https://opensource.com/article/17/12/game-framework-python)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
+
+使用 Python 和 Pygame 模块构建一个游戏框架
+======
+
+ > 这系列的第一篇通过创建一个简单的骰子游戏来探究 Python。现在是来从零制作你自己的游戏的时间。
+
+
+
+在我的[这系列的第一篇文章][1] 中, 我已经讲解如何使用 Python 创建一个简单的、基于文本的骰子游戏。这次,我将展示如何使用 Python 模块 Pygame 来创建一个图形化游戏。它将需要几篇文章才能来得到一个确实做成一些东西的游戏,但是到这系列的结尾,你将更好地理解如何查找和学习新的 Python 模块和如何从其基础上构建一个应用程序。
+
+在开始前,你必须安装 [Pygame][2]。
+
+### 安装新的 Python 模块
+
+有几种方法来安装 Python 模块,但是最通用的两个是:
+
+ * 从你的发行版的软件存储库
+ * 使用 Python 的软件包管理器 `pip`
+
+两个方法都工作的很好,并且每一个都有它自己的一套优势。如果你是在 Linux 或 BSD 上开发,可以利用你的发行版的软件存储库来自动和及时地更新。
+
+然而,使用 Python 的内置软件包管理器可以给予你控制更新模块时间的能力。而且,它不是特定于操作系统的,这意味着,即使当你不是在你常用的开发机器上时,你也可以使用它。`pip` 的其它的优势是允许本地安装模块,如果你没有正在使用的计算机的管理权限,这是有用的。
+
+### 使用 pip
+
+如果 Python 和 Python3 都安装在你的系统上,你想使用的命令很可能是 `pip3`,它用来区分 Python 2.x 的 `pip` 的命令。如果你不确定,先尝试 `pip3`。
+
+`pip` 命令有些像大多数 Linux 软件包管理器一样工作。你可以使用 `search` 搜索 Python 模块,然后使用 `install` 安装它们。如果你没有你正在使用的计算机的管理权限来安装软件,你可以使用 `--user` 选项来仅仅安装模块到你的家目录。
+
+```
+$ pip3 search pygame
+[...]
+Pygame (1.9.3) - Python Game Development
+sge-pygame (1.5) - A 2-D game engine for Python
+pygame_camera (0.1.1) - A Camera lib for PyGame
+pygame_cffi (0.2.1) - A cffi-based SDL wrapper that copies the pygame API.
+[...]
+$ pip3 install Pygame --user
+```
+
+Pygame 是一个 Python 模块,这意味着它仅仅是一套可以使用在你的 Python 程序中的库。换句话说,它不是一个像 [IDLE][3] 或 [Ninja-IDE][4] 一样可以让你启动的程序。
+
+### Pygame 新手入门
+
+一个电子游戏需要一个背景设定:故事发生的地点。在 Python 中,有两种不同的方法来创建你的故事背景:
+
+ * 设置一种背景颜色
+ * 设置一张背景图片
+
+你的背景仅是一张图片或一种颜色。你的电子游戏人物不能与在背景中的东西相互作用,因此,不要在后面放置一些太重要的东西。它仅仅是设置装饰。
+
+### 设置你的 Pygame 脚本
+
+要开始一个新的 Pygame 工程,先在计算机上创建一个文件夹。游戏的全部文件被放在这个目录中。在你的工程文件夹内部保持所需要的所有的文件来运行游戏是极其重要的。
+
+
+
+一个 Python 脚本以文件类型、你的姓名,和你想使用的许可证开始。使用一个开放源码许可证,以便你的朋友可以改善你的游戏并与你一起分享他们的更改:
+
+```
+#!/usr/bin/env python3
+# by Seth Kenlon
+
+## GPLv3
+# This program is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see .
+```
+
+然后,你告诉 Python 你想使用的模块。一些模块是常见的 Python 库,当然,你想包括一个你刚刚安装的 Pygame 模块。
+
+```
+import pygame # 加载 pygame 关键字
+import sys # 让 python 使用你的文件系统
+import os # 帮助 python 识别你的操作系统
+```
+
+由于你将用这个脚本文件做很多工作,在文件中分成段落是有帮助的,以便你知道在哪里放代码。你可以使用块注释来做这些,这些注释仅在看你的源文件代码时是可见的。在你的代码中创建三个块。
+
+```
+'''
+Objects
+'''
+
+# 在这里放置 Python 类和函数
+
+'''
+Setup
+'''
+
+# 在这里放置一次性的运行代码
+
+'''
+Main Loop
+'''
+
+# 在这里放置游戏的循环代码指令
+```
+
+接下来,为你的游戏设置窗口大小。注意,不是每一个人都有大计算机屏幕,所以,最好使用一个适合大多数人的计算机的屏幕大小。
+
+这里有一个方法来切换全屏模式,很多现代电子游戏都会这样做,但是,由于你刚刚开始,简单起见仅设置一个大小即可。
+
+```
+'''
+Setup
+'''
+worldx = 960
+worldy = 720
+```
+
+在脚本中使用 Pygame 引擎前,你需要一些基本的设置。你必须设置帧频,启动它的内部时钟,然后开始 (`init`)Pygame 。
+
+```
+fps = 40 # 帧频
+ani = 4 # 动画循环
+clock = pygame.time.Clock()
+pygame.init()
+```
+
+现在你可以设置你的背景。
+
+### 设置背景
+
+在你继续前,打开一个图形应用程序,为你的游戏世界创建一个背景。在你的工程目录中的 `images` 文件夹内部保存它为 `stage.png` 。
+
+这里有一些你可以使用的自由图形应用程序。
+
+* [Krita][5] 是一个专业级绘图素材模拟器,它可以被用于创建漂亮的图片。如果你对创建电子游戏艺术作品非常感兴趣,你甚至可以购买一系列的[游戏艺术作品教程][6]。
+* [Pinta][7] 是一个基本的,易于学习的绘图应用程序。
+* [Inkscape][8] 是一个矢量图形应用程序。使用它来绘制形状、线、样条曲线和贝塞尔曲线。
+
+你的图像不必很复杂,你可以以后回去更改它。一旦有了它,在你文件的 Setup 部分添加这些代码:
+
+```
+world = pygame.display.set_mode([worldx,worldy])
+backdrop = pygame.image.load(os.path.join('images','stage.png').convert())
+backdropbox = world.get_rect()
+```
+
+如果你仅仅用一种颜色来填充你的游戏的背景,你需要做的就是:
+
+```
+world = pygame.display.set_mode([worldx,worldy])
+```
+
+你也必须定义颜色以使用。在你的 Setup 部分,使用红、绿、蓝 (RGB) 的值来创建一些颜色的定义。
+
+```
+'''
+Setup
+'''
+
+BLUE = (25,25,200)
+BLACK = (23,23,23 )
+WHITE = (254,254,254)
+```
+
+至此,你理论上可以启动你的游戏了。问题是,它可能仅持续了一毫秒。
+
+为证明这一点,保存你的文件为 `your-name_game.py`(用你真实的名称替换 `your-name`)。然后启动你的游戏。
+
+如果你正在使用 IDLE,通过选择来自 “Run” 菜单的 “Run Module” 来运行你的游戏。
+
+如果你正在使用 Ninja,在左侧按钮条中单击 “Run file” 按钮。
+
+
+
+你也可以直接从一个 Unix 终端或一个 Windows 命令提示符中运行一个 Python 脚本。
+
+```
+$ python3 ./your-name_game.py
+```
+
+如果你正在使用 Windows,使用这命令:
+
+```
+py.exe your-name_game.py
+```
+
+启动它,不过不要期望很多,因为你的游戏现在仅仅持续几毫秒。你可以在下一部分中修复它。
+
+### 循环
+
+除非另有说明,一个 Python 脚本运行一次并仅一次。近来计算机的运行速度是非常快的,所以你的 Python 脚本运行时间会少于 1 秒钟。
+
+为强制你的游戏来处于足够长的打开和活跃状态来让人看到它(更不要说玩它),使用一个 `while` 循环。为使你的游戏保存打开,你可以设置一个变量为一些值,然后告诉一个 `while` 循环只要变量保持未更改则一直保存循环。
+
+这经常被称为一个“主循环”,你可以使用术语 `main` 作为你的变量。在你的 Setup 部分的任意位置添加代码:
+
+```
+main = True
+```
+
+在主循环期间,使用 Pygame 关键字来检查键盘上的按键是否已经被按下或释放。添加这些代码到你的主循环部分:
+
+```
+'''
+Main loop
+'''
+while main == True:
+ for event in pygame.event.get():
+ if event.type == pygame.QUIT:
+ pygame.quit(); sys.exit()
+ main = False
+
+ if event.type == pygame.KEYDOWN:
+ if event.key == ord('q'):
+ pygame.quit()
+ sys.exit()
+ main = False
+```
+
+也是在你的循环中,刷新你世界的背景。
+
+如果你使用一个图片作为背景:
+
+```
+world.blit(backdrop, backdropbox)
+```
+
+如果你使用一种颜色作为背景:
+
+```
+world.fill(BLUE)
+```
+
+最后,告诉 Pygame 来重新刷新屏幕上的所有内容,并推进游戏的内部时钟。
+
+```
+ pygame.display.flip()
+ clock.tick(fps)
+```
+
+保存你的文件,再次运行它来查看你曾经创建的最无趣的游戏。
+
+退出游戏,在你的键盘上按 `q` 键。
+
+在这系列的 [下一篇文章][9] 中,我将向你演示,如何加强你当前空空如也的游戏世界,所以,继续学习并创建一些将要使用的图形!
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/17/12/game-framework-python
+
+作者:[Seth Kenlon][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/seth
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-9071-1.html
+[2]: http://www.pygame.org/wiki/about
+[3]: https://en.wikipedia.org/wiki/IDLE
+[4]: http://ninja-ide.org/
+[5]: http://krita.org
+[6]: https://gumroad.com/l/krita-game-art-tutorial-1
+[7]: https://pinta-project.com/pintaproject/pinta/releases
+[8]: http://inkscape.org
+[9]: https://opensource.com/article/17/12/program-game-python-part-3-spawning-player
diff --git a/published/201905/20171215 How to add a player to your Python game.md b/published/201905/20171215 How to add a player to your Python game.md
new file mode 100644
index 0000000000..b313a8219e
--- /dev/null
+++ b/published/201905/20171215 How to add a player to your Python game.md
@@ -0,0 +1,163 @@
+[#]: collector: (lujun9972)
+[#]: translator: (cycoe)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10858-1.html)
+[#]: subject: (How to add a player to your Python game)
+[#]: via: (https://opensource.com/article/17/12/game-python-add-a-player)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
+
+如何在你的 Python 游戏中添加一个玩家
+======
+> 这是用 Python 从头开始构建游戏的系列文章的第三部分。
+
+
+
+在 [这个系列的第一篇文章][1] 中,我解释了如何使用 Python 创建一个简单的基于文本的骰子游戏。在第二部分中,我向你们展示了如何从头开始构建游戏,即从 [创建游戏的环境][2] 开始。但是每个游戏都需要一名玩家,并且每个玩家都需要一个可操控的角色,这也就是我们接下来要在这个系列的第三部分中需要做的。
+
+在 Pygame 中,玩家操控的图标或者化身被称作妖精。如果你现在还没有任何可用于玩家妖精的图像,你可以使用 [Krita][3] 或 [Inkscape][4] 来自己创建一些图像。如果你对自己的艺术细胞缺乏自信,你也可以在 [OpenClipArt.org][5] 或 [OpenGameArt.org][6] 搜索一些现成的图像。如果你还未按照上一篇文章所说的单独创建一个 `images` 文件夹,那么你需要在你的 Python 项目目录中创建它。将你想要在游戏中使用的图片都放 `images` 文件夹中。
+
+为了使你的游戏真正的刺激,你应该为你的英雄使用一张动态的妖精图片。这意味着你需要绘制更多的素材,并且它们要大不相同。最常见的动画就是走路循环,通过一系列的图像让你的妖精看起来像是在走路。走路循环最快捷粗糙的版本需要四张图像。
+
+
+
+注意:这篇文章中的代码示例同时兼容静止的和动态的玩家妖精。
+
+将你的玩家妖精命名为 `hero.png`。如果你正在创建一个动态的妖精,则需要在名字后面加上一个数字,从 `hero1.png` 开始。
+
+### 创建一个 Python 类
+
+在 Python 中,当你在创建一个你想要显示在屏幕上的对象时,你需要创建一个类。
+
+在你的 Python 脚本靠近顶端的位置,加入如下代码来创建一个玩家。在以下的代码示例中,前三行已经在你正在处理的 Python 脚本中:
+
+```
+import pygame
+import sys
+import os # 以下是新代码
+
+class Player(pygame.sprite.Sprite):
+ '''
+ 生成一个玩家
+ '''
+ def __init__(self):
+ pygame.sprite.Sprite.__init__(self)
+ self.images = []
+ img = pygame.image.load(os.path.join('images','hero.png')).convert()
+ self.images.append(img)
+ self.image = self.images[0]
+ self.rect = self.image.get_rect()
+```
+
+如果你的可操控角色拥有一个走路循环,在 `images` 文件夹中将对应图片保存为 `hero1.png` 到 `hero4.png` 的独立文件。
+
+使用一个循环来告诉 Python 遍历每个文件。
+
+```
+'''
+对象
+'''
+
+class Player(pygame.sprite.Sprite):
+ '''
+ 生成一个玩家
+ '''
+ def __init__(self):
+ pygame.sprite.Sprite.__init__(self)
+ self.images = []
+ for i in range(1,5):
+ img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
+ self.images.append(img)
+ self.image = self.images[0]
+ self.rect = self.image.get_rect()
+```
+
+### 将玩家带入游戏世界
+
+现在已经创建好了一个 Player 类,你需要使用它在你的游戏世界中生成一个玩家妖精。如果你不调用 Player 类,那它永远不会起作用,(游戏世界中)也就不会有玩家。你可以通过立马运行你的游戏来验证一下。游戏会像上一篇文章末尾看到的那样运行,并得到明确的结果:一个空荡荡的游戏世界。
+
+为了将一个玩家妖精带到你的游戏世界,你必须通过调用 Player 类来生成一个妖精,并将它加入到 Pygame 的妖精组中。在如下的代码示例中,前三行是已经存在的代码,你需要在其后添加代码:
+
+```
+world = pygame.display.set_mode([worldx,worldy])
+backdrop = pygame.image.load(os.path.join('images','stage.png')).convert()
+backdropbox = screen.get_rect()
+
+# 以下是新代码
+
+player = Player() # 生成玩家
+player.rect.x = 0 # 移动 x 坐标
+player.rect.y = 0 # 移动 y 坐标
+player_list = pygame.sprite.Group()
+player_list.add(player)
+```
+
+尝试启动你的游戏来看看发生了什么。高能预警:它不会像你预期的那样工作,当你启动你的项目,玩家妖精没有出现。事实上它生成了,只不过只出现了一毫秒。你要如何修复一个只出现了一毫秒的东西呢?你可能回想起上一篇文章中,你需要在主循环中添加一些东西。为了使玩家的存在时间超过一毫秒,你需要告诉 Python 在每次循环中都绘制一次。
+
+将你的循环底部的语句更改如下:
+
+```
+ world.blit(backdrop, backdropbox)
+ player_list.draw(screen) # 绘制玩家
+ pygame.display.flip()
+ clock.tick(fps)
+```
+
+现在启动你的游戏,你的玩家出现了!
+
+### 设置 alpha 通道
+
+根据你如何创建你的玩家妖精,在它周围可能会有一个色块。你所看到的是 alpha 通道应该占据的空间。它本来是不可见的“颜色”,但 Python 现在还不知道要使它不可见。那么你所看到的,是围绕在妖精周围的边界区(或现代游戏术语中的“命中区”)内的空间。
+
+
+
+你可以通过设置一个 alpha 通道和 RGB 值来告诉 Python 使哪种颜色不可见。如果你不知道你使用 alpha 通道的图像的 RGB 值,你可以使用 Krita 或 Inkscape 打开它,并使用一种独特的颜色,比如 `#00ff00`(差不多是“绿屏绿”)来填充图像周围的空白区域。记下颜色对应的十六进制值(此处为 `#00ff00`,绿屏绿)并将其作为 alpha 通道用于你的 Python 脚本。
+
+使用 alpha 通道需要在你的妖精生成相关代码中添加如下两行。类似第一行的代码已经存在于你的脚本中,你只需要添加另外两行:
+
+```
+ img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
+ img.convert_alpha() # 优化 alpha
+ img.set_colorkey(ALPHA) # 设置 alpha
+```
+
+除非你告诉它,否则 Python 不知道将哪种颜色作为 alpha 通道。在你代码的设置相关区域,添加一些颜色定义。将如下的变量定义添加于你的设置相关区域的任意位置:
+
+```
+ALPHA = (0, 255, 0)
+```
+
+在以上示例代码中,`0,255,0` 被我们使用,它在 RGB 中所代表的值与 `#00ff00` 在十六进制中所代表的值相同。你可以通过一个优秀的图像应用程序,如 [GIMP][7]、Krita 或 Inkscape,来获取所有这些颜色值。或者,你可以使用一个优秀的系统级颜色选择器,如 [KColorChooser][8],来检测颜色。
+
+
+
+如果你的图像应用程序将你的妖精背景渲染成了其他的值,你可以按需调整 `ALPHA` 变量的值。不论你将 alpha 设为多少,最后它都将“不可见”。RGB 颜色值是非常严格的,因此如果你需要将 alpha 设为 000,但你又想将 000 用于你图像中的黑线,你只需要将图像中线的颜色设为 111。这样一来,(图像中的黑线)就足够接近黑色,但除了电脑以外没有人能看出区别。
+
+运行你的游戏查看结果。
+
+
+
+在 [这个系列的第四篇文章][9] 中,我会向你们展示如何使你的妖精动起来。多么的激动人心啊!
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/17/12/game-python-add-a-player
+
+作者:[Seth Kenlon][a]
+选题:[lujun9972][b]
+译者:[cycoe](https://github.com/cycoe)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/seth
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-9071-1.html
+[2]: https://linux.cn/article-10850-1.html
+[3]: http://krita.org
+[4]: http://inkscape.org
+[5]: http://openclipart.org
+[6]: https://opengameart.org/
+[7]: http://gimp.org
+[8]: https://github.com/KDE/kcolorchooser
+[9]: https://opensource.com/article/17/12/program-game-python-part-4-moving-your-sprite
diff --git a/published/201905/20180130 An introduction to the DomTerm terminal emulator for Linux.md b/published/201905/20180130 An introduction to the DomTerm terminal emulator for Linux.md
new file mode 100644
index 0000000000..13652f26ef
--- /dev/null
+++ b/published/201905/20180130 An introduction to the DomTerm terminal emulator for Linux.md
@@ -0,0 +1,130 @@
+DomTerm:一款为 Linux 打造的终端模拟器
+======
+> 了解一下 DomTerm,这是一款终端模拟器和复用器,带有 HTML 图形和其它不多见的功能。
+
+
+
+[DomTerm][1] 是一款现代化的终端模拟器,它使用浏览器引擎作为 “GUI 工具包”。这就支持了一些相关的特性,例如可嵌入图像和链接、HTML 富文本以及可折叠(显示/隐藏)命令。除此以外,它看起来感觉就像一个功能完整、独立的终端模拟器,有着出色 xterm 兼容性(包括鼠标处理和 24 位色)和恰当的 “装饰” (菜单)。另外它内置支持了会话管理和副窗口(如同 `tmux` 和 `GNU Screen` 中一样)、基本输入编辑(如在 `readline` 中)以及分页(如在 `less` 中)。
+
+
+
+*图 1: DomTerminal 终端模拟器。*
+
+在以下部分我们将看一看这些特性。我们将假设你已经安装好了 `domterm` (如果你需要获取并构建 Dormterm 请跳到本文最后)。开始之前先让我们概览一下这项技术。
+
+### 前端 vs. 后端
+
+DomTerm 大部分是用 JavaScript 写的,它运行在一个浏览器引擎中。它可以是像例如 Chrome 或者 Firefox 一样的桌面浏览器(见图 3),也可以是一个内嵌的浏览器。使用一个通用的网页浏览器没有问题,但是用户体验却不够好(因为菜单是为通用的网页浏览而不是为了终端模拟器所打造),并且其安全模型也会妨碍使用。因此使用内嵌的浏览器更好一些。
+
+目前以下这些是支持的:
+
+ * qdomterm,使用了 Qt 工具包 和 QtWebEngine
+ * 一个内嵌的 [Electron][2](见图 1)
+ * atom-domterm 以 [Atom 文本编辑器][3](同样基于 Electron)包的形式运行 DomTerm,并和 Atom 面板系统集成在一起(见图 2)
+ * 一个为 JavaFX 的 WebEngine 包装器,这对 Java 编程十分有用(见图 4)
+ * 之前前端使用 [Firefox-XUL][4] 作为首选,但是 Mozilla 已经终止了 XUL
+
+![在 Atom 编辑器中的 DomTerm 终端面板][6]
+
+*图 2:在 Atom 编辑器中的 DomTerm 终端面板。*
+
+目前,Electron 前端可能是最佳选择,紧随其后的是 Qt 前端。如果你使用 Atom,atom-domterm 也工作得相当不错。
+
+后端服务器是用 C 写的。它管理着伪终端(PTY)和会话。它同样也是一个为前端提供 Javascript 和其它文件的 HTTP 服务器。`domterm` 命令启动终端任务和执行其它请求。如果没有服务器在运行,domterm 就会自己来服务。后端与服务器之间的通讯通常是用 WebSockets(在服务器端是[libwebsockets][8])完成的。然而,JavaFX 的嵌入既不用 Websockets 也不用 DomTerm 服务器。相反 Java 应用直接通过 Java-Javascript 桥接进行通讯。
+
+### 一个稳健的可兼容 xterm 的终端模拟器
+
+DomTerm 看上去感觉像一个现代的终端模拟器。它处理鼠标事件、24 位色、Unicode、倍宽字符(CJK)以及输入方式。DomTerm 在 [vttest 测试套件][9] 上工作地十分出色。
+
+其不同寻常的特性包括:
+
+**展示/隐藏按钮(“折叠”):** 小三角(如上图 2)是隐藏/展示相应输出的按钮。仅需在[提示符][11]中添加特定的[转义字符][10]就可以创建按钮。
+
+**对于 readline 和类似输入编辑器的鼠标点击支持:** 如果你点击输入区域(黄色),DomTerm 会向应用发送正确的方向键按键序列。(可以通过提示符中的转义字符启用这一特性,你也可以通过 `Alt+点击` 强制使用。)
+
+**用 CSS 样式化终端:** 这通常是在 `~/.domterm/settings.ini` 里完成的,保存时会自动重载。例如在图 2 中,设置了终端专用的背景色。
+
+### 一个更好的 REPL 控制台
+
+一个经典的终端模拟器基于长方形的字符单元格工作的。这在 REPL(命令行)上没问题,但是并不理想。这里有些通常在终端模拟器中不常见的 REPL 很有用的 DomTerm 特性:
+
+**一个能“打印”图片、图形、数学公式或者一组可点击的链接的命令:** 应用可以发送包含几乎任何 HTML 的转义字符。(HTML 会被剔除部分,以移除 JavaScript 和其它危险特性。)
+
+图 3 显示了来自 [gnuplot][12] 会话的一个片段。Gnuplot(2.1 或者跟高版本)支持 DormTerm 作为终端类型。图形输出被转换成 [SVG 图片][13],然后被打印到终端。我的博客帖子[在 DormTerm 上的 Gnuplot 展示][14]在这方面提供了更多信息。
+
+
+
+*图 3:Gnuplot 截图。*
+
+[Kawa][15] 语言有一个创建并转换[几何图像值][16]的库。如果你将这样的图片值打印到 DomTerm 终端,图片就会被转换成 SVG 形式并嵌入进输出中。
+
+
+
+*图 4:Kawa 中可计算的几何形状。*
+
+**富文本输出:** 有着 HTML 样式的帮助信息更加便于阅读,看上去也更漂亮。图片 1 的下面面板展示 `dormterm help` 的输出。(如果没在 DomTerm 下运行的话输出的是普通文本。)注意自带的分页器中的 `PAUSED` 消息。
+
+**包括可点击链接的错误消息:** DomTerm 可以识别语法 `filename:line:column` 并将其转化成一个能在可定制文本编辑器中打开文件并定位到行的链接。(这适用于相对路径的文件名,如果你用 `PROMPT_COMMAND` 或类似的跟踪目录。)
+
+编译器可以侦测到它在 DomTerm 下运行,并直接用转义字符发出文件链接。这比依赖 DomTerm 的样式匹配要稳健得多,因为它可以处理空格和其他字符并且无需依赖目录追踪。在图 4 中,你可以看到来自 [Kawa Compiler][15] 的错误消息。悬停在文件位置上会使其出现下划线,`file:` URL 出现在 `atom-domterm` 消息栏(窗口底部)中。(当不用 atom-domterm 时,这样的消息会在一个浮层的框中显示,如图 1 中所看到的 `PAUSED` 消息所示。)
+
+点击链接时的动作是可以配置的。默认对于带有 `#position` 后缀的 `file:` 链接的动作是在文本编辑器中打开那个文件。
+
+**结构化内部表示:**以下内容均以内部节点结构表示:命令、提示符、输入行、正常和错误输出、标签,如果“另存为 HTML”,则保留结构。HTML 文件与 XML 兼容,因此你可以使用 XML 工具搜索或转换输出。命令 `domterm view-saved` 会以一种启用命令折叠(显示/隐藏按钮处于活动状态)和重新调整窗口大小的方式打开保存的 HTML 文件。
+
+**内建的 Lisp 样式优美打印:** 你可以在输出中包括优美打印指令(比如,grouping),这样断行会根据窗口大小调整而重新计算。查看我的文章 [DomTerm 中的动态优美打印][17]以更深入探讨。
+
+**基本的内建行编辑**,带着历史记录(像 GNU readline 一样): 这使用浏览器自带的编辑器,因此它有着优秀的鼠标和选择处理机制。你可以在正常字符模式(大多数输入的字符被指接送向进程);或者行模式(通常的字符是直接插入的,而控制字符导致编辑操作,回车键会向进程发送被编辑行)之间转换。默认的是自动模式,根据 PTY 是在原始模式还是终端模式中,DomTerm 在字符模式与行模式间转换。
+
+**自带的分页器**(类似简化版的 `less`):键盘快捷键控制滚动。在“页模式”中,输出在每个新的屏幕(或者单独的行,如果你想一行行地向前移)后暂停;页模式对于用户输入简单智能,因此(如果你想的话)你无需阻碍交互式程序就可以运行它。
+
+### 多路复用和会话
+
+**标签和平铺:** 你不仅可以创建多个终端标签,也可以平铺它们。你可以要么使用鼠标或键盘快捷键来创建或者切换面板和标签。它们可以用鼠标重新排列并调整大小。这是通过 [GoldenLayout][18] JavaScript 库实现的。图 1 展示了一个有着两个面板的窗口。上面的有两个标签,一个运行 [Midnight Commander][20];底下的面板以 HTML 形式展示了 `dormterm help` 输出。然而相反在 Atom 中我们使用其自带的可拖拽的面板和标签。你可以在图 2 中看到这个。
+
+**分离或重接会话:** 与 `tmux` 和 GNU `screen` 类似,DomTerm 支持会话安排。你甚至可以给同样的会话接上多个窗口或面板。这支持多用户会话分享和远程链接。(为了安全,同一个服务器的所有会话都需要能够读取 Unix 域接口和一个包含随机密钥的本地文件。当我们有了良好、安全的远程链接,这个限制将会有所放松。)
+
+**domterm 命令** 类似与 `tmux` 和 GNU `screen`,它有多个选项可以用于控制或者打开单个或多个会话的服务器。主要的差别在于,如果它没在 DomTerm 下运行,`dormterm` 命令会创建一个新的顶层窗口,而不是在现有的终端中运行。
+
+与 `tmux` 和 `git` 类似,`dormterm` 命令有许多子命令。一些子命令创建窗口或者会话。另一些(例如“打印”一张图片)仅在现有的 DormTerm 会话下起作用。
+
+命令 `domterm browse` 打开一个窗口或者面板以浏览一个指定的 URL,例如浏览文档的时候。
+
+### 获取并安装 DomTerm
+
+DomTerm 可以从其 [Github 仓库][21]获取。目前没有提前构建好的包,但是有[详细指导][22]。所有的前提条件在 Fedora 27 上都有,这使得其特别容易被搭建。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/18/1/introduction-domterm-terminal-emulator
+
+作者:[Per Bothner][a]
+译者:[tomjlw](https://github.com/tomjlw)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:https://opensource.com/users/perbothner
+[1]:http://domterm.org/
+[2]:https://electronjs.org/
+[3]:https://atom.io/
+[4]:https://en.wikipedia.org/wiki/XUL
+[5]:/file/385346
+[6]:https://opensource.com/sites/default/files/images/dt-atom1.png (DomTerm terminal panes in Atom editor)
+[7]:https://opensource.com/sites/default/files/images/dt-atom1.png
+[8]:https://libwebsockets.org/
+[9]:http://invisible-island.net/vttest/
+[10]:http://domterm.org/Wire-byte-protocol.html
+[11]:http://domterm.org/Shell-prompts.html
+[12]:http://www.gnuplot.info/
+[13]:https://developer.mozilla.org/en-US/docs/Web/SVG
+[14]:http://per.bothner.com/blog/2016/gnuplot-in-domterm/
+[15]:https://www.gnu.org/software/kawa/
+[16]:https://www.gnu.org/software/kawa/Composable-pictures.html
+[17]:http://per.bothner.com/blog/2017/dynamic-prettyprinting/
+[18]:https://golden-layout.com/
+[19]:https://opensource.com/sites/default/files/u128651/domterm1.png
+[20]:https://midnight-commander.org/
+[21]:https://github.com/PerBothner/DomTerm
+[22]:http://domterm.org/Downloading-and-building.html
+
diff --git a/published/201905/20180312 ddgr - A Command Line Tool To Search DuckDuckGo From The Terminal.md b/published/201905/20180312 ddgr - A Command Line Tool To Search DuckDuckGo From The Terminal.md
new file mode 100644
index 0000000000..3d8083d440
--- /dev/null
+++ b/published/201905/20180312 ddgr - A Command Line Tool To Search DuckDuckGo From The Terminal.md
@@ -0,0 +1,229 @@
+ddgr:一个从终端搜索 DuckDuckGo 的命令行工具
+======
+
+在 Linux 中,Bash 技巧非常棒,它使 Linux 中的一切成为可能。
+
+对于开发人员或系统管理员来说,它真的很管用,因为他们大部分时间都在使用终端。你知道他们为什么喜欢这种技巧吗?
+
+因为这些技巧可以提高他们的工作效率,也能使他们工作更快。
+
+### 什么是 ddgr
+
+[ddgr][1] 是一个命令行实用程序,用于从终端搜索 DuckDuckGo。如果设置了 `BROWSER` 环境变量,ddgr 可以在几个基于文本的浏览器中开箱即用。
+
+确保你的系统安装了任何一个基于文本的浏览器。你可能知道 [googler][2],它允许用户从 Linux 命令行进行 Google 搜索。
+
+它在命令行用户中非常受欢迎,他们期望对隐私敏感的 DuckDuckGo 也有类似的实用程序,这就是 `ddgr` 出现的原因。
+
+与 Web 界面不同,你可以指定每页要查看的搜索结果数。
+
+**建议阅读:**
+
+- [Googler – 从 Linux 命令行搜索 Google][2]
+- [Buku – Linux 中一个强大的命令行书签管理器][3]
+- [SoCLI – 从终端搜索和浏览 StackOverflow 的简单方法][4]
+- [RTV(Reddit 终端查看器)- 一个简单的 Reddit 终端查看器][5]
+
+### 什么是 DuckDuckGo
+
+DDG 即 DuckDuckGo。DuckDuckGo(DDG)是一个真正保护用户搜索和隐私的互联网搜索引擎。它没有过滤用户的个性化搜索结果,对于给定的搜索词,它会向所有用户显示相同的搜索结果。
+
+大多数用户更喜欢谷歌搜索引擎,但是如果你真的担心隐私,那么你可以放心地使用 DuckDuckGo。
+
+### ddgr 特性
+
+ * 快速且干净(没有广告、多余的 URL 或杂物参数),自定义颜色
+ * 旨在以最小的空间提供最高的可读性
+ * 指定每页显示的搜索结果数
+ * 可以在 omniprompt 中导航结果,在浏览器中打开 URL
+ * 用于 Bash、Zsh 和 Fish 的搜索和选项补完脚本
+ * 支持 DuckDuckGo Bang(带有自动补完)
+ * 直接在浏览器中打开第一个结果(如同 “I’m Feeling Ducky”)
+ * 不间断搜索:无需退出即可在 omniprompt 中触发新搜索
+ * 关键字支持(例如:filetype:mime、site:somesite.com)
+ * 按时间、指定区域搜索,禁用安全搜索
+ * 支持 HTTPS 代理,支持 Do Not Track,可选择禁用用户代理字符串
+ * 支持自定义 URL 处理程序脚本或命令行实用程序
+ * 全面的文档,man 页面有方便的使用示例
+ * 最小的依赖关系
+
+### 需要条件
+
+`ddgr` 需要 Python 3.4 或更高版本。因此,确保你的系统应具有 Python 3.4 或更高版本。
+
+```
+$ python3 --version
+Python 3.6.3
+```
+
+### 如何在 Linux 中安装 ddgr
+
+我们可以根据发行版使用以下命令轻松安装 `ddgr`。
+
+对于 Fedora ,使用 [DNF 命令][6]来安装 `ddgr`。
+
+```
+# dnf install ddgr
+```
+
+或者我们可以使用 [SNAP 命令][7]来安装 `ddgr`。
+
+```
+# snap install ddgr
+```
+
+对于 LinuxMint/Ubuntu,使用 [APT-GET 命令][8] 或 [APT 命令][9]来安装 `ddgr`。
+
+```
+$ sudo add-apt-repository ppa:twodopeshaggy/jarun
+$ sudo apt-get update
+$ sudo apt-get install ddgr
+```
+
+对于基于 Arch Linux 的系统,使用 [Yaourt 命令][10]或 [Packer 命令][11]从 AUR 仓库安装 `ddgr`。
+
+```
+$ yaourt -S ddgr
+或
+$ packer -S ddgr
+```
+
+对于 Debian,使用 [DPKG 命令][12] 安装 `ddgr`。
+
+```
+# wget https://github.com/jarun/ddgr/releases/download/v1.2/ddgr_1.2-1_debian9.amd64.deb
+# dpkg -i ddgr_1.2-1_debian9.amd64.deb
+```
+
+对于 CentOS 7,使用 [YUM 命令][13]来安装 `ddgr`。
+
+```
+# yum install https://github.com/jarun/ddgr/releases/download/v1.2/ddgr-1.2-1.el7.3.centos.x86_64.rpm
+```
+
+对于 opensuse,使用 [zypper 命令][14]来安装 `ddgr`。
+
+```
+# zypper install https://github.com/jarun/ddgr/releases/download/v1.2/ddgr-1.2-1.opensuse42.3.x86_64.rpm
+```
+
+### 如何启动 ddgr
+
+在终端上输入 `ddgr` 命令,不带任何选项来进行 DuckDuckGo 搜索。你将获得类似于下面的输出。
+
+```
+$ ddgr
+```
+
+![][16]
+
+### 如何使用 ddgr 进行搜索
+
+我们可以通过两种方式启动搜索。从 omniprompt 或者直接从终端开始。你可以搜索任何你想要的短语。
+
+直接从终端:
+
+```
+$ ddgr 2daygeek
+```
+
+![][17]
+
+从 omniprompt:
+
+![][18]
+
+### Omniprompt 快捷方式
+
+输入 `?` 以获得 omniprompt,它将显示关键字列表和进一步使用 `ddgr` 的快捷方式。
+
+![][19]
+
+### 如何移动下一页、上一页和第一页
+
+它允许用户移动下一页、上一页或第一页。
+
+ * `n`: 移动到下一组搜索结果
+ * `p`: 移动到上一组搜索结果
+ * `f`: 跳转到第一页
+
+![][20]
+
+### 如何启动新搜索
+
+`d` 选项允许用户从 omniprompt 发起新的搜索。例如,我搜索了 “2daygeek website”,现在我将搜索 “Magesh Maruthamuthu” 这个新短语。
+
+从 omniprompt:
+
+```
+ddgr (? for help) d magesh maruthmuthu
+```
+
+![][21]
+
+### 在搜索结果中显示完整的 URL
+
+默认情况下,它仅显示文章标题,在搜索中添加 `x` 选项以在搜索结果中显示完整的文章网址。
+
+```
+$ ddgr -n 5 -x 2daygeek
+```
+
+![][22]
+
+### 限制搜索结果
+
+默认情况下,搜索结果每页显示 10 个结果。如果你想为方便起见限制页面结果,可以使用 `ddgr` 带有 `--num` 或 ` -n` 参数。
+
+```
+$ ddgr -n 5 2daygeek
+```
+
+![][23]
+
+### 网站特定搜索
+
+要搜索特定网站的特定页面,使用以下格式。这将从网站获取给定关键字的结果。例如,我们在 2daygeek 网站下搜索 “Package Manager”,查看结果。
+
+```
+$ ddgr -n 5 --site 2daygeek "package manager"
+```
+
+![][24]
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/ddgr-duckduckgo-search-from-the-command-line-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+选题:[lujun9972](https://github.com/lujun9972)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:https://www.2daygeek.com/author/magesh/
+[1]:https://github.com/jarun/ddgr
+[2]:https://www.2daygeek.com/googler-google-search-from-the-command-line-on-linux/
+[3]:https://www.2daygeek.com/buku-command-line-bookmark-manager-linux/
+[4]:https://www.2daygeek.com/socli-search-and-browse-stack-overflow-from-linux-terminal/
+[5]:https://www.2daygeek.com/rtv-reddit-terminal-viewer-a-simple-terminal-viewer-for-reddit/
+[6]:https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[7]:https://www.2daygeek.com/snap-command-examples/
+[8]:https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
+[9]:https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[10]:https://www.2daygeek.com/install-yaourt-aur-helper-on-arch-linux/
+[11]:https://www.2daygeek.com/install-packer-aur-helper-on-arch-linux/
+[12]:https://www.2daygeek.com/dpkg-command-to-manage-packages-on-debian-ubuntu-linux-mint-systems/
+[13]:https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
+[14]:https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
+[15]:data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
+[16]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux1.png
+[17]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-3.png
+[18]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-2.png
+[19]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-4.png
+[20]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-5a.png
+[21]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-6a.png
+[22]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-7a.png
+[23]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-8.png
+[24]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-9a.png
diff --git a/published/201905/20180429 The Easiest PDO Tutorial (Basics).md b/published/201905/20180429 The Easiest PDO Tutorial (Basics).md
new file mode 100644
index 0000000000..cadc526b0f
--- /dev/null
+++ b/published/201905/20180429 The Easiest PDO Tutorial (Basics).md
@@ -0,0 +1,155 @@
+PHP PDO 简单教程
+======
+
+
+
+大约 80% 的 Web 应用程序由 PHP 提供支持。类似地,SQL 也是如此。PHP 5.5 版本之前,我们有用于访问 MySQL 数据库的 mysql_ 命令,但由于安全性不足,它们最终被弃用。
+
+弃用这件事是发生在 2013 年的 PHP 5.5 上,我写这篇文章的时间是 2018 年,PHP 版本为 7.2。mysql_ 的弃用带来了访问数据库的两种主要方法:mysqli 和 PDO 库。
+
+虽然 mysqli 库是官方指定的,但由于 mysqli 只能支持 mysql 数据库,而 PDO 可以支持 12 种不同类型的数据库驱动程序,因此 PDO 获得了更多的赞誉。此外,PDO 还有其它一些特性,使其成为大多数开发人员的更好选择。你可以在下表中看到一些特性比较:
+
+| | PDO | MySQLi
+---|---|---
+| 数据库支持 | 12 种驱动 | 只有 MySQL
+| 范例 | OOP | 过程 + OOP
+| 预处理语句(客户端侧) | Yes | No
+| 1命名参数 | Yes | No
+
+现在我想对于大多数开发人员来说,PDO 是首选的原因已经很清楚了。所以让我们深入研究它,并希望在本文中尽量涵盖关于 PDO 你需要的了解的。
+
+### 连接
+
+第一步是连接到数据库,由于 PDO 是完全面向对象的,所以我们将使用 PDO 类的实例。
+
+我们要做的第一件事是定义主机、数据库名称、用户名、密码和数据库字符集。
+
+```
+$host = 'localhost';
+$db = 'theitstuff';
+$user = 'root';
+$pass = 'root';
+$charset = 'utf8mb4';
+$dsn = "mysql:host=$host;dbname=$db;charset=$charset";
+$conn = new PDO($dsn, $user, $pass);
+```
+
+之后,正如你在上面的代码中看到的,我们创建了 DSN 变量,DSN 变量只是一个保存数据库信息的变量。对于一些在外部服务器上运行 MySQL 的人,你还可以通过提供一个 `port=$port_number` 来调整端口号。
+
+最后,你可以创建一个 PDO 类的实例,我使用了 `$conn` 变量,并提供了 `$dsn`、`$user`、`$pass` 参数。如果你遵循这些步骤,你现在应该有一个名为 `$conn` 的对象,它是 PDO 连接类的一个实例。现在是时候进入数据库并运行一些查询。
+
+### 一个简单的 SQL 查询
+
+现在让我们运行一个简单的 SQL 查询。
+
+```
+$tis = $conn->query('SELECT name, age FROM students');
+while ($row = $tis->fetch())
+{
+ echo $row['name']."\t";
+ echo $row['age'];
+ echo "
";
+}
+```
+
+这是使用 PDO 运行查询的最简单形式。我们首先创建了一个名为 `tis`(TheITStuff 的缩写 )的变量,然后你可以看到我们使用了创建的 `$conn` 对象中的查询函数。
+
+然后我们运行一个 `while` 循环并创建了一个 `$row` 变量来从 `$tis` 对象中获取内容,最后通过调用列名来显示每一行。
+
+很简单,不是吗?现在让我们来看看预处理语句。
+
+### 预处理语句
+
+预处理语句是人们开始使用 PDO 的主要原因之一,因为它提供了可以阻止 SQL 注入的语句。
+
+有两种基本方法可供使用,你可以使用位置参数或命名参数。
+
+#### 位置参数
+
+让我们看一个使用位置参数的查询示例。
+
+```
+$tis = $conn->prepare("INSERT INTO STUDENTS(name, age) values(?, ?)");
+$tis->bindValue(1,'mike');
+$tis->bindValue(2,22);
+$tis->execute();
+```
+
+在上面的例子中,我们放置了两个问号,然后使用 `bindValue()` 函数将值映射到查询中。这些值绑定到语句问号中的位置。
+
+我还可以使用变量而不是直接提供值,通过使用 `bindParam()` 函数相同例子如下:
+
+```
+$name='Rishabh'; $age=20;
+$tis = $conn->prepare("INSERT INTO STUDENTS(name, age) values(?, ?)");
+$tis->bindParam(1,$name);
+$tis->bindParam(2,$age);
+$tis->execute();
+```
+
+### 命名参数
+
+命名参数也是预处理语句,它将值/变量映射到查询中的命名位置。由于没有位置绑定,因此在多次使用相同变量的查询中非常有效。
+
+```
+$name='Rishabh'; $age=20;
+$tis = $conn->prepare("INSERT INTO STUDENTS(name, age) values(:name, :age)");
+$tis->bindParam(':name', $name);
+$tis->bindParam(':age', $age);
+$tis->execute();
+```
+
+你可以注意到,唯一的变化是我使用 `:name` 和 `:age` 作为占位符,然后将变量映射到它们。冒号在参数之前使用,让 PDO 知道该位置是一个变量,这非常重要。
+
+你也可以类似地使用 `bindValue()` 来使用命名参数直接映射值。
+
+### 获取数据
+
+PDO 在获取数据时非常丰富,它实际上提供了许多格式来从数据库中获取数据。
+
+你可以使用 `PDO::FETCH_ASSOC` 来获取关联数组,`PDO::FETCH_NUM` 来获取数字数组,使用 `PDO::FETCH_OBJ` 来获取对象数组。
+
+```
+$tis = $conn->prepare("SELECT * FROM STUDENTS");
+$tis->execute();
+$result = $tis->fetchAll(PDO::FETCH_ASSOC);
+```
+
+你可以看到我使用了 `fetchAll`,因为我想要所有匹配的记录。如果只需要一行,你可以简单地使用 `fetch`。
+
+现在我们已经获取了数据,现在是时候循环它了,这非常简单。
+
+```
+foreach ($result as $lnu){
+ echo $lnu['name'];
+ echo $lnu['age']."
";
+}
+```
+
+你可以看到,因为我请求了关联数组,所以我正在按名称访问各个成员。
+
+虽然在定义希望如何传输递数据方面没有要求,但在定义 `$conn` 变量本身时,实际上可以将其设置为默认值。
+
+你需要做的就是创建一个 `$options` 数组,你可以在其中放入所有默认配置,只需在 `$conn` 变量中传递数组即可。
+
+```
+$options = [
+ PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
+];
+$conn = new PDO($dsn, $user, $pass, $options);
+```
+
+这是一个非常简短和快速的 PDO 介绍,我们很快就会制作一个高级教程。如果你在理解本教程的任何部分时遇到任何困难,请在评论部分告诉我,我会在那你为你解答。
+
+--------------------------------------------------------------------------------
+
+via: http://www.theitstuff.com/easiest-pdo-tutorial-basics
+
+作者:[Rishabh Kandari][a]
+选题:[lujun9972](https://github.com/lujun9972)
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:http://www.theitstuff.com/author/reevkandari
diff --git a/translated/tech/20180518 What-s a hero without a villain- How to add one to your Python game.md b/published/201905/20180518 What-s a hero without a villain- How to add one to your Python game.md
similarity index 83%
rename from translated/tech/20180518 What-s a hero without a villain- How to add one to your Python game.md
rename to published/201905/20180518 What-s a hero without a villain- How to add one to your Python game.md
index a4a2138136..c4bb5c84f0 100644
--- a/translated/tech/20180518 What-s a hero without a villain- How to add one to your Python game.md
+++ b/published/201905/20180518 What-s a hero without a villain- How to add one to your Python game.md
@@ -1,21 +1,22 @@
-没有恶棍,英雄又将如何?如何向你的 Python 游戏中添加一个敌人
+如何向你的 Python 游戏中添加一个敌人
======
+
+> 在本系列的第五部分,学习如何增加一个坏蛋与你的好人战斗。
+

在本系列的前几篇文章中(参见 [第一部分][1]、[第二部分][2]、[第三部分][3] 以及 [第四部分][4]),你已经学习了如何使用 Pygame 和 Python 在一个空白的视频游戏世界中生成一个可玩的角色。但没有恶棍,英雄又将如何?
如果你没有敌人,那将会是一个非常无聊的游戏。所以在此篇文章中,你将为你的游戏添加一个敌人并构建一个用于创建关卡的框架。
-在对玩家妖精实现全部功能仍有许多事情可做之前,跳向敌人似乎就很奇怪。但你已经学到了很多东西,创造恶棍与与创造玩家妖精非常相似。所以放轻松,使用你已经掌握的知识,看看能挑起怎样一些麻烦。
+在对玩家妖精实现全部功能之前,就来实现一个敌人似乎就很奇怪。但你已经学到了很多东西,创造恶棍与与创造玩家妖精非常相似。所以放轻松,使用你已经掌握的知识,看看能挑起怎样一些麻烦。
针对本次训练,你能够从 [Open Game Art][5] 下载一些预创建的素材。此处是我使用的一些素材:
-
-+ 印加花砖(译注:游戏中使用的花砖贴图)
++ 印加花砖(LCTT 译注:游戏中使用的花砖贴图)
+ 一些侵略者
+ 妖精、角色、物体以及特效
-
### 创造敌方妖精
是的,不管你意识到与否,你其实已经知道如何去实现敌人。这个过程与创造一个玩家妖精非常相似:
@@ -24,40 +25,27 @@
2. 创建 `update` 方法使得敌人能够检测碰撞
3. 创建 `move` 方法使得敌人能够四处游荡
-
-
-从类入手。从概念上看,它与你的 Player 类大体相同。你设置一张或者一组图片,然后设置妖精的初始位置。
+从类入手。从概念上看,它与你的 `Player` 类大体相同。你设置一张或者一组图片,然后设置妖精的初始位置。
在继续下一步之前,确保你有一张你的敌人的图像,即使只是一张临时图像。将图像放在你的游戏项目的 `images` 目录(你放置你的玩家图像的相同目录)。
如果所有的活物都拥有动画,那么游戏看起来会好得多。为敌方妖精设置动画与为玩家妖精设置动画具有相同的方式。但现在,为了保持简单,我们使用一个没有动画的妖精。
在你代码 `objects` 节的顶部,使用以下代码创建一个叫做 `Enemy` 的类:
+
```
class Enemy(pygame.sprite.Sprite):
-
'''
-
生成一个敌人
-
'''
-
def __init__(self,x,y,img):
-
pygame.sprite.Sprite.__init__(self)
-
self.image = pygame.image.load(os.path.join('images',img))
-
self.image.convert_alpha()
-
self.image.set_colorkey(ALPHA)
-
self.rect = self.image.get_rect()
-
self.rect.x = x
-
self.rect.y = y
-
```
如果你想让你的敌人动起来,使用让你的玩家拥有动画的 [相同方式][4]。
@@ -67,25 +55,21 @@ class Enemy(pygame.sprite.Sprite):
你能够通过告诉类,妖精应使用哪张图像,应出现在世界上的什么地方,来生成不只一个敌人。这意味着,你能够使用相同的敌人类,在游戏世界的任意地方生成任意数量的敌方妖精。你需要做的仅仅是调用这个类,并告诉它应使用哪张图像,以及你期望生成点的 X 和 Y 坐标。
再次,这从原则上与生成一个玩家精灵相似。在你脚本的 `setup` 节添加如下代码:
+
```
enemy = Enemy(20,200,'yeti.png') # 生成敌人
-
enemy_list = pygame.sprite.Group() # 创建敌人组
-
enemy_list.add(enemy) # 将敌人加入敌人组
-
```
-在示例代码中,X 坐标为 20,Y 坐标为 200。你可能需要根据你的敌方妖精的大小,来调整这些数字,但尽量生成在一个地方,使得你的玩家妖精能够到它。`Yeti.png` 是用于敌人的图像。
+在示例代码中,X 坐标为 20,Y 坐标为 200。你可能需要根据你的敌方妖精的大小,来调整这些数字,但尽量生成在一个范围内,使得你的玩家妖精能够碰到它。`Yeti.png` 是用于敌人的图像。
接下来,将敌人组的所有敌人绘制在屏幕上。现在,你只有一个敌人,如果你想要更多你可以稍后添加。一但你将一个敌人加入敌人组,它就会在主循环中被绘制在屏幕上。中间这一行是你需要添加的新行:
+
```
player_list.draw(world)
-
enemy_list.draw(world) # 刷新敌人
-
pygame.display.flip()
-
```
启动你的游戏,你的敌人会出现在游戏世界中你选择的 X 和 Y 坐标处。
@@ -96,42 +80,31 @@ enemy_list.add(enemy) # 将敌人加入敌人组
思考一下“关卡”是什么。你如何知道你是在游戏中的一个特定关卡中呢?
-你可以把关卡想成一系列项目的集合。就像你刚刚创建的这个平台中,一个关卡,包含了平台、敌人放置、赃物等的一个特定排列。你可以创建一个类,用来在你的玩家附近创建关卡。最终,当你创建了超过一个关卡,你就可以在你的玩家达到特定目标时,使用这个类生成下一个关卡。
+你可以把关卡想成一系列项目的集合。就像你刚刚创建的这个平台中,一个关卡,包含了平台、敌人放置、战利品等的一个特定排列。你可以创建一个类,用来在你的玩家附近创建关卡。最终,当你创建了一个以上的关卡,你就可以在你的玩家达到特定目标时,使用这个类生成下一个关卡。
将你写的用于生成敌人及其群组的代码,移动到一个每次生成新关卡时都会被调用的新函数中。你需要做一些修改,使得每次你创建新关卡时,你都能够创建一些敌人。
+
```
class Level():
-
def bad(lvl,eloc):
-
if lvl == 1:
-
enemy = Enemy(eloc[0],eloc[1],'yeti.png') # 生成敌人
-
enemy_list = pygame.sprite.Group() # 生成敌人组
-
enemy_list.add(enemy) # 将敌人加入敌人组
-
if lvl == 2:
-
print("Level " + str(lvl) )
-
-
return enemy_list
-
```
`return` 语句确保了当你调用 `Level.bad` 方法时,你将会得到一个 `enemy_list` 变量包含了所有你定义的敌人。
因为你现在将创造敌人作为每个关卡的一部分,你的 `setup` 部分也需要做些更改。不同于创造一个敌人,取而代之的是你必须去定义敌人在那里生成,以及敌人属于哪个关卡。
+
```
eloc = []
-
eloc = [200,20]
-
enemy_list = Level.bad( 1, eloc )
-
```
再次运行游戏来确认你的关卡生成正确。与往常一样,你应该会看到你的玩家,并且能看到你在本章节中添加的敌人。
@@ -140,31 +113,27 @@ enemy_list = Level.bad( 1, eloc )
一个敌人如果对玩家没有效果,那么它不太算得上是一个敌人。当玩家与敌人发生碰撞时,他们通常会对玩家造成伤害。
-因为你可能想要去跟踪玩家的生命值,因此碰撞检测发生在 Player 类,而不是 Enemy 类中。当然如果你想,你也可以跟踪敌人的生命值。它们之间的逻辑与代码大体相似,现在,我们只需要跟踪玩家的生命值。
+因为你可能想要去跟踪玩家的生命值,因此碰撞检测发生在 `Player` 类,而不是 `Enemy` 类中。当然如果你想,你也可以跟踪敌人的生命值。它们之间的逻辑与代码大体相似,现在,我们只需要跟踪玩家的生命值。
为了跟踪玩家的生命值,你必须为它确定一个变量。代码示例中的第一行是上下文提示,那么将第二行代码添加到你的 Player 类中:
+
```
self.frame = 0
-
self.health = 10
-
```
-在你 Player 类的 `update` 方法中,添加如下代码块:
+在你 `Player` 类的 `update` 方法中,添加如下代码块:
+
```
hit_list = pygame.sprite.spritecollide(self, enemy_list, False)
-
for enemy in hit_list:
-
self.health -= 1
-
print(self.health)
-
```
这段代码使用 Pygame 的 `sprite.spritecollide` 方法,建立了一个碰撞检测器,称作 `enemy_hit`。每当它的父类妖精(生成检测器的玩家妖精)的碰撞区触碰到 `enemy_list` 中的任一妖精的碰撞区时,碰撞检测器都会发出一个信号。当这个信号被接收,`for` 循环就会被触发,同时扣除一点玩家生命值。
-一旦这段代码出现在你 Player 类的 `update` 方法,并且 `update` 方法在你的主循环中被调用,Pygame 会在每个时钟 tick 检测一次碰撞。
+一旦这段代码出现在你 `Player` 类的 `update` 方法,并且 `update` 方法在你的主循环中被调用,Pygame 会在每个时钟滴答中检测一次碰撞。
### 移动敌人
@@ -176,60 +145,41 @@ enemy_list = Level.bad( 1, eloc )
举个例子,你告诉你的敌方妖精向右移动 10 步,向左移动 10 步。但敌方妖精不会计数,因此你需要创建一个变量来跟踪你的敌人已经移动了多少步,并根据计数变量的值来向左或向右移动你的敌人。
-首先,在你的 Enemy 类中创建计数变量。添加以下代码示例中的最后一行代码:
+首先,在你的 `Enemy` 类中创建计数变量。添加以下代码示例中的最后一行代码:
+
```
self.rect = self.image.get_rect()
-
self.rect.x = x
-
self.rect.y = y
-
self.counter = 0 # 计数变量
-
```
-然后,在你的 Enemy 类中创建一个 `move` 方法。使用 if-else 循环来创建一个所谓的死循环:
+然后,在你的 `Enemy` 类中创建一个 `move` 方法。使用 if-else 循环来创建一个所谓的死循环:
* 如果计数在 0 到 100 之间,向右移动;
* 如果计数在 100 到 200 之间,向左移动;
* 如果计数大于 200,则将计数重置为 0。
-
-
死循环没有终点,因为循环判断条件永远为真,所以它将永远循环下去。在此情况下,计数器总是介于 0 到 100 或 100 到 200 之间,因此敌人会永远地从左向右再从右向左移动。
你用于敌人在每个方向上移动距离的具体值,取决于你的屏幕尺寸,更确切地说,取决于你的敌人移动的平台大小。从较小的值开始,依据习惯逐步提高数值。首先进行如下尝试:
+
```
def move(self):
-
'''
-
敌人移动
-
'''
-
distance = 80
-
speed = 8
-
-
if self.counter >= 0 and self.counter <= distance:
-
self.rect.x += speed
-
elif self.counter >= distance and self.counter <= distance*2:
-
self.rect.x -= speed
-
else:
-
self.counter = 0
-
-
self.counter += 1
-
```
你可以根据需要调整距离和速度。
@@ -237,13 +187,11 @@ enemy_list = Level.bad( 1, eloc )
当你现在启动游戏,这段代码有效果吗?
当然不,你应该也知道原因。你必须在主循环中调用 `move` 方法。如下示例代码中的第一行是上下文提示,那么添加最后两行代码:
+
```
enemy_list.draw(world) #refresh enemy
-
for e in enemy_list:
-
e.move()
-
```
启动你的游戏看看当你打击敌人时发生了什么。你可能需要调整妖精的生成地点,使得你的玩家和敌人能够碰撞。当他们发生碰撞时,查看 [IDLE][6] 或 [Ninja-IDE][7] 的控制台,你可以看到生命值正在被扣除。
@@ -261,15 +209,15 @@ via: https://opensource.com/article/18/5/pygame-enemy
作者:[Seth Kenlon][a]
选题:[lujun9972](https://github.com/lujun9972)
译者:[cycoe](https://github.com/cycoe)
-校对:[校对者ID](https://github.com/校对者ID)
+校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://opensource.com/users/seth
-[1]:https://opensource.com/article/17/10/python-101
-[2]:https://opensource.com/article/17/12/game-framework-python
-[3]:https://opensource.com/article/17/12/game-python-add-a-player
-[4]:https://opensource.com/article/17/12/game-python-moving-player
+[1]:https://linux.cn/article-9071-1.html
+[2]:https://linux.cn/article-10850-1.html
+[3]:https://linux.cn/article-10858-1.html
+[4]:https://linux.cn/article-10874-1.html
[5]:https://opengameart.org
[6]:https://docs.python.org/3/library/idle.html
[7]:http://ninja-ide.org/
diff --git a/published/201905/20180605 How to use autofs to mount NFS shares.md b/published/201905/20180605 How to use autofs to mount NFS shares.md
new file mode 100644
index 0000000000..15321b2e3d
--- /dev/null
+++ b/published/201905/20180605 How to use autofs to mount NFS shares.md
@@ -0,0 +1,130 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10830-1.html)
+[#]: subject: (How to use autofs to mount NFS shares)
+[#]: via: (https://opensource.com/article/18/6/using-autofs-mount-nfs-shares)
+[#]: author: (Alan Formy-Duval https://opensource.com/users/alanfdoss)
+
+如何使用 autofs 挂载 NFS 共享
+======
+
+> 给你的网络文件系统(NFS)配置一个基本的自动挂载功能。
+
+
+
+大多数 Linux 文件系统在引导时挂载,并在系统运行时保持挂载状态。对于已在 `fstab` 中配置的任何远程文件系统也是如此。但是,有时你可能希望仅按需挂载远程文件系统。例如,通过减少网络带宽使用来提高性能,或出于安全原因隐藏或混淆某些目录。[autofs][1] 软件包提供此功能。在本文中,我将介绍如何配置基本的自动挂载。
+
+首先做点假设:假设有台 NFS 服务器 `tree.mydatacenter.net` 已经启动并运行。另外假设一个名为 `ourfiles` 的数据目录还有供 Carl 和 Sarah 使用的用户目录,它们都由服务器共享。
+
+一些最佳实践可以使工作更好:服务器上的用户和任何客户端工作站上的帐号有相同的用户 ID。此外,你的工作站和服务器应有相同的域名。检查相关配置文件应该确认。
+
+```
+alan@workstation1:~$ sudo getent passwd carl sarah
+[sudo] password for alan:
+carl:x:1020:1020:Carl,,,:/home/carl:/bin/bash
+sarah:x:1021:1021:Sarah,,,:/home/sarah:/bin/bash
+
+alan@workstation1:~$ sudo getent hosts
+127.0.0.1 localhost
+127.0.1.1 workstation1.mydatacenter.net workstation1
+10.10.1.5 tree.mydatacenter.net tree
+```
+
+如你所见,客户端工作站和 NFS 服务器都在 `hosts` 文件中配置。我假设这是一个基本的家庭甚至小型办公室网络,可能缺乏适合的内部域名服务(即 DNS)。
+
+### 安装软件包
+
+你只需要安装两个软件包:用于 NFS 客户端的 `nfs-common` 和提供自动挂载的 `autofs`。
+
+```
+alan@workstation1:~$ sudo apt-get install nfs-common autofs
+```
+
+你可以验证 autofs 相关的文件是否已放在 `/etc` 目录中:
+
+```
+alan@workstation1:~$ cd /etc; ll auto*
+-rw-r--r-- 1 root root 12596 Nov 19 2015 autofs.conf
+-rw-r--r-- 1 root root 857 Mar 10 2017 auto.master
+-rw-r--r-- 1 root root 708 Jul 6 2017 auto.misc
+-rwxr-xr-x 1 root root 1039 Nov 19 2015 auto.net*
+-rwxr-xr-x 1 root root 2191 Nov 19 2015 auto.smb*
+alan@workstation1:/etc$
+```
+
+### 配置 autofs
+
+现在你需要编辑其中几个文件并添加 `auto.home` 文件。首先,将以下两行添加到文件 `auto.master` 中:
+
+```
+/mnt/tree /etc/auto.misc
+/home/tree /etc/auto.home
+```
+
+每行以挂载 NFS 共享的目录开头。继续创建这些目录:
+
+```
+alan@workstation1:/etc$ sudo mkdir /mnt/tree /home/tree
+```
+
+接下来,将以下行添加到文件 `auto.misc`:
+
+```
+ourfiles -fstype=nfs tree:/share/ourfiles
+```
+
+该行表示 autofs 将挂载 `auto.master` 文件中匹配 `auto.misc` 的 `ourfiles` 共享。如上所示,这些文件将在 `/mnt/tree/ourfiles` 目录中。
+
+第三步,使用以下行创建文件 `auto.home`:
+
+```
+* -fstype=nfs tree:/home/&
+```
+
+该行表示 autofs 将挂载 `auto.master` 文件中匹配 `auto.home` 的用户共享。在这种情况下,Carl 和 Sarah 的文件将分别在目录 `/home/tree/carl` 或 `/home/tree/sarah`中。星号 `*`(称为通配符)使每个用户的共享可以在登录时自动挂载。`&` 符号也可以作为表示服务器端用户目录的通配符。它们的主目录会相应地根据 `passwd` 文件映射。如果你更喜欢本地主目录,则无需执行此操作。相反,用户可以将其用作特定文件的简单远程存储。
+
+最后,重启 `autofs` 守护进程,以便识别并加载这些配置的更改。
+
+```
+alan@workstation1:/etc$ sudo service autofs restart
+```
+
+### 测试 autofs
+
+如果更改文件 `auto.master` 中的列出目录,并运行 `ls` 命令,那么不会立即看到任何内容。例如,切换到目录 `/mnt/tree`。首先,`ls` 的输出不会显示任何内容,但在运行 `cd ourfiles` 之后,将自动挂载 `ourfiles` 共享目录。 `cd` 命令也将被执行,你将进入新挂载的目录中。
+
+```
+carl@workstation1:~$ cd /mnt/tree
+carl@workstation1:/mnt/tree$ ls
+carl@workstation1:/mnt/tree$ cd ourfiles
+carl@workstation1:/mnt/tree/ourfiles$
+```
+
+为了进一步确认正常工作,`mount` 命令会显示已挂载共享的细节。
+
+```
+carl@workstation1:~$ mount
+
+tree:/mnt/share/ourfiles on /mnt/tree/ourfiles type nfs4 (rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.10.1.22,local_lock=none,addr=10.10.1.5)
+
+```
+
+对于 Carl 和 Sarah,`/home/tree` 目录工作方式相同。
+
+我发现在我的文件管理器中添加这些目录的书签很有用,可以用来快速访问。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/18/6/using-autofs-mount-nfs-shares
+
+作者:[Alan Formy-Duval][a]
+选题:[lujun9972](https://github.com/lujun9972)
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:https://opensource.com/users/alanfdoss
+[1]:https://wiki.archlinux.org/index.php/autofs
diff --git a/published/201905/20180611 3 open source alternatives to Adobe Lightroom.md b/published/201905/20180611 3 open source alternatives to Adobe Lightroom.md
new file mode 100644
index 0000000000..4cebea72fa
--- /dev/null
+++ b/published/201905/20180611 3 open source alternatives to Adobe Lightroom.md
@@ -0,0 +1,86 @@
+Adobe Lightroom 的三个开源替代品
+=======
+
+> 摄影师们:在没有 Lightroom 套件的情况下,可以看看这些 RAW 图像处理器。
+
+
+
+如今智能手机的摄像功能已经完备到多数人认为可以代替传统摄影了。虽然这在傻瓜相机的市场中是个事实,但是对于许多摄影爱好者和专业摄影师看来,一个高端单反相机所能带来的照片景深、清晰度以及真实质感是口袋中的智能手机无法与之相比的。
+
+所有的这些功能在便利性上要付出一些很小的代价;就像传统的胶片相机中的反色负片,单反照相得到的 RAW 格式文件必须预先处理才能印刷或编辑;因此对于单反相机,照片的后期处理是无可替代的,并且 首选应用就是 Adobe Lightroom。但是由于 Adobe Lightroom 的昂贵价格、基于订阅的定价模式以及专有许可证都使更多人开始关注其开源替代品。
+
+Lightroom 有两大主要功能:处理 RAW 格式的图片文件,以及数字资产管理系统(DAM) —— 通过标签、评星以及其他元数据信息来简单清晰地整理照片。
+
+在这篇文章中,我们将介绍三个开源的图片处理软件:Darktable、LightZone 以及 RawTherapee。所有的软件都有 DAM 系统,但没有任何一个具有 Lightroom 基于机器学习的图像分类和标签功能。如果你想要知道更多关于开源的 DAM 系统的软件,可以看 Terry Hacock 的文章:“[开源项目的 DAM 管理][2]”,他分享了他在自己的 [Lunatics!][3] 电影项目研究过的开源多媒体软件。
+
+### Darktable
+
+![Darktable][4]
+
+类似其他两个软件,Darktable 可以处理 RAW 格式的图像并将它们转换成可用的文件格式 —— JPEG、PNG、TIFF、PPM、PFM 和 EXR,它同时支持 Google 和 Facebook 的在线相册,上传至 Flikr,通过邮件附件发送以及创建在线相册。
+
+它有 61 个图像处理模块,可以调整图像的对比度、色调、明暗、色彩、噪点;添加水印;切割以及旋转;等等。如同另外两个软件一样,不论你做出多少次修改,这些修改都是“无损的” —— 你的初始 RAW 图像文件始终会被保存。
+
+Darktable 可以从 400 多种相机型号中直接导入照片,以及有 JPEG、CR2、DNG、OpenEXR 和 PFM 等格式的支持。图像在一个数据库中显示,因此你可以轻易地过滤并查询这些元数据,包括了文字标签、评星以及颜色标签。软件同时支持 21 种语言,支持 Linux、MacOS、BSD、Solaris 11/GNOME 以及 Windows(Windows 版本是最新发布的,Darktable 声明它比起其他版本可能还有一些不完备之处,有一些未实现的功能)。
+
+Darktable 在开源许可证 [GPLv3][7] 下发布,你可以了解更多它的 [特性][8],查阅它的 [用户手册][9],或者直接去 Github 上看[源代码][10] 。
+
+### LightZone
+
+![LightZone's tool stack][11]
+
+[LightZone][12] 和其他两个软件类似同样是无损的 RAW 格式图像处理工具:它是跨平台的,有 Windows、MacOS 和 Linux 版本,除 RAW 格式之外,它还支持 JPG 和 TIFF 格式的图像处理。接下来说说 LightZone 其他独特特性。
+
+这个软件最初在 2005 年时,是以专有许可证发布的图像处理软件,后来在 BSD 证书下开源。此外,在你下载这个软件之前,你必须注册一个免费账号,以便 LightZone的 开发团队可以跟踪软件的下载数量以及建立相关社区。(许可很快,而且是自动的,因此这不是一个很大的使用障碍。)
+
+除此之外的一个特性是这个软件的图像处理通常是通过很多可组合的工具实现的,而不是叠加滤镜(就像大多数图像处理软件),这些工具组可以被重新编排以及移除,以及被保存并且复制用到另一些图像上。如果想要编辑图片的部分区域,你还可以通过矢量工具或者根据色彩和亮度来选择像素。
+
+想要了解更多,见 LightZone 的[论坛][13] 或者查看 Github上的 [源代码][14]。
+
+### RawTherapee
+
+![RawTherapee][15]
+
+[RawTherapee][16] 是另一个值得关注的开源([GPL][17])的 RAW 图像处理器。就像 Darktable 和 LightZone,它是跨平台的(支持 Windows、MacOS 和 Linux),一切修改都在无损条件下进行,因此不论你叠加多少滤镜做出多少改变,你都可以回到你最初的 RAW 文件。
+
+RawTherapee 采用的是一个面板式的界面,包括一个历史记录面板来跟踪你做出的修改,以方便随时回到先前的图像;一个快照面板可以让你同时处理一张照片的不同版本;一个可滚动的工具面板可以方便准确地选择工具。这些工具包括了一系列的调整曝光、色彩、细节、图像变换以及去马赛克功能。
+
+这个软件可以从多数相机直接导入 RAW 文件,并且支持超过 25 种语言,得到了广泛使用。批量处理以及 [SSE][18] 优化这类功能也进一步提高了图像处理的速度以及对 CPU 性能的利用。
+
+RawTherapee 还提供了很多其他 [功能][19];可以查看它的 [官方文档][20] 以及 [源代码][21] 了解更多细节。
+
+你是否在摄影中使用另外的开源 RAW 图像处理工具?有任何建议和推荐都可以在评论中分享。
+
+------
+
+via: https://opensource.com/alternatives/adobe-lightroom
+
+作者:[Opensource.com][a]
+选题:[lujun9972](https://github.com/lujun9972)
+译者:[scoutydren](https://github.com/scoutydren)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com
+[1]: https://en.wikipedia.org/wiki/Raw_image_format
+[2]: https://opensource.com/article/18/3/movie-open-source-software
+[3]: http://lunatics.tv/
+[4]: https://opensource.com/sites/default/files/styles/panopoly_image_original/public/uploads/raw-image-processors_darkroom1.jpg?itok=0fjk37tC "Darktable"
+[5]: http://www.darktable.org/
+[6]: https://www.darktable.org/about/faq/#faq-windows
+[7]: https://github.com/darktable-org/darktable/blob/master/LICENSE
+[8]: https://www.darktable.org/about/features/
+[9]: https://www.darktable.org/resources/
+[10]: https://github.com/darktable-org/darktable
+[11]: https://opensource.com/sites/default/files/styles/panopoly_image_original/public/uploads/raw-image-processors_lightzone1tookstack.jpg?itok=1e3s85CZ
+[12]: http://www.lightzoneproject.org/
+[13]: http://www.lightzoneproject.org/Forum
+[14]: https://github.com/ktgw0316/LightZone
+[15]: https://opensource.com/sites/default/files/styles/panopoly_image_original/public/uploads/raw-image-processors_rawtherapee.jpg?itok=meiuLxPw "RawTherapee"
+[16]: http://rawtherapee.com/
+[17]: https://github.com/Beep6581/RawTherapee/blob/dev/LICENSE.txt
+[18]: https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions
+[19]: http://rawpedia.rawtherapee.com/Features
+[20]: http://rawpedia.rawtherapee.com/Main_Page
+[21]: https://github.com/Beep6581/RawTherapee
diff --git a/published/201905/20180725 Put platforms in a Python game with Pygame.md b/published/201905/20180725 Put platforms in a Python game with Pygame.md
new file mode 100644
index 0000000000..d5f6a910d2
--- /dev/null
+++ b/published/201905/20180725 Put platforms in a Python game with Pygame.md
@@ -0,0 +1,593 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10902-1.html)
+[#]: subject: (Put platforms in a Python game with Pygame)
+[#]: via: (https://opensource.com/article/18/7/put-platforms-python-game)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
+
+在 Pygame 游戏中放置平台
+======
+
+> 在这个从零构建一个 Python 游戏系列的第六部分中,为你的角色创建一些平台来旅行。
+
+
+
+这是仍在进行中的关于使用 Pygame 模块来在 Python 3 中创建电脑游戏的系列文章的第六部分。先前的文章是:
+
++ [通过构建一个简单的掷骰子游戏去学习怎么用 Python 编程][24]
++ [使用 Python 和 Pygame 模块构建一个游戏框架][25]
++ [如何在你的 Python 游戏中添加一个玩家][26]
++ [用 Pygame 使你的游戏角色移动起来][27]
++ [如何向你的 Python 游戏中添加一个敌人][28]
+
+一个平台类游戏需要平台。
+
+在 [Pygame][1] 中,平台本身也是个妖精,正像你那个可玩的妖精。这一点是重要的,因为有个是对象的平台,可以使你的玩家妖精更容易与之互动。
+
+创建平台有两个主要步骤。首先,你必须给该对象编写代码,然后,你必须映射出你希望该对象出现的位置。
+
+### 编码平台对象
+
+要构建一个平台对象,你要创建一个名为 `Platform` 的类。它是一个妖精,正像你的 `Player` [妖精][2] 一样,带有很多相同的属性。
+
+你的 `Platform` 类需要知道很多平台类型的信息,它应该出现在游戏世界的哪里、它应该包含的什么图片等等。这其中很多信息可能还尚不存在,这要看你为你的游戏计划了多少,但是没有关系。正如直到[移动你的游戏角色][3]那篇文章结束时,你都没有告诉你的玩家妖精移动速度有多快,你不必事先告诉 `Platform` 每一件事。
+
+在这系列中你所写的脚本的开头附近,创建一个新的类。在这个代码示例中前三行是用于说明上下文,因此在注释的下面添加代码:
+
+```
+import pygame
+import sys
+import os
+## 新代码如下:
+
+class Platform(pygame.sprite.Sprite):
+# x location, y location, img width, img height, img file
+def __init__(self,xloc,yloc,imgw,imgh,img):
+ pygame.sprite.Sprite.__init__(self)
+ self.image = pygame.image.load(os.path.join('images',img)).convert()
+ self.image.convert_alpha()
+ self.image.set_colorkey(ALPHA)
+ self.rect = self.image.get_rect()
+ self.rect.y = yloc
+ self.rect.x = xloc
+```
+
+当被调用时,这个类在某个 X 和 Y 位置上创建一个屏上对象,具有某种宽度和高度,并使用某种图像作为纹理。这与如何在屏上绘制出玩家或敌人非常类似。
+
+### 平台的类型
+
+下一步是绘制出你的平台需要出现的地方。
+
+#### 瓷砖方式
+
+实现平台类游戏世界有几种不同的方法。在最初的横向滚轴游戏中,例如,马里奥超级兄弟和刺猬索尼克,这个技巧是使用“瓷砖”方式,也就是说有几个代表地面和各种平台的块,并且这些块被重复使用来制作一个关卡。你只能有 8 或 12 种不同的块,你可以将它们排列在屏幕上来创建地面、浮动的平台,以及你游戏中需要的一切其它的事物。有人发现这是制作游戏最容易的方法了,因为你只需要制作(或下载)一小组关卡素材就能创建很多不同的关卡。然而,这里的代码需要一点数学知识。
+
+![Supertux, a tile-based video game][5]
+
+*[SuperTux][6] ,一个基于瓷砖的电脑游戏。*
+
+#### 手工绘制方式
+
+另一种方法是将每个素材作为一个整体图像。如果你喜欢为游戏世界创建素材,那你会在用图形应用程序构建游戏世界的每个部分上花费很多时间。这种方法不需要太多的数学知识,因为所有的平台都是整体的、完整的对象,你只需要告诉 [Python][7] 将它们放在屏幕上的什么位置。
+
+每种方法都有优势和劣势,并且根据于你选择使用的方式,代码稍有不同。我将覆盖这两方面,所以你可以在你的工程中使用一种或另一种,甚至两者的混合。
+
+### 关卡绘制
+
+总的来说,绘制你的游戏世界是关卡设计和游戏编程中的一个重要的部分。这需要数学知识,但是没有什么太难的,而且 Python 擅长数学,它会有所帮助。
+
+你也许发现先在纸张上设计是有用的。拿一张表格纸,并绘制一个方框来代表你的游戏窗体。在方框中绘制平台,并标记其每一个平台的 X 和 Y 坐标,以及它的宽度和高度。在方框中的实际位置没有必要是精确的,你只要保持数字合理即可。譬如,假设你的屏幕是 720 像素宽,那么你不能在一个屏幕上放 8 块 100 像素的平台。
+
+当然,不是你游戏中的所有平台都必须容纳在一个屏幕大小的方框里,因为你的游戏将随着你的玩家行走而滚动。所以,可以继续绘制你的游戏世界到第一屏幕的右侧,直到关卡结束。
+
+如果你更喜欢精确一点,你可以使用方格纸。当设计一个瓷砖类的游戏时,这是特别有用的,因为每个方格可以代表一个瓷砖。
+
+![Example of a level map][9]
+
+*一个关卡地图示例。*
+
+#### 坐标系
+
+你可能已经在学校中学习过[笛卡尔坐标系][10]。你学习的东西也适用于 Pygame,除了在 Pygame 中你的游戏世界的坐标系的原点 `0,0` 是放置在你的屏幕的左上角而不是在中间,是你在地理课上用过的坐标是在中间的。
+
+![Example of coordinates in Pygame][12]
+
+*在 Pygame 中的坐标示例。*
+
+X 轴起始于最左边的 0,向右无限增加。Y 轴起始于屏幕顶部的 0,向下延伸。
+
+#### 图片大小
+
+如果你不知道你的玩家、敌人、平台是多大的,绘制出一个游戏世界是毫无意义的。你可以在图形程序中找到你的平台或瓷砖的尺寸。例如在 [Krita][13] 中,单击“图像”菜单,并选择“属性”。你可以在“属性”窗口的最顶部处找到它的尺寸。
+
+另外,你也可以创建一个简单的 Python 脚本来告诉你的一个图像的尺寸。打开一个新的文本文件,并输入这些代码到其中:
+
+```
+#!/usr/bin/env python3
+
+from PIL import Image
+import os.path
+import sys
+
+if len(sys.argv) > 1:
+ print(sys.argv[1])
+else:
+ sys.exit('Syntax: identify.py [filename]')
+
+pic = sys.argv[1]
+dim = Image.open(pic)
+X = dim.size[0]
+Y = dim.size[1]
+
+print(X,Y)
+```
+
+保存该文本文件为 `identify.py`。
+
+要使用这个脚本,你必须安装一些额外的 Python 模块,它们包含了这个脚本中新使用的关键字:
+
+```
+$ pip3 install Pillow --user
+```
+
+一旦安装好,在你游戏工程目录中运行这个脚本:
+
+```
+$ python3 ./identify.py images/ground.png
+(1080, 97)
+```
+
+在这个示例中,地面平台的图形的大小是 1080 像素宽和 97 像素高。
+
+### 平台块
+
+如果你选择单独地绘制每个素材,你必须创建想要插入到你的游戏世界中的几个平台和其它元素,每个素材都放在它自己的文件中。换句话说,你应该让每个素材都有一个文件,像这样:
+
+![One image file per object][15]
+
+*每个对象一个图形文件。*
+
+你可以按照你希望的次数重复使用每个平台,只要确保每个文件仅包含一个平台。你不能使用一个文件包含全部素材,像这样:
+
+![Your level cannot be one image file][17]
+
+*你的关卡不能是一个图形文件。*
+
+当你完成时,你可能希望你的游戏看起来像这样,但是如果你在一个大文件中创建你的关卡,你就没有方法从背景中区分出一个平台,因此,要么把对象绘制在它们自己的文件中,要么从一个更大的文件中裁剪出它们,并保存为单独的副本。
+
+**注意:** 如同你的其它素材,你可以使用 [GIMP][18]、Krita、[MyPaint][19],或 [Inkscape][20] 来创建你的游戏素材。
+
+平台出现在每个关卡开始的屏幕上,因此你必须在你的 `Level` 类中添加一个 `platform` 函数。在这里特例是地面平台,它重要到应该拥有它自己的一个组。通过把地面看作一组特殊类型的平台,你可以选择它是否滚动,或它上面是否可以站立,而其它平台可以漂浮在它上面。这取决于你。
+
+添加这两个函数到你的 `Level` 类:
+
+```
+def ground(lvl,x,y,w,h):
+ ground_list = pygame.sprite.Group()
+ if lvl == 1:
+ ground = Platform(x,y,w,h,'block-ground.png')
+ ground_list.add(ground)
+
+ if lvl == 2:
+ print("Level " + str(lvl) )
+
+ return ground_list
+
+def platform( lvl ):
+ plat_list = pygame.sprite.Group()
+ if lvl == 1:
+ plat = Platform(200, worldy-97-128, 285,67,'block-big.png')
+ plat_list.add(plat)
+ plat = Platform(500, worldy-97-320, 197,54,'block-small.png')
+ plat_list.add(plat)
+ if lvl == 2:
+ print("Level " + str(lvl) )
+
+ return plat_list
+```
+
+`ground` 函数需要一个 X 和 Y 位置,以便 Pygame 知道在哪里放置地面平台。它也需要知道平台的宽度和高度,这样 Pygame 知道地面延伸到每个方向有多远。该函数使用你的 `Platform` 类来生成一个屏上对象,然后将这个对象添加到 `ground_list` 组。
+
+`platform` 函数本质上是相同的,除了其有更多的平台。在这个示例中,仅有两个平台,但是你可以想有多少就有多少。在进入一个平台后,在列出另一个前你必须添加它到 `plat_list` 中。如果你不添加平台到组中,那么它将不出现在你的游戏中。
+
+> **提示:** 很难想象你的游戏世界的 0 是在顶部,因为在真实世界中发生的情况是相反的;当估计你有多高时,你不会从上往下测量你自己,而是从脚到头顶来测量。
+>
+> 如果对你来说从“地面”上来构建你的游戏世界更容易,将 Y 轴值表示为负数可能有帮助。例如,你知道你的游戏世界的底部是 `worldy` 的值。因此 `worldy` 减去地面的高度(在这个示例中是 97)是你的玩家正常站立的位置。如果你的角色是 64 像素高,那么地面减去 128 正好是你的玩家的两倍高。事实上,一个放置在 128 像素处平台大约是相对于你的玩家的两层楼高度。一个平台在 -320 处比三层楼更高。等等。
+
+正像你现在可能所知的,如果你不使用它们,你的类和函数是没有价值的。添加这些代码到你的设置部分(第一行只是上下文,所以添加最后两行):
+
+```
+enemy_list = Level.bad( 1, eloc )
+ground_list = Level.ground( 1,0,worldy-97,1080,97 )
+plat_list = Level.platform( 1 )
+```
+
+并把这些行加到你的主循环(再一次,第一行仅用于上下文):
+
+```
+enemy_list.draw(world) # 刷新敌人
+ground_list.draw(world) # 刷新地面
+plat_list.draw(world) # 刷新平台
+```
+
+### 瓷砖平台
+
+瓷砖类游戏世界更容易制作,因为你只需要在前面绘制一些块,就能在游戏中一再使用它们创建每个平台。在像 [OpenGameArt.org][21] 这样的网站上甚至有一套瓷砖供你来使用。
+
+`Platform` 类与在前面部分中的类是相同的。
+
+`ground` 和 `platform` 在 `Level` 类中,然而,必须使用循环来计算使用多少块来创建每个平台。
+
+如果你打算在你的游戏世界中有一个坚固的地面,这种地面是很简单的。你只需要从整个窗口的一边到另一边“克隆”你的地面瓷砖。例如,你可以创建一个 X 和 Y 值的列表来规定每个瓷砖应该放置的位置,然后使用一个循环来获取每个值并绘制每一个瓷砖。这仅是一个示例,所以不要添加这到你的代码:
+
+```
+# Do not add this to your code
+gloc = [0,656,64,656,128,656,192,656,256,656,320,656,384,656]
+```
+
+不过,如果你仔细看,你可以看到所有的 Y 值是相同的,X 值以 64 的增量不断地增加 —— 这就是瓷砖的大小。这种重复是精确地,是计算机擅长的,因此你可以使用一点数学逻辑来让计算机为你做所有的计算:
+
+添加这些到你的脚本的设置部分:
+
+```
+gloc = []
+tx = 64
+ty = 64
+
+i=0
+while i <= (worldx/tx)+tx:
+ gloc.append(i*tx)
+ i=i+1
+
+ground_list = Level.ground( 1,gloc,tx,ty )
+```
+
+现在,不管你的窗口的大小,Python 会通过瓷砖的宽度分割游戏世界的宽度,并创建一个数组列表列出每个 X 值。这里不计算 Y 值,因为在平的地面上这个从不会变化。
+
+为了在一个函数中使用数组,使用一个 `while` 循环,查看每个条目并在适当的位置添加一个地面瓷砖:
+
+```
+def ground(lvl,gloc,tx,ty):
+ ground_list = pygame.sprite.Group()
+ i=0
+ if lvl == 1:
+ while i < len(gloc):
+ ground = Platform(gloc[i],worldy-ty,tx,ty,'tile-ground.png')
+ ground_list.add(ground)
+ i=i+1
+
+ if lvl == 2:
+ print("Level " + str(lvl) )
+
+ return ground_list
+```
+
+除了 `while` 循环,这几乎与在上面一部分中提供的瓷砖类平台的 `ground` 函数的代码相同。
+
+对于移动的平台,原理是相似的,但是这里有一些技巧可以使它简单。
+
+你可以通过它的起始像素(它的 X 值)、距地面的高度(它的 Y 值)、绘制多少瓷砖来定义一个平台,而不是通过像素绘制每个平台。这样,你不必操心每个平台的宽度和高度。
+
+这个技巧的逻辑有一点复杂,因此请仔细复制这些代码。有一个 `while` 循环嵌套在另一个 `while` 循环的内部,因为这个函数必须考虑每个数组项的三个值来成功地建造一个完整的平台。在这个示例中,这里仅有三个平台以 `ploc.append` 语句定义,但是你的游戏可能需要更多,因此你需要多少就定义多少。当然,有一些不会出现,因为它们远在屏幕外,但是一旦当你进行滚动时,它们将呈现在眼前。
+
+```
+def platform(lvl,tx,ty):
+ plat_list = pygame.sprite.Group()
+ ploc = []
+ i=0
+ if lvl == 1:
+ ploc.append((200,worldy-ty-128,3))
+ ploc.append((300,worldy-ty-256,3))
+ ploc.append((500,worldy-ty-128,4))
+ while i < len(ploc):
+ j=0
+ while j <= ploc[i][2]:
+ plat = Platform((ploc[i][0]+(j*tx)),ploc[i][1],tx,ty,'tile.png')
+ plat_list.add(plat)
+ j=j+1
+ print('run' + str(i) + str(ploc[i]))
+ i=i+1
+
+ if lvl == 2:
+ print("Level " + str(lvl) )
+
+ return plat_list
+```
+
+要让这些平台出现在你的游戏世界,它们必须出现在你的主循环中。如果你还没有这样做,添加这些行到你的主循环(再一次,第一行仅被用于上下文)中:
+
+```
+ enemy_list.draw(world) # 刷新敌人
+ ground_list.draw(world) # 刷新地面
+ plat_list.draw(world) # 刷新平台
+```
+
+启动你的游戏,根据需要调整你的平台的放置位置。如果你看不见屏幕外产生的平台,不要担心;你不久后就可以修复它。
+
+到目前为止,这是游戏的图片和代码:
+
+![Pygame game][23]
+
+*到目前为止,我们的 Pygame 平台。*
+
+```
+#!/usr/bin/env python3
+# draw a world
+# add a player and player control
+# add player movement
+# add enemy and basic collision
+# add platform
+
+# GNU All-Permissive License
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+import pygame
+import sys
+import os
+
+'''
+Objects
+'''
+
+class Platform(pygame.sprite.Sprite):
+ # x location, y location, img width, img height, img file
+ def __init__(self,xloc,yloc,imgw,imgh,img):
+ pygame.sprite.Sprite.__init__(self)
+ self.image = pygame.image.load(os.path.join('images',img)).convert()
+ self.image.convert_alpha()
+ self.rect = self.image.get_rect()
+ self.rect.y = yloc
+ self.rect.x = xloc
+
+class Player(pygame.sprite.Sprite):
+ '''
+ Spawn a player
+ '''
+ def __init__(self):
+ pygame.sprite.Sprite.__init__(self)
+ self.movex = 0
+ self.movey = 0
+ self.frame = 0
+ self.health = 10
+ self.score = 1
+ self.images = []
+ for i in range(1,9):
+ img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
+ img.convert_alpha()
+ img.set_colorkey(ALPHA)
+ self.images.append(img)
+ self.image = self.images[0]
+ self.rect = self.image.get_rect()
+
+ def control(self,x,y):
+ '''
+ control player movement
+ '''
+ self.movex += x
+ self.movey += y
+
+ def update(self):
+ '''
+ Update sprite position
+ '''
+
+ self.rect.x = self.rect.x + self.movex
+ self.rect.y = self.rect.y + self.movey
+
+ # moving left
+ if self.movex < 0:
+ self.frame += 1
+ if self.frame > ani*3:
+ self.frame = 0
+ self.image = self.images[self.frame//ani]
+
+ # moving right
+ if self.movex > 0:
+ self.frame += 1
+ if self.frame > ani*3:
+ self.frame = 0
+ self.image = self.images[(self.frame//ani)+4]
+
+ # collisions
+ enemy_hit_list = pygame.sprite.spritecollide(self, enemy_list, False)
+ for enemy in enemy_hit_list:
+ self.health -= 1
+ print(self.health)
+
+ ground_hit_list = pygame.sprite.spritecollide(self, ground_list, False)
+ for g in ground_hit_list:
+ self.health -= 1
+ print(self.health)
+
+
+class Enemy(pygame.sprite.Sprite):
+ '''
+ Spawn an enemy
+ '''
+ def __init__(self,x,y,img):
+ pygame.sprite.Sprite.__init__(self)
+ self.image = pygame.image.load(os.path.join('images',img))
+ #self.image.convert_alpha()
+ #self.image.set_colorkey(ALPHA)
+ self.rect = self.image.get_rect()
+ self.rect.x = x
+ self.rect.y = y
+ self.counter = 0
+
+ def move(self):
+ '''
+ enemy movement
+ '''
+ distance = 80
+ speed = 8
+
+ if self.counter >= 0 and self.counter <= distance:
+ self.rect.x += speed
+ elif self.counter >= distance and self.counter <= distance*2:
+ self.rect.x -= speed
+ else:
+ self.counter = 0
+
+ self.counter += 1
+
+class Level():
+ def bad(lvl,eloc):
+ if lvl == 1:
+ enemy = Enemy(eloc[0],eloc[1],'yeti.png') # spawn enemy
+ enemy_list = pygame.sprite.Group() # create enemy group
+ enemy_list.add(enemy) # add enemy to group
+
+ if lvl == 2:
+ print("Level " + str(lvl) )
+
+ return enemy_list
+
+ def loot(lvl,lloc):
+ print(lvl)
+
+ def ground(lvl,gloc,tx,ty):
+ ground_list = pygame.sprite.Group()
+ i=0
+ if lvl == 1:
+ while i < len(gloc):
+ print("blockgen:" + str(i))
+ ground = Platform(gloc[i],worldy-ty,tx,ty,'ground.png')
+ ground_list.add(ground)
+ i=i+1
+
+ if lvl == 2:
+ print("Level " + str(lvl) )
+
+ return ground_list
+
+'''
+Setup
+'''
+worldx = 960
+worldy = 720
+
+fps = 40 # frame rate
+ani = 4 # animation cycles
+clock = pygame.time.Clock()
+pygame.init()
+main = True
+
+BLUE = (25,25,200)
+BLACK = (23,23,23 )
+WHITE = (254,254,254)
+ALPHA = (0,255,0)
+
+world = pygame.display.set_mode([worldx,worldy])
+backdrop = pygame.image.load(os.path.join('images','stage.png')).convert()
+backdropbox = world.get_rect()
+player = Player() # spawn player
+player.rect.x = 0
+player.rect.y = 0
+player_list = pygame.sprite.Group()
+player_list.add(player)
+steps = 10 # how fast to move
+
+eloc = []
+eloc = [200,20]
+gloc = []
+#gloc = [0,630,64,630,128,630,192,630,256,630,320,630,384,630]
+tx = 64 #tile size
+ty = 64 #tile size
+
+i=0
+while i <= (worldx/tx)+tx:
+ gloc.append(i*tx)
+ i=i+1
+ print("block: " + str(i))
+
+enemy_list = Level.bad( 1, eloc )
+ground_list = Level.ground( 1,gloc,tx,ty )
+
+'''
+Main loop
+'''
+while main == True:
+ for event in pygame.event.get():
+ if event.type == pygame.QUIT:
+ pygame.quit(); sys.exit()
+ main = False
+
+ if event.type == pygame.KEYDOWN:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ player.control(-steps,0)
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ player.control(steps,0)
+ if event.key == pygame.K_UP or event.key == ord('w'):
+ print('jump')
+
+ if event.type == pygame.KEYUP:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ player.control(steps,0)
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ player.control(-steps,0)
+ if event.key == ord('q'):
+ pygame.quit()
+ sys.exit()
+ main = False
+
+# world.fill(BLACK)
+ world.blit(backdrop, backdropbox)
+ player.update()
+ player_list.draw(world) #refresh player position
+ enemy_list.draw(world) # refresh enemies
+ ground_list.draw(world) # refresh enemies
+ for e in enemy_list:
+ e.move()
+ pygame.display.flip()
+ clock.tick(fps)
+```
+
+(LCTT 译注:到本文翻译完为止,该系列已经近一年没有继续更新了~)
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/18/7/put-platforms-python-game
+
+作者:[Seth Kenlon][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/seth
+[b]: https://github.com/lujun9972
+[1]: https://www.pygame.org/news
+[2]: https://opensource.com/article/17/12/game-python-add-a-player
+[3]: https://opensource.com/article/17/12/game-python-moving-player
+[4]: /file/403841
+[5]: https://opensource.com/sites/default/files/uploads/supertux.png (Supertux, a tile-based video game)
+[6]: https://www.supertux.org/
+[7]: https://www.python.org/
+[8]: /file/403861
+[9]: https://opensource.com/sites/default/files/uploads/layout.png (Example of a level map)
+[10]: https://en.wikipedia.org/wiki/Cartesian_coordinate_system
+[11]: /file/403871
+[12]: https://opensource.com/sites/default/files/uploads/pygame_coordinates.png (Example of coordinates in Pygame)
+[13]: https://krita.org/en/
+[14]: /file/403876
+[15]: https://opensource.com/sites/default/files/uploads/pygame_floating.png (One image file per object)
+[16]: /file/403881
+[17]: https://opensource.com/sites/default/files/uploads/pygame_flattened.png (Your level cannot be one image file)
+[18]: https://www.gimp.org/
+[19]: http://mypaint.org/about/
+[20]: https://inkscape.org/en/
+[21]: https://opengameart.org/content/simplified-platformer-pack
+[22]: /file/403886
+[23]: https://opensource.com/sites/default/files/uploads/pygame_platforms.jpg (Pygame game)
+[24]: https://linux.cn/article-9071-1.html
+[25]: https://linux.cn/article-10850-1.html
+[26]: https://linux.cn/article-10858-1.html
+[27]: https://linux.cn/article-10874-1.html
+[28]: https://linux.cn/article-10883-1.html
+
diff --git a/published/201905/20181212 TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop.md b/published/201905/20181212 TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop.md
new file mode 100644
index 0000000000..2b38da68d0
--- /dev/null
+++ b/published/201905/20181212 TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop.md
@@ -0,0 +1,596 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10848-1.html)
+[#]: subject: (TLP – An Advanced Power Management Tool That Improve Battery Life On Linux Laptop)
+[#]: via: (https://www.2daygeek.com/tlp-increase-optimize-linux-laptop-battery-life/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+TLP:一个可以延长 Linux 笔记本电池寿命的高级电源管理工具
+======
+
+
+
+笔记本电池是针对 Windows 操作系统进行了高度优化的,当我在笔记本电脑中使用 Windows 操作系统时,我已经意识到这一点,但对于 Linux 来说却不一样。
+
+多年来,Linux 在电池优化方面取得了很大进步,但我们仍然需要做一些必要的事情来改善 Linux 中笔记本电脑的电池寿命。
+
+当我考虑延长电池寿命时,我没有多少选择,但我觉得 TLP 对我来说是一个更好的解决方案,所以我会继续使用它。
+
+在本教程中,我们将详细讨论 TLP 以延长电池寿命。
+
+我们之前在我们的网站上写过三篇关于 Linux [笔记本电池节电工具][1] 的文章:[PowerTOP][2] 和 [电池充电状态][3]。
+
+### TLP
+
+[TLP][4] 是一款自由开源的高级电源管理工具,可在不进行任何配置更改的情况下延长电池寿命。
+
+由于它的默认配置已针对电池寿命进行了优化,因此你可能只需要安装,然后就忘记它吧。
+
+此外,它可以高度定制化,以满足你的特定要求。TLP 是一个具有自动后台任务的纯命令行工具。它不包含GUI。
+
+TLP 适用于各种品牌的笔记本电脑。设置电池充电阈值仅适用于 IBM/Lenovo ThinkPad。
+
+所有 TLP 设置都存储在 `/etc/default/tlp` 中。其默认配置提供了开箱即用的优化的节能设置。
+
+以下 TLP 设置可用于自定义,如果需要,你可以相应地进行必要的更改。
+
+### TLP 功能
+
+* 内核笔记本电脑模式和脏缓冲区超时
+* 处理器频率调整,包括 “turbo boost”/“turbo core”
+* 限制最大/最小的 P 状态以控制 CPU 的功耗
+* HWP 能源性能提示
+* 用于多核/超线程的功率感知进程调度程序
+* 处理器性能与节能策略(`x86_energy_perf_policy`)
+* 硬盘高级电源管理级别(APM)和降速超时(按磁盘)
+* AHCI 链路电源管理(ALPM)与设备黑名单
+* PCIe 活动状态电源管理(PCIe ASPM)
+* PCI(e) 总线设备的运行时电源管理
+* Radeon 图形电源管理(KMS 和 DPM)
+* Wifi 省电模式
+* 关闭驱动器托架中的光盘驱动器
+* 音频省电模式
+* I/O 调度程序(按磁盘)
+* USB 自动暂停,支持设备黑名单/白名单(输入设备自动排除)
+* 在系统启动和关闭时启用或禁用集成的 wifi、蓝牙或 wwan 设备
+* 在系统启动时恢复无线电设备状态(从之前的关机时的状态)
+* 无线电设备向导:在网络连接/断开和停靠/取消停靠时切换无线电
+* 禁用 LAN 唤醒
+* 挂起/休眠后恢复集成的 WWAN 和蓝牙状态
+* 英特尔处理器的动态电源降低 —— 需要内核和 PHC-Patch 支持
+* 电池充电阈值 —— 仅限 ThinkPad
+* 重新校准电池 —— 仅限 ThinkPad
+
+### 如何在 Linux 上安装 TLP
+
+TLP 包在大多数发行版官方存储库中都可用,因此,使用发行版的 [包管理器][5] 来安装它。
+
+对于 Fedora 系统,使用 [DNF 命令][6] 安装 TLP。
+
+```
+$ sudo dnf install tlp tlp-rdw
+```
+
+ThinkPad 需要一些附加软件包。
+
+```
+$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
+$ sudo dnf install http://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm
+$ sudo dnf install akmod-tp_smapi akmod-acpi_call kernel-devel
+```
+
+安装 smartmontool 以显示 tlp-stat 中 S.M.A.R.T. 数据。
+
+```
+$ sudo dnf install smartmontools
+```
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET 命令][7] 或 [APT 命令][8] 安装 TLP。
+
+```
+$ sudo apt install tlp tlp-rdw
+```
+
+ThinkPad 需要一些附加软件包。
+
+```
+$ sudo apt-get install tp-smapi-dkms acpi-call-dkms
+```
+
+安装 smartmontool 以显示 tlp-stat 中 S.M.A.R.T. 数据。
+
+```
+$ sudo apt-get install smartmontools
+```
+
+当基于 Ubuntu 的系统的官方软件包过时时,请使用以下 PPA 存储库,该存储库提供最新版本。运行以下命令以使用 PPA 安装 TLP。
+
+```
+$ sudo add-apt-repository ppa:linrunner/tlp
+$ sudo apt-get update
+$ sudo apt-get install tlp
+```
+
+对于基于 Arch Linux 的系统,使用 [Pacman 命令][9] 安装 TLP。
+
+```
+$ sudo pacman -S tlp tlp-rdw
+```
+
+ThinkPad 需要一些附加软件包。
+
+```
+$ pacman -S tp_smapi acpi_call
+```
+
+安装 smartmontool 以显示 tlp-stat 中 S.M.A.R.T. 数据。
+
+```
+$ sudo pacman -S smartmontools
+```
+
+对于基于 Arch Linux 的系统,在启动时启用 TLP 和 TLP-Sleep 服务。
+
+```
+$ sudo systemctl enable tlp.service
+$ sudo systemctl enable tlp-sleep.service
+```
+
+对于基于 Arch Linux 的系统,你还应该屏蔽以下服务以避免冲突,并确保 TLP 的无线电设备切换选项的正确操作。
+
+```
+$ sudo systemctl mask systemd-rfkill.service
+$ sudo systemctl mask systemd-rfkill.socket
+```
+
+对于 RHEL/CentOS 系统,使用 [YUM 命令][10] 安装 TLP。
+
+```
+$ sudo yum install tlp tlp-rdw
+```
+
+安装 smartmontool 以显示 tlp-stat 中 S.M.A.R.T. 数据。
+
+```
+$ sudo yum install smartmontools
+```
+
+对于 openSUSE Leap 系统,使用 [Zypper 命令][11] 安装 TLP。
+
+```
+$ sudo zypper install TLP
+```
+
+安装 smartmontool 以显示 tlp-stat 中 S.M.A.R.T. 数据。
+
+```
+$ sudo zypper install smartmontools
+```
+
+成功安装 TLP 后,使用以下命令启动服务。
+
+```
+$ systemctl start tlp.service
+```
+
+### 使用方法
+
+#### 显示电池信息
+
+```
+$ sudo tlp-stat -b
+或
+$ sudo tlp-stat --battery
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ Battery Status
+/sys/class/power_supply/BAT0/manufacturer = SMP
+/sys/class/power_supply/BAT0/model_name = L14M4P23
+/sys/class/power_supply/BAT0/cycle_count = (not supported)
+/sys/class/power_supply/BAT0/energy_full_design = 60000 [mWh]
+/sys/class/power_supply/BAT0/energy_full = 48850 [mWh]
+/sys/class/power_supply/BAT0/energy_now = 48850 [mWh]
+/sys/class/power_supply/BAT0/power_now = 0 [mW]
+/sys/class/power_supply/BAT0/status = Full
+
+Charge = 100.0 [%]
+Capacity = 81.4 [%]
+```
+
+#### 显示磁盘信息
+
+```
+$ sudo tlp-stat -d
+或
+$ sudo tlp-stat --disk
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ Storage Devices
+/dev/sda:
+ Model = WDC WD10SPCX-24HWST1
+ Firmware = 02.01A02
+ APM Level = 128
+ Status = active/idle
+ Scheduler = mq-deadline
+
+ Runtime PM: control = on, autosuspend_delay = (not available)
+
+ SMART info:
+ 4 Start_Stop_Count = 18787
+ 5 Reallocated_Sector_Ct = 0
+ 9 Power_On_Hours = 606 [h]
+ 12 Power_Cycle_Count = 1792
+ 193 Load_Cycle_Count = 25775
+ 194 Temperature_Celsius = 31 [°C]
+
+
++++ AHCI Link Power Management (ALPM)
+/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
+/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
+/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
+/sys/class/scsi_host/host3/link_power_management_policy = med_power_with_dipm
+
++++ AHCI Host Controller Runtime Power Management
+/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
+/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
+/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
+/sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on
+```
+
+#### 显示 PCI 设备信息
+
+```
+$ sudo tlp-stat -e
+或
+$ sudo tlp-stat --pcie
+```
+
+```
+$ sudo tlp-stat -e
+or
+$ sudo tlp-stat --pcie
+
+--- TLP 1.1 --------------------------------------------
+
++++ Runtime Power Management
+Device blacklist = (not configured)
+Driver blacklist = amdgpu nouveau nvidia radeon pcieport
+
+/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore)
+/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
+/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
+/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
+
+......
+```
+
+#### 显示图形卡信息
+
+```
+$ sudo tlp-stat -g
+或
+$ sudo tlp-stat --graphics
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ Intel Graphics
+/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
+/sys/module/i915/parameters/enable_fbc = 1 (enabled)
+/sys/module/i915/parameters/enable_psr = 0 (disabled)
+/sys/module/i915/parameters/modeset = -1 (use per-chip default)
+```
+
+#### 显示处理器信息
+
+```
+$ sudo tlp-stat -p
+或
+$ sudo tlp-stat --processor
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ Processor
+CPU model = Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
+
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 800000 [kHz]
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 3500000 [kHz]
+/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
+/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
+
+......
+
+/sys/devices/system/cpu/intel_pstate/min_perf_pct = 22 [%]
+/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
+/sys/devices/system/cpu/intel_pstate/no_turbo = 0
+/sys/devices/system/cpu/intel_pstate/turbo_pct = 33 [%]
+/sys/devices/system/cpu/intel_pstate/num_pstates = 28
+
+x86_energy_perf_policy: program not installed.
+
+/sys/module/workqueue/parameters/power_efficient = Y
+/proc/sys/kernel/nmi_watchdog = 0
+
++++ Undervolting
+PHC kernel not available.
+```
+
+#### 显示系统数据信息
+
+```
+$ sudo tlp-stat -s
+或
+$ sudo tlp-stat --system
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ System Info
+System = LENOVO Lenovo ideapad Y700-15ISK 80NV
+BIOS = CDCN35WW
+Release = "Manjaro Linux"
+Kernel = 4.19.6-1-MANJARO #1 SMP PREEMPT Sat Dec 1 12:21:26 UTC 2018 x86_64
+/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 root=UUID=69d9dd18-36be-4631-9ebb-78f05fe3217f rw quiet resume=UUID=a2092b92-af29-4760-8e68-7a201922573b
+Init system = systemd
+Boot mode = BIOS (CSM, Legacy)
+
++++ TLP Status
+State = enabled
+Last run = 11:04:00 IST, 596 sec(s) ago
+Mode = battery
+Power source = battery
+```
+
+#### 显示温度和风扇速度信息
+
+```
+$ sudo tlp-stat -t
+或
+$ sudo tlp-stat --temp
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ Temperatures
+CPU temp = 36 [°C]
+Fan speed = (not available)
+```
+
+#### 显示 USB 设备数据信息
+
+```
+$ sudo tlp-stat -u
+或
+$ sudo tlp-stat --usb
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ USB
+Autosuspend = disabled
+Device whitelist = (not configured)
+Device blacklist = (not configured)
+Bluetooth blacklist = disabled
+Phone blacklist = disabled
+WWAN blacklist = enabled
+
+Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
+Bus 001 Device 003 ID 174f:14e8 control = auto, autosuspend_delay_ms = 2000 -- Syntek (uvcvideo)
+
+......
+```
+
+#### 显示警告信息
+
+```
+$ sudo tlp-stat -w
+或
+$ sudo tlp-stat --warn
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
+No warnings detected.
+```
+
+#### 状态报告及配置和所有活动的设置
+
+```
+$ sudo tlp-stat
+```
+
+```
+--- TLP 1.1 --------------------------------------------
+
++++ Configured Settings: /etc/default/tlp
+TLP_ENABLE=1
+TLP_DEFAULT_MODE=AC
+TLP_PERSISTENT_DEFAULT=0
+DISK_IDLE_SECS_ON_AC=0
+DISK_IDLE_SECS_ON_BAT=2
+MAX_LOST_WORK_SECS_ON_AC=15
+MAX_LOST_WORK_SECS_ON_BAT=60
+
+......
+
++++ System Info
+System = LENOVO Lenovo ideapad Y700-15ISK 80NV
+BIOS = CDCN35WW
+Release = "Manjaro Linux"
+Kernel = 4.19.6-1-MANJARO #1 SMP PREEMPT Sat Dec 1 12:21:26 UTC 2018 x86_64
+/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 root=UUID=69d9dd18-36be-4631-9ebb-78f05fe3217f rw quiet resume=UUID=a2092b92-af29-4760-8e68-7a201922573b
+Init system = systemd
+Boot mode = BIOS (CSM, Legacy)
+
++++ TLP Status
+State = enabled
+Last run = 11:04:00 IST, 684 sec(s) ago
+Mode = battery
+Power source = battery
+
++++ Processor
+CPU model = Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
+
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
+/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
+
+......
+
+/sys/devices/system/cpu/intel_pstate/min_perf_pct = 22 [%]
+/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
+/sys/devices/system/cpu/intel_pstate/no_turbo = 0
+/sys/devices/system/cpu/intel_pstate/turbo_pct = 33 [%]
+/sys/devices/system/cpu/intel_pstate/num_pstates = 28
+
+x86_energy_perf_policy: program not installed.
+
+/sys/module/workqueue/parameters/power_efficient = Y
+/proc/sys/kernel/nmi_watchdog = 0
+
++++ Undervolting
+PHC kernel not available.
+
++++ Temperatures
+CPU temp = 42 [°C]
+Fan speed = (not available)
+
++++ File System
+/proc/sys/vm/laptop_mode = 2
+/proc/sys/vm/dirty_writeback_centisecs = 6000
+/proc/sys/vm/dirty_expire_centisecs = 6000
+/proc/sys/vm/dirty_ratio = 20
+/proc/sys/vm/dirty_background_ratio = 10
+
++++ Storage Devices
+/dev/sda:
+ Model = WDC WD10SPCX-24HWST1
+ Firmware = 02.01A02
+ APM Level = 128
+ Status = active/idle
+ Scheduler = mq-deadline
+
+ Runtime PM: control = on, autosuspend_delay = (not available)
+
+ SMART info:
+ 4 Start_Stop_Count = 18787
+ 5 Reallocated_Sector_Ct = 0
+ 9 Power_On_Hours = 606 [h]
+ 12 Power_Cycle_Count = 1792
+ 193 Load_Cycle_Count = 25777
+ 194 Temperature_Celsius = 31 [°C]
+
+
++++ AHCI Link Power Management (ALPM)
+/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
+/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
+/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
+/sys/class/scsi_host/host3/link_power_management_policy = med_power_with_dipm
+
++++ AHCI Host Controller Runtime Power Management
+/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
+/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
+/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
+/sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on
+
++++ PCIe Active State Power Management
+/sys/module/pcie_aspm/parameters/policy = powersave
+
++++ Intel Graphics
+/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
+/sys/module/i915/parameters/enable_fbc = 1 (enabled)
+/sys/module/i915/parameters/enable_psr = 0 (disabled)
+/sys/module/i915/parameters/modeset = -1 (use per-chip default)
+
++++ Wireless
+bluetooth = on
+wifi = on
+wwan = none (no device)
+
+hci0(btusb) : bluetooth, not connected
+wlp8s0(iwlwifi) : wifi, connected, power management = on
+
++++ Audio
+/sys/module/snd_hda_intel/parameters/power_save = 1
+/sys/module/snd_hda_intel/parameters/power_save_controller = Y
+
++++ Runtime Power Management
+Device blacklist = (not configured)
+Driver blacklist = amdgpu nouveau nvidia radeon pcieport
+
+/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore)
+/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
+/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
+
+......
+
++++ USB
+Autosuspend = disabled
+Device whitelist = (not configured)
+Device blacklist = (not configured)
+Bluetooth blacklist = disabled
+Phone blacklist = disabled
+WWAN blacklist = enabled
+
+Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
+Bus 001 Device 003 ID 174f:14e8 control = auto, autosuspend_delay_ms = 2000 -- Syntek (uvcvideo)
+Bus 001 Device 002 ID 17ef:6053 control = on, autosuspend_delay_ms = 2000 -- Lenovo (usbhid)
+Bus 001 Device 004 ID 8087:0a2b control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
+Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
+
++++ Battery Status
+/sys/class/power_supply/BAT0/manufacturer = SMP
+/sys/class/power_supply/BAT0/model_name = L14M4P23
+/sys/class/power_supply/BAT0/cycle_count = (not supported)
+/sys/class/power_supply/BAT0/energy_full_design = 60000 [mWh]
+/sys/class/power_supply/BAT0/energy_full = 51690 [mWh]
+/sys/class/power_supply/BAT0/energy_now = 50140 [mWh]
+/sys/class/power_supply/BAT0/power_now = 12185 [mW]
+/sys/class/power_supply/BAT0/status = Discharging
+
+Charge = 97.0 [%]
+Capacity = 86.2 [%]
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/tlp-increase-optimize-linux-laptop-battery-life/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/check-laptop-battery-status-and-charging-state-in-linux-terminal/
+[2]: https://www.2daygeek.com/powertop-monitors-laptop-battery-usage-linux/
+[3]: https://www.2daygeek.com/monitor-laptop-battery-charging-state-linux/
+[4]: https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
+[5]: https://www.2daygeek.com/category/package-management/
+[6]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[7]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
+[8]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[9]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
+[10]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
+[11]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
diff --git a/published/201905/20181218 Using Pygame to move your game character around.md b/published/201905/20181218 Using Pygame to move your game character around.md
new file mode 100644
index 0000000000..9605601ad7
--- /dev/null
+++ b/published/201905/20181218 Using Pygame to move your game character around.md
@@ -0,0 +1,354 @@
+[#]: collector: (lujun9972)
+[#]: translator: (cycoe)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10874-1.html)
+[#]: subject: (Using Pygame to move your game character around)
+[#]: via: (https://opensource.com/article/17/12/game-python-moving-player)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
+
+用 Pygame 使你的游戏角色移动起来
+======
+> 在本系列的第四部分,学习如何编写移动游戏角色的控制代码。
+
+
+
+在这个系列的第一篇文章中,我解释了如何使用 Python 创建一个简单的[基于文本的骰子游戏][1]。在第二部分中,我向你们展示了如何从头开始构建游戏,即从 [创建游戏的环境][2] 开始。然后在第三部分,我们[创建了一个玩家妖精][3],并且使它在你的(而不是空的)游戏世界内生成。你可能已经注意到,如果你不能移动你的角色,那么游戏不是那么有趣。在本篇文章中,我们将使用 Pygame 来添加键盘控制,如此一来你就可以控制你的角色的移动。
+
+在 Pygame 中有许多函数可以用来添加(除键盘外的)其他控制,但如果你正在敲击 Python 代码,那么你一定是有一个键盘的,这将成为我们接下来会使用的控制方式。一旦你理解了键盘控制,你可以自己去探索其他选项。
+
+在本系列的第二篇文章中,你已经为退出游戏创建了一个按键,移动角色的(按键)原则也是相同的。但是,使你的角色移动起来要稍微复杂一点。
+
+让我们从简单的部分入手:设置控制器按键。
+
+### 为控制你的玩家妖精设置按键
+
+在 IDLE、Ninja-IDE 或文本编辑器中打开你的 Python 游戏脚本。
+
+因为游戏需要时刻“监听”键盘事件,所以你写的代码需要连续运行。你知道应该把需要在游戏周期中持续运行的代码放在哪里吗?
+
+如果你回答“放在主循环中”,那么你是正确的!记住除非代码在循环中,否则(大多数情况下)它只会运行仅一次。如果它被写在一个从未被使用的类或函数中,它可能根本不会运行。
+
+要使 Python 监听传入的按键,将如下代码添加到主循环。目前的代码还不能产生任何的效果,所以使用 `print` 语句来表示成功的信号。这是一种常见的调试技术。
+
+```
+while main == True:
+ for event in pygame.event.get():
+ if event.type == pygame.QUIT:
+ pygame.quit(); sys.exit()
+ main = False
+
+ if event.type == pygame.KEYDOWN:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ print('left')
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ print('right')
+ if event.key == pygame.K_UP or event.key == ord('w'):
+ print('jump')
+
+ if event.type == pygame.KEYUP:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ print('left stop')
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ print('right stop')
+ if event.key == ord('q'):
+ pygame.quit()
+ sys.exit()
+ main = False
+```
+
+一些人偏好使用键盘字母 `W`、`A`、`S` 和 `D` 来控制玩家角色,而另一些偏好使用方向键。因此确保你包含了两种选项。
+
+注意:当你在编程时,同时考虑所有用户是非常重要的。如果你写代码只是为了自己运行,那么很可能你会成为你写的程序的唯一用户。更重要的是,如果你想找一个通过写代码赚钱的工作,你写的代码就应该让所有人都能运行。给你的用户选择权,比如提供使用方向键或 WASD 的选项,是一个优秀程序员的标志。
+
+使用 Python 启动你的游戏,并在你按下“上下左右”方向键或 `A`、`D` 和 `W` 键的时候查看控制台窗口的输出。
+
+```
+$ python ./your-name_game.py
+ left
+ left stop
+ right
+ right stop
+ jump
+```
+
+这验证了 Pygame 可以正确地检测按键。现在是时候来完成使妖精移动的艰巨任务了。
+
+### 编写玩家移动函数
+
+为了使你的妖精移动起来,你必须为你的妖精创建一个属性代表移动。当你的妖精没有在移动时,这个变量被设为 `0`。
+
+如果你正在为你的妖精设置动画,或者你决定在将来为它设置动画,你还必须跟踪帧来使走路循环保持在轨迹上。
+
+在 `Player` 类中创建如下变量。开头两行作为上下文对照(如果你一直跟着做,你的代码中就已经有这两行),因此只需要添加最后三行:
+
+```
+ def __init__(self):
+ pygame.sprite.Sprite.__init__(self)
+ self.movex = 0 # 沿 X 方向移动
+ self.movey = 0 # 沿 Y 方向移动
+ self.frame = 0 # 帧计数
+```
+
+设置好了这些变量,是时候去为妖精移动编写代码了。
+
+玩家妖精不需要时刻响应控制,有时它并没有在移动。控制妖精的代码,仅仅只是玩家妖精所有能做的事情中的一小部分。在 Python 中,当你想要使一个对象做某件事并独立于剩余其他代码时,你可以将你的新代码放入一个函数。Python 的函数以关键词 `def` 开头,(该关键词)代表了定义函数。
+
+在你的 `Player` 类中创建如下函数,来为你的妖精在屏幕上的位置增加几个像素。现在先不要担心你增加几个像素,这将在后续的代码中确定。
+
+```
+ def control(self,x,y):
+ '''
+ 控制玩家移动
+ '''
+ self.movex += x
+ self.movey += y
+```
+
+为了在 Pygame 中移动妖精,你需要告诉 Python 在新的位置重绘妖精,以及这个新位置在哪里。
+
+因为玩家妖精并不总是在移动,所以更新只需要是 Player 类中的一个函数。将此函数添加前面创建的 `control` 函数之后。
+
+要使妖精看起来像是在行走(或者飞行,或是你的妖精应该做的任何事),你需要在按下适当的键时改变它在屏幕上的位置。要让它在屏幕上移动,你需要将它的位置(由 `self.rect.x` 和 `self.rect.y` 属性指定)重新定义为当前位置加上已应用的任意 `movex` 或 `movey`。(移动的像素数量将在后续进行设置。)
+
+```
+ def update(self):
+ '''
+ 更新妖精位置
+ '''
+ self.rect.x = self.rect.x + self.movex
+```
+
+对 Y 方向做同样的处理:
+
+```
+ self.rect.y = self.rect.y + self.movey
+```
+
+对于动画,在妖精移动时推进动画帧,并使用相应的动画帧作为玩家的图像:
+
+```
+ # 向左移动
+ if self.movex < 0:
+ self.frame += 1
+ if self.frame > 3*ani:
+ self.frame = 0
+ self.image = self.images[self.frame//ani]
+
+ # 向右移动
+ if self.movex > 0:
+ self.frame += 1
+ if self.frame > 3*ani:
+ self.frame = 0
+ self.image = self.images[(self.frame//ani)+4]
+```
+
+通过设置一个变量来告诉代码为你的妖精位置增加多少像素,然后在触发你的玩家妖精的函数时使用这个变量。
+
+首先,在你的设置部分创建这个变量。在如下代码中,开头两行是上下文对照,因此只需要在你的脚本中增加第三行代码:
+
+```
+player_list = pygame.sprite.Group()
+player_list.add(player)
+steps = 10 # 移动多少个像素
+```
+
+现在你已经有了适当的函数和变量,使用你的按键来触发函数并将变量传递给你的妖精。
+
+为此,将主循环中的 `print` 语句替换为玩家妖精的名字(`player`)、函数(`.control`)以及你希望玩家妖精在每个循环中沿 X 轴和 Y 轴移动的步数。
+
+```
+ if event.type == pygame.KEYDOWN:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ player.control(-steps,0)
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ player.control(steps,0)
+ if event.key == pygame.K_UP or event.key == ord('w'):
+ print('jump')
+
+ if event.type == pygame.KEYUP:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ player.control(steps,0)
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ player.control(-steps,0)
+ if event.key == ord('q'):
+ pygame.quit()
+ sys.exit()
+ main = False
+```
+
+记住,`steps` 变量代表了当一个按键被按下时,你的妖精会移动多少个像素。如果当你按下 `D` 或右方向键时,你的妖精的位置增加了 10 个像素。那么当你停止按下这个键时,你必须(将 `step`)减 10(`-steps`)来使你的妖精的动量回到 0。
+
+现在尝试你的游戏。注意:它不会像你预想的那样运行。
+
+为什么你的妖精仍无法移动?因为主循环还没有调用 `update` 函数。
+
+将如下代码加入到你的主循环中来告诉 Python 更新你的玩家妖精的位置。增加带注释的那行:
+
+```
+ player.update() # 更新玩家位置
+ player_list.draw(world)
+ pygame.display.flip()
+ clock.tick(fps)
+```
+
+再次启动你的游戏来见证你的玩家妖精在你的命令下在屏幕上来回移动。现在还没有垂直方向的移动,因为这部分函数会被重力控制,不过这是另一篇文章中的课程了。
+
+与此同时,如果你拥有一个摇杆,你可以尝试阅读 Pygame 中 [joystick][4] 模块相关的文档,看看你是否能通过这种方式让你的妖精移动起来。或者,看看你是否能通过[鼠标][5]与你的妖精互动。
+
+最重要的是,玩的开心!
+
+### 本教程中用到的所有代码
+
+为了方便查阅,以下是目前本系列文章用到的所有代码。
+
+```
+#!/usr/bin/env python3
+# 绘制世界
+# 添加玩家和玩家控制
+# 添加玩家移动控制
+
+# GNU All-Permissive License
+# Copying and distribution of this file, with or without modification,
+# are permitted in any medium without royalty provided the copyright
+# notice and this notice are preserved. This file is offered as-is,
+# without any warranty.
+
+import pygame
+import sys
+import os
+
+'''
+Objects
+'''
+
+class Player(pygame.sprite.Sprite):
+ '''
+ 生成玩家
+ '''
+ def __init__(self):
+ pygame.sprite.Sprite.__init__(self)
+ self.movex = 0
+ self.movey = 0
+ self.frame = 0
+ self.images = []
+ for i in range(1,5):
+ img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
+ img.convert_alpha()
+ img.set_colorkey(ALPHA)
+ self.images.append(img)
+ self.image = self.images[0]
+ self.rect = self.image.get_rect()
+
+ def control(self,x,y):
+ '''
+ 控制玩家移动
+ '''
+ self.movex += x
+ self.movey += y
+
+ def update(self):
+ '''
+ 更新妖精位置
+ '''
+
+ self.rect.x = self.rect.x + self.movex
+ self.rect.y = self.rect.y + self.movey
+
+ # 向左移动
+ if self.movex < 0:
+ self.frame += 1
+ if self.frame > 3*ani:
+ self.frame = 0
+ self.image = self.images[self.frame//ani]
+
+ # 向右移动
+ if self.movex > 0:
+ self.frame += 1
+ if self.frame > 3*ani:
+ self.frame = 0
+ self.image = self.images[(self.frame//ani)+4]
+
+
+'''
+设置
+'''
+worldx = 960
+worldy = 720
+
+fps = 40 # 帧刷新率
+ani = 4 # 动画循环
+clock = pygame.time.Clock()
+pygame.init()
+main = True
+
+BLUE = (25,25,200)
+BLACK = (23,23,23 )
+WHITE = (254,254,254)
+ALPHA = (0,255,0)
+
+world = pygame.display.set_mode([worldx,worldy])
+backdrop = pygame.image.load(os.path.join('images','stage.png')).convert()
+backdropbox = world.get_rect()
+player = Player() # 生成玩家
+player.rect.x = 0
+player.rect.y = 0
+player_list = pygame.sprite.Group()
+player_list.add(player)
+steps = 10 # 移动速度
+
+'''
+主循环
+'''
+while main == True:
+ for event in pygame.event.get():
+ if event.type == pygame.QUIT:
+ pygame.quit(); sys.exit()
+ main = False
+
+ if event.type == pygame.KEYDOWN:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ player.control(-steps,0)
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ player.control(steps,0)
+ if event.key == pygame.K_UP or event.key == ord('w'):
+ print('jump')
+
+ if event.type == pygame.KEYUP:
+ if event.key == pygame.K_LEFT or event.key == ord('a'):
+ player.control(steps,0)
+ if event.key == pygame.K_RIGHT or event.key == ord('d'):
+ player.control(-steps,0)
+ if event.key == ord('q'):
+ pygame.quit()
+ sys.exit()
+ main = False
+
+# world.fill(BLACK)
+ world.blit(backdrop, backdropbox)
+ player.update()
+ player_list.draw(world) # 更新玩家位置
+ pygame.display.flip()
+ clock.tick(fps)
+```
+
+你已经学了很多,但还仍有许多可以做。在接下来的几篇文章中,你将实现添加敌方妖精、模拟重力等等。与此同时,练习 Python 吧!
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/17/12/game-python-moving-player
+
+作者:[Seth Kenlon][a]
+选题:[lujun9972][b]
+译者:[cycoe](https://github.com/cycoe)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/seth
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-9071-1.html
+[2]: https://linux.cn/article-10850-1.html
+[3]: https://linux.cn/article-10858-1.html
+[4]: http://pygame.org/docs/ref/joystick.html
+[5]: http://pygame.org/docs/ref/mouse.html#module-pygame.mouse
diff --git a/published/201905/20190107 Aliases- To Protect and Serve.md b/published/201905/20190107 Aliases- To Protect and Serve.md
new file mode 100644
index 0000000000..60299f61c5
--- /dev/null
+++ b/published/201905/20190107 Aliases- To Protect and Serve.md
@@ -0,0 +1,172 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10918-1.html)
+[#]: subject: (Aliases: To Protect and Serve)
+[#]: via: (https://www.linux.com/blog/learn/2019/1/aliases-protect-and-serve)
+[#]: author: (Paul Brown https://www.linux.com/users/bro66)
+
+命令别名:保护和服务
+======
+
+> Linux shell 允许你将命令彼此链接在一起,一次触发执行复杂的操作,并且可以对此创建别名作为快捷方式。
+
+
+
+让我们将继续我们的别名系列。到目前为止,你可能已经阅读了我们的[关于别名的第一篇文章][1],并且应该非常清楚它们是如何为你省去很多麻烦的最简单方法。例如,你已经看到它们帮助我们减少了输入,让我们看看别名派上用场的其他几个案例。
+
+### 别名即快捷方式
+
+Linux shell 最美妙的事情之一是可以使用数以万计的选项和把命令连接在一起执行真正复杂的操作。好吧,也许这种美丽是在旁观者的眼中的,但是我们觉得这个功能很实用。
+
+不利的一面是,你经常需要记得难以记忆或难以打字出来的命令组合。比如说硬盘上的空间非常宝贵,而你想要做一些清洁工作。你的第一步可能是寻找隐藏在你的家目录里的东西。你可以用来判断的一个标准是查找不再使用的内容。`ls` 可以帮助你:
+
+```
+ls -lct
+```
+
+上面的命令显示了每个文件和目录的详细信息(`-l`),并显示了每一项上次访问的时间(`-c`),然后它按从最近访问到最少访问的顺序排序这个列表(`-t`)。
+
+这难以记住吗?你可能不会每天都使用 `-c` 和 `-t` 选项,所以也许是吧。无论如何,定义一个别名,如:
+
+```
+alias lt='ls -lct'
+```
+
+会更容易一些。
+
+然后,你也可能希望列表首先显示最旧的文件:
+
+```
+alias lo='lt -F | tac'
+```
+
+![aliases][3]
+
+*图 1:使用 lt 和 lo 别名。*
+
+这里有一些有趣的事情。首先,我们使用别名(`lt`)来创建另一个别名 —— 这是完全可以的。其次,我们将一个新参数传递给 `lt`(后者又通过 `lt` 别名的定义传递给了 `ls`)。
+
+`-F` 选项会将特殊符号附加到项目的名称后,以便更好地区分常规文件(没有符号)和可执行文件(附加了 `*`)、目录文件(以 `/` 结尾),以及所有链接文件、符号链接文件(以 `@` 符号结尾)等等。`-F` 选项是当你回归到单色终端的日子里,没有其他方法可以轻松看到列表项之间的差异时用的。在这里使用它是因为当你将输出从 `lt` 传递到 `tac` 时,你会丢失 `ls` 的颜色。
+
+第三件我们需要注意的事情是我们使用了管道。管道用于你将一个命令的输出传递给另外一个命令时。第二个命令可以使用这些输出作为它的输入。在包括 Bash 在内的许多 shell 里,你可以使用管道符(`|`) 来做传递。
+
+在这里,你将来自 `lt -F` 的输出导给 `tac`。`tac` 这个命令有点玩笑的意思,你或许听说过 `cat` 命令,它名义上用于将文件彼此连接(con`cat`),而在实践中,它被用于将一个文件的内容打印到终端。`tac` 做的事情一样,但是它是以逆序将接收到的内容输出出来。明白了吗?`cat` 和 `tac`,技术人有时候也挺有趣的。
+
+`cat` 和 `tac` 都能输出通过管道传递过来的内容,在这里,也就是一个按时间顺序排序的文件列表。
+
+那么,在有些离题之后,最终我们得到的就是这个列表将当前目录中的文件和目录以新鲜度的逆序列出(即老的在前)。
+
+最后你需要注意的是,当在当前目录或任何目录运行 `lt` 时:
+
+```
+# 这可以工作:
+lt
+# 这也可以:
+lt /some/other/directory
+```
+
+……而 `lo` 只能在当前目录奏效:
+
+```
+# 这可工作:
+lo
+# 而这不行:
+lo /some/other/directory
+```
+
+这是因为 Bash 会展开别名的组分。当你键入:
+
+```
+lt /some/other/directory
+```
+
+Bash 实际上运行的是:
+
+```
+ls -lct /some/other/directory
+```
+
+这是一个有效的 Bash 命令。
+
+而当你键入:
+
+```
+lo /some/other/directory
+```
+
+Bash 试图运行:
+
+```
+ls -lct -F | tac /some/other/directory
+```
+
+这不是一个有效的命令,主要是因为 `/some/other/directory` 是个目录,而 `cat` 和 `tac` 不能用于目录。
+
+### 更多的别名快捷方式
+
+ * `alias lll='ls -R'` 会打印出目录的内容,并深入到子目录里面打印子目录的内容,以及子目录的子目录,等等。这是一个查看一个目录下所有内容的方式。
+ * `mkdir='mkdir -pv'` 可以让你一次性创建目录下的目录。按照 `mkdir` 的基本形式,要创建一个包含子目录的目录,你必须这样:
+
+```
+mkdir newdir
+mkdir newdir/subdir
+```
+
+或这样:
+
+```
+mkdir -p newdir/subdir
+```
+
+而用这个别名你将只需要这样就行:
+
+```
+mkdir newdir/subdir
+```
+
+你的新 `mkdir` 也会告诉你创建子目录时都做了什么。
+
+### 别名也是一种保护
+
+别名的另一个好处是它可以作为防止你意外地删除或覆写已有的文件的保护措施。你可能听说过这个 Linux 新用户的传言,当他们以 root 身份运行:
+
+```
+rm -rf /
+```
+
+整个系统就爆了。而决定输入如下命令的用户:
+
+```
+rm -rf /some/directory/ *
+```
+
+就很好地干掉了他们的家目录的全部内容。这里不小心键入的目录和 `*` 之间的那个空格有时候很容易就会被忽视掉。
+
+这两种情况我们都可以通过 `alias rm='rm -i'` 别名来避免。`-i` 选项会使 `rm` 询问用户是否真的要做这个操作,在你对你的文件系统做出不可弥补的损失之前给你第二次机会。
+
+对于 `cp` 也是一样,它能够覆盖一个文件而不会给你任何提示。创建一个类似 `alias cp='cp -i'` 来保持安全吧。
+
+### 下一次
+
+我们越来越深入到了脚本领域,下一次,我们将沿着这个方向,看看如何在命令行组合命令以给你真正的乐趣,并可靠地解决系统管理员每天面临的问题。
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.linux.com/blog/learn/2019/1/aliases-protect-and-serve
+
+作者:[Paul Brown][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.linux.com/users/bro66
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-10377-1.html
+[2]: https://www.linux.com/files/images/fig01png-0
+[3]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/fig01_0.png?itok=crqTm_va (aliases)
+[4]: https://www.linux.com/licenses/category/used-permission
diff --git a/published/201905/20190307 How to Restart a Network in Ubuntu -Beginner-s Tip.md b/published/201905/20190307 How to Restart a Network in Ubuntu -Beginner-s Tip.md
new file mode 100644
index 0000000000..5da1acbdd0
--- /dev/null
+++ b/published/201905/20190307 How to Restart a Network in Ubuntu -Beginner-s Tip.md
@@ -0,0 +1,212 @@
+[#]: collector: (lujun9972)
+[#]: translator: (bodhix)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10804-1.html)
+[#]: subject: (How to Restart a Network in Ubuntu [Beginner’s Tip])
+[#]: via: (https://itsfoss.com/restart-network-ubuntu)
+[#]: author: (Sergiu https://itsfoss.com/author/sergiu/)
+
+Linux 初学者:如何在 Ubuntu 中重启网络
+======
+
+你[是否正在使用基于 Ubuntu 的系统,然后发现无法连接网络][1]?你一定会很惊讶,很多的问题都可以简单地通过重启服务解决。
+
+在这篇文章中,我会介绍在 Ubuntu 或者其他 Linux 发行版中重启网络的几种方法,你可以根据自身需要选择对应的方法。这些方法基本分为两类:
+
+![Ubuntu Restart Network][2]
+
+### 通过命令行方式重启网络
+
+如果你使用的 Ubuntu 服务器版,那么你已经在使用命令行终端了。如果你使用的是桌面版,那么你可以通过快捷键 `Ctrl+Alt+T` [Ubuntu 键盘快捷键][3] 打开命令行终端。
+
+在 Ubuntu 中,有多个命令可以重启网络。这些命令,一部分或者说大部分,也适用于在 Debian 或者其他的 Linux 发行版中重启网络。
+
+#### 1、network manager 服务
+
+这是通过命令行方式重启网络最简单的方法。它相当于是通过图形化界面重启网络(重启 Network-Manager 服务)。
+
+```
+sudo service network-manager restart
+```
+
+此时,网络图标会消失一会儿然后重新显示。
+
+#### 2、systemd
+
+`service` 命令仅仅是这个方式的一个封装(同样的也是 init.d 系列脚本和 Upstart 相关命令的封装)。`systemctl` 命令的功能远多于 `service` 命令。通常我更喜欢使用这个命令。
+
+```
+sudo systemctl restart NetworkManager.service
+```
+
+这时,网络图标又会消失一会儿。 如果你想了解 `systemctl` 的其他选项, 可以参考 man 帮助文档。
+
+#### 3、nmcli
+
+这是 Linux 上可以管理网络的另一个工具。这是一个功能强大而且实用的工具。很多系统管理员都喜欢使用该工具,因为它非常容易使用。
+
+这种方法有两个操作步骤:关闭网络,再开启网络。
+
+```
+sudo nmcli networking off
+```
+
+这样就会关闭网络,网络图标会消失。接下来,再开启网络:
+
+```
+sudo nmcli networking on
+```
+
+你可以通过 man 帮助文档了解 nmcli 的更多用法。
+
+#### 4、ifup & ifdown
+
+这两个命令直接操作网口,切换网口是否可以收发包的状态。这是 [Linux 中最应该了解的网络命令][4] 之一。
+
+使用 `ifdown` 关闭所有网口,再使用 `ifup` 重新启用网口。
+
+通常推荐的做法是将这两个命令一起使用。
+
+```
+sudo ifdown -a && sudo ifup -a
+```
+
+注意:这种方法不会让网络图标从系统托盘中消失,另外,各种网络连接也会断。
+
+#### 补充工具: nmtui
+
+这是系统管理员们常用的另外一种方法。它是在命令行终端中管理网络的文本菜单工具。
+
+```
+nmtui
+```
+
+打开如下菜单:
+
+![nmtui Menu][5]
+
+注意:在 nmtui 中,可以通过 `up` 和 `down` 方向键选择选项。
+
+选择 “Activate a connection”:
+
+![nmtui Menu Select "Activate a connection"][6]
+
+按下回车键,打开 “connections” 菜单。
+
+![nmtui Connections Menu][7]
+
+接下来,选择前面带星号(*)的网络。在这个例子中,就是 MGEO72。
+
+![Select your connection in the nmtui connections menu.][8]
+
+按下回车键。 这就将“停用”你的网络连接。
+
+![nmtui Connections Menu with no active connection][9]
+
+选择你要连接的网络:
+
+![Select the connection you want in the nmtui connections menu.][10]
+
+按下回车键。这样就重新激活了所选择的网络连接。
+
+![nmtui Connections Menu][11]
+
+按下 `Tab` 键两次,选择 “Back”:
+
+![Select "Back" in the nmtui connections menu.][12]
+
+按下回车键,回到 nmtui 的主菜单。
+
+![nmtui Main Menu][13]
+
+选择 “Quit” :
+
+![nmtui Quit Main Menu][14]
+
+退出该界面,返回到命令行终端。
+
+就这样,你已经成功重启网络了。
+
+### 通过图形化界面重启网络
+
+显然,这是 Ubuntu 桌面版用户重启网络最简单的方法。如果这个方法不生效,你可以尝试使用前文提到的命令行方式重启网络。
+
+NM 小程序是 [NetworkManager][15] 的系统托盘程序标志。我们将使用它来重启网络。
+
+首先,查看顶部状态栏。你会在系统托盘找到一个网络图标 (因为我使用 Wi-Fi,所以这里是一个 Wi-Fi 图标)。
+
+接下来,点击该图标(也可以点击音量图标或电池图标)。打开菜单。选择 “Turn Off” 关闭网络。
+
+![Restart network in Ubuntu][16]
+
+网络图标会在状态栏中消失,这表示你已经成功关闭网络了。
+
+再次点击系统托盘重新打开菜单,选择 “Turn On”,重新开启网络。
+
+![Restarting network in Ubuntu][17]
+
+恭喜!你现在已经重启你的网络了。
+
+#### 其他提示:刷新可用网络列表
+
+如果你已经连接上一个网络,但是你想连接到另外一个网络,你如何刷新 WiFi 列表,查找其他可用的网络呢?我来向你展示一下。
+
+Ubuntu 没有可以直接 “刷新 WiFi 网络” 的选项,它有点隐蔽。
+
+你需要再次打开配置菜单,然后点击 “Select Network” 。
+
+![Refresh wifi network list in Ubuntu][18]
+
+选择对应的网络修改你的 WiFi 连接。
+
+你无法马上看到可用的无线网络列表。打开网络列表之后,大概需要 5 秒才会显示其它可用的无线网络。
+
+![Select another wifi network in Ubuntu][19]
+
+等待大概 5 秒钟,看到其他可用的网络。
+
+现在,你就可以选择你想要连接的网络,点击连接。这样就完成了。
+
+### 总结
+
+重启网络连接是每个 Linux 用户在使用过程中必须经历的事情。
+
+我们希望这些方法可以帮助你处理这样的问题!
+
+你是如何重启或管理你的网络的?我们是否还有遗漏的?请在下方留言。
+
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/restart-network-ubuntu
+
+作者:[Sergiu][a]
+选题:[lujun9972][b]
+译者:[bodhix](https://github.com/bodhix)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/sergiu/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/fix-no-wireless-network-ubuntu/
+[2]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/ubuntu-restart-network.png?resize=800%2C450&ssl=1
+[3]: https://itsfoss.com/ubuntu-shortcuts/
+[4]: https://itsfoss.com/basic-linux-networking-commands/
+[5]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmtui_menu.png?fit=800%2C602&ssl=1
+[6]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmtui_menu_select_option.png?fit=800%2C579&ssl=1
+[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_on.png?fit=800%2C585&ssl=1
+[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_select_connection_on.png?fit=800%2C576&ssl=1
+[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_off.png?fit=800%2C572&ssl=1
+[10]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_select_connection_off.png?fit=800%2C566&ssl=1
+[11]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_on-1.png?fit=800%2C585&ssl=1
+[12]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_back.png?fit=800%2C585&ssl=1
+[13]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmtui_menu_select_option-1.png?fit=800%2C579&ssl=1
+[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_menu_quit.png?fit=800%2C580&ssl=1
+[15]: https://wiki.gnome.org/Projects/NetworkManager
+[16]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/restart-network-ubuntu-1.jpg?resize=800%2C400&ssl=1
+[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/restart-network-ubuntu-2.jpg?resize=800%2C400&ssl=1
+[18]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/select-wifi-network-ubuntu.jpg?resize=800%2C400&ssl=1
+[19]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/select-wifi-network-ubuntu-1.jpg?resize=800%2C400&ssl=1
+[20]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/ubuntu-restart-network.png?fit=800%2C450&ssl=1
diff --git a/published/201905/20190308 Virtual filesystems in Linux- Why we need them and how they work.md b/published/201905/20190308 Virtual filesystems in Linux- Why we need them and how they work.md
new file mode 100644
index 0000000000..8ffd7c6ab0
--- /dev/null
+++ b/published/201905/20190308 Virtual filesystems in Linux- Why we need them and how they work.md
@@ -0,0 +1,210 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10884-1.html)
+[#]: subject: (Virtual filesystems in Linux: Why we need them and how they work)
+[#]: via: (https://opensource.com/article/19/3/virtual-filesystems-linux)
+[#]: author: (Alison Chariken )
+
+详解 Linux 中的虚拟文件系统
+======
+
+> 虚拟文件系统是一种神奇的抽象,它使得 “一切皆文件” 哲学在 Linux 中成为了可能。
+
+
+
+什么是文件系统?根据早期的 Linux 贡献者和作家 [Robert Love][1] 所说,“文件系统是一个遵循特定结构的数据的分层存储。” 不过,这种描述也同样适用于 VFAT(虚拟文件分配表)、Git 和[Cassandra][2](一种 [NoSQL 数据库][3])。那么如何区别文件系统呢?
+
+### 文件系统基础概念
+
+Linux 内核要求文件系统必须是实体,它还必须在持久对象上实现 `open()`、`read()` 和 `write()` 方法,并且这些实体需要有与之关联的名字。从 [面向对象编程][4] 的角度来看,内核将通用文件系统视为一个抽象接口,这三大函数是“虚拟”的,没有默认定义。因此,内核的默认文件系统实现被称为虚拟文件系统(VFS)。
+
+![][5]
+
+*如果我们能够 `open()`、`read()` 和 `write()`,它就是一个文件,如这个主控台会话所示。*
+
+VFS 是著名的类 Unix 系统中 “一切皆文件” 概念的基础。让我们看一下它有多奇怪,上面的小小演示体现了字符设备 `/dev/console` 实际的工作。该图显示了一个在虚拟电传打字控制台(tty)上的交互式 Bash 会话。将一个字符串发送到虚拟控制台设备会使其显示在虚拟屏幕上。而 VFS 甚至还有其它更奇怪的属性。例如,它[可以在其中寻址][6]。
+
+我们熟悉的文件系统如 ext4、NFS 和 /proc 都在名为 [file_operations] [7] 的 C 语言数据结构中提供了三大函数的定义。此外,个别的文件系统会以熟悉的面向对象的方式扩展和覆盖了 VFS 功能。正如 Robert Love 指出的那样,VFS 的抽象使 Linux 用户可以轻松地将文件复制到(或复制自)外部操作系统或抽象实体(如管道),而无需担心其内部数据格式。在用户空间这一侧,通过系统调用,进程可以使用文件系统方法之一 `read()` 从文件复制到内核的数据结构中,然后使用另一种文件系统的方法 `write()` 输出数据。
+
+属于 VFS 基本类型的函数定义本身可以在内核源代码的 [fs/*.c 文件][8] 中找到,而 `fs/` 的子目录中包含了特定的文件系统。内核还包含了类似文件系统的实体,例如 cgroup、`/dev` 和 tmpfs,在引导过程的早期需要它们,因此定义在内核的 `init/` 子目录中。请注意,cgroup、`/dev` 和 tmpfs 不会调用 `file_operations` 的三大函数,而是直接读取和写入内存。
+
+下图大致说明了用户空间如何访问通常挂载在 Linux 系统上的各种类型文件系统。像管道、dmesg 和 POSIX 时钟这样的结构在此图中未显示,它们也实现了 `struct file_operations`,而且其访问也要通过 VFS 层。
+
+![How userspace accesses various types of filesystems][9]
+
+VFS 是个“垫片层”,位于系统调用和特定 `file_operations` 的实现(如 ext4 和 procfs)之间。然后,`file_operations` 函数可以与特定于设备的驱动程序或内存访问器进行通信。tmpfs、devtmpfs 和 cgroup 不使用 `file_operations` 而是直接访问内存。
+
+VFS 的存在促进了代码重用,因为与文件系统相关的基本方法不需要由每种文件系统类型重新实现。代码重用是一种被广泛接受的软件工程最佳实践!唉,但是如果重用的代码[引入了严重的错误][10],那么继承常用方法的所有实现都会受到影响。
+
+### /tmp:一个小提示
+
+找出系统中存在的 VFS 的简单方法是键入 `mount | grep -v sd | grep -v :/`,在大多数计算机上,它将列出所有未驻留在磁盘上,同时也不是 NFS 的已挂载文件系统。其中一个列出的 VFS 挂载肯定是 `/tmp`,对吧?
+
+![Man with shocked expression][11]
+
+*谁都知道把 /tmp 放在物理存储设备上简直是疯了!图片:*
+
+为什么把 `/tmp` 留在存储设备上是不可取的?因为 `/tmp` 中的文件是临时的(!),并且存储设备比内存慢,所以创建了 tmpfs 这种文件系统。此外,比起内存,物理设备频繁写入更容易磨损。最后,`/tmp` 中的文件可能包含敏感信息,因此在每次重新启动时让它们消失是一项功能。
+
+不幸的是,默认情况下,某些 Linux 发行版的安装脚本仍会在存储设备上创建 /tmp。如果你的系统出现这种情况,请不要绝望。按照一直优秀的 [Arch Wiki][12] 上的简单说明来解决问题就行,记住分配给 tmpfs 的内存就不能用于其他目的了。换句话说,包含了大文件的庞大的 tmpfs 可能会让系统耗尽内存并崩溃。
+
+另一个提示:编辑 `/etc/fstab` 文件时,请务必以换行符结束,否则系统将无法启动。(猜猜我怎么知道。)
+
+### /proc 和 /sys
+
+除了 `/tmp` 之外,大多数 Linux 用户最熟悉的 VFS 是 `/proc` 和 `/sys`。(`/dev` 依赖于共享内存,而没有 `file_operations` 结构)。为什么有两种呢?让我们来看看更多细节。
+
+procfs 为用户空间提供了内核及其控制的进程的瞬时状态的快照。在 `/proc` 中,内核发布有关其提供的设施的信息,如中断、虚拟内存和调度程序。此外,`/proc/sys` 是存放可以通过 [sysctl 命令][13]配置的设置的地方,可供用户空间访问。单个进程的状态和统计信息在 `/proc/` 目录中报告。
+
+![Console][14]
+
+*/proc/meminfo 是一个空文件,但仍包含有价值的信息。*
+
+`/proc` 文件的行为说明了 VFS 可以与磁盘上的文件系统不同。一方面,`/proc/meminfo` 包含了可由命令 `free` 展现出来的信息。另一方面,它还是空的!怎么会这样?这种情况让人联想起康奈尔大学物理学家 N. David Mermin 在 1985 年写的一篇名为《[没有人看见月亮的情况吗?][15]现实和量子理论》。事实是当进程从 `/proc` 请求数据时内核再收集有关内存的统计信息,而且当没有人查看它时,`/proc` 中的文件实际上没有任何内容。正如 [Mermin 所说][16],“这是一个基本的量子学说,一般来说,测量不会揭示被测属性的预先存在的价值。”(关于月球的问题的答案留作练习。)
+
+![Full moon][17]
+
+*当没有进程访问它们时,/proc 中的文件为空。([来源][18])*
+
+procfs 的空文件是有道理的,因为那里可用的信息是动态的。sysfs 的情况则不同。让我们比较一下 `/proc` 与 `/sys` 中不为空的文件数量。
+
+
+
+procfs 只有一个不为空的文件,即导出的内核配置,这是一个例外,因为每次启动只需要生成一次。另一方面,`/sys` 有许多更大一些的文件,其中大多数由一页内存组成。通常,sysfs 文件只包含一个数字或字符串,与通过读取 `/proc/meminfo` 等文件生成的信息表格形成鲜明对比。
+
+sysfs 的目的是将内核称为 “kobject” 的可读写属性公开给用户空间。kobject 的唯一目的是引用计数:当删除对 kobject 的最后一个引用时,系统将回收与之关联的资源。然而,`/sys` 构成了内核著名的“[到用户空间的稳定 ABI][19]”,它的大部分内容[在任何情况下都没有人能“破坏”][20]。但这并不意味着 sysfs 中的文件是静态,这与易失性对象的引用计数相反。
+
+内核的稳定 ABI 限制了 `/sys` 中可能出现的内容,而不是任何给定时刻实际存在的内容。列出 sysfs 中文件的权限可以了解如何设置或读取设备、模块、文件系统等的可配置、可调参数。逻辑上强调 procfs 也是内核稳定 ABI 的一部分的结论,尽管内核的[文档][19]没有明确说明。
+
+![Console][21]
+
+*sysfs 中的文件确切地描述了实体的每个属性,并且可以是可读的、可写的,或两者兼而有之。文件中的“0”表示 SSD 不可移动的存储设备。*
+
+### 用 eBPF 和 bcc 工具一窥 VFS 内部
+
+了解内核如何管理 sysfs 文件的最简单方法是观察它的运行情况,在 ARM64 或 x86_64 上观看的最简单方法是使用 eBPF。eBPF(扩展的伯克利数据包过滤器)由[在内核中运行的虚拟机][22]组成,特权用户可以从命令行进行查询。内核源代码告诉读者内核可以做什么;而在一个启动的系统上运行 eBPF 工具会显示内核实际上做了什么。
+
+令人高兴的是,通过 [bcc][23] 工具入门使用 eBPF 非常容易,这些工具在[主要 Linux 发行版的软件包][24] 中都有,并且已经由 Brendan Gregg [给出了充分的文档说明][25]。bcc 工具是带有小段嵌入式 C 语言片段的 Python 脚本,这意味着任何对这两种语言熟悉的人都可以轻松修改它们。据当前统计,[bcc/tools 中有 80 个 Python 脚本][26],使得系统管理员或开发人员很有可能能够找到与她/他的需求相关的已有脚本。
+
+要了解 VFS 在正在运行中的系统上的工作情况,请尝试使用简单的 [vfscount][27] 或 [vfsstat][28] 脚本,这可以看到每秒都会发生数十次对 `vfs_open()` 及其相关的调用。
+
+![Console - vfsstat.py][29]
+
+*vfsstat.py 是一个带有嵌入式 C 片段的 Python 脚本,它只是计数 VFS 函数调用。*
+
+作为一个不太重要的例子,让我们看一下在运行的系统上插入 USB 记忆棒时 sysfs 中会发生什么。
+
+![Console when USB is inserted][30]
+
+*用 eBPF 观察插入 USB 记忆棒时 /sys 中会发生什么,简单的和复杂的例子。*
+
+在上面的第一个简单示例中,只要 `sysfs_create_files()` 命令运行,[trace.py][31] bcc 工具脚本就会打印出一条消息。我们看到 `sysfs_create_files()` 由一个 kworker 线程启动,以响应 USB 棒的插入事件,但是它创建了什么文件?第二个例子说明了 eBPF 的强大能力。这里,`trace.py` 正在打印内核回溯(`-K` 选项)以及 `sysfs_create_files()` 创建的文件的名称。单引号内的代码段是一些 C 源代码,包括一个易于识别的格式字符串,所提供的 Python 脚本[引入 LLVM 即时编译器(JIT)][32] 来在内核虚拟机内编译和执行它。必须在第二个命令中重现完整的 `sysfs_create_files()` 函数签名,以便格式字符串可以引用其中一个参数。在此 C 片段中出错会导致可识别的 C 编译器错误。例如,如果省略 `-I` 参数,则结果为“无法编译 BPF 文本”。熟悉 C 或 Python 的开发人员会发现 bcc 工具易于扩展和修改。
+
+插入 USB 记忆棒后,内核回溯显示 PID 7711 是一个 kworker 线程,它在 sysfs 中创建了一个名为 `events` 的文件。使用 `sysfs_remove_files()` 进行相应的调用表明,删除 USB 记忆棒会导致删除该 `events` 文件,这与引用计数的想法保持一致。在 USB 棒插入期间(未显示)在 eBPF 中观察 `sysfs_create_link()` 表明创建了不少于 48 个符号链接。
+
+无论如何,`events` 文件的目的是什么?使用 [cscope][33] 查找函数 [`__device_add_disk()`][34] 显示它调用 `disk_add_events()`,并且可以将 “media_change” 或 “eject_request” 写入到该文件。这里,内核的块层通知用户空间该 “磁盘” 的出现和消失。考虑一下这种检查 USB 棒的插入的工作原理的方法与试图仅从源头中找出该过程的速度有多快。
+
+### 只读根文件系统使得嵌入式设备成为可能
+
+确实,没有人通过拔出电源插头来关闭服务器或桌面系统。为什么?因为物理存储设备上挂载的文件系统可能有挂起的(未完成的)写入,并且记录其状态的数据结构可能与写入存储器的内容不同步。当发生这种情况时,系统所有者将不得不在下次启动时等待 [fsck 文件系统恢复工具][35] 运行完成,在最坏的情况下,实际上会丢失数据。
+
+然而,狂热爱好者会听说许多物联网和嵌入式设备,如路由器、恒温器和汽车现在都运行着 Linux。许多这些设备几乎完全没有用户界面,并且没有办法干净地让它们“解除启动”。想一想启动电池耗尽的汽车,其中[运行 Linux 的主机设备][36] 的电源会不断加电断电。当引擎最终开始运行时,系统如何在没有长时间 fsck 的情况下启动呢?答案是嵌入式设备依赖于[只读根文件系统][37](简称 ro-rootfs)。
+
+![Photograph of a console][38]
+
+*ro-rootfs 是嵌入式系统不经常需要 fsck 的原因。 来源:*
+
+ro-rootfs 提供了许多优点,虽然这些优点不如耐用性那么显然。一个是,如果 Linux 进程不可以写入,那么恶意软件也无法写入 `/usr` 或 `/lib`。另一个是,基本上不可变的文件系统对于远程设备的现场支持至关重要,因为支持人员拥有理论上与现场相同的本地系统。也许最重要(但也是最微妙)的优势是 ro-rootfs 迫使开发人员在项目的设计阶段就决定好哪些系统对象是不可变的。处理 ro-rootfs 可能经常是不方便甚至是痛苦的,[编程语言中的常量变量][39]经常就是这样,但带来的好处很容易偿还这种额外的开销。
+
+对于嵌入式开发人员,创建只读根文件系统确实需要做一些额外的工作,而这正是 VFS 的用武之地。Linux 需要 `/var` 中的文件可写,此外,嵌入式系统运行的许多流行应用程序会尝试在 `$HOME` 中创建配置的点文件。放在家目录中的配置文件的一种解决方案通常是预生成它们并将它们构建到 rootfs 中。对于 `/var`,一种方法是将其挂载在单独的可写分区上,而 `/` 本身以只读方式挂载。使用绑定或叠加挂载是另一种流行的替代方案。
+
+### 绑定和叠加挂载以及在容器中的使用
+
+运行 [man mount][40] 是了解绑定挂载和叠加挂载的最好办法,这种方法使得嵌入式开发人员和系统管理员能够在一个路径位置创建文件系统,然后以另外一个路径将其提供给应用程序。对于嵌入式系统,这代表着可以将文件存储在 `/var` 中的不可写闪存设备上,但是在启动时将 tmpfs 中的路径叠加挂载或绑定挂载到 `/var` 路径上,这样应用程序就可以在那里随意写它们的内容了。下次加电时,`/var` 中的变化将会消失。叠加挂载为 tmpfs 和底层文件系统提供了联合,允许对 ro-rootfs 中的现有文件进行直接修改,而绑定挂载可以使新的空 tmpfs 目录在 ro-rootfs 路径中显示为可写。虽然叠加文件系统是一种适当的文件系统类型,而绑定挂载由 [VFS 命名空间工具][41] 实现的。
+
+根据叠加挂载和绑定挂载的描述,没有人会对 [Linux 容器][42] 中大量使用它们感到惊讶。让我们通过运行 bcc 的 `mountsnoop` 工具监视当使用 [systemd-nspawn][43] 启动容器时会发生什么:
+
+![Console - system-nspawn invocation][44]
+
+*在 mountsnoop.py 运行的同时,system-nspawn 调用启动容器。*
+
+让我们看看发生了什么:
+
+![Console - Running mountsnoop][45]
+
+*在容器 “启动” 期间运行 `mountsnoop` 可以看到容器运行时很大程度上依赖于绑定挂载。(仅显示冗长输出的开头)*
+
+这里,`systemd-nspawn` 将主机的 procfs 和 sysfs 中的选定文件按其 rootfs 中的路径提供给容器。除了设置绑定挂载时的 `MS_BIND` 标志之外,`mount` 系统调用的一些其它标志用于确定主机命名空间和容器中的更改之间的关系。例如,绑定挂载可以将 `/proc` 和 `/sys` 中的更改传播到容器,也可以隐藏它们,具体取决于调用。
+
+### 总结
+
+理解 Linux 内部结构看似是一项不可能完成的任务,因为除了 Linux 用户空间应用程序和 glibc 这样的 C 库中的系统调用接口,内核本身也包含大量代码。取得进展的一种方法是阅读一个内核子系统的源代码,重点是理解面向用户空间的系统调用和头文件以及主要的内核内部接口,这里以 `file_operations` 表为例。`file_operations` 使得“一切都是文件”得以可以实际工作,因此掌握它们收获特别大。顶级 `fs/` 目录中的内核 C 源文件构成了虚拟文件系统的实现,虚拟文件系统是支持流行的文件系统和存储设备的广泛且相对简单的互操作性的垫片层。通过 Linux 命名空间进行绑定挂载和覆盖挂载是 VFS 魔术,它使容器和只读根文件系统成为可能。结合对源代码的研究,eBPF 内核工具及其 bcc 接口使得探测内核比以往任何时候都更简单。
+
+非常感谢 [Akkana Peck][46] 和 [Michael Eager][47] 的评论和指正。
+
+Alison Chaiken 也于 3 月 7 日至 10 日在加利福尼亚州帕萨迪纳举行的第 17 届南加州 Linux 博览会([SCaLE 17x][49])上演讲了[本主题][48]。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/3/virtual-filesystems-linux
+
+作者:[Alison Chariken][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/chaiken
+[b]: https://github.com/lujun9972
+[1]: https://www.pearson.com/us/higher-education/program/Love-Linux-Kernel-Development-3rd-Edition/PGM202532.html
+[2]: http://cassandra.apache.org/
+[3]: https://en.wikipedia.org/wiki/NoSQL
+[4]: http://lwn.net/Articles/444910/
+[5]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_1-console.png (Console)
+[6]: https://lwn.net/Articles/22355/
+[7]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/fs.h
+[8]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs
+[9]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_2-shim-layer.png (How userspace accesses various types of filesystems)
+[10]: https://lwn.net/Articles/774114/
+[11]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_3-crazy.jpg (Man with shocked expression)
+[12]: https://wiki.archlinux.org/index.php/Tmpfs
+[13]: http://man7.org/linux/man-pages/man8/sysctl.8.html
+[14]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_4-proc-meminfo.png (Console)
+[15]: http://www-f1.ijs.si/~ramsak/km1/mermin.moon.pdf
+[16]: https://en.wikiquote.org/wiki/David_Mermin
+[17]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_5-moon.jpg (Full moon)
+[18]: https://commons.wikimedia.org/wiki/Moon#/media/File:Full_Moon_Luc_Viatour.jpg
+[19]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/stable
+[20]: https://lkml.org/lkml/2012/12/23/75
+[21]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_7-sysfs.png (Console)
+[22]: https://events.linuxfoundation.org/sites/events/files/slides/bpf_collabsummit_2015feb20.pdf
+[23]: https://github.com/iovisor/bcc
+[24]: https://github.com/iovisor/bcc/blob/master/INSTALL.md
+[25]: http://brendangregg.com/ebpf.html
+[26]: https://github.com/iovisor/bcc/tree/master/tools
+[27]: https://github.com/iovisor/bcc/blob/master/tools/vfscount_example.txt
+[28]: https://github.com/iovisor/bcc/blob/master/tools/vfsstat.py
+[29]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_8-vfsstat.png (Console - vfsstat.py)
+[30]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_9-ebpf.png (Console when USB is inserted)
+[31]: https://github.com/iovisor/bcc/blob/master/tools/trace_example.txt
+[32]: https://events.static.linuxfound.org/sites/events/files/slides/bpf_collabsummit_2015feb20.pdf
+[33]: http://northstar-www.dartmouth.edu/doc/solaris-forte/manuals/c/user_guide/cscope.html
+[34]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/block/genhd.c#n665
+[35]: http://www.man7.org/linux/man-pages/man8/fsck.8.html
+[36]: https://wiki.automotivelinux.org/_media/eg-rhsa/agl_referencehardwarespec_v0.1.0_20171018.pdf
+[37]: https://elinux.org/images/1/1f/Read-only_rootfs.pdf
+[38]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_10-code.jpg (Photograph of a console)
+[39]: https://www.meetup.com/ACCU-Bay-Area/events/drpmvfytlbqb/
+[40]: http://man7.org/linux/man-pages/man8/mount.8.html
+[41]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/sharedsubtree.txt
+[42]: https://coreos.com/os/docs/latest/kernel-modules.html
+[43]: https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html
+[44]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_11-system-nspawn.png (Console - system-nspawn invocation)
+[45]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_12-mountsnoop.png (Console - Running mountsnoop)
+[46]: http://shallowsky.com/
+[47]: http://eagercon.com/
+[48]: https://www.socallinuxexpo.org/scale/17x/presentations/virtual-filesystems-why-we-need-them-and-how-they-work
+[49]: https://www.socallinuxexpo.org/
diff --git a/published/201905/20190319 Blockchain 2.0- Blockchain In Real Estate -Part 4.md b/published/201905/20190319 Blockchain 2.0- Blockchain In Real Estate -Part 4.md
new file mode 100644
index 0000000000..0ea20b929a
--- /dev/null
+++ b/published/201905/20190319 Blockchain 2.0- Blockchain In Real Estate -Part 4.md
@@ -0,0 +1,56 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10914-1.html)
+[#]: subject: (Blockchain 2.0: Blockchain In Real Estate [Part 4])
+[#]: via: (https://www.ostechnix.com/blockchain-2-0-blockchain-in-real-estate/)
+[#]: author: (ostechnix https://www.ostechnix.com/author/editor/)
+
+区块链 2.0:房地产区块链(四)
+======
+
+
+
+### 区块链 2.0:“更”智能的房地产
+
+在本系列的[上一篇文章][1]中我们探讨了区块链的特征,这些区块链将使机构能够将**传统银行**和**融资系统**转换和交织在一起。这部分将探讨**房地产区块链**。房地产业正在走向革命。它是人类已知的交易最活跃、最重要的资产类别之一。然而,由于充满了监管障碍和欺诈、欺骗的无数可能性,它也是最难参与交易的之一。利用适当的共识算法的区块链的分布式分类账本功能被吹捧为这个行业的前进方向,而这个行业传统上被认为其面对变革是保守的。
+
+就其无数的业务而言,房地产一直是一个非常保守的行业。这似乎也是理所当然的。2008 年金融危机或 20 世纪上半叶的大萧条等重大经济危机成功摧毁了该行业及其参与者。然而,与大多数具有经济价值的产品一样,房地产行业具有弹性,而这种弹性则源于其保守性。
+
+全球房地产市场由价值 228 万亿 [^1] 美元的资产类别组成,出入不大。其他投资资产,如股票、债券和股票合计价值仅为 170 万亿美元。显然,在这样一个行业中实施的交易在很大程度上都是精心策划和执行的。很多时候,房地产也因许多欺诈事件而臭名昭著,并且随之而来的是毁灭性的损失。由于其运营非常保守,该行业也难以驾驭。它受到了法律的严格监管,创造了一个交织在一起的细微差别网络,这对于普通人来说太难以完全理解,使得大多数人无法进入和参与。如果你曾参与过这样的交易,那么你就会知道纸质文件的重要性和长期性。
+
+从一个微不足道的开始,虽然是一个重要的例子,以显示当前的记录管理实践在房地产行业有多糟糕,考虑一下[产权保险业务][2] [^3]。产权保险用于对冲土地所有权和所有权记录不可接受且从而无法执行的可能性。诸如此类的保险产品也称为赔偿保险。在许多情况下,法律要求财产拥有产权保险,特别是在处理多年来多次易手的财产时。抵押贷款公司在支持房地产交易时也可能坚持同样的要求。事实上,这种产品自 19 世纪 50 年代就已存在,并且仅在美国每年至少有 1.5 万亿美元的商业价值这一事实证明了一开始的说法。在这种情况下,这些记录的维护方式必须进行改革,区块链提供了一个可持续解决方案。根据[美国土地产权协会][4],平均每个案例的欺诈平均约为 10 万美元,并且涉及交易的所有产权中有 25% 的文件存在问题。区块链允许设置一个不可变的永久数据库,该数据库将跟踪资产本身,记录已经进入的每个交易或投资。这样的分类帐本系统将使包括一次性购房者在内的房地产行业的每个人的生活更加轻松,并使诸如产权保险等金融产品基本上无关紧要。将诸如房地产之类的实物资产转换为这样的数字资产是非常规的,并且目前仅在理论上存在。然而,这种变化迫在眉睫,而不是迟到 [^5]。
+
+区块链在房地产中影响最大的领域如上所述,在维护透明和安全的产权管理系统方面。基于区块链的财产记录可以包含有关财产、其所在地、所有权历史以及相关的公共记录的[信息][6]。这将允许房地产交易快速完成,并且无需第三方监控和监督。房地产评估和税收计算等任务成为有形的、客观的参数问题,而不是主观测量和猜测,因为可靠的历史数据是可公开验证的。[UBITQUITY][7] 就是这样一个平台,为企业客户提供定制的基于区块链的解决方案。该平台允许客户跟踪所有房产细节、付款记录、抵押记录,甚至允许运行智能合约,自动处理税收和租赁。
+
+这为我们带来了房地产区块链的第二大机遇和用例。由于该行业受到众多第三方的高度监管,除了参与交易的交易对手外,尽职调查和财务评估可能非常耗时。这些流程主要通过离线渠道进行,文书工作需要在最终评估报告出来之前进行数天。对于公司房地产交易尤其如此,这构成了顾问所收取的总计费时间的大部分。如果交易由抵押背书,则这些过程的重复是不可避免的。一旦与所涉及的人员和机构的数字身份相结合,就可以完全避免当前的低效率,并且可以在几秒钟内完成交易。租户、投资者、相关机构、顾问等可以单独验证数据并达成一致的共识,从而验证永久性的财产记录 [^8]。这提高了验证流程的准确性。房地产巨头 RE/MAX 最近宣布与服务提供商 XYO Network Partners 合作,[建立墨西哥房上市地产国家数据库][9]。他们希望有朝一日能够创建世界上最大的(截至目前)去中心化房地产登记中心之一。
+
+然而,区块链可以带来的另一个重要且可以说是非常民主的变化是投资房地产。与其他投资资产类别不同,即使是小型家庭投资者也可能参与其中,房地产通常需要大量的手工付款才能参与。诸如 ATLANT 和 BitOfProperty 之类的公司将房产的账面价值代币化,并将其转换为加密货币的等价物。这些代币随后在交易所出售,类似于股票和股票的交易方式。[房地产后续产生的任何现金流都会根据其在财产中的“份额”记入贷方或借记给代币所有者][4]。
+
+然而,尽管如此,区块链技术仍处于房地产领域的早期采用阶段,目前的法规还没有明确定义它。诸如分布式应用程序、分布式匿名组织(DAO)、智能合约等概念在许多国家的法律领域是闻所未闻的。一旦所有利益相关者充分接受了区块链复杂性的良好教育,就会彻底改革现有的法规和指导方针,这是最务实的前进方式。 同样,这将是一个缓慢而渐进的变化,但是它是一个急需的变化。本系列的下一篇文章将介绍 “智能合约”,例如由 UBITQUITY 和 XYO 等公司实施的那些是如何在区块链中创建和执行的。
+
+[^1]: HSBC, “Global Real Estate,” no. April, 2008
+[^3]: D. B. Burke, Law of title insurance. Aspen Law & Business, 2000.
+[^5]: M. Swan, O’Reilly – Blockchain. Blueprint for a New Economy – 2015.
+[^8]: Deloite, “Blockchain in commercial real estate The future is here ! Table of contents.”
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/blockchain-2-0-blockchain-in-real-estate/
+
+作者:[ostechnix][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/editor/
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-10689-1.html
+[2]: https://www.forbes.com/sites/jordanlulich/2018/06/21/what-is-title-insurance-and-why-its-important/#1472022b12bb
+[4]: https://www.cbinsights.com/research/blockchain-real-estate-disruption/#financing
+[6]: https://www2.deloitte.com/us/en/pages/financial-services/articles/blockchain-in-commercial-real-estate.html
+[7]: https://www.ubitquity.io/
+[9]: https://www.businesswire.com/news/home/20181012005068/en/XYO-Network-Partners-REMAX-M%C3%A9xico-Bring-Blockchain
diff --git a/translated/talk/20190327 Why DevOps is the most important tech strategy today.md b/published/201905/20190327 Why DevOps is the most important tech strategy today.md
similarity index 60%
rename from translated/talk/20190327 Why DevOps is the most important tech strategy today.md
rename to published/201905/20190327 Why DevOps is the most important tech strategy today.md
index fe014a243a..d96ae31f13 100644
--- a/translated/talk/20190327 Why DevOps is the most important tech strategy today.md
+++ b/published/201905/20190327 Why DevOps is the most important tech strategy today.md
@@ -1,48 +1,47 @@
[#]: collector: "lujun9972"
-[#]: translator: "zgj1024 "
-[#]: reviewer: " "
-[#]: publisher: " "
-[#]: url: " "
+[#]: translator: "zgj1024"
+[#]: reviewer: "wxy"
+[#]: publisher: "wxy"
+[#]: url: "https://linux.cn/article-10834-1.html"
[#]: subject: "Why DevOps is the most important tech strategy today"
[#]: via: "https://opensource.com/article/19/3/devops-most-important-tech-strategy"
-[#]: author: "Kelly AlbrechtWilly-Peter Schaub https://opensource.com/users/ksalbrecht/users/brentaaronreed/users/wpschaub/users/wpschaub/users/ksalbrecht"
+[#]: author: "Kelly Albrecht https://opensource.com/users/ksalbrecht"
为何 DevOps 是如今最重要的技术策略
======
-消除一些关于 DevOps 的疑惑
+
+> 消除一些关于 DevOps 的疑惑。
+
![CICD with gears][1]
很多人初学 [DevOps][2] 时,看到它其中一个结果就问这个是如何得来的。其实理解这部分 Devops 的怎样实现并不重要,重要的是——理解(使用) DevOps 策略的原因——这是做一个行业的领导者还是追随者的差别。
-你可能会听过些 Devops 的难以置信的成果,例如生产环境非常有弹性,“混世猴子”([Chaos Monkey][3])程序运行时,将周围的连接随机切断,每天仍可以处理数千个版本。这是令人印象深刻的,但就其本身而言,这是一个 DevOps 的无力案例,本质上会被一个[反例][4]困扰:DevOps 环境有弹性是因为没有观察到严重的故障。。。还没有。
+你可能会听过些 Devops 的难以置信的成果,例如生产环境非常有弹性,就算是有个“[癫狂的猴子][3])跳来跳去将不知道哪个插头随便拔下,每天仍可以处理数千个发布。这是令人印象深刻的,但就其本身而言,这是一个 DevOps 的证据不足的案例,其本质上会被一个[反例][4]困扰:DevOps 环境有弹性是因为严重的故障还没有被观测到。
有很多关于 DevOps 的疑惑,并且许多人还在尝试弄清楚它的意义。下面是来自我 LinkedIn Feed 中的某个人的一个案例:
-> 最近我参加一些 #DevOps 的交流会,那里一些演讲人好像在倡导 #敏捷开发是 DevOps 的子集。不知为何,我的理解洽洽相反。
+> 最近我参加一些 #DevOps 的交流会,那里一些演讲人好像在倡导 #敏捷开发是 DevOps 的子集。不知为何,我的理解恰恰相反。
>
> 能听一下你们的想法吗?你认为敏捷开发和 DevOps 之间是什么关系呢?
>
> 1. DevOps 是敏捷开发的子集
-> 2. 敏捷开发 是 DevOps 的子集
+> 2. 敏捷开发是 DevOps 的子集
> 3. DevOps 是敏捷开发的扩展,从敏捷开发结束的地方开始
> 4. DevOps 是敏捷开发的新版本
->
-科技行业的专业人士在那篇 LinkedIn 的帖子上达标各样的答案,你会怎样回复呢?
+科技行业的专业人士在那篇 LinkedIn 的帖子上表达了各种各样的答案,你会怎样回复呢?
-### DevOps源于精益和敏捷
+### DevOps 源于精益和敏捷
+
+如果我们从亨利福特的战略和丰田生产系统对福特车型的改进(的历史)开始, DevOps 就更有意义了。精益制造就诞生在那段历史中,人们对精益制作进行了良好的研究。James P. Womack 和 Daniel T. Jones 将精益思维([Lean Thinking][5])提炼为五个原则:
-如果我们从亨利福特的战略和丰田生产系统对福特车型的改进(的历史)开始, DevOps 就更有意义了。精益制造就诞生在那段历史中,人们对精益制作进行了良好的研究。James P. Womack 和 Daniel T. Jones 将精益思维( [Lean Thinking][5])提炼为五个原则:
1. 指明客户所需的价值
2. 确定提供该价值的每个产品的价值流,并对当前提供该价值所需的所有浪费步骤提起挑战
3. 使产品通过剩余的增值步骤持续流动
4. 在可以连续流动的所有步骤之间引入拉力
5. 管理要尽善尽美,以便为客户服务所需的步骤数量和时间以及信息量持续下降
-
-Lean seeks to continuously remove waste and increase the flow of value to the customer. This is easily recognizable and understood through a core tenet of lean: single piece flow. We can do a number of activities to learn why moving single pieces at a time is magnitudes faster than batches of many pieces; the [Penny Game][6] and the [Airplane Game][7] are two of them. In the Penny Game, if a batch of 20 pennies takes two minutes to get to the customer, they get the whole batch after waiting two minutes. If you move one penny at a time, the customer gets the first penny in about five seconds and continues getting pennies until the 20th penny arrives approximately 25 seconds later.
-
-精益致力于持续消除浪费并增加客户的价值流动。这很容易识别并明白精益的核心原则:单一流。我们可以做一些游戏去了解为何同一时间移动单个比批量移动要快得多。其中的两个游戏是[硬币游戏][6]和[飞机游戏][7]。在硬币游戏中,如果一批 20 个硬币到顾客手中要用 2 分钟,顾客等 2 分钟后能拿到整批硬币。如果一次只移动一个硬币,顾客会在 5 秒内得到第一枚硬币,并会持续获得硬币,直到在大约 25 秒后第 20 个硬币到达。(译者注:有相关的视频的)
+精益致力于持续消除浪费并增加客户的价值流动。这很容易识别并明白精益的核心原则:单一流。我们可以做一些游戏去了解为何同一时间移动单个比批量移动要快得多。其中的两个游戏是[硬币游戏][6]和[飞机游戏][7]。在硬币游戏中,如果一批 20 个硬币到顾客手中要用 2 分钟,顾客等 2 分钟后能拿到整批硬币。如果一次只移动一个硬币,顾客会在 5 秒内得到第一枚硬币,并会持续获得硬币,直到在大约 25 秒后第 20 个硬币到达。(LCTT 译注:有相关的视频的)
这是巨大的不同,但是不是生活中的所有事都像硬币游戏那样简单并可预测的。这就是敏捷的出现的原因。我们当然看到了高效绩敏捷团队的精益原则,但这些团队需要的不仅仅是精益去做他们要做的事。
@@ -52,13 +51,13 @@ Lean seeks to continuously remove waste and increase the flow of value to the cu
### 最佳批量大小
-要了解 DevOps 在软件开发中的请强大功能,这会帮助我们理解批处理大小的经济学。请考虑以下来自Donald Reinertsen 的[产品开发流程原则][8]的U曲线优化示例:
+要了解 DevOps 在软件开发中的强大功能,这会帮助我们理解批处理大小的经济学。请考虑以下来自Donald Reinertsen 的[产品开发流程原则][8]的U曲线优化示例:
![U-curve optimization illustration of optimal batch size][9]
-这可以类比杂货店购物来解释。假设你需要买一些鸡蛋,而你住的地方离商店只有 30 分的路程。买一个鸡蛋(图种最左边)意味着每次要花 30 分钟的路程,这就是你的_交易成本_。_持有成本_可能是鸡蛋变质和在你的冰箱中持续地占用空间。_总成本_是_交易成本_加上你的_持有成本_。这 U 型曲线解释了为什么对大部分来说,一次买一打鸡蛋是他们的_最佳批量大小_。如果你就住在商店的旁边,步行到那里不会花费你任何的时候,你可能每次只会买一小盒鸡蛋,以此来节省冰箱的空间并享受新鲜的鸡蛋。
+这可以类比杂货店购物来解释。假设你需要买一些鸡蛋,而你住的地方离商店只有 30 分钟的路程。买一个鸡蛋(图中最左边)意味着每次要花 30 分钟的路程,这就是你的*交易成本*。*持有成本*可能是鸡蛋变质和在你的冰箱中持续地占用空间。*总成本*是*交易成本*加上你的*持有成本*。这个 U 型曲线解释了为什么对大部分人来说,一次买一打鸡蛋是他们的*最佳批量大小*。如果你就住在商店的旁边,步行到那里不会花费你任何的时候,你可能每次只会买一小盒鸡蛋,以此来节省冰箱的空间并享受新鲜的鸡蛋。
-这 U 型优化曲线可以说明为什么在成功敏捷转换中生产力会显著提高。考虑敏捷转换对组织决策的影响。在传统的分级组织中,决策权是集中的。这会导致较少的人做更大的决策。敏捷方法论会有效地降低组织决策中的交易成本,方法是将决策分散到最被人熟知的认识和信息的位置:跨越高度信任,自组织的敏捷团队。
+这 U 型优化曲线可以说明为什么在成功的敏捷转换中生产力会显著提高。考虑敏捷转换对组织决策的影响。在传统的分级组织中,决策权是集中的。这会导致较少的人做更大的决策。敏捷方法论会有效地降低组织决策中的交易成本,方法是将决策分散到最被人熟知的认识和信息的位置:跨越高度信任,自组织的敏捷团队。
下面的动画演示了降低事务成本后,最佳批量大小是如何向左移动。在更频繁地做出更快的决策方面,你不能低估组织的价值。
@@ -66,22 +65,21 @@ Lean seeks to continuously remove waste and increase the flow of value to the cu
### DevOps 适合哪些地方
-自动化是 DevOps 最知名的事情之一。前面的插图非常详细地展示了自动化的价值。通过自动化,我们将交易成本降低到接近零,实质上是免费进行测试和部署。这使我们可以利用越来越小的批量工作。较小批量的工作更容易理解、提交、测试、审查和知道何时能完成。这些较小的批量大小也包含较少的差异和风险,使其更易于部署,如果出现问题,可以进行故障排除和恢复。通过自动化与扎实的敏捷实践相结合,我们可以使我们的功能开发非常接近单件流程,从而快速,持续地为客户提供价值。
+自动化是 DevOps 最知名的事情之一。前面的插图非常详细地展示了自动化的价值。通过自动化,我们将交易成本降低到接近于零,实质上是可以免费进行测试和部署。这使我们可以利用越来越小的批量工作。较小批量的工作更容易理解、提交、测试、审查和知道何时能完成。这些较小的批量大小也包含较少的差异和风险,使其更易于部署,如果出现问题,可以进行故障排除和恢复。通过自动化与扎实的敏捷实践相结合,我们可以使我们的功能开发非常接近单件流程,从而快速、持续地为客户提供价值。
更传统地说,DevOps 被理解为一种打破开发团队和运营团队之间混乱局面的方法。在这个模型中,开发团队开发新的功能,而运营团队则保持系统的稳定和平稳运行。摩擦的发生是因为开发过程中的新功能将更改引入到系统中,从而增加了停机的风险,运营团队并不认为要对此负责,但无论如何都必须处理这一问题。DevOps 不仅仅尝试让人们一起工作,更重要的是尝试在复杂的环境中安全地进行更频繁的更改。
-我们可以向 [Ron Westrum][11] 寻求有关在复杂组织中实现安全性的研究。在研究为什么有些组织比其他组织更安全时,他发现组织的文化可以预测其安全性。他确定了三种文化:病态,官僚主义的和生产式的。他发现病理的可以预测安全性较低,而生产式文化被预测为更安全(例如,在他的主要研究领域中,飞机坠毁或意外住院死亡的数量要少得多)。
+我们可以看看 [Ron Westrum][11] 在有关复杂组织中实现安全性的研究。在研究为什么有些组织比其他组织更安全时,他发现组织的文化可以预测其安全性。他确定了三种文化:病态的、官僚主义的和生产式的。他发现病态的可以预测其安全性较低,而生产式文化被预测为更安全(例如,在他的主要研究领域中,飞机坠毁或意外住院死亡的数量要少得多)。
![Three types of culture identified by Ron Westrum][12]
高效的 DevOps 团队通过精益和敏捷的实践实现了一种生成性文化,这表明速度和安全性是互补的,或者说是同一个问题的两个方面。通过将决策和功能的最佳批量大小减少到非常小,DevOps 实现了更快的信息流和价值,同时消除了浪费并降低了风险。
-与 Westrum的研究一致,在提高安全性和可靠性的同时,变化也很容易发生。。当一个敏捷的 DevOps 团队被信任做出自己的决定时,我们将获得 DevOps 目前最为人所知的工具和技术:自动化和持续交付。通过这种自动化,交易成本比以往任何时候都进一步降低,并且实现了近乎单一的精益流程,每天创造数千个决策和发布的潜力,正如我们在高效绩的 DevOps 组织中看到的那样
+与 Westrum 的研究一致,在提高安全性和可靠性的同时,变化也很容易发生。当一个敏捷的 DevOps 团队被信任做出自己的决定时,我们将获得 DevOps 目前最为人所知的工具和技术:自动化和持续交付。通过这种自动化,交易成本比以往任何时候都进一步降低,并且实现了近乎单一的精益流程,每天创造数千个决策和发布的潜力,正如我们在高效绩的 DevOps 组织中看到的那样
### 流动、反馈、学习
-DevOps 并不止于此。我们主要讨论了 DevOps 实现了革命性的流程,但通过类似的努力可以进一步放大精益和敏捷实践,从而实现更快的反馈循环和更快的学习。在[_DevOps手册_][13] 中,作者除了详细解释快速流程外, DevOps 如何在整个价值流中实现遥测,从而获得快速且持续的反馈。此外,利用[精益求精的突破][14]和scrum 的[回顾][15],高效的 DevOps 团队将不断推动学习和持续改进深入到他们的组织的基础,实现软件产品开发行业的精益制造革命。
-
+DevOps 并不止于此。我们主要讨论了 DevOps 实现了革命性的流程,但通过类似的努力可以进一步放大精益和敏捷实践,从而实现更快的反馈循环和更快的学习。在[DevOps手册][13] 中,作者除了详细解释快速流程外, DevOps 如何在整个价值流中实现遥测,从而获得快速且持续的反馈。此外,利用[精益求精的突破][14]和 scrum 的[回顾][15],高效的 DevOps 团队将不断推动学习和持续改进深入到他们的组织的基础,实现软件产品开发行业的精益制造革命。
### 从 DevOps 评估开始
@@ -91,18 +89,14 @@ DevOps 并不止于此。我们主要讨论了 DevOps 实现了革命性的流
在本文的[第二部分][16]中,我们将查看 Drupal 社区中 DevOps 调查的结果,并了解最有可能找到快速获胜的位置。
-* * *
-
-_Rob_ _Bayliss and Kelly Albrecht will present[DevOps: Why, How, and What][17] and host a follow-up [Birds of a][18]_ [_Feather_][18] _[discussion][18] at [DrupalCon 2019][19] in Seattle, April 8-12._
-
--------------------------------------------------------------------------------
via: https://opensource.com/article/19/3/devops-most-important-tech-strategy
-作者:[Kelly AlbrechtWilly-Peter Schaub][a]
+作者:[Kelly Albrecht][a]
选题:[lujun9972][b]
-译者:[译者ID](https://github.com/zgj1024)
-校对:[校对者ID](https://github.com/校对者ID)
+译者:[zgj1024](https://github.com/zgj1024)
+校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
diff --git a/published/201905/20190329 How to manage your Linux environment.md b/published/201905/20190329 How to manage your Linux environment.md
new file mode 100644
index 0000000000..0a226f79f7
--- /dev/null
+++ b/published/201905/20190329 How to manage your Linux environment.md
@@ -0,0 +1,173 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10916-1.html)
+[#]: subject: (How to manage your Linux environment)
+[#]: via: (https://www.networkworld.com/article/3385516/how-to-manage-your-linux-environment.html)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+如何管理你的 Linux 环境变量
+======
+
+> Linux 用户环境变量可以帮助你找到你需要的命令,无须了解系统如何配置的细节而完成大量工作。而这些设置来自哪里和如何被修改它们是另一个话题。
+
+![IIP Photo Archive \(CC BY 2.0\)][1]
+
+在 Linux 系统上的用户账户配置以多种方法简化了系统的使用。你可以运行命令,而不需要知道它们的位置。你可以重新使用先前运行的命令,而不用发愁系统是如何追踪到它们的。你可以查看你的电子邮件,查看手册页,并容易地回到你的家目录,而不用管你在文件系统中身在何方。并且,当需要的时候,你可以调整你的账户设置,以便其更符合你喜欢的方式。
+
+Linux 环境设置来自一系列的文件:一些是系统范围(意味着它们影响所有用户账户),一些是处于你的家目录中的配置文件里。系统范围的设置在你登录时生效,而本地设置在其后生效,所以,你在你账户中作出的更改将覆盖系统范围设置。对于 bash 用户,这些文件包含这些系统文件:
+
+```
+/etc/environment
+/etc/bash.bashrc
+/etc/profile
+```
+
+以及一些本地文件:
+
+```
+~/.bashrc
+~/.profile # 如果有 ~/.bash_profile 或 ~/.bash_login 就不会读此文件
+~/.bash_profile
+~/.bash_login
+```
+
+你可以修改本地存在的四个文件的任何一个,因为它们处于你的家目录,并且它们是属于你的。
+
+### 查看你的 Linux 环境设置
+
+为查看你的环境设置,使用 `env` 命令。你的输出将可能与这相似:
+
+```
+$ env
+LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;
+01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:
+*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:
+*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:
+*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;
+31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:
+*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:
+*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:
+*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:
+*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:
+*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:
+*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:
+*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:
+*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:
+*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:
+*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:
+*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:
+*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.spf=00;36:
+SSH_CONNECTION=192.168.0.21 34975 192.168.0.11 22
+LESSCLOSE=/usr/bin/lesspipe %s %s
+LANG=en_US.UTF-8
+OLDPWD=/home/shs
+XDG_SESSION_ID=2253
+USER=shs
+PWD=/home/shs
+HOME=/home/shs
+SSH_CLIENT=192.168.0.21 34975 22
+XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
+SSH_TTY=/dev/pts/0
+MAIL=/var/mail/shs
+TERM=xterm
+SHELL=/bin/bash
+SHLVL=1
+LOGNAME=shs
+DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
+XDG_RUNTIME_DIR=/run/user/1000
+PATH=/home/shs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+LESSOPEN=| /usr/bin/lesspipe %s
+_=/usr/bin/env
+```
+
+虽然你可能会看到大量的输出,上面显示的第一大部分用于在命令行上使用颜色标识各种文件类型。当你看到类似 `*.tar=01;31:` 这样的东西,这告诉你 `tar` 文件将以红色显示在文件列表中,然而 `*.jpg=01;35:` 告诉你 jpg 文件将以紫色显现出来。这些颜色旨在使它易于从一个文件列表中分辨出某些文件。你可以在《[在 Linux 命令行中自定义你的颜色][3]》处学习更多关于这些颜色的定义,和如何自定义它们。
+
+当你更喜欢一种不加装饰的显示时,一种关闭颜色显示的简单方法是使用如下命令:
+
+```
+$ ls -l --color=never
+```
+
+这个命令可以简单地转换到一个别名:
+
+```
+$ alias ll2='ls -l --color=never'
+```
+
+你也可以使用 `echo` 命令来单独地显现某个设置。在这个命令中,我们显示在历史缓存区中将被记忆命令的数量:
+
+```
+$ echo $HISTSIZE
+1000
+```
+
+如果你已经移动到某个位置,你在文件系统中的最后位置会被记在这里:
+
+```
+PWD=/home/shs
+OLDPWD=/tmp
+```
+
+### 作出更改
+
+你可以使用一个像这样的命令更改环境设置,但是,如果你希望保持这个设置,在你的 `~/.bashrc` 文件中添加一行代码,例如 `HISTSIZE=1234`。
+
+```
+$ export HISTSIZE=1234
+```
+
+### “export” 一个变量的本意是什么
+
+导出一个环境变量可使设置用于你的 shell 和可能的子 shell。默认情况下,用户定义的变量是本地的,并不被导出到新的进程,例如,子 shell 和脚本。`export` 命令使得环境变量可用在子进程中发挥功用。
+
+### 添加和移除变量
+
+你可以很容易地在命令行和子 shell 上创建新的变量,并使它们可用。然而,当你登出并再次回来时这些变量将消失,除非你也将它们添加到 `~/.bashrc` 或一个类似的文件中。
+
+```
+$ export MSG="Hello, World!"
+```
+
+如果你需要,你可以使用 `unset` 命令来消除一个变量:
+
+```
+$ unset MSG
+```
+
+如果变量是局部定义的,你可以通过加载你的启动文件来简单地将其设置回来。例如:
+
+```
+$ echo $MSG
+Hello, World!
+$ unset $MSG
+$ echo $MSG
+
+$ . ~/.bashrc
+$ echo $MSG
+Hello, World!
+```
+
+### 小结
+
+用户账户是用一组恰当的启动文件设立的,创建了一个有用的用户环境,而个人用户和系统管理员都可以通过编辑他们的个人设置文件(对于用户)或很多来自设置起源的文件(对于系统管理员)来更改默认设置。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3385516/how-to-manage-your-linux-environment.html
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/03/environment-rocks-leaves-100792229-large.jpg
+[2]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
+[3]: https://www.networkworld.com/article/3269587/customizing-your-text-colors-on-the-linux-command-line.html
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/published/201905/20190401 What is 5G- How is it better than 4G.md b/published/201905/20190401 What is 5G- How is it better than 4G.md
new file mode 100644
index 0000000000..a54eadbd7b
--- /dev/null
+++ b/published/201905/20190401 What is 5G- How is it better than 4G.md
@@ -0,0 +1,164 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10812-1.html)
+[#]: subject: (What is 5G? How is it better than 4G?)
+[#]: via: (https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html#tk.rss_all)
+[#]: author: (Josh Fruhlinger https://www.networkworld.com/author/Josh-Fruhlinger/)
+
+什么是 5G?它比 4G 好在哪里?
+==========================
+
+> 5G 网络将使无线网络吞吐量提高 10 倍并且能够替代有线宽带。但是它们什么时候能够投入使用呢,为什么 5G 和物联网如此紧密地联系在一起呢?
+
+![Thinkstock][1]
+
+[5G 无线][2] 是一个概括的术语,用来描述一系列更快的无线互联网的标准和技术,理论上比 4G 快了 20 倍并且延迟降低了 120 倍,为物联网的发展和对新的高带宽应用的支持奠定了基础。
+
+### 什么是 5G?科技还是流行词?
+
+这个技术在世界范围内完全发挥它的潜能还需要数年时间,但同时当今一些 5G 网络服务已经投入使用。5G 不仅是一个技术术语,也是一个营销术语,并不是市场上的所有 5G 服务是标准的。
+
+- [来自世界移动大会:[5G 时代即将来到][3]]
+
+### 5G 与 4G 的速度对比
+
+无线技术的每一代,最大的呼吁是增加速度。5G 网络潜在的峰值下载速度可以达到[20 Gbps,一般在 10 Gbps][4]。这不仅仅比当前 4G 网络更快,4G 目前峰值大约 1 Gbps,并且比更多家庭的有线网络连接更快。5G 提供的网络速度能够与光纤一较高下。
+
+吞吐量不是 5G 仅有的速度提升;它还有的特点是极大降低了网络延迟。这是一个重要的区分:吞吐量用来测量花费多久来下载一个大文件,而延迟由网络瓶颈决定,延迟在往返的通讯中减慢了响应速度。
+
+延迟很难量化,因为它因各种网络状态变化而变化,但是 5G 网络在理想情况下有能力使延迟率在 1 ms 内。总的来说,5G 延迟将比 4G 降低 60 到 120 倍。这会使很多应用变得可能,例如当前虚拟现实的延迟使它变得不实际。
+
+### 5G 技术
+
+5G 技术的基础有一系列标准定义,在过去的 10 年里一直在研究更好的部分。这些里面最重要的是 5G New Radio(5G NR),由 3GPP(一个为移动电话开发协议的标准化组织)组织标准化。5G NR 规定了很多 5G 设备操作的方式,[于 2018 年 7 月 完成终版][5]。
+
+很多独特的技术同时出现来尽可能地提升 5G 的速度并降低延迟,下面是一些重要的。
+
+### 毫米波
+
+5G 网络大部分使用在 30 到 300 GHz 范围的频率。(正如名称一样,这些频率的波长在 1 到 10 毫米之间)这些高频范围能够[在每个时间单元比低频信号携带更多的信息][7],4G LTE 当前使用的就是通常频率在 1 GHz 以下的低频信号,或者 WiFi,最高 6 GHz。
+
+毫米波技术传统上是昂贵并且难于部署的。科技进步已经克服了这些困难,这也是 5G 在如今成为了可能的原因。
+
+### 小蜂窝
+
+毫米波传输的一个缺点是当它们传输通过物理对象的时候比 4G 或 WiFi 信号更容易被干扰。
+
+为了克服这些,5G 基础设施的模型将不同于 4G。替代了大的像景观一样移动天线桅杆,5G 网络将由[分布在城市中大概间距 250 米的更小的基站][8]提供支持,创建更小的服务区域。
+
+这些 5G 基站的功率要求低于 4G,并且可以更容易地连接到建筑物和电线杆上。
+
+### 大量的 MIMO
+
+尽管 5G 基站比 4G 的对应部分小多了,但它们却带了更多的天线。这些天线是[多输入多输出的(MIMO)][9],意味着在相同的数据信道能够同时处理多个双向会话。5G 网络能够处理比 4G 网络超过 20 倍的会话。
+
+大量的 MIMO 保证了[基站容量限制下的极大提升][10],允许单个基站承载更多的设备会话。这就是 5G 可能推动物联网更广泛应用的原因。理论上,更多的连接到互联网的无线设备能够部署在相同的空间而不会使网络被压垮。
+
+### 波束成形
+
+确保所有的会话来回地到达正确的地方是比较棘手的,尤其是前面提到的毫米波信号的干涉问题。为了克服这些问题,5G 基站部署了更高级的波束技术,使用建设性和破坏性的无线电干扰来使信号有向而不是广播。这在一个特定的方向上有效地加强了信号强度和范围。
+
+### 5G 可获得性
+
+第一个 5G 商用网络 [2018 年 5 月在卡塔尔推出][12]。自那以后,5G 网络已经扩展到全世界,从阿根廷到越南。[Lifewire 有一个不错的,经常更新的列表][13].
+
+牢记一点的是,尽管这样,目前不是所有的 5G 网络都履行了所有的技术承诺。一些早期的 5G 产品依赖于现有的 4G 基础设施,减少了可以获得的潜在速度;其它服务为了市场目的而标榜 5G 但是并不符合标准。仔细观察美国无线运营商的产品都会发现一些陷阱。
+
+### 无线运营商和 5G
+
+技术上讲,5G 服务如今在美国已经可获得了。但声明中包含的注意事项因运营商而异,表明 5G 普及之前还有很长的路要走。
+
+Verizon 可能是早期 5G 最大的推动者。它宣告到 2018 年 10 月 将有 4 个城市成为 [5G 家庭][14]的一部分,这是一项需要你的其他设备通过 WiFi 来连接特定的 5G 热点,由热点连接到网络的服务。
+
+Verizon 计划四月在 [Minneapolis 和 Chicago 发布 5G 移动服务][15],该服务将在这一年内传播到其他城市。访问 5G 网络将需要消费者每月额外花费费用,加上购买能够实际访问 5G 的手机花费(稍后会详细介绍)。另外,Verizon 的部署被称作 [5G TF][16],实际上不符合 5G NR 的标准。
+
+AT&T [声明在 2018 年 12 月将有美国的 12 个城市可以使用 5G][17],在 2019 年的末尾将增加 9 个城市,但最终在这些城市里,只有市中心商业区能够访问。为了访问 5G 网络,需要一个特定的 Netgear 热点来连接到 5G 服务,然后为手机和其他设备提供一个 Wi-Fi 信号。
+
+与此同时,AT&T 也在推出 4G 网络的速度提升计划,被成为 5GE,即使这些提升和 5G 网络没有关系。([这会向后兼容][18])
+
+Sprint 将在 2019 年 5 月之前在四个城市提供 5G 服务,在年末将有更多。但是 Sprint 的 5G 产品充分利用了 MIMO 单元,他们[没有使用毫米波信道][19],意味着 Sprint 的用户不会看到像其他运营商一样的速度提升。
+
+T-Mobile 采用相似的模型,它[在 2019 年年底之前不会推出 5G 服务][20],因为他们没有手机能够连接到它。
+
+一个可能阻止 5G 速度的迅速传播的障碍是需要铺开所有这些小蜂窝基站。它们小的尺寸和较低的功耗需求使它们技术上比 4G 技术更容易部署,但这不意味着它能够很简单的使政府和财产拥有者信服到处安装一堆基站。Verizon 实际上建立了[向本地民选官员请愿的网站][21]来加速 5G 基站的部署。
+
+### 5G 手机:何时可获得?何时可以买?
+
+第一部声称为 5G 手机的是 Samsung Galaxy S10 5G,将在 2019 年夏末首发。你也可以从 Verizon 订阅一个“[Moto Mod][22]”,用来[转换 Moto Z3 手机为 5G 兼容设备][23]。
+
+但是除非你不能忍受作为一个早期使用者的诱惑,你会希望再等待一下;一些关于运营商的奇怪和突显的问题意味着可能你的手机[不兼容你的运营商的整个 5G 网络][24]。
+
+一个可能令你吃惊的落后者是苹果:分析者确信最早直到 2020 年以前 iPhone 不会与 5G 兼容。但这符合该公司的特点;苹果在 2012 年末也落后于三星发布兼容 4G 的手机。
+
+不可否认,5G 洪流已经到来。5G 兼容的设备[在 2019 年统治了巴塞罗那世界移动大会][3],因此期待视野里有更多的选择。
+
+### 为什么人们已经在讨论 6G 了?
+
+一些专家说缺点是[5G 不能够达到延迟和可靠性的目标][27]。这些完美主义者已经在探寻 6G,来试图解决这些缺点。
+
+有一个[研究新的能够融入 6G 技术的小组][28],自称为“融合 TeraHertz 通信与传感中心”(ComSenTer)。根据说明,他们努力让每个设备的带宽达到 100Gbps。
+
+除了增加可靠性,还突破了可靠性并增加速度,6G 同样试图允许上千的并发连接。如果成功的话,这个特点将帮助物联网设备联网,使在工业设置中部署上千个传感器。
+
+即使仍在胚胎当中,6G 已经由于新发现的 [在基于 tera-hretz 的网络中潜在的中间人攻击][29]的紧迫性面临安全的考虑。好消息是有大量时间来解决这个问题。6G 网络直到 2030 之前才可能出现。
+
+阅读更多关于 5G 网络:
+
+ * [企业如何为 5G 网络做准备][30]
+ * [5G 与 4G:速度、延迟和应用支持的差异][31]
+ * [私人 5G 网络即将到来][32]
+ * [5G 和 6G 无线存在安全问题][33]
+ * [毫米波无线技术如何支持 5G 和物联网][34]
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+
+作者:[Josh Fruhlinger][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Josh-Fruhlinger/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2017/04/5g-100718139-large.jpg
+[2]: https://www.networkworld.com/article/3203489/what-is-5g-wireless-networking-benefits-standards-availability-versus-lte.html
+[3]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[4]: https://www.networkworld.com/article/3330603/5g-versus-4g-how-speed-latency-and-application-support-differ.html
+[5]: https://www.theverge.com/2018/6/15/17467734/5g-nr-standard-3gpp-standalone-finished
+[6]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fmobile-device-management-big-picture
+[7]: https://www.networkworld.com/article/3291323/millimeter-wave-wireless-could-help-support-5g-and-iot.html
+[8]: https://spectrum.ieee.org/video/telecom/wireless/5g-bytes-small-cells-explained
+[9]: https://www.networkworld.com/article/3250268/what-is-mu-mimo-and-why-you-need-it-in-your-wireless-routers.html
+[10]: https://spectrum.ieee.org/tech-talk/telecom/wireless/5g-researchers-achieve-new-spectrum-efficiency-record
+[11]: https://www.networkworld.com/article/3262991/future-wireless-networks-will-have-no-capacity-limits.html
+[12]: https://venturebeat.com/2018/05/14/worlds-first-commercial-5g-network-launches-in-qatar/
+[13]: https://www.lifewire.com/5g-availability-world-4156244
+[14]: https://www.digitaltrends.com/computing/verizon-5g-home-promises-up-to-gigabit-internet-speeds-for-50/
+[15]: https://lifehacker.com/heres-your-cheat-sheet-for-verizons-new-5g-data-plans-1833278817
+[16]: https://www.theverge.com/2018/10/2/17927712/verizon-5g-home-internet-real-speed-meaning
+[17]: https://www.cnn.com/2018/12/18/tech/5g-mobile-att/index.html
+[18]: https://www.networkworld.com/article/3339720/like-4g-before-it-5g-is-being-hyped.html?nsdr=true
+[19]: https://www.digitaltrends.com/mobile/sprint-5g-rollout/
+[20]: https://www.cnet.com/news/t-mobile-delays-full-600-mhz-5g-launch-until-second-half/
+[21]: https://lets5g.com/
+[22]: https://www.verizonwireless.com/support/5g-moto-mod-faqs/?AID=11365093&SID=100098X1555750Xbc2e857934b22ebca1a0570d5ba93b7c&vendorid=CJM&PUBID=7105813&cjevent=2e2150cb478c11e98183013b0a1c0e0c
+[23]: https://www.digitaltrends.com/cell-phone-reviews/moto-z3-review/
+[24]: https://www.businessinsider.com/samsung-galaxy-s10-5g-which-us-cities-have-5g-networks-2019-2
+[25]: https://www.cnet.com/news/why-apples-in-no-rush-to-sell-you-a-5g-iphone/
+[26]: https://mashable.com/2012/09/09/iphone-5-4g-lte/#hYyQUelYo8qq
+[27]: https://www.networkworld.com/article/3305359/6g-will-achieve-terabits-per-second-speeds.html
+[28]: https://www.networkworld.com/article/3285112/get-ready-for-upcoming-6g-wireless-too.html
+[29]: https://www.networkworld.com/article/3315626/5g-and-6g-wireless-technologies-have-security-issues.html
+[30]: https://%20https//www.networkworld.com/article/3306720/mobile-wireless/how-enterprises-can-prep-for-5g.html
+[31]: https://%20https//www.networkworld.com/article/3330603/mobile-wireless/5g-versus-4g-how-speed-latency-and-application-support-differ.html
+[32]: https://%20https//www.networkworld.com/article/3319176/mobile-wireless/private-5g-networks-are-coming.html
+[33]: https://www.networkworld.com/article/3315626/network-security/5g-and-6g-wireless-technologies-have-security-issues.html
+[34]: https://www.networkworld.com/article/3291323/mobile-wireless/millimeter-wave-wireless-could-help-support-5g-and-iot.html
+[35]: https://www.facebook.com/NetworkWorld/
+[36]: https://www.linkedin.com/company/network-world
+
diff --git a/published/201905/20190405 Command line quick tips- Cutting content out of files.md b/published/201905/20190405 Command line quick tips- Cutting content out of files.md
new file mode 100644
index 0000000000..a1b5ae3893
--- /dev/null
+++ b/published/201905/20190405 Command line quick tips- Cutting content out of files.md
@@ -0,0 +1,87 @@
+[#]: collector: (lujun9972)
+[#]: translator: (MjSeven)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10809-1.html)
+[#]: subject: (Command line quick tips: Cutting content out of files)
+[#]: via: (https://fedoramagazine.org/command-line-quick-tips-cutting-content-out-of-files/)
+[#]: author: (Stephen Snow https://fedoramagazine.org/author/jakfrost/)
+
+命令行技巧:分割文件内容
+======
+
+![][1]
+
+Fedora 发行版是一个功能齐全的操作系统,有出色的图形化桌面环境。用户可以很容易地通过单击动作来完成任何典型任务。所有这些美妙的易用性掩盖了其底层强大的命令行细节。本文是向你展示一些常见命令行实用程序的系列文章的一部分。让我们进入 shell 来看看 `cut`。
+
+通常,当你在命令行中工作时,你处理的是文本文件。有时这些文件可能很长,虽然可以完整地阅读它们,但是可能会耗费大量时间,并且容易出错。在本文中,你将学习如何从文本文件中提取内容,并从中获取你所需的信息。
+
+重要的是要意识到,在 Fedora 中有许多方法可以完成类似的命令行任务。例如,Fedora 仓库含有用于解析和处理文本的完整语言系统。此外,还有多个命令行实用程序可用于 shell 中任何可能的用途。本文只关注使用其中几个实用程序选项,从文件中提取一些信息并以可读的格式呈现。
+
+### cut 使用
+
+为了演示这个例子,在系统上使用一个标准的大文件,如 `/etc/passwd`。正如本系列的前一篇文章所示,你可以执行 `cat` 命令来查看整个文件:
+
+```
+$ cat /etc/passwd
+root:x:0:0:root:/root:/bin/bash
+bin:x:1:1:bin:/bin:/sbin/nologin
+daemon:x:2:2:daemon:/sbin:/sbin/nologin
+adm:x:3:4:adm:/var/adm:/sbin/nologin
+...
+```
+
+此文件包含系统上所有所有账户的信息。它有一个特定的格式:
+
+```
+name:password:user-id:group-id:comment:home-directory:shell
+```
+
+假设你只想要系统上所有账户名的列表,如果你只能从每一行中删除 “name” 值。这就是 `cut` 命令派上用场的地方!它一次处理一行输入,并提取该行的特定部分。
+
+`cut` 命令提供了以不同方式选择一行的部分的选项,在本示例中需要两个,`-d` 和 `-f`。`-d` 选项允许你声明用于分隔行中值的分隔符。在本例中,冒号(`:`)用于分隔值。`-f` 选项允许你选择要提取哪些字段值。因此,在本例中,输入的命令是:
+
+```
+$ cut -d: -f1 /etc/passwd
+root
+bin
+daemon
+adm
+...
+```
+
+太棒了,成功了!但是你将输出打印到标准输出,在终端会话中意味着它需要占据屏幕。如果你需要稍后完成另一项任务所需的信息,这该怎么办?如果有办法将 `cut` 命令的输出保存到文本文件中,那就太好了。对于这样的任务,shell 有一个简单的内置功能,重定向功能(`>`)。
+
+```
+$ cut -d: -f1 /etc/passwd > names.txt
+```
+
+这会将 `cut` 的输出放到一个名为 `names.txt` 的文件中,你可以使用 `cat` 来查看它的内容:
+
+```
+$ cat names.txt
+root
+bin
+daemon
+adm
+...
+```
+
+使用两个命令和一个 shell 功能,可以很容易地使用 `cat` 从一个文件进行识别、提取和重定向一些信息,并将其保存到另一个文件以供以后使用。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/command-line-quick-tips-cutting-content-out-of-files/
+
+作者:[Stephen Snow][a]
+选题:[lujun9972][b]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/jakfrost/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/commandline-cutting-816x345.jpg
+[2]: https://unsplash.com/photos/tA5eSY_hay8?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
+[3]: https://unsplash.com/search/photos/command-line?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/published/201905/20190408 Getting started with Python-s cryptography library.md b/published/201905/20190408 Getting started with Python-s cryptography library.md
new file mode 100644
index 0000000000..bc6aeb05b7
--- /dev/null
+++ b/published/201905/20190408 Getting started with Python-s cryptography library.md
@@ -0,0 +1,108 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10833-1.html)
+[#]: subject: (Getting started with Python's cryptography library)
+[#]: via: (https://opensource.com/article/19/4/cryptography-python)
+[#]: author: (Moshe Zadka https://opensource.com/users/moshez)
+
+Python 的加密库入门
+======
+
+> 加密你的数据并使其免受攻击者的攻击。
+
+![lock on world map][1]
+
+密码学俱乐部的第一条规则是:永远不要自己*发明*密码系统。密码学俱乐部的第二条规则是:永远不要自己*实现*密码系统:在现实世界中,在*实现*以及设计密码系统阶段都找到过许多漏洞。
+
+Python 中的一个有用的基本加密库就叫做 [cryptography][2]。它既是一个“安全”方面的基础库,也是一个“危险”层。“危险”层需要更加小心和相关的知识,并且使用它很容易出现安全漏洞。在这篇介绍性文章中,我们不会涵盖“危险”层中的任何内容!
+
+cryptography 库中最有用的高级安全功能是一种 Fernet 实现。Fernet 是一种遵循最佳实践的加密缓冲区的标准。它不适用于非常大的文件,如千兆字节以上的文件,因为它要求你一次加载要加密或解密的内容到内存缓冲区中。
+
+Fernet 支持对称(即密钥)加密方式*:加密和解密使用相同的密钥,因此必须保持安全。
+
+生成密钥很简单:
+
+```
+>>> k = fernet.Fernet.generate_key()
+>>> type(k)
+
+```
+
+这些字节可以写入有适当权限的文件,最好是在安全的机器上。
+
+有了密钥后,加密也很容易:
+
+```
+>>> frn = fernet.Fernet(k)
+>>> encrypted = frn.encrypt(b"x marks the spot")
+>>> encrypted[:10]
+b'gAAAAABb1'
+```
+
+如果在你的机器上加密,你会看到略微不同的值。不仅因为(我希望)你生成了和我不同的密钥,而且因为 Fernet 将要加密的值与一些随机生成的缓冲区连接起来。这是我之前提到的“最佳实践”之一:它将阻止对手分辨哪些加密值是相同的,这有时是攻击的重要部分。
+
+解密同样简单:
+
+```
+>>> frn = fernet.Fernet(k)
+>>> frn.decrypt(encrypted)
+b'x marks the spot'
+```
+
+请注意,这仅加密和解密*字节串*。为了加密和解密*文本串*,通常需要对它们使用 [UTF-8][3] 进行编码和解码。
+
+20 世纪中期密码学最有趣的进展之一是公钥加密。它可以在发布加密密钥的同时而让*解密密钥*保持保密。例如,它可用于保存服务器使用的 API 密钥:服务器是唯一可以访问解密密钥的一方,但是任何人都可以保存公共加密密钥。
+
+虽然 cryptography 没有任何支持公钥加密的*安全*功能,但 [PyNaCl][4] 库有。PyNaCl 封装并提供了一些很好的方法来使用 Daniel J. Bernstein 发明的 [NaCl][5] 加密系统。
+
+NaCl 始终同时加密和签名或者同时解密和验证签名。这是一种防止基于可伸缩性的攻击的方法,其中攻击者会修改加密值。
+
+加密是使用公钥完成的,而签名是使用密钥完成的:
+
+```
+>>> from nacl.public import PrivateKey, PublicKey, Box
+>>> source = PrivateKey.generate()
+>>> with open("target.pubkey", "rb") as fpin:
+... target_public_key = PublicKey(fpin.read())
+>>> enc_box = Box(source, target_public_key)
+>>> result = enc_box.encrypt(b"x marks the spot")
+>>> result[:4]
+b'\xe2\x1c0\xa4'
+```
+
+解密颠倒了角色:它需要私钥进行解密,需要公钥验证签名:
+
+```
+>>> from nacl.public import PrivateKey, PublicKey, Box
+>>> with open("source.pubkey", "rb") as fpin:
+... source_public_key = PublicKey(fpin.read())
+>>> with open("target.private_key", "rb") as fpin:
+... target = PrivateKey(fpin.read())
+>>> dec_box = Box(target, source_public_key)
+>>> dec_box.decrypt(result)
+b'x marks the spot'
+```
+
+最后,[PocketProtector][6] 库构建在 PyNaCl 之上,包含完整的密钥管理方案。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/cryptography-python
+
+作者:[Moshe Zadka][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/moshez
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/security-lock-cloud-safe.png?itok=yj2TFPzq (lock on world map)
+[2]: https://cryptography.io/en/latest/
+[3]: https://en.wikipedia.org/wiki/UTF-8
+[4]: https://pynacl.readthedocs.io/en/stable/
+[5]: https://nacl.cr.yp.to/
+[6]: https://github.com/SimpleLegal/pocket_protector/blob/master/USER_GUIDE.md
diff --git a/published/201905/20190408 How to quickly deploy, run Linux applications as unikernels.md b/published/201905/20190408 How to quickly deploy, run Linux applications as unikernels.md
new file mode 100644
index 0000000000..87753f2a68
--- /dev/null
+++ b/published/201905/20190408 How to quickly deploy, run Linux applications as unikernels.md
@@ -0,0 +1,74 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10822-1.html)
+[#]: subject: (How to quickly deploy, run Linux applications as unikernels)
+[#]: via: (https://www.networkworld.com/article/3387299/how-to-quickly-deploy-run-linux-applications-as-unikernels.html#tk.rss_all)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+如何快速部署并作为 unikernel 运行 Linux 应用
+======
+
+unikernel 是一种用于在云基础架构上部署应用程序的更小、更快、更安全的方式。使用 NanoVMs OPS,任何人都可以将 Linux 应用程序作为 unikernel 运行而无需额外编码。
+
+![Marcho Verch \(CC BY 2.0\)][1]
+
+随着 unikernel 的出现,构建和部署轻量级应用变得更容易、更可靠。虽然功能有限,但 unikernal 在速度和安全性方面有许多优势。
+
+### 什么是 unikernel?
+
+unikernel 是一种非常特殊的单一地址空间的机器镜像,类似于已经主导大批互联网的云应用,但它们相当小并且是单一用途的。它们很轻,只提供所需的资源。它们加载速度非常快,而且安全性更高 —— 攻击面非常有限。单个可执行文件中包含所需的所有驱动、I/O 例程和支持库。其最终生成的虚拟镜像可以无需其它部分就可以引导和运行。它们通常比容器快 10 到 20 倍。
+
+潜在的攻击者无法进入 shell 并获得控制权,因为它没有 shell。他们无法获取系统的 `/etc/passwd`或 `/etc/shadow` 文件,因为这些文件不存在。创建一个 unikernel 就像应用将自己变成操作系统。使用 unikernel,应用和操作系统将成为一个单一的实体。你忽略了不需要的东西,从而消除了漏洞并大幅提高性能。
+
+简而言之,unikernel:
+
+* 提供更高的安全性(例如,shell 破解代码无用武之地)
+* 比标准云应用占用更小空间
+* 经过高度优化
+* 启动非常快
+
+### unikernel 有什么缺点吗?
+
+unikernel 的唯一严重缺点是你必须构建它们。对于许多开发人员来说,这是一个巨大的进步。由于应用的底层特性,将应用简化为所需的内容然后生成紧凑、平稳运行的应用可能很复杂。在过去,你几乎必须是系统开发人员或底层程序员才能生成它们。
+
+### 这是怎么改变的?
+
+最近(2019 年 3 月 24 日)[NanoVMs][3] 宣布了一个将任何 Linux 应用加载为 unikernel 的工具。使用 NanoVMs OPS,任何人都可以将 Linux 应用作为 unikernel 运行而无需额外编码。该应用还可以更快、更安全地运行,并且成本和开销更低。
+
+### 什么是 NanoVMs OPS?
+
+NanoVMs 是给开发人员的 unikernel 工具。它能让你运行各种企业级软件,但仍然可以非常严格地控制它的运行。
+
+使用 OPS 的其他好处包括:
+
+* 无需经验或知识,开发人员就可以构建 unikernel。
+* 该工具可在笔记本电脑上本地构建和运行 unikernel。
+* 无需创建帐户,只需下载并一个命令即可执行 OPS。
+
+NanoVMs 的介绍可以在 [Youtube 上的 NanoVMs 视频][5] 上找到。你还可以查看该公司的 [LinkedIn 页面][6]并在[此处][7]阅读有关 NanoVMs 安全性的信息。
+
+还有有关如何[入门][8]的一些信息。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3387299/how-to-quickly-deploy-run-linux-applications-as-unikernels.html
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/corn-kernels-100792925-large.jpg
+[3]: https://nanovms.com/
+[5]: https://www.youtube.com/watch?v=VHWDGhuxHPM
+[6]: https://www.linkedin.com/company/nanovms/
+[7]: https://nanovms.com/security
+[8]: https://nanovms.gitbook.io/ops/getting_started
+[9]: https://www.facebook.com/NetworkWorld/
+[10]: https://www.linkedin.com/company/network-world
diff --git a/published/201905/20190409 Anbox - Easy Way To Run Android Apps On Linux.md b/published/201905/20190409 Anbox - Easy Way To Run Android Apps On Linux.md
new file mode 100644
index 0000000000..d4829d7344
--- /dev/null
+++ b/published/201905/20190409 Anbox - Easy Way To Run Android Apps On Linux.md
@@ -0,0 +1,177 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10843-1.html)
+[#]: subject: (Anbox – Easy Way To Run Android Apps On Linux)
+[#]: via: (https://www.2daygeek.com/anbox-best-android-emulator-for-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+Anbox:在 Linux 上运行 Android 应用程序的简单方式
+======
+
+Android 模拟器允许我们直接从 Linux 系统上运行我们最喜欢的 Android 应用程序或游戏。对于 Linux 来说,有很多的这样的 Android 模拟器,在过去我们介绍过几个此类应用程序。
+
+你可以通过导航到下面的网址回顾它们。
+
+ * [如何在 Linux 上安装官方 Android 模拟器 (SDK)][1]
+ * [如何在 Linux 上安装 GenyMotion (Android 模拟器)][2]
+
+今天我们将讨论 Anbox Android 模拟器。
+
+### Anbox 是什么?
+
+Anbox 是 “Android in a box” 的缩写。Anbox 是一个基于容器的方法,可以在普通的 GNU/Linux 系统上启动完整的 Android 系统。
+
+它是现代化的新模拟器之一。
+
+Anbox 可以让你在 Linux 系统上运行 Android,而没有虚拟化的迟钝,因为核心的 Android 操作系统已经使用 Linux 命名空间(LXE)放置到容器中了。
+
+Android 容器不能直接访问到任何硬件,所有硬件的访问都是通过在主机上的守护进程进行的。
+
+每个应用程序将在一个单独窗口打开,就像其它本地系统应用程序一样,并且它可以显示在启动器中。
+
+### 如何在 Linux 中安装 Anbox ?
+
+Anbox 也可作为 snap 软件包安装,请确保你已经在你的系统上启用了 snap 支持。
+
+Anbox 软件包最近被添加到 Ubuntu 18.10 (Cosmic) 和 Debian 10 (Buster) 软件仓库。如果你正在运行这些版本,那么你可以轻松地在官方发行版的软件包管理器的帮助下安装。否则可以用 snap 软件包安装。
+
+为使 Anbox 工作,确保需要的内核模块已经安装在你的系统中。对于基于 Ubuntu 的用户,使用下面的 PPA 来安装它。
+
+```
+$ sudo add-apt-repository ppa:morphis/anbox-support
+$ sudo apt update
+$ sudo apt install linux-headers-generic anbox-modules-dkms
+```
+
+在你安装 `anbox-modules-dkms` 软件包后,你必须手动重新加载内核模块,或需要系统重新启动。
+
+```
+$ sudo modprobe ashmem_linux
+$ sudo modprobe binder_linux
+```
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET 命令][3] 或 [APT 命令][4] 来安装 anbox。
+
+```
+$ sudo apt install anbox
+```
+
+对于基于 Arch Linux 的系统,我们总是习惯从 AUR 储存库中获取软件包。所以,使用任一个的 [AUR 助手][5] 来安装它。我喜欢使用 [Yay 工具][6]。
+
+```
+$ yuk -S anbox-git
+```
+
+否则,你可以通过导航到下面的文章来 [在 Linux 中安装和配置 snap][7]。如果你已经在你的系统上安装 snap,其它的步骤可以忽略。
+
+```
+$ sudo snap install --devmode --beta anbox
+```
+
+### Anbox 的必要条件
+
+默认情况下,Anbox 并没有带有 Google Play Store。因此,我们需要手动下载每个应用程序(APK),并使用 Android 调试桥(ADB)安装它。
+
+ADB 工具在大多数的发行版的软件仓库是轻易可获得的,我们可以容易地安装它。
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET 命令][3] 或 [APT 命令][4] 来安装 ADB。
+
+```
+$ sudo apt install android-tools-adb
+```
+
+对于 Fedora 系统,使用 [DNF 命令][8] 来安装 ADB。
+
+```
+$ sudo dnf install android-tools
+```
+
+对于基于 Arch Linux 的系统,使用 [Pacman 命令][9] 来安装 ADB。
+
+```
+$ sudo pacman -S android-tools
+```
+
+对于 openSUSE Leap 系统,使用 [Zypper 命令][10] 来安装 ADB。
+
+```
+$ sudo zypper install android-tools
+```
+
+### 在哪里下载 Android 应用程序?
+
+既然我们不能使用 Play Store ,你就得从信得过的网站来下载 APK 软件包,像 [APKMirror][11] ,然后手动安装它。
+
+### 如何启动 Anbox?
+
+Anbox 可以从 Dash 启动。这是默认的 Anbox 外貌。
+
+![][13]
+
+### 如何把应用程序推到 Anbox ?
+
+像我先前所说,我们需要手动安装它。为测试目的,我们将安装 YouTube 和 Firefox 应用程序。
+
+首先,你需要启动 ADB 服务。为做到这样,运行下面的命令。
+
+```
+$ adb devices
+```
+
+我们已经下载 YouTube 和 Firefox 应用程序,现在我们将安装。
+
+语法格式:
+
+```
+$ adb install Name-Of-Your-Application.apk
+```
+
+安装 YouTube 和 Firefox 应用程序:
+
+```
+$ adb install 'com.google.android.youtube_14.13.54-1413542800_minAPI19(x86_64)(nodpi)_apkmirror.com.apk'
+Success
+
+$ adb install 'org.mozilla.focus_9.0-330191219_minAPI21(x86)(nodpi)_apkmirror.com.apk'
+Success
+```
+
+我已经在我的 Anbox 中安装 YouTube 和 Firefox。查看下面的截图。
+
+![][14]
+
+像我们在文章的开始所说,它将以新的标签页打开任何的应用程序。在这里,我们将打开 Firefox ,并访问 [2daygeek.com][15] 网站。
+
+![][16]
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/anbox-best-android-emulator-for-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/install-configure-sdk-android-emulator-on-linux/
+[2]: https://www.2daygeek.com/install-genymotion-android-emulator-on-ubuntu-debian-fedora-arch-linux/
+[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
+[4]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[5]: https://www.2daygeek.com/category/aur-helper/
+[6]: https://www.2daygeek.com/install-yay-yet-another-yogurt-aur-helper-on-arch-linux/
+[7]: https://www.2daygeek.com/linux-snap-package-manager-ubuntu/
+[8]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[9]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
+[10]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
+[11]: https://www.apkmirror.com/
+[12]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
+[13]: https://www.2daygeek.com/wp-content/uploads/2019/04/anbox-best-android-emulator-for-linux-1.jpg
+[14]: https://www.2daygeek.com/wp-content/uploads/2019/04/anbox-best-android-emulator-for-linux-2.jpg
+[15]: https://www.2daygeek.com/
+[16]: https://www.2daygeek.com/wp-content/uploads/2019/04/anbox-best-android-emulator-for-linux-3.jpg
diff --git a/published/201905/20190409 How To Install And Configure Chrony As NTP Client.md b/published/201905/20190409 How To Install And Configure Chrony As NTP Client.md
new file mode 100644
index 0000000000..cf25d7af66
--- /dev/null
+++ b/published/201905/20190409 How To Install And Configure Chrony As NTP Client.md
@@ -0,0 +1,211 @@
+[#]: collector: (lujun9972)
+[#]: translator: (arrowfeng)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10820-1.html)
+[#]: subject: (How To Install And Configure Chrony As NTP Client?)
+[#]: via: (https://www.2daygeek.com/configure-ntp-client-using-chrony-in-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+如何安装和配置 Chrony 作为 NTP 客户端?
+======
+
+NTP 服务器和 NTP 客户端可以让我们通过网络来同步时钟。之前,我们已经撰写了一篇关于 [NTP 服务器和 NTP 客户端的安装与配置][1] 的文章。
+
+如果你想看这些内容,点击上述的 URL 访问。
+
+### Chrony 客户端
+
+Chrony 是 NTP 客户端的替代品。它能以更精确的时间和更快的速度同步时钟,并且它对于那些不是全天候在线的系统非常有用。
+
+chronyd 更小、更节能,它占用更少的内存且仅当需要时它才唤醒 CPU。即使网络拥塞较长时间,它也能很好地运行。它支持 Linux 上的硬件时间戳,允许在本地网络进行极其准确的同步。
+
+它提供下列两个服务。
+
+ * `chronyc`:Chrony 的命令行接口。
+ * `chronyd`:Chrony 守护进程服务。
+
+### 如何在 Linux 上安装和配置 Chrony?
+
+由于安装包在大多数发行版的官方仓库中可用,因此直接使用包管理器去安装它。
+
+对于 Fedora 系统,使用 [DNF 命令][2] 去安装 chrony。
+
+```
+$ sudo dnf install chrony
+```
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET 命令][3] 或者 [APT 命令][4] 去安装 chrony。
+
+```
+$ sudo apt install chrony
+```
+
+对基于 Arch Linux 的系统,使用 [Pacman 命令][5] 去安装 chrony。
+
+```
+$ sudo pacman -S chrony
+```
+
+对于 RHEL/CentOS 系统,使用 [YUM 命令][6] 去安装 chrony。
+
+```
+$ sudo yum install chrony
+```
+
+对于 openSUSE Leap 系统,使用 [Zypper 命令][7] 去安装 chrony。
+
+```
+$ sudo zypper install chrony
+```
+
+在这篇文章中,我们将使用下列设置去测试。
+
+ * NTP 服务器:主机名:CentOS7.2daygeek.com,IP:192.168.1.5,OS:CentOS 7
+ * Chrony 客户端:主机名:Ubuntu18.2daygeek.com,IP:192.168.1.3,OS:Ubuntu 18.04
+
+服务器的安装请访问 [在 Linux 上安装和配置 NTP 服务器][1] 的 URL。
+
+我已经在 CentOS7.2daygeek.com 这台主机上安装和配置了 NTP 服务器,因此,将其附加到所有的客户端机器上。此外,还包括其他所需信息。
+
+`chrony.conf` 文件的位置根据你的发行版不同而不同。
+
+对基于 RHEL 的系统,它位于 `/etc/chrony.conf`。
+
+对基于 Debian 的系统,它位于 `/etc/chrony/chrony.conf`。
+
+```
+# vi /etc/chrony/chrony.conf
+
+server CentOS7.2daygeek.com prefer iburst
+keyfile /etc/chrony/chrony.keys
+driftfile /var/lib/chrony/chrony.drift
+logdir /var/log/chrony
+maxupdateskew 100.0
+makestep 1 3
+cmdallow 192.168.1.0/24
+```
+
+更新配置后需要重启 Chrony 服务。
+
+对于 sysvinit 系统。基于 RHEL 的系统需要去运行 `chronyd` 而不是 `chrony`。
+
+```
+# service chronyd restart
+# chkconfig chronyd on
+```
+
+对于 systemctl 系统。 基于 RHEL 的系统需要去运行 `chronyd` 而不是 `chrony`。
+
+```
+# systemctl restart chronyd
+# systemctl enable chronyd
+```
+
+使用像 `tacking`、`sources` 和 `sourcestats` 这样的子命令去检查 chrony 的同步细节。
+
+去检查 chrony 的追踪状态。
+
+```
+# chronyc tracking
+Reference ID : C0A80105 (CentOS7.2daygeek.com)
+Stratum : 3
+Ref time (UTC) : Thu Mar 28 05:57:27 2019
+System time : 0.000002545 seconds slow of NTP time
+Last offset : +0.001194361 seconds
+RMS offset : 0.001194361 seconds
+Frequency : 1.650 ppm fast
+Residual freq : +184.101 ppm
+Skew : 2.962 ppm
+Root delay : 0.107966967 seconds
+Root dispersion : 1.060455322 seconds
+Update interval : 2.0 seconds
+Leap status : Normal
+```
+
+运行 `sources` 命令去显示当前时间源的信息。
+
+```
+# chronyc sources
+210 Number of sources = 1
+MS Name/IP address Stratum Poll Reach LastRx Last sample
+===============================================================================
+^* CentOS7.2daygeek.com 2 6 17 62 +36us[+1230us] +/- 1111ms
+```
+
+`sourcestats` 命令显示有关 chronyd 当前正在检查的每个源的漂移率和偏移估计过程的信息。
+
+```
+# chronyc sourcestats
+210 Number of sources = 1
+Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
+==============================================================================
+CentOS7.2daygeek.com 5 3 71 -97.314 78.754 -469us 441us
+```
+
+当 chronyd 配置为 NTP 客户端或对等端时,你就能通过 `chronyc ntpdata` 命令向每一个 NTP 源发送/接收时间戳模式和交错模式的报告。
+
+```
+# chronyc ntpdata
+
+Remote address : 192.168.1.5 (C0A80105)
+Remote port : 123
+Local address : 192.168.1.3 (C0A80103)
+Leap status : Normal
+Version : 4
+Mode : Server
+Stratum : 2
+Poll interval : 6 (64 seconds)
+Precision : -23 (0.000000119 seconds)
+Root delay : 0.108994 seconds
+Root dispersion : 0.076523 seconds
+Reference ID : 85F3EEF4 ()
+Reference time : Thu Mar 28 06:43:35 2019
+Offset : +0.000160221 seconds
+Peer delay : 0.000664478 seconds
+Peer dispersion : 0.000000178 seconds
+Response time : 0.000243252 seconds
+Jitter asymmetry: +0.00
+NTP tests : 111 111 1111
+Interleaved : No
+Authenticated : No
+TX timestamping : Kernel
+RX timestamping : Kernel
+Total TX : 46
+Total RX : 46
+Total valid RX : 46
+```
+
+最后运行 `date` 命令。
+
+```
+# date
+Thu Mar 28 03:08:11 CDT 2019
+```
+
+为了立即跟进系统时钟,绕过任何正在进行的缓步调整,请以 root 身份运行以下命令(以手动调整系统时钟)。
+
+```
+# chronyc makestep
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/configure-ntp-client-using-chrony-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[arrowfeng](https://github.com/arrowfeng)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-10811-1.html
+[2]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
+[4]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[5]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
+[6]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
+[7]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
diff --git a/published/201905/20190409 How To Install And Configure NTP Server And NTP Client In Linux.md b/published/201905/20190409 How To Install And Configure NTP Server And NTP Client In Linux.md
new file mode 100644
index 0000000000..4979e03dcb
--- /dev/null
+++ b/published/201905/20190409 How To Install And Configure NTP Server And NTP Client In Linux.md
@@ -0,0 +1,252 @@
+[#]: collector: (lujun9972)
+[#]: translator: (arrowfeng)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10811-1.html)
+[#]: subject: (How To Install And Configure NTP Server And NTP Client In Linux?)
+[#]: via: (https://www.2daygeek.com/install-configure-ntp-server-ntp-client-in-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+如何在 Linux 上安装、配置 NTP 服务器和客户端?
+======
+
+你也许听说过这个词很多次或者你可能已经在使用它了。在这篇文章中我将会清晰的告诉你 NTP 服务器和客户端的安装。
+
+之后我们将会了解 **[Chrony NTP 客户端的安装][1]**。
+
+### 什么是 NTP 服务?
+
+NTP 意即网络时间协议。它是通过网络在计算机系统之间进行时钟同步的网络协议。换言之,它可以让那些通过 NTP 或者 Chrony 客户端连接到 NTP 服务器的系统保持时间上的一致(它能保持一个精确的时间)。
+
+NTP 在公共互联网上通常能够保持时间延迟在几十毫秒以内的精度,并在理想条件下,它能在局域网下达到低于一毫秒的延迟精度。
+
+它使用用户数据报协议(UDP)在端口 123 上发送和接受时间戳。它是个 C/S 架构的应用程序。
+
+### NTP 客户端
+
+NTP 客户端将其时钟与网络时间服务器同步。
+
+### Chrony 客户端
+
+Chrony 是 NTP 客户端的替代品。它能以更精确的时间更快的同步系统时钟,并且它对于那些不总是在线的系统很有用。
+
+### 为什么我们需要 NTP 服务?
+
+为了使你组织中的所有服务器与基于时间的作业保持精确的时间同步。
+
+为了说明这点,我将告诉你一个场景。比如说,我们有两个服务器(服务器 1 和服务器 2)。服务器 1 通常在 10:55 完成离线作业,然后服务器 2 在 11:00 需要基于服务器 1 完成的作业报告去运行其他作业。
+
+如果两个服务器正在使用不同的时间(如果服务器 2 时间比服务器 1 提前,服务器 1 的时间就落后于服务器 2),然后我们就不能去执行这个作业。为了达到时间一致,我们应该安装 NTP。
+
+希望上述能清除你对于 NTP 的疑惑。
+
+在这篇文章中,我们将使用下列设置去测试。
+
+ * **NTP 服务器:** 主机名:CentOS7.2daygeek.com,IP:192.168.1.8,OS:CentOS 7
+ * **NTP 客户端:** 主机名:Ubuntu18.2daygeek.com,IP:192.168.1.5,OS:Ubuntu 18.04
+
+### NTP 服务器端:如何在 Linux 上安装 NTP?
+
+因为它是 C/S 架构,所以 NTP 服务器端和客户端的安装包没有什么不同。在发行版的官方仓库中都有 NTP 安装包,因此可以使用发行版的包管理器安装它。
+
+对于 Fedora 系统,使用 [DNF 命令][2] 去安装 ntp。
+
+```
+$ sudo dnf install ntp
+```
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET 命令][3] 或者 [APT 命令][4] 去安装 ntp。
+
+```
+$ sudo apt install ntp
+```
+
+对基于 Arch Linux 的系统,使用 [Pacman 命令][5] 去安装 ntp。
+
+```
+$ sudo pacman -S ntp
+```
+
+对 RHEL/CentOS 系统,使用 [YUM 命令][6] 去安装 ntp。
+
+```
+$ sudo yum install ntp
+```
+
+对于 openSUSE Leap 系统,使用 [Zypper 命令][7] 去安装 ntp。
+
+```
+$ sudo zypper install ntp
+```
+
+### 如何在 Linux 上配置 NTP 服务器?
+
+安装 NTP 软件包后,请确保在服务器端的 `/etc/ntp.conf` 文件中取消以下配置的注释。
+
+默认情况下,NTP 服务器配置依赖于 `X.distribution_name.pool.ntp.org`。 如果有必要,可以使用默认配置,也可以访问站点,根据你所在的位置(特定国家/地区)进行更改。
+
+比如说如果你在印度,然后你的 NTP 服务器将是 `0.in.pool.ntp.org`,并且这个地址适用于大多数国家。
+
+```
+# vi /etc/ntp.conf
+
+restrict default kod nomodify notrap nopeer noquery
+restrict -6 default kod nomodify notrap nopeer noquery
+restrict 127.0.0.1
+restrict -6 ::1
+server 0.asia.pool.ntp.org
+server 1.asia.pool.ntp.org
+server 2.asia.pool.ntp.org
+server 3.asia.pool.ntp.org
+restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
+driftfile /var/lib/ntp/drift
+keys /etc/ntp/keys
+```
+
+我们仅允许 `192.168.1.0/24` 子网的客户端访问这个 NTP 服务器。
+
+由于默认情况下基于 RHEL7 的发行版的防火墙是打开的,因此要允许 ntp 服务通过。
+
+```
+# firewall-cmd --add-service=ntp --permanent
+# firewall-cmd --reload
+```
+
+更新配置后要重启服务:
+
+对于 sysvinit 系统。基于 Debian 的系统需要去运行 `ntp` 而不是 `ntpd`。
+
+```
+# service ntpd restart
+# chkconfig ntpd on
+```
+
+对于 systemctl 系统。基于 Debian 的需要去运行 `ntp` 和 `ntpd`。
+
+```
+# systemctl restart ntpd
+# systemctl enable ntpd
+```
+
+### NTP 客户端:如何在 Linux 上安装 NTP 客户端?
+
+正如我在这篇文章中前面所说的。NTP 服务器端和客户端的安装包没有什么不同。因此在客户端上也安装同样的软件包。
+
+对于 Fedora 系统,使用 [DNF 命令][2] 去安装 ntp。
+
+```
+$ sudo dnf install ntp
+```
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET 命令][3] 或者 [APT 命令][4] 去安装 ntp。
+
+```
+$ sudo apt install ntp
+```
+
+对基于 Arch Linux 的系统,使用 [Pacman 命令][5] 去安装 ntp。
+
+```
+$ sudo pacman -S ntp
+```
+
+对 RHEL/CentOS 系统,使用 [YUM 命令][6] 去安装 ntp。
+
+```
+$ sudo yum install ntp
+```
+
+对于 openSUSE Leap 系统,使用 [Zypper 命令][7] 去安装 ntp。
+
+```
+$ sudo zypper install ntp
+```
+
+我已经在 CentOS7.2daygeek.com` 这台主机上安装和配置了 NTP 服务器,因此将其附加到所有的客户端机器上。
+
+```
+# vi /etc/ntp.conf
+```
+
+```
+restrict default kod nomodify notrap nopeer noquery
+restrict -6 default kod nomodify notrap nopeer noquery
+restrict 127.0.0.1
+restrict -6 ::1
+server CentOS7.2daygeek.com prefer iburst
+driftfile /var/lib/ntp/drift
+keys /etc/ntp/keys
+```
+
+更新配置后重启服务:
+
+对于 sysvinit 系统。基于 Debian 的系统需要去运行 `ntp` 而不是 `ntpd`。
+
+```
+# service ntpd restart
+# chkconfig ntpd on
+```
+
+对于 systemctl 系统。基于 Debian 的需要去运行 `ntp` 和 `ntpd`。
+
+```
+# systemctl restart ntpd
+# systemctl enable ntpd
+```
+
+重新启动 NTP 服务后等待几分钟以便从 NTP 服务器获取同步的时间。
+
+在 Linux 上运行下列命令去验证 NTP 服务的同步状态。
+
+```
+# ntpq –p
+或
+# ntpq -pn
+
+ remote refid st t when poll reach delay offset jitter
+==============================================================================
+*CentOS7.2daygee 133.243.238.163 2 u 14 64 37 0.686 0.151 16.432
+```
+
+运行下列命令去得到 ntpd 的当前状态。
+
+```
+# ntpstat
+synchronised to NTP server (192.168.1.8) at stratum 3
+ time correct to within 508 ms
+ polling server every 64 s
+```
+
+最后运行 `date` 命令。
+
+```
+# date
+Tue Mar 26 23:17:05 CDT 2019
+```
+
+如果你观察到 NTP 中输出的时间偏移很大。运行下列命令从 NTP 服务器手动同步时钟。当你执行下列命令的时候,确保你的 NTP 客户端应该为未活动状态。(LCTT 译注:当时间偏差很大时,客户端的自动校正需要花费很长时间才能逐步追上,因此应该手动运行以更新)
+
+```
+# ntpdate –uv CentOS7.2daygeek.com
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/install-configure-ntp-server-ntp-client-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[arrowfeng](https://github.com/arrowfeng)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/configure-ntp-client-using-chrony-in-linux/
+[2]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
+[4]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[5]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
+[6]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
+[7]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
diff --git a/published/201905/20190411 Installing Ubuntu MATE on a Raspberry Pi.md b/published/201905/20190411 Installing Ubuntu MATE on a Raspberry Pi.md
new file mode 100644
index 0000000000..2712782f24
--- /dev/null
+++ b/published/201905/20190411 Installing Ubuntu MATE on a Raspberry Pi.md
@@ -0,0 +1,133 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10817-1.html)
+[#]: subject: (Installing Ubuntu MATE on a Raspberry Pi)
+[#]: via: (https://itsfoss.com/ubuntu-mate-raspberry-pi/)
+[#]: author: (Chinmay https://itsfoss.com/author/chinmay/)
+
+在树莓派上安装 Ubuntu MATE
+=================================
+
+> 简介: 这篇快速指南告诉你如何在树莓派设备上安装 Ubuntu MATE。
+
+[树莓派][1] 是目前最流行的单板机并且是创客首选的板子。[Raspbian][2] 是基于 Debian 的树莓派官方操作系统。它是轻量级的,内置了教育工具和能在大部分场景下完成工作的工具。
+
+[安装 Raspbian][3] 安装同样简单,但是与 [Debian][4] 随同带来的问题是慢的升级周期和旧的软件包。
+
+在树莓派上运行 Ubuntu 可以给你带来一个更丰富的体验和最新的软件。当在你的树莓派上运行 Ubuntu 时我们有几个选择。
+
+ 1. [Ubuntu MATE][5] :Ubuntu MATE 是仅有的原生支持树莓派且包含一个完整的桌面环境的发行版。
+ 2. [Ubuntu Server 18.04][6] + 手动安装一个桌面环境。
+ 3. 使用 [Ubuntu Pi Flavor Maker][7] 社区构建的镜像,这些镜像只支持树莓派 2B 和 3B 的变种,并且**不能**更新到最新的 LTS 发布版。
+
+第一个选择安装是最简单和快速的,而第二个选择给了你自由选择安装桌面环境的机会。我推荐选择前两个中的任一个。
+
+这里是一些磁盘镜像下载链接。在这篇文章里我只会提及 Ubuntu MATE 的安装。
+
+### 在树莓派上安装 Ubuntu MATE
+
+去 Ubuntu MATE 的下载页面获取推荐的镜像。
+
+![][8]
+
+试验性的 ARM64 版本只应在你需要在树莓派服务器上运行像 MongoDB 这样的 64 位应用时使用。
+
+- [下载为树莓派准备的 Ubuntu MATE][9]
+
+#### 第 1 步:设置 SD 卡
+
+镜像文件一旦下载完成后需要解压。你可以简单的右击来提取它。
+
+也可以使用下面命令做同样的事。
+
+```
+xz -d ubuntu-mate***.img.xz
+```
+
+如果你在 Windows 上你可以使用 [7-zip][10] 替代。
+
+安装 [Balena Etcher][11],我们将使用这个工具将镜像写入 SD 卡。确保你的 SD 卡有至少 8 GB 的容量。
+
+启动 Etcher,选择镜像文件和 SD 卡。
+
+![][12]
+
+一旦进度完成 SD 卡就准备好了。
+
+#### 第 2 步:设置树莓派
+
+你可能已经知道你需要一些外设才能使用树莓派,例如鼠标、键盘、HDMI 线等等。你同样可以[不用键盘和鼠标安装树莓派][13],但是这篇指南不是那样。
+
+ * 插入一个鼠标和一个键盘。
+ * 连接 HDMI 线缆。
+ * 插入 SD 卡 到 SD 卡槽。
+
+插入电源线给它供电。确保你有一个好的电源供应(5V、3A 至少)。一个不好的电源供应可能降低性能。
+
+#### Ubuntu MATE 安装
+
+一旦你给树莓派供电,你将遇到非常熟悉的 Ubuntu 安装过程。在这里的安装过程相当直接。
+
+![选择你的键盘布局][14]
+
+![选择你的时区][15]
+
+选择你的 WiFi 网络并且在网络连接中输入密码。
+
+![添加用户名和密码][16]
+
+在设置了键盘布局、时区和用户凭证后,在几分钟后你将被带到登录界面。瞧!你快要完成了。
+
+![][17]
+
+一旦登录,第一件事你应该做的是[更新 Ubuntu][18]。你应该使用下列命令。
+
+```
+sudo apt update
+sudo apt upgrade
+```
+
+你同样可以使用软件更新器。
+
+![][19]
+
+一旦更新完成安装你就可以开始了。你可以根据你的需要继续安装树莓派平台为 GPIO 和其他 I/O 准备的特定软件包。
+
+是什么让你考虑在 Raspberry 上安装 Ubuntu,你对 Raspbian 的体验如何呢?请在下方评论来让我知道。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/ubuntu-mate-raspberry-pi/
+
+作者:[Chinmay][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/chinmay/
+[b]: https://github.com/lujun9972
+[1]: https://www.raspberrypi.org/
+[2]: https://www.raspberrypi.org/downloads/
+[3]: https://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/
+[4]: https://www.debian.org/
+[5]: https://ubuntu-mate.org/
+[6]: https://wiki.ubuntu.com/ARM/RaspberryPi#Recovering_a_system_using_the_generic_kernel
+[7]: https://ubuntu-pi-flavour-maker.org/download/
+[8]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/ubuntu-mate-raspberry-pi-download.jpg?ssl=1
+[9]: https://ubuntu-mate.org/download/
+[10]: https://www.7-zip.org/download.html
+[11]: https://www.balena.io/etcher/
+[12]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/Screenshot-from-2019-04-08-01-36-16.png?ssl=1
+[13]: https://linuxhandbook.com/raspberry-pi-headless-setup/
+[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Keyboard-layout-ubuntu.jpg?fit=800%2C467&ssl=1
+[15]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/select-time-zone-ubuntu.jpg?fit=800%2C468&ssl=1
+[16]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Credentials-ubuntu.jpg?fit=800%2C469&ssl=1
+[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Desktop-ubuntu.jpg?fit=800%2C600&ssl=1
+[18]: https://itsfoss.com/update-ubuntu/
+[19]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/update-software.png?ssl=1
+
+
diff --git a/published/201905/20190415 12 Single Board Computers- Alternative to Raspberry Pi.md b/published/201905/20190415 12 Single Board Computers- Alternative to Raspberry Pi.md
new file mode 100644
index 0000000000..742fca39da
--- /dev/null
+++ b/published/201905/20190415 12 Single Board Computers- Alternative to Raspberry Pi.md
@@ -0,0 +1,317 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10823-1.html)
+[#]: subject: (12 Single Board Computers: Alternative to Raspberry Pi)
+[#]: via: (https://itsfoss.com/raspberry-pi-alternatives/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+12 个可替代树莓派的单板机
+================================
+
+> 正在寻找树莓派的替代品?这里有一些单板机可以满足你的 DIY 渴求。
+
+树莓派是当前最流行的单板机。你可以在你的 DIY 项目中使用它,或者用它作为一个成本效益高的系统来学习编代码,或者为了你的便利,利用一个[流媒体软件][1]运行在上面作为流媒体设备。
+
+你可以使用树莓派做很多事,但它不是各种极客的最终解决方案。一些人可能在寻找更便宜的开发板,一些可能在寻找更强大的。
+
+无论是哪种情况,我们都有很多原因需要树莓派的替代品。因此,在这片文章里,我们将讨论最好的 12 个我们认为能够替代树莓派的单板机。
+
+![][2]
+
+### 满足你 DIY 渴望的树莓派替代品
+
+这个列表没有特定的顺序排名。链接的一部分是赞助链接。请阅读我们的[赞助政策][3]。
+
+#### 1、Onion Omega2+
+
+![][4]
+
+只要 $13,Omega2+ 是这里你可以找到的最便宜的 IoT 单板机设备。它运行 LEDE(Linux 嵌入式开发环境)Linux 系统 —— 这是一个基于 [OpenWRT][5] 的发行版。
+
+由于运行一个自定义 Linux 系统,它的组成元件、花费和灵活性使它完美适合几乎所有类型的 IoT 应用。
+
+你可以在[亚马逊商城的 Onion Omega 套件][6]或者从他们的网站下单,可能会收取额外的邮费。
+
+**关键参数:**
+
+ * MT7688 SoC
+ * 2.4 GHz IEEE 802.11 b/g/n WiFi
+ * 128 MB DDR2 RAM
+ * 32 MB on-board flash storage
+ * MicroSD Slot
+ * USB 2.0
+ * 12 GPIO Pins
+
+[查看官网][7]
+
+#### 2、NVIDIA Jetson Nano Developer Kit
+
+这是来自 NVIDIA 的只要 **$99** 的非常独特和有趣的树莓派替代品。是的,它不是每个人都能充分利用的设备 —— 只为特定的一组极客或者开发者而生。
+
+NVIDIA 使用下面的用例解释它:
+
+> NVIDIA® Jetson Nano™ Developer Kit 是一个小的、强大的计算机,可以让你并行运行多个神经网络的应用像图像分类、对象侦察、图像分段、语音处理。全部在一个易于使用的、运行功率只有 5 瓦特的平台上。
+>
+> nvidia
+
+因此,基本上,如果你正在研究 AI 或者深度学习,你可以充分利用开发设备。如果你很好奇,该设备的产品计算模块将在 2019 年 7 月到来。
+
+**关键参数:**
+
+ * CPU: Quad-core ARM A57 @ 1.43 GHz
+ * GPU: 128-core Maxwell
+ * RAM: 4 GB 64-bit LPDDR4 25.6 GB/s
+ * Display: HDMI 2.0
+ * 4 x USB 3.0 and eDP 1.4
+
+[查看官网][9]
+
+#### 3、ASUS Tinker Board S
+
+![][10]
+
+ASUS Tinker Board S 不是大多数人可负担得起的树莓派的替换设备 (**$82**,[亚马逊商城][11]),但是它是一个强大的替代品。它的特点是它有你通常可以发现与标准树莓派 3 一样的 40 针脚的连接器,但是提供了强大的处理器和 GPU。同样的,Tinker Board S 的大小恰巧和标准的树莓派3 一样大。
+
+这个板子的主要亮点是 16 GB [eMMC][12] (用外行术语说,它的板上有一个类似 SSD 的存储单元使它工作时运行的更快。) 的存在。
+
+**关键参数:**
+
+ * Rockchip Quad-Core RK3288 processor
+ * 2 GB DDR3 RAM
+ * Integrated Graphics Processor
+ * ARM® Mali™-T764 GPU
+ * 16 GB eMMC
+ * MicroSD Card Slot
+ * 802.11 b/g/n, Bluetooth V4.0 + EDR
+ * USB 2.0
+ * 28 GPIO pins
+ * HDMI Interface
+
+[查看网站][13]
+
+#### 4、ClockworkPi
+
+![][14]
+
+如果你正在想方设法组装一个模块化的复古的游戏控制台,Clockwork Pi 可能就是你需要的,它通常是 [GameShell Kit][15] 的一部分。然而,你可以 使用 $49 单独购买板子。
+
+它紧凑的大小、WiFi 连接性和 micro HDMI 端口的存在使它成为许多方面的选择。
+
+**关键参数:**
+
+ * Allwinner R16-J Quad-core Cortex-A7 CPU @1.2GHz
+ * Mali-400 MP2 GPU
+ * RAM: 1GB DDR3
+ * WiFi & Bluetooth v4.0
+ * Micro HDMI output
+ * MicroSD Card Slot
+
+[查看官网][16]
+
+#### 5、Arduino Mega 2560
+
+![][17]
+
+如果你正在研究机器人项目或者你想要一个 3D 打印机 —— Arduino Mega 2560 将是树莓派的便利的替代品。不像树莓派,它是基于微控制器而不是微处理器的。
+
+在他们的[官网][18],你需要花费 $38.50,或者在[在亚马逊商城是 $33][19]。
+
+**关键参数:**
+
+ * Microcontroller: ATmega2560
+ * Clock Speed: 16 MHz
+ * Digital I/O Pins: 54
+ * Analog Input Pins: 16
+ * Flash Memory: 256 KB of which 8 KB used by bootloader
+
+[查看官网][18]
+
+#### 6、Rock64 Media Board
+
+![][20]
+
+用与你可能想要的树莓派 3 B+ 相同的价格,你将在 Rock64 Media Board 上获得更快的处理器和双倍的内存。除此之外,如果你想要 1 GB RAM 版的,它提供了一个比树莓派更便宜的替代品,花费更少,只要 $10 。
+
+不像树莓派,它没有无线连接支持,但是 USB 3.0 和 HDMI 2.0 的存在使它与众不同,如果它对你很重要的话。
+
+**关键参数:**
+
+ * Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor
+ * Supports up to 4GB 1600MHz LPDDR3 RAM
+ * eMMC module socket
+ * MicroSD Card slot
+ * USB 3.0
+ * HDMI 2.0
+
+[查看官网][21]
+
+#### 7、Odroid-XU4
+
+![][22]
+
+Odroid-XU4 是一个完美的树莓派的替代品,如果你有能够稍微提高预算的空间($80-$100 甚至更低,取决于存储的容量)。
+
+它确实是一个强大的替代品并且体积更小。支持 eMMC 和 USB 3.0 使它工作起来更快。
+
+**关键参数:**
+
+ * Samsung Exynos 5422 Octa ARM Cortex™-A15 Quad 2Ghz and Cortex™-A7 Quad 1.3GHz CPUs
+ * 2Gbyte LPDDR3 RAM
+ * GPU: Mali-T628 MP6
+ * USB 3.0
+ * HDMI 1.4a
+ * eMMC 5.0 module socket
+ * MicroSD Card Slot
+
+[查看官网][23]
+
+#### 8、PocketBeagle
+
+![][24]
+
+它是一个难以置信的小的单板机 —— 几乎和树莓派Zero 相似。然而它的价格相当于完整大小的树莓派 3。主要的亮点是你可以用它作为一个 USB 便携式信息终端,并且进入 Linux 命令行工作。
+
+**关键参数:**
+
+ * Processor: Octavo Systems OSD3358 1GHz ARM® Cortex-A8
+ * RAM: 512 MB DDR3
+ * 72 expansion pin headers
+ * microUSB
+ * USB 2.0
+
+[查看官网][25]
+
+#### 9、Le Potato
+
+![][26]
+
+由 [Libre Computer][27] 出品的 Le Potato,其型号是 AML-S905X-CC。它需要花费你 [$45][28]。
+
+如果你花费的比树莓派更多的钱,你就能得到双倍内存和 HDMI 2.0 接口,这可能是一个完美的选择。尽管,你还是不能找到嵌入的无线连接。
+
+**关键参数:**
+
+ * Amlogic S905X SoC
+ * 2GB DDR3 SDRAM
+ * USB 2.0
+ * HDMI 2.0
+ * microUSB
+ * MicroSD Card Slot
+ * eMMC Interface
+
+[查看官网][29]
+
+#### 10、Banana Pi M64
+
+![][30]
+
+它自带了 8G 的 eMMC —— 这是替代树莓派的主要亮点。因此,它需要花费 $60。
+
+HDMI 接口的存在使它胜任 4K。除此之外,Banana Pi 提供了更多种类的开源单板机作为树莓派的替代。
+
+**关键参数:**
+
+ * 1.2 Ghz Quad-Core ARM Cortex A53 64-Bit Processor-R18
+ * 2GB DDR3 SDRAM
+ * 8 GB eMMC
+ * WiFi & Bluetooth
+ * USB 2.0
+ * HDMI
+
+[查看官网][31]
+
+#### 11、Orange Pi Zero
+
+![][32]
+
+Orange Pi Zero 相对于树莓派来说难以置信的便宜。你可以在 Aliexpress 或者亚马逊上以最多 $10 就能够获得。如果[稍微多花点,你能够获得 512 MB RAM][33]。
+
+如果这还不够,你可以花费大概 $25 获得更好的配置,比如 Orange Pi 3。
+
+**关键参数:**
+
+ * H2 Quad-core Cortex-A7
+ * Mali400MP2 GPU
+ * RAM: Up to 512 MB
+ * TF Card support
+ * WiFi
+ * USB 2.0
+
+[查看官网][34]
+
+#### 12、VIM 2 SBC by Khadas
+
+![][35]
+
+由 Khadas 出品的 VIM 2 是最新的单板机,因此你能够在板上得到蓝牙 5.0 支持。它的价格范围[从 $99 的基础款到上限 $140][36]。
+
+基础款包含 2 GB RAM、16 GB eMMC 和蓝牙 4.1。然而,Pro/Max 版包含蓝牙 5.0,更多的内存,更多的 eMMC 存储。
+
+**关键参数:**
+
+ * Amlogic S912 1.5GHz 64-bit Octa-Core CPU
+ * T820MP3 GPU
+ * Up to 3 GB DDR4 RAM
+ * Up to 64 GB eMMC
+ * Bluetooth 5.0 (Pro/Max)
+ * Bluetooth 4.1 (Basic)
+ * HDMI 2.0a
+ * WiFi
+
+### 总结
+
+我们知道有很多不同种类的单板机电脑。一些比树莓派更好 —— 它的一些小规格的版本有更便宜的价格。同样的,像 Jetson Nano 这样的单板机已经被裁剪用于特定用途。因此,取决于你需要什么 —— 你应该检查一下单板机的配置。
+
+如果你知道比上述提到的更好的东西,请随意在下方评论来让我们知道。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/raspberry-pi-alternatives/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/best-linux-media-server/
+[2]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/raspberry-pi-alternatives.png?resize=800%2C450&ssl=1
+[3]: https://itsfoss.com/affiliate-policy/
+[4]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/omega-2-plus-e1555306748755-800x444.jpg?resize=800%2C444&ssl=1
+[5]: https://openwrt.org/
+[6]: https://amzn.to/2Xj8pkn
+[7]: https://onion.io/store/omega2p/
+[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Jetson-Nano-e1555306350976-800x590.jpg?resize=800%2C590&ssl=1
+[9]: https://developer.nvidia.com/embedded/buy/jetson-nano-devkit
+[10]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/asus-tinker-board-s-e1555304945760-800x450.jpg?resize=800%2C450&ssl=1
+[11]: https://amzn.to/2XfkOFT
+[12]: https://en.wikipedia.org/wiki/MultiMediaCard
+[13]: https://www.asus.com/in/Single-Board-Computer/Tinker-Board-S/
+[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/clockwork-pi-e1555305016242-800x506.jpg?resize=800%2C506&ssl=1
+[15]: https://itsfoss.com/gameshell-console/
+[16]: https://www.clockworkpi.com/product-page/cpi-v3-1
+[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/arduino-mega-2560-e1555305257633.jpg?ssl=1
+[18]: https://store.arduino.cc/usa/mega-2560-r3
+[19]: https://amzn.to/2KCi041
+[20]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/ROCK64_board-e1555306092845-800x440.jpg?resize=800%2C440&ssl=1
+[21]: https://www.pine64.org/?product=rock64-media-board-computer
+[22]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/odroid-xu4.jpg?fit=800%2C354&ssl=1
+[23]: https://www.hardkernel.com/shop/odroid-xu4-special-price/
+[24]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/PocketBeagle.jpg?fit=800%2C450&ssl=1
+[25]: https://beagleboard.org/p/products/pocketbeagle
+[26]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/aml-libre.-e1555306237972-800x514.jpg?resize=800%2C514&ssl=1
+[27]: https://libre.computer/
+[28]: https://amzn.to/2DpG3xl
+[29]: https://libre.computer/products/boards/aml-s905x-cc/
+[30]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/banana-pi-m6.jpg?fit=800%2C389&ssl=1
+[31]: http://www.banana-pi.org/m64.html
+[32]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/orange-pi-zero.jpg?fit=800%2C693&ssl=1
+[33]: https://amzn.to/2IlI81g
+[34]: http://www.orangepi.org/orangepizero/index.html
+[35]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/khadas-vim-2-e1555306505640-800x563.jpg?resize=800%2C563&ssl=1
+[36]: https://amzn.to/2UDvrFE
diff --git a/sources/tech/20190415 How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux.md b/published/201905/20190415 How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux.md
similarity index 50%
rename from sources/tech/20190415 How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux.md
rename to published/201905/20190415 How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux.md
index e9e764b440..46c2ce0052 100644
--- a/sources/tech/20190415 How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux.md
+++ b/published/201905/20190415 How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux.md
@@ -1,38 +1,30 @@
[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
+[#]: translator: (bodhix)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10844-1.html)
[#]: subject: (How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux?)
[#]: via: (https://www.2daygeek.com/enable-disable-up-down-nic-network-interface-port-linux-using-ifconfig-ifdown-ifup-ip-nmcli-nmtui/)
[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
-How To Enable (UP) And Disable (DOWN) A Network Interface Port (NIC) In Linux?
+Linux 中如何启用和禁用网卡?
======
-You may need to run these commands based on your requirements.
+你可能会根据你的需要执行以下命令。我会在这里列举一些你会用到这些命令的例子。
-I can tell you few examples, where you would be needed this.
+当你添加一个网卡或者从一个物理网卡创建出一个虚拟网卡的时候,你可能需要使用这些命令将新网卡启用起来。另外,如果你对网卡做了某些修改或者网卡本身没有启用,那么你也需要使用以下的某个命令将网卡启用起来。
-When you add a new network interface or when you create a new virtual network interface from the original physical interface.
+启用、禁用网卡有很多种方法。在这篇文章里,我们会介绍我们使用过的最好的 5 种方法。
-you may need to bounce these commands to bring up the new interface.
+启用禁用网卡可以使用以下 5 个方法来完成:
-Also, if you made any changes or if it’s down then you need to run one of the below commands to bring them up.
+* `ifconfig` 命令:用于配置网卡。它可以提供网卡的很多信息。
+* `ifdown/up` 命令:`ifdown` 命令用于禁用网卡,`ifup` 命令用于启用网卡。
+* `ip` 命令:用于管理网卡,用于替代老旧的、不推荐使用的 `ifconfig` 命令。它和 `ifconfig` 命令很相似,但是提供了很多 `ifconfig` 命令所不具有的强大的特性。
+* `nmcli` 命令:是一个控制 NetworkManager 并报告网络状态的命令行工具。
+* `nmtui` 命令:是一个与 NetworkManager 交互的、基于 curses 图形库的终端 UI 应用。
-It can be done on many ways and we would like to add best five method which we used in the article.
-
-It can be done using the below five methods.
-
- * **`ifconfig Command:`** The ifconfig command is used configure a network interface. It provides so many information about NIC.
- * **`ifdown/up Command:`** The ifdown command take a network interface down and the ifup command bring a network interface up.
- * **`ip Command:`** ip command is used to manage NIC. It’s replacement of old and deprecated ifconfig command. It’s similar to ifconfig command but has many powerful features which isn’t available in ifconfig command.
- * **`nmcli Command:`** nmcli is a command-line tool for controlling NetworkManager and reporting network status.
- * **`nmtui Command:`** nmtui is a curses‐based TUI application for interacting with NetworkManager.
-
-
-
-The below output shows the available network interface card (NIC) information in my Linux system.
+以下显示的是我的 Linux 系统中可用网卡的信息。
```
# ip a
@@ -56,25 +48,25 @@ The below output shows the available network interface card (NIC) information in
valid_lft forever preferred_lft forever
```
-### 1) How To Bring UP And Bring Down A Network Interface In Linux Using ifconfig Command?
+### 1、如何使用 ifconfig 命令启用禁用网卡?
-The ifconfig command is used configure a network interface.
+`ifconfig` 命令用于配置网卡。
-It is used at boot time to set up interfaces as necessary. It provides so many information about NIC. We can use ifconfig command when we need to make any changes on NIC.
+在系统启动过程中如果需要启用网卡,调用的命令就是 `ifconfig`。`ifconfig` 可以提供很多网卡的信息。不管我们想修改网卡的什么配置,都可以使用该命令。
-Common Syntax for ifconfig:
+`ifconfig` 的常用语法:
```
# ifconfig [NIC_NAME] Down/Up
```
-Run the following command to bring down the `enp0s3` interface in Linux. Make a note, you have to input your interface name instead of us.
+执行以下命令禁用 `enp0s3` 网卡。注意,这里你需要输入你自己的网卡名字。
```
# ifconfig enp0s3 down
```
-Yes, the given interface is down now as per the following output.
+从以下输出结果可以看到网卡已经被禁用了。
```
# ip a | grep -A 1 "enp0s3:"
@@ -82,13 +74,13 @@ Yes, the given interface is down now as per the following output.
link/ether 08:00:27:c2:e4:e8 brd ff:ff:ff:ff:ff:ff
```
-Run the following command to bring down the `enp0s3` interface in Linux.
+执行以下命令启用 `enp0s3` 网卡。
```
# ifconfig enp0s3 up
```
-Yes, the given interface is up now as per the following output.
+从以下输出结果可以看到网卡已经启用了。
```
# ip a | grep -A 5 "enp0s3:"
@@ -100,27 +92,26 @@ Yes, the given interface is up now as per the following output.
valid_lft forever preferred_lft forever
```
-### 2) How To Enable And Disable A Network Interface In Linux Using ifdown/up Command?
+### 2、如何使用 ifdown/up 命令启用禁用网卡?
-The ifdown command take a network interface down and the ifup command bring a network interface up.
+`ifdown` 命令用于禁用网卡,`ifup` 命令用于启用网卡。
-**Note:**It doesn’t work on new interface device name like `enpXXX`
+注意:这两个命令不支持以 `enpXXX` 命名的新的网络设备。
-Common Syntax for ifdown/ifup:
+`ifdown`/`ifup` 的常用语法:
```
# ifdown [NIC_NAME]
-
# ifup [NIC_NAME]
```
-Run the following command to bring down the `eth1` interface in Linux.
+执行以下命令禁用 `eth1` 网卡。
```
-# ifdown eth0
+# ifdown eth1
```
-Run the following command to bring down the `eth1` interface in Linux.
+从以下输出结果可以看到网卡已经被禁用了。
```
# ip a | grep -A 3 "eth1:"
@@ -128,13 +119,13 @@ Run the following command to bring down the `eth1` interface in Linux.
link/ether 08:00:27:d5:a0:18 brd ff:ff:ff:ff:ff:ff
```
-Run the following command to bring down the `eth1` interface in Linux.
+执行以下命令启用 `eth1` 网卡。
```
-# ifup eth0
+# ifup eth1
```
-Yes, the given interface is up now as per the following output.
+从以下输出结果可以看到网卡已经启用了。
```
# ip a | grep -A 5 "eth1:"
@@ -145,32 +136,32 @@ Yes, the given interface is up now as per the following output.
valid_lft forever preferred_lft forever
```
-ifup and ifdown doesn’t supporting the latest interface device `enpXXX` names. I got the below message when i ran the command.
+`ifup` 和 `ifdown` 不支持以 `enpXXX` 命名的网卡。当执行该命令时得到的结果如下:
```
# ifdown enp0s8
Unknown interface enp0s8
```
-### 3) How To Bring UP/Bring Down A Network Interface In Linux Using ip Command?
+### 3、如何使用 ip 命令启用禁用网卡?
-ip command is used to manage Network Interface Card (NIC). It’s replacement of old and deprecated ifconfig command on modern Linux systems.
+`ip` 命令用于管理网卡,用于替代老旧的、不推荐使用的 `ifconfig` 命令。
-It’s similar to ifconfig command but has many powerful features which isn’t available in ifconfig command.
+它和 `ifconfig` 命令很相似,但是提供了很多 `ifconfig` 命令不具有的强大的特性。
-Common Syntax for ip:
+`ip` 的常用语法:
```
# ip link set Down/Up
```
-Run the following command to bring down the `enp0s3` interface in Linux.
+执行以下命令禁用 `enp0s3` 网卡。
```
# ip link set enp0s3 down
```
-Yes, the given interface is down now as per the following output.
+从以下输出结果可以看到网卡已经被禁用了。
```
# ip a | grep -A 1 "enp0s3:"
@@ -178,13 +169,13 @@ Yes, the given interface is down now as per the following output.
link/ether 08:00:27:c2:e4:e8 brd ff:ff:ff:ff:ff:ff
```
-Run the following command to bring down the `enp0s3` interface in Linux.
+执行以下命令启用 `enp0s3` 网卡。
```
# ip link set enp0s3 up
```
-Yes, the given interface is up now as per the following output.
+从以下输出结果可以看到网卡已经启用了。
```
# ip a | grep -A 5 "enp0s3:"
@@ -196,15 +187,13 @@ Yes, the given interface is up now as per the following output.
valid_lft forever preferred_lft forever
```
-### 4) How To Enable And Disable A Network Interface In Linux Using nmcli Command?
+### 4、如何使用 nmcli 命令启用禁用网卡?
-nmcli is a command-line tool for controlling NetworkManager and reporting network status.
+`nmcli` 是一个控制 NetworkManager 并报告网络状态的命令行工具。
-It can be utilized as a replacement for nm-applet or other graphical clients. nmcli is used to create, display, edit, delete, activate, and deactivate network
+`nmcli` 可以用做 nm-applet 或者其他图形化客户端的替代品。它可以用于展示、创建、修改、删除、启用和停用网络连接。除此之后,它还可以用来管理和展示网络设备状态。
-connections, as well as control and display network device status.
-
-Run the following command to identify the interface name because nmcli command is perform most of the task using `profile name` instead of `device name`.
+`nmcli` 命令大部分情况下都是使用“配置名称”工作而不是“设备名称”。所以,执行以下命令,获取网卡对应的配置名称。(LCTT 译注:在使用 `nmtui` 或者 `nmcli` 管理网络连接的时候,可以为网络连接配置一个名称,就是这里提到的配置名称`)
```
# nmcli con show
@@ -213,20 +202,20 @@ Wired connection 1 3d5afa0a-419a-3d1a-93e6-889ce9c6a18c ethernet enp0s3
Wired connection 2 a22154b7-4cc4-3756-9d8d-da5a4318e146 ethernet enp0s8
```
-Common Syntax for ip:
+`nmcli` 的常用语法:
```
# nmcli con Down/Up
```
-Run the following command to bring down the `enp0s3` interface in Linux. You have to give `profile name` instead of `device name` to bring down it.
+执行以下命令禁用 `enp0s3` 网卡。在禁用网卡的时候,你需要使用配置名称而不是设备名称。
```
# nmcli con down 'Wired connection 1'
Connection 'Wired connection 1' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
```
-Yes, the given interface is down now as per the following output.
+从以下输出结果可以看到网卡已经禁用了。
```
# nmcli dev status
@@ -236,14 +225,14 @@ enp0s3 ethernet disconnected --
lo loopback unmanaged --
```
-Run the following command to bring down the `enp0s3` interface in Linux. You have to give `profile name` instead of `device name` to bring down it.
+执行以下命令启用 `enp0s3` 网卡。同样的,这里你需要使用配置名称而不是设备名称。
```
# nmcli con up 'Wired connection 1'
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)
```
-Yes, the given interface is up now as per the following output.
+从以下输出结果可以看到网卡已经启用了。
```
# nmcli dev status
@@ -253,25 +242,27 @@ enp0s3 ethernet connected Wired connection 1
lo loopback unmanaged --
```
-### 5) How To Bring UP/Bring Down A Network Interface In Linux Using nmtui Command?
+### 5、如何使用 nmtui 命令启用禁用网卡?
-nmtui is a curses based TUI application for interacting with NetworkManager.
+`nmtui` 是一个与 NetworkManager 交互的、基于 curses 图形库的终端 UI 应用。
-When starting nmtui, the user is prompted to choose the activity to perform unless it was specified as the first argument.
+在启用 `nmtui` 的时候,如果第一个参数没有特别指定,它会引导用户选择对应的操作去执行。
-Run the following command launch the nmtui interface. Select “Active a connection” and hit “OK”
+执行以下命令打开 `mntui` 界面。选择 “Active a connection” 然后点击 “OK”。
```
# nmtui
```
-[![][1]![][1]][2]
+![][2]
-Select the interface which you want to bring down then hit “Deactivate” button.
-[![][1]![][1]][3]
+选择你要禁用的网卡,然后点击 “Deactivate” 按钮,就可以将网卡禁用。
-For activation do the same above procedure.
-[![][1]![][1]][4]
+![][3]
+
+如果要启用网卡,使用上述同样的步骤即可。
+
+![][4]
--------------------------------------------------------------------------------
@@ -279,8 +270,8 @@ via: https://www.2daygeek.com/enable-disable-up-down-nic-network-interface-port-
作者:[Magesh Maruthamuthu][a]
选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
+译者:[bodhix](https://github.com/bodhix)
+校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
diff --git a/published/201905/20190415 Inter-process communication in Linux- Shared storage.md b/published/201905/20190415 Inter-process communication in Linux- Shared storage.md
new file mode 100644
index 0000000000..de56a36982
--- /dev/null
+++ b/published/201905/20190415 Inter-process communication in Linux- Shared storage.md
@@ -0,0 +1,439 @@
+[#]: collector: (lujun9972)
+[#]: translator: (FSSlc)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10826-1.html)
+[#]: subject: (Inter-process communication in Linux: Shared storage)
+[#]: via: (https://opensource.com/article/19/4/interprocess-communication-linux-storage)
+[#]: author: (Marty Kalin https://opensource.com/users/mkalindepauledu)
+
+Linux 下的进程间通信:共享存储
+======
+
+> 学习在 Linux 中进程是如何与其他进程进行同步的。
+
+![Filing papers and documents][1]
+
+本篇是 Linux 下[进程间通信][2](IPC)系列的第一篇文章。这个系列将使用 C 语言代码示例来阐明以下 IPC 机制:
+
+ * 共享文件
+ * 共享内存(使用信号量)
+ * 管道(命名的或非命名的管道)
+ * 消息队列
+ * 套接字
+ * 信号
+
+在聚焦上面提到的共享文件和共享内存这两个机制之前,这篇文章将带你回顾一些核心的概念。
+
+### 核心概念
+
+*进程*是运行着的程序,每个进程都有着它自己的地址空间,这些空间由进程被允许访问的内存地址组成。进程有一个或多个执行*线程*,而线程是一系列执行指令的集合:*单线程*进程就只有一个线程,而*多线程*的进程则有多个线程。一个进程中的线程共享各种资源,特别是地址空间。另外,一个进程中的线程可以直接通过共享内存来进行通信,尽管某些现代语言(例如 Go)鼓励一种更有序的方式,例如使用线程安全的通道。当然对于不同的进程,默认情况下,它们**不**能共享内存。
+
+有多种方法启动之后要进行通信的进程,下面所举的例子中主要使用了下面的两种方法:
+
+ * 一个终端被用来启动一个进程,另外一个不同的终端被用来启动另一个。
+ * 在一个进程(父进程)中调用系统函数 `fork`,以此生发另一个进程(子进程)。
+
+第一个例子采用了上面使用终端的方法。这些[代码示例][3]的 ZIP 压缩包可以从我的网站下载到。
+
+### 共享文件
+
+程序员对文件访问应该都已经很熟识了,包括许多坑(不存在的文件、文件权限损坏等等),这些问题困扰着程序对文件的使用。尽管如此,共享文件可能是最为基础的 IPC 机制了。考虑一下下面这样一个相对简单的例子,其中一个进程(生产者 `producer`)创建和写入一个文件,然后另一个进程(消费者 `consumer `)从这个相同的文件中进行读取:
+
+```
+ writes +-----------+ reads
+producer-------->| disk file |<-------consumer
+ +-----------+
+```
+
+在使用这个 IPC 机制时最明显的挑战是*竞争条件*可能会发生:生产者和消费者可能恰好在同一时间访问该文件,从而使得输出结果不确定。为了避免竞争条件的发生,该文件在处于*读*或*写*状态时必须以某种方式处于被锁状态,从而阻止在*写*操作执行时和其他操作的冲突。在标准系统库中与锁相关的 API 可以被总结如下:
+
+ * 生产者应该在写入文件时获得一个文件的排斥锁。一个*排斥*锁最多被一个进程所拥有。这样就可以排除掉竞争条件的发生,因为在锁被释放之前没有其他的进程可以访问这个文件。
+ * 消费者应该在从文件中读取内容时得到至少一个共享锁。多个*读取者*可以同时保有一个*共享*锁,但是没有*写入者*可以获取到文件内容,甚至在当只有一个*读取者*保有一个共享锁时。
+
+共享锁可以提升效率。假如一个进程只是读入一个文件的内容,而不去改变它的内容,就没有什么原因阻止其他进程来做同样的事。但如果需要写入内容,则很显然需要文件有排斥锁。
+
+标准的 I/O 库中包含一个名为 `fcntl` 的实用函数,它可以被用来检查或者操作一个文件上的排斥锁和共享锁。该函数通过一个*文件描述符*(一个在进程中的非负整数值)来标记一个文件(在不同的进程中不同的文件描述符可能标记同一个物理文件)。对于文件的锁定, Linux 提供了名为 `flock` 的库函数,它是 `fcntl` 的一个精简包装。第一个例子中使用 `fcntl` 函数来暴露这些 API 细节。
+
+#### 示例 1. 生产者程序
+
+```c
+#include
+#include
+#include
+#include
+#include
+
+#define FileName "data.dat"
+#define DataString "Now is the winter of our discontent\nMade glorious summer by this sun of York\n"
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1); /* EXIT_FAILURE */
+}
+
+int main() {
+ struct flock lock;
+ lock.l_type = F_WRLCK; /* read/write (exclusive versus shared) lock */
+ lock.l_whence = SEEK_SET; /* base for seek offsets */
+ lock.l_start = 0; /* 1st byte in file */
+ lock.l_len = 0; /* 0 here means 'until EOF' */
+ lock.l_pid = getpid(); /* process id */
+
+ int fd; /* file descriptor to identify a file within a process */
+ if ((fd = open(FileName, O_RDWR | O_CREAT, 0666)) < 0) /* -1 signals an error */
+ report_and_exit("open failed...");
+
+ if (fcntl(fd, F_SETLK, &lock) < 0) /** F_SETLK doesn't block, F_SETLKW does **/
+ report_and_exit("fcntl failed to get lock...");
+ else {
+ write(fd, DataString, strlen(DataString)); /* populate data file */
+ fprintf(stderr, "Process %d has written to data file...\n", lock.l_pid);
+ }
+
+ /* Now release the lock explicitly. */
+ lock.l_type = F_UNLCK;
+ if (fcntl(fd, F_SETLK, &lock) < 0)
+ report_and_exit("explicit unlocking failed...");
+
+ close(fd); /* close the file: would unlock if needed */
+ return 0; /* terminating the process would unlock as well */
+}
+```
+
+上面生产者程序的主要步骤可以总结如下:
+
+ * 这个程序首先声明了一个类型为 `struct flock` 的变量,它代表一个锁,并对它的 5 个域做了初始化。第一个初始化
+
+ ```c
+lock.l_type = F_WRLCK; /* exclusive lock */
+```
+ 使得这个锁为排斥锁(read-write)而不是一个共享锁(read-only)。假如生产者获得了这个锁,则其他的进程将不能够对文件做读或者写操作,直到生产者释放了这个锁,或者显式地调用 `fcntl`,又或者隐式地关闭这个文件。(当进程终止时,所有被它打开的文件都会被自动关闭,从而释放了锁)
+ * 上面的程序接着初始化其他的域。主要的效果是*整个*文件都将被锁上。但是,有关锁的 API 允许特别指定的字节被上锁。例如,假如文件包含多个文本记录,则单个记录(或者甚至一个记录的一部分)可以被锁,而其余部分不被锁。
+ * 第一次调用 `fcntl`
+
+ ```c
+if (fcntl(fd, F_SETLK, &lock) < 0)
+```
+ 尝试排斥性地将文件锁住,并检查调用是否成功。一般来说, `fcntl` 函数返回 `-1` (因此小于 0)意味着失败。第二个参数 `F_SETLK` 意味着 `fcntl` 的调用*不是*堵塞的;函数立即做返回,要么获得锁,要么显示失败了。假如替换地使用 `F_SETLKW`(末尾的 `W` 代指*等待*),那么对 `fcntl` 的调用将是阻塞的,直到有可能获得锁的时候。在调用 `fcntl` 函数时,它的第一个参数 `fd` 指的是文件描述符,第二个参数指定了将要采取的动作(在这个例子中,`F_SETLK` 指代设置锁),第三个参数为锁结构的地址(在本例中,指的是 `&lock`)。
+ * 假如生产者获得了锁,这个程序将向文件写入两个文本记录。
+ * 在向文件写入内容后,生产者改变锁结构中的 `l_type` 域为 `unlock` 值:
+
+ ```c
+lock.l_type = F_UNLCK;
+```
+ 并调用 `fcntl` 来执行解锁操作。最后程序关闭了文件并退出。
+
+#### 示例 2. 消费者程序
+
+```c
+#include
+#include
+#include
+#include
+
+#define FileName "data.dat"
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1); /* EXIT_FAILURE */
+}
+
+int main() {
+ struct flock lock;
+ lock.l_type = F_WRLCK; /* read/write (exclusive) lock */
+ lock.l_whence = SEEK_SET; /* base for seek offsets */
+ lock.l_start = 0; /* 1st byte in file */
+ lock.l_len = 0; /* 0 here means 'until EOF' */
+ lock.l_pid = getpid(); /* process id */
+
+ int fd; /* file descriptor to identify a file within a process */
+ if ((fd = open(FileName, O_RDONLY)) < 0) /* -1 signals an error */
+ report_and_exit("open to read failed...");
+
+ /* If the file is write-locked, we can't continue. */
+ fcntl(fd, F_GETLK, &lock); /* sets lock.l_type to F_UNLCK if no write lock */
+ if (lock.l_type != F_UNLCK)
+ report_and_exit("file is still write locked...");
+
+ lock.l_type = F_RDLCK; /* prevents any writing during the reading */
+ if (fcntl(fd, F_SETLK, &lock) < 0)
+ report_and_exit("can't get a read-only lock...");
+
+ /* Read the bytes (they happen to be ASCII codes) one at a time. */
+ int c; /* buffer for read bytes */
+ while (read(fd, &c, 1) > 0) /* 0 signals EOF */
+ write(STDOUT_FILENO, &c, 1); /* write one byte to the standard output */
+
+ /* Release the lock explicitly. */
+ lock.l_type = F_UNLCK;
+ if (fcntl(fd, F_SETLK, &lock) < 0)
+ report_and_exit("explicit unlocking failed...");
+
+ close(fd);
+ return 0;
+}
+```
+
+相比于锁的 API,消费者程序会相对复杂一点儿。特别的,消费者程序首先检查文件是否被排斥性的被锁,然后才尝试去获得一个共享锁。相关的代码为:
+
+```
+lock.l_type = F_WRLCK;
+...
+fcntl(fd, F_GETLK, &lock); /* sets lock.l_type to F_UNLCK if no write lock */
+if (lock.l_type != F_UNLCK)
+ report_and_exit("file is still write locked...");
+```
+
+在 `fcntl` 调用中的 `F_GETLK` 操作指定检查一个锁,在本例中,上面代码的声明中给了一个 `F_WRLCK` 的排斥锁。假如特指的锁不存在,那么 `fcntl` 调用将会自动地改变锁类型域为 `F_UNLCK` 以此来显示当前的状态。假如文件是排斥性地被锁,那么消费者将会终止。(一个更健壮的程序版本或许应该让消费者*睡*会儿,然后再尝试几次。)
+
+假如当前文件没有被锁,那么消费者将尝试获取一个共享(read-only)锁(`F_RDLCK`)。为了缩短程序,`fcntl` 中的 `F_GETLK` 调用可以丢弃,因为假如其他进程已经保有一个读写锁,`F_RDLCK` 的调用就可能会失败。重新调用一个只读锁能够阻止其他进程向文件进行写的操作,但可以允许其他进程对文件进行读取。简而言之,共享锁可以被多个进程所保有。在获取了一个共享锁后,消费者程序将立即从文件中读取字节数据,然后在标准输出中打印这些字节的内容,接着释放锁,关闭文件并终止。
+
+下面的 `%` 为命令行提示符,下面展示的是从相同终端开启这两个程序的输出:
+
+```
+% ./producer
+Process 29255 has written to data file...
+
+% ./consumer
+Now is the winter of our discontent
+Made glorious summer by this sun of York
+```
+
+在本次的代码示例中,通过 IPC 传输的数据是文本:它们来自莎士比亚的戏剧《理查三世》中的两行台词。然而,共享文件的内容还可以是纷繁复杂的,任意的字节数据(例如一个电影)都可以,这使得文件共享变成了一个非常灵活的 IPC 机制。但它的缺点是文件获取速度较慢,因为文件的获取涉及到读或者写。同往常一样,编程总是伴随着折中。下面的例子将通过共享内存来做 IPC,而不是通过共享文件,在性能上相应的有极大的提升。
+
+### 共享内存
+
+对于共享内存,Linux 系统提供了两类不同的 API:传统的 System V API 和更新一点的 POSIX API。在单个应用中,这些 API 不能混用。但是,POSIX 方式的一个坏处是它的特性仍在发展中,并且依赖于安装的内核版本,这非常影响代码的可移植性。例如,默认情况下,POSIX API 用*内存映射文件*来实现共享内存:对于一个共享的内存段,系统为相应的内容维护一个*备份文件*。在 POSIX 规范下共享内存可以被配置为不需要备份文件,但这可能会影响可移植性。我的例子中使用的是带有备份文件的 POSIX API,这既结合了内存获取的速度优势,又获得了文件存储的持久性。
+
+下面的共享内存例子中包含两个程序,分别名为 `memwriter` 和 `memreader`,并使用*信号量*来调整它们对共享内存的获取。在任何时候当共享内存进入一个*写入者*场景时,无论是多进程还是多线程,都有遇到基于内存的竞争条件的风险,所以,需要引入信号量来协调(同步)对共享内存的获取。
+
+`memwriter` 程序应当在它自己所处的终端首先启动,然后 `memreader` 程序才可以在它自己所处的终端启动(在接着的十几秒内)。`memreader` 的输出如下:
+
+```
+This is the way the world ends...
+```
+
+在每个源程序的最上方注释部分都解释了在编译它们时需要添加的链接参数。
+
+首先让我们复习一下信号量是如何作为一个同步机制工作的。一般的信号量也被叫做一个*计数信号量*,因为带有一个可以增加的值(通常初始化为 0)。考虑一家租用自行车的商店,在它的库存中有 100 辆自行车,还有一个供职员用于租赁的程序。每当一辆自行车被租出去,信号量就增加 1;当一辆自行车被还回来,信号量就减 1。在信号量的值为 100 之前都还可以进行租赁业务,但如果等于 100 时,就必须停止业务,直到至少有一辆自行车被还回来,从而信号量减为 99。
+
+*二元信号量*是一个特例,它只有两个值:0 和 1。在这种情况下,信号量的表现为*互斥量*(一个互斥的构造)。下面的共享内存示例将把信号量用作互斥量。当信号量的值为 0 时,只有 `memwriter` 可以获取共享内存,在写操作完成后,这个进程将增加信号量的值,从而允许 `memreader` 来读取共享内存。
+
+#### 示例 3. memwriter 进程的源程序
+
+```c
+/** Compilation: gcc -o memwriter memwriter.c -lrt -lpthread **/
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include "shmem.h"
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1);
+}
+
+int main() {
+ int fd = shm_open(BackingFile, /* name from smem.h */
+ O_RDWR | O_CREAT, /* read/write, create if needed */
+ AccessPerms); /* access permissions (0644) */
+ if (fd < 0) report_and_exit("Can't open shared mem segment...");
+
+ ftruncate(fd, ByteSize); /* get the bytes */
+
+ caddr_t memptr = mmap(NULL, /* let system pick where to put segment */
+ ByteSize, /* how many bytes */
+ PROT_READ | PROT_WRITE, /* access protections */
+ MAP_SHARED, /* mapping visible to other processes */
+ fd, /* file descriptor */
+ 0); /* offset: start at 1st byte */
+ if ((caddr_t) -1 == memptr) report_and_exit("Can't get segment...");
+
+ fprintf(stderr, "shared mem address: %p [0..%d]\n", memptr, ByteSize - 1);
+ fprintf(stderr, "backing file: /dev/shm%s\n", BackingFile );
+
+ /* semaphore code to lock the shared mem */
+ sem_t* semptr = sem_open(SemaphoreName, /* name */
+ O_CREAT, /* create the semaphore */
+ AccessPerms, /* protection perms */
+ 0); /* initial value */
+ if (semptr == (void*) -1) report_and_exit("sem_open");
+
+ strcpy(memptr, MemContents); /* copy some ASCII bytes to the segment */
+
+ /* increment the semaphore so that memreader can read */
+ if (sem_post(semptr) < 0) report_and_exit("sem_post");
+
+ sleep(12); /* give reader a chance */
+
+ /* clean up */
+ munmap(memptr, ByteSize); /* unmap the storage */
+ close(fd);
+ sem_close(semptr);
+ shm_unlink(BackingFile); /* unlink from the backing file */
+ return 0;
+}
+```
+
+下面是 `memwriter` 和 `memreader` 程序如何通过共享内存来通信的一个总结:
+
+ * 上面展示的 `memwriter` 程序调用 `shm_open` 函数来得到作为系统协调共享内存的备份文件的文件描述符。此时,并没有内存被分配。接下来调用的是令人误解的名为 `ftruncate` 的函数
+
+ ```c
+ftruncate(fd, ByteSize); /* get the bytes */
+```
+ 它将分配 `ByteSize` 字节的内存,在该情况下,一般为大小适中的 512 字节。`memwriter` 和 `memreader` 程序都只从共享内存中获取数据,而不是从备份文件。系统将负责共享内存和备份文件之间数据的同步。
+ * 接着 `memwriter` 调用 `mmap` 函数:
+
+ ```c
+caddr_t memptr = mmap(NULL, /* let system pick where to put segment */
+ ByteSize, /* how many bytes */
+ PROT_READ | PROT_WRITE, /* access protections */
+ MAP_SHARED, /* mapping visible to other processes */
+ fd, /* file descriptor */
+ 0); /* offset: start at 1st byte */
+```
+ 来获得共享内存的指针。(`memreader` 也做一次类似的调用。) 指针类型 `caddr_t` 以 `c` 开头,它代表 `calloc`,而这是动态初始化分配的内存为 0 的一个系统函数。`memwriter` 通过库函数 `strcpy`(字符串复制)来获取后续*写*操作的 `memptr`。
+ * 到现在为止,`memwriter` 已经准备好进行写操作了,但首先它要创建一个信号量来确保共享内存的排斥性。假如 `memwriter` 正在执行写操作而同时 `memreader` 在执行读操作,则有可能出现竞争条件。假如调用 `sem_open` 成功了:
+
+ ```c
+sem_t* semptr = sem_open(SemaphoreName, /* name */
+ O_CREAT, /* create the semaphore */
+ AccessPerms, /* protection perms */
+ 0); /* initial value */
+```
+ 那么,接着写操作便可以执行。上面的 `SemaphoreName`(任意一个唯一的非空名称)用来在 `memwriter` 和 `memreader` 识别信号量。初始值 0 将会传递给信号量的创建者,在这个例子中指的是 `memwriter` 赋予它执行*写*操作的权利。
+ * 在写操作完成后,`memwriter* 通过调用 `sem_post` 函数将信号量的值增加到 1:
+
+ ```c
+if (sem_post(semptr) < 0) ..
+```
+ 增加信号了将释放互斥锁,使得 `memreader` 可以执行它的*读*操作。为了更好地测量,`memwriter` 也将从它自己的地址空间中取消映射,
+
+ ```c
+munmap(memptr, ByteSize); /* unmap the storage *
+```
+ 这将使得 `memwriter` 不能进一步地访问共享内存。
+
+#### 示例 4. memreader 进程的源代码
+
+```c
+/** Compilation: gcc -o memreader memreader.c -lrt -lpthread **/
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include "shmem.h"
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1);
+}
+
+int main() {
+ int fd = shm_open(BackingFile, O_RDWR, AccessPerms); /* empty to begin */
+ if (fd < 0) report_and_exit("Can't get file descriptor...");
+
+ /* get a pointer to memory */
+ caddr_t memptr = mmap(NULL, /* let system pick where to put segment */
+ ByteSize, /* how many bytes */
+ PROT_READ | PROT_WRITE, /* access protections */
+ MAP_SHARED, /* mapping visible to other processes */
+ fd, /* file descriptor */
+ 0); /* offset: start at 1st byte */
+ if ((caddr_t) -1 == memptr) report_and_exit("Can't access segment...");
+
+ /* create a semaphore for mutual exclusion */
+ sem_t* semptr = sem_open(SemaphoreName, /* name */
+ O_CREAT, /* create the semaphore */
+ AccessPerms, /* protection perms */
+ 0); /* initial value */
+ if (semptr == (void*) -1) report_and_exit("sem_open");
+
+ /* use semaphore as a mutex (lock) by waiting for writer to increment it */
+ if (!sem_wait(semptr)) { /* wait until semaphore != 0 */
+ int i;
+ for (i = 0; i < strlen(MemContents); i++)
+ write(STDOUT_FILENO, memptr + i, 1); /* one byte at a time */
+ sem_post(semptr);
+ }
+
+ /* cleanup */
+ munmap(memptr, ByteSize);
+ close(fd);
+ sem_close(semptr);
+ unlink(BackingFile);
+ return 0;
+}
+```
+
+`memwriter` 和 `memreader` 程序中,共享内存的主要着重点都在 `shm_open` 和 `mmap` 函数上:在成功时,第一个调用返回一个备份文件的文件描述符,而第二个调用则使用这个文件描述符从共享内存段中获取一个指针。它们对 `shm_open` 的调用都很相似,除了 `memwriter` 程序创建共享内存,而 `memreader 只获取这个已经创建的内存:
+
+```c
+int fd = shm_open(BackingFile, O_RDWR | O_CREAT, AccessPerms); /* memwriter */
+int fd = shm_open(BackingFile, O_RDWR, AccessPerms); /* memreader */
+```
+
+有了文件描述符,接着对 `mmap` 的调用就是类似的了:
+
+```c
+caddr_t memptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
+```
+
+`mmap` 的第一个参数为 `NULL`,这意味着让系统自己决定在虚拟内存地址的哪个地方分配内存,当然也可以指定一个地址(但很有技巧性)。`MAP_SHARED` 标志着被分配的内存在进程中是共享的,最后一个参数(在这个例子中为 0 ) 意味着共享内存的偏移量应该为第一个字节。`size` 参数特别指定了将要分配的字节数目(在这个例子中是 512);另外的保护参数(`AccessPerms`)暗示着共享内存是可读可写的。
+
+当 `memwriter` 程序执行成功后,系统将创建并维护备份文件,在我的系统中,该文件为 `/dev/shm/shMemEx`,其中的 `shMemEx` 是我为共享存储命名的(在头文件 `shmem.h` 中给定)。在当前版本的 `memwriter` 和 `memreader` 程序中,下面的语句
+
+```c
+shm_unlink(BackingFile); /* removes backing file */
+```
+
+将会移除备份文件。假如没有 `unlink` 这个语句,则备份文件在程序终止后仍然持久地保存着。
+
+`memreader` 和 `memwriter` 一样,在调用 `sem_open` 函数时,通过信号量的名字来获取信号量。但 `memreader` 随后将进入等待状态,直到 `memwriter` 将初始值为 0 的信号量的值增加。
+
+```c
+if (!sem_wait(semptr)) { /* wait until semaphore != 0 */
+```
+
+一旦等待结束,`memreader` 将从共享内存中读取 ASCII 数据,然后做些清理工作并终止。
+
+共享内存 API 包括显式地同步共享内存段和备份文件。在这次的示例中,这些操作都被省略了,以免文章显得杂乱,好让我们专注于内存共享和信号量的代码。
+
+即便在信号量代码被移除的情况下,`memwriter` 和 `memreader` 程序很大几率也能够正常执行而不会引入竞争条件:`memwriter` 创建了共享内存段,然后立即向它写入;`memreader` 不能访问共享内存,直到共享内存段被创建好。然而,当一个*写操作*处于混合状态时,最佳实践需要共享内存被同步。信号量 API 足够重要,值得在代码示例中着重强调。
+
+### 总结
+
+上面共享文件和共享内存的例子展示了进程是怎样通过*共享存储*来进行通信的,前者通过文件而后者通过内存块。这两种方法的 API 相对来说都很直接。这两种方法有什么共同的缺点吗?现代的应用经常需要处理流数据,而且是非常大规模的数据流。共享文件或者共享内存的方法都不能很好地处理大规模的流数据。按照类型使用管道会更加合适一些。所以这个系列的第二部分将会介绍管道和消息队列,同样的,我们将使用 C 语言写的代码示例来辅助讲解。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/interprocess-communication-linux-storage
+
+作者:[Marty Kalin][a]
+选题:[lujun9972][b]
+译者:[FSSlc](https://github.com/FSSlc)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/mkalindepauledu
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/documents_papers_file_storage_work.png?itok=YlXpAqAJ (Filing papers and documents)
+[2]: https://en.wikipedia.org/wiki/Inter-process_communication
+[3]: http://condor.depaul.edu/mkalin
+[4]: http://www.opengroup.org/onlinepubs/009695399/functions/perror.html
+[5]: http://www.opengroup.org/onlinepubs/009695399/functions/exit.html
+[6]: http://www.opengroup.org/onlinepubs/009695399/functions/strlen.html
+[7]: http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
+[8]: http://www.opengroup.org/onlinepubs/009695399/functions/strcpy.html
diff --git a/published/201905/20190415 Kubernetes on Fedora IoT with k3s.md b/published/201905/20190415 Kubernetes on Fedora IoT with k3s.md
new file mode 100644
index 0000000000..a8293d4d3b
--- /dev/null
+++ b/published/201905/20190415 Kubernetes on Fedora IoT with k3s.md
@@ -0,0 +1,209 @@
+[#]: collector: (lujun9972)
+[#]: translator: (StdioA)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10908-1.html)
+[#]: subject: (Kubernetes on Fedora IoT with k3s)
+[#]: via: (https://fedoramagazine.org/kubernetes-on-fedora-iot-with-k3s/)
+[#]: author: (Lennart Jern https://fedoramagazine.org/author/lennartj/)
+
+使用 k3s 在 Fedora IoT 上运行 K8S
+======
+
+
+
+Fedora IoT 是一个即将发布的、面向物联网的 Fedora 版本。去年 Fedora Magazine 的《[如何使用 Fedora IoT 点亮 LED 灯][2]》一文第一次介绍了它。从那以后,它与 Fedora Silverblue 一起不断改进,以提供针对面向容器的工作流的不可变基础操作系统。
+
+Kubernetes 是一个颇受欢迎的容器编排系统。它可能最常用在那些能够处理巨大负载的强劲硬件上。不过,它也能在像树莓派 3 这样轻量级的设备上运行。让我们继续阅读,来了解如何运行它。
+
+### 为什么用 Kubernetes?
+
+虽然 Kubernetes 在云计算领域风靡一时,但让它在小型单板机上运行可能并不是常见的。不过,我们有非常明确的理由来做这件事。首先,这是一个不需要昂贵硬件就可以学习并熟悉 Kubernetes 的好方法;其次,由于它的流行性,市面上有[大量应用][3]进行了预先打包,以用于在 Kubernetes 集群中运行。更不用说,当你遇到问题时,会有大规模的社区用户为你提供帮助。
+
+最后但同样重要的是,即使是在家庭实验室这样的小规模环境中,容器编排也确实能够使事情变得更加简单。虽然在学习曲线方面,这一点并不明显,但这些技能在你将来与任何集群打交道的时候都会有帮助。不管你面对的是一个单节点树莓派集群,还是一个大规模的机器学习场,它们的操作方式都是类似的。
+
+#### K3s - 轻量级的 Kubernetes
+
+一个“正常”安装的 Kubernetes(如果有这么一说的话)对于物联网来说有点沉重。K8s 的推荐内存配置,是每台机器 2GB!不过,我们也有一些替代品,其中一个新人是 [k3s][4] —— 一个轻量级的 Kubernetes 发行版。
+
+K3s 非常特殊,因为它将 etcd 替换成了 SQLite 以满足键值存储需求。还有一点,在于整个 k3s 将使用一个二进制文件分发,而不是每个组件一个。这减少了内存占用并简化了安装过程。基于上述原因,我们只需要 512MB 内存即可运行 k3s,极度适合小型单板电脑!
+
+### 你需要的东西
+
+1. Fedora IoT 运行在虚拟机或实体设备中运行的。在[这里][5]可以看到优秀的入门指南。一台机器就足够了,不过两台可以用来测试向集群添加更多节点。
+2. [配置防火墙][6],允许 6443 和 8372 端口的通信。或者,你也可以简单地运行 `systemctl stop firewalld` 来为这次实验关闭防火墙。
+
+### 安装 k3s
+
+安装 k3s 非常简单。直接运行安装脚本:
+
+```
+curl -sfL https://get.k3s.io | sh -
+```
+
+它会下载、安装并启动 k3s。安装完成后,运行以下命令来从服务器获取节点列表:
+
+```
+kubectl get nodes
+```
+
+需要注意的是,有几个选项可以通过环境变量传递给安装脚本。这些选项可以在[文档][7]中找到。当然,你也完全可以直接下载二进制文件来手动安装 k3s。
+
+对于实验和学习来说,这样已经很棒了,不过单节点的集群也不能算一个集群。幸运的是,添加另一个节点并不比设置第一个节点要难。只需要向安装脚本传递两个环境变量,它就可以找到第一个节点,而不用运行 k3s 的服务器部分。
+
+```
+curl -sfL https://get.k3s.io | K3S_URL=https://example-url:6443 \
+ K3S_TOKEN=XXX sh -
+```
+
+上面的 `example-url` 应被替换为第一个节点的 IP 地址,或一个完全限定域名。在该节点中,(用 XXX 表示的)令牌可以在 `/var/lib/rancher/k3s/server/node-token` 文件中找到。
+
+### 部署一些容器
+
+现在我们有了一个 Kubernetes 集群,我们可以真正做些什么呢?让我们从部署一个简单的 Web 服务器开始吧。
+
+```
+kubectl create deployment my-server --image nginx
+```
+
+这会从名为 `nginx` 的容器镜像中创建出一个名叫 `my-server` 的 [部署][8](默认使用 docker hub 注册中心,以及 `latest` 标签)。
+
+```
+kubectl get pods
+```
+
+为了访问到 pod 中运行的 nginx 服务器,首先通过一个 [服务][9] 来暴露该部署。以下命令将创建一个与该部署同名的服务。
+
+```
+kubectl expose deployment my-server --port 80
+```
+
+服务将作为一种负载均衡器和 Pod 的 DNS 记录来工作。比如,当运行第二个 Pod 时,我们只需指定 `my-server`(服务名称)就可以通过 `curl` 访问 nginx 服务器。有关如何操作,可以看下面的实例。
+
+```
+# 启动一个 pod,在里面以交互方式运行 bash
+kubectl run debug --generator=run-pod/v1 --image=fedora -it -- bash
+# 等待 bash 提示符出现
+curl my-server
+# 你可以看到“Welcome to nginx!”的输出页面
+```
+
+### Ingress 控制器及外部 IP
+
+默认状态下,一个服务只能获得一个 ClusterIP(只能从集群内部访问),但你也可以通过把它的类型设置为 [LoadBalancer][10] 为该服务申请一个外部 IP。不过,并非所有应用都需要自己的 IP 地址。相反,通常可以通过基于 Host 请求头部或请求路径进行路由,从而使多个服务共享一个 IP 地址。你可以在 Kubernetes 使用 [Ingress][11] 完成此操作,而这也是我们要做的。Ingress 也提供了额外的功能,比如无需配置应用即可对流量进行 TLS 加密。
+
+Kubernetes 需要 Ingress 控制器来使 Ingress 资源工作,k3s 包含 [Traefik][12] 正是出于此目的。它还包含了一个简单的服务负载均衡器,可以为集群中的服务提供外部 IP。这篇[文档][13]描述了这种服务:
+
+> k3s 包含一个使用可用主机端口的基础服务负载均衡器。比如,如果你尝试创建一个监听 80 端口的负载均衡器,它会尝试在集群中寻找一个 80 端口空闲的节点。如果没有可用端口,那么负载均衡器将保持在 Pending 状态。
+>
+> k3s README
+
+Ingress 控制器已经通过这个负载均衡器暴露在外。你可以使用以下命令找到它正在使用的 IP 地址。
+
+```
+$ kubectl get svc --all-namespaces
+NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
+ default kubernetes ClusterIP 10.43.0.1 443/TCP 33d
+ default my-server ClusterIP 10.43.174.38 80/TCP 30m
+ kube-system kube-dns ClusterIP 10.43.0.10 53/UDP,53/TCP,9153/TCP 33d
+ kube-system traefik LoadBalancer 10.43.145.104 10.0.0.8 80:31596/TCP,443:31539/TCP 33d
+```
+
+找到名为 `traefik` 的服务。在上面的例子中,我们感兴趣的 IP 是 10.0.0.8。
+
+### 路由传入的请求
+
+让我们创建一个 Ingress,使它通过基于 Host 头部的路由规则将请求路由至我们的服务器。这个例子中我们使用 [xip.io][14] 来避免必要的 DNS 记录配置工作。它的工作原理是将 IP 地址作为子域包含,以使用 `10.0.0.8.xip.io` 的任何子域来达到 IP `10.0.0.8`。换句话说,`my-server.10.0.0.8.xip.io` 被用于访问集群中的 Ingress 控制器。你现在就可以尝试(使用你自己的 IP,而不是 10.0.0.8)。如果没有 Ingress,你应该会访问到“默认后端”,只是一个写着“404 page not found”的页面。
+
+我们可以使用以下 Ingress 让 Ingress 控制器将请求路由到我们的 Web 服务器的服务。
+
+```
+apiVersion: extensions/v1beta1
+kind: Ingress
+metadata:
+ name: my-server
+spec:
+ rules:
+ - host: my-server.10.0.0.8.xip.io
+ http:
+ paths:
+ - path: /
+ backend:
+ serviceName: my-server
+ servicePort: 80
+```
+
+将以上片段保存到 `my-ingress.yaml` 文件中,然后运行以下命令将其加入集群:
+
+```
+kubectl apply -f my-ingress.yaml
+```
+
+你现在应该能够在你选择的完全限定域名中访问到 nginx 的默认欢迎页面了。在我的例子中,它是 `my-server.10.0.0.8.xip.io`。Ingress 控制器会通过 Ingress 中包含的信息来路由请求。对 `my-server.10.0.0.8.xip.io` 的请求将被路由到 Ingress 中定义为 `backend` 的服务和端口(在本例中为 `my-server` 和 `80`)。
+
+### 那么,物联网呢?
+
+想象如下场景:你的家或农场周围有很多的设备。它是一个具有各种硬件功能、传感器和执行器的物联网设备的异构集合。也许某些设备拥有摄像头、天气或光线传感器。其它设备可能会被连接起来,用来控制通风、灯光、百叶窗或闪烁的 LED。
+
+这种情况下,你想从所有传感器中收集数据,在最终使用它来制定决策和控制执行器之前,也可能会对其进行处理和分析。除此之外,你可能还想配置一个仪表盘来可视化那些正在发生的事情。那么 Kubernetes 如何帮助我们来管理这样的事情呢?我们怎么保证 Pod 在合适的设备上运行?
+
+简单的答案就是“标签”。你可以根据功能来标记节点,如下所示:
+
+```
+kubectl label nodes =
+# 举例
+kubectl label nodes node2 camera=available
+```
+
+一旦它们被打上标签,我们就可以轻松地使用 [nodeSelector][15] 为你的工作负载选择合适的节点。拼图的最后一块:如果你想在*所有*合适的节点上运行 Pod,那应该使用 [DaemonSet][16] 而不是部署。换句话说,应为每个使用唯一传感器的数据收集应用程序创建一个 DaemonSet,并使用 nodeSelector 确保它们仅在具有适当硬件的节点上运行。
+
+服务发现功能允许 Pod 通过服务名称来寻找彼此,这项功能使得这类分布式系统的管理工作变得易如反掌。你不需要为应用配置 IP 地址或自定义端口,也不需要知道它们。相反,它们可以通过集群中的命名服务轻松找到彼此。
+
+#### 充分利用空闲资源
+
+随着集群的启动并运行,收集数据并控制灯光和气候,可能使你觉得你已经把它完成了。不过,集群中还有大量的计算资源可以用于其它项目。这才是 Kubernetes 真正出彩的地方。
+
+你不必担心这些资源的确切位置,或者去计算是否有足够的内存来容纳额外的应用程序。这正是编排系统所解决的问题!你可以轻松地在集群中部署更多的应用,让 Kubernetes 来找出适合运行它们的位置(或是否适合运行它们)。
+
+为什么不运行一个你自己的 [NextCloud][17] 实例呢?或者运行 [gitea][18]?你还可以为你所有的物联网容器设置一套 CI/CD 流水线。毕竟,如果你可以在集群中进行本地构建,为什么还要在主计算机上构建并交叉编译它们呢?
+
+这里的要点是,Kubernetes 可以更容易地利用那些你可能浪费掉的“隐藏”资源。Kubernetes 根据可用资源和容错处理规则来调度 Pod,因此你也无需手动完成这些工作。但是,为了帮助 Kubernetes 做出合理的决定,你绝对应该为你的工作负载添加[资源请求][19]配置。
+
+### 总结
+
+尽管 Kuberenetes 或一般的容器编排平台通常不会与物联网相关联,但在管理分布式系统时,使用一个编排系统肯定是有意义的。你不仅可以使用统一的方式来处理多样化和异构的设备,还可以简化它们的通信方式。此外,Kubernetes 还可以更好地对闲置资源加以利用。
+
+容器技术使构建“随处运行”应用的想法成为可能。现在,Kubernetes 可以更轻松地来负责“随处”的部分。作为构建一切的不可变基础,我们使用 Fedora IoT。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/kubernetes-on-fedora-iot-with-k3s/
+
+作者:[Lennart Jern][a]
+选题:[lujun9972][b]
+译者:[StdioA](https://github.com/StdioA)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/lennartj/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/k3s-1-816x345.png
+[2]: https://linux.cn/article-10380-1.html
+[3]: https://hub.helm.sh/
+[4]: https://k3s.io
+[5]: https://docs.fedoraproject.org/en-US/iot/getting-started/
+[6]: https://github.com/rancher/k3s#open-ports--network-security
+[7]: https://github.com/rancher/k3s#systemd
+[8]: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
+[9]: https://kubernetes.io/docs/concepts/services-networking/service/
+[10]: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
+[11]: https://kubernetes.io/docs/concepts/services-networking/ingress/
+[12]: https://traefik.io/
+[13]: https://github.com/rancher/k3s/blob/master/README.md#service-load-balancer
+[14]: http://xip.io/
+[15]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
+[16]: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
+[17]: https://nextcloud.com/
+[18]: https://gitea.io/en-us/
+[19]: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
diff --git a/published/201905/20190416 Building a DNS-as-a-service with OpenStack Designate.md b/published/201905/20190416 Building a DNS-as-a-service with OpenStack Designate.md
new file mode 100644
index 0000000000..162097e5a9
--- /dev/null
+++ b/published/201905/20190416 Building a DNS-as-a-service with OpenStack Designate.md
@@ -0,0 +1,347 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10840-1.html)
+[#]: subject: (Building a DNS-as-a-service with OpenStack Designate)
+[#]: via: (https://opensource.com/article/19/4/getting-started-openstack-designate)
+[#]: author: (Amjad Yaseen https://opensource.com/users/ayaseen)
+
+用 OpenStack Designate 构建一个 DNS 即服务(DNSaaS)
+======
+
+> 学习如何安装和配置 Designate,这是一个 OpenStack 的多租户 DNS 即服务(DNSaaS)。
+
+
+
+[Designate][2] 是一个多租户的 DNS 即服务,它包括一个用于域名和记录管理的 REST API 和集成了 [Neutron][3] 的框架,并支持 Bind9。
+
+DNSaaS 可以提供:
+
+ * 一个管理区域和记录的干净利落的 REST API
+ * 自动生成记录(集成 OpenStack)
+ * 支持多个授权名字服务器
+ * 可以托管多个项目/组织
+
+![Designate's architecture][4]
+
+这篇文章解释了如何在 CentOS 和 RHEL 上手动安装和配置 Designate 的最新版本,但是同样的配置也可以用在其它发行版上。
+
+### 在 OpenStack 上安装 Designate
+
+在我的 [GitHub 仓库][5]里,我已经放了 Ansible 的 bind 和 Designate 角色的示范设置。
+
+这个设置假定 bing 服务是安装 OpenStack 控制器节点之外(即使你可以在本地安装 bind)。
+
+1、在 OpenStack 控制节点上安装 Designate 和 bind 软件包:
+
+```
+# yum install openstack-designate-* bind bind-utils -y
+```
+
+2、创建 Designate 数据库和用户:
+
+```
+MariaDB [(none)]> CREATE DATABASE designate CHARACTER SET utf8 COLLATE utf8_general_ci;
+
+MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO \
+'designate'@'localhost' IDENTIFIED BY 'rhlab123';
+
+MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'%' \
+IDENTIFIED BY 'rhlab123';
+```
+
+注意:bind 包必须安装在控制节点之外才能使远程名字服务控制(RNDC)功能正常。
+
+### 配置 bind(DNS 服务器)
+
+1、生成 RNDC 文件:
+
+```
+rndc-confgen -a -k designate -c /etc/rndc.key -r /dev/urandom
+
+cat < etcrndc.conf
+include "/etc/rndc.key";
+options {
+ default-key "designate";
+ default-server {{ DNS_SERVER_IP }};
+ default-port 953;
+};
+EOF
+```
+
+2、将下列配置添加到 `named.conf`:
+
+```
+include "/etc/rndc.key";
+controls {
+ inet {{ DNS_SERVER_IP }} allow { localhost;{{ CONTROLLER_SERVER_IP }}; } keys { "designate"; };
+};
+```
+
+在 `option` 节中,添加:
+
+```
+options {
+ ...
+ allow-new-zones yes;
+ request-ixfr no;
+ listen-on port 53 { any; };
+ recursion no;
+ allow-query { 127.0.0.1; {{ CONTROLLER_SERVER_IP }}; };
+};
+```
+
+添加正确的权限:
+
+```
+chown named:named /etc/rndc.key
+chown named:named /etc/rndc.conf
+chmod 600 /etc/rndc.key
+chown -v root:named /etc/named.conf
+chmod g+w /var/named
+
+# systemctl restart named
+# setsebool named_write_master_zones 1
+```
+
+3、把 `rndc.key` 和 `rndc.conf` 推入 OpenStack 控制节点:
+
+```
+# scp -r /etc/rndc* {{ CONTROLLER_SERVER_IP }}:/etc/
+```
+
+### 创建 OpenStack Designate 服务和端点
+
+输入:
+
+```
+# openstack user create --domain default --password-prompt designate
+# openstack role add --project services --user designate admin
+# openstack service create --name designate --description "DNS" dns
+
+# openstack endpoint create --region RegionOne dns public http://{{ CONTROLLER_SERVER_IP }}:9001/
+# openstack endpoint create --region RegionOne dns internal http://{{ CONTROLLER_SERVER_IP }}:9001/
+# openstack endpoint create --region RegionOne dns admin http://{{ CONTROLLER_SERVER_IP }}:9001/
+```
+
+### 配置 Designate 服务
+
+1、编辑 `/etc/designate/designate.conf`:
+
+在 `[service:api]` 节配置 `auth_strategy`:
+
+```
+[service:api]
+listen = 0.0.0.0:9001
+auth_strategy = keystone
+api_base_uri = http://{{ CONTROLLER_SERVER_IP }}:9001/
+enable_api_v2 = True
+enabled_extensions_v2 = quotas, reports
+```
+
+在 `[keystone_authtoken]` 节配置下列选项:
+
+```
+[keystone_authtoken]
+auth_type = password
+username = designate
+password = rhlab123
+project_name = service
+project_domain_name = Default
+user_domain_name = Default
+www_authenticate_uri = http://{{ CONTROLLER_SERVER_IP }}:5000/
+auth_url = http://{{ CONTROLLER_SERVER_IP }}:5000/
+```
+
+在 `[service:worker]` 节,启用 worker 模型:
+
+```
+enabled = True
+notify = True
+```
+
+在 `[storage:sqlalchemy]` 节,配置数据库访问:
+
+```
+[storage:sqlalchemy]
+connection = mysql+pymysql://designate:rhlab123@{{ CONTROLLER_SERVER_IP }}/designate
+```
+
+填充 Designate 数据库:
+
+```
+# su -s /bin/sh -c "designate-manage database sync" designate
+```
+
+2、 创建 Designate 的 `pools.yaml` 文件(包含 target 和 bind 细节):
+
+编辑 `/etc/designate/pools.yaml`:
+
+```
+- name: default
+ # The name is immutable. There will be no option to change the name after
+ # creation and the only way will to change it will be to delete it
+ # (and all zones associated with it) and recreate it.
+ description: Default Pool
+
+ attributes: {}
+
+ # List out the NS records for zones hosted within this pool
+ # This should be a record that is created outside of designate, that
+ # points to the public IP of the controller node.
+ ns_records:
+ - hostname: {{Controller_FQDN}}. # Thisis mDNS
+ priority: 1
+
+ # List out the nameservers for this pool. These are the actual BIND servers.
+ # We use these to verify changes have propagated to all nameservers.
+ nameservers:
+ - host: {{ DNS_SERVER_IP }}
+ port: 53
+
+ # List out the targets for this pool. For BIND there will be one
+ # entry for each BIND server, as we have to run rndc command on each server
+ targets:
+ - type: bind9
+ description: BIND9 Server 1
+
+ # List out the designate-mdns servers from which BIND servers should
+ # request zone transfers (AXFRs) from.
+ # This should be the IP of the controller node.
+ # If you have multiple controllers you can add multiple masters
+ # by running designate-mdns on them, and adding them here.
+ masters:
+ - host: {{ CONTROLLER_SERVER_IP }}
+ port: 5354
+
+ # BIND Configuration options
+ options:
+ host: {{ DNS_SERVER_IP }}
+ port: 53
+ rndc_host: {{ DNS_SERVER_IP }}
+ rndc_port: 953
+ rndc_key_file: /etc/rndc.key
+ rndc_config_file: /etc/rndc.conf
+```
+
+填充 Designate 池:
+
+```
+su -s /bin/sh -c "designate-manage pool update" designate
+```
+
+3、启动 Designate 中心和 API 服务:
+
+```
+systemctl enable --now designate-central designate-api
+```
+
+4、验证 Designate 服务运行:
+
+```
+# openstack dns service list
+
++--------------+--------+-------+--------------+
+| service_name | status | stats | capabilities |
++--------------+--------+-------+--------------+
+| central | UP | - | - |
+| api | UP | - | - |
+| mdns | UP | - | - |
+| worker | UP | - | - |
+| producer | UP | - | - |
++--------------+--------+-------+--------------+
+```
+
+### 用外部 DNS 配置 OpenStack Neutron
+
+1、为 Designate 服务配置 iptables:
+
+```
+# iptables -I INPUT -p tcp -m multiport --dports 9001 -m comment --comment "designate incoming" -j ACCEPT
+
+# iptables -I INPUT -p tcp -m multiport --dports 5354 -m comment --comment "Designate mdns incoming" -j ACCEPT
+
+# iptables -I INPUT -p tcp -m multiport --dports 53 -m comment --comment "bind incoming" -j ACCEPT
+
+# iptables -I INPUT -p udp -m multiport --dports 53 -m comment --comment "bind/powerdns incoming" -j ACCEPT
+
+# iptables -I INPUT -p tcp -m multiport --dports 953 -m comment --comment "rndc incoming - bind only" -j ACCEPT
+
+# service iptables save; service iptables restart
+# setsebool named_write_master_zones 1
+```
+
+2、 编辑 `/etc/neutron/neutron.conf` 的 `[default]` 节:
+
+```
+external_dns_driver = designate
+```
+
+3、 在 `/etc/neutron/neutron.conf` 中添加 `[designate]` 节:
+
+```
+[designate]
+url = http://{{ CONTROLLER_SERVER_IP }}:9001/v2 ## This end point of designate
+auth_type = password
+auth_url = http://{{ CONTROLLER_SERVER_IP }}:5000
+username = designate
+password = rhlab123
+project_name = services
+project_domain_name = Default
+user_domain_name = Default
+allow_reverse_dns_lookup = True
+ipv4_ptr_zone_prefix_size = 24
+ipv6_ptr_zone_prefix_size = 116
+```
+
+4、编辑 `neutron.conf` 的 `dns_domain`:
+
+```
+dns_domain = rhlab.dev.
+```
+
+重启:
+
+```
+# systemctl restart neutron-*
+```
+
+5、在 `/etc/neutron/plugins/ml2/ml2_conf.ini` 中的组成层 2(ML2)中添加 `dns`:
+
+```
+extension_drivers=port_security,qos,dns
+```
+
+6、在 Designate 中添加区域:
+
+```
+# openstack zone create –email=admin@rhlab.dev rhlab.dev.
+```
+
+在 `rhlab.dev` 区域中添加记录:
+
+```
+# openstack recordset create --record '192.168.1.230' --type A rhlab.dev. Test
+```
+
+Designate 现在就安装和配置好了。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/getting-started-openstack-designate
+
+作者:[Amjad Yaseen][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/ayaseen
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/command_line_prompt.png?itok=wbGiJ_yg (Command line prompt)
+[2]: https://docs.openstack.org/designate/latest/
+[3]: /article/19/3/openstack-neutron
+[4]: https://opensource.com/sites/default/files/uploads/openstack_designate_architecture.png (Designate's architecture)
+[5]: https://github.com/ayaseen/designate
diff --git a/published/201905/20190416 Detecting malaria with deep learning.md b/published/201905/20190416 Detecting malaria with deep learning.md
new file mode 100644
index 0000000000..a1ce049292
--- /dev/null
+++ b/published/201905/20190416 Detecting malaria with deep learning.md
@@ -0,0 +1,780 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10891-1.html)
+[#]: subject: (Detecting malaria with deep learning)
+[#]: via: (https://opensource.com/article/19/4/detecting-malaria-deep-learning)
+[#]: author: (Dipanjan Sarkar https://opensource.com/users/djsarkar)
+
+使用深度学习检测疟疾
+==================
+
+> 人工智能结合开源硬件工具能够提升严重传染病疟疾的诊断。
+
+![][1]
+
+人工智能(AI)和开源工具、技术和框架是促进社会进步的强有力的结合。“健康就是财富”可能有点陈词滥调,但它却是非常准确的!在本篇文章,我们将测试 AI 是如何与低成本、有效、精确的开源深度学习方法结合起来一起用来检测致死的传染病疟疾。
+
+我既不是一个医生,也不是一个医疗保健研究者,我也绝不像他们那样合格,我只是对将 AI 应用到医疗保健研究感兴趣。在这片文章中我的想法是展示 AI 和开源解决方案如何帮助疟疾检测和减少人工劳动的方法。
+
+![Python and TensorFlow][2]
+
+*Python 和 TensorFlow: 一个构建开源深度学习方法的很棒的结合*
+
+感谢 Python 的强大和像 TensorFlow 这样的深度学习框架,我们能够构建健壮的、大规模的、有效的深度学习方法。因为这些工具是自由和开源的,我们能够构建非常经济且易于被任何人采纳和使用的解决方案。让我们开始吧!
+
+### 项目动机
+
+疟疾是由*疟原虫*造成的致死的、有传染性的、蚊子传播的疾病,主要通过受感染的雌性按蚊叮咬传播。共有五种寄生虫能够引起疟疾,但是大多数病例是这两种类型造成的:恶性疟原虫和间日疟原虫。
+
+![疟疾热图][3]
+
+这个地图显示了疟疾在全球传播分布形势,尤其在热带地区,但疾病的性质和致命性是该项目的主要动机。
+
+如果一只受感染雌性蚊子叮咬了你,蚊子携带的寄生虫进入你的血液,并且开始破坏携带氧气的红细胞(RBC)。通常,疟疾的最初症状类似于流感病毒,在蚊子叮咬后,他们通常在几天或几周内发作。然而,这些致死的寄生虫可以在你的身体里生存长达一年并且不会造成任何症状,延迟治疗可能造成并发症甚至死亡。因此,早期的检查能够挽救生命。
+
+世界健康组织(WHO)的[疟疾实情][4]表明,世界近乎一半的人口面临疟疾的风险,有超过 2 亿的疟疾病例,每年由于疟疾造成的死亡将近 40 万。这是使疟疾检测和诊断快速、简单和有效的一个动机。
+
+### 检测疟疾的方法
+
+有几种方法能够用来检测和诊断疟疾。该文中的项目就是基于 Rajaraman, et al. 的论文:“[预先训练的卷积神经网络作为特征提取器,用于改善薄血涂片图像中的疟疾寄生虫检测][5]”介绍的一些方法,包含聚合酶链反应(PCR)和快速诊断测试(RDT)。这两种测试通常用于无法提供高质量显微镜服务的地方。
+
+标准的疟疾诊断通常是基于血液涂片工作流程的,根据 Carlos Ariza 的文章“[Malaria Hero:一个更快诊断疟原虫的网络应用][6]”,我从中了解到 Adrian Rosebrock 的“[使用 Keras 的深度学习和医学图像分析][7]”。我感激这些优秀的资源的作者,让我在疟原虫预防、诊断和治疗方面有了更多的想法。
+
+![疟原虫检测的血涂片工作流程][8]
+
+*一个疟原虫检测的血涂片工作流程*
+
+根据 WHO 方案,诊断通常包括对放大 100 倍的血涂片的集中检测。受过训练的人们手工计算在 5000 个细胞中有多少红细胞中包含疟原虫。正如上述解释中引用的 Rajaraman, et al. 的论文:
+
+> 厚血涂片有助于检测寄生虫的存在,而薄血涂片有助于识别引起感染的寄生虫种类(疾病控制和预防中心, 2012)。诊断准确性在很大程度上取决于诊断人的专业知识,并且可能受到观察者间差异和疾病流行/资源受限区域大规模诊断所造成的不利影响(Mitiku, Mengistu 和 Gelaw, 2003)。可替代的技术是使用聚合酶链反应(PCR)和快速诊断测试(RDT);然而,PCR 分析受限于它的性能(Hommelsheim, et al., 2014),RDT 在疾病流行的地区成本效益低(Hawkes, Katsuva 和 Masumbuko, 2009)。
+
+因此,疟疾检测可能受益于使用机器学习的自动化。
+
+### 疟疾检测的深度学习
+
+人工诊断血涂片是一个繁重的手工过程,需要专业知识来分类和计数被寄生虫感染的和未感染的细胞。这个过程可能不能很好的规模化,尤其在那些专业人士不足的地区。在利用最先进的图像处理和分析技术提取人工选取特征和构建基于机器学习的分类模型方面取得了一些进展。然而,这些模型不能大规模推广,因为没有更多的数据用来训练,并且人工选取特征需要花费很长时间。
+
+深度学习模型,或者更具体地讲,卷积神经网络(CNN),已经被证明在各种计算机视觉任务中非常有效。(如果你想更多的了解关于 CNN 的背景知识,我推荐你阅读[视觉识别的 CS2331n 卷积神经网络][9]。)简单地讲,CNN 模型的关键层包含卷积和池化层,正如下图所示。
+
+![A typical CNN architecture][10]
+
+*一个典型的 CNN 架构*
+
+卷积层从数据中学习空间层级模式,它是平移不变的,因此它们能够学习图像的不同方面。例如,第一个卷积层将学习小的和局部图案,例如边缘和角落,第二个卷积层将基于第一层的特征学习更大的图案,等等。这允许 CNN 自动化提取特征并且学习对于新数据点通用的有效的特征。池化层有助于下采样和减少尺寸。
+
+因此,CNN 有助于自动化和规模化的特征工程。同样,在模型末尾加上密集层允许我们执行像图像分类这样的任务。使用像 CNN 这样的深度学习模型自动的疟疾检测可能非常有效、便宜和具有规模性,尤其是迁移学习和预训练模型效果非常好,甚至在少量数据的约束下。
+
+Rajaraman, et al. 的论文在一个数据集上利用六个预训练模型在检测疟疾对比无感染样本获取到令人吃惊的 95.9% 的准确率。我们的重点是从头开始尝试一些简单的 CNN 模型和用一个预训练的训练模型使用迁移学习来查看我们能够从相同的数据集中得到什么。我们将使用开源工具和框架,包括 Python 和 TensorFlow,来构建我们的模型。
+
+### 数据集
+
+我们分析的数据来自 Lister Hill 国家生物医学交流中心(LHNCBC)的研究人员,该中心是国家医学图书馆(NLM)的一部分,他们细心收集和标记了公开可用的健康和受感染的血涂片图像的[数据集][11]。这些研究者已经开发了一个运行在 Android 智能手机的[疟疾检测手机应用][12],连接到一个传统的光学显微镜。它们使用吉姆萨染液将 150 个受恶性疟原虫感染的和 50 个健康病人的薄血涂片染色,这些薄血涂片是在孟加拉的吉大港医学院附属医院收集和照相的。使用智能手机的内置相机获取每个显微镜视窗内的图像。这些图片由在泰国曼谷的马希多-牛津热带医学研究所的一个专家使用幻灯片阅读器标记的。
+
+让我们简要地查看一下数据集的结构。首先,我将安装一些基础的依赖(基于使用的操作系统)。
+
+![Installing dependencies][13]
+
+我使用的是云上的带有一个 GPU 的基于 Debian 的操作系统,这样我能更快的运行我的模型。为了查看目录结构,我们必须使用 `sudo apt install tree` 安装 `tree` 及其依赖(如果我们没有安装的话)。
+
+![Installing the tree dependency][14]
+
+我们有两个文件夹包含血细胞的图像,包括受感染的和健康的。我们通过输入可以获取关于图像总数更多的细节:
+
+```
+import os
+import glob
+
+base_dir = os.path.join('./cell_images')
+infected_dir = os.path.join(base_dir,'Parasitized')
+healthy_dir = os.path.join(base_dir,'Uninfected')
+
+infected_files = glob.glob(infected_dir+'/*.png')
+healthy_files = glob.glob(healthy_dir+'/*.png')
+len(infected_files), len(healthy_files)
+
+# Output
+(13779, 13779)
+```
+
+看起来我们有一个平衡的数据集,包含 13,779 张疟疾的和 13,779 张非疟疾的(健康的)血细胞图像。让我们根据这些构建数据帧,我们将用这些数据帧来构建我们的数据集。
+
+
+```
+import numpy as np
+import pandas as pd
+
+np.random.seed(42)
+
+files_df = pd.DataFrame({
+ 'filename': infected_files + healthy_files,
+ 'label': ['malaria'] * len(infected_files) + ['healthy'] * len(healthy_files)
+}).sample(frac=1, random_state=42).reset_index(drop=True)
+
+files_df.head()
+```
+
+![Datasets][15]
+
+### 构建和了解图像数据集
+
+为了构建深度学习模型,我们需要训练数据,但是我们还需要使用不可见的数据测试模型的性能。相应的,我们将使用 60:10:30 的比例来划分用于训练、验证和测试的数据集。我们将在训练期间应用训练和验证数据集,并用测试数据集来检查模型的性能。
+
+
+```
+from sklearn.model_selection import train_test_split
+from collections import Counter
+
+train_files, test_files, train_labels, test_labels = train_test_split(files_df['filename'].values,
+ files_df['label'].values,
+ test_size=0.3, random_state=42)
+train_files, val_files, train_labels, val_labels = train_test_split(train_files,
+ train_labels,
+ test_size=0.1, random_state=42)
+
+print(train_files.shape, val_files.shape, test_files.shape)
+print('Train:', Counter(train_labels), '\nVal:', Counter(val_labels), '\nTest:', Counter(test_labels))
+
+# Output
+(17361,) (1929,) (8268,)
+Train: Counter({'healthy': 8734, 'malaria': 8627})
+Val: Counter({'healthy': 970, 'malaria': 959})
+Test: Counter({'malaria': 4193, 'healthy': 4075})
+```
+
+这些图片尺寸并不相同,因为血涂片和细胞图像是基于人、测试方法、图片方向不同而不同的。让我们总结我们的训练数据集的统计信息来决定最佳的图像尺寸(牢记,我们根本不会碰测试数据集)。
+
+```
+import cv2
+from concurrent import futures
+import threading
+
+def get_img_shape_parallel(idx, img, total_imgs):
+ if idx % 5000 == 0 or idx == (total_imgs - 1):
+ print('{}: working on img num: {}'.format(threading.current_thread().name,
+ idx))
+ return cv2.imread(img).shape
+
+ex = futures.ThreadPoolExecutor(max_workers=None)
+data_inp = [(idx, img, len(train_files)) for idx, img in enumerate(train_files)]
+print('Starting Img shape computation:')
+train_img_dims_map = ex.map(get_img_shape_parallel,
+ [record[0] for record in data_inp],
+ [record[1] for record in data_inp],
+ [record[2] for record in data_inp])
+train_img_dims = list(train_img_dims_map)
+print('Min Dimensions:', np.min(train_img_dims, axis=0))
+print('Avg Dimensions:', np.mean(train_img_dims, axis=0))
+print('Median Dimensions:', np.median(train_img_dims, axis=0))
+print('Max Dimensions:', np.max(train_img_dims, axis=0))
+
+
+# Output
+Starting Img shape computation:
+ThreadPoolExecutor-0_0: working on img num: 0
+ThreadPoolExecutor-0_17: working on img num: 5000
+ThreadPoolExecutor-0_15: working on img num: 10000
+ThreadPoolExecutor-0_1: working on img num: 15000
+ThreadPoolExecutor-0_7: working on img num: 17360
+Min Dimensions: [46 46 3]
+Avg Dimensions: [132.77311215 132.45757733 3.]
+Median Dimensions: [130. 130. 3.]
+Max Dimensions: [385 394 3]
+```
+
+我们应用并行处理来加速图像读取,并且基于汇总统计结果,我们将每幅图片的尺寸重新调整到 125x125 像素。让我们载入我们所有的图像并重新调整它们为这些固定尺寸。
+
+```
+IMG_DIMS = (125, 125)
+
+def get_img_data_parallel(idx, img, total_imgs):
+ if idx % 5000 == 0 or idx == (total_imgs - 1):
+ print('{}: working on img num: {}'.format(threading.current_thread().name,
+ idx))
+ img = cv2.imread(img)
+ img = cv2.resize(img, dsize=IMG_DIMS,
+ interpolation=cv2.INTER_CUBIC)
+ img = np.array(img, dtype=np.float32)
+ return img
+
+ex = futures.ThreadPoolExecutor(max_workers=None)
+train_data_inp = [(idx, img, len(train_files)) for idx, img in enumerate(train_files)]
+val_data_inp = [(idx, img, len(val_files)) for idx, img in enumerate(val_files)]
+test_data_inp = [(idx, img, len(test_files)) for idx, img in enumerate(test_files)]
+
+print('Loading Train Images:')
+train_data_map = ex.map(get_img_data_parallel,
+ [record[0] for record in train_data_inp],
+ [record[1] for record in train_data_inp],
+ [record[2] for record in train_data_inp])
+train_data = np.array(list(train_data_map))
+
+print('\nLoading Validation Images:')
+val_data_map = ex.map(get_img_data_parallel,
+ [record[0] for record in val_data_inp],
+ [record[1] for record in val_data_inp],
+ [record[2] for record in val_data_inp])
+val_data = np.array(list(val_data_map))
+
+print('\nLoading Test Images:')
+test_data_map = ex.map(get_img_data_parallel,
+ [record[0] for record in test_data_inp],
+ [record[1] for record in test_data_inp],
+ [record[2] for record in test_data_inp])
+test_data = np.array(list(test_data_map))
+
+train_data.shape, val_data.shape, test_data.shape
+
+
+# Output
+Loading Train Images:
+ThreadPoolExecutor-1_0: working on img num: 0
+ThreadPoolExecutor-1_12: working on img num: 5000
+ThreadPoolExecutor-1_6: working on img num: 10000
+ThreadPoolExecutor-1_10: working on img num: 15000
+ThreadPoolExecutor-1_3: working on img num: 17360
+
+Loading Validation Images:
+ThreadPoolExecutor-1_13: working on img num: 0
+ThreadPoolExecutor-1_18: working on img num: 1928
+
+Loading Test Images:
+ThreadPoolExecutor-1_5: working on img num: 0
+ThreadPoolExecutor-1_19: working on img num: 5000
+ThreadPoolExecutor-1_8: working on img num: 8267
+((17361, 125, 125, 3), (1929, 125, 125, 3), (8268, 125, 125, 3))
+```
+
+我们再次应用并行处理来加速有关图像载入和重新调整大小的计算。最终,我们获得了所需尺寸的图片张量,正如前面的输出所示。我们现在查看一些血细胞图像样本,以对我们的数据有个印象。
+
+```
+import matplotlib.pyplot as plt
+%matplotlib inline
+
+plt.figure(1 , figsize = (8 , 8))
+n = 0
+for i in range(16):
+ n += 1
+ r = np.random.randint(0 , train_data.shape[0] , 1)
+ plt.subplot(4 , 4 , n)
+ plt.subplots_adjust(hspace = 0.5 , wspace = 0.5)
+ plt.imshow(train_data[r[0]]/255.)
+ plt.title('{}'.format(train_labels[r[0]]))
+ plt.xticks([]) , plt.yticks([])
+```
+
+![Malaria cell samples][16]
+
+基于这些样本图像,我们看到一些疟疾和健康细胞图像的细微不同。我们将使我们的深度学习模型试图在模型训练中学习这些模式。
+
+开始我们的模型训练前,我们必须建立一些基础的配置设置。
+
+```
+BATCH_SIZE = 64
+NUM_CLASSES = 2
+EPOCHS = 25
+INPUT_SHAPE = (125, 125, 3)
+
+train_imgs_scaled = train_data / 255.
+val_imgs_scaled = val_data / 255.
+
+# encode text category labels
+from sklearn.preprocessing import LabelEncoder
+
+le = LabelEncoder()
+le.fit(train_labels)
+train_labels_enc = le.transform(train_labels)
+val_labels_enc = le.transform(val_labels)
+
+print(train_labels[:6], train_labels_enc[:6])
+
+
+# Output
+['malaria' 'malaria' 'malaria' 'healthy' 'healthy' 'malaria'] [1 1 1 0 0 1]
+```
+
+我们修复我们的图像尺寸、批量大小,和纪元,并编码我们的分类的类标签。TensorFlow 2.0 于 2019 年三月发布,这个练习是尝试它的完美理由。
+
+```
+import tensorflow as tf
+
+# Load the TensorBoard notebook extension (optional)
+%load_ext tensorboard.notebook
+
+tf.random.set_seed(42)
+tf.__version__
+
+# Output
+'2.0.0-alpha0'
+```
+
+### 深度学习训练
+
+在模型训练阶段,我们将构建三个深度训练模型,使用我们的训练集训练,使用验证数据比较它们的性能。然后,我们保存这些模型并在之后的模型评估阶段使用它们。
+
+#### 模型 1:从头开始的 CNN
+
+我们的第一个疟疾检测模型将从头开始构建和训练一个基础的 CNN。首先,让我们定义我们的模型架构,
+
+```
+inp = tf.keras.layers.Input(shape=INPUT_SHAPE)
+
+conv1 = tf.keras.layers.Conv2D(32, kernel_size=(3, 3),
+ activation='relu', padding='same')(inp)
+pool1 = tf.keras.layers.MaxPooling2D(pool_size=(2, 2))(conv1)
+conv2 = tf.keras.layers.Conv2D(64, kernel_size=(3, 3),
+ activation='relu', padding='same')(pool1)
+pool2 = tf.keras.layers.MaxPooling2D(pool_size=(2, 2))(conv2)
+conv3 = tf.keras.layers.Conv2D(128, kernel_size=(3, 3),
+ activation='relu', padding='same')(pool2)
+pool3 = tf.keras.layers.MaxPooling2D(pool_size=(2, 2))(conv3)
+
+flat = tf.keras.layers.Flatten()(pool3)
+
+hidden1 = tf.keras.layers.Dense(512, activation='relu')(flat)
+drop1 = tf.keras.layers.Dropout(rate=0.3)(hidden1)
+hidden2 = tf.keras.layers.Dense(512, activation='relu')(drop1)
+drop2 = tf.keras.layers.Dropout(rate=0.3)(hidden2)
+
+out = tf.keras.layers.Dense(1, activation='sigmoid')(drop2)
+
+model = tf.keras.Model(inputs=inp, outputs=out)
+model.compile(optimizer='adam',
+ loss='binary_crossentropy',
+ metrics=['accuracy'])
+model.summary()
+
+
+# Output
+Model: "model"
+_________________________________________________________________
+Layer (type) Output Shape Param #
+=================================================================
+input_1 (InputLayer) [(None, 125, 125, 3)] 0
+_________________________________________________________________
+conv2d (Conv2D) (None, 125, 125, 32) 896
+_________________________________________________________________
+max_pooling2d (MaxPooling2D) (None, 62, 62, 32) 0
+_________________________________________________________________
+conv2d_1 (Conv2D) (None, 62, 62, 64) 18496
+_________________________________________________________________
+...
+...
+_________________________________________________________________
+dense_1 (Dense) (None, 512) 262656
+_________________________________________________________________
+dropout_1 (Dropout) (None, 512) 0
+_________________________________________________________________
+dense_2 (Dense) (None, 1) 513
+=================================================================
+Total params: 15,102,529
+Trainable params: 15,102,529
+Non-trainable params: 0
+_________________________________________________________________
+```
+
+基于这些代码的架构,我们的 CNN 模型有三个卷积和一个池化层,其后是两个致密层,以及用于正则化的失活。让我们训练我们的模型。
+
+
+```
+import datetime
+
+logdir = os.path.join('/home/dipanzan_sarkar/projects/tensorboard_logs',
+ datetime.datetime.now().strftime("%Y%m%d-%H%M%S"))
+tensorboard_callback = tf.keras.callbacks.TensorBoard(logdir, histogram_freq=1)
+reduce_lr = tf.keras.callbacks.ReduceLROnPlateau(monitor='val_loss', factor=0.5,
+ patience=2, min_lr=0.000001)
+callbacks = [reduce_lr, tensorboard_callback]
+
+history = model.fit(x=train_imgs_scaled, y=train_labels_enc,
+ batch_size=BATCH_SIZE,
+ epochs=EPOCHS,
+ validation_data=(val_imgs_scaled, val_labels_enc),
+ callbacks=callbacks,
+ verbose=1)
+
+
+# Output
+Train on 17361 samples, validate on 1929 samples
+Epoch 1/25
+17361/17361 [====] - 32s 2ms/sample - loss: 0.4373 - accuracy: 0.7814 - val_loss: 0.1834 - val_accuracy: 0.9393
+Epoch 2/25
+17361/17361 [====] - 30s 2ms/sample - loss: 0.1725 - accuracy: 0.9434 - val_loss: 0.1567 - val_accuracy: 0.9513
+...
+...
+Epoch 24/25
+17361/17361 [====] - 30s 2ms/sample - loss: 0.0036 - accuracy: 0.9993 - val_loss: 0.3693 - val_accuracy: 0.9565
+Epoch 25/25
+17361/17361 [====] - 30s 2ms/sample - loss: 0.0034 - accuracy: 0.9994 - val_loss: 0.3699 - val_accuracy: 0.9559
+```
+
+我们获得了 95.6% 的验证精确率,这很好,尽管我们的模型看起来有些过拟合(通过查看我们的训练精确度,是 99.9%)。通过绘制训练和验证的精度和损失曲线,我们可以清楚地看到这一点。
+
+
+```
+f, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 4))
+t = f.suptitle('Basic CNN Performance', fontsize=12)
+f.subplots_adjust(top=0.85, wspace=0.3)
+
+max_epoch = len(history.history['accuracy'])+1
+epoch_list = list(range(1,max_epoch))
+ax1.plot(epoch_list, history.history['accuracy'], label='Train Accuracy')
+ax1.plot(epoch_list, history.history['val_accuracy'], label='Validation Accuracy')
+ax1.set_xticks(np.arange(1, max_epoch, 5))
+ax1.set_ylabel('Accuracy Value')
+ax1.set_xlabel('Epoch')
+ax1.set_title('Accuracy')
+l1 = ax1.legend(loc="best")
+
+ax2.plot(epoch_list, history.history['loss'], label='Train Loss')
+ax2.plot(epoch_list, history.history['val_loss'], label='Validation Loss')
+ax2.set_xticks(np.arange(1, max_epoch, 5))
+ax2.set_ylabel('Loss Value')
+ax2.set_xlabel('Epoch')
+ax2.set_title('Loss')
+l2 = ax2.legend(loc="best")
+```
+
+![Learning curves for basic CNN][17]
+
+*基础 CNN 学习曲线*
+
+我们可以看在在第五个纪元,情况并没有改善很多。让我们保存这个模型用于将来的评估。
+
+```
+model.save('basic_cnn.h5')
+```
+
+#### 深度迁移学习
+
+就像人类有与生俱来在不同任务间传输知识的能力一样,迁移学习允许我们利用从以前任务学到的知识用到新的相关的任务,即使在机器学习或深度学习的情况下也是如此。如果想深入探究迁移学习,你应该看我的文章“[一个易于理解与现实应用一起学习深度学习中的迁移学习的指导实践][18]”和我的书《[Python 迁移学习实践][19]》。
+
+![深度迁移学习的想法][20]
+
+在这篇实践中我们想要探索的想法是:
+
+> 在我们的问题背景下,我们能够利用一个预训练深度学习模型(在大数据集上训练的,像 ImageNet)通过应用和迁移知识来解决疟疾检测的问题吗?
+
+我们将应用两个最流行的深度迁移学习策略。
+
+ * 预训练模型作为特征提取器
+ * 微调的预训练模型
+
+我们将使用预训练的 VGG-19 深度训练模型(由剑桥大学的视觉几何组(VGG)开发)进行我们的实验。像 VGG-19 这样的预训练模型是在一个大的数据集([Imagenet][21])上使用了很多不同的图像分类训练的。因此,这个模型应该已经学习到了健壮的特征层级结构,相对于你的 CNN 模型学到的特征,是空间不变的、转动不变的、平移不变的。因此,这个模型,已经从百万幅图片中学习到了一个好的特征显示,对于像疟疾检测这样的计算机视觉问题,可以作为一个好的合适新图像的特征提取器。在我们的问题中发挥迁移学习的能力之前,让我们先讨论 VGG-19 模型。
+
+##### 理解 VGG-19 模型
+
+VGG-19 模型是一个构建在 ImageNet 数据库之上的 19 层(卷积和全连接的)的深度学习网络,ImageNet 数据库为了图像识别和分类的目的而开发。该模型是由 Karen Simonyan 和 Andrew Zisserman 构建的,在他们的论文“[大规模图像识别的非常深的卷积网络][22]”中进行了描述。VGG-19 的架构模型是:
+
+![VGG-19 模型架构][23]
+
+你可以看到我们总共有 16 个使用 3x3 卷积过滤器的卷积层,与最大的池化层来下采样,和由 4096 个单元组成的两个全连接的隐藏层,每个隐藏层之后跟随一个由 1000 个单元组成的致密层,每个单元代表 ImageNet 数据库中的一个分类。我们不需要最后三层,因为我们将使用我们自己的全连接致密层来预测疟疾。我们更关心前五个块,因此我们可以利用 VGG 模型作为一个有效的特征提取器。
+
+我们将使用模型之一作为一个简单的特征提取器,通过冻结五个卷积块的方式来确保它们的位权在每个纪元后不会更新。对于最后一个模型,我们会对 VGG 模型进行微调,我们会解冻最后两个块(第 4 和第 5)因此当我们训练我们的模型时,它们的位权在每个时期(每批数据)被更新。
+
+#### 模型 2:预训练的模型作为一个特征提取器
+
+为了构建这个模型,我们将利用 TensorFlow 载入 VGG-19 模型并冻结卷积块,因此我们能够将它们用作特征提取器。我们在末尾插入我们自己的致密层来执行分类任务。
+
+```
+vgg = tf.keras.applications.vgg19.VGG19(include_top=False, weights='imagenet',
+ input_shape=INPUT_SHAPE)
+vgg.trainable = False
+# Freeze the layers
+for layer in vgg.layers:
+ layer.trainable = False
+
+base_vgg = vgg
+base_out = base_vgg.output
+pool_out = tf.keras.layers.Flatten()(base_out)
+hidden1 = tf.keras.layers.Dense(512, activation='relu')(pool_out)
+drop1 = tf.keras.layers.Dropout(rate=0.3)(hidden1)
+hidden2 = tf.keras.layers.Dense(512, activation='relu')(drop1)
+drop2 = tf.keras.layers.Dropout(rate=0.3)(hidden2)
+
+out = tf.keras.layers.Dense(1, activation='sigmoid')(drop2)
+
+model = tf.keras.Model(inputs=base_vgg.input, outputs=out)
+model.compile(optimizer=tf.keras.optimizers.RMSprop(lr=1e-4),
+ loss='binary_crossentropy',
+ metrics=['accuracy'])
+model.summary()
+
+
+# Output
+Model: "model_1"
+_________________________________________________________________
+Layer (type) Output Shape Param #
+=================================================================
+input_2 (InputLayer) [(None, 125, 125, 3)] 0
+_________________________________________________________________
+block1_conv1 (Conv2D) (None, 125, 125, 64) 1792
+_________________________________________________________________
+block1_conv2 (Conv2D) (None, 125, 125, 64) 36928
+_________________________________________________________________
+...
+...
+_________________________________________________________________
+block5_pool (MaxPooling2D) (None, 3, 3, 512) 0
+_________________________________________________________________
+flatten_1 (Flatten) (None, 4608) 0
+_________________________________________________________________
+dense_3 (Dense) (None, 512) 2359808
+_________________________________________________________________
+dropout_2 (Dropout) (None, 512) 0
+_________________________________________________________________
+dense_4 (Dense) (None, 512) 262656
+_________________________________________________________________
+dropout_3 (Dropout) (None, 512) 0
+_________________________________________________________________
+dense_5 (Dense) (None, 1) 513
+=================================================================
+Total params: 22,647,361
+Trainable params: 2,622,977
+Non-trainable params: 20,024,384
+_________________________________________________________________
+```
+
+从整个输出可以明显看出,在我们的模型中我们有了很多层,我们将只利用 VGG-19 模型的冻结层作为特征提取器。你可以使用下列代码来验证我们的模型有多少层是实际可训练的,以及我们的网络中总共存在多少层。
+
+```
+print("Total Layers:", len(model.layers))
+print("Total trainable layers:",
+ sum([1 for l in model.layers if l.trainable]))
+
+# Output
+Total Layers: 28
+Total trainable layers: 6
+```
+
+我们将使用和我们之前的模型相似的配置和回调来训练我们的模型。参考[我的 GitHub 仓库][24]以获取训练模型的完整代码。我们观察下列图表,以显示模型精确度和损失曲线。
+
+![Learning curves for frozen pre-trained CNN][25]
+
+*冻结的预训练的 CNN 的学习曲线*
+
+这表明我们的模型没有像我们的基础 CNN 模型那样过拟合,但是性能有点不如我们的基础的 CNN 模型。让我们保存这个模型,以备将来的评估。
+
+```
+model.save('vgg_frozen.h5')
+```
+
+#### 模型 3:使用图像增强来微调预训练的模型
+
+在我们的最后一个模型中,我们将在预定义好的 VGG-19 模型的最后两个块中微调层的位权。我们同样引入了图像增强的概念。图像增强背后的想法和其名字一样。我们从训练数据集中载入现有图像,并且应用转换操作,例如旋转、裁剪、转换、放大缩小等等,来产生新的、改变过的版本。由于这些随机转换,我们每次获取到的图像不一样。我们将应用 tf.keras 中的一个名为 ImageDataGenerator 的优秀工具来帮助构建图像增强器。
+
+```
+train_datagen = tf.keras.preprocessing.image.ImageDataGenerator(rescale=1./255,
+ zoom_range=0.05,
+ rotation_range=25,
+ width_shift_range=0.05,
+ height_shift_range=0.05,
+ shear_range=0.05, horizontal_flip=True,
+ fill_mode='nearest')
+
+val_datagen = tf.keras.preprocessing.image.ImageDataGenerator(rescale=1./255)
+
+# build image augmentation generators
+train_generator = train_datagen.flow(train_data, train_labels_enc, batch_size=BATCH_SIZE, shuffle=True)
+val_generator = val_datagen.flow(val_data, val_labels_enc, batch_size=BATCH_SIZE, shuffle=False)
+```
+
+我们不会对我们的验证数据集应用任何转换(除非是调整大小,因为这是必须的),因为我们将使用它评估每个纪元的模型性能。对于在传输学习环境中的图像增强的详细解释,请随时查看我上面引用的[文章][18]。让我们从一批图像增强转换中查看一些样本结果。
+
+```
+img_id = 0
+sample_generator = train_datagen.flow(train_data[img_id:img_id+1], train_labels[img_id:img_id+1],
+ batch_size=1)
+sample = [next(sample_generator) for i in range(0,5)]
+fig, ax = plt.subplots(1,5, figsize=(16, 6))
+print('Labels:', [item[1][0] for item in sample])
+l = [ax[i].imshow(sample[i][0][0]) for i in range(0,5)]
+```
+
+![Sample augmented images][26]
+
+你可以清晰的看到与之前的输出的我们图像的轻微变化。我们现在构建我们的学习模型,确保 VGG-19 模型的最后两块是可以训练的。
+
+```
+vgg = tf.keras.applications.vgg19.VGG19(include_top=False, weights='imagenet',
+ input_shape=INPUT_SHAPE)
+# Freeze the layers
+vgg.trainable = True
+
+set_trainable = False
+for layer in vgg.layers:
+ if layer.name in ['block5_conv1', 'block4_conv1']:
+ set_trainable = True
+ if set_trainable:
+ layer.trainable = True
+ else:
+ layer.trainable = False
+
+base_vgg = vgg
+base_out = base_vgg.output
+pool_out = tf.keras.layers.Flatten()(base_out)
+hidden1 = tf.keras.layers.Dense(512, activation='relu')(pool_out)
+drop1 = tf.keras.layers.Dropout(rate=0.3)(hidden1)
+hidden2 = tf.keras.layers.Dense(512, activation='relu')(drop1)
+drop2 = tf.keras.layers.Dropout(rate=0.3)(hidden2)
+
+out = tf.keras.layers.Dense(1, activation='sigmoid')(drop2)
+
+model = tf.keras.Model(inputs=base_vgg.input, outputs=out)
+model.compile(optimizer=tf.keras.optimizers.RMSprop(lr=1e-5),
+ loss='binary_crossentropy',
+ metrics=['accuracy'])
+
+print("Total Layers:", len(model.layers))
+print("Total trainable layers:", sum([1 for l in model.layers if l.trainable]))
+
+
+# Output
+Total Layers: 28
+Total trainable layers: 16
+```
+
+在我们的模型中我们降低了学习率,因为我们不想在微调的时候对预训练的层做大的位权更新。模型的训练过程可能有轻微的不同,因为我们使用了数据生成器,因此我们将应用 `fit_generator(...)` 函数。
+
+```
+tensorboard_callback = tf.keras.callbacks.TensorBoard(logdir, histogram_freq=1)
+reduce_lr = tf.keras.callbacks.ReduceLROnPlateau(monitor='val_loss', factor=0.5,
+ patience=2, min_lr=0.000001)
+
+callbacks = [reduce_lr, tensorboard_callback]
+train_steps_per_epoch = train_generator.n // train_generator.batch_size
+val_steps_per_epoch = val_generator.n // val_generator.batch_size
+history = model.fit_generator(train_generator, steps_per_epoch=train_steps_per_epoch, epochs=EPOCHS,
+ validation_data=val_generator, validation_steps=val_steps_per_epoch,
+ verbose=1)
+
+
+# Output
+Epoch 1/25
+271/271 [====] - 133s 489ms/step - loss: 0.2267 - accuracy: 0.9117 - val_loss: 0.1414 - val_accuracy: 0.9531
+Epoch 2/25
+271/271 [====] - 129s 475ms/step - loss: 0.1399 - accuracy: 0.9552 - val_loss: 0.1292 - val_accuracy: 0.9589
+...
+...
+Epoch 24/25
+271/271 [====] - 128s 473ms/step - loss: 0.0815 - accuracy: 0.9727 - val_loss: 0.1466 - val_accuracy: 0.9682
+Epoch 25/25
+271/271 [====] - 128s 473ms/step - loss: 0.0792 - accuracy: 0.9729 - val_loss: 0.1127 - val_accuracy: 0.9641
+```
+
+这看起来是我们的最好的模型。它给了我们近乎 96.5% 的验证精确率,基于训练精度,它看起来不像我们的第一个模型那样过拟合。这可以通过下列的学习曲线验证。
+
+![Learning curves for fine-tuned pre-trained CNN][27]
+
+*微调过的预训练 CNN 的学习曲线*
+
+让我们保存这个模型,因此我们能够在测试集上使用。
+
+
+```
+model.save('vgg_finetuned.h5')
+```
+
+这就完成了我们的模型训练阶段。现在我们准备好了在测试集上测试我们模型的性能。
+
+### 深度学习模型性能评估
+
+我们将通过在我们的测试集上做预测来评估我们在训练阶段构建的三个模型,因为仅仅验证是不够的!我们同样构建了一个检测工具模块叫做 `model_evaluation_utils`,我们可以使用相关分类指标用来评估使用我们深度学习模型的性能。第一步是扩展我们的数据集。
+
+```
+test_imgs_scaled = test_data / 255.
+test_imgs_scaled.shape, test_labels.shape
+
+# Output
+((8268, 125, 125, 3), (8268,))
+```
+
+下一步包括载入我们保存的深度学习模型,在测试集上预测。
+
+```
+# Load Saved Deep Learning Models
+basic_cnn = tf.keras.models.load_model('./basic_cnn.h5')
+vgg_frz = tf.keras.models.load_model('./vgg_frozen.h5')
+vgg_ft = tf.keras.models.load_model('./vgg_finetuned.h5')
+
+# Make Predictions on Test Data
+basic_cnn_preds = basic_cnn.predict(test_imgs_scaled, batch_size=512)
+vgg_frz_preds = vgg_frz.predict(test_imgs_scaled, batch_size=512)
+vgg_ft_preds = vgg_ft.predict(test_imgs_scaled, batch_size=512)
+
+basic_cnn_pred_labels = le.inverse_transform([1 if pred > 0.5 else 0
+ for pred in basic_cnn_preds.ravel()])
+vgg_frz_pred_labels = le.inverse_transform([1 if pred > 0.5 else 0
+ for pred in vgg_frz_preds.ravel()])
+vgg_ft_pred_labels = le.inverse_transform([1 if pred > 0.5 else 0
+ for pred in vgg_ft_preds.ravel()])
+```
+
+下一步是应用我们的 `model_evaluation_utils` 模块根据相应分类指标来检查每个模块的性能。
+
+```
+import model_evaluation_utils as meu
+import pandas as pd
+
+basic_cnn_metrics = meu.get_metrics(true_labels=test_labels, predicted_labels=basic_cnn_pred_labels)
+vgg_frz_metrics = meu.get_metrics(true_labels=test_labels, predicted_labels=vgg_frz_pred_labels)
+vgg_ft_metrics = meu.get_metrics(true_labels=test_labels, predicted_labels=vgg_ft_pred_labels)
+
+pd.DataFrame([basic_cnn_metrics, vgg_frz_metrics, vgg_ft_metrics],
+ index=['Basic CNN', 'VGG-19 Frozen', 'VGG-19 Fine-tuned'])
+```
+
+![Model accuracy][28]
+
+看起来我们的第三个模型在我们的测试集上执行的最好,给出了一个模型精确性为 96% 的 F1 得分,这非常好,与我们之前提到的研究论文和文章中的更复杂的模型相当。
+
+### 总结
+
+疟疾检测不是一个简单的过程,全球的合格人员的不足在病例诊断和治疗当中是一个严重的问题。我们研究了一个关于疟疾的有趣的真实世界的医学影像案例。利用 AI 的、易于构建的、开源的技术在检测疟疾方面可以为我们提供最先进的精确性,因此使 AI 具有社会效益。
+
+我鼓励你查看这篇文章中提到的文章和研究论文,没有它们,我就不能形成概念并写出来。如果你对运行和采纳这些技术感兴趣,本篇文章所有的代码都可以在[我的 GitHub 仓库][24]获得。记得从[官方网站][11]下载数据。
+
+让我们希望在健康医疗方面更多的采纳开源的 AI 能力,使它在世界范围内变得更便宜、更易用。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/detecting-malaria-deep-learning
+
+作者:[Dipanjan (DJ) Sarkar][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/djsarkar
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/osdc_520x292_opensourcedoctor.png?itok=fk79NwpC
+[2]: https://opensource.com/sites/default/files/uploads/malaria1_python-tensorflow.png (Python and TensorFlow)
+[3]: https://opensource.com/sites/default/files/uploads/malaria2_malaria-heat-map.png (Malaria heat map)
+[4]: https://www.who.int/features/factfiles/malaria/en/
+[5]: https://peerj.com/articles/4568/
+[6]: https://blog.insightdatascience.com/https-blog-insightdatascience-com-malaria-hero-a47d3d5fc4bb
+[7]: https://www.pyimagesearch.com/2018/12/03/deep-learning-and-medical-image-analysis-with-keras/
+[8]: https://opensource.com/sites/default/files/uploads/malaria3_blood-smear.png (Blood smear workflow for Malaria detection)
+[9]: http://cs231n.github.io/convolutional-networks/
+[10]: https://opensource.com/sites/default/files/uploads/malaria4_cnn-architecture.png (A typical CNN architecture)
+[11]: https://ceb.nlm.nih.gov/repositories/malaria-datasets/
+[12]: https://www.ncbi.nlm.nih.gov/pubmed/29360430
+[13]: https://opensource.com/sites/default/files/uploads/malaria5_dependencies.png (Installing dependencies)
+[14]: https://opensource.com/sites/default/files/uploads/malaria6_tree-dependency.png (Installing the tree dependency)
+[15]: https://opensource.com/sites/default/files/uploads/malaria7_dataset.png (Datasets)
+[16]: https://opensource.com/sites/default/files/uploads/malaria8_cell-samples.png (Malaria cell samples)
+[17]: https://opensource.com/sites/default/files/uploads/malaria9_learningcurves.png (Learning curves for basic CNN)
+[18]: https://towardsdatascience.com/a-comprehensive-hands-on-guide-to-transfer-learning-with-real-world-applications-in-deep-learning-212bf3b2f27a
+[19]: https://github.com/dipanjanS/hands-on-transfer-learning-with-python
+[20]: https://opensource.com/sites/default/files/uploads/malaria10_transferideas.png (Ideas for deep transfer learning)
+[21]: http://image-net.org/index
+[22]: https://arxiv.org/pdf/1409.1556.pdf
+[23]: https://opensource.com/sites/default/files/uploads/malaria11_vgg-19-model-architecture.png (VGG-19 Model Architecture)
+[24]: https://nbviewer.jupyter.org/github/dipanjanS/data_science_for_all/tree/master/os_malaria_detection/
+[25]: https://opensource.com/sites/default/files/uploads/malaria12_learningcurves.png (Learning curves for frozen pre-trained CNN)
+[26]: https://opensource.com/sites/default/files/uploads/malaria13_sampleimages.png (Sample augmented images)
+[27]: https://opensource.com/sites/default/files/uploads/malaria14_learningcurves.png (Learning curves for fine-tuned pre-trained CNN)
+[28]: https://opensource.com/sites/default/files/uploads/malaria15_modelaccuracy.png (Model accuracy)
diff --git a/published/201905/20190416 Inter-process communication in Linux- Using pipes and message queues.md b/published/201905/20190416 Inter-process communication in Linux- Using pipes and message queues.md
new file mode 100644
index 0000000000..714f451e2e
--- /dev/null
+++ b/published/201905/20190416 Inter-process communication in Linux- Using pipes and message queues.md
@@ -0,0 +1,578 @@
+[#]: collector: (lujun9972)
+[#]: translator: (FSSlc)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10845-1.html)
+[#]: subject: (Inter-process communication in Linux: Using pipes and message queues)
+[#]: via: (https://opensource.com/article/19/4/interprocess-communication-linux-channels)
+[#]: author: (Marty Kalin https://opensource.com/users/mkalindepauledu)
+
+Linux 下的进程间通信:使用管道和消息队列
+======
+
+> 学习在 Linux 中进程是如何与其他进程进行同步的。
+
+![Chat bubbles][1]
+
+本篇是 Linux 下[进程间通信][2](IPC)系列的第二篇文章。[第一篇文章][3] 聚焦于通过共享文件和共享内存段这样的共享存储来进行 IPC。这篇文件的重点将转向管道,它是连接需要通信的进程之间的通道。管道拥有一个*写端*用于写入字节数据,还有一个*读端*用于按照先入先出的顺序读入这些字节数据。而这些字节数据可能代表任何东西:数字、员工记录、数字电影等等。
+
+管道有两种类型,命名管道和无名管道,都可以交互式的在命令行或程序中使用它们;相关的例子在下面展示。这篇文章也将介绍内存队列,尽管它们有些过时了,但它们不应该受这样的待遇。
+
+在本系列的第一篇文章中的示例代码承认了在 IPC 中可能受到竞争条件(不管是基于文件的还是基于内存的)的威胁。自然地我们也会考虑基于管道的 IPC 的安全并发问题,这个也将在本文中提及。针对管道和内存队列的例子将会使用 POSIX 推荐使用的 API,POSIX 的一个核心目标就是线程安全。
+
+请查看一些 [mq_open 函数的 man 页][4],这个函数属于内存队列的 API。这个 man 页中有关 [特性][5] 的章节带有一个小表格:
+
+接口 | 特性 | 值
+---|---|---
+`mq_open()` | 线程安全 | MT-Safe
+
+上面的 MT-Safe(MT 指的是多线程)意味着 `mq_open` 函数是线程安全的,进而暗示是进程安全的:一个进程的执行和它的一个线程执行的过程类似,假如竞争条件不会发生在处于*相同*进程的线程中,那么这样的条件也不会发生在处于不同进程的线程中。MT-Safe 特性保证了调用 `mq_open` 时不会出现竞争条件。一般来说,基于通道的 IPC 是并发安全的,尽管在下面例子中会出现一个有关警告的注意事项。
+
+### 无名管道
+
+首先让我们通过一个特意构造的命令行例子来展示无名管道是如何工作的。在所有的现代系统中,符号 `|` 在命令行中都代表一个无名管道。假设我们的命令行提示符为 `%`,接下来考虑下面的命令:
+
+```shell
+## 写入方在 | 左边,读取方在右边
+% sleep 5 | echo "Hello, world!"
+```
+
+`sleep` 和 `echo` 程序以不同的进程执行,无名管道允许它们进行通信。但是上面的例子被特意设计为没有通信发生。问候语 “Hello, world!” 出现在屏幕中,然后过了 5 秒后,命令行返回,暗示 `sleep` 和 `echo` 进程都已经结束了。这期间发生了什么呢?
+
+在命令行中的竖线 `|` 的语法中,左边的进程(`sleep`)是写入方,右边的进程(`echo`)为读取方。默认情况下,读取方将会阻塞,直到从通道中能够读取到字节数据,而写入方在写完它的字节数据后,将发送 流已终止的标志。(即便写入方过早终止了,一个流已终止的标志还是会发给读取方。)无名管道将保持到写入方和读取方都停止的那个时刻。
+
+在上面的例子中,`sleep` 进程并没有向通道写入任何的字节数据,但在 5 秒后就终止了,这时将向通道发送一个流已终止的标志。与此同时,`echo` 进程立即向标准输出(屏幕)写入问候语,因为这个进程并不从通道中读入任何字节,所以它并没有等待。一旦 `sleep` 和 `echo` 进程都终止了,不会再用作通信的无名管道将会消失然后返回命令行提示符。
+
+下面这个更加实用的示例将使用两个无名管道。我们假定文件 `test.dat` 的内容如下:
+
+```
+this
+is
+the
+way
+the
+world
+ends
+```
+
+下面的命令:
+
+```
+% cat test.dat | sort | uniq
+```
+
+会将 `cat`(连接的缩写)进程的输出通过管道传给 `sort` 进程以生成排序后的输出,然后将排序后的输出通过管道传给 `uniq` 进程以消除重复的记录(在本例中,会将两次出现的 “the” 缩减为一个):
+
+```
+ends
+is
+the
+this
+way
+world
+```
+
+下面展示的情景展示的是一个带有两个进程的程序通过一个无名管道通信来进行通信。
+
+#### 示例 1. 两个进程通过一个无名管道来进行通信
+
+```c
+#include /* wait */
+#include
+#include /* exit functions */
+#include /* read, write, pipe, _exit */
+#include
+
+#define ReadEnd 0
+#define WriteEnd 1
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1); /** failure **/
+}
+
+int main() {
+ int pipeFDs[2]; /* two file descriptors */
+ char buf; /* 1-byte buffer */
+ const char* msg = "Nature's first green is gold\n"; /* bytes to write */
+
+ if (pipe(pipeFDs) < 0) report_and_exit("pipeFD");
+ pid_t cpid = fork(); /* fork a child process */
+ if (cpid < 0) report_and_exit("fork"); /* check for failure */
+
+ if (0 == cpid) { /*** child ***/ /* child process */
+ close(pipeFDs[WriteEnd]); /* child reads, doesn't write */
+
+ while (read(pipeFDs[ReadEnd], &buf, 1) > 0) /* read until end of byte stream */
+ write(STDOUT_FILENO, &buf, sizeof(buf)); /* echo to the standard output */
+
+ close(pipeFDs[ReadEnd]); /* close the ReadEnd: all done */
+ _exit(0); /* exit and notify parent at once */
+ }
+ else { /*** parent ***/
+ close(pipeFDs[ReadEnd]); /* parent writes, doesn't read */
+
+ write(pipeFDs[WriteEnd], msg, strlen(msg)); /* write the bytes to the pipe */
+ close(pipeFDs[WriteEnd]); /* done writing: generate eof */
+
+ wait(NULL); /* wait for child to exit */
+ exit(0); /* exit normally */
+ }
+ return 0;
+}
+```
+
+上面名为 `pipeUN` 的程序使用系统函数 `fork` 来创建一个进程。尽管这个程序只有一个单一的源文件,在它正确执行的情况下将会发生多进程的情况。
+
+> 下面的内容是对库函数 `fork` 如何工作的一个简要回顾:
+
+> * `fork` 函数由*父*进程调用,在失败时返回 `-1` 给父进程。在 `pipeUN` 这个例子中,相应的调用是:
+
+> ```c
+pid_t cpid = fork(); /* called in parent */
+```
+
+> 函数调用后的返回值也被保存下来了。在这个例子中,保存在整数类型 `pid_t` 的变量 `cpid` 中。(每个进程有它自己的*进程 ID*,这是一个非负的整数,用来标记进程)。复刻一个新的进程可能会因为多种原因而失败,包括*进程表*满了的原因,这个结构由系统维持,以此来追踪进程状态。明确地说,僵尸进程假如没有被处理掉,将可能引起进程表被填满的错误。
+> * 假如 `fork` 调用成功,则它将创建一个新的子进程,向父进程返回一个值,向子进程返回另外的一个值。在调用 `fork` 后父进程和子进程都将执行相同的代码。(子进程继承了到此为止父进程中声明的所有变量的拷贝),特别地,一次成功的 `fork` 调用将返回如下的东西:
+> * 向子进程返回 `0`
+> * 向父进程返回子进程的进程 ID
+> * 在一次成功的 `fork` 调用后,一个 `if`/`else` 或等价的结构将会被用来隔离针对父进程和子进程的代码。在这个例子中,相应的声明为:
+
+> ```c
+if (0 == cpid) { /*** child ***/
+...
+}
+else { /*** parent ***/
+...
+}
+```
+
+假如成功地复刻出了一个子进程,`pipeUN` 程序将像下面这样去执行。在一个整数的数列里:
+
+```c
+int pipeFDs[2]; /* two file descriptors */
+```
+
+来保存两个文件描述符,一个用来向管道中写入,另一个从管道中写入。(数组元素 `pipeFDs[0]` 是读端的文件描述符,元素 `pipeFDs[1]` 是写端的文件描述符。)在调用 `fork` 之前,对系统 `pipe` 函数的成功调用,将立刻使得这个数组获得两个文件描述符:
+
+```c
+if (pipe(pipeFDs) < 0) report_and_exit("pipeFD");
+```
+
+父进程和子进程现在都有了文件描述符的副本。但*分离关注点*模式意味着每个进程恰好只需要一个描述符。在这个例子中,父进程负责写入,而子进程负责读取,尽管这样的角色分配可以反过来。在 `if` 子句中的第一个语句将用于关闭管道的读端:
+
+```c
+close(pipeFDs[WriteEnd]); /* called in child code */
+```
+
+在父进程中的 `else` 子句将会关闭管道的读端:
+
+```c
+close(pipeFDs[ReadEnd]); /* called in parent code */
+```
+
+然后父进程将向无名管道中写入某些字节数据(ASCII 代码),子进程读取这些数据,然后向标准输出中回放它们。
+
+在这个程序中还需要澄清的一点是在父进程代码中的 `wait` 函数。一旦被创建后,子进程很大程度上独立于它的父进程,正如简短的 `pipeUN` 程序所展示的那样。子进程可以执行任意的代码,而它们可能与父进程完全没有关系。但是,假如当子进程终止时,系统将会通过一个信号来通知父进程。
+
+要是父进程在子进程之前终止又该如何呢?在这种情形下,除非采取了预防措施,子进程将会变成在进程表中的一个*僵尸*进程。预防措施有两大类型:第一种是让父进程去通知系统,告诉系统它对子进程的终止没有任何兴趣:
+
+```c
+signal(SIGCHLD, SIG_IGN); /* in parent: ignore notification */
+```
+
+第二种方法是在子进程终止时,让父进程执行一个 `wait`。这样就确保了父进程可以独立于子进程而存在。在 `pipeUN` 程序中使用了第二种方法,其中父进程的代码使用的是下面的调用:
+
+```c
+wait(NULL); /* called in parent */
+```
+
+这个对 `wait` 的调用意味着*一直等待直到任意一个子进程的终止发生*,因此在 `pipeUN` 程序中,只有一个子进程。(其中的 `NULL` 参数可以被替换为一个保存有子程序退出状态的整数变量的地址。)对于更细粒度的控制,还可以使用更灵活的 `waitpid` 函数,例如特别指定多个子进程中的某一个。
+
+`pipeUN` 将会采取另一个预防措施。当父进程结束了等待,父进程将会调用常规的 `exit` 函数去退出。对应的,子进程将会调用 `_exit` 变种来退出,这类变种将快速跟踪终止相关的通知。在效果上,子进程会告诉系统立刻去通知父进程它的这个子进程已经终止了。
+
+假如两个进程向相同的无名管道中写入内容,字节数据会交错吗?例如,假如进程 P1 向管道写入内容:
+
+```
+foo bar
+```
+
+同时进程 P2 并发地写入:
+
+```
+baz baz
+```
+
+到相同的管道,最后的结果似乎是管道中的内容将会是任意错乱的,例如像这样:
+
+```
+baz foo baz bar
+```
+
+只要没有写入超过 `PIPE_BUF` 字节,POSIX 标准就能确保写入不会交错。在 Linux 系统中, `PIPE_BUF` 的大小是 4096 字节。对于管道我更喜欢只有一个写入方和一个读取方,从而绕过这个问题。
+
+### 命名管道
+
+无名管道没有备份文件:系统将维持一个内存缓存来将字节数据从写方传给读方。一旦写方和读方终止,这个缓存将会被回收,进而无名管道消失。相反的,命名管道有备份文件和一个不同的 API。
+
+下面让我们通过另一个命令行示例来了解命名管道的要点。下面是具体的步骤:
+
+* 开启两个终端。这两个终端的工作目录应该相同。
+* 在其中一个终端中,键入下面的两个命令(命令行提示符仍然是 `%`,我的注释以 `##` 打头。):
+
+ ```shell
+% mkfifo tester ## 创建一个备份文件,名为 tester
+% cat tester ## 将管道的内容输出到 stdout
+```
+
+ 在最开始,没有任何东西会出现在终端中,因为到现在为止没有在命名管道中写入任何东西。
+* 在第二个终端中输入下面的命令:
+
+ ```shell
+% cat > tester ## redirect keyboard input to the pipe
+hello, world! ## then hit Return key
+bye, bye ## ditto
+ ## terminate session with a Control-C
+```
+
+ 无论在这个终端中输入什么,它都会在另一个终端中显示出来。一旦键入 `Ctrl+C`,就会回到正常的命令行提示符,因为管道已经被关闭了。
+* 通过移除实现命名管道的文件来进行清理:
+
+ ```shell
+% unlink tester
+```
+
+正如 `mkfifo` 程序的名字所暗示的那样,命名管道也被叫做 FIFO,因为第一个进入的字节,就会第一个出,其他的类似。有一个名为 `mkfifo` 的库函数,用它可以在程序中创建一个命名管道,它将在下一个示例中被用到,该示例由两个进程组成:一个向命名管道写入,而另一个从该管道读取。
+
+#### 示例 2. fifoWriter 程序
+
+```c
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#define MaxLoops 12000 /* outer loop */
+#define ChunkSize 16 /* how many written at a time */
+#define IntsPerChunk 4 /* four 4-byte ints per chunk */
+#define MaxZs 250 /* max microseconds to sleep */
+
+int main() {
+ const char* pipeName = "./fifoChannel";
+ mkfifo(pipeName, 0666); /* read/write for user/group/others */
+ int fd = open(pipeName, O_CREAT | O_WRONLY); /* open as write-only */
+ if (fd < 0) return -1; /* can't go on */
+
+ int i;
+ for (i = 0; i < MaxLoops; i++) { /* write MaxWrites times */
+ int j;
+ for (j = 0; j < ChunkSize; j++) { /* each time, write ChunkSize bytes */
+ int k;
+ int chunk[IntsPerChunk];
+ for (k = 0; k < IntsPerChunk; k++)
+ chunk[k] = rand();
+ write(fd, chunk, sizeof(chunk));
+ }
+ usleep((rand() % MaxZs) + 1); /* pause a bit for realism */
+ }
+
+ close(fd); /* close pipe: generates an end-of-stream marker */
+ unlink(pipeName); /* unlink from the implementing file */
+ printf("%i ints sent to the pipe.\n", MaxLoops * ChunkSize * IntsPerChunk);
+
+ return 0;
+}
+```
+
+上面的 `fifoWriter` 程序可以被总结为如下:
+
+* 首先程序创建了一个命名管道用来写入数据:
+
+ ```c
+mkfifo(pipeName, 0666); /* read/write perms for user/group/others */
+int fd = open(pipeName, O_CREAT | O_WRONLY);
+```
+
+ 其中的 `pipeName` 是备份文件的名字,传递给 `mkfifo` 作为它的第一个参数。接着命名管道通过我们熟悉的 `open` 函数调用被打开,而这个函数将会返回一个文件描述符。
+* 在实现层面上,`fifoWriter` 不会一次性将所有的数据都写入,而是写入一个块,然后休息随机数目的微秒时间,接着再循环往复。总的来说,有 768000 个 4 字节整数值被写入到命名管道中。
+* 在关闭命名管道后,`fifoWriter` 也将使用 `unlink` 取消对该文件的连接。
+
+ ```c
+close(fd); /* close pipe: generates end-of-stream marker */
+unlink(pipeName); /* unlink from the implementing file */
+```
+
+ 一旦连接到管道的每个进程都执行了 `unlink` 操作后,系统将回收这些备份文件。在这个例子中,只有两个这样的进程 `fifoWriter` 和 `fifoReader`,它们都做了 `unlink` 操作。
+
+这个两个程序应该在不同终端的相同工作目录中执行。但是 `fifoWriter` 应该在 `fifoReader` 之前被启动,因为需要 `fifoWriter` 去创建管道。然后 `fifoReader` 才能够获取到刚被创建的命名管道。
+
+#### 示例 3. fifoReader 程序
+
+```c
+#include
+#include
+#include
+#include
+#include
+
+unsigned is_prime(unsigned n) { /* not pretty, but efficient */
+ if (n <= 3) return n > 1;
+ if (0 == (n % 2) || 0 == (n % 3)) return 0;
+
+ unsigned i;
+ for (i = 5; (i * i) <= n; i += 6)
+ if (0 == (n % i) || 0 == (n % (i + 2))) return 0;
+
+ return 1; /* found a prime! */
+}
+
+int main() {
+ const char* file = "./fifoChannel";
+ int fd = open(file, O_RDONLY);
+ if (fd < 0) return -1; /* no point in continuing */
+ unsigned count = 0, total = 0, primes_count = 0;
+
+ while (1) {
+ int next;
+ int i;
+
+ ssize_t count = read(fd, &next, sizeof(int));
+ if (0 == count) break; /* end of stream */
+ else if (count == sizeof(int)) { /* read a 4-byte int value */
+ total++;
+ if (is_prime(next)) primes_count++;
+ }
+ }
+
+ close(fd); /* close pipe from read end */
+ unlink(file); /* unlink from the underlying file */
+ printf("Received ints: %u, primes: %u\n", total, primes_count);
+
+ return 0;
+}
+```
+
+上面的 `fifoReader` 的内容可以总结为如下:
+
+* 因为 `fifoWriter` 已经创建了命名管道,所以 `fifoReader` 只需要利用标准的 `open` 调用来通过备份文件来获取到管道中的内容:
+
+ ```c
+const char* file = "./fifoChannel";
+int fd = open(file, O_RDONLY);
+```
+
+ 这个文件的是以只读打开的。
+* 然后这个程序进入一个潜在的无限循环,在每次循环时,尝试读取 4 字节的块。`read` 调用:
+
+ ```c
+ssize_t count = read(fd, &next, sizeof(int));
+```
+
+ 返回 0 来暗示该流的结束。在这种情况下,`fifoReader` 跳出循环,关闭命名管道,并在终止前 `unlink` 备份文件。
+* 在读入 4 字节整数后,`fifoReader` 检查这个数是否为质数。这个操作代表了一个生产级别的读取器可能在接收到的字节数据上执行的逻辑操作。在示例运行中,在接收到的 768000 个整数中有 37682 个质数。
+
+重复运行示例, `fifoReader` 将成功地读取 `fifoWriter` 写入的所有字节。这不是很让人惊讶的。这两个进程在相同的机器上执行,从而可以不用考虑网络相关的问题。命名管道是一个可信且高效的 IPC 机制,因而被广泛使用。
+
+下面是这两个程序的输出,它们在不同的终端中启动,但处于相同的工作目录:
+
+```shell
+% ./fifoWriter
+768000 ints sent to the pipe.
+###
+% ./fifoReader
+Received ints: 768000, primes: 37682
+```
+
+### 消息队列
+
+管道有着严格的先入先出行为:第一个被写入的字节将会第一个被读,第二个写入的字节将第二个被读,以此类推。消息队列可以做出相同的表现,但它又足够灵活,可以使得字节块可以不以先入先出的次序来接收。
+
+正如它的名字所提示的那样,消息队列是一系列的消息,每个消息包含两部分:
+
+* 荷载,一个字节序列(在 C 中是 char)
+* 类型,以一个正整数值的形式给定,类型用来分类消息,为了更灵活的回收
+
+看一下下面对一个消息队列的描述,每个消息由一个整数类型标记:
+
+```
+ +-+ +-+ +-+ +-+
+sender--->|3|--->|2|--->|2|--->|1|--->receiver
+ +-+ +-+ +-+ +-+
+```
+
+在上面展示的 4 个消息中,标记为 1 的是开头,即最接近接收端,然后另个标记为 2 的消息,最后接着一个标记为 3 的消息。假如按照严格的 FIFO 行为执行,消息将会以 1-2-2-3 这样的次序被接收。但是消息队列允许其他收取次序。例如,消息可以被接收方以 3-2-1-2 的次序接收。
+
+`mqueue` 示例包含两个程序,`sender` 将向消息队列中写入数据,而 `receiver` 将从这个队列中读取数据。这两个程序都包含的头文件 `queue.h` 如下所示:
+
+#### 示例 4. 头文件 queue.h
+
+```c
+#define ProjectId 123
+#define PathName "queue.h" /* any existing, accessible file would do */
+#define MsgLen 4
+#define MsgCount 6
+
+typedef struct {
+ long type; /* must be of type long */
+ char payload[MsgLen + 1]; /* bytes in the message */
+} queuedMessage;
+```
+
+上面的头文件定义了一个名为 `queuedMessage` 的结构类型,它带有 `payload`(字节数组)和 `type`(整数)这两个域。该文件也定义了一些符号常数(使用 `#define` 语句),前两个常数被用来生成一个 `key`,而这个 `key` 反过来被用来获取一个消息队列的 ID。`ProjectId` 可以是任何正整数值,而 `PathName` 必须是一个存在的、可访问的文件,在这个示例中,指的是文件 `queue.h`。在 `sender` 和 `receiver` 中,它们都有的设定语句为:
+
+```c
+key_t key = ftok(PathName, ProjectId); /* generate key */
+int qid = msgget(key, 0666 | IPC_CREAT); /* use key to get queue id */
+```
+
+ID `qid` 在效果上是消息队列文件描述符的对应物。
+
+#### 示例 5. sender 程序
+
+```c
+#include
+#include
+#include
+#include
+#include
+#include "queue.h"
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1); /* EXIT_FAILURE */
+}
+
+int main() {
+ key_t key = ftok(PathName, ProjectId);
+ if (key < 0) report_and_exit("couldn't get key...");
+
+ int qid = msgget(key, 0666 | IPC_CREAT);
+ if (qid < 0) report_and_exit("couldn't get queue id...");
+
+ char* payloads[] = {"msg1", "msg2", "msg3", "msg4", "msg5", "msg6"};
+ int types[] = {1, 1, 2, 2, 3, 3}; /* each must be > 0 */
+ int i;
+ for (i = 0; i < MsgCount; i++) {
+ /* build the message */
+ queuedMessage msg;
+ msg.type = types[i];
+ strcpy(msg.payload, payloads[i]);
+
+ /* send the message */
+ msgsnd(qid, &msg, sizeof(msg), IPC_NOWAIT); /* don't block */
+ printf("%s sent as type %i\n", msg.payload, (int) msg.type);
+ }
+ return 0;
+}
+```
+
+上面的 `sender` 程序将发送出 6 个消息,每两个为一个类型:前两个是类型 1,接着的连个是类型 2,最后的两个为类型 3。发送的语句:
+
+```c
+msgsnd(qid, &msg, sizeof(msg), IPC_NOWAIT);
+```
+
+被配置为非阻塞的(`IPC_NOWAIT` 标志),是因为这里的消息体量上都很小。唯一的危险在于一个完整的序列将可能导致发送失败,而这个例子不会。下面的 `receiver` 程序也将使用 `IPC_NOWAIT` 标志来接收消息。
+
+#### 示例 6. receiver 程序
+
+```c
+#include
+#include
+#include
+#include
+#include "queue.h"
+
+void report_and_exit(const char* msg) {
+ perror(msg);
+ exit(-1); /* EXIT_FAILURE */
+}
+
+int main() {
+ key_t key= ftok(PathName, ProjectId); /* key to identify the queue */
+ if (key < 0) report_and_exit("key not gotten...");
+
+ int qid = msgget(key, 0666 | IPC_CREAT); /* access if created already */
+ if (qid < 0) report_and_exit("no access to queue...");
+
+ int types[] = {3, 1, 2, 1, 3, 2}; /* different than in sender */
+ int i;
+ for (i = 0; i < MsgCount; i++) {
+ queuedMessage msg; /* defined in queue.h */
+ if (msgrcv(qid, &msg, sizeof(msg), types[i], MSG_NOERROR | IPC_NOWAIT) < 0)
+ puts("msgrcv trouble...");
+ printf("%s received as type %i\n", msg.payload, (int) msg.type);
+ }
+
+ /** remove the queue **/
+ if (msgctl(qid, IPC_RMID, NULL) < 0) /* NULL = 'no flags' */
+ report_and_exit("trouble removing queue...");
+
+ return 0;
+}
+```
+
+这个 `receiver` 程序不会创建消息队列,尽管 API 尽管建议那样。在 `receiver` 中,对
+
+```c
+int qid = msgget(key, 0666 | IPC_CREAT);
+```
+
+的调用可能因为带有 `IPC_CREAT` 标志而具有误导性,但是这个标志的真实意义是*如果需要就创建,否则直接获取*。`sender` 程序调用 `msgsnd` 来发送消息,而 `receiver` 调用 `msgrcv` 来接收它们。在这个例子中,`sender` 以 1-1-2-2-3-3 的次序发送消息,但 `receiver` 接收它们的次序为 3-1-2-1-3-2,这显示消息队列没有被严格的 FIFO 行为所拘泥:
+
+```shell
+% ./sender
+msg1 sent as type 1
+msg2 sent as type 1
+msg3 sent as type 2
+msg4 sent as type 2
+msg5 sent as type 3
+msg6 sent as type 3
+
+% ./receiver
+msg5 received as type 3
+msg1 received as type 1
+msg3 received as type 2
+msg2 received as type 1
+msg6 received as type 3
+msg4 received as type 2
+```
+
+上面的输出显示 `sender` 和 `receiver` 可以在同一个终端中启动。输出也显示消息队列是持久的,即便 `sender` 进程在完成创建队列、向队列写数据、然后退出的整个过程后,该队列仍然存在。只有在 `receiver` 进程显式地调用 `msgctl` 来移除该队列,这个队列才会消失:
+
+```c
+if (msgctl(qid, IPC_RMID, NULL) < 0) /* remove queue */
+```
+
+### 总结
+
+管道和消息队列的 API 在根本上来说都是单向的:一个进程写,然后另一个进程读。当然还存在双向命名管道的实现,但我认为这个 IPC 机制在它最为简单的时候反而是最佳的。正如前面提到的那样,消息队列已经不大受欢迎了,尽管没有找到什么特别好的原因来解释这个现象;而队列仍然是 IPC 工具箱中的一个工具。这个快速的 IPC 工具箱之旅将以第 3 部分(通过套接字和信号来示例 IPC)来终结。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/interprocess-communication-linux-channels
+
+作者:[Marty Kalin][a]
+选题:[lujun9972][b]
+译者:[FSSlc](https://github.com/FSSlc)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/mkalindepauledu
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/talk_chat_communication_team.png?itok=CYfZ_gE7 (Chat bubbles)
+[2]: https://en.wikipedia.org/wiki/Inter-process_communication
+[3]: https://linux.cn/article-10826-1.html
+[4]: http://man7.org/linux/man-pages/man2/mq_open.2.html
+[5]: http://man7.org/linux/man-pages/man2/mq_open.2.html#ATTRIBUTES
+[6]: http://www.opengroup.org/onlinepubs/009695399/functions/perror.html
+[7]: http://www.opengroup.org/onlinepubs/009695399/functions/exit.html
+[8]: http://www.opengroup.org/onlinepubs/009695399/functions/strlen.html
+[9]: http://www.opengroup.org/onlinepubs/009695399/functions/rand.html
+[10]: http://www.opengroup.org/onlinepubs/009695399/functions/printf.html
+[11]: http://www.opengroup.org/onlinepubs/009695399/functions/strcpy.html
+[12]: http://www.opengroup.org/onlinepubs/009695399/functions/puts.html
diff --git a/published/201905/20190419 Building scalable social media sentiment analysis services in Python.md b/published/201905/20190419 Building scalable social media sentiment analysis services in Python.md
new file mode 100644
index 0000000000..dd2dadd739
--- /dev/null
+++ b/published/201905/20190419 Building scalable social media sentiment analysis services in Python.md
@@ -0,0 +1,303 @@
+[#]: collector: (lujun9972)
+[#]: translator: (MjSeven)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10867-1.html)
+[#]: subject: (Building scalable social media sentiment analysis services in Python)
+[#]: via: (https://opensource.com/article/19/4/social-media-sentiment-analysis-python-scalable)
+[#]: author: (Michael McCune https://opensource.com/users/elmiko/users/jschlessman)
+
+使用 Python 构建可扩展的社交媒体情感分析服务
+======
+
+> 学习如何使用 spaCy、vaderSentiment、Flask 和 Python 来为你的作品添加情感分析能力。
+
+
+
+本系列的[第一部分][2]提供了情感分析工作原理的一些背景知识,现在让我们研究如何将这些功能添加到你的设计中。
+
+### 探索 Python 库 spaCy 和 vaderSentiment
+
+#### 前提条件
+
+ * 一个终端 shell
+ * shell 中的 Python 语言二进制文件(3.4+ 版本)
+ * 用于安装 Python 包的 `pip` 命令
+ * (可选)一个 [Python 虚拟环境][3]使你的工作与系统隔离开来
+
+#### 配置环境
+
+在开始编写代码之前,你需要安装 [spaCy][4] 和 [vaderSentiment][5] 包来设置 Python 环境,同时下载一个语言模型来帮助你分析。幸运的是,大部分操作都容易在命令行中完成。
+
+在 shell 中,输入以下命令来安装 spaCy 和 vaderSentiment 包:
+
+```
+pip install spacy vaderSentiment
+```
+
+命令安装完成后,安装 spaCy 可用于文本分析的语言模型。以下命令将使用 spaCy 模块下载并安装英语[模型][6]:
+
+```
+python -m spacy download en_core_web_sm
+```
+
+安装了这些库和模型之后,就可以开始编码了。
+
+#### 一个简单的文本分析
+
+使用 [Python 解释器交互模式][7] 编写一些代码来分析单个文本片段。首先启动 Python 环境:
+
+```
+$ python
+Python 3.6.8 (default, Jan 31 2019, 09:38:34)
+[GCC 8.2.1 20181215 (Red Hat 8.2.1-6)] on linux
+Type "help", "copyright", "credits" or "license" for more information.
+>>>
+```
+
+*(你的 Python 解释器版本打印可能与此不同。)*
+
+1、导入所需模块:
+
+```
+>>> import spacy
+>>> from vaderSentiment import vaderSentiment
+```
+
+2、从 spaCy 加载英语语言模型:
+
+```
+>>> english = spacy.load("en_core_web_sm")
+```
+
+3、处理一段文本。本例展示了一个非常简单的句子,我们希望它能给我们带来些许积极的情感:
+
+```
+>>> result = english("I like to eat applesauce with sugar and cinnamon.")
+```
+
+4、从处理后的结果中收集句子。SpaCy 已识别并处理短语中的实体,这一步为每个句子生成情感(即时在本例中只有一个句子):
+
+```
+>>> sentences = [str(s) for s in result.sents]
+```
+
+5、使用 vaderSentiments 创建一个分析器:
+
+```
+>>> analyzer = vaderSentiment.SentimentIntensityAnalyzer()
+```
+
+6、对句子进行情感分析:
+
+```
+>>> sentiment = [analyzer.polarity_scores(str(s)) for s in sentences]
+```
+
+`sentiment` 变量现在包含例句的极性分数。打印出这个值,看看它是如何分析这个句子的。
+
+```
+>>> print(sentiment)
+[{'neg': 0.0, 'neu': 0.737, 'pos': 0.263, 'compound': 0.3612}]
+```
+
+这个结构是什么意思?
+
+表面上,这是一个只有一个字典对象的数组。如果有多个句子,那么每个句子都会对应一个字典对象。字典中有四个键对应不同类型的情感。`neg` 键表示负面情感,因为在本例中没有报告任何负面情感,`0.0` 值证明了这一点。`neu` 键表示中性情感,它的得分相当高,为 `0.737`(最高为 `1.0`)。`pos` 键代表积极情感,得分适中,为 `0.263`。最后,`cmpound` 键代表文本的总体得分,它可以从负数到正数,`0.3612` 表示积极方面的情感多一点。
+
+要查看这些值可能如何变化,你可以使用已输入的代码做一个小实验。以下代码块显示了如何对类似句子的情感评分的评估。
+
+```
+>>> result = english("I love applesauce!")
+>>> sentences = [str(s) for s in result.sents]
+>>> sentiment = [analyzer.polarity_scores(str(s)) for s in sentences]
+>>> print(sentiment)
+[{'neg': 0.0, 'neu': 0.182, 'pos': 0.818, 'compound': 0.6696}]
+```
+
+你可以看到,通过将例句改为非常积极的句子,`sentiment` 的值发生了巨大变化。
+
+### 建立一个情感分析服务
+
+现在你已经为情感分析组装了基本的代码块,让我们将这些东西转化为一个简单的服务。
+
+在这个演示中,你将使用 Python [Flask 包][9] 创建一个 [RESTful][8] HTTP 服务器。此服务将接受英文文本数据并返回情感分析结果。请注意,此示例服务是用于学习所涉及的技术,而不是用于投入生产的东西。
+
+#### 前提条件
+
+ * 一个终端 shell
+ * shell 中的 Python 语言二进制文件(3.4+ 版本)
+ * 安装 Python 包的 `pip` 命令
+ * `curl` 命令
+ * 一个文本编辑器
+ * (可选) 一个 [Python 虚拟环境][3]使你的工作与系统隔离开来
+
+#### 配置环境
+
+这个环境几乎与上一节中的环境相同,唯一的区别是在 Python 环境中添加了 Flask 包。
+
+1、安装所需依赖项:
+
+```
+pip install spacy vaderSentiment flask
+```
+
+2、安装 spaCy 的英语语言模型:
+
+```
+python -m spacy download en_core_web_sm
+```
+
+#### 创建应用程序文件
+
+打开编辑器,创建一个名为 `app.py` 的文件。添加以下内容 *(不用担心,我们将解释每一行)*:
+
+
+```
+import flask
+import spacy
+import vaderSentiment.vaderSentiment as vader
+
+app = flask.Flask(__name__)
+analyzer = vader.SentimentIntensityAnalyzer()
+english = spacy.load("en_core_web_sm")
+
+def get_sentiments(text):
+ result = english(text)
+ sentences = [str(sent) for sent in result.sents]
+ sentiments = [analyzer.polarity_scores(str(s)) for s in sentences]
+ return sentiments
+
+@app.route("/", methods=["POST", "GET"])
+def index():
+ if flask.request.method == "GET":
+ return "To access this service send a POST request to this URL with" \
+ " the text you want analyzed in the body."
+ body = flask.request.data.decode("utf-8")
+ sentiments = get_sentiments(body)
+ return flask.json.dumps(sentiments)
+```
+
+虽然这个源文件不是很大,但它非常密集。让我们来看看这个应用程序的各个部分,并解释它们在做什么。
+
+```
+import flask
+import spacy
+import vaderSentiment.vaderSentiment as vader
+```
+
+前三行引入了执行语言分析和 HTTP 框架所需的包。
+
+```
+app = flask.Flask(__name__)
+analyzer = vader.SentimentIntensityAnalyzer()
+english = spacy.load("en_core_web_sm")
+```
+
+接下来的三行代码创建了一些全局变量。第一个变量 `app`,它是 Flask 用于创建 HTTP 路由的主要入口点。第二个变量 `analyzer` 与上一个示例中使用的类型相同,它将用于生成情感分数。最后一个变量 `english` 也与上一个示例中使用的类型相同,它将用于注释和标记初始文本输入。
+
+你可能想知道为什么全局声明这些变量。对于 `app` 变量,这是许多 Flask 应用程序的标准过程。但是,对于 `analyzer` 和 `english` 变量,将它们设置为全局变量的决定是基于与所涉及的类关联的加载时间。虽然加载时间可能看起来很短,但是当它在 HTTP 服务器的上下文中运行时,这些延迟会对性能产生负面影响。
+
+```
+def get_sentiments(text):
+ result = english(text)
+ sentences = [str(sent) for sent in result.sents]
+ sentiments = [analyzer.polarity_scores(str(s)) for s in sentences]
+ return sentiments
+```
+
+这部分是服务的核心 —— 一个用于从一串文本生成情感值的函数。你可以看到此函数中的操作对应于你之前在 Python 解释器中运行的命令。这里它们被封装在一个函数定义中,`text` 源作为文本变量传入,最后 `sentiments` 变量返回给调用者。
+
+```
+@app.route("/", methods=["POST", "GET"])
+def index():
+ if flask.request.method == "GET":
+ return "To access this service send a POST request to this URL with" \
+ " the text you want analyzed in the body."
+ body = flask.request.data.decode("utf-8")
+ sentiments = get_sentiments(body)
+ return flask.json.dumps(sentiments)
+```
+
+源文件的最后一个函数包含了指导 Flask 如何为服务配置 HTTP 服务器的逻辑。它从一行开始,该行将 HTTP 路由 `/` 与请求方法 `POST` 和 `GET` 相关联。
+
+在函数定义行之后,`if` 子句将检测请求方法是否为 `GET`。如果用户向服务发送此请求,那么下面的行将返回一条指示如何访问服务器的文本消息。这主要是为了方便最终用户。
+
+下一行使用 `flask.request` 对象来获取请求的主体,该主体应包含要处理的文本字符串。`decode` 函数将字节数组转换为可用的格式化字符串。经过解码的文本消息被传递给 `get_sentiments` 函数以生成情感分数。最后,分数通过 HTTP 框架返回给用户。
+
+你现在应该保存文件,如果尚未保存,那么返回 shell。
+
+#### 运行情感服务
+
+一切就绪后,使用 Flask 的内置调试服务器运行服务非常简单。要启动该服务,请从与源文件相同的目录中输入以下命令:
+
+```
+FLASK_APP=app.py flask run
+```
+
+现在,你将在 shell 中看到来自服务器的一些输出,并且服务器将处于运行状态。要测试服务器是否正在运行,你需要打开第二个 shell 并使用 `curl` 命令。
+
+首先,输入以下命令检查是否打印了指令信息:
+
+```
+curl http://localhost:5000
+```
+
+你应该看到说明消息:
+
+```
+To access this service send a POST request to this URI with the text you want analyzed in the body.
+```
+
+接下来,运行以下命令发送测试消息,查看情感分析:
+
+```
+curl http://localhost:5000 --header "Content-Type: application/json" --data "I love applesauce!"
+```
+
+你从服务器获得的响应应类似于以下内容:
+
+```
+[{"compound": 0.6696, "neg": 0.0, "neu": 0.182, "pos": 0.818}]
+```
+
+恭喜!你现在已经实现了一个 RESTful HTTP 情感分析服务。你可以在 [GitHub 上找到此服务的参考实现和本文中的所有代码][10]。
+
+### 继续探索
+
+现在你已经了解了自然语言处理和情感分析背后的原理和机制,下面是进一步发现探索该主题的一些方法。
+
+#### 在 OpenShift 上创建流式情感分析器
+
+虽然创建本地应用程序来研究情绪分析很方便,但是接下来需要能够部署应用程序以实现更广泛的用途。按照[Radnaalytics.io][11] 提供的指导和代码进行操作,你将学习如何创建一个情感分析仪,可以容器化并部署到 Kubernetes 平台。你还将了解如何将 Apache Kafka 用作事件驱动消息传递的框架,以及如何将 Apache Spark 用作情绪分析的分布式计算平台。
+
+#### 使用 Twitter API 发现实时数据
+
+虽然 [Radanalytics.io][12] 实验室可以生成合成推文流,但你可以不受限于合成数据。事实上,拥有 Twitter 账户的任何人都可以使用 [Tweepy Python][13] 包访问 Twitter 流媒体 API 对推文进行情感分析。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/social-media-sentiment-analysis-python-scalable
+
+作者:[Michael McCune][a]
+选题:[lujun9972][b]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/elmiko/users/jschlessman
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/windows_building_sky_scale.jpg?itok=mH6CAX29 (Tall building with windows)
+[2]: https://linux.cn/article-10852-1.html
+[3]: https://virtualenv.pypa.io/en/stable/
+[4]: https://pypi.org/project/spacy/
+[5]: https://pypi.org/project/vaderSentiment/
+[6]: https://spacy.io/models
+[7]: https://docs.python.org/3.6/tutorial/interpreter.html
+[8]: https://en.wikipedia.org/wiki/Representational_state_transfer
+[9]: http://flask.pocoo.org/
+[10]: https://github.com/elmiko/social-moments-service
+[11]: https://github.com/radanalyticsio/streaming-lab
+[12]: http://Radanalytics.io
+[13]: https://github.com/tweepy/tweepy
diff --git a/published/201905/20190419 Getting started with social media sentiment analysis in Python.md b/published/201905/20190419 Getting started with social media sentiment analysis in Python.md
new file mode 100644
index 0000000000..b9abec9325
--- /dev/null
+++ b/published/201905/20190419 Getting started with social media sentiment analysis in Python.md
@@ -0,0 +1,116 @@
+[#]: collector: (lujun9972)
+[#]: translator: (MjSeven)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10852-1.html)
+[#]: subject: (Getting started with social media sentiment analysis in Python)
+[#]: via: (https://opensource.com/article/19/4/social-media-sentiment-analysis-python)
+[#]: author: (Michael McCune https://opensource.com/users/elmiko/users/jschlessman)
+
+使用 Python 进行社交媒体情感分析入门
+======
+
+> 学习自然语言处理的基础知识并探索两个有用的 Python 包。
+
+
+
+自然语言处理(NLP)是机器学习的一种,它解决了口语或书面语言和计算机辅助分析这些语言之间的相关性。日常生活中我们经历了无数的 NLP 创新,从写作帮助和建议到实时语音翻译,还有口译。
+
+本文研究了 NLP 的一个特定领域:情感分析。重点是确定输入语言的积极、消极或中性性质。本部分将解释 NLP 和情感分析的背景,并探讨两个开源的 Python 包。[第 2 部分][2]将演示如何开始构建自己的可扩展情感分析服务。
+
+在学习情感分析时,对 NLP 有一个大体了解是有帮助的。本文不会深入研究数学本质。相反,我们的目标是阐明 NLP 中的关键概念,这些概念对于将这些方法实际结合到你的解决方案中至关重要。
+
+### 自然语言和文本数据
+
+合理的起点是从定义开始:“什么是自然语言?”它是我们人类相互交流的方式,沟通的主要方式是口语和文字。我们可以更进一步,只关注文本交流。毕竟,生活在 Siri、Alexa 等无处不在的时代,我们知道语音是一组与文本无关的计算。
+
+### 数据前景和挑战
+
+我们只考虑使用文本数据,我们可以对语言和文本做什么呢?首先是语言,特别是英语,除了规则还有很多例外,含义的多样性和语境差异,这些都可能使人类口译员感到困惑,更不用说计算机翻译了。在小学,我们学习文章和标点符号,通过讲母语,我们获得了寻找直觉上表示唯一意义的词的能力。比如,出现诸如 “a”、“the” 和 “or” 之类的文章,它们在 NLP 中被称为*停止词*,因为传统上 NLP 算法是在一个序列中找到这些词时意味着搜索停止。
+
+由于我们的目标是自动将文本分类为情感类,因此我们需要一种以计算方式处理文本数据的方法。因此,我们必须考虑如何向机器表示文本数据。众所周知,利用和解释语言的规则很复杂,输入文本的大小和结构可能会有很大差异。我们需要将文本数据转换为数字数据,这是机器和数学的首选方式。这种转变属于*特征提取*的范畴。
+
+在提取输入文本数据的数字表示形式后,一个改进可能是:给定一个文本输入体,为上面列出的文章确定一组向量统计数据,并根据这些数据对文档进行分类。例如,过多的副词可能会使撰稿人感到愤怒,或者过度使用停止词可能有助于识别带有内容填充的学期论文。诚然,这可能与我们情感分析的目标没有太大关系。
+
+### 词袋
+
+当你评估一个文本陈述是积极还是消极的时候,你使用哪些上下文来评估它的极性?(例如,文本中是否具有积极的、消极的或中性的情感)一种方式是隐含形容词:被称为 “disgusting”(恶心) 的东西被认为是消极的,但如果同样的东西被称为 “beautiful”(漂亮),你会认为它是积极的。从定义上讲,俗语给人一种熟悉感,通常是积极的,而脏话可能是敌意的表现。文本数据也可以包括表情符号,它带有固定的情感。
+
+理解单个单词的极性影响为文本的[词袋][3](BoW)模型提供了基础。它分析一组单词或词汇表,并提取关于这些单词在输入文本中是否存在的度量。词汇表是通过处理已知极性的文本形成称为*标记的训练数据*。从这组标记数据中提取特征,然后分析特征之间的关系,并将标记与数据关联起来。
+
+“词袋”这个名称说明了它的用途:即不考虑空间位置或上下文的的单个词。词汇表通常是由训练集中出现的所有单词构建的,训练后往往会被修剪。如果在训练之前没有清理停止词,那么停止词会因为其高频率和低语境而被移除。很少使用的单词也可以删除,因为缺乏为一般输入实例提供的信息。
+
+但是,重要的是要注意,你可以(并且应该)进一步考虑单词在单个训练数据实例之外的情形,这称为[词频][4](TF)。你还应该考虑输入数据在所有训练实例中的单词计数,通常,出现在所有文档中的低频词更重要,这被称为[逆文本频率指数][5](IDF)。这些指标一定会在本主题系列的其他文章和软件包中提及,因此了解它们会有所帮助。
+
+词袋在许多文档分类应用程序中很有用。然而,在情感分析中,当缺乏情境意识的问题被利用时,事情就可以解决。考虑以下句子:
+
+ * 我们不喜欢这场战争。
+ * 我讨厌下雨天,好事是今天是晴天。
+ * 这不是生死攸关的问题。
+
+这些短语的情感对于人类口译员来说是有难度的,而且通过严格关注单个词汇的实例,对于机器翻译来说也是困难的。
+
+在 NLP 中也可以使用称为 “n-grams” 的单词分组。一个二元组考虑两个相邻单词组成的组而不是(或除了)单个词袋。这应该可以缓解诸如上述“不喜欢”之类的情况,但由于缺乏语境意思,它仍然是个问题。此外,在上面的第二句中,下半句的情感语境可以被理解为否定前半部分。因此,这种方法中也会丢失上下文线索的空间局部性。从实用角度来看,使问题复杂化的是从给定输入文本中提取的特征的稀疏性。对于一个完整的大型词汇表,每个单词都有一个计数,可以将其视为一个整数向量。大多数文档的向量中都有大量的零计数向量,这给操作增加了不必要的空间和时间复杂度。虽然已经提出了许多用于降低这种复杂性的简便方法,但它仍然是一个问题。
+
+### 词嵌入
+
+词嵌入是一种分布式表示,它允许具有相似含义的单词具有相似的表示。这是基于使用实值向量来与它们周围相关联。重点在于使用单词的方式,而不仅仅是它们的存在与否。此外,词嵌入的一个巨大实用优势是它们关注于密集向量。通过摆脱具有相应数量的零值向量元素的单词计数模型,词嵌入在时间和存储方面提供了一个更有效的计算范例。
+
+以下是两个优秀的词嵌入方法。
+
+#### Word2vec
+
+第一个是 [Word2vec][6],它是由 Google 开发的。随着你对 NLP 和情绪分析研究的深入,你可能会看到这种嵌入方法。它要么使用一个连续的词袋(CBOW),要么使用一个连续 skip-gram 模型。在 CBOW 中,一个单词的上下文是在训练中根据围绕它的单词来学习的。连续 skip-gram 学习倾向于围绕给定的单词学习单词。虽然这可能超出了你需要解决的问题,但是如果你曾经面对必须生成自己的词嵌入情况,那么 Word2vec 的作者就提倡使用 CBOW 方法来提高速度并评估频繁的单词,而 skip-gram 方法更适合嵌入稀有单词更重要的嵌入。
+
+#### GloVe
+
+第二个是[用于词表示的全局向量][7](GloVe),它是斯坦福大学开发的。它是 Word2vec 方法的扩展,试图通过将经典的全局文本统计特征提取获得的信息与 Word2vec 确定的本地上下文信息相结合。实际上,在一些应用程序中,GloVe 性能优于 Word2vec,而在另一些应用程序中则不如 Word2vec。最终,用于词嵌入的目标数据集将决定哪种方法最优。因此,最好了解它们的存在性和高级机制,因为你很可能会遇到它们。
+
+#### 创建和使用词嵌入
+
+最后,知道如何获得词嵌入是有用的。在第 2 部分中,你将看到我们通过利用社区中其他人的实质性工作,站到了巨人的肩膀上。这是获取词嵌入的一种方法:即使用现有的经过训练和验证的模型。实际上,有无数的模型适用于英语和其他语言,一定会有一种模型可以满足你的应用程序,让你开箱即用!
+
+如果没有的话,就开发工作而言,另一个极端是培训你自己的独立模型,而不考虑你的应用程序。实质上,你将获得大量标记的训练数据,并可能使用上述方法之一来训练模型。即使这样,你仍然只是在理解你输入文本数据。然后,你需要为你应用程序开发一个特定的模型(例如,分析软件版本控制消息中的情感价值),这反过来又需要自己的时间和精力。
+
+你还可以对针对你的应用程序的数据训练一个词嵌入,虽然这可以减少时间和精力,但这个词嵌入将是特定于应用程序的,这将会降低它的可重用性。
+
+### 可用的工具选项
+
+考虑到所需的大量时间和计算能力,你可能想知道如何才能找到解决问题的方法。的确,开发可靠模型的复杂性可能令人望而生畏。但是,有一个好消息:已经有许多经过验证的模型、工具和软件库可以为我们提供所需的大部分内容。我们将重点关注 [Python][8],因为它为这些应用程序提供了大量方便的工具。
+
+#### SpaCy
+
+[SpaCy][9] 提供了许多用于解析输入文本数据和提取特征的语言模型。它经过了高度优化,并被誉为同类中最快的库。最棒的是,它是开源的!SpaCy 会执行标识化、词性分类和依赖项注释。它包含了用于执行此功能的词嵌入模型,还有用于为超过 46 种语言的其他特征提取操作。在本系列的第二篇文章中,你将看到它如何用于文本分析和特征提取。
+
+#### vaderSentiment
+
+[vaderSentiment][10] 包提供了积极、消极和中性情绪的衡量标准。正如 [原论文][11] 的标题(《VADER:一个基于规则的社交媒体文本情感分析模型》)所示,这些模型是专门为社交媒体文本数据开发和调整的。VADER 接受了一组完整的人类标记过的数据的训练,包括常见的表情符号、UTF-8 编码的表情符号以及口语术语和缩写(例如 meh、lol、sux)。
+
+对于给定的输入文本数据,vaderSentiment 返回一个极性分数百分比的三元组。它还提供了一个单个的评分标准,称为 *vaderSentiment 复合指标*。这是一个在 `[-1, 1]` 范围内的实值,其中对于分值大于 `0.05` 的情绪被认为是积极的,对于分值小于 `-0.05` 的被认为是消极的,否则为中性。
+
+在[第 2 部分][2]中,你将学习如何使用这些工具为你的设计添加情感分析功能。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/social-media-sentiment-analysis-python
+
+作者:[Michael McCune][a]
+选题:[lujun9972][b]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/elmiko/users/jschlessman
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/getting_started_with_python.png?itok=MFEKm3gl (Raspberry Pi and Python)
+[2]: https://opensource.com/article/19/4/social-media-sentiment-analysis-python-part-2
+[3]: https://en.wikipedia.org/wiki/Bag-of-words_model
+[4]: https://en.wikipedia.org/wiki/Tf%E2%80%93idf#Term_frequency
+[5]: https://en.wikipedia.org/wiki/Tf%E2%80%93idf#Inverse_document_frequency
+[6]: https://en.wikipedia.org/wiki/Word2vec
+[7]: https://en.wikipedia.org/wiki/GloVe_(machine_learning)
+[8]: https://www.python.org/
+[9]: https://pypi.org/project/spacy/
+[10]: https://pypi.org/project/vaderSentiment/
+[11]: http://comp.social.gatech.edu/papers/icwsm14.vader.hutto.pdf
diff --git a/published/201905/20190419 This is how System76 does open hardware.md b/published/201905/20190419 This is how System76 does open hardware.md
new file mode 100644
index 0000000000..27887b1486
--- /dev/null
+++ b/published/201905/20190419 This is how System76 does open hardware.md
@@ -0,0 +1,82 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10808-1.html)
+[#]: subject: (This is how System76 does open hardware)
+[#]: via: (https://opensource.com/article/19/4/system76-hardware)
+[#]: author: (Don Watkins https://opensource.com/users/don-watkins)
+
+System76 是如何打造开源硬件的
+================================
+
+> 是什么让新的 Thelio 台式机系列与众不同。
+
+![在计算机上显示度量和数据][1]
+
+大多数人对他们电脑的硬件一无所知。作为一个长期的 Linux 用户,当我想让我的无线网卡、视频卡、显示器和其他硬件与我选择的发行版共同运行时,也一样遇到了挫折。商业品牌的硬件通常使判断这些问题变得很困难:为什么以太网驱动、无线驱动或者鼠标驱动和我们预期的不太一样?随着 Linux 发行版变得成熟,这可能不再是问题,但是我们仍能发现触控板和其它外部设备的怪异行为,尤其是当我们对底层的硬件知道的不多时。
+
+像 [System76][2] 这样的公司致力于解决这些问题,以提升 Linux 用户体验。System76 生产了一系列的 Linux 笔记本、台式机和服务器,甚至提供了它自己的 Linux 发行版 [Pop! OS][3] 作为客户的一个选择。最近我有幸参观了 System76 在 Devnver 的工厂并揭开它的新台式机产品线 [Thelio][5] [的神秘面纱][5]。
+
+### 关于 Thelio
+
+System76 宣称 Thelio 的开源硬件子板(被命名为木星之后的第 5 个卫星的名字 Thelio Io)是它在市场上独特的特点之一。Thelio Io 取得了开源硬件协会的认证 [OSHWA #us000145][6],并且有 4 个用于存储的 SATA 端口和一个控制风扇和用于电源按钮控制的嵌入式控制器。Thelio IO SAS 取得了 [OSHWA #us000146][7] 认证,并且有 4 个用于存储的 U.2 端口,没有嵌入式控制器。在展示时,System76 显示了这些组件如何调整风扇通过底盘来优化部件的性能。
+
+该控制器还管理电源键,和围绕该电源键的 LED 光环,当被按下时它以 100% 的亮度发光。这提供了触觉和视觉上的确认:该主机已经启动电源了。当电脑在使用中,该按钮被设置为 35% 的亮度,当在睡眠模式,它的亮度在 2.35% 和 25% 之间跳动。当计算机关闭后,LED 保持朦胧的亮度,因此能够在黑暗的房间里找到电源控制。
+
+Thelio 的嵌入式控制器是一个低功耗的 [ATmega32U4][8] 微控制器,并且控制器的设置可以使用 Arduino Micro 进行原型设计。Thelio Io 主板变化的多少取决于你购买哪种 Thelio 型号。
+
+Thelio 可能是我见过的设计的最好的电脑机箱和系统。如果你曾经亲身体验过在一个常规的 PC 的内部进行操作的话,你可能会同意我的观点。我已经做了很多次了,因此我能以自己过往的糟糕经历来证明这点。
+
+### 为什么做开源硬件?
+
+该主板是在 [KiCAD][9] 设计的,你可以在 [GitHub][10] 上按 GPL 许可证访问 Thelio 所有的设计文件。因此,为什么一个与其他 PC 制造商竞争的公司会设计一个独特的接口并公开授权呢?可能是该公司认识到开源设计及根据你的需要调整和分享一个 I/O 主板设计的能力的价值,即便你是市场上的竞争者。
+
+![在 Thelio 启动时 Don Watkins 与 System76 的 CEO Carl Richell 谈话][11]
+
+*在 [Thelio 发布会][12] Don Watkins 与 System76 的 CEO Carl Richell 谈话。*
+
+我问 System76 的设计者和 CEO [Carl Richell][13],该公司是否担心过公开许可它的硬件设计意味着有人可以采取它的独特设计并用它来将 System76 驱逐出市场。他说:
+
+> 开源硬件对我们所有人都有益。这是我们未来提升技术的方式,并且使得每个人获取技术更容易。我们欢迎任何想要提高 Thelio 设计的人来这么做。开源该硬件不仅可以帮助我们更快的改进我们的电脑,并且能够使我们的消费者 100% 信任他们的设备。我们的目标是尽可能地移除专利功能,同时仍然能够为消费者提供一个有竞争力的 Linux 主机。
+>
+> 我们已经与 Linux 社区一起合作了 13 年之久,来为我们的笔记本、台式机、服务器创造一个完美顺滑的体验。我们长期专注于为 Linux 社区提供服务,提供给我们的客户高水准的服务,我们的个性使 System76 变得独特。
+
+我还问 Carl 为什么开源硬件对 System76 和 PC 市场是有意义的。他回复道:
+
+> System76 创立之初的想法是技术应该对每个人是开放和可获取的。我们还没有到达 100% 开源创造一个电脑的程度,但是有了开源硬件,我们迈出了接近目标的必不可少的一大步。
+>
+> 我们生活在技术变成工具的时代。计算机在各级教育和很多行业当中是人们的工具。由于每个人特定的需要,每个人对于如何提升电脑和软件作为他们的主要工具有他们自己的想法。开源我们的计算机可以让这些想法成为现实,从而反过来促进技术成为一个更强大的工具。在一个开源环境中,我们持续迭代来生产更好的 PC。这有点酷。
+
+我们总结了我们讨论的关于 System76 技术路线的对话,包含了开源硬件 mini PC,甚至是笔记本。在 System76 品牌下的已售出的 mini PC 和笔记本是由其他供应商制造的,并不是基于开源硬件的(尽管它们用的是 Linux 软件,是开源的)。
+
+设计和支持开放式硬件是 PC 产业中的变革者,也正是它造就了 System76 的新 Thelio 台式机电脑产品线的不同。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/system76-hardware
+
+作者:[Don Watkins][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/don-watkins
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/metrics_data_dashboard_system_computer_analytics.png?itok=oxAeIEI- (metrics and data shown on a computer screen)
+[2]: https://system76.com/
+[3]: https://opensource.com/article/18/1/behind-scenes-popos-linux
+[4]: /article/18/11/system76-thelio-desktop-computer
+[5]: https://system76.com/desktops
+[6]: https://certification.oshwa.org/us000145.html
+[7]: https://certification.oshwa.org/us000146.html
+[8]: https://www.microchip.com/wwwproducts/ATmega32u4
+[9]: http://kicad-pcb.org/
+[10]: https://github.com/system76/thelio-io
+[11]: https://opensource.com/sites/default/files/uploads/don_system76_ceo.jpg (Don Watkins speaks with System76 CEO Carl Richell at the Thelio launch event.)
+[12]: https://trevgstudios.smugmug.com/System76/121418-Thelio-Press-Event/i-FKWFxFv
+[13]: https://www.linkedin.com/in/carl-richell-9435781
+
+
diff --git a/published/201905/20190422 2 new apps for music tweakers on Fedora Workstation.md b/published/201905/20190422 2 new apps for music tweakers on Fedora Workstation.md
new file mode 100644
index 0000000000..00ccf16a53
--- /dev/null
+++ b/published/201905/20190422 2 new apps for music tweakers on Fedora Workstation.md
@@ -0,0 +1,140 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10841-1.html)
+[#]: subject: (2 new apps for music tweakers on Fedora Workstation)
+[#]: via: (https://fedoramagazine.org/2-new-apps-for-music-tweakers-on-fedora-workstation/)
+[#]: author: (Justin W. Flory https://fedoramagazine.org/author/jflory7/)
+
+2 个给使用 Fedora 工作站的音乐爱好者的新应用
+======
+
+![][1]
+
+Linux 操作系统非常适合进行独特的自定义和调整,以使你的计算机更好地为你工作。例如,[i3 窗口管理器][2] 就让用户认识到了构成现代 Linux 桌面的各种组件和部分。
+
+Fedora 上有两个音乐爱好者会感兴趣的新软件包:mpris-scrobbler 和 playerctl。mpris-scrobbler 可以在 Last.fm 和/或 ListenBrainz 等音乐跟踪服务上[跟踪你的音乐收听历史][3]。 playerctl 是一个命令行的[音乐播放器的控制器][4]。
+
+### mpris-scrobbler:记录你的音乐收听趋势
+
+mpris-scrobbler 是一个命令行应用程序,用于将音乐的播放历史记录提交给 [Last.fm][5]、[Libre.fm][6] 或 [ListenBrainz][7] 等服务。它监听 [MPRIS D-Bus 接口][8] 以检测正在播放的内容。它可以连接几个不同的音乐客户端,如 spotify 客户端、[vlc][9]、audacious、bmp、[cmus][10] 等。
+
+![Last.fm last week in music report. Generated from user-submitted listening history.][11]
+
+#### 安装和配置 mpris-scrobbler
+
+mpris-scrobbler 在 Fedora 28 或更高版本以及 EPEL 7 存储库中可用。在终端中运行以下命令进行安装:
+
+```
+sudo dnf install mpris-scrobbler
+```
+
+安装完成后,使用 `systemctl` 启动并启用该服务。以下命令启动 mpris-scrobbler 并始终在系统重启后启动它:
+
+```
+systemctl --user enable --now mpris-scrobbler.service
+```
+
+#### 提交播放信息给 ListenBrainz
+
+这里将介绍如何将 mpris-scrobbler 与 ListenBrainz 帐户相关联。要使用 Last.fm 或 Libre.fm,请参阅其[上游文档][12]。
+
+要将播放信息提交到 ListenBrainz 服务器,你需要有一个 ListenBrainz API 令牌。如果你有帐户,请从[个人资料设置页面][13]中获取该令牌。如果有了令牌,请运行此命令以使用 ListenBrainz API 令牌进行身份验证:
+
+```
+$ mpris-scrobbler-signon token listenbrainz
+Token for listenbrainz.org:
+```
+
+最后,通过在 Fedora 上用你的音乐客户端播放一首歌来测试它。你播放的歌曲会出现在 ListenBrainz 个人资料页中。
+
+![Basic statistics and play history from a user profile on ListenBrainz. The current track is playing on a Fedora Workstation laptop with mpris-scrobbler.][14]
+
+### playerctl 可以控制音乐回放
+
+`playerctl` 是一个命令行工具,它可以控制任何实现了 MPRIS D-Bus 接口的音乐播放器。你可以轻松地将其绑定到键盘快捷键或媒体热键上。以下是如何在命令行中安装、使用它,以及为 i3 窗口管理器创建键绑定的方法。
+
+#### 安装和使用 playerctl
+
+`playerctl` 在 Fedora 28 或更高版本中可用。在终端运行如下命令以安装:
+
+```
+sudo dnf install playerctl
+```
+
+现在已安装好,你可以立即使用它。在 Fedora 上打开你的音乐播放器。接下来,尝试用以下命令来控制终端的播放。
+
+播放或暂停当前播放的曲目:
+
+```
+playerctl play-pause
+```
+
+如果你想跳过下一首曲目:
+
+```
+playerctl next
+```
+
+列出所有正在运行的播放器:
+
+```
+playerctl -l
+```
+
+仅使用 spotify 客户端播放或暂停当前播放的内容:
+
+```
+playerctl -p spotify play-pause
+```
+
+#### 在 i3wm 中创建 playerctl 键绑定
+
+你是否使用窗口管理器,比如 [i3 窗口管理器][2]?尝试使用 `playerctl` 进行键绑定。你可以将不同的命令绑定到不同的快捷键,例如键盘上的播放/暂停按钮。参照下面的 [i3wm 配置摘录][15] 看看如何做:
+
+```
+# Media player controls
+bindsym XF86AudioPlay exec "playerctl play-pause"
+bindsym XF86AudioNext exec "playerctl next"
+bindsym XF86AudioPrev exec "playerctl previous"
+```
+
+### 体验一下音乐播放器
+
+想了解关于在 Fedora 上定制音乐聆听体验的更多信息吗?Fedora Magazine 为你提供服务。看看 Fedora 上这[五个很酷的音乐播放器][16]。
+
+也可以通过使用 MusicBrainz Picard 对音乐库进行排序和组织,[为你的混乱的音乐库带来秩序][17]。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/2-new-apps-for-music-tweakers-on-fedora-workstation/
+
+作者:[Justin W. Flory][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/jflory7/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/2-music-tweak-apps-816x345.jpg
+[2]: https://fedoramagazine.org/getting-started-i3-window-manager/
+[3]: https://github.com/mariusor/mpris-scrobbler
+[4]: https://github.com/acrisci/playerctl
+[5]: https://www.last.fm/
+[6]: https://libre.fm/
+[7]: https://listenbrainz.org/
+[8]: https://specifications.freedesktop.org/mpris-spec/latest/
+[9]: https://www.videolan.org/vlc/
+[10]: https://cmus.github.io/
+[11]: https://fedoramagazine.org/wp-content/uploads/2019/02/Screenshot_2019-04-13-jflory7%E2%80%99s-week-in-music2-1024x500.png
+[12]: https://github.com/mariusor/mpris-scrobbler#authenticate-to-the-service
+[13]: https://listenbrainz.org/profile/
+[14]: https://fedoramagazine.org/wp-content/uploads/2019/04/Screenshot_2019-04-13-User-jflory-ListenBrainz.png
+[15]: https://github.com/jwflory/swiss-army/blob/ba6ac0c71855e33e3caa1ee1fe51c05d2df0529d/roles/apps/i3wm/files/config#L207-L210
+[16]: https://fedoramagazine.org/5-cool-music-player-apps/
+[17]: https://fedoramagazine.org/picard-brings-order-music-library/
+[18]: https://unsplash.com/photos/Qrspubmx6kE?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
+[19]: https://unsplash.com/search/photos/music?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/published/201905/20190422 8 environment-friendly open software projects you should know.md b/published/201905/20190422 8 environment-friendly open software projects you should know.md
new file mode 100644
index 0000000000..5233688a65
--- /dev/null
+++ b/published/201905/20190422 8 environment-friendly open software projects you should know.md
@@ -0,0 +1,67 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10814-1.html)
+[#]: subject: (8 environment-friendly open software projects you should know)
+[#]: via: (https://opensource.com/article/19/4/environment-projects)
+[#]: author: (Laura Hilliger https://opensource.com/users/laurahilliger)
+
+8 个你应该了解的环保开源项目
+======
+
+> 通过给这些致力于提升环境的项目做贡献来庆祝地球日。
+
+![][1]
+
+在过去的几年里,我一直在帮助 [Greenpeace][2] 建立其第一个完全开源的软件项目,Planet 4. [Planet 4][3] 是一个全球参与平台,Greenpeace 的支持者和活动家可以互动并参与组织。它的目标是让人们代表我们的星球采取行动。我们希望邀请参与并利用人力来应对气候变化和塑料污染等全球性问题。开发者、设计师、作者、贡献者和其他通过开源支持环保主义的人都非常欢迎[参与进来][4]!
+
+Planet 4 远非唯一关注环境的开源项目。对于地球日,我会分享其他七个关注我们星球的开源项目。
+
+[Eco Hacker Farm][5] 致力于支持可持续社区。它建议并支持将黑客空间/黑客基地和永续农业生活结合在一起的项目。该组织还有在线项目。访问其 [wiki][6] 或 [Twitter][7] 了解有关 Eco Hacker Farm 正在做的更多信息。
+
+[Public Lab][8] 是一个开放社区和非营利组织,它致力于将科学掌握在公民手中。它于 2010 年在 BP 石油灾难后形成,Public Lab 与开源合作,协助环境勘探和调查。它是一个多元化的社区,有很多方法可以做[贡献][9]。
+
+不久前,Opensource.com 的社区管理者 Don Watkins 撰写了一篇 [Open Climate Workbench][10] 的文章,该项目来自 Apache 基金会。 [OCW][11] 提供了进行气候建模和评估的软件,可用于各种应用。
+
+[Open Source Ecology][12] 是一个旨在改善经济运作方式的项目。该项目着眼于环境再生和社会公正,它旨在重新界定我们的一些肮脏的生产和分配技术,以创造一个更可持续的文明。
+
+促进开源和大数据工具之间的合作,以实现海洋、大气、土地和气候的研究,“ [Pangeo][13] 是第一个推广开放、可重复和可扩展科学的社区。”大数据可以改变世界!
+
+[Leaflet][14] 是一个著名的开源 JavaScript 库。它可以做各种各样的事情,包括环保项目,如 [Arctic Web Map][15],它能让科学家准确地可视化和分析北极地区,这是气候研究的关键能力。
+
+当然,没有我在 Mozilla 的朋友就没有这个列表(这不是个完整的列表!)。[Mozilla Science Lab][16] 社区就像所有 Mozilla 项目一样,非常开放,它致力于将开源原则带给科学界。它的项目和社区使科学家能够进行我们世界所需的各种研究,以解决一些最普遍的环境问题。
+
+### 如何贡献
+
+在这个地球日,做为期六个月的承诺,将一些时间贡献给一个有助于应对气候变化的开源项目,或以其他方式鼓励人们保护地球母亲。肯定还有许多关注环境的开源项目,所以请在评论中留言!
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/environment-projects
+
+作者:[Laura Hilliger][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/laurahilliger
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/world_hands_diversity.png?itok=zm4EDxgE
+[2]: http://www.greenpeace.org
+[3]: http://medium.com/planet4
+[4]: https://planet4.greenpeace.org/community/#partners-open-sourcers
+[5]: https://wiki.ecohackerfarm.org/start
+[6]: https://wiki.ecohackerfarm.org/
+[7]: https://twitter.com/EcoHackerFarm
+[8]: https://publiclab.org/
+[9]: https://publiclab.org/contribute
+[10]: https://opensource.com/article/17/1/apache-open-climate-workbench
+[11]: https://climate.apache.org/
+[12]: https://wiki.opensourceecology.org/wiki/Project_needs
+[13]: http://pangeo.io/
+[14]: https://leafletjs.com/
+[15]: https://webmap.arcticconnect.ca/#ac_3573/2/20.8/-65.5
+[16]: https://science.mozilla.org/
diff --git a/published/201905/20190422 Tracking the weather with Python and Prometheus.md b/published/201905/20190422 Tracking the weather with Python and Prometheus.md
new file mode 100644
index 0000000000..82ed567a80
--- /dev/null
+++ b/published/201905/20190422 Tracking the weather with Python and Prometheus.md
@@ -0,0 +1,96 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10807-1.html)
+[#]: subject: (Tracking the weather with Python and Prometheus)
+[#]: via: (https://opensource.com/article/19/4/weather-python-prometheus)
+[#]: author: (Moshe Zadka https://opensource.com/users/moshez)
+
+使用 Python 和 Prometheus 跟踪天气
+======
+
+> 创建自定义 Prometheus 集成以跟踪最大的云端提供商:地球母亲。
+
+![Tree clouds][1]
+
+开源监控系统 [Prometheus][2] 集成了跟踪多种类型的时间序列数据,但如果没有集成你想要的数据,那么很容易构建一个。一个经常使用的例子使用云端提供商的自定义集成,它使用提供商的 API 抓取特定的指标。但是,在这个例子中,我们将与最大云端提供商集成:地球。
+
+幸运的是,美国政府已经测量了天气并为集成提供了一个简单的 API。获取红帽总部下一个小时的天气预报很简单。
+
+```
+import requests
+HOURLY_RED_HAT = ""
+def get_temperature():
+ result = requests.get(HOURLY_RED_HAT)
+ return result.json()["properties"]["periods"][0]["temperature"]
+```
+
+现在我们已经完成了与地球的集成,现在是确保 Prometheus 能够理解我们想要内容的时候了。我们可以使用 [Prometheus Python 库][3]中的 gauge 创建一个注册项:红帽总部的温度。
+
+
+```
+from prometheus_client import CollectorRegistry, Gauge
+def prometheus_temperature(num):
+ registry = CollectorRegistry()
+ g = Gauge("red_hat_temp", "Temperature at Red Hat HQ", registry=registry)
+ g.set(num)
+ return registry
+```
+
+最后,我们需要以某种方式将它连接到 Prometheus。这有点依赖 Prometheus 的网络拓扑:是 Prometheus 与我们的服务通信更容易,还是反向更容易。
+
+第一种是通常建议的情况,如果可能的话,我们需要构建一个公开注册入口的 Web 服务器,并配置 Prometheus 收刮(scrape)它。
+
+我们可以使用 [Pyramid][4] 构建一个简单的 Web 服务器。
+
+```
+from pyramid.config import Configurator
+from pyramid.response import Response
+from prometheus_client import generate_latest, CONTENT_TYPE_LATEST
+def metrics_web(request):
+ registry = prometheus_temperature(get_temperature())
+ return Response(generate_latest(registry),
+ content_type=CONTENT_TYPE_LATEST)
+config = Configurator()
+config.add_route('metrics', '/metrics')
+config.add_view(metrics_web, route_name='metrics')
+app = config.make_wsgi_app()
+```
+
+这可以使用任何 Web 网关接口(WSGI)服务器运行。例如,假设我们将代码放在 `earth.py` 中,我们可以使用 `python -m twisted web --wsgi earth.app` 来运行它。
+
+或者,如果我们的代码连接到 Prometheus 更容易,我们可以定期将其推送到 Prometheus 的[推送网关][5]。
+
+```
+import time
+from prometheus_client import push_to_gateway
+def push_temperature(url):
+ while True:
+ registry = prometheus_temperature(get_temperature())
+ push_to_gateway(url, "temperature collector", registry)
+ time.sleep(60*60)
+```
+
+这里的 URL 是推送网关的 URL。它通常以 `:9091` 结尾。
+
+祝你构建自定义 Prometheus 集成成功,以便跟踪一切!
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/weather-python-prometheus
+
+作者:[Moshe Zadka][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/moshez
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/life_tree_clouds.png?itok=b_ftihhP (Tree clouds)
+[2]: https://prometheus.io/
+[3]: https://github.com/prometheus/client_python
+[4]: https://trypyramid.com/
+[5]: https://github.com/prometheus/pushgateway
diff --git a/published/201905/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md b/published/201905/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md
new file mode 100644
index 0000000000..7f0f184e52
--- /dev/null
+++ b/published/201905/20190423 Four Methods To Check The Default Gateway Or Router IP Address In Linux.md
@@ -0,0 +1,138 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10800-1.html)
+[#]: subject: (Four Methods To Check The Default Gateway Or Router IP Address In Linux?)
+[#]: via: (https://www.2daygeek.com/check-find-default-gateway-or-router-ip-address-in-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+4 种在 Linux 中检查默认网关或者路由器 IP 地址的方法
+==============================================
+
+你应该意识到你的默认网关是你的路由器的 IP 地址。一般这是在安装过程中由操作系统自动检测的,如果没有,你可能需要改变它。如果你的系统不能 ping 自身,那么很可能是一个网关问题,你必须修复它。在网络中,当你有多个网络适配器或路由器时,这种情况可能会发生。
+
+网关是一个扮演着入口点角色的路由器,可以从一个网络传递网络数据到另一个网络。
+
+下面是一些可能帮助你收集到与该话题相似的一些信息。
+
+* [在 Linux 命令行检查你的公网 IP 地址的 9 种方法][1]
+* [如何在 Linux 启用和禁用网卡?][2]
+
+这可以通过下面的四个命令完成。
+
+* `route` 命令:被用来显示和操作 IP 路由表。
+* `ip` 命令:类似于 `ifconfig`,常用于设置静态 IP 地址、路由 & 默认网关,等等。
+* `netstat` 命令:是一个命令行工具,用来显示网络连接相关的信息(包括入站和出站的),例如路由表、伪装连接、多播成员和网络接口。
+* `routel` 命令:被用来以好看的输出格式列出路由。
+
+### 1)在 Linux 中如何使用 route 命令检查默认的网关或者路由 IP 地址?
+
+`route` 命令被用来显示和操作 IP 路由表。
+
+它主要用于通过一个已经配置的接口给特定的主机或者网络设置静态的路由。
+
+当使用 `add` 或者 `del` 选项时,`route` 修改路由表。没有这些选项,`route` 显示路由表的当前内容。
+
+```
+# route
+或
+# route -n
+
+Kernel IP routing table
+Destination Gateway Genmask Flags Metric Ref Use Iface
+default www.routerlogin 0.0.0.0 UG 600 0 0 wlp8s0
+192.168.1.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp8s0
+```
+
+### 2)如何在 Linux 中使用 ip 命令检查默认网关或者路由 IP 地址?
+
+[IP 命令][3] 类似于 `ifconfig`,常用于配置静态 IP 地址、路由 & 默认网关,等等。
+
+`ifconfig` 命令因为多年没有维护而被遗弃了,即使它仍然在大多数 Linux 发行版上可获得。
+
+`ifconfig` 命令已经被 `ip` 命令替代了,`ip` 命令是非常强大的,只要一个命令就能执行几个网络管理任务。
+
+`ip` 命令工具附带在 iproute2 包中。在主要的 Linux 发行版中都默认预装了 iproute2 。
+
+如果没有,你可以在你的终端中在包管理器的帮助下通过指定 iproute2 来安装它。
+
+```
+# ip r
+或
+# ip route
+或
+# ip route show
+
+default via 192.168.1.1 dev wlp8s0 proto dhcp metric 600
+192.168.1.0/24 dev wlp8s0 proto kernel scope link src 192.168.1.6 metric 600
+```
+
+### 3)如何在 Linux 中使用 netstat 命令检查默认网关或者路由 IP 地址?
+
+`netstat` 代表 Network Statistics,是一个用来显示网络连接相关的信息(包括入站和出站)的命令行工具,例如路由表、伪装连接,多播成员和网络接口。
+
+它列出所有的 tcp、udp 套接字连接和 unix 套接字连接。
+
+它在网络中被用来诊断网络问题并判断网络中的流量总量来作为性能测量指标。
+
+```
+# netstat -r
+
+Kernel IP routing table
+Destination Gateway Genmask Flags MSS Window irtt Iface
+default www.routerlogin 0.0.0.0 UG 0 0 0 wlp8s0
+192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlp8s0
+```
+
+### 4)如何在 Linux 中使用 routel 命令检查默认网关或者路由 IP 地址?
+
+它用来以好看的输出格式列出路由信息。这些程序是一系列你可以用来替代 iproute2 的帮助脚本(`routel` 和 `routef`)。
+
+`routel` 脚本以一种被认为更容易解释并且等价于 `route` 输出列表的格式来输出路由信息。
+
+如果 `routef` 脚本不加任何参数,将仅仅简单的将路由表清空。小心!这意味着删除所有的路由,让你的网络不再可用。
+
+```
+# routel
+ target gateway source proto scope dev tbl
+ default 192.168.1.1 dhcp wlp8s0
+ 192.168.1.0/ 24 192.168.1.6 kernel link wlp8s0
+ 127.0.0.0 broadcast 127.0.0.1 kernel link lo local
+ 127.0.0.0/ 8 local 127.0.0.1 kernel host lo local
+ 127.0.0.1 local 127.0.0.1 kernel host lo local
+127.255.255.255 broadcast 127.0.0.1 kernel link lo local
+ 192.168.1.0 broadcast 192.168.1.6 kernel link wlp8s0 local
+ 192.168.1.6 local 192.168.1.6 kernel host wlp8s0 local
+ 192.168.1.255 broadcast 192.168.1.6 kernel link wlp8s0 local
+ ::1 kernel lo
+ fe80::/ 64 kernel wlp8s0
+ ::1 local kernel lo local
+fe80::ad00:2f7e:d882:5add local kernel wlp8s0 local
+ ff00::/ 8 wlp8s0 local
+```
+
+如果你只想打印默认的网关那么使用下面的格式。
+
+
+```
+# routel | grep default
+ default 192.168.1.1 dhcp wlp8s0
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/check-find-default-gateway-or-router-ip-address-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/check-find-server-public-ip-address-linux/
+[2]: https://www.2daygeek.com/enable-disable-up-down-nic-network-interface-port-linux-using-ifconfig-ifdown-ifup-ip-nmcli-nmtui/
+[3]: https://www.2daygeek.com/ip-command-configure-network-interface-usage-linux/
diff --git a/published/201905/20190423 How To Monitor Disk I-O Activity Using iotop And iostat Commands In Linux.md b/published/201905/20190423 How To Monitor Disk I-O Activity Using iotop And iostat Commands In Linux.md
new file mode 100644
index 0000000000..66b202a011
--- /dev/null
+++ b/published/201905/20190423 How To Monitor Disk I-O Activity Using iotop And iostat Commands In Linux.md
@@ -0,0 +1,325 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10815-1.html)
+[#]: subject: (How To Monitor Disk I/O Activity Using iotop And iostat Commands In Linux?)
+[#]: via: (https://www.2daygeek.com/check-monitor-disk-io-in-linux-using-iotop-iostat-command/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+在 Linux 中如何使用 iotop 和 iostat 监控磁盘 I/O 活动?
+======================================
+
+你知道在 Linux 中我们使用什么工具检修和监控实时的磁盘活动吗?如果 [Linux 系统性能][1]变慢,我们会用 [top 命令][2] 来查看系统性能。它被用来检查是什么进程在服务器上占有如此高的使用率,对于大多数 Linux 系统管理员来说很常见,现实世界中被 Linux 系统管理员广泛采用。
+
+如果在进程输出中你没有看到很大的不同,你仍然有选择查看其他东西。我会建议你在 `top` 输出中检查 `wa` 状态,因为大多数时间里服务器性能由于在硬盘上的高 I/O 读和写降低了性能。如果它很高或者波动,很可能就是它造成的。因此,我们需要检查硬盘上的 I/O 活动。
+
+我们可以在 Linux 中使用 `iotop` 和 `iostat` 命令监控所有的磁盘和文件系统的磁盘 I/O 统计。
+
+### 什么是 iotop?
+
+`iotop` 是一个类似 `top` 的工具,用来显示实时的磁盘活动。
+
+`iotop` 监控 Linux 内核输出的 I/O 使用信息,并且显示一个系统中进程或线程的当前 I/O 使用情况。
+
+它显示每个进程/线程读写 I/O 带宽。它同样显示当等待换入和等待 I/O 的线程/进程花费的时间的百分比。
+
+`Total DISK READ` 和 `Total DISK WRITE` 的值一方面表示了进程和内核线程之间的总的读写带宽,另一方面也表示内核块设备子系统的。
+
+`Actual DISK READ` 和 `Actual DISK WRITE` 的值表示在内核块设备子系统和下面硬件(HDD、SSD 等等)对应的实际磁盘 I/O 带宽。
+
+### 如何在 Linux 中安装 iotop ?
+
+我们可以轻松在包管理器的帮助下安装,因为该软件包在所有的 Linux 发行版仓库中都可以获得。
+
+对于 Fedora 系统,使用 [DNF 命令][3] 来安装 `iotop`。
+
+```
+$ sudo dnf install iotop
+```
+
+对于 Debian/Ubuntu 系统,使用 [API-GET 命令][4] 或者 [APT 命令][5] 来安装 `iotop`。
+
+```
+$ sudo apt install iotop
+```
+
+对于基于 Arch Linux 的系统,使用 [Pacman Command][6] 来安装 `iotop`。
+
+```
+$ sudo pacman -S iotop
+```
+
+对于 RHEL/CentOS 的系统,使用 [YUM Command][7] 来安装 `iotop`。
+
+```
+$ sudo yum install iotop
+```
+
+对于使用 openSUSE Leap 的系统,使用 [Zypper Command][8] 来安装 `iotop`。
+
+```
+$ sudo zypper install iotop
+```
+
+### 在 Linux 中如何使用 iotop 命令来监控磁盘 I/O 活动/统计?
+
+`iotop` 命令有很多参数来检查关于磁盘 I/O 的变化:
+
+```
+# iotop
+```
+
+![10]
+
+如果你想检查那个进程实际在做 I/O,那么运行 `iotop` 命令加上 `-o` 或者 `--only` 参数。
+
+```
+# iotop --only
+```
+
+![11]
+
+细节:
+
+ * `IO`:它显示每个进程的 I/O 利用率,包含磁盘和交换。
+ * `SWAPIN`: 它只显示每个进程的交换使用率。
+
+### 什么是 iostat?
+
+`iostat` 被用来报告中央处理单元(CPU)的统计和设备与分区的输出/输出的统计。
+
+`iostat` 命令通过观察与它们平均传输率相关的设备活跃时间来监控系统输入/输出设备负载。
+
+`iostat` 命令生成的报告可以被用来改变系统配置来更好的平衡物理磁盘之间的输入/输出负载。
+
+所有的统计都在 `iostat` 命令每次运行时被报告。该报告包含一个 CPU 头部,后面是一行 CPU 统计。
+
+在多处理器系统中,CPU 统计被计算为系统层面的所有处理器的平均值。设备头行后紧跟显示每个配置的设备一行的统计。
+
+`iostat` 命令生成两种类型的报告,CPU 利用率报告和设备利用率报告。
+
+### 在 Linux 中怎样安装 iostat?
+
+`iostat` 工具是 `sysstat` 包的一部分,所以我们可以轻松地在包管理器地帮助下安装,因为在所有的 Linux 发行版的仓库都是可以获得的。
+
+对于 Fedora 系统,使用 [DNF Command][3] 来安装 `sysstat`。
+
+```
+$ sudo dnf install sysstat
+```
+
+对于 Debian/Ubuntu 系统,使用 [APT-GET Command][4] 或者 [APT Command][5] 来安装 `sysstat`。
+
+```
+$ sudo apt install sysstat
+```
+
+对于基于 Arch Linux 的系统,使用 [Pacman Command][6] 来安装 `sysstat`。
+
+```
+$ sudo pacman -S sysstat
+```
+
+对于 RHEL/CentOS 系统,使用 [YUM Command][7] 来安装 `sysstat`。
+
+```
+$ sudo yum install sysstat
+```
+
+对于 openSUSE Leap 系统,使用 [Zypper Command][8] 来安装 `sysstat`。
+
+```
+$ sudo zypper install sysstat
+```
+
+### 在 Linux 中如何使用 sysstat 命令监控磁盘 I/O 活动/统计?
+
+在 `iostat` 命令中有很多参数来检查关于 I/O 和 CPU 的变化统计信息。
+
+不加参数运行 `iostat` 命令会看到完整的系统统计。
+
+```
+# iostat
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 29.45 0.02 16.47 0.12 0.00 53.94
+
+Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
+nvme0n1 6.68 126.95 124.97 0.00 58420014 57507206 0
+sda 0.18 6.77 80.24 0.00 3115036 36924764 0
+loop0 0.00 0.00 0.00 0.00 2160 0 0
+loop1 0.00 0.00 0.00 0.00 1093 0 0
+loop2 0.00 0.00 0.00 0.00 1077 0 0
+```
+
+运行 `iostat` 命令加上 `-d` 参数查看所有设备的 I/O 统计。
+
+```
+# iostat -d
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
+nvme0n1 6.68 126.95 124.97 0.00 58420030 57509090 0
+sda 0.18 6.77 80.24 0.00 3115292 36924764 0
+loop0 0.00 0.00 0.00 0.00 2160 0 0
+loop1 0.00 0.00 0.00 0.00 1093 0 0
+loop2 0.00 0.00 0.00 0.00 1077 0 0
+```
+
+运行 `iostat` 命令加上 `-p` 参数查看所有的设备和分区的 I/O 统计。
+
+```
+# iostat -p
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 29.42 0.02 16.45 0.12 0.00 53.99
+
+Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
+nvme0n1 6.68 126.94 124.96 0.00 58420062 57512278 0
+nvme0n1p1 6.40 124.46 118.36 0.00 57279753 54474898 0
+nvme0n1p2 0.27 2.47 6.60 0.00 1138069 3037380 0
+sda 0.18 6.77 80.23 0.00 3116060 36924764 0
+sda1 0.00 0.01 0.00 0.00 3224 0 0
+sda2 0.18 6.76 80.23 0.00 3111508 36924764 0
+loop0 0.00 0.00 0.00 0.00 2160 0 0
+loop1 0.00 0.00 0.00 0.00 1093 0 0
+loop2 0.00 0.00 0.00 0.00 1077 0 0
+```
+
+运行 `iostat` 命令加上 `-x` 参数显示所有设备的详细的 I/O 统计信息。
+
+```
+# iostat -x
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 29.41 0.02 16.45 0.12 0.00 54.00
+
+Device r/s rkB/s rrqm/s %rrqm r_await rareq-sz w/s wkB/s wrqm/s %wrqm w_await wareq-sz d/s dkB/s drqm/s %drqm d_await dareq-sz aqu-sz %util
+nvme0n1 2.45 126.93 0.60 19.74 0.40 51.74 4.23 124.96 5.12 54.76 3.16 29.54 0.00 0.00 0.00 0.00 0.00 0.00 0.31 30.28
+sda 0.06 6.77 0.00 0.00 8.34 119.20 0.12 80.23 19.94 99.40 31.84 670.73 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.13
+loop0 0.00 0.00 0.00 0.00 0.08 19.64 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
+loop1 0.00 0.00 0.00 0.00 0.40 12.86 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
+loop2 0.00 0.00 0.00 0.00 0.38 19.58 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
+```
+
+运行 `iostat` 命令加上 `-d [设备名]` 参数查看具体设备和它的分区的 I/O 统计信息。
+
+```
+# iostat -p [Device_Name]
+
+# iostat -p sda
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 29.38 0.02 16.43 0.12 0.00 54.05
+
+Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
+sda 0.18 6.77 80.21 0.00 3117468 36924764 0
+sda2 0.18 6.76 80.21 0.00 3112916 36924764 0
+sda1 0.00 0.01 0.00 0.00 3224 0 0
+```
+
+运行 `iostat` 命令加上 `-m` 参数以 MB 为单位而不是 KB 查看所有设备的统计。默认以 KB 显示输出。
+
+```
+# iostat -m
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 29.36 0.02 16.41 0.12 0.00 54.09
+
+Device tps MB_read/s MB_wrtn/s MB_dscd/s MB_read MB_wrtn MB_dscd
+nvme0n1 6.68 0.12 0.12 0.00 57050 56176 0
+sda 0.18 0.01 0.08 0.00 3045 36059 0
+loop0 0.00 0.00 0.00 0.00 2 0 0
+loop1 0.00 0.00 0.00 0.00 1 0 0
+loop2 0.00 0.00 0.00 0.00 1 0 0
+```
+
+运行 `iostat` 命令使用特定的间隔使用如下的格式。在这个例子中,我们打算以 5 秒捕获的间隔捕获两个报告。
+
+```
+# iostat [Interval] [Number Of Reports]
+
+# iostat 5 2
+
+Linux 4.19.32-1-MANJARO (daygeek-Y700) Thursday 18 April 2019 _x86_64_ (8 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 29.35 0.02 16.41 0.12 0.00 54.10
+
+Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
+nvme0n1 6.68 126.89 124.95 0.00 58420116 57525344 0
+sda 0.18 6.77 80.20 0.00 3118492 36924764 0
+loop0 0.00 0.00 0.00 0.00 2160 0 0
+loop1 0.00 0.00 0.00 0.00 1093 0 0
+loop2 0.00 0.00 0.00 0.00 1077 0 0
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 3.71 0.00 2.51 0.05 0.00 93.73
+
+Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
+nvme0n1 19.00 0.20 311.40 0.00 1 1557 0
+sda 0.20 25.60 0.00 0.00 128 0 0
+loop0 0.00 0.00 0.00 0.00 0 0 0
+loop1 0.00 0.00 0.00 0.00 0 0 0
+loop2 0.00 0.00 0.00 0.00 0 0 0
+```
+
+运行 `iostat` 命令与 `-N` 参数来查看 LVM 磁盘 I/O 统计报告。
+
+```
+# iostat -N
+
+Linux 4.15.0-47-generic (Ubuntu18.2daygeek.com) Thursday 18 April 2019 _x86_64_ (2 CPU)
+
+avg-cpu: %user %nice %system %iowait %steal %idle
+ 0.38 0.07 0.18 0.26 0.00 99.12
+
+Device tps kB_read/s kB_wrtn/s kB_read kB_wrtn
+sda 3.60 57.07 69.06 968729 1172340
+sdb 0.02 0.33 0.00 5680 0
+sdc 0.01 0.12 0.00 2108 0
+2g-2gvol1 0.00 0.07 0.00 1204 0
+```
+
+运行 `nfsiostat` 命令来查看 Network File System(NFS)的 I/O 统计。
+
+```
+# nfsiostat
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/check-monitor-disk-io-in-linux-using-iotop-iostat-command/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/category/monitoring-tools/
+[2]: https://www.2daygeek.com/linux-top-command-linux-system-performance-monitoring-tool/
+[3]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[4]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
+[5]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[6]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
+[7]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
+[8]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
+[9]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
+[10]: https://www.2daygeek.com/wp-content/uploads/2015/03/monitor-disk-io-activity-using-iotop-iostat-command-in-linux-1.jpg
+[11]: https://www.2daygeek.com/wp-content/uploads/2015/03/monitor-disk-io-activity-using-iotop-iostat-command-in-linux-2.jpg
diff --git a/published/201905/20190425 Automate backups with restic and systemd.md b/published/201905/20190425 Automate backups with restic and systemd.md
new file mode 100644
index 0000000000..677a87c3f4
--- /dev/null
+++ b/published/201905/20190425 Automate backups with restic and systemd.md
@@ -0,0 +1,132 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10875-1.html)
+[#]: subject: (Automate backups with restic and systemd)
+[#]: via: (https://fedoramagazine.org/automate-backups-with-restic-and-systemd/)
+[#]: author: (Link Dupont https://fedoramagazine.org/author/linkdupont/)
+
+使用 restic 和 systemd 自动备份
+======
+
+![][1]
+
+及时备份很重要。即使在 [Fedora Magazine][3] 中,[备份软件][2] 也是一个常见的讨论话题。本文演示了如何仅使用 systemd 以及 `restic` 来自动备份。
+
+有关 `restic` 的介绍,请查看我们的文章[在 Fedora 上使用 restic 进行加密备份][4]。然后继续阅读以了解更多详情。
+
+为了自动创建快照以及清理数据,需要运行两个 systemd 服务。第一个运行*备份*命令的服务需要以常规频率运行。第二个服务负责数据清理。
+
+如果你根本不熟悉 systemd,那么这是个很好的学习机会。查看 [Magazine 上关于 systemd 的系列文章] [5],从单元文件的这个入门开始:
+
+- [systemd 单元文件基础][6]
+
+如果你还没有安装 `restic`,请注意它在官方的 Fedora 仓库中。要安装它,请[带上 sudo][7] 运行此命令:
+
+```
+$ sudo dnf install restic
+```
+
+### 备份
+
+首先,创建 `~/.config/systemd/user/restic-backup.service`。将下面的文本复制并粘贴到文件中以获得最佳效果。
+
+```
+[Unit]
+Description=Restic backup service
+[Service]
+Type=oneshot
+ExecStart=restic backup --verbose --one-file-system --tag systemd.timer $BACKUP_EXCLUDES $BACKUP_PATHS
+ExecStartPost=restic forget --verbose --tag systemd.timer --group-by "paths,tags" --keep-daily $RETENTION_DAYS --keep-weekly $RETENTION_WEEKS --keep-monthly $RETENTION_MONTHS --keep-yearly $RETENTION_YEARS
+EnvironmentFile=%h/.config/restic-backup.conf
+```
+
+此服务引用环境文件来加载密钥(例如 `RESTIC_PASSWORD`)。创建 `~/.config/restic-backup.conf`。复制并粘贴以下内容以获得最佳效果。此示例使用 BackBlaze B2 存储。请相应地调整 ID、密钥、仓库和密码值。
+
+```
+BACKUP_PATHS="/home/rupert"
+BACKUP_EXCLUDES="--exclude-file /home/rupert/.restic_excludes --exclude-if-present .exclude_from_backup"
+RETENTION_DAYS=7
+RETENTION_WEEKS=4
+RETENTION_MONTHS=6
+RETENTION_YEARS=3
+B2_ACCOUNT_ID=XXXXXXXXXXXXXXXXXXXXXXXXX
+B2_ACCOUNT_KEY=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+RESTIC_REPOSITORY=b2:XXXXXXXXXXXXXXXXXX:/
+RESTIC_PASSWORD=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+```
+
+现在已安装该服务,请重新加载 systemd:`systemctl -user daemon-reload`。尝试手动运行该服务以创建备份:`systemctl -user start restic-backup`。
+
+因为该服务类型是*一次性*,它将运行一次并退出。验证服务运行并根据需要创建快照后,设置计时器以定期运行此服务。例如,要每天运行 `restic-backup.service`,请按如下所示创建 `~/.config/systemd/user/restic-backup.timer`。再次复制并粘贴此文本:
+
+```
+[Unit]
+Description=Backup with restic daily
+[Timer]
+OnCalendar=daily
+Persistent=true
+[Install]
+WantedBy=timers.target
+```
+
+运行以下命令启用:
+
+```
+$ systemctl --user enable --now restic-backup.timer
+```
+
+### 清理
+
+虽然主服务运行 `forget` 命令仅保留保留策略中的快照,但实际上并未从 `restic` 仓库中删除数据。 `prune` 命令检查仓库和当前快照,并删除与快照无关的所有数据。由于 `prune` 可能是一个耗时的过程,因此无需在每次运行备份时运行。这是第二个服务和计时器的场景。首先,通过复制和粘贴此文本来创建文件 `~/.config/systemd/user/restic-prune.service`:
+
+```
+[Unit]
+Description=Restic backup service (data pruning)
+[Service]
+Type=oneshot
+ExecStart=restic prune
+EnvironmentFile=%h/.config/restic-backup.conf
+```
+
+与主 `restic-backup.service` 服务类似,`restic-prune` 也是一次性服务,并且可以手动运行。设置完服务后,创建 `~/.config/systemd/user/restic-prune.timer` 并启用相应的计时器:
+
+```
+[Unit]
+Description=Prune data from the restic repository monthly
+[Timer]
+OnCalendar=monthly
+Persistent=true
+[Install]
+WantedBy=timers.target
+```
+
+就是这些了!`restic` 将会每日运行并按月清理数据。
+
+* * *
+
+图片来自 [Unsplash][9] 由 [Samuel Zeller][8] 拍摄。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/automate-backups-with-restic-and-systemd/
+
+作者:[Link Dupont][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/linkdupont/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/restic-systemd-816x345.jpg
+[2]: https://restic.net/
+[3]: https://fedoramagazine.org/?s=backup
+[4]: https://fedoramagazine.org/use-restic-encrypted-backups/
+[5]: https://fedoramagazine.org/series/systemd-series/
+[6]: https://fedoramagazine.org/systemd-getting-a-grip-on-units/
+[7]: https://fedoramagazine.org/howto-use-sudo/
+[8]: https://unsplash.com/photos/JuFcQxgCXwA?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
+[9]: https://unsplash.com/search/photos/archive?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/published/201905/20190430 Upgrading Fedora 29 to Fedora 30.md b/published/201905/20190430 Upgrading Fedora 29 to Fedora 30.md
new file mode 100644
index 0000000000..4d9123601f
--- /dev/null
+++ b/published/201905/20190430 Upgrading Fedora 29 to Fedora 30.md
@@ -0,0 +1,96 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10854-1.html)
+[#]: subject: (Upgrading Fedora 29 to Fedora 30)
+[#]: via: (https://fedoramagazine.org/upgrading-fedora-29-to-fedora-30/)
+[#]: author: (Ryan Lerch https://fedoramagazine.org/author/ryanlerch/)
+
+将 Fedora 29 升级到 Fedora 30
+======
+
+![][1]
+
+Fedora 30 [已经发布了][2]。你可能希望将系统升级到最新版本的 Fedora。Fedora 工作站版本有图形化升级的方法。另外,Fedora 也提供了一个命令行方法,用于将 Fedora 29 升级到 Fedora 30。
+
+### 将 Fedora 29 工作站版本升级到 Fedora 30
+
+在发布不久后,桌面会显示一条通知告诉你可以升级。你可以单击通知启动 “GNOME 软件” 应用。或者你可以从 GNOME Shell 中选择“软件”。
+
+在 “GNOME 软件” 中选择*更新*选项卡,你会看到一个页面通知你可以更新 Fedora 30。
+
+如果你在屏幕上看不到任何内容,请尝试点击左上角的重新加载按钮。发布后,所有系统都可能需要一段时间才能看到可用的升级。
+
+选择“下载”获取升级包。你可以继续做其他的事直到下载完成。然后使用 “GNOME 软件” 重启系统并应用升级。升级需要时间,因此你可以喝杯咖啡,稍后再回来。
+
+### 使用命令行
+
+如果你过去升级过 Fedora 版本,你可能熟悉 `dnf upgrade` 插件。这是从 Fedora 29 升级到 Fedora 30 的推荐和支持的方式。使用这个插件将使你的 Fedora 30 升级简单易行。
+
+#### 1、更新软件并备份系统
+
+在你执行任何操作之前,你需要确保在开始升级之前拥有 Fedora 29 的最新软件。要更新软件,请使用 “GNOME 软件” 或在终端中输入以下命令。
+
+```
+sudo dnf upgrade --refresh
+```
+
+此外,请确保在继续之前备份系统。关于备份的帮助,请参阅 Fedora Magazine 上的[备份系列][3]。
+
+#### 2、安装 DNF 插件
+
+接下来,打开终端并输入以下命令来安装插件:
+
+```
+sudo dnf install dnf-plugin-system-upgrade
+```
+
+#### 3、使用 DNF 开始更新
+
+现在你的系统是最新的,完成了备份,并且已安装 DNF 插件,你可以在终端中使用以下命令开始升级:
+
+```
+sudo dnf system-upgrade download --releasever=30
+```
+
+此命令将开始在本地下载所有升级文件以准备升级。如果你因为没有更新包、错误的依赖,或过时的包在升级时遇到问题,请在输入上面的命令时添加 `-- allowerasing` 标志。这将允许 DNF 删除可能阻止系统升级的软件包。
+
+#### 4、重启并升级
+
+当前面的命令完成下载所有升级文件后,你的系统就可以重启了。要将系统引导至升级过程,请在终端中输入以下命令:
+
+```
+sudo dnf system-upgrade reboot
+```
+
+此后你的系统将重启。在许多版本之前,`fedup` 工具将在内核选择/引导页面上创建一个新选项。使用 `dnf-plugin-system-upgrade` 包,你的系统将使用当前 Fedora 29 安装的内核重启。这个是正常的。在内核选择页面后不久,系统开始升级过程。
+
+现在可以休息一下了!完成后你的系统将重启,你就可以登录新升级的 Fedora 30 了。
+
+![][4]
+
+### 解决升级问题
+
+升级系统时偶尔可能会出现意外问题。如果你遇到任何问题,请访问 [DNF 系统升级的维基页面][5],以获取有关出现问题时的故障排除的更多信息。
+
+如果你在升级时遇到问题并在系统上安装了第三方仓库,那么可能需要在升级时禁用这些仓库。有关 Fedora 对未提供仓库的支持,请与仓库的提供商联系。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/upgrading-fedora-29-to-fedora-30/
+
+作者:[Ryan Lerch][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/ryanlerch/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/29-30-816x345.jpg
+[2]: https://fedoramagazine.org/announcing-fedora-30/
+[3]: https://fedoramagazine.org/taking-smart-backups-duplicity/
+[4]: https://cdn.fedoramagazine.org/wp-content/uploads/2016/06/Screenshot_f23-ws-upgrade-test_2016-06-10_110906-1024x768.png
+[5]: https://fedoraproject.org/wiki/DNF_system_upgrade#Resolving_post-upgrade_issues
diff --git a/published/201905/20190501 3 apps to manage personal finances in Fedora.md b/published/201905/20190501 3 apps to manage personal finances in Fedora.md
new file mode 100644
index 0000000000..dee4fb0985
--- /dev/null
+++ b/published/201905/20190501 3 apps to manage personal finances in Fedora.md
@@ -0,0 +1,73 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10903-1.html)
+[#]: subject: (3 apps to manage personal finances in Fedora)
+[#]: via: (https://fedoramagazine.org/3-apps-to-manage-personal-finances-in-fedora/)
+[#]: author: (Paul W. Frields https://fedoramagazine.org/author/pfrields/)
+
+3 款在 Fedora 中管理个人财务的应用
+======
+
+![][1]
+
+网上有很多可以用来管理你个人财务的服务。虽然它们可能很方便,但这通常也意味着将你最宝贵的个人数据放在你无法监控的公司。也有些人对这些不太在意。
+
+无论你是否在意,你可能会对你自己系统上的应用感兴趣。这意味着如果你不想,你的数据永远不会离开自己的计算机。这三款之一可能就是你想找的。
+
+### HomeBank
+
+HomeBank 是一款可以管理多个账户的全功能软件。它很容易设置并保持更新。它有多种方式画出你的分类和负债,以便你可以看到资金流向何处。它可以通过官方 Fedora 仓库下载。
+
+![A simple account set up in HomeBank with a few transactions.][2]
+
+要安装 HomeBank,请打开“软件中心”,搜索 “HomeBank”,然后选择该应用。单击“安装”将其添加到你的系统中。HomeBank 也可以通过 Flatpak 安装。
+
+### KMyMoney
+
+KMyMoney 是一个成熟的应用,它已经存在了很长一段时间。它有一系列稳定的功能,可帮助你管理多个帐户,包括资产、负债、税收等。KMyMoney 包含一整套用于管理投资和进行预测的工具。它还提供大量报告,以了解你的资金运作方式。
+
+![A subset of the many reports available in KMyMoney.][3]
+
+要安装它,请使用软件中心,或使用命令行:
+
+```
+$ sudo dnf install kmymoney
+```
+
+### GnuCash
+
+用于个人财务的最受欢迎的免费 GUI 应用之一是 GnuCash。GnuCash 不仅可以用于个人财务。它还有管理企业收入、资产和负债的功能。这并不意味着你不能用它来管理自己的账户。从查看[在线教程和指南][4]开始了解。
+
+![Checking account records shown in GnuCash.][5]
+
+打开“软件中心”,搜索 “GnuCash”,然后选择应用。单击“安装”将其添加到你的系统中。或者如上所述使用 `dnf install` 来安装 “gnucash” 包。
+
+它现在可以通过 Flathub 安装,这使得安装变得简单。如果你没有安装 Flathub,请查看 [Fedora Magazine 上的这篇文章][6]了解如何使用它。这样你也可以在终端使用 `flatpak install gnucash` 命令。
+
+* * *
+
+照片由 [Fabian Blank][7] 拍摄,发布在 [Unsplash][8] 上。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/3-apps-to-manage-personal-finances-in-fedora/
+
+作者:[Paul W. Frields][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/pfrields/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/personal-finance-3-apps-816x345.jpg
+[2]: https://fedoramagazine.org/wp-content/uploads/2019/04/Screenshot-from-2019-04-28-16-16-16-1024x637.png
+[3]: https://fedoramagazine.org/wp-content/uploads/2019/04/Screenshot-from-2019-04-28-16-27-10-1-1024x649.png
+[4]: https://www.gnucash.org/viewdoc.phtml?rev=3&lang=C&doc=guide
+[5]: https://fedoramagazine.org/wp-content/uploads/2019/04/Screenshot-from-2019-04-28-16-41-27-1024x631.png
+[6]: https://fedoramagazine.org/install-flathub-apps-fedora/
+[7]: https://unsplash.com/photos/pElSkGRA2NU?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
+[8]: https://unsplash.com/search/photos/money?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/published/201905/20190501 Cisco issues critical security warning for Nexus data-center switches.md b/published/201905/20190501 Cisco issues critical security warning for Nexus data-center switches.md
new file mode 100644
index 0000000000..e71bd21d6b
--- /dev/null
+++ b/published/201905/20190501 Cisco issues critical security warning for Nexus data-center switches.md
@@ -0,0 +1,75 @@
+[#]: collector: (lujun9972)
+[#]: translator: (hopefully2333)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10876-1.html)
+[#]: subject: (Cisco issues critical security warning for Nexus data-center switches)
+[#]: via: (https://www.networkworld.com/article/3392858/cisco-issues-critical-security-warning-for-nexus-data-center-switches.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+思科针对 Nexus 数据中心交换机发出危急安全预警
+======
+
+> 思科围绕着 Nexus 的交换机、Firepower 防火墙和其他设备,发布了 40 个安全报告。
+
+![Thinkstock][1]
+
+日前,思科发布了 40 个左右的安全报告,但只有其中的一个被评定为“[危急][2]”:思科 Nexus 9000 系列应用中心基础设施(ACI)模式数据中心交换机中的一个漏洞,可能会让攻击者隐秘地访问到系统资源。
+
+这个新发现的漏洞,被通用漏洞评分系统给到了 9.8 分(满分 10 分),思科表示,它是思科 Nexus 9000 系列的安全 shell (ssh)密钥管理方面的问题,这个漏洞允许远程攻击者以 root 用户的权限来连接到受影响的系统。
+
+思科表示,“**这个漏洞是因为所有的设备都存在一对默认的 ssh 密钥对**,攻击者可以使用提取到的密钥材料,并通过 IPv6 来创建连接到目标设备的 SSH 连接。这个漏洞仅能通过 IPv6 来进行利用,IPv4 不会被攻击”。
+
+型号为 Nexus 9000 系列且 NX-OS 软件版本在 14.1 之前的设备会受此漏洞的影响,该公司表示没有解决这个问题的变通办法。
+
+然而,思科公司已经为解决这个漏洞[发布了免费的软件更新][4]。
+
+该公司同样对 Nexus 9000 系列发布了一个“高危”级别的安全预警报告,报告中表示存在一种攻击,允许攻击者以 root 用户权限在受影响的设备上执行任意操作系统命令。思科表示,如果要用这种方式攻击成功,攻击者需要对应设备的有效的管理员用户凭证。
+
+[思科表示][5],这个漏洞是由于过于宽泛的系统文件权限造成的。攻击者可以通过向受影响的设备进行认证,构造一个精心设计的命令字符串,并将这个字符串写入到特定位置的文件里。攻击者通过这种方式来利用这个漏洞。
+
+思科发布了解决这个漏洞的软件更新。
+
+另外两个被评为“高危”级别的漏洞的影响范围同样包括 Nexus 9000 系列:
+
+- 思科 Nexus 9000 系列软件后台操作功能中的[漏洞][7],能够允许一个已认证的本地攻击者在受影响的设备上提权到 root 权限。这个漏洞是由于在受影响的设备上用户提供的文件验证不充分。思科表示,攻击者可以通过登录到受影响设备的命令行界面,并在文件系统的特定目录中构造一个精心设计过的文件,以此来利用这个漏洞。
+- 交换机软件后台操作功能中的[弱点][7]能够允许攻击者登录到受影响设备的命令行界面,并在文件系统的特定目录里创建一个精心构造过的文件。思科表示,这个漏洞是由于在受影响的设备上用户提供的文件验证不充分。
+
+思科同样为这些漏洞[发布了软件更新][4]。
+
+此外,这些安全警告中的一部分是针对思科 FirePower 防火墙系列中大量的“高危”漏洞警告。
+
+例如,思科[写道][8],思科 Firepower 威胁防御软件的 SMB 协议预处理检测引擎中的多个漏洞能够允许未认证的相邻、远程攻击者造成拒绝服务攻击(DoS)的情况。
+
+思科表示,思科 Firepower 2100 系列中思科 Firepower 软件里的内部数据包处理功能有[另一个漏洞][9],能够让未认证的远程攻击者造成受影响的设备停止处理流量,从而导致 DOS 的情况。
+
+[软件补丁][4]可用于这些漏洞。
+
+其他的产品,比如思科[自适应安全虚拟设备][10]和 [web 安全设备][11]同样也有高优先级的补丁。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3392858/cisco-issues-critical-security-warning-for-nexus-data-center-switches.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[hopefully2333](https://github.com/hopefully2333)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/02/lock_broken_unlocked_binary_code_security_circuits_protection_privacy_thinkstock_873916354-100750739-large.jpg
+[2]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-nexus9k-sshkey
+[3]: https://www.networkworld.com/article/3284352/data-center/how-to-plan-a-software-defined-data-center-network.html
+[4]: https://www.cisco.com/c/en/us/about/legal/cloud-and-software/end_user_license_agreement.html
+[5]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-nexus9k-rpe
+[6]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[7]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-aci-hw-clock-util
+[8]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-frpwr-smb-snort
+[9]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-frpwr-dos
+[10]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-asa-ipsec-dos
+[11]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190501-wsa-privesc
+[12]: https://www.facebook.com/NetworkWorld/
+[13]: https://www.linkedin.com/company/network-world
diff --git a/published/201905/20190501 Write faster C extensions for Python with Cython.md b/published/201905/20190501 Write faster C extensions for Python with Cython.md
new file mode 100644
index 0000000000..b3ff2f0edd
--- /dev/null
+++ b/published/201905/20190501 Write faster C extensions for Python with Cython.md
@@ -0,0 +1,81 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10859-1.html)
+[#]: subject: (Write faster C extensions for Python with Cython)
+[#]: via: (https://opensource.com/article/19/5/python-cython)
+[#]: author: (Moshe Zadka https://opensource.com/users/moshez/users/moshez/users/foundjem/users/jugmac00)
+
+使用 Cython 为 Python 编写更快的 C 扩展
+======
+
+> 在我们这个包含了 7 个 PyPI 库的系列文章中学习解决常见的 Python 问题的方法。
+
+
+
+Python 是当今使用最多的[流行编程语言][2]之一,因为:它是开源的,它有广泛的用途(例如 Web 编程、业务应用、游戏、科学编程等等),它有一个充满活力和专注的社区支持它。这个社区可以让我们在 [Python Package Index][3](PyPI)中有如此庞大、多样化的软件包,用以扩展和改进 Python 并解决不可避免的问题。
+
+在本系列中,我们将介绍七个可以帮助你解决常见 Python 问题的 PyPI 库。首先是 [Cython][4],一个简化 Python 编写 C 扩展的语言。
+
+### Cython
+
+使用 Python 很有趣,但有时,用它编写的程序可能很慢。所有的运行时动态调度会带来很大的代价:有时它比用 C 或 Rust 等系统语言编写的等效代码慢 10 倍。
+
+将代码迁移到一种全新的语言可能会在成本和可靠性方面付出巨大代价:所有的手工重写工作都将不可避免地引入错误。我们可以两者兼得么?
+
+为了练习一下优化,我们需要一些慢代码。有什么比斐波那契数列的意外指数实现更慢?
+
+```
+def fib(n):
+ if n < 2:
+ return 1
+ return fib(n-1) + fib(n-2)
+```
+
+由于对 `fib` 的调用会导致两次再次调用,因此这种效率极低的算法需要很长时间才能执行。例如,在我的新笔记本电脑上,`fib(36)` 需要大约 4.5 秒。这个 4.5 秒会成为我们探索 Python 的 Cython 扩展能提供的帮助的基准。
+
+使用 Cython 的正确方法是将其集成到 `setup.py` 中。然而,使用 `pyximport` 可以快速地进行尝试。让我们将 `fib` 代码放在 `fib.pyx` 中并使用 Cython 运行它。
+
+```
+>>> import pyximport; pyximport.install()
+>>> import fib
+>>> fib.fib(36)
+```
+
+只使用 Cython 而不*修改*代码,这个算法在我笔记本上花费的时间减少到大约 2.5 秒。几乎无需任何努力,这几乎减少了 50% 的运行时间。当然,得到了一个不错的成果。
+
+加把劲,我们可以让它变得更快。
+
+```
+cpdef int fib(int n):
+ if n < 2:
+ return 1
+ return fib(n - 1) + fib(n - 2)
+```
+
+我们将 `fib` 中的代码变成用 `cpdef` 定义的函数,并添加了两个类型注释:它接受一个整数并返回一个整数。
+
+这个变得快*多*了,大约只用了 0.05 秒。它是如此之快,以至于我可能开始怀疑我的测量方法包含噪声:之前,这种噪声在信号中丢失了。
+
+当下次你的 Python 代码花费太多 CPU 时间时,也许会导致风扇狂转,为何不看看 Cython 是否可以解决问题呢?
+
+在本系列的下一篇文章中,我们将看一下 Black,一个自动纠正代码格式错误的项目。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/python-cython
+
+作者:[Moshe Zadka][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/moshez/users/moshez/users/foundjem/users/jugmac00
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/code_hand_draw.png?itok=dpAf--Db (Hand drawing out the word "code")
+[2]: https://opensource.com/article/18/5/numbers-python-community-trends
+[3]: https://pypi.org/
+[4]: https://pypi.org/project/Cython/
diff --git a/published/201905/20190502 Format Python however you like with Black.md b/published/201905/20190502 Format Python however you like with Black.md
new file mode 100644
index 0000000000..dd56785451
--- /dev/null
+++ b/published/201905/20190502 Format Python however you like with Black.md
@@ -0,0 +1,99 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10864-1.html)
+[#]: subject: (Format Python however you like with Black)
+[#]: via: (https://opensource.com/article/19/5/python-black)
+[#]: author: (Moshe Zadka https://opensource.com/users/moshez/users/moshez/users/moshez)
+
+使用 Black 自由格式化 Python
+======
+
+> 在我们覆盖 7 个 PyPI 库的系列文章中了解解决 Python 问题的更多信息。
+
+
+
+Python 是当今使用最多的[流行编程语言][2]之一,因为:它是开源的,它有广泛的用途(例如 Web 编程、业务应用、游戏、科学编程等等),它有一个充满活力和专注的社区支持它。这个社区可以让我们在 [Python Package Index][3](PyPI)中有如此庞大、多样化的软件包,用以扩展和改进 Python 并解决不可避免的问题。
+
+在本系列中,我们将介绍七个可以帮助你解决常见 Python 问题的 PyPI 库。在第一篇文章中,我们了解了 [Cython][4]。今天,我们将使用 [Black][5] 这个代码格式化工具。
+
+### Black
+
+有时创意可能是一件美妙的事情。有时它只是一种痛苦。我喜欢创造性地解决难题,但我希望我的 Python 格式尽可能一致。没有人对使用“有趣”缩进的代码印象深刻。
+
+但是比不一致的格式更糟糕的是除了检查格式之外什么都没有做的代码审查。这对审查者来说很烦人,对于被审查者来说甚至更烦人。当你的 linter 告诉你代码缩进不正确时,但没有提示*正确*的缩进量,这也会令人气愤。
+
+使用 Black,它不会告诉你*要*做什么,它是一个优良、勤奋的机器人:它将为你修复代码。
+
+要了解它如何工作的,请随意写一些非常不一致的内容,例如:
+
+```
+def add(a, b): return a+b
+
+def mult(a, b):
+ return \
+ a * b
+```
+
+Black 抱怨了么?并没有,它为你修复了!
+
+```
+$ black math
+reformatted math
+All done! ✨ 🍰 ✨
+1 file reformatted.
+$ cat math
+def add(a, b):
+ return a + b
+
+
+def mult(a, b):
+ return a * b
+```
+
+Black 确实提供了报错而不是修复的选项,甚至还有输出 diff 编辑样式的选项。这些选项在持续集成 (CI)系统中非常有用,可以在本地强制运行 Black。此外,如果 diff 输出被记录到 CI 输出中,你可以直接将其粘贴到 `patch` 中,以便在极少数情况下你需要修复输出,但无法本地安装 Black 使用。
+
+
+```
+$ black --check --diff bad
+--- math 2019-04-09 17:24:22.747815 +0000
++++ math 2019-04-09 17:26:04.269451 +0000
+@@ -1,7 +1,7 @@
+-def add(a, b): return a + b
++def add(a, b):
++ return a + b
+
+
+ def mult(a, b):
+- return \
+- a * b
++ return a * b
+
+would reformat math
+All done! 💥 💔 💥
+1 file would be reformatted.
+$ echo $?
+1
+```
+
+在本系列的下一篇文章中,我们将介绍 attrs ,这是一个可以帮助你快速编写简洁、正确的代码的库。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/python-black
+
+作者:[Moshe Zadka][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/moshez/users/moshez/users/moshez
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/openstack_python_vim_1.jpg?itok=lHQK5zpm (OpenStack source code (Python) in VIM)
+[2]: https://opensource.com/article/18/5/numbers-python-community-trends
+[3]: https://pypi.org/
+[4]: https://opensource.com/article/19/4/7-python-problems-solved-cython
+[5]: https://pypi.org/project/black/
diff --git a/published/201905/20190502 Get started with Libki to manage public user computer access.md b/published/201905/20190502 Get started with Libki to manage public user computer access.md
new file mode 100644
index 0000000000..347196d553
--- /dev/null
+++ b/published/201905/20190502 Get started with Libki to manage public user computer access.md
@@ -0,0 +1,61 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10880-1.html)
+[#]: subject: (Get started with Libki to manage public user computer access)
+[#]: via: (https://opensource.com/article/19/5/libki-computer-access)
+[#]: author: (Don Watkins https://opensource.com/users/don-watkins/users/tony-thomas)
+
+使用 Libki 来管理公共用户访问计算机
+======
+> Libki 是一个跨平台的计算机预约和用时管理系统。
+
+
+
+提供公共计算机的图书馆、学校、学院和其他组织需要一种管理用户访问权限的好方法 —— 否则,就无法阻止某些人独占机器并确保每个人都有公平的用时。这是 [Libki][2] 要解决的问题。
+
+Libki 是一个面向 Windows 和 Linux PC 的开源、跨平台的计算机预约和用时管理系统。它提供了一个基于 Web 的服务器和一个基于 Web 的管理系统,员工可以使用它来管理计算机访问,包括创建和删除用户、设置帐户用时限制、登出和禁止用户以及设置访问限制。
+
+根据其首席开发人员 [Kyle Hall][3] 所说,Libki 主要用于 PC 用时控制,作为 Envisionware 出品的专有计算机访问控制软件的开源替代品。当用户登录 Libki 管理的计算机时,他们会有一段使用计算机的时间。时间到了之后,他们就会被登出。时间默认设置为 45 分钟,但可以使用基于 Web 的管理系统轻松调整。一些组织在登出用户之前提供 24 小时访问权限,而有的组织则使用它来跟踪使用情况而不设置用时限制。
+
+Kyle 目前是 [ByWater Solutions][4] 的首席开发人员,该公司为图书馆提供开源软件解决方案(包括 Libki)。在职业生涯早期,他在宾夕法尼亚州的[米德维尔公共图书馆][5]担任 IT 技术时开发了 Libki。在其他员工的午休期间,偶尔会要求他关注孩子们的房间。图书馆使用纸质注册表来管理对儿童房间计算机的访问,这意味着不断的监督和检查,以确保来到那里的人能够公平地使用。
+
+Kyle 说,“我发现这很笨拙而不便的,我想找到一个解决方案。这个解决方案需要同时是 FOSS 和跨平台的。最后,没有现有的软件适合我们的特殊需求,那就是为什么我开发了 Libki。“
+
+或者,正如 Libki 的网站所宣称的那样,“Libki 的诞生是为了避免与青少年打交道(的麻烦),现在允许图书馆员避免与世界各地的青少年打交道(的麻烦)!”
+
+### 易于安装和使用
+
+我最近决定在我经常在那里做志愿者的当地的公共图书馆尝试 Libki。我按照[文档][6]在 Ubuntu 18.04 Server 中自动进行了安装,它很快就启动起来了。
+
+我计划在我们当地的图书馆支持 Libki,但我想知道在那些没有 IT 相关经验的人或者无法构建和部署服务器的图书馆是怎样的。Kyle 说:“ByWater Solutions 可以云端托管 Libki 服务器,这使得每个人的维护和管理变得更加简单。”
+
+Kyle 表示,ByWater 并不打算将 Libki 与其最受欢迎的产品,开源集成图书馆系统 (ILS)Koha 或其支持的任何其他[项目][7]捆绑在一起。他说: “Libki 和 Koha 是不同[类型]的软件,满足不同的需求,但它们在图书馆中确实很好地协同工作。事实上,我很早就开发了 Libki 的 SIP2 集成,因此它可以支持使用 Koha 进行单点登录。“
+
+### 如何贡献
+
+Libki 客户端是 GPLv3 许可,Libki 服务器是 AGPLv3 许可。Kyle 说他希望 Libki 拥有一个更加活跃和强大的社区,项目一直在寻找新人加入其[贡献者][8]。如果你想参加,请访问 [Libki 社区页面][9]并加入邮件列表。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/libki-computer-access
+
+作者:[Don Watkins][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/don-watkins/users/tony-thomas
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/desk_clock_job_work.jpg?itok=Nj4fuhl6
+[2]: https://libki.org/
+[3]: https://www.linkedin.com/in/kylemhallinfo/
+[4]: https://opensource.com/article/19/4/software-libraries
+[5]: https://meadvillelibrary.org/
+[6]: https://manual.libki.org/master/libki-manual.html#_automatic_installation
+[7]: https://bywatersolutions.com/projects
+[8]: https://github.com/Libki/libki-server/graphs/contributors
+[9]: https://libki.org/community/
diff --git a/published/201905/20190503 API evolution the right way.md b/published/201905/20190503 API evolution the right way.md
new file mode 100644
index 0000000000..069687be7a
--- /dev/null
+++ b/published/201905/20190503 API evolution the right way.md
@@ -0,0 +1,693 @@
+[#]: collector: (lujun9972)
+[#]: translator: (MjSeven)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10900-1.html)
+[#]: subject: (API evolution the right way)
+[#]: via: (https://opensource.com/article/19/5/api-evolution-right-way)
+[#]: author: (A. Jesse https://opensource.com/users/emptysquare)
+
+API 演进的正确方式
+======
+
+> 负责任的库作者与其用户的十个约定。
+
+
+
+想象一下你是一个造物主,为一个生物设计一个身体。出于仁慈,你希望它能随着时间进化:首先,因为它必须对环境的变化作出反应;其次,因为你的智慧在增长,你对这个小东西想到了更好的设计,它不应该永远保持一个样子。
+
+![Serpents][2]
+
+然而,这个生物可能有赖于其目前解剖学的特征。你不能无所顾忌地添加翅膀或改变它的身材比例。它需要一个有序的过程来适应新的身体。作为一个负责任的设计者,你如何才能温柔地引导这种生物走向更大的进步呢?
+
+对于负责任的库维护者也是如此。我们向依赖我们代码的人保证我们的承诺:我们会发布 bug 修复和有用的新特性。如果对库的未来有利,我们有时会删除某些特性。我们会不断创新,但我们不会破坏使用我们库的人的代码。我们怎样才能一次实现所有这些目标呢?
+
+### 添加有用的特性
+
+你的库不应该永远保持不变:你应该添加一些特性,使你的库更适合用户。例如,如果你有一个爬行动物类,并且如果有个可以飞行的翅膀是有用的,那就去添加吧。
+
+```
+class Reptile:
+ @property
+ def teeth(self):
+ return 'sharp fangs'
+
+ # 如果 wings 是有用的,那就添加它!
+ @property
+ def wings(self):
+ return 'majestic wings'
+```
+
+但要注意,特性是有风险的。考虑 Python 标准库中以下功能,看看它出了什么问题。
+
+```
+bool(datetime.time(9, 30)) == True
+bool(datetime.time(0, 0)) == False
+```
+
+这很奇怪:将任何时间对象转换为布尔值都会得到 True,但午夜时间除外。(更糟糕的是,时区感知时间的规则更加奇怪。)
+
+我已经写了十多年的 Python 了,但直到上周才发现这条规则。这种奇怪的行为会在用户代码中引起什么样的 bug?
+
+比如说一个日历应用程序,它带有一个创建事件的函数。如果一个事件有一个结束时间,那么函数也应该要求它有一个开始时间。
+
+```
+def create_event(day,
+ start_time=None,
+ end_time=None):
+ if end_time and not start_time:
+ raise ValueError("Can't pass end_time without start_time")
+
+# 女巫集会从午夜一直开到凌晨 4 点
+create_event(datetime.date.today(),
+ datetime.time(0, 0),
+ datetime.time(4, 0))
+```
+
+不幸的是,对于女巫来说,从午夜开始的事件无法通过校验。当然,一个了解午夜怪癖的细心程序员可以正确地编写这个函数。
+
+```
+def create_event(day,
+ start_time=None,
+ end_time=None):
+ if end_time is not None and start_time is None:
+ raise ValueError("Can't pass end_time without start_time")
+```
+
+但这种微妙之处令人担忧。如果一个库作者想要创建一个伤害用户的 API,那么像午夜的布尔转换这样的“特性”很有效。
+
+![Man being chased by an alligator][3]
+
+但是,负责任的创建者的目标是使你的库易于正确使用。
+
+这个功能是由 Tim Peters 在 2002 年首次编写 datetime 模块时造成的。即时是像 Tim 这样的奠基 Python 的高手也会犯错误。[这个怪异之处后来被消除了][4],现在所有时间的布尔值都是 True。
+
+```
+# Python 3.5 以后
+
+bool(datetime.time(9, 30)) == True
+bool(datetime.time(0, 0)) == True
+```
+
+不知道午夜怪癖的古怪之处的程序员现在可以从这种晦涩的 bug 中解脱出来,但是一想到任何依赖于古怪的旧行为的代码现在没有注意变化,我就会感到紧张。如果从来没有实现这个糟糕的特性,情况会更好。这就引出了库维护者的第一个承诺:
+
+#### 第一个约定:避免糟糕的特性
+
+最痛苦的变化是你必须删除一个特性。一般来说,避免糟糕特性的一种方法是少添加特性!没有充分的理由,不要使用公共方法、类、功能或属性。因此:
+
+#### 第二个约定:最小化特性
+
+特性就像孩子:在充满激情的瞬间孕育,但是它们必须要支持多年(LCTT 译注:我怀疑作者在开车,可是我没有证据)。不要因为你能做傻事就去做傻事。不要画蛇添足!
+
+![Serpents with and without feathers][5]
+
+但是,当然,在很多情况下,用户需要你的库中尚未提供的东西,你如何选择合适的功能给他们?以下另一个警示故事。
+
+### 一个来自 asyncio 的警示故事
+
+你可能知道,当你调用一个协程函数,它会返回一个协程对象:
+
+```
+async def my_coroutine():
+ pass
+
+print(my_coroutine())
+```
+
+```
+
+```
+
+你的代码必须 “等待” 这个对象以此来运行协程。人们很容易忘记这一点,所以 asyncio 的开发人员想要一个“调试模式”来捕捉这个错误。当协程在没有等待的情况下被销毁时,调试模式将打印一个警告,并在其创建的行上进行回溯。
+
+当 Yury Selivanov 实现调试模式时,他添加了一个“协程装饰器”的基础特性。装饰器是一个函数,它接收一个协程并返回任何内容。Yury 使用它在每个协程上接入警告逻辑,但是其他人可以使用它将协程转换为字符串 “hi!”。
+
+```
+import sys
+
+def my_wrapper(coro):
+ return 'hi!'
+
+sys.set_coroutine_wrapper(my_wrapper)
+
+async def my_coroutine():
+ pass
+
+print(my_coroutine())
+```
+
+```
+hi!
+```
+
+这是一个地狱般的定制。它改变了 “异步" 的含义。调用一次 `set_coroutine_wrapper` 将在全局永久改变所有的协程函数。正如 [Nathaniel Smith 所说][6]:“一个有问题的 API” 很容易被误用,必须被删除。如果 asyncio 开发人员能够更好地按照其目标来设计该特性,他们就可以避免删除该特性的痛苦。负责任的创建者必须牢记这一点:
+
+#### 第三个约定:保持特性单一
+
+幸运的是,Yury 有良好的判断力,他将该特性标记为临时,所以 asyncio 用户知道不能依赖它。Nathaniel 可以用更单一的功能替换 `set_coroutine_wrapper`,该特性只定制回溯深度。
+
+```
+import sys
+
+sys.set_coroutine_origin_tracking_depth(2)
+
+async def my_coroutine():
+ pass
+
+print(my_coroutine())
+
+```
+
+```
+
+
+RuntimeWarning:'my_coroutine' was never awaited
+
+Coroutine created at (most recent call last)
+ File "script.py", line 8, in
+ print(my_coroutine())
+```
+
+这样好多了。没有可以更改协程的类型的其他全局设置,因此 asyncio 用户无需编写防御代码。造物主应该像 Yury 一样有远见。
+
+#### 第四个约定:标记实验特征“临时”
+
+如果你只是预感你的生物需要犄角和四叉舌,那就引入这些特性,但将它们标记为“临时”。
+
+![Serpent with horns][7]
+
+你可能会发现犄角是无关紧要的,但是四叉舌是有用的。在库的下一个版本中,你可以删除前者并标记后者为正式的。
+
+### 删除特性
+
+无论我们如何明智地指导我们的生物进化,总会有一天想要删除一个正式特征。例如,你可能已经创建了一只蜥蜴,现在你选择删除它的腿。也许你想把这个笨拙的家伙变成一条时尚而现代的蟒蛇。
+
+![Lizard transformed to snake][8]
+
+删除特性主要有两个原因。首先,通过用户反馈或者你自己不断增长的智慧,你可能会发现某个特性是个坏主意。午夜怪癖的古怪行为就是这种情况。或者,最初该特性可能已经很好地适应了你的库环境,但现在生态环境发生了变化,也许另一个神发明了哺乳动物,你的生物想要挤进哺乳动物的小洞穴里,吃掉里面美味的哺乳动物,所以它不得不失去双腿。
+
+![A mouse][9]
+
+同样,Python 标准库会根据语言本身的变化删除特性。考虑 asyncio 的 Lock 功能,在把 `await` 作为一个关键字添加进来之前,它一直在等待:
+
+```
+lock = asyncio.Lock()
+
+async def critical_section():
+ await lock
+ try:
+ print('holding lock')
+ finally:
+ lock.release()
+```
+
+但是现在,我们可以做“异步锁”:
+
+
+```
+lock = asyncio.Lock()
+
+async def critical_section():
+ async with lock:
+ print('holding lock')
+```
+
+新方法好多了!很短,并且在一个大函数中使用其他 try-except 块时不容易出错。因为“尽量找一种,最好是唯一一种明显的解决方案”,[旧语法在 Python 3.7 中被弃用][10],并且很快就会被禁止。
+
+不可避免的是,生态变化会对你的代码产生影响,因此要学会温柔地删除特性。在此之前,请考虑删除它的成本或好处。负责任的维护者不会愿意让用户更改大量代码或逻辑。(还记得 Python 3 在重新添加会 `u` 字符串前缀之前删除它是多么痛苦吗?)如果代码删除是机械性的动作,就像一个简单的搜索和替换,或者如果该特性是危险的,那么它可能值得删除。
+
+#### 是否删除特性
+
+![Balance scales][11]
+
+反对 | 支持
+---|---
+代码必须改变 | 改变是机械性的
+逻辑必须改变 | 特性是危险的
+
+就我们饥饿的蜥蜴而言,我们决定删除它的腿,这样它就可以滑进老鼠洞里吃掉它。我们该怎么做呢?我们可以删除 `walk` 方法,像下面一样修改代码:
+
+```
+class Reptile:
+ def walk(self):
+ print('step step step')
+```
+
+变成这样:
+
+```
+class Reptile:
+ def slither(self):
+ print('slide slide slide')
+```
+
+这不是一个好主意,这个生物习惯于走路!或者,就库而言,你的用户拥有依赖于现有方法的代码。当他们升级到最新库版本时,他们的代码将会崩溃。
+
+```
+# 用户的代码,哦,不!
+Reptile.walk()
+```
+
+因此,负责任的创建者承诺:
+
+#### 第五条预定:温柔地删除
+
+温柔地删除一个特性需要几个步骤。从用腿走路的蜥蜴开始,首先添加新方法 `slither`。接下来,弃用旧方法。
+
+```
+import warnings
+
+class Reptile:
+ def walk(self):
+ warnings.warn(
+ "walk is deprecated, use slither",
+ DeprecationWarning, stacklevel=2)
+ print('step step step')
+
+ def slither(self):
+ print('slide slide slide')
+```
+
+Python 的 warnings 模块非常强大。默认情况下,它会将警告输出到 stderr,每个代码位置只显示一次,但你可以禁用警告或将其转换为异常,以及其它选项。
+
+一旦将这个警告添加到库中,PyCharm 和其他 IDE 就会使用删除线呈现这个被弃用的方法。用户马上就知道该删除这个方法。
+
+> Reptile().~~walk()~~
+
+当他们使用升级后的库运行代码时会发生什么?
+
+```
+$ python3 script.py
+
+DeprecationWarning: walk is deprecated, use slither
+ script.py:14: Reptile().walk()
+
+step step step
+```
+
+默认情况下,他们会在 stderr 上看到警告,但脚本会成功并打印 “step step step”。警告的回溯显示必须修复用户代码的哪一行。(这就是 `stacklevel` 参数的作用:它显示了用户需要更改的调用,而不是库中生成警告的行。)请注意,错误消息有指导意义,它描述了库用户迁移到新版本必须做的事情。
+
+你的用户可能会希望测试他们的代码,并证明他们没有调用弃用的库方法。仅警告不会使单元测试失败,但异常会失败。Python 有一个命令行选项,可以将弃用警告转换为异常。
+
+```
+> python3 -Werror::DeprecationWarning script.py
+
+Traceback (most recent call last):
+ File "script.py", line 14, in
+ Reptile().walk()
+ File "script.py", line 8, in walk
+ DeprecationWarning, stacklevel=2)
+DeprecationWarning: walk is deprecated, use slither
+```
+
+现在,“step step step” 没有输出出来,因为脚本以一个错误终止。
+
+因此,一旦你发布了库的一个版本,该版本会警告已启用的 `walk` 方法,你就可以在下一个版本中安全地删除它。对吧?
+
+考虑一下你的库用户在他们项目的 `requirements` 中可能有什么。
+
+```
+# 用户的 requirements.txt 显示 reptile 包的依赖关系
+reptile
+```
+
+下次他们部署代码时,他们将安装最新版本的库。如果他们尚未处理所有的弃用,那么他们的代码将会崩溃,因为代码仍然依赖 `walk`。你需要温柔一点,你必须向用户做出三个承诺:维护更改日志,选择版本化方案和编写升级指南。
+
+#### 第六个约定:维护变更日志
+
+你的库必须有更改日志,其主要目的是宣布用户所依赖的功能何时被弃用或删除。
+
+> **版本 1.1 中的更改**
+>
+> **新特性**
+>
+> * 新功能 Reptile.slither()
+>
+> **弃用**
+>
+> * Reptile.walk() 已弃用,将在 2.0 版本中删除,请使用 slither()
+
+负责任的创建者会使用版本号来表示库发生了怎样的变化,以便用户能够对升级做出明智的决定。“版本化方案”是一种用于交流变化速度的语言。
+
+#### 第七个约定:选择一个版本化方案
+
+有两种广泛使用的方案,[语义版本控制][12]和基于时间的版本控制。我推荐任何库都进行语义版本控制。Python 的风格在 [PEP 440][13] 中定义,像 `pip` 这样的工具可以理解语义版本号。
+
+如果你为库选择语义版本控制,你可以使用版本号温柔地删除腿,例如:
+
+> 1.0: 第一个“稳定”版,带有 `walk()`
+> 1.1: 添加 `slither()`,废弃 `walk()`
+> 2.0: 删除 `walk()`
+
+你的用户依赖于你的库的版本应该有一个范围,例如:
+
+```
+# 用户的 requirements.txt
+reptile>=1,<2
+```
+
+这允许他们在主要版本中自动升级,接收错误修正并可能引发一些弃用警告,但不会升级到**下**个主要版本并冒着更改破坏其代码的风险。
+
+如果你遵循基于时间的版本控制,则你的版本可能会编号:
+
+> 2017.06.0: 2017 年 6 月的版本
+> 2018.11.0: 添加 `slither()`,废弃 `walk()`
+> 2019.04.0: 删除 `walk()`
+
+用户可以这样依赖于你的库:
+
+```
+# 用户的 requirements.txt,基于时间控制的版本
+reptile==2018.11.*
+```
+
+这非常棒,但你的用户如何知道你的版本方案,以及如何测试代码来进行弃用呢?你必须告诉他们如何升级。
+
+#### 第八个约定:写一个升级指南
+
+下面是一个负责任的库创建者如何指导用户:
+
+> **升级到 2.0**
+>
+> **从弃用的 API 迁移**
+>
+> 请参阅更改日志以了解已弃用的特性。
+>
+> **启用弃用警告**
+>
+> 升级到 1.1 并使用以下代码测试代码:
+>
+> `python -Werror::DeprecationWarning`
+>
+> 现在可以安全地升级了。
+
+你必须通过向用户显示命令行选项来教会用户如何处理弃用警告。并非所有 Python 程序员都知道这一点 —— 我自己就每次都得查找这个语法。注意,你必须*发布*一个版本,它输出来自每个弃用的 API 的警告,以便用户可以在再次升级之前使用该版本进行测试。在本例中,1.1 版本是小版本。它允许你的用户逐步重写代码,分别修复每个弃用警告,直到他们完全迁移到最新的 API。他们可以彼此独立地测试代码和库的更改,并隔离 bug 的原因。
+
+如果你选择语义版本控制,则此过渡期将持续到下一个主要版本,从 1.x 到 2.0,或从 2.x 到 3.0 以此类推。删除生物腿部的温柔方法是至少给它一个版本来调整其生活方式。不要一次性把腿删掉!
+
+![A skink][14]
+
+版本号、弃用警告、更改日志和升级指南可以协同工作,在不违背与用户约定的情况下温柔地改进你的库。[Twisted 项目的兼容性政策][15] 解释的很漂亮:
+
+> “先行者总是自由的”
+>
+> 运行的应用程序在没有任何警告的情况下都可以升级为 Twisted 的一个次要版本。
+>
+> 换句话说,任何运行其测试而不触发 Twisted 警告的应用程序应该能够将其 Twisted 版本升级至少一次,除了可能产生新警告之外没有任何不良影响。
+>
+
+现在,我们的造物主已经获得了智慧和力量,可以通过添加方法来添加特性,并温柔地删除它们。我们还可以通过添加参数来添加特性,但这带来了新的难度。你准备好了吗?
+
+### 添加参数
+
+想象一下,你只是给了你的蛇形生物一对翅膀。现在你必须允许它选择是滑行还是飞行。目前它的 `move` 功能只接受一个参数。
+
+```
+# 你的库代码
+def move(direction):
+ print(f'slither {direction}')
+
+# 用户的应用
+move('north')
+```
+
+你想要添加一个 `mode` 参数,但如果用户升级库,这会破坏他们的代码,因为他们只传递了一个参数。
+
+```
+# 你的库代码
+def move(direction, mode):
+ assert mode in ('slither', 'fly')
+ print(f'{mode} {direction}')
+
+# 一个用户的代码,出现错误!
+move('north')
+```
+
+一个真正聪明的创建者者会承诺不会以这种方式破坏用户的代码。
+
+#### 第九条约定:兼容地添加参数
+
+要保持这个约定,请使用保留原始行为的默认值添加每个新参数。
+
+```
+# 你的库代码
+def move(direction, mode='slither'):
+ assert mode in ('slither', 'fly')
+ print(f'{mode} {direction}')
+
+# 用户的应用
+move('north')
+```
+
+随着时间推移,参数是函数演化的自然历史。它们首先列出最老的参数,每个都有默认值。库用户可以传递关键字参数以选择特定的新行为,并接受所有其他行为的默认值。
+
+```
+# 你的库代码
+def move(direction,
+ mode='slither',
+ turbo=False,
+ extra_sinuous=False,
+ hail_lyft=False):
+ # ...
+
+# 用户应用
+move('north', extra_sinuous=True)
+```
+
+但是有一个危险,用户可能会编写如下代码:
+
+```
+# 用户应用,简写
+move('north', 'slither', False, True)
+```
+
+如果在你在库的下一个主要版本中去掉其中一个参数,例如 `turbo`,会发生什么?
+
+```
+# 你的库代码,下一个主要版本中 "turbo" 被删除
+def move(direction,
+ mode='slither',
+ extra_sinuous=False,
+ hail_lyft=False):
+ # ...
+
+# 用户应用,简写
+move('north', 'slither', False, True)
+```
+
+用户的代码仍然能编译,这是一件坏事。代码停止了曲折的移动并开始招呼 Lyft,这不是它的本意。我相信你可以预测我接下来要说的内容:删除参数需要几个步骤。当然,首先弃用 `trubo` 参数。我喜欢这种技术,它可以检测任何用户的代码是否依赖于这个参数。
+
+```
+# 你的库代码
+_turbo_default = object()
+
+def move(direction,
+ mode='slither',
+ turbo=_turbo_default,
+ extra_sinuous=False,
+ hail_lyft=False):
+ if turbo is not _turbo_default:
+ warnings.warn(
+ "'turbo' is deprecated",
+ DeprecationWarning,
+ stacklevel=2)
+ else:
+ # The old default.
+ turbo = False
+```
+
+但是你的用户可能不会注意到警告。警告声音不是很大:它们可以在日志文件中被抑制或丢失。用户可能会漫不经心地升级到库的下一个主要版本——那个删除 `turbo` 的版本。他们的代码运行时将没有错误、默默做错误的事情!正如 Python 之禅所说:“错误绝不应该被默默 pass”。实际上,爬行动物的听力很差,所有当它们犯错误时,你必须非常大声地纠正它们。
+
+![Woman riding an alligator][16]
+
+保护用户的最佳方法是使用 Python 3 的星型语法,它要求调用者传递关键字参数。
+
+```
+# 你的库代码
+# 所有 “*” 后的参数必须以关键字方式传输。
+def move(direction,
+ *,
+ mode='slither',
+ turbo=False,
+ extra_sinuous=False,
+ hail_lyft=False):
+ # ...
+
+# 用户代码,简写
+# 错误!不能使用位置参数,关键字参数是必须的
+move('north', 'slither', False, True)
+```
+
+有了这个星,以下是唯一允许的语法:
+
+```
+# 用户代码
+move('north', extra_sinuous=True)
+```
+
+现在,当你删除 `turbo` 时,你可以确定任何依赖于它的用户代码都会明显地提示失败。如果你的库也支持 Python2,这没有什么大不了。你可以模拟星型语法([归功于 Brett Slatkin][17]):
+
+```
+# 你的库代码,兼容 Python 2
+def move(direction, **kwargs):
+ mode = kwargs.pop('mode', 'slither')
+ turbo = kwargs.pop('turbo', False)
+ sinuous = kwargs.pop('extra_sinuous', False)
+ lyft = kwargs.pop('hail_lyft', False)
+
+ if kwargs:
+ raise TypeError('Unexpected kwargs: %r'
+ % kwargs)
+
+# ...
+```
+
+要求关键字参数是一个明智的选择,但它需要远见。如果允许按位置传递参数,则不能仅在以后的版本中将其转换为仅关键字。所以,现在加上星号。你可以在 asyncio API 中观察到,它在构造函数、方法和函数中普遍使用星号。尽管到目前为止,`Lock` 只接受一个可选参数,但 asyncio 开发人员立即添加了星号。这是幸运的。
+
+```
+# In asyncio.
+class Lock:
+ def __init__(self, *, loop=None):
+ # ...
+```
+
+现在,我们已经获得了改变方法和参数的智慧,同时保持与用户的约定。现在是时候尝试最具挑战性的进化了:在不改变方法或参数的情况下改变行为。
+
+### 改变行为
+
+假设你创造的生物是一条响尾蛇,你想教它一种新行为。
+
+![Rattlesnake][18]
+
+横向移动!这个生物的身体看起来是一样的,但它的行为会发生变化。我们如何为这一进化步骤做好准备?
+
+![][19]
+
+*Image by HCA [[CC BY-SA 4.0][20]], [via Wikimedia Commons][21], 由 Opensource.com 修改*
+
+当行为在没有新函数或新参数的情况下发生更改时,负责任的创建者可以从 Python 标准库中学习。很久以前,os 模块引入了 `stat` 函数来获取文件统计信息,比如创建时间。起初,这个时间总是整数。
+
+```
+>>> os.stat('file.txt').st_ctime
+1540817862
+```
+
+有一天,核心开发人员决定在 `os.stat` 中使用浮点数来提供亚秒级精度。但他们担心现有的用户代码还没有做好准备更改。于是他们在 Python 2.3 中创建了一个设置 `stat_float_times`,默认情况下是 `False` 。用户可以将其设置为 True 来选择浮点时间戳。
+
+```
+>>> # Python 2.3.
+>>> os.stat_float_times(True)
+>>> os.stat('file.txt').st_ctime
+1540817862.598021
+```
+
+从 Python 2.5 开始,浮点时间成为默认值,因此 2.5 及之后版本编写的任何新代码都可以忽略该设置并期望得到浮点数。当然,你可以将其设置为 `False` 以保持旧行为,或将其设置为 `True` 以确保所有 Python 版本都得到浮点数,并为删除 `stat_float_times` 的那一天准备代码。
+
+多年过去了,在 Python 3.1 中,该设置已被弃用,以便为人们为遥远的未来做好准备,最后,经过数十年的旅程,[这个设置被删除][22]。浮点时间现在是唯一的选择。这是一个漫长的过程,但负责任的神灵是有耐心的,因为我们知道这个渐进的过程很有可能于意外的行为变化拯救用户。
+
+#### 第十个约定:逐渐改变行为
+
+以下是步骤:
+
+ * 添加一个标志来选择新行为,默认为 `False`,如果为 `False` 则发出警告
+ * 将默认值更改为 `True`,表示完全弃用标记
+ * 删除该标志
+
+如果你遵循语义版本控制,版本可能如下:
+
+库版本 | 库 API | 用户代码
+---|---|---
+1.0 | 没有标志 | 预期的旧行为
+1.1 | 添加标志,默认为 `False`,如果是 `False`,则警告 | 设置标志为 `True`,处理新行为
+2.0 | 改变默认为 `True`,完全弃用标志 | 处理新行为
+3.0 | 移除标志 | 处理新行为
+
+你需要**两**个主要版本来完成该操作。如果你直接从“添加标志,默认为 `False`,如果是 `False` 则发出警告”变到“删除标志”,而没有中间版本,那么用户的代码将无法升级。为 1.1 正确编写的用户代码必须能够升级到下一个版本,除了新警告之外,没有任何不良影响,但如果在下一个版本中删除了该标志,那么该代码将崩溃。一个负责任的神明从不违反扭曲的政策:“先行者总是自由的”。
+
+### 负责任的创建者
+
+![Demeter][23]
+
+我们的 10 个约定大致可以分为三类:
+
+**谨慎发展**
+
+ 1. 避免不良功能
+ 2. 最小化特性
+ 3. 保持功能单一
+ 4. 标记实验特征“临时”
+ 5. 温柔删除功能
+
+**严格记录历史**
+
+ 1. 维护更改日志
+ 2. 选择版本方案
+ 3. 编写升级指南
+
+**缓慢而明显地改变**
+
+ 1. 兼容添加参数
+ 2. 逐渐改变行为
+
+如果你对你所创造的物种保持这些约定,你将成为一个负责任的造物主。你的生物的身体可以随着时间的推移而进化,一直在改善和适应环境的变化,而不是在生物没有准备好就突然改变。如果你维护一个库,请向用户保留这些承诺,这样你就可以在不破坏依赖该库的代码的情况下对库进行更新。
+
+* * *
+
+_这篇文章最初是在 [A. Jesse Jiryu Davis 的博客上'][24]出现的,经允许转载。_
+
+插图参考:
+
+ * [《世界进步》, Delphian Society, 1913][25]
+ * [《走进蛇的历史》, Charles Owen, 1742][26]
+ * [关于哥斯达黎加的 batrachia 和爬行动物,关于尼加拉瓜和秘鲁的爬行动物和鱼类学的记录, Edward Drinker Cope, 1875][27]
+ * [《自然史》, Richard Lydekker et. al., 1897][28]
+ * [Mes Prisons, Silvio Pellico, 1843][29]
+ * [Tierfotoagentur / m.blue-shadow][30]
+ * [洛杉矶公共图书馆, 1930][31]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/api-evolution-right-way
+
+作者:[A. Jesse][a]
+选题:[lujun9972][b]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/emptysquare
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/browser_desktop_website_checklist_metrics.png?itok=OKKbl1UR (Browser of things)
+[2]: https://opensource.com/sites/default/files/uploads/praise-the-creator.jpg (Serpents)
+[3]: https://opensource.com/sites/default/files/uploads/bite.jpg (Man being chased by an alligator)
+[4]: https://bugs.python.org/issue13936
+[5]: https://opensource.com/sites/default/files/uploads/feathers.jpg (Serpents with and without feathers)
+[6]: https://bugs.python.org/issue32591
+[7]: https://opensource.com/sites/default/files/uploads/horns.jpg (Serpent with horns)
+[8]: https://opensource.com/sites/default/files/uploads/lizard-to-snake.jpg (Lizard transformed to snake)
+[9]: https://opensource.com/sites/default/files/uploads/mammal.jpg (A mouse)
+[10]: https://bugs.python.org/issue32253
+[11]: https://opensource.com/sites/default/files/uploads/scale.jpg (Balance scales)
+[12]: https://semver.org
+[13]: https://www.python.org/dev/peps/pep-0440/
+[14]: https://opensource.com/sites/default/files/uploads/skink.jpg (A skink)
+[15]: https://twistedmatrix.com/documents/current/core/development/policy/compatibility-policy.html
+[16]: https://opensource.com/sites/default/files/uploads/loudly.jpg (Woman riding an alligator)
+[17]: http://www.informit.com/articles/article.aspx?p=2314818
+[18]: https://opensource.com/sites/default/files/uploads/rattlesnake.jpg (Rattlesnake)
+[19]: https://opensource.com/sites/default/files/articles/neonate_sidewinder_sidewinding_with_tracks_unlabeled.png
+[20]: https://creativecommons.org/licenses/by-sa/4.0
+[21]: https://commons.wikimedia.org/wiki/File:Neonate_sidewinder_sidewinding_with_tracks_unlabeled.jpg
+[22]: https://bugs.python.org/issue31827
+[23]: https://opensource.com/sites/default/files/uploads/demeter.jpg (Demeter)
+[24]: https://emptysqua.re/blog/api-evolution-the-right-way/
+[25]: https://www.gutenberg.org/files/42224/42224-h/42224-h.htm
+[26]: https://publicdomainreview.org/product-att/artist/charles-owen/
+[27]: https://archive.org/details/onbatrachiarepti00cope/page/n3
+[28]: https://www.flickr.com/photos/internetarchivebookimages/20556001490
+[29]: https://www.oldbookillustrations.com/illustrations/stationery/
+[30]: https://www.alamy.com/mediacomp/ImageDetails.aspx?ref=D7Y61W
+[31]: https://www.vintag.es/2013/06/riding-alligator-c-1930s.html
diff --git a/published/201905/20190503 Check your spelling at the command line with Ispell.md b/published/201905/20190503 Check your spelling at the command line with Ispell.md
new file mode 100644
index 0000000000..a4c84a78d8
--- /dev/null
+++ b/published/201905/20190503 Check your spelling at the command line with Ispell.md
@@ -0,0 +1,82 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10895-1.html)
+[#]: subject: (Check your spelling at the command line with Ispell)
+[#]: via: (https://opensource.com/article/19/5/spelling-command-line-ispell)
+[#]: author: (Scott Nesbitt https://opensource.com/users/scottnesbitt)
+
+使用 Ispell 在命令行中检查拼写
+======
+
+> Ispell 可以帮助你在纯文本中消除超过 50 种语言的拼写错误。
+
+
+
+好的拼写是一种技巧。它是一项需要时间学习和掌握的技能。也就是说,有些人从来没有完全掌握这种技能,我知道有两三个出色的作家就无法完全掌握拼写。
+
+即使你拼写得很好,偶尔也会输入错字。特别是在最后期限前如果你快速敲击键盘,那就更是如此。无论你的拼写的是什么,通过拼写检查器检查你所写的内容总是一个好主意。
+
+我用[纯文本][2]完成了我的大部分写作,并经常使用名为 [Aspell][3] 的命令行拼写检查器来完成这项工作。Aspell 不是唯一的工具。你可能还想要看下不错的 [Ispell][4]。
+
+### 入门
+
+自 1971 年以来,Ispell 就以各种形式出现过。不要被它的年龄欺骗。Ispell 仍然是一个可以在 21 世纪高效使用的应用。
+
+在开始之前,请打开终端窗口并输入 `which ispell` 来检查计算机上是否安装了 Ispell。如果未安装,请打开发行版的软件包管理器并从那里安装 Ispell。
+
+不要忘记为你使用的语言安装词典。我唯一使用的语言是英语,所以我只需下载美国和英国英语字典。你可以不局限于我的(也是唯一的)母语。Ispell 有[超过 50 种语言的词典][5]。
+
+![Installing Ispell dictionaries][6]
+
+### 使用 Ispell
+
+如果你还没有猜到,Ispell 只能用在文本文件。这包括用 HTML、LaTeX 和 [nroff 或 troff][7] 标记的文档。之后会有更多相关内容。
+
+要开始使用,请打开终端窗口并进入包含要运行拼写检查的文件的目录。输入 `ispell` 后跟文件名,然后按回车键。
+
+![Checking spelling with Ispell][8]
+
+Ispell 高亮了它无法识别的第一个词。如果单词拼写错误,Ispell 通常会提供一个或多个备选方案。按下 `R`,然后按下正确选择旁边的数字。在上面的截图中,我按了 `R` 和 `0` 来修复错误。
+
+另一方面,如果单词拼写正确,请按下 `A` 然后移动到下一个拼写错误的单词。
+
+继续这样做直到到达文件的末尾。Ispell 会保存你的更改,创建你刚检查的文件的备份(扩展名为 `.bak`),然后关闭。
+
+### 其他几个选项
+
+此示例说明了 Ispell 的基本用法。这个程序有[很多选项][9],有些你*可能*会用到,而另一些你*可能永远*不会使用。让我们快速看下我经常使用的一些。
+
+之前我提到过 Ispell 可以用于某些标记语言。你需要告诉它文件的格式。启动 Ispell 时,为 TeX 或 LaTeX 文件添加 `-t`,为 HTML 文件添加 `-H`,对于 groff 或 troff 文件添加 `-n`。例如,如果输入 `ispell -t myReport.tex`,Ispell 将忽略所有标记。
+
+如果你不想在检查文件后创建备份文件,请将 `-x` 添加到命令行。例如,`ispell -x myFile.txt`。
+
+如果 Ispell 遇到拼写正确但不在其字典中的单词,比如名字,会发生什么?你可以按 `I` 将该单词添加到个人单词列表中。这会将单词保存到 `/home` 目录下的 `.ispell_default` 的文件中。
+
+这些是我在使用 Ispell 时最有用的选项,但请查看 [Ispell 的手册页][9]以了解其所有选项。
+
+Ispell 比 Aspell 或其他命令行拼写检查器更好或者更快么?我会说它不比其他的差或者慢。Ispell 不是适合所有人。它也许也不适合你。但有更多选择也不错,不是么?
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/spelling-command-line-ispell
+
+作者:[Scott Nesbitt][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/scottnesbitt
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/command_line_prompt.png?itok=wbGiJ_yg (Command line prompt)
+[2]: https://plaintextproject.online
+[3]: https://opensource.com/article/18/2/how-check-spelling-linux-command-line-aspell
+[4]: https://www.cs.hmc.edu/~geoff/ispell.html
+[5]: https://www.cs.hmc.edu/~geoff/ispell-dictionaries.html
+[6]: https://opensource.com/sites/default/files/uploads/ispell-install-dictionaries.png (Installing Ispell dictionaries)
+[7]: https://opensource.com/article/18/2/how-format-academic-papers-linux-groff-me
+[8]: https://opensource.com/sites/default/files/uploads/ispell-checking.png (Checking spelling with Ispell)
+[9]: https://www.cs.hmc.edu/~geoff/ispell-man.html
diff --git a/published/201905/20190503 Say goodbye to boilerplate in Python with attrs.md b/published/201905/20190503 Say goodbye to boilerplate in Python with attrs.md
new file mode 100644
index 0000000000..f6d3d5a0c0
--- /dev/null
+++ b/published/201905/20190503 Say goodbye to boilerplate in Python with attrs.md
@@ -0,0 +1,105 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Say goodbye to boilerplate in Python with attrs)
+[#]: via: (https://opensource.com/article/19/5/python-attrs)
+[#]: author: (Moshe Zadka https://opensource.com/users/moshez/users/moshez)
+
+使用 attrs 来告别 Python 中的样板
+======
+
+> 在我们覆盖 7 个 PyPI 库的系列文章中了解更多解决 Python 问题的信息。
+
+
+
+Python是当今使用最多[流行的编程语言][2]之一,因为:它是开源的,它具有广泛的用途(例如 Web 编程、业务应用、游戏、科学编程等等),它有一个充满活力和专注的社区支持它。这个社区是我们在 [Python Package Index][3](PyPI)中提供如此庞大、多样化的软件包的原因,用以扩展和改进 Python。并解决不可避免的问题。
+
+在本系列中,我们将介绍七个可以帮助你解决常见 Python 问题的 PyPI 库。今天,我们将研究 [attrs][4],这是一个帮助你快速编写简洁、正确的代码的 Python 包。
+
+### attrs
+
+如果你已经写过一段时间的 Python,那么你可能习惯这样写代码:
+
+```
+class Book(object):
+
+ def __init__(self, isbn, name, author):
+ self.isbn = isbn
+ self.name = name
+ self.author = author
+```
+
+接着写一个 `__repr__` 函数。否则,很难记录 `Book` 的实例:
+
+
+```
+def __repr__(self):
+ return f"Book({self.isbn}, {self.name}, {self.author})"
+```
+
+接下来你会写一个好看的 docstring 来记录期望的类型。但是你注意到你忘了添加 `edition` 和 `published_year` 属性,所以你必须在五个地方修改它们。
+
+如果你不必这么做如何?
+
+```
+@attr.s(auto_attribs=True)
+class Book(object):
+ isbn: str
+ name: str
+ author: str
+ published_year: int
+ edition: int
+```
+
+使用新的类型注释语法注释类型属性,`attrs` 会检测注释并创建一个类。
+
+ISBN 有特定格式。如果我们想强行使用该格式怎么办?
+
+```
+@attr.s(auto_attribs=True)
+class Book(object):
+ isbn: str = attr.ib()
+ @isbn.validator
+ def pattern_match(self, attribute, value):
+ m = re.match(r"^(\d{3}-)\d{1,3}-\d{2,3}-\d{1,7}-\d$", value)
+ if not m:
+ raise ValueError("incorrect format for isbn", value)
+ name: str
+ author: str
+ published_year: int
+ edition: int
+```
+
+`attrs` 库也对[不可变式编程][5]支持良好。将第一行改成 `@attr.s(auto_attribs=True, frozen=True)` 意味着 `Book` 现在是不可变的:尝试修改一个属性将会引发一个异常。相反,比如,如果希望将发布日期向后一年,我们可以修改成 `attr.evolve(old_book, published_year=old_book.published_year+1)` 来得到一个*新的*实例。
+
+本系列的下一篇文章我们将来看下 `singledispatch`,一个能让你向 Python 库添加方法的库。
+
+#### 查看本系列先前的文章
+
+* [Cython][6]
+* [Black][7]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/python-attrs
+
+作者:[Moshe Zadka][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/moshez/users/moshez
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/programming_code_keyboard_orange_hands.png?itok=G6tJ_64Y (Programming at a browser, orange hands)
+[2]: https://opensource.com/article/18/5/numbers-python-community-trends
+[3]: https://pypi.org/
+[4]: https://pypi.org/project/attrs/
+[5]: https://opensource.com/article/18/10/functional-programming-python-immutable-data-structures
+[6]: https://linux.cn/article-10859-1.html
+[7]: https://linux.cn/article-10864-1.html
diff --git a/published/201905/20190504 Add methods retroactively in Python with singledispatch.md b/published/201905/20190504 Add methods retroactively in Python with singledispatch.md
new file mode 100644
index 0000000000..b0704dd59f
--- /dev/null
+++ b/published/201905/20190504 Add methods retroactively in Python with singledispatch.md
@@ -0,0 +1,105 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10887-1.html)
+[#]: subject: (Add methods retroactively in Python with singledispatch)
+[#]: via: (https://opensource.com/article/19/5/python-singledispatch)
+[#]: author: (Moshe Zadka https://opensource.com/users/moshez)
+
+使用 singledispatch 在 Python 中追溯地添加方法
+======
+
+> 在我们覆盖 7 个 PyPI 库的系列文章中了解更多解决 Python 问题的信息。
+
+
+
+Python 是当今使用最多[流行的编程语言][2]之一,因为:它是开源的,它具有广泛的用途(例如 Web 编程、业务应用、游戏、科学编程等等),它有一个充满活力和专注的社区支持它。这个社区是我们在 [Python Package Index][3](PyPI)中提供如此庞大、多样化的软件包的原因,用以扩展和改进 Python。并解决不可避免的问题。
+
+在本系列中,我们将介绍七个可以帮助你解决常见 Python 问题的 PyPI 库。今天,我们将研究 [singledispatch][4],这是一个能让你追溯地向 Python 库添加方法的库。
+
+### singledispatch
+
+想象一下,你有一个有 Circle、Square 等类的“形状”库。
+
+Circle 类有半径、Square 有边、Rectangle 有高和宽。我们的库已经存在,我们不想改变它。
+
+然而,我们想给库添加一个面积计算。如果我们不会和其他人共享这个库,我们只需添加 `area` 方法,这样我们就能调用 `shape.area()` 而无需关心是什么形状。
+
+虽然可以进入类并添加一个方法,但这是一个坏主意:没有人希望他们的类会被添加新的方法,程序会因奇怪的方式出错。
+
+相反,functools 中的 `singledispatch` 函数可以帮助我们。
+
+
+```
+@singledispatch
+def get_area(shape):
+ raise NotImplementedError("cannot calculate area for unknown shape",
+ shape)
+```
+
+`get_area` 函数的“基类”实现会报错。这保证了如果我们出现一个新的形状时,我们会明确地报错而不是返回一个无意义的结果。
+
+
+```
+@get_area.register(Square)
+def _get_area_square(shape):
+ return shape.side ** 2
+@get_area.register(Circle)
+def _get_area_circle(shape):
+ return math.pi * (shape.radius ** 2)
+```
+
+这种方式的好处是如果某人写了一个匹配我们代码的*新*形状,它们可以自己实现 `get_area`。
+
+
+```
+from area_calculator import get_area
+
+@attr.s(auto_attribs=True, frozen=True)
+class Ellipse:
+ horizontal_axis: float
+ vertical_axis: float
+
+@get_area.register(Ellipse)
+def _get_area_ellipse(shape):
+ return math.pi * shape.horizontal_axis * shape.vertical_axis
+```
+
+*调用* `get_area` 很直接。
+
+
+```
+print(get_area(shape))
+```
+
+这意味着我们可以将大量的 `if isintance()`/`elif isinstance()` 的代码以这种方式修改,而无需修改接口。下一次你要修改 if isinstance,你试试 `singledispatch!
+
+在本系列的下一篇文章中,我们将介绍 tox,一个用于自动化 Python 代码测试的工具。
+
+#### 回顾本系列的前几篇文章:
+
+ * [Cython][5]
+ * [Black][6]
+ * [attrs][7]
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/python-singledispatch
+
+作者:[Moshe Zadka][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/moshez
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/computer_code_programming_laptop.jpg?itok=ormv35tV
+[2]: https://opensource.com/article/18/5/numbers-python-community-trends
+[3]: https://pypi.org/
+[4]: https://pypi.org/project/singledispatch/
+[5]: https://linux.cn/article-10859-1.html
+[6]: https://linux.cn/article-10864-1.html
+[7]: https://linux.cn/article-10871-1.html
diff --git a/published/201905/20190504 Using the force at the Linux command line.md b/published/201905/20190504 Using the force at the Linux command line.md
new file mode 100644
index 0000000000..8b340047f6
--- /dev/null
+++ b/published/201905/20190504 Using the force at the Linux command line.md
@@ -0,0 +1,219 @@
+[#]: collector: (lujun9972)
+[#]: translator: (Moelf)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10881-1.html)
+[#]: subject: (Using the force at the Linux command line)
+[#]: via: (https://opensource.com/article/19/5/may-the-force-linux)
+[#]: author: (Alan Formy-Duval https://opensource.com/users/alanfdoss)
+
+在 Linux 命令行下使用“原力”
+======
+
+> 和绝地武士的原力一样,`-f` 参数是很强大的,并伴随着潜在的毁灭性,在你能用好的时候又很便利。
+
+
+
+近些年来,科幻发烧友开始在每年的 5 月 4 日庆祝[星战节][2],其口号是绝地武士的祝福语”愿原力和你同在“。虽然大多数 Linux 用户可能不是绝地武士,但我们依然可以使用原力。自然,如果尤达大师只是叫天行者卢克输入什么 “man X-Wing 战机“、“man 原力”,或者 RTFM(去读原力手册,肯定是这个意思对不对),那这电影肯定没啥意思。(LCTT 译注:RTFM 是 “Read The Fucking Manual” 的缩写 —— 读读该死的手册吧)。
+
+很多 Linux 命令都有 `-f` 选项,意思你现在肯定也知道了,原力(LCTT 译注:force 选项原意是“强制”)!很多时候你先尝试执行命令然后失败了,或者提示你需要补充输入更多选项。通常这都是为了保护你试着改变的文件,或者告诉用户该设备正忙或文件已经存在之类的。
+
+如果你不想被这些提醒打扰或者压根就不在乎,就使用原力吧!
+
+不过要小心,通常使用原力选项是摧毁性的。所以用户一定要格外注意!并且确保你知道自己在做什么!用原力就要承担后果!
+
+以下是一些常见 Linux 命令的原力选项和它们的效果,以及常见使用场景。
+
+### cp
+
+`cp` 是 “copy” 的缩写,这是个被用来复制文件或者目录的命令。其 [man 页面][3] 说:
+
+> -f, --force
+>
+> 如果已经存在的目标文件无法被打开,删除它并重试
+
+你可能会用它来处理只读状态的文件:
+
+```
+[alan@workstation ~]$ ls -l
+total 8
+-rw-rw---- 1 alan alan 13 May 1 12:24 Hoth
+-r--r----- 1 alan alan 14 May 1 12:23 Naboo
+[alan@workstation ~]$ cat Hoth Naboo
+Icy Planet
+
+Green Planet
+```
+
+如果你想要复制一个叫做 `Hoth` 的文件到 `Naboo`,但因为 `Naboo` 目前是只读状态,`cp` 命令不会执行:
+
+```
+[alan@workstation ~]$ cp Hoth Naboo
+cp: cannot create regular file 'Naboo': Permission denied
+```
+
+但通过使用原力,`cp` 会强制执行。`Hoth` 的内容和文件权限会直接被复制到 `Naboo`:
+
+
+```
+[alan@workstation ~]$ cp -f Hoth Naboo
+[alan@workstation ~]$ cat Hoth Naboo
+Icy Planet
+
+Icy Planet
+
+[alan@workstation ~]$ ls -l
+total 8
+-rw-rw---- 1 alan alan 12 May 1 12:32 Hoth
+-rw-rw---- 1 alan alan 12 May 1 12:38 Naboo
+```
+
+### ln
+
+`ln` 命令是用来在文件之间建立链接的,其 [man 页面][4] 描述的原力选项如下:
+
+
+> -f, --force
+>
+> 移除当前存在的文件
+
+
+假设莱娅公主在维护一个 Java 应用服务器,并且她又一个存放这所有 Java 版本的目录,比如:
+
+```
+leia@workstation:/usr/lib/java$ ls -lt
+total 28
+lrwxrwxrwx 1 leia leia 12 Mar 5 2018 jdk -> jdk1.8.0_162
+drwxr-xr-x 8 leia leia 4096 Mar 5 2018 jdk1.8.0_162
+drwxr-xr-x 8 leia leia 4096 Aug 28 2017 jdk1.8.0_144
+```
+
+正如你所看到的,这里有很多个版本的 JDK,并有一个符号链接指向最新版的 JDK。她接着用一个脚本来安装最新版本的 JDK。但是如果没有原力选项的话以下命令是不会成功的:
+
+```
+tar xvzmf jdk1.8.0_181.tar.gz -C jdk1.8.0_181/
+ln -vs jdk1.8.0_181 jdk
+```
+
+`tar` 命令会解压 .gz 文件到一个特定的目标目录,但 `ln` 命令会失败,因为这个链接已经存在了。这样的结果是该符号链接不会指向最新版本的 JDK:
+
+```
+leia@workstation:/usr/lib/java$ ln -vs jdk1.8.0_181 jdk
+ln: failed to create symbolic link 'jdk/jdk1.8.0_181': File exists
+leia@workstation:/usr/lib/java$ ls -lt
+total 28
+drwxr-x--- 2 leia leia 4096 May 1 15:44 jdk1.8.0_181
+lrwxrwxrwx 1 leia leia 12 Mar 5 2018 jdk -> jdk1.8.0_162
+drwxr-xr-x 8 leia leia 4096 Mar 5 2018 jdk1.8.0_162
+drwxr-xr-x 8 leia leia 4096 Aug 28 2017 jdk1.8.0_144
+```
+
+她可以通过使用原力选项强制 `ln` 更新链接,但这里她还需要使用 `-n`,`-n` 是因为这个情况下链接其实指向一个目录而非文件。这样的话,链接就会正确指向最新版本的JDK了。
+
+```
+leia@workstation:/usr/lib/java$ ln -vsnf jdk1.8.0_181 jdk
+'jdk' -> 'jdk1.8.0_181'
+leia@workstation:/usr/lib/java$ ls -lt
+total 28
+lrwxrwxrwx 1 leia leia 12 May 1 16:13 jdk -> jdk1.8.0_181
+drwxr-x--- 2 leia leia 4096 May 1 15:44 jdk1.8.0_181
+drwxr-xr-x 8 leia leia 4096 Mar 5 2018 jdk1.8.0_162
+drwxr-xr-x 8 leia leia 4096 Aug 28 2017 jdk1.8.0_144
+```
+
+你可以配置 Java 应用使其一直使用在 `/usr/lib/java/jdk` 处的 JDK,而不用每次升级都更新。
+
+### rm
+
+`rm` 命令是 “remove” 的缩写(也叫做删除,因为某些系统 `del` 命令也干这事)。其 [man 页面][5] 对原力选项的描述如下:
+
+
+> -f, --force
+>
+> 无视不存在的文件或者参数,不向用户确认
+
+如果你尝试删除一个只读的文件,`rm` 会寻求用户的确认:
+
+```
+[alan@workstation ~]$ ls -l
+total 4
+-r--r----- 1 alan alan 16 May 1 11:38 B-wing
+[alan@workstation ~]$ rm B-wing
+rm: remove write-protected regular file 'B-wing'?
+```
+
+你一定要输入 `y` 或者 `n` 来回答确认才能让 `rm` 命令继续。如果你使用原力选项,`rm` 就不会寻求你的确认而直接删除文件:
+
+```
+[alan@workstation ~]$ rm -f B-wing
+[alan@workstation ~]$ ls -l
+total 0
+[alan@workstation ~]$
+```
+
+最常见的 `rm` 原力选项用法是用来删除目录。 `-r`(递归)选项会让 `rm` 删除目录,当和原力选项结合起来,它会删除这个文件夹及其内容而无需用户确认。
+
+`rm` 命令和一些选项结合起来是致命的,一直以来互联网上都有关于误用 `rm` 删除整个系统之类的玩笑和鬼故事。比如最出名的一不当心执行 `rm -rf .` 会直接删除目录和文件(没有用户确认)。(LCTT 译注:真的这么干过的校对飘过~~请按下回车前再三确认:我是谁,我在哪里,我在干什么)
+
+### userdel
+
+`userdel` 命令使用来删除用户的。其 [man 页面][6] 是这样描述它的原力选项的:
+
+> -f, --force
+>
+> 这个选项会强制移除用户,即便用户当前处于登入状态。它同时还会强制
+删除用户的目录和邮件存储,即便这个用户目录被别人共享或者邮件存储并不
+属于这个用户。如果 `USERGROUPS_ENAB` 在 `/etc/login.defs` 里是 `yes`
+并且有一个组和此用户同名的话,这个组也会被移除,即便这个组还是别
+的用户的主要用户组也一样。
+>
+> 注意:这个选项有风险并可能让系统处于不稳定状态。
+
+当欧比旺抵达穆斯塔法星的时候,他知道自己的使命。他需要删掉达斯·维达的用户账户——而达斯还在里面呢。
+
+```
+[root@workstation ~]# ps -fu darth
+UID PID PPID C STIME TTY TIME CMD
+darth 7663 7655 0 13:28 pts/3 00:00:00 -bash
+[root@workstation ~]# userdel darth
+userdel: user darth is currently used by process 7663
+```
+
+因为达斯还登在系统里,欧比旺需要使用原力选项操作 `userdel`。这能强制删除当前登入的用户。
+
+```
+[root@workstation ~]# userdel -f darth
+userdel: user darth is currently used by process 7663
+[root@workstation ~]# finger darth
+finger: darth: no such user.
+[root@workstation ~]# ps -fu darth
+error: user name does not exist
+```
+
+正如我们所见到的一样,`finger` 和 `ps` 命令让我们确认了达斯已经被删除了。
+
+### 在 Shell 脚本里使用原力
+
+很多命令都有原力选项,而在 shell 脚本里他们特别有用。因为我们经常使用脚本完成定期或者自动化的任务,避免用户输入至关重要,不然的话自动任务就无法完成了
+
+我希望上面的几个例子能帮你理解一些需要使用原力的情况。你在命令行使用原力或把它们写入脚本之前应当完全理解它们的作用。误用原力会有毁灭性的后果——时常是对整个系统,甚至不仅限于一台设备。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/may-the-force-linux
+
+作者:[Alan Formy-Duval][a]
+选题:[lujun9972][b]
+译者:[Jerry Ling](https://github.com/Moelf)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/alanfdoss
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/fireworks_light_art_design.jpg?itok=hfx9i4By (Fireworks)
+[2]: https://www.starwars.com/star-wars-day
+[3]: http://man7.org/linux/man-pages/man1/cp.1.html
+[4]: http://man7.org/linux/man-pages/man1/ln.1.html
+[5]: http://man7.org/linux/man-pages/man1/rm.1.html
+[6]: http://man7.org/linux/man-pages/man8/userdel.8.html
diff --git a/published/201905/20190505 Duc - A Collection Of Tools To Inspect And Visualize Disk Usage.md b/published/201905/20190505 Duc - A Collection Of Tools To Inspect And Visualize Disk Usage.md
new file mode 100644
index 0000000000..13d10c9c57
--- /dev/null
+++ b/published/201905/20190505 Duc - A Collection Of Tools To Inspect And Visualize Disk Usage.md
@@ -0,0 +1,244 @@
+[#]: collector: (lujun9972)
+[#]: translator: (tomjlw)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10892-1.html)
+[#]: subject: (Duc – A Collection Of Tools To Inspect And Visualize Disk Usage)
+[#]: via: (https://www.ostechnix.com/duc-a-collection-of-tools-to-inspect-and-visualize-disk-usage/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+Duc:一个能够可视化洞察硬盘使用情况的工具包
+======
+
+![Duc:一个能够洞察并可视化硬盘使用情况的工具包][1]
+
+Duc 是一个在类 Unix 操作系统上可以用来索引、洞察及可视化硬盘使用情况的工具包。别把它当成一个仅能用漂亮图表展现硬盘使用情况的 CLI 工具。它对巨大的文件系统也支持的很好。Duc 已在由超过五亿个文件和几 PB 的存储组成的系统上测试过,没有任何问题。
+
+Duc 是一个快速而且灵活的工具。它将你的硬盘使用情况存在一个优化过的数据库里,这样你就可以在索引完成后迅速找到你的数据。此外,它自带不同的用户交互界面与后端以访问数据库并绘制图表。
+
+以下列出的是目前支持的用户界面(UI):
+
+ 1. 命令行界面(`duc ls`)
+ 2. Ncurses 控制台界面(`duc ui`)
+ 3. X11 GUI(`duc gui`)
+ 4. OpenGL GUI(`duc gui`)
+
+支持的后端数据库:
+
+ * Tokyocabinet
+ * Leveldb
+ * Sqlite3
+
+Duc 默认使用 Tokyocabinet 作为后端数据库。
+
+### 安装 Duc
+
+Duc 可以从 Debian 以及其衍生品例如 Ubuntu 的默认仓库中获取。因此在基于 DEB 的系统上安装 Duc 是小菜一碟。
+
+```
+$ sudo apt-get install duc
+```
+
+在其它 Linux 发行版上你需要像以下所展示的那样手动从源代码编译安装 Duc。
+
+可以从 Github 上的[发行][2]页面下载最新的 Duc 源代码的 .tgz 文件。在写这篇教程的时候,最新的版本是1.4.4。
+
+```
+$ wget https://github.com/zevv/duc/releases/download/1.4.4/duc-1.4.4.tar.gz
+```
+
+然后一个接一个地运行以下命令来安装 DUC。
+
+```
+$ tar -xzf duc-1.4.4.tar.gz
+$ cd duc-1.4.4
+$ ./configure
+$ make
+$ sudo make install
+```
+
+### 使用 Duc
+
+`duc` 的典型用法是:
+
+```
+$ duc
+```
+
+你可以通过运行以下命令来浏览总的选项列表以及子命令:
+
+```
+$ duc help
+```
+
+你也可以像下面这样了解一个特定子命令的用法。
+
+```
+$ duc help
+```
+
+要查看所有命令与其选项的列表,仅需运行:
+
+```
+$ duc help --all
+```
+
+让我们看看一些 `duc` 工具的特定用法。
+
+### 创建索引(数据库)
+
+首先,你需要创建一个你文件系统的索引文件(数据库)。使用 `duc index` 命令以创建索引文件。
+
+比如说,要创建你的 `/home` 目录的索引,仅需运行:
+
+```
+$ duc index /home
+```
+
+上述命令将会创建你的 `/home` 目录的索引,并将其保存在 `$HOME/.duc.db` 文件中。如果你以后需要往 `/home` 目录添加新的文件或目录,只要在之后重新运行一下上面的命令来重建索引。
+
+### 查询索引
+
+Duc 有不同的子命令来查询并探索索引。
+
+要查看可访问的索引列表,运行:
+
+```
+$ duc info
+```
+
+示例输出:
+
+```
+Date Time Files Dirs Size Path
+2019-04-09 15:45:55 3.5K 305 654.6M /home
+```
+
+如你在上述输出所见,我已经索引好了 `/home` 目录。
+
+要列出当前工作目录中所有的文件和目录,你可以这样做:
+
+```
+$ duc ls
+```
+
+要列出指定的目录,例如 `/home/sk/Downloads` 中的文件/目录,仅需像下面这样将路径作为参数传过去。
+
+```
+$ duc ls /home/sk/Downloads
+```
+
+类似的,运行 `duc ui` 命令来打开基于 ncurses 的控制台用户界面以探索文件系统使用情况,运行`duc gui` 以打开图形界面(X11)来探索文件系统。
+
+要了解更多子命令的用法,仅需参考帮助部分。
+
+```
+$ duc help ls
+```
+
+上述命令将会展现 `ls` 子命令的帮助部分。
+
+### 可视化硬盘使用状况
+
+在之前的部分我们以及看到如何用 duc 子命令列出文件和目录。在此之外,你甚至可以用一张漂亮的图表展示文件大小。
+
+要展示所提供目录的图表,像以下这样使用 `ls` 子命令。
+
+```
+$ duc ls -Fg /home/sk
+```
+
+示例输出:
+
+![使用 “duc ls” 命令可视化硬盘使用情况][3]
+
+如你在上述输出所见,`ls` 子命令查询 duc 数据库并列出了所提供目录包含的文件与目录的大小,在这里就是 `/home/sk/`。
+
+这里 `-F` 选项是往条目中用来添加文件类型指示符(`/`),`-g` 选项是用来绘制每个条目相对大小的图表。
+
+请注意如果未提供任何路径,就会使用当前工作目录。
+
+你可以使用 `-R` 选项来用[树状结构][4]浏览硬盘使用情况。
+
+```
+$ duc ls -R /home/sk
+```
+
+![用树状结构可视化硬盘使用情况][5]
+
+要查询 duc 数据库并打开基于 ncurses 的控制台以探索所提供的目录,像以下这样使用 `ui` 子命令。
+
+```
+$ duc ui /home/sk
+```
+
+![][6]
+
+类似的,我们使用 `gui *` 子命令来查询 duc 数据库以及打开一个图形界面(X11)来了解指定路径的硬盘使用情况。
+
+```
+$ duc gui /home/sk
+```
+
+![][7]
+
+像我之前所提到的,我们可以像下面这样了解更多关于特定子命令的用法。
+
+```
+$ duc help <子命令名字>
+```
+
+我仅仅覆盖了基本用法的部分,参考 man 页面了解关于 `duc` 工具的更多细节。
+
+```
+$ man duc
+```
+
+相关阅读:
+
+ * [Filelight – 在你的 Linux 系统上可视化硬盘使用情况][8]
+ * [一些好的 du 命令的替代品][9]
+ * [如何在 Linux 中用 Ncdu 检查硬盘使用情况][10]
+ * [Agedu——发现 Linux 中被浪费的硬盘空间][11]
+ * [如何在 Linux 中找到目录大小][12]
+ * [为初学者打造的带有示例的 df 命令教程][13]
+
+### 总结
+
+Duc 是一款简单却有用的硬盘用量查看器。如果你想要快速简便地知道哪个文件/目录占用你的硬盘空间,Duc 可能是一个好的选择。你还等什么呢?获取这个工具,扫描你的文件系统,摆脱无用的文件/目录。
+
+现在就到此为止了。希望这篇文章有用处。更多好东西马上就到。保持关注!
+
+欢呼吧!
+
+资源:
+
+ * [Duc 网站][14]
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/duc-a-collection-of-tools-to-inspect-and-visualize-disk-usage/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[tomjlw](https://github.com/tomjlw)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/duc-720x340.png
+[2]: https://github.com/zevv/duc/releases
+[3]: http://www.ostechnix.com/wp-content/uploads/2019/04/duc-1-1.png
+[4]: https://www.ostechnix.com/view-directory-tree-structure-linux/
+[5]: http://www.ostechnix.com/wp-content/uploads/2019/04/duc-2.png
+[6]: http://www.ostechnix.com/wp-content/uploads/2019/04/duc-3.png
+[7]: http://www.ostechnix.com/wp-content/uploads/2019/04/duc-4.png
+[8]: https://www.ostechnix.com/filelight-visualize-disk-usage-on-your-linux-system/
+[9]: https://www.ostechnix.com/some-good-alternatives-to-du-command/
+[10]: https://www.ostechnix.com/check-disk-space-usage-linux-using-ncdu/
+[11]: https://www.ostechnix.com/agedu-find-out-wasted-disk-space-in-linux/
+[12]: https://www.ostechnix.com/find-size-directory-linux/
+[13]: https://www.ostechnix.com/the-df-command-tutorial-with-examples-for-beginners/
+[14]: https://duc.zevv.nl/
diff --git a/published/201905/20190505 How To Create SSH Alias In Linux.md b/published/201905/20190505 How To Create SSH Alias In Linux.md
new file mode 100644
index 0000000000..2438fb745a
--- /dev/null
+++ b/published/201905/20190505 How To Create SSH Alias In Linux.md
@@ -0,0 +1,197 @@
+[#]: collector: (lujun9972)
+[#]: translator: (MjSeven)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10851-1.html)
+[#]: subject: (How To Create SSH Alias In Linux)
+[#]: via: (https://www.ostechnix.com/how-to-create-ssh-alias-in-linux/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+如何在 Linux 中创建 SSH 别名
+======
+
+
+
+如果你经常通过 SSH 访问许多不同的远程系统,这个技巧将为你节省一些时间。你可以通过 SSH 为频繁访问的系统创建 SSH 别名,这样你就不必记住所有不同的用户名、主机名、SSH 端口号和 IP 地址等。此外,它避免了在 SSH 到 Linux 服务器时重复输入相同的用户名、主机名、IP 地址、端口号。
+
+### 在 Linux 中创建 SSH 别名
+
+在我知道这个技巧之前,我通常使用以下任意一种方式通过 SSH 连接到远程系统。
+
+使用 IP 地址:
+
+```
+$ ssh 192.168.225.22
+```
+
+或使用端口号、用户名和 IP 地址:
+
+```
+$ ssh -p 22 sk@192.168.225.22
+```
+
+或使用端口号、用户名和主机名:
+
+```
+$ ssh -p 22 sk@server.example.com
+```
+
+这里
+
+ * `22` 是端口号,
+ * `sk` 是远程系统的用户名,
+ * `192.168.225.22` 是我远程系统的 IP,
+ * `server.example.com` 是远程系统的主机名。
+
+我相信大多数 Linux 新手和(或一些)管理员都会以这种方式通过 SSH 连接到远程系统。但是,如果你通过 SSH 连接到多个不同的系统,记住所有主机名或 IP 地址,还有用户名是困难的,除非你将它们写在纸上或者将其保存在文本文件中。别担心!这可以通过为 SSH 连接创建别名(或快捷方式)轻松解决。
+
+我们可以用两种方法为 SSH 命令创建别名。
+
+#### 方法 1 – 使用 SSH 配置文件
+
+这是我创建别名的首选方法。
+
+我们可以使用 SSH 默认配置文件来创建 SSH 别名。为此,编辑 `~/.ssh/config` 文件(如果此文件不存在,只需创建一个):
+
+```
+$ vi ~/.ssh/config
+```
+
+添加所有远程主机的详细信息,如下所示:
+
+```
+Host webserver
+ HostName 192.168.225.22
+ User sk
+
+Host dns
+ HostName server.example.com
+ User root
+
+Host dhcp
+ HostName 192.168.225.25
+ User ostechnix
+ Port 2233
+```
+
+![][2]
+
+*使用 SSH 配置文件在 Linux 中创建 SSH 别名*
+
+将 `Host`、`Hostname`、`User` 和 `Port` 配置的值替换为你自己的值。添加所有远程主机的详细信息后,保存并退出该文件。
+
+现在你可以使用以下命令通过 SSH 进入系统:
+
+```
+$ ssh webserver
+$ ssh dns
+$ ssh dhcp
+```
+
+就是这么简单!
+
+看看下面的截图。
+
+![][3]
+
+*使用 SSH 别名访问远程系统*
+
+看到了吗?我只使用别名(例如 `webserver`)来访问 IP 地址为 `192.168.225.22` 的远程系统。
+
+请注意,这只使用于当前用户。如果要为所有用户(系统范围内)提供别名,请在 `/etc/ssh/ssh_config` 文件中添加以上行。
+
+你还可以在 SSH 配置文件中添加许多其他内容。例如,如果你[已配置基于 SSH 密钥的身份验证][4],说明 SSH 密钥文件的位置,如下所示:
+
+```
+Host ubuntu
+ HostName 192.168.225.50
+ User senthil
+ IdentityFIle ~/.ssh/id_rsa_remotesystem
+```
+
+确保已使用你自己的值替换主机名、用户名和 SSH 密钥文件路径。
+
+现在使用以下命令连接到远程服务器:
+
+```
+$ ssh ubuntu
+```
+
+这样,你可以添加希望通过 SSH 访问的任意多台远程主机,并使用别名快速访问它们。
+
+#### 方法 2 – 使用 Bash 别名
+
+这是创建 SSH 别名的一种应急变通的方法,可以加快通信的速度。你可以使用 [alias 命令][5]使这项任务更容易。
+
+打开 `~/.bashrc` 或者 `~/.bash_profile` 文件:
+
+```
+alias webserver='ssh sk@server.example.com'
+alias dns='ssh sk@server.example.com'
+alias dhcp='ssh sk@server.example.com -p 2233'
+alias ubuntu='ssh sk@server.example.com -i ~/.ssh/id_rsa_remotesystem'
+```
+
+再次确保你已使用自己的值替换主机、主机名、端口号和 IP 地址。保存文件并退出。
+
+然后,使用命令应用更改:
+
+```
+$ source ~/.bashrc
+```
+
+或者
+
+```
+$ source ~/.bash_profile
+```
+
+在此方法中,你甚至不需要使用 `ssh 别名` 命令。相反,只需使用别名,如下所示。
+
+```
+$ webserver
+$ dns
+$ dhcp
+$ ubuntu
+```
+
+![][6]
+
+这两种方法非常简单,但对于经常通过 SSH 连接到多个不同系统的人来说非常有用,而且非常方便。使用适合你的上述任何一种方法,通过 SSH 快速访问远程 Linux 系统。
+
+建议阅读:
+
+ * [允许或拒绝 SSH 访问 Linux 中的特定用户或组][7]
+ * [如何在 Linux 上 SSH 到特定目录][8]
+ * [如何在 Linux 中断开 SSH 会话][9]
+ * [4 种方式在退出 SSH 会话后保持命令运行][10]
+ * [SSLH – 共享相同端口的 HTTPS 和 SSH][11]
+
+目前这就是全部了,希望它对你有帮助。更多好东西要来了,敬请关注!
+
+干杯!
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/how-to-create-ssh-alias-in-linux/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/ssh-alias-720x340.png
+[2]: http://www.ostechnix.com/wp-content/uploads/2019/04/Create-SSH-Alias-In-Linux.png
+[3]: http://www.ostechnix.com/wp-content/uploads/2019/04/create-ssh-alias.png
+[4]: https://www.ostechnix.com/configure-ssh-key-based-authentication-linux/
+[5]: https://www.ostechnix.com/the-alias-and-unalias-commands-explained-with-examples/
+[6]: http://www.ostechnix.com/wp-content/uploads/2019/04/create-ssh-alias-1.png
+[7]: https://www.ostechnix.com/allow-deny-ssh-access-particular-user-group-linux/
+[8]: https://www.ostechnix.com/how-to-ssh-into-a-particular-directory-on-linux/
+[9]: https://www.ostechnix.com/how-to-stop-ssh-session-from-disconnecting-in-linux/
+[10]: https://www.ostechnix.com/4-ways-keep-command-running-log-ssh-session/
+[11]: https://www.ostechnix.com/sslh-share-port-https-ssh/
diff --git a/published/201905/20190505 Kindd - A Graphical Frontend To dd Command.md b/published/201905/20190505 Kindd - A Graphical Frontend To dd Command.md
new file mode 100644
index 0000000000..fbcf447bad
--- /dev/null
+++ b/published/201905/20190505 Kindd - A Graphical Frontend To dd Command.md
@@ -0,0 +1,142 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10847-1.html)
+[#]: subject: (Kindd – A Graphical Frontend To dd Command)
+[#]: via: (https://www.ostechnix.com/kindd-a-graphical-frontend-to-dd-command/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+Kindd:一个图形化 dd 命令前端
+======
+
+![Kindd - A Graphical Frontend To dd Command][1]
+
+前不久,我们已经学习如何在类 Unix 系统中 [使用 dd 命令创建可启动的 ISO][2]。请记住,`dd` 命令是最具危险性和破坏性的命令之一。如果你不确定你实际在做什么,你可能会在几分钟内意外地擦除你的硬盘数据。`dd` 命令仅仅从 `if` 参数获取数据,并写入数据到 `of` 参数。它将不关心它正在覆盖什么,它也不关心是否在磁道上有一个分区表,或一个启动扇区,或者一个家文件夹,或者任何重要的东西。它将简单地做它被告诉去做的事。如果你是初学者,一般地尝试避免使用 `dd` 命令来做实验。幸好,这有一个支持 `dd` 命令的简单的 GUI 实用程序。向 “Kindd” 问好,一个属于 `dd` 命令的图形化前端。它是自由开源的、用 Qt Quick 所写的工具。总的来说,这个工具对那些对命令行不适应的初学者是非常有用的。
+
+它的开发者创建这个工具主要是为了提供:
+
+1. 一个用于 `dd` 命令的现代化的、简单而安全的图形化用户界面,
+2. 一种简单地创建可启动设备的图形化方法,而不必使用终端。
+
+### 安装 Kindd
+
+Kindd 在 [AUR][3] 中是可用的。所以,如果你是 Arch 用户,使用任一的 AUR 助手工具来安装它,例如 [Yay][4] 。
+
+要安装其 Git 发布版,运行:
+
+```
+$ yay -S kindd-git
+```
+
+要安装正式发布版,运行:
+
+```
+$ yay -S kindd
+```
+
+在安装后,从菜单或应用程序启动器启动 Kindd。
+
+对于其它的发行版,你需要从源文件手动编译和安装它,像下面所示。
+
+确保你已经安装下面的必要条件。
+
+ * git
+ * coreutils
+ * polkit
+ * qt5-base
+ * qt5-quickcontrols
+ * qt5-quickcontrols2
+ * qt5-graphicaleffects
+
+一旦所有必要条件安装,使用 `git` 克隆 Kindd 储存库:
+
+```
+git clone https://github.com/LinArcX/Kindd/
+```
+
+转到你刚刚克隆 Kindd 的目录,并编译和安装它:
+
+```
+cd Kindd
+qmake
+make
+```
+
+最后运行下面的命令来启动 Kindd 应用程序:
+
+```
+./kindd
+```
+
+Kindd 内部使用 pkexec。pkexec 代理被默认安装在大多数桌面环境中。但是,如果你使用 i3 (或者可能还有一些其它的桌面环境),你应该首先安装 polkit-gnome ,然后粘贴下面的行到 i3 配置文件:
+
+```
+exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
+```
+
+### 使用 Kindd 创建可启动的 ISO
+
+为从一个 ISO 创建一个可启动的 USB,插入 USB 驱动器。然后,从菜单或终端启动 Kindd 。
+
+这是 Kindd 默认界面的外观:
+
+![][5]
+
+*Kindd 界面*
+
+正如你所能看到的,Kindd 界面是非常简单的和明白易懂的。这里仅有两部分,即设备列表,它显示你的系统上的可用的设备(hdd 和 Usb),并创建可启动的 .iso 。默认情况下,你将在“创建可启动 .iso”部分。
+
+在第一列中输入块大小,在第二列中选择 ISO 文件的路径,并在第三列中选择正确的设备(USB 驱动器路径)。单击“转换/复制”按钮来开始创建可启动的 ISO 。
+
+![][6]
+
+一旦进程被完成,你将看到成功的信息。
+
+![][7]
+
+现在,拔出 USB 驱动器,并用该 USB 启动器启动你的系统,来检查它是否真地工作。
+
+如果你不知道真实的设备名称(目标路径),只需要在列出的设备上单击,并检查 USB 驱动器名称。
+
+![][8]
+
+Kindd 还处在早期开发阶段。因此,可能有错误。如果你找到一些错误,请在这篇的指南的结尾所给的 GitHub 页面报告它们。
+
+这就是全部。希望这是有用的。更多的好东西将会来。敬请期待!
+
+谢谢!
+
+资源:
+
+ * [Kindd GitHub 储存库][11]
+
+相关阅读:
+
+ * [Etcher:一个来创建可启动 SD 卡或 USB 驱动器的漂亮的应用程序][9]
+ * [Bootiso 让你安全地创建可启动的 USB 驱动器][10]
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/kindd-a-graphical-frontend-to-dd-command/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/kindd-720x340.png
+[2]: https://www.ostechnix.com/how-to-create-bootable-usb-drive-using-dd-command/
+[3]: https://aur.archlinux.org/packages/kindd-git/
+[4]: https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/
+[5]: http://www.ostechnix.com/wp-content/uploads/2019/04/kindd-interface.png
+[6]: http://www.ostechnix.com/wp-content/uploads/2019/04/kindd-1.png
+[7]: http://www.ostechnix.com/wp-content/uploads/2019/04/kindd-2.png
+[8]: http://www.ostechnix.com/wp-content/uploads/2019/04/kindd-3.png
+[9]: https://www.ostechnix.com/etcher-beauitiful-app-create-bootable-sd-cards-usb-drives/
+[10]: https://www.ostechnix.com/bootiso-lets-you-safely-create-bootable-usb-drive/
+[11]: https://github.com/LinArcX/Kindd
diff --git a/published/201905/20190505 Linux Shell Script To Monitor Disk Space Usage And Send Email.md b/published/201905/20190505 Linux Shell Script To Monitor Disk Space Usage And Send Email.md
new file mode 100644
index 0000000000..c981988120
--- /dev/null
+++ b/published/201905/20190505 Linux Shell Script To Monitor Disk Space Usage And Send Email.md
@@ -0,0 +1,198 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10868-1.html)
+[#]: subject: (Linux Shell Script To Monitor Disk Space Usage And Send Email)
+[#]: via: (https://www.2daygeek.com/linux-shell-script-to-monitor-disk-space-usage-and-send-email/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+用 Linux Shell 脚本来监控磁盘使用情况并发送邮件
+============================================
+
+市场上有很多用来监控 Linux 系统的监控工具,当系统到达阀值后它将发送一封邮件。它监控所有的东西例如 CPU 利用率、内存利用率、交换空间利用率、磁盘空间利用率等等。然而,它更适合小环境和大环境。
+
+想一想如果你只有少量系统,那么什么是最好的方式来应对这种情况。
+
+是的,我们想要写一个 [shell 脚本][1] 来实现。
+
+在这篇指南中我们打算写一个 shell 脚本来监控系统的磁盘空间使用率。当系统到达给定的阀值,它将给对应的邮件地址发送一封邮件。在这篇文章中我们总共添加了四个 shell 脚本,每个用于不同的目的。之后,我们会想出其他 shell 脚本来监控 CPU,内存和交换空间利用率。
+
+在此之前,我想澄清一件事,根据我观察的磁盘空间使用率 shell 脚本使用情况。
+
+大多数用户在多篇博客中评论说,当他们运行磁盘空间使用率脚本时他们获得了以下错误。
+
+```
+# sh /opt/script/disk-usage-alert-old.sh
+
+/dev/mapper/vg_2g-lv_root
+test-script.sh: line 7: [: /dev/mapper/vg_2g-lv_root: integer expression expected
+/ 9.8G
+```
+
+是的,这是对的。甚至,当我第一次运行这个脚本的时候我遇到了相同的问题。之后,我发现了根本原因。
+
+当你在基于 RHEL 5 & RHEL 6 的系统上运行包含用于磁盘空间警告的 `df -h` 或 `df -H` 的 shell 脚本中时,你会发现上述错误信息,因为输出格式不对,查看下列输出。
+
+为了解决这个问题,我们需要用 `df -Ph` (POSIX 输出格式),但是默认的 `df -h` 在基于 RHEL 7 的系统上运行的很好。
+
+```
+# df -h
+
+Filesystem Size Used Avail Use% Mounted on
+/dev/mapper/vg_2g-lv_root
+ 10G 6.7G 3.4G 67% /
+tmpfs 7.8G 0 7.8G 0% /dev/shm
+/dev/sda1 976M 95M 830M 11% /boot
+/dev/mapper/vg_2g-lv_home
+ 5.0G 4.3G 784M 85% /home
+/dev/mapper/vg_2g-lv_tmp
+ 4.8G 14M 4.6G 1% /tmp
+```
+
+### 方法一:Linux Shell 脚本来监控磁盘空间使用率和发送邮件
+
+你可以使用下列 shell 脚本在 Linux 系统中来监控磁盘空间使用率。
+
+当系统到达给定的阀值限制时,它将发送一封邮件。在这个例子中,我们设置阀值为 60% 用于测试目的,你可以改变这个限制来符合你的需求。
+
+如果超过一个文件系统到达给定的阀值,它将发送多封邮件,因为这个脚本使用了循环。
+
+同样,替换你的邮件地址来获取这份警告。
+
+```
+# vi /opt/script/disk-usage-alert.sh
+
+#!/bin/sh
+df -Ph | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5,$1 }' | while read output;
+do
+ echo $output
+ used=$(echo $output | awk '{print $1}' | sed s/%//g)
+ partition=$(echo $output | awk '{print $2}')
+ if [ $used -ge 60 ]; then
+ echo "The partition \"$partition\" on $(hostname) has used $used% at $(date)" | mail -s "Disk Space Alert: $used% Used On $(hostname)" [email protected]
+ fi
+done
+```
+
+输出:我获得了下列两封邮件警告。
+
+```
+The partition "/dev/mapper/vg_2g-lv_home" on 2g.CentOS7 has used 85% at Mon Apr 29 06:16:14 IST 2019
+
+The partition "/dev/mapper/vg_2g-lv_root" on 2g.CentOS7 has used 67% at Mon Apr 29 06:16:14 IST 2019
+```
+
+最终添加了一个 [cronjob][2] 来自动完成。它会每 10 分钟运行一次。
+
+```
+# crontab -e
+*/10 * * * * /bin/bash /opt/script/disk-usage-alert.sh
+```
+
+### 方法二:Linux Shell 脚本来监控磁盘空间使用率和发送邮件
+
+作为代替,你可以使用下列的 shell 脚本。对比上面的脚本我们做了少量改变。
+
+```
+# vi /opt/script/disk-usage-alert-1.sh
+
+#!/bin/sh
+df -Ph | grep -vE '^Filesystem|tmpfs|cdrom' | awk '{ print $5,$1 }' | while read output;
+do
+ max=60%
+ echo $output
+ used=$(echo $output | awk '{print $1}')
+ partition=$(echo $output | awk '{print $2}')
+ if [ ${used%?} -ge ${max%?} ]; then
+ echo "The partition \"$partition\" on $(hostname) has used $used at $(date)" | mail -s "Disk Space Alert: $used Used On $(hostname)" [email protected]
+ fi
+done
+```
+
+输出:我获得了下列两封邮件警告。
+
+
+```
+The partition "/dev/mapper/vg_2g-lv_home" on 2g.CentOS7 has used 85% at Mon Apr 29 06:16:14 IST 2019
+
+The partition "/dev/mapper/vg_2g-lv_root" on 2g.CentOS7 has used 67% at Mon Apr 29 06:16:14 IST 2019
+```
+
+最终添加了一个 [cronjob][2] 来自动完成。它会每 10 分钟运行一次。
+
+```
+# crontab -e
+*/10 * * * * /bin/bash /opt/script/disk-usage-alert-1.sh
+```
+
+### 方法三:Linux Shell 脚本来监控磁盘空间使用率和发送邮件
+
+我更喜欢这种方法。因为,它工作起来很有魔力,你只会收到一封关于所有事的邮件。
+
+这相当简单和直接。
+
+```
+*/10 * * * * df -Ph | sed s/%//g | awk '{ if($5 > 60) print $0;}' | mail -s "Disk Space Alert On $(hostname)" [email protected]
+```
+
+输出: 我获得了一封关于所有警告的邮件。
+
+```
+Filesystem Size Used Avail Use Mounted on
+/dev/mapper/vg_2g-lv_root 10G 6.7G 3.4G 67 /
+/dev/mapper/vg_2g-lv_home 5.0G 4.3G 784M 85 /home
+```
+
+### 方法四:Linux Shell 脚本来监控某个分区的磁盘空间使用情况和发送邮件
+
+```
+# vi /opt/script/disk-usage-alert-2.sh
+
+#!/bin/bash
+used=$(df -Ph | grep '/dev/mapper/vg_2g-lv_dbs' | awk {'print $5'})
+max=80%
+if [ ${used%?} -ge ${max%?} ]; then
+echo "The Mount Point "/DB" on $(hostname) has used $used at $(date)" | mail -s "Disk space alert on $(hostname): $used used" [email protected]
+fi
+```
+
+输出: 我得到了下面的邮件警告。
+
+```
+The partition /dev/mapper/vg_2g-lv_dbs on 2g.CentOS6 has used 82% at Mon Apr 29 06:16:14 IST 2019
+```
+
+最终添加了一个 [cronjob][2] 来自动完成这些工作。它将每 10 分钟运行一次。
+
+```
+# crontab -e
+*/10 * * * * /bin/bash /opt/script/disk-usage-alert-2.sh
+```
+
+注意: 你将在 10 分钟后收到一封邮件警告,因为这个脚本被计划为每 10 分钟运行一次(但也不是精确的 10 分钟,取决于时间)。
+
+例如这个例子。如果你的系统在 8:25 到达了限制,你将在 5 分钟后收到邮件警告。希望现在讲清楚了。
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/linux-shell-script-to-monitor-disk-space-usage-and-send-email/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/category/shell-script/
+[2]: https://www.2daygeek.com/crontab-cronjob-to-schedule-jobs-in-linux/
+
+
+
+
+
+
+
diff --git a/published/201905/20190505 Ping Multiple Servers And Show The Output In Top-like Text UI.md b/published/201905/20190505 Ping Multiple Servers And Show The Output In Top-like Text UI.md
new file mode 100644
index 0000000000..8d90b5b520
--- /dev/null
+++ b/published/201905/20190505 Ping Multiple Servers And Show The Output In Top-like Text UI.md
@@ -0,0 +1,78 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10824-1.html)
+[#]: subject: (Ping Multiple Servers And Show The Output In Top-like Text UI)
+[#]: via: (https://www.ostechnix.com/ping-multiple-servers-and-show-the-output-in-top-like-text-ui/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+ping 多台服务器并在类似 top 的界面中显示
+======
+
+![Ping Multiple Servers And Show The Output In Top-like Text UI][1]
+
+不久前,我们写了篇关于 [fping][2] 的文章,该程序能使我们能够同时 ping 多台主机。与传统的 `ping` 不同,`fping` 不会等待一台主机的超时。它使用循环法,这表示它将 ICMP Echo 请求发送到一台主机,然后转到另一台主机,最后一次显示哪些主机开启或关闭。今天,我们将讨论一个名为 `pingtop` 的类似程序。顾名思义,它会一次 ping 多台服务器,并在类似 `top` 的终端 UI 中显示结果。它是用 Python 写的自由开源程序。
+
+### 安装 pingtop
+
+可以使用 `pip` 安装 `pingtop`,`pip` 是一个软件包管理器,用于安装用 Python 开发的程序。确保已在 Linux 中安装了 Python 3.7.x 和 pip。
+
+要在 Linux 上安装 `pip`,请参阅以下链接。
+
+* [如何使用 pip 管理 Python 包][3]
+
+安装 `pip` 后,运行以下命令安装 `pingtop`:
+
+```
+$ pip install pingtop
+```
+
+现在让我们继续使用 `pingtop` ping 多个系统。
+
+### ping 多台服务器并在类似 top 的终端 UI 中显示
+
+要 ping 多个主机/系统,请运行:
+
+```
+$ pingtop ostechnix.com google.com facebook.com twitter.com
+```
+
+现在,你将在一个漂亮的类似 `top` 的终端 UI 中看到结果,如下所示。
+
+![][4]
+
+*使用 pingtop ping 多台服务器*
+
+
+建议阅读:
+
+ * [一些你可能想知道的替代 “top” 命令的程序][5]
+
+我个人目前没有使用 pingtop 的情况。但我喜欢在这个在文本界面中展示 ping 命令输出的想法。试试看它,也许有帮助。
+
+就是这些了。还有更多好东西。敬请期待!干杯!
+
+资源:
+
+ * [pingtop GitHub 仓库][6]
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/ping-multiple-servers-and-show-the-output-in-top-like-text-ui/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/pingtop-720x340.png
+[2]: https://www.ostechnix.com/ping-multiple-hosts-linux/
+[3]: https://linux.cn/article-10110-1.html
+[4]: http://www.ostechnix.com/wp-content/uploads/2019/04/pingtop-1.gif
+[5]: https://www.ostechnix.com/some-alternatives-to-top-command-line-utility-you-might-want-to-know/
+[6]: https://github.com/laixintao/pingtop
diff --git a/published/201905/20190505 apt-clone - Backup Installed Packages And Restore Those On Fresh Ubuntu System.md b/published/201905/20190505 apt-clone - Backup Installed Packages And Restore Those On Fresh Ubuntu System.md
new file mode 100644
index 0000000000..fa7db2e2bb
--- /dev/null
+++ b/published/201905/20190505 apt-clone - Backup Installed Packages And Restore Those On Fresh Ubuntu System.md
@@ -0,0 +1,111 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10837-1.html)
+[#]: subject: (apt-clone : Backup Installed Packages And Restore Those On Fresh Ubuntu System)
+[#]: via: (https://www.2daygeek.com/apt-clone-backup-installed-packages-and-restore-them-on-fresh-ubuntu-system/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+apt-clone:备份已安装的软件包并在新的 Ubuntu 系统上恢复它们
+======
+
+当我们在基于 Ubuntu/Debian 的系统上使用 `apt-clone`,包安装会变得更加容易。如果你需要在少量系统上安装相同的软件包时,`apt-clone` 会适合你。
+
+如果你想在每个系统上手动构建和安装必要的软件包,这是一个耗时的过程。它可以通过多种方式实现,Linux 中有许多程序可用。我们过去曾写过一篇关于 [Aptik][1] 的文章。它是能让 Ubuntu 用户备份和恢复系统设置和数据的程序之一。
+
+### 什么是 apt-clone?
+
+[apt-clone][2] 能让你为 Debian/Ubuntu 系统创建所有已安装软件包的备份,这些软件包可以在新安装的系统(或容器)或目录中恢复。
+
+该备份可以在相同操作系统版本和架构的多个系统上还原。
+
+### 如何安装 apt-clone?
+
+`apt-clone` 包可以在 Ubuntu/Debian 的官方仓库中找到,所以,使用 [apt 包管理器][3] 或 [apt-get 包管理器][4] 来安装它。
+
+使用 `apt` 包管理器安装 `apt-clone`。
+
+```
+$ sudo apt install apt-clone
+```
+
+使用 `apt-get` 包管理器安装 `apt-clone`。
+
+```
+$ sudo apt-get install apt-clone
+```
+
+### 如何使用 apt-clone 备份已安装的软件包?
+
+成功安装 `apt-clone` 之后。只需提供一个保存备份文件的位置。我们将在 `/backup` 目录下保存已安装的软件包备份。
+
+`apt-clone` 会将已安装的软件包列表保存到 `apt-clone-state-Ubuntu18.2daygeek.com.tar.gz` 中。
+
+```
+$ sudo apt-clone clone /backup
+```
+
+我们同样可以通过运行 `ls` 命令来检查。
+
+```
+$ ls -lh /backup/
+total 32K
+-rw-r--r-- 1 root root 29K Apr 20 19:06 apt-clone-state-Ubuntu18.2daygeek.com.tar.gz
+```
+
+运行以下命令,查看备份文件的详细信息。
+
+```
+$ apt-clone info /backup/apt-clone-state-Ubuntu18.2daygeek.com.tar.gz
+Hostname: Ubuntu18.2daygeek.com
+Arch: amd64
+Distro: bionic
+Meta: libunity-scopes-json-def-desktop, ubuntu-desktop
+Installed: 1792 pkgs (194 automatic)
+Date: Sat Apr 20 19:06:43 2019
+```
+
+根据上面的输出,备份文件中总共有 1792 个包。
+
+### 如何恢复使用 apt-clone 进行备份的软件包?
+
+你可以使用任何远程复制程序来复制远程服务器上的文件。
+
+```
+$ scp /backup/apt-clone-state-ubunt-18-04.tar.gz Destination-Server:/opt
+```
+
+复制完成后,使用 `apt-clone` 执行还原。
+
+使用以下命令进行还原。
+
+```
+$ sudo apt-clone restore /opt/apt-clone-state-Ubuntu18.2daygeek.com.tar.gz
+```
+
+请注意,还原将覆盖现有的 `/etc/apt/sources.list` 并安装/删除包。所以要小心。
+
+如果你要将所有软件包还原到文件夹而不是实际还原,可以使用以下命令。
+
+```
+$ sudo apt-clone restore /opt/apt-clone-state-Ubuntu18.2daygeek.com.tar.gz --destination /opt/oldubuntu
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/apt-clone-backup-installed-packages-and-restore-them-on-fresh-ubuntu-system/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/aptik-backup-restore-ppas-installed-apps-users-data/
+[2]: https://github.com/mvo5/apt-clone
+[3]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[4]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
diff --git a/published/201905/20190506 How to Add Application Shortcuts on Ubuntu Desktop.md b/published/201905/20190506 How to Add Application Shortcuts on Ubuntu Desktop.md
new file mode 100644
index 0000000000..2e6946ac79
--- /dev/null
+++ b/published/201905/20190506 How to Add Application Shortcuts on Ubuntu Desktop.md
@@ -0,0 +1,118 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10872-1.html)
+[#]: subject: (How to Add Application Shortcuts on Ubuntu Desktop)
+[#]: via: (https://itsfoss.com/ubuntu-desktop-shortcut/)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+如何在 Ubuntu 桌面手动添加应用快捷方式
+===============================
+
+> 在这篇快速指南中,你将学到如何在 Ubuntu 桌面和其他使用 GNOME 桌面的发行版中添加应用图标。
+
+一个经典的桌面操作系统在“桌面屏”上总是有图标的。这些桌面图标包括文件管理器、回收站和应用图标。
+
+当在 Windows 中安装应用时,一些程序会询问你是否在桌面创建一个快捷方式。但在 Linux 系统中不是这样。
+
+但是如果你热衷于这个特点,让我给你展示如何在 Ubuntu 桌面和其他使用 GNOME 桌面的发行版中创建应用的快捷方式。
+
+![Application Shortcuts on Desktop in Ubuntu with GNOME desktop][2]
+
+如果你想知道我的桌面外观,我正在使用 Ant 主题和 Tela 图标集。你可以获取一些 [GTK 主题][3] 和 [为 Ubuntu 准备的图标集][4]并换成你喜欢的。
+
+### 在 Ubuntu 中添加桌面快捷方式
+
+![][5]
+
+个人来讲,我更喜欢为应用图标准备的 Ubuntu 启动器方式。如果我经常使用一个程序,我会添加到启动器。但是我知道不是每个人都有相同的偏好,可能少数人更喜欢桌面的快捷方式。
+
+让我们看在桌面中创建应用快捷方式的最简单方式。
+
+> 免责声明
+
+> 这篇指南已经在 Ubuntu 18.04 LTS 的 GNOME 桌面上测试过了。它可能在其他发行版和桌面环境上也能发挥作用,但你必须自己尝试。一些 GNOME 特定步骤可能会变,所以请在[其他桌面环境][7]尝试时注意。
+
+#### 准备
+
+首先最重要的事是确保你有 GNOME 桌面的图标权限。
+
+如果你跟随 Ubuntu 18.04 自定义提示,你会知道如何安装 GNOME Tweaks 工具。在这个工具中,确保你设置“Show Icons”选项为启用。
+
+![Allow icons on desktop in GNOME][9]
+
+一旦你确保已经设置,是时候在桌面添加应用快捷方式了。
+
+#### 第一步:定位应用的 .desktop 文件
+
+到 “Files -> Other Location -> Computer”。
+
+![Go to Other Locations -> Computer][11]
+
+从这里,到目录 “usr -> share -> applications”。你会在这里看到几个你已经安装的 [Ubuntu 应用][12]。即使你没有看到图标,你应该看到被命名为“应用名.desktop”形式的文件。
+
+![Application Shortcuts][13]
+
+#### 第二步:拷贝 .desktop 文件到桌面
+
+现在你要做的只是查找应用图标(或者它的 desktop 文件)。当你找到后,拖文件到桌面或者拷贝文件(使用 `Ctrl+C` 快捷方式)并在桌面粘贴(使用 `Ctrl+V` 快捷方式)。
+
+![Add .desktop file to the desktop][14]
+
+#### 第三步:运行 desktop 文件
+
+当你这么做,你应该在桌面上看到一个图标的文本文件而不是应用 logo。别担心,一会就不一样了。
+
+你要做的就是双击桌面的那个文件。它将警告你它是一个“未信任的应用启动器’,点击“信任并启动”。
+
+![Launch Desktop Shortcut][15]
+
+这个应用像往常一样启动,好事是你会察觉到 .desktop 文件现在已经变成应用图标了。我相信你喜欢应用图标的方式,不是吗?
+
+![Application shortcut on the desktop][16]
+
+#### Ubuntu 19.04 或者 GNOME 3.32 用户的疑难杂症
+
+如果你使用 Ubuntu 19.04 或者 GNOME 3.32,你的 .desktop 文件可能根本不会启动。你应该右击 .desktop 文件并选择 “允许启动”。
+
+在这之后,你应该能够启动应用并且桌面上的应用快捷方式能够正常显示了。
+
+### 总结
+
+如果你不喜欢桌面的某个应用启动器,选择删除就是了。它会删除应用快捷方式,但是应用仍安全的保留在你的系统中。
+
+我希望你发现这篇快速指南有帮助并喜欢在 Ubuntu 桌面上的应用快捷方式。
+
+如果你有问题或建议,请在下方评论让我知道。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/ubuntu-desktop-shortcut/
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://www.ubuntu.com/
+[2]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/app-shortcut-on-ubuntu-desktop.jpeg?resize=800%2C450&ssl=1
+[3]: https://itsfoss.com/best-gtk-themes/
+[4]: https://itsfoss.com/best-icon-themes-ubuntu-16-04/
+[5]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/add-ubuntu-desktop-shortcut.jpeg?resize=800%2C450&ssl=1
+[6]: https://www.gnome.org/
+[7]: https://itsfoss.com/best-linux-desktop-environments/
+[8]: https://www.youtube.com/c/itsfoss?sub_confirmation=1
+[9]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/allow-icons-on-desktop-gnome.jpg?ssl=1
+[10]: https://itsfoss.com/replace-linux-from-dual-boot/
+[11]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/Adding-desktop-shortcut-Ubuntu-gnome-1.png?resize=800%2C436&ssl=1
+[12]: https://itsfoss.com/best-ubuntu-apps/
+[13]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/application-shortcuts-in-ubuntu.png?resize=800%2C422&ssl=1
+[14]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/add-desktop-file-to-desktop.jpeg?resize=800%2C458&ssl=1
+[15]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/launch-desktop-shortcut-.jpeg?resize=800%2C349&ssl=1
+[16]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/app-shortcut-on-desktop-ubuntu-gnome.jpeg?resize=800%2C375&ssl=1
+[17]: https://itsfoss.com/install-nemo-file-manager-ubuntu/
diff --git a/published/201905/20190508 How to use advanced rsync for large Linux backups.md b/published/201905/20190508 How to use advanced rsync for large Linux backups.md
new file mode 100644
index 0000000000..694158d9d4
--- /dev/null
+++ b/published/201905/20190508 How to use advanced rsync for large Linux backups.md
@@ -0,0 +1,139 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10865-1.html)
+[#]: subject: (How to use advanced rsync for large Linux backups)
+[#]: via: (https://opensource.com/article/19/5/advanced-rsync)
+[#]: author: (Alan Formy-Duval https://opensource.com/users/alanfdoss/users/marcobravo)
+
+如何使用 rsync 的高级用法进行大型备份
+=====================================
+
+> 基础的 `rsync` 命令通常足够来管理你的 Linux 备份,但是额外的选项使大型备份集更快、更强大。
+
+![Filing papers and documents][1]
+
+很明显,备份一直是 Linux 世界的热门话题。回到 2017,David Both 为 [Opensource.com][2] 的读者在[使用 rsync 备份 Linux 系统][3]方面提了一些建议,在这年的更早时候,他发起了一项问卷调查询问大家,[在 Linux 中你的 /home 目录的主要备份策略是什么][4],在今年的另一个问卷调查中,Don Watkins 问到,[你使用哪种开源备份解决方案][5]。
+
+我的回复是 [rsync][6]。我真的非常喜欢 rsync!市场上有大量大而复杂的工具,对于管理磁带机或者存储库设备,这些可能是必要的,但是可能你需要的只是一个简单的开源命令行工具。
+
+### rsync 基础
+
+我为一个大概拥有 35,000 开发者并有着几十 TB 文件的全球性机构管理二进制仓库。我经常一次移动或者归档上百 GB 的数据。使用的是 `rsync`。这种经历使我对这个简单的工具充满信心。(所以,是的,我在家使用它来备份我的 Linux 系统)
+
+基础的 `rsync` 命令很简单。
+
+
+```
+rsync -av 源目录 目的地目录
+```
+
+实际上,在各种指南中教的 `rsync` 命令在大多数通用情况下都运行的很好。然而,假设我们需要备份大量的数据。例如包含 2,000 个子目录的目录,每个包含 50GB 到 700GB 的数据。在这个目录运行 `rsync` 可能需要大量时间,尤其是当你使用校验选项时(我倾向使用)。
+
+当我们试图同步大量数据或者通过慢的网络连接时,可能遇到性能问题。让我给你展示一些我使用的方法来确保好的性能和可靠性。
+
+### rsync 高级用法
+
+`rsync` 运行时出现的第一行是:“正在发送增量文件列表。” 如果你在网上搜索这一行,你将看到很多类似的问题:为什么它一直运行,或者为什么它似乎挂起了。
+
+这里是一个基于这个场景的例子。假设我们有一个 `/storage` 的目录,我们想要备份到一个外部 USB 磁盘,我们可以使用下面的命令:
+
+```
+rsync -cav /storage /media/WDPassport
+```
+
+`-c` 选项告诉 `rsync` 使用文件校验和而不是时间戳来决定改变的文件,这通常消耗的时间更久。为了分解 `/storage` 目录,我通过子目录同步,使用 `find` 命令。这是一个例子:
+
+
+```
+find /storage -type d -exec rsync -cav {} /media/WDPassport \;
+```
+
+这看起来可以,但是如果 `/storage` 目录有任何文件,它们将被跳过。因此,我们如何同步 `/storage` 目录中的文件呢?同样有一个细微的差别是这些选项将造成 `rsync` 会同步 `.` 目录,该目录是源目录自身;这意味着它会同步子目录两次,这并不是我们想要的。
+
+长话短说,我的解决方案是一个 “双-递增”脚本。这允许我分解一个目录,例如,当你的家目录有多个大的目录,例如音乐或者家庭照片时,分解 `/home` 目录为单个的用户家目录。
+
+这是我的脚本的一个例子:
+
+```
+HOMES="alan"
+DRIVE="/media/WDPassport"
+
+for HOME in $HOMES; do
+cd /home/$HOME
+rsync -cdlptgov --delete . /$DRIVE/$HOME
+find . -maxdepth 1 -type d -not -name "." -exec rsync -crlptgov --delete {} /$DRIVE/$HOME \;
+done
+```
+
+第一个 `rsync` 命令拷贝它在源目录中发现的文件和目录。然而,它将目录留着不处理,因此我们能够通过 `find` 命令迭代它们。这通过传递 `-d` 参数来完成,它告诉 `rsync` 不要递归目录。
+
+
+```
+-d, --dirs 传输目录而不递归
+```
+
+然后 `find` 命令传递每个目录来单独运行 `rsync`。之后 `rsync` 拷贝目录的内容。这通过传递 `-r` 参数来完成,它告诉 `rsync` 要递归目录。
+
+
+```
+-r, --recursive 递归进入目录
+```
+
+这使得 `rsync` 使用的增量文件保持在一个合理的大小。
+
+大多数 `rsync` 指南为了简便使用 `-a` (或者 `archive`) 参数。这实际是一个复合参数。
+
+```
+-a, --archive 归档模式;等价于 -rlptgoD(没有 -H,-A,-X)
+```
+
+我传递的其他参数包含在 `a` 中;这些是 `-l`、`-p`、`-t`、`-g`和 `-o`。
+
+
+```
+-l, --links 复制符号链接作为符号链接
+-p, --perms 保留权限
+-t, --times 保留修改时间
+-g, --group 保留组
+-o, --owner 保留拥有者(只适用于超级管理员)
+```
+
+`--delete` 选项告诉 `rsync` 删除目的地目录中所有在源目录不存在的任意文件。这种方式,运行的结果仅仅是复制。你同样可以排除 `.Trash` 目录或者 MacOS 创建的 `.DS_Store` 文件。
+
+
+```
+-not -name ".Trash*" -not -name ".DS_Store"
+```
+
+### 注意
+
+最后一条建议: `rsync` 可以是破坏性的命令。幸运的是,它的睿智的创造者提供了 “空运行” 的能力。如果我们加入 `n` 选项,rsync 会显示预期的输出但不写任何数据。
+
+
+```
+`rsync -cdlptgovn --delete . /$DRIVE/$HOME`
+```
+
+这个脚本适用于非常大的存储规模和高延迟或者慢链接的情况。一如既往,我确信仍有提升的空间。如果你有任何建议,请在下方评论中分享。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/advanced-rsync
+
+作者:[Alan Formy-Duval][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/alanfdoss/users/marcobravo
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/documents_papers_file_storage_work.png?itok=YlXpAqAJ (Filing papers and documents)
+[2]: http://Opensource.com
+[3]: https://linux.cn/article-8237-1.html
+[4]: https://opensource.com/poll/19/4/backup-strategy-home-directory-linux
+[5]: https://opensource.com/article/19/2/linux-backup-solutions
+[6]: https://en.wikipedia.org/wiki/Rsync
diff --git a/published/201905/20190509 21 Best Kali Linux Tools for Hacking and Penetration Testing.md b/published/201905/20190509 21 Best Kali Linux Tools for Hacking and Penetration Testing.md
new file mode 100644
index 0000000000..f3ac78e47a
--- /dev/null
+++ b/published/201905/20190509 21 Best Kali Linux Tools for Hacking and Penetration Testing.md
@@ -0,0 +1,263 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10860-1.html)
+[#]: subject: (21 Best Kali Linux Tools for Hacking and Penetration Testing)
+[#]: via: (https://itsfoss.com/best-kali-linux-tools/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+用于黑客渗透测试的 21 个最佳 Kali Linux 工具
+======
+
+> 这里是最好的 Kali Linux 工具列表,它们可以让你评估 Web 服务器的安全性,并帮助你执行黑客渗透测试。
+
+如果你读过 [Kali Linux 点评][1],你就知道为什么它被认为是[最好的黑客渗透测试的 Linux 发行版][2]之一,而且名副其实。它带有许多工具,使你可以更轻松地测试、破解以及进行与数字取证相关的任何其他工作。
+
+它是道德黑客最推荐的 Linux 发行版之一。即使你不是黑客而是网站管理员 —— 你仍然可以利用其中某些工具轻松地扫描你的网络服务器或网页。
+
+在任何一种情况下,无论你的目的是什么 —— 让我们来看看你应该使用的一些最好的 Kali Linux 工具。
+
+*注意:这里不是所提及的所有工具都是开源的。*
+
+### 用于黑客渗透测试的 Kali Linux 工具
+
+
+
+Kali Linux 预装了几种类型的工具。如果你发现有的工具没有安装,只需下载并进行设置即可。这很简单。
+
+#### 1、Nmap
+
+![Kali Linux Nmap][4]
+
+[Nmap][5] (即 “网络映射器”)是 Kali Linux 上最受欢迎的信息收集工具之一。换句话说,它可以获取有关主机的信息:其 IP 地址、操作系统检测以及网络安全的详细信息(如开放的端口数量及其含义)。
+
+它还提供防火墙规避和欺骗功能。
+
+#### 2、Lynis
+
+![Lynis Kali Linux Tool][6]
+
+[Lynis][7] 是安全审计、合规性测试和系统强化的强大工具。当然,你也可以将其用于漏洞检测和渗透测试。
+
+它将根据检测到的组件扫描系统。例如,如果它检测到 Apache —— 它将针对入口信息运行与 Apache 相关的测试。
+
+#### 3、WPScan
+
+![][8]
+
+WordPress 是[最好的开源 CMS][9]之一,而这个工具是最好的免费 WordpPress 安全审计工具。它是免费的,但不是开源的。
+
+如果你想知道一个 WordPress 博客是否在某种程度上容易受到攻击,[WPScan][10] 就是你的朋友。
+
+此外,它还为你提供了所用的插件的详细信息。当然,一个安全性很好的博客可能不会暴露给你很多细节,但它仍然是 WordPress 安全扫描找到潜在漏洞的最佳工具。
+
+#### 4、Aircrack-ng
+
+![][11]
+
+[Aircrack-ng][12] 是评估 WiFi 网络安全性的工具集合。它不仅限于监控和获取信息 —— 还包括破坏网络(WEP、WPA 1 和 WPA 2)的能力。
+
+如果你忘记了自己的 WiFi 网络的密码,可以尝试使用它来重新获得访问权限。它还包括各种无线攻击能力,你可以使用它们来定位和监控 WiFi 网络以增强其安全性。
+
+#### 5、Hydra
+
+![][13]
+
+如果你正在寻找一个有趣的工具来破解登录密码,[Hydra][14] 将是 Kali Linux 预装的最好的工具之一。
+
+它可能不再被积极维护,但它现在放在 [GitHub][15] 上,所以你也可以为它做贡献。
+
+#### 6、Wireshark
+
+![][17]
+
+[Wireshark][18] 是 Kali Linux 上最受欢迎的网络分析仪。它也可以归类为用于网络嗅探的最佳 Kali Linux 工具之一。
+
+它正在积极维护,所以我肯定会建议你试试它。
+
+#### 7、Metasploit Framework
+
+![][19]
+
+[Metsploit Framework][20](MSF)是最常用的渗透测试框架。它提供两个版本:一个开源版,另外一个是其专业版。使用此工具,你可以验证漏洞、测试已知漏洞并执行完整的安全评估。
+
+当然,免费版本不具备所有功能,所以如果你在意它们的区别,你应该在[这里][21]比较一下版本。
+
+#### 8、Skipfish
+
+![][22]
+
+与 WPScan 类似,但它不仅仅专注于 WordPress。[Skipfish][23] 是一个 Web 应用扫描程序,可以为你提供几乎所有类型的 Web 应用程序的洞察信息。它快速且易于使用。此外,它的递归爬取方法使它更好用。
+
+Skipfish 生成的报告可以用于专业的 Web 应用程序安全评估。
+
+#### 9、Maltego
+
+![][24]
+
+[Maltego][25] 是一种令人印象深刻的数据挖掘工具,用于在线分析信息并连接信息点(如果有的话)。 根据这些信息,它创建了一个有向图,以帮助分析这些数据之间的链接。
+
+请注意,这不是一个开源工具。
+
+它已预装,但你必须注册才能选择要使用的版本。如果个人使用,社区版就足够了(只需要注册一个帐户),但如果想用于商业用途,则需要订阅 classic 或 XL 版本。
+
+#### 10、Nessus
+
+![Nessus][26]
+
+如果你的计算机连接到了网络,Nessus 可以帮助你找到潜在攻击者可能利用的漏洞。当然,如果你是多台连接到网络的计算机的管理员,则可以使用它并保护这些计算机。
+
+但是,它不再是免费的工具了,你可以从[官方网站][27]免费试用 7 天。
+
+#### 11、Burp Suite Scanner
+
+![][28]
+
+[Burp Suite Scanner][29] 是一款出色的网络安全分析工具。与其它 Web 应用程序安全扫描程序不同,Burp 提供了 GUI 和一些高级工具。
+
+社区版仅将功能限制为一些基本的手动工具。对于专业人士,你必须考虑升级。与前面的工具类似,这也不是开源的。
+
+我使用过免费版本,但是如果你想了解更多细节,你应该查看他们[官方网站][29]上提供的功能。
+
+#### 12、BeEF
+
+![][30]
+
+BeEF(浏览器利用框架)是另一个令人印象深刻的工具。它专为渗透测试人员量身定制,用于评估 Web 浏览器的安全性。
+
+这是最好的 Kali Linux 工具之一,因为很多用户在谈论 Web 安全时希望了解并修复客户端的问题。
+
+#### 13、Apktool
+
+![][31]
+
+[Apktool][32] 确实是 Kali Linux 上用于逆向工程 Android 应用程序的流行工具之一。当然,你应该正确利用它 —— 出于教育目的。
+
+使用此工具,你可以自己尝试一下,并让原开发人员了解你的想法。你认为你会用它做什么?
+
+#### 14、sqlmap
+
+![][34]
+
+如果你正在寻找一个开源渗透测试工具 —— [sqlmap][35] 是最好的之一。它可以自动化利用 SQL 注入漏洞的过程,并帮助你接管数据库服务器。
+
+#### 15、John the Ripper
+
+![John The Ripper][36]
+
+[John the Ripper][37] 是 Kali Linux 上流行的密码破解工具。它也是自由开源的。但是,如果你对[社区增强版][37]不感兴趣,可以用于商业用途的[专业版][38]。
+
+#### 16、Snort
+
+想要实时流量分析和数据包记录功能吗?[Snort][39] 可以鼎力支持你。即使它是一个开源的入侵防御系统,也有很多东西可以提供。
+
+如果你还没有安装它,[官方网站][40]提及了安装过程。
+
+#### 17、Autopsy Forensic Browser
+
+![][41]
+
+[Autopsy][42] 是一个数字取证工具,用于调查计算机上发生的事情。那么,你也可以使用它从 SD 卡恢复图像。它也被执法官员使用。你可以阅读[文档][43]来探索可以用它做什么。
+
+你还应该查看他们的 [GitHub 页面][44]。
+
+#### 18、King Phisher
+
+![King Phisher][45]
+
+网络钓鱼攻击现在非常普遍。[King Phisher 工具][46]可以通过模拟真实的网络钓鱼攻击来帮助测试和提升用户意识。出于显而易见的原因,在模拟一个组织的服务器内容前,你需要获得许可。
+
+#### 19、Nikto
+
+![Nikto][47]
+
+[Nikto][48] 是一款功能强大的 Web 服务器扫描程序 —— 这使其成为最好的 Kali Linux 工具之一。 它会检查存在潜在危险的文件/程序、过时的服务器版本等等。
+
+#### 20、Yersinia
+
+![][49]
+
+[Yersinia][50] 是一个有趣的框架,用于在网络上执行第 2 层攻击(第 2 层是指 [OSI 模型][51]的数据链路层)。当然,如果你希望你的网络安全,则必须考虑所有七个层。但是,此工具侧重于第 2 层和各种网络协议,包括 STP、CDP,DTP 等。
+
+#### 21、Social Engineering Toolkit (SET)
+
+![][52]
+
+如果你正在进行相当严格的渗透测试,那么这应该是你应该检查的最佳工具之一。社交工程是一个大问题,使用 [SET][53] 工具,你可以帮助防止此类攻击。
+
+### 总结
+
+实际上 Kali Linux 捆绑了很多工具。请参考 Kali Linux 的[官方工具列表页面][54]来查找所有内容。
+
+你会发现其中一些是完全自由开源的,而有些则是专有解决方案(但是免费)。但是,出于商业目的,你应该始终选择高级版本。
+
+我们可能错过了你最喜欢的某个 Kali Linux 工具。请在下面的评论部分告诉我们。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/best-kali-linux-tools/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/kali-linux-review/
+[2]: https://itsfoss.com/linux-hacking-penetration-testing/
+[3]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/kali-linux-tools.jpg?resize=800%2C518&ssl=1
+[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/kali-linux-nmap.jpg?resize=800%2C559&ssl=1
+[5]: https://nmap.org/
+[6]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/lynis-kali-linux-tool.jpg?resize=800%2C525&ssl=1
+[7]: https://cisofy.com/lynis/
+[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/wpscan-kali-linux.jpg?resize=800%2C545&ssl=1
+[9]: https://itsfoss.com/open-source-cms/
+[10]: https://wpscan.org/
+[11]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/aircrack-ng-kali-linux-tool.jpg?resize=800%2C514&ssl=1
+[12]: https://www.aircrack-ng.org/
+[13]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/hydra-kali-linux.jpg?resize=800%2C529&ssl=1
+[14]: https://github.com/vanhauser-thc/thc-hydra
+[15]: https://github.com/vanhauser-thc/THC-Archive
+[16]: https://itsfoss.com/new-linux-distros-2013/
+[17]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/wireshark-network-analyzer.jpg?resize=800%2C556&ssl=1
+[18]: https://www.wireshark.org/
+[19]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/metasploit-framework.jpg?resize=800%2C561&ssl=1
+[20]: https://github.com/rapid7/metasploit-framework
+[21]: https://www.rapid7.com/products/metasploit/download/editions/
+[22]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/skipfish-kali-linux-tool.jpg?resize=800%2C515&ssl=1
+[23]: https://gitlab.com/kalilinux/packages/skipfish/
+[24]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/maltego.jpg?resize=800%2C403&ssl=1
+[25]: https://www.paterva.com/web7/buy/maltego-clients.php
+[26]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/nessus.jpg?resize=800%2C456&ssl=1
+[27]: https://www.tenable.com/try
+[28]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/burp-suite-community-edition-800x582.jpg?resize=800%2C582&ssl=1
+[29]: https://portswigger.net/burp
+[30]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/beef-framework.jpg?resize=800%2C339&ssl=1
+[31]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/apktool.jpg?resize=800%2C504&ssl=1
+[32]: https://github.com/iBotPeaches/Apktool
+[33]: https://itsfoss.com/format-factory-alternative-linux/
+[34]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/sqlmap.jpg?resize=800%2C528&ssl=1
+[35]: http://sqlmap.org/
+[36]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/john-the-ripper.jpg?ssl=1
+[37]: https://github.com/magnumripper/JohnTheRipper
+[38]: https://www.openwall.com/john/pro/
+[39]: https://www.snort.org/
+[40]: https://www.snort.org/#get-started
+[41]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/autopsy-forensic-browser.jpg?resize=800%2C319&ssl=1
+[42]: https://www.sleuthkit.org/autopsy/
+[43]: https://www.sleuthkit.org/autopsy/docs.php
+[44]: https://github.com/sleuthkit/autopsy
+[45]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/king-phisher.jpg?resize=800%2C626&ssl=1
+[46]: https://github.com/securestate/king-phisher
+[47]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/nikto.jpg?resize=800%2C511&ssl=1
+[48]: https://gitlab.com/kalilinux/packages/nikto/
+[49]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/yersinia.jpg?resize=800%2C516&ssl=1
+[50]: https://github.com/tomac/yersinia
+[51]: https://en.wikipedia.org/wiki/OSI_model
+[52]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/social-engineering-toolkit.jpg?resize=800%2C511&ssl=1
+[53]: https://www.trustedsec.com/social-engineer-toolkit-set/
+[54]: https://tools.kali.org/tools-listing
diff --git a/published/201905/20190510 How to Use 7Zip in Ubuntu and Other Linux -Quick Tip.md b/published/201905/20190510 How to Use 7Zip in Ubuntu and Other Linux -Quick Tip.md
new file mode 100644
index 0000000000..f3de1044ee
--- /dev/null
+++ b/published/201905/20190510 How to Use 7Zip in Ubuntu and Other Linux -Quick Tip.md
@@ -0,0 +1,109 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10855-1.html)
+[#]: subject: (How to Use 7Zip in Ubuntu and Other Linux [Quick Tip])
+[#]: via: (https://itsfoss.com/use-7zip-ubuntu-linux/)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+如何在 Ubuntu 和其他 Linux 发行版上使用 7Zip
+==============================================
+
+
+
+> 不能在 Linux 中提取 .7z 文件?学习如何在 Ubuntu 和其他 Linux 发行版中安装和使用 7zip。
+
+[7Zip][1](更适当的写法是 7-Zip)是一种在 Windows 用户中广泛流行的归档格式。一个 7Zip 归档文件通常以 .7z 扩展结尾。它大部分是开源的,除了包含一些少量解压 rar 文件的代码。
+
+默认大多数 Linux 发行版不支持 7Zip。如果你试图提取它,你会看见这个错误:
+
+> 不能打开这种文件类型
+
+> 没有已安装的适用 7-zip 归档文件的命令。你想搜索一个命令来打开这个文件吗?
+
+![][2]
+
+不要担心,你可以轻松的在 Ubuntu 和其他 Linux 发行版中安装 7zip。
+
+一个问题是你会注意到如果你试图用 [apt-get install 命令][3],你会发现没有以 7zip 开头的候选安装。因为在 Linux 中 7Zip 包的名字是 [p7zip][4]。以字母 “p” 开头而不是预期的数字 “7”。
+
+让我们看一下如何在 Ubuntu 和其他 Linux 发行版中安装 7zip。
+
+### 在 Ubuntu Linux 中安装 7Zip
+
+你需要做的第一件事是安装 p7zip 包。你会在 Ubuntu 中发现 3 个包:p7zip、p7zip-full 和 pzip-rar。
+
+pzip 和 p7zip-full 的不同是 pzip 是一个轻量级的版本,仅仅对 .7z 文件提供支持,而 p7zip-full 提供了更多的 7z 压缩算法(例如音频文件)。
+
+p7zip-rar 包在 7z 中提供了对 [RAR 文件][6] 的支持
+
+在大多数情况下安装 p7zip-full 就足够了,但是你可能想安装 p7zip-rar 来支持 rar 文件的解压。
+
+p7zip 包在 [Ubuntu 的 universe 仓库][7] 因此保证你可以使用以下命令:
+
+```
+sudo add-apt-repository universe
+sudo apt update
+```
+
+在 Ubuntu 和基于 Debian 的发行版中使用以下命令。
+
+```
+sudo apt install p7zip-full p7zip-rar
+```
+
+这很好。现在在你的系统就有了 7zip 归档的支持。
+
+### 在 Linux 中提取 7Zip 归档文件
+
+安装了 7Zip 后,在 Linux 中,你可以在图形用户界面或者 命令行中提取 7zip 文件。
+
+在图形用户界面,你可以像提取其他压缩文件一样提取 .7z 文件。右击文件来提取它。
+
+在终端中,你可以使用下列命令提取 .7z 归档文件:
+
+```
+7z e file.7z
+```
+
+### 在 Linux 中压缩文件为 7zip 归档格式
+
+你可以在图形界面压缩文件为 7zip 归档格式。简单的在文件或目录上右击,选择“压缩”。你应该看到几种类型的文件格式选项。选择 .7z。
+
+![7zip Archive Ubuntu][9]
+
+作为替换,你也可以在命令行中使用。这里是你可以用来压缩的命令:
+
+```
+7z a 输出的文件名 要压缩的文件
+```
+
+默认,归档文件有 .7z 扩展。你可以通过在指定输出文件扩展名为 .zip 以压缩为 zip 格式。
+
+### 总结
+
+就是这样。看,在 Linux 中使用 7zip 多简单?我希望你喜欢这个快速指南。如果你有问题或者建议,请随意在下方评论让我知道。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/use-7zip-ubuntu-linux/
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://www.7-zip.org/
+[2]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2015/07/Install_7zip_ubuntu_1.png?ssl=1
+[3]: https://itsfoss.com/apt-get-linux-guide/
+[4]: https://sourceforge.net/projects/p7zip/
+[5]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/7zip-linux.png?resize=800%2C450&ssl=1
+[6]: https://itsfoss.com/use-rar-ubuntu-linux/
+[7]: https://itsfoss.com/ubuntu-repositories/
+[8]: https://itsfoss.com/easily-share-files-linux-windows-mac-nitroshare/
+[9]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/7zip-archive-ubuntu.png?resize=800%2C239&ssl=1
diff --git a/published/201905/20190510 PHP in 2019.md b/published/201905/20190510 PHP in 2019.md
new file mode 100644
index 0000000000..5b6aa01eb2
--- /dev/null
+++ b/published/201905/20190510 PHP in 2019.md
@@ -0,0 +1,169 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10870-1.html)
+[#]: subject: (PHP in 2019)
+[#]: via: (https://stitcher.io/blog/php-in-2019)
+[#]: author: (Brent https://stitcher.io/blog/php-in-2019)
+
+9102 年的 PHP
+======
+
+你还记得篇流行的博客文章《[PHP:设计糟糕的分形][3]》吗?我第一次读到它时,我在一个有很多遗留的 PHP 项目的糟糕地方工作。这篇文章让我觉得我是否应该放弃,并去做与编程完全不同的事情。
+
+还好,我之后很快就换了工作,更重要的是,自从 5.x 版本以来,PHP 成功地进步了很多。今天,我在向那些不再使用 PHP 编程,或者陷入遗留项目的人们致意。
+
+剧透:今天有些事情仍然很糟糕,就像几乎每种编程语言都有它的怪癖一样。许多核心功能仍然有不一致的调用方法,仍然有令人困惑的配置设置,仍然有许多开发人员在那里写蹩脚的代码 —— 因为他们必须如此,或是他们不知道更好的写法。
+
+今天我想看看好的一面:让我们关注已经发生变化的事情,以及编写干净而可维护的 PHP 代码的方法。在此之前,我想请你暂时搁置任何偏见。
+
+然后,你可以像以前一样对 PHP 自由吐槽。虽然,你可能会对 PHP 在过去的几年里的一些改进感到惊讶。(LCTT 译注:说实话,我是真的感到吃惊)
+
+### 提前看结论
+
+* PHP 在积极地开发,每年都有新版本
+* 自 PHP 5 时代以来的性能已经翻倍,如果不是三倍的话
+* 有一个非常活跃的框架、包和平台的生态系统
+* PHP 在过去几年中添加了许多新功能,并且这种语言在不断发展
+* 像静态分析这样的工具在过去几年中已经成熟,并且一直保持增长
+
+更新:人们让我展示一些实际的代码。我觉得这没问题!这是我的一个业余项目的[源代码][4],用 PHP 和 Laravel 编写的;[这里][5]列出了我们在办公室维护的几百个自由开源软件包。这两者都是现代 PHP 项目的好例子。
+
+那让我们开始吧。
+
+### 历史总结
+
+出于更好地衡量的目的,让我们快速回顾一下如今的 PHP 发布周期。我们现在的 PHP 为 7.3,预计在 2019 年底为 7.4。PHP 8.0 将是 7.4 之后的下一个版本。
+
+自从 5.x 时代以来,核心团队试图保持每年发布一个版本的周期,并且他们在过去的四年中成功地做到了这一点。
+
+一般来说,每个新版本都会在两年内得到积极支持,并再获得一年以上的“安全修复”。其目标是激励 PHP 开发人员尽可能保持最新:例如,每年进行小规模升级比在 5.4 到 7.0 之间跳转更容易。
+
+可以在 [这里][6] 找到 PHP 时间轴的活动概述。
+
+最后,PHP 5.6 是最新的 5.x 版本,而 8.0 是当前的下一个大版本。如果你想知道 PHP 6 发生了什么,你可以听听 [PHP Roundtable 播客][7]。
+
+了解了这个,让我们揭穿一些关于现代 PHP 的常见误解。
+
+### PHP 的性能
+
+早在 5.x 时代,PHP 的表现就是……嗯,平均水平。但是在 7.0 版本中,PHP 从头开始重写了核心部分,导致其性能提升了两到三倍!
+
+但光是嘴说是不够的。让我们来看看基准测试。幸运的是,人们花了很多时间对 PHP 性能进行了基准测试。 我发现 [Kinsta][8] 有一个很好的更新的测试列表。
+
+自 7.0 升级以来,性能就一直在提升而没有回退。PHP Web 应用程序的性能可与其它语言中的 Web 框架相提并论,甚至在某些情况下更好。你可以看看这个[广泛的基准测试套件][9]。
+
+当然 PHP 框架不会胜过 C 和 Rust,但它们比 Rails 或 Django 要好得多,并且与 ExpressJS 相当。
+
+### 框架和生态系统
+
+说到框架:PHP 可不仅仅是 WordPress。让我告诉你 —— 某些专业的 PHP 开发人员:WordPress 绝不代表当代的 PHP 生态系统。
+
+一般来说,有两个主要的 Web 应用程序框架,[Symfony][10] 和 [Laravel][11],以及一些较小的应用程序框架。当然还有 Zend、Yii、Cake、Code Igniter 等等,但是如果你想知道现代 PHP 开发是怎么样的,这两者之一都是很好的选择。
+
+这两个框架都有一个庞大的包和产品的生态系统。从管理面板和 CRM 到独立软件包,从 CI 到分析器,以及几个 Web 套接字服务器、队列管理器、支付集成等众多服务。老实说,要列出的内容太多了。
+
+这些框架虽然适用于实际开发。如果你只是需要个内容管理系统(CMS),WordPress 和 CraftCMS 等平台就够了。
+
+衡量 PHP 生态系统当前状态的一种方法是查看 Packagist,这是 PHP 主要的软件包存储库。它现在呈指数级增长。每天下载量达到了 2500 万次,可以说 PHP 生态系统已不再是以前的小型弱势群体了。
+
+请查看此图表,它列出一段时间内的软件包和版本数量变化。它也可以在 [Packagist 网站][12]上找到它。
+
+![][13]
+
+除了应用程序框架和 CMS 之外,我们还看到过去几年里异步框架的兴起。
+
+这些是用 PHP 或其他语言编写的框架和服务器,允许用户运行真正的异步 PHP,这些例子包括 [Swoole][14](创始人韩天峰),以及 [Amp][15] 和 [ReactPHP][16]。
+
+我们已经进入了异步的世界,像 Web 套接字和具有大量 I/O 的应用程序之类的东西在 PHP 世界中已经变得非常重要。
+
+在内部邮件列表里(PHP 核心开发人员讨论语言开发的地方)已经谈到了[将 libuv 添加到核心][17]。如果你还不知道 libuv:Node.js 全有赖它提供异步性。
+
+### 语言本身
+
+虽然尚未提供 `async` 和 `await`,但在过去几年中,PHP 语言本身已经有了很多改进。这是 PHP 中新功能的非详尽列表:
+
+
++ [短闭包](https://stitcher.io/blog/short-closures-in-php)(箭头函数)
++ [Null 合并操作符](https://stitcher.io/blog/shorthand-comparisons-in-php#null-coalescing-operator)(`??`)
++ [Trait](https://www.php.net/manual/en/language.oop5.traits.php)(一种代码重用方式)
++ [属性类型](https://stitcher.io/blog/new-in-php-74#typed-properties-rfc)
++ [展开操作符](https://wiki.php.net/rfc/argument_unpacking)(参数解包 `...`)
++ [JIT 编译器](https://wiki.php.net/rfc/jit)(即时编译器)
++ [FFI](https://wiki.php.net/rfc/ffi)(外部函数接口)
++ [匿名类](https://www.php.net/manual/en/language.oop5.anonymous.php)
++ [返回类型声明](https://www.php.net/manual/en/functions.returning-values.php#functions.returning-values.type-declaration)
++ [现代化的加密支持](https://wiki.php.net/rfc/libsodium)
++ [生成器](https://wiki.php.net/rfc/generators)
++ [等等](https://www.php.net/ChangeLog-7.php)
+
+当我们讨论语言功能时,我们还要谈谈当今该语言的发展过程。虽然社区可以提出 RFC,但是得有一个活跃的志愿者核心团队才能推着它前进。
+
+接下来,这些 RFC 将在“内部”邮件列表中进行讨论,这个邮件列表也可以[在线阅读][18]。在添加新的语言特性之前,必须进行投票。只有得到了至少 2/3 多数同意的 RFC 才能进入核心。
+
+可能有大约 100 人能够投票,但不需要每个人对每个 RFC 进行投票。核心团队的成员当然可以投票,他们是维护代码库的人。除了他们之外,还有一群人从 PHP 社区中被单独挑选出来。这些人包括 PHP 文档的维护者,对 PHP 项目整体有贡献的人,以及 PHP 社区中的杰出开发人员。
+
+虽然大多数核心开发都是在自愿的基础上完成的,但其中一位核心 PHP 开发人员 Nikita Popov 最近受雇于 [JetBrains][19] 全职从事于 PHP 语言的开发。另一个例子是 Linux 基金会最近决定[投资 Zend 框架][20]。像这样的雇佣和收购确保了 PHP 未来发展的稳定性。
+
+### 工具
+
+除了核心本身,我们看到过去几年中围绕它的工具有所增加。首先浮现于我脑海中的是静态分析器,比如由 Vimeo 创建 [Psalm][21],以及 [Phan][22] 和 [PHPStan][23]。
+
+这些工具将静态分析你的 PHP 代码并报告任何类型错误和可能的错误等。在某种程度上,它们提供的功能可以与 TypeScript 进行比较,但是现在这种语言不能转译,因此不支持使用自定义语法。
+
+尽管这意味着我们需要依赖 docblocks,但是 PHP 之父 Rasmus Lerdorf 确实提到了[添加静态分析引擎][24]到核心的想法。虽然会有很多潜力,但这是一项艰巨的任务。
+
+说到转译,以及受到 JavaScript 社区的启发;他们已经努力在用户领域中扩展 PHP 语法。一个名为 [Pre][25] 的项目正是如此:允许将新的 PHP 语法转译为普通的 PHP 代码。
+
+虽然这个思路已经在 JavaScript 世界中被证明了,但如果提供了适当的 IDE 和静态分析支持,它就能在 PHP 中工作了。这是一个非常有趣的想法,但必须发展起来才能称之为“主流”。
+
+### 结语
+
+尽管如此,你仍然可以将 PHP 视为一种糟糕的语言。虽然这种语言肯定有它的缺点和背负了 20 年的遗产;但我可以放胆地说,我喜欢用它工作。
+
+根据我的经验,我能够创建可靠、可维护和高质量的软件。我工作的客户对最终结果感到满意,“俺也一样”。
+
+尽管仍然可以用 PHP 做很多乱七八糟的事情,但我认为如果明智和正确地使用的话,它是 Web 开发的绝佳选择。
+
+你不同意吗?让我知道为什么!你可以通过 [Twitter][2] 或 [电子邮件][26] 与我联系。
+
+--------------------------------------------------------------------------------
+
+via: https://stitcher.io/blog/php-in-2019
+
+作者:[Brent][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://stitcher.io/blog/php-in-2019
+[b]: https://github.com/lujun9972
+[1]: https://stitcher.io/
+[2]: https://twitter.com/brendt_gd
+[3]: https://eev.ee/blog/2012/04/09/php-a-fractal-of-bad-design/
+[4]: https://github.com/brendt/aggregate.stitcher.io
+[5]: https://spatie.be/open-source/packages
+[6]: https://www.php.net/supported-versions.php
+[7]: https://www.phproundtable.com/episode/what-happened-to-php-6
+[8]: https://kinsta.com/blog/php-benchmarks/
+[9]: https://github.com/the-benchmarker/web-frameworks
+[10]: https://symfony.com/
+[11]: https://laravel.com/
+[12]: https://packagist.org/statistics
+[13]: https://stitcher.io/resources/img/blog/php-in-2019/packagist.png
+[14]: https://www.swoole.co.uk/
+[15]: https://amphp.org/
+[16]: https://reactphp.org/
+[17]: https://externals.io/message/102415#102415
+[18]: https://externals.io/
+[19]: https://blog.jetbrains.com/phpstorm/2019/01/nikita-popov-joins-phpstorm-team/
+[20]: https://getlaminas.org/
+[21]: https://github.com/vimeo/psalm
+[22]: https://github.com/phan/phan
+[23]: https://github.com/phpstan/phpstan
+[24]: https://externals.io/message/101477#101592
+[25]: https://preprocess.io/
+[26]: mailto:brendt@stitcher.io
diff --git a/published/201905/20190513 How to SSH into a Raspberry Pi -Beginner-s Tip.md b/published/201905/20190513 How to SSH into a Raspberry Pi -Beginner-s Tip.md
new file mode 100644
index 0000000000..ca59e6c392
--- /dev/null
+++ b/published/201905/20190513 How to SSH into a Raspberry Pi -Beginner-s Tip.md
@@ -0,0 +1,120 @@
+[#]: collector: (lujun9972)
+[#]: translator: (tomjlw)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10888-1.html)
+[#]: subject: (How to SSH into a Raspberry Pi [Beginner’s Tip])
+[#]: via: (https://itsfoss.com/ssh-into-raspberry/)
+[#]: author: (Chinmay https://itsfoss.com/author/chinmay/)
+
+新手教程:如何 SSH 进入树莓派
+======
+
+> 在这篇树莓派文章中,你将学到如何在树莓派中启用 SSH 以及之后如何通过 SSH 进入树莓派。
+
+在你可以用[树莓派][1]做的所有事情中,将其作为一个家庭网络的服务器是十分流行的做法。小体积与低功耗使它成为运行轻量级服务器的完美设备。
+
+在这种情况下你做得到的事情之一是能够每次在树莓派上无须接上显示器、键盘、鼠标以及走到放置你的树莓派的地方就可以运行指令。
+
+你可以从其它任意电脑、笔记本、台式机甚至你的手机通过 SSH([Secure Shell][2])登入你的树莓派来做到这一点。让我展示给你看:
+
+### 如何 SSH 进入树莓派
+
+![][3]
+
+我假设你已经[在你的树莓派上运行 Raspbian][4] 并已经成功通过有线或者无线网连进网络了。你的树莓派接入网络这点是很重要的,否则你无法通过 SSH 连接树莓派(抱歉说出这种显而易见的事实)。
+
+#### 步骤一:在树莓派上启用 SSH
+
+SSH 在树莓派上是默认关闭的,因此在你安装好全新的 Raspbian 后打开树莓派时,你需要启用它。
+
+首先通过菜单进入树莓派的配置界面。
+
+![树莓派菜单,树莓派配置][5]
+
+现在进入接口标签,启动 SSH 并重启你的树莓派。
+
+![在树莓派上启动 SSH][6]
+
+你也可以通过终端直接启动 SSH。仅需输入命令 `sudo raspi-config` 然后进入高级设置以启用 SSH。
+
+#### 步骤二: 找到树莓派的 IP 地址
+
+在大多数情况下,你的树莓派会被分配一个看起来长得像 `192.168.x.x` 或者 `10.x.x.x` 的本地 IP 地址。你可以[使用多种 Linux 命令来找到 IP 地址][7]。
+
+我在这使用古老而好用的 `ifconfig` 命令,但是你也可以使用 `ip address`。
+
+```
+ifconfig
+```
+
+![树莓派网络配置][9]
+
+这行命令展现了所有活跃中的网络适配器以及其配置的列表。第一个条目(`eth0`)展示了例如`192.168.2.105` 的有效 IP 地址。我用有线网将我的树莓派连入网络,因此这里显示的是 `eth0`。如果你用无线网的话在叫做 `wlan0` 的条目下查看。
+
+你也可以用其他方法例如查看你的路由器或者调制解调器的网络设备表以找到 IP 地址。
+
+#### 步骤三:SSH 进你的树莓派
+
+既然你已经启用了 SSH 功能并且找到了 IP 地址,你可以从任何电脑 SSH 进入你的树莓派。你同样需要树莓派的用户名和密码。
+
+默认用户名和密码是:
+
+ * 用户名:`pi`
+ * 密码:`raspberry`
+
+如果你已改变了默认的密码,那就使用新的而不是以上的密码。理想状态下你必须改变默认的密码。在过去,有一款[恶意软件感染数千使用默认用户名和密码的树莓派设备][8]。
+
+(在 Mac 或 Linux 上)从你想要 SSH 进树莓派的电脑上打开终端输入以下命令,在 Windows 上,你可以用类似 [Putty][10] 的 SSH 客户端。
+
+这里,使用你在之前步骤中找到的 IP 地址。
+
+```
+ssh [受保护的邮件]
+```
+
+> 注意: 确保你的树莓派和你用来 SSH 进入树莓派的电脑接入了同一个网络。
+
+![通过命令行 SSH][11]
+
+第一次你会看到一个警告,输入 `yes` 并按下回车。
+
+![输入密码 \(默认是 ‘raspberry‘\)][12]
+
+现在,输入密码按下回车。
+
+![成功通过 SSH 登入][13]
+
+成功登入你将会看到树莓派的终端。现在你可以通过这个终端无需物理上访问你的树莓派就可以远程(在当前网络内)在它上面运行指令。
+
+在此之上你也可以设置 SSH 密钥这样每次通过 SSH 登入时就可以无需输入密码,但那完全是另一个话题了。
+
+我希望你通过跟着这个教程已能够 SSH 进入你的树莓派。在下方评论中让我知道你打算用你的树莓派做些什么!
+
+--------------------------------------------------------------------------
+
+via: https://itsfoss.com/ssh-into-raspberry/
+
+作者:[Chinmay][a]
+选题:[lujun9972][b]
+译者:[tomjlw](https://github.com/tomjlw)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/chinmay/
+[b]: https://github.com/lujun9972
+[1]: https://www.raspberrypi.org/
+[2]: https://en.wikipedia.org/wiki/Secure_Shell
+[3]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/ssh-into-raspberry-pi.png?resize=800%2C450&ssl=1
+[4]: https://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/
+[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/Raspberry-pi-configuration.png?ssl=1
+[6]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/enable-ssh-raspberry-pi.png?ssl=1
+[7]: https://linuxhandbook.com/find-ip-address/
+[8]: https://itsfoss.com/raspberry-pi-malware-threat/
+[9]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/ifconfig-rapberry-pi.png?ssl=1
+[10]: https://itsfoss.com/putty-linux/
+[11]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/SSH-into-pi-warning.png?fit=800%2C199&ssl=1
+[12]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/SSH-into-pi-password.png?fit=800%2C202&ssl=1
+[13]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/SSH-into-Pi-successful-login.png?fit=800%2C306&ssl=1
+[14]: https://itsfoss.com/speed-up-ubuntu-unity-on-low-end-system/
diff --git a/published/201905/20190516 Building Smaller Container Images.md b/published/201905/20190516 Building Smaller Container Images.md
new file mode 100644
index 0000000000..35efa5ea3a
--- /dev/null
+++ b/published/201905/20190516 Building Smaller Container Images.md
@@ -0,0 +1,117 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10885-1.html)
+[#]: subject: (Building Smaller Container Images)
+[#]: via: (https://fedoramagazine.org/building-smaller-container-images/)
+[#]: author: (Muayyad Alsadi https://fedoramagazine.org/author/alsadi/)
+
+构建更小的容器镜像的技巧
+======
+
+![][1]
+
+Linux 容器已经成为一个热门话题,保证容器镜像较小被认为是一个好习惯。本文提供了有关如何构建较小 Fedora 容器镜像的一些技巧。
+
+### microdnf
+
+Fedora 的 DNF 是用 Python 编写的,因为它有各种各样的插件,因此它的设计是可扩展的。但是 有一个 Fedora 基本容器镜像替代品,它使用一个较小的名为 [microdnf][2] 的包管理器,使用 C 编写。要在 Dockerfile 中使用这个最小的镜像,`FROM` 行应该如下所示:
+
+```
+FROM registry.fedoraproject.org/fedora-minimal:30
+```
+
+如果你的镜像不需要像 Python 这样的典型 DNF 依赖项,例如,如果你在制作 NodeJS 镜像时,那么这是一个重要的节省项。
+
+### 在一个层中安装和清理
+
+为了节省空间,使用 `dnf clean all` 或其 microdnf 等效的 `microdnf clean all` 删除仓库元数据非常重要。但是你不应该分两步执行此操作,因为这实际上会将这些文件保存在容器镜像中,然后在另一层中将其标记为删除。要正确地执行此操作,你应该像这样一步完成安装和清理:
+
+```
+FROM registry.fedoraproject.org/fedora-minimal:30
+RUN microdnf install nodejs && microdnf clean all
+```
+
+### 使用 microdnf 进行模块化
+
+模块化是一种给你选择不同堆栈版本的方法。例如,你可能需要在项目中用非 LTS 的 NodeJS v11,旧的 LTS NodeJS v8 用于另一个,最新的 LTS NodeJS v10 用于另一个。你可以使用冒号指定流。
+
+```
+# dnf module list
+# dnf module install nodejs:8
+```
+
+`dnf module install` 命令意味着两个命令,一个启用流,另一个是从它安装 nodejs。
+
+```
+# dnf module enable nodejs:8
+# dnf install nodejs
+```
+
+尽管 `microdnf` 不提供与模块化相关的任何命令,但是可以启用带有配置文件的模块,并且 libdnf(被 microdnf 使用)[似乎][3]支持模块化流。该文件看起来像这样:
+
+```
+/etc/dnf/modules.d/nodejs.module
+[nodejs]
+name=nodejs
+stream=8
+profiles=
+state=enabled
+```
+
+使用模块化的 `microdnf` 的完整 Dockerfile 如下所示:
+
+```
+FROM registry.fedoraproject.org/fedora-minimal:30
+RUN \
+ echo -e "[nodejs]\nname=nodejs\nstream=8\nprofiles=\nstate=enabled\n" > /etc/dnf/modules.d/nodejs.module && \
+ microdnf install nodejs zopfli findutils busybox && \
+ microdnf clean all
+```
+
+### 多阶段构建
+
+在许多情况下,你可能需要大量的无需用于运行软件的构建时依赖项,例如构建一个静态链接依赖项的 Go 二进制文件。多阶段构建是分离应用构建和应用运行时的有效方法。
+
+例如,下面的 Dockerfile 构建了一个 Go 应用 [confd][4]。
+
+```
+# building container
+FROM registry.fedoraproject.org/fedora-minimal AS build
+RUN mkdir /go && microdnf install golang && microdnf clean all
+WORKDIR /go
+RUN export GOPATH=/go; CGO_ENABLED=0 go get github.com/kelseyhightower/confd
+
+FROM registry.fedoraproject.org/fedora-minimal
+WORKDIR /
+COPY --from=build /go/bin/confd /usr/local/bin
+CMD ["confd"]
+```
+
+通过在 `FROM` 指令之后添加 `AS` 并从基本容器镜像中添加另一个 `FROM` 然后使用 `COPY --from=` 指令将内容从*构建*的容器复制到第二个容器来完成多阶段构建。
+
+可以使用 `podman` 构建并运行此 Dockerfile:
+
+```
+$ podman build -t myconfd .
+$ podman run -it myconfd
+```
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/building-smaller-container-images/
+
+作者:[Muayyad Alsadi][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/alsadi/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/05/smaller-container-images-816x345.jpg
+[2]: https://github.com/rpm-software-management/microdnf
+[3]: https://bugzilla.redhat.com/show_bug.cgi?id=1575626
+[4]: https://github.com/kelseyhightower/confd
diff --git a/published/201905/20190516 Querying 10 years of GitHub data with GHTorrent and Libraries.io.md b/published/201905/20190516 Querying 10 years of GitHub data with GHTorrent and Libraries.io.md
new file mode 100644
index 0000000000..5c51721c84
--- /dev/null
+++ b/published/201905/20190516 Querying 10 years of GitHub data with GHTorrent and Libraries.io.md
@@ -0,0 +1,156 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10906-1.html)
+[#]: subject: (Querying 10 years of GitHub data with GHTorrent and Libraries.io)
+[#]: via: (https://opensource.com/article/19/5/chaossearch-github-ghtorrent)
+[#]: author: (Pete Cheslock https://opensource.com/users/petecheslock/users/ghaff/users/payalsingh/users/davidmstokes)
+
+用 GHTorrent 和 Libraries.io 查询 10 年的 GitHub 数据
+======
+
+> 有一种方法可以在没有任何本地基础设施的情况下使用开源数据集探索 GitHub 数据。
+
+
+
+我一直在寻找新的数据集,以用它们来展示我们团队工作的力量。[CHAOSSEARCH][2] 可以将你的 [Amazon S3][3] 对象存储数据转换为完全可搜索的 [Elasticsearch][4] 式集群。使用 Elasticsearch API 或 [Kibana][5] 等工具,你可以查询你所要找的任何数据。
+
+当我找到 [GHTorrent][6] 项目进行探索时,我很兴奋。GHTorrent 旨在通过 GitHub API 构建所有可用数据的离线版本。如果你喜欢数据集,这是一个值得一看的项目,甚至你可以考虑[捐赠一个 GitHub API 密钥][7]。
+
+### 访问 GHTorrent 数据
+
+有许多方法可以访问和使用 [GHTorrent 的数据][8],它以 [NDJSON][9] 格式提供。这个项目可以以多种形式提供数据,包括用于恢复到 [MySQL][11] 数据库的 [CSV][10],可以转储所有对象的 [MongoDB][12],以及用于将数据直接导出到 Google 对象存储中的 Google Big Query(免费)。 有一点需要注意:这个数据集有从 2008 年到 2017 年几乎完整的数据集,但从 2017 年到现在的数据还不完整。这将影响我们确定性查询的能力,但它仍然是一个令人兴奋的信息量。
+
+我选择 Google Big Query 来避免自己运行任何数据库,那么我就可以很快下载包括用户和项目在内的完整数据库。CHAOSSEARCH 可以原生分析 NDJSON 格式,因此在将数据上传到 Amazon S3 之后,我能够在几分钟内对其进行索引。CHAOSSEARCH 平台不要求用户设置索引模式或定义其数据的映射,它可以发现所有字段本身(字符串、整数等)。
+
+随着我的数据完全索引并准备好进行搜索和聚合,我想深入了解看看我们可以发现什么,比如哪些软件语言是 GitHub 项目最受欢迎的。
+
+(关于格式化的说明:下面这是一个有效的 JSON 查询,我们不会在这里正确格式化以避免滚动疲劳。要正确格式化它,你可以在本地复制它并发送到命令行实用程序,如 [jq][13]。)
+
+```
+{"aggs":{"2":{"date_histogram":{"field":"root.created_at","interval":"1M","time_zone":"America/New_York","min_doc_count":1}}},"size":0,"_source":{"excludes":[]},"stored_fields":["*"],"script_fields":{},"docvalue_fields":["root.created_at","root.updated_at"],"query":{"bool":{"must":[],"filter":[{"match_all":{}}],"should":[],"must_not":[{"match_phrase":{"root.language":{"query":""}}}]}}}
+```
+
+对于那些近年来跟踪开源语言状态的人来说,这个结果并不令人惊讶。
+
+![Which software languages are the most popular on GitHub.][14]
+
+[JavaScript][15] 仍然是卫冕冠军,虽然有些人认为 JavaScript 正在逐渐消失,但它仍然是 800 磅重的大猩猩,很可能会保持这种状态一段时间。[Java][16] 面临类似的谣言,但这些数据表明它是开源生态系统的重要组成部分。
+
+考虑到像 [Docker][17] 和 [Kubernetes][18] 这样的项目的流行,你可能会想,“Go([Golang][19])怎么样?”这是一个提醒的好时机,这里讨论的 GitHub 数据集包含一些空缺,最明显的是在 2017 年之后我看到 Golang 项目随处可见,而这里并没有显示。我希望用完整的 GitHub 数据集重复此搜索,看看它是否会改变排名。
+
+现在让我们来探讨项目创建的速度。 (提醒:这是为了便于阅读而合并的有效 JSON。)
+
+```
+{"aggs":{"2":{"date_histogram":{"field":"root.created_at","interval":"1M","time_zone":"America/New_York","min_doc_count":1}}},"size":0,"_source":{"excludes":[]},"stored_fields":["*"],"script_fields":{},"docvalue_fields":["root.created_at","root.updated_at"],"query":{"bool":{"must":[],"filter":[{"match_all":{}}],"should":[],"must_not":[{"match_phrase":{"root.language":{"query":""}}}]}}}
+```
+
+我们可以看到创建新项目的速度,也会给人留下深刻的印象,从 2012 年左右开始大幅增长:
+
+![The rate at which new projects are created on GitHub.][20]
+
+既然我知道了创建项目的速度以及用于创建这些项目的最流行的语言,我还想知道这些项目选择的开源许可证。遗憾的是,这个 GitHub 项目数据集中并不存在这些数据,但是 [Tidelift][21] 的精彩团队在 [Libraries.io][22] [数据][23] 里发布了一个 GitHub 项目的详细列表,包括使用的许可证以及其中有关开源软件状态的其他详细信息。将此数据集导入 CHAOSSEARCH 只花了几分钟,让我看看哪些开源软件许可证在 GitHub 上最受欢迎:
+
+(提醒:这是为了便于阅读而合并的有效 JSON。)
+
+```
+{"aggs":{"2":{"terms":{"field":"Repository License","size":10,"order":{"_count":"desc"}}}},"size":0,"_source":{"excludes":[]},"stored_fields":["*"],"script_fields":{},"docvalue_fields":["Created Timestamp","Last synced Timestamp","Latest Release Publish Timestamp","Updated Timestamp"],"query":{"bool":{"must":[],"filter":[{"match_all":{}}],"should":[],"must_not":[{"match_phrase":{"Repository License":{"query":""}}}]}}}
+```
+
+结果显示了一些重要的异常值:
+
+![Which open source software licenses are the most popular on GitHub.][24]
+
+如你所见,[MIT 许可证][25] 和 [Apache 2.0 许可证][26] 的开源项目远远超过了其他大多数开源许可证,而 [各种 BSD 和 GPL 许可证][27] 则差得很远。鉴于 GitHub 的开放模式,我不能说我对这些结果感到惊讶。我猜想是用户(而不是公司)创建了大多数项目,并且他们使用 MIT 许可证可以使其他人轻松地使用、共享和贡献。而鉴于有不少公司希望确保其商标得到尊重并为其业务提供开源组件,那么 Apache 2.0 许可证数量高企的背后也是有道理的。
+
+现在我确定了最受欢迎的许可证,我很想看看最少使用的许可证。通过调整我的上一个查询,我将前 10 名逆转为最后 10 名,并且只找到了两个使用 [伊利诺伊大学 - NCSA 开源许可证][28] 的项目。我之前从未听说过这个许可证,但它与 Apache 2.0 非常接近。看到所有 GitHub 项目中使用了多少个不同的软件许可证,这很有意思。
+
+![The University of Illinois/NCSA open source license.][29]
+
+之后,我针对特定语言(JavaScript)来查看最常用的许可证。(提醒:这是为了便于阅读而合并的有效JSON。)
+
+```
+{"aggs":{"2":{"terms":{"field":"Repository License","size":10,"order":{"_count":"desc"}}}},"size":0,"_source":{"excludes":[]},"stored_fields":["*"],"script_fields":{},"docvalue_fields":["Created Timestamp","Last synced Timestamp","Latest Release Publish Timestamp","Updated Timestamp"],"query":{"bool":{"must":[{"match_phrase":{"Repository Language":{"query":"JavaScript"}}}],"filter":[{"match_all":{}}],"should":[],"must_not":[{"match_phrase":{"Repository License":{"query":""}}}]}}}
+```
+
+这个输出有一些意外。
+
+![The most popular open source licenses used for GitHub JavaScript projects.][30]
+
+尽管使用 `npm init` 创建的 [NPM][31] 模块的默认许可证是来自 [Internet Systems Consortium(ISC)][32] 的许可证,但你可以看到相当多的这些项目使用 MIT 以及 Apache 2.0 的开源许可证。
+
+由于 Libraries.io 数据集中包含丰富的开源项目内容,并且由于 GHTorrent 数据缺少最近几年的数据(因此缺少有关 Golang 项目的任何细节),因此我决定运行类似的查询来查看 Golang 项目是如何许可他们的代码的。
+
+(提醒:这是为了便于阅读而合并的有效 JSON。)
+
+```
+{"aggs":{"2":{"terms":{"field":"Repository License","size":10,"order":{"_count":"desc"}}}},"size":0,"_source":{"excludes":[]},"stored_fields":["*"],"script_fields":{},"docvalue_fields":["Created Timestamp","Last synced Timestamp","Latest Release Publish Timestamp","Updated Timestamp"],"query":{"bool":{"must":[{"match_phrase":{"Repository Language":{"query":"Go"}}}],"filter":[{"match_all":{}}],"should":[],"must_not":[{"match_phrase":{"Repository License":{"query":""}}}]}}}
+```
+
+结果与 Javascript 完全不同。
+
+![How Golang projects license their GitHub code.][33]
+
+Golang 项目与 JavaScript 项目惊人逆转 —— 使用 Apache 2.0 的 Golang 项目几乎是 MIT 许可证的三倍。虽然很难准确地解释为什么会出现这种情况,但在过去的几年中,Golang 已经出现了大规模的增长,特别是在开源和商业化的项目和软件产品公司中。
+
+正如我们上面所了解的,这些公司中的许多公司都希望强制执行其商标策略,因此转向 Apache 2.0 许可证是有道理的。
+
+#### 总结
+
+最后,我通过深入了解 GitHub 用户和项目的数据找到了一些有趣的结果。其中一些我肯定会猜到,但是一些结果对我来说也是惊喜,特别是像很少使用的 NCSA 许可证这样的异常值。
+
+总而言之,你可以看到 CHAOSSEARCH 平台能够快速轻松地找到有趣问题的复杂答案。我无需自己运行任何数据库就可以深入研究这个数据集,甚至可以在 Amazon S3 上以低成本的方式存储数据,因此无需维护。 现在,我可以随时查询有关这些数据的任何其他问题。
+
+你对数据提出了哪些其他问题,以及你使用了哪些数据集?请在评论或推特上告诉我 [@petecheslock] [34]。
+
+本文的一个版本最初发布在 [CHAOSSEARCH][35],有更多结果可供发现。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/chaossearch-github-ghtorrent
+
+作者:[Pete Cheslock][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/petecheslock/users/ghaff/users/payalsingh/users/davidmstokes
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/search_find_code_issue_bug_programming.png?itok=XPrh7fa0 (magnifying glass on computer screen)
+[2]: https://chaossearch.io/
+[3]: https://aws.amazon.com/s3/
+[4]: https://www.elastic.co/
+[5]: https://www.elastic.co/products/kibana
+[6]: http://ghtorrent.org
+[7]: http://ghtorrent.org/services.html
+[8]: http://ghtorrent.org/downloads.html
+[9]: http://ndjson.org
+[10]: https://en.wikipedia.org/wiki/Comma-separated_values
+[11]: https://en.wikipedia.org/wiki/MySQL
+[12]: https://www.mongodb.com/
+[13]: https://stedolan.github.io/jq/
+[14]: https://opensource.com/sites/default/files/uploads/github-1_500.png (Which software languages are the most popular on GitHub.)
+[15]: https://en.wikipedia.org/wiki/JavaScript
+[16]: /resources/java
+[17]: /resources/what-docker
+[18]: /resources/what-is-kubernetes
+[19]: https://golang.org/
+[20]: https://opensource.com/sites/default/files/uploads/github-2_500.png (The rate at which new projects are created on GitHub.)
+[21]: https://tidelift.com
+[22]: http://libraries.io/
+[23]: https://libraries.io/data
+[24]: https://opensource.com/sites/default/files/uploads/github-3_500.png (Which open source software licenses are the most popular on GitHub.)
+[25]: https://opensource.org/licenses/MIT
+[26]: https://opensource.org/licenses/Apache-2.0
+[27]: https://opensource.org/licenses
+[28]: https://tldrlegal.com/license/university-of-illinois---ncsa-open-source-license-(ncsa)
+[29]: https://opensource.com/sites/default/files/uploads/github-4_500_0.png (The University of Illinois/NCSA open source license.)
+[30]: https://opensource.com/sites/default/files/uploads/github-5_500_0.png (The most popular open source licenses used for GitHub JavaScript projects.)
+[31]: https://www.npmjs.com/
+[32]: https://en.wikipedia.org/wiki/ISC_license
+[33]: https://opensource.com/sites/default/files/uploads/github-6_500.png (How Golang projects license their GitHub code.)
+[34]: https://twitter.com/petecheslock
+[35]: https://chaossearch.io/blog/where-are-the-github-users-part-1/
diff --git a/published/201905/20190518 Change Power Modes in Ubuntu with Slimbook Battery Optimizer.md b/published/201905/20190518 Change Power Modes in Ubuntu with Slimbook Battery Optimizer.md
new file mode 100644
index 0000000000..15c51dc608
--- /dev/null
+++ b/published/201905/20190518 Change Power Modes in Ubuntu with Slimbook Battery Optimizer.md
@@ -0,0 +1,102 @@
+[#]: collector: (lujun9972)
+[#]: translator: (zhs852)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10897-1.html)
+[#]: subject: (Change Power Modes in Ubuntu with Slimbook Battery Optimizer)
+[#]: via: (https://itsfoss.com/slimbook-battry-optimizer-ubuntu/)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+在 Ubuntu 中使用 Slimbook Battery Optimizer 切换电源模式
+======
+
+> Slimbook Battery Optimizer 是一个美观实用的指示器小程序,它可以让你在安装了 Linux 的笔记本上快速切换电源模式来延长续航时间。
+
+[Slimbook][1] 是一个销售 [预装 Linux 的笔记本电脑][2] 的西班牙电脑制造商,他们发布了一款好用的小程序,用来在基于 Ubuntu 的 Linux 发行版下调整电池性能。
+
+因为 Slimbook 销售他们自己的 Linux 系统,所以他们制作了一些在 Linux 上用于调整他们自己硬件性能的小工具。Battery Optimizer 就是这样一个工具。
+
+要使用这个实用小程序,你不必购买 Slimbook 的产品,因为 Slimbook 已经将它在 [他们的官方 PPA 源][3] 发行了。
+
+### Slimbook Battery Optimizer 简介
+
+这个程序叫 Slimbook Battery。它是一个常驻顶栏的指示器小程序,使得你可以快速切换电源模式。
+
+![Slimbook Battery Mode Ubuntu][4]
+
+你可能在 Windows 中见过类似的程序。Slimbook Battery 和它们一样,提供了类似的电源计划:
+
+ * 节能:最大程度延长电池续航时间
+ * 平衡:性能与节能间的最佳平衡
+ * 高性能:最大程度提高性能
+
+你可以在高级模式中配置这些模式:
+
+![配置多种多样的电源模式][5]
+
+如果你觉得你把设置调乱了,你可以用“恢复默认设置”的按钮还原它。
+
+你也可以修改像程序自启或默认电源模式这样的通用设置。
+
+![Slimbook Battery 通用设置][6]
+
+Slimbook 有专门为多种电源管理参数提供的页面。如果你希望自己配置,请参照 [此页][7]。
+
+不过,我认为 Slimbook 的界面需要一些改进。例如,某些页面上的“问题标记”的图标应该改为可点击的,以此提供更多信息。然而,在我写这篇文章时,那个标记仍然无法点击。
+
+总的来说,Slimbook Battery 是一个小巧精美的软件,你可以用它来快速切换电源模式。如果你决定在 Ubuntu 及其衍生发行版上(比如 Linux Mint 或 elementary OS 等),你可以使用官方 [PPA 源][8]。
+
+#### 在基于 Ubuntu 的发行版上安装 Slimbook Battery
+
+打开终端,一步一步地使用以下命令:
+
+```
+sudo add-apt-repository ppa:slimbook/slimbook
+sudo apt update
+sudo apt install slimbookbattery
+```
+
+安装好之后,在菜单中搜索 Slimbook Battery:
+
+![启动 Slimbook Battery Optimizer][10]
+
+在你点击它之后,你会发现它出现在了顶栏。你可以在这里选择你希望使用的电源模式。
+
+![Slimbook Battery 电源模式][4]
+
+#### 卸载 Slimbook Battery
+
+如果你不再使用它,你可以通过以下命令来卸载它:
+
+```
+sudo apt remove slimbookbattery
+sudo add-apt-repository -r ppa:slimbook/slimbook
+```
+
+在我看来,这样的应用程序为某些特定的目的服务,这是值得鼓励的。这个工具给了你一条调整电源模式的捷径,和调整性能的更多选项。
+
+你用过 Slimbook Battery 吗?你觉得它如何?
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/slimbook-battry-optimizer-ubuntu/
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[zhs852](https://github.com/zhs852)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://slimbook.es/en/
+[2]: https://itsfoss.com/get-linux-laptops/
+[3]: https://launchpad.net/~slimbook/+archive/ubuntu/slimbook
+[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/slimbook-battery-mode-ubuntu.jpg?resize=800%2C400&ssl=1
+[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/slimbook-battery-optimizer-2.jpg?ssl=1
+[6]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/slimbook-battery-optimizer-1.jpg?ssl=1
+[7]: https://slimbook.es/en/tutoriales/aplicaciones-slimbook/398-slimbook-battery-3-application-for-optimize-battery-of-your-laptop
+[8]: https://itsfoss.com/ppa-guide/
+[9]: https://itsfoss.com/ubuntu-forums-hacked-again/
+[10]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/slimbook-battery-optimizer.jpg?ssl=1
diff --git a/published/201905/20190520 PiShrink - Make Raspberry Pi Images Smaller.md b/published/201905/20190520 PiShrink - Make Raspberry Pi Images Smaller.md
new file mode 100644
index 0000000000..3913d663df
--- /dev/null
+++ b/published/201905/20190520 PiShrink - Make Raspberry Pi Images Smaller.md
@@ -0,0 +1,118 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10894-1.html)
+[#]: subject: (PiShrink – Make Raspberry Pi Images Smaller)
+[#]: via: (https://www.ostechnix.com/pishrink-make-raspberry-pi-images-smaller/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+PiShrink:使树莓派镜像更小
+======
+
+![Make Raspberry Pi Images Smaller With PiShrink In Linux][1]
+
+树莓派不需要过多介绍。它是一款小巧、价格实惠,只有信用卡大小的电脑,它可以连接到显示器或电视。我们可以连接一个标准的键盘和鼠标,并将其用作一台成熟的台式计算机来完成日常任务,如互联网浏览、播放视频/玩游戏、文字处理和电子表格制作等。它主要是为学校的计算机科学教学而开发的。如今,树莓派被广泛用于大学、中小型组织和研究所来教授编码。
+
+如果你有一台树莓派,你可能需要了解一个名为 PiShrink 的 bash 脚本,该脚本可使树莓派镜像更小。PiShrink 将自动缩小镜像,然后在启动时将其调整为 SD 卡的最大大小。这能更快地将镜像复制到 SD 卡中,同时缩小的镜像将更好地压缩。这对于将大容量镜像放入 SD 卡非常有用。在这个简短的指南中,我们将学习如何在类 Unix 系统中将树莓派镜像缩小到更小。
+
+### 安装 PiShrink
+
+要在 Linux 机器上安装 PiShrink,请先使用以下命令下载最新版本:
+
+```
+$ wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh
+```
+
+接下来,将下载的 PiShrink 变成二进制可执行文件:
+
+```
+$ chmod +x pishrink.sh
+```
+
+最后,移动到目录:
+
+```
+$ sudo mv pishrink.sh /usr/local/bin/
+```
+
+### 使树莓派镜像更小
+
+你可能已经知道,Raspbian 是所有树莓派型号的官方操作系统。树莓派基金会为 PC 和 Mac 开发了树莓派桌面版本。你可以创建一个 live CD,并在虚拟机中运行它,甚至也可以将其安装在桌面上。树莓派也有少量非官方操作系统镜像。为了测试,我从[官方下载页面][2]下载了官方的 Raspbian 系统。
+
+解压下载的系统镜像:
+
+```
+$ unzip 2019-04-08-raspbian-stretch-lite.zip
+```
+
+上面的命令将提取当前目录中 `2019-04-08-raspbian-stretch-lite.zip` 文件的内容。
+
+让我们看下提取文件的实际大小:
+
+```
+$ du -h 2019-04-08-raspbian-stretch-lite.img
+1.7G 2019-04-08-raspbian-stretch-lite.img
+```
+
+如你所见,提取的树莓派系统镜像大小为 1.7G。
+
+现在,使用 PiShrink 缩小此文件的大小,如下所示:
+
+```
+$ sudo pishrink.sh 2019-04-08-raspbian-stretch-lite.img
+```
+
+示例输出:
+
+```
+Creating new /etc/rc.local
+rootfs: 39795/107072 files (0.1% non-contiguous), 239386/428032 blocks
+resize2fs 1.45.0 (6-Mar-2019)
+resize2fs 1.45.0 (6-Mar-2019)
+Resizing the filesystem on /dev/loop1 to 280763 (4k) blocks.
+Begin pass 3 (max = 14)
+Scanning inode table XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+Begin pass 4 (max = 3728)
+Updating inode references XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+The filesystem on /dev/loop1 is now 280763 (4k) blocks long.
+
+Shrunk 2019-04-08-raspbian-stretch-lite.img from 1.7G to 1.2G
+```
+
+正如你在上面的输出中看到的,树莓派镜像的大小已减少到 1.2G。
+
+你还可以使用 `-s` 标志跳过该过程的自动扩展部分。
+
+```
+$ sudo pishrink.sh -s 2019-04-08-raspbian-stretch-lite.img newpi.img
+```
+
+这将创建一个源镜像文件(即 `2019-04-08-raspbian-stretch-lite.img`)的副本到一个新镜像文件(`newpi.img`)并进行处理。有关更多详细信息,请查看最后给出的官方 GitHub 页面。
+
+就是这些了。希望本文有用。还有更多好东西,敬请期待!
+
+
+资源:
+
+ * [PiShrink 的 GitHub 仓库][4]
+ * [树莓派网站][5]
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/pishrink-make-raspberry-pi-images-smaller/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/05/pishrink-720x340.png
+[2]: https://www.raspberrypi.org/downloads/
+[3]: http://www.ostechnix.com/wp-content/uploads/2019/05/pishrink-1.png
+[4]: https://github.com/Drewsif/PiShrink
+[5]: https://www.raspberrypi.org/
diff --git a/published/201905/20190520 xsos - A Tool To Read SOSReport In Linux.md b/published/201905/20190520 xsos - A Tool To Read SOSReport In Linux.md
new file mode 100644
index 0000000000..af4e47f976
--- /dev/null
+++ b/published/201905/20190520 xsos - A Tool To Read SOSReport In Linux.md
@@ -0,0 +1,396 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10889-1.html)
+[#]: subject: (xsos – A Tool To Read SOSReport In Linux)
+[#]: via: (https://www.2daygeek.com/xsos-a-tool-to-read-sosreport-in-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+xsos:一个在 Linux 上阅读 SOSReport 的工具
+======
+
+
+
+我们都已经知道 [SOSReport][1]。它用来收集可用于诊断的系统信息。Redhat 的支持服务建议我们在提交案例时提供 SOSReport 来分析当前的系统状态。
+
+它会收集全部类型的报告,以帮助用户找出问题的根本原因。我们可以轻松地提取和阅读 SOSReport,但它很难阅读。因为它的每个部分都是一个单独的文件。
+
+那么,在 Linux 中使用语法高亮显示阅读所有这些内容的最佳方法是什么。是的,这可以通过 `xsos` 工具做到。
+
+### sosreport
+
+`sosreport` 命令是一个从运行中的系统(尤其是 RHEL 和 OEL 系统)收集大量配置细节、系统信息和诊断信息的工具。它可以帮助技术支持工程师在很多方面分析系统。
+
+此报告包含有关系统的大量信息,例如引导信息、文件系统、内存、主机名、已安装的 RPM、系统 IP、网络详细信息、操作系统版本、已安装的内核、已加载的内核模块、打开的文件列表、PCI 设备列表、挂载点及其细节、运行中的进程信息、进程树输出、系统路由、位于 `/etc` 文件夹中的所有配置文件,以及位于 `/var` 文件夹中的所有日志文件。
+
+这将需要一段时间来生成报告,这取决于你的系统安装和配置。
+
+完成后,`sosreport` 将在 `/tmp` 目录下生成一个压缩的归档文件。
+
+### xsos
+
+[xsos][3] 是一个帮助用户轻松读取 Linux 系统上的 `sosreport` 的工具。另一方面,我们可以说它是 `sosreport` 考官。
+
+它可以立即从 `sosreport` 或正在运行的系统中汇总系统信息。
+
+`xsos` 将尝试简化、解析、计算并格式化来自数十个文件(和命令)的数据,以便为你提供有关系统的详细概述。
+
+你可以通过运行以下命令立即汇总系统信息。
+
+```
+# curl -Lo ./xsos bit.ly/xsos-direct; chmod +x ./xsos; ./xsos -ya
+```
+
+![][5]
+
+### 如何在 Linux 上安装 xsos
+
+我们可以使用以下两种方法轻松安装 `xsos`。
+
+如果你正在寻找最新的前沿版本。使用以下步骤:
+
+```
+# curl -Lo /usr/local/bin/xsos bit.ly/xsos-direct
+# chmod +x /usr/local/bin/xsos
+```
+
+下面是安装 `xsos` 的推荐方法。它将从 rpm 文件安装 `xsos`。
+
+```
+# yum install http://people.redhat.com/rsawhill/rpms/latest-rsawaroha-release.rpm
+# yum install xsos
+```
+
+### 如何在 Linux 上使用 xsos
+
+一旦通过上述方法之一安装了 xsos。只需运行 `xsos` 命令,不带任何选项,它们会显示有关系统的基本信息。
+
+```
+# xsos
+
+OS
+ Hostname: CentOS7.2daygeek.com
+ Distro: [redhat-release] CentOS Linux release 7.6.1810 (Core)
+ [centos-release] CentOS Linux release 7.6.1810 (Core)
+ [os-release] CentOS Linux 7 (Core) 7 (Core)
+ RHN: (missing)
+ RHSM: (missing)
+ YUM: 2 enabled plugins: fastestmirror, langpacks
+ Runlevel: N 5 (default graphical)
+ SELinux: enforcing (default enforcing)
+ Arch: mach=x86_64 cpu=x86_64 platform=x86_64
+ Kernel:
+ Booted kernel: 3.10.0-957.el7.x86_64
+ GRUB default: 3.10.0-957.el7.x86_64
+ Build version:
+ Linux version 3.10.0-957.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red
+ Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018
+ Booted kernel cmdline:
+ root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet
+ LANG=en_US.UTF-8
+ GRUB default kernel cmdline:
+ root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet
+ LANG=en_US.UTF-8
+ Taint-check: 0 (kernel untainted)
+ - - - - - - - - - - - - - - - - - - -
+ Sys time: Sun May 12 10:05:21 CDT 2019
+ Boot time: Sun May 12 09:50:20 CDT 2019 (epoch: 1557672620)
+ Time Zone: America/Chicago
+ Uptime: 15 min, 1 user
+ LoadAvg: [1 CPU] 0.00 (0%), 0.04 (4%), 0.09 (9%)
+ /proc/stat:
+ procs_running: 2 procs_blocked: 0 processes [Since boot]: 6423
+ cpu [Utilization since boot]:
+ us 1%, ni 0%, sys 1%, idle 99%, iowait 0%, irq 0%, sftirq 0%, steal 0%
+```
+
+### 如何使用 xsos 命令在 Linux 中查看生成的 SOSReport 输出?
+
+我们需要份 SOSReport 以使用 `xsos` 命令进一步阅读。
+
+是的,我已经生成了一个 SOSReport,文件如下。
+
+```
+# ls -lls -lh /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa.tar.xz
+9.8M -rw-------. 1 root root 9.8M May 12 10:13 /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa.tar.xz
+```
+
+运行如下命令解开它。
+
+```
+# tar xf sosreport-CentOS7-01-1005-2019-05-12-pomeqsa.tar.xz
+```
+
+要查看全部信息,带上 `-a` 或 `--all` 开关运行 `xsos`:
+
+```
+# xsos --all /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+```
+
+要查看 BIOS 信息,带上 `-b` 或 `--bios` 开关运行 `xsos`。
+
+```
+# xsos --bios /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+DMIDECODE
+ BIOS:
+ Vend: innotek GmbH
+ Vers: VirtualBox
+ Date: 12/01/2006
+ BIOS Rev:
+ FW Rev:
+ System:
+ Mfr: innotek GmbH
+ Prod: VirtualBox
+ Vers: 1.2
+ Ser: 0
+ UUID: 002f47b8-2af2-48f5-be1d-67b67e03514c
+ CPU:
+ 0 of 0 CPU sockets populated, 0 cores/0 threads per CPU
+ 0 total cores, 0 total threads
+ Mfr:
+ Fam:
+ Freq:
+ Vers:
+ Memory:
+ Total: 0 MiB (0 GiB)
+ DIMMs: 0 of 0 populated
+ MaxCapacity: 0 MiB (0 GiB / 0.00 TiB)
+```
+
+要查看系统基本信息,如主机名、发行版、SELinux、内核信息、正常运行时间等,请使用 `-o` 或 `--os` 开关运行 `xsos`。
+
+```
+# xsos --os /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+OS
+ Hostname: CentOS7.2daygeek.com
+ Distro: [redhat-release] CentOS Linux release 7.6.1810 (Core)
+ [centos-release] CentOS Linux release 7.6.1810 (Core)
+ [os-release] CentOS Linux 7 (Core) 7 (Core)
+ RHN: (missing)
+ RHSM: (missing)
+ YUM: 2 enabled plugins: fastestmirror, langpacks
+ SELinux: enforcing (default enforcing)
+ Arch: mach=x86_64 cpu=x86_64 platform=x86_64
+ Kernel:
+ Booted kernel: 3.10.0-957.el7.x86_64
+ GRUB default: 3.10.0-957.el7.x86_64
+ Build version:
+ Linux version 3.10.0-957.el7.x86_64 ([email protected]) (gcc version 4.8.5 20150623 (Red
+ Hat 4.8.5-36) (GCC) ) #1 SMP Thu Nov 8 23:39:32 UTC 2018
+ Booted kernel cmdline:
+ root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet
+ LANG=en_US.UTF-8
+ GRUB default kernel cmdline:
+ root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet
+ LANG=en_US.UTF-8
+ Taint-check: 536870912 (see https://access.redhat.com/solutions/40594)
+ 29 TECH_PREVIEW: Technology Preview code is loaded
+ - - - - - - - - - - - - - - - - - - -
+ Sys time: Sun May 12 10:12:22 CDT 2019
+ Boot time: Sun May 12 09:50:20 CDT 2019 (epoch: 1557672620)
+ Time Zone: America/Chicago
+ Uptime: 22 min, 1 user
+ LoadAvg: [1 CPU] 1.19 (119%), 0.27 (27%), 0.14 (14%)
+ /proc/stat:
+ procs_running: 8 procs_blocked: 2 processes [Since boot]: 9005
+ cpu [Utilization since boot]:
+ us 1%, ni 0%, sys 1%, idle 99%, iowait 0%, irq 0%, sftirq 0%, steal 0%
+```
+
+要查看 kdump 配置,请使用 `-k` 或 `--kdump` 开关运行 `xsos`。
+
+```
+# xsos --kdump /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+KDUMP CONFIG
+ kexec-tools rpm version:
+ kexec-tools-2.0.15-21.el7.x86_64
+ Service enablement:
+ UNIT STATE
+ kdump.service enabled
+ kdump initrd/initramfs:
+ 13585734 Feb 19 05:51 initramfs-3.10.0-957.el7.x86_64kdump.img
+ Memory reservation config:
+ /proc/cmdline { crashkernel=auto }
+ GRUB default { crashkernel=auto }
+ Actual memory reservation per /proc/iomem:
+ 2a000000-340fffff : Crash kernel
+ kdump.conf:
+ path /var/crash
+ core_collector makedumpfile -l --message-level 1 -d 31
+ kdump.conf "path" available space:
+ System MemTotal (uncompressed core size) { 1.80 GiB }
+ Available free space on target path's fs { 22.68 GiB } (fs=/)
+ Panic sysctls:
+ kernel.sysrq [bitmask] = "16" (see proc man page)
+ kernel.panic [secs] = 0 (no autoreboot on panic)
+ kernel.hung_task_panic = 0
+ kernel.panic_on_oops = 1
+ kernel.panic_on_io_nmi = 0
+ kernel.panic_on_unrecovered_nmi = 0
+ kernel.panic_on_stackoverflow = 0
+ kernel.softlockup_panic = 0
+ kernel.unknown_nmi_panic = 0
+ kernel.nmi_watchdog = 1
+ vm.panic_on_oom [0-2] = 0 (no panic)
+```
+
+要查看有关 CPU 的信息,请使用 `-c` 或 `--cpu` 开关运行 `xsos`。
+
+```
+# xsos --cpu /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+CPU
+ 1 logical processors
+ 1 Intel Core i7-6700HQ CPU @ 2.60GHz (flags: aes,constant_tsc,ht,lm,nx,pae,rdrand)
+```
+
+要查看内存利用情况,请使用 `-m` 或 `--mem` 开关运行 `xsos`。
+
+```
+# xsos --mem /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+MEMORY
+ Stats graphed as percent of MemTotal:
+ MemUsed ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊..................... 58.8%
+ Buffers .................................................. 0.6%
+ Cached ▊▊▊▊▊▊▊▊▊▊▊▊▊▊▊................................... 29.9%
+ HugePages .................................................. 0.0%
+ Dirty .................................................. 0.7%
+ RAM:
+ 1.8 GiB total ram
+ 1.1 GiB (59%) used
+ 0.5 GiB (28%) used excluding Buffers/Cached
+ 0.01 GiB (1%) dirty
+ HugePages:
+ No ram pre-allocated to HugePages
+ LowMem/Slab/PageTables/Shmem:
+ 0.09 GiB (5%) of total ram used for Slab
+ 0.02 GiB (1%) of total ram used for PageTables
+ 0.01 GiB (1%) of total ram used for Shmem
+ Swap:
+ 0 GiB (0%) used of 2 GiB total
+```
+
+要查看添加的磁盘信息,请使用 `-d` 和 `-disks` 开关运行 `xsos`。
+
+```
+# xsos --disks /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+STORAGE
+ Whole Disks from /proc/partitions:
+ 2 disks, totaling 40 GiB (0.04 TiB)
+ - - - - - - - - - - - - - - - - - - - - -
+ Disk Size in GiB
+ ---- -----------
+ sda 30
+ sdb 10
+```
+
+要查看网络接口配置,请使用 `-e` 或 `--ethtool` 开关运行 `xsos`。
+
+```
+# xsos --ethtool /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+ETHTOOL
+ Interface Status:
+ enp0s10 0000:00:0a.0 link=up 1000Mb/s full (autoneg=Y) rx ring 256/4096 drv e1000 v7.3.21-k8-NAPI / fw UNKNOWN
+ enp0s9 0000:00:09.0 link=up 1000Mb/s full (autoneg=Y) rx ring 256/4096 drv e1000 v7.3.21-k8-NAPI / fw UNKNOWN
+ virbr0 N/A link=DOWN rx ring UNKNOWN drv bridge v2.3 / fw N/A
+ virbr0-nic tap link=DOWN rx ring UNKNOWN drv tun v1.6 / fw UNKNOWN
+```
+
+要查看有关 IP 地址的信息,请使用 `-i` 或 `--ip` 开关运行 `xsos`。
+
+```
+# xsos --ip /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+IP4
+ Interface Master IF MAC Address MTU State IPv4 Address
+ ========= ========= ================= ====== ===== ==================
+ lo - - 65536 up 127.0.0.1/8
+ enp0s9 - 08:00:27:0b:bc:e9 1500 up 192.168.1.8/24
+ enp0s10 - 08:00:27:b2:08:91 1500 up 192.168.1.9/24
+ virbr0 - 52:54:00:ae:01:94 1500 up 192.168.122.1/24
+ virbr0-nic virbr0 52:54:00:ae:01:94 1500 DOWN -
+
+IP6
+ Interface Master IF MAC Address MTU State IPv6 Address Scope
+ ========= ========= ================= ====== ===== =========================================== =====
+ lo - - 65536 up ::1/128 host
+ enp0s9 - 08:00:27:0b:bc:e9 1500 up fe80::945b:8333:f4bc:9723/64 link
+ enp0s10 - 08:00:27:b2:08:91 1500 up fe80::7ed4:1fab:23c3:3790/64 link
+ virbr0 - 52:54:00:ae:01:94 1500 up - -
+ virbr0-nic virbr0 52:54:00:ae:01:94 1500 DOWN - -
+```
+
+要通过 `ps` 查看正在运行的进程,请使用 `-p` 或 `--ps` 开关运行 `xsos`。
+
+```
+# xsos --ps /var/tmp/sosreport-CentOS7-01-1005-2019-05-12-pomeqsa
+PS CHECK
+ Total number of threads/processes:
+ 501 / 171
+ Top users of CPU & MEM:
+ USER %CPU %MEM RSS
+ root 20.6% 14.1% 0.30 GiB
+ gdm 0.3% 16.8% 0.33 GiB
+ postfix 0.0% 0.6% 0.01 GiB
+ polkitd 0.0% 0.6% 0.01 GiB
+ daygeek 0.0% 0.2% 0.00 GiB
+ colord 0.0% 0.4% 0.01 GiB
+ Uninteruptible sleep threads/processes (0/0):
+ [None]
+ Defunct zombie threads/processes (0/0):
+ [None]
+ Top CPU-using processes:
+ USER PID %CPU %MEM VSZ-MiB RSS-MiB TTY STAT START TIME COMMAND
+ root 6542 15.6 4.2 875 78 pts/0 Sl+ 10:11 0:07 /usr/bin/python /sbin/sosreport
+ root 7582 3.0 0.1 10 2 pts/0 S 10:12 0:00 /bin/bash /usr/sbin/dracut --print-cmdline
+ root 7969 0.7 0.1 95 4 ? Ss 10:12 0:00 /usr/sbin/certmonger -S -p
+ root 7889 0.4 0.2 24 4 ? Ss 10:12 0:00 /usr/lib/systemd/systemd-hostnamed
+ gdm 3866 0.3 7.1 2856 131 ? Sl 09:50 0:04 /usr/bin/gnome-shell
+ root 8553 0.2 0.1 47 3 ? S 10:12 0:00 /usr/lib/systemd/systemd-udevd
+ root 6971 0.2 0.4 342 9 ? Sl 10:12 0:00 /usr/sbin/abrt-dbus -t133
+ root 3200 0.2 0.9 982 18 ? Ssl 09:50 0:02 /usr/sbin/libvirtd
+ root 2855 0.1 0.1 88 3 ? Ss 09:50 0:01 /sbin/rngd -f
+ rtkit 2826 0.0 0.0 194 2 ? SNsl 09:50 0:00 /usr/libexec/rtkit-daemon
+ Top MEM-using processes:
+ USER PID %CPU %MEM VSZ-MiB RSS-MiB TTY STAT START TIME COMMAND
+ gdm 3866 0.3 7.1 2856 131 ? Sl 09:50 0:04 /usr/bin/gnome-shell
+ root 6542 15.6 4.2 875 78 pts/0 Sl+ 10:11 0:07 /usr/bin/python /sbin/sosreport
+ root 3264 0.0 1.2 271 23 tty1 Ssl+ 09:50 0:00 /usr/bin/X :0 -background
+ root 3200 0.2 0.9 982 18 ? Ssl 09:50 0:02 /usr/sbin/libvirtd
+ root 3189 0.0 0.9 560 17 ? Ssl 09:50 0:00 /usr/bin/python2 -Es /usr/sbin/tuned
+ gdm 4072 0.0 0.9 988 17 ? Sl 09:50 0:00 /usr/libexec/gsd-media-keys
+ gdm 4076 0.0 0.8 625 16 ? Sl 09:50 0:00 /usr/libexec/gsd-power
+ gdm 4056 0.0 0.8 697 16 ? Sl 09:50 0:00 /usr/libexec/gsd-color
+ root 2853 0.0 0.7 622 14 ? Ssl 09:50 0:00 /usr/sbin/NetworkManager --no-daemon
+ gdm 4110 0.0 0.7 544 14 ? Sl 09:50 0:00 /usr/libexec/gsd-wacom
+ Top thread-spawning processes:
+ # USER PID %CPU %MEM VSZ-MiB RSS-MiB TTY STAT START TIME COMMAND
+ 17 root 3200 0.2 0.9 982 18 ? - 09:50 0:02 /usr/sbin/libvirtd
+ 12 root 6542 16.1 4.5 876 83 pts/0 - 10:11 0:07 /usr/bin/python /sbin/sosreport
+ 10 gdm 3866 0.3 7.1 2856 131 ? - 09:50 0:04 /usr/bin/gnome-shell
+ 7 polkitd 2864 0.0 0.6 602 13 ? - 09:50 0:01 /usr/lib/polkit-1/polkitd --no-debug
+ 6 root 2865 0.0 0.0 203 1 ? - 09:50 0:00 /usr/sbin/gssproxy -D
+ 5 root 3189 0.0 0.9 560 17 ? - 09:50 0:00 /usr/bin/python2 -Es /usr/sbin/tuned
+ 5 root 2823 0.0 0.3 443 6 ? - 09:50 0:00 /usr/libexec/udisks2/udisksd
+ 5 gdm 4102 0.0 0.2 461 5 ? - 09:50 0:00 /usr/libexec/gsd-smartcard
+ 4 root 3215 0.0 0.2 470 4 ? - 09:50 0:00 /usr/sbin/gdm
+ 4 gdm 4106 0.0 0.2 444 5 ? - 09:50 0:00 /usr/libexec/gsd-sound
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/xsos-a-tool-to-read-sosreport-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/how-to-create-collect-sosreport-in-linux/
+[2]: https://www.2daygeek.com/oswbb-how-to-install-and-configure-oswatcher-black-box-for-system-diagnostics/
+[3]: https://github.com/ryran/xsos
+[4]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
+[5]: https://www.2daygeek.com/wp-content/uploads/2019/05/xsos-a-tool-to-read-sosreport-in-linux-1.jpg
diff --git a/published/20190505 How To Install-Uninstall Listed Packages From A File In Linux.md b/published/20190505 How To Install-Uninstall Listed Packages From A File In Linux.md
new file mode 100644
index 0000000000..4960672f5a
--- /dev/null
+++ b/published/20190505 How To Install-Uninstall Listed Packages From A File In Linux.md
@@ -0,0 +1,331 @@
+[#]: collector: (lujun9972)
+[#]: translator: (way-ww)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10923-1.html)
+[#]: subject: (How To Install/Uninstall Listed Packages From A File In Linux?)
+[#]: via: (https://www.2daygeek.com/how-to-install-uninstall-listed-packages-from-a-file-in-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+如何在 Linux 上安装/卸载一个文件中列出的软件包?
+======
+
+在某些情况下,你可能想要将一个服务器上的软件包列表安装到另一个服务器上。例如,你已经在服务器 A 上安装了 15 个软件包并且这些软件包也需要被安装到服务器 B、服务器 C 上等等。
+
+我们可以手动去安装这些软件但是这将花费大量的时间。你可以手动安装一俩个服务器,但是试想如果你有大概十个服务器呢。在这种情况下你无法手动完成工作,那么怎样才能解决问题呢?
+
+不要担心我们可以帮你摆脱这样的情况和场景。我们在这篇文章中增加了四种方法来克服困难。
+
+我希望这可以帮你解决问题。我已经在 Centos7 和 Ubuntu 18.04 上测试了这些命令。
+
+我也希望这可以在其他发行版上工作。这仅仅需要使用该发行版的官方包管理器命令替代本文中的包管理器命令就行了。
+
+如果想要 [检查 Linux 系统上已安装的软件包列表][1],请点击链接。
+
+例如,如果你想要在基于 RHEL 系统上创建软件包列表请使用以下步骤。其他发行版也一样。
+
+```
+# rpm -qa --last | head -15 | awk '{print $1}' > /tmp/pack1.txt
+
+# cat /tmp/pack1.txt
+mariadb-server-5.5.60-1.el7_5.x86_64
+perl-DBI-1.627-4.el7.x86_64
+perl-DBD-MySQL-4.023-6.el7.x86_64
+perl-PlRPC-0.2020-14.el7.noarch
+perl-Net-Daemon-0.48-5.el7.noarch
+perl-IO-Compress-2.061-2.el7.noarch
+perl-Compress-Raw-Zlib-2.061-4.el7.x86_64
+mariadb-5.5.60-1.el7_5.x86_64
+perl-Data-Dumper-2.145-3.el7.x86_64
+perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64
+httpd-2.4.6-88.el7.centos.x86_64
+mailcap-2.1.41-2.el7.noarch
+httpd-tools-2.4.6-88.el7.centos.x86_64
+apr-util-1.5.2-6.el7.x86_64
+apr-1.4.8-3.el7_4.1.x86_64
+```
+
+### 方法一:如何在 Linux 上使用 cat 命令安装文件中列出的包?
+
+为实现这个目标,我将使用简单明了的第一种方法。为此,创建一个文件并添加上你想要安装的包列表。
+
+出于测试的目的,我们将只添加以下的三个软件包名到文件中。
+
+```
+# cat /tmp/pack1.txt
+
+apache2
+mariadb-server
+nano
+```
+
+只要简单的运行 [apt 命令][2] 就能在 Ubuntu/Debian 系统上一次性安装所有的软件包。
+
+```
+# apt -y install $(cat /tmp/pack1.txt)
+
+Reading package lists... Done
+Building dependency tree
+Reading state information... Done
+The following packages were automatically installed and are no longer required:
+ libopts25 sntp
+Use 'sudo apt autoremove' to remove them.
+Suggested packages:
+ apache2-doc apache2-suexec-pristine | apache2-suexec-custom spell
+The following NEW packages will be installed:
+ apache2 mariadb-server nano
+0 upgraded, 3 newly installed, 0 to remove and 24 not upgraded.
+Need to get 339 kB of archives.
+After this operation, 1,377 kB of additional disk space will be used.
+Get:1 http://in.archive.ubuntu.com/ubuntu bionic-updates/main amd64 apache2 amd64 2.4.29-1ubuntu4.6 [95.1 kB]
+Get:2 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 nano amd64 2.9.3-2 [231 kB]
+Get:3 http://in.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 mariadb-server all 1:10.1.38-0ubuntu0.18.04.1 [12.9 kB]
+Fetched 339 kB in 19s (18.0 kB/s)
+Selecting previously unselected package apache2.
+(Reading database ... 290926 files and directories currently installed.)
+Preparing to unpack .../apache2_2.4.29-1ubuntu4.6_amd64.deb ...
+Unpacking apache2 (2.4.29-1ubuntu4.6) ...
+Selecting previously unselected package nano.
+Preparing to unpack .../nano_2.9.3-2_amd64.deb ...
+Unpacking nano (2.9.3-2) ...
+Selecting previously unselected package mariadb-server.
+Preparing to unpack .../mariadb-server_1%3a10.1.38-0ubuntu0.18.04.1_all.deb ...
+Unpacking mariadb-server (1:10.1.38-0ubuntu0.18.04.1) ...
+Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
+Setting up apache2 (2.4.29-1ubuntu4.6) ...
+Processing triggers for ureadahead (0.100.0-20) ...
+Processing triggers for install-info (6.5.0.dfsg.1-2) ...
+Setting up nano (2.9.3-2) ...
+update-alternatives: using /bin/nano to provide /usr/bin/editor (editor) in auto mode
+update-alternatives: using /bin/nano to provide /usr/bin/pico (pico) in auto mode
+Processing triggers for systemd (237-3ubuntu10.20) ...
+Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
+Setting up mariadb-server (1:10.1.38-0ubuntu0.18.04.1) ...
+```
+
+至于删除,需要使用相同的命令格式和适当的选项。
+
+```
+# apt -y remove $(cat /tmp/pack1.txt)
+Reading package lists... Done
+Building dependency tree
+Reading state information... Done
+The following packages were automatically installed and are no longer required:
+ apache2-bin apache2-data apache2-utils galera-3 libaio1 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libconfig-inifiles-perl libdbd-mysql-perl libdbi-perl libjemalloc1 liblua5.2-0
+ libmysqlclient20 libopts25 libterm-readkey-perl mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server-10.1 mariadb-server-core-10.1 mysql-common sntp socat
+Use 'apt autoremove' to remove them.
+The following packages will be REMOVED:
+ apache2 mariadb-server nano
+0 upgraded, 0 newly installed, 3 to remove and 24 not upgraded.
+After this operation, 1,377 kB disk space will be freed.
+(Reading database ... 291046 files and directories currently installed.)
+Removing apache2 (2.4.29-1ubuntu4.6) ...
+Removing mariadb-server (1:10.1.38-0ubuntu0.18.04.1) ...
+Removing nano (2.9.3-2) ...
+update-alternatives: using /usr/bin/vim.tiny to provide /usr/bin/editor (editor) in auto mode
+Processing triggers for ufw (0.36-0ubuntu0.18.04.1) ...
+Processing triggers for install-info (6.5.0.dfsg.1-2) ...
+Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
+```
+
+使用 [yum 命令][3] 在基于 RHEL (如 Centos、RHEL (Redhat) 和 OEL (Oracle Enterprise Linux)) 的系统上安装文件中列出的软件包。
+
+```
+# yum -y install $(cat /tmp/pack1.txt)
+```
+
+使用以命令在基于 RHEL (如 Centos、RHEL (Redhat) 和 OEL (Oracle Enterprise Linux)) 的系统上卸载文件中列出的软件包。
+
+```
+# yum -y remove $(cat /tmp/pack1.txt)
+```
+
+使用以下 [dnf 命令][4] 在 Fedora 系统上安装文件中列出的软件包。
+
+```
+# dnf -y install $(cat /tmp/pack1.txt)
+```
+
+使用以下命令在 Fedora 系统上卸载文件中列出的软件包。
+
+```
+# dnf -y remove $(cat /tmp/pack1.txt)
+```
+
+使用以下 [zypper 命令][5] 在 openSUSE 系统上安装文件中列出的软件包。
+
+```
+# zypper -y install $(cat /tmp/pack1.txt)
+```
+
+使用以下命令从 openSUSE 系统上卸载文件中列出的软件包。
+
+```
+# zypper -y remove $(cat /tmp/pack1.txt)
+```
+
+使用以下 [pacman 命令][6] 在基于 Arch Linux (如 Manjaro 和 Antergos) 的系统上安装文件中列出的软件包。
+
+```
+# pacman -S $(cat /tmp/pack1.txt)
+```
+
+使用以下命令从基于 Arch Linux (如 Manjaro 和 Antergos) 的系统中卸载文件中列出的软件包。
+
+
+```
+# pacman -Rs $(cat /tmp/pack1.txt)
+```
+
+### 方法二:如何使用 cat 和 xargs 命令在 Linux 中安装文件中列出的软件包。
+
+甚至,我更喜欢使用这种方法,因为这是一种非常简单直接的方法。
+
+使用以下 `apt` 命令在基于 Debian 的系统 (如 Debian、Ubuntu 和 Linux Mint) 上安装文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs apt -y install
+```
+
+使用以下 `apt` 命令 从基于 Debian 的系统 (如 Debian、Ubuntu 和 Linux Mint) 上卸载文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs apt -y remove
+```
+
+使用以下 `yum` 命令在基于 RHEL (如 Centos,RHEL (Redhat) 和 OEL (Oracle Enterprise Linux)) 的系统上安装文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs yum -y install
+```
+
+使用以命令从基于 RHEL (如 Centos、RHEL (Redhat) 和 OEL (Oracle Enterprise Linux)) 的系统上卸载文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs yum -y remove
+```
+
+使用以下 `dnf` 命令在 Fedora 系统上安装文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs dnf -y install
+```
+
+使用以下命令从 Fedora 系统上卸载文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs dnf -y remove
+```
+
+使用以下 `zypper` 命令在 openSUSE 系统上安装文件中列出的软件包。
+
+
+```
+# cat /tmp/pack1.txt | xargs zypper -y install
+```
+
+使用以下命令从 openSUSE 系统上卸载文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs zypper -y remove
+```
+
+使用以下 `pacman` 命令在基于 Arch Linux (如 Manjaro 和 Antergos) 的系统上安装文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs pacman -S
+```
+
+使用下以命令从基于 Arch Linux (如 Manjaro 和 Antergos) 的系统上卸载文件中列出的软件包。
+
+```
+# cat /tmp/pack1.txt | xargs pacman -Rs
+```
+
+### 方法三 : 如何使用 For 循环在 Linux 上安装文件中列出的软件包
+
+我们也可以使用 `for` 循环命令来实现此目的。
+
+安装批量包可以使用以下一条 `for` 循环的命令。
+
+```
+# for pack in `cat /tmp/pack1.txt` ; do apt -y install $i; done
+```
+
+要使用 shell 脚本安装批量包,请使用以下 `for` 循环。
+
+```
+# vi /opt/scripts/bulk-package-install.sh
+
+#!/bin/bash
+for pack in `cat /tmp/pack1.txt`
+do apt -y remove $pack
+done
+```
+
+为 `bulk-package-install.sh` 设置可执行权限。
+
+```
+# chmod + bulk-package-install.sh
+```
+
+最后运行这个脚本。
+
+```
+# sh bulk-package-install.sh
+```
+
+### 方法四:如何使用 While 循环在 Linux 上安装文件中列出的软件包
+
+我们也可以使用 `while` 循环命令来实现目的。
+
+安装批量包可以使用以下一条 `while` 循环的命令。
+
+```
+# file="/tmp/pack1.txt"; while read -r pack; do apt -y install $pack; done < "$file"
+```
+
+要使用 shell 脚本安装批量包,请使用以下 `while` 循环。
+
+```
+# vi /opt/scripts/bulk-package-install.sh
+
+#!/bin/bash
+file="/tmp/pack1.txt"
+while read -r pack
+do apt -y remove $pack
+done < "$file"
+```
+
+为 `bulk-package-install.sh` 设置可执行权限。
+
+```
+# chmod + bulk-package-install.sh
+```
+
+最后运行这个脚本。
+
+```
+# sh bulk-package-install.sh
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/how-to-install-uninstall-listed-packages-from-a-file-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[way-ww](https://github.com/way-ww)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-10116-1.html
+[2]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
+[3]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
+[4]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
+[5]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
+[6]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
+
diff --git a/published/20190508 Why startups should release their code as open source.md b/published/20190508 Why startups should release their code as open source.md
new file mode 100644
index 0000000000..ff12c65320
--- /dev/null
+++ b/published/20190508 Why startups should release their code as open source.md
@@ -0,0 +1,79 @@
+[#]: collector: (lujun9972)
+[#]: translator: (chen-ni)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11000-1.html)
+[#]: subject: (Why startups should release their code as open source)
+[#]: via: (https://opensource.com/article/19/5/startups-release-code)
+[#]: author: (Clément Flipo https://opensource.com/users/cl%C3%A9ment-flipo)
+
+为什么初创公司应该将代码开源
+======
+
+> Dokit 曾经怀疑将自己的知识开源可能是一个失败的商业决策,然而正是这个选择奠定了它的成功。
+
+![open source button on keyboard][1]
+
+回想一个项目开展最初期的细节并不是一件容易的事情,但这有时候可以帮助你更清晰地理解这个项目。如果让我来说,关于 [Dokit][2] 这个用来创建用户手册和文档的平台的最早的想法来自我的童年。小时候我家里都是 Meccano(LCTT 译注:一种类似乐高的拼装玩具)和飞机模型之类的玩具,对于我来说,游戏中很重要的一部分就是动手制作,把独立的零件组装在一起来创造一个新的东西。我父亲在一家 DIY 公司工作,所以家里到处都建筑、修理,以及使用说明书。小的时候父母还让我参加了童子军,在那里我们制作桌子和帐篷,还有泥巴做的烧烤炉,这些事情都培养了我在共同学习中感受到的乐趣,就像我在开源活动中感受到的一样。
+
+在童年学到的修理东西和回收产品的本领成为了我工作的一部分。后来我决心要用线上的方式,还原这种在家里或者小组里学习如何制作和修理东西时的那种非常棒的感觉。Dokit 就从这个想法中诞生了。
+
+### 创业初期
+
+事情并非一帆风顺,在我们的公司于 2017 年成立之后,我很快就意识到那些最庞大、最值得奋斗的目标一般来说也总是最困难的。如果想要实现我们的计划 —— 彻底改变 [老式的说明书和用户手册的编写和发行方式][3],并且在这个细分市场(我们非常清楚这一点)里取得最大的影响力 —— 那么确立一个主导任务就十分关键,它关乎项目的组织方式。我们据此做出了第一个重要决策:首先 [在短时间内使用一个已有的开源框架 MediaWiki 制作产品原型来验证我们的想法][4],然后将我们的全部代码都作为开源项目发布。
+
+当时 [MediaWiki][5] 已经在正常运作了,事后看来,这一点让我们的决策变得容易了许多。这个平台已经拥有我们设想的最小可用产品(MVP)所需要的 90% 的功能,并且在全世界范围内有 15000 名活跃的开发者。MediaWiki 因为是维基百科的驱动引擎而小有名气,如果没有来自它的支持,事情对我们来说无疑会困难很多。还有一个许多公司都在使用的文档平台 Confluence 也有一些不错的功能,但是最终在这两者之间做出选择还是很容易的。
+
+出于对社区的信赖,我们把自己平台的初始版本完全放在了 GitHub 上。我们甚至还没有真正开始进行推广,就已经可以看到世界各地的创客们开始使用我们的平台,这种令人激动的感觉似乎说明我们的选择是正确的。尽管 [创客以及 Fablab 运动][6](LCTT 译注:Fablab 是一种向个人提供包括 3D 打印在内的电子化制造服务的小型工坊)都在鼓励用户积极分享说明材料,并且在 [Fablab 章程][7] 中也写明了这一点,但现实中像模像样的文档还是不太多见。
+
+人们喜欢使用我们这个平台的首要原因是它可以解决一个非常实在的问题:一个本来还不错的项目,却使用了非常糟糕的文档 —— 其实这个项目本来可以变得更好的。对我们来说,这有点儿像是在修复创客及 DIY 社区里的一个裂缝。在我们的平台发布后的一年之内,Fablabs、[Wikifab][8]、[Open Source Ecology][9]、[Les Petits Debrouillards][10]、[Ademe][11] 以及 [Low-Tech Lab][12] 都在他们的服务器上安装了我们的工具,用来制作逐步引导的教程。
+
+甚至在我们还没有发新闻稿之前,我们的其中一个用户 Wikifab 就开始在全国性媒体上收到“DIY 界的维基百科”这样的称赞了。短短两年之内,我们看到有数百的社区都在他们自己的 Dokits 上开展了项目,从有意思的、搞笑的,到那种很正式的产品手册都有。这种社区的力量正是我们想要驾驭的,并且有这么多的项目 —— 从风力涡轮机到宠物喂食器 —— 都在使用我们创建的平台编写非常有吸引力的产品手册,这件事情真的令我们赞叹不已。
+
+### 项目开源
+
+回头看看前两年的成功,很明显选择开源是我们能迅速取得成果的关键因素。最有价值的事情就是在开源项目中获得反馈的能力了。如果一段代码无法正常运行,[会有人立刻告诉我们][14]。如果可以从这些已经在使用你提供的服务的人那里学到这么多东西,为什么还要需要等着和顾问们开会呢?
+
+社区对我们这个项目的关注程度也反映出了这个市场的潜力(包括利润上的潜力)。[巴黎有一个非常好的、成长迅速的开发者社区][15](LCTT 译注:Dokit 是一家设立在巴黎的公司),但是开源将我们从一个只有数千当地人的小池子里带到了全世界数百万的开发者身边,他们都将成为我们的创作中的一部分。与此同时,代码的开放性也让我们的用户和客户更加放心,因为即使我们这个公司不在了,代码仍然会存续下去。
+
+如果说上面这些都是在我们之前对开源的预期之中的话,其实这一路上也有不少惊喜。因为开源,我们获得了更多的客户、声望以及精准推广,这种推广本来以我们有限的预算是负担不起的,现在却不需要我们支付费用。我们发现开源代码还改善了我们的招聘流程,因为在雇佣之前就可以通过我们的代码来测试候选人,并且被雇佣之后的入职过程也会更加顺利。
+
+开发者在完全公开的情况下写代码,既有一点尴尬,同时也很团结,这对我们提升产品质量很有帮助。人们可以互相发表意见和反馈,并且因为工作都是完全公开的,人们似乎会尽可能地想做到最好。为了不断优化、不断重构 Dokit 的运行方式,我们明白未来应该在对社区的支持上做得更好。
+
+### 下一步是什么?
+
+尽管我们对正在做的事情一直都很有信念,并且看到很多出色的产品说明书都是用我们的软件制作出来的,我们还是会对这个项目的成长不断地感到兴奋,并且非常确信未来一定会很好。
+
+在创业初期,我们对将自己的知识免费分发出去这件事还是非常担心的。事实证明正好相反 —— 正是开源让我们能够迅速构建起一个可持续的初创企业。Dokit 平台的设计初衷是通过社区的支持,让它的用户有信心去构建、组装、修理和创造全新的发明。事后看来,我们用开源的方式去构建了 Dokit 这个平台,这和 Dokit 本身想做的其实正好是同一件事情。
+
+如同修理或者组装一件实体产品一样,只有当你对自己的方法有信心的时候,事情才会越来越顺利。现在,在我们创业的第三个年头,我们开始注意到全世界对这个领域的兴趣在增加,因为它迎合了出于不断变化的居家和生活方式的需求而 [想要使用或重复利用以及组装产品的新一代客户][16]。我们正是在通过线上社区的支持,创造一个让大家能够在自己动手做东西的时候感到更加有信心的平台。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/startups-release-code
+
+作者:[Clément Flipo][a]
+选题:[lujun9972][b]
+译者:[chen-ni](https://github.com/chen-ni)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/cl%C3%A9ment-flipo
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/button_push_open_keyboard_file_organize.png?itok=KlAsk1gx (open source button on keyboard)
+[2]: https://dokit.io/
+[3]: https://dokit.io/9-reasons-to-stop-writing-your-user-manuals-or-work-instructions-with-word-processors/
+[4]: https://medium.com/@gofloaters/5-cheap-ways-to-build-your-mvp-71d6170d5250
+[5]: https://en.wikipedia.org/wiki/MediaWiki
+[6]: https://en.wikipedia.org/wiki/Maker_culture
+[7]: http://fab.cba.mit.edu/about/charter/
+[8]: https://wikifab.org/
+[9]: https://www.opensourceecology.org/
+[10]: http://www.lespetitsdebrouillards.org/
+[11]: https://www.ademe.fr/en
+[12]: http://lowtechlab.org/
+[13]: https://www.20minutes.fr/magazine/economie-collaborative-mag/2428995-20160919-pour-construire-leurs-meubles-eux-memes-ils-creent-le-wikipedia-du-bricolage
+[14]: https://opensource.guide/how-to-contribute/
+[15]: https://www.rudebaguette.com/2013/03/here-are-the-details-on-the-new-developer-school-that-xavier-niel-is-launching-tomorrow/?lang=en
+[16]: https://www.inc.com/ari-zoldan/why-now-is-the-best-time-to-start-a-diy-home-based.html
diff --git a/published/20190509 5 essential values for the DevOps mindset.md b/published/20190509 5 essential values for the DevOps mindset.md
new file mode 100644
index 0000000000..f3193a3d95
--- /dev/null
+++ b/published/20190509 5 essential values for the DevOps mindset.md
@@ -0,0 +1,83 @@
+[#]: collector: (lujun9972)
+[#]: translator: (arrowfeng)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10992-1.html)
+[#]: subject: (5 essential values for the DevOps mindset)
+[#]: via: (https://opensource.com/article/19/5/values-devops-mindset)
+[#]: author: (Brent Aaron Reed https://opensource.com/users/brentaaronreed/users/wpschaub/users/wpschaub/users/wpschaub/users/cobiacomm/users/marcobravo/users/brentaaronreed)
+
+DevOps 思维模式的 5 个基本价值观
+======
+
+> 人和流程比在解决的业务问题的任何技术“银弹”更重要,且需要花更多的时间。
+
+![human head, brain outlined with computer hardware background][1]
+
+今天的许多 IT 专业人士都在努力适应变化和扰动。这么说吧,你是否正在努力适应变化?你觉得不堪重负吗?这并不罕见。今天,IT 的现状还不够好,所以需要不断尝试重新自我演进。
+
+凭借 30 多年的IT综合经验,我们见证了人员与关系对于 IT 企业提高效率和帮助企业蓬勃发展的重要性。但是,在大多数情况下,我们关于 IT 解决方案的对话始于技术,而不是从人员和流程开始。寻找“银弹”来解决业务和 IT 挑战的倾向过于普遍。但你不能想着可以买到创新、DevOps 或有效的团队和工作方式;他们需要得到培养,支持和引导。
+
+由于扰动如此普遍,并且对变革速度存在如此迫切的需求,我们需要纪律和围栏。下面描述的 DevOps 思维模式的五个基本价值观将支持将我们的实践。这些价值观不是新观念;正如我们从经验中学到的那样,它们被重构了。一些价值观可以互换的,它们是灵活的,并且它们如支柱一样导向了支持这五个价值观的整体原则。
+
+![5 essential values for the DevOps mindset][2]
+
+### 1、利益相关方的反馈至关重要
+
+我们如何知道我们是否为我们创造了比利益相关方更多的价值?我们需要持久的质量数据来分析、通知并推动更好的决策。来自可靠来源的相关信息对于任何业务的蓬勃发展至关重要。我们需要倾听并理解我们的利益相关方所说的,而不是说我们需要以一种方式实施变革,使我们能够调整我们的思维、流程和技术,并根据需要对其进行调整以使我们的利益相关者满意。由于信息(数据)不正确,我们常常看到的变化过少,或者由于错误的原因而发生了很多变化。因此,将变更与利益相关方的反馈结合起来是一项基本价值观,并有助我们专注于使公司成功最重要的事情。
+
+> 关注我们的利益相关方及其反馈,而不仅仅是为了改变而改变。
+
+### 2、超越当今流程的极限进行改进
+
+我们希望我们的产品和服务能够不断让客户满意,他们是我们最重要的利益相关方。因此,我们需要不断改进。这不仅仅是关系到质量;它还可能意味着成本、可用性、相关性以及许多其他目标和因素。创建可重复的流程或使用通用框架是非常棒的,它们可以改善治理和许多其他问题。但是,这不应该是我们的最终目标。在寻找改进方法时,我们必须调整我们的流程,并辅以正确的技术和工具。可能有理由抛出一个“所谓的”框架,因为不这样做可能会增加浪费,更糟糕的是只是“货物结果”(做一些没有价值或目的的东西)。
+
+> 力争始终创新并改进可重复的流程和框架。
+
+### 3、不要用新的孤岛来打破旧的孤岛
+
+孤岛和 DevOps 是不兼容的。我们经常能看到:IT 主管带来了所谓的“专家”来实施敏捷和 DevOps,他们做了什么?这些“专家”在现有问题的基础上创建了一个新问题,这是 IT 部门和业务中又增加了一个孤岛。创造“DevOps”职位违背了敏捷和 DevOps 基于打破孤岛的原则。在敏捷和 DevOps 中,团队合作是必不可少的,如果你不在自组织团队中工作,那么你就不会做任何事情。
+
+> 相互激励和共享,而不是成为英雄或创建一个孤岛。
+
+### 4、了解你的客户意味着跨组织协作
+
+企业的任何一个部分都不是一个独立的实体,因为它们都有利益相关方,主要利益相关方始终是客户。“客户永远是对的”(或国王,我喜欢这样说)。关键是,没有客户就真的没有业务,而且为了保持业务,如今我们需要与竞争对手“区别对待”。我们还需要了解客户对我们的看法以及他们对我们的期望。了解客户的需求势在必行,需要及时反馈,以确保业务能够快速、负责地满足这些主要利益相关者的需求和关注。
+
+![Minimize time spent with build-measure-learn process][3]
+
+无论是想法、概念、假设还是直接利益相关方的反馈,我们都需要通过使用探索、构建、测试和交付生命周期来识别和衡量我们的产品提供的功能或服务。从根本上说,这意味着我们需要在整个组织中“插入”我们的组织。在持续创新、学习和 DevOps 方面没有任何边界。因此,当我们在整个企业中进行衡量时,我们可以理解整体并采取可行的、有意义的步骤来改进。
+
+> 衡量整个组织的绩效,而不仅仅是在业务范围内。
+
+### 5、通过热情鼓励采纳
+
+不是每个人都要被驱使去学习、适应和改变;然而,就像微笑可能具有传染性一样,学习和意愿成为变革文化的一部分也是如此。在学习文化中适应和演化为一群人提供了学习和传递信息(即文化传播)的自然机制。学习风格、态度、方法和过程不断演化,因此我们可以改进它们。下一步是应用所学和改进的内容并与同事分享信息。学习不会自动发生;它需要努力、评估、纪律、意识,特别是沟通;遗憾的是,这些都是工具和自动化无法提供的。检查你的流程、自动化、工具策略和实施工作,使其透明化,并与你的同事协作重复使用和改进。
+
+> 通过精益交付促进学习文化,而不仅仅是工具和自动化。
+
+### 总结
+
+![Continuous goals of DevOps mindset][4]
+
+随着我们的公司采用 DevOps,我们继续在各种书籍、网站或自动化软件上倡导这五个价值观。采用这种思维方式需要时间,这与我们以前作为系统管理员所做的完全不同。这是一种全新的工作方式,需要很多年才能成熟。这些原则是否与你自己的原则一致?在评论或我们的网站 [Agents of chaos][5] 上分享。
+
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/values-devops-mindset
+
+作者:[Brent Aaron Reed][a]
+选题:[lujun9972][b]
+译者:[arrowfeng](https://github.com/arrowfeng)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/brentaaronreed/users/wpschaub/users/wpschaub/users/wpschaub/users/cobiacomm/users/marcobravo/users/brentaaronreed
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/brain_data.png?itok=RH6NA32X (human head, brain outlined with computer hardware background)
+[2]: https://opensource.com/sites/default/files/uploads/devops_mindset_values.png (5 essential values for the DevOps mindset)
+[3]: https://opensource.com/sites/default/files/uploads/devops_mindset_minimze-time.jpg (Minimize time spent with build-measure-learn process)
+[4]: https://opensource.com/sites/default/files/uploads/devops_mindset_continuous.png (Continuous goals of DevOps mindset)
+[5]: http://agents-of-chaos.org
diff --git a/published/20190513 How To Check Whether The Given Package Is Installed Or Not On Debian-Ubuntu System.md b/published/20190513 How To Check Whether The Given Package Is Installed Or Not On Debian-Ubuntu System.md
new file mode 100644
index 0000000000..a0f55d4b7b
--- /dev/null
+++ b/published/20190513 How To Check Whether The Given Package Is Installed Or Not On Debian-Ubuntu System.md
@@ -0,0 +1,133 @@
+[#]: collector: (lujun9972)
+[#]: translator: (yizhuoyan)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11010-1.html)
+[#]: subject: (How To Check Whether The Given Package Is Installed Or Not On Debian/Ubuntu System?)
+[#]: via: (https://www.2daygeek.com/how-to-check-whether-the-given-package-is-installed-or-not-on-ubuntu-debian-system/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+
+如何在 Debian/Ubuntu 系统中检查程序包是否安装?
+======
+
+
+
+我们近期发布了一篇关于批量程序包安装的文章。在此同时,关于如何获取系统上已安装了的程序包信息,我也做了些调查然后找到了些方法。我会把这些方法分享在我们的网站上,希望能帮助到其他人。
+
+有很多种方法可以检查程序包是否已安装,我找到了 7 种命令,你可以从中选择你喜欢的使用。
+
+如下:
+
+ * `apt-cache`:可用于查询 APT 缓存或程序包的元数据。
+ * `apt`:是基于 Debian 的系统中的安装、下载、删除、搜索和管理包的强有力的工具。
+ * `dpkg-query`:一个查询 dpkg 数据库的工具。
+ * `dpkg`:基于 Debian 的系统的包管理工具。
+ * `which`:返回在终端中输入命令时执行的可执行文件的全路径。
+ * `whereis`:可用于搜索指定命令的二进制文件、源码文件和帮助文件。
+ * `locate`:比 `find` 命令快,因为其使用 `updatedb` 数据库搜索,而 `find`命令在实际系统中搜索。
+
+### 方法一、使用 apt-cache 命令
+
+`apt-cache` 命令用于从 APT 内部数据库中查询**APT 缓存**和**包的元数据**,将会搜索和显示指定包的信息,包括是否安装、程序包版本、源码仓库信息等。
+
+下面的示例清楚的显示 `nano` 包已经在系统中安装了以及对应安装的版本号。
+
+```
+# apt-cache policy nano
+nano:
+ Installed: 2.9.3-2
+ Candidate: 2.9.3-2
+ Version table:
+ *** 2.9.3-2 500
+ 500 http://in.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
+ 100 /var/lib/dpkg/status
+```
+
+### 方法二、使用 apt 命令
+
+`apt` 是一个功能强大的命令行工具,可用于安装、下载、删除、搜索、管理程序包以及查询关于程序包的信息,类似对于 `libapt-pkg` 库的所有功能的底层访问。其包含一些与包管理相关的但很少用到的命令行功能。
+
+```
+# apt -qq list nano
+nano/bionic,now 2.9.3-2 amd64 [installed]
+```
+
+### 方法三、使用 dpkg-query 命令
+
+`dpkg-query` 是显示 `dpkg` 数据库中程序包信息列表的一个工具。
+
+下面示例中的输出的第一列 `ii`,表示查询的程序包已安装了。
+
+```
+# dpkg-query --list | grep -i nano
+ii nano 2.9.3-2 amd64 small, friendly text editor inspired by Pico
+```
+
+### 方法四、使用 dpkg 命令
+
+`dpkg`(**d**ebian **p**ac**k**a**g**e)是一个安装、构建、删除和管理 Debian 包的工具,但和其他包管理系统不同的是,其不能自动下载和安装包或包依赖。
+
+下面示例中的输出的第一列 `ii`,表示查询的包已安装了。
+
+```
+# dpkg -l | grep -i nano
+ii nano 2.9.3-2 amd64 small, friendly text editor inspired by Pico
+```
+
+### 方法五、使用 which 命令
+
+`which` 命令返回在终端中输入命令时执行的可执行文件的全路径。这对于你想要给可执行文件创建桌面快捷方式或符号链接时非常有用。
+
+`which` 命令仅在当前用户 `PATH` 环境变量配置的目录列表中搜索,而不是在所有用户的目录中搜索。这意思是当你登入你自己账号时,其不会在 `root` 用户文件或目录中搜索。
+
+如果对于指定的程序包或可执行文件路径有如下输出,则表示已安装了,否则没有。
+
+```
+# which nano
+/bin/nano
+```
+
+### 方法六、使用 whereis 命令
+
+`whereis` 命令用于针对指定命令搜索对应的程序二进制文件、源码文件以及帮助文件等。
+
+如果对于指定的程序包或可执行文件路径有如下输出,则表示已安装了,否则没有。
+
+```
+# whereis nano
+nano: /bin/nano /usr/share/nano /usr/share/man/man1/nano.1.gz /usr/share/info/nano.info.gz
+```
+
+### 方法七、使用 locate 命令
+
+`locate` 命令比 `find` 命令快,因为其在 `updatedb` 数据库中搜索,而 `find` 命令在实际系统中进行搜索。
+
+对于获取指定文件,其使用数据库而不是在特定目录路径中搜索。
+
+`locate` 命令不会预安装在大多数系统中,需要手动安装。
+
+`locate` 使用的数据库会根据定时任务定期更新。当然,我们也可以手动更新。
+
+如果对于指定的程序包或可执行文件路径有如下输出,则表示已安装了,否则没有。
+
+```
+# locate --basename '\nano'
+/usr/bin/nano
+/usr/share/nano
+/usr/share/doc/nano
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/how-to-check-whether-the-given-package-is-installed-or-not-on-ubuntu-debian-system/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[yizhuoyan](https://github.com/yizhuoyan)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
diff --git a/published/20190517 10 Places Where You Can Buy Linux Computers.md b/published/20190517 10 Places Where You Can Buy Linux Computers.md
new file mode 100644
index 0000000000..92a334f37d
--- /dev/null
+++ b/published/20190517 10 Places Where You Can Buy Linux Computers.md
@@ -0,0 +1,299 @@
+[#]: collector: (lujun9972)
+[#]: translator: (chen-ni)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10982-1.html)
+[#]: subject: (10 Places Where You Can Buy Linux Computers)
+[#]: via: (https://itsfoss.com/get-linux-laptops/)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+可以买到 Linux 电脑的 10 个地方
+======
+
+> 你在找 Linux 笔记本吗? 这里列出一些出售 Linux 电脑或者是专注于 Linux 系统的电商。
+
+如今市面上几乎所有的电脑(苹果除外)都预装了 Windows 系统。Linux 使用者的惯常做法就是买一台这样的电脑,然后要么删除 Windows 系统并安装 Linux,要么[安装 Linux 和 Windows 的双系统][1]。
+
+但 Windows 系统并非无法避免。你其实也可以买到 Linux 电脑。
+
+不过,既然可以轻松地在任何一台电脑上安装 Linux,为什么还要买一台预装了 Linux 的电脑呢?下面列举几个原因:
+
+ * 预装 Windows 系统意味着你额外支付了 Windows 许可证的费用。你可以节省这笔开销。
+ * 预装 Linux 的电脑都经过了硬件适配测试。你不需要担心系统无法正常运行 WiFi 或者蓝牙,也不再需要亲自去搞定这些事情了。
+ * 购买 Linux 电脑相当于间接地支持了 Linux。更多的销售额可以反应出对 Linux 产品的需求,也就可能会有更多商家提供 Linux 作为一种可以选择的操作系统。
+
+如果你正想买一台 Linux 的笔记本,不妨考虑一下我的建议。下面这些制造商或者商家都提供开箱即用的 Linux 系统。
+
+![][2]
+
+### 可以买到 Linux 笔记本或者台式机的 10 个地方
+
+在揭晓这个提供预装 Linux 电脑的商家的清单之前,需要先声明一下。
+
+请根据你的独立决策购买。我在这里只是简单地列出一些售卖 Linux 电脑的商家,并不保证他们的产品质量、售后服务等等这些事情。
+
+这也并不是一个排行榜。清单并不是按照某个特定次序排列的,每一项前面的数字只是为了方便计数,而并不代表名次。
+
+让我们看看你可以在哪儿买到预装 Linux 的台式机或者笔记本吧。
+
+#### 1、戴尔
+
+![戴尔 XPS Ubuntu | 图片所有权: Lifehacker][3]
+
+戴尔提供 Ubuntu 笔记本已经有好几年了。他们的旗舰产品 XPS 系列的亮点之一就是预装了 Ubuntu 的开发者版本系列产品。
+
+如果你读过我的 [戴尔 XPS Ubuntu 版本评测][4]就知道我是很喜欢这款笔记本的。两年多过去了,这个笔记本依然状况良好,没有性能恶化的迹象。
+
+戴尔 XPS 是售价超过 1000 美元的昂贵设备。如果你的预算没有这么多,可以考虑戴尔更加亲民的 Inspiron 系列笔记本。
+
+值得一提的是,戴尔并没有在它的官网上展示 Ubuntu 或者 Linux 笔记本产品。除非你知道戴尔提供 Linux 笔记本,你是不会找到它们的。
+
+所以,去戴尔的官网上搜索关键字 “Ubuntu” 来获取预装 Ubuntu 的产品的信息吧。
+
+**支持范围**:世界上大部分地区。
+
+- [戴尔][5]
+
+#### 2、System76
+
+[System76][6] 是 Linux 计算机世界里的一个响亮的名字。这家总部设在美国的企业专注于运行 Linux 的高端技术设备。他们的目标用户群体是软件开发者。
+
+最初,System76 在自己的机器上提供的是 Ubuntu 系统。2017 年,他们发布了属于自己的 Linux 发行版,基于 Ubuntu 的 [Pop!\_OS][7]。从此以后,Pop!\_OS 就是他们机器上的默认操作系统了,但是仍然保留了 Ubuntu 这个选择。
+
+除了性能之外,System76 还格外重视设计。他们的 [Thelio 系列台式机][8] 采用纯手工木制设计。
+
+![System76 Thelio 台式机][9]
+
+你可以在 [这里][10] 查看他们提供的 Linux 笔记本。他们同时也提供 [基于 Linux 的迷你电脑][11] 和 [服务器][12]。
+
+值得一提的是,System76 在美国制造他们的电脑,而没有使用中国大陆或者台湾这种常规的选择。也许是出于这个原因,他们产品的售价较为高昂。
+
+**支持范围**:美国以及其它 60 个国家。在美国境外可能会有额外的关税。更多信息见[这里][13].
+
+- [System76][6]
+
+#### 3、Purism
+
+Purism 是一个总部设在美国的企业,以提供确保数据安全和隐私的产品和服务为荣。这就是为什么 Purism 称自己为 “效力社会的公司”。
+
+Purism 是从一个众筹项目开始的,该项目旨在创造一个几乎没有任何专有软件的高端开源笔记本。2015年,从这个 [成功的 25 万美元的众筹项目][15] 中诞生了 [Librem 15][16] 笔记本。
+
+![Purism Librem 13][17]
+
+后来 Purism 发布了一个 13 英寸的版本 [Librem 13][18]。Purism 还开发了一个自己的 Linux 发行版 [Pure OS][19],该发行版非常注重隐私和安全问题。
+
+[Pure OS 在台式设备和移动设备上都可以运行][20],并且是 Librem 笔记本和[Librem 5 Linux 手机][21] 的默认操纵系统。
+
+Purism 的零部件来自中国大陆、台湾、日本以及美国,并在美国完成组装。他们的所有设备都有可以直接关闭的硬件开关,用来关闭麦克风、摄像头、无线连接或者是蓝牙。
+
+**支持范围**:全世界范围国际免邮。可能需要支付额外的关税。
+
+- [Purism][22]
+
+#### 4、Slimbook
+
+Slimbook 是一个总部设在西班牙的 Linux 电脑销售商。Slimbook 在发行了 [第一款 KDE 品牌笔记本][23]之后成为了人们关注的焦点。
+
+他们的产品不仅限于 KDE Neon。他们还提供 Ubuntu、Kubuntu、Ubuntu MATE、Linux Mint 以及包括 [Lliurex][24] 和 [Max][25] 这样的西班牙发行版。你也可以选择 Windows(需要额外付费)或者不预装任何操作系统。
+
+Slimbook 有众多 Linux 笔记本、台式机和迷你电脑可供选择。他们另外一个非常不错的产品是一个类似于 iMac 的 24 英寸 [拥有内置 CPU 的曲面显示屏][26]。
+
+![Slimbook Kymera Aqua 水冷 Linux 电脑][27]
+
+想要一台水冷 Linux 电脑吗?Slimbook 的 [Kymera Aqua][28] 是合适之选。
+
+**支持范围**:全世界范围,不过在邮费和关税上都可能产生额外费用。
+
+- [Slimbook][29]
+
+#### 5、TUXEDO
+
+作为这个 Linux 电脑销售商清单里的另一个欧洲成员,[TUXEDO][30] 总部设在德国,主要服务德国用户,其次是欧洲用户。
+
+TUXEDO 只使用 Linux 系统,产品都是“德国制造”,并且提供 5 年保修和终生售后支持。
+
+TUXEDO 在 Linux 系统的硬件适配上下了很大功夫。并且如果你遇到了麻烦或者是想从头开始,可以通过系统恢复选项,自动恢复出厂设置。
+
+![Tuxedo 电脑支持众多发行版][31]
+
+TUXEDO 有许多 Linux 笔记本、台式机和迷你电脑产品可供选择。他们还同时支持 Intel 和 AMD 的处理器。除了电脑,TUXEDO 还提供一系列 Linux 支持的附件,比如扩展坞、DVD 和蓝光刻录机、移动电源以及其它外围设备。
+
+**支持范围**:150 欧元以上的订单在德国和欧洲范围内免邮。欧洲外国家会有额外的运费和关税。更多信息见 [这里][32].
+
+- [TUXEDO][33]
+
+#### 6、Vikings
+
+[Vikings][34] 的总部设在德国(而不是斯堪的纳维亚半岛,哈哈)。Vikings 拥有[自由软件基金会][35]的认证,专注于自由友好的硬件。
+
+![Vikings 的产品经过了自由软件基金会认证][36]
+
+Vikings 的 Linux 笔记本和台式机使用的是 [coreboot][37] 或者 [Libreboot][38],而不是像 BIOS 和 UEFI 这样的专有启动系统。你还可以购买不运行任何专有软件的 [硬件服务器][39]。
+
+Vikings 还有包括路由器、扩展坞等在内的其它配件。他们的产品都是在德国组装完成的。
+
+**支持范围**:全世界(除了朝鲜)。非欧洲国家可能会有额外关税费用。更多信息见[这里][40]。
+
+- [Vikings][41]
+
+#### 7、Ubuntushop.be
+
+不不!尽管名字里有 Ubuntu,但这不是官方的 Ubuntu 商店。Ubuntushop 总部位于比利时,最初是销售安装了 Ubuntu 的电脑。
+
+如今,你可以买到预装了包括 Mint、Manjaro、elementrayOS 在内的 Linux 发行版的笔记本电脑。你还可以要求所购买的设备上安装你所选择的发行版。
+
+![][42]
+
+Ubuntushop 的一个独特之处在于,它的所有电脑都带有默认的 Tails OS live 选项。即使你安装了某个其它的 Linux 发行版作为日常使用的系统,也随时可以选择启动到 Tails OS(不需要使用 live USB)。[Tails OS][43] 是一个基于 Debian 的发行版,它在用户注销后会删除所有使用痕迹,并且在默认情况下使用 Tor 网络。
+
+和此列表中的许多其他重要玩家不同,我觉得 Ubuntushop 所提供的更像是一种“家庭工艺”。商家手动组装一个电脑,安装 Linux 然后卖给你。不过他们也在一些可选项上下了功夫,比如说轻松的重装系统,拥有自己的云服务器等等。
+
+你可以找一台旧电脑快递给他们,就可以变成一台新安装 Linux 的电脑,他们就会在你的旧电脑上安装 [轻量级 Linux][45] 系统然后快递回来,这样你这台旧电脑就可以重新投入使用了。
+
+**支持范围**:比利时以及欧洲的其它地区。
+
+- [Ubuntushop.be][46]
+
+#### 8、Minifree
+
+[Minifree][47],是自由部门的缩写,他们是一家注册在英格兰的公司。
+
+你可以猜到 Minifree 非常注重自由。他们提供安全以及注重隐私的电脑,预装 [Libreboot][38] 而不是 BIOS 或者 UEFI。
+
+Minifree 的设备经过了 [自由软件基金会][48] 的认证,所以你可以放心买到的电脑都遵循了自由开源软件的指导规则。
+
+![][49]
+
+和这个清单中许多其它 Linux 笔记本销售商不同,Minifree 的电脑并不是特别贵。花 200 欧元就可以买到一台预装了 Libreboot 和 [Trisquel GNU/Linux][50] 的 Linux 电脑。
+
+除了笔记本以外,Minifree 还有一系列的配件,比如 Libre 路由器、平板电脑、扩展坞、电池、键盘、鼠标等等。
+
+如果你和 [Richard Stallman][51] 一样,希望只运行 100% 自由的软件的话,Minifree 就再适合不过了。
+
+**支持范围**:全世界。运费信息见 [这里][52]。
+
+- [Minifree][47]
+
+#### 9、Entroware
+
+[Entroware][53] 是另一个总部设在英国的销售商,专注基于 Linux 系统的笔记本、台式机和服务器。
+
+和这个清单里的很多其它商家一样,Entroware 也选择 Ubuntu 作为 Linux 发行版。[Ubuntu MATE 也是 Entroware Linux 笔记本的一种可选系统][54].
+
+![][55]
+
+除了笔记本、台式机和服务器之外,Entroware 还拥有自己的 [迷你电脑 Aura][56],以及一个 iMac 风格的[内置 CPU 的显示器 Ares][57].
+
+支持范围: 英国、爱尔兰、法国、德国、意大利、西班牙。
+
+- [Entroware][58]
+
+#### 10、Juno
+
+这是我们清单上的一个新的 Linux 笔记本销售商。Juno 的总部同样设在英国,提供预装 Linux 的电脑。可选择的 Linux 发行版包括 elementary OS、Ubuntu 和 Solus OS。
+
+Juno 提供一系列的笔记本,以及一款叫做 Olympia 迷你电脑。和列表里其它商家提供的大多数迷你电脑一样,Olympia 也基本上相当于一个 [Intel NUC][59]。
+
+Juno 的主要特色是 Juve,一款售价 299 美元的 Chromebook 的低成本替代品。它运行一个双系统,包括 Solus 或者 elementray,以及一个基于安卓的电脑操作系统 [Prime OS][60]。
+
+![Juve With Android-based Prime Os][61]
+
+支持范围:英国、美国、加拿大、墨西哥、南美和欧洲的大部分地区、新西兰、亚洲和非洲的某些地区。更多信息见 [这里][62]。
+
+- [Juno Computers][63]
+
+#### 荣誉奖
+
+我列举了 10 个可以买到 Linux 电脑的地方,但其实还有一些其它类似的商店。清单里放不下这么多,并且它们其中的几个似乎大多数商品都缺货。不过我还是要在这里稍微提一下它们,方便你自己查找相关信息:
+
+ * [ZaReason][64]
+ * [Libiquity][65]
+ * [StationX][66]
+ * [Linux Certified][67]
+ * [Think Penguin][68]
+
+包括宏碁和联想在内的其它主流电脑生产商可能也有基于 Linux 系统的产品,所以你不妨也查看一下他们的产品目录吧。
+
+你有没有买过 Linux 电脑?在哪儿买的?使用体验怎么样?Linux 笔记本值不值得买?分享一下你的想法吧。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/get-linux-laptops/
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[chen-ni](https://github.com/chen-ni)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/
+[2]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/buy-linux-laptops.jpeg?resize=800%2C450&ssl=1
+[3]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/dell-xps-ubuntu.jpg?resize=800%2C450&ssl=1
+[4]: https://itsfoss.com/dell-xps-13-ubuntu-review/
+[5]: https://www.dell.com
+[6]: https://system76.com/
+[7]: https://itsfoss.com/pop-os-linux-review/
+[8]: https://system76.com/desktops
+[9]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/system76-thelio-desktop.jpg?ssl=1
+[10]: https://system76.com/laptops
+[11]: https://itsfoss.com/4-linux-based-mini-pc-buy-2015/
+[12]: https://system76.com/servers
+[13]: https://system76.com/shipping
+[14]: https://itsfoss.com/use-google-drive-linux/
+[15]: https://www.crowdsupply.com/purism/librem-15
+[16]: https://puri.sm/products/librem-15/
+[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/purism-librem-13.jpg?resize=800%2C471&ssl=1
+[18]: https://puri.sm/products/librem-13/
+[19]: https://www.pureos.net/
+[20]: https://itsfoss.com/pureos-convergence/
+[21]: https://itsfoss.com/librem-linux-phone/
+[22]: https://puri.sm/
+[23]: https://itsfoss.com/slimbook-kde/
+[24]: https://distrowatch.com/table.php?distribution=lliurex
+[25]: https://en.wikipedia.org/wiki/MAX_(operating_system)
+[26]: https://slimbook.es/en/aio-curve-all-in-one-for-gnu-linux
+[27]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/Slimbook-Kymera-Aqua-Liquid-Cool-Linux-Computer.jpg?ssl=1
+[28]: https://slimbook.es/en/kymera-aqua-the-gnu-linux-computer-with-custom-water-cooling
+[29]: https://slimbook.es/en/
+[30]: https://www.tuxedocomputers.com/
+[31]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/tuxedo-computers.jpeg?resize=800%2C400&ssl=1
+[32]: https://www.tuxedocomputers.com/en/Shipping-Returns.tuxedo
+[33]: https://www.tuxedocomputers.com/en#
+[34]: https://store.vikings.net/index.php?route=common/home
+[35]: https://www.fsf.org
+[36]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/vikings-computer.jpeg?resize=800%2C450&ssl=1
+[37]: https://www.coreboot.org/
+[38]: https://libreboot.org/
+[39]: https://store.vikings.net/libre-friendly-hardware/the-server-1u
+[40]: https://store.vikings.net/index.php?route=information/information&information_id=8
+[41]: https://store.vikings.net/libre-friendly-hardware
+[42]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/manjarobook-by-ubuntushop.jpeg?ssl=1
+[43]: https://tails.boum.org/
+[44]: https://itsfoss.com/things-to-do-after-installing-ubuntu-18-04/
+[45]: https://itsfoss.com/lightweight-linux-beginners/
+[46]: https://www.ubuntushop.be/index.php/en/
+[47]: https://minifree.org/
+[48]: https://www.fsf.org/
+[49]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/minifree.jpg?resize=800%2C550&ssl=1
+[50]: https://trisquel.info/
+[51]: https://en.wikipedia.org/wiki/Richard_Stallman
+[52]: https://minifree.org/shipping-costs/
+[53]: https://www.entroware.com/
+[54]: https://itsfoss.com/ubuntu-mate-entroware/
+[55]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/entroware.jpg?resize=800%2C450&ssl=1
+[56]: https://itsfoss.com/ubuntu-entroware-aura-mini-pc/
+[57]: https://www.entroware.com/store/ares
+[58]: https://www.entroware.com/store/index.php?route=common/home
+[59]: https://www.amazon.com/Intel-NUC-Mainstream-Kit-NUC8i3BEH/dp/B07GX4X4PW?psc=1&SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07GX4X4PW (Intel NUC)
+[60]: https://primeos.in/
+[61]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/juve-with-prime-os.jpeg?ssl=1
+[62]: https://junocomputers.com/shipping
+[63]: https://junocomputers.com/
+[64]: https://zareason.com/
+[65]: https://libiquity.com/
+[66]: https://stationx.rocks/
+[67]: https://www.linuxcertified.com/linux_laptops.html
+[68]: https://www.thinkpenguin.com/
diff --git a/published/20190517 Using Testinfra with Ansible to verify server state.md b/published/20190517 Using Testinfra with Ansible to verify server state.md
new file mode 100644
index 0000000000..9b2dc01e26
--- /dev/null
+++ b/published/20190517 Using Testinfra with Ansible to verify server state.md
@@ -0,0 +1,154 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10943-1.html)
+[#]: subject: (Using Testinfra with Ansible to verify server state)
+[#]: via: (https://opensource.com/article/19/5/using-testinfra-ansible-verify-server-state)
+[#]: author: (Clement Verna https://opensource.com/users/cverna/users/paulbischoff/users/dcritch/users/cobiacomm/users/wgarry155/users/kadinroob/users/koreyhilpert)
+
+使用 Testinfra 和 Ansible 验证服务器状态
+======
+
+> Testinfra 是一个功能强大的库,可用于编写测试来验证基础设施的状态。另外它与 Ansible 和 Nagios 相结合,提供了一个用于架构即代码 (IaC) 的简单解决方案。
+
+![Terminal command prompt on orange background][1]
+
+根据设计,[Ansible][2] 传递机器的期望状态,以确保 Ansible 剧本或角色的内容部署到目标机器上。但是,如果你需要确保所有基础架构更改都在 Ansible 中,该怎么办?或者想随时验证服务器的状态?
+
+[Testinfra][3] 是一个基础架构测试框架,它可以轻松编写单元测试来验证服务器的状态。它是一个 Python 库,使用强大的 [pytest][4] 测试引擎。
+
+### 开始使用 Testinfra
+
+可以使用 Python 包管理器(`pip`)和 Python 虚拟环境轻松安装 Testinfra。
+
+```
+$ python3 -m venv venv
+$ source venv/bin/activate
+(venv) $ pip install testinfra
+```
+
+Testinfra 也可以通过 Fedora 和 CentOS 的 EPEL 仓库中使用。例如,在 CentOS 7 上,你可以使用以下命令安装它:
+
+```
+$ yum install -y epel-release
+$ yum install -y python-testinfra
+```
+
+#### 一个简单的测试脚本
+
+在 Testinfra 中编写测试很容易。使用你选择的代码编辑器,将以下内容添加到名为 `test_simple.py` 的文件中:
+
+```
+import testinfra
+
+def test_os_release(host):
+ assert host.file("/etc/os-release").contains("Fedora")
+
+def test_sshd_inactive(host):
+ assert host.service("sshd").is_running is False
+```
+
+默认情况下,Testinfra 为测试用例提供了一个 `host` 对象,该对象能访问不同的辅助模块。例如,第一个测试使用 `file` 模块来验证主机上文件的内容,第二个测试用例使用 `service` 模块来检查 systemd 服务的状态。
+
+要在本机运行这些测试,请执行以下命令:
+
+```
+(venv)$ pytest test_simple.py
+================================ test session starts ================================
+platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0
+rootdir: /home/cverna/Documents/Python/testinfra
+plugins: testinfra-3.0.0
+collected 2 items
+test_simple.py ..
+
+================================ 2 passed in 0.05 seconds ================================
+```
+
+有关 Testinfra API 的完整列表,你可以参考[文档][5]。
+
+### Testinfra 和 Ansible
+
+Testinfra 支持的后端之一是 Ansible,这意味着 Testinfra 可以直接使用 Ansible 的清单文件和清单中定义的一组机器来对它们进行测试。
+
+我们使用以下清单文件作为示例:
+
+```
+[web]
+app-frontend01
+app-frontend02
+
+[database]
+db-backend01
+```
+
+我们希望确保我们的 Apache Web 服务器在 `app-frontend01` 和 `app-frontend02` 上运行。让我们在名为 `test_web.py` 的文件中编写测试:
+
+```
+def check_httpd_service(host):
+ """Check that the httpd service is running on the host"""
+ assert host.service("httpd").is_running
+```
+
+要使用 Testinfra 和 Ansible 运行此测试,请使用以下命令:
+
+
+```
+(venv) $ pip install ansible
+(venv) $ py.test --hosts=web --ansible-inventory=inventory --connection=ansible test_web.py
+```
+
+在调用测试时,我们使用 Ansible 清单文件的 `[web]` 组作为目标计算机,并指定我们要使用 Ansible 作为连接后端。
+
+#### 使用 Ansible 模块
+
+Testinfra 还为 Ansible 提供了一个很好的可用于测试的 API。该 Ansible 模块能够在测试中运行 Ansible 动作,并且能够轻松检查动作的状态。
+
+```
+def check_ansible_play(host):
+ """
+ Verify that a package is installed using Ansible
+ package module
+ """
+ assert not host.ansible("package", "name=httpd state=present")["changed"]
+```
+
+默认情况下,Ansible 的[检查模式][6]已启用,这意味着 Ansible 将报告在远程主机上执行动作时会发生的变化。
+
+### Testinfra 和 Nagios
+
+现在我们可以轻松地运行测试来验证机器的状态,我们可以使用这些测试来触发监控系统上的警报。这是捕获意外的更改的好方法。
+
+Testinfra 提供了与 [Nagios][7] 的集成,它是一种流行的监控解决方案。默认情况下,Nagios 使用 [NRPE][8] 插件对远程主机进行检查,但使用 Testinfra 可以直接从 Nagios 主控节点上运行测试。
+
+要使 Testinfra 输出与 Nagios 兼容,我们必须在触发测试时使用 `--nagios` 标志。我们还使用 `-qq` 这个 pytest 标志来启用 pytest 的静默模式,这样就不会显示所有测试细节。
+
+```
+(venv) $ py.test --hosts=web --ansible-inventory=inventory --connection=ansible --nagios -qq line test.py
+TESTINFRA OK - 1 passed, 0 failed, 0 skipped in 2.55 seconds
+```
+
+Testinfra 是一个功能强大的库,可用于编写测试以验证基础架构的状态。 另外与 Ansible 和 Nagios 相结合,提供了一个用于架构即代码 (IaC) 的简单解决方案。 它也是使用 [Molecule][9] 开发 Ansible 角色过程中添加测试的关键组件。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/using-testinfra-ansible-verify-server-state
+
+作者:[Clement Verna][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/cverna/users/paulbischoff/users/dcritch/users/cobiacomm/users/wgarry155/users/kadinroob/users/koreyhilpert
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/terminal_command_linux_desktop_code.jpg?itok=p5sQ6ODE (Terminal command prompt on orange background)
+[2]: https://www.ansible.com/
+[3]: https://testinfra.readthedocs.io/en/latest/
+[4]: https://pytest.org/
+[5]: https://testinfra.readthedocs.io/en/latest/modules.html#modules
+[6]: https://docs.ansible.com/ansible/playbooks_checkmode.html
+[7]: https://www.nagios.org/
+[8]: https://en.wikipedia.org/wiki/Nagios#NRPE
+[9]: https://github.com/ansible/molecule
diff --git a/published/20190520 Getting Started With Docker.md b/published/20190520 Getting Started With Docker.md
new file mode 100644
index 0000000000..2349664ad9
--- /dev/null
+++ b/published/20190520 Getting Started With Docker.md
@@ -0,0 +1,471 @@
+[#]: collector: "lujun9972"
+[#]: translator: "zhang5788"
+[#]: reviewer: "wxy"
+[#]: publisher: "wxy"
+[#]: url: "https://linux.cn/article-10940-1.html"
+[#]: subject: "Getting Started With Docker"
+[#]: via: "https://www.ostechnix.com/getting-started-with-docker/"
+[#]: author: "sk https://www.ostechnix.com/author/sk/"
+
+Docker 入门指南
+======
+
+![Getting Started With Docker][1]
+
+在我们的上一个教程中,我们已经了解[如何在 Ubuntu 上安装 Docker][1],和如何在 [CentOS 上安装 Docker][2]。今天,我们将会了解 Docker 的一些基础用法。该教程包含了如何创建一个新的 Docker 容器,如何运行该容器,如何从现有的 Docker 容器中创建自己的 Docker 镜像等 Docker 的一些基础知识、操作。所有步骤均在 Ubuntu 18.04 LTS server 版本下测试通过。
+
+### 入门指南
+
+在开始指南之前,不要混淆 Docker 镜像和 Docker 容器这两个概念。在之前的教程中,我就解释过,Docker 镜像是决定 Docker 容器行为的一个文件,Docker 容器则是 Docker 镜像的运行态或停止态。(LCTT 译注:在 macOS 下使用 Docker 终端时,不需要加 `sudo`)
+
+#### 1、搜索 Docker 镜像
+
+我们可以从 Docker 仓库中获取镜像,例如 [Docker hub][3],或者自己创建镜像。这里解释一下,Docker hub 是一个云服务器,用来提供给 Docker 的用户们创建、测试,和保存他们的镜像。
+
+Docker hub 拥有成千上万个 Docker 镜像文件。你可以通过 `docker search`命令在这里搜索任何你想要的镜像。
+
+例如,搜索一个基于 Ubuntu 的镜像文件,只需要运行:
+
+```shell
+$ sudo docker search ubuntu
+```
+
+示例输出:
+
+![][5]
+
+搜索基于 CentOS 的镜像,运行:
+
+```shell
+$ sudo docker search centos
+```
+
+搜索 AWS 的镜像,运行:
+
+```shell
+$ sudo docker search aws
+```
+
+搜索 WordPress 的镜像:
+
+```shell
+$ sudo docker search wordpress
+```
+
+Docker hub 拥有几乎所有种类的镜像,包含操作系统、程序和其他任意的类型,这些你都能在 Docker hub 上找到已经构建完的镜像。如果你在搜索时,无法找到你想要的镜像文件,你也可以自己构建一个,将其发布出去,或者仅供你自己使用。
+
+#### 2、下载 Docker 镜像
+
+下载 Ubuntu 的镜像,你需要在终端运行以下命令:
+
+```shell
+$ sudo docker pull ubuntu
+```
+
+这条命令将会从 Docker hub 下载最近一个版本的 Ubuntu 镜像文件。
+
+示例输出:
+
+```
+Using default tag: latest
+latest: Pulling from library/ubuntu
+6abc03819f3e: Pull complete
+05731e63f211: Pull complete
+0bd67c50d6be: Pull complete
+Digest: sha256:f08638ec7ddc90065187e7eabdfac3c96e5ff0f6b2f1762cf31a4f49b53000a5
+Status: Downloaded newer image for ubuntu:latest
+```
+
+![下载 Docker 镜像][6]
+
+你也可以下载指定版本的 Ubuntu 镜像。运行以下命令:
+
+```shell
+$ docker pull ubuntu:18.04
+```
+
+Docker 允许在任意的宿主机操作系统下,下载任意的镜像文件,并运行。
+
+例如,下载 CentOS 镜像:
+
+```shell
+$ sudo docker pull centos
+```
+
+所有下载的镜像文件,都被保存在 `/var/lib/docker` 文件夹下。(LCTT 译注:不同操作系统存放的文件夹并不是一致的,具体存放位置请在官方查询)
+
+查看已经下载的镜像列表,可以使用以下命令:
+
+```shell
+$ sudo docker images
+```
+
+示例输出:
+
+```shell
+REPOSITORY TAG IMAGE ID CREATED SIZE
+ubuntu latest 7698f282e524 14 hours ago 69.9MB
+centos latest 9f38484d220f 2 months ago 202MB
+hello-world latest fce289e99eb9 4 months ago 1.84kB
+```
+
+正如你看到的那样,我已经下载了三个镜像文件:`ubuntu`、`centos` 和 `hello-world`。
+
+现在,让我们继续,来看一下如何运行我们刚刚下载的镜像。
+
+#### 3、运行 Docker 镜像
+
+运行一个容器有两种方法。我们可以使用标签或者是镜像 ID。标签指的是特定的镜像快照。镜像 ID 是指镜像的唯一标识。
+
+正如上面结果中显示,`latest` 是所有镜像的一个标签。`7698f282e524` 是 Ubuntu Docker 镜像的镜像 ID,`9f38484d220f`是 CentOS 镜像的镜像 ID,`fce289e99eb9` 是 hello_world 镜像的 镜像 ID。
+
+下载完 Docker 镜像之后,你可以通过下面的命令来使用其标签来启动:
+
+```shell
+$ sudo docker run -t -i ubuntu:latest /bin/bash
+```
+
+在这条语句中:
+
+* `-t`:在该容器中启动一个新的终端
+* `-i`:通过容器中的标准输入流建立交互式连接
+* `ubuntu:latest`:带有标签 `latest` 的 Ubuntu 容器
+* `/bin/bash`:在新的容器中启动 BASH Shell
+
+或者,你可以通过镜像 ID 来启动新的容器:
+
+```shell
+$ sudo docker run -t -i 7698f282e524 /bin/bash
+```
+
+在这条语句里:
+
+* `7698f282e524` — 镜像 ID
+
+在启动容器之后,将会自动进入容器的 shell 中(注意看命令行的提示符)。
+
+![][7]
+
+*Docker 容器的 Shell*
+
+如果想要退回到宿主机的终端(在这个例子中,对我来说,就是退回到 18.04 LTS),并且不中断该容器的执行,你可以按下 `CTRL+P`,再按下 `CTRL+Q`。现在,你就安全的返回到了你的宿主机系统中。需要注意的是,Docker 容器仍然在后台运行,我们并没有中断它。
+
+可以通过下面的命令来查看正在运行的容器:
+
+```shell
+$ sudo docker ps
+```
+
+示例输出:
+
+```shell
+CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
+32fc32ad0d54 ubuntu:latest "/bin/bash" 7 minutes ago Up 7 minutes modest_jones
+```
+
+![][8]
+
+*列出正在运行的容器*
+
+可以看到:
+
+* `32fc32ad0d54` – 容器 ID
+* `ubuntu:latest` – Docker 镜像
+
+需要注意的是,容器 ID 和 Docker 的镜像 ID是不同的。
+
+可以通过以下命令查看所有正在运行和停止运行的容器:
+
+```shell
+$ sudo docker ps -a
+```
+
+在宿主机中断容器的执行:
+
+```shell
+$ sudo docker stop
+```
+
+例如:
+
+```shell
+$ sudo docker stop 32fc32ad0d54
+```
+
+如果想要进入正在运行的容器中,你只需要运行:
+
+```shell
+$ sudo docker attach 32fc32ad0d54
+```
+
+正如你看到的,`32fc32ad0d54` 是一个容器的 ID。当你在容器中想要退出时,只需要在容器内的终端中输入命令:
+
+```shell
+# exit
+```
+
+你可以使用这个命令查看后台正在运行的容器:
+
+```shell
+$ sudo docker ps
+```
+
+#### 4、构建自己的 Docker 镜像
+
+Docker 不仅仅可以下载运行在线的容器,你也可以创建你的自己的容器。
+
+想要创建自己的 Docker 镜像,你需要先运行一个你已经下载完的容器:
+
+```shell
+$ sudo docker run -t -i ubuntu:latest /bin/bash
+```
+
+现在,你运行了一个容器,并且进入了该容器。然后,在该容器安装任意一个软件或做任何你想做的事情。
+
+例如,我们在容器中安装一个 Apache web 服务器。
+
+当你完成所有的操作,安装完所有的软件之后,你可以执行以下的命令来构建你自己的 Docker 镜像:
+
+```shell
+# apt update
+# apt install apache2
+```
+
+同样的,在容器中安装和测试你想要安装的所有软件。
+
+当你安装完毕之后,返回的宿主机的终端。记住,不要关闭容器。想要返回到宿主机而不中断容器。请按下`CTRL+P`,再按下 `CTRL+Q`。
+
+从你的宿主机的终端中,运行以下命令如寻找容器的 ID:
+
+```shell
+$ sudo docker ps
+```
+
+最后,从一个正在运行的容器中创建 Docker 镜像:
+
+```shell
+$ sudo docker commit 3d24b3de0bfc ostechnix/ubuntu_apache
+```
+
+示例输出:
+
+```shell
+sha256:ce5aa74a48f1e01ea312165887d30691a59caa0d99a2a4aa5116ae124f02f962
+```
+
+在这里:
+
+* `3d24b3de0bfc` — 指 Ubuntu 容器的 ID。
+* `ostechnix` — 我们创建的容器的用户名称
+* `ubuntu_apache` — 我们创建的镜像
+
+让我们检查一下我们新创建的 Docker 镜像:
+
+```shell
+$ sudo docker images
+```
+
+示例输出:
+
+```shell
+REPOSITORY TAG IMAGE ID CREATED SIZE
+ostechnix/ubuntu_apache latest ce5aa74a48f1 About a minute ago 191MB
+ubuntu latest 7698f282e524 15 hours ago 69.9MB
+centos latest 9f38484d220f 2 months ago 202MB
+hello-world latest fce289e99eb9 4 months ago 1.84kB
+```
+
+![][9]
+
+*列出所有的 Docker 镜像*
+
+正如你看到的,这个新的镜像就是我们刚刚在本地系统上从运行的容器上创建的。
+
+现在,你可以从这个镜像创建一个新的容器。
+
+```shell
+$ sudo docker run -t -i ostechnix/ubuntu_apache /bin/bash
+```
+
+#### 5、删除容器
+
+如果你在 Docker 上的工作已经全部完成,你就可以删除那些你不需要的容器。
+
+想要删除一个容器,首先,你需要停止该容器。
+
+我们先来看一下正在运行的容器有哪些
+
+```shell
+$ sudo docker ps
+```
+
+示例输出:
+
+```shell
+CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
+3d24b3de0bfc ubuntu:latest "/bin/bash" 28 minutes ago Up 28 minutes goofy_easley
+```
+
+使用容器 ID 来停止该容器:
+
+```shell
+$ sudo docker stop 3d24b3de0bfc
+```
+
+现在,就可以删除该容器了。
+
+```shell
+$ sudo docker rm 3d24b3de0bfc
+```
+
+你就可以按照这样的方法来删除那些你不需要的容器了。
+
+当需要删除的容器数量很多时,一个一个删除也是很麻烦的,我们可以直接删除所有的已经停止的容器。只需要运行:
+
+```shell
+$ sudo docker container prune
+```
+
+按下 `Y`,来确认你的操作:
+
+```sehll
+WARNING! This will remove all stopped containers.
+Are you sure you want to continue? [y/N] y
+Deleted Containers:
+32fc32ad0d5445f2dfd0d46121251c7b5a2aea06bb22588fb2594ddbe46e6564
+5ec614e0302061469ece212f0dba303c8fe99889389749e6220fe891997f38d0
+
+Total reclaimed space: 5B
+```
+
+这个命令仅支持最新的 Docker。(LCTT 译注:仅支持 1.25 及以上版本的 Docker)
+
+#### 6、删除 Docker 镜像
+
+当你删除了不要的 Docker 容器后,你也可以删除你不需要的 Docker 镜像。
+
+列出已经下载的镜像:
+
+```shell
+$ sudo docker images
+```
+
+示例输出:
+
+```shell
+REPOSITORY TAG IMAGE ID CREATED SIZE
+ostechnix/ubuntu_apache latest ce5aa74a48f1 5 minutes ago 191MB
+ubuntu latest 7698f282e524 15 hours ago 69.9MB
+centos latest 9f38484d220f 2 months ago 202MB
+hello-world latest fce289e99eb9 4 months ago 1.84kB
+```
+
+由上面的命令可以知道,在本地的系统中存在三个镜像。
+
+使用镜像 ID 来删除镜像。
+
+```shell
+$ sudo docekr rmi ce5aa74a48f1
+```
+
+示例输出:
+
+```shell
+Untagged: ostechnix/ubuntu_apache:latest
+Deleted: sha256:ce5aa74a48f1e01ea312165887d30691a59caa0d99a2a4aa5116ae124f02f962
+Deleted: sha256:d21c926f11a64b811dc75391bbe0191b50b8fe142419f7616b3cee70229f14cd
+```
+
+#### 解决问题
+
+Docker 禁止我们删除一个还在被容器使用的镜像。
+
+例如,当我试图删除 Docker 镜像 `b72889fa879c` 时,我只能获得一个错误提示:
+
+```shell
+Error response from daemon: conflict: unable to delete b72889fa879c (must be forced) - image is being used by stopped container dde4dd285377
+```
+
+这是因为这个 Docker 镜像正在被一个容器使用。
+
+所以,我们来检查一个正在运行的容器:
+
+```shell
+$ sudo docker ps
+```
+
+示例输出:
+
+![][10]
+
+注意,现在并没有正在运行的容器!!!
+
+查看一下所有的容器(包含所有的正在运行和已经停止的容器):
+
+```shell
+$ sudo docker pa -a
+```
+
+示例输出:
+
+![][11]
+
+可以看到,仍然有一些已经停止的容器在使用这些镜像。
+
+让我们把这些容器删除:
+
+```shell
+$ sudo docker rm 12e892156219
+```
+
+我们仍然使用容器 ID 来删除这些容器。
+
+当我们删除了所有使用该镜像的容器之后,我们就可以删除 Docker 的镜像了。
+
+例如:
+
+```shell
+$ sudo docekr rmi b72889fa879c
+```
+
+我们再来检查一下本机存在的镜像:
+
+```shell
+$ sudo docker images
+```
+
+想要知道更多的细节,请参阅本指南末尾给出的官方资源的链接或者在评论区进行留言。
+
+这就是全部的教程了,希望你可以了解 Docker 的一些基础用法。
+
+更多的教程马上就会到来,敬请关注。
+
+---
+
+via: https://www.ostechnix.com/getting-started-with-docker/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[zhang5788](https://github.com/zhang5788)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2016/04/docker-basics-720x340.png
+[2]: http://www.ostechnix.com/install-docker-ubuntu/
+[3]: https://www.ostechnix.com/install-docker-centos/
+[4]: https://hub.docker.com/
+[5]: http://www.ostechnix.com/wp-content/uploads/2016/04/Search-Docker-images.png
+[6]: http://www.ostechnix.com/wp-content/uploads/2016/04/Download-docker-images.png
+[7]: http://www.ostechnix.com/wp-content/uploads/2016/04/Docker-containers-shell.png
+[8]: http://www.ostechnix.com/wp-content/uploads/2016/04/List-running-containers.png
+[9]: http://www.ostechnix.com/wp-content/uploads/2016/04/List-docker-images.png
+[10]: http://www.ostechnix.com/wp-content/uploads/2016/04/sk@sk-_005-1-1.jpg
+[11]: http://www.ostechnix.com/wp-content/uploads/2016/04/sk@sk-_006-1.jpg
+[12]: https://ostechnix.tradepub.com/free/w_java39/prgm.cgi?a=1
+[13]: https://ostechnix.tradepub.com/free/w_pacb32/prgm.cgi?a=1
+[14]: https://ostechnix.tradepub.com/free/w_pacb31/prgm.cgi?a=1
+[15]: https://ostechnix.tradepub.com/free/w_pacb29/prgm.cgi?a=1
+[16]: https://ostechnix.tradepub.com/free/w_pacb28/prgm.cgi?a=1
diff --git a/published/20190520 When IoT systems fail- The risk of having bad IoT data.md b/published/20190520 When IoT systems fail- The risk of having bad IoT data.md
new file mode 100644
index 0000000000..6d8ee2c96a
--- /dev/null
+++ b/published/20190520 When IoT systems fail- The risk of having bad IoT data.md
@@ -0,0 +1,75 @@
+[#]: collector: (lujun9972)
+[#]: translator: (chen-ni)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10961-1.html)
+[#]: subject: (When IoT systems fail: The risk of having bad IoT data)
+[#]: via: (https://www.networkworld.com/article/3396230/when-iot-systems-fail-the-risk-of-having-bad-iot-data.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+当物联网系统出现故障:使用低质量物联网数据的风险
+======
+
+> 伴随着物联网设备使用量的增长,这些设备产生的数据可以让消费者节约巨大的开支,也给商家带来新的机遇。但是当故障不可避免地出现的时候,会发生什么呢?
+
+![Oonal / Getty Images][1]
+
+不管你看的是什么统计数字,很明显物联网正在走进个人和私人生活的方方面面。这种增长虽然有不少好处,但是也带来了新的风险。一个很重要的问题是,出现问题的时候谁来负责呢?
+
+也许最大的问题出在基于物联网数据进行的个性化营销以及定价策略上。[保险公司长期以来致力于寻找利用物联网数据的最佳方式][2],我去年写过家庭财产保险公司是如何开始利用物联网传感器减少水灾带来的损失的。一些公司正在研究保险公司竞购消费者的可能性:这种业务基于智能家居数据所揭示的风险的高低。
+
+但是最大的进步出现在汽车保险领域。许多汽车保险公司已经可以让客户在车辆上安装追踪设备,如果数据证明他们的驾驶习惯良好就可以获取保险折扣。
+
+- 延伸阅读:[保险公司终于有了一个利用智能家居物联网的好办法][3]
+
+### UBI 车险的崛起
+
+UBI(基于使用的保险)车险是一种“按需付费”的业务,可以通过追踪速度、位置,以及其他因素来评估风险并计算车险保费。到 2020 年,预计有 [5000 万美国司机][4]会加入到 UBI 车险的项目中。
+
+不出所料,保险公司对 UBI 车险青睐有加,因为 UBI 车险可以帮助他们更加精确地计算风险。事实上,[AIG 爱尔兰已经在尝试让国家向 25 岁以下的司机强制推行 UBI 车险][5]。并且,被认定为驾驶习惯良好的司机自然也很乐意节省一笔费用。当然也有反对的声音了,大多数是来自于隐私权倡导者,以及会因此支付更多费用的群体。
+
+### 出了故障会发生什么?
+
+但是还有一个更加令人担忧的潜在问题:当物联网设备提供的数据有错误,或者在传输过程中出了问题会发生什么?因为尽管有自动化程序、错误检查等等,还是不可避免地会偶尔发生一些故障。
+
+不幸的是,这并不是一个理论上某天会给细心的司机不小心多扣几块钱保费的问题。这已经是一个会带来严重后果的现实问题。就像[保险行业仍然没有想清楚谁应该“拥有”面向客户的物联网设备产生的数据][6]一样,我们也不清楚谁将对这些数据所带来的问题负责。
+
+计算机“故障”据说曾导致赫兹的出租车辆被误报为被盗(虽然在这个例子中这并不是一个严格意义上的物联网问题),并且导致无辜的租车人被逮捕并扣留。结果呢?刑事指控,多年的诉讼官司,以及舆论的指责。非常强烈的舆论指责。
+
+我们非常容易想象一些类似的情况,比如说一个物联网传感器出了故障,然后报告说某辆车超速了,然而事实上并没有超速。想想为这件事打官司的麻烦吧,或者想想和你的保险公司如何争执不下。
+
+(当然,这个问题还有另外一面:消费者可能会想办法篡改他们的物联网设备上的数据,以获得更低的费率或者转移事故责任。我们同样也没有可行的办法来应对*这个问题*。)
+
+### 政府监管是否有必要
+
+考虑到这些问题的潜在影响,以及所涉及公司对处理这些问题的无动于衷,我们似乎有理由猜想政府干预的必要性。
+
+这可能是美国众议员 Bob Latta(俄亥俄州,共和党)[重新引入 SMART IOT(物联网现代应用、研究及趋势的现状)法案][7]背后的一个动机。这项由 Latta 和美国众议员 Peter Welch(佛蒙特州,民主党)领导的两党合作物联网工作组提出的[法案][8],于去年秋天通过美国众议院,但被美国参议院驳回了。美国商务部需要研究物联网行业的状况,并在两年后向美国众议院能源与商业部和美国参议院商务委员会报告。
+
+Latta 在一份声明中表示,“由于预计会有数万亿美元的经济影响,我们需要考虑物联网所带来的的政策,机遇和挑战。SMART IoT 法案会让人们更容易理解美国政府在物联网政策上的做法、可以改进的地方,以及美国联邦政策如何影响尖端技术的研究和发明。”
+
+这项研究受到了欢迎,但该法案甚至可能不会被通过。即便通过了,物联网在两年的等待时间里也可能会翻天覆地,让美国政府还是无法跟上。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396230/when-iot-systems-fail-the-risk-of-having-bad-iot-data.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[chen-ni](https://github.com/chen-ni)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/08/cloud_connected_smart_cars_by_oonal_gettyimages-692819426_1200x800-100767788-large.jpg
+[2]: https://www.networkworld.com/article/3264655/most-insurance-carriers-not-ready-to-use-iot-data.html
+[3]: https://www.networkworld.com/article/3296706/finally-a-smart-way-for-insurers-to-leverage-iot-in-smart-homes.html
+[4]: https://www.businessinsider.com/iot-is-changing-the-auto-insurance-industry-2015-8
+[5]: https://www.iotforall.com/iot-data-is-disrupting-the-insurance-industry/
+[6]: https://www.sas.com/en_us/insights/articles/big-data/5-challenges-for-iot-in-insurance-industry.html
+[7]: https://www.multichannel.com/news/latta-re-ups-smart-iot-act
+[8]: https://latta.house.gov/uploadedfiles/smart_iot_116th.pdf
+[9]: https://www.facebook.com/NetworkWorld/
+[10]: https://www.linkedin.com/company/network-world
diff --git a/published/20190520 Zettlr - Markdown Editor for Writers and Researchers.md b/published/20190520 Zettlr - Markdown Editor for Writers and Researchers.md
new file mode 100644
index 0000000000..487c0f0fe3
--- /dev/null
+++ b/published/20190520 Zettlr - Markdown Editor for Writers and Researchers.md
@@ -0,0 +1,109 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10922-1.html)
+[#]: subject: (Zettlr – Markdown Editor for Writers and Researchers)
+[#]: via: (https://itsfoss.com/zettlr-markdown-editor/)
+[#]: author: (John Paul https://itsfoss.com/author/john/)
+
+Zettlr:适合写作者和研究人员的 Markdown 编辑器
+======
+
+有很多[适用于 Linux 的 Markdown 编辑器][1],并且还在继续增加。问题是,像 [Boostnote][2] 一样,大多数是为编码人员设计的,可能不会受到非技术人员的欢迎。让我们看一个想要替代 Word 和昂贵的文字处理器,适用于非技术人员的 Markdown 编辑器。我们来看看 Zettlr 吧。
+
+### Zettlr Markdown 编辑器
+
+![Zettlr Light Mode][3]
+
+我可能在网站上提到过一两次,我更喜欢用 [Markdown][4] 写下我的所有文档。它易于学习,不会让你受困于专有文档格式。我还在我的[适合作者的开源工具列表][5]中提到了 Markdown 编辑器。
+
+我用过许多 Markdown 编辑器,但是我一直有兴趣尝试新的。最近,我遇到了 Zettlr,一个开源 Markdown 编辑器。
+
+[Zettlr][6] 是一位名叫 [Hendrik Erz][7] 的德国社会学家/政治理论家创建的。Hendrik 创建了 Zettlr,因为他对目前的文字处理器感到不满意。他想要可以让他“专注于写作和阅读”的编辑器。
+
+在发现 Markdown 之后,他在不同的操作系统上尝试了几个 Markdown 编辑器。但它们都没有他想要的东西。[根据 Hendrik 的说法][8],“但我不得不意识到没有为高效组织大量文本而写的编辑器。大多数编辑都是由编码人员编写的,因此可以满足工程师和数学家的需求。没有为我这样的社会科学、历史或政治学的学生的编辑器。“
+
+所以他决定创造自己的。2017 年 11 月,他开始编写 Zettlr。
+
+![Zettlr About][9]
+
+#### Zettlr 功能
+
+Zettlr 有许多简洁的功能,包括:
+
+ * 从 [Zotero 数据库][10]导入源并在文档中引用它们
+ * 使用可选的行屏蔽,让你无打扰地专注于写作
+ * 支持代码高亮
+ * 使用标签对信息进行排序
+ * 能够为该任务设定写作目标
+ * 查看一段时间的写作统计
+ * 番茄钟计时器
+ * 浅色/深色主题
+ * 使用 [reveal.js][11] 创建演示文稿
+ * 快速预览文档
+ * 可以在一个项目文件夹中搜索 Markdown 文档,并用热图展示文字搜索密度。
+ * 将文件导出为 HTML、PDF、ODT、DOC、reStructuredText、LaTex、TXT、Emacs ORG、[TextBundle][12] 和 Textpack
+ * 将自定义 CSS 添加到你的文档
+
+当我写这篇文章时,一个对话框弹出来告诉我最近发布了 [1.3.0 beta][14]。此测试版将包括几个新的主题,以及一大堆修复,新功能和改进。
+
+![Zettlr Night Mode][15]
+
+#### 安装 Zettlr
+
+目前,唯一可安装 Zettlr 的 Linux 存储库是 [AUR][16]。如果你的 Linux 发行版不是基于 Arch 的,你可以从网站上下载 macOS、Windows、Debian 和 Fedora 的[安装程序][17]。
+
+#### 对 Zettlr 的最后一点想法
+
+注意:为了测试 Zettlr,我用它来写这篇文章。
+
+Zettlr 有许多我希望我之前选择的编辑器 (ghostwriter) 有的简洁的功能,例如为文档设置字数目标。我也喜欢在不打开文档的情况下预览文档的功能。
+
+![Zettlr Settings][18]
+
+我也遇到了几个问题,但这些更多的是因为 Zettlr 与 ghostwriter 的工作方式略有不同。例如,当我尝试从网站复制引用或名称时,它会将内嵌样式粘贴到 Zettlr 中。幸运的是,它有一个“不带样式粘贴”的选项。有几次我在打字时有轻微的延迟。但那可能是因为它是一个 Electron 程序。
+
+总的来说,我认为 Zettlr 是第一次使用 Markdown 用户的好选择。它有许多 Markdown 编辑器已有的功能,并为那些只使用过文字处理器的用户增加了一些功能。
+
+正如 Hendrik 在 [Zettlr 网站][8]中所说的那样,“让自己摆脱文字处理器的束缚,看看你的写作过程如何通过身边的技术得到改善!”
+
+如果你觉得 Zettlr 有用,请考虑支持 [Hendrik][19]。正如他在网站上所说,“它是免费的,因为我不相信激烈竞争、早逝的创业文化。我只是想帮忙。”
+
+你有没有用过 Zettlr?你最喜欢的 Markdown 编辑器是什么?请在下面的评论中告诉我们。
+
+如果你觉得这篇文章有趣,请在社交媒体,Hacker News 或 [Reddit][21] 上分享它。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/zettlr-markdown-editor/
+
+作者:[John Paul][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/john/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/best-markdown-editors-linux/
+[2]: https://itsfoss.com/boostnote-linux-review/
+[3]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/Zettlr-light-mode.png?fit=800%2C462&ssl=1
+[4]: https://daringfireball.net/projects/markdown/
+[5]: https://itsfoss.com/open-source-tools-writers/
+[6]: https://www.zettlr.com/
+[7]: https://github.com/nathanlesage
+[8]: https://www.zettlr.com/about
+[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/zettlr-about.png?fit=800%2C528&ssl=1
+[10]: https://www.zotero.org/
+[11]: https://revealjs.com/#/
+[12]: http://textbundle.org/
+[13]: https://itsfoss.com/great-little-book-shelf-review/
+[14]: https://github.com/Zettlr/Zettlr/releases/tag/v1.3.0-beta
+[15]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/Zettlr-night-mode.png?fit=800%2C469&ssl=1
+[16]: https://aur.archlinux.org/packages/zettlr-bin/
+[17]: https://www.zettlr.com/download
+[18]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/zettlr-settings.png?fit=800%2C353&ssl=1
+[19]: https://www.zettlr.com/supporters
+[21]: http://reddit.com/r/linuxusersgroup
diff --git a/published/20190522 French IT giant Atos enters the edge-computing business.md b/published/20190522 French IT giant Atos enters the edge-computing business.md
new file mode 100644
index 0000000000..1be6353555
--- /dev/null
+++ b/published/20190522 French IT giant Atos enters the edge-computing business.md
@@ -0,0 +1,62 @@
+[#]: collector: (lujun9972)
+[#]: translator: (chen-ni)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10934-1.html)
+[#]: subject: (French IT giant Atos enters the edge-computing business)
+[#]: via: (https://www.networkworld.com/article/3397139/atos-is-the-latest-to-enter-the-edge-computing-business.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+法国 IT 巨头 Atos 进军边缘计算
+======
+
+> Atos 另辟蹊径,通过一种只有行李箱大小的设备 BullSequana Edge 进军边缘计算。
+
+![iStock][1]
+
+法国 IT 巨头 Atos 是最近才开展边缘计算业务的,他们的产品是一个叫做 BullSequana Edge 的小型设备。和竞争对手们的集装箱大小的设备不同(比如说 Vapor IO 和 Schneider Electronics 的产品),Atos 的边缘设备完全可以被放进衣柜里。
+
+Atos 表示,他们的这个设备使用人工智能应用提供快速响应,适合需要快速响应的领域比如生产 4.0、自动驾驶汽车、健康管理,以及零售业和机场的安保系统。在这些领域,数据需要在边缘进行实时处理和分析。
+
+[延伸阅读:[什么是边缘计算?][2] 以及 [边缘网络和物联网如何重新定义数据中心][3]]
+
+BullSequana Edge 可以作为独立的基础设施单独采购,也可以和 Atos 的边缘软件捆绑采购,并且这个软件还是非常出色的。Atos 表示 BullSequana Edge 主要支持三种使用场景:
+
+ * AI(人工智能):Atos 的边缘计算机视觉软件为监控摄像头提供先进的特征抽取和分析技术,包括人像、人脸、行为等特征。这些分析可以支持系统做出自动化响应。
+ * 大数据:Atos 边缘数据分析系统通过预测性和规范性的解决方案,帮助机构优化商业模型。它使用数据湖的功能,确保数据的可信度和可用性。
+ * 容器:Atos 边缘数据容器(EDC)是一种一体化容器解决方案。它可以作为一个去中心化的 IT 系统在边缘运行,并且可以在没有数据中心的环境下自动运行,而不需要现场操作。
+
+由于体积小,BullSequana Edge 并不具备很强的处理能力。它装载一个 16 核的 Intel Xeon 中央处理器,可以装备最多两枚英伟达 Tesla T4 图形处理器或者是 FPGA(现场可编程门阵列)。Atos 表示,这就足够让复杂的 AI 模型在边缘进行低延迟的运行了。
+
+考虑到数据的敏感性,BullSequana Edge 同时装备了一个入侵感应器,用来在遭遇物理入侵的时候禁用机器。
+
+虽然大多数边缘设备都被安放在信号塔附近,但是考虑到边缘系统可能被安放在任何地方,BullSequana Edge 还支持通过无线电、全球移动通信系统(GSM),或者 Wi-Fi 来进行通信。
+
+Atos 在美国也许不是一个家喻户晓的名字,但是在欧洲它可以和 IBM 相提并论,并且在过去的十年里已经收购了诸如 Bull SA、施乐 IT 外包以及西门子 IT 等 IT 巨头们。
+
+关于边缘网络的延伸阅读:
+
+ * [边缘网络和物联网如何重新定义数据中心][3]
+ * [边缘计算的最佳实践][4]
+ * [边缘计算如何提升物联网安全][5]
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397139/atos-is-the-latest-to-enter-the-edge-computing-business.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[chen-ni](https://github.com/chen-ni)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/01/huawei-18501-edge-gartner-100786331-large.jpg
+[2]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[3]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[4]: https://www.networkworld.com/article/3331978/lan-wan/edge-computing-best-practices.html
+[5]: https://www.networkworld.com/article/3331905/internet-of-things/how-edge-computing-can-help-secure-the-iot.html
+[6]: https://www.facebook.com/NetworkWorld/
+[7]: https://www.linkedin.com/company/network-world
diff --git a/published/20190522 Securing telnet connections with stunnel.md b/published/20190522 Securing telnet connections with stunnel.md
new file mode 100644
index 0000000000..644d288c41
--- /dev/null
+++ b/published/20190522 Securing telnet connections with stunnel.md
@@ -0,0 +1,201 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10945-1.html)
+[#]: subject: (Securing telnet connections with stunnel)
+[#]: via: (https://fedoramagazine.org/securing-telnet-connections-with-stunnel/)
+[#]: author: (Curt Warfield https://fedoramagazine.org/author/rcurtiswarfield/)
+
+使用 stunnel 保护 telnet 连接
+======
+
+![][1]
+
+Telnet 是一种客户端-服务端协议,通过 TCP 的 23 端口连接到远程服务器。Telnet 并不加密数据,因此它被认为是不安全的,因为数据是以明文形式发送的,所以密码很容易被嗅探。但是,仍有老旧系统需要使用它。这就是用到 **stunnel** 的地方。
+
+stunnel 旨在为使用不安全连接协议的程序增加 SSL 加密。本文将以 telnet 为例介绍如何使用它。
+
+### 服务端安装
+
+[使用 sudo][2] 安装 stunnel 以及 telnet 的服务端和客户端:
+
+```
+sudo dnf -y install stunnel telnet-server telnet
+```
+
+添加防火墙规则,在提示时输入你的密码:
+
+```
+firewall-cmd --add-service=telnet --perm
+firewall-cmd --reload
+```
+
+接下来,生成 RSA 私钥和 SSL 证书:
+
+```
+openssl genrsa 2048 > stunnel.key
+openssl req -new -key stunnel.key -x509 -days 90 -out stunnel.crt
+```
+
+系统将一次提示你输入以下信息。当询问 `Common Name` 时,你必须输入正确的主机名或 IP 地址,但是你可以按回车键跳过其他所有内容。
+
+```
+You are about to be asked to enter information that will be
+incorporated into your certificate request.
+What you are about to enter is what is called a Distinguished Name or a DN.
+There are quite a few fields but you can leave some blank
+For some fields there will be a default value,
+If you enter '.', the field will be left blank.
+-----
+Country Name (2 letter code) [XX]:
+State or Province Name (full name) []:
+Locality Name (eg, city) [Default City]:
+Organization Name (eg, company) [Default Company Ltd]:
+Organizational Unit Name (eg, section) []:
+Common Name (eg, your name or your server's hostname) []:
+Email Address []
+```
+
+将 RSA 密钥和 SSL 证书合并到单个 `.pem` 文件中,并将其复制到 SSL 证书目录:
+
+```
+cat stunnel.crt stunnel.key > stunnel.pem
+sudo cp stunnel.pem /etc/pki/tls/certs/
+```
+
+现在可以定义服务和用于加密连接的端口了。选择尚未使用的端口。此例使用 450 端口进行隧道传输 telnet。编辑或创建 `/etc/stunnel/telnet.conf`:
+
+```
+cert = /etc/pki/tls/certs/stunnel.pem
+sslVersion = TLSv1
+chroot = /var/run/stunnel
+setuid = nobody
+setgid = nobody
+pid = /stunnel.pid
+socket = l:TCP_NODELAY=1
+socket = r:TCP_NODELAY=1
+[telnet]
+accept = 450
+connect = 23
+```
+
+`accept` 选项是服务器将监听传入 telnet 请求的接口。`connect` 选项是 telnet 服务器的内部监听接口。
+
+接下来,创建一个 systemd 单元文件的副本来覆盖原来的版本:
+
+```
+sudo cp /usr/lib/systemd/system/stunnel.service /etc/systemd/system
+```
+
+编辑 `/etc/systemd/system/stunnel.service` 来添加两行。这些行在启动时为服务创建 chroot 监狱。
+
+```
+[Unit]
+Description=TLS tunnel for network daemons
+After=syslog.target network.target
+
+[Service]
+ExecStart=/usr/bin/stunnel
+Type=forking
+PrivateTmp=true
+ExecStartPre=-/usr/bin/mkdir /var/run/stunnel
+ExecStartPre=/usr/bin/chown -R nobody:nobody /var/run/stunnel
+
+[Install]
+WantedBy=multi-user.target
+```
+
+接下来,配置 SELinux 以在你刚刚指定的新端口上监听 telnet:
+
+```
+sudo semanage port -a -t telnetd_port_t -p tcp 450
+```
+
+最后,添加新的防火墙规则:
+
+```
+firewall-cmd --add-port=450/tcp --perm
+firewall-cmd --reload
+```
+
+现在你可以启用并启动 telnet 和 stunnel。
+
+```
+systemctl enable telnet.socket stunnel@telnet.service --now
+```
+
+要注意 `systemctl` 命令是有顺序的。systemd 和 stunnel 包默认提供额外的[模板单元文件][3]。该模板允许你将 stunnel 的多个配置文件放到 `/etc/stunnel` 中,并使用文件名启动该服务。例如,如果你有一个 `foobar.conf` 文件,那么可以使用 `systemctl start stunnel@foobar.service` 启动该 stunnel 实例,而无需自己编写任何单元文件。
+
+如果需要,可以将此 stunnel 模板服务设置为在启动时启动:
+
+```
+systemctl enable stunnel@telnet.service
+```
+
+### 客户端安装
+
+本文的这部分假设你在客户端系统上以普通用户([拥有 sudo 权限][2])身份登录。安装 stunnel 和 telnet 客户端:
+
+```
+dnf -y install stunnel telnet
+```
+
+将 `stunnel.pem` 从远程服务器复制到客户端的 `/etc/pki/tls/certs` 目录。在此例中,远程 telnet 服务器的 IP 地址为 `192.168.1.143`。
+
+```
+sudo scp myuser@192.168.1.143:/etc/pki/tls/certs/stunnel.pem
+/etc/pki/tls/certs/
+```
+
+创建 `/etc/stunnel/telnet.conf`:
+
+```
+cert = /etc/pki/tls/certs/stunnel.pem
+client=yes
+[telnet]
+accept=450
+connect=192.168.1.143:450
+```
+
+`accept` 选项是用于 telnet 会话的端口。`connect` 选项是你远程服务器的 IP 地址以及监听的端口。
+
+接下来,启用并启动 stunnel:
+
+```
+systemctl enable stunnel@telnet.service --now
+```
+
+测试你的连接。由于有一条已建立的连接,你会 `telnet` 到 `localhost` 而不是远程 telnet 服务器的主机名或者 IP 地址。
+
+```
+[user@client ~]$ telnet localhost 450
+Trying ::1...
+telnet: connect to address ::1: Connection refused
+Trying 127.0.0.1...
+Connected to localhost.
+Escape character is '^]'.
+
+Kernel 5.0.9-301.fc30.x86_64 on an x86_64 (0)
+server login: myuser
+Password: XXXXXXX
+Last login: Sun May 5 14:28:22 from localhost
+[myuser@server ~]$
+```
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/securing-telnet-connections-with-stunnel/
+
+作者:[Curt Warfield][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/rcurtiswarfield/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/05/stunnel-816x345.jpg
+[2]: https://fedoramagazine.org/howto-use-sudo/
+[3]: https://fedoramagazine.org/systemd-template-unit-files/
diff --git a/published/20190525 4 Ways to Run Linux Commands in Windows.md b/published/20190525 4 Ways to Run Linux Commands in Windows.md
new file mode 100644
index 0000000000..88944d79af
--- /dev/null
+++ b/published/20190525 4 Ways to Run Linux Commands in Windows.md
@@ -0,0 +1,119 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10935-1.html)
+[#]: subject: (4 Ways to Run Linux Commands in Windows)
+[#]: via: (https://itsfoss.com/run-linux-commands-in-windows/)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+在 Windows 中运行 Linux 命令的 4 种方法
+======
+
+> 想要使用 Linux 命令,但又不想离开 Windows ?以下是在 Windows 中运行 Linux bash 命令的几种方法。
+
+如果你正在课程中正在学习 shell 脚本,那么需要使用 Linux 命令来练习命令和脚本。
+
+你的学校实验室可能安装了 Linux,但是你自己没有安装了 [Linux 的笔记本电脑][1],而是像其他人一样的 Windows 计算机。你的作业需要运行 Linux 命令,你或许想知道如何在 Windows 上运行 Bash 命令和脚本。
+
+你可以[在双启动模式下同时安装 Windows 和 Linux][2]。此方法能让你在启动计算机时选择 Linux 或 Windows。但是,为了运行 Linux 命令而使用单独分区的麻烦可能不适合所有人。
+
+你也可以[使用在线 Linux 终端][3],但你的作业无法保存。
+
+好消息是,有几种方法可以在 Windows 中运行 Linux 命令,就像其他常规应用一样。不是很酷吗?
+
+### 在 Windows 中使用 Linux 命令
+
+
+
+作为一个热心的 Linux 用户和推广者,我希望看到越来越多的人使用“真正的” Linux,但我知道有时候,这不是优先考虑的问题。如果你只是想练习 Linux 来通过考试,可以使用这些方法之一在 Windows 上运行 Bash 命令。
+
+#### 1、在 Windows 10 上使用 Linux Bash Shell
+
+你是否知道可以在 Windows 10 中运行 Linux 发行版? [Windows 的 Linux 子系统 (WSL)][5] 能让你在 Windows 中运行 Linux。即将推出的 WSL 版本将在 Windows 内部使用真正 Linux 内核。
+
+此 WSL 也称为 Bash on Windows,它作为一个常规的 Windows 应用运行,并提供了一个命令行模式的 Linux 发行版。不要害怕命令行模式,因为你的目的是运行 Linux 命令。这就是你所需要的。
+
+![Ubuntu Linux inside Windows][6]
+
+你可以在 Windows 应用商店中找到一些流行的 Linux 发行版,如 Ubuntu、Kali Linux、openSUSE 等。你只需像任何其他 Windows 应用一样下载和安装它。安装后,你可以运行所需的所有 Linux 命令。
+
+![Linux distributions in Windows 10 Store][8]
+
+请参考教程:[在 Windows 上安装 Linux bash shell][9]。
+
+#### 2、使用 Git Bash 在 Windows 上运行 Bash 命令
+
+你可能知道 [Git][10] 是什么。它是由 [Linux 创建者 Linus Torvalds][11] 开发的版本控制系统。
+
+[Git for Windows][12] 是一组工具,能让你在命令行和图形界面中使用 Git。Git for Windows 中包含的工具之一是 Git Bash。
+
+Git Bash 为 Git 命令行提供了仿真层。除了 Git 命令,Git Bash 还支持许多 Bash 程序,如 `ssh`、`scp`、`cat`、`find` 等。
+
+![Git Bash][13]
+
+换句话说,你可以使用 Git Bash 运行许多常见的 Linux/Bash 命令。
+
+你可以从其网站免费下载和安装 Git for Windows 工具来在 Windows 中安装 Git Bash。
+
+- [下载 Git for Windows][12]
+
+#### 3、使用 Cygwin 在 Windows 中使用 Linux 命令
+
+如果要在 Windows 中运行 Linux 命令,那么 Cygwin 是一个推荐的工具。Cygwin 创建于 1995 年,旨在提供一个原生运行于 Windows 中的 POSIX 兼容环境。Cygwin 是由 Red Hat 员工和许多其他志愿者维护的自由开源软件。
+
+二十年来,Windows 用户使用 Cygwin 来运行和练习 Linux/Bash 命令。十多年前,我甚至用 Cygwin 来学习 Linux 命令。
+
+![Cygwin][14]
+
+你可以从下面的官方网站下载 Cygwin。我还建议你参考这个 [Cygwin 备忘录][15]来开始使用。
+
+- [下载 Cygwin][16]
+
+#### 4、在虚拟机中使用 Linux
+
+另一种方法是使用虚拟化软件并在其中安装 Linux。这样,你可以在 Windows 中安装 Linux 发行版(带有图形界面)并像常规 Windows 应用一样运行它。
+
+这种方法要求你的系统有大的内存,至少 4GB ,但如果你有超过 8GB 的内存那么更好。这里的好处是你可以真实地使用桌面 Linux。如果你喜欢这个界面,那么你可能会在以后决定[切换到 Linux][17]。
+
+![Ubuntu Running in Virtual Machine Inside Windows][18]
+
+有两种流行的工具可在 Windows 上创建虚拟机,它们是 Oracle VirtualBox 和 VMware Workstation Player。你可以使用两者中的任何一个。就个人而言,我更喜欢 VirtualBox。
+
+你可以按照[本教程学习如何在 VirtualBox 中安装 Linux][20]。
+
+### 总结
+
+运行 Linux 命令的最佳方法是使用 Linux。当选择不安装 Linux 时,这些工具能让你在 Windows 上运行 Linux 命令。都试试看,看哪种适合你。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/run-linux-commands-in-windows/
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/get-linux-laptops/
+[2]: https://itsfoss.com/guide-install-linux-mint-16-dual-boot-windows/
+[3]: https://itsfoss.com/online-linux-terminals/
+[4]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/05/run-linux-commands-in-windows.png?resize=800%2C450&ssl=1
+[5]: https://itsfoss.com/bash-on-windows/
+[6]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2016/08/install-ubuntu-windows-10-linux-subsystem-10.jpeg?resize=800%2C268&ssl=1
+[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2016/08/install-ubuntu-windows-10-linux-subsystem-4.jpeg?resize=800%2C632&ssl=1
+[9]: https://itsfoss.com/install-bash-on-windows/
+[10]: https://itsfoss.com/basic-git-commands-cheat-sheet/
+[11]: https://itsfoss.com/linus-torvalds-facts/
+[12]: https://gitforwindows.org/
+[13]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/git-bash.png?ssl=1
+[14]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/cygwin-shell.jpg?ssl=1
+[15]: http://www.voxforge.org/home/docs/cygwin-cheat-sheet
+[16]: https://www.cygwin.com/
+[17]: https://itsfoss.com/reasons-switch-linux-windows-xp/
+[18]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/05/ubuntu-running-in-virtual-machine-inside-windows.jpeg?resize=800%2C450&ssl=1
+[20]: https://itsfoss.com/install-linux-in-virtualbox/
diff --git a/published/20190527 20- FFmpeg Commands For Beginners.md b/published/20190527 20- FFmpeg Commands For Beginners.md
new file mode 100644
index 0000000000..2a646c6d89
--- /dev/null
+++ b/published/20190527 20- FFmpeg Commands For Beginners.md
@@ -0,0 +1,471 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10932-1.html)
+[#]: subject: (20+ FFmpeg Commands For Beginners)
+[#]: via: (https://www.ostechnix.com/20-ffmpeg-commands-beginners/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+给初学者的 20 多个 FFmpeg 命令示例
+======
+
+
+
+在这个指南中,我将用示例来阐明如何使用 FFmpeg 媒体框架来做各种各样的音频、视频转码和转换的操作。我已经为初学者汇集了最常用的 20 多个 FFmpeg 命令,我将不时地添加更多的示例来保持更新这个指南。请给这个指南加书签,以后回来检查更新。让我们开始吧,如果你还没有在你的 Linux 系统中安装 FFmpeg,参考下面的指南。
+
+* [在 Linux 中安装 FFmpeg][2]
+
+### 针对初学者的 20 多个 FFmpeg 命令
+
+FFmpeg 命令的典型语法是:
+
+```
+ffmpeg [全局选项] {[输入文件选项] -i 输入_url_地址} ...
+ {[输出文件选项] 输出_url_地址} ...
+```
+
+现在我们将查看一些重要的和有用的 FFmpeg 命令。
+
+#### 1、获取音频/视频文件信息
+
+为显示你的媒体文件细节,运行:
+
+```
+$ ffmpeg -i video.mp4
+```
+
+样本输出:
+
+```
+ffmpeg version n4.1.3 Copyright (c) 2000-2019 the FFmpeg developers
+built with gcc 8.2.1 (GCC) 20181127
+configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
+libavutil 56. 22.100 / 56. 22.100
+libavcodec 58. 35.100 / 58. 35.100
+libavformat 58. 20.100 / 58. 20.100
+libavdevice 58. 5.100 / 58. 5.100
+libavfilter 7. 40.101 / 7. 40.101
+libswscale 5. 3.100 / 5. 3.100
+libswresample 3. 3.100 / 3. 3.100
+libpostproc 55. 3.100 / 55. 3.100
+Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video.mp4':
+Metadata:
+major_brand : isom
+minor_version : 512
+compatible_brands: isomiso2avc1mp41
+encoder : Lavf58.20.100
+Duration: 00:00:28.79, start: 0.000000, bitrate: 454 kb/s
+Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m), 1920x1080 [SAR 1:1 DAR 16:9], 318 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
+Metadata:
+handler_name : ISO Media file produced by Google Inc. Created on: 04/08/2019.
+Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
+Metadata:
+handler_name : ISO Media file produced by Google Inc. Created on: 04/08/2019.
+At least one output file must be specified
+```
+
+如你在上面的输出中看到的,FFmpeg 显示该媒体文件信息,以及 FFmpeg 细节,例如版本、配置细节、版权标记、构建参数和库选项等等。
+
+如果你不想看 FFmpeg 标语和其它细节,而仅仅想看媒体文件信息,使用 `-hide_banner` 标志,像下面。
+
+```
+$ ffmpeg -i video.mp4 -hide_banner
+```
+
+样本输出:
+
+![][3]
+
+*使用 FFMpeg 查看音频、视频文件信息。*
+
+看见了吗?现在,它仅显示媒体文件细节。
+
+
+#### 2、转换视频文件到不同的格式
+
+FFmpeg 是强有力的音频和视频转换器,因此,它能在不同格式之间转换媒体文件。举个例子,要转换 mp4 文件到 avi 文件,运行:
+
+```
+$ ffmpeg -i video.mp4 video.avi
+```
+
+类似地,你可以转换媒体文件到你选择的任何格式。
+
+例如,为转换 YouTube flv 格式视频为 mpeg 格式,运行:
+
+```
+$ ffmpeg -i video.flv video.mpeg
+```
+
+如果你想维持你的源视频文件的质量,使用 `-qscale 0` 参数:
+
+```
+$ ffmpeg -i input.webm -qscale 0 output.mp4
+```
+
+为检查 FFmpeg 的支持格式的列表,运行:
+
+```
+$ ffmpeg -formats
+```
+
+#### 3、转换视频文件到音频文件
+
+我转换一个视频文件到音频文件,只需具体指明输出格式,像 .mp3,或 .ogg,或其它任意音频格式。
+
+上面的命令将转换 input.mp4 视频文件到 output.mp3 音频文件。
+
+```
+$ ffmpeg -i input.mp4 -vn output.mp3
+```
+
+此外,你也可以对输出文件使用各种各样的音频转换编码选项,像下面演示。
+
+```
+$ ffmpeg -i input.mp4 -vn -ar 44100 -ac 2 -ab 320 -f mp3 output.mp3
+```
+
+在这里,
+
+ * `-vn` – 表明我们已经在输出文件中禁用视频录制。
+ * `-ar` – 设置输出文件的音频频率。通常使用的值是22050 Hz、44100 Hz、48000 Hz。
+ * `-ac` – 设置音频通道的数目。
+ * `-ab` – 表明音频比特率。
+ * `-f` – 输出文件格式。在我们的实例中,它是 mp3 格式。
+
+#### 4、更改视频文件的分辨率
+
+如果你想设置一个视频文件为指定的分辨率,你可以使用下面的命令:
+
+```
+$ ffmpeg -i input.mp4 -filter:v scale=1280:720 -c:a copy output.mp4
+```
+
+或,
+
+```
+$ ffmpeg -i input.mp4 -s 1280x720 -c:a copy output.mp4
+```
+
+上面的命令将设置所给定视频文件的分辨率到 1280×720。
+
+类似地,为转换上面的文件到 640×480 大小,运行:
+
+```
+$ ffmpeg -i input.mp4 -filter:v scale=640:480 -c:a copy output.mp4
+```
+
+或者,
+
+```
+$ ffmpeg -i input.mp4 -s 640x480 -c:a copy output.mp4
+```
+
+这个技巧将帮助你缩放你的视频文件到较小的显示设备上,例如平板电脑和手机。
+
+#### 5、压缩视频文件
+
+减小媒体文件的大小到较小来节省硬件的空间总是一个好主意.
+
+下面的命令将压缩并减少输出文件的大小。
+
+```
+$ ffmpeg -i input.mp4 -vf scale=1280:-1 -c:v libx264 -preset veryslow -crf 24 output.mp4
+```
+
+请注意,如果你尝试减小视频文件的大小,你将损失视频质量。如果 24 太有侵略性,你可以降低 `-crf` 值到或更低值。
+
+你也可以通过下面的选项来转换编码音频降低比特率,使其有立体声感,从而减小大小。
+
+```
+-ac 2 -c:a aac -strict -2 -b:a 128k
+```
+
+#### 6、压缩音频文件
+
+正像压缩视频文件一样,为节省一些磁盘空间,你也可以使用 `-ab` 标志压缩音频文件。
+
+例如,你有一个 320 kbps 比特率的音频文件。你想通过更改比特率到任意较低的值来压缩它,像下面。
+
+```
+$ ffmpeg -i input.mp3 -ab 128 output.mp3
+```
+
+各种各样可用的音频比特率列表是:
+
+ 1. 96kbps
+ 2. 112kbps
+ 3. 128kbps
+ 4. 160kbps
+ 5. 192kbps
+ 6. 256kbps
+ 7. 320kbps
+
+#### 7、从一个视频文件移除音频流
+
+如果你不想要一个视频文件中的音频,使用 `-an` 标志。
+
+```
+$ ffmpeg -i input.mp4 -an output.mp4
+```
+
+在这里,`-an` 表示没有音频录制。
+
+上面的命令会撤销所有音频相关的标志,因为我们不要来自 input.mp4 的音频。
+
+#### 8、从一个媒体文件移除视频流
+
+类似地,如果你不想要视频流,你可以使用 `-vn` 标志从媒体文件中简单地移除它。`-vn` 代表没有视频录制。换句话说,这个命令转换所给定媒体文件为音频文件。
+
+下面的命令将从所给定媒体文件中移除视频。
+
+```
+$ ffmpeg -i input.mp4 -vn output.mp3
+```
+
+你也可以使用 `-ab` 标志来指出输出文件的比特率,如下面的示例所示。
+
+```
+$ ffmpeg -i input.mp4 -vn -ab 320 output.mp3
+```
+
+#### 9、从视频中提取图像
+
+FFmpeg 的另一个有用的特色是我们可以从一个视频文件中轻松地提取图像。如果你想从一个视频文件中创建一个相册,这可能是非常有用的。
+
+为从一个视频文件中提取图像,使用下面的命令:
+
+```
+$ ffmpeg -i input.mp4 -r 1 -f image2 image-%2d.png
+```
+
+在这里,
+
+ * `-r` – 设置帧速度。即,每秒提取帧到图像的数字。默认值是 25。
+ * `-f` – 表示输出格式,即,在我们的实例中是图像。
+ * `image-%2d.png` – 表明我们如何想命名提取的图像。在这个实例中,命名应该像这样image-01.png、image-02.png、image-03.png 等等开始。如果你使用 `%3d`,那么图像的命名像 image-001.png、image-002.png 等等开始。
+
+#### 10、裁剪视频
+
+FFMpeg 允许以我们选择的任何范围裁剪一个给定的媒体文件。
+
+裁剪一个视频文件的语法如下给定:
+
+```
+ffmpeg -i input.mp4 -filter:v "crop=w:h:x:y" output.mp4
+```
+
+在这里,
+
+ * `input.mp4` – 源视频文件。
+ * `-filter:v` – 表示视频过滤器。
+ * `crop` – 表示裁剪过滤器。
+ * `w` – 我们想自源视频中裁剪的矩形的宽度。
+ * `h` – 矩形的高度。
+ * `x` – 我们想自源视频中裁剪的矩形的 x 坐标 。
+ * `y` – 矩形的 y 坐标。
+
+比如说你想要一个来自视频的位置 (200,150),且具有 640 像素宽度和 480 像素高度的视频,命令应该是:
+
+```
+$ ffmpeg -i input.mp4 -filter:v "crop=640:480:200:150" output.mp4
+```
+
+请注意,剪切视频将影响质量。除非必要,请勿剪切。
+
+#### 11、转换一个视频的具体的部分
+
+有时,你可能想仅转换视频文件的一个具体的部分到不同的格式。以示例说明,下面的命令将转换所给定视频input.mp4 文件的开始 10 秒到视频 .avi 格式。
+
+```
+$ ffmpeg -i input.mp4 -t 10 output.avi
+```
+
+在这里,我们以秒具体说明时间。此外,以 `hh.mm.ss` 格式具体说明时间也是可以的。
+
+#### 12、设置视频的屏幕高宽比
+
+你可以使用 `-aspect` 标志设置一个视频文件的屏幕高宽比,像下面。
+
+```
+$ ffmpeg -i input.mp4 -aspect 16:9 output.mp4
+```
+
+通常使用的高宽比是:
+
+ * 16:9
+ * 4:3
+ * 16:10
+ * 5:4
+ * 2:21:1
+ * 2:35:1
+ * 2:39:1
+
+#### 13、添加海报图像到音频文件
+
+你可以添加海报图像到你的文件,以便图像将在播放音频文件时显示。这对托管在视频托管主机或共享网站中的音频文件是有用的。
+
+```
+$ ffmpeg -loop 1 -i inputimage.jpg -i inputaudio.mp3 -c:v libx264 -c:a aac -strict experimental -b:a 192k -shortest output.mp4
+```
+
+#### 14、使用开始和停止时间剪下一段媒体文件
+
+可以使用开始和停止时间来剪下一段视频为小段剪辑,我们可以使用下面的命令。
+
+```
+$ ffmpeg -i input.mp4 -ss 00:00:50 -codec copy -t 50 output.mp4
+```
+
+在这里,
+
+ * `–s` – 表示视频剪辑的开始时间。在我们的示例中,开始时间是第 50 秒。
+ * `-t` – 表示总的持续时间。
+
+当你想使用开始和结束时间从一个音频或视频文件剪切一部分时,它是非常有用的。
+
+类似地,我们可以像下面剪下音频。
+
+```
+$ ffmpeg -i audio.mp3 -ss 00:01:54 -to 00:06:53 -c copy output.mp3
+```
+
+#### 15、切分视频文件为多个部分
+
+一些网站将仅允许你上传具体指定大小的视频。在这样的情况下,你可以切分大的视频文件到多个较小的部分,像下面。
+
+```
+$ ffmpeg -i input.mp4 -t 00:00:30 -c copy part1.mp4 -ss 00:00:30 -codec copy part2.mp4
+```
+
+在这里,
+
+ * `-t 00:00:30` 表示从视频的开始到视频的第 30 秒创建一部分视频。
+ * `-ss 00:00:30` 为视频的下一部分显示开始时间戳。它意味着第 2 部分将从第 30 秒开始,并将持续到原始视频文件的结尾。
+
+#### 16、接合或合并多个视频部分到一个
+
+FFmpeg 也可以接合多个视频部分,并创建一个单个视频文件。
+
+创建包含你想接合文件的准确的路径的 `join.txt`。所有的文件都应该是相同的格式(相同的编码格式)。所有文件的路径应该逐个列出,像下面。
+
+```
+file /home/sk/myvideos/part1.mp4
+file /home/sk/myvideos/part2.mp4
+file /home/sk/myvideos/part3.mp4
+file /home/sk/myvideos/part4.mp4
+```
+
+现在,接合所有文件,使用命令:
+
+```
+$ ffmpeg -f concat -i join.txt -c copy output.mp4
+```
+
+如果你得到一些像下面的错误;
+
+```
+[concat @ 0x555fed174cc0] Unsafe file name '/path/to/mp4'
+join.txt: Operation not permitted
+```
+
+添加 `-safe 0` :
+
+```
+$ ffmpeg -f concat -safe 0 -i join.txt -c copy output.mp4
+```
+
+上面的命令将接合 part1.mp4、part2.mp4、part3.mp4 和 part4.mp4 文件到一个称为 output.mp4 的单个文件中。
+
+#### 17、添加字幕到一个视频文件
+
+我们可以使用 FFmpeg 来添加字幕到视频文件。为你的视频下载正确的字幕,并如下所示添加它到你的视频。
+
+```
+$ fmpeg -i input.mp4 -i subtitle.srt -map 0 -map 1 -c copy -c:v libx264 -crf 23 -preset veryfast output.mp4
+```
+
+#### 18、预览或测试视频或音频文件
+
+你可能希望通过预览来验证或测试输出的文件是否已经被恰当地转码编码。为完成预览,你可以从你的终端播放它,用命令:
+
+```
+$ ffplay video.mp4
+```
+
+![][7]
+
+类似地,你可以测试音频文件,像下面所示。
+
+```
+$ ffplay audio.mp3
+```
+
+![][8]
+
+#### 19、增加/减少视频播放速度
+
+FFmpeg 允许你调整视频播放速度。
+
+为增加视频播放速度,运行:
+
+```
+$ ffmpeg -i input.mp4 -vf "setpts=0.5*PTS" output.mp4
+```
+
+该命令将双倍视频的速度。
+
+为降低你的视频速度,你需要使用一个大于 1 的倍数。为减少播放速度,运行:
+
+```
+$ ffmpeg -i input.mp4 -vf "setpts=4.0*PTS" output.mp4
+```
+
+#### 20、创建动画的 GIF
+
+出于各种目的,我们在几乎所有的社交和专业网络上使用 GIF 图像。使用 FFmpeg,我们可以简单地和快速地创建动画的视频文件。下面的指南阐释了如何在类 Unix 系统中使用 FFmpeg 和 ImageMagick 创建一个动画的 GIF 文件。
+
+ * [在 Linux 中如何创建动画的 GIF][9]
+
+#### 21、从 PDF 文件中创建视频
+
+我长年累月的收集了很多 PDF 文件,大多数是 Linux 教程,保存在我的平板电脑中。有时我懒得从平板电脑中阅读它们。因此,我决定从 PDF 文件中创建一个视频,在一个大屏幕设备(像一台电视机或一台电脑)中观看它们。如果你想知道如何从一批 PDF 文件中制作一个电影,下面的指南将帮助你。
+
+ * [在 Linux 中如何从 PDF 文件中创建一个视频][10]
+
+#### 22、获取帮助
+
+在这个指南中,我已经覆盖大多数常常使用的 FFmpeg 命令。它有很多不同的选项来做各种各样的高级功能。要学习更多用法,请参考手册页。
+
+```
+$ man ffmpeg
+```
+
+这就是全部了。我希望这个指南将帮助你入门 FFmpeg。如果你发现这个指南有用,请在你的社交和专业网络上分享它。更多好东西将要来。敬请期待!
+
+谢谢!
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/20-ffmpeg-commands-beginners/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2017/05/FFmpeg-Commands-720x340.png
+[2]: https://www.ostechnix.com/install-ffmpeg-linux/
+[3]: http://www.ostechnix.com/wp-content/uploads/2017/05/sk@sk_001.png
+[4]: https://ostechnix.tradepub.com/free/w_make141/prgm.cgi
+[5]: https://ostechnix.tradepub.com/free/w_make75/prgm.cgi
+[6]: https://ostechnix.tradepub.com/free/w_make235/prgm.cgi
+[7]: http://www.ostechnix.com/wp-content/uploads/2017/05/Menu_004.png
+[8]: http://www.ostechnix.com/wp-content/uploads/2017/05/Menu_005-3.png
+[9]: https://www.ostechnix.com/create-animated-gif-ubuntu-16-04/
+[10]: https://www.ostechnix.com/create-video-pdf-files-linux/
diff --git a/published/20190527 5 GNOME keyboard shortcuts to be more productive.md b/published/20190527 5 GNOME keyboard shortcuts to be more productive.md
new file mode 100644
index 0000000000..9ba4bc2d57
--- /dev/null
+++ b/published/20190527 5 GNOME keyboard shortcuts to be more productive.md
@@ -0,0 +1,82 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10997-1.html)
+[#]: subject: (5 GNOME keyboard shortcuts to be more productive)
+[#]: via: (https://fedoramagazine.org/5-gnome-keyboard-shortcuts-to-be-more-productive/)
+[#]: author: (Clément Verna https://fedoramagazine.org/author/cverna/)
+
+5 个提高效率的 GNOME 快捷键
+======
+
+![][1]
+
+对于某些人来说,使用 GNOME Shell 作为传统的桌面管理器可能会感觉沮丧,因为它通常需要更多的鼠标操作。事实上,GNOME Shell 也是一个专为键盘操作而设计的[桌面管理器][2]。通过这五种使用键盘而不是鼠标的方法,了解如何使用 GNOME Shell 提高效率。
+
+### GNOME 活动概述
+
+可以使用键盘上的 `Super` 键轻松打开活动概述。(`Super` 键通常有一个标识——比如 Windows 徽标……)这在启动应用程序时非常有用。例如,使用以下键序列 `Super + f i r + Enter` 可以轻松启动 Firefox Web 浏览器
+
+![][3]
+
+### 消息托盘
+
+在 GNOME 中,消息托盘中提供了通知。这也是日历和世界时钟出现的地方。要使用键盘打开信息托盘,请使用 `Super + m` 快捷键。要关闭消息托盘,只需再次使用相同的快捷方式。
+
+![][4]
+
+### 在 GNOME 中管理工作空间
+
+GNOME Shell 使用动态工作空间,这意味着它可以根据需要创建更多工作空间。使用 GNOME 提高工作效率的一个好方法是为每个应用程序或每个专用活动使用一个工作区,然后使用键盘在这些工作区之间导航。
+
+让我们看一个实际的例子。要在当前工作区中打开终端,请按以下键:`Super + t e r + Enter`。然后,要打开新工作区,请按 `Super + PgDn`。 打开 Firefox( `Super + f i r + Enter`)。 要返回终端(所在的工作空间),请使用 `Super + PgUp`。
+
+![][5]
+
+### 管理应用窗口
+
+使用键盘也可以轻松管理应用程序窗口的大小。最小化、最大化和将应用程序移动到屏幕的左侧或右侧只需几个击键即可完成。使用 `Super + ↑` 最大化、`Super + ↓` 最小化、`Super + ←` 和 `Super + →` 左右移动窗口。
+
+![][6]
+
+### 同一个应用的多个窗口
+
+使用活动概述启动应用程序非常有效。但是,尝试从已经运行的应用程序打开一个新窗口只能将焦点转移到已经打开的窗口。要创建一个新窗口,就不是简单地按 `Enter` 启动应用程序,请使用 `Ctrl + Enter`。
+
+因此,例如,使用应用程序概述启动终端的第二个实例,`Super + t e r + (Ctrl + Enter)`。
+
+![][7]
+
+然后你可以使用 `Super` + ` 在同一个应用程序的窗口之间切换。
+
+![][8]
+
+如图所示,当用键盘控制时,GNOME Shell 是一个非常强大的桌面环境。学习使用这些快捷方式并训练你的肌肉记忆以不使用鼠标将为你提供更好的用户体验,并在使用 GNOME 时提高你的工作效率。有关其他有用的快捷方式,请查看 [GNOME wiki 上的此页面][9]。
+
+*图片来自 [1AmFcS][10],[Unsplash][11]*
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/5-gnome-keyboard-shortcuts-to-be-more-productive/
+
+作者:[Clément Verna][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/cverna/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/05/5-gnome-keycombos-816x345.jpg
+[2]: https://fedoramagazine.org/gnome-3-32-released-coming-to-fedora-30/
+[3]: https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-10-50.gif
+[4]: https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-11-01.gif
+[5]: https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-12-57.gif
+[6]: https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-13-06.gif
+[7]: https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-13-19.gif
+[8]: https://fedoramagazine.org/wp-content/uploads/2019/05/Peek-2019-05-23-13-22.gif
+[9]: https://wiki.gnome.org/Design/OS/KeyboardShortcuts
+[10]: https://unsplash.com/photos/MuTWth_RnEs?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
+[11]: https://unsplash.com/search/photos/keyboard?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/published/20190527 A deeper dive into Linux permissions.md b/published/20190527 A deeper dive into Linux permissions.md
new file mode 100644
index 0000000000..a4bba97507
--- /dev/null
+++ b/published/20190527 A deeper dive into Linux permissions.md
@@ -0,0 +1,171 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10947-1.html)
+[#]: subject: (A deeper dive into Linux permissions)
+[#]: via: (https://www.networkworld.com/article/3397790/a-deeper-dive-into-linux-permissions.html)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+更深入地了解 Linux 权限
+======
+> 在 Linux 上查看文件权限时,有时你会看到的不仅仅是普通的 r、w、x 和 -。如何更清晰地了解这些字符试图告诉你什么以及这些权限如何工作?
+
+
+
+在 Linux 上查看文件权限时,有时你会看到的不仅仅是普通的 `r`、`w`、`x` 和 `-`。除了在所有者、组和其他中看到 `rwx` 之外,你可能会看到 `s` 或者 `t`,如下例所示:
+
+```
+drwxrwsrwt
+```
+
+要进一步明确的方法之一是使用 `stat` 命令查看权限。`stat` 的第四行输出以八进制和字符串格式显示文件权限:
+
+```
+$ stat /var/mail
+ File: /var/mail
+ Size: 4096 Blocks: 8 IO Block: 4096 directory
+Device: 801h/2049d Inode: 1048833 Links: 2
+Access: (3777/drwxrwsrwt) Uid: ( 0/ root) Gid: ( 8/ mail)
+Access: 2019-05-21 19:23:15.769746004 -0400
+Modify: 2019-05-21 19:03:48.226656344 -0400
+Change: 2019-05-21 19:03:48.226656344 -0400
+ Birth: -
+```
+
+这个输出提示我们,分配给文件权限的位数超过 9 位。事实上,有 12 位。这些额外的三位提供了一种分配超出通常的读、写和执行权限的方法 - 例如,`3777`(二进制 `011111111111`)表示使用了两个额外的设置。
+
+该值的第一个 `1` (第二位)表示 SGID(设置 GID),为运行文件而赋予临时权限,或以该关联组的权限来使用目录。
+
+```
+011111111111
+ ^
+```
+
+SGID 将正在使用该文件的用户作为该组成员之一而分配临时权限。
+
+第二个 `1`(第三位)是“粘连”位。它确保*只有*文件的所有者能够删除或重命名该文件或目录。
+
+```
+011111111111
+ ^
+```
+
+如果权限是 `7777` 而不是 `3777`,我们知道 SUID(设置 UID)字段也已设置。
+
+```
+111111111111
+^
+```
+
+SUID 将正在使用该文件的用户作为文件拥有者分配临时权限。
+
+至于我们上面看到的 `/var/mail` 目录,所有用户都需要访问,因此需要一些特殊值来提供它。
+
+但现在让我们更进一步。
+
+特殊权限位的一个常见用法是使用 `passwd` 之类的命令。如果查看 `/usr/bin/passwd` 文件,你会注意到 SUID 位已设置,它允许你更改密码(以及 `/etc/shadow` 文件的内容),即使你是以普通(非特权)用户身份运行,并且对此文件没有读取或写入权限。当然,`passwd` 命令很聪明,不允许你更改其他人的密码,除非你是以 root 身份运行或使用 `sudo`。
+
+```
+$ ls -l /usr/bin/passwd
+-rwsr-xr-x 1 root root 63736 Mar 22 14:32 /usr/bin/passwd
+$ ls -l /etc/shadow
+-rw-r----- 1 root shadow 2195 Apr 22 10:46 /etc/shadow
+```
+
+现在,让我们看一下使用这些特殊权限可以做些什么。
+
+### 如何分配特殊文件权限
+
+与 Linux 命令行中的许多东西一样,你可以有不同的方法设置。 `chmod` 命令允许你以数字方式或使用字符表达式更改权限。
+
+要以数字方式更改文件权限,你可以使用这样的命令来设置 SUID 和 SGID 位:
+
+```
+$ chmod 6775 tryme
+```
+
+或者你可以使用这样的命令:
+
+```
+$ chmod ug+s tryme <== 用于 SUID 和 SGID 权限
+```
+
+如果你要添加特殊权限的文件是脚本,你可能会对它不符合你的期望感到惊讶。这是一个非常简单的例子:
+
+```
+$ cat tryme
+#!/bin/bash
+
+echo I am $USER
+```
+
+即使设置了 SUID 和 SGID 位,并且 root 是文件所有者,运行脚本也不会产生你可能期望的 “I am root”。为什么?因为 Linux 会忽略脚本的 SUID 和 SGID 位。
+
+```
+$ ls -l tryme
+-rwsrwsrwt 1 root root 29 May 26 12:22 tryme
+$ ./tryme
+I am jdoe
+```
+
+另一方面,如果你对一个编译的程序之类进行类似的尝试,就像下面这个简单的 C 程序一样,你会看到不同的效果。在此示例程序中,我们提示用户输入文件名并创建它,并给文件写入权限。
+
+```
+#include
+
+int main()
+{
+ FILE *fp; /* file pointer*/
+ char fName[20];
+
+ printf("Enter the name of file to be created: ");
+ scanf("%s",fName);
+
+ /* create the file with write permission */
+ fp=fopen(fName,"w");
+ /* check if file was created */
+ if(fp==NULL)
+ {
+ printf("File not created");
+ exit(0);
+ }
+
+ printf("File created successfully\n");
+ return 0;
+}
+```
+
+编译程序并运行该命令以使 root 用户成为所有者并设置所需权限后,你将看到它以预期的 root 权限运行 - 留下新创建的 root 为所有者的文件。当然,你必须具有 `sudo` 权限才能运行一些需要的命令。
+
+```
+$ cc -o mkfile mkfile.c <== 编译程序
+$ sudo chown root:root mkfile <== 更改所有者和组为 “root”
+$ sudo chmod ug+s mkfile <== 添加 SUID and SGID 权限
+$ ./mkfile <== 运行程序
+Enter name of file to be create: empty
+File created successfully
+$ ls -l empty
+-rw-rw-r-- 1 root root 0 May 26 13:15 empty
+```
+
+请注意,文件所有者是 root - 如果程序未以 root 权限运行,则不会发生这种情况。
+
+权限字符串中不常见设置的位置(例如,rw**s**rw**s**rw**t**)可以帮助提醒我们每个位的含义。至少第一个 “s”(SUID) 位于所有者权限区域中,第二个 (SGID) 位于组权限区域中。为什么粘连位是 “t” 而不是 “s” 超出了我的理解。也许创造者想把它称为 “tacky bit”,但由于这个词的不太令人喜欢的第二个定义而改变了他们的想法。无论如何,额外的权限设置为 Linux 和其他 Unix 系统提供了许多额外的功能。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397790/a-deeper-dive-into-linux-permissions.html
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/shs_rwsr-100797564-large.jpg
+[2]: https://www.facebook.com/NetworkWorld/
+[3]: https://www.linkedin.com/company/network-world
diff --git a/published/20190527 Dockly - Manage Docker Containers From Terminal.md b/published/20190527 Dockly - Manage Docker Containers From Terminal.md
new file mode 100644
index 0000000000..44e9dc2c21
--- /dev/null
+++ b/published/20190527 Dockly - Manage Docker Containers From Terminal.md
@@ -0,0 +1,146 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10925-1.html)
+[#]: subject: (Dockly – Manage Docker Containers From Terminal)
+[#]: via: (https://www.ostechnix.com/dockly-manage-docker-containers-from-terminal/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+Dockly:从终端管理 Docker 容器
+======
+
+
+
+几天前,我们发布了一篇指南,其中涵盖了[开始使用 Docker][2] 时需要了解的几乎所有细节。在该指南中,我们向你展示了如何详细创建和管理 Docker 容器。还有一些可用于管理 Docker 容器的非官方工具。如果你看过我们以前的文章,你可能会看到两个基于 Web 的工具,[Portainer][3] 和 [PiCluster][4]。它们都使得 Docker 管理任务在 Web 浏览器中变得更加容易和简单。今天,我遇到了另一个名为 Dockly 的 Docker 管理工具。
+
+与上面的工具不同,Dockly 是一个 TUI(文本界面)程序,用于在类 Unix 系统中从终端管理 Docker 容器和服务。它是使用 NodeJS 编写的自由开源工具。在本简要指南中,我们将了解如何安装 Dockly 以及如何从命令行管理 Docker 容器。
+
+### 安装 Dockly
+
+确保已在 Linux 上安装了 NodeJS。如果尚未安装,请参阅以下指南。
+
+* [如何在 Linux 上安装 NodeJS][5]
+
+安装 NodeJS 后,运行以下命令安装 Dockly:
+
+```
+# npm install -g dockly
+```
+
+### 使用 Dockly 在终端管理 Docker 容器
+
+使用 Dockly 管理 Docker 容器非常简单!你所要做的就是打开终端并运行以下命令:
+
+```
+# dockly
+```
+
+Dockly 将通过 unix 套接字自动连接到你的本机 docker 守护进程,并在终端中显示正在运行的容器列表,如下所示。
+
+![][6]
+
+*使用 Dockly 管理 Docker 容器*
+
+正如你在上面的截图中看到的,Dockly 在顶部显示了运行容器的以下信息:
+
+* 容器 ID,
+* 容器名称,
+* Docker 镜像,
+* 命令,
+* 运行中容器的状态,
+* 状态。
+
+在右上角,你将看到容器的 CPU 和内存利用率。使用向上/向下箭头键在容器之间移动。
+
+在底部,有少量的键盘快捷键来执行各种 Docker 管理任务。以下是目前可用的键盘快捷键列表:
+
+* `=` - 刷新 Dockly 界面,
+* `/` - 搜索容器列表视图,
+* `i` - 显示有关当前所选容器或服务的信息,
+* `回车` - 显示当前容器或服务的日志,
+* `v` - 在容器和服务视图之间切换,
+* `l` - 在选定的容器上启动 `/bin/bash` 会话,
+* `r` - 重启选定的容器,
+* `s` - 停止选定的容器,
+* `h` - 显示帮助窗口,
+* `q` - 退出 Dockly。
+
+#### 查看容器的信息
+
+使用向上/向下箭头选择一个容器,然后按 `i` 以显示所选容器的信息。
+
+![][7]
+
+*查看容器的信息*
+
+#### 重启容器
+
+如果你想随时重启容器,只需选择它并按 `r` 即可重新启动。
+
+![][8]
+
+*重启 Docker 容器*
+
+#### 停止/删除容器和镜像
+
+如果不再需要容器,我们可以立即停止和/或删除一个或所有容器。为此,请按 `m` 打开菜单。
+
+![][9]
+
+*停止,删除 Docker 容器和镜像*
+
+在这里,你可以执行以下操作。
+
+* 停止所有 Docker 容器,
+* 删除选定的容器,
+* 删除所有容器,
+* 删除所有 Docker 镜像等。
+
+#### 显示 Dockly 帮助部分
+
+如果你有任何疑问,只需按 `h` 即可打开帮助部分。
+
+![][10]
+
+*Dockly 帮助*
+
+有关更多详细信息,请参考最后给出的官方 GitHub 页面。
+
+就是这些了。希望这篇文章有用。如果你一直在使用 Docker 容器,请试试 Dockly,看它是否有帮助。
+
+建议阅读:
+
+ * [如何自动更新正在运行的 Docker 容器][11]
+ * [ctop:一个 Linux 容器的命令行监控工具][12]
+
+资源:
+
+ * [Dockly 的 GitHub 仓库][13]
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/dockly-manage-docker-containers-from-terminal/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/05/Dockly-720x340.png
+[2]: https://www.ostechnix.com/getting-started-with-docker/
+[3]: https://www.ostechnix.com/portainer-an-easiest-way-to-manage-docker/
+[4]: https://www.ostechnix.com/picluster-simple-web-based-docker-management-application/
+[5]: https://www.ostechnix.com/install-node-js-linux/
+[6]: http://www.ostechnix.com/wp-content/uploads/2019/05/Manage-Docker-Containers-Using-Dockly.png
+[7]: http://www.ostechnix.com/wp-content/uploads/2019/05/View-containers-information.png
+[8]: http://www.ostechnix.com/wp-content/uploads/2019/05/Restart-containers.png
+[9]: http://www.ostechnix.com/wp-content/uploads/2019/05/stop-remove-containers-and-images.png
+[10]: http://www.ostechnix.com/wp-content/uploads/2019/05/Dockly-Help.png
+[11]: https://www.ostechnix.com/automatically-update-running-docker-containers/
+[12]: https://www.ostechnix.com/ctop-commandline-monitoring-tool-linux-containers/
+[13]: https://github.com/lirantal/dockly
diff --git a/published/20190527 How To Check Available Security Updates On Red Hat (RHEL) And CentOS System.md b/published/20190527 How To Check Available Security Updates On Red Hat (RHEL) And CentOS System.md
new file mode 100644
index 0000000000..e853c92615
--- /dev/null
+++ b/published/20190527 How To Check Available Security Updates On Red Hat (RHEL) And CentOS System.md
@@ -0,0 +1,312 @@
+[#]: collector: (lujun9972)
+[#]: translator: (jdh8383)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10938-1.html)
+[#]: subject: (How To Check Available Security Updates On Red Hat (RHEL) And CentOS System?)
+[#]: via: (https://www.2daygeek.com/check-list-view-find-available-security-updates-on-redhat-rhel-centos-system/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+如何在 CentOS 或 RHEL 系统上检查可用的安全更新?
+======
+
+
+
+当你更新系统时,根据你所在公司的安全策略,有时候可能只需要打上与安全相关的补丁。大多数情况下,这应该是出于程序兼容性方面的考量。那该怎样实践呢?有没有办法让 `yum` 只安装安全补丁呢?
+
+答案是肯定的,可以用 `yum` 包管理器轻松实现。
+
+在这篇文章中,我们不但会提供所需的信息。而且,我们会介绍一些额外的命令,可以帮你获取指定安全更新的详实信息。
+
+希望这样可以启发你去了解并修复你列表上的那些漏洞。一旦有安全漏洞被公布,就必须更新受影响的软件,这样可以降低系统中的安全风险。
+
+对于 RHEL 或 CentOS 6 系统,运行下面的 [Yum 命令][1] 来安装 yum 安全插件。
+
+```
+# yum -y install yum-plugin-security
+```
+
+在 RHEL 7&8 或是 CentOS 7&8 上面,这个插件已经是 `yum` 的一部分了,不用单独安装。
+
+要列出全部可用的补丁(包括安全、Bug 修复以及产品改进),但不安装它们:
+
+```
+# yum updateinfo list available
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
+ : subscription-manager, verify, versionlock
+RHSA-2014:1031 Important/Sec. 389-ds-base-1.3.1.6-26.el7_0.x86_64
+RHSA-2015:0416 Important/Sec. 389-ds-base-1.3.3.1-13.el7.x86_64
+RHBA-2015:0626 bugfix 389-ds-base-1.3.3.1-15.el7_1.x86_64
+RHSA-2015:0895 Important/Sec. 389-ds-base-1.3.3.1-16.el7_1.x86_64
+RHBA-2015:1554 bugfix 389-ds-base-1.3.3.1-20.el7_1.x86_64
+RHBA-2015:1960 bugfix 389-ds-base-1.3.3.1-23.el7_1.x86_64
+RHBA-2015:2351 bugfix 389-ds-base-1.3.4.0-19.el7.x86_64
+RHBA-2015:2572 bugfix 389-ds-base-1.3.4.0-21.el7_2.x86_64
+RHSA-2016:0204 Important/Sec. 389-ds-base-1.3.4.0-26.el7_2.x86_64
+RHBA-2016:0550 bugfix 389-ds-base-1.3.4.0-29.el7_2.x86_64
+RHBA-2016:1048 bugfix 389-ds-base-1.3.4.0-30.el7_2.x86_64
+RHBA-2016:1298 bugfix 389-ds-base-1.3.4.0-32.el7_2.x86_64
+```
+
+要统计补丁的大约数量,运行下面的命令:
+
+```
+# yum updateinfo list available | wc -l
+11269
+```
+
+想列出全部可用的安全补丁但不安装,以下命令用来展示你系统里已安装和待安装的推荐补丁:
+
+```
+# yum updateinfo list security all
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
+ : subscription-manager, verify, versionlock
+ RHSA-2014:1031 Important/Sec. 389-ds-base-1.3.1.6-26.el7_0.x86_64
+ RHSA-2015:0416 Important/Sec. 389-ds-base-1.3.3.1-13.el7.x86_64
+ RHSA-2015:0895 Important/Sec. 389-ds-base-1.3.3.1-16.el7_1.x86_64
+ RHSA-2016:0204 Important/Sec. 389-ds-base-1.3.4.0-26.el7_2.x86_64
+ RHSA-2016:2594 Moderate/Sec. 389-ds-base-1.3.5.10-11.el7.x86_64
+ RHSA-2017:0920 Important/Sec. 389-ds-base-1.3.5.10-20.el7_3.x86_64
+ RHSA-2017:2569 Moderate/Sec. 389-ds-base-1.3.6.1-19.el7_4.x86_64
+ RHSA-2018:0163 Important/Sec. 389-ds-base-1.3.6.1-26.el7_4.x86_64
+ RHSA-2018:0414 Important/Sec. 389-ds-base-1.3.6.1-28.el7_4.x86_64
+ RHSA-2018:1380 Important/Sec. 389-ds-base-1.3.7.5-21.el7_5.x86_64
+ RHSA-2018:2757 Moderate/Sec. 389-ds-base-1.3.7.5-28.el7_5.x86_64
+ RHSA-2018:3127 Moderate/Sec. 389-ds-base-1.3.8.4-15.el7.x86_64
+ RHSA-2014:1031 Important/Sec. 389-ds-base-libs-1.3.1.6-26.el7_0.x86_64
+```
+
+要显示所有待安装的安全补丁:
+
+```
+# yum updateinfo list security all | grep -v "i"
+
+ RHSA-2014:1031 Important/Sec. 389-ds-base-1.3.1.6-26.el7_0.x86_64
+ RHSA-2015:0416 Important/Sec. 389-ds-base-1.3.3.1-13.el7.x86_64
+ RHSA-2015:0895 Important/Sec. 389-ds-base-1.3.3.1-16.el7_1.x86_64
+ RHSA-2016:0204 Important/Sec. 389-ds-base-1.3.4.0-26.el7_2.x86_64
+ RHSA-2016:2594 Moderate/Sec. 389-ds-base-1.3.5.10-11.el7.x86_64
+ RHSA-2017:0920 Important/Sec. 389-ds-base-1.3.5.10-20.el7_3.x86_64
+ RHSA-2017:2569 Moderate/Sec. 389-ds-base-1.3.6.1-19.el7_4.x86_64
+ RHSA-2018:0163 Important/Sec. 389-ds-base-1.3.6.1-26.el7_4.x86_64
+ RHSA-2018:0414 Important/Sec. 389-ds-base-1.3.6.1-28.el7_4.x86_64
+ RHSA-2018:1380 Important/Sec. 389-ds-base-1.3.7.5-21.el7_5.x86_64
+ RHSA-2018:2757 Moderate/Sec. 389-ds-base-1.3.7.5-28.el7_5.x86_64
+```
+
+要统计全部安全补丁的大致数量,运行下面的命令:
+
+```
+# yum updateinfo list security all | wc -l
+3522
+```
+
+下面根据已装软件列出可更新的安全补丁。这包括 bugzilla(bug 修复)、CVE(知名漏洞数据库)、安全更新等:
+
+```
+# yum updateinfo list security
+
+或者
+
+# yum updateinfo list sec
+
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
+ : subscription-manager, verify, versionlock
+
+RHSA-2018:3665 Important/Sec. NetworkManager-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-adsl-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-bluetooth-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-config-server-1:1.12.0-8.el7_6.noarch
+RHSA-2018:3665 Important/Sec. NetworkManager-glib-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-libnm-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-ppp-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-team-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-tui-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-wifi-1:1.12.0-8.el7_6.x86_64
+RHSA-2018:3665 Important/Sec. NetworkManager-wwan-1:1.12.0-8.el7_6.x86_64
+```
+
+显示所有与安全相关的更新,并且返回一个结果来告诉你是否有可用的补丁:
+
+```
+# yum --security check-update
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos, subscription-manager, verify, versionlock
+rhel-7-server-rpms | 2.0 kB 00:00:00
+--> policycoreutils-devel-2.2.5-20.el7.x86_64 from rhel-7-server-rpms excluded (updateinfo)
+--> smc-raghumalayalam-fonts-6.0-7.el7.noarch from rhel-7-server-rpms excluded (updateinfo)
+--> amanda-server-3.3.3-17.el7.x86_64 from rhel-7-server-rpms excluded (updateinfo)
+--> 389-ds-base-libs-1.3.4.0-26.el7_2.x86_64 from rhel-7-server-rpms excluded (updateinfo)
+--> 1:cups-devel-1.6.3-26.el7.i686 from rhel-7-server-rpms excluded (updateinfo)
+--> openwsman-client-2.6.3-3.git4391e5c.el7.i686 from rhel-7-server-rpms excluded (updateinfo)
+--> 1:emacs-24.3-18.el7.x86_64 from rhel-7-server-rpms excluded (updateinfo)
+--> augeas-libs-1.4.0-2.el7_4.2.i686 from rhel-7-server-rpms excluded (updateinfo)
+--> samba-winbind-modules-4.2.3-10.el7.i686 from rhel-7-server-rpms excluded (updateinfo)
+--> tftp-5.2-11.el7.x86_64 from rhel-7-server-rpms excluded (updateinfo)
+.
+.
+35 package(s) needed for security, out of 115 available
+NetworkManager.x86_64 1:1.12.0-10.el7_6 rhel-7-server-rpms
+NetworkManager-adsl.x86_64 1:1.12.0-10.el7_6 rhel-7-server-rpms
+NetworkManager-bluetooth.x86_64 1:1.12.0-10.el7_6 rhel-7-server-rpms
+NetworkManager-config-server.noarch 1:1.12.0-10.el7_6 rhel-7-server-rpms
+NetworkManager-glib.x86_64 1:1.12.0-10.el7_6 rhel-7-server-rpms
+NetworkManager-libnm.x86_64 1:1.12.0-10.el7_6 rhel-7-server-rpms
+NetworkManager-ppp.x86_64 1:1.12.0-10.el7_6 rhel-7-server-rpms
+```
+
+列出所有可用的安全补丁,并且显示其详细信息:
+
+```
+# yum info-sec
+.
+.
+===============================================================================
+ tzdata bug fix and enhancement update
+===============================================================================
+ Update ID : RHBA-2019:0689
+ Release : 0
+ Type : bugfix
+ Status : final
+ Issued : 2019-03-28 19:27:44 UTC
+Description : The tzdata packages contain data files with rules for various
+ : time zones.
+ :
+ : The tzdata packages have been updated to version
+ : 2019a, which addresses recent time zone changes.
+ : Notably:
+ :
+ : * The Asia/Hebron and Asia/Gaza zones will start
+ : DST on 2019-03-30, rather than 2019-03-23 as
+ : previously predicted.
+ : * Metlakatla rejoined Alaska time on 2019-01-20,
+ : ending its observances of Pacific standard time.
+ :
+ : (BZ#1692616, BZ#1692615, BZ#1692816)
+ :
+ : Users of tzdata are advised to upgrade to these
+ : updated packages.
+ Severity : None
+```
+
+如果你想要知道某个更新的具体内容,可以运行下面这个命令:
+
+```
+# yum updateinfo RHSA-2019:0163
+
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos, subscription-manager, verify, versionlock
+rhel-7-server-rpms | 2.0 kB 00:00:00
+===============================================================================
+ Important: kernel security, bug fix, and enhancement update
+===============================================================================
+ Update ID : RHSA-2019:0163
+ Release : 0
+ Type : security
+ Status : final
+ Issued : 2019-01-29 15:21:23 UTC
+ Updated : 2019-01-29 15:23:47 UTC Bugs : 1641548 - CVE-2018-18397 kernel: userfaultfd bypasses tmpfs file permissions
+ : 1641878 - CVE-2018-18559 kernel: Use-after-free due to race condition in AF_PACKET implementation
+ CVEs : CVE-2018-18397
+ : CVE-2018-18559
+Description : The kernel packages contain the Linux kernel, the core of any
+ : Linux operating system.
+ :
+ : Security Fix(es):
+ :
+ : * kernel: Use-after-free due to race condition in
+ : AF_PACKET implementation (CVE-2018-18559)
+ :
+ : * kernel: userfaultfd bypasses tmpfs file
+ : permissions (CVE-2018-18397)
+ :
+ : For more details about the security issue(s),
+ : including the impact, a CVSS score, and other
+ : related information, refer to the CVE page(s)
+ : listed in the References section.
+ :
+ : Bug Fix(es):
+ :
+ : These updated kernel packages include also
+ : numerous bug fixes and enhancements. Space
+ : precludes documenting all of the bug fixes in this
+ : advisory. See the descriptions in the related
+ : Knowledge Article:
+ : https://access.redhat.com/articles/3827321
+ Severity : Important
+updateinfo info done
+```
+
+跟之前类似,你可以只查询那些通过 CVE 释出的系统漏洞:
+
+```
+# yum updateinfo list cves
+
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
+ : subscription-manager, verify, versionlock
+CVE-2018-15688 Important/Sec. NetworkManager-1:1.12.0-8.el7_6.x86_64
+CVE-2018-15688 Important/Sec. NetworkManager-adsl-1:1.12.0-8.el7_6.x86_64
+CVE-2018-15688 Important/Sec. NetworkManager-bluetooth-1:1.12.0-8.el7_6.x86_64
+CVE-2018-15688 Important/Sec. NetworkManager-config-server-1:1.12.0-8.el7_6.noarch
+CVE-2018-15688 Important/Sec. NetworkManager-glib-1:1.12.0-8.el7_6.x86_64
+CVE-2018-15688 Important/Sec. NetworkManager-libnm-1:1.12.0-8.el7_6.x86_64
+CVE-2018-15688 Important/Sec. NetworkManager-ppp-1:1.12.0-8.el7_6.x86_64
+CVE-2018-15688 Important/Sec. NetworkManager-team-1:1.12.0-8.el7_6.x86_64
+```
+
+你也可以查看那些跟 bug 修复相关的更新,运行下面的命令:
+
+```
+# yum updateinfo list bugfix | less
+
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
+ : subscription-manager, verify, versionlock
+RHBA-2018:3349 bugfix NetworkManager-1:1.12.0-7.el7_6.x86_64
+RHBA-2019:0519 bugfix NetworkManager-1:1.12.0-10.el7_6.x86_64
+RHBA-2018:3349 bugfix NetworkManager-adsl-1:1.12.0-7.el7_6.x86_64
+RHBA-2019:0519 bugfix NetworkManager-adsl-1:1.12.0-10.el7_6.x86_64
+RHBA-2018:3349 bugfix NetworkManager-bluetooth-1:1.12.0-7.el7_6.x86_64
+RHBA-2019:0519 bugfix NetworkManager-bluetooth-1:1.12.0-10.el7_6.x86_64
+RHBA-2018:3349 bugfix NetworkManager-config-server-1:1.12.0-7.el7_6.noarch
+RHBA-2019:0519 bugfix NetworkManager-config-server-1:1.12.0-10.el7_6.noarch
+```
+
+要想得到待安装更新的摘要信息,运行这个:
+
+```
+# yum updateinfo summary
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos, subscription-manager, verify, versionlock
+rhel-7-server-rpms | 2.0 kB 00:00:00
+Updates Information Summary: updates
+ 13 Security notice(s)
+ 9 Important Security notice(s)
+ 3 Moderate Security notice(s)
+ 1 Low Security notice(s)
+ 35 Bugfix notice(s)
+ 1 Enhancement notice(s)
+updateinfo summary done
+```
+
+如果只想打印出低级别的安全更新,运行下面这个命令。类似的,你也可以只查询重要级别和中等级别的安全更新。
+
+```
+# yum updateinfo list sec | grep -i "Low"
+
+RHSA-2019:0201 Low/Sec. libgudev1-219-62.el7_6.3.x86_64
+RHSA-2019:0201 Low/Sec. systemd-219-62.el7_6.3.x86_64
+RHSA-2019:0201 Low/Sec. systemd-libs-219-62.el7_6.3.x86_64
+RHSA-2019:0201 Low/Sec. systemd-sysv-219-62.el7_6.3.x86_64
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/check-list-view-find-available-security-updates-on-redhat-rhel-centos-system/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[jdh8383](https://github.com/jdh8383)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
diff --git a/published/20190527 How to write a good C main function.md b/published/20190527 How to write a good C main function.md
new file mode 100644
index 0000000000..4f993ee777
--- /dev/null
+++ b/published/20190527 How to write a good C main function.md
@@ -0,0 +1,474 @@
+[#]: collector: (lujun9972)
+[#]: translator: (MjSeven)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10949-1.html)
+[#]: subject: (How to write a good C main function)
+[#]: via: (https://opensource.com/article/19/5/how-write-good-c-main-function)
+[#]: author: (Erik O'Shaughnessy https://opensource.com/users/jnyjny)
+
+如何写好 C main 函数
+======
+
+> 学习如何构造一个 C 文件并编写一个 C main 函数来成功地处理命令行参数。
+
+
+
+我知道,现在孩子们用 Python 和 JavaScript 编写他们的疯狂“应用程序”。但是不要这么快就否定 C 语言 —— 它能够提供很多东西,并且简洁。如果你需要速度,用 C 语言编写可能就是你的答案。如果你正在寻找稳定的职业或者想学习如何捕获[空指针解引用][2],C 语言也可能是你的答案!在本文中,我将解释如何构造一个 C 文件并编写一个 C main 函数来成功地处理命令行参数。
+
+我:一个顽固的 Unix 系统程序员。
+
+你:一个有编辑器、C 编译器,并有时间打发的人。
+
+让我们开工吧。
+
+### 一个无聊但正确的 C 程序
+
+![Parody O'Reilly book cover, "Hating Other People's Code"][3]
+
+C 程序以 `main()` 函数开头,通常保存在名为 `main.c` 的文件中。
+
+```
+/* main.c */
+int main(int argc, char *argv[]) {
+
+}
+```
+
+这个程序可以*编译*但不*干*任何事。
+
+```
+$ gcc main.c
+$ ./a.out -o foo -vv
+$
+```
+
+正确但无聊。
+
+### main 函数是唯一的。
+
+`main()` 函数是开始执行时所执行的程序的第一个函数,但不是第一个执行的函数。*第一个*函数是 `_start()`,它通常由 C 运行库提供,在编译程序时自动链入。此细节高度依赖于操作系统和编译器工具链,所以我假装没有提到它。
+
+`main()` 函数有两个参数,通常称为 `argc` 和 `argv`,并返回一个有符号整数。大多数 Unix 环境都希望程序在成功时返回 `0`(零),失败时返回 `-1`(负一)。
+
+参数 | 名称 | 描述
+---|---|---
+`argc` | 参数个数 | 参数向量的个数
+`argv` | 参数向量 | 字符指针数组
+
+参数向量 `argv` 是调用你的程序的命令行的标记化表示形式。在上面的例子中,`argv` 将是以下字符串的列表:
+
+```
+argv = [ "/path/to/a.out", "-o", "foo", "-vv" ];
+```
+
+参数向量在其第一个索引 `argv[0]` 中确保至少会有一个字符串,这是执行程序的完整路径。
+
+### main.c 文件的剖析
+
+当我从头开始编写 `main.c` 时,它的结构通常如下:
+
+```
+/* main.c */
+/* 0 版权/许可证 */
+/* 1 包含 */
+/* 2 定义 */
+/* 3 外部声明 */
+/* 4 类型定义 */
+/* 5 全局变量声明 */
+/* 6 函数原型 */
+
+int main(int argc, char *argv[]) {
+/* 7 命令行解析 */
+}
+
+/* 8 函数声明 */
+```
+
+下面我将讨论这些编号的各个部分,除了编号为 0 的那部分。如果你必须把版权或许可文本放在源代码中,那就放在那里。
+
+另一件我不想讨论的事情是注释。
+
+```
+“评论谎言。”
+- 一个愤世嫉俗但聪明又好看的程序员。
+```
+
+与其使用注释,不如使用有意义的函数名和变量名。
+
+鉴于程序员固有的惰性,一旦添加了注释,维护负担就会增加一倍。如果更改或重构代码,则需要更新或扩充注释。随着时间的推移,代码会变得面目全非,与注释所描述的内容完全不同。
+
+如果你必须写注释,不要写关于代码正在做*什么*,相反,写下代码*为什么*要这样写。写一些你将要在五年后读到的注释,那时你已经将这段代码忘得一干二净。世界的命运取决于你。*不要有压力。*
+
+#### 1、包含
+
+我添加到 `main.c` 文件的第一个东西是包含文件,它们为程序提供大量标准 C 标准库函数和变量。C 标准库做了很多事情。浏览 `/usr/include` 中的头文件,你可以了解到它们可以做些什么。
+
+`#include` 字符串是 [C 预处理程序][4](cpp)指令,它会将引用的文件完整地包含在当前文件中。C 中的头文件通常以 `.h` 扩展名命名,且不应包含任何可执行代码。它只有宏、定义、类型定义、外部变量和函数原型。字符串 `` 告诉 cpp 在系统定义的头文件路径中查找名为 `header.h` 的文件,它通常在 `/usr/include` 目录中。
+
+```
+/* main.c */
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+```
+
+这是我默认会全局包含的最小包含集合,它将引入:
+
+\#include 文件 | 提供的东西
+---|---
+stdio | 提供 `FILE`、`stdin`、`stdout`、`stderr` 和 `fprint()` 函数系列
+stdlib | 提供 `malloc()`、`calloc()` 和 `realloc()`
+unistd | 提供 `EXIT_FAILURE`、`EXIT_SUCCESS`
+libgen | 提供 `basename()` 函数
+errno | 定义外部 `errno` 变量及其可以接受的所有值
+string | 提供 `memcpy()`、`memset()` 和 `strlen()` 函数系列
+getopt | 提供外部 `optarg`、`opterr`、`optind` 和 `getopt()` 函数
+sys/types | 类型定义快捷方式,如 `uint32_t` 和 `uint64_t`
+
+#### 2、定义
+
+```
+/* main.c */
+<...>
+
+#define OPTSTR "vi:o:f:h"
+#define USAGE_FMT "%s [-v] [-f hexflag] [-i inputfile] [-o outputfile] [-h]"
+#define ERR_FOPEN_INPUT "fopen(input, r)"
+#define ERR_FOPEN_OUTPUT "fopen(output, w)"
+#define ERR_DO_THE_NEEDFUL "do_the_needful blew up"
+#define DEFAULT_PROGNAME "george"
+```
+
+这在现在没有多大意义,但 `OPTSTR` 定义我这里会说明一下,它是程序推荐的命令行开关。参考 [getopt(3)][5] man 页面,了解 `OPTSTR` 将如何影响 `getopt()` 的行为。
+
+`USAGE_FMT` 定义了一个 `printf()` 风格的格式字符串,它用在 `usage()` 函数中。
+
+我还喜欢将字符串常量放在文件的 `#define` 这一部分。如果需要,把它们收集在一起可以更容易地修正拼写、重用消息和国际化消息。
+
+最后,在命名 `#define` 时全部使用大写字母,以区别变量和函数名。如果需要,可以将单词放连在一起或使用下划线分隔,只要确保它们都是大写的就行。
+
+#### 3、外部声明
+
+```
+/* main.c */
+<...>
+
+extern int errno;
+extern char *optarg;
+extern int opterr, optind;
+```
+
+`extern` 声明将该名称带入当前编译单元的命名空间(即 “文件”),并允许程序访问该变量。这里我们引入了三个整数变量和一个字符指针的定义。`opt` 前缀的几个变量是由 `getopt()` 函数使用的,C 标准库使用 `errno` 作为带外通信通道来传达函数可能的失败原因。
+
+#### 4、类型定义
+
+```
+/* main.c */
+<...>
+
+typedef struct {
+ int verbose;
+ uint32_t flags;
+ FILE *input;
+ FILE *output;
+} options_t;
+```
+
+在外部声明之后,我喜欢为结构、联合和枚举声明 `typedef`。命名一个 `typedef` 是一种传统习惯。我非常喜欢使用 `_t` 后缀来表示该名称是一种类型。在这个例子中,我将 `options_t` 声明为一个包含 4 个成员的 `struct`。C 是一种空格无关的编程语言,因此我使用空格将字段名排列在同一列中。我只是喜欢它看起来的样子。对于指针声明,我在名称前面加上星号,以明确它是一个指针。
+
+#### 5、全局变量声明
+
+```
+/* main.c */
+<...>
+
+int dumb_global_variable = -11;
+```
+
+全局变量是一个坏主意,你永远不应该使用它们。但如果你必须使用全局变量,请在这里声明,并确保给它们一个默认值。说真的,*不要使用全局变量*。
+
+#### 6、函数原型
+
+```
+/* main.c */
+<...>
+
+void usage(char *progname, int opt);
+int do_the_needful(options_t *options);
+```
+
+在编写函数时,将它们添加到 `main()` 函数之后而不是之前,在这里放函数原型。早期的 C 编译器使用单遍策略,这意味着你在程序中使用的每个符号(变量或函数名称)必须在使用之前声明。现代编译器几乎都是多遍编译器,它们在生成代码之前构建一个完整的符号表,因此并不严格要求使用函数原型。但是,有时你无法选择代码要使用的编译器,所以请编写函数原型并继续这样做下去。
+
+当然,我总是包含一个 `usage()` 函数,当 `main()` 函数不理解你从命令行传入的内容时,它会调用这个函数。
+
+#### 7、命令行解析
+
+```
+/* main.c */
+<...>
+
+int main(int argc, char *argv[]) {
+ int opt;
+ options_t options = { 0, 0x0, stdin, stdout };
+
+ opterr = 0;
+
+ while ((opt = getopt(argc, argv, OPTSTR)) != EOF)
+ switch(opt) {
+ case 'i':
+ if (!(options.input = fopen(optarg, "r")) ){
+ perror(ERR_FOPEN_INPUT);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+ }
+ break;
+
+ case 'o':
+ if (!(options.output = fopen(optarg, "w")) ){
+ perror(ERR_FOPEN_OUTPUT);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+ }
+ break;
+
+ case 'f':
+ options.flags = (uint32_t )strtoul(optarg, NULL, 16);
+ break;
+
+ case 'v':
+ options.verbose += 1;
+ break;
+
+ case 'h':
+ default:
+ usage(basename(argv[0]), opt);
+ /* NOTREACHED */
+ break;
+ }
+
+ if (do_the_needful(&options) != EXIT_SUCCESS) {
+ perror(ERR_DO_THE_NEEDFUL);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+ }
+
+ return EXIT_SUCCESS;
+}
+```
+
+好吧,代码有点多。这个 `main()` 函数的目的是收集用户提供的参数,执行最基本的输入验证,然后将收集到的参数传递给使用它们的函数。这个示例声明一个使用默认值初始化的 `options` 变量,并解析命令行,根据需要更新 `options`。
+
+`main()` 函数的核心是一个 `while` 循环,它使用 `getopt()` 来遍历 `argv`,寻找命令行选项及其参数(如果有的话)。文件前面定义的 `OPTSTR` 是驱动 `getopt()` 行为的模板。`opt` 变量接受 `getopt()` 找到的任何命令行选项的字符值,程序对检测命令行选项的响应发生在 `switch` 语句中。
+
+如果你注意到了可能会问,为什么 `opt` 被声明为 32 位 `int`,但是预期是 8 位 `char`?事实上 `getopt()` 返回一个 `int`,当它到达 `argv` 末尾时取负值,我会使用 `EOF`(*文件末尾*标记)匹配。`char` 是有符号的,但我喜欢将变量匹配到它们的函数返回值。
+
+当检测到一个已知的命令行选项时,会发生特定的行为。在 `OPTSTR` 中指定一个以冒号结尾的参数,这些选项可以有一个参数。当一个选项有一个参数时,`argv` 中的下一个字符串可以通过外部定义的变量 `optarg` 提供给程序。我使用 `optarg` 来打开文件进行读写,或者将命令行参数从字符串转换为整数值。
+
+这里有几个关于代码风格的要点:
+
+ * 将 `opterr` 初始化为 `0`,禁止 `getopt` 触发 `?`。
+ * 在 `main()` 的中间使用 `exit(EXIT_FAILURE);` 或 `exit(EXIT_SUCCESS);`。
+ * `/* NOTREACHED */` 是我喜欢的一个 lint 指令。
+ * 在返回 int 类型的函数末尾使用 `return EXIT_SUCCESS;`。
+ * 显示强制转换隐式类型。
+
+这个程序的命令行格式,经过编译如下所示:
+
+```
+$ ./a.out -h
+a.out [-v] [-f hexflag] [-i inputfile] [-o outputfile] [-h]
+```
+
+事实上,在编译后 `usage()` 就会向 `stderr` 发出这样的内容。
+
+#### 8、函数声明
+
+```
+/* main.c */
+<...>
+
+void usage(char *progname, int opt) {
+ fprintf(stderr, USAGE_FMT, progname?progname:DEFAULT_PROGNAME);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+}
+
+int do_the_needful(options_t *options) {
+
+ if (!options) {
+ errno = EINVAL;
+ return EXIT_FAILURE;
+ }
+
+ if (!options->input || !options->output) {
+ errno = ENOENT;
+ return EXIT_FAILURE;
+ }
+
+ /* XXX do needful stuff */
+
+ return EXIT_SUCCESS;
+}
+```
+
+我最后编写的函数不是个样板函数。在本例中,函数 `do_the_needful()` 接受一个指向 `options_t` 结构的指针。我验证 `options` 指针不为 `NULL`,然后继续验证 `input` 和 `output` 结构成员。如果其中一个测试失败,返回 `EXIT_FAILURE`,并且通过将外部全局变量 `errno` 设置为常规错误代码,我可以告知调用者常规的错误原因。调用者可以使用便捷函数 `perror()` 来根据 `errno` 的值发出便于阅读的错误消息。
+
+函数几乎总是以某种方式验证它们的输入。如果完全验证代价很大,那么尝试执行一次并将验证后的数据视为不可变。`usage()` 函数使用 `fprintf()` 调用中的条件赋值验证 `progname` 参数。接下来 `usage()` 函数就退出了,所以我不会费心设置 `errno`,也不用操心是否使用正确的程序名。
+
+在这里,我要避免的最大错误是解引用 `NULL` 指针。这将导致操作系统向我的进程发送一个名为 `SYSSEGV` 的特殊信号,导致不可避免的死亡。用户最不希望看到的是由 `SYSSEGV` 而导致的崩溃。最好是捕获 `NULL` 指针以发出更合适的错误消息并优雅地关闭程序。
+
+有些人抱怨在函数体中有多个 `return` 语句,他们喋喋不休地说些“控制流的连续性”之类的东西。老实说,如果函数中间出现错误,那就应该返回这个错误条件。写一大堆嵌套的 `if` 语句只有一个 `return` 绝不是一个“好主意”™。
+
+最后,如果你编写的函数接受四个以上的参数,请考虑将它们绑定到一个结构中,并传递一个指向该结构的指针。这使得函数签名更简单,更容易记住,并且在以后调用时不会出错。它还可以使调用函数速度稍微快一些,因为需要复制到函数堆栈中的东西更少。在实践中,只有在函数被调用数百万或数十亿次时,才会考虑这个问题。如果认为这没有意义,那也无所谓。
+
+### 等等,你不是说没有注释吗!?!!
+
+在 `do_the_needful()` 函数中,我写了一种特殊类型的注释,它被是作为占位符设计的,而不是为了说明代码:
+
+```
+/* XXX do needful stuff */
+```
+
+当你写到这里时,有时你不想停下来编写一些特别复杂的代码,你会之后再写,而不是现在。那就是我留给自己再次回来的地方。我插入一个带有 `XXX` 前缀的注释和一个描述需要做什么的简短注释。之后,当我有更多时间的时候,我会在源代码中寻找 `XXX`。使用什么前缀并不重要,只要确保它不太可能在另一个上下文环境(如函数名或变量)中出现在你代码库里。
+
+### 把它们组合在一起
+
+好吧,当你编译这个程序后,它*仍然*几乎没有任何作用。但是现在你有了一个坚实的骨架来构建你自己的命令行解析 C 程序。
+
+```
+/* main.c - the complete listing */
+
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+#define OPTSTR "vi:o:f:h"
+#define USAGE_FMT "%s [-v] [-f hexflag] [-i inputfile] [-o outputfile] [-h]"
+#define ERR_FOPEN_INPUT "fopen(input, r)"
+#define ERR_FOPEN_OUTPUT "fopen(output, w)"
+#define ERR_DO_THE_NEEDFUL "do_the_needful blew up"
+#define DEFAULT_PROGNAME "george"
+
+extern int errno;
+extern char *optarg;
+extern int opterr, optind;
+
+typedef struct {
+ int verbose;
+ uint32_t flags;
+ FILE *input;
+ FILE *output;
+} options_t;
+
+int dumb_global_variable = -11;
+
+void usage(char *progname, int opt);
+int do_the_needful(options_t *options);
+
+int main(int argc, char *argv[]) {
+ int opt;
+ options_t options = { 0, 0x0, stdin, stdout };
+
+ opterr = 0;
+
+ while ((opt = getopt(argc, argv, OPTSTR)) != EOF)
+ switch(opt) {
+ case 'i':
+ if (!(options.input = fopen(optarg, "r")) ){
+ perror(ERR_FOPEN_INPUT);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+ }
+ break;
+
+ case 'o':
+ if (!(options.output = fopen(optarg, "w")) ){
+ perror(ERR_FOPEN_OUTPUT);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+ }
+ break;
+
+ case 'f':
+ options.flags = (uint32_t )strtoul(optarg, NULL, 16);
+ break;
+
+ case 'v':
+ options.verbose += 1;
+ break;
+
+ case 'h':
+ default:
+ usage(basename(argv[0]), opt);
+ /* NOTREACHED */
+ break;
+ }
+
+ if (do_the_needful(&options) != EXIT_SUCCESS) {
+ perror(ERR_DO_THE_NEEDFUL);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+ }
+
+ return EXIT_SUCCESS;
+}
+
+void usage(char *progname, int opt) {
+ fprintf(stderr, USAGE_FMT, progname?progname:DEFAULT_PROGNAME);
+ exit(EXIT_FAILURE);
+ /* NOTREACHED */
+}
+
+int do_the_needful(options_t *options) {
+
+ if (!options) {
+ errno = EINVAL;
+ return EXIT_FAILURE;
+ }
+
+ if (!options->input || !options->output) {
+ errno = ENOENT;
+ return EXIT_FAILURE;
+ }
+
+ /* XXX do needful stuff */
+
+ return EXIT_SUCCESS;
+}
+```
+
+现在,你已经准备好编写更易于维护的 C 语言。如果你有任何问题或反馈,请在评论中分享。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/how-write-good-c-main-function
+
+作者:[Erik O'Shaughnessy][a]
+选题:[lujun9972][b]
+译者:[MjSeven](https://github.com/MjSeven)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jnyjny
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/code_hand_draw.png?itok=dpAf--Db (Hand drawing out the word "code")
+[2]: https://www.owasp.org/index.php/Null_Dereference
+[3]: https://opensource.com/sites/default/files/uploads/hatingotherpeoplescode-big.png (Parody O'Reilly book cover, "Hating Other People's Code")
+[4]: https://en.wikipedia.org/wiki/C_preprocessor
+[5]: https://linux.die.net/man/3/getopt
+[6]: http://www.opengroup.org/onlinepubs/009695399/functions/fopen.html
+[7]: http://www.opengroup.org/onlinepubs/009695399/functions/perror.html
+[8]: http://www.opengroup.org/onlinepubs/009695399/functions/exit.html
+[9]: http://www.opengroup.org/onlinepubs/009695399/functions/strtoul.html
+[10]: http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
diff --git a/published/20190529 NVMe on Linux.md b/published/20190529 NVMe on Linux.md
new file mode 100644
index 0000000000..374d3ef2f2
--- /dev/null
+++ b/published/20190529 NVMe on Linux.md
@@ -0,0 +1,68 @@
+[#]: collector: (lujun9972)
+[#]: translator: (warmfrog)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10946-1.html)
+[#]: subject: (NVMe on Linux)
+[#]: via: (https://www.networkworld.com/article/3397006/nvme-on-linux.html)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+Linux 上的 NVMe
+===============
+
+> 如果你还没注意到,一些极速的固态磁盘技术已经可以用在 Linux 和其他操作系统上了。
+
+![Sandra Henry-Stocker][1]
+
+NVMe 意即非易失性内存主机控制器接口规范,它是一个主机控制器接口和存储协议,用于加速企业和客户端系统以及固态驱动器(SSD)之间的数据传输。它通过电脑的高速 PCIe 总线工作。每当我看到这些名词时,我的感受是“羡慕”。而羡慕的原因很重要。
+
+使用 NVMe,数据传输的速度比旋转磁盘快很多。事实上,NVMe 驱动能够比 SATA SSD 快 7 倍。这比我们今天很多人用的固态硬盘快了 7 倍多。这意味着,如果你用一个 NVMe 驱动盘作为启动盘,你的系统能够启动的非常快。事实上,如今任何人买一个新的系统可能都不会考虑那些没有自带 NVMe 的,不管是服务器或者个人电脑。
+
+### NVMe 在 Linux 下能工作吗?
+
+是的!NVMe 自 Linux 内核 3.3 版本就支持了。然而,要升级系统,通常同时需要一个 NVMe 控制器和一个 NVMe 磁盘。一些外置磁盘也行,但是要连接到系统上,需要的可不仅仅是通用的 USB 接口。
+
+先使用下列命令检查内核版本:
+
+```
+$ uname -r
+5.0.0-15-generic
+```
+
+如果你的系统已经用了 NVMe,你将看到一个设备(例如,`/dev/nvme0`),但是只有在你安装了 NVMe 控制器的情况下才显示。如果你没有 NVMe 控制器,你可以用下列命令获取使用 NVMe 的相关信息。
+
+```
+$ modinfo nvme | head -6
+filename: /lib/modules/5.0.0-15-generic/kernel/drivers/nvme/host/nvme.ko
+version: 1.0
+license: GPL
+author: Matthew Wilcox
+srcversion: AA383008D5D5895C2E60523
+alias: pci:v0000106Bd00002003sv*sd*bc*sc*i*
+```
+
+### 了解更多
+
+如果你想了解极速的 NVMe 存储的更多细节,可在 [PCWorld][3] 获取。
+
+规范、白皮书和其他资源可在 [NVMexpress.org][4] 获取。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397006/nvme-on-linux.html
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[warmfrog](https://github.com/warmfrog)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/nvme-100797708-large.jpg
+[2]: https://www.networkworld.com/slideshow/153439/linux-best-desktop-distros-for-newbies.html#tk.nww-infsb
+[3]: https://www.pcworld.com/article/2899351/everything-you-need-to-know-about-nvme.html
+[4]: https://nvmexpress.org/
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/published/20190531 Learn Python with these awesome resources.md b/published/20190531 Learn Python with these awesome resources.md
new file mode 100644
index 0000000000..80aaa801f4
--- /dev/null
+++ b/published/20190531 Learn Python with these awesome resources.md
@@ -0,0 +1,91 @@
+[#]: collector: (lujun9972)
+[#]: translator: (tomjlw)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11015-1.html)
+[#]: subject: (Learn Python with these awesome resources)
+[#]: via: (https://opensource.com/article/19/5/resources-learning-python)
+[#]: author: (Don Watkins https://opensource.com/users/don-watkins)
+
+学习 Python 的精品 PLN 资源
+======
+
+> 通过将这些资源加入你自己的私人学习网络以拓展 Python 知识。
+
+
+
+我使用和教授 Python 已有很长时间了,但我总是乐于增加我对这门实用语言的知识。这就是为什么我一直试着拓展我的 Python [个人学习网络][2](PLN),这是一个描述用于分享信息的非正式的互惠型网络的概念。
+
+教育学家 [Kelly Paredes][3] 和 [Sean Tibor][4] 最近在他们的播客 [Teaching Python][5] 上谈到了如何搭建 Python PLN。我在克里夫兰的 [PyCon 2019][6] 遇到他们之后就订阅了这个频道(并把它们加入到我的 Python PLN 当中)。这个播客激发了我对 Python PLN 中的人的思考,包括那些我最近在 PyCon 遇到的人们。
+
+我会分享一些我找到 PLN 成员的地方;可能它们也可以变成你的 Python PLN 的一部分。
+
+### Young Coders 导师
+
+Python 基金会的活动协调者 [Betsy Waliszewski][7] 是我的 Python PLN 中的一员。当我们在 PyCon2019 见到时,因为我是个老师,她推荐我看看为十二岁及以上的孩子打造的 [Young Coders][8] 工作室。在那我遇到了正在负责这个计划的 [Katie Cunningham][9],它会教参与者如何搭建和配置树莓派并使用 Python 项目。年轻学生也会收到两本书 Jason Briggs 的 《[Python for Kids][10]》 和 Craig Richardson 的 《[Learn to Program with Minecraft][11]》。我一直寻找提升我教学水平的新方式,因此我在该会议上的 [NoStarch Press][12] 展台迅速拿到了两本 Minecraft 书。Katie 是一名优秀的教师,也是一名多产作家,拥有一个充满 Python 培训视频的 [YouTube][13] 精彩频道。
+
+我把 Kattie 与我在 Young Coders 工作室碰到的另外两个人加入我的 PLN:[Nat Dunn][14] 和 [Sean Valentine][15]。像 Katie 一样,他们自愿花时间把 Python 介绍给青年程序员们。Nat 是 [Webucator][16] 的总裁,这是一家 IT 培训公司,多年来一直是 Python 软件基金会赞助商,并赞助了 PyCon 2018 教育峰会。在将 Python 教他 13 岁的儿子和 14 岁的侄子之后,他决定在 Young Coders 任教。Sean 是 [Hidden Genius 项目][17] 的战略计划总监,这是一个针对黑人男性青年的技术及领导力打造的教导项目。Sean 说许多 Hidden Genius 参与者“用 Python 打造项目因此我们认为 [Young Coders] 是一个很好的合作机会”。了解 Hidden Genius 项目激发了我更深层次地思考编程的未来以及其改变生活的威力。
+
+### Open Spaces 聚会
+
+我发现 PyCon 的 [Open Spaces][18] —— 这是一个一小时左右的自组织的即兴聚会 —— 跟正式的项目活动一样有用。我的最爱之一是 [Circuit Playground Express][19] 设备,它是我们会议主题包的一部分。我很喜欢这个设备,并且 Open Space 提供了学习它的一条大道。组织者提供了工作表和一个 [Github][20] 仓库,其中包含有我们成功所需要的所有工具,也提供了一个上手实践的机会以及探索这个独特硬件的方向。
+
+这次会面激起了了我对学习 Circuit Playground Express 更新信息的兴趣,因此在 PyCon 之后, 我在 Twitter 上接触到了在会议上就该设备编程发表主旨演讲的 [Nina Zakharenko][21]。Nina 自从去年秋天我在 [All Things Open][23] 上听过她的演讲后就在我的 Python PLN 里了。我最近报名参加了她的 [Python 基础][24]课程以加深我的学习。Nina 推荐我将 [Kattni Rembor][25] 加入我的 Python PLN。他的[示例代码][26]正帮助我学习用 CircuitPython 编程。
+
+### 我的 PLN 中的其他资源
+
+我在 PyCon 2019 也遇见了 [Opensource.com][27] 社区版主 [Moshe Zadka][28],并和他来了场长谈。他分享了几个新的 Python 资源,包括 [如何像电脑科学家一样思考][29]。社区版主 [Seth Kenlon][30] 是我的 PLN 中的另一名成员;他发表了许多优秀的 [Python 文章][31],我也推荐你关注他。
+
+我的 Python PLN 每天都在持续扩大。除了我已经提到的,我同样推荐你关注 [Al Sweigart][32]、[Eric Matthes][33] 以及 [Adafruit][34]他们分享的优质内容。我也推荐这本书《[制作:由 Adafruit Circuit Playground Express 开始][35]》和《[Podcast.\_\_init\_\_][36]》,这是一个关于 Python 社区的播客。这两个都是我从我的 PLN 中了解到的。
+
+谁在你的 Python PLN 中?请在留言区分享你的最爱。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/resources-learning-python
+
+作者:[Don Watkins][a]
+选题:[lujun9972][b]
+译者:[tomjlw](https://github.com/tomjlw)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/don-watkins
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/reading_book_stars_list.png?itok=Iwa1oBOl (Book list, favorites)
+[2]: https://en.wikipedia.org/wiki/Personal_learning_network
+[3]: https://www.teachingpython.fm/hosts/kellypared
+[4]: https://twitter.com/smtibor
+[5]: https://www.teachingpython.fm/20
+[6]: https://us.pycon.org/2019/
+[7]: https://www.linkedin.com/in/betsywaliszewski
+[8]: https://us.pycon.org/2019/events/letslearnpython/
+[9]: https://www.linkedin.com/in/kcunning/
+[10]: https://nostarch.com/pythonforkids
+[11]: https://nostarch.com/programwithminecraft
+[12]: https://nostarch.com/
+[13]: https://www.youtube.com/c/KatieCunningham
+[14]: https://www.linkedin.com/in/natdunn/
+[15]: https://www.linkedin.com/in/sean-valentine-b370349b/
+[16]: https://www.webucator.com/
+[17]: http://www.hiddengeniusproject.org/
+[18]: https://us.pycon.org/2019/events/open-spaces/
+[19]: https://www.adafruit.com/product/3333
+[20]: https://github.com/adafruit/PyCon2019
+[21]: https://twitter.com/nnja
+[22]: https://www.youtube.com/watch?v=35mXD40SvXM
+[23]: https://allthingsopen.org/
+[24]: https://frontendmasters.com/courses/python/
+[25]: https://twitter.com/kattni
+[26]: https://github.com/kattni/ChiPy_2018
+[27]: http://Opensource.com
+[28]: https://opensource.com/users/moshez
+[29]: http://openbookproject.net/thinkcs/python/english3e/
+[30]: https://opensource.com/users/seth
+[31]: https://www.google.com/search?source=hp&ei=gVToXPq-FYXGsAW-mZ_YAw&q=site%3Aopensource.com+%22Seth+Kenlon%22+%2B+Python&oq=site%3Aopensource.com+%22Seth+Kenlon%22+%2B+Python&gs_l=psy-ab.12...627.15303..15584...1.0..0.176.2802.4j21......0....1..gws-wiz.....0..35i39j0j0i131j0i67j0i20i263.r2SAW3dxlB4
+[32]: http://alsweigart.com/
+[33]: https://twitter.com/ehmatthes?lang=en
+[34]: https://twitter.com/adafruit
+[35]: https://www.adafruit.com/product/3944
+[36]: https://www.pythonpodcast.com/episodes/
diff --git a/published/20190531 Unity Editor is Now Officially Available for Linux.md b/published/20190531 Unity Editor is Now Officially Available for Linux.md
new file mode 100644
index 0000000000..7b579caf06
--- /dev/null
+++ b/published/20190531 Unity Editor is Now Officially Available for Linux.md
@@ -0,0 +1,89 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10974-1.html)
+[#]: subject: (Unity Editor is Now Officially Available for Linux)
+[#]: via: (https://itsfoss.com/unity-editor-linux/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+Unity 编辑器现已正式面向 Linux 推出
+======
+
+如果你是设计师、开发者或艺术家,你可能一直在使用 Linux 上的实验性 [Unity 编辑器][1]。然而,不能一直用实验性版本 —— 开发者需要一个完整稳定的工作经验。
+
+因此,他们最近宣布你可以在 Linux 上使用完整功能的 Unity 编辑器了。
+
+虽然这是一个令人兴奋的消息,但它正式支持哪些 Linux 发行版?我们来谈谈更多细节……
+
+> 非 FOSS 警告
+
+> Linux (或任何其他平台)上的 Unity 编辑器不是开源软件。我们在这里介绍它是因为:
+
+### 官方支持 Ubuntu 和 CentOS 7
+
+![][2]
+
+无论你拥有个人许可还是专业许可,如果你安装了 Unity 2019.1 或更高版本,都可以使用该编辑器。
+
+此外,他们优先支持 Ubuntu 16.04、Ubuntu 18.04 和 CentOS 7。
+
+在[公告][3]中,他们还提到了支持的配置:
+
+* x86-64 架构
+* 运行在 X11 窗口系统之上的 Gnome 桌面环境
+* Nvidia 官方专有显卡驱动和 AMD Mesa 显卡驱动
+* 桌面计算机,在没有仿真或兼容层的设备/硬件上运行
+
+你可以尝试其他的 —— 但最好坚持官方要求以获得最佳体验。
+
+> 关于第三方工具的说明
+
+> 如果你碰巧在某个项目中使用了任何第三方工具,那么必须单独检查它们是否支持。
+
+### 如何在 Linux 上安装 Unity 编辑器
+
+现在你已经了解了,那么该如何安装?
+
+要安装 Unity,你需要下载并安装 [Unity Hub][4]。
+
+![Unity Hub][5]
+
+你需要完成以下步骤:
+
+* 从[官方论坛页面][4]下载适用于 Linux 的 Unity Hub。
+* 它将下载一个 AppImage 文件。简单地说,让它可执行并运行它。如果你不了解,你应该查看关于[如何在 Linux 上使用 AppImage][6] 的指南。
+* 启动 Unity Hub 后,它会要求你使用 Unity ID 登录(或注册)以激活许可证。有关许可证生效的更多信息,请参阅他们的 [FAQ 页面][7]。
+* 使用 Unity ID 登录后,进入 “Installs” 选项(如上图所示)并添加所需的版本/组件。
+
+就是这些了。这就是获取并快速安装的最佳方法。
+
+### 总结
+
+即使这是一个令人兴奋的消息,但官方配置支持似乎并不广泛。如果你在 Linux 上使用它,请在[他们的 Linux 论坛帖子][9]上分享你的反馈和意见。
+
+你觉得怎么样?此外,你是使用 Unity Hub 安装它,还是有更好的方法来安装?
+
+请在下面的评论中告诉我们你的想法。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/unity-editor-linux/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://unity3d.com/unity/editor
+[2]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/Unity-Editor-on-Linux.png?resize=800%2C450&ssl=1
+[3]: https://blogs.unity3d.com/2019/05/30/announcing-the-unity-editor-for-linux/
+[4]: https://forum.unity.com/threads/unity-hub-v-1-6-0-is-now-available.640792/
+[5]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/05/unity-hub.jpg?fit=800%2C532&ssl=1
+[6]: https://itsfoss.com/use-appimage-linux/
+[7]: https://support.unity3d.com/hc/en-us/categories/201268913-Licenses
+[9]: https://forum.unity.com/forums/linux-editor.93/
diff --git a/published/20190531 Why translation platforms matter.md b/published/20190531 Why translation platforms matter.md
new file mode 100644
index 0000000000..92cdbb20b1
--- /dev/null
+++ b/published/20190531 Why translation platforms matter.md
@@ -0,0 +1,87 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10953-1.html)
+[#]: subject: (Why translation platforms matter)
+[#]: via: (https://opensource.com/article/19/5/translation-platforms)
+[#]: author: (Jean-Baptiste Holcroft https://opensource.com/users/jibec/users/annegentle/users/bcotton)
+
+什么是翻译平台最重要的地方?
+======
+
+> 技术上的考虑并不是判断一个好的翻译平台的最佳方式。
+
+
+
+语言翻译可以使开源软件能够被世界各地的人们使用,这是非开发人员参与他们喜欢的(开源)项目的好方法。有许多[翻译工具][2],你可以根据他们处理翻译中涉及的主要功能区域的能力来评估:技术交互能力、团队支持能力和翻译支持能力。
+
+技术交互方面包括:
+
+* 支持的文件格式
+* 与开源存储库的同步
+* 自动化支持工具
+* 接口可能性
+
+对团队合作(也可称为“社区活力”)的支持包括该平台如何:
+
+* 监控变更(按译者、项目等)
+* 跟进由项目推动的更新
+* 显示进度状态
+* 是否启用审核和验证步骤
+* 协助(来自同一团队和跨语言的)翻译人员和项目维护人员之间的讨论
+* 平台支持的全球通讯(新闻等)
+
+翻译协助包括:
+
+* 清晰、符合人体工程学的界面
+* 简单几步就可以找到项目并开始工作
+* 可以简单地了解到翻译和分发之间流程
+* 可以使用翻译记忆机
+* 词汇表丰富
+
+前两个功能区域与源代码管理平台的差别不大,只有一些小的差别。我觉得最后一个区域也主要与源代码有关。但是,它们处理的数据非常不同,翻译平台的用户通常也不如开发人员了解技术,而数量也更多。
+
+### 我的推荐
+
+在我看来,GNOME 平台提供了最好的翻译平台,原因如下:
+
+* 其网站包含了团队组织和翻译平台。很容易看出谁在负责以及他们在团队中的角色。一切都集中在几个屏幕之内。
+* 很容易找到要处理的内容,并且你会很快意识到你必须将文件下载到本地计算机并在修改后将其发回。这个流程不是很先进,但逻辑很容易理解。
+* 一旦你发回文件,平台就可以向邮件列表发送通告,以便团队知道后续步骤,并且可以全局轻松讨论翻译(而不是评论特定句子)。
+* 它支持多达 297 种语言。
+* 它显示了基本句子、高级菜单和文档的明确的进度百分比。
+
+再加上可预测的 GNOME 发布计划,社区可以使用一切可以促进社区工作的工具。
+
+如果我们看看 Debian 翻译团队,他们多年来一直在为 Debian (LCTT 译注:此处原文是“Fedora”,疑为笔误)翻译了难以想象的大量内容(尤其是新闻),我们看到他们有一个高度以来于规则的翻译流程,完全基于电子邮件,手动推送到存储库。该团队还将所有内容都放在流程中,而不是工具中,尽管这似乎需要相当大的技术能力,但它已成为领先的语言群体之一,已经运作多年。
+
+我认为,成功的翻译平台的主要问题不是基于单一的(技术、翻译)工作的能力,而是基于如何构建和支持翻译团队的流程。这就是可持续性的原因。
+
+生产过程是构建团队最重要的方式;通过正确地将它们组合在一起,新手很容易理解该过程是如何工作的,采用它们,并将它们解释给下一组新人。
+
+要建立一个可持续发展的社区,首先要考虑的是支持协同工作的工具,然后是可用性。
+
+这解释了我为什么对 [Zanata][3] 工具沮丧,从技术和界面的角度来看,这是有效的,但在帮助构建社区方面却很差。我认为翻译是一个社区驱动的过程(可能是开源软件开发中最受社区驱动的过程之一),这对我来说是一个关键问题。
+
+* * *
+
+本文改编自“[什么是一个好的翻译平台?][4]”,最初发表在 Jibec 期刊上,并经许可重复使用。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/translation-platforms
+
+作者:[Jean-Baptiste Holcroft][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jibec/users/annegentle/users/bcotton
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/people_remote_teams_world.png?itok=_9DCHEel
+[2]: https://opensource.com/article/17/6/open-source-localization-tools
+[3]: http://zanata.org/
+[4]: https://jibecfed.fedorapeople.org/blog-hugo/en/2016/09/whats-a-good-translation-platform/
diff --git a/published/20190604 How To Verify NTP Setup (Sync) is Working or Not In Linux.md b/published/20190604 How To Verify NTP Setup (Sync) is Working or Not In Linux.md
new file mode 100644
index 0000000000..4c28227f63
--- /dev/null
+++ b/published/20190604 How To Verify NTP Setup (Sync) is Working or Not In Linux.md
@@ -0,0 +1,145 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10951-1.html)
+[#]: subject: (How To Verify NTP Setup (Sync) is Working or Not In Linux?)
+[#]: via: (https://www.2daygeek.com/check-verify-ntp-sync-is-working-or-not-in-linux-using-ntpq-ntpstat-timedatectl/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+如何在 Linux 下确认 NTP 是否同步?
+======
+
+
+
+NTP 意即网络时间协议,它通过网络同步计算机系统之间的时钟。NTP 服务器可以使组织中的所有服务器保持同步,以准确时间执行基于时间的作业。NTP 客户端会将其时钟与 NTP 服务器同步。
+
+我们已经写了一篇关于 NTP 服务器和客户端安装和配置的文章。如果你想查看这些文章,请导航至以下链接。
+
+ * [如何在 Linux 上安装、配置 NTP 服务器和客户端?][1]
+ * [如何安装和配置 Chrony 作为 NTP 客户端?][2]
+
+我假设我你经使用上述链接设置了 NTP 服务器和 NTP 客户端。现在,如何验证 NTP 设置是否正常工作?
+
+Linux 中有三个命令可用于验证 NTP 同步情况。详情如下。在本文中,我们将告诉您如何使用所有这些命令验证 NTP 同步。
+
+ * `ntpq`:ntpq 是一个标准的 NTP 查询程序。
+ * `ntpstat`:显示网络世界同步状态。
+ * `timedatectl`:它控制 systemd 系统中的系统时间和日期。
+
+### 方法 1:如何使用 ntpq 命令检查 NTP 状态?
+
+`ntpq` 实用程序用于监视 NTP 守护程序 `ntpd` 的操作并确定性能。
+
+该程序可以以交互模式运行,也可以使用命令行参数进行控制。它通过向服务器发送多个查询来打印出连接的对等项列表。如果 NTP 正常工作,你将获得类似于下面的输出。
+
+```
+# ntpq -p
+
+ remote refid st t when poll reach delay offset jitter
+==============================================================================
+*CentOS7.2daygee 133.243.238.163 2 u 14 64 37 0.686 0.151 16.432
+```
+
+细节:
+
+* `-p`:打印服务器已知的对等项列表以及其状态摘要。
+
+### 方法 2:如何使用 ntpstat 命令检查 NTP 状态?
+
+`ntpstat` 将报告在本地计算机上运行的 NTP 守护程序(`ntpd`)的同步状态。如果发现本地系统与参考时间源保持同步,则 `ntpstat` 将报告大致的时间精度。
+
+`ntpstat` 命令根据 NTP 同步状态返回三种状态码。详情如下。
+
+* `0`:如果时钟同步则返回 0。
+* `1`:如果时钟不同步则返回 1。
+* `2`:如果时钟状态不确定,则返回 2,例如 ntpd 不可联系时。
+
+```
+# ntpstat
+
+synchronised to NTP server (192.168.1.8) at stratum 3
+ time correct to within 508 ms
+ polling server every 64 s
+```
+
+### 方法 3:如何使用 timedatectl 命令检查 NTP 状态?
+
+[timedatectl 命令][3]用于查询和更改系统时钟及其在 systmed 系统中的设置。
+
+```
+# timedatectl
+或
+# timedatectl status
+
+ Local time: Thu 2019-05-30 05:01:05 CDT
+ Universal time: Thu 2019-05-30 10:01:05 UTC
+ RTC time: Thu 2019-05-30 10:01:05
+ Time zone: America/Chicago (CDT, -0500)
+ NTP enabled: yes
+NTP synchronized: yes
+ RTC in local TZ: no
+ DST active: yes
+ Last DST change: DST began at
+ Sun 2019-03-10 01:59:59 CST
+ Sun 2019-03-10 03:00:00 CDT
+ Next DST change: DST ends (the clock jumps one hour backwards) at
+ Sun 2019-11-03 01:59:59 CDT
+ Sun 2019-11-03 01:00:00 CST
+```
+
+### 更多技巧
+
+Chrony 是一个 NTP 客户端的替代品。它可以更快地同步系统时钟,时间精度更高,对于一直不在线的系统尤其有用。
+
+chronyd 较小,它使用较少的内存,只在必要时才唤醒 CPU,这样可以更好地节省电能。即使网络拥塞较长时间,它也能很好地运行。
+
+你可以使用以下任何命令来检查 Chrony 状态。
+
+检查 Chrony 跟踪状态。
+
+```
+# chronyc tracking
+
+Reference ID : C0A80105 (CentOS7.2daygeek.com)
+Stratum : 3
+Ref time (UTC) : Thu Mar 28 05:57:27 2019
+System time : 0.000002545 seconds slow of NTP time
+Last offset : +0.001194361 seconds
+RMS offset : 0.001194361 seconds
+Frequency : 1.650 ppm fast
+Residual freq : +184.101 ppm
+Skew : 2.962 ppm
+Root delay : 0.107966967 seconds
+Root dispersion : 1.060455322 seconds
+Update interval : 2.0 seconds
+Leap status : Normal
+```
+
+运行 `sources` 命令以显示有关当前时间源的信息。
+
+```
+# chronyc sources
+
+210 Number of sources = 1
+MS Name/IP address Stratum Poll Reach LastRx Last sample
+===============================================================================
+^* CentOS7.2daygeek.com 2 6 17 62 +36us[+1230us] +/- 1111ms
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/check-verify-ntp-sync-is-working-or-not-in-linux-using-ntpq-ntpstat-timedatectl/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-10811-1.html
+[2]: https://linux.cn/article-10820-1.html
+[3]: https://www.2daygeek.com/change-set-time-date-and-timezone-on-linux/
diff --git a/published/20190604 Kubernetes is a dump truck- Here-s why.md b/published/20190604 Kubernetes is a dump truck- Here-s why.md
new file mode 100644
index 0000000000..b8f0930300
--- /dev/null
+++ b/published/20190604 Kubernetes is a dump truck- Here-s why.md
@@ -0,0 +1,53 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11011-1.html)
+[#]: subject: (Kubernetes is a dump truck: Here's why)
+[#]: via: (https://opensource.com/article/19/6/kubernetes-dump-truck)
+[#]: author: (Scott McCarty https://opensource.com/users/fatherlinux)
+
+为什么说 Kubernetes 是一辆翻斗车
+======
+
+> 翻斗车是解决各种基本业务问题的优雅解决方案。
+
+
+
+这篇文章写于 Kubernetes 的生日(6 月 7 日星期五)前夕。
+
+翻斗车很优雅。说真的,不信你听我说。它们以优雅的方式解决了各种各样的技术问题。它们可以搬动泥土、砾石、岩石、煤炭、建筑材料或道路上的障碍。它们甚至可以拉动拖车及它们上面的其他重型设备。你可以给一辆翻斗车装上五吨泥土,然后自驾游遍全国。对于像我这样的电脑极客来说,那就是优雅。
+
+但是,它们并不容易使用。驾驶翻斗车需要特殊的驾驶执照。它们也不容易装配和维护。购买翻斗车和各种维护时要做很多选择。但是,它们可以优雅的搬动那些垃圾。
+
+你知道搬动垃圾有什么不优雅的地方吗?假如你有一款新型的紧凑型轿车,它们到处可以买到,易于驾驶、更易于维护。但是,用它们来装泥土就很糟糕。这需要跑 200 趟才能运走 5 吨垃圾,而且,之后没人再会想要这辆车了。
+
+好吧,你可以买一辆出售的翻斗车,而不是想自己造一辆。但是我不同,我是个极客,我喜欢自己造东西。但……
+
+如果你拥有一家建筑公司,你就不会想着自己造一辆翻斗车。你肯定不会维持一条供应链来重构翻斗车(这可是一条很大的供应链)。但你可以学会驾驶一辆。
+
+好吧,我的这个比喻很粗糙,但很容易理解。易用性是相对的,易于维护是相对的,易于装配也是相对的。这实际上取决于你想要做什么。[Kubernetes][2] 也不例外。
+
+一次性构建 Kubernetes 并不太难。配置好 Kubernetes 呢?好吧,这稍微难一些。你如何看待 KubeCon?它们又宣布了多少新项目?哪些是“真实的”呢?而你应该学习哪些?你对 Harbour、TikV、NATD、Vitess,开放策略代理有多深入的了解?更不用说 Envoy、eBPF 和 Linux 中的一系列底层技术?这就像是 1904 年工业革命爆发时建造翻斗车一样,你要弄清楚使用的螺钉、螺栓、金属和活塞。(有没有蒸汽朋克在这里吗?)
+
+像翻斗车一样构造和配置 Kubernetes 是一个技术问题,如果你从事金融服务、零售、生物研究、食品服务等等,这可能不是你应该做的事情。但是,学习如何驾驶 Kubernetes 肯定是你应该学习的东西。
+
+Kubernetes 就像一辆翻斗车,因其可以解决的各种技术问题(以及它所拖带的生态系统)而优雅。所以,我会给你一句引用的话,这是我的一位计算机科学教授在我大学的第一年告诉我们的,她说,“有一天,你会看到一段代码并对自己说,‘真特么优雅!’”
+
+Kubernetes 很优雅。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/kubernetes-dump-truck
+
+作者:[Scott McCarty][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/fatherlinux
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/dump_truck_car_container_kubernetes.jpg?itok=4BdmyVGd (Dump truck with kids standing in the foreground)
+[2]: https://kubernetes.io/
diff --git a/published/20190604 Two Methods To Check Or List Installed Security Updates on Redhat (RHEL) And CentOS System.md b/published/20190604 Two Methods To Check Or List Installed Security Updates on Redhat (RHEL) And CentOS System.md
new file mode 100644
index 0000000000..97cb82380d
--- /dev/null
+++ b/published/20190604 Two Methods To Check Or List Installed Security Updates on Redhat (RHEL) And CentOS System.md
@@ -0,0 +1,164 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10960-1.html)
+[#]: subject: (Two Methods To Check Or List Installed Security Updates on Redhat (RHEL) And CentOS System)
+[#]: via: (https://www.2daygeek.com/check-installed-security-updates-on-redhat-rhel-and-centos-system/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+在 RHEL 和 CentOS 上检查或列出已安装的安全更新的两种方法
+======
+
+
+
+我们过去曾写过两篇关于这个主题的文章,每篇文章都是根据不同的要求发表的。如果你想在开始之前浏览这些文章。请通过以下链接:
+
+* [如何检查 RHEL 和 CentOS 上的可用安全更新?][1]
+* [在 RHEL 和 CentOS 上安装安全更新的四种方法?][2]
+
+这些文章与其他文章相互关联,因此,在深入研究之前,最好先阅读这些文章。
+
+在本文中,我们将向你展示如何检查已安装的安全更新。我会介绍两种方法,你可以选择最适合你的。
+
+此外,我还添加了一个小的 shell 脚本,它为你提供已安装的安全包计数。
+
+运行以下命令获取系统上已安装的安全更新的列表。
+
+```
+# yum updateinfo list security installed
+
+Loaded plugins: changelog, package_upload, product-id, search-disabled-repos,
+ : subscription-manager, verify, versionlock
+RHSA-2015:2315 Moderate/Sec. ModemManager-glib-1.1.0-8.git20130913.el7.x86_64
+RHSA-2015:2315 Moderate/Sec. NetworkManager-1:1.0.6-27.el7.x86_64
+RHSA-2016:2581 Low/Sec. NetworkManager-1:1.4.0-12.el7.x86_64
+RHSA-2017:2299 Moderate/Sec. NetworkManager-1:1.8.0-9.el7.x86_64
+RHSA-2015:2315 Moderate/Sec. NetworkManager-adsl-1:1.0.6-27.el7.x86_64
+RHSA-2016:2581 Low/Sec. NetworkManager-adsl-1:1.4.0-12.el7.x86_64
+RHSA-2017:2299 Moderate/Sec. NetworkManager-adsl-1:1.8.0-9.el7.x86_64
+RHSA-2015:2315 Moderate/Sec. NetworkManager-bluetooth-1:1.0.6-27.el7.x86_64
+```
+
+要计算已安装的安全包的数量,请运行以下命令:
+
+```
+# yum updateinfo list security installed | wc -l
+1046
+```
+
+仅打印安装包列表:
+
+```
+# yum updateinfo list security all | grep -w "i"
+
+i RHSA-2015:2315 Moderate/Sec. ModemManager-glib-1.1.0-8.git20130913.el7.x86_64
+i RHSA-2015:2315 Moderate/Sec. NetworkManager-1:1.0.6-27.el7.x86_64
+i RHSA-2016:2581 Low/Sec. NetworkManager-1:1.4.0-12.el7.x86_64
+i RHSA-2017:2299 Moderate/Sec. NetworkManager-1:1.8.0-9.el7.x86_64
+i RHSA-2015:2315 Moderate/Sec. NetworkManager-adsl-1:1.0.6-27.el7.x86_64
+i RHSA-2016:2581 Low/Sec. NetworkManager-adsl-1:1.4.0-12.el7.x86_64
+i RHSA-2017:2299 Moderate/Sec. NetworkManager-adsl-1:1.8.0-9.el7.x86_64
+i RHSA-2015:2315 Moderate/Sec. NetworkManager-bluetooth-1:1.0.6-27.el7.x86_64
+i RHSA-2016:2581 Low/Sec. NetworkManager-bluetooth-1:1.4.0-12.el7.x86_64
+i RHSA-2017:2299 Moderate/Sec. NetworkManager-bluetooth-1:1.8.0-9.el7.x86_64
+i RHSA-2015:2315 Moderate/Sec. NetworkManager-config-server-1:1.0.6-27.el7.x86_64
+i RHSA-2016:2581 Low/Sec. NetworkManager-config-server-1:1.4.0-12.el7.x86_64
+i RHSA-2017:2299 Moderate/Sec. NetworkManager-config-server-1:1.8.0-9.el7.noarch
+```
+
+要计算已安装的安全包的数量,请运行以下命令:
+
+```
+# yum updateinfo list security all | grep -w "i" | wc -l
+1043
+```
+
+或者,你可以检查指定包修复的漏洞列表。
+
+在此例中,我们将检查 “openssh” 包中已修复的漏洞列表:
+
+```
+# rpm -q --changelog openssh | grep -i CVE
+
+- Fix for CVE-2017-15906 (#1517226)
+- CVE-2015-8325: privilege escalation via user's PAM environment and UseLogin=yes (#1329191)
+- CVE-2016-1908: possible fallback from untrusted to trusted X11 forwarding (#1298741)
+- CVE-2016-3115: missing sanitisation of input for X11 forwarding (#1317819)
+- prevents CVE-2016-0777 and CVE-2016-0778
+- Security fixes released with openssh-6.9 (CVE-2015-5352) (#1247864)
+- only query each keyboard-interactive device once (CVE-2015-5600) (#1245971)
+- add new option GSSAPIEnablek5users and disable using ~/.k5users by default CVE-2014-9278
+- prevent a server from skipping SSHFP lookup - CVE-2014-2653 (#1081338)
+- change default value of MaxStartups - CVE-2010-5107 (#908707)
+- CVE-2010-4755
+- merged cve-2007_3102 to audit patch
+- fixed audit log injection problem (CVE-2007-3102)
+- CVE-2006-5794 - properly detect failed key verify in monitor (#214641)
+- CVE-2006-4924 - prevent DoS on deattack detector (#207957)
+- CVE-2006-5051 - don't call cleanups from signal handler (#208459)
+- use fork+exec instead of system in scp - CVE-2006-0225 (#168167)
+```
+
+同样,你可以通过运行以下命令来检查相应的包中是否修复了指定的漏洞:
+
+```
+# rpm -q --changelog openssh | grep -i CVE-2016-3115
+
+- CVE-2016-3115: missing sanitisation of input for X11 forwarding (#1317819)
+```
+
+### 如何使用 Shell 脚本计算安装的安全包?
+
+我添加了一个小的 shell 脚本,它可以帮助你计算已安装的安全包列表。
+
+```
+# vi /opt/scripts/security-check.sh
+
+#!/bin/bash
+echo "+-------------------------+"
+echo "|Security Advisories Count|"
+echo "+-------------------------+"
+for i in Important Moderate Low
+do
+sec=$(yum updateinfo list security installed | grep $i | wc -l)
+echo "$i: $sec"
+done | column -t
+echo "+-------------------------+"
+```
+
+给 `security-check.sh` 文件执行权限。
+
+```
+$ chmod +x security-check.sh
+```
+
+最后执行脚本统计。
+
+```
+# sh /opt/scripts/security-check.sh
+
++-------------------------+
+|Security Advisories Count|
++-------------------------+
+Important: 480
+Moderate: 410
+Low: 111
++-------------------------+
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/check-installed-security-updates-on-redhat-rhel-and-centos-system/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://linux.cn/article-10938-1.html
+[2]: https://www.2daygeek.com/install-security-updates-on-redhat-rhel-centos-system/
diff --git a/published/20190606 How Linux can help with your spelling.md b/published/20190606 How Linux can help with your spelling.md
new file mode 100644
index 0000000000..abb26b7f91
--- /dev/null
+++ b/published/20190606 How Linux can help with your spelling.md
@@ -0,0 +1,262 @@
+[#]: collector: (lujun9972)
+[#]: translator: (Modrisco)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10986-1.html)
+[#]: subject: (How Linux can help with your spelling)
+[#]: via: (https://www.networkworld.com/article/3400942/how-linux-can-help-with-your-spelling.html)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+如何用 Linux 帮助你拼写
+======
+
+> 无论你是纠结一个难以理解的单词,还是在将报告发给老板之前再检查一遍,Linux 都可以帮助你解决拼写问题。
+
+
+
+Linux 为数据分析和自动化提供了各种工具,它也帮助我们解决了一个一直都在纠结的问题 —— 拼写!无论在写每周报告时努力拼出一个单词,还是在提交商业计划书之前想要借助计算机的“眼睛”来找出你的拼写错误。现在我们来看一下它是如何帮助你的。
+
+### look
+
+`look` 是其中一款工具。如果你知道一个单词的开头,你就可以用这个命令来获取以这些字母开头的单词列表。除非提供了替代词源,否则 `look` 将使用 `/usr/share/dict/words` 中的内容来为你标识单词。这个文件有数十万个单词,可以满足我们日常使用的大多数英语单词的需要,但是它可能不包含我们计算机领域中的一些人倾向于使用的更加生僻的单词,如 zettabyte。
+
+`look` 命令的语法非常简单。输入 `look word` ,它将遍历单词文件中的所有单词并找到匹配项。
+
+```
+$ look amelio
+ameliorable
+ameliorableness
+ameliorant
+ameliorate
+ameliorated
+ameliorates
+ameliorating
+amelioration
+ameliorations
+ameliorativ
+ameliorative
+amelioratively
+ameliorator
+amelioratory
+```
+
+如果你遇到系统中单词列表中未包含的单词,将无法获得任何输出。
+
+```
+$ look zetta
+$
+```
+
+如果你没有看到你所希望出现的单词,也不要绝望。你可以在你的单词文件中添加单词,甚至引用一个完全不同的单词列表,在网上找一个或者干脆自己创建一个。你甚至不必将添加的单词放在按字母顺序排列的正确位置;只需将其添加到文件的末尾即可。但是,你必须以 root 用户身份执行此操作。例如(要注意 `>>`!):
+
+```
+# echo “zettabyte” >> /usr/share/dict/words
+```
+
+当使用不同的单词列表时,例如这个例子中的 “jargon” ,你只需要添加文件的名称。如果不采用默认文件时,请使用完整路径。
+
+```
+$ look nybble /usr/share/dict/jargon
+nybble
+nybbles
+```
+
+`look` 命令大小写不敏感,因此你不必关心要查找的单词是否应该大写。
+
+```
+$ look zet
+ZETA
+Zeta
+zeta
+zetacism
+Zetana
+zetas
+Zetes
+zetetic
+Zethar
+Zethus
+Zetland
+Zetta
+```
+
+当然,不是所有的单词列表都是一样的。一些 Linux 发行版在单词文件中提供了*多得多*的内容。你的文件中可能有十万或者更多倍的单词。
+
+在我的一个 Linux 系统中:
+
+```
+$ wc -l /usr/share/dict/words
+102402 /usr/share/dict/words
+```
+
+在另一个系统中:
+
+```
+$ wc -l /usr/share/dict/words
+479828 /usr/share/dict/words
+```
+
+请记住,`look` 命令只适用于通过单词开头查找,但如果你不想从单词的开头查找,还可以使用其他选项。
+
+### grep
+
+我们深爱的 `grep` 命令像其他工具一样可以从一个单词文件中选出单词。如果你正在找以某些字母开头或结尾的单词,使用 `grep` 命令是自然而然的事情。它可以通过单词的开头、结尾或中间部分来匹配单词。系统中的单词文件可以像使用 `look` 命令时在 `grep` 命令中轻松使用。不过唯一的缺点是你需要指定文件,这一点与 `look` 不尽相同。
+
+在单词的开头前加上 `^`:
+
+```
+$ grep ^terra /usr/share/dict/words
+terrace
+terrace's
+terraced
+terraces
+terracing
+terrain
+terrain's
+terrains
+terrapin
+terrapin's
+terrapins
+terraria
+terrarium
+terrarium's
+terrariums
+```
+
+在单词的结尾后加上 `$`:
+
+```
+$ grep bytes$ /usr/share/dict/words
+bytes
+gigabytes
+kilobytes
+megabytes
+terabytes
+```
+
+使用 `grep` 时,你需要考虑大小写,不过 `grep` 命令也提供了一些选项。
+
+```
+$ grep ^[Zz]et /usr/share/dict/words
+Zeta
+zeta
+zetacism
+Zetana
+zetas
+Zetes
+zetetic
+Zethar
+Zethus
+Zetland
+Zetta
+zettabyte
+```
+
+为单词文件添加软连接能使这种搜索方式更加便捷:
+
+```
+$ ln -s /usr/share/dict/words words
+$ grep ^[Zz]et words
+Zeta
+zeta
+zetacism
+Zetana
+zetas
+Zetes
+zetetic
+Zethar
+Zethus
+Zetland
+Zetta
+zettabytye
+```
+
+### aspell
+
+`aspell` 命令提供了一种不同的方式。它提供了一种方法来检查你提供给它的任何文件或文本的拼写。你可以通过管道将文本传递给它,然后它会告诉你哪些单词看起来有拼写错误。如果所有单词都拼写正确,则不会有任何输出。
+
+```
+$ echo Did I mispell that? | aspell list
+mispell
+$ echo I can hardly wait to try out aspell | aspell list
+aspell
+$ echo Did I misspell anything? | aspell list
+$
+```
+
+`list` 参数告诉 `aspell` 为标准输入单词提供拼写错误的单词列表。
+
+你还可以使用 `aspell` 来定位和更正文本文件中的单词。如果它发现一个拼写错误的单词,它将为你提供一个相似(但拼写正确的)单词列表来替换这个单词,你也可以将该单词加入个人词库(`~/.aspell.en.pws`)并忽略拼写错误,或者完全中止进程(使文件保持处理前的状态)。
+
+```
+$ aspell -c mytext
+```
+
+一旦 `aspell` 发现一个单词出现了拼写错误,它将会为不正确的 “mispell” 提供一个选项列表:
+
+```
+1) mi spell 6) misplay
+2) mi-spell 7) spell
+3) misspell 8) misapply
+4) Ispell 9) Aspell
+5) misspells 0) dispel
+i) Ignore I) Ignore all
+r) Replace R) Replace all
+a) Add l) Add Lower
+b) Abort x) Exit
+```
+
+请注意,备选单词和拼写是数字编号的,而其他选项是由字母选项表示的。你可以选择备选拼写中的一项或者自己输入替换项。“Abort” 选项将使文件保持不变,即使你已经为某些单词选择了替换。你选择添加的单词将被插入到本地单词文件中(例如 `~/.aspell.en.pws`)。
+
+#### 其他单词列表
+
+厌倦了英语? `aspell` 命令可以在其他语言中使用,只要你添加了相关语言的单词列表。例如,在 Debian 系统中添加法语的词库,你可以这样做:
+
+```
+$ sudo apt install aspell-fr
+```
+
+这个新的词库文件会被安装为 `/usr/share/dict/French`。为了使用它,你只需要简单地告诉 `aspell` 你想要使用替换的单词列表:
+
+```
+$ aspell --lang=fr -c mytext
+```
+
+这种情况下,当 `aspell` 读到单词 “one” 时,你可能会看到下面的情况:
+
+```
+1) once 6) orné
+2) onde 7) ne
+3) ondé 8) né
+4) onze 9) on
+5) orne 0) cône
+i) Ignore I) Ignore all
+r) Replace R) Replace all
+a) Add l) Add Lower
+b) Abort x) Exit
+```
+
+你也可以从 [GNU 官网][3]获取其他语言的词库。
+
+### 总结
+
+即使你是全国拼字比赛的冠军,你可能偶尔也会需要一点拼写方面的帮助,哪怕只是为了找出你手滑打错的单词。`aspell` 工具,加上 `look` 和 `grep` 命令已经准备来助你一臂之力了。
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400942/how-linux-can-help-with-your-spelling.html
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[Modrisco](https://github.com/Modrisco)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/06/linux-spelling-100798596-large.jpg
+[2]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
+[3]: ftp://ftp.gnu.org/gnu/aspell/dict/0index.html
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/published/20190607 5 reasons to use Kubernetes.md b/published/20190607 5 reasons to use Kubernetes.md
new file mode 100644
index 0000000000..8de8d3ad4a
--- /dev/null
+++ b/published/20190607 5 reasons to use Kubernetes.md
@@ -0,0 +1,68 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10973-1.html)
+[#]: subject: (5 reasons to use Kubernetes)
+[#]: via: (https://opensource.com/article/19/6/reasons-kubernetes)
+[#]: author: (Daniel Oh https://opensource.com/users/daniel-oh)
+
+使用 Kubernetes 的 5 个理由
+======
+
+> Kubernetes 解决了一些开发和运维团队每天关注的的常见问题。
+
+
+
+[Kubernetes][2](K8S)是面向企业的开源容器编排工具的事实标准。它提供了应用部署、扩展、容器管理和其他功能,使企业能够通过容错能力快速优化硬件资源利用率并延长生产环境运行时间。该项目最初由谷歌开发,并将该项目捐赠给[云原生计算基金会][3](CNCF)。2018 年,它成为第一个从 CNCF [毕业][4]的项目。
+
+这一切都很好,但它并不能解释为什么开发者和运维人员应该在 Kubernetes 上投入宝贵的时间和精力。Kubernetes 之所以如此有用,是因为它有助于开发者和运维人员迅速解决他们每天都在努力解决的问题。
+
+以下是 Kubernetes 帮助开发者和运维人员解决他们最常见问题的五种能力。
+
+### 1、厂商无关
+
+许多公有云提供商不仅提供托管 Kubernetes 服务,还提供许多基于这些服务构建的云产品,来用于本地应用容器编排。由于与供应商无关,使运营商能够轻松、安全地设计、构建和管理多云和混合云平台,而不会有供应商锁定的风险。Kubernetes 还消除了运维团队对复杂的多云/混合云战略的担忧。
+
+### 2、服务发现
+
+为了开发微服务应用,Java 开发人员必须控制服务可用性(就应用是否可以提供服务而言),并确保服务持续存在,以响应客户端的请求,而没有任何例外。Kubernetes 的[服务发现功能][5]意味着开发人员不再需要自己管理这些东西。
+
+### 3、触发
+
+你的 DevOps 会如何在上千台虚拟机上部署多语言、云原生应用?理想情况下,开发和运维会在 bug 修复、功能增强、新功能、安全更新时触发部署。Kubernetes 的[部署功能][6]会自动化这个日常工作。更重要的时,它支持高级部署策略,例如[蓝绿部署和金丝雀部署][7]。
+
+### 4、可伸缩性
+
+自动扩展是处理云环境中大量工作负载所需的关键功能。通过构建容器平台,你可以为终端用户提高系统可靠性。[Kubernetes Horizontal Pod Autoscaler][8](HPA)允许一个集群增加或减少应用程序(或 Pod)的数量,以应对峰值流量或性能峰值,从而减少对意外系统中断的担忧。
+
+### 5、容错性
+
+在现代应用体系结构中,应考虑故障处理代码来控制意外错误并快速从中恢复。但是开发人员需要花费大量的时间和精力来模拟偶然的错误。Kubernetes 的 [ReplicaSet][9] 通过确保指定数量的 Pod 持续保持活动来帮助开发人员解决此问题。
+
+### 结论
+
+Kubernetes 使企业能够轻松、快速、安全地解决常见的开发和运维问题。它还提供其他好处,例如构建无缝的多云/混合云战略,节省基础架构成本以及加快产品上市时间。
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/reasons-kubernetes
+
+作者:[Daniel Oh][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/daniel-oh
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/ship_wheel_gear_devops_kubernetes.png?itok=xm4a74Kv
+[2]: https://opensource.com/resources/what-is-kubernetes
+[3]: https://www.cncf.io/projects/
+[4]: https://www.cncf.io/blog/2018/03/06/kubernetes-first-cncf-project-graduate/
+[5]: https://kubernetes.io/docs/concepts/services-networking/service/
+[6]: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
+[7]: https://opensource.com/article/17/5/colorful-deployments
+[8]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
+[9]: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
diff --git a/published/20190608 An open source bionic leg, Python data pipeline, data breach detection, and more news.md b/published/20190608 An open source bionic leg, Python data pipeline, data breach detection, and more news.md
new file mode 100644
index 0000000000..4df0e7accd
--- /dev/null
+++ b/published/20190608 An open source bionic leg, Python data pipeline, data breach detection, and more news.md
@@ -0,0 +1,82 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10965-1.html)
+[#]: subject: (An open source bionic leg, Python data pipeline, data breach detection, and more news)
+[#]: via: (https://opensource.com/article/19/6/news-june-8)
+[#]: author: (Scott Nesbitt https://opensource.com/users/scottnesbitt)
+
+开源新闻:开源仿生腿、Python 数据管道、数据泄露检测
+======
+
+> 了解过去两周来最大的开源头条新闻。
+
+![][1]
+
+在本期开源新闻综述中,我们将介绍一个开源仿生腿、一个新的开源医学影像组织,麦肯锡发布的首个开源软件,以及更多!
+
+### 使用开源推进仿生学
+
+我们这一代人从电视剧《六百万美元人》和《仿生女人》中学到了仿生学一词。让科幻小说(尽管基于事实)正在成为现实的,要归功于[由密歇根大学和 Shirley Ryan AbilityLab 设计][2]的假肢。
+
+该腿采用简单、低成本的模块化设计,“旨在通过为仿生学领域的零碎研究工作提供统一的平台,提高患者的生活质量并加速科学进步”。根据首席设计师 Elliot Rouse 的说法,它将“使研究人员能够有效地解决与一系列的实验室和社区活动中控制仿生腿相关的挑战。”
+
+你可以从[开源腿][3]网站了解有该腿的更多信息并下载该设计。
+
+### 麦肯锡发布了一个用于构建产品级数据管道的 Python 库
+
+咨询巨头麦肯锡公司最近发布了其[第一个开源工具][4],名为 Kedro,它是一个用于创建机器学习和数据管道的 Python 库。
+
+Kedro 使得“管理大型工作流程更加容易,并确保整个项目的代码质量始终如一”,产品经理 Yetunde Dada 说。虽然它最初是作为一种专有的工具,但麦肯锡开源了 Kedro,因此“客户可以在我们离开项目后使用它 —— 这是我们回馈的方式,”工程师 Nikolaos Tsaousis 说。
+
+如果你有兴趣了解一下,可以从 GitHub 上获取 [Kedro 的源代码][5]。
+
+### 新联盟推进开源医学成像
+
+一组专家和患者倡导者聚集在一起组成了[开源成像联盟][6]。该联盟旨在“通过数字成像和机器学习帮助推进特发性肺纤维化和其他间质性肺病的诊断。”
+
+根据联盟执行董事 Elizabeth Estes 的说法,该项目旨在“协作加速诊断,帮助预后处置,最终让医生更有效地治疗患者”。为此,他们正在组织和分享“来自患者的 15,000 个匿名图像扫描和临床数据,这将作为机器学习程序的输入数据来开发算法。”
+
+### Mozilla 发布了一种简单易用的方法,以确定你是否遭受过数据泄露
+
+向不那么精通软件的人解释安全性始终是一项挑战,无论你的技能水平如何,都很难监控你的风险。Mozilla 发布了 [Firefox Monitor][7],其数据由 [Have I Been Pwned][8] 提供,它是一种查看你的任何电子邮件是否出现在重大数据泄露事件中的简单方式。你可以输入电子邮件逐个搜索,或注册他们的服务以便将来通知你。
+
+该网站还提供了大量有用的教程,用于了解黑客如何做的,数据泄露后如何处理以及如何创建强密码。请务必将网站加入书签,以防家人要求你在假日期间提供建议。
+
+### 其它新闻
+
+* [想要一款去谷歌化的 Android?把你的手机发送给这个人][9]
+* [CockroachDB 发行版使用了非 OSI 批准的许可证,但仍然保持开源][10]
+* [基础设施自动化公司 Chef 承诺开源][11]
+* [俄罗斯的 Windows 替代品将获得安全升级][12]
+* [使用此代码在几分钟内从 Medium 切换到你自己的博客][13]
+* [开源推进联盟宣布与台湾自由软件协会建立新合作伙伴关系][14]
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/news-june-8
+
+作者:[Scott Nesbitt][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/scottnesbitt
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/weekly_news_roundup_tv.png?itok=B6PM4S1i
+[2]: https://news.umich.edu/open-source-bionic-leg-first-of-its-kind-platform-aims-to-rapidly-advance-prosthetics/
+[3]: https://opensourceleg.com/
+[4]: https://www.information-age.com/kedro-mckinseys-open-source-software-tool-123482991/
+[5]: https://github.com/quantumblacklabs/kedro
+[6]: https://pulmonaryfibrosisnews.com/2019/05/31/international-open-source-imaging-consortium-osic-launched-to-advance-ipf-diagnosis/
+[7]: https://monitor.firefox.com/
+[8]: https://haveibeenpwned.com/
+[9]: https://fossbytes.com/want-a-google-free-android-send-your-phone-to-this-guy/
+[10]: https://www.cockroachlabs.com/blog/oss-relicensing-cockroachdb/
+[11]: https://www.infoq.com/news/2019/05/chef-open-source/
+[12]: https://www.nextgov.com/cybersecurity/2019/05/russias-would-be-windows-replacement-gets-security-upgrade/157330/
+[13]: https://github.com/mathieudutour/medium-to-own-blog
+[14]: https://opensource.org/node/994
diff --git a/published/20190610 Expand And Unexpand Commands Tutorial With Examples.md b/published/20190610 Expand And Unexpand Commands Tutorial With Examples.md
new file mode 100644
index 0000000000..38d9c91ba4
--- /dev/null
+++ b/published/20190610 Expand And Unexpand Commands Tutorial With Examples.md
@@ -0,0 +1,146 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10983-1.html)
+[#]: subject: (Expand And Unexpand Commands Tutorial With Examples)
+[#]: via: (https://www.ostechnix.com/expand-and-unexpand-commands-tutorial-with-examples/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+expand 与 unexpand 命令实例教程
+======
+
+![Expand And Unexpand Commands Explained][1]
+
+本指南通过实际的例子解释两个 Linux 命令,即 `expand` 和 `unexpand`。对于好奇的人,`expand` 和 `unexpand` 命令用于将文件中的 `TAB` 字符替换为空格,反之亦然。在 MS-DOS 中也有一个名为 `expand` 的命令,它用于解压压缩文件。但 Linux 的 `expand` 命令只是将 `TAB` 转换为空格。这两个命令是 GNU coreutils 包的一部分,由 David MacKenzie 编写。
+
+为了演示,我将在本文使用名为 `ostechnix.txt` 的文本文件。下面给出的所有命令都在 Arch Linux 中进行测试。
+
+### expand 命令示例
+
+与我之前提到的一样,`expand` 命令使用空格替换文件中的 `TAB` 字符。
+
+现在,让我们将 `ostechnix.txt` 中的 `TAB` 转换为空格,并将结果写入标准输出:
+
+```
+$ expand ostechnix.txt
+```
+
+如果你不想在标准输出中显示结果,只需将其写入另一个文件,如下所示。
+
+```
+$ expand ostechnix.txt>output.txt
+```
+
+我们还可以将标准输入中的 `TAB` 转换为空格。为此,只需运行 `expand` 命令而不带文件名:
+
+```
+$ expand
+```
+
+只需输入文本并按回车键就能将 `TAB` 转换为空格。按 `CTRL+C` 退出。
+
+如果你不想转换非空白字符后的 `TAB`,请使用 `-i` 标记,如下所示。
+
+```
+$ expand -i ostechnix.txt
+```
+
+我们还可以设置每个 `TAB` 为指定数字的宽度,而不是 `8`(默认值)。
+
+```
+$ expand -t=5 ostechnix.txt
+```
+
+我们甚至可以使用逗号分隔指定多个 `TAB` 位置,如下所示。
+
+```
+$ expand -t 5,10,15 ostechnix.txt
+```
+
+或者,
+
+```
+$ expand -t "5 10 15" ostechnix.txt
+```
+
+有关更多详细信息,请参阅手册页。
+
+```
+$ man expand
+```
+
+### unexpand 命令示例
+
+正如你可能已经猜到的那样,`unexpand` 命令将执行与 `expand` 命令相反的操作。即它会将空格转换为 `TAB`。让我向你展示一些例子,以了解如何使用 `unexpand` 命令。
+
+要将文件中的空白(当然是空格)转换为 `TAB` 并将输出写入标准输出,请执行以下操作:
+
+```
+$ unexpand ostechnix.txt
+```
+
+如果要将输出写入文件而不是仅将其显示到标准输出,请使用以下命令:
+
+```
+$ unexpand ostechnix.txt>output.txt
+```
+
+从标准输出读取内容,将空格转换为制表符:
+
+```
+$ unexpand
+```
+
+默认情况下,`unexpand` 命令仅转换初始的空格。如果你想转换所有空格而不是只是一行开头的空格,请使用 `-a` 标志:
+
+```
+$ unexpand -a ostechnix.txt
+```
+
+仅转换一行开头的空格(请注意它会覆盖 `-a`):
+
+```
+$ unexpand --first-only ostechnix.txt
+```
+
+使多少个空格替换成一个 `TAB`,而不是 `8`(会启用 `-a`):
+
+```
+$ unexpand -t 5 ostechnix.txt
+```
+
+相似地,我们可以使用逗号分隔指定多个 `TAB` 的位置。
+
+```
+$ unexpand -t 5,10,15 ostechnix.txt
+```
+
+或者,
+
+```
+$ unexpand -t "5 10 15" ostechnix.txt
+```
+
+有关更多详细信息,请参阅手册页。
+
+```
+$ man unexpand
+```
+
+在处理大量文件时,`expand` 和 `unexpand` 命令对于用空格替换不需要的 `TAB` 时非常有用,反之亦然。
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/expand-and-unexpand-commands-tutorial-with-examples/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/05/Expand-And-Unexpand-Commands-720x340.png
diff --git a/published/20190610 Graviton- A Minimalist Open Source Code Editor.md b/published/20190610 Graviton- A Minimalist Open Source Code Editor.md
new file mode 100644
index 0000000000..395f0f5687
--- /dev/null
+++ b/published/20190610 Graviton- A Minimalist Open Source Code Editor.md
@@ -0,0 +1,85 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10988-1.html)
+[#]: subject: (Graviton: A Minimalist Open Source Code Editor)
+[#]: via: (https://itsfoss.com/graviton-code-editor/)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+Graviton:极简的开源代码编辑器
+======
+
+[Graviton][1]是一款开发中的自由开源的跨平台代码编辑器。他的开发者 16 岁的 Marc Espin 强调说,它是一个“极简”的代码编辑器。我不确定这点,但它确实有一个清爽的用户界面,就像其他的[现代代码编辑器,如 Atom][2]。
+
+![Graviton Code Editor Interface][3]
+
+开发者还将其称为轻量级代码编辑器,尽管 Graviton 基于 [Electron][4]。
+
+Graviton 拥有你在任何标准代码编辑器中所期望的功能,如语法高亮、自动补全等。由于 Graviton 仍处于测试阶段,因此未来版本中将添加更多功能。
+
+![Graviton Code Editor with Syntax Highlighting][5]
+
+### Graviton 代码编辑器的特性
+
+Graviton 一些值得一说的特性有:
+
+ * 使用 [CodeMirrorJS][6] 为多种编程语言提供语法高亮
+ * 自动补全
+ * 支持插件和主题。
+ * 提供英语、西班牙语和一些其他欧洲语言。
+ * 适用于 Linux、Windows 和 macOS。
+
+我快速看来一下 Graviton,它可能不像 [VS Code][7] 或 [Brackets][8] 那样功能丰富,但对于一些简单的代码编辑来说,它还算不错的工具。
+
+### 下载并安装 Graviton
+
+![Graviton Code Editor][9]
+
+如上所述,Graviton 是一个可用于 Linux、Windows 和 macOS 的跨平台代码编辑器。它仍处于测试阶段,这意味着将来会添加更多功能,并且你可能会遇到一些 bug。
+
+你可以在其发布页面上找到最新版本的 Graviton。Debian 和 [Ubuntu 用户可以使用 .deb 安装][10]。它已提供 [AppImage][11],以便可以在其他发行版中使用它。DMG 和 EXE 文件也分别可用于 macOS 和 Windows。
+
+- [下载 Graviton][12]
+
+如果你有兴趣,你可以在 GitHub 仓库中找到 Graviton 的源代码:
+
+- [GitHub 中 Graviton 的源码][13]
+
+如果你决定使用 Graviton 并发现了一些问题,请在[此处][14]写一份错误报告。如果你使用 GitHub,你可能想为 Graviton 项目加星。这可以提高开发者的士气,因为他知道有更多的用户欣赏他的努力。
+
+如果你看到现在,我相信你了解[如何从源码安装软件][16]
+
+### 写在最后
+
+有时,简单本身就成了一个特性,而 Graviton 专注于极简可以帮助它在已经拥挤的代码编辑器世界中获取一席之地。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/graviton-code-editor/
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://graviton.ml/
+[2]: https://itsfoss.com/best-modern-open-source-code-editors-for-linux/
+[3]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/06/graviton-code-editor-interface.jpg?resize=800%2C571&ssl=1
+[4]: https://electronjs.org/
+[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/06/graviton-code-editor-interface-2.jpg?resize=800%2C522&ssl=1
+[6]: https://codemirror.net/
+[7]: https://itsfoss.com/install-visual-studio-code-ubuntu/
+[8]: https://itsfoss.com/install-brackets-ubuntu/
+[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/graviton-code-editor-800x473.jpg?resize=800%2C473&ssl=1
+[10]: https://itsfoss.com/install-deb-files-ubuntu/
+[11]: https://itsfoss.com/use-appimage-linux/
+[12]: https://github.com/Graviton-Code-Editor/Graviton-App/releases
+[13]: https://github.com/Graviton-Code-Editor/Graviton-App
+[14]: https://github.com/Graviton-Code-Editor/Graviton-App/issues
+[16]: https://itsfoss.com/install-software-from-source-code/
+[17]: https://itsfoss.com/contact-us/
diff --git a/published/20190610 Neofetch - Display Linux system Information In Terminal.md b/published/20190610 Neofetch - Display Linux system Information In Terminal.md
new file mode 100644
index 0000000000..006ca80113
--- /dev/null
+++ b/published/20190610 Neofetch - Display Linux system Information In Terminal.md
@@ -0,0 +1,216 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10991-1.html)
+[#]: subject: (Neofetch – Display Linux system Information In Terminal)
+[#]: via: (https://www.ostechnix.com/neofetch-display-linux-systems-information/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+Neofetch:在终端中显示 Linux 系统信息
+======
+
+![Display Linux system information using Neofetch][1]
+
+Neofetch 是一个简单但有用的命令行系统信息工具,它用 Bash 编写。它会收集有关系统软硬件的信息,并在终端中显示结果。默认情况下,系统信息将与操作系统的 logo 一起显示。但是,你可以进一步地自定义使用 ascii 图像或其他任何图片。你还可以配置 Neofetch 显示的信息、信息的显示位置和时间。Neofetch 主要用于系统信息的截图。它支持 Linux、BSD、Mac OS X、iOS 和 Windows 操作系统。在这个简短的教程中,让我们看看如何使用 Neofetch 显示 Linux 系统信息。
+
+### 安装 Neofetch
+
+Neofetch 可在大多数 Linux 发行版的默认仓库中找到。
+
+在 Arch Linux 及其衍生版上,使用这个命令安装它:
+
+```
+$ sudo pacman -S netofetch
+```
+
+在 Debian(Stretch / Sid)上:
+
+```
+$ sudo apt-get install neofetch
+```
+
+在 Fedora 27 上:
+
+```
+$ sudo dnf install neofetch
+```
+
+在 RHEL、CentOS 上:
+
+启用 EPEL 仓库:
+
+```
+# yum install epel-relase
+```
+
+获取 neofetch 仓库:
+
+```
+# curl -o /etc/yum.repos.d/konimex-neofetch-epel-7.repo
+https://copr.fedorainfracloud.org/coprs/konimex/neofetch/repo/epel-7/konimex-neofetch-epel-7.repo
+```
+
+然后,安装 Neofetch:
+
+```
+# yum install neofetch
+```
+
+在 Ubuntu 17.10 和更新版本上:
+
+```
+$ sudo apt-get install neofetch
+```
+
+在 Ubuntu 16.10 和更低版本上:
+
+```
+$ sudo add-apt-repository ppa:dawidd0811/neofetch
+
+$ sudo apt update
+
+$ sudo apt install neofetch
+```
+
+在 NixOS 上:
+
+```
+$ nix-env -i neofetch
+```
+
+### 使用 Neofetch 显示 Linux 系统信息
+
+Neofetch 非常简单直接。让我们看一些例子。
+
+打开终端,然后运行以下命令:
+
+```
+$ neofetch
+```
+
+示例输出:
+
+![][2]
+
+*使用 Neofetch 显示 Linux 系统信息*
+
+正如你在上面的输出中所看到的,Neofetch 显示了我的 Arch Linux 系统的以下详细信息:
+
+* 已安装操作系统的名称,
+* 笔记本型号,
+* 内核详细信息,
+* 系统运行时间,
+* 默认和其他软件包管理器安装的软件数量
+* 默认 shell,
+* 屏幕分辨率,
+* 桌面环境,
+* 窗口管理器,
+* 窗口管理器的主题,
+* 系统主题,
+* 系统图标,
+* 默认终端,
+* CPU 类型,
+* GPU 类型,
+* 已安装的内存。
+
+Neofetch 还有很多其他选项。我们会看到其中一些。
+
+### 如何在 Neofetch 输出中使用自定义图像?
+
+默认情况下,Neofetch 将显示你的操作系统 logo 以及系统信息。当然,你可以根据需要更改图像。
+
+要显示图像,Linux 系统应该安装以下依赖项:
+
+1. w3m-img(用于显示图像。w3m-img 有时与 w3m 包捆绑在一起),
+2. Imagemagick(用于创建缩略图),
+3. 支持 `\033[14t` 或者 xdotool 或者 xwininfo + xprop 或者 xwininfo + xdpyinfo 的终端。
+
+大多数 Linux 发行版的默认仓库中都提供了 W3m-img 和 ImageMagick 包。因此,你可以使用你的发行版的默认包管理器来安装它们。
+
+例如,运行以下命令在 Debian、Ubuntu、Linux Mint 上安装 w3m-img 和 ImageMagick:
+
+```
+$ sudo apt install w3m-img imagemagick
+```
+
+以下是带 w3m-img 支持的终端列表:
+
+ 1. Gnome-terminal,
+ 2. Konsole,
+ 3. st,
+ 4. Terminator,
+ 5. Termite,
+ 6. URxvt,
+ 7. Xfce4-Terminal,
+ 8. Xterm
+
+如果你的系统上已经有了 kitty、Terminology 和 iTerm,那么就无需安装 w3m-img。
+
+现在,运行以下命令以使用自定义图像显示系统信息:
+
+```
+$ neofetch --w3m /home/sk/Pictures/image.png
+```
+
+或者,
+
+```
+$ neofetch --w3m --source /home/sk/Pictures/image.png
+```
+
+示例输出:
+
+![][3]
+
+*使用自定义 logo 的 Neofetch 输出*
+
+使用你自己的图片替换上面图片的路径。
+
+或者,你可以指向包含以下图像的目录。
+
+```
+$ neofetch --w3m
+```
+
+### 配置 Neofetch
+
+当我们第一次运行 Neofetch 时,它默认会为每个用户在 `$HOME/.config/neofetch/config.conf` 中创建一个配置文件。它还会在 `$HOME/.config/neofetch/config` 中创建一个全局的 neofetch 配置文件。你可以调整此文件来告诉 neofetch 该显示、删除和/或修改哪些详细信息。
+
+还可以在不同版本中保留此配置文件。这意味着你只需根据自己的喜好自定义一次,并在升级到更新版本后使用相同的设置。你甚至可以将此文件共享给你的朋友和同事,使他拥有与你相同的设置。
+
+要查看 Neofetch 帮助部分,请运行:
+
+```
+$ neofetch --help
+```
+
+就我测试的 Neofetch 而言,它在我的 Arch Linux 系统中完美地工作。它是一个非常方便的工具,可以在终端中轻松快速地打印系统的详细信息。
+
+相关阅读:
+
+ * [如何使用 inxi 查看 Linux 系统详细信息][4]
+
+资源:
+
+ * [Neofetch 的 GitHub 页面][5]
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/neofetch-display-linux-systems-information/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2016/06/neofetch-1-720x340.png
+[2]: http://www.ostechnix.com/wp-content/uploads/2016/06/Neofetch-1.png
+[3]: http://www.ostechnix.com/wp-content/uploads/2016/06/Neofetch-with-custom-logo.png
+[4]: https://www.ostechnix.com/how-to-find-your-system-details-using-inxi/
+[5]: https://github.com/dylanaraps/neofetch
diff --git a/published/20190610 Screen Command Examples To Manage Multiple Terminal Sessions.md b/published/20190610 Screen Command Examples To Manage Multiple Terminal Sessions.md
new file mode 100644
index 0000000000..936974a5d2
--- /dev/null
+++ b/published/20190610 Screen Command Examples To Manage Multiple Terminal Sessions.md
@@ -0,0 +1,282 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10962-1.html)
+[#]: subject: (Screen Command Examples To Manage Multiple Terminal Sessions)
+[#]: via: (https://www.ostechnix.com/screen-command-examples-to-manage-multiple-terminal-sessions/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+screen 命令示例:管理多个终端会话
+======
+
+
+
+GNU Screen 是一个终端多路复用器(窗口管理器)。顾名思义,Screen 可以在多个交互式 shell 之间复用物理终端,因此我们可以在每个终端会话中执行不同的任务。所有的 Screen 会话都完全独立地运行程序。因此,即使会话意外关闭或断开连接,在 Screen 会话内运行的程序或进程也将继续运行。例如,当通过 SSH [升级 Ubuntu][2] 服务器时,`screen` 命令将继续运行升级过程,以防万一 SSH 会话因任何原因而终止。
+
+GNU Screen 允许我们轻松创建多个 Screen 会话,在不同会话之间切换,在会话之间复制文本,随时连上或脱离会话等等。它是每个 Linux 管理员应该在必要时学习和使用的重要命令行工具之一。在本简要指南中,我们将看到 `screen` 命令的基本用法以及在 Linux 中的示例。
+
+### 安装 GNU Screen
+
+GNU Screen 在大多数 Linux 操作系统的默认存储库中都可用。
+
+要在 Arch Linux 上安装 GNU Screen,请运行:
+
+```
+$ sudo pacman -S screen
+```
+
+在 Debian、Ubuntu、Linux Mint 上:
+
+```
+$ sudo apt-get install screen
+```
+
+在 Fedora 上:
+
+```
+$ sudo dnf install screen
+```
+
+在 RHEL、CentOS 上:
+
+```
+$ sudo yum install screen
+```
+
+在 SUSE/openSUSE 上:
+
+```
+$ sudo zypper install screen
+```
+
+让我们继续看一些 `screen` 命令示例。
+
+### 管理多个终端会话的 Screen 命令示例
+
+在 Screen 中所有命令的默认前缀快捷方式是 `Ctrl + a`。使用 Screen 时,你需要经常使用此快捷方式。所以,要记住这个键盘快捷键。
+
+#### 创建新的 Screen 会话
+
+让我们创建一个新的 Screen 会话并连上它。为此,请在终端中键入以下命令:
+
+```
+screen
+```
+
+现在,在此会话中运行任何程序或进程,即使你与此会话断开连接,正在运行的进程或程序也将继续运行。
+
+#### 从 Screen 会话脱离
+
+要从屏幕会话中脱离,请按 `Ctrl + a` 和 `d`。你无需同时按下两个组合键。首先按 `Ctrl + a` 然后按 `d`。从会话中脱离后,你将看到类似下面的输出。
+
+```
+[detached from 29149.pts-0.sk]
+```
+
+这里,`29149` 是 Screen ID,`pts-0.sk` 是屏幕会话的名称。你可以使用 Screen ID 或相应的会话名称来连上、脱离和终止屏幕会话。
+
+#### 创建命名会话
+
+你还可以用你选择的任何自定义名称创建一个 Screen 会话,而不是默认用户名,如下所示。
+
+```
+screen -S ostechnix
+```
+
+上面的命令将创建一个名为 `xxxxx.ostechnix` 的新 Screen 会话,并立即连上它。要从当前会话中脱离,请按 `Ctrl + a`,然后按 `d`。
+
+当你想要查找哪些进程在哪些会话上运行时,命名会话会很有用。例如,当在会话中设置 LAMP 系统时,你可以简单地将其命名为如下所示。
+
+```
+screen -S lampstack
+```
+
+#### 创建脱离的会话
+
+有时,你可能想要创建一个会话,但不希望自动连上该会话。在这种情况下,运行以下命令来创建名为`senthil` 的已脱离会话:
+
+```
+screen -S senthil -d -m
+```
+
+也可以缩短为:
+
+```
+screen -dmS senthil
+```
+
+上面的命令将创建一个名为 `senthil` 的会话,但不会连上它。
+
+#### 列出屏幕会话
+
+要列出所有正在运行的会话(连上的或脱离的),请运行:
+
+```
+screen -ls
+```
+
+示例输出:
+
+```
+There are screens on:
+ 29700.senthil (Detached)
+ 29415.ostechnix (Detached)
+ 29149.pts-0.sk (Detached)
+3 Sockets in /run/screens/S-sk.
+```
+
+如你所见,我有三个正在运行的会话,并且所有会话都已脱离。
+
+#### 连上 Screen 会话
+
+如果你想连上会话,例如 `29415.ostechnix`,只需运行:
+
+```
+screen -r 29415.ostechnix
+```
+
+或:
+
+```
+screen -r ostechnix
+```
+
+或使用 Screen ID:
+
+```
+screen -r 29415
+```
+
+要验证我们是否连上到上述会话,只需列出打开的会话并检查。
+
+```
+screen -ls
+```
+
+示例输出:
+
+```
+There are screens on:
+ 29700.senthil (Detached)
+ 29415.ostechnix (Attached)
+ 29149.pts-0.sk (Detached)
+3 Sockets in /run/screens/S-sk.
+```
+
+如你所见,在上面的输出中,我们目前已连上到 `29415.ostechnix` 会话。要退出当前会话,请按 `ctrl + a d`。
+
+#### 创建嵌套会话
+
+当我们运行 `screen` 命令时,它将为我们创建一个会话。但是,我们可以创建嵌套会话(会话内的会话)。
+
+首先,创建一个新会话或连上已打开的会话。然后我将创建一个名为 `nested` 的新会话。
+
+```
+screen -S nested
+```
+
+现在,在会话中按 `Ctrl + a` 和 `c` 创建另一个会话。只需重复此操作即可创建任意数量的嵌套 Screen 会话。每个会话都将分配一个号码。号码将从 `0` 开始。
+
+你可以按 `Ctrl + n` 移动到下一个会话,然后按 `Ctrl + p` 移动到上一个会话。
+
+以下是管理嵌套会话的重要键盘快捷键列表。
+
+* `Ctrl + a "` - 列出所有会话
+* `Ctrl + a 0` - 切换到会话号 0
+* `Ctrl + a n` - 切换到下一个会话
+* `Ctrl + a p` - 切换到上一个会话
+* `Ctrl + a S` - 将当前区域水平分割为两个区域
+* `Ctrl + a l` - 将当前区域垂直分割为两个区域
+* `Ctrl + a Q` - 关闭除当前会话之外的所有会话
+* `Ctrl + a X` - 关闭当前会话
+* `Ctrl + a \` - 终止所有会话并终止 Screen
+* `Ctrl + a ?` - 显示键绑定。要退出,请按回车
+
+#### 锁定会话
+
+Screen 有一个锁定会话的选项。为此,请按 `Ctrl + a` 和 `x`。 输入你的 Linux 密码以锁定。
+
+```
+Screen used by sk on ubuntuserver.
+Password:
+```
+
+#### 记录会话
+
+你可能希望记录 Screen 会话中的所有内容。为此,只需按 `Ctrl + a` 和 `H` 即可。
+
+或者,你也可以使用 `-L` 参数启动新会话来启用日志记录。
+
+```
+screen -L
+```
+
+从现在开始,你在会话中做的所有活动都将记录并存储在 `$HOME` 目录中名为 `screenlog.x` 的文件中。这里,`x` 是一个数字。
+
+你可以使用 `cat` 命令或任何文本查看器查看日志文件的内容。
+
+![][3]
+
+*记录 Screen 会话*
+
+#### 终止 Screen 会话
+
+如果不再需要会话,只需杀死它。要杀死名为 `senthil` 的脱离会话:
+
+```
+screen -r senthil -X quit
+```
+
+或:
+
+```
+screen -X -S senthil quit
+```
+
+或:
+
+```
+screen -X -S 29415 quit
+```
+
+如果没有打开的会话,你将看到以下输出:
+
+```
+$ screen -ls
+No Sockets found in /run/screens/S-sk.
+```
+
+更多细节请参照 man 手册页:
+
+```
+$ man screen
+```
+
+还有一个名为 Tmux 的类似的命令行实用程序,它与 GNU Screen 执行相同的工作。要了解更多信息,请参阅以下指南。
+
+* [Tmux 命令示例:管理多个终端会话][5]
+
+### 资源
+
+ * [GNU Screen 主页][6]
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/screen-command-examples-to-manage-multiple-terminal-sessions/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/06/Screen-Command-Examples-720x340.jpg
+[2]: https://www.ostechnix.com/how-to-upgrade-to-ubuntu-18-04-lts-desktop-and-server/
+[3]: https://www.ostechnix.com/wp-content/uploads/2019/06/Log-screen-sessions.png
+[4]: https://www.ostechnix.com/record-everything-terminal/
+[5]: https://www.ostechnix.com/tmux-command-examples-to-manage-multiple-terminal-sessions/
+[6]: https://www.gnu.org/software/screen/
diff --git a/published/20190610 Search Linux Applications On AppImage, Flathub And Snapcraft Platforms.md b/published/20190610 Search Linux Applications On AppImage, Flathub And Snapcraft Platforms.md
new file mode 100644
index 0000000000..0ba4d3469b
--- /dev/null
+++ b/published/20190610 Search Linux Applications On AppImage, Flathub And Snapcraft Platforms.md
@@ -0,0 +1,90 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10994-1.html)
+[#]: subject: (Search Linux Applications On AppImage, Flathub And Snapcraft Platforms)
+[#]: via: (https://www.ostechnix.com/search-linux-applications-on-appimage-flathub-and-snapcraft-platforms/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+在 AppImage、Flathub 和 Snapcraft 平台上搜索 Linux 应用
+======
+
+![Search Linux Applications On AppImage, Flathub And Snapcraft][1]
+
+Linux 一直在发展。过去,开发人员必须分别为不同的 Linux 发行版构建应用。由于存在多种 Linux 变体,因此为所有发行版构建应用变得很繁琐,而且非常耗时。后来一些开发人员发明了包转换器和构建器,如 [Checkinstall][2]、[Debtap][3] 和 [Fpm][4]。但他们也没有完全解决问题。所有这些工具都只是将一种包格式转换为另一种包格式。我们仍然需要找到应用并安装运行所需的依赖项。
+
+好吧,时代已经变了。我们现在有了通用的 Linux 应用。这意味着我们可以在大多数 Linux 发行版上安装这些应用。无论是 Arch Linux、Debian、CentOS、Redhat、Ubuntu 还是任何流行的 Linux 发行版,通用应用都可以正常使用。这些应用与所有必需的库和依赖项打包在一个包中。我们所要做的就是在我们使用的任何 Linux 发行版上下载并运行它们。流行的通用应用格式有 AppImage、[Flatpak][5] 和 [Snap][6]。
+
+AppImage 由 Simon peter 创建和维护。许多流行的应用,如 Gimp、Firefox、Krita 等等,都有这些格式,并可直接在下载页面下载。只需下载它们,使其可执行并立即运行它。你甚至无需 root 权限来运行 AppImage。
+
+Flatpak 的开发人员是 Alexander Larsson(RedHat 员工)。Flatpak 应用托管在名为 “Flathub” 的中央仓库(商店)中。如果你是开发人员,建议你使用 Flatpak 格式构建应用,并通过 Flathub 将其分发给用户。
+
+Snap 由 Canonical 而建,主要用于 Ubuntu。但是,其他 Linux 发行版的开发人员开始为 Snap 打包格式做出贡献。因此,Snap 也开始适用于其他 Linux 发行版。Snap 可以直接从应用的下载页面下载,也可以从 Snapcraft 商店下载。
+
+许多受欢迎的公司和开发人员已经发布了 AppImage、Flatpak 和 Snap 格式的应用。如果你在寻找一款应用,只需进入相应的商店并获取你选择的应用并运行它,而不用管你使用何种 Linux 发行版。
+
+还有一个名为 “Chob” 的命令行通用应用搜索工具可在 AppImage、Flathub 和 Snapcraft 平台上轻松搜索 Linux 应用。此工具仅搜索给定的应用并在默认浏览器中显示官方链接。它不会安装它们。本指南将解释如何安装 Chob 并使用它来搜索 Linux 上的 AppImage、Flatpak 和 Snap。
+
+### 使用 Chob 在 AppImage、Flathub 和 Snapcraft 平台上搜索 Linux 应用
+
+从[发布页面][7]下载最新的 Chob 二进制文件。在编写本指南时,最新版本为 0.3.5。
+
+```
+$ wget https://github.com/MuhammedKpln/chob/releases/download/0.3.5/chob-linux
+```
+
+使其可执行:
+
+```
+$ chmod +x chob-linux
+```
+
+最后,搜索你想要的应用。例如,我将搜索与 Vim 相关的应用。
+
+```
+$ ./chob-linux vim
+```
+
+Chob 将在 AppImage、Flathub 和 Snapcraft 平台上搜索给定的应用(和相关应用)并显示结果。
+
+![][8]
+
+*使用 Chob 搜索 Linux 应用*
+
+只需要输入你想要应用前面的数字就可在默认浏览器中打开它的官方链接,并可在其中阅读应用的详细信息。
+
+![][9]
+
+在浏览器中查看 Linux 应用的详细信息
+
+有关更多详细信息,请查看下面的 Chob 官方 GitHub 页面。
+
+资源:
+
+ * [Chob 的 GitHub 仓库][10]
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/search-linux-applications-on-appimage-flathub-and-snapcraft-platforms/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/05/chob-720x340.png
+[2]: https://www.ostechnix.com/build-packages-source-using-checkinstall/
+[3]: https://www.ostechnix.com/convert-deb-packages-arch-linux-packages/
+[4]: https://www.ostechnix.com/build-linux-packages-multiple-platforms-easily/
+[5]: https://www.ostechnix.com/flatpak-new-framework-desktop-applications-linux/
+[6]: https://www.ostechnix.com/introduction-ubuntus-snap-packages/
+[7]: https://github.com/MuhammedKpln/chob/releases
+[8]: http://www.ostechnix.com/wp-content/uploads/2019/05/Search-Linux-applications-Using-Chob.png
+[9]: http://www.ostechnix.com/wp-content/uploads/2019/05/View-Linux-applications-Details.png
+[10]: https://github.com/MuhammedKpln/chob
diff --git a/published/20190610 Try a new game on Free RPG Day.md b/published/20190610 Try a new game on Free RPG Day.md
new file mode 100644
index 0000000000..64e95e2ac3
--- /dev/null
+++ b/published/20190610 Try a new game on Free RPG Day.md
@@ -0,0 +1,84 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10976-1.html)
+[#]: subject: (Try a new game on Free RPG Day)
+[#]: via: (https://opensource.com/article/19/5/free-rpg-day)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth/users/erez/users/seth)
+
+在免费 RPG 日试玩一下新游戏
+======
+
+> 6 月 15 日,你可以在当地的游戏商家庆祝桌面角色扮演游戏并获得免费的 RPG 资料。
+
+
+
+(LCTT 译注:“免费 RPG 日”是受“免费漫画书日”启发而发起的庆祝活动,从 2007 年开始已经举办多次。这里的 RPG 游戏并非我们通常所指的电脑 RPG 游戏,而是指使用纸和笔的桌面游戏,是一种西方传统游戏形式。)
+
+你有没有想过尝试一下《龙与地下城》,但不知道如何开始?你是否在年轻时玩过《开拓者》并一直在考虑重返快乐时光?你是否对角色扮演游戏(RPG)感到好奇,但不确定你是否想玩一个?你是否对桌面游戏的概念完全陌生,直到现在才听说过这种 RPG 游戏?无论是哪一个并不重要,因为[免费 RPG 日] [2]适合所有人!
+
+第一个免费 RPG 日活动发生在 2007 年,是由世界各地的桌面游戏商家举办的。这个想法是以 0 美元的价格为新手和有经验的游戏玩家带来新的、独家的 RPG 快速入门规则和冒险体验。在这样的一天里,你可以走进当地的桌面游戏商家,得到一本小册子,其中包含桌面 RPG 的简单的初学者规则,你可以在商家里与那里的人或者回家与朋友一起玩。这本小册子是给你的,应该一直留着的。
+
+这一活动如此的受欢迎,此后该传统一直延续至今。今年,免费 RPG 日定于 6 月 15 日星期六举行。
+
+### 有什么收获?
+
+显然,免费 RPG 日背后的想法是让你沉迷于桌面 RPG 游戏。但在你本能的犬儒主义开始之前,考虑到它会慢慢上瘾,爱上一个鼓励你阅读规则和知识的游戏并不太糟,这样你和你的家人、朋友就有了共度时光的借口了。桌面 RPG 是一个功能强大、富有想象力和有趣的媒介,而免费 RPG 日则是对这种游戏很好的介绍。
+
+![FreeRPG Day logo][3]
+
+### 开源游戏
+
+像许多其他行业一样,开源现象影响了桌面游戏。回到世纪之交,《Magic:The Gathering and Dungeons&Dragons》 的提供者[威世智公司][4]决定通过开发[开源游戏许可证][5](OGL)来采用开源方法。他们将此许可证用于世界上第一个 RPG(《龙与地下城》,D&D)的版本 3 和 3.5。几年后,当他们在第四版上(对开源)产生了动摇时,《龙》杂志的出版商复刻了 D&D 3.5 的“代码”,将其混制版本发布为《开拓者》 RPG,从而保持了创新和整个第三方游戏开发者产业的健康发展。最近,威世智公司在 D&D 5e 版本中才又重回了 OGL。
+
+OGL 允许开发人员至少可以在他们自己产品中使用该游戏的机制。不管你可以不可以使用自定义怪物、武器、王国或流行角色的名称,但你可以随时使用 OGL 游戏的规则和数学计算。事实上,OGL 游戏的规则通常作为[系统参考文档][6](SRD)免费发布的,因此,无论你是否购买了规则书的副本,你都可以了解游戏的玩法。
+
+如果你之前从未玩过桌面 RPG,那么使用笔和纸玩的游戏也可以拥有游戏引擎似乎很奇怪,但计算就是计算,不管是数字的还是模拟的。作为一个简单的例子:假设游戏引擎规定玩家角色有一个代表其力量的数字。当那个玩家角色与一个有其两倍力量的巨人战斗时,在玩家掷骰子以增加她的角色的力量攻击时,真的会感到紧张。如果没有掷出一个很好的点数的话,她的力量将无法与巨人相匹敌。知道了这一点,第三方或独立开发者就可以为这个游戏引擎设计一个怪物,同时了解骰子滚动可能对玩家的能力得分产生的影响。这意味着他们可以根据游戏引擎的优先级进行数学计算。他们可以设计一系列用来杀死的怪物,在游戏引擎的环境中它们具有有意义的能力和技能,并且他们可以宣称与该引擎的兼容性。
+
+此外,OGL 允许出版商为其材料定义产品标识。产品标识可以是出版物的商业外观(图形元素和布局)、徽标、术语、传说、专有名称等。未经出版商同意,任何定义为产品标识的内容都可能**无法**重复使用。例如,假设一个出版商发行了一本武器手册,其中包括一个名为 Sigint 的魔法砍刀,它对所有针对僵尸的攻击都给予 +2 魔法附加攻击值。这个特性来自一个故事,该砍刀是一个具有潜伏的僵尸基因的科学家锻造的。但是,该出版物在 OGL 第 1e 节中列出的所有武器的正确名称都被保留为产品标识。这意味着你可以在自己的出版物中使用该数字(武器的持久性、它所造成的伤害,+2 魔法奖励等等)以及与该武器相关的传说(它由一个潜伏的僵尸锻造),但是你不能使用该武器的名称(Sigint)。
+
+OGL 是一个非常灵活的许可证,因此开发人员必须仔细阅读其第 1e 节。 一些出版商只保留出版物本身的布局,而其他出版商保留除数字和最通用术语之外的所有内容。
+
+当卓越的 RPG 特许经营权拥抱开源时,至今仍能感受到的它给整个行业掀起的波澜。第三方开发人员可以为 5e 和《开拓者》系统创建内容。由威世智公司创建的整个 [DungeonMastersGuild.com][7] 网站为 D&D 5e 制作了独立内容,旨在促进独立出版。[Starfinder][8]、[OpenD6][9]、[战士,盗贼和法师][10]、[剑与巫师][11] 等及很多其它游戏都采用了 OGL。其他系统,如 Brent Newhall 的 《[Dungeon Delvers][12]》、《[Fate][13]》、《[Dungeon World][14]》 等等,都是根据[知识共享许可][15]授权的的。
+
+### 获取你的 RPG
+
+在免费 RPG 日,你可以前往当地游戏商铺,玩 RPG 以及获取与朋友将来一起玩的 RPG 游戏材料。就像[Linux 安装节][16] 或 [软件自由日][17]一样,该活动的定义很松散。每个商家举办的自由 RPG 日都有所不同,每个商家都可以玩他们选择的任何游戏。但是,游戏发行商捐赠的免费内容每年都是相同的。显然,免费的东西视情况而定,但是当你参加免费 RPG 日活动时,请注意有多少游戏采用了开源许可证(如果是 OGL 游戏,OGL 会打印在书背面)。《开拓者》、《Starfinder》 和 D&D 的任何内容肯定都会带有 OGL 的一些优势。许多其他系统的内容使用知识共享许可。有些则像 90 年代复活的 [Dead Earth][18] RPG 一样,使用 [GNU 自由文档许可证] [19]。
+
+有大量的游戏资源是通过开源许可证开发的。你可能需要也可能不需要关心游戏的许可证;毕竟,许可证与你是否可以与朋友一起玩无关。但是如果你喜欢支持[自由文化][20]而不仅仅是你运行的软件,那么试试一些 OGL 或知识共享游戏吧。如果你不熟悉游戏,请在免费 RPG 日在当地游戏商家试玩桌面 RPG 游戏!
+
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/free-rpg-day
+
+作者:[Seth Kenlon][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/seth/users/erez/users/seth
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/team-game-play-inclusive-diversity-collaboration.png?itok=8sUXV7W1 (plastic game pieces on a board)
+[2]: https://www.freerpgday.com/
+[3]: https://opensource.com/sites/default/files/uploads/freerpgday-logoblank.jpg (FreeRPG Day logo)
+[4]: https://company.wizards.com/
+[5]: http://www.opengamingfoundation.org/licenses.html
+[6]: https://www.d20pfsrd.com/
+[7]: https://www.dmsguild.com/
+[8]: https://paizo.com/starfinder
+[9]: https://ogc.rpglibrary.org/index.php?title=OpenD6
+[10]: http://www.stargazergames.eu/games/warrior-rogue-mage/
+[11]: https://froggodgames.com/frogs/product/swords-wizardry-complete-rulebook/
+[12]: http://brentnewhall.com/games/doku.php?id=games:dungeon_delvers
+[13]: http://www.faterpg.com/licensing/licensing-fate-cc-by/
+[14]: http://dungeon-world.com/
+[15]: https://creativecommons.org/
+[16]: https://www.tldp.org/HOWTO/Installfest-HOWTO/introduction.html
+[17]: https://www.softwarefreedomday.org/
+[18]: https://mixedsignals.ml/games/blog/blog_dead-earth
+[19]: https://www.gnu.org/licenses/fdl-1.3.en.html
+[20]: https://opensource.com/article/18/1/creative-commons-real-world
diff --git a/published/20190610 Welcoming Blockchain 3.0.md b/published/20190610 Welcoming Blockchain 3.0.md
new file mode 100644
index 0000000000..0bd9086504
--- /dev/null
+++ b/published/20190610 Welcoming Blockchain 3.0.md
@@ -0,0 +1,105 @@
+[#]: collector: (lujun9972)
+[#]: translator: (murphyzhao)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10987-1.html)
+[#]: subject: (Welcoming Blockchain 3.0)
+[#]: via: (https://www.ostechnix.com/welcoming-blockchain-3-0/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+迎接区块链 3.0
+======
+
+![欢迎区块链 3.0][1]
+
+“[区块链 2.0][2]” 系列文章讨论了自 2008 年比特币等加密货币问世以来区块链技术的发展。本文将探讨区块链的未来发展。**区块链 3.0** 这一新的 DLT(分布式分类帐本技术)演进浪潮将回答当前区块链所面临的问题(每一个问题都会在这里总结)。下一版本的技术标准也将带来全新的应用和使用案例。在本文的最后,我们也会看一些当前使用这些原则的案例。
+
+以下是现有区块链平台的几个缺点,并针对这些缺点给出了建议的解决方案。
+
+### 问题 1:可扩展性
+
+这个问题 [^1]被视为普遍采用该技术的第一个主要障碍。正如之前所讨论的,很多因素限制了区块链同时处理大量交易的能力。诸如 [以太坊][3] 之类的现有网络每秒能够进行 10-15 次交易(TPS),而像 Visa 所使用的主流网络每秒能够进行超过 2000 次交易。**可扩展性**是困扰所有现代数据库系统的问题。正如我们在这里看到的那样,改进的共识算法和更好的区块链架构设计正在改进它。
+
+#### 解决可扩展性
+
+已经提出了更精简、更有效的一致性算法来解决可扩展性问题,并且不会影响区块链的主要结构。虽然大多数加密货币和区块链平台使用资源密集型的 PoW 算法(例如,比特币和以太坊)来生成区块,但是存在更新的 DPoS 和 PoET 算法来解决这个问题。DPoS 和 PoET 算法(还有一些正在开发中)需要更少的资源来维持区块链,并且已显示具有高达 1000 TPS 的吞吐量,可与流行的非区块链系统相媲美。
+
+可扩展性问题的第二个解决方案是完全改变区块链结构和功能。我们不会详细介绍这一点,但已经提出了诸如有向无环图(DAG)之类的替代架构来处理这个问题。从本质上讲,这项工作假设并非所有网络节点都需要整个区块链的副本才能使区块链正常工作,或者并非所有的参与者需要从 DLT 系统获得好处。系统不要求所有参与者验证交易,只需要交易发生在共同的参考框架中并相互链接。
+
+在比特币系统中使用[闪电网络][11]来实现 DAG,而以太坊使用他们的[切片][12] 协议来实现 DAG。本质上,从技术上来看 DAG 实现并不是区块链。它更像是一个错综复杂的迷宫,只是仍然保留了区块链的点对点和分布式数据库属性。稍后我们将在另一篇文章中探讨 DAG 和 Tangle 网络。
+
+### 问题 2:互通性
+
+**互通性**[^4] [^5] 被称为跨链访问,基本上就是指不同区块链之间彼此相互通信以交换指标和信息。由于目前有数不清的众多平台,不同公司为各种应用提供了各种专有系统,平台之间的互操作性就至关重要。例如,目前在一个平台上拥有数字身份的人无法利用其他平台提供的功能,因为各个区块链彼此之间互不了解、不能沟通。这是由于缺乏可靠的验证、令牌交换等有关的问题仍然存在。如果平台之间不能够相互通信,面向全球推出[智能合约][4]也是不可行的。
+
+#### 解决互通性
+
+有一些协议和平台专为实现互操作性而设计。这些平台实现了原子交换协议,并向不同的区块链系统提供开放场景,以便在它们之间进行通信和交换信息。**“0x (ZRX)”** 就是其中的一个例子,稍后将对进行描述。
+
+### 问题 3:治理
+
+公有链中的治理 [^6] 本身不是限制,而是需要像社区道德指南针一样,在区块链的运作中考虑每个人的意见。结合起来并规模性地看,能预见这样一个问题,即要么协议更改太频繁,要么协议被拥有最多令牌的“中央”权威一时冲动下修改。不过这不是大多数公共区块链目前正在努力避免的问题,因为其运营规模和运营性质不需要更严格的监管。
+
+#### 解决治理问题
+
+上面提到的复杂的框架或 DAG 几乎可以消除对全球(平台范围)治理法规的需要和使用。相反,程序可以自动监督事务和用户类型,并决定需要执行的法律。
+
+### 问题 4:可持续性
+
+可持续性再次建立在可扩展性问题的基础上。当前的区块链和加密货币因不可长期持续而倍遭批评,这是由于仍然需要大量的监督,并且需要大量资源保持系统运行。如果你读过最近“挖掘加密货币”已经没有这么大利润的相关报道,你就知道“挖矿”图利就是它的本来面目。保持现有平台运行所需的资源量在全球范围和主流使用方面根本不实用。
+
+#### 解决不可持续性问题
+
+从资源或经济角度来看,可持续性的答案与可扩展性的答案类似。但是,要在全球范围内实施这一制度,法律和法规必须予以认可。然而,这取决于世界各国政府。来自美国和欧洲政府的有利举措重新燃起了对这方面的希望。
+
+### 问题 5:用户采用
+
+目前,阻止消费者广泛采用 [^7] 基于区块链的应用程序的一个障碍是消费者对平台及其底层的技术不熟悉。事实上,大多数应用程序都需要某种技术和计算背景来弄清楚它们是如何工作的,这在这方面也没有帮助。区块链开发的第三次浪潮旨在缩小消费者知识与平台可用性之间的差距。
+
+#### 解决用户采用问题
+
+互联网花了很长的时间才发展成现在的样子。多年来,人们在开发标准化互联网技术栈方面做了大量的工作,使 Web 能够像现在这样运作。开发人员正在开发面向用户的前端分布式应用程序,这些应用程序应作为现有 Web 3.0 技术之上的一层,同时由下面的区块链和开放协议的支持。这样的[分布式应用][5]将使用户更熟悉底层技术,从而增加主流采用。
+
+### 在当前场景中的应用
+
+我们已经从理论上讨论了上述问题的解决方法,现在我们将继续展示这些方法在当前场景中的应用。
+
+- [0x][6] – 是一种去中心化的令牌交换,不同平台的用户可以在不需要中央权威机构审查的情况下交换令牌。他们的突破在于,他们如何设计系统使得仅在交易结算后才记录和审查数据块,而不是通常的在交易之间进行(为了验证上下文,通常也会验证交易之前的数据块)。这使在线数字资产交换更快速。
+- [Cardano][7] – 由以太坊的联合创始人之一创建,Cardano 自诩为一个真正“科学”的平台,和采用了严格的协议,对开发的代码和算法进行了多次审查。Cardano 的所有内容都在数学上尽可能的进行了优化。他们的共识算法叫做 **Ouroboros**,是一种改进的权益证明(PoS)算法。Cardano 是用 [**haskell**][8] 开发的,智能合约引擎使用 haskell 的衍生工具 **plutus** 进行操作。这两者都是函数式编程语言,可以保证安全交易而不会影响效率。
+- EOS – 我们已经在 [这篇文章][9] 中描述了 EOS。
+- [COTI][10] – 一个鲜为人知的架构,COTI 不需要挖矿,而且在运行过程中趋近于零功耗。它还将资产存储在本地用户设备上的离线钱包中,而不是存储在纯粹的对等网络上。它们也遵循基于 DAG 的架构,并声称处理吞吐量高达 10000 TPS。他们的平台允许企业在不利用区块链的情况下建立自己的加密货币和数字化货币钱包。
+
+[^1]: A. P. Paper, K. Croman, C. Decker, I. Eyal, A. E. Gencer, and A. Juels, “On Scaling Decentralized Blockchains | SpringerLink,” 2018.
+[^4]: [Why is blockchain interoperability important][13]
+[^5]: [The Importance of Blockchain Interoperability][14]
+[^6]: R. Beck, C. Müller-Bloch, and J. L. King, “Governance in the Blockchain Economy: A Framework and Research Agenda,” J. Assoc. Inf. Syst., pp. 1020–1034, 2018.
+[^7]: J. M. Woodside, F. K. A. Jr, W. Giberson, F. K. J. Augustine, and W. Giberson, “Blockchain Technology Adoption Status and Strategies,” J. Int. Technol. Inf. Manag., vol. 26, no. 2, pp. 65–93, 2017.
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/welcoming-blockchain-3-0/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[murphyzhao](https://github.com/murphyzhao)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/06/blockchain-720x340.jpg
+[2]: https://linux.cn/article-10650-1.html
+[3]: https://www.ostechnix.com/blockchain-2-0-what-is-ethereum/
+[4]: https://www.ostechnix.com/blockchain-2-0-explaining-smart-contracts-and-its-types/
+[5]: https://www.ostechnix.com/blockchain-2-0-explaining-distributed-computing-and-distributed-applications/
+[6]: https://0x.org/
+[7]: https://www.cardano.org/en/home/
+[8]: https://www.ostechnix.com/getting-started-haskell-programming-language/
+[9]: https://www.ostechnix.com/blockchain-2-0-eos-io-is-building-infrastructure-for-developing-dapps/
+[10]: https://coti.io/
+[11]: https://cryptoslate.com/beyond-blockchain-directed-acylic-graphs-dag/
+[12]: https://github.com/ethereum/wiki/wiki/Sharding-FAQ#introduction
+[13]: https://www.capgemini.com/2019/02/can-the-interoperability-of-blockchains-change-the-world/
+[14]: https://medium.com/wanchain-foundation/the-importance-of-blockchain-interoperability-b6a0bbd06d11
diff --git a/published/20190612 Installing alternative versions of RPMs in Fedora.md b/published/20190612 Installing alternative versions of RPMs in Fedora.md
new file mode 100644
index 0000000000..54406f13ba
--- /dev/null
+++ b/published/20190612 Installing alternative versions of RPMs in Fedora.md
@@ -0,0 +1,133 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10999-1.html)
+[#]: subject: (Installing alternative versions of RPMs in Fedora)
+[#]: via: (https://fedoramagazine.org/installing-alternative-rpm-versions-in-fedora/)
+[#]: author: (Adam Šamalík https://fedoramagazine.org/author/asamalik/)
+
+在 Fedora 中安装替代版本的 RPM 包
+======
+
+![][1]
+
+[模块化][2]使 Fedora 能够在仓库中提供替代版本的 RPM 软件包。每个 Fedroa 版本可以原生构建不同应用、语言运行时和工具版本的多个版本。
+
+Fedora Magazine 大约一年前就写了 [Fedora 28 服务器版的模块化][3]。那时,它只是一个有附加内容的可选仓库,并且明确只支持服务器版。到目前为止,它已经发生了很多变化,现在**模块化是 Fedora 发行版的核心部分**。一些软件包已完全变成模块。在编写本文时,Fedora 30 的 49,464 个二进制 RPM 软件包中的 1,119(2.26%)来自模块([关于这个数字的更多信息][4])。
+
+### 模块化基础知识
+
+由于许多软件包有不同的版本会让人难以承受(并且难以管理),所以包被分组为**模块**,它可以代表一个应用程序、一个语言运行时或任何其他合理的组。
+
+模块通常有多个**流**,这通常代表软件的主要版本。它可以并行使用,但在给定系统上只能安装每个模块的一个流。
+
+为了不让用户因为太多选择而难以承受,每个 Fedora 版本都有一组**默认**,因此只需要在需要时做出决定。
+
+最后,为了简化安装,可以根据用例使用预定义的 **profile** 选择性地安装模块。例如,数据库模块可以作为客户端,服务端或同时安装。
+
+### 实际使用模块化
+
+当你在 Fedora 系统上安装 RPM 软件包时,它很可能它来自模块流。你可能没有注意到的原因之一是模块化的核心原则之一是在你探究之前保持不可见。
+
+让我们比较以下两种情况。首先,安装流行的 i3 平铺窗口管理器,然后安装极简化的 dwm 窗口管理器:
+
+```
+$ sudo dnf install i3
+...
+Done!
+```
+
+正如所料,上面的命令会在系统上安装 i3 包及其依赖项。这里没有其他事情发生。但另一个会怎么样?
+
+```
+$ sudo dnf install dwm
+...
+Enabling module streams:
+ dwm 6.1
+...
+Done!
+```
+
+感觉是一样的,但后台发生了一些事情 。它启用了默认的 dwm 模块流(6.1),并且安装了模块中的 dwm 包。
+
+为了保持透明,输出中有一条关于模块自动启用的消息。但除此之外,用户不需要了解模块化的任何信息,以便按照他们一贯的方式使用他们的系统。
+
+但如果他们使用模块化方式呢?让我们看看如何安装不同版本的 dwm。
+
+使用以下命令查看可用的模块流:
+
+```
+$ sudo dnf module list
+...
+dwm latest ...
+dwm 6.0 ...
+dwm 6.1 [d] ...
+dwm 6.2 ...
+...
+Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled
+```
+
+输出显示 dwm 模块有四个流,6.1 是默认值。
+
+要安装不同版本的 dwm 包,例如,安装 6.2 的流。启用它,然后使用以下两个命令安装软件包:
+
+```
+$ sudo dnf module enable dwm:6.2
+...
+Enabling module streams:
+ dwm 6.2
+...
+Done!
+$ sudo dnf install dwm
+...
+Done!
+```
+
+最后,让我们看下配置,以 PostgreSQL 为例。
+
+```
+$ sudo dnf module list
+...
+postgresql 9.6 client, server ...
+postgresql 10 client, server ...
+postgresql 11 client, server ...
+...
+```
+
+要安装 PostgreSQL 11 服务端,使用以下命令:
+
+```
+$ sudo dnf module install postgresql:11/server
+```
+
+请注意,除了启用流之外,我们可以指定配置从而使用一条命令安装模块。
+
+可以立即安装多个版本。要添加客户端工具,使用下面的命令:
+
+```
+$ sudo dnf module install postgresql:11/client
+```
+
+还有许多其他带有多个流的模块可供选择。在编写本文时,Fedora 30 中有 83 个模块流。包括两个版本的 MariaDB、三个版本的 Node.js、两个版本的 Ruby 等等。
+
+有关完整的命令集(包括从一个流切换到另一个流),请参阅[模块化的官方用户文档][5]。
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/installing-alternative-rpm-versions-in-fedora/
+
+作者:[Adam Šamalík][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/asamalik/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/06/modularity-f30-816x345.jpg
+[2]: https://docs.pagure.org/modularity
+[3]: https://linux.cn/article-10479-1.html
+[4]: https://blog.samalik.com/2019/06/12/counting-modularity-packages.html
+[5]: https://docs.fedoraproject.org/en-US/modularity/using-modules/
diff --git a/published/20190613 Open hardware for musicians and music lovers- Headphone, amps, and more.md b/published/20190613 Open hardware for musicians and music lovers- Headphone, amps, and more.md
new file mode 100644
index 0000000000..03a5f4dd47
--- /dev/null
+++ b/published/20190613 Open hardware for musicians and music lovers- Headphone, amps, and more.md
@@ -0,0 +1,94 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10998-1.html)
+[#]: subject: (Open hardware for musicians and music lovers: Headphone, amps, and more)
+[#]: via: (https://opensource.com/article/19/6/hardware-music)
+[#]: author: (Michael Weinberg https://opensource.com/users/mweinberg)
+
+音乐家和音乐爱好者的开放硬件:耳机、放大器等
+======
+
+> 从 3D 打印乐器到无线播放声音的设备,有很多通过开放硬件项目来奏乐的方法。
+
+![][1]
+
+这个世界到处都是很棒的[开源音乐播放器][2],但为什么只是将开源用在播放音乐上呢?你还可以使用开源硬件奏乐。本文中描述的所有工具都是经过了[开源硬件协会][3](OSHWA)认证的。这意味着你可以自由地构建它们,重新组合它们,或者用它们做任何其他事情。
+
+### 开源乐器
+
+当你想奏乐时使用乐器总是最好的方式之一。如果你喜欢传统的的乐器,那么 [F-F-Fiddle][4] 可能适合你。
+
+![F-f-fiddle][5]
+
+F-F-Fiddle 是一款全尺寸电子小提琴,你可以使用标准的桌面 3D 打印机制作(采用[熔丝制造][6])。如果你想眼见为真,那么这里有一个 F-F-Fiddle 的视频: https://img.linux.net.cn/static/video/The%20F-F-Fiddle-8NDWVcJJS2Y.mp4
+
+如果你精通小提琴,但还对一些更具异国情调的东西感兴趣?[开源的特雷门琴][7]怎么样?
+
+![Open Theremin][8]
+
+与所有特雷门琴一样,开源特雷门琴可让你在不触碰乐器的情况下播放音乐。当然,它特别擅长为你的下一个科幻视频或空间主题派对制作[令人毛骨悚然的空间声音][9]。
+
+[Waft][10] 的操作类似,也可以远程控制声音。它使用[激光雷达][11]来测量手与传感器的距离。看看这个: https://img.linux.net.cn/static/video/Waft%20Prototype%2012-Feb-2017-203705197.mp4
+
+Waft 是特雷门琴吗?我不确定算不算,特雷门琴高手可以在下面的评论里发表一下看法。
+
+如果特雷门琴对你来说太熟悉了,[SIGNUM][12] 可能就是你想要的。用其开发人员的话说,SIGNUM 通过将不可见的无线通信转换为可听信号来“揭示加密的信息代码和人/机通信的语言”。
+
+![SIGNUM][13]
+
+这是演示: https://img.linux.net.cn/static/video/SIGNUM_Portable%20Analog%20Instrumentation%20Amplifier-142831757.mp4
+
+### 输入
+
+无论你使用什么乐器,都需要将其接到某些东西上。如果你想要连接到树莓派,请尝试 [AudioSense-Pi][14],它允许你一次将多个输入和输出连接到你的树莓派。
+
+![AudioSense-Pi][15]
+
+### 合成器
+
+合成器怎么样?SparkFun 的 [SparkPunk Sound Kit][16] 是一个简单的合成器,为你提供了很多音色。
+
+![SparkFun SparkPunk Sound Kit][17]
+
+### 耳机
+
+制作所有这些音乐很棒,但你还需要考虑如何听它。幸运的是,[EQ-1耳机][18]是开源,支持 3D 打印。
+
+![EQ-1 headphones][19]
+
+你用开源硬件制作音乐吗?让我们在评论中知道!
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/hardware-music
+
+作者:[Michael Weinberg][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/mweinberg
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/LIFE_musicinfinity.png?itok=7LkfjcS9
+[2]: https://opensource.com/article/19/2/audio-players-linux
+[3]: https://certification.oshwa.org/
+[4]: https://certification.oshwa.org/us000010.html
+[5]: https://opensource.com/sites/default/files/uploads/f-f-fiddle.png (F-f-fiddle)
+[6]: https://en.wikipedia.org/wiki/Fused_filament_fabrication
+[7]: https://certification.oshwa.org/ch000001.html
+[8]: https://opensource.com/sites/default/files/uploads/open-theremin.png (Open Theremin)
+[9]: https://youtu.be/p05ZSHRYXVA?t=771
+[10]: https://certification.oshwa.org/uk000005.html
+[11]: https://en.wikipedia.org/wiki/Lidar
+[12]: https://certification.oshwa.org/es000003.html
+[13]: https://opensource.com/sites/default/files/uploads/signum.png (SIGNUM)
+[14]: https://certification.oshwa.org/in000007.html
+[15]: https://opensource.com/sites/default/files/uploads/audiosense-pi.png (AudioSense-Pi)
+[16]: https://certification.oshwa.org/us000016.html
+[17]: https://opensource.com/sites/default/files/uploads/sparkpunksoundkit.png (SparkFun SparkPunk Sound Kit)
+[18]: https://certification.oshwa.org/us000038.html
+[19]: https://opensource.com/sites/default/files/uploads/eq-1-headphones.png (EQ-1 headphones)
diff --git a/published/20190613 Ubuntu Kylin- The Official Chinese Version of Ubuntu.md b/published/20190613 Ubuntu Kylin- The Official Chinese Version of Ubuntu.md
new file mode 100644
index 0000000000..fe9c2a13a6
--- /dev/null
+++ b/published/20190613 Ubuntu Kylin- The Official Chinese Version of Ubuntu.md
@@ -0,0 +1,119 @@
+[#]: collector: (lujun9972)
+[#]: translator: (robsean)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-10995-1.html)
+[#]: subject: (Ubuntu Kylin: The Official Chinese Version of Ubuntu)
+[#]: via: (https://itsfoss.com/ubuntu-kylin/)
+[#]: author: (Avimanyu Bandyopadhyay https://itsfoss.com/author/avimanyu/)
+
+优麒麟:Ubuntu 的官方中文版本
+======
+
+> 让我们来看看国外是如何看优麒麟的。
+
+[Ubuntu 有几个官方特色版本][1],优麒麟(Ubuntu Kylin)是它们中的一个。在这篇文章中,你将了解到优麒麟,它是什么,它为什么被创建,它的特色是什么。
+
+麒麟操作系统最初由中华人民共和国的[国防科技大学][2]的院士在 2001 年开发。名字来源于[麒麟][3],这是一种来自中国神话的神兽。
+
+麒麟操作系统的第一个版本基于 [FreeBSD][4],计划用于中国军方和其它政府组织。麒麟 3.0 完全基于 Linux 内核,并且在 2010 年 12 月发布一个称为 [NeoKylin][5] 的版本。
+
+在 2013 年,[Canonical][6] (Ubuntu 的母公司) 与中华人民共和国的[工业和信息化部][7] 达成共识,共同创建和发布一个针对中国市场特色的基于 Ubuntu 的操作系统。
+
+![Ubuntu Kylin][8]
+
+### 优麒麟是什么?
+
+根据上述 2013 年的共识,优麒麟现在是 Ubuntu 的官方中国版本。它不仅仅是语言本地化。事实上,它决心服务中国市场,就像 Ubuntu 服务全球市场一样。
+
+[优麒麟][9]的第一个版本与 Ubuntu 13.04 一起到来。像 Ubuntu 一样,优麒麟也有 LTS (长期支持)和非 LTS 版本。
+
+当前,优麒麟 19.04 LTS 采用了 [UKUI][10] 桌面环境,修改了启动动画、登录/锁屏程序和操作系统主题。为给用户提供更友好的体验,它修复了一些错误,带有文件预览、定时注销等功能,最新的 [WPS 办公组件][11]和 [搜狗][12] 输入法集成于其中。
+
+- [https://youtu.be/kZPtFMWsyv4](https://youtu.be/kZPtFMWsyv4)
+
+银河麒麟 4.0.2 是一个基于优麒麟 16.04 LTS 的社区版本。它包含一些带有长期稳定支持的第三方应用程序。它非常适合服务器和日常桌面办公使用,欢迎开发者[下载][13]。麒麟论坛积极地获取来自提供的反馈以及解决问题来找到解决方案。
+
+#### UKUI:优麒麟的桌面环境
+
+![Ubuntu Kylin 19.04 with UKUI Desktop][15]
+
+[UKUI][16] 由优麒麟开发小组设计和开发,有一些非常好的特色和预装软件:
+
+ * 类似 Windows 的交互功能,带来更友好的用户体验。安装导向易于使用,用户可以快速使用优麒麟。
+ * 控制中心对主题和窗口采用了新的设置。如开始菜单、任务栏、文件管理器、窗口管理器和其它的组件进行了更新。
+ * 在 Ubuntu 和 Debian 存储库上都可用,为 Debian/Ubuntu 发行版和其全球衍生版的的用户提供一个新单独桌面环境。
+ * 新的登录和锁定程序,它更稳定和具有很多功能。
+ * 包括一个反馈问题的实用的反馈程序。
+
+#### 麒麟软件中心
+
+![Kylin Software Center][17]
+
+麒麟有一个软件中心,类似于 Ubuntu 软件中心,并被称为优麒麟软件中心。它是优麒麟软件商店的一部分,该商店也包含优麒麟开发者平台和优麒麟存储库,具有一个简单的用户界面,并功能强大。它同时支持 Ubuntu 和优麒麟存储库,并特别适用于由优麒麟小组开发的中文特有的软件的快速安装!
+
+#### 优客:一系列的工具
+
+优麒麟也有一系列被命名为优客的工具。在麒麟开始菜单中输入 “Youker” 将带来麒麟助手。如果你在键盘上按 “Windows” 按键,像你在 Windows 上一样,它将打开麒麟开始菜单。
+
+![Kylin Assistant][18]
+
+其它麒麟品牌的应用程序包括麒麟影音(播放器)、麒麟刻录,优客天气、优客 Fcitx 输入法,它们更好地支持办公工作和个人娱乐。
+
+![Kylin Video][19]
+
+#### 特别专注于中文
+
+通过与金山软件合作,优麒麟开发者也致力于 Linux 版本的搜狗拼音输入法、快盘和优麒麟版本的金山 WPS,并解决了智能拼音、云存储和办公应用程序方面的问题。[拼音][20] 是中文字符的拉丁化系统。使用这个系统,用户用英文键盘输入,但在屏幕上将显示中文字符。
+
+#### 有趣的事实:优麒麟运行在中国超级计算机上
+
+![Tianhe-2 Supercomputer. Photo by O01326 – Own work, CC BY-SA 4.0, https://commons.wikimedia.org/w/index.php?curid=45399546][22]
+
+众所周知[世界上最快的超级计算机 500 强都在运行 Linux][23]。中国超级计算机[天河-1][24]和[天河-2][25]都使用优麒麟的 64 位版本,致力于高性能的[并行计算][26]优化、电源管理和高性能的[虚拟化计算][27]。
+
+### 总结
+
+我希望你喜欢这篇优麒麟世界的介绍。你可以从它的[官方网站][28]获得优麒麟 19.04 或基于 Ubuntu 16.04 的社区版本(银河麒麟)。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/ubuntu-kylin/
+
+作者:[Avimanyu Bandyopadhyay][a]
+选题:[lujun9972][b]
+译者:[robsean](https://github.com/robsean)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/avimanyu/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/which-ubuntu-install/
+[2]: https://english.nudt.edu.cn
+[3]: https://www.thoughtco.com/what-is-a-qilin-195005
+[4]: https://itsfoss.com/freebsd-12-release/
+[5]: https://thehackernews.com/2015/09/neokylin-china-linux-os.html
+[6]: https://www.canonical.com/
+[7]: http://english.gov.cn/state_council/2014/08/23/content_281474983035940.htm
+[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/Ubuntu-Kylin.jpeg?resize=800%2C450&ssl=1
+[9]: http://www.ubuntukylin.com/
+[10]: http://ukui.org
+[11]: https://www.wps.com/
+[12]: https://en.wikipedia.org/wiki/Sogou_Pinyin
+[13]: http://www.ubuntukylin.com/downloads/show.php?lang=en&id=122
+[14]: https://itsfoss.com/solve-ubuntu-error-failed-to-download-repository-information-check-your-internet-connection/
+[15]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/06/ubuntu-Kylin-19-04-desktop.jpg?resize=800%2C450&ssl=1
+[16]: http://www.ukui.org/
+[17]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/kylin-software-center.jpg?resize=800%2C496&ssl=1
+[18]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/kylin-assistant.jpg?resize=800%2C535&ssl=1
+[19]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/kylin-video.jpg?resize=800%2C533&ssl=1
+[20]: https://en.wikipedia.org/wiki/Pinyin
+[21]: https://itsfoss.com/remove-old-kernels-ubuntu/
+[22]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/tianhe-2.jpg?resize=800%2C600&ssl=1
+[23]: https://itsfoss.com/linux-runs-top-supercomputers/
+[24]: https://en.wikipedia.org/wiki/Tianhe-1
+[25]: https://en.wikipedia.org/wiki/Tianhe-2
+[26]: https://en.wikipedia.org/wiki/Parallel_computing
+[27]: https://computer.howstuffworks.com/how-virtual-computing-works.htm
+[28]: http://www.ubuntukylin.com
diff --git a/published/20190617 Exploring -run on Linux.md b/published/20190617 Exploring -run on Linux.md
new file mode 100644
index 0000000000..575d5ffd0b
--- /dev/null
+++ b/published/20190617 Exploring -run on Linux.md
@@ -0,0 +1,120 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11008-1.html)
+[#]: subject: (Exploring /run on Linux)
+[#]: via: (https://www.networkworld.com/article/3403023/exploring-run-on-linux.html)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+探索 Linux 上的 /run
+======
+
+> Linux 系统在运行时数据方面的工作方式发生了微小但重大的变化。
+
+
+
+如果你没有密切关注,你可能没有注意到 Linux 系统在运行时数据方面的工作方式有一些小但重大的变化。 它重新组织了文件系统中可访问的方式和位置,而这个变化在大约八年前就开始了。虽然这种变化可能不足以让你的袜子变湿,但它在 Linux 文件系统中提供了更多一致性,值得进行一些探索。
+
+要开始,请转到 `/run`。如果你使用 `df` 来检查它,你会看到这样的输出:
+
+```
+$ df -k .
+Filesystem 1K-blocks Used Available Use% Mounted on
+tmpfs 609984 2604 607380 1% /run
+```
+
+它被识别为 “tmpfs”(临时文件系统),因此我们知道 `/run` 中的文件和目录没有存储在磁盘上,而只存储在内存中。它们表示保存在内存(或基于磁盘的交换空间)中的数据,它看起来像是一个已挂载的文件系统,这个可以使其更易于访问和管理。
+
+`/run` 是各种各样数据的家园。例如,如果你查看 `/run/user`,你会注意到一组带有数字名称的目录。
+
+```
+$ ls /run/user
+1000 1002 121
+```
+
+使用长文件列表可以发现这些数字的重要性。
+
+```
+$ ls -l
+total 0
+drwx------ 5 shs shs 120 Jun 16 12:44 1000
+drwx------ 5 dory dory 120 Jun 16 16:14 1002
+drwx------ 8 gdm gdm 220 Jun 14 12:18 121
+```
+
+我们看到每个目录与当前登录的用户或显示管理器 gdm 相关。数字代表他们的 UID。每个目录的内容都是运行中的进程所使用的文件。
+
+`/run/user` 文件只是你在 `/run` 中找到的一小部分。还有很多其他文件。有一些文件包含了各种系统进程的进程 ID。
+
+```
+$ ls *.pid
+acpid.pid atopacctd.pid crond.pid rsyslogd.pid
+atd.pid atop.pid gdm3.pid sshd.pid
+```
+
+如下所示,上面列出的 `sshd.pid` 文件包含 ssh 守护程序(`sshd`)的进程 ID。
+
+```
+$ cat sshd.pid
+1148
+$ ps -ef | grep sshd
+root 1148 1 0 Jun14 ? 00:00:00 /usr/sbin/sshd -D <==
+root 10784 1148 0 12:44 ? 00:00:00 sshd: shs [priv]
+shs 10922 10784 0 12:44 ? 00:00:00 sshd: shs@pts/0
+root 18109 1148 0 16:13 ? 00:00:00 sshd: dory [priv]
+dory 18232 18109 0 16:14 ? 00:00:00 sshd: dory@pts/1
+shs 19276 10923 0 16:50 pts/0 00:00:00 grep --color=auto sshd
+```
+
+`/run` 中的某些子目录只能使用 root 权限访问,例如 `/run/sudo`。例如,以 root 身份运行我们可以看到一些与真实或尝试使用 `sudo` 相关的文件:
+
+```
+/run/sudo/ts# ls -l
+total 8
+-rw------- 1 root dory 112 Jun 16 16:37 dory
+-rw------- 1 root shs 168 Jun 17 08:33 shs
+```
+
+为了与 `/run` 的变化保持一致,一些运行时数据的旧位置现在是符号链接。`/var/run` 现在是指向 `/run` 的指针,`/var/lock` 指向 `/run/lock` 的指针,可以保证旧的引用按预期工作。
+
+```
+$ ls -l /var
+total 52
+drwxr-xr-x 2 root root 4096 Jun 17 07:36 backups
+drwxr-xr-x 19 root root 4096 Apr 18 13:46 cache
+drwxrwsrwt 2 root whoopsie 4096 Jun 13 07:39 crash
+drwxr-xr-x 75 root root 4096 Jun 9 15:14 lib
+drwxrwsr-x 2 root staff 4096 Oct 16 2017 local
+lrwxrwxrwx 1 root root 9 May 14 2018 lock -> /run/lock
+drwxrwxr-x 17 root syslog 4096 Jun 17 00:00 log
+drwxrwsrwt 2 root mail 4096 Jun 13 12:10 mail
+drwxrwsrwt 2 root whoopsie 4096 Jan 5 2018 metrics
+drwxr-xr-x 2 root root 4096 Jan 5 2018 opt
+lrwxrwxrwx 1 root root 4 May 14 2018 run -> /run
+drwxr-xr-x 9 root root 4096 Jun 16 2018 snap
+drwxr-xr-x 9 root root 4096 Jun 9 15:14 spool
+drwxrwxrwt 8 root root 4096 Jun 17 00:00 tmp
+drwxr-xr-x 3 root root 4096 Jan 19 12:14 www
+```
+
+虽然技术上的变化很小,但转换到使用 `/run` 只是为了在 Linux 文件系统中更好地组织运行时数据。
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403023/exploring-run-on-linux.html
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/06/exploring_run-100799398-large.jpg
+[2]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
+[3]: https://www.networkworld.com/article/3242170/linux/invaluable-tips-and-tricks-for-troubleshooting-linux.html
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/published/20190619 Get the latest Ansible 2.8 in Fedora.md b/published/20190619 Get the latest Ansible 2.8 in Fedora.md
new file mode 100644
index 0000000000..dd851a1dde
--- /dev/null
+++ b/published/20190619 Get the latest Ansible 2.8 in Fedora.md
@@ -0,0 +1,60 @@
+[#]: collector: (lujun9972)
+[#]: translator: (geekpi)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11002-1.html)
+[#]: subject: (Get the latest Ansible 2.8 in Fedora)
+[#]: via: (https://fedoramagazine.org/get-the-latest-ansible-2-8-in-fedora/)
+[#]: author: (Paul W. Frields https://fedoramagazine.org/author/pfrields/)
+
+在 Fedora 中获取最新的 Ansible 2.8
+======
+
+![][1]
+
+Ansible 是世界上最受欢迎的自动化引擎之一。它能让你自动化几乎任何事情,从本地系统的设置到大量的平台和应用。它是跨平台的,因此你可以将其用于各种操作系统。请继续阅读以获取有关如何在 Fedora 中获取最新 Ansible,以及它的一些更改和改进,以及如何使用它。
+
+### 发布版本和功能
+
+Ansible 2.8 最近发布了,其中包含许多修复、功能和增强。仅仅几天之后,它就可在 Fedora 29 和 30 以及 EPEL 中获取。两周前发布了后续版本 2.8.1。同样,新版本在几天内就可以在 Fedora 中获取。
+
+[使用 sudo][2] 能够非常容易地从官方仓库安装:
+
+```
+$ sudo dnf -y install ansible
+```
+
+2.8 版本有很长的更新列表,你可以在 [2.8 的迁移指南][3]中阅读查看。但其中包含了一些好东西,比如 *Python 解释器发现功能* 。Ansible 2.8 现在会试图找出哪个 Python 是它所运行的平台的首选版本。如果失败,Ansible 会使用后备列表。但是,你仍然可以使用变量 `ansible_python_interpreter` 来设置 Python 解释器。
+
+另一个变化使 Ansible 在各个平台上更加一致。由于 `sudo` 专用于 UNIX/Linux,而其他平台并没有,因此现在在更多地方使用 `become`。这包括了命令行开关。例如,`-ask-sudo-pass` 已变成了 `-ask-become-pass`,提示符也变成了 `BECOME password:`。
+
+2.8 和 2.8.1 版本中还有许多其他功能。有关所有细节,请查看 [GitHub 上的官方更新日志][4]。
+
+### 使用 Ansible
+
+也许你不确定 Ansible 是否可以实际使用。别担心,你并不是唯一一个这样想的,因为它太强大了。但事实证明,它并不难以使用,在一个家庭内的几台电脑(甚至一台电脑)上设置都可以。
+
+我们之前在 Fedora Magazine 中也讨论过这个话题:
+
+- [使用 Ansible 设置工作站][5]
+
+试试看 Ansible,说下你的想法。很重要的一部分是让 Fedora 保持最新版本。自动化快乐!
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/get-the-latest-ansible-2-8-in-fedora/
+
+作者:[Paul W. Frields][a]
+选题:[lujun9972][b]
+译者:[geekpi](https://github.com/geekpi)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/pfrields/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/06/ansible28-816x345.jpg
+[2]: https://fedoramagazine.org/howto-use-sudo/
+[3]: https://docs.ansible.com/ansible/latest/porting_guides/porting_guide_2.8.html
+[4]: https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst
+[5]: https://fedoramagazine.org/using-ansible-setup-workstation/
diff --git a/published/20190621 Bash Script to Monitor Memory Usage on Linux.md b/published/20190621 Bash Script to Monitor Memory Usage on Linux.md
new file mode 100644
index 0000000000..ee2a3cba8c
--- /dev/null
+++ b/published/20190621 Bash Script to Monitor Memory Usage on Linux.md
@@ -0,0 +1,151 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wxy)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11007-1.html)
+[#]: subject: (Bash Script to Monitor Memory Usage on Linux)
+[#]: via: (https://www.2daygeek.com/linux-bash-script-to-monitor-memory-utilization-usage-and-send-email/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+用 Bash 脚本监控 Linux 上的内存使用情况
+======
+
+
+
+目前市场上有许多开源监控工具可用于监控 Linux 系统的性能。当系统达到指定的阈值限制时,它可以发送电子邮件警报。它可以监视 CPU 利用率、内存利用率、交换利用率、磁盘空间利用率等所有内容。
+
+如果你只有很少的系统并且想要监视它们,那么编写一个小的 shell 脚本可以使你的任务变得非常简单。
+
+在本教程中,我们添加了两个 shell 脚本来监视 Linux 系统上的内存利用率。当系统达到给定阈值时,它将给特定电子邮件地址发邮件。
+
+### 方法-1:用 Linux Bash 脚本监视内存利用率并发送电子邮件
+
+如果只想在系统达到给定阈值时通过邮件获取当前内存利用率百分比,请使用以下脚本。
+
+这是个非常简单直接的单行脚本。在大多数情况下,我更喜欢使用这种方法。
+
+当你的系统达到内存利用率的 80% 时,它将触发一封电子邮件。
+
+```
+*/5 * * * * /usr/bin/free | awk '/Mem/{printf("RAM Usage: %.2f%\n"), $3/$2*100}' | awk '{print $3}' | awk '{ if($1 > 80) print $0;}' | mail -s "High Memory Alert" 2daygeek@gmail.com
+```
+
+**注意:**你需要更改电子邮件地址而不是使用我们的电子邮件地址。此外,你可以根据你的要求更改内存利用率阈值。
+
+**输出:**你将收到类似下面的电子邮件提醒。
+
+```
+High Memory Alert: 80.40%
+```
+
+我们过去添加了许多有用的 shell 脚本。如果要查看这些内容,请导航至以下链接。
+
+ * [如何使用 shell 脚本自动执行日常活动?][1]
+
+### 方法-2:用 Linux Bash 脚本监视内存利用率并发送电子邮件
+
+如果要在邮件警报中获取有关内存利用率的更多信息。使用以下脚本,其中包括基于 `top` 命令和 `ps` 命令的最高内存利用率和进程详细信息。
+
+这将立即让你了解系统的运行情况。
+
+当你的系统达到内存利用率的 “80%” 时,它将触发一封电子邮件。
+
+**注意:**你需要更改电子邮件地址而不是使用我们的电子邮件地址。此外,你可以根据你的要求更改内存利用率阈值。
+
+```
+# vi /opt/scripts/memory-alert.sh
+
+#!/bin/sh
+ramusage=$(free | awk '/Mem/{printf("RAM Usage: %.2f\n"), $3/$2*100}'| awk '{print $3}')
+
+if [ "$ramusage" > 20 ]; then
+
+ SUBJECT="ATTENTION: Memory Utilization is High on $(hostname) at $(date)"
+ MESSAGE="/tmp/Mail.out"
+ TO="2daygeek@gmail.com"
+ echo "Memory Current Usage is: $ramusage%" >> $MESSAGE
+ echo "" >> $MESSAGE
+ echo "------------------------------------------------------------------" >> $MESSAGE
+ echo "Top Memory Consuming Process Using top command" >> $MESSAGE
+ echo "------------------------------------------------------------------" >> $MESSAGE
+ echo "$(top -b -o +%MEM | head -n 20)" >> $MESSAGE
+ echo "" >> $MESSAGE
+ echo "------------------------------------------------------------------" >> $MESSAGE
+ echo "Top Memory Consuming Process Using ps command" >> $MESSAGE
+ echo "------------------------------------------------------------------" >> $MESSAGE
+ echo "$(ps -eo pid,ppid,%mem,%Memory,cmd --sort=-%mem | head)" >> $MESSAGE
+ mail -s "$SUBJECT" "$TO" < $MESSAGE
+ rm /tmp/Mail.out
+fi
+```
+
+最后添加一个 [cron 任务][2] 来自动执行此操作。它将每 5 分钟运行一次。
+
+```
+# crontab -e
+*/5 * * * * /bin/bash /opt/scripts/memory-alert.sh
+```
+
+**注意:**由于脚本计划每 5 分钟运行一次,因此你将在最多 5 分钟后收到电子邮件提醒(但不是 5 分钟,取决于具体时间)。
+
+比如说,如果你的系统达到 8.25 的给定限制,那么你将在 5 分钟内收到电子邮件警报。希望现在说清楚了。
+
+**输出:**你将收到类似下面的电子邮件提醒。
+
+```
+Memory Current Usage is: 80.71%
+
++------------------------------------------------------------------+
+Top Memory Consuming Process Using top command
++------------------------------------------------------------------+
+top - 12:00:58 up 5 days, 9:03, 1 user, load average: 1.82, 2.60, 2.83
+Tasks: 314 total, 1 running, 313 sleeping, 0 stopped, 0 zombie
+%Cpu0 : 8.3 us, 12.5 sy, 0.0 ni, 75.0 id, 0.0 wa, 0.0 hi, 4.2 si, 0.0 st
+%Cpu1 : 13.6 us, 4.5 sy, 0.0 ni, 81.8 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
+%Cpu2 : 21.7 us, 21.7 sy, 0.0 ni, 56.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
+%Cpu3 : 13.6 us, 9.1 sy, 0.0 ni, 77.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
+%Cpu4 : 17.4 us, 8.7 sy, 0.0 ni, 73.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
+%Cpu5 : 20.8 us, 4.2 sy, 0.0 ni, 70.8 id, 0.0 wa, 0.0 hi, 4.2 si, 0.0 st
+%Cpu6 : 9.1 us, 0.0 sy, 0.0 ni, 90.9 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
+%Cpu7 : 17.4 us, 4.3 sy, 0.0 ni, 78.3 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
+KiB Mem : 16248588 total, 5015964 free, 6453404 used, 4779220 buff/cache
+KiB Swap: 17873388 total, 16928620 free, 944768 used. 6423008 avail Mem
+
+ PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
+17163 daygeek 20 2033204 487736 282888 S 10.0 3.0 8:26.07 /usr/lib/firefox/firefox -contentproc -childID 15 -isForBrowser -prefsLen 9408 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /u+
+ 1121 daygeek 20 4191388 419180 100552 S 5.0 2.6 126:02.84 /usr/bin/gnome-shell
+ 1902 daygeek 20 1701644 327216 82536 S 20.0 2.0 153:27.92 /opt/google/chrome/chrome
+ 2969 daygeek 20 1051116 324656 92388 S 15.0 2.0 149:38.09 /opt/google/chrome/chrome --type=renderer --field-trial-handle=10346122902703263820,11905758137655502112,131072 --service-pipe-token=1339861+
+ 1068 daygeek 20 1104856 309552 278072 S 5.0 1.9 143:47.42 /usr/lib/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -verbose 3
+27246 daygeek 20 907344 265600 108276 S 30.0 1.6 10:42.80 /opt/google/chrome/chrome --type=renderer --field-trial-handle=10346122902703263820,11905758137655502112,131072 --service-pipe-token=8587368+
+
++------------------------------------------------------------------+
+Top Memory Consuming Process Using ps command
++------------------------------------------------------------------+
+ PID PPID %MEM %CPU CMD
+ 8223 1 6.4 6.8 /usr/lib/firefox/firefox --new-window
+13948 1121 6.3 1.2 /usr/bin/../lib/notepadqq/notepadqq-bin
+ 8671 8223 4.4 7.5 /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 6999 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8223 true tab
+17163 8223 3.0 0.6 /usr/lib/firefox/firefox -contentproc -childID 15 -isForBrowser -prefsLen 9408 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8223 true tab
+ 1121 1078 2.5 1.6 /usr/bin/gnome-shell
+17937 8223 2.5 0.8 /usr/lib/firefox/firefox -contentproc -childID 16 -isForBrowser -prefsLen 9410 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8223 true tab
+ 8499 8223 2.2 0.6 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 6635 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8223 true tab
+ 8306 8223 2.2 0.8 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8223 true tab
+ 9198 8223 2.1 0.6 /usr/lib/firefox/firefox -contentproc -childID 7 -isForBrowser -prefsLen 8604 -prefMapSize 184979 -parentBuildID 20190521202118 -greomni /usr/lib/firefox/omni.ja -appomni /usr/lib/firefox/browser/omni.ja -appdir /usr/lib/firefox/browser 8223 true tab
+```
+
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/linux-bash-script-to-monitor-memory-utilization-usage-and-send-email/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[wxy](https://github.com/wxy)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
+[1]: https://www.2daygeek.com/category/shell-script/
+[2]: https://www.2daygeek.com/crontab-cronjob-to-schedule-jobs-in-linux/
diff --git a/published/20190622 Open Source Slack Alternative Mattermost Gets -50M Funding.md b/published/20190622 Open Source Slack Alternative Mattermost Gets -50M Funding.md
new file mode 100644
index 0000000000..8d6b7aad8a
--- /dev/null
+++ b/published/20190622 Open Source Slack Alternative Mattermost Gets -50M Funding.md
@@ -0,0 +1,91 @@
+[#]: collector: (lujun9972)
+[#]: translator: (wahailin)
+[#]: reviewer: (wxy)
+[#]: publisher: (wxy)
+[#]: url: (https://linux.cn/article-11014-1.html)
+[#]: subject: (Open Source Slack Alternative Mattermost Gets $50M Funding)
+[#]: via: (https://itsfoss.com/mattermost-funding/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+Slack 的开源替代品 Mattermost 获得 5000 万美元融资
+======
+
+[Mattermost][1],作为 [Slack][2] 的开源替代品,获得了 5000 万美元的 B 轮融资。这个消息极其令人振奋。
+
+[Slack][3] 是一个基于云的团队内部沟通协作软件。企业、初创企业、甚至全球化的开源项目都在使用 Slack 进行同事及项目成员间的沟通。
+
+[Slack 在 2019 年 6 月的估值为 200 亿美元][4],由此可见其在科技行业的巨大影响,当然也就有更多产品想与之竞争。
+
+### 5000 万美元开源项目
+
+![][5]
+
+就我个人而言,我并不知道 MatterMost 这个产品。但 [VentureBeat][6] 对这则新闻的报道,激发了我的好奇心。这次融资由 [Y Combinator][7] 的 Continuity 与一家新的投资方 BattleVentures 领投,现有投资者 Redpoint 和 S28 Captial 共同跟投。
+
+在[公告][8]中,他们也提到:
+
+> 今天的公告中,Mattermost 成为了 YC 有史以来规模最大的 B 轮投资项目,更重要的是,它是 YC 迄今为止投资额最高的开源项目。
+
+下面是摘自 VentureBeat 的报道,你可以从中了解到一些细节:
+
+> 本次资本注入,是继 2017 年 2 月的种子轮 350 万融资和今年 2 月份的 2000 万 A 轮融资之后进行的,并使得这家总部位于美国加州帕罗奥图的公司融资总额达到了约 7000 万美元。
+
+如果你对他们的规划感兴趣,可以阅读[官方公告][8]。
+
+尽管听起来很不错,但可能你并不知道 Mattermost 是什么。所以我们先来作个简单了解:
+
+### Mattermost 快览
+
+![Mattermost][9]
+
+前面已经提到,Mattermost 是 Slack 的开源替代品。
+
+乍一看,它几乎照搬了 Slack 的界面外观,没错,这就是关键所在,你将拥有你可以轻松使用的软件的开源解决方案。
+
+它甚至集成了一些流行的 DevOps 工具,如 Git、自动机器人和 CI/CD。除了这些功能外,它还关注安全性和隐私。
+
+同样,和 Slack 类似,它支持和多种应用程序与服务的集成。
+
+听起来很有前景?我也这么认为。
+
+#### 定价:企业版和团队版
+
+如果你希望由 Mattermost 托管该服务(或获得优先支持),应选择其企业版。但如果你不想使用付费托管,可以下载[团队版][11],并将其安装到基于 Linux 的云服务器或 VPS 服务器上。
+
+当然,我们不会在此进行深入探究。我确想在此提及的是,企业版并不昂贵。
+
+![][12]
+
+### 总结
+
+MatterMost 无疑相当出色,有了 5000 万巨额资金的注入,对于那些正在寻求安全的并能提供高效团队协作支持的开源通讯平台的用户,Mattermost 很可能成为开源社区重要的部分。
+
+你觉得这条新闻怎么样?对你来说有价值吗?你是否已了解 Mattermost 是 Slack 的替代品?
+
+请在下面的评论中给出你的想法。
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/mattermost-funding/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[wahailin](https://github.com/wahailin)
+校对:[wxy](https://github.com/wxy)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://mattermost.com/
+[2]: https://itsfoss.com/slack-use-linux/
+[3]: https://slack.com
+[4]: https://www.ft.com/content/98747b36-9368-11e9-aea1-2b1d33ac3271
+[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/06/mattermost-wallpaper.png?resize=800%2C450&ssl=1
+[6]: https://venturebeat.com/2019/06/19/mattermost-raises-50-million-to-advance-its-open-source-slack-alternative/
+[7]: https://www.ycombinator.com/
+[8]: https://mattermost.com/blog/yc-leads-50m-series-b-in-mattermost-as-open-source-slack-alternative/
+[9]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/06/mattermost-screenshot.jpg?fit=800%2C497&ssl=1
+[10]: https://itsfoss.com/zettlr-markdown-editor/
+[11]: https://mattermost.com/download/
+[12]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/mattermost-enterprise-plan.jpg?fit=800%2C325&ssl=1
diff --git a/scripts/check/common.inc.sh b/scripts/check/common.inc.sh
index 2bc0334930..905699a139 100644
--- a/scripts/check/common.inc.sh
+++ b/scripts/check/common.inc.sh
@@ -10,7 +10,7 @@ export TSL_DIR='translated' # 已翻译
export PUB_DIR='published' # 已发布
# 定义匹配规则
-export CATE_PATTERN='(talk|tech)' # 类别
+export CATE_PATTERN='(talk|tech|news)' # 类别
export FILE_PATTERN='[0-9]{8} [a-zA-Z0-9_.,() -]*\.md' # 文件名
# 获取用于匹配操作的正则表达式
diff --git a/sources/news/20190606 Cisco to buy IoT security, management firm Sentryo.md b/sources/news/20190606 Cisco to buy IoT security, management firm Sentryo.md
new file mode 100644
index 0000000000..cc90793305
--- /dev/null
+++ b/sources/news/20190606 Cisco to buy IoT security, management firm Sentryo.md
@@ -0,0 +1,106 @@
+[#]: collector: (lujun9972)
+[#]: translator: (hopefully2333)
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco to buy IoT security, management firm Sentryo)
+[#]: via: (https://www.networkworld.com/article/3400847/cisco-to-buy-iot-security-management-firm-sentryo.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco to buy IoT security, management firm Sentryo
+======
+Buying Sentryo will give Cisco support for anomaly and real-time threat detection for the industrial internet of things.
+![IDG Worldwide][1]
+
+Looking to expand its IoT security and management offerings Cisco plans to acquire [Sentryo][2], a company based in France that offers anomaly detection and real-time threat detection for Industrial Internet of Things ([IIoT][3]) networks.
+
+Founded in 2014 Sentryo products include ICS CyberVision – an asset inventory, network monitoring and threat intelligence platform – and CyberVision network edge sensors, which analyze network flows.
+
+**More on IoT:**
+
+ * [What is the IoT? How the internet of things works][4]
+ * [What is edge computing and how it’s changing the network][5]
+ * [Most powerful Internet of Things companies][6]
+ * [10 Hot IoT startups to watch][7]
+ * [The 6 ways to make money in IoT][8]
+ * [What is digital twin technology? [and why it matters]][9]
+ * [Blockchain, service-centric networking key to IoT success][10]
+ * [Getting grounded in IoT networking and security][11]
+ * [Building IoT-ready networks must become a priority][12]
+ * [What is the Industrial IoT? [And why the stakes are so high]][13]
+
+
+
+“We have incorporated Sentryo’s edge sensor and our industrial networking hardware with Cisco’s IOx application framework,” wrote Rob Salvagno, Cisco vice president of Corporate Development and Cisco Investments in a [blog][14] about the proposed buy.
+
+“We believe that connectivity is foundational to IoT projects and by unleashing the power of the network we can dramatically improve operational efficiencies and uncover new business opportunities. With the addition of Sentryo, Cisco can offer control systems engineers deeper visibility into assets to optimize, detect anomalies and secure their networks.”
+
+Gartner [wrote][15] of Sentryo’s system: “ICS CyberVision product provides visibility into its customers'' OT networks in way all OT users will understand, not just technical IT staff. With the increased focus of both hackers and regulators on industrial control systems, it is vital to have the right visibility of an organization’s OT. Many OT networks not only are geographically dispersed, but also are complex and consist of hundreds of thousands of components.”
+
+Sentryo's ICS CyberVision lets enterprises ensure continuity, resilience and safety of their industrial operations while preventing possible cyberattacks, said [Nandini Natarajan][16] , industry analyst at Frost & Sullivan. "It automatically profiles assets and communication flows using a unique 'universal OT language' in the form of tags, which describe in plain text what each asset is doing. ICS CyberVision gives anyone immediate insights into an asset's role and behaviors; it offers many different analytic views leveraging artificial intelligence algorithms to let users deep-dive into the vast amount of data a typical industrial control system can generate. Sentryo makes it easy to see important or relevant information."
+
+In addition, Sentryo's platform uses deep packet inspection (DPI) to extract information from communications among industrial assets, Natarajan said. This DPI engine is deployed through an edge-computing architecture that can run either on Sentryo sensor appliances or on network equipment that is already installed. Thus, Sentryo can embed visibility and cybersecurity features in the industrial network rather than deploying an out-of-band monitoring network, Natarajan said.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][17] ]**
+
+Sentryo’s technology will broaden [Cisco’s][18] overarching IoT plan. In January it [launched][19] a family of switches, software, developer tools and blueprints to meld IoT and industrial networking with [intent-based networking][20] (IBN) and classic IT security, monitoring and application-development support.
+
+The new platforms can be managed by Cisco’s DNA Center, and Cisco IoT Field Network Director, letting customers fuse their IoT and industrial-network control with their business IT world.
+
+DNA Center is Cisco’s central management tool for enterprise networks, featuring automation capabilities, assurance setting, fabric provisioning and policy-based segmentation. It is also at the center of the company’s IBN initiative offering customers the ability to automatically implement network and policy changes on the fly and ensure data delivery. The IoT Field Network Director is software that manages multiservice networks of Cisco industrial, connected grid routers and endpoints.
+
+Liz Centoni, senior vice president and general manager of Cisco's IoT business group said the company expects the [Sentryo technology to help][21] IoT customers in a number of ways:
+
+Network-enabled, passive DPI capabilities to discover IoT and OT assets, and establish communication patterns between devices and systems. Sentryo’s sensor is natively deployable on Cisco’s IOx framework and can be built into the industrial network these devices run on instead of adding additional hardware.
+
+As device identification and communication patterns are created, Cisco will integrate this with DNA Center and Identity Services Engine(ISE) to allow customers to easily define segmentation policy. This integration will allow OT teams to leverage IT security teams’ expertise to secure their environments without risk to the operational processes.
+
+With these IoT devices lacking modern embedded software and security capabilities, segmentation will be the key technology to allow communication from operational assets to the rightful systems, and reduce risk of cyber security incidents like we saw with [WannaCry][22] and [Norsk Hydro][23].
+
+According to [Crunchbase][24], Sentryo has $3.5M in estimated revenue annually and it competes most closely with Cymmetria, Team8, and Indegy. The acquisition is expected to close before the end of Cisco’s Q1 Fiscal Year 2020 -- October 26, 2019. Financial details of the acquisition were not detailed.
+
+Sentryo is Cisco’s second acquisition this year. It bought Singularity for its network analytics technology in January. In 2018 Cisco bought six companies including Duo security software.
+
+** **
+
+Join the Network World communities on [Facebook][25] and [LinkedIn][26] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400847/cisco-to-buy-iot-security-management-firm-sentryo.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/09/nwan_019_iiot-100771131-large.jpg
+[2]: https://www.sentryo.net/
+[3]: https://www.networkworld.com/article/3243928/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[4]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[5]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[6]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[7]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[8]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[9]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[10]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[11]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[12]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[13]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[14]: https://blogs.cisco.com/news/cisco-industrial-iot-news
+[15]: https://www.globenewswire.com/news-release/2018/06/28/1531119/0/en/Sentryo-Named-a-Cool-Vendor-by-Gartner.html
+[16]: https://www.linkedin.com/pulse/industrial-internet-things-iiot-decoded-nandini-natarajan/
+[17]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[18]: https://www.cisco.com/c/dam/en_us/solutions/iot/ihs-report.pdf
+[19]: https://www.networkworld.com/article/3336454/cisco-goes-after-industrial-iot.html
+[20]: https://www.networkworld.com/article/3202699/what-is-intent-based-networking.html
+[21]: https://blogs.cisco.com/news/securing-the-internet-of-things-cisco-announces-intent-to-acquire-sentryo
+[22]: https://blogs.cisco.com/security/talos/wannacry
+[23]: https://www.securityweek.com/norsk-hydro-may-have-lost-40m-first-week-after-cyberattack
+[24]: https://www.crunchbase.com/organization/sentryo#section-web-traffic-by-similarweb
+[25]: https://www.facebook.com/NetworkWorld/
+[26]: https://www.linkedin.com/company/network-world
diff --git a/sources/news/20190606 Zorin OS Becomes Even More Awesome With Zorin 15 Release.md b/sources/news/20190606 Zorin OS Becomes Even More Awesome With Zorin 15 Release.md
new file mode 100644
index 0000000000..c7dc93c70a
--- /dev/null
+++ b/sources/news/20190606 Zorin OS Becomes Even More Awesome With Zorin 15 Release.md
@@ -0,0 +1,116 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Zorin OS Becomes Even More Awesome With Zorin 15 Release)
+[#]: via: (https://itsfoss.com/zorin-os-15-release/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+Zorin OS Becomes Even More Awesome With Zorin 15 Release
+======
+
+Zorin OS has always been known as one of the [beginner-focused Linux distros][1] out there. Yes, it may not be the most popular – but it sure is a good distribution specially for Windows migrants.
+
+A few years back, I remember, a friend of mine always insisted me to install [Zorin OS][2]. Personally, I didn’t like the UI back then. But, now that Zorin OS 15 is here – I have more reasons to get it installed as my primary OS.
+
+Fret not, in this article, we’ll talk about everything that you need to know.
+
+### New Features in Zorin 15
+
+Let’s see the major changes in the latest release of Zorin. Zorin 15 is based on Ubuntu 18.04.2 and thus it brings the performance improvement under the hood. Other than that, there are several UI (User Interface) improvements.
+
+#### Zorin Connect
+
+![Zorin Connect][3]
+
+Zorin OS 15’s main highlight is – Zorin Connect. If you have an Android device, you are in for a treat. Similar to [PushBullet][4], [Zorin Connect][5] integrates your phone with the desktop experience.
+
+You get to sync your smartphone’s notifications on your desktop while also being able to reply to it. Heck, you can also reply to the SMS messages and view those conversations.
+
+In addition to these, you get the following abilities:
+
+ * Share files and web links between devices
+ * Use your phone as a remote control for your computer
+ * Control media playback on your computer from your phone, and pause playback automatically when a phone call arrives
+
+
+
+As mentioned in their [official announcement post][6], the data transmission will be on your local network and no data will be transmitted to the cloud. To access Zorin Connect, navigate your way through – Zorin menu > System Tools > Zorin Connect.
+
+[Get ZORIN CONNECT ON PLAY STORE][5]
+
+#### New Desktop Theme (with dark mode!)
+
+![Zorin Dark Mode][7]
+
+I’m all in when someone mentions “Dark Mode” or “Dark Theme”. For me, this is the best thing that comes baked in with Zorin OS 15.
+
+[][8]
+
+Suggested read Necuno is a New Open Source Smartphone Running KDE
+
+It’s so pleasing to my eyes when I enable the dark mode on anything, you with me?
+
+Not just a dark theme, the UI is a lot cleaner and intuitive with subtle new animations. You can find all the settings from the Zorin Appearance app built-in.
+
+#### Adaptive Background & Night Light
+
+You get an option to let the background adapt according to the brightness of the environment every hour of the day. Also, you can find the night mode if you don’t want the blue light to stress your eyes.
+
+#### To do app
+
+![Todo][9]
+
+I always wanted this to happen so that I don’t have to use a separate service that offers a Linux client to add my tasks. It’s good to see a built-in app with integration support for Google Tasks and Todoist.
+
+#### There’s More?
+
+Yes! Other major changes include the support for Flatpak, a touch layout for convertible laptops, a DND mode, and some redesigned apps (Settings, Libre Office) to give you better user experience.
+
+If you want the detailed list of changes along with the minor improvements, you can follow the [announcement post][6]. If you are already a Zorin user, you would notice that they have refreshed their website with a new look as well.
+
+### Download Zorin OS 15
+
+**Note** : _Direct upgrades from Zorin OS 12 to 15 – without needing to re-install the operating system – will be available later this year._
+
+In case you didn’t know, there are three versions of Zorin OS – Ultimate, Core, and the Lite version.
+
+If you want to support the devs and the project while unlocking the full potential of Zorin OS, you should get the ultimate edition for $39.
+
+If you just want the essentials, the core edition will do just fine (which you can download for free). In either case, if you have an old computer, the lite version is the one to go with.
+
+[DOWNLOAD ZORIN OS 15][10]
+
+**What do you think of Zorin 15?**
+
+[][11]
+
+Suggested read Ubuntu 14.04 Codenamed Trusty Tahr
+
+I’m definitely going to give it a try as my primary OS – fingers crossed. What about you? What do you think about the latest release? Feel free to let us know in the comments below.
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/zorin-os-15-release/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/best-linux-beginners/
+[2]: https://zorinos.com/
+[3]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/06/zorin-connect.jpg?fit=800%2C473&ssl=1
+[4]: https://www.pushbullet.com/
+[5]: https://play.google.com/store/apps/details?id=com.zorinos.zorin_connect&hl=en_IN
+[6]: https://zoringroup.com/blog/2019/06/05/zorin-os-15-is-here-faster-easier-more-connected/
+[7]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/zorin-dark-mode.jpg?fit=722%2C800&ssl=1
+[8]: https://itsfoss.com/necunos-linux-smartphone/
+[9]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/Todo.jpg?fit=800%2C652&ssl=1
+[10]: https://zorinos.com/download/
+[11]: https://itsfoss.com/ubuntu-1404-codenamed-trusty-tahr/
diff --git a/sources/news/20190607 Free and Open Source Trello Alternative OpenProject 9 Released.md b/sources/news/20190607 Free and Open Source Trello Alternative OpenProject 9 Released.md
new file mode 100644
index 0000000000..8c5c5decf9
--- /dev/null
+++ b/sources/news/20190607 Free and Open Source Trello Alternative OpenProject 9 Released.md
@@ -0,0 +1,85 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Free and Open Source Trello Alternative OpenProject 9 Released)
+[#]: via: (https://itsfoss.com/openproject-9-release/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+Free and Open Source Trello Alternative OpenProject 9 Released
+======
+
+[OpenProject][1] is a collaborative open source project management software. It’s an alternative to proprietary solutions like [Trello][2] and [Jira][3].
+
+You can use it for free if it’s for personal use and you set it up (and host it) on your own server. This way, you control your data.
+
+Of course, you get access to premium features and priority help if you are a [Cloud or Enterprise edition user][4].
+
+The OpenProject 9 release emphasizes on new board views, package list view, and work templates.
+
+If you didn’t know about this, you can give it a try. But, if you are an existing user – you should know what’s new before migrating to OpenProject 9.
+
+### What’s New in OpenProject 9?
+
+Here are some of the major changes in the latest release of OpenProject.
+
+#### Scrum & Agile Boards
+
+![][5]
+
+For Cloud and Enterprise editions, there’s a new [scrum][6] and [agile][7] board view. You also get to showcase your work in a [kanban-style][8] fashion, making it easier to support your agile and scrum teams.
+
+The new board view makes it easy to know who’s assigned for the task and update the status in a jiffy. You also get different board view options like basic board, status board, and version boards.
+
+#### Work Package templates
+
+![Work Package Template][9]
+
+You don’t have to create everything from scratch for every unique work package. So, instead, you just keep a template – so that you can use it whenever you need to create a new work package. It will save a lot of time.
+
+#### New Work Package list view
+
+![Work Package View][10]
+
+In the work package list, there’s a subtle new addition that lets you view the avatars of the assigned people for a specific work.
+
+#### Customizable work package view for my page
+
+Your own page to display what you are working on (and the progress) shouldn’t be always boring. So, now you get the ability to customize it and even add a Gantt chart to visualize your work.
+
+[][11]
+
+Suggested read Ubuntu 12.04 Has Reached End of Life
+
+**Wrapping Up**
+
+For detailed instructions on migrating and installation, you should follow the [official announcement post][12] covering all the essential details for the users.
+
+Also, we would love to know about your experience with OpenProject 9, let us know about it in the comments section below! If you use some other project management software, feel free to suggest it to us and rest of your fellow It’s FOSS readers.
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/openproject-9-release/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://www.openproject.org/
+[2]: https://trello.com/
+[3]: https://www.atlassian.com/software/jira
+[4]: https://www.openproject.org/pricing/
+[5]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/open-project-9-scrum-agile.jpeg?fit=800%2C517&ssl=1
+[6]: https://en.wikipedia.org/wiki/Scrum_(software_development)
+[7]: https://en.wikipedia.org/wiki/Agile_software_development
+[8]: https://en.wikipedia.org/wiki/Kanban
+[9]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/work-package-template.jpg?ssl=1
+[10]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/06/work-package-view.jpg?fit=800%2C454&ssl=1
+[11]: https://itsfoss.com/ubuntu-12-04-end-of-life/
+[12]: https://www.openproject.org/openproject-9-new-scrum-agile-board-view/
diff --git a/sources/news/20190612 BitTorrent Client Deluge 2.0 Released- Here-s What-s New.md b/sources/news/20190612 BitTorrent Client Deluge 2.0 Released- Here-s What-s New.md
new file mode 100644
index 0000000000..52fcdc0569
--- /dev/null
+++ b/sources/news/20190612 BitTorrent Client Deluge 2.0 Released- Here-s What-s New.md
@@ -0,0 +1,88 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (BitTorrent Client Deluge 2.0 Released: Here’s What’s New)
+[#]: via: (https://itsfoss.com/deluge-2-release/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+BitTorrent Client Deluge 2.0 Released: Here’s What’s New
+======
+
+You probably already know that [Deluge][1] is one of the [best Torrent clients available for Linux users][2]. However, the last stable release was almost two years back.
+
+Even though it was in active development, a major stable release wasn’t there – until recently. The latest version while we write this happens to be 2.0.2. So, if you haven’t downloaded the latest stable version – do try it out.
+
+In either case, if you’re curious, let us talk about what’s new.
+
+![Deluge][3]
+
+### Major improvements in Deluge 2.0
+
+The new release introduces multi-user support – which was a much needed addition.
+
+In addition to that, there has been several performance improvements to handle more torrents with faster loading times.
+
+Also, with version 2.0, Deluge used Python 3 with minimal support for Python 2.7. Even for the user interface, they migrated from GTK UI to GTK3.
+
+As per the release notes, there are several more significant additions/improvements, which include:
+
+ * Multi-user support.
+ * Performance updates to handle thousands of torrents with faster loading times.
+ * A New Console UI which emulates GTK/Web UIs.
+ * GTK UI migrated to GTK3 with UI improvements and additions.
+ * Magnet pre-fetching to allow file selection when adding torrent.
+ * Fully support libtorrent 1.2 release.
+ * Language switching support.
+ * Improved documentation hosted on ReadTheDocs.
+ * AutoAdd plugin replaces built-in functionality.
+
+
+
+### How to install or upgrade to Deluge 2.0
+
+![][4]
+
+You should follow the official [installation guide][5] (using PPA or PyPi) for any Linux distro. However, if you are upgrading, you should go through the note mentioned in the release note:
+
+“_Deluge 2.0 is not compatible with Deluge 1.x clients or daemons so these will require upgrading too._ _Also_ _third-party Python scripts may not be compatible if they directly connect to the Deluge client and will need migrating._“
+
+So, they insist to always make a backup of your [config][6] before a major version upgrade to guard against data loss.
+
+[][7]
+
+Suggested read Ubuntu's Snap Apps Website Gets Much Needed Improvements
+
+And, if you are an author of a plugin, you need to upgrade it make it compatible with the new release.
+
+Direct download app packages not yet available for Windows and Mac OS. However, the release note mentions that they are being worked on.
+
+As an alternative, you can install them manually by following the [installation guide][5] in the updated official documentation.
+
+**Wrapping Up**
+
+What do you think about the latest stable release? Do you utilize Deluge as your BitTorrent client? Or do you find something else as a better alternative?
+
+Let us know your thoughts in the comments below.
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/deluge-2-release/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://dev.deluge-torrent.org/
+[2]: https://itsfoss.com/best-torrent-ubuntu/
+[3]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/deluge.jpg?fit=800%2C410&ssl=1
+[4]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/06/Deluge-2-release.png?resize=800%2C450&ssl=1
+[5]: https://deluge.readthedocs.io/en/latest/intro/01-install.html
+[6]: https://dev.deluge-torrent.org/wiki/Faq#WheredoesDelugestoreitssettingsconfig
+[7]: https://itsfoss.com/snap-store/
diff --git a/sources/news/20190619 Codethink open sources part of onboarding process.md b/sources/news/20190619 Codethink open sources part of onboarding process.md
new file mode 100644
index 0000000000..537ded948b
--- /dev/null
+++ b/sources/news/20190619 Codethink open sources part of onboarding process.md
@@ -0,0 +1,42 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Codethink open sources part of onboarding process)
+[#]: via: (https://opensource.com/article/19/6/codethink-onboarding-process)
+[#]: author: (Laurence Urhegyi https://opensource.com/users/laurence-urhegyi)
+
+Codethink open sources part of onboarding process
+======
+In other words, how to Git going in FOSS.
+![Teacher or learner?][1]
+
+Here at [Codethink][2], we’ve recently focused our energy into enhancing the onboarding process we use for all new starters at the company. As we grow steadily in size, it’s important that we have a well-defined approach to both welcoming new employees into the company, and introducing them to the organization’s culture.
+
+As part of this overall onboarding effort, we’ve created [_How to Git going in FOSS_][3]: an introductory guide to the world of free and open source software (FOSS), and some of the common technologies, practices, and principles associated with free and open source software.
+
+This guide was initially aimed at work experience students and summer interns. However, the document is in fact equally applicable to anyone who is new to free and open source software, no matter their prior experience in software or IT in general. _How to Git going in FOSS_ is hosted on GitLab and consists of several repositories, each designed to be a self-guided walk through.
+
+Our guide begins with a general introduction to FOSS, including explanations of the history of GNU/Linux, how to use [Git][4] (as well as Git hosting services such as GitLab), and how to use a text editor. The document then moves on to exercises that show the reader how to implement some of the things they’ve just learned.
+
+_How to Git going in FOSS_ is fully public and available for anyone to try. If you’re new to FOSS or know someone who is, then please have a read-through, and see what you think. If you have any feedback, feel free to raise an issue on GitLab. And, of course, we also welcome contributions. We’re keen to keep improving the guide however possible. One future improvement we plan to make is an additional exercise that is more complex than the existing two, such as potentially introducing the reader to [Continuous Integration][5].
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/codethink-onboarding-process
+
+作者:[Laurence Urhegyi][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/laurence-urhegyi
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/osdc-lead-teacher-learner.png?itok=rMJqBN5G (Teacher or learner?)
+[2]: https://www.codethink.co.uk/about.html
+[3]: https://gitlab.com/ct-starter-guide
+[4]: https://git-scm.com
+[5]: https://en.wikipedia.org/wiki/Continuous_integration
diff --git a/sources/news/20190622 Cloudflare-s random number generator, robotics data visualization, npm token scanning, and more news.md b/sources/news/20190622 Cloudflare-s random number generator, robotics data visualization, npm token scanning, and more news.md
new file mode 100644
index 0000000000..af595d310b
--- /dev/null
+++ b/sources/news/20190622 Cloudflare-s random number generator, robotics data visualization, npm token scanning, and more news.md
@@ -0,0 +1,84 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cloudflare's random number generator, robotics data visualization, npm token scanning, and more news)
+[#]: via: (https://opensource.com/article/19/6/news-june-22)
+[#]: author: (Scott Nesbitt https://opensource.com/users/scottnesbitt)
+
+Cloudflare's random number generator, robotics data visualization, npm token scanning, and more news
+======
+Catch up on the biggest open source headlines from the past two weeks.
+![Weekly news roundup with TV][1]
+
+In this edition of our open source news roundup, we take a look Cloudflare's open source random number generator, more open source robotics data, new npm functionality, and more!
+
+### Cloudflare announces open source random number generator project
+
+Is there such a thing as a truly random number? Internet security and services provider Cloudflare things so. To prove it, the company has formed [The League of Entropy][2], an open source project to create a generator for random numbers.
+
+The League consists of Cloudflare and "five other organisations — predominantly universities and security companies." They share random numbers, using an open source tool called [Drand][3] (short for Distributed Randomness Beacon Daemon). The numbers are then "composited into one random number" on the basis that "several random numbers are more random than one random number." While the League's random number generator isn't intended "for any kind of password or cryptographic seed generation," Cloudflare's CEO Matthew Prince points out that if "you need a way of having a known random source, this is a really valuable tool."
+
+### Cruise open sources robotics data analysis tool
+
+Projects involved in creating self-driving vehicles generate petabytes of data. And with amounts of data that large comes the challenge of quickly and effectively analyzing it. To make the task easier, General Motors subsidiary Cruise has made its Webviz data visualization tool "[freely available to developers][4] in need of a modular robotics analysis solution."
+
+Webviz "takes as input any bag file (the message format used by the popular Robot Operating System) and outputs charts and graphs." It "contains a collection of general panels (which visualize data) applicable to most robotics developers," said Esther Weon, a software engineer at Cruise. The company also plans to "release a public API that’ll allow developers to build custom panels themselves."
+
+The code for Webviz is [available on GitHub][5], where you can download or contribute to the project.
+
+### npm provides more security
+
+The team behind npm, the site providing JavaScript package hosting, has a new collaboration with GitHub to automatically scan for exposed tokens that could give hackers access that doesn't belong to them. The project includes a handy automatic revoke of leaked credentials them if are still valid. This could drastically reduce vulnerabilities in the JavaScript community. For instructions on how to participate, see the [original article][6].
+
+Note that this news was found via the [Changelog news][7].
+
+### Better end of life tracking via open source
+
+A new project, [endoflife.date][8], aims to overcome the complexity of end of life (EOL) announcements for software. It's part tracker, part public announcement on what good documentation looks like for software. As the README states: "The reason this site exists is because this information is very often hidden away. If you're releasing something on a regular basis:
+
+ 1. List only supported releases.
+ 2. Give EoL dates/policy if possible.
+ 3. Hide unsupported releases behind a few extra clicks.
+ 4. Mention security/active release difference if needed."
+
+
+
+Check out the [source code][9] for more information.
+
+### In other news
+
+ * [Medicine needs to embrace open source][10]
+ * [Using geospatial data to create safer roads][11]
+ * [Embracing open source could be a big competitive advantage for businesses][12]
+
+
+
+_Thanks, as always, to Opensource.com staff members and moderators for their help this week._
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/news-june-22
+
+作者:[Scott Nesbitt][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/scottnesbitt
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/weekly_news_roundup_tv.png?itok=B6PM4S1i (Weekly news roundup with TV)
+[2]: https://thenextweb.com/dd/2019/06/17/cloudflares-new-open-source-project-helps-anyone-obtain-truly-random-numbers/
+[3]: https://github.com/dedis/drand
+[4]: https://venturebeat.com/2019/06/18/cruise-open-sources-webview-a-tool-for-robotics-data-analysis/
+[5]: https://github.com/cruise-automation/webviz
+[6]: https://blog.npmjs.org/post/185680936500/protecting-package-publishers-npm-token-security
+[7]: https://changelog.com/news/npm-token-scanning-extending-to-github-NAoe
+[8]: https://endoflife.date/
+[9]: https://github.com/captn3m0/endoflife.date
+[10]: https://www.zdnet.com/article/medicine-needs-to-embrace-open-source/
+[11]: https://itbrief.co.nz/story/using-geospatial-data-to-create-safer-roads
+[12]: https://www.fastcompany.com/90364152/embracing-open-source-could-be-a-big-competitive-advantage-for-businesses
diff --git a/sources/talk/20170320 An Ubuntu User-s Review Of Dell XPS 13 Ubuntu Edition.md b/sources/talk/20170320 An Ubuntu User-s Review Of Dell XPS 13 Ubuntu Edition.md
new file mode 100644
index 0000000000..61a4c4993c
--- /dev/null
+++ b/sources/talk/20170320 An Ubuntu User-s Review Of Dell XPS 13 Ubuntu Edition.md
@@ -0,0 +1,199 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (An Ubuntu User’s Review Of Dell XPS 13 Ubuntu Edition)
+[#]: via: (https://itsfoss.com/dell-xps-13-ubuntu-review)
+[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
+
+An Ubuntu User’s Review Of Dell XPS 13 Ubuntu Edition
+======
+
+_**Brief: Sharing my feel and experience about Dell XPS 13 Kaby Lake Ubuntu edition after using it for over three months.**_
+
+During Black Friday sale last year, I took the bullet and ordered myself a [Dell XPS 13][1] with the new [Intel Kaby Lake processor][2]. It got delivered in the second week of December and if you [follow It’s FOSS on Facebook][3], you might have seen the [live unboxing][4].
+
+Though I was tempted to do the review of Dell XPS 13 Ubuntu edition almost at the same time, I knew it won’t be fair. A brand new system will, of course, feel good and work smooth.
+
+But that’s not the real experience. The real experience of any system comes after weeks, if not months, of use. That’s the reason I hold myself back and waited three months to review Dell XPS Kobylake Ubuntu edition.
+
+### Dell XPS 13 Ubuntu Edition Review
+
+Before we saw what’s hot and what’s not in the latest version of Dell XPS 13, I should tell you that I was using an Acer R13 ultrabook book before this. So I may compare the new Dell system with the older Acer one.
+
+![Dell XPS 13 Ubuntu Edition System Settings][5]![Dell XPS 13 Ubuntu Edition System Settings][5]
+
+Dell XPS 13 has several versions based on processor. The one I am reviewing is Dell XPS13 MLK (9360). It has i5-7200U 7th generation processor. Since I hardly used the touch screen in Acer Aspire R13, I chose to go with the non-touch version of XPS. This decision also saved me a couple of hundreds of Euro.
+
+It has 8 GB of LPDDR3 1866MHz RAM and 256 GB SSD PCIe. Graphics is Intel HD. On connectivity side, it’s got Killer 1535 Wi-Fi 802.11ac 2×2 and Bluetooth 4.1. Screen is InfinityEdge Full HD (1 920 x 1080).
+
+Now, you know what kind of hardware we’ve got here, let’s see what works and what sucks.
+
+#### Look and feel
+
+![Dell XPS 13 Kaby Lake Ubuntu Edition][6]![Dell XPS 13 Kaby Lake Ubuntu Edition][6]
+
+At 13.3″, Dell XPS 13 looks even smaller than a regular 13.3″ laptop, thanks to its non-existent bezel which is the specialty of the infinite display. It is light as a feather with weight just under 1.23 Kg.
+
+The outer surface is metallic, not very shiny but a decent aluminum look. On the interior, the palm rest is made of carbon fiber which is very comfortable at the rest. Unlike the MacBook Air that uses metallic palm rests, the carbon fiber ones are more friendly, especially in winters.
+
+It is almost centimeter and a half high at it’s thickest part (around hinges). This also adds a plus point to the elegance of XPS 13.
+
+Overall, Dell XPS 13 has a compact body and an elegant body.
+
+#### Keyboard and touchpad
+
+The keyboard and touchpad mix well with the carbon fiber interiors. The keys are smooth with springs in the back (perhaps) and give a rich feel while typing. All of the important keys are present and are not tiny in size, something you might be worried of, considering the overall tiny size of XPS13.
+
+Oh! the keyboards have backlit support. Which adds to the rich feel of this expensive laptop.
+
+While the keyboard is a great experience, the same cannot be said about the touchpad. In fact, the touchpad is the weakest part which mars the overall good experience of XPS 13.
+
+The touchpad has a cheap feeling because it makes an irritating sound while tapping on the right side as if it’s hollow underneath. This is [something that has been noticed in the earlier versions of XPS 13][7] but hasn’t been given enough consideration to fix it. This is something you do not expect from a product at such a price.
+
+Also, the touchpad scroll on websites is hideous. It is also not suitable for pixel works because of difficulty in moving little adjustments.
+
+#### Ports
+
+Dell XPS 13 has two USB 3.0 ports, one of them with PowerShare. If you did not know, [USB 3.0 PowerShare][8] ports allow you to charge external devices even when your system is turned off.
+
+![Dell XPS 13 Kaby Lake Ubuntu edition ports][9]![Dell XPS 13 Kaby Lake Ubuntu edition ports][9]
+
+It also has a [Thunderbolt][10] (doubles up as [USB Type-C port][11]). It doesn’t have HDMI port, Ethernet port or VGA port. However, all of these three can be used via the Thunderbolt port and external adapters (sold separately).
+
+![Dell XPS 13 Kaby Lake Ubuntu edition ports][12]![Dell XPS 13 Kaby Lake Ubuntu edition ports][12]
+
+It also has an SD card reader and a headphone jack. In addition to all these, there is an [anti-theft slot][13] (a common security practice in enterprises).
+
+#### Display
+
+The model I have packs 1920x1080px. It’s full HD and display quality is at par. It perfectly displays the high definition pictures and 1080p video files.
+
+I cannot compare it with the [qHD model][14] as I never used it. But considering that there are not enough 4K contents for now, full HD display should be sufficient for next few years.
+
+#### Sound
+
+Compared to Acer R13, XPS 13 has better audio quality. Even the max volume is louder than that of Acer R13. The dual speakers give a nice stereo effect.
+
+#### Webcam
+
+The weirdest part of Dell XPS 13 review comes now. We all have been accustomed of seeing the webcam at the top-middle position on any laptop. But this is not the case here.
+
+XPS 13 puts the webcam on the bottom left corner of the laptop. This is done to keep the bezel as thin as possible. But this creates a problem.
+
+![Image captured with laptop screen at 90 degree][15]
+
+When you video chat with someone, it is natural to look straight up. With the top-middle webcam, your face is in direct line with the camera. But with the bottom left position of web cam, it looks like those weird accidental selfies you take with the front camera of your smartphone. Heck, people on the other side might see inside of your nostrils.
+
+#### Battery
+
+Battery life is the strongest point of Dell XPS 13. While Dell claims an astounding 21-hour battery life, but in my experience, it smoothly gives a battery life of 8-10 hours. This is when I watch movies, browse the internet and other regular stuff.
+
+There is one strange thing that I noticed, though. It charges pretty quick until 90% but the charging slows down afterward. And it almost never goes beyond 98%.
+
+The battery indicator turns red when the battery status falls below 30% and it starts displaying notifications if the battery goes below 10%. There is small light indicator under the touchpad that turns yellow when the battery is low and it turns white when the charger is plugged in.
+
+#### Overheating
+
+I have previously written about ways to [reduce laptop overheating in Linux][16]. Thankfully, so far, I didn’t need to employ those tricks.
+
+Dell XPS 13 remains surprisingly cool when you are using it on battery, even in long runs. The bottom does get heated a little when you use it while charging.
+
+Overall, XPS 13 manages overheating very well.
+
+#### The Ubuntu experience with Dell XPS 13
+
+So far we have seen pretty generic things about the Dell XPS 13. Let’s talk about how good a Linux laptop it is.
+
+Until now, I used to manually [install Linux on Windows laptop][17]. This is the first Linux laptop I ever bought. I would also like to mention the awesome first boot animation of Dell’s Ubuntu laptop. Here’s a YouTube video of the same:
+
+One thing I would like to mention here is that Dell never displays Ubuntu laptops on its website. You’ll have to search the website with Ubuntu then you’ll see the Ubuntu editions. Also, Ubuntu edition is cheaper just by 50 Euro in comparison to its Windows counterpart whereas I was expecting it to be at least 100 Euro less than that of Windows.
+
+Despite being an Ubuntu preloaded laptop, the super key still comes with Windows logo on it. It’s trivial but I would have loved to see the Ubuntu logo on it.
+
+Now talking about Ubuntu experience, the first thing I noticed was that there was no hardware issue. Even the function and media keys work perfectly in Ubuntu, which is a pleasant surprise.
+
+Dell has also added its own repository in the software sources to provide for some Dell specific tools. You can see the footprints of Dell in the entire system.
+
+You might be interested to see how Dell partitioned the 256Gb of disk space. Let me show that to you.
+
+![Default disk partition by Dell][18]
+
+As you can see, there is 524MB reserved for [EFI][19]. Then there is 3.2 GB of factory restore image perhaps.
+
+Dell is using 17Gb of Swap partition, which is more than double of the RAM size. It seems Dell didn’t put enough thought here because this is simply waste of disk space, in my opinion. I would have used not [more than 11 GB of Swap partition][20] here.
+
+As I mentioned before, Dell adds a “restore to factory settings” option in the Grub menu. This is a nice little feature to have.
+
+One thing which I don’t like in the XPS 13 Ubuntu edition is the long boot time. It takes entire 23 seconds to reach the login screen after pressing the power button. I would expect it to be faster considering that it uses SSD PCIe.
+
+If it interests you, the XPS 13 had Chromium and Google Chrome browsers installed by default instead of Firefox.
+
+As far my experience goes, I am fairly impressed with Dell XPS 13 Ubuntu edition. It gives a smooth Ubuntu experience. The laptop seems to be a part of Ubuntu. Though it is an expensive laptop, I would say it is definitely worth the money.
+
+To summarize, let’s see the good, the bad and the ugly of Dell XPS 13 Ubuntu edition.
+
+#### The Good
+
+ * Ultralight weight
+ * Compact
+ * Keyboard
+ * Carbon fiber palm rest
+ * Full hardware support for Ubuntu
+ * Factory restore option for Ubuntu
+ * Nice display and sound quality
+ * Good battery life
+
+
+
+#### The bad
+
+ * Poor touchpad
+ * A little pricey
+ * Long boot time for SSD powered laptop
+ * Windows key still present :P
+
+
+
+#### The ugly
+
+ * Weird webcam placement
+
+
+
+How did you like the **Dell XPS 13 Ubuntu edition review** from an Ubuntu user’s point of view? Do you find it good enough to spend over a thousand bucks? Do share your views in the comment below.
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/dell-xps-13-ubuntu-review
+
+作者:[Abhishek Prakash][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/abhishek/
+[b]: https://github.com/lujun9972
+[1]: https://amzn.to/2ImVkCV
+[2]: http://www.techradar.com/news/computing-components/processors/kaby-lake-intel-core-processor-7th-gen-cpu-news-rumors-and-release-date-1325782
+[3]: https://www.facebook.com/itsfoss/
+[4]: https://www.facebook.com/itsfoss/videos/810293905778045/
+[5]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2017/02/Dell-XPS-13-Ubuntu-Edition-spec.jpg?resize=540%2C337&ssl=1
+[6]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2017/03/Dell-XPS-13-Ubuntu-review.jpeg?resize=800%2C600&ssl=1
+[7]: https://www.youtube.com/watch?v=Yt5SkI0c3lM
+[8]: http://www.dell.com/support/article/fr/fr/frbsdt1/SLN155147/usb-powershare-feature?lang=EN
+[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2017/03/Dell-Ubuntu-XPS-13-Kaby-Lake-ports-1.jpg?resize=800%2C435&ssl=1
+[10]: https://en.wikipedia.org/wiki/Thunderbolt_(interface)
+[11]: https://en.wikipedia.org/wiki/USB-C
+[12]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2017/03/Dell-Ubuntu-XPS-13-Kaby-Lake-ports-2.jpg?resize=800%2C325&ssl=1
+[13]: http://accessories.euro.dell.com/sna/productdetail.aspx?c=ie&l=en&s=dhs&cs=iedhs1&sku=461-10169
+[14]: https://recombu.com/mobile/article/quad-hd-vs-qhd-vs-4k-ultra-hd-what-does-it-all-mean_M20472.html
+[15]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2017/03/Dell-XPS-13-webcam-issue.jpg?resize=800%2C450&ssl=1
+[16]: https://itsfoss.com/reduce-overheating-laptops-linux/
+[17]: https://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/
+[18]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2017/03/Dell-XPS-13-Ubuntu-Edition-disk-partition.jpeg?resize=800%2C448&ssl=1
+[19]: https://en.wikipedia.org/wiki/EFI_system_partition
+[20]: https://itsfoss.com/swap-size/
diff --git a/sources/talk/20170717 The Ultimate Guide to JavaScript Fatigue- Realities of our industry.md b/sources/talk/20170717 The Ultimate Guide to JavaScript Fatigue- Realities of our industry.md
new file mode 100644
index 0000000000..923d4618a9
--- /dev/null
+++ b/sources/talk/20170717 The Ultimate Guide to JavaScript Fatigue- Realities of our industry.md
@@ -0,0 +1,221 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (The Ultimate Guide to JavaScript Fatigue: Realities of our industry)
+[#]: via: (https://lucasfcosta.com/2017/07/17/The-Ultimate-Guide-to-JavaScript-Fatigue.html)
+[#]: author: (Lucas Fernandes Da Costa https://lucasfcosta.com)
+
+The Ultimate Guide to JavaScript Fatigue: Realities of our industry
+======
+
+**Complaining about JS Fatigue is just like complaining about the fact that humanity has created too many tools to solve the problems we have** , from email to airplanes and spaceships.
+
+Last week I’ve done a talk about this very same subject at the NebraskaJS 2017 Conference and I got so many positive feedbacks that I just thought this talk should also become a blog post in order to reach more people and help them deal with JS Fatigue and understand the realities of our industry. **My goal with this post is to change the way you think about software engineering in general and help you in any areas you might work on**.
+
+One of the things that has inspired me to write this blog post and that totally changed my life is [this great post by Patrick McKenzie, called “Don’t Call Yourself a Programmer and other Career Advice”][1]. **I highly recommend you read that**. Most of this blog post is advice based on what Patrick has written in that post applied to the JavaScript ecosystem and with a few more thoughts I’ve developed during these last years working in the tech industry.
+
+This first section is gonna be a bit philosophical, but I swear it will be worth reading.
+
+### Realities of Our Industry 101
+
+Just like Patrick has done in [his post][1], let’s start with the most basic and essential truth about our industry:
+
+Software solves business problems
+
+This is it. **Software does not exist to please us as programmers** and let us write beautiful code. Neither it exists to create jobs for people in the tech industry. **Actually, it exists to kill as many jobs as possible, including ours** , and this is why basic income will become much more important in the next few years, but that’s a whole other subject.
+
+I’m sorry to say that, but the reason things are that way is that there are only two things that matter in the software engineering (and any other industries):
+
+**Cost versus Revenue**
+
+**The more you decrease cost and increase revenue, the more valuable you are** , and one of the most common ways of decreasing cost and increasing revenue is replacing human beings by machines, which are more effective and usually cost less in the long run.
+
+You are not paid to write code
+
+**Technology is not a goal.** Nobody cares about which programming language you are using, nobody cares about which frameworks your team has chosen, nobody cares about how elegant your data structures are and nobody cares about how good is your code. **The only thing that somebody cares about is how much does your software cost and how much revenue it generates**.
+
+Writing beautiful code does not matter to your clients. We write beautiful code because it makes us more productive in the long run and this decreases cost and increases revenue.
+
+The whole reason why we try not to write bugs is not that we value correctness, but that **our clients** value correctness. If you have ever seen a bug becoming a feature you know what I’m talking about. That bug exists but it should not be fixed. That happens because our goal is not to fix bugs, our goal is to generate revenue. If our bugs make clients happy then they increase revenue and therefore we are accomplishing our goals.
+
+Reusable space rockets, self-driving cars, robots, artificial intelligence: these things do not exist just because someone thought it would be cool to create them. They exist because there are business interests behind them. And I’m not saying the people behind them just want money, I’m sure they think that stuff is also cool, but the truth is that if they were not economically viable or had any potential to become so, they would not exist.
+
+Probably I should not even call this section “Realities of Our Industry 101”, maybe I should just call it “Realities of Capitalism 101”.
+
+And given that our only goal is to increase revenue and decrease cost, I think we as programmers should be paying more attention to requirements and design and start thinking with our minds and participating more actively in business decisions, which is why it is extremely important to know the problem domain we are working on. How many times before have you found yourself trying to think about what should happen in certain edge cases that have not been thought before by your managers or business people?
+
+In 1975, Boehm has done a research in which he found out that about 64% of all errors in the software he was studying were caused by design, while only 36% of all errors were coding errors. Another study called [“Higher Order Software—A Methodology for Defining Software”][2] also states that **in the NASA Apollo project, about 73% of all errors were design errors**.
+
+The whole reason why Design and Requirements exist is that they define what problems we’re going to solve and solving problems is what generates revenue.
+
+> Without requirements or design, programming is the art of adding bugs to an empty text file.
+>
+> * Louis Srygley
+>
+
+
+This same principle also applies to the tools we’ve got available in the JavaScript ecosystem. Babel, webpack, react, Redux, Mocha, Chai, Typescript, all of them exist to solve a problem and we gotta understand which problem they are trying to solve, we need to think carefully about when most of them are needed, otherwise, we will end up having JS Fatigue because:
+
+JS Fatigue happens when people use tools they don't need to solve problems they don't have.
+
+As Donald Knuth once said: “Premature optimization is the root of all evil”. Remember that software only exists to solve business problems and most software out there is just boring, it does not have any high scalability or high-performance constraints. Focus on solving business problems, focus on decreasing cost and generating revenue because this is all that matters. Optimize when you need, otherwise you will probably be adding unnecessary complexity to your software, which increases cost, and not generating enough revenue to justify that.
+
+This is why I think we should apply [Test Driven Development][3] principles to everything we do in our job. And by saying this I’m not just talking about testing. **I’m talking about waiting for problems to appear before solving them. This is what TDD is all about**. As Kent Beck himself says: “TDD reduces fear” because it guides your steps and allows you take small steps towards solving your problems. One problem at a time. By doing the same thing when it comes to deciding when to adopt new technologies then we will also reduce fear.
+
+Solving one problem at a time also decreases [Analysis Paralysis][4], which is basically what happens when you open Netflix and spend three hours concerned about making the optimal choice instead of actually watching something. By solving one problem at a time we reduce the scope of our decisions and by reducing the scope of our decisions we have fewer choices to make and by having fewer choices to make we decrease Analysis Paralysis.
+
+Have you ever thought about how easier it was to decide what you were going to watch when there were only a few TV channels available? Or how easier it was to decide which game you were going to play when you had only a few cartridges at home?
+
+### But what about JavaScript?
+
+By the time I’m writing this post NPM has 489,989 packages and tomorrow approximately 515 new ones are going to be published.
+
+And the packages we use and complain about have a history behind them we must comprehend in order to understand why we need them. **They are all trying to solve problems.**
+
+Babel, Dart, CoffeeScript and other transpilers come from our necessity of writing code other than JavaScript but making it runnable in our browsers. Babel even lets us write new generation JavaScript and make sure it will work even on older browsers, which has always been a great problem given the inconsistencies and different amount of compliance to the ECMA Specification between browsers. Even though the ECMA spec is becoming more and more solid these days, we still need Babel. And if you want to read more about Babel’s history I highly recommend that you read [this excellent post by Henry Zhu][5].
+
+Module bundlers such as Webpack and Browserify also have their reason to exist. If you remember well, not so long ago we used to suffer a lot with lots of `script` tags and making them work together. They used to pollute the global namespace and it was reasonably hard to make them work together when one depended on the other. In order to solve this [`Require.js`][6] was created, but it still had its problems, it was not that straightforward and its syntax also made it prone to other problems, as you can see [in this blog post][7]. Then Node.js came with `CommonJS` imports, which were synchronous, simple and clean, but we still needed a way to make that work on our browsers and this is why we needed Webpack and Browserify.
+
+And Webpack itself actually solves more problems than that by allowing us to deal with CSS, images and many other resources as if they were JavaScript dependencies.
+
+Front-end frameworks are a bit more complicated, but the reason why they exist is to reduce the cognitive load when we write code so that we don’t need to worry about manipulating the DOM ourselves or even dealing with messy browser APIs (another problem JQuery came to solve), which is not only error prone but also not productive.
+
+This is what we have been doing this whole time in computer science. We use low-level abstractions and build even more abstractions on top of it. The more we worry about describing how our software should work instead of making it work, the more productive we are.
+
+But all those tools have something in common: **they exist because the web platform moves too fast**. Nowadays we’re using web technology everywhere: in web browsers, in desktop applications, in phone applications or even in watch applications.
+
+This evolution also creates problems we need to solve. PWAs, for example, do not exist only because they’re cool and we programmers have fun writing them. Remember the first section of this post: **PWAs exist because they create business value**.
+
+And usually standards are not fast enough to be created and therefore we need to create our own solutions to these things, which is why it is great to have such a vibrant and creative community with us. We’re solving problems all the time and **we are allowing natural selection to do its job**.
+
+The tools that suit us better thrive, get more contributors and develop themselves more quickly and sometimes other tools end up incorporating the good ideas from the ones that thrive and becoming even more popular than them. This is how we evolve.
+
+By having more tools we also have more choices. If you remember the UNIX philosophy well, it states that we should aim at creating programs that do one thing and do it well.
+
+We can clearly see this happening in the JS testing environment, for example, where we have Mocha for running tests and Chai for doing assertions, while in Java JUnit tries to do all these things. This means that if we have a problem with one of them or if we find another one that suits us better, we can simply replace that small part and still have the advantages of the other ones.
+
+The UNIX philosophy also states that we should write programs that work together. And this is exactly what we are doing! Take a look at Babel, Webpack and React, for example. They work very well together but we still do not need one to use the other. In the testing environment, for example, if we’re using Mocha and Chai all of a sudden we can just install Karma and run those same tests in multiple environments.
+
+### How to Deal With It
+
+My first advice for anyone suffering from JS Fatigue would definitely be to stay aware that **you don’t need to know everything**. Trying to learn it all at once, even when we don’t have to do so, only increases the feeling of fatigue. Go deep in areas that you love and for which you feel an inner motivation to study and adopt a lazy approach when it comes to the other ones. I’m not saying that you should be lazy, I’m just saying that you can learn those only when needed. Whenever you face a problem that requires you to use a certain technology to solve it, go learn.
+
+Another important thing to say is that **you should start from the beginning**. Make sure you have learned enough about JavaScript itself before using any JavaScript frameworks. This is the only way you will be able to understand them and bend them to your will, otherwise, whenever you face an error you have never seen before you won’t know which steps to take in order to solve it. Learning core web technologies such as CSS, HTML5, JavaScript and also computer science fundamentals or even how the HTTP protocol works will help you master any other technologies a lot more quickly.
+
+But please, don’t get too attached to that. Sometimes you gotta risk yourself and start doing things on your own. As Sacha Greif has written in [this blog post][8], spending too much time learning the fundamentals is just like trying to learn how to swim by studying fluid dynamics. Sometimes you just gotta jump into the pool and try to swim by yourself.
+
+And please, don’t get too attached to a single technology. All of the things we have available nowadays have already been invented in the past. Of course, they have different features and a brand new name, but, in their essence, they are all the same.
+
+If you look at NPM, it is nothing new, we already had Maven Central and Ruby Gems quite a long time ago.
+
+In order to transpile your code, Babel applies the very same principles and theory as some of the oldest and most well-known compilers, such as the GCC.
+
+Even JSX is not a new idea. It E4X (ECMAScript for XML) already existed more than 10 years ago.
+
+Now you might ask: “what about Gulp, Grunt and NPM Scripts?” Well, I’m sorry but we can solve all those problems with GNU Make in 1976. And actually, there are a reasonable number of JavaScript projects that still use it, such as Chai.js, for example. But we do not do that because we are hipsters that like vintage stuff. We use `make` because it solves our problems, and this is what you should aim at doing, as we’ve talked before.
+
+If you really want to understand a certain technology and be able to solve any problems you might face, please, dig deep. One of the most decisive factors to success is curiosity, so **dig deep into the technologies you like**. Try to understand them from bottom-up and whenever you think something is just “magic”, debunk that myth by exploring the codebase by yourself.
+
+In my opinion, there is no better quote than this one by Richard Feinman, when it comes to really learning something:
+
+> What I cannot create, I do not understand
+
+And just below this phrase, [in the same blackboard, Richard also wrote][9]:
+
+> Know how to solve every problem that has been solved
+
+Isn’t this just amazing?
+
+When Richard said that, he was talking about being able to take any theoretical result and re-derive it, but I think the exact same principle can be applied to software engineering. The tools that solve our problems have already been invented, they already exist, so we should be able to get to them all by ourselves.
+
+This is the very reason I love [some of the videos available in Egghead.io][10] in which Dan Abramov explains how to implement certain features that exist in Redux from scratch or [blog posts that teach you how to build your own JSX renderer][11].
+
+So why not trying to implement these things by yourself or going to GitHub and reading their codebase in order to understand how they work? I’m sure you will find a lot of useful knowledge out there. Comments and tutorials might lie and be incorrect sometimes, the code cannot.
+
+Another thing that we have been talking a lot in this post is that **you should not get ahead of yourself**. Follow a TDD approach and solve one problem at a time. You are paid to increase revenue and decrease cost and you do this by solving problems, this is the reason why software exists.
+
+And since we love comparing our role to the ones related to civil engineering, let’s do a quick comparison between software development and civil engineering, just as [Sam Newman does in his brilliant book called “Building Microservices”][12].
+
+We love calling ourselves “engineers” or “architects”, but is that term really correct? We have been developing software for what we know as computers less than a hundred years ago, while the Colosseum, for example, exists for about two thousand years.
+
+When was the last time you’ve seen a bridge falling and when was the last time your telephone or your browser crashed?
+
+In order to explain this, I’ll use an example I love.
+
+This is the beautiful and awesome city of Barcelona:
+
+![The City of Barcelona][13]
+
+When we look at it this way and from this distance, it just looks like any other city in the world, but when we look at it from above, this is how Barcelona looks:
+
+![Barcelona from above][14]
+
+As you can see, every block has the same size and all of them are very organized. If you’ve ever been to Barcelona you will also know how good it is to move through the city and how well it works.
+
+But the people that planned Barcelona could not predict what it was going to look like in the next two or three hundred years. In cities, people come in and people move through it all the time so what they had to do was make it grow organically and adapt as the time goes by. They had to be prepared for changes.
+
+This very same thing happens to our software. It evolves quickly, refactors are often needed and requirements change more frequently than we would like them to.
+
+So, instead of acting like a Software Engineer, act as a Town Planner. Let your software grow organically and adapt as needed. Solve problems as they come by but make sure everything still has its place.
+
+Doing this when it comes to software is even easier than doing this in cities due to the fact that **software is flexible, civil engineering is not**. **In the software world, our build time is compile time**. In Barcelona we cannot simply destroy buildings to give space to new ones, in Software we can do that a lot easier. We can break things all the time, we can make experiments because we can build as many times as we want and it usually takes seconds and we spend a lot more time thinking than building. Our job is purely intellectual.
+
+So **act like a town planner, let your software grow and adapt as needed**.
+
+By doing this you will also have better abstractions and know when it’s the right time to adopt them.
+
+As Sam Koblenski says:
+
+> Abstractions only work well in the right context, and the right context develops as the system develops.
+
+Nowadays something I see very often is people looking for boilerplates when they’re trying to learn a new technology, but, in my opinion, **you should avoid boilerplates when you’re starting out**. Of course boilerplates and generators are useful if you are already experienced, but they take a lot of control out of your hands and therefore you won’t learn how to set up a project and you won’t understand exactly where each piece of the software you are using fits.
+
+When you feel like you are struggling more than necessary to get something simple done, it might be the right time for you to look for an easier way to do this. In our role **you should strive to be lazy** , you should work to not work. By doing that you have more free time to do other things and this decreases cost and increases revenue, so that’s another way of accomplishing your goal. You should not only work harder, you should work smarter.
+
+Probably someone has already had the same problem as you’re having right now, but if nobody did it might be your time to shine and build your own solution and help other people.
+
+But sometimes you will not be able to realize you could be more effective in your tasks until you see someone doing them better. This is why it is so important to **talk to people**.
+
+By talking to people you share experiences that help each other’s careers and we discover new tools to improve our workflow and, even more important than that, learn how they solve their problems. This is why I like reading blog posts in which companies explain how they solve their problems.
+
+Especially in our area we like to think that Google and StackOverflow can answer all our questions, but we still need to know which questions to ask. I’m sure you have already had a problem you could not find a solution for because you didn’t know exactly what was happening and therefore didn’t know what was the right question to ask.
+
+But if I needed to sum this whole post in a single advice, it would be:
+
+Solve problems.
+
+Software is not a magic box, software is not poetry (unfortunately). It exists to solve problems and improves peoples’ lives. Software exists to push the world forward.
+
+**Now it’s your time to go out there and solve problems**.
+
+
+--------------------------------------------------------------------------------
+
+via: https://lucasfcosta.com/2017/07/17/The-Ultimate-Guide-to-JavaScript-Fatigue.html
+
+作者:[Lucas Fernandes Da Costa][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://lucasfcosta.com
+[b]: https://github.com/lujun9972
+[1]: http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-programmer/
+[2]: http://ieeexplore.ieee.org/document/1702333/
+[3]: https://en.wikipedia.org/wiki/Test_Driven_Development
+[4]: https://en.wikipedia.org/wiki/Analysis_paralysis
+[5]: https://babeljs.io/blog/2016/12/07/the-state-of-babel
+[6]: http://requirejs.org
+[7]: https://benmccormick.org/2015/05/28/moving-past-requirejs/
+[8]: https://medium.freecodecamp.org/a-study-plan-to-cure-javascript-fatigue-8ad3a54f2eb1
+[9]: https://www.quora.com/What-did-Richard-Feynman-mean-when-he-said-What-I-cannot-create-I-do-not-understand
+[10]: https://egghead.io/lessons/javascript-redux-implementing-store-from-scratch
+[11]: https://jasonformat.com/wtf-is-jsx/
+[12]: https://www.barnesandnoble.com/p/building-microservices-sam-newman/1119741399/2677517060476?st=PLA&sid=BNB_DRS_Marketplace+Shopping+Books_00000000&2sid=Google_&sourceId=PLGoP4760&k_clickid=3x4760
+[13]: /assets/barcelona-city.jpeg
+[14]: /assets/barcelona-above.jpeg
+[15]: https://twitter.com/thewizardlucas
diff --git a/sources/talk/20171222 18 Cyber-Security Trends Organizations Need to Brace for in 2018.md b/sources/talk/20171222 18 Cyber-Security Trends Organizations Need to Brace for in 2018.md
deleted file mode 100644
index 09223ccb21..0000000000
--- a/sources/talk/20171222 18 Cyber-Security Trends Organizations Need to Brace for in 2018.md
+++ /dev/null
@@ -1,116 +0,0 @@
-18 Cyber-Security Trends Organizations Need to Brace for in 2018
-======
-
-### 18 Cyber-Security Trends Organizations Need to Brace for in 2018
-
-Enterprises, end users and governments faced no shortage of security challenges in 2017. Some of those same challenges will continue into 2018, and there will be new problems to solve as well. Ransomware has been a concern for several years and will likely continue to be a big issue in 2018. The new year is also going to bring the formal introduction of the European Union's General Data Protection Regulation (GDPR), which will impact how organizations manage private information. A key trend that emerged in 2017 was an increasing use of artificial intelligence (AI) to help solve cyber-security challenges, and that's a trend that will continue to accelerate in 2018. What else will the new year bring? In this slide show, eWEEK presents 18 security predictions for the year ahead from 18 security experts.
-
-
-### Africa Emerges as New Area for Threat Actors and Targets
-
-"In 2018, Africa will emerge as a new focus area for cyber-threats--both targeting organizations based there and attacks originating from the continent. With its growth in technology adoption and operations and rising economy, and its increasing number of local resident threat actors, Africa has the largest potential for net-new impactful cyber events." -Steve Stone, IBM X-Force IRIS
-
-
-### AI vs. AI
-
-"2018 will see a rise in AI-based attacks as cyber-criminals begin using machine learning to spoof human behaviors. The cyber-security industry will need to tune their own AI tools to better combat the new threats. The cat and mouse game of cybercrime and security innovation will rapidly escalate to include AI-enabled tools on both sides." --Caleb Barlow, vice president of Threat Intelligence, IBM Security
-
-
-### Cyber-Security as a Growth Driver
-
-"CEOs view cyber-security as one of their top risks, but many also see it as an opportunity to innovate and find new ways to generate revenue. In 2018 and beyond, effective cyber-security measures will support companies that are transforming their security, privacy and continuity controls in an effort to grow their businesses." -Greg Bell, KMPG's Global Cyber Security Practice co-leader
-
-
-### GDPR Means Good Enough Isn't Good Enough
-
-"Too many professionals share a 'good enough' philosophy that they've adopted from their consumer mindset that they can simply upgrade and patch to comply with the latest security and compliance best practices or regulations. In 2018, with the upcoming enforcement of the EU GDPR 'respond fast' rules, organizations will quickly come to terms, and face fines, with why 'good enough' is not 'good' anymore." -Kris Lovejoy, CEO of BluVector
-
-
-### Consumerization of Cyber-Security
-
-"2018 will mark the debut of the 'consumerization of cyber-security.' This means consumers will be offered a unified, comprehensive suite of security offerings, including, in addition to antivirus and spyware protection, credit and identify abuse monitoring and identity restoration. This is a big step forward compared to what is available in one package today. McAfee Total Protection, which safeguards consumer identities in addition to providing virus and malware protection, is an early, simplified example of this. Consumers want to feel more secure." -Don Dixon, co-founder and managing director, Trident Capital Cybersecurity
-
-
-### Ransomware Will Continue
-
-"Ransomware will continue to plague organizations with 'old' attacks 'refreshed' and reused. The threat of ransomware will continue into 2018. This year we've seen ransomware wreak havoc across the globe with both WannaCry and NotPetya hitting the headlines. Threats of this type and on this scale will be a common feature of the next 12 months." -Andrew Avanessian, chief operating officer at Avecto
-
-
-### More Encryption Will Be Needed
-
-"It will become increasingly clear in the industry that HTTPS does not offer the robust security and end-to-end encryption as is commonly believed, and there will be a push to encrypt data before it is sent over HTTPS." -Darren Guccione, CEO and co-founder, Keeper Security
-
-
-### Denial of Service Will Become Financially Lucrative
-
-"Denial of service will become as financially lucrative as identity theft. Using stolen identities for new account fraud has been the major revenue driver behind breaches. However, in recent years ransomware attacks have caused as much if not more damage, as increased reliance on distributed applications and cloud services results in massive business damage when information, applications or systems are held hostage by attackers." -John Pescatore. SANS' director of emerging security trends
-
-
-### Goodbye Social Security Number
-
-"2018 is the turning point for the retirement of the Social Security number. At this point, the vast majority of SSNs are compromised, and we can no longer rely on them--nor should we have previously." -Michael Sutton, CISO, Zscaler
-
-
-### Post-Quantum Cyber-Security Discussion Warms Up the Boardroom
-
-"The uncertainty of cyber-security in a post-quantum world is percolating some circles, but 2018 is the year the discussions gain momentum in the top levels of business. As security experts grapple with preparing for a post-quantum world, top executives will begin to ask what can be done to ensure all of our connected 'things' remain secure." -Malte Pollmann, CEO of Utimaco
-
-
-### Market Consolidation Is Coming
-
-"There will be accelerated consolidation of cyber niche markets flooded with too many 'me-too' companies offering extremely similar products and services. As an example, authentication, end-point security and threat intelligence now boast a total of more than 25 competitors. Ultimately, only three to six companies in each niche can survive." -Mike Janke, co-founder of DataTribe
-
-
-### Health Care Will Be a Lucrative Target
-
-"Health records are highly valued on the black market because they are saturated with Personally Identifiable Information (PII). Health care institutions will continue to be a target as they have tighter allocations for security in their IT budgets. Also, medical devices are hard to update and often run on older operating system versions." -Larry Cashdollar, senior engineer, Security Intelligence Response Team, Akamai
-
-
-### 2018: The Year of Simple Multifactor Authentication for SMBs
-
-"Unfortunately, effective multifactor authentication (MFA) solutions have remained largely out of reach for the average small- and medium-sized business. Though enterprise multifactor technology is quite mature, it often required complex on-premises solutions and expensive hardware tokens that most small businesses couldn't afford or manage. However, the growth of SaaS and smartphones has introduced new multifactor solutions that are inexpensive and easy for small businesses to use. Next year, many SMBs will adopt these new MFA solutions to secure their more privileged accounts and users. 2018 will be the year of MFA for SMBs." -Corey Nachreiner, CTO at WatchGuard Technologies
-
-
-### Automation Will Improve the IT Skills Gap
-
-"The security skills gap is widening every year, with no signs of slowing down. To combat the skills gap and assist in the growing adoption of advanced analytics, automation will become an even higher priority for CISOs." -Haiyan Song, senior vice president of Security Markets at Splunk
-
-
-### Industrial Security Gets Overdue Attention
-
-"The high-profile attacks of 2017 acted as a wake-up call, and many plant managers now worry that they could be next. Plant manufacturers themselves will offer enhanced security. Third-party companies going on their own will stay in a niche market. The industrial security manufacturers themselves will drive a cooperation with the security industry to provide security themselves. This is because there is an awareness thing going on and impending government scrutiny. This is different from what happened in the rest of IT/IoT where security vendors just go to market by themselves as a layer on top of IT (i.e.: an antivirus on top of Windows)." -Renaud Deraison, co-founder and CTO, Tenable
-
-
-### Cryptocurrencies Become the New Playground for Identity Thieves
-
-"The rising value of cryptocurrencies will lead to greater attention from hackers and bad actors. Next year we'll see more fraud, hacks and money laundering take place across the top cryptocurrency marketplaces. This will lead to a greater focus on identity verification and, ultimately, will result in legislation focused on trader identity." -Stephen Maloney, executive vice president of Business Development & Strategy, Acuant
-
-
-### GDPR Compliance Will Be a Challenge
-
-"In 2018, three quarters of companies or apps will be ruled out of compliance with GDPR and at least one major corporation will be fined to the highest extent in 2018 to set an example for others. Most companies are preparing internally by performing more security assessments and recruiting a mix of security professionals with privacy expertise and lawyers, but with the deadline quickly approaching, it's clear the bulk of businesses are woefully behind and may not be able to avoid these consequences." -Sanjay Beri, founder and CEO, Netskope
-
-
-### Data Security Solidifies Its Spot in the IT Security Stack
-
-"Many businesses are stuck in the mindset that security of networks, servers and applications is sufficient to protect their data. However, the barrage of breaches in 2017 highlights a clear disconnect between what organizations think is working and what actually works. In 2018, we expect more businesses to implement data security solutions that complement their existing network security deployments." -Jim Varner, CEO of SecurityFirst
-
-
-### [Eight Cyber-Security Vendors Raise New Funding in November 2017][1]
-
-Though the pace of funding slowed in November, multiple firms raised new venture capital to develop and improve their cyber-security products.
-
-Though the pace of funding slowed in November, multiple firms raised new venture capital to develop and improve their cyber-security products.
-
---------------------------------------------------------------------------------
-
-via: http://voip.eweek.com/security/18-cyber-security-trends-organizations-need-to-brace-for-in-2018
-
-作者:[Sean Michael Kerner][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:http://voip.eweek.com/Authors/sean-michael-kerner
-[1]:http://voip.eweek.com/security/eight-cyber-security-vendors-raise-new-funding-in-november-2017
diff --git a/sources/talk/20180209 A review of Virtual Labs virtualization solutions for MOOCs - WebLog Pro Olivier Berger.md b/sources/talk/20180209 A review of Virtual Labs virtualization solutions for MOOCs - WebLog Pro Olivier Berger.md
deleted file mode 100644
index 0cb3755ca1..0000000000
--- a/sources/talk/20180209 A review of Virtual Labs virtualization solutions for MOOCs - WebLog Pro Olivier Berger.md
+++ /dev/null
@@ -1,255 +0,0 @@
-A review of Virtual Labs virtualization solutions for MOOCs – WebLog Pro Olivier Berger
-======
-### 1 Introduction
-
-This is a memo that tries to capture some of the experience gained in the [FLIRT project][3] on the topic of Virtual Labs for MOOCs (Massive Open Online Courses).
-
-In this memo, we try to draw an overview of some benefits and concerns with existing approaches at using virtualization techniques for running Virtual Labs, as distributions of tools made available for distant learners.
-
-We describe 3 main technical architectures: (1) running Virtual Machine images locally on a virtual machine manager, or (2) displaying the remote execution of similar virtual machines on a IaaS cloud, and (3) the potential of connecting to the remote execution of minimized containers on a remote PaaS cloud.
-
-We then elaborate on some perspectives for locally running ports of applications to the WebAssembly virtual machine of the modern Web browsers.
-
-Disclaimer: This memo doesn’t intend to point to extensive literature on the subject, so part of our analysis may be biased by our particular context.
-
-### 2 Context : MOOCs
-
-Many MOOCs (Massive Open Online Courses) include a kind of “virtual laboratory” for learners to experiment with tools, as a way to apply the knowledge, practice, and be more active in the learning process. In quite a few (technical) disciplines, this can consist in using a set of standard applications in a professional domain, which represent typical tools that would be used in real life scenarii.
-
-Our main perspective will be that of a MOOC editor and of MOOC production teams which want to make “virtual labs” available for MOOC participants.
-
-Such a “virtual lab” would typically contain installations of existing applications, pre-installed and configured, and loaded with scenario data in order to perform a lab.
-
-The main constraint here is that such labs would typically be fabricated with limited software development expertise and funds[1][4]. Thus we consider here only the assembly of existing “normal” applications and discard the option of developping novel “serious games” and simulator applications for such MOOCs.
-
-#### 2.1 The FLIRT project
-
-The [FLIRT project][5] groups a consortium of 19 partners in Industry, SMEs and Academia to work on a collection of MOOCs and SPOCs for professional development in Networks and Telecommunications. Lead by Institut Mines Telecom, it benefits from the funding support of the French “Investissements d’avenir” programme.
-
-As part of the FLIRT roadmap, we’re leading an “innovation task” focused on Virtual Labs in the context of the Cloud. This memo was produced as part of this task.
-
-#### 2.2 Some challenges in virtual labs design for distant learning
-
-Virtual Labs used in distance learning contexts require the use of software applications in autonomy, either running on a personal, or professional computer. In general, the technical skills of participants may be diverse. So much for the quality (bandwith, QoS, filtering, limitations: firewaling) of the hardware and networks they use at home or at work. It’s thus very optimistic to seek for one solution fits all strategy.
-
-Most of the time there’s a learning curve on getting familiar with the tools which students will have to use, which constitutes as many challenges to overcome for beginners. These tools may not be suited for beginners, but they will still be selected by the trainers as they’re representative of the professional context being taught.
-
-In theory, this usability challenge should be addressed by devising an adapted pedagogical approach, especially in a context of distance learning, so that learners can practice the labs on their own, without the presence of a tutor or professor. Or some particular prerequisite skills could be required (“please follow System Administration 101 before applying to this course”).
-
-Unfortunately there are many cases where instructors basically just translate to a distant learning scenario, previous lab resources that had previously been devised for in presence learning. This lets learner faced with many challenges to overcome. The only support resource is often a regular forum on the MOOC’s LMS (Learning Management System).
-
-My intuition[2][6] is that developing ad-hoc simulators for distant education would probably be more efficient and easy to use for learners. But that would require a too high investment for the designers of the courses.
-
-In the context of MOOCs which are mainly free to participate to, not much investment is possible in devising ad-hoc lab applications, and instructors have to rely on existing applications, tools and scenarii to deliver a cheap enough environment. Furthermore, technical or licensing constraints[3][7] may lead to selecting lab tools which may not be easy to learn, but have the great advantage or being freely redistributable[4][8].
-
-### 3 Virtual Machines for Virtual Labs
-
-The learners who will try unattended learning in such typical virtual labs will face difficulties in making specialized applications run. They must overcome the technical details of downloading, installing and configuring programs, before even trying to perform a particular pedagogical scenario linked to the matter studied.
-
-To diminish these difficulties, one traditional approach for implementing labs in MOOCs has been to assemble in advance a Virtual Machine image. This already made image can then be downloaded and run with a virtual machine simulator (like [VirtualBox][9][5][10]).
-
-The pre-loaded VM will already have everything ready for use, so that the learners don’t have to install anything on their machines.
-
-An alternative is to let learners download and install the needed software tools themselves, but this leads to so many compatibility issues or technical skill prerequisites, that this is often not advised, and mentioned only as a fallback option.
-
-#### 3.1 Downloading and installation issues
-
-Experience shows[2][11] that such virtual machines also bring some issues. Even if installation of every piece of software is no longer required, learners still need to be able to run the VM simulator on a wide range of diverse hardware, OSes and configurations. Even managing to download the VMs, still causes many issues (lack admin privileges, weight vs download speed, memory or CPU load, disk space, screen configurations, firewall filtering, keayboard layout, etc.).
-
-These problems aren’t generally faced by the majority of learners, but the impacted minority is not marginal either, and they generally will produce a lot of support requests for the MOOC team (usually in the forums), which needs to be anticipated by the community managers.
-
-The use of VMs is no show stopper for most, but can be a serious problem for a minority of learners, and is then no silver bullet.
-
-Some general usability issues may also emerge if users aren’t used to the look and feel of the enclosed desktop. For instance, the VM may consist of a GNU/Linux desktop, whereas users would use a Windows or Mac OS system.
-
-#### 3.2 Fabrication issues for the VM images
-
-On the MOOC team’s side, the fabrication of a lightweight, fast, tested, license-free and easy to use VM image isn’t necessarily easy.
-
-Software configurations tend to rot as time passes, and maintenance may not be easy when the later MOOC editions evolutions lead to the need to maintain the virtual lab scenarii years later.
-
-Ideally, this would require adopting an “industrial” process in building (and testing) the lab VMs, but this requires quite an expertise (system administration, packaging, etc.) that may or not have been anticipated at the time of building the MOOC (unlike video editing competence, for instance).
-
-Our experiment with the [Vagrant][12] technology [[0][13]] and Debian packaging was interesting in this respect, as it allowed us to use a well managed “script” to precisely control the build of a minimal VM image.
-
-### 4 Virtual Labs as a Service
-
-To overcome the difficulties in downloading and running Virtual Machines on one’s local computer, we have started exploring the possibility to run these applications in a kind of Software as a Service (SaaS) context, “on the cloud”.
-
-But not all applications typically used in MOOC labs are already available for remote execution on the cloud (unless the course deals precisely with managing email in GMail).
-
-We have then studied the option to use such an approach not for a single application, but for a whole virtual “desktop” which would be available on the cloud.
-
-#### 4.1 IaaS deployments
-
-A way to achieve this goal is to deploy Virtual Machine images quite similar to the ones described above, on the cloud, in an Infrastructure as a Service (IaaS) context[6][14], to offer access to remote desktops for every learners.
-
-There are different technical options to achieve this goal, but a simplified description of the architecture can be seen as just running Virtual Machines on a single IaaS platform instead of on each learner’s computer. Access to the desktop and application interfaces is made possible with the use of Web pages (or other dedicated lightweight clients) which will display a “full screen” display of the remote desktop running for the user on the cloud VM. Under the hood, the remote display of a Linux desktop session is made with technologies like [VNC][15] and [RDP][16] connecting to a [Guacamole][17] server on the remote VM.
-
-In the context of the FLIRT project, we have made early experiments with such an architecture. We used the CloVER solution by our partner [ProCAN][18] which provides a virtual desktops broker between [OpenEdX][19] and an [OpenStack][20] IaaS public platform.
-
-The expected benefit is that users don’t have to install anything locally, as the only tool needed locally is a Web browser (displaying a full-screen [HTML5 canvas][21] displaying the remote desktop run by the Guacamole server running on the cloud VM.
-
-But there are still some issues with such an approach. First, the cost of operating such an infrastructure : Virtual Machines need to be hosted on a IaaS platform, and that cost of operation isn’t null[7][22] for the MOOC editor, compared to the cost of VirtualBox and a VM running on the learner’s side (basically zero for the MOOC editor).
-
-Another issue, which could be more problematic lies in the need for a reliable connection to the Internet during the whole sequences of lab execution by the learners[8][23]. Even if Guacamole is quite efficient at compressing rendering traffic, some basic connectivity is needed during the whole Lab work sessions, preventing some mobile uses for instance.
-
-One other potential annoyance is the potential delays for making a VM available to a learner (provisioning a VM), when huge VMs images need to be copied inside the IaaS platform when a learner connects to the Virtual Lab activity for the first time (several minutes delays). This may be worse if the VM image is too big (hence the need for optimization of the content[9][24]).
-
-However, the fact that all VMs are running on a platform under the control of the MOOC editor allows new kind of features for the MOOC. For instance, learners can submit results of their labs directly to the LMS without the need to upload or copy-paste results manually. This can help monitor progress or perform evaluation or grading.
-
-The fact that their VMs run on the same platform also allows new kinds of pedagogical scenarii, as VMs of multiple learners can be interconnected, allowing cooperative activities between learners. The VM images may then need to be instrumented and deployed in particular configurations, which may require the use of a dedicated broker like CloVER to manage such scenarii.
-
-For the records, we have yet to perform a rigorous benchmarking of such a solution in order to evaluate its benefits, or constraints given particular contexts. In FLIRT, our main focus will be in the context of SPOCs for professional training (a bit different a context than public MOOCs).
-
-Still this approach doesn’t solve the VMs fabrication issues for the MOOC staff. Installing software inside a VM, be it local inside a VirtualBox simulator of over the cloud through a remote desktop display, makes not much difference. This relies mainly on manual operations and may not be well managed in terms of quality of the process (reproducibility, optimization).
-
-#### 4.2 PaaS deployments using containers
-
-Some key issues in the IaaS context described above, are the cost of operation of running full VMs, and long provisioning delays.
-
-We’re experimenting with new options to address these issues, through the use of [Linux containers][25] running on a PaaS (Platform as a Service) platform, instead of full-fleshed Virtual Machines[10][26].
-
-The main difference, with containers instead of Virtual Machines, lies in the reduced size of images, and much lower CPU load requirements, as the container remove the need for one layer of virtualization. Also, the deduplication techniques at the heart of some virtual file-systems used by container platforms lead to really fast provisioning, avoiding the need to wait for the labs to start.
-
-The traditional making of VMs, done by installing packages and taking a snapshot, was affordable for the regular teacher, but involved manual operations. In this respect, one other major benefit of containers is the potential for better industrialization of the virtual lab fabrication, as they are generally not assembled manually. Instead, one uses a “scripting” approach in describing which applications and their dependencies need to be put inside a container image. But this requires new competence from the Lab creators, like learning the [Docker][27] technology (and the [OpenShift][28] PaaS, for instance), which may be quite specialized. Whereas Docker containers tend to become quite popular in Software Development faculty (through the “[devops][29]” hype), they may be a bit new to other field instructors.
-
-The learning curve to mastering the automation of the whole container-based labs installation needs to be evaluated. There’s a trade-off to consider in adopting technology like Vagrant or Docker: acquiring container/PaaS expertise vs quality of industrialization and optimization. The production of a MOOC should then require careful planning if one has to hire or contract with a PaaS expert for setting up the Virtual Labs.
-
-We may also expect interesting pedagogical benefits. As containers are lightweight, and platforms allow to “easily” deploy multiple interlinked containers (over dedicated virtual networks), this enables the setup of more realistic scenarii, where each learner may be provided with multiple “nodes” over virtual networks (all running their individual containers). This would be particularly interesting for Computer Networks or Security teaching for instance, where each learner may have access both to client and server nodes, to study client-server protocols, for instance. This is particularly interesting for us in the context of our FLIRT project, where we produce a collection of Computer Networks courses.
-
-Still, this mode of operation relies on a good connectivity of the learners to the Cloud. In contexts of distance learning in poorly connected contexts, the PaaS architecture doesn’t solve that particular issue compared to the previous IaaS architecture.
-
-### 5 Future server-less Virtual Labs with WebAssembly
-
-As we have seen, the IaaS or PaaS based Virtual Labs running on the Cloud offer alternatives to installing local virtual machines on the learner’s computer. But they both require to be connected for the whole duration of the Lab, as the applications would be executed on the remote servers, on the Cloud (either inside VMs or containers).
-
-We have been thinking of another alternative which could allow the deployment of some Virtual Labs on the local computers of the learners without the hassles of downloading and installing a Virtual Machine manager and VM image. We envision the possibility to use the infrastructure provided by modern Web browsers to allow running the lab’s applications.
-
-At the time of writing, this architecture is still highly experimental. The main idea is to rebuild the applications needed for the Lab so that they can be run in the “generic” virtual machine present in the modern browsers, the [WebAssembly][30] and Javascript execution engine.
-
-WebAssembly is a modern language which seeks for maximum portability, and as its name hints, is a kind of assembly language for the Web platform. What is of interest for us is that WebAssembly is portable on most modern Web browsers, making it a very interesting platform for portability.
-
-Emerging toolchains allow recompiling applications written in languages like C or C++ so that they can be run on the WebAssembly virtual machine in the browser. This is interesting as it doesn’t require modifying the source code of these programs. Of course, there are limitations, in the kind of underlying APIs and libraries compatible with that platform, and on the sandboxing of the WebAssembly execution engine enforced by the Web browser.
-
-Historically, WebAssembly has been developped so as to allow running games written in C++ for a framework like Unity, in the Web browser.
-
-In some contexts, for instance for tools with an interactive GUI, and processing data retrieved from files, and which don’t need very specific interaction with the underlying operating system, it seems possible to port these programs to WebAssembly for running them inside the Web browser.
-
-We have to experiment deeper with this technology to validate its potential for running Virtual Labs in the context of a Web browser.
-
-We used a similar approach in the past in porting a Relational Database course lab to the Web browser, for standalone execution. A real database would run in the minimal SQLite RDBMS, recompiled to JavaScript[11][31]. Instead of having to download, install and run a VM with a RDBMS, the students would only connect to a Web page, which would load the DBMS in memory, and allow performing the lab SQL queries locally, disconnected from any third party server.
-
-In a similar manner, we can think for instance, of a Lab scenario where the Internet packet inspector features of the Wireshark tool would run inside the WebAssembly virtual machine, to allow dissecting provided capture files, without having to install Wireshard, directly into the Web browser.
-
-We expect to publish a report on that last experiment in the future with more details and results.
-
-### 6 Conclusion
-
-The most promising architecture for Virtual Lab deployments seems to be the use of containers on a PaaS platform for deploying virtual desktops or virtual application GUIs available in the Web browser.
-
-This would allow the controlled fabrication of Virtual Labs containing the exact bits needed for learners to practice while minimizing the delays.
-
-Still the need for always-on connectivity can be a problem.
-
-Also, the potential for inter-networked containers allowing the kind of multiple nodes and collaborative scenarii we described, would require a lot of expertise to develop, and management platforms for the MOOC operators, which aren’t yet mature.
-
-We hope to be able to report on our progress in the coming months and years on those aspects.
-
-### 7 References
-
-
-
-[0]
-Olivier Berger, J Paul Gibson, Claire Lecocq and Christian Bac “Designing a virtual laboratory for a relational database MOOC”. International Conference on Computer Supported Education, SCITEPRESS, 23-25 may 2015, Lisbonne, Portugal, 2015, vol. 7, pp. 260-268, ISBN 978-989-758-107-6 – [DOI: 10.5220/0005439702600268][1] ([preprint (HTML)][2])
-
-### 8 Copyright
-
- [][45]
-
-This work is licensed under a [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][46]
-
-.
-
-### Footnotes:
-
-[1][32] – The FLIRT project also works on business model aspects of MOOC or SPOC production in the context of professional development, but the present memo starts from a minimalitic hypothesis where funding for course production is quite limited.
-
-[2][33] – research-based evidence needed
-
-[3][34] – In typical MOOCs which are free to participate, the VM should include only gratis tools, which typically means a GNU/Linux distribution loaded with applications available under free and open source licenses.
-
-[4][35] – Typically, Free and Open Source software, aka Libre Software
-
-[5][36] – VirtualBox is portable on many operating systems, making it a very popular solution for such a need
-
-[6][37] – the IaaS platform could typically be an open cloud for MOOCs or a private cloud for SPOCs (for closer monitoring of student activity or security control reasons).
-
-[7][38] – Depending of the expected use of the lab by learners, this cost may vary a lot. The size and configuration required for the included software may have an impact (hence the need to minimize the footprint of the VM images). With diminishing costs in general this may not be a show stopper. Refer to marketing figures of commercial IaaS offerings for accurate figures. Attention to additional licensing costs if the OS of the VM isn’t free software, or if other licenses must be provided for every learners.
-
-[8][39] – The needs for always-on connectivity may not be a problem for professional development SPOCs where learners connect from enterprise networks for instance. It may be detrimental when MOOCs are very popular in southern countries where high bandwidth is both unreliable and expensive.
-
-[9][40] – In this respect, providing a full Linux desktop inside the VM doesn’t necessarily make sense. Instead, running applications full-screen may be better, avoiding installation of whole desktop environments like Gnome or XFCE… but which has usability consequences. Careful tuning and testing is needed in any case.
-
-[10][41] – The availability of container based architectures is quite popular in the industry, but has not yet been deployed to a large scale in the context of large public MOOC hosting platforms, to our knowledge, at the time of writing. There are interesting technical challenges which the FLIRT project tries to tackle together with its partner ProCAN.
-
-[11][42] – See the corresponding paragraph [http://www-inf.it-sudparis.eu/PROSE/csedu2015/#standalone-sql-env][43] in [0][44]
-
-
---------------------------------------------------------------------------------
-
-via: https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/
-
-作者:[Author;Olivier Berger;Télécom Sudparis][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://www-public.tem-tsp.eu
-[1]:http://dx.doi.org/10.5220/0005439702600268
-[2]:http://www-inf.it-sudparis.eu/PROSE/csedu2015/
-[3]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#org50fdc1a
-[4]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.1
-[5]:http://flirtmooc.wixsite.com/flirt-mooc-telecom
-[6]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.2
-[7]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.3
-[8]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.4
-[9]:http://virtualbox.org
-[10]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.5
-[11]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.2
-[12]:https://www.vagrantup.com/
-[13]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#orgde5af50
-[14]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.6
-[15]:https://en.wikipedia.org/wiki/Virtual_Network_Computing
-[16]:https://en.wikipedia.org/wiki/Remote_Desktop_Protocol
-[17]:http://guacamole.apache.org/
-[18]:https://www.procan-group.com/
-[19]:https://open.edx.org/
-[20]:http://openstack.org/
-[21]:https://en.wikipedia.org/wiki/Canvas_element
-[22]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.7
-[23]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.8
-[24]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.9
-[25]:https://www.redhat.com/en/topics/containers
-[26]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.10
-[27]:https://en.wikipedia.org/wiki/Docker_(software)
-[28]:https://www.openshift.com/
-[29]:https://en.wikipedia.org/wiki/DevOps
-[30]:http://webassembly.org/
-[31]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fn.11
-[32]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.1
-[33]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.2
-[34]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.3
-[35]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.4
-[36]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.5
-[37]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.6
-[38]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.7
-[39]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.8
-[40]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.9
-[41]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.10
-[42]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#fnr.11
-[43]:http://www-inf.it-sudparis.eu/PROSE/csedu2015/#standalone-sql-env
-[44]:https://www-public.tem-tsp.eu/~berger_o/weblog/a-review-of-virtual-labs-virtualization-solutions-for-moocs/#orgde5af50
-[45]:http://creativecommons.org/licenses/by-nc-sa/4.0/
-[46]:http://creativecommons.org/licenses/by-nc-sa/4.0/
diff --git a/sources/talk/20180604 10 principles of resilience for women in tech.md b/sources/talk/20180604 10 principles of resilience for women in tech.md
index 3f451089bb..e5d6b09401 100644
--- a/sources/talk/20180604 10 principles of resilience for women in tech.md
+++ b/sources/talk/20180604 10 principles of resilience for women in tech.md
@@ -1,93 +1,94 @@
-10 principles of resilience for women in tech
-======
-
-
-
-Being a woman in tech is pretty damn cool. For every headline about [what Silicon Valley thinks of women][1], there are tens of thousands of women building, innovating, and managing technology teams around the world. Women are helping build the future despite the hurdles they face, and the community of women and allies growing to support each other is stronger than ever. From [BetterAllies][2] to organizations like [Girls Who Code][3] and communities like the one I met recently at [Red Hat Summit][4], there are more efforts than ever before to create an inclusive community for women in tech.
-
-But the tech industry has not always been this welcoming, nor is the experience for women always aligned with the aspiration. And so we're feeling the pain. Women in technology roles have dropped from its peak in 1991 at 36% to 25% today, [according to a report by NCWIT][5]. [Harvard Business Review estimates][6] that more than half of the women in tech will eventually leave due to hostile work conditions. Meanwhile, Ernst & Young recently shared [a study][7] and found that merely 11% of high school girls are planning to pursue STEM careers.
-
-We have much work to do, lest we build a future that is less inclusive than the one we live in today. We need everyone at the table, in the lab, at the conference and in the boardroom.
-
-I've been interviewing both women and men for more than a year now about their experiences in tech, all as part of [The Chasing Grace Project][8], a documentary series about women in tech. The purpose of the series is to help recruit and retain female talent for the tech industry and to give women a platform to be seen, heard, and acknowledged for their experiences. We believe that compelling story can begin to transform culture.
-
-### What Chasing Grace taught me
-
-What I've learned is that no matter the dismal numbers, women want to keep building and they collectively possess a resilience unmatched by anything I've ever seen. And this is inspiring me. I've found a power, a strength, and a beauty in every story I've heard that is the result of resilience. I recently shared with the attendees at the Red Hat Summit Women’s Leadership Luncheon the top 10 principles of resilience I've heard from throughout my interviews so far. I hope that by sharing them here the ideas and concepts can support and inspire you, too.
-
-#### 1\. Practice optimism
-
-When taken too far, optimism can give you blind spots. But a healthy dose of optimism allows you to see the best in people and situations and that positive energy comes back to you 100-fold. I haven’t met a woman yet as part of this project who isn’t an optimist.
-
-#### 2\. Build mental toughness
-
-I haven’t met a woman yet as part of this project who isn’t an optimist.
-
-When I recently asked a 32-year-old tech CEO, who is also a single mom of three young girls, what being a CEO required she said _mental toughness_. It really summed up what I’d heard in other words from other women, but it connected with me on another level when she proceeded to tell me how caring for her daughter—who was born with a hole in heart—prepared her for what she would encounter as a tech CEO. Being mentally tough to her means fighting for what you love, persisting like a badass, and building your EQ as well as your IQ.
-
-#### 3\. Recognize your power
-
-When I recently asked a 32-year-old tech CEO, who is also a single mom of three young girls, what being a CEO required she said. It really summed up what I’d heard in other words from other women, but it connected with me on another level when she proceeded to tell me how caring for her daughter—who was born with a hole in heart—prepared her for what she would encounter as a tech CEO. Being mentally tough to her means fighting for what you love, persisting like a badass, and building your EQ as well as your IQ.
-
-Most of the women I’ve interviewed don’t know their own power and so they give it away unknowingly. Too many women have told me that they willingly took on the housekeeping roles on their teams—picking up coffee, donuts, office supplies, and making the team dinner reservations. Usually the only woman on their teams, this put them in a position to be seen as less valuable than their male peers who didn’t readily volunteer for such tasks. All of us, men and women, have innate powers. Identify and know what your powers are and understand how to use them for good. You have so much more power than you realize. Know it, recognize it, use it strategically, and don’t give it away. It’s yours.
-
-#### 4\. Know your strength
-
-Not sure whether you can confront your boss about why you haven’t been promoted? You can. You don’t know your strength until you exercise it. Then, you’re unstoppable. Test your strength by pushing your fear aside and see what happens.
-
-#### 5\. Celebrate vulnerability
-
-Every single successful women I've interviewed isn't afraid to be vulnerable. She finds her strength in acknowledging where she is vulnerable and she looks to connect with others in that same place. Exposing, sharing, and celebrating each other’s vulnerabilities allows us to tap into something far greater than simply asserting strength; it actually builds strength—mental and emotional muscle. One women with whom we’ve talked shared how starting her own tech company made her feel like she was letting her husband down. She shared with us the details of that conversation with her husband. Honest conversations that share our doubts and our aspirations is what makes women uniquely suited to lead in many cases. Allow yourself to be seen and heard. It’s where we grow and learn.
-
-#### 6\. Build community
-
-If it doesn't exist, build it.
-
-Building community seems like a no-brainer in the world of open source, right? But take a moment to think about how many minorities in tech, especially those outside the collaborative open source community, don’t always feel like part of the community. Many women in tech, for example, have told me they feel alone. Reach out and ask questions or answer questions in community forums, at meetups, and in IRC and Slack. When you see a woman alone at an event, consider engaging with her and inviting her into a conversation. Start a meetup group in your company or community for women in tech. I've been so pleased with the number of companies that host these groups. If it doesn't exists, build it.
-
-#### 7\. Celebrate victories
-
-Building community seems like a no-brainer in the world of open source, right? But take a moment to think about how many minorities in tech, especially those outside the collaborative open source community, don’t always feel like part of the community. Many women in tech, for example, have told me they feel alone. Reach out and ask questions or answer questions in community forums, at meetups, and in IRC and Slack. When you see a woman alone at an event, consider engaging with her and inviting her into a conversation. Start a meetup group in your company or community for women in tech. I've been so pleased with the number of companies that host these groups. If it doesn't exists, build it.
-
-One of my favorite Facebook groups is [TechLadies][9] because of its recurring hashtag #YEPIDIDTHAT. It allows women to share their victories in a supportive community. No matter how big or small, don't let a victory go unrecognized. When you recognize your wins, you own them. They become a part of you and you build on top of each one.
-
-#### 8\. Be curious
-
-Being curious in the tech community often means asking questions: How does that work? What language is that written in? How can I make this do that? When I've managed teams over the years, my best employees have always been those who ask a lot of questions, those who are genuinely curious about things. But in this context, I mean be curious when your gut tells you something doesn't seem right. _The energy in the meeting was off. Did he/she just say what I think he said?_ Ask questions. Investigate. Communicate openly and clearly. It's the only way change happens.
-
-#### 9\. Harness courage
-
-One women told me a story about a meeting in which the women in the room kept being dismissed and talked over. During the debrief roundtable portion of the meeting, she called it out and asked if others noticed it, too. Being a 20-year tech veteran, she'd witnessed and experienced this many times but she had never summoned the courage to speak up about it. She told me she was incredibly nervous and was texting other women in the room to see if they agreed it should be addressed. She didn't want to be a "troublemaker." But this kind of courage results in an increased understanding by everyone in that room and can translate into other meetings, companies, and across the industry.
-
-#### 10\. Share your story
-
-When people connect to compelling story, they begin to change behaviors.
-
-Share your experience with a friend, a group, a community, or an industry. Be empowered by the experience of sharing your experience. Stories change culture. When people connect to compelling story, they begin to change behaviors. When people act, companies and industries begin to transform.
-
-Share your experience with a friend, a group, a community, or an industry. Be empowered by the experience of sharing your experience. Stories change culture. When people connect to compelling story, they begin to change behaviors. When people act, companies and industries begin to transform.
-
-If you would like to support [The Chasing Grace Project][8], email Jennifer Cloer to learn more about how to get involved: [jennifer@wickedflicksproductions.com][10]
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/18/6/being-woman-tech-10-principles-resilience
-
-作者:[Jennifer Cloer][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://opensource.com/users/jennifer-cloer
-[1]:http://www.newsweek.com/2015/02/06/what-silicon-valley-thinks-women-302821.html%E2%80%9D
-[2]:https://opensource.com/article/17/6/male-allies-tech-industry-needs-you%E2%80%9D
-[3]:https://twitter.com/GirlsWhoCode%E2%80%9D
-[4]:http://opensource.com/tags/red-hat-summit%E2%80%9D
-[5]:https://www.ncwit.org/sites/default/files/resources/womenintech_facts_fullreport_05132016.pdf%E2%80%9D
-[6]:Dhttp://www.latimes.com/business/la-fi-women-tech-20150222-story.html%E2%80%9D
-[7]:http://www.ey.com/us/en/newsroom/news-releases/ey-news-new-research-reveals-the-differences-between-boys-and-girls-career-and-college-plans-and-an-ongoing-need-to-engage-girls-in-stem%E2%80%9D
-[8]:https://www.chasinggracefilm.com/
-[9]:https://www.facebook.com/therealTechLadies/%E2%80%9D
-[10]:mailto:jennifer@wickedflicksproductions.com
+XYenChi is translating
+10 principles of resilience for women in tech
+======
+
+
+
+Being a woman in tech is pretty damn cool. For every headline about [what Silicon Valley thinks of women][1], there are tens of thousands of women building, innovating, and managing technology teams around the world. Women are helping build the future despite the hurdles they face, and the community of women and allies growing to support each other is stronger than ever. From [BetterAllies][2] to organizations like [Girls Who Code][3] and communities like the one I met recently at [Red Hat Summit][4], there are more efforts than ever before to create an inclusive community for women in tech.
+
+But the tech industry has not always been this welcoming, nor is the experience for women always aligned with the aspiration. And so we're feeling the pain. Women in technology roles have dropped from its peak in 1991 at 36% to 25% today, [according to a report by NCWIT][5]. [Harvard Business Review estimates][6] that more than half of the women in tech will eventually leave due to hostile work conditions. Meanwhile, Ernst & Young recently shared [a study][7] and found that merely 11% of high school girls are planning to pursue STEM careers.
+
+We have much work to do, lest we build a future that is less inclusive than the one we live in today. We need everyone at the table, in the lab, at the conference and in the boardroom.
+
+I've been interviewing both women and men for more than a year now about their experiences in tech, all as part of [The Chasing Grace Project][8], a documentary series about women in tech. The purpose of the series is to help recruit and retain female talent for the tech industry and to give women a platform to be seen, heard, and acknowledged for their experiences. We believe that compelling story can begin to transform culture.
+
+### What Chasing Grace taught me
+
+What I've learned is that no matter the dismal numbers, women want to keep building and they collectively possess a resilience unmatched by anything I've ever seen. And this is inspiring me. I've found a power, a strength, and a beauty in every story I've heard that is the result of resilience. I recently shared with the attendees at the Red Hat Summit Women’s Leadership Luncheon the top 10 principles of resilience I've heard from throughout my interviews so far. I hope that by sharing them here the ideas and concepts can support and inspire you, too.
+
+#### 1\. Practice optimism
+
+When taken too far, optimism can give you blind spots. But a healthy dose of optimism allows you to see the best in people and situations and that positive energy comes back to you 100-fold. I haven’t met a woman yet as part of this project who isn’t an optimist.
+
+#### 2\. Build mental toughness
+
+I haven’t met a woman yet as part of this project who isn’t an optimist.
+
+When I recently asked a 32-year-old tech CEO, who is also a single mom of three young girls, what being a CEO required she said _mental toughness_. It really summed up what I’d heard in other words from other women, but it connected with me on another level when she proceeded to tell me how caring for her daughter—who was born with a hole in heart—prepared her for what she would encounter as a tech CEO. Being mentally tough to her means fighting for what you love, persisting like a badass, and building your EQ as well as your IQ.
+
+#### 3\. Recognize your power
+
+When I recently asked a 32-year-old tech CEO, who is also a single mom of three young girls, what being a CEO required she said. It really summed up what I’d heard in other words from other women, but it connected with me on another level when she proceeded to tell me how caring for her daughter—who was born with a hole in heart—prepared her for what she would encounter as a tech CEO. Being mentally tough to her means fighting for what you love, persisting like a badass, and building your EQ as well as your IQ.
+
+Most of the women I’ve interviewed don’t know their own power and so they give it away unknowingly. Too many women have told me that they willingly took on the housekeeping roles on their teams—picking up coffee, donuts, office supplies, and making the team dinner reservations. Usually the only woman on their teams, this put them in a position to be seen as less valuable than their male peers who didn’t readily volunteer for such tasks. All of us, men and women, have innate powers. Identify and know what your powers are and understand how to use them for good. You have so much more power than you realize. Know it, recognize it, use it strategically, and don’t give it away. It’s yours.
+
+#### 4\. Know your strength
+
+Not sure whether you can confront your boss about why you haven’t been promoted? You can. You don’t know your strength until you exercise it. Then, you’re unstoppable. Test your strength by pushing your fear aside and see what happens.
+
+#### 5\. Celebrate vulnerability
+
+Every single successful women I've interviewed isn't afraid to be vulnerable. She finds her strength in acknowledging where she is vulnerable and she looks to connect with others in that same place. Exposing, sharing, and celebrating each other’s vulnerabilities allows us to tap into something far greater than simply asserting strength; it actually builds strength—mental and emotional muscle. One women with whom we’ve talked shared how starting her own tech company made her feel like she was letting her husband down. She shared with us the details of that conversation with her husband. Honest conversations that share our doubts and our aspirations is what makes women uniquely suited to lead in many cases. Allow yourself to be seen and heard. It’s where we grow and learn.
+
+#### 6\. Build community
+
+If it doesn't exist, build it.
+
+Building community seems like a no-brainer in the world of open source, right? But take a moment to think about how many minorities in tech, especially those outside the collaborative open source community, don’t always feel like part of the community. Many women in tech, for example, have told me they feel alone. Reach out and ask questions or answer questions in community forums, at meetups, and in IRC and Slack. When you see a woman alone at an event, consider engaging with her and inviting her into a conversation. Start a meetup group in your company or community for women in tech. I've been so pleased with the number of companies that host these groups. If it doesn't exists, build it.
+
+#### 7\. Celebrate victories
+
+Building community seems like a no-brainer in the world of open source, right? But take a moment to think about how many minorities in tech, especially those outside the collaborative open source community, don’t always feel like part of the community. Many women in tech, for example, have told me they feel alone. Reach out and ask questions or answer questions in community forums, at meetups, and in IRC and Slack. When you see a woman alone at an event, consider engaging with her and inviting her into a conversation. Start a meetup group in your company or community for women in tech. I've been so pleased with the number of companies that host these groups. If it doesn't exists, build it.
+
+One of my favorite Facebook groups is [TechLadies][9] because of its recurring hashtag #YEPIDIDTHAT. It allows women to share their victories in a supportive community. No matter how big or small, don't let a victory go unrecognized. When you recognize your wins, you own them. They become a part of you and you build on top of each one.
+
+#### 8\. Be curious
+
+Being curious in the tech community often means asking questions: How does that work? What language is that written in? How can I make this do that? When I've managed teams over the years, my best employees have always been those who ask a lot of questions, those who are genuinely curious about things. But in this context, I mean be curious when your gut tells you something doesn't seem right. _The energy in the meeting was off. Did he/she just say what I think he said?_ Ask questions. Investigate. Communicate openly and clearly. It's the only way change happens.
+
+#### 9\. Harness courage
+
+One women told me a story about a meeting in which the women in the room kept being dismissed and talked over. During the debrief roundtable portion of the meeting, she called it out and asked if others noticed it, too. Being a 20-year tech veteran, she'd witnessed and experienced this many times but she had never summoned the courage to speak up about it. She told me she was incredibly nervous and was texting other women in the room to see if they agreed it should be addressed. She didn't want to be a "troublemaker." But this kind of courage results in an increased understanding by everyone in that room and can translate into other meetings, companies, and across the industry.
+
+#### 10\. Share your story
+
+When people connect to compelling story, they begin to change behaviors.
+
+Share your experience with a friend, a group, a community, or an industry. Be empowered by the experience of sharing your experience. Stories change culture. When people connect to compelling story, they begin to change behaviors. When people act, companies and industries begin to transform.
+
+Share your experience with a friend, a group, a community, or an industry. Be empowered by the experience of sharing your experience. Stories change culture. When people connect to compelling story, they begin to change behaviors. When people act, companies and industries begin to transform.
+
+If you would like to support [The Chasing Grace Project][8], email Jennifer Cloer to learn more about how to get involved: [jennifer@wickedflicksproductions.com][10]
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/18/6/being-woman-tech-10-principles-resilience
+
+作者:[Jennifer Cloer][a]
+选题:[lujun9972](https://github.com/lujun9972)
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:https://opensource.com/users/jennifer-cloer
+[1]:http://www.newsweek.com/2015/02/06/what-silicon-valley-thinks-women-302821.html%E2%80%9D
+[2]:https://opensource.com/article/17/6/male-allies-tech-industry-needs-you%E2%80%9D
+[3]:https://twitter.com/GirlsWhoCode%E2%80%9D
+[4]:http://opensource.com/tags/red-hat-summit%E2%80%9D
+[5]:https://www.ncwit.org/sites/default/files/resources/womenintech_facts_fullreport_05132016.pdf%E2%80%9D
+[6]:Dhttp://www.latimes.com/business/la-fi-women-tech-20150222-story.html%E2%80%9D
+[7]:http://www.ey.com/us/en/newsroom/news-releases/ey-news-new-research-reveals-the-differences-between-boys-and-girls-career-and-college-plans-and-an-ongoing-need-to-engage-girls-in-stem%E2%80%9D
+[8]:https://www.chasinggracefilm.com/
+[9]:https://www.facebook.com/therealTechLadies/%E2%80%9D
+[10]:mailto:jennifer@wickedflicksproductions.com
diff --git a/sources/talk/20180705 New Training Options Address Demand for Blockchain Skills.md b/sources/talk/20180705 New Training Options Address Demand for Blockchain Skills.md
deleted file mode 100644
index dedbf748d6..0000000000
--- a/sources/talk/20180705 New Training Options Address Demand for Blockchain Skills.md
+++ /dev/null
@@ -1,45 +0,0 @@
-New Training Options Address Demand for Blockchain Skills
-======
-
-
-
-Blockchain technology is transforming industries and bringing new levels of trust to contracts, payment processing, asset protection, and supply chain management. Blockchain-related jobs are the second-fastest growing in today’s labor market, [according to TechCrunch][1]. But, as in the rapidly expanding field of artificial intelligence, there is a pronounced blockchain skills gap and a need for expert training resources.
-
-### Blockchain for Business
-
-A new training option was recently announced from The Linux Foundation. Enrollment is now open for a free training course called[Blockchain: Understanding Its Uses and Implications][2], as well as a [Blockchain for Business][2] professional certificate program. Delivered through the edX training platform, the new course and program provide a way to learn about the impact of blockchain technologies and a means to demonstrate that knowledge. Certification, in particular, can make a difference for anyone looking to work in the blockchain arena.
-
-“In the span of only a year or two, blockchain has gone from something seen only as related to cryptocurrencies to a necessity for businesses across a wide variety of industries,” [said][3] Linux Foundation General Manager, Training & Certification Clyde Seepersad. “Providing a free introductory course designed not only for technical staff but business professionals will help improve understanding of this important technology, while offering a certificate program through edX will enable professionals from all over the world to clearly demonstrate their expertise.”
-
-TechCrunch [also reports][4] that venture capital is rapidly flowing toward blockchain-focused startups. And, this new program is designed for business professionals who need to understand the potential – or threat – of blockchain to their company and industry.
-
-“Professional Certificate programs on edX deliver career-relevant education in a flexible, affordable way, by focusing on the critical skills industry leaders and successful professionals are seeking today,” said Anant Agarwal, edX CEO and MIT Professor.
-
-### Hyperledger Fabric
-
-The Linux Foundation is steward to many valuable blockchain resources and includes some notable community members. In fact, a recent New York Times article — “[The People Leading the Blockchain Revolution][5]” — named Brian Behlendorf, Executive Director of The Linux Foundation’s [Hyperledger Project][6], one of the [top influential voices][7] in the blockchain world.
-
-Hyperledger offers proven paths for gaining credibility and skills in the blockchain space. For example, the project offers a free course titled Introduction to Hyperledger Fabric for Developers. Fabric has emerged as a key open source toolset in the blockchain world. Through the Hyperledger project, you can also take the B9-lab Certified Hyperledger Fabric Developer course. More information on both courses is available [here][8].
-
-“As you can imagine, someone needs to do the actual coding when companies move to experiment and replace their legacy systems with blockchain implementations,” states the Hyperledger website. “With training, you could gain serious first-mover advantage.”
-
---------------------------------------------------------------------------------
-
-via: https://www.linux.com/blog/2018/7/new-training-options-address-demand-blockchain-skills
-
-作者:[SAM DEAN][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://www.linux.com/users/sam-dean
-[1]:https://techcrunch.com/2018/02/14/blockchain-engineers-are-in-demand/
-[2]:https://www.edx.org/course/understanding-blockchain-and-its-implications
-[3]:https://www.linuxfoundation.org/press-release/as-demand-skyrockets-for-blockchain-expertise-the-linux-foundation-and-edx-offer-new-introductory-blockchain-course-and-blockchain-for-business-professional-certificate-program/
-[4]:https://techcrunch.com/2018/05/20/with-at-least-1-3-billion-invested-globally-in-2018-vc-funding-for-blockchain-blows-past-2017-totals/
-[5]:https://www.nytimes.com/2018/06/27/business/dealbook/blockchain-stars.html
-[6]:https://www.hyperledger.org/
-[7]:https://www.linuxfoundation.org/blog/hyperledgers-brian-behlendorf-named-as-top-blockchain-influencer-by-new-york-times/
-[8]:https://www.hyperledger.org/resources/training
diff --git a/sources/talk/20180802 How blockchain will influence open source.md b/sources/talk/20180802 How blockchain will influence open source.md
deleted file mode 100644
index 707f4fe033..0000000000
--- a/sources/talk/20180802 How blockchain will influence open source.md
+++ /dev/null
@@ -1,185 +0,0 @@
-How blockchain will influence open source
-======
-
-
-
-What [Satoshi Nakamoto][1] started as Bitcoin a decade ago has found a lot of followers and turned into a movement for decentralization. For some, blockchain technology is a religion that will have the same impact on humanity as the Internet has had. For others, it is hype and technology suitable only for Ponzi schemes. While blockchain is still evolving and trying to find its place, one thing is for sure: It is a disruptive technology that will fundamentally transform certain industries. And I'm betting open source will be one of them.
-
-### The open source model
-
-Open source is a collaborative software development and distribution model that allows people with common interests to gather and produce something that no individual can create on their own. It allows the creation of value that is bigger than the sum of its parts. Open source is enabled by distributed collaboration tools (IRC, email, git, wiki, issue trackers, etc.), distributed and protected by an open source licensing model and often governed by software foundations such as the [Apache Software Foundation][2] (ASF), [Cloud Native Computing Foundation][3] (CNCF), etc.
-
-One interesting aspect of the open source model is the lack of financial incentives in its core. Some people believe open source work should remain detached from money and remain a free and voluntary activity driven only by intrinsic motivators (such as "common purpose" and "for the greater good”). Others believe open source work should be rewarded directly or indirectly through extrinsic motivators (such as financial incentive). While the idea of open source projects prospering only through voluntary contributions is romantic, in reality, the majority of open source contributions are done through paid development. Yes, we have a lot of voluntary contributions, but these are on a temporary basis from contributors who come and go, or for exceptionally popular projects while they are at their peak. Creating and sustaining open source projects that are useful for enterprises requires developing, documenting, testing, and bug-fixing for prolonged periods, even when the software is no longer shiny and exciting. It is a boring activity that is best motivated through financial incentives.
-
-### Commercial open source
-
-Software foundations such as ASF survive on donations and other income streams such as sponsorships, conference fees, etc. But those funds are primarily used to run the foundations, to provide legal protection for the projects, and to ensure there are enough servers to run builds, issue trackers, mailing lists, etc.
-
-Similarly, CNCF has member fees and other income streams, which are used to run the foundation and provide resources for the projects. These days, most software is not built on laptops; it is run and tested on hundreds of machines on the cloud, and that requires money. Creating marketing campaigns, brand designs, distributing stickers, etc. takes money, and some foundations can assist with that as well. At its core, foundations implement the right processes to interact with users, developers, and control mechanisms and ensure distribution of available financial resources to open source projects for the common good.
-
-If users of open source projects can donate money and the foundations can distribute it in a fair way, what is missing?
-
-What is missing is a direct, transparent, trusted, decentralized, automated bidirectional link for transfer of value between the open source producers and the open source consumer. Currently, the link is either unidirectional or indirect:
-
- * **Unidirectional** : A developer (think of a "developer" as any role that is involved in the production, maintenance, and distribution of software) can use their brain juice and devote time to do a contribution and share that value with all open source users. But there is no reverse link.
-
- * **Indirect** : If there is a bug that affects a specific user/company, the options are:
-
- * To have in-house developers to fix the bug and do a pull request. That is ideal, but it not always possible to hire in-house developers who are knowledgeable about hundreds of open source projects used daily.
-
- * To hire a freelancer specializing in that specific open source project and pay for the services. Ideally, the freelancer is also a committer for the open source project and can directly change the project code quickly. Otherwise, the fix might not ever make it to the project.
-
- * To approach a company providing services around the open source project. Such companies typically employ open source committers to influence and gain credibility in the community and offer products, expertise, and professional services.
-
-
-
-
-The third option has been a successful [model][4] for sustaining many open source projects. Whether they provide services (training, consulting, workshops), support, packaging, open core, or SaaS, there are companies that employ hundreds of staff members who work on open source full time. There is a long [list of companies][5] that have managed to build a successful open source business model over the years, and that list is growing steadily.
-
-The companies that back open source projects play an important role in the ecosystem: They are the catalyst between the open source projects and the users. The ones that add real value do more than just package software nicely; they can identify user needs and technology trends, and they create a full stack and even an ecosystem of open source projects to address these needs. They can take a boring project and support it for years. If there is a missing piece in the stack, they can start an open source project from scratch and build a community around it. They can acquire a closed source software company and open source the projects (here I got a little carried away, but yes, I'm talking about my employer, [Red Hat][6]).
-
-To summarize, with the commercial open source model, projects are officially or unofficially managed and controlled by a very few individuals or companies that monetize them and give back to the ecosystem by ensuring the project is successful. It is a win-win-win for open source developers, managing companies, and end users. The alternative is inactive projects and expensive closed source software.
-
-### Self-sustaining, decentralized open source
-
-For a project to become part of a reputable foundation, it must conform to certain criteria. For example, ASF and CNCF require incubation and graduation processes, respectively, where apart from all the technical and formal requirements, a project must have a healthy number of active committer and users. And that is the essence of forming a sustainable open source project. Having source code on GitHub is not the same thing as having an active open source project. The latter requires committers who write the code and users who use the code, with both groups enforcing each other continuously by exchanging value and forming an ecosystem where everybody benefits. Some project ecosystems might be tiny and short-lived, and some may consist of multiple projects and competing service providers, with very complex interactions lasting for many years. But as long as there is an exchange of value and everybody benefits from it, the project is developed, maintained, and sustained.
-
-If you look at ASF [Attic][7], you will find projects that have reached their end of life. When a project is no longer technologically fit for its purpose, it is usually its natural end. Similarly, in the ASF [Incubator][8], you will find tons of projects that never graduated but were instead retired. Typically, these projects were not able to build a large enough community because they are too specialized or there are better alternatives available.
-
-But there are also cases where projects with high potential and superior technology cannot sustain themselves because they cannot form or maintain a functioning ecosystem for the exchange of value. The open source model and the foundations do not provide a framework and mechanisms for developers to get paid for their work or for users to get their requests heard. There isn’t a common value commitment framework for either party. As a result, some projects can sustain themselves only in the context of commercial open source, where a company acts as an intermediary and value adder between developers and users. That adds another constraint and requires a service provider company to sustain some open source projects. Ideally, users should be able to express their interest in a project and developers should be able to show their commitment to the project in a transparent and measurable way, which forms a community with common interest and intent for the exchange of value.
-
-Imagine there is a model with mechanisms and tools that enable direct interaction between open source users and developers. This includes not only code contributions through pull requests, questions over the mailing lists, GitHub stars, and stickers on laptops, but also other ways that allow users to influence projects' destinies in a richer, more self-controlled and transparent manner.
-
-This model could include incentives for actions such as:
-
- * Funding open source projects directly rather than through software foundations
-
- * Influencing the direction of projects through voting (by token holders)
-
- * Feature requests driven by user needs
-
- * On-time pull request merges
-
- * Bounties for bug hunts
-
- * Better test coverage incentives
-
- * Up-to-date documentation rewards
-
- * Long-term support guarantees
-
- * Timely security fixes
-
- * Expert assistance, support, and services
-
- * Budget for evangelism and promotion of the projects
-
- * Budget for regular boring activities
-
- * Fast email and chat assistance
-
- * Full visibility of the overall project findings, etc.
-
-
-
-
-If you haven't guessed, I'm talking about using blockchain and [smart contracts][9] to allow such interactions between users and developers—smart contracts that will give power to the hand of token holders to influence projects.
-
-![blockchain_in_open_source_ecosystem.png][11]
-
-The usage of blockchain in the open source ecosystem
-
-Existing channels in the open source ecosystem provide ways for users to influence projects through financial commitments to service providers or other limited means through the foundations. But the addition of blockchain-based technology to the open source ecosystem could open new channels for interaction between users and developers. I'm not saying this will replace the commercial open source model; most companies working with open source do many things that cannot be replaced by smart contracts. But smart contracts can spark a new way of bootstrapping new open source projects, giving a second life to commodity projects that are a burden to maintain. They can motivate developers to apply boring pull requests, write documentation, get tests to pass, etc., providing a direct value exchange channel between users and open source developers. Blockchain can add new channels to help open source projects grow and become self-sustaining in the long term, even when company backing is not feasible. It can create a new complementary model for self-sustaining open source projects—a win-win.
-
-### Tokenizing open source
-
-There are already a number of initiatives aiming to tokenize open source. Some focus only on an open source model, and some are more generic but apply to open source development as well:
-
- * [Gitcoin][12] \- grow open source, one of the most promising ones in this area.
-
- * [Oscoin][13] \- cryptocurrency for open source
-
- * [Open collective][14] \- a platform for supporting open source projects.
-
- * [FundYourselfNow][15] \- Kickstarter and ICOs for projects.
-
- * [Kauri][16] \- support for open source project documentation.
-
- * [Liberapay][17] \- a recurrent donations platform.
-
- * [FundRequest][18] \- a decentralized marketplace for open source collaboration.
-
- * [CanYa][19] \- recently acquired [Bountysource][20], now the world’s largest open source P2P bounty platform.
-
- * [OpenGift][21] \- a new model for open source monetization.
-
- * [Hacken][22] \- a white hat token for hackers.
-
- * [Coinlancer][23] \- a decentralized job market.
-
- * [CodeFund][24] \- an open source ad platform.
-
- * [IssueHunt][25] \- a funding platform for open source maintainers and contributors.
-
- * [District0x 1Hive][26] \- a crowdfunding and curation platform.
-
- * [District0x Fixit][27] \- github bug bounties.
-
-
-
-
-This list is varied and growing rapidly. Some of these projects will disappear, others will pivot, but a few will emerge as the [SourceForge][28], the ASF, the GitHub of the future. That doesn't necessarily mean they'll replace these platforms, but they'll complement them with token models and create a richer open source ecosystem. Every project can pick its distribution model (license), governing model (foundation), and incentive model (token). In all cases, this will pump fresh blood to the open source world.
-
-### The future is open and decentralized
-
- * Software is eating the world.
-
- * Every company is a software company.
-
- * Open source is where innovation happens.
-
-
-
-
-Given that, it is clear that open source is too big to fail and too important to be controlled by a few or left to its own destiny. Open source is a shared-resource system that has value to all, and more importantly, it must be managed as such. It is only a matter of time until every company on earth will want to have a stake and a say in the open source world. Unfortunately, we don't have the tools and the habits to do it yet. Such tools would allow anybody to show their appreciation or ignorance of software projects. It would create a direct and faster feedback loop between producers and consumers, between developers and users. It will foster innovation—innovation driven by user needs and expressed through token metrics.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/18/8/open-source-tokenomics
-
-作者:[Bilgin lbryam][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://opensource.com/users/bibryam
-[1]:https://en.wikipedia.org/wiki/Satoshi_Nakamoto
-[2]:https://www.apache.org/
-[3]:https://www.cncf.io/
-[4]:https://medium.com/open-consensus/3-oss-business-model-progressions-dafd5837f2d
-[5]:https://docs.google.com/spreadsheets/d/17nKMpi_Dh5slCqzLSFBoWMxNvWiwt2R-t4e_l7LPLhU/edit#gid=0
-[6]:http://jobs.redhat.com/
-[7]:https://attic.apache.org/
-[8]:http://incubator.apache.org/
-[9]:https://en.wikipedia.org/wiki/Smart_contract
-[10]:/file/404421
-[11]:https://opensource.com/sites/default/files/uploads/blockchain_in_open_source_ecosystem.png (blockchain_in_open_source_ecosystem.png)
-[12]:https://gitcoin.co/
-[13]:http://oscoin.io/
-[14]:https://opencollective.com/opensource
-[15]:https://www.fundyourselfnow.com/page/about
-[16]:https://kauri.io/
-[17]:https://liberapay.com/
-[18]:https://fundrequest.io/
-[19]:https://canya.io/
-[20]:https://www.bountysource.com/
-[21]:https://opengift.io/pub/
-[22]:https://hacken.io/
-[23]:https://www.coinlancer.com/home
-[24]:https://codefund.io/
-[25]:https://issuehunt.io/
-[26]:https://blog.district0x.io/district-proposal-spotlight-1hive-283957f57967
-[27]:https://github.com/district0x/district-proposals/issues/177
-[28]:https://sourceforge.net/
diff --git a/sources/talk/20180816 Debian Turns 25- Here are Some Interesting Facts About Debian Linux.md b/sources/talk/20180816 Debian Turns 25- Here are Some Interesting Facts About Debian Linux.md
deleted file mode 100644
index c90262dfee..0000000000
--- a/sources/talk/20180816 Debian Turns 25- Here are Some Interesting Facts About Debian Linux.md
+++ /dev/null
@@ -1,116 +0,0 @@
-Debian Turns 25! Here are Some Interesting Facts About Debian Linux
-======
-One of the oldest Linux distribution still in development, Debian has just turned 25. Let’s have a look at some interesting facts about this awesome FOSS project.
-
-### 10 Interesting facts about Debian Linux
-
-![Interesting facts about Debian Linux][1]
-
-The facts presented here have been collected from various sources available from the internet. They are true to my knowledge, but in case of any error, please remind me to update the article.
-
-#### 1\. One of the oldest Linux distributions still under active development
-
-[Debian project][2] was announced on 16th August 1993 by Ian Murdock, Debian Founder. Like Linux creator [Linus Torvalds][3], Ian was a college student when he announced Debian project.
-
-
-
-#### 2\. Some people get tattoo while some name their project after their girlfriend’s name
-
-The project was named by combining the name of Ian and his then-girlfriend Debra Lynn. Ian and Debra got married and had three children. Debra and Ian got divorced in 2008.
-
-#### 3\. Ian Murdock: The Maverick behind the creation of Debian project
-
-![Debian Founder Ian Murdock][4]
-Ian Murdock
-
-[Ian Murdock][5] led the Debian project from August 1993 until March 1996. He shaped Debian into a community project based on the principals of Free Software. The [Debian Manifesto][6] and the [Debian Social Contract][7] are still governing the project.
-
-He founded a commercial Linux company called [Progeny Linux Systems][8] and worked for a number of Linux related companies such as Sun Microsystems, Linux Foundation and Docker.
-
-Sadly, [Ian committed suicide in December 2015][9]. His contribution to Debian is certainly invaluable.
-
-#### 4\. Debian is a community project in the true sense
-
-Debian is a community based project in true sense. No one ‘owns’ Debian. Debian is being developed by volunteers from all over the world. It is not a commercial project, backed by corporates like many other Linux distributions.
-
-Debian Linux distribution is composed of Free Software only. It’s one of the few Linux distributions that is true to the spirit of [Free Software][10] and takes proud in being called a GNU/Linux distribution.
-
-Debian has its non-profit organization called [Software in Public Interest][11] (SPI). Along with Debian, SPI supports many other open source projects financially.
-
-#### 5\. Debian and its 3 branches
-
-Debian has three branches or versions: Debian Stable, Debian Unstable (Sid) and Debian Testing.
-
-Debian Stable, as the name suggests, is the stable branch that has all the software and packages well tested to give you a rock solid stable system. Since it takes time before a well-tested software lands in the stable branch, Debian Stable often contains older versions of programs and hence people joke that Debian Stable means stale.
-
-[Debian Unstable][12] codenamed Sid is the version where all the development of Debian takes place. This is where the new packages first land or developed. After that, these changes are propagated to the testing version.
-
-[Debian Testing][13] is the next release after the current stable release. If the current stable release is N, Debian testing would be the N+1 release. The packages from Debian Unstable are tested in this version. After all the new changes are well tested, Debian Testing is then ‘promoted’ as the new Stable version.
-
-There is no strict release schedule for Debian.
-
-#### 7\. There was no Debian 1.0 release
-
-Debian 1.0 was never released. The CD vendor, InfoMagic, accidentally shipped a development release of Debian and entitled it 1.0 in 1996. To prevent confusion between the CD version and the actual Debian release, the Debian Project renamed its next release to “Debian 1.1”.
-
-#### 8\. Debian releases are codenamed after Toy Story characters
-
-![Toy Story Characters][14]
-
-Debian releases are codenamed after the characters from Pixar’s hit animation movie series [Toy Story][15].
-
-Debian 1.1 was the first release with a codename. It was named Buzz after the Toy Story character Buzz Lightyear.
-
-It was in 1996 and [Bruce Perens][16] had taken over leadership of the Project from Ian Murdock. Bruce was working at Pixar at the time.
-
-This trend continued and all the subsequent releases had codenamed after Toy Story characters. For example, the current stable release is Stretch while the upcoming release has been codenamed Buster.
-
-The unstable Debian version is codenamed Sid. This character in Toy Story is a kid with emotional problems and he enjoys breaking toys. This is symbolic in the sense that Debian Unstable might break your system with untested packages.
-
-#### 9\. Debian also has a BSD ditribution
-
-Debian is not limited to Linux. Debian also has a distribution based on FreeBSD kernel. It is called [Debian GNU/kFreeBSD][17].
-
-#### 10\. Google uses Debian
-
-[Google uses Debian][18] as its in-house development platform. Earlier, Google used a customized version of Ubuntu as its development platform. Recently they opted for Debian based gLinux.
-
-#### Happy 25th birthday Debian
-
-![Happy 25th birthday Debian][19]
-
-I hope you liked these little facts about Debian. Stuff like these are reasons why people love Debian.
-
-I wish a very happy 25th birthday to Debian. Please continue to be awesome. Cheers :)
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/debian-facts/
-
-作者:[Abhishek Prakash][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/abhishek/
-[1]:https://4bds6hergc-flywheel.netdna-ssl.com/wp-content/uploads/2018/08/Interesting-facts-about-debian.jpeg
-[2]:https://www.debian.org
-[3]:https://itsfoss.com/linus-torvalds-facts/
-[4]:https://4bds6hergc-flywheel.netdna-ssl.com/wp-content/uploads/2018/08/ian-murdock.jpg
-[5]:https://en.wikipedia.org/wiki/Ian_Murdock
-[6]:https://www.debian.org/doc/manuals/project-history/ap-manifesto.en.html
-[7]:https://www.debian.org/social_contract
-[8]:https://en.wikipedia.org/wiki/Progeny_Linux_Systems
-[9]:https://itsfoss.com/ian-murdock-dies-mysteriously/
-[10]:https://www.fsf.org/
-[11]:https://www.spi-inc.org/
-[12]:https://www.debian.org/releases/sid/
-[13]:https://www.debian.org/releases/testing/
-[14]:https://4bds6hergc-flywheel.netdna-ssl.com/wp-content/uploads/2018/08/toy-story-characters.jpeg
-[15]:https://en.wikipedia.org/wiki/Toy_Story_(franchise)
-[16]:https://perens.com/about-bruce-perens/
-[17]:https://wiki.debian.org/Debian_GNU/kFreeBSD
-[18]:https://itsfoss.com/goobuntu-glinux-google/
-[19]:https://4bds6hergc-flywheel.netdna-ssl.com/wp-content/uploads/2018/08/happy-25th-birthday-Debian.jpeg
diff --git a/sources/talk/20180818 What Did Ada Lovelace-s Program Actually Do.md b/sources/talk/20180818 What Did Ada Lovelace-s Program Actually Do.md
index 8bbb651cfd..fc669a1a3c 100644
--- a/sources/talk/20180818 What Did Ada Lovelace-s Program Actually Do.md
+++ b/sources/talk/20180818 What Did Ada Lovelace-s Program Actually Do.md
@@ -1,3 +1,5 @@
+Northurland Translating
+
What Did Ada Lovelace's Program Actually Do?
======
The story of Microsoft’s founding is one of the most famous episodes in computing history. In 1975, Paul Allen flew out to Albuquerque to demonstrate the BASIC interpreter that he and Bill Gates had written for the Altair microcomputer. Because neither of them had a working Altair, Allen and Gates tested their interpreter using an emulator that they wrote and ran on Harvard’s computer system. The emulator was based on nothing more than the published specifications for the Intel 8080 processor. When Allen finally ran their interpreter on a real Altair—in front of the person he and Gates hoped would buy their software—he had no idea if it would work. But it did. The next month, Allen and Gates officially founded their new company.
diff --git a/sources/talk/20181004 Interview With Peter Ganten, CEO of Univention GmbH.md b/sources/talk/20181004 Interview With Peter Ganten, CEO of Univention GmbH.md
deleted file mode 100644
index 5a0c1aabdd..0000000000
--- a/sources/talk/20181004 Interview With Peter Ganten, CEO of Univention GmbH.md
+++ /dev/null
@@ -1,97 +0,0 @@
-Interview With Peter Ganten, CEO of Univention GmbH
-======
-I have been asking the Univention team to share the behind-the-scenes story of [**Univention**][1] for a couple of months. Finally, today we got the interview of **Mr. Peter H. Ganten** , CEO of Univention GmbH. Despite his busy schedule, in this interview, he shares what he thinks of the Univention project and its impact on open source ecosystem, what open source developers and companies will need to do to keep thriving and what are the biggest challenges for open source projects.
-
-**OSTechNix: What’s your background and why have you founded Univention?**
-
-**Peter Ganten:** I studied physics and psychology. In psychology I was a research assistant and coded evaluation software. I realized how important it is that results have to be disclosed in order to verify or falsify them. The same goes for the code that leads to the results. This brought me into contact with Open Source Software (OSS) and Linux.
-
-
-
-I was a kind of technical lab manager and I had the opportunity to try out a lot, which led to my book about Debian. That was still in the New Economy era where the first business models emerged on how to make money with Open Source. When the bubble burst, I had the plan to make OSS a solid business model without venture capital but with Hanseatic business style – seriously, steadily, no bling bling.
-
-**What were the biggest challenges at the beginning?**
-
-When I came from the university, the biggest challenge clearly was to gain entrepreneurial and business management knowledge. I quickly learned that it’s not about Open Source software as an end to itself but always about customer value, and the benefits OSS offers its customers. We all had to learn a lot.
-
-In the beginning, we expected that Linux on the desktop would become established in a similar way as Linux on the server. However, this has not yet been proven true. The replacement has happened with Android and the iPhone. Our conclusion then was to change our offerings towards ID management and enterprise servers.
-
-**Why does UCS matter? And for whom makes it sense to use it?**
-
-There is cool OSS in all areas, but many organizations are not capable to combine it all together and make it manageable. For the basic infrastructure (Windows desktops, users, user rights, roles, ID management, apps) we need a central instance to which groupware, CRM etc. is connected. Without Univention this would have to be laboriously assembled and maintained manually. This is possible for very large companies, but far too complex for many other organizations.
-
-[**UCS**][2] can be used out of the box and is scalable. That’s why it’s becoming more and more popular – more than 10,000 organizations are using UCS already today.
-
-**Who are your users and most important clients? What do they love most about UCS?**
-
-The Core Edition is free of charge and used by organizations from all sectors and industries such as associations, micro-enterprises, universities or large organizations with thousands of users. In the enterprise environment, where Long Term Servicing (LTS) and professional support are particularly important, we have organizations ranging in size from 30-50 users to several thousand users. One of the target groups is the education system in Germany. In many large cities and within their school administrations UCS is used, for example, in Cologne, Hannover, Bremen, Kassel and in several federal states. They are looking for manageable IT and apps for schools. That’s what we offer, because we can guarantee these authorities full control over their users’ identities.
-
-Also, more and more cloud service providers and MSPs want to take UCS to deliver a selection of cloud-based app solutions.
-
-**Is UCS 100% Open Source? If so, how can you run a profitable business selling it?**
-
-Yes, UCS is 100% Open Source, every line, the whole code is OSS. You can download and use UCS Core Edition for **FREE!**
-
-We know that in large, complex organizations, vendor support and liability is needed for LTS, SLAs, and we offer that with our Enterprise subscriptions and consulting services. We don’t offer these in the Core Edition.
-
-**And what are you giving back to the OS community?**
-
-A lot. We are involved in the Debian team and co-finance the LTS maintenance for Debian. For important OS components in UCS like [**OpenLDAP**][3], Samba or KVM we co-finance the development or have co-developed them ourselves. We make it all freely available.
-
-We are also involved on the political level in ensuring that OSS is used. We are engaged, for example, in the [**Free Software Foundation Europe (FSFE)**][4] and the [**German Open Source Business Alliance**][5], of which I am the chairman. We are working hard to make OSS more successful.
-
-**How can I get started with UCS?**
-
-It’s easy to get started with the Core Edition, which, like the Enterprise Edition, has an App Center and can be easily installed on your own hardware or as an appliance in a virtual machine. Just [**download Univention ISO**][6] and install it as described in the below link.
-
-Alternatively, you can try the [**UCS Online Demo**][7] to get a first impression of Univention Corporate Server without actually installing it on your system.
-
-**What do you think are the biggest challenges for Open Source?**
-
-There is a certain attitude you can see over and over again even in bigger projects: OSS alone is viewed as an almost mandatory prerequisite for a good, sustainable, secure and trustworthy IT solution – but just having decided to use OSS is no guarantee for success. You have to carry out projects professionally and cooperate with the manufacturers. A danger is that in complex projects people think: “Oh, OSS is free, I just put it all together by myself”. But normally you do not have the know-how to successfully implement complex software solutions. You would never proceed like this with Closed Source. There people think: “Oh, the software costs 3 $ millions, so it’s okay if I have to spend another 300,000 Dollars on consultants.”
-
-At OSS this is different. If such projects fail and leave burnt ground behind, we have to explain again and again that the failure of such projects is not due to the nature of OSS but to its poor implementation and organization in a specific project: You have to conclude reasonable contracts and involve partners as in the proprietary world, but you’ll gain a better solution.
-
-Another challenge: We must stay innovative, move forward, attract new people who are enthusiastic about working on projects. That’s sometimes a challenge. For example, there are a number of proprietary cloud services that are good but lead to extremely high dependency. There are approaches to alternatives in OSS, but no suitable business models yet. So it’s hard to find and fund developers. For example, I can think of Evernote and OneNote for which there is no reasonable OSS alternative.
-
-**And what will the future bring for Univention?**
-
-I don’t have a crystal ball, but we are extremely optimistic. We see a very high growth potential in the education market. More OSS is being made in the public sector, because we have repeatedly experienced the dead ends that can be reached if we solely rely on Closed Source.
-
-Overall, we will continue our organic growth at double-digit rates year after year.
-
-UCS and its core functionalities of identity management, infrastructure management and app center will increasingly be offered and used from the cloud as a managed service. We will support our technology in this direction, e.g., through containers, so that a hypervisor or bare metal is not always necessary for operation.
-
-**You have been the CEO of Univention for a long time. What keeps you motivated?**
-
-I have been the CEO of Univention for more than 16 years now. My biggest motivation is to realize that something is moving. That we offer the better way for IT. That the people who go this way with us are excited to work with us. I go home satisfied in the evening (of course not every evening). It’s totally cool to work with the team I have. It motivates and pushes you every time I need it myself.
-
-I’m a techie and nerd at heart, I enjoy dealing with technology. So I’m totally happy at this place and I’m grateful to the world that I can do whatever I want every day. Not everyone can say that.
-
-**Who gives you inspiration?**
-
-My employees, the customers and the Open Source projects. The exchange with other people.
-
-The motivation behind everything is that we want to make sure that mankind will be able to influence and change the IT that surrounds us today and in the future just the way we want it and we thinks it’s good. We want to make a contribution to this. That is why Univention is there. That is important to us every day.
-
-
-
---------------------------------------------------------------------------------
-
-via: https://www.ostechnix.com/interview-with-peter-ganten-ceo-of-univention-gmbh/
-
-作者:[SK][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.ostechnix.com/author/sk/
-[1]: https://www.ostechnix.com/introduction-univention-corporate-server/
-[2]: https://www.univention.com/products/ucs/
-[3]: https://www.ostechnix.com/redhat-and-suse-announced-to-withdraw-support-for-openldap/
-[4]: https://fsfe.org/
-[5]: https://osb-alliance.de/
-[6]: https://www.univention.com/downloads/download-ucs/
-[7]: https://www.univention.com/downloads/ucs-online-demo/
diff --git a/sources/talk/20190131 OOP Before OOP with Simula.md b/sources/talk/20190131 OOP Before OOP with Simula.md
index cae9d9bd3a..aca160ad2d 100644
--- a/sources/talk/20190131 OOP Before OOP with Simula.md
+++ b/sources/talk/20190131 OOP Before OOP with Simula.md
@@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
-[#]: translator: ( )
+[#]: translator: (warmfrog)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
diff --git a/sources/talk/20190228 Why CLAs aren-t good for open source.md b/sources/talk/20190228 Why CLAs aren-t good for open source.md
deleted file mode 100644
index ca39619762..0000000000
--- a/sources/talk/20190228 Why CLAs aren-t good for open source.md
+++ /dev/null
@@ -1,76 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Why CLAs aren't good for open source)
-[#]: via: (https://opensource.com/article/19/2/cla-problems)
-[#]: author: (Richard Fontana https://opensource.com/users/fontana)
-
-Why CLAs aren't good for open source
-======
-Few legal topics in open source are as controversial as contributor license agreements.
-
-
-Few legal topics in open source are as controversial as [contributor license agreements][1] (CLAs). Unless you count the special historical case of the [Fedora Project Contributor Agreement][2] (which I've always seen as an un-CLA), or, like [Karl Fogel][3], you classify the [DCO][4] as a [type of CLA][5], today Red Hat makes no use of CLAs for the projects it maintains.
-
-It wasn't always so. Red Hat's earliest projects followed the traditional practice I've called "inbound=outbound," in which contributions to a project are simply provided under the project's open source license with no execution of an external, non-FOSS contract required. But in the early 2000s, Red Hat began experimenting with the use of contributor agreements. Fedora started requiring contributors to sign a CLA based on the widely adapted [Apache ICLA][6], while a Free Software Foundation-derived copyright assignment agreement and a pair of bespoke CLAs were inherited from the Cygnus and JBoss acquisitions, respectively. We even took [a few steps][7] towards adopting an Apache-style CLA across the rapidly growing set of Red Hat-led projects.
-
-This came to an end, in large part because those of us on the Red Hat legal team heard and understood the concerns and objections raised by Red Hat engineers and the wider technical community. We went on to become de facto leaders of what some have called the anti-CLA movement, marked notably by our [opposition to Project Harmony][8] and our [efforts][9] to get OpenStack to replace its CLA with the DCO. (We [reluctantly][10] sign tolerable upstream project CLAs out of practical necessity.)
-
-### Why CLAs are problematic
-
-Our choice not to use CLAs is a reflection of our values as an authentic open source company with deep roots in the free software movement. Over the years, many in the open source community have explained why CLAs, and the very similar mechanism of copyright assignment, are a bad policy for open source.
-
-One reason is the red tape problem. Normally, open source development is characterized by frictionless contribution, which is enabled by inbound=outbound without imposition of further legal ceremony or process. This makes it relatively easy for new contributors to get involved in a project, allowing more effective growth of contributor communities and driving technical innovation upstream. Frictionless contribution is a key part of the advantage open source development holds over proprietary alternatives. But frictionless contribution is negated by CLAs. Having to sign an unusual legal agreement before a contribution can be accepted creates a bureaucratic hurdle that slows down development and discourages participation. This cost persists despite the growing use of automation by CLA-using projects.
-
-CLAs also give rise to an asymmetry of legal power among a project's participants, which also discourages the growth of strong contributor and user communities around a project. With Apache-style CLAs, the company or organization leading the project gets special rights that other contributors do not receive, while those other contributors must shoulder certain legal obligations (in addition to the red tape burden) from which the project leader is exempt. The problem of asymmetry is most severe in copyleft projects, but it is present even when the outbound license is permissive.
-
-When assessing the arguments for and against CLAs, bear in mind that today, as in the past, the vast majority of the open source code in any product originates in projects that follow the inbound=outbound practice. The use of CLAs by a relatively small number of projects causes collateral harm to all the others by signaling that, for some reason, open source licensing is insufficient to handle contributions flowing into a project.
-
-### The case for CLAs
-
-Since CLAs continue to be a minority practice and originate from outside open source community culture, I believe that CLA proponents should bear the burden of explaining why they are necessary or beneficial relative to their costs. I suspect that most companies using CLAs are merely emulating peer company behavior without critical examination. CLAs have an understandable, if superficial, appeal to risk-averse lawyers who are predisposed to favor greater formality, paper, and process regardless of the business costs. Still, some arguments in favor of CLAs are often advanced and deserve consideration.
-
-**Easy relicensing:** If administered appropriately, Apache-style CLAs give the project steward effectively unlimited power to sublicense contributions under terms of the steward's choice. This is sometimes seen as desirable because of the potential need to relicense a project under some other open source license. But the value of easy relicensing has been greatly exaggerated by pointing to a few historical cases involving major relicensing campaigns undertaken by projects with an unusually large number of past contributors (all of which were successful without the use of a CLA). There are benefits in relicensing being hard because it results in stable legal expectations around a project and encourages projects to consult their contributor communities before undertaking significant legal policy changes. In any case, most inbound=outbound open source projects never attempt to relicense during their lifetime, and for the small number that do, relicensing will be relatively painless because typically the number of past contributors to contact will not be large.
-
-**Provenance tracking:** It is sometimes claimed that CLAs enable a project to rigorously track the provenance of contributions, which purportedly has some legal benefit. It is unclear what is achieved by the use of CLAs in this regard that is not better handled through such non-CLA means as preserving Git commit history. And the DCO would seem to be much better suited to tracking contributions, given that it is normally used on a per-commit basis, while CLAs are signed once per contributor and are administratively separate from code contributions. Moreover, provenance tracking is often described as though it were a benefit for the public, yet I know of no case where a project provides transparent, ready public access to CLA acceptance records.
-
-**License revocation:** Some CLA advocates warn of the prospect that a contributor may someday attempt to revoke a past license grant. To the extent that the concern is about largely judgment-proof individual contributors with no corporate affiliation, it is not clear why an Apache-style CLA provides more meaningful protection against this outcome compared to the use of an open source license. And, as with so many of the legal risks raised in discussions of open source legal policy, this appears to be a phantom risk. I have heard of only a few purported attempts at license revocation over the years, all of which were resolved quickly when the contributor backed down in the face of community pressure.
-
-**Unauthorized employee contribution:** This is a special case of the license revocation issue and has recently become a point commonly raised by CLA advocates. When an employee contributes to an upstream project, normally the employer owns the copyrights and patents for which the project needs licenses, and only certain executives are authorized to grant such licenses. Suppose an employee contributed proprietary code to a project without approval from the employer, and the employer later discovers this and demands removal of the contribution or sues the project's users. This risk of unauthorized contributions is thought to be minimized by use of something like the [Apache CCLA][11] with its representations and signature requirement, coupled with some adequate review process to ascertain that the CCLA signer likely was authorized to sign (a step which I suspect is not meaningfully undertaken by most CLA-using companies).
-
-Based on common sense and common experience, I contend that in nearly all cases today, employee contributions are done with the actual or constructive knowledge and consent of the employer. If there were an atmosphere of high litigation risk surrounding open source software, perhaps this risk should be taken more seriously, but litigation arising out of open source projects remains remarkably uncommon.
-
-More to the point, I know of no case where an allegation of copyright or patent infringement against an inbound=outbound project, not stemming from an alleged open source license violation, would have been prevented by use of a CLA. Patent risk, in particular, is often cited by CLA proponents when pointing to the risk of unauthorized contributions, but the patent license grants in Apache-style CLAs are, by design, quite narrow in scope. Moreover, corporate contributions to an open source project will typically be few in number, small in size (and thus easily replaceable), and likely to be discarded as time goes on.
-
-### Alternatives
-
-If your company does not buy into the anti-CLA case and cannot get comfortable with the simple use of inbound=outbound, there are alternatives to resorting to an asymmetric and administratively burdensome Apache-style CLA requirement. The use of the DCO as a complement to inbound=outbound addresses at least some of the concerns of risk-averse CLA advocates. If you must use a true CLA, there is no need to use the Apache model (let alone a [monstrous derivative][10] of it). Consider the non-specification core of the [Eclipse Contributor Agreement][12]—essentially the DCO wrapped inside a CLA—or the Software Freedom Conservancy's [Selenium CLA][13], which merely ceremonializes an inbound=outbound contribution policy.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/2/cla-problems
-
-作者:[Richard Fontana][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/fontana
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/article/18/3/cla-vs-dco-whats-difference
-[2]: https://opensource.com/law/10/6/new-contributor-agreement-fedora
-[3]: https://www.red-bean.com/kfogel/
-[4]: https://developercertificate.org
-[5]: https://producingoss.com/en/contributor-agreements.html#developer-certificate-of-origin
-[6]: https://www.apache.org/licenses/icla.pdf
-[7]: https://www.freeipa.org/page/Why_CLA%3F
-[8]: https://opensource.com/law/11/7/trouble-harmony-part-1
-[9]: https://wiki.openstack.org/wiki/OpenStackAndItsCLA
-[10]: https://opensource.com/article/19/1/cla-proliferation
-[11]: https://www.apache.org/licenses/cla-corporate.txt
-[12]: https://www.eclipse.org/legal/ECA.php
-[13]: https://docs.google.com/forms/d/e/1FAIpQLSd2FsN12NzjCs450ZmJzkJNulmRC8r8l8NYwVW5KWNX7XDiUw/viewform?hl=en_US&formkey=dFFjXzBzM1VwekFlOWFWMjFFRjJMRFE6MQ#gid=0
diff --git a/sources/talk/20190311 Discuss everything Fedora.md b/sources/talk/20190311 Discuss everything Fedora.md
deleted file mode 100644
index 5795fbf3f7..0000000000
--- a/sources/talk/20190311 Discuss everything Fedora.md
+++ /dev/null
@@ -1,45 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Discuss everything Fedora)
-[#]: via: (https://fedoramagazine.org/discuss-everything-fedora/)
-[#]: author: (Ryan Lerch https://fedoramagazine.org/introducing-flatpak/)
-
-Discuss everything Fedora
-======
-
-
-Are you interested in how Fedora is being developed? Do you want to get involved, or see what goes into making a release? You want to check out [Fedora Discussion][1]. It is a relatively new place where members of the Fedora Community meet to discuss, ask questions, and interact. Keep reading for more information.
-
-Note that the Fedora Discussion system is mainly aimed at contributors. If you have questions on using Fedora, check out [Ask Fedora][2] (which is being migrated in the future).
-
-![][3]
-
-Fedora Discussion is a forum and discussion site that uses the [Discourse open source discussion platform][4].
-
-There are already several categories useful for Fedora users, including [Desktop][5] (covering Fedora Workstation, Fedora Silverblue, KDE, XFCE, and more) and the [Server, Cloud, and IoT][6] category . Additionally, some of the [Fedora Special Interest Groups (SIGs) have discussions as well][7]. Finally, the [Fedora Friends][8] category helps you connect with other Fedora users and Community members by providing discussions about upcoming meetups and hackfests.
-
-
---------------------------------------------------------------------------------
-
-via: https://fedoramagazine.org/discuss-everything-fedora/
-
-作者:[Ryan Lerch][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fedoramagazine.org/introducing-flatpak/
-[b]: https://github.com/lujun9972
-[1]: https://discussion.fedoraproject.org/
-[2]: https://ask.fedoraproject.org
-[3]: https://fedoramagazine.org/wp-content/uploads/2019/03/discussion-screenshot-1024x663.png
-[4]: https://www.discourse.org/about
-[5]: https://discussion.fedoraproject.org/c/desktop
-[6]: https://discussion.fedoraproject.org/c/server
-[7]: https://discussion.fedoraproject.org/c/sigs
-[8]: https://discussion.fedoraproject.org/c/friends
diff --git a/sources/talk/20190322 How to save time with TiDB.md b/sources/talk/20190322 How to save time with TiDB.md
deleted file mode 100644
index 534c04de1f..0000000000
--- a/sources/talk/20190322 How to save time with TiDB.md
+++ /dev/null
@@ -1,143 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to save time with TiDB)
-[#]: via: (https://opensource.com/article/19/3/how-save-time-tidb)
-[#]: author: (Morgan Tocker https://opensource.com/users/morgo)
-
-How to save time with TiDB
-======
-
-TiDB, an open source-compatible, cloud-based database engine, simplifies many of MySQL database administrators' common tasks.
-
-![Team checklist][1]
-
-Last November, I wrote about key [differences between MySQL and TiDB][2], an open source-compatible, cloud-based database engine, from the perspective of scaling both solutions in the cloud. In this follow-up article, I'll dive deeper into the ways [TiDB][3] streamlines and simplifies administration.
-
-If you come from a MySQL background, you may be used to doing a lot of manual tasks that are either not required or much simpler with TiDB.
-
-The inspiration for TiDB came from the founders managing sharded MySQL at scale at some of China's largest internet companies. Since requirements for operating a large system at scale are a key concern, I'll look at some typical MySQL database administrator (DBA) tasks and how they translate to TiDB.
-
-[![TiDB architecture][4]][5]
-
-In [TiDB's architecture][5]:
-
- * SQL processing is separated from data storage. The SQL processing (TiDB) and storage (TiKV) components independently scale horizontally.
- * PD (Placement Driver) acts as the cluster manager and stores metadata.
- * All components natively provide high availability, with PD and TiKV using the [Raft consensus algorithm][6].
- * You can access your data via either MySQL (TiDB) or Spark (TiSpark) protocols.
-
-
-
-### Adding/fixing replication slaves
-
-**tl;dr:** It doesn't happen in the same way as in MySQL.
-
-Replication and redundancy of data are automatically managed by TiKV. You also don't need to worry about creating initial backups to seed replicas, as _both_ the provisioning and replication are handled for you.
-
-Replication is also quorum-based using the Raft consensus algorithm, so you don't have to worry about the inconsistency problems surrounding failures that you do with asynchronous replication (the default in MySQL and what many users are using).
-
-TiDB does support its own binary log, so it can be used for asynchronous replication between clusters.
-
-### Optimizing slow queries
-
-**tl;dr:** Still happens in TiDB
-
-There is no real way out of optimizing slow queries that have been introduced by development teams.
-
-As a mitigating factor though, if you need to add breathing room to your database's capacity while you work on optimization, the TiDB's architecture allows you to horizontally scale.
-
-### Upgrades and maintenance
-
-**tl;dr:** Still required, but generally easier
-
-Because the TiDB server is stateless, you can roll through an upgrade and deploy new TiDB servers. Then you can remove the older TiDB servers from the load balancer pool, shutting down them once connections have drained.
-
-Upgrading PD is also quite straightforward since only the PD leader actively answers requests at a time. You can perform a rolling upgrade and upgrade PD's non-leader peers one at a time, and then change the leader before upgrading the final PD server.
-
-For TiKV, the upgrade is marginally more complex. If you want to remove a node, I recommend first setting it to be a follower on each of the regions where it is currently a leader. After that, you can bring down the node without impacting your application. If the downtime is brief, TiKV will recover with its regional peers from the Raft log. In a longer downtime, it will need to re-copy data. This can all be managed for you, though, if you choose to deploy using Ansible or Kubernetes.
-
-### Manual sharding
-
-**tl;dr:** Not required
-
-Manual sharding is mainly a pain on the part of the application developers, but as a DBA, you might have to get involved if the sharding is naive or has problems such as hotspots (many workloads do) that require re-balancing.
-
-In TiDB, re-sharding or re-balancing happens automatically in the background. The PD server observes when data regions (TiKV's term for chunks of data in key-value form) get too small, too big, or too frequently accessed.
-
-You can also explicitly configure PD to store regions on certain TiKV servers. This works really well when combined with MySQL partitioning.
-
-### Capacity planning
-
-**tl;dr:** Much easier
-
-Capacity planning on a MySQL database can be a little bit hard because you need to plan your physical infrastructure requirements two to three years from now. As data grows (and the working set changes), this can be a difficult task. I wouldn't say it completely goes away in the cloud either, since changing a master server's hardware is always hard.
-
-TiDB splits data into approximately 100MiB chunks that it distributes among TiKV servers. Because this increment is much smaller than a full server, it's much easier to move around and redistribute data. It's also possible to add new servers in smaller increments, which is easier on planning.
-
-### Scaling
-
-**tl;dr:** Much easier
-
-This is related to capacity planning and sharding. When we talk about scaling, many people think about very large _systems,_ but that is not exclusively how I think of the problem:
-
- * Scaling is being able to start with something very small, without having to make huge investments upfront on the chance it could become very large.
- * Scaling is also a people problem. If a system requires too much internal knowledge to operate, it can become hard to grow as an engineering organization. The barrier to entry for new hires can become very high.
-
-
-
-Thus, by providing automatic sharding, TiDB can scale much easier.
-
-### Schema changes (DDL)
-
-**tl;dr:** Mostly better
-
-The data definition language (DDL) supported in TiDB is all online, which means it doesn't block other reads or writes to the system. It also doesn't block the replication stream.
-
-That's the good news, but there are a couple of limitations to be aware of:
-
- * TiDB does not currently support all DDL operations, such as changing the primary key or some "change data type" operations.
- * TiDB does not currently allow you to chain multiple DDL changes in the same command, e.g., _ALTER TABLE t1 ADD INDEX (x), ADD INDEX (y)_. You will need to break these queries up into individual DDL queries.
-
-
-
-This is an area that we're looking to improve in [TiDB 3.0][7].
-
-### Creating one-off data dumps for the reporting team
-
-**tl;dr:** May not be required
-
-DBAs loathe manual tasks that create one-off exports of data to be consumed by another team, perhaps in an analytics tool or data warehouse.
-
-This is often required when the types of queries that are be executed on the dataset are analytical. TiDB has hybrid transactional/analytical processing (HTAP) capabilities, so in many cases, these queries should work fine. If your analytics team is using Spark, you can also use the [TiSpark][8] connector to allow them to connect directly to TiKV.
-
-This is another area we are improving with [TiFlash][7], a column store accelerator. We are also working on a plugin system to support external authentication. This will make it easier to manage access by the reporting team.
-
-### Conclusion
-
-In this post, I looked at some common MySQL DBA tasks and how they translate to TiDB. If you would like to learn more, check out our [TiDB Academy course][9] designed for MySQL DBAs (it's free!).
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/3/how-save-time-tidb
-
-作者:[Morgan Tocker][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/morgo
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/checklist_todo_clock_time_team.png?itok=1z528Q0y (Team checklist)
-[2]: https://opensource.com/article/18/11/key-differences-between-mysql-and-tidb
-[3]: https://github.com/pingcap/tidb
-[4]: https://opensource.com/sites/default/files/uploads/tidb_architecture.png (TiDB architecture)
-[5]: https://pingcap.com/docs/architecture/
-[6]: https://raft.github.io/
-[7]: https://pingcap.com/blog/tidb-3.0-beta-stability-at-scale/
-[8]: https://github.com/pingcap/tispark
-[9]: https://pingcap.com/tidb-academy/
diff --git a/sources/talk/20190331 Codecademy vs. The BBC Micro.md b/sources/talk/20190331 Codecademy vs. The BBC Micro.md
new file mode 100644
index 0000000000..e4720315cc
--- /dev/null
+++ b/sources/talk/20190331 Codecademy vs. The BBC Micro.md
@@ -0,0 +1,129 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Codecademy vs. The BBC Micro)
+[#]: via: (https://twobithistory.org/2019/03/31/bbc-micro.html)
+[#]: author: (Two-Bit History https://twobithistory.org)
+
+Codecademy vs. The BBC Micro
+======
+
+In the late 1970s, the computer, which for decades had been a mysterious, hulking machine that only did the bidding of corporate overlords, suddenly became something the average person could buy and take home. An enthusiastic minority saw how great this was and rushed to get a computer of their own. For many more people, the arrival of the microcomputer triggered helpless anxiety about the future. An ad from a magazine at the time promised that a home computer would “give your child an unfair advantage in school.” It showed a boy in a smart blazer and tie eagerly raising his hand to answer a question, while behind him his dim-witted classmates look on sullenly. The ad and others like it implied that the world was changing quickly and, if you did not immediately learn how to use one of these intimidating new devices, you and your family would be left behind.
+
+In the UK, this anxiety metastasized into concern at the highest levels of government about the competitiveness of the nation. The 1970s had been, on the whole, an underwhelming decade for Great Britain. Both inflation and unemployment had been high. Meanwhile, a series of strikes put London through blackout after blackout. A government report from 1979 fretted that a failure to keep up with trends in computing technology would “add another factor to our poor industrial performance.”1 The country already seemed to be behind in the computing arena—all the great computer companies were American, while integrated circuits were being assembled in Japan and Taiwan.
+
+In an audacious move, the BBC, a public service broadcaster funded by the government, decided that it would solve Britain’s national competitiveness problems by helping Britons everywhere overcome their aversion to computers. It launched the _Computer Literacy Project_ , a multi-pronged educational effort that involved several TV series, a few books, a network of support groups, and a specially built microcomputer known as the BBC Micro. The project was so successful that, by 1983, an editor for BYTE Magazine wrote, “compared to the US, proportionally more of Britain’s population is interested in microcomputers.”2 The editor marveled that there were more people at the Fifth Personal Computer World Show in the UK than had been to that year’s West Coast Computer Faire. Over a sixth of Great Britain watched an episode in the first series produced for the _Computer Literacy Project_ and 1.5 million BBC Micros were ultimately sold.3
+
+[An archive][1] containing every TV series produced and all the materials published for the _Computer Literacy Project_ was put on the web last year. I’ve had a huge amount of fun watching the TV series and trying to imagine what it would have been like to learn about computing in the early 1980s. But what’s turned out to be more interesting is how computing was _taught_. Today, we still worry about technology leaving people behind. Wealthy tech entrepreneurs and governments spend lots of money trying to teach kids “to code.” We have websites like Codecademy that make use of new technologies to teach coding interactively. One would assume that this approach is more effective than a goofy ’80s TV series. But is it?
+
+### The Computer Literacy Project
+
+The microcomputer revolution began in 1975 with the release of [the Altair 8800][2]. Only two years later, the Apple II, TRS-80, and Commodore PET had all been released. Sales of the new computers exploded. In 1978, the BBC explored the dramatic societal changes these new machines were sure to bring in a documentary called “Now the Chips Are Down.”
+
+The documentary was alarming. Within the first five minutes, the narrator explains that microelectronics will “totally revolutionize our way of life.” As eerie synthesizer music plays, and green pulses of electricity dance around a magnified microprocessor on screen, the narrator argues that the new chips are why “Japan is abandoning its ship building, and why our children will grow up without jobs to go to.” The documentary goes on to explore how robots are being used to automate car assembly and how the European watch industry has lost out to digital watch manufacturers in the United States. It castigates the British government for not doing more to prepare the country for a future of mass unemployment.
+
+The documentary was supposedly shown to the British Cabinet.4 Several government agencies, including the Department of Industry and the Manpower Services Commission, became interested in trying to raise awareness about computers among the British public. The Manpower Services Commission provided funds for a team from the BBC’s education division to travel to Japan, the United States, and other countries on a fact-finding trip. This research team produced a report that cataloged the ways in which microelectronics would indeed mean major changes for industrial manufacturing, labor relations, and office work. In late 1979, it was decided that the BBC should make a ten-part TV series that would help regular Britons “learn how to use and control computers and not feel dominated by them.”5 The project eventually became a multimedia endeavor similar to the _Adult Literacy Project_ , an earlier BBC undertaking involving both a TV series and supplemental courses that helped two million people improve their reading.
+
+The producers behind the _Computer Literacy Project_ were keen for the TV series to feature “hands-on” examples that viewers could try on their own if they had a microcomputer at home. These examples would have to be in BASIC, since that was the language (really the entire shell) used on almost all microcomputers. But the producers faced a thorny problem: Microcomputer manufacturers all had their own dialects of BASIC, so no matter which dialect they picked, they would inevitably alienate some large fraction of their audience. The only real solution was to create a new BASIC—BBC BASIC—and a microcomputer to go along with it. Members of the British public would be able to buy the new microcomputer and follow along without worrying about differences in software or hardware.
+
+The TV producers and presenters at the BBC were not capable of building a microcomputer on their own. So they put together a specification for the computer they had in mind and invited British microcomputer companies to propose a new machine that met the requirements. The specification called for a relatively powerful computer because the BBC producers felt that the machine should be able to run real, useful applications. Technical consultants for the _Computer Literacy Project_ also suggested that, if it had to be a BASIC dialect that was going to be taught to the entire nation, then it had better be a good one. (They may not have phrased it exactly that way, but I bet that’s what they were thinking.) BBC BASIC would make up for some of BASIC’s usual shortcomings by allowing for recursion and local variables.6
+
+The BBC eventually decided that a Cambridge-based company called Acorn Computers would make the BBC Micro. In choosing Acorn, the BBC passed over a proposal from Clive Sinclair, who ran a company called Sinclair Research. Sinclair Research had brought mass-market microcomputing to the UK in 1980 with the Sinclair ZX80. Sinclair’s new computer, the ZX81, was cheap but not powerful enough for the BBC’s purposes. Acorn’s new prototype computer, known internally as the Proton, would be more expensive but more powerful and expandable. The BBC was impressed. The Proton was never marketed or sold as the Proton because it was instead released in December 1981 as the BBC Micro, also affectionately called “The Beeb.” You could get a 16k version for £235 and a 32k version for £335.
+
+In 1980, Acorn was an underdog in the British computing industry. But the BBC Micro helped establish the company’s legacy. Today, the world’s most popular microprocessor instruction set is the ARM architecture. “ARM” now stands for “Advanced RISC Machine,” but originally it stood for “Acorn RISC Machine.” ARM Holdings, the company behind the architecture, was spun out from Acorn in 1990.
+
+![Picture of the BBC Micro.][3] _A bad picture of a BBC Micro, taken by me at the Computer History Museum
+in Mountain View, California._
+
+### The Computer Programme
+
+A dozen different TV series were eventually produced as part of the _Computer Literacy Project_ , but the first of them was a ten-part series known as _The Computer Programme_. The series was broadcast over ten weeks at the beginning of 1982. A million people watched each week-night broadcast of the show; a quarter million watched the reruns on Sunday and Monday afternoon.
+
+The show was hosted by two presenters, Chris Serle and Ian McNaught-Davis. Serle plays the neophyte while McNaught-Davis, who had professional experience programming mainframe computers, plays the expert. This was an inspired setup. It made for [awkward transitions][4]—Serle often goes directly from a conversation with McNaught-Davis to a bit of walk-and-talk narration delivered to the camera, and you can’t help but wonder whether McNaught-Davis is still standing there out of frame or what. But it meant that Serle could voice the concerns that the audience would surely have. He can look intimidated by a screenful of BASIC and can ask questions like, “What do all these dollar signs mean?” At several points during the show, Serle and McNaught-Davis sit down in front of a computer and essentially pair program, with McNaught-Davis providing hints here and there while Serle tries to figure it out. It would have been much less relatable if the show had been presented by a single, all-knowing narrator.
+
+The show also made an effort to demonstrate the many practical applications of computing in the lives of regular people. By the early 1980s, the home computer had already begun to be associated with young boys and video games. The producers behind _The Computer Programme_ sought to avoid interviewing “impressively competent youngsters,” as that was likely “to increase the anxieties of older viewers,” a demographic that the show was trying to attract to computing.7 In the first episode of the series, Gill Nevill, the show’s “on location” reporter, interviews a woman that has bought a Commodore PET to help manage her sweet shop. The woman (her name is Phyllis) looks to be 60-something years old, yet she has no trouble using the computer to do her accounting and has even started using her PET to do computer work for other businesses, which sounds like the beginning of a promising freelance career. Phyllis says that she wouldn’t mind if the computer work grew to replace her sweet shop business since she enjoys the computer work more. This interview could instead have been an interview with a teenager about how he had modified _Breakout_ to be faster and more challenging. But that would have been encouraging to almost nobody. On the other hand, if Phyllis, of all people, can use a computer, then surely you can too.
+
+While the show features lots of BASIC programming, what it really wants to teach its audience is how computing works in general. The show explains these general principles with analogies. In the second episode, there is an extended discussion of the Jacquard loom, which accomplishes two things. First, it illustrates that computers are not based only on magical technology invented yesterday—some of the foundational principles of computing go back two hundred years and are about as simple as the idea that you can punch holes in card to control a weaving machine. Second, the interlacing of warp and weft threads is used to demonstrate how a binary choice (does the weft thread go above or below the warp thread?) is enough, when repeated over and over, to produce enormous variation. This segues, of course, into a discussion of how information can be stored using binary digits.
+
+Later in the show there is a section about a steam organ that plays music encoded in a long, segmented roll of punched card. This time the analogy is used to explain subroutines in BASIC. Serle and McNaught-Davis lay out the whole roll of punched card on the floor in the studio, then point out the segments where it looks like a refrain is being repeated. McNaught-Davis explains that a subroutine is what you would get if you cut out those repeated segments of card and somehow added an instruction to go back to the original segment that played the refrain for the first time. This is a brilliant explanation and probably one that stuck around in people’s minds for a long time afterward.
+
+I’ve picked out only a few examples, but I think in general the show excels at demystifying computers by explaining the principles that computers rely on to function. The show could instead have focused on teaching BASIC, but it did not. This, it turns out, was very much a conscious choice. In a retrospective written in 1983, John Radcliffe, the executive producer of the _Computer Literacy Project_ , wrote the following:
+
+> If computers were going to be as important as we believed, some genuine understanding of this new subject would be important for everyone, almost as important perhaps as the capacity to read and write. Early ideas, both here and in America, had concentrated on programming as the main route to computer literacy. However, as our thinking progressed, although we recognized the value of “hands-on” experience on personal micros, we began to place less emphasis on programming and more on wider understanding, on relating micros to larger machines, encouraging people to gain experience with a range of applications programs and high-level languages, and relating these to experience in the real world of industry and commerce…. Our belief was that once people had grasped these principles, at their simplest, they would be able to move further forward into the subject.
+
+Later, Radcliffe writes, in a similar vein:
+
+> There had been much debate about the main explanatory thrust of the series. One school of thought had argued that it was particularly important for the programmes to give advice on the practical details of learning to use a micro. But we had concluded that if the series was to have any sustained educational value, it had to be a way into the real world of computing, through an explanation of computing principles. This would need to be achieved by a combination of studio demonstration on micros, explanation of principles by analogy, and illustration on film of real-life examples of practical applications. Not only micros, but mini computers and mainframes would be shown.
+
+I love this, particularly the part about mini-computers and mainframes. The producers behind _The Computer Programme_ aimed to help Britons get situated: Where had computing been, and where was it going? What can computers do now, and what might they do in the future? Learning some BASIC was part of answering those questions, but knowing BASIC alone was not seen as enough to make someone computer literate.
+
+### Computer Literacy Today
+
+If you google “learn to code,” the first result you see is a link to Codecademy’s website. If there is a modern equivalent to the _Computer Literacy Project_ , something with the same reach and similar aims, then it is Codecademy.
+
+“Learn to code” is Codecademy’s tagline. I don’t think I’m the first person to point this out—in fact, I probably read this somewhere and I’m now ripping it off—but there’s something revealing about using the word “code” instead of “program.” It suggests that the important thing you are learning is how to decode the code, how to look at a screen’s worth of Python and not have your eyes glaze over. I can understand why to the average person this seems like the main hurdle to becoming a professional programmer. Professional programmers spend all day looking at computer monitors covered in gobbledygook, so, if I want to become a professional programmer, I better make sure I can decipher the gobbledygook. But dealing with syntax is not the most challenging part of being a programmer, and it quickly becomes almost irrelevant in the face of much bigger obstacles. Also, armed only with knowledge of a programming language’s syntax, you may be able to _read_ code but you won’t be able to _write_ code to solve a novel problem.
+
+I recently went through Codecademy’s “Code Foundations” course, which is the course that the site recommends you take if you are interested in programming (as opposed to web development or data science) and have never done any programming before. There are a few lessons in there about the history of computer science, but they are perfunctory and poorly researched. (Thank heavens for [this noble internet vigilante][5], who pointed out a particularly egregious error.) The main focus of the course is teaching you about the common structural elements of programming languages: variables, functions, control flow, loops. In other words, the course focuses on what you would need to know to start seeing patterns in the gobbledygook.
+
+To be fair to Codecademy, they offer other courses that look meatier. But even courses such as their “Computer Science Path” course focus almost exclusively on programming and concepts that can be represented in programs. One might argue that this is the whole point—Codecademy’s main feature is that it gives you little interactive programming lessons with automated feedback. There also just isn’t enough room to cover more because there is only so much you can stuff into somebody’s brain in a little automated lesson. But the producers at the BBC tasked with kicking off the _Computer Literacy Project_ also had this problem; they recognized that they were limited by their medium and that “the amount of learning that would take place as a result of the television programmes themselves would be limited.”8 With similar constraints on the volume of information they could convey, they chose to emphasize general principles over learning BASIC. Couldn’t Codecademy replace a lesson or two with an interactive visualization of a Jacquard loom weaving together warp and weft threads?
+
+I’m banging the drum for “general principles” loudly now, so let me just explain what I think they are and why they are important. There’s a book by J. Clark Scott about computers called _But How Do It Know?_ The title comes from the anecdote that opens the book. A salesman is explaining to a group of people that a thermos can keep hot food hot and cold food cold. A member of the audience, astounded by this new invention, asks, “But how do it know?” The joke of course is that the thermos is not perceiving the temperature of the food and then making a decision—the thermos is just constructed so that cold food inevitably stays cold and hot food inevitably stays hot. People anthropomorphize computers in the same way, believing that computers are digital brains that somehow “choose” to do one thing or another based on the code they are fed. But learning a few things about how computers work, even at a rudimentary level, takes the homunculus out of the machine. That’s why the Jacquard loom is such a good go-to illustration. It may at first seem like an incredible device. It reads punch cards and somehow “knows” to weave the right pattern! The reality is mundane: Each row of holes corresponds to a thread, and where there is a hole in that row the corresponding thread gets lifted. Understanding this may not help you do anything new with computers, but it will give you the confidence that you are not dealing with something magical. We should impart this sense of confidence to beginners as soon as we can.
+
+Alas, it’s possible that the real problem is that nobody wants to learn about the Jacquard loom. Judging by how Codecademy emphasizes the professional applications of what it teaches, many people probably start using Codecademy because they believe it will help them “level up” their careers. They believe, not unreasonably, that the primary challenge will be understanding the gobbledygook, so they want to “learn to code.” And they want to do it as quickly as possible, in the hour or two they have each night between dinner and collapsing into bed. Codecademy, which after all is a business, gives these people what they are looking for—not some roundabout explanation involving a machine invented in the 18th century.
+
+The _Computer Literacy Project_ , on the other hand, is what a bunch of producers and civil servants at the BBC thought would be the best way to educate the nation about computing. I admit that it is a bit elitist to suggest we should laud this group of people for teaching the masses what they were incapable of seeking out on their own. But I can’t help but think they got it right. Lots of people first learned about computing using a BBC Micro, and many of these people went on to become successful software developers or game designers. [As I’ve written before][6], I suspect learning about computing at a time when computers were relatively simple was a huge advantage. But perhaps another advantage these people had is shows like _The Computer Programme_ , which strove to teach not just programming but also how and why computers can run programs at all. After watching _The Computer Programme_ , you may not understand all the gobbledygook on a computer screen, but you don’t really need to because you know that, whatever the “code” looks like, the computer is always doing the same basic thing. After a course or two on Codecademy, you understand some flavors of gobbledygook, but to you a computer is just a magical machine that somehow turns gobbledygook into running software. That isn’t computer literacy.
+
+_If you enjoyed this post, more like it come out every four weeks! Follow[@TwoBitHistory][7] on Twitter or subscribe to the [RSS feed][8] to make sure you know when a new post is out._
+
+_Previously on TwoBitHistory…_
+
+> FINALLY some new damn content, amirite?
+>
+> Wanted to write an article about how Simula bought us object-oriented programming. It did that, but early Simula also flirted with a different vision for how OOP would work. Wrote about that instead!
+>
+> — TwoBitHistory (@TwoBitHistory) [February 1, 2019][9]
+
+ 1. Robert Albury and David Allen, Microelectronics, report (1979). ↩
+
+ 2. Gregg Williams, “Microcomputing, British Style”, Byte Magazine, 40, January 1983, accessed on March 31, 2019, . ↩
+
+ 3. John Radcliffe, “Toward Computer Literacy,” Computer Literacy Project Achive, 42, accessed March 31, 2019, [https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/media/Towards Computer Literacy.pdf][10]. ↩
+
+ 4. David Allen, “About the Computer Literacy Project,” Computer Literacy Project Archive, accessed March 31, 2019, . ↩
+
+ 5. ibid. ↩
+
+ 6. Williams, 51. ↩
+
+ 7. Radcliffe, 11. ↩
+
+ 8. Radcliffe, 5. ↩
+
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://twobithistory.org/2019/03/31/bbc-micro.html
+
+作者:[Two-Bit History][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://twobithistory.org
+[b]: https://github.com/lujun9972
+[1]: https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/
+[2]: /2018/07/22/dawn-of-the-microcomputer.html
+[3]: /images/beeb.jpg
+[4]: https://twitter.com/TwoBitHistory/status/1112372000742404098
+[5]: https://twitter.com/TwoBitHistory/status/1111305774939234304
+[6]: /2018/09/02/learning-basic.html
+[7]: https://twitter.com/TwoBitHistory
+[8]: https://twobithistory.org/feed.xml
+[9]: https://twitter.com/TwoBitHistory/status/1091148050221944832?ref_src=twsrc%5Etfw
+[10]: https://computer-literacy-project.pilots.bbcconnectedstudio.co.uk/media/Towards%20Computer%20Literacy.pdf
diff --git a/sources/talk/20190410 Google partners with Intel, HPE and Lenovo for hybrid cloud.md b/sources/talk/20190410 Google partners with Intel, HPE and Lenovo for hybrid cloud.md
deleted file mode 100644
index 5603086a53..0000000000
--- a/sources/talk/20190410 Google partners with Intel, HPE and Lenovo for hybrid cloud.md
+++ /dev/null
@@ -1,60 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Google partners with Intel, HPE and Lenovo for hybrid cloud)
-[#]: via: (https://www.networkworld.com/article/3388062/google-partners-with-intel-hpe-and-lenovo-for-hybrid-cloud.html#tk.rss_all)
-[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
-
-Google partners with Intel, HPE and Lenovo for hybrid cloud
-======
-Google boosted its on-premises and cloud connections with Kubernetes and serverless computing.
-![Ilze Lucero \(CC0\)][1]
-
-Still struggling to get its Google Cloud business out of single-digit marketshare, Google this week introduced new partnerships with Lenovo and Intel to help bolster its hybrid cloud offerings, both built on Google’s Kubernetes container technology.
-
-At Google’s Next ’19 show this week, Intel and Google said they will collaborate on Google's Anthos, a new reference design based on the second-Generation Xeon Scalable processor introduced last week and an optimized Kubernetes software stack designed to deliver increased workload portability between public and private cloud environments.
-
-**[ Read also:[What hybrid cloud means in practice][2] | Get regularly scheduled insights: [Sign up for Network World newsletters][3] ]**
-
-As part the Anthos announcement, Hewlett Packard Enterprise (HPE) said it has validated Anthos on its ProLiant servers, while Lenovo has done the same for its ThinkAgile platform. This solution will enable customers to get a consistent Kubernetes experience between Google Cloud and their on-premises HPE or Lenovo servers. No official word from Dell yet, but they can’t be far behind.
-
-Users will be able to manage their Kubernetes clusters and enforce policy consistently across environments – either in the public cloud or on-premises. In addition, Anthos delivers a fully integrated stack of hardened components, including OS and container runtimes that are tested and validated by Google, so customers can upgrade their clusters with confidence and minimize downtime.
-
-### What is Google Anthos?
-
-Google formally introduced [Anthos][4] at this year’s show. Anthos, formerly Cloud Services Platform, is meant to allow users to run their containerized applications without spending time on building, managing, and operating Kubernetes clusters. It runs both on Google Cloud Platform (GCP) with Google Kubernetes Engine (GKE) and in your data center with GKE On-Prem. Anthos will also let you manage workloads running on third-party clouds such as Amazon Web Services (AWS) and Microsoft Azure.
-
-Google also announced the beta release of Anthos Migrate, which auto-migrates virtual machines (VM) from on-premises or other clouds directly into containers in GKE with minimal effort. This allows enterprises to migrate their infrastructure in one streamlined motion, without upfront modifications to the original VMs or applications.
-
-Intel said it will publish the production design as an Intel Select Solution, as well as a developer platform, making it available to anyone who wants it.
-
-### Serverless environments
-
-Google isn’t stopping with Kubernetes containers, it’s also pushing ahead with serverless environments. [Cloud Run][5] is Google’s implementation of serverless computing, which is something of a misnomer. You still run your apps on servers; you just aren’t using a dedicated physical server. It is stateless, so resources are not allocated until you actually run or use the application.
-
-Cloud Run is a fully serverless offering that takes care of all infrastructure management, including the provisioning, configuring, scaling, and managing of servers. It automatically scales up or down within seconds, even down to zero depending on traffic, ensuring you pay only for the resources you actually use. Cloud Run can be used on GKE, offering the option to run side by side with other workloads deployed in the same cluster.
-
-Join the Network World communities on [Facebook][6] and [LinkedIn][7] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3388062/google-partners-with-intel-hpe-and-lenovo-for-hybrid-cloud.html#tk.rss_all
-
-作者:[Andy Patrizio][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Andy-Patrizio/
-[b]: https://github.com/lujun9972
-[1]: https://images.idgesg.net/images/article/2018/03/cubes_blocks_squares_containers_ilze_lucero_cc0_via_unsplash_1200x800-100752172-large.jpg
-[2]: https://www.networkworld.com/article/3249495/what-hybrid-cloud-mean-practice
-[3]: https://www.networkworld.com/newsletters/signup.html
-[4]: https://cloud.google.com/blog/topics/hybrid-cloud/new-platform-for-managing-applications-in-todays-multi-cloud-world
-[5]: https://cloud.google.com/blog/products/serverless/announcing-cloud-run-the-newest-member-of-our-serverless-compute-stack
-[6]: https://www.facebook.com/NetworkWorld/
-[7]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190410 HPE and Nutanix partner for hyperconverged private cloud systems.md b/sources/talk/20190410 HPE and Nutanix partner for hyperconverged private cloud systems.md
deleted file mode 100644
index 76f908c68b..0000000000
--- a/sources/talk/20190410 HPE and Nutanix partner for hyperconverged private cloud systems.md
+++ /dev/null
@@ -1,60 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (HPE and Nutanix partner for hyperconverged private cloud systems)
-[#]: via: (https://www.networkworld.com/article/3388297/hpe-and-nutanix-partner-for-hyperconverged-private-cloud-systems.html#tk.rss_all)
-[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
-
-HPE and Nutanix partner for hyperconverged private cloud systems
-======
-Both companies will sell HP ProLiant appliances with Nutanix software but to different markets.
-![Hewlett Packard Enterprise][1]
-
-Hewlett Packard Enterprise (HPE) has partnered with Nutanix to offer Nutanix’s hyperconverged infrastructure (HCI) software available as a managed private cloud service and on HPE-branded appliances.
-
-As part of the deal, the two companies will be competing against each other in hardware sales, sort of. If you want the consumption model you get through HPE’s GreenLake, where your usage is metered and you pay for only the time you use it (similar to the cloud), then you would get the ProLiant hardware from HPE.
-
-If you want an appliance model where you buy the hardware outright, like in the traditional sense of server sales, you would get the same ProLiant through Nutanix.
-
-**[ Read also:[What is hybrid cloud computing?][2] and [Multicloud mania: what to know][3] ]**
-
-As it is, HPE GreenLake offers multiple cloud offerings to customers, including virtualization courtesy of VMware and Microsoft. With the Nutanix partnership, HPE is adding Nutanix’s free Acropolis hypervisor to its offerings.
-
-“Customers get to choose an alternative to VMware with this,” said Pradeep Kumar, senior vice president and general manager of HPE’s Pointnext consultancy. “They like the Acropolis license model, since it’s license-free. Then they have choice points so pricing is competitive. Some like VMware, and I think it’s our job to offer them both and they can pick and choose.”
-
-Kumar added that the whole Nutanix stack is 15 to 18% less with Acropolis than a VMware-powered system, since they save on the hypervisor.
-
-The HPE-Nutanix partnership offers a fully managed hybrid cloud infrastructure delivered as a service and deployed in customers’ data centers or co-location facility. The managed private cloud service gives enterprises a hyperconverged environment in-house without having to manage the infrastructure themselves and, more importantly, without the burden of ownership. GreenLake operates more like a lease than ownership.
-
-### HPE GreenLake's private cloud services promise to significantly reduce costs
-
-HPE is pushing hard on GreenLake, which basically mimics cloud platform pricing models of paying for what you use rather than outright ownership. Kumar said HPE projects the consumption model will account for 30% of HPE’s business in the next few years.
-
-GreenLake makes some hefty promises. According to Nutanix-commissioned IDC research, customers will achieve a 60% reduction in the five-year cost of operations, while a HPE-commissioned Forrester report found customers benefit from a 30% Capex savings due to eliminated need for overprovisioning and a 90% reduction in support and professional services costs.
-
-By shifting to an IT as a Service model, HPE claims to provide a 40% increase in productivity by reducing the support load on IT operations staff and to shorten the time to deploy IT projects by 65%.
-
-The two new offerings from the partnership – HPE GreenLake’s private cloud service running Nutanix software and the HPE-branded appliances integrated with Nutanix software – are expected to be available during the 2019 third quarter, the companies said.
-
-Join the Network World communities on [Facebook][4] and [LinkedIn][5] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3388297/hpe-and-nutanix-partner-for-hyperconverged-private-cloud-systems.html#tk.rss_all
-
-作者:[Andy Patrizio][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Andy-Patrizio/
-[b]: https://github.com/lujun9972
-[1]: https://images.techhive.com/images/article/2015/11/hpe_building-100625424-large.jpg
-[2]: https://www.networkworld.com/article/3233132/cloud-computing/what-is-hybrid-cloud-computing.html
-[3]: https://www.networkworld.com/article/3252775/hybrid-cloud/multicloud-mania-what-to-know.html
-[4]: https://www.facebook.com/NetworkWorld/
-[5]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190417 Cisco Talos details exceptionally dangerous DNS hijacking attack.md b/sources/talk/20190417 Cisco Talos details exceptionally dangerous DNS hijacking attack.md
new file mode 100644
index 0000000000..db534e4457
--- /dev/null
+++ b/sources/talk/20190417 Cisco Talos details exceptionally dangerous DNS hijacking attack.md
@@ -0,0 +1,130 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco Talos details exceptionally dangerous DNS hijacking attack)
+[#]: via: (https://www.networkworld.com/article/3389747/cisco-talos-details-exceptionally-dangerous-dns-hijacking-attack.html#tk.rss_all)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco Talos details exceptionally dangerous DNS hijacking attack
+======
+Cisco Talos says state-sponsored attackers are battering DNS to gain access to sensitive networks and systems
+![Peshkova / Getty][1]
+
+Security experts at Cisco Talos have released a [report detailing][2] what it calls the “first known case of a domain name registry organization that was compromised for cyber espionage operations.”
+
+Talos calls ongoing cyber threat campaign “Sea Turtle” and said that state-sponsored attackers are abusing DNS to harvest credentials to gain access to sensitive networks and systems in a way that victims are unable to detect, which displays unique knowledge on how to manipulate DNS, Talos stated.
+
+**More about DNS:**
+
+ * [DNS in the cloud: Why and why not][3]
+ * [DNS over HTTPS seeks to make internet use more private][4]
+ * [How to protect your infrastructure from DNS cache poisoning][5]
+ * [ICANN housecleaning revokes old DNS security key][6]
+
+
+
+By obtaining control of victims’ DNS, the attackers can change or falsify any data on the Internet, illicitly modify DNS name records to point users to actor-controlled servers; users visiting those sites would never know, Talos reported.
+
+DNS, routinely known as the Internet’s phonebook, is part of the global internet infrastructure that translates between familiar names and the numbers computers need to access a website or send an email.
+
+### Threat to DNS could spread
+
+At this point Talos says Sea Turtle isn't compromising organizations in the U.S.
+
+“While this incident is limited to targeting primarily national security organizations in the Middle East and North Africa, and we do not want to overstate the consequences of this specific campaign, we are concerned that the success of this operation will lead to actors more broadly attacking the global DNS system,” Talos stated.
+
+Talos reports that the ongoing operation likely began as early as January 2017 and has continued through the first quarter of 2019. “Our investigation revealed that approximately 40 different organizations across 13 different countries were compromised during this campaign,” Talos stated. “We assess with high confidence that this activity is being carried out by an advanced, state-sponsored actor that seeks to obtain persistent access to sensitive networks and systems.”
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][7] ]**
+
+Talos says the attackers directing the Sea Turtle campaign show signs of being highly sophisticated and have continued their attacks despite public reports of their activities. In most cases, threat actors typically stop or slow down their activities once their campaigns are publicly revealed suggesting the Sea Turtle actors are unusually brazen and may be difficult to deter going forward, Talos stated.
+
+In January the Department of Homeland Security (DHS) [issued an alert][8] about this activity, warning that an attacker could redirect user traffic and obtain valid encryption certificates for an organization’s domain names.
+
+At that time the DHS’s [Cybersecurity and Infrastructure Security Agency][9] said in its [Emergency Directive][9] that it was tracking a series of incidents targeting DNS infrastructure. CISA wrote that it “is aware of multiple executive branch agency domains that were impacted by the tampering campaign and has notified the agencies that maintain them.”
+
+### DNS hijacking
+
+CISA said that attackers have managed to intercept and redirect web and mail traffic and could target other networked services. The agency said the attacks start with compromising user credentials of an account that can make changes to DNS records. Then the attacker alters DNS records, like Address, Mail Exchanger, or Name Server records, replacing the legitimate address of the services with an address the attacker controls.
+
+To achieve their nefarious goals, Talos stated the Sea Turtle accomplices:
+
+ * Use DNS hijacking through the use of actor-controlled name servers.
+ * Are aggressive in their pursuit targeting DNS registries and a number of registrars, including those that manage country-code top-level domains (ccTLD).
+
+
+ * Use Let’s Encrypts, Comodo, Sectigo, and self-signed certificates in their man-in-the-middle (MitM) servers to gain the initial round of credentials.
+
+
+ * Steal victim organization’s legitimate SSL certificate and use it on actor-controlled servers.
+
+
+
+Such actions also distinguish Sea Turtle from an earlier DNS exploit known as DNSpionage, which [Talos reported][10] on in November 2018.
+
+Talos noted “with high confidence” that these operations are distinctly different and independent from the operations performed by [DNSpionage.][11]
+
+In that report, Talos said a DNSpionage campaign utilized two fake, malicious websites containing job postings that were used to compromise targets via malicious Microsoft Office documents with embedded macros. The malware supported HTTP and DNS communication with the attackers.
+
+In a separate DNSpionage campaign, the attackers used the same IP address to redirect the DNS of legitimate .gov and private company domains. During each DNS compromise, the actor carefully generated Let's Encrypt certificates for the redirected domains. These certificates provide X.509 certificates for [Transport Layer Security (TLS)][12] free of charge to the user, Talos said.
+
+The Sea Turtle campaign gained initial access either by exploiting known vulnerabilities or by sending spear-phishing emails. Talos said it believes the attackers have exploited multiple known common vulnerabilities and exposures (CVEs) to either gain initial access or to move laterally within an affected organization. Talos research further shows the following known exploits of Sea Turtle include:
+
+ * CVE-2009-1151: PHP code injection vulnerability affecting phpMyAdmin
+ * CVE-2014-6271: RCE affecting GNU bash system, specifically the SMTP (this was part of the Shellshock CVEs)
+ * CVE-2017-3881: RCE by unauthenticated user with elevated privileges Cisco switches
+ * CVE-2017-6736: Remote Code Exploit (RCE) for Cisco integrated Service Router 2811
+ * CVE-2017-12617: RCE affecting Apache web servers running Tomcat
+ * CVE-2018-0296: Directory traversal allowing unauthorized access to Cisco Adaptive Security Appliances (ASAs) and firewalls
+ * CVE-2018-7600: RCE for Website built with Drupal, aka “Drupalgeddon”
+
+
+
+“As with any initial access involving a sophisticated actor, we believe this list of CVEs to be incomplete,” Talos stated. “The actor in question can leverage known vulnerabilities as they encounter a new threat surface. This list only represents the observed behavior of the actor, not their complete capabilities.”
+
+Talos says that the Sea Turtle campaign continues to be highly successful for several reasons. “First, the actors employ a unique approach to gain access to the targeted networks. Most traditional security products such as IDS and IPS systems are not designed to monitor and log DNS requests,” Talos stated. “The threat actors were able to achieve this level of success because the DNS domain space system added security into the equation as an afterthought. Had more ccTLDs implemented security features such as registrar locks, attackers would be unable to redirect the targeted domains.”
+
+Talos said the attackers also used previously undisclosed techniques such as certificate impersonation. “This technique was successful in part because the SSL certificates were created to provide confidentiality, not integrity. The attackers stole organizations’ SSL certificates associated with security appliances such as [Cisco's Adaptive Security Appliance] to obtain VPN credentials, allowing the actors to gain access to the targeted network, and have long-term persistent access, Talos stated.
+
+### Cisco Talos DNS attack mitigation strategy
+
+To protect against Sea Turtle, Cisco recommends:
+
+ * Use a registry lock service, which will require an out-of-band message before any changes can occur to an organization's DNS record.
+ * If your registrar does not offer a registry-lock service, Talos recommends implementing multi-factor authentication, such as DUO, to access your organization's DNS records.
+ * If you suspect you were targeted by this type of intrusion, Talos recommends instituting a network-wide password reset, preferably from a computer on a trusted network.
+ * Apply patches, especially on internet-facing machines. Network administrators can monitor passive DNS records on their domains to check for abnormalities.
+
+
+
+Join the Network World communities on [Facebook][13] and [LinkedIn][14] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3389747/cisco-talos-details-exceptionally-dangerous-dns-hijacking-attack.html#tk.rss_all
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/man-in-boat-surrounded-by-sharks_risk_fear_decision_attack_threat_by-peshkova-getty-100786972-large.jpg
+[2]: https://blog.talosintelligence.com/2019/04/seaturtle.html
+[3]: https://www.networkworld.com/article/3273891/hybrid-cloud/dns-in-the-cloud-why-and-why-not.html
+[4]: https://www.networkworld.com/article/3322023/internet/dns-over-https-seeks-to-make-internet-use-more-private.html
+[5]: https://www.networkworld.com/article/3298160/internet/how-to-protect-your-infrastructure-from-dns-cache-poisoning.html
+[6]: https://www.networkworld.com/article/3331606/security/icann-housecleaning-revokes-old-dns-security-key.html
+[7]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[8]: https://www.networkworld.com/article/3336201/batten-down-the-dns-hatches-as-attackers-strike-feds.html
+[9]: https://cyber.dhs.gov/ed/19-01/
+[10]: https://blog.talosintelligence.com/2018/11/dnspionage-campaign-targets-middle-east.html
+[11]: https://krebsonsecurity.com/tag/dnspionage/
+[12]: https://www.networkworld.com/article/2303073/lan-wan-what-is-transport-layer-security-protocol.html
+[13]: https://www.facebook.com/NetworkWorld/
+[14]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190417 Clearing up confusion between edge and cloud.md b/sources/talk/20190417 Clearing up confusion between edge and cloud.md
new file mode 100644
index 0000000000..722051e8a7
--- /dev/null
+++ b/sources/talk/20190417 Clearing up confusion between edge and cloud.md
@@ -0,0 +1,69 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Clearing up confusion between edge and cloud)
+[#]: via: (https://www.networkworld.com/article/3389364/clearing-up-confusion-between-edge-and-cloud.html#tk.rss_all)
+[#]: author: (Anne Taylor https://www.networkworld.com/author/Anne-Taylor/)
+
+Clearing up confusion between edge and cloud
+======
+The benefits of edge computing are not just hype; however, that doesn’t mean you should throw cloud computing initiatives to the wind.
+![iStock][1]
+
+Edge computing and cloud computing are sometimes discussed as if they’re mutually exclusive approaches to network infrastructure. While they may function in different ways, utilizing one does not preclude the use of the other.
+
+Indeed, [Futurum Research][2] found that, among companies that have deployed edge projects, only 15% intend to separate these efforts from their cloud computing initiatives — largely for security or compartmentalization reasons.
+
+So then, what’s the difference, and how do edge and cloud work together?
+
+**Location, location, location**
+
+Moving data and processing to the cloud, as opposed to on-premises data centers, has enabled the business to move faster, more efficiently, less expensively — and in many cases, more securely.
+
+Yet cloud computing is not without challenges, particularly:
+
+ * Users will abandon a graphics-heavy website if it doesn’t load quickly. So, imagine the lag for compute-heavy processing associated artificial intelligence or machine learning functions.
+
+ * The strength of network connectivity is crucial for large data sets. As enterprises increasingly generate data, particularly with the adoption of Internet of Things (IoT), traditional cloud connections will be insufficient.
+
+
+
+
+To make up for the lack of speed and connectivity with cloud, processing for mission-critical applications will need to occur closer to the data source. Maybe that’s a robot on the factory floor, digital signage at a retail store, or an MRI machine in a hospital. That’s edge computing, which reduces the distance the data must travel and thereby boosts the performance and reliability of applications and services.
+
+**One doesn’t supersede the other**
+
+That said, the benefits gained by edge computing don’t negate the need for cloud. In many cases, IT will now become a decision-maker in terms of best usage for each. For example, edge might make sense for devices running processing-power-hungry apps such as IoT, artificial intelligence, and machine learning. And cloud will work for apps where time isn’t necessarily of the essence, like inventory or big-data projects.
+
+> “By being able to triage the types of data processing on the edge versus that heading to the cloud, we can keep both systems running smoothly – keeping our customers and employees safe and happy,” [writes Daniel Newman][3], principal analyst for Futurum Research.
+
+And in reality, edge will require cloud. “To enable digital transformation, you have to build out the edge computing side and connect it with the cloud,” [Tony Antoun][4], senior vice president of edge and digital at GE Digital, told _Automation World_. “It’s a journey from the edge to the cloud and back, and the cycle keeps continuing. You need both to enrich and boost the business and take advantage of different points within this virtual lifecycle.”
+
+**Ensuring resiliency of cloud and edge**
+
+Both edge and cloud computing require careful consideration to the underlying processing power. Connectivity and availability, no matter the application, are always critical measures.
+
+But especially for the edge, it will be important to have a resilient architecture. Companies should focus on ensuring security, redundancy, connectivity, and remote management capabilities.
+
+Discover how your edge and cloud computing environments can coexist at [APC.com][5].
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3389364/clearing-up-confusion-between-edge-and-cloud.html#tk.rss_all
+
+作者:[Anne Taylor][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Anne-Taylor/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/istock-612507606-100793995-large.jpg
+[2]: https://futurumresearch.com/edge-computing-from-edge-to-enterprise/
+[3]: https://futurumresearch.com/edge-computing-data-centers/
+[4]: https://www.automationworld.com/article/technologies/cloud-computing/its-not-edge-vs-cloud-its-both
+[5]: https://www.apc.com/us/en/solutions/business-solutions/edge-computing.jsp
diff --git a/sources/talk/20190417 Startup MemVerge combines DRAM and Optane into massive memory pool.md b/sources/talk/20190417 Startup MemVerge combines DRAM and Optane into massive memory pool.md
new file mode 100644
index 0000000000..71ddf70826
--- /dev/null
+++ b/sources/talk/20190417 Startup MemVerge combines DRAM and Optane into massive memory pool.md
@@ -0,0 +1,58 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Startup MemVerge combines DRAM and Optane into massive memory pool)
+[#]: via: (https://www.networkworld.com/article/3389358/startup-memverge-combines-dram-and-optane-into-massive-memory-pool.html#tk.rss_all)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Startup MemVerge combines DRAM and Optane into massive memory pool
+======
+MemVerge bridges two technologies that are already a bridge.
+![monsitj / Getty Images][1]
+
+A startup called MemVerge has announced software to combine regular DRAM with Intel’s Optane DIMM persistent memory into a single clustered storage pool and without requiring any changes to applications.
+
+MemVerge has been working with Intel in developing this new hardware platform for close to two years. It offers what it calls a Memory-Converged Infrastructure (MCI) to allow existing apps to use Optane DC persistent memory. It's architected to integrate seamlessly with existing applications.
+
+**[ Read also:[Mass data fragmentation requires a storage rethink][2] ]**
+
+Optane memory is designed to sit between high-speed memory and [solid-state drives][3] (SSDs) and acts as a cache for the SSD, since it has speed comparable to DRAM but SSD persistence. With Intel’s new Xeon Scalable processors, this can make up to 4.5TB of memory available to a processor.
+
+Optane runs in one of two modes: Memory Mode and App Direct Mode. In Memory Mode, the Optane memory functions like regular memory and is not persistent. In App Direct Mode, it functions as the SSD cache but apps don’t natively support it. They need to be tweaked to function properly in Optane memory.
+
+As it was explained to me, apps aren’t designed for persistent storage because the data is already in memory on powerup rather than having to load it from storage. So, the app has to know memory doesn’t go away and that it does not need to shuffle data back and forth between storage and memory. Therefore, apps natively don’t work in persistent memory.
+
+### Why didn't Intel think of this?
+
+All of which really begs a question I can’t get answered, at least not immediately: Why didn’t Intel think of this when it created Optane in the first place?
+
+MemVerge has what it calls Distributed Memory Objects (DMO) hypervisor technology to provide a logical convergence layer to run data-intensive workloads at memory speed with guaranteed data consistency across multiple systems. This allows Optane memory to process and derive insights from the enormous amounts of data in real time.
+
+That’s because MemVerge’s technology makes random access as fast as sequential access. Normally, random access is slower than sequential because of all the jumping around with random access vs. reading one sequential file. But MemVerge can handle many small files as fast as it handles one large file.
+
+MemVerge itself is actually software, with a single API for both DRAM and Optane. It’s also available via a hyperconverged server appliance that comes with 2 Cascade Lake processors, up to 512 GB DRAM, 6TB of Optane memory, and 360TB of NVMe physical storage capacity.
+
+However, all of this is still vapor. MemVerge doesn’t expect to ship a beta product until at least June.
+
+Join the Network World communities on [Facebook][4] and [LinkedIn][5] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3389358/startup-memverge-combines-dram-and-optane-into-massive-memory-pool.html#tk.rss_all
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/big_data_center_server_racks_storage_binary_analytics_by_monsitj_gettyimages-951389152_3x2-100787358-large.jpg
+[2]: https://www.networkworld.com/article/3323580/mass-data-fragmentation-requires-a-storage-rethink.html
+[3]: https://www.networkworld.com/article/3326058/what-is-an-ssd.html
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190417 Want to the know future of IoT- Ask the developers.md b/sources/talk/20190417 Want to the know future of IoT- Ask the developers.md
new file mode 100644
index 0000000000..4f96f34b2b
--- /dev/null
+++ b/sources/talk/20190417 Want to the know future of IoT- Ask the developers.md
@@ -0,0 +1,119 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Want to the know future of IoT? Ask the developers!)
+[#]: via: (https://www.networkworld.com/article/3389877/want-to-the-know-future-of-iot-ask-the-developers.html#tk.rss_all)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+Want to the know future of IoT? Ask the developers!
+======
+A new survey of IoT developers reveals that connectivity, performance, and standards are growing areas of concern as IoT projects hit production.
+![Avgust01 / Getty Images][1]
+
+It may be a cliché that software developers rule the world, but if you want to know the future of an important technology, it pays to look at what the developers are doing. With that in mind, there are some real, on-the-ground insights for the entire internet of things (IoT) community to be gained in a new [survey of more than 1,700 IoT developers][2] (pdf) conducted by the [Eclipse Foundation][3].
+
+### IoT connectivity concerns
+
+Perhaps not surprisingly, security topped the list of concerns, easily outpacing other IoT worries. But that's where things begin to get interesting. More than a fifth (21%) of IoT developers cited connectivity as a challenge, followed by data collection and analysis (19%), performance (18%), privacy (18%), and standards (16%).
+
+Connectivity rose to second place after being the number three IoT concern for developers last year. Worries over security and data collection and analysis, meanwhile, actually declined slightly year over year. (Concerns over performance, privacy, and standards also increased significantly from last year.)
+
+**[ Learn more:[Download a PDF bundle of five essential articles about IoT in the enterprise][4] ]**
+
+“If you look at the list of developers’ top concerns with IoT in the survey,” said [Mike Milinkovich][5], executive director of the Eclipse Foundation via email, “I think connectivity, performance, and standards stand out — those are speaking to the fact that the IoT projects are getting real, that they’re getting out of sandboxes and into production.”
+
+“With connectivity in IoT,” Milinkovich continued, “everything seems straightforward until you have a sensor in a corner somewhere — narrowband or broadband — and physical constraints make it hard to connect."
+
+He also cited a proliferation of incompatible technologies that is driving developer concerns over connectivity.
+
+![][6]
+
+### IoT standards and interoperability
+
+Milinkovich also addressed one of [my personal IoT bugaboos: interoperability][7]. “Standards is a proxy for interoperability” among products from different vendors, he explained, which is an “elusive goal” in industrial IoT (IIoT).
+
+**[[Learn Java from beginning concepts to advanced design patterns in this comprehensive 12-part course!][8] ]**
+
+“IIoT is about breaking down the proprietary silos and re-tooling the infrastructure that’s been in our factories and logistics for many years using OSS standards and implementations — standard sets of protocols as opposed to vendor-specific protocols,” he said.
+
+That becomes a big issue when you’re deploying applications in the field and different manufacturers are using different protocols or non-standard extensions to existing protocols and the machines can’t talk to each other.
+
+**[ Also read:[Interoperability is the key to IoT success][7] ]**
+
+“This ties back to the requirement of not just having open standards, but more robust implementations of those standards in open source stacks,” Milinkovich said. “To keep maturing, the market needs not just standards, but out-of-the-box interoperability between devices.”
+
+“Performance is another production-grade concern,” he said. “When you’re in development, you think you know the bottlenecks, but then you discover the real-world issues when you push to production.”
+
+### Cloudy developments for IoT
+
+The survey also revealed that in some ways, IoT is very much aligned with the larger technology community. For example, IoT use of public and hybrid cloud architectures continues to grow. Amazon Web Services (AWS) (34%), Microsoft Azure (23%), and Google Cloud Platform (20%) are the leading IoT cloud providers, just as they are throughout the industry. If anything, AWS’ lead may be smaller in the IoT space than it is in other areas, though reliable cloud-provider market share figures are notoriously hard to come by.
+
+But Milinkovich sees industrial IoT as “a massive opportunity for hybrid cloud” because many industrial IoT users are very concerned about minimizing latency with their factory data, what he calls “their gold.” He sees factories moving towards hybrid cloud environments, leveraging “modern infrastructure technology like Kubernetes, and building around open protocols like HTTP and MQTT while getting rid of the older proprietary protocols.”
+
+### How IoT development is different
+
+In some ways, the IoT development world doesn’t seem much different than wider software development. For example, the top IoT programming languages mirror [the popularity of those languages][9] over all, with C and Java ruling the roost. (C led the way on constrained devices, while Java was the top choice for gateway and edge nodes, as well as the IoT cloud.)
+
+![][10]
+
+But Milinkovich noted that when developing for embedded or constrained devices, the programmer’s interface to a device could be through any number of esoteric hardware connectors.
+
+“You’re doing development using emulators and simulators, and it’s an inherently different and more complex interaction between your dev environment and the target for your application,” he said. “Sometimes hardware and software are developed in tandem, which makes it even more complicated.”
+
+For example, he explained, building an IoT solution may bring in web developers working on front ends using JavaScript and Angular, while backend cloud developers control cloud infrastructure and embedded developers focus on building software to run on constrained devices.
+
+No wonder IoT developers have so many things to worry about.
+
+**More about IoT:**
+
+ * [What is the IoT? How the internet of things works][11]
+ * [What is edge computing and how it’s changing the network][12]
+ * [Most powerful Internet of Things companies][13]
+ * [10 Hot IoT startups to watch][14]
+ * [The 6 ways to make money in IoT][15]
+ * [What is digital twin technology? [and why it matters]][16]
+ * [Blockchain, service-centric networking key to IoT success][17]
+ * [Getting grounded in IoT networking and security][4]
+ * [Building IoT-ready networks must become a priority][18]
+ * [What is the Industrial IoT? [And why the stakes are so high]][19]
+
+
+
+Join the Network World communities on [Facebook][20] and [LinkedIn][21] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3389877/want-to-the-know-future-of-iot-ask-the-developers.html#tk.rss_all
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/iot_internet_of_things_mobile_connections_by_avgust01_gettyimages-1055659210_2400x1600-100788447-large.jpg
+[2]: https://drive.google.com/file/d/17WEobD5Etfw5JnoKC1g4IME_XCtPNGGc/view
+[3]: https://www.eclipse.org/
+[4]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[5]: https://blogs.eclipse.org/post/mike-milinkovich/measuring-industrial-iot%E2%80%99s-evolution
+[6]: https://images.idgesg.net/images/article/2019/04/top-developer-concerns-2019-eclipse-foundation-100793974-large.jpg
+[7]: https://www.networkworld.com/article/3204529/interoperability-is-the-key-to-iot-success.html
+[8]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fjava
+[9]: https://blog.newrelic.com/technology/popular-programming-languages-2018/
+[10]: https://images.idgesg.net/images/article/2019/04/top-iot-programming-languages-eclipse-foundation-100793973-large.jpg
+[11]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[12]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[13]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[14]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[15]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[16]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[17]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[18]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[19]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[20]: https://www.facebook.com/NetworkWorld/
+[21]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190418 -Fiber-in-air- 5G network research gets funding.md b/sources/talk/20190418 -Fiber-in-air- 5G network research gets funding.md
new file mode 100644
index 0000000000..4a82248cde
--- /dev/null
+++ b/sources/talk/20190418 -Fiber-in-air- 5G network research gets funding.md
@@ -0,0 +1,64 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: ('Fiber-in-air' 5G network research gets funding)
+[#]: via: (https://www.networkworld.com/article/3389881/extreme-5g-network-research-gets-funding.html#tk.rss_all)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+'Fiber-in-air' 5G network research gets funding
+======
+A consortium of tech companies and universities plan to aggressively investigate the exploitation of D-Band to develop a new variant of 5G infrastructure.
+![Peshkova / Getty Images][1]
+
+Wireless transmission at data rates of around 45gbps could one day be commonplace, some engineers say. “Fiber-in-air” is how the latest variant of 5G infrastructure is being described. To get there, a Britain-funded consortium of chip makers, universities, and others intend to aggressively investigate the exploitation of D-Band. That part of the radio spectrum is at 151-174.8 GHz in millimeter wavelengths (mm-wave) and hasn’t been used before.
+
+The researchers intend to do it by riffing on a now roughly 70-year-old gun-like electron-sending device that can trace its roots back through the annals of radio history: The Traveling Wave Tube, or TWT, an electron gun-magnet-combo that was used in the development of television and still brings space images back to Earth.
+
+**[ Also read:[The time of 5G is almost here][2] ]**
+
+D-Band, the spectrum the researchers want to use, has the advantage that it’s wide, so theoretically it should be good for fast, copious data rates. The problem with it though, and the reason it hasn’t thus far been used, is that it’s subject to monkey-wrenching from atmospheric conditions such as rain, explains IQE, a semiconductor wafer and materials producer involved in the project, in a [press release][3]. The team says attenuation is fixable, though. Their solution is the now-aging TWTs.
+
+The group, which includes BT, Filtronic, Glasgow University, Intel, Nokia Bell Labs, Optocap, and Teledyne e2v, has secured funding of the equivalent of $1.12 million USD from the U.K.’s [Engineering and Physical Sciences Research Council (EPSRC)][4]. That’s the principal public funding body for engineering science research there.
+
+### Tapping the power of TWTs
+
+The DLINK system, as the team calls it, will use a high-power vacuum TWT with a special, newly developed tunneling diode and a modulator. Two bands of 10 GHz, each will deliver the throughput, [explains Lancaster University on its website][5]. The tubes are, in fact, special amplifiers that produce 10 Watts. That’s 10 times what an equivalent solid-state solution would likely produce at the same spot in the band, they say. Energy is basically sent from the electron beam to an electric field generated by the input signal.
+
+Despite TWTs being around for eons, “no D-band TWTs are available in the market.” The development of one is key to these fiber-in-air speeds, the researchers say.
+
+They will include “unprecedented data rate and transmission distance,” IQE writes.
+
+The TWT device, although used extensively in space wireless communications since its invention in the 1950s, is overlooked as a significant contributor to global communications systems, say a group of French researchers working separately from this project, who recently argue that TWTs should be given more recognition.
+
+TWT’s are “the unsung heroes of space exploration,” the Aix-Marseille Université researchers say in [an article on publisher Springer’s website][6]. Springer is promoting the group's 2019-published [paper][7] in the European Physical Journal H in which they delve into the history of the simple electron gun and magnet device.
+
+“Its role in the history of wireless communications and in the space conquest is significant, but largely ignored,” they write in their paper.
+
+They will be pleased to hear it maybe isn’t going away anytime soon.
+
+Join the Network World communities on [Facebook][8] and [LinkedIn][9] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3389881/extreme-5g-network-research-gets-funding.html#tk.rss_all
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/abstract_data_coding_matrix_structure_network_connections_by_peshkova_gettyimages-897683944_2400x1600-100788487-large.jpg
+[2]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[3]: https://www.iqep.com/media/2019/03/iqe-partners-in-key-wireless-communications-project-for-5g-infrastructure-(1)/
+[4]: https://epsrc.ukri.org/
+[5]: http://wp.lancs.ac.uk/dlink/
+[6]: https://www.springer.com/gp/about-springer/media/research-news/all-english-research-news/traveling-wave-tubes--the-unsung-heroes-of-space-exploration/16578434
+[7]: https://link.springer.com/article/10.1140%2Fepjh%2Fe2018-90023-1
+[8]: https://www.facebook.com/NetworkWorld/
+[9]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190423 Open architecture and open source - The new wave for SD-WAN.md b/sources/talk/20190423 Open architecture and open source - The new wave for SD-WAN.md
new file mode 100644
index 0000000000..8be9e14ada
--- /dev/null
+++ b/sources/talk/20190423 Open architecture and open source - The new wave for SD-WAN.md
@@ -0,0 +1,186 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Open architecture and open source – The new wave for SD-WAN?)
+[#]: via: (https://www.networkworld.com/article/3390151/open-architecture-and-open-source-the-new-wave-for-sd-wan.html#tk.rss_all)
+[#]: author: (Matt Conran https://www.networkworld.com/author/Matt-Conran/)
+
+Open architecture and open source – The new wave for SD-WAN?
+======
+As networking continues to evolve, you certainly don't want to break out a forklift every time new technologies are introduced. Open architecture would allow you to replace the components of a system, and give you more flexibility to control your own networking destiny.
+![opensource.com \(CC BY-SA 2.0\)][1]
+
+I recently shared my thoughts about the [role of open source in networking][2]. I discussed two significant technological changes that we have witnessed. I call them waves, and these waves will redefine how we think about networking and security.
+
+The first wave signifies that networking is moving to the software so that it can run on commodity off-the-shelf hardware. The second wave is the use of open source technologies, thereby removing the barriers to entry for new product innovation and rapid market access. This is especially supported in the SD-WAN market rush.
+
+Seemingly, we are beginning to see less investment in hardware unless there is a specific segment that needs to be resolved. But generally, software-based platforms are preferred as they bring many advantages. It is evident that there has been a technology shift. We have moved networking from hardware to software and this shift has positive effects for users, enterprises and service providers.
+
+**[ Don’t miss[customer reviews of top remote access tools][3] and see [the most powerful IoT companies][4] . | Get daily insights by [signing up for Network World newsletters][5]. ]**
+
+### Performance (hardware vs software)
+
+There has always been a misconception that the hardware-based platforms are faster due to the hardware acceleration that exists in the network interface controller (NIC). However, this is a mistaken belief. Nowadays, software platforms can reach similar performance levels as compared to hardware-based platforms.
+
+Initially, people viewed hardware as a performance-based vehicle but today this does not hold true anymore. Even the bigger vendors are switching to software-based platforms. We are beginning to see this almost everywhere in networking.
+
+### SD-WAN and open source
+
+SD-WAN really took off quite rapidly due to the availability of open source. It enabled the vendors to leverage all the available open source components and then create their solution on top. By and large, SD-WAN vendors used the open source as the foundation of their solution and then added additional proprietary code over the baseline.
+
+However, even when using various open source components, there is still a lot of work left for these vendors to make it to a complete SD-WAN solution, even for reaching a baseline of centrally managed routers with flexible network architecture control, not to talk about complete feature set of SD-WAN.
+
+The result of the work done by these vendors is still closed products so the fact they are using open source components in their products is merely a time-to-market advantage but not a big benefit to the end users (enterprises) or service providers launching hosted services with these products. They are still limited in flexibility and vendor diversity is only achieved through a multi-vendor strategy which in practice means launching multiple silo services each based on a different SD-WAN vendor without real selection of the technologies that make each of the SD-WAN services they launch.
+
+I recently came across a company called [Flexiwan][6], their goal is to fundamentally change this limitation of SD-WAN by offering a full open source solution that, as they say, “includes integration points in the core of the system that allow for 3rd party logic to be integrated in an efficient way.” They call this an open architecture, which, in practical terms, means a service provider or enterprise can integrate his own application logic into the core of the SD-WAN router…or select best of breed sub-technologies or applications instead of having these dictated by the vendor himself. I believe there is the possibility of another wave of SD-WAN with a fully open source and open architecture to SD-WAN.
+
+This type of architecture brings many benefits to users, enterprises and service providers, especially when compared to the typical lock-in of bigger vendors, such as Cisco and VMware.
+
+With an open source open architecture, it’s easier to control the versions and extend more flexibility by using the software offered by different providers. It offers the ability to switch providers, not to mention being easier to install and upgrade the versions.
+
+### SD-WAN, open source and open architecture
+
+An SD-WAN solution that is an open source with open architecture provides a modular and decomposed type of SD-WAN. This enables the selection of elements to provide a solution.
+
+For example, enterprises and service providers can select the best-of-breed technologies from independent vendors, such as deep packet inspection (DPI), security, wide area network (WAN) optimization, session border controller (SBC), VoIP and other traffic specific optimization logic.
+
+Some SD-WAN vendors define an open architecture in such a way that they just have a set of APIs, for example, northbound APIs, to enable one to build management or do service chaining. This is one approach to an open architecture but in fact, it’s pretty limited since it does not bring the full benefits that an open architecture should offer.
+
+### Open source and the fear of hacking
+
+However, when I think about an open source and open architecture for SD-WAN, the first thing that comes to mind is bad actors. What about the code? If it’s an open source, the bad actor can find vulnerabilities, right?
+
+The community is a powerful force and will fix any vulnerability. Also with open source, the vendor, who is the one responsible for the open source component will fix the vulnerability much faster than a closed solution, where you are unaware of the vulnerability until a fix is released.
+
+### The SD-WAN evolution
+
+Before we go any further, let’s examine the history of SD-WAN and its origins, how we used to connect from the wide area network (WAN) to other branches via private or public links.
+
+SD-WAN offers the ability to connect your organization to a WAN. This could be connecting to the Internet or other branches, to optimally deliver applications with a good user-experience. Essentially, SD-WAN allows the organizations to design the architecture of their network dynamically by means of software.
+
+### In the beginning, there was IPSec
+
+It started with IPSec. Around two decades back, in 1995, the popular design was that of mesh architecture. As a result, we had a lot of point-to-point connections. Firstly, mesh architectures with IPSec VPNs are tiresome to manage as there is a potential for 100s of virtual private network (VPN) configurations.
+
+Authentically, IPSec started with two fundamental goals. The first was the tunneling protocol that would allow organizations to connect the users or other networks to their private network. This enabled the enterprises to connect to networks that they did not have a direct route to.
+
+The second goal of IPSec was to encrypt packets at the network layer and therefore securing the data in motion. Let’s face it: at that time, IPSec was terrible for complicated multi-site interconnectivity and high availability designs. If left to its defaults, IPSec is best suited for static designs.
+
+This was the reason why we had to step in the next era where additional functionality was added to IPSec. For example, IPSec had issues in supporting routing protocols using multicast. To overcome this, IPSec over generic routing encapsulation (GRE) was introduced.
+
+### The next era of SD-WAN
+
+During the journey to 2008, one could argue that the next era of WAN connectivity was when additional features were added to IPSec. At this time IPSec became known as a “Swiss army knife.” It could do many things but not anything really well.
+
+Back then, you could create multiple links, but it failed to select the traffic over these links other than by using simple routing. You needed to add a routing protocol. For advanced agile architectures, IPSec had to be incorporated with other higher-level protocols.
+
+Features were then added based on measuring the quality. Link quality features were added to analyze any delay, drops and to select alternative links for your applications. We began to add tunnels, multi-links and to select the traffic based on the priority, not just based on the routing.
+
+The most common way to the tunnel was to have IPSec over GRE. You have the GRE tunnel that enables you to send any protocol end-to-end by using IPSec for the encryption. All this functionality was added to achieve and create dynamic tunnels over IPSec and to optimize the IPSec tunnels.
+
+This was a move in the right direction, but it was still complex. It was not centrally managed and was error-prone with complex configurations that were unable to manage large deployments. IPSec had far too many limitations, so in the mid-2000s early SD-WAN vendors started cropping up. Some of these vendors enabled the enterprises to aggregate many separate digital subscriber lines (DSL) links into one faster logical link. At the same time, others added time stamps and/or sequence numbers to packets to improve the network performance and security when running over best effort (internet) links.
+
+International WAN connectivity was a popular focus since the cost delta between the Internet and private multiprotocol label switching (MPLS) was 10x+ different. Primarily, enterprises wanted the network performance and security of MPLS without having to pay a premium for it.
+
+Most of these solutions sat in-front or behind a traditional router from companies like Cisco. Evidently, just like WAN Optimization vendors, these were additional boxes/solutions that enterprises added to their networks.
+
+### The next era of SD-WAN, circa 2012
+
+It was somewhere in 2012 that we started to see the big rush to the SD-WAN market. Vendors such as Velocloud, Viptela and a lot of the other big players in the SD-WAN market kicked off with the objective of claiming some of the early SD-WAN success and going after the edge router market with a full feature router replacement and management simplicity.
+
+Open source networking software and other open source components for managing the traffic enabled these early SD-WAN vendors to lay a foundation where a lot of the code base was open source. They would then “glue” it together and add their own additional features.
+
+Around this time, Intel was driving data plane development kit (DPDK) and advanced encryption standard (AES) instruction set, which enabled that software to run on commodity hardware. The SD-WAN solutions were delivered as closed solutions where each solution used its own set of features. The features and technologies chosen for each vendor were different and not compatible with each other.
+
+### The recent era of SD-WAN, circa 2017
+
+A tipping point in 2017 was the gold rush for SD-WAN deployments. Everyone wanted to have SD-WAN as fast as possible.
+
+The SD-WAN market has taken off, as seen by 50 vendors with competing, proprietary solutions and market growth curves with a CAGR of 100%. There is a trend of big vendors like Cisco, Vmware and Oracle acquiring startups to compete in this new market.
+
+As a result, Cisco, which is the traditional enterprise market leader in WAN routing solutions felt threatened since its IWAN solution, which had been around since 2008, was too complex (a 900-page configuration and operations manual). Besides, its simple solution based on the Meraki acquisition was not feature-rich enough for the large enterprises.
+
+With their acquisition of Viptela, Cisco currently has a 13% of the market share, and for the first time in decades, it is not the market leader. The large cloud vendors, such as Google and Facebook are utilizing their own technology for routing within their very large private networks.
+
+At some point between 2012 and 2017, we witnessed the service providers adopting SD-WAN. This introduced the onset and movement of managed SD-WAN services. As a result, the service providers wanted to have SD-WAN on the menu for their customers. But there were many limitations in the SD-WAN market, as it was offered as a closed-box solution, giving the service providers limited control.
+
+At this point surfaced an expectation of change, as service providers and enterprises looked for more control. Customers can get better functionality from a multi-vendor approach than from a single vendor.
+
+### Don’t forget DIY SD-WAN
+
+Up to 60% of service providers and enterprises within the USA are now looking at DIY SD-WAN. A DIY SD-WAN solution is not where the many pieces of open source are taken and caste into something. The utmost focus is on the solution that can be self-managed but buy from a vendor.
+
+Today, the majority of the market is looking for managed solutions and the upper section that has the expertise wants to be equipped with more control options.
+
+### SD-WAN vendors attempting everything
+
+There is a trend that some vendors try to do everything with SD-WAN. As a result, whether you are an enterprise or a service provider, you are locked into a solution that is dictated by the SD-WAN vendor.
+
+The SD-WAN vendors have made the supplier choice or developed what they think is relevant. Evidently, some vendors are using stacks and software development kits (SDKs) that they purchased, for example, for deep packet inspection (DPI).
+
+Ultimately, you are locked into a specific solution that the vendor has chosen for you. If you are a service provider, you might disapprove of this limitation and if you are an enterprise with specific expertise, you might want to zoom in for more control.
+
+### All-in-one security vendors
+
+Many SD-WAN vendors promote themselves as security companies. But would you prefer to buy a security solution from an SD-WAN vendor or from an experienced vendor, such as Checkpoint?
+
+Both: enterprise and service providers want to have a choice, but with an integrated black box security solution, you don't have a choice. The more you integrate and throw into the same box, the stronger the vendor lock-in is and the weaker the flexibility.
+
+Essentially, with this approach, you are going for the lowest common denominator instead of the highest. Ideally, the technology of the services that you deploy on your network requires expertise. One vendor cannot be an expert in everything.
+
+An open architecture lies in a place for experts in different areas to join together and add their own specialist functionality.
+
+### Encrypted traffic
+
+As a matter of fact, what is not encrypted today will be encrypted tomorrow. The vendor of the application can perform intelligent things that the SD-WAN vendor cannot because they control both sides. Hence, if you can put something inside the SD-WAN edge device, they can make smart decisions even if the traffic is encrypted.
+
+But in the case of traditional SD-WANs, there needs to be a corporation with a content provider. However, with an open architecture, you can integrate anything, and nothing prevents the integration. A lot of traffic is encrypted and it's harder to manage encrypted traffic. However, an open architecture would allow the content providers to manage the traffic more effectively.
+
+### 2019 and beyond: what is an open architecture?
+
+Cloud providers and enterprises have discovered that 90% of the user experience and security problems arise due to the network: between where the cloud provider resides and where the end-user consumes the application.
+
+Therefore, both cloud providers and large enterprise with digital strategies are focusing on building their solutions based on open source stacks. Having a viable open source SD-WAN solution is the next step in the SD-WAN evolution, where it moves to involve the community in the solution. This is similar to what happens with containers and tools.
+
+Now, since we’re in 2019, are we going to witness a new era of SD-WAN? Are we moving to the open architecture with an open source SD-WAN solution? An open architecture should be the core of the SD-WAN infrastructure, where additional technologies are integrated inside the SD-WAN solution and not only complementary VNFs. There is an interface and native APIs that allow you to integrate logic into the router. This way, the router will be able to intercept and act according to the traffic.
+
+So, if I’m a service provider and have my own application, I would want to write logic that would be able to communicate with my application. Without an open architecture, the service providers can’t really offer differentiation and change the way SD-WAN makes decisions and interacts with the traffic of their applications.
+
+There is a list of various technologies that you need to be an expert in to be able to integrate. And each one of these technologies can be a company, for example, DPI, VoIP optimization, and network monitoring to name a few. An open architecture will allow you to pick and choose these various elements as per your requirements.
+
+Networking is going through a lot of changes and it will continue to evolve with the passage of time. As a result, you wouldn’t want something that forces you to break out a forklift each time new technologies are introduced. Primarily, open architecture allows you to replace the components of the system and add code or elements that handle specific traffic and applications.
+
+### Open source
+
+Open source gives you more flexibility to control your own destiny. It offers the ability to select your own services that you want to be applied to your system. It provides security in the sense that if something happens to the vendor or there is a vulnerability in the system, you know that you are backed by the community that can fix such misadventures.
+
+From the perspective of the business model, it makes a more flexible and cost-effective system. Besides, with open source, the total cost of ownership will also be lower.
+
+**This article is published as part of the IDG Contributor Network.[Want to Join?][7]**
+
+Join the Network World communities on [Facebook][8] and [LinkedIn][9] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3390151/open-architecture-and-open-source-the-new-wave-for-sd-wan.html#tk.rss_all
+
+作者:[Matt Conran][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Matt-Conran/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2017/03/6554314981_7f95641814_o-100714680-large.jpg
+[2]: https://www.networkworld.com/article/3338143/the-role-of-open-source-in-networking.html
+[3]: https://www.networkworld.com/article/3262145/lan-wan/customer-reviews-top-remote-access-tools.html#nww-fsb
+[4]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html#nww-fsb
+[5]: https://www.networkworld.com/newsletters/signup.html#nww-fsb
+[6]: https://flexiwan.com/sd-wan-open-source/
+[7]: /contributor-network/signup.html
+[8]: https://www.facebook.com/NetworkWorld/
+[9]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190424 Cisco- DNSpionage attack adds new tools, morphs tactics.md b/sources/talk/20190424 Cisco- DNSpionage attack adds new tools, morphs tactics.md
new file mode 100644
index 0000000000..e202384558
--- /dev/null
+++ b/sources/talk/20190424 Cisco- DNSpionage attack adds new tools, morphs tactics.md
@@ -0,0 +1,97 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco: DNSpionage attack adds new tools, morphs tactics)
+[#]: via: (https://www.networkworld.com/article/3390666/cisco-dnspionage-attack-adds-new-tools-morphs-tactics.html#tk.rss_all)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco: DNSpionage attack adds new tools, morphs tactics
+======
+Cisco's Talos security group says DNSpionage tools have been upgraded to be more stealthy
+![Calvin Dexter / Getty Images][1]
+
+The group behind the Domain Name System attacks known as DNSpionage have upped their dark actions with new tools and malware to focus their attacks and better hide their activities.
+
+Cisco Talos security researchers, who discovered [DNSpionage][2] in November, this week warned of new exploits and capabilities of the nefarious campaign.
+
+**More about DNS:**
+
+ * [DNS in the cloud: Why and why not][3]
+ * [DNS over HTTPS seeks to make internet use more private][4]
+ * [How to protect your infrastructure from DNS cache poisoning][5]
+ * [ICANN housecleaning revokes old DNS security key][6]
+
+
+
+“The threat actor's ongoing development of DNSpionage malware shows that the attacker continues to find new ways to avoid detection. DNS tunneling is a popular method of exfiltration for some actors and recent examples of DNSpionage show that we must ensure DNS is monitored as closely as an organization's normal proxy or weblogs,” [Talos wrote][7]. “DNS is essentially the phonebook of the internet, and when it is tampered with, it becomes difficult for anyone to discern whether what they are seeing online is legitimate.”
+
+In Talos’ initial report, researchers said a DNSpionage campaign targeted various businesses in the Middle East as well as United Arab Emirates government domains. It also utilized two malicious websites containing job postings that were used to compromise targets via crafted Microsoft Office documents with embedded macros. The malware supported HTTP and DNS communication with the attackers.
+
+In a separate DNSpionage campaign, the attackers used the same IP address to redirect the DNS of legitimate .gov and private company domains. During each DNS compromise, the actor carefully generated “Let's Encrypt” certificates for the redirected domains. These certificates provide X.509 certificates for [Transport Layer Security (TLS)][8] free of charge to the user, Talos said.
+
+This week Cisco said DNSpionage actors have created a new remote administrative tool that supports HTTP and DNS communication with the attackers' command and control (C2).
+
+“In our previous post concerning DNSpionage, we showed that the malware author used malicious macros embedded in a Microsoft Word document. In the new sample from Lebanon identified at the end of February, the attacker used an Excel document with a similar macro.”
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][9] ]**
+
+Talos wrote: “The malware supports HTTP and DNS communication to the C2 server. The HTTP communication is hidden in the comments in the HTML code. This time, however, the C2 server mimics the GitHub platform instead of Wikipedia. While the DNS communication follows the same method we described in our previous article, the developer added some new features in this latest version and, this time, the actor removed the debug mode.”
+
+Talos added that the domain used for the C2 campaign is “bizarre.”
+
+“The previous version of DNSpionage attempted to use legitimate-looking domains in an attempt to remain undetected. However, this newer version uses the domain ‘coldfart[.]com,’ which would be easier to spot than other APT campaigns which generally try to blend in with traffic more suitable to enterprise environments. The domain was also hosted in the U.S., which is unusual for any espionage-style attack.”
+
+Talos researchers said they discovered that DNSpionage added a reconnaissance phase, that ensures the payload is being dropped on specific targets rather than indiscriminately downloaded on every machine.
+
+This level of attack also returns information about the workstation environment, including platform-specific information, the name of the domain and the local computer, and information concerning the operating system, Talos wrote. This information is key to helping the malware select the victims only and attempts to avoid researchers or sandboxes. Again, it shows the actor's improved abilities, as they now fingerprint the victim.
+
+This new tactic indicates an improved level of sophistication and is likely in response to the significant amount of public interest in the campaign.
+
+Talos noted that there have been several other public reports of DNSpionage attacks, and in January, the U.S. Department of Homeland Security issued an [alert][10] warning users about this threat activity.
+
+“In addition to increased reports of threat activity, we have also discovered new evidence that the threat actors behind the DNSpionage campaign continue to change their tactics, likely in an attempt to improve the efficacy of their operations,” Talos stated.
+
+In April, Cisco Talos identified an undocumented malware developed in .NET. On the analyzed samples, the malware author left two different internal names in plain text: "DropperBackdoor" and "Karkoff."
+
+“The malware is lightweight compared to other malware due to its small size and allows remote code execution from the C2 server. There is no obfuscation and the code can be easily disassembled,” Talos wrote.
+
+The Karkoff malware searches for two specific anti-virus platforms: Avira and Avast and will work around them.
+
+“The discovery of Karkoff also shows the actor is pivoting and is increasingly attempting to avoid detection while remaining very focused on the Middle Eastern region,” Talos wrote.
+
+Talos distinguished DNSpionage from another DNS attack method, “[Sea Turtle][11]”, it detailed this month. Sea Turtle involves state-sponsored attackers that are abusing DNS to target organizations and harvest credentials to gain access to sensitive networks and systems in a way that victims are unable to detect. This displays unique knowledge about how to manipulate DNS, Talos stated.
+
+By obtaining control of victims’ DNS, attackers can change or falsify any data victims receive from the Internet, illicitly modify DNS name records to point users to actor-controlled servers and users visiting those sites would never know, Talos reported.
+
+“While this incident is limited to targeting primarily national security organizations in the Middle East and North Africa, and we do not want to overstate the consequences of this specific campaign, we are concerned that the success of this operation will lead to actors more broadly attacking the global DNS system,” Talos stated about Sea Turtle.
+
+Join the Network World communities on [Facebook][12] and [LinkedIn][13] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3390666/cisco-dnspionage-attack-adds-new-tools-morphs-tactics.html#tk.rss_all
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/cyber_attack_threat_danger_breach_hack_security_by_calvindexter_gettyimages-860363294_2400x800-100788395-large.jpg
+[2]: https://blog.talosintelligence.com/2018/11/dnspionage-campaign-targets-middle-east.html
+[3]: https://www.networkworld.com/article/3273891/hybrid-cloud/dns-in-the-cloud-why-and-why-not.html
+[4]: https://www.networkworld.com/article/3322023/internet/dns-over-https-seeks-to-make-internet-use-more-private.html
+[5]: https://www.networkworld.com/article/3298160/internet/how-to-protect-your-infrastructure-from-dns-cache-poisoning.html
+[6]: https://www.networkworld.com/article/3331606/security/icann-housecleaning-revokes-old-dns-security-key.html
+[7]: https://blog.talosintelligence.com/2019/04/dnspionage-brings-out-karkoff.html
+[8]: https://www.networkworld.com/article/2303073/lan-wan-what-is-transport-layer-security-protocol.html
+[9]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[10]: https://www.us-cert.gov/ncas/alerts/AA19-024A
+[11]: https://www.networkworld.com/article/3389747/cisco-talos-details-exceptionally-dangerous-dns-hijacking-attack.html
+[12]: https://www.facebook.com/NetworkWorld/
+[13]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190424 How data storage will shift to blockchain.md b/sources/talk/20190424 How data storage will shift to blockchain.md
new file mode 100644
index 0000000000..b31653e0f7
--- /dev/null
+++ b/sources/talk/20190424 How data storage will shift to blockchain.md
@@ -0,0 +1,70 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (How data storage will shift to blockchain)
+[#]: via: (https://www.networkworld.com/article/3390722/how-data-storage-will-shift-to-blockchain.html#tk.rss_all)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+How data storage will shift to blockchain
+======
+Move over cloud and traditional in-house enterprise data center storage, distributed storage based on blockchain may be arriving imminently.
+![Cybrain / Getty Images][1]
+
+If you thought cloud storage was digging in its heels to become the go-to method for storing data, and at the same time grabbing share from own-server, in-house storage, you may be interested to hear that some think both are on the way out. Instead organizations will use blockchain-based storage.
+
+Decentralized blockchain-based file storage will be more secure, will make it harder to lose data, and will be cheaper than anything seen before, say organizations actively promoting the slant on encrypted, distributed technology.
+
+**[ Read also:[Why blockchain (might be) coming to an IoT implementation near you][2] ]**
+
+### Storing transactional data in a blockchain
+
+China company [FileStorm][3], which describes itself in marketing materials as the first [Interplanetary File Storage][4] (IPFS) platform on blockchain, says the key to making it all work is to only store the transactional data in blockchain. The actual data files, such as large video files, are distributed in IPFS.
+
+IPFS is a distributed, peer-to-peer file storage protocol. File parts come from multiple computers all at the same time, supposedly making the storage hardy. FileStorm adds blockchain on top of it for a form of transactional indexing.
+
+“Blockchain is designed to store transactions forever, and the data can never be altered, thus a trustworthy system is created,” says Raymond Fu, founder of FileStorm and chief product officer of MOAC, the underlying blockchain system used, in a video on the FileStorm website.
+
+“The blocks are used to store only small transactional data,” he says. You can’t store the large files on it. Those are distributed. Decentralized data storage platforms are needed for added decentralized blockchain, he says.
+
+YottaChain, another blockchain storage start-up project is coming at the whole thing from a slightly different angle. It claims its non-IPFS system is more secure partly because it performs deduplication after encryption.
+
+“Data is 10,000 times more secure than [traditional] centralized storage,” it says on its [website][5]. Deduplication eliminates duplicated or redundant data.
+
+### Disrupting data storage
+
+“Blockchain will disrupt data storage,” [says BlockApps separately][6]. The blockchain backend platform provider says advantages to this new generation of storage include that decentralizing data provides more security and privacy. That's due in part because it's harder to hack than traditional centralized storage. That the files are spread piecemeal among nodes, conceivably all over the world, makes it impossible for even the participating node to view the contents of the complete file, it says.
+
+Sharding, which is the term for the breaking apart and node-spreading of the actual data, is secured through keys. Markets can award token coins for mining, and coins can be spent to gain storage. Excess storage can even be sold. And cryptocurrencies have been started to “incentivize usage and to create a market for buying and selling decentralized storage,” BlockApps explains.
+
+The final parts of this new storage mix are that lost files are minimized because data can be duplicated simply — the data sets, for example, can be stored multiple times for error correction — and costs are reduced due to efficiencies.
+
+Square Tech (Shenzhen) Co., which makes blockchain file storage nodes, says in its marketing materials that it intends to build service centers globally to monitor its nodes in real time. Interestingly, another area the company has gotten involved in is the internet of things (IoT), and [it says][7] it wants “to unite the technical resources, capital, and human resources of the IoT industry and blockchain.” Perhaps we end up with a form of the internet of storage things?
+
+“The entire cloud computing industry will be disrupted by blockchain technology in just a few short years,” says BlockApps. Dropbox and Amazon “may even become overpriced and obsolete if they do not find ways to integrate with the advances.”
+
+Join the Network World communities on [Facebook][8] and [LinkedIn][9] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3390722/how-data-storage-will-shift-to-blockchain.html#tk.rss_all
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/chains_binary_data_blockchain_security_by_cybrain_gettyimages-926677890_2400x1600-100788435-large.jpg
+[2]: https://www.networkworld.com/article/3386881/why-blockchain-might-be-coming-to-an-iot-implementation-near-you.html
+[3]: http://filestorm.net/
+[4]: https://ipfs.io/
+[5]: https://www.yottachain.io/
+[6]: https://blockapps.net/blockchain-disrupt-data-storage/
+[7]: http://www.sikuaikeji.com/
+[8]: https://www.facebook.com/NetworkWorld/
+[9]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190424 No, drone delivery still isn-t ready for prime time.md b/sources/talk/20190424 No, drone delivery still isn-t ready for prime time.md
new file mode 100644
index 0000000000..c948f458ce
--- /dev/null
+++ b/sources/talk/20190424 No, drone delivery still isn-t ready for prime time.md
@@ -0,0 +1,91 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (No, drone delivery still isn’t ready for prime time)
+[#]: via: (https://www.networkworld.com/article/3390677/drone-delivery-not-ready-for-prime-time.html#tk.rss_all)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+No, drone delivery still isn’t ready for prime time
+======
+Despite incremental progress and limited regulatory approval in the U.S. and Australia, drone delivery still isn’t a viable option in the vast majority of use cases.
+![Sorry imKirk \(CC0\)][1]
+
+April has a been a big month for drone delivery. First, [Alphabet’s Wing Aviation drones got approval from Australia’s Civil Aviation Safety Authority (CASA)][2], for public deliveries in the country, and this week [Wing earned Air Carrier Certification from the U.S. Federal Aviation Administration][3]. These two regulatory wins got lot of people got very excited. Finally, the conventional wisdom exulted, drone delivery is actually becoming a reality.
+
+Not so fast.
+
+### Drone delivery still in pilot/testing mode
+
+Despite some small-scale successes and the first signs of regulatory acceptance, drone delivery remains firmly in the carefully controlled pilot/test phase (and yes, I know drones don’t carry pilots).
+
+**[ Also read:[Coffee drone delivery: Ideas this bad could kill the internet of things][4] ]**
+
+For example, despite getting FAA approval to begin commercial deliveries, Wing is still working up beginning delivery trials to test the technology and gather information in Virginia later this year.
+
+But what about that public approval from CASA for deliveries outside Canberra? That’s [a real business][5] now, right?
+
+Well, yes and no.
+
+On the “yes” side, the Aussie approval reportedly came after 18 months of tests, 70,000 flights, and more than 3,000 actual deliveries of products from local coffee shops and pharmacies. So, at least some people somewhere in the world are actually getting stuff dropped at their doors by drones.
+
+In the “no” column, however, goes the fact that the approval covers only about 100 suburban homes, though more are planned to be added “in the coming weeks and months.” More importantly, the approval includes strict limits on when and where the drones can go. No crossing main roads, no nighttime deliveries, and prohibitions to stay away from people. And drone-eligible customers need a safety briefing!
+
+### Safety briefings required for customers
+
+That still sounds like a small-scale test, not a full-scale commercial roll-out. And while I think drone-safety classes are probably a good idea – and the testing period apparently passed without any injuries – even the perceived _need_ for them is not be a great advertisement for rapid expansion of drone deliveries.
+
+Ironically, though, a bigger issue than protecting people from the drones, perhaps, is protecting the drones from people. Instructions to stay 2 to 5 meters away from folks will help, but as I’ve previously addressed, these things are already seen as attractive nuisances and vandalism targets. Further raising the stakes, many local residents were said to be annoyed at the noise created by the drones. Now imagine those contraptions buzzing right by you all loaded down with steaming hot coffee or delicious ice cream.
+
+And even with all those caveats, no one is talking about the key factors in making drone deliveries a viable business: How much will those deliveries cost and who will pay? For a while, the desire to explore the opportunity will drive investment, but that won’t last forever. If drone deliveries aren’t cost effective for businesses, they won’t spread very far.
+
+From the customer perspective, most drone delivery tests are not yet charging for the service. If and when they start carrying fees as well as purchases, the novelty factor will likely entice many shoppers to pony up to get their items airlifted directly to their homes. But that also won’t last. Drone delivery will have to demonstrate that it’s better — faster, cheaper, or more reliable — than the existing alternatives to find its niche.
+
+### Drone deliveries are fast, commercial roll-out will be slow
+
+Long term, I have no doubt that drone delivery will eventually become an accepted part of the transportation infrastructure. I don’t necessarily buy into Wing’s prediction of an AU $40 million drone delivery market in Australia coming to pass anytime soon, but real commercial operations seem inevitable.
+
+It’s just going to be more limited than many proponents claim, and it’s likely to take a lot longer than expected to become mainstream. For example, despite ongoing testing, [Amazon has already missed Jeff Bezos’ 2018 deadline to begin commercial drone deliveries][6], and we haven’t heard much about [Walmart’s drone delivery plans][7] lately. And while tests by a number of companies continue in locations ranging from Iceland and Finland to the U.K. and the U.S. have created a lot of interest, they have not yet translated into widespread availability.
+
+Apart from the issue of how much consumers really want their stuff delivered by an armada of drones (a [2016 U.S. Post Office study][8] found that 44% of respondents liked the idea, while 34% didn’t — and 37% worried that drone deliveries might not be safe), a lot has to happen before that vision becomes reality.
+
+At a minimum, successful implementations of full-scale commercial drone delivery will require better planning, better-thought-out business cases, more rugged and efficient drone technology, and significant advances in flight control and autonomous flight. Like drone deliveries themselves, all that stuff is coming; it just hasn’t arrived yet.
+
+**More about drones and the internet of things:**
+
+ * [Drone defense -- powered by IoT -- is now a thing][9]
+ * [Ideas this bad could kill the Internet of Things][4]
+ * [10 reasons Amazon's drone delivery plan still won't fly][10]
+ * [Amazon’s successful drone delivery test doesn’t really prove anything][11]
+
+
+
+Join the Network World communities on [Facebook][12] and [LinkedIn][13] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3390677/drone-delivery-not-ready-for-prime-time.html#tk.rss_all
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/07/drone_mountains_by_sorry_imkirk_cc0_via_unsplash_1200x800-100763763-large.jpg
+[2]: https://medium.com/wing-aviation/wing-launches-commercial-air-delivery-service-in-canberra-5da134312474
+[3]: https://medium.com/wing-aviation/wing-becomes-first-certified-air-carrier-for-drones-in-the-us-43401883f20b
+[4]: https://www.networkworld.com/article/3301277/ideas-this-bad-could-kill-the-internet-of-things.html
+[5]: https://wing.com/australia/canberra
+[6]: https://www.businessinsider.com/jeff-bezos-predicted-amazon-would-be-making-drone-deliveries-by-2018-2018-12?r=US&IR=T
+[7]: https://www.networkworld.com/article/2999828/walmart-delivery-drone-plans.html
+[8]: https://www.uspsoig.gov/sites/default/files/document-library-files/2016/RARC_WP-17-001.pdf
+[9]: https://www.networkworld.com/article/3309413/drone-defense-powered-by-iot-is-now-a-thing.html
+[10]: https://www.networkworld.com/article/2900317/10-reasons-amazons-drone-delivery-plan-still-wont-fly.html
+[11]: https://www.networkworld.com/article/3185478/amazons-successful-drone-delivery-test-doesnt-really-prove-anything.html
+[12]: https://www.facebook.com/NetworkWorld/
+[13]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190429 Cisco goes all in on WiFi 6.md b/sources/talk/20190429 Cisco goes all in on WiFi 6.md
new file mode 100644
index 0000000000..decd25500a
--- /dev/null
+++ b/sources/talk/20190429 Cisco goes all in on WiFi 6.md
@@ -0,0 +1,87 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco goes all in on WiFi 6)
+[#]: via: (https://www.networkworld.com/article/3391919/cisco-goes-all-in-on-wifi-6.html#tk.rss_all)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco goes all in on WiFi 6
+======
+Cisco rolls out Catalyst and Meraki WiFi 6-based access points, Catalyst 9000 switch
+![undefined / Getty Images][1]
+
+Cisco has taken the wraps off a family of WiFi 6 access points, roaming technology and developer-community support all to make wireless a solid enterprise equal with the wired world.
+
+“Best-effort’ wireless for enterprise customers doesn’t cut it any more. There’s been a change in customer expectations that there will be an uninterrupted unplugged experience,” said Scott Harrell, senior vice president and general manager of enterprise networking at Cisco. **“ **It is now a wireless-first world.** ”**
+
+**More about 802.11ax (Wi-Fi 6)**
+
+ * [Why 802.11ax is the next big thing in wireless][2]
+ * [FAQ: 802.11ax Wi-Fi][3]
+ * [Wi-Fi 6 (802.11ax) is coming to a router near you][4]
+ * [Wi-Fi 6 with OFDMA opens a world of new wireless possibilities][5]
+ * [802.11ax preview: Access points and routers that support Wi-Fi 6 are on tap][6]
+
+
+
+Bringing a wireless-first enterprise world together is one of the drivers behind a new family of WiFi 6-based access points (AP) for Cisco’s Catalyst and Meraki portfolios. WiFi 6 (802.11ax) is designed for high-density public or private environments. But it also will be beneficial in internet of things (IoT) deployments, and in offices that use bandwidth-hogging applications like videoconferencing.
+
+The Cisco Catalyst 9100 family and Meraki [MR 45/55][7] WiFi-6 access points are built on Cisco silicon and communicate via pre-802.1ax protocols. The silicon in these access points now acts a rich sensor providing IT with insights about what is going on the wireless network in real-time, and that enables faster reactions to problems and security concerns, Harrell said.
+
+Aside from WiFi 6, the boxes include support for visibility and communications with Zigbee, BLE and Thread protocols. The Catalyst APs support uplink speeds of 2.5 Gbps, in addition to 100 Mbps and 1 Gbps. All speeds are supported on Category 5e cabling for an industry first, as well as 10GBASE-T (IEEE 802.3bz) cabling, Cisco said.
+
+Wireless traffic aggregates to wired networks so and the wired network must also evolve. Technology like multi-gigabit Ethernet must be driven into the access layer, which in turn drives higher bandwidth needs at the aggregation and core layers, [Harrell said][8].
+
+Handling this influx of wireless traffic was part of the reason Cisco also upgraded its iconic Catalyst 6000 with the [Catalyst 9600 this week][9]. The 9600 brings with it support for Cat 6000 features such as support for MPLS, virtual switching and IPv6, while adding or bolstering support for wireless netowrks as well as Intent-based networking (IBN) and security segmentation. The 9600 helps fill out the company’s revamped lineup which includes the 9200 family of access switches, the 9500 aggregation switch and 9800 wireless controller.
+
+“WiFi doesn’t exist in a vacuum – how it connects to the enterprise and the data center or the Internet is key and in Cisco’s case that key is now the 9600 which has been built to handle the increased traffic,” said Lee Doyle, principal analyst with Doyle Research.
+
+The new 9600 ties in with the recently [released Catalyst 9800][10], which features 40Gbps to 100Gbps performance, depending on the model, hot-patching to simplify updates and eliminate update-related downtime, Encrypted Traffic Analytics (ETA), policy-based micro- and macro-segmentation and Trustworthy solutions to detect malware on wired or wireless connected devices, Cisco said.
+
+All Catalyst 9000 family members support other Cisco products such as [DNA Center][11] , which controls automation capabilities, assurance setting, fabric provisioning and policy-based segmentation for enterprise wired and wireless networks.
+
+The new APs are pre-standard, but other vendors including Aruba, NetGear and others are also selling pre-standard 802.11ax devices. Cisco getting into the market solidifies the validity of this strategy, said Brandon Butler, a senior research analyst with IDC.
+
+Many experts [expect the standard][12] to be ratified late this year.
+
+“We expect to see volume shipments of WiFi 6 products by early next year and it being the de facto WiFi standard by 2022.”
+
+On top of the APs and 9600 switch, Cisco extended its software development community – [DevNet][13] – to offer WiFi 6 learning labs, sandboxes and developer resources.
+
+The Cisco Catalyst and Meraki access platforms are open and programmable all the way down to the chipset level, allowing applications to take advantage of network programmability, Cisco said.
+
+Cisco also said it had added more vendors to now include Apple, Samsung, Boingo, Presidio and Intel for its ongoing [OpenRoaming][14] project. OpenRoaming, which is in beta promises to let users move seamlessly between wireless networks and LTE without interruption.
+
+Join the Network World communities on [Facebook][15] and [LinkedIn][16] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3391919/cisco-goes-all-in-on-wifi-6.html#tk.rss_all
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/cisco_catalyst_wifi_coffee-cup_coffee-beans_-100794990-large.jpg
+[2]: https://www.networkworld.com/article/3215907/mobile-wireless/why-80211ax-is-the-next-big-thing-in-wi-fi.html
+[3]: https://%20https//www.networkworld.com/article/3048196/mobile-wireless/faq-802-11ax-wi-fi.html
+[4]: https://www.networkworld.com/article/3311921/mobile-wireless/wi-fi-6-is-coming-to-a-router-near-you.html
+[5]: https://www.networkworld.com/article/3332018/wi-fi/wi-fi-6-with-ofdma-opens-a-world-of-new-wireless-possibilities.html
+[6]: https://www.networkworld.com/article/3309439/mobile-wireless/80211ax-preview-access-points-and-routers-that-support-the-wi-fi-6-protocol-on-tap.html
+[7]: https://meraki.cisco.com/lib/pdf/meraki_datasheet_MR55.pdf
+[8]: https://blogs.cisco.com/news/unplugged-and-uninterrupted
+[9]: https://www.networkworld.com/article/3391580/venerable-cisco-catalyst-6000-switches-ousted-by-new-catalyst-9600.html
+[10]: https://www.networkworld.com/article/3321000/cisco-links-wireless-wired-worlds-with-new-catalyst-9000-switches.html
+[11]: https://www.networkworld.com/article/3280988/cisco/cisco-opens-dna-center-network-control-and-management-software-to-the-devops-masses.html
+[12]: https://www.networkworld.com/article/3336263/is-jumping-ahead-to-wi-fi-6-the-right-move.html
+[13]: https://developer.cisco.com/wireless/?utm_campaign=colaunch-wireless19&utm_source=pressrelease&utm_medium=ciscopress-wireless-main
+[14]: https://www.cisco.com/c/en/us/solutions/enterprise-networks/802-11ax-solution/openroaming.html
+[15]: https://www.facebook.com/NetworkWorld/
+[16]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190430 Measuring the edge- Finding success with edge deployments.md b/sources/talk/20190430 Measuring the edge- Finding success with edge deployments.md
new file mode 100644
index 0000000000..abc1d7dd0c
--- /dev/null
+++ b/sources/talk/20190430 Measuring the edge- Finding success with edge deployments.md
@@ -0,0 +1,73 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Measuring the edge: Finding success with edge deployments)
+[#]: via: (https://www.networkworld.com/article/3391570/measuring-the-edge-finding-success-with-edge-deployments.html#tk.rss_all)
+[#]: author: (Anne Taylor https://www.networkworld.com/author/Anne-Taylor/)
+
+Measuring the edge: Finding success with edge deployments
+======
+To make the most of edge computing investments, it’s important to first understand objectives and expectations.
+![iStock][1]
+
+Edge computing deployments are well underway as companies seek to better process the wealth of data being generated, for example, by Internet of Things (IoT) devices.
+
+So, what are the results? Plus, how can you ensure success with your own edge projects?
+
+**Measurements of success**
+
+The [use cases for edge computing deployments][2] vary widely, as do the business drivers and, ultimately, the benefits.
+
+Whether they’re seeking improved network or application performance, real-time data analytics, a better customer experience, or other efficiencies, enterprises are accomplishing their goals. Based on two surveys — one by [_Automation World_][3] and another by [Futurum Research][4] — respondents have reported:
+
+ * Decreased network downtime
+ * Increased productivity
+ * Increased profitability/reduced costs
+ * Improved business processes
+
+
+
+Basically, success metrics can be bucketed into two categories: direct value propositions and cost reductions. In the former, companies are seeking results that measure revenue generation — such as improved digital experiences with customers and users. In the latter, metrics that prove the value of digitizing processes — like speed, quality, and efficacy — will demonstrate success with edge deployments.
+
+**Goalposts for success with edge**
+
+Edge computing deployments are underway. But before diving in, understand what’s driving these projects.
+
+According to the Futurum Research, 29% of respondents are currently investing in edge infrastructure, and 62% expect to adopt within the year. For these companies, the driving force has been the business, which expects operational efficiencies from these investments. Beyond that, there’s an expectation down the road to better align with IoT strategy.
+
+That being the case, it’s worth considering your business case before diving into edge. Ask: Are you seeking innovation and revenue generation amid digital transformation efforts? Or is your company looking for a low-risk, “test the waters” type of investment in edge?
+
+Next up, what type of edge project makes sense for your environment? Edge data centers fall into three categories: local devices for a specific purpose (e.g., an appliance for security systems or a gateway for cloud-to-premises storage); small local data centers (typically one to 10 racks for storage and processing); and regional data centers (10+ racks for large office spaces).
+
+Then, think about these best practices before talking with vendors:
+
+ * Management: Especially for unmanned edge data centers, remote management is critical. You’ll need predictive alerts and a service contract that enables IT to be just as resilient as a regular data center.
+ * Security:Much of today’s conversation has been around data security. That starts with physical protection. Too many data breaches — including theft and employee error — are caused by physical access to IT assets.
+ * Standardization: There is no need to reinvent the wheel when it comes to edge data center deployments. Using standard components makes it easier for the internal IT team to deploy, manage, and maintain.
+
+
+
+Finally, consider the ecosystem. The end-to-end nature of edge requires not just technology integration, but also that all third parties work well together. A good ecosystem connects customers, partners, and vendors.
+
+Get further information to kickstart your edge computing environment at [APC.com][5].
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3391570/measuring-the-edge-finding-success-with-edge-deployments.html#tk.rss_all
+
+作者:[Anne Taylor][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Anne-Taylor/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/istock-912928582-100795093-large.jpg
+[2]: https://www.networkworld.com/article/3391016/edge-computing-is-in-most-industries-future.html
+[3]: https://www.automationworld.com/article/technologies/cloud-computing/its-not-edge-vs-cloud-its-both
+[4]: https://futurumresearch.com/edge-computing-from-edge-to-enterprise/
+[5]: https://www.apc.com/us/en/solutions/business-solutions/edge-computing.jsp
diff --git a/sources/talk/20190501 Vapor IO provides direct, high-speed connections from the edge to AWS.md b/sources/talk/20190501 Vapor IO provides direct, high-speed connections from the edge to AWS.md
new file mode 100644
index 0000000000..0ddef36770
--- /dev/null
+++ b/sources/talk/20190501 Vapor IO provides direct, high-speed connections from the edge to AWS.md
@@ -0,0 +1,69 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Vapor IO provides direct, high-speed connections from the edge to AWS)
+[#]: via: (https://www.networkworld.com/article/3391922/vapor-io-provides-direct-high-speed-connections-from-the-edge-to-aws.html#tk.rss_all)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Vapor IO provides direct, high-speed connections from the edge to AWS
+======
+With a direct fiber line, latency between the edge and the cloud can be dramatically reduced.
+![Vapor IO][1]
+
+Edge computing startup Vapor IO now offers a direct connection between its edge containers to Amazon Web Services (AWS) via a high-speed fiber network link.
+
+The company said that connection between its Kinetic Edge containers and AWS will be provided by Crown Castle's Cloud Connect fiber network, which uses Amazon Direct Connect Services. This would help reduce network latency by essentially drawing a straight fiber line from Vapor IO's edge computing data centers to Amazon's cloud computing data centers.
+
+“When combined with Crown Castle’s high-speed Cloud Connect fiber, the Kinetic Edge lets AWS developers build applications that span the entire continuum from core to edge. By enabling new classes of applications at the edge, we make it possible for any AWS developer to unlock the next generation of real-time, innovative use cases,” wrote Matt Trifiro, chief marketing officer of Vapor IO, in a [blog post][2].
+
+**[ Read also:[What is edge computing and how it’s changing the network][3] ]**
+
+Vapor IO clams that the connection will lower latency by as much as 75%. “Connecting workloads and data at the Kinetic Edge with workloads and data in centralized AWS data centers makes it possible to build edge applications that leverage the full power of AWS,” wrote Trifiro.
+
+Developers building applications at the Kinetic Edge will have access to the full suite of AWS cloud computing services, including Amazon Simple Storage Service (Amazon S3), Amazon Elastic Cloud Compute (Amazon EC2), Amazon Virtual Private Cloud (Amazon VPC), and Amazon Relational Database Service (Amazon RDS).
+
+Crown Castle is the largest provider of shared communications infrastructure in the U.S., with 40,000 cell towers and 60,000 miles of fiber, offering 1Gbps to 10Gbps private fiber connectivity between the Kinetic Edge and AWS.
+
+AWS Direct Connect is a essentially a private connection between Amazon's AWS customers and their the AWS data centers, so customers don’t have to rout their traffic over the public internet and compete with Netflix and YouTube, for example, for bandwidth.
+
+### How edge computing works
+
+The structure of [edge computing][3] is the reverse of the standard internet design. Rather than sending all the data up to central servers, as much processing as possible is done at the edge. This is to reduce the sheer volume of data coming upstream and thus reduce latency.
+
+With things like smart cars, even if 95% of data is eliminated that remaining, 5% can still be a lot, so moving it fast is essential. Vapor IO said it will shuttle workloads to Amazon’s USEAST and USWEST data centers, depending on location.
+
+This shows how the edge is up-ending the traditional internet design and moving more computing outside the traditional data center, although a connection upstream is still important because it allows for rapid movement of necessary data from the edge to the cloud, where it can be stored or processed.
+
+**More about edge networking:**
+
+ * [How edge networking and IoT will reshape data centers][4]
+ * [Edge computing best practices][5]
+ * [How edge computing can help secure the IoT][6]
+
+
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3391922/vapor-io-provides-direct-high-speed-connections-from-the-edge-to-aws.html#tk.rss_all
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/09/vapor-io-kinetic-edge-data-center-100771510-large.jpg
+[2]: https://www.vapor.io/powering-amazon-web-services-at-the-kinetic-edge/
+[3]: https://www.networkworld.com/article/3224893/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[4]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[5]: https://www.networkworld.com/article/3331978/lan-wan/edge-computing-best-practices.html
+[6]: https://www.networkworld.com/article/3331905/internet-of-things/how-edge-computing-can-help-secure-the-iot.html
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190501 Yet another killer cloud quarter puts pressure on data centers.md b/sources/talk/20190501 Yet another killer cloud quarter puts pressure on data centers.md
new file mode 100644
index 0000000000..d65fe448b4
--- /dev/null
+++ b/sources/talk/20190501 Yet another killer cloud quarter puts pressure on data centers.md
@@ -0,0 +1,92 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Yet another killer cloud quarter puts pressure on data centers)
+[#]: via: (https://www.networkworld.com/article/3391465/another-strong-cloud-computing-quarter-puts-pressure-on-data-centers.html#tk.rss_all)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+Yet another killer cloud quarter puts pressure on data centers
+======
+Continued strong growth from Amazon Web Services, Microsoft Azure, and Google Cloud Platform signals even more enterprises are moving to the cloud.
+![Getty Images][1]
+
+You’d almost think I’d get tired of [writing this story over and over and over][2]… but the ongoing growth of cloud computing is too big a trend to ignore.
+
+Critically, the impressive growth numbers of the three leading cloud infrastructure providers—Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform—doesn’t occur in a vacuum. It’s not just about new workloads being run in the cloud; it’s also about more and more enterprises moving existing workloads to the cloud from on-premises data centers.
+
+**[ Also read:[Is the cloud already killing the enterprise data center?][3] ]**
+
+To put these trends in perspective, let’s take a look at the results for all three vendors.
+
+### AWS keeps on trucking
+
+AWS remains by far the dominant player in the cloud infrastructure market, with a massive [$7.7 billion in quarterly sales][4] (an annual run rate of a whopping $30.8 billion). Even more remarkable, somehow AWS continues to grow revenue by almost 42% year over year. Oh, and that kind of growth is not just unique _this_ quarter; the unit has topped 40% revenue growth _every_ quarter since the beginning of 2017. (To be fair, the first quarter of 2018 saw an amazing 49% revenue growth.)
+
+And unlike many fast-growing tech companies, that incredible expansion isn’t being fueled by equally impressive losses. AWS earned a healthy $2.2 billion operating profit in the quarter, up 59% from the same period last year. One reason? [The company told analysts][5] it made big data center investments in 2016 and 2017, so it hasn’t had to do so more recently (it expects to boost spending on data centers later this year). The company [reportedly][6] described AWS revenue growth as “lumpy,” but it seems to me that the numbers merely vary between huge and even bigger.
+
+### Microsoft Azure grows even faster than AWS
+
+Sure, 41% growth is good, but [Microsoft’s quarterly Azure revenue][7] almost doubled that, jumping 73% year over year (fairly consistent with the previous—also stellar—quarter), helping the company exceed estimates for both sales and revenue and sparking a brief shining moment of a $1 billion valuation for the company. Microsoft doesn’t break out Azure’s sales and revenue, but [the commercial cloud business, which includes Azure as well as other cloud businesses, grew 41% in the quarter to $9.6 billion][8].
+
+It’s impossible to tell exactly how big Azure is, but it appears to be growing faster than AWS, though off a much smaller base. While some analysts reportedly say Azure is growing faster than AWS was at a similar stage in its development, that may not bear much significance because the addressable cloud market is now far larger than it used be.
+
+According to [the New York Times][9], like AWS, Microsoft is also now reaping the benefits of heavy investments in new data centers around the world. And the Times credits Microsoft with “particular success” in [hybrid cloud installations][10], helping ease concerns among some slow-to-change enterprise about full-scale cloud adoption.
+
+**[ Also read:[Why hybrid cloud will turn out to be a transition strategy][11] ]**
+
+### Can Google Cloud Platform keep up?
+
+Even as the [overall quarterly numbers for Alphabet][12]—Google’s parent company—didn’t meet analysts’ revenue expectations (which sent the stock tumbling), Google Cloud Platform seems to have continued its strong growth. Alphabet doesn’t break out its cloud unit, but sales in Alphabet’s “Other Revenue” category—which includes cloud computing along with hardware—jumped 25% compared to the same period last year, hitting $5.4 billion.
+
+More telling, perhaps, Alphabet Chief Financial Officer Ruth Porat [reportedly][13] told analysts that "Google Cloud Platform remains one of the fastest growing businesses in Alphabet." [Porat also mentioned][14] that hiring in the cloud unit was so aggressive that it drove a 20% jump in Alphabet’s operating expenses!
+
+### Companies keep going cloud
+
+But the raw numbers tell only part of the story. All that growth means existing customers are spending more, but also that ever-increasing numbers of enterprises are abandoning their hassle and expense of running their data centers in favor of buying what they need from the cloud.
+
+**[ Also read:[Large enterprises abandon data centers for the cloud][15] ]**
+
+The New York Times quotes Amy Hood, Microsoft’s chief financial officer, explaining that, “You don’t really get revenue growth unless you have a usage growth, so this is customers deploying and using Azure.” And the Times notes that Microsoft has signed big deals with companies such as [Walgreens Boots Alliance][16] that combined Azure with other Microsoft cloud-based services.
+
+This growth is true in existing markets, and also includes new markets. For example, AWS just opened new regions in [Indonesia][17] and [Hong Kong][18].
+
+**[ Now read:[After virtualization and cloud, what's left on premises?][19] ]**
+
+Join the Network World communities on [Facebook][20] and [LinkedIn][21] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3391465/another-strong-cloud-computing-quarter-puts-pressure-on-data-centers.html#tk.rss_all
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/cloud_comput_connect_blue-100787048-large.jpg
+[2]: https://www.networkworld.com/article/3292935/cloud-computing-just-had-another-kick-ass-quarter.html
+[3]: https://www.networkworld.com/article/3268384/is-the-cloud-already-killing-the-enterprise-data-center.html
+[4]: https://www.latimes.com/business/la-fi-amazon-earnings-cloud-computing-aws-20190425-story.html
+[5]: https://www.businessinsider.com/amazon-q1-2019-earnings-aws-advertising-retail-prime-2019-4
+[6]: https://www.computerweekly.com/news/252462310/Amazon-cautions-against-reading-too-much-into-slowdown-in-AWS-revenue-growth-rate
+[7]: https://www.microsoft.com/en-us/Investor/earnings/FY-2019-Q3/press-release-webcast
+[8]: https://www.cnbc.com/2019/04/24/microsoft-q3-2019-earnings.html
+[9]: https://www.nytimes.com/2019/04/24/technology/microsoft-earnings.html
+[10]: https://www.networkworld.com/article/3268448/what-is-hybrid-cloud-really-and-whats-the-best-strategy.html
+[11]: https://www.networkworld.com/article/3238466/why-hybrid-cloud-will-turn-out-to-be-a-transition-strategy.html
+[12]: https://abc.xyz/investor/static/pdf/2019Q1_alphabet_earnings_release.pdf?cache=8ac2b86
+[13]: https://www.forbes.com/sites/jilliandonfro/2019/04/29/google-alphabet-q1-earnings-2019/#52f5c8c733be
+[14]: https://www.youtube.com/watch?v=31_KHdse_0Y
+[15]: https://www.networkworld.com/article/3240587/large-enterprises-abandon-data-centers-for-the-cloud.html
+[16]: https://www.walgreensbootsalliance.com
+[17]: https://www.businesswire.com/news/home/20190403005931/en/AWS-Open-New-Region-Indonesia
+[18]: https://www.apnews.com/Business%20Wire/57eaf4cb603e46e6b05b634d9751699b
+[19]: https://https//www.networkworld.com/article/3232626/virtualization/extreme-virtualization-impact-on-enterprises.html
+[20]: https://www.facebook.com/NetworkWorld/
+[21]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190502 Revolutionary data compression technique could slash compute costs.md b/sources/talk/20190502 Revolutionary data compression technique could slash compute costs.md
new file mode 100644
index 0000000000..00316946f6
--- /dev/null
+++ b/sources/talk/20190502 Revolutionary data compression technique could slash compute costs.md
@@ -0,0 +1,65 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Revolutionary data compression technique could slash compute costs)
+[#]: via: (https://www.networkworld.com/article/3392716/revolutionary-data-compression-technique-could-slash-compute-costs.html#tk.rss_all)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+Revolutionary data compression technique could slash compute costs
+======
+A new form of data compression, called Zippads, will create faster computer programs that could drastically lower the costs of computing.
+![Kevin Stanchfield \(CC BY 2.0\)][1]
+
+There’s a major problem with today’s money-saving memory compression used for storing more data in less space. The issue is that computers store and run memory in predetermined blocks, yet many modern programs function and play out in variable chunks.
+
+The way it’s currently done is actually, highly inefficient. That’s because the compressed programs, which use objects rather than evenly configured slabs of data, don’t match the space used to store and run them, explain scientists working on a revolutionary new compression system called Zippads.
+
+The answer, they say—and something that if it works would drastically reduce those inefficiencies, speed things up, and importantly, reduce compute costs—is to compress the varied objects and not the cache lines, as is the case now. Cache lines are fixed-size blocks of memory that are transferred to memory cache.
+
+**[ Read also:[How to deal with backup when you switch to hyperconverged infrastructure][2] ]**
+
+“Objects, not cache lines, are the natural unit of compression,” writes Po-An Tsai and Daniel Sanchez in their MIT Computer Science and Artificial Intelligence Laboratory (CSAIL) [paper][3] (pdf).
+
+They say object-based programs — of the kind used now everyday, such as Python — should be compressed based on their programmed object size, not on some fixed value created by traditional or even state-of-the art cached methods.
+
+The alternative, too, isn’t to recklessly abandon object-oriented programming just because it’s inefficient at using compression. One must adapt compression to that now common object-using code.
+
+The scientists claim their new system can increase the compression ratio 1.63 times and improve performance by 17%. It’s the “first compressed memory hierarchy designed for object-based applications,” they say.
+
+### The benefits of compression
+
+Compression is a favored technique for making computers more efficient. The main advantage over simply adding more memory is that costs are lowered significantly—you don’t need to add increasing physical main memory hardware because you’re cramming more data into existing.
+
+However, to date, hardware memory compression has been best suited to more old-school large blocks of data, not the “random, fine-grained memory accesses,” the team explains. It’s not great at accessing small pieces of data, such as words, for example.
+
+### How the Zippads compression system works
+
+In Zippads, as the new system is called, stored object hierarchical levels (called “pads”) are located on-chip and are directly accessed. The different levels (pads) have changing speed grades, with newly referenced objects being placed in the fastest pad. As a pad fills up, it begins the process of evicting older, not-so-active objects and ultimately recycles the unused code that is taking up desirable fast space and isn’t being used. Cleverly, at the fast level, the code parts aren’t even compressed, but as they prove their non-usefulness they get kicked down to compressed, slow-to-access, lower-importance pads—and are brought back up as necessary.
+
+Zippads would “see computers that can run much faster or can run many more apps at the same speeds,” an[ MIT News][4] article says. “Each application consumes less memory, it runs faster, so a device can support more applications within its allotted memory.” Bandwidth is freed up, in other words.
+
+“All computer systems would benefit from this,” Sanchez, a professor of computer science and electrical engineering, says in the article. “Programs become faster because they stop being bottlenecked by memory bandwidth.”
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3392716/revolutionary-data-compression-technique-could-slash-compute-costs.html#tk.rss_all
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/memory-100787327-large.jpg
+[2]: https://www.networkworld.com/article/3389396/how-to-deal-with-backup-when-you-switch-to-hyperconverged-infrastructure.html
+[3]: http://people.csail.mit.edu/poantsai/papers/2019.zippads.asplos.pdf
+[4]: http://news.mit.edu/2019/hardware-data-compression-0416
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190506 Cisco boosts SD-WAN with multicloud-to-branch access system.md b/sources/talk/20190506 Cisco boosts SD-WAN with multicloud-to-branch access system.md
new file mode 100644
index 0000000000..c676e5effb
--- /dev/null
+++ b/sources/talk/20190506 Cisco boosts SD-WAN with multicloud-to-branch access system.md
@@ -0,0 +1,89 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco boosts SD-WAN with multicloud-to-branch access system)
+[#]: via: (https://www.networkworld.com/article/3393232/cisco-boosts-sd-wan-with-multicloud-to-branch-access-system.html#tk.rss_all)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco boosts SD-WAN with multicloud-to-branch access system
+======
+Cisco's SD-WAN Cloud onRamp for CoLocation can tie branch offices to private data centers in regional corporate headquarters via colocation facilities for shorter, faster, possibly more secure connections.
+![istock][1]
+
+Cisco is looking to give traditional or legacy wide-area network users another reason to move to the [software-defined WAN world][2].
+
+The company has rolled out an integrated hardware/software package called SD-WAN Cloud onRamp for CoLocation that lets customers tie distributed multicloud applications back to a local branch office or local private data center. The idea is that a cloud-to-branch link would be shorter, faster and possibly more secure that tying cloud-based applications directly all the way to the data center.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][3]
+ * [How to pick an off-site data-backup method][4]
+ * [SD-Branch: What it is and why you’ll need it][5]
+ * [What are the options for security SD-WAN?][6]
+
+
+
+“With Cisco SD-WAN Cloud onRamp for CoLocation operating regionally, connections from colocation facilities to branches are set up and configured according to traffic loads (such as video vs web browsing vs email) SLAs (requirements for low latency/jitter), and Quality of Experience for optimizing cloud application performance,” wrote Anand Oswal, senior vice president of engineering, in Cisco’s Enterprise Networking Business in a [blog about the new service][7].
+
+According to Oswal, each branch or private data center is equipped with a network interface that provides a secure tunnel to the regional colocation facility. In turn, the Cloud onRamp for CoLocation establishes secure tunnels to SaaS application platforms, multi-cloud platform services, and enterprise data centers, he stated.
+
+Traffic is securely routed through the Cloud onRamp for CoLocation stack which includes security features such as application-aware firewalls, URL-filtering, intrusion detection/prevention, DNS-layer security, and Advanced Malware Protection (AMP) Threat Grid, as well as other network services such as load-balancing and Wide Area Application Services, Oswal wrote.
+
+A typical use case for the package is an enterprise that has dozens of distributed branch offices, clustered around major cities, spread over several countries. The goal is to tie each branch to enterprise data center databases, SaaS applications, and multi-cloud services while meeting service level agreements and application quality of experience, Oswal stated.
+
+“With virtualized Cisco SD-WAN running on regional colocation centers, the branch workforce has access to applications and data residing in AWS, Azure, and Google cloud platforms as well as SaaS providers such as Microsoft 365 and Salesforce—transparently and securely,” Oswal said. “Distributing SD-WAN features over a regional architecture also brings processing power closer to where data is being generated—at the cloud edge.”
+
+The idea is that paths to designated SaaS applications will be monitored continuously for performance, and the application traffic will be dynamically routed to the best-performing path, without requiring human intervention, Oswal stated.
+
+For a typical configuration, a region covering a target city uses a colocation IaaS provider that hosts the Cisco Cloud onRamp for CoLocation, which includes:
+
+ * Cisco vManage software that lets customers manage applications and provision, monitor and troubleshooting the WAN.
+ * [Cisco Cloud Services Platform (CSP) 5000][8] The systems are x86 Linux Kernel-based Virtual Machine (KVM) software and hardware platforms for the data center, regional hub, and colocation Network Functions Virtualization (NFV). The platforms let enterprise IT teams or service providers deploy any Cisco or third-party network virtual service with Cisco’s [Network Services Orchestrator (NSO)][9] or any other northbound management and orchestration system.
+ * The Cisco [Catalyst 9500 Series][10] aggregation switches. Based on an x86 CPU, the Catalyst 9500 Series is Cisco’s lead purpose-built fixed core and aggregation enterprise switching platform, built for security, IoT, and cloud. The switches come with a 4-core x86, 2.4-GHz CPU, 16-GB DDR4 memory, and 16-GB internal storage.
+
+
+
+If the features of the package sound familiar, that’s because the [Cloud onRamp for CoLocation][11] package is the second generation of a similar SD-WAN package offered by Viptela which Cisco [bought in 2017][12].
+
+SD-WAN's driving principle is to simplify the way big companies turn up new links to branch offices, better manage the way those links are utilized – for data, voice or video – and potentially save money in the process.
+
+It's a profoundly hot market with tons of players including [Cisco][13], VMware, Silver Peak, Riverbed, Aryaka, Fortinet, Nokia and Versa. IDC says the SD-WAN infrastructure market will hit $4.5 billion by 2022, growing at a more than 40% yearly clip between now and then.
+
+[SD-WAN][14] lets networks route traffic based on centrally managed roles and rules, no matter what the entry and exit points of the traffic are, and with full security. For example, if a user in a branch office is working in Office365, SD-WAN can route their traffic directly to the closest cloud data center for that app, improving network responsiveness for the user and lowering bandwidth costs for the business.
+
+"SD-WAN has been a promised technology for years, but in 2019 it will be a major driver in how networks are built and re-built," Oswal said a Network World [article][15] earlier this year.
+
+Join the Network World communities on [Facebook][16] and [LinkedIn][17] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3393232/cisco-boosts-sd-wan-with-multicloud-to-branch-access-system.html#tk.rss_all
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/02/istock-578801262-100750453-large.jpg
+[2]: https://www.networkworld.com/article/3209131/what-sdn-is-and-where-its-going.html
+[3]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[4]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[5]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[6]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[7]: https://blogs.cisco.com/enterprise/cisco-sd-wan-cloud-onramp-for-colocation-multicloud
+[8]: https://www.cisco.com/c/en/us/products/collateral/switches/cloud-services-platform-5000/nb-06-csp-5k-data-sheet-cte-en.html#ProductOverview
+[9]: https://www.cisco.com/go/nso
+[10]: https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-9500-series-switches/data_sheet-c78-738978.html
+[11]: https://www.networkworld.com/article/3207751/viptela-cloud-onramp-optimizes-cloud-access.html
+[12]: https://www.networkworld.com/article/3193784/cisco-grabs-up-sd-wan-player-viptela-for-610m.html?nsdr=true
+[13]: https://www.networkworld.com/article/3322937/what-will-be-hot-for-cisco-in-2019.html
+[14]: https://www.networkworld.com/article/3031279/sd-wan/sd-wan-what-it-is-and-why-you-ll-use-it-one-day.html
+[15]: https://www.networkworld.com/article/3332027/cisco-touts-5-technologies-that-will-change-networking-in-2019.html
+[16]: https://www.facebook.com/NetworkWorld/
+[17]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190507 SD-WAN is Critical for IoT.md b/sources/talk/20190507 SD-WAN is Critical for IoT.md
new file mode 100644
index 0000000000..a5867d5afd
--- /dev/null
+++ b/sources/talk/20190507 SD-WAN is Critical for IoT.md
@@ -0,0 +1,74 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (SD-WAN is Critical for IoT)
+[#]: via: (https://www.networkworld.com/article/3393445/sd-wan-is-critical-for-iot.html#tk.rss_all)
+[#]: author: (Rami Rammaha https://www.networkworld.com/author/Rami-Rammaha/)
+
+SD-WAN is Critical for IoT
+======
+
+![istock][1]
+
+The Internet of Things (IoT) is everywhere and its use is growing fast. IoT is used by local governments to build smart cities. It’s used to build smart businesses. And, consumers are benefitting as it’s built into smart homes and smart cars. Industry analyst first estimates that over 20 billion IoT devices will be connected by 2020. That’s a 2.5x increase from the more than 8 billion connected devices in 2017*.
+
+Manufacturing companies have the highest IoT spend to date of industries while the health care market is experiencing the highest IoT growth. By 2020, 50 percent of IoT spending will be driven by manufacturing, transportation and logistics, and utilities.
+
+IoT growth is being fueled by the promise of analytical data insights that will ultimately yield greater efficiencies and enhanced customer satisfaction. The top use cases driving IoT growth are self-optimizing production, predictive maintenance and automated inventory management.
+
+From a high-level view, the IoT architecture includes sensors that collect and transmit data (i.e. temperature, speed, humidity, video feed, pressure, IR, proximity, etc.) from “things” like cars, trucks, machines, etc. that are connected over the internet. Data collected is then analyzed, translating raw data into actionable information. Businesses can then act on this information. And at more advanced levels, machine learning and AI algorithms learn and adapt to this information and automatically respond at a system level.
+
+IDC estimates that by 2025, over 75 billion IoT devices* will be connected. By that time, nearly a quarter of the world’s projected 163 zettabytes* (163 trillion gigabytes) of data will have been created in real-time, and the vast majority of that data will have been created by IoT devices. This massive amount of data will drive an exponential increase in traffic on the network infrastructure requiring massive scalability. Also, this increasing amount of data will require tremendous processing power to mine it and transform it into actionable intelligence. In parallel, security risks will continue to increase as there will be many more potential entry points onto the network. Lastly, management of the overall infrastructure will require better orchestration of policies as well as the means to streamline on-going operations.
+
+### **How does SD-WAN enable IoT business initiatives?**
+
+There are three key elements that an [SD-WAN][2] platform must include:
+
+ 1. **Visibility** : Real-time visibility into the network is key. It takes the guesswork out of rapid problem resolution, enabling organizations to run more efficiently by accelerating troubleshooting and applying preventive measures. Furthermore, a CIO is able to pull metrics and see bandwidth consumed by any IoT application.
+ 2. **Security** : IoT traffic must be isolated from other application traffic. IT must prevent – or at least reduce – the possible attack surface that may be exposed to IoT device traffic. Also, the network must continue delivering other application traffic in the event of a melt down on a WAN link caused by a DDoS attack.
+ 3. **Agility** : With the increased number of connected devices, applications and users, a comprehensive, intelligent and centralized orchestration approach that continuously adapts to deliver the best experience to the business and users is critical to success.
+
+
+
+### Key Silver Peak EdgeConnect SD-WAN capabilities for IoT
+
+1\. Silver Peak has an [embedded real-time visibility engine][3] allowing IT to gain complete observability into the performance attributes of the network and applications in real-time. The [EdgeConnect][4] SD-WAN appliances deployed in branch offices send information to the centralized [Unity Orchestrator™][5]. Orchestrator collects the data and presents it in a comprehensive management dashboard via customizable widgets. These widgets provide a wealth of operational data including a health heatmap for every SD-WAN appliance deployed, flow counts, active tunnels, logical topologies, top talkers, alarms, bandwidth consumed by each application and location, latency and jitter and much more. Furthermore, the platform maintains weeks’ worth of data with context allowing IT to playback and see what has transpired at a specific time and location, similar to a DVR.
+
+![Click to read Solution Brief][6]
+
+2\. The second set of key capabilities center around security and end-to-end zone-based segmentation. An IoT traffic zone may be created on the LAN or branch side. IoT traffic is then mapped all the way across the WAN to the data center or cloud where the data will be processed. Zone-based segmentation is accomplished in a simplified and automated way within the Orchestrator GUI. In cases where further traffic inspection is required, IT can simply service chain to another security service. There are several key benefits realized by this approach. IT can easily and quickly apply segmentation policies; segmentation mitigates the attack surface; and IT can save on additional security investments.
+
+![***Click to read Solution Brief ***][7]
+
+3\. EdgeConnect employs machine learning at the global level where with internet sensors and third-party sensors feed into the cloud portal software. The software tracks the geolocation of all IP addresses and IP reputation, distributing signals down to the Unity Orchestrator running in each individual customer’s enterprise. In turn, it is speaking to the edge devices sitting in the branch offices. There, distributed learning is done by looking at the first packet, making an inference based on the first packet what the application is. So, if seeing that 100 times now, every time packets come from that particular IP address and turns out to be an IoT, we can make an inference that IP belongs to IoT application. In parallel, we’re using a mix of traditional techniques to validate the identification of the application. All this combined other multi-level intelligence enables simple and automated policy orchestration across a large number of devices and applications.
+
+![***Click to read Solution Brief ***][8]
+
+SD-WAN plays a foundational role as businesses continue to embrace IoT, but choosing the right SD-WAN platform is even more critical to ensuring businesses are ultimately able to fully optimize their operations.
+
+* Source: [IDC][9]
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3393445/sd-wan-is-critical-for-iot.html#tk.rss_all
+
+作者:[Rami Rammaha][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Rami-Rammaha/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/istock-1019172426-100795551-large.jpg
+[2]: https://www.silver-peak.com/sd-wan/sd-wan-explained
+[3]: https://www.silver-peak.com/resource-center/simplify-sd-wan-operations-greater-visibility
+[4]: https://www.silver-peak.com/products/unity-edge-connect
+[5]: https://www.silver-peak.com/products/unity-orchestrator
+[6]: https://images.idgesg.net/images/article/2019/05/1_simplify-100795554-large.jpg
+[7]: https://images.idgesg.net/images/article/2019/05/2_centralize-100795555-large.jpg
+[8]: https://images.idgesg.net/images/article/2019/05/3_increase-100795558-large.jpg
+[9]: https://www.information-age.com/data-forecast-grow-10-fold-2025-123465538/
diff --git a/sources/talk/20190507 Server shipments to pick up in the second half of 2019.md b/sources/talk/20190507 Server shipments to pick up in the second half of 2019.md
new file mode 100644
index 0000000000..8169c594ef
--- /dev/null
+++ b/sources/talk/20190507 Server shipments to pick up in the second half of 2019.md
@@ -0,0 +1,56 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Server shipments to pick up in the second half of 2019)
+[#]: via: (https://www.networkworld.com/article/3393167/server-shipments-to-pick-up-in-the-second-half-of-2019.html#tk.rss_all)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Server shipments to pick up in the second half of 2019
+======
+Server sales slowed in anticipation of the new Intel Xeon processors, but they are expected to start up again before the end of the year.
+![Thinkstock][1]
+
+Global server shipments are not expected to return to growth momentum until the third quarter or even the fourth quarter of 2019, according to Taiwan-based tech news site DigiTimes, which cited unnamed server supply chain sources. The one bright spot remains cloud providers like Amazon, Google, and Facebook, which continue their buying binge.
+
+Normally I’d be reluctant to cite such a questionable source, but given most of the OEMs and ODMs are based in Taiwan and DigiTimes (the article is behind a paywall so I cannot link) has shown it has connections to them, I’m inclined to believe them.
+
+Quanta Computer chairman Barry Lam told the publication that Quanta's shipments of cloud servers have risen steadily, compared to sharp declines in shipments of enterprise servers. Lam continued that enterprise servers command only 1-2% of the firm's total server shipments.
+
+**[ Also read:[Gartner: IT spending to drop due to falling equipment prices][2] ]**
+
+[Server shipments began to slow down in the first quarter][3] thanks in part to the impending arrival of second-generation Xeon Scalable processors from Intel. And since it takes a while to get parts and qualify them, this quarter won’t be much better.
+
+In its latest quarterly earnings, Intel's data center group (DCG) said sales declined 6% year over year, the first decline of its kind since the first quarter of 2012 and reversing an average growth of over 20% in the past.
+
+[The Osbourne Effect][4] wasn’t the sole reason. An economic slowdown in China and the trade war, which will add significant tariffs to Chinese-made products, are also hampering sales.
+
+DigiTimes says Inventec, Intel's largest server motherboard supplier, expects shipments of enterprise server motherboards to further lose steams for the rest of the year, while sales of data center servers are expected to grow 10-15% on year in 2019.
+
+**[[Get certified as an Apple Technical Coordinator with this seven-part online course from PluralSight.][5] ]**
+
+It went on to say server shipments may concentrate in the second half or even the fourth quarter of the year, while cloud-based data center servers for the cloud giants will remain positive as demand for edge computing, new artificial intelligence (AI) applications, and the proliferation of 5G applications begin in 2020.
+
+Join the Network World communities on [Facebook][6] and [LinkedIn][7] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3393167/server-shipments-to-pick-up-in-the-second-half-of-2019.html#tk.rss_all
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2017/04/2_data_center_servers-100718306-large.jpg
+[2]: https://www.networkworld.com/article/3391062/it-spending-to-drop-due-to-falling-equipment-prices-gartner-predicts.html
+[3]: https://www.networkworld.com/article/3332144/server-sales-projected-to-slow-while-memory-prices-drop.html
+[4]: https://en.wikipedia.org/wiki/Osborne_effect
+[5]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fapple-certified-technical-trainer-10-11
+[6]: https://www.facebook.com/NetworkWorld/
+[7]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190507 Some IT pros say they have too much data.md b/sources/talk/20190507 Some IT pros say they have too much data.md
new file mode 100644
index 0000000000..a645ae52e9
--- /dev/null
+++ b/sources/talk/20190507 Some IT pros say they have too much data.md
@@ -0,0 +1,66 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Some IT pros say they have too much data)
+[#]: via: (https://www.networkworld.com/article/3393205/some-it-pros-say-they-have-too-much-data.html#tk.rss_all)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Some IT pros say they have too much data
+======
+IT professionals have too many data sources to count, and they spend a huge amount of time wrestling that data into usable condition, a survey from Ivanti finds.
+![Getty Images][1]
+
+A new survey has found that a growing number of IT professionals have too many data sources to even count, and they are spending more and more time just wrestling that data into usable condition.
+
+Ivanti, an IT asset management firm, [surveyed 400 IT professionals on their data situation][2] and found IT faces numerous challenges when it comes to siloes, data, and implementation. The key takeaway is data overload is starting to overwhelm IT managers and data lakes are turning into data oceans.
+
+**[ Read also:[Understanding mass data fragmentation][3] | Get daily insights [Sign up for Network World newsletters][4] ]**
+
+Among the findings from Ivanti's survey:
+
+ * Fifteen percent of IT professionals say they have too many data sources to count, and 37% of professionals said they have about 11-25 different sources for data.
+ * More than half of IT professionals (51%) report they have to work with their data for days, weeks or more before it's actionable.
+ * Only 10% of respondents said the data they receive is actionable within minutes.
+ * One in three respondents said they have the resources to act on their data, but more than half (52%) said they only sometimes have the resources.
+
+
+
+“It’s clear from the results of this survey that IT professionals are in need of a more unified approach when working across organizational departments and resulting silos,” said Duane Newman, vice president of product management at Ivanti, in a statement.
+
+### The problem with siloed data
+
+The survey found siloed data represents a number of problems and challenges. Three key priorities suffer the most: automation (46%), user productivity and troubleshooting (42%), and customer experience (41%). The survey also found onboarding/offboarding suffers the least (20%) due to siloes, so apparently HR and IT are getting things right.
+
+In terms of what they want from real-time insight, about 70% of IT professionals said their security status was the top priority over other issues. Respondents were least interested in real-time insights around warranty data.
+
+### Data lake method a recipe for disaster
+
+I’ve been immersed in this subject for other publications for some time now. Too many companies are hoovering up data for the sake of collecting it with little clue as to what they will do with it later. One thing you have to say about data warehouses, the schema on write at least forces you to think about what you are collecting and how you might use it because you have to store it away in a usable form.
+
+The new data lake method is schema on read, meaning you filter/clean it when you read it into an application, and that’s just a recipe for disaster. If you are looking at data collected a month or a year ago, do you even know what it all is? Now you have to apply schema to data and may not even remember collecting it.
+
+Too many people think more data is good when it isn’t. You just drown in it. When you reach a point of having too many data sources to count, you’ve gone too far and are not going to get insight. You’re going to get overwhelmed. Collect data you know you can use. Otherwise you are wasting petabytes of disk space.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3393205/some-it-pros-say-they-have-too-much-data.html#tk.rss_all
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/03/database_data-center_futuristic-technology-100752012-large.jpg
+[2]: https://www.ivanti.com/blog/survey-it-professionals-data-sources
+[3]: https://www.networkworld.com/article/3262145/lan-wan/customer-reviews-top-remote-access-tools.html#nww-fsb
+[4]: https://www.networkworld.com/newsletters/signup.html#nww-fsb
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190509 Cisco adds AMP to SD-WAN for ISR-ASR routers.md b/sources/talk/20190509 Cisco adds AMP to SD-WAN for ISR-ASR routers.md
new file mode 100644
index 0000000000..a5ec6212d8
--- /dev/null
+++ b/sources/talk/20190509 Cisco adds AMP to SD-WAN for ISR-ASR routers.md
@@ -0,0 +1,74 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco adds AMP to SD-WAN for ISR/ASR routers)
+[#]: via: (https://www.networkworld.com/article/3394597/cisco-adds-amp-to-sd-wan-for-israsr-routers.html#tk.rss_all)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco adds AMP to SD-WAN for ISR/ASR routers
+======
+Cisco SD-WAN now sports Advanced Malware Protection on its popular edge routers, adding to their routing, segmentation, security, policy and orchestration capabilities.
+![vuk8691 / Getty Images][1]
+
+Cisco has added support for Advanced Malware Protection (AMP) to its million-plus ISR/ASR edge routers, in an effort to [reinforce branch and core network malware protection][2] at across the SD-WAN.
+
+Cisco last year added its Viptela SD-WAN technology to the IOS XE version 16.9.1 software that runs its core ISR/ASR routers such as the ISR models 1000, 4000 and ASR 5000, in use by organizations worldwide. Cisco bought Viptela in 2017.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][3]
+ * [How to pick an off-site data-backup method][4]
+ * [SD-Branch: What it is and why you’ll need it][5]
+ * [What are the options for security SD-WAN?][6]
+
+
+
+The release of Cisco IOS XE offered an instant upgrade path for creating cloud-controlled SD-WAN fabrics to connect distributed offices, people, devices and applications operating on the installed base, Cisco said. At the time Cisco said that Cisco SD-WAN on edge routers builds a secure virtual IP fabric by combining routing, segmentation, security, policy and orchestration.
+
+With the recent release of [IOS-XE SD-WAN 16.11][7], Cisco has brought AMP and other enhancements to its SD-WAN.
+
+“Together with Cisco Talos [Cisco’s security-intelligence arm], AMP imbues your SD-WAN branch, core and campuses locations with threat intelligence from millions of worldwide users, honeypots, sandboxes, and extensive industry partnerships,” wrote Cisco’s Patrick Vitalone a product marketing manager in a [blog][8] about the security portion of the new software. “In total, AMP identifies more than 1.1 million unique malware samples a day." When AMP in Cisco SD-WAN spots malicious behavior it automatically blocks it, he wrote.
+
+The idea is to use integrated preventative engines, exploit prevention and intelligent signature-based antivirus to stop malicious attachments and fileless malware before they execute, Vitalone wrote.
+
+AMP support is added to a menu of security features already included in the SD-WAN software including support for URL filtering, [Cisco Umbrella][9] DNS security, Snort Intrusion Prevention, the ability to segment users across the WAN and embedded platform security, including the [Cisco Trust Anchor][10] module.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][11] ]**
+
+The software also supports [SD-WAN Cloud onRamp for CoLocation][12], which lets customers tie distributed multicloud applications back to a local branch office or local private data center. That way a cloud-to-branch link would be shorter, faster and possibly more secure that tying cloud-based applications directly to the data center.
+
+“The idea that this kind of security technology is now integrated into Cisco’s SD-WAN offering is a critical for Cisco and customers looking to evaluate SD-WAN offerings,” said Lee Doyle, principal analyst at Doyle Research.
+
+IOS-XE SD-WAN 16.11 is available now.
+
+Join the Network World communities on [Facebook][13] and [LinkedIn][14] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3394597/cisco-adds-amp-to-sd-wan-for-israsr-routers.html#tk.rss_all
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/09/shimizu_island_el_nido_palawan_philippines_by_vuk8691_gettyimages-155385042_1200x800-100773533-large.jpg
+[2]: https://www.networkworld.com/article/3285728/what-are-the-options-for-securing-sd-wan.html
+[3]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[4]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[5]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[6]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[7]: https://www.cisco.com/c/en/us/td/docs/routers/sdwan/release/notes/xe-16-11/sd-wan-rel-notes-19-1.html
+[8]: https://blogs.cisco.com/enterprise/enabling-amp-in-cisco-sd-wan
+[9]: https://www.networkworld.com/article/3167837/cisco-umbrella-cloud-service-shapes-security-for-cloud-mobile-resources.html
+[10]: https://www.cisco.com/c/dam/en_us/about/doing_business/trust-center/docs/trustworthy-technologies-datasheet.pdf
+[11]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[12]: https://www.networkworld.com/article/3393232/cisco-boosts-sd-wan-with-multicloud-to-branch-access-system.html
+[13]: https://www.facebook.com/NetworkWorld/
+[14]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190509 When it comes to uptime, not all cloud providers are created equal.md b/sources/talk/20190509 When it comes to uptime, not all cloud providers are created equal.md
new file mode 100644
index 0000000000..8f9db8a94b
--- /dev/null
+++ b/sources/talk/20190509 When it comes to uptime, not all cloud providers are created equal.md
@@ -0,0 +1,83 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (When it comes to uptime, not all cloud providers are created equal)
+[#]: via: (https://www.networkworld.com/article/3394341/when-it-comes-to-uptime-not-all-cloud-providers-are-created-equal.html#tk.rss_all)
+[#]: author: (Zeus Kerravala https://www.networkworld.com/author/Zeus-Kerravala/)
+
+When it comes to uptime, not all cloud providers are created equal
+======
+Cloud uptime is critical today, but vendor-provided data can be confusing. Here's an analysis of how AWS, Google Cloud and Microsoft Azure compare.
+![Getty Images][1]
+
+The cloud is not just important; it's mission-critical for many companies. More and more IT and business leaders I talk to look at public cloud as a core component of their digital transformation strategies — using it as part of their hybrid cloud or public cloud implementation.
+
+That raises the bar on cloud reliability, as a cloud outage means important services are not available to the business. If this is a business-critical service, the company may not be able to operate while that key service is offline.
+
+Because of the growing importance of the cloud, it’s critical that buyers have visibility into the reliability number for the cloud providers. The challenge is the cloud providers don't disclose the disruptions in a consistent manner. In fact, some are confusing to the point where it’s difficult to glean any kind of meaningful conclusion.
+
+**[ RELATED:[What IT pros need to know about Azure Stack][2] and [Which cloud performs better, AWS, Azure or Google?][3] | Get regularly scheduled insights: [Sign up for Network World newsletters][4] ]**
+
+### Reported cloud outage times don't always reflect actual downtime
+
+Microsoft Azure and Google Cloud Platform (GCP) both typically provide information on date and time, but only high-level data on the services affected and sparse information on regional impact. The problem with that is it’s difficult to get a sense of overall reliability. For instance, if Azure reports a one-hour outage that impacts five services in three regions, the website might show just a single hour. In actuality, that’s 15 hours of total downtime.
+
+Between Azure, GCP and Amazon Web Services (AWS), [Azure is the most obscure][5], as it provides the least amount of detail. [GCP does a better job of providing detail][6] at the service level but tends to be obscure with regional information. Sometimes it’s very clear as to what services are unavailable, and other times it’s not.
+
+[AWS has the most granular reporting][7], as it shows every service in every region. If an incident occurs that impacts three services, all three of those services would light up red. If those were unavailable for one hour, AWS would record three hours of downtime.
+
+Another inconsistency between the cloud providers is the amount of historical downtime data that is available. At one time, all three of the cloud vendors provided a one-year view into outages. GCP and AWS still do this, but Azure moved to only a [90-day view][5] sometime over the past year.
+
+### Azure has significantly higher downtime than GCP and AWS
+
+The next obvious question is who has the most downtime? To answer that, I worked with a third-party firm that has continually collected downtime information directly from the vendor websites. I have personally reviewed the information and can validate its accuracy. Based on the vendors own reported numbers, from the beginning of 2018 through May 3, 2019, AWS leads the pack with only 338 hours of downtime, followed by GCP closely at 361. Microsoft Azure has a whopping total of 1,934 hours of self-reported downtime.
+
+![][8]
+
+A few points on these numbers. First, this is an aggregation of the self-reported data from the vendors' websites, which isn’t the “true” number, as regional information or service granularity is sometimes obscured. If a service is unavailable for an hour and it’s reported for an hour on the website but it spanned five regions, correctly five hours should have been used. But for this calculation, we used only one hour because that is what was self-reported.
+
+Because of this, the numbers are most favorable to Microsoft because they provide the least amount of regional information. The numbers are least favorable to AWS because they provide the most granularity. Also, I believe AWS has the most services in most regions, so they have more opportunities for an outage.
+
+We had considered normalizing the data, but that would require a significant amount of work to destruct the downtime on a per service per region basis. I may choose to do that in the future, but for now, the vendor-reported view is a good indicator of relative performance.
+
+Another important point is that only infrastructure as a service (IaaS) services were used to calculate downtime. If Google Street View or Bing Maps went down, most businesses would not care, so it would have been unfair to roll those number in.
+
+### SLAs do not correlate to reliability
+
+Given the importance of cloud services today, I would like to see every cloud provider post a 12-month running total of downtime somewhere on their website so customers can do an “apples to apples” comparison. This obviously isn’t the only factor used in determining which cloud provider to use, but it is one of the more critical ones.
+
+Also, buyers should be aware that there is a big difference between service-level agreements (SLAs) and downtime. A cloud operator can promise anything they want, even provide a 100% SLA, but that just means they need to reimburse the business when a service isn’t available. Most IT leaders I have talked to say the few bucks they get back when a service is out is a mere fraction of what the outage actually cost them.
+
+### Measure twice and cut once to minimize business disruption
+
+If you’re reading this and you’re researching cloud services, it’s important to not just make the easy decision of buying for convenience. Many companies look at Azure because Microsoft gives away Azure credits as part of the Enterprise Agreement (EA). I’ve interviewed several companies that took the path of least resistance, but they wound up disappointed with availability and then switched to AWS or GCP later, which can have a disruptive effect.
+
+I’m certainly not saying to not buy Microsoft Azure, but it is important to do your homework to understand the historical performance of the services you’re considering in the regions you need them. The information on the vendor websites may not tell the full picture, so it’s important to do the necessary due diligence to ensure you understand what you’re buying before you buy it.
+
+Join the Network World communities on [Facebook][9] and [LinkedIn][10] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3394341/when-it-comes-to-uptime-not-all-cloud-providers-are-created-equal.html#tk.rss_all
+
+作者:[Zeus Kerravala][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Zeus-Kerravala/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/cloud_comput_connect_blue-100787048-large.jpg
+[2]: https://www.networkworld.com/article/3208029/azure-stack-microsoft-s-private-cloud-platform-and-what-it-pros-need-to-know-about-it
+[3]: https://www.networkworld.com/article/3319776/the-network-matters-for-public-cloud-performance.html
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://azure.microsoft.com/en-us/status/history/
+[6]: https://status.cloud.google.com/incident/appengine/19008
+[7]: https://status.aws.amazon.com/
+[8]: https://images.idgesg.net/images/article/2019/05/public-cloud-downtime-100795948-large.jpg
+[9]: https://www.facebook.com/NetworkWorld/
+[10]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190510 Supermicro moves production from China.md b/sources/talk/20190510 Supermicro moves production from China.md
new file mode 100644
index 0000000000..21739fa416
--- /dev/null
+++ b/sources/talk/20190510 Supermicro moves production from China.md
@@ -0,0 +1,58 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Supermicro moves production from China)
+[#]: via: (https://www.networkworld.com/article/3394404/supermicro-moves-production-from-china.html#tk.rss_all)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Supermicro moves production from China
+======
+Supermicro was cleared of any activity related to the Chinese government and secret chips in its motherboards, but it is taking no chances and is moving its facilities.
+![Frank Schwichtenberg \(CC BY 4.0\)][1]
+
+Server maker Supermicro, based in Fremont, California, is reportedly moving production out of China over customer concerns that the Chinese government had secretly inserted chips for spying into its motherboards.
+
+The claims were made by Bloomberg late last year in a story that cited more than 100 sources in government and private industry, including Apple and Amazon Web Services (AWS). However, Apple CEO Tim Cook and AWS CEO Andy Jassy denied the claims and called for Bloomberg to retract the article. And a few months later, the third-party investigations firm Nardello & Co examined the claims and [cleared Supermicro][2] of any surreptitious activity.
+
+At first it seemed like Supermicro was weathering the storm, but the story did have a negative impact. Server sales have fallen since the Bloomberg story, and the company is forecasting a near 10% decline in total revenues for the March quarter compared to the previous three months.
+
+**[ Also read:[Who's developing quantum computers][3] ]**
+
+And now, Nikkei Asian Review reports that despite the strong rebuttals, some customers remain cautious about the company's products. To address those concerns, Nikkei says Supermicro has told suppliers to [move production out of China][4], citing industry sources familiar with the matter.
+
+It also has the side benefit of mitigating against the U.S.-China trade war, which is only getting worse. Since the tariffs are on the dollar amount of the product, that can quickly add up even for a low-end system, as Serve The Home noted in [this analysis][5].
+
+Supermicro is the world's third-largest server maker by shipments, selling primarily to cloud providers like Amazon and Facebook. It does its own assembly in its Fremont facility but outsources motherboard production to numerous suppliers, mostly China and Taiwan.
+
+"We have to be more self-reliant [to build in-house manufacturing] without depending only on those outsourcing partners whose production previously has mostly been in China," an executive told Nikkei.
+
+Nikkei notes that roughly 90% of the motherboards shipped worldwide in 2017 were made in China, but that percentage dropped to less than 50% in 2018, according to Digitimes Research, a tech supply chain specialist based in Taiwan.
+
+Supermicro just held a groundbreaking ceremony in Taiwan for a 800,000 square foot manufacturing plant in Taiwan and is expanding its San Jose, California, plant as well. So, they must be anxious to be free of China if they are willing to expand in one of the most expensive real estate markets in the world.
+
+A Supermicro spokesperson said via email, “We have been expanding our manufacturing capacity for many years to meet increasing customer demand. We are currently constructing a new Green Computing Park building in Silicon Valley, where we are the only Tier 1 solutions vendor manufacturing in Silicon Valley, and we proudly broke ground this week on a new manufacturing facility in Taiwan. To support our continued global growth, we look forward to expanding in Europe as well.”
+
+Join the Network World communities on [Facebook][6] and [LinkedIn][7] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3394404/supermicro-moves-production-from-china.html#tk.rss_all
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/supermicro_-_x11sae__cebit_2016_01-100796121-large.jpg
+[2]: https://www.networkworld.com/article/3326828/investigator-finds-no-evidence-of-spy-chips-on-super-micro-motherboards.html
+[3]: https://www.networkworld.com/article/3275385/who-s-developing-quantum-computers.html
+[4]: https://asia.nikkei.com/Economy/Trade-war/Server-maker-Super-Micro-to-ditch-made-in-China-parts-on-spy-fears
+[5]: https://www.servethehome.com/how-tariffs-hurt-intel-xeon-d-atom-and-amd-epyc-3000/
+[6]: https://www.facebook.com/NetworkWorld/
+[7]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190513 HPE-s CEO lays out his technology vision.md b/sources/talk/20190513 HPE-s CEO lays out his technology vision.md
new file mode 100644
index 0000000000..c9a8de9c8a
--- /dev/null
+++ b/sources/talk/20190513 HPE-s CEO lays out his technology vision.md
@@ -0,0 +1,162 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (HPE’s CEO lays out his technology vision)
+[#]: via: (https://www.networkworld.com/article/3394879/hpe-s-ceo-lays-out-his-technology-vision.html)
+[#]: author: (Eric Knorr )
+
+HPE’s CEO lays out his technology vision
+======
+In an exclusive interview, HPE CEO Antonio Neri unpacks his portfolio of technology initiatives, from edge computing to tomorrow’s memory-driven architecture.
+![HPE][1]
+
+Like Microsoft's Satya Nadella, HPE CEO Antonio Neri is a technologist with a long history of leading initiatives in his company. Meg Whitman, his former boss at HPE, showed her appreciation of Neri’s acumen by promoting him to HPE Executive Vice President in 2015 – and gave him the green light to acquire [Aruba][2], [SimpliVity][3], [Nimble Storage][4], and [Plexxi][5], all of which added key items to HPE’s portfolio.
+
+Neri succeeded Whitman as CEO just 16 months ago. In a recent interview with Network World, Neri’s engineering background was on full display as he explained HPE’s technology roadmap. First and foremost, he sees a huge opportunity in [edge computing][6], into which HPE is investing $4 billion over four years to further develop edge “connectivity, security, and obviously cloud and analytics.”
+
+**More about edge networking**
+
+ * [How edge networking and IoT will reshape data centers][7]
+ * [Edge computing best practices][8]
+ * [How edge computing can help secure the IoT][9]
+
+
+
+Although his company abandoned its public cloud efforts in 2015, Neri is also bullish on the self-service “cloud experience,” which he asserts HPE is already implementing on-prem today in a software-defined, consumption-driven model. More fundamentally, he believes we are on the brink of a memory-driven computing revolution, where storage and memory become one and, depending on the use case, various compute engines are brought to bear on zettabytes of data.
+
+This interview, conducted by Network World Editor-in-Chief Eric Knorr and edited for length and clarity, digs into Neri’s technology vision. [A companion interview on CIO][10] centers on Neri’s views of innovation, management, and company culture.
+
+**Eric Knorr: ** Your biggest and highest profile investment so far has been in edge computing. My understanding of edge computing is that we’re really talking about mini-data centers, defined by IDC as less than 100 square feet in size. What’s the need for a $4 billion investment in that?
+
+**Antonio Neri:** It’s twofold. We focus first on connectivity. Think about Aruba as a platform company, a cloud-enabled company. Now we offer branch solutions and edge data center solutions that include [wireless][11], LAN, [WAN][12] connectivity and soon [5G][13]. We give you a control plane so that that connectivity experience can be seen consistently the same way. All the policy management, the provisioning and the security aspects of it.
+
+**Knorr:** Is 5G a big focus?
+
+**[[Get certified as an Apple Technical Coordinator with this seven-part online course from PluralSight.][14] ]**
+
+**Neri:** It’s a big focus for us. What customers are telling us is that it’s hard to get 5G inside the building. How you do hand off between 5G and Wi-Fi and give them the same experience? Because the problem is that we have LAN, wireless, and WAN already fully integrated into the control plane, but 5G sits over here. If you are an enterprise, you have to manage these two pipes independently.
+
+With the new spectrum, though, they are kind of comingling anyway. [Customers ask] why don’t you give me [a unified] experience on top of that, with all this policy management and cloud-enablement, so I can provision the right connectivity for the right use case? A sensor can use a lower radio access or [Bluetooth][15] or other type of connectivity because you don’t need persistent connectivity and you don’t have the power to do it.
+
+In some cases, you just put a SIM on it, and you have 5G, but in another one it’s just wireless connectivity. Wi-Fi connectivity is significantly lower cost than 5G. The use cases will dictate what type of connectivity you need, but the reality is they all want one experience. And we can do that because we have a great platform and a great partnership with MSPs, telcos, and providers.
+
+**Knorr:** So it sounds like much of your investment is going into that integration.
+
+**Neri:** The other part is how we provide the ability to provision the right cloud computing at the edge for the right use cases. Think about, for example, a manufacturing floor. We can converge the OT and IT worlds through a converged infrastructure aspect that digitizes the analog process into a digital process. We bring the cloud compute in there, which is fully virtualized and containerized, we integrate Wi-Fi connectivity or LAN connectivity, and we eliminate all these analog processes that are multi-failure touchpoints because you have multiple things that have to come together.
+
+That’s a great example of a cloud at the edge. And maybe that small cloud is connected to a big cloud which could be in the large data center, which the customer owns – or it can be one of the largest public cloud providers.
+
+**Knorr:** It’s difficult to talk about the software-defined data center and private cloud without talking about [VMware][16]. Where do your software-defined solutions leave off and where does VMware begin?
+
+**Neri:** Where we stop is everything below the hypervisor, including the software-defined storage and things like SimpliVity. That has been the advantage we’ve had with [HPE OneView][17], so we can provision and manage the infrastructure-life-cycle and software-defined aspects at the infrastructure level. And let’s not forget security, because we’ve integrated [silicon root of trust][18] into our systems, which is a good advantage for us in the government space.
+
+Then above that we continue to develop capabilities. Customers want choice. That’s why [the partnership with Nutanix][19] was important. We offer an alternative to vSphere and vCloud Foundation with Nutanix Prism and Acropolis.
+
+**Knorr:** VMware has become the default for the private cloud, though.
+
+**Neri:** Obviously, VMware owns 60 percent of the on-prem virtualized environment, but more and more, containers are becoming the way to go in a cloud-native approach. For us, we own the full container stack, because we base our solution on Kubernetes. We deploy that. That’s why the partnership with Nutanix is important. With Nutanix, we offer KVM and the Prism stack and then we’re fully integrated with HPE OneView for the rest of the infrastructure.
+
+**Knorr:** You also offer GKE [Google [Kubernetes][20] Engine] on-prem.
+
+**Neri:** Correct. We’re working with Google on the next version of that.
+
+**Knorr:** How long do you think it will be before you start seeing Kubernetes and containers on bare metal?
+
+**Neri:** It’s an interesting question. Many customers tell us it’s like going back to the future. It’s like we’re paying this tax on the virtualization layer.
+
+**Knorr:** Exactly.
+
+**Neri:** I can go bare metal and containers and be way more efficient. It is a little bit back to the future. But it’s a different future.
+
+**Knorr:** And it makes the promise of [hybrid cloud][21] a little more real. I know HPE has been very bullish on hybrid.
+
+**Neri:** We have been the one to say the world would be hybrid.
+
+**Knorr:** But today, how hybrid is hybrid really? I mean, you have workloads in the public cloud, you have workloads in a [private cloud][22]. Can you really rope it all together into hybrid?
+
+**Neri:** I think you have to have portability eventually.
+
+**Knorr:** Eventually. It’s not really true now, though.
+
+**Neri:** No, not true now. If you look at it from the software brokering perspective that makes hybrid very small. We know this eventually has to be all connected, but it’s not there yet. More and more of these workloads have to go back and forth.
+
+If you ask me what the CIO role of the future will look like, it would be a service provider. I wake up in the morning, have a screen that says – oh, you know what? Today it’s cheaper to run that app here. I just slice it there and then it just moves. Whatever attributes on the data I want to manage and so forth – oh, today I have capacity here and by the way, why are you not using it? Slide it back here. That’s the hybrid world.
+
+Many people, when they started with the cloud, thought, “I’ll just virtualize everything,” but that’s not the cloud. You’re [virtualizing][23], but you have to make it self-service. Obviously, cloud-native applications have developed that are different today. That’s why containers are definitely a much more efficient way, and that’s why I agree that the bare-metal piece of this is coming back.
+
+**Knorr:** Do you worry about public cloud incursions into the [data center][24]?
+
+**Neri:** It’s happening. Of course I’m worried. But what at least gives me comfort is twofold. One is that the customer wants choice. They don’t want to be locked in. Service is important. It’s one thing to say: Here’s the system. The other is: Who’s going to maintain it for me? Who is going to run it for me? And even though you have all the automation tools in the world, somebody has to watch this thing. Our job is to bring the public-cloud experience on prem, so that the customer has that choice.
+
+**Knorr:** Part of that is economics.
+
+**Neri:** When you look at economics it’s no longer just the cost of compute anymore. What we see more and more is the cost of the data bandwidth back and forth. That’s why the first question a customer asks is: Where should I put my data? And that dictates a lot of things, because today the data transfer bill is way higher than the cost of renting a VM.
+
+The other thing is that when you go on the public cloud you can spin up a VM, but the problem is if you don’t shut it off, the bill keeps going. We brought, in the context of [composability][25], the ability to shut it off automatically. That’s why composability is important, because we can run, first of all, multi-workloads in the same infrastructure – whether it’s bare metal, virtualized or containerized. It’s called composable because the software layers of intelligence compose the right solutions from compute, storage, fabric and memory to that workload. When it doesn’t need it, it gives it back.
+
+**Knorr:** Is there any opportunity left at the hardware level to innovate?
+
+**Neri:** That’s why we think about memory-driven computing. Today we have a very CPU-centric approach. This is a limiting factor, and the reality is, if you believe data is the core of the architecture going forward, then the CPU can’t be the core of the architecture anymore.
+
+You have a bunch of inefficiency by moving data back and forth across the system, which also creates energy waste and so forth. What we are doing is basically rearchitecting this for once in 70 years. We take memory and storage and collapse the two into one, so this becomes one central pool, which is nonvolatile and becomes the core. And then we bring the right computing capability to the data.
+
+In an AI use case, you don’t move the data. You bring accelerators or GPUs to the data. For general purpose, you may use an X86, and maybe in video transcoding, you use an ARM-based architecture. The magic is this: You can do this on zettabytes of data and the benefit is there is no waste, very little power to keep it alive, and it’s persistent.
+
+We call this the Generation Z fabric, which is based on a data fabric and silicon photonics. Now we go from copper, which is generating a lot of waste and a lot of heat and energy, to silicon photonics. So we not only scale this to zettabytes, we can do massive amounts of computation by bringing the right compute at the speed that’s needed to the data – and we solve a cost and scale problem too, because copper today costs a significant amount of money, and gold-plated connectors are hundreds of dollars.
+
+We’re going to actually implement this capability in silicon photonics in our current architectures by the end of the year. In Synergy, for example, which is a composable blade system, at the back of the rack you can swap from Ethernet to silicon photonics. It was designed that way. We already prototyped this in a simple 2U chassis with 160 TB of memory and 2000 cores. We were able to process a billion-record database with 55 million combinations of algorithms in less than a minute.
+
+**Knorr:** So you’re not just focusing on the edge, but the core, too.
+
+**Neri:** As you go down from the cloud to the edge, that architecture actually scales to the smallest things. You can do it on a massive scale or you can do it on a small scale. We will deploy these technologies in our systems architectures now. Once the whole ecosystem is developed, because we also need an ISV ecosystem that can code applications in this new world or you’re not taking advantage of it. Also, the current Linux kernel can only handle so much memory, so you have to rewrite the kernel. We are working with two universities to do that.
+
+The hardware will continue to evolve and develop, but there still is a lot of innovation that has to happen. What’s holding us back, honestly, is the software.
+
+**Knorr:** And that’s where a lot of your investment is going?
+
+**Neri:** Correct. Exactly right. Systems software, not application software. It’s the system software that makes this infrastructure solution-oriented, workload-optimized, autonomous and efficient.
+
+Join the Network World communities on [Facebook][26] and [LinkedIn][27] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3394879/hpe-s-ceo-lays-out-his-technology-vision.html
+
+作者:[Eric Knorr][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/antonio-neri_hpe_new-100796112-large.jpg
+[2]: https://www.networkworld.com/article/2891130/aruba-networks-is-different-than-hps-failed-wireless-acquisitions.html
+[3]: https://www.networkworld.com/article/3158784/hpe-buying-simplivity-for-650-million-to-boost-hyperconvergence.html
+[4]: https://www.networkworld.com/article/3177376/hpe-to-pay-1-billion-for-nimble-storage-after-cutting-emc-ties.html
+[5]: https://www.networkworld.com/article/3273113/hpe-snaps-up-hyperconverged-network-hcn-vendor-plexxi.html
+[6]: https://www.networkworld.com/article/3224893/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[7]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[8]: https://www.networkworld.com/article/3331978/lan-wan/edge-computing-best-practices.html
+[9]: https://www.networkworld.com/article/3331905/internet-of-things/how-edge-computing-can-help-secure-the-iot.html
+[10]: https://www.cio.com/article/3394598/hpe-ceo-antonio-neri-rearchitects-for-the-future.html
+[11]: https://www.networkworld.com/article/3238664/80211-wi-fi-standards-and-speeds-explained.html
+[12]: https://www.networkworld.com/article/3248989/what-is-a-wide-area-network-a-definition-examples-and-where-wans-are-headed.html
+[13]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+[14]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fapple-certified-technical-trainer-10-11
+[15]: https://www.networkworld.com/article/3235124/internet-of-things-definitions-a-handy-guide-to-essential-iot-terms.html
+[16]: https://www.networkworld.com/article/3340259/vmware-s-transformation-takes-hold.html
+[17]: https://www.networkworld.com/article/2174203/hp-expands-oneview-into-vmware-environs.html
+[18]: https://www.networkworld.com/article/3199826/hpe-highlights-innovation-in-software-defined-it-security-at-discover.html
+[19]: https://www.networkworld.com/article/3388297/hpe-and-nutanix-partner-for-hyperconverged-private-cloud-systems.html
+[20]: https://www.infoworld.com/article/3268073/what-is-kubernetes-container-orchestration-explained.html
+[21]: https://www.networkworld.com/article/3268448/what-is-hybrid-cloud-really-and-whats-the-best-strategy.html
+[22]: https://www.networkworld.com/article/2159885/cloud-computing-gartner-5-things-a-private-cloud-is-not.html
+[23]: https://www.networkworld.com/article/3285906/whats-the-future-of-server-virtualization.html
+[24]: https://www.networkworld.com/article/3223692/what-is-a-data-centerhow-its-changed-and-what-you-need-to-know.html
+[25]: https://www.networkworld.com/article/3266106/what-is-composable-infrastructure.html
+[26]: https://www.facebook.com/NetworkWorld/
+[27]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190513 Top auto makers rely on cloud providers for IoT.md b/sources/talk/20190513 Top auto makers rely on cloud providers for IoT.md
new file mode 100644
index 0000000000..5adf5f65a7
--- /dev/null
+++ b/sources/talk/20190513 Top auto makers rely on cloud providers for IoT.md
@@ -0,0 +1,53 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Top auto makers rely on cloud providers for IoT)
+[#]: via: (https://www.networkworld.com/article/3395137/top-auto-makers-rely-on-cloud-providers-for-iot.html)
+[#]: author: (Jon Gold https://www.networkworld.com/author/Jon-Gold/)
+
+Top auto makers rely on cloud providers for IoT
+======
+
+For the companies looking to implement the biggest and most complex [IoT][1] setups in the world, the idea of pairing up with [AWS][2], [Google Cloud][3] or [Azure][4] seems to be one whose time has come. Within the last two months, BMW and Volkswagen have both announced large-scale deals with Microsoft and Amazon, respectively, to help operate their extensive network of operational technology.
+
+According to Alfonso Velosa, vice president and analyst at Gartner, part of the impetus behind those two deals is that the automotive sector fits in very well with the architecture of the public cloud. Public clouds are great at collecting and processing data from a diverse array of different sources, whether they’re in-vehicle sensors, dealerships, mechanics, production lines or anything else.
+
+**[ RELATED:[What hybrid cloud means in practice][5]. | Get regularly scheduled insights by [signing up for Network World newsletters][6]. ]**
+
+“What they’re trying to do is create a broader ecosystem. They think they can leverage the capabilities from these folks,” Velosa said.
+
+### Cloud providers as IoT partners
+
+The idea is automated analytics for service and reliability data, manufacturing and a host of other operational functions. And while the full realization of that type of service is still very much a work in progress, it has clear-cut advantages for big companies – a skilled partner handling tricky implementation work, built-in capability for sophisticated analytics and security, and, of course, the ability to scale up in a big way.
+
+Hence, the structure of the biggest public clouds has upside for many large-scale IoT deployments, not just the ones taking place in the auto industry. The cloud giants have vast infrastructures, with multiple points of presence all over the world.
+
+To continue reading this article register now
+
+[Get Free Access][7]
+
+[Learn More][8] Existing Users [Sign In][7]
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3395137/top-auto-makers-rely-on-cloud-providers-for-iot.html
+
+作者:[Jon Gold][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Jon-Gold/
+[b]: https://github.com/lujun9972
+[1]: https://www.networkworld.com/article/3207535/what-is-iot-how-the-internet-of-things-works.html
+[2]: https://www.networkworld.com/article/3324043/aws-does-hybrid-cloud-with-on-prem-hardware-vmware-help.html
+[3]: https://www.networkworld.com/article/3388218/cisco-google-reenergize-multicloudhybrid-cloud-joint-development.html
+[4]: https://www.networkworld.com/article/3385078/microsoft-introduces-azure-stack-for-hci.html
+[5]: https://www.networkworld.com/article/3249495/what-hybrid-cloud-mean-practice
+[6]: https://www.networkworld.com/newsletters/signup.html
+[7]: javascript://
+[8]: /learn-about-insider/
diff --git a/sources/talk/20190514 Brillio and Blue Planet Partner to Bring Network Automation to the Enterprise.md b/sources/talk/20190514 Brillio and Blue Planet Partner to Bring Network Automation to the Enterprise.md
new file mode 100644
index 0000000000..e821405199
--- /dev/null
+++ b/sources/talk/20190514 Brillio and Blue Planet Partner to Bring Network Automation to the Enterprise.md
@@ -0,0 +1,56 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Brillio and Blue Planet Partner to Bring Network Automation to the Enterprise)
+[#]: via: (https://www.networkworld.com/article/3394687/brillio-and-blue-planet-partner-to-bring-network-automation-to-the-enterprise.html)
+[#]: author: (Rick Hamilton, Senior Vice President, Blue Planet Software )
+
+Brillio and Blue Planet Partner to Bring Network Automation to the Enterprise
+======
+Rick Hamilton, senior vice president of Blue Planet, a division of Ciena, explains how partnering with Brillio brings the next generation of network capabilities to enterprises—just when they need it most.
+![Kritchanut][1]
+
+![][2]
+
+_Rick Hamilton, senior vice president of Blue Planet, a division of Ciena, explains how partnering with Brillio brings the next generation of network capabilities to enterprises—just when they need it most._
+
+In February 2019, we announced that Blue Planet was evolving into a more independent division, helping us increase our focus on innovative intelligent automation solutions that help our enterprise and service provider customers accelerate and achieve their business transformation goals.
+
+Today we’re excited to make another leap forward in delivering these benefits to enterprises of all types via our partnership with digital transformation services and solutions leader Brillio. Together, we are co-creating intelligent cloud and network management solutions that increase service visibility and improve service assurance by effectively leveraging the convergence of cloud, IoT, and AI.
+
+**Accelerating digital transformation in the enterprise**
+
+Enterprises continue to look toward cloud services to create new and incremental revenue streams based on innovative solution offerings and on-demand product/solution delivery models, and to optimize their infrastructure investments. In fact, Gartner predicts that enterprise IT spending for cloud-based offerings will continue to grow faster than non-cloud IT offerings, making up 28% of spending by 2022, up from 19% in 2018.
+
+As enterprises adopt cloud, they realize there are many challenges associated with traditional approaches to operating and managing complex and hybrid multi-cloud environments. Our partnership with Brillio enables us to help these organizations across industries such as manufacturing, logistics, retail, and financial services meet their technical and business needs with high-impact solutions that improve customer experiences, drive operational efficiencies, and improve quality of service.
+
+This is achieved by combining the Blue Planet intelligent automation platform and the Brillio CLIP™services delivery excellence platform and user-centered design (UCD) lead solution framework. Together, we offer end-to-end visibility of application and infrastructure assets in a hybrid multi-cloud environment and provide service assurance and self-healing capabilities that improve network and service availability.
+
+**Partnering on research and development**
+
+Brillio will also partner with Blue Planet on longer-term R&D efforts. As one of a preferred product engineering services providers, Brillio will work closely with our engineering team to develop and deliver network intelligence and automation solutions to help enterprises build dynamic, programmable infrastructure that leverage analytics and automation to realize the Adaptive Network vision.
+
+Of course, a partnership like this is a two-way street, and we consider Brillio’s choice to work with us to be a testament to our expertise, vision, and execution. In the words of Brillio Chairman and CEO Raj Mamodia, “Blue Planet’s experience in end-to-end service orchestration coupled with Brillio’s expertise in cloudification, user-centered enterprise solutions design, and rapid software development delivers distinct advantages to the industry. Through integration of technologies like cloud, IoT, and AI into our combined solutions, our partnership spurs greater innovation and helps us address the large and growing enterprise networking automation market.”
+
+Co-creating intelligent hybrid cloud and network management solutions with Brillio is key to advancing enterprise digital transformation initiatives. Partnering with Brillio helps us address the plethora of challenges facing enterprises today on their digital journey. Our partnership enables Blue Planet to achieve faster time-to-market and greater efficiency in developing new solutions to enable enterprises to continue to thrive and grow.
+
+[Learn more about Blue Planet here][3]
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3394687/brillio-and-blue-planet-partner-to-bring-network-automation-to-the-enterprise.html
+
+作者:[Rick Hamilton, Senior Vice President, Blue Planet Software][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/istock-952625346-100796314-large.jpg
+[2]: https://images.idgesg.net/images/article/2019/05/rick-100796315-small.jpg
+[3]: https://www.blueplanet.com/?utm_campaign=X1058319&utm_source=NWW&utm_term=BPWeb_Brillio&utm_medium=sponsoredpost3Q19
diff --git a/sources/talk/20190514 Las Vegas targets transport, public safety with IoT deployments.md b/sources/talk/20190514 Las Vegas targets transport, public safety with IoT deployments.md
new file mode 100644
index 0000000000..84a563c8bc
--- /dev/null
+++ b/sources/talk/20190514 Las Vegas targets transport, public safety with IoT deployments.md
@@ -0,0 +1,65 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Las Vegas targets transport, public safety with IoT deployments)
+[#]: via: (https://www.networkworld.com/article/3395536/las-vegas-targets-transport-public-safety-with-iot-deployments.html)
+[#]: author: (Jon Gold https://www.networkworld.com/author/Jon-Gold/)
+
+Las Vegas targets transport, public safety with IoT deployments
+======
+
+![Franck V. \(CC0\)][1]
+
+The city of Las Vegas’ pilot program with NTT and Dell, designed to crack down on wrong-way driving on municipal roads, is just part of the big plans that Sin City has for leveraging IoT tech in the future, according to the city's director of technology Michael Sherwood, who sat down with Network World at the IoT World conference in Silicon Valley this week.
+
+The system uses smart cameras and does most of its processing at the edge, according to Sherwood. The only information that gets sent back to the city’s private cloud is metadata – aggregated information about overall patterns, for decision-making and targeting purposes, not data about individual traffic incidents and wrong-way drivers.
+
+**[ Also see[What is edge computing?][2] and [How edge networking and IoT will reshape data centers][3].]**
+
+It’s an important public safety consideration, he said, but it’s a small part of the larger IoT-enabled framework that the city envisions for the future.
+
+“Our goal is to make our data open to the public, not only for transparency purposes, but to help spur development and create new applications to make Vegas a better place to live,” said Sherwood.
+
+[The city’s public data repository][4] already boasts a range of relevant data, some IoT-generated, some not. And efforts to make that data store more open have already begun to bear fruit, according to Sherwood. For example, one hackathon about a year ago resulted in an Alexa app that tells users how many traffic lights are out, by tracking energy usage data via the city’s portal, among other applications.
+
+As with IoT in general, Sherwood said that the city’s efforts have been bolstered by an influx of operational talen. Rather than additional IT staff to run the new systems, they’ve brought in experts from the traffic department to help get the most out of the framework.
+
+Another idea for leveraging the city’s traffic data involves tracking the status of the curb. Given the rise of Uber and Lyft and other on-demand transportation services, linking a piece of camera-generated information like “rideshares are parked along both sides of this street” directly into a navigation app could help truck drivers avoid gridlock.
+
+“We’re really looking to make the roads a living source of information,” Sherwood said.
+
+**Safer parks**
+
+Las Vegas is also pursuing related public safety initiatives. One pilot project aims to make public parks safer by installing infrared cameras so authorities can tell whether people are in parks after hours without incurring undue privacy concerns, given that facial recognition is very tricky in infrared.
+
+It’s the test-and-see method of IoT development, according to Sherwood.
+
+“That’s a way of starting with an IoT project: start with one park. The cost to do something like this is not astronomical, and it allows you to gauge some other information from it,” he said.
+
+The city has also worked to keep the costs of these projects low or even show a returnon investment, Sherwood added. Workforce development programs could train municipal workers to do simple maintenance on smart cameras in parks or along roadways, and the economic gains made from the successful use of the systems ought to outweigh deployment and operational outlay.
+
+“If it’s doing it’s job, those efficiencies should cover the system’s cost,” he said.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3395536/las-vegas-targets-transport-public-safety-with-iot-deployments.html
+
+作者:[Jon Gold][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Jon-Gold/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/07/pedestrian-walk-sign_go_start_begin_traffic-light_by-franck-v-unsplaash-100765089-large.jpg
+[2]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[3]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[4]: https://opendata.lasvegasnevada.gov/
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190514 Mobility and SD-WAN, Part 1- SD-WAN with 4G LTE is a Reality.md b/sources/talk/20190514 Mobility and SD-WAN, Part 1- SD-WAN with 4G LTE is a Reality.md
new file mode 100644
index 0000000000..1ecd68fa41
--- /dev/null
+++ b/sources/talk/20190514 Mobility and SD-WAN, Part 1- SD-WAN with 4G LTE is a Reality.md
@@ -0,0 +1,64 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Mobility and SD-WAN, Part 1: SD-WAN with 4G LTE is a Reality)
+[#]: via: (https://www.networkworld.com/article/3394866/mobility-and-sd-wan-part-1-sd-wan-with-4g-lte-is-a-reality.html)
+[#]: author: (Francisca Segovia )
+
+Mobility and SD-WAN, Part 1: SD-WAN with 4G LTE is a Reality
+======
+
+![istock][1]
+
+Without a doubt, 5G — the fifth generation of mobile wireless technology — is the hottest topic in wireless circles today. You can’t throw a stone without hitting 5G news. While telecommunications providers are in a heated competition to roll out 5G, it’s important to reflect on current 4G LTE (Long Term Evolution) business solutions as a preview of what we have learned and what’s possible.
+
+This is part one of a two-part blog series that will explore the [SD-WAN][2] journey through the evolution of these wireless technologies.
+
+### **Mobile SD-WAN is a reality**
+
+4G LTE commercialization continues to expand. According to [the GSM (Groupe Spéciale Mobile) Association][3], 710 operators have rolled out 4G LTE in 217 countries, reaching 83 percent of the world’s population. The evolution of 4G is transforming the mobile industry and is setting the stage for the advent of 5G.
+
+Mobile connectivity is increasingly integrated with SD-WAN, along with MPLS and broadband WAN services today. 4G LTE represents a very attractive transport alternative, as a backup or even an active member of the WAN transport mix to connect users to critical business applications. And in some cases, 4G LTE might be the only choice in locations where fixed lines aren’t available or reachable. Furthermore, an SD-WAN can optimize 4G LTE connectivity and bring new levels of performance and availability to mobile-based business use cases by selecting the best path available across several 4G LTE connections.
+
+### **Increasing application performance and availability with 4G LTE**
+
+Silver Peak has partnered with [BEC Technologies][4] to create a joint solution that enables customers to incorporate one or more low-cost 4G LTE services into any [Unity EdgeConnect™][5] SD-WAN edge platform deployment. All the capabilities of the EdgeConnect platform are supported across LTE links including packet-based link bonding, dynamic path control, path conditioning along with the optional [Unity Boost™ WAN Optimization][6] performance pack. This ensures always-consistent, always-available application performance even in the event of an outage or degraded service.
+
+EdgeConnect also incorporates sophisticated NAT traversal technology that eliminates the requirement for provisioning the LTE service with extra-cost static IP addresses. The Silver Peak [Unity Orchestrator™][7] management software enables the prioritization of LTE bandwidth usage based on branch and application requirements – active-active or backup-only. This solution is ideal in retail point-of-sale and other deployment use cases where always-available WAN connectivity is critical for the business.
+
+### **Automated SD-WAN enables innovative services**
+
+An example of an innovative mobile SD-WAN service is [swyMed’s DOT Telemedicine Backpack][8] powered by the EdgeConnect [Ultra Small][9] hardware platform. This integrated telemedicine solution enables first responders to connect to doctors and communicate patient vital statistics and real-time video anywhere, any time, greatly improving and expediting care for emergency patients. Using a lifesaving backpack provisioned with two LTE services from different carriers, EdgeConnect continuously monitors the underlying 4G LTE services for packet loss, latency and jitter. In the case of transport failure or brownout, EdgeConnect automatically initiates a sub-second failover so that voice, video and data connections continue without interruption over the remaining active 4G service. By bonding the two LTE links together with the EdgeConnect SD-WAN, swyMed can achieve an aggregate signal quality in excess of 90 percent, bringing mobile telemedicine to areas that would have been impossible in the past due to poor signal strength.
+
+To learn more about SD-WAN and the unique advantages that SD-WAN provides to enterprises across all industries, visit the [SD-WAN Explained][2] page on our website.
+
+### **Prepare for the 5G future**
+
+In summary, the adoption of 4G LTE is a reality. Service providers are taking advantage of the distinct benefits of SD-WAN to offer managed SD-WAN services that leverage 4G LTE.
+
+As the race for the 5G gains momentum, service providers are sure to look for ways to drive new revenue streams to capitalize on their initial investments. Stay tuned for part 2 of this 2-blog series where I will discuss how SD-WAN is one of the technologies that can help service providers to transition from 4G to 5G and enable the monetization of a new wave of managed 5G services.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3394866/mobility-and-sd-wan-part-1-sd-wan-with-4g-lte-is-a-reality.html
+
+作者:[Francisca Segovia][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/istock-952414660-100796279-large.jpg
+[2]: https://www.silver-peak.com/sd-wan/sd-wan-explained
+[3]: https://www.gsma.com/futurenetworks/resources/all-ip-statistics/
+[4]: https://www.silver-peak.com/resource-center/edgeconnect-4glte-solution-bec-technologies
+[5]: https://www.silver-peak.com/products/unity-edge-connect
+[6]: https://www.silver-peak.com/products/unity-boost
+[7]: https://www.silver-peak.com/products/unity-orchestrator
+[8]: https://www.silver-peak.com/resource-center/mobile-telemedicine-helps-save-lives-streaming-real-time-clinical-data-and-patient
+[9]: https://www.silver-peak.com/resource-center/edgeconnect-us-ec-us-specification-sheet
diff --git a/sources/talk/20190515 Extreme addresses networked-IoT security.md b/sources/talk/20190515 Extreme addresses networked-IoT security.md
new file mode 100644
index 0000000000..1ad756eded
--- /dev/null
+++ b/sources/talk/20190515 Extreme addresses networked-IoT security.md
@@ -0,0 +1,71 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Extreme addresses networked-IoT security)
+[#]: via: (https://www.networkworld.com/article/3395539/extreme-addresses-networked-iot-security.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Extreme addresses networked-IoT security
+======
+The ExtremeAI security app features machine learning that can understand typical behavior of IoT devices and alert when it finds anomalies.
+![Getty Images][1]
+
+[Extreme Networks][2] has taken the wraps off a new security application it says will use machine learning and artificial intelligence to help customers effectively monitor, detect and automatically remediate security issues with networked IoT devices.
+
+The application – ExtremeAI security—features machine-learning technology that can understand typical behavior of IoT devices and automatically trigger alerts when endpoints act in unusual or unexpected ways, Extreme said.
+
+**More about edge networking**
+
+ * [How edge networking and IoT will reshape data centers][3]
+ * [Edge computing best practices][4]
+ * [How edge computing can help secure the IoT][5]
+
+
+
+Extreme said that the ExtremeAI Security application can tie into all leading threat intelligence feeds, and had close integration with its existing [Extreme Workflow Composer][6] to enable automatic threat mitigation and remediation.
+
+The application integrates the company’s ExtremeAnalytics application which lets customers view threats by severity, category, high-risk endpoints and geography. An automated ticketing feature integrates with variety of popular IT tools such as Slack, Jira, and ServiceNow, and the application interoperates with many popular security tools, including existing network taps, the vendor stated.
+
+There has been an explosion of new endpoints ranging from million-dollar smart MRI machines to five-dollar sensors, which creates a complex and difficult job for network and security administrators, said Abby Strong, vice president of product marketing for Extreme. “We need smarter, secure and more self-healing networks especially where IT cybersecurity resources are stretched to the limit.”
+
+Extreme is trying to address an issue that is important to enterprise-networking customers: how to get actionable, usable insights as close to real-time as possible, said Rohit Mehra, Vice President of Network Infrastructure at IDC. “Extreme is melding automation, analytics and security that can look at network traffic patterns and allow the system to take action when needed.”
+
+The ExtremeAI application, which will be available in October, is but one layer of IoT security Extreme offers. Already on the market, its [Defender for IoT][7] package, which includes a Defender application and adapter, lets customers monitor, set policies and isolate IoT devices across an enterprise.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][8] ]**
+
+The Extreme AI and Defender packages are now part of what the company calls Extreme Elements, which is a menu of its new and existing Smart OmniEdge, Automated Campus and Agile Data Center software, hardware and services that customers can order to build a manageable, secure system.
+
+Aside from the applications, the Elements include Extreme Management Center, the company’s network management software; the company’s x86-based intelligent appliances, including the ExtremeCloud Appliance; and [ExtremeSwitching X465 premium][9], a stackable multi-rate gigabit Ethernet switch.
+
+The switch and applications are just the beginning of a very busy time for Extreme. In its [3Q earnings cal][10]l this month company CEO Ed Meyercord noted Extreme was in the “early stages of refreshing 70 percent of our products” and seven different products will become generally available this quarter – a record for Extreme, he said.
+
+Join the Network World communities on [Facebook][11] and [LinkedIn][12] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3395539/extreme-addresses-networked-iot-security.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/iot_security_tablet_conference_digital-100787102-large.jpg
+[2]: https://www.networkworld.com/article/3289508/extreme-facing-challenges-girds-for-future-networking-battles.html
+[3]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[4]: https://www.networkworld.com/article/3331978/lan-wan/edge-computing-best-practices.html
+[5]: https://www.networkworld.com/article/3331905/internet-of-things/how-edge-computing-can-help-secure-the-iot.html
+[6]: https://www.extremenetworks.com/product/workflow-composer/
+[7]: https://www.extremenetworks.com/product/extreme-defender-for-iot/
+[8]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[9]: https://community.extremenetworks.com/extremeswitching-exos-223284/extremexos-30-2-and-smart-omniedge-premium-x465-switches-are-now-available-7823377
+[10]: https://seekingalpha.com/news/3457137-extreme-networks-minus-15-percent-quarterly-miss-light-guidance
+[11]: https://www.facebook.com/NetworkWorld/
+[12]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190515 IBM overhauls mainframe-software pricing, adds hybrid, private-cloud services.md b/sources/talk/20190515 IBM overhauls mainframe-software pricing, adds hybrid, private-cloud services.md
new file mode 100644
index 0000000000..b69109641d
--- /dev/null
+++ b/sources/talk/20190515 IBM overhauls mainframe-software pricing, adds hybrid, private-cloud services.md
@@ -0,0 +1,77 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (IBM overhauls mainframe-software pricing, adds hybrid, private-cloud services)
+[#]: via: (https://www.networkworld.com/article/3395776/ibm-overhauls-mainframe-software-pricing-adds-hybrid-private-cloud-services.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+IBM overhauls mainframe-software pricing, adds hybrid, private-cloud services
+======
+IBM brings cloud consumption model to the mainframe, adds Docker container extensions
+![Thinkstock][1]
+
+IBM continues to adopt new tools and practices for its mainframe customers to keep the Big Iron relevant in a cloud world.
+
+First of all, the company switched-up its 20-year mainframe software pricing scheme to make it more palatable to hybrid and multicloud users who might be thinking of moving workloads off the mainframe and into the cloud.
+
+**[ Check out[What is hybrid cloud computing][2] and learn [what you need to know about multi-cloud][3]. | Get regularly scheduled insights by [signing up for Network World newsletters][4]. ]**
+
+Specifically IBM rolled out Tailored Fit Pricing for the IBM Z mainframe which offers two consumption-based pricing models that can help customers cope with ever-changing workload – and hence software – costs.
+
+Tailored Fit Pricing removes the need for complex and restrictive capping, which typically weakens responsiveness and can impact service level availability, IBM said. IBM’s standard monthly mainframe licensing model calculates costs as a “rolling four-hour average” (R4HA) which would determine cost based on a customer’s peak usage during the month. Customers would many time cap usage to keep costs down, experts said
+
+Systems can now be configured to support optimal response times and service level agreements, rather than artificially slowing down workloads to manage software licensing costs, IBM stated.
+
+Predicting demand for IT services can be a major challenge and in the era of hybrid and multicloud, everything is connected and workload patterns constantly change, wrote IBM’s Ross Mauri, General Manager, IBM Z in a [blog][5] about the new pricing and services. “In this environment, managing demand for IT services can be a major challenge. As more customers shift to an enterprise IT model that incorporates on-premises, private cloud and public we’ve developed a simple cloud pricing model to drive the transformation forward.”
+
+[Tailored Fit Pricing][6] for IBM Z comes in two flavors, the Enterprise Consumption Solution and the Enterprise Capacity Solution.
+
+IBM said the Enterprise Consumption model is a tailored usage-based pricing model, where customers pay only for what they use, removing the need for complex and restrictive capping, IBM said.
+
+The Enterprise Capacity model lets customers mix and match workloads to help maximize use of the full capacity of the platform. Charges are referenced to the overall size of the physical environment and are calculated based on the estimated mix of workloads running, while providing the flexibility to vary actual usage across workloads, IBM said.
+
+The software pricing changes should be a welcome benefit to customers, experts said.
+
+“By making access to Z mainframes more flexible and ‘cloud-like,’ IBM is making it less likely that customers will consider shifting Z workloads to other systems and environments. As cloud providers become increasingly able to support mission critical applications, that’s a big deal,” wrote Charles King, president and principal analyst for Pund-IT in a [blog][7] about the IBM changes.
+
+“A notable point about both models is that discounted growth pricing is offered on all workloads – whether they be 40-year old Assembler programs or 4-day old JavaScript apps. This is in contrast to previous models which primarily rewarded only brand-new applications with growth pricing. By thinking outside the Big Iron box, the company has substantially eased the pain for its largest clients’ biggest mainframe-related headaches,” King wrote.
+
+IBM’s Tailored Fit Pricing supports an increasing number of enterprises that want to continue to grow and build new services on top of this mission-critical platform, wrote [John McKenny][8] vice president of strategy for ZSolutions Optimization at BMC Software. “In not yet released results from the 2019 BMC State of the Mainframe Survey, 62% of the survey respondents reported that they are planning to expand MIPS/MSU consumption and are growing their mainframe workloads. For customers with no current plans for growth, the affordability and cost-competitiveness of the new pricing model will re-ignite interest in also using this platform as an integral part of their hybrid cloud strategies.”
+
+In addition to the pricing, IBM announced some new services that bring the mainframe closer to cloud workloads.
+
+First, IBM rolled out z/OS Container Extensions (zCX), which makes it possible to run Linux on Z applications that are packaged as Docker Container images on z/OS. Application developers can develop and data centers can operate popular open source packages, Linux applications, IBM software, and third-party software together with z/OS applications and data, IBM said. zCX will let customers use the latest open source tools, popular NoSQL databases, analytics frameworks, application servers, and so on within the z/OS environment.
+
+“With z/OS Container Extensions, customers will be able to access the most recent development tools and processes available in Linux on the Z ecosystem, giving developers the flexibility to build new, cloud-native containerized apps and deploy them on z/OS without requiring Linux or a Linux partition,” IBM’s Mauri stated.
+
+Big Blue also rolled out z/OS Cloud Broker which will let customers access and deploy z/OS resources and services on [IBM Cloud Private][9]. [IBM Cloud Private][10] is the company’s Kubernetes-based Platform as a Service (PaaS) environment for developing and managing containerized applications. IBM said z/OS Cloud Broker is designed to help cloud application developers more easily provision and deprovision apps in z/OS environments.
+
+Join the Network World communities on [Facebook][11] and [LinkedIn][12] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3395776/ibm-overhauls-mainframe-software-pricing-adds-hybrid-private-cloud-services.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2015/08/thinkstockphotos-520137237-100610459-large.jpg
+[2]: https://www.networkworld.com/article/3233132/cloud-computing/what-is-hybrid-cloud-computing.html
+[3]: https://www.networkworld.com/article/3252775/hybrid-cloud/multicloud-mania-what-to-know.html
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://www.ibm.com/blogs/systems/ibm-z-defines-the-future-of-hybrid-cloud/
+[6]: https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=AN&subtype=CA&htmlfid=897/ENUS219-014&appname=USN
+[7]: https://www.pund-it.com/blog/ibm-reinvents-the-z-mainframe-again/
+[8]: https://www.bmc.com/blogs/bmc-supports-ibm-tailored-fit-pricing-ibm-z/
+[9]: https://www.ibm.com/marketplace/cloud-private-on-z-and-linuxone
+[10]: https://www.networkworld.com/article/3340043/ibm-marries-on-premises-private-and-public-cloud-data.html
+[11]: https://www.facebook.com/NetworkWorld/
+[12]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190516 Will 5G be the first carbon-neutral network.md b/sources/talk/20190516 Will 5G be the first carbon-neutral network.md
new file mode 100644
index 0000000000..decacfac5d
--- /dev/null
+++ b/sources/talk/20190516 Will 5G be the first carbon-neutral network.md
@@ -0,0 +1,88 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Will 5G be the first carbon-neutral network?)
+[#]: via: (https://www.networkworld.com/article/3395465/will-5g-be-the-first-carbon-neutral-network.html)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+Will 5G be the first carbon-neutral network?
+======
+Increased energy consumption in new wireless networks could become ecologically unsustainable. Engineers think they have solutions that apply to 5G, but all is not certain.
+![Dushesina/Getty Images][1]
+
+If wireless networks transfer 1,000 times more data, does that mean they will use 1,000 times more energy? It probably would with the old 4G LTE wireless technologies— LTE doesn’t have much of a sleep-standby. But with 5G, we might have a more energy-efficient option.
+
+More customers want Earth-friendly options, and engineers are now working on how to achieve it — meaning 5G might introduce the first zero-carbon networks. It’s not all certain, though.
+
+**[ Related:[What is 5G wireless? And how it will change networking as we know it][2] ]**
+
+“When the 4G technology for wireless communication was developed, not many people thought about how much energy is consumed in transmitting bits of information,” says Emil Björnson, associate professor of communication systems at Linkoping University, [in an article on the school’s website][3].
+
+Standby was never built into 4G, Björnson explains. Reasons include overbuilding — the architects wanted to ensure connections didn’t fail, so they just kept the power up. The downside to that redundancy was that almost the same amount of energy is used whether the system is transmitting data or not.
+
+“We now know that this is not necessary,” Björnson says. 5G networks don’t use much power during periods of low traffic, and that reduces power consumption.
+
+Björnson says he knows how to make future-networks — those 5G networks that one day may become the enterprise broadband replacement — super efficient even when there is heavy use. Massive-MIMO (multiple-in, multiple-out) antennas are the answer, he says. That’s hundreds of connected antennas taking advantage of multipath.
+
+I’ve written before about some of Björnson's Massive-MIMO ideas. He thinks [Massive-MIMO will remove all capacity ceilings from wireless networks][4]. However, he now adds calculations to his research that he claims prove that the Massive-MIMO antenna technology will also reduce power use. He and his group are actively promoting their academic theories in a paper ([pdf][5]).
+
+**[[Take this mobile device management course from PluralSight and learn how to secure devices in your company without degrading the user experience.][6] ]**
+
+### Nokia's plan to reduce wireless networks' CO2 emissions
+
+Björnson's isn’t the only 5G-aimed eco-concept out there. Nokia points out that it isn't just radios transmitting that use electricity. Cooling is actually the main electricity hog, says the telcommunications company, which is one of the world’s principal manufacturers of mobile network equipment.
+
+Nokia says the global energy cost of Radio Access Networks (RANs) in 2016 (the last year numbers were available), which includes base transceiver stations (BTSs) needed by mobile networks, was around $80 billion. That figure increases with more users coming on stream, something that’s probable. Of the BTS’s electricity use, about 90% “converts to waste heat,” [Harry Kuosa, a marketing executive, writes on Nokia’s blog][7]. And base station sites account for about 80% of a mobile network’s entire energy use, Nokia expands on its website.
+
+“A thousand-times more traffic that creates a thousand-times higher energy costs is unsustainable,” Nokia says in its [ebook][8] on the subject, “Turning the zero carbon vision into business opportunity,” and it’s why Nokia plans liquid-cooled 5G base stations among other things, including chip improvements. It says the liquid-cooling can reduce CO2 emissions by up to 80%.
+
+### Will those ideas work?
+
+Not all agree power consumption can be reduced when implementing 5G, though. Gabriel Brown of Heavy Reading, quotes [in a tweet][9] a China Mobile executive as saying that 5G BTSs will use three times as much power as 4G LTE ones because the higher frequencies used in 5G mean one needs more BTS units to provide the same geographic coverage: For physics reasons, higher frequencies equals shorter range.
+
+If, as is projected, 5G develops into the new enterprise broadband for the internet of things (IoT), along with associated private networks covering everything else, then these eco- and cost-important questions are going to be salient — and they need answers quickly. 5G will soon be here, and [Gartner estimates that 60% of organizations will adopt it][10].
+
+**More about 5G networks:**
+
+ * [How enterprises can prep for 5G networks][11]
+ * [5G vs 4G: How speed, latency and apps support differ][12]
+ * [Private 5G networks are coming][13]
+ * [5G and 6G wireless have security issues][14]
+ * [How millimeter-wave wireless could help support 5G and IoT][15]
+
+
+
+Join the Network World communities on [Facebook][16] and [LinkedIn][17] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3395465/will-5g-be-the-first-carbon-neutral-network.html
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/01/4g-versus-5g_horizon_sunrise-100784230-large.jpg
+[2]: https://www.networkworld.com/article/3203489/lan-wan/what-is-5g-wireless-networking-benefits-standards-availability-versus-lte.html
+[3]: https://liu.se/en/news-item/okningen-av-mobildata-kraver-energieffektivare-nat
+[4]: https://www.networkworld.com/article/3262991/future-wireless-networks-will-have-no-capacity-limits.html
+[5]: https://arxiv.org/pdf/1812.01688.pdf
+[6]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fmobile-device-management-big-picture
+[7]: https://www.nokia.com/blog/nokia-has-ambitious-plans-reduce-network-power-consumption/
+[8]: https://pages.nokia.com/2364.Zero.Emissions.ebook.html?did=d000000001af&utm_campaign=5g_in_action_&utm_source=twitter&utm_medium=organic&utm_term=0dbf430c-1c94-47d7-8961-edc4f0ba3270
+[9]: https://twitter.com/Gabeuk/status/1099709788676636672?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E1099709788676636672&ref_url=https%3A%2F%2Fwww.lightreading.com%2Fmobile%2F5g%2Fpower-consumption-5g-basestations-are-hungry-hungry-hippos%2Fd%2Fd-id%2F749979
+[10]: https://www.gartner.com/en/newsroom/press-releases/2018-12-18-gartner-survey-reveals-two-thirds-of-organizations-in
+[11]: https://www.networkworld.com/article/3306720/mobile-wireless/how-enterprises-can-prep-for-5g.html
+[12]: https://www.networkworld.com/article/3330603/mobile-wireless/5g-versus-4g-how-speed-latency-and-application-support-differ.html
+[13]: https://www.networkworld.com/article/3319176/mobile-wireless/private-5g-networks-are-coming.html
+[14]: https://www.networkworld.com/article/3315626/network-security/5g-and-6g-wireless-technologies-have-security-issues.html
+[15]: https://www.networkworld.com/article/3291323/mobile-wireless/millimeter-wave-wireless-could-help-support-5g-and-iot.html
+[16]: https://www.facebook.com/NetworkWorld/
+[17]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190517 HPE to buy Cray, offer HPC as a service.md b/sources/talk/20190517 HPE to buy Cray, offer HPC as a service.md
new file mode 100644
index 0000000000..a1dafef683
--- /dev/null
+++ b/sources/talk/20190517 HPE to buy Cray, offer HPC as a service.md
@@ -0,0 +1,68 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (HPE to buy Cray, offer HPC as a service)
+[#]: via: (https://www.networkworld.com/article/3396220/hpe-to-buy-cray-offer-hpc-as-a-service.html)
+[#]: author: (Tim Greene https://www.networkworld.com/author/Tim-Greene/)
+
+HPE to buy Cray, offer HPC as a service
+======
+High-performance computing offerings from HPE plus Cray could enable things like AI, ML, high-speed financial trading, creation digital twins for entire enterprise networks.
+![Cray Inc.][1]
+
+HPE has agreed to buy supercomputer-maker Cray for $1.3 billion, a deal that the companies say will bring their corporate customers high-performance computing as a service to help with analytics needed for artificial intelligence and machine learning, but also products supporting high-performance storage, compute and software.
+
+In addition to bringing HPC capabilities that can blend with and expand HPE’s current products, Cray brings with it customers in government and academia that might be interested in HPE’s existing portfolio as well.
+
+**[ Now read:[Who's developing quantum computers][2] ]**
+
+The companies say they expect to close the cash deal by the end of next April.
+
+The HPC-as-a-service would be offered through [HPE GreenLake][3], the company’s public-, private-, hybrid-cloud service. Such a service could address periodic enterprise need for fast computing that might otherwise be too expensive, says Tim Zimmerman, an analyst with Gartner.
+
+Businesses could use the service, for example, to create [digital twins][4] of their entire networks and use them to test new code to see how it will impact the network before deploying it live, Zimmerman says.
+
+Cray has HPC technology that HPE Labs might be exploring on its own, but that can be brought to market in a much quicker timeframe.
+
+HPE says that overall, buying cray give it technologies needed for massively data-intensive workloads such as AI and ML that is used for engineering services, transaction-based trading by financial firms, pharmaceutical research and academic studies into weather and genomes, for instance, Zimmerman says.
+
+As HPE puts it, Cray supercomputing platforms “have the ability to handle massive data sets, converged modelling, simulation, AI and analytics workloads.”
+
+Cray is working on [what it says will be the world’s fastest supercomputer][5] when it’s finished in 2021, cranking out 1.5 exaflops. The current fastest supercomputer is 143.5 petaflops. [Click [here][6] to see the current top 10 fastest supercomputers.]
+
+In general, HPE says it hopes to create a comprehensive line of products to support HPC infrastructure including “compute, high-performance storage, system interconnects, software and services.”
+
+Together, the talent in the two companies and their combined technologies should be able to increase innovation, HPE says.
+
+Earlier this month, HPE’s CEO Antonio Neri said in [an interview with _Network World_][7] that the company will be investing $4 billion over four years in a range of technology to boost “connectivity, security, and obviously cloud and analytics.” In laying out the company’s roadmap he made no specific mention of HPC.
+
+HPE net revenues last fiscal year were $30.9 billion. Cray’s total revenue was $456 million, with a gross profit of $130 million.
+
+The acquisition will pay $35 per share for Cray stock.
+
+Join the Network World communities on [Facebook][8] and [LinkedIn][9] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396220/hpe-to-buy-cray-offer-hpc-as-a-service.html
+
+作者:[Tim Greene][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Tim-Greene/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/06/the_cray_xc30_piz_daint_system_at_the_swiss_national_supercomputing_centre_via_cray_inc_3x2_978x652-100762113-large.jpg
+[2]: https://www.networkworld.com/article/3275385/who-s-developing-quantum-computers.html
+[3]: https://www.networkworld.com/article/3280996/hpe-adds-greenlake-hybrid-cloud-to-enterprise-service-offerings.html
+[4]: https://www.networkworld.com/article/3280225/what-is-digital-twin-technology-and-why-it-matters.html
+[5]: https://www.networkworld.com/article/3373539/doe-plans-worlds-fastest-supercomputer.html
+[6]: https://www.networkworld.com/article/3236875/embargo-10-of-the-worlds-fastest-supercomputers.html
+[7]: https://www.networkworld.com/article/3394879/hpe-s-ceo-lays-out-his-technology-vision.html
+[8]: https://www.facebook.com/NetworkWorld/
+[9]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190517 The modern data center and the rise in open-source IP routing suites.md b/sources/talk/20190517 The modern data center and the rise in open-source IP routing suites.md
new file mode 100644
index 0000000000..02063687a0
--- /dev/null
+++ b/sources/talk/20190517 The modern data center and the rise in open-source IP routing suites.md
@@ -0,0 +1,140 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (The modern data center and the rise in open-source IP routing suites)
+[#]: via: (https://www.networkworld.com/article/3396136/the-modern-data-center-and-the-rise-in-open-source-ip-routing-suites.html)
+[#]: author: (Matt Conran https://www.networkworld.com/author/Matt-Conran/)
+
+The modern data center and the rise in open-source IP routing suites
+======
+Open source enables passionate people to come together and fabricate work of phenomenal quality. This is in contrast to a single vendor doing everything.
+![fdecomite \(CC BY 2.0\)][1]
+
+As the cloud service providers and search engines started with the structuring process of their business, they quickly ran into the problems of managing the networking equipment. Ultimately, after a few rounds of getting the network vendors to understand their problems, these hyperscale network operators revolted.
+
+Primarily, what the operators were looking for was a level of control in managing their network which the network vendors couldn’t offer. The revolution burned the path that introduced open networking, and network disaggregation to the work of networking. Let us first learn about disaggregation followed by open networking.
+
+### Disaggregation
+
+The concept of network disaggregation involves breaking-up of the vertical networking landscape into individual pieces, where each piece can be used in the best way possible. The hardware can be separated from the software, along with open or closed IP routing suites. This enables the network operators to use the best of breed for the hardware, software and the applications.
+
+**[ Now see[7 free network tools you must have][2]. ]**
+
+Networking has always been built as an appliance and not as a platform. The mindset is that the network vendor builds an appliance and as a specialized appliance, they will completely control what you can and cannot do on that box. In plain words, they will not enable anything that is not theirs. As a result, they act as gatekeepers and not gate-enablers.
+
+Network disaggregation empowers the network operators with the ability to lay hands on the features they need when they need them. However, this is impossible in case of non-disaggregated hardware.
+
+### Disaggregation leads to using best-of-breed
+
+In the traditional vertically integrated networking market, you’re forced to live with the software because you like the hardware, or vice-versa. But network disaggregation drives different people to develop things that matter to them. This allows multiple groups of people to connect, with each one focused on doing what he or she does the best. Switching silicon manufacturers can provide the best merchant silicon. Routing suites can be provided by those who are the best at that. And the OS vendors can provide the glue that enables all of these to work well together.
+
+With disaggregation, people are driven to do what they are good at. One company does the hardware, whereas another does the software and other company does the IP routing suites. Hence, today the networking world looks like more of the server world.
+
+### Open source
+
+Within this rise of the modern data center, there is another element that is driving network disaggregation; the notion of open source. Open source is “denoting software for which the original source code is made freely available, it may be redistributed and modified.” It enables passionate people to come together and fabricate work of phenomenal quality. This is in contrast to a single vendor doing everything.
+
+As a matter of fact, the networking world has always been very vendor driven. However, the advent of open source gives the opportunity to like-minded people rather than the vendor controlling the features. This eliminates the element of vendor lock-in, thereby enabling interesting work. Open source allows more than one company to be involved.
+
+### Open source in the data center
+
+The traditional enterprise and data center networks were primarily designed by bridging and Spanning Tree Protocol (STP). However, the modern data center is driven by IP routing and the CLOS topology. As a result, you need a strong IP routing suite.
+
+That was the point where the need for an open-source routing suite surfaced, the suite that can help drive the modern data center. The primary open-source routing suites are [FRRouting (FRR)][3], BIRD, GoBGP and ExaBGP.
+
+Open-source IP routing protocol suites are slowly but steadily gaining acceptance and are used in data centers of various sizes. Why? It is because they allow a community of developers and users to work on finding solutions to common problems. Open-source IP routing protocol suites equip them to develop the specific features that they need. It also helps the network operators to create simple designs that make sense to them, as opposed to having everything controlled by the vendor. They also enable routing suites to run on compute nodes. Kubernetes among others uses this model of running a routing protocol on a compute node.
+
+Today many startups are using FRR. Out of all of the IP routing suites, FRR is preferred in the data center as the primary open-source IP routing protocol suite. Some traditional network vendors have even demonstrated the use of FRR on their networking gear.
+
+There are lots of new features currently being developed for FRR, not just by the developers but also by the network operators.
+
+### Use cases for open-source routing suites
+
+When it comes to use-cases, where do IP routing protocol suites sit? First and foremost, if you want to do any type of routing in the disaggregated network world, you need an IP routing suite.
+
+Some operators are using FRR at the edge of the network as well, thereby receiving full BGP feeds. Many solutions which use Intel’s DPDK for packet forwarding use FRR as the control plane, receiving full BGP feeds. In addition, there are other vendors using FRR as the core IP routing suite for a full leaf and spine data center architecture. You can even get a version of FRR on pfSense which is a free and open source firewall.
+
+We need to keep in mind that reference implementations are important. Open source allows you to test at scale. But vendors don’t allow you to do that. However, with FRR, we have the ability to spin up virtual machines (VMs) or even containers by using software like Vagrant to test your network. Some vendors do offer software versions, but they are not fully feature-compatible.
+
+Also, with open source you do not need to wait. This empowers you with flexibility and speed which drives the modern data center.
+
+### Deep dive on FRRouting (FRR)
+
+FRR is a Linux foundation project. In a technical Linux sense, FRR is a group of daemons that work together, providing a complete routing suite that includes BGP, IS-IS, LDP, OSPF, BFD, PIM, and RIP.
+
+Each one of these daemons communicate with the common routing information base (RIB) daemon called Zebra in order to interface with the OS and to resolve conflicts between the multiple routing protocols providing the same information. Interfacing with the OS is used to receive the link up/down events, to add and delete routes etc.
+
+### FRRouting (FRR) components: Zebra
+
+Zebra is the RIB of the routing systems. It knows everything about the state of the system relevant to routing and is able to pass and disseminate this information to all the interested parties.
+
+The RIB in FRR acts just like a traditional RIB. When a route wins, it goes into the Linux kernel data plane where the forwarding occurs. All of the routing protocols run as separate processes and each of them have their source code in FRR.
+
+For example, when BGP starts up, it needs to know, for instance, what kind of virtual routing and forwarding (VRF) and IP interfaces are available. Zebra collects and passes this information back to the interested daemons. It passes all the relevant information about state of the machine.
+
+Furthermore, you can also register information with Zebra. For example, if a particular route changes, the daemon can be informed. This can also be used for reverse path forwarding (RPF). FRR doesn't need to do a pull when changes happen on the network.
+
+There are a myriad of ways through which you can control Linux and the state. Sometimes you have to use options like the Netlink bus and sometimes you may need to read the state in proc file system of Linux. The goal of Zebra is to gather all this data for the upper level protocols.
+
+### FRR supports remote data planes
+
+FRR also has the ability to manage the remote data planes. So, what does this mean? Typically, the data forwarding plane and the routing protocols run on the same box. Another model, adopted by Openflow and SDN for example, is one in which the data forwarding plane can be on one box while FRR runs on a different box on behalf of the first box and pushes the computed routing state on the first box. In other words, the data plane and the control plane run on different boxes.
+
+If you examine the traditional world, it’s like having one large chassis with different line cards with the ability to install routes in those different line cards. FRR operates with the same model which has one control plane and the capability to offer 3 boxes, if needed. It does this via the forwarding plane manager.
+
+### Forwarding plane manager
+
+Zebra can either install routes directly into the data plane of the box it is running on or use a forwarding plane manager to install routes on a remote box. When it installs a route, the forwarding plane manager abstracts the data which displays the route and the next hops. It then pushes the data to a remote system where the remote machine processes it and programs the ASIC appropriately.
+
+After the data is abstracted, you can use whatever protocol you want in order to push the data to the remote machine. You can even include the data in an email.
+
+### What is holding people back from open source?
+
+Since last 30 years the networking world meant that you need to go to a vendor to solve a problem. But now with open-source routing suites, such as, FRR, there is a major drift in the mindset as to how you approach troubleshooting.
+
+This causes the fear of not being able to use it properly because with open source you are the one who has to fix it. This at first can be scary and daunting. But it doesn’t necessarily have to be. Also, to switch to FRR on a traditional network gear, you need the vendor to enable it, but they may be reluctant as they are on competing platforms which can be another road blocker.
+
+### The future of FRR
+
+If we examine FRR from the use case perspective of the data center, FRR is feature-complete. Anyone building an IP based data center FRR has everything available. The latest 7.0 release of FRR adds Yang/NetConf, BGP Enhancements and OpenFabric.
+
+FRR is not just about providing features, boosting the performance or being the same as or better than the traditional network vendor’s software, it is also about simplifying the process for the end user.
+
+Since the modern data center is focused on automation and ease of use, FRR has made such progress that the vendors have not caught up with. FRR is very automation friendly. For example, FRR takes BGP and makes it automation-friendly without having to change the protocol. It supports BGP unnumbered that is unmatched by any other vendor suite. This is where the vendors are trying to catch up.
+
+Also, while troubleshooting, FRR shows peer’s and host’s names and not just the IP addresses. This allows you to understand without having spent much time. However, vendors show the peer’s IP addresses which can be daunting when you need to troubleshoot.
+
+FRR provides the features that you need to run an efficient network and data center. It makes easier to configure and manage the IP routing suite. Vendors just add keep adding features over features whether they are significant or not. Then you need to travel the certification paths that teach you how to twiddle 20 million nobs. How many of those networks are robust and stable?
+
+FRR is about supporting features that matter and not every imaginable feature. FRR is an open source project that brings like-minded people together, good work that is offered isn’t turned away. As a case in point, FRR has an open source implementation of EIGRP.
+
+The problem surfaces when you see a bunch of things, you think you need them. But in reality, you should try to keep the network as simple as possible. FRR is laser-focused on the ease of use and simplifying the use rather than implementing features that are mostly not needed to drive the modern data center.
+
+For more information and to contribute, why not join the [FRR][4] [mailing list group][4].
+
+**This article is published as part of the IDG Contributor Network.[Want to Join?][5]**
+
+Join the Network World communities on [Facebook][6] and [LinkedIn][7] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396136/the-modern-data-center-and-the-rise-in-open-source-ip-routing-suites.html
+
+作者:[Matt Conran][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Matt-Conran/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/12/modular_humanoid_polyhedra_connections_structure_building_networking_by_fdecomite_cc_by_2-0_via_flickr_1200x800-100782334-large.jpg
+[2]: https://www.networkworld.com/article/2825879/7-free-open-source-network-monitoring-tools.html
+[3]: https://frrouting.org/community/7.0-launch.html
+[4]: https://frrouting.org/#participate
+[5]: /contributor-network/signup.html
+[6]: https://www.facebook.com/NetworkWorld/
+[7]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190521 Enterprise IoT- Companies want solutions in these 4 areas.md b/sources/talk/20190521 Enterprise IoT- Companies want solutions in these 4 areas.md
new file mode 100644
index 0000000000..9df4495f05
--- /dev/null
+++ b/sources/talk/20190521 Enterprise IoT- Companies want solutions in these 4 areas.md
@@ -0,0 +1,119 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Enterprise IoT: Companies want solutions in these 4 areas)
+[#]: via: (https://www.networkworld.com/article/3396128/the-state-of-enterprise-iot-companies-want-solutions-for-these-4-areas.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+Enterprise IoT: Companies want solutions in these 4 areas
+======
+Based on customer pain points, PwC identified four areas companies are seeking enterprise solutions for, including energy use and sustainability.
+![Jackie Niam / Getty Images][1]
+
+Internet of things (IoT) vendors and pundits like to crow about the billions and billions of connected devices that make the IoT so ubiquitous and powerful. But how much of that installed base is really relevant to the enterprise?
+
+To find out, I traded emails with Rob Mesirow, principal at [PwC’s Connected Solutions][2], the firm’s new one-stop-shop of IoT solutions, who suggests that consumer adoption may not paint a true picture of the enterprise opportunities. If you remove the health trackers and the smart thermostats from the market, he suggested, there are very few connected devices left.
+
+So, I wondered, what is actually happening on the enterprise side of IoT? What kinds of devices are we talking about, and in what kinds of numbers?
+
+**[ Read also:[Forget 'smart homes,' the new goal is 'autonomous buildings'][3] ]**
+
+“When people talk about the IoT,” Mesirow told me, “they usually focus on [consumer devices, which far outnumber business devices][4]. Yet [connected buildings currently represent only 12% of global IoT projects][5],” he noted, “and that’s without including wearables and smart home projects.” (Mesirow is talking about buildings that “use various IoT devices, including occupancy sensors that determine when people are present in a room in order to keep lighting and temperature controls at optimal levels, lowering energy costs and aiding sustainability goals. Sensors can also detect water and gas leaks and aid in predictive maintenance for HVAC systems.”)
+
+### 4 key enterprise IoT opportunities
+
+More specifically, based on customer pain points, PwC’s Connected Solutions is focusing on a few key opportunities, which Mesirow laid out in a [blog post][6] earlier this year. (Not surprisingly, the opportunities seem tied to [the group’s products][7].)
+
+“A lot of these solutions came directly from our customers’ request,” he noted. “We pre-qualify our solutions with customers before we build them.”
+
+Let’s take a look at the top four areas, along with a quick reality check on how important they are and whether the technology is ready for prime time.
+
+#### **1\. Energy use and sustainability**
+
+The IoT makes it possible to manage buildings and spaces more efficiently, with savings of 25% or more. Occupancy sensors can tell whether anyone is actually in a room, adjusting lighting and temperature to saving money and conserve energy.
+
+Connected buildings can also help determine when meeting spaces are available, which can boost occupancy at large businesses and universities by 40% while cutting infrastructure and maintenance costs. Other sensors, meanwhile, can detect water and gas leaks and aid in predictive maintenance for HVAC systems.
+
+**Reality check:** Obviously, much of this technology is not new, but there’s a real opportunity to make it work better by integrating disparate systems and adding better analytics to the data to make planning more effective.
+
+#### **2. Asset tracking
+
+**
+
+“Businesses can also use the IoT to track their assets,“ Mesirow told me, “which can range from trucks to hotel luggage carts to medical equipment. It can even assist with monitoring trash by alerting appropriate people when dumpsters need to be emptied.”
+
+Asset trackers can instantly identify the location of all kinds of equipment (saving employee time and productivity), and they can reduce the number of lost, stolen, and misplaced devices and machines as well as provide complete visibility into the location of your assets.
+
+Such trackers can also save employees from wasting time hunting down the devices and machines they need. For example, PwC noted that during an average hospital shift, more than one-third of nurses spend at least an hour looking for equipment such as blood pressure monitors and insulin pumps. Just as important, location tracking often improves asset optimization, reduced inventory needs, and improved customer experience.
+
+**Reality check:** Asset tracking offers clear value. The real question is whether a given use case is cost effective or not, as well as how the data gathered will actually be used. Too often, companies spend a lot of money and effort tracking their assets, but don’t do much with the information.
+
+#### **3\. Security and compliance**
+
+Connected solutions can create better working environments, Mesirow said. “In a hotel, for example, these smart devices can ensure that air and water quality is up to standards, provide automated pest traps, monitor dumpsters and recycling bins, detect trespassers, determine when someone needs assistance, or discover activity in an unauthorized area. Monitoring the water quality of hotel swimming pools can lower chemical and filtering costs,” he said.
+
+Mesirow cited an innovative use case where, in response to workers’ complaints about harassment, hotel operators—in conjunction with the [American Hotel and Lodging Association][8]—are giving their employees portable devices that alert security staff when workers request assistance.
+
+**Reality check:** This seems useful, but the ROI might be difficult to calculate.
+
+#### **4\. Customer experience**
+
+According to PwC, “Sensors, facial recognition, analytics, dashboards, and notifications can elevate and even transform the customer experience. … Using connected solutions, you can identify and reward your best customers by offering perks, reduced wait times, and/or shorter lines.”
+
+Those kinds of personalized customer experiences can potentially boost customer loyalty and increase revenue, Mesirow said, adding that the technology can also make staff deployments more efficient and “enhance safety by identifying trespassers and criminals who are tampering with company property.”
+
+**Reality check:** Creating a great customer experience is critical for businesses today, and this kind of personalized targeting promises to make it more efficient and effective. However, it has to be done in a way that makes customers comfortable and not creeped out. Privacy concerns are very real, especially when it comes to working with facial recognition and other kinds of surveillance technology. For example, [San Francisco recently banned city agencies from using facial recognition][9], and others may follow.
+
+**More on IoT:**
+
+ * [What is the IoT? How the internet of things works][10]
+ * [What is edge computing and how it’s changing the network][11]
+ * [Most powerful Internet of Things companies][12]
+ * [10 Hot IoT startups to watch][13]
+ * [The 6 ways to make money in IoT][14]
+ * [What is digital twin technology? [and why it matters]][15]
+ * [Blockchain, service-centric networking key to IoT success][16]
+ * [Getting grounded in IoT networking and security][17]
+ * [Building IoT-ready networks must become a priority][18]
+ * [What is the Industrial IoT? [And why the stakes are so high]][19]
+
+
+
+Join the Network World communities on [Facebook][20] and [LinkedIn][21] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396128/the-state-of-enterprise-iot-companies-want-solutions-for-these-4-areas.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/iot_internet_of_things_by_jackie_niam_gettyimages-996958260_2400x1600-100788446-large.jpg
+[2]: https://digital.pwc.com/content/pwc-digital/en/products/connected-solutions.html#get-connected
+[3]: https://www.networkworld.com/article/3309420/forget-smart-homes-the-new-goal-is-autonomous-buildings.html
+[4]: https://www.statista.com/statistics/370350/internet-of-things-installed-base-by-category/)
+[5]: https://iot-analytics.com/top-10-iot-segments-2018-real-iot-projects/
+[6]: https://www.digitalpulse.pwc.com.au/five-unexpected-ways-internet-of-things/
+[7]: https://digital.pwc.com/content/pwc-digital/en/products/connected-solutions.html
+[8]: https://www.ahla.com/
+[9]: https://www.nytimes.com/2019/05/14/us/facial-recognition-ban-san-francisco.html
+[10]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[11]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[12]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[13]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[14]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[15]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[16]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[17]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[18]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[19]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[20]: https://www.facebook.com/NetworkWorld/
+[21]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190522 Experts- Enterprise IoT enters the mass-adoption phase.md b/sources/talk/20190522 Experts- Enterprise IoT enters the mass-adoption phase.md
new file mode 100644
index 0000000000..86d7bf0efe
--- /dev/null
+++ b/sources/talk/20190522 Experts- Enterprise IoT enters the mass-adoption phase.md
@@ -0,0 +1,78 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Experts: Enterprise IoT enters the mass-adoption phase)
+[#]: via: (https://www.networkworld.com/article/3397317/experts-enterprise-iot-enters-the-mass-adoption-phase.html)
+[#]: author: (Jon Gold https://www.networkworld.com/author/Jon-Gold/)
+
+Experts: Enterprise IoT enters the mass-adoption phase
+======
+Dropping hardware prices, 5G boost business internet-of-things deployments; technical complexity encourages partnerships.
+![Avgust01 / Getty Images][1]
+
+[IoT][2] in general has taken off quickly over the past few years, but experts at the recent IoT World highlighted that the enterprise part of the market has been particularly robust of late – it’s not just an explosion of connected home gadgets anymore.
+
+Donna Moore, chairwoman of the LoRa Alliance, an industry group that works to develop and scale low-power WAN technology for mass usage, said on a panel that she’s never seen growth this fast in the sector. “I’d say we’re now in the early mass adopters [stage],” she said.
+
+**More on IoT:**
+
+ * [Most powerful Internet of Things companies][3]
+ * [10 Hot IoT startups to watch][4]
+ * [The 6 ways to make money in IoT][5]
+ * [What is digital twin technology? [and why it matters]][6]
+ * [Blockchain, service-centric networking key to IoT success][7]
+ * [Getting grounded in IoT networking and security][8]
+ * [Building IoT-ready networks must become a priority][9]
+ * [What is the Industrial IoT? [And why the stakes are so high]][10]
+
+
+
+The technology itself has pushed adoption to these heights, said Graham Trickey, head of IoT for the GSMA, a trade organization for mobile network operators. Along with price drops for wireless connectivity modules, the array of upcoming technologies nestling under the umbrella label of [5G][11] could simplify the process of connecting devices to [edge-computing][12] hardware – and the edge to the cloud or [data center][13].
+
+“Mobile operators are not just providers of connectivity now, they’re farther up the stack,” he said. Technologies like narrow-band IoT and support for highly demanding applications like telehealth are all set to be part of the final 5G spec.
+
+### Partnerships needed to deal with IoT complexity**
+
+**
+
+That’s not to imply that there aren’t still huge tasks facing both companies trying to implement their own IoT frameworks and the creators of the technology underpinning them. For one thing, IoT tech requires a huge array of different sets of specialized knowledge.
+
+“That means partnerships, because you need an expert in your [vertical] area to know what you’re looking for, you need an expert in communications, and you might need a systems integrator,” said Trickey.
+
+Phil Beecher, the president and CEO of the Wi-SUN Alliance (the acronym stands for Smart Ubiquitous Networks, and the group is heavily focused on IoT for the utility sector), concurred with that, arguing that broad ecosystems of different technologies and different partners would be needed. “There’s no one technology that’s going to solve all these problems, no matter how much some parties might push it,” he said.
+
+One of the central problems – [IoT security][14] – is particularly dear to Beecher’s heart, given the consequences of successful hacks of the electrical grid or other utilities. More than one panelist praised the passage of the EU’s General Data Protection Regulation, saying that it offered concrete guidelines for entities developing IoT tech – a crucial consideration for some companies that may not have a lot of in-house expertise in that area.
+
+Join the Network World communities on [Facebook][15] and [LinkedIn][16] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397317/experts-enterprise-iot-enters-the-mass-adoption-phase.html
+
+作者:[Jon Gold][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Jon-Gold/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/iot_internet_of_things_mobile_connections_by_avgust01_gettyimages-1055659210_2400x1600-100788447-large.jpg
+[2]: https://www.networkworld.com/article/3207535/what-is-iot-how-the-internet-of-things-works.html
+[3]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[4]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[5]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[6]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[7]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[8]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[9]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[10]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[11]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+[12]: https://www.networkworld.com/article/3224893/what-is-edge-computing-and-how-it-s-changing-the-network.html?nsdr=true
+[13]: https://www.networkworld.com/article/3223692/what-is-a-data-centerhow-its-changed-and-what-you-need-to-know.html
+[14]: https://www.networkworld.com/article/3269736/getting-grounded-in-iot-networking-and-security.html
+[15]: https://www.facebook.com/NetworkWorld/
+[16]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190522 The Traffic Jam Whopper project may be the coolest-dumbest IoT idea ever.md b/sources/talk/20190522 The Traffic Jam Whopper project may be the coolest-dumbest IoT idea ever.md
new file mode 100644
index 0000000000..be8a4833cc
--- /dev/null
+++ b/sources/talk/20190522 The Traffic Jam Whopper project may be the coolest-dumbest IoT idea ever.md
@@ -0,0 +1,97 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (The Traffic Jam Whopper project may be the coolest/dumbest IoT idea ever)
+[#]: via: (https://www.networkworld.com/article/3396188/the-traffic-jam-whopper-project-may-be-the-coolestdumbest-iot-idea-ever.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+The Traffic Jam Whopper project may be the coolest/dumbest IoT idea ever
+======
+Burger King uses real-time IoT data to deliver burgers to drivers stuck in traffic — and it seems to be working.
+![Mike Mozart \(CC BY 2.0\)][1]
+
+People love to eat in their cars. That’s why we invented the drive-in and the drive-thru.
+
+But despite a fast-food outlet on the corner of every major intersection, it turns out we were only scratching the surface of this idea. Burger King is taking this concept to the next logical step with its new IoT-powered Traffic Jam Whopper project.
+
+I have to admit, when I first heard about this, I thought it was a joke, but apparently the [Traffic Jam Whopper project is totally real][2] and has already passed a month-long test in Mexico City. While the company hasn’t specified a timeline, it plans to roll out the Traffic Jam Whopper project in Los Angeles (where else?) and other traffic-plagued megacities such as São Paulo and Shanghai.
+
+**[ Also read:[Is IoT in the enterprise about making money or saving money?][3] | Get regularly scheduled insights: [Sign up for Network World newsletters][4] ]**
+
+### How Burger King's Traffic Jam Whopper project works
+
+According to [Nations Restaurant News][5], this is how Burger King's Traffic Jam Whopper project works:
+
+The project uses real-time data to target hungry drivers along congested roads and highways for food delivery by couriers on motorcycles.
+
+The system leverages push notifications to the Burger King app and personalized messaging on digital billboards positioned along busy roads close to a Burger King restaurant.
+
+[According to the We Believers agency][6] that put it all together, “By leveraging traffic and drivers’ real-time data [location and speed], we adjusted our billboards’ location and content, displaying information about the remaining time in traffic to order, and personalized updates about deliveries in progress.” The menu is limited to Whopper Combos to speed preparation (though the company plans to offer a wider menu as it works out the kinks).
+
+**[[Become a Microsoft Office 365 administrator in record time with this quick start course from PluralSight.][7] ]**
+
+The company said orders in Mexico City were delivered in an average of 15 minutes. Fortunately (or unfortunately, depending on how you look at it) many traffic jams hold drivers captive for far longer than that.
+
+Once the order is ready, the motorcyclist uses Google maps and GPS technology embedded into the app to locate the car that made the order. The delivery person then weaves through traffic to hand over the Whopper. (Lane-splitting is legal in California, but I have no idea if there are other potential safety or law-enforcement issues involved here. For drivers ordering burgers, at least, the Burger King app supports voice ordering. I also don’t know what happens if traffic somehow clears up before the burger arrives.)
+
+Here’s a video of the pilot program in Mexico City:
+
+#### **New technology = > new opportunities**
+
+Even more amazing, this is not _just_ a publicity stunt. NRN quotes Bruno Cardinali, head of marketing for Burger King Latin America and Caribbean, claiming the project boosted sales during rush hour, when app orders are normally slow:
+
+“Thanks to The Traffic Jam Whopper campaign, we’ve increased deliveries by 63% in selected locations across the month of April, adding a significant amount of orders per restaurant per day, just during rush hours."
+
+If nothing else, this project shows that creative thinking really can leverage IoT technology into new businesses. In this case, it’s turning notoriously bad traffic—pretty much required for this process to work—from a problem into an opportunity to generate additional sales during slow periods.
+
+**More on IoT:**
+
+ * [What is the IoT? How the internet of things works][8]
+ * [What is edge computing and how it’s changing the network][9]
+ * [Most powerful Internet of Things companies][10]
+ * [10 Hot IoT startups to watch][11]
+ * [The 6 ways to make money in IoT][12]
+ * [What is digital twin technology? [and why it matters]][13]
+ * [Blockchain, service-centric networking key to IoT success][14]
+ * [Getting grounded in IoT networking and security][15]
+ * [Building IoT-ready networks must become a priority][16]
+ * [What is the Industrial IoT? [And why the stakes are so high]][17]
+
+
+
+Join the Network World communities on [Facebook][18] and [LinkedIn][19] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396188/the-traffic-jam-whopper-project-may-be-the-coolestdumbest-iot-idea-ever.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/burger-king-gift-card-100797164-large.jpg
+[2]: https://abc7news.com/food/burger-king-to-deliver-to-drivers-stuck-in-traffic/5299073/
+[3]: https://www.networkworld.com/article/3343917/the-big-picture-is-iot-in-the-enterprise-about-making-money-or-saving-money.html
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://www.nrn.com/technology/tech-tracker-burger-king-deliver-la-motorists-stuck-traffic?cid=
+[6]: https://www.youtube.com/watch?v=LXNgEZV7lNg
+[7]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fadministering-office-365-quick-start
+[8]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[9]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[10]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[11]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[12]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[13]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[14]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[15]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[16]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[17]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[18]: https://www.facebook.com/NetworkWorld/
+[19]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190523 Benchmarks of forthcoming Epyc 2 processor leaked.md b/sources/talk/20190523 Benchmarks of forthcoming Epyc 2 processor leaked.md
new file mode 100644
index 0000000000..61ae9e656b
--- /dev/null
+++ b/sources/talk/20190523 Benchmarks of forthcoming Epyc 2 processor leaked.md
@@ -0,0 +1,55 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Benchmarks of forthcoming Epyc 2 processor leaked)
+[#]: via: (https://www.networkworld.com/article/3397081/benchmarks-of-forthcoming-epyc-2-processor-leaked.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Benchmarks of forthcoming Epyc 2 processor leaked
+======
+Benchmarks of AMD's second-generation Epyc server briefly found their way online and show the chip is larger but a little slower than the Epyc 7601 on the market now.
+![Gordon Mah Ung][1]
+
+Benchmarks of engineering samples of AMD's second-generation Epyc server, code-named “Rome,” briefly found their way online and show a very beefy chip running a little slower than its predecessor.
+
+Rome is based on the Zen 2 architecture, believed to be more of an incremental improvement over the prior generation than a major leap. It’s already known that Rome would feature a 64-core, 128-thread design, but that was about all of the details.
+
+**[ Also read:[Who's developing quantum computers][2] ]**
+
+The details came courtesy of SiSoftware's Sandra PC analysis and benchmarking tool. It’s very popular and has been used by hobbyists and benchmarkers alike for more than 20 years. New benchmarks are uploaded to the Sandra database all the time, and what I suspect happened is someone running a Rome sample ran the benchmark, not realizing the results would be uploaded to the Sandra database.
+
+The benchmarks were from two different servers, a Dell PowerEdge R7515 and a Super Micro Super Server. The Dell product number is not on the market, so this would indicate a future server with Rome processors. The entry has since been deleted, but several sites, including the hobbyist site Tom’s Hardware Guide, managed to [take a screenshot][3].
+
+According to the entry, the chip is a mid-range processor with a base clock speed of 1.4GHz, jumping up to 2.2GHz in turbo mode, with 16MB of Level 2 cache and 256MB of Level 3 cache, the latter of which is crazy. The first-generation Epyc had just 32MB of L3 cache.
+
+That’s a little slower than the Epyc 7601 on the market now, but when you double the number of cores in the same space, something’s gotta give, and in this case, it’s electricity. The thermal envelope was not revealed by the benchmark. Previous Epyc processors ranged from 120 watts to 180 watts.
+
+Sandra ranked the processor at #3 for arithmetic and #5 for multimedia processing, which makes me wonder what on Earth beat the Rome chip. Interestingly, the servers were running Windows 10, not Windows Server 2019.
+
+**[[Get certified as an Apple Technical Coordinator with this seven-part online course from PluralSight.][4] ]**
+
+Rome is expected to be officially launched at the massive Computex trade show in Taiwan on May 27 and will begin shipping in the third quarter of the year.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397081/benchmarks-of-forthcoming-epyc-2-processor-leaked.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/11/rome_2-100779395-large.jpg
+[2]: https://www.networkworld.com/article/3275385/who-s-developing-quantum-computers.html
+[3]: https://www.tomshardware.co.uk/amd-epyc-rome-processor-data-center,news-60265.html
+[4]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fapple-certified-technical-trainer-10-11
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190523 Cisco ties its security-SD-WAN gear with Teridion-s cloud WAN service.md b/sources/talk/20190523 Cisco ties its security-SD-WAN gear with Teridion-s cloud WAN service.md
new file mode 100644
index 0000000000..2638987b16
--- /dev/null
+++ b/sources/talk/20190523 Cisco ties its security-SD-WAN gear with Teridion-s cloud WAN service.md
@@ -0,0 +1,74 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco ties its security/SD-WAN gear with Teridion’s cloud WAN service)
+[#]: via: (https://www.networkworld.com/article/3396628/cisco-ties-its-securitysd-wan-gear-with-teridions-cloud-wan-service.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco ties its security/SD-WAN gear with Teridion’s cloud WAN service
+======
+An agreement links Cisco Meraki MX Security/SD-WAN appliances and its Auto VPN technology to Teridion’s cloud-based WAN service that claims to accelerate TCP-based applications by up to 5X.
+![istock][1]
+
+Cisco and Teridion have tied the knot to deliver faster enterprise [software-defined WAN][2] services.
+
+The agreement links [Cisco Meraki][3] MX Security/SD-WAN appliances and its Auto [VPN][4] technology which lets users quickly bring up and configure secure sessions between branches and data centers with [Teridion’s cloud-based WAN service][5]. Teridion’s service promises customers better performance and control over traffic running from remote offices over the public internet to the [data center][6]. The service features what Teridion calls “Curated Routing” which fuses WAN acceleration techniques with route optimization to speed traffic.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][7]
+ * [How to pick an off-site data-backup method][8]
+ * [SD-Branch: What it is and why you’ll need it][9]
+ * [What are the options for security SD-WAN?][10]
+
+
+
+For example, Teridion says its WAN service can accelerate TCP-based applications like file transfers, backups and page loads, by as much as three to five times.
+
+“[The service] improves network performance for UDP based applications like voice, video, RDP, and VDI. Enterprises can get carrier grade performance over broadband and dedicated internet access. Depending on the locations of the sites, [customers] can expect to see a 15 to 30 percent reduction in latency. That’s the difference between a great quality video conference and an unworkable, choppy mess” Teridion [stated][11].
+
+Teridion says the Meraki integration creates an IPSec connection from the Cisco Meraki MX to the Teridion edge. “Customers create locations in the Teridion portal and apply the preconfigured Meraki template to them, or just upload a csv file if you have a lot of locations. Then, from each Meraki MX, create a 3rd party IPSec tunnel to the Teridion edge IP addresses that are generated as part of the Teridion configuration.”
+
+The combined Cisco Meraki and Teridion offering brings SD-WAN and security capabilities at the WAN edge that are tightly integrated with a WAN service delivered over cost-effective broadband or dedicated Internet access, said Raviv Levi, director of product management at Cisco Meraki in a statement. “This brings better reliability and consistency to the enterprise WAN across multiple sites, as well as high performance access to all SaaS applications and cloud workloads.”
+
+Meraki’s MX family supports everything from SD-WAN and [Wi-Fi][12] features to next-generation [firewall][13] and intrusion prevention in a single package.
+
+Some studies show that by 2021 over 75 percent of enterprise traffic will be SaaS-oriented, so giving branch offices SD-WAN's reliable, secure transportation options will be a necessity, Cisco said when it [upgraded the Meraki][3] boxes last year.
+
+Cisco Meraki isn’t the only SD-WAN service Teridion supports. The company also has agreements Citrix, Silver Peak, VMware (VeloCloud). Teridion also has partnerships with over 25 cloud partners, including Google, Amazon Web Services and Microsoft Azure.
+
+[Teridion for Cisco Meraki][14] is available now from authorized Teridion resellers. Pricing starts at $50 per site per month.
+
+Join the Network World communities on [Facebook][15] and [LinkedIn][16] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396628/cisco-ties-its-securitysd-wan-gear-with-teridions-cloud-wan-service.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/02/istock-820219662-100749695-large.jpg
+[2]: https://www.networkworld.com/article/3031279/sd-wan-what-it-is-and-why-you-ll-use-it-one-day.html
+[3]: https://www.networkworld.com/article/3301169/cisco-meraki-amps-up-throughput-wi-fi-to-sd-wan-family.html
+[4]: https://www.networkworld.com/article/3138952/5-things-you-need-to-know-about-virtual-private-networks.html
+[5]: https://www.networkworld.com/article/3284285/teridion-enables-higher-performing-and-more-responsive-saas-applications.html
+[6]: https://www.networkworld.com/article/3223692/what-is-a-data-centerhow-its-changed-and-what-you-need-to-know.html
+[7]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[8]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[9]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[10]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[11]: https://www.teridion.com/blog/teridion-announces-deep-integration-with-cisco-meraki-mx/
+[12]: https://www.networkworld.com/article/3318119/what-to-expect-from-wi-fi-6-in-2019.html
+[13]: https://www.networkworld.com/article/3230457/what-is-a-firewall-perimeter-stateful-inspection-next-generation.html
+[14]: https://www.teridion.com/meraki
+[15]: https://www.facebook.com/NetworkWorld/
+[16]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190523 Edge-based caching and blockchain-nodes speed up data transmission.md b/sources/talk/20190523 Edge-based caching and blockchain-nodes speed up data transmission.md
new file mode 100644
index 0000000000..54ddf76db3
--- /dev/null
+++ b/sources/talk/20190523 Edge-based caching and blockchain-nodes speed up data transmission.md
@@ -0,0 +1,74 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Edge-based caching and blockchain-nodes speed up data transmission)
+[#]: via: (https://www.networkworld.com/article/3397105/edge-based-caching-and-blockchain-nodes-speed-up-data-transmission.html)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+Edge-based caching and blockchain-nodes speed up data transmission
+======
+Using a combination of edge-based data caches and blockchain-like distributed networks, Bluzelle claims it can significantly speed up the delivery of data across the globe.
+![OlgaSalt / /getty][1]
+
+The combination of a blockchain-like distributed network, along with the ability to locate data at the edge will massively speed up future networks, such as those used by the internet of things (IoT), claims Bluzelle in announcing what is says is the first decentralized data delivery network (DDN).
+
+Distributed DDNs will be like content delivery networks (CDNs) that now cache content around the world to speed up the web, but in this case, it will be for data, the Singapore-based company explains. Distributed key-value (blockchain) networks and edge computing built into Bluzelle's system will provide significantly faster delivery than existing caching, the company claims in a press release announcing its product.
+
+“The future of data delivery can only ever be de-centrally distributed,” says Pavel Bains, CEO and co-founder of Bluzelle. It’s because the world requires instant access to data that’s being created at the edge, he argues.
+
+“But delivery is hampered by existing technology,” he says.
+
+**[ Also read:[What is edge computing?][2] and [How edge networking and IoT will reshape data centers][3]. ]**
+
+Bluzelle says decentralized caching is the logical next step to generalized data caching, used for reducing latency. “Decentralized caching expands the theory of caching,” the company writes in a [report][4] (Dropbox pdf) on its [website][5]. It says the cache must be expanded from simply being located at one unique location.
+
+“Using a combination of distributed networks, the edge and the cloud, [it’s] thereby increasing the transactional throughput of data,” the company says.
+
+This kind of thing is particularly important in consumer gaming now, where split-second responses from players around the world make or break a game experience, but it will likely be crucial for the IoT, higher-definition media, artificial intelligence, and virtual reality as they gain more of a role in digitization—including at critical enterprise applications.
+
+“Currently applications are limited to data caching technologies that require complex configuration and management of 10-plus-year-old technology constrained to a few data centers,” Bains says. “These were not designed to handle the ever-increasing volumes of data.”
+
+Bains says one of the key selling points of Bluzelle's network is that developers should be able to implement and run networks without having to also physically expand the networks manually.
+
+“Software developers don’t want to react to where their customers come from. Our architecture is designed to always have the data right where the customer is. This provides a superior consumer experience,” he says.
+
+Data caches are around now, but Bluzelle claims its system, written in C++ and available on Linux and Docker containers, among other platforms, is faster than others. It further says that if its system and a more traditional cache would connect to the same MySQL database in Virginia, say, their users will get the data three to 16 times faster than a traditional “non-edge-caching” network. Write updates to all Bluzelle nodes around the world takes 875 milliseconds (ms), it says.
+
+The company has been concentrating its efforts on gaming, and with a test setup in Virginia, it says it was able to deliver data 33 times faster—at 22ms to Singapore—than a normal, cloud-based data cache. That traditional cache (located near the database) took 727ms in the Bluzelle-published test. In a test to Ireland, it claims 16ms over 223ms using a traditional cache.
+
+An algorithm is partly the reason for the gains, the company explains. It “allows the nodes to make decisions and take actions without the need for masternodes,” the company says. Masternodes are the server-like parts of blockchain systems.
+
+**More about edge networking**
+
+ * [How edge networking and IoT will reshape data centers][3]
+ * [Edge computing best practices][6]
+ * [How edge computing can help secure the IoT][7]
+
+
+
+Join the Network World communities on [Facebook][8] and [LinkedIn][9] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397105/edge-based-caching-and-blockchain-nodes-speed-up-data-transmission.html
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/blockchain_crypotocurrency_bitcoin-by-olgasalt-getty-100787949-large.jpg
+[2]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[3]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[4]: https://www.dropbox.com/sh/go5bnhdproy1sk5/AAC5MDoafopFS7lXUnmiLAEFa?dl=0&preview=Bluzelle+Report+-+The+Decentralized+Internet+Is+Here.pdf
+[5]: https://bluzelle.com/
+[6]: https://www.networkworld.com/article/3331978/lan-wan/edge-computing-best-practices.html
+[7]: https://www.networkworld.com/article/3331905/internet-of-things/how-edge-computing-can-help-secure-the-iot.html
+[8]: https://www.facebook.com/NetworkWorld/
+[9]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190523 Online performance benchmarks all companies should try to achieve.md b/sources/talk/20190523 Online performance benchmarks all companies should try to achieve.md
new file mode 100644
index 0000000000..829fb127f8
--- /dev/null
+++ b/sources/talk/20190523 Online performance benchmarks all companies should try to achieve.md
@@ -0,0 +1,80 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Online performance benchmarks all companies should try to achieve)
+[#]: via: (https://www.networkworld.com/article/3397322/online-performance-benchmarks-all-companies-should-try-to-achieve.html)
+[#]: author: (Zeus Kerravala https://www.networkworld.com/author/Zeus-Kerravala/)
+
+Online performance benchmarks all companies should try to achieve
+======
+With digital performance more important than ever, companies must ensure their online performance meets customers’ needs. A new ThousandEyes report can help them determine that.
+![Thinkstock][1]
+
+There's no doubt about it: We have entered the experience economy, and digital performance is more important than ever.
+
+Customer experience is the top brand differentiator, topping price and every other factor. And businesses that provide a poor digital experience will find customers will actively seek a competitor. In fact, recent ZK Research found that in 2018, about two-thirds of millennials changed loyalties to a brand because of a bad experience. (Note: I am an employee of ZK Research.)
+
+To help companies determine if their online performance is leading, lacking, or on par with some of the top companies, ThousandEyes this week released its [2019 Digital Experience Performance Benchmark Report][2]. This document provides a comparative analysis of web, infrastructure, and network performance from the top 20 U.S. digital retail, travel, and media websites. Although this is a small sampling of companies, those three industries are the most competitive when it comes to using their digital platforms for competitive advantage. The aggregated data from this report can be used as an industry-agnostic performance benchmark that all companies should strive to meet.
+
+**[ Read also:[IoT providers need to take responsibility for performance][3] ]**
+
+The methodology of the study was for ThousandEyes to use its own platform to provide an independent view of performance. It uses active monitoring and a global network of monitoring agents to measure application and network layer performance for websites, applications, and services. The company collected data from 36 major cities scattered across the U.S. Six of the locations (Ashburn, Chicago, Dallas, Los Angeles, San Jose, and Seattle) also included vantage points connected to six major broadband ISPs (AT&T, CenturyLink, Charter, Comcast, Cox, and Verizon). This acts as a good proxy for what a user would experience.
+
+The test involved page load tests against the websites of the major companies in retail, media, and travel and looked at several factors, including DNS response time, round-trip latency, network time (one-way latency), HTTP response time, and page load. The averages and median times can be seen in the table below. Those can be considered the average benchmarks that all companies should try to attain.
+
+![][4]
+
+### Choice of content delivery network matters by location
+
+ThousandEyes' report also looked at how the various services that companies use impacts web performance. For example, the study measured the performance of the content delivery network (CDN) providers in the 36 markets. It found that in Albuquerque, Akamai and Fastly had the most latency, whereas Edgecast had the least. It also found that in Boston, all of the CDN providers were close. Companies can use this type of data to help them select a CDN. Without it, decision makers are essentially guessing and hoping.
+
+### CDN performance is impacted by ISP
+
+Another useful set of data was cross-referencing CDN performance by ISP, which lead to some fascinating information. With Comcast, Akamai, Cloudfront, Google and Incapula all had high amounts of latency. Only Edgecast and Fastly offered average latency. On the other hand, all of the CDNs worked great with CenturyLink. This tells a buyer, "If my customer base is largely in Comcast’s footprint, I should look at Edgecast or Fastly or my customers will be impacted."
+
+### DNS and latency directly impact page load times
+
+The ThousandEyes study also confirmed some points that many people believe as true but until now had no quantifiable evidence to support it. For example, it's widely accepted that DNS response time and network latency to the CDN edge correlate to web performance; the data in the report now supports that belief. ThousandEyes did some regression analysis and fancy math and found that in general, companies that were in the top quartile of HTTP performance had above-average DNS response time and network performance. There were a few exceptions, but in most cases, this is true.
+
+Based on all the data, the below are the benchmarks for the three infrastructure metrics gathered and is what businesses, even ones outside the three verticals studied, should hope to achieve to support a high-quality digital experience.
+
+ * DNS response time 25 ms
+ * Round trip network latency 15 ms
+ * HTTP response time 250 ms
+
+
+
+### Operations teams need to focus on digital performance
+
+Benchmarking certainly provides value, but the report also offers some recommendations on how operations teams can use the data to improve digital performance. Those include:
+
+ * **Measure site from distributed user vantage points**. There is no single point that will provide a view of digital performance everywhere. Instead, measure from a range of ISPs in different regions and take a multi-layered approach to visibility (application, network and routing).
+ * **Use internet performance information as a baseline**. Compare your organization's data to the baselines, and if you’re not meeting it in some markets, focus on improvement there.
+ * **Compare performance to industry peers**. In highly competitive industries, it’s important to understand how you rank versus the competition. Don’t be satisfied with hitting the benchmarks if your key competitors exceed them.
+ * **Build a strong performance stack.** The data shows that solid DNS and HTTP response times and low latency are correlated to solid page load times. Focus on optimizing those factors and consider them foundational to digital performance.
+
+
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397322/online-performance-benchmarks-all-companies-should-try-to-achieve.html
+
+作者:[Zeus Kerravala][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Zeus-Kerravala/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2017/07/racing_speed_runners_internet-speed-100728363-large.jpg
+[2]: https://www.thousandeyes.com/research/digital-experience
+[3]: https://www.networkworld.com/article/3340318/iot-providers-need-to-take-responsibility-for-performance.html
+[4]: https://images.idgesg.net/images/article/2019/05/thousandeyes-100797290-large.jpg
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190523 Study- Most enterprise IoT transactions are unencrypted.md b/sources/talk/20190523 Study- Most enterprise IoT transactions are unencrypted.md
new file mode 100644
index 0000000000..51098dad33
--- /dev/null
+++ b/sources/talk/20190523 Study- Most enterprise IoT transactions are unencrypted.md
@@ -0,0 +1,93 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Study: Most enterprise IoT transactions are unencrypted)
+[#]: via: (https://www.networkworld.com/article/3396647/study-most-enterprise-iot-transactions-are-unencrypted.html)
+[#]: author: (Tim Greene https://www.networkworld.com/author/Tim-Greene/)
+
+Study: Most enterprise IoT transactions are unencrypted
+======
+A Zscaler report finds 91.5% of IoT communications within enterprises are in plaintext and so susceptible to interference.
+![HYWARDS / Getty Images][1]
+
+Of the millions of enterprise-[IoT][2] transactions examined in a recent study, the vast majority were sent without benefit of encryption, leaving the data vulnerable to theft and tampering.
+
+The research by cloud-based security provider Zscaler found that about 91.5 percent of transactions by internet of things devices took place over plaintext, while 8.5 percent were encrypted with [SSL][3]. That means if attackers could intercept the unencrypted traffic, they’d be able to read it and possibly alter it, then deliver it as if it had not been changed.
+
+**[ For more on IoT security, see[our corporate guide to addressing IoT security concerns][4]. | Get regularly scheduled insights by [signing up for Network World newsletters][5]. ]**
+
+Researchers looked through one month’s worth of enterprise traffic traversing Zscaler’s cloud seeking the digital footprints of IoT devices. It found and analyzed 56 million IoT-device transactions over that time, and identified the type of devices, protocols they used, the servers they communicated with, how often communication went in and out and general IoT traffic patterns.
+
+The team tried to find out which devices generate the most traffic and the threats they face. It discovered that 1,015 organizations had at least one IoT device. The most common devices were set-top boxes (52 percent), then smart TVs (17 percent), wearables (8 percent), data-collection terminals (8 percent), printers (7 percent), IP cameras and phones (5 percent) and medical devices (1 percent).
+
+While they represented only 8 percent of the devices, data-collection terminals generated 80 percent of the traffic.
+
+The breakdown is that 18 percent of the IoT devices use SSL to communicate all the time, and of the remaining 82 percent, half used it part of the time and half never used it.
+The study also found cases of plaintext HTTP being used to authenticate devices and to update software and firmware, as well as use of outdated crypto libraries and weak default credentials.
+
+While IoT devices are common in enterprises, “many of the devices are employee owned, and this is just one of the reasons they are a security concern,” the report says. Without strict policies and enforcement, these devices represent potential vulnerabilities.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][6] ]**
+
+Another reason employee-owned IoT devices are a concern is that many businesses don’t consider them a threat because no data is stored on them. But if the data they gather is transmitted insecurely, it is at risk.
+
+### 5 tips to protect enterprise IoT
+
+Zscaler recommends these security precautions:
+
+ * Change default credentials to something more secure. As employees bring in devices, encourage them to use strong passwords and to keep their firmware current.
+ * Isolate IoT devices on networks and restrict inbound and outbound network traffic.
+ * Restrict access to IoT devices from external networks and block unnecessary ports from external access.
+ * Apply regular security and firmware updates to IoT devices, and secure network traffic.
+ * Deploy tools to gain visibility of shadow-IoT devices already inside the network so they can be protected.
+
+
+
+**More on IoT:**
+
+ * [What is edge computing and how it’s changing the network][7]
+ * [Most powerful Internet of Things companies][8]
+ * [10 Hot IoT startups to watch][9]
+ * [The 6 ways to make money in IoT][10]
+ * [What is digital twin technology? [and why it matters]][11]
+ * [Blockchain, service-centric networking key to IoT success][12]
+ * [Getting grounded in IoT networking and security][13]
+ * [Building IoT-ready networks must become a priority][14]
+ * [What is the Industrial IoT? [And why the stakes are so high]][15]
+
+
+
+Join the Network World communities on [Facebook][16] and [LinkedIn][17] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3396647/study-most-enterprise-iot-transactions-are-unencrypted.html
+
+作者:[Tim Greene][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Tim-Greene/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/network_security_network_traffic_scanning_by_hywards_gettyimages-673891964_2400x1600-100796830-large.jpg
+[2]: https://www.networkworld.com/article/3207535/what-is-iot-how-the-internet-of-things-works.html
+[3]: https://www.networkworld.com/article/3045953/5-things-you-need-to-know-about-ssl.html
+[4]: https://www.networkworld.com/article/3269165/internet-of-things/a-corporate-guide-to-addressing-iot-security-concerns.html
+[5]: https://www.networkworld.com/newsletters/signup.html
+[6]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[7]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[8]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[9]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[10]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[11]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[12]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[13]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[14]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[15]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[16]: https://www.facebook.com/NetworkWorld/
+[17]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190528 Managed WAN and the cloud-native SD-WAN.md b/sources/talk/20190528 Managed WAN and the cloud-native SD-WAN.md
new file mode 100644
index 0000000000..026b5d8e81
--- /dev/null
+++ b/sources/talk/20190528 Managed WAN and the cloud-native SD-WAN.md
@@ -0,0 +1,121 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Managed WAN and the cloud-native SD-WAN)
+[#]: via: (https://www.networkworld.com/article/3398476/managed-wan-and-the-cloud-native-sd-wan.html)
+[#]: author: (Matt Conran https://www.networkworld.com/author/Matt-Conran/)
+
+Managed WAN and the cloud-native SD-WAN
+======
+The motivation for WAN transformation is clear, today organizations require: improved internet access and last mile connectivity, additional bandwidth and a reduction in the WAN costs.
+![Gerd Altmann \(CC0\)][1]
+
+In recent years, a significant number of organizations have transformed their wide area network (WAN). Many of these organizations have some kind of cloud-presence across on-premise data centers and remote site locations.
+
+The vast majority of organizations that I have consulted with have over 10 locations. And it is common to have headquarters in both the US and Europe, along with remote site locations spanning North America, Europe, and Asia.
+
+A WAN transformation project requires this diversity to be taken into consideration when choosing the best SD-WAN vendor to satisfy both; networking and security requirements. Fundamentally, SD-WAN is not just about physical connectivity, there are many more related aspects.
+
+**[ Related:[MPLS explained – What you need to know about multi-protocol label switching][2]**
+
+### Motivations for transforming the WAN
+
+The motivation for WAN transformation is clear: Today organizations prefer improved internet access and last mile connectivity, additional bandwidth along with a reduction in the WAN costs. Replacing Multiprotocol Label Switching (MPLS) with SD-WAN has of course been the main driver for the SD-WAN evolution, but it is only a single piece of the jigsaw puzzle.
+
+Many SD-WAN vendors are quickly brought to their knees when they try to address security and gain direct internet access from remote site locations. The problem is how to ensure optimized cloud access that is secure, has improved visibility and predictable performance without the high costs associated with MPLS? SD-WAN is not just about connecting locations. Primarily, it needs to combine many other important network and security elements into one seamless worldwide experience.
+
+According to a recent report from [Cato Networks][3] into enterprise IT managers, a staggering 85% will confront use cases in 2019 that are poorly addressed or outright ignored by SD-WAN. Examples includes providing secure, Internet access from any location (50%) and improving visibility into and control over mobile access to cloud applications, such as Office 365 (46%).
+
+### Issues with traditional SD-WAN vendors
+
+First and foremost, SD-WAN unable to address the security challenges that arise during the WAN transformation. Such security challenges include protection against malware, ransomware and implementing the necessary security policies. Besides, there is a lack of visibility that is required to police the mobile users and remote site locations accessing resources in the public cloud.
+
+To combat this, organizations have to purchase additional equipment. There has always been and will always be a high cost associated with buying such security appliances. Furthermore, the additional tools that are needed to protect the remote site locations increase the network complexity and reduce visibility. Let’s us not forget that the variety of physical appliances require talented engineers for design, deployment and maintenance.
+
+There will often be a single network-cowboy. This means the network and security configuration along with the design essentials are stored in the mind of the engineer, not in a central database from where the knowledge can be accessed if the engineer leaves his or her employment.
+
+The physical appliance approach to SD-WAN makes it hard, if not impossible, to accommodate for the future. If the current SD-WAN vendors continue to focus just on connecting the devices with the physical appliances, they will have limited ability to accommodate for example, with the future of network IoT devices. With these factors in mind what are the available options to overcome the SD-WAN shortcomings?
+
+One can opt for a do it yourself (DIY) solution, or a managed service, which can fall into the category of telcos, with the improvements of either co-managed or self-managed service categories.
+
+### Option 1: The DIY solution
+
+Firstly DIY, from the experience of trying to stitch together a global network, this is not only costly but also complex and is a very constrained approach to the network transformation. We started with physical appliances decades ago and it was sufficient to an extent. The reason it worked was that it suited the requirements of the time, but our environment has changed since then. Hence, we need to accommodate these changes with the current requirements.
+
+Even back in those days, we always had a breachable perimeter. The perimeter-approach to networking and security never really worked and it was just a matter of time before the bad actor would penetrate the guarded walls.
+
+Securing a global network involves more than just firewalling the devices. A solid security perimeter requires URL filtering, anti-malware and IPS to secure the internet traffic. If you try to deploy all these functions in a single device, such as, unified threat management (UTM), you will hit scaling problems. As a result, you will be left with appliance sprawl.
+
+Back in my early days as an engineer, I recall stitching together a global network with a mixture of security and network appliances from a variety of vendors. It was me and just two others who used to get the job done on time and for a production network, our uptime levels were superior to most.
+
+However, it involved too many late nights, daily flights to our PoPs and of course the major changes required a forklift. A lot of work had to be done at that time, which made me want to push some or most of the work to a 3rd party.
+
+### Option 2: The managed service solution
+
+Today, there is a growing need for the managed service approach to SD-WAN. Notably, it simplifies the network design, deployment and maintenance activities while offloading the complexity, in line with what most CIOs are talking about today.
+
+Managed service provides a number of benefits, such as the elimination of backhauling to centralized cloud connectors or VPN concentrators. Evidently, backhauling is never favored for a network architect. More than often it will result in increased latency, congested links, internet chokepoints, and last-mile outages.
+
+Managed service can also authenticate mobile users at the local communication hub and not at a centralized point which would increase the latency. So what options are available when considering a managed service?
+
+### Telcos: An average service level
+
+Let’s be honest, telcos have a mixed track record and enterprises rely on them with caution. Essentially, you are building a network with 3rd party appliances and services that put the technical expertise outside of the organization.
+
+Secondly, the telco must orchestrate, monitor and manage numerous technical domains which are likely to introduce further complexity. As a result, troubleshooting requires close coordination with the suppliers which will have an impact on the customer experience.
+
+### Time equals money
+
+To resolve a query could easily take two or three attempts. It’s rare that you will get to the right person straight away. This eventually increases the time to resolve problems. Even for a minor feature change, you have to open tickets. Hence, with telcos, it increases the time required to solve a problem.
+
+In addition, it takes time to make major network changes such as opening new locations, which could take up to 45 days. In the same report mentioned above, 71% of the respondents are frustrated with the telco customer-service-time to resolve the problems, 73% indicated that deploying new locations requires at least 15 days and 47% claimed that “high bandwidth costs” is the biggest frustration while working with telcos.
+
+When it comes to lead times for projects, an engineer does not care. Does a project manager care if you have an optimum network design? No, many don’t, most just care about the timeframes. During my career, now spanning 18 years, I have never seen comments from any of my contacts saying “you must adhere to your project manager’s timelines”.
+
+However, out of the experience, the project managers have their ways and lead times do become a big part of your daily job. So as an engineer, 45-day lead time will certainly hit your brand hard, especially if you are an external consultant.
+
+There is also a problem with bandwidth costs. Telcos need to charge due to their complexity. There is always going to be a series of problems when working with them. Let’s face it, they offer an average service level.
+
+### Co-management and self-service management
+
+What is needed is a service that equips with the visibility and control of DIY to managed services. This, ultimately, opens the door to co-management and self-service management.
+
+Co-management allows both the telco and enterprise to make changes to the WAN. Then we have the self-service management of WAN that allows the enterprises to have sole access over the aspect of their network.
+
+However, these are just sticking plasters covering up the flaws. We need a managed service that not only connects locations but also synthesizes the site connectivity, along with security, mobile access, and cloud access.
+
+### Introducing the cloud-native approach to SD-WAN
+
+There should be a new style of managed services that combines the best of both worlds. It should offer the uptime, predictability and reach of the best telcos along with the cost structure and versatility of cloud providers. All such requirements can be met by what is known as the cloud-native carrier.
+
+Therefore, we should be looking for a platform that can connect and secure all the users and resources at scale, no matter where they are positioned. Eventually, such a platform will limit the costs and increase the velocity and agility.
+
+This is what a cloud-native carrier can offer you. You could say it’s a new kind of managed service, which is what enterprises are now looking for. A cloud-native carrier service brings the best of cloud services to the world of networking. This new style of managed service brings to SD-WAN the global reach, self-service, and agility of the cloud with the ability to easily migrate from MPLS.
+
+In summary, a cloud-native carrier service will improve global connectivity to on-premises and cloud applications, enable secure branch to internet access, and both securely and optimally integrate cloud datacenters.
+
+**This article is published as part of the IDG Contributor Network.[Want to Join?][4]**
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398476/managed-wan-and-the-cloud-native-sd-wan.html
+
+作者:[Matt Conran][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Matt-Conran/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2017/03/network-wan-100713693-large.jpg
+[2]: https://www.networkworld.com/article/2297171/sd-wan/network-security-mpls-explained.html
+[3]: https://www.catonetworks.com/news/digital-transformation-survey
+[4]: /contributor-network/signup.html
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190528 Moving to the Cloud- SD-WAN Matters.md b/sources/talk/20190528 Moving to the Cloud- SD-WAN Matters.md
new file mode 100644
index 0000000000..8f6f46b6f2
--- /dev/null
+++ b/sources/talk/20190528 Moving to the Cloud- SD-WAN Matters.md
@@ -0,0 +1,69 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Moving to the Cloud? SD-WAN Matters!)
+[#]: via: (https://www.networkworld.com/article/3397921/moving-to-the-cloud-sd-wan-matters.html)
+[#]: author: (Rami Rammaha https://www.networkworld.com/author/Rami-Rammaha/)
+
+Moving to the Cloud? SD-WAN Matters!
+======
+
+![istock][1]
+
+This is the first in a two-part blog series that will explore how enterprises can realize the full transformation promise of the cloud by shifting to a business first networking model powered by a business-driven [SD-WAN][2]. The focus for this installment will be on automating secure IPsec connectivity and intelligently steering traffic to cloud providers.
+
+Over the past several years we’ve seen a major shift in data center strategies where enterprise IT organizations are shifting applications and workloads to cloud, whether private or public. More and more, enterprises are leveraging software as-a-service (SaaS) applications and infrastructure as-a-service (IaaS) cloud services from leading providers like [Amazon AWS][3], [Google Cloud][4], [Microsoft Azure][5] and [Oracle Cloud Infrastructure][6]. This represents a dramatic shift in enterprise data traffic patterns as fewer and fewer applications are hosted within the walls of the traditional corporate data center.
+
+There are several drivers for the shift to IaaS cloud services and SaaS apps, but business agility tops the list for most enterprises. The traditional IT model for provisioning and deprovisioning applications is rigid and inflexible and is no longer able to keep pace with changing business needs.
+
+According to [LogicMonitor’s Cloud Vision 2020][7] study, more than 80 percent of enterprise workloads will run in the cloud by 2020 with more than 40 percent running on public cloud platforms. This major shift in the application consumption model is having a huge [impact on organizations and infrastructure][8]. A recent article entitled “[How Amazon Web Services is luring banks to the cloud][9],” published by CNBC, reported that some companies already have completely migrated all of their applications and IT workloads to public cloud infrastructures. An interesting fact is that while many enterprises must comply with stringent regulatory compliance mandates such as PCI-DSS or HIPAA, they still have made the move to the cloud. This tells us two things – the maturity of using public cloud services and the trust these organizations have in using them is at an all-time high. Again, it is all about speed and agility – without compromising performance, security and reliability.
+
+### **Is there a direct correlation between moving to the cloud and adopting SD-WAN?**
+
+As the cloud enables businesses to move faster, an SD-WAN architecture where top-down business intent is the driver is critical to ensuring success, especially when branch offices are geographically distributed across the globe. Traditional router-centric WAN architectures were never designed to support today’s cloud consumption model for applications in the most efficient way. With a conventional router-centric WAN approach, access to applications residing in the cloud means traversing unnecessary hops, resulting in wasted bandwidth, additional cost, added latency and potentially higher packet loss. In addition, under the existing, traditional WAN model where management tends to be rigid, complex network changes can be lengthy, whether setting up new branches or troubleshooting performance issues. This leads to inefficiencies and a costly operational model. Therefore, enterprises greatly benefit from taking a business-first WAN approach toward achieving greater agility in addition to realizing substantial CAPEX and OPEX savings.
+
+A business-driven SD-WAN platform is purpose-built to tackle the challenges inherent to the traditional router-centric model and more aptly support today’s cloud consumption model. This means application policies are defined based on business intent, connecting users securely and directly to applications where ever they reside without unnecessary extra hops or security compromises. For example, if the application is hosted in the cloud and is trusted, a business-driven SD-WAN can automatically connect users to it without backhauling traffic to a POP or HQ data center. Now, in general this traffic is usually going across an internet link which, on its own, may not be secure. However, the right SD-WAN platform will have a unified stateful firewall built-in for local internet breakout allowing only branch-initiated sessions to enter the branch and providing the ability to service chain traffic to a cloud-based security service if necessary, before forwarding it to its final destination. If the application is moved and becomes hosted by another provider or perhaps back to a company’s own data center, traffic must be intelligently redirected, wherever the application is being hosted. Without automation and embedded machine learning, dynamic and intelligent traffic steering is impossible.
+
+### **A closer look at how the Silver Peak EdgeConnect™ SD-WAN edge platform addresses these challenges: **
+
+**Automate traffic steering and connectivity to cloud providers**
+
+An [EdgeConnect][10] virtual instance is easily spun up in any of the [leading cloud providers][11] through their respective marketplaces. For an SD-WAN to intelligently steer traffic to its destination, it requires insights into both HTTP and HTTPS traffic; it must be able to identify apps on the first packet received in order to steer traffic to the right destination in accordance with business intent. This is critical capability because once a TCP connection is NAT’d with a public IP address, it cannot be switched thus it can’t be re-routed once a connection is established. So, the ability of EdgeConnect to identify, classify and automatically steer traffic based on the first packet – and not the second or tenth packet – to the correct destination will assure application SLAs, minimize wasting expensive bandwidth and deliver the highest quality of experience.
+
+Another critical capability is automatic performance optimization. Irrespective of which link the traffic ends up traversing based on business intent and the unique requirements of the application, EdgeConnect automatically optimizes application performance without human intervention by correcting for out of order packets using Packet Order Correction (POC) or even under high latency conditions that can be related to distance or other issues. This is done using adaptive Forward Error Correction (FEC) and tunnel bonding where a virtual tunnel is created, resulting in a single logical overlay that traffic can be dynamically moved between the different paths as conditions change with each underlay WAN service. In this [lightboard video][12], Dinesh Fernando, a technical marketing engineer at Silver Peak, explains how EdgeConnect automates tunnel creation between sites and cloud providers, how it simplifies data transfers between multi-clouds, and how it improves application performance.
+
+If your business is global and increasingly dependent on the cloud, the business-driven EdgeConnect SD-WAN edge platform enables seamless multi-cloud connectivity, turning the network into a business accelerant. EdgeConnect delivers:
+
+ 1. A consistent deployment from the branch to the cloud, extending the reach of the SD-WAN into virtual private cloud environments
+ 2. Multi-cloud flexibility, making it easier to initiate and distribute resources across multiple cloud providers
+ 3. Investment protection by confidently migrating on premise IT resources to any combination of the leading public cloud platforms, knowing their cloud-hosted instances will be fully supported by EdgeConnect
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397921/moving-to-the-cloud-sd-wan-matters.html
+
+作者:[Rami Rammaha][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Rami-Rammaha/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/istock-899678028-100797709-large.jpg
+[2]: https://www.silver-peak.com/sd-wan/sd-wan-explained
+[3]: https://www.silver-peak.com/company/tech-partners/cloud/aws
+[4]: https://www.silver-peak.com/company/tech-partners/cloud/google-cloud
+[5]: https://www.silver-peak.com/company/tech-partners/cloud/microsoft-azure
+[6]: https://www.silver-peak.com/company/tech-partners/cloud/oracle-cloud
+[7]: https://www.logicmonitor.com/resource/the-future-of-the-cloud-a-cloud-influencers-survey/?utm_medium=pr&utm_source=businesswire&utm_campaign=cloudsurvey
+[8]: http://www.networkworld.com/article/3152024/lan-wan/in-the-age-of-digital-transformation-why-sd-wan-plays-a-key-role-in-the-transition.html
+[9]: http://www.cnbc.com/2016/11/30/how-amazon-web-services-is-luring-banks-to-the-cloud.html?__source=yahoo%257cfinance%257cheadline%257cheadline%257cstory&par=yahoo&doc=104135637
+[10]: https://www.silver-peak.com/products/unity-edge-connect
+[11]: https://www.silver-peak.com/company/tech-partners?strategic_partner_type=69
+[12]: https://www.silver-peak.com/resource-center/automate-connectivity-to-cloud-networking-with-sd-wan
diff --git a/sources/talk/20190528 With Cray buy, HPE rules but does not own the supercomputing market.md b/sources/talk/20190528 With Cray buy, HPE rules but does not own the supercomputing market.md
new file mode 100644
index 0000000000..07f9eea10c
--- /dev/null
+++ b/sources/talk/20190528 With Cray buy, HPE rules but does not own the supercomputing market.md
@@ -0,0 +1,59 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (With Cray buy, HPE rules but does not own the supercomputing market)
+[#]: via: (https://www.networkworld.com/article/3397087/with-cray-buy-hpe-rules-but-does-not-own-the-supercomputing-market.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+With Cray buy, HPE rules but does not own the supercomputing market
+======
+In buying supercomputer vendor Cray, HPE has strengthened its high-performance-computing technology, but serious competitors remain.
+![Cray Inc.][1]
+
+Hewlett Packard Enterprise was already the leader in the high-performance computing (HPC) sector before its announced acquisition of supercomputer maker Cray earlier this month. Now it has a commanding lead, but there are still competitors to the giant.
+
+The news that HPE would shell out $1.3 billion to buy the company came just as Cray had announced plans to build three of the biggest systems yet — all exascale, and all with the same deployment time of 2021.
+
+Sales had been slowing for HPC systems, but our government, with its endless supply of money, came to the rescue, throwing hundreds of millions at Cray for systems to be built at Lawrence Berkeley National Laboratory, Argonne National Laboratory and Oak Ridge National Laboratory.
+
+**[ Read also:[How to plan a software-defined data-center network][2] ]**
+
+And HPE sees a big revenue opportunity in HPC, a market that was $2 billion in 1990 and now nearly $30 billion, according to Steve Conway, senior vice president with Hyperion Research, which follows the HPC market. HPE thinks the HPC market will grow to $35 billion by 2021, and it hopes to earn a big chunk of that pie.
+
+“They were solidly in the lead without Cray. They were already in a significant lead over the No. 2 company, Dell. This adds to their lead and gives them access to very high end of market, especially government supercomputers that sell for $300 million to $600 million each,” said Conway.
+
+He’s not exaggerating. Earlier this month the U.S. Department of Energy announced a contract with Cray to build Frontier, an exascale supercomputer at Oak Ridge National Laboratory, sometime in 2021, with a $600 million price tag. Frontier will be powered by AMD Epyc processors and Radeon GPUs, which must have them doing backflips at AMD.
+
+With Cray, HPE is sitting on a lot of technology for the supercomputing and even the high-end, non-HPC market. It had the ProLiant business, the bulk of server sales (and proof the Compaq acquisition wasn’t such a bad idea), Integrity NonStop mission-critical servers, the SGI business it acquired in in 2016, plus a variety running everything from Arm to Xeon Scalable processors.
+
+Conway thinks all of those technologies fit in different spaces, so he doubts HPE will try to consolidate any of it. All HPE has said so far is it will keep the supercomputer products it has now under the Cray business unit.
+
+But the company is still getting something it didn’t have. “It takes a certain kind of technical experience [to do HPC right] and only a few companies able to play at that level. Before this deal, HPE was not one of them,” said Conway.
+
+And in the process, HPE takes Cray away from its many competitors: IBM, Lenovo, Dell/EMC, Huawei (well, not so much now), Super Micro, NEC, Hitachi, Fujitsu, and Atos.
+
+“[The acquisition] doesn’t fundamentally change things because there’s still enough competitors that buyers can have competitive bids. But it’s gotten to be a much bigger market,” said Conway.
+
+Cray sells a lot to government, but Conway thinks there is a new opportunity in the ever-expanding AI race. “Because HPC is indispensable at the forefront of AI, there is a new area for expanding the market,” he said.
+
+Join the Network World communities on [Facebook][3] and [LinkedIn][4] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397087/with-cray-buy-hpe-rules-but-does-not-own-the-supercomputing-market.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/06/the_cray_xc30_piz_daint_system_at_the_swiss_national_supercomputing_centre_via_cray_inc_3x2_978x652-100762113-large.jpg
+[2]: https://www.networkworld.com/article/3284352/data-center/how-to-plan-a-software-defined-data-center-network.html
+[3]: https://www.facebook.com/NetworkWorld/
+[4]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190529 Cisco security spotlights Microsoft Office 365 e-mail phishing increase.md b/sources/talk/20190529 Cisco security spotlights Microsoft Office 365 e-mail phishing increase.md
new file mode 100644
index 0000000000..c1e0493e63
--- /dev/null
+++ b/sources/talk/20190529 Cisco security spotlights Microsoft Office 365 e-mail phishing increase.md
@@ -0,0 +1,92 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco security spotlights Microsoft Office 365 e-mail phishing increase)
+[#]: via: (https://www.networkworld.com/article/3398925/cisco-security-spotlights-microsoft-office-365-e-mail-phishing-increase.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco security spotlights Microsoft Office 365 e-mail phishing increase
+======
+Cisco blog follows DHS Cybersecurity and Infrastructure Security Agency (CISA) report detailing risks around Office 365 and other cloud services
+![weerapatkiatdumrong / Getty Images][1]
+
+It’s no secret that if you have a cloud-based e-mail service, fighting off the barrage of security issues has become a maddening daily routine.
+
+The leading e-mail service – in [Microsoft’s Office 365][2] package – seems to be getting the most attention from those attackers hellbent on stealing enterprise data or your private information via phishing attacks. Amazon and Google see their share of phishing attempts in their cloud-based services as well.
+
+**[ Also see[What to consider when deploying a next generation firewall][3]. | Get regularly scheduled insights by [signing up for Network World newsletters][4]. ]**
+
+But attackers are crafting and launching phishing campaigns targeting Office 365 users, [wrote][5] Ben Nahorney, a Threat Intelligence Analyst focused on covering the threat landscape for Cisco Security in a blog focusing on the Office 365 phishing issue.
+
+Nahorney wrote of research from security vendor [Agari Data][6], that found over the last few quarters, there has been a steady increase in the number of phishing emails impersonating Microsoft. While Microsoft has long been the most commonly impersonated brand, it now accounts for more than half of all brand impersonations seen in the last quarter.
+
+Recently cloud security firm Avanan wrote in its [annual phishing report][7], one in every 99 emails is a phishing attack, using malicious links and attachments as the main vector. “Of the phishing attacks we analyzed, 25 percent bypassed Office 365 security, a number that is likely to increase as attackers design new obfuscation methods that take advantage of zero-day vulnerabilities on the platform,” Avanan wrote.
+
+The attackers attempt to steal a user’s login credentials with the goal of taking over accounts. If successful, attackers can often log into the compromised accounts, and perform a wide variety of malicious activity: Spread malware, spam and phishing emails from within the internal network; carry out tailored attacks such as spear phishing and [business email compromise][8] [a long-standing business scam that uses spear-phishing, social engineering, identity theft, e-mail spoofing], and target partners and customers, Nahorney wrote.
+
+Nahorney wrote that at first glance, this may not seem very different than external email-based attacks. However, there is one critical distinction: The malicious emails sent are now coming from legitimate accounts.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][9] ]**
+
+“For the recipient, it’s often even someone that they know, eliciting trust in a way that would not necessarily be afforded to an unknown source. To make things more complicated, attackers often leverage ‘conversation hijacking,’ where they deliver their payload by replying to an email that’s already located in the compromised inbox,” Nahorney stated.
+
+The methods used by attackers to gain access to an Office 365 account are fairly straightforward, Nahorney wrote.
+
+“The phishing campaigns usually take the form of an email from Microsoft. The email contains a request to log in, claiming the user needs to reset their password, hasn’t logged in recently or that there’s a problem with the account that needs their attention. A URL is included, enticing the reader to click to remedy the issue,” Nahorney wrote.
+
+Once logged in, nefarious activities can go on unnoticed as the attacker has what look like authorized credentials.
+
+“This gives the attacker time for reconnaissance: a chance to observe and plan additional attacks. Nor will this type of attack set off a security alert in the same way something like a brute-force attack against a webmail client will, where the attacker guesses password after password until they get in or are detected,” Nahorney stated.
+
+Nahorney suggested the following steps customers can take to protect email:
+
+ * Use multi-factor authentication. If a login attempt requires a secondary authorization before someone is allowed access to an inbox, this will stop many attackers, even with phished credentials.
+ * Deploy advanced anti-phishing technologies. Some machine-learning technologies can use local identity and relationship modeling alongside behavioral analytics to spot deception-based threats.
+ * Run regular phishing exercises. Regular, mandated phishing exercises across the entire organization will help to train employees to recognize phishing emails, so that they don’t click on malicious URLs, or enter their credentials into malicious website.
+
+
+
+### Homeland Security flags Office 365, other cloud email services
+
+The U.S. government, too, has been warning customers of Office 365 and other cloud-based email services that they should be on alert for security risks. The US Department of Homeland Security's Cybersecurity and Infrastructure Security Agency (CISA) this month [issued a report targeting][10] Office 365 and other cloud services saying:
+
+“Organizations that used a third party have had a mix of configurations that lowered their overall security posture (e.g., mailbox auditing disabled, unified audit log disabled, multi-factor authentication disabled on admin accounts). In addition, the majority of these organizations did not have a dedicated IT security team to focus on their security in the cloud. These security oversights have led to user and mailbox compromises and vulnerabilities.”
+
+The agency also posted remediation suggestions including:
+
+ * Enable unified audit logging in the Security and Compliance Center.
+ * Enable mailbox auditing for each user.
+ * Ensure Azure AD password sync is planned for and configured correctly, prior to migrating users.
+ * Disable legacy email protocols, if not required, or limit their use to specific users.
+
+
+
+Join the Network World communities on [Facebook][11] and [LinkedIn][12] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398925/cisco-security-spotlights-microsoft-office-365-e-mail-phishing-increase.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/cso_phishing_social_engineering_security_threat_by_weerapatkiatdumrong_gettyimages-489433130_3x2_2400x1600-100796450-large.jpg
+[2]: https://docs.microsoft.com/en-us/office365/securitycompliance/security-roadmap
+[3]: https://www.networkworld.com/article/3236448/lan-wan/what-to-consider-when-deploying-a-next-generation-firewall.html
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://blogs.cisco.com/security/office-365-phishing-threat-of-the-month
+[6]: https://www.agari.com/
+[7]: https://www.avanan.com/hubfs/2019-Global-Phish-Report.pdf
+[8]: https://www.networkworld.com/article/3195072/fbi-ic3-vile-5b-business-e-mail-scam-continues-to-breed.html
+[9]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[10]: https://www.us-cert.gov/ncas/analysis-reports/AR19-133A
+[11]: https://www.facebook.com/NetworkWorld/
+[12]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190529 Nvidia launches edge computing platform for AI processing.md b/sources/talk/20190529 Nvidia launches edge computing platform for AI processing.md
new file mode 100644
index 0000000000..f608db970c
--- /dev/null
+++ b/sources/talk/20190529 Nvidia launches edge computing platform for AI processing.md
@@ -0,0 +1,53 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Nvidia launches edge computing platform for AI processing)
+[#]: via: (https://www.networkworld.com/article/3397841/nvidia-launches-edge-computing-platform-for-ai-processing.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Nvidia launches edge computing platform for AI processing
+======
+EGX platform goes to the edge to do as much processing there as possible before sending data upstream to major data centers.
+![Leo Wolfert / Getty Images][1]
+
+Nvidia is launching a new platform called EGX Platform designed to bring real-time artificial intelligence (AI) to edge networks. The idea is to put AI computing closer to where sensors collect data before it is sent to larger data centers.
+
+The edge serves as a buffer to data sent to data centers. It whittles down the data collected and only sends what is relevant up to major data centers for processing. This can mean discarding more than 90% of data collected, but the trick is knowing which data to keep and which to discard.
+
+“AI is required in this data-driven world,” said Justin Boitano, senior director for enterprise and edge computing at Nvidia, on a press call last Friday. “We analyze data near the source, capture anomalies and report anomalies back to the mothership for analysis.”
+
+**[ Now read[20 hot jobs ambitious IT pros should shoot for][2]. ]**
+
+Boitano said we are hitting crossover where there is more compute at edge than cloud because more work needs to be done there.
+
+EGX comes from 14 server vendors in a range of form factors, combining AI with network, security and storage from Mellanox. Boitano said that the racks will fit in any industry-standard rack, so they will fit into edge containers from the likes of Vapor IO and Schneider Electric.
+
+EGX uses Nvidia’s low-power Jetson Nano processor, but also all the way up to Nvidia T4 processors that can deliver more than 10,000 trillion operations per second (TOPS) for real-time speech recognition and other real-time AI tasks.
+
+Nvdia is working on software stack called Nvidia Edge Stack that can be updated constantly, and the software runs in containers, so no reboots are required, just a restart of the container. EGX runs enterprise-grade Kubernetes container platforms like Red Hat Openshift.
+
+Edge Stack is optimized software that includes Nvidia drivers, a CUDA Kubernetes plugin, a CUDA container runtime, CUDA-X libraries and containerized AI frameworks and applications, including TensorRT, TensorRT Inference Server and DeepStream.
+
+The company is boasting more than 40 early adopters, including BMW Group Logistics, which uses EGX and its own Isaac robotic platforms to handle increasingly complex logistics with real-time efficiency.
+
+Join the Network World communities on [Facebook][3] and [LinkedIn][4] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3397841/nvidia-launches-edge-computing-platform-for-ai-processing.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/industry_4-0_industrial_iot_smart_factory_by_leowolfert_gettyimages-689799380_2400x1600-100788464-large.jpg
+[2]: https://www.networkworld.com/article/3276025/careers/20-hot-jobs-ambitious-it-pros-should-shoot-for.html
+[3]: https://www.facebook.com/NetworkWorld/
+[4]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190529 Satellite-based internet possible by year-end, says SpaceX.md b/sources/talk/20190529 Satellite-based internet possible by year-end, says SpaceX.md
new file mode 100644
index 0000000000..383fac66ca
--- /dev/null
+++ b/sources/talk/20190529 Satellite-based internet possible by year-end, says SpaceX.md
@@ -0,0 +1,63 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Satellite-based internet possible by year-end, says SpaceX)
+[#]: via: (https://www.networkworld.com/article/3398940/space-internet-maybe-end-of-year-says-spacex.html)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+Satellite-based internet possible by year-end, says SpaceX
+======
+Amazon, Tesla-associated SpaceX and OneWeb are emerging as just some of the potential suppliers of a new kind of data-friendly satellite internet service that could bring broadband IoT connectivity to most places on Earth.
+![Getty Images][1]
+
+With SpaceX’s successful launch of an initial array of broadband-internet-carrying satellites last week, and Amazon’s surprising posting of numerous satellite engineering-related job openings on its [job board][2] this month, one might well be asking if the next-generation internet space race is finally getting going. (I first wrote about [OneWeb’s satellite internet plans][3] it was concocting with Airbus four years ago.)
+
+This new batch of satellite-driven internet systems, if they work and are eventually switched on, could provide broadband to most places, including previously internet-barren locations, such as rural areas. That would be good for high-bandwidth, low-latency remote-internet of things (IoT) and increasingly important edge-server connections for verticals like oil and gas and maritime. [Data could even end up getting stored in compliance-friendly outer space, too][4]. Leaky ground-based connections, also, perhaps a thing of the past.
+
+Of the principal new internet suppliers, SpaceX has gotten farthest along. That’s in part because it has commercial impetus. It needed to create payload for its numerous rocket projects. The Tesla electric-car-associated company (the two firms share materials science) has not only launched its first tranche of 60 satellites for its own internet constellation, called Starlink, but also successfully launched numerous batches (making up the full constellation of 75 satellites) for Iridium’s replacement, an upgraded constellation called Iridium NEXT.
+
+[The time of 5G is almost here][5]
+
+Potential competitor OneWeb launched its first six Airbus-built satellites in February. [It has plans for 900 more][6]. SpaceX has been approved for 4,365 more by the FCC, and Project Kuiper, as Amazon’s space internet project is known, wants to place 3,236 satellites in orbit, according to International Telecommunication Union filings [discovered by _GeekWire_][7] earlier this year. [Startup LeoSat, which I wrote about last year, aims to build an internet backbone constellation][8]. Facebook, too, is exploring [space-delivered internet][9].
+
+### Why the move to space?
+
+Laser technical progress, where data is sent in open, free space, rather than via a restrictive, land-based cable or via traditional radio paths, is partly behind this space-internet rush. “Bits travel faster in free space than in glass-fiber cable,” LeoSat explained last year. Additionally, improving microprocessor tech is also part of the mix.
+
+One important difference from existing older-generation satellite constellations is that this new generation of internet satellites will be located in low Earth orbit (LEO). Initial Starlink satellites will be placed at about 350 miles above Earth, with later launches deployed at 710 miles.
+
+There’s an advantage to that. Traditional satellites in geostationary orbit, or GSO, have been deployed about 22,000 miles up. That extra distance versus LEO introduces latency and is one reason earlier generations of Internet satellites are plagued by slow round-trip times. Latency didn’t matter when GSO was introduced in 1964, and commercial satellites, traditionally, have been pitched as one-way video links, such as are used by sporting events for broadcast, and not for data.
+
+And when will we get to experience these new ISPs? “Starlink is targeted to offer service in the Northern U.S. and Canadian latitudes after six launches,” [SpaceX says on its website][10]. Each launch would deliver about 60 satellites. “SpaceX is targeting two to six launches by the end of this year.”
+
+Global penetration of the “populated world” could be obtained after 24 launches, it thinks.
+
+Join the Network World communities on [Facebook][11] and [LinkedIn][12] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398940/space-internet-maybe-end-of-year-says-spacex.html
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/10/network_iot_world-map_us_globe_nodes_global-100777483-large.jpg
+[2]: https://www.amazon.jobs/en/teams/projectkuiper
+[3]: https://www.itworld.com/article/2938652/space-based-internet-starts-to-get-serious.html
+[4]: https://www.networkworld.com/article/3200242/data-should-be-stored-data-in-space-firm-says.html
+[5]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[6]: https://www.airbus.com/space/telecommunications-satellites/oneweb-satellites-connection-for-people-all-over-the-globe.html
+[7]: https://www.geekwire.com/2019/amazon-lists-scores-jobs-bellevue-project-kuiper-broadband-satellite-operation/
+[8]: https://www.networkworld.com/article/3328645/space-data-backbone-gets-us-approval.html
+[9]: https://www.networkworld.com/article/3338081/light-based-computers-to-be-5000-times-faster.html
+[10]: https://www.starlink.com/
+[11]: https://www.facebook.com/NetworkWorld/
+[12]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190529 Survey finds SD-WANs are hot, but satisfaction with telcos is not.md b/sources/talk/20190529 Survey finds SD-WANs are hot, but satisfaction with telcos is not.md
new file mode 100644
index 0000000000..9b65a6c8dd
--- /dev/null
+++ b/sources/talk/20190529 Survey finds SD-WANs are hot, but satisfaction with telcos is not.md
@@ -0,0 +1,69 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Survey finds SD-WANs are hot, but satisfaction with telcos is not)
+[#]: via: (https://www.networkworld.com/article/3398478/survey-finds-sd-wans-are-hot-but-satisfaction-with-telcos-is-not.html)
+[#]: author: (Zeus Kerravala https://www.networkworld.com/author/Zeus-Kerravala/)
+
+Survey finds SD-WANs are hot, but satisfaction with telcos is not
+======
+A recent survey of over 400 IT executives by Cato Networks found that legacy telcos might be on the outside looking in for SD-WANs.
+![istock][1]
+
+This week SD-WAN vendor Cato Networks announced the results of its [Telcos and the Future of the WAN in 2019 survey][2]. The study was a mix of companies of all sizes, with 42% being enterprise-class (over 2,500 employees). More than 70% had a network with more than 10 locations, and almost a quarter (24%) had over 100 sites. All of the respondents have a cloud presence, and almost 80% have at least two data centers. The survey had good geographic diversity, with 57% of respondents coming from the U.S. and 24% from Europe.
+
+Highlights of the survey include the following key findings:
+
+## **SD-WANs are hot but not a panacea to all networking challenges**
+
+The survey found that 44% of respondents have already deployed or will deploy an SD-WAN within the next 12 months. This number is up sharply from 25% when Cato ran the survey a year ago. Another 33% are considering SD-WAN but have no immediate plans to deploy. The primary drivers for the evolution of the WAN are improved internet access (46%), increased bandwidth (39%), improved last-mile availability (38%) and reduced WAN costs (37%). It’s good to see cost savings drop to fourth in motivation, since there is so much more to SD-WAN.
+
+[The time of 5G is almost here][3]
+
+It’s interesting that the majority of respondents believe SD-WAN alone can’t address all challenges facing the WAN. A whopping 85% stated they would be confronting issues not addressed by SD-WAN alone. This includes secure, local internet breakout, improved visibility, and control over mobile access to cloud apps. This indicates that customers are looking for SD-WAN to be the foundation of the WAN but understand that other technologies need to be deployed as well.
+
+## **Telco dissatisfaction is high**
+
+The traditional telco has been a point of frustration for network professionals for years, and the survey spelled that out loud and clear. Prior to being an analyst, I held a number of corporate IT positions and found telcos to be the single most frustrating group of companies to deal with. The problem was, there was no choice. If you need MPLS services, you need a telco. The same can’t be said for SD-WANs, though; businesses have more choices.
+
+Respondents to the survey ranked telco service as “average.” It’s been well documented that we are now in the customer-experience era and “good enough” service is no longer good enough. Regarding pricing, 54% gave telcos a failing grade. Although price isn’t everything, this will certainly open the door to competitive SD-WAN vendors. Respondents gave the highest marks for overall experience to SaaS providers, followed by cloud computing suppliers. Global telcos scored the lowest of all vendor types.
+
+A look deeper explains the frustration level. The network is now mission-critical for companies, but 48% stated they are able to reach the support personnel with the right expertise to solve a problem only on a second attempt. No retailer, airline, hotel or other type of company could survive this, but telco customers had no other options for years.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][4] ]**
+
+Another interesting set of data points is the speed at which telcos address customer needs. Digital businesses compete on speed, but telco process is the antithesis of fast. Moves, adds and changes take at least one business day for half of the respondents. Also, 70% indicated that opening a new location takes 15 days, and 38% stated it requires 45 days or more.
+
+## **Security is now part of SD-WAN**
+
+The use of broadband, cloud access and other trends raise the bar on security for SD-WAN, and the survey confirmed that respondents are skeptical that SD-WANs could address these issues. Seventy percent believe SD-WANs can’t address malware/ransomware, and 49% don’t think SD-WAN helps with enforcing company policies on mobile users. Because of this, network professionals are forced to buy additional security tools from other vendors, but that can drive up complexity. SD-WAN vendors that have intrinsic security capabilities can use that as a point of differentiation.
+
+## **Managed services are critical to the growth of SD-WANs**
+
+The survey found that 75% of respondents are using some kind of managed service provider, versus only 25% using an appliance vendor. This latter number was 32% last year. I’m not surprised by this shift and expect it to continue. Legacy WANs were inefficient but straightforward to deploy. D-WANs are highly agile and more cost-effective, but complexity has gone through the roof. Network engineers need to factor in cloud connectivity, distributed security, application performance, broadband connectivity and other issues. Managed services can help businesses enjoy the benefits of SD-WAN while masking the complexity.
+
+Despite the desire to use an MSP, respondents don’t want to give up total control. Eighty percent stated they preferred self-service or co-managed models. This further explains the shift away from telcos, since they typically work with fully managed models.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398478/survey-finds-sd-wans-are-hot-but-satisfaction-with-telcos-is-not.html
+
+作者:[Zeus Kerravala][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Zeus-Kerravala/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/02/istock-465661573-100750447-large.jpg
+[2]: https://www.catonetworks.com/news/digital-transformation-survey/
+[3]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[4]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190601 HPE Synergy For Dummies.md b/sources/talk/20190601 HPE Synergy For Dummies.md
new file mode 100644
index 0000000000..1b7ddbe2e7
--- /dev/null
+++ b/sources/talk/20190601 HPE Synergy For Dummies.md
@@ -0,0 +1,77 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (HPE Synergy For Dummies)
+[#]: via: (https://www.networkworld.com/article/3399618/hpe-synergy-for-dummies.html)
+[#]: author: (HPE https://www.networkworld.com/author/Michael-Cooney/)
+
+HPE Synergy For Dummies
+======
+
+![istock/venimo][1]
+
+Business must move fast today to keep up with competitive forces. That means IT must provide an agile — anytime, anywhere, any workload — infrastructure that ensures growth, boosts productivity, enhances innovation, improves the customer experience, and reduces risk.
+
+A composable infrastructure helps organizations achieve these important objectives that are difficult — if not impossible — to achieve via traditional means, such as the ability to do the following:
+
+ * Deploy quickly with simple flexing, scaling, and updating
+ * Run workloads anywhere — on physical servers, on virtual servers, or in containers
+ * Operate any workload upon which the business depends, without worrying about infrastructure resources or compatibility
+ * Ensure the infrastructure is able to provide the right service levels so the business can stay in business
+
+
+
+In other words, IT must inherently become part of the fabric of products and services that are rapidly innovated at every company, with an anytime, anywhere, any workload infrastructure.
+
+**The anytime paradigm**
+
+For organizations that seek to embrace DevOps, collaboration is the cultural norm. Development and operations staff work side‐by‐side to support software across its entire life cycle, from initial idea to production support.
+
+To provide DevOps groups — as well as other stakeholders — the IT infrastructure required at the rate at which it is demanded, enterprise IT must increase its speed, agility, and flexibility to enable people anytime composition and re‐composition of resources. Composable infrastructure enables this anytime paradigm.
+
+**The anywhere ability**
+
+Bare metal and virtualized workloads are just two application foundations that need to be supported in the modern data center. Today, containers are emerging as a compelling construct, providing significant benefits for certain kinds of workloads. Unfortunately, with traditional infrastructure approaches, IT needs to build out custom, unique infrastructure to support them, at least until an infrastructure is deployed that can seamlessly handle physical, virtual, and container‐based workloads.
+
+Each environment would need its own hardware and software and might even need its own staff members supporting it.
+
+Composable infrastructure provides an environment that supports the ability to run physical, virtual, or containerized workloads.
+
+**Support any workload**
+
+Do you have a legacy on‐premises application that you have to keep running? Do you have enterprise resource planning (ERP) software that currently powers your business but that will take ten years to phase out? At the same time, do you have an emerging DevOps philosophy under which you’d like to empower developers to dynamically create computing environments as a part of their development efforts?
+
+All these things can be accomplished simultaneously on the right kind of infrastructure. Composable infrastructure enables any workload to operate as a part of the architecture.
+
+**HPE Synergy**
+
+HPE Synergy brings to life the architectural principles of composable infrastructure. It is a single, purpose-built platform that reduces operational complexity for workloads and increases operational velocity for applications and services.
+
+Download a copy of the [HPE Synergy for Dummies eBook][2] to learn how to:
+
+ * Infuse the IT architecture with the ability to enable agility, flexibility, and speed
+ * Apply composable infrastructure concepts to support both traditional and cloud-native applications
+ * Deploy HPE Synergy infrastructure to revolutionize workload support in the data center
+
+
+
+Also, you will find more information about HPE Synergy [here][3].
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3399618/hpe-synergy-for-dummies.html
+
+作者:[HPE][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/06/istock-1026657600-100798064-large.jpg
+[2]: https://www.hpe.com/us/en/resources/integrated-systems/synergy-for-dummies.html
+[3]: http://hpe.com/synergy
diff --git a/sources/talk/20190601 True Hyperconvergence at Scale- HPE Simplivity With Composable Fabric.md b/sources/talk/20190601 True Hyperconvergence at Scale- HPE Simplivity With Composable Fabric.md
new file mode 100644
index 0000000000..97eb611ef8
--- /dev/null
+++ b/sources/talk/20190601 True Hyperconvergence at Scale- HPE Simplivity With Composable Fabric.md
@@ -0,0 +1,28 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (True Hyperconvergence at Scale: HPE Simplivity With Composable Fabric)
+[#]: via: (https://www.networkworld.com/article/3399619/true-hyperconvergence-at-scale-hpe-simplivity-with-composable-fabric.html)
+[#]: author: (HPE https://www.networkworld.com/author/Michael-Cooney/)
+
+True Hyperconvergence at Scale: HPE Simplivity With Composable Fabric
+======
+
+Many hyperconverged solutions only focus on software-defined storage. However, many networking functions and technologies can be consolidated for simplicity and scale in the data center. This video describes how HPE SimpliVity with Composable Fabric gives organizations the power to run any virtual machine anywhere, anytime. Read more about HPE SimpliVity [here][1].
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3399619/true-hyperconvergence-at-scale-hpe-simplivity-with-composable-fabric.html
+
+作者:[HPE][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://hpe.com/info/simplivity
diff --git a/sources/talk/20190602 IoT Roundup- New research on IoT security, Microsoft leans into IoT.md b/sources/talk/20190602 IoT Roundup- New research on IoT security, Microsoft leans into IoT.md
new file mode 100644
index 0000000000..6d955c6485
--- /dev/null
+++ b/sources/talk/20190602 IoT Roundup- New research on IoT security, Microsoft leans into IoT.md
@@ -0,0 +1,71 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (IoT Roundup: New research on IoT security, Microsoft leans into IoT)
+[#]: via: (https://www.networkworld.com/article/3398607/iot-roundup-new-research-on-iot-security-microsoft-leans-into-iot.html)
+[#]: author: (Jon Gold https://www.networkworld.com/author/Jon-Gold/)
+
+IoT Roundup: New research on IoT security, Microsoft leans into IoT
+======
+Verizon sets up widely available narrow-band IoT service, while most Americans think IoT manufacturers should ensure their products protect personal information.
+As with any technology whose use is expanding at such speed, it can be tough to track exactly what’s going on in the [IoT][1] world – everything from basic usage numbers to customer attitudes to more in-depth slices of the market is constantly changing. Fortunately, the month of May brought several new pieces of research to light, which should help provide at least a partial outline of what’s really happening in IoT.
+
+### Internet of things polls
+
+Not all of the news is good. An IPSOS Mori poll performed on behalf of the Internet Society and Consumers International (respectively, an umbrella organization for open development and Internet use and a broad-based consumer advocacy group) found that, despite the skyrocketing numbers of smart devices in circulation around the world, more than half of users in large parts of the western world don’t trust those devices to safeguard their privacy.
+
+**More on IoT:**
+
+ * [What is the IoT? How the internet of things works][2]
+ * [What is edge computing and how it’s changing the network][3]
+ * [Most powerful Internet of Things companies][4]
+ * [10 Hot IoT startups to watch][5]
+ * [The 6 ways to make money in IoT][6]
+ * [What is digital twin technology? [and why it matters]][7]
+ * [Blockchain, service-centric networking key to IoT success][8]
+ * [Getting grounded in IoT networking and security][9]
+ * [Building IoT-ready networks must become a priority][10]
+ * [What is the Industrial IoT? [And why the stakes are so high]][11]
+
+
+
+While almost 70 percent of respondents owned connected devices, 55 percent said they didn’t feel their personal information was adequately protected by manufacturers. A further 28 percent said they had avoided using connected devices – smart home, fitness tracking and similar consumer gadgetry – primarily because they were concerned over privacy issues, and a whopping 85 percent of Americans agreed with the argument that manufacturers had a responsibility to produce devices that protected personal information.
+
+Those concerns are understandable, according to data from the Ponemon Institute, a tech-research organization. Its survey of corporate risk and security personnel, released in early May, found that there have been few concerted efforts to limit exposure to IoT-based security threats, and that those threats are sharply on the rise when compared to past years, with the percentage of organizations that had experienced a data breach related to unsecured IoT devices rising from 15 percent in fiscal 2017 to 26 percent in fiscal 2019.
+
+Beyond a lack of organizational wherewithal to address those threats, part of the problem in some verticals is technical. Security vendor Forescout said earlier this month that its research showed 40 percent of all healthcare IT environments had more than 20 different operating systems, and more than 30 percent had more than 100 – hardly an ideal situation for smooth patching and updating.
+
+To continue reading this article register now
+
+[Get Free Access][12]
+
+[Learn More][13] Existing Users [Sign In][12]
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398607/iot-roundup-new-research-on-iot-security-microsoft-leans-into-iot.html
+
+作者:[Jon Gold][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Jon-Gold/
+[b]: https://github.com/lujun9972
+[1]: https://www.networkworld.com/article/3207535/what-is-iot-how-the-internet-of-things-works.html
+[2]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[3]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[4]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[5]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[6]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[7]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[8]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[9]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[10]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[11]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[12]: javascript://
+[13]: /learn-about-insider/
diff --git a/sources/talk/20190603 It-s time for the IoT to -optimize for trust.md b/sources/talk/20190603 It-s time for the IoT to -optimize for trust.md
new file mode 100644
index 0000000000..cc5aa9db7c
--- /dev/null
+++ b/sources/talk/20190603 It-s time for the IoT to -optimize for trust.md
@@ -0,0 +1,102 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (It’s time for the IoT to 'optimize for trust')
+[#]: via: (https://www.networkworld.com/article/3399817/its-time-for-the-iot-to-optimize-for-trust.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+It’s time for the IoT to 'optimize for trust'
+======
+If we can't trust the internet of things (IoT) to gather accurate data and use it appropriately, IoT adoption and innovation are likely to suffer.
+![Bose][1]
+
+One of the strengths of internet of things (IoT) technology is that it can do so many things well. From smart toothbrushes to predictive maintenance on jetliners, the IoT has more use cases than you can count. The result is that various IoT uses cases require optimization for particular characteristics, from cost to speed to long life, as well as myriad others.
+
+But in a recent post, "[How the internet of things will change advertising][2]" (which you should definitely read), the always-insightful Stacy Higginbotham tossed in a line that I can’t stop thinking about: “It's crucial that the IoT optimizes for trust."
+
+**[ Read also: Network World's[corporate guide to addressing IoT security][3] ]**
+
+### Trust is the IoT's most important attribute
+
+Higginbotham was talking about optimizing for trust as opposed to clicks, but really, trust is more important than just about any other value in the IoT. It’s more important than bandwidth usage, more important than power usage, more important than cost, more important than reliability, and even more important than security and privacy (though they are obviously related). In fact, trust is the critical factor in almost every aspect of the IoT.
+
+Don’t believe me? Let’s take a quick look at some recent developments in the field:
+
+For one thing, IoT devices often don’t take good care of the data they collect from you. Over 90% of data transactions on IoT devices are not fully encrypted, according to a new [study from security company Zscaler][4]. The [problem][5], apparently, is that many companies have large numbers of consumer-grade IoT devices on their networks. In addition, many IoT devices are attached to the companies’ general networks, and if that network is breached, the IoT devices and data may also be compromised.
+
+In some cases, ownership of IoT data can raise surprisingly serious trust concerns. According to [Kaiser Health News][6], smartphone sleep apps, as well as smart beds and smart mattress pads, gather amazingly personal information: “It knows when you go to sleep. It knows when you toss and turn. It may even be able to tell when you’re having sex.” And while companies such as Sleep Number say they don’t share the data they gather, their written privacy policies clearly state that they _can_.
+
+### **Lack of trust may lead to new laws**
+
+In California, meanwhile, "lawmakers are pushing for new privacy rules affecting smart speakers” such as the Amazon Echo. According to the _[LA Times][7]_ , the idea is “to ensure that the devices don’t record private conversations without permission,” requiring a specific opt-in process. Why is this an issue? Because consumers—and their elected representatives—don’t trust that Amazon, or any IoT vendor, will do the right thing with the data it collects from the IoT devices it sells—perhaps because it turns out that thousands of [Amazon employees have been listening in on what Alexa users are][8] saying to their Echo devices.
+
+The trust issues get even trickier when you consider that Amazon reportedly considered letting Alexa listen to users even without a wake word like “Alexa” or “computer,” and is reportedly working on [wearable devices designed to read human emotions][9] from listening to your voice.
+
+“The trust has been breached,” said California Assemblyman Jordan Cunningham (R-Templeton) to the _LA Times_.
+
+As critics of the bill ([AB 1395][10]) point out, the restrictions matter because voice assistants require this data to improve their ability to correctly understand and respond to requests.
+
+### **Some first steps toward increasing trust**
+
+Perhaps recognizing that the IoT needs to be optimized for trust so that we are comfortable letting it do its job, Amazon recently introduced a new Alexa voice command: “[Delete what I said today][11].”
+
+Moves like that, while welcome, will likely not be enough.
+
+For example, a [new United Nations report][12] suggests that “voice assistants reinforce harmful gender stereotypes” when using female-sounding voices and names like Alexa and Siri. Put simply, “Siri’s ‘female’ obsequiousness—and the servility expressed by so many other digital assistants projected as young women—provides a powerful illustration of gender biases coded into technology products, pervasive in the technology sector and apparent in digital skills education.” I'm not sure IoT vendors are eager—or equipped—to tackle issues like that.
+
+**More on IoT:**
+
+ * [What is the IoT? How the internet of things works][13]
+ * [What is edge computing and how it’s changing the network][14]
+ * [Most powerful Internet of Things companies][15]
+ * [10 Hot IoT startups to watch][16]
+ * [The 6 ways to make money in IoT][17]
+ * [What is digital twin technology? [and why it matters]][18]
+ * [Blockchain, service-centric networking key to IoT success][19]
+ * [Getting grounded in IoT networking and security][20]
+ * [Building IoT-ready networks must become a priority][21]
+ * [What is the Industrial IoT? [And why the stakes are so high]][22]
+
+
+
+Join the Network World communities on [Facebook][23] and [LinkedIn][24] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3399817/its-time-for-the-iot-to-optimize-for-trust.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/09/bose-sleepbuds-2-100771579-large.jpg
+[2]: https://mailchi.mp/iotpodcast/stacey-on-iot-how-iot-changes-advertising?e=6bf9beb394
+[3]: https://www.networkworld.com/article/3269165/internet-of-things/a-corporate-guide-to-addressing-iot-security-concerns.html
+[4]: https://www.zscaler.com/blogs/research/iot-traffic-enterprise-rising-so-are-threats
+[5]: https://www.csoonline.com/article/3397044/over-90-of-data-transactions-on-iot-devices-are-unencrypted.html
+[6]: https://khn.org/news/a-wake-up-call-on-data-collecting-smart-beds-and-sleep-apps/
+[7]: https://www.latimes.com/politics/la-pol-ca-alexa-google-home-privacy-rules-california-20190528-story.html
+[8]: https://www.usatoday.com/story/tech/2019/04/11/amazon-employees-listening-alexa-customers/3434732002/
+[9]: https://www.bloomberg.com/news/articles/2019-05-23/amazon-is-working-on-a-wearable-device-that-reads-human-emotions
+[10]: https://leginfo.legislature.ca.gov/faces/billTextClient.xhtml?bill_id=201920200AB1395
+[11]: https://venturebeat.com/2019/05/29/amazon-launches-alexa-delete-what-i-said-today-voice-command/
+[12]: https://unesdoc.unesco.org/ark:/48223/pf0000367416.page=1
+[13]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[14]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[15]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[16]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[17]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[18]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[19]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[20]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[21]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[22]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[23]: https://www.facebook.com/NetworkWorld/
+[24]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190604 5G will augment Wi-Fi, not replace it.md b/sources/talk/20190604 5G will augment Wi-Fi, not replace it.md
new file mode 100644
index 0000000000..76346907f3
--- /dev/null
+++ b/sources/talk/20190604 5G will augment Wi-Fi, not replace it.md
@@ -0,0 +1,102 @@
+[#]: collector: (lujun9972)
+[#]: translator: (GraveAccent)
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (5G will augment Wi-Fi, not replace it)
+[#]: via: (https://www.networkworld.com/article/3399978/5g-will-augment-wi-fi-not-replace-it.html)
+[#]: author: (Zeus Kerravala https://www.networkworld.com/author/Zeus-Kerravala/)
+
+5G will augment Wi-Fi, not replace it
+======
+Jeff Lipton, vice president of strategy and corporate development at Aruba, adds a dose of reality to the 5G hype, discussing how it and Wi-Fi will work together and how to maximize the value of both.
+![Thinkstock][1]
+
+There’s arguably no technology topic that’s currently hotter than [5G][2]. It was a major theme of the most recent [Mobile World Congress][3] show and has reared its head in other events such as Enterprise Connect and almost every vendor event I attend.
+
+Some vendors have positioned 5G as a panacea to all network problems and predict it will eradicate all other forms of networking. Views like that are obviously extreme, but I do believe that 5G will have an impact on the networking industry and is something that network engineers should be aware of.
+
+To help bring some realism to the 5G hype, I recently interviewed Jeff Lipton, vice president of strategy and corporate development at Aruba, a Hewlett Packard company, as I know HPE has been deeply involved in the evolution of both 5G and Wi-Fi.
+
+**[ Also read:[The time of 5G is almost here][3] ]**
+
+### Zeus Kerravala: 5G is being touted as the "next big thing." Do you see it that way?
+
+**Jeff Lipton:** The next big thing is connecting "things" and generating actionable insights and context from those things. 5G is one of the technologies that serve this trend. Wi-Fi 6 is another — so are edge compute, Bluetooth Low Energy (BLE), artificial intelligence (AI) and machine learning (ML). These all are important, and they each have a place.
+
+### Do you see 5G eclipsing Wi-Fi in the enterprise?
+
+![Jeff Lipton, VP of strategy and corporate development, Aruba][4]
+
+**Lipton:** No. 5G, like all cellular access, is appropriate if you need macro area coverage and high-speed handoffs. But it’s not ideal for most enterprise applications, where you generally don’t need these capabilities. From a performance standpoint, [Wi-Fi 6][5] and 5G are roughly equal on most metrics, including throughput, latency, reliability, and connection density. Where they aren’t close is economics, where Wi-Fi is far better. I don’t think many customers would be willing to trade Wi-Fi for 5G unless they need macro coverage or high-speed handoffs.
+
+### Can Wi-Fi and 5G coexist? How would an enterprise use 5G and Wi-Fi together?
+
+**Lipton:** Wi-Fi and 5G can and should be complementary. The 5G architecture decouples the cellular core and Radio Access Network (RAN). Consequently, Wi-Fi can be the enterprise radio front end and connect tightly with a 5G core. Since the economics of Wi-Fi — especially Wi-Fi 6 — are favorable and performance is extremely good, we envision many service providers using Wi-Fi as the radio front end for their 5G systems where it makes sense, as an alternative to Distributed Antenna (DAS) and small-cell systems.
+
+Wi-Fi and 5G can and should be complementary." — Jeff Lipton
+
+### If a business were considering moving to 5G only, how would this be done and how practical is it?
+
+**Lipton:** To use 5G for primary in-building access, a customer would need to upgrade their network and virtually all of their devices. 5G provides good coverage outdoors, but cellular signals can’t reliably penetrate buildings. And this problem will become worse with 5G, which partially relies on higher frequency radios. So service providers will need a way to provide indoor coverage. To provide this coverage, they propose deploying DAS or small-cell systems — paid for by the end customer. The customers would then connect their devices directly to these cellular systems and pay a service component for each device.
+
+**[[Take this mobile device management course from PluralSight and learn how to secure devices in your company without degrading the user experience.][6] ]**
+
+There are several problems with this approach. First, DAS and small-cell systems are significantly more expensive than Wi-Fi networks. And the cost doesn’t stop with the network. Every device would need to have a 5G cellular modem, which costs tens of dollars wholesale and usually over a hundred dollars to an end user. Since few, if any MacBooks, PCs, printers or AppleTVs today have 5G modems, these devices would need to be upgraded. I don’t believe many enterprises would be willing to pay this additional cost and upgrade most of their equipment for an unclear benefit.
+
+### Are economics a factor in the 5G versus Wi-Fi debate?
+
+**Lipton:** Economics is always a factor. Let’s focus the conversation on in-building enterprise applications, since this is the use case some carriers intend to target with 5G. We’ve already mentioned that upgrading to 5G would require enterprises to deploy expensive DAS or small-cell systems for in-building coverage, upgrade virtually all of their equipment to contain 5G modems, and pay service contracts for each of these devices. It’s also important to understand 5G cellular networks and DAS systems operate over licensed spectrum, which is analogous to a private highway. Service providers paid billions of dollars for this spectrum, and this expense needs to be monetized and embedded in service costs. So, from both deployment and lifecycle perspectives, Wi-Fi economics are favorable to 5G.
+
+### Are there any security implications of 5G versus Wi-Fi?
+
+**Lipton:** Cellular technologies are perceived by some to be more secure than Wi-Fi, but that’s not true. LTE is relatively secure, but it also has weak points. For example, LTE is vulnerable to a range of attacks, including data interception and device tracking, according to researchers at Purdue and the University of Iowa. 5G improves upon LTE security with multiple authentication methods and better key management.
+
+Wi-Fi security isn’t standing still either and continues to advance. Of course, Wi-Fi implementations that do not follow best practices, such as those without even basic password protection, are not optimal. But those configured with proper access controls and passwords are highly secure. With new standards — specifically, WPA3 and Enhanced Open — Wi-Fi network security has improved even further.
+
+It’s also important to keep in mind that enterprises have made enormous investments in security and compliance solutions tailored to their specific needs. With cellular networks, including 5G, enterprises lose the ability to deploy their chosen security and compliance solutions, as well as most visibility into traffic flows. While future versions of 5G will offer high-levels of customization with a feature called network slicing, enterprises would still lose the level of security and compliance customization they currently need and have.
+
+### Any parting thoughts to add to the discussion around 5G versus Wi-Fi?
+
+**Lipton:** The debate around Wi-Fi versus 5G misses the point. They each have their place, and they are in many ways complementary. The Wi-Fi and 5G markets both will grow, driven by the need to connect and analyze a growing number of things. If a customer needs macro coverage or high-speed handoffs and can pay the additional cost for these capabilities, 5G makes sense.
+
+5G also could be a fit for certain industrial use cases where customers require physical network segmentation. But for the vast majority of enterprise customers, Wi-Fi will continue to prove its value as a reliable, secure, and cost-effective wireless access technology, as it does today.
+
+**More about 802.11ax (Wi-Fi 6):**
+
+ * [Why 802.11ax is the next big thing in wireless][7]
+ * [FAQ: 802.11ax Wi-Fi][8]
+ * [Wi-Fi 6 (802.11ax) is coming to a router near you][9]
+ * [Wi-Fi 6 with OFDMA opens a world of new wireless possibilities][10]
+ * [802.11ax preview: Access points and routers that support Wi-Fi 6 are on tap][11]
+
+
+
+Join the Network World communities on [Facebook][12] and [LinkedIn][13] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3399978/5g-will-augment-wi-fi-not-replace-it.html
+
+作者:[Zeus Kerravala][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Zeus-Kerravala/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/wireless_connection_speed_connectivity_bars_cell_tower_5g_by_thinkstock-100796921-large.jpg
+[2]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+[3]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[4]: https://images.idgesg.net/images/article/2019/06/headshot_jlipton_aruba-100798360-small.jpg
+[5]: https://www.networkworld.com/article/3215907/why-80211ax-is-the-next-big-thing-in-wi-fi.html
+[6]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fmobile-device-management-big-picture
+[7]: https://www.networkworld.com/article/3215907/mobile-wireless/why-80211ax-is-the-next-big-thing-in-wi-fi.html
+[8]: https://%20https//www.networkworld.com/article/3048196/mobile-wireless/faq-802-11ax-wi-fi.html
+[9]: https://www.networkworld.com/article/3311921/mobile-wireless/wi-fi-6-is-coming-to-a-router-near-you.html
+[10]: https://www.networkworld.com/article/3332018/wi-fi/wi-fi-6-with-ofdma-opens-a-world-of-new-wireless-possibilities.html
+[11]: https://www.networkworld.com/article/3309439/mobile-wireless/80211ax-preview-access-points-and-routers-that-support-the-wi-fi-6-protocol-on-tap.html
+[12]: https://www.facebook.com/NetworkWorld/
+[13]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190604 Data center workloads become more complex despite promises to the contrary.md b/sources/talk/20190604 Data center workloads become more complex despite promises to the contrary.md
new file mode 100644
index 0000000000..31d127e77d
--- /dev/null
+++ b/sources/talk/20190604 Data center workloads become more complex despite promises to the contrary.md
@@ -0,0 +1,64 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Data center workloads become more complex despite promises to the contrary)
+[#]: via: (https://www.networkworld.com/article/3400086/data-center-workloads-become-more-complex-despite-promises-to-the-contrary.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Data center workloads become more complex despite promises to the contrary
+======
+The data center is shouldering a greater burden than ever, despite promises of ease and the cloud.
+![gorodenkoff / Getty Images][1]
+
+Data centers are becoming more complex and still run the majority of workloads despite the promises of simplicity of deployment through automation and hyperconverged infrastructure (HCI), not to mention how the cloud was supposed to take over workloads.
+
+That’s the finding of the Uptime Institute's latest [annual global data center survey][2] (registration required). The majority of IT loads still run on enterprise data centers even in the face of cloud adoption, putting pressure on administrators to have to manage workloads across the hybrid infrastructure.
+
+**[ Learn[how server disaggregation can boost data center efficiency][3] | Get regularly scheduled insights: [Sign up for Network World newsletters][4] ]**
+
+With workloads like artificial intelligence (AI) and machine language coming to the forefront, that means facilities face greater power and cooling challenges, since AI is extremely processor-intensive. That puts strain on data center administrators and power and cooling vendors alike to keep up with the growth in demand.
+
+On top of it all, everyone is struggling to get enough staff with the right skills.
+
+### Outages, staffing problems, lack of public cloud visibility among top concerns
+
+Among the key findings of Uptime's report:
+
+ * The large, privately owned enterprise data center facility still forms the bedrock of corporate IT and is expected to be running half of all workloads in 2021.
+ * The staffing problem affecting most of the data center sector has only worsened. Sixty-one percent of respondents said they had difficulty retaining or recruiting staff, up from 55% a year earlier.
+ * Outages continue to cause significant problems for operators. Just over a third (34%) of all respondents had an outage or severe IT service degradation in the past year, while half (50%) had an outage or severe IT service degradation in the past three years.
+ * Ten percent of all respondents said their most recent significant outage cost more than $1 million.
+ * A lack of visibility, transparency, and accountability of public cloud services is a major concern for enterprises that have mission-critical applications. A fifth of operators surveyed said they would be more likely to put workloads in a public cloud if there were more visibility. Half of those using public cloud for mission-critical applications also said they do not have adequate visibility.
+ * Improvements in data center facility energy efficiency have flattened out and even deteriorated slightly in the past two years. The average PUE for 2019 is 1.67.
+ * Rack power density is rising after a long period of flat or minor increases, causing many to rethink cooling strategies.
+ * Power loss was the single biggest cause of outages, accounting for one-third of outages. Sixty percent of respondents said their data center’s outage could have been prevented with better management/processes or configuration.
+
+
+
+Traditionally data centers are improving their reliability through "rigorous attention to power, infrastructure, connectivity and on-site IT replication," the Uptime report says. The solution, though, is pricy. Data center operators are getting distributed resiliency through active-active data centers where at least two active data centers replicate data to each other. Uptime found up to 40% of those surveyed were using this method.
+
+The Uptime survey was conducted in March and April of this year, surveying 1,100 end users in more than 50 countries and dividing them into two groups: the IT managers, owners, and operators of data centers and the suppliers, designers, and consultants that service the industry.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400086/data-center-workloads-become-more-complex-despite-promises-to-the-contrary.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/cso_cloud_computing_backups_it_engineer_data_center_server_racks_connections_by_gorodenkoff_gettyimages-943065400_3x2_2400x1600-100796535-large.jpg
+[2]: https://uptimeinstitute.com/2019-data-center-industry-survey-results
+[3]: https://www.networkworld.com/article/3266624/how-server-disaggregation-could-make-cloud-datacenters-more-efficient.html
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190604 Moving to the Cloud- SD-WAN Matters- Part 2.md b/sources/talk/20190604 Moving to the Cloud- SD-WAN Matters- Part 2.md
new file mode 100644
index 0000000000..2f68bd6f59
--- /dev/null
+++ b/sources/talk/20190604 Moving to the Cloud- SD-WAN Matters- Part 2.md
@@ -0,0 +1,66 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Moving to the Cloud? SD-WAN Matters! Part 2)
+[#]: via: (https://www.networkworld.com/article/3398488/moving-to-the-cloud-sd-wan-matters-part-2.html)
+[#]: author: (Rami Rammaha https://www.networkworld.com/author/Rami-Rammaha/)
+
+Moving to the Cloud? SD-WAN Matters! Part 2
+======
+
+![istock][1]
+
+This is the second installment of the blog series exploring how enterprises can realize the full transformation promise of the cloud by shifting to a business first networking model powered by a business-driven [SD-WAN][2]. The first installment explored automating secure IPsec connectivity and intelligently steering traffic to cloud providers. We also framed the direct correlation between moving to the cloud and adopting an SD-WAN. In this blog, we will expand upon several additional challenges that can be addressed with a business-driven SD-WAN when embracing the cloud:
+
+### Simplifying and automating security zone-based segmentation
+
+Securing cloud-first branches requires a robust multi-level approach that addresses following considerations:
+
+ * Restricting outside traffic coming into the branch to sessions exclusively initiated by internal users with a built-in stateful firewall, avoiding appliance sprawl and lowering operational costs; this is referred to as the app whitelist model
+ * Encrypting communications between end points within the SD-WAN fabric and between branch locations and public cloud instances
+ * Service chaining traffic to a cloud-hosted security service like [Zscaler][3] for Layer 7 inspection and analytics for internet-bound traffic
+ * Segmenting traffic spanning the branch, WAN and data center/cloud
+ * Centralizing policy orchestration and automation of zone-based firewall, VLAN and WAN overlays
+
+
+
+A traditional device-centric WAN approach for security segmentation requires the time-consuming manual configuration of routers and/or firewalls on a device-by-device and site-by-site basis. This is not only complex and cumbersome, but it simply can’t scale to 100s or 1000s of sites. Anusha Vaidyanathan, director of product management at Silver Peak, explains how to automate end-to-end zone-based segmentation, emphasizing the advantages of a business-driven approach in this [lightboard video][4].
+
+### Delivering the Highest Quality of Experience to IT teams
+
+The goal for enterprise IT is enabling business agility and increasing operational efficiency. The traditional router-centric WAN approach doesn’t provide the best quality of experience for IT as management and on-going network operations are manual and time consuming, device-centric, cumbersome, error-prone and inefficient.
+
+A business-driven SD-WAN such as the Silver Peak [Unity EdgeConnect™][5] unified SD-WAN edge platform centralizes the orchestration of business-driven policies. EdgeConnect automation, machine learning and open APIs easily integrate with third-party management tools and real-time visibility tools to deliver the highest quality of experience for IT, enabling them to reclaim nights and weekends. Manav Mishra, vice president of product management at Silver Peak, explains the latest Silver Peak innovations in this [lightboard video][6].
+
+As enterprises become increasingly dependent on the cloud and embrace a multi-cloud strategy, they must address a number of new challenges:
+
+ * A centralized approach to securely embracing the cloud and the internet
+ * How to extend the on-premise data center to a public cloud and migrating workloads between private and public cloud, taking application portability into account
+ * Deliver consistent high application performance and availability to hosted applications whether they reside in the data center, private or public clouds or are delivered as SaaS services
+ * A proactive way to quickly resolve complex issues that span the data center and cloud as well as multiple WAN transport services by harnessing the power of advanced visibility and analytics tools
+
+
+
+The business-driven EdgeConnect SD-WAN edge platform enables enterprise IT organizations to easily and consistently embrace the public cloud. Unified security and performance capabilities with automation deliver the highest quality of experience for both users and IT while lowering overall WAN expenditures.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398488/moving-to-the-cloud-sd-wan-matters-part-2.html
+
+作者:[Rami Rammaha][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Rami-Rammaha/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/istock-909772962-100797711-large.jpg
+[2]: https://www.silver-peak.com/sd-wan/sd-wan-explained
+[3]: https://www.silver-peak.com/company/tech-partners/zscaler
+[4]: https://www.silver-peak.com/resource-center/how-to-create-sd-wan-security-zones-in-edgeconnect
+[5]: https://www.silver-peak.com/products/unity-edge-connect
+[6]: https://www.silver-peak.com/resource-center/how-to-optimize-quality-of-experience-for-it-using-sd-wan
diff --git a/sources/talk/20190605 Cisco will use AI-ML to boost intent-based networking.md b/sources/talk/20190605 Cisco will use AI-ML to boost intent-based networking.md
new file mode 100644
index 0000000000..29d2acd519
--- /dev/null
+++ b/sources/talk/20190605 Cisco will use AI-ML to boost intent-based networking.md
@@ -0,0 +1,87 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco will use AI/ML to boost intent-based networking)
+[#]: via: (https://www.networkworld.com/article/3400382/cisco-will-use-aiml-to-boost-intent-based-networking.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco will use AI/ML to boost intent-based networking
+======
+Cisco explains how artificial intelligence and machine learning fit into a feedback loop that implements and maintain desired network conditions to optimize network performance for workloads using real-time data.
+![xijian / Getty Images][1]
+
+Artificial Intelligence and machine learning are expected to be some of the big topics at next week’s Cisco Live event and the company is already talking about how those technologies will help drive the next generation of [Intent-Based Networking][2].
+
+“Artificial intelligence will change how we manage networks, and it’s a change we need,” wrote John Apostolopoulos Cisco CTO and vice president of Enterprise Networking in a [blog][3] about how Cisco says these technologies impact the network.
+
+**[ Now see[7 free network tools you must have][4]. ]**
+
+AI is the next major step for networking capabilities, and while researchers have talked in the past about how great AI would be, now the compute power and algorithms exist to make it possible, Apostolopoulos told Network World.
+
+To understand how AI and ML can boost IBN, Cisco says it's necessary to understand four key factors an IBN environment needs: infrastructure, translation, activation and assurance.
+
+Infrastructure can be virtual or physical and include wireless access points, switches, routers, compute and storage. “To make the infrastructure do what we want, we use the translation function to convert the intent, or what we are trying to make the network accomplish, from a person or computer into the correct network and security policies. These policies then must be activated on the network,” Apostolopoulos said.
+
+The activation step takes the network and security polices and couples them with a deep understanding of the network infrastructure that includes both real-time and historic data about its behavior. It then activates or automates the policies across all of the network infrastructure elements, ideally optimizing for performance, reliability and security, Apostolopoulos wrote.
+
+Finally assurance maintains a continuous validation-and-verification loop. IBN improves on translation and assurance to form a valuable feedback loop about what’s going on in the network that wasn’t available before. ** **
+
+Apostolopoulos used the example of an international company that wanted to set up a world-wide video all-hands meeting. Everyone on the call had to have high-quality, low-latency video, and also needed the capability to send high-quality video into the call when it was time for Q&A.
+
+“By applying machine learning and related machine reasoning, assurance can also sift through the massive amount of data related to such a global event to correctly identify if there are any problems arising. We can then get solutions to these issues – and even automatically apply solutions – more quickly and more reliably than before,” Apostolopoulos said.
+
+In this case, assurance could identify that the use of WAN bandwidth to certain sites is increasing at a rate that will saturate the network paths and could proactively reroute some of the WAN flows through alternative paths to prevent congestion from occurring, Apostolopoulos wrote.
+
+“In prior systems, this problem would typically only be recognized after the bandwidth bottleneck occurred and users experienced a drop in call quality or even lost their connection to the meeting. It would be challenging or impossible to identify the issue in real time, much less to fix it before it distracted from the experience of the meeting. Accurate and fast identification through ML and MR coupled with intelligent automation through the feedback loop is key to successful outcome.”
+
+Apostolopoulos said AI can accelerate the path from intent into translation and activation and then examine network and behavior data in the assurance step to make sure everything is working correctly. Activation uses the insights to drive more intelligent actions for improved performance, reliability and security, creating a cycle of network optimization.
+
+So what might an implementation of this look like? Applications that run on Cisco’s DNA Center may be the central component in an IBN environment. Introduced on 2017 as the heart of its IBN initiative, [Cisco DNA Center][5] features automation capabilities, assurance setting, fabric provisioning and policy-based segmentation for enterprise networks.
+
+“DNA Center can bring together AI and ML in a unified manner,” Apostolopoulos said. “It can store data from across the network and then customers can do AI and ML on that data.”
+
+Central to Cisco's push is being able to gather metadata about traffic as it passes without slowing the traffic, which is accomplished through the use of ASICs in its campus and data-center switches.
+
+“We have designed our networking gear from the ASIC, OS and software levels to gather key data via our IBN architecture, which provides unified data collection and performs algorithmic analysis across the entire network (wired, wireless, LAN, WAN, datacenter), Apostolopoulos said. “We have a massive collection of network data, including a database of problems and associated root causes, from being the world’s top enterprise network vendor over the past 20-plus years. And we have been investing for many years to create innovative network-data analysis and ML, MR, and other AI techniques to identify and solve key problems.”
+
+Machine learning and AI can then be applied to all that data to help network operators handle everything from policy setting and network control to security.
+
+“I also want to stress that the feedback the IT user gets from the IBN system with AI is not overwhelming telemetry data,” Apostolopoulos said. Instead it is valuable and actionable insights at scale, derived from immense data and behavioral analytics using AI.
+
+Managing and developing new AI/ML-based applications from enormous data sets beyond what Cisco already has is a key driver behind it’s the company’s Unified Compute System (UCS) server that wasa rolled out last September. While the new server, the UCS C480 ML, is powerful – it includes eight Nvidia Tesla V100-32G GPUs with 128GB of DDR4 RAM, 24 SATA hard drives and more – it is the ecosystem of vendors – Cloudera, HortonWorks and others that will end up being more important.
+
+[Earlier this year Cisco forecast][6] that [AI and ML][7] will significantly boost network management this year.
+
+“In 2019, companies will start to adopt Artificial Intelligence, in particular Machine Learning, to analyze the telemetry coming off networks to see these patterns, in an attempt to get ahead of issues from performance optimization, to financial efficiency, to security,” said [Anand Oswal][8], senior vice president of engineering in Cisco’s Enterprise Networking Business. The pattern-matching capabilities of ML will be used to spot anomalies in network behavior that might otherwise be missed, while also de-prioritizing alerts that otherwise nag network operators but that aren’t critical, Oswal said.
+
+“We will also start to use these tools to categorize and cluster device and user types, which can help us create profiles for use cases as well as spot outlier activities that could indicate security incursions,” he said.
+
+The first application of AI in network management will be smarter alerts that simply report on activities that break normal patterns, but as the technology advances it will react to more situations autonomously. The idea is to give customers more information so they and the systems can make better network decisions. Workable tools should appear later in 2019, Oswal said.
+
+Join the Network World communities on [Facebook][9] and [LinkedIn][10] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400382/cisco-will-use-aiml-to-boost-intent-based-networking.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/ai-vendor-relationship-management_bar-code_purple_artificial-intelligence_hand-on-virtual-screen-100795252-large.jpg
+[2]: http://www.networkworld.com/cms/article/3202699
+[3]: https://blogs.cisco.com/enterprise/improving-networks-with-ai
+[4]: https://www.networkworld.com/article/2825879/7-free-open-source-network-monitoring-tools.html
+[5]: https://www.networkworld.com/article/3280988/cisco-opens-dna-center-network-control-and-management-software-to-the-devops-masses.html
+[6]: https://www.networkworld.com/article/3332027/cisco-touts-5-technologies-that-will-change-networking-in-2019.html
+[7]: https://www.networkworld.com/article/3320978/data-center/network-operations-a-new-role-for-ai-and-ml.html
+[8]: https://blogs.cisco.com/author/anandoswal
+[9]: https://www.facebook.com/NetworkWorld/
+[10]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190606 Cloud adoption drives the evolution of application delivery controllers.md b/sources/talk/20190606 Cloud adoption drives the evolution of application delivery controllers.md
new file mode 100644
index 0000000000..d7b22353c4
--- /dev/null
+++ b/sources/talk/20190606 Cloud adoption drives the evolution of application delivery controllers.md
@@ -0,0 +1,67 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cloud adoption drives the evolution of application delivery controllers)
+[#]: via: (https://www.networkworld.com/article/3400897/cloud-adoption-drives-the-evolution-of-application-delivery-controllers.html)
+[#]: author: (Zeus Kerravala https://www.networkworld.com/author/Zeus-Kerravala/)
+
+Cloud adoption drives the evolution of application delivery controllers
+======
+Application delivery controllers (ADCs) are on the precipice of shifting from traditional hardware appliances to software form factors.
+![Aramyan / Getty Images / Microsoft][1]
+
+Migrating to a cloud computing model will obviously have an impact on the infrastructure that’s deployed. This shift has already been seen in the areas of servers, storage, and networking, as those technologies have evolved to a “software-defined” model. And it appears that application delivery controllers (ADCs) are on the precipice of a similar shift.
+
+In fact, a new ZK Research [study about cloud computing adoption and the impact on ADCs][2] found that, when looking at the deployment model, hardware appliances are the most widely deployed — with 55% having fully deployed or are currently testing and only 15% currently researching hardware. (Note: I am an employee of ZK Research.)
+
+Juxtapose this with containerized ADCs where only 34% have deployed or are testing but 24% are currently researching and it shows that software in containers will outpace hardware for growth. Not surprisingly, software on bare metal and in virtual machines showed similar although lower, “researching” numbers that support the thesis that the market is undergoing a shift from hardware to software.
+
+**[ Read also:[How to make hybrid cloud work][3] ]**
+
+The study, conducted in collaboration with Kemp Technologies, surveyed 203 respondents from the U.K. and U.S. The demographic split was done to understand regional differences. An equal number of mid and large size enterprises were looked at, with 44% being from over 5,000 employees and the other 56% from companies that have 300 to 5,000 people.
+
+### Incumbency helps but isn’t a fait accompli for future ADC purchases
+
+The primary tenet of my research has always been that incumbents are threatened when markets transition, and this is something I wanted to investigate in the study. The survey asked whether buyers would consider an alternative as they evolve their applications from legacy (mode 1) to cloud-native (mode 2). The results offer a bit of good news and bad news for the incumbent providers. Only 8% said they would definitely select a new vendor, but 35% said they would not change. That means the other 57% will look at alternatives. This is sensible, as the requirements for cloud ADCs are different than ones that support traditional applications.
+
+### IT pros want better automation capabilities
+
+This begs the question as to what features ADC buyers want for a cloud environment versus traditional ones. The survey asked specifically what features would be most appealing in future purchases, and the top response was automation, followed by central management, application analytics, on-demand scaling (which is a form of automation), and visibility.
+
+The desire to automate was a positive sign for the evolution of buyer mindset. Just a few years ago, the mere mention of automation would have sent IT pros into a panic. The reality is that IT can’t operate effectively without automation, and technology professionals are starting to understand that.
+
+The reason automation is needed is that manual changes are holding businesses back. The survey asked how the speed of ADC changes impacts the speed at which applications are rolled out, and a whopping 60% said it creates significant or minor delays. In an era of DevOps and continuous innovation, multiple minor delays create a drag on the business and can cause it to fall behind is more agile competitors.
+
+![][4]
+
+### ADC upgrades and service provisioning benefit most from automation
+
+The survey also drilled down on specific ADC tasks to see where automation would have the most impact. Respondents were asked how long certain tasks took, answering in minutes, days, weeks, or months. Shockingly, there wasn’t a single task where the majority said it could be done in minutes. The closest was adding DNS entries for new virtual IP addresses (VIPs) where 46% said they could do that in minutes.
+
+Upgrading, provisioning new load balancers, and provisioning new VIPs took the longest. Looking ahead, this foreshadows big problems. As the data center gets more disaggregated and distributed, IT will deploy more software-based ADCs in more places. Taking days or weeks or month to perform these functions will cause the organization to fall behind.
+
+The study clearly shows changes are in the air for the ADC market. For IT pros, I strongly recommend that as the environment shifts to the cloud, it’s prudent to evaluate new vendors. By all means, see what your incumbent vendor has, but look at least at two others that offer software-based solutions. Also, there should be a focus on automating as much as possible, so the primary evaluation criteria for ADCs should be how easy it is to implement automation.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400897/cloud-adoption-drives-the-evolution-of-application-delivery-controllers.html
+
+作者:[Zeus Kerravala][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Zeus-Kerravala/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/cw_microsoft_sharepoint_vs_onedrive_clouds_and_hands_by_aramyan_gettyimages-909772962_2400x1600-100796932-large.jpg
+[2]: https://kemptechnologies.com/research-papers/adc-market-research-study-zeus-kerravala/?utm_source=zkresearch&utm_medium=referral&utm_campaign=zkresearch&utm_term=zkresearch&utm_content=zkresearch
+[3]: https://www.networkworld.com/article/3119362/hybrid-cloud/how-to-make-hybrid-cloud-work.html#tk.nww-fsb
+[4]: https://images.idgesg.net/images/article/2019/06/adc-survey-zk-research-100798593-large.jpg
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190606 For enterprise storage, persistent memory is here to stay.md b/sources/talk/20190606 For enterprise storage, persistent memory is here to stay.md
new file mode 100644
index 0000000000..3da91bb311
--- /dev/null
+++ b/sources/talk/20190606 For enterprise storage, persistent memory is here to stay.md
@@ -0,0 +1,118 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (For enterprise storage, persistent memory is here to stay)
+[#]: via: (https://www.networkworld.com/article/3398988/for-enterprise-storage-persistent-memory-is-here-to-stay.html)
+[#]: author: (John Edwards )
+
+For enterprise storage, persistent memory is here to stay
+======
+Persistent memory – also known as storage class memory – has tantalized data center operators for many years. A new technology promises the key to success.
+![Thinkstock][1]
+
+It's hard to remember a time when semiconductor vendors haven't promised a fast, cost-effective and reliable persistent memory technology to anxious [data center][2] operators. Now, after many years of waiting and disappointment, technology may have finally caught up with the hype to make persistent memory a practical proposition.
+
+High-capacity persistent memory, also known as storage class memory ([SCM][3]), is fast and directly addressable like dynamic random-access memory (DRAM), yet is able to retain stored data even after its power has been switched off—intentionally or unintentionally. The technology can be used in data centers to replace cheaper, yet far slower traditional persistent storage components, such as [hard disk drives][4] (HDD) and [solid-state drives][5] (SSD).
+
+**Learn more about enterprise storage**
+
+ * [Why NVMe over Fabric matters][6]
+ * [What is hyperconvergence?][7]
+ * [How NVMe is changing enterprise storage][8]
+ * [Making the right hyperconvergence choice: HCI hardware or software?][9]
+
+
+
+Persistent memory can also be used to replace DRAM itself in some situations without imposing a significant speed penalty. In this role, persistent memory can deliver crucial operational benefits, such as lightning-fast database-server restarts during maintenance, power emergencies and other expected and unanticipated reboot situations.
+
+Many different types of strategic operational applications and databases, particularly those that require low-latency, high durability and strong data consistency, can benefit from persistent memory. The technology also has the potential to accelerate virtual machine (VM) storage and deliver higher performance to multi-node, distributed-cloud applications.
+
+In a sense, persistent memory marks a rebirth of core memory. "Computers in the ‘50s to ‘70s used magnetic core memory, which was direct access, non-volatile memory," says Doug Wong, a senior member of [Toshiba Memory America's][10] technical staff. "Magnetic core memory was displaced by SRAM and DRAM, which are both volatile semiconductor memories."
+
+One of the first persistent memory devices to come to market is [Intel’s Optane DC][11]. Other vendors that have released persistent memory products or are planning to do so include [Samsung][12], Toshiba America Memory and [SK Hynix][13].
+
+### Persistent memory: performance + reliability
+
+With persistent memory, data centers have a unique opportunity to gain faster performance and lower latency without enduring massive technology disruption. "It's faster than regular solid-state NAND flash-type storage, but you're also getting the benefit that it’s persistent," says Greg Schulz, a senior advisory analyst at vendor-independent storage advisory firm [StorageIO.][14] "It's the best of both worlds."
+
+Yet persistent memory offers adopters much more than speedy, reliable storage. In an ideal IT world, all of the data associated with an application would reside within DRAM to achieve maximum performance. "This is currently not practical due to limited DRAM and the fact that DRAM is volatile—data is lost when power fails," observes Scott Nelson, senior vice president and general manager of Toshiba Memory America's memory business unit.
+
+Persistent memory transports compatible applications to an "always on" status, providing continuous access to large datasets through increased system memory capacity, says Kristie Mann, [Intel's][15] director of marketing for data center memory and storage. She notes that Optane DC can supply data centers with up to three-times more system memory capacity (as much as 36TBs), system restarts in seconds versus minutes, 36% more virtual machines per node, and up to 8-times better performance on [Apache Spark][16], a widely used open-source distributed general-purpose cluster-computing framework.
+
+System memory currently represents 60% of total platform costs, Mann says. She observes that Optane DC persistent memory provides significant customer value by delivering 1.2x performance/dollar on key customer workloads. "This value will dramatically change memory/storage economics and accelerate the data-centric era," she predicts.
+
+### Where will persistent memory infiltrate enterprise storage?
+
+Persistent memory is likely to first enter the IT mainstream with minimal fanfare, serving as a high-performance caching layer for high performance SSDs. "This could be adopted relatively-quickly," Nelson observes. Yet this intermediary role promises to be merely a stepping-stone to increasingly crucial applications.
+
+Over the next few years, persistent technology will impact data centers serving enterprises across an array of sectors. "Anywhere time is money," Schulz says. "It could be financial services, but it could also be consumer-facing or sales-facing operations."
+
+Persistent memory supercharges anything data-related that requires extreme speed at extreme scale, observes Andrew Gooding, vice president of engineering at [Aerospike][17], which delivered the first commercially available open database optimized for use with Intel Optane DC.
+
+Machine learning is just one of many applications that stand to benefit from persistent memory. Gooding notes that ad tech firms, which rely on machine learning to understand consumers' reactions to online advertising campaigns, should find their work made much easier and more effective by persistent memory. "They’re collecting information as users within an ad campaign browse the web," he says. "If they can read and write all that data quickly, they can then apply machine-learning algorithms and tailor specific ads for users in real time."
+
+Meanwhile, as automakers become increasingly reliant on data insights, persistent memory promises to help them crunch numbers and refine sophisticated new technologies at breakneck speeds. "In the auto industry, manufacturers face massive data challenges in autonomous vehicles, where 20 exabytes of data needs to be processed in real time, and they're using self-training machine-learning algorithms to help with that," Gooding explains. "There are so many fields where huge amounts of data need to be processed quickly with machine-learning techniques—fraud detection, astronomy... the list goes on."
+
+Intel, like other persistent memory vendors, expects cloud service providers to be eager adopters, targeting various types of in-memory database services. Google, for example, is applying persistent memory to big data workloads on non-relational databases from vendors such as Aerospike and [Redis Labs][18], Mann says.
+
+High-performance computing (HPC) is yet another area where persistent memory promises to make a tremendous impact. [CERN][19], the European Organization for Nuclear Research, is using Intel's Optane DC to significantly reduce wait times for scientific computing. "The efficiency of their algorithms depends on ... persistent memory, and CERN considers it a major breakthrough that is necessary to the work they are doing," Mann observes.
+
+### How to prepare storage infrastructure for persistent memory
+
+Before jumping onto the persistent memory bandwagon, organizations need to carefully scrutinize their IT infrastructure to determine the precise locations of any existing data bottlenecks. This task will be primary application-dependent, Wong notes. "If there is significant performance degradation due to delays associated with access to data stored in non-volatile storage—SSD or HDD—then an SCM tier will improve performance," he explains. Yet some applications will probably not benefit from persistent memory, such as compute-bound applications where CPU performance is the bottleneck.
+
+Developers may need to reevaluate fundamental parts of their storage and application architectures, Gooding says. "They will need to know how to program with persistent memory," he notes. "How, for example, to make sure writes are flushed to the actual persistent memory device when necessary, as opposed to just sitting in the CPU cache."
+
+To leverage all of persistent memory's potential benefits, significant changes may also be required in how code is designed. When moving applications from DRAM and flash to persistent memory, developers will need to consider, for instance, what happens when a program crashes and restarts. "Right now, if they write code that leaks memory, that leaked memory is recovered on restart," Gooding explains. With persistent memory, that isn't necessarily the case. "Developers need to make sure the code is designed to reconstruct a consistent state when a program restarts," he notes. "You may not realize how much your designs rely on the traditional combination of fast volatile DRAM and block storage, so it can be tricky to change your code designs for something completely new like persistent memory."
+
+Older versions of operating systems may also need to be updated to accommodate the new technology, although newer OSes are gradually becoming persistent memory aware, Schulz says. "In other words, if they detect that persistent memory is available, then they know how to utilize that either as a cache, or some other memory."
+
+Hypervisors, such as [Hyper-V][20] and [VMware][21], now know how to leverage persistent memory to support productivity, performance and rapid restarts. By utilizing persistent memory along with the latest versions of VMware, a whole system can see an uplift in speed and also maximize the number of VMs to fit on a single host, says Ian McClarty, CEO and president of data center operator [PhoenixNAP Global IT Services][22]. "This is a great use case for companies who want to own less hardware or service providers who want to maximize hardware to virtual machine deployments."
+
+Many key enterprise applications, particularly databases, are also becoming persistent memory aware. SQL Server and [SAP’s][23] flagship [HANA][24] database management platform have both embraced persistent memory. "The SAP HANA platform is commonly used across multiple industries to process data and transactions, and then run advanced analytics ... to deliver real-time insights," Mann observes.
+
+In terms of timing, enterprises and IT organizations should begin persistent memory planning immediately, Schulz recommends. "You should be talking with your vendors and understanding their roadmap, their plans, for not only supporting this technology, but also in what mode: as storage, as memory."
+
+Join the Network World communities on [Facebook][25] and [LinkedIn][26] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3398988/for-enterprise-storage-persistent-memory-is-here-to-stay.html
+
+作者:[John Edwards][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2017/08/file_folder_storage_sharing_thinkstock_477492571_3x2-100732889-large.jpg
+[2]: https://www.networkworld.com/article/3353637/the-data-center-is-being-reimagined-not-disappearing.html
+[3]: https://www.networkworld.com/article/3026720/the-next-generation-of-storage-disruption-storage-class-memory.html
+[4]: https://www.networkworld.com/article/2159948/hard-disk-drives-vs--solid-state-drives--are-ssds-finally-worth-the-money-.html
+[5]: https://www.networkworld.com/article/3326058/what-is-an-ssd.html
+[6]: https://www.networkworld.com/article/3273583/why-nvme-over-fabric-matters.html
+[7]: https://www.networkworld.com/article/3207567/what-is-hyperconvergence
+[8]: https://www.networkworld.com/article/3280991/what-is-nvme-and-how-is-it-changing-enterprise-storage.html
+[9]: https://www.networkworld.com/article/3318683/making-the-right-hyperconvergence-choice-hci-hardware-or-software
+[10]: https://business.toshiba-memory.com/en-us/top.html
+[11]: https://www.intel.com/content/www/us/en/architecture-and-technology/optane-dc-persistent-memory.html
+[12]: https://www.samsung.com/semiconductor/
+[13]: https://www.skhynix.com/eng/index.jsp
+[14]: https://storageio.com/
+[15]: https://www.intel.com/content/www/us/en/homepage.html
+[16]: https://spark.apache.org/
+[17]: https://www.aerospike.com/
+[18]: https://redislabs.com/
+[19]: https://home.cern/
+[20]: https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/about/
+[21]: https://www.vmware.com/
+[22]: https://phoenixnap.com/
+[23]: https://www.sap.com/index.html
+[24]: https://www.sap.com/products/hana.html
+[25]: https://www.facebook.com/NetworkWorld/
+[26]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190606 Juniper- Security could help drive interest in SDN.md b/sources/talk/20190606 Juniper- Security could help drive interest in SDN.md
new file mode 100644
index 0000000000..b140969eb5
--- /dev/null
+++ b/sources/talk/20190606 Juniper- Security could help drive interest in SDN.md
@@ -0,0 +1,89 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Juniper: Security could help drive interest in SDN)
+[#]: via: (https://www.networkworld.com/article/3400739/juniper-sdn-snapshot-finds-security-legacy-network-tech-impacts-core-network-changes.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Juniper: Security could help drive interest in SDN
+======
+Juniper finds that enterprise interest in software-defined networking (SDN) is influenced by other factors, including artificial intelligence (AI) and machine learning (ML).
+![monsitj / Getty Images][1]
+
+Security challenges and developing artificial intelligence/maching learning (AI/ML) technologies are among the key issues driving [software-defined networking][2] (SDN) implementations, according to a new Juniper survey of 500 IT decision makers.
+
+And SDN interest abounds – 98% of the 500 said they were already using or considering an SDN implementation. Juniper said it had [Wakefield Research][3] poll IT decision makers of companies with 500 or more employees about their SDN strategies between May 7 and May 14, 2019.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][4]
+ * [How to pick an off-site data-backup method][5]
+ * [SD-Branch: What it is and why you’ll need it][6]
+ * [What are the options for security SD-WAN?][7]
+
+
+
+SDN includes technologies that separate the network control plane from the forwarding plane to enable more automated provisioning and policy-based management of network resources.
+
+IDC estimates that the worldwide data-center SDN market will be worth more than $12 billion in 2022, recording a CAGR of 18.5% during the 2017-2022 period. The market-generated revenue of nearly $5.15 billion in 2017 was up more than 32.2% from 2016.
+
+There are many ideas driving the development of SDN. For example, it promises to reduce the complexity of statically defined networks; make automating network functions much easier; and allow for simpler provisioning and management of networked resources from the data center to the campus or wide area network.
+
+While the evolution of SDN is ongoing, Juniper’s study pointed out an issue that was perhaps not unexpected – many users are still managing operations via the command line interface (CLI). CLI is the primary text-based user interface used for configuring, monitoring and maintaining most networked devices.
+
+“If SDN is as attractive as it is then why manage the network with the same legacy technology of the past?” said Michael Bushong, vice president of enterprise and cloud marketing at Juniper Networks. “If you deploy SDN and don’t adjust the operational model then it is difficult to reap all the benefits SDN can bring. It’s the difference between managing devices individually which you may have done in the past to managing fleets of devices via SDN – it simplifies and reduces operational expenses.”
+
+Juniper pointed to a [Gartner prediction][8] that stated “by 2020, only 30% of network operations teams will use the command line interface (CLI) as their primary interface, down from 85% at years end 2016.” Garter stated that poll results from a recent Gartner conference found some 71% still using CLI as the primary way to make network changes.
+
+Gartner [wrote][9] in the past that CLI has remained the primary operational tool for mainstream network operations teams for easily the past 15-20 years but that “moving away from the CLI is a good thing for the networking industry, and while it won’t disappear completely (advanced/nuanced troubleshooting for example), it will be supplanted as the main interface into networking infrastructure.”
+
+Juniper’s study found that 87% of businesses are still doing most or some of their network management at the device level.
+
+What all of this shows is that customers are obviously interested in SDN but are still grappling with the best ways to get there, Bushong said.
+
+The Juniper study also found users interested in SDN because of the potential for a security boost.
+
+SDN can empowers a variety of security benefits. A customer can split up a network connection between an end user and the data center and have different security settings for the various types of network traffic. A network could have one public-facing, low-security network that does not touch any sensitive information. Another segment could have much more fine-grained remote-access control with software-based [firewall][10] and encryption policies on it, which allow sensitive data to traverse over it. SDN users can roll out security policies across the network from the data center to the edge much more rapidly than traditional network environments.
+
+“Many enterprises see security—not speed—as the biggest consequence of not making this transition in the next five years, with nearly 40 percent identifying the inability to quickly address new threats as one of their main concerns,” wrote Manoj Leelanivas, chief product officer at Juniper Networks, in a blog about the survey.
+
+“SDN is not often associated with greater security but this makes sense when we remember this is an operational transformation. In security, the challenge lies not in identifying threats or creating solutions, but in applying these solutions to a fragmented network. Streamlining complex security operations, touching many different departments and managing multiple security solutions, is where a software-defined approach can provide the answer,” Leelanivas stated.
+
+Some of the other key findings from Juniper included:
+
+ * **The future of AI** : The deployment of artificial intelligence is about changing the operational model, Bushong said. “The ability to more easily manage workflows over groups of devices and derive usable insights to help customers be more proactive rather than reactive is the direction we are moving. Everything will ultimately be AI-driven, he said.
+ * **Automation** : While automation is often considered a threat, Juniper said its respondents see it positively within the context of SDN, with 38% reporting it will improve security and 25% that it will enhance their jobs by streamlining manual operations.
+ * **Flexibility** : Agility is the #1 benefit respondents considering SDN want to gain (48%), followed by improved reliability (43%) and greater simplicity (38%).
+ * **SD-WAN** : The majority, 54%, have rolled out or are in the process of rolling out SD-WAN, while an additional 34% have it under current consideration.
+
+
+
+Join the Network World communities on [Facebook][11] and [LinkedIn][12] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400739/juniper-sdn-snapshot-finds-security-legacy-network-tech-impacts-core-network-changes.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/03/sdn_software-defined-network_architecture-100791938-large.jpg
+[2]: https://www.networkworld.com/article/3209131/what-sdn-is-and-where-its-going.html
+[3]: https://www.wakefieldresearch.com/
+[4]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[5]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[6]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[7]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[8]: https://blogs.gartner.com/andrew-lerner/2018/01/04/checking-in-on-the-death-of-the-cli/
+[9]: https://blogs.gartner.com/andrew-lerner/2016/11/22/predicting-the-death-of-the-cli/
+[10]: https://www.networkworld.com/article/3230457/what-is-a-firewall-perimeter-stateful-inspection-next-generation.html
+[11]: https://www.facebook.com/NetworkWorld/
+[12]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190606 Self-learning sensor chips won-t need networks.md b/sources/talk/20190606 Self-learning sensor chips won-t need networks.md
new file mode 100644
index 0000000000..c5abec5426
--- /dev/null
+++ b/sources/talk/20190606 Self-learning sensor chips won-t need networks.md
@@ -0,0 +1,82 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Self-learning sensor chips won’t need networks)
+[#]: via: (https://www.networkworld.com/article/3400659/self-learning-sensor-chips-wont-need-networks.html)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+Self-learning sensor chips won’t need networks
+======
+Scientists working on new, machine-learning networks aim to embed everything needed for artificial intelligence (AI) onto a processor, eliminating the need to transfer data to the cloud or computers.
+![Jiraroj Praditcharoenkul / Getty Images][1]
+
+Tiny, intelligent microelectronics should be used to perform as much sensor processing as possible on-chip rather than wasting resources by sending often un-needed, duplicated raw data to the cloud or computers. So say scientists behind new, machine-learning networks that aim to embed everything needed for artificial intelligence (AI) onto a processor.
+
+“This opens the door for many new applications, starting from real-time evaluation of sensor data,” says [Fraunhofer Institute for Microelectronic Circuits and Systems][2] on its website. No delays sending unnecessary data onwards, along with speedy processing, means theoretically there is zero latency.
+
+Plus, on-microprocessor, self-learning means the embedded, or sensor, devices can self-calibrate. They can even be “completely reconfigured to perform a totally different task afterwards,” the institute says. “An embedded system with different tasks is possible.”
+
+**[ Also read:[What is edge computing?][3] and [How edge networking and IoT will reshape data centers][4] ]**
+
+Much internet of things (IoT) data sent through networks is redundant and wastes resources: a temperature reading taken every 10 minutes, say, when the ambient temperature hasn’t changed, is one example. In fact, one only needs to know when the temperature has changed, and maybe then only when thresholds have been met.
+
+### Neural network-on-sensor chip
+
+The commercial German research organization says it’s developing a specific RISC-V microprocessor with a special hardware accelerator designed for a [brain-copying, artificial neural network (ANN) it has developed][5]. The architecture could ultimately be suitable for the condition-monitoring or predictive sensors of the kind we will likely see more of in the industrial internet of things (IIoT).
+
+Key to Fraunhofer IMS’s [Artificial Intelligence for Embedded Systems (AIfES)][6] is that the self-learning takes place at chip level rather than in the cloud or on a computer, and that it is independent of “connectivity towards a cloud or a powerful and resource-hungry processing entity.” But it still offers a “full AI mechanism, like independent learning,”
+
+It’s “decentralized AI,” says Fraunhofer IMS. "It’s not focused towards big-data processing.”
+
+Indeed, with these kinds of systems, no connection is actually required for the raw data, just for the post-analytical results, if indeed needed. Swarming can even replace that. Swarming lets sensors talk to one another, sharing relevant information without even getting a host network involved.
+
+“It is possible to build a network from small and adaptive systems that share tasks among themselves,” Fraunhofer IMS says.
+
+Other benefits in decentralized neural networks include that they can be more secure than the cloud. Because all processing takes place on the microprocessor, “no sensitive data needs to be transferred,” Fraunhofer IMS explains.
+
+### Other edge computing research
+
+The Fraunhofer researchers aren’t the only academics who believe entire networks become redundant with neuristor, brain-like AI chips. Binghamton University and Georgia Tech are working together on similar edge-oriented tech.
+
+“The idea is we want to have these chips that can do all the functioning in the chip, rather than messages back and forth with some sort of large server,” Binghamton said on its website when [I wrote about the university's work last year][7].
+
+One of the advantages of no major communications linking: Not only don't you have to worry about internet resilience, but also that energy is saved creating the link. Energy efficiency is an ambition in the sensor world — replacing batteries is time consuming, expensive, and sometimes, in the case of remote locations, extremely difficult.
+
+Memory or storage for swaths of raw data awaiting transfer to be processed at a data center, or similar, doesn’t have to be provided either — it’s been processed at the source, so it can be discarded.
+
+**More about edge networking:**
+
+ * [How edge networking and IoT will reshape data centers][4]
+ * [Edge computing best practices][8]
+ * [How edge computing can help secure the IoT][9]
+
+
+
+Join the Network World communities on [Facebook][10] and [LinkedIn][11] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3400659/self-learning-sensor-chips-wont-need-networks.html
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/industry_4-0_industrial_iot_smart_factory_automation_by_jiraroj_praditcharoenkul_gettyimages-902668940_2400x1600-100788458-large.jpg
+[2]: https://www.ims.fraunhofer.de/en.html
+[3]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[4]: https://www.networkworld.com/article/3291790/data-center/how-edge-networking-and-iot-will-reshape-data-centers.html
+[5]: https://www.ims.fraunhofer.de/en/Business_Units_and_Core_Competencies/Electronic_Assistance_Systems/News/AIfES-Artificial_Intelligence_for_Embedded_Systems.html
+[6]: https://www.ims.fraunhofer.de/en/Business_Units_and_Core_Competencies/Electronic_Assistance_Systems/technologies/Artificial-Intelligence-for-Embedded-Systems-AIfES.html
+[7]: https://www.networkworld.com/article/3326557/edge-chips-could-render-some-networks-useless.html
+[8]: https://www.networkworld.com/article/3331978/lan-wan/edge-computing-best-practices.html
+[9]: https://www.networkworld.com/article/3331905/internet-of-things/how-edge-computing-can-help-secure-the-iot.html
+[10]: https://www.facebook.com/NetworkWorld/
+[11]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190606 What to do when yesterday-s technology won-t meet today-s support needs.md b/sources/talk/20190606 What to do when yesterday-s technology won-t meet today-s support needs.md
new file mode 100644
index 0000000000..622537f2f9
--- /dev/null
+++ b/sources/talk/20190606 What to do when yesterday-s technology won-t meet today-s support needs.md
@@ -0,0 +1,53 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (What to do when yesterday’s technology won’t meet today’s support needs)
+[#]: via: (https://www.networkworld.com/article/3399875/what-to-do-when-yesterday-s-technology-won-t-meet-today-s-support-needs.html)
+[#]: author: (Anand Rajaram )
+
+What to do when yesterday’s technology won’t meet today’s support needs
+======
+
+![iStock][1]
+
+You probably already know that end user technology is exploding and are feeling the effects of it in your support organization every day. Remember when IT sanctioned and standardized every hardware and software instance in the workplace? Those days are long gone. Today, it’s the driving force of productivity that dictates what will or won’t be used – and that can be hard on a support organization.
+
+Whatever users need to do their jobs better, faster, more efficiently is what you are seeing come into the workplace. So naturally, that’s what comes into your service desk too. Support organizations see all kinds of [devices, applications, systems, and equipment][2], and it’s adding a great deal of complexity and demand to keep up with. In fact, four of the top five factors causing support ticket volumes to rise are attributed to new and current technology.
+
+To keep up with the steady [rise of tickets][3] and stay out in front of this surge, support organizations need to take a good, hard look at the processes and technologies they use. Yesterday’s methods won’t cut it. The landscape is simply changing too fast. Supporting today’s users and getting them back to work fast requires an expanding set of skills and tools.
+
+So where do you start with a new technology project? Just because a technology is new or hyped doesn’t mean it’s right for your organization. It’s important to understand your project goals and the experience you really want to create and match your technology choices to those goals. But don’t go it alone. Talk to your teams. Get intimately familiar with how your support organization works today. Understand your customers’ needs at a deep level. And bring the right people to the table to cover:
+
+ * Business problem analysis: What existing business issue are stakeholders unhappy with?
+ * The impact of that problem: How does that issue justify making a change?
+ * Process automation analysis: What area(s) can technology help automate?
+ * Other solutions: Have you considered any other options besides technology?
+
+
+
+With these questions answered, you’re ready to entertain your technology options. Put together your “must-haves” in a requirements document and reach out to potential suppliers. During the initial information-gathering stage, assess if the supplier understands your goals and how their technology helps you meet them. To narrow the field, compare solutions side by side against your goals. Select the top two or three for more in-depth product demos before moving into product evaluations. By the time you’re ready for implementation, you have empirical, practical knowledge of how the solution will perform against your business goals.
+
+The key takeaway is this: Technology for technology’s sake is just technology. But technology that drives business value is a solution. If you want a solution that drives results for your organization and your customers, it’s worth following a strategic selection process to match your goals with the best technology for the job.
+
+For more insight, check out the [LogMeIn Rescue][4] and HDI webinar “[Technology and the Service Desk: Expanding Mission, Expanding Skills”][5].
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3399875/what-to-do-when-yesterday-s-technology-won-t-meet-today-s-support-needs.html
+
+作者:[Anand Rajaram][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/06/istock-1019006240-100798168-large.jpg
+[2]: https://www.logmeinrescue.com/resources/datasheets/infographic-mobile-support-are-your-employees-getting-what-they-need?utm_source=idg%20media&utm_medium=display&utm_campaign=native&sfdc=
+[3]: https://www.logmeinrescue.com/resources/analyst-reports/the-importance-of-remote-support-in-a-shift-left-world?utm_source=idg%20media&utm_medium=display&utm_campaign=native&sfdc=
+[4]: https://www.logmeinrescue.com/?utm_source=idg%20media&utm_medium=display&utm_campaign=native&sfdc=
+[5]: https://www.brighttalk.com/webcast/8855/312289?utm_source=LogMeIn7&utm_medium=brighttalk&utm_campaign=312289
diff --git a/sources/talk/20190611 6 ways to make enterprise IoT cost effective.md b/sources/talk/20190611 6 ways to make enterprise IoT cost effective.md
new file mode 100644
index 0000000000..492262c617
--- /dev/null
+++ b/sources/talk/20190611 6 ways to make enterprise IoT cost effective.md
@@ -0,0 +1,89 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (6 ways to make enterprise IoT cost effective)
+[#]: via: (https://www.networkworld.com/article/3401082/6-ways-to-make-enterprise-iot-cost-effective.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+6 ways to make enterprise IoT cost effective
+======
+Rob Mesirow, a principal at PwC’s Connected Solutions unit, offers tips for successfully implementing internet of things (IoT) projects without breaking the bank.
+![DavidLeshem / Getty][1]
+
+There’s little question that the internet of things (IoT) holds enormous potential for the enterprise, in everything from asset tracking to compliance.
+
+But enterprise uses of IoT technology are still evolving, and it’s not yet entirely clear which use cases and practices currently make economic and business sense. So, I was thrilled to trade emails recently with [Rob Mesirow][2], a principal at [PwC’s Connected Solutions][3] unit, about how to make enterprise IoT implementations as cost effective as possible.
+
+“The IoT isn’t just about technology (hardware, sensors, software, networks, communications, the cloud, analytics, APIs),” Mesirow said, “though tech is obviously essential. It also includes ensuring cybersecurity, managing data governance, upskilling the workforce and creating a receptive workplace culture, building trust in the IoT, developing interoperability, and creating business partnerships and ecosystems—all part of a foundation that’s vital to a successful IoT implementation.”
+
+**[ Also read:[Enterprise IoT: Companies want solutions in these 4 areas][4] ]**
+
+Yes, that sounds complicated—and a lot of work for a still-hard-to-quantify return. Fortunately, though, Mesirow offered up some tips on how companies can make their IoT implementations as cost effective as possible.
+
+### 1\. Don’t wait for better technology
+
+Mesirow advised against waiting to implement IoT projects until you can deploy emerging technology such as [5G networks][5]. That makes sense, as long as your implementation doesn’t specifically require capabilities available only in the new technology.
+
+### 2\. Start with the basics, and scale up as needed
+
+“Companies need to start with the basics—building one app/task at a time—instead of jumping ahead with enterprise-wide implementations and ecosystems,” Mesirow said.
+
+“There’s no need to start an IoT initiative by tackling a huge, expensive ecosystem. Instead, begin with one manageable use case, and build up and out from there. The IoT can inexpensively automate many everyday tasks to increase effectiveness, employee productivity, and revenue.”
+
+After you pick the low-hanging fruit, it’s time to become more ambitious.
+
+“After getting a few successful pilots established, businesses can then scale up as needed, building on the established foundation of business processes, people experience, and technology," Mesirow said,
+
+### 3\. Make dumb things smart
+
+Of course, identifying the ripest low-hanging fruit isn’t always easy.
+
+“Companies need to focus on making dumb things smart, deploying infrastructure that’s not going to break the bank, and providing enterprise customers the opportunity to experience what data intelligence can do for their business,” Mesirow said. “Once they do that, things will take off.”
+
+### 4\. Leverage lower-cost networks
+
+“One key to building an IoT inexpensively is to use low-power, low-cost networks (Low-Power Wide-Area Networks (LPWAN)) to provide IoT services, which reduces costs significantly,” Mesirow said.
+
+Naturally, he mentioned that PwC has three separate platforms with some 80 products that hang off those platforms, which he said cost “a fraction of traditional IoT offerings, with security and privacy built in.”
+
+Despite the product pitch, though, Mesirow is right to call out the efficiencies involved in using low-cost, low-power networks instead of more expensive existing cellular.
+
+### 5\. Balance security vs. cost
+
+Companies need to plan their IoT network with costs vs. security in mind, Mesirow said. “Open-source networks will be less expensive, but there may be security concerns,” he said.
+
+That’s true, of course, but there may be security concerns in _any_ network, not just open-source solutions. Still, Mesirow’s overall point remains valid: Enterprises need to carefully consider all the trade-offs they’re making in their IoT efforts.
+
+### 6\. Account for _all_ the value IoT provides
+
+Finally, Mesirow pointed out that “much of the cost-effectiveness comes from the _value_ the IoT provides,” and its important to consider the return, not just the investment.
+
+“For example,” Mesirow said, the IoT “increases productivity by enabling the remote monitoring and control of business operations. It saves on energy costs by automatically turning off lights and HVAC when spaces are vacant, and predictive maintenance alerts lead to fewer machine repairs. And geolocation can lead to personalized marketing to customer smartphones, which can increase sales to nearby stores.”
+
+**[ Now read this:[5 reasons the IoT needs its own networks][6] ]**
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3401082/6-ways-to-make-enterprise-iot-cost-effective.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/money_financial_salary_growth_currency_by-davidleshem-100787975-large.jpg
+[2]: https://twitter.com/robmesirow
+[3]: https://digital.pwc.com/content/pwc-digital/en/products/connected-solutions.html
+[4]: https://www.networkworld.com/article/3396128/the-state-of-enterprise-iot-companies-want-solutions-for-these-4-areas.html
+[5]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+[6]: https://www.networkworld.com/article/3284506/5-reasons-the-iot-needs-its-own-networks.html
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190611 Cisco launches a developer-community cert program.md b/sources/talk/20190611 Cisco launches a developer-community cert program.md
new file mode 100644
index 0000000000..92ce486e6d
--- /dev/null
+++ b/sources/talk/20190611 Cisco launches a developer-community cert program.md
@@ -0,0 +1,66 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco launches a developer-community cert program)
+[#]: via: (https://www.networkworld.com/article/3401524/cisco-launches-a-developer-community-cert-program.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco launches a developer-community cert program
+======
+Cisco has revamped some of its most critical certification and career-development programs in an effort to address the emerging software-oriented-network environment.
+![Getty Images][1]
+
+SAN DIEGO – Cisco revamped some of its most critical certification and career-development tools in an effort to address the emerging software-oriented network environment.
+
+Perhaps one of the biggest additions – rolled out here at the company’s Cisco Live customer event – is the new set of professional certifications for developers utilizing Cisco’s growing DevNet developer community.
+
+**[ Also see[4 job skills that can boost networking salaries][2] and [20 hot jobs ambitious IT pros should shoot for][3].]**
+
+The Cisco Certified DevNet Associate, Specialist and Professional certifications will cover software development for applications, automation, DevOps, cloud and IoT. They will also target software developers and network engineers who develop software proficiency to develop applications and automated workflows for operational networks and infrastructure.
+
+“This certification evolution is the next step to reflect the critical skills network engineers must have to be at the leading edge of networked-enabled business disruption and delivering customer excellence,” said Mike Adams, vice president and general manager of Learning@Cisco. “To perform effectively in this new world, every IT professional needs skills that are broader, deeper and more agile than ever before. And they have to be comfortable working as a multidisciplinary team including infrastructure network engineers, DevOps and automation specialists, and software professionals.”
+
+Other Cisco Certifications changes include:
+
+ * Streamlined certifications to validate engineering professionals with Cisco Certified Network Associate (CCNA) and Cisco Specialist certifications as well as Cisco Certified Network Professional (CCNP) and Cisco Certified Internetwork Expert (CCIE) certifications in enterprise, data center, service provider, security and collaboration.
+ * For more senior professionals, the CCNP will give learners a choice of five tracks, covering enterprise technologies including infrastructure and wireless, service provider, data center, security and collaboration. Candidates will be able to further specialize in a particular focus area within those technologies.
+ * Cisco says it will eliminate pre-requisites for certifications, meaning engineers can change career options without having to take a defined path.
+ * Expansion of Cisco Networking Academy offerings to train entry level network professionals and software developers. Courses prepare students to earn CCNA and Certified DevNet Associate certifications, equipping them for high-demand jobs in IT.
+
+
+
+New network technologies such as intent-based networking, multi-domain networking, and programmability fundamentally change the capabilities of the network, giving network engineers the opportunity to architect solutions that utilize the programmable network in new and exciting ways, wrote Susie Wee senior vice president and chief technology officer of DevNet.
+
+“DevOps practices can be applied to the network, making the network more agile and enabling automation at scale. The new network provides more than just connectivity, it can now use policy and intent to securely connect applications, users, devices and data across multiple environments – from the data center and cloud, to the campus and branch, to the edge, and to the device,” Wee wrote.
+
+**[[Looking to upgrade your career in tech? This comprehensive online course teaches you how.][4] ]**
+
+She also announced the DevNet Automation Exchange, a community that will offer shared code, best practices and technology tools for users, developers or channel partners interested in developing automation apps.
+
+Wee said Cisco seeded the Automation Exchange with over 50 shared code repositories.
+
+“It is becoming increasingly clear that network ops can be handled much more efficiently with automation, and offering the tools to develop better applications is crucial going forward,” said Zeus Kerravala, founder and principal analyst with ZK Research.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3401524/cisco-launches-a-developer-community-cert-program.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/01/run_digital-vanguard_business-executive-with-briefcase_career-growth-100786736-large.jpg
+[2]: https://www.networkworld.com/article/3227832/lan-wan/4-job-skills-that-can-boost-networking-salaries.html
+[3]: https://www.networkworld.com/article/3276025/careers/20-hot-jobs-ambitious-it-pros-should-shoot-for.html
+[4]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fupgrading-your-technology-career
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190611 The carbon footprints of IT shops that train AI models are huge.md b/sources/talk/20190611 The carbon footprints of IT shops that train AI models are huge.md
new file mode 100644
index 0000000000..b440b8d65b
--- /dev/null
+++ b/sources/talk/20190611 The carbon footprints of IT shops that train AI models are huge.md
@@ -0,0 +1,68 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (The carbon footprints of IT shops that train AI models are huge)
+[#]: via: (https://www.networkworld.com/article/3401919/the-carbon-footprints-of-it-shops-that-train-ai-models-are-huge.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+The carbon footprints of IT shops that train AI models are huge
+======
+Artificial intelligence (AI) model training can generate five times more carbon dioxide than a car does in a lifetime, researchers at the University of Massachusetts, Amherst find.
+![ipopba / Getty Images][1]
+
+A new research paper from the University of Massachusetts, Amherst looked at the carbon dioxide (CO2) generated over the course of training several common large artificial intelligence (AI) models and found that the process can generate nearly five times the amount as an average American car over its lifetime plus the process of making the car itself.
+
+The [paper][2] specifically examined the model training process for natural-language processing (NLP), which is how AI handles natural language interactions. The study found that during the training process, more than 626,000 pounds of carbon dioxide is generated.
+
+This is significant, since AI training is one IT process that has remained firmly on-premises and not moved to the cloud. Very expensive equipment is needed, as is large volumes of data, so the cloud isn’t right work for most AI training, and the report notes this. Plus, IT shops want to keep that kind of IP in house. So, if you are experimenting with AI, that power bill is going to go up.
+
+**[ Read also:[How to plan a software-defined data-center network][3] ]**
+
+While the report used carbon dioxide as a measure, that’s still the product of electricity generation. Training involves the use of the most powerful processors, typically Nvidia GPUs, and they are not known for being low-power draws. And as the paper notes, “model training also incurs a substantial cost to the environment due to the energy required to power this hardware for weeks or months at a time.”
+
+Training is the most processor-intensive portion of AI. It can take days, weeks, or even months to “learn” what the model needs to know. That means power-hungry Nvidia GPUs running at full utilization for the entire time. In this case, how to handle and process natural language questions rather than broken sentences of keywords like your typical Google search.
+
+The report said training one model with a neural architecture generated 626,155 pounds of CO2. By contrast, one passenger flying round trip between New York and San Francisco would generate 1,984 pounds of CO2, an average American would generate 11,023 pounds in one year, and a car would generate 126,000 pounds over the course of its lifetime.
+
+### How the researchers calculated the CO2 amounts
+
+The researchers used four models in the NLP field that have been responsible for the biggest leaps in performance. They are Transformer, ELMo, BERT, and GPT-2. They trained all of the models on a single Nvidia Titan X GPU, with the exception of ELMo which was trained on three Nvidia GTX 1080 Ti GPUs. Each model was trained for a maximum of one day.
+
+**[[Learn Java from beginning concepts to advanced design patterns in this comprehensive 12-part course!][4] ]**
+
+They then used the number of training hours listed in the model’s original papers to calculate the total energy consumed over the complete training process. That number was converted into pounds of carbon dioxide equivalent based on the average energy mix in the U.S.
+
+The big takeaway is that computational costs start out relatively inexpensive, but they mushroom when additional tuning steps were used to increase the model’s final accuracy. A tuning process known as neural architecture search ([NAS][5]) is the worst offender because it does so much processing. NAS is an algorithm that searches for the best neural network architecture. It is seriously advanced AI and requires the most processing time and power.
+
+The researchers suggest it would be beneficial to directly compare different models to perform a cost-benefit (accuracy) analysis.
+
+“To address this, when proposing a model that is meant to be re-trained for downstream use, such as re-training on a new domain or fine-tuning on a new task, authors should report training time and computational resources required, as well as model sensitivity to hyperparameters. This will enable direct comparison across models, allowing subsequent consumers of these models to accurately assess whether the required computational resources,” the authors wrote.
+
+They also say researchers who are cost-constrained should pool resources and avoid the cloud, as cloud compute time is more expensive. In an example, it said a GPU server with eight Nvidia 1080 Ti GPUs and supporting hardware is available for approximately $20,000. To develop the sample models used in their study, that hardware would cost $145,000, plus electricity to run the models, about half the estimated cost to use on-demand cloud GPUs.
+
+“Unlike money spent on cloud compute, however, that invested in centralized resources would continue to pay off as resources are shared across many projects. A government-funded academic compute cloud would provide equitable access to all researchers,” they wrote.
+
+Join the Network World communities on [Facebook][6] and [LinkedIn][7] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3401919/the-carbon-footprints-of-it-shops-that-train-ai-models-are-huge.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/05/ai-vendor-relationship-management_artificial-intelligence_hand-on-virtual-screen-100795246-large.jpg
+[2]: https://arxiv.org/abs/1906.02243
+[3]: https://www.networkworld.com/article/3284352/data-center/how-to-plan-a-software-defined-data-center-network.html
+[4]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fjava
+[5]: https://www.oreilly.com/ideas/what-is-neural-architecture-search
+[6]: https://www.facebook.com/NetworkWorld/
+[7]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190612 Cisco offers cloud-based security for SD-WAN resources.md b/sources/talk/20190612 Cisco offers cloud-based security for SD-WAN resources.md
new file mode 100644
index 0000000000..a6cd0c73b4
--- /dev/null
+++ b/sources/talk/20190612 Cisco offers cloud-based security for SD-WAN resources.md
@@ -0,0 +1,95 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco offers cloud-based security for SD-WAN resources)
+[#]: via: (https://www.networkworld.com/article/3402079/cisco-offers-cloud-based-security-for-sd-wan-resources.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco offers cloud-based security for SD-WAN resources
+======
+Cisco adds support for its cloud-based security gateway Umbrella to SD-WAN software
+![Thinkstock][1]
+
+SAN DIEGO— As many companies look to [SD-WAN][2] technology to reduce costs, improve connectivity and streamline branch office access, one of the key requirements will be solid security technologies to protect corporate resources.
+
+At its Cisco Live customer event here this week, the company took aim at that need by telling customers it added support for the its cloud-based security gateway – known as Umbrella – to its SD-WAN software offerings.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][3]
+ * [How to pick an off-site data-backup method][4]
+ * [SD-Branch: What it is and why you’ll need it][5]
+ * [What are the options for security SD-WAN?][6]
+
+
+
+At its most basic, SD-WAN lets companies aggregate a variety of network connections – including MPLS, 4G LTE and DSL – into a branch or network-edge location and provides a management software that can turn up new sites, prioritize traffic and set security policies. SD-WAN's driving principle is to simplify the way big companies turn up new links to branch offices, better manage the way those links are utilized – for data, voice or video – and potentially save money in the process.
+
+According to Cisco, Umbrella can provide the first line of defense against threats on the internet. By analyzing and learning from internet activity patterns, Umbrella automatically uncovers attacker infrastructure and proactively blocks requests to malicious destinations before a connection is even established — without adding latency for users. With Umbrella, customers can stop phishing and malware infections earlier, identify already infected devices faster and prevent data exfiltration, Cisco says.
+
+Branch offices and roaming users are more vulnerable to attacks, and attackers are looking to exploit them, said Gee Rittenhouse, senior vice president and general manager of Cisco's Security Business Group. He pointed to Enterprise Strategy Group research that says 68 percent of branch offices and roaming users were the source of compromise in recent attacks. And as organizations move to more direct internet access, this becomes an even greater risk, Rittenhouse said.
+
+“Scaling security at every location often means more appliances to ship and manage, more policies to separately maintain, which translates into more money and resources needed – but Umbrella offers an alternative to all that," he said. "Umbrella provides simple deployment and management, and in a single cloud platform, it unifies multiple layers of security, ncluding DNS, secure web gateway, firewall and cloud-access security,” Rittenhouse said.
+
+“It also acts as your secure onramp to the internet by offering secure internet access and controlled SaaS usage across all locations and roaming users.”
+
+Basically users can set up Umbrella support via the SD-WAN dashboard vManage, and the system automatically creates a secure tunnel to the cloud.** ** Once the SD-WAN traffic is pointed at the cloud, firewall and other security policies can be set. Customers can then see traffic and collect information about patterns or set policies and respond to anomalies, Rittenhouse said.
+
+Analysts said the Umbrella offering is another important security option offered by Cisco for SD-WAN customers.
+
+“Since it is cloud-based, using Umbrella is a great option for customers with lots of branch or SD-WAN locations who don’t want or need to have a security gateway on premises,” said Rohit Mehra, vice president of Network Infrastructure at IDC. “One of the largest requirements for large customers going forward will be the need for all manner of security technologies for the SD-WAN environment, and Cisco has a big menu of offerings that can address those requirements.”
+
+IDC says the SD-WAN infrastructure market will hit $4.5 billion by 2022, growing at a more than 40 percent yearly clip between now and then.
+
+The Umbrella announcement is on top of other recent SD-WAN security enhancements the company has made. In May [Cisco added support for Advanced Malware Protection (AMP) to its million-plus ISR/ASR edge routers][7] in an effort to reinforce branch- and core-network malware protection across the SD-WAN.
+
+“Together with Cisco Talos [Cisco’s security-intelligence arm], AMP imbues your SD-WAN branch, core and campuses locations with threat intelligence from millions of worldwide users, honeypots, sandboxes and extensive industry partnerships,” Cisco said.
+
+In total, AMP identifies more than 1.1 million unique malware samples a day and when AMP in Cisco SD-WAN platform spots malicious behavior it automatically blocks it, Cisco said.
+
+Last year Cisco added its [Viptela SD-WAN technology to the IOS XE][8] version 16.9.1 software that runs its core ISR/ASR routers such as the ISR models 1000, 4000 and ASR 1000, in use by organizations worldwide. Cisco bought Viptela in 2017.
+
+The release of Cisco IOS XE offered an instant upgrade path for creating cloud-controlled SD-WAN fabrics to connect distributed offices, people, devices and applications operating on the installed base, Cisco said. At the time Cisco said that Cisco SD-WAN on edge routers builds a secure virtual IP fabric by combining routing, segmentation, security, policy and orchestration.
+
+With the recent release of IOS-XE SD-WAN 16.11, Cisco has brought AMP and other enhancements to its SD-WAN.
+
+AMP support is added to a menu of security features already included in Cisco's SD-WAN software including support for URL filtering, Snort Intrusion Prevention, the ability to segment users across the WAN and embedded platform security, including the Cisco Trust Anchor module.
+
+The software also supports SD-WAN Cloud onRamp for CoLocation, which lets customers tie distributed multicloud applications back to a local branch office or local private data center. That way a cloud-to-branch link would be shorter, faster and possibly more secure that tying cloud-based applications directly to the data center.
+
+Also in May [Cisco and Teridion][9] said they would team to deliver faster enterprise software-defined WAN services. The integration links Cisco Meraki MX Security/SD-WAN appliances and its Auto VPN technology which lets users quickly bring up and configure secure sessions between branches and data centers with Teridion’s cloud-based WAN service. Teridion’s service promises customers better performance and control over traffic running from remote offices over the public internet to the data center.
+
+Teridion said the Meraki integration creates an IPSec connection from the Cisco Meraki MX to the Teridion edge. Customers create locations in the Teridion portal and apply the preconfigured Meraki template to them, or just upload a csv file if they have a lot of locations. Then, from each Meraki MX, they can create a third-party IPSec tunnel to the Teridion edge IP addresses that are generated as part of the Teridion configuration, the company stated.
+
+The combined Cisco Meraki and Teridion offering brings SD-WAN and security capabilities at the WAN edge that are tightly integrated with a WAN service delivered over cost-effective broadband or dedicated Internet access. Meraki’s MX family supports everything from SD-WAN and [Wi-Fi][10] features to next-generation [firewall][11] and intrusion prevention in a single package.
+
+Join the Network World communities on [Facebook][12] and [LinkedIn][13] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402079/cisco-offers-cloud-based-security-for-sd-wan-resources.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2015/10/cloud-security-ts-100622309-large.jpg
+[2]: https://www.networkworld.com/article/3209131/what-sdn-is-and-where-its-going.html
+[3]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[4]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[5]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[6]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[7]: https://www.networkworld.com/article/3394597/cisco-adds-amp-to-sd-wan-for-israsr-routers.html
+[8]: https://www.networkworld.com/article/3296007/cisco-upgrade-enables-sd-wan-in-1m-israsr-routers.html
+[9]: https://www.networkworld.com/article/3396628/cisco-ties-its-securitysd-wan-gear-with-teridions-cloud-wan-service.html
+[10]: https://www.networkworld.com/article/3318119/what-to-expect-from-wi-fi-6-in-2019.html
+[11]: https://www.networkworld.com/article/3230457/what-is-a-firewall-perimeter-stateful-inspection-next-generation.html
+[12]: https://www.facebook.com/NetworkWorld/
+[13]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190612 Dell and Cisco extend VxBlock integration with new features.md b/sources/talk/20190612 Dell and Cisco extend VxBlock integration with new features.md
new file mode 100644
index 0000000000..30e225de98
--- /dev/null
+++ b/sources/talk/20190612 Dell and Cisco extend VxBlock integration with new features.md
@@ -0,0 +1,72 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Dell and Cisco extend VxBlock integration with new features)
+[#]: via: (https://www.networkworld.com/article/3402036/dell-and-cisco-extend-vxblock-integration-with-new-features.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Dell and Cisco extend VxBlock integration with new features
+======
+Dell EMC and Cisco took another step in their alliance, announcing plans to expand VxBlock 1000 integration across servers, networking, storage, and data protection.
+![Dell EMC][1]
+
+Just two months ago [Dell EMC and Cisco renewed their converged infrastructure][2] vows, and now the two have taken another step in the alliance. At this year’s at [Cisco Live][3] event taking place in San Diego, the two announced plans to expand VxBlock 1000 integration across servers, networking, storage, and data protection.
+
+This is done through support of NVMe over Fabrics (NVMe-oF), which allows enterprise SSDs to talk to each other directly through a high-speed fabric. NVMe is an important advance because SATA and PCI Express SSDs could never talk directly to other drives before until NVMe came along.
+
+To leverage NVMe-oF to its fullest extent, Dell EMC has unveiled a new integrated Cisco compute (UCS) and storage (MDS) 32G options, extending PowerMax capabilities to deliver NVMe performance across the VxBlock stack.
+
+**More news from Cisco Live 2019:**
+
+ * [Cisco offers cloud-based security for SD-WAN resources][4]
+ * [Cisco software to make networks smarter, safer, more manageable][5]
+ * [Cisco launches a developer-community cert program][6]
+
+
+
+Dell EMC said this will enhance the architecture, high-performance consistency, availability, and scalability of VxBlock and provide its customers with high-performance, end-to-end mission-critical workloads that can deliver microsecond responses.
+
+These new compute and storage options will be available to order sometime later this month.
+
+### Other VxBlock news from Dell EMC
+
+Dell EMC also announced it is extending its factory-integrated on-premise integrated protection solutions for VxBlock to hybrid and multi-cloud environments, such as Amazon Web Services (AWS). This update will offer to help protect VMware workloads and data via the company’s Data Domain Virtual Edition and Cloud Disaster Recovery software options. This will be available in July.
+
+The company also plans to release VxBlock Central 2.0 software next month. VxBlock Central is designed to help customers simplify CI administration through converged awareness, automation, and analytics.
+
+New to version 2.0 is modular licensing that matches workflow automation, advanced analytics, and life-cycle management/upgrade options to your needs.
+
+VxBlock Central 2.0 has a variety of license features, including the following:
+
+**Base** – Free with purchase of a VxBlock, the base license allows you to manage your system and improve compliance with inventory reporting and alerting. **Workflow Automation** – Provision infrastructure on-demand using engineered workflows through vRealize Orchestrator. New workflows available with this package include Cisco UCS server expansion with Unity and XtremIO storage arrays. **Advanced Analytics** – View capacity and KPIs to discover deeper actionable insights through vRealize Operations. **Lifecycle Management** (new, available later in 2019) – Apply “guided path” software upgrades to optimize system performance.
+
+ * Lifecycle Management includes a new multi-tenant, cloud-based database based on Cloud IQ that will collect and store the CI component inventory structured by the customer, extending the value and ease of use of the cloud-based analytics monitoring.
+ * This feature extends the value and ease of use of the cloud-based analytics monitoring Cloud IQ already provides for individual Dell EMC storage arrays.
+
+
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402036/dell-and-cisco-extend-vxblock-integration-with-new-features.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/dell-emc-vxblock-1000-100794721-large.jpg
+[2]: https://www.networkworld.com/article/3391071/dell-emc-and-cisco-renew-converged-infrastructure-alliance.html
+[3]: https://www.ciscolive.com/global/
+[4]: https://www.networkworld.com/article/3402079/cisco-offers-cloud-based-security-for-sd-wan-resources.html
+[5]: https://www.networkworld.com/article/3401523/cisco-software-to-make-networks-smarter-safer-more-manageable.html
+[6]: https://www.networkworld.com/article/3401524/cisco-launches-a-developer-community-cert-program.html
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190612 IoT security vs. privacy- Which is a bigger issue.md b/sources/talk/20190612 IoT security vs. privacy- Which is a bigger issue.md
new file mode 100644
index 0000000000..2f06f6afc1
--- /dev/null
+++ b/sources/talk/20190612 IoT security vs. privacy- Which is a bigger issue.md
@@ -0,0 +1,95 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (IoT security vs. privacy: Which is a bigger issue?)
+[#]: via: (https://www.networkworld.com/article/3401522/iot-security-vs-privacy-which-is-a-bigger-issue.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+IoT security vs. privacy: Which is a bigger issue?
+======
+When it comes to the internet of things (IoT), security has long been a key concern. But privacy issues could be an even bigger threat.
+![Ring][1]
+
+If you follow the news surrounding the internet of things (IoT), you know that security issues have long been a key concern for IoT consumers, enterprises, and vendors. Those issues are very real, but I’m becoming increasingly convinced that related but fundamentally different _privacy_ vulnerabilities may well be an even bigger threat to the success of the IoT.
+
+In June alone, we’ve seen a flood of IoT privacy issues inundate the news cycle, and observers are increasingly sounding the alarm that IoT users should be paying attention to what happens to the data collected by IoT devices.
+
+**[ Also read:[It’s time for the IoT to 'optimize for trust'][2] and [A corporate guide to addressing IoT security][2] ]**
+
+Predictably, most of the teeth-gnashing has come on the consumer side, but that doesn’t mean enterprises users are immune to the issue. One the one hand, just like consumers, companies are vulnerable to their proprietary information being improperly shared and misused. More immediately, companies may face backlash from their own customers if they are seen as not properly guarding the data they collect via the IoT. Too often, in fact, enterprises shoot themselves in the foot on privacy issues, with practices that range from tone-deaf to exploitative to downright illegal—leading almost [two-thirds (63%) of consumers to describe IoT data collection as “creepy,”][3] while more than half (53%) “distrust connected devices to protect their privacy and handle information in a responsible manner.”
+
+### Ring becoming the poster child for IoT privacy issues
+
+As a case in point, let’s look at the case of [Ring, the IoT doorbell company now owned by Amazon][4]. Ring is [reportedly working with police departments to build a video surveillance network in residential neighborhoods][5]. Police in more than 50 cities and towns across the country are apparently offering free or discounted Ring doorbells, and sometimes requiring the recipients to share footage for use in investigations. (While [Ring touts the security benefits][6] of working with law enforcement, it has asked police departments to end the practice of _requiring_ users to hand over footage, as it appears to violate the devices’ terms of service.)
+
+Many privacy advocates are troubled by this degree of cooperation between police and Ring, but that’s only part of the problem. Last year, for example, [Ring workers in Ukraine reportedly watched customer feeds][7]. Amazingly, though, even that only scratches the surface of the privacy flaps surrounding Ring.
+
+### Guilty by video?
+
+According to [Motherboard][8], “Ring is using video captured by its doorbell cameras in Facebook advertisements that ask users to identify and call the cops on a woman whom local police say is a suspected thief.” While the police are apparently appreciative of the “additional eyes that may see this woman and recognize her,” the ad calls the woman a thief even though she has not been charged with a crime, much less convicted!
+
+Ring may be today’s poster child for IoT privacy issues, but IoT privacy complaints are widespread. In many cases, it comes down to what IoT users—or others nearby—are getting in return for giving up their privacy. According to the [Guardian][9], for example, Google’s Sidewalk Labs smart city project is little more than “surveillance capitalism.” And while car owners may get a discount on auto insurance in return for sharing their driving data, that relationship is hardly set in stone. It may not be long before drivers have to give up their data just to get insurance at all.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][10] ]**
+
+And as the recent [data breach at the U.S. Customs and Border Protection][11] once again demonstrates, private data is “[a genie without a bottle][12].” No matter what legal or technical protections are put in place, the data may always be revealed or used in unforeseen ways. Heck, when you put it all together, it’s enough to make you wonder [whether doorbells really need to be smart][13] at all?
+
+**Read more about IoT:**
+
+ * [Google’s biggest, craziest ‘moonshot’ yet][14]
+ * [What is the IoT? How the internet of things works][15]
+ * [What is edge computing and how it’s changing the network][16]
+ * [Most powerful internet of things companies][17]
+ * [10 Hot IoT startups to watch][18]
+ * [The 6 ways to make money in IoT][19]
+ * [What is digital twin technology? [and why it matters]][20]
+ * [Blockchain, service-centric networking key to IoT success][21]
+ * [Getting grounded in IoT networking and security][22]
+ * [Building IoT-ready networks must become a priority][23]
+ * [What is the Industrial IoT? [And why the stakes are so high]][24]
+
+
+
+Join the Network World communities on [Facebook][25] and [LinkedIn][26] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3401522/iot-security-vs-privacy-which-is-a-bigger-issue.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/ringvideodoorbellpro-100794084-large.jpg
+[2]: https://www.networkworld.com/article/3269165/internet-of-things/a-corporate-guide-to-addressing-iot-security-concerns.html
+[3]: https://www.cpomagazine.com/data-privacy/consumers-still-concerned-about-iot-security-and-privacy-issues/
+[4]: https://www.cnbc.com/2018/02/27/amazon-buys-ring-a-former-shark-tank-reject.html
+[5]: https://www.cnet.com/features/amazons-helping-police-build-a-surveillance-network-with-ring-doorbells/
+[6]: https://blog.ring.com/2019/02/14/how-rings-neighbors-creates-safer-more-connected-communities/
+[7]: https://www.theinformation.com/go/b7668a689a
+[8]: https://www.vice.com/en_us/article/pajm5z/amazon-home-surveillance-company-ring-law-enforcement-advertisements
+[9]: https://www.theguardian.com/cities/2019/jun/06/toronto-smart-city-google-project-privacy-concerns
+[10]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[11]: https://www.washingtonpost.com/technology/2019/06/10/us-customs-border-protection-says-photos-travelers-into-out-country-were-recently-taken-data-breach/?utm_term=.0f3a38aa40ca
+[12]: https://smartbear.com/blog/test-and-monitor/data-scientists-are-sexy-and-7-more-surprises-from/
+[13]: https://slate.com/tag/should-this-thing-be-smart
+[14]: https://www.networkworld.com/article/3058036/google-s-biggest-craziest-moonshot-yet.html
+[15]: https://www.networkworld.com/article/3207535/internet-of-things/what-is-the-iot-how-the-internet-of-things-works.html
+[16]: https://www.networkworld.com/article/3224893/internet-of-things/what-is-edge-computing-and-how-it-s-changing-the-network.html
+[17]: https://www.networkworld.com/article/2287045/internet-of-things/wireless-153629-10-most-powerful-internet-of-things-companies.html
+[18]: https://www.networkworld.com/article/3270961/internet-of-things/10-hot-iot-startups-to-watch.html
+[19]: https://www.networkworld.com/article/3279346/internet-of-things/the-6-ways-to-make-money-in-iot.html
+[20]: https://www.networkworld.com/article/3280225/internet-of-things/what-is-digital-twin-technology-and-why-it-matters.html
+[21]: https://www.networkworld.com/article/3276313/internet-of-things/blockchain-service-centric-networking-key-to-iot-success.html
+[22]: https://www.networkworld.com/article/3269736/internet-of-things/getting-grounded-in-iot-networking-and-security.html
+[23]: https://www.networkworld.com/article/3276304/internet-of-things/building-iot-ready-networks-must-become-a-priority.html
+[24]: https://www.networkworld.com/article/3243928/internet-of-things/what-is-the-industrial-iot-and-why-the-stakes-are-so-high.html
+[25]: https://www.facebook.com/NetworkWorld/
+[26]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190612 Software Defined Perimeter (SDP)- Creating a new network perimeter.md b/sources/talk/20190612 Software Defined Perimeter (SDP)- Creating a new network perimeter.md
new file mode 100644
index 0000000000..88a540e875
--- /dev/null
+++ b/sources/talk/20190612 Software Defined Perimeter (SDP)- Creating a new network perimeter.md
@@ -0,0 +1,121 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Software Defined Perimeter (SDP): Creating a new network perimeter)
+[#]: via: (https://www.networkworld.com/article/3402258/software-defined-perimeter-sdp-creating-a-new-network-perimeter.html)
+[#]: author: (Matt Conran https://www.networkworld.com/author/Matt-Conran/)
+
+Software Defined Perimeter (SDP): Creating a new network perimeter
+======
+Considering the way networks work today and the change in traffic patterns; both internal and to the cloud, this limits the effect of the fixed perimeter.
+![monsitj / Getty Images][1]
+
+Networks were initially designed to create internal segments that were separated from the external world by using a fixed perimeter. The internal network was deemed trustworthy, whereas the external was considered hostile. However, this is still the foundation for most networking professionals even though a lot has changed since the inception of the design.
+
+More often than not the fixed perimeter consists of a number of network and security appliances, thereby creating a service chained stack, resulting in appliance sprawl. Typically, the appliances that a user may need to pass to get to the internal LAN may vary. But generally, the stack would consist of global load balancers, external firewall, DDoS appliance, VPN concentrator, internal firewall and eventually LAN segments.
+
+The perimeter approach based its design on visibility and accessibility. If an entity external to the network can’t see an internal resource, then access cannot be gained. As a result, external entities were blocked from coming in, yet internal entities were permitted to passage out. However, it worked only to a certain degree. Realistically, the fixed network perimeter will always be breachable; it's just a matter of time. Someone with enough skill will eventually get through.
+
+**[ Related:[MPLS explained – What you need to know about multi-protocol label switching][2]**
+
+### Environmental changes – the cloud and mobile workforce
+
+Considering the way networks work today and the change in traffic patterns; both internal and to the cloud, this limits the effect of the fixed perimeter. Nowadays, we have a very fluid network perimeter with many points of entry.
+
+Imagine a castle with a portcullis that was used to gain access. To gain entry into the portcullis was easy as we just needed to pass one guard. There was only one way in and one way out. But today, in this digital world, we have so many small doors and ways to enter, all of which need to be individually protected.
+
+This boils down to the introduction of cloud-based application services and changing the location of the perimeter. Therefore, the existing networking equipment used for the perimeter is topologically ill-located. Nowadays, everything that is important is outside the perimeter, such as, remote access workers, SaaS, IaaS and PaaS-based applications.
+
+Users require access to the resources in various cloud services regardless of where the resources are located, resulting in complex-to-control multi-cloud environments. Objectively, the users do not and should not care where the applications are located. They just require access to the application. Also, the increased use of mobile workforce that demands anytime and anywhere access from a variety of devices has challenged the enterprises to support this dynamic workforce.
+
+There is also an increasing number of devices, such as, BYOD, on-site contractors, and partners that will continue to grow internal to the network. This ultimately leads to a world of over-connected networks.
+
+### Over-connected networks
+
+Over-connected networks result in complex configurations of network appliances. This results in large and complex policies without any context.
+
+They provide a level of coarse-grained access to a variety of services where the IP address does not correspond to the actual user. Traditional appliances that use static configurations to limit the incoming and outgoing traffic are commonly based on information in the IP packet and the port number.
+
+Essentially, there is no notion of policy and explanation of why a given source IP address is on the list. This approach fails to take into consideration any notion of trust and dynamically adjust access in relation to the device, users and application request events.
+
+### Problems with IP addresses
+
+Back in the early 1990s, RFC 1597 declared three IP ranges reserved for private use: 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. If an end host was configured with one of these addresses, it was considered more secure. However, this assumption of trust was shattered with the passage of time and it still haunts us today.
+
+Network Address Translation (NAT) also changed things to a great extent. NAT allowed internal trusted hosts to communicate directly with the external untrusted hosts. However, since Transmission Control Protocol (TCP) is bidirectional, it allows the data to be injected by the external hosts while connecting back to the internal hosts.
+
+Also, there is no contextual information regarding the IP addresses as the sole purpose revolved around connectivity. If you have the IP address of someone, you can connect to them. The authentication was handled higher up in the stack.
+
+Not only do user’s IP addresses change regularly, but there’s also not a one-to-one correspondence between the users and IP addresses. Anyone can communicate from any IP address they please and also insert themselves between you and the trusted resource.
+
+Have you ever heard of the 20-year old computer that responds to an internet control message protocol (ICMP) request, yet no one knows where it is? But this would not exist on a zero trust network as the network is dark until the administrator turns the lights on with a whitelist policy rule set. This is contrary to the legacy black policy rule set. You can find more information on zero trust in my course: [Zero Trust Networking: The Big Picture][3].
+
+Therefore, we can’t just rely on the IP addresses and expect them to do much more other than connect. As a result, we have to move away from the IP addresses and network location as the proxy for access trust. The network location can longer be the driver of network access levels. It is not fully equipped to decide the trust of a device, user or application.
+
+### Visibility – a major gap
+
+When we analyze networking and its flaws, visibility is a major gap in today’s hybrid environments. By and large, enterprise networks are complex beasts. More than often networking pros do not have accurate data or insights into who or what is accessing the network resource.
+
+I.T does not have the visibility in place to detect, for example, insecure devices, unauthorized users and potentially harmful connections that could propagate malware or perform data exfiltration.
+
+Also, once you know how network elements connect, how do you ensure that they don’t reconnect through a broader definition of connectivity? For this, you need contextual visibility. You need full visibility into the network to see who, what, when, and how they are connecting with the device.
+
+### What’s the workaround?
+
+A new approach is needed that enables the application owners to protect the infrastructure located in a public or private cloud and on-premise data center. This new network architecture is known as [software-defined perimeter][4] (SDP). Back in 2013, Cloud Security Alliance (CSA) launched the SDP initiative, a project designed to develop the architecture for creating more robust networks.
+
+The principles behind SDPs are not entirely new. Organizations within the DoD and Intelligence Communities (IC) have implemented a similar network architecture that is based on authentication and authorization prior to network access.
+
+Typically, every internal resource is hidden behind an appliance. And a user must authenticate before visibility of the authorized services is made available and access is granted.
+
+### Applying the zero trust framework
+
+SDP is an extension to [zero trust][5] which removes the implicit trust from the network. The concept of SDP started with Google’s BeyondCorp, which is the general direction that the industry is heading to right now.
+
+Google’s BeyondCorp puts forward the idea that the corporate network does not have any meaning. The trust regarding accessing an application is set by a static network perimeter containing a central appliance. This appliance permits the inbound and outbound access based on a very coarse policy.
+
+However, access to the application should be based on other parameters such as who the user is, the judgment of the security stance of the device, followed by some continuous assessment of the session. Rationally, only then should access be permitted.
+
+Let’s face it, the assumption that internal traffic can be trusted is flawed and zero trust assumes that all hosts internal to the network are internet facing, thereby hostile.
+
+### What is software-defined perimeter (SDP)?
+
+The SDP aims to deploy perimeter functionality for dynamically provisioned perimeters meant for clouds, hybrid environments, and on-premise data center infrastructures. There is often a dynamic tunnel that automatically gets created during the session. That is a one-to-one mapping between the requesting entity and the trusted resource. The important point to note here is that perimeters are formed not solely to obey a fixed location already design by the network team.
+
+SDP relies on two major pillars and these are the authentication and authorization stages. SDPs require endpoints to authenticate and be authorized first before obtaining network access to the protected entities. Then, encrypted connections are created in real-time between the requesting systems and application infrastructure.
+
+Authenticating and authorizing the users and their devices before even allowing a single packet to reach the target service, enforces what's known as least privilege at the network layer. Essentially, the concept of least privilege is for an entity to be granted only the minimum privileges that it needs to get its work done. Within a zero trust network, privilege is more dynamic than it would be in traditional networks since it uses many different attributes of activity to determine the trust score.
+
+### The dark network
+
+Connectivity is based on a need-to-know model. Under this model, no DNS information, internal IP addresses or visible ports of internal network infrastructure are transmitted. This is the reason why SDP assets are considered as “dark”. As a result, SDP isolates any concerns about the network and application. The applications and users are considered abstract, be it on-premise or in the cloud, which becomes irrelevant to the assigned policy.
+
+Access is granted directly between the users and their devices to the application and resource, regardless of the underlying network infrastructure. There simply is no concept of inside and outside of the network. This ultimately removes the network location point as a position of advantage and also eliminates the excessive implicit trust that IP addresses offer.
+
+**This article is published as part of the IDG Contributor Network.[Want to Join?][6]**
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402258/software-defined-perimeter-sdp-creating-a-new-network-perimeter.html
+
+作者:[Matt Conran][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Matt-Conran/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/03/sdn_software-defined-network_architecture-100791938-large.jpg
+[2]: https://www.networkworld.com/article/2297171/sd-wan/network-security-mpls-explained.html
+[3]: http://pluralsight.com/courses/zero-trust-networking-big-picture
+[4]: https://network-insight.net/2018/09/software-defined-perimeter-zero-trust/
+[5]: https://network-insight.net/2018/10/zero-trust-networking-ztn-want-ghosted/
+[6]: /contributor-network/signup.html
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190612 When to use 5G, when to use Wi-Fi 6.md b/sources/talk/20190612 When to use 5G, when to use Wi-Fi 6.md
new file mode 100644
index 0000000000..a2271052c9
--- /dev/null
+++ b/sources/talk/20190612 When to use 5G, when to use Wi-Fi 6.md
@@ -0,0 +1,83 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (When to use 5G, when to use Wi-Fi 6)
+[#]: via: (https://www.networkworld.com/article/3402316/when-to-use-5g-when-to-use-wi-fi-6.html)
+[#]: author: (Lee Doyle )
+
+When to use 5G, when to use Wi-Fi 6
+======
+5G is a cellular service, and Wi-Fi 6 is a short-range wireless access technology, and each has attributes that make them useful in specific enterprise roles.
+![Thinkstock][1]
+
+We have seen hype about whether [5G][2] cellular or [Wi-Fi 6][3] will win in the enterprise, but the reality is that the two are largely complementary with an overlap for some use cases, which will make for an interesting competitive environment through the early 2020s.
+
+### The potential for 5G in enterprises
+
+The promise of 5G for enterprise users is higher speed connectivity with lower latency. Cellular technology uses licensed spectrum which largely eliminates potential interference that may occur with unlicensed Wi-Fi spectrum. Like current 4G LTE technologies, 5G can be supplied by cellular wireless carriers or built as a private network .
+
+The architecture for 5G requires many more radio access points and can suffer from poor or no connectivity indoors. So, the typical organization needs to assess its [current 4G and potential 5G service][4] for its PCs, routers and other devices. Deploying indoor microcells, repeaters and distributed antennas can help solve indoor 5G service issues. As with 4G, the best enterprise 5G use case is for truly mobile connectivity such as public safety vehicles and in non-carpeted environments like mining, oil and gas extraction, transportation, farming and some manufacturing.
+
+In addition to broad mobility, 5G offers advantages in terms of authentication while roaming and speed of deployment as might be needed to provide WAN connectivity to a pop-up office or retail site. 5G will have the capacity to offload traffic in cases of data congestion such as live video. As 5G standards mature, the technology will improve its options for low-power IoT connectivity.
+
+5G will gradually roll out over the next four to five years starting in large cities and specific geographies; 4G technology will remain prevalent for a number of years. Enterprise users will need new devices, dongles and routers to connect to 5G services. For example, Apple iPhones are not expected to support 5G until 2020, and IoT devices will need specific cellular compatibility to connect to 5G.
+
+Doyle Research expects the 1Gbps and higher bandwidth promised by 5G will have a significant impact on the SD-WAN market. 4G LTE already enables cellular services to become a primary WAN link. 5G is likely to be cost competitive or cheaper than many wired WAN options such as MPLS or the internet. 5G gives enterprise WAN managers more options to provide increased bandwidth to their branch sites and remote users – potentially displacing MPLS over time.
+
+### The potential for Wi-Fi 6 in enterprises
+
+Wi-Fi is nearly ubiquitous for connecting mobile laptops, tablets and other devices to enterprise networks. Wi-Fi 6 (802.11ax) is the latest version of Wi-Fi and brings the promise of increased speed, low latency, improved aggregate bandwidth and advanced traffic management. While it has some similarities with 5G (both are based on orthogonal frequency division multiple access), Wi-Fi 6 is less prone to interference, requires less power (which prolongs device battery life) and has improved spectral efficiency.
+
+**[[Take this mobile device management course from PluralSight and learn how to secure devices in your company without degrading the user experience.][5] ]**
+
+As is typical for Wi-Fi, early [vendor-specific versions of Wi-Fi 6][6] are currently available from many manufacturers. The Wi-Fi alliance plans for certification of Wi-Fi 6-standard gear in 2020. Most enterprises will upgrade to Wi-Fi 6 along standard access-point life cycles of three years or so unless they have specific performance/latency requirements that prompt an upgrade sooner.
+
+Wi-Fi access points continue to be subject to interference, and it can be challenging to design and site APs to provide appropriate coverage. Enterprise LAN managers will continue to need vendor-supplied tools and partners to configure optimal Wi-Fi coverage for their organizations. Wi-Fi 6 solutions must be integrated with wired campus infrastructure. Wi-Fi suppliers need to do a better job at providing unified network management across wireless and wired solutions in the enterprise.
+
+### Need for wired backhaul
+
+For both technologies, wireless is combined with wired-network infrastructure to deliver high-speed communications end-to-end. In the enterprise, Wi-Fi is typically paired with wired Ethernet switches for campus and larger branches. Some devices are connected via cable to the switch, others via Wi-Fi – and laptops may use both methods. Wi-Fi access points are connected via Ethernet inside the enterprise and to the WAN or internet by fiber connections.
+
+The architecture for 5G makes extensive use of fiber optics to connect the distributed radio access network back to the core of the 5G network. Fiber is typically required to provide the high bandwidth needed to connect 5G endpoints to SaaS-based applications, and to provide live video and high-speed internet access. Private 5G networks will also have to meet high-speed wired-connectivity requirements.
+
+### Handoff issues
+
+Enterprise IT managers need to be concerned with handoff challenges as phones switch between 5G and Wi-Fi 6. These issues can affect performance and user satisfaction. Several groups are working towards standards to promote better interoperability between Wi-Fi 6 and 5G. As the architectures of Wi-Fi 6 align with 5G, the experience of moving between cellular and Wi-Fi networks should become more seamless.
+
+### 5G vs Wi-Fi 6 depends on locations, applications and devices
+
+Wi-Fi 6 and 5G are competitive with each other for specific situations in the enterprise environment that depend on location, application and device type. IT managers should carefully evaluate their current and emerging connectivity requirements. Wi-Fi will continue to dominate indoor environments and cellular wins for broad outdoor coverage.
+
+Some of the overlap cases occur in stadiums, hospitality and other large event spaces with many users competing for bandwidth. Government applications, including aspect of smart cities, can be applicable to both Wi-Fi and cellular. Health care facilities have many distributed medical devices and users that need connectivity. Large distributed manufacturing environments share similar characteristics. The emerging IoT deployments are perhaps the most interesting “competitive” environment with many overlapping use cases.
+
+### Recommendations for IT Leaders
+
+While the wireless technologies enabling them are converging, Wi-Fi 6 and 5G are fundamentally distinct networks – both of which have their role in enterprise connectivity. Enterprise IT leaders should focus on how Wi-Fi and cellular can complement each other, with Wi-Fi continuing as the in-building technology to connect PCs and laptops, offload phone and tablet data, and for some IoT connectivity.
+
+4G LTE moving to 5G will remain the truly mobile technology for phone and tablet connectivity, an option (via dongle) for PC connections, and increasingly popular for connecting some IoT devices. 5G WAN links will increasingly become standard as a backup for improved SD-WAN reliability and as primary links for remote offices.
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402316/when-to-use-5g-when-to-use-wi-fi-6.html
+
+作者:[Lee Doyle][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]:
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2017/07/wi-fi_wireless_communication_network_abstract_thinkstock_610127984_1200x800-100730107-large.jpg
+[2]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+[3]: https://www.networkworld.com/article/3215907/why-80211ax-is-the-next-big-thing-in-wi-fi.html
+[4]: https://www.networkworld.com/article/3330603/5g-versus-4g-how-speed-latency-and-application-support-differ.html
+[5]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fmobile-device-management-big-picture
+[6]: https://www.networkworld.com/article/3309439/80211ax-preview-access-points-and-routers-that-support-the-wi-fi-6-protocol-on-tap.html
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190613 Data centers should sell spare UPS capacity to the grid.md b/sources/talk/20190613 Data centers should sell spare UPS capacity to the grid.md
new file mode 100644
index 0000000000..69b4356661
--- /dev/null
+++ b/sources/talk/20190613 Data centers should sell spare UPS capacity to the grid.md
@@ -0,0 +1,59 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Data centers should sell spare UPS capacity to the grid)
+[#]: via: (https://www.networkworld.com/article/3402039/data-centers-should-sell-spare-ups-capacity-to-the-grid.html)
+[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
+
+Data centers should sell spare UPS capacity to the grid
+======
+Distributed Energy is gaining traction, providing an opportunity for data centers to sell excess power in data center UPS batteries to the grid.
+![Getty Images][1]
+
+The energy storage capacity in uninterruptable power supply (UPS) batteries, languishing often dormant in data centers, could provide new revenue streams for those data centers, says Eaton, a major electrical power management company.
+
+Excess, grid-generated power, created during times of low demand, should be stored on the now-proliferating lithium-backup power systems strewn worldwide in data centers, Eaton says. Then, using an algorithm tied to grid-demand, electricity should be withdrawn as necessary for grid use. It would then be slid back onto the backup batteries when not needed.
+
+**[ Read also:[How server disaggregation can boost data center efficiency][2] | Get regularly scheduled insights: [Sign up for Network World newsletters][3] ]**
+
+The concept is called Distributed Energy and has been gaining traction in part because electrical generation is changing—emerging green power, such as wind and solar, being used now at the grid-level have considerations that differ from the now-retiring, fossil-fuel power generation. You can generate solar only in daylight, yet much demand takes place on dark evenings, for example.
+
+Coal, gas, and oil deliveries have always been, to a great extent, pre-planned, just-in-time, and used for electrical generation in real time. Nowadays, though, fluctuations between supply, storage, and demand are kicking in. Electricity storage on the grid is required.
+
+Eaton says that by piggy-backing on existing power banks, electricity distribution could be evened out better. The utilities would deliver power more efficiently, despite the peaks and troughs in demand—with the data center UPS, in effect, acting like a quasi-grid-power storage battery bank, or virtual power plant.
+
+The objective of this UPS use case, called EnergyAware, is to regulate frequency in the grid. That’s related to the tolerances needed to make the grid work—the cycles per second, or hertz, inherent in electrical current can’t deviate too much. Abnormalities happen if there’s a suddent spike in demand but no power on hand to supply the surge.
+
+### How the Distributed Energy concept works
+
+The distributed energy resource (DER), which can be added to any existing lithium-ion battery bank, in any building, allows for the consumption of energy, or the distribution of it, based on a Frequency Regulation grid-demand algorithm. It charges or discharges the backup battery, connected to the grid, thus balancing the grid frequency.
+
+Often, not much power will need to be removed, just “micro-bursts of energy,” explains Sean James, director of Energy Research at Microsoft, in an Eaton-published promotional video. Microsoft Innovation Center in Virginia has been working with Eaton on the project. Those bursts are enough to get the frequency tolerances back on track, but the UPS still functions as designed.
+
+Eaton says data centers should start participating in energy markets. That could mean bidding, as a producer of power, to those who need to buy it—the electricity market, also known as the grid. Data centers could conceivably even switch on generators to operate the data halls if the price for its battery-stored power was particularly lucrative at certain times.
+
+“A data center in the future wouldn’t just be a huge load on the grid,” James says. “In the future, you don’t have a data center or a power plant. It’s something in the middle. A data plant,” he says on the Eaton [website][4].
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402039/data-centers-should-sell-spare-ups-capacity-to-the-grid.html
+
+作者:[Patrick Nelson][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Patrick-Nelson/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/10/business_continuity_server-100777720-large.jpg
+[2]: https://www.networkworld.com/article/3266624/how-server-disaggregation-could-make-cloud-datacenters-more-efficient.html
+[3]: https://www.networkworld.com/newsletters/signup.html
+[4]: https://www.eaton.com/us/en-us/products/backup-power-ups-surge-it-power-distribution/backup-power-ups/dual-purpose-ups-technology.html
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190613 Oracle updates Exadata at long last with AI and machine learning abilities.md b/sources/talk/20190613 Oracle updates Exadata at long last with AI and machine learning abilities.md
new file mode 100644
index 0000000000..280cfd1a4a
--- /dev/null
+++ b/sources/talk/20190613 Oracle updates Exadata at long last with AI and machine learning abilities.md
@@ -0,0 +1,68 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Oracle updates Exadata at long last with AI and machine learning abilities)
+[#]: via: (https://www.networkworld.com/article/3402559/oracle-updates-exadata-at-long-last-with-ai-and-machine-learning-abilities.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Oracle updates Exadata at long last with AI and machine learning abilities
+======
+Oracle to update the Oracle Exadata Database Machine X8 server line to include artificial intelligence (AI) and machine learning capabilities, plus support for hybrid cloud.
+![Magdalena Petrova][1]
+
+After a rather [long period of silence][2], Oracle announced an update to its server line, the Oracle Exadata Database Machine X8, which features hardware and software enhancements that include artificial intelligence (AI) and machine learning capabilities, as well as support for hybrid cloud.
+
+Oracle acquired a hardware business nine years ago with the purchase of Sun Microsystems. It steadily whittled down the offerings, getting out of the commodity hardware business in favor of high-end mission-critical hardware. Whereas the Exalogic line is more of a general-purpose appliance running Oracle’s own version of Linux, Exadata is a purpose-built database server, and they really made some upgrades.
+
+The Exadata X8 comes with the latest Intel Xeon Scalable processors and PCIe NVME flash technology to drive performance improvements, which Oracle promises a 60% increase in I/O throughput for all-Flash storage and a 25% increase in IOPS per storage server compared to Exadata X7. The X8 offers a 60% performance improvement over the previous generation for analytics with up to 560GB per second throughput. It can scan a 1TB table in under two seconds.
+
+**[ Also read:[What is quantum computing (and why enterprises should care)][3] ]**
+
+The company also enhanced the storage server to offload Oracle Database processing, and the X8 features 60% more cores and 40% higher capacity disk drives over the X7.
+
+But the real enhancements come on the software side. With Exadata X8, Oracle introduces new machine-learning capabilities, such as Automatic Indexing, which continuously learns and tunes the database as usage patterns change. The Indexing technology originated with the Oracle Autonomous Database, the cloud-based software designed to automate management of Oracle databases.
+
+And no, MySQL is not included in the stack. This is for Oracle databases only.
+
+“We’re taking code from Autonomous Database and making it available on prem for our customers,” said Steve Zivanic, vice president for converged infrastructure at Oracle’s Cloud Business Group. “That enables companies rather than doing manual indexing for various Oracle databases to automate it with machine learning.”
+
+In one test, it took a 15-year-old Netsuite database with over 9,000 indexes built up over the lifespan of the database, and in 24 hours, its AI indexer rebuilt the indexes with just 6,000, reducing storage space and greatly increasing performance of the database, since the number of indexes to search were smaller.
+
+### Performance improvements with Exadata
+
+Zivanic cited several examples of server consolidation done with Exadata but would not identify companies by name. He told of a large healthcare company that achieved a 10-fold performance improvement over IBM Power servers and consolidated 600 Power servers with 50 Exadata systems.
+
+A financial services company replaced 4,000 Dell servers running Red Hat Linux and VMware with 100 Exadata systems running 6,000 production Oracle databases. Not only did it reduce its power footprint, but patching was down 99%. An unnamed retailer with 28 racks of hardware from five vendors went from installing 1,400 patches per year to 16 patches on four Exadata racks.
+
+Because Oracle owns the entire stack, from hardware to OS to middleware and database, Exadata can roll all of its patch components – 640 in all – into a single bundle.
+
+“The trend we’ve noticed is you see these [IT hardware] companies who try to maintain an erector set mentality,” said Zivanic. “And you have people saying why are we trying to build pods? Why don’t we buy finished goods and focus on our core competency rather than build erector sets?”
+
+### Oracle Zero Data Loss Recovery Appliance X8 now available
+
+Oracle also announced the availability of the Oracle Zero Data Loss Recovery Appliance X8, its database backup appliance, which offers up to 10 times faster data recovery of an Oracle Database than conventional data deduplication appliances while providing sub-second recoverability of all transactions.
+
+The new Oracle Recovery Appliance X8 now features 30% larger capacity, nearly a petabyte in a single rack, for the same price, Oracle says.
+
+Join the Network World communities on [Facebook][4] and [LinkedIn][5] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402559/oracle-updates-exadata-at-long-last-with-ai-and-machine-learning-abilities.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2017/03/vid-still-79-of-82-100714308-large.jpg
+[2]: https://www.networkworld.com/article/3317564/is-oracles-silence-on-its-on-premises-servers-cause-for-concern.html
+[3]: https://www.networkworld.com/article/3275367/what-s-quantum-computing-and-why-enterprises-need-to-care.html
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190614 Report- Mirai tries to hook its tentacles into SD-WAN.md b/sources/talk/20190614 Report- Mirai tries to hook its tentacles into SD-WAN.md
new file mode 100644
index 0000000000..d4a3a9a927
--- /dev/null
+++ b/sources/talk/20190614 Report- Mirai tries to hook its tentacles into SD-WAN.md
@@ -0,0 +1,71 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Report: Mirai tries to hook its tentacles into SD-WAN)
+[#]: via: (https://www.networkworld.com/article/3403016/report-mirai-tries-to-hook-its-tentacles-into-sd-wan.html)
+[#]: author: (Jon Gold https://www.networkworld.com/author/Jon-Gold/)
+
+Report: Mirai tries to hook its tentacles into SD-WAN
+======
+
+Mirai – the software that has hijacked hundreds of thousands of internet-connected devices to launch massive DDoS attacks – now goes beyond recruiting just IoT products; it also includes code that seeks to exploit a vulnerability in corporate SD-WAN gear.
+
+That specific equipment – VMware’s SDX line of SD-WAN appliances – now has an updated software version that fixes the vulnerability, but by targeting it Mirai’s authors show that they now look beyond enlisting security cameras and set-top boxes and seek out any vulnerable connected devices, including enterprise networking gear.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][1]
+ * [How to pick an off-site data-backup method][2]
+ * [SD-Branch: What it is and why you’ll need it][3]
+ * [What are the options for security SD-WAN?][4]
+
+
+
+“I assume we’re going to see Mirai just collecting as many devices as it can,” said Jen Miller-Osborn, deputy director of threat research at Palo Alto Networks’ Unit 42, which recently issued [a report][5] about Mirai.
+
+### Exploiting SD-WAN gear is new
+
+While the exploit against the SD-WAN appliances was a departure for Mirai, it doesn’t represent a sea-change in the way its authors are approaching their work, according Miller-Osborn.
+
+The idea, she said, is simply to add any devices to the botnet, regardless of what they are. The fact that SD-WAN devices were targeted is more about those particular devices having a vulnerability than anything to do with their SD-WAN capabilities.
+
+### Responsible disclosure headed off execution of exploits
+
+[The vulnerability][6] itself was discovered last year by independent researchers who responsibly disclosed it to VMware, which then fixed it in a later software version. But the means to exploit the weakness nevertheless is included in a recently discovered new variant of Mirai, according to the Unit 42 report.
+
+The authors behind Mirai periodically update the software to add new targets to the list, according to Unit 42, and the botherders’ original tactic of simply targeting devices running default credentials has given way to a strategy that also exploits vulnerabilities in a wide range of different devices. The updated variant of the malicious software includes a total of eight new-to-Mirai exploits.
+
+**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][7] ]**
+
+The remediated version of the VMware SD-WAN is SD-WAN Edge 3.1.2. The vulnerability still affects SD-WAN Edge 3.1.1 and earlier, [according to a VMware security advisory][8]. After the Unit 42 report came out VMware posted [a blog][9] that says it is conducting its own investigation into the matter.
+
+Detecting whether a given SD-WAN implementation has been compromised depends heavily on the degree of monitoring in place on the network. Any products that give IT staff the ability to notice unusual traffic to or from an affected appliance could flag that activity. Otherwise, it could be difficult to tell if anything’s wrong, Miller-Osborne said. “You honestly might not notice it unless you start seeing a hit in performance or an outside actor notifies you about it.”
+
+Join the Network World communities on [Facebook][10] and [LinkedIn][11] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403016/report-mirai-tries-to-hook-its-tentacles-into-sd-wan.html
+
+作者:[Jon Gold][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Jon-Gold/
+[b]: https://github.com/lujun9972
+[1]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[2]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[3]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[4]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[5]: https://unit42.paloaltonetworks.com/new-mirai-variant-adds-8-new-exploits-targets-additional-iot-devices/
+[6]: https://www.exploit-db.com/exploits/44959
+[7]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
+[8]: https://www.vmware.com/security/advisories/VMSA-2018-0011.html
+[9]: https://blogs.vmware.com/security/2019/06/vmsa-2018-0011-revisited.html
+[10]: https://www.facebook.com/NetworkWorld/
+[11]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190614 Western Digital launches open-source zettabyte storage initiative.md b/sources/talk/20190614 Western Digital launches open-source zettabyte storage initiative.md
new file mode 100644
index 0000000000..9c31358d47
--- /dev/null
+++ b/sources/talk/20190614 Western Digital launches open-source zettabyte storage initiative.md
@@ -0,0 +1,60 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Western Digital launches open-source zettabyte storage initiative)
+[#]: via: (https://www.networkworld.com/article/3402318/western-digital-launches-open-source-zettabyte-storage-initiative.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Western Digital launches open-source zettabyte storage initiative
+======
+Western Digital's Zoned Storage initiative leverages new technology to create more efficient zettabyte-scale data storage for data centers by improving how data is organized when it is stored.
+![monsitj / Getty Images][1]
+
+Western Digital has announced a project called the Zoned Storage initiative that leverages new technology to create more efficient zettabyte-scale data storage for data centers by improving how data is organized when it is stored.
+
+As part of this, the company also launched a [developer site][2] that will host open-source, standards-based tools and other resources.
+
+The Zoned Storage architecture is designed for Western Digital hardware and its shingled magnetic recording (SMR) HDDs, which hold up to 15TB of data, as well as the emerging zoned namespaces (ZNS) standard for NVMe SSDs, designed to deliver better endurance and predictability.
+
+**[ Now read:[What is quantum computing (and why enterprises should care)][3] ]**
+
+This initiative is not being retrofitted for non-SMR drives or non-NVMe SSDs. Western Digital estimates that by 2023, half of all its HDD shipments are expected to be SMR. And that will be needed because IDC predicts data will be generated at a rate of 103 zettabytes a year by 2023.
+
+With this project Western Digital is targeting cloud and hyperscale providers and anyone building a large data center who has to manage a large amount of data, according to Eddie Ramirez, senior director of product marketing for Western Digital.
+
+Western Digital is changing how data is written and stored from the traditional random 4K block writes to large blocks of sequential data, like Big Data workloads and video streams, which are rapidly growing in size and use in the digital age.
+
+“We are now looking at a one-size-fits-all architecture that leaves a lot of TCO [total cost of ownership] benefits on the table if you design for a single architecture,” Ramirez said. “We are looking at workloads that don’t rely on small block randomization of data but large block sequential write in nature.”
+
+Because drives use 4k write blocks, that leads to overprovisioning of storage, especially around SSDs. This is true of consumer and enterprise SSDs alike. My 1TB SSD drive has only 930GB available. And that loss scales. An 8TB SSD has only 6.4TB available, according to Ramirez. SSDs also have to be built with DRAM for caching of small block random writes. You need about 1GB of DRAM per 1TB of NAND to act as a buffer, according to Ramirez.
+
+### The benefits of Zoned Storage
+
+Zoned Storage allows for 15-20% more storage on a HDD the than traditional storage mechanism. It eliminates the overprovisioning of SSDs, so you get all the NAND flash the drive has and you need far fewer DRAM chips on an SSD. Additionally, Western Digital promises you will need up to one-eighth as much DRAM to act as a cache in future SSD drives, lowering the cost.
+
+Ramirez also said quality of service will improve, not necessarily that peak performance is better, but it will manage latency from outliers better.
+
+Western Digital has not disclosed what if any pricing is associated with the project. It plans to work with the open-source community, customers, and industry players to help accelerate application development around Zoned Storage through its website.
+
+Join the Network World communities on [Facebook][4] and [LinkedIn][5] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3402318/western-digital-launches-open-source-zettabyte-storage-initiative.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/big_data_center_server_racks_storage_binary_analytics_by_monsitj_gettyimages-951389152_3x2-100787358-large.jpg
+[2]: http://ZonedStorage.io
+[3]: https://www.networkworld.com/article/3275367/what-s-quantum-computing-and-why-enterprises-need-to-care.html
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190617 5 transferable higher-education skills.md b/sources/talk/20190617 5 transferable higher-education skills.md
new file mode 100644
index 0000000000..db0f584aaf
--- /dev/null
+++ b/sources/talk/20190617 5 transferable higher-education skills.md
@@ -0,0 +1,64 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (5 transferable higher-education skills)
+[#]: via: (https://opensource.com/article/19/6/5-transferable-higher-education-skills)
+[#]: author: (Stephon Brown https://opensource.com/users/stephb)
+
+5 transferable higher-education skills
+======
+If you're moving from the Ivory Tower to the Matrix, you already have
+the foundation for success in the developer role.
+![Two hands holding a resume with computer, clock, and desk chair ][1]
+
+My transition from a higher-education professional into the tech realm was comparable to moving from a pond into an ocean. There was so much to learn, and after learning, there was still so much more to learn!
+
+Rather than going down the rabbit hole and being overwhelmed by what I did not know, in the last two to three months, I have been able to take comfort in the realization that I was not entirely out of my element as a developer. The skills I acquired during my six years as a university professional gave me the foundation to be successful in the developer role.
+
+These skills are transferable in any direction you plan to go within or outside tech, and it's valuable to reflect on how they apply to your new position.
+
+### 1\. Composition and documentation
+
+Higher education is replete with opportunities to develop skills related to composition and communication. In most cases, clear writing and communication are mandatory requirements for university administrative and teaching positions. Although you may not yet be well-versed in deep technical concepts, learning documentation and writing your progress may be two of the strongest skills you bring as a former higher education administrator. All of those "In response to…" emails will finally come in handy when describing the inner workings of a class or leaving succinct comments for other developers to follow what you have implemented.
+
+### 2\. Problem-solving and critical thinking
+
+Whether you've been an adviser who sits with students and painstakingly develops class schedules for graduation or a finance buff who balances government funds, you will not leave critical thinking behind as you transition into a developer role. Although your critical thinking may have seemed specialized for your work, the skill of turning problems into opportunities is not lost when contributing to code. The experience gained while spending long days and nights revising recruitment strategies will be necessary when composing algorithms and creative ways of delivering data. Continue to foster a passion for solving problems, and you will not have any trouble becoming an efficient and skillful developer.
+
+### 3\. Communication
+
+Though it may seem to overlap with writing (above), communication spans verbal and written disciplines. When you're interacting with clients and leadership, you may have a leg up over your peers because of your higher-education experience. Being approachable and understanding how to manage interactions are skills that some software practitioners may not have fostered to an impactful level. Although you will experience days of staring at a screen and banging your head against the keyboard, you can rest well in knowing you can describe technical concepts and interact with a wide range of audiences, from clients to peers.
+
+### 4\. Leadership
+
+Sitting on that panel; planning that event; leading that workshop. All of those experiences provide you with the grounding to plan and lead smaller projects as a new developer. Leadership is not limited to heading up large and small teams; its essence lies in taking initiative. This can be volunteering to do research on a new feature or do more extensive unit tests for your code. However you use it, your foundation as an educator will allow you to go further in technology development and maintenance.
+
+### 5\. Research
+
+You can Google with the best of them. Being able to clearly truncate your query into the idea you are searching for is characteristic of a higher-education professional. Most administrator or educator jobs focus on solving problems in a defined process for qualitative, quantitative, or mixed results; therefore, cultivating your scientific mind is valuable when providing software solutions. Your research skills also open opportunities for branching into data science and machine learning.
+
+### Bonus: Collaboration
+
+Being able to reach across various offices and fields for event planning and program implementation fit well within team collaboration—both within your new team and across development teams. This may leak into the project management realm, but being able to plan and divide work between teams and establish accountability will allow you as a new developer to understand the software development lifecycle process a little more intimately because of your past related experience.
+
+### Summary
+
+As a developer jumping head-first into technology after years of walking students through the process of navigating higher education, [imposter syndrome][2] has been a constant fear since moving into technology. However, I have been able to take heart in knowing my experience as an educator and an administrator has not gone in vain. If you are like me, be encouraged in knowing that these transferable skills, some of which fall into the soft-skills and other categories, will continue to benefit you as a developer and a professional.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/5-transferable-higher-education-skills
+
+作者:[Stephon Brown][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/stephb
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/resume_career_document_general.png?itok=JEaFL2XI (Two hands holding a resume with computer, clock, and desk chair )
+[2]: https://en.wikipedia.org/wiki/Impostor_syndrome
diff --git a/sources/talk/20190617 Use ImageGlass to quickly view JPG images as a slideshow.md b/sources/talk/20190617 Use ImageGlass to quickly view JPG images as a slideshow.md
new file mode 100644
index 0000000000..31820a380b
--- /dev/null
+++ b/sources/talk/20190617 Use ImageGlass to quickly view JPG images as a slideshow.md
@@ -0,0 +1,53 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Use ImageGlass to quickly view JPG images as a slideshow)
+[#]: via: (https://opensource.com/article/19/6/use-imageglass-view-jpg-images-slideshow-windows-10)
+[#]: author: (Jeff Macharyas https://opensource.com/users/jeffmacharyas)
+
+Use ImageGlass to quickly view JPG images as a slideshow
+======
+Want to view images from a folder one-by-one in a slideshow on Windows
+10? Open source to the rescue.
+![Looking back with binoculars][1]
+
+Welcome to today’s episode of "How Can I Make This Work?" In my case, I was trying to view a folder of JPG images as a slideshow on Windows 10. As often happens, I turned to open source to solve the issue.
+
+On a Mac, viewing a folder of JPG images as a slideshow is a simple matter of selecting all the images in a folder ( **Command-A** ), and then pressing **Option-Command-Y**. From there, you can advance the images with the arrow key. Of course, you can do a similar thing on Windows by selecting the first image, then clicking on the window frame's yellow **Manage** bar, then selecting **Slide Show**. There, you can control the speed, but only to a point: slow, medium, and fast.
+
+I wanted to advance the images in Windows the same way I do it on a Mac. Naturally, I fired up the Googler and searched for a solution. There, I found the [ImageGlass][2] open source app, [licensed GPL 3.0][3], and it did the trick perfectly. Here's what it looks like:
+
+![Viewing an image in ImageGlass.][4]
+
+### About ImageGlass
+
+ImageGlass was developed by Dương Diệu Pháp, a Vietnamese developer who works on the front end for Chainstack, according to his website. He collaborates with US-based [Kevin Routley][5], who "develops new features for ImageGlass." The source code is available on [GitHub][6].
+
+ImageGlass supports most common image formats, including JPG, GIF, PNG, WEBP, SVG, and RAW. Users can customize this extension list easily.
+
+My specific problem was needing to find an image for a catalog cover. Unfortunately, it was in a folder containing dozens of photos. Navigating through the slideshow in ImageGlass, stopping on the image I wanted, and downloading it into my project folder turned out to be easy. Open source to the rescue yet again, and the app took only seconds to download and use.
+
+ImageGlass was featured as a Picasa alternative in Jason Baker’s article [9 open source alternatives to][7] [Picasa][7] from March 10, 2016. There are some other interesting image-related open source tools in there as well if you are in need.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/6/use-imageglass-view-jpg-images-slideshow-windows-10
+
+作者:[Jeff Macharyas][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jeffmacharyas
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/look-binoculars-sight-see-review.png?itok=NOw2cm39 (Looking back with binoculars)
+[2]: https://imageglass.org/
+[3]: https://github.com/d2phap/ImageGlass/blob/master/LICENSE
+[4]: https://opensource.com/sites/default/files/uploads/imageglass-screenshot.png (Viewing an image in ImageGlass.)
+[5]: https://github.com/fire-eggs
+[6]: https://github.com/d2phap/ImageGlass
+[7]: https://opensource.com/alternatives/picasa
diff --git a/sources/talk/20190618 17 predictions about 5G networks and devices.md b/sources/talk/20190618 17 predictions about 5G networks and devices.md
new file mode 100644
index 0000000000..d8833f9887
--- /dev/null
+++ b/sources/talk/20190618 17 predictions about 5G networks and devices.md
@@ -0,0 +1,82 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (17 predictions about 5G networks and devices)
+[#]: via: (https://www.networkworld.com/article/3403358/17-predictions-about-5g-networks-and-devices.html)
+[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
+
+17 predictions about 5G networks and devices
+======
+Not surprisingly, the new Ericsson Mobility Report is bullish on the potential of 5G technology. Here’s a quick look at the most important numbers.
+![Vertigo3D / Getty Images][1]
+
+_“As market after market switches on 5G, we are at a truly momentous point in time. No previous generation of mobile technology has had the potential to drive economic growth to the extent that 5G promises. It goes beyond connecting people to fully realizing the Internet of Things (IoT) and the Fourth Industrial Revolution.”_ —The opening paragraph of the [June 2019 Ericsson Mobility Report][2]
+
+Almost every significant technology advancement now goes through what [Gartner calls the “hype cycle.”][3] These days, Everyone expects new technologies to be met with gushing optimism and dreamy visions of how it’s going to change the world in the blink of an eye. After a while, we all come to expect the vendors and the press to go overboard with excitement, at least until reality and disappointment set in when things don’t pan out exactly as expected.
+
+**[ Also read:[The time of 5G is almost here][4] ]**
+
+Even with all that in mind, though, Ericsson’s whole-hearted embrace of 5G in its Internet Mobility Report is impressive. The optimism is backed up by lots of numbers, but they can be hard to tease out of the 36-document. So, let’s recap some of the most important top-line predictions (with my comments at the end).
+
+### Worldwide 5G growth projections
+
+ 1. “More than 10 million 5G subscriptions are projected worldwide by the end of 2019.”
+ 2. “[We] now expect there to be 1.9 billion 5G subscriptions for enhanced mobile broadband by the end of 2024. This will account for over 20 percent of all mobile subscriptions at that time. The peak of LTE subscriptions is projected for 2022, at around 5.3 billion subscriptions, with the number declining slowly thereafter.”
+ 3. “In 2024, 5G networks will carry 35 percent of mobile data traffic globally.”
+ 4. “5G can cover up to 65 percent of the world’s population in 2024.”
+ 5. ”NB-IoT and Cat-M technologies will account for close to 45 percent of cellular IoT connections in 2024.”
+ 6. “By the end of 2024, nearly 35 percent of cellular IoT connections will be Broadband IoT, with 4G connecting the majority.” But 5G connections will support more advanced use cases.
+ 7. “Despite challenging 5G timelines, device suppliers are expected to be ready with different band and architecture support in a range of devices during 2019.”
+ 8. “Spectrum sharing … chipsets are currently in development and are anticipated to be in 5G commercial devices in late 2019."
+ 9. “[VoLTE][5] is the foundation for enabling voice and communication services on 5G devices. Subscriptions are expected to reach 2.1 billion by the end of 2019. … The number of VoLTE subscriptions is projected to reach 5.9 billion by the end of 2024, accounting for more than 85 percent of combined LTE and 5G subscriptions.”
+
+
+
+![][6]
+
+### Regional 5G projections
+
+ 1. “In North America, … service providers have already launched commercial 5G services, both for fixed wireless access and mobile. … By the end of 2024, we anticipate close to 270 million 5G subscriptions in the region, accounting for more than 60 percent of mobile subscriptions.”
+ 2. “In Western Europe … The momentum for 5G in the region was highlighted by the first commercial launch in April. By the end of 2024, 5G is expected to account for around 40 percent of mobile subscriptions.
+ 3. In Central and Eastern Europe, … The first 5G subscriptions are expected in 2019, and will make up 15 percent of subscriptions in 2024.”
+ 4. “In North East Asia, … the region’s 5G subscription penetration is projected to reach 47 percent [by the end of 2024].
+ 5. “[In India,] 5G subscriptions are expected to become available in 2022 and will represent 6 percent of mobile subscriptions at the end of 2024.”
+ 6. “In the Middle East and North Africa, we anticipate commercial 5G deployments with leading communications service providers during 2019, and significant volumes in 2021. … Around 60 million 5G subscriptions are forecast for the end of 2024, representing 3 percent of total mobile subscriptions.”
+ 7. “Initial 5G commercial devices are expected in the [South East Asia and Oceania] region during the first half of 2019. By the end of 2024, it is anticipated that almost 12 percent of subscriptions in the region will be for 5G.]”
+ 8. “In Latin America … the first 5G deployments will be possible in the 3.5GHz band during 2019. Argentina, Brazil, Chile, Colombia, and Mexico are anticipated to be the first countries in the region to deploy 5G, with increased subscription uptake forecast from 2020. By the end of 2024, 5G is set to make up 7 percent of mobile subscriptions.”
+
+
+
+### Is 5G really so inevitable?
+
+Considered individually, these predictions all seem perfectly reasonable. Heck, 10 million 5G subscriptions is only a drop in the global bucket. And rumors are already flying that Apple’s next round of iPhones will include 5G capability. Also, 2024 is still five years in the future, so why wouldn’t the faster connections drive impressive traffic stats? Similarly, North America and North East Asia will experience the fastest 5G penetration.
+
+But when you look at them all together, these numbers project a sense of 5G inevitability that could well be premature. It will take a _lot_ of spending, by a lot of different parties—carriers, chip makers, equipment vendors, phone manufacturers, and consumers—to make this kind of growth a reality.
+
+I’m not saying 5G won’t take over the world. I’m just saying that when so many things have to happen in a relatively short time, there are a lot of opportunities for the train to jump the tracks. Don’t be surprised if it takes longer than expected for 5G to turn into the worldwide default standard Ericsson—and everyone else—seems to think it will inevitably become.
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403358/17-predictions-about-5g-networks-and-devices.html
+
+作者:[Fredric Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Fredric-Paul/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/5g_wireless_technology_network_connections_by_credit-vertigo3d_gettyimages-1043302218_3x2-100787550-large.jpg
+[2]: https://www.ericsson.com/assets/local/mobility-report/documents/2019/ericsson-mobility-report-june-2019.pdf
+[3]: https://www.gartner.com/en/research/methodologies/gartner-hype-cycle
+[4]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[5]: https://www.gsma.com/futurenetworks/technology/volte/
+[6]: https://images.idgesg.net/images/article/2019/06/ericsson-mobility-report-june-2019-graph-100799481-large.jpg
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190618 Why your workplace arguments aren-t as effective as you-d like.md b/sources/talk/20190618 Why your workplace arguments aren-t as effective as you-d like.md
new file mode 100644
index 0000000000..54a0cca26f
--- /dev/null
+++ b/sources/talk/20190618 Why your workplace arguments aren-t as effective as you-d like.md
@@ -0,0 +1,144 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Why your workplace arguments aren't as effective as you'd like)
+[#]: via: (https://opensource.com/open-organization/19/6/barriers-productive-arguments)
+[#]: author: (Ron McFarland https://opensource.com/users/ron-mcfarland/users/ron-mcfarland)
+
+Why your workplace arguments aren't as effective as you'd like
+======
+Open organizations rely on open conversations. These common barriers to
+productive argument often get in the way.
+![Arrows pointing different directions][1]
+
+Transparent, frank, and often contentious arguments are part of life in an open organization. But how can we be sure those conversations are _productive_ —not _destructive_?
+
+This is the second installment of a two-part series on how to argue and actually achieve something. In the [first article][2], I mentioned what arguments are (and are not), according to author Sinnott-Armstrong in his book _Think Again: How to Reason and Argue._ I also offered some suggestions for making arguments as productive as possible.
+
+In this article, I'll examine three barriers to productive arguments that Sinnott-Armstrong elaborates in his book: incivility, polarization, and language issues. Finally, I'll explain his suggestions for addressing those barriers.
+
+### Incivility
+
+"Incivility" has become a social concern in recent years. Consider this: As a tactic in arguments, incivility _can_ have an effect in certain situations—and that's why it's a common strategy. Sinnott-Armstrong notes that incivility:
+
+ * **Attracts attention:** Incivility draws people's attention in one direction, sometimes to misdirect attention from or outright obscure other issues. It redirects people's attention to shocking statements. Incivility, exaggeration, and extremism can increase the size of an audience.
+
+ * **Energizes:** Sinnott-Armstrong writes that seeing someone being uncivil on a topic of interest can generate energy from a state of powerlessness.
+
+ * **Stimulates memory:** Forgetting shocking statements is difficult; they stick in our memory more easily than statements that are less surprising to us.
+
+ * **Excites the powerless:** The groups most likely to believe and invest in someone being uncivil are those that feel they're powerless and being treated unfairly.
+
+
+
+
+Unfortunately, incivility as a tactic in arguments has its costs. One such cost is polarization.
+
+### Polarization
+
+Sinnott-Armstrong writes about five forms of polarization:
+
+ * **Distance:** If two people's or groups' views are far apart according to some relevant scale, have significant disagreements and little common ground, then they're polarized.
+
+ * **Differences:** If two people or groups have fewer values and beliefs _in common_ than they _don't have in common_ , then they're polarized.
+
+ * **Antagonism:** Groups are more polarized the more they feel hatred, disdain, fear, or other negative emotions toward other people or groups.
+
+ * **Incivility:** Groups tend to be more polarized when they talk more negatively about people of the other groups.
+
+ * **Rigidity:** Groups tend to be more polarized when they treat their values as indisputable and will not compromise.
+
+ * **Gridlock:** Groups tend to be more polarized when they're unable to cooperate and work together toward common goals.
+
+
+
+
+And I'll add one more form of polarization to Sinnott-Armstrong's list:
+
+ * **Non-disclosure:** Groups tend to be more polarized when one or both of the groups refuses to share valid, verifiable information—or when they distract each other with useless or irrelevant information. One of the ways people polarize is by not talking to each other and withhold information. Similarly, they talk on subjects that distract us from the issue at hand. Some issues are difficult to talk about, but by doing so solutions can be explored.
+
+
+
+### Language issues
+
+Identifying discussion-stoppers like these can help you avoid shutting down a discussion that would otherwise achieve beneficial outcomes.
+
+Language issues can be argument-stoppers Sinnott-Armstrong says. In particular, he outlines some of the following language-related barriers to productive argument.
+
+ * **Guarding:** Using words like "all" can make a statement unbelievable; words like "sometimes" can make a statement too vague.
+
+ * **Assuring:** Simply stating "trust me, I know what I'm talking about," without offering evidence that this is the case, can impede arguments.
+
+ * **Evaluating:** Offering an evaluation of something—like saying "It is good"―without any supporting reasoning.
+
+ * **Discounting:** This involves anticipating what the another person will say and attempting to weaken it as much as possible by framing an argument in a negative way. (Contrast these two sentences, for example: "Ramona is smart but boring" and "Ramona is boring but smart." The difference is subtle, but you'd probably want to spend less time with Ramona if you heard the first statement about her than if you heard the second.)
+
+
+
+
+Identifying discussion-stoppers like these can help you avoid shutting down a discussion that would otherwise achieve beneficial outcomes. In addition, Sinnott-Armstrong specifically draws readers' attention to two other language problems that can kill productive debates: vagueness and ambiguity.
+
+ * **Vagueness:** This occurs when a word or sentence is not precise enough and having many ways to interpret its true meaning and intent, which leads to confusion. Consider the sentence "It is big." "It" must be defined if it's not already obvious to everyone in the conversation. And a word like "big" must be clarified through comparison to something that everyone has agreed upon.
+
+ * **Ambiguity:** This occurs when a sentence could have two distinct meanings. For example: "Police killed man with axe." Who was holding the axe, the man or the police? "My neighbor had a friend for dinner." Did your neighbor invite a friend to share a meal—or did she eat her friend?
+
+
+
+
+### Overcoming barriers
+
+To help readers avoid these common roadblocks to productive arguments, Sinnott-Armstrong recommends a simple, four-step process for evaluating another person's argument.
+
+ 1. **Observation:** First, observe a stated opinion and its related evidence to determine the precise nature of the claim. This might require you to ask some questions for clarification (you'll remember I employed this technique when arguing with my belligerent uncle, which I described [in the first article of this series][2]).
+
+ 2. **Hypothesis:** Develop some hypothesis about the argument. In this case, the hypothesis should be an inference based on generally acceptable standards (for more on the structure of arguments themselves, also see [the first part of this series][2]).
+
+ 3. **Comparison:** Compare that hypothesis with others and evaluate which is more accurate. More important issues will require you to conduct more comparisons. In other cases, premises are so obvious that no further explanation is required.
+
+ 4. **Conclusion:** From the comparison analysis, reach a conclusion about whether your hypothesis about a competing argument is correct.
+
+
+
+
+In many cases, the question is not whether a particular claim is _correct_ or _incorrect_ , but whether it is _believable._ So Sinnott-Armstrong also offers a four-step "believability test" for evaluating claims of this type.
+
+ 1. **Expertise:** Does the person presenting the argument have authority in an appropriate field? Being a specialist is one field doesn't necessarily make that person an expert in another.
+
+ 2. **Motive:** Would self-interest or other personal motives compel a person to withhold information or make false statements? To confirm one's statements, it might be wise to seek a totally separate, independent authority for confirmation.
+
+ 3. **Sources:** Are the sources the person offers as evidence of a claim recognized experts? Do those sources have the expertise on the specific issue addressed?
+
+ 4. **Agreement:** Is there agreement among many experts within the same specialty?
+
+
+
+
+### Let's argue
+
+If you really want to strengthen your ability to argue, find someone that totally disagrees with you but wants to learn and understand your beliefs.
+
+When I was a university student, I would usually sit toward the front of the classroom. When I didn't understand something, I would start asking questions for clarification. Everyone else in the class would just sit silently, saying nothing. After class, however, other students would come up to me and thank me for asking those questions—because everyone else in the room was confused, too.
+
+Clarification is a powerful act—not just in the classroom, but during arguments anywhere. Building an organizational culture in which people feel empowered to ask for clarification is critical for productive arguments (I've [given presentations on this topic][3] before). If members have the courage to clarify premises, and they can do so in an environment where others don't think they're being belligerent, then this might be the key to a successful and productive argument.
+
+If you really want to strengthen your ability to argue, find someone that totally disagrees with you but wants to learn and understand your beliefs. Then, practice some of Sinnott-Armstrong's suggestions. Arguing productively will enhance [transparency, inclusivity, and collaboration][4] in your organization—leading to a more open culture.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/open-organization/19/6/barriers-productive-arguments
+
+作者:[Ron McFarland][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/ron-mcfarland/users/ron-mcfarland
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/directions-arrows.png?itok=EE3lFewZ (Arrows pointing different directions)
+[2]: https://opensource.com/open-organization/19/5/productive-arguments
+[3]: https://www.slideshare.net/RonMcFarland1/argue-successfully-achieve-something
+[4]: https://opensource.com/open-organization/resources/open-org-definition
diff --git a/sources/talk/20190619 Cisco connects with IBM in to simplify hybrid cloud deployment.md b/sources/talk/20190619 Cisco connects with IBM in to simplify hybrid cloud deployment.md
new file mode 100644
index 0000000000..b3344c5eb2
--- /dev/null
+++ b/sources/talk/20190619 Cisco connects with IBM in to simplify hybrid cloud deployment.md
@@ -0,0 +1,85 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco connects with IBM in to simplify hybrid cloud deployment)
+[#]: via: (https://www.networkworld.com/article/3403363/cisco-connects-with-ibm-in-to-simplify-hybrid-cloud-deployment.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco connects with IBM in to simplify hybrid cloud deployment
+======
+Cisco and IBM are working todevelop a hybrid-cloud architecture that meld Cisco’s data-center, networking and analytics platforms with IBM’s cloud offerings.
+![Ilze Lucero \(CC0\)][1]
+
+Cisco and IBM said the companies would meld their [data-center][2] and cloud technologies to help customers more easily and securely build and support on-premises and [hybrid-cloud][3] applications.
+
+Cisco, IBM Cloud and IBM Global Technology Services (the professional services business of IBM) said they will work to develop a hybrid-cloud architecture that melds Cisco’s data-center, networking and analytics platforms with IBM’s cloud offerings. IBM's contribution includea a heavy emphasis on Kubernetes-based offerings such as Cloud Foundry and Cloud Private as well as a catalog of [IBM enterprise software][4] such as Websphere and open source software such as Open Whisk, KNative, Istio and Prometheus.
+
+**[ Read also:[How to plan a software-defined data-center network][5] ]**
+
+Cisco said customers deploying its Virtual Application Centric Infrastructure (ACI) technologies can now extend that network fabric from on-premises to the IBM Cloud. ACI is Cisco’s [software-defined networking (SDN)][6] data-center package, but it also delivers the company’s Intent-Based Networking technology, which brings customers the ability to automatically implement network and policy changes on the fly and ensure data delivery.
+
+[IBM said Cisco ACI Virtual Pod][7] (vPOD) software can now run on IBM Cloud bare-metal servers. “vPOD consists of virtual spines and leafs and supports up to eight instances of ACI Virtual Edge. These elements are often deployed on VMware services on the IBM Cloud to support hybrid deployments from on-premises environments to the IBM Cloud," the company stated.
+
+“Through a new relationship with IBM’s Global Technology Services team, customers can implement Virtual ACI on their IBM Cloud,” Cisco’s Kaustubh Das, vice president of strategy and product development wrote in a [blog][8] about the agreement. “Virtual ACI is a software-only solution that you can deploy wherever you have at least two servers on which you can run the VMware ESXi hypervisor. In the future, the ability to deploy IBM Cloud Pak for Applications in a Cisco ACI environment will also be supported,” he stated.
+
+IBM’s prepackaged Cloud Paks include a secured Kubernetes container and containerized IBM middleware designed to let customers quickly spin-up enterprise-ready containers, Big Blue said.
+
+Additionally IBM said it would add support for its IBM Cloud Private, which manages Kubernetes and other containers, on Cisco HyperFlex and HyperFlex Edge hyperconverged infrastructure (HCI) systems. HyperFlex is Cisco's HCI that offers computing, networking and storage resources in a single system. The package can be managed via Cisco’s Intersight software-as-a-service cloud management platform that offers a central dashboard of HyperFlex operations.
+
+IBM said it was adding Hyperflex support to its IBM Cloud Pak for Applications as well.
+
+The paks include IBM Multicloud Manager which is a Kubernetes-based platform that runs on the company’s [IBM Cloud Private][9] platform and lets customers manage and integrate workloads on clouds from other providers such as Amazon, Red Hat and Microsoft.
+
+At the heart of the Multi-cloud Manager is a dashboard interface for managing thousands of Kubernetes applications and huge volumes of data regardless of where in the organization they are located.
+
+The idea is that Multi-cloud Manager lets operations and development teams get visibility of Kubernetes applications and components across the different clouds and clusters via a single control pane.
+
+“With IBM Multicloud Manager, enterprises can have a single place to manage multiple clusters running across multiple on-premises, public and private cloud environments, providing consistent visibility, governance and automation from on-premises to the edge, wrote IBM’s Evaristus Mainsah, general manager of IBM Cloud Private Ecosystem in a [blog][7] about the relationship.
+
+Distributed workloads can be pushed out and managed directly at the device at a much larger scale across multiple public clouds and on-premises locations. Visibility, compliance and governance are provided with extended MCM capabilities that will be available at the lightweight device layer, with a connection back to the central server/gateway, Mainsah stated.
+
+In addition, Cisco’s AppDynamics\can be tied in to monitor infrastructure and business performance, Cisco stated. Cisco recently added [AppDynamics for Kubernetes][10], which Cisco said will reduce the time it takes to identify and troubleshoot performance issues across Kubernetes clusters.
+
+The companies said the hybrid-cloud architecture they envision will help reduce the complexity of setting up and managing hybrid-cloud environments.
+
+Cisco and IBM are both aggressively pursuing cloud customers. Cisco[ ramped up][11] its own cloud presence in 2018 with all manner of support stemming from an [agreement with Amazon Web Services][12] (AWS) that will offer enterprise customers an integrated platform to help them more simply build, secure and connect [Kubernetes][13] clusters across private [data centers][14] and the AWS cloud.
+
+Cisco and Google in [April expanded their joint cloud-development][15] activities to help customers more easily build secure multicloud and hybrid applications everywhere from on-premises data centers to public clouds.
+
+IBM is waiting to close [its $34 billion Red Hat deal][16] that it expects will give it a huge presence in the hotly contested hybrid-cloud arena and increase its inroads to competitors – Google, Amazon and Microsoft among others. Gartner says that market will be worth $240 billion by next year.
+
+Join the Network World communities on [Facebook][17] and [LinkedIn][18] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403363/cisco-connects-with-ibm-in-to-simplify-hybrid-cloud-deployment.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/03/cubes_blocks_squares_containers_ilze_lucero_cc0_via_unsplash_1200x800-100752172-large.jpg
+[2]: https://www.networkworld.com/article/3223692/what-is-a-data-centerhow-its-changed-and-what-you-need-to-know.html
+[3]: https://www.networkworld.com/article/3233132/what-is-hybrid-cloud-computing.html
+[4]: https://www.networkworld.com/article/3340043/ibm-marries-on-premises-private-and-public-cloud-data.html
+[5]: https://www.networkworld.com/article/3284352/data-center/how-to-plan-a-software-defined-data-center-network.html
+[6]: https://www.networkworld.com/article/3209131/what-sdn-is-and-where-its-going.html
+[7]: https://www.ibm.com/blogs/cloud-computing/2019/06/18/ibm-cisco-collaborating-hybrid-cloud-modern-enterprise/
+[8]: https://blogs.cisco.com/datacenter/cisco-and-ibm-cloud-announce-hybrid-cloud-partnership
+[9]: https://www.ibm.com/cloud/private
+[10]: https://blog.appdynamics.com/product/kubernetes-monitoring-with-appdynamics/
+[11]: https://www.networkworld.com/article/3322937/lan-wan/what-will-be-hot-for-cisco-in-2019.html?nsdr=true
+[12]: https://www.networkworld.com/article/3319782/cloud-computing/cisco-aws-marriage-simplifies-hybrid-cloud-app-development.html?nsdr=true
+[13]: https://www.networkworld.com/article/3269848/cloud-computing/cisco-embraces-kubernetes-pushing-container-software-into-mainstream.html
+[14]: https://www.networkworld.com/article/3223692/data-center/what-is-a-data-centerhow-its-changed-and-what-you-need-to-know.html
+[15]: https://www.networkworld.com/article/3388218/cisco-google-reenergize-multicloudhybrid-cloud-joint-development.html
+[16]: https://www.networkworld.com/article/3316960/ibm-says-buying-red-hat-makes-it-the-biggest-in-hybrid-cloud.html
+[17]: https://www.facebook.com/NetworkWorld/
+[18]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190619 Cisco issues critical security warnings on SD-WAN, DNA Center.md b/sources/talk/20190619 Cisco issues critical security warnings on SD-WAN, DNA Center.md
new file mode 100644
index 0000000000..187e883706
--- /dev/null
+++ b/sources/talk/20190619 Cisco issues critical security warnings on SD-WAN, DNA Center.md
@@ -0,0 +1,111 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cisco issues critical security warnings on SD-WAN, DNA Center)
+[#]: via: (https://www.networkworld.com/article/3403349/cisco-issues-critical-security-warnings-on-sd-wan-dna-center.html)
+[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
+
+Cisco issues critical security warnings on SD-WAN, DNA Center
+======
+Vulnerabilities to Cisco's SD-WAN and DNA Center software top a list of nearly 30 security advisories issued by the company.
+![zajcsik \(CC0\)][1]
+
+Cisco has released two critical warnings about security issues with its SD-WAN and DNA Center software packages.
+
+The worse, with a Common Vulnerability Scoring System rating of 9.3 out of 10, is a vulnerability in its [Digital Network Architecture][2] (DNA) Center software that could let an unauthenticated attacker connect an unauthorized network device to the subnet designated for cluster services.
+
+**More about SD-WAN**
+
+ * [How to buy SD-WAN technology: Key questions to consider when selecting a supplier][3]
+ * [How to pick an off-site data-backup method][4]
+ * [SD-Branch: What it is and why you’ll need it][5]
+ * [What are the options for security SD-WAN?][6]
+
+
+
+A successful exploit could let an attacker reach internal services that are not hardened for external access, Cisco [stated][7]. The vulnerability is due to insufficient access restriction on ports necessary for system operation, and the company discovered the issue during internal security testing, Cisco stated.
+
+Cisco DNA Center gives IT teams the ability to control access through policies using Software-Defined Access, automatically provision through Cisco DNA Automation, virtualize devices through Cisco Network Functions Virtualization (NFV), and lower security risks through segmentation and Encrypted Traffic Analysis.
+
+This vulnerability affects Cisco DNA Center Software releases prior to 1.3, and it is fixed in version 1.3 and releases after that.
+
+Cisco wrote that system updates are available from the Cisco cloud but not from the [Software Center][8] on Cisco.com. To upgrade to a fixed release of Cisco DNA Center Software, administrators can use the “System Updates” feature of the software.
+
+A second critical warning – with a CVVS score of 7.8 – is a weakness in the command-line interface of the Cisco SD-WAN Solution that could let an authenticated local attacker elevate lower-level privileges to the root user on an affected device.
+
+Cisco [wrote][9] that the vulnerability is due to insufficient authorization enforcement. An attacker could exploit this vulnerability by authenticating to the targeted device and executing commands that could lead to elevated privileges. A successful exploit could let the attacker make configuration changes to the system as the root user, the company stated.
+
+This vulnerability affects a range of Cisco products running a release of the Cisco SD-WAN Solution prior to Releases 18.3.6, 18.4.1, and 19.1.0 including:
+
+ * vBond Orchestrator Software
+ * vEdge 100 Series Routers
+ * vEdge 1000 Series Routers
+ * vEdge 2000 Series Routers
+ * vEdge 5000 Series Routers
+ * vEdge Cloud Router Platform
+ * vManage Network Management Software
+ * vSmart Controller Software
+
+
+
+Cisco said it has released free [software updates][10] that address the vulnerability described in this advisory. Cisco wrote that it fixed this vulnerability in Release 18.4.1 of the Cisco SD-WAN Solution.
+
+The two critical warnings were included in a dump of [nearly 30 security advisories][11].
+
+There were two other “High” impact rated warnings involving the SD-WAN software.
+
+One, a vulnerability in the vManage web-based UI (Web UI) of the Cisco SD-WAN Solution could let an authenticated, remote attacker gain elevated privileges on an affected vManage device, Cisco [wrote][12].
+
+The vulnerability is due to a failure to properly authorize certain user actions in the device configuration. An attacker could exploit this vulnerability by logging in to the vManage Web UI and sending crafted HTTP requests to vManage. A successful exploit could let attackers gain elevated privileges and make changes to the configuration that they would not normally be authorized to make, Cisco stated.
+
+Another vulnerability in the vManage web-based UI could let an authenticated, remote attacker inject arbitrary commands that are executed with root privileges.
+
+This exposure is due to insufficient input validation, Cisco [wrote][13]. An attacker could exploit this vulnerability by authenticating to the device and submitting crafted input to the vManage Web UI.
+
+Both vulnerabilities affect Cisco vManage Network Management Software that is running a release of the Cisco SD-WAN Solution prior to Release 18.4.0 and Cisco has released free [software updates][10] to correct them.
+
+Other high-rated vulnerabilities Cisco disclosed included:
+
+ * A [vulnerability][14] in the Cisco Discovery Protocol (CDP) implementation for the Cisco TelePresence Codec (TC) and Collaboration Endpoint (CE) Software could allow an unauthenticated, adjacent attacker to inject arbitrary shell commands that are executed by the device.
+ * A [weakness][15] in the internal packet-processing functionality of the Cisco StarOS operating system running on virtual platforms could allow an unauthenticated, remote attacker to cause an affected device to stop processing traffic, resulting in a denial of service (DoS) condition.
+ * A [vulnerability][16] in the web-based management interface of the Cisco RV110W Wireless-N VPN Firewall, Cisco RV130W Wireless-N Multifunction VPN Router, and Cisco RV215W Wireless-N VPN Router could allow an unauthenticated, remote attacker to cause a reload of an affected device, resulting in a denial of service (DoS) condition.
+
+
+
+Cisco has [released software][10] fixes for those advisories as well.
+
+Join the Network World communities on [Facebook][17] and [LinkedIn][18] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403349/cisco-issues-critical-security-warnings-on-sd-wan-dna-center.html
+
+作者:[Michael Cooney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Michael-Cooney/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/04/lightning_storm_night_gyorgy_karoly_toth_aka_zajcsik_cc0_via_pixabay_1200x800-100754504-large.jpg
+[2]: https://www.networkworld.com/article/3401523/cisco-software-to-make-networks-smarter-safer-more-manageable.html
+[3]: https://www.networkworld.com/article/3323407/sd-wan/how-to-buy-sd-wan-technology-key-questions-to-consider-when-selecting-a-supplier.html
+[4]: https://www.networkworld.com/article/3328488/backup-systems-and-services/how-to-pick-an-off-site-data-backup-method.html
+[5]: https://www.networkworld.com/article/3250664/lan-wan/sd-branch-what-it-is-and-why-youll-need-it.html
+[6]: https://www.networkworld.com/article/3285728/sd-wan/what-are-the-options-for-securing-sd-wan.html?nsdr=true
+[7]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-dnac-bypass
+[8]: https://software.cisco.com/download/home
+[9]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-sdwan-privesca
+[10]: https://tools.cisco.com/security/center/resources/security_vulnerability_policy.html#fixes
+[11]: https://tools.cisco.com/security/center/publicationListing.x?product=Cisco&sort=-day_sir&limit=50#~Vulnerabilities
+[12]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-sdwan-privilescal
+[13]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-sdwan-cmdinj
+[14]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-tele-shell-inj
+[15]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-staros-asr-dos
+[16]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190619-rvrouters-dos
+[17]: https://www.facebook.com/NetworkWorld/
+[18]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190619 With Tableau, SaaS king Salesforce becomes a hybrid cloud company.md b/sources/talk/20190619 With Tableau, SaaS king Salesforce becomes a hybrid cloud company.md
new file mode 100644
index 0000000000..d0d1d24cb6
--- /dev/null
+++ b/sources/talk/20190619 With Tableau, SaaS king Salesforce becomes a hybrid cloud company.md
@@ -0,0 +1,67 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (With Tableau, SaaS king Salesforce becomes a hybrid cloud company)
+[#]: via: (https://www.networkworld.com/article/3403442/with-tableau-saas-king-salesforce-becomes-a-hybrid-cloud-company.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+With Tableau, SaaS king Salesforce becomes a hybrid cloud company
+======
+Once dismissive of software, Salesforce acknowledges the inevitability of the hybrid cloud.
+![Martyn Williams/IDGNS][1]
+
+I remember a time when people at Salesforce events would hand out pins that read “Software” inside a red circle with a slash through it. The High Priest of SaaS (a.k.a. CEO Marc Benioff) was so adamant against installed, on-premises software that his keynotes were always comical.
+
+Now, Salesforce is prepared to [spend $15.7 billion to acquire Tableau Software][2], the leader in on-premises data analytics.
+
+On the hell-freezes-over scale, this is up there with Microsoft embracing Linux or Apple PR people returning a phone call. Well, we know at least one of those has happened.
+
+**[ Also read:[Hybrid Cloud: The time for adoption is upon us][3] | Stay in the know: [Subscribe and get daily newsletter updates][4] ]**
+
+So, why would a company that is so steeped in the cloud, so anti-on-premises software, make such a massive purchase?
+
+Partly it is because Benioff and company are finally coming to the same conclusion as most everyone else: The hybrid cloud, a mix of on-premises systems and public cloud, is the wave of the future, and pure cloud plays are in the minority.
+
+The reality is that data is hybrid and does not sit in a single location, and Salesforce is finally acknowledging this, said Tim Crawford, president of Avoa, a strategic CIO advisory firm.
+
+“I see the acquisition of Tableau by Salesforce as less about getting into the on-prem game as it is a reality of the world we live in. Salesforce needed a solid analytics tool that went well beyond their existing capability. Tableau was that tool,” he said.
+
+**[[Become a Microsoft Office 365 administrator in record time with this quick start course from PluralSight.][5] ]**
+
+Salesforce also understands that they need a better understanding of customers and those data insights that drive customer decisions. That data is both on-prem and in the cloud, Crawford noted. It is in Salesforce, other solutions, and the myriad of Excel spreadsheets spread across employee systems. Tableau crosses the hybrid boundaries and brings a straightforward way to visualize data.
+
+Salesforce had analytics features as part of its SaaS platform, but it was geared around their own platform, whereas everyone uses Tableau and Tableau supports all manner of analytics.
+
+“There’s a huge overlap between Tableau customers and Salesforce customers,” Crawford said. “The data is everywhere in the enterprise, not just in Salesforce. Salesforce does a great job with its own data, but Tableau does great with data in a lot of places because it’s not tied to one platform. So, it opens up where the data comes from and the insights you get from the data.”
+
+Crawford said that once the deal is done and Tableau is under some deeper pockets, the organization may be able to innovate faster or do things they were unable to do prior. That hardly indicates Tableau was struggling, though. It pulled in [$1.16 billion in revenue][6] in 2018.
+
+Crawford also expects Salesforce to push Tableau to open up new possibilities for customer insights by unlocking customer data inside and outside of Salesforce. One challenge for the two companies is to maintain that neutrality so that they don’t lose the ability to use Tableau for non-customer centric activities.
+
+“It’s a beautiful way to visualize large sets of data that have nothing to do with customer centricity,” he said.
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403442/with-tableau-saas-king-salesforce-becomes-a-hybrid-cloud-company.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.techhive.com/images/article/2015/09/150914-salesforce-dreamforce-2-100614575-large.jpg
+[2]: https://www.cio.com/article/3402026/how-salesforces-tableau-acquisition-will-impact-it.html
+[3]: http://www.networkworld.com/article/2172875/cloud-computing/hybrid-cloud--the-year-of-adoption-is-upon-us.html
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fadministering-office-365-quick-start
+[6]: https://www.geekwire.com/2019/tableau-hits-841m-annual-recurring-revenue-41-transition-subscription-model-continues/
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190620 Carrier services help expand healthcare, with 5G in the offing.md b/sources/talk/20190620 Carrier services help expand healthcare, with 5G in the offing.md
new file mode 100644
index 0000000000..072b172fda
--- /dev/null
+++ b/sources/talk/20190620 Carrier services help expand healthcare, with 5G in the offing.md
@@ -0,0 +1,85 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Carrier services help expand healthcare, with 5G in the offing)
+[#]: via: (https://www.networkworld.com/article/3403366/carrier-services-help-expand-healthcare-with-5g-in-the-offing.html)
+[#]: author: (Jon Gold https://www.networkworld.com/author/Jon-Gold/)
+
+Carrier services help expand healthcare, with 5G in the offing
+======
+Many telehealth initiatives tap into wireless networking supplied by service providers that may start offering services such as Citizen's Band and 5G to support remote medical care.
+![Thinkstock][1]
+
+There are connectivity options aplenty for most types of [IoT][2] deployment, but the idea of simply handing the networking part of the equation off to a national licensed wireless carrier could be the best one for certain kinds of deployments in the medical field.
+
+Telehealth systems, for example, are still a relatively new facet of modern medicine, but they’re already among the most important applications that use carrier networks to deliver care. One such system is operated by the University of Mississippi Medical Center, for the treatment and education of diabetes patients.
+
+**[More on wireless:[The time of 5G is almost here][3]]**
+
+**[ Now read[20 hot jobs ambitious IT pros should shoot for][4]. ]**
+
+Greg Hall is the director of IT at UMMC’s center for telehealth. He said that the remote patient monitoring system is relatively simple by design – diabetes patients receive a tablet computer that they can use to input and track their blood sugar levels, alert clinicians to symptoms like nerve pain or foot sores, and even videoconference with their doctors directly. The tablet connects via Verizon, AT&T or CSpire – depending on who’s got the best coverage in a given area – back to UMMC’s servers.
+
+According to Hall, there are multiple advantages to using carrier connectivity instead of unlicensed (i.e. purpose-built [Wi-Fi][5] or other technology) to connect patients – some of whom live in remote parts of the state – to their caregivers.
+
+“We weren’t expecting everyone who uses the service to have Wi-Fi,” he said, “and they can take their tablet with them if they’re traveling.”
+
+The system serves about 250 patients in Mississippi, up from roughly 175 in the 2015 pilot program that got the effort off the ground. Nor is it strictly limited to diabetes care – Hall said that it’s already been extended to patients suffering from chronic obstructive pulmonary disease, asthma and even used for prenatal care, with further expansion in the offing.
+
+“The goal of our program isn’t just the monitoring piece, but also the education piece, teaching a person to live with their [condition] and thrive,” he said.
+
+It hasn’t all been smooth sailing. One issue was caused by the natural foliage of the area, as dense areas of pine trees can cause transmission problems, thanks to their needles being a particularly troublesome length and interfering with 2.5GHz wireless signals. But Hall said that the team has been able to install signal boosters or repeaters to overcome that obstacle.
+
+Neurologist Dr. Allen Gee’s practice in Wyoming attempts to address a similar issue – far-flung patients with medical needs that might not be addressed by the sparse local-care options. From his main office in Cody, he said, he can cover half the state via telepresence, using a purpose-built system that is based on cellular-data connectivity from TCT, Spectrum and AT&T, as well as remote audiovisual equipment and a link to electronic health records stored in distant locations. That allows him to receive patient data, audio/visual information and even imaging diagnostics remotely. Some specialists in the state are able to fly to those remote locations, others are not.
+
+While Gee’s preference is to meet with patients in person, that’s just not always possible, he said.
+
+“Medical specialists don’t get paid for windshield time,” he noted. “Being able to transfer information from an EHR facilitates the process of learning about the patient.”
+
+### 5G is coming**
+
+**
+
+According to Alan Stewart-Brown, vice president at infrastructure management vendor Opengear, there’s a lot to like about current carrier networks for medical use – particularly wide coverage and a lack of interference – but there are bigger things to come.
+
+“We have customers that have equipment in ambulances for instance, where they’re livestreaming patients’ vital signs to consoles that doctors can monitor,” he said. “They’re using carrier 4G for that right now and it works well enough, but there are limitations, namely latency, which you don’t get on [5G][6].”
+
+Beyond the simple fact of increased throughput and lower latency, widespread 5G deployments could open a wide array of new possibilities for medical technology, mostly involving real-time, very-high-definition video streaming. These include medical VR, remote surgery and the like.
+
+“The process you use to do things like real-time video – right now on a 4G network, that may or may not have a delay,” said Stewart-Brown. “Once you can get rid of the delay, the possibilities are endless as to what you can use the technology for.”
+
+### Citizens band
+
+Ron Malenfant, chief architect for service provider IoT at Cisco, agreed that the future of 5G for medical IoT is bright, but said that the actual applications of the technology have to be carefully thought out.
+
+“The use cases need to be worked on,” he said. “The innovative [companies] are starting to say ‘OK, what does 5G mean to me’ and starting to plan use cases.”
+
+One area that the carriers themselves have been eyeing recently is the CBRS band of radio frequencies, which sits around 3.5GHz. It’s what’s referred to as “lightly licensed” spectrum, in that parts of it are used for things like CB radio and other parts are the domain of the U.S. armed forces, and it could be used to build private networks for institutional users like hospitals, instead of deploying small but expensive 4G cells. The idea is that the institutions would be able to lease those frequencies for their specific area from the carrier directly for private LTE/CBRS networks, and, eventually 5G, Malenfant said.
+
+There’s also the issue, of course, that there are still a huge amount of unknowns around 5G, which isn’t expected to supplant LTE in the U.S. for at least another year or so. The medical field’s stiff regulatory requirements could also prove a stumbling block for the adoption of newer wireless technology.
+
+Join the Network World communities on [Facebook][7] and [LinkedIn][8] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403366/carrier-services-help-expand-healthcare-with-5g-in-the-offing.html
+
+作者:[Jon Gold][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Jon-Gold/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/07/stethoscope_mobile_healthcare_ipad_tablet_doctor_patient-100765655-large.jpg
+[2]: https://www.networkworld.com/article/3207535/what-is-iot-how-the-internet-of-things-works.html
+[3]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
+[4]: https://www.networkworld.com/article/3276025/careers/20-hot-jobs-ambitious-it-pros-should-shoot-for.html
+[5]: https://www.networkworld.com/article/3238664/80211-wi-fi-standards-and-speeds-explained.html
+[6]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
+[7]: https://www.facebook.com/NetworkWorld/
+[8]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190620 Cracks appear in Intel-s grip on supercomputing.md b/sources/talk/20190620 Cracks appear in Intel-s grip on supercomputing.md
new file mode 100644
index 0000000000..5ff550d3fc
--- /dev/null
+++ b/sources/talk/20190620 Cracks appear in Intel-s grip on supercomputing.md
@@ -0,0 +1,63 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Cracks appear in Intel’s grip on supercomputing)
+[#]: via: (https://www.networkworld.com/article/3403443/cracks-appear-in-intels-grip-on-supercomputing.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Cracks appear in Intel’s grip on supercomputing
+======
+New competitors threaten to take Intel’s dominance in the high-performance computing (HPC) world, and we’re not even talking about AMD (yet).
+![Randy Wong/LLNL][1]
+
+It’s June, so it’s that time again for the twice-yearly Top 500 supercomputer list, where bragging rights are established or, in most cases, reaffirmed. The list constantly shifts as new trends appear, and one of them might be a break in Intel’s dominance.
+
+[Supercomputers in the top 10 list][2] include a lot of IBM Power-based systems, and almost all run Nvidia GPUs. But there’s more going on than that.
+
+For starters, an ARM supercomputer has shown up, at #156. [Astra][3] at Sandia National Laboratories is an HPE system running Cavium (now Marvell) ThunderX2 processors. It debuted on the list at #204 last November, but thanks to upgrades, it has moved up the list. It won’t be the last ARM server to show up, either.
+
+**[ Also see:[10 of the world's fastest supercomputers][2] | Get daily insights: [Sign up for Network World newsletters][4] ]**
+
+Second is the appearance of four Nvidia DGX servers, with the [DGX SuperPOD][5] ranking the highest at #22. [DGX systems][6] are basically compact GPU boxes with a Xeon just to boot the thing. The GPUs do all the heavy lifting.
+
+AMD hasn’t shown up yet with the Epyc processors, but it will, given Cray is building them for the government.
+
+This signals a breaking up of the hold Intel has had on the high-performance computing (HPC) market for a long time, said Ashish Nadkarni, group vice president in IDC's worldwide infrastructure practice. “The Intel hold has already been broken up by all the accelerators in the supercomputing space. The more accelerators they use, the less need they have for Xeons. They can go with other processors that do justice to those accelerators,” he told me.
+
+With so much work in HPC and artificial intelligence (AI) being done by GPUs, the x86 processor becomes just a boot processor in a way. I wasn’t kidding about the DGX box. It’s got one Xeon and eight Tesla GPUs. And the Xeon is an E5, a midrange part.
+
+**[[Get certified as an Apple Technical Coordinator with this seven-part online course from PluralSight.][7] ]**
+
+“They don’t need high-end Xeons in servers any more, although there’s a lot of supercomputers that just use CPUs. The fact is there are so many options now,” said Nadkarni. One example of an all-CPU system is [Frontera][8], a Dell-based system at the Texas Advanced Computing Center in Austin.
+
+The top two computers, Sierra and Summit, both run IBM Power9 RISC processors, as well as Nvidia GPUs. All told, Nvidia is in 125 of the 500 supercomputers, including five of the top 10, the fastest computer in the world, the fastest in Europe (Piz Daint) and the fastest in Japan (ABCI).
+
+Lenovo was the top hardware provider, beating out Dell, HPE, and IBM combined. That’s because of its large presence in its native China. Nadkari said Lenovo, which acquired the IBM x86 server business in 2014, has benefitted from the IBM installed base, which has continued wanting the same tech from Lenovo under new ownership.
+
+Join the Network World communities on [Facebook][9] and [LinkedIn][10] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403443/cracks-appear-in-intels-grip-on-supercomputing.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2018/10/sierra875x500-100778404-large.jpg
+[2]: https://www.networkworld.com/article/3236875/embargo-10-of-the-worlds-fastest-supercomputers.html
+[3]: https://www.top500.org/system/179565
+[4]: https://www.networkworld.com/newsletters/signup.html
+[5]: https://www.top500.org/system/179691
+[6]: https://www.networkworld.com/article/3196088/nvidias-new-volta-based-dgx-1-supercomputer-puts-400-servers-in-a-box.html
+[7]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fapple-certified-technical-trainer-10-11
+[8]: https://www.networkworld.com/article/3236875/embargo-10-of-the-worlds-fastest-supercomputers.html#slide7
+[9]: https://www.facebook.com/NetworkWorld/
+[10]: https://www.linkedin.com/company/network-world
diff --git a/sources/talk/20190620 Several deals solidify the hybrid cloud-s status as the cloud of choice.md b/sources/talk/20190620 Several deals solidify the hybrid cloud-s status as the cloud of choice.md
new file mode 100644
index 0000000000..ade07dcb10
--- /dev/null
+++ b/sources/talk/20190620 Several deals solidify the hybrid cloud-s status as the cloud of choice.md
@@ -0,0 +1,77 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Several deals solidify the hybrid cloud’s status as the cloud of choice)
+[#]: via: (https://www.networkworld.com/article/3403354/several-deals-solidify-the-hybrid-clouds-status-as-the-cloud-of-choice.html)
+[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
+
+Several deals solidify the hybrid cloud’s status as the cloud of choice
+======
+On-premises and cloud connections are being built by all the top vendors to bridge legacy and modern systems, creating hybrid cloud environments.
+![Getty Images][1]
+
+The hybrid cloud market is expected to grow from $38.27 billion in 2017 to $97.64 billion by 2023, at a Compound Annual Growth Rate (CAGR) of 17.0% during the forecast period, according to Markets and Markets.
+
+The research firm said the hybrid cloud is rapidly becoming a leading cloud solution, as it provides various benefits, such as cost, efficiency, agility, mobility, and elasticity. One of the many reasons is the need for interoperability standards between cloud services and existing systems.
+
+Unless you are a startup company and can be born in the cloud, you have legacy data systems that need to be bridged, which is where the hybrid cloud comes in.
+
+So, in very short order we’ve seen a bunch of new alliances involving the old and new guard, reiterating that the need for hybrid solutions remains strong.
+
+**[ Read also:[What hybrid cloud means in practice][2] | Get regularly scheduled insights: [Sign up for Network World newsletters][3] ]**
+
+### HPE/Google
+
+In April, the Hewlett Packard Enterprise (HPE) and Google announced a deal where HPE introduced a variety of server solutions for Google Cloud’s Anthos, along with a consumption-based model for the validated HPE on-premises infrastructure that is integrated with Anthos.
+
+Following up with that, the two just announced a strategic partnership to create a hybrid cloud for containers by combining HPE’s on-premises infrastructure, Cloud Data Services, and GreenLake consumption model with Anthos. This allows for:
+
+ * Bi-directional data mobility for data mobility and consistent data services between on-premises and cloud
+ * Application workload mobility to move containerized app workloads across on-premises and multi-cloud environments
+ * Multi-cloud flexibility, offering the choice of HPE Cloud Volumes and Anthos for what works best for the workload
+ * Unified hybrid management through Anthos, so customers can get a unified and consistent view of their applications and workloads regardless of where they reside
+ * Charged as a service via HPE GreenLake
+
+
+
+### IBM/Cisco
+
+This is a furthering of an already existing partnership between IBM and Cisco designed to deliver a common and secure developer experience across on-premises and public cloud environments for building modern applications.
+
+[Cisco said it will support IBM Cloud Private][4], an on-premises container application development platform, on Cisco HyperFlex and HyperFlex Edge hyperconverged infrastructure. This includes support for IBM Cloud Pak for Applications. IBM Cloud Paks deliver enterprise-ready containerized software solutions and developer tools for building apps and then easily moving to any cloud—public or private.
+
+This architecture delivers a common and secure Kubernetes experience across on-premises (including edge) and public cloud environments. IBM’s Multicloud Manager covers monitoring and management of clusters and container-based applications running from on-premises to the edge, while Cisco’s Virtual Application Centric Infrastructure (ACI) will allow customers to extend their network fabric from on-premises to the IBM Cloud.
+
+### IBM/Equinix
+
+Equinix expanded its collaboration with IBM Cloud to bring private and scalable connectivity to global enterprises via Equinix Cloud Exchange Fabric (ECX Fabric). This provides private connectivity to IBM Cloud, including Direct Link Exchange, Direct Link Dedicated and Direct Link Dedicated Hosting, that is secure and scalable.
+
+ECX Fabric is an on-demand, SDN-enabled interconnection service that allows any business to connect between its own distributed infrastructure and any other company’s distributed infrastructure, including cloud providers. Direct Link provides IBM customers with a connection between their network and IBM Cloud. So ECX Fabric provides IBM customers with a secured and scalable network connection to the IBM Cloud service.
+
+At the same time, ECX Fabric provides secure connections to other cloud providers, and most customers prefer a multi-vendor approach to avoid vendor lock-in.
+
+“Each of the partnerships focus on two things: 1) supporting a hybrid-cloud platform for their existing customers by reducing the friction to leveraging each solution and 2) leveraging the unique strength that each company brings. Each of the solutions are unique and would be unlikely to compete directly with other partnerships,” said Tim Crawford, president of Avoa, an IT consultancy.
+
+Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3403354/several-deals-solidify-the-hybrid-clouds-status-as-the-cloud-of-choice.html
+
+作者:[Andy Patrizio][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Andy-Patrizio/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/02/cloud_hand_plus_sign_private-100787051-large.jpg
+[2]: https://www.networkworld.com/article/3249495/what-hybrid-cloud-mean-practice
+[3]: https://www.networkworld.com/newsletters/signup.html
+[4]: https://www.networkworld.com/article/3403363/cisco-connects-with-ibm-in-to-simplify-hybrid-cloud-deployment.html
+[5]: https://www.facebook.com/NetworkWorld/
+[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20131228 Introduction to Clojure - Modern dialect of Lisp (Part 1).md b/sources/tech/20131228 Introduction to Clojure - Modern dialect of Lisp (Part 1).md
index 5e5f4df763..0fb3c6469d 100644
--- a/sources/tech/20131228 Introduction to Clojure - Modern dialect of Lisp (Part 1).md
+++ b/sources/tech/20131228 Introduction to Clojure - Modern dialect of Lisp (Part 1).md
@@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
-[#]: translator: ( )
+[#]: translator: (ninifly)
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
diff --git a/sources/tech/20170410 Writing a Time Series Database from Scratch.md b/sources/tech/20170410 Writing a Time Series Database from Scratch.md
deleted file mode 100644
index a7f8289b63..0000000000
--- a/sources/tech/20170410 Writing a Time Series Database from Scratch.md
+++ /dev/null
@@ -1,438 +0,0 @@
-Writing a Time Series Database from Scratch
-============================================================
-
-
-I work on monitoring. In particular on [Prometheus][2], a monitoring system that includes a custom time series database, and its integration with [Kubernetes][3].
-
-In many ways Kubernetes represents all the things Prometheus was designed for. It makes continuous deployments, auto scaling, and other features of highly dynamic environments easily accessible. The query language and operational model, among many other conceptual decisions make Prometheus particularly well-suited for such environments. Yet, if monitored workloads become significantly more dynamic, this also puts new strains on monitoring system itself. With this in mind, rather than doubling back on problems Prometheus already solves well, we specifically aim to increase its performance in environments with highly dynamic, or transient services.
-
-Prometheus's storage layer has historically shown outstanding performance, where a single server is able to ingest up to one million samples per second as several million time series, all while occupying a surprisingly small amount of disk space. While the current storage has served us well, I propose a newly designed storage subsystem that corrects for shortcomings of the existing solution and is equipped to handle the next order of scale.
-
-> Note: I've no background in databases. What I say might be wrong and mislead. You can channel your criticism towards me (fabxc) in #prometheus on Freenode.
-
-### Problems, Problems, Problem Space
-
-First, a quick outline of what we are trying to accomplish and what key problems it raises. For each, we take a look at Prometheus' current approach, what it does well, and which problems we aim to address with the new design.
-
-### Time series data
-
-We have a system that collects data points over time.
-
-```
-identifier -> (t0, v0), (t1, v1), (t2, v2), (t3, v3), ....
-```
-
-Each data point is a tuple of a timestamp and a value. For the purpose of monitoring, the timestamp is an integer and the value any number. A 64 bit float turns out to be a good representation for counter as well as gauge values, so we go with that. A sequence of data points with strictly monotonically increasing timestamps is a series, which is addressed by an identifier. Our identifier is a metric name with a dictionary of _label dimensions_ . Label dimensions partition the measurement space of a single metric. Each metric name plus a unique set of labels is its own _time series_ that has a value stream associated with it.
-
-This is a typical set of series identifiers that are part of metric counting requests:
-
-```
-requests_total{path="/status", method="GET", instance=”10.0.0.1:80”}
-requests_total{path="/status", method="POST", instance=”10.0.0.3:80”}
-requests_total{path="/", method="GET", instance=”10.0.0.2:80”}
-```
-
-Let's simplify this representation right away: A metric name can be treated as just another label dimension — `__name__` in our case. At the query level, it might be be treated specially but that doesn't concern our way of storing it, as we will see later.
-
-```
-{__name__="requests_total", path="/status", method="GET", instance=”10.0.0.1:80”}
-{__name__="requests_total", path="/status", method="POST", instance=”10.0.0.3:80”}
-{__name__="requests_total", path="/", method="GET", instance=”10.0.0.2:80”}
-```
-
-When querying time series data, we want to do so by selecting series by their labels. In the simplest case `{__name__="requests_total"}` selects all series belonging to the `requests_total` metric. For all selected series, we retrieve data points within a specified time window.
-In more complex queries, we may wish to select series satisfying several label selectors at once and also represent more complex conditions than equality. For example, negative (`method!="GET"`) or regular expression matching (`method=~"PUT|POST"`).
-
-This largely defines the stored data and how it is recalled.
-
-### Vertical and Horizontal
-
-In a simplified view, all data points can be laid out on a two-dimensional plane. The _horizontal_ dimension represents the time and the series identifier space spreads across the _vertical_ dimension.
-
-```
-series
- ^
- │ . . . . . . . . . . . . . . . . . . . . . . {__name__="request_total", method="GET"}
- │ . . . . . . . . . . . . . . . . . . . . . . {__name__="request_total", method="POST"}
- │ . . . . . . .
- │ . . . . . . . . . . . . . . . . . . . ...
- │ . . . . . . . . . . . . . . . . . . . . .
- │ . . . . . . . . . . . . . . . . . . . . . {__name__="errors_total", method="POST"}
- │ . . . . . . . . . . . . . . . . . {__name__="errors_total", method="GET"}
- │ . . . . . . . . . . . . . .
- │ . . . . . . . . . . . . . . . . . . . ...
- │ . . . . . . . . . . . . . . . . . . . .
- v
- <-------------------- time --------------------->
-```
-
-Prometheus retrieves data points by periodically scraping the current values for a set of time series. The entity from which we retrieve such a batch is called a _target_ . Thereby, the write pattern is completely vertical and highly concurrent as samples from each target are ingested independently.
-To provide some measurement of scale: A single Prometheus instance collects data points from tens of thousands of _targets_ , which expose hundreds to thousands of different time series each.
-
-At the scale of collecting millions of data points per second, batching writes is a non-negotiable performance requirement. Writing single data points scattered across our disk would be painfully slow. Thus, we want to write larger chunks of data in sequence.
-This is an unsurprising fact for spinning disks, as their head would have to physically move to different sections all the time. While SSDs are known for fast random writes, they actually can't modify individual bytes but only write in _pages_ of 4KiB or more. This means writing a 16 byte sample is equivalent to writing a full 4KiB page. This behavior is part of what is known as [ _write amplification_ ][4], which as a bonus causes your SSD to wear out – so it wouldn't just be slow, but literally destroy your hardware within a few days or weeks.
-For more in-depth information on the problem, the blog series ["Coding for SSDs" series][5] is a an excellent resource. Let's just consider the main take away: sequential and batched writes are the ideal write pattern for spinning disks and SSDs alike. A simple rule to stick to.
-
-The querying pattern is significantly more differentiated than the write the pattern. We can query a single datapoint for a single series, a single datapoint for 10000 series, weeks of data points for a single series, weeks of data points for 10000 series, etc. So on our two-dimensional plane, queries are neither fully vertical or horizontal, but a rectangular combination of the two.
-[Recording rules][6] mitigate the problem for known queries but are not a general solution for ad-hoc queries, which still have to perform reasonably well.
-
-We know that we want to write in batches, but the only batches we get are vertical sets of data points across series. When querying data points for a series over a time window, not only would it be hard to figure out where the individual points can be found, we'd also have to read from a lot of random places on disk. With possibly millions of touched samples per query, this is slow even on the fastest SSDs. Reads will also retrieve more data from our disk than the requested 16 byte sample. SSDs will load a full page, HDDs will at least read an entire sector. Either way, we are wasting precious read throughput.
-So ideally, samples for the same series would be stored sequentially so we can just scan through them with as few reads as possible. On top, we only need to know where this sequence starts to access all data points.
-
-There's obviously a strong tension between the ideal pattern for writing collected data to disk and the layout that would be significantly more efficient for serving queries. It is _the_ fundamental problem our TSDB has to solve.
-
-#### Current solution
-
-Time to take a look at how Prometheus's current storage, let's call it "V2", addresses this problem.
-We create one file per time series that contains all of its samples in sequential order. As appending single samples to all those files every few seconds is expensive, we batch up 1KiB chunks of samples for a series in memory and append those chunks to the individual files, once they are full. This approach solves a large part of the problem. Writes are now batched, samples are stored sequentially. It also enables incredibly efficient compression formats, based on the property that a given sample changes only very little with respect to the previous sample in the same series. Facebook's paper on their Gorilla TSDB describes a similar chunk-based approach and [introduces a compression format][7] that reduces 16 byte samples to an average of 1.37 bytes. The V2 storage uses various compression formats including a variation of Gorilla’s.
-
-```
- ┌──────────┬─────────┬─────────┬─────────┬─────────┐ series A
- └──────────┴─────────┴─────────┴─────────┴─────────┘
- ┌──────────┬─────────┬─────────┬─────────┬─────────┐ series B
- └──────────┴─────────┴─────────┴─────────┴─────────┘
- . . .
- ┌──────────┬─────────┬─────────┬─────────┬─────────┬─────────┐ series XYZ
- └──────────┴─────────┴─────────┴─────────┴─────────┴─────────┘
- chunk 1 chunk 2 chunk 3 ...
-```
-
-While the chunk-based approach is great, keeping a separate file for each series is troubling the V2 storage for various reasons:
-
-* We actually need a lot more files than the number of time series we are currently collecting data for. More on that in the section on "Series Churn". With several million files, sooner or later way may run out of [inodes][1] on our filesystem. This is a condition we can only recover from by reformatting our disks, which is as invasive and disruptive as it could be. We generally want to avoid formatting disks specifically to fit a single application.
-* Even when chunked, several thousands of chunks per second are completed and ready to be persisted. This still requires thousands of individual disk writes every second. While it is alleviated by also batching up several completed chunks for a series, this in return increases the total memory footprint of data which is waiting to be persisted.
-* It's infeasible to keep all files open for reads and writes. In particular because ~99% of data is never queried again after 24 hours. If it is queried though though, we have to open up to thousands of files, find and read relevant data points into memory, and close them again. As this would result in high query latencies, data chunks are cached rather aggressively leading to problems outlined further in the section on "Resource Consumption".
-* Eventually, old data has to be deleted and data needs to be removed from the front of millions of files. This means that deletions are actually write intensive operations. Additionally, cycling through millions of files and analyzing them makes this a process that often takes hours. By the time it completes, it might have to start over again. Oh yea, and deleting the old files will cause further write amplification for your SSD!
-* Chunks that are currently accumulating are only held in memory. If the application crashes, data will be lost. To avoid this, the memory state is periodically checkpointed to disk, which may take significantly longer than the window of data loss we are willing to accept. Restoring the checkpoint may also take several minutes, causing painfully long restart cycles.
-
-The key take away from the existing design is the concept of chunks, which we most certainly want to keep. The most recent chunks always being held in memory is also generally good. After all, the most recent data is queried the most by a large margin.
-Having one file per time series is a concept we would like to find an alternative to.
-
-### Series Churn
-
-In the Prometheus context, we use the term _series churn_ to describe that a set of time series becomes inactive, i.e. receives no more data points, and a new set of active series appears instead.
-For example, all series exposed by a given microservice instance have a respective “instance” label attached that identifies its origin. If we perform a rolling update of our microservice and swap out every instance with a newer version, series churn occurs. In more dynamic environments those events may happen on an hourly basis. Cluster orchestration systems like Kubernetes allow continuous auto-scaling and frequent rolling updates of applications, potentially creating tens of thousands of new application instances, and with them completely new sets of time series, every day.
-
-```
-series
- ^
- │ . . . . . .
- │ . . . . . .
- │ . . . . . .
- │ . . . . . . .
- │ . . . . . . .
- │ . . . . . . .
- │ . . . . . .
- │ . . . . . .
- │ . . . . .
- │ . . . . .
- │ . . . . .
- v
- <-------------------- time --------------------->
-```
-
-So even if the entire infrastructure roughly remains constant in size, over time there's a linear growth of time series in our database. While a Prometheus server will happily collect data for 10 million time series, query performance is significantly impacted if data has to be found among a billion series.
-
-#### Current solution
-
-The current V2 storage of Prometheus has an index based on LevelDB for all series that are currently stored. It allows querying series containing a given label pair, but lacks a scalable way to combine results from different label selections.
-For example, selecting all series with label `__name__="requests_total"` works efficiently, but selecting all series with `instance="A" AND __name__="requests_total"` has scalability problems. We will later revisit what causes this and which tweaks are necessary to improve lookup latencies.
-
-This problem is in fact what spawned the initial hunt for a better storage system. Prometheus needed an improved indexing approach for quickly searching hundreds of millions of time series.
-
-### Resource consumption
-
-Resource consumption is one of the consistent topics when trying to scale Prometheus (or anything, really). But it's not actually the absolute resource hunger that is troubling users. In fact, Prometheus manages an incredible throughput given its requirements. The problem is rather its relative unpredictability and instability in face of changes. By its architecture the V2 storage slowly builds up chunks of sample data, which causes the memory consumption to ramp up over time. As chunks get completed, they are written to disk and can be evicted from memory. Eventually, Prometheus's memory usage reaches a steady state. That is until the monitored environment changes — _series churn_ increases the usage of memory, CPU, and disk IO every time we scale an application or do a rolling update.
-If the change is ongoing, it will yet again reach a steady state eventually but it will be significantly higher than in a more static environment. Transition periods are often multiple hours long and it is hard to determine what the maximum resource usage will be.
-
-The approach of having a single file per time series also makes it way too easy for a single query to knock out the Prometheus process. When querying data that is not cached in memory, the files for queried series are opened and the chunks containing relevant data points are read into memory. If the amount of data exceeds the memory available, Prometheus quits rather ungracefully by getting OOM-killed.
-After the query is completed the loaded data can be released again but it is generally cached much longer to serve subsequent queries on the same data faster. The latter is a good thing obviously.
-
-Lastly, we looked at write amplification in the context of SSDs and how Prometheus addresses it by batching up writes to mitigate it. Nonetheless, in several places it still causes write amplification by having too small batches and not aligning data precisely on page boundaries. For larger Prometheus servers, a reduced hardware lifetime was observed in the real world. Chances are that this is still rather normal for database applications with high write throughput, but we should keep an eye on whether we can mitigate it.
-
-### Starting Over
-
-By now we have a good idea of our problem domain, how the V2 storage solves it, and where its design has issues. We also saw some great concepts that we want to adapt more or less seamlessly. A fair amount of V2's problems can be addressed with improvements and partial redesigns, but to keep things fun (and after carefully evaluating my options, of course), I decided to take a stab at writing an entire time series database — from scratch, i.e. writing bytes to the file system.
-
-The critical concerns of performance and resource usage are a direct consequence of the chosen storage format. We have to find the right set of algorithms and disk layout for our data to implement a well-performing storage layer.
-
-This is where I take the shortcut and drive straight to the solution — skip the headache, failed ideas, endless sketching, tears, and despair.
-
-### V3 — Macro Design
-
-What's the macro layout of our storage? In short, everything that is revealed when running `tree` on our data directory. Just looking at that gives us a surprisingly good picture of what is going on.
-
-```
-$ tree ./data
-./data
-├── b-000001
-│ ├── chunks
-│ │ ├── 000001
-│ │ ├── 000002
-│ │ └── 000003
-│ ├── index
-│ └── meta.json
-├── b-000004
-│ ├── chunks
-│ │ └── 000001
-│ ├── index
-│ └── meta.json
-├── b-000005
-│ ├── chunks
-│ │ └── 000001
-│ ├── index
-│ └── meta.json
-└── b-000006
- ├── meta.json
- └── wal
- ├── 000001
- ├── 000002
- └── 000003
-```
-
-At the top level, we have a sequence of numbered blocks, prefixed with `b-`. Each block obviously holds a file containing an index and a "chunk" directory holding more numbered files. The “chunks” directory contains nothing but raw chunks of data points for various series. Just as for V2, this makes reading series data over a time windows very cheap and allows us to apply the same efficient compression algorithms. The concept has proven to work well and we stick with it. Obviously, there is no longer a single file per series but instead a handful of files holds chunks for many of them.
-The existence of an “index” file should not be surprising. Let's just assume it contains a lot of black magic allowing us to find labels, their possible values, entire time series and the chunks holding their data points.
-
-But why are there several directories containing the layout of index and chunk files? And why does the last one contain a "wal" directory instead? Understanding those two questions, solves about 90% of our problems.
-
-#### Many Little Databases
-
-We partition our _horizontal_ dimension, i.e. the time space, into non-overlapping blocks. Each block acts as a fully independent database containing all time series data for its time window. Hence, it has its own index and set of chunk files.
-
-```
-
-t0 t1 t2 t3 now
- ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
- │ │ │ │ │ │ │ │ ┌────────────┐
- │ │ │ │ │ │ │ mutable │ <─── write ──── ┤ Prometheus │
- │ │ │ │ │ │ │ │ └────────────┘
- └───────────┘ └───────────┘ └───────────┘ └───────────┘ ^
- └──────────────┴───────┬──────┴──────────────┘ │
- │ query
- │ │
- merge ─────────────────────────────────────────────────┘
-```
-
-Every block of data is immutable. Of course, we must be able to add new series and samples to the most recent block as we collect new data. For this block, all new data is written to an in-memory database that provides the same lookup properties as our persistent blocks. The in-memory data structures can be updated efficiently. To prevent data loss, all incoming data is also written to a temporary _write ahead log_ , which is the set of files in our “wal” directory, from which we can re-populate the in-memory database on restart.
-All these files come with their own serialization format, which comes with all the things one would expect: lots of flags, offsets, varints, and CRC32 checksums. Good fun to come up with, rather boring to read about.
-
-This layout allows us to fan out queries to all blocks relevant to the queried time range. The partial results from each block are merged back together to form the overall result.
-
-This horizontal partitioning adds a few great capabilities:
-
-* When querying a time range, we can easily ignore all data blocks outside of this range. It trivially addresses the problem of _series churn_ by reducing the set of inspected data to begin with.
-* When completing a block, we can persist the data from our in-memory database by sequentially writing just a handful of larger files. We avoid any write-amplification and serve SSDs and HDDs equally well.
-* We keep the good property of V2 that recent chunks, which are queried most, are always hot in memory.
-* Nicely enough, we are also no longer bound to the fixed 1KiB chunk size to better align data on disk. We can pick any size that makes the most sense for the individual data points and chosen compression format.
-* Deleting old data becomes extremely cheap and instantaneous. We merely have to delete a single directory. Remember, in the old storage we had to analyze and re-write up to hundreds of millions of files, which could take hours to converge.
-
-Each block also contains a `meta.json` file. It simply holds human-readable information about the block to easily understand the state of our storage and the data it contains.
-
-##### mmap
-
-Moving from millions of small files to a handful of larger allows us to keep all files open with little overhead. This unblocks the usage of [`mmap(2)`][8], a system call that allows us to transparently back a virtual memory region by file contents. For simplicity, you might want to think of it like swap space, just that all our data is on disk already and no writes occur when swapping data out of memory.
-
-This means we can treat all contents of our database as if they were in memory without occupying any physical RAM. Only if we access certain byte ranges in our database files, the operating system lazily loads pages from disk. This puts the operating system in charge of all memory management related to our persisted data. Generally, it is more qualified to make such decisions, as it has the full view on the entire machine and all its processes. Queried data can be rather aggressively cached in memory, yet under memory pressure the pages will be evicted. If the machine has unused memory, Prometheus will now happily cache the entire database, yet will immediately return it once another application needs it.
-Therefore, queries can longer easily OOM our process by querying more persisted data than fits into RAM. The memory cache size becomes fully adaptive and data is only loaded once the query actually needs it.
-
-From my understanding, this is how a lot of databases work today and an ideal way to do it if the disk format allows — unless one is confident to outsmart the OS from within the process. We certainly get a lot of capabilities with little work from our side.
-
-#### Compaction
-
-The storage has to periodically "cut" a new block and write the previous one, which is now completed, onto disk. Only after the block was successfully persisted, the write ahead log files, which are used to restore in-memory blocks, are deleted.
-We are interested in keeping each block reasonably short (about two hours for a typical setup) to avoid accumulating too much data in memory. When querying multiple blocks, we have to merge their results into an overall result. This merge procedure obviously comes with a cost and a week-long query should not have to merge 80+ partial results.
-
-To achieve both, we introduce _compaction_ . Compaction describes the process of taking one or more blocks of data and writing them into a, potentially larger, block. It can also modify existing data along the way, e.g. dropping deleted data, or restructuring our sample chunks for improved query performance.
-
-```
-
-t0 t1 t2 t3 t4 now
- ┌────────────┐ ┌──────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
- │ 1 │ │ 2 │ │ 3 │ │ 4 │ │ 5 mutable │ before
- └────────────┘ └──────────┘ └───────────┘ └───────────┘ └───────────┘
- ┌─────────────────────────────────────────┐ ┌───────────┐ ┌───────────┐
- │ 1 compacted │ │ 4 │ │ 5 mutable │ after (option A)
- └─────────────────────────────────────────┘ └───────────┘ └───────────┘
- ┌──────────────────────────┐ ┌──────────────────────────┐ ┌───────────┐
- │ 1 compacted │ │ 3 compacted │ │ 5 mutable │ after (option B)
- └──────────────────────────┘ └──────────────────────────┘ └───────────┘
-```
-
-In this example we have the sequential blocks `[1, 2, 3, 4]`. Blocks 1, 2, and 3 can be compacted together and the new layout is `[1, 4]`. Alternatively, compact them in pairs of two into `[1, 3]`. All time series data still exist but now in fewer blocks overall. This significantly reduces the merging cost at query time as fewer partial query results have to be merged.
-
-#### Retention
-
-We saw that deleting old data was a slow process in the V2 storage and put a toll on CPU, memory, and disk alike. How can we drop old data in our block based design? Quite simply, by just deleting the directory of a block that has no data within our configured retention window. In the example below, block 1 can safely be deleted, whereas 2 has to stick around until it falls fully behind the boundary.
-
-```
- |
- ┌────────────┐ ┌────┼─────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
- │ 1 │ │ 2 | │ │ 3 │ │ 4 │ │ 5 │ . . .
- └────────────┘ └────┼─────┘ └───────────┘ └───────────┘ └───────────┘
- |
- |
- retention boundary
-```
-
-The older data gets, the larger the blocks may become as we keep compacting previously compacted blocks. An upper limit has to be applied so blocks don’t grow to span the entire database and thus diminish the original benefits of our design.
-Conveniently, this also limits the total disk overhead of blocks that are partially inside and partially outside of the retention window, i.e. block 2 in the example above. When setting the maximum block size at 10% of the total retention window, our total overhead of keeping block 2 around is also bound by 10%.
-
-Summed up, retention deletion goes from very expensive, to practically free.
-
-> _If you've come this far and have some background in databases, you might be asking one thing by now: Is any of this new? — Not really; and probably for the better._
->
-> _The pattern of batching data up in memory, tracked in a write ahead log, and periodically flushed to disk is ubiquitous today._
-> _The benefits we have seen apply almost universally regardless of the data's domain specifics. Prominent open source examples following this approach are LevelDB, Cassandra, InfluxDB, or HBase. The key takeaway is to avoid reinventing an inferior wheel, researching proven methods, and applying them with the right twist._
-> _Running out of places to add your own magic dust later is an unlikely scenario._
-
-### The Index
-
-The initial motivation to investigate storage improvements were the problems brought by _series churn_ . The block-based layout reduces the total number of series that have to be considered for serving a query. So assuming our index lookup was of complexity _O(n^2)_ , we managed to reduce the _n_ a fair amount and now have an improved complexity of _O(n^2)_ — uhm, wait... damnit.
-A quick flashback to "Algorithms 101" reminds us that this, in theory, did not buy us anything. If things were bad before, they are just as bad now. Theory can be depressing.
-
-In practice, most of our queries will already be answered significantly faster. Yet, queries spanning the full time range remain slow even if they just need to find a handful of series. My original idea, dating back way before all this work was started, was a solution to exactly this problem: we need a more capable [ _inverted index_ ][9].
-An inverted index provides a fast lookup of data items based on a subset of their contents. Simply put, I can look up all series that have a label `app=”nginx"` without having to walk through every single series and check whether it contains that label.
-
-For that, each series is assigned a unique ID by which it can be retrieved in constant time, i.e. O(1). In this case the ID is our _forward index_ .
-
-> Example: If the series with IDs 10, 29, and 9 contain the label `app="nginx"`, the inverted index for the label "nginx" is the simple list `[10, 29, 9]`, which can be used to quickly retrieve all series containing the label. Even if there were 20 billion further series, it would not affect the speed of this lookup.
-
-In short, if _n_ is our total number of series, and _m_ is the result size for a given query, the complexity of our query using the index is now _O(m)_ . Queries scaling along the amount of data they retrieve ( _m_ ) instead of the data body being searched ( _n_ ) is a great property as _m_ is generally significantly smaller.
-For brevity, let’s assume we can retrieve the inverted index list itself in constant time.
-
-Actually, this is almost exactly the kind of inverted index V2 has and a minimum requirement to serve performant queries across millions of series. The keen observer will have noticed, that in the worst case, a label exists in all series and thus _m_ is, again, in _O(n)_ . This is expected and perfectly fine. If you query all data, it naturally takes longer. Things become problematic once we get involved with more complex queries.
-
-#### Combining Labels
-
-Labels associated with millions of series are common. Suppose a horizontally scaling “foo” microservice with hundreds of instances with thousands of series each. Every single series will have the label `app="foo"`. Of course, one generally won't query all series but restrict the query by further labels, e.g. I want to know how many requests my service instances received and query `__name__="requests_total" AND app="foo"`.
-
-To find all series satisfying both label selectors, we take the inverted index list for each and intersect them. The resulting set will typically be orders of magnitude smaller than each input list individually. As each input list has the worst case size O(n), the brute force solution of nested iteration over both lists, has a runtime of O(n^2). The same cost applies for other set operations, such as the union (`app="foo" OR app="bar"`). When adding further label selectors to the query, the exponent increases for each to O(n^3), O(n^4), O(n^5), ... O(n^k). A lot of tricks can be played to minimize the effective runtime by changing the execution order. The more sophisticated, the more knowledge about the shape of the data and the relationships between labels is needed. This introduces a lot of complexity, yet does not decrease our algorithmic worst case runtime.
-
-This is essentially the approach in the V2 storage and luckily a seemingly slight modification is enough gain significant improvements. What happens if we assume that the IDs in our inverted indices are sorted?
-
-Suppose this example of lists for our initial query:
-
-```
-__name__="requests_total" -> [ 9999, 1000, 1001, 2000000, 2000001, 2000002, 2000003 ]
- app="foo" -> [ 1, 3, 10, 11, 12, 100, 311, 320, 1000, 1001, 10002 ]
-
- intersection => [ 1000, 1001 ]
-```
-
-The intersection is fairly small. We can find it by setting a cursor at the beginning of each list and always advancing the one at the smaller number. When both numbers are equal, we add the number to our result and advance both cursors. Overall, we scan both lists in this zig-zag pattern and thus have a total cost of _O(2n) = O(n)_ as we only ever move forward in either list.
-
-The procedure for more than two lists of different set operations works similarly. So the number of _k_ set operations merely modifies the factor ( _O(k*n)_ ) instead of the exponent ( _O(n^k)_ ) of our worst-case lookup runtime. A great improvement.
-What I described here is a simplified version of the canonical search index used by practically any [full text search engine][10] out there. Every series descriptor is treated as a short "document", and every label (name + fixed value) as a "word" inside of it. We can ignore a lot of additional data typically encountered in search engine indices, such as word position and frequency data.
-Seemingly endless research exists on approaches improving the practical runtime, often making some assumptions about the input data. Unsurprisingly, there are also plenty of techniques to compress inverted indices that come with their own benefits and drawbacks. As our "documents" are tiny and the “words” are hugely repetitive across all series, compression becomes almost irrelevant. For example, a real-world dataset of ~4.4 million series with about 12 labels each has less than 5,000 unique labels. For our initial storage version, we stick to the basic approach without compression, and just a few simple tweaks added to skip over large ranges of non-intersecting IDs.
-
-While keeping the IDs sorted may sound simple, it is not always a trivial invariant to keep up. For instance, the V2 storage assigns hashes as IDs to new series and we cannot efficiently build up sorted inverted indices.
-Another daunting task is modifying the indices on disk as data gets deleted or updated. Typically, the easiest approach is to simply recompute and rewrite them but doing so while keeping the database queryable and consistent. The V3 storage does exactly this by having a separate immutable index per block that is only modified via rewrite on compaction. Only the indices for the mutable blocks, which are held entirely in memory, need to be updated.
-
-### Benchmarking
-
-I started initial development of the storage with a benchmark based on ~4.4 million series descriptors extracted from a real world data set and generated synthetic data points to feed into those series. This iteration just tested the stand-alone storage and was crucial to quickly identify performance bottlenecks and trigger deadlocks only experienced under highly concurrent load.
-
-After the conceptual implementation was done, the benchmark could sustain a write throughput of 20 million data points per second on my Macbook Pro — all while a dozen Chrome tabs and Slack were running. So while this sounded all great it also indicated that there's no further point in pushing this benchmark (or running it in a less random environment for that matter). After all, it is synthetic and thus not worth much beyond a good first impression. Starting out about 20x above the initial design target, it was time to embed this into an actual Prometheus server, adding all the practical overhead and flakes only experienced in more realistic environments.
-
-We actually had no reproducible benchmarking setup for Prometheus, in particular none that allowed A/B testing of different versions. Concerning in hindsight, but [now we have one][11]!
-
-Our tool allows us to declaratively define a benchmarking scenario, which is then deployed to a Kubernetes cluster on AWS. While this is not the best environment for all-out benchmarking, it certainly reflects our user base better than dedicated bare metal servers with 64 cores and 128GB of memory.
-We deploy two Prometheus 1.5.2 servers (V2 storage) and two Prometheus servers from the 2.0 development branch (V3 storage). Each Prometheus server runs on a dedicated machine with an SSD. A horizontally scaled application exposing typical microservice metrics is deployed to worker nodes. Additionally, the Kubernetes cluster itself and the nodes are being monitored. The whole setup is supervised by yet another Meta-Prometheus, monitoring each Prometheus server for health and performance.
-To simulate series churn, the microservice is periodically scaled up and down to remove old pods and spawn new pods, exposing new series. Query load is simulated by a selection of "typical" queries, run against one server of each Prometheus version.
-
-Overall the scaling and querying load as well as the sampling frequency significantly exceed today's production deployments of Prometheus. For instance, we swap out 60% of our microservice instances every 15 minutes to produce series churn. This would likely only happen 1-5 times a day in a modern infrastructure. This ensures that our V3 design is capable of handling the workloads of the years ahead. As a result, the performance differences between Prometheus 1.5.2 and 2.0 are larger than in a more moderate environment.
-In total, we are collecting about 110,000 samples per second from 850 targets exposing half a million series at a time.
-
-After leaving this setup running for a while, we can take a look at the numbers. We evaluate several metrics over the first 12 hours within both versiones reached a steady state.
-
-> Be aware of the slightly truncated Y axis in screen shots from the Prometheus graph UI.
-
- 
-> _Heap memory usage in GB_
-
-Memory usage is the most troubling resource for users today as it is relatively unpredictable and it may cause the process to crash.
-Obviously, the queried servers are consuming more memory, which can largely be attributed to overhead of the query engine, which will be subject to future optimizations. Overall, Prometheus 2.0's memory consumption is reduced by 3-4x. After about six hours, there is a clear spike in Prometheus 1.5, which aligns with the our retention boundary at six hours. As deletions are quite costly, resource consumption ramps up. This will become visible throughout various other graphs below.
-
- 
-> _CPU usage in cores/second_
-
-A similar pattern shows for CPU usage, but the delta between queried and non-queried servers is more significant. Averaging at about 0.5 cores/sec while ingesting about 110,000 samples/second, our new storage becomes almost negligible compared to the cycles spent on query evaluation. In total the new storage needs 3-10 times fewer CPU resources.
-
- 
->_Disk writes in MB/second_
-
-The by far most dramatic and unexpected improvement shows in write utilization of our disk. It clearly shows why Prometheus 1.5 is prone to wear out SSDs. We see an initial ramp-up as soon as the first chunks are persisted into the series files and a second ramp-up once deletion starts rewriting them. Surprisingly, the queried and non-queried server show a very different utilization.
-Prometheus 2.0 on the other hand, merely writes about a single Megabyte per second to its write ahead log. Writes periodically spike when blocks are compacted to disk. Overall savings: staggering 97-99%.
-
- 
-> _Disk size in GB_
-
-Closely related to disk writes is the total amount of occupied disk space. As we are using almost the same compression algorithm for samples, which is the bulk of our data, they should be about the same. In a more stable setup that would largely be true, but as we are dealing with high _series churn_ , there's also the per-series overhead to consider.
-As we can see, Prometheus 1.5 ramps up storage space a lot faster before both versions reach a steady state as the retention kicks in. Prometheus 2.0 seems to have a significantly lower overhead per individual series. We can nicely see how space is linearly filled up by the write ahead log and instantaneously drops as its gets compacted. The fact that the lines for both Prometheus 2.0 servers do not exactly match is a fact that needs further investigation.
-
-This all looks quite promising. The important piece left is query latency. The new index should have improved our lookup complexity. What has not substantially changed is processing of this data, e.g. in `rate()` functions or aggregations. Those aspects are part of the query engine.
-
- 
->_99th percentile query latency in seconds_
-
-Expectations are completely met by the data. In Prometheus 1.5 the query latency increases over time as more series are stored. It only levels off once retention starts and old series are deleted. In contrast, Prometheus 2.0 stays in place right from the beginning.
-Some caution must be taken on how this data was collected. The queries fired against the servers were chosen by estimating a good mix of range and instant queries, doing heavier and more lightweight computations, and touching few or many series. It does not necessarily represent a real-world distribution of queries. It is also not representative for queries hitting cold data and we can assume that all sample data is practically always hot in memory in either storage.
-Nonetheless, we can say with good confidence, that the overall query performance became very resilient to series churn and improved by up to 4x in our straining benchmarking scenario. In a more static environment, we can assume query time to be mostly spent in the query engine itself and the improvement to be notably lower.
-
- 
->_Ingested samples/second_
-
-Lastly, a quick look into our ingestion rates of the different Prometheus servers. We can see that both servers with the V3 storage have the same ingestion rate. After a few hours it becomes unstable, which is caused by various nodes of the benchmarking cluster becoming unresponsive due to high load rather than the Prometheus instances. (The fact that both 2.0 lines exactly match is hopefully convincing enough.)
-Both Prometheus 1.5.2 servers start suffering from significant drops in ingestion rate even though more CPU and memory resources are available. The high stress of series churn causes a larger amount of data to not be collected.
-
-But what's the _absolute maximum_ number of samples per second you could ingest now?
-
-I don't know — and deliberately don't care.
-
-There are a lot of factors that shape the data flowing into Prometheus and there is no single number capable of capturing quality. Maximum ingestion rate has historically been a metric leading to skewed benchmarks and neglect of more important aspects such as query performance and resilience to series churn. The rough assumption that resource usage increases linearly was confirmed by some basic testing. It is easy to extrapolate what could be possible.
-
-Our benchmarking setup simulates a highly dynamic environment stressing Prometheus more than most real-world setups today. The results show we went way above our initial design goal, while running on non-optimal cloud servers. Ultimately, success will be determined by user feedback rather than benchmarking numbers.
-
-> Note: _At time of writing this, Prometheus 1.6 is in development, which will allow configuring the maximum memory usage more reliably and may notably reduce overall consumption in favor of slightly increased CPU utilization. I did not repeat the tests against this as the overall results still hold, especially when facing high series churn._
-
-### Conclusion
-
-Prometheus sets out to handle high cardinality of series and throughput of individual samples. It remains a challenging task, but the new storage seems to position us well for the hyper-scale, hyper-convergent, GIFEE infrastructure of the futu... well, it seems to work pretty well.
-
-A [first alpha release of Prometheus 2.0][12] with the new V3 storage is available for testing. Expect crashes, deadlocks, and other bugs at this early stage.
-
-The code for the storage itself can be found [in a separate project][13]. It's surprisingly agnostic to Prometheus itself and could be widely useful for a wider range of applications looking for an efficient local storage time series database.
-
-> _There's a long list of people to thank for their contributions to this work. Here they go in no particular order:_
->
-> _The groundlaying work by Bjoern Rabenstein and Julius Volz on the V2 storage engine and their feedback on V3 was fundamental to everything seen in this new generation._
->
-> _Wilhelm Bierbaum's ongoing advice and insight contributed significantly to the new design. Brian Brazil's continous feedback ensured that we ended up with a semantically sound approach. Insightful discussions with Peter Bourgon validated the design and shaped this write-up._
->
-> _Not to forget my entire team at CoreOS and the company itself for supporting and sponsoring this work. Thanks to everyone who listened to my ramblings about SSDs, floats, and serialization formats again and again._
-
-
---------------------------------------------------------------------------------
-
-via: https://fabxc.org/blog/2017-04-10-writing-a-tsdb/
-
-作者:[Fabian Reinartz ][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://twitter.com/fabxc
-[1]:https://en.wikipedia.org/wiki/Inode
-[2]:https://prometheus.io/
-[3]:https://kubernetes.io/
-[4]:https://en.wikipedia.org/wiki/Write_amplification
-[5]:http://codecapsule.com/2014/02/12/coding-for-ssds-part-1-introduction-and-table-of-contents/
-[6]:https://prometheus.io/docs/practices/rules/
-[7]:http://www.vldb.org/pvldb/vol8/p1816-teller.pdf
-[8]:https://en.wikipedia.org/wiki/Mmap
-[9]:https://en.wikipedia.org/wiki/Inverted_index
-[10]:https://en.wikipedia.org/wiki/Search_engine_indexing#Inverted_indices
-[11]:https://github.com/prometheus/prombench
-[12]:https://prometheus.io/blog/2017/04/10/promehteus-20-sneak-peak/
-[13]:https://github.com/prometheus/tsdb
diff --git a/sources/tech/20170414 5 projects for Raspberry Pi at home.md b/sources/tech/20170414 5 projects for Raspberry Pi at home.md
deleted file mode 100644
index 37c9fde3db..0000000000
--- a/sources/tech/20170414 5 projects for Raspberry Pi at home.md
+++ /dev/null
@@ -1,146 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (5 projects for Raspberry Pi at home)
-[#]: via: (https://opensource.com/article/17/4/5-projects-raspberry-pi-home)
-[#]: author: (Ben Nuttall (Community Moderator) )
-
-5 projects for Raspberry Pi at home
-======
-
-![5 projects for Raspberry Pi at home][1]
-
-The [Raspberry Pi][2] computer can be used in all kinds of settings and for a variety of purposes. It obviously has a place in education for helping students with learning programming and maker skills in the classroom and the hackspace, and it has plenty of industrial applications in the workplace and in factories. I'm going to introduce five projects you might want to build in your own home.
-
-### Media center
-
-One of the most common uses for Raspberry Pi in people's homes is behind the TV running media center software serving multimedia files. It's easy to set this up, and the Raspberry Pi provides plenty of GPU (Graphics Processing Unit) power to render HD TV shows and movies to your big screen TV. [Kodi][3] (formerly XBMC) on a Raspberry Pi is a great way to playback any media you have on a hard drive or network-attached storage. You can also install a plugin to play YouTube videos.
-
-There are a few different options available, most prominently [OSMC][4] (Open Source Media Center) and [LibreELEC][5], both based on Kodi. They both perform well at playing media content, but OSMC has a more visually appearing user interface, while LibreElec is much more lightweight. All you have to do is choose a distribution, download the image and install on an SD card (or just use [NOOBS][6]), boot it up, and you're ready to go.
-
-![LibreElec ][7]
-
-LibreElec; Raspberry Pi Foundation, CC BY-SA
-
-![OSMC][8]
-
-OSMC.tv, Copyright, Used with permission
-
-Before proceeding you'll need to decide [w][9][hich Raspberry Pi model to use][9]. These distributions will work on any Pi (1, 2, 3, or Zero), and video playback will essentially be matched on each of these. Apart from the Pi 3 (and Zero W) having built-in Wi-Fi, the only noticeable difference is the reaction speed of the user interface, which will be much faster on a Pi 3. A Pi 2 will not be much slower, so that's fine if you don't need Wi-Fi, but the Pi 3 will noticeably outperform the Pi 1 and Zero when it comes to flicking through the menus.
-
-### SSH gateway
-
-If you want to be able to access computers and devices on your home network from outside over the internet, you have to open up ports on those devices to allow outside traffic. Opening ports to the internet is a security risk, meaning you're always at risk of attack, misuse, or any kind of unauthorized access. However, if you install a Raspberry Pi on your network and set up port forwarding to allow only SSH access to that Pi, you can use that as a secure gateway to hop onto other Pis and PCs on the network.
-
-Most routers allow you to configure port-forwarding rules. You'll need to give your Pi a fixed internal IP address and set up port 22 on your router to map to port 22 on your Raspberry Pi. If your ISP provides you with a static IP address, you'll be able to SSH into it with this as the host address (for example, **ssh pi@123.45.56.78** ). If you have a domain name, you can configure a subdomain to point to this IP address, so you don't have to remember it (for example, **ssh[pi@home.mydomain.com][10]** ).
-
-![][11]
-
-However, if you're going to expose a Raspberry Pi to the internet, you should be very careful not to put your network at risk. There are a few simple procedures you can follow to make it sufficiently secure:
-
-1\. Most people suggest you change your login password (which makes sense, seeing as the default password “raspberry” is well known), but this does not protect against brute-force attacks. You could change your password and add a two-factor authentication (so you need your password _and_ a time-dependent passcode generated by your phone), which is more secure. However, I believe the best way to secure your Raspberry Pi from intruders is to [disable][12] [“password authentication”][12] in your SSH configuration, so you allow only SSH key access. This means that anyone trying to SSH in by guessing your password will never succeed. Only with your private SSH key can anyone gain access. Similarly, most people suggest changing the SSH port from the default 22 to something unexpected, but a simple [Nmap][13] of your IP address will reveal your true SSH port.
-
-2\. Ideally, you would not run much in the way of other software on this Pi, so you don't end up accidentally exposing anything else. If you want to run other software, you might be better running it on another Pi on the network that is not exposed to the internet. Ensure that you keep your packages up to date by upgrading regularly, particularly the **openssh-server** package, so that any security vulnerabilities are patched.
-
-3\. Install [sshblack][14] or [fail2ban][15] to blacklist any users who seem to be acting maliciously, such as attempting to brute force your SSH password.
-
-Once you've secured your Raspberry Pi and put it online, you'll be able to log in to your network from anywhere in the world. Once you're on your Raspberry Pi, you can SSH into other devices on the network using their local IP address (for example, 192.168.1.31). If you have passwords on these devices, just use the password. If they're also SSH-key-only, you'll need to ensure your key is forwarded over SSH by using the **-A** flag: **ssh -A pi@123.45.67.89**.
-
-### CCTV / pet camera
-
-Another great home project is to set up a camera module to take photos or stream video, capture and save files, or streamed internally or to the internet. There are many reasons you might want to do this, but two common use cases are for a homemade security camera or to monitor a pet.
-
-The [Raspberry Pi camera module][16] is a brilliant accessory. It provides full HD photo and video, lots of advanced configuration, and is [easy to][17] [program][17]. The [infrared camera][18] is ideal for this kind of use, and with an infrared LED (which the Pi can control) you can see in the dark!
-
-If you want to take still images on a regular basis to keep an eye on things, you can just write a short [Python][19] script or use the command line tool [raspistill][20], and schedule it to recur in [Cron][21]. You might want to have it save them to [Dropbox][22] or another web service, upload them to a web server, or you can even create a [web app][23] to display them.
-
-If you want to stream video, internally or externally, that's really easy, too. A simple MJPEG (Motion JPEG) example is provided in the [picamera documentation][24] (under “web streaming”). Just download or copy that code into a file, run it and visit the Pi's IP address at port 8000, and you'll see your camera's output live.
-
-A more advanced streaming project, [pistreaming][25], is available, which uses [JSMpeg][26] (a JavaScript video player) with the web server and a websocket for the camera stream running separately. This method is more performant and is just as easy to get running as the previous example, but there is more code involved and if set up to stream on the internet, requires you to open two ports.
-
-Once you have web streaming set up, you can position the camera where you want it. I have one set up to keep an eye on my pet tortoise:
-
-![Tortoise ][27]
-
-Ben Nuttall, CC BY-SA
-
-If you want to be able to control where the camera actually points, you can do so using servos. A neat solution is to use Pimoroni's [Pan-Tilt HAT][28], which allows you to move the camera easily in two dimensions. To integrate this with pistreaming, see the project's [pantilthat branch][29].
-
-![Pan-tilt][30]
-
-Pimoroni.com, Copyright, Used with permission
-
-If you want to position your Pi outside, you'll need a waterproof enclosure and some way of getting power to the Pi. PoE (Power-over-Ethernet) cables can be a good way of achieving this.
-
-### Home automation and IoT
-
-It's 2017 and there are internet-connected devices everywhere, especially in the home. Our lightbulbs have Wi-Fi, our toasters are smarter than they used to be, and our tea kettles are at risk of attack from Russia. As long as you keep your devices secure, or don't connect them to the internet if they don't need to be, then you can make great use of IoT devices to automate tasks around the home.
-
-There are plenty of services you can buy or subscribe to, like Nest Thermostat or Philips Hue lightbulbs, which allow you to control your heating or your lighting from your phone, respectively—whether you're inside or away from home. You can use a Raspberry Pi to boost the power of these kinds of devices by automating interactions with them according to a set of rules involving timing or even sensors. One thing you can't do with Philips Hue is have the lights come on when you enter the room, but with a Raspberry Pi and a motion sensor, you can use a Python API to turn on the lights. Similarly, you can configure your Nest to turn on the heating when you're at home, but what if you only want it to turn on if there's at least two people home? Write some Python code to check which phones are on the network and if there are at least two, tell the Nest to turn on the heat.
-
-You can do a great deal more without integrating with existing IoT devices and with only using simple components. A homemade burglar alarm, an automated chicken coop door opener, a night light, a music box, a timed heat lamp, an automated backup server, a print server, or whatever you can imagine.
-
-### Tor proxy and blocking ads
-
-Adafruit's [Onion Pi][31] is a [Tor][32] proxy that makes your web traffic anonymous, allowing you to use the internet free of snoopers and any kind of surveillance. Follow Adafruit's tutorial on setting up Onion Pi and you're on your way to a peaceful anonymous browsing experience.
-
-![Onion-Pi][33]
-
-Onion-pi from Adafruit, Copyright, Used with permission
-
-![Pi-hole][34]You can install a Raspberry Pi on your network that intercepts all web traffic and filters out any advertising. Simply download the [Pi-hole][35] software onto the Pi, and all devices on your network will be ad-free (it even blocks in-app ads on your mobile devices).
-
-There are plenty more uses for the Raspberry Pi at home. What do you use Raspberry Pi for at home? What do you want to use it for?
-
-Let us know in the comments.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/17/4/5-projects-raspberry-pi-home
-
-作者:[Ben Nuttall (Community Moderator)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/raspberry_pi_home_automation.png?itok=2TnmJpD8 (5 projects for Raspberry Pi at home)
-[2]: https://www.raspberrypi.org/
-[3]: https://kodi.tv/
-[4]: https://osmc.tv/
-[5]: https://libreelec.tv/
-[6]: https://www.raspberrypi.org/downloads/noobs/
-[7]: https://opensource.com/sites/default/files/libreelec_0.png (LibreElec )
-[8]: https://opensource.com/sites/default/files/osmc.png (OSMC)
-[9]: https://opensource.com/life/16/10/which-raspberry-pi-should-you-choose-your-project
-[10]: mailto:pi@home.mydomain.com
-[11]: https://opensource.com/sites/default/files/resize/screenshot_from_2017-04-07_15-13-01-700x380.png
-[12]: http://stackoverflow.com/questions/20898384/ssh-disable-password-authentication
-[13]: https://nmap.org/
-[14]: http://www.pettingers.org/code/sshblack.html
-[15]: https://www.fail2ban.org/wiki/index.php/Main_Page
-[16]: https://www.raspberrypi.org/products/camera-module-v2/
-[17]: https://opensource.com/life/15/6/raspberry-pi-camera-projects
-[18]: https://www.raspberrypi.org/products/pi-noir-camera-v2/
-[19]: http://picamera.readthedocs.io/
-[20]: https://www.raspberrypi.org/documentation/usage/camera/raspicam/raspistill.md
-[21]: https://www.raspberrypi.org/documentation/linux/usage/cron.md
-[22]: https://github.com/RZRZR/plant-cam
-[23]: https://github.com/bennuttall/bett-bot
-[24]: http://picamera.readthedocs.io/en/release-1.13/recipes2.html#web-streaming
-[25]: https://github.com/waveform80/pistreaming
-[26]: http://jsmpeg.com/
-[27]: https://opensource.com/sites/default/files/tortoise.jpg (Tortoise)
-[28]: https://shop.pimoroni.com/products/pan-tilt-hat
-[29]: https://github.com/waveform80/pistreaming/tree/pantilthat
-[30]: https://opensource.com/sites/default/files/pan-tilt.gif (Pan-tilt)
-[31]: https://learn.adafruit.com/onion-pi/overview
-[32]: https://www.torproject.org/
-[33]: https://opensource.com/sites/default/files/onion-pi.jpg (Onion-Pi)
-[34]: https://opensource.com/sites/default/files/resize/pi-hole-250x250.png (Pi-hole)
-[35]: https://pi-hole.net/
diff --git a/sources/tech/20171214 Build a game framework with Python using the module Pygame.md b/sources/tech/20171214 Build a game framework with Python using the module Pygame.md
deleted file mode 100644
index 1acdd12a7c..0000000000
--- a/sources/tech/20171214 Build a game framework with Python using the module Pygame.md
+++ /dev/null
@@ -1,283 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: (robsean)
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Build a game framework with Python using the module Pygame)
-[#]: via: (https://opensource.com/article/17/12/game-framework-python)
-[#]: author: (Seth Kenlon https://opensource.com/users/seth)
-
-Build a game framework with Python using the module Pygame
-======
-The first part of this series explored Python by creating a simple dice game. Now it's time to make your own game from scratch.
-
-
-In my [first article in this series][1], I explained how to use Python to create a simple, text-based dice game. This time, I'll demonstrate how to use the Python module Pygame to create a graphical game. It will take several articles to get a game that actually does anything, but by the end of the series, you will have a better understanding of how to find and learn new Python modules and how to build an application from the ground up.
-
-Before you start, you must install [Pygame][2].
-
-### Installing new Python modules
-
-There are several ways to install Python modules, but the two most common are:
-
- * From your distribution's software repository
- * Using the Python package manager, pip
-
-
-
-Both methods work well, and each has its own set of advantages. If you're developing on Linux or BSD, leveraging your distribution's software repository ensures automated and timely updates.
-
-However, using Python's built-in package manager gives you control over when modules are updated. Also, it is not OS-specific, meaning you can use it even when you're not on your usual development machine. Another advantage of pip is that it allows local installs of modules, which is helpful if you don't have administrative rights to a computer you're using.
-
-### Using pip
-
-If you have both Python and Python3 installed on your system, the command you want to use is probably `pip3`, which differentiates it from Python 2.x's `pip` command. If you're unsure, try `pip3` first.
-
-The `pip` command works a lot like most Linux package managers. You can search for Python modules with `search`, then install them with `install`. If you don't have permission to install software on the computer you're using, you can use the `--user` option to just install the module into your home directory.
-
-```
-$ pip3 search pygame
-[...]
-Pygame (1.9.3) - Python Game Development
-sge-pygame (1.5) - A 2-D game engine for Python
-pygame_camera (0.1.1) - A Camera lib for PyGame
-pygame_cffi (0.2.1) - A cffi-based SDL wrapper that copies the pygame API.
-[...]
-$ pip3 install Pygame --user
-```
-
-Pygame is a Python module, which means that it's just a set of libraries that can be used in your Python programs. In other words, it's not a program that you launch, like [IDLE][3] or [Ninja-IDE][4] are.
-
-### Getting started with Pygame
-
-A video game needs a setting; a world in which it takes place. In Python, there are two different ways to create your setting:
-
- * Set a background color
- * Set a background image
-
-
-
-Your background is only an image or a color. Your video game characters can't interact with things in the background, so don't put anything too important back there. It's just set dressing.
-
-### Setting up your Pygame script
-
-To start a new Pygame project, create a folder on your computer. All your game files go into this directory. It's vitally important that you keep all the files needed to run your game inside of your project folder.
-
-
-
-A Python script starts with the file type, your name, and the license you want to use. Use an open source license so your friends can improve your game and share their changes with you:
-
-```
-#!/usr/bin/env python3
-# by Seth Kenlon
-
-## GPLv3
-# This program is free software: you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-# General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-```
-
-Then you tell Python what modules you want to use. Some of the modules are common Python libraries, and of course, you want to include the one you just installed, Pygame.
-
-```
-import pygame # load pygame keywords
-import sys # let python use your file system
-import os # help python identify your OS
-```
-
-Since you'll be working a lot with this script file, it helps to make sections within the file so you know where to put stuff. You do this with block comments, which are comments that are visible only when looking at your source code. Create three blocks in your code.
-
-```
-'''
-Objects
-'''
-
-# put Python classes and functions here
-
-'''
-Setup
-'''
-
-# put run-once code here
-
-'''
-Main Loop
-'''
-
-# put game loop here
-```
-
-Next, set the window size for your game. Keep in mind that not everyone has a big computer screen, so it's best to use a screen size that fits on most people's computers.
-
-There is a way to toggle full-screen mode, the way many modern video games do, but since you're just starting out, keep it simple and just set one size.
-
-```
-'''
-Setup
-'''
-worldx = 960
-worldy = 720
-```
-
-The Pygame engine requires some basic setup before you can use it in a script. You must set the frame rate, start its internal clock, and start (`init`) Pygame.
-
-```
-fps = 40 # frame rate
-ani = 4 # animation cycles
-clock = pygame.time.Clock()
-pygame.init()
-```
-
-Now you can set your background.
-
-### Setting the background
-
-Before you continue, open a graphics application and create a background for your game world. Save it as `stage.png` inside a folder called `images` in your project directory.
-
-There are several free graphics applications you can use.
-
- * [Krita][5] is a professional-level paint materials emulator that can be used to create beautiful images. If you're very interested in creating art for video games, you can even purchase a series of online [game art tutorials][6].
- * [Pinta][7] is a basic, easy to learn paint application.
- * [Inkscape][8] is a vector graphics application. Use it to draw with shapes, lines, splines, and Bézier curves.
-
-
-
-Your graphic doesn't have to be complex, and you can always go back and change it later. Once you have it, add this code in the setup section of your file:
-
-```
-world = pygame.display.set_mode([worldx,worldy])
-backdrop = pygame.image.load(os.path.join('images','stage.png').convert())
-backdropbox = world.get_rect()
-```
-
-If you're just going to fill the background of your game world with a color, all you need is:
-
-```
-world = pygame.display.set_mode([worldx,worldy])
-```
-
-You also must define a color to use. In your setup section, create some color definitions using values for red, green, and blue (RGB).
-
-```
-'''
-Setup
-'''
-
-BLUE = (25,25,200)
-BLACK = (23,23,23 )
-WHITE = (254,254,254)
-```
-
-At this point, you could theoretically start your game. The problem is, it would only last for a millisecond.
-
-To prove this, save your file as `your-name_game.py` (replace `your-name` with your actual name). Then launch your game.
-
-If you are using IDLE, run your game by selecting `Run Module` from the Run menu.
-
-If you are using Ninja, click the `Run file` button in the left button bar.
-
-
-
-You can also run a Python script straight from a Unix terminal or a Windows command prompt.
-
-```
-$ python3 ./your-name_game.py
-```
-
-If you're using Windows, use this command:
-
-```
-py.exe your-name_game.py
-```
-
-However you launch it, don't expect much, because your game only lasts a few milliseconds right now. You can fix that in the next section.
-
-### Looping
-
-Unless told otherwise, a Python script runs once and only once. Computers are very fast these days, so your Python script runs in less than a second.
-
-To force your game to stay open and active long enough for someone to see it (let alone play it), use a `while` loop. To make your game remain open, you can set a variable to some value, then tell a `while` loop to keep looping for as long as the variable remains unchanged.
-
-This is often called a "main loop," and you can use the term `main` as your variable. Add this anywhere in your setup section:
-
-```
-main = True
-```
-
-During the main loop, use Pygame keywords to detect if keys on the keyboard have been pressed or released. Add this to your main loop section:
-
-```
-'''
-Main loop
-'''
-while main == True:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- pygame.quit(); sys.exit()
- main = False
-
- if event.type == pygame.KEYDOWN:
- if event.key == ord('q'):
- pygame.quit()
- sys.exit()
- main = False
-```
-
-Also in your main loop, refresh your world's background.
-
-If you are using an image for the background:
-
-```
-world.blit(backdrop, backdropbox)
-```
-
-If you are using a color for the background:
-
-```
-world.fill(BLUE)
-```
-
-Finally, tell Pygame to refresh everything on the screen and advance the game's internal clock.
-
-```
- pygame.display.flip()
- clock.tick(fps)
-```
-
-Save your file, and run it again to see the most boring game ever created.
-
-To quit the game, press `q` on your keyboard.
-
-In the [next article][9] of this series, I'll show you how to add to your currently empty game world, so go ahead and start creating some graphics to use!
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/17/12/game-framework-python
-
-作者:[Seth Kenlon][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/seth
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/article/17/10/python-101
-[2]: http://www.pygame.org/wiki/about
-[3]: https://en.wikipedia.org/wiki/IDLE
-[4]: http://ninja-ide.org/
-[5]: http://krita.org
-[6]: https://gumroad.com/l/krita-game-art-tutorial-1
-[7]: https://pinta-project.com/pintaproject/pinta/releases
-[8]: http://inkscape.org
-[9]: https://opensource.com/article/17/12/program-game-python-part-3-spawning-player
diff --git a/sources/tech/20171215 How to add a player to your Python game.md b/sources/tech/20171215 How to add a player to your Python game.md
deleted file mode 100644
index caa1e4754e..0000000000
--- a/sources/tech/20171215 How to add a player to your Python game.md
+++ /dev/null
@@ -1,162 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to add a player to your Python game)
-[#]: via: (https://opensource.com/article/17/12/game-python-add-a-player)
-[#]: author: (Seth Kenlon https://opensource.com/users/seth)
-
-How to add a player to your Python game
-======
-Part three of a series on building a game from scratch with Python.
-
-
-In the [first article of this series][1], I explained how to use Python to create a simple, text-based dice game. In the second part, I showed you how to build a game from scratch, starting with [creating the game's environment][2]. But every game needs a player, and every player needs a playable character, so that's what we'll do next in the third part of the series.
-
-In Pygame, the icon or avatar that a player controls is called a sprite. If you don't have any graphics to use for a player sprite yet, create something for yourself using [Krita][3] or [Inkscape][4]. If you lack confidence in your artistic skills, you can also search [OpenClipArt.org][5] or [OpenGameArt.org][6] for something pre-generated. Then, if you didn't already do so in the previous article, create a directory called `images` alongside your Python project directory. Put the images you want to use in your game into the `images` folder.
-
-To make your game truly exciting, you ought to use an animated sprite for your hero. It means you have to draw more assets, but it makes a big difference. The most common animation is a walk cycle, a series of drawings that make it look like your sprite is walking. The quick and dirty version of a walk cycle requires four drawings.
-
-
-
-Note: The code samples in this article allow for both a static player sprite and an animated one.
-
-Name your player sprite `hero.png`. If you're creating an animated sprite, append a digit after the name, starting with `hero1.png`.
-
-### Create a Python class
-
-In Python, when you create an object that you want to appear on screen, you create a class.
-
-Near the top of your Python script, add the code to create a player. In the code sample below, the first three lines are already in the Python script that you're working on:
-
-```
-import pygame
-import sys
-import os # new code below
-
-class Player(pygame.sprite.Sprite):
- '''
- Spawn a player
- '''
- def __init__(self):
- pygame.sprite.Sprite.__init__(self)
- self.images = []
- img = pygame.image.load(os.path.join('images','hero.png')).convert()
- self.images.append(img)
- self.image = self.images[0]
- self.rect = self.image.get_rect()
-```
-
-If you have a walk cycle for your playable character, save each drawing as an individual file called `hero1.png` to `hero4.png` in the `images` folder.
-
-Use a loop to tell Python to cycle through each file.
-
-```
-'''
-Objects
-'''
-
-class Player(pygame.sprite.Sprite):
- '''
- Spawn a player
- '''
- def __init__(self):
- pygame.sprite.Sprite.__init__(self)
- self.images = []
- for i in range(1,5):
- img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
- self.images.append(img)
- self.image = self.images[0]
- self.rect = self.image.get_rect()
-```
-
-### Bring the player into the game world
-
-Now that a Player class exists, you must use it to spawn a player sprite in your game world. If you never call on the Player class, it never runs, and there will be no player. You can test this out by running your game now. The game will run just as well as it did at the end of the previous article, with the exact same results: an empty game world.
-
-To bring a player sprite into your world, you must call the Player class to generate a sprite and then add it to a Pygame sprite group. In this code sample, the first three lines are existing code, so add the lines afterwards:
-
-```
-world = pygame.display.set_mode([worldx,worldy])
-backdrop = pygame.image.load(os.path.join('images','stage.png')).convert()
-backdropbox = screen.get_rect()
-
-# new code below
-
-player = Player() # spawn player
-player.rect.x = 0 # go to x
-player.rect.y = 0 # go to y
-player_list = pygame.sprite.Group()
-player_list.add(player)
-```
-
-Try launching your game to see what happens. Warning: it won't do what you expect. When you launch your project, the player sprite doesn't spawn. Actually, it spawns, but only for a millisecond. How do you fix something that only happens for a millisecond? You might recall from the previous article that you need to add something to the main loop. To make the player spawn for longer than a millisecond, tell Python to draw it once per loop.
-
-Change the bottom clause of your loop to look like this:
-
-```
- world.blit(backdrop, backdropbox)
- player_list.draw(screen) # draw player
- pygame.display.flip()
- clock.tick(fps)
-```
-
-Launch your game now. Your player spawns!
-
-### Setting the alpha channel
-
-Depending on how you created your player sprite, it may have a colored block around it. What you are seeing is the space that ought to be occupied by an alpha channel. It's meant to be the "color" of invisibility, but Python doesn't know to make it invisible yet. What you are seeing, then, is the space within the bounding box (or "hit box," in modern gaming terms) around the sprite.
-
-
-
-You can tell Python what color to make invisible by setting an alpha channel and using RGB values. If you don't know the RGB values your drawing uses as alpha, open your drawing in Krita or Inkscape and fill the empty space around your drawing with a unique color, like #00ff00 (more or less a "greenscreen green"). Take note of the color's hex value (#00ff00, for greenscreen green) and use that in your Python script as the alpha channel.
-
-Using alpha requires the addition of two lines in your Sprite creation code. Some version of the first line is already in your code. Add the other two lines:
-
-```
- img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
- img.convert_alpha() # optimise alpha
- img.set_colorkey(ALPHA) # set alpha
-```
-
-Python doesn't know what to use as alpha unless you tell it. In the setup area of your code, add some more color definitions. Add this variable definition anywhere in your setup section:
-
-```
-ALPHA = (0, 255, 0)
-```
-
-In this example code, **0,255,0** is used, which is the same value in RGB as #00ff00 is in hex. You can get all of these color values from a good graphics application like [GIMP][7], Krita, or Inkscape. Alternately, you can also detect color values with a good system-wide color chooser, like [KColorChooser][8].
-
-
-
-If your graphics application is rendering your sprite's background as some other value, adjust the values of your alpha variable as needed. No matter what you set your alpha value, it will be made "invisible." RGB values are very strict, so if you need to use 000 for alpha, but you need 000 for the black lines of your drawing, just change the lines of your drawing to 111, which is close enough to black that nobody but a computer can tell the difference.
-
-Launch your game to see the results.
-
-
-
-In the [fourth part of this series][9], I'll show you how to make your sprite move. How exciting!
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/17/12/game-python-add-a-player
-
-作者:[Seth Kenlon][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/seth
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/article/17/10/python-101
-[2]: https://opensource.com/article/17/12/program-game-python-part-2-creating-game-world
-[3]: http://krita.org
-[4]: http://inkscape.org
-[5]: http://openclipart.org
-[6]: https://opengameart.org/
-[7]: http://gimp.org
-[8]: https://github.com/KDE/kcolorchooser
-[9]: https://opensource.com/article/17/12/program-game-python-part-4-moving-your-sprite
diff --git a/sources/tech/20171226 The shell scripting trap.md b/sources/tech/20171226 The shell scripting trap.md
deleted file mode 100644
index f91620ce98..0000000000
--- a/sources/tech/20171226 The shell scripting trap.md
+++ /dev/null
@@ -1,104 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (The shell scripting trap)
-[#]: via: (https://arp242.net/weblog/shell-scripting-trap.html)
-[#]: author: (Martin Tournoij https://arp242.net/)
-
-The shell scripting trap
-======
-
-
-Shell scripting is great. It is amazingly simple to create something very useful. Even a simple no-brainer command such as:
-
-```
-# Official way of naming Go-related things:
-$ grep -i ^go /usr/share/dict/american-english /usr/share/dict/british /usr/share/dict/british-english /usr/share/dict/catala /usr/share/dict/catalan /usr/share/dict/cracklib-small /usr/share/dict/finnish /usr/share/dict/french /usr/share/dict/german /usr/share/dict/italian /usr/share/dict/ngerman /usr/share/dict/ogerman /usr/share/dict/spanish /usr/share/dict/usa /usr/share/dict/words | cut -d: -f2 | sort -R | head -n1
-goldfish
-```
-
-Takes several lines of code and a lot more brainpower in many programming languages. For example in Ruby:
-
-```
-puts(Dir['/usr/share/dict/*-english'].map do |f|
- File.open(f)
- .readlines
- .select { |l| l[0..1].downcase == 'go' }
-end.flatten.sample.chomp)
-```
-
-The Ruby version isn’t that long, or even especially complicated. But the shell script version was so simple that I didn’t even need to actually test it to make sure it is correct, whereas I did have to test the Ruby version to ensure I didn’t make a mistake. It’s also twice as long and looks a lot more dense.
-
-This is why people use shell scripts, it’s so easy to make something useful. Here’s is another example:
-
-```
-curl https://nl.wikipedia.org/wiki/Lijst_van_Nederlandse_gemeenten |
- grep '^(.+).*|\1|' |
- grep -Ev '(^Tabel van|^Lijst van|Nederland)'
-```
-
-This gets a list of all Dutch municipalities. I actually wrote this as a quick one-shot script to populate a database years ago, but it still works fine today, and it took me a minimum of effort to make it. Doing this in e.g. Ruby would take a lot more effort.
-
-But there’s a downside, as your script grows it will become increasingly harder to maintain, but you also don’t really want to rewrite it to something else, as you’ve already spent so much time on the shell script version.
-
-This is what I call ‘the shell script trap’, which is a special case of the [sunk cost fallacy][1].
-
-And many scripts do grow beyond their original intended size, and often you will spend a lot more time than you should on “fixing that one bug”, or “adding just one small feature”. Rinse, repeat.
-
-If you had written it in Python or Ruby or another similar language from the start, you would have spent some more time writing the original version, but would have spent much less time maintaining it, while almost certainly having fewer bugs.
-
-Take my [packman.vim][2] script for example. It started out as a simple `for` loop over all directories and a `git pull` and has grown from there. At about 200 lines it’s hardly the most complex script, but had I written it in Go as I originally planned then it would have been much easier to add support for printing out the status or cloning new repos from a config file. It would also be almost trivial to add support for parallel clones, which is hard (though not impossible) to do correct in a shell script. In hindsight, I would have saved time, and gotten a better result to boot.
-
-I regret writing most shell scripts I’ve written for similar reasons, and my 2018 new year’s pledge will be to not write any more.
-
-#### Appendix: the problems
-
-And to be clear, shell scripting does come with some real limitation. Some examples:
-
- * Dealing with filenames that contain spaces or other ‘special’ characters requires careful attention to detail. The vast majority of scripts get this wrong, even when written by experienced authors who care about such things (e.g. me), because it’s so easy to do it wrong. [Adding quotes is not enough][3].
-
- * There are many “right” and “wrong” ways to do things. Should you use `which` or `command`? Should you use `$@` or `$*`, and should that be quoted? Should you use `cmd $arg` or `cmd "$arg"`? etc. etc.
-
- * You cannot store any NULL bytes (0x00) in variables; it is very hard to make shell scripts deal with binary data.
-
- * While you can make something very useful very quickly, implementing more complex algorithms can be very painful – if not nigh-impossible – even when using the ksh/zsh/bash extensions. My ad-hoc HTML parsing in the example above was okay for a quick one-off script, but you really don’t want to do things like that in a production-script.
-
- * It can be hard to write shell scripts that work well on all platforms. `/bin/sh` could be `dash` or `bash`, and will behave different. External tools such as `grep`, `sed`, etc. may or may not support certain flags. Are you sure that your script works on all versions (past, present, and future) of Linux, macOS, and Windows equally well?
-
- * Debugging shell scripts can be hard, especially as the syntax can get fairly obscure quite fast, and not everyone is equally well versed in shell scripting.
-
- * Error handling can be tricky (check `$?` or `set -e`), and doing something more advanced beyond “an error occurred” is practically impossible.
-
- * Undefined variables are not an error unless you use `set -u`, leading to “fun stuff” like `rm -r ~/$undefined` deleting user’s home dir ([not a theoretical problem][4]).
-
- * Everything is a string. Some shells add arrays, which works but the syntax is obscure and ugly. Numeric computations with fractions remain tricky and rely on external tools such as `bc` or `dc` (`$(( .. ))` expansion only works for integers).
-
-
-
-
-**Feedback**
-
-You can mail me at [martin@arp242.net][5] or [create a GitHub issue][6] for feedback, questions, etc.
-
---------------------------------------------------------------------------------
-
-via: https://arp242.net/weblog/shell-scripting-trap.html
-
-作者:[Martin Tournoij][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://arp242.net/
-[b]: https://github.com/lujun9972
-[1]: https://youarenotsosmart.com/2011/03/25/the-sunk-cost-fallacy/
-[2]: https://github.com/Carpetsmoker/packman.vim
-[3]: https://dwheeler.com/essays/filenames-in-shell.html
-[4]: https://github.com/ValveSoftware/steam-for-linux/issues/3671
-[5]: mailto:martin@arp242.net
-[6]: https://github.com/Carpetsmoker/arp242.net/issues/new
diff --git a/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md b/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md
index 15043628e0..4ab7fea3f6 100644
--- a/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md
+++ b/sources/tech/20180116 How To Create A Bootable Zorin OS USB Drive.md
@@ -1,4 +1,3 @@
-RHSNOW is translating.
How To Create A Bootable Zorin OS USB Drive
======
![Zorin OS][17]
diff --git a/sources/tech/20180130 An introduction to the DomTerm terminal emulator for Linux.md b/sources/tech/20180130 An introduction to the DomTerm terminal emulator for Linux.md
deleted file mode 100644
index 4553570166..0000000000
--- a/sources/tech/20180130 An introduction to the DomTerm terminal emulator for Linux.md
+++ /dev/null
@@ -1,126 +0,0 @@
-An introduction to the DomTerm terminal emulator for Linux
-======
-
-
-[DomTerm][1] is a modern terminal emulator that uses a browser engine as a "GUI toolkit." This enables some neat features, such as embeddable graphics and links, HTML rich text, and foldable (show/hide) commands. Otherwise it looks and feels like a feature-full, standalone terminal emulator, with excellent xterm compatibility (including mouse handling and 24-bit color), and appropriate "chrome" (menus). In addition, there is built-in support for session management and sub-windows (as in `tmux` and `GNU screen`), basic input editing (as in `readline`), and paging (as in `less`).
-
-
-Image 1: The DomTerminal terminal emulator. View larger image.
-
-Below we'll look more at these features. We'll assume you have `domterm` installed (skip to the end of this article if you need to get and build DomTerm). First, though, here's a quick overview of the technology.
-
-### Frontend vs. backend
-
-Most of DomTerm is written in JavaScript and runs in a browser engine. This can be a desktop web browser, such as Chrome or Firefox (see image 3), or it can be an embedded browser. Using a general web browser works fine, but the user experience isn't as nice (as the menus are designed for general browsing, not for a terminal emulator), and the security model gets in the way, so using an embedded browser is nicer.
-
-The following are currently supported:
-
- * `qtdomterm`, which uses the Qt toolkit and `QtWebEngine`
- * An `[Electron][2]` embedding (see image 1)
- * `atom-domterm` runs DomTerm as a package in the [Atom text editor][3] (which is also based on Electron) and integrates with the Atom pane system (see image 2)
- * A wrapper for JavaFX's `WebEngine`, which is useful for code written in Java (see image 4)
- * Previously, the preferred frontend used [Firefox-XUL][4], but Mozilla has since dropped XUL
-
-
-
-![DomTerm terminal panes in Atom editor][6]
-
-Image 2: DomTerm terminal panes in Atom editor. [View larger image.][7]
-
-Currently, the Electron frontend is probably the nicest option, closely followed by the Qt frontend. If you use Atom, `atom-domterm` works pretty well.
-
-The backend server is written in C. It manages pseudo terminals (PTYs) and sessions. It is also an HTTP server that provides the JavaScript and other files to the frontend. The `domterm` command starts terminal jobs and performs other requests. If there is no server running, `domterm` daemonizes itself. Communication between the backend and the server is normally done using WebSockets (with [libwebsockets][8] on the server). However, the JavaFX embedding uses neither WebSockets nor the DomTerm server; instead Java applications communicate directly using the Java-JavaScript bridge.
-
-### A solid xterm-compatible terminal emulator
-
-DomTerm looks and feels like a modern terminal emulator. It handles mouse events, 24-bit color, Unicode, double-width (CJK) characters, and input methods. DomTerm does a very good job on the [vttest testsuite][9].
-
-Unusual features include:
-
-**Show/hide buttons ("folding"):** The little triangles (seen in image 2 above) are buttons that hide/show the corresponding output. To create the buttons, just add certain [escape sequences][10] in the [prompt text][11].
-
-**Mouse-click support for`readline` and similar input editors:** If you click in the (yellow) input area, DomTerm will send the right sequence of arrow-key keystrokes to the application. (This is enabled by escape sequences in the prompt; you can also force it using Alt+Click.)
-
-**Style the terminal using CSS:** This is usually done in `~/.domterm/settings.ini`, which is automatically reloaded when saved. For example, in image 2, terminal-specific background colors were set.
-
-### A better REPL console
-
-A classic terminal emulator works on rectangular grids of character cells. This works for a REPL (command shell), but it is not ideal. Here are some DomTerm features useful for REPLs that are not typically found in terminal emulators:
-
-**A command can "print" an image, a graph, a mathematical formula, or a set of clickable links:** An application can send an escape sequence containing almost any HTML. (The HTML is scrubbed to remove JavaScript and other dangerous features.)
-
-The image 3 shows a fragment from a [`gnuplot`][12] session. Gnuplot (2.1 or later) supports `domterm` as a terminal type. Graphical output is converted to an [SVG image][13], which is then printed to the terminal. My blog post [Gnuplot display on DomTerm][14] provides more information on this.
-
-
-Image 3: Gnuplot screenshot. View larger image.
-
-The [Kawa][15] language has a library for creating and transforming [geometric picture values][16]. If you print such a picture value to a DomTerm terminal, the picture is converted to SVG and embedded in the output.
-
-
-Image 4: Computable geometry in Kawa. View larger image.
-
-**Rich text in output:** Help messages are more readable and look nicer with HTML styling. The lower pane of image 1 shows the ouput from `domterm help`. (The output is plaintext if not running under DomTerm.) Note the `PAUSED` message from the built-in pager.
-
-**Error messages can include clickable links:** DomTerm recognizes the syntax `filename:line:column:` and turns it into a link that opens the file and line in a configurable text editor. (This works for relative filenames if you use `PROMPT_COMMAND` or similar to track directories.)
-
-A compiler can detect that it is running under DomTerm and directly emit file links in an escape sequence. This is more robust than depending on DomTerm's pattern matching, as it handles spaces and other special characters, and it does not depend on directory tracking. In image 4, you can see error messages from the [Kawa compiler][15]. Hovering over the file position causes it to be underlined, and the `file:` URL shows in the `atom-domterm` message area (bottom of the window). (When not using `atom-domterm`, such messages are shown in an overlay box, as seen for the `PAUSED` message in image 1.)
-
-The action when clicking on a link is configurable. The default action for a `file:` link with a `#position` suffix is to open the file in a text editor.
-
-**Structured internal representation:** The following are all represented in the internal node structure: Commands, prompts, input lines, normal and error output, tabs, and preserving the structure if you "Save as HTML." The HTML file is compatible with XML, so you can use XML tools to search or transform the output. The command `domterm view-saved` opens a saved HTML file in a way that enables command folding (show/hide buttons are active) and reflow on window resize.
-
-**Built-in Lisp-style pretty-printing:** You can include pretty-printing directives (e.g., grouping) in the output such that line breaks are recalculated on window resize. See my article [Dynamic pretty-printing in DomTerm][17] for a deeper discussion.
-
-**Basic built-in line editing** with history (like `GNU readline`): This uses the browser's built-in editor, so it has great mouse and selection handling. You can switch between normal character-mode (most characters typed are sent directly to the process); or line-mode (regular characters are inserted while control characters cause editing actions, with Enter sending the edited line to the process). The default is automatic mode, where DomTerm switches between character-mode and line-mode depending on whether the PTY is in raw or canonical mode.
-
-**A built-in pager** (like a simplified `less`): Keyboard shortcuts will control scrolling. In "paging mode," the output pauses after each new screen (or single line, if you move forward line-by-line). The paging mode is unobtrusive and smart about user input, so you can (if you wish) run it without it interfering with interactive programs.
-
-### Multiplexing and sessions
-
-**Tabs and tiling:** Not only can you create multiple terminal tabs, you can also tile them. You can use either the mouse or a keyboard shortcut to move between panes and tabs as well as create new ones. They can be rearranged and resized with the mouse. This is implemented using the [GoldenLayout][18] JavaScript library. [Image 1][19] shows a window with two panes. The top one has two tabs, with one running [Midnight Commander][20]; the bottom pane shows `domterm help` output as HTML. However, on Atom we instead use its built-in draggable tiles and tabs; you can see this in image 2.
-
-**Detaching and reattaching to sessions:** DomTerm supports sessions arrangement, similar to `tmux` and GNU `screen`. You can even attach multiple windows or panes to the same session. This supports multi-user session sharing and remote connections. (For security, all sessions of the same server need to be able to read a Unix domain socket and a local file containing a random key. This restriction will be lifted when we have a good, safe remote-access story.)
-
-**The** **`domterm`** **command** is also like `tmux` or GNU `screen` in that has multiple options for controlling or starting a server that manages one or more sessions. The major difference is that, if it's not already running under DomTerm, the `domterm` command creates a new top-level window, rather than running in the existing terminal.
-
-The `domterm` command has a number of sub-commands, similar to `tmux` or `git`. Some sub-commands create windows or sessions. Others (such as "printing" an image) only work within an existing DomTerm session.
-
-The command `domterm browse` opens a window or pane for browsing a specified URL, such as when browsing documentation.
-
-### Getting and installing DomTerm
-
-DomTerm is available from its [GitHub repository][21]. Currently, there are no prebuilt packages, but there are [detailed instructions][22]. All prerequisites are available on Fedora 27, which makes it especially easy to build.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/18/1/introduction-domterm-terminal-emulator
-
-作者:[Per Bothner][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://opensource.com/users/perbothner
-[1]:http://domterm.org/
-[2]:https://electronjs.org/
-[3]:https://atom.io/
-[4]:https://en.wikipedia.org/wiki/XUL
-[5]:/file/385346
-[6]:https://opensource.com/sites/default/files/images/dt-atom1.png (DomTerm terminal panes in Atom editor)
-[7]:https://opensource.com/sites/default/files/images/dt-atom1.png
-[8]:https://libwebsockets.org/
-[9]:http://invisible-island.net/vttest/
-[10]:http://domterm.org/Wire-byte-protocol.html
-[11]:http://domterm.org/Shell-prompts.html
-[12]:http://www.gnuplot.info/
-[13]:https://developer.mozilla.org/en-US/docs/Web/SVG
-[14]:http://per.bothner.com/blog/2016/gnuplot-in-domterm/
-[15]:https://www.gnu.org/software/kawa/
-[16]:https://www.gnu.org/software/kawa/Composable-pictures.html
-[17]:http://per.bothner.com/blog/2017/dynamic-prettyprinting/
-[18]:https://golden-layout.com/
-[19]:https://opensource.com/sites/default/files/u128651/domterm1.png
-[20]:https://midnight-commander.org/
-[21]:https://github.com/PerBothner/DomTerm
-[22]:http://domterm.org/Downloading-and-building.html
diff --git a/sources/tech/20180312 ddgr - A Command Line Tool To Search DuckDuckGo From The Terminal.md b/sources/tech/20180312 ddgr - A Command Line Tool To Search DuckDuckGo From The Terminal.md
deleted file mode 100644
index 555a475651..0000000000
--- a/sources/tech/20180312 ddgr - A Command Line Tool To Search DuckDuckGo From The Terminal.md
+++ /dev/null
@@ -1,231 +0,0 @@
-ddgr – A Command Line Tool To Search DuckDuckGo From The Terminal
-======
-Bash tricks are really awesome in Linux that makes everything is possible in Linux.
-
-It really works well for developers or system admins because they are spending most of the time with terminal. Did you know why they are preferring this tricks?
-
-These trick will improve their productivity and also make them to work fast.
-
-### What Is ddgr
-
-[ddgr][1] is a command-line utility to search DuckDuckGo from the terminal. ddgr works out of the box with several text-based browsers if the BROWSER environment variable is set.
-
-Make sure your system should have installed any text-based browsers. You may know about [googler][2] that allow users to perform Google searches from the Linux command line.
-
-It’s highly popular among cmdline users and they are expect the similar utility for privacy-aware DuckDuckGo, that’s why ddgr came to picture.
-
-Unlike the web interface, you can specify the number of search results you would like to see per page.
-
-**Suggested Read :**
-**(#)** [Googler – Google Search From The Linux Command Line][2]
-**(#)** [Buku – A Powerful Command-line Bookmark Manager for Linux][3]
-**(#)** [SoCLI – Easy Way To Search And Browse Stack Overflow From The Terminal][4]
-**(#)** [RTV (Reddit Terminal Viewer) – A Simple Terminal Viewer For Reddit][5]
-
-### What Is DuckDuckGo
-
-DDG stands for DuckDuckGo. DuckDuckGo (DDG) is an Internet search engine that really protecting users search and privacy.
-
-They didn’t filter users personalized search results and It’s showing the same search results to all users for a given search term.
-
-Most of the users prefer google search engine, if you really worrying about privacy then you can blindly go with DuckDuckGo.
-
-### ddgr Features
-
- * Fast and clean (no ads, stray URLs or clutter), custom color
- * Designed to deliver maximum readability at minimum space
- * Specify the number of search results to show per page
- * Navigate result pages from omniprompt, open URLs in browser
- * Search and option completion scripts for Bash, Zsh and Fish
- * DuckDuckGo Bang support (along with completion)
- * Open the first result directly in browser (as in I’m Feeling Ducky)
- * Non-stop searches: fire new searches at omniprompt without exiting
- * Keywords (e.g. filetype:mime, site:somesite.com) support
- * Limit search by time, specify region, disable safe search
- * HTTPS proxy support, Do Not Track set, optionally disable User Agent
- * Support custom url handler script or cmdline utility
- * Comprehensive documentation, man page with handy usage examples
- * Minimal dependencies
-
-
-
-### Prerequisites
-
-ddgr requires Python 3.4 or later. So, make sure you system should have Python 3.4 or later version.
-```
-$ python3 --version
-Python 3.6.3
-
-```
-
-### How To Install ddgr In Linux
-
-We can easily install ddgr using the following command based on the distributions.
-
-For **`Fedora`** , use [DNF Command][6] to install ddgr.
-```
-# dnf install ddgr
-
-```
-
-Alternatively we can use [SNAP Command][7] to install ddgr.
-```
-# snap install ddgr
-
-```
-
-For **`LinuxMint/Ubuntu`** , use [APT-GET Command][8] or [APT Command][9] to install ddgr.
-```
-$ sudo add-apt-repository ppa:twodopeshaggy/jarun
-$ sudo apt-get update
-$ sudo apt-get install ddgr
-
-```
-
-For **`Arch Linux`** based systems, use [Yaourt Command][10] or [Packer Command][11] to install ddgr from AUR repository.
-```
-$ yaourt -S ddgr
-or
-$ packer -S ddgr
-
-```
-
-For **`Debian`** , use [DPKG Command][12] to install ddgr.
-```
-# wget https://github.com/jarun/ddgr/releases/download/v1.2/ddgr_1.2-1_debian9.amd64.deb
-# dpkg -i ddgr_1.2-1_debian9.amd64.deb
-
-```
-
-For **`CentOS 7`** , use [YUM Command][13] to install ddgr.
-```
-# yum install https://github.com/jarun/ddgr/releases/download/v1.2/ddgr-1.2-1.el7.3.centos.x86_64.rpm
-
-```
-
-For **`opensuse`** , use [zypper Command][14] to install ddgr.
-```
-# zypper install https://github.com/jarun/ddgr/releases/download/v1.2/ddgr-1.2-1.opensuse42.3.x86_64.rpm
-
-```
-
-### How To Launch ddgr
-
-Enter the `ddgr` command without any option on terminal to bring DuckDuckGo search. You will get the same output similar to below.
-```
-$ ddgr
-
-```
-
-![][16]
-
-### How To Search Using ddgr
-
-We can initiate the search through two ways. Either from omniprompt or directly from terminal. You can search any phrases which you want.
-
-Directly from terminal.
-```
-$ ddgr 2daygeek
-
-```
-
-![][17]
-
-From `omniprompt`.
-![][18]
-
-### Omniprompt Shortcut
-
-Enter `?` to obtain the `omniprompt`, which will show you list of keywords and shortcut to work further with ddgr.
-![][19]
-
-### How To Move Next,Previous, and Fist Page
-
-It allows user to move next page or previous page or first page.
-
- * `n:` Move to next set of search results
- * `p:` Move to previous set of search results
- * `f:` Jump to the first page
-
-
-
-![][20]
-
-### How To Initiate A New Search
-
-“ **d** ” option allow users to initiate a new search from omniprompt. For example, i searched about `2daygeek website` and now i’m going to initiate a new search with phrase “ **Magesh Maruthamuthu** “.
-
-From `omniprompt`.
-```
-ddgr (? for help) d magesh maruthmuthu
-
-```
-
-![][21]
-
-### Show Complete URLs In Search Result
-
-By default it shows only an article heading, add the “ **x** ” option in search to show complete article urls in search result.
-```
-$ ddgr -n 5 -x 2daygeek
-
-```
-
-![][22]
-
-### Limit Search Results
-
-By default search results shows 10 results per page. If you want to limit the page results for your convenience, you can do by passing `--num or -n` argument with ddgr.
-```
-$ ddgr -n 5 2daygeek
-
-```
-
-![][23]
-
-### Website Specific Search
-
-To search specific pages from the particular website, use the below format. This will fetch the results for given keywords from the website. For example, We are going search about “ **Package Manager** ” from 2daygeek website. See the results.
-```
-$ ddgr -n 5 --site 2daygeek "package manager"
-
-```
-
-![][24]
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/ddgr-duckduckgo-search-from-the-command-line-in-linux/
-
-作者:[Magesh Maruthamuthu][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-选题:[lujun9972](https://github.com/lujun9972)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://www.2daygeek.com/author/magesh/
-[1]:https://github.com/jarun/ddgr
-[2]:https://www.2daygeek.com/googler-google-search-from-the-command-line-on-linux/
-[3]:https://www.2daygeek.com/buku-command-line-bookmark-manager-linux/
-[4]:https://www.2daygeek.com/socli-search-and-browse-stack-overflow-from-linux-terminal/
-[5]:https://www.2daygeek.com/rtv-reddit-terminal-viewer-a-simple-terminal-viewer-for-reddit/
-[6]:https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
-[7]:https://www.2daygeek.com/snap-command-examples/
-[8]:https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
-[9]:https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
-[10]:https://www.2daygeek.com/install-yaourt-aur-helper-on-arch-linux/
-[11]:https://www.2daygeek.com/install-packer-aur-helper-on-arch-linux/
-[12]:https://www.2daygeek.com/dpkg-command-to-manage-packages-on-debian-ubuntu-linux-mint-systems/
-[13]:https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
-[14]:https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
-[15]:data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
-[16]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux1.png
-[17]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-3.png
-[18]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-2.png
-[19]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-4.png
-[20]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-5a.png
-[21]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-6a.png
-[22]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-7a.png
-[23]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-8.png
-[24]:https://www.2daygeek.com/wp-content/uploads/2018/03/ddgr-duckduckgo-command-line-search-for-linux-9a.png
diff --git a/sources/tech/20180324 Memories of writing a parser for man pages.md b/sources/tech/20180324 Memories of writing a parser for man pages.md
deleted file mode 100644
index fb53aed395..0000000000
--- a/sources/tech/20180324 Memories of writing a parser for man pages.md
+++ /dev/null
@@ -1,109 +0,0 @@
-Memories of writing a parser for man pages
-======
-
-I generally enjoy being bored, but sometimes enough is enough—that was the case a Sunday afternoon of 2015 when I decided to start an open source project to overcome my boredom.
-
-In my quest for ideas, I stumbled upon a request to build a [“Man page viewer built with web standards”][1] by [Mathias Bynens][2] and without thinking too much, I started coding a man page parser in JavaScript, which after a lot of back and forths, ended up being [Jroff][3].
-
-Back then, I was familiar with manual pages as a concept and used them a fair amount of times, but that was all I knew, I had no idea how they were generated or if there was a standard in place. Two years later, here are some thoughts on the matter.
-
-### How man pages are written
-
-The first thing that surprised me at the time, was the notion that manpages at their core are just plain text files stored somewhere in the system (you can check this directory using the `manpath` command).
-
-This files not only contain the documentation, but also formatting information using a typesetting system from the 1970s called `troff`.
-
-> troff, and its GNU implementation groff, are programs that process a textual description of a document to produce typeset versions suitable for printing. **It’s more ‘What you describe is what you get’ rather than WYSIWYG.**
->
-> — extracted from [troff.org][4]
-
-If you are totally unfamiliar with typesetting formats, you can think of them as Markdown on steroids, but in exchange for the flexibility you have a more complex syntax:
-
-![groff-compressor][5]
-
-The `groff` file can be written manually, or generated from other formats such as Markdown, Latex, HTML, and so on with many different tools.
-
-Why `groff` and man pages are tied together has to do with history, the format has [mutated along time][6], and his lineage is composed of a chain of similarly-named programs: RUNOFF > roff > nroff > troff > groff.
-
-But this doesn’t necessarily mean that `groff` is strictly related to man pages, it’s a general-purpose format that has been used to [write books][7] and even for [phototypesetting][8].
-
-Moreover, It’s worth noting that `groff` can also call a postprocessor to convert its intermediate output to a final format, which is not necessarily ascii for terminal display! some of the supported formats are: TeX DVI, HTML, Canon, HP LaserJet4 compatible, PostScript, utf8 and many more.
-
-### Macros
-
-Other of the cool features of the format is its extensibility, you can write macros that enhance the basic functionalities.
-
-With the vast history of *nix systems, there are several macro packages that group useful macros together for specific functionalities according to the output that you want to generate, examples of macro packages are `man`, `mdoc`, `mom`, `ms`, `mm`, and the list goes on.
-
-Manual pages are conventionally written using `man` and `mdoc`.
-
-You can easily distinguish native `groff` commands from macros by the way standard `groff` packages capitalize their macro names. For `man`, each macro’s name is uppercased, like .PP, .TH, .SH, etc. For `mdoc`, only the first letter is uppercased: .Pp, .Dt, .Sh.
-
-![groff-example][9]
-
-### Challenges
-
-Whether you are considering to write your own `groff` parser, or just curious, these are some of the problems that I have found more challenging.
-
-#### Context-sensitive grammar
-
-Formally, `groff` has a context-free grammar, unfortunately, since macros describe opaque bodies of tokens, the set of macros in a package may not itself implement a context-free grammar.
-
-This kept me away (for good or bad) from the parser generators that were available at the time.
-
-#### Nested macros
-
-Most of the macros in `mdoc` are callable, this roughly means that macros can be used as arguments of other macros, for example, consider this:
-
- * The macro `Fl` (Flag) adds a dash to its argument, so `Fl s` produces `-s`
- * The macro `Ar` (Argument) provides facilities to define arguments
- * The `Op` (Optional) macro wraps its argument in brackets, as this is the standard idiom to define something as optional.
- * The following combination `.Op Fl s Ar file` produces `[-s file]` because `Op` macros can be nested.
-
-
-
-#### Lack of beginner-friendly resources
-
-Something that really confused me was the lack of a canonical, well defined and clear source to look at, there’s a lot of information in the web which assumes a lot about the reader that it takes time to grasp.
-
-### Interesting macros
-
-To wrap up, I will offer to you a very short list of macros that I found interesting while developing jroff:
-
-**man**
-
- * TH: when writing manual pages with `man` macros, your first line that is not a comment must be this macro, it accepts five parameters: title section date source manual
- * BI: bold alternating with italics (especially useful for function specifications)
- * BR: bold alternating with Roman (especially useful for referring to other manual pages)
-
-
-
-**mdoc**
-
- * .Dd, .Dt, .Os: similar to how `man` macros require the `.TH` the `mdoc` macros require these three macros, in that particular order. Their initials stand for: Document date, Document title and Operating system.
- * .Bl, .It, .El: these three macros are used to create list, their names are self-explanatory: Begin list, Item and End list.
-
-
-
-
---------------------------------------------------------------------------------
-
-via: https://monades.roperzh.com/memories-writing-parser-man-pages/
-
-作者:[Roberto Dip][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-选题:[lujun9972](https://github.com/lujun9972)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://monades.roperzh.com
-[1]:https://github.com/h5bp/lazyweb-requests/issues/114
-[2]:https://mathiasbynens.be/
-[3]:jroff
-[4]:https://www.troff.org/
-[5]:https://user-images.githubusercontent.com/4419992/37868021-2e74027c-2f7f-11e8-894b-80829ce39435.gif
-[6]:https://manpages.bsd.lv/history.html
-[7]:https://rkrishnan.org/posts/2016-03-07-how-is-gopl-typeset.html
-[8]:https://en.wikipedia.org/wiki/Phototypesetting
-[9]:https://user-images.githubusercontent.com/4419992/37866838-e602ad78-2f6e-11e8-97a9-2a4494c766ae.jpg
diff --git a/sources/tech/20180416 How To Resize Active-Primary root Partition Using GParted Utility.md b/sources/tech/20180416 How To Resize Active-Primary root Partition Using GParted Utility.md
deleted file mode 100644
index f75baf6166..0000000000
--- a/sources/tech/20180416 How To Resize Active-Primary root Partition Using GParted Utility.md
+++ /dev/null
@@ -1,181 +0,0 @@
-How To Resize Active/Primary root Partition Using GParted Utility
-======
-Today we are going to discuss about disk partition. It’s one of the best topics in Linux. This allow users to resize the active root partition in Linux.
-
-In this article we will teach you how to resize the active root partition on Linux using Gparted utility.
-
-Just imagine, our system has 30GB disk and we didn’t configure properly while installation the Ubuntu operating system.
-
-We need to install another OS in that so we want to make secondary partition on that.
-
-Its not advisable to resize active partition. However, we are going to perform this as there is no way to free up the system.
-
-Make sure you should take backup of important data before performing this action because if something goes wrong (For example, if power got failure or your system got rebooted), you can retain your data.
-
-### What Is Gparted
-
-[GParted][1] is a free partition manager that enables you to resize, copy, and move partitions without data loss. We can use all of the features of the GParted application is by using the GParted Live bootable image. GParted Live enables you to use GParted on GNU/Linux as well as other operating systems, such as Windows or Mac OS X.
-
-### 1) Check Disk Space Usage Using df Command
-
-I just want to show you about my partition using df command. The df command output clearly showing that i only have one partition.
-```
-$ df -h
-Filesystem Size Used Avail Use% Mounted on
-/dev/sda1 30G 3.4G 26.2G 16% /
-none 4.0K 0 4.0K 0% /sys/fs/cgroup
-udev 487M 4.0K 487M 1% /dev
-tmpfs 100M 844K 99M 1% /run
-none 5.0M 0 5.0M 0% /run/lock
-none 498M 152K 497M 1% /run/shm
-none 100M 52K 100M 1% /run/user
-
-```
-
-### 2) Check Disk Partition Using fdisk Command
-
-I’m going to verify this using fdisk command.
-```
-$ sudo fdisk -l
-[sudo] password for daygeek:
-
-Disk /dev/sda: 33.1 GB, 33129218048 bytes
-255 heads, 63 sectors/track, 4027 cylinders, total 64705504 sectors
-Units = sectors of 1 * 512 = 512 bytes
-Sector size (logical/physical): 512 bytes / 512 bytes
-I/O size (minimum/optimal): 512 bytes / 512 bytes
-Disk identifier: 0x000473a3
-
- Device Boot Start End Blocks Id System
-/dev/sda1 * 2048 62609407 31303680 83 Linux
-/dev/sda2 62611454 64704511 1046529 5 Extended
-/dev/sda5 62611456 64704511 1046528 82 Linux swap / Solaris
-
-```
-
-### 3) Download GParted live ISO Image
-
-Use the below command to download GParted live ISO to perform this action.
-```
-$ wget https://downloads.sourceforge.net/gparted/gparted-live-0.31.0-1-amd64.iso
-
-```
-
-### 4) Boot Your System With GParted Live Installation Media
-
-Boot your system with GParted live installation media (like Burned CD/DVD or USB or ISO image). You will get the output similar to below screen. Here choose **GParted Live (Default settings)** and hit **Enter**.
-![][3]
-
-### 5) Keyboard Selection
-
-By default it chooses the second option, just hit **Enter**.
-![][4]
-
-### 6) Language Selection
-
-By default it chooses **33** for US English, just hit **Enter**.
-![][5]
-
-### 7) Mode Selection (GUI or Command-Line)
-
-By default it chooses **0** for GUI mode, just hit **Enter**.
-![][6]
-
-### 8) Loaded GParted Live Screen
-
-Now, GParted live screen is loaded. It is showing the list of partition which was created by me earlier.
-![][7]
-
-### 9) How To Resize The root Partition
-
-Choose the root partition you want to resize, only one partition is available here so i’m going to edit that partition to install another OS.
-![][8]
-
-To do so, press **Resize/Move** button to resize the partition.
-![][9]
-
-Here, enter the size which you want take out from this partition in first box. I’m going to claim **10GB** so, i added **10240MB** and leave rest of boxes as default, then hit **Resize/Move** button
-![][10]
-
-It will ask you once again to confirm to resize the partition because you are editing the live system partition, then hit **Ok**.
-![][11]
-
-It has been successfully shrink the partition from 30GB to 20GB. Also shows Unallocated disk space of 10GB.
-![][12]
-
-Finally click `Apply` button to perform remaining below operations.
-![][13]
-
- * **`e2fsck`** e2fsck is a file system check utility that automatically repair the file system for bad sectors, I/O errors related to HDD.
- * **`resize2fs`** The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device.
- * **`e2image`** The e2image program will save critical ext2, ext3, or ext4 filesystem metadata located on device to a file specified by image-file.
-
-
-
-**`e2fsck`** e2fsck is a file system check utility that automatically repair the file system for bad sectors, I/O errors related to HDD.
-![][14]
-
-**`resize2fs`** The resize2fs program will resize ext2, ext3, or ext4 file systems. It can be used to enlarge or shrink an unmounted file system located on device.
-![][15]
-
-**`e2image`** The e2image program will save critical ext2, ext3, or ext4 filesystem metadata located on device to a file specified by image-file.
-![][16]
-
-All the operation got completed and close the dialog box.
-![][17]
-
-Now, i could able to see **10GB** of Unallocated disk partition.
-![][18]
-
-Reboot the system to check this.
-![][19]
-
-### 10) Check Free Space
-
-Login to the system back and use fdisk command to see the available space in the partition. Yes i could see **10GB** of Unallocated disk space on this partition.
-```
-$ sudo parted /dev/sda print free
-[sudo] password for daygeek:
-Model: ATA VBOX HARDDISK (scsi)
-Disk /dev/sda: 32.2GB
-Sector size (logical/physical): 512B/512B
-Partition Table: msdos
-Disk Flags:
-
-Number Start End Size Type File system Flags
- 32.3kB 10.7GB 10.7GB Free Space
- 1 10.7GB 32.2GB 21.5GB primary ext4 boot
-
-```
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility/
-
-作者:[Magesh Maruthamuthu][a]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-选题:[lujun9972](https://github.com/lujun9972)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://www.2daygeek.com/author/magesh/
-[1]:https://gparted.org/
-[2]:data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
-[3]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-1.png
-[4]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-2.png
-[5]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-3.png
-[6]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-4.png
-[7]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-5.png
-[8]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-6.png
-[9]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-7.png
-[10]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-8.png
-[11]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-9.png
-[12]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-10.png
-[13]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-11.png
-[14]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-12.png
-[15]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-13.png
-[16]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-14.png
-[17]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-15.png
-[18]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-16.png
-[19]:https://www.2daygeek.com/wp-content/uploads/2014/08/how-to-resize-active-primary-root-partition-in-linux-using-gparted-utility-17.png
diff --git a/sources/tech/20180429 The Easiest PDO Tutorial (Basics).md b/sources/tech/20180429 The Easiest PDO Tutorial (Basics).md
deleted file mode 100644
index 9bda5fa335..0000000000
--- a/sources/tech/20180429 The Easiest PDO Tutorial (Basics).md
+++ /dev/null
@@ -1,170 +0,0 @@
-The Easiest PDO Tutorial (Basics)
-======
-
-
-
-Approximately 80% of the web is powered by PHP. And similarly, high number goes for SQL as well. Up until PHP version 5.5, we had the **mysql_** commands for accessing mysql databases but they were eventually deprecated due to insufficient security.
-
-This happened with PHP 5.5 in 2013 and as I write this article, the year is 2018 and we are on PHP 7.2. The deprecation of mysql**_** brought 2 major ways of accessing the database, the **mysqli** and the **PDO** libraries.
-
-Now though the mysqli library was the official successor, PDO gained more fame due to a simple reason that mysqli could only support mysql databases whereas PDO could support 12 different types of database drivers. Also, PDO had several more features that made it the better choice for most developers. You can see some of the feature comparisons in the table below;
-
-| | PDO | MySQLi |
-| Database support** | 12 drivers | Only MySQL |
-| Paradigm | OOP | Procedural + OOP |
-| Prepared Statements Client Side) | Yes | No |
-| Named Parameters | Yes | No |
-
-Now I guess it is pretty clear why PDO is the choice for most developers, so let’s dig into it and hopefully we will try to cover most of the PDO you need in this article itself.
-
-### Connection
-
-The first step is connecting to the database and since PDO is completely Object Oriented, we will be using the instance of a PDO class.
-
-The first thing we do is we define the host, database name, user, password and the database charset.
-
-`$host = 'localhost';`
-
-`$db = 'theitstuff';`
-
-`$user = 'root';`
-
-`$pass = 'root';`
-
-`$charset = 'utf8mb4';`
-
-`$dsn = "mysql:host=$host;dbname=$db;charset=$charset";`
-
-`$conn = new PDO($dsn, $user, $pass);`
-
-After that, as you can see in the code above we have created the **DSN** variable, the DSN variable is simply a variable that holds the information about the database. For some people running mysql on external servers, you could also adjust your port number by simply supplying a **port=$port_number**.
-
-Finally, you can create an instance of the PDO class, I have used the **$conn** variable and I have supplied the **$dsn, $user, $pass** parameters. If you have followed this, you should now have an object named $conn that is an instance of the PDO connection class. Now it’s time to get into the database and run some queries.
-
-### A simple SQL Query
-
-Let us now run a simple SQL query.
-
-`$tis = $conn->query('SELECT name, age FROM students');`
-
-`while ($row = $tis->fetch())`
-
-`{`
-
-`echo $row['name']."\t";`
-
-`echo $row['age'];`
-
-`echo "
";`
-
-`}`
-
-This is the simplest form of running a query with PDO. We first created a variable called **tis( **short for TheITStuff** )** and then you can see the syntax as we used the query function from the $conn object that we had created.
-
-We then ran a while loop and created a **$row** variable to fetch the contents from the **$tis** object and finally echoed out each row by calling out the column name.
-
-Easy wasn’t it ?. Now let’s get to the prepared statement.
-
-### Prepared Statements
-
-Prepared statements were one of the major reasons people started using PDO as it had prepared statements that could prevent SQL injections.
-
-There are 2 basic methods available, you could either use positional or named parameters.
-
-#### Position parameters
-
-Let us see an example of a query using positional parameters.
-
-`$tis = $conn->prepare("INSERT INTO STUDENTS(name, age) values(?, ?)");`
-
-`$tis->bindValue(1,'mike');`
-
-`$tis->bindValue(2,22);`
-
-`$tis->execute();`
-
-In the above example, we have placed 2 question marks and later used the **bindValue()** function to map the values into the query. The values are bound to the position of the question mark in the statement.
-
-I could also use variables instead of directly supplying values by using the **bindParam()** function and example for the same would be this.
-
-`$name='Rishabh'; $age=20;`
-
-`$tis = $conn->prepare("INSERT INTO STUDENTS(name, age) values(?, ?)");`
-
-`$tis->bindParam(1,$name);`
-
-`$tis->bindParam(2,$age);`
-
-`$tis->execute();`
-
-### Named Parameters
-
-Named parameters are also prepared statements that map values/variables to a named position in the query. Since there is no positional binding, it is very efficient in queries that use the same variable multiple time.
-
-`$name='Rishabh'; $age=20;`
-
-`$tis = $conn->prepare("INSERT INTO STUDENTS(name, age) values(:name, :age)");`
-
-`$tis->bindParam(':name', $name);`
-
-`$tis->bindParam(':age', $age);`
-
-`$tis->execute();`
-
-The only change you can notice is that I used **:name** and **:age** as placeholders and then mapped variables to them. The colon is used before the parameter and it is of extreme importance to let PDO know that the position is for a variable.
-
-You can similarly use **bindValue()** to directly map values using Named parameters as well.
-
-### Fetching the Data
-
-PDO is very rich when it comes to fetching data and it actually offers a number of formats in which you can get the data from your database.
-
-You can use the **PDO::FETCH_ASSOC** to fetch associative arrays, **PDO::FETCH_NUM** to fetch numeric arrays and **PDO::FETCH_OBJ** to fetch object arrays.
-
-`$tis = $conn->prepare("SELECT * FROM STUDENTS");`
-
-`$tis->execute();`
-
-`$result = $tis->fetchAll(PDO::FETCH_ASSOC);`
-
-You can see that I have used **fetchAll** since I wanted all matching records. If only one row is expected or desired, you can simply use **fetch.**
-
-Now that we have fetched the data it is time to loop through it and that is extremely easy.
-
-`foreach($result as $lnu){`
-
-`echo $lnu['name'];`
-
-`echo $lnu['age']."
";`
-
-`}`
-
-You can see that since I had requested associative arrays, I am accessing individual members by their names.
-
-Though there is absolutely no problem in defining how you want your data delivered, you could actually set one as default when defining the connection variable itself.
-
-All you need to do is create an options array where you put in all your default configs and simply pass the array in the connection variable.
-
-`$options = [`
-
-` PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,`
-
-`];`
-
-`$conn = new PDO($dsn, $user, $pass, $options);`
-
-This was a very brief and quick intro to PDO we will be making an advanced tutorial soon. If you had any difficulties understanding any part of the tutorial, do let me know in the comment section and I’ll be there for you.
-
-
---------------------------------------------------------------------------------
-
-via: http://www.theitstuff.com/easiest-pdo-tutorial-basics
-
-作者:[Rishabh Kandari][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:http://www.theitstuff.com/author/reevkandari
diff --git a/sources/tech/20180529 Manage your workstation with Ansible- Configure desktop settings.md b/sources/tech/20180529 Manage your workstation with Ansible- Configure desktop settings.md
index d04ee6d742..ed85b172af 100644
--- a/sources/tech/20180529 Manage your workstation with Ansible- Configure desktop settings.md
+++ b/sources/tech/20180529 Manage your workstation with Ansible- Configure desktop settings.md
@@ -1,3 +1,5 @@
+Translating by MjSeven
+
Manage your workstation with Ansible: Configure desktop settings
======
diff --git a/sources/tech/20180604 BootISO - A Simple Bash Script To Securely Create A Bootable USB Device From ISO File.md b/sources/tech/20180604 BootISO - A Simple Bash Script To Securely Create A Bootable USB Device From ISO File.md
deleted file mode 100644
index f716a164a5..0000000000
--- a/sources/tech/20180604 BootISO - A Simple Bash Script To Securely Create A Bootable USB Device From ISO File.md
+++ /dev/null
@@ -1,172 +0,0 @@
-BootISO – A Simple Bash Script To Securely Create A Bootable USB Device From ISO File
-======
-Most of us (including me) very often create a bootable USB device from ISO file for OS installation.
-
-There are many applications freely available in Linux for this purpose. Even we wrote few of the utility in the past.
-
-Every one uses different application and each application has their own features and functionality.
-
-In that few of applications are belongs to CLI and few of them associated with GUI.
-
-Today we are going to discuss about similar kind of utility called BootISO. It’s a simple bash script, which allow users to create a USB device from ISO file.
-
-Many of the Linux admin uses dd command to create bootable ISO, which is one of the native and famous method but the same time, it’s one of the very dangerous command. So, be careful, when you performing any action with dd command.
-
-**Suggested Read :**
-**(#)** [Etcher – Easy way to Create a bootable USB drive & SD card from an ISO image][1]
-**(#)** [Create a bootable USB drive from an ISO image using dd command on Linux][2]
-
-### What IS BootISO
-
-[BootIOS][3] is a simple bash script, which allow users to securely create a bootable USB device from one ISO file. It’s written in bash.
-
-It doesn’t offer any GUI but in the same time it has vast of options, which allow newbies to create a bootable USB device in Linux without any issues. Since it’s a intelligent tool that automatically choose if any USB device is connected on the system.
-
-It will print the list when the system has more than one USB device connected. When you choose manually another hard disk manually instead of USB, this will safely exit without writing anything on it.
-
-This script will also check for dependencies and prompt user for installation, it works with all package managers such as apt-get, yum, dnf, pacman and zypper.
-
-### BootISO Features
-
- * It checks whether the selected ISO has the correct mime-type or not. If no then it exit.
- * BootISO will exit automatically, if you selected any other disks (local hard drive) except USB drives.
- * BootISO allow users to select the desired USB drives when you have more than one.
- * BootISO prompts the user for confirmation before erasing and paritioning USB device.
- * BootISO will handle any failure from a command properly and exit.
- * BootISO will call a cleanup routine on exit with trap.
-
-
-
-### How To Install BootISO In Linux
-
-There are few ways are available to install BootISO in Linux but i would advise users to install using the following method.
-```
-$ curl -L https://git.io/bootiso -O
-$ chmod +x bootiso
-$ sudo mv bootiso /usr/local/bin/
-
-```
-
-Once BootISO installed, run the following command to list the available USB devices.
-```
-$ bootiso -l
-
-Listing USB drives available in your system:
-NAME HOTPLUG SIZE STATE TYPE
-sdd 1 32G running disk
-
-```
-
-If you have only one USB device, then simple run the following command to create a bootable USB device from ISO file.
-```
-$ bootiso /path/to/iso file
-
-$ bootiso /opt/iso_images/archlinux-2018.05.01-x86_64.iso
-Granting root privileges for bootiso.
-Listing USB drives available in your system:
-NAME HOTPLUG SIZE STATE TYPE
-sdd 1 32G running disk
-Autoselecting `sdd' (only USB device candidate)
-The selected device `/dev/sdd' is connected through USB.
-Created ISO mount point at `/tmp/iso.vXo'
-`bootiso' is about to wipe out the content of device `/dev/sdd'.
-Are you sure you want to proceed? (y/n)>y
-Erasing contents of /dev/sdd...
-Creating FAT32 partition on `/dev/sdd1'...
-Created USB device mount point at `/tmp/usb.0j5'
-Copying files from ISO to USB device with `rsync'
-Synchronizing writes on device `/dev/sdd'
-`bootiso' took 250 seconds to write ISO to USB device with `rsync' method.
-ISO succesfully unmounted.
-USB device succesfully unmounted.
-USB device succesfully ejected.
-You can safely remove it !
-
-```
-
-Mention your device name, when you have more than one USB device using `--device` option.
-```
-$ bootiso -d /dev/sde /opt/iso_images/archlinux-2018.05.01-x86_64.iso
-
-```
-
-By default bootios uses `rsync` command to perform all the action and if you want to use `dd` command instead of, use the following format.
-```
-$ bootiso --dd -d /dev/sde /opt/iso_images/archlinux-2018.05.01-x86_64.iso
-
-```
-
-If you want to skip `mime-type` check, include the following option with bootios utility.
-```
-$ bootiso --no-mime-check -d /dev/sde /opt/iso_images/archlinux-2018.05.01-x86_64.iso
-
-```
-
-Add the below option with bootios to skip user for confirmation before erasing and partitioning USB device.
-```
-$ bootiso -y -d /dev/sde /opt/iso_images/archlinux-2018.05.01-x86_64.iso
-
-```
-
-Enable autoselecting USB devices in conjunction with -y option.
-```
-$ bootiso -y -a /opt/iso_images/archlinux-2018.05.01-x86_64.iso
-
-```
-
-To know more all the available option for bootiso, run the following command.
-```
-$ bootiso -h
-Create a bootable USB from any ISO securely.
-Usage: bootiso [...]
-
-Options
-
--h, --help, help Display this help message and exit.
--v, --version Display version and exit.
--d, --device Select block file as USB device.
- If is not connected through USB, `bootiso' will fail and exit.
- Device block files are usually situated in /dev/sXX or /dev/hXX.
- You will be prompted to select a device if you don't use this option.
--b, --bootloader Install a bootloader with syslinux (safe mode) for non-hybrid ISOs. Does not work with `--dd' option.
--y, --assume-yes `bootiso' won't prompt the user for confirmation before erasing and partitioning USB device.
- Use at your own risks.
--a, --autoselect Enable autoselecting USB devices in conjunction with -y option.
- Autoselect will automatically select a USB drive device if there is exactly one connected to the system.
- Enabled by default when neither -d nor --no-usb-check options are given.
--J, --no-eject Do not eject device after unmounting.
--l, --list-usb-drives List available USB drives.
--M, --no-mime-check `bootiso' won't assert that selected ISO file has the right mime-type.
--s, --strict-mime-check Disallow loose application/octet-stream mime type in ISO file.
--- POSIX end of options.
---dd Use `dd' utility instead of mounting + `rsync'.
- Does not allow bootloader installation with syslinux.
---no-usb-check `bootiso' won't assert that selected device is a USB (connected through USB bus).
- Use at your own risks.
-
-Readme
-
- Bootiso v2.5.2.
- Author: Jules Samuel Randolph
- Bugs and new features: https://github.com/jsamr/bootiso/issues
- If you like bootiso, please help the community by making it visible:
- * star the project at https://github.com/jsamr/bootiso
- * upvote those SE post: https://goo.gl/BNRmvm https://goo.gl/YDBvFe
-
-```
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/bootiso-a-simple-bash-script-to-securely-create-a-bootable-usb-device-in-linux-from-iso-file/
-
-作者:[Prakash Subramanian][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://www.2daygeek.com/author/prakash/
-[1]:https://www.2daygeek.com/etcher-easy-way-to-create-a-bootable-usb-drive-sd-card-from-an-iso-image-on-linux/
-[2]:https://www.2daygeek.com/create-a-bootable-usb-drive-from-an-iso-image-using-dd-command-on-linux/
-[3]:https://github.com/jsamr/bootiso
diff --git a/sources/tech/20180605 How to use autofs to mount NFS shares.md b/sources/tech/20180605 How to use autofs to mount NFS shares.md
deleted file mode 100644
index 815cb53708..0000000000
--- a/sources/tech/20180605 How to use autofs to mount NFS shares.md
+++ /dev/null
@@ -1,138 +0,0 @@
-How to use autofs to mount NFS shares
-======
-
-
-
-Most Linux file systems are mounted at boot and remain mounted while the system is running. This is also true of any remote file systems that have been configured in the `fstab` file. However, there may be times when you prefer to have a remote file system mount only on demand—for example, to boost performance by reducing network bandwidth usage, or to hide or obfuscate certain directories for security reasons. The package [autofs][1] provides this feature. In this article, I'll describe how to get a basic automount configuration up and running.
-
-`tree.mydatacenter.net` is up and running. Also assume a data directory named `ourfiles` and two user directories, for Carl and Sarah, are being shared by this server.
-
-First, a few assumptions: Assume the NFS server namedis up and running. Also assume a data directory namedand two user directories, for Carl and Sarah, are being shared by this server.
-
-A few best practices will make things work a bit better: It is a good idea to use the same user ID for your users on the server and any client workstations where they have an account. Also, your workstations and server should have the same domain name. Checking the relevant configuration files should confirm.
-```
-alan@workstation1:~$ sudo getent passwd carl sarah
-
-[sudo] password for alan:
-
-carl:x:1020:1020:Carl,,,:/home/carl:/bin/bash
-
-sarah:x:1021:1021:Sarah,,,:/home/sarah:/bin/bash
-
-
-
-alan@workstation1:~$ sudo getent hosts
-
-127.0.0.1 localhost
-
-127.0.1.1 workstation1.mydatacenter.net workstation1
-
-10.10.1.5 tree.mydatacenter.net tree
-
-```
-
-As you can see, both the client workstation and the NFS server are configured in the `hosts` file. I’m assuming a basic home or even small office network that might lack proper internal domain name service (i.e., DNS).
-
-### Install the packages
-
-You need to install only two packages: `nfs-common` for NFS client functions, and `autofs` to provide the automount function.
-```
-alan@workstation1:~$ sudo apt-get install nfs-common autofs
-
-```
-
-You can verify that the autofs files have been placed in the `etc` directory:
-```
-alan@workstation1:~$ cd /etc; ll auto*
-
--rw-r--r-- 1 root root 12596 Nov 19 2015 autofs.conf
-
--rw-r--r-- 1 root root 857 Mar 10 2017 auto.master
-
--rw-r--r-- 1 root root 708 Jul 6 2017 auto.misc
-
--rwxr-xr-x 1 root root 1039 Nov 19 2015 auto.net*
-
--rwxr-xr-x 1 root root 2191 Nov 19 2015 auto.smb*
-
-alan@workstation1:/etc$
-
-```
-
-### Configure autofs
-
-Now you need to edit several of these files and add the file `auto.home`. First, add the following two lines to the file `auto.master`:
-```
-/mnt/tree /etc/auto.misc
-
-/home/tree /etc/auto.home
-
-```
-
-Each line begins with the directory where the NFS shares will be mounted. Go ahead and create those directories:
-```
-alan@workstation1:/etc$ sudo mkdir /mnt/tree /home/tree
-
-```
-
-Second, add the following line to the file `auto.misc`:
-```
-ourfiles -fstype=nfs tree:/share/ourfiles
-
-```
-
-This line instructs autofs to mount the `ourfiles` share at the location matched in the `auto.master` file for `auto.misc`. As shown above, these files will be available in the directory `/mnt/tree/ourfiles`.
-
-Third, create the file `auto.home` with the following line:
-```
-* -fstype=nfs tree:/home/&
-
-```
-
-This line instructs autofs to mount the users share at the location matched in the `auto.master` file for `auto.home`. In this case, Carl and Sarah's files will be available in the directories `/home/tree/carl` or `/home/tree/sarah`, respectively. The asterisk (referred to as a wildcard) makes it possible for each user's share to be automatically mounted when they log in. The ampersand also works as a wildcard representing the user's directory on the server side. Their home directory should be mapped accordingly in the `passwd` file. This doesn’t have to be done if you prefer a local home directory; instead, the user could use this as simple remote storage for specific files.
-
-Finally, restart the `autofs` daemon so it will recognize and load these configuration file changes.
-```
-alan@workstation1:/etc$ sudo service autofs restart
-
-```
-
-### Testing autofs
-
-If you change to one of the directories listed in the file `auto.master` and run the `ls` command, you won’t see anything immediately. For example, change directory `(cd)` to `/mnt/tree`. At first, the output of `ls` won’t show anything, but after running `cd ourfiles`, the `ourfiles` share directory will be automatically mounted. The `cd` command will also be executed and you will be placed into the newly mounted directory.
-```
-carl@workstation1:~$ cd /mnt/tree
-
-carl@workstation1:/mnt/tree$ ls
-
-carl@workstation1:/mnt/tree$ cd ourfiles
-
-carl@workstation1:/mnt/tree/ourfiles$
-
-```
-
-To further confirm that things are working, the `mount` command will display the details of the mounted share.
-```
-carl@workstation1:~$ mount
-
-tree:/mnt/share/ourfiles on /mnt/tree/ourfiles type nfs4 (rw,relatime,vers=4.0,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.10.1.22,local_lock=none,addr=10.10.1.5)
-
-```
-
-The `/home/tree` directory will work the same way for Carl and Sarah.
-
-I find it useful to bookmark these directories in my file manager for quicker access.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/18/6/using-autofs-mount-nfs-shares
-
-作者:[Alan Formy-Duval][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://opensource.com/users/alanfdoss
-[1]:https://wiki.archlinux.org/index.php/autofs
diff --git a/sources/tech/20180611 3 open source alternatives to Adobe Lightroom.md b/sources/tech/20180611 3 open source alternatives to Adobe Lightroom.md
deleted file mode 100644
index 664c054913..0000000000
--- a/sources/tech/20180611 3 open source alternatives to Adobe Lightroom.md
+++ /dev/null
@@ -1,84 +0,0 @@
-3 open source alternatives to Adobe Lightroom
-======
-
-
-
-You wouldn't be wrong to wonder whether the smartphone, that modern jack-of-all-trades, is taking over photography. While that might be valid in the point-and-shoot camera market, there are a sizeable number of photography professionals and hobbyists who recognize that a camera that fits in your pocket can never replace a high-end DSLR camera and the depth, clarity, and realism of its photos.
-
-All of that power comes with a small price in terms of convenience; like negatives from traditional film cameras, the [raw image][1] files produced by DSLRs must be processed before they can be edited or printed. For this, a digital image processing application is indispensable, and the go-to application has been Adobe Lightroom. But for many reasons—including its expensive, subscription-based pricing model and its proprietary license—there's a lot of interest in open source and other alternatives.
-
-Lightroom has two main functions: processing raw image files and digital asset management (DAM)—organizing images with tags, ratings, and other metadata to make it easier to keep track of them.
-
-In this article, we'll look at three open source image processing applications: Darktable, LightZone, and RawTherapee. All of them have DAM capabilities, but none has Lightroom's machine learning-based image categorization and tagging features. If you're looking for more information about open source DAM software, check out Terry Hancock's article "[Digital asset management for an open movie project][2]," where he shares his research on software to organize multimedia files for his [_Lunatics!_][3] open movie project.
-
-### Darktable
-
-![Darktable][4]
-
-Like the other applications on our list, [darktable][5] processes raw images into usable file formats—it exports into JPEG, PNG, TIFF, PPM, PFM, and EXR, and it also supports Google and Facebook web albums, Flickr uploads, email attachments, and web gallery creation.
-
-Its 61 image operation modules allow you to adjust contrast, tone, exposure, color, noise, etc.; add watermarks; crop and rotate; and much more. As with the other applications described in this article, those edits are "non-destructive"—that is, your original raw image is preserved no matter how many tweaks and modifications you make.
-
-Darktable imports raw images from more than 400 cameras plus JPEG, CR2, DNG, OpenEXR, and PFM; images are managed in a database so you can filter and search using metadata including tags, ratings, and color. It's also available in 21 languages and is supported on Linux, MacOS, BSD, Solaris 11/GNOME, and Windows. (The [Windows port][6] is new, and darktable warns it may have "rough edges or missing functionality" compared to other versions.)
-
-Darktable is licensed under [GPLv3][7]; you can learn more by perusing its [features][8], viewing the [user manual][9], or accessing its [source code][10] on GitHub.
-
-### LightZone
-
-![LightZone's tool stack][11]
-
-As a non-destructive raw image processing tool, [LightZone][12] is similar to the other two applications on this list: it's cross-platform, operating on Windows, MacOS, and Linux, and it supports JPG and TIFF images in addition to raw. But it's also unique in several ways.
-
-For one thing, it started out in 2005 as a proprietary image processing tool and later became an open source project under a BSD license. Also, before you can download the application, you must register for a free account; this is so the LightZone development community can track downloads and build the community. (Approval is quick and automated, so it's not a large barrier.)
-
-Another difference is that image modifications are done using stackable tools, rather than filters (like most image-editing applications); tool stacks can be rearranged or removed, as well as saved and copied to a batch of images. You can also edit certain parts of an image using a vector-based tool or by selecting pixels based on color or brightness.
-
-You can get more information on LightZone by searching its [forums][13] or accessing its [source code][14] on GitHub.
-
-### RawTherapee
-
-![RawTherapee][15]
-
-[RawTherapee][16] is another popular open source ([GPL][17]) raw image processor worth your attention. Like darktable and LightZone, it is cross-platform (Windows, MacOS, and Linux) and implements edits in a non-destructive fashion, so you maintain access to your original raw image file no matter what filters or changes you make.
-
-RawTherapee uses a panel-based interface, including a history panel to keep track of your changes and revert to a previous point; a snapshot panel that allows you to work with multiple versions of a photo; and scrollable tool panels to easily select a tool without worrying about accidentally using the wrong one. Its tools offer a wide variety of exposure, color, detail, transformation, and demosaicing features.
-
-The application imports raw files from most cameras and is localized to more than 25 languages, making it widely usable. Features like batch processing and [SSE][18] optimizations improve speed and CPU performance.
-
-RawTherapee offers many other [features][19]; check out its [documentation][20] and [source code][21] for details.
-
-Do you use another open source raw image processing tool in your photography? Do you have any related tips or suggestions for other photographers? If so, please share your recommendations in the comments.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/alternatives/adobe-lightroom
-
-作者:[Opensource.com][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://opensource.com
-[1]:https://en.wikipedia.org/wiki/Raw_image_format
-[2]:https://opensource.com/article/18/3/movie-open-source-software
-[3]:http://lunatics.tv/
-[4]:https://opensource.com/sites/default/files/styles/panopoly_image_original/public/uploads/raw-image-processors_darkroom1.jpg?itok=0fjk37tC (Darktable)
-[5]:http://www.darktable.org/
-[6]:https://www.darktable.org/about/faq/#faq-windows
-[7]:https://github.com/darktable-org/darktable/blob/master/LICENSE
-[8]:https://www.darktable.org/about/features/
-[9]:https://www.darktable.org/resources/
-[10]:https://github.com/darktable-org/darktable
-[11]:https://opensource.com/sites/default/files/styles/panopoly_image_original/public/uploads/raw-image-processors_lightzone1tookstack.jpg?itok=1e3s85CZ (LightZone's tool stack)
-[12]:http://www.lightzoneproject.org/
-[13]:http://www.lightzoneproject.org/Forum
-[14]:https://github.com/ktgw0316/LightZone
-[15]:https://opensource.com/sites/default/files/styles/panopoly_image_original/public/uploads/raw-image-processors_rawtherapee.jpg?itok=meiuLxPw (RawTherapee)
-[16]:http://rawtherapee.com/
-[17]:https://github.com/Beep6581/RawTherapee/blob/dev/LICENSE.txt
-[18]:https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions
-[19]:http://rawpedia.rawtherapee.com/Features
-[20]:http://rawpedia.rawtherapee.com/Main_Page
-[21]:https://github.com/Beep6581/RawTherapee
diff --git a/sources/tech/20180629 100 Best Ubuntu Apps.md b/sources/tech/20180629 100 Best Ubuntu Apps.md
deleted file mode 100644
index 581d22b527..0000000000
--- a/sources/tech/20180629 100 Best Ubuntu Apps.md
+++ /dev/null
@@ -1,1184 +0,0 @@
-100 Best Ubuntu Apps
-======
-
-Earlier this year we have published the list of [20 Best Ubuntu Applications for 2018][1] which can be very useful to many users. Now we are almost in the second half of 2018, so today we are going to have a look at 100 best applications for Ubuntu which you will find very useful.
-
-![100 Best Ubuntu Apps][2]
-
-Many users who have recently switched to Ubuntu from Microsoft Windows or any other operating system face the dilemma of finding best alternative to application software they have been using for years on their previous OS. Ubuntu has thousands of free to use and open-source application software’s that perform way better than many paid software’s on Windows and other OS.
-
-Following list features many application software in various categories, so that you can find best application which best matched to your requirements.
-
-### **1\. Google Chrome Browser**
-
-Almost all the Linux distributions feature Mozilla Firefox web browser by default and it is a tough competitor to Google Chrome. But Chrome has its own advantages over Firefox like Chrome gives you direct access to your Google account from where you can sync bookmarks, browser history, extensions, etc. from Chrome browser on other operating systems and mobile phones.
-
-![Chrome][3]
-
-Google Chrome features up-to-date Flash player for Linux which is not the case with other web browsers on Linux including Mozilla Firefox and Opera web browser. If you continuously use Chrome on Windows then it is best choice to use it on Linux too.
-
-### 2\. **Steam**
-
-Gaming on Linux is a real deal now, which was a distant dream few years ago. In 2013, Valve announced Steam gaming client for Linux and everything has changed since then. Earlier users were hesitant to switch to Linux from Windows just because they would not be able to play their favourite games on Ubuntu but that is not the case now.
-
-![Steam][4]
-
-Some users might find installing Steam on Linux tricky but it worth all your efforts as thousands of Steam games are available for Linux. Some popular high-end games like Counter Strike: Global Offensive, Hitman, Dota 2 are available for Linux, you just need to make sure you have minimum hardware required to play these games.
-
-```
-$ sudo add-apt-repository multiverse
-
-$ sudo apt-get update
-
-$ sudo apt-get install steam
-```
-
-### **3\. WordPress Desktop Client**
-
-Yes you read it correct, WordPress has its dedicated desktop client for Ubuntu from where you can manage your WordPress sites. You can also write and design separately on desktop client without need for switching browser tabs.
-
-![][5]
-
-If you have websites backed by WordPress then this desktop client is must have application for you as you can also keep track of all the WordPress notifications in one single window. You can also check stats for performance of posts on website. Desktop client is available in Ubuntu Software Centre from where you can download and install it.
-
-### **4\. VLC Media Player**
-
-VLC is a very popular cross-platform and open-source media player which is also available for Ubuntu. What makes VLC a best media player is that it can play videos in all the Audio and Video formats available on planet without any issue.
-
-![][6]
-
-VLC has a slick user interface which is very easy to use and apart from that it offers lot of features such as online video streaming, audio and video customization, etc.
-
-```
-$ sudo add-apt-repository ppa:videolan/master-daily
-$ sudo apt update
-$ sudo apt-get install vlc qtwayland5
-```
-
-### **5\. Atom Text Editor**
-
-Having developed by Github, Atom is a free and open-source text editor which can also be used as Integrated Development Environment (IDE) for coding and editing in major programming languages. Atom developers claim it to be a completely hackable text editor for 21st Century.
-
-![][7]
-
-Atom Text Editor has one of the best user interfaces and it is a feature rich text editor with offerings like auto-completion, syntax highlighting and support of extensions and plug-ins.
-
-```
-$ sudo add-apt-repository ppa:webupd8team/atom
-$ sudo apt-get update
-$ sudo apt-get install atom
-```
-
-### **6\. GIMP Photo Editor**
-
-GIMP (GNU Image Manipulation Programme) is free and open-source photo editor for Ubuntu. It is arguably a best alternative to Adobe Photoshop on Windows. If you have been continuously using Adobe Photoshop and finding it difficult to get used to GIMP, then you can customize GIMP to look very similar to Photoshop.
-
-![][8]
-
-GIMP is a feature rich Photo editor and you can always use additional features by installing extensions and plug-ins anytime.
-
-```
-$ sudo apt-get install gimp
-```
-
-### **7\. Google Play Music Desktop Player**
-
-Google Play Music Desktop Player is an open-source music player which is replica of Google Play Music or you can say it’s better than that. Google always lacked a desktop music client but this third-party app fills the void perfectly.
-
-![][9]
-
-Like you can see in above screenshot, its interface is second to none in terms of look and feel. You just need to sign in into Google account and then it will import all your music and favorites into this desktop client. You can download installation files from its official [website][10] and install it using Software Center.
-
-### **8\. Franz**
-
-Franz is an instant messaging client that combines chat and messaging services into one application. It is one of the modern instant messaging platforms and it supports Facebook Messenger, WhatsApp, Telegram, HipChat, WeChat, Google Hangouts, Skype integration under one single application.
-
-![][11]
-
-Franz is complete messaging platform which you can use for business as well to manage mass customer service. To install Franz you need to download installation package from its [website][12] and open it using Software Center.
-
-### **9\. Synaptic Package Manager**
-
-Synaptic Package Manager is one of the must have tools on Ubuntu because it works for graphical interface for ‘apt-get’ command which we usually use to install apps on Ubuntu using Terminal. It gives tough competition to default app stores on various Linux distros.
-
-![][13]
-
-Synaptic comes with very simple user interface which is very fast and easy to use as compared to other app stores. On left-hand side you can browse various apps in different categories from where you can easily install and uninstall apps.
-
-```
-$ sudo apt-get install synaptic
-```
-
-### **10\. Skype**
-
-Skype is a very popular cross-platform video calling application which is now also available for Linux as a Snap app. Skype is an instant messaging application which offers features like voice and video calls, desktop screen sharing, etc.
-
-![][14]
-
-Skype has an excellent user interface which very similar to desktop client on Windows and it is very easy to use. It could be very useful app for many switchers from Windows.
-
-```
-$ sudo snap install skype
-```
-
-### **13\. VirtualBox**
-
-VirtualBox is a cross-platform virtualization software application developed by Oracle Corporation. If you love trying out new operating systems then VirtualBox is the must have Ubuntu application for you. You can tryout Linux, Mac inside Windows Operating System or Windows and Mac inside Linux.
-
-![][15]
-
-What VB actually does is it lets you run guest operating system on host operating system virtually. It creates virtual hard drive and installs guest OS on it. You can download and install VB directly from Ubuntu Software Center.
-
-### **12\. Unity Tweak Tool**
-
-Unity Tweak Tool (Gnome Tweak Tool) is must have tool for every Linux user because it gives user ability to customize desktop according to your need. You can try new GTK themes, set up desktop hot corners, customize icon set, tweak unity launcher, etc.
-
-![][16]
-
-Unity Tweak Tool can be very useful to user as it has everything covered right from the basic to advanced configurations.
-
-```
-$ sudo apt-get install unity-tweak-tool
-```
-
-### **13\. Ubuntu Cleaner**
-
-Ubuntu Cleaner is a system maintenance tool especially designed to remove packages that are no longer useful, remove unnecessary apps and clean-up browser caches. Ubuntu Cleaner has very simple user interface which is very easy to use.
-
-![][17]
-
-Ubuntu Cleaner is one of the best alternatives to BleachBit which is also a decent cleaning tool available for Linux distros.
-
-```
-$ sudo add-apt-repository ppa:gerardpuig/ppa
-$ sudo apt-get update
-$ sudo apt-get install ubuntu-cleaner
-```
-
-### 14\. Visual Studio Code
-
-Visual Studio Code is code editor which you will find very similar to Atom Text Editor and Sublime Text if you have already used them. Visual Studio Code proves to be very good educational tool as it explains everything from HTML tags to syntax in programming.
-
-![][18]
-
-Visual Studio comes with Git integration out of the box and it has excellent user interface which you will find very similar to likes of Atom Text Editor and Sublime Text. You can download and install it from Ubuntu Software Center.
-
-### **15\. Corebird**
-
-If you are looking for desktop client where you can use your Twitter then Corebird Twitter Client is the app you are looking for. It is arguably best Twitter client available for Linux distros and it offers features very similar to Twitter app on your mobile phone.
-
-![][19]
-
-Corebird Twitter Client also gives notifications whenever someone likes and retweets your tweet or messages you. You can also add multiple Twitter accounts on this client.
-
-```
-$ sudo snap install corebird
-```
-
-### **16\. Pixbuf**
-
-Pixbuf is a desktop client from Pixbuf photo community hub which lets you upload, share and sale your photos. It supports photo sharing to social media networks like Facebook, Pinterest, Instagram, Twitter, etc. and photography services including Flickr, 500px and Youpic.
-
-![][20]
-
-Pixbuf offers features like analytics which gives you stats about clicks, retweets, repins on your photo, scheduled posts, dedicated iOS extension. It also has mobile app, so that you can always be connected with your Pixbuf account from anywhere. Pixbuf is available for download in Ubuntu Software Center as a snap package.
-
-### **17\. Clementine Music Player**
-
-Clementine is a cross-platform music player and a good competitor to Rhythmbox which is default music player on Ubuntu. It is fast and easy to use music player thanks to its user friendly interface. It supports audio playback in all the major audio file formats.
-
-![][21]
-
-Apart from playing music from local library you can also listen to online radio from Spotify, SKY.fm, Soundcloud, etc. It also offers other features like smart and dynamic playlists, syncing music from cloud storages like Dropbox, Google Drive, etc.
-
-```
-$ sudo add-apt-repository ppa:me-davidsansome/clementine
-$ sudo apt-get update
-$ sudo apt-get install clementine
-```
-
-### **18\. Blender**
-
-Blender is free and open-source 3D creation application software which you can use to create 3D printed models, animated films, video games, etc. It comes with integrated game engine out of the box which you can use to develop and test video games.
-
-![blender][22]
-
-Blender has catchy user interface which is easy to use and it includes features like built-in render engine, digital sculpturing, simulation tool, animation tools and many more. It is one of the best applications you will ever find for Ubuntu considering it’s free and features it offers.
-
-### **19\. Audacity**
-
-Audacity is an open-source audio editing application which you can use to record, edit audio files. You can record audio from various inputs like microphone, electric guitar, etc. It also gives ability to edit and trim audio clips according to your need.
-
-![][23]
-
-Recently Audacity released with new features for Ubuntu which includes theme improvements, zoom toggle command, etc. Apart from these it offers features like various audio effects including noise reduction and many more.
-
-```
-$ sudo add-apt-repository ppa:ubuntuhandbook1/audacity
-$ sudo apt-get update
-$ sudo apt-get install audacity
-```
-
-### **20\. Vim**
-
-Vim is an Integrated Development Environment which you can use as standalone application or command line interface for programming in various major programming languages like Python.
-
-![][24]
-
-Most of the programmers prefer coding in Vim because it is fast and highly customizable IDE. Initially you might find it difficult to use but you will quickly get used to it.
-
-```
-$ sudo apt-get install vim
-```
-
-### **21\. Inkscape**
-
-Inkscape is an open-source and cross-platform vector graphics editor which you will find very much similar to Corel Draw and Adobe Illustrator. Using it you can create and edit vector graphics such as charts, logos, diagrams, illustrations, etc.
-
-![][25]
-
-Inkscape uses Scalable Vector Graphics (SVG) and an open XML-based W3C standard as a primary format. It supports various formats including JPEG, PNG, GIF, PDF, AI (Adobe Illustrator Format), VSD, etc.
-
-```
-$ sudo add-apt-repository ppa:inkscape.dev/stable
-$ sudo apt-get update
-$ sudo apt-get install inkscape
-```
-
-### **22\. Shotcut**
-
-Shotcut is a free, open-source and cross-platform video editing application developed by Meltytech, LLC on the MLT Multimedia Framework. It is one of the most powerful video editors you will ever find for Linux distros as it supports all the major audio, video and image formats.
-
-![][26]
-
-It gives ability to edit multiple tracks with various file formats using non-linear video editing. It also comes with support for 4K video resolutions and features like various audio and video filters, tone generator, audio mixing and many others.
-
-```
-snap install shotcut -- classic
-```
-
-### **23\. SimpleScreenRecorder**
-
-SimpleScreenRecorder is a free and lightweight screen video recorder for Ubuntu. This screen recorder can be very useful tool for you if you are a YouTube creator or application developer.
-
-![][27]
-
-It can capture a video/audio record of desktop screen or record video games directly. You can set video resolution, frame rate, etc. before starting the screen recording. It has simple user interface which you will find very easy to use.
-
-```
-$ sudo add-apt-repository ppa:marten-baert/simplescreenrecorder
-$ sudo apt-get update
-$ sudo apt-get install simplescreenrecorder
-```
-
-### **24\. Telegram**
-
-Telegram is a cloud-based instant messaging and VoIP platform which has got lot of popularity in recent years. It is an open-source and cross-platform messenger where user can send messages, share videos, photos, audio and other files.
-
-![][28]
-
-Some of the notable features in Telegram are secrete chats, voice messages, bots, telescope for video messages, live locations and social login. Privacy and security is at highest priority in Telegram, so all messages you send and receive are end-to-end encrypted.
-
-```
-```
-$ sudo snap install telegram-desktop
-
-### **25\. ClamTk**
-
-As we know viruses meant to harm Windows PC cannot do any harm to Ubuntu but it is always prone to get infected by some mails from Windows PC containing harmful files. So it is safe to have some antivirus applications on Linux too.
-
-![][29]
-
-ClamTk is a lightweight malware scanner which scans files and folders on your system and cleans if any harmful files are found. ClamTk is available as a Snap package and can be downloaded from Ubuntu Software Center.
-
-### **26\. MailSpring**
-
-MailSpring earlier known as Nylas Mail or Nylas N1 is an open-source email client. It saves all the mails locally on computer so that you can access them anytime you need. It features advanced search which uses AND and OR operations so that you can search for mails based on different parameters.
-
-![][30]
-
-MailSpring comes with excellent user interface which you will find only on handful of other mail clients. Privacy and security, scheduler, contact manager, calendar are some of the features MailSpring offers.
-
-### **27\. PyCharm**
-
-PyCharm is one of my favorite Python IDEs after Vim because it has slick user interface with lot of extensions and plug-in support. Basically it comes in two editions, one is community edition which is free and open-source and other is professional edition which is paid one.
-
-![][31]
-
-PyCharm is highly customizable IDE and sports features such as error highlighting, code analysis, integrated unit testing and Python debugger, etc. PyCharm is the preferred IDE by most of the Python programmers and developers.
-
-### **28\. Caffeine**
-
-Imagine you are watching something on YouTube or reading a news article and suddenly Ubuntu locks your screen, I know that is very annoying. It happens with many of us, so Caffeine is the tool that will help you block the Ubuntu lock screen or screensaver.
-
-![][32]
-
-Caffeine Inhibitor is lightweight tool, it adds icon on notification bar from where you can activate or deactivate it easily. No additional setting needs to be done in order to use this tool.
-
-```
-$ sudo add-apt-repository ppa:eugenesan/ppa
-$ sudo apt-get update
-$ sudo apt-get install caffeine -y
-```
-
-### **29\. Etcher USB Image Writer**
-
-Etcher is an open-source USB Image Writer developed by resin.io. It is a cross-platform application which helps you burn image files like ZIP, ISO, IMG to USB storage. If you always try out new OS then Etcher is the must have tool for you as it is easy to use and reliable.
-
-![][33]
-
-Etcher has clean user interface that guides you through process of burning image file to USB drive or SD card in three easy steps. Steps involve selecting Image file, selecting USB drive and finally flash (writes files to USB drive). You can download and install Etcher from its [website][34].
-
-### **30\. Neofetch**
-
-Neofetch is a cool system information tool that gives you all the information about your system by running “neofetch” command in Terminal. It is cool tool to have because it gives you information about desktop environment, kernel version, bash version and GTK theme you are running.
-
-![][35]
-
-As compared to other system information tools Nefetch is highly customizable tool. You can perform various customizations using command line.
-
-```
-$ sudo add-apt-repository ppa:dawidd0811/neofetch
-$ sudo apt-get update
-$ sudo apt-get update install neofetch
-```
-
-### 31\. Liferea
-
-Liferea (Linux Feed Reader) is a free and open-source news aggregator for online news feeds. It is a fast and easy to use new aggregator that supports various formats such as RSS/RDF, Atom, etc.
-
-![][36]
-Liferea comes with sync support with TinyTinyRSS out of the box and it gives you an ability to read feeds in offline mode. It is one of the best feed readers you will find for Linux in terms of reliability and flexibility.
-
-```
-$ sudo add-apt-repository ppa:ubuntuhandbook1/apps
-$ sudo apt-get update
-$ sudo apt-get install liferea
-```
-
-### 32\. Shutter
-
-It is easy to take screenshots in Ubuntu but when it comes to edit screenshots Shutter is the must have application for you. It helps you capture, edit and share screenshots easily. Using Shutter’s selector tool you can select particular part of your screen to take screenshot.
-
-![][37]
-
-Shutter is a feature-rich screenshot tool which offers features like adding effects to screenshot, draw lines, etc. It also gives you option to upload your screenshot to various image hosting sites. You can directly download and install Shutter from Software Center.
-
-### 33\. Weather
-
-Weather is a small application which gives you real-time weather information for your city or any other location in the world. It is simple and lightweight tool which gives you detailed forecast of up to 7 days and hourly details for current and next day.
-
-![][38]
-
-It integrates with GNOME shell to give you information about current weather conditions at recently searched locations. It has minimalist user interface which works smoothly on minimum hardware requirement.
-
-### 34\. Ramme
-
-Ramme is cool unofficial Instagram desktop client which gives you feel of Instagram mobile phone app. It is an Electron-based client so it replicates Instagram app and offers features like theme customization, etc.
-
-![][39]
-
-But due to Instagram’s API restrictions you can’t upload image using Ramme client but you can always go through Instagram feed, like and comment on posts, message friends. You can download Ramme installation files from[Github.][40]
-
-### **35\. Thunderbird**
-
-Thunderbird is an open-source email client which is also a default email client in most of the Linux distributions. Despite parting ways with Mozilla in 2017, Thunderbird is still very popular and best email client on Linux platform. It comes with features like spam filtering, IMAP and POP email syncing, calendar support, address book integration and many other features out of the box.
-
-![][41]
-
-It is a cross-platform email client with full community support across all supported platforms. You can always change its look and feel thanks to its highly customizable nature.
-
-### **36\. Pidgin**
-
-Pidgin is an instant messaging client where you can login into different instant messaging networks under single window. You can login to instant messaging networks like Google Talk, XMPP, AIM, Bonjour, etc.
-
-![][42]
-
-Pidgin has all the features you can expect in an instant messenger and you can always enhance its performance by installing additional plug-ins.
-
-```
-```
-$ sudo apt-get install pidgin
-
-### **37\. Krita**
-
-Krita is a free and open-source digital painting, editing and animation application developed by KDE. It has excellent user interface with everything placed perfectly so that you can easily find the tool you need.
-
-![][43]
-
-It uses OpenGL canvas which boosts Krita’s performance and it offers many features like different painting tools, animation tools, vector tools, layers and masks and many more. Krita is available in Ubuntu Software Center, you can easily download it from there.
-
-### **38\. Dropbox**
-
-Dropbox is stand-out player in cloud storage and its Linux clients works really well on Ubuntu once installed properly. While Google Drive comes out of the box on Ubuntu 16.04 LTS and later, Dropbox is still a preferred cloud storage tool on Linux in terms of features it offers.
-
-![][44]
-It always works in background and back up new files from your system to cloud storage, syncs files continuously between your computer and its cloud storage.
-
-```
-$ sudo apt-get install nautilus-dropbox
-```
-
-### 39\. Kodi
-
-Kodi formerly known as Xbox Media Center (XBMC) is an open-source media player. You can play music, videos, podcasts and video games both in online and offline mode. This software was first developed for first generation of Xbox gaming console and then slowly ported to personal computers.
-
-![][45]
-
-Kodi has very impressive video interface which is fast and powerful. It is highly customizable media player and by installing additional plug-ins you can access online streaming services like Pandora, Spotify, Amazon Prime Video, Netflix and YouTube.
-
-### **40\. Spotify**
-
-Spotify is one of the best online media streaming sites. It provides music, podcast and video streaming services both on free and paid subscription basis. Earlier Spotify was not supported on Linux but now it has its own fully functional desktop client for Ubuntu.
-
-![][46]
-
-Alongside Google Play Music Desktop Player, Spotify is must have media player for you. You just need to login to your Spotify account to access your favorite online content from anywhere.
-
-### 41\. Brackets
-
-Brackets is an open-source text editor developed by Adobe. It can be used for web development and design in web technologies such as HTML, CSS and JavaScript. It sports live preview mode which is great feature to have as it can get real-time view of whatever the changes you make in script.
-
-![][47]
-
-It is one of the modern text editors on Ubuntu and has slick user interface which takes web development task to new level. It also offers features like inline editor and supports for popular extensions like Emmet, Beautify, Git, File Icons, etc.
-
-### 42\. Bitwarden
-
-Account safety is serious concern now as we can see rise in security breaches in which users passwords are stolen and important data being compromised. So Bitwarden is recommended tool for you which stores all your account logins and passwords safe and secure at one place.
-
-![][48]
-
-Bitwarden uses AES-256 bit encryption technique to store all the login details and only user has access to his data. It also helps you to create strong passwords which are less likely to be hacked.
-
-### 43\. Terminator
-
-Terminator is an open-source terminal emulator programmed and developed in Java. It is a cross-platform emulator which lets you have privilege of multiple terminals in one single window which is not the case in Linux default terminal emulator.
-
-![][49]
-
-Other stand-out feature in Terminator includes automatic logging, drag and drop, intelligent vertical and horizontal scrolling, etc.
-
-```
-$ sudo apt-get install terminator
-```
-
-### 44\. Yak Yak
-
-Yak Yak is an open-source unofficial desktop client for Google Hangouts messenger. It could be good alternative to Microsoft’s Skype as it comes with bunch of some amazing features out of the box. You can enable desktop notifications, language preferences, and works on minimal memory and power requirements.
-
-![][50]
-
-Yak Yak comes with all the features you would expect in any instant messaging app such as typing indicator, drag and drop media files, and audio/video calling.
-
-### 45\. **Thonny**
-
-Thonny is a simple and lightweight IDE especially designed for beginners in programming. If you are new to programming then this is the must have IDE for you because it lets you learn while programming in Python.
-
-![][51]
-
-Thonny is also great tool for debugging as it supports live variables during debugging, apart from this it offers features like separate windows for executing function call, simple user interface, etc.
-
-```
-$ sudo apt-get install thonny
-```
-
-### **46\. Font Manager**
-
-Font Manager is a lightweight tool for managing, adding or removing fonts on your Ubuntu system. It is specially built for Gnome desktop environment, users don’t having idea about managing fonts using command line will find this tool very useful.
-
-![][52]
-
-Gtk+ Font Manager is not meant to be for professional users, it has simple user interface which you will find very easy to navigate. You just need to download font files from internet and add them using Font Manager.
-
-$ sudo add-apt-repository ppa:font-manager/staging
-$ sudo apt-get update
-$ sudo apt-get install font-manager
-
-### **47\. Atril Document Viewer**
-
-Atril is a simple document viewer which supports file formats like Portable Document Format (PDF), PostScript (PS), Encapsulated PostScript (EPS), DJVU and DVI. Atril comes bundled with MATE desktop environment and it is identical to Evince which is default document on the most of the Linux distros.
-
-![][53]
-
-Atril has simple and lightweight user interface which is highly customizable and offers features like search, bookmarks and UI includes thumbnails on the left-hand side.
-
-```
-$ sudo apt-get install atril
-```
-
-### **48\. Notepadqq**
-
-If you have ever used Notepad++ on Windows and looking for similar program on Linux then don’t worry developers have ported it to Linux as Notepadqq. It is a simple yet powerful text editor which you can use for daily tasks or programming in various languages.
-
-![][54]
-
-Despite being a simple text editor it has some amazing features like you can set theme between dark and light color scheme, multiple selection, regular expression search and real-time highlighting.
-
-```
-$ sudo add-apt-repository ppa:notpadqq-team/notepadqq
-$ sudo apt-get update
-$ sudo apt-get install notepadqq
-```
-
-### **49\. Amarok**
-
-Amarok is an open-source music player developed under KDE projetct. It has an intuitive interface which makes you feel home so you can discover your favorite music easily. Besides Clementine, Amarok is very good choice to have when you are looking for perfect music player for Ubuntu.
-
-![][55]
-
-Some of the top features in Amarok include intelligent playlist support, integration support for online services like MP3tunes, Last.fm, Magnatune, etc.
-
-### **50\. Cheese**
-
-Cheese is a Linux default webcam application which can be useful to you in some video chat or instant messaging applications. Apart from that you can also use this app to take photos and videos with fancy effects.
-
-![][56]
-
-It also sports burst mode which lets you take multiple snaps in quick succession and option to share your photos with friends and family. Cheese come pre-installed with most of the Linux distros but you can also download and install it from Software Center.
-
-### **51\. MyPaint**
-
-MyPaint is a free and open-source raster graphics editor which focuses on digital painting rather than image manipulation and post processing. It is cross-platform application and more or less similar to Corel Painter.
-
-![][57]
-
-MyPaint could be good alternative to those who use Microsoft Paint application on Windows. It has simple user interface which is fast and powerful. MyPaint is available is Software Center for download.
-
-### **52\. PlayOnLinux**
-
-PlayOnLinux is a front-end for WINE emulator which allows you to run Windows applications on Linux. You just need to install Windows applications and game on WINE then you can easily launch applications and games using PlayOnLinux.
-
-![][58]
-
-### **53\. Akregator**
-
-Akregator is a default RSS reader for KDE Plasma Environment developed under KDE project. It has simple user interface and comes with KDE’s Konqueror browser so that you don’t need to switch between apps while reading news feeds.
-
-![][59]
-
-Akregator also offers features like desktop notifications, automatic feeds, etc. It is one of the best feed readers you will find for across most of the Linux distros.
-
-### **54\. Brave**
-
-Brave is an open-source web browser which blocks ads and trackers so that you can browse your content fast and safely. What it actually does is that it pays to websites and YouTubers on behalf of you. If you prefer contributing to websites and YouTubers rather than seeing advertisements then this browser is for you.
-
-![][60]
-
-This is a new concept and could be good browser for those who prefer safe browsing without compromising important data on internet.
-
-### **55\. Bitcoin Core**
-
-Bitcoin Core is an official Bitcoin client which is highly secure and reliable. It keeps track of all your transactions and makes sure all transactions are valid. It restricts Bitcoin miners and banks from taking full control of your Bitcoin wallet.
-
-![][61]
-
-Bitcoin Core also offers other important features like, private keys backup, cold storage, security notifications.
-
-```
-$ sudo add-apt-repository ppa:bitcoin/bitcoin
-$ sudo apt-get update
-$ sudo apt-get install bitcoin-qt
-```
-
-### **56\. Speedy Duplicate Finder**
-
-Speedy Duplicate Finder is a cross-platform file finder which helps you find duplicate files on your system and free-up disk space. It is a smart tool which searches for duplicate files on entire hard disk and also features smart filter which helps you find file by file type, extension or size.
-
-![][62]
-
-It has a simple and clean user interface which is very easy to handle. As soon as you download it from Software Center you are good to go with disk space clean-up.
-
-### **57\. Zulip**
-
-Zulip is a free and open-source group chat application which was acquired by Dropbox. It is written in Python and uses PostgreSQL database. It was designed and developed to be a good alternative to other chat applications like Slack and HipChat.
-
-![][63]
-
-Zulip is a feature-rich application with features such as drag and drop files, group chats, private messaging, image previews and many more. It also supports integration with likes of Github, JIRA, Sentry, and hundreds of other services.
-
-### **58\. Okular**
-
-Okular is a cross-platform document viewer developed by KDE for KDE desktop environment. It is a simple document viewer and supports file formats like Portable Document Format (PDF), PostScript, DjVu, Microsoft Compiled HTML help, and many other major file formats.
-
-![][64]
-
-Okular is one of the best document viewers you should try on Ubuntu as it offers features like commenting on PDF documents, drawing lines, highlighting and much more. You can also extract text from PDF document to text file.
-
-### **59\. FocusWriter**
-
-FocusWriter is a distraction-free word processor which hides your desktop screen so that you can only focus on writing. Like you can see in the screenshot below whole Ubuntu screen is hidden, it’s just you and your word processor. But you can always access Ubuntu screen whenever you need it by just moving your mouse cursor to the edges of the screen.
-
-![][65]
-
-It is a lightweight word processor with support for file formats like TXT, RTF and ODT files. It also offers fully customizable user interface and features like timers and alarms, daily goals, sound effects and support for translation into 20 languages.
-
-### **60\. Guake**
-
-Guake is a cool drop-down terminal for GNOME Desktop Environment. Guake comes in a flash whenever you need it and disappears as soon as your task is completed. You just need to click F12 button to launch or exit it so launching Guake is way faster than launching new Terminal window.
-
-![][66]
-
-Guake is a feature-rich terminal with features like support for multiple tabs, ability to save your terminal content to file in few clicks, and fully customizable user interface.
-
-```
-$ sudo apt-get install guake
-```
-
-### **61\. KDE Connect**
-
-KDE Connect is an awesome application on Ubuntu and I would have loved to list this application much higher in this marathon article but competition is intense. Anyways KDE Connect helps you get your Android smartphone notifications directly on Ubuntu desktop.
-
-![][67]
-
-With KDE Connect you can do whole lot of other things like check your phones battery level, exchange files between computer and Android phone, clipboard sync, send SMS, and you can also use your phone as wireless mouse or keyboard.
-
-```
-$ sudo add-apt-repository ppa:webupd8team/indicator-kedeconnect
-$ sudo apt-get update
-$ sudo apt-get install kdeconnect indicator-kdeconnect
-```
-
-### **62\. CopyQ**
-
-CopyQ is a simple but very useful clipboard manager which stores content of the system clipboard whenever any changes you make so that you can search and restore it back whenever you need. It is a great tool to have as it supports text, images, HTML and other formats.
-
-![][68]
-
-CopyQ comes pre-loaded with features like drag and drop, copy/paste, edit, remove, sort, create, etc. It also supports integration with text editors like Vim, so it could be very useful tool if you are a programmer.
-
-```
-$ sudo add-apt-repository ppa:hluk/copyq
-$ sudo apt-get update
-$ sudo apt-get install copyq
-```
-
-### **63\. Tilix**
-
-Tilix is feature-rich advanced GTK3 tiling terminal emulator. If you uses GNOME desktop environment then you’re going to love Tilix as it follows GNOME Human Interface Guidelines. What Tilix emulator offers different than default terminal emulators on most of the Linux distros is it gives you ability to split terminal window into multiple terminal panes.
-
-![][69]
-
-Tilix offers features like custom links, image support, multiple panes, drag and drop, persistent layout and many more. It also has support for keyboard shortcuts and you can customize shortcuts from the Preferences settings according to your need.
-
-```
-$ sudo add-apt-repository ppa:webupd8team/terminix
-$ sudo apt-get update
-$ sudo apt-get install tilix
-```
-
-### **64\. Anbox**
-
-Anbox is an Android emulator which lets you install and run Android apps on your Linux system. It is free and open-source Android emulator that executes Android runtime environment by using Linux Containers. It uses latest Linux technologies and Android releases so that you can run any Android app like any other native application.
-
-![][70]
-
-Anbox is one of the modern and feature-rich emulators and offers features like no limit for application use, powerful user interface, and seamless integration with host operating system.
-
-First you need to install kernel modules.
-
-```
-$ sudo add-apt-repository ppa:morphis/anbox-support
-$ sudo apt-get update
-$ sudo apt install anbox-modules-dkms Now install Anbox using snap
-$ snap install --devmode -- beta anbox
-```
-
-### **65\. OpenShot**
-
-OpenShot is the best open-source video editor you will find for Linux distros. It is a cross-platform video editor which is very easy to use without any compromise with its performance. It supports all the major audio, video and image formats.
-
-![][71]
-
-OpenShot has clean user interface and offers features like drag and drop, clip resizing, scaling, trimming, snapping, real-time previews, audio mixing and editing and many other features.
-
-```
-$ sudo add-apt-repository ppa:openshot.developers/ppa
-$ sudo apt-get update
-$ sudo apt-get install openshot -qt
-```
-
-### **66\. Plank**
-
-If you are looking for cool and simple dock for your Ubuntu desktop then Plank should be #1 choice for you. It is perfect dock and you don’t need to make any tweaks after installation but if you want to, then it has built-in preferences panel where you can customize themes, dock size and position.
-
-![][72]
-
-Despite being a simple dock, Plank offers features like item rearrangement by simple drag and drop, pinned and running apps icon, transparent theme support.
-
-```
-$ sudo add-apt-repository ppa:ricotz/docky
-$ sudo apt-get update
-$ sudo apt-get install plank
-```
-
-### **67\. Filezilla**
-
-Filezilla is a free and cross-platform FTP application which sports FileZilla client and server. It lets you transfer files using FTP and encrypted FTP like FTPS and SFTP and supports IPv6 internet protocol.
-
-![][73]
-
-It is simple file transfer application with features like drag and drop, support for various languages used worldwide, powerful user interface for multitasking, control and configures transfer speed and many other features.
-
-### **68\. Stacer**
-
-Stacer is an open-source system diagnostic tool and optimizer developed using Electron development framework. It has an excellent user interface and you can clean cache memory, start-up applications, uninstall apps that are no longer needed, monitor background system processes.
-
-![][74]
-
-It also lets you check disk, memory and CPU usage and also gives real-time stats of downloads and uploads. It looks like a tough competitor to Ubuntu cleaner but both have unique features that separate them apart.
-
-```
-$ sudo add-apt-repository ppa:oguzhaninan/stacer
-$ sudo apt-get update
-$ sudo apt-get install stacer
-```
-
-### **69\. 4K Video Downloader**
-
-4K Video Downloader is simple video downloading tool which you can use to download videos, playlists, channels from Vimeo, Facebook, YouTube and other online video streaming sites. It supports downloading YouTube playlists and channels in MP4, MKV, M4A, 3GP and many other video/audio file formats.
-
-![][75]
-
-4K Video Downloader is not as simple as you would think, apart from normal video downloads it supports 3D and 360 degree video downloading. It also offers features like in-app proxy setup and direct transfer to iTunes. You can download it from [here][76].
-
-### 70\. **Qalculate**
-
-Qalculate is multi-purpose, cross-platform desktop calculator which is simple but very powerful calculator. It can be used for solving complicated maths problems and equations, currency conversions, and many other daily calculations.
-
-![][77]
-
-It has an excellent user interface and offers features such as customizable functions, unit calculations, symbolic calculations, arithmetic, plotting and many other functions you will find in any scientific calculator.
-
-### **71\. Hiri**
-
-Hiri is a cross-platform email client developed in Python programming language. It has slick user interface and it can be a good alternative to Microsoft Outlook in terms of features and services offered. This is great email client that can be used for sending and receiving emails, managing contacts, calendars and tasks.
-
-![][78]
-
-It is a feature-rich email client that offers features like integrated task manager, email synchronization, email rating, email filtering and many more.
-
-```
-$ sudo snap install hiri
-```
-
-### **72\. Sublime Text**
-
-Sublime Text is a cross-platform source code editor programmed in C++ and Python. It has Python Application Programming Interface (API) and supports all the major programming and markup languages. It is simple and lightweight text editor which can be used as IDE with features like auto-completion, syntax highlighting, split editing, etc.
-
-![][79]
-
-Some additional features in this text editor include Goto anything, Goto definition, multiple selections, command palette and fully customizable user interface.
-
-```
-$ sudo apt-get install sublime-text
-```
-
-### **73\. TeXstudio**
-
-TeXstudio is an integrated writing environment for creating and editing LaTex documents. It is an open-source editor which offers features like syntax highlighting, integrated viewer, interactive spelling checker, code folding, drag and drop, etc.
-
-![][80]
-
-It is a cross-platform editor and has very simple, lightweight user interface which is easy to use. It ships in with integration for BibTex and BibLatex bibliographies managers and also integrated PDF viewer. You can download TeXstudio installation package from its [website][81] or Ubuntu Software Center.
-
-### **74\. QtQR**
-
-QtQR is a Qt based application that lets you create and read QR codes in Ubuntu. It is developed in Python and Qt and has simple and lightweight user interface. You can encode website URL, email, text, SMS, etc. and you can also decode barcode using webcam camera.
-
-![][82]
-
-QtQR could prove to be useful tool to have if you generally deal with product sales and services because I don’t think we have any other similar tool to QtQR which requires minimal hardware to function smoothly.
-
-```
-$ sudo add-apt-repository ppa: qr-tools-developers/qr-tools-stable
-$ sudo apt-get update
-$ sudo apt-get install qtqr
-```
-
-### **75\. Kontact**
-
-Kontact is an integrated personal information manager (PIM) developed by KDE for KDE desktop environment. It is all-in-one software suite that integrates KMail, KOrganizer and KAddressBook into a single user interface from where you can manage all your mails, contacts, schedules, etc.
-
-![][83]
-
-It could be very good alternative to Microsoft Outlook as it is fast and highly configurable information manager. It has very good user interface which you will find very easy to use.
-
-```
-$ sudo apt-get install kontact
-```
-
-### **76\. NitroShare**
-
-NitroShare is a cross-platform, open-source network file sharing application. It lets you easily share files between multiple operating systems local network. It is a simple yet powerful application and it automatically detects other devices running NitroShare on local network.
-
-![][84]
-
-File transfer speed is what makes NitroShare a stand-out file sharing application as it achieves gigabit speed on capable hardware. There is no need for additional configuration required, you can start file transfer as soon as you install it.
-
-```
-$ sudo apt-add-repository ppa:george-edison55/nitroshare
-$ sudo apt-get update
-$ sudo apt-get install nitroshare
-```
-
-### **77\. Konversation**
-
-Konversation is an open-source Internet Relay Chat (IRC) client developed for KDE desktop environment. It gives speedy access to Freenode network’s channels where you can find support for most distributions.
-
-![][85]
-
-It is simple chat client with features like support for IPv6 connection, SSL server support, bookmarks, on-screen notifications, UTF-8 detection, and additional themes. It has easy to use GUI which is highly configurable.
-
-```
-$ sudo apt-get install konversation
-```
-
-### **78\. Discord**
-
-If you’re hardcore gamer and play online games frequently then I have a great application for you. Discord which is free Voice over Internet Protocol (VoIP) application especially designed for online gamers around the world. It is a cross-platform application and can be used for text and audio chats.
-
-![][86]
-
-Discord is very popular VoIP application gaming community and as it is completely free application, it is very good competitor to likes of Skype, Ventrilo and Teamspeak. It also offers features like crystal clear voice quality, modern text chat where you can share images, videos and links.
-
-### **79\. QuiteRSS**
-
-QuiteRSS is an open-source news aggregator for RSS and Atom news feeds. It is cross-platform feed reader written in Qt and C++. It has simple user interface which you can tweak in either classic or newspaper mode. It comes integrated with webkit browser out of the box so that you can perform all the tasks under single window.
-
-![][87]
-
-QuiteRSS comes with features such as content blocking, automatic scheduled feeds, import/export OPML, system tray integration and many other features you could expect in any feed reader.
-
-```
-$ sudo apt-get install quiterss
-```
-
-### **80\. MPV Media Player**
-
-MPV is a free and open-source media player based on MPlayer and MPlayer 2. It has simple user interface where user just needs to drag and drop audio/video files to play them as there is no option to add media files on GUI.
-
-![][88]
-
-One of the things about MPV is that it can play 4K videos effortlessly which is not the case with other media players on Linux distros. It also gives user ability to play videos from online video streaming sites including YouTube and Dailymotion.
-
-```
-$ sudo add-apt-repository ppa:mc3man/mpv-tests
-$ sudo apt-get update
-$ sudo apt-get install -y mpv
-```
-
-### **81\. Plume Creator**
-
-If you’re a writer then Plume Creator is must have application for you because you will not find other app for Ubuntu with privileges like Plume Creator. Writing and editing stories, chapters is tedious task and Plume Creator will ease this task for you with the help of some amazing tools it has to offer.
-
-![][89]
-
-It is an open-source application with minimal user interface which you could find confusing in the beginning but you will get used to it in some time. It offers features like edit notes, synopses, export in HTML and ODT formats support, and rich text editing.
-
-```
-$ sudo apt-get install plume-creator
-```
-
-### **82\. Chromium Web Browser**
-
-Chromium is an open-source web browser developed and distributed by Google. Chromium is very identical to Google Chrome web browser in terms of appearance and features. It is a lightweight and fast web browser with minimalist user interface.
-
-![][90]
-
-If you use Google Chrome regularly on Windows and looking for similar browser for Linux then Chromium is the best browser for you as you can login into your Google account to access all your Google services including Gmail.
-
-### **83\. Simple Weather Indicator**
-
-Simple Weather Indicator is an open-source weather indicator app developed in Python. It automatically detects your location and shows you weather information like temperature, possibility of rain, humidity, wind speed and visibility.
-
-![][91]
-
-Weather indicator comes with configurable options such as location detection, temperature SI unit, location visibility on/off, etc. It is cool app to have which adjusts with your desktop comfortably.
-
-### **84\. SpeedCrunch**
-
-SpeedCrunch is a fast and high-precision scientific calculator. It comes preloaded with math functions, user-defined functions, complex numbers and unit conversions support. It has simple user interface which is easy to use.
-
-![][92]
-
-This scientific calculator has some amazing features like result preview, syntax highlighting and auto-completion. It is a cross-platform calculator with multi-language support.
-
-### **85\. Scribus**
-
-Scribus is a free and open-source desktop publishing application that lets you create posters, magazines and books. It is a cross-platform application based on Qt toolkit and released under GNU general public license. It is a professional application with features like CMYK and ICC color management, Python based scripting engine, and PDF creation.
-
-![][93]
-
-Scribus comes with decent user interface which is easy to use and works effortlessly on systems with low hardware. It could be downloaded and installed from Software Center on all the latest Linux distros.
-
-### **86.** **Cura**
-
-Cura is an open-source 3D printing application developed by David Braam. Ultimaker Cura is the most popular software in 3D printing world and used by millions of users worldwide. It follows 3 step 3D printing model: Design, Prepare and Print.
-
-![][94]
-
-It is a feature-rich 3D printing application with seamless integration support for CAD plug-ins and add-ons. It is very simple and easy to use tool, novice artists can start right away. It supports major file formats like STL, 3MF and OBJ file formats.
-
-### **87\. Nomacs**
-
-Nomacs is an open-source, cross-platform image viewer which is supports all the major image formats including RAW and psd images. It has ability to browse images in zip or Microsoft Office files and extract them to a directory.
-
-![][95]
-
-Nomacs has very simple user interface with image thumbnails at the top and it offers some basic image manipulation features like crop, resize, rotate, color correction, etc.
-
-```
-$ sudo add-apt-repository ppa:nomacs/stable
-$ sudo apt-get update
-$ sudo apt-get install nomacs
-```
-
-### **88\. BitTicker**
-
-BitTicker is a live bitcoin-USDT Ticker for Ubuntu. It is a simple tool that connects to bittrex.com market and retrieves the latest price for BTC-USDT and display Ubuntu clock on system tray.
-
-![][96]
-
-It is simple but very useful too if you invest in Bitcoin regularly and have to study price fluctuations regulary.
-
-### **89\. Organize My Files**
-
-Organize My Files is cross-platform one click file organizer and it is available in Ubuntu as a snap package. It is a simple but powerful tool that will help you find unorganized files in a simple click and take them under control.
-
-![][97]
-
-It has intuitive user interface which is powerful and fast. It offers features such as auto organizing, recursive organizing, smart filters and multi folders organizing.
-
-### **90\. GnuCash**
-
-GnuCash is financial accounting software licensed under GNU general public license for free usage. It is an ideal software for personal and small business accounting. It has simple user interface which allows you to keep track of bank accounts, stocks, income and expenses.
-
-![][98]
-
-GnuCash implements double-entry bookkeeping system and based on professional accounting principle to ensure balanced books and accurate reports.
-
-### **91\. Calibre**
-
-Calibre is a cross-platform, open-source solution to all your e-book needs. It is a simple e-book organizer that offers features like displaying, creating, editing e-books, organizing existing e-books into virtual libraries, syncing and many more.
-
-![][99]
-
-Calibre also helps you convert e-books into whichever format you need and send them to your e-book reading device. Calibre is a very good tool to have if you regularly read and manage e-books.
-
-### **92\. MATE Dictionary**
-
-MATE Dictionary is a simple dictionary basically developed for MATE desktop environment. You just need to type the word and then this dictionary will display the meaning and references for it.
-
-![][100]
-
-It is simple and lightweight online dictionary with minimalist user interface.
-
-### **93\. Converseen**
-
-Converseen is a free cross-platform batch image processing application that lets you convert, edit, resize, rotate and flip large number of images with a single mouse click. It offers features like renaming bunch of images using prefix/suffix, extract image from a Windows icon file, etc.
-
-![][101]
-
-It has very good user interface which is easy to use even if you are a novice user. It can also convert entire PDF file into collection of images.
-
-### **94\. Tiled Map Editor**
-
-Tiled is a free software level map editor which you can use to edit the maps in various projections such as orthogonal, isometric and hexagonal. This tool can be very useful for game developers during game engine development cycle.
-
-![][102]
-
-Tiled is a versatile map editor which lets you create power boost positions, map layouts, collision areas, and enemy positions. It saves all the data in tmx format.
-
-### **95.** **Qmmp**
-
-Qmmp is a free and open-source audio player developed in Qt and C++. It is a cross-platform audio player with user interface very similar to Winamp. It has simple and intuitive user interface, Winamp skins can be used instead of default UI.
-
-![][103]
-
-It offers features such as automatic album cover fetching, multiple artists support, additional plug-ins and add-ons support and other features similar to Winamp.
-
-```
-$ sudo add-apt-repository ppa:forkotov02/ppa
-$ sudo apt-get update
-$ sudo apt-get install qmmp qmmp-q4 qmmp-plugin-pack-qt4
-```
-
-### **96\. Arora**
-
-Arora is free and open-source web browser which offers features like dedicated download manager, bookmarks, privacy mode and tabbed browsing.
-
-![][104]
-
-Arora web browser is developed by Benjamin C. Meyer and it is popular among Linux users for its lightweight nature and flexibility.
-
-### **97\. XnSketch**
-
-XnSketch is a cool application for Ubuntu that will help you transform your photos into cartoon or sketch images in few clicks. It sports 18 different effects such as black strokes, white strokes, pencil sketch and others.
-
-![][105]
-
-It has an excellent user interface which you will find easy to use. Some additional features in XnSketch include opacity and edge strength adjustment, contrast, brightness and saturation adjustment.
-
-### **98\. Geany**
-
-Geany is a simple and lightweight text editor which works like an Integrated Development Environment (IDE). It is a cross-platform text editor and supports all the major programming languages including Python, C++, LaTex, Pascal, C#, etc.
-
-![][106]
-
-Geany has simple user interface which resembles to programming editors like Notepad++. It offers IDE like features such as code navigation, auto-completion, syntax highlighting, and extensions support.
-
-```
-$ sudo apt-get install geany
-```
-
-### **99\. Mumble**
-
-Mumble is another Voice over Internet Protocol application very similar to Discord. Mumble is also basically designed for online gamers and uses client-server architecture for end-to-end chat. Voice quality is very good on Mumble and it offers end-to-end encryption to ensure privacy.
-
-![][107]
-
-Mumble is an open-source application and features very simple user interface which is easy to use. Mumble is available for download in Ubuntu Software Center.
-
-```
-$ sudo apt-get install mumble-server
-```
-
-### **100\. Deluge**
-
-Deluge is a cross-platform and lightweight BitTorrent client that can be used for downloading files on Ubuntu. BitTorrent client come bundled with many Linux distros but Deluge is the best BitTorrent client which has simple user interface which is easy to use.
-
-![][108]
-
-Deluge comes with all the features you will find in BitTorrent clients but one feature that stands out is it gives user ability to access the client from other devices as well so that you can download files to your computer even if you are not at home.
-
-```
-$ sudo add-apt-repository ppa:deluge-team/ppa
-$ sudo apt-get update
-$ sudo apt-get install deluge
-```
-
-So these are my picks for best 100 applications for Ubuntu in 2018 which you should try. All the applications listed here are tested on Ubuntu 18.04 and will definitely work on older versions too. Feel free to share your view about the article at [@LinuxHint][109] and [@SwapTirthakar][110].
-
---------------------------------------------------------------------------------
-
-via: https://linuxhint.com/100_best_ubuntu_apps/
-
-作者:[Swapnil Tirthakar][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:https://linuxhint.com/author/swapnil/
-[1]:https://linuxhint.com/applications-2018-ubuntu/
-[2]:https://linuxhint.com/wp-content/uploads/2018/06/100-Best-Ubuntu-Apps.png
-[3]:https://linuxhint.com/wp-content/uploads/2018/06/Chrome.png
-[4]:https://linuxhint.com/wp-content/uploads/2018/06/Steam.png
-[5]:https://linuxhint.com/wp-content/uploads/2018/06/Wordpress.png
-[6]:https://linuxhint.com/wp-content/uploads/2018/06/VLC.png
-[7]:https://linuxhint.com/wp-content/uploads/2018/06/Atom-Text-Editor.png
-[8]:https://linuxhint.com/wp-content/uploads/2018/06/GIMP.png
-[9]:https://linuxhint.com/wp-content/uploads/2018/06/Google-Play.png
-[10]:https://www.googleplaymusicdesktopplayer.com/
-[11]:https://linuxhint.com/wp-content/uploads/2018/06/Franz.png
-[12]:https://meetfranz.com/#download
-[13]:https://linuxhint.com/wp-content/uploads/2018/06/Synaptic.png
-[14]:https://linuxhint.com/wp-content/uploads/2018/06/Skype.png
-[15]:https://linuxhint.com/wp-content/uploads/2018/06/VirtualBox.png
-[16]:https://linuxhint.com/wp-content/uploads/2018/06/Unity-Tweak-Tool.png
-[17]:https://linuxhint.com/wp-content/uploads/2018/06/Ubuntu-Cleaner.png
-[18]:https://linuxhint.com/wp-content/uploads/2018/06/Visual-Studio-Code.png
-[19]:https://linuxhint.com/wp-content/uploads/2018/06/Corebird.png
-[20]:https://linuxhint.com/wp-content/uploads/2018/06/Pixbuf.png
-[21]:https://linuxhint.com/wp-content/uploads/2018/06/Clementine.png
-[22]:https://linuxhint.com/wp-content/uploads/2016/06/blender.jpg
-[23]:https://linuxhint.com/wp-content/uploads/2018/06/Audacity.png
-[24]:https://linuxhint.com/wp-content/uploads/2018/06/Vim.png
-[25]:https://linuxhint.com/wp-content/uploads/2018/06/Inkscape-1.png
-[26]:https://linuxhint.com/wp-content/uploads/2018/06/ShotCut.png
-[27]:https://linuxhint.com/wp-content/uploads/2018/06/Simple-Screen-Recorder.png
-[28]:https://linuxhint.com/wp-content/uploads/2018/06/Telegram.png
-[29]:https://linuxhint.com/wp-content/uploads/2018/06/ClamTk.png
-[30]:https://linuxhint.com/wp-content/uploads/2018/06/Mailspring.png
-[31]:https://linuxhint.com/wp-content/uploads/2018/06/PyCharm.png
-[32]:https://linuxhint.com/wp-content/uploads/2018/06/Caffeine.png
-[33]:https://linuxhint.com/wp-content/uploads/2018/06/Etcher.png
-[34]:https://etcher.io/
-[35]:https://linuxhint.com/wp-content/uploads/2018/06/Neofetch.png
-[36]:https://linuxhint.com/wp-content/uploads/2018/06/Liferea.png
-[37]:https://linuxhint.com/wp-content/uploads/2018/06/Shutter.png
-[38]:https://linuxhint.com/wp-content/uploads/2018/06/Weather.png
-[39]:https://linuxhint.com/wp-content/uploads/2018/06/Ramme.png
-[40]:https://github.com/terkelg/ramme/releases
-[41]:https://linuxhint.com/wp-content/uploads/2018/06/Thunderbird.png
-[42]:https://linuxhint.com/wp-content/uploads/2018/06/Pidgin.png
-[43]:https://linuxhint.com/wp-content/uploads/2018/06/Krita.png
-[44]:https://linuxhint.com/wp-content/uploads/2018/06/Dropbox.png
-[45]:https://linuxhint.com/wp-content/uploads/2018/06/kodi.png
-[46]:https://linuxhint.com/wp-content/uploads/2018/06/Spotify.png
-[47]:https://linuxhint.com/wp-content/uploads/2018/06/Brackets.png
-[48]:https://linuxhint.com/wp-content/uploads/2018/06/Bitwarden.png
-[49]:https://linuxhint.com/wp-content/uploads/2018/06/Terminator.png
-[50]:https://linuxhint.com/wp-content/uploads/2018/06/Yak-Yak.png
-[51]:https://linuxhint.com/wp-content/uploads/2018/06/Thonny.png
-[52]:https://linuxhint.com/wp-content/uploads/2018/06/Font-Manager.png
-[53]:https://linuxhint.com/wp-content/uploads/2018/06/Atril.png
-[54]:https://linuxhint.com/wp-content/uploads/2018/06/Notepadqq.png
-[55]:https://linuxhint.com/wp-content/uploads/2018/06/Amarok.png
-[56]:https://linuxhint.com/wp-content/uploads/2018/06/Cheese.png
-[57]:https://linuxhint.com/wp-content/uploads/2018/06/MyPaint.png
-[58]:https://linuxhint.com/wp-content/uploads/2018/06/PlayOnLinux.png
-[59]:https://linuxhint.com/wp-content/uploads/2018/06/Akregator.png
-[60]:https://linuxhint.com/wp-content/uploads/2018/06/Brave.png
-[61]:https://linuxhint.com/wp-content/uploads/2018/06/Bitcoin-Core.png
-[62]:https://linuxhint.com/wp-content/uploads/2018/06/Speedy-Duplicate-Finder.png
-[63]:https://linuxhint.com/wp-content/uploads/2018/06/Zulip.png
-[64]:https://linuxhint.com/wp-content/uploads/2018/06/Okular.png
-[65]:https://linuxhint.com/wp-content/uploads/2018/06/Focus-Writer.png
-[66]:https://linuxhint.com/wp-content/uploads/2018/06/Guake.png
-[67]:https://linuxhint.com/wp-content/uploads/2018/06/KDE-Connect.png
-[68]:https://linuxhint.com/wp-content/uploads/2018/06/CopyQ.png
-[69]:https://linuxhint.com/wp-content/uploads/2018/06/Tilix.png
-[70]:https://linuxhint.com/wp-content/uploads/2018/06/Anbox.png
-[71]:https://linuxhint.com/wp-content/uploads/2018/06/OpenShot.png
-[72]:https://linuxhint.com/wp-content/uploads/2018/06/Plank.png
-[73]:https://linuxhint.com/wp-content/uploads/2018/06/FileZilla.png
-[74]:https://linuxhint.com/wp-content/uploads/2018/06/Stacer.png
-[75]:https://linuxhint.com/wp-content/uploads/2018/06/4K-Video-Downloader.png
-[76]:https://www.4kdownload.com/download
-[77]:https://linuxhint.com/wp-content/uploads/2018/06/Qalculate.png
-[78]:https://linuxhint.com/wp-content/uploads/2018/06/Hiri.png
-[79]:https://linuxhint.com/wp-content/uploads/2018/06/Sublime-text.png
-[80]:https://linuxhint.com/wp-content/uploads/2018/06/TeXstudio.png
-[81]:https://www.texstudio.org/
-[82]:https://linuxhint.com/wp-content/uploads/2018/06/QtQR.png
-[83]:https://linuxhint.com/wp-content/uploads/2018/06/Kontact.png
-[84]:https://linuxhint.com/wp-content/uploads/2018/06/Nitro-Share.png
-[85]:https://linuxhint.com/wp-content/uploads/2018/06/Konversation.png
-[86]:https://linuxhint.com/wp-content/uploads/2018/06/Discord.png
-[87]:https://linuxhint.com/wp-content/uploads/2018/06/QuiteRSS.png
-[88]:https://linuxhint.com/wp-content/uploads/2018/06/MPU-Media-Player.png
-[89]:https://linuxhint.com/wp-content/uploads/2018/06/Plume-Creator.png
-[90]:https://linuxhint.com/wp-content/uploads/2018/06/Chromium.png
-[91]:https://linuxhint.com/wp-content/uploads/2018/06/Simple-Weather-Indicator.png
-[92]:https://linuxhint.com/wp-content/uploads/2018/06/SpeedCrunch.png
-[93]:https://linuxhint.com/wp-content/uploads/2018/06/Scribus.png
-[94]:https://linuxhint.com/wp-content/uploads/2018/06/Cura.png
-[95]:https://linuxhint.com/wp-content/uploads/2018/06/Nomacs.png
-[96]:https://linuxhint.com/wp-content/uploads/2018/06/Bit-Ticker-1.png
-[97]:https://linuxhint.com/wp-content/uploads/2018/06/Organize-My-Files.png
-[98]:https://linuxhint.com/wp-content/uploads/2018/06/GNU-Cash.png
-[99]:https://linuxhint.com/wp-content/uploads/2018/06/Calibre.png
-[100]:https://linuxhint.com/wp-content/uploads/2018/06/MATE-Dictionary.png
-[101]:https://linuxhint.com/wp-content/uploads/2018/06/Converseen.png
-[102]:https://linuxhint.com/wp-content/uploads/2018/06/Tiled-Map-Editor.png
-[103]:https://linuxhint.com/wp-content/uploads/2018/06/Qmmp.png
-[104]:https://linuxhint.com/wp-content/uploads/2018/06/Arora.png
-[105]:https://linuxhint.com/wp-content/uploads/2018/06/XnSketch.png
-[106]:https://linuxhint.com/wp-content/uploads/2018/06/Geany.png
-[107]:https://linuxhint.com/wp-content/uploads/2018/06/Mumble.png
-[108]:https://linuxhint.com/wp-content/uploads/2018/06/Deluge.png
-[109]:https://twitter.com/linuxhint
-[110]:https://twitter.com/SwapTirthakar
diff --git a/sources/tech/20180725 Put platforms in a Python game with Pygame.md b/sources/tech/20180725 Put platforms in a Python game with Pygame.md
deleted file mode 100644
index 759bfc01df..0000000000
--- a/sources/tech/20180725 Put platforms in a Python game with Pygame.md
+++ /dev/null
@@ -1,590 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Put platforms in a Python game with Pygame)
-[#]: via: (https://opensource.com/article/18/7/put-platforms-python-game)
-[#]: author: (Seth Kenlon https://opensource.com/users/seth)
-
-Put platforms in a Python game with Pygame
-======
-In part six of this series on building a Python game from scratch, create some platforms for your characters to travel.
-
-
-This is part 6 in an ongoing series about creating video games in Python 3 using the Pygame module. Previous articles are:
-
-+ [Learn how to program in Python by building a simple dice game][24]
-+ [Build a game framework with Python using the Pygame module][25]
-+ [How to add a player to your Python game][26]
-+ [Using Pygame to move your game character around][27]
-+ [What's a hero without a villain? How to add one to your Python game][28]
-
-
-A platformer game needs platforms.
-
-In [Pygame][1], the platforms themselves are sprites, just like your playable sprite. That's important because having platforms that are objects makes it a lot easier for your player sprite to interact with them.
-
-There are two major steps in creating platforms. First, you must code the objects, and then you must map out where you want the objects to appear.
-
-### Coding platform objects
-
-To build a platform object, you create a class called `Platform`. It's a sprite, just like your [`Player`][2] [sprite][2], with many of the same properties.
-
-Your `Platform` class needs to know a lot of information about what kind of platform you want, where it should appear in the game world, and what image it should contain. A lot of that information might not even exist yet, depending on how much you have planned out your game, but that's all right. Just as you didn't tell your Player sprite how fast to move until the end of the [Movement article][3], you don't have to tell `Platform` everything upfront.
-
-Near the top of the script you've been writing in this series, create a new class. The first three lines in this code sample are for context, so add the code below the comment:
-
-```
-import pygame
-import sys
-import os
-## new code below:
-
-class Platform(pygame.sprite.Sprite):
-# x location, y location, img width, img height, img file
-def __init__(self,xloc,yloc,imgw,imgh,img):
- pygame.sprite.Sprite.__init__(self)
- self.image = pygame.image.load(os.path.join('images',img)).convert()
- self.image.convert_alpha()
- self.image.set_colorkey(ALPHA)
- self.rect = self.image.get_rect()
- self.rect.y = yloc
- self.rect.x = xloc
-```
-
-When called, this class creates an object onscreen in some X and Y location, with some width and height, using some image file for texture. It's very similar to how players or enemies are drawn onscreen.
-
-### Types of platforms
-
-The next step is to map out where all your platforms need to appear.
-
-#### The tile method
-
-There are a few different ways to implement a platform game world. In the original side-scroller games, such as Mario Super Bros. and Sonic the Hedgehog, the technique was to use "tiles," meaning that there were a few blocks to represent the ground and various platforms, and these blocks were used and reused to make a level. You have only eight or 12 different kinds of blocks, and you line them up onscreen to create the ground, floating platforms, and whatever else your game needs. Some people find this the easier way to make a game since you just have to make (or download) a small set of level assets to create many different levels. The code, however, requires a little more math.
-
-![Supertux, a tile-based video game][5]
-
-[SuperTux][6], a tile-based video game.
-
-#### The hand-painted method
-
-Another method is to make each and every asset as one whole image. If you enjoy creating assets for your game world, this is a great excuse to spend time in a graphics application, building each and every part of your game world. This method requires less math, because all the platforms are whole, complete objects, and you tell [Python][7] where to place them onscreen.
-
-Each method has advantages and disadvantages, and the code you must use is slightly different depending on the method you choose. I'll cover both so you can use one or the other, or even a mix of both, in your project.
-
-### Level mapping
-
-Mapping out your game world is a vital part of level design and game programming in general. It does involve math, but nothing too difficult, and Python is good at math so it can help some.
-
-You might find it helpful to design on paper first. Get a sheet of paper and draw a box to represent your game window. Draw platforms in the box, labeling each with its X and Y coordinates, as well as its intended width and height. The actual positions in the box don't have to be exact, as long as you keep the numbers realistic. For instance, if your screen is 720 pixels wide, then you can't fit eight platforms at 100 pixels each all on one screen.
-
-Of course, not all platforms in your game have to fit in one screen-sized box, because your game will scroll as your player walks through it. So keep drawing your game world to the right of the first screen until the end of the level.
-
-If you prefer a little more precision, you can use graph paper. This is especially helpful when designing a game with tiles because each grid square can represent one tile.
-
-![Example of a level map][9]
-
-Example of a level map.
-
-#### Coordinates
-
-You may have learned in school about the [Cartesian coordinate system][10]. What you learned applies to Pygame, except that in Pygame, your game world's coordinates place `0,0` in the top-left corner of your screen instead of in the middle, which is probably what you're used to from Geometry class.
-
-![Example of coordinates in Pygame][12]
-
-Example of coordinates in Pygame.
-
-The X axis starts at 0 on the far left and increases infinitely to the right. The Y axis starts at 0 at the top of the screen and extends down.
-
-#### Image sizes
-
-Mapping out a game world is meaningless if you don't know how big your players, enemies, and platforms are. You can find the dimensions of your platforms or tiles in a graphics program. In [Krita][13], for example, click on the **Image** menu and select **Properties**. You can find the dimensions at the very top of the **Properties** window.
-
-Alternately, you can create a simple Python script to tell you the dimensions of an image. Open a new text file and type this code into it:
-
-```
-#!/usr/bin/env python3
-
-from PIL import Image
-import os.path
-import sys
-
-if len(sys.argv) > 1:
- print(sys.argv[1])
-else:
- sys.exit('Syntax: identify.py [filename]')
-
-pic = sys.argv[1]
-dim = Image.open(pic)
-X = dim.size[0]
-Y = dim.size[1]
-
-print(X,Y)
-```
-
-Save the text file as `identify.py`.
-
-To set up this script, you must install an extra set of Python modules that contain the new keywords used in the script:
-
-```
-$ pip3 install Pillow --user
-```
-
-Once that is installed, run your script from within your game project directory:
-
-```
-$ python3 ./identify.py images/ground.png
-(1080, 97)
-```
-
-The image size of the ground platform in this example is 1080 pixels wide and 97 high.
-
-### Platform blocks
-
-If you choose to draw each asset individually, you must create several platforms and any other elements you want to insert into your game world, each within its own file. In other words, you should have one file per asset, like this:
-
-![One image file per object][15]
-
-One image file per object.
-
-You can reuse each platform as many times as you want, just make sure that each file only contains one platform. You cannot use a file that contains everything, like this:
-
-![Your level cannot be one image file][17]
-
-Your level cannot be one image file.
-
-You might want your game to look like that when you've finished, but if you create your level in one big file, there is no way to distinguish a platform from the background, so either paint your objects in their own file or crop them from a large file and save individual copies.
-
-**Note:** As with your other assets, you can use [GIMP][18], Krita, [MyPaint][19], or [Inkscape][20] to create your game assets.
-
-Platforms appear on the screen at the start of each level, so you must add a `platform` function in your `Level` class. The special case here is the ground platform, which is important enough to be treated as its own platform group. By treating the ground as its own special kind of platform, you can choose whether it scrolls or whether it stands still while other platforms float over the top of it. It's up to you.
-
-Add these two functions to your `Level` class:
-
-```
-def ground(lvl,x,y,w,h):
- ground_list = pygame.sprite.Group()
- if lvl == 1:
- ground = Platform(x,y,w,h,'block-ground.png')
- ground_list.add(ground)
-
- if lvl == 2:
- print("Level " + str(lvl) )
-
- return ground_list
-
-def platform( lvl ):
- plat_list = pygame.sprite.Group()
- if lvl == 1:
- plat = Platform(200, worldy-97-128, 285,67,'block-big.png')
- plat_list.add(plat)
- plat = Platform(500, worldy-97-320, 197,54,'block-small.png')
- plat_list.add(plat)
- if lvl == 2:
- print("Level " + str(lvl) )
-
- return plat_list
-```
-
-The `ground` function requires an X and Y location so Pygame knows where to place the ground platform. It also requires the width and height of the platform so Pygame knows how far the ground extends in each direction. The function uses your `Platform` class to generate an object onscreen, and then adds that object to the `ground_list` group.
-
-The `platform` function is essentially the same, except that there are more platforms to list. In this example, there are only two, but you can have as many as you like. After entering one platform, you must add it to the `plat_list` before listing another. If you don't add a platform to the group, then it won't appear in your game.
-
-> **Tip:** It can be difficult to think of your game world with 0 at the top, since the opposite is what happens in the real world; when figuring out how tall you are, you don't measure yourself from the sky down, you measure yourself from your feet to the top of your head.
->
-> If it's easier for you to build your game world from the "ground" up, it might help to express Y-axis values as negatives. For instance, you know that the bottom of your game world is the value of `worldy`. So `worldy` minus the height of the ground (97, in this example) is where your player is normally standing. If your character is 64 pixels tall, then the ground minus 128 is exactly twice as tall as your player. Effectively, a platform placed at 128 pixels is about two stories tall, relative to your player. A platform at -320 is three more stories. And so on.
-
-As you probably know by now, none of your classes and functions are worth much if you don't use them. Add this code to your setup section (the first line is just for context, so add the last two lines):
-
-```
-enemy_list = Level.bad( 1, eloc )
-ground_list = Level.ground( 1,0,worldy-97,1080,97 )
-plat_list = Level.platform( 1 )
-```
-
-And add these lines to your main loop (again, the first line is just for context):
-
-```
-enemy_list.draw(world) # refresh enemies
-ground_list.draw(world) # refresh ground
-plat_list.draw(world) # refresh platforms
-```
-
-### Tiled platforms
-
-Tiled game worlds are considered easier to make because you just have to draw a few blocks upfront and can use them over and over to create every platform in the game. There are even sets of tiles for you to use on sites like [OpenGameArt.org][21].
-
-The `Platform` class is the same as the one provided in the previous sections.
-
-The `ground` and `platform` in the `Level` class, however, must use loops to calculate how many blocks to use to create each platform.
-
-If you intend to have one solid ground in your game world, the ground is simple. You just "clone" your ground tile across the whole window. For instance, you could create a list of X and Y values to dictate where each tile should be placed, and then use a loop to take each value and draw one tile. This is just an example, so don't add this to your code:
-
-```
-# Do not add this to your code
-gloc = [0,656,64,656,128,656,192,656,256,656,320,656,384,656]
-```
-
-If you look carefully, though, you can see all the Y values are always the same, and the X values increase steadily in increments of 64, which is the size of the tiles. That kind of repetition is exactly what computers are good at, so you can use a little bit of math logic to have the computer do all the calculations for you:
-
-Add this to the setup part of your script:
-
-```
-gloc = []
-tx = 64
-ty = 64
-
-i=0
-while i <= (worldx/tx)+tx:
- gloc.append(i*tx)
- i=i+1
-
-ground_list = Level.ground( 1,gloc,tx,ty )
-```
-
-Now, regardless of the size of your window, Python divides the width of the game world by the width of the tile and creates an array listing each X value. This doesn't calculate the Y value, but that never changes on flat ground anyway.
-
-To use the array in a function, use a `while` loop that looks at each entry and adds a ground tile at the appropriate location:
-
-```
-def ground(lvl,gloc,tx,ty):
- ground_list = pygame.sprite.Group()
- i=0
- if lvl == 1:
- while i < len(gloc):
- ground = Platform(gloc[i],worldy-ty,tx,ty,'tile-ground.png')
- ground_list.add(ground)
- i=i+1
-
- if lvl == 2:
- print("Level " + str(lvl) )
-
- return ground_list
-```
-
-This is nearly the same code as the `ground` function for the block-style platformer, provided in a previous section above, aside from the `while` loop.
-
-For moving platforms, the principle is similar, but there are some tricks you can use to make your life easier.
-
-Rather than mapping every platform by pixels, you can define a platform by its starting pixel (its X value), the height from the ground (its Y value), and how many tiles to draw. That way, you don't have to worry about the width and height of every platform.
-
-The logic for this trick is a little more complex, so copy this code carefully. There is a `while` loop inside of another `while` loop because this function must look at all three values within each array entry to successfully construct a full platform. In this example, there are only three platforms defined as `ploc.append` statements, but your game probably needs more, so define as many as you need. Of course, some won't appear yet because they're far offscreen, but they'll come into view once you implement scrolling.
-
-```
-def platform(lvl,tx,ty):
- plat_list = pygame.sprite.Group()
- ploc = []
- i=0
- if lvl == 1:
- ploc.append((200,worldy-ty-128,3))
- ploc.append((300,worldy-ty-256,3))
- ploc.append((500,worldy-ty-128,4))
- while i < len(ploc):
- j=0
- while j <= ploc[i][2]:
- plat = Platform((ploc[i][0]+(j*tx)),ploc[i][1],tx,ty,'tile.png')
- plat_list.add(plat)
- j=j+1
- print('run' + str(i) + str(ploc[i]))
- i=i+1
-
- if lvl == 2:
- print("Level " + str(lvl) )
-
- return plat_list
-```
-
-To get the platforms to appear in your game world, they must be in your main loop. If you haven't already done so, add these lines to your main loop (again, the first line is just for context):
-
-```
- enemy_list.draw(world) # refresh enemies
- ground_list.draw(world) # refresh ground
- plat_list.draw(world) # refresh platforms
-```
-
-Launch your game, and adjust the placement of your platforms as needed. Don't worry that you can't see the platforms that are spawned offscreen; you'll fix that soon.
-
-Here is the game so far in a picture and in code:
-
-![Pygame game][23]
-
-Our Pygame platformer so far.
-
-```
- #!/usr/bin/env python3
-# draw a world
-# add a player and player control
-# add player movement
-# add enemy and basic collision
-# add platform
-
-# GNU All-Permissive License
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-import pygame
-import sys
-import os
-
-'''
-Objects
-'''
-
-class Platform(pygame.sprite.Sprite):
- # x location, y location, img width, img height, img file
- def __init__(self,xloc,yloc,imgw,imgh,img):
- pygame.sprite.Sprite.__init__(self)
- self.image = pygame.image.load(os.path.join('images',img)).convert()
- self.image.convert_alpha()
- self.rect = self.image.get_rect()
- self.rect.y = yloc
- self.rect.x = xloc
-
-class Player(pygame.sprite.Sprite):
- '''
- Spawn a player
- '''
- def __init__(self):
- pygame.sprite.Sprite.__init__(self)
- self.movex = 0
- self.movey = 0
- self.frame = 0
- self.health = 10
- self.score = 1
- self.images = []
- for i in range(1,9):
- img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
- img.convert_alpha()
- img.set_colorkey(ALPHA)
- self.images.append(img)
- self.image = self.images[0]
- self.rect = self.image.get_rect()
-
- def control(self,x,y):
- '''
- control player movement
- '''
- self.movex += x
- self.movey += y
-
- def update(self):
- '''
- Update sprite position
- '''
-
- self.rect.x = self.rect.x + self.movex
- self.rect.y = self.rect.y + self.movey
-
- # moving left
- if self.movex < 0:
- self.frame += 1
- if self.frame > ani*3:
- self.frame = 0
- self.image = self.images[self.frame//ani]
-
- # moving right
- if self.movex > 0:
- self.frame += 1
- if self.frame > ani*3:
- self.frame = 0
- self.image = self.images[(self.frame//ani)+4]
-
- # collisions
- enemy_hit_list = pygame.sprite.spritecollide(self, enemy_list, False)
- for enemy in enemy_hit_list:
- self.health -= 1
- print(self.health)
-
- ground_hit_list = pygame.sprite.spritecollide(self, ground_list, False)
- for g in ground_hit_list:
- self.health -= 1
- print(self.health)
-
-
-class Enemy(pygame.sprite.Sprite):
- '''
- Spawn an enemy
- '''
- def __init__(self,x,y,img):
- pygame.sprite.Sprite.__init__(self)
- self.image = pygame.image.load(os.path.join('images',img))
- #self.image.convert_alpha()
- #self.image.set_colorkey(ALPHA)
- self.rect = self.image.get_rect()
- self.rect.x = x
- self.rect.y = y
- self.counter = 0
-
- def move(self):
- '''
- enemy movement
- '''
- distance = 80
- speed = 8
-
- if self.counter >= 0 and self.counter <= distance:
- self.rect.x += speed
- elif self.counter >= distance and self.counter <= distance*2:
- self.rect.x -= speed
- else:
- self.counter = 0
-
- self.counter += 1
-
-class Level():
- def bad(lvl,eloc):
- if lvl == 1:
- enemy = Enemy(eloc[0],eloc[1],'yeti.png') # spawn enemy
- enemy_list = pygame.sprite.Group() # create enemy group
- enemy_list.add(enemy) # add enemy to group
-
- if lvl == 2:
- print("Level " + str(lvl) )
-
- return enemy_list
-
- def loot(lvl,lloc):
- print(lvl)
-
- def ground(lvl,gloc,tx,ty):
- ground_list = pygame.sprite.Group()
- i=0
- if lvl == 1:
- while i < len(gloc):
- print("blockgen:" + str(i))
- ground = Platform(gloc[i],worldy-ty,tx,ty,'ground.png')
- ground_list.add(ground)
- i=i+1
-
- if lvl == 2:
- print("Level " + str(lvl) )
-
- return ground_list
-
-'''
-Setup
-'''
-worldx = 960
-worldy = 720
-
-fps = 40 # frame rate
-ani = 4 # animation cycles
-clock = pygame.time.Clock()
-pygame.init()
-main = True
-
-BLUE = (25,25,200)
-BLACK = (23,23,23 )
-WHITE = (254,254,254)
-ALPHA = (0,255,0)
-
-world = pygame.display.set_mode([worldx,worldy])
-backdrop = pygame.image.load(os.path.join('images','stage.png')).convert()
-backdropbox = world.get_rect()
-player = Player() # spawn player
-player.rect.x = 0
-player.rect.y = 0
-player_list = pygame.sprite.Group()
-player_list.add(player)
-steps = 10 # how fast to move
-
-eloc = []
-eloc = [200,20]
-gloc = []
-#gloc = [0,630,64,630,128,630,192,630,256,630,320,630,384,630]
-tx = 64 #tile size
-ty = 64 #tile size
-
-i=0
-while i <= (worldx/tx)+tx:
- gloc.append(i*tx)
- i=i+1
- print("block: " + str(i))
-
-enemy_list = Level.bad( 1, eloc )
-ground_list = Level.ground( 1,gloc,tx,ty )
-
-'''
-Main loop
-'''
-while main == True:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- pygame.quit(); sys.exit()
- main = False
-
- if event.type == pygame.KEYDOWN:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- player.control(-steps,0)
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- player.control(steps,0)
- if event.key == pygame.K_UP or event.key == ord('w'):
- print('jump')
-
- if event.type == pygame.KEYUP:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- player.control(steps,0)
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- player.control(-steps,0)
- if event.key == ord('q'):
- pygame.quit()
- sys.exit()
- main = False
-
-# world.fill(BLACK)
- world.blit(backdrop, backdropbox)
- player.update()
- player_list.draw(world) #refresh player position
- enemy_list.draw(world) # refresh enemies
- ground_list.draw(world) # refresh enemies
- for e in enemy_list:
- e.move()
- pygame.display.flip()
- clock.tick(fps)
-```
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/18/7/put-platforms-python-game
-
-作者:[Seth Kenlon][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/seth
-[b]: https://github.com/lujun9972
-[1]: https://www.pygame.org/news
-[2]: https://opensource.com/article/17/12/game-python-add-a-player
-[3]: https://opensource.com/article/17/12/game-python-moving-player
-[4]: /file/403841
-[5]: https://opensource.com/sites/default/files/uploads/supertux.png (Supertux, a tile-based video game)
-[6]: https://www.supertux.org/
-[7]: https://www.python.org/
-[8]: /file/403861
-[9]: https://opensource.com/sites/default/files/uploads/layout.png (Example of a level map)
-[10]: https://en.wikipedia.org/wiki/Cartesian_coordinate_system
-[11]: /file/403871
-[12]: https://opensource.com/sites/default/files/uploads/pygame_coordinates.png (Example of coordinates in Pygame)
-[13]: https://krita.org/en/
-[14]: /file/403876
-[15]: https://opensource.com/sites/default/files/uploads/pygame_floating.png (One image file per object)
-[16]: /file/403881
-[17]: https://opensource.com/sites/default/files/uploads/pygame_flattened.png (Your level cannot be one image file)
-[18]: https://www.gimp.org/
-[19]: http://mypaint.org/about/
-[20]: https://inkscape.org/en/
-[21]: https://opengameart.org/content/simplified-platformer-pack
-[22]: /file/403886
-[23]: https://opensource.com/sites/default/files/uploads/pygame_platforms.jpg (Pygame game)
-[24]: Learn how to program in Python by building a simple dice game
-[25]: https://opensource.com/article/17/12/game-framework-python
-[26]: https://opensource.com/article/17/12/game-python-add-a-player
-[27]: https://opensource.com/article/17/12/game-python-moving-player
-[28]: https://opensource.com/article/18/5/pygame-enemy
-
diff --git a/sources/tech/20180828 Linux for Beginners- Moving Things Around.md b/sources/tech/20180828 Linux for Beginners- Moving Things Around.md
deleted file mode 100644
index abefc7c6f5..0000000000
--- a/sources/tech/20180828 Linux for Beginners- Moving Things Around.md
+++ /dev/null
@@ -1,201 +0,0 @@
-Linux for Beginners: Moving Things Around
-======
-
-
-
-In previous installments of this series, [you learned about directories][1] and how [permissions to access directories work][2]. Most of what you learned in those articles can be applied to files, except how to make a file executable.
-
-So let's deal with that before moving on.
-
-### No _.exe_ Needed
-
-In other operating systems, the nature of a file is often determined by its extension. If a file has a _.jpg_ extension, the OS guesses it is an image; if it ends in _.wav_ , it is an audio file; and if it has an _.exe_ tacked onto the end of the file name, it is a program you can execute.
-
-This leads to serious problems, like trojans posing as documents. Fortunately, that is not how things work in Linux. Sure, you may see occasional executable file endings in _.sh_ that indicate they are runnable shell scripts, but this is mostly for the benefit of humans eyeballing files, the same way when you use `ls --color`, the names of executable files show up in bright green.
-
-The fact is most applications have no extension at all. What determines whether a file is really program is the _x_ (for _executable_ ) bit. You can make any file executable by running
-```
-chmod a+x some_program
-
-```
-
-regardless of its extension or lack thereof. The `x` in the command above sets the _x_ bit and the `a` says you are setting it for _all_ users. You could also set it only for the group of users that own the file (`g+x`), or for only one user, the owner (`u+x`).
-
-Although we will be covering creating and running scripts from the command line later in this series, know that you can run a program by writing the path to it and then tacking on the name of the program on the end:
-```
-path/to/directory/some_program
-
-```
-
-Or, if you are currently in the same directory, you can use:
-```
-./some_program
-
-```
-
-There are other ways of making your program available from anywhere in the directory tree (hint: look up the `$PATH` environment variable), but you will be reading about those when we talk about shell scripting.
-
-### Copying, Moving, Linking
-
-Obviously, there are more ways of modifying and handling files from the command line than just playing around with their permissions. Most applications will create a new file if you still try to open a file that doesn't exist. Both
-```
-nano test.txt
-
-```
-
-and
-```
-vim test.txt
-
-```
-
-([nano][3] and [vim][4] being to popular command line text editors) will create an empty _test.txt_ file for you to edit if _test.txt_ didn't exist beforehand.
-
-You can also create an empty file by _touching_ it:
-```
-touch test.txt
-
-```
-
-Will create a file, but not open it in any application.
-
-You can use `cp` to make a copy of a file in another location or under a new name:
-```
-cp test.txt copy_of_test.txt
-
-```
-
-You can also copy a whole bunch of files:
-```
-cp *.png /home/images
-
-```
-
-The instruction above copies all the PNG files in the current directory into an _images/_ directory hanging off of your home directory. The _images/_ directory has to exist before you try this, or `cp` will show an error. Also, be warned that, if you copy a file to a directory that contains another file with the same name, `cp` will silently overwrite the old file with the new one.
-
-You can use
-```
-cp -i *.png /home/images
-
-```
-
-If you want `cp` to warn you of any dangers (the `-i` options stands for _interactive_ ).
-
-You can also copy whole directories, but you need the `-r` option for that:
-```
-cp -rv directory_a/ directory_b
-
-```
-
-The `-r` option stands for _recursive_ , meaning that `cp` will drill down into _directory_a_ , copying over all the files and subdirectories contained within. I personally like to include the `-v` option, as it makes `cp` _verbose_ , meaning that it will show you what it is doing instead of just copying silently and then exiting.
-
-The `mv` command moves stuff. That is, it changes files from one location to another. In its simplest form, `mv` looks a lot like `cp`:
-```
-mv test.txt new_test.txt
-
-```
-
-The command above makes _new_test.txt_ appear and _test.txt_ disappear.
-```
-mv *.png /home/images
-
-```
-
-Moves all the PNG files in the current directory to a directory called _images/_ hanging of your home directory. Again you have to be careful you do not overwrite existing files by accident. Use
-```
-mv -i *.png /home/images
-
-```
-
-the same way you would with `cp` if you want to be on the safe side.
-
-Apart from moving versus copying, another difference between `mv` and `cp`is when you move a directory:
-```
-mv directory_a/ directory_b
-
-```
-
-No need for a recursive flag here. This is because what you are really doing is renaming the directory, the same way in the first example, you were renaming the file*. In fact, even when you "move" a file from one directory to another, as long as both directories are on the same storage device and partition, you are renaming the file.
-
-You can do an experiment to prove it. `time` is a tool that lets you measure how long a command takes to execute. Look for a hefty file, something that weighs several hundred MBs or even some GBs (say, something like a long video) and try copying it from one directory to another like this:
-```
-$ time cp hefty_file.mkv another_directory/
-real 0m3,868s
-user 0m0,016s
-sys 0m0,887s
-
-```
-
-In bold is what you have to type into the terminal and below what `time` outputs. The number to focus on is the one on the first line, _real_ time. It takes nearly 4 seconds to copy the 355 MBs of _hefty_file.mkv_ to _another_directory/_.
-
-Now let's try moving it:
-```
-$ time mv hefty_file.mkv another_directory/
-real 0m0,004s
-user 0m0,000s
-sys 0m0,003s
-
-```
-
-Moving is nearly instantaneous! This is counterintuitive, since it would seem that `mv` would have to copy the file and then delete the original. That is two things `mv` has to do versus `cp`'s one. But, somehow, `mv` is 1000 times faster.
-
-That is because the file system's structure, with all its tree of directories, only exists for the users convenience. At the beginning of each partition there is something called a _partition table_ that tells the operating system where to find each file on the actual physical disk. On the disk, data is not split up into directories or even files. [There are tracks, sectors and clusters instead][5]. When you "move" a file within the same partition, what the operating system does is just change the entry for that file in the partition table, but it still points to the same cluster of information on the disk.
-
-Yes! Moving is a lie! At least within the same partition that is. If you try and move a file to a different partition or a different device, `mv` is still fast, but is noticeably slower than moving stuff around within the same partition. That is because this time there is actually copying and erasing of data going on.
-
-### Renaming
-
-There are several distinct command line `rename` utilities around. None are fixtures like `cp` or `mv` and they can work in slightly different ways. What they all have in common is that they are used to change _parts_ of the names of files.
-
-In Debian and Ubuntu, the default `rename` utility uses [regular expressions][6] (patterns of strings of characters) to mass change files in a directory. The instruction:
-```
-rename 's/\.JPEG$/.jpg/' *
-
-```
-
-will change all the extensions of files with the extension _JPEG_ to _jpg_. The file _IMG001.JPEG_ becomes _IMG001.jpg_ , _my_pic.JPEG_ becomes _my_pic.jpg_ , and so on.
-
-Another version of `rename` available by default in Manjaro, a derivative of Arch, is much simpler, but arguably less powerful:
-```
-rename .JPEG .jpg *
-
-```
-
-This does the same renaming as you saw above. In this version, `.JPEG` is the string of characters you want to change, `.jpg` is what you want to change it to, and `*` represents all the files in the current directory.
-
-The bottom line is that you are better off using `mv` if all you want to do is rename one file or directory, and that's because `mv` is realiably the same in all distributions everywhere.
-
-### Learning more
-
-Check out the both `mv` and `cp`'s _man_ pages to learn more. Run
-```
-man cp
-
-```
-
-or
-```
-man mv
-
-```
-
-to read about all the options these commands come with and which make them more powerful and safer to use.
-
---------------------------------------------------------------------------------
-
-via: https://www.linux.com/blog/2018/8/linux-beginners-moving-things-around
-
-作者:[Paul Brown][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.linux.com/users/bro66
-[1]: https://www.linux.com/blog/learn/2018/5/manipulating-directories-linux
-[2]: https://www.linux.com/blog/learn/intro-to-linux/2018/7/users-groups-and-other-linux-beasts-part-2
-[3]: https://www.nano-editor.org/
-[4]: https://www.vim.org/
-[5]: https://en.wikipedia.org/wiki/Disk_sector
-[6]: https://en.wikipedia.org/wiki/Regular_expression
diff --git a/sources/tech/20180902 Learning BASIC Like It-s 1983.md b/sources/tech/20180902 Learning BASIC Like It-s 1983.md
deleted file mode 100644
index 5790ef6e88..0000000000
--- a/sources/tech/20180902 Learning BASIC Like It-s 1983.md
+++ /dev/null
@@ -1,184 +0,0 @@
-Learning BASIC Like It's 1983
-======
-I was not yet alive in 1983. This is something that I occasionally regret. I am especially sorry that I did not experience the 8-bit computer era as it was happening, because I think the people that first encountered computers when they were relatively simple and constrained have a huge advantage over the rest of us.
-
-Today, (almost) everyone knows how to use a computer, but very few people, even in the computing industry, grasp all of what is going on inside of any single machine. There are now [so many layers of software][1] doing so many different things that one struggles to identify the parts that are essential. In 1983, though, home computers were unsophisticated enough that a diligent person could learn how a particular computer worked through and through. That person is today probably less mystified than I am by all the abstractions that modern operating systems pile on top of the hardware. I expect that these layers of abstractions were easy to understand one by one as they were introduced; today, new programmers have to try to understand them all by working top to bottom and backward in time.
-
-Many famous programmers, particularly in the video game industry, started programming games in childhood on 8-bit computers like the Apple II and the Commodore 64. John Romero, Richard Garriott, and Chris Roberts are all examples. It’s easy to see how this happened. In the 8-bit computer era, many games were available only as printed BASIC listings in computer magazines and [books][2]. If you wanted to play one of those games, you had to type in the whole program by hand. Inevitably, you would get something wrong, so you would have to debug your program. By the time you got it working, you knew enough about how the program functioned to start modifying it yourself. If you were an avid gamer, you became a good programmer almost by necessity.
-
-I also played computer games throughout my childhood. But the games I played came on CD-ROMs. I sometimes found myself having to google how to fix a crashing installer, which would involve editing the Windows Registry or something like that. This kind of minor troubleshooting may have made me comfortable enough with computers to consider studying computer science in college. But it never taught me anything crucial about how computers worked or how to control them.
-
-Now, of course, I tell computers what to do for a living. All the same, I can’t help feeling that I missed out on some fundamental insight afforded only to those that grew up programming simpler computers. What would it have been like to encounter computers for the first time in the early 1980s? How would that have been different from the experience of using a computer today?
-
-This post is going to be a little different from the usual Two-Bit History post because I’m going to try to imagine an answer to these questions.
-
-### 1983
-
-It was just last week that you saw [the Commodore 64 ad][3] on TV. Now that M*A*S*H was over, you were in the market for something new to do on Monday nights. This Commodore 64 thing looked even better than the Apple II that Rudy’s family had in their basement. Plus, the ad promised that the new computer would soon bring friends “knocking down” your door. You knew several people at school that would rather be hanging out at your house than Rudy’s anyway, if only they could play Zork there.
-
-So you persuaded your parents to buy one. Your mother said that they would consider it only if having a home computer meant that you stayed away from the arcade. You reluctantly agreed. Your father thought he would start tracking the family’s finances in MultiPlan, the spreadsheet program he had heard about, which is why the computer got put in the living room. A year later, though, you would be the only one still using it. You were finally allowed to put it on the desk in your bedroom, right under your Police poster.
-
-(Your sister protested this decision, but it was 1983 and computers [weren’t for her][4].)
-
-Dad picked it up from [ComputerLand][5] on the way home from work. The two of you laid the box down next to the TV and opened it. “WELCOME TO THE WORLD OF FRIENDLY COMPUTING,” said the packaging. Twenty minutes later, you weren’t convinced—the two of you were still trying to connect the Commodore to the TV set and wondering whether the TV’s antenna cable was the 75-ohm or 300-ohm coax type. But eventually you were able to turn your TV to channel 3 and see a grainy, purple image.
-
-![Commodore 64 startup screen][6]
-
-`READY`, the computer reported. Your father pushed the computer toward you, indicating that you should be the first to give it a try. `HELLO`, you typed, carefully hunting for each letter. The computer’s response was baffling.
-
-![Commodore 64 syntax error][7]
-
-You tried typing in a few different words, but the response was always the same. Your father said that you had better read through the rest of the manual. That would be no mean feat—[the manual that came with the Commodore 64][8] was a small book. But that didn’t bother you, because the introduction to the manual foreshadowed wonders.
-
-The Commodore 64, it claimed, had “the most advanced picture maker in the microcomputer industry,” which would allow you “to design your own pictures in four different colors, just like the ones you see on arcade type video games.” The Commodore 64 also had “built-in music and sound effects that rival many well known music synthesizers.” All of these tools would be put in your hands, because the manual would walk you through it all:
-
-> Just as important as all the available hardware is the fact that this USER’S GUIDE will help you develop your understanding of computers. It won’t tell you everything there is to know about computers, but it will refer you to a wide variety of publications for more detailed information about the topics presented. Commodore wants you to really enjoy your new COMMODORE 64. And to have fun, remember: programming is not the kind of thing you can learn in a day. Be patient with yourself as you go through the USER’S GUIDE.
-
-That night, in bed, you read through the entire first three chapters—”Setup,” “Getting Started,” and “Beginning BASIC Programming”—before finally succumbing to sleep with the manual splayed across your chest.
-
-### Commodore BASIC
-
-Now, it’s Saturday morning and you’re eager to try out what you’ve learned. One of the first things the manual teaches you how to do is change the colors on the display. You follow the instructions, pressing `CTRL-9` to enter reverse type mode and then holding down the space bar to create long lines. You swap between colors using `CTRL-1` through `CTRL-8`, reveling in your sudden new power over the TV screen.
-
-![Commodore 64 color bands][9]
-
-As cool as this is, you realize it doesn’t count as programming. In order to program the computer, you learned last night, you have to speak to it in a language called BASIC. To you, BASIC seems like something out of Star Wars, but BASIC is, by 1983, almost two decades old. It was invented by two Dartmouth professors, John Kemeny and Tom Kurtz, who wanted to make computing accessible to undergraduates in the social sciences and humanities. It was widely available on minicomputers and popular in college math classes. It then became standard on microcomputers after Bill Gates and Paul Allen wrote the MicroSoft BASIC interpreter for the Altair. But the manual doesn’t explain any of this and you won’t learn it for many years.
-
-One of the first BASIC commands the manual suggests you try is the `PRINT` command. You type in `PRINT "COMMODORE 64"`, slowly, since it takes you a while to find the quotation mark symbol above the `2` key. You hit `RETURN` and this time, instead of complaining, the computer does exactly what you told it to do and displays “COMMODORE 64” on the next line.
-
-Now you try using the `PRINT` command on all sorts of different things: two numbers added together, two numbers multiplied together, even several decimal numbers. You stop typing out `PRINT` and instead use `?`, since the manual has advised you that `?` is an abbreviation for `PRINT` often used by expert programmers. You feel like an expert already, but then you remember that you haven’t even made it to chapter three, “Beginning BASIC Programming.”
-
-You get there soon enough. The chapter begins by prompting you to write your first real BASIC program. You type in `NEW` and hit `RETURN`, which gives you a clean slate. You then type your program in:
-
-```
-10 ?"COMMODORE 64"
-20 GOTO 10
-```
-
-The 10 and the 20, the manual explains, are line numbers. They order the statements for the computer. They also allow the programmer to refer to other lines of the program in certain commands, just like you’ve done here with the `GOTO` command, which directs the program back to line 10. “It is good programming practice,” the manual opines, “to number lines in increments of 10—in case you need to insert some statements later on.”
-
-You type `RUN` and stare as the screen clogs with “COMMODORE 64,” repeated over and over.
-
-![Commodore 64 showing result of printing "Commodore 64" repeatedly][10]
-
-You’re not certain that this isn’t going to blow up your computer. It takes you a second to remember that you are supposed to hit the `RUN/STOP` key to break the loop.
-
-The next few sections of the manual teach you about variables, which the manual tells you are like “a number of boxes within the computer that can each hold a number or a string of text characters.” Variables that end in a `%` symbol are whole numbers, while variables ending in a `$` symbol are strings of characters. All other variables are something called “floating point” variables. The manual warns you to be careful with variable names because only the first two letters of the name are actually recognized by the computer, even though nothing stops you from making a name as long as you want it to be. (This doesn’t particularly bother you, but you could see how 30 years from now this might strike someone as completely insane.)
-
-You then learn about the `IF... THEN...` and `FOR... NEXT...` constructs. With all these new tools, you feel equipped to tackle the next big challenge the manual throws at you. “If you’re the ambitious type,” it goads, “type in the following program and see what happens.” The program is longer and more complicated than any you have seen so far, but you’re dying to know what it does:
-
-```
-10 REM BOUNCING BALL
-20 PRINT "{CLR/HOME}"
-25 FOR X = 1 TO 10 : PRINT "{CRSR/DOWN}" : NEXT
-30 FOR BL = 1 TO 40
-40 PRINT " ●{CRSR LEFT}";:REM (● is a Shift-Q)
-50 FOR TM = 1 TO 5
-60 NEXT TM
-70 NEXT BL
-75 REM MOVE BALL RIGHT TO LEFT
-80 FOR BL = 40 TO 1 STEP -1
-90 PRINT " {CRSR LEFT}{CRSR LEFT}●{CRSR LEFT}";
-100 FOR TM = 1 TO 5
-110 NEXT TM
-120 NEXT BL
-130 GOTO 20
-```
-
-The program above takes advantage of one of the Commodore 64’s coolest features. Non-printable command characters, when passed to the `PRINT` command as part of a string, just do the action they usually perform instead of printing to the screen. This allows you to replay arbitrary chains of commands by printing strings from within your programs.
-
-It takes you a long time to type in the above program. You make several mistakes and have to re-enter some of the lines. But eventually you are able to type `RUN` and behold a masterpiece:
-
-![Commodore 64 bouncing ball][11]
-
-You think that this is a major contender for the coolest thing you have ever seen. You forget about it almost immediately though, because once you’ve learned about BASIC’s built-in functions like `RND` (which returns a random number) and `CHR$` (which returns the character matching a given number code), the manual shows you a program that many years from now will still be famous enough to be made the title of an [essay anthology][12]:
-
-```
-10 PRINT "{CLR/HOME}"
-20 PRINT CHR$(205.5 + RND(1));
-40 GOTO 20
-```
-
-When run, the above program produces a random maze:
-
-![Commodore 64 maze program][13]
-
-This is definitely the coolest thing you have ever seen.
-
-### PEEK and POKE
-
-You’ve now made it through the first four chapters of the Commodore 64 manual, including the chapter titled “Advanced BASIC,” so you’re feeling pretty proud of yourself. You’ve learned a lot this Saturday morning. But this afternoon (after a quick lunch break), you’re going to learn something that will make this magical machine in your living room much less mysterious.
-
-The next chapter in the manual is titled “Advanced Color and Graphic Commands.” It starts off by revisiting the colored bars that you were able to type out first thing this morning and shows you how you can do the same thing from a program. It then teaches you how to change the background colors of the screen.
-
-In order to do this, you need to use the BASIC `PEEK` and `POKE` commands. Those commands allow you to, respectively, examine and write to a memory address. The Commodore 64 has a main background color and a border color. Each is controlled by a specially designated memory address. You can write any color value you would like to those addresses to make the background or border that color.
-
-The manual explains:
-
-> Just as variables can be thought of as a representation of “boxes” within the machine where you placed your information, you can also think of some specially defined “boxes” within the computer that represent specific memory locations.
->
-> The Commodore 64 looks at these memory locations to see what the screen’s background and border color should be, what characters are to be displayed on the screen—and where—and a host of other tasks.
-
-You write a program to cycle through all the available combinations of background and border color:
-
-```
-10 FOR BA = 0 TO 15
-20 FOR BO = 0 TO 15
-30 POKE 53280, BA
-40 POKE 53281, BO
-50 FOR X = 1 TO 500 : NEXT X
-60 NEXT BO : NEXT BA
-```
-
-While the `POKE` commands, with their big operands, looked intimidating at first, now you see that the actual value of the number doesn’t matter that much. Obviously, you have to get the number right, but all the number represents is a “box” that Commodore just happened to store at address 53280. This box has a special purpose: Commodore uses it to determine what color the screen’s background should be.
-
-![Commodore 64 changing background colors][14]
-
-You think this is pretty neat. Just by writing to a special-purpose box in memory, you can control a fundamental property of the computer. You aren’t sure how the Commodore 64’s circuitry takes the value you write in memory and changes the color of the screen, but you’re okay not knowing that. At least you understand everything up to that point.
-
-### Special Boxes
-
-You don’t get through the entire manual that Saturday, since you are now starting to run out of steam. But you do eventually read all of it. In the process, you learn about many more of the Commodore 64’s special-purpose boxes. There are boxes you can write to control what is on screen—one box, in fact, for every place a character might appear. In chapter six, “Sprite Graphics,” you learn about the special-purpose boxes that allow you to define images that can be moved around and even scaled up and down. In chapter seven, “Creating Sound,” you learn about the boxes you can write to in order to make your Commodore 64 sing “Michael Row the Boat Ashore.” The Commodore 64, it turns out, has very little in the way of what you would later learn is called an API. Controlling the Commodore 64 mostly involves writing to memory addresses that have been given special meaning by the circuitry.
-
-The many years you ultimately spend writing to those special boxes stick with you. Even many decades later, when you find yourself programming a machine with an extensive graphics or sound API, you know that, behind the curtain, the API is ultimately writing to those boxes or something like them. You will sometimes wonder about younger programmers that have only ever used APIs, and wonder what they must think the API is doing for them. Maybe they think that the API is calling some other, hidden API. But then what do think that hidden API is calling? You will pity those younger programmers, because they must be very confused indeed.
-
-If you enjoyed this post, more like it come out every two weeks! Follow [@TwoBitHistory][15] on Twitter or subscribe to the [RSS feed][16] to make sure you know when a new post is out.
-
-Previously on TwoBitHistory…
-
-> Have you ever wondered what a 19th-century computer program would look like translated into C?
->
-> This week's post: A detailed look at how Ada Lovelace's famous program worked and what it was trying to do.
->
-> — TwoBitHistory (@TwoBitHistory) [August 19, 2018][17]
-
---------------------------------------------------------------------------------
-
-via: https://twobithistory.org/2018/09/02/learning-basic.html
-
-作者:[Two-Bit History][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://twobithistory.org
-[b]: https://github.com/lujun9972
-[1]: https://www.youtube.com/watch?v=kZRE7HIO3vk
-[2]: https://en.wikipedia.org/wiki/BASIC_Computer_Games
-[3]: https://www.youtube.com/watch?v=ZekAbt2o6Ms
-[4]: https://www.npr.org/sections/money/2014/10/21/357629765/when-women-stopped-coding
-[5]: https://www.youtube.com/watch?v=MA_XtT3VAVM
-[6]: https://twobithistory.org/images/c64_startup.png
-[7]: https://twobithistory.org/images/c64_error.png
-[8]: ftp://www.zimmers.net/pub/cbm/c64/manuals/C64_Users_Guide.pdf
-[9]: https://twobithistory.org/images/c64_colors.png
-[10]: https://twobithistory.org/images/c64_print_loop.png
-[11]: https://twobithistory.org/images/c64_ball.gif
-[12]: http://10print.org/
-[13]: https://twobithistory.org/images/c64_maze.gif
-[14]: https://twobithistory.org/images/c64_background.gif
-[15]: https://twitter.com/TwoBitHistory
-[16]: https://twobithistory.org/feed.xml
-[17]: https://twitter.com/TwoBitHistory/status/1030974776821665793?ref_src=twsrc%5Etfw
diff --git a/sources/tech/20180914 A day in the life of a log message.md b/sources/tech/20180914 A day in the life of a log message.md
deleted file mode 100644
index 8d60ec9fe6..0000000000
--- a/sources/tech/20180914 A day in the life of a log message.md
+++ /dev/null
@@ -1,57 +0,0 @@
-A day in the life of a log message
-======
-
-Navigating a modern distributed system from the perspective of a log message.
-
-
-
-Chaotic systems tend to be unpredictable. This is especially evident when architecting something as complex as a distributed system. Left unchecked, this unpredictability can waste boundless amounts of time. This is why every single component of a distributed system, no matter how small, must be designed to fit together in a streamlined way.
-
-[Kubernetes][1] provides a promising model for abstracting compute resources—but even it must be reconciled with other distributed platforms such as [Apache Kafka][2] to ensure reliable data delivery. If someone were to integrate these two platforms, how would it work? Furthermore, if you were to trace something as simple as a log message through such a system, what would it look like? This article will focus on how a log message from an application running inside [OKD][3], the Origin Community Distribution of Kubernetes that powers Red Hat OpenShift, gets to a data warehouse through Kafka.
-
-### OKD-defined environment
-
-Such a journey begins in OKD, since the container platform completely overlays the hardware it abstracts. This means that the log message waits to be written to **stdout** or **stderr** streams by an application residing in a container. From there, the log message is redirected onto the node's filesystem by a container engine such as [CRI-O][4].
-
-
-
-ithin OpenShift, one or more containers are encapsulated within virtual compute nodes known as pods. In fact, all applications running within OKD are abstracted as pods. This allows the applications to be manipulated in a uniform way. This also greatly simplifies communication between distributed components, since pods are systematically addressable through IP addresses and [load-balanced services][5] . So when the log message is taken from the node's filesystem by a log-collector application, it can easily be delivered to another pod running within OpenShift.
-
-### Two peas in a pod
-
-To ensure ubiquitous dispersal of the log message throughout the distributed system, the log collector needs to deliver the log message into a Kafka cluster data hub running within OpenShift. Through Kafka, the log message can be delivered to the consuming applications in a reliable and fault-tolerant way with low latency. However, in order to reap the benefits of Kafka within an OKD-defined environment, Kafka needs to be fully integrated into OKD.
-
-Running a [Strimzi operator][6] will instantiate all Kafka components as pods and integrate them to run within an OKD environment. This includes Kafka brokers for queuing log messages, Kafka connectors for reading and writing from Kafka brokers, and Zookeeper nodes for managing the Kafka cluster state. Strimzi can also instantiate the log collector to double as a Kafka connector, allowing the log collector to feed the log messages directly into a Kafka broker pod running within OKD.
-
-### Kafka inside OKD
-
-When the log-collector pod delivers the log message to a Kafka broker, the collector writes to a single broker partition, appending the message to the end of the partition. One of the advantages of using Kafka is that it decouples the log collector from the log's final destination. Thanks to the decoupling, the log collector doesn't care whether the logs end up in [Elasticsearch][7], Hadoop, Amazon S3, or all of them at the same time. Kafka is well-connected to all infrastructure, so the Kafka connectors can take the log message wherever it needs to go.
-
-Once written to a Kafka broker's partition, the log message is replicated across the broker partitions within the Kafka cluster. This is a very powerful concept on its own; combined with the self-healing features of the platform, it creates a very resilient distributed system. For example, when a node becomes unavailable, the applications running on the node are almost instantaneously spawned on healthy node(s). So even if a node with the Kafka broker is lost or damaged, the log message is guaranteed to survive as many deaths as it was replicated and a new Kafka broker will quickly take the original's place.
-
-### Off to storage
-
-After it is committed to a Kafka topic, the log message waits to be consumed by a Kafka connector sink, which relays the log message to either an analytics engine or logging warehouse. Upon delivery to its final destination, the log message could be studied for anomaly detection, queried for immediate root-cause analysis, or used for other purposes. Either way, the log message is delivered by Kafka to its destination in a safe and reliable manner.
-
-OKD and Kafka are powerful distributed platforms that are evolving rapidly. It is vital to create systems that can abstract the complicated nature of distributed computing without compromising performance. After all, how can we boast of systemwide efficiency if we cannot simplify the journey of a single log message?
-
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/18/9/life-log-message
-
-作者:[Josef Karásek][a]
-选题:[lujun9972](https://github.com/lujun9972)
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/jkarasek
-[1]: https://kubernetes.io/
-[2]: https://kafka.apache.org/
-[3]: https://www.okd.io/
-[4]: http://cri-o.io/
-[5]: https://kubernetes.io/docs/concepts/services-networking/service/
-[6]: http://strimzi.io/
-[7]: https://www.elastic.co/
diff --git a/sources/tech/20181031 Working with data streams on the Linux command line.md b/sources/tech/20181031 Working with data streams on the Linux command line.md
index b391b2af0b..87403558d7 100644
--- a/sources/tech/20181031 Working with data streams on the Linux command line.md
+++ b/sources/tech/20181031 Working with data streams on the Linux command line.md
@@ -1,4 +1,3 @@
-liujing97 is translating
Working with data streams on the Linux command line
======
Learn to connect data streams from one utility to another using STDIO.
diff --git a/sources/tech/20181212 TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop.md b/sources/tech/20181212 TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop.md
deleted file mode 100644
index e1e6a7f25e..0000000000
--- a/sources/tech/20181212 TLP - An Advanced Power Management Tool That Improve Battery Life On Linux Laptop.md
+++ /dev/null
@@ -1,745 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (TLP – An Advanced Power Management Tool That Improve Battery Life On Linux Laptop)
-[#]: via: (https://www.2daygeek.com/tlp-increase-optimize-linux-laptop-battery-life/)
-[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
-
-TLP – An Advanced Power Management Tool That Improve Battery Life On Linux Laptop
-======
-
-Laptop battery is highly optimized for Windows OS, that i had realized when i was using Windows OS in my laptop but it’s not same for Linux.
-
-Over the years Linux has improved a lot for battery optimization but still we need make some necessary things to improve laptop battery life in Linux.
-
-When i think about battery life, i got few options for that but i felt TLP is a better solutions for me so, i’m going with it.
-
-In this tutorial we are going to discuss about TLP in details to improve battery life.
-
-We had written three articles previously in our site about **[laptop battery saving utilities][1]** for Linux **[PowerTOP][2]** and **[Battery Charging State][3]**.
-
-### What is TLP?
-
-[TLP][4] is a free opensource advanced power management tool that improve your battery life without making any configuration change.
-
-Since it comes with a default configuration already optimized for battery life, so you may just install and forget it.
-
-Also, it is highly customizable to fulfill your specific requirements. TLP is a pure command line tool with automated background tasks. It does not contain a GUI.
-
-TLP runs on every laptop brand. Setting the battery charge thresholds is available for IBM/Lenovo ThinkPads only.
-
-All TLP settings are stored in `/etc/default/tlp`. The default configuration provides optimized power saving out of the box.
-
-The following TLP settings is available for customization and you need to make the necessary changes accordingly if you want it.
-
-### TLP Features
-
- * Kernel laptop mode and dirty buffer timeouts
- * Processor frequency scaling including “turbo boost” / “turbo core”
- * Limit max/min P-state to control power dissipation of the CPU
- * HWP energy performance hints
- * Power aware process scheduler for multi-core/hyper-threading
- * Processor performance versus energy savings policy (x86_energy_perf_policy)
- * Hard disk advanced power magement level (APM) and spin down timeout (per disk)
- * AHCI link power management (ALPM) with device blacklist
- * PCIe active state power management (PCIe ASPM)
- * Runtime power management for PCI(e) bus devices
- * Radeon graphics power management (KMS and DPM)
- * Wifi power saving mode
- * Power off optical drive in drive bay
- * Audio power saving mode
- * I/O scheduler (per disk)
- * USB autosuspend with device blacklist/whitelist (input devices excluded automatically)
- * Enable or disable integrated wifi, bluetooth or wwan devices upon system startup and shutdown
- * Restore radio device state on system startup (from previous shutdown).
- * Radio device wizard: switch radios upon network connect/disconnect and dock/undock
- * Disable Wake On LAN
- * Integrated WWAN and bluetooth state is restored after suspend/hibernate
- * Untervolting of Intel processors – requires kernel with PHC-Patch
- * Battery charge thresholds – ThinkPads only
- * Recalibrate battery – ThinkPads only
-
-
-
-### How to Install TLP in Linux
-
-TLP package is available in most of the distributions official repository so, use the distributions **[Package Manager][5]** to install it.
-
-For **`Fedora`** system, use **[DNF Command][6]** to install TLP.
-
-```
-$ sudo dnf install tlp tlp-rdw
-```
-
-ThinkPads require an additional packages.
-
-```
-$ sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
-$ sudo dnf install http://repo.linrunner.de/fedora/tlp/repos/releases/tlp-release.fc$(rpm -E %fedora).noarch.rpm
-$ sudo dnf install akmod-tp_smapi akmod-acpi_call kernel-devel
-```
-
-Install smartmontool to display S.M.A.R.T. data in tlp-stat.
-
-```
-$ sudo dnf install smartmontools
-```
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][7]** or **[APT Command][8]** to install TLP.
-
-```
-$ sudo apt install tlp tlp-rdw
-```
-
-ThinkPads require an additional packages.
-
-```
-$ sudo apt-get install tp-smapi-dkms acpi-call-dkms
-```
-
-Install smartmontool to display S.M.A.R.T. data in tlp-stat.
-
-```
-$ sudo apt-get install smartmontools
-```
-
-When the official package becomes outdated for Ubuntu based systems then use the following PPA repository which provides an up-to-date version. Run the following commands to install TLP using the PPA.
-
-```
-$ sudo apt-get install tlp tlp-rdw
-```
-
-For **`Arch Linux`** based systems, use **[Pacman Command][9]** to install TLP.
-
-```
-$ sudo pacman -S tlp tlp-rdw
-```
-
-ThinkPads require an additional packages.
-
-```
-$ pacman -S tp_smapi acpi_call
-```
-
-Install smartmontool to display S.M.A.R.T. data in tlp-stat.
-
-```
-$ sudo pacman -S smartmontools
-```
-
-Enable TLP & TLP-Sleep service on boot for Arch Linux based systems.
-
-```
-$ sudo systemctl enable tlp.service
-$ sudo systemctl enable tlp-sleep.service
-```
-
-You should also mask the following services to avoid conflicts and assure proper operation of TLP’s radio device switching options for Arch Linux based systems.
-
-```
-$ sudo systemctl mask systemd-rfkill.service
-$ sudo systemctl mask systemd-rfkill.socket
-```
-
-For **`RHEL/CentOS`** systems, use **[YUM Command][10]** to install TLP.
-
-```
-$ sudo yum install tlp tlp-rdw
-```
-
-Install smartmontool to display S.M.A.R.T. data in tlp-stat.
-
-```
-$ sudo yum install smartmontools
-```
-
-For **`openSUSE Leap`** system, use **[Zypper Command][11]** to install TLP.
-
-```
-$ sudo zypper install TLP
-```
-
-Install smartmontool to display S.M.A.R.T. data in tlp-stat.
-
-```
-$ sudo zypper install smartmontools
-```
-
-After successfully TLP installed, use the following command to start the service.
-
-```
-$ systemctl start tlp.service
-```
-
-To show battery information.
-
-```
-$ sudo tlp-stat -b
-or
-$ sudo tlp-stat --battery
-
---- TLP 1.1 --------------------------------------------
-
-+++ Battery Status
-/sys/class/power_supply/BAT0/manufacturer = SMP
-/sys/class/power_supply/BAT0/model_name = L14M4P23
-/sys/class/power_supply/BAT0/cycle_count = (not supported)
-/sys/class/power_supply/BAT0/energy_full_design = 60000 [mWh]
-/sys/class/power_supply/BAT0/energy_full = 48850 [mWh]
-/sys/class/power_supply/BAT0/energy_now = 48850 [mWh]
-/sys/class/power_supply/BAT0/power_now = 0 [mW]
-/sys/class/power_supply/BAT0/status = Full
-
-Charge = 100.0 [%]
-Capacity = 81.4 [%]
-```
-
-To show disk information.
-
-```
-$ sudo tlp-stat -d
-or
-$ sudo tlp-stat --disk
-
---- TLP 1.1 --------------------------------------------
-
-+++ Storage Devices
-/dev/sda:
- Model = WDC WD10SPCX-24HWST1
- Firmware = 02.01A02
- APM Level = 128
- Status = active/idle
- Scheduler = mq-deadline
-
- Runtime PM: control = on, autosuspend_delay = (not available)
-
- SMART info:
- 4 Start_Stop_Count = 18787
- 5 Reallocated_Sector_Ct = 0
- 9 Power_On_Hours = 606 [h]
- 12 Power_Cycle_Count = 1792
- 193 Load_Cycle_Count = 25775
- 194 Temperature_Celsius = 31 [°C]
-
-
-+++ AHCI Link Power Management (ALPM)
-/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
-/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
-/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
-/sys/class/scsi_host/host3/link_power_management_policy = med_power_with_dipm
-
-+++ AHCI Host Controller Runtime Power Management
-/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
-/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
-/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
-/sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on
-```
-
-To show PCI device information.
-
-```
-$ sudo tlp-stat -e
-or
-$ sudo tlp-stat --pcie
-
---- TLP 1.1 --------------------------------------------
-
-+++ Runtime Power Management
-Device blacklist = (not configured)
-Driver blacklist = amdgpu nouveau nvidia radeon pcieport
-
-/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore)
-/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
-/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
-/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
-/sys/bus/pci/devices/0000:00:17.0/power/control = auto (0x010601, SATA controller, ahci)
-/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1c.2/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1c.3/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
-/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x058000, Memory controller, no driver)
-/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040300, Audio device, snd_hda_intel)
-/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
-/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x030200, 3D controller, nouveau)
-/sys/bus/pci/devices/0000:07:00.0/power/control = auto (0x080501, SD Host controller, sdhci-pci)
-/sys/bus/pci/devices/0000:08:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
-/sys/bus/pci/devices/0000:09:00.0/power/control = auto (0x020000, Ethernet controller, r8168)
-/sys/bus/pci/devices/0000:0a:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
-```
-
-To show graphics card information.
-
-```
-$ sudo tlp-stat -g
-or
-$ sudo tlp-stat --graphics
-
---- TLP 1.1 --------------------------------------------
-
-+++ Intel Graphics
-/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
-/sys/module/i915/parameters/enable_fbc = 1 (enabled)
-/sys/module/i915/parameters/enable_psr = 0 (disabled)
-/sys/module/i915/parameters/modeset = -1 (use per-chip default)
-```
-
-To show Processor information.
-
-```
-$ sudo tlp-stat -p
-or
-$ sudo tlp-stat --processor
-
---- TLP 1.1 --------------------------------------------
-
-+++ Processor
-CPU model = Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
-
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/intel_pstate/min_perf_pct = 22 [%]
-/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
-/sys/devices/system/cpu/intel_pstate/no_turbo = 0
-/sys/devices/system/cpu/intel_pstate/turbo_pct = 33 [%]
-/sys/devices/system/cpu/intel_pstate/num_pstates = 28
-
-x86_energy_perf_policy: program not installed.
-
-/sys/module/workqueue/parameters/power_efficient = Y
-/proc/sys/kernel/nmi_watchdog = 0
-
-+++ Undervolting
-PHC kernel not available.
-```
-
-To show system data information.
-
-```
-$ sudo tlp-stat -s
-or
-$ sudo tlp-stat --system
-
---- TLP 1.1 --------------------------------------------
-
-+++ System Info
-System = LENOVO Lenovo ideapad Y700-15ISK 80NV
-BIOS = CDCN35WW
-Release = "Manjaro Linux"
-Kernel = 4.19.6-1-MANJARO #1 SMP PREEMPT Sat Dec 1 12:21:26 UTC 2018 x86_64
-/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 root=UUID=69d9dd18-36be-4631-9ebb-78f05fe3217f rw quiet resume=UUID=a2092b92-af29-4760-8e68-7a201922573b
-Init system = systemd
-Boot mode = BIOS (CSM, Legacy)
-
-+++ TLP Status
-State = enabled
-Last run = 11:04:00 IST, 596 sec(s) ago
-Mode = battery
-Power source = battery
-```
-
-To show temperatures and fan speed information.
-
-```
-$ sudo tlp-stat -t
-or
-$ sudo tlp-stat --temp
-
---- TLP 1.1 --------------------------------------------
-
-+++ Temperatures
-CPU temp = 36 [°C]
-Fan speed = (not available)
-```
-
-To show USB device data information.
-
-```
-$ sudo tlp-stat -u
-or
-$ sudo tlp-stat --usb
-
---- TLP 1.1 --------------------------------------------
-
-+++ USB
-Autosuspend = disabled
-Device whitelist = (not configured)
-Device blacklist = (not configured)
-Bluetooth blacklist = disabled
-Phone blacklist = disabled
-WWAN blacklist = enabled
-
-Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
-Bus 001 Device 003 ID 174f:14e8 control = auto, autosuspend_delay_ms = 2000 -- Syntek (uvcvideo)
-Bus 001 Device 002 ID 17ef:6053 control = on, autosuspend_delay_ms = 2000 -- Lenovo (usbhid)
-Bus 001 Device 004 ID 8087:0a2b control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
-Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
-```
-
-To show warnings.
-
-```
-$ sudo tlp-stat -w
-or
-$ sudo tlp-stat --warn
-
---- TLP 1.1 --------------------------------------------
-
-No warnings detected.
-```
-
-Status report with configuration and all active settings.
-
-```
-$ sudo tlp-stat
-
---- TLP 1.1 --------------------------------------------
-
-+++ Configured Settings: /etc/default/tlp
-TLP_ENABLE=1
-TLP_DEFAULT_MODE=AC
-TLP_PERSISTENT_DEFAULT=0
-DISK_IDLE_SECS_ON_AC=0
-DISK_IDLE_SECS_ON_BAT=2
-MAX_LOST_WORK_SECS_ON_AC=15
-MAX_LOST_WORK_SECS_ON_BAT=60
-CPU_HWP_ON_AC=balance_performance
-CPU_HWP_ON_BAT=balance_power
-SCHED_POWERSAVE_ON_AC=0
-SCHED_POWERSAVE_ON_BAT=1
-NMI_WATCHDOG=0
-ENERGY_PERF_POLICY_ON_AC=performance
-ENERGY_PERF_POLICY_ON_BAT=power
-DISK_DEVICES="sda sdb"
-DISK_APM_LEVEL_ON_AC="254 254"
-DISK_APM_LEVEL_ON_BAT="128 128"
-SATA_LINKPWR_ON_AC="med_power_with_dipm max_performance"
-SATA_LINKPWR_ON_BAT="med_power_with_dipm max_performance"
-AHCI_RUNTIME_PM_TIMEOUT=15
-PCIE_ASPM_ON_AC=performance
-PCIE_ASPM_ON_BAT=powersave
-RADEON_POWER_PROFILE_ON_AC=default
-RADEON_POWER_PROFILE_ON_BAT=low
-RADEON_DPM_STATE_ON_AC=performance
-RADEON_DPM_STATE_ON_BAT=battery
-RADEON_DPM_PERF_LEVEL_ON_AC=auto
-RADEON_DPM_PERF_LEVEL_ON_BAT=auto
-WIFI_PWR_ON_AC=off
-WIFI_PWR_ON_BAT=on
-WOL_DISABLE=Y
-SOUND_POWER_SAVE_ON_AC=0
-SOUND_POWER_SAVE_ON_BAT=1
-SOUND_POWER_SAVE_CONTROLLER=Y
-BAY_POWEROFF_ON_AC=0
-BAY_POWEROFF_ON_BAT=0
-BAY_DEVICE="sr0"
-RUNTIME_PM_ON_AC=on
-RUNTIME_PM_ON_BAT=auto
-RUNTIME_PM_DRIVER_BLACKLIST="amdgpu nouveau nvidia radeon pcieport"
-USB_AUTOSUSPEND=0
-USB_BLACKLIST_BTUSB=0
-USB_BLACKLIST_PHONE=0
-USB_BLACKLIST_PRINTER=1
-USB_BLACKLIST_WWAN=1
-RESTORE_DEVICE_STATE_ON_STARTUP=0
-
-+++ System Info
-System = LENOVO Lenovo ideapad Y700-15ISK 80NV
-BIOS = CDCN35WW
-Release = "Manjaro Linux"
-Kernel = 4.19.6-1-MANJARO #1 SMP PREEMPT Sat Dec 1 12:21:26 UTC 2018 x86_64
-/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 root=UUID=69d9dd18-36be-4631-9ebb-78f05fe3217f rw quiet resume=UUID=a2092b92-af29-4760-8e68-7a201922573b
-Init system = systemd
-Boot mode = BIOS (CSM, Legacy)
-
-+++ TLP Status
-State = enabled
-Last run = 11:04:00 IST, 684 sec(s) ago
-Mode = battery
-Power source = battery
-
-+++ Processor
-CPU model = Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
-
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu0/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu1/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu2/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu3/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu4/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu5/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu5/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu6/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu6/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_driver = intel_pstate
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_governor = powersave
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_available_governors = performance powersave
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_min_freq = 800000 [kHz]
-/sys/devices/system/cpu/cpu7/cpufreq/scaling_max_freq = 3500000 [kHz]
-/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_preference = balance_power
-/sys/devices/system/cpu/cpu7/cpufreq/energy_performance_available_preferences = default performance balance_performance balance_power power
-
-/sys/devices/system/cpu/intel_pstate/min_perf_pct = 22 [%]
-/sys/devices/system/cpu/intel_pstate/max_perf_pct = 100 [%]
-/sys/devices/system/cpu/intel_pstate/no_turbo = 0
-/sys/devices/system/cpu/intel_pstate/turbo_pct = 33 [%]
-/sys/devices/system/cpu/intel_pstate/num_pstates = 28
-
-x86_energy_perf_policy: program not installed.
-
-/sys/module/workqueue/parameters/power_efficient = Y
-/proc/sys/kernel/nmi_watchdog = 0
-
-+++ Undervolting
-PHC kernel not available.
-
-+++ Temperatures
-CPU temp = 42 [°C]
-Fan speed = (not available)
-
-+++ File System
-/proc/sys/vm/laptop_mode = 2
-/proc/sys/vm/dirty_writeback_centisecs = 6000
-/proc/sys/vm/dirty_expire_centisecs = 6000
-/proc/sys/vm/dirty_ratio = 20
-/proc/sys/vm/dirty_background_ratio = 10
-
-+++ Storage Devices
-/dev/sda:
- Model = WDC WD10SPCX-24HWST1
- Firmware = 02.01A02
- APM Level = 128
- Status = active/idle
- Scheduler = mq-deadline
-
- Runtime PM: control = on, autosuspend_delay = (not available)
-
- SMART info:
- 4 Start_Stop_Count = 18787
- 5 Reallocated_Sector_Ct = 0
- 9 Power_On_Hours = 606 [h]
- 12 Power_Cycle_Count = 1792
- 193 Load_Cycle_Count = 25777
- 194 Temperature_Celsius = 31 [°C]
-
-
-+++ AHCI Link Power Management (ALPM)
-/sys/class/scsi_host/host0/link_power_management_policy = med_power_with_dipm
-/sys/class/scsi_host/host1/link_power_management_policy = med_power_with_dipm
-/sys/class/scsi_host/host2/link_power_management_policy = med_power_with_dipm
-/sys/class/scsi_host/host3/link_power_management_policy = med_power_with_dipm
-
-+++ AHCI Host Controller Runtime Power Management
-/sys/bus/pci/devices/0000:00:17.0/ata1/power/control = on
-/sys/bus/pci/devices/0000:00:17.0/ata2/power/control = on
-/sys/bus/pci/devices/0000:00:17.0/ata3/power/control = on
-/sys/bus/pci/devices/0000:00:17.0/ata4/power/control = on
-
-+++ PCIe Active State Power Management
-/sys/module/pcie_aspm/parameters/policy = powersave
-
-+++ Intel Graphics
-/sys/module/i915/parameters/enable_dc = -1 (use per-chip default)
-/sys/module/i915/parameters/enable_fbc = 1 (enabled)
-/sys/module/i915/parameters/enable_psr = 0 (disabled)
-/sys/module/i915/parameters/modeset = -1 (use per-chip default)
-
-+++ Wireless
-bluetooth = on
-wifi = on
-wwan = none (no device)
-
-hci0(btusb) : bluetooth, not connected
-wlp8s0(iwlwifi) : wifi, connected, power management = on
-
-+++ Audio
-/sys/module/snd_hda_intel/parameters/power_save = 1
-/sys/module/snd_hda_intel/parameters/power_save_controller = Y
-
-+++ Runtime Power Management
-Device blacklist = (not configured)
-Driver blacklist = amdgpu nouveau nvidia radeon pcieport
-
-/sys/bus/pci/devices/0000:00:00.0/power/control = auto (0x060000, Host bridge, skl_uncore)
-/sys/bus/pci/devices/0000:00:01.0/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:02.0/power/control = auto (0x030000, VGA compatible controller, i915)
-/sys/bus/pci/devices/0000:00:14.0/power/control = auto (0x0c0330, USB controller, xhci_hcd)
-/sys/bus/pci/devices/0000:00:16.0/power/control = auto (0x078000, Communication controller, mei_me)
-/sys/bus/pci/devices/0000:00:17.0/power/control = auto (0x010601, SATA controller, ahci)
-/sys/bus/pci/devices/0000:00:1c.0/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1c.2/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1c.3/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1d.0/power/control = auto (0x060400, PCI bridge, pcieport)
-/sys/bus/pci/devices/0000:00:1f.0/power/control = auto (0x060100, ISA bridge, no driver)
-/sys/bus/pci/devices/0000:00:1f.2/power/control = auto (0x058000, Memory controller, no driver)
-/sys/bus/pci/devices/0000:00:1f.3/power/control = auto (0x040300, Audio device, snd_hda_intel)
-/sys/bus/pci/devices/0000:00:1f.4/power/control = auto (0x0c0500, SMBus, i801_smbus)
-/sys/bus/pci/devices/0000:01:00.0/power/control = auto (0x030200, 3D controller, nouveau)
-/sys/bus/pci/devices/0000:07:00.0/power/control = auto (0x080501, SD Host controller, sdhci-pci)
-/sys/bus/pci/devices/0000:08:00.0/power/control = auto (0x028000, Network controller, iwlwifi)
-/sys/bus/pci/devices/0000:09:00.0/power/control = auto (0x020000, Ethernet controller, r8168)
-/sys/bus/pci/devices/0000:0a:00.0/power/control = auto (0x010802, Non-Volatile memory controller, nvme)
-
-+++ USB
-Autosuspend = disabled
-Device whitelist = (not configured)
-Device blacklist = (not configured)
-Bluetooth blacklist = disabled
-Phone blacklist = disabled
-WWAN blacklist = enabled
-
-Bus 002 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 3.0 root hub (hub)
-Bus 001 Device 003 ID 174f:14e8 control = auto, autosuspend_delay_ms = 2000 -- Syntek (uvcvideo)
-Bus 001 Device 002 ID 17ef:6053 control = on, autosuspend_delay_ms = 2000 -- Lenovo (usbhid)
-Bus 001 Device 004 ID 8087:0a2b control = auto, autosuspend_delay_ms = 2000 -- Intel Corp. (btusb)
-Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
-
-+++ Battery Status
-/sys/class/power_supply/BAT0/manufacturer = SMP
-/sys/class/power_supply/BAT0/model_name = L14M4P23
-/sys/class/power_supply/BAT0/cycle_count = (not supported)
-/sys/class/power_supply/BAT0/energy_full_design = 60000 [mWh]
-/sys/class/power_supply/BAT0/energy_full = 51690 [mWh]
-/sys/class/power_supply/BAT0/energy_now = 50140 [mWh]
-/sys/class/power_supply/BAT0/power_now = 12185 [mW]
-/sys/class/power_supply/BAT0/status = Discharging
-
-Charge = 97.0 [%]
-Capacity = 86.2 [%]
-```
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/tlp-increase-optimize-linux-laptop-battery-life/
-
-作者:[Magesh Maruthamuthu][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.2daygeek.com/author/magesh/
-[b]: https://github.com/lujun9972
-[1]: https://www.2daygeek.com/check-laptop-battery-status-and-charging-state-in-linux-terminal/
-[2]: https://www.2daygeek.com/powertop-monitors-laptop-battery-usage-linux/
-[3]: https://www.2daygeek.com/monitor-laptop-battery-charging-state-linux/
-[4]: https://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html
-[5]: https://www.2daygeek.com/category/package-management/
-[6]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
-[7]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
-[8]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
-[9]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
-[10]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
-[11]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
diff --git a/sources/tech/20181218 Using Pygame to move your game character around.md b/sources/tech/20181218 Using Pygame to move your game character around.md
deleted file mode 100644
index 96daf8da7d..0000000000
--- a/sources/tech/20181218 Using Pygame to move your game character around.md
+++ /dev/null
@@ -1,353 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Using Pygame to move your game character around)
-[#]: via: (https://opensource.com/article/17/12/game-python-moving-player)
-[#]: author: (Seth Kenlon https://opensource.com/users/seth)
-
-Using Pygame to move your game character around
-======
-In the fourth part of this series, learn how to code the controls needed to move a game character.
-
-
-In the first article in this series, I explained how to use Python to create a simple, [text-based dice game][1]. In the second part, we began building a game from scratch, starting with [creating the game's environment][2]. And, in the third installment, we [created a player sprite][3] and made it spawn in your (rather empty) game world. As you've probably noticed, a game isn't much fun if you can't move your character around. In this article, we'll use Pygame to add keyboard controls so you can direct your character's movement.
-
-There are functions in Pygame to add other kinds of controls, but since you certainly have a keyboard if you're typing out Python code, that's what we'll use. Once you understand keyboard controls, you can explore other options on your own.
-
-You created a key to quit your game in the second article in this series, and the principle is the same for movement. However, getting your character to move is a little more complex.
-
-Let's start with the easy part: setting up the controller keys.
-
-### Setting up keys for controlling your player sprite
-
-Open your Python game script in IDLE, Ninja-IDE, or a text editor.
-
-Since the game must constantly "listen" for keyboard events, you'll be writing code that needs to run continuously. Can you figure out where to put code that needs to run constantly for the duration of the game?
-
-If you answered "in the main loop," you're correct! Remember that unless code is in a loop, it will run (at most) only once—and it may not run at all if it's hidden away in a class or function that never gets used.
-
-To make Python monitor for incoming key presses, add this code to the main loop. There's no code to make anything happen yet, so use `print` statements to signal success. This is a common debugging technique.
-
-```
-while main == True:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- pygame.quit(); sys.exit()
- main = False
-
- if event.type == pygame.KEYDOWN:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- print('left')
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- print('right')
- if event.key == pygame.K_UP or event.key == ord('w'):
- print('jump')
-
- if event.type == pygame.KEYUP:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- print('left stop')
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- print('right stop')
- if event.key == ord('q'):
- pygame.quit()
- sys.exit()
- main = False
-```
-
-Some people prefer to control player characters with the keyboard characters W, A, S, and D, and others prefer to use arrow keys. Be sure to include both options.
-
-**Note: **It's vital that you consider all of your users when programming. If you write code that works only for you, it's very likely that you'll be the only one who uses your application. More importantly, if you seek out a job writing code for money, you are expected to write code that works for everyone. Giving your users choices, such as the option to use either arrow keys or WASD, is a sign of a good programmer.
-
-Launch your game using Python, and watch the console window for output as you press the right, left, and up arrows, or the A, D, and W keys.
-
-```
-$ python ./your-name_game.py
- left
- left stop
- right
- right stop
- jump
-```
-
-This confirms that Pygame detects key presses correctly. Now it's time to do the hard work of making the sprite move.
-
-### Coding the player movement function
-
-To make your sprite move, you must create a property for your sprite that represents movement. When your sprite is not moving, this variable is set to `0`.
-
-If you are animating your sprite, or should you decide to animate it in the future, you also must track frames to enable the walk cycle to stay on track.
-
-Create the variables in the Player class. The first two lines are for context (you already have them in your code, if you've been following along), so add only the last three:
-
-```
- def __init__(self):
- pygame.sprite.Sprite.__init__(self)
- self.movex = 0 # move along X
- self.movey = 0 # move along Y
- self.frame = 0 # count frames
-```
-
-With those variables set, it's time to code the sprite's movement.
-
-The player sprite doesn't need to respond to control all the time; sometimes it will not be moving. The code that controls the sprite, therefore, is only one small part of all the things the player sprite will do. When you want to make an object in Python do something independent of the rest of its code, you place your new code in a function. Python functions start with the keyword `def`, which stands for define.
-
-Make a function in your Player class to add some number of pixels to your sprite's position on screen. Don't worry about how many pixels you add yet; that will be decided in later code.
-
-```
- def control(self,x,y):
- '''
- control player movement
- '''
- self.movex += x
- self.movey += y
-```
-
-To move a sprite in Pygame, you have to tell Python to redraw the sprite in its new location—and where that new location is.
-
-Since the Player sprite isn't always moving, the updates need to be only one function within the Player class. Add this function after the `control` function you created earlier.
-
-To make it appear that the sprite is walking (or flying, or whatever it is your sprite is supposed to do), you need to change its position on screen when the appropriate key is pressed. To get it to move across the screen, you redefine its position, designated by the `self.rect.x` and `self.rect.y` properties, to its current position plus whatever amount of `movex` or `movey` is applied. (The number of pixels the move requires is set later.)
-
-```
- def update(self):
- '''
- Update sprite position
- '''
- self.rect.x = self.rect.x + self.movex
-```
-
-Do the same thing for the Y position:
-
-```
- self.rect.y = self.rect.y + self.movey
-```
-
-For animation, advance the animation frames whenever your sprite is moving, and use the corresponding animation frame as the player image:
-
-```
- # moving left
- if self.movex < 0:
- self.frame += 1
- if self.frame > 3*ani:
- self.frame = 0
- self.image = self.images[self.frame//ani]
-
- # moving right
- if self.movex > 0:
- self.frame += 1
- if self.frame > 3*ani:
- self.frame = 0
- self.image = self.images[(self.frame//ani)+4]
-```
-
-Tell the code how many pixels to add to your sprite's position by setting a variable, then use that variable when triggering the functions of your Player sprite.
-
-First, create the variable in your setup section. In this code, the first two lines are for context, so just add the third line to your script:
-
-```
-player_list = pygame.sprite.Group()
-player_list.add(player)
-steps = 10 # how many pixels to move
-```
-
-Now that you have the appropriate function and variable, use your key presses to trigger the function and send the variable to your sprite.
-
-Do this by replacing the `print` statements in your main loop with the Player sprite's name (player), the function (.control), and how many steps along the X axis and Y axis you want the player sprite to move with each loop.
-
-```
- if event.type == pygame.KEYDOWN:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- player.control(-steps,0)
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- player.control(steps,0)
- if event.key == pygame.K_UP or event.key == ord('w'):
- print('jump')
-
- if event.type == pygame.KEYUP:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- player.control(steps,0)
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- player.control(-steps,0)
- if event.key == ord('q'):
- pygame.quit()
- sys.exit()
- main = False
-```
-
-Remember, `steps` is a variable representing how many pixels your sprite moves when a key is pressed. If you add 10 pixels to the location of your player sprite when you press D or the right arrow, then when you stop pressing that key you must subtract 10 (`-steps`) to return your sprite's momentum back to 0.
-
-Try your game now. Warning: it won't do what you expect.
-
-Why doesn't your sprite move yet? Because the main loop doesn't call the `update` function.
-
-Add code to your main loop to tell Python to update the position of your player sprite. Add the line with the comment:
-
-```
- player.update() # update player position
- player_list.draw(world)
- pygame.display.flip()
- clock.tick(fps)
-```
-
-Launch your game again to witness your player sprite move across the screen at your bidding. There's no vertical movement yet because those functions will be controlled by gravity, but that's another lesson for another article.
-
-In the meantime, if you have access to a joystick, try reading Pygame's documentation for its [joystick][4] module and see if you can make your sprite move that way. Alternately, see if you can get the [mouse][5] to interact with your sprite.
-
-Most importantly, have fun!
-
-### All the code used in this tutorial
-
-For your reference, here is all the code used in this series of articles so far.
-
-```
-#!/usr/bin/env python3
-# draw a world
-# add a player and player control
-# add player movement
-
-# GNU All-Permissive License
-# Copying and distribution of this file, with or without modification,
-# are permitted in any medium without royalty provided the copyright
-# notice and this notice are preserved. This file is offered as-is,
-# without any warranty.
-
-import pygame
-import sys
-import os
-
-'''
-Objects
-'''
-
-class Player(pygame.sprite.Sprite):
- '''
- Spawn a player
- '''
- def __init__(self):
- pygame.sprite.Sprite.__init__(self)
- self.movex = 0
- self.movey = 0
- self.frame = 0
- self.images = []
- for i in range(1,5):
- img = pygame.image.load(os.path.join('images','hero' + str(i) + '.png')).convert()
- img.convert_alpha()
- img.set_colorkey(ALPHA)
- self.images.append(img)
- self.image = self.images[0]
- self.rect = self.image.get_rect()
-
- def control(self,x,y):
- '''
- control player movement
- '''
- self.movex += x
- self.movey += y
-
- def update(self):
- '''
- Update sprite position
- '''
-
- self.rect.x = self.rect.x + self.movex
- self.rect.y = self.rect.y + self.movey
-
- # moving left
- if self.movex < 0:
- self.frame += 1
- if self.frame > 3*ani:
- self.frame = 0
- self.image = self.images[self.frame//ani]
-
- # moving right
- if self.movex > 0:
- self.frame += 1
- if self.frame > 3*ani:
- self.frame = 0
- self.image = self.images[(self.frame//ani)+4]
-
-
-'''
-Setup
-'''
-worldx = 960
-worldy = 720
-
-fps = 40 # frame rate
-ani = 4 # animation cycles
-clock = pygame.time.Clock()
-pygame.init()
-main = True
-
-BLUE = (25,25,200)
-BLACK = (23,23,23 )
-WHITE = (254,254,254)
-ALPHA = (0,255,0)
-
-world = pygame.display.set_mode([worldx,worldy])
-backdrop = pygame.image.load(os.path.join('images','stage.png')).convert()
-backdropbox = world.get_rect()
-player = Player() # spawn player
-player.rect.x = 0
-player.rect.y = 0
-player_list = pygame.sprite.Group()
-player_list.add(player)
-steps = 10 # how fast to move
-
-'''
-Main loop
-'''
-while main == True:
- for event in pygame.event.get():
- if event.type == pygame.QUIT:
- pygame.quit(); sys.exit()
- main = False
-
- if event.type == pygame.KEYDOWN:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- player.control(-steps,0)
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- player.control(steps,0)
- if event.key == pygame.K_UP or event.key == ord('w'):
- print('jump')
-
- if event.type == pygame.KEYUP:
- if event.key == pygame.K_LEFT or event.key == ord('a'):
- player.control(steps,0)
- if event.key == pygame.K_RIGHT or event.key == ord('d'):
- player.control(-steps,0)
- if event.key == ord('q'):
- pygame.quit()
- sys.exit()
- main = False
-
-# world.fill(BLACK)
- world.blit(backdrop, backdropbox)
- player.update()
- player_list.draw(world) #refresh player position
- pygame.display.flip()
- clock.tick(fps)
-```
-
-You've come far and learned much, but there's a lot more to do. In the next few articles, you'll add enemy sprites, emulated gravity, and lots more. In the mean time, practice with Python!
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/17/12/game-python-moving-player
-
-作者:[Seth Kenlon][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/seth
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/article/17/10/python-101
-[2]: https://opensource.com/article/17/12/program-game-python-part-2-creating-game-world
-[3]: https://opensource.com/article/17/12/program-game-python-part-3-spawning-player
-[4]: http://pygame.org/docs/ref/joystick.html
-[5]: http://pygame.org/docs/ref/mouse.html#module-pygame.mouse
diff --git a/sources/tech/20181228 The office coffee model of concurrent garbage collection.md b/sources/tech/20181228 The office coffee model of concurrent garbage collection.md
new file mode 100644
index 0000000000..825eb4b536
--- /dev/null
+++ b/sources/tech/20181228 The office coffee model of concurrent garbage collection.md
@@ -0,0 +1,62 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (The office coffee model of concurrent garbage collection)
+[#]: via: (https://dave.cheney.net/2018/12/28/the-office-coffee-model-of-concurrent-garbage-collection)
+[#]: author: (Dave Cheney https://dave.cheney.net/author/davecheney)
+
+The office coffee model of concurrent garbage collection
+======
+
+Garbage collection is a field with its own terminology. Concepts like like _mutator_ s, _card marking_ , and _write barriers_ create a hurdle to understanding how garbage collectors work. Here’s an analogy to explain the operations of a concurrent garbage collector using everyday items found in the workplace.
+
+Before we discuss the operation of _concurrent_ garbage collection, let’s introduce the dramatis personae. In offices around the world you’ll find one of these:
+
+![][1]
+
+In the workplace coffee is a natural resource. Employees visit the break room and fill their cups as required. That is, until the point someone goes to fill their cup only to discover the pot is _empty_!
+
+Immediately the office is thrown into chaos. Meeting are called. Investigations are held. The perpetrator who took the last cup without refilling the machine is found and [reprimanded][2]. Despite many passive aggressive notes the situation keeps happening, thus a committee is formed to decide if a larger coffee pot should be requisitioned. Once the coffee maker is again full office productivity slowly returns to normal.
+
+This is the model of _stop the world_ garbage collection. The various parts of your program proceed through their day consuming memory, or in our analogy coffee, without a care about the next allocation that needs to be made. Eventually one unlucky attempt to allocate memory is made only to find the heap, or the coffee pot, exhausted, triggering a stop the world garbage collection.
+
+* * *
+
+Down the road at a more enlightened workplace, management have adopted a different strategy for mitigating their break room’s coffee problems. Their policy is simple: if the pot is more than half full, fill your cup and be on your way. However, if the pot is less than half full, _before_ filling your cup, you must add a little coffee and a little water to the top of the machine. In this way, by the time the next person arrives for their re-up, the level in the pot will hopefully have risen higher than when the first person found it.
+
+This policy does come at a cost to office productivity. Rather than filling their cup and hoping for the best, each worker may, depending on the aggregate level of consumption in the office, have to spend a little time refilling the percolator and topping up the water. However, this is time spent by a person who was already heading to the break room. It costs a few extra minutes to maintain the coffee machine, but does not impact their officemates who aren’t in need of caffeination. If several people take a break at the same time, they will all find the level in the pot below the half way mark and all proceed to top up the coffee maker–the more consumption, the greater the rate the machine will be refilled, although this takes a little longer as the break room becomes congested.
+
+This is the model of _concurrent garbage collection_ as practiced by the Go runtime (and probably other language runtimes with concurrent collectors). Rather than each heap allocation proceeding blindly until the heap is exhausted, leading to a long stop the world pause, concurrent collection algorithms spread the work of walking the heap to find memory which is no longer reachable over the parts of the program allocating memory. In this way the parts of the program which allocate memory each pay a small cost–in terms of latency–for those allocations rather than the whole program being forced to halt when the heap is exhausted.
+
+Lastly, in keeping with the office coffee model, if the rate of coffee consumption in the office is so high that management discovers that their staff are always in the break room trying desperately to refill the coffee machine, it’s time to invest in a machine with a bigger pot–or in garbage collection terms, grow the heap.
+
+### Related posts:
+
+ 1. [Visualising the Go garbage collector][3]
+ 2. [A whirlwind tour of Go’s runtime environment variables][4]
+ 3. [Why is a Goroutine’s stack infinite ?][5]
+ 4. [Introducing Go 2.0][6]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://dave.cheney.net/2018/12/28/the-office-coffee-model-of-concurrent-garbage-collection
+
+作者:[Dave Cheney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://dave.cheney.net/author/davecheney
+[b]: https://github.com/lujun9972
+[1]: https://dave.cheney.net/wp-content/uploads/2018/12/20181204175004_79256.jpg
+[2]: https://www.youtube.com/watch?v=ww86iaucd2A
+[3]: https://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector (Visualising the Go garbage collector)
+[4]: https://dave.cheney.net/2015/11/29/a-whirlwind-tour-of-gos-runtime-environment-variables (A whirlwind tour of Go’s runtime environment variables)
+[5]: https://dave.cheney.net/2013/06/02/why-is-a-goroutines-stack-infinite (Why is a Goroutine’s stack infinite ?)
+[6]: https://dave.cheney.net/2016/10/25/introducing-go-2-0 (Introducing Go 2.0)
diff --git a/sources/tech/20181231 Troubleshooting hardware problems in Linux.md b/sources/tech/20181231 Troubleshooting hardware problems in Linux.md
index 724a1c35a3..dcc89034db 100644
--- a/sources/tech/20181231 Troubleshooting hardware problems in Linux.md
+++ b/sources/tech/20181231 Troubleshooting hardware problems in Linux.md
@@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
-[#]: translator: (suphgcm)
+[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
diff --git a/sources/tech/20190107 Aliases- To Protect and Serve.md b/sources/tech/20190107 Aliases- To Protect and Serve.md
deleted file mode 100644
index 783c59dc41..0000000000
--- a/sources/tech/20190107 Aliases- To Protect and Serve.md
+++ /dev/null
@@ -1,176 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Aliases: To Protect and Serve)
-[#]: via: (https://www.linux.com/blog/learn/2019/1/aliases-protect-and-serve)
-[#]: author: (Paul Brown https://www.linux.com/users/bro66)
-
-Aliases: To Protect and Serve
-======
-
-
-
-Happy 2019! Here in the new year, we’re continuing our series on aliases. By now, you’ve probably read our [first article on aliases][1], and it should be quite clear how they are the easiest way to save yourself a lot of trouble. You already saw, for example, that they helped with muscle-memory, but let's see several other cases in which aliases come in handy.
-
-### Aliases as Shortcuts
-
-One of the most beautiful things about Linux's shells is how you can use zillions of options and chain commands together to carry out really sophisticated operations in one fell swoop. All right, maybe beauty is in the eye of the beholder, but let's agree that this feature published practical.
-
-The downside is that you often come up with recipes that are often hard to remember or cumbersome to type. Say space on your hard disk is at a premium and you want to do some New Year's cleaning. Your first step may be to look for stuff to get rid off in you home directory. One criteria you could apply is to look for stuff you don't use anymore. `ls` can help with that:
-
-```
-ls -lct
-```
-
-The instruction above shows the details of each file and directory (`-l`) and also shows when each item was last accessed (`-c`). It then orders the list from most recently accessed to least recently accessed (`-t`).
-
-Is this hard to remember? You probably don’t use the `-c` and `-t` options every day, so perhaps. In any case, defining an alias like
-
-```
-alias lt='ls -lct'
-```
-
-will make it easier.
-
-Then again, you may want to have the list show the oldest files first:
-
-```
-alias lo='lt -F | tac'
-```
-
-![aliases][3]
-
-Figure 1: The lt and lo aliases in action.
-
-[Used with permission][4]
-
-There are a few interesting things going here. First, we are using an alias (`lt`) to create another alias -- which is perfectly okay. Second, we are passing a new parameter to `lt` (which, in turn gets passed to `ls` through the definition of the `lt` alias).
-
-The `-F` option appends special symbols to the names of items to better differentiate regular files (that get no symbol) from executable files (that get an `*`), files from directories (end in `/`), and all of the above from links, symbolic and otherwise (that end in an `@` symbol). The `-F` option is throwback to the days when terminals where monochrome and there was no other way to easily see the difference between items. You use it here because, when you pipe the output from `lt` through to `tac` you lose the colors from `ls`.
-
-The third thing to pay attention to is the use of piping. Piping happens when you pass the output from an instruction to another instruction. The second instruction can then use that output as its own input. In many shells (including Bash), you pipe something using the pipe symbol (`|`).
-
-In this case, you are piping the output from `lt -F` into `tac`. `tac`'s name is a bit of a joke. You may have heard of `cat`, the instruction that was nominally created to con _cat_ enate files together, but that in practice is used to print out the contents of a file to the terminal. `tac` does the same, but prints out the contents it receives in reverse order. Get it? `cat` and `tac`. Developers, you so funny!
-
-The thing is both `cat` and `tac` can also print out stuff piped over from another instruction, in this case, a list of files ordered chronologically.
-
-So... after that digression, what comes out of the other end is the list of files and directories of the current directory in inverse order of freshness.
-
-The final thing you have to bear in mind is that, while `lt` will work the current directory and any other directory...
-
-```
-# This will work:
-lt
-# And so will this:
-lt /some/other/directory
-```
-
-... `lo` will only work with the current directory:
-
-```
-# This will work:
-lo
-# But this won't:
-lo /some/other/directory
-```
-
-This is because Bash expands aliases into their components. When you type this:
-
-```
-lt /some/other/directory
-```
-
-Bash REALLY runs this:
-
-```
-ls -lct /some/other/directory
-```
-
-which is a valid Bash command.
-
-However, if you type this:
-
-```
-lo /some/other/directory
-```
-
-Bash tries to run this:
-
-```
-ls -lct -F | tac /some/other/directory
-```
-
-which is not a valid instruction, because `tac` mainly because _/some/other/directory_ is a directory, and `cat` and `tac` don't do directories.
-
-### More Alias Shortcuts
-
- * `alias lll='ls -R'` prints out the contents of a directory and then drills down and prints out the contents of its subdirectories and the subdirectories of the subdirectories, and so on and so forth. It is a way of seeing everything you have under a directory.
-
- * `mkdir='mkdir -pv'` let's you make directories within directories all in one go. With the base form of `mkdir`, to make a new directory containing a subdirectory you have to do this:
-
-```
- mkdir newdir
-mkdir newdir/subdir
-```
-
-Or this:
-
-```
-mkdir -p newdir/subdir
-```
-
-while with the alias you would only have to do this:
-
-```
-mkdir newdir/subdir
-```
-
-Your new `mkdir` will also tell you what it is doing while is creating new directories.
-
-
-
-
-### Aliases as Safeguards
-
-The other thing aliases are good for is as safeguards against erasing or overwriting your files accidentally. At this stage you have probably heard the legendary story about the new Linux user who ran:
-
-```
-rm -rf /
-```
-
-as root, and nuked the whole system. Then there's the user who decided that:
-
-```
-rm -rf /some/directory/ *
-```
-
-was a good idea and erased the complete contents of their home directory. Notice how easy it is to overlook that space separating the directory path and the `*`.
-
-Both things can be avoided with the `alias rm='rm -i'` alias. The `-i` option makes `rm` ask the user whether that is what they really want to do and gives you a second chance before wreaking havoc in your file system.
-
-The same goes for `cp`, which can overwrite a file without telling you anything. Create an alias like `alias cp='cp -i'` and stay safe!
-
-### Next Time
-
-We are moving more and more into scripting territory. Next time, we'll take the next logical step and see how combining instructions on the command line gives you really interesting and sophisticated solutions to everyday admin problems.
-
-
---------------------------------------------------------------------------------
-
-via: https://www.linux.com/blog/learn/2019/1/aliases-protect-and-serve
-
-作者:[Paul Brown][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.linux.com/users/bro66
-[b]: https://github.com/lujun9972
-[1]: https://www.linux.com/blog/learn/2019/1/aliases-protect-and-serve
-[2]: https://www.linux.com/files/images/fig01png-0
-[3]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/fig01_0.png?itok=crqTm_va (aliases)
-[4]: https://www.linux.com/licenses/category/used-permission
diff --git a/sources/tech/20190108 Avoid package names like base, util, or common.md b/sources/tech/20190108 Avoid package names like base, util, or common.md
new file mode 100644
index 0000000000..b2c70b0b2e
--- /dev/null
+++ b/sources/tech/20190108 Avoid package names like base, util, or common.md
@@ -0,0 +1,57 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Avoid package names like base, util, or common)
+[#]: via: (https://dave.cheney.net/2019/01/08/avoid-package-names-like-base-util-or-common)
+[#]: author: (Dave Cheney https://dave.cheney.net/author/davecheney)
+
+Avoid package names like base, util, or common
+======
+
+Writing a good Go package starts with its name. Think of your package’s name as an elevator pitch, you have to describe what it does using just one word.
+
+A common cause of poor package names are _utility packages_. These are packages where helpers and utility code congeal. These packages contain an assortment of unrelated functions, as such their utility is hard to describe in terms of what the package _provides_. This often leads to a package’s name being derived from what the package _contains_ —utilities.
+
+Package names like `utils` or `helpers` are commonly found in projects which have developed deep package hierarchies and want to share helper functions without introducing import loops. Extracting utility functions to new package breaks the import loop, but as the package stems from a design problem in the project, its name doesn’t reflect its purpose, only its function in breaking the import cycle.
+
+> [A little] duplication is far cheaper than the wrong abstraction.
+
+— [Sandy Metz][1]
+
+My recommendation to improve the name of `utils` or `helpers` packages is to analyse where they are imported and move the relevant functions into the calling package. Even if this results in some code duplication this is preferable to introducing an import dependency between two packages. In the case where utility functions are used in many places, prefer multiple packages, each focused on a single aspect with a correspondingly descriptive name.
+
+Packages with names like `base` or `common` are often found when functionality common to two or more related facilities, for example common types between a client and server or a server and its mock, has been refactored into a separate package. Instead the solution is to reduce the number of packages by combining client, server, and common code into a single package named after the facility the package provides.
+
+For example, the `net/http` package does not have `client` and `server` packages, instead it has `client.go` and `server.go` files, each holding their respective types. `transport.go` holds for the common message transport code used by both HTTP clients and servers.
+
+Name your packages after what they _provide_ , not what they _contain_.
+
+### Related posts:
+
+ 1. [Simple profiling package moved, updated][2]
+ 2. [The package level logger anti pattern][3]
+ 3. [How to include C code in your Go package][4]
+ 4. [Why I think Go package management is important][5]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://dave.cheney.net/2019/01/08/avoid-package-names-like-base-util-or-common
+
+作者:[Dave Cheney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://dave.cheney.net/author/davecheney
+[b]: https://github.com/lujun9972
+[1]: https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstraction
+[2]: https://dave.cheney.net/2014/10/22/simple-profiling-package-moved-updated (Simple profiling package moved, updated)
+[3]: https://dave.cheney.net/2017/01/23/the-package-level-logger-anti-pattern (The package level logger anti pattern)
+[4]: https://dave.cheney.net/2013/09/07/how-to-include-c-code-in-your-go-package (How to include C code in your Go package)
+[5]: https://dave.cheney.net/2013/10/10/why-i-think-go-package-management-is-important (Why I think Go package management is important)
diff --git a/sources/tech/20190109 GoAccess - A Real-Time Web Server Log Analyzer And Interactive Viewer.md b/sources/tech/20190109 GoAccess - A Real-Time Web Server Log Analyzer And Interactive Viewer.md
deleted file mode 100644
index 3bad5ba969..0000000000
--- a/sources/tech/20190109 GoAccess - A Real-Time Web Server Log Analyzer And Interactive Viewer.md
+++ /dev/null
@@ -1,187 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (GoAccess – A Real-Time Web Server Log Analyzer And Interactive Viewer)
-[#]: via: (https://www.2daygeek.com/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer/)
-[#]: author: (Vinoth Kumar https://www.2daygeek.com/author/vinoth/)
-
-GoAccess – A Real-Time Web Server Log Analyzer And Interactive Viewer
-======
-
-Analyzing a log file is a big headache for Linux administrators as it’s capturing a lot of things.
-
-Most of the newbies and L1 administrators doesn’t know how to analyze this.
-
-If you have good knowledge to analyze a logs then you will be a legend for NIX system.
-
-There are many tools available in Linux to analyze the logs easily.
-
-GoAccess is one of the tool which allow users to analyze web server logs easily.
-
-We will be going to discuss in details about GoAccess tool in this article.
-
-### What is GoAccess?
-
-GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
-
-GoAccess has minimal requirements, it’s written in C and requires only ncurses.
-
-It will support Apache, Nginx and Lighttpd logs. It provides fast and valuable HTTP statistics for system administrators that require a visual server report on the fly.
-
-GoAccess parses the specified web log file and outputs the data to the X terminal and browser.
-
-GoAccess was designed to be a fast, terminal-based log analyzer. Its core idea is to quickly analyze and view web server statistics in real time without needing to use your browser.
-
-Terminal output is the default output, it has the capability to generate a complete, self-contained, real-time HTML report, as well as a JSON, and CSV report.
-
-GoAccess allows any custom log format and the following (Combined Log Format (XLF/ELF) Apache | Nginx & Common Log Format (CLF) Apache) predefined log format options are included, but not limited to.
-
-### GoAccess Features
-
- * **`Completely Real Time:`** All the metrics are updated every 200 ms on the terminal and every second on the HTML output.
- * **`Track Application Response Time:`** Track the time taken to serve the request. Extremely useful if you want to track pages that are slowing down your site.
- * **`Visitors:`** Determine the amount of hits, visitors, bandwidth, and metrics for slowest running requests by the hour, or date.
- * **`Metrics per Virtual Host:`** Have multiple Virtual Hosts (Server Blocks)? It features a panel that displays which virtual host is consuming most of the web server resources.
-
-
-
-### How to Install GoAccess?
-
-I would advise users to install GoAccess from distribution official repository with help of Package Manager. It is available in most of the distributions official repository.
-
-As we know, we will be getting bit outdated package for standard release distribution and rolling release distributions always include latest package.
-
-If you are running the OS with standard release distributions, i would suggest you to check the alternative options such as PPA or Official GoAccess maintainer repository, etc, to get a latest package.
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][1]** or **[APT Command][2]** to install GoAccess on your systems.
-
-```
-# apt install goaccess
-```
-
-To get a latest GoAccess package, use the below GoAccess official repository.
-
-```
-$ echo "deb https://deb.goaccess.io/ $(lsb_release -cs) main" | sudo tee -a /etc/apt/sources.list.d/goaccess.list
-$ wget -O - https://deb.goaccess.io/gnugpg.key | sudo apt-key add -
-$ sudo apt-get update
-$ sudo apt-get install goaccess
-```
-
-For **`RHEL/CentOS`** systems, use **[YUM Package Manager][3]** to install GoAccess on your systems.
-
-```
-# yum install goaccess
-```
-
-For **`Fedora`** system, use **[DNF Package Manager][4]** to install GoAccess on your system.
-
-```
-# dnf install goaccess
-```
-
-For **`ArchLinux/Manjaro`** based systems, use **[Pacman Package Manager][5]** to install GoAccess on your systems.
-
-```
-# pacman -S goaccess
-```
-
-For **`openSUSE Leap`** system, use **[Zypper Package Manager][6]** to install GoAccess on your system.
-
-```
-# zypper install goaccess
-
-# zypper ar -f obs://server:http
-
-# zypper ref && zypper in goaccess
-```
-
-### How to Use GoAccess?
-
-After successful installation of GoAccess. Just enter the goaccess command and followed by the web server log location to view it.
-
-```
-# goaccess [options] /path/to/Web Server/access.log
-
-# goaccess /var/log/apache/2daygeek_access.log
-```
-
-When you execute the above command, it will ask you to select the **Log Format Configuration**.
-![][8]
-
-I had tested this with Apache access log. The Apache log is splitted in fifteen section. The details are below. The main section shows the summary about the fifteen section.
-
-The below screenshots included four sessions such as Unique Visitors, Requested files, Static Requests, Not found URLs.
-![][9]
-
-The below screenshots included four sessions such as Visitor Hostnames and IPs, Operating Systems, Browsers, Time Distribution.
-![][10]
-
-The below screenshots included four sessions such as Referrers URLs, Referring Sites, Google’s search engine results, HTTP status codes.
-![][11]
-
-If you would like to generate a html report, use the following format.
-
-Initially i got an error when i was trying to generate the html report.
-
-```
-# goaccess 2daygeek_access.log -a > report.html
-
-GoAccess - version 1.3 - Nov 23 2018 11:28:19
-Config file: No config file used
-
-Fatal error has occurred
-Error occurred at: src/parser.c - parse_log - 2764
-No time format was found on your conf file.Parsing... [0] [0/s]
-```
-
-It says “No time format was found on your conf file”. To overcome this issue, add the “COMBINED” log format option on it.
-
-```
-# goaccess -f 2daygeek_access.log --log-format=COMBINED -o 2daygeek.html
-Parsing...[0,165] [50,165/s]
-```
-
-![][12]
-
-GoAccess allows you to access and analyze the real-time log filtering and parsing.
-
-```
-# tail -f /var/log/apache/2daygeek_access.log | goaccess -
-```
-
-For more details navigate to man or help page.
-
-```
-# man goaccess
-or
-# goaccess --help
-```
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer/
-
-作者:[Vinoth Kumar][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.2daygeek.com/author/vinoth/
-[b]: https://github.com/lujun9972
-[1]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
-[2]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
-[3]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
-[4]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
-[5]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
-[6]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
-[7]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
-[8]: https://www.2daygeek.com/wp-content/uploads/2019/01/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer-1.png
-[9]: https://www.2daygeek.com/wp-content/uploads/2019/01/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer-2.png
-[10]: https://www.2daygeek.com/wp-content/uploads/2019/01/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer-3.png
-[11]: https://www.2daygeek.com/wp-content/uploads/2019/01/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer-4.png
-[12]: https://www.2daygeek.com/wp-content/uploads/2019/01/goaccess-a-real-time-web-server-log-analyzer-and-interactive-viewer-5.png
diff --git a/sources/tech/20190111 Top 5 Linux Distributions for Productivity.md b/sources/tech/20190111 Top 5 Linux Distributions for Productivity.md
deleted file mode 100644
index fbd8b9d120..0000000000
--- a/sources/tech/20190111 Top 5 Linux Distributions for Productivity.md
+++ /dev/null
@@ -1,170 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Top 5 Linux Distributions for Productivity)
-[#]: via: (https://www.linux.com/blog/learn/2019/1/top-5-linux-distributions-productivity)
-[#]: author: (Jack Wallen https://www.linux.com/users/jlwallen)
-
-Top 5 Linux Distributions for Productivity
-======
-
-
-
-I have to confess, this particular topic is a tough one to address. Why? First off, Linux is a productive operating system by design. Thanks to an incredibly reliable and stable platform, getting work done is easy. Second, to gauge effectiveness, you have to consider what type of work you need a productivity boost for. General office work? Development? School? Data mining? Human resources? You see how this question can get somewhat complicated.
-
-That doesn’t mean, however, that some distributions aren’t able to do a better job of configuring and presenting that underlying operating system into an efficient platform for getting work done. Quite the contrary. Some distributions do a much better job of “getting out of the way,” so you don’t find yourself in a work-related hole, having to dig yourself out and catch up before the end of day. These distributions help strip away the complexity that can be found in Linux, thereby making your workflow painless.
-
-Let’s take a look at the distros I consider to be your best bet for productivity. To help make sense of this, I’ve divided them into categories of productivity. That task itself was challenging, because everyone’s productivity varies. For the purposes of this list, however, I’ll look at:
-
- * General Productivity: For those who just need to work efficiently on multiple tasks.
-
- * Graphic Design: For those that work with the creation and manipulation of graphic images.
-
- * Development: For those who use their Linux desktops for programming.
-
- * Administration: For those who need a distribution to facilitate their system administration tasks.
-
- * Education: For those who need a desktop distribution to make them more productive in an educational environment.
-
-
-
-
-Yes, there are more categories to be had, many of which can get very niche-y, but these five should fill most of your needs.
-
-### General Productivity
-
-For general productivity, you won’t get much more efficient than [Ubuntu][1]. The primary reason for choosing Ubuntu for this category is the seamless integration of apps, services, and desktop. You might be wondering why I didn’t choose Linux Mint for this category? Because Ubuntu now defaults to the GNOME desktop, it gains the added advantage of GNOME Extensions (Figure 1).
-
-![GNOME Clipboard][3]
-
-Figure 1: The GNOME Clipboard Indicator extension in action.
-
-[Used with permission][4]
-
-These extensions go a very long way to aid in boosting productivity (so Ubuntu gets the nod over Mint). But Ubuntu didn’t just accept a vanilla GNOME desktop. Instead, they tweaked it to make it slightly more efficient and user-friendly, out of the box. And because Ubuntu contains just the right mixture of default, out-of-the-box, apps (that just work), it makes for a nearly perfect platform for productivity.
-
-Whether you need to write a paper, work on a spreadsheet, code a new app, work on your company website, create marketing images, administer a server or network, or manage human resources from within your company HR tool, Ubuntu has you covered. The Ubuntu desktop distribution also doesn’t require the user to jump through many hoops to get things working … it simply works (and quite well). Finally, thanks to it’s Debian base, Ubuntu makes installing third-party apps incredibly easy.
-
-Although Ubuntu tends to be the go-to for nearly every list of “top distributions for X,” it’s very hard to argue against this particular distribution topping the list of general productivity distributions.
-
-### Graphic Design
-
-If you’re looking to up your graphic design productivity, you can’t go wrong with [Fedora Design Suite][5]. This Fedora respin was created by the team responsible for all Fedora-related art work. Although the default selection of apps isn’t a massive collection of tools, those it does include are geared specifically for the creation and manipulation of images.
-
-With apps like GIMP, Inkscape, Darktable, Krita, Entangle, Blender, Pitivi, Scribus, and more (Figure 2), you’ll find everything you need to get your image editing jobs done and done well. But Fedora Design Suite doesn’t end there. This desktop platform also includes a bevy of tutorials that cover countless subjects for many of the installed applications. For anyone trying to be as productive as possible, this is some seriously handy information to have at the ready. I will say, however, the tutorial entry in the GNOME Favorites is nothing more than a link to [this page][6].
-
-![Fedora Design Suite Favorites][8]
-
-Figure 2: The Fedora Design Suite Favorites menu includes plenty of tools for getting your graphic design on.
-
-[Used with permission][4]
-
-Those that work with a digital camera will certainly appreciate the inclusion of the Entangle app, which allows you to control your DSLR from the desktop.
-
-### Development
-
-Nearly all Linux distributions are great platforms for programmers. However, one particular distributions stands out, above the rest, as one of the most productive tools you’ll find for the task. That OS comes from [System76][9] and it’s called [Pop!_OS][10]. Pop!_OS is tailored specifically for creators, but not of the artistic type. Instead, Pop!_OS is geared toward creators who specialize in developing, programming, and making. If you need an environment that is not only perfected suited for your development work, but includes a desktop that’s sure to get out of your way, you won’t find a better option than Pop!_OS (Figure 3).
-
-What might surprise you (given how “young” this operating system is), is that Pop!_OS is also one of the single most stable GNOME-based platforms you’ll ever use. This means Pop!_OS isn’t just for creators and makers, but anyone looking for a solid operating system. One thing that many users will greatly appreciate with Pop!_OS, is that you can download an ISO specifically for your video hardware. If you have Intel hardware, [download][10] the version for Intel/AMD. If your graphics card is NVIDIA, download that specific release. Either way, you are sure go get a solid platform for which to create your masterpiece.
-
-![Pop!_OS][12]
-
-Figure 3: The Pop!_OS take on GNOME Overview.
-
-[Used with permission][4]
-
-Interestingly enough, with Pop!_OS, you won’t find much in the way of pre-installed development tools. You won’t find an included IDE, or many other dev tools. You can, however, find all the development tools you need in the Pop Shop.
-
-### Administration
-
-If you’re looking to find one of the most productive distributions for admin tasks, look no further than [Debian][13]. Why? Because Debian is not only incredibly reliable, it’s one of those distributions that gets out of your way better than most others. Debian is the perfect combination of ease of use and unlimited possibility. On top of which, because this is the distribution for which so many others are based, you can bet if there’s an admin tool you need for a task, it’s available for Debian. Of course, we’re talking about general admin tasks, which means most of the time you’ll be using a terminal window to SSH into your servers (Figure 4) or a browser to work with web-based GUI tools on your network. Why bother making use of a desktop that’s going to add layers of complexity (such as SELinux in Fedora, or YaST in openSUSE)? Instead, chose simplicity.
-
-![Debian][15]
-
-Figure 4: SSH’ing into a remote server on Debian.
-
-[Used with permission][4]
-
-And because you can select which desktop you want (from GNOME, Xfce, KDE, Cinnamon, MATE, LXDE), you can be sure to have the interface that best matches your work habits.
-
-### Education
-
-If you are a teacher or student, or otherwise involved in education, you need the right tools to be productive. Once upon a time, there existed the likes of Edubuntu. That distribution never failed to be listed in the top of education-related lists. However, that distro hasn’t been updated since it was based on Ubuntu 14.04. Fortunately, there’s a new education-based distribution ready to take that title, based on openSUSE. This spin is called [openSUSE:Education-Li-f-e][16] (Linux For Education - Figure 5), and is based on openSUSE Leap 42.1 (so it is slightly out of date).
-
-openSUSE:Education-Li-f-e includes tools like:
-
- * Brain Workshop - A dual n-back brain exercise
-
- * GCompris - An educational software suite for young children
-
- * gElemental - A periodic table viewer
-
- * iGNUit - A general purpose flash card program
-
- * Little Wizard - Development environment for children based on Pascal
-
- * Stellarium - An astronomical sky simulator
-
- * TuxMath - An math tutor game
-
- * TuxPaint - A drawing program for young children
-
- * TuxType - An educational typing tutor for children
-
- * wxMaxima - A cross platform GUI for the computer algebra system
-
- * Inkscape - Vector graphics program
-
- * GIMP - Graphic image manipulation program
-
- * Pencil - GUI prototyping tool
-
- * Hugin - Panorama photo stitching and HDR merging program
-
-
-![Education][18]
-
-Figure 5: The openSUSE:Education-Li-f-e distro has plenty of tools to help you be productive in or for school.
-
-[Used with permission][4]
-
-Also included with openSUSE:Education-Li-f-e is the [KIWI-LTSP Server][19]. The KIWI-LTSP Server is a flexible, cost effective solution aimed at empowering schools, businesses, and organizations all over the world to easily install and deploy desktop workstations. Although this might not directly aid the student to be more productive, it certainly enables educational institutions be more productive in deploying desktops for students to use. For more information on setting up KIWI-LTSP, check out the openSUSE [KIWI-LTSP quick start guide][20].
-
-Learn more about Linux through the free ["Introduction to Linux" ][21]course from The Linux Foundation and edX.
-
---------------------------------------------------------------------------------
-
-via: https://www.linux.com/blog/learn/2019/1/top-5-linux-distributions-productivity
-
-作者:[Jack Wallen][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.linux.com/users/jlwallen
-[b]: https://github.com/lujun9972
-[1]: https://www.ubuntu.com/
-[2]: /files/images/productivity1jpg
-[3]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/productivity_1.jpg?itok=yxez3X1w (GNOME Clipboard)
-[4]: /licenses/category/used-permission
-[5]: https://labs.fedoraproject.org/en/design-suite/
-[6]: https://fedoraproject.org/wiki/Design_Suite/Tutorials
-[7]: /files/images/productivity2jpg
-[8]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/productivity_2.jpg?itok=ke0b8qyH (Fedora Design Suite Favorites)
-[9]: https://system76.com/
-[10]: https://system76.com/pop
-[11]: /files/images/productivity3jpg-0
-[12]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/productivity_3_0.jpg?itok=8UkCUfsD (Pop!_OS)
-[13]: https://www.debian.org/
-[14]: /files/images/productivity4jpg
-[15]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/productivity_4.jpg?itok=c9yD3Xw2 (Debian)
-[16]: https://en.opensuse.org/openSUSE:Education-Li-f-e
-[17]: /files/images/productivity5jpg
-[18]: https://www.linux.com/sites/lcom/files/styles/rendered_file/public/productivity_5.jpg?itok=oAFtV8nT (Education)
-[19]: https://en.opensuse.org/Portal:KIWI-LTSP
-[20]: https://en.opensuse.org/SDB:KIWI-LTSP_quick_start
-[21]: https://training.linuxfoundation.org/linux-courses/system-administration-training/introduction-to-linux
diff --git a/sources/tech/20190127 Eliminate error handling by eliminating errors.md b/sources/tech/20190127 Eliminate error handling by eliminating errors.md
new file mode 100644
index 0000000000..6eac4740eb
--- /dev/null
+++ b/sources/tech/20190127 Eliminate error handling by eliminating errors.md
@@ -0,0 +1,204 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Eliminate error handling by eliminating errors)
+[#]: via: (https://dave.cheney.net/2019/01/27/eliminate-error-handling-by-eliminating-errors)
+[#]: author: (Dave Cheney https://dave.cheney.net/author/davecheney)
+
+Eliminate error handling by eliminating errors
+======
+
+Go 2 aims to improve the overhead of [error handling][1], but do you know what is better than an improved syntax for handling errors? Not needing to handle errors at all. Now, I’m not saying “delete your error handling code”, instead I’m suggesting changing your code so you don’t have as many errors to handle.
+
+This article draws inspiration from a chapter in John Ousterhout’s, _[A philosophy of Software Design,][2]_ “Define Errors Out of Existence”. I’m going to try to apply his advice to Go.
+
+* * *
+
+Here’s a function to count the number of lines in a file,
+
+```
+func CountLines(r io.Reader) (int, error) {
+ var (
+ br = bufio.NewReader(r)
+ lines int
+ err error
+ )
+
+ for {
+ _, err = br.ReadString('\n')
+ lines++
+ if err != nil {
+ break
+ }
+ }
+
+ if err != io.EOF {
+ return 0, err
+ }
+ return lines, nil
+ }
+```
+
+We construct a `bufio.Reader`, then sit in a loop calling the `ReadString` method, incrementing a counter until we reach the end of the file, then we return the number of lines read. That’s the code we _wanted_ to write, instead `CountLines` is made more complicated by its error handling. For example, there is this strange construction:
+
+```
+_, err = br.ReadString('\n')
+lines++
+if err != nil {
+ break
+}
+```
+
+We increment the count of lines _before_ checking the error—that looks odd. The reason we have to write it this way is `ReadString` will return an error if it encounters an end-of-file—`io.EOF`—before hitting a newline character. This can happen if there is no trailing newline.
+
+To address this problem, we rearrange the logic to increment the line count, then see if we need to exit the loop.1
+
+But we’re not done checking errors yet. `ReadString` will return `io.EOF` when it hits the end of the file. This is expected, `ReadString` needs some way of saying _stop, there is nothing more to read_. So before we return the error to the caller of `CountLine`, we need to check if the error was _not_ `io.EOF`, and in that case propagate it up, otherwise we return `nil` to say that everything worked fine. This is why the final line of the function is not simply
+
+```
+return lines, err
+```
+
+I think this is a good example of Russ Cox’s [observation that error handling can obscure the operation of the function][3]. Let’s look at an improved version.
+
+```
+func CountLines(r io.Reader) (int, error) {
+ sc := bufio.NewScanner(r)
+ lines := 0
+
+ for sc.Scan() {
+ lines++
+ }
+
+ return lines, sc.Err()
+}
+```
+
+This improved version switches from using `bufio.Reader` to `bufio.Scanner`. Under the hood `bufio.Scanner` uses `bufio.Reader` adding a layer of abstraction which helps remove the error handling which obscured the operation of our previous version of `CountLines` 2
+
+The method `sc.Scan()` returns `true` if the scanner _has_ matched a line of text and _has not_ encountered an error. So, the body of our `for` loop will be called only when there is a line of text in the scanner’s buffer. This means our revised `CountLines` correctly handles the case where there is no trailing newline, It also correctly handles the case where the file is empty.
+
+Secondly, as `sc.Scan` returns `false` once an error is encountered, our `for` loop will exit when the end-of-file is reached or an error is encountered. The `bufio.Scanner` type memoises the first error it encounters and we recover that error once we’ve exited the loop using the `sc.Err()` method.
+
+Lastly, `buffo.Scanner` takes care of handling `io.EOF` and will convert it to a `nil` if the end of file was reached without encountering another error.
+
+* * *
+
+My second example is inspired by Rob Pikes’ _[Errors are values][4]_ blog post.
+
+When dealing with opening, writing and closing files, the error handling is present but not overwhelming as, the operations can be encapsulated in helpers like `ioutil.ReadFile` and `ioutil.WriteFile`. However, when dealing with low level network protocols it often becomes necessary to build the response directly using I/O primitives, thus the error handling can become repetitive. Consider this fragment of a HTTP server which is constructing a HTTP/1.1 response.
+
+```
+type Header struct {
+ Key, Value string
+}
+
+type Status struct {
+ Code int
+ Reason string
+}
+
+func WriteResponse(w io.Writer, st Status, headers []Header, body io.Reader) error {
+ _, err := fmt.Fprintf(w, "HTTP/1.1 %d %s\r\n", st.Code, st.Reason)
+ if err != nil {
+ return err
+ }
+
+ for _, h := range headers {
+ _, err := fmt.Fprintf(w, "%s: %s\r\n", h.Key, h.Value)
+ if err != nil {
+ return err
+ }
+ }
+
+ if _, err := fmt.Fprint(w, "\r\n"); err != nil {
+ return err
+ }
+
+ _, err = io.Copy(w, body)
+ return err
+}
+```
+
+First we construct the status line using `fmt.Fprintf`, and check the error. Then for each header we write the header key and value, checking the error each time. Lastly we terminate the header section with an additional `\r\n`, check the error, and copy the response body to the client. Finally, although we don’t need to check the error from `io.Copy`, we do need to translate it from the two return value form that `io.Copy` returns into the single return value that `WriteResponse` expects.
+
+Not only is this a lot of repetitive work, each operation—fundamentally writing bytes to an `io.Writer`—has a different form of error handling. But we can make it easier on ourselves by introducing a small wrapper type.
+
+```
+type errWriter struct {
+ io.Writer
+ err error
+}
+
+func (e *errWriter) Write(buf []byte) (int, error) {
+ if e.err != nil {
+ return 0, e.err
+ }
+
+ var n int
+ n, e.err = e.Writer.Write(buf)
+ return n, nil
+}
+```
+
+`errWriter` fulfils the `io.Writer` contract so it can be used to wrap an existing `io.Writer`. `errWriter` passes writes through to its underlying writer until an error is detected. From that point on, it discards any writes and returns the previous error.
+
+```
+func WriteResponse(w io.Writer, st Status, headers []Header, body io.Reader) error {
+ ew := &errWriter{Writer: w}
+ fmt.Fprintf(ew, "HTTP/1.1 %d %s\r\n", st.Code, st.Reason)
+
+ for _, h := range headers {
+ fmt.Fprintf(ew, "%s: %s\r\n", h.Key, h.Value)
+ }
+
+ fmt.Fprint(ew, "\r\n")
+ io.Copy(ew, body)
+
+ return ew.err
+}
+```
+
+Applying `errWriter` to `WriteResponse` dramatically improves the clarity of the code. Each of the operations no longer needs to bracket itself with an error check. Reporting the error is moved to the end of the function by inspecting the `ew.err` field, avoiding the annoying translation from `io.Copy`’s return values.
+
+* * *
+
+When you find yourself faced with overbearing error handling, try to extract some of the operations into a helper type.
+
+ 1. This logic _still_ isn’t correct, can you spot the bug?
+ 2. `bufio.Scanner` can scan for any pattern, by default it looks for newlines.
+
+
+
+### Related posts:
+
+ 1. [Error handling vs. exceptions redux][5]
+ 2. [Stack traces and the errors package][6]
+ 3. [Subcommand handling in Go][7]
+ 4. [Constant errors][8]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://dave.cheney.net/2019/01/27/eliminate-error-handling-by-eliminating-errors
+
+作者:[Dave Cheney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://dave.cheney.net/author/davecheney
+[b]: https://github.com/lujun9972
+[1]: https://go.googlesource.com/proposal/+/master/design/go2draft-error-handling-overview.md
+[2]: https://www.amazon.com/Philosophy-Software-Design-John-Ousterhout/dp/1732102201
+[3]: https://www.youtube.com/watch?v=6wIP3rO6On8
+[4]: https://blog.golang.org/errors-are-values
+[5]: https://dave.cheney.net/2014/11/04/error-handling-vs-exceptions-redux (Error handling vs. exceptions redux)
+[6]: https://dave.cheney.net/2016/06/12/stack-traces-and-the-errors-package (Stack traces and the errors package)
+[7]: https://dave.cheney.net/2013/11/07/subcommand-handling-in-go (Subcommand handling in Go)
+[8]: https://dave.cheney.net/2016/04/07/constant-errors (Constant errors)
diff --git a/sources/tech/20190129 You shouldn-t name your variables after their types for the same reason you wouldn-t name your pets -dog- or -cat.md b/sources/tech/20190129 You shouldn-t name your variables after their types for the same reason you wouldn-t name your pets -dog- or -cat.md
new file mode 100644
index 0000000000..75ad9e93c6
--- /dev/null
+++ b/sources/tech/20190129 You shouldn-t name your variables after their types for the same reason you wouldn-t name your pets -dog- or -cat.md
@@ -0,0 +1,83 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (You shouldn’t name your variables after their types for the same reason you wouldn’t name your pets “dog” or “cat”)
+[#]: via: (https://dave.cheney.net/2019/01/29/you-shouldnt-name-your-variables-after-their-types-for-the-same-reason-you-wouldnt-name-your-pets-dog-or-cat)
+[#]: author: (Dave Cheney https://dave.cheney.net/author/davecheney)
+
+You shouldn’t name your variables after their types for the same reason you wouldn’t name your pets “dog” or “cat”
+======
+
+The name of a variable should describe its contents, not the _type_ of the contents. Consider this example:
+
+```
+var usersMap map[string]*User
+```
+
+What are some good properties of this declaration? We can see that it’s a map, and it has something to do with the `*User` type, so that’s probably good. But `usersMap` _is_ a map and Go, being a statically typed language, won’t let us accidentally use a map where a different type is required, so the `Map` suffix as a safety precaution is redundant.
+
+Now, consider what happens if we declare other variables using this pattern:
+
+```
+var (
+ companiesMap map[string]*Company
+ productsMap map[string]*Products
+)
+```
+
+Now we have three map type variables in scope, `usersMap`, `companiesMap`, and `productsMap`, all mapping `string`s to different `struct` types. We know they are maps, and we also know that their declarations prevent us from using one in place of another—the compiler will throw an error if we try to use `companiesMap` where the code is expecting a `map[string]*User`. In this situation it’s clear that the `Map` suffix does not improve the clarity of the code, its just extra boilerplate to type.
+
+My suggestion is avoid any suffix that resembles the _type_ of the variable. Said another way, if `users` isn’t descriptive enough, then `usersMap` won’t be either.
+
+This advice also applies to function parameters. For example:
+
+```
+type Config struct {
+ //
+}
+
+func WriteConfig(w io.Writer, config *Config)
+```
+
+Naming the `*Config` parameter `config` is redundant. We know it’s a pointer to a `Config`, it says so right there in the declaration. Instead consider if `conf` will do, or maybe just `c` if the lifetime of the variable is short enough.
+
+This advice is more than just a desire for brevity. If there is more that one `*Config` in scope at any one time, calling them `config1` and `config2` is less descriptive than calling them `original` and `updated` . The latter are less likely to be accidentally transposed—something the compiler won’t catch—while the former differ only in a one character suffix.
+
+Finally, don’t let package names steal good variable names. The name of an imported identifier includes its package name. For example the `Context` type in the `context` package will be known as `context.Context` when imported into another package . This makes it impossible to use `context` as a variable or type, unless of course you rename the import, but that’s throwing good after bad. This is why the local declaration for `context.Context` types is traditionally `ctx`. eg.
+
+```
+func WriteLog(ctx context.Context, message string)
+```
+
+* * *
+
+A variable’s name should be independent of its type. You shouldn’t name your variables after their types for the same reason you wouldn’t name your pets “dog” or “cat”. You shouldn’t include the name of your type in the name of your variable for the same reason.
+
+### Related posts:
+
+ 1. [On declaring variables][1]
+ 2. [Go, without package scoped variables][2]
+ 3. [A whirlwind tour of Go’s runtime environment variables][3]
+ 4. [Declaration scopes in Go][4]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://dave.cheney.net/2019/01/29/you-shouldnt-name-your-variables-after-their-types-for-the-same-reason-you-wouldnt-name-your-pets-dog-or-cat
+
+作者:[Dave Cheney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://dave.cheney.net/author/davecheney
+[b]: https://github.com/lujun9972
+[1]: https://dave.cheney.net/2014/05/24/on-declaring-variables (On declaring variables)
+[2]: https://dave.cheney.net/2017/06/11/go-without-package-scoped-variables (Go, without package scoped variables)
+[3]: https://dave.cheney.net/2015/11/29/a-whirlwind-tour-of-gos-runtime-environment-variables (A whirlwind tour of Go’s runtime environment variables)
+[4]: https://dave.cheney.net/2016/12/15/declaration-scopes-in-go (Declaration scopes in Go)
diff --git a/sources/tech/20190205 Install Apache, MySQL, PHP (LAMP) Stack On Ubuntu 18.04 LTS.md b/sources/tech/20190205 Install Apache, MySQL, PHP (LAMP) Stack On Ubuntu 18.04 LTS.md
index 13b441f85d..7ce1201c4f 100644
--- a/sources/tech/20190205 Install Apache, MySQL, PHP (LAMP) Stack On Ubuntu 18.04 LTS.md
+++ b/sources/tech/20190205 Install Apache, MySQL, PHP (LAMP) Stack On Ubuntu 18.04 LTS.md
@@ -1,5 +1,5 @@
[#]: collector: (lujun9972)
-[#]: translator: (ustblixin)
+[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
diff --git a/sources/tech/20190209 LibreOffice 6.2 is Here- This is the Last Release with 32-bit Binaries.md b/sources/tech/20190209 LibreOffice 6.2 is Here- This is the Last Release with 32-bit Binaries.md
deleted file mode 100644
index ad4bcee236..0000000000
--- a/sources/tech/20190209 LibreOffice 6.2 is Here- This is the Last Release with 32-bit Binaries.md
+++ /dev/null
@@ -1,114 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (LibreOffice 6.2 is Here: This is the Last Release with 32-bit Binaries)
-[#]: via: (https://itsfoss.com/libreoffice-drops-32-bit-support/)
-[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
-
-LibreOffice 6.2 is Here: This is the Last Release with 32-bit Binaries
-======
-
-LibreOffice is my favorite office suite as a free and powerful [alternative to Microsoft Office tools on Linux][1]. Even when I use my Windows machine – I prefer to have LibreOffice installed instead of Microsoft Office tools any day.
-
-Now, with the recent [LibreOffice][2] 6.2 update, there’s a lot of good stuff to talk about along with a bad news.
-
-### What’s New in LibreOffice 6.2?
-
-Let’s have a quick look at the major new features in the [latest release of LibreOffice][3].
-
-If you like Linux videos, don’t forget to [subscribe to our YouTube channel][4] as well.
-
-#### The new NotebookBar
-
-![][5]
-
-A new addition to the interface that is optional and not enabled by default. In order to enable it, go to **View - > User Interface -> Tabbed**.
-
-You can either set it as a tabbed layout or a grouped compact layout.
-
-While it is not something that is mind blowing – but it still counts as a significant user interface update considering a variety of user preferences.
-
-#### Icon Theme
-
-![][6]
-
-A new set of icons is now available to choose from. I will definitely utilize the new set of icons – they look good!
-
-#### Platform Compatibility
-
-With the new update, the compatibility has been improved across all the platforms (Mac, Windows, and Linux).
-
-#### Performance Improvements
-
-This shouldn’t concern you if you didn’t have any issues. But, still, the better they work on this – it is a win-win for all.
-
-They have removed unnecessary animations, worked on latency reduction, avoided repeated re-layout, and more such things to improve the performance.
-
-#### More fixes and improvements
-
-A lot of bugs have been fixed in this new update along with little tweaks here and there for all the tools (Writer, Calc, Draw, Impress).
-
-To get to know all the technical details, you should check out their [release notes.
-][7]
-
-### The Sad News: Dropping the support for 32-bit binaries
-
-Of course, this is not a feature. But, this was bound to happen – because it was anticipated a few months ago. LibreOffice will no more provide 32-bit binary releases.
-
-This is inevitable. [Ubuntu has dropped 32-bit support][8]. Many other Linux distributions have also stopped supporting 32-bit processors. The number of [Linux distributions still supporting a 32-bit architecture][9] is fast dwindling.
-
-For the future versions of LibreOffice on 32-bit systems, you’ll have to rely on your distribution to provide it to you. You cannot download the binaries anymore.
-
-### Installing LibreOffice 6.2
-
-![][10]
-
-Your Linux distribution should be providing this update sooner or later.
-
-Arch-based Linux users should be getting it already while Ubuntu and Debian users would have to wait a bit longer.
-
-If you cannot wait, you should download it and [install it from the deb file][11]. Do remove the existing LibreOffice install before using the DEB file.
-
-[Download LibreOffice 6.2][12]
-
-If you don’t want to use the deb file, you may use the official PPA should provide you LibreOffice 6.2 before Ubuntu (it doesn’t have 6.2 release at the moment). It will update your existing LibreOffice install.
-
-```
-sudo add-apt-repository ppa:libreoffice/ppa
-sudo apt update
-sudo apt install libreoffice
-```
-
-### Wrapping Up
-
-LibreOffice 6.2 is definitely a major step up to keep it as a better alternative to Microsoft Office for Linux users.
-
-Do you happen to use LibreOffice? Do these updates matter to you? Let us know in the comments below.
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/libreoffice-drops-32-bit-support/
-
-作者:[Ankush Das][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/ankush/
-[b]: https://github.com/lujun9972
-[1]: https://itsfoss.com/best-free-open-source-alternatives-microsoft-office/
-[2]: https://www.libreoffice.org/
-[3]: https://itsfoss.com/libreoffice-6-0-released/
-[4]: https://www.youtube.com/c/itsfoss?sub_confirmation=1
-[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/02/libreoffice-tabbed.png?resize=800%2C434&ssl=1
-[6]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/02/Libreoffice-style-elementary.png?ssl=1
-[7]: https://wiki.documentfoundation.org/ReleaseNotes/6.2
-[8]: https://itsfoss.com/ubuntu-drops-32-bit-desktop/
-[9]: https://itsfoss.com/32-bit-os-list/
-[10]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/02/libre-office-6-2-release.png?resize=800%2C450&ssl=1
-[11]: https://itsfoss.com/install-deb-files-ubuntu/
-[12]: https://www.libreoffice.org/download/download/
diff --git a/sources/tech/20190218 Talk, then code.md b/sources/tech/20190218 Talk, then code.md
new file mode 100644
index 0000000000..18ed81e43c
--- /dev/null
+++ b/sources/tech/20190218 Talk, then code.md
@@ -0,0 +1,64 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Talk, then code)
+[#]: via: (https://dave.cheney.net/2019/02/18/talk-then-code)
+[#]: author: (Dave Cheney https://dave.cheney.net/author/davecheney)
+
+Talk, then code
+======
+
+The open source projects that I contribute to follow a philosophy which I describe as _talk, then code_. I think this is generally a good way to develop software and I want to spend a little time talking about the benefits of this methodology.
+
+### Avoiding hurt feelings
+
+The most important reason for discussing the change you want to make is it avoids hurt feelings. Often I see a contributor work hard in isolation on a pull request only to find their work is rejected. This can be for a bunch of reasons; the PR is too large, the PR doesn’t follow the local style, the PR fixes an issue which wasn’t important to the project or was recently fixed indirectly, and many more.
+
+The underlying cause of all these issues is a lack of communication. The goal of the _talk, then code_ philosophy is not to impede or frustrate, but to ensure that a feature lands correctly the first time, without incurring significant maintenance debt, and neither the author of the change, or the reviewer, has to carry the emotional burden of dealing with hurt feelings when a change appears out of the blue with an implicit “well, I’ve done the work, all you have to do is merge it, right?”
+
+### What does discussion look like?
+
+Every new feature or bug fix should be discussed with the maintainer(s) of the project before work commences. It’s fine to experiment privately, but do not send a change without discussing it first.
+
+The definition of _talk_ for simple changes can be as little as a design sketch in a GitHub issue. If your PR fixes a bug, you should link to the bug it fixes. If there isn’t one, you should raise a bug and wait for the maintainers to acknowledge it before sending a PR. This might seem a little backward–who wouldn’t want a bug fixed–but consider the bug could be a misunderstanding in how the software works or it could be a symptom of a larger problem that needs further investigation.
+
+For more complicated changes, especially feature requests, I recommend that a design document be circulated and agreed upon before sending code. This doesn’t have to be a full blown document, a sketch in an issue may be sufficient, but the key is to reach agreement using words, before locking it in stone with code.
+
+In all cases you shouldn’t proceed to send code until there is a positive agreement from the maintainer that the approach is one they are happy with. A pull request is for life, not just for Christmas.
+
+### Code review, not design by committee
+
+A code review is not the place for arguments about design. This is for two reasons. First, most code review tools are not suitable for long comment threads, GitHub’s PR interface is very bad at this, Gerrit is better, but few have a team of admins to maintain a Gerrit instance. More importantly, disagreements at the code review stage suggests there wasn’t agreement on how the change should be implemented.
+
+* * *
+
+Talk about what you want to code, then code what you talked about. Please don’t do it the other way around.
+
+### Related posts:
+
+ 1. [How to include C code in your Go package][1]
+ 2. [Let’s talk about logging][2]
+ 3. [The value of TDD][3]
+ 4. [Suggestions for contributing to an Open Source project][4]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://dave.cheney.net/2019/02/18/talk-then-code
+
+作者:[Dave Cheney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://dave.cheney.net/author/davecheney
+[b]: https://github.com/lujun9972
+[1]: https://dave.cheney.net/2013/09/07/how-to-include-c-code-in-your-go-package (How to include C code in your Go package)
+[2]: https://dave.cheney.net/2015/11/05/lets-talk-about-logging (Let’s talk about logging)
+[3]: https://dave.cheney.net/2016/04/11/the-value-of-tdd (The value of TDD)
+[4]: https://dave.cheney.net/2016/03/12/suggestions-for-contributing-to-an-open-source-project (Suggestions for contributing to an Open Source project)
diff --git a/sources/tech/20190219 5 Good Open Source Speech Recognition-Speech-to-Text Systems.md b/sources/tech/20190219 5 Good Open Source Speech Recognition-Speech-to-Text Systems.md
deleted file mode 100644
index c7609f5022..0000000000
--- a/sources/tech/20190219 5 Good Open Source Speech Recognition-Speech-to-Text Systems.md
+++ /dev/null
@@ -1,131 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (5 Good Open Source Speech Recognition/Speech-to-Text Systems)
-[#]: via: (https://fosspost.org/lists/open-source-speech-recognition-speech-to-text)
-[#]: author: (Simon James https://fosspost.org/author/simonjames)
-
-5 Good Open Source Speech Recognition/Speech-to-Text Systems
-======
-
-
-
-A speech-to-text (STT) system is as its name implies; A way of transforming the spoken words via sound into textual files that can be used later for any purpose.
-
-Speech-to-text technology is extremely useful. It can be used for a lot of applications such as a automation of transcription, writing books/texts using your own sound only, enabling complicated analyses on information using the generated textual files and a lot of other things.
-
-In the past, the speech-to-text technology was dominated by proprietary software and libraries; Open source alternatives didn’t exist or existed with extreme limitations and no community around. This is changing, today there are a lot of open source speech-to-text tools and libraries that you can use right now.
-
-Here we list 5 of them.
-
-### Open Source Speech Recognition Libraries
-
-#### Project DeepSpeech
-
-![5 Good Open Source Speech Recognition/Speech-to-Text Systems 15 open source speech recognition][1]
-
-This project is made by Mozilla; The organization behind the Firefox browser. It’s a 100% free and open source speech-to-text library that also implies the machine learning technology using TensorFlow framework to fulfill its mission.
-
-In other words, you can use it to build training models yourself to enhance the underlying speech-to-text technology and get better results, or even to bring it to other languages if you want. You can also easily integrate it to your other machine learning projects that you are having on TensorFlow. Sadly it sounds like the project is currently only supporting English by default.
-
-It’s also available in many languages such as Python (3.6); Which allows you to have it working in seconds:
-
-```
-pip3 install deepspeech
-deepspeech --model models/output_graph.pbmm --alphabet models/alphabet.txt --lm models/lm.binary --trie models/trie --audio my_audio_file.wav
-```
-
-You can also install it using npm:
-
-```
-npm install deepspeech
-```
-
-For more information, refer to the [project’s homepage][2].
-
-#### Kaldi
-
-![5 Good Open Source Speech Recognition/Speech-to-Text Systems 17 open source speech recognition][3]
-
-Kaldi is an open source speech recognition software written in C++, and is released under the Apache public license. It works on Windows, macOS and Linux. Its development started back in 2009.
-
-Kaldi’s main features over some other speech recognition software is that it’s extendable and modular; The community is providing tons of 3rd-party modules that you can use for your tasks. Kaldi also supports deep neural networks, and offers an [excellent documentation on its website][4].
-
-While the code is mainly written in C++, it’s “wrapped” by Bash and Python scripts. So if you are looking just for the basic usage of converting speech to text, then you’ll find it easy to accomplish that via either Python or Bash.
-
-[Project’s homepage][5].
-
-#### Julius
-
-![5 Good Open Source Speech Recognition/Speech-to-Text Systems 19 open source speech recognition][6]
-
-Probably one of the oldest speech recognition software ever; It’s development started in 1991 at the University of Kyoto, and then its ownership was transferred to an independent project team in 2005.
-
-Julius main features include its ability to perform real-time STT processes, low memory usage (Less than 64MB for 20000 words), ability to produce N-best/Word-graph output, ability to work as a server unit and a lot more. This software was mainly built for academic and research purposes. It is written in C, and works on Linux, Windows, macOS and even Android (on smartphones).
-
-Currently it supports both English and Japanese languages only. The software is probably availbale to install easily in your Linux distribution’s repository; Just search for julius package in your package manager. The latest version was [released][7] around one and half months ago.
-
-[Project’s homepage][8].
-
-#### Wav2Letter++
-
-![5 Good Open Source Speech Recognition/Speech-to-Text Systems 21 open source speech recognition][9]
-
-If you are looking for something modern, then this one is for you. Wav2Letter++ is an open source speech recognition software that was released by Facebook’s AI Research Team just 2 months ago. The code is released under the BSD license.
-
-Facebook is [describing][10] its library as “the fastest state-of-the-art speech recognition system available”. The concepts on which this tool is built makes it optimized for performance by default; Facebook’s also-new machine learning library [FlashLight][11] is used as the underlying core of Wav2Letter++.
-
-Wav2Letter++ needs you first to build a training model for the language you desire by yourself in order to train the algorithms on it. No pre-built support of any language (including English) is available; It’s just a machine-learning-driven tool to convert speech to text. It was written in C++, hence the name (Wav2Letter++).
-
-[Project’s homepage][12].
-
-#### DeepSpeech2
-
-![5 Good Open Source Speech Recognition/Speech-to-Text Systems 23 open source speech recognition][13]
-
-Researchers at the Chinese giant Baidu are also working on their own speech-to-text engine, called DeepSpeech2. It’s an end-to-end open source engine that uses the “PaddlePaddle” deep learning framework for converting both English & Mandarin Chinese languages speeches into text. The code is released under BSD license.
-
-The engine can be trained on any model and for any language you desire. The models are not released with the code; You’ll have to build them yourself, just like the other software. DeepSpeech2’s source code is written in Python; So it should be easy for you to get familiar with it if that’s the language you use.
-
-[Project’s homepage][14].
-
-### Conclusion
-
-The speech recognition category is still mainly dominated by proprietary software giants like Google and IBM (which do provide their own closed-source commercial services for this), but the open source alternatives are promising. Those 5 open source speech recognition engines should get you going in building your application, all of them are still under heavy development by time. In few years, we expect open source to become the norm for those technologies just like in the other industries.
-
-If you have any other recommendations for this list, or comments in general, we’d love to hear them below!
-
-**
-
-Shares
-
-
---------------------------------------------------------------------------------
-
-via: https://fosspost.org/lists/open-source-speech-recognition-speech-to-text
-
-作者:[Simon James][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fosspost.org/author/simonjames
-[b]: https://github.com/lujun9972
-[1]: https://i0.wp.com/fosspost.org/wp-content/uploads/2019/02/hero_speech-machine-learning2.png?resize=820%2C280&ssl=1 (5 Good Open Source Speech Recognition/Speech-to-Text Systems 16 open source speech recognition)
-[2]: https://github.com/mozilla/DeepSpeech
-[3]: https://i0.wp.com/fosspost.org/wp-content/uploads/2019/02/Screenshot-at-2019-02-19-1134.png?resize=591%2C138&ssl=1 (5 Good Open Source Speech Recognition/Speech-to-Text Systems 18 open source speech recognition)
-[4]: http://kaldi-asr.org/doc/index.html
-[5]: http://kaldi-asr.org
-[6]: https://i2.wp.com/fosspost.org/wp-content/uploads/2019/02/mic_web.png?resize=385%2C100&ssl=1 (5 Good Open Source Speech Recognition/Speech-to-Text Systems 20 open source speech recognition)
-[7]: https://github.com/julius-speech/julius/releases
-[8]: https://github.com/julius-speech/julius
-[9]: https://i2.wp.com/fosspost.org/wp-content/uploads/2019/02/fully_convolutional_ASR.png?resize=850%2C177&ssl=1 (5 Good Open Source Speech Recognition/Speech-to-Text Systems 22 open source speech recognition)
-[10]: https://code.fb.com/ai-research/wav2letter/
-[11]: https://github.com/facebookresearch/flashlight
-[12]: https://github.com/facebookresearch/wav2letter
-[13]: https://i2.wp.com/fosspost.org/wp-content/uploads/2019/02/ds2.png?resize=850%2C313&ssl=1 (5 Good Open Source Speech Recognition/Speech-to-Text Systems 24 open source speech recognition)
-[14]: https://github.com/PaddlePaddle/DeepSpeech
diff --git a/sources/tech/20190221 DevOps for Network Engineers- Linux Foundation-s New Training Course.md b/sources/tech/20190221 DevOps for Network Engineers- Linux Foundation-s New Training Course.md
deleted file mode 100644
index e99c5e1edf..0000000000
--- a/sources/tech/20190221 DevOps for Network Engineers- Linux Foundation-s New Training Course.md
+++ /dev/null
@@ -1,104 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (DevOps for Network Engineers: Linux Foundation’s New Training Course)
-[#]: via: (https://itsfoss.com/devops-for-network-engineers/)
-[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
-
-DevOps for Network Engineers: Linux Foundation’s New Training Course
-======
-
-_**Linux Foundation has launched a[DevOps course for sysadmins][1] and network engineers. They are also offering a limited time 40% discount on the launch.**_
-
-DevOps is no longer a buzzword. It has become the necessity for any IT company.
-
-The role and responsibility of a sysadmin and a network engineer have changed as well. They are required to have knowledge of the DevOps tools popular in the IT industry.
-
-If you are a sysadmin or a network engineer, you can no longer laugh off DevOps anymore. It’s time to learn new skills to stay relevant in today’s rapidly changing IT industry otherwise the ‘automation’ trend might cost you your job.
-
-And who knows it better than Linux Foundation, the official organization behind Linux project and the employer of Linux-creator Linus Torvalds?
-
-[Linux Foundation has a number of courses on Linux and related technologies][2] that help you in getting a job or improving your existing skills at work.
-
-The [latest course offering][1] from Linux Foundation specifically focuses on sysadmins who would like to familiarize with DevOps tools.
-
-### DevOps for Network Engineers Course
-
-![][3]
-
-[This course][1] is intended for existing sysadmins and network engineers. So you need to have some knowledge of Linux system administration, shell scripting and Python.
-
-The course will help you with:
-
- * Integrating into a DevOps/Agile environment
- * Familiarizing with commonly used DevOps tools
- * Collaborating on projects as DevOps
- * Confidently working with software and configuration files in version control
- * Recognizing the roles of SCRUM team members
- * Confidently applying Agile principles in an organization
-
-
-
-This is the course outline:
-
- * Chapter 1. Course Introduction
- * Chapter 2. Modern Project Management
- * Chapter 3. The DevOps Process: A Network Engineer’s Perspective
- * Chapter 4. Network Simulation and Testing with [Mininet][4]
- * Chapter 5. [OpenFlow][5] and [ONOS][6]
- * Chapter 6. Infrastructure as Code ([Ansible][7] Basics)
- * Chapter 7. Version Control ([Git][8])
- * Chapter 8. Continuous Integration and Continuous Delivery ([Jenkins][9])
- * Chapter 9. Using [Gerrit][10] in DevOps
- * Chapter 10. Jenkins, Gerrit and Code Review for DevOps
- * Chapter 11. The DevOps Process and Tools (Review)
-
-
-
-Altogether, you get 25-30 hours of course material. The online course is self-paced and you can access the material for one year from the date of purchase.
-
-_**Unlike most other courses on Linux Foundation, this is NOT a video course.**_
-
-There is no certification for this course because it is more focused on learning and improving skills.
-
-#### Get the course at a 40% discount (limited time)
-
-The course costs $299 but since it’s just launched, they are offering 40% discount till March 1st, 2019. You can get the discount by using the **DEVOPSNET** coupon code at checkout.
-
-[DevOps for Network Engineers][1]
-
-By the way, if you are interested in Open Source development, you can benefit from the “[Introduction to Open Source Development, Git, and Linux][11]” video course. You can get a limited time 50% discount using **OSDEV50** code at the checkout.
-
-Staying relevant is absolutely necessary in any industry, not just IT industry. Learning new skills that are in-demand in your industry is perhaps the best way in this regard.
-
-What do you think? What are your views on the current automation trend? How would you go about it?
-
-_Disclaimer: This post contains affiliate links. Please read our_ [_affiliate policy_][12] _for more details._
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/devops-for-network-engineers/
-
-作者:[Abhishek Prakash][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/abhishek/
-[b]: https://github.com/lujun9972
-[1]: http://shrsl.com/1glcb
-[2]: https://shareasale.com/r.cfm?b=1074561&u=747593&m=59485&urllink=&afftrack=
-[3]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/02/DevOps-for-Network-Engineers-800x450.png?resize=800%2C450&ssl=1
-[4]: http://mininet.org/
-[5]: https://en.wikipedia.org/wiki/OpenFlow
-[6]: https://onosproject.org/
-[7]: https://www.ansible.com/
-[8]: https://itsfoss.com/basic-git-commands-cheat-sheet/
-[9]: https://jenkins.io/
-[10]: https://www.gerritcodereview.com/
-[11]: https://shareasale.com/r.cfm?b=1193750&u=747593&m=59485&urllink=&afftrack=
-[12]: https://itsfoss.com/affiliate-policy/
diff --git a/sources/tech/20190301 Emacs for (even more of) the win.md b/sources/tech/20190301 Emacs for (even more of) the win.md
deleted file mode 100644
index c1697f3cae..0000000000
--- a/sources/tech/20190301 Emacs for (even more of) the win.md
+++ /dev/null
@@ -1,84 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Emacs for (even more of) the win)
-[#]: via: (https://so.nwalsh.com/2019/03/01/emacs)
-[#]: author: (Norman Walsh https://so.nwalsh.com)
-
-Emacs for (even more of) the win
-======
-
-I use Emacs every day. I rarely notice it. But when I do, it usually brings me joy.
-
->If you are a professional writer…Emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish.
-
-I’ve been using [Emacs][1] for well over twenty years. I use it for writing almost anything and everything (I edit Scala and Java in [IntelliJ][2]). I read my email in it. If it can be done in Emacs, that’s where I prefer to do it.
-
-Although I’ve used Emacs for literally decades, I realized around the new year that very little about my use of Emacs had changed in the past decade or more. New editing modes had come along, of course, I’d picked up a package or two, and I did adopt [Helm][3] a few years ago, but mostly it just did all the heavy lifting that I required of it, day in and day out without complaining or getting in my way. On the one hand, that’s a testament to how good it is. On the other hand, that’s an invitation to dig in and see what I’ve missed.
-
-At about the same time, I resolved to improve several aspects of my work life:
-
- * **Better meeting management.** I’m lead on a couple of projects at work and those projects have meetings, both regularly scheduled and ad hoc; some of them I run, some of them, I only attend.
-
-I realized I’d become sloppy about my participation in meetings. It’s all too easy sit in a room where there’s a meeting going on but actually read email and work on other items. (I strongly oppose the “no laptops” rule in meetings, but that’s a topic for another day.)
-
-There are a couple of problems with sloppy participation. First, it’s disrespectful to the person who convened the meeting and the other participants. That’s actually sufficient reason not to do it, but I think there’s another problem: it disguises the cost of meetings.
-
-If you’re in a meeting but also answering your email and maybe fixing a bug, then that meeting didn’t cost anything (or as much). If meetings are cheap, then there will be more of them.
-
-I want fewer, shorter meetings. I don’t want to disguise their cost, I want them to be perceived as damned expensive and to be avoided unless absolutely necessary.
-
-Sometimes, they are absolutely necessary. And I appreciate that a quick meeting can sometimes resolve an issue quickly. But if I have ten short meetings a day, let’s not pretend that I’m getting anything else productive accomplished.
-
-I resolved to take notes at all the meetings I attend. I’m not offering to take minutes, necessarily, but I am taking minutes of a sort. It keeps me focused on the meeting and not catching up on other things.
-
- * **Better time management.** There are lots and lots of things that I need or want to do, both professionally and personally. I’ve historically kept track off some of them in issue lists, some in saved email threads (in Emacs and [Gmail][4], for slightly different types of reminders), in my calendar, on “todo lists” of various sorts on my phone, and on little scraps of paper. And probably other places as well.
-
-I resolved to keep them all in one place. Not because I think there’s one place that’s uniformly best or better, but because I hope to accomplish two things. First, by having them all in one place, I hope to be able to develop a better and more holistic view of where I’m putting my energies. Second, because I want to develop a habitn. “A settled or regular tendency or practice, especially one that is hard to give up.” of recording, tracking, and preserving them.
-
- * **Better accountability.** If you work in certain science or engineering disciplines, you will have developed the habit of keeping a [lab notebook][5]. Alas, I did not. But I resolved to do so.
-
-I’m not interested in the legal aspects that encourage bound pages or scribing only in permanent marker. What I’m interested in is developing the habit of keeping a record. My goal is to have a place to jot down ideas and design sketches and the like. If I have sudden inspiration or if I think of an edge case that isn’t in the test suite, I want my instinct to be to write it in my journal instead of scribbling it on a scrap of paper or promising myself that I’ll remember it.
-
-
-
-
-This confluence of resolutions led me quickly and more-or-less directly to [Org][6]. There is a large, active, and loyal community of Org users. I’ve played with it in the past (I even [wrote about it][7], at least in passing, a couple of years ago) and I tinkered long enough to [integrate MarkLogic][8] into it. (Boy has that paid off in the last week or two!)
-
-But I never used it.
-
-I am now using it. I take minutes in it, I record all of my todo items in it, and I keep a journal in it. I’m not sure there’s much value in me attempting to wax eloquent about it or enumerate all its features, you’ll find plenty of either with a quick web search.
-
-If you use Emacs, you should be using Org. If you don’t use Emacs, I’m confident you wouldn’t be the first person who started because of Org. It does a lot. It takes a little time to learn your way around and remember the shortcuts, but I think it’s worth it. (And if you carry an [iOS][9] device in your pocket, I recommend [beorg][10] for recording items while you’re on the go.)
-
-Naturally, I worked out how to [get XML out of it][11]⊕“Worked out” sure is a funny way to spell “hacked together in elisp.”. And from there, how to turn it back into the markup my weblog expects (and do so at the push of a button in Emacs, of course). So this is the first posting written in Org. It won’t be the last.
-
-P.S. Happy birthday [little weblog][12].
-
---------------------------------------------------------------------------------
-
-via: https://so.nwalsh.com/2019/03/01/emacs
-
-作者:[Norman Walsh][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://so.nwalsh.com
-[b]: https://github.com/lujun9972
-[1]: https://en.wikipedia.org/wiki/Emacs
-[2]: https://en.wikipedia.org/wiki/IntelliJ_IDEA
-[3]: https://emacs-helm.github.io/helm/
-[4]: https://en.wikipedia.org/wiki/Gmail
-[5]: https://en.wikipedia.org/wiki/Lab_notebook
-[6]: https://en.wikipedia.org/wiki/Org-mode
-[7]: https://www.balisage.net/Proceedings/vol17/html/Walsh01/BalisageVol17-Walsh01.html
-[8]: https://github.com/ndw/ob-ml-marklogic/
-[9]: https://en.wikipedia.org/wiki/IOS
-[10]: https://beorgapp.com/
-[11]: https://github.com/ndw/org-to-xml
-[12]: https://so.nwalsh.com/2017/03/01/helloWorld
diff --git a/sources/tech/20190302 Create a Custom System Tray Indicator For Your Tasks on Linux.md b/sources/tech/20190302 Create a Custom System Tray Indicator For Your Tasks on Linux.md
deleted file mode 100644
index d9d42b7a2f..0000000000
--- a/sources/tech/20190302 Create a Custom System Tray Indicator For Your Tasks on Linux.md
+++ /dev/null
@@ -1,187 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: (lujun9972)
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Create a Custom System Tray Indicator For Your Tasks on Linux)
-[#]: via: (https://fosspost.org/tutorials/custom-system-tray-icon-indicator-linux)
-[#]: author: (M.Hanny Sabbagh https://fosspost.org/author/mhsabbagh)
-
-Create a Custom System Tray Indicator For Your Tasks on Linux
-======
-
-System Tray icons are still considered to be an amazing functionality today. By just right-clicking on the icon, and then selecting which actions you would like to take, you may ease your life a lot and save many unnecessary clicks on daily basis.
-
-When talking about useful system tray icons, examples like Skype, Dropbox and VLC do come to mind:
-
-![Create a Custom System Tray Indicator For Your Tasks on Linux 11][1]
-
-However, system tray icons can actually be quite a lot more useful; By simply building one yourself for your own needs. In this tutorial, we’ll explain how to do that for you in very simple steps.
-
-### Prerequisites
-
-We are going to build a custom system tray indicator using Python. Python is probably installed by default on all the major Linux distributions, so just check it’s there (version 2.7). Additionally, we’ll need the gir1.2-appindicator3 package installed. It’s the library allowing us to easily create system tray indicators.
-
-To install it on Ubuntu/Mint/Debian:
-
-```
-sudo apt-get install gir1.2-appindicator3
-```
-
-On Fedora:
-
-```
-sudo dnf install libappindicator-gtk3
-```
-
-For other distributions, just search for any packages containing appindicator.
-
-On GNOME Shell, system tray icons are removed starting from 3.26. You’ll need to install the [following extension][2] (Or possibly other extensions) to re-enable the feature on your desktop. Otherwise, you won’t be able to see the indicator we are going to create here.
-
-### Basic Code
-
-Here’s the basic code of the indicator:
-
-```
-#!/usr/bin/python
-import os
-from gi.repository import Gtk as gtk, AppIndicator3 as appindicator
-
-def main():
- indicator = appindicator.Indicator.new("customtray", "semi-starred-symbolic", appindicator.IndicatorCategory.APPLICATION_STATUS)
- indicator.set_status(appindicator.IndicatorStatus.ACTIVE)
- indicator.set_menu(menu())
- gtk.main()
-
-def menu():
- menu = gtk.Menu()
-
- command_one = gtk.MenuItem('My Notes')
- command_one.connect('activate', note)
- menu.append(command_one)
-
- exittray = gtk.MenuItem('Exit Tray')
- exittray.connect('activate', quit)
- menu.append(exittray)
-
- menu.show_all()
- return menu
-
-def note(_):
- os.system("gedit $HOME/Documents/notes.txt")
-
-def quit(_):
- gtk.main_quit()
-
-if __name__ == "__main__":
- main()
-```
-
-We’ll explain how the code works later. But for know, just save it in a text file under the name tray.py, and run it using Python:
-
-```
-python tray.py
-```
-
-You’ll see the indicator working as follows:
-
-![Create a Custom System Tray Indicator For Your Tasks on Linux 13][3]
-
-Now, to explain how we did the magic:
-
- * The first 3 lines of the code are nothing more than just specifying the Python path and importing the libraries we are going to use in our indicator.
-
- * def main() : This is the main function of the indicator. Under it we write the code to initialize and build the indicator.
-
- * indicator = appindicator.Indicator.new(“customtray”, “semi-starred-symbolic”, appindicator.IndicatorCategory.APPLICATION_STATUS) : Here we are specially creating a new indicator and calling it `customtray` . This is the special name of the indicator so that the system doesn’t mix it with other indicators that may be running. Also, we used the `semi-starred-symbolic` icon name as the default icon for our indicator. You could possibly change thing to any other things; Say `firefox` (if you want to see Firefox icon being used for the indicator), or any other icon name you would like. The last part regarding the `APPLICATION_STATUS` is just ordinary code for the categorization/scope of that indicator.
-
- * `indicator.set_status(appindicator.IndicatorStatus.ACTIVE)` : This line just turns the indicator on.
-
- * `indicator.set_menu(menu())` : Here, we are saying that we want to use the `menu()` function (which we’ll define later) for creating the menu items of our indicator. This is important so that when you click on the indicator, you can see a list of possible actions to take.
-
- * `gtk.main()` : Just run the main GTK loop.
-
- * Under `menu()` you’ll see that we are creating the actions/items we want to provide using our indicator. `command_one = gtk.MenuItem(‘My Notes’)` simply initializes the first menu item with the text “My notes”, and then `command_one.connect(‘activate’, note)` connects the `activate` signal of that menu item to the `note()` function defined later; In other words, we are telling our system here: “When this menu item is clicked, run the note() function”. Finally, `menu.append(command_one)` adds that menu item to the list.
-
- * The lines regarding `exittray` are just for creating an exit menu item to close the indicator any time you want.
-
- * `menu.show_all()` and `return menu` are just ordinary codes for returning the menu list to the indicator.
-
- * Under `note(_)` you’ll see the code that must be executed when the “My Notes” menu item is clicked. Here, we just wrote `os.system(“gedit $HOME/Documents/notes.txt”)` ; The `os.system` function is a function that allows us to run shell commands from inside Python, so here we wrote a command to open a file called `notes.txt` under the `Documents` folder in our home directory using the `gedit` editor. This for example can be your daily notes taking program from now on!
-
-### Adding your Needed Tasks
-
-There are only 2 things you need to touch in the code:
-
- 1. Define a new menu item under `menu()` for your desired task.
-
- 2. Create a new function to run a specific action when that menu item is clicked.
-
-
-So, let’s say that you want to create a new menu item, which when clicked, plays a specific video/audio file on your hard disk using VLC? To do it, simply add the following 3 lines in line 17:
-
-```
-command_two = gtk.MenuItem('Play video/audio')
-command_two.connect('activate', play)
-menu.append(command_two)
-```
-
-And the following lines in line 30:
-
-```
-def play(_):
- os.system("vlc /home//Videos/somevideo.mp4")
-```
-
-Replace /home//Videos/somevideo.mp4 with the path to the video/audio file you want. Now save the file and run the indicator again:
-
-```
-python tray.py
-```
-
-This is how you’ll see it now:
-
-![Create a Custom System Tray Indicator For Your Tasks on Linux 15][4]
-
-And when you click on the newly-created menu item, VLC will start playing!
-
-To create other items/tasks, simply redo the steps again. Just be careful to replace command_two with another name, like command_three, so that no clash between variables happen. And then define new separate functions like what we did with the play(_) function.
-
-The possibilities are endless from here; I am using this way for example to fetch some data from the web (using the urllib2 library) and display them for me any time. I am also using it for playing an mp3 file in the background using the mpg123 command, and I am defining another menu item to killall mpg123 to stop playing that audio whenever I want. CS:GO on Steam for example takes a huge time to exit (the window doesn’t close automatically), so as a workaround for this, I simply minimize the window and click on a menu item that I created which will execute killall -9 csgo_linux64.
-
-You can use this indicator for anything: Updating your system packages, possibly running some other scripts any time you want.. Literally anything.
-
-### Autostart on Boot
-
-We want our system tray indicator to start automatically on boot, we don’t want to run it manually each time. To do that, simply add the following command to your startup applications (after you replace the path to the tray.py file with yours):
-
-```
-nohup python /home//tray.py &
-```
-
-The very next time you reboot your system, the indicator will start working automatically after boot!
-
-### Conclusion
-
-You now know how to create your own system tray indicator for any task that you may want. This method should save you a lot of time depending on the nature and number of tasks you need to run on daily basis. Some users may prefer creating aliases from the command line, but this will require you to always open the terminal window or have a drop-down terminal emulator available, while here, the system tray indicator is always working and available for you.
-
-Have you used this method to run your tasks before? Would love to hear your thoughts.
-
-
---------------------------------------------------------------------------------
-
-via: https://fosspost.org/tutorials/custom-system-tray-icon-indicator-linux
-
-作者:[M.Hanny Sabbagh][a]
-选题:[lujun9972][b]
-译者:[lujun9972](https://github.com/lujun9972)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fosspost.org/author/mhsabbagh
-[b]: https://github.com/lujun9972
-[1]: https://i2.wp.com/fosspost.org/wp-content/uploads/2019/02/Screenshot-at-2019-02-28-0808.png?resize=407%2C345&ssl=1 (Create a Custom System Tray Indicator For Your Tasks on Linux 12)
-[2]: https://extensions.gnome.org/extension/1031/topicons/
-[3]: https://i2.wp.com/fosspost.org/wp-content/uploads/2019/03/Screenshot-at-2019-03-02-1041.png?resize=434%2C140&ssl=1 (Create a Custom System Tray Indicator For Your Tasks on Linux 14)
-[4]: https://i2.wp.com/fosspost.org/wp-content/uploads/2019/03/Screenshot-at-2019-03-02-1141.png?resize=440%2C149&ssl=1 (Create a Custom System Tray Indicator For Your Tasks on Linux 16)
diff --git a/sources/tech/20190307 How to Restart a Network in Ubuntu -Beginner-s Tip.md b/sources/tech/20190307 How to Restart a Network in Ubuntu -Beginner-s Tip.md
deleted file mode 100644
index 44d5531d83..0000000000
--- a/sources/tech/20190307 How to Restart a Network in Ubuntu -Beginner-s Tip.md
+++ /dev/null
@@ -1,208 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to Restart a Network in Ubuntu [Beginner’s Tip])
-[#]: via: (https://itsfoss.com/restart-network-ubuntu)
-[#]: author: (Sergiu https://itsfoss.com/author/sergiu/)
-
-How to Restart a Network in Ubuntu [Beginner’s Tip]
-======
-
-You’re [using an Ubuntu-based system and you just can’t seem to connect to your network][1]? You’d be surprised how many problems can a simple restart fix.
-
-In this article, I’ll go over multiple ways you can restart network in Ubuntu and other Linux distributions, so you can use whatever suits your needs. The methods are basically divided into two parts:
-
-![Ubuntu Restart Network][2]
-
-### Restart network in Ubuntu using command line
-
-If you are using Ubuntu server edition, you are already in the terminal. If you are using the desktop edition, you can access the terminal using Ctrl+Alt+T [keyboard shortcut in Ubuntu][3].
-
-Now you have several commands at your disposal to restart network in Ubuntu. Some (or perhaps most) commands mentioned here should be applicable for restarting network in Debian and other Linux distributions as well.
-
-#### 1\. network manager service
-
-This is the easiest way to restart your network using the command line. It’s equivalent to the graphical way of doing it (restarts the Network-Manager service).
-
-```
-sudo service network-manager restart
-```
-
-The network icon should disappear for a moment and then reappear.
-
-#### 2\. systemd
-
-The **service** command is just a wrapper for this method (and also for init.d scripts and Upstart commands). The **systemctl** command is much more versatile than **service**. This is what I usually prefer.
-
-```
-sudo systemctl restart NetworkManager.service
-```
-
-The network icon (again) should disappear for a moment. To check out other **systemctl** options, you can refer to its man page.
-
-#### 3\. nmcli
-
-This is yet another tool for handling networks on a Linux machine. It is a pretty powerful tool that I find very practical. Many sysadmins prefer it since it is easy to use.
-
-There are two steps to this method: turning the network off, and then turning it back on.
-
-```
-sudo nmcli networking off
-```
-
-The network will shut down and the icon will disappear. To turn it back on:
-
-```
-sudo nmcli networking on
-```
-
-You can check out the man page of nmcli for more options.
-
-#### 4\. ifup & ifdown
-
-This commands handle a network interface directly, changing it’s state to one in which it either can or can not transmit and receive data. It’s one of the [must know networking commands in Linux][4].
-
-To shut down all network interfaces, use ifdown and then use ifup to turn all network interfaces back on.
-
-A good practice would be to combine both of these commands:
-
-```
-sudo ifdown -a && sudo ifup -a
-```
-
-**Note:** This method will not make the network icon in your systray disappear, and yet you won’t be able to have a connection of any sort.
-
-**Bonus tool: nmtui (click to expand)**
-
-This is another method often used by system administrators. It is a text menu for managing networks right in your terminal.
-
-```
-nmtui
-```
-
-This should open up the following menu:
-
-![nmtui Menu][5]
-
-**Note** that in **nmtui** , you can select another option by using the **up** and **down arrow keys**.
-
-Select **Activate a connection** :
-
-![nmtui Menu Select "Activate a connection"][6]
-
-Press **Enter**. This should now open the **connections** menu.
-
-![nmtui Connections Menu][7]
-
-Here, go ahead and select the network with a **star (*)** next to it. In my case, it’s MGEO72.
-
-![Select your connection in the nmtui connections menu.][8]
-
-Press **Enter**. This should **deactivate** your connection.
-
-![nmtui Connections Menu with no active connection][9]
-
-Select the connection you want to activate:
-
-![Select the connection you want in the nmtui connections menu.][10]
-
-Press **Enter**. This should reactivate the selected connection.
-
-![nmtui Connections Menu][11]
-
-Press **Tab** twice to select **Back** :
-
-![Select "Back" in the nmtui connections menu.][12]
-
-Press **Enter**. This should bring you back to the **nmtui** main menu.
-
-![nmtui Main Menu][13]
-
-Select **Quit** :
-
-![nmtui Quit Main Menu][14]
-
-This should exit the application and bring you back to your terminal.
-
-That’s it! You have successfully restarted your network
-
-### Restart network in Ubuntu graphically
-
-This is, of course, the easiest way of restarting the network for Ubuntu desktop users. If this one doesn’t work, you can of course check the command line options mentioned in the previous section.
-
-NM-applet is the system tray applet indicator for [NetworkManager][15]. That’s what we’re going to use to restart our network.
-
-First of all, check out your top panel. You should find a network icon in your system tray (in my case, it is a Wi-Fi icon, since that’s what I use).
-
-Go ahead and click on that icon (or the sound or battery icon). This will open up the menu. Select “Turn Off” here.
-
-![Restart network in Ubuntu][16]Turn off your network
-
-The network icon should now disappear from the top panel. This means the network has been successfully turned off.
-
-Click again on your systray to reopen the menu. Select “Turn On”.
-
-![Restarting network in Ubuntu][17]Turn the network back on
-
-Congratulations! You have now restarted your network.
-
-#### Bonus Tip: Refresh available network list
-
-Suppose you are connected to a network already but you want to connect to another network. How do you refresh the WiFi to see what other networks are available? Let me show you that.
-
-Ubuntu doesn’t have a ‘refresh wifi networks’ option directly. It’s sort of hidden.
-
-You’ll have to open the setting menu again and this time, click on “Select Network”.
-
-![Refresh wifi network list in Ubuntu][18]Select Network to change your WiFi connection
-
-Now, you won’t see the list of available wireless networks immediately. When you open the networks list, it takes around 5 seconds to refresh and show up other available wireless networks.
-
-![Select another wifi network in Ubuntu][19]Wait for around 5- seconds to see other available networks
-
-And here, you can select the network of your choice and click connect. That’s it.
-
-**Wrapping Up**
-
-Restarting your network or connection is something that every Linux user has to go through at some point in their experience.
-
-We hope that we helped you with plenty of methods for handling such issues!
-
-What do you use to restart/handle your network? Is there something we missed? Leave us a comment below.
-
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/restart-network-ubuntu
-
-作者:[Sergiu][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/sergiu/
-[b]: https://github.com/lujun9972
-[1]: https://itsfoss.com/fix-no-wireless-network-ubuntu/
-[2]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/ubuntu-restart-network.png?resize=800%2C450&ssl=1
-[3]: https://itsfoss.com/ubuntu-shortcuts/
-[4]: https://itsfoss.com/basic-linux-networking-commands/
-[5]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmtui_menu.png?fit=800%2C602&ssl=1
-[6]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmtui_menu_select_option.png?fit=800%2C579&ssl=1
-[7]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_on.png?fit=800%2C585&ssl=1
-[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_select_connection_on.png?fit=800%2C576&ssl=1
-[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_off.png?fit=800%2C572&ssl=1
-[10]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_select_connection_off.png?fit=800%2C566&ssl=1
-[11]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_on-1.png?fit=800%2C585&ssl=1
-[12]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_connection_menu_back.png?fit=800%2C585&ssl=1
-[13]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmtui_menu_select_option-1.png?fit=800%2C579&ssl=1
-[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/nmui_menu_quit.png?fit=800%2C580&ssl=1
-[15]: https://wiki.gnome.org/Projects/NetworkManager
-[16]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/restart-network-ubuntu-1.jpg?resize=800%2C400&ssl=1
-[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/restart-network-ubuntu-2.jpg?resize=800%2C400&ssl=1
-[18]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/03/select-wifi-network-ubuntu.jpg?resize=800%2C400&ssl=1
-[19]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/select-wifi-network-ubuntu-1.jpg?resize=800%2C400&ssl=1
-[20]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/03/ubuntu-restart-network.png?fit=800%2C450&ssl=1
diff --git a/sources/tech/20190308 Virtual filesystems in Linux- Why we need them and how they work.md b/sources/tech/20190308 Virtual filesystems in Linux- Why we need them and how they work.md
deleted file mode 100644
index 1114863bf7..0000000000
--- a/sources/tech/20190308 Virtual filesystems in Linux- Why we need them and how they work.md
+++ /dev/null
@@ -1,196 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Virtual filesystems in Linux: Why we need them and how they work)
-[#]: via: (https://opensource.com/article/19/3/virtual-filesystems-linux)
-[#]: author: (Alison Chariken )
-
-Virtual filesystems in Linux: Why we need them and how they work
-======
-Virtual filesystems are the magic abstraction that makes the "everything is a file" philosophy of Linux possible.
-
-
-What is a filesystem? According to early Linux contributor and author [Robert Love][1], "A filesystem is a hierarchical storage of data adhering to a specific structure." However, this description applies equally well to VFAT (Virtual File Allocation Table), Git, and [Cassandra][2] (a [NoSQL database][3]). So what distinguishes a filesystem?
-
-### Filesystem basics
-
-The Linux kernel requires that for an entity to be a filesystem, it must also implement the **open()** , **read()** , and **write()** methods on persistent objects that have names associated with them. From the point of view of [object-oriented programming][4], the kernel treats the generic filesystem as an abstract interface, and these big-three functions are "virtual," with no default definition. Accordingly, the kernel's default filesystem implementation is called a virtual filesystem (VFS).
-
-
-![][5]
-If we can open(), read(), and write(), it is a file as this console session shows.
-
-VFS underlies the famous observation that in Unix-like systems "everything is a file." Consider how weird it is that the tiny demo above featuring the character device /dev/console actually works. The image shows an interactive Bash session on a virtual teletype (tty). Sending a string into the virtual console device makes it appear on the virtual screen. VFS has other, even odder properties. For example, it's [possible to seek in them][6].
-
-The familiar filesystems like ext4, NFS, and /proc all provide definitions of the big-three functions in a C-language data structure called [file_operations][7] . In addition, particular filesystems extend and override the VFS functions in the familiar object-oriented way. As Robert Love points out, the abstraction of VFS enables Linux users to blithely copy files to and from foreign operating systems or abstract entities like pipes without worrying about their internal data format. On behalf of userspace, via a system call, a process can copy from a file into the kernel's data structures with the read() method of one filesystem, then use the write() method of another kind of filesystem to output the data.
-
-The function definitions that belong to the VFS base type itself are found in the [fs/*.c files][8] in kernel source, while the subdirectories of fs/ contain the specific filesystems. The kernel also contains filesystem-like entities such as cgroups, /dev, and tmpfs, which are needed early in the boot process and are therefore defined in the kernel's init/ subdirectory. Note that cgroups, /dev, and tmpfs do not call the file_operations big-three functions, but directly read from and write to memory instead.
-
-The diagram below roughly illustrates how userspace accesses various types of filesystems commonly mounted on Linux systems. Not shown are constructs like pipes, dmesg, and POSIX clocks that also implement struct file_operations and whose accesses therefore pass through the VFS layer.
-
-![How userspace accesses various types of filesystems][9]
-VFS are a "shim layer" between system calls and implementors of specific file_operations like ext4 and procfs. The file_operations functions can then communicate either with device-specific drivers or with memory accessors. tmpfs, devtmpfs and cgroups don't make use of file_operations but access memory directly.
-
-VFS's existence promotes code reuse, as the basic methods associated with filesystems need not be re-implemented by every filesystem type. Code reuse is a widely accepted software engineering best practice! Alas, if the reused code [introduces serious bugs][10], then all the implementations that inherit the common methods suffer from them.
-
-### /tmp: A simple tip
-
-An easy way to find out what VFSes are present on a system is to type **mount | grep -v sd | grep -v :/** , which will list all mounted filesystems that are not resident on a disk and not NFS on most computers. One of the listed VFS mounts will assuredly be /tmp, right?
-
-![Man with shocked expression][11]
-Everyone knows that keeping /tmp on a physical storage device is crazy! credit:
-
-Why is keeping /tmp on storage inadvisable? Because the files in /tmp are temporary(!), and storage devices are slower than memory, where tmpfs are created. Further, physical devices are more subject to wear from frequent writing than memory is. Last, files in /tmp may contain sensitive information, so having them disappear at every reboot is a feature.
-
-Unfortunately, installation scripts for some Linux distros still create /tmp on a storage device by default. Do not despair should this be the case with your system. Follow simple instructions on the always excellent [Arch Wiki][12] to fix the problem, keeping in mind that memory allocated to tmpfs is not available for other purposes. In other words, a system with a gigantic tmpfs with large files in it can run out of memory and crash. Another tip: when editing the /etc/fstab file, be sure to end it with a newline, as your system will not boot otherwise. (Guess how I know.)
-
-### /proc and /sys
-
-Besides /tmp, the VFSes with which most Linux users are most familiar are /proc and /sys. (/dev relies on shared memory and has no file_operations). Why two flavors? Let's have a look in more detail.
-
-The procfs offers a snapshot into the instantaneous state of the kernel and the processes that it controls for userspace. In /proc, the kernel publishes information about the facilities it provides, like interrupts, virtual memory, and the scheduler. In addition, /proc/sys is where the settings that are configurable via the [sysctl command][13] are accessible to userspace. Status and statistics on individual processes are reported in /proc/ directories.
-
-![Console][14]
-/proc/meminfo is an empty file that nonetheless contains valuable information.
-
-The behavior of /proc files illustrates how unlike on-disk filesystems VFS can be. On the one hand, /proc/meminfo contains the information presented by the command **free**. On the other hand, it's also empty! How can this be? The situation is reminiscent of a famous article written by Cornell University physicist N. David Mermin in 1985 called "[Is the moon there when nobody looks?][15] Reality and the quantum theory." The truth is that the kernel gathers statistics about memory when a process requests them from /proc, and there actually is nothing in the files in /proc when no one is looking. As [Mermin said][16], "It is a fundamental quantum doctrine that a measurement does not, in general, reveal a preexisting value of the measured property." (The answer to the question about the moon is left as an exercise.)
-
-![Full moon][17]
-The files in /proc are empty when no process accesses them. ([Source][18])
-
-The apparent emptiness of procfs makes sense, as the information available there is dynamic. The situation with sysfs is different. Let's compare how many files of at least one byte in size there are in /proc versus /sys.
-
-
-
-Procfs has precisely one, namely the exported kernel configuration, which is an exception since it needs to be generated only once per boot. On the other hand, /sys has lots of larger files, most of which comprise one page of memory. Typically, sysfs files contain exactly one number or string, in contrast to the tables of information produced by reading files like /proc/meminfo.
-
-The purpose of sysfs is to expose the readable and writable properties of what the kernel calls "kobjects" to userspace. The only purpose of kobjects is reference-counting: when the last reference to a kobject is deleted, the system will reclaim the resources associated with it. Yet, /sys constitutes most of the kernel's famous "[stable ABI to userspace][19]" which [no one may ever, under any circumstances, "break."][20] That doesn't mean the files in sysfs are static, which would be contrary to reference-counting of volatile objects.
-
-The kernel's stable ABI instead constrains what can appear in /sys, not what is actually present at any given instant. Listing the permissions on files in sysfs gives an idea of how the configurable, tunable parameters of devices, modules, filesystems, etc. can be set or read. Logic compels the conclusion that procfs is also part of the kernel's stable ABI, although the kernel's [documentation][19] doesn't state so explicitly.
-
-![Console][21]
-Files in sysfs describe exactly one property each for an entity and may be readable, writable or both. The "0" in the file reveals that the SSD is not removable.
-
-### Snooping on VFS with eBPF and bcc tools
-
-The easiest way to learn how the kernel manages sysfs files is to watch it in action, and the simplest way to watch on ARM64 or x86_64 is to use eBPF. eBPF (extended Berkeley Packet Filter) consists of a [virtual machine running inside the kernel][22] that privileged users can query from the command line. Kernel source tells the reader what the kernel can do; running eBPF tools on a booted system shows instead what the kernel actually does.
-
-Happily, getting started with eBPF is pretty easy via the [bcc][23] tools, which are available as [packages from major Linux distros][24] and have been [amply documented][25] by Brendan Gregg. The bcc tools are Python scripts with small embedded snippets of C, meaning anyone who is comfortable with either language can readily modify them. At this count, [there are 80 Python scripts in bcc/tools][26], making it highly likely that a system administrator or developer will find an existing one relevant to her/his needs.
-
-To get a very crude idea about what work VFSes are performing on a running system, try the simple [vfscount][27] or [vfsstat][28], which show that dozens of calls to vfs_open() and its friends occur every second.
-
-![Console - vfsstat.py][29]
-vfsstat.py is a Python script with an embedded C snippet that simply counts VFS function calls.
-
-For a less trivial example, let's watch what happens in sysfs when a USB stick is inserted on a running system.
-
-![Console when USB is inserted][30]
-Watch with eBPF what happens in /sys when a USB stick is inserted, with simple and complex examples.
-
-In the first simple example above, the [trace.py][31] bcc tools script prints out a message whenever the sysfs_create_files() command runs. We see that sysfs_create_files() was started by a kworker thread in response to the USB stick insertion, but what file was created? The second example illustrates the full power of eBPF. Here, trace.py is printing the kernel backtrace (-K option) plus the name of the file created by sysfs_create_files(). The snippet inside the single quotes is some C source code, including an easily recognizable format string, that the provided Python script [induces a LLVM just-in-time compiler][32] to compile and execute inside an in-kernel virtual machine. The full sysfs_create_files() function signature must be reproduced in the second command so that the format string can refer to one of the parameters. Making mistakes in this C snippet results in recognizable C-compiler errors. For example, if the **-I** parameter is omitted, the result is "Failed to compile BPF text." Developers who are conversant with either C or Python will find the bcc tools easy to extend and modify.
-
-When the USB stick is inserted, the kernel backtrace appears showing that PID 7711 is a kworker thread that created a file called "events" in sysfs. A corresponding invocation with sysfs_remove_files() shows that removal of the USB stick results in removal of the events file, in keeping with the idea of reference counting. Watching sysfs_create_link() with eBPF during USB stick insertion (not shown) reveals that no fewer than 48 symbolic links are created.
-
-What is the purpose of the events file anyway? Using [cscope][33] to find the function [__device_add_disk()][34] reveals that it calls disk_add_events(), and either "media_change" or "eject_request" may be written to the events file. Here, the kernel's block layer is informing userspace about the appearance and disappearance of the "disk." Consider how quickly informative this method of investigating how USB stick insertion works is compared to trying to figure out the process solely from the source.
-
-### Read-only root filesystems make embedded devices possible
-
-Assuredly, no one shuts down a server or desktop system by pulling out the power plug. Why? Because mounted filesystems on the physical storage devices may have pending writes, and the data structures that record their state may become out of sync with what is written on the storage. When that happens, system owners will have to wait at next boot for the [fsck filesystem-recovery tool][35] to run and, in the worst case, will actually lose data.
-
-Yet, aficionados will have heard that many IoT and embedded devices like routers, thermostats, and automobiles now run Linux. Many of these devices almost entirely lack a user interface, and there's no way to "unboot" them cleanly. Consider jump-starting a car with a dead battery where the power to the [Linux-running head unit][36] goes up and down repeatedly. How is it that the system boots without a long fsck when the engine finally starts running? The answer is that embedded devices rely on [a read-only root fileystem][37] (ro-rootfs for short).
-
-![Photograph of a console][38]
-ro-rootfs are why embedded systems don't frequently need to fsck. Credit (with permission):
-
-A ro-rootfs offers many advantages that are less obvious than incorruptibility. One is that malware cannot write to /usr or /lib if no Linux process can write there. Another is that a largely immutable filesystem is critical for field support of remote devices, as support personnel possess local systems that are nominally identical to those in the field. Perhaps the most important (but also most subtle) advantage is that ro-rootfs forces developers to decide during a project's design phase which system objects will be immutable. Dealing with ro-rootfs may often be inconvenient or even painful, as [const variables in programming languages][39] often are, but the benefits easily repay the extra overhead.
-
-Creating a read-only rootfs does require some additional amount of effort for embedded developers, and that's where VFS comes in. Linux needs files in /var to be writable, and in addition, many popular applications that embedded systems run will try to create configuration dot-files in $HOME. One solution for configuration files in the home directory is typically to pregenerate them and build them into the rootfs. For /var, one approach is to mount it on a separate writable partition while / itself is mounted as read-only. Using bind or overlay mounts is another popular alternative.
-
-### Bind and overlay mounts and their use by containers
-
-Running **[man mount][40]** is the best place to learn about bind and overlay mounts, which give embedded developers and system administrators the power to create a filesystem in one path location and then provide it to applications at a second one. For embedded systems, the implication is that it's possible to store the files in /var on an unwritable flash device but overlay- or bind-mount a path in a tmpfs onto the /var path at boot so that applications can scrawl there to their heart's delight. At next power-on, the changes in /var will be gone. Overlay mounts provide a union between the tmpfs and the underlying filesystem and allow apparent modification to an existing file in a ro-rootfs, while bind mounts can make new empty tmpfs directories show up as writable at ro-rootfs paths. While overlayfs is a proper filesystem type, bind mounts are implemented by the [VFS namespace facility][41].
-
-Based on the description of overlay and bind mounts, no one will be surprised that [Linux containers][42] make heavy use of them. Let's spy on what happens when we employ [systemd-nspawn][43] to start up a container by running bcc's mountsnoop tool:
-
-![Console - system-nspawn invocation][44]
-The system-nspawn invocation fires up the container while mountsnoop.py runs.
-
-And let's see what happened:
-
-![Console - Running mountsnoop][45]
-Running mountsnoop during the container "boot" reveals that the container runtime relies heavily on bind mounts. (Only the beginning of the lengthy output is displayed)
-
-Here, systemd-nspawn is providing selected files in the host's procfs and sysfs to the container at paths in its rootfs. Besides the MS_BIND flag that sets bind-mounting, some of the other flags that the "mount" system call invokes determine the relationship between changes in the host namespace and in the container. For example, the bind-mount can either propagate changes in /proc and /sys to the container, or hide them, depending on the invocation.
-
-### Summary
-
-Understanding Linux internals can seem an impossible task, as the kernel itself contains a gigantic amount of code, leaving aside Linux userspace applications and the system-call interface in C libraries like glibc. One way to make progress is to read the source code of one kernel subsystem with an emphasis on understanding the userspace-facing system calls and headers plus major kernel internal interfaces, exemplified here by the file_operations table. The file operations are what makes "everything is a file" actually work, so getting a handle on them is particularly satisfying. The kernel C source files in the top-level fs/ directory constitute its implementation of virtual filesystems, which are the shim layer that enables broad and relatively straightforward interoperability of popular filesystems and storage devices. Bind and overlay mounts via Linux namespaces are the VFS magic that makes containers and read-only root filesystems possible. In combination with a study of source code, the eBPF kernel facility and its bcc interface makes probing the kernel simpler than ever before.
-
-Much thanks to [Akkana Peck][46] and [Michael Eager][47] for comments and corrections.
-
-Alison Chaiken will present [Virtual filesystems: why we need them and how they work][48] at the 17th annual Southern California Linux Expo ([SCaLE 17x][49]) March 7-10 in Pasadena, Calif.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/3/virtual-filesystems-linux
-
-作者:[Alison Chariken][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]:
-[b]: https://github.com/lujun9972
-[1]: https://www.pearson.com/us/higher-education/program/Love-Linux-Kernel-Development-3rd-Edition/PGM202532.html
-[2]: http://cassandra.apache.org/
-[3]: https://en.wikipedia.org/wiki/NoSQL
-[4]: http://lwn.net/Articles/444910/
-[5]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_1-console.png (Console)
-[6]: https://lwn.net/Articles/22355/
-[7]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/include/linux/fs.h
-[8]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs
-[9]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_2-shim-layer.png (How userspace accesses various types of filesystems)
-[10]: https://lwn.net/Articles/774114/
-[11]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_3-crazy.jpg (Man with shocked expression)
-[12]: https://wiki.archlinux.org/index.php/Tmpfs
-[13]: http://man7.org/linux/man-pages/man8/sysctl.8.html
-[14]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_4-proc-meminfo.png (Console)
-[15]: http://www-f1.ijs.si/~ramsak/km1/mermin.moon.pdf
-[16]: https://en.wikiquote.org/wiki/David_Mermin
-[17]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_5-moon.jpg (Full moon)
-[18]: https://commons.wikimedia.org/wiki/Moon#/media/File:Full_Moon_Luc_Viatour.jpg
-[19]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/ABI/stable
-[20]: https://lkml.org/lkml/2012/12/23/75
-[21]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_7-sysfs.png (Console)
-[22]: https://events.linuxfoundation.org/sites/events/files/slides/bpf_collabsummit_2015feb20.pdf
-[23]: https://github.com/iovisor/bcc
-[24]: https://github.com/iovisor/bcc/blob/master/INSTALL.md
-[25]: http://brendangregg.com/ebpf.html
-[26]: https://github.com/iovisor/bcc/tree/master/tools
-[27]: https://github.com/iovisor/bcc/blob/master/tools/vfscount_example.txt
-[28]: https://github.com/iovisor/bcc/blob/master/tools/vfsstat.py
-[29]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_8-vfsstat.png (Console - vfsstat.py)
-[30]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_9-ebpf.png (Console when USB is inserted)
-[31]: https://github.com/iovisor/bcc/blob/master/tools/trace_example.txt
-[32]: https://events.static.linuxfound.org/sites/events/files/slides/bpf_collabsummit_2015feb20.pdf
-[33]: http://northstar-www.dartmouth.edu/doc/solaris-forte/manuals/c/user_guide/cscope.html
-[34]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/block/genhd.c#n665
-[35]: http://www.man7.org/linux/man-pages/man8/fsck.8.html
-[36]: https://wiki.automotivelinux.org/_media/eg-rhsa/agl_referencehardwarespec_v0.1.0_20171018.pdf
-[37]: https://elinux.org/images/1/1f/Read-only_rootfs.pdf
-[38]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_10-code.jpg (Photograph of a console)
-[39]: https://www.meetup.com/ACCU-Bay-Area/events/drpmvfytlbqb/
-[40]: http://man7.org/linux/man-pages/man8/mount.8.html
-[41]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/filesystems/sharedsubtree.txt
-[42]: https://coreos.com/os/docs/latest/kernel-modules.html
-[43]: https://www.freedesktop.org/software/systemd/man/systemd-nspawn.html
-[44]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_11-system-nspawn.png (Console - system-nspawn invocation)
-[45]: https://opensource.com/sites/default/files/uploads/virtualfilesystems_12-mountsnoop.png (Console - Running mountsnoop)
-[46]: http://shallowsky.com/
-[47]: http://eagercon.com/
-[48]: https://www.socallinuxexpo.org/scale/17x/presentations/virtual-filesystems-why-we-need-them-and-how-they-work
-[49]: https://www.socallinuxexpo.org/
diff --git a/sources/tech/20190315 How to create portable documents with CBZ and DjVu.md b/sources/tech/20190315 How to create portable documents with CBZ and DjVu.md
index 70f292e827..1700970688 100644
--- a/sources/tech/20190315 How to create portable documents with CBZ and DjVu.md
+++ b/sources/tech/20190315 How to create portable documents with CBZ and DjVu.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How to create portable documents with CBZ and DjVu)
[#]: via: (https://opensource.com/article/19/3/comic-book-archive-djvu)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
How to create portable documents with CBZ and DjVu
======
diff --git a/sources/tech/20190319 Blockchain 2.0- Blockchain In Real Estate -Part 4.md b/sources/tech/20190319 Blockchain 2.0- Blockchain In Real Estate -Part 4.md
deleted file mode 100644
index 9e85b82f2c..0000000000
--- a/sources/tech/20190319 Blockchain 2.0- Blockchain In Real Estate -Part 4.md
+++ /dev/null
@@ -1,50 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Blockchain 2.0: Blockchain In Real Estate [Part 4])
-[#]: via: (https://www.ostechnix.com/blockchain-2-0-blockchain-in-real-estate/)
-[#]: author: (EDITOR https://www.ostechnix.com/author/editor/)
-
-Blockchain 2.0: Blockchain In Real Estate [Part 4]
-======
-
-
-
-### Blockchain 2.0: Smart‘er’ Real Estate
-
-The [**previous article**][1] of this series explored the features of blockchain which will enable institutions to transform and interlace **traditional banking** and **financing systems** with it. This part will explore – **Blockchain in real estate**. The real estate industry is ripe for a revolution. It’s among the most actively traded most significant asset classes known to man. However, filled with regulatory hurdles and numerous possibilities of fraud and deceit, it’s also one of the toughest to participate in. The distributed ledger capabilities of the blockchain utilizing an appropriate consensus algorithm are touted as the way forward for the industry which is traditionally regarded as conservative in its attitude to change.
-
-Real estate has always been a very conservative industry in terms of its myriad operations. Somewhat rightfully so as well. A major economic crisis such as the 2008 financial crisis or the great depression from the early half of the 20th century managed to destroy the industry and its participants. However, like most products of economic value, the real estate industry is resilient and this resilience is rooted in its conservative nature.
-
-The global real estate market comprises an asset class worth **$228 trillion dollars** [1]. Give or take. Other investment assets such as stocks, bonds, and shares combined are only worth **$170 trillion**. Obviously, any and all transactions implemented in such an industry is naturally carefully planned and meticulously executed, for the most part. For the most part, because real estate is also notorious for numerous instances of fraud and devastating loses which ensue them. The industry because of the very conservative nature of its operations is also tough to navigate. It’s heavily regulated with complex laws creating an intertwined web of nuances that are just too difficult for an average person to understand fully. This makes entry and participation near impossible for most people. If you’ve ever been involved in one such deal, you’ll know how heavy and long the paper trail was.
-
-This hard reality is now set to change, albeit a slow and gradual transformation. The very reasons the industry has stuck to its hardy tested roots all this while can finally give way to its modern-day counterpart. The backbone of the real estate industry has always been its paper records. Land deeds, titles, agreements, rental insurance, proofs, and declarations etc., are just the tip of the iceberg here. If you’ve noticed the pattern here, this should be obvious, the distributed ledger technology that is blockchain, fits in perfectly with the needs here. Forget paper records, conventional database systems are also points of major failure. They can be modified by multiple participants, is not tamper proof or un-hackable, has a complicated set of ever-changing regulatory parameters making auditing and verifying data a nightmare. The blockchain perfectly solves all of these issues and more.
-
-Starting with a trivial albeit an important example to show just how bad the current record management practices are in the real estate sector, consider the **Title Insurance business** [2], [3]. Title Insurance is used to hedge against the possibility of the land’s titles and ownership records being inadmissible and hence unenforceable. An insurance product such as this is also referred to as an indemnity cover. It is by law required in many cases that properties have title insurance, especially when dealing with property that has changed hands multiple times over the years. Mortgage firms might insist on the same as well when they back real estate deals. The fact that a product of this kind has existed since the 1850s and that it does business worth at least **$1.5 trillion a year in the US alone** is a testament to the statement at the start. A revolution in terms of how these records are maintained is imperative to have in this situation and the blockchain provides a sustainable solution. Title fraud averages around $100k per case on average as per the **American Land Title Association** and 25% of all titles involved in transactions have an issue regarding their documents[4]. The blockchain allows for setting up an immutable permanent database that will track the property itself, recording each and every transaction or investment that has gone into it. Such a ledger system will make life easier for everyone involved in the real estate industry including one-time home buyers and make financial products such as Title Insurance basically irrelevant. Converting a physical asset such as real estate to a digital asset like this is unconventional and is extant only in theory at the moment. However, such a change is imminent sooner rather than later[5].
-
-Among the areas in which blockchain will have the most impact within real estate is as highlighted above in maintaining a transparent and secure title management system for properties. A blockchain based record of the property can contain information about the property, its location, history of ownership, and any related public record of the same[6]. This will permit closing real estate deals fast and obliviates the need for 3rd party monitoring and oversight. Tasks such as real estate appraisal and tax calculations become matters of tangible objective parameters rather than subjective measures and guesses because of reliable historical data which is publicly verifiable. **UBITQUITY** is one such platform that offers customized blockchain-based solutions to enterprise customers. The platform allows customers to keep track of all property details, payment records, mortgage records and even allows running smart contracts that’ll take care of taxation and leasing automatically[7].
-
-This brings us to the second biggest opportunity and use case of blockchains in real estate. Since the sector is highly regulated by numerous 3rd parties apart from the counterparties involved in the trade, due-diligence and financial evaluations can be significantly time-consuming. These processes are predominantly carried out using offline channels and paperwork needs to travel for days before a final evaluation report comes out. This is especially true for corporate real estate deals and forms a bulk of the total billable hours charged by consultants. In case the transaction is backed by a mortgage, duplication of these processes is unavoidable. Once combined with digital identities for the people and institutions involved along with the property, the current inefficiencies can be avoided altogether and transactions can take place in a matter of seconds. The tenants, investors, institutions involved, consultants etc., could individually validate the data and arrive at a critical consensus thereby validating the property records for perpetuity[8]. This increases the accuracy of verification manifold. Real estate giant **RE/MAX** has recently announced a partnership with service provider **XYO Network Partners** for building a national database of real estate listings in Mexico. They hope to one day create one of the largest (as of yet) decentralized real estate title registry in the world[9].
-
-However, another significant and arguably a very democratic change that the blockchain can bring about is with respect to investing in real estate. Unlike other investment asset classes where even small household investors can potentially participate, real estate often requires large hands-down payments to participate. Companies such as **ATLANT** and **BitOfProperty** tokenize the book value of a property and convert them into equivalents of a cryptocurrency. These tokens are then put for sale on their exchanges similar to how stocks and shares are traded. Any cash flow that the real estate property generates afterward is credited or debited to the token owners depending on their “share” in the property[4].
-
-However, even with all of that said, Blockchain technology is still in very early stages of adoption in the real estate sector and current regulations are not exactly defined for it to be either[8]. Concepts such as distributed applications, distributed anonymous organizations, smart contracts etc., are unheard of in the legal domain in many countries. A complete overhaul of existing regulations and guidelines once all the stakeholders are well educated on the intricacies of the blockchain is the most pragmatic way forward. Again, it’ll be a slow and gradual change to go through, however a much-needed one nonetheless. The next article of the series will look at how **“Smart Contracts”** , such as those implemented by companies such as UBITQUITY and XYO are created and executed in the blockchain.
-
-
-
---------------------------------------------------------------------------------
-
-via: https://www.ostechnix.com/blockchain-2-0-blockchain-in-real-estate/
-
-作者:[EDITOR][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.ostechnix.com/author/editor/
-[b]: https://github.com/lujun9972
-[1]: https://www.ostechnix.com/blockchain-2-0-redefining-financial-services/
diff --git a/sources/tech/20190319 How to set up a homelab from hardware to firewall.md b/sources/tech/20190319 How to set up a homelab from hardware to firewall.md
index 28a50d8a43..d8bb34395b 100644
--- a/sources/tech/20190319 How to set up a homelab from hardware to firewall.md
+++ b/sources/tech/20190319 How to set up a homelab from hardware to firewall.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How to set up a homelab from hardware to firewall)
[#]: via: (https://opensource.com/article/19/3/home-lab)
-[#]: author: (Michael Zamot (Red Hat) https://opensource.com/users/mzamot)
+[#]: author: (Michael Zamot https://opensource.com/users/mzamot)
How to set up a homelab from hardware to firewall
======
diff --git a/sources/tech/20190320 Choosing an open messenger client- Alternatives to WhatsApp.md b/sources/tech/20190320 Choosing an open messenger client- Alternatives to WhatsApp.md
index cb590455a5..5f940e9b0b 100644
--- a/sources/tech/20190320 Choosing an open messenger client- Alternatives to WhatsApp.md
+++ b/sources/tech/20190320 Choosing an open messenger client- Alternatives to WhatsApp.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Choosing an open messenger client: Alternatives to WhatsApp)
[#]: via: (https://opensource.com/article/19/3/open-messenger-client)
-[#]: author: (Chris Hermansen (Community Moderator) https://opensource.com/users/clhermansen)
+[#]: author: (Chris Hermansen https://opensource.com/users/clhermansen)
Choosing an open messenger client: Alternatives to WhatsApp
======
diff --git a/sources/tech/20190320 Getting started with Jaeger to build an Istio service mesh.md b/sources/tech/20190320 Getting started with Jaeger to build an Istio service mesh.md
index d8366df720..c4200355e4 100644
--- a/sources/tech/20190320 Getting started with Jaeger to build an Istio service mesh.md
+++ b/sources/tech/20190320 Getting started with Jaeger to build an Istio service mesh.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Getting started with Jaeger to build an Istio service mesh)
[#]: via: (https://opensource.com/article/19/3/getting-started-jaeger)
-[#]: author: (Daniel Oh (Red Hat) https://opensource.com/users/daniel-oh)
+[#]: author: (Daniel Oh https://opensource.com/users/daniel-oh)
Getting started with Jaeger to build an Istio service mesh
======
diff --git a/sources/tech/20190321 How to use Spark SQL- A hands-on tutorial.md b/sources/tech/20190321 How to use Spark SQL- A hands-on tutorial.md
index fee3a8cc4c..0e4be0aa01 100644
--- a/sources/tech/20190321 How to use Spark SQL- A hands-on tutorial.md
+++ b/sources/tech/20190321 How to use Spark SQL- A hands-on tutorial.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How to use Spark SQL: A hands-on tutorial)
[#]: via: (https://opensource.com/article/19/3/apache-spark-and-dataframes-tutorial)
-[#]: author: (Dipanjan (DJ) Sarkar (Red Hat) https://opensource.com/users/djsarkar)
+[#]: author: (Dipanjan Sarkar https://opensource.com/users/djsarkar)
How to use Spark SQL: A hands-on tutorial
======
diff --git a/sources/tech/20190322 12 open source tools for natural language processing.md b/sources/tech/20190322 12 open source tools for natural language processing.md
index 99031acf68..9d2822926f 100644
--- a/sources/tech/20190322 12 open source tools for natural language processing.md
+++ b/sources/tech/20190322 12 open source tools for natural language processing.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (12 open source tools for natural language processing)
[#]: via: (https://opensource.com/article/19/3/natural-language-processing-tools)
-[#]: author: (Dan Barker (Community Moderator) https://opensource.com/users/barkerd427)
+[#]: author: (Dan Barker https://opensource.com/users/barkerd427)
12 open source tools for natural language processing
======
diff --git a/sources/tech/20190326 How to use NetBSD on a Raspberry Pi.md b/sources/tech/20190326 How to use NetBSD on a Raspberry Pi.md
index e3bd5f5e26..37c14fec39 100644
--- a/sources/tech/20190326 How to use NetBSD on a Raspberry Pi.md
+++ b/sources/tech/20190326 How to use NetBSD on a Raspberry Pi.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How to use NetBSD on a Raspberry Pi)
[#]: via: (https://opensource.com/article/19/3/netbsd-raspberry-pi)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
How to use NetBSD on a Raspberry Pi
======
diff --git a/sources/tech/20190327 HPE introduces hybrid cloud consulting business.md b/sources/tech/20190327 HPE introduces hybrid cloud consulting business.md
deleted file mode 100644
index f1d9d3564f..0000000000
--- a/sources/tech/20190327 HPE introduces hybrid cloud consulting business.md
+++ /dev/null
@@ -1,59 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (HPE introduces hybrid cloud consulting business)
-[#]: via: (https://www.networkworld.com/article/3384919/hpe-introduces-hybrid-cloud-consulting-business.html#tk.rss_all)
-[#]: author: (Andy Patrizio https://www.networkworld.com/author/Andy-Patrizio/)
-
-HPE introduces hybrid cloud consulting business
-======
-
-### HPE's Right Mix Advisor is designed to find a balance between on-premises and cloud systems.
-
-![Hewlett Packard Enterprise][1]
-
-Hybrid cloud is pretty much the de facto way to go, with only a few firms adopting a pure cloud play to replace their data center and only suicidal firms refusing to go to the cloud. But picking the right balance between on-premises and the cloud is tricky, and a mistake can be costly.
-
-Enter Right Mix Advisor from Hewlett Packard Enterprise, a combination of consulting from HPE's Pointnext division and software tools. It draws on quite a bit of recent acquisitions. Another part of Right Mix Advisor is a British cloud consultancy RedPixie, Amazon Web Services (AWS) specialists Cloud Technology Partners, and automated discovery capabilities from an Irish startup iQuate.
-
-Right Mix Advisor gathers data points from the company’s entire enterprise, ranging from configuration management database systems (CMDBs), such as ServiceNow, to external sources, such as cloud providers. HPE says that in a recent customer engagement it scanned 9 million IP addresses across six data centers.
-
-**[ Read also:[What is hybrid cloud computing][2]. | Learn [what you need to know about multi-cloud][3]. | Get regularly scheduled insights by [signing up for Network World newsletters][4]. ]**
-
-HPE Pointnext consultants then work with the client’s IT teams to analyze the data to determine the optimal configuration for workload placement. Pointnext has become HPE’s main consulting outfit following its divestiture of EDS, which it acquired in 2008 but spun off in a merger with CSC to form DXC Consulting. Pointnext now has 25,000 consultants in 88 countries.
-
-In a typical engagement, HPE claims it can deliver a concrete action plan within weeks, whereas previously businesses may have needed months to come to a conclusion using a manual processes. HPE has found migrating the right workloads to the right mix of hybrid cloud can typically result in 40 percent total cost of ownership savings*. *
-
-Although HPE has thrown its weight behind AWS, that doesn’t mean it doesn’t support competitors. Erik Vogel, vice president of hybrid IT for HPE Pointnext, notes in the blog post announcing Right Mix Advisor that target environments could be Microsoft Azure or Azure Stack, AWS, Google or Ali Cloud.
-
-“New service providers are popping up every day, and we see the big public cloud providers constantly producing new services and pricing models. As a result, the calculus for determining your right mix is constantly changing. If Azure, for example, offers a new service capability or a 10 percent pricing discount and it makes sense to leverage it, you want to be able to move an application seamlessly into that new environment,” he wrote.
-
-Key to Right Mix Advisor is app migration, and Pointnext follows the 50/30/20 rule: About 50 percent of apps are suitable for migration to the cloud, and for about 30 percent, migration is not a good choice for migration to be worth the effort. The remaining 20 percent should be retired.
-
-“With HPE Right Mix Advisor, you can identify that 50 percent,” he wrote. “Rather than hand you a laundry list of 10,000 apps to start migrating, HPE Right Mix Advisor hones in on what’s most impactful right now to meet your business goals – the 10 things you can do on Monday morning that you can be confident will really help your business.”
-
-HPE has already done some pilot projects with the Right Mix service and expects to expand it to include channel partners.
-
-Join the Network World communities on [Facebook][5] and [LinkedIn][6] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3384919/hpe-introduces-hybrid-cloud-consulting-business.html#tk.rss_all
-
-作者:[Andy Patrizio][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Andy-Patrizio/
-[b]: https://github.com/lujun9972
-[1]: https://images.techhive.com/images/article/2015/11/hpe_building-100625424-large.jpg
-[2]: https://www.networkworld.com/article/3233132/cloud-computing/what-is-hybrid-cloud-computing.html
-[3]: https://www.networkworld.com/article/3252775/hybrid-cloud/multicloud-mania-what-to-know.html
-[4]: https://www.networkworld.com/newsletters/signup.html
-[5]: https://www.facebook.com/NetworkWorld/
-[6]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190328 Cisco warns of two security patches that don-t work, issues 17 new ones for IOS flaws.md b/sources/tech/20190328 Cisco warns of two security patches that don-t work, issues 17 new ones for IOS flaws.md
deleted file mode 100644
index 27370bf294..0000000000
--- a/sources/tech/20190328 Cisco warns of two security patches that don-t work, issues 17 new ones for IOS flaws.md
+++ /dev/null
@@ -1,72 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Cisco warns of two security patches that don’t work, issues 17 new ones for IOS flaws)
-[#]: via: (https://www.networkworld.com/article/3384742/cisco-warns-of-two-security-patches-that-dont-work-issues-17-new-ones-for-ios-flaws.html#tk.rss_all)
-[#]: author: (Michael Cooney https://www.networkworld.com/author/Michael-Cooney/)
-
-Cisco warns of two security patches that don’t work, issues 17 new ones for IOS flaws
-======
-
-### Cisco is issuing 17 new fixes for security problems with IOS and IOS/XE software that runs most of its routers and switches, while it has no patch yet to replace flawed patches to RV320 and RV 325 routers.
-
-![Marisa9 / Getty][1]
-
-Cisco has dropped [17 Security advisories describing 19 vulnerabilities][2] in the software that runs most of its routers and switches, IOS and IOS/XE.
-
-The company also announced that two previously issued patches for its RV320 and RV325 Dual Gigabit WAN VPN Routers were “incomplete” and would need to be redone and reissued.
-
-**[ Also see[What to consider when deploying a next generation firewall][3]. | Get regularly scheduled insights by [signing up for Network World newsletters][4]. ]**
-
-Cisco rates both those router vulnerabilities as “High” and describes the problems like this:
-
- * [One vulnerability][5] is due to improper validation of user-supplied input. An attacker could exploit this vulnerability by sending malicious HTTP POST requests to the web-based management interface of an affected device. A successful exploit could allow the attacker to execute arbitrary commands on the underlying Linux shell as _root_.
- * The [second exposure][6] is due to improper access controls for URLs. An attacker could exploit this vulnerability by connecting to an affected device via HTTP or HTTPS and requesting specific URLs. A successful exploit could allow the attacker to download the router configuration or detailed diagnostic information.
-
-
-
-Cisco said firmware updates that address these vulnerabilities are not available and no workarounds exist, but is working on a complete fix for both.
-
-On the IOS front, the company said six of the vulnerabilities affect both Cisco IOS Software and Cisco IOS XE Software, one of the vulnerabilities affects just Cisco IOS software and ten of the vulnerabilities affect just Cisco IOS XE software. Some of the security bugs, which are all rated as “High”, include:
-
- * [A vulnerability][7] in the web UI of Cisco IOS XE Software could let an unauthenticated, remote attacker access sensitive configuration information.
- * [A vulnerability][8] in Cisco IOS XE Software could let an authenticated, local attacker inject arbitrary commands that are executed with elevated privileges. The vulnerability is due to insufficient input validation of commands supplied by the user. An attacker could exploit this vulnerability by authenticating to a device and submitting crafted input to the affected commands.
- * [A weakness][9] in the ingress traffic validation of Cisco IOS XE Software for Cisco Aggregation Services Router (ASR) 900 Route Switch Processor 3 could let an unauthenticated, adjacent attacker trigger a reload of an affected device, resulting in a denial of service (DoS) condition, Cisco said. The vulnerability exists because the software insufficiently validates ingress traffic on the ASIC used on the RSP3 platform. An attacker could exploit this vulnerability by sending a malformed OSPF version 2 message to an affected device.
- * A problem in the [authorization subsystem][10] of Cisco IOS XE Software could allow an authenticated but unprivileged (level 1), remote attacker to run privileged Cisco IOS commands by using the web UI. The vulnerability is due to improper validation of user privileges of web UI users. An attacker could exploit this vulnerability by submitting a malicious payload to a specific endpoint in the web UI, Cisco said.
- * A vulnerability in the [Cluster Management Protocol][11] (CMP) processing code in Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, adjacent attacker to trigger a DoS condition on an affected device. The vulnerability is due to insufficient input validation when processing CMP management packets, Cisco said.
-
-
-
-Cisco has released free software updates that address the vulnerabilities described in these advisories and [directs users to their software agreements][12] to find out how they can download the fixes.
-
-Join the Network World communities on [Facebook][13] and [LinkedIn][14] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3384742/cisco-warns-of-two-security-patches-that-dont-work-issues-17-new-ones-for-ios-flaws.html#tk.rss_all
-
-作者:[Michael Cooney][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Michael-Cooney/
-[b]: https://github.com/lujun9972
-[1]: https://images.idgesg.net/images/article/2019/02/woman-with-hands-over-face_mistake_oops_embarrassed_shy-by-marisa9-getty-100787990-large.jpg
-[2]: https://tools.cisco.com/security/center/viewErp.x?alertId=ERP-71135
-[3]: https://www.networkworld.com/article/3236448/lan-wan/what-to-consider-when-deploying-a-next-generation-firewall.html
-[4]: https://www.networkworld.com/newsletters/signup.html
-[5]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190123-rv-inject
-[6]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190123-rv-info
-[7]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190327-xeid
-[8]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190327-xecmd
-[9]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190327-rsp3-ospf
-[10]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190327-iosxe-privesc
-[11]: https://tools.cisco.com/security/center/content/CiscoSecurityAdvisory/cisco-sa-20190327-cmp-dos
-[12]: https://www.cisco.com/c/en/us/about/legal/cloud-and-software/end_user_license_agreement.html
-[13]: https://www.facebook.com/NetworkWorld/
-[14]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190328 How to run PostgreSQL on Kubernetes.md b/sources/tech/20190328 How to run PostgreSQL on Kubernetes.md
deleted file mode 100644
index 2d259db48d..0000000000
--- a/sources/tech/20190328 How to run PostgreSQL on Kubernetes.md
+++ /dev/null
@@ -1,108 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: (arrowfeng)
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to run PostgreSQL on Kubernetes)
-[#]: via: (https://opensource.com/article/19/3/how-run-postgresql-kubernetes)
-[#]: author: (Jonathan S. Katz https://opensource.com/users/jkatz05)
-
-How to run PostgreSQL on Kubernetes
-======
-Create uniformly managed, cloud-native production deployments with the
-flexibility to deploy a personalized database-as-a-service.
-![cubes coming together to create a larger cube][1]
-
-By running a [PostgreSQL][2] database on [Kubernetes][3], you can create uniformly managed, cloud-native production deployments with the flexibility to deploy a personalized database-as-a-service tailored to your specific needs.
-
-Using an Operator allows you to provide additional context to Kubernetes to [manage a stateful application][4]. An Operator is also helpful when using an open source database like PostgreSQL to help with actions including provisioning, scaling, high availability, and user management.
-
-Let's explore how to get PostgreSQL up and running on Kubernetes.
-
-### Set up the PostgreSQL operator
-
-The first step to using PostgreSQL with Kubernetes is installing an Operator. You can get up and running with the open source [Crunchy PostgreSQL Operator][5] on any Kubernetes-based environment with the help of Crunchy's [quickstart script][6] for Linux.
-
-The quickstart script has a few prerequisites:
-
- * The [Wget][7] utility installed
- * [kubectl][8] installed
- * A [StorageClass][9] defined on your Kubernetes cluster
- * Access to a Kubernetes user account with cluster-admin privileges. This is required to install the Operator [RBAC][10] rules
- * A [namespace][11] to hold the PostgreSQL Operator
-
-
-
-Executing the script will give you a default PostgreSQL Operator deployment that assumes [dynamic storage][12] and a StorageClass named **standard**. User-provided values are allowed by the script to override these defaults.
-
-You can download the quickstart script and set it to be executable with the following commands:
-
-```
-wget
-chmod +x ./quickstart.sh
-```
-
-Then you can execute the quickstart script:
-
-```
-./examples/quickstart.sh
-```
-
-After the script prompts you for some basic information about your Kubernetes cluster, it performs the following operations:
-
- * Downloads the Operator configuration files
- * Sets the **$HOME/.pgouser** file to default settings
- * Deploys the Operator as a Kubernetes [Deployment][13]
- * Sets your **.bashrc** to include the Operator environmental variables
- * Sets your **$HOME/.bash_completion** file to be the **pgo bash_completion** file
-
-
-
-During the quickstart's execution, you'll be prompted to set up the RBAC rules for your Kubernetes cluster. In a separate terminal, execute the command the quickstart command tells you to use.
-
-Once the script completes, you'll get information on setting up a port forward to the PostgreSQL Operator pod. In a separate terminal, execute the port forward; this will allow you to begin executing commands to the PostgreSQL Operator! Try creating a cluster by entering:
-
-```
-pgo create cluster mynewcluster
-```
-
-You can test that your cluster is up and running with by entering:
-
-```
-pgo test mynewcluster
-```
-
-You can now manage your PostgreSQL databases in your Kubernetes environment! You can find a full reference to commands, including those for scaling, high availability, backups, and more, in the [documentation][14].
-
-* * *
-
-_Parts of this article are based on[Get Started Running PostgreSQL on Kubernetes][15] that the author wrote for the Crunchy blog._
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/3/how-run-postgresql-kubernetes
-
-作者:[Jonathan S. Katz][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/jkatz05
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/cube_innovation_process_block_container.png?itok=vkPYmSRQ (cubes coming together to create a larger cube)
-[2]: https://www.postgresql.org/
-[3]: https://kubernetes.io/
-[4]: https://opensource.com/article/19/2/scaling-postgresql-kubernetes-operators
-[5]: https://github.com/CrunchyData/postgres-operator
-[6]: https://crunchydata.github.io/postgres-operator/stable/installation/#quickstart-script
-[7]: https://www.gnu.org/software/wget/
-[8]: https://kubernetes.io/docs/tasks/tools/install-kubectl/
-[9]: https://kubernetes.io/docs/concepts/storage/storage-classes/
-[10]: https://kubernetes.io/docs/reference/access-authn-authz/rbac/
-[11]: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/
-[12]: https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/
-[13]: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
-[14]: https://crunchydata.github.io/postgres-operator/stable/#documentation
-[15]: https://info.crunchydata.com/blog/get-started-runnning-postgresql-on-kubernetes
diff --git a/sources/tech/20190329 How to manage your Linux environment.md b/sources/tech/20190329 How to manage your Linux environment.md
deleted file mode 100644
index 2c4ca113e3..0000000000
--- a/sources/tech/20190329 How to manage your Linux environment.md
+++ /dev/null
@@ -1,177 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to manage your Linux environment)
-[#]: via: (https://www.networkworld.com/article/3385516/how-to-manage-your-linux-environment.html#tk.rss_all)
-[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
-
-How to manage your Linux environment
-======
-
-### Linux user environments help you find the command you need and get a lot done without needing details about how the system is configured. Where the settings come from and how they can be modified is another matter.
-
-![IIP Photo Archive \(CC BY 2.0\)][1]
-
-The configuration of your user account on a Linux system simplifies your use of the system in a multitude of ways. You can run commands without knowing where they're located. You can reuse previously run commands without worrying how the system is keeping track of them. You can look at your email, view man pages, and get back to your home directory easily no matter where you might have wandered off to in the file system. And, when needed, you can tweak your account settings so that it works even more to your liking.
-
-Linux environment settings come from a series of files — some are system-wide (meaning they affect all user accounts) and some are configured in files that are sitting in your home directory. The system-wide settings take effect when you log in and local ones take effect right afterwards, so the changes that you make in your account will override system-wide settings. For bash users, these files include these system files:
-
-```
-/etc/environment
-/etc/bash.bashrc
-/etc/profile
-```
-
-And some of these local files:
-
-```
-~/.bashrc
-~/.profile -- not read if ~/.bash_profile or ~/.bash_login
-~/.bash_profile
-~/.bash_login
-```
-
-You can modify any of the local four that exist, since they sit in your home directory and belong to you.
-
-**[ Two-Minute Linux Tips:[Learn how to master a host of Linux commands in these 2-minute video tutorials][2] ]**
-
-### Viewing your Linux environment settings
-
-To view your environment settings, use the **env** command. Your output will likely look similar to this:
-
-```
-$ env
-LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;
-01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:
-*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:
-*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:
-*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;
-31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:
-*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:
-*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:
-*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:
-*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:
-*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:
-*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:
-*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:
-*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:
-*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:
-*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:
-*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:
-*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.spf=00;36:
-SSH_CONNECTION=192.168.0.21 34975 192.168.0.11 22
-LESSCLOSE=/usr/bin/lesspipe %s %s
-LANG=en_US.UTF-8
-OLDPWD=/home/shs
-XDG_SESSION_ID=2253
-USER=shs
-PWD=/home/shs
-HOME=/home/shs
-SSH_CLIENT=192.168.0.21 34975 22
-XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
-SSH_TTY=/dev/pts/0
-MAIL=/var/mail/shs
-TERM=xterm
-SHELL=/bin/bash
-SHLVL=1
-LOGNAME=shs
-DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
-XDG_RUNTIME_DIR=/run/user/1000
-PATH=/home/shs/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
-LESSOPEN=| /usr/bin/lesspipe %s
-_=/usr/bin/env
-```
-
-While you're likely to get a _lot_ of output, the first big section shown above deals with the colors that are used on the command line to identify various file types. When you see something like ***.tar=01;31:** , this tells you that tar files will be displayed in a file listing in red, while ***.jpg=01;35:** tells you that jpg files will show up in purple. These colors are meant to make it easy to pick out certain files from a file listing. You can learn more about these colors are defined and how to customize them at [Customizing your colors on the Linux command line][3].
-
-One easy way to turn colors off when you prefer a simpler display is to use a command such as this one:
-
-```
-$ ls -l --color=never
-```
-
-That command could easily be turned into an alias:
-
-```
-$ alias ll2='ls -l --color=never'
-```
-
-You can also display individual settings using the **echo** command. In this command, we display the number of commands that will be remembered in our history buffer:
-
-```
-$ echo $HISTSIZE
-1000
-```
-
-Your last location in the file system will be remembered if you've moved.
-
-```
-PWD=/home/shs
-OLDPWD=/tmp
-```
-
-### Making changes
-
-You can make changes to environment settings with a command like this, but add a line lsuch as "HISTSIZE=1234" in your ~/.bashrc file if you want to retain this setting.
-
-```
-$ export HISTSIZE=1234
-```
-
-### What it means to "export" a variable
-
-Exporting a variable makes the setting available to your shell and possible subshells. By default, user-defined variables are local and are not exported to new processes such as subshells and scripts. The export command makes variables available to functions to child processes.
-
-### Adding and removing variables
-
-You can create new variables and make them available to you on the command line and subshells quite easily. However, these variables will not survive your logging out and then back in again unless you also add them to ~/.bashrc or a similar file.
-
-```
-$ export MSG="Hello, World!"
-```
-
-You can unset a variable if you need by using the **unset** command:
-
-```
-$ unset MSG
-```
-
-If the variable is defined locally, you can easily set it back up by sourcing your startup file(s). For example:
-
-```
-$ echo $MSG
-Hello, World!
-$ unset $MSG
-$ echo $MSG
-
-$ . ~/.bashrc
-$ echo $MSG
-Hello, World!
-```
-
-### Wrap-up
-
-User accounts are set up with an appropriate set of startup files for creating a userful user environment, but both individual users and sysadmins can change the default settings by editing their personal setup files (users) or the files from which many of the settings originate (sysadmins).
-
-Join the Network World communities on [Facebook][4] and [LinkedIn][5] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3385516/how-to-manage-your-linux-environment.html#tk.rss_all
-
-作者:[Sandra Henry-Stocker][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
-[b]: https://github.com/lujun9972
-[1]: https://images.idgesg.net/images/article/2019/03/environment-rocks-leaves-100792229-large.jpg
-[2]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
-[3]: https://www.networkworld.com/article/3269587/customizing-your-text-colors-on-the-linux-command-line.html
-[4]: https://www.facebook.com/NetworkWorld/
-[5]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190329 How to submit a bug report with Bugzilla.md b/sources/tech/20190329 How to submit a bug report with Bugzilla.md
index e1fe583d96..ee778410e7 100644
--- a/sources/tech/20190329 How to submit a bug report with Bugzilla.md
+++ b/sources/tech/20190329 How to submit a bug report with Bugzilla.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How to submit a bug report with Bugzilla)
[#]: via: (https://opensource.com/article/19/3/bug-reporting)
-[#]: author: (David Both (Community Moderator) https://opensource.com/users/dboth)
+[#]: author: (David Both https://opensource.com/users/dboth)
How to submit a bug report with Bugzilla
======
diff --git a/sources/tech/20190331 How to build a mobile particulate matter sensor with a Raspberry Pi.md b/sources/tech/20190331 How to build a mobile particulate matter sensor with a Raspberry Pi.md
deleted file mode 100644
index 7eea0bd556..0000000000
--- a/sources/tech/20190331 How to build a mobile particulate matter sensor with a Raspberry Pi.md
+++ /dev/null
@@ -1,126 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to build a mobile particulate matter sensor with a Raspberry Pi)
-[#]: via: (https://opensource.com/article/19/3/mobile-particulate-matter-sensor)
-[#]: author: (Stephan Tetzel https://opensource.com/users/stephan)
-
-How to build a mobile particulate matter sensor with a Raspberry Pi
-======
-
-Monitor your air quality with a Raspberry Pi, a cheap sensor, and an inexpensive display.
-
-![Team communication, chat][1]
-
-About a year ago, I wrote about [measuring air quality][2] using a Raspberry Pi and a cheap sensor. We've been using this project in our school and privately for a few years now. However, it has one disadvantage: It is not portable because it depends on a WLAN network or a wired network connection to work. You can't even access the sensor's measurements if the Raspberry Pi and the smartphone or computer are not on the same network.
-
-To overcome this limitation, we added a small screen to the Raspberry Pi so we can read the values directly from the device. Here's how we set up and configured a screen for our mobile fine particulate matter sensor.
-
-### Setting up the screen for the Raspberry Pi
-
-There is a wide range of Raspberry Pi displays available from [Amazon][3], AliExpress, and other sources. They range from ePaper screens to LCDs with touch function. We chose an inexpensive [3.5″ LCD][4] with touch and a resolution of 320×480 pixels that can be plugged directly into the Raspberry Pi's GPIO pins. It's also nice that a 3.5″ display is about the same size as a Raspberry Pi.
-
-The first time you turn on the screen and start the Raspberry Pi, the screen will remain white because the driver is missing. You have to install [the appropriate drivers][5] for the display first. Log in with SSH and execute the following commands:
-
-```
-$ rm -rf LCD-show
-$ git clone
-$ chmod -R 755 LCD-show
-$ cd LCD-show/
-```
-
-Execute the appropriate command for your screen to install the drivers. For example, this is the command for our model MPI3501 screen:
-
-```
-$ sudo ./LCD35-show
-```
-
-This command installs the appropriate drivers and restarts the Raspberry Pi.
-
-### Installing PIXEL desktop and setting up autostart
-
-Here is what we want our project to do: If the Raspberry Pi boots up, we want to display a small website with our air quality measurements.
-
-First, install the Raspberry Pi's [PIXEL desktop environment][6]:
-
-```
-$ sudo apt install raspberrypi-ui-mods
-```
-
-Then install the Chromium browser to display the website:
-
-```
-$ sudo apt install chromium-browser
-```
-
-Autologin is required for the measured values to be displayed directly after startup; otherwise, you will just see the login screen. However, autologin is not configured for the "pi" user by default. You can configure autologin with the **raspi-config** tool:
-
-```
-$ sudo raspi-config
-```
-
-In the menu, select: **3 Boot Options → B1 Desktop / CLI → B4 Desktop Autologin**.
-
-There is a step missing to start Chromium with our website right after boot. Create the folder **/home/pi/.config/lxsession/LXDE-pi/** :
-
-```
-$ mkdir -p /home/pi/config/lxsession/LXDE-pi/
-```
-
-Then create the **autostart** file in this folder:
-
-```
-$ nano /home/pi/.config/lxsession/LXDE-pi/autostart
-```
-
-and paste the following code:
-
-```
-#@unclutter
-@xset s off
-@xset -dpms
-@xset s noblank
-
-# Open Chromium in Full Screen Mode
-@chromium-browser --incognito --kiosk
-```
-
-If you want to hide the mouse pointer, you have to install the package **unclutter** and remove the comment character at the beginning of the **autostart** file:
-
-```
-$ sudo apt install unclutter
-```
-
-![Mobile particulate matter sensor][7]
-
-I've made a few small changes to the code in the last year. So, if you set up the air quality project before, make sure to re-download the script and files for the AQI website using the instructions in the [original article][2].
-
-By adding the touch screen, you now have a mobile particulate matter sensor! We use it at our school to check the quality of the air in the classrooms or to do comparative measurements. With this setup, you are no longer dependent on a network connection or WLAN. You can use the small measuring station everywhere—you can even use it with a power bank to be independent of the power grid.
-
-* * *
-
-_This article originally appeared on[Open School Solutions][8] and is republished with permission._
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/3/mobile-particulate-matter-sensor
-
-作者:[Stephan Tetzel][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/stephan
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/talk_chat_team_mobile_desktop.png?itok=d7sRtKfQ (Team communication, chat)
-[2]: https://opensource.com/article/18/3/how-measure-particulate-matter-raspberry-pi
-[3]: https://www.amazon.com/gp/search/ref=as_li_qf_sp_sr_tl?ie=UTF8&tag=openschoolsol-20&keywords=lcd%20raspberry&index=aps&camp=1789&creative=9325&linkCode=ur2&linkId=51d6d7676e10d6c7db203c4a8b3b529a
-[4]: https://amzn.to/2CcvgpC
-[5]: https://github.com/goodtft/LCD-show
-[6]: https://opensource.com/article/17/1/try-raspberry-pis-pixel-os-your-pc
-[7]: https://opensource.com/sites/default/files/uploads/mobile-aqi-sensor.jpg (Mobile particulate matter sensor)
-[8]: https://openschoolsolutions.org/mobile-particulate-matter-sensor/
diff --git a/sources/tech/20190401 Build and host a website with Git.md b/sources/tech/20190401 Build and host a website with Git.md
index 0878047c1d..32a07d3490 100644
--- a/sources/tech/20190401 Build and host a website with Git.md
+++ b/sources/tech/20190401 Build and host a website with Git.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Build and host a website with Git)
[#]: via: (https://opensource.com/article/19/4/building-hosting-website-git)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
Build and host a website with Git
======
diff --git a/sources/tech/20190401 What is 5G- How is it better than 4G.md b/sources/tech/20190401 What is 5G- How is it better than 4G.md
deleted file mode 100644
index f4ad51b8ae..0000000000
--- a/sources/tech/20190401 What is 5G- How is it better than 4G.md
+++ /dev/null
@@ -1,171 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (What is 5G? How is it better than 4G?)
-[#]: via: (https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html#tk.rss_all)
-[#]: author: (Josh Fruhlinger https://www.networkworld.com/author/Josh-Fruhlinger/)
-
-What is 5G? How is it better than 4G?
-======
-
-### 5G networks will boost wireless throughput by a factor of 10 and may replace wired broadband. But when will they be available, and why are 5G and IoT so linked together?
-
-![Thinkstock][1]
-
-[5G wireless][2] is an umbrella term to describe a set of standards and technologies for a radically faster wireless internet that ideally is up to 20 times faster with 120 times less latency than 4G, setting the stage for IoT networking advances and support for new high-bandwidth applications.
-
-## What is 5G? Technology or buzzword?
-
-It will be years before the technology reaches its full potential worldwide, but meanwhile some 5G network services are being rolled out today. 5G is as much a marketing buzzword as a technical term, and not all services marketed as 5G are standard.
-
-**[From Mobile World Congress:[The time of 5G is almost here][3].]**
-
-## 5G speed vs 4G
-
-With every new generation of wireless technology, the biggest appeal is increased speed. 5G networks have potential peak download speeds of [20 Gbps, with 10 Gbps being seen as typical][4]. That's not just faster than current 4G networks, which currently top out at around 1 Gbps, but also faster than cable internet connections that deliver broadband to many people's homes. 5G offers network speeds that rival optical-fiber connections.
-
-Throughput alone isn't 5G's only important speed improvement; it also features a huge reduction in network latency*.* That's an important distinction: throughput measures how long it would take to download a large file, while latency is determined by network bottlenecks and delays that slow down responses in back-and-forth communication.
-
-Latency can be difficult to quantify because it varies based on myriad network conditions, but 5G networks are capable of latency rates that are less than a millisecond in ideal conditions. Overall, 5G latency will be lower than 4G's by a factor of 60 to 120. That will make possible a number of applications such as virtual reality that delay makes impractical today.
-
-## 5G technology
-
-The technology underpinnings of 5G are defined by a series of standards that have been in the works for the better part of a decade. One of the most important of these is 5G New Radio, or 5G NR*,* formalized by the 3rd Generation Partnership Project, a standards organization that develops protocols for mobile telephony. 5G NR will dictate many of the ways in which consumer 5G devices will operate, and was [finalized in June of 2018][5].
-
-**[[Take this mobile device management course from PluralSight and learn how to secure devices in your company without degrading the user experience.][6] ]**
-
-A number of individual technologies have come together to make the speed and latency improvements of 5G possible, and below are some of the most important.
-
-## Millimeter waves
-
-5G networks will for the most part use frequencies in the 30 to 300 GHz range. (Wavelengths at these frequencies are between 1 and 10 millimeters, thus the name.) This high-frequency band can [carry much more information per unit of time than the lower-frequency signals][7] currently used by 4G LTE, which is generally below 1 GHz, or Wi-Fi, which tops out at 6 GHz.
-
-Millimeter-wave technology has traditionally been expensive and difficult to deploy. Technical advances have overcome those difficulties, which is part of what's made 5G possible today.
-
-## Small cells
-
-One drawback of millimeter wave transmission is that it's more prone to interference than Wi-Fi or 4G signals as they pass through physical objects.
-
-To overcome this, the model for 5G infrastructure will be different from 4G's. Instead of the large cellular-antenna masts we've come to accept as part of the landscape, 5G networks will be powered by [much smaller base stations spread throughout cities about 250 meters apart][8], creating cells of service that are also smaller.
-
-These 5G base stations have lower power requirements than those for 4G and can be attached to buildings and utility poles more easily.
-
-## Massive MIMO
-
-Despite 5G base stations being much smaller than their 4G counterparts, they pack in many more antennas. These antennas are [multiple-input multiple-output (MIMO)][9], meaning that they can handle multiple two-way conversations over the same data signal simultaneously. 5G networks can handle more than [20 times more conversations in this way than 4G networks][10].
-
-Massive MIMO promises to [radically improve on base station capacity limits][11], allowing individual base stations to have conversations with many more devices. This in particular is why 5G may drive wider adoption of IoT. In theory, a lot more internet-connected wireless gadgets will be able to be deployed in the same space without overwhelming the network.
-
-## Beamforming
-
-Making sure all these conversations go back and forth to the right places is tricky, especially with the aforementioned problems millimeter-wave signals have with interference. To overcome those issues, 5G stations deploy advanced beamforming techniques, which use constructive and destructive radio interference to make signals directional rather than broadcast. That effectively boosts signal strength and range in a particular direction.
-
-## 5G availability
-
-The first commercial 5G network was [rolled out in Qatar in May 2018][12]. Since then, networks have been popping up across the world, from Argentina to Vietnam. [Lifewire has a good, frequently updated list][13].
-
-One thing to keep in mind, though, is that not all 5G networks deliver on all the technology's promises yet. Some early 5G offerings piggyback on existing 4G infrastructure, which reduces the potential speed gains; other services dubbed 5G for marketing purposes don't even comply with the standard. A closer look at offerings from U.S. wireless carriers will demonstrate some of the pitfalls.
-
-## Wireless carriers and 5G
-
-Technically, 5G is available in the U.S. today. But the caveats involved in that statement vary from carrier to carrier, demonstrating the long road that still lies ahead before 5G becomes omnipresent.
-
-Verizon is making probably the biggest early 5G push. It announced [5G Home][14] in parts of four cities in October of 2018, a service that requires using a special 5G hotspot to connect to the network and feed it to your other devices via Wi-Fi.
-
-Verizon planned an April rollout of a [mobile service in Minneapolis and Chicago][15], which will spread to other cities over the course of the year. Accessing the 5G network will cost customers an extra monthly fee plus what they’ll have to spend on a phone that can actually connect to it (more on that in a moment). As an added wrinkle, Verizon is deploying what it calls [5G TF][16], which doesn't match up with the 5G NR standard.
-
-AT&T [announced the availability of 5G in 12 U.S. cities in December 2018][17], with nine more coming by the end of 2019, but even in those cities, availability is limited to the downtown areas. To use the network requires a special Netgear hotspot that connects to the service, then provides a Wi-Fi signal to phones and other devices.
-
-Meanwhile, AT&T is also rolling out speed boosts to its 4G network, which it's dubbed 5GE even though these improvements aren't related to 5G networking. ([This is causing backlash][18].)
-
-Sprint will have 5G service in parts of four cities by May of 2019, and five more by the end of the year. But while Sprint's 5G offering makes use of massive MIMO cells, they [aren't using millimeter-wave signals][19], meaning that Sprint users won't see as much of a speed boost as customers of other carriers.
-
-T-Mobile is pursuing a similar model,and it [won't roll out its service until the end of 2019][20] because there won't be any phones to connect to it.
-
-One kink that might stop a rapid spread of 5G is the need to spread out all those small-cell base stations. Their small size and low power requirements make them easier to deploy than current 4G tech in a technical sense, but that doesn't mean it's simple to convince governments and property owners to install dozens of them everywhere. Verizon actually set up a [website that you can use to petition your local elected officials][21] to speed up 5G base station deployment.
-
-## **5G phones: When available? When to buy?**
-
-The first major 5G phone to be announced is the Samsung Galaxy S10 5G, which should be available by the end of the summer of 2019. You can also order a "[Moto Mod][22]" from Verizon, which [transforms Moto Z3 phones into 5G-compatible device][23]s.
-
-But unless you can't resist the lure of being an early adopter, you may wish to hold off for a bit; some of the quirks and looming questions about carrier rollout may mean that you end up with a phone that [isn't compatible with your carrier's entire 5G network][24].
-
-One laggard that may surprise you is Apple: analysts believe that there won't be a [5G-compatible iPhone until 2020 at the earliest][25]. But this isn't out of character for the company; Apple [also lagged behind Samsung in releasing 4G-compatible phones][26] in back in 2012.
-
-Still, the 5G flood is coming. 5G-compatible devices [dominated Barcelona's Mobile World Congress in 2019][3], so expect to have a lot more choice on the horizon.
-
-## Why are people talking about 6G already?
-
-Some experts say [5G won’t be able to meet the latency and reliability targets][27] it is shooting for. These skeptics are already looking ahead to 6G, which they say will try to address these projected shortcomings.
-
-There is [a group that is researching new technologies that can be rolled into 6G][28] that calls itself
-
-The Center for Converged TeraHertz Communications and Sensing (ComSenTer). Part of the spec they’re working on calls for 100Gbps speed for every device.
-
-In addition to adding reliability, overcoming reliability and boosting speed, 6G is also trying to enable thousands of simultaneous connections. If successful, this feature could help to network IoT devices, which can be deployed in the thousands as sensors in a variety of industrial settings.
-
-Even in its embryonic form, 6G may already be facing security concerns due to the emergence of newly discovered [potential for man-in-the-middle attacks in tera-hertz based networks][29]. The good news is that there’s plenty of time to find solutions to the problem. 6G networks aren’t expected to start rolling out until 2030.
-
-**More about 5g networks:**
-
- * [How enterprises can prep for 5G networks][30]
- * [5G vs 4G: How speed, latency and apps support differ][31]
- * [Private 5G networks are coming][32]
- * [5G and 6G wireless have security issues][33]
- * [How millimeter-wave wireless could help support 5G and IoT][34]
-
-
-
-Join the Network World communities on [Facebook][35] and [LinkedIn][36] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html#tk.rss_all
-
-作者:[Josh Fruhlinger][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Josh-Fruhlinger/
-[b]: https://github.com/lujun9972
-[1]: https://images.techhive.com/images/article/2017/04/5g-100718139-large.jpg
-[2]: https://www.networkworld.com/article/3203489/what-is-5g-wireless-networking-benefits-standards-availability-versus-lte.html
-[3]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
-[4]: https://www.networkworld.com/article/3330603/5g-versus-4g-how-speed-latency-and-application-support-differ.html
-[5]: https://www.theverge.com/2018/6/15/17467734/5g-nr-standard-3gpp-standalone-finished
-[6]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fcourses%2Fmobile-device-management-big-picture
-[7]: https://www.networkworld.com/article/3291323/millimeter-wave-wireless-could-help-support-5g-and-iot.html
-[8]: https://spectrum.ieee.org/video/telecom/wireless/5g-bytes-small-cells-explained
-[9]: https://www.networkworld.com/article/3250268/what-is-mu-mimo-and-why-you-need-it-in-your-wireless-routers.html
-[10]: https://spectrum.ieee.org/tech-talk/telecom/wireless/5g-researchers-achieve-new-spectrum-efficiency-record
-[11]: https://www.networkworld.com/article/3262991/future-wireless-networks-will-have-no-capacity-limits.html
-[12]: https://venturebeat.com/2018/05/14/worlds-first-commercial-5g-network-launches-in-qatar/
-[13]: https://www.lifewire.com/5g-availability-world-4156244
-[14]: https://www.digitaltrends.com/computing/verizon-5g-home-promises-up-to-gigabit-internet-speeds-for-50/
-[15]: https://lifehacker.com/heres-your-cheat-sheet-for-verizons-new-5g-data-plans-1833278817
-[16]: https://www.theverge.com/2018/10/2/17927712/verizon-5g-home-internet-real-speed-meaning
-[17]: https://www.cnn.com/2018/12/18/tech/5g-mobile-att/index.html
-[18]: https://www.networkworld.com/article/3339720/like-4g-before-it-5g-is-being-hyped.html?nsdr=true
-[19]: https://www.digitaltrends.com/mobile/sprint-5g-rollout/
-[20]: https://www.cnet.com/news/t-mobile-delays-full-600-mhz-5g-launch-until-second-half/
-[21]: https://lets5g.com/
-[22]: https://www.verizonwireless.com/support/5g-moto-mod-faqs/?AID=11365093&SID=100098X1555750Xbc2e857934b22ebca1a0570d5ba93b7c&vendorid=CJM&PUBID=7105813&cjevent=2e2150cb478c11e98183013b0a1c0e0c
-[23]: https://www.digitaltrends.com/cell-phone-reviews/moto-z3-review/
-[24]: https://www.businessinsider.com/samsung-galaxy-s10-5g-which-us-cities-have-5g-networks-2019-2
-[25]: https://www.cnet.com/news/why-apples-in-no-rush-to-sell-you-a-5g-iphone/
-[26]: https://mashable.com/2012/09/09/iphone-5-4g-lte/#hYyQUelYo8qq
-[27]: https://www.networkworld.com/article/3305359/6g-will-achieve-terabits-per-second-speeds.html
-[28]: https://www.networkworld.com/article/3285112/get-ready-for-upcoming-6g-wireless-too.html
-[29]: https://www.networkworld.com/article/3315626/5g-and-6g-wireless-technologies-have-security-issues.html
-[30]: https://%20https//www.networkworld.com/article/3306720/mobile-wireless/how-enterprises-can-prep-for-5g.html
-[31]: https://%20https//www.networkworld.com/article/3330603/mobile-wireless/5g-versus-4g-how-speed-latency-and-application-support-differ.html
-[32]: https://%20https//www.networkworld.com/article/3319176/mobile-wireless/private-5g-networks-are-coming.html
-[33]: https://www.networkworld.com/article/3315626/network-security/5g-and-6g-wireless-technologies-have-security-issues.html
-[34]: https://www.networkworld.com/article/3291323/mobile-wireless/millimeter-wave-wireless-could-help-support-5g-and-iot.html
-[35]: https://www.facebook.com/NetworkWorld/
-[36]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190402 5G- A deep dive into fast, new wireless.md b/sources/tech/20190402 5G- A deep dive into fast, new wireless.md
deleted file mode 100644
index f3941b3dde..0000000000
--- a/sources/tech/20190402 5G- A deep dive into fast, new wireless.md
+++ /dev/null
@@ -1,70 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (5G: A deep dive into fast, new wireless)
-[#]: via: (https://www.networkworld.com/article/3385030/5g-a-deep-dive-into-fast-new-wireless.html#tk.rss_all)
-[#]: author: (Craig Mathias https://www.networkworld.com/author/Craig-Mathias/)
-
-5G: A deep dive into fast, new wireless
-======
-
-### 5G wireless networks are just about ready for prime time, overcoming backhaul and backward-compatibility issues, and promising the possibility of all-mobile networking through enhanced throughput.
-
-The next step in the evolution of wireless WAN communications - [5G networks][1] \- is about to hit the front pages, and for good reason: it will complete the evolution of cellular from wireline augmentation to wireline replacement, and strategically from mobile-first to mobile-only.
-
-So it’s not too early to start least basic planning to understanding how 5G will fit into and benefit IT plans across organizations of all sizes, industries and missions.
-
-**[ From Mobile World Congress:[The time of 5G is almost here][2] ]**
-
-5G will of course provide end-users with the additional throughput, capacity, and other elements to address the continuing and dramatic growth in geographic availability, user base, range of subscriber devices, demand for capacity, and application requirements, but will also enable service providers to benefit from new opportunities in overall strategy, service offerings and broadened marketplace presence.
-
-A look at the key features you can expect in 5G wireless. (Click for larger image.)
-
-![A look at the key features you can expect in 5G wireless.][3]
-
-This article explores the technologies and market drivers behind 5G, with an emphasis on what 5G means to enterprise and organizational IT.
-
-While 5G remains an imprecise term today, key objectives for the development of the advances required have become clear. These are as follows:
-
-## 5G speeds
-
-As is the case with Wi-Fi, major advances in cellular are first and foremost defined by new upper-bound _throughput_ numbers. The magic number here for 5G is in fact a _floor_ of 1 Gbps, with numbers as high as 10 Gbps mentioned by some. However, and again as is the case with Wi-Fi, it’s important to think more in terms of overall individual-cell and system-wide _capacity_. We believe, then, that per-user throughput of 50 Mbps is a more reasonable – but clearly still remarkable – working assumption, with up to 300 Mbps peak throughput realized in some deployments over the next five years. The possibility of reaching higher throughput than that exceeds our planning horizon, but such is, well, possible.
-
-## Reduced latency
-
-Perhaps even more important than throughput, though, is a reduction in the round-trip time for each packet. Reducing latency is important for voice, which will most certainly be all-IP in 5G implementations, video, and, again, in improving overall capacity. The over-the-air latency goal for 5G is less than 10ms, with 1ms possible in some defined classes of service.
-
-## 5G network management and OSS
-
-Operators are always seeking to reduce overhead and operating expense, so enhancements to both system management and operational support systems (OSS) yielding improvements in reliability, availability, serviceability, resilience, consistency, analytics capabilities, and operational efficiency, are all expected. The benefits of these will, in most cases, however, be transparent to end-users.
-
-## Mobility and 5G technology
-
-Very-high-speed user mobility, to as much as hundreds of kilometers per hour, will be supported, thus serving users on all modes of transportation. Regulatory and situation-dependent restrictions – most notably, on aircraft – however, will still apply.
-
-To continue reading this article register now
-
-[Get Free Access][4]
-
-[Learn More][5] Existing Users [Sign In][4]
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3385030/5g-a-deep-dive-into-fast-new-wireless.html#tk.rss_all
-
-作者:[Craig Mathias][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Craig-Mathias/
-[b]: https://github.com/lujun9972
-[1]: https://www.networkworld.com/article/3203489/what-is-5g-how-is-it-better-than-4g.html
-[2]: https://www.networkworld.com/article/3354477/mobile-world-congress-the-time-of-5g-is-almost-here.html
-[3]: https://images.idgesg.net/images/article/2017/06/2017_nw_5g_wireless_key_features-100727485-large.jpg
-[4]: javascript://
-[5]: /learn-about-insider/
diff --git a/sources/tech/20190402 Announcing the release of Fedora 30 Beta.md b/sources/tech/20190402 Announcing the release of Fedora 30 Beta.md
deleted file mode 100644
index 19b5926e27..0000000000
--- a/sources/tech/20190402 Announcing the release of Fedora 30 Beta.md
+++ /dev/null
@@ -1,90 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Announcing the release of Fedora 30 Beta)
-[#]: via: (https://fedoramagazine.org/announcing-the-release-of-fedora-30-beta/)
-[#]: author: (Ben Cotton https://fedoramagazine.org/author/bcotton/)
-
-Announcing the release of Fedora 30 Beta
-======
-
-![][1]
-
-The Fedora Project is pleased to announce the immediate availability of Fedora 30 Beta, the next big step on our journey to the exciting Fedora 30 release.
-
-Download the prerelease from our Get Fedora site:
-
- * [Get Fedora 30 Beta Workstation][2]
- * [Get Fedora 30 Beta Server][3]
- * [Get Fedora 30 Beta Silverblue][4]
-
-
-
-Or, check out one of our popular variants, including KDE Plasma, Xfce, and other desktop environments, as well as images for ARM devices like the Raspberry Pi 2 and 3:
-
- * [Get Fedora 30 Beta Spins][5]
- * [Get Fedora 30 Beta Labs][6]
- * [Get Fedora 30 Beta ARM][7]
-
-
-
-### Beta Release Highlights
-
-#### New desktop environment options
-
-Fedora 30 Beta includes two new options for desktop environment. [DeepinDE][8] and [Pantheon Desktop][9] join GNOME, KDE Plasma, Xfce, and others as options for users to customize their Fedora experience.
-
-#### DNF performance improvements
-
-All dnf repository metadata for Fedora 30 Beta is compressed with the zchunk format in addition to xz or gzip. zchunk is a new compression format designed to allow for highly efficient deltas. When Fedora’s metadata is compressed using zchunk, dnf will download only the differences between any earlier copies of the metadata and the current version.
-
-#### GNOME 3.32
-
-Fedora 30 Workstation Beta includes GNOME 3.32, the latest version of the popular desktop environment. GNOME 3.32 features updated visual style, including the user interface, the icons, and the desktop itself. For a full list of GNOME 3.32 highlights, see the [release notes][10].
-
-#### Other updates
-
-Fedora 30 Beta also includes updated versions of many popular packages like Golang, the Bash shell, the GNU C Library, Python, and Perl. For a full list, see the [Change set][11] on the Fedora Wiki. In addition, many Python 2 packages are removed in preparation for Python 2 end-of-life on 2020-01-01.
-
-#### Testing needed
-
-Since this is a Beta release, we expect that you may encounter bugs or missing features. To report issues encountered during testing, contact the Fedora QA team via the mailing list or in #fedora-qa on Freenode. As testing progresses, common issues are tracked on the [Common F30 Bugs page][12].
-
-For tips on reporting a bug effectively, read [how to file a bug][13].
-
-#### What is the Beta Release?
-
-A Beta release is code-complete and bears a very strong resemblance to the final release. If you take the time to download and try out the Beta, you can check and make sure the things that are important to you are working. Every bug you find and report doesn’t just help you, it improves the experience of millions of Fedora users worldwide! Together, we can make Fedora rock-solid. We have a culture of coordinating new features and pushing fixes upstream as much as we can. Your feedback improves not only Fedora, but Linux and free software as a whole.
-
-#### More information
-
-For more detailed information about what’s new on Fedora 30 Beta release, you can consult the [Fedora 30 Change set][11]. It contains more technical information about the new packages and improvements shipped with this release.
-
---------------------------------------------------------------------------------
-
-via: https://fedoramagazine.org/announcing-the-release-of-fedora-30-beta/
-
-作者:[Ben Cotton][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fedoramagazine.org/author/bcotton/
-[b]: https://github.com/lujun9972
-[1]: https://fedoramagazine.org/wp-content/uploads/2019/03/f30-beta-816x345.jpg
-[2]: https://getfedora.org/workstation/prerelease/
-[3]: https://getfedora.org/server/prerelease/
-[4]: https://silverblue.fedoraproject.org/download
-[5]: https://spins.fedoraproject.org/prerelease
-[6]: https://labs.fedoraproject.org/prerelease
-[7]: https://arm.fedoraproject.org/prerelease
-[8]: https://www.deepin.org/en/dde/
-[9]: https://www.fosslinux.com/4652/pantheon-everything-you-need-to-know-about-the-elementary-os-desktop.htm
-[10]: https://help.gnome.org/misc/release-notes/3.32/
-[11]: https://fedoraproject.org/wiki/Releases/30/ChangeSet
-[12]: https://fedoraproject.org/wiki/Common_F30_bugs
-[13]: https://docs.fedoraproject.org/en-US/quick-docs/howto-file-a-bug/
diff --git a/sources/tech/20190402 Manage your daily schedule with Git.md b/sources/tech/20190402 Manage your daily schedule with Git.md
index 5d3b7a195e..8f5d7d89bb 100644
--- a/sources/tech/20190402 Manage your daily schedule with Git.md
+++ b/sources/tech/20190402 Manage your daily schedule with Git.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Manage your daily schedule with Git)
[#]: via: (https://opensource.com/article/19/4/calendar-git)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
Manage your daily schedule with Git
======
diff --git a/sources/tech/20190403 How to rebase to Fedora 30 Beta on Silverblue.md b/sources/tech/20190403 How to rebase to Fedora 30 Beta on Silverblue.md
deleted file mode 100644
index 892afff5d6..0000000000
--- a/sources/tech/20190403 How to rebase to Fedora 30 Beta on Silverblue.md
+++ /dev/null
@@ -1,70 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to rebase to Fedora 30 Beta on Silverblue)
-[#]: via: (https://fedoramagazine.org/how-to-rebase-to-fedora-30-beta-on-silverblue/)
-[#]: author: (Michal Konečný https://fedoramagazine.org/author/zlopez/)
-
-How to rebase to Fedora 30 Beta on Silverblue
-======
-
-![][1]
-
-Silverblue is [an operating system for your desktop built on Fedora][2]. It’s excellent for daily use, development, and container-based workflows. It offers [numerous advantages][3] such as being able to roll back in case of any problems. If you want to test Fedora 30 on your Silverblue system, this article tells you how. It not only shows you what to do, but also how to revert back if anything unforeseen happens.
-
-### Switching to Fedora 30 branch
-
-Switching to Fedora 30 on Silverblue is easy. First, check if the _30_ branch is available, which should be true now:
-
-```
-ostree remote refs fedora-workstation
-```
-
-You should see the following in the output:
-
-```
-fedora-workstation:fedora/30/x86_64/silverblue
-```
-
-Next, import the GPG key for the Fedora 30 branch. Without this step, you won’t be able to rebase.
-
-```
-sudo ostree remote gpg-import fedora-workstation -k /etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-primary
-```
-
-Next, rebase your system to the Fedora 30 branch.
-
-```
-rpm-ostree rebase fedora-workstation:fedora/30/x86_64/silverblue
-```
-
-Finally, the last thing to do is restart your computer and boot to Fedora 30.
-
-### How to revert things back
-
-Remember that Fedora 30’s still in beta testing phase, so there could still be some issues. If anything bad happens — for instance, if you can’t boot to Fedora 30 at all — it’s easy to go back. Just pick the previous entry in GRUB, and your system will start in its previous state before switching to Fedora 30. To make this change permanent, use the following command:
-
-```
-rpm-ostree rollback
-```
-
-That’s it. Now you know how to rebase to Fedora 30 and back. So why not test it today? 🙂
-
---------------------------------------------------------------------------------
-
-via: https://fedoramagazine.org/how-to-rebase-to-fedora-30-beta-on-silverblue/
-
-作者:[Michal Konečný][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fedoramagazine.org/author/zlopez/
-[b]: https://github.com/lujun9972
-[1]: https://fedoramagazine.org/wp-content/uploads/2019/03/silverblue-f30beta-816x345.jpg
-[2]: https://docs.fedoraproject.org/en-US/fedora-silverblue/
-[3]: https://fedoramagazine.org/give-fedora-silverblue-a-test-drive/
diff --git a/sources/tech/20190403 Use Git as the backend for chat.md b/sources/tech/20190403 Use Git as the backend for chat.md
index 2a7ac6d28a..e564bbc6e7 100644
--- a/sources/tech/20190403 Use Git as the backend for chat.md
+++ b/sources/tech/20190403 Use Git as the backend for chat.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Use Git as the backend for chat)
[#]: via: (https://opensource.com/article/19/4/git-based-chat)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
Use Git as the backend for chat
======
diff --git a/sources/tech/20190404 Running LEDs in reverse could cool computers.md b/sources/tech/20190404 Running LEDs in reverse could cool computers.md
deleted file mode 100644
index 2eb3c66c6b..0000000000
--- a/sources/tech/20190404 Running LEDs in reverse could cool computers.md
+++ /dev/null
@@ -1,68 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Running LEDs in reverse could cool computers)
-[#]: via: (https://www.networkworld.com/article/3386876/running-leds-in-reverse-could-cool-computers.html#tk.rss_all)
-[#]: author: (Patrick Nelson https://www.networkworld.com/author/Patrick-Nelson/)
-
-Running LEDs in reverse could cool computers
-======
-
-### The miniaturization of electronics is reaching its limits in part because of heat management. Many are now aggressively trying to solve the problem. A kind of reverse-running LED is one avenue being explored.
-
-![monsitj / Getty Images][1]
-
-The quest to find more efficient methods for cooling computers is almost as high on scientists’ agendas as the desire to discover better battery chemistries.
-
-More cooling is crucial for reducing costs. It would also allow for more powerful processing to take place in smaller spaces, where limited processing should be crunching numbers instead of making wasteful heat. It would stop heat-caused breakdowns, thereby creating longevity in components, and it would promote eco-friendly data centers — less heat means less impact on the environment.
-
-Removing heat from microprocessors is one angle scientists have been exploring, and they think they have come up with a simple, but unusual and counter-intuitive solution. They say that running a variant of a Light Emitting Diode (LED) with its electrodes reversed forces the component to act as if it were at an unusually low temperature. Placing it next to warmer electronics, then, with a nanoscale gap introduced, causes the LED to suck out the heat.
-
-**[ Read also:[IDC’s top 10 data center predictions][2] | Get regularly scheduled insights: [Sign up for Network World newsletters][3] ]**
-
-“Once the LED is reverse biased, it began acting as a very low temperature object, absorbing photons,” says Edgar Meyhofer, professor of mechanical engineering at University of Michigan, in a [press release][4] announcing the breakthrough. “At the same time, the gap prevents heat from traveling back, resulting in a cooling effect.”
-
-The researchers say the LED and the adjacent electrical device (in this case a calorimeter, usually used for measuring heat energy) have to be extremely close. They say they’ve been able to demonstrate cooling of six watts per meter-squared. That’s about the power of sunshine on the earth’s surface, they explain.
-
-Internet of things (IoT) devices and smartphones could be among those electronics that would ultimately benefit from the LED modification. Both kinds of devices require increasing computing power to be squashed into smaller spaces.
-
-“Removing the heat from the microprocessor is beginning to limit how much power can be squeezed into a given space,” the University of Michigan announcement says.
-
-### Materials Science and cooling computers
-
-[I’ve written before about new forms of computer cooling][5]. Exotic materials, derived from Materials Science, are among ideas being explored. Sodium bismuthide (Na3Bi) could be used in transistor design, the U.S. Department of Energy’s Lawrence Berkeley National Laboratory says. The new substance carries a charge and is importantly tunable; however, it doesn’t need to be chilled as superconductors currently do.
-
-In fact, that’s a problem with superconductors. They unfortunately need more cooling than most electronics — electrical resistance with the technology is expelled through extreme cooling.
-
-Separately, [researchers in Germany at the University of Konstanz][6] say they soon will have superconductor-driven computers without waste heat. They plan to use electron spin — a new physical dimension in electrons that could create efficiency gains. The method “significantly reduces the energy consumption of computing centers,” the university said in a press release last year.
-
-Another way to reduce heat could be [to replace traditional heatsinks with spirals and mazes][7] embedded on microprocessors. Miniscule channels printed on the chip itself could provide paths for coolant to travel, again separately, scientists from Binghamton University say.
-
-“The miniaturization of the semiconductor technology is approaching its physical limits,” the University of Konstanz says. Heat management is very much on scientists’ agenda now. It’s “one of the big challenges in miniaturization."
-
-Join the Network World communities on [Facebook][8] and [LinkedIn][9] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3386876/running-leds-in-reverse-could-cool-computers.html#tk.rss_all
-
-作者:[Patrick Nelson][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Patrick-Nelson/
-[b]: https://github.com/lujun9972
-[1]: https://images.idgesg.net/images/article/2019/02/big_data_center_server_racks_storage_binary_analytics_by_monsitj_gettyimages-944444446_3x2-100787357-large.jpg
-[2]: https://www.networkworld.com/article/3242807/data-center/top-10-data-center-predictions-idc.html#nww-fsb
-[3]: https://www.networkworld.com/newsletters/signup.html#nww-fsb
-[4]: https://news.umich.edu/running-an-led-in-reverse-could-cool-future-computers/
-[5]: https://www.networkworld.com/article/3326831/computers-could-soon-run-cold-no-heat-generated.html
-[6]: https://www.uni-konstanz.de/en/university/news-and-media/current-announcements/news/news-in-detail/Supercomputer-ohne-Abwaerme/
-[7]: https://www.networkworld.com/article/3322956/chip-cooling-breakthrough-will-reduce-data-center-power-costs.html
-[8]: https://www.facebook.com/NetworkWorld/
-[9]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190405 Command line quick tips- Cutting content out of files.md b/sources/tech/20190405 Command line quick tips- Cutting content out of files.md
deleted file mode 100644
index cd72985532..0000000000
--- a/sources/tech/20190405 Command line quick tips- Cutting content out of files.md
+++ /dev/null
@@ -1,91 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Command line quick tips: Cutting content out of files)
-[#]: via: (https://fedoramagazine.org/command-line-quick-tips-cutting-content-out-of-files/)
-[#]: author: (Stephen Snow https://fedoramagazine.org/author/jakfrost/)
-
-Command line quick tips: Cutting content out of files
-======
-
-![][1]
-
-The Fedora distribution is a full featured operating system with an excellent graphical desktop environment. A user can point and click their way through just about any typical task easily. All of this wonderful ease of use masks the details of a powerful command line under the hood. This article is part of a series that shows you some common command line utilities. So let’s drop into the shell, and have a look at **cut**.
-
-Often when you work in the command line, you are working with text files. Sometimes these files may be quite long. Reading them in their entirety, while feasible, can be time consuming and prone to errors. In this installment you’ll learn how to extract content from text files, and get the information you want from them.
-
-It’s important to recognize that there are many ways to accomplish similar command line tasks in Fedora. The Fedora repositories include entire language systems for parsing and working with text, as an example. Also, there are multiple command line utilities available for just about any purpose conceivable in the shell. This article will only focus on using a few of those utility choices, to extract some information from a file and present it in a readable format.
-
-### Making the cut
-
-To illustrate this example use a standard sizable file on the system like _/etc/passwd_. As seen in a prior article in this series, you can execute the _cat_ command to view an entire file:
-
-```
-$ cat /etc/passwd
-root:x:0:0:root:/root:/bin/bash
-bin:x:1:1:bin:/bin:/sbin/nologin
-daemon:x:2:2:daemon:/sbin:/sbin/nologin
-adm:x:3:4:adm:/var/adm:/sbin/nologin
-...
-```
-
-This file contains information on all accounts present on the system. It has a specific format:
-
-```
-name:password:user-id:group-id:comment:home-directory:shell
-```
-
-Imagine that you want to simply have a list of all the account names on the system. If you could only cut out the _name_ value from each line. This is where the _cut_ command comes in handy! This command treats any input one line at a time, and extracts a specific part of the line.
-
-The _cut_ command provides options for selecting parts of a line differently, and in this example two of them are needed, _-d_ which is an option to specify a delimiter type to use, and _-f_ which is an option to specify which field of the line to cut. The _-d_ option lets you declare the _delimiter_ that separates values in a line. In this case a colon (:) is used to separate values. The _-f_ option lets you choose which field value or values to extract. So for this example the command entered would be:
-
-```
-$ cut -d: -f1 /etc/passwd
-root
-bin
-daemon
-adm
-...
-```
-
-That’s great, it worked! But you get the printout to the standard output, which in a terminal session at least means the screen. What if you needed the information for another task to be done later? It would be really nice if there was a way to put the output of the _cut_ command into a text file to save it. There is an easy builtin shell function for such a task, the redirect function ( _>_ ).
-
-```
-$ cut -d: -f1 /etc/passwd > names.txt
-```
-
-This will place the output of cut into a file called _names.txt_ and you can check the contents with _cat:_
-
-```
-$ cat names.txt
-root
-bin
-daemon
-adm
-...
-```
-
-With two commands and one shell function, it was easy to identify using _cat_ , extract using _cut_ , and redirect the extracted information from one file, saving it to another file for later use.
-
-* * *
-
-_Photo by _[ _Joel Mbugua_][2]_ on _[_Unsplash_][3]_._
-
---------------------------------------------------------------------------------
-
-via: https://fedoramagazine.org/command-line-quick-tips-cutting-content-out-of-files/
-
-作者:[Stephen Snow][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fedoramagazine.org/author/jakfrost/
-[b]: https://github.com/lujun9972
-[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/commandline-cutting-816x345.jpg
-[2]: https://unsplash.com/photos/tA5eSY_hay8?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
-[3]: https://unsplash.com/search/photos/command-line?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/sources/tech/20190405 File sharing with Git.md b/sources/tech/20190405 File sharing with Git.md
index 6b51d11600..13f95b8287 100644
--- a/sources/tech/20190405 File sharing with Git.md
+++ b/sources/tech/20190405 File sharing with Git.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (File sharing with Git)
[#]: via: (https://opensource.com/article/19/4/file-sharing-git)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
File sharing with Git
======
diff --git a/sources/tech/20190406 Run a server with Git.md b/sources/tech/20190406 Run a server with Git.md
index 650d5672af..2d7749a465 100644
--- a/sources/tech/20190406 Run a server with Git.md
+++ b/sources/tech/20190406 Run a server with Git.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Run a server with Git)
[#]: via: (https://opensource.com/article/19/4/server-administration-git)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth/users/seth)
Run a server with Git
======
diff --git a/sources/tech/20190407 Manage multimedia files with Git.md b/sources/tech/20190407 Manage multimedia files with Git.md
index 81bc0d02ca..340c356aa9 100644
--- a/sources/tech/20190407 Manage multimedia files with Git.md
+++ b/sources/tech/20190407 Manage multimedia files with Git.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Manage multimedia files with Git)
[#]: via: (https://opensource.com/article/19/4/manage-multimedia-files-git)
-[#]: author: (Seth Kenlon (Red Hat, Community Moderator) https://opensource.com/users/seth)
+[#]: author: (Seth Kenlon https://opensource.com/users/seth)
Manage multimedia files with Git
======
diff --git a/sources/tech/20190408 A beginner-s guide to building DevOps pipelines with open source tools.md b/sources/tech/20190408 A beginner-s guide to building DevOps pipelines with open source tools.md
index e5f772e8ca..2110c17606 100644
--- a/sources/tech/20190408 A beginner-s guide to building DevOps pipelines with open source tools.md
+++ b/sources/tech/20190408 A beginner-s guide to building DevOps pipelines with open source tools.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (A beginner's guide to building DevOps pipelines with open source tools)
[#]: via: (https://opensource.com/article/19/4/devops-pipeline)
-[#]: author: (Bryant Son (Red Hat, Community Moderator) https://opensource.com/users/brson/users/milindsingh/users/milindsingh/users/dscripter)
+[#]: author: (Bryant Son https://opensource.com/users/brson/users/milindsingh/users/milindsingh/users/dscripter)
A beginner's guide to building DevOps pipelines with open source tools
======
diff --git a/sources/tech/20190408 Getting started with Python-s cryptography library.md b/sources/tech/20190408 Getting started with Python-s cryptography library.md
deleted file mode 100644
index 63eab6104f..0000000000
--- a/sources/tech/20190408 Getting started with Python-s cryptography library.md
+++ /dev/null
@@ -1,111 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Getting started with Python's cryptography library)
-[#]: via: (https://opensource.com/article/19/4/cryptography-python)
-[#]: author: (Moshe Zadka (Community Moderator) https://opensource.com/users/moshez)
-
-Getting started with Python's cryptography library
-======
-Encrypt your data and keep it safe from attackers.
-![lock on world map][1]
-
-The first rule of cryptography club is: never _invent_ a cryptography system yourself. The second rule of cryptography club is: never _implement_ a cryptography system yourself: many real-world holes are found in the _implementation_ phase of a cryptosystem as well as in the design.
-
-One useful library for cryptographic primitives in Python is called simply [**cryptography**][2]. It has both "secure" primitives as well as a "hazmat" layer. The "hazmat" layer requires care and knowledge of cryptography and it is easy to implement security holes using it. We will not cover anything in the "hazmat" layer in this introductory article!
-
-The most useful high-level secure primitive in **cryptography** is the Fernet implementation. Fernet is a standard for encrypting buffers in a way that follows best-practices cryptography. It is not suitable for very big files—anything in the gigabyte range and above—since it requires you to load the whole buffer that you want to encrypt or decrypt into memory at once.
-
-Fernet supports _symmetric_ , or _secret key_ , cryptography: the same key is used for encryption and decryption, and therefore must be kept safe.
-
-Generating a key is easy:
-
-
-```
->>> k = fernet.Fernet.generate_key()
->>> type(k)
-
-```
-
-Those bytes can be written to a file with appropriate permissions, ideally on a secure machine.
-
-Once you have key material, encrypting is easy as well:
-
-
-```
->>> frn = fernet.Fernet(k)
->>> encrypted = frn.encrypt(b"x marks the spot")
->>> encrypted[:10]
-b'gAAAAABb1'
-```
-
-You will get slightly different values if you encrypt on your machine. Not only because (I hope) you generated a different key from me, but because Fernet concatenates the value to be encrypted with some randomly generated buffer. This is one of the "best practices" I alluded to earlier: it will prevent an adversary from being able to tell which encrypted values are identical, which is sometimes an important part of an attack.
-
-Decryption is equally simple:
-
-
-```
->>> frn = fernet.Fernet(k)
->>> frn.decrypt(encrypted)
-b'x marks the spot'
-```
-
-Note that this only encrypts and decrypts _byte strings_. In order to encrypt and decrypt _text strings_ , they will need to be encoded and decoded, usually with [UTF-8][3].
-
-One of the most interesting advances in cryptography in the mid-20th century was _public key_ cryptography. It allows the encryption key to be published while the _decryption key_ is kept secret. It can, for example, be used to store API keys to be used by a server: the server is the only thing with access to the decryption key, but anyone can add to the store by using the public encryption key.
-
-While **cryptography** does not have any public key cryptographic _secure_ primitives, the [**PyNaCl**][4] library does. PyNaCl wraps and offers some nice ways to use the [**NaCl**][5] encryption system invented by Daniel J. Bernstein.
-
-NaCl always _encrypts_ and _signs_ or _decrypts_ and _verifies signatures_ simultaneously. This is a way to prevent malleability-based attacks, where an adversary modifies the encrypted value.
-
-Encryption is done with a public key, while signing is done with a secret key:
-
-
-```
->>> from nacl.public import PrivateKey, PublicKey, Box
->>> source = PrivateKey.generate()
->>> with open("target.pubkey", "rb") as fpin:
-... target_public_key = PublicKey(fpin.read())
->>> enc_box = Box(source, target_public_key)
->>> result = enc_box.encrypt(b"x marks the spot")
->>> result[:4]
-b'\xe2\x1c0\xa4'
-```
-
-Decryption reverses the roles: it needs the private key for decryption and the public key to verify the signature:
-
-
-```
->>> from nacl.public import PrivateKey, PublicKey, Box
->>> with open("source.pubkey", "rb") as fpin:
-... source_public_key = PublicKey(fpin.read())
->>> with open("target.private_key", "rb") as fpin:
-... target = PrivateKey(fpin.read())
->>> dec_box = Box(target, source_public_key)
->>> dec_box.decrypt(result)
-b'x marks the spot'
-```
-
-The [**PocketProtector**][6] library builds on top of PyNaCl and contains a complete secrets management solution.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/cryptography-python
-
-作者:[Moshe Zadka (Community Moderator)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/moshez
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/security-lock-cloud-safe.png?itok=yj2TFPzq (lock on world map)
-[2]: https://cryptography.io/en/latest/
-[3]: https://en.wikipedia.org/wiki/UTF-8
-[4]: https://pynacl.readthedocs.io/en/stable/
-[5]: https://nacl.cr.yp.to/
-[6]: https://github.com/SimpleLegal/pocket_protector/blob/master/USER_GUIDE.md
diff --git a/sources/tech/20190408 How to quickly deploy, run Linux applications as unikernels.md b/sources/tech/20190408 How to quickly deploy, run Linux applications as unikernels.md
deleted file mode 100644
index 6d65eaf369..0000000000
--- a/sources/tech/20190408 How to quickly deploy, run Linux applications as unikernels.md
+++ /dev/null
@@ -1,84 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to quickly deploy, run Linux applications as unikernels)
-[#]: via: (https://www.networkworld.com/article/3387299/how-to-quickly-deploy-run-linux-applications-as-unikernels.html#tk.rss_all)
-[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
-
-How to quickly deploy, run Linux applications as unikernels
-======
-Unikernels are a smaller, faster, and more secure option for deploying applications on cloud infrastructure. With NanoVMs OPS, anyone can run a Linux application as a unikernel with no additional coding.
-![Marcho Verch \(CC BY 2.0\)][1]
-
-Building and deploying lightweight apps is becoming an easier and more reliable process with the emergence of unikernels. While limited in functionality, unikernals offer many advantages in terms of speed and security.
-
-### What are unikernels?
-
-A unikernel is a very specialized single-address-space machine image that is similar to the kind of cloud applications that have come to dominate so much of the internet, but they are considerably smaller and are single-purpose. They are lightweight, providing only the resources needed. They load very quickly and are considerably more secure -- having a very limited attack surface. Any drivers, I/O routines and support libraries that are required are included in the single executable. The resultant virtual image can then be booted and run without anything else being present. And they will often run 10 to 20 times faster than a container.
-
-**[ Two-Minute Linux Tips:[Learn how to master a host of Linux commands in these 2-minute video tutorials][2] ]**
-
-Would-be attackers cannot drop into a shell and try to gain control because there is no shell. They can't try to grab the system's /etc/passwd or /etc/shadow files because these files don't exist. Creating a unikernel is much like turning your application into its own OS. With a unikernel, the application and the OS become a single entity. You omit what you don't need, thereby removing vulnerabilities and improving performance many times over.
-
-In short, unikernels:
-
- * Provide improved security (e.g., making shell code exploits impossible)
- * Have much smaller footprints then standard cloud apps
- * Are highly optimized
- * Boot extremely quickly
-
-
-
-### Are there any downsides to unikernels?
-
-The only serious downside to unikernels is that you have to build them. For many developers, this has been a giant step. Trimming down applications to just what is needed and then producing a tight, smoothly running application can be complex because of the application's low-level nature. In the past, you pretty much had to have been a systems developer or a low level programmer to generate them.
-
-### How is this changing?
-
-Just recently (March 24, 2019) [NanoVMs][3] announced a tool that loads any Linux application as a unikernel. Using NanoVMs OPS, anyone can run a Linux application as a unikernel with no additional coding. The application will also run faster, more safely and with less cost and overhead.
-
-### What is NanoVMs OPS?
-
-NanoVMs is a unikernel tool for developers. It allows you to run all sorts of enterprise class software yet still have extremely tight control over how it works.
-
-**[[Prepare to become a Certified Information Security Systems Professional with this comprehensive online course from PluralSight. Now offering a 10-day free trial!][4] ]**
-
-Other benefits associated with OPS include:
-
- * Developers need no prior experience or knowledge to build unikernels.
- * The tool can be used to build and run unikernels locally on a laptop.
- * No accounts need to be created and only a single download and one command is required to execute OPS.
-
-
-
-An intro to NanoVMs is available on [NanoVMs on youtube][5]. You can also check out the company's [LinkedIn page][6] and can read about NanoVMs security [here][7].
-
-Here is some information on how to [get started][8].
-
-Join the Network World communities on [Facebook][9] and [LinkedIn][10] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3387299/how-to-quickly-deploy-run-linux-applications-as-unikernels.html#tk.rss_all
-
-作者:[Sandra Henry-Stocker][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
-[b]: https://github.com/lujun9972
-[1]: https://images.idgesg.net/images/article/2019/04/corn-kernels-100792925-large.jpg
-[2]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
-[3]: https://nanovms.com/
-[4]: https://pluralsight.pxf.io/c/321564/424552/7490?u=https%3A%2F%2Fwww.pluralsight.com%2Fpaths%2Fcertified-information-systems-security-professional-cisspr
-[5]: https://www.youtube.com/watch?v=VHWDGhuxHPM
-[6]: https://www.linkedin.com/company/nanovms/
-[7]: https://nanovms.com/security
-[8]: https://nanovms.gitbook.io/ops/getting_started
-[9]: https://www.facebook.com/NetworkWorld/
-[10]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190409 5 Linux rookie mistakes.md b/sources/tech/20190409 5 Linux rookie mistakes.md
deleted file mode 100644
index ae7a0a2969..0000000000
--- a/sources/tech/20190409 5 Linux rookie mistakes.md
+++ /dev/null
@@ -1,54 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (5 Linux rookie mistakes)
-[#]: via: (https://opensource.com/article/19/4/linux-rookie-mistakes)
-[#]: author: (Jen Wike Huger (Red Hat) https://opensource.com/users/jen-wike/users/bcotton/users/petercheer/users/greg-p/users/greg-p)
-
-5 Linux rookie mistakes
-======
-Linux enthusiasts share some of the biggest mistakes they made.
-![magnifying glass on computer screen, finding a bug in the code][1]
-
-It's smart to learn new skills throughout your life—it keeps your mind nimble and makes you more competitive in the job market. But some skills are harder to learn than others, especially those where small rookie mistakes can cost you a lot of time and trouble when you're trying to fix them.
-
-Take learning [Linux][2], for example. If you're used to working in a Windows or MacOS graphical interface, moving to Linux, with its unfamiliar commands typed into a terminal, can have a big learning curve. But the rewards are worth it, as the millions and millions of people who have gone before you have proven.
-
-That said, the journey won't be without pitfalls. We asked some of Linux enthusiasts to think back to when they first started using Linux and tell us about the biggest mistakes they made.
-
-"Don't go into [any sort of command line interface (CLI) work] with an expectation that commands work in rational or consistent ways, as that is likely to lead to frustration. This is not due to poor design choices—though it can feel like it when you're banging your head against the proverbial desk—but instead reflects the fact that these systems have evolved and been added onto through generations of software and OS evolution. Go with the flow, write down or memorize the commands you need, and (try not to) get frustrated when [things aren't what you'd expect][3]." _—[Gina Likins][4]_
-
-"As easy as it might be to just copy and paste commands to make the thing go, read the command first and at least have a general understanding of the actions that are about to be performed. Especially if there is a pipe command. Double especially if there is more than one. There are a lot of destructive commands that look innocuous until you realize what they can do (e.g., **rm** , **dd** ), and you don't want to accidentally destroy things. (Ask me how I know.)" _—[Katie McLaughlin][5]_
-
-"Early on in my Linux journey, I wasn't as aware of the importance of knowing where you are in the filesystem. I was deleting some file in what I thought was my home directory, and I entered **sudo rm -rf *** and deleted all of the boot files on my system. Now, I frequently use **pwd** to ensure that I am where I think I am before issuing such commands. Fortunately for me, I was able to boot my wounded laptop with a USB drive and recover my files." _—[Don Watkins][6]_
-
-"Do not reset permissions on the entire file system to [777][7] because you think 'permissions are hard to understand' and you want an application to have access to something." _—[Matthew Helmke][8]_
-
-"I was removing a package from my system, and I did not check what other packages it was dependent upon. I just let it remove whatever it wanted and ended up causing some of my important programs to crash and become unavailable." _—[Kedar Vijay Kulkarni][9]_
-
-What mistakes have you made while learning to use Linux? Share them in the comments.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/linux-rookie-mistakes
-
-作者:[Jen Wike Huger (Red Hat)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/jen-wike/users/bcotton/users/petercheer/users/greg-p/users/greg-p
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/mistake_bug_fix_find_error.png?itok=PZaz3dga (magnifying glass on computer screen, finding a bug in the code)
-[2]: https://opensource.com/resources/linux
-[3]: https://lintqueen.com/2017/07/02/learning-while-frustrated/
-[4]: https://opensource.com/users/lintqueen
-[5]: https://opensource.com/users/glasnt
-[6]: https://opensource.com/users/don-watkins
-[7]: https://www.maketecheasier.com/file-permissions-what-does-chmod-777-means/
-[8]: https://twitter.com/matthewhelmke
-[9]: https://opensource.com/users/kkulkarn
diff --git a/sources/tech/20190409 5 open source mobile apps.md b/sources/tech/20190409 5 open source mobile apps.md
deleted file mode 100644
index 15378c29b8..0000000000
--- a/sources/tech/20190409 5 open source mobile apps.md
+++ /dev/null
@@ -1,131 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (5 open source mobile apps)
-[#]: via: (https://opensource.com/article/19/4/mobile-apps)
-[#]: author: (Chris Hermansen (Community Moderator) https://opensource.com/users/clhermansen/users/bcotton/users/clhermansen/users/bcotton/users/clhermansen)
-
-5 open source mobile apps
-======
-You can count on these apps to meet your needs for productivity,
-communication, and entertainment.
-![][1]
-
-Like most people in the world, I'm rarely further than an arm's reach from my smartphone. My Android device provides a seemingly limitless number of communication, productivity, and entertainment services thanks to the open source mobile apps I've installed from Google Play and F-Droid.
-
-Of the many open source apps on my phone, the following five are the ones I consistently turn to whether I want to listen to music; connect with friends, family, and colleagues; or get work done on the go.
-
-### MPDroid
-
-_An Android controller for the Music Player Daemon (MPD)_
-
-![MPDroid][2]
-
-MPD is a great way to get music from little music server computers out to the big black stereo boxes. It talks straight to ALSA and therefore to the Digital-to-Analog Converter ([DAC][3]) via the ALSA hardware interface, and it can be controlled over my network—but by what? Well, it turns out that MPDroid is a great MPD controller. It manages my music database, displays album art, handles playlists, and supports internet radio. And it's open source, so if something doesn't work…
-
-MPDroid is available on [Google Play][4] and [F-Droid][5].
-
-### RadioDroid
-
-_An Android internet radio tuner that I use standalone and with Chromecast_
-
-**
-
-**
-
-**
-
-_![RadioDroid][6]_
-
-RadioDroid is to internet radio as MPDroid is to managing my music database; essentially, RadioDroid is a frontend to [Internet-Radio.com][7]. Moreover, RadioDroid can be enjoyed by plugging headphones into the Android device, by connecting the Android device directly to the stereo via the headphone jack or USB, or by using its Chromecast capability with a compatible device. It's a fine way to check the weather in Finland, listen to the Spanish top 40, or hear the latest news from down under.
-
-RadioDroid is available on [Google Play][8] and [F-Droid][9].
-
-### Signal
-
-_A secure messaging client for Android, iOS, and desktop_
-
-**
-
-**
-
-**
-
-_![Signal][10]_
-
-If you like WhatsApp but are bothered by its [getting-closer-every-day][11] relationship to Facebook, Signal should be your next thing. The only problem with Signal is convincing your contacts they're better off replacing WhatsApp with Signal. But other than that, it has a similar interface; great voice and video calling; great encryption; decent anonymity; and it's supported by a foundation that doesn't plan to monetize your use of the software. What's not to like?
-
-Signal is available for [Android][12], [iOS][13], and [desktop][14].
-
-### ConnectBot
-
-_Android SSH client_
-
-**
-
-**
-
-**
-
-_![ConnectBot][15]_
-
-Sometimes I'm far away from my computer, but I need to log into the server to do something. [ConnectBot][16] is a great solution for moving SSH sessions onto my phone.
-
-ConnectBot is available on [Google Play][17].
-
-### Termux
-
-_Android terminal emulator with many familiar utilities_
-
-**
-
-**
-
-**
-
-_![Termux][18]_
-
-Have you ever needed to run an **awk** script on your phone? [Termux][19] is your solution. If you need to do terminal-type stuff, and you don't want to maintain an SSH connection to a remote computer the whole time, bring the files over to your phone with ConnectBot, quit the session, do your stuff in Termux, and send the results back with ConnectBot.
-
-Termux is available on [Google Play][20] and [F-Droid][21].
-
-* * *
-
-What are your favorite open source mobile apps for work or fun? Please share them in the comments.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/mobile-apps
-
-作者:[Chris Hermansen (Community Moderator)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/clhermansen/users/bcotton/users/clhermansen/users/bcotton/users/clhermansen
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/rh_003588_01_rd3os.combacktoschoolserieshe_rh_041x_0.png?itok=tfg6_I78
-[2]: https://opensource.com/sites/default/files/uploads/mpdroid.jpg (MPDroid)
-[3]: https://opensource.com/article/17/4/fun-new-gadget
-[4]: https://play.google.com/store/apps/details?id=com.namelessdev.mpdroid&hl=en_US
-[5]: https://f-droid.org/en/packages/com.namelessdev.mpdroid/
-[6]: https://opensource.com/sites/default/files/uploads/radiodroid.png (RadioDroid)
-[7]: https://www.internet-radio.com/
-[8]: https://play.google.com/store/apps/details?id=net.programmierecke.radiodroid2
-[9]: https://f-droid.org/en/packages/net.programmierecke.radiodroid2/
-[10]: https://opensource.com/sites/default/files/uploads/signal.png (Signal)
-[11]: https://opensource.com/article/19/3/open-messenger-client
-[12]: https://play.google.com/store/apps/details?id=org.thoughtcrime.securesms
-[13]: https://itunes.apple.com/us/app/signal-private-messenger/id874139669?mt=8
-[14]: https://signal.org/download/
-[15]: https://opensource.com/sites/default/files/uploads/connectbot.png (ConnectBot)
-[16]: https://connectbot.org/
-[17]: https://play.google.com/store/apps/details?id=org.connectbot
-[18]: https://opensource.com/sites/default/files/uploads/termux.jpg (Termux)
-[19]: https://termux.com/
-[20]: https://play.google.com/store/apps/details?id=com.termux
-[21]: https://f-droid.org/packages/com.termux/
diff --git a/sources/tech/20190409 Anbox - Easy Way To Run Android Apps On Linux.md b/sources/tech/20190409 Anbox - Easy Way To Run Android Apps On Linux.md
deleted file mode 100644
index c7b0ba82c8..0000000000
--- a/sources/tech/20190409 Anbox - Easy Way To Run Android Apps On Linux.md
+++ /dev/null
@@ -1,182 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Anbox – Easy Way To Run Android Apps On Linux)
-[#]: via: (https://www.2daygeek.com/anbox-best-android-emulator-for-linux/)
-[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
-
-Anbox – Easy Way To Run Android Apps On Linux
-======
-
-Android emulator applications are allow us to run our favorite Android apps or games directly from Linux system.
-
-There are many android emulators were available for Linux and we had covered few applications in the past.
-
-You can review those by navigating to the following URLs.
-
- * [How To Install Official Android Emulator (SDK) On Linux][1]
- * [How To Install GenyMotion (Android Emulator) On Linux][2]
-
-
-
-Today we are going to discuss about the Anbox Android emulator.
-
-### What Is Anbox?
-
-Anbox stands for Android in a box. Anbox is a container-based approach to boot a full Android system on a regular GNU/Linux system.
-
-It’s new and modern emulator among others.
-
-Since Anbox places the core Android OS into a container using Linux namespaces (LXE) so, there is no slowness while accessing the installed applications.
-
-Anbox will let you run Android on your Linux system without the slowness of virtualization because the core Android OS has placed into a container using Linux namespaces (LXE).
-
-There is no direct access to any hardware from the Android container. All hardware access are going through the anbox daemon on the host.
-
-Each applications will be open in a separate window, just like other native system applications, and it can be showing up in the launcher.
-
-### How To Install Anbox In Linux?
-
-Anbox application is available as snap package so, make sure you have enabled snap support on your system.
-
-Anbox package is recently added to the Ubuntu (Cosmic) and Debian (Buster) repositories. If you are running these version then you can easily install with help of official distribution package manager. Other wise go with snap package installation.
-
-Make sure the necessary kernel modules should be installed in your system in order to work Anbox. For Ubuntu based users, use the following PPA to install it.
-
-```
-$ sudo add-apt-repository ppa:morphis/anbox-support
-$ sudo apt update
-$ sudo apt install linux-headers-generic anbox-modules-dkms
-```
-
-After you installed the `anbox-modules-dkms` package you have to manually reload the kernel modules or system reboot is required.
-
-```
-$ sudo modprobe ashmem_linux
-$ sudo modprobe binder_linux
-```
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][3]** or **[APT Command][4]** to install anbox.
-
-```
-$ sudo apt install anbox
-```
-
-We always used to get package for Arch Linux based systems from AUR repository. So, use any of the **[AUR helper][5]** to install it. I prefer to go with **[Yay utility][6]**.
-
-```
-$ yuk -S anbox-git
-```
-
-If no, you can **[install and configure snaps in Linux][7]** by navigating to the following article. Others can ignore if you have already installed snaps on your system.
-
-```
-$ sudo snap install --devmode --beta anbox
-```
-
-### Prerequisites For Anbox
-
-By default, Anbox doesn’t ship with the Google Play Store.
-
-Hence, we need to manually download each application (APK) and install it using Android Debug Bridge (ADB).
-
-The ADB tool is readily available in most of the distributions repository so, we can easily install it.
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][3]** or **[APT Command][4]** to install ADB.
-
-```
-$ sudo apt install android-tools-adb
-```
-
-For **`Fedora`** system, use **[DNF Command][8]** to install ADB.
-
-```
-$ sudo dnf install android-tools
-```
-
-For **`Arch Linux`** based systems, use **[Pacman Command][9]** to install ADB.
-
-```
-$ sudo pacman -S android-tools
-```
-
-For **`openSUSE Leap`** system, use **[Zypper Command][10]** to install ADB.
-
-```
-$ sudo zypper install android-tools
-```
-
-### Where To Download The Android Apps?
-
-Since you can’t use the Play Store so, you have to download the APK packages from trusted sites like [APKMirror][11] then manually install it.
-
-### How To Launch Anbox?
-
-Anbox can be launched from the Dash. This is how the default Anbox looks.
-![][13]
-
-### How To Push The Apps Into Anbox?
-
-As i told previously, we need to manually install it. For testing purpose, we are going to install `YouTube` and `Firefox` apps.
-
-First, you need to start ADB server. To do so, run the following command.
-
-```
-$ adb devices
-```
-
-We have already downloaded the `YouTube` and `Firefox` apps and the same we will install now.
-
-**Common Syntax:**
-
-```
-$ adb install Name-Of-Your-Application.apk
-```
-
-Installing YouTube and Firefox app.
-
-```
-$ adb install 'com.google.android.youtube_14.13.54-1413542800_minAPI19(x86_64)(nodpi)_apkmirror.com.apk'
-Success
-
-$ adb install 'org.mozilla.focus_9.0-330191219_minAPI21(x86)(nodpi)_apkmirror.com.apk'
-Success
-```
-
-I have installed `YouTube` and `Firefox` in my Anbox. See the screenshot below.
-![][14]
-
-As we told in the beginning of the article, it will open any app as a new tab. Here, I’m going to open Firefox and accessing the **[2daygeek.com][15]** website.
-![][16]
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/anbox-best-android-emulator-for-linux/
-
-作者:[Magesh Maruthamuthu][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.2daygeek.com/author/magesh/
-[b]: https://github.com/lujun9972
-[1]: https://www.2daygeek.com/install-configure-sdk-android-emulator-on-linux/
-[2]: https://www.2daygeek.com/install-genymotion-android-emulator-on-ubuntu-debian-fedora-arch-linux/
-[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
-[4]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
-[5]: https://www.2daygeek.com/category/aur-helper/
-[6]: https://www.2daygeek.com/install-yay-yet-another-yogurt-aur-helper-on-arch-linux/
-[7]: https://www.2daygeek.com/linux-snap-package-manager-ubuntu/
-[8]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
-[9]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
-[10]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
-[11]: https://www.apkmirror.com/
-[12]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
-[13]: https://www.2daygeek.com/wp-content/uploads/2019/04/anbox-best-android-emulator-for-linux-1.jpg
-[14]: https://www.2daygeek.com/wp-content/uploads/2019/04/anbox-best-android-emulator-for-linux-2.jpg
-[15]: https://www.2daygeek.com/
-[16]: https://www.2daygeek.com/wp-content/uploads/2019/04/anbox-best-android-emulator-for-linux-3.jpg
diff --git a/sources/tech/20190409 How To Install And Configure Chrony As NTP Client.md b/sources/tech/20190409 How To Install And Configure Chrony As NTP Client.md
deleted file mode 100644
index 9f7eb5f66e..0000000000
--- a/sources/tech/20190409 How To Install And Configure Chrony As NTP Client.md
+++ /dev/null
@@ -1,225 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How To Install And Configure Chrony As NTP Client?)
-[#]: via: (https://www.2daygeek.com/configure-ntp-client-using-chrony-in-linux/)
-[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
-
-How To Install And Configure Chrony As NTP Client?
-======
-
-The NTP server and NTP client allow us to sync the clock across the network.
-
-We had written an article about **[NTP server and NTP client installation and configuration][1]** in the past.
-
-If you would like to check these, navigate to the above URL.
-
-### What Is Chrony Client?
-
-Chrony is replacement of NTP client.
-
-It can synchronize the system clock faster with better time accuracy and it can be particularly useful for the systems which are not online all the time.
-
-chronyd is smaller, it uses less memory and it wakes up the CPU only when necessary, which is better for power saving.
-
-It can perform well even when the network is congested for longer periods of time.
-
-It supports hardware timestamping on Linux, which allows extremely accurate synchronization on local networks.
-
-It offers following two services.
-
- * **`chronyc:`** Command line interface for chrony.
- * **`chronyd:`** Chrony daemon service.
-
-
-
-### How To Install And Configure Chrony In Linux?
-
-Since the package is available in most of the distributions official repository. So, use the package manager to install it.
-
-For **`Fedora`** system, use **[DNF Command][2]** to install chrony.
-
-```
-$ sudo dnf install chrony
-```
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][3]** or **[APT Command][4]** to install chrony.
-
-```
-$ sudo apt install chrony
-```
-
-For **`Arch Linux`** based systems, use **[Pacman Command][5]** to install chrony.
-
-```
-$ sudo pacman -S chrony
-```
-
-For **`RHEL/CentOS`** systems, use **[YUM Command][6]** to install chrony.
-
-```
-$ sudo yum install chrony
-```
-
-For **`openSUSE Leap`** system, use **[Zypper Command][7]** to install chrony.
-
-```
-$ sudo zypper install chrony
-```
-
-In this article, we are going to use the following setup to test this.
-
- * **`NTP Server:`** HostName: CentOS7.2daygeek.com, IP:192.168.1.5, OS:CentOS 7
- * **`Chrony Client:`** HostName: Ubuntu18.2daygeek.com, IP:192.168.1.3, OS:Ubuntu 18.04
-
-
-
-Navigate to the following URL for **[NTP server installation and configuration in Linux][1]**.
-
-I have installed and configured the NTP server on `CentOS7.2daygeek.com` so, append the same into all the client machines. Also, include the other required information on it.
-
-The `chrony.conf` file will be placed in the different locations based on your distribution.
-
-For RHEL based systems, it’s located at `/etc/chrony.conf`.
-
-For Debian based systems, it’s located at `/etc/chrony/chrony.conf`.
-
-```
-# vi /etc/chrony/chrony.conf
-
-server CentOS7.2daygeek.com prefer iburst
-keyfile /etc/chrony/chrony.keys
-driftfile /var/lib/chrony/chrony.drift
-logdir /var/log/chrony
-maxupdateskew 100.0
-makestep 1 3
-cmdallow 192.168.1.0/24
-```
-
-Bounce the Chrony service once you update the configuration.
-
-For sysvinit systems. For RHEL based system we need to run `chronyd` instead of chrony.
-
-```
-# service chrony restart
-
-# chkconfig chrony on
-```
-
-For systemctl systems. For RHEL based system we need to run `chronyd` instead of chrony.
-
-```
-# systemctl restart chrony
-
-# systemctl enable chrony
-```
-
-Use the following commands like tacking, sources and sourcestats to check chrony synchronization details.
-
-To check chrony tracking status.
-
-```
-# chronyc tracking
-Reference ID : C0A80105 (CentOS7.2daygeek.com)
-Stratum : 3
-Ref time (UTC) : Thu Mar 28 05:57:27 2019
-System time : 0.000002545 seconds slow of NTP time
-Last offset : +0.001194361 seconds
-RMS offset : 0.001194361 seconds
-Frequency : 1.650 ppm fast
-Residual freq : +184.101 ppm
-Skew : 2.962 ppm
-Root delay : 0.107966967 seconds
-Root dispersion : 1.060455322 seconds
-Update interval : 2.0 seconds
-Leap status : Normal
-```
-
-Run the sources command to displays information about the current time sources.
-
-```
-# chronyc sources
-210 Number of sources = 1
-MS Name/IP address Stratum Poll Reach LastRx Last sample
-===============================================================================
-^* CentOS7.2daygeek.com 2 6 17 62 +36us[+1230us] +/- 1111ms
-```
-
-The sourcestats command displays information about the drift rate and offset estimation process for each of the sources currently being examined by chronyd.
-
-```
-# chronyc sourcestats
-210 Number of sources = 1
-Name/IP Address NP NR Span Frequency Freq Skew Offset Std Dev
-==============================================================================
-CentOS7.2daygeek.com 5 3 71 -97.314 78.754 -469us 441us
-```
-
-When chronyd is configured as an NTP client or peer, you can have the transmit and receive timestamping modes and the interleaved mode reported for each NTP source by the chronyc ntpdata command.
-
-```
-# chronyc ntpdata
-
-Remote address : 192.168.1.5 (C0A80105)
-Remote port : 123
-Local address : 192.168.1.3 (C0A80103)
-Leap status : Normal
-Version : 4
-Mode : Server
-Stratum : 2
-Poll interval : 6 (64 seconds)
-Precision : -23 (0.000000119 seconds)
-Root delay : 0.108994 seconds
-Root dispersion : 0.076523 seconds
-Reference ID : 85F3EEF4 ()
-Reference time : Thu Mar 28 06:43:35 2019
-Offset : +0.000160221 seconds
-Peer delay : 0.000664478 seconds
-Peer dispersion : 0.000000178 seconds
-Response time : 0.000243252 seconds
-Jitter asymmetry: +0.00
-NTP tests : 111 111 1111
-Interleaved : No
-Authenticated : No
-TX timestamping : Kernel
-RX timestamping : Kernel
-Total TX : 46
-Total RX : 46
-Total valid RX : 46
-```
-
-Finally run the `date` command.
-
-```
-# date
-Thu Mar 28 03:08:11 CDT 2019
-```
-
-To step the system clock immediately, bypassing any adjustments in progress by slewing, issue the following command as root (To adjust the system clock manually).
-
-```
-# chronyc makestep
-```
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/configure-ntp-client-using-chrony-in-linux/
-
-作者:[Magesh Maruthamuthu][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.2daygeek.com/author/magesh/
-[b]: https://github.com/lujun9972
-[1]: https://www.2daygeek.com/install-configure-ntp-server-ntp-client-in-linux/
-[2]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
-[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
-[4]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
-[5]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
-[6]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
-[7]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
diff --git a/sources/tech/20190409 How To Install And Configure NTP Server And NTP Client In Linux.md b/sources/tech/20190409 How To Install And Configure NTP Server And NTP Client In Linux.md
deleted file mode 100644
index f243fad898..0000000000
--- a/sources/tech/20190409 How To Install And Configure NTP Server And NTP Client In Linux.md
+++ /dev/null
@@ -1,262 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How To Install And Configure NTP Server And NTP Client In Linux?)
-[#]: via: (https://www.2daygeek.com/install-configure-ntp-server-ntp-client-in-linux/)
-[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
-
-How To Install And Configure NTP Server And NTP Client In Linux?
-======
-
-You might heard this word many times and also you might had worked on this.
-
-However, i will tell you clearly in this article about NTP Server setup and NTP Client setup
-
-We will see about **[Chrony NTP Client setup][1]** later.
-
-### What Is NTP Server?
-
-NTP stands for Network Time Protocol.
-
-It is a networking protocol that synchronize the clock between computer systems over the network.
-
-In other hand I can say. It will keep the same time (It keep an accurate time) to all the systems which are connected to NTP server through NTP or Chrony client.
-
-NTP can usually maintain time to within tens of milliseconds over the public Internet, and can achieve better than one millisecond accuracy in local area networks under ideal conditions.
-
-It uses User Datagram Protocol (UDP) on port number 123 for send and receive timestamps. It’s a client/server application.
-
-It send and receive timestamps using the User Datagram Protocol (UDP) on port number 123.
-
-### What Is NTP Client?
-
-NTP client will synchronize its clock to the network time server.
-
-### What Is Chrony Client?
-
-Chrony is replacement of NTP client. It can synchronize the system clock faster with better time accuracy and it can be particularly useful for the systems which are not online all the time.
-
-### Why We Need NTP Server?
-
-To keep all the servers in your organization in-sync with an accurate time to perform time based jobs.
-
-To clarify this, I will tell you a scenario. Say for example, we have two servers (Server1 and Server2). The server1 usually complete the batch jobs at 10:55 then the server2 needs to run another job at 11:00 based on the server1 job completion report.
-
-If both the system is using in a different time (if one system is ahead of the others, the others are behind that particular one) then we can’t perform this. To achieve this, we should setup NTP. Hope it cleared your doubts about NTP.
-
-In this article, we are going to use the following setup to test this.
-
- * **`NTP Server:`** HostName: CentOS7.2daygeek.com, IP:192.168.1.8, OS:CentOS 7
- * **`NTP Client:`** HostName: Ubuntu18.2daygeek.com, IP:192.168.1.5, OS:Ubuntu 18.04
-
-
-
-### NTP SERVER SIDE: How To Install NTP Server In Linux?
-
-There is no different packages for NTP server and NTP client since it’s a client/server model. The NTP package is available in distribution official repository so, use the distribution package manger to install it.
-
-For **`Fedora`** system, use **[DNF Command][2]** to install ntp.
-
-```
-$ sudo dnf install ntp
-```
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][3]** or **[APT Command][4]** to install ntp.
-
-```
-$ sudo apt install ntp
-```
-
-For **`Arch Linux`** based systems, use **[Pacman Command][5]** to install ntp.
-
-```
-$ sudo pacman -S ntp
-```
-
-For **`RHEL/CentOS`** systems, use **[YUM Command][6]** to install ntp.
-
-```
-$ sudo yum install ntp
-```
-
-For **`openSUSE Leap`** system, use **[Zypper Command][7]** to install ntp.
-
-```
-$ sudo zypper install ntp
-```
-
-### How To Configure The NTP Server In Linux?
-
-Once you have installed the NTP package, make sure you have to uncomment the following configuration in the `/etc/ntp.conf` file on server side.
-
-By default the NTP server configuration relies on `X.distribution_name.pool.ntp.org`. If you want you can use the default configuration or you can change it as per your location (country specific) by visiting site.
-
-Say for example. If you are in India then your NTP server will be `0.in.pool.ntp.org` and it will work for most of the countries.
-
-```
-# vi /etc/ntp.conf
-
-restrict default kod nomodify notrap nopeer noquery
-restrict -6 default kod nomodify notrap nopeer noquery
-restrict 127.0.0.1
-restrict -6 ::1
-server 0.asia.pool.ntp.org
-server 1.asia.pool.ntp.org
-server 2.asia.pool.ntp.org
-server 3.asia.pool.ntp.org
-restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap
-driftfile /var/lib/ntp/drift
-keys /etc/ntp/keys
-```
-
-We have allowed only `192.168.1.0/24` subnet clients to access the NTP server.
-
-Since firewall is enabled by default on RHEL 7 based distributions so, allow the ntp server/service.
-
-```
-# firewall-cmd --add-service=ntp --permanent
-# firewall-cmd --reload
-```
-
-Bounce the service once you update the configuration.
-
-For sysvinit systems. For Debian based system we need to run `ntp` instead of ntpd.
-
-```
-# service ntpd restart
-
-# chkconfig ntpd on
-```
-
-For systemctl systems. For Debian based system we need to run `ntp` instead of ntpd.
-
-```
-# systemctl restart ntpd
-
-# systemctl enable ntpd
-```
-
-### NTP CLIENT SIDE: How To Install NTP Client On Linux?
-
-As I mentioned earlier in this article. There is no specific package for NTP server and client. So, install the same package on client also.
-
-For **`Fedora`** system, use **[DNF Command][2]** to install ntp.
-
-```
-$ sudo dnf install ntp
-```
-
-For **`Debian/Ubuntu`** systems, use **[APT-GET Command][3]** or **[APT Command][4]** to install ntp.
-
-```
-$ sudo apt install ntp
-```
-
-For **`Arch Linux`** based systems, use **[Pacman Command][5]** to install ntp.
-
-```
-$ sudo pacman -S ntp
-```
-
-For **`RHEL/CentOS`** systems, use **[YUM Command][6]** to install ntp.
-
-```
-$ sudo yum install ntp
-```
-
-For **`openSUSE Leap`** system, use **[Zypper Command][7]** to install ntp.
-
-```
-$ sudo zypper install ntp
-```
-
-I have installed and configured the NTP server on `CentOS7.2daygeek.com` so, append the same into all the client machines.
-
-```
-# vi /etc/ntp.conf
-
-restrict default kod nomodify notrap nopeer noquery
-restrict -6 default kod nomodify notrap nopeer noquery
-restrict 127.0.0.1
-restrict -6 ::1
-server CentOS7.2daygeek.com prefer iburst
-driftfile /var/lib/ntp/drift
-keys /etc/ntp/keys
-```
-
-Bounce the service once you update the configuration.
-
-For sysvinit systems. For Debian based system we need to run `ntp` instead of ntpd.
-
-```
-# service ntpd restart
-
-# chkconfig ntpd on
-```
-
-For systemctl systems. For Debian based system we need to run `ntp` instead of ntpd.
-
-```
-# systemctl restart ntpd
-
-# systemctl enable ntpd
-```
-
-Wait for few minutes post restart of the NTP service to get synchronize time from the NTP server.
-
-Run the following commands to verify the NTP server synchronization status on Linux.
-
-```
-# ntpq –p
-Or
-# ntpq -pn
-
- remote refid st t when poll reach delay offset jitter
-==============================================================================
-*CentOS7.2daygee 133.243.238.163 2 u 14 64 37 0.686 0.151 16.432
-```
-
-Run the following command to get the current status of ntpd.
-
-```
-# ntpstat
-synchronised to NTP server (192.168.1.8) at stratum 3
- time correct to within 508 ms
- polling server every 64 s
-```
-
-Finally run the `date` command.
-
-```
-# date
-Tue Mar 26 23:17:05 CDT 2019
-```
-
-If you are observing a significant offset in the NTP output. Run the following command to sync clock manually from the NTP server. Make sure that your NTP client should be inactive state when you perform the command.
-
-```
-# ntpdate –uv CentOS7.2daygeek.com
-```
-
---------------------------------------------------------------------------------
-
-via: https://www.2daygeek.com/install-configure-ntp-server-ntp-client-in-linux/
-
-作者:[Magesh Maruthamuthu][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.2daygeek.com/author/magesh/
-[b]: https://github.com/lujun9972
-[1]: https://www.2daygeek.com/configure-ntp-client-using-chrony-in-linux/
-[2]: https://www.2daygeek.com/dnf-command-examples-manage-packages-fedora-system/
-[3]: https://www.2daygeek.com/apt-get-apt-cache-command-examples-manage-packages-debian-ubuntu-systems/
-[4]: https://www.2daygeek.com/apt-command-examples-manage-packages-debian-ubuntu-systems/
-[5]: https://www.2daygeek.com/pacman-command-examples-manage-packages-arch-linux-system/
-[6]: https://www.2daygeek.com/yum-command-examples-manage-packages-rhel-centos-systems/
-[7]: https://www.2daygeek.com/zypper-command-examples-manage-packages-opensuse-system/
diff --git a/sources/tech/20190409 The Microsoft-BMW IoT Open Manufacturing Platform might not be so open.md b/sources/tech/20190409 The Microsoft-BMW IoT Open Manufacturing Platform might not be so open.md
deleted file mode 100644
index c74f61efe4..0000000000
--- a/sources/tech/20190409 The Microsoft-BMW IoT Open Manufacturing Platform might not be so open.md
+++ /dev/null
@@ -1,69 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (The Microsoft/BMW IoT Open Manufacturing Platform might not be so open)
-[#]: via: (https://www.networkworld.com/article/3387642/the-microsoftbmw-iot-open-manufacturing-platform-might-not-be-so-open.html#tk.rss_all)
-[#]: author: (Fredric Paul https://www.networkworld.com/author/Fredric-Paul/)
-
-The Microsoft/BMW IoT Open Manufacturing Platform might not be so open
-======
-The new industrial IoT Open Manufacturing Platform from Microsoft and BMW runs only on Microsoft Azure. That could be an issue.
-![Martyn Williams][1]
-
-Last week at [Hannover Messe][2], Microsoft and German carmaker BMW announced a partnership to build a hardware and software technology framework and reference architecture for the industrial internet of things (IoT), and foster a community to spread these smart-factory solutions across the automotive and manufacturing industries.
-
-The stated goal of the [Open Manufacturing Platform (OMP)][3]? According to the press release, it's “to drive open industrial IoT development and help grow a community to build future [Industry 4.0][4] solutions.” To make that a reality, the companies said that by the end of 2019, they plan to attract four to six partners — including manufacturers and suppliers from both inside and outside the automotive industry — and to have rolled out at least 15 use cases operating in actual production environments.
-
-**[ Read also:[An inside look at an IIoT-powered smart factory][5] | Get regularly scheduled insights: [Sign up for Network World newsletters][6] ]**
-
-### Complex and proprietary is bad for IoT
-
-It sounds like a great idea, right? As the companies rightly point out, many of today’s industrial IoT solutions rely on “complex, proprietary systems that create data silos and slow productivity.” Who wouldn’t want to “standardize data models that enable analytics and machine learning scenarios” and “accelerate future industrial IoT developments, shorten time to value, and drive production efficiencies while addressing common industrial challenges”?
-
-But before you get too excited, let’s talk about a key word in the effort: open. As Scott Guthrie, executive vice president of Microsoft Cloud + AI Group, said in a statement, "Our commitment to building an open community will create new opportunities for collaboration across the entire manufacturing value chain."
-
-### The Open Manufacturing Platform is open only to Microsoft Azure
-
-However, that will happen as long as all that collaboration occurs in Microsoft Azure. I’m not saying Azure isn’t up to the task, but it’s hardly the only (or even the leading) cloud platform interested in the industrial IoT. Putting everything in Azure might be an issue to those potential OMP partners. It’s an “open” question as to how many companies already invested in Amazon Web Services (AWS) or the Google Cloud Platform (GCP) will be willing to make the switch or go multi-cloud just to take advantage of the OMP.
-
-My guess is that Microsoft and BMW won’t have too much trouble meeting their initial goals for the OMP. It shouldn’t be that hard to get a handful of existing Azure customers to come up with 15 use cases leveraging advances in analytics, artificial intelligence (AI), and digital feedback loops. (As an example, the companies cited the autonomous transport systems in BMW’s factory in Regensburg, Germany, part of the more than 3,000 machines, robots and transport systems connected with the BMW Group’s IoT platform, which — naturally — is built on Microsoft Azure's cloud.)
-
-### Will non-Azure users jump on board the OMP?
-
-The question is whether tying all this to a single cloud provider will affect the effort to attract enough new companies — including companies not currently using Azure — to establish a truly viable open platform?
-
-Perhaps [Stacey Higginbotham at Stacy on IoT put it best][7]:
-
-> “What they really launched is a reference design for manufacturers to work from.”
-
-That’s not nothing, of course, but it’s a lot less ambitious than building a new industrial IoT platform. And it may not easily fulfill the vision of a community working together to create shared solutions that benefit everyone.
-
-**[ Now read this:[Why are IoT platforms so darn confusing?][8] ]**
-
-Join the Network World communities on [Facebook][9] and [LinkedIn][10] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3387642/the-microsoftbmw-iot-open-manufacturing-platform-might-not-be-so-open.html#tk.rss_all
-
-作者:[Fredric Paul][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Fredric-Paul/
-[b]: https://github.com/lujun9972
-[1]: https://images.techhive.com/images/article/2017/01/20170107_105344-100702818-large.jpg
-[2]: https://www.hannovermesse.de/home
-[3]: https://www.prnewswire.co.uk/news-releases/microsoft-and-the-bmw-group-launch-the-open-manufacturing-platform-859672858.html
-[4]: https://en.wikipedia.org/wiki/Industry_4.0
-[5]: https://www.networkworld.com/article/3384378/an-inside-look-at-tempo-automations-iiot-powered-smart-factory.html
-[6]: https://www.networkworld.com/newsletters/signup.html
-[7]: https://mailchi.mp/iotpodcast/stacey-on-iot-industrial-iot-reminds-me-of-apples-ecosystem?e=6bf9beb394
-[8]: https://www.networkworld.com/article/3336166/why-are-iot-platforms-so-darn-confusing.html
-[9]: https://www.facebook.com/NetworkWorld/
-[10]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190410 How to enable serverless computing in Kubernetes.md b/sources/tech/20190410 How to enable serverless computing in Kubernetes.md
index 52b75df6e2..75e5a5868d 100644
--- a/sources/tech/20190410 How to enable serverless computing in Kubernetes.md
+++ b/sources/tech/20190410 How to enable serverless computing in Kubernetes.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How to enable serverless computing in Kubernetes)
[#]: via: (https://opensource.com/article/19/4/enabling-serverless-kubernetes)
-[#]: author: (Daniel Oh (Red Hat, Community Moderator) https://opensource.com/users/daniel-oh/users/daniel-oh)
+[#]: author: (Daniel Oh https://opensource.com/users/daniel-oh/users/daniel-oh)
How to enable serverless computing in Kubernetes
======
diff --git a/sources/tech/20190410 How we built a Linux desktop app with Electron.md b/sources/tech/20190410 How we built a Linux desktop app with Electron.md
deleted file mode 100644
index eb11c65614..0000000000
--- a/sources/tech/20190410 How we built a Linux desktop app with Electron.md
+++ /dev/null
@@ -1,101 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How we built a Linux desktop app with Electron)
-[#]: via: (https://opensource.com/article/19/4/linux-desktop-electron)
-[#]: author: (Nils Ganther https://opensource.com/users/nils-ganther)
-
-How we built a Linux desktop app with Electron
-======
-A story of building an open source email service that runs natively on
-Linux desktops, thanks to the Electron framework.
-![document sending][1]
-
-[Tutanota][2] is a secure, open source email service that's been available as an app for the browser, iOS, and Android. The client code is published under GPLv3 and the Android app is available on [F-Droid][3] to enable everyone to use a completely Google-free version.
-
-Because Tutanota focuses on open source and develops on Linux clients, we wanted to release a desktop app for Linux and other platforms. Being a small team, we quickly ruled out building native apps for Linux, Windows, and MacOS and decided to adapt our app using [Electron][4].
-
-Electron is the go-to choice for anyone who wants to ship visually consistent, cross-platform applications, fast—especially if there's already a web app that needs to be freed from the shackles of the browser API. Tutanota is exactly such a case.
-
-Tutanota is based on [SystemJS][5] and [Mithril][6] and aims to offer simple, secure email communications for everybody. As such, it has to provide a lot of the standard features users expect from any email client.
-
-Some of these features, like basic push notifications, search for text and contacts, and support for two-factor authentication are easy to offer in the browser thanks to modern APIs and standards. Other features (such as automatic backups or IMAP support without involving our servers) need less-restricted access to system resources, which is exactly what the Electron framework provides.
-
-While some criticize Electron as "just a basic wrapper," it has obvious benefits:
-
- * Electron enables you to adapt a web app quickly for Linux, Windows, and MacOS desktops. In fact, most Linux desktop apps are built with Electron.
- * Electron enables you to easily bring the desktop client to feature parity with the web app.
- * Once you've published the desktop app, you can use free development capacity to add desktop-specific features that enhance usability and security.
- * And last but certainly not least, it's a great way to make the app feel native and integrated into the user's system while maintaining its identity.
-
-
-
-### Meeting users' needs
-
-At Tutanota, we do not rely on big investor money, rather we are a community-driven project. We grow our team organically based on the increasing number of users upgrading to our freemium service's paid plans. Listening to what users want is not only important to us, it is essential to our success.
-
-Offering a desktop client was users' [most-wanted feature][7] in Tutanota, and we are proud that we can now offer free beta desktop clients to all of our users. (We also implemented another highly requested feature—[search on encrypted data][8]—but that's a topic for another time.)
-
-We liked the idea of providing users with signed versions of Tutanota and enabling functions that are impossible in the browser, such as push notifications via a background process. Now we plan to add more desktop-specific features, such as IMAP support without depending on our servers to act as a proxy, automatic backups, and offline availability.
-
-We chose Electron because its combination of Chromium and Node.js promised to be the best fit for our small development team, as it required only minimal changes to our web app. It was particularly helpful to use the browser APIs for everything as we got started, slowly replacing those components with more native versions as we progressed. This approach was especially handy with attachment downloads and notifications.
-
-### Tuning security
-
-We were aware that some people cite security problems with Electron, but we found Electron's options for fine-tuning access in the web app quite satisfactory. You can use resources like the Electron's [security documentation][9] and Luca Carettoni's [Electron Security Checklist][10] to help prevent catastrophic mishaps with untrusted content in your web app.
-
-### Achieving feature parity
-
-The Tutanota web client was built from the start with a solid protocol for interprocess communication. We utilize web workers to keep user interface (UI) rendering responsive while encrypting and requesting data. This came in handy when we started implementing our mobile apps, which use the same protocol to communicate between the native part and the web view.
-
-That's why when we started building the desktop clients, a lot of bindings for things like native push notifications, opening mailboxes, and working with the filesystem were already there, so only the native (node) side had to be implemented.
-
-Another convenience was our build process using the [Babel transpiler][11], which allows us to write the entire codebase in modern ES6 JavaScript and mix-and-match utility modules between the different environments. This enabled us to speedily adapt the code for the Electron-based desktop apps. However, we encountered some challenges.
-
-### Overcoming challenges
-
-While Electron allows us to integrate with the different platforms' desktop environments pretty easily, you can't underestimate the time investment to get things just right! In the end, it was these little things that took up much more time than we expected but were also crucial to finish the desktop client project.
-
-The places where platform-specific code was necessary caused most of the friction:
-
- * Window management and the tray, for example, are still handled in subtly different ways on the three platforms.
- * Registering Tutanota as the default mail program and setting up autostart required diving into the Windows Registry while making sure to prompt the user for admin access in a [UAC][12]-compatible way.
- * We needed to use Electron's API for shortcuts and menus to offer even standard features like copy, paste, undo, and redo.
-
-
-
-This process was complicated a bit by users' expectations of certain, sometimes not directly compatible behavior of the apps on different platforms. Making the three versions feel native required some iteration and even some modest additions to the web app to offer a text search similar to the one in the browser.
-
-### Wrapping up
-
-Our experience with Electron was largely positive, and we completed the project in less than four months. Despite some rather time-consuming features, we were surprised about the ease with which we could ship a beta version of the [Tutanota desktop client for Linux][13]. If you're interested, you can dive into the source code on [GitHub][14].
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/linux-desktop-electron
-
-作者:[Nils Ganther][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/nils-ganther
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/email_paper_envelope_document.png?itok=uPj_kouJ (document sending)
-[2]: https://tutanota.com/
-[3]: https://f-droid.org/en/packages/de.tutao.tutanota/
-[4]: https://electronjs.org/
-[5]: https://github.com/systemjs/systemjs
-[6]: https://mithril.js.org/
-[7]: https://tutanota.uservoice.com/forums/237921-general/filters/top?status_id=1177482
-[8]: https://tutanota.com/blog/posts/first-search-encrypted-data/
-[9]: https://electronjs.org/docs/tutorial/security
-[10]: https://www.blackhat.com/docs/us-17/thursday/us-17-Carettoni-Electronegativity-A-Study-Of-Electron-Security-wp.pdf
-[11]: https://babeljs.io/
-[12]: https://en.wikipedia.org/wiki/User_Account_Control
-[13]: https://tutanota.com/blog/posts/desktop-clients/
-[14]: https://www.github.com/tutao/tutanota
diff --git a/sources/tech/20190410 Managing Partitions with sgdisk.md b/sources/tech/20190410 Managing Partitions with sgdisk.md
deleted file mode 100644
index b42fef82af..0000000000
--- a/sources/tech/20190410 Managing Partitions with sgdisk.md
+++ /dev/null
@@ -1,94 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: (geekpi)
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Managing Partitions with sgdisk)
-[#]: via: (https://fedoramagazine.org/managing-partitions-with-sgdisk/)
-[#]: author: (Gregory Bartholomew https://fedoramagazine.org/author/glb/)
-
-Managing Partitions with sgdisk
-======
-
-![][1]
-
-[Roderick W. Smith][2]‘s _sgdisk_ command can be used to manage the partitioning of your hard disk drive from the command line. The basics that you need to get started with it are demonstrated below.
-
-The following six parameters are all that you need to know to make use of sgdisk’s most basic features:
-
- 1. **-p**
-_Print_ the partition table:
-### sgdisk -p /dev/sda
- 2. **-d x**
-_Delete_ partition x:
-### sgdisk -d 1 /dev/sda
- 3. **-n x:y:z**
-Create a _new_ partition numbered x, starting at y and ending at z:
-### sgdisk -n 1:1MiB:2MiB /dev/sda
- 4. **-c x:y**
-_Change_ the name of partition x to y:
-### sgdisk -c 1:grub /dev/sda
- 5. **-t x:y**
-Change the _type_ of partition x to y:
-### sgdisk -t 1:ef02 /dev/sda
- 6. **–list-types**
-List the partition type codes:
-### sgdisk --list-types
-
-
-
-![The SGDisk Command][3]
-
-As you can see in the above examples, most of the commands require that the [device file name][4] of the hard disk drive to operate on be specified as the last parameter.
-
-The parameters shown above can be combined so that you can completely define a partition with a single run of the sgdisk command:
-
-### sgdisk -n 1:1MiB:2MiB -t 1:ef02 -c 1:grub /dev/sda
-
-Relative values can be specified for some fields by prefixing the value with a **+** or **–** symbol. If you use a relative value, sgdisk will do the math for you. For example, the above example could be written as:
-
-### sgdisk -n 1:1MiB:+1MiB -t 1:ef02 -c 1:grub /dev/sda
-
-The value **0** has a special-case meaning for several of the fields:
-
- * In the _partition number_ field, 0 indicates that the next available number should be used (numbering starts at 1).
- * In the _starting address_ field, 0 indicates that the start of the largest available block of free space should be used. Some space at the start of the hard drive is always reserved for the partition table itself.
- * In the _ending address_ field, 0 indicates that the end of the largest available block of free space should be used.
-
-
-
-By using **0** and relative values in the appropriate fields, you can create a series of partitions without having to pre-calculate any absolute values. For example, the following sequence of sgdisk commands would create all the basic partitions that are needed for a typical Linux installation if in run sequence against a blank hard drive:
-
-### sgdisk -n 0:0:+1MiB -t 0:ef02 -c 0:grub /dev/sda
-### sgdisk -n 0:0:+1GiB -t 0:ea00 -c 0:boot /dev/sda
-### sgdisk -n 0:0:+4GiB -t 0:8200 -c 0:swap /dev/sda
-### sgdisk -n 0:0:0 -t 0:8300 -c 0:root /dev/sda
-
-The above example shows how to partition a hard disk for a BIOS-based computer. The [grub partition][5] is not needed on a UEFI-based computer. Because sgdisk is calculating all the absolute values for you in the above example, you can just skip running the first command on a UEFI-based computer and the remaining commands can be run without modification. Likewise, you could skip creating the swap partition and the remaining commands would not need to be modified.
-
-There is also a short-cut for deleting all the partitions from a hard disk with a single command:
-
-### sgdisk --zap-all /dev/sda
-
-For the most up-to-date and detailed information, check the man page:
-
-$ man sgdisk
-
---------------------------------------------------------------------------------
-
-via: https://fedoramagazine.org/managing-partitions-with-sgdisk/
-
-作者:[Gregory Bartholomew][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fedoramagazine.org/author/glb/
-[b]: https://github.com/lujun9972
-[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/managing-partitions-816x345.png
-[2]: https://www.rodsbooks.com/
-[3]: https://fedoramagazine.org/wp-content/uploads/2019/04/sgdisk.jpg
-[4]: https://en.wikipedia.org/wiki/Device_file
-[5]: https://en.wikipedia.org/wiki/BIOS_boot_partition
diff --git a/sources/tech/20190411 Be your own certificate authority.md b/sources/tech/20190411 Be your own certificate authority.md
deleted file mode 100644
index de35385097..0000000000
--- a/sources/tech/20190411 Be your own certificate authority.md
+++ /dev/null
@@ -1,135 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Be your own certificate authority)
-[#]: via: (https://opensource.com/article/19/4/certificate-authority)
-[#]: author: (Moshe Zadka (Community Moderator) https://opensource.com/users/moshez/users/elenajon123)
-
-Be your own certificate authority
-======
-Create a simple, internal CA for your microservice architecture or
-integration testing.
-![][1]
-
-The Transport Layer Security ([TLS][2]) model, which is sometimes referred to by the older name SSL, is based on the concept of [certificate authorities][3] (CAs). These authorities are trusted by browsers and operating systems and, in turn, _sign_ servers' certificates to validate their ownership.
-
-However, for an intranet, a microservice architecture, or integration testing, it is sometimes useful to have a _local CA_ : one that is trusted only internally and, in turn, signs local servers' certificates.
-
-This especially makes sense for integration tests. Getting certificates can be a burden because the servers will be up for minutes. But having an "ignore certificate" option in the code could allow it to be activated in production, leading to a security catastrophe.
-
-A CA certificate is not much different from a regular server certificate; what matters is that it is trusted by local code. For example, in the **requests** library, this can be done by setting the **REQUESTS_CA_BUNDLE** variable to a directory containing this certificate.
-
-In the example of creating a certificate for integration tests, there is no need for a _long-lived_ certificate: if your integration tests take more than a day, you have already failed.
-
-So, calculate **yesterday** and **tomorrow** as the validity interval:
-
-
-```
->>> import datetime
->>> one_day = datetime.timedelta(days=1)
->>> today = datetime.date.today()
->>> yesterday = today - one_day
->>> tomorrow = today - one_day
-```
-
-Now you are ready to create a simple CA certificate. You need to generate a private key, create a public key, set up the "parameters" of the CA, and then self-sign the certificate: a CA certificate is _always_ self-signed. Finally, write out both the certificate file as well as the private key file.
-
-
-```
-from cryptography.hazmat.primitives.asymmetric import rsa
-from cryptography.hazmat.primitives import hashes, serialization
-from cryptography import x509
-from cryptography.x509.oid import NameOID
-
-private_key = rsa.generate_private_key(
-public_exponent=65537,
-key_size=2048,
-backend=default_backend()
-)
-public_key = private_key.public_key()
-builder = x509.CertificateBuilder()
-builder = builder.subject_name(x509.Name([
-x509.NameAttribute(NameOID.COMMON_NAME, 'Simple Test CA'),
-]))
-builder = builder.issuer_name(x509.Name([
-x509.NameAttribute(NameOID.COMMON_NAME, 'Simple Test CA'),
-]))
-builder = builder.not_valid_before(yesterday)
-builder = builder.not_valid_after(tomorrow)
-builder = builder.serial_number(x509.random_serial_number())
-builder = builder.public_key(public_key)
-builder = builder.add_extension(
-x509.BasicConstraints(ca=True, path_length=None),
-critical=True)
-certificate = builder.sign(
-private_key=private_key, algorithm=hashes.SHA256(),
-backend=default_backend()
-)
-private_bytes = private_key.private_bytes(
-encoding=serialization.Encoding.PEM,
-format=serialization.PrivateFormat.TraditionalOpenSSL,
-encryption_algorithm=serialization.NoEncrption())
-public_bytes = certificate.public_bytes(
-encoding=serialization.Encoding.PEM)
-with open("ca.pem", "wb") as fout:
-fout.write(private_bytes + public_bytes)
-with open("ca.crt", "wb") as fout:
-fout.write(public_bytes)
-```
-
-In general, a real CA will expect a [certificate signing request][4] (CSR) to sign a certificate. However, when you are your own CA, you can make your own rules! Just go ahead and sign what you want.
-
-Continuing with the integration test example, you can create the private keys and sign the corresponding public keys right then. Notice **COMMON_NAME** needs to be the "server name" in the **https** URL. If you've configured name lookup, the needed server will respond on **service.test.local**.
-
-
-```
-service_private_key = rsa.generate_private_key(
-public_exponent=65537,
-key_size=2048,
-backend=default_backend()
-)
-service_public_key = service_private_key.public_key()
-builder = x509.CertificateBuilder()
-builder = builder.subject_name(x509.Name([
-x509.NameAttribute(NameOID.COMMON_NAME, 'service.test.local')
-]))
-builder = builder.not_valid_before(yesterday)
-builder = builder.not_valid_after(tomorrow)
-builder = builder.public_key(public_key)
-certificate = builder.sign(
-private_key=private_key, algorithm=hashes.SHA256(),
-backend=default_backend()
-)
-private_bytes = service_private_key.private_bytes(
-encoding=serialization.Encoding.PEM,
-format=serialization.PrivateFormat.TraditionalOpenSSL,
-encryption_algorithm=serialization.NoEncrption())
-public_bytes = certificate.public_bytes(
-encoding=serialization.Encoding.PEM)
-with open("service.pem", "wb") as fout:
-fout.write(private_bytes + public_bytes)
-```
-
-Now the **service.pem** file has a private key and a certificate that is "valid": it has been signed by your local CA. The file is in a format that can be given to, say, Nginx, HAProxy, or most other HTTPS servers.
-
-By applying this logic to testing scripts, it's easy to create servers that look like authentic HTTPS servers, as long as the client is configured to trust the right CA.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/certificate-authority
-
-作者:[Moshe Zadka (Community Moderator)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/moshez/users/elenajon123
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/rh_commun_4604_02_mech_connections_rhcz0.5x.png?itok=YPPU4dMj
-[2]: https://en.wikipedia.org/wiki/Transport_Layer_Security
-[3]: https://en.wikipedia.org/wiki/Certificate_authority
-[4]: https://en.wikipedia.org/wiki/Certificate_signing_request
diff --git a/sources/tech/20190411 How do you contribute to open source without code.md b/sources/tech/20190411 How do you contribute to open source without code.md
index 0b04f7e87d..659fd9064e 100644
--- a/sources/tech/20190411 How do you contribute to open source without code.md
+++ b/sources/tech/20190411 How do you contribute to open source without code.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How do you contribute to open source without code?)
[#]: via: (https://opensource.com/article/19/4/contribute-without-code)
-[#]: author: (Chris Hermansen (Community Moderator) https://opensource.com/users/clhermansen/users/don-watkins/users/greg-p/users/petercheer)
+[#]: author: (Chris Hermansen https://opensource.com/users/clhermansen/users/don-watkins/users/greg-p/users/petercheer)
How do you contribute to open source without code?
======
diff --git a/sources/tech/20190411 Installing Ubuntu MATE on a Raspberry Pi.md b/sources/tech/20190411 Installing Ubuntu MATE on a Raspberry Pi.md
deleted file mode 100644
index 494f85923f..0000000000
--- a/sources/tech/20190411 Installing Ubuntu MATE on a Raspberry Pi.md
+++ /dev/null
@@ -1,135 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Installing Ubuntu MATE on a Raspberry Pi)
-[#]: via: (https://itsfoss.com/ubuntu-mate-raspberry-pi/)
-[#]: author: (Chinmay https://itsfoss.com/author/chinmay/)
-
-Installing Ubuntu MATE on a Raspberry Pi
-======
-
-_**Brief: This quick tutorial shows you how to install Ubuntu MATE on Raspberry Pi devices.**_
-
-[Raspberry Pi][1] is by far the most popular SBC (Single Board Computer) and the go-to board for makers. [Raspbian][2] which is based on Debian is the official operating system for the Pi. It is lightweight, comes bundled with educational tools and gets the job done for most scenarios.
-
-[Installing Raspbian][3] is easy as well but the problem with [Debian][4] is its slow upgrade cycles and older packages.
-
-Running Ubuntu on the Raspberry Pi gives you a richer experience and up to date software. We have a few options when it comes to running Ubuntu on your Pi.
-
- 1. [Ubuntu MATE][5] : Ubuntu MATE is the only distribution which natively supports the Raspberry Pi with a complete desktop environment.
- 2. [Ubuntu Server 18.04][6] \+ Installing a desktop environment manually.
- 3. Using Images built by the [Ubuntu Pi Flavor Maker][7] community, _these images only support the Raspberry Pi 2B and 3B variants_ and are **not** updated to the latest LTS release.
-
-
-
-The first option is the easiest and the quickest to set up while the second option gives you the freedom to install the desktop environment of your choice. I recommend going with either of the first two options.
-
-Here are the links to download the Disc Images. In this article I’ll be covering Ubuntu MATE installation only.
-
-### Installing Ubuntu MATE on Raspberry Pi
-
-Go to the download page of Ubuntu MATE and get the recommended images.
-
-![][8]
-
-The experimental ARM64 version should only be used if you need to run 64-bit only applications like MongoDB on a Raspberry Pi server.
-
-[Download Ubuntu MATE for Raspberry Pi][9]
-
-#### Step 1: Setting Up the SD Card
-
-The image file needs to be decompressed once downloaded. You can simply right click on it to extract it.
-
-Alternatively, the following command will do the job.
-
-```
-xz -d ubuntu-mate***.img.xz
-```
-
-Alternatively you can use [7-zip][10] if you are on Windows.
-
-Install **[Balena Etcher][11]** , we’ll use this tool to write the image to the SD card. Make sure that your SD card is at least 8 GB capacity.
-
-Launch Etcher and select the image file and your SD card.
-
-![][12]
-
-Once the flashing process is complete the SD card is ready.
-
-#### Step 2: Setting Up the Raspberry Pi
-
-You probably already know that you need a few things to get started with Raspberry Pi such as a mouse, keyboard, HDMI cable etc. You can also [install Raspberry Pi headlessly without keyboard and mouse][13] but this tutorial is not about that.
-
- * Plug in a mouse and a keyboard.
- * Connect the HDMI cable.
- * Insert the SD card into the SD card slot.
-
-
-
-Power it on by plugging in the power cable. Make sure you have a good power supply (5V, 3A minimum). A bad power supply can reduce the performance.
-
-#### Ubuntu MATE installation
-
-Once you power on the Raspberry Pi, you’ll be greeted with a very familiar Ubuntu installation process. The process is pretty much straight forward from here.
-
-![Select your keyboard layout][14]
-
-![Select Your Timezone][15]
-
-Select your WiFi network and enter the password in the network connection screen.
-
-![Add Username and Password][16]
-
-After setting the keyboard layout, timezone and user credentials you’ll be taken to the login screen after a few minutes. And voila! you are almost done.
-
-![][17]
-
-Once logged in, the first thing you should do is to [update Ubuntu][18]. You can use the command line for that.
-
-```
-sudo apt update
-sudo apt upgrade
-```
-
-You can also use the Software Updater.
-
-![][19]
-
-Once the updates are finished installing you are good to go. You can also go ahead and install Raspberry Pi specific packages for GPIO and other I/O depending on your needs.
-
-What made you think about installing Ubuntu on the Raspberry and how has your experience been with Raspbian? Let me know in the comments below.
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/ubuntu-mate-raspberry-pi/
-
-作者:[Chinmay][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/chinmay/
-[b]: https://github.com/lujun9972
-[1]: https://www.raspberrypi.org/
-[2]: https://www.raspberrypi.org/downloads/
-[3]: https://itsfoss.com/tutorial-how-to-install-raspberry-pi-os-raspbian-wheezy/
-[4]: https://www.debian.org/
-[5]: https://ubuntu-mate.org/
-[6]: https://wiki.ubuntu.com/ARM/RaspberryPi#Recovering_a_system_using_the_generic_kernel
-[7]: https://ubuntu-pi-flavour-maker.org/download/
-[8]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/ubuntu-mate-raspberry-pi-download.jpg?ssl=1
-[9]: https://ubuntu-mate.org/download/
-[10]: https://www.7-zip.org/download.html
-[11]: https://www.balena.io/etcher/
-[12]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/Screenshot-from-2019-04-08-01-36-16.png?ssl=1
-[13]: https://linuxhandbook.com/raspberry-pi-headless-setup/
-[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Keyboard-layout-ubuntu.jpg?fit=800%2C467&ssl=1
-[15]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/select-time-zone-ubuntu.jpg?fit=800%2C468&ssl=1
-[16]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Credentials-ubuntu.jpg?fit=800%2C469&ssl=1
-[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Desktop-ubuntu.jpg?fit=800%2C600&ssl=1
-[18]: https://itsfoss.com/update-ubuntu/
-[19]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/update-software.png?ssl=1
diff --git a/sources/tech/20190411 Managed, enabled, empowered- 3 dimensions of leadership in an open organization.md b/sources/tech/20190411 Managed, enabled, empowered- 3 dimensions of leadership in an open organization.md
index 4efcdd17a7..890b934ef1 100644
--- a/sources/tech/20190411 Managed, enabled, empowered- 3 dimensions of leadership in an open organization.md
+++ b/sources/tech/20190411 Managed, enabled, empowered- 3 dimensions of leadership in an open organization.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Managed, enabled, empowered: 3 dimensions of leadership in an open organization)
[#]: via: (https://opensource.com/open-organization/19/4/managed-enabled-empowered)
-[#]: author: (Heidi Hess von Ludewig (Red Hat) https://opensource.com/users/heidi-hess-von-ludewig/users/amatlack)
+[#]: author: (Heidi Hess von Ludewig https://opensource.com/users/heidi-hess-von-ludewig/users/amatlack)
Managed, enabled, empowered: 3 dimensions of leadership in an open organization
======
diff --git a/sources/tech/20190411 Testing Small Scale Scrum in the real world.md b/sources/tech/20190411 Testing Small Scale Scrum in the real world.md
index c39a787482..0e4016435e 100644
--- a/sources/tech/20190411 Testing Small Scale Scrum in the real world.md
+++ b/sources/tech/20190411 Testing Small Scale Scrum in the real world.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Testing Small Scale Scrum in the real world)
[#]: via: (https://opensource.com/article/19/4/next-steps-small-scale-scrum)
-[#]: author: (Agnieszka Gancarczyk (Red Hat)Leigh Griffin (Red Hat) https://opensource.com/users/agagancarczyk/users/lgriffin/users/agagancarczyk/users/lgriffin)
+[#]: author: (Agnieszka Gancarczyk Leigh Griffin https://opensource.com/users/agagancarczyk/users/lgriffin/users/agagancarczyk/users/lgriffin)
Testing Small Scale Scrum in the real world
======
diff --git a/sources/tech/20190412 How libraries are adopting open source.md b/sources/tech/20190412 How libraries are adopting open source.md
index 481c317ead..2a8c8806e5 100644
--- a/sources/tech/20190412 How libraries are adopting open source.md
+++ b/sources/tech/20190412 How libraries are adopting open source.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (How libraries are adopting open source)
[#]: via: (https://opensource.com/article/19/4/software-libraries)
-[#]: author: (Don Watkins (Community Moderator) https://opensource.com/users/don-watkins)
+[#]: author: (Don Watkins https://opensource.com/users/don-watkins)
How libraries are adopting open source
======
diff --git a/sources/tech/20190412 What-s your primary backup strategy for the -home directory in Linux.md b/sources/tech/20190412 What-s your primary backup strategy for the -home directory in Linux.md
deleted file mode 100644
index e51ae79681..0000000000
--- a/sources/tech/20190412 What-s your primary backup strategy for the -home directory in Linux.md
+++ /dev/null
@@ -1,36 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (What's your primary backup strategy for the /home directory in Linux?)
-[#]: via: (https://opensource.com/poll/19/4/backup-strategy-home-directory-linux)
-[#]: author: ( https://opensource.com/users/dboth/users/don-watkins/users/greg-p)
-
-What's your primary backup strategy for the /home directory in Linux?
-======
-
-![Linux keys on the keyboard for a desktop computer][1]
-
-I frequently upgrade to newer releases of Fedora, which is my primary distribution. I also upgrade other distros but much less frequently. I have also had many crashes of various types over the years, including a large portion of self-inflicted ones. Past experience with data loss has made me very aware of the need for good backups.
-
-I back up many parts of my Linux hosts but my **/home** directory is especially important. Losing any of the data in **/home** on my primary workstation due to a crash or an upgrade could be disastrous.
-
-My backup strategy for **/home** is to back up everything every day. There are other things on every Linux system to back up but **/home **is the center of everything I do on my workstation. I keep my documents and financial records there as well as off-line emails, address books for different apps, calendar and task data, and most importantly for me these days, the working copies of my next two Linux books.
-
-I can think of a number of approaches to doing backups and restores of **/home** which would allow an easy and complete recovery after a data loss ranging from a single file to the entire directory. Which approach do you take? Which tools do you use?
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/poll/19/4/backup-strategy-home-directory-linux
-
-作者:[][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/dboth/users/don-watkins/users/greg-p
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/linux_keyboard_desktop.png?itok=I2nGw78_ (Linux keys on the keyboard for a desktop computer)
diff --git a/sources/tech/20190415 12 Single Board Computers- Alternative to Raspberry Pi.md b/sources/tech/20190415 12 Single Board Computers- Alternative to Raspberry Pi.md
deleted file mode 100644
index c30c286142..0000000000
--- a/sources/tech/20190415 12 Single Board Computers- Alternative to Raspberry Pi.md
+++ /dev/null
@@ -1,354 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (12 Single Board Computers: Alternative to Raspberry Pi)
-[#]: via: (https://itsfoss.com/raspberry-pi-alternatives/)
-[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
-
-12 Single Board Computers: Alternative to Raspberry Pi
-======
-
-_**Brief: Looking for a Raspberry Pi alternative? Here are some other single board computers to satisfy your DIY cravings.**_
-
-Raspberry Pi is the most popular single board computer right now. You can use it for your DIY projects or can use it as a cost effective system to learn coding or maybe utilize a [media server software][1] on it to stream media at your convenience.
-
-You can do a lot of things with Raspberry Pi but it is not the ultimate solution for all kinds of tinkerers. Some might be looking for a cheaper board and some might be on the lookout for a powerful one.
-
-Whatever be the case, we do need Raspberry Pi alternatives for a variety of reasons. So, in this article, we will talk about the best ten single board computers that we think are the best Raspberry Pi alternatives.
-
-![][2]
-
-### Raspberry Pi alternatives to satisfy your DIY craving
-
-The list is in no particular order of ranking. Some of the links here are affiliate links. Please read our [affiliate policy][3].
-
-#### 1\. Onion Omega2+
-
-![][4]
-
-For just **$13** , the Omega2+ is one of the cheapest IoT single board computers you can find out there. It runs on LEDE (Linux Embedded Development Environment) Linux OS – a distribution based on [OpenWRT][5].
-
-Its form factor, cost, and the flexibility that comes from running a customized version of Linux OS makes it a perfect fit for almost any type of IoT applications.
-
-You can find [Onion Omega kit on Amazon][6] or order from their own website that would cost you extra shipping charges.
-
-**Key Specifications**
-
- * MT7688 SoC
- * 2.4 GHz IEEE 802.11 b/g/n WiFi
- * 128 MB DDR2 RAM
- * 32 MB on-board flash storage
- * MicroSD Slot
- * USB 2.0
- * 12 GPIO Pins
-
-
-
-[Visit WEBSITE
-][7]
-
-#### 2\. NVIDIA Jetson Nano Developer Kit
-
-![][8]
-
-This is a very unique and interesting Raspberry Pi alternative from NVIDIA for just **$99**. Yes, it’s not something that everyone can make use of – but for a specific group of tinkerers or developers.
-
-NVIDIA explains it for the following use-case:
-
-> NVIDIA® Jetson Nano™ Developer Kit is a small, powerful computer that lets you run multiple neural networks in parallel for applications like image classification, object detection, segmentation, and speech processing. All in an easy-to-use platform that runs in as little as 5 watts.
->
-> nvidia
-
-So, basically, if you are into AI and deep learning, you can make use of the developer kit. If you are curious, the production compute module of this will be arriving in June 2019.
-
-**Key Specifications:**
-
- * CPU: Quad-core ARM A57 @ 1.43 GHz
- * GPU: 128-core Maxwell
- * RAM: 4 GB 64-bit LPDDR4 25.6 GB/s
- * Display: HDMI 2.0
- * 4 x USB 3.0 and eDP 1.4
-
-
-
-[VISIT WEBSITE
-][9]
-
-#### 3\. ASUS Tinker Board S
-
-![][10]
-
-ASUS Tinker Board S isn’t the most affordable Raspberry Pi alternative at **$82** (on [Amazon][11]) but it is a powerful alternative. It features the same 40-pin connector that you’d normally find in the standard Raspberry Pi 3 Model but offers a powerful processor and a GPU.Also, the size of the Tinker Board S is exactly the same as a standard Raspberry Pi 3.
-
-The main highlight of this board is the presence of 16 GB [eMMC][12] (in layman terms, it has got SSD-like storage on board that makes it faster while working on it).
-
-**Key Specifications:**
-
- * Rockchip Quad-Core RK3288 processor
- * 2 GB DDR3 RAM
- * Integrated Graphics Processor
- * ARM® Mali™-T764 GPU
- * 16 GB eMMC
- * MicroSD Card Slot
- * 802.11 b/g/n, Bluetooth V4.0 + EDR
- * USB 2.0
- * 28 GPIO pins
- * HDMI Interface
-
-
-
-[Visit website
-][13]
-
-#### 4\. ClockworkPi
-
-![][14]
-
-Clockwork Pi is usually a part of the [GameShell Kit][15] if you are looking to assemble a modular retro gaming console. However, you can purchase the board separately for $49.
-
-Its compact size, WiFi connectivity, and the presence of micro HDMI port make it a great choice for a lot of things.
-
-**Key Specifications:**
-
- * Allwinner R16-J Quad-core Cortex-A7 CPU @1.2GHz
- * Mali-400 MP2 GPU
- * RAM: 1GB DDR3
- * WiFi & Bluetooth v4.0
- * Micro HDMI output
- * MicroSD Card Slot
-
-
-
-[visit website
-][16]
-
-#### 5\. Arduino Mega 2560
-
-![][17]
-
-If you are into robotic projects or you want something for a 3D printer – Arduino Mega 2560 will be a handy replacement to Raspberry Pi. Unlike Raspberry Pi, it is based on a microcontroller and not a microprocessor.
-
-It would cost you $38.50 on their [official site][18] and and around [$33 on Amazon][19].
-
-**Key Specifications:**
-
- * Microcontroller: ATmega2560
- * Clock Speed: 16 MHz
- * Digital I/O Pins: 54
- * Analog Input Pins: 16
- * Flash Memory: 256 KB of which 8 KB used by bootloader
-
-
-
-[visit website
-][18]
-
-#### 6\. Rock64 Media Board
-
-![][20]
-
-For the same investment as you would on a Raspberry Pi 3 B+, you will be getting a faster processor and double the memory on Rock64 Media Board. In addition, it also offers a cheaper alternative to Raspberry Pi if you want the 1 GB RAM model – which would cost $10 less.
-
-Unlike Raspberry Pi, you do not have wireless connectivity support here but the presence of USB 3.0 and HDMI 2.0 does make a good difference if that matters to you.
-
-**Key Specifications:**
-
- * Rockchip RK3328 Quad-Core ARM Cortex A53 64-Bit Processor
- * Supports up to 4GB 1600MHz LPDDR3 RAM
- * eMMC module socket
- * MicroSD Card slot
- * USB 3.0
- * HDMI 2.0
-
-
-
-[visit website
-][21]
-
-#### 7\. Odroid-XU4
-
-![][22]
-
-Odroid-XU4 is the perfect alternative to Raspberry Pi if you have room to spend a little more ($80-$100 or even lower, depending on the store/availability).
-
-It is indeed a powerful replacement and technically a bit smaller in size. The support for eMMC and USB 3.0 makes it faster to work with.
-
-**Key Specifications:**
-
- * Samsung Exynos 5422 Octa ARM Cortex™-A15 Quad 2Ghz and Cortex™-A7 Quad 1.3GHz CPUs
- * 2Gbyte LPDDR3 RAM
- * GPU: Mali-T628 MP6
- * USB 3.0
- * HDMI 1.4a
- * eMMC 5.0 module socket
- * MicroSD Card Slot
-
-
-
-[visit website
-][23]
-
-#### 8\. **PocketBeagle**
-
-![][24]
-
-It is an incredibly small SBC – almost similar to the Raspberry Pi Zero. However, it would cost you the same as that of a full-sized Raspberry Pi 3 model. The main highlight here is that you can use it as a USB key-fob and then access the Linux terminal to work on it.
-
-**Key Specifications:**
-
- * Processor: Octavo Systems OSD3358 1GHz ARM® Cortex-A8
- * RAM: 512 MB DDR3
- * 72 expansion pin headers
- * microUSB
- * USB 2.0
-
-
-
-[visit website
-][25]
-
-#### 9\. Le Potato
-
-![][26]
-
-Le Potato by [Libre Computer][27], also identified by its model number AML-S905X-CC. It would [cost you $45][28].
-
-If you want double the memory along with HDMI 2.0 interface by spending a bit more than a Raspberry Pi – this would be the perfect choice. Although, you won’t find wireless connectivity baked in.
-
-**Key Specifications:**
-
- * Amlogic S905X SoC
- * 2GB DDR3 SDRAM
- * USB 2.0
- * HDMI 2.0
- * microUSB
- * MicroSD Card Slot
- * eMMC Interface
-
-
-
-[visit website
-][29]
-
-#### 10\. Banana Pi M64
-
-![][30]
-
-It comes loaded with 8 Gigs of eMMC – which is the key highlight of this Raspberry Pi alternative. For the very same reason, it would cost you $60.
-
-The presence of HDMI interface makes it 4K-ready. In addition, Banana Pi offers a lot more variety of open source SBCs as an alternative to Raspberry Pi.
-
-**Key Specifications:**
-
- * 1.2 Ghz Quad-Core ARM Cortex A53 64-Bit Processor-R18
- * 2GB DDR3 SDRAM
- * 8 GB eMMC
- * WiFi & Bluetooth
- * USB 2.0
- * HDMI
-
-
-
-[visit website
-][31]
-
-#### 11\. Orange Pi Zero
-
-![][32]
-
-The Orange Pi Zero is an incredibly cheap alternative to Raspberry Pi. You will be able to get it for almost $10 on Aliexpress or Amazon. For a [little more investment, you can get 512 MB RAM][33].
-
-If that isn’t sufficient, you can also go for Orange Pi 3 with better specifications which will cost you around $25.
-
-**Key Specifications:**
-
- * H2 Quad-core Cortex-A7
- * Mali400MP2 GPU
- * RAM: Up to 512 MB
- * TF Card support
- * WiFi
- * USB 2.0
-
-
-
-[Visit website
-][34]
-
-#### 12\. VIM 2 SBC by Khadas
-
-![][35]
-
-VIM 2 by Khadas is one of the latest SBCs that you can grab with Bluetooth 5.0 on board. It [starts from $99 (the basic model) and goes up to $140][36].
-
-The basic model includes 2 GB RAM, 16 GB eMMC and Bluetooth 4.1. However, the Pro/Max versions would include Bluetooth 5.0, more memory, and more eMMC storage.
-
-**Key Specifications:**
-
- * Amlogic S912 1.5GHz 64-bit Octa-Core CPU
- * T820MP3 GPU
- * Up to 3 GB DDR4 RAM
- * Up to 64 GB eMMC
- * Bluetooth 5.0 (Pro/Max)
- * Bluetooth 4.1 (Basic)
- * HDMI 2.0a
- * WiFi
-
-
-
-**Wrapping Up**
-
-We do know that there are different types of single board computers. Some are better than Raspberry Pi – and some scaled down versions of it for a cheaper price tag. Also, SBCs like Jetson Nano have been tailored for a specific use. So, depending on what you require – you should verify the specifications of the single board computer.
-
-If you think that you know about something that is better than the ones mentioned above, feel free to let us know in the comments below.
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/raspberry-pi-alternatives/
-
-作者:[Ankush Das][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/ankush/
-[b]: https://github.com/lujun9972
-[1]: https://itsfoss.com/best-linux-media-server/
-[2]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/raspberry-pi-alternatives.png?resize=800%2C450&ssl=1
-[3]: https://itsfoss.com/affiliate-policy/
-[4]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/omega-2-plus-e1555306748755-800x444.jpg?resize=800%2C444&ssl=1
-[5]: https://openwrt.org/
-[6]: https://amzn.to/2Xj8pkn
-[7]: https://onion.io/store/omega2p/
-[8]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Jetson-Nano-e1555306350976-800x590.jpg?resize=800%2C590&ssl=1
-[9]: https://developer.nvidia.com/embedded/buy/jetson-nano-devkit
-[10]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/asus-tinker-board-s-e1555304945760-800x450.jpg?resize=800%2C450&ssl=1
-[11]: https://amzn.to/2XfkOFT
-[12]: https://en.wikipedia.org/wiki/MultiMediaCard
-[13]: https://www.asus.com/in/Single-Board-Computer/Tinker-Board-S/
-[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/clockwork-pi-e1555305016242-800x506.jpg?resize=800%2C506&ssl=1
-[15]: https://itsfoss.com/gameshell-console/
-[16]: https://www.clockworkpi.com/product-page/cpi-v3-1
-[17]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/arduino-mega-2560-e1555305257633.jpg?ssl=1
-[18]: https://store.arduino.cc/usa/mega-2560-r3
-[19]: https://amzn.to/2KCi041
-[20]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/ROCK64_board-e1555306092845-800x440.jpg?resize=800%2C440&ssl=1
-[21]: https://www.pine64.org/?product=rock64-media-board-computer
-[22]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/odroid-xu4.jpg?fit=800%2C354&ssl=1
-[23]: https://www.hardkernel.com/shop/odroid-xu4-special-price/
-[24]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/PocketBeagle.jpg?fit=800%2C450&ssl=1
-[25]: https://beagleboard.org/p/products/pocketbeagle
-[26]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/aml-libre.-e1555306237972-800x514.jpg?resize=800%2C514&ssl=1
-[27]: https://libre.computer/
-[28]: https://amzn.to/2DpG3xl
-[29]: https://libre.computer/products/boards/aml-s905x-cc/
-[30]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/banana-pi-m6.jpg?fit=800%2C389&ssl=1
-[31]: http://www.banana-pi.org/m64.html
-[32]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/orange-pi-zero.jpg?fit=800%2C693&ssl=1
-[33]: https://amzn.to/2IlI81g
-[34]: http://www.orangepi.org/orangepizero/index.html
-[35]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/khadas-vim-2-e1555306505640-800x563.jpg?resize=800%2C563&ssl=1
-[36]: https://amzn.to/2UDvrFE
diff --git a/sources/tech/20190415 Blender short film, new license for Chef, ethics in open source, and more news.md b/sources/tech/20190415 Blender short film, new license for Chef, ethics in open source, and more news.md
index 5bc9aaf92f..f33d614f86 100644
--- a/sources/tech/20190415 Blender short film, new license for Chef, ethics in open source, and more news.md
+++ b/sources/tech/20190415 Blender short film, new license for Chef, ethics in open source, and more news.md
@@ -5,7 +5,7 @@
[#]: url: ( )
[#]: subject: (Blender short film, new license for Chef, ethics in open source, and more news)
[#]: via: (https://opensource.com/article/15/4/news-april-15)
-[#]: author: (Joshua Allen Holm (Community Moderator) https://opensource.com/users/holmja)
+[#]: author: (Joshua Allen Holm https://opensource.com/users/holmja)
Blender short film, new license for Chef, ethics in open source, and more news
======
diff --git a/sources/tech/20190415 Getting started with Mercurial for version control.md b/sources/tech/20190415 Getting started with Mercurial for version control.md
deleted file mode 100644
index c2e451fd06..0000000000
--- a/sources/tech/20190415 Getting started with Mercurial for version control.md
+++ /dev/null
@@ -1,127 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Getting started with Mercurial for version control)
-[#]: via: (https://opensource.com/article/19/4/getting-started-mercurial)
-[#]: author: (Moshe Zadka (Community Moderator) https://opensource.com/users/moshez)
-
-Getting started with Mercurial for version control
-======
-Learn the basics of Mercurial, a distributed version control system
-written in Python.
-![][1]
-
-[Mercurial][2] is a distributed version control system written in Python. Because it's written in a high-level language, you can write a Mercurial extension with a few Python functions.
-
-There are several ways to install Mercurial, which are explained in the [official documentation][3]. My favorite one is not there: using **pip**. This is the most amenable way to develop local extensions!
-
-For now, Mercurial only supports Python 2.7, so you will need to create a Python 2.7 virtual environment:
-
-
-```
-python2 -m virtualenv mercurial-env
-./mercurial-env/bin/pip install mercurial
-```
-
-To have a short command, and to satisfy everyone's insatiable need for chemistry-based humor, the command is called **hg**.
-
-
-```
-$ source mercurial-env/bin/activate
-(mercurial-env)$ mkdir test-dir
-(mercurial-env)$ cd test-dir
-(mercurial-env)$ hg init
-(mercurial-env)$ hg status
-(mercurial-env)$
-```
-
-The status is empty since you do not have any files. Add a couple of files:
-
-
-```
-(mercurial-env)$ echo 1 > one
-(mercurial-env)$ echo 2 > two
-(mercurial-env)$ hg status
-? one
-? two
-(mercurial-env)$ hg addremove
-adding one
-adding two
-(mercurial-env)$ hg commit -m 'Adding stuff'
-(mercurial-env)$ hg log
-changeset: 0:1f1befb5d1e9
-tag: tip
-user: Moshe Zadka <[moshez@zadka.club][4]>
-date: Fri Mar 29 12:42:43 2019 -0700
-summary: Adding stuff
-```
-
-The **addremove** command is useful: it adds any new files that are not ignored to the list of managed files and removes any files that have been removed.
-
-As I mentioned, Mercurial extensions are written in Python—they are just regular Python modules.
-
-This is an example of a short Mercurial extension:
-
-
-```
-from mercurial import registrar
-from mercurial.i18n import _
-
-cmdtable = {}
-command = registrar.command(cmdtable)
-
-@command('say-hello',
-[('w', 'whom', '', _('Whom to greet'))])
-def say_hello(ui, repo, **opts):
-ui.write("hello ", opts['whom'], "\n")
-```
-
-A simple way to test it is to put it in a file in the virtual environment manually:
-
-
-```
-`$ vi ../mercurial-env/lib/python2.7/site-packages/hello_ext.py`
-```
-
-Then you need to _enable_ the extension. You can start by enabling it only in the current repository:
-
-
-```
-$ cat >> .hg/hgrc
-[extensions]
-hello_ext =
-```
-
-Now, a greeting is possible:
-
-
-```
-(mercurial-env)$ hg say-hello --whom world
-hello world
-```
-
-Most extensions will do more useful stuff—possibly even things to do with Mercurial. The **repo** object is a **mercurial.hg.repository** object.
-
-Refer to the [official documentation][5] for more about Mercurial's API. And visit the [official repo][6] for more examples and inspiration.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/getting-started-mercurial
-
-作者:[Moshe Zadka (Community Moderator)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/moshez
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/rh_003499_01_cloud21x_cc.png?itok=5UwC92dO
-[2]: https://www.mercurial-scm.org/
-[3]: https://www.mercurial-scm.org/wiki/UnixInstall
-[4]: mailto:moshez@zadka.club
-[5]: https://www.mercurial-scm.org/wiki/MercurialApi#Repositories
-[6]: https://www.mercurial-scm.org/repo/hg/file/tip/hgext
diff --git a/sources/tech/20190415 How to identify duplicate files on Linux.md b/sources/tech/20190415 How to identify duplicate files on Linux.md
deleted file mode 100644
index 3ddbb4baaa..0000000000
--- a/sources/tech/20190415 How to identify duplicate files on Linux.md
+++ /dev/null
@@ -1,127 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: (MjSeven)
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to identify duplicate files on Linux)
-[#]: via: (https://www.networkworld.com/article/3387961/how-to-identify-duplicate-files-on-linux.html#tk.rss_all)
-[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
-
-How to identify duplicate files on Linux
-======
-Some files on a Linux system can appear in more than one location. Follow these instructions to find and identify these "identical twins" and learn why hard links can be so advantageous.
-![Archana Jarajapu \(CC BY 2.0\)][1]
-
-Identifying files that share disk space relies on making use of the fact that the files share the same inode — the data structure that stores all the information about a file except its name and content. If two or more files have different names and file system locations, yet share an inode, they also share content, ownership, permissions, etc.
-
-These files are often referred to as "hard links" — unlike symbolic links that simply point to other files by containing their names. Symbolic links are easy to pick out in a file listing by the "l" in the first position and **- >** symbol that refers to the file being referenced.
-
-```
-$ ls -l my*
--rw-r--r-- 4 shs shs 228 Apr 12 19:37 myfile
-lrwxrwxrwx 1 shs shs 6 Apr 15 11:18 myref -> myfile
--rw-r--r-- 4 shs shs 228 Apr 12 19:37 mytwin
-```
-
-Identifying hard links in a single directory is not as obvious, but it is still quite easy. If you list the files using the **ls -i** command and sort them by inode number, you can pick out the hard links fairly easily. In this type of ls output, the first column shows the inode numbers.
-
-```
-$ ls -i | sort -n | more
- ...
- 788000 myfile <==
- 788000 mytwin <==
- 801865 Name_Labels.pdf
- 786692 never leave home angry
- 920242 NFCU_Docs
- 800247 nmap-notes
-```
-
-Scan your output looking for identical inode numbers and any matches will tell you what you want to know.
-
-**[ Also see:[Invaluable tips and tricks for troubleshooting Linux][2] ]**
-
-If, on the other hand, you simply want to know if one particular file is hard-linked to another file, there's an easier way than scanning through a list of what may be hundreds of files. The find command's **-samefile** option will do the work for you.
-
-```
-$ find . -samefile myfile
-./myfile
-./save/mycopy
-./mytwin
-```
-
-Notice that the starting location provided to the find command will determine how much of the file system is scanned for matches. In the above example, we're looking in the current directory and subdirectories.
-
-Adding output details using find's **-ls** option might be more convincing:
-
-```
-$ find . -samefile myfile -ls
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 ./myfile
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 ./save/mycopy
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 ./mytwin
-```
-
-The first column shows the inode number. Then we see file permissions, links, owner, file size, date information, and the names of the files that refer to the same disk content. Note that the link field in this case is a "4" not the "3" we might expect, telling us that there's another link to this same inode as well (but outside our search range).
-
-If you want to look for all instances of hard links in a single directory, you could try a script like this that will create the list and look for the duplicates for you:
-
-```
-#!/bin/bash
-
-# seaches for files sharing inodes
-
-prev=""
-
-# list files by inode
-ls -i | sort -n > /tmp/$0
-
-# search through file for duplicate inode #s
-while read line
-do
- inode=`echo $line | awk '{print $1}'`
- if [ "$inode" == "$prev" ]; then
- grep $inode /tmp/$0
- fi
- prev=$inode
-done < /tmp/$0
-
-# clean up
-rm /tmp/$0
-
-$ ./findHardLinks
- 788000 myfile
- 788000 mytwin
-```
-
-You can also use the find command to look for files by inode number as in this command. However, this search could involve more than one file system, so it is possible that you will get false results, since the same inode number might be used in another file system where it would not represent the same file. If that's the case, other file details will not be identical.
-
-```
-$ find / -inum 788000 -ls 2> /dev/null
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 /tmp/mycopy
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 /home/shs/myfile
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 /home/shs/save/mycopy
- 788000 4 -rw-r--r-- 4 shs shs 228 Apr 12 19:37 /home/shs/mytwin
-```
-
-Note that error output was shunted off to /dev/null so that we didn't have to look at all the "Permission denied" errors that would have otherwise been displayed for other directories that we're not allowed to look through.
-
-Also, scanning for files that contain the same content but don't share inodes (i.e., simply file copies) would take considerably more time and effort.
-
-Join the Network World communities on [Facebook][3] and [LinkedIn][4] to comment on topics that are top of mind.
-
---------------------------------------------------------------------------------
-
-via: https://www.networkworld.com/article/3387961/how-to-identify-duplicate-files-on-linux.html#tk.rss_all
-
-作者:[Sandra Henry-Stocker][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
-[b]: https://github.com/lujun9972
-[1]: https://images.idgesg.net/images/article/2019/04/reflections-candles-100793651-large.jpg
-[2]: https://www.networkworld.com/article/3242170/linux/invaluable-tips-and-tricks-for-troubleshooting-linux.html
-[3]: https://www.facebook.com/NetworkWorld/
-[4]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190415 Inter-process communication in Linux- Shared storage.md b/sources/tech/20190415 Inter-process communication in Linux- Shared storage.md
deleted file mode 100644
index bf6c2c07cc..0000000000
--- a/sources/tech/20190415 Inter-process communication in Linux- Shared storage.md
+++ /dev/null
@@ -1,419 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Inter-process communication in Linux: Shared storage)
-[#]: via: (https://opensource.com/article/19/4/interprocess-communication-linux-storage)
-[#]: author: (Marty Kalin https://opensource.com/users/mkalindepauledu)
-
-Inter-process communication in Linux: Shared storage
-======
-Learn how processes synchronize with each other in Linux.
-![Filing papers and documents][1]
-
-This is the first article in a series about [interprocess communication][2] (IPC) in Linux. The series uses code examples in C to clarify the following IPC mechanisms:
-
- * Shared files
- * Shared memory (with semaphores)
- * Pipes (named and unnamed)
- * Message queues
- * Sockets
- * Signals
-
-
-
-This article reviews some core concepts before moving on to the first two of these mechanisms: shared files and shared memory.
-
-### Core concepts
-
-A _process_ is a program in execution, and each process has its own address space, which comprises the memory locations that the process is allowed to access. A process has one or more _threads_ of execution, which are sequences of executable instructions: a _single-threaded_ process has just one thread, whereas a _multi-threaded_ process has more than one thread. Threads within a process share various resources, in particular, address space. Accordingly, threads within a process can communicate straightforwardly through shared memory, although some modern languages (e.g., Go) encourage a more disciplined approach such as the use of thread-safe channels. Of interest here is that different processes, by default, do _not_ share memory.
-
-There are various ways to launch processes that then communicate, and two ways dominate in the examples that follow:
-
- * A terminal is used to start one process, and perhaps a different terminal is used to start another.
- * The system function **fork** is called within one process (the parent) to spawn another process (the child).
-
-
-
-The first examples take the terminal approach. The [code examples][3] are available in a ZIP file on my website.
-
-### Shared files
-
-Programmers are all too familiar with file access, including the many pitfalls (non-existent files, bad file permissions, and so on) that beset the use of files in programs. Nonetheless, shared files may be the most basic IPC mechanism. Consider the relatively simple case in which one process ( _producer_ ) creates and writes to a file, and another process ( _consumer_ ) reads from this same file:
-
-
-```
-writes +-----------+ reads
-producer-------->| disk file |<\-------consumer
-+-----------+
-```
-
-The obvious challenge in using this IPC mechanism is that a _race condition_ might arise: the producer and the consumer might access the file at exactly the same time, thereby making the outcome indeterminate. To avoid a race condition, the file must be locked in a way that prevents a conflict between a _write_ operation and any another operation, whether a _read_ or a _write_. The locking API in the standard system library can be summarized as follows:
-
- * A producer should gain an exclusive lock on the file before writing to the file. An _exclusive_ lock can be held by one process at most, which rules out a race condition because no other process can access the file until the lock is released.
- * A consumer should gain at least a shared lock on the file before reading from the file. Multiple _readers_ can hold a _shared_ lock at the same time, but no _writer_ can access a file when even a single _reader_ holds a shared lock.
-
-
-
-A shared lock promotes efficiency. If one process is just reading a file and not changing its contents, there is no reason to prevent other processes from doing the same. Writing, however, clearly demands exclusive access to a file.
-
-The standard I/O library includes a utility function named **fcntl** that can be used to inspect and manipulate both exclusive and shared locks on a file. The function works through a _file descriptor_ , a non-negative integer value that, within a process, identifies a file. (Different file descriptors in different processes may identify the same physical file.) For file locking, Linux provides the library function **flock** , which is a thin wrapper around **fcntl**. The first example uses the **fcntl** function to expose API details.
-
-#### Example 1. The _producer_ program
-
-
-```
-#include
-#include
-#include
-#include
-#include
-
-#define FileName "data.dat"
-#define DataString "Now is the winter of our discontent\nMade glorious summer by this sun of York\n"
-
-void report_and_exit(const char* msg) {
-[perror][4](msg);
-[exit][5](-1); /* EXIT_FAILURE */
-}
-
-int main() {
-struct flock lock;
-lock.l_type = F_WRLCK; /* read/write (exclusive versus shared) lock */
-lock.l_whence = SEEK_SET; /* base for seek offsets */
-lock.l_start = 0; /* 1st byte in file */
-lock.l_len = 0; /* 0 here means 'until EOF' */
-lock.l_pid = getpid(); /* process id */
-
-int fd; /* file descriptor to identify a file within a process */
-if ((fd = open(FileName, O_RDWR | O_CREAT, 0666)) < 0) /* -1 signals an error */
-report_and_exit("open failed...");
-
-if (fcntl(fd, F_SETLK, &lock) < 0) /** F_SETLK doesn't block, F_SETLKW does **/
-report_and_exit("fcntl failed to get lock...");
-else {
-write(fd, DataString, [strlen][6](DataString)); /* populate data file */
-[fprintf][7](stderr, "Process %d has written to data file...\n", lock.l_pid);
-}
-
-/* Now release the lock explicitly. */
-lock.l_type = F_UNLCK;
-if (fcntl(fd, F_SETLK, &lock) < 0)
-report_and_exit("explicit unlocking failed...");
-
-close(fd); /* close the file: would unlock if needed */
-return 0; /* terminating the process would unlock as well */
-}
-```
-
-The main steps in the _producer_ program above can be summarized as follows:
-
- * The program declares a variable of type **struct flock** , which represents a lock, and initializes the structure's five fields. The first initialization: [code]`lock.l_type = F_WRLCK; /* exclusive lock */`[/code] makes the lock an exclusive ( _read-write_ ) rather than a shared ( _read-only_ ) lock. If the _producer_ gains the lock, then no other process will be able to write or read the file until the _producer_ releases the lock, either explicitly with the appropriate call to **fcntl** or implicitly by closing the file. (When the process terminates, any opened files would be closed automatically, thereby releasing the lock.)
- * The program then initializes the remaining fields. The chief effect is that the _entire_ file is to be locked. However, the locking API allows only designated bytes to be locked. For example, if the file contains multiple text records, then a single record (or even part of a record) could be locked and the rest left unlocked.
- * The first call to **fcntl** : [code]`if (fcntl(fd, F_SETLK, &lock) < 0)`[/code] tries to lock the file exclusively, checking whether the call succeeded. In general, the **fcntl** function returns **-1** (hence, less than zero) to indicate failure. The second argument **F_SETLK** means that the call to **fcntl** does _not_ block: the function returns immediately, either granting the lock or indicating failure. If the flag **F_SETLKW** (the **W** at the end is for _wait_ ) were used instead, the call to **fcntl** would block until gaining the lock was possible. In the calls to **fcntl** , the first argument **fd** is the file descriptor, the second argument specifies the action to be taken (in this case, **F_SETLK** for setting the lock), and the third argument is the address of the lock structure (in this case, **& lock**).
- * If the _producer_ gains the lock, the program writes two text records to the file.
- * After writing to the file, the _producer_ changes the lock structure's **l_type** field to the _unlock_ value: [code]`lock.l_type = F_UNLCK;`[/code] and calls **fcntl** to perform the unlocking operation. The program finishes up by closing the file and exiting.
-
-
-
-#### Example 2. The _consumer_ program
-
-
-```
-#include
-#include
-#include
-#include
-
-#define FileName "data.dat"
-
-void report_and_exit(const char* msg) {
-[perror][4](msg);
-[exit][5](-1); /* EXIT_FAILURE */
-}
-
-int main() {
-struct flock lock;
-lock.l_type = F_WRLCK; /* read/write (exclusive) lock */
-lock.l_whence = SEEK_SET; /* base for seek offsets */
-lock.l_start = 0; /* 1st byte in file */
-lock.l_len = 0; /* 0 here means 'until EOF' */
-lock.l_pid = getpid(); /* process id */
-
-int fd; /* file descriptor to identify a file within a process */
-if ((fd = open(FileName, O_RDONLY)) < 0) /* -1 signals an error */
-report_and_exit("open to read failed...");
-
-/* If the file is write-locked, we can't continue. */
-fcntl(fd, F_GETLK, &lock); /* sets lock.l_type to F_UNLCK if no write lock */
-if (lock.l_type != F_UNLCK)
-report_and_exit("file is still write locked...");
-
-lock.l_type = F_RDLCK; /* prevents any writing during the reading */
-if (fcntl(fd, F_SETLK, &lock) < 0)
-report_and_exit("can't get a read-only lock...");
-
-/* Read the bytes (they happen to be ASCII codes) one at a time. */
-int c; /* buffer for read bytes */
-while (read(fd, &c, 1) > 0) /* 0 signals EOF */
-write(STDOUT_FILENO, &c, 1); /* write one byte to the standard output */
-
-/* Release the lock explicitly. */
-lock.l_type = F_UNLCK;
-if (fcntl(fd, F_SETLK, &lock) < 0)
-report_and_exit("explicit unlocking failed...");
-
-close(fd);
-return 0;
-}
-```
-
-The _consumer_ program is more complicated than necessary to highlight features of the locking API. In particular, the _consumer_ program first checks whether the file is exclusively locked and only then tries to gain a shared lock. The relevant code is:
-
-
-```
-lock.l_type = F_WRLCK;
-...
-fcntl(fd, F_GETLK, &lock); /* sets lock.l_type to F_UNLCK if no write lock */
-if (lock.l_type != F_UNLCK)
-report_and_exit("file is still write locked...");
-```
-
-The **F_GETLK** operation specified in the **fcntl** call checks for a lock, in this case, an exclusive lock given as **F_WRLCK** in the first statement above. If the specified lock does not exist, then the **fcntl** call automatically changes the lock type field to **F_UNLCK** to indicate this fact. If the file is exclusively locked, the _consumer_ terminates. (A more robust version of the program might have the _consumer_ **sleep** a bit and try again several times.)
-
-If the file is not currently locked, then the _consumer_ tries to gain a shared ( _read-only_ ) lock ( **F_RDLCK** ). To shorten the program, the **F_GETLK** call to **fcntl** could be dropped because the **F_RDLCK** call would fail if a _read-write_ lock already were held by some other process. Recall that a _read-only_ lock does prevent any other process from writing to the file, but allows other processes to read from the file. In short, a _shared_ lock can be held by multiple processes. After gaining a shared lock, the _consumer_ program reads the bytes one at a time from the file, prints the bytes to the standard output, releases the lock, closes the file, and terminates.
-
-Here is the output from the two programs launched from the same terminal with **%** as the command line prompt:
-
-
-```
-% ./producer
-Process 29255 has written to data file...
-
-% ./consumer
-Now is the winter of our discontent
-Made glorious summer by this sun of York
-```
-
-In this first code example, the data shared through IPC is text: two lines from Shakespeare's play _Richard III_. Yet, the shared file's contents could be voluminous, arbitrary bytes (e.g., a digitized movie), which makes file sharing an impressively flexible IPC mechanism. The downside is that file access is relatively slow, whether the access involves reading or writing. As always, programming comes with tradeoffs. The next example has the upside of IPC through shared memory, rather than shared files, with a corresponding boost in performance.
-
-### Shared memory
-
-Linux systems provide two separate APIs for shared memory: the legacy System V API and the more recent POSIX one. These APIs should never be mixed in a single application, however. A downside of the POSIX approach is that features are still in development and dependent upon the installed kernel version, which impacts code portability. For example, the POSIX API, by default, implements shared memory as a _memory-mapped file_ : for a shared memory segment, the system maintains a _backing file_ with corresponding contents. Shared memory under POSIX can be configured without a backing file, but this may impact portability. My example uses the POSIX API with a backing file, which combines the benefits of memory access (speed) and file storage (persistence).
-
-The shared-memory example has two programs, named _memwriter_ and _memreader_ , and uses a _semaphore_ to coordinate their access to the shared memory. Whenever shared memory comes into the picture with a _writer_ , whether in multi-processing or multi-threading, so does the risk of a memory-based race condition; hence, the semaphore is used to coordinate (synchronize) access to the shared memory.
-
-The _memwriter_ program should be started first in its own terminal. The _memreader_ program then can be started (within a dozen seconds) in its own terminal. The output from the _memreader_ is:
-
-
-```
-`This is the way the world ends...`
-```
-
-Each source file has documentation at the top explaining the link flags to be included during compilation.
-
-Let's start with a review of how semaphores work as a synchronization mechanism. A general semaphore also is called a _counting semaphore_ , as it has a value (typically initialized to zero) that can be incremented. Consider a shop that rents bicycles, with a hundred of them in stock, with a program that clerks use to do the rentals. Every time a bike is rented, the semaphore is incremented by one; when a bike is returned, the semaphore is decremented by one. Rentals can continue until the value hits 100 but then must halt until at least one bike is returned, thereby decrementing the semaphore to 99.
-
-A _binary semaphore_ is a special case requiring only two values: 0 and 1. In this situation, a semaphore acts as a _mutex_ : a mutual exclusion construct. The shared-memory example uses a semaphore as a mutex. When the semaphore's value is 0, the _memwriter_ alone can access the shared memory. After writing, this process increments the semaphore's value, thereby allowing the _memreader_ to read the shared memory.
-
-#### Example 3. Source code for the _memwriter_ process
-
-
-```
-/** Compilation: gcc -o memwriter memwriter.c -lrt -lpthread **/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include "shmem.h"
-
-void report_and_exit(const char* msg) {
-[perror][4](msg);
-[exit][5](-1);
-}
-
-int main() {
-int fd = shm_open(BackingFile, /* name from smem.h */
-O_RDWR | O_CREAT, /* read/write, create if needed */
-AccessPerms); /* access permissions (0644) */
-if (fd < 0) report_and_exit("Can't open shared mem segment...");
-
-ftruncate(fd, ByteSize); /* get the bytes */
-
-caddr_t memptr = mmap(NULL, /* let system pick where to put segment */
-ByteSize, /* how many bytes */
-PROT_READ | PROT_WRITE, /* access protections */
-MAP_SHARED, /* mapping visible to other processes */
-fd, /* file descriptor */
-0); /* offset: start at 1st byte */
-if ((caddr_t) -1 == memptr) report_and_exit("Can't get segment...");
-
-[fprintf][7](stderr, "shared mem address: %p [0..%d]\n", memptr, ByteSize - 1);
-[fprintf][7](stderr, "backing file: /dev/shm%s\n", BackingFile );
-
-/* semaphore code to lock the shared mem */
-sem_t* semptr = sem_open(SemaphoreName, /* name */
-O_CREAT, /* create the semaphore */
-AccessPerms, /* protection perms */
-0); /* initial value */
-if (semptr == (void*) -1) report_and_exit("sem_open");
-
-[strcpy][8](memptr, MemContents); /* copy some ASCII bytes to the segment */
-
-/* increment the semaphore so that memreader can read */
-if (sem_post(semptr) < 0) report_and_exit("sem_post");
-
-sleep(12); /* give reader a chance */
-
-/* clean up */
-munmap(memptr, ByteSize); /* unmap the storage */
-close(fd);
-sem_close(semptr);
-shm_unlink(BackingFile); /* unlink from the backing file */
-return 0;
-}
-```
-
-Here's an overview of how the _memwriter_ and _memreader_ programs communicate through shared memory:
-
- * The _memwriter_ program, shown above, calls the **shm_open** function to get a file descriptor for the backing file that the system coordinates with the shared memory. At this point, no memory has been allocated. The subsequent call to the misleadingly named function **ftruncate** : [code]`ftruncate(fd, ByteSize); /* get the bytes */`[/code] allocates **ByteSize** bytes, in this case, a modest 512 bytes. The _memwriter_ and _memreader_ programs access the shared memory only, not the backing file. The system is responsible for synchronizing the shared memory and the backing file.
- * The _memwriter_ then calls the **mmap** function: [code] caddr_t memptr = mmap(NULL, /* let system pick where to put segment */
-ByteSize, /* how many bytes */
-PROT_READ | PROT_WRITE, /* access protections */
-MAP_SHARED, /* mapping visible to other processes */
-fd, /* file descriptor */
-0); /* offset: start at 1st byte */ [/code] to get a pointer to the shared memory. (The _memreader_ makes a similar call.) The pointer type **caddr_t** starts with a **c** for **calloc** , a system function that initializes dynamically allocated storage to zeroes. The _memwriter_ uses the **memptr** for the later _write_ operation, using the library **strcpy** (string copy) function.
- * At this point, the _memwriter_ is ready for writing, but it first creates a semaphore to ensure exclusive access to the shared memory. A race condition would occur if the _memwriter_ were writing while the _memreader_ was reading. If the call to **sem_open** succeeds: [code] sem_t* semptr = sem_open(SemaphoreName, /* name */
-O_CREAT, /* create the semaphore */
-AccessPerms, /* protection perms */
-0); /* initial value */ [/code] then the writing can proceed. The **SemaphoreName** (any unique non-empty name will do) identifies the semaphore in both the _memwriter_ and the _memreader_. The initial value of zero gives the semaphore's creator, in this case, the _memwriter_ , the right to proceed, in this case, to the _write_ operation.
- * After writing, the _memwriter_ increments the semaphore value to 1: [code]`if (sem_post(semptr) < 0) ..`[/code] with a call to the **sem_post** function. Incrementing the semaphore releases the mutex lock and enables the _memreader_ to perform its _read_ operation. For good measure, the _memwriter_ also unmaps the shared memory from the _memwriter_ address space: [code]`munmap(memptr, ByteSize); /* unmap the storage *`[/code] This bars the _memwriter_ from further access to the shared memory.
-
-
-
-#### Example 4. Source code for the _memreader_ process
-
-
-```
-/** Compilation: gcc -o memreader memreader.c -lrt -lpthread **/
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-#include "shmem.h"
-
-void report_and_exit(const char* msg) {
-[perror][4](msg);
-[exit][5](-1);
-}
-
-int main() {
-int fd = shm_open(BackingFile, O_RDWR, AccessPerms); /* empty to begin */
-if (fd < 0) report_and_exit("Can't get file descriptor...");
-
-/* get a pointer to memory */
-caddr_t memptr = mmap(NULL, /* let system pick where to put segment */
-ByteSize, /* how many bytes */
-PROT_READ | PROT_WRITE, /* access protections */
-MAP_SHARED, /* mapping visible to other processes */
-fd, /* file descriptor */
-0); /* offset: start at 1st byte */
-if ((caddr_t) -1 == memptr) report_and_exit("Can't access segment...");
-
-/* create a semaphore for mutual exclusion */
-sem_t* semptr = sem_open(SemaphoreName, /* name */
-O_CREAT, /* create the semaphore */
-AccessPerms, /* protection perms */
-0); /* initial value */
-if (semptr == (void*) -1) report_and_exit("sem_open");
-
-/* use semaphore as a mutex (lock) by waiting for writer to increment it */
-if (!sem_wait(semptr)) { /* wait until semaphore != 0 */
-int i;
-for (i = 0; i < [strlen][6](MemContents); i++)
-write(STDOUT_FILENO, memptr + i, 1); /* one byte at a time */
-sem_post(semptr);
-}
-
-/* cleanup */
-munmap(memptr, ByteSize);
-close(fd);
-sem_close(semptr);
-unlink(BackingFile);
-return 0;
-}
-```
-
-In both the _memwriter_ and _memreader_ programs, the shared-memory functions of main interest are **shm_open** and **mmap** : on success, the first call returns a file descriptor for the backing file, which the second call then uses to get a pointer to the shared memory segment. The calls to **shm_open** are similar in the two programs except that the _memwriter_ program creates the shared memory, whereas the _memreader_ only accesses this already created memory:
-
-
-```
-int fd = shm_open(BackingFile, O_RDWR | O_CREAT, AccessPerms); /* memwriter */
-int fd = shm_open(BackingFile, O_RDWR, AccessPerms); /* memreader */
-```
-
-With a file descriptor in hand, the calls to **mmap** are the same:
-
-
-```
-`caddr_t memptr = mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);`
-```
-
-The first argument to **mmap** is **NULL** , which means that the system determines where to allocate the memory in virtual address space. It's possible (but tricky) to specify an address instead. The **MAP_SHARED** flag indicates that the allocated memory is shareable among processes, and the last argument (in this case, zero) means that the offset for the shared memory should be the first byte. The **size** argument specifies the number of bytes to be allocated (in this case, 512), and the protection argument indicates that the shared memory can be written and read.
-
-When the _memwriter_ program executes successfully, the system creates and maintains the backing file; on my system, the file is _/dev/shm/shMemEx_ , with _shMemEx_ as my name (given in the header file _shmem.h_ ) for the shared storage. In the current version of the _memwriter_ and _memreader_ programs, the statement:
-
-
-```
-`shm_unlink(BackingFile); /* removes backing file */`
-```
-
-removes the backing file. If the **unlink** statement is omitted, then the backing file persists after the program terminates.
-
-The _memreader_ , like the _memwriter_ , accesses the semaphore through its name in a call to **sem_open**. But the _memreader_ then goes into a wait state until the _memwriter_ increments the semaphore, whose initial value is 0:
-
-
-```
-`if (!sem_wait(semptr)) { /* wait until semaphore != 0 */`
-```
-
-Once the wait is over, the _memreader_ reads the ASCII bytes from the shared memory, cleans up, and terminates.
-
-The shared-memory API includes operations explicitly to synchronize the shared memory segment and the backing file. These operations have been omitted from the example to reduce clutter and keep the focus on the memory-sharing and semaphore code.
-
-The _memwriter_ and _memreader_ programs are likely to execute without inducing a race condition even if the semaphore code is removed: the _memwriter_ creates the shared memory segment and writes immediately to it; the _memreader_ cannot even access the shared memory until this has been created. However, best practice requires that shared-memory access is synchronized whenever a _write_ operation is in the mix, and the semaphore API is important enough to be highlighted in a code example.
-
-### Wrapping up
-
-The shared-file and shared-memory examples show how processes can communicate through _shared storage_ , files in one case and memory segments in the other. The APIs for both approaches are relatively straightforward. Do these approaches have a common downside? Modern applications often deal with streaming data, indeed, with massively large streams of data. Neither the shared-file nor the shared-memory approaches are well suited for massive data streams. Channels of one type or another are better suited. Part 2 thus introduces channels and message queues, again with code examples in C.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/interprocess-communication-linux-storage
-
-作者:[Marty Kalin][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/mkalindepauledu
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/documents_papers_file_storage_work.png?itok=YlXpAqAJ (Filing papers and documents)
-[2]: https://en.wikipedia.org/wiki/Inter-process_communication
-[3]: http://condor.depaul.edu/mkalin
-[4]: http://www.opengroup.org/onlinepubs/009695399/functions/perror.html
-[5]: http://www.opengroup.org/onlinepubs/009695399/functions/exit.html
-[6]: http://www.opengroup.org/onlinepubs/009695399/functions/strlen.html
-[7]: http://www.opengroup.org/onlinepubs/009695399/functions/fprintf.html
-[8]: http://www.opengroup.org/onlinepubs/009695399/functions/strcpy.html
diff --git a/sources/tech/20190415 Kubernetes on Fedora IoT with k3s.md b/sources/tech/20190415 Kubernetes on Fedora IoT with k3s.md
deleted file mode 100644
index 5650e80aee..0000000000
--- a/sources/tech/20190415 Kubernetes on Fedora IoT with k3s.md
+++ /dev/null
@@ -1,211 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Kubernetes on Fedora IoT with k3s)
-[#]: via: (https://fedoramagazine.org/kubernetes-on-fedora-iot-with-k3s/)
-[#]: author: (Lennart Jern https://fedoramagazine.org/author/lennartj/)
-
-Kubernetes on Fedora IoT with k3s
-======
-
-![][1]
-
-Fedora IoT is an upcoming Fedora edition targeted at the Internet of Things. It was introduced last year on Fedora Magazine in the article [How to turn on an LED with Fedora IoT][2]. Since then, it has continued to improve together with Fedora Silverblue to provide an immutable base operating system aimed at container-focused workflows.
-
-Kubernetes is an immensely popular container orchestration system. It is perhaps most commonly used on powerful hardware handling huge workloads. However, it can also be used on lightweight devices such as the Raspberry Pi 3. Read on to find out how.
-
-### Why Kubernetes?
-
-While Kubernetes is all the rage in the cloud, it may not be immediately obvious to run it on a small single board computer. But there are certainly reasons for doing it. First of all it is a great way to learn and get familiar with Kubernetes without the need for expensive hardware. Second, because of its popularity, there are [tons of applications][3] that comes pre-packaged for running in Kubernetes clusters. Not to mention the large community to provide help if you ever get stuck.
-
-Last but not least, container orchestration may actually make things easier, even at the small scale in a home lab. This may not be apparent when tackling the the learning curve, but these skills will help when dealing with any cluster in the future. It doesn’t matter if it’s a single node Raspberry Pi cluster or a large scale machine learning farm.
-
-#### K3s – a lightweight Kubernetes
-
-A “normal” installation of Kubernetes (if such a thing can be said to exist) is a bit on the heavy side for IoT. The recommendation is a minimum of 2 GB RAM per machine! However, there are plenty of alternatives, and one of the newcomers is [k3s][4] – a lightweight Kubernetes distribution.
-
-K3s is quite special in that it has replaced etcd with SQLite for its key-value storage needs. Another thing to note is that k3s ships as a single binary instead of one per component. This diminishes the memory footprint and simplifies the installation. Thanks to the above, k3s should be able to run k3s with just 512 MB of RAM, perfect for a small single board computer!
-
-### What you will need
-
- 1. Fedora IoT in a virtual machine or on a physical device. See the excellent getting started guide [here][5]. One machine is enough but two will allow you to test adding more nodes to the cluster.
- 2. [Configure the firewall][6] to allow traffic on ports 6443 and 8472. Or simply disable it for this experiment by running “systemctl stop firewalld”.
-
-
-
-### Install k3s
-
-Installing k3s is very easy. Simply run the installation script:
-
-```
-curl -sfL https://get.k3s.io | sh -
-```
-
-This will download, install and start up k3s. After installation, get a list of nodes from the server by running the following command:
-
-```
-kubectl get nodes
-```
-
-Note that there are several options that can be passed to the installation script through environment variables. These can be found in the [documentation][7]. And of course, there is nothing stopping you from installing k3s manually by downloading the binary directly.
-
-While great for experimenting and learning, a single node cluster is not much of a cluster. Luckily, adding another node is no harder than setting up the first one. Just pass two environment variables to the installation script to make it find the first node and avoid running the server part of k3s
-
-```
-curl -sfL https://get.k3s.io | K3S_URL=https://example-url:6443 \
- K3S_TOKEN=XXX sh -
-```
-
-The example-url above should be replaced by the IP address or fully qualified domain name of the first node. On that node the token (represented by XXX) is found in the file /var/lib/rancher/k3s/server/node-token.
-
-### Deploy some containers
-
-Now that we have a Kubernetes cluster, what can we actually do with it? Let’s start by deploying a simple web server.
-
-```
-kubectl create deployment my-server --image nginx
-```
-
-This will create a [Deployment][8] named “my-server” from the container image “nginx” (defaulting to docker hub as registry and the latest tag). You can see the Pod created by running the following command.
-
-```
-kubectl get pods
-```
-
-In order to access the nginx server running in the pod, first expose the Deployment through a [Service][9]. The following command will create a Service with the same name as the deployment.
-
-```
-kubectl expose deployment my-server --port 80
-```
-
-The Service works as a kind of load balancer and DNS record for the Pods. For instance, when running a second Pod, we will be able to _curl_ the nginx server just by specifying _my-server_ (the name of the Service). See the example below for how to do this.
-
-```
-# Start a pod and run bash interactively in it
-kubectl run debug --generator=run-pod/v1 --image=fedora -it -- bash
-# Wait for the bash prompt to appear
-curl my-server
-# You should get the "Welcome to nginx!" page as output
-```
-
-### Ingress controller and external IP
-
-By default, a Service only get a ClusterIP (only accessible inside the cluster), but you can also request an external IP for the service by setting its type to [LoadBalancer][10]. However, not all applications require their own IP address. Instead, it is often possible to share one IP address among many services by routing requests based on the host header or path. You can accomplish this in Kubernetes with an [Ingress][11], and this is what we will do. Ingresses also provide additional features such as TLS encryption of the traffic without having to modify your application.
-
-Kubernetes needs an ingress controller to make the Ingress resources work and k3s includes [Traefik][12] for this purpose. It also includes a simple service load balancer that makes it possible to get an external IP for a Service in the cluster. The [documentation][13] describes the service like this:
-
-> k3s includes a basic service load balancer that uses available host ports. If you try to create a load balancer that listens on port 80, for example, it will try to find a free host in the cluster for port 80. If no port is available the load balancer will stay in Pending.
->
-> k3s README
-
-The ingress controller is already exposed with this load balancer service. You can find the IP address that it is using with the following command.
-
-```
-$ kubectl get svc --all-namespaces
-NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
- default kubernetes ClusterIP 10.43.0.1 443/TCP 33d
- default my-server ClusterIP 10.43.174.38 80/TCP 30m
- kube-system kube-dns ClusterIP 10.43.0.10 53/UDP,53/TCP,9153/TCP 33d
- kube-system traefik LoadBalancer 10.43.145.104 10.0.0.8 80:31596/TCP,443:31539/TCP 33d
-```
-
-Look for the Service named traefik. In the above example the IP we are interested in is 10.0.0.8.
-
-### Route incoming requests
-
-Let’s create an Ingress that routes requests to our web server based on the host header. This example uses [xip.io][14] to avoid having to set up DNS records. It works by including the IP adress as a subdomain, to use any subdomain of 10.0.0.8.xip.io to reach the IP 10.0.0.8. In other words, my-server.10.0.0.8.xip.io is used to reach the ingress controller in the cluster. You can try this right now (with your own IP instead of 10.0.0.8). Without an ingress in place you should reach the “default backend” which is just a page showing “404 page not found”.
-
-We can tell the ingress controller to route requests to our web server Service with the following Ingress.
-
-```
-apiVersion: extensions/v1beta1
-kind: Ingress
-metadata:
- name: my-server
-spec:
- rules:
- - host: my-server.10.0.0.8.xip.io
- http:
- paths:
- - path: /
- backend:
- serviceName: my-server
- servicePort: 80
-```
-
-Save the above snippet in a file named _my-ingress.yaml_ and add it to the cluster by running this command:
-
-```
-kubectl apply -f my-ingress.yaml
-```
-
-You should now be able to reach the default nginx welcoming page on the fully qualified domain name you chose. In my example this would be my-server.10.0.0.8.xip.io. The ingress controller is routing the requests based on the information in the Ingress. A request to my-server.10.0.0.8.xip.io will be routed to the Service and port defined as backend in the Ingress (my-server and 80 in this case).
-
-### What about IoT then?
-
-Imagine the following scenario. You have dozens of devices spread out around your home or farm. It is a heterogeneous collection of IoT devices with various hardware capabilities, sensors and actuators. Maybe some of them have cameras, weather or light sensors. Others may be hooked up to control the ventilation, lights, blinds or blink LEDs.
-
-In this scenario, you want to gather data from all the sensors, maybe process and analyze it before you finally use it to make decisions and control the actuators. In addition to this, you may want to visualize what’s going on by setting up a dashboard. So how can Kubernetes help us manage something like this? How can we make sure that Pods run on suitable devices?
-
-The simple answer is labels. You can label the nodes according to capabilities, like this:
-
-```
-kubectl label nodes =
-# Example
-kubectl label nodes node2 camera=available
-```
-
-Once they are labeled, it is easy to select suitable nodes for your workload with [nodeSelectors][15]. The final piece to the puzzle, if you want to run your Pods on _all_ suitable nodes is to use [DaemonSets][16] instead of Deployments. In other words, create one DaemonSet for each data collecting application that uses some unique sensor and use nodeSelectors to make sure they only run on nodes with the proper hardware.
-
-The service discovery feature that allows Pods to find each other simply by Service name makes it quite easy to handle these kinds of distributed systems. You don’t need to know or configure IP addresses or custom ports for the applications. Instead, they can easily find each other through named Services in the cluster.
-
-#### Utilize spare resources
-
-With the cluster up and running, collecting data and controlling your lights and climate control you may feel that you are finished. However, there are still plenty of compute resources in the cluster that could be used for other projects. This is where Kubernetes really shines.
-
-You shouldn’t have to worry about where exactly those resources are or calculate if there is enough memory to fit an extra application here or there. This is exactly what orchestration solves! You can easily deploy more applications in the cluster and let Kubernetes figure out where (or if) they will fit.
-
-Why not run your own [NextCloud][17] instance? Or maybe [gitea][18]? You could also set up a CI/CD pipeline for all those IoT containers. After all, why would you build and cross compile them on your main computer if you can do it natively in the cluster?
-
-The point here is that Kubernetes makes it easier to make use of the “hidden” resources that you often end up with otherwise. Kubernetes handles scheduling of Pods in the cluster based on available resources and fault tolerance so that you don’t have to. However, in order to help Kubernetes make reasonable decisions you should definitely add [resource requests][19] to your workloads.
-
-### Summary
-
-While Kubernetes, or container orchestration in general, may not usually be associated with IoT, it certainly makes a lot of sense to have an orchestrator when you are dealing with distributed systems. Not only does is allow you to handle a diverse and heterogeneous fleet of devices in a unified way, but it also simplifies communication between them. In addition, Kubernetes makes it easier to utilize spare resources.
-
-Container technology made it possible to build applications that could “run anywhere”. Now Kubernetes makes it easier to manage the “anywhere” part. And as an immutable base to build it all on, we have Fedora IoT.
-
---------------------------------------------------------------------------------
-
-via: https://fedoramagazine.org/kubernetes-on-fedora-iot-with-k3s/
-
-作者:[Lennart Jern][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://fedoramagazine.org/author/lennartj/
-[b]: https://github.com/lujun9972
-[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/k3s-1-816x345.png
-[2]: https://fedoramagazine.org/turnon-led-fedora-iot/
-[3]: https://hub.helm.sh/
-[4]: https://k3s.io
-[5]: https://docs.fedoraproject.org/en-US/iot/getting-started/
-[6]: https://github.com/rancher/k3s#open-ports--network-security
-[7]: https://github.com/rancher/k3s#systemd
-[8]: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
-[9]: https://kubernetes.io/docs/concepts/services-networking/service/
-[10]: https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer
-[11]: https://kubernetes.io/docs/concepts/services-networking/ingress/
-[12]: https://traefik.io/
-[13]: https://github.com/rancher/k3s/blob/master/README.md#service-load-balancer
-[14]: http://xip.io/
-[15]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
-[16]: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
-[17]: https://nextcloud.com/
-[18]: https://gitea.io/en-us/
-[19]: https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
diff --git a/sources/tech/20190415 Troubleshooting slow WiFi on Linux.md b/sources/tech/20190415 Troubleshooting slow WiFi on Linux.md
deleted file mode 100644
index 6c3db30f25..0000000000
--- a/sources/tech/20190415 Troubleshooting slow WiFi on Linux.md
+++ /dev/null
@@ -1,39 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: (geekpi)
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Troubleshooting slow WiFi on Linux)
-[#]: via: (https://www.linux.com/blog/troubleshooting-slow-wifi-linux)
-[#]: author: (OpenSource.com https://www.linux.com/USERS/OPENSOURCECOM)
-
-Troubleshooting slow WiFi on Linux
-======
-
-I'm no stranger to diagnosing hardware problems on [Linux systems][1]. Even though most of my professional work over the past few years has involved virtualization, I still enjoy crouching under desks and fumbling around with devices and memory modules. Well, except for the "crouching under desks" part. But none of that means that persistent and mysterious bugs aren't frustrating. I recently faced off against one of those bugs on my Ubuntu 18.04 workstation, which remained unsolved for months.
-
-Here, I'll share my problem and my many attempts to resolve it. Even though you'll probably never encounter my specific issue, the troubleshooting process might be helpful. And besides, you'll get to enjoy feeling smug at how much time and effort I wasted following useless leads.
-
-Read more at: [OpenSource.com][2]
-
-I'm no stranger to diagnosing hardware problems on [Linux systems][1]. Even though most of my professional work over the past few years has involved virtualization, I still enjoy crouching under desks and fumbling around with devices and memory modules. Well, except for the "crouching under desks" part. But none of that means that persistent and mysterious bugs aren't frustrating. I recently faced off against one of those bugs on my Ubuntu 18.04 workstation, which remained unsolved for months.
-
-Here, I'll share my problem and my many attempts to resolve it. Even though you'll probably never encounter my specific issue, the troubleshooting process might be helpful. And besides, you'll get to enjoy feeling smug at how much time and effort I wasted following useless leads.
-
-Read more at: [OpenSource.com][2]
-
---------------------------------------------------------------------------------
-
-via: https://www.linux.com/blog/troubleshooting-slow-wifi-linux
-
-作者:[OpenSource.com][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://www.linux.com/USERS/OPENSOURCECOM
-[b]: https://github.com/lujun9972
-[1]: https://www.manning.com/books/linux-in-action?a_aid=bootstrap-it&a_bid=4ca15fc9&chan=opensource
-[2]: https://opensource.com/article/19/4/troubleshooting-wifi-linux
diff --git a/sources/tech/20190416 Building a DNS-as-a-service with OpenStack Designate.md b/sources/tech/20190416 Building a DNS-as-a-service with OpenStack Designate.md
deleted file mode 100644
index 2dc628a49c..0000000000
--- a/sources/tech/20190416 Building a DNS-as-a-service with OpenStack Designate.md
+++ /dev/null
@@ -1,263 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Building a DNS-as-a-service with OpenStack Designate)
-[#]: via: (https://opensource.com/article/19/4/getting-started-openstack-designate)
-[#]: author: (Amjad Yaseen https://opensource.com/users/ayaseen)
-
-Building a DNS-as-a-service with OpenStack Designate
-======
-Learn how to install and configure Designate, a multi-tenant
-DNS-as-a-service (DNSaaS) for OpenStack.
-![Command line prompt][1]
-
-[Designate][2] is a multi-tenant DNS-as-a-service that includes a REST API for domain and record management, a framework for integration with [Neutron][3], and integration support for Bind9.
-
-You would want to consider a DNSaaS for the following:
-
- * A clean REST API for managing zones and records
- * Automatic records generated (with OpenStack integration)
- * Support for multiple authoritative name servers
- * Hosting multiple projects/organizations
-
-
-
-![Designate's architecture][4]
-
-This article explains how to manually install and configure the latest release of Designate service on CentOS or Red Hat Enterprise Linux 7 (RHEL 7), but you can use the same configuration on other distributions.
-
-### Install Designate on OpenStack
-
-I have Ansible roles for bind and Designate that demonstrate the setup in my [GitHub repository][5].
-
-This setup presumes bind service is external (even though you can install bind locally) on the OpenStack controller node.
-
- 1. Install Designate's packages and bind (on OpenStack controller): [code]`# yum install openstack-designate-* bind bind-utils -y`
-```
- 2. Create the Designate database and user: [code] MariaDB [(none)]> CREATE DATABASE designate CHARACTER SET utf8 COLLATE utf8_general_ci;
-
-MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO \
-'designate'@'localhost' IDENTIFIED BY 'rhlab123';
-
-MariaDB [(none)]> GRANT ALL PRIVILEGES ON designate.* TO 'designate'@'%' \
-IDENTIFIED BY 'rhlab123';
-```
-
-
-
-
-Note: Bind packages must be installed on the controller side for Remote Name Daemon Control (RNDC) to function properly.
-
-### Configure bind (DNS server)
-
- 1. Generate RNDC files: [code] rndc-confgen -a -k designate -c /etc/rndc.key -r /dev/urandom
-
-cat < etcrndc.conf
-include "/etc/rndc.key";
-options {
-default-key "designate";
-default-server {{ DNS_SERVER_IP }};
-default-port 953;
-};
-EOF
-```
- 2. Add the following into **named.conf** : [code]`include "/etc/rndc.key"; controls { inet {{ DNS_SERVER_IP }} allow { localhost;{{ CONTROLLER_SERVER_IP }}; } keys { "designate"; }; };`[/code] In the **option** section, add: [code] options {
-...
-allow-new-zones yes;
-request-ixfr no;
-listen-on port 53 { any; };
-recursion no;
-allow-query { 127.0.0.1; {{ CONTROLLER_SERVER_IP }}; };
-}; [/code] Add the right permissions: [code] chown named:named /etc/rndc.key
-chown named:named /etc/rndc.conf
-chmod 600 /etc/rndc.key
-chown -v root:named /etc/named.conf
-chmod g+w /var/named
-
-# systemctl restart named
-# setsebool named_write_master_zones 1
-```
-
- 3. Push **rndc.key** and **rndc.conf** into the OpenStack controller: [code]`# scp -r /etc/rndc* {{ CONTROLLER_SERVER_IP }}:/etc/`
-```
-## Create OpenStack Designate service and endpoints
-
-Enter:
-```
-
-
-# openstack user create --domain default --password-prompt designate
-# openstack role add --project services --user designate admin
-# openstack service create --name designate --description "DNS" dns
-
-# openstack endpoint create --region RegionOne dns public http://{{ CONTROLLER_SERVER_IP }}:9001/
-# openstack endpoint create --region RegionOne dns internal http://{{ CONTROLLER_SERVER_IP }}:9001/
-# openstack endpoint create --region RegionOne dns admin http://{{ CONTROLLER_SERVER_IP }}:9001/
-
-```
-## Configure Designate service
-
- 1. Edit **/etc/designate/designate.conf** :
- * In the **[service:api]** section, configure **auth_strategy** : [code] [service:api]
-listen = 0.0.0.0:9001
-auth_strategy = keystone
-api_base_uri = http://{{ CONTROLLER_SERVER_IP }}:9001/
-enable_api_v2 = True
-enabled_extensions_v2 = quotas, reports
-```
- * In the **[keystone_authtoken]** section, configure the following options: [code] [keystone_authtoken]
-auth_type = password
-username = designate
-password = rhlab123
-project_name = service
-project_domain_name = Default
-user_domain_name = Default
-www_authenticate_uri = http://{{ CONTROLLER_SERVER_IP }}:5000/
-auth_url = http://{{ CONTROLLER_SERVER_IP }}:5000/
-```
- * In the **[service:worker]** section, enable the worker model: [code] enabled = True
-notify = True
-```
- * In the **[storage:sqlalchemy]** section, configure database access: [code] [storage:sqlalchemy]
-connection = mysql+pymysql://designate:rhlab123@{{ CONTROLLER_SERVER_IP }}/designate
-```
-* Populate the Designate database: [code]`# su -s /bin/sh -c "designate-manage database sync" designate`
-```
-
-
- 2. Create Designate's **pools.yaml** file (has target and bind details):
- * Edit **/etc/designate/pools.yaml** : [code] - name: default
-# The name is immutable. There will be no option to change the name after
-# creation and the only way will to change it will be to delete it
-# (and all zones associated with it) and recreate it.
-description: Default Pool
-
-attributes: {}
-
-# List out the NS records for zones hosted within this pool
-# This should be a record that is created outside of designate, that
-# points to the public IP of the controller node.
-ns_records:
-\- hostname: {{Controller_FQDN}}. # Thisis mDNS
-priority: 1
-
-# List out the nameservers for this pool. These are the actual BIND servers.
-# We use these to verify changes have propagated to all nameservers.
-nameservers:
-\- host: {{ DNS_SERVER_IP }}
-port: 53
-
-# List out the targets for this pool. For BIND there will be one
-# entry for each BIND server, as we have to run rndc command on each server
-targets:
-\- type: bind9
-description: BIND9 Server 1
-
-# List out the designate-mdns servers from which BIND servers should
-# request zone transfers (AXFRs) from.
-# This should be the IP of the controller node.
-# If you have multiple controllers you can add multiple masters
-# by running designate-mdns on them, and adding them here.
-masters:
-\- host: {{ CONTROLLER_SERVER_IP }}
-port: 5354
-
-# BIND Configuration options
-options:
-host: {{ DNS_SERVER_IP }}
-port: 53
-rndc_host: {{ DNS_SERVER_IP }}
-rndc_port: 953
-rndc_key_file: /etc/rndc.key
-rndc_config_file: /etc/rndc.conf
-```
-* Populate Designate's pools: [code]`su -s /bin/sh -c "designate-manage pool update" designate`
-```
-
-
-
- 3. Start Designate central and API services: [code]`systemctl enable --now designate-central designate-api`
-```
- 4. Verify Designate's services are up: [code] # openstack dns service list
-
-+--------------+--------+-------+--------------+
-| service_name | status | stats | capabilities |
-+--------------+--------+-------+--------------+
-| central | UP | - | - |
-| api | UP | - | - |
-| mdns | UP | - | - |
-| worker | UP | - | - |
-| producer | UP | - | - |
-+--------------+--------+-------+--------------+
-```
-
-
-
-
-### Configure OpenStack Neutron with external DNS
-
- 1. Configure iptables for Designate services: [code] # iptables -I INPUT -p tcp -m multiport --dports 9001 -m comment --comment "designate incoming" -j ACCEPT
-
-# iptables -I INPUT -p tcp -m multiport --dports 5354 -m comment --comment "Designate mdns incoming" -j ACCEPT
-
-# iptables -I INPUT -p tcp -m multiport --dports 53 -m comment --comment "bind incoming" -j ACCEPT
-
-
-# iptables -I INPUT -p udp -m multiport --dports 53 -m comment --comment "bind/powerdns incoming" -j ACCEPT
-
-# iptables -I INPUT -p tcp -m multiport --dports 953 -m comment --comment "rndc incoming - bind only" -j ACCEPT
-
-# service iptables save; service iptables restart
-# setsebool named_write_master_zones 1
-```
-2. Edit the **[default]** section of **/etc/neutron/neutron.conf** : [code]`external_dns_driver = designate`
-```
-
- 3. Add the **[designate]** section in **/_etc/_neutron/neutron.conf** : [code] [designate]
-url = http://{{ CONTROLLER_SERVER_IP }}:9001/v2 ## This end point of designate
-auth_type = password
-auth_url = http://{{ CONTROLLER_SERVER_IP }}:5000
-username = designate
-password = rhlab123
-project_name = services
-project_domain_name = Default
-user_domain_name = Default
-allow_reverse_dns_lookup = True
-ipv4_ptr_zone_prefix_size = 24
-ipv6_ptr_zone_prefix_size = 116
-```
- 4. Edit **dns_domain** in **neutron.conf** : [code] dns_domain = rhlab.dev.
-
-# systemctl restart neutron-*
-```
-
- 5. Add **dns** to the list of Modular Layer 2 (ML2) drivers in **/etc/neutron/plugins/ml2/ml2_conf.ini** : [code]`extension_drivers=port_security,qos,dns`
-```
-6. Add **zone** in Designate: [code]`# openstack zone create –email=admin@rhlab.dev rhlab.dev.`[/code] Add a new record in **zone rhlab.dev** : [code]`# openstack recordset create --record '192.168.1.230' --type A rhlab.dev. Test`
-```
-
-
-
-
-Designate should now be installed and configured.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/getting-started-openstack-designate
-
-作者:[Amjad Yaseen][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/ayaseen
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/command_line_prompt.png?itok=wbGiJ_yg (Command line prompt)
-[2]: https://docs.openstack.org/designate/latest/
-[3]: /article/19/3/openstack-neutron
-[4]: https://opensource.com/sites/default/files/uploads/openstack_designate_architecture.png (Designate's architecture)
-[5]: https://github.com/ayaseen/designate
diff --git a/sources/tech/20190416 Can schools be agile.md b/sources/tech/20190416 Can schools be agile.md
deleted file mode 100644
index 065b313c05..0000000000
--- a/sources/tech/20190416 Can schools be agile.md
+++ /dev/null
@@ -1,79 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Can schools be agile?)
-[#]: via: (https://opensource.com/open-organization/19/4/education-culture-agile)
-[#]: author: (Ben Owens https://opensource.com/users/engineerteacher/users/ke4qqq/users/n8chz/users/don-watkins)
-
-Can schools be agile?
-======
-We certainly don't need to run our schools like businesses—but we could
-benefit from educational organizations more focused on continuous
-improvement.
-![][1]
-
-We've all had those _deja vu_ moments that make us think "I've seen this before!" I experienced them often in the late 1980s, when I first began my career in industry. I was caught up in a wave of organizational change, where the U.S. manufacturing sector was experimenting with various models that asked leaders, managers, and engineers like me to rethink how we approached things like quality, cost, innovation, and shareholder value. It seems as if every year (sometimes, more frequently) we'd study yet another book to identify the "best practices" necessary for making us leaner, flatter, more nimble, and more responsive to the needs of the customer.
-
-Many of the approaches were so transformational that their core principles still resonate with me today. Specific ideas and methods from thought leaders such as John Kotter, Peter Drucker, Edwards Demming, and Peter Senge were truly pivotal for our ability to rethink our work, as were the adoption of process improvement methods such as Six Sigma and those embodied in the "Toyota Way."
-
-But others seemed to simply repackage these same ideas with a sexy new twist—hence my _deja vu_.
-
-And yet when I began my career as a teacher, I encountered a context that _didn't_ give me that feeling: education. In fact, I was surprised to find that "getting better all the time" was _not_ the same high priority in my new profession that it was in my old one (particularly at the level of my role as a classroom teacher).
-
-Why aren't more educational organizations working to create cultures of continuous improvement? I can think of several reasons, but let me address two.
-
-### Widgets no more
-
-The first barrier to a culture of continuous improvement is education's general reticence to look at other professions for ideas it can adapt and adopt—especially ideas from the business community. The second is education's predominant leadership model, which remains predominantly top-down and rooted in hierarchy. Conversations about systemic, continuous improvement tend to be the purview of a relatively small group of school or district leaders: principals, assistant principals, superintendents, and the like. But widespread organizational culture change can't occur if only one small group is involved in it.
-
-Before unpacking these points a bit further, I'd like to emphasize that there are certainly exceptions to the above generalization (many I have seen first hand) and that there are two basic assumptions that I think any education stakeholder should be able to agree with:
-
- 1. Continuous improvement must be an essential mindset for _anyone_ involved in the work of providing high-quality and equitable teaching and learning systems for students, and
- 2. Decisions by leaders of our schools will more greatly benefit students and the communities in which they live when those decisions are informed and influenced by those who work closest with students.
-
-
-
-So why a tendency to ignore (or be outright hostile toward) ideas that come from outside the education space?
-
-I, for example, have certainly faced criticism in the past for suggesting that we look to other professions for ideas and inspiration that can help us better meet the needs of students. A common refrain is something like: "You're trying to treat our students like widgets!" But how could our students be treated any more like widgets than they already are? They matriculate through school in age-based cohorts, going from siloed class to class each day by the sound of a shrill bell, and receive grades based on arbitrary tests that emphasize sameness over individuality.
-
-What I'm advocating is a clear-eyed and objective look at any idea from any sector with potential to help us better meet the needs of individual students, not that we somehow run our schools like businesses.
-
-It may be news to many inside of education, but widgets—abstract units of production that evoke the idea of assembly line standardization—are not a significant part of the modern manufacturing sector. Thanks to the culture of continuous improvement described above, modern, advanced manufacturing delivers just what the individual customer wants, at a competitive price, exactly when she wants it. If we adapted this model to our schools, teachers would be more likely to collaborate and constantly refine their unique paths of growth for all students based on just-in-time needs and desires—regardless of the time, subject, or any other traditional norm.
-
-What I'm advocating is a clear-eyed and objective look at any idea from any sector with potential to help us better meet the needs of individual students, not that we somehow run our schools like businesses. In order for this to happen effectively, however, we need to scrutinize a leadership structure that has frankly remained stagnant for over 100 years.
-
-### Toward continuous improvement
-
-While I certainly appreciate the argument that education is an animal significantly different from other professions, I also believe that rethinking an organizational and leadership structure is an applicable exercise for any entity wanting to remain responsible (and responsive) to the needs of its stakeholders. Most other professions have taken a hard look at their traditional, closed, hierarchical structures and moved to ones that encourage collective autonomy per shared goals of excellence—organizational elements essential for continuous improvement. It's time our schools and districts do the same by expanding their horizon beyond sources that, while well intended, are developed from a lens of the current paradigm.
-
-Not surprisingly, a go-to resource I recommend to any school wanting to begin or accelerate this process is _The Open Organization_ by Jim Whitehurst. Not only does the book provide a window into how educators can create more open, inclusive leadership structures—where mutual respect enables nimble decisions to be made per real-time data—but it does so in language easily adaptable to the rather strange lexicon that's second nature to educators. Open organization thinking provides pragmatic ways any organization can empower members to be more open: sharing ideas and resources, embracing a culture of collaborative participation as a top priority, developing an innovation mindset through rapid prototyping, valuing ideas based on merit rather than the rank of the person proposing them, and building a strong sense of community that's baked into the organization's DNA. Such an open organization crowd-sources ideas from both inside and outside its formal structure and creates the type of environment that enables localized, student-centered innovations to thrive.
-
-We simply can't rely on solutions and practices we developed in a factory-model paradigm.
-
-Here's the bottom line: Essential to a culture of continuous improvement is recognizing that what we've done in the past may not be suitable in a rapidly changing future. For educators, that means we simply can't rely on solutions and practices we developed in a factory-model paradigm. We must acknowledge countless examples of best practices from other sectors—such as non-profits, the military, the medical profession, and yes, even business—that can at least _inform_ how we rethink what we do in the best interest of students. By moving beyond the traditionally sanctioned "eduspeak" world, we create opportunities for considering perspectives. We can better see the forest for the trees, taking a more objective look at the problems we face, as well as acknowledging what we do very well.
-
-Intentionally considering ideas from all sources—from first year classroom teachers to the latest NYT Business & Management Leadership bestseller—offers us a powerful way to engage existing talent within our schools to help overcome the institutionalized inertia that has prevented more positive change from taking hold in our schools and districts.
-
-Relentlessly pursuing methods of continuous improvement should not be a behavior confined to organizations fighting to remain competitive in a global, innovation economy, nor should it be left to a select few charged with the operation of our schools. When everyone in an organization is always thinking about what they can do differently _today_ to improve what they did _yesterday_ , then you have an organization living a culture of excellence. That's the kind of radically collaborative and innovative culture we should especially expect for organizations focused on changing the lives of young people.
-
-I'm eagerly awaiting the day when I enter a school, recognize that spirit, and smile to myself as I say, "I've seen this before."
-
-Experiential learning using open source is fraught with opportunities for disaster.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/open-organization/19/4/education-culture-agile
-
-作者:[Ben Owens][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/engineerteacher/users/ke4qqq/users/n8chz/users/don-watkins
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/EDUCATION_network.png?itok=ySEHuAQ8
diff --git a/sources/tech/20190416 Detecting malaria with deep learning.md b/sources/tech/20190416 Detecting malaria with deep learning.md
deleted file mode 100644
index 77df4a561b..0000000000
--- a/sources/tech/20190416 Detecting malaria with deep learning.md
+++ /dev/null
@@ -1,792 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Detecting malaria with deep learning)
-[#]: via: (https://opensource.com/article/19/4/detecting-malaria-deep-learning)
-[#]: author: (Dipanjan (DJ) Sarkar (Red Hat) https://opensource.com/users/djsarkar)
-
-Detecting malaria with deep learning
-======
-Artificial intelligence combined with open source tools can improve
-diagnosis of the fatal disease malaria.
-![][1]
-
-Artificial intelligence (AI) and open source tools, technologies, and frameworks are a powerful combination for improving society. _"Health is wealth"_ is perhaps a cliche, yet it's very accurate! In this article, we will examine how AI can be leveraged for detecting the deadly disease malaria with a low-cost, effective, and accurate open source deep learning solution.
-
-While I am neither a doctor nor a healthcare researcher and I'm nowhere near as qualified as they are, I am interested in applying AI to healthcare research. My intent in this article is to showcase how AI and open source solutions can help malaria detection and reduce manual labor.
-
-![Python and TensorFlow][2]
-
-Python and TensorFlow: A great combo to build open source deep learning solutions
-
-Thanks to the power of Python and deep learning frameworks like TensorFlow, we can build robust, scalable, and effective deep learning solutions. Because these tools are free and open source, we can build solutions that are very cost-effective and easily adopted and used by anyone. Let's get started!
-
-### Motivation for the project
-
-Malaria is a deadly, infectious, mosquito-borne disease caused by _Plasmodium_ parasites that are transmitted by the bites of infected female _Anopheles_ mosquitoes. There are five parasites that cause malaria, but two types— _P. falciparum_ and _P. vivax_ —cause the majority of the cases.
-
-![Malaria heat map][3]
-
-This map shows that malaria is prevalent around the globe, especially in tropical regions, but the nature and fatality of the disease is the primary motivation for this project.
-
-If an infected mosquito bites you, parasites carried by the mosquito enter your blood and start destroying oxygen-carrying red blood cells (RBC). Typically, the first symptoms of malaria are similar to a virus like the flu and they usually begin within a few days or weeks after the mosquito bite. However, these deadly parasites can live in your body for over a year without causing symptoms, and a delay in treatment can lead to complications and even death. Therefore, early detection can save lives.
-
-The World Health Organization's (WHO) [malaria facts][4] indicate that nearly half the world's population is at risk from malaria, and there are over 200 million malaria cases and approximately 400,000 deaths due to malaria every year. This is a motivatation to make malaria detection and diagnosis fast, easy, and effective.
-
-### Methods of malaria detection
-
-There are several methods that can be used for malaria detection and diagnosis. The paper on which our project is based, "[Pre-trained convolutional neural networks as feature extractors toward improved Malaria parasite detection in thin blood smear images][5]," by Rajaraman, et al., introduces some of the methods, including polymerase chain reaction (PCR) and rapid diagnostic tests (RDT). These two tests are typically used where high-quality microscopy services are not readily available.
-
-The standard malaria diagnosis is typically based on a blood-smear workflow, according to Carlos Ariza's article "[Malaria Hero: A web app for faster malaria diagnosis][6]," which I learned about in Adrian Rosebrock's "[Deep learning and medical image analysis with Keras][7]." I appreciate the authors of these excellent resources for giving me more perspective on malaria prevalence, diagnosis, and treatment.
-
-![Blood smear workflow for Malaria detection][8]
-
-A blood smear workflow for Malaria detection
-
-According to WHO protocol, diagnosis typically involves intensive examination of the blood smear at 100X magnification. Trained people manually count how many red blood cells contain parasites out of 5,000 cells. As the Rajaraman, et al., paper cited above explains:
-
-> Thick blood smears assist in detecting the presence of parasites while thin blood smears assist in identifying the species of the parasite causing the infection (Centers for Disease Control and Prevention, 2012). The diagnostic accuracy heavily depends on human expertise and can be adversely impacted by the inter-observer variability and the liability imposed by large-scale diagnoses in disease-endemic/resource-constrained regions (Mitiku, Mengistu, and Gelaw, 2003). Alternative techniques such as polymerase chain reaction (PCR) and rapid diagnostic tests (RDT) are used; however, PCR analysis is limited in its performance (Hommelsheim, et al., 2014) and RDTs are less cost-effective in disease-endemic regions (Hawkes, Katsuva, and Masumbuko, 2009).
-
-Thus, malaria detection could benefit from automation using deep learning.
-
-### Deep learning for malaria detection
-
-Manual diagnosis of blood smears is an intensive manual process that requires expertise in classifying and counting parasitized and uninfected cells. This process may not scale well, especially in regions where the right expertise is hard to find. Some advancements have been made in leveraging state-of-the-art image processing and analysis techniques to extract hand-engineered features and build machine learning-based classification models. However, these models are not scalable with more data being available for training and given the fact that hand-engineered features take a lot of time.
-
-Deep learning models, or more specifically convolutional neural networks (CNNs), have proven very effective in a wide variety of computer vision tasks. (If you would like additional background knowledge on CNNs, I recommend reading [CS231n Convolutional Neural Networks for Visual Recognition][9].) Briefly, the key layers in a CNN model include convolution and pooling layers, as shown in the following figure.
-
-![A typical CNN architecture][10]
-
-A typical CNN architecture
-
-Convolution layers learn spatial hierarchical patterns from data, which are also translation-invariant, so they are able to learn different aspects of images. For example, the first convolution layer will learn small and local patterns, such as edges and corners, a second convolution layer will learn larger patterns based on the features from the first layers, and so on. This allows CNNs to automate feature engineering and learn effective features that generalize well on new data points. Pooling layers helps with downsampling and dimension reduction.
-
-Thus, CNNs help with automated and scalable feature engineering. Also, plugging in dense layers at the end of the model enables us to perform tasks like image classification. Automated malaria detection using deep learning models like CNNs could be very effective, cheap, and scalable, especially with the advent of transfer learning and pre-trained models that work quite well, even with constraints like less data.
-
-The Rajaraman, et al., paper leverages six pre-trained models on a dataset to obtain an impressive accuracy of 95.9% in detecting malaria vs. non-infected samples. Our focus is to try some simple CNN models from scratch and a couple of pre-trained models using transfer learning to see the results we can get on the same dataset. We will use open source tools and frameworks, including Python and TensorFlow, to build our models.
-
-### The dataset
-
-The data for our analysis comes from researchers at the Lister Hill National Center for Biomedical Communications (LHNCBC), part of the National Library of Medicine (NLM), who have carefully collected and annotated the [publicly available dataset][11] of healthy and infected blood smear images. These researchers have developed a mobile [application for malaria detection][12] that runs on a standard Android smartphone attached to a conventional light microscope. They used Giemsa-stained thin blood smear slides from 150 _P. falciparum_ -infected and 50 healthy patients, collected and photographed at Chittagong Medical College Hospital, Bangladesh. The smartphone's built-in camera acquired images of slides for each microscopic field of view. The images were manually annotated by an expert slide reader at the Mahidol-Oxford Tropical Medicine Research Unit in Bangkok, Thailand.
-
-Let's briefly check out the dataset's structure. First, I will install some basic dependencies (based on the operating system being used).
-
-![Installing dependencies][13]
-
-I am using a Debian-based system on the cloud with a GPU so I can run my models faster. To view the directory structure, we must install the tree dependency (if we don't have it) using **sudo apt install tree**.
-
-![Installing the tree dependency][14]
-
-We have two folders that contain images of cells, infected and healthy. We can get further details about the total number of images by entering:
-
-
-```
-import os
-import glob
-
-base_dir = os.path.join('./cell_images')
-infected_dir = os.path.join(base_dir,'Parasitized')
-healthy_dir = os.path.join(base_dir,'Uninfected')
-
-infected_files = glob.glob(infected_dir+'/*.png')
-healthy_files = glob.glob(healthy_dir+'/*.png')
-len(infected_files), len(healthy_files)
-
-# Output
-(13779, 13779)
-```
-
-It looks like we have a balanced dataset with 13,779 malaria and 13,779 non-malaria (uninfected) cell images. Let's build a data frame from this, which we will use when we start building our datasets.
-
-
-```
-import numpy as np
-import pandas as pd
-
-np.random.seed(42)
-
-files_df = pd.DataFrame({
-'filename': infected_files + healthy_files,
-'label': ['malaria'] * len(infected_files) + ['healthy'] * len(healthy_files)
-}).sample(frac=1, random_state=42).reset_index(drop=True)
-
-files_df.head()
-```
-
-![Datasets][15]
-
-### Build and explore image datasets
-
-To build deep learning models, we need training data, but we also need to test the model's performance on unseen data. We will use a 60:10:30 split for train, validation, and test datasets, respectively. We will leverage the train and validation datasets during training and check the performance of the model on the test dataset.
-
-
-```
-from sklearn.model_selection import train_test_split
-from collections import Counter
-
-train_files, test_files, train_labels, test_labels = train_test_split(files_df['filename'].values,
-files_df['label'].values,
-test_size=0.3, random_state=42)
-train_files, val_files, train_labels, val_labels = train_test_split(train_files,
-train_labels,
-test_size=0.1, random_state=42)
-
-print(train_files.shape, val_files.shape, test_files.shape)
-print('Train:', Counter(train_labels), '\nVal:', Counter(val_labels), '\nTest:', Counter(test_labels))
-
-# Output
-(17361,) (1929,) (8268,)
-Train: Counter({'healthy': 8734, 'malaria': 8627})
-Val: Counter({'healthy': 970, 'malaria': 959})
-Test: Counter({'malaria': 4193, 'healthy': 4075})
-```
-
-The images will not be of equal dimensions because blood smears and cell images vary based on the human, the test method, and the orientation of the photo. Let's get some summary statistics of our training dataset to determine the optimal image dimensions (remember, we don't touch the test dataset at all!).
-
-
-```
-import cv2
-from concurrent import futures
-import threading
-
-def get_img_shape_parallel(idx, img, total_imgs):
-if idx % 5000 == 0 or idx == (total_imgs - 1):
-print('{}: working on img num: {}'.format(threading.current_thread().name,
-idx))
-return cv2.imread(img).shape
-
-ex = futures.ThreadPoolExecutor(max_workers=None)
-data_inp = [(idx, img, len(train_files)) for idx, img in enumerate(train_files)]
-print('Starting Img shape computation:')
-train_img_dims_map = ex.map(get_img_shape_parallel,
-[record[0] for record in data_inp],
-[record[1] for record in data_inp],
-[record[2] for record in data_inp])
-train_img_dims = list(train_img_dims_map)
-print('Min Dimensions:', np.min(train_img_dims, axis=0))
-print('Avg Dimensions:', np.mean(train_img_dims, axis=0))
-print('Median Dimensions:', np.median(train_img_dims, axis=0))
-print('Max Dimensions:', np.max(train_img_dims, axis=0))
-
-# Output
-Starting Img shape computation:
-ThreadPoolExecutor-0_0: working on img num: 0
-ThreadPoolExecutor-0_17: working on img num: 5000
-ThreadPoolExecutor-0_15: working on img num: 10000
-ThreadPoolExecutor-0_1: working on img num: 15000
-ThreadPoolExecutor-0_7: working on img num: 17360
-Min Dimensions: [46 46 3]
-Avg Dimensions: [132.77311215 132.45757733 3.]
-Median Dimensions: [130. 130. 3.]
-Max Dimensions: [385 394 3]
-```
-
-We apply parallel processing to speed up the image-read operations and, based on the summary statistics, we will resize each image to 125x125 pixels. Let's load up all of our images and resize them to these fixed dimensions.
-
-
-```
-IMG_DIMS = (125, 125)
-
-def get_img_data_parallel(idx, img, total_imgs):
-if idx % 5000 == 0 or idx == (total_imgs - 1):
-print('{}: working on img num: {}'.format(threading.current_thread().name,
-idx))
-img = cv2.imread(img)
-img = cv2.resize(img, dsize=IMG_DIMS,
-interpolation=cv2.INTER_CUBIC)
-img = np.array(img, dtype=np.float32)
-return img
-
-ex = futures.ThreadPoolExecutor(max_workers=None)
-train_data_inp = [(idx, img, len(train_files)) for idx, img in enumerate(train_files)]
-val_data_inp = [(idx, img, len(val_files)) for idx, img in enumerate(val_files)]
-test_data_inp = [(idx, img, len(test_files)) for idx, img in enumerate(test_files)]
-
-print('Loading Train Images:')
-train_data_map = ex.map(get_img_data_parallel,
-[record[0] for record in train_data_inp],
-[record[1] for record in train_data_inp],
-[record[2] for record in train_data_inp])
-train_data = np.array(list(train_data_map))
-
-print('\nLoading Validation Images:')
-val_data_map = ex.map(get_img_data_parallel,
-[record[0] for record in val_data_inp],
-[record[1] for record in val_data_inp],
-[record[2] for record in val_data_inp])
-val_data = np.array(list(val_data_map))
-
-print('\nLoading Test Images:')
-test_data_map = ex.map(get_img_data_parallel,
-[record[0] for record in test_data_inp],
-[record[1] for record in test_data_inp],
-[record[2] for record in test_data_inp])
-test_data = np.array(list(test_data_map))
-
-train_data.shape, val_data.shape, test_data.shape
-
-# Output
-Loading Train Images:
-ThreadPoolExecutor-1_0: working on img num: 0
-ThreadPoolExecutor-1_12: working on img num: 5000
-ThreadPoolExecutor-1_6: working on img num: 10000
-ThreadPoolExecutor-1_10: working on img num: 15000
-ThreadPoolExecutor-1_3: working on img num: 17360
-
-Loading Validation Images:
-ThreadPoolExecutor-1_13: working on img num: 0
-ThreadPoolExecutor-1_18: working on img num: 1928
-
-Loading Test Images:
-ThreadPoolExecutor-1_5: working on img num: 0
-ThreadPoolExecutor-1_19: working on img num: 5000
-ThreadPoolExecutor-1_8: working on img num: 8267
-((17361, 125, 125, 3), (1929, 125, 125, 3), (8268, 125, 125, 3))
-```
-
-We leverage parallel processing again to speed up computations pertaining to image load and resizing. Finally, we get our image tensors of the desired dimensions, as depicted in the preceding output. We can now view some sample cell images to get an idea of how our data looks.
-
-
-```
-import matplotlib.pyplot as plt
-%matplotlib inline
-
-plt.figure(1 , figsize = (8 , 8))
-n = 0
-for i in range(16):
-n += 1
-r = np.random.randint(0 , train_data.shape[0] , 1)
-plt.subplot(4 , 4 , n)
-plt.subplots_adjust(hspace = 0.5 , wspace = 0.5)
-plt.imshow(train_data[r[0]]/255.)
-plt.title('{}'.format(train_labels[r[0]]))
-plt.xticks([]) , plt.yticks([])
-```
-
-![Malaria cell samples][16]
-
-Based on these sample images, we can see some subtle differences between malaria and healthy cell images. We will make our deep learning models try to learn these patterns during model training.
-
-Before can we start training our models, we must set up some basic configuration settings.
-
-
-```
-BATCH_SIZE = 64
-NUM_CLASSES = 2
-EPOCHS = 25
-INPUT_SHAPE = (125, 125, 3)
-
-train_imgs_scaled = train_data / 255.
-val_imgs_scaled = val_data / 255.
-
-# encode text category labels
-from sklearn.preprocessing import LabelEncoder
-
-le = LabelEncoder()
-le.fit(train_labels)
-train_labels_enc = le.transform(train_labels)
-val_labels_enc = le.transform(val_labels)
-
-print(train_labels[:6], train_labels_enc[:6])
-
-# Output
-['malaria' 'malaria' 'malaria' 'healthy' 'healthy' 'malaria'] [1 1 1 0 0 1]
-```
-
-We fix our image dimensions, batch size, and epochs and encode our categorical class labels. The alpha version of TensorFlow 2.0 was released in March 2019, and this exercise is the perfect excuse to try it out.
-
-
-```
-import tensorflow as tf
-
-# Load the TensorBoard notebook extension (optional)
-%load_ext tensorboard.notebook
-
-tf.random.set_seed(42)
-tf.__version__
-
-# Output
-'2.0.0-alpha0'
-```
-
-### Deep learning model training
-
-In the model training phase, we will build three deep learning models, train them with our training data, and compare their performance using the validation data. We will then save these models and use them later in the model evaluation phase.
-
-#### Model 1: CNN from scratch
-
-Our first malaria detection model will build and train a basic CNN from scratch. First, let's define our model architecture.
-
-
-```
-inp = tf.keras.layers.Input(shape=INPUT_SHAPE)
-
-conv1 = tf.keras.layers.Conv2D(32, kernel_size=(3, 3),
-activation='relu', padding='same')(inp)
-pool1 = tf.keras.layers.MaxPooling2D(pool_size=(2, 2))(conv1)
-conv2 = tf.keras.layers.Conv2D(64, kernel_size=(3, 3),
-activation='relu', padding='same')(pool1)
-pool2 = tf.keras.layers.MaxPooling2D(pool_size=(2, 2))(conv2)
-conv3 = tf.keras.layers.Conv2D(128, kernel_size=(3, 3),
-activation='relu', padding='same')(pool2)
-pool3 = tf.keras.layers.MaxPooling2D(pool_size=(2, 2))(conv3)
-
-flat = tf.keras.layers.Flatten()(pool3)
-
-hidden1 = tf.keras.layers.Dense(512, activation='relu')(flat)
-drop1 = tf.keras.layers.Dropout(rate=0.3)(hidden1)
-hidden2 = tf.keras.layers.Dense(512, activation='relu')(drop1)
-drop2 = tf.keras.layers.Dropout(rate=0.3)(hidden2)
-
-out = tf.keras.layers.Dense(1, activation='sigmoid')(drop2)
-
-model = tf.keras.Model(inputs=inp, outputs=out)
-model.compile(optimizer='adam',
-loss='binary_crossentropy',
-metrics=['accuracy'])
-model.summary()
-
-# Output
-Model: "model"
-_________________________________________________________________
-Layer (type) Output Shape Param #
-=================================================================
-input_1 (InputLayer) [(None, 125, 125, 3)] 0
-_________________________________________________________________
-conv2d (Conv2D) (None, 125, 125, 32) 896
-_________________________________________________________________
-max_pooling2d (MaxPooling2D) (None, 62, 62, 32) 0
-_________________________________________________________________
-conv2d_1 (Conv2D) (None, 62, 62, 64) 18496
-_________________________________________________________________
-...
-...
-_________________________________________________________________
-dense_1 (Dense) (None, 512) 262656
-_________________________________________________________________
-dropout_1 (Dropout) (None, 512) 0
-_________________________________________________________________
-dense_2 (Dense) (None, 1) 513
-=================================================================
-Total params: 15,102,529
-Trainable params: 15,102,529
-Non-trainable params: 0
-_________________________________________________________________
-```
-
-Based on the architecture in this code, our CNN model has three convolution and pooling layers, followed by two dense layers, and dropouts for regularization. Let's train our model.
-
-
-```
-import datetime
-
-logdir = os.path.join('/home/dipanzan_sarkar/projects/tensorboard_logs',
-datetime.datetime.now().strftime("%Y%m%d-%H%M%S"))
-tensorboard_callback = tf.keras.callbacks.TensorBoard(logdir, histogram_freq=1)
-reduce_lr = tf.keras.callbacks.ReduceLROnPlateau(monitor='val_loss', factor=0.5,
-patience=2, min_lr=0.000001)
-callbacks = [reduce_lr, tensorboard_callback]
-
-history = model.fit(x=train_imgs_scaled, y=train_labels_enc,
-batch_size=BATCH_SIZE,
-epochs=EPOCHS,
-validation_data=(val_imgs_scaled, val_labels_enc),
-callbacks=callbacks,
-verbose=1)
-
-
-# Output
-Train on 17361 samples, validate on 1929 samples
-Epoch 1/25
-17361/17361 [====] - 32s 2ms/sample - loss: 0.4373 - accuracy: 0.7814 - val_loss: 0.1834 - val_accuracy: 0.9393
-Epoch 2/25
-17361/17361 [====] - 30s 2ms/sample - loss: 0.1725 - accuracy: 0.9434 - val_loss: 0.1567 - val_accuracy: 0.9513
-...
-...
-Epoch 24/25
-17361/17361 [====] - 30s 2ms/sample - loss: 0.0036 - accuracy: 0.9993 - val_loss: 0.3693 - val_accuracy: 0.9565
-Epoch 25/25
-17361/17361 [====] - 30s 2ms/sample - loss: 0.0034 - accuracy: 0.9994 - val_loss: 0.3699 - val_accuracy: 0.9559
-```
-
-We get a validation accuracy of 95.6%, which is pretty good, although our model looks to be overfitting slightly (based on looking at our training accuracy, which is 99.9%). We can get a clear perspective on this by plotting the training and validation accuracy and loss curves.
-
-
-```
-f, (ax1, ax2) = plt.subplots(1, 2, figsize=(12, 4))
-t = f.suptitle('Basic CNN Performance', fontsize=12)
-f.subplots_adjust(top=0.85, wspace=0.3)
-
-max_epoch = len(history.history['accuracy'])+1
-epoch_list = list(range(1,max_epoch))
-ax1.plot(epoch_list, history.history['accuracy'], label='Train Accuracy')
-ax1.plot(epoch_list, history.history['val_accuracy'], label='Validation Accuracy')
-ax1.set_xticks(np.arange(1, max_epoch, 5))
-ax1.set_ylabel('Accuracy Value')
-ax1.set_xlabel('Epoch')
-ax1.set_title('Accuracy')
-l1 = ax1.legend(loc="best")
-
-ax2.plot(epoch_list, history.history['loss'], label='Train Loss')
-ax2.plot(epoch_list, history.history['val_loss'], label='Validation Loss')
-ax2.set_xticks(np.arange(1, max_epoch, 5))
-ax2.set_ylabel('Loss Value')
-ax2.set_xlabel('Epoch')
-ax2.set_title('Loss')
-l2 = ax2.legend(loc="best")
-```
-
-![Learning curves for basic CNN][17]
-
-Learning curves for basic CNN
-
-We can see after the fifth epoch that things don't seem to improve a whole lot overall. Let's save this model for future evaluation.
-
-
-```
-`model.save('basic_cnn.h5')`
-```
-
-#### Deep transfer learning
-
-Just like humans have an inherent capability to transfer knowledge across tasks, transfer learning enables us to utilize knowledge from previously learned tasks and apply it to newer, related ones, even in the context of machine learning or deep learning. If you are interested in doing a deep-dive on transfer learning, you can read my article "[A comprehensive hands-on guide to transfer learning with real-world applications in deep learning][18]" and my book [_Hands-On Transfer Learning with Python_][19].
-
-![Ideas for deep transfer learning][20]
-
-The idea we want to explore in this exercise is:
-
-> Can we leverage a pre-trained deep learning model (which was trained on a large dataset, like ImageNet) to solve the problem of malaria detection by applying and transferring its knowledge in the context of our problem?
-
-We will apply the two most popular strategies for deep transfer learning.
-
- * Pre-trained model as a feature extractor
- * Pre-trained model with fine-tuning
-
-
-
-We will be using the pre-trained VGG-19 deep learning model, developed by the Visual Geometry Group (VGG) at the University of Oxford, for our experiments. A pre-trained model like VGG-19 is trained on a huge dataset ([ImageNet][21]) with a lot of diverse image categories. Therefore, the model should have learned a robust hierarchy of features, which are spatial-, rotational-, and translation-invariant with regard to features learned by CNN models. Hence, the model, having learned a good representation of features for over a million images, can act as a good feature extractor for new images suitable for computer vision problems like malaria detection. Let's discuss the VGG-19 model architecture before unleashing the power of transfer learning on our problem.
-
-##### Understanding the VGG-19 model
-
-The VGG-19 model is a 19-layer (convolution and fully connected) deep learning network built on the ImageNet database, which was developed for the purpose of image recognition and classification. This model was built by Karen Simonyan and Andrew Zisserman and is described in their paper "[Very deep convolutional networks for large-scale image recognition][22]." The architecture of the VGG-19 model is:
-
-![VGG-19 Model Architecture][23]
-
-You can see that we have a total of 16 convolution layers using 3x3 convolution filters along with max pooling layers for downsampling and two fully connected hidden layers of 4,096 units in each layer followed by a dense layer of 1,000 units, where each unit represents one of the image categories in the ImageNet database. We do not need the last three layers since we will be using our own fully connected dense layers to predict malaria. We are more concerned with the first five blocks so we can leverage the VGG model as an effective feature extractor.
-
-We will use one of the models as a simple feature extractor by freezing the five convolution blocks to make sure their weights aren't updated after each epoch. For the last model, we will apply fine-tuning to the VGG model, where we will unfreeze the last two blocks (Block 4 and Block 5) so that their weights will be updated in each epoch (per batch of data) as we train our own model.
-
-#### Model 2: Pre-trained model as a feature extractor
-
-For building this model, we will leverage TensorFlow to load up the VGG-19 model and freeze the convolution blocks so we can use them as an image feature extractor. We will plug in our own dense layers at the end to perform the classification task.
-
-
-```
-vgg = tf.keras.applications.vgg19.VGG19(include_top=False, weights='imagenet',
-input_shape=INPUT_SHAPE)
-vgg.trainable = False
-# Freeze the layers
-for layer in vgg.layers:
-layer.trainable = False
-
-base_vgg = vgg
-base_out = base_vgg.output
-pool_out = tf.keras.layers.Flatten()(base_out)
-hidden1 = tf.keras.layers.Dense(512, activation='relu')(pool_out)
-drop1 = tf.keras.layers.Dropout(rate=0.3)(hidden1)
-hidden2 = tf.keras.layers.Dense(512, activation='relu')(drop1)
-drop2 = tf.keras.layers.Dropout(rate=0.3)(hidden2)
-
-out = tf.keras.layers.Dense(1, activation='sigmoid')(drop2)
-
-model = tf.keras.Model(inputs=base_vgg.input, outputs=out)
-model.compile(optimizer=tf.keras.optimizers.RMSprop(lr=1e-4),
-loss='binary_crossentropy',
-metrics=['accuracy'])
-model.summary()
-
-# Output
-Model: "model_1"
-_________________________________________________________________
-Layer (type) Output Shape Param #
-=================================================================
-input_2 (InputLayer) [(None, 125, 125, 3)] 0
-_________________________________________________________________
-block1_conv1 (Conv2D) (None, 125, 125, 64) 1792
-_________________________________________________________________
-block1_conv2 (Conv2D) (None, 125, 125, 64) 36928
-_________________________________________________________________
-...
-...
-_________________________________________________________________
-block5_pool (MaxPooling2D) (None, 3, 3, 512) 0
-_________________________________________________________________
-flatten_1 (Flatten) (None, 4608) 0
-_________________________________________________________________
-dense_3 (Dense) (None, 512) 2359808
-_________________________________________________________________
-dropout_2 (Dropout) (None, 512) 0
-_________________________________________________________________
-dense_4 (Dense) (None, 512) 262656
-_________________________________________________________________
-dropout_3 (Dropout) (None, 512) 0
-_________________________________________________________________
-dense_5 (Dense) (None, 1) 513
-=================================================================
-Total params: 22,647,361
-Trainable params: 2,622,977
-Non-trainable params: 20,024,384
-_________________________________________________________________
-```
-
-It is evident from this output that we have a lot of layers in our model and we will be using the frozen layers of the VGG-19 model as feature extractors only. You can use the following code to verify how many layers in our model are indeed trainable and how many total layers are present in our network.
-
-
-```
-print("Total Layers:", len(model.layers))
-print("Total trainable layers:",
-sum([1 for l in model.layers if l.trainable]))
-
-# Output
-Total Layers: 28
-Total trainable layers: 6
-```
-
-We will now train our model using similar configurations and callbacks to the ones we used in our previous model. Refer to [my GitHub repository][24] for the complete code to train the model. We observe the following plots showing the model's accuracy and loss.
-
-![Learning curves for frozen pre-trained CNN][25]
-
-Learning curves for frozen pre-trained CNN
-
-This shows that our model is not overfitting as much as our basic CNN model, but the performance is slightly less than our basic CNN model. Let's save this model for future evaluation.
-
-
-```
-`model.save('vgg_frozen.h5')`
-```
-
-#### Model 3: Fine-tuned pre-trained model with image augmentation
-
-In our final model, we will fine-tune the weights of the layers in the last two blocks of our pre-trained VGG-19 model. We will also introduce the concept of image augmentation. The idea behind image augmentation is exactly as the name sounds. We load in existing images from our training dataset and apply some image transformation operations to them, such as rotation, shearing, translation, zooming, and so on, to produce new, altered versions of existing images. Due to these random transformations, we don't get the same images each time. We will leverage an excellent utility called **ImageDataGenerator** in **tf.keras** that can help build image augmentors.
-
-
-```
-train_datagen = tf.keras.preprocessing.image.ImageDataGenerator(rescale=1./255,
-zoom_range=0.05,
-rotation_range=25,
-width_shift_range=0.05,
-height_shift_range=0.05,
-shear_range=0.05, horizontal_flip=True,
-fill_mode='nearest')
-
-val_datagen = tf.keras.preprocessing.image.ImageDataGenerator(rescale=1./255)
-
-# build image augmentation generators
-train_generator = train_datagen.flow(train_data, train_labels_enc, batch_size=BATCH_SIZE, shuffle=True)
-val_generator = val_datagen.flow(val_data, val_labels_enc, batch_size=BATCH_SIZE, shuffle=False)
-```
-
-We will not apply any transformations on our validation dataset (except for scaling the images, which is mandatory) since we will be using it to evaluate our model performance per epoch. For a detailed explanation of image augmentation in the context of transfer learning, feel free to check out my [article][18] cited above. Let's look at some sample results from a batch of image augmentation transforms.
-
-
-```
-img_id = 0
-sample_generator = train_datagen.flow(train_data[img_id:img_id+1], train_labels[img_id:img_id+1],
-batch_size=1)
-sample = [next(sample_generator) for i in range(0,5)]
-fig, ax = plt.subplots(1,5, figsize=(16, 6))
-print('Labels:', [item[1][0] for item in sample])
-l = [ax[i].imshow(sample[i][0][0]) for i in range(0,5)]
-```
-
-![Sample augmented images][26]
-
-You can clearly see the slight variations of our images in the preceding output. We will now build our deep learning model, making sure the last two blocks of the VGG-19 model are trainable.
-
-
-```
-vgg = tf.keras.applications.vgg19.VGG19(include_top=False, weights='imagenet',
-input_shape=INPUT_SHAPE)
-# Freeze the layers
-vgg.trainable = True
-
-set_trainable = False
-for layer in vgg.layers:
-if layer.name in ['block5_conv1', 'block4_conv1']:
-set_trainable = True
-if set_trainable:
-layer.trainable = True
-else:
-layer.trainable = False
-
-base_vgg = vgg
-base_out = base_vgg.output
-pool_out = tf.keras.layers.Flatten()(base_out)
-hidden1 = tf.keras.layers.Dense(512, activation='relu')(pool_out)
-drop1 = tf.keras.layers.Dropout(rate=0.3)(hidden1)
-hidden2 = tf.keras.layers.Dense(512, activation='relu')(drop1)
-drop2 = tf.keras.layers.Dropout(rate=0.3)(hidden2)
-
-out = tf.keras.layers.Dense(1, activation='sigmoid')(drop2)
-
-model = tf.keras.Model(inputs=base_vgg.input, outputs=out)
-model.compile(optimizer=tf.keras.optimizers.RMSprop(lr=1e-5),
-loss='binary_crossentropy',
-metrics=['accuracy'])
-
-print("Total Layers:", len(model.layers))
-print("Total trainable layers:", sum([1 for l in model.layers if l.trainable]))
-
-# Output
-Total Layers: 28
-Total trainable layers: 16
-```
-
-We reduce the learning rate in our model since we don't want to make to large weight updates to the pre-trained layers when fine-tuning. The model's training process will be slightly different since we are using data generators, so we will be leveraging the **fit_generator(…)** function.
-
-
-```
-tensorboard_callback = tf.keras.callbacks.TensorBoard(logdir, histogram_freq=1)
-reduce_lr = tf.keras.callbacks.ReduceLROnPlateau(monitor='val_loss', factor=0.5,
-patience=2, min_lr=0.000001)
-
-callbacks = [reduce_lr, tensorboard_callback]
-train_steps_per_epoch = train_generator.n // train_generator.batch_size
-val_steps_per_epoch = val_generator.n // val_generator.batch_size
-history = model.fit_generator(train_generator, steps_per_epoch=train_steps_per_epoch, epochs=EPOCHS,
-validation_data=val_generator, validation_steps=val_steps_per_epoch,
-verbose=1)
-
-# Output
-Epoch 1/25
-271/271 [====] - 133s 489ms/step - loss: 0.2267 - accuracy: 0.9117 - val_loss: 0.1414 - val_accuracy: 0.9531
-Epoch 2/25
-271/271 [====] - 129s 475ms/step - loss: 0.1399 - accuracy: 0.9552 - val_loss: 0.1292 - val_accuracy: 0.9589
-...
-...
-Epoch 24/25
-271/271 [====] - 128s 473ms/step - loss: 0.0815 - accuracy: 0.9727 - val_loss: 0.1466 - val_accuracy: 0.9682
-Epoch 25/25
-271/271 [====] - 128s 473ms/step - loss: 0.0792 - accuracy: 0.9729 - val_loss: 0.1127 - val_accuracy: 0.9641
-```
-
-This looks to be our best model yet. It gives us a validation accuracy of almost 96.5% and, based on the training accuracy, it doesn't look like our model is overfitting as much as our first model. This can be verified with the following learning curves.
-
-![Learning curves for fine-tuned pre-trained CNN][27]
-
-Learning curves for fine-tuned pre-trained CNN
-
-Let's save this model so we can use it for model evaluation on our test dataset.
-
-
-```
-`model.save('vgg_finetuned.h5')`
-```
-
-This completes our model training phase. We are now ready to test the performance of our models on the actual test dataset!
-
-### Deep learning model performance evaluation
-
-We will evaluate the three models we built in the training phase by making predictions with them on the data from our test dataset—because just validation is not enough! We have also built a nifty utility module called **model_evaluation_utils** , which we can use to evaluate the performance of our deep learning models with relevant classification metrics. The first step is to scale our test data.
-
-
-```
-test_imgs_scaled = test_data / 255.
-test_imgs_scaled.shape, test_labels.shape
-
-# Output
-((8268, 125, 125, 3), (8268,))
-```
-
-The next step involves loading our saved deep learning models and making predictions on the test data.
-
-
-```
-# Load Saved Deep Learning Models
-basic_cnn = tf.keras.models.load_model('./basic_cnn.h5')
-vgg_frz = tf.keras.models.load_model('./vgg_frozen.h5')
-vgg_ft = tf.keras.models.load_model('./vgg_finetuned.h5')
-
-# Make Predictions on Test Data
-basic_cnn_preds = basic_cnn.predict(test_imgs_scaled, batch_size=512)
-vgg_frz_preds = vgg_frz.predict(test_imgs_scaled, batch_size=512)
-vgg_ft_preds = vgg_ft.predict(test_imgs_scaled, batch_size=512)
-
-basic_cnn_pred_labels = le.inverse_transform([1 if pred > 0.5 else 0
-for pred in basic_cnn_preds.ravel()])
-vgg_frz_pred_labels = le.inverse_transform([1 if pred > 0.5 else 0
-for pred in vgg_frz_preds.ravel()])
-vgg_ft_pred_labels = le.inverse_transform([1 if pred > 0.5 else 0
-for pred in vgg_ft_preds.ravel()])
-```
-
-The final step is to leverage our **model_evaluation_utils** module and check the performance of each model with relevant classification metrics.
-
-
-```
-import model_evaluation_utils as meu
-import pandas as pd
-
-basic_cnn_metrics = meu.get_metrics(true_labels=test_labels, predicted_labels=basic_cnn_pred_labels)
-vgg_frz_metrics = meu.get_metrics(true_labels=test_labels, predicted_labels=vgg_frz_pred_labels)
-vgg_ft_metrics = meu.get_metrics(true_labels=test_labels, predicted_labels=vgg_ft_pred_labels)
-
-pd.DataFrame([basic_cnn_metrics, vgg_frz_metrics, vgg_ft_metrics],
-index=['Basic CNN', 'VGG-19 Frozen', 'VGG-19 Fine-tuned'])
-```
-
-![Model accuracy][28]
-
-It looks like our third model performs best on the test dataset, giving a model accuracy and an F1-score of 96%, which is pretty good and quite comparable to the more complex models mentioned in the research paper and articles we mentioned earlier.
-
-### Conclusion
-
-Malaria detection is not an easy procedure, and the availability of qualified personnel around the globe is a serious concern in the diagnosis and treatment of cases. We looked at an interesting real-world medical imaging case study of malaria detection. Easy-to-build, open source techniques leveraging AI can give us state-of-the-art accuracy in detecting malaria, thus enabling AI for social good.
-
-I encourage you to check out the articles and research papers mentioned in this article, without which it would have been impossible for me to conceptualize and write it. If you are interested in running or adopting these techniques, all the code used in this article is available on [my GitHub repository][24]. Remember to download the data from the [official website][11].
-
-Let's hope for more adoption of open source AI capabilities in healthcare to make it less expensive and more accessible for everyone around the world!
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/detecting-malaria-deep-learning
-
-作者:[Dipanjan (DJ) Sarkar (Red Hat)][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/djsarkar
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/osdc_520x292_opensourcedoctor.png?itok=fk79NwpC
-[2]: https://opensource.com/sites/default/files/uploads/malaria1_python-tensorflow.png (Python and TensorFlow)
-[3]: https://opensource.com/sites/default/files/uploads/malaria2_malaria-heat-map.png (Malaria heat map)
-[4]: https://www.who.int/features/factfiles/malaria/en/
-[5]: https://peerj.com/articles/4568/
-[6]: https://blog.insightdatascience.com/https-blog-insightdatascience-com-malaria-hero-a47d3d5fc4bb
-[7]: https://www.pyimagesearch.com/2018/12/03/deep-learning-and-medical-image-analysis-with-keras/
-[8]: https://opensource.com/sites/default/files/uploads/malaria3_blood-smear.png (Blood smear workflow for Malaria detection)
-[9]: http://cs231n.github.io/convolutional-networks/
-[10]: https://opensource.com/sites/default/files/uploads/malaria4_cnn-architecture.png (A typical CNN architecture)
-[11]: https://ceb.nlm.nih.gov/repositories/malaria-datasets/
-[12]: https://www.ncbi.nlm.nih.gov/pubmed/29360430
-[13]: https://opensource.com/sites/default/files/uploads/malaria5_dependencies.png (Installing dependencies)
-[14]: https://opensource.com/sites/default/files/uploads/malaria6_tree-dependency.png (Installing the tree dependency)
-[15]: https://opensource.com/sites/default/files/uploads/malaria7_dataset.png (Datasets)
-[16]: https://opensource.com/sites/default/files/uploads/malaria8_cell-samples.png (Malaria cell samples)
-[17]: https://opensource.com/sites/default/files/uploads/malaria9_learningcurves.png (Learning curves for basic CNN)
-[18]: https://towardsdatascience.com/a-comprehensive-hands-on-guide-to-transfer-learning-with-real-world-applications-in-deep-learning-212bf3b2f27a
-[19]: https://github.com/dipanjanS/hands-on-transfer-learning-with-python
-[20]: https://opensource.com/sites/default/files/uploads/malaria10_transferideas.png (Ideas for deep transfer learning)
-[21]: http://image-net.org/index
-[22]: https://arxiv.org/pdf/1409.1556.pdf
-[23]: https://opensource.com/sites/default/files/uploads/malaria11_vgg-19-model-architecture.png (VGG-19 Model Architecture)
-[24]: https://nbviewer.jupyter.org/github/dipanjanS/data_science_for_all/tree/master/os_malaria_detection/
-[25]: https://opensource.com/sites/default/files/uploads/malaria12_learningcurves.png (Learning curves for frozen pre-trained CNN)
-[26]: https://opensource.com/sites/default/files/uploads/malaria13_sampleimages.png (Sample augmented images)
-[27]: https://opensource.com/sites/default/files/uploads/malaria14_learningcurves.png (Learning curves for fine-tuned pre-trained CNN)
-[28]: https://opensource.com/sites/default/files/uploads/malaria15_modelaccuracy.png (Model accuracy)
diff --git a/sources/tech/20190416 How to Install MySQL in Ubuntu Linux.md b/sources/tech/20190416 How to Install MySQL in Ubuntu Linux.md
deleted file mode 100644
index ee3a82ca03..0000000000
--- a/sources/tech/20190416 How to Install MySQL in Ubuntu Linux.md
+++ /dev/null
@@ -1,238 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (How to Install MySQL in Ubuntu Linux)
-[#]: via: (https://itsfoss.com/install-mysql-ubuntu/)
-[#]: author: (Sergiu https://itsfoss.com/author/sergiu/)
-
-How to Install MySQL in Ubuntu Linux
-======
-
-_**Brief: This tutorial teaches you to install MySQL in Ubuntu based Linux distributions. You’ll also learn how to verify your install and how to connect to MySQL for the first time.**_
-
-**[MySQL][1]** is the quintessential database management system. It is used in many tech stacks, including the popular **[LAMP][2]** (Linux, Apache, MySQL, PHP) stack. It has proven its stability. Another thing that makes **MySQL** so great is that it is **open-source**.
-
-**MySQL** uses **relational databases** (basically **tabular data** ). It is really easy to store, organize and access data this way. For managing data, **SQL** ( **Structured Query Language** ) is used.
-
-In this article I’ll show you how to **install** and **use** MySQL 8.0 in Ubuntu 18.04. Let’s get to it!
-
-### Installing MySQL in Ubuntu
-
-![][3]
-
-I’ll be covering two ways you can install **MySQL** in Ubuntu 18.04:
-
- 1. Install MySQL from the Ubuntu repositories. Very basic, not the latest version (5.7)
- 2. Install MySQL using the official repository. There is a bigger step that you’ll have to add to the process, but nothing to worry about. Also, you’ll have the latest version (8.0)
-
-
-
-When needed, I’ll provide screenshots to guide you. For most of this guide, I’ll be entering commands in the **terminal** ( **default hotkey** : CTRL+ALT+T). Don’t be scared of it!
-
-#### Method 1. Installing MySQL from the Ubuntu repositories
-
-First of all, make sure your repositories are updated by entering:
-
-```
-sudo apt update
-```
-
-Now, to install **MySQL 5.7** , simply type:
-
-```
-sudo apt install mysql-server -y
-```
-
-That’s it! Simple and efficient.
-
-#### Method 2. Installing MySQL using the official repository
-
-Although this method has a few more steps, I’ll go through them one by one and I’ll try writing down clear notes.
-
-The first step is browsing to the [download page][4] of the official MySQL website.
-
-![][5]
-
-Here, go down to the **download link** for the **DEB Package**.
-
-![][6]
-
-Scroll down past the info about Oracle Web and right-click on **No thanks, just start my download.** Select **Copy link location**.
-
-Now go back to the terminal. We’ll [use][7] **[Curl][7]** [command][7] to the download the package:
-
-```
-curl -OL https://dev.mysql.com/get/mysql-apt-config_0.8.12-1_all.deb
-```
-
-**** is the link I copied from the website. It might be different based on the current version of MySQL. Let’s use **dpkg** to start installing MySQL:
-
-```
-sudo dpkg -i mysql-apt-config*
-```
-
-Update your repositories:
-
-```
-sudo apt update
-```
-
-To actually install MySQL, we’ll use the same command as in the first method:
-
-```
-sudo apt install mysql-server -y
-```
-
-Doing so will open a prompt in your terminal for **package configuration**. Use the **down arrow** to select the **Ok** option.
-
-![][8]
-
-Press **Enter**. This should prompt you to enter a **password** :. Your are basically setting the root password for MySQL. Don’t confuse it with [root password of Ubuntu][9] system.
-
-![][10]
-
-Type in a password and press **Tab** to select **< Ok>**. Press **Enter.** You’ll now have to **re-enter** the **password**. After doing so, press **Tab** again to select **< Ok>**. Press **Enter**.
-
-![][11]
-
-Some **information** on configuring MySQL Server will be presented. Press **Tab** to select **< Ok>** and **Enter** again:
-
-![][12]
-
-Here you need to choose a **default authentication plugin**. Make sure **Use Strong Password Encryption** is selected. Press **Tab** and then **Enter**.
-
-That’s it! You have successfully installed MySQL.
-
-#### Verify your MySQL installation
-
-To **verify** that MySQL installed correctly, use:
-
-```
-sudo systemctl status mysql.service
-```
-
-This will show some information about the service:
-
-![][13]
-
-You should see **Active: active (running)** in there somewhere. If you don’t, use the following command to start the **service** :
-
-```
-sudo systemctl start mysql.service
-```
-
-#### Configuring/Securing MySQL
-
-For a new install, you should run the provided command for security-related updates. That’s:
-
-```
-sudo mysql_secure_installation
-```
-
-Doing so will first of all ask you if you want to use the **VALIDATE PASSWORD COMPONENT**. If you want to use it, you’ll have to select a minimum password strength ( **0 – Low, 1 – Medium, 2 – High** ). You won’t be able to input any password doesn’t respect the selected rules. If you don’t have the habit of using strong passwords (you should!), this could come in handy. If you think it might help, type in **y** or **Y** and press **Enter** , then choose a **strength level** for your password and input the one you want to use. If successful, you’ll continue the **securing** process; otherwise you’ll have to re-enter a password.
-
-If, however, you do not want this feature (I won’t), just press **Enter** or **any other key** to skip using it.
-
-For the other options, I suggest **enabling** them (typing in **y** or **Y** and pressing **Enter** for each of them). They are (in this order): **remove anonymous user, disallow root login remotely, remove test database and access to it, reload privilege tables now**.
-
-#### Connecting to & Disconnecting from the MySQL Server
-
-To be able to run SQL queries, you’ll first have to connect to the server using MySQL and use the MySQL prompt. The command for doing this is:
-
-```
-mysql -h host_name -u user -p
-```
-
- * **-h** is used to specify a **host name** (if the server is located on another machine; if it isn’t, just omit it)
- * **-u** mentions the **user**
- * **-p** specifies that you want to input a **password**.
-
-
-
-Although not recommended (for safety reasons), you can enter the password directly in the command by typing it in right after **-p**. For example, if the password for **test_user** is **1234** and you are trying to connect on the machine you are using, you could use:
-
-```
-mysql -u test_user -p1234
-```
-
-If you successfully inputted the required parameters, you’ll be greeted by the **MySQL shell prompt** ( **mysql >**):
-
-![][14]
-
-To **disconnect** from the server and **leave** the mysql prompt, type:
-
-```
-QUIT
-```
-
-Typing **quit** (MySQL is case insensitive) or **\q** will also work. Press **Enter** to exit.
-
-You can also output info about the **version** with a simple command:
-
-```
-sudo mysqladmin -u root version -p
-```
-
-If you want to see a **list of options** , use:
-
-```
-mysql --help
-```
-
-#### Uninstalling MySQL
-
-If you decide that you want to use a newer release or just want to stop using MySQL.
-
-First, disable the service:
-
-```
-sudo systemctl stop mysql.service && sudo systemctl disable mysql.service
-```
-
-Make sure you backed up your databases, in case you want to use them later on. You can uninstall MySQL by running:
-
-```
-sudo apt purge mysql*
-```
-
-To clean up dependecies:
-
-```
-sudo apt autoremove
-```
-
-**Wrapping Up**
-
-In this article, I’ve covered **installing MySQL** in Ubuntu Linux. I’d be glad if this guide helps struggling users and beginners.
-
-Tell us in the comments if you found this post to be a useful resource. What do you use MySQL for? We’re eager to receive any feedback, impressions or suggestions. Thanks for reading and have don’t hesitate to experiment with this incredible tool!
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/install-mysql-ubuntu/
-
-作者:[Sergiu][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/sergiu/
-[b]: https://github.com/lujun9972
-[1]: https://www.mysql.com/
-[2]: https://en.wikipedia.org/wiki/LAMP_(software_bundle)
-[3]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/install-mysql-ubuntu.png?resize=800%2C450&ssl=1
-[4]: https://dev.mysql.com/downloads/repo/apt/
-[5]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_apt_download_page.jpg?fit=800%2C280&ssl=1
-[6]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_deb_download_link.jpg?fit=800%2C507&ssl=1
-[7]: https://linuxhandbook.com/curl-command-examples/
-[8]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_package_configuration_ok.jpg?fit=800%2C587&ssl=1
-[9]: https://itsfoss.com/change-password-ubuntu/
-[10]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_enter_password.jpg?fit=800%2C583&ssl=1
-[11]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_information_on_configuring.jpg?fit=800%2C581&ssl=1
-[12]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_default_authentication_plugin.jpg?fit=800%2C586&ssl=1
-[13]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_service_information.jpg?fit=800%2C402&ssl=1
-[14]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/mysql_shell_prompt-2.jpg?fit=800%2C423&ssl=1
diff --git a/sources/tech/20190416 Inter-process communication in Linux- Using pipes and message queues.md b/sources/tech/20190416 Inter-process communication in Linux- Using pipes and message queues.md
deleted file mode 100644
index a2472dbc92..0000000000
--- a/sources/tech/20190416 Inter-process communication in Linux- Using pipes and message queues.md
+++ /dev/null
@@ -1,531 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Inter-process communication in Linux: Using pipes and message queues)
-[#]: via: (https://opensource.com/article/19/4/interprocess-communication-linux-channels)
-[#]: author: (Marty Kalin https://opensource.com/users/mkalindepauledu)
-
-Inter-process communication in Linux: Using pipes and message queues
-======
-Learn how processes synchronize with each other in Linux.
-![Chat bubbles][1]
-
-This is the second article in a series about [interprocess communication][2] (IPC) in Linux. The [first article][3] focused on IPC through shared storage: shared files and shared memory segments. This article turns to pipes, which are channels that connect processes for communication. A channel has a _write end_ for writing bytes, and a _read end_ for reading these bytes in FIFO (first in, first out) order. In typical use, one process writes to the channel, and a different process reads from this same channel. The bytes themselves might represent anything: numbers, employee records, digital movies, and so on.
-
-Pipes come in two flavors, named and unnamed, and can be used either interactively from the command line or within programs; examples are forthcoming. This article also looks at memory queues, which have fallen out of fashion—but undeservedly so.
-
-The code examples in the first article acknowledged the threat of race conditions (either file-based or memory-based) in IPC that uses shared storage. The question naturally arises about safe concurrency for the channel-based IPC, which will be covered in this article. The code examples for pipes and memory queues use APIs with the POSIX stamp of approval, and a core goal of the POSIX standards is thread-safety.
-
-Consider the [man pages for the **mq_open**][4] function, which belongs to the memory queue API. These pages include a section on [Attributes][5] with this small table:
-
-Interface | Attribute | Value
----|---|---
-mq_open() | Thread safety | MT-Safe
-
-The value **MT-Safe** (with **MT** for multi-threaded) means that the **mq_open** function is thread-safe, which in turn implies process-safe: A process executes in precisely the sense that one of its threads executes, and if a race condition cannot arise among threads in the _same_ process, such a condition cannot arise among threads in different processes. The **MT-Safe** attribute assures that a race condition does not arise in invocations of **mq_open**. In general, channel-based IPC is concurrent-safe, although a cautionary note is raised in the examples that follow.
-
-### Unnamed pipes
-
-Let's start with a contrived command line example that shows how unnamed pipes work. On all modern systems, the vertical bar **|** represents an unnamed pipe at the command line. Assume **%** is the command line prompt, and consider this command:
-
-
-```
-`% sleep 5 | echo "Hello, world!" ## writer to the left of |, reader to the right`
-```
-
-The _sleep_ and _echo_ utilities execute as separate processes, and the unnamed pipe allows them to communicate. However, the example is contrived in that no communication occurs. The greeting _Hello, world!_ appears on the screen; then, after about five seconds, the command line prompt returns, indicating that both the _sleep_ and _echo_ processes have exited. What's going on?
-
-In the vertical-bar syntax from the command line, the process to the left ( _sleep_ ) is the writer, and the process to the right ( _echo_ ) is the reader. By default, the reader blocks until there are bytes to read from the channel, and the writer—after writing its bytes—finishes up by sending an end-of-stream marker. (Even if the writer terminates prematurely, an end-of-stream marker is sent to the reader.) The unnamed pipe persists until both the writer and the reader terminate.
-
-In the contrived example, the _sleep_ process does not write any bytes to the channel but does terminate after about five seconds, which sends an end-of-stream marker to the channel. In the meantime, the _echo_ process immediately writes the greeting to the standard output (the screen) because this process does not read any bytes from the channel, so it does no waiting. Once the _sleep_ and _echo_ processes terminate, the unnamed pipe—not used at all for communication—goes away and the command line prompt returns.
-
-Here is a more useful example using two unnamed pipes. Suppose that the file _test.dat_ looks like this:
-
-
-```
-this
-is
-the
-way
-the
-world
-ends
-```
-
-The command:
-
-
-```
-`% cat test.dat | sort | uniq`
-```
-
-pipes the output from the _cat_ (concatenate) process into the _sort_ process to produce sorted output, and then pipes the sorted output into the _uniq_ process to eliminate duplicate records (in this case, the two occurrences of **the** reduce to one):
-
-
-```
-ends
-is
-the
-this
-way
-world
-```
-
-The scene now is set for a program with two processes that communicate through an unnamed pipe.
-
-#### Example 1. Two processes communicating through an unnamed pipe.
-
-
-```
-#include /* wait */
-#include
-#include /* exit functions */
-#include /* read, write, pipe, _exit */
-#include
-
-#define ReadEnd 0
-#define WriteEnd 1
-
-void report_and_exit(const char* msg) {
-[perror][6](msg);
-[exit][7](-1); /** failure **/
-}
-
-int main() {
-int pipeFDs[2]; /* two file descriptors */
-char buf; /* 1-byte buffer */
-const char* msg = "Nature's first green is gold\n"; /* bytes to write */
-
-if (pipe(pipeFDs) < 0) report_and_exit("pipeFD");
-pid_t cpid = fork(); /* fork a child process */
-if (cpid < 0) report_and_exit("fork"); /* check for failure */
-
-if (0 == cpid) { /*** child ***/ /* child process */
-close(pipeFDs[WriteEnd]); /* child reads, doesn't write */
-
-while (read(pipeFDs[ReadEnd], &buf, 1) > 0) /* read until end of byte stream */
-write(STDOUT_FILENO, &buf, sizeof(buf)); /* echo to the standard output */
-
-close(pipeFDs[ReadEnd]); /* close the ReadEnd: all done */
-_exit(0); /* exit and notify parent at once */
-}
-else { /*** parent ***/
-close(pipeFDs[ReadEnd]); /* parent writes, doesn't read */
-
-write(pipeFDs[WriteEnd], msg, [strlen][8](msg)); /* write the bytes to the pipe */
-close(pipeFDs[WriteEnd]); /* done writing: generate eof */
-
-wait(NULL); /* wait for child to exit */
-[exit][7](0); /* exit normally */
-}
-return 0;
-}
-```
-
-The _pipeUN_ program above uses the system function **fork** to create a process. Although the program has but a single source file, multi-processing occurs during (successful) execution. Here are the particulars in a quick review of how the library function **fork** works:
-
- * The **fork** function, called in the _parent_ process, returns **-1** to the parent in case of failure. In the _pipeUN_ example, the call is: [code]`pid_t cpid = fork(); /* called in parent */`[/code] The returned value is stored, in this example, in the variable **cpid** of integer type **pid_t**. (Every process has its own _process ID_ , a non-negative integer that identifies the process.) Forking a new process could fail for several reasons, including a full _process table_ , a structure that the system maintains to track processes. Zombie processes, clarified shortly, can cause a process table to fill if these are not harvested.
- * If the **fork** call succeeds, it thereby spawns (creates) a new child process, returning one value to the parent but a different value to the child. Both the parent and the child process execute the _same_ code that follows the call to **fork**. (The child inherits copies of all the variables declared so far in the parent.) In particular, a successful call to **fork** returns:
- * Zero to the child process
- * The child's process ID to the parent
- * An _if/else_ or equivalent construct typically is used after a successful **fork** call to segregate code meant for the parent from code meant for the child. In this example, the construct is: [code] if (0 == cpid) { /*** child ***/
-...
-}
-else { /*** parent ***/
-...
-}
-```
-If forking a child succeeds, the _pipeUN_ program proceeds as follows. There is an integer array:
-```
-`int pipeFDs[2]; /* two file descriptors */`
-```
-to hold two file descriptors, one for writing to the pipe and another for reading from the pipe. (The array element **pipeFDs[0]** is the file descriptor for the read end, and the array element **pipeFDs[1]** is the file descriptor for the write end.) A successful call to the system **pipe** function, made immediately before the call to **fork** , populates the array with the two file descriptors:
-```
-`if (pipe(pipeFDs) < 0) report_and_exit("pipeFD");`
-```
-The parent and the child now have copies of both file descriptors, but the _separation of concerns_ pattern means that each process requires exactly one of the descriptors. In this example, the parent does the writing and the child does the reading, although the roles could be reversed. The first statement in the child _if_ -clause code, therefore, closes the pipe's write end:
-```
-`close(pipeFDs[WriteEnd]); /* called in child code */`
-```
-and the first statement in the parent _else_ -clause code closes the pipe's read end:
-```
-`close(pipeFDs[ReadEnd]); /* called in parent code */`
-```
-The parent then writes some bytes (ASCII codes) to the unnamed pipe, and the child reads these and echoes them to the standard output.
-
-One more aspect of the program needs clarification: the call to the **wait** function in the parent code. Once spawned, a child process is largely independent of its parent, as even the short _pipeUN_ program illustrates. The child can execute arbitrary code that may have nothing to do with the parent. However, the system does notify the parent through a signal—if and when the child terminates.
-
-What if the parent terminates before the child? In this case, unless precautions are taken, the child becomes and remains a _zombie_ process with an entry in the process table. The precautions are of two broad types. One precaution is to have the parent notify the system that the parent has no interest in the child's termination:
-```
-`signal(SIGCHLD, SIG_IGN); /* in parent: ignore notification */`
-```
-A second approach is to have the parent execute a **wait** on the child's termination, thereby ensuring that the parent outlives the child. This second approach is used in the _pipeUN_ program, where the parent code has this call:
-```
-`wait(NULL); /* called in parent */`
-```
-This call to **wait** means _wait until the termination of any child occurs_ , and in the _pipeUN_ program, there is only one child process. (The **NULL** argument could be replaced with the address of an integer variable to hold the child's exit status.) There is a more flexible **waitpid** function for fine-grained control, e.g., for specifying a particular child process among several.
-
-The _pipeUN_ program takes another precaution. When the parent is done waiting, the parent terminates with the call to the regular **exit** function. By contrast, the child terminates with a call to the **_exit** variant, which fast-tracks notification of termination. In effect, the child is telling the system to notify the parent ASAP that the child has terminated.
-
-If two processes write to the same unnamed pipe, can the bytes be interleaved? For example, if process P1 writes:
-```
-`foo bar`
-```
-to a pipe and process P2 concurrently writes:
-```
-`baz baz`
-```
-to the same pipe, it seems that the pipe contents might be something arbitrary, such as:
-```
-`baz foo baz bar`
-```
-The POSIX standard ensures that writes are not interleaved so long as no write exceeds **PIPE_BUF** bytes. On Linux systems, **PIPE_BUF** is 4,096 bytes in size. My preference with pipes is to have a single writer and a single reader, thereby sidestepping the issue.
-
-## Named pipes
-
-An unnamed pipe has no backing file: the system maintains an in-memory buffer to transfer bytes from the writer to the reader. Once the writer and reader terminate, the buffer is reclaimed, so the unnamed pipe goes away. By contrast, a named pipe has a backing file and a distinct API.
-
-Let's look at another command line example to get the gist of named pipes. Here are the steps:
-
- * Open two terminals. The working directory should be the same for both.
- * In one of the terminals, enter these two commands (the prompt again is **%** , and my comments start with **##** ): [code] % mkfifo tester ## creates a backing file named tester
-% cat tester ## type the pipe's contents to stdout [/code] At the beginning, nothing should appear in the terminal because nothing has been written yet to the named pipe.
- * In the second terminal, enter the command: [code] % cat > tester ## redirect keyboard input to the pipe
-hello, world! ## then hit Return key
-bye, bye ## ditto
- ## terminate session with a Control-C [/code] Whatever is typed into this terminal is echoed in the other. Once **Ctrl+C** is entered, the regular command line prompt returns in both terminals: the pipe has been closed.
- * Clean up by removing the file that implements the named pipe: [code]`% unlink tester`
-```
-
-
-
-As the utility's name _mkfifo_ implies, a named pipe also is called a FIFO because the first byte in is the first byte out, and so on. There is a library function named **mkfifo** that creates a named pipe in programs and is used in the next example, which consists of two processes: one writes to the named pipe and the other reads from this pipe.
-
-#### Example 2. The _fifoWriter_ program
-
-
-```
-#include
-#include
-#include
-#include
-#include
-#include
-#include
-
-#define MaxLoops 12000 /* outer loop */
-#define ChunkSize 16 /* how many written at a time */
-#define IntsPerChunk 4 /* four 4-byte ints per chunk */
-#define MaxZs 250 /* max microseconds to sleep */
-
-int main() {
-const char* pipeName = "./fifoChannel";
-mkfifo(pipeName, 0666); /* read/write for user/group/others */
-int fd = open(pipeName, O_CREAT | O_WRONLY); /* open as write-only */
-if (fd < 0) return -1; /* can't go on */
-
-int i;
-for (i = 0; i < MaxLoops; i++) { /* write MaxWrites times */
-int j;
-for (j = 0; j < ChunkSize; j++) { /* each time, write ChunkSize bytes */
-int k;
-int chunk[IntsPerChunk];
-for (k = 0; k < IntsPerChunk; k++)
-chunk[k] = [rand][9]();
-write(fd, chunk, sizeof(chunk));
-}
-usleep(([rand][9]() % MaxZs) + 1); /* pause a bit for realism */
-}
-
-close(fd); /* close pipe: generates an end-of-stream marker */
-unlink(pipeName); /* unlink from the implementing file */
-[printf][10]("%i ints sent to the pipe.\n", MaxLoops * ChunkSize * IntsPerChunk);
-
-return 0;
-}
-```
-
-The _fifoWriter_ program above can be summarized as follows:
-
- * The program creates a named pipe for writing: [code] mkfifo(pipeName, 0666); /* read/write perms for user/group/others */
-int fd = open(pipeName, O_CREAT | O_WRONLY); [/code] where **pipeName** is the name of the backing file passed to **mkfifo** as the first argument. The named pipe then is opened with the by-now familiar call to the **open** function, which returns a file descriptor.
- * For a touch of realism, the _fifoWriter_ does not write all the data at once, but instead writes a chunk, sleeps a random number of microseconds, and so on. In total, 768,000 4-byte integer values are written to the named pipe.
- * After closing the named pipe, the _fifoWriter_ also unlinks the file: [code] close(fd); /* close pipe: generates end-of-stream marker */
-unlink(pipeName); /* unlink from the implementing file */ [/code] The system reclaims the backing file once every process connected to the pipe has performed the unlink operation. In this example, there are only two such processes: the _fifoWriter_ and the _fifoReader_ , both of which do an _unlink_ operation.
-
-
-
-The two programs should be executed in different terminals with the same working directory. However, the _fifoWriter_ should be started before the _fifoReader_ , as the former creates the pipe. The _fifoReader_ then accesses the already created named pipe.
-
-#### Example 3. The _fifoReader_ program
-
-
-```
-#include
-#include
-#include
-#include
-#include
-
-unsigned is_prime(unsigned n) { /* not pretty, but efficient */
-if (n <= 3) return n > 1;
-if (0 == (n % 2) || 0 == (n % 3)) return 0;
-
-unsigned i;
-for (i = 5; (i * i) <= n; i += 6)
-if (0 == (n % i) || 0 == (n % (i + 2))) return 0;
-
-return 1; /* found a prime! */
-}
-
-int main() {
-const char* file = "./fifoChannel";
-int fd = open(file, O_RDONLY);
-if (fd < 0) return -1; /* no point in continuing */
-unsigned count = 0, total = 0, primes_count = 0;
-
-while (1) {
-int next;
-int i;
-
-ssize_t count = read(fd, &next, sizeof(int));
-if (0 == count) break; /* end of stream */
-else if (count == sizeof(int)) { /* read a 4-byte int value */
-total++;
-if (is_prime(next)) primes_count++;
-}
-}
-
-close(fd); /* close pipe from read end */
-unlink(file); /* unlink from the underlying file */
-[printf][10]("Received ints: %u, primes: %u\n", total, primes_count);
-
-return 0;
-}
-```
-
-The _fifoReader_ program above can be summarized as follows:
-
- * Because the _fifoWriter_ creates the named pipe, the _fifoReader_ needs only the standard call **open** to access the pipe through the backing file: [code] const char* file = "./fifoChannel";
-int fd = open(file, O_RDONLY); [/code] The file opens as read-only.
- * The program then goes into a potentially infinite loop, trying to read a 4-byte chunk on each iteration. The **read** call: [code]`ssize_t count = read(fd, &next, sizeof(int));`[/code] returns 0 to indicate end-of-stream, in which case the _fifoReader_ breaks out of the loop, closes the named pipe, and unlinks the backing file before terminating.
- * After reading a 4-byte integer, the _fifoReader_ checks whether the number is a prime. This represents the business logic that a production-grade reader might perform on the received bytes. On a sample run, there were 37,682 primes among the 768,000 integers received.
-
-
-
-On repeated sample runs, the _fifoReader_ successfully read all of the bytes that the _fifoWriter_ wrote. This is not surprising. The two processes execute on the same host, taking network issues out of the equation. Named pipes are a highly reliable and efficient IPC mechanism and, therefore, in wide use.
-
-Here is the output from the two programs, each launched from a separate terminal but with the same working directory:
-
-
-```
-% ./fifoWriter
-768000 ints sent to the pipe.
-###
-% ./fifoReader
-Received ints: 768000, primes: 37682
-```
-
-### Message queues
-
-Pipes have strict FIFO behavior: the first byte written is the first byte read, the second byte written is the second byte read, and so forth. Message queues can behave in the same way but are flexible enough that byte chunks can be retrieved out of FIFO order.
-
-As the name suggests, a message queue is a sequence of messages, each of which has two parts:
-
- * The payload, which is an array of bytes ( **char** in C)
- * A type, given as a positive integer value; types categorize messages for flexible retrieval
-
-
-
-Consider the following depiction of a message queue, with each message labeled with an integer type:
-
-
-```
-+-+ +-+ +-+ +-+
-sender--->|3|--->|2|--->|2|--->|1|--->receiver
-+-+ +-+ +-+ +-+
-```
-
-Of the four messages shown, the one labeled 1 is at the front, i.e., closest to the receiver. Next come two messages with label 2, and finally, a message labeled 3 at the back. If strict FIFO behavior were in play, then the messages would be received in the order 1-2-2-3. However, the message queue allows other retrieval orders. For example, the messages could be retrieved by the receiver in the order 3-2-1-2.
-
-The _mqueue_ example consists of two programs, the _sender_ that writes to the message queue and the _receiver_ that reads from this queue. Both programs include the header file _queue.h_ shown below:
-
-#### Example 4. The header file _queue.h_
-
-
-```
-#define ProjectId 123
-#define PathName "queue.h" /* any existing, accessible file would do */
-#define MsgLen 4
-#define MsgCount 6
-
-typedef struct {
-long type; /* must be of type long */
-char payload[MsgLen + 1]; /* bytes in the message */
-} queuedMessage;
-```
-
-The header file defines a structure type named **queuedMessage** , with **payload** (byte array) and **type** (integer) fields. This file also defines symbolic constants (the **#define** statements), the first two of which are used to generate a key that, in turn, is used to get a message queue ID. The **ProjectId** can be any positive integer value, and the **PathName** must be an existing, accessible file—in this case, the file _queue.h_. The setup statements in both the _sender_ and the _receiver_ programs are:
-
-
-```
-key_t key = ftok(PathName, ProjectId); /* generate key */
-int qid = msgget(key, 0666 | IPC_CREAT); /* use key to get queue id */
-```
-
-The ID **qid** is, in effect, the counterpart of a file descriptor for message queues.
-
-#### Example 5. The message _sender_ program
-
-
-```
-#include
-#include
-#include
-#include
-#include
-#include "queue.h"
-
-void report_and_exit(const char* msg) {
-[perror][6](msg);
-[exit][7](-1); /* EXIT_FAILURE */
-}
-
-int main() {
-key_t key = ftok(PathName, ProjectId);
-if (key < 0) report_and_exit("couldn't get key...");
-
-int qid = msgget(key, 0666 | IPC_CREAT);
-if (qid < 0) report_and_exit("couldn't get queue id...");
-
-char* payloads[] = {"msg1", "msg2", "msg3", "msg4", "msg5", "msg6"};
-int types[] = {1, 1, 2, 2, 3, 3}; /* each must be > 0 */
-int i;
-for (i = 0; i < MsgCount; i++) {
-/* build the message */
-queuedMessage msg;
-msg.type = types[i];
-[strcpy][11](msg.payload, payloads[i]);
-
-/* send the message */
-msgsnd(qid, &msg, sizeof(msg), IPC_NOWAIT); /* don't block */
-[printf][10]("%s sent as type %i\n", msg.payload, (int) msg.type);
-}
-return 0;
-}
-```
-
-The _sender_ program above sends out six messages, two each of a specified type: the first messages are of type 1, the next two of type 2, and the last two of type 3. The sending statement:
-
-
-```
-`msgsnd(qid, &msg, sizeof(msg), IPC_NOWAIT);`
-```
-
-is configured to be non-blocking (the flag **IPC_NOWAIT** ) because the messages are so small. The only danger is that a full queue, unlikely in this example, would result in a sending failure. The _receiver_ program below also receives messages using the **IPC_NOWAIT** flag.
-
-#### Example 6. The message _receiver_ program
-
-
-```
-#include
-#include
-#include
-#include
-#include "queue.h"
-
-void report_and_exit(const char* msg) {
-[perror][6](msg);
-[exit][7](-1); /* EXIT_FAILURE */
-}
-
-int main() {
-key_t key= ftok(PathName, ProjectId); /* key to identify the queue */
-if (key < 0) report_and_exit("key not gotten...");
-
-int qid = msgget(key, 0666 | IPC_CREAT); /* access if created already */
-if (qid < 0) report_and_exit("no access to queue...");
-
-int types[] = {3, 1, 2, 1, 3, 2}; /* different than in sender */
-int i;
-for (i = 0; i < MsgCount; i++) {
-queuedMessage msg; /* defined in queue.h */
-if (msgrcv(qid, &msg, sizeof(msg), types[i], MSG_NOERROR | IPC_NOWAIT) < 0)
-[puts][12]("msgrcv trouble...");
-[printf][10]("%s received as type %i\n", msg.payload, (int) msg.type);
-}
-
-/** remove the queue **/
-if (msgctl(qid, IPC_RMID, NULL) < 0) /* NULL = 'no flags' */
-report_and_exit("trouble removing queue...");
-
-return 0;
-}
-```
-
-The _receiver_ program does not create the message queue, although the API suggests as much. In the _receiver_ , the call:
-
-
-```
-`int qid = msgget(key, 0666 | IPC_CREAT);`
-```
-
-is misleading because of the **IPC_CREAT** flag, but this flag really means _create if needed, otherwise access_. The _sender_ program calls **msgsnd** to send messages, whereas the _receiver_ calls **msgrcv** to retrieve them. In this example, the _sender_ sends the messages in the order 1-1-2-2-3-3, but the _receiver_ then retrieves them in the order 3-1-2-1-3-2, showing that message queues are not bound to strict FIFO behavior:
-
-
-```
-% ./sender
-msg1 sent as type 1
-msg2 sent as type 1
-msg3 sent as type 2
-msg4 sent as type 2
-msg5 sent as type 3
-msg6 sent as type 3
-
-% ./receiver
-msg5 received as type 3
-msg1 received as type 1
-msg3 received as type 2
-msg2 received as type 1
-msg6 received as type 3
-msg4 received as type 2
-```
-
-The output above shows that the _sender_ and the _receiver_ can be launched from the same terminal. The output also shows that the message queue persists even after the _sender_ process creates the queue, writes to it, and exits. The queue goes away only after the _receiver_ process explicitly removes it with the call to **msgctl** :
-
-
-```
-`if (msgctl(qid, IPC_RMID, NULL) < 0) /* remove queue */`
-```
-
-### Wrapping up
-
-The pipes and message queue APIs are fundamentally _unidirectional_ : one process writes and another reads. There are implementations of bidirectional named pipes, but my two cents is that this IPC mechanism is at its best when it is simplest. As noted earlier, message queues have fallen in popularity—but without good reason; these queues are yet another tool in the IPC toolbox. Part 3 completes this quick tour of the IPC toolbox with code examples of IPC through sockets and signals.
-
---------------------------------------------------------------------------------
-
-via: https://opensource.com/article/19/4/interprocess-communication-linux-channels
-
-作者:[Marty Kalin][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://opensource.com/users/mkalindepauledu
-[b]: https://github.com/lujun9972
-[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/talk_chat_communication_team.png?itok=CYfZ_gE7 (Chat bubbles)
-[2]: https://en.wikipedia.org/wiki/Inter-process_communication
-[3]: https://opensource.com/article/19/4/interprocess-communication-ipc-linux-part-1
-[4]: http://man7.org/linux/man-pages/man2/mq_open.2.html
-[5]: http://man7.org/linux/man-pages/man2/mq_open.2.html#ATTRIBUTES
-[6]: http://www.opengroup.org/onlinepubs/009695399/functions/perror.html
-[7]: http://www.opengroup.org/onlinepubs/009695399/functions/exit.html
-[8]: http://www.opengroup.org/onlinepubs/009695399/functions/strlen.html
-[9]: http://www.opengroup.org/onlinepubs/009695399/functions/rand.html
-[10]: http://www.opengroup.org/onlinepubs/009695399/functions/printf.html
-[11]: http://www.opengroup.org/onlinepubs/009695399/functions/strcpy.html
-[12]: http://www.opengroup.org/onlinepubs/009695399/functions/puts.html
diff --git a/sources/tech/20190416 Linux Foundation Training Courses Sale - Discount Coupon.md b/sources/tech/20190416 Linux Foundation Training Courses Sale - Discount Coupon.md
deleted file mode 100644
index 04c1feb5ba..0000000000
--- a/sources/tech/20190416 Linux Foundation Training Courses Sale - Discount Coupon.md
+++ /dev/null
@@ -1,68 +0,0 @@
-[#]: collector: (lujun9972)
-[#]: translator: ( )
-[#]: reviewer: ( )
-[#]: publisher: ( )
-[#]: url: ( )
-[#]: subject: (Linux Foundation Training Courses Sale & Discount Coupon)
-[#]: via: (https://itsfoss.com/linux-foundation-discount-coupon/)
-[#]: author: (Abhishek Prakash https://itsfoss.com/author/abhishek/)
-
-Linux Foundation Training Courses Sale & Discount Coupon
-======
-
-Linux Foundation is the non-profit organization that employs Linux creator Linus Torvalds and manages the development of the Linux kernel. Linux Foundation aims to promote the adoption of Linux and Open Source in the industry and it is doing a great job in this regard.
-
-Open Source jobs are in demand and no one knows is better than Linux Foundation, the official Linux organization. This is why the Linux Foundation provides a number of training and certification courses on Linux related technology. You can browse the [entire course offering on Linux Foundations’ training webpage][1].
-
-### Linux Foundation Latest Offer: 40% off on all courses [Limited Time]
-
-At present Linux Foundation is offering some great offers for sysadmin, devops and cloud professionals.
-
-At present, Linux Foundation is offering massive discount of 40% on the entire range of their e-learning courses and certification bundles, including the growing catalog of cloud and devops e-learning courses like Kubernetes!
-
-Just use coupon code **APRIL40** at checkout to get your discount.
-
-[Linux Foundation 40% Off (Coupon Code APRIL40)][2]
-
-_Do note that this offer is valid till 22nd April 2019 only._
-
-### Linux Foundation Discount Coupon [Valid all the time]
-
-You can get a 16% off on any training or certification course provided by The Linux Foundation at any given time. All you have to do is to use the coupon code **FOSS16** at the checkout page.
-
-Note that it might not be combined with sysadmin day offer.
-
-[Get 16% off on Linux Foundation Courses with FOSS16 Code][1]
-
-This article contains affiliate links. Please read our [affiliate policy][3].
-
-#### Should you get certified?
-
-![][4]
-
-This is the question I have been asked regularly. Are Linux certifications worth it? The short answer is yes.
-
-As per the [open source jobs report in 2018][5], over 80% of open source professionals said that certifications helped with their careers. Certifications enable you to demonstrate technical knowledge to potential employers and thus certifications make you more employable in general.
-
-Almost half of the hiring managers said that employing certified open source professionals is a priority for them.
-
-Certifications from a reputed authority like Linux Foundation, Red Hat, LPIC etc are particularly helpful when you are a fresh graduate or if you want to switch to a new domain in your career.
-
---------------------------------------------------------------------------------
-
-via: https://itsfoss.com/linux-foundation-discount-coupon/
-
-作者:[Abhishek Prakash][a]
-选题:[lujun9972][b]
-译者:[译者ID](https://github.com/译者ID)
-校对:[校对者ID](https://github.com/校对者ID)
-
-本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
-
-[a]: https://itsfoss.com/author/abhishek/
-[b]: https://github.com/lujun9972
-[1]: https://shareasale.com/u.cfm?d=507759&m=59485&u=747593&afftrack=
-[2]: http://shrsl.com/1k5ug
-[3]: https://itsfoss.com/affiliate-policy/
-[4]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2018/07/linux-foundation-training-certification-discount.png?ssl=1
-[5]: https://www.linuxfoundation.org/publications/open-source-jobs-report-2018/
diff --git a/sources/tech/20190417 How to use Ansible to document procedures.md b/sources/tech/20190417 How to use Ansible to document procedures.md
new file mode 100644
index 0000000000..51eddfe92c
--- /dev/null
+++ b/sources/tech/20190417 How to use Ansible to document procedures.md
@@ -0,0 +1,132 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (How to use Ansible to document procedures)
+[#]: via: (https://opensource.com/article/19/4/ansible-procedures)
+[#]: author: (Marco Bravo https://opensource.com/users/marcobravo/users/shawnhcorey/users/marcobravo)
+
+How to use Ansible to document procedures
+======
+In Ansible, the documentation is the playbook, so the documentation
+naturally evolves alongside the code
+![][1]
+
+> "Documentation is a love letter that you write to your future self." —[Damian Conway][2]
+
+I use [Ansible][3] as my personal notebook for documenting coding procedures—both the ones I use often and the ones I rarely use. This process facilitates my work and reduces the time it takes to do repetitive tasks, the ones where specific commands in a certain sequence are executed to accomplish a specific result.
+
+By documenting with Ansible, I don't need to memorize all the parameters for each command or all the steps involved with a specific procedure, and it's easy to share the details with my teammates.
+
+Traditional approaches for documentation, like wikis or shared drives, are useful for general documents, but inevitably they become outdated and can't keep pace with the rapid changes in infrastructure and environments. For specific procedures, it's better to document directly into the code using a tool like Ansible.
+
+### Ansible's advantages
+
+Before we begin, let's recap some basic Ansible concepts: a _playbook_ is a high-level organization of procedures using plays; _plays_ are specific procedures for a group of hosts; _tasks_ are specific actions, _modules_ are units of code, and _inventory_ is a list of managed nodes.
+
+Ansible's great advantage is that the documentation is the playbook itself, so it evolves with and is contained inside the code. This is not only useful; it's also practical because, more than just documenting solutions with Ansible, you're also coding a playbook that permits you to write your procedures and commands, reproduce them, and automate them. This way, you can look back in six months and be able to quickly understand and execute them again.
+
+It's true that this way of resolving problems could take more time at first, but it will definitely save a lot of time in the long term. By being courageous and disciplined to adopt these new habits, you will improve your skills in each iteration.
+
+Following are some other important elements and support tools that will facilitate your process.
+
+### Use source code control
+
+> "First do it, then do it right, then do it better." —[Addy Osmani][4]
+
+When working with Ansible playbooks, it's very important to implement a playbook-as-code strategy. A good way to accomplish this is to use a source code control repository that will permit to you start with a simple solution and iterate to improve it.
+
+A source code control repository provides many advantages as you collaborate with other developers, restore previous versions, and back up your work. But in creating documentation, its main advantages are that you get traceability about what are you doing and can iterate around small changes to improve your work.
+
+The most popular source control system is [Git][5], but there are [others][6] like [Subversion][7], [Bazaar][8], [BitKeeper][9], and [Mercurial][10].
+
+### Keep idempotency in mind
+
+In infrastructure automation, idempotency means to reach a specific end state that remains the same, no matter how many times the process is executed. So when you are preparing to automate your procedures, keep the desired result in mind and write scripts and commands that will achieve them consistently.
+
+This concept exists in most Ansible modules because after you specify the desired final state, Ansible will accomplish it. For instance, there are modules for creating filesystems, modifying iptables, and managing cron entries. All of these modules are idempotent by default, so you should give them preference.
+
+If you are using some of the lower-level modules, like command or shell, or developing your own modules, be careful to write code that will be idempotent and safe to repeat many times to get the same result.
+
+The idempotency concept is important when you prepare procedures for automation because it permits you to evaluate several scenarios and incorporate the ones that will make your code safer and create an abstraction level that points to the desired result.
+
+### Test it!
+
+Testing your deployment workflow creates fewer surprises when your code arrives in production. Ansible's belief that you shouldn't need another framework to validate basic things in your infrastructure is true. But your focus should be on application testing, not infrastructure testing.
+
+Ansible's documentation offers several [testing strategies for your procedures][11]. For testing Ansible playbooks, you can use [Molecule][12], which is designed to aid in the development and testing of Ansible roles. Molecule supports testing with multiple instances, operating systems/distributions, virtualization providers, test frameworks, and testing scenarios. This means Molecule will run through all the testing steps: linting verifications, checking playbook syntax, building Docker environments, running playbooks against Docker environments, running the playbook again to verify idempotence, and cleaning everything up afterward. [Testing Ansible roles with Molecule][13] is a good introduction to Molecule.
+
+### Run it!
+
+Running Ansible playbooks can create logs that are formatted in an unfriendly and difficult-to-read way. In those cases, the Ansible Run Analysis (ARA) is a great complementary tool for running Ansible playbooks, as it provides an intuitive interface to browse them. Read [Analyzing Ansible runs using ARA][14] for more information.
+
+Remember to protect your passwords and other sensitive information with [Ansible Vault][15]. Vault can encrypt binary files, **group_vars** , **host_vars** , **include_vars** , and **var_files**. But this encrypted data is exposed when you run a playbook in **-v** (verbose) mode, so it's a good idea to combine it with the keyword **no_log** set to **true** to hide any task's information, as it indicates that the value of the argument should not be logged or displayed.
+
+### A basic example
+
+Do you need to connect to a server to produce a report file and copy the file to another server? Or do you need a lot of specific parameters to connect? Maybe you're not sure where to store the parameters. Or are your procedures are taking a long time because you need to collect all the parameters from several sources?
+
+Suppose you have a network topology with some restrictions and you need to copy a file from a server that you can access ( **server1** ) to another server that is managed by a third party ( **server2** ). The parameters to connect are:
+
+
+```
+Source server: server1
+Target server: server2
+Port: 2202
+User: transfers
+SSH Key: transfers_key
+File to copy: file.log
+Remote directory: /logs/server1/
+```
+
+In this scenario, you need to connect to **server1** and copy the file using these parameters. You can accomplish this using a one-line command:
+
+
+```
+`ssh server1 "scp -P 2202 -oUser=transfers -i ~/.ssh/transfers_key file.log server2:/logs/server1/"`
+```
+
+Now your playbook can do the procedure.
+
+### Useful combinations
+
+If you produce a lot of Ansible playbooks, you can organize all your procedures with other tools like [AWX][16] (Ansible Works Project), which provides a web-based user interface, a REST API, and a task engine built on top of Ansible so that users can better control their Ansible project use in IT environments.
+
+Other interesting combinations are Ansible with [Rundeck][17], which provides procedures as self-service jobs, and [Jenkins][18] for continuous integration and continuous delivery processes.
+
+### Conclusion
+
+I hope that these tips for using Ansible will help you improve your automation processes, coding, and documentation. If you have more interest, dive in and learn more. And I would like to hear your ideas or questions, so please share them in the comments below.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/ansible-procedures
+
+作者:[Marco Bravo][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/marcobravo/users/shawnhcorey/users/marcobravo
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/document_free_access_cut_security.png?itok=ocvCv8G2
+[2]: https://en.wikipedia.org/wiki/Damian_Conway
+[3]: https://www.ansible.com/
+[4]: https://addyosmani.com/
+[5]: https://git-scm.com/
+[6]: https://en.wikipedia.org/wiki/Comparison_of_version_control_software
+[7]: https://subversion.apache.org/
+[8]: https://bazaar.canonical.com/en/
+[9]: https://www.bitkeeper.org/
+[10]: https://www.mercurial-scm.org/
+[11]: https://docs.ansible.com/ansible/latest/reference_appendices/test_strategies.html
+[12]: https://molecule.readthedocs.io/en/latest/
+[13]: https://opensource.com/article/18/12/testing-ansible-roles-molecule
+[14]: https://opensource.com/article/18/5/analyzing-ansible-runs-using-ara
+[15]: https://docs.ansible.com/ansible/latest/user_guide/vault.html
+[16]: https://github.com/ansible/awx
+[17]: https://www.rundeck.com/ansible
+[18]: https://www.redhat.com/en/blog/integrating-ansible-jenkins-cicd-process
diff --git a/sources/tech/20190418 Electronics designed in 5 different countries with open hardware.md b/sources/tech/20190418 Electronics designed in 5 different countries with open hardware.md
new file mode 100644
index 0000000000..5c81f2d8bc
--- /dev/null
+++ b/sources/tech/20190418 Electronics designed in 5 different countries with open hardware.md
@@ -0,0 +1,119 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Electronics designed in 5 different countries with open hardware)
+[#]: via: (https://opensource.com/article/19/4/hardware-international)
+[#]: author: (Michael Weinberg https://opensource.com/users/mweinberg)
+
+Electronics designed in 5 different countries with open hardware
+======
+This month's open source hardware column looks at certified open
+hardware from five countries that may surprise you.
+![Gadgets and open hardware][1]
+
+The Open Source Hardware Association's [Hardware Registry][2] lists hardware from 29 different countries on five continents, demonstrating the broad, international footprint of certified open source hardware.
+
+![Open source hardware map][3]
+
+In some ways, this international reach shouldn't be a surprise. Like many other open source communities, the open source hardware community is built on top of the internet, not grounded in any specific geographical location. The focus on documentation, sharing, and openness makes it easy for people in different places with different backgrounds to connect and work together to develop new hardware. Even the community-developed open source hardware [definition][4] has been translated into 11 languages from the original English.
+
+Even if you're familiar with the international nature of open source hardware, it can still be refreshing to step back and remember what it means in practice. While it may not surprise you that there are many certifications from the United States, Germany, and India, some of the other countries boasting certifications might be a bit less expected. Let's look at six such projects from five of those countries.
+
+### Bulgaria
+
+Bulgaria may have the highest per-capita open source hardware certification rate of any country on earth. That distinction is mostly due to the work of two companies: [ANAVI Technology][5] and [Olimex][6].
+
+ANAVI focuses mostly on IoT projects built on top of the Raspberry Pi and ESP8266. The concept of "creator contribution" means that these projects can be certified open source even though they are built upon non-open bases. That is because all of ANAVI's work to develop the hardware on top of these platforms (ANAVI's "creator contribution") has been open sourced in compliance with the certification requirements.
+
+The [ANAVI Light pHAT][7] was the first piece of Bulgarian hardware to be certified by OSHWA. The Light pHAT makes it easy to add a 12V RGB LED strip to a Raspberry Pi.
+
+![ANAVI-Light-pHAT][8]
+
+[ANAVI-Light-pHAT][9]
+
+Olimex's first OSHWA certification was for the [ESP32-PRO][10], a highly connectable IoT board built around an ESP32 microcontroller.
+
+![Olimex ESP32-PRO][11]
+
+[Olimex ESP32-PRO][12]
+
+### China
+
+While most people know China is a hotbed for hardware development, fewer realize that it is also the home to a thriving _open source_ hardware culture. One of the reasons is the tireless advocacy of Naomi Wu (also known as [SexyCyborg][13]). It is fitting that the first piece of certified hardware from China is one she helped develop: the [sino:bit][14]. The sino:bit is designed to help introduce students to programming and includes China-specific features like a LED matrix big enough to represent Chinese characters.
+
+![sino:bit][15]
+
+[ sino:bit][16]
+
+### Mexico
+
+Mexico has also produced a range of certified open source hardware. A recent certification is the [Meow Meow][17], a capacitive touch interface from [Electronic Cats][18]. Meow Meow makes it easy to use a wide range of objects—bananas are always a favorite—as controllers for your computer.
+
+![Meow Meow][19]
+
+[Meow Meow][20]
+
+### Saudi Arabia
+
+Saudi Arabia jumped into open source hardware earlier this year with the [M1 Rover][21]. The robot is an unmanned vehicle that you can build (and build upon). It is compatible with a number of different packages designed for specific purposes, so you can customize it for a wide range of applications.
+
+![M1-Rover ][22]
+
+[M1-Rover][23]
+
+### Sri Lanka
+
+This project from Sri Lanka is part of a larger effort to improve traffic flow in urban areas. The team behind the [Traffic Wave Disruptor][24] read research about how many traffic jams are caused by drivers slamming on their brakes when they drive too close to the car in front of them, producing a ripple of rapid breaking on the road behind them. This stop/start effect can be avoided if cars maintain a consistent, optimal distance from one another. If you reduce the stop/start pattern, you also reduce the number of traffic jams.
+
+![Traffic Wave Disruptor][25]
+
+[Traffic Wave Disruptor][26]
+
+But how can drivers know if they are keeping an optimal distance? The prototype Traffic Wave Disruptor aims to give drivers feedback when they fail to keep optimal spacing. Wider adoption could help increase traffic flow without building new highways nor reducing the number of cars using them.
+
+* * *
+
+You may have noticed that all the hardware featured here is based on electronics. In next month's open source hardware column, we will take a look at open source hardware for the outdoors, away from batteries and plugs. Until then, [certify][27] your open source hardware project (especially if your country is not yet on the registry). It might be featured in a future column.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/hardware-international
+
+作者:[Michael Weinberg][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/mweinberg
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/openhardwaretools_0.png?itok=NUIvc-R1 (Gadgets and open hardware)
+[2]: https://certification.oshwa.org/list.html
+[3]: https://opensource.com/sites/default/files/uploads/opensourcehardwaremap.jpg (Open source hardware map)
+[4]: https://www.oshwa.org/definition/
+[5]: http://anavi.technology/
+[6]: https://www.olimex.com/
+[7]: https://certification.oshwa.org/bg000001.html
+[8]: https://opensource.com/sites/default/files/uploads/anavi-light-phat.png (ANAVI-Light-pHAT)
+[9]: http://anavi.technology/#products
+[10]: https://certification.oshwa.org/bg000010.html
+[11]: https://opensource.com/sites/default/files/uploads/olimex-esp32-pro.png (Olimex ESP32-PRO)
+[12]: https://www.olimex.com/Products/IoT/ESP32/ESP32-PRO/open-source-hardware
+[13]: https://www.youtube.com/channel/UCh_ugKacslKhsGGdXP0cRRA
+[14]: https://certification.oshwa.org/cn000001.html
+[15]: https://opensource.com/sites/default/files/uploads/sinobit.png (sino:bit)
+[16]: https://github.com/sinobitorg/hardware
+[17]: https://certification.oshwa.org/mx000003.html
+[18]: https://electroniccats.com/
+[19]: https://opensource.com/sites/default/files/uploads/meowmeow.png (Meow Meow)
+[20]: https://electroniccats.com/producto/meowmeow/
+[21]: https://certification.oshwa.org/sa000001.html
+[22]: https://opensource.com/sites/default/files/uploads/m1-rover.png (M1-Rover )
+[23]: https://www.hackster.io/AhmedAzouz/m1-rover-362c05
+[24]: https://certification.oshwa.org/lk000001.html
+[25]: https://opensource.com/sites/default/files/uploads/traffic-wave-disruptor.png (Traffic Wave Disruptor)
+[26]: https://github.com/Aightm8/Traffic-wave-disruptor
+[27]: https://certification.oshwa.org/
diff --git a/sources/tech/20190418 How to organize with Calculist- Ideas, events, and more.md b/sources/tech/20190418 How to organize with Calculist- Ideas, events, and more.md
new file mode 100644
index 0000000000..7c9d844315
--- /dev/null
+++ b/sources/tech/20190418 How to organize with Calculist- Ideas, events, and more.md
@@ -0,0 +1,120 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (How to organize with Calculist: Ideas, events, and more)
+[#]: via: (https://opensource.com/article/19/4/organize-calculist)
+[#]: author: (Scott Nesbitt https://opensource.com/users/scottnesbitt)
+
+How to organize with Calculist: Ideas, events, and more
+======
+Give structure to your ideas and plans with Calculist, an open source
+web app for creating outlines.
+![Team checklist][1]
+
+Thoughts. Ideas. Plans. We all have a few of them. Often, more than a few. And all of us want to make some or all of them a reality.
+
+Far too often, however, those thoughts and ideas and plans are a jumble inside our heads. They refuse to take a discernable shape, preferring instead to rattle around here, there, and everywhere in our brains.
+
+One solution to that problem is to put everything into [an outline][2]. An outline can be a great way to organize what you need to organize and give it the shape you need to take it to the next step.
+
+A number of people I know rely on a popular web-based tool called WorkFlowy for their outlining needs. If you prefer your applications (including web ones) to be open source, you'll want to take a look at [Calculist][3].
+
+The brainchild of [Dan Allison][4], Calculist is billed as _the thinking tool for problem solvers_. It does much of what WorkFlowy does, and it has a few features that its rival is missing.
+
+Let's take a look at using Calculist to organize your ideas (and more).
+
+### Getting started
+
+If you have a server, you can try to [install Calculist][5] on it. If, like me, you don't have server or just don't have the technical chops, you can turn to the [hosted version][6] of Calculist.
+
+[Sign up][7] for a no-cost account, then log in. Once you've done that, you're ready to go.
+
+### Creating a basic outline
+
+What you use Calculist for really depends on your needs. I use Calculist to create outlines for articles and essays, to create lists of various sorts, and to plan projects. Regardless of what I'm doing, every outline I create follows the same pattern.
+
+To get started, click the **New List** button. This creates a blank outline (which Calculist calls a _list_ ).
+
+![Create a new list in Calculist][8]
+
+The outline is a blank slate waiting for you to fill it up. Give the outline a name, then press Enter. When you do that, Calculist adds the first blank line for your outline. Use that as your starting point.
+
+![A new outline in Calculist][9]
+
+Add a new line by pressing Enter. To indent a line, press the Tab key while on that line. If you need to create a hierarchy, you can indent lines as far as you need to indent them. Press Shift+Tab to outdent a line.
+
+Keep adding lines until you have a completed outline. Calculist saves your work every few seconds, so you don't need to worry about that.
+
+![Calculist outline][10]
+
+### Editing an outline
+
+Outlines are fluid. They morph. They grow and shrink. Individual items in an outline change. Calculist makes it easy for you to adapt and make those changes.
+
+You already know how to add an item to an outline. If you don't, go back a few paragraphs for a refresher. To edit text, click on an item and start typing. Don't double-click (more on this in a few moments). If you accidentally double-click on an item, press Esc on your keyboard and all will be well.
+
+Sometimes you need to move an item somewhere else in the outline. Do that by clicking and holding the bullet for that item. Drag the item and drop it wherever you want it. Anything indented below the item moves with it.
+
+At the moment, Calculist doesn't support adding notes or comments to an item in an outline. A simple workaround I use is to add a line indented one level deeper than the item where I want to add the note. That's not the most elegant solution, but it works.
+
+### Let your keyboard do the walking
+
+Not everyone likes to use their mouse to perform actions in an application. Like a good desktop application, you're not at the mercy of your mouse when you use Calculist. It has many keyboard shortcuts that you can use to move around your outlines and manipulate them.
+
+The keyboard shortcuts I mentioned a few paragraphs ago are just the beginning. There are a couple of dozen keyboard shortcuts that you can use.
+
+For example, you can focus on a single portion of an outline by pressing Ctrl+Right Arrow key. To get back to the full outline, press Ctrl+Left Arrow key. There are also shortcuts for moving up and down in your outline, expanding and collapsing lists, and deleting items.
+
+You can view the list of shortcuts by clicking on your user name in the upper-right corner of the Calculist window and clicking **Preferences**. You can also find a list of [keyboard shortcuts][11] in the Calculist GitHub repository.
+
+If you need or want to, you can change the shortcuts on the **Preferences** page. Click on the shortcut you want to change—you can, for example, change the shortcut for zooming in on an item to Ctrl+0.
+
+### The power of commands
+
+Calculist's keyboard shortcuts are useful, but they're only the beginning. The application has command mode that enables you to perform basic actions and do some interesting and complex tasks.
+
+To use a command, double-click an item in your outline or press Ctrl+Enter while on it. The item turns black. Type a letter or two, and a list of commands displays. Scroll down to find the command you want to use, then press Enter. There's also a [list of commands][12] in the Calculist GitHub repository.
+
+![Calclulist commands][13]
+
+The commands are quite comprehensive. While in command mode, you can, for example, delete an item in an outline or delete an entire outline. You can import or export outlines, sort and group items in an outline, or change the application's theme or font.
+
+### Final thoughts
+
+I've found that Calculist is a quick, easy, and flexible way to create and view outlines. It works equally well on my laptop and my phone, and it packs not only the features I regularly use but many others (including support for [LaTeX math expressions][14] and a [table/spreadsheet mode][15]) that more advanced users will find useful.
+
+That said, Calculist isn't for everyone. If you prefer your outlines on the desktop, then check out [TreeLine][16], [Leo][17], or [Emacs org-mode][18].
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/organize-calculist
+
+作者:[Scott Nesbitt ][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/scottnesbitt
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/checklist_todo_clock_time_team.png?itok=1z528Q0y (Team checklist)
+[2]: https://en.wikipedia.org/wiki/Outline_(list)
+[3]: https://calculist.io/
+[4]: https://danallison.github.io/
+[5]: https://github.com/calculist/calculist-web
+[6]: https://app.calculist.io/
+[7]: https://app.calculist.io/join
+[8]: https://opensource.com/sites/default/files/uploads/calculist-new-list.png (Create a new list in Calculist)
+[9]: https://opensource.com/sites/default/files/uploads/calculist-getting-started.png (A new outline in Calculist)
+[10]: https://opensource.com/sites/default/files/uploads/calculist-outline.png (Calculist outline)
+[11]: https://github.com/calculist/calculist/wiki/Keyboard-Shortcuts
+[12]: https://github.com/calculist/calculist/wiki/Command-Mode
+[13]: https://opensource.com/sites/default/files/uploads/calculist-commands.png (Calculist commands)
+[14]: https://github.com/calculist/calculist/wiki/LaTeX-Expressions
+[15]: https://github.com/calculist/calculist/issues/32
+[16]: https://opensource.com/article/18/1/creating-outlines-treeline
+[17]: http://www.leoeditor.com/
+[18]: https://orgmode.org/
diff --git a/sources/tech/20190418 Level up command-line playgrounds with WebAssembly.md b/sources/tech/20190418 Level up command-line playgrounds with WebAssembly.md
new file mode 100644
index 0000000000..411adc44fa
--- /dev/null
+++ b/sources/tech/20190418 Level up command-line playgrounds with WebAssembly.md
@@ -0,0 +1,196 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Level up command-line playgrounds with WebAssembly)
+[#]: via: (https://opensource.com/article/19/4/command-line-playgrounds-webassembly)
+[#]: author: (Robert Aboukhalil https://opensource.com/users/robertaboukhalil)
+
+Level up command-line playgrounds with WebAssembly
+======
+WebAssembly is a powerful tool for bringing command line utilities to
+the web and giving people the chance to tinker with tools.
+![Various programming languages in use][1]
+
+[WebAssembly][2] (Wasm) is a new low-level language designed with the web in mind. Its main goal is to enable developers to compile code written in other languages—such as C, C++, and Rust—into WebAssembly and run that code in the browser. In an environment where JavaScript has traditionally been the only option, WebAssembly is an appealing counterpart, and it enables portability along with the promise for near-native runtimes. WebAssembly has also already been used to port lots of tools to the web, including [desktop applications][3], [games][4], and even [data science tools written in Python][5]!
+
+Another application of WebAssembly is command line playgrounds, where users are free to play with a simulated version of a command line tool. In this article, we'll explore a concrete example of leveraging WebAssembly for this purpose, specifically to port the tool **[jq][6]** —which is normally confined to the command line—to run directly in the browser.
+
+If you haven't heard, jq is a very powerful command line tool for querying, modifying, and wrangling JSON objects on the command line.
+
+### Why WebAssembly?
+
+Aside from WebAssembly, there are two other approaches we can take to build a jq playground:
+
+ 1. **Set up a sandboxed environment** on your server that executes queries and returns the result to the user via API calls. Although this means your users get to play with the real thing, the thought of hosting, securing, and sanitizing user inputs for such an application is worrisome. Aside from security, the other concern is responsiveness; the additional round trips to the server can introduce noticeable latencies and negatively impact the user experience.
+ 2. **Simulate the command line environment using JavaScript** , where you define a series of steps that the user can take. Although this approach is more secure than option 1, it involves _a lot_ more work, as you need to rewrite the logic of the tool in JavaScript. This method is also limiting: when I'm learning a new tool, I'm not just interested in the "happy path"; I want to break things!
+
+
+
+These two solutions are not ideal because we have to choose between security and a meaningful learning experience. Ideally, we could simply run the command line tool directly in the browser, with no servers and no simulations. Lucky for us, WebAssembly is just the solution we need to achieve that.
+
+### Set up your environment
+
+In this article, we'll use the [Emscripten tool][7] to port jq from C to WebAssembly. Conveniently, it provides us with drop-in replacements for the most common C/C++ build tools, including gcc, make, and configure.
+
+Instead of [installing Emscripten from scratch][8] (the build process can take a long time), we'll use a Docker image I put together that comes prepackaged with everything you'll need for this article (and beyond!).
+
+Let's start by pulling the image and creating a container from it:
+
+
+```
+# Fetch docker image containing Emscripten
+docker pull robertaboukhalil/emsdk:1.38.26
+
+# Create container from that image
+docker run -dt --name wasm robertaboukhalil/emsdk:1.38.26
+
+# Enter the container
+docker exec -it wasm bash
+
+# Make sure we can run emcc, Emscripten's wrapper around gcc
+emcc --version
+```
+
+If you see the Emscripten version on the screen, you're good to go!
+
+### Porting jq to WebAssembly
+
+Next, let's clone the jq repository:
+
+
+```
+git clone
+cd jq
+git checkout 9fa2e51
+```
+
+Note that we're checking out a specific commit, just in case the jq code changes significantly after this article is published.
+
+Before we compile jq to WebAssembly, let's first consider how we would normally compile jq to binary for use on the command line.
+
+From the [README file][9], here is what we need to build jq to binary (don't type this in yet):
+
+
+```
+# Fetch jq dependencies
+git submodule update --init
+
+# Generate ./configure file
+autoreconf -fi
+
+# Run ./configure
+./configure \
+\--with-oniguruma=builtin \
+\--disable-maintainer-mode
+
+# Build jq executable
+make LDFLAGS=-all-static
+```
+
+Instead, to compile jq to WebAssembly, we'll leverage Emscripten's drop-in replacements for the configure and make build tools (note the differences here from the previous entry: **emconfigure** and **emmake** in the Run and Build statements, respectively):
+
+
+```
+# Fetch jq dependencies
+git submodule update --init
+
+# Generate ./configure file
+autoreconf -fi
+
+# Run ./configure
+emconfigure ./configure \
+\--with-oniguruma=builtin \
+\--disable-maintainer-mode
+
+# Build jq executable
+emmake make LDFLAGS=-all-static
+```
+
+If you type the commands above inside the Wasm container we created earlier, you'll notice that emconfigure and emmake will make sure jq is compiled using emcc instead of gcc (Emscripten also has a g++ replacement called em++).
+
+So far, this was surprisingly easy: we just prepended a handful of commands with Emscripten tools and ported a codebase—comprising tens of thousands of lines—from C to WebAssembly. Note that it won't always be this easy, especially for more complex codebases and graphical applications, but that's for [another article][10].
+
+Another advantage of Emscripten is that it can generate some JavaScript glue code for us that handles initializing the WebAssembly module, calling C functions from JavaScript, and even providing a [virtual filesystem][11].
+
+Let's generate that glue code from the executable file jq that emmake outputs:
+
+
+```
+# But first, rename the jq executable to a .o file; otherwise,
+# emcc complains that the "file has an unknown suffix"
+mv jq jq.o
+
+# Generate .js and .wasm files from jq.o
+# Disable errors on undefined symbols to avoid warnings about llvm_fma_f64
+emcc jq.o -o jq.js \
+-s ERROR_ON_UNDEFINED_SYMBOLS=0
+```
+
+To make sure it works, let's try an example from the [jq tutorial][12] directly on the command line:
+
+
+```
+# Output the description of the latest commit on the jq repo
+$ curl -s "" | \
+node jq.js '.[0].commit.message'
+"Restore cfunction arity in builtins/0\n\nCount arguments up-front at definition/invocation instead of doing it at\nbind time, which comes after generating builtins/0 since e843a4f"
+```
+
+And just like that, we are now ready to run jq in the browser!
+
+### The result
+
+Using the output of emcc above, we can put together a user interface that calls jq on a JSON blob the user provides. This is the approach I took to build [jqkungfu][13] (source code [available on GitHub][14]):
+
+![jqkungfu screenshot][15]
+
+jqkungfu, a playground built by compiling jq to WebAssembly
+
+Although there are similar web apps that let you execute arbitrary jq queries in the browser, they are generally implemented as server-side applications that execute user queries in a sandbox (option #1 above).
+
+Instead, by compiling jq from C to WebAssembly, we get the best of both worlds: the flexibility of the server and the security of the browser. Specifically, the benefits are:
+
+ 1. **Flexibility** : Users can "choose their own adventure" and use the app with fewer limitations
+ 2. **Speed** : Once the Wasm module is loaded, executing queries is extremely fast because all the magic happens in the browser
+ 3. **Security** : No backend means we don't have to worry about our servers being compromised or used to mine Bitcoins
+ 4. **Convenience** : Since we don't need a backend, jqkungfu is simply hosted as static files on a cloud storage platform
+
+
+
+### Conclusion
+
+WebAssembly is a powerful tool for bringing existing command line utilities to the web. When included as part of a tutorial, such playgrounds can become powerful teaching tools. They can even allow your users to test-drive your tool before they bother installing it.
+
+If you want to dive further into WebAssembly and learn how to build applications like jqkungfu (or games like Pacman!), check out my book [_Level up with WebAssembly_][16].
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/command-line-playgrounds-webassembly
+
+作者:[Robert Aboukhalil][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/robertaboukhalil
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/programming_language_c.png?itok=mPwqDAD9 (Various programming languages in use)
+[2]: https://webassembly.org/
+[3]: https://www.figma.com/blog/webassembly-cut-figmas-load-time-by-3x/
+[4]: http://www.continuation-labs.com/projects/d3wasm/
+[5]: https://hacks.mozilla.org/2019/03/iodide-an-experimental-tool-for-scientific-communicatiodide-for-scientific-communication-exploration-on-the-web/
+[6]: https://stedolan.github.io/jq/
+[7]: https://emscripten.org/
+[8]: https://emscripten.org/docs/getting_started/downloads.html
+[9]: https://github.com/stedolan/jq/blob/9fa2e51099c55af56e3e541dc4b399f11de74abe/README.md
+[10]: https://medium.com/@robaboukhalil/porting-games-to-the-web-with-webassembly-70d598e1a3ec?sk=20c835664031227eae5690b8a12514f0
+[11]: https://emscripten.org/docs/porting/files/file_systems_overview.html
+[12]: https://stedolan.github.io/jq/tutorial/
+[13]: http://jqkungfu.com
+[14]: https://github.com/robertaboukhalil/jqkungfu/
+[15]: https://opensource.com/sites/default/files/uploads/jqkungfu.gif (jqkungfu screenshot)
+[16]: http://levelupwasm.com/
diff --git a/sources/tech/20190418 Simplifying organizational change- A guide for the perplexed.md b/sources/tech/20190418 Simplifying organizational change- A guide for the perplexed.md
new file mode 100644
index 0000000000..e9fa0cb7fd
--- /dev/null
+++ b/sources/tech/20190418 Simplifying organizational change- A guide for the perplexed.md
@@ -0,0 +1,167 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Simplifying organizational change: A guide for the perplexed)
+[#]: via: (https://opensource.com/open-organization/19/4/simplifying-change)
+[#]: author: (Jen Kelchner https://opensource.com/users/jenkelchner)
+
+Simplifying organizational change: A guide for the perplexed
+======
+Here's a 4-step, open process for making change easier—both for you and
+your organization.
+![][1]
+
+Most organizational leaders have encountered a certain paralysis around efforts to implement culture change—perhaps because of perceived difficulty or the time necessary for realizing our work. But change is only as difficult as we choose to make it. In order to lead successful change efforts, we must simplify our understanding and approach to change.
+
+Change isn't something rare. We live everyday life in a continuous state of change—from grappling with the speed of innovation to simply interacting with the environment around us. Quite simply, *change is how we process, disseminate, and adopt new information. *And whether you're leading a team or an organization—or are simply breathing—you'll benefit from a more focused, simplified approach to change. Here's a process that can save you time and reduce frustration.
+
+### Three interactions with change
+
+Everyone interacts with change in different ways. Those differences are based on who we are, our own unique experiences, and our core beliefs. In fact, [only 5% of decision making involves conscious processing][2]. Even when you don't _think_ you're making a decision, you are actually making a decision (that is, to not take action).
+
+So you see, two actors are at play in situations involving change. The first is the human decision maker. The second is the information _coming to_ the decision maker. Both are present in three sets of interactions at varying stages in the decision-making process.
+
+#### **Engaging change**
+
+First, we must understand that uncertainty is really the result of "new information" we must process. We must accept where we are, at that moment, while waiting for additional information. Engaging with change requires us to trust—at the very least, ourselves and our capacity to manage—as new information continues to arrive. Everyone will respond to new information differently, and those responses are based on multiple factors: general hardwiring, unconscious needs that need to be met to feel safe, and so on. How do you feel safe in periods of uncertainty? Are you routine driven? Do you need details or need to assess risk? Are you good with figuring it out on the fly? Or does safety feel like creating something brand new?
+
+#### **Navigating change**
+
+"Navigating" doesn't necessarily mean "going around" something safely. It's knowing how to "get through it." Navigating change truly requires "all hands on deck" in order to keep everything intact and moving forward as we encounter each oncoming wave of new information. Everyone around you has something to contribute to the process of navigation; leverage them for “smooth sailing."
+
+#### **Adopting change**
+
+Only a small set of members in your organization will be truly comfortable with adopting change. But that committed and confident minority can spread the fire of change and help you grow some innovative ideas within your organization. Consider taking advantage of what researchers call "[the pendulum effect][3]," which holds that a group as small as 5% of an organization's population can influence a crowd's direction (the other 95% will follow along without realizing it). Moreover, [scientists at Rensselaer Polytechnic Institute have found][4] that when just 10% of a population holds an unshakable belief, that belief will always be adopted by a majority. Findings from this cognitive study have implications for the spread of innovations and movements within a collective group of people. Opportunities for mass adoption are directly related to your influence with the external parties around you.
+
+Everyone interacts with change in different ways. Those differences are based on who we are, our own unique experiences, and our core beliefs.
+
+### A useful matrix to guide culture change
+
+So far, we've identified three "interactions" every person, team, or department will experience with change: "engaging," "navigating," and "adopting." When we examine the work of _implementing_ change in the broader context of an organization (any kind), we can also identify _three relationships_ that drive the success of each interaction: "people," "capacity," and "information."
+
+Here's a brief list of considerations you should make—at every moment and with every relationship—to help you build roadmaps thoughtfully.
+
+#### **Engaging—People**
+
+Organizational success comes from the overlap of awareness and action of the "I" and the "We."
+
+ * _Individuals (I)_ are aware of and engage based on their [natural response strength][5].
+ * _Teams (We)_ are aware of and balance their responsibilities based on the Individual strengths by initiative.
+ * _Leaders (I/We) l_ everage insight based on knowing their (I) and the collective (We).
+
+
+
+#### **Engaging—Capacity**
+
+"Capacity" applies to skills, processes, and culture that is clearly structured, documented, and accessible with your organization. It is the “space” within which you operate and achieve solutions.
+
+ * _Current state_ awareness allows you to use what and who you have available and accessible through your known operational capacity.
+ * _Future state_ needs will show you what is required of you to learn, _or stretch_ , in order to bridge any gaps; essentially, you will design the recoding of your organization.
+
+
+
+#### **Engaging—Information**
+
+ * _Access to information_ is readily available to all based on appropriate needs within protocols.
+ * _Communication flows_ easily and is reciprocated at all levels.
+ * _Communication flow_ is timely and transparent.
+
+
+
+#### **Navigating—People**
+
+ * Balance responses from both individuals and the collective will impact your outcomes.
+ * Balance the _I_ with the _We_. This allows for responses to co-exist in a seamless, collaborative way—which fuels every project.
+
+
+
+#### **Navigating—Capacity**
+
+ * _Skills_ : Assuring a continuous state of assessment and learning through various modalities allows you to navigate with ease as each person graduates their understanding in preparation for the next iteration of change.
+ * _Culture:_ Be clear on goals and mission with a supported ecosystem in which your teams can operate by contributing their best efforts when working together.
+ * _Processes:_ Review existing processes and let go of anything that prevents you from evolving. Open practices and methodologies do allow for a higher rate of adaptability and decision making.
+ * _Utilize Talent:_ Discover who is already in your organization and how you can leverage their talent in new ways. Go beyond your known teams and seek out sources of new perspectives.
+
+
+
+#### **Navigating—Information**
+
+ * Be clear on your mission.
+ * Be very clear on your desired endgame so everyone knows what you are navigating toward (without clearly defined and posted directions, it's easy to waste time, money and efforts resulting in missed targets).
+
+
+
+#### **Adopting—People**
+
+ * _Behaviors_ have a critical impact on influence and adoption.
+ * For _internal adoption_ , consider the [pendulum of thought][3] swung by the committed few.
+
+
+
+#### **Adopting—Capacity**
+
+ * _Sustainability:_ Leverage people who are more routine and legacy-oriented to help stabilize and embed your new initiatives.
+ * Allows your innovators and co-creators to move into the next phase of development and begin solving problems while other team members can perform follow-through efforts.
+
+
+
+#### **Adopting—Information**
+
+ * Be open and transparent with your external communication.
+ * Lead the way in _what_ you do and _how_ you do it to create a tidal wave of change.
+ * Remember that mass adoption has a tipping point of 10%.
+
+
+
+[**Download a one-page guide to this model on GitHub.**][6]
+---
+
+### Four steps to simplify change
+
+You now understand what change is and how you are processing it. You've seen how you and your organization can reframe various interactions with it. Now, let's examine the four steps to simplify how you interact with and implement change as an individual, team leader, or organizational executive.
+
+#### **1\. Understand change**
+
+Change is receiving and processing new information and determining how to respond and participate with it (think personal or organizational operating system). Change is a _reciprocal_ action between yourself and incoming new information (think system interface). Change is an evolutionary process that happens in layers and stages in a continuous cycle (think data processing, bug fixes, and program iterations).
+
+#### **2\. Know your people**
+
+Change is personal and responses vary by context. People's responses to change are not indicators of the speed of adoption. Knowing how your people and your teams interact with change allows you to balance and optimize your efforts to solving problems, building solutions and sustaining implementations. Are they change makers, fast followers, innovators, stabilizers? When you know how you, _or others_ , process change, you can leverage your risk mitigators to sweep for potential pitfalls; and, your routine minded folks to be responsible for implementation follow through.
+
+Only a small set of members in your organization will be truly comfortable with adopting change. But that committed and confident minority can spread the fire of change and help you grow some innovative ideas within your organization.
+
+#### **3\. Know your capacity**
+
+Your capacity to implement widespread change will depend on your culture, your processes, and decision-making models. Get familiar with your operational capacity and guardrails (process and policy).
+
+#### **4\. Prepare for Interaction**
+
+Each interaction uses your people, capacity (operational), and information flow. Working with the stages of change is not always a linear process and may overlap at certain points along the way. Understand that [_people_ feed all engagement, navigation, and adoption actions][7].
+
+Humans are built for adaptation to our environments. Yes, any kind of change can be scary at first. But it need not involve some major new implementation with a large, looming deadline that throws you off. Knowing that you can take a simplified approach to change, hopefully, you're able to engage new information with ease. Using this approach over time—and integrating it as habit—allows for both the _I_ and the _We_ to experience continuous cycles of change without the tensions of old.
+
+_Want to learn more about simplifying change?[View additional resources on GitHub][8]._
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/open-organization/19/4/simplifying-change
+
+作者:[Jen Kelchner][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jenkelchner
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/GOV_2dot0.png?itok=bKJ41T85
+[2]: http://www.simplifyinginterfaces.com/2008/08/01/95-percent-of-brain-activity-is-beyond-our-conscious-awareness/
+[3]: http://www.leeds.ac.uk/news/article/397/sheep_in_human_clothing__scientists_reveal_our_flock_mentality
+[4]: https://news.rpi.edu/luwakkey/2902
+[5]: https://opensource.com/open-organization/18/7/transformation-beyond-digital-2
+[6]: https://github.com/jenkelchner/simplifying-change/blob/master/Visual_%20Simplifying%20Change%20(1).pdf
+[7]: https://opensource.com/open-organization/17/7/digital-transformation-people-1
+[8]: https://github.com/jenkelchner/simplifying-change
diff --git a/sources/tech/20190422 9 ways to save the planet.md b/sources/tech/20190422 9 ways to save the planet.md
new file mode 100644
index 0000000000..d3301006cc
--- /dev/null
+++ b/sources/tech/20190422 9 ways to save the planet.md
@@ -0,0 +1,96 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (9 ways to save the planet)
+[#]: via: (https://opensource.com/article/19/4/save-planet)
+[#]: author: (Jen Wike Huger https://opensource.com/users/jen-wike/users/alanfdoss/users/jmpearce)
+
+9 ways to save the planet
+======
+These ideas have an open source twist.
+![][1]
+
+What can be done to help save the planet? The question can seem depressing at a time when it feels like an individual's contribution isn't enough. But, who are we Earth dwellers if not for a collection of individuals? So, I asked our writer community to share ways that open source software or hardware can be used to make a difference. Here's what I heard back.
+
+### 9 ways to save the planet with an open source twist
+
+**1.** **Disable the blinking cursor in your terminal.**
+
+It might sound silly, but the trivial, blinking cursor can cause up to [2 watts per hour of extra power consumption][2]. To disable it, go to Terminal Settings: Edit > Preferences > Cursor > Cursor blinking > Disabled.
+
+_Recommended by Mars Toktonaliev_
+
+**2\. Reduce your consumption of animal products and processed foods.**
+
+One way to do this is to add these open source apps to your phone: Daily Dozen, OpenFoodFacts, OpenVegeMap, and Food Restrictions. These apps will help you eat a healthy, plant-based diet, find vegan- and vegetarian-friendly restaurants, and communicate your dietary needs to others, even if they do not speak the same language. To learn more about these apps read [_4 open source apps to support eating a plant-based diet_][3].
+
+_Recommendation by Joshua Allen Holm_
+
+**3\. Recycle old computers.**
+
+How? With Linux, of course. Pay it forward by giving creating a new computer for someone who can't one and keep a computer out of the landfill. Here's how we do it at [The Asian Penguins][4].
+
+_Recommendation by Stu Keroff_
+
+**4\. Turn off devices when you're not using them.**
+
+Use "smart power strips" that have a "master" outlet and several "controlled" outlets. Plug your PC into the master outlet, and when you turn on the computer, your monitor, printer, and anything else plugged into the controlled outlets turns on too. A simpler, low-tech solution is a power strip with a timer. That's what I use at home. You can use switches on the timer to set a handy schedule to turn the power on and off at specific times. Automatically turn off your network printer when no one is at home. Or for my six-year-old laptop, extend the life of the battery with a schedule to alternate when it's running from wall power (outlet is on) and when it's running from the battery (outlet is off).
+
+_Recommended by Jim Hall_
+
+**5\. Reduce the use of your HVAC system.**
+
+Sunlight shining through windows adds a lot of heat to your home during the summer. Use Home Assistant to [automatically adjust][5] window blinds and awnings [based on the time of day][6], or even based on the angle of the sun.
+
+_Recommended by Michael Hrivnak_
+
+**6\. Turn your thermostat off or to a lower setting while you're away.**
+
+If your home thermostat has an "Away" feature, activating it on your way out the door is easy to forget. With a touch of automation, any connected thermostat can begin automatically saving energy while you're not home. [Stataway][7] is one such project that uses your phone's GPS coordinates to determine when it should set your thermostat to "Home" or "Away".
+
+_Recommended by Michael Hrivnak_
+
+**7\. Save computing power for later.**
+
+I have an idea: Create a script that can read the power output from an alternative energy array (wind and solar) and begin turning on servers (taking them from a power-saving sleep mode to an active mode) in a computing cluster until the overload power is used (whatever excess is produced beyond what can be stored/buffered for later use). Then use the overload power during high-production times for compute-intensive projects like rendering. This process would be essentially free of cost because the power can't be buffered for other uses. I'm sure the monitoring, power management, and server array tools must exist to do this. Then, it's just an integration problem, making it all work together.
+
+_Recommended by Terry Hancock_
+
+**8\. Turn off exterior lights.**
+
+Light pollution affects more than 80% of the world's population, according to the [World Atlas of Artificial Night Sky Brightness][8], published (Creative Commons Attribution-NonCommercial 4.0) in 2016 in the open access journal _Science Advances_. Turning off exterior lights is a quick way to benefit wildlife, human health, our ability to enjoy the night sky, and of course energy consumption. Visit [darksky.org][9] for more ideas on how to reduce the impact of your exterior lighting.
+
+_Recommended by Michael Hrivnak_
+
+**9\. Reduce your CPU count.**
+
+For me, I remember I used to have a whole bunch of computers running in my basement as my IT playground/lab. I've become more conscious now of power consumption and so have really drastically reduced my CPU count. I like to take advantage of VMs, zones, containers... that type of technology a lot more these days. Also, I'm really glad that small form factor and SoC computers, such as the Raspberry Pi, exist because I can do a lot with one, such as run a DNS or Web server, without heating the room and running up my electricity bill.
+
+P.S. All of these computers are running Linux, FreeBSD, or Raspbian!
+
+_Recommended by Alan Formy-Duvall_
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/4/save-planet
+
+作者:[Jen Wike Huger ][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jen-wike/users/alanfdoss/users/jmpearce
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/pixelated-world.png?itok=fHjM6m53
+[2]: https://www.redhat.com/archives/fedora-devel-list/2009-January/msg02406.html
+[3]: https://opensource.com/article/19/4/apps-plant-based-diets
+[4]: https://opensource.com/article/19/2/asian-penguins-close-digital-divide
+[5]: https://www.home-assistant.io/docs/automation/trigger/#sun-trigger
+[6]: https://www.home-assistant.io/components/cover/
+[7]: https://github.com/mhrivnak/stataway
+[8]: http://advances.sciencemag.org/content/2/6/e1600377
+[9]: http://darksky.org/
diff --git a/sources/tech/20190422 Strawberry- A Fork of Clementine Music Player.md b/sources/tech/20190422 Strawberry- A Fork of Clementine Music Player.md
new file mode 100644
index 0000000000..66b0345586
--- /dev/null
+++ b/sources/tech/20190422 Strawberry- A Fork of Clementine Music Player.md
@@ -0,0 +1,132 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Strawberry: A Fork of Clementine Music Player)
+[#]: via: (https://itsfoss.com/strawberry-music-player/)
+[#]: author: (John Paul https://itsfoss.com/author/john/)
+
+Strawberry: A Fork of Clementine Music Player
+======
+
+In this age of streaming music and cloud services, there are still people who need an application to collect and play their music. If you are such a person, this article should interest you.
+
+We have earlier covered [Sayonara music player][1]. Today, we will be taking a look at the Strawberry Music Player.
+
+### Strawberry Music Player: A fork of Clementine
+
+The [Strawberry Music Player][2] is, quite simply, an application to manage and play your music.
+
+![Strawberry media library][3]
+
+Strawberry contains the following list of features:
+
+ * Play and organize music
+ * Supports WAV, FLAC, WavPack, DSF, DSDIFF, Ogg Vorbis, Speex, MPC, TrueAudio, AIFF, MP4, MP3, ASF and Monkey’s Audio Audio CD playback
+ * Native desktop notifications
+ * Support for playlists in multiple formats
+ * Advanced audio output and device configuration for bit-perfect playback on Linux
+ * Edit tags on music files
+ * Fetch tags from [MusicBrainz Picard][4]
+ * Album cover art from [Last.fm][5], MusicBrainz and Discogs
+ * Song lyrics from [AudD][6]
+ * Support for multiple backends
+ * Audio analyzer
+ * Audio equalizer
+ * Transfer music to iPod, iPhone, MTP or mass-storage USB player
+ * Streaming support for Tidal
+ * Scrobbler with support for Last.fm, Libre.fm and ListenBrainz
+
+
+
+If you take a look at the screenshots, they probably look familiar. That is because Strawberry is a fork of the [Clementine Music Player][7]. Clementine has not been updated since 2016, while the most recent version of Strawberry (0.5.3) was released early April 2019.
+
+Trivia
+
+You might think that Strawberry music player is named after the fruit. However, its [creator][8] claims that he has named the project after the band [Strawbs][9].
+
+### Installing Strawberry Music player
+
+Now let’s take a look at how you can install Strawberry on your system.
+
+#### Ubuntu
+
+The easiest way to install Strawberry on Ubuntu is to install the [official snap][10]. Just type:
+
+```
+sudo snap install strawberry
+```
+
+If you are not a fan of snaps, you can download a .deb file from Strawberry’s GitHub [release page][11]. You can [install the .deb file][12] by double-clicking it and opening it via the Software Center.
+
+Strawberry is not available in the main [Ubuntu repositories][13].
+
+#### Fedora
+
+Installing Strawberry on Fedora is much simpler. Strawberry is in the Fedora repos, so you just have to type `sudo dnf strawberry`. Strawberry is not available on Flatpak.
+
+#### Arch
+
+Just like Fedora, Strawberry is in the Arch repos. All you have to type is `sudo pacman -S strawberry`. The same is true for Manjaro.
+
+You can find a list of Linux distros that have Strawberry in their repos [here][14]. If you have openSUSE or Mageia, click [here][15]. You can also compile Strawberry from source.
+
+### Experience with Strawberry Music Player
+
+![Playing an audio book with Strawberry][16]
+
+I installed Strawberry on Fedora and Windows. I have used Clementine in the past, so I knew what to expect. I downloaded a number of audiobooks and several [Old Time Radio][17] [shows][18] as I don’t listen to a lot of music. Instead of using a dedicated [audiobook player like Cozy][19], I used Strawberry for listening to these radio shows.
+
+Once I told Strawberry where my files were located, it quickly imported them. I used [EasyTag][20] to fix some of the MP3 information on the old time radio shows. Strawberry has a tag editor, but EasyTag allows you to edit several folders very quickly. Strawberry undated the media library instantaneously.
+
+The big plus for me was performance. It loaded quickly and ran well. This might have something to do with the fact that it is not another Electron app. Strawberry is written in good-old-fashioned C++ and Qt 5. No need to load a whole web browser every time you want to play music, or in my case listen to audio dramas.
+
+I was not able to test the Tidal streaming feature because I don’t have an account. Also, I don’t sync music to my iPod.
+
+### Final Thoughts
+
+Strawberry is like a standard music player that makes managing and playing your audio library very easy.
+
+The features that I miss from Clementine include the option to access your media from cloud storage systems (like Box and Dropbox) and the ability to download podcasts. But then, I don’t store my media in the cloud and I mainly listen to podcasts on my iPod.
+
+I recommend giving Strawberry a try. You just might like it as much as I do.
+
+Have you ever used Strawberry? What is your favorite music player/manager? Please let us know in the comments below.
+
+If you found this article interesting, please take a minute to share it on social media, Hacker News or [Reddit][21].
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/strawberry-music-player/
+
+作者:[John Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/john/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/sayonara-music-player/
+[2]: https://strawbs.org/
+[3]: https://itsfoss.com/wp-content/uploads/2019/04/strawberry1-800x471.png
+[4]: https://itsfoss.com/musicbrainz-picard/
+[5]: https://www.last.fm/
+[6]: https://audd.io/
+[7]: https://www.clementine-player.org/
+[8]: https://github.com/jonaski
+[9]: https://en.wikipedia.org/wiki/Strawbs
+[10]: https://snapcraft.io/strawberry
+[11]: https://github.com/jonaski/strawberry/releases
+[12]: https://itsfoss.com/install-deb-files-ubuntu/
+[13]: https://itsfoss.com/ubuntu-repositories/
+[14]: https://repology.org/project/strawberry/versions
+[15]: https://download.opensuse.org/repositories/home:/jonaski:/audio/
+[16]: https://itsfoss.com/wp-content/uploads/2019/04/strawberry3-800x471.png
+[17]: https://en.wikipedia.org/wiki/Golden_Age_of_Radio
+[18]: https://zootradio.com/
+[19]: https://itsfoss.com/cozy-audiobook-player/
+[20]: https://wiki.gnome.org/Apps/EasyTAG
+[21]: http://reddit.com/r/linuxusersgroup
diff --git a/sources/tech/20190425 Debian has a New Project Leader.md b/sources/tech/20190425 Debian has a New Project Leader.md
new file mode 100644
index 0000000000..00f114b907
--- /dev/null
+++ b/sources/tech/20190425 Debian has a New Project Leader.md
@@ -0,0 +1,106 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Debian has a New Project Leader)
+[#]: via: (https://itsfoss.com/debian-project-leader-election/)
+[#]: author: (Shirish https://itsfoss.com/author/shirish/)
+
+Debian has a New Project Leader
+======
+
+Like each year, the Debian Secretary announced a call for nominations for the post of Debian Project Leader (commonly known as DPL) in early March. Soon 5 candidates shared their nomination. One of the DPL candidates backed out due to personal reasons and we had [four candidates][1] as can be seen in the Nomination section of the Vote page.
+
+### Sam Hartman, the new Debian Project Leader
+
+![][2]
+
+While I will not go much into details as Sam already outlined his position on his [platform][3], it is good to see that most Debian developers recognize that it’s no longer just the technical excellence which need to be looked at. I do hope he is able to create more teams which would leave some more time in DPL’s hands and less stress going forward.
+
+As he has shared, he would be looking into also helping the other DPL candidates, all of which presented initiatives to make Debian better.
+
+Apart from this, there had been some excellent suggestions, for example modernizing debian-installer, making lists.debian.org have a [Mailman 3][4] instance, modernizing Debian packaging and many more.
+
+While probably a year is too short a time for any of the deliverables that Debian people are thinking, some sort of push or start should enable Debian to reach greater heights than today.
+
+### A brief history of DPL elections
+
+In the beginning, Debian was similar to many distributions which have a [BDFL][5], although from the very start Debian had a sort of rolling leadership. While I wouldn’t go through the whole history, from October 1998 there was an idea [germinated][6] to have a Debian Constitution.
+
+After quite a bit of discussion between Debian users, contributors, developers etc. [Debian 1.0 Constitution][7] was released on December 2nd, 1998. One of the big changes was that it formalised the selection of Debian Project Leader via elections.
+
+From 1998 till 2019 13 Debian project leaders have been elected till date with Sam Hartman being the latest (2019).
+
+Before Sam, [Chris Lamb][8] was DPL in 2017 and again stood up for re-election in 2018. One of the biggest changes in Chris’s tenure was having more impetus to outreach than ever before. This made it possible to have many more mini-debconfs all around the world and thus increasing more number of Debian users and potential Debian Developers.
+
+[][9]
+
+Suggested read SemiCode OS: A Linux Distribution For Programmers And Web Developers
+
+### Duties and Responsibilities of the Debian Project Leader
+
+![][10]
+
+Debian Project Leader (DPL) is a non-monetary position which means that the DPL doesn’t get a salary or any monetary benefits in the traditional sense but it’s a prestigious position.
+
+Curious what what a DPL does? Here are some of the duties, responsibilities, prestige and perks associated with this position.
+
+#### Travelling
+
+As the DPL is the public face of the project, she/he is supposed to travel to many places in the world to share about Debian. While the travel may be a perk, it is and could be discounted by being not paid for the time spent articulating Debian’s position in various free software and other communities. Also travel, language, politics of free software are also some of the stress points that any DPL would have to go through.
+
+#### Communication
+
+A DPL is expected to have excellent verbal and non-verbal communication skills as she/he is the expected to share Debian’s vision of computing to technical and non-technical people. As she/he is also expected to weigh in many a sensitive matter, the Project Leader has to make choices about which communications should be made public and which should be private.
+
+#### Budgeting
+
+Quite a bit of the time the Debian Project Leader has to look into the finances along with the Secretary and take a call at various initiatives mooted by the larger community. The Project Leader has to ask and then make informed decisions on the same.
+
+#### Delegation
+
+One of the important tasks of the DPL is to delegate different tasks to suitable people. Some sensitive delegations include ftp-master, ftp-assistant, list-managers, debian-mirror, debian-infrastructure and so on.
+
+#### Influence
+
+Last but not the least, just like any other election, the people who contest for DPL have a platform where they share their ideas about where they would like to see the Debian project heading and how they would go about doing it.
+
+This is by no means an exhaustive list. I would suggest to read Lucas Nussbaum’s [mail][11] in which he outlines some more responsibilities as a Debian Project Leader.
+
+[][12]
+
+Suggested read Lightweight Linux Distribution Bodhi Linux 5.0 Released
+
+**In the end…**
+
+I wish Sam Hartman all the luck. I look forward to see how Debian grows under his leadership.
+
+I also hope that you learned a few non-technical thing around Debian. If you are an [ardent Debian user][13], stuff like this make you feel more involved with Debian project. What do you say?
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/debian-project-leader-election/
+
+作者:[Shirish][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/shirish/
+[b]: https://github.com/lujun9972
+[1]: https://www.debian.org/vote/2019/vote_001
+[2]: https://itsfoss.com/wp-content/uploads/2019/04/Debian-Project-Leader-election-800x450.png
+[3]: https://www.debian.org/vote/2019/platforms/hartmans
+[4]: http://docs.mailman3.org/en/latest/
+[5]: https://en.wikipedia.org/wiki/Benevolent_dictator_for_life
+[6]: https://lists.debian.org/debian-devel/1998/09/msg00506.html
+[7]: https://www.debian.org/devel/constitution.1.0
+[8]: https://www.debian.org/vote/2017/platforms/lamby
+[9]: https://itsfoss.com/semicode-os-linux/
+[10]: https://itsfoss.com/wp-content/uploads/2019/04/leadership-800x450.jpg
+[11]: https://lists.debian.org/debian-vote/2019/03/msg00023.html
+[12]: https://itsfoss.com/bodhi-linux-5/
+[13]: https://itsfoss.com/reasons-why-i-love-debian/
diff --git a/sources/tech/20190426 NomadBSD, a BSD for the Road.md b/sources/tech/20190426 NomadBSD, a BSD for the Road.md
new file mode 100644
index 0000000000..d31f9b4a90
--- /dev/null
+++ b/sources/tech/20190426 NomadBSD, a BSD for the Road.md
@@ -0,0 +1,125 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (NomadBSD, a BSD for the Road)
+[#]: via: (https://itsfoss.com/nomadbsd/)
+[#]: author: (John Paul https://itsfoss.com/author/john/)
+
+NomadBSD, a BSD for the Road
+======
+
+As regular It’s FOSS readers should know, I like diving into the world of BSDs. Recently, I came across an interesting BSD that is designed to live on a thumb drive. Let’s take a look at NomadBSD.
+
+### What is NomadBSD?
+
+![Nomadbsd Desktop][1]
+
+[NomadBSD][2] is different than most available BSDs. NomadBSD is a live system based on FreeBSD. It comes with automatic hardware detection and an initial config tool. NomadBSD is designed to “be used as a desktop system that works out of the box, but can also be used for data recovery, for educational purposes, or to test FreeBSD’s hardware compatibility.”
+
+This German BSD comes with an [OpenBox][3]-based desktop with the Plank application dock. NomadBSD makes use of the [DSB project][4]. DSB stands for “Desktop Suite (for) (Free)BSD” and consists of a collection of programs designed to create a simple and working environment without needing a ton of dependencies to use one tool. DSB is created by [Marcel Kaiser][5] one of the lead devs of NomadBSD.
+
+Just like the original BSD projects, you can contact the NomadBSD developers via a [mailing list][6].
+
+[][7]
+
+Suggested read Enjoy Netflix? You Should Thank FreeBSD
+
+#### Included Applications
+
+NomadBSD comes with the following software installed:
+
+ * Thunar file manager
+ * Asunder CD ripper
+ * Bash 5.0
+ * Filezilla FTP client
+ * Firefox web browser
+ * Fish Command line
+ * Gimp
+ * Qpdfview
+ * Git
+
+
+ * Hexchat IRC client
+ * Leafpad text editor
+ * Midnight Commander file manager
+ * PaleMoon web browser
+ * PCManFM file manager
+ * Pidgin messaging client
+ * Transmission BitTorrent client
+
+
+ * Redshift
+ * Sakura terminal emulator
+ * Slim login manager
+ * Thunderbird email client
+ * VLC media player
+ * Plank application dock
+ * Z Shell
+
+
+
+You can see a complete of the pre-installed applications in the [MANIFEST file][8].
+
+![Nomadbsd Openbox Menu][9]
+
+#### Version 1.2 Released
+
+NomadBSD recently released version 1.2 on April 21, 2019. This means that NomadBSD is now based on FreeBSD 12.0-p3. TRIM is now enabled by default. One of the biggest changes is that the initial command-line setup was replaced with a Qt graphical interface. They also added a Qt5 tool to install NomadBSD to your hard drive. A number of fixes were included to improve graphics support. They also added support for creating 32-bit images.
+
+[][10]
+
+Suggested read 6 Reasons Why Linux Users Switch to BSD
+
+### Installing NomadBSD
+
+Since NomadBSD is designed to be a live system, we will need to add the BSD to a USB drive. First, you will need to [download it][11]. There are several options to choose from: 64-bit, 32-bit, or 64-bit Mac.
+
+You will be a USB drive that has at least 4GB. The system that you are installing to should have a 1.2 GHz processor and 1GB of RAM to run NomadBSD comfortably. Both BIOS and UEFI are supported.
+
+All of the images available for download are compressed as a `.lzma` file. So, once you have downloaded the file, you will need to extract the `.img` file. On Linux, you can use either of these commands: `lzma -d nomadbsd-x.y.z.img.lzma` or `xzcat nomadbsd-x.y.z.img.lzma`. (Be sure to replace x.y.z with the correct file name you just downloaded.)
+
+Before we proceed, we need to find out the id of your USB drive. (Hopefully, you have inserted it by now.) I use the `lsblk` command to find my USB drive, which in my case is `sdb`. To write the image file, use this command `sudo dd if=nomadbsd-x.y.z.img of=/dev/sdb bs=1M conv=sync`. (Again, don’t forget to correct the file name.) If you are uncomfortable using `dd`, you can use [Etcher][12]. If you have Windows, you will need to use [7-zip][13] to extract the image file and Etcher or [Rufus][14] to write the image to the USB drive.
+
+When you boot from the USB drive, you will encounter a simple config tool. Once you answer the required questions, you will be greeted with a simple Openbox desktop.
+
+### Thoughts on NomadBSD
+
+I first discovered NomadBSD back in January when they released 1.2-RC1. At the time, I had been unable to install [Project Trident][15] on my laptop and was very frustrated with BSDs. I downloaded NomadBSD and tried it out. I initially ran into issues reaching the desktop, but RC2 fixed that issue. However, I was unable to get on the internet, even though I had an Ethernet cable plugged in. Luckily, I found the wifi manager in the menu and was able to connect to my wifi.
+
+Overall, my experience with NomadBSD was pleasant. Once I figured out a few things, I was good to go. I hope that NomadBSD is the first of a new generation of BSDs that focus on mobility and ease of use. BSD has conquered the server world, it’s about time they figured out how to be more user-friendly.
+
+Have you ever used NomadBSD? What is your BSD? Please let us know in the comments below.
+
+If you found this article interesting, please take a minute to share it on social media, Hacker News or [Reddit][16].
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/nomadbsd/
+
+作者:[John Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/john/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/wp-content/uploads/2019/04/NomadBSD-desktop-800x500.jpg
+[2]: http://nomadbsd.org/
+[3]: http://openbox.org/wiki/Main_Page
+[4]: https://freeshell.de/%7Emk/projects/dsb.html
+[5]: https://github.com/mrclksr
+[6]: http://nomadbsd.org/contact.html
+[7]: https://itsfoss.com/netflix-freebsd-cdn/
+[8]: http://nomadbsd.org/download/nomadbsd-1.2.manifest
+[9]: https://itsfoss.com/wp-content/uploads/2019/04/NomadBSD-Openbox-menu-800x500.jpg
+[10]: https://itsfoss.com/why-use-bsd/
+[11]: http://nomadbsd.org/download.html
+[12]: https://www.balena.io/etcher/
+[13]: https://www.7-zip.org/
+[14]: https://rufus.ie/
+[15]: https://itsfoss.com/project-trident-interview/
+[16]: http://reddit.com/r/linuxusersgroup
diff --git a/sources/tech/20190429 Awk utility in Fedora.md b/sources/tech/20190429 Awk utility in Fedora.md
new file mode 100644
index 0000000000..21e40641f7
--- /dev/null
+++ b/sources/tech/20190429 Awk utility in Fedora.md
@@ -0,0 +1,177 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Awk utility in Fedora)
+[#]: via: (https://fedoramagazine.org/awk-utility-in-fedora/)
+[#]: author: (Stephen Snow https://fedoramagazine.org/author/jakfrost/)
+
+Awk utility in Fedora
+======
+
+![][1]
+
+Fedora provides _awk_ as part of its default installation, including all its editions, including the immutable ones like Silverblue. But you may be asking, what is _awk_ and why would you need it?
+
+_Awk_ is a data driven programming language that acts when it matches a pattern. On Fedora, and most other distributions, GNU _awk_ or _gawk_ is used. Read on for more about this language and how to use it.
+
+### A brief history of awk
+
+_Awk_ began at Bell Labs in 1977. Its name is an acronym from the initials of the designers: Alfred V. Aho, Peter J. Weinberger, and Brian W. Kernighan.
+
+> The specification for _awk_ in the POSIX Command Language and Utilities standard further clarified the language. Both the _gawk_ designers and the original _awk_ designers at Bell Laboratories provided feedback for the POSIX specification.
+>
+> From [The GNU Awk User’s Guide][2]
+
+For a more in-depth look at how _awk/gawk_ ended up being as powerful and useful as it is, follow the link above. Numerous individuals have contributed to the current state of _gawk_. Among those are:
+
+ * Arnold Robbins and David Trueman, the creators of _gawk_
+ * Michael Brennan, the creator of _mawk_ , which later was merged with _gawk_
+ * Jurgen Kahrs, who added networking capabilities to _gawk_ in 1997
+ * John Hague, who rewrote the _gawk_ internals and added an _awk_ -level debugger in 2011
+
+
+
+### Using awk
+
+The following sections show various ways of using _awk_ in Fedora.
+
+#### At the command line
+
+The simples way to invoke _awk_ is at the command line. You can search a text file for a particular pattern, and if found, print out the line(s) of the file that match the pattern anywhere. As an example, use _cat_ to take a look at the command history file in your home director:
+
+```
+$ cat ~/.bash_history
+```
+
+There are probably many lines scrolling by right now.
+
+_Awk_ helps with this type of file quite easily. Instead of printing the entire file out to the terminal like _cat_ , you can use _awk_ to find something of specific interest. For this example, type the following at the command line if you’re running a standard Fedora edition:
+
+```
+$ awk '/dnf/' ~/.bash_history
+```
+
+If you’re running Silverblue, try this instead:
+
+```
+$ awk '/rpm-ostree/' ~/.bash_history
+```
+
+In both cases, more data likely appears than what you really want. That’s no problem for _awk_ since it can accept regular expressions. Using the previous example, you can change the pattern to more closely match search requirements of wanting to know about installs only. Try changing the search pattern to one of these:
+
+```
+$ awk '/rpm-ostree install/' ~/.bash_history
+$ awk '/dnf install/' ~/.bash_history
+```
+
+All the entries of your bash command line history appear that have the pattern specified at any position along the line. Awk works on one line of a data file at a time. It matches pattern, then performs an action, then moves to next line until the end of file (EOF) is reached.
+
+#### From an _awk_ program
+
+Using awk at the command line as above is not much different than piping output to _grep_ , like this:
+
+```
+$ cat .bash_history | grep 'dnf install'
+```
+
+The end result of printing to standard output ( _stdout_ ) is the same with both methods.
+
+Awk is a programming language, and the command _awk_ is an interpreter of that language. The real power and flexibility of _awk_ is you can make programs with it, and combine them with shell scripts to create even more powerful programs. For more feature rich development with _awk_ , you can also incorporate C or C++ code using [Dynamic-Extensions][3].
+
+Next, to show the power of _awk_ , let’s make a couple of program files to print the header and draw five numbers for the first row of a bingo card. To do this we’ll create two awk program files.
+
+The first file prints out the header of the bingo card. For this example it is called _bingo-title.awk_. Use your favorite editor to save this text as that file name:
+```
+
+```
+
+BEGIN {
+print "B\tI\tN\tG\tO"
+}
+```
+
+```
+
+Now the title program is ready. You could try it out with this command:
+
+```
+$ awk -f bingo-title.awk
+```
+
+The program prints the word BINGO, with a tab space ( _\t_ ) between the characters. For the number selection, let’s use one of awk’s builtin numeric functions called _rand()_ and use two of the control statements, _for_ and _switch._ (Except the editor changed my program, so no switch statement used this time).
+
+The title of the second awk program is _bingo-num.awk_. Enter the following into your favorite editor and save with that file name:
+```
+
+```
+
+@include "bingo-title.awk"
+BEGIN {
+for (i = 1; i < = 5; i++) {
+b = int(rand() * 15) + (15*(i-1))
+printf "%s\t", b
+}
+print
+}
+```
+
+```
+
+The _@include_ statement in the file tells the interpreter to process the included file first. In this case the interpreter processs the _bingo-title.awk_ file so the title prints out first.
+
+#### Running the test program
+
+Now enter the command to pick a row of bingo numbers:
+
+```
+$ awk -f bingo-num.awk
+```
+
+Output appears similar to the following. Note that the _rand()_ function in _awk_ is not ideal for truly random numbers. It’s used here only as for example purposes.
+```
+
+```
+
+$ awk -f bingo-num.awk
+B I N G O
+13 23 34 53 71
+```
+
+```
+
+In the example, we created two programs with only beginning sections that used actions to manipulate data generated from within the awk program. In order to satisfy the rules of Bingo, more work is needed to achieve the desirable results. The reader is encouraged to fix the programs so they can reliably pick bingo numbers, maybe look at the awk function _srand()_ for answers on how that could be done.
+
+### Final examples
+
+_Awk_ can be useful even for mundane daily search tasks that you encounter, like listing all _flatpak’s_ on the _Flathub_ repository from _org.gnome_ (providing you have the Flathub repository setup). The command to do that would be:
+
+```
+$ flatpak remote-ls flathub --system | awk /org.gnome/
+```
+
+A listing appears that shows all output from _remote-ls_ that matches the _org.gnome_ pattern. To see flatpaks already installed from org.gnome, enter this command:
+
+```
+$ flatpak list --system | awk /org.gnome/
+```
+
+Awk is a powerful and flexible programming language that fills a niche with text file manipulation exceedingly well.
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/awk-utility-in-fedora/
+
+作者:[Stephen Snow][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/jakfrost/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/04/awk-816x345.jpg
+[2]: https://www.gnu.org/software/gawk/manual/gawk.html#Foreword3
+[3]: https://www.gnu.org/software/gawk/manual/gawk.html#Dynamic-Extensions
diff --git a/sources/tech/20190429 How To Turn On And Shutdown The Raspberry Pi -Absolute Beginner Tip.md b/sources/tech/20190429 How To Turn On And Shutdown The Raspberry Pi -Absolute Beginner Tip.md
new file mode 100644
index 0000000000..ce667a1dff
--- /dev/null
+++ b/sources/tech/20190429 How To Turn On And Shutdown The Raspberry Pi -Absolute Beginner Tip.md
@@ -0,0 +1,111 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (How To Turn On And Shutdown The Raspberry Pi [Absolute Beginner Tip])
+[#]: via: (https://itsfoss.com/turn-on-raspberry-pi/)
+[#]: author: (Chinmay https://itsfoss.com/author/chinmay/)
+
+How To Turn On And Shutdown The Raspberry Pi [Absolute Beginner Tip]
+======
+
+_**Brief: This quick tip teaches you how to turn on Raspberry Pi and how to shut it down properly afterwards.**_
+
+The [Raspberry Pi][1] is one of the [most popular SBC (Single-Board-Computer)][2]. If you are interested in this topic, I believe that you’ve finally got a Pi device. I also advise to get all the [additional Raspberry Pi accessories][3] to get started with your device.
+
+You’re ready to turn it on and start to tinker around with it. It has it’s own similarities and differences compared to traditional computers like desktops and laptops.
+
+Today, let’s go ahead and learn how to turn on and shutdown a Raspberry Pi as it doesn’t really feature a ‘power button’ of sorts.
+
+For this article I’m using a Raspberry Pi 3B+, but it’s the same for all the Raspberry Pi variants.
+
+Bestseller No. 1
+
+[][4]
+
+[CanaKit Raspberry Pi 3 B+ (B Plus) Starter Kit (32 GB EVO+ Edition, Premium Black Case)][4]
+
+CanaKit - Personal Computers
+
+$79.99 [][5]
+
+Bestseller No. 2
+
+[][6]
+
+[CanaKit Raspberry Pi 3 B+ (B Plus) with Premium Clear Case and 2.5A Power Supply][6]
+
+CanaKit - Personal Computers
+
+$54.99 [][5]
+
+### Turn on Raspberry Pi
+
+![Micro USB port for Power][7]
+
+The micro USB port powers the Raspberry Pi, the way you turn it on is by plugging in the power cable into the micro USB port. But, before you do that you should make sure that you have done the following things.
+
+ * Preparing the micro SD card with Raspbian according to the official [guide][8] and inserting into the micro SD card slot.
+ * Plugging in the HDMI cable, USB keyboard and a Mouse.
+ * Plugging in the Ethernet Cable(Optional).
+
+
+
+Once you have done the above, plug in the power cable. This turns on the Raspberry Pi and the display will light up and load the Operating System.
+
+Bestseller No. 1
+
+[][4]
+
+[CanaKit Raspberry Pi 3 B+ (B Plus) Starter Kit (32 GB EVO+ Edition, Premium Black Case)][4]
+
+CanaKit - Personal Computers
+
+$79.99 [][5]
+
+### Shutting Down the Pi
+
+Shutting down the Pi is pretty straight forward, click the menu button and choose shutdown.
+
+![Turn off Raspberry Pi graphically][9]
+
+Alternatively, you can use the [shutdown command][10] in the terminal:
+
+```
+sudo shutdown now
+```
+
+Once the shutdown process has started **wait** till it completely finishes and then you can cut the power to it. Once the Pi shuts down, there is no real way to turn the Pi back on without turning off and turning on the power. You could the GPIO’s to turn on the Pi from the shutdown state but it’ll require additional modding.
+
+[][2]
+
+Suggested read 12 Single Board Computers: Alternative to Raspberry Pi
+
+_Note: Micro USB ports tend to be fragile, hence turn-off/on the power at source instead of frequently unplugging and plugging into the micro USB port._
+
+Well, that’s about all you should know about turning on and shutting down the Pi, what do you plan to use it for? Let me know in the comments.
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/turn-on-raspberry-pi/
+
+作者:[Chinmay][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/chinmay/
+[b]: https://github.com/lujun9972
+[1]: https://www.raspberrypi.org/
+[2]: https://itsfoss.com/raspberry-pi-alternatives/
+[3]: https://itsfoss.com/things-you-need-to-get-your-raspberry-pi-working/
+[4]: https://www.amazon.com/CanaKit-Raspberry-Starter-Premium-Black/dp/B07BCC8PK7?SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07BCC8PK7&keywords=raspberry%20pi%20kit (CanaKit Raspberry Pi 3 B+ (B Plus) Starter Kit (32 GB EVO+ Edition, Premium Black Case))
+[5]: https://www.amazon.com/gp/prime/?tag=chmod7mediate-20 (Amazon Prime)
+[6]: https://www.amazon.com/CanaKit-Raspberry-Premium-Clear-Supply/dp/B07BC7BMHY?SubscriptionId=AKIAJ3N3QBK3ZHDGU54Q&tag=chmod7mediate-20&linkCode=xm2&camp=2025&creative=165953&creativeASIN=B07BC7BMHY&keywords=raspberry%20pi%20kit (CanaKit Raspberry Pi 3 B+ (B Plus) with Premium Clear Case and 2.5A Power Supply)
+[7]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/raspberry-pi-3-microusb.png?fit=800%2C532&ssl=1
+[8]: https://www.raspberrypi.org/documentation/installation/installing-images/README.md
+[9]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/Raspbian-ui-menu.jpg?fit=800%2C492&ssl=1
+[10]: https://linuxhandbook.com/linux-shutdown-command/
diff --git a/sources/tech/20190501 Looking into Linux modules.md b/sources/tech/20190501 Looking into Linux modules.md
new file mode 100644
index 0000000000..b49618fc2b
--- /dev/null
+++ b/sources/tech/20190501 Looking into Linux modules.md
@@ -0,0 +1,219 @@
+[#]: collector: (lujun9972)
+[#]: translator: (LazyWolfLin)
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Looking into Linux modules)
+[#]: via: (https://www.networkworld.com/article/3391362/looking-into-linux-modules.html#tk.rss_all)
+[#]: author: (Sandra Henry-Stocker https://www.networkworld.com/author/Sandra-Henry_Stocker/)
+
+Looking into Linux modules
+======
+The lsmod command can tell you which kernel modules are currently loaded on your system, along with some interesting details about their use.
+![Rob Oo \(CC BY 2.0\)][1]
+
+### What are Linux modules?
+
+Kernel modules are chunks of code that are loaded and unloaded into the kernel as needed, thus extending the functionality of the kernel without requiring a reboot. In fact, unless users inquire about modules using commands like **lsmod** , they won't likely know that anything has changed.
+
+One important thing to understand is that there are _lots_ of modules that will be in use on your Linux system at all times and that a lot of details are available if you're tempted to dive into the details.
+
+One of the prime ways that lsmod is used is to examine modules when a system isn't working properly. However, most of the time, modules load as needed and users don't need to be aware of how they are working.
+
+**[ Also see:[Must-know Linux Commands][2] ]**
+
+### Listing modules
+
+The easiest way to list modules is with the **lsmod** command. While this command provides a lot of detail, this is the most user-friendly output.
+
+```
+$ lsmod
+Module Size Used by
+snd_hda_codec_realtek 114688 1
+snd_hda_codec_generic 77824 1 snd_hda_codec_realtek
+ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek
+snd_hda_codec_hdmi 53248 1
+snd_hda_intel 40960 2
+snd_hda_codec 131072 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel
+ ,snd_hda_codec_realtek
+snd_hda_core 86016 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel
+ ,snd_hda_codec,snd_hda_codec_realtek
+snd_hwdep 20480 1 snd_hda_codec
+snd_pcm 102400 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda
+ _core
+snd_seq_midi 20480 0
+snd_seq_midi_event 16384 1 snd_seq_midi
+dcdbas 20480 0
+snd_rawmidi 36864 1 snd_seq_midi
+snd_seq 69632 2 snd_seq_midi,snd_seq_midi_event
+coretemp 20480 0
+snd_seq_device 16384 3 snd_seq,snd_seq_midi,snd_rawmidi
+snd_timer 36864 2 snd_seq,snd_pcm
+kvm_intel 241664 0
+kvm 626688 1 kvm_intel
+radeon 1454080 10
+irqbypass 16384 1 kvm
+joydev 24576 0
+input_leds 16384 0
+ttm 102400 1 radeon
+drm_kms_helper 180224 1 radeon
+drm 475136 13 drm_kms_helper,radeon,ttm
+snd 81920 15 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda
+ _codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd
+ _hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
+i2c_algo_bit 16384 1 radeon
+fb_sys_fops 16384 1 drm_kms_helper
+syscopyarea 16384 1 drm_kms_helper
+serio_raw 20480 0
+sysfillrect 16384 1 drm_kms_helper
+sysimgblt 16384 1 drm_kms_helper
+soundcore 16384 1 snd
+mac_hid 16384 0
+sch_fq_codel 20480 2
+parport_pc 40960 0
+ppdev 24576 0
+lp 20480 0
+parport 53248 3 parport_pc,lp,ppdev
+ip_tables 28672 0
+x_tables 40960 1 ip_tables
+autofs4 45056 2
+raid10 57344 0
+raid456 155648 0
+async_raid6_recov 24576 1 raid456
+async_memcpy 20480 2 raid456,async_raid6_recov
+async_pq 24576 2 raid456,async_raid6_recov
+async_xor 20480 3 async_pq,raid456,async_raid6_recov
+async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_re
+ cov
+xor 24576 1 async_xor
+raid6_pq 114688 3 async_pq,raid456,async_raid6_recov
+libcrc32c 16384 1 raid456
+raid1 45056 0
+raid0 24576 0
+multipath 20480 0
+linear 20480 0
+hid_generic 16384 0
+psmouse 151552 0
+i2c_i801 32768 0
+pata_acpi 16384 0
+lpc_ich 24576 0
+usbhid 53248 0
+hid 126976 2 usbhid,hid_generic
+e1000e 245760 0
+floppy 81920 0
+```
+
+In the output above:
+
+ * "Module" shows the name of each module
+ * "Size" shows the module size (not how much memory it is using)
+ * "Used by" shows each module's usage count and the referring modules
+
+
+
+Clearly, that's a _lot_ of modules. The number of modules loaded will depend on your system and distribution and what's running. We can count them like this:
+
+```
+$ lsmod | wc -l
+67
+```
+
+To see the number of modules available on the system (not just running), try this command:
+
+```
+$ modprobe -c | wc -l
+41272
+```
+
+### Other commands for examining modules
+
+Linux provides several commands for listing, loading and unloading, examining, and checking the status of modules.
+
+ * depmod -- generates modules.dep and map files
+ * insmod -- a simple program to insert a module into the Linux Kernel
+ * lsmod -- show the status of modules in the Linux Kernel
+ * modinfo -- show information about a Linux Kernel module
+ * modprobe -- add and remove modules from the Linux Kernel
+ * rmmod -- a simple program to remove a module from the Linux Kernel
+
+
+
+### Listing modules that are built in
+
+As mentioned above, the **lsmod** command is the most convenient command for listing modules. There are, however, other ways to examine them. The modules.builtin file lists all modules that are built into the kernel and is used by modprobe when trying to load one of these modules. Note that **$(uname -r)** in the commands below provides the name of the kernel release.
+
+```
+$ more /lib/modules/$(uname -r)/modules.builtin | head -10
+kernel/arch/x86/crypto/crc32c-intel.ko
+kernel/arch/x86/events/intel/intel-uncore.ko
+kernel/arch/x86/platform/intel/iosf_mbi.ko
+kernel/mm/zpool.ko
+kernel/mm/zbud.ko
+kernel/mm/zsmalloc.ko
+kernel/fs/binfmt_script.ko
+kernel/fs/mbcache.ko
+kernel/fs/configfs/configfs.ko
+kernel/fs/crypto/fscrypto.ko
+```
+
+You can get some additional detail on a module by using the **modinfo** command, though nothing that qualifies as an easy explanation of what service the module provides. The omitted details from the output below include a lengthy signature.
+
+```
+$ modinfo floppy | head -16
+filename: /lib/modules/5.0.0-13-generic/kernel/drivers/block/floppy.ko
+alias: block-major-2-*
+license: GPL
+author: Alain L. Knaff
+srcversion: EBEAA26742DF61790588FD9
+alias: acpi*:PNP0700:*
+alias: pnp:dPNP0700*
+depends:
+retpoline: Y
+intree: Y
+name: floppy
+vermagic: 5.0.0-13-generic SMP mod_unload
+sig_id: PKCS#7
+signer:
+sig_key:
+sig_hashalgo: md4
+```
+
+You can load or unload a module using the **modprobe** command. Using a command like the one below, you can locate the kernel object associated with a particular module:
+
+```
+$ find /lib/modules/$(uname -r) -name floppy*
+/lib/modules/5.0.0-13-generic/kernel/drivers/block/floppy.ko
+```
+
+If you needed to load the module, you could use a command like this one:
+
+```
+$ sudo modprobe floppy
+```
+
+### Wrap-up
+
+Clearly the loading and unloading of modules is a big deal. It makes Linux systems considerably more flexible and efficient than if they ran with a one-size-fits-all kernel. It also means you can make significant changes — including adding hardware — without rebooting.
+
+**[ Two-Minute Linux Tips:[Learn how to master a host of Linux commands in these 2-minute video tutorials][3] ]**
+
+Join the Network World communities on [Facebook][4] and [LinkedIn][5] to comment on topics that are top of mind.
+
+--------------------------------------------------------------------------------
+
+via: https://www.networkworld.com/article/3391362/looking-into-linux-modules.html#tk.rss_all
+
+作者:[Sandra Henry-Stocker][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.networkworld.com/author/Sandra-Henry_Stocker/
+[b]: https://github.com/lujun9972
+[1]: https://images.idgesg.net/images/article/2019/04/modules-100794941-large.jpg
+[2]: https://www.networkworld.com/article/3391029/must-know-linux-commands.html
+[3]: https://www.youtube.com/playlist?list=PL7D2RMSmRO9J8OTpjFECi8DJiTQdd4hua
+[4]: https://www.facebook.com/NetworkWorld/
+[5]: https://www.linkedin.com/company/network-world
diff --git a/sources/tech/20190501 Monitor and Manage Docker Containers with Portainer.io (GUI tool) - Part-1.md b/sources/tech/20190501 Monitor and Manage Docker Containers with Portainer.io (GUI tool) - Part-1.md
new file mode 100644
index 0000000000..27bf04eb05
--- /dev/null
+++ b/sources/tech/20190501 Monitor and Manage Docker Containers with Portainer.io (GUI tool) - Part-1.md
@@ -0,0 +1,247 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Monitor and Manage Docker Containers with Portainer.io (GUI tool) – Part-1)
+[#]: via: (https://www.linuxtechi.com/monitor-manage-docker-containers-portainer-part1/)
+[#]: author: (Shashidhar Soppin https://www.linuxtechi.com/author/shashidhar/)
+
+Monitor and Manage Docker Containers with Portainer.io (GUI tool) – Part-1
+======
+
+As **Docker** usage and adoption is growing faster and faster, monitoring **Docker container** images is becoming more challenging. As multiple Docker container images are getting created day-by-day, monitoring them is very important. There are already some in built tools and technologies, but configuring them is little complex. As micro-services based architecture is becoming the de-facto standard in coming days, learning such tool adds one more arsenal to your tool-set.
+
+Based on the above scenarios, there was in need of one light weight and robust tool requirement was growing. So Portainer.io addressed this. “ **Portainer.io** “,(Latest version is 1.20.2) the tool is very light weight(with 2-3 commands only one can configure it) and has become popular among Docker users.
+
+**This tool has advantages over other tools; some of these are as below** ,
+
+ * Light weight (requires only 2-3 commands to be required to run to install this tool) {Also installation image is only around 26-30MB of size)
+ * Robust and easy to use
+ * Can be used for Docker monitor and Build
+ * This tool provides us a detailed overview of your Docker environments
+ * This tool allows us to manage your containers, images, networks and volumes.
+ * Portainer is simple to deploy – this requires just one Docker command (can be run from anywhere.)
+ * Complete Docker-container environment can be monitored easily
+
+
+
+**Portainer is also equipped with** ,
+
+ * Community support
+ * Enterprise support
+ * Has professional services available(along with partner OEM services)
+
+
+
+**Functionality and features of Portainer tool are,**
+
+ 1. It comes-up with nice Dashboard, easy to use and monitor.
+ 2. Many in-built templates for ease of operation and creation
+ 3. Support of services (OEM, Enterprise level)
+ 4. Monitoring of Containers, Images, Networks, Volume and configuration at almost real-time.
+ 5. Also includes Docker-Swarm monitoring
+ 6. User management with many fancy capabilities
+
+
+
+**Read Also :[How to Install Docker CE on Ubuntu 16.04 / 18.04 LTS System][1]**
+
+### How to install and configure Portainer.io on Ubuntu Linux / RHEL / CentOS
+
+**Note:** This installation is done on Ubuntu 18.04 but the installation on RHEL & CentOS would be same. We are assuming Docker CE is already installed on your system.
+
+```
+root@linuxtechi:~$ lsb_release -a
+No LSB modules are available.
+Distributor ID: Ubuntu
+Description: Ubuntu 18.04 LTS
+Release: 18.04
+Codename: bionic
+root@linuxtechi:~$
+```
+
+Create the Volume for portainer
+
+```
+root@linuxtechi:~$ sudo docker volume create portainer_data
+portainer_data
+root@linuxtechi:~$
+```
+
+Launch and start Portainer Container using the beneath docker command,
+
+```
+root@linuxtechi:~$ sudo docker run -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer
+Unable to find image 'portainer/portainer:latest' locally
+latest: Pulling from portainer/portainer
+d1e017099d17: Pull complete
+0b1e707a06d2: Pull complete
+Digest: sha256:d6cc2c20c0af38d8d557ab994c419c799a10fe825e4aa57fea2e2e507a13747d
+Status: Downloaded newer image for portainer/portainer:latest
+35286de9f2e21d197309575bb52b5599fec24d4f373cc27210d98abc60244107
+root@linuxtechi:~$
+```
+
+Once the complete installation is done, use the ip of host or Docker using port 9000 of the Docker engine where portainer is running using your browser.
+
+**Note:** If OS firewall is enabled on your Docker host then make sure 9000 port is allowed else its GUI will not come up.
+
+In my case, IP address of my Docker Host / Engine is “192.168.1.16” so URL will be,
+
+
+
+[![Portainer-Login-User-Name-Password][2]][3]
+
+Please make sure that you enter 8-character passwords. Let the admin be the user as it is and then click “Create user”.
+
+Now the following screen appears, in this select “Local” rectangle box.
+
+[![Connect-Portainer-Local-Docker][4]][5]
+
+Click on “Connect”
+
+Nice GUI with admin as user home screen appears as below,
+
+[![Portainer-io-Docker-Monitor-Dashboard][6]][7]
+
+Now Portainer is ready to launch and manage your Docker containers and it can also be used for containers monitoring.
+
+### Bring-up container image on Portainer tool
+
+[![Portainer-Endpoints][8]][9]
+
+Now check the present status, there are two container images are already running, if you create one more that appears instantly.
+
+From your command line kick-start one or two containers as below,
+
+```
+root@linuxtechi:~$ sudo docker run --name test -it debian
+Unable to find image 'debian:latest' locally
+latest: Pulling from library/debian
+e79bb959ec00: Pull complete
+Digest: sha256:724b0fbbda7fda6372ffed586670573c59e07a48c86d606bab05db118abe0ef5
+Status: Downloaded newer image for debian:latest
+root@linuxtechi:/#
+```
+
+Now click Refresh button (Are you sure message appears, click “continue” on this) in Portainer GUI, you will now see 3 container images as highlighted below,
+
+[![Portainer-io-new-container-image][10]][11]
+
+Click on the “ **containers** ” (in which it is red circled above), next window appears with “ **Dashboard Endpoint summary** ”
+
+[![Portainer-io-Docker-Container-Dash][12]][13]
+
+In this page, click on “ **Containers** ” as highlighted in red color. Now you are ready to monitor your container image.
+
+### Simple Docker container image monitoring
+
+From the above step, it appears that a fancy and nice looking “Container List” page appears as below,
+
+[![Portainer-Container-List][14]][15]
+
+All the container images can be controlled from here (stop, start, etc)
+
+**1)** Now from this page, stop the earlier started {“test” container (this was the debian image that we started earlier)}
+
+To do this select the check box in front of this image and click stop button from above,
+
+[![Stop-Container-Portainer-io-dashboard][16]][17]
+
+From the command line option, you will see that this image has been stopped or exited now,
+
+```
+root@linuxtechi:~$ sudo docker container ls -a
+CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
+d45902e717c0 debian "bash" 21 minutes ago Exited (0) 49 seconds ago test
+08b96eddbae9 centos:7 "/bin/bash" About an hour ago Exited (137) 9 minutes ago mycontainer2
+35286de9f2e2 portainer/portainer "/portainer" 2 hours ago Up About an hour 0.0.0.0:9000->9000/tcp compassionate_benz
+root@linuxtechi:~$
+```
+
+**2)** Now start the stopped containers (test & mycontainer2) from Portainer GUI,
+
+Select the check box in front of stopped containers, and the click on Start
+
+[![Start-Containers-Portainer-GUI][18]][19]
+
+You will get a quick window saying, “ **Container successfully started** ” and with running state
+
+[![Conatiner-Started-successfully-Portainer-GUI][20]][21]
+
+### Various other options and features are explored as below step-by-step
+
+**1)** Click on “ **Images** ” which is highlighted, you will get the below window,
+
+[![Docker-Container-Images-Portainer-GUI][22]][23]
+
+This is the list of container images that are available but some may not running. These images can be imported, exported or uploaded to various locations, below screen shot shows the same,
+
+[![Upload-Docker-Container-Image-Portainer-GUI][24]][25]
+
+**2)** Click on “ **volumes”** which is highlighted, you will get the below window,
+
+[![Volume-list-Portainer-io-gui][26]][27]
+
+**3)** Volumes can be added easily with following option, click on add volume button, below window appears,
+
+Provide the name as “ **myvol** ” in the name box and click on “ **create the volume** ” button.
+
+[![Volume-Creation-Portainer-io-gui][28]][29]
+
+The newly created volume appears as below, (with unused state)
+
+[![Volume-unused-Portainer-io-gui][30]][31]
+
+#### Conclusion:
+
+As from the above installation steps, configuration and playing around with various options you can see how easy and fancy looking is Portainer.io tool is. This provides multiple features and options to explore on building, monitoring docker container. As explained this is very light weight tool, so doesn’t add any overload to host system. Next set-of options will be explored in part-2 of this series.
+
+Read Also: **[Monitor and Manage Docker Containers with Portainer.io (GUI tool) – Part-2][32]**
+
+--------------------------------------------------------------------------------
+
+via: https://www.linuxtechi.com/monitor-manage-docker-containers-portainer-part1/
+
+作者:[Shashidhar Soppin][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.linuxtechi.com/author/shashidhar/
+[b]: https://github.com/lujun9972
+[1]: https://www.linuxtechi.com/how-to-setup-docker-on-ubuntu-server-16-04/
+[2]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-Login-User-Name-Password-1024x681.jpg
+[3]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-Login-User-Name-Password.jpg
+[4]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Connect-Portainer-Local-Docker-1024x538.jpg
+[5]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Connect-Portainer-Local-Docker.jpg
+[6]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-io-Docker-Monitor-Dashboard-1024x544.jpg
+[7]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-io-Docker-Monitor-Dashboard.jpg
+[8]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-Endpoints-1024x252.jpg
+[9]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-Endpoints.jpg
+[10]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-io-new-container-image-1024x544.jpg
+[11]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-io-new-container-image.jpg
+[12]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-io-Docker-Container-Dash-1024x544.jpg
+[13]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-io-Docker-Container-Dash.jpg
+[14]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-Container-List-1024x538.jpg
+[15]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Portainer-Container-List.jpg
+[16]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Stop-Container-Portainer-io-dashboard-1024x447.jpg
+[17]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Stop-Container-Portainer-io-dashboard.jpg
+[18]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Start-Containers-Portainer-GUI-1024x449.jpg
+[19]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Start-Containers-Portainer-GUI.jpg
+[20]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Conatiner-Started-successfully-Portainer-GUI-1024x538.jpg
+[21]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Conatiner-Started-successfully-Portainer-GUI.jpg
+[22]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Docker-Container-Images-Portainer-GUI-1024x544.jpg
+[23]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Docker-Container-Images-Portainer-GUI.jpg
+[24]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Upload-Docker-Container-Image-Portainer-GUI-1024x544.jpg
+[25]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Upload-Docker-Container-Image-Portainer-GUI.jpg
+[26]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Volume-list-Portainer-io-gui-1024x544.jpg
+[27]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Volume-list-Portainer-io-gui.jpg
+[28]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Volume-Creation-Portainer-io-gui-1024x544.jpg
+[29]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Volume-Creation-Portainer-io-gui.jpg
+[30]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Volume-unused-Portainer-io-gui-1024x544.jpg
+[31]: https://www.linuxtechi.com/wp-content/uploads/2019/05/Volume-unused-Portainer-io-gui.jpg
+[32]: https://www.linuxtechi.com/monitor-manage-docker-containers-portainer-io-part-2/
diff --git a/sources/tech/20190502 Crowdsourcing license compliance with ClearlyDefined.md b/sources/tech/20190502 Crowdsourcing license compliance with ClearlyDefined.md
new file mode 100644
index 0000000000..fe36e37b9c
--- /dev/null
+++ b/sources/tech/20190502 Crowdsourcing license compliance with ClearlyDefined.md
@@ -0,0 +1,99 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Crowdsourcing license compliance with ClearlyDefined)
+[#]: via: (https://opensource.com/article/19/5/license-compliance-clearlydefined)
+[#]: author: (Jeff McAffer https://opensource.com/users/jeffmcaffer)
+
+Crowdsourcing license compliance with ClearlyDefined
+======
+Licensing is what holds open source together, and ClearlyDefined takes
+the mystery out of projects' licenses, copyright, and source location.
+![][1]
+
+Open source use continues to skyrocket, not just in use cases and scenarios but also in volume. It is trivial for a developer to depend on a 1,000 JavaScript packages from a single run of `npm install` or have thousands of packages in a [Docker][2] image. At the same time, there is increased interest in ensuring license compliance.
+
+Without the right license you may not be able to legally use a software component in the way you intend or may have obligations that run counter to your business model. For instance, a JavaScript package could be marked as [MIT license][3], which allows commercial reuse, while one of its dependencies is licensed has a [copyleft license][4] that requires you give your software away under the same license. Complying means finding the applicable license(s), and assessing and adhering to the terms, which is not too bad for individual components adn can be daunting for large initiatives.
+
+Fortunately, this open source challenge has an open source solution: [ClearlyDefined][5]. ClearlyDefined is a crowdsourced, open source, [Open Source Initiative][6] (OSI) effort to gather, curate, and upstream/normalize data about open source components, such as license, copyright, and source location. This data is the cornerstone of reducing the friction in open source license compliance.
+
+The premise behind ClearlyDefined is simple: we are all struggling to find and understand key information related to the open source we use—whether it is finding the license, knowing who to attribute, or identifying the source that goes with a particular package. Rather than struggling independently, ClearlyDefined allows us to collaborate and share the compliance effort. Moreover, the ClearlyDefined community seeks to upstream any corrections so future releases are more clearly defined and make conventions more explicit to improve community understanding of project intent.
+
+### How it works
+
+![ClearlyDefined's harvest, curate, upstream process][7]
+
+ClearlyDefined monitors the open source ecosystem and automatically harvests relevant data from open source components using a host of open source tools such as [ScanCode][8], [FOSSology][9], and [Licensee][10]. The results are summarized and aggregated to create a _definition_ , which is then surfaced to users via an API and a UI. Each definition includes:
+
+ * Declared license of the component
+ * Licenses and copyrights discovered across all files
+ * Exact source code location to the commit level
+ * Release date
+ * List of embedded components
+
+
+
+Coincidentally (well, not really), this is exactly the data you need to do license compliance.
+
+### Curating
+
+Any given definition may have gaps or imperfections due to tool issues or the data being missing or incorrect at the origin. ClearlyDefined enables users to curate the results by refining the values and filling in the gaps. These contributions are reviewed and merged, as with any open source project. The result is an improved dataset for all to use.
+
+### Getting ahead
+
+To a certain degree, this process is still chasing the problem—analyzing and curating after the packages have already been published. To get ahead of the game, the ClearlyDefined community also feeds merged curations back to the originating projects as pull requests (e.g., adding a license file, clarifying a copyright). This increases the clarity of future release and sets up a virtuous cycle.
+
+### Adapting, not mandating
+
+In doing the analysis, we've found quite a number of approaches to expressing license-related data. Different communities put LICENSE files in different places or have different practices around attribution. The ClearlyDefined philosophy is to discover these conventions and adapt to them rather than asking the communities to do something different. A side benefit of this is that implicit conventions can be made more explicit, improving clarity for all.
+
+Related to this, ClearlyDefined is careful to not look too hard for this interesting data. If we have to be too smart and infer too much to find the data, then there's a good chance the origin is not all that clear. Instead, we prefer to work with the community to better understand and clarify the conventions being used. From there, we can update the tools accordingly and make it easier to be "clearly defined."
+
+#### NOTICE files
+
+As an added bonus for users, we set up an API and UI for generating NOTICE files, making it trivial for you to comply with the attribution requirements found in most open source licenses. You can give ClearlyDefined a list of components (e.g., _drag and drop an npm package-lock.json file on the UI_ ) and get back a fully formed NOTICE file rendered by one of several renderers (e.g., text, HTML, Handlebars.js template). This is a snap, given that we already have all the compliance data. Big shout out to the [OSS Attribution Builder project][11] for making a simple and pluggable NOTICE renderer we could just pop into the ClearlyDefined service.
+
+### Getting involved
+
+You can get involved with ClearlyDefined in several ways:
+
+ * Become an active user, contributing to your compliance workflow
+ * Review other people's curations using the interface
+ * Get involved in [the code][12] (Node and React)
+ * Ask and answer questions on [our mailing list][13] or [Discord channel][14]
+ * Contribute money to the OSI targeted to ClearlyDefined. We'll use that to fund development and curation.
+
+
+
+We are excited to continue to grow our community of contributors so that licensing can continue to become an understable part of any team's open source adoption. For more information, check out [https://clearlydefined.io][15].
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/license-compliance-clearlydefined
+
+作者:[Jeff McAffer][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jeffmcaffer
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/OSDC_Crowdfunding_520x292_9597717_0612CM.png?itok=lxSKyFXU
+[2]: https://opensource.com/resources/what-docker
+[3]: /article/19/4/history-mit-license
+[4]: /resources/what-is-copyleft
+[5]: https://clearlydefined.io
+[6]: https://opensource.org
+[7]: https://opensource.com/sites/default/files/uploads/clearlydefined.png (ClearlyDefined's harvest, curate, upstream process)
+[8]: https://github.com/nexB/scancode-toolkit
+[9]: https://www.fossology.org/
+[10]: https://github.com/licensee/licensee
+[11]: https://github.com/amzn/oss-attribution-builder
+[12]: https://github.com/clearlydefined
+[13]: mailto:clearlydefined@googlegroups.com
+[14]: %C2%A0https://clearlydefined.io/discord)
+[15]: https://clearlydefined.io/
diff --git a/sources/tech/20190502 The making of the Breaking the Code electronic book.md b/sources/tech/20190502 The making of the Breaking the Code electronic book.md
new file mode 100644
index 0000000000..6786df8549
--- /dev/null
+++ b/sources/tech/20190502 The making of the Breaking the Code electronic book.md
@@ -0,0 +1,62 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (The making of the Breaking the Code electronic book)
+[#]: via: (https://opensource.com/article/19/5/code-book)
+[#]: author: (Alicia Gibb https://opensource.com/users/aliciagibb/users/don-watkins)
+
+The making of the Breaking the Code electronic book
+======
+Offering a safe space for middle school girls to learn technology speaks
+volumes about who should be sitting around the tech table.
+![Open hardware electronic book][1]
+
+I like a good challenge. The [Open Source Stories team][2] came to me with a great one: Create a hardware project where students could create their own thing that would be put together as a larger thing. The students would be middle school girls. My job was to figure out the hardware and make this thing make sense.
+
+After days of sketching out concepts, I was wandering through my local public library, and it dawned on me that the perfect piece of hardware where everyone could design their own part to create something whole is a book! The idea of a book using paper electronics was exciting, simple enough to be taught in a day, and fit the criteria of needing no special equipment, like soldering irons.
+
+!["Breaking the Code" book cover][3]
+
+I designed two parts to the electronics within the book. Half the circuits were developed with copper tape, LEDs, and DIY buttons, and half were developed with LilyPad Arduino microcontrollers, sensors, LEDs, and DIY buttons. Using the electronics in the book, the girls could make pages light up, buzz, or play music using various inputs such as button presses, page turns, or tilting the book.
+
+!['Breaking the Code' interior pages][4]
+
+We worked with young adult author [Lauren Sabel][5] to come up with the story, which features two girls who get locked in the basement of their school and have to solve puzzles to get out. Setting the scene in the basement gave us lots of opportunities to use lights! Along with the story, we received illustrations that the girls enhanced with electronics. The girls got creative, for example, using lights as the skeleton's eyes, not just for the obvious light bulb in the room.
+
+Creating a curriculum that was flexible enough to empower each girl to build her own successfully functioning circuit was a vital piece of the user experience. We chose components so the circuit wouldn't need to be over-engineered. We also used breakout boards and LEDs with built-in resistors so that the circuits allowed flexibility and functioned with only basic knowledge of circuit design—without getting too muddled in the deep end.
+
+!['Breaking the Code' interior pages][6]
+
+The project curriculum gave girls the confidence and skills to understand electronics by building two circuits, in the process learning circuit layout, directional aspects, cause-and-effect through inputs and outputs, and how to identify various components. Controlling electrons by pushing them through a circuit feels a bit like you're controlling a tiny part of the universe. And seeing the girls' faces light up is like seeing a universe of opportunities open in front of them.
+
+!['Breaking the Code' interior pages][7]
+
+The girls were ecstatic to see their work as a completed book, taking pride in their pages and showing others what they had built.
+
+![About 'Breaking the Code'][8]
+
+Teaching them my little corner of the world for the day was a truly empowering experience for me. As a woman in tech, I think this is the right approach for companies trying to change the gender inequalities we see in tech. Offering a safe space to learn—with lots of people in the room who look like you as mentors—speaks volumes about who should be sitting around the tech table.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/code-book
+
+作者:[Alicia Gibb][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/aliciagibb/users/don-watkins
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/code_book_electronics_hardware.jpg?itok=zb-zaiwz (Open hardware electronic book)
+[2]: https://www.redhat.com/en/open-source-stories
+[3]: https://opensource.com/sites/default/files/uploads/codebook_cover.jpg ("Breaking the Code" book cover)
+[4]: https://opensource.com/sites/default/files/uploads/codebook_38-39.jpg ('Breaking the Code' interior pages)
+[5]: https://www.amazon.com/Lauren-Sabel/e/B01M0FW223
+[6]: https://opensource.com/sites/default/files/uploads/codebook_lightbulb.jpg ('Breaking the Code' interior pages)
+[7]: https://opensource.com/sites/default/files/uploads/codebook_10-11.jpg ('Breaking the Code' interior pages)
+[8]: https://opensource.com/sites/default/files/uploads/codebook_pg1.jpg (About 'Breaking the Code')
diff --git a/sources/tech/20190503 Mirror your System Drive using Software RAID.md b/sources/tech/20190503 Mirror your System Drive using Software RAID.md
new file mode 100644
index 0000000000..1b5936dfa0
--- /dev/null
+++ b/sources/tech/20190503 Mirror your System Drive using Software RAID.md
@@ -0,0 +1,306 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Mirror your System Drive using Software RAID)
+[#]: via: (https://fedoramagazine.org/mirror-your-system-drive-using-software-raid/)
+[#]: author: (Gregory Bartholomew https://fedoramagazine.org/author/glb/)
+
+Mirror your System Drive using Software RAID
+======
+
+![][1]
+
+Nothing lasts forever. When it comes to the hardware in your PC, most of it can easily be replaced. There is, however, one special-case hardware component in your PC that is not as easy to replace as the rest — your hard disk drive.
+
+### Drive Mirroring
+
+Your hard drive stores your personal data. Some of your data can be backed up automatically by scheduled backup jobs. But those jobs scan the files to be backed up for changes and trying to scan an entire drive would be very resource intensive. Also, anything that you’ve changed since your last backup will be lost if your drive fails. [Drive mirroring][2] is a better way to maintain a secondary copy of your entire hard drive. With drive mirroring, a secondary copy of _all the data_ on your hard drive is maintained _in real time_.
+
+An added benefit of live mirroring your hard drive to a secondary hard drive is that it can [increase your computer’s performance][3]. Because disk I/O is one of your computer’s main performance [bottlenecks][4], the performance improvement can be quite significant.
+
+Note that a mirror is not a backup. It only protects your data from being lost if one of your physical drives fail. Types of failures that drive mirroring, by itself, does not protect against include:
+
+ * [File System Corruption][5]
+ * [Bit Rot][6]
+ * Accidental File Deletion
+ * Simultaneous Failure of all Mirrored Drives (highly unlikely)
+
+
+
+Some of the above can be addressed by other file system features that can be used in conjunction with drive mirroring. File system features that address the above types of failures include:
+
+ * Using a [Journaling][7] or [Log-Structured][8] file system
+ * Using [Checksums][9] ([ZFS][10] , for example, does this automatically and transparently)
+ * Using [Snapshots][11]
+ * Using [BCVs][12]
+
+
+
+This guide will demonstrate one method of mirroring your system drive using the Multiple Disk and Device Administration (mdadm) toolset. Just for fun, this guide will show how to do the conversion without using any extra boot media (CDs, USB drives, etc). For more about the concepts and terminology related to the multiple device driver, you can skim the _md_ man page:
+
+```
+$ man md
+```
+
+### The Procedure
+
+ 1. **Use** [**sgdisk**][13] **to (re)partition the _extra_ drive that you have added to your computer** :
+
+```
+ $ sudo -i
+# MY_DISK_1=/dev/sdb
+# sgdisk --zap-all $MY_DISK_1
+# test -d /sys/firmware/efi/efivars || sgdisk -n 0:0:+1MiB -t 0:ef02 -c 0:grub_1 $MY_DISK_1
+# sgdisk -n 0:0:+1GiB -t 0:ea00 -c 0:boot_1 $MY_DISK_1
+# sgdisk -n 0:0:+4GiB -t 0:fd00 -c 0:swap_1 $MY_DISK_1
+# sgdisk -n 0:0:0 -t 0:fd00 -c 0:root_1 $MY_DISK_1
+```
+
+– If the drive that you will be using for the second half of the mirror in step 12 is smaller than this drive, then you will need to adjust down the size of the last partition so that the total size of all the partitions is not greater than the size of your second drive.
+– A few of the commands in this guide are prefixed with a test for the existence of an _efivars_ directory. This is necessary because those commands are slightly different depending on whether your computer is BIOS-based or UEFI-based.
+
+ 2. **Use** [**mdadm**][14] **to create RAID devices that use the new partitions to store their data** :
+
+```
+ # mdadm --create /dev/md/boot --homehost=any --metadata=1.0 --level=1 --raid-devices=2 /dev/disk/by-partlabel/boot_1 missing
+# mdadm --create /dev/md/swap --homehost=any --metadata=1.0 --level=1 --raid-devices=2 /dev/disk/by-partlabel/swap_1 missing
+# mdadm --create /dev/md/root --homehost=any --metadata=1.0 --level=1 --raid-devices=2 /dev/disk/by-partlabel/root_1 missing
+
+# cat << END > /etc/mdadm.conf
+MAILADDR root
+AUTO +all
+DEVICE partitions
+END
+
+# mdadm --detail --scan >> /etc/mdadm.conf
+```
+
+– The _missing_ parameter tells mdadm to create an array with a missing member. You will add the other half of the mirror in step 14.
+– You should configure [sendmail][15] so you will be notified if a drive fails.
+– You can configure [Evolution][16] to [monitor a local mail spool][17].
+
+ 3. **Use** [**dracut**][18] **to update the initramfs** :
+
+```
+# dracut -f --add mdraid --add-drivers xfs
+```
+
+– Dracut will include the /etc/mdadm.conf file you created in the previous section in your initramfs _unless_ you build your initramfs with the _hostonly_ option set to _no_. If you build your initramfs with the hostonly option set to no, then you should either manually include the /etc/mdadm.conf file, manually specify the UUID’s of the RAID arrays to assemble at boot time with the _rd.md.uuid_ kernel parameter, or specify the _rd.auto_ kernel parameter to have all RAID arrays automatically assembled and started at boot time. This guide will demonstrate the _rd.auto_ option since it is the most generic.
+
+ 4. **Format the RAID devices** :
+
+```
+ # mkfs -t vfat /dev/md/boot
+# mkswap /dev/md/swap
+# mkfs -t xfs /dev/md/root
+```
+
+– The new [Boot Loader Specification][19] states “if the OS is installed on a disk with GPT disk label, and no ESP partition exists yet, a new suitably sized (let’s say 500MB) ESP should be created and should be used as $BOOT” and “$BOOT must be a VFAT (16 or 32) file system”.
+
+ 5. **Reboot and set the _rd.auto_ , _rd.break_ and _single_ kernel parameters** :
+
+```
+# reboot
+```
+
+– You may need to [set your root password][20] before rebooting so that you can get into _single-user mode_ in step 7.
+– See “[Making Temporary Changes to a GRUB 2 Menu][21]” for directions on how to set kernel parameters on compters that use the GRUB 2 boot loader.
+
+ 6. **Use** [**the dracut shell**][18] **to copy the root file system** :
+
+```
+ # mkdir /newroot
+# mount /dev/md/root /newroot
+# shopt -s dotglob
+# cp -ax /sysroot/* /newroot
+# rm -rf /newroot/boot/*
+# umount /newroot
+# exit
+```
+
+– The _dotglob_ flag is set for this bash session so that the [wildcard character][22] will match hidden files.
+– Files are removed from the _boot_ directory because they will be copied to a separate partition in the next step.
+– This copy operation is being done from the dracut shell to insure that no processes are accessing the files while they are being copied.
+
+ 7. **Use _single-user mode_ to copy the non-root file systems** :
+
+```
+ # mkdir /newroot
+# mount /dev/md/root /newroot
+# mount /dev/md/boot /newroot/boot
+# shopt -s dotglob
+# cp -Lr /boot/* /newroot/boot
+# test -d /newroot/boot/efi/EFI && mv /newroot/boot/efi/EFI/* /newroot/boot/efi && rmdir /newroot/boot/efi/EFI
+# test -d /sys/firmware/efi/efivars && ln -sfr /newroot/boot/efi/fedora/grub.cfg /newroot/etc/grub2-efi.cfg
+# cp -ax /home/* /newroot/home
+# exit
+```
+
+– It is OK to run these commands in the dracut shell shown in the previous section instead of doing it from single-user mode. I’ve demonstrated using single-user mode to avoid having to explain how to mount the non-root partitions from the dracut shell.
+– The parameters being past to the _cp_ command for the _boot_ directory are a little different because the VFAT file system doesn’t support symbolic links or Unix-style file permissions.
+– In rare cases, the _rd.auto_ parameter is known to cause LVM to fail to assemble due to a [race condition][23]. If you see errors about your _swap_ or _home_ partition failing to mount when entering single-user mode, simply try again by repeating step 5 but omiting the _rd.break_ paramenter so that you will go directly to single-user mode.
+
+ 8. **Update _fstab_ on the new drive** :
+
+```
+ # cat << END > /newroot/etc/fstab
+/dev/md/root / xfs defaults 0 0
+/dev/md/boot /boot vfat defaults 0 0
+/dev/md/swap swap swap defaults 0 0
+END
+```
+
+ 9. **Configure the boot loader on the new drive** :
+
+```
+ # NEW_GRUB_CMDLINE_LINUX=$(cat /etc/default/grub | sed -n 's/^GRUB_CMDLINE_LINUX="\(.*\)"/\1/ p')
+# NEW_GRUB_CMDLINE_LINUX=${NEW_GRUB_CMDLINE_LINUX//rd.lvm.*([^ ])}
+# NEW_GRUB_CMDLINE_LINUX=${NEW_GRUB_CMDLINE_LINUX//resume=*([^ ])}
+# NEW_GRUB_CMDLINE_LINUX+=" selinux=0 rd.auto"
+# sed -i "/^GRUB_CMDLINE_LINUX=/s/=.*/=\"$NEW_GRUB_CMDLINE_LINUX\"/" /newroot/etc/default/grub
+```
+
+– You can re-enable selinux after this procedure is complete. But you will have to [relabel your file system][24] first.
+
+ 10. **Install the boot loader on the new drive** :
+
+```
+ # sed -i '/^GRUB_DISABLE_OS_PROBER=.*/d' /newroot/etc/default/grub
+# echo "GRUB_DISABLE_OS_PROBER=true" >> /newroot/etc/default/grub
+# MY_DISK_1=$(mdadm --detail /dev/md/boot | grep active | grep -m 1 -o "/dev/sd.")
+# for i in dev dev/pts proc sys run; do mount -o bind /$i /newroot/$i; done
+# chroot /newroot env MY_DISK_1=$MY_DISK_1 bash --login
+# test -d /sys/firmware/efi/efivars || MY_GRUB_DIR=/boot/grub2
+# test -d /sys/firmware/efi/efivars && MY_GRUB_DIR=$(find /boot/efi -type d -name 'fedora' -print -quit)
+# test -e /usr/sbin/grub2-switch-to-blscfg && grub2-switch-to-blscfg --grub-directory=$MY_GRUB_DIR
+# grub2-mkconfig -o $MY_GRUB_DIR/grub.cfg \;
+# test -d /sys/firmware/efi/efivars && test /boot/grub2/grubenv -nt $MY_GRUB_DIR/grubenv && cp /boot/grub2/grubenv $MY_GRUB_DIR/grubenv
+# test -d /sys/firmware/efi/efivars || grub2-install "$MY_DISK_1"
+# logout
+# for i in run sys proc dev/pts dev; do umount /newroot/$i; done
+# test -d /sys/firmware/efi/efivars && efibootmgr -c -d "$MY_DISK_1" -p 1 -l "$(find /newroot/boot -name shimx64.efi -printf '/%P\n' -quit | sed 's!/!\\!g')" -L "Fedora RAID Disk 1"
+```
+
+– The _grub2-switch-to-blscfg_ command is optional. It is only supported on Fedora 29+.
+– The _cp_ command above should not be necessary, but there appears to be a bug in the current version of grub which causes it to write to $BOOT/grub2/grubenv instead of $BOOT/efi/fedora/grubenv on UEFI systems.
+– You can use the following command to verify the contents of the _grub.cfg_ file right after running the _grub2-mkconfig_ command above:
+
+```
+# sed -n '/BEGIN .*10_linux/,/END .*10_linux/ p' $MY_GRUB_DIR/grub.cfg
+```
+
+– You should see references to _mdraid_ and _mduuid_ in the output from the above command if the RAID array was detected properly.
+
+ 11. **Boot off of the new drive** :
+
+```
+# reboot
+```
+
+– How to select the new drive is system-dependent. It usually requires pressing one of the **F12** , **F10** , **Esc** or **Del** keys when you hear the [System OK BIOS beep code][25].
+– On UEFI systems the boot loader on the new drive should be labeled “Fedora RAID Disk 1”.
+
+ 12. **Remove all the volume groups and partitions from your old drive** :
+
+```
+ # MY_DISK_2=/dev/sda
+# MY_VOLUMES=$(pvs | grep $MY_DISK_2 | awk '{print $2}' | tr "\n" " ")
+# test -n "$MY_VOLUMES" && vgremove $MY_VOLUMES
+# sgdisk --zap-all $MY_DISK_2
+```
+
+– **WARNING** : You want to make certain that everything is working properly on your new drive before you do this. A good way to verify that your old drive is no longer being used is to try booting your computer once without the old drive connected.
+– You can add another new drive to your computer instead of erasing your old one if you prefer.
+
+ 13. **Create new partitions on your old drive to match the ones on your new drive** :
+
+```
+ # test -d /sys/firmware/efi/efivars || sgdisk -n 0:0:+1MiB -t 0:ef02 -c 0:grub_2 $MY_DISK_2
+# sgdisk -n 0:0:+1GiB -t 0:ea00 -c 0:boot_2 $MY_DISK_2
+# sgdisk -n 0:0:+4GiB -t 0:fd00 -c 0:swap_2 $MY_DISK_2
+# sgdisk -n 0:0:0 -t 0:fd00 -c 0:root_2 $MY_DISK_2
+```
+
+– It is important that the partitions match in size and type. I prefer to use the _parted_ command to display the partition table because it supports setting the display unit:
+
+```
+ # parted /dev/sda unit MiB print
+# parted /dev/sdb unit MiB print
+```
+
+ 14. **Use mdadm to add the new partitions to the RAID devices** :
+
+```
+ # mdadm --manage /dev/md/boot --add /dev/disk/by-partlabel/boot_2
+# mdadm --manage /dev/md/swap --add /dev/disk/by-partlabel/swap_2
+# mdadm --manage /dev/md/root --add /dev/disk/by-partlabel/root_2
+```
+
+ 15. **Install the boot loader on your old drive** :
+
+```
+ # test -d /sys/firmware/efi/efivars || grub2-install "$MY_DISK_2"
+# test -d /sys/firmware/efi/efivars && efibootmgr -c -d "$MY_DISK_2" -p 1 -l "$(find /boot -name shimx64.efi -printf "/%P\n" -quit | sed 's!/!\\!g')" -L "Fedora RAID Disk 2"
+```
+
+ 16. **Use mdadm to test that email notifications are working** :
+
+```
+# mdadm --monitor --scan --oneshot --test
+```
+
+
+
+
+As soon as your drives have finished synchronizing, you should be able to select either drive when restarting your computer and you will receive the same live-mirrored operating system. If either drive fails, mdmonitor will send an email notification. Recovering from a drive failure is now simply a matter of swapping out the bad drive with a new one and running a few _sgdisk_ and _mdadm_ commands to re-create the mirrors (steps 13 through 15). You will no longer have to worry about losing any data if a drive fails!
+
+### Video Demonstrations
+
+Converting a UEFI PC to RAID1
+
+Converting a BIOS PC to RAID1
+
+ * TIP: Set the the quality to 720p on the above videos for best viewing.
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/mirror-your-system-drive-using-software-raid/
+
+作者:[Gregory Bartholomew][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/glb/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/05/raid_mirroring-816x345.jpg
+[2]: https://en.wikipedia.org/wiki/Disk_mirroring
+[3]: https://en.wikipedia.org/wiki/Disk_mirroring#Additional_benefits
+[4]: https://en.wikipedia.org/wiki/Bottleneck_(software)
+[5]: https://en.wikipedia.org/wiki/Data_corruption
+[6]: https://en.wikipedia.org/wiki/Data_degradation
+[7]: https://en.wikipedia.org/wiki/Journaling_file_system
+[8]: https://www.quora.com/What-is-the-difference-between-a-journaling-vs-a-log-structured-file-system
+[9]: https://en.wikipedia.org/wiki/File_verification
+[10]: https://en.wikipedia.org/wiki/ZFS#Summary_of_key_differentiating_features
+[11]: https://en.wikipedia.org/wiki/Snapshot_(computer_storage)#File_systems
+[12]: https://en.wikipedia.org/wiki/Business_continuance_volume
+[13]: https://fedoramagazine.org/managing-partitions-with-sgdisk/
+[14]: https://fedoramagazine.org/managing-raid-arrays-with-mdadm/
+[15]: https://fedoraproject.org/wiki/QA:Testcase_Sendmail
+[16]: https://en.wikipedia.org/wiki/Evolution_(software)
+[17]: https://dotancohen.com/howto/root_email.html
+[18]: https://fedoramagazine.org/initramfs-dracut-and-the-dracut-emergency-shell/
+[19]: https://systemd.io/BOOT_LOADER_SPECIFICATION#technical-details
+[20]: https://docs.fedoraproject.org/en-US/Fedora/26/html/System_Administrators_Guide/sec-Changing_and_Resetting_the_Root_Password.html
+[21]: https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_the_GRUB_2_Boot_Loader/#sec-Making_Temporary_Changes_to_a_GRUB_2_Menu
+[22]: https://en.wikipedia.org/wiki/Wildcard_character#File_and_directory_patterns
+[23]: https://en.wikipedia.org/wiki/Race_condition
+[24]: https://wiki.centos.org/HowTos/SELinux#head-867ca18a09f3103705cdb04b7d2581b69cd74c55
+[25]: https://en.wikipedia.org/wiki/Power-on_self-test#Original_IBM_POST_beep_codes
diff --git a/sources/tech/20190503 SuiteCRM- An Open Source CRM Takes Aim At Salesforce.md b/sources/tech/20190503 SuiteCRM- An Open Source CRM Takes Aim At Salesforce.md
new file mode 100644
index 0000000000..63802d4976
--- /dev/null
+++ b/sources/tech/20190503 SuiteCRM- An Open Source CRM Takes Aim At Salesforce.md
@@ -0,0 +1,105 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (SuiteCRM: An Open Source CRM Takes Aim At Salesforce)
+[#]: via: (https://itsfoss.com/suitecrm-ondemand/)
+[#]: author: (Ankush Das https://itsfoss.com/author/ankush/)
+
+SuiteCRM: An Open Source CRM Takes Aim At Salesforce
+======
+
+SuiteCRM is one of the most popular open source CRM (Customer Relationship Management) software available. With its unique-priced managed CRM hosting service, SuiteCRM is aiming to challenge enterprise CRMs like Salesforce.
+
+### SuiteCRM: An Open Source CRM Software
+
+CRM stands for Customer Relationship Management. It is used by businesses to manage the interaction with customers, keep track of services, supplies and other things that help the business manage their customers.
+
+![][1]
+
+[SuiteCRM][2] came into existence after the hugely popular [SugarCRM][3] decided to stop developing its open source version. The open source version of SugarCRM was then forked into SuiteCRM by UK-based [SalesAgility][4] team.
+
+In just a couple of years, SuiteCRM became immensely popular and started to be considered the best open source CRM software out there. You can gauge its popularity from the fact that it’s nearing a million download and it has over 100,000 community members. There are around 4 million SuiteCRM users worldwide (a CRM software usually has more than one user) and it is available in several languages. It’s even used by National Health Service ([NHS][5]) in UK.
+
+Since SuiteCRM is a free and open source software, you are free to download it and deploy it on your cloud server such as [UpCloud][6] (we at It’s FOSS use it), [DigitalOcean][7], [AWS][8] or any Linux server of our own.
+
+But configuring the software, deploying it and managing it a tiresome job and requires certain skill level or a the services of a sysadmin. This is why business oriented open source software provide a hosted version of their software.
+
+This enables you to enjoy the open source software without the additional headache and the team behind the software has a way to generate revenue and continue the development of their software.
+
+### Suite:OnDemand – Cost effective managed hosting of SuiteCRM
+
+So, recently, [SalesAgility][4] – the creators/maintainers of SuiteCRM, decided to challenge [Salesforce][9] and other enterprise CRMs by introducing [Suite:OnDemand][10] , a hosted version of SuiteCRM.
+
+[][11]
+
+Suggested read Papyrus: An Open Source Note Manager
+
+Normally, you will observe pricing plans on the basis of number of users. But, with SuiteCRM’s OnDemand cloud hosting plans, they are trying to give businesses an affordable solution on a “per-server” basis instead of paying for every user you add.
+
+In other words, they want you to pay extra only for advanced features, not for more users.
+
+Here’s what SalesAgility mentioned in their [press release][12]:
+
+> Unlike Salesforce and other enterprise CRM vendors, the practice of pricing per user has been abandoned in favour of per-server hosting packages all of which will support unlimited users. In addition, there’s no increase in cost for access to advanced features. With Suite:OnDemand every feature and benefit is available with each hosting package.
+
+Of course, unlimited users does not mean that you will have to abuse the term. So, there’s a recommended number of users for every hosting plan you opt for.
+
+![Suitecrm Hosting][13]
+
+The CEO of SalesAgility also had to describe their goals for this step:
+
+“ _We want SuiteCRM to be available to all businesses and to all users within a business,_ ”said **Dale Murray CEO** of **SalesAgility**.
+
+In addition to that, they also mentioned that they want to revolutionize the way enterprise-class CRM is being currently offered in order to make it more accessible to businesses and organizations:
+
+> “Many organisations do not have the experience to run and support our product on-premise or it is not part of their technology strategy to do so. With Suite:OnDemand we are providing our customers with a quick and easy solution to access all the features of SuiteCRM without a per user cost. We’re also saying to Salesforce that enterprise-class CRM can be delivered, enhanced, maintained and supported without charging mouth-wateringly expensive monthly fees. Our aim is to transform the CRM market to enable users to make CRM pervasive within their organisations.”
+>
+> Dale Murray, CEO of SalesAgility
+
+### Why is this a big deal?
+
+This is a huge relief for small business owners and startups because other CRMs like Saleforce and SugarCRM charge $30-$40 per month per user. If you have 10 members in your team, this will increase the cost to $300-$400 per month.
+
+[][14]
+
+Suggested read Winds Beautifully Combines Feed Reader and Podcast Player in One Single App
+
+This is also a good news for the open source community that we will have an affordable alternative to Salesforce.
+
+In addition to this, SuiteCRM is fully open source meaning there are no license fees or vendor lock-in – as they mention. You are always free to use it on your own.
+
+It is interesting to see different strategies and solutions being applied for an open source CRM software to take an aim at Salesforce directly.
+
+What do you think? Let us know your thoughts in the comments below.
+
+_With inputs from Abhishek Prakash._
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/suitecrm-ondemand/
+
+作者:[Ankush Das][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/ankush/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/wp-content/uploads/2019/05/suite-crm-800x450.png
+[2]: https://suitecrm.com/
+[3]: https://www.sugarcrm.com/
+[4]: https://salesagility.com/
+[5]: https://www.nhs.uk/
+[6]: https://www.upcloud.com/register/?promo=itsfoss
+[7]: https://m.do.co/c/d58840562553
+[8]: https://aws.amazon.com/
+[9]: https://www.salesforce.com
+[10]: https://suitecrm.com/suiteondemand/
+[11]: https://itsfoss.com/papyrus-open-source-note-manager/
+[12]: https://suitecrm.com/sod-pr/
+[13]: https://itsfoss.com/wp-content/uploads/2019/05/suitecrm-hosting-800x457.jpg
+[14]: https://itsfoss.com/winds-podcast-feedreader/
diff --git a/sources/tech/20190503 Tutanota Launches New Encrypted Tool to Support Press Freedom.md b/sources/tech/20190503 Tutanota Launches New Encrypted Tool to Support Press Freedom.md
new file mode 100644
index 0000000000..692b4ecba8
--- /dev/null
+++ b/sources/tech/20190503 Tutanota Launches New Encrypted Tool to Support Press Freedom.md
@@ -0,0 +1,85 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Tutanota Launches New Encrypted Tool to Support Press Freedom)
+[#]: via: (https://itsfoss.com/tutanota-secure-connect/)
+[#]: author: (John Paul https://itsfoss.com/author/john/)
+
+Tutanota Launches New Encrypted Tool to Support Press Freedom
+======
+
+A secure email provider has announced the release of a new product designed to help whistleblowers get their information to the media. The tool is free for journalists.
+
+### Tutanota helps you protect your privacy
+
+![][1]
+
+[Tutanota][2] is a German-based company that provides “world’s most secure email service, easy to use and private by design.” They offer end-to-end encryption for their [secure email service][3]. Recently Tutanota announced a [desktop app for their email service][4].
+
+They also make use of two-factor authentication and [open source the code][5] that they use.
+
+While you can get an account for free, you don’t have to worry about your information being sold or seeing ads. Tutanota makes money by charging for extra features and storage. They also offer solutions for non-profit organizations.
+
+Tutanota has launched a new service to further help journalists, social activists and whistleblowers in communicating securely.
+
+[][6]
+
+Suggested read Purism's New Offering is a Dream Come True for Privacy Concerned People
+
+### Secure Connect: An encrypted form for websites
+
+![][7]
+
+Tutanota has released a new piece of software named Secure Connect. Secure Connect is “an open source encrypted contact form for news sites”. The goal of the project is to create a way so that “whistleblowers can get in touch with journalists securely”. Tutanota picked the right day because May 3rd is the [Day of Press Freedom][8].
+
+According to Tutanota, Secure Connect is designed to be easily added to websites, but can also work on any blog to ensure access by smaller news agencies. A whistleblower would access Secure Connect app on a news site, preferably using Tor, and type in any information that they want to bring to light. The whistleblower would also be able to upload files. Once they submit the information, Secure Connect will assign a random address and password, “which lets the whistleblower re-access his sent message at a later stage and check for replies from the news site.”
+
+![Secure Connect Encrypted Contact Form][9]
+
+While Tutanota will be offering Secure Connect to journalists for free, they know that someone will have to foot the bill. They plan to pay for further development of the project by selling it to businesses, such as “lawyers, financial institutions, medical institutions, educational institutions, and the authorities”. Non-journalists would have to pay €24 per month.
+
+You can see a demo of Secure Connect, by clicking [here][10]. If you are a journalist interested in adding Secure Connect to your website or blog, you can contact them at [[email protected]][11] Be sure to include a link to your website.
+
+[][12]
+
+Suggested read 8 Privacy Oriented Alternative Search Engines To Google in 2019
+
+### Final Thoughts on Secure Connect
+
+I have read repeatedly about whistleblowers whose identities were accidentally exposed, either by themselves or others. Tutanota’s project looks like it would remove that possibility by making it impossible for others to discover their identity. It also gives both parties an easy way to exchange information without having to worry about encryption or PGP keys.
+
+I understand that it’s not the same as [Firefox Send][13], another encrypted file sharing program from Mozilla. The only question I have is whose servers will the whistleblowers’ information be sitting on?
+
+Do you think that Tutanota’s Secure Connect will be a boon for whistleblowers and activists? Please let us know in the comments below.
+
+If you found this article interesting, please take a minute to share it on social media, Hacker News or [Reddit][14].
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/tutanota-secure-connect/
+
+作者:[John Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/john/
+[b]: https://github.com/lujun9972
+[1]: https://itsfoss.com/wp-content/uploads/2018/02/tutanota-featured-800x450.png
+[2]: https://tutanota.com/
+[3]: https://itsfoss.com/tutanota-review/
+[4]: https://itsfoss.com/tutanota-desktop/
+[5]: https://tutanota.com/blog/posts/open-source-email
+[6]: https://itsfoss.com/librem-one/
+[7]: https://itsfoss.com/wp-content/uploads/2019/05/secure-communication.jpg
+[8]: https://en.wikipedia.org/wiki/World_Press_Freedom_Day
+[9]: https://itsfoss.com/wp-content/uploads/2019/05/secure-connect-encrypted-contact-form.png
+[10]: https://secureconnect.tutao.de/contactform/demo
+[11]: /cdn-cgi/l/email-protection
+[12]: https://itsfoss.com/privacy-search-engines/
+[13]: https://itsfoss.com/firefox-send/
+[14]: http://reddit.com/r/linuxusersgroup
diff --git a/sources/tech/20190504 Fedora 30 Workstation Installation Guide with Screenshots.md b/sources/tech/20190504 Fedora 30 Workstation Installation Guide with Screenshots.md
new file mode 100644
index 0000000000..9e0ebd4381
--- /dev/null
+++ b/sources/tech/20190504 Fedora 30 Workstation Installation Guide with Screenshots.md
@@ -0,0 +1,207 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Fedora 30 Workstation Installation Guide with Screenshots)
+[#]: via: (https://www.linuxtechi.com/fedora-30-workstation-installation-guide/)
+[#]: author: (Pradeep Kumar https://www.linuxtechi.com/author/pradeep/)
+
+Fedora 30 Workstation Installation Guide with Screenshots
+======
+
+If you are a **Fedora distribution** lover and always try the things at Fedora Workstation and Servers, then it is good news for you as Fedora has released its latest OS edition as **Fedora 30** for the Workstation and Server. One of the important updates in Fedora 30 from its previous release is that it has introduced **Fedora CoreOS** as a replacement of Fedora Atomic host.
+
+Some other noticeable updates in Fedora 30 are listed beneath:
+
+ * Updated Desktop Gnome 3.32
+ * New Linux Kernel 5.0.9
+ * Updated Bash Version 5.0, PHP 7.3 & GCC 9
+ * Updated Python 3.7.3, JDK12, Ruby 2.6 Mesa 19.0.2 and Golang 1.12
+ * Improved DNF (Default Package Manager)
+
+
+
+In this article we will walk through the Fedora 30 workstation Installation steps for laptop or desktop.
+
+**Following are the minimum system requirement for Fedora 30 workstation,**
+
+ * 1GHz Processor (Recommended 2 GHz Dual Core processor)
+ * 2 GB RAM
+ * 15 GB unallocated Hard Disk
+ * Bootable Media (USB / DVD)
+ * nternet Connection (Optional)
+
+
+
+Let’s Jump into Installation steps,
+
+### Step:1) Download Fedora 30 Workstation ISO File
+
+Download the Fedora 30 Workstation ISO file on your system from its Official Web Site
+
+
+
+Once the ISO file is downloaded, then burn it either in USB drive or DVD and make it bootable.
+
+### Step:2) Boot Your Target System with Bootable media (USB Drive or DVD)
+
+Reboot your target machine (i.e. machine where you want to install Fedora 30), Set the boot medium as USB or DVD from Bios settings so system boots up with bootable media.
+
+### Step:3) Choose Start Fedora-Workstation-30 Live
+
+When the system boots up with bootable media then we will get the following screen, to begin with installation on your system’s hard disk, choose “ **Start Fedora-Workstation-30 Live** “,
+
+
+
+### Step:4) Select Install to Hard Drive Option
+
+Select “ **Install to Hard Drive** ” option to install Fedora 30 on your system’s hard disk, you can also try Fedora on your system without installing it, for that select “ **Try Fedora** ” Option
+
+
+
+### Step:5) Choose appropriate language for your Fedora 30 Installation
+
+In this step choose your language which will be used during Fedora 30 Installation,
+
+
+
+Click on Continue
+
+### Step:6) Choose Installation destination and partition Scheme
+
+In the next window we will be present the following screen, here we will choose our installation destination, means on which hard disk we will do installation
+
+
+
+In the next screen we will see the local available hard disk, select the disk that suits your installation and then choose how you want to create partitions on it from storage configuration tab.
+
+If you choose “ **Automatic** ” partition scheme, then installer will create the necessary partition for your system automatically but if you want to create your own customize partition scheme then choose “ **Custom** ” option,
+
+
+
+Click on Done
+
+In this article I will demonstrate how to create [**LVM**][1] based custom partitions, in my case I have around 40 GB unallocated hard drive, so I will be creating following partitions on it,
+
+ * /boot = 2 GB (ext4 file system)
+ * /home = 15 GB (ext4 file system)
+ * /var = 10 GB (ext4 file system)
+ * / = 10 GB (ext4 file system)
+ * Swap = 2 GB
+
+
+
+
+
+Select “ **LVM** ” as partitioning scheme and then click on plus (+) symbol,
+
+Specify the mount point as /boot and partition size as 2 GB and then click on “Add mount point”
+
+
+
+
+
+Now create next partition as /home of size 15 GB, Click on + symbol
+
+
+
+Click on “ **Add mount point** ”
+
+
+
+If you might have noticed, /home partition is created as LVM partition under default Volume Group, if you wish to change default Volume Group name then click on “ **Modify** ” option from Volume Group Tab,
+
+Mention the Volume Group name you want to set and then click on Save. Now onward all the LVM partition will be part of fedora30 volume group.
+
+
+
+Similarly create the next two partitions **/var** and **/** of size 10 GB respectively,
+
+**/var partition:**
+
+
+
+**/ (slash) partition:**
+
+
+
+Now create the last partition as swap of size 2 GB,
+
+
+
+In the next window, click on Done
+
+
+
+In the next screen, choose “ **Accept Changes** ”
+
+
+
+Now we will get Installation Summary window, here you can also change the time zone that suits to your installation and then click on “ **Begin Installation** ”
+
+
+
+### Step:7) Fedora 30 Installation started
+
+In this step we can see Fedora 30 Installation has been started and it is in progress,
+
+
+
+Once the Installation is completed, you will be prompted to restart your system
+
+
+
+Click on Quit and reboot your system.
+
+Don’t forget the Change boot medium from Bios settings so your system boots up with hard disk.
+
+### Step:8) Welcome message and login Screen after reboot
+
+When we first time reboot Fedora 30 system after the successful installation, we will get below welcome screen,
+
+
+
+Click on Next
+
+In the next screen you can Sync your online accounts or else you can skip,
+
+
+
+In the next window you will be required to specify the local account (user name) and its password, later this account will be used to login to the system
+
+
+
+
+
+Click on Next
+
+And finally, we will get below screen which confirms that we are ready to use Fedora 30,
+
+
+
+Click on “ **Start Using Fedora** ”
+
+
+
+Above Gnome Desktop Screen confirms that we have successfully installed Fedora 30 Workstation, now explore it and have fun 😊
+
+In Fedora 30 workstation, if you want to install any packages or software from command line use DNF command.
+
+Read More On: **[26 DNF Command Examples for Package Management in Fedora Linux][2]**
+
+--------------------------------------------------------------------------------
+
+via: https://www.linuxtechi.com/fedora-30-workstation-installation-guide/
+
+作者:[Pradeep Kumar][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.linuxtechi.com/author/pradeep/
+[b]: https://github.com/lujun9972
+[1]: https://www.linuxtechi.com/lvm-good-way-to-utilize-disks-space/
+[2]: https://www.linuxtechi.com/dnf-command-examples-rpm-management-fedora-linux/
diff --git a/sources/tech/20190504 May the fourth be with you- How Star Wars (and Star Trek) inspired real life tech.md b/sources/tech/20190504 May the fourth be with you- How Star Wars (and Star Trek) inspired real life tech.md
new file mode 100644
index 0000000000..a05f9a6b4f
--- /dev/null
+++ b/sources/tech/20190504 May the fourth be with you- How Star Wars (and Star Trek) inspired real life tech.md
@@ -0,0 +1,93 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (May the fourth be with you: How Star Wars (and Star Trek) inspired real life tech)
+[#]: via: (https://opensource.com/article/19/5/may-the-fourth-star-wars-trek)
+[#]: author: (Jeff Macharyas https://opensource.com/users/jeffmacharyas)
+
+May the fourth be with you: How Star Wars (and Star Trek) inspired real life tech
+======
+The technologies may have been fictional, but these two acclaimed sci-fi
+series have inspired open source tech.
+![Triangulum galaxy, NASA][1]
+
+Conventional wisdom says you can either be a fan of _Star Trek_ or of _Star Wars_ , but mixing the two is like mixing matter and anti-matter. I'm not sure that's true, but even if the laws of physics cannot be changed, these two acclaimed sci-fi series have influenced the open source universe and created their own open source multi-verses.
+
+For example, fans have used the original _Star Trek_ as "source code" to create fan-made films, cartoons, and games. One of the more notable fan creations was the web series _Star Trek Continues_ , which faithfully adapted Gene Roddenberry's universe and redistributed it to the world.
+
+"Eventually we realized that there is no more profound way in which people could express what _Star Trek_ has meant to them than by creating their own very personal _Star Trek_ things," [Roddenberry said][2]. However, due to copyright restrictions, this "open source" channel [has since been curtailed][3].
+
+_Star Wars_ has a different approach to open sourcing its universe. [Jess Paguaga writes][4] on FanSided: "With a variety [of] fan film awards dating back to 2002, the _Star Wars_ brand has always supported and encouraged the creation of short films that help expand the universe of a galaxy far, far away."
+
+But, _Star Wars_ is not without its own copyright prime directives. In one case, a Darth Vader film by a YouTuber called Star Wars Theory has drawn a copyright claim from Disney. The claim does not stop production of the film, but diverts monetary gains from it, [reports James Richards][5] on FanSided.
+
+This could be one of the [Ferengi Rules of Acquisition][6], perhaps.
+
+But if you can't watch your favorite fan film, you can still get your [_Star Wars_ fix right in the Linux terminal][7] by entering:
+
+
+```
+`telnet towel.blinkenlights.nl`
+```
+
+And _Star Trek_ fans can also interact with the Federation with the original text-based video game from 1971. While a high-school senior, Mike Mayfield ported the game from punch cards to HP BASIC. If you'd like to go old school and battle Klingons, the source code is available at the [Code Project][8].
+
+### Real-life star tech
+
+Both _Star Wars_ and _Star Trek_ have inspired real-life technologies. Although those technologies were fictional, many have become the practical, open technology we use today. Some of them inspired technologies that are still in development now.
+
+In the early 1970s, Motorola engineer Martin Cooper was trying to beat AT&T at the car-phone game. He says he was watching Captain Kirk use a "communicator" on an episode of _Star Trek_ and had a eureka moment. His team went on to create the first portable cellular 800MHz phone prototype in 90 days.
+
+In _Star Wars_ , scout stormtroopers of the Galactic Empire rode the Aratech 74-Z Speeder Bike, and a real-life counterpart is the [Aero-X][9] being developed by California's Aerofex.
+
+Perhaps the most visible _Star Wars_ tech to enter our lives is droids. We first encountered R2-D2 back in the 1970s, but now we have droids vacuuming our carpets and mowing our lawns, from Roombas to the [Worx Landroid][10] lawnmower.
+
+And, in _Star Wars_ , Princess Leia appeared to Obi-Wan Kenobi as a hologram, and in Star Trek: Voyager, the ship's chief medical officer was an interactive hologram that could diagnose and treat patients. The technology to bring characters like these to "life" is still a ways off, but there are some interesting open source developments that hint of things to come. [OpenHolo][11], "an open source library containing algorithms and software implementations for holograms in various fields," is one such project.
+
+### Where's the beef?
+
+> "She handled… real meat… touched it, and cut it?" —Keiko O'Brien, Star Trek: The Next Generation
+
+In the _Star Trek_ universe, crew members get their meals by simply ordering a replicator to produce whatever food they desire. That could one day become a reality thanks to a concept created by two German students for an open source "meat-printer" they call the [Cultivator][12]. It would use bio-printing to produce something that appears to be meat; the user could even select its mineral and fat content. Perhaps with more collaboration and development, the Cultivator could become the replicator in tomorrow's kitchen!
+
+### The 501st
+
+Cosplayers, people from all walks of life who dress as their favorite characters, are the "open source embodiment" of their favorite universes. The [501st][13] [Legion][13] is an all-volunteer _Star Wars_ fan organization "formed for the express purpose of bringing together costume enthusiasts under a collective identity within which to operate," according to its charter.
+
+Jon Stallard, a member of Garrison Tyranus, the Central Virginia chapter of the 501st Legion says, "Everybody wanted to be something else when they were a kid, right? Whether it was Neil Armstrong, Batman, or the Six Million Dollar Man. Every backyard playdate was some kind of make-believe. The 501st lets us participate in our fan communities while contributing to the community at large."
+
+Are cosplayers really "open source characters"? Well, that depends. The copyright laws around cosplay and using unique props, costumes, and more are very complex, [writes Meredith Filak Rose][14] for _Public Knowledge_. "We're lucky to be living in a time where fandom generally enjoys a positive relationship with the creators whose work it admires," Rose concludes.
+
+So, it is safe to say that stormtroopers, Ferengi, Vulcans, and Yoda are all here to stay for a long, long time, near, and far, far away.
+
+Live long and prosper, you shall.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/may-the-fourth-star-wars-trek
+
+作者:[Jeff Macharyas ][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/jeffmacharyas
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/triangulum_galaxy_nasa_stars.jpg?itok=NdS19A7m
+[2]: https://fanlore.org/wiki/Gene_Roddenberry#His_Views_Regarding_Fanworks
+[3]: https://trekmovie.com/2016/06/23/cbs-and-paramount-release-fan-film-guidelines/
+[4]: https://dorksideoftheforce.com/2019/01/17/star-wars-fan-films/
+[5]: https://dorksideoftheforce.com/2019/01/16/disney-claims-copyright-star-wars-theory/
+[6]: https://en.wikipedia.org/wiki/Rules_of_Acquisition
+[7]: https://itsfoss.com/star-wars-linux/
+[8]: https://www.codeproject.com/Articles/28228/Star-Trek-1971-Text-Game
+[9]: https://www.livescience.com/58943-real-life-star-wars-technology.html
+[10]: https://www.digitaltrends.com/cool-tech/best-robot-lawnmowers/
+[11]: http://openholo.org/
+[12]: https://www.pastemagazine.com/articles/2016/05/the-future-is-vegan-according-to-star-trek.html
+[13]: https://www.501st.com/
+[14]: https://www.publicknowledge.org/news-blog/blogs/copyright-and-cosplay-working-with-an-awkward-fit
diff --git a/sources/tech/20190505 -Review- Void Linux, a Linux BSD Hybrid.md b/sources/tech/20190505 -Review- Void Linux, a Linux BSD Hybrid.md
new file mode 100644
index 0000000000..cc8a660252
--- /dev/null
+++ b/sources/tech/20190505 -Review- Void Linux, a Linux BSD Hybrid.md
@@ -0,0 +1,136 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: ([Review] Void Linux, a Linux BSD Hybrid)
+[#]: via: (https://itsfoss.com/void-linux/)
+[#]: author: (John Paul https://itsfoss.com/author/john/)
+
+[Review] Void Linux, a Linux BSD Hybrid
+======
+
+There are distros that follow the crowd and there are others that try to make their own path through the tall weed. Today, we’ll be looking at a small distro that looks to challenge how a distro should work. We’ll be looking at Void Linux.
+
+### What is Void Linux?
+
+[Void Linux][1] is a “general purpose operating system, based on the monolithic Linux kernel. Its package system allows you to quickly install, update and remove software; software is provided in binary packages or can be built directly from sources with the help of the XBPS source packages collection.”
+
+![Void Linux Neofetch][2]
+
+Like Solus, Void Linux is written from scratch and does not depend on any other operating system. It is a rolling release. Unlike the majority of Linux distros, Void does not use [systemd][3]. Instead, it uses [runit][4]. Another thing that separates Void from the rest of Linux distros is the fact that they use LibreSSL instead of OpenSSL. Void also offers support for the [musl C library][5]. In fact, when you download a .iso file, you can choose between `glibc` and `musl`.
+
+The homegrown package manager that Void uses is named X Binary Package System (or xbps). According to the [Void wiki][6], xbps has the following features:
+
+ * Supports multiple local and remote repositories (HTTP/HTTPS/FTP).
+ * RSA signed remote repositories
+ * SHA256 hashes for package metadata, files, and binary packages
+ * Supports package states (ala dpkg) to mitigate broken package * installs/updates
+ * Ability to resume partial package install/updates
+ * Ability to unpack only files that have been modified in * package updates
+ * Ability to use virtual packages
+ * Ability to check for incompatible shared libraries in reverse dependencies
+ * Ability to replace packages
+ * Ability to put packages on hold (to never update them)
+ * Ability to preserve/update configuration files
+ * Ability to force reinstallation of any installed package
+ * Ability to downgrade any installed package
+ * Ability to execute pre/post install/remove/update scriptlets
+ * Ability to check package integrity: missing files, hashes, missing or unresolved (reverse)dependencies, dangling or modified symlinks, etc.
+
+
+
+#### System Requirements
+
+According to the [Void Linux download page][7], the system requirements differ based on the architecture you choose. 64-bit images require “EM64T CPU, 96MB RAM, 350MB disk, Ethernet/WiFi for network installation”. 32-bit images require “Pentium 4 CPU (SSE2), 96MB RAM, 350MB disk, Ethernet / WiFi for network installation”. The [Void Linux handbook][8] recommends 700 MB for storage and also notes that “Flavor installations require more resources. How much more depends on the flavor.”
+
+Void also supports ARM devices. You can download [ready to boot images][9] for Raspberry Pi and several other [Raspberry Pi alternatives][10].
+
+[][11]
+
+Suggested read NomadBSD, a BSD for the Road
+
+### Void Linux Installation
+
+NOTE: you can either install [Void Linux download page][7] via a live image or use a net installer. I used a live image.
+
+I was able to successfully install Void Linux on my Dell Latitude D630. This laptop has an Intel Centrino Duo Core processor running at 2.00 GHz, NVIDIA Quadro NVS 135M graphics chip, and 4 GB of RAM.
+
+![Void Linux Mate][12]
+
+After I `dd`ed the 800 MB Void Linux MATE image to my thumb drive and inserted it, I booted my computer. I was very quickly presented with a vanilla MATE desktop. To start installing Void, I opened up a terminal and typed `sudo void-installer`. After using the default password `voidlinux`, the installer started. The installer reminded me a little bit of the terminal Debian installer, but it was laid out more like FreeBSD. It was divided into keyboard, network, source, hostname, locale, timezone, root password, user account, bootloader, partition, and filesystems sections.
+
+Most of the sections where self-explanatory. In the source section, you could choose whether to install the packages from the local image or grab them from the web. I chose local because I did not want to eat up bandwidth or take longer than I had to. The partition and filesystems sections are usually handled automatically by most installers, but not on Void. In this case, the first section allows you to use `cfdisk` to create partitions and the second allows to specify what filesystems will be used in those partitions. I followed the partition layout on [this page][13].
+
+If you install Void Linux from the local image, you definitely need to update your system. The [Void wiki][14] recommends running `xbps-install -Suv` until there are no more updates to install. It would probably be a good idea to reboot between batches of updates.
+
+### Experience with Void Linux
+
+So far in my Linux journey, Void Linux has been by far the most difficult. It feels more like I’m [using a BSD than a Linux distro][15]. (I guess that should not be surprising since Void was created by a former [NetBSD][16] developer who wanted to experiment with his own package manager.) The steps in the command line installer are closer to that of [FreeBSD][17] than Debian.
+
+Once Void was installed and updated, I went to work installing apps. Unfortunately, I ran into an issue with missing applications. Most of these applications come preinstalled on other distros. I had to install wget, unzip, git, nano, LibreOffice to name just a few.
+
+Void does not come with a graphical package manager. There are three unofficial frontends for the xbps package manager and [one is based on qt][18]. I ran into issues getting one of the Bash-based tools to work. It hadn’t been updated in 4-5 years.
+
+![Octoxbps][19]
+
+The xbps package manager is kinda interesting. It downloads the package and its signature to verify it. You can see the [terminal print out][20] from when I installed Mcomix. Xbps does not use the normal naming convention used in most package managers (ie `apt install` or `pacman -R`), instead, it uses `xbps-install`, `xbps-query`, `xbps-remove`. Luckily, the Void wiki had a [page][21] to show what xbps command relates to apt or dnf commands.
+
+[][22]
+
+Suggested read How To Solve: error: no such partition grub rescue in Ubuntu Linux
+
+The main repo for Void is located in Germany, so I decided to switch to a more local server to ease the burden on that server and to download packages quicker. Switching to a local mirror took a couple of tries because the documentation was not very clear. Documentation for Void is located in two different places: the [wiki][23] and the [handbook][24]. For me, the wiki’s [explanation][25] was confusing and I ran into issues. So, I searched for an answer on DuckDuckGo. From there I stumbled upon the [handbook’s instructions][26], which were much clearer. (The handbook is not linked on the Void Linux website and I had to stumble across it via search.)
+
+One of the nice things about Void is the speed of the system once everything was installed. It had the quickest boot time I have ever encountered. Overall, the system was very responsive. I did not run into any system crashes.
+
+### Final Thoughts
+
+Void Linux took more work to get to a useable state than any other distro I have tried. Even the BSDs I tried felt more polished than Void. I think the tagline “General purpose Linux” is misleading. It should be “Linux with hackers and tinkerers in mind”. Personally, I prefer using distros that are ready for me to use after installing. While it is an interesting combination of Linux and BSD ideas, I don’t think I’ll add Void to my short list of go-to distros.
+
+If you like tinkering with your Linux system or like building it from scratch, give [Void Linux][7] a try.
+
+Have you ever used Void Linux? What is your favorite Debian-based distro? Please let us know in the comments below.
+
+If you found this article interesting, please take a minute to share it on social media, Hacker News or [Reddit][27].
+
+--------------------------------------------------------------------------------
+
+via: https://itsfoss.com/void-linux/
+
+作者:[John Paul][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://itsfoss.com/author/john/
+[b]: https://github.com/lujun9972
+[1]: https://voidlinux.org/
+[2]: https://i2.wp.com/itsfoss.com/wp-content/uploads/2019/04/Void-Linux-Neofetch.png?resize=800%2C562&ssl=1
+[3]: https://en.wikipedia.org/wiki/Systemd
+[4]: http://smarden.org/runit/
+[5]: https://www.musl-libc.org/
+[6]: https://wiki.voidlinux.org/XBPS
+[7]: https://voidlinux.org/download/
+[8]: https://docs.voidlinux.org/installation/base-requirements.html
+[9]: https://voidlinux.org/download/#download-ready-to-boot-images-for-arm
+[10]: https://itsfoss.com/raspberry-pi-alternatives/
+[11]: https://itsfoss.com/nomadbsd/
+[12]: https://i0.wp.com/itsfoss.com/wp-content/uploads/2019/04/Void-Linux-Mate.png?resize=800%2C640&ssl=1
+[13]: https://wiki.voidlinux.org/Disks#Filesystems
+[14]: https://wiki.voidlinux.org/Post_Installation#Updates
+[15]: https://itsfoss.com/why-use-bsd/
+[16]: https://itsfoss.com/netbsd-8-release/
+[17]: https://www.freebsd.org/
+[18]: https://github.com/aarnt/octoxbps
+[19]: https://i1.wp.com/itsfoss.com/wp-content/uploads/2019/04/OctoXBPS.jpg?resize=800%2C534&ssl=1
+[20]: https://pastebin.com/g31n1bFT
+[21]: https://wiki.voidlinux.org/Rosetta_stone
+[22]: https://itsfoss.com/solve-error-partition-grub-rescue-ubuntu-linux/
+[23]: https://wiki.voidlinux.org/
+[24]: https://docs.voidlinux.org/
+[25]: https://wiki.voidlinux.org/XBPS#Official_Repositories
+[26]: https://docs.voidlinux.org/xbps/repositories/mirrors/changing.html
+[27]: http://reddit.com/r/linuxusersgroup
diff --git a/sources/tech/20190505 Blockchain 2.0 - An Introduction To Hyperledger Project (HLP) -Part 8.md b/sources/tech/20190505 Blockchain 2.0 - An Introduction To Hyperledger Project (HLP) -Part 8.md
new file mode 100644
index 0000000000..bb1d187ea4
--- /dev/null
+++ b/sources/tech/20190505 Blockchain 2.0 - An Introduction To Hyperledger Project (HLP) -Part 8.md
@@ -0,0 +1,88 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Blockchain 2.0 – An Introduction To Hyperledger Project (HLP) [Part 8])
+[#]: via: (https://www.ostechnix.com/blockchain-2-0-an-introduction-to-hyperledger-project-hlp/)
+[#]: author: (editor https://www.ostechnix.com/author/editor/)
+
+Blockchain 2.0 – An Introduction To Hyperledger Project (HLP) [Part 8]
+======
+
+![Introduction To Hyperledger Project][1]
+
+Once a new technology platform reaches a threshold level of popularity in terms of active development and commercial interests, major global companies and smaller start-ups alike rush to catch a slice of the pie. **Linux** was one such platform back in the day. Once the ubiquity of its applications was realized individuals, firms, and institutions started displaying their interest in it and by 2000 the **Linux foundation** was formed.
+
+The Linux foundation aims to standardize and develop Linux as a platform by sponsoring their development team. The Linux Foundation is a non-profit organization that is supported by software and IT behemoths such as Microsoft, Oracle, Samsung, Cisco, IBM, Intel among others[1]. This is excluding the hundreds of individual developers who offer their services for the betterment of the platform. Over the years the Linux foundation has taken many projects under its roof. The **Hyperledger Project** is their fastest growing one till date.
+
+Such consortium led development have a lot of advantages when it comes to furthering tech into usable useful forms. Developing the standards, libraries and all the back-end protocols for large scale projects are expensive and resource intensive without a shred of income generating from it. Hence, it makes sense for companies to pool in their resources to develop the common “boring” parts by supporting such organizations and later upon completing work on these standard parts to simply plug & play and customize their products afterwards. Apart from the economics of the model, such collaborative efforts also yield standards allowing for easier use and integration into aspiring products and services.
+
+Other major innovations that were once or are currently being developed following the said consortium model include standards for WiFi (The Wi-Fi alliance), Mobile Telephony etc.
+
+### Introduction to Hyperledger Project (HLP)
+
+The Hyperledger project was launched in December 2015 by the Linux foundation as is currently among the fastest growing project they’ve incubated. It’s an umbrella organization for collaborative efforts into developing and advancing tools & standards for [**blockchain**][2] based distributed ledger technologies(DLT). Major industry players supporting the project include **IBM** , **Intel** and **SAP Ariba** among [**others**][3]. The HLP aims to create frameworks for individuals and companies to create shared as well as closed blockchains as required to further their own requirements. The design principles include a strong tilt toward developing a globally deployable, scalable, robust platform with a focus on privacy, and future auditability[2]. It is also important to note that most of the blockchains proposed and the frame.
+
+### Development goals and structure: Making it plug & play
+
+Although enterprise facing platforms exist from the likes of the Ethereum alliance, HLP is by definition business facing and supported by industry behemoths who contribute and further development in the many modules that come under the HLP banner. The HLP incubates projects in development after their induction into the cause and after finishing work on it and correcting the knick-knacks rolls it out for the public. Members of the Hyperledger project contribute their own work such as how IBM contributed their Fabric platform for collaborative development. The codebase is absorbed and developed in house by the group in the project and rolled out for all members equally for their use.
+
+Such processes make the modules in HLP highly flexible plug-in frameworks which will support rapid development and roll-outs in enterprise settings. Furthermore, other comparable platforms are open **permission-less blockchains** or rather **public chains** by default and even though it is possible to adapt them to specific applications, HLP modules support the feature natively.
+
+The differences and use cases of public & private blockchains are covered more [**here**][4] in this comparative primer on the same.
+
+The Hyperledger project’s mission is four-fold according to **Brian Behlendorf** , the executive director of the project.
+
+They are:
+
+ 1. To create an enterprise grade DLT framework and standards which anyone can port to suit their specific industrial or personal needs.
+ 2. To give rise to a robust open source community to aid the ecosystem.
+ 3. To promote and further participation of industry members of the said ecosystem such as member firms.
+ 4. To host a neutral unbiased infrastructure for the HLP community to gather and share updates and developments regarding the same.
+
+
+
+The original document can be accessed [**here**][5]****.
+
+### Structure of the HLP
+
+The **HLP consists of 12 projects** that are classified as independent modules, each usually structured and working independently to develop their module. These are first studied for their capabilities and viability before being incubated. Proposals for additions can be made by any member of the organization. After the project is incubated active development ensues after which it is rolled out. The interoperability between these modules are given a high priority, hence regular communication between these groups are maintained by the community. Currently 4 of these projects are categorized as active. The active tag implies these are ready for use but not ready for a major release yet. These 4 are arguably the most significant or rather fundamental modules to furthering the blockchain revolution. We’ll look at the individual modules and their functionalities at a later time in detail. However, a brief description of a the Hyperledger Fabric platform, arguably the most popular among them follows.
+
+### Hyperledger Fabric
+
+The **Hyperledger Fabric** [2] is a fully open-source, permissioned (non-public) blockchain-based DLT platform that is designed keeping enterprise uses in mind. The platform provides features and is structured to fit the enterprise environment. It is highly modular allowing its developers to choose from different consensus protocols, **chain code protocols ([smart contracts][6])** , or identity management systems etc., as they go along. **It is a permissioned blockchain based platform** that’s makes use of an identity management system, meaning participants will be aware of each other’s identities which is required in an enterprise setting. Fabric allows for smart contract ( _ **“chaincode”, is the term that the Hyperledger team uses**_ ) development in a variety of mainstream programming languages including **Java** , **Javascript** , **Go** etc. This allows institutions and enterprises to make use of their existing talent in the area without hiring or re-training developers to develop their own smart contracts. Fabric also uses an execute-order-validate system to handle smart contracts for better reliability compared to the standard order-validate system that is used by other platforms providing smart contract functionality. Pluggable performance, identity management systems, DBMS, Consensus platforms etc. are other features of Fabric that keeps it miles ahead of its competition.
+
+### Conclusion
+
+Projects such as the Hyperledger Fabric platforms enable a faster rate of adoption of blockchain technology in mainstream use-cases. The Hyperledger community structure itself supports open governance principles and since all the projects are led as open source platforms, this improves the security and accountability that the teams exhibit in pushing out commitments.
+
+Since major applications of such projects involve working with enterprises to further development of platforms and standards, the Hyperledger project is currently at a great position with respect to comparable projects by others.
+
+**References:**
+
+ * **[1][Samsung takes a seat with Intel and IBM at the Linux Foundation | TheINQUIRER][7]**
+ * **[2] E. Androulaki et al., “Hyperledger Fabric: A Distributed Operating System for Permissioned Blockchains,” 2018.**
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/blockchain-2-0-an-introduction-to-hyperledger-project-hlp/
+
+作者:[editor][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/editor/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/Introduction-To-Hyperledger-Project-720x340.png
+[2]: https://www.ostechnix.com/blockchain-2-0-an-introduction/
+[3]: https://www.hyperledger.org/members
+[4]: https://www.ostechnix.com/blockchain-2-0-public-vs-private-blockchain-comparison/
+[5]: http://www.hitachi.com/rev/archive/2017/r2017_01/expert/index.html
+[6]: https://www.ostechnix.com/blockchain-2-0-explaining-smart-contracts-and-its-types/
+[7]: https://www.theinquirer.net/inquirer/news/2182438/samsung-takes-seat-intel-ibm-linux-foundation
diff --git a/sources/tech/20190505 Blockchain 2.0 - Public Vs Private Blockchain Comparison -Part 7.md b/sources/tech/20190505 Blockchain 2.0 - Public Vs Private Blockchain Comparison -Part 7.md
new file mode 100644
index 0000000000..a954e8514e
--- /dev/null
+++ b/sources/tech/20190505 Blockchain 2.0 - Public Vs Private Blockchain Comparison -Part 7.md
@@ -0,0 +1,106 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Blockchain 2.0 – Public Vs Private Blockchain Comparison [Part 7])
+[#]: via: (https://www.ostechnix.com/blockchain-2-0-public-vs-private-blockchain-comparison/)
+[#]: author: (editor https://www.ostechnix.com/author/editor/)
+
+Blockchain 2.0 – Public Vs Private Blockchain Comparison [Part 7]
+======
+
+![Public vs Private blockchain][1]
+
+The previous part of the [**Blockchain 2.0**][2] series explored the [**the state of Smart contracts**][3] now. This post intends to throw some light on the different types of blockchains that can be created. Each of these are used for vastly different applications and depending on the use cases, the protocol followed by each of these differ. Now let us go ahead and learn about **Public vs Private blockchain comparison** with Open source and proprietary technology.
+
+The fundamental three-layer structure of a blockchain based distributed ledger as we know is as follows:
+
+![][4]
+
+Figure 1 – Fundamental structure of Blockchain-based ledgers
+
+The differences between the types mentioned here is attributable primarily to the protocol that rests on the underlying blockchain. The protocol dictates rules for the participants and the behavior of the blockchain in response to the said participation.
+
+Remember to keep the following things in mind while reading through this article:
+
+ * Platforms such as these are always created to solve a use-case requirement. There is no one direction that the technology should take that is best. Blockchains for instance have tremendous applications and some of these might require dropping features that seem significant in other settings. **Decentralized storage** is a major example in this regard.
+ * Blockchains are basically database systems keeping track of information by timestamping and organizing data in the form of blocks. Creators of such blockchains can choose who has the right to make these blocks and perform alterations.
+ * Blockchains can be “centralized” as well, and participation in varying extents can be limited to those who this “central authority” deems eligible.
+
+
+
+Most blockchains are either **public** or **private**. Broadly speaking, public blockchains can be considered as being the equivalent of open source software and most private blockchains can be seen as proprietary platforms deriving from the public ones. The figure below should make the basic difference obvious to most of you.
+
+![][5]
+
+Figure 2 – Public vs Private blockchain comparison with Open source and Proprietary Technology
+
+This is not to say that all private blockchains are derived from open public ones. The most popular ones however usually are though.
+
+### Public Blockchains
+
+A public blockchain can be considered as a **permission-less platform** or **network**. Anyone with the knowhow and computing resources can participate in it. This will have the following implications:
+
+ * Anyone can join and participate in a public blockchain network. All the “participant” needs is a stable internet connection along with computing resources.
+ * Participation will include reading, writing, verifying, and providing consensus during transactions. An example for participating individuals would be **Bitcoin miners**. In exchange for participating in the network the miners are paid back in Bitcoins in this case.
+ * The platform is decentralized completely and fully redundant.
+ * Because of the decentralized nature, no one entity has complete control over the data recorded in the ledger. To validate a block all (or most) participants need to vet the data.
+ * This means that once information is verified and recorded, it cannot be altered easily. Even if it is, its impossible to not leave marks.
+ * The identity of participants remains anonymous by design in platforms such as **BITCOIN** and **LITECOIN**. These platforms by design aim for protecting and securing user identities. This is primarily a feature provided by the overlying protocol stack.
+ * Examples for public blockchain networks are **BITCOIN** , **LITECOIN** , **ETHEREUM** etc.
+ * Extensive decentralizations mean that gaining consensus on transactions might take a while compared to what is typically possible over blockchain ledger networks and throughput can be a challenge for large enterprises aiming for pushing a very high number of transactions every instant.
+ * The open participation and often the high number of such participants in open chains such as bitcoin add up to considerable initial investments in computing equipment and energy costs.
+
+
+
+### Private Blockchain
+
+In contrast, a private blockchain is a **permissioned blockchain**. Meaning:
+
+ * Permission to participate in the network is restricted and is presided over by the owner or institution overseeing the network. Meaning even though an individual will be able to store data and transact (send and receive payments for example), the validation and storage of these transactions will be done only by select participants.
+ * Participation even once permission is given by the central authority will be limited by terms. For instance, in case of a private blockchain network run by a financial institution, not every customer will have access to the entire blockchain ledger, and even among those with the permission, not everyone will be able to access everything. Permissions to access select services will be given by the central figure in this case. This is often referred to as **“channeling”**.
+ * Such systems have significantly larger throughput capabilities and also showcase much faster transaction speeds compared to their public counterparts because a block of information only needs to be validated by a select few.
+ * Security by design is something the public blockchains are renowned for. They achieve this
+by:
+ * Anonymizing participants,
+ * Distributed & redundant but encrypted storage on multiple nodes,
+ * Mass consensus required for creating and altering data.
+
+
+
+Private blockchains usually don’t feature any of these in their protocol. This makes the system only as secure as most cloud-based database systems currently in use.
+
+### A note for the wise
+
+An important point to note is this, the fact that they’re named public or private (or open or closed) has nothing to do with the underlying code base. The code or the literal foundations on which the platforms are based on may or may not be publicly available and or developed in either of these cases. **R3** is a **DLT** ( **D** istributed **L** edger **T** echnology) company that leads a public consortium of over 200 multinational institutions. Their aim is to further development of blockchain and related distributed ledger technology in the domain of finance and commerce. **Corda** is the product of this joint effort. R3 defines corda as a blockchain platform that is built specially for businesses. The codebase for the same is open source and developers all over the world are encouraged to contribute to the project. However, given its business facing nature and the needs it is meant to address, corda would be categorized as a permissioned closed blockchain platform. Meaning businesses can choose the participants of the network once it is deployed and choose the kind of information these participants can access through the use of natively available smart contract tools.
+
+While it is a reality that public platforms like Bitcoin and Ethereum are responsible for the widespread awareness and development going on in the space, it can still be argued that private blockchains designed for specific use cases in enterprise or business settings is what will lead monetary investments in the short run. These are the platforms most of us will see implemented the near future in practical ways.
+
+Read the next guide about Hyperledger project in this series.
+
+ * [**Blockchain 2.0 – An Introduction To Hyperledger Project (HLP)**][6]
+
+
+
+We are working on many interesting topics on Blockchain technology. Stay tuned!
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/blockchain-2-0-public-vs-private-blockchain-comparison/
+
+作者:[editor][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/editor/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/Public-Vs-Private-Blockchain-720x340.png
+[2]: https://www.ostechnix.com/blockchain-2-0-an-introduction/
+[3]: https://www.ostechnix.com/blockchain-2-0-ongoing-projects-the-state-of-smart-contracts-now/
+[4]: http://www.ostechnix.com/wp-content/uploads/2019/04/blockchain-architecture.png
+[5]: http://www.ostechnix.com/wp-content/uploads/2019/04/Public-vs-Private-blockchain-comparison.png
+[6]: https://www.ostechnix.com/blockchain-2-0-an-introduction-to-hyperledger-project-hlp/
diff --git a/sources/tech/20190505 Blockchain 2.0 - What Is Ethereum -Part 9.md b/sources/tech/20190505 Blockchain 2.0 - What Is Ethereum -Part 9.md
new file mode 100644
index 0000000000..a4669a2eb0
--- /dev/null
+++ b/sources/tech/20190505 Blockchain 2.0 - What Is Ethereum -Part 9.md
@@ -0,0 +1,83 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Blockchain 2.0 – What Is Ethereum [Part 9])
+[#]: via: (https://www.ostechnix.com/blockchain-2-0-what-is-ethereum/)
+[#]: author: (editor https://www.ostechnix.com/author/editor/)
+
+Blockchain 2.0 – What Is Ethereum [Part 9]
+======
+
+![Ethereum][1]
+
+In the previous guide of this series, we discussed about [**Hyperledger Project (HLP)**][2], a fastest growing product developed by **Linux Foundation**. In this guide, we are going to discuss about what is **Ethereum** and its features in detail. Many researchers opine that the future of the internet will be based on principles of decentralized computing. Decentralized computing was in fact among one of the broader objectives of having the internet in the first place. However, the internet took another turn owing to differences in computing capabilities available. While modern server capabilities make the case for server-side processing and execution, lack of decent mobile networks in large parts of the world make the case for the same on the client side. Modern smartphones now have **SoCs** (system on a chip or system on chip) capable of handling many such operations on the client side itself, however, limitations owing to retrieving and storing data securely still pushes developers to have server-side computing and data management. Hence, a bottleneck in regards to data transfer capabilities is currently observed.
+
+All of that might soon change because of advancements in distributed data storage and program execution platforms. [**The blockchain**][3], for the first time in the history of the internet, basically allows for secure data management and program execution on a distributed network of users as opposed to central servers.
+
+**Ethereum** is one such blockchain platform that gives developers access to frameworks and tools used to build and run applications on such a decentralized network. Though more popularly known in general for its cryptocurrency, Ethereum is more than just **ethers** (the cryptocurrency). It’s a full **Turing complete programming language** that is designed to develop and deploy **DApps** or **Distributed APPlications** [1]. We’ll look at DApps in more detail in one of the upcoming posts.
+
+Ethereum is an open-source, supports by default a public (non-permissioned) blockchain, and features an extensive smart contract platform **(Solidity)** underneath. Ethereum provides a virtual computing environment called the **Ethereum virtual machine** to run applications and [**smart contracts**][4] as well[2]. The Ethereum virtual machine runs on thousands of participating nodes all over the world, meaning the application data while being secure, is almost impossible to be tampered with or lost.
+
+### Getting behind Ethereum: What sets it apart
+
+In 2017, a 30 plus group of the who’s who of the tech and financial world got together to leverage the Ethereum blockchain’s capabilities. Thus, the **Ethereum Enterprise Alliance (EEA)** was formed by a long list of supporting members including _Microsoft_ , _JP Morgan_ , _Cisco Systems_ , _Deloitte_ , and _Accenture_. JP Morgan already has **Quorum** , a decentralized computing platform for financial services based on Ethereum currently in operation, while Microsoft has Ethereum based cloud services it markets through its Azure cloud business[3].
+
+### What is ether and how is it related to Ethereum
+
+Ethereum creator **Vitalik Buterin** understood the true value of a decentralized processing platform and the underlying blockchain tech that powered bitcoin. He failed to gain majority agreement for his idea of proposing that Bitcoin should be developed to support running distributed applications (DApps) and programs (now referred to as smart contracts).
+
+Hence in 2013, he proposed the idea of Ethereum in a white paper he published. The original white paper is still maintained and available for readers **[here][5]**. The idea was to develop a blockchain based platform to run smart contracts and applications designed to run on nodes and user devices instead of servers.
+
+The Ethereum system is often mistaken to just mean the cryptocurrency ether, however, it has to be reiterated that Ethereum is a full stack platform for developing applications and executing them as well and has been so since inception whereas bitcoin isn’t. **Ether is currently the second biggest cryptocurrency** by market capitalization and trades at an average of $170 per ether at the time of writing this article[4].
+
+### Features and technicalities of the platform[5]
+
+ * As we’ve already mentioned, the cryptocurrency called ether is simply one of the things the platform features. The purpose of the system is more than taking care of financial transactions. In fact, the key difference between the Ethereum platform and Bitcoin is in their scripting capabilities. Ethereum is developed in a Turing complete programming language which means it has scripting and application capabilities similar to other major programming languages. Developers require this feature to create DApps and complex smart contracts on the platform, a feature that bitcoin misses on.
+ * The “mining” process of ether is more stringent and complex. While specialized ASICs may be used to mine bitcoin, the basic hashing algorithm used by Ethereum **(EThash)** reduces the advantage that ASICs have in this regard.
+ * The transaction fees itself to be paid as an incentive to miners and node operators for running the network is calculated using a computational token called **Gas**. Gas improves the system’s resilience and resistance to external hacks and attacks by requiring the initiator of the transaction to pay ethers proportionate to the number of computational resources that are required to carry out that transaction. This is in contrast to other platforms such as Bitcoin where the transaction fee is measured in tandem with the transaction size. As such, the average transaction costs in Ethereum is radically less than Bitcoin. This also implies that running applications running on the Ethereum virtual machine will require a fee depending straight up on the computational problems that the application is meant to solve. Basically, the more complex an execution, the more the fee.
+ * The block time for Ethereum is estimated to be around _**10-15 seconds**_. The block time is the average time that is required to timestamp and create a block on the blockchain network. Compared to the 10+ minutes the same transaction will take on the bitcoin network, it becomes apparent that _**Ethereum is much faster**_ with respect to transactions and verification of blocks.
+ * _It is also interesting to note that there is no hard cap on the amount of ether that can be mined or the rate at which ether can be mined leading to less radical system design than bitcoin._
+
+
+
+### Conclusion
+
+While Ethereum is comparable and far outpaces similar platforms, the platform itself lacked a definite path for development until the Ethereum enterprise alliance started pushing it. While the definite push for enterprise developments are made by the Ethereum platform, it has to be noted that Ethereum also caters to small-time developers and individuals as well. As such developing the platform for end users and enterprises leave a lot of specific functionality out of the loop for Ethereum. Also, the blockchain model proposed and developed by the Ethereum foundation is a public model whereas the one proposed by projects such as the Hyperledger project is private and permissioned.
+
+While only time can tell which platform among the ones put forward by Ethereum, Hyperledger, and R3 Corda among others will find the most fans in real-world use cases, such systems do prove the validity behind the claim of a blockchain powered future.
+
+**References:**
+
+ * [1] [**Gabriel Nicholas, “Ethereum Is Coding’s New Wild West | WIRED,” Wired , 2017**][6].
+ * [2] [**What is Ethereum? — Ethereum Homestead 0.1 documentation**][7].
+ * [3] [**Ethereum, a Virtual Currency, Enables Transactions That Rival Bitcoin’s – The New York Times**][8].
+ * [4] [**Cryptocurrency Market Capitalizations | CoinMarketCap**][9].
+ * [5] [**Introduction — Ethereum Homestead 0.1 documentation**][10].
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/blockchain-2-0-what-is-ethereum/
+
+作者:[editor][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/editor/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2019/04/Ethereum-720x340.png
+[2]: https://www.ostechnix.com/blockchain-2-0-an-introduction-to-hyperledger-project-hlp/
+[3]: https://www.ostechnix.com/blockchain-2-0-an-introduction/
+[4]: https://www.ostechnix.com/blockchain-2-0-explaining-smart-contracts-and-its-types/
+[5]: https://github.com/ethereum/wiki/wiki/White-Paper
+[6]: https://www.wired.com/story/ethereum-is-codings-new-wild-west/
+[7]: http://www.ethdocs.org/en/latest/introduction/what-is-ethereum.html#ethereum-virtual-machine
+[8]: https://www.nytimes.com/2016/03/28/business/dealbook/ethereum-a-virtual-currency-enables-transactions-that-rival-bitcoins.html
+[9]: https://coinmarketcap.com/
+[10]: http://www.ethdocs.org/en/latest/introduction/index.html
diff --git a/sources/tech/20190505 Five Methods To Check Your Current Runlevel In Linux.md b/sources/tech/20190505 Five Methods To Check Your Current Runlevel In Linux.md
new file mode 100644
index 0000000000..2169f04e51
--- /dev/null
+++ b/sources/tech/20190505 Five Methods To Check Your Current Runlevel In Linux.md
@@ -0,0 +1,183 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Five Methods To Check Your Current Runlevel In Linux?)
+[#]: via: (https://www.2daygeek.com/check-current-runlevel-in-linux/)
+[#]: author: (Magesh Maruthamuthu https://www.2daygeek.com/author/magesh/)
+
+Five Methods To Check Your Current Runlevel In Linux?
+======
+
+A run level is an operating system state on Linux system.
+
+There are seven runlevels exist, numbered from zero to six.
+
+A system can be booted into any of the given runlevel. Run levels are identified by numbers.
+
+Each runlevel designates a different system configuration and allows access to a different combination of processes.
+
+By default Linux boots either to runlevel 3 or to runlevel 5.
+
+Only one runlevel is executed at a time on startup. It doesn’t execute one after another.
+
+The default runlevel for a system is specified in the /etc/inittab file for SysVinit system.
+
+But systemd systems doesn’t read this file and it uses the following file `/etc/systemd/system/default.target` to get default runlevel information.
+
+We can check the Linux system current runlevel using the below five methods.
+
+ * **`runlevel Command:`** runlevel prints the previous and current runlevel of the system.
+ * **`who Command:`** Print information about users who are currently logged in. It will print the runlevel information with “-r” option.
+ * **`systemctl Command:`** It controls the systemd system and service manager.
+ * **`Using /etc/inittab File:`** The default runlevel for a system is specified in the /etc/inittab file for SysVinit System.
+ * **`Using /etc/systemd/system/default.target File:`** The default runlevel for a system is specified in the /etc/systemd/system/default.target file for systemd System.
+
+
+
+Detailed runlevels information is described in the below table.
+
+**Runlevel** | **SysVinit System** | **systemd System**
+---|---|---
+0 | Shutdown or Halt the system | shutdown.target
+1 | Single user mode | rescue.target
+2 | Multiuser, without NFS | multi-user.target
+3 | Full multiuser mode | multi-user.target
+4 | unused | multi-user.target
+5 | X11 (Graphical User Interface) | graphical.target
+6 | reboot the system | reboot.target
+
+The system will execute the programs/service based on the runlevel.
+
+For SysVinit system, it will be execute from the following location.
+
+ * Run level 0 – /etc/rc.d/rc0.d/
+ * Run level 1 – /etc/rc.d/rc1.d/
+ * Run level 2 – /etc/rc.d/rc2.d/
+ * Run level 3 – /etc/rc.d/rc3.d/
+ * Run level 4 – /etc/rc.d/rc4.d/
+ * Run level 5 – /etc/rc.d/rc5.d/
+ * Run level 6 – /etc/rc.d/rc6.d/
+
+
+
+For systemd system, it will be execute from the following location.
+
+ * runlevel1.target – /etc/systemd/system/rescue.target
+ * runlevel2.target – /etc/systemd/system/multi-user.target.wants
+ * runlevel3.target – /etc/systemd/system/multi-user.target.wants
+ * runlevel4.target – /etc/systemd/system/multi-user.target.wants
+ * runlevel5.target – /etc/systemd/system/graphical.target.wants
+
+
+
+### 1) How To Check Your Current Runlevel In Linux Using runlevel Command?
+
+runlevel prints the previous and current runlevel of the system.
+
+```
+$ runlevel
+N 5
+```
+
+ * **`N:`** “N” indicates that the runlevel has not been changed since the system was booted.
+ * **`5:`** “5” indicates the current runlevel of the system.
+
+
+
+### 2) How To Check Your Current Runlevel In Linux Using who Command?
+
+Print information about users who are currently logged in. It will print the runlevel information with `-r` option.
+
+```
+$ who -r
+ run-level 5 2019-04-22 09:32
+```
+
+### 3) How To Check Your Current Runlevel In Linux Using systemctl Command?
+
+systemctl is used to controls the systemd system and service manager. systemd is system and service manager for Unix like operating systems.
+
+It can work as a drop-in replacement for sysvinit system. systemd is the first process get started by kernel and holding PID 1.
+
+systemd uses `.service` files Instead of bash scripts (SysVinit uses). systemd sorts all daemons into their own Linux cgroups and you can see the system hierarchy by exploring `/cgroup/systemd` file.
+
+```
+$ systemctl get-default
+graphical.target
+```
+
+### 4) How To Check Your Current Runlevel In Linux Using /etc/inittab File?
+
+The default runlevel for a system is specified in the /etc/inittab file for SysVinit System but systemd systemd doesn’t read the files.
+
+So, it will work only on SysVinit system and not in systemd system.
+
+```
+$ cat /etc/inittab
+# inittab is only used by upstart for the default runlevel.
+#
+# ADDING OTHER CONFIGURATION HERE WILL HAVE NO EFFECT ON YOUR SYSTEM.
+#
+# System initialization is started by /etc/init/rcS.conf
+#
+# Individual runlevels are started by /etc/init/rc.conf
+#
+# Ctrl-Alt-Delete is handled by /etc/init/control-alt-delete.conf
+#
+# Terminal gettys are handled by /etc/init/tty.conf and /etc/init/serial.conf,
+# with configuration in /etc/sysconfig/init.
+#
+# For information on how to write upstart event handlers, or how
+# upstart works, see init(5), init(8), and initctl(8).
+#
+# Default runlevel. The runlevels used are:
+# 0 - halt (Do NOT set initdefault to this)
+# 1 - Single user mode
+# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
+# 3 - Full multiuser mode
+# 4 - unused
+# 5 - X11
+# 6 - reboot (Do NOT set initdefault to this)
+#
+id:5:initdefault:
+```
+
+### 5) How To Check Your Current Runlevel In Linux Using /etc/systemd/system/default.target File?
+
+The default runlevel for a system is specified in the /etc/systemd/system/default.target file for systemd System.
+
+It doesn’t work on SysVinit system.
+
+```
+$ cat /etc/systemd/system/default.target
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+[Unit]
+Description=Graphical Interface
+Documentation=man:systemd.special(7)
+Requires=multi-user.target
+Wants=display-manager.service
+Conflicts=rescue.service rescue.target
+After=multi-user.target rescue.service rescue.target display-manager.service
+AllowIsolate=yes
+```
+--------------------------------------------------------------------------------
+
+via: https://www.2daygeek.com/check-current-runlevel-in-linux/
+
+作者:[Magesh Maruthamuthu][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.2daygeek.com/author/magesh/
+[b]: https://github.com/lujun9972
diff --git a/sources/tech/20190505 How To Navigate Directories Faster In Linux.md b/sources/tech/20190505 How To Navigate Directories Faster In Linux.md
new file mode 100644
index 0000000000..e0979b3915
--- /dev/null
+++ b/sources/tech/20190505 How To Navigate Directories Faster In Linux.md
@@ -0,0 +1,350 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (How To Navigate Directories Faster In Linux)
+[#]: via: (https://www.ostechnix.com/navigate-directories-faster-linux/)
+[#]: author: (sk https://www.ostechnix.com/author/sk/)
+
+How To Navigate Directories Faster In Linux
+======
+
+![Navigate Directories Faster In Linux][1]
+
+Today we are going to learn some command line productivity hacks. As you already know, we use “cd” command to move between a stack of directories in Unix-like operating systems. In this guide I am going to teach you how to navigate directories faster without having to use “cd” command often. There could be many ways, but I only know the following five methods right now! I will keep updating this guide when I came across any methods or utilities to achieve this task in the days to come.
+
+### Five Different Methods To Navigate Directories Faster In Linux
+
+##### Method 1: Using “Pushd”, “Popd” And “Dirs” Commands
+
+This is the most frequent method that I use everyday to navigate between a stack of directories. The “Pushd”, “Popd”, and “Dirs” commands comes pre-installed in most Linux distributions, so don’t bother with installation. These trio commands are quite useful when you’re working in a deep directory structure and scripts. For more details, check our guide in the link given below.
+
+ * **[How To Use Pushd, Popd And Dirs Commands For Faster CLI Navigation][2]**
+
+
+
+##### Method 2: Using “bd” utility
+
+The “bd” utility also helps you to quickly go back to a specific parent directory without having to repeatedly typing “cd ../../.” on your Bash.
+
+Bd is also available in the [**Debian extra**][3] and [**Ubuntu universe**][4] repositories. So, you can install it using “apt-get” package manager in Debian, Ubuntu and other DEB based systems as shown below:
+
+```
+$ sudo apt-get update
+
+$ sudo apt-get install bd
+```
+
+For other distributions, you can install as shown below.
+
+```
+$ sudo wget --no-check-certificate -O /usr/local/bin/bd https://raw.github.com/vigneshwaranr/bd/master/bd
+
+$ sudo chmod +rx /usr/local/bin/bd
+
+$ echo 'alias bd=". bd -si"' >> ~/.bashrc
+
+$ source ~/.bashrc
+```
+
+To enable auto completion, run:
+
+```
+$ sudo wget -O /etc/bash_completion.d/bd https://raw.github.com/vigneshwaranr/bd/master/bash_completion.d/bd
+
+$ source /etc/bash_completion.d/bd
+```
+
+The Bd utility has now been installed. Let us see few examples to understand how to quickly move through stack of directories using this tool.
+
+Create some directories.
+
+```
+$ mkdir -p dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10
+```
+
+The above command will create a hierarchy of directories. Let us check [**directory structure**][5] using command:
+
+```
+$ tree dir1/
+dir1/
+└── dir2
+ └── dir3
+ └── dir4
+ └── dir5
+ └── dir6
+ └── dir7
+ └── dir8
+ └── dir9
+ └── dir10
+
+9 directories, 0 files
+```
+
+Alright, we have now 10 directories. Let us say you’re currently in 7th directory i.e dir7.
+
+```
+$ pwd
+/home/sk/dir1/dir2/dir3/dir4/dir5/dir6/dir7
+```
+
+You want to move to dir3. Normally you would type:
+
+```
+$ cd /home/sk/dir1/dir2/dir3
+```
+
+Right? yes! But it not necessary though! To go back to dir3, just type:
+
+```
+$ bd dir3
+```
+
+Now you will be in dir3.
+
+![][6]
+
+Navigate Directories Faster In Linux Using “bd” Utility
+
+Easy, isn’t it? It supports auto complete, so you can just type the partial name of a directory and hit the tab key to auto complete the full path.
+
+To check the contents of a specific parent directory, you don’t need to inside that particular directory. Instead, just type:
+
+```
+$ ls `bd dir1`
+```
+
+The above command will display the contents of dir1 from your current working directory.
+
+For more details, check out the following GitHub page.
+
+ * [**bd GitHub repository**][7]
+
+
+
+##### Method 3: Using “Up” Shell script
+
+The “Up” is a shell script allows you to move quickly to your parent directory. It works well on many popular shells such as Bash, Fish, and Zsh etc. Installation is absolutely easy too!
+
+To install “Up” on **Bash** , run the following commands one bye:
+
+```
+$ curl --create-dirs -o ~/.config/up/up.sh https://raw.githubusercontent.com/shannonmoeller/up/master/up.sh
+
+$ echo 'source ~/.config/up/up.sh' >> ~/.bashrc
+```
+
+The up script registers the “up” function and some completion functions via your “.bashrc” file.
+
+Update the changes using command:
+
+```
+$ source ~/.bashrc
+```
+
+On **zsh** :
+
+```
+$ curl --create-dirs -o ~/.config/up/up.sh https://raw.githubusercontent.com/shannonmoeller/up/master/up.sh
+
+$ echo 'source ~/.config/up/up.sh' >> ~/.zshrc
+```
+
+The up script registers the “up” function and some completion functions via your “.zshrc” file.
+
+Update the changes using command:
+
+```
+$ source ~/.zshrc
+```
+
+On **fish** :
+
+```
+$ curl --create-dirs -o ~/.config/up/up.fish https://raw.githubusercontent.com/shannonmoeller/up/master/up.fish
+
+$ source ~/.config/up/up.fish
+```
+
+The up script registers the “up” function and some completion functions via “funcsave”.
+
+Now it is time to see some examples.
+
+Let us create some directories.
+
+```
+$ mkdir -p dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10
+```
+
+Let us say you’re in 7th directory i.e dir7.
+
+```
+$ pwd
+/home/sk/dir1/dir2/dir3/dir4/dir5/dir6/dir7
+```
+
+You want to move to dir3. Using “cd” command, we can do this by typing the following command:
+
+```
+$ cd /home/sk/dir1/dir2/dir3
+```
+
+But it is really easy to go back to dir3 using “up” script:
+
+```
+$ up dir3
+```
+
+That’s it. Now you will be in dir3. To go one directory up, just type:
+
+```
+$ up 1
+```
+
+To go back two directory type:
+
+```
+$ up 2
+```
+
+It’s that simple. Did I type the full path? Nope. Also it supports tab completion. So just type the partial directory name and hit the tab to complete the full path.
+
+For more details, check out the GitHub page.
+
+ * [**Up GitHub Repository**][8]
+
+
+
+Please be mindful that “bd” and “up” tools can only help you to go backward i.e to the parent directory of the current working directory. You can’t move forward. If you want to switch to dir10 from dir5, you can’t! Instead, you need to use “cd” command to switch to dir10. These two utilities are meant for quickly moving you to the parent directory!
+
+##### Method 4: Using “Shortcut” tool
+
+This is yet another handy method to switch between different directories quickly and easily. This is somewhat similar to [**alias**][9] command. In this method, we create shortcuts to frequently used directories and use the shortcut name to go to that respective directory without having to type the path. If you’re working in deep directory structure and stack of directories, this method will greatly save some time. You can learn how it works in the guide given below.
+
+ * [**Create Shortcuts To The Frequently Used Directories In Your Shell**][10]
+
+
+
+##### Method 5: Using “CDPATH” Environment variable
+
+This method doesn’t require any installation. **CDPATH** is an environment variable. It is somewhat similar to **PATH** variable which contains many different paths concatenated using **‘:’** (colon). The main difference between PATH and CDPATH variables is the PATH variable is usable with all commands whereas CDPATH works only for **cd** command.
+
+I have the following directory structure.
+
+![][11]
+
+Directory structure
+
+As you see, there are four child directories under a parent directory named “ostechnix”.
+
+Now add this parent directory to CDPATH using command:
+
+```
+$ export CDPATH=~/ostechnix
+```
+
+You now can instantly cd to the sub-directories of the parent directory (i.e **~/ostechnix** in our case) from anywhere in the filesystem.
+
+For instance, currently I am in **/var/mail/** location.
+
+![][12]
+
+To cd into **~/ostechnix/Linux/** directory, we don’t have to use the full path of the directory as shown below:
+
+```
+$ cd ~/ostechnix/Linux
+```
+
+Instead, just mention the name of the sub-directory you want to switch to:
+
+```
+$ cd Linux
+```
+
+It will automatically cd to **~/ostechnix/Linux** directory instantly.
+
+![][13]
+
+As you can see in the above output, I didn’t use “cd ”. Instead, I just used “cd ” command.
+
+Please note that CDPATH will allow you to quickly navigate to only one child directory of the parent directory set in CDPATH variable. It doesn’t much help for navigating a stack of directories (directories inside sub-directories, of course).
+
+To find the values of CDPATH variable, run:
+
+```
+$ echo $CDPATH
+```
+
+Sample output would be:
+
+```
+/home/sk/ostechnix
+```
+
+**Set multiple values to CDPATH**
+
+Similar to PATH variable, we can also set multiple values (more than one directory) to CDPATH separated by colon (:).
+
+```
+$ export CDPATH=.:~/ostechnix:/etc:/var:/opt
+```
+
+**Make the changes persistent**
+
+As you already know, the above command (export) will only keep the values of CDPATH until next reboot. To permanently set the values of CDPATH, just add them to your **~/.bashrc** or **~/.bash_profile** files.
+
+```
+$ vi ~/.bash_profile
+```
+
+Add the values:
+
+```
+export CDPATH=.:~/ostechnix:/etc:/var:/opt
+```
+
+Hit **ESC** key and type **:wq** to save and exit.
+
+Apply the changes using command:
+
+```
+$ source ~/.bash_profile
+```
+
+**Clear CDPATH**
+
+To clear the values of CDPATH, use **export CDPATH=””**. Or, simply delete the entire line from **~/.bashrc** or **~/.bash_profile** files.
+
+In this article, you have learned the different ways to navigate directory stack faster and easier in Linux. As you can see, it’s not that difficult to browse a pile of directories faster. Now stop typing “cd ../../..” endlessly by using these tools. If you know any other worth trying tool or method to navigate directories faster, feel free to let us know in the comment section below. I will review and add them in this guide.
+
+And, that’s all for now. Hope this helps. More good stuffs to come. Stay tuned!
+
+Cheers!
+
+--------------------------------------------------------------------------------
+
+via: https://www.ostechnix.com/navigate-directories-faster-linux/
+
+作者:[sk][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://www.ostechnix.com/author/sk/
+[b]: https://github.com/lujun9972
+[1]: https://www.ostechnix.com/wp-content/uploads/2017/12/Navigate-Directories-Faster-In-Linux-720x340.png
+[2]: https://www.ostechnix.com/use-pushd-popd-dirs-commands-faster-cli-navigation/
+[3]: https://tracker.debian.org/pkg/bd
+[4]: https://launchpad.net/ubuntu/+source/bd
+[5]: https://www.ostechnix.com/view-directory-tree-structure-linux/
+[6]: http://www.ostechnix.com/wp-content/uploads/2017/12/Navigate-Directories-Faster-1.png
+[7]: https://github.com/vigneshwaranr/bd
+[8]: https://github.com/shannonmoeller/up
+[9]: https://www.ostechnix.com/the-alias-and-unalias-commands-explained-with-examples/
+[10]: https://www.ostechnix.com/create-shortcuts-frequently-used-directories-shell/
+[11]: http://www.ostechnix.com/wp-content/uploads/2018/12/tree-command-output.png
+[12]: http://www.ostechnix.com/wp-content/uploads/2018/12/pwd-command.png
+[13]: http://www.ostechnix.com/wp-content/uploads/2018/12/cdpath.png
diff --git a/sources/tech/20190506 Use udica to build SELinux policy for containers.md b/sources/tech/20190506 Use udica to build SELinux policy for containers.md
new file mode 100644
index 0000000000..4e31288a43
--- /dev/null
+++ b/sources/tech/20190506 Use udica to build SELinux policy for containers.md
@@ -0,0 +1,199 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Use udica to build SELinux policy for containers)
+[#]: via: (https://fedoramagazine.org/use-udica-to-build-selinux-policy-for-containers/)
+[#]: author: (Lukas Vrabec https://fedoramagazine.org/author/lvrabec/)
+
+Use udica to build SELinux policy for containers
+======
+
+![][1]
+
+While modern IT environments move towards Linux containers, the need to secure these environments is as relevant as ever. Containers are a process isolation technology. While containers can be a defense mechanism, they only excel when combined with SELinux.
+
+Fedora SELinux engineering built a new standalone tool, **udica** , to generate SELinux policy profiles for containers by automatically inspecting them. This article focuses on why _udica_ is needed in the container world, and how it makes SELinux and containers work better together. You’ll find examples of SELinux separation for containers that let you avoid turning protection off because the generic SELinux type _container_t_ is too tight. With _udica_ you can easily customize the policy with limited SELinux policy writing skills.
+
+### SELinux technology
+
+SELinux is a security technology that brings proactive security to Linux systems. It’s a labeling system that assigns a label to all _subjects_ (processes and users) and _objects_ (files, directories, sockets, etc.). These labels are then used in a security policy that controls access throughout the system. It’s important to mention that what’s not allowed in an SELinux security policy is denied by default. The policy rules are enforced by the kernel. This security technology has been in use on Fedora for several years. A real example of such a rule is:
+
+```
+allow httpd_t httpd_log_t: file { append create getattr ioctl lock open read setattr };
+```
+
+The rule allows any process labeled as _httpd_t_ ****to create, append, read and lock files labeled as _httpd_log_t_. Using the _ps_ command, you can list all processes with their labels:
+
+```
+$ ps -efZ | grep httpd
+system_u:system_r:httpd_t:s0 root 13911 1 0 Apr14 ? 00:05:14 /usr/sbin/httpd -DFOREGROUND
+...
+```
+
+To see which objects are labeled as httpd_log_t, use _semanage_ :
+
+```
+# semanage fcontext -l | grep httpd_log_t
+/var/log/httpd(/.)? all files system_u:object_r:httpd_log_t:s0
+/var/log/nginx(/.)? all files system_u:object_r:httpd_log_t:s0
+...
+```
+
+The SELinux security policy for Fedora is shipped in the _selinux-policy_ RPM package.
+
+### SELinux vs. containers
+
+In Fedora, the _container-selinux_ RPM package provides a generic SELinux policy for all containers started by engines like _podman_ or _docker_. Its main purposes are to protect the host system against a container process, and to separate containers from each other. For instance, containers confined by SELinux with the process type _container_t_ can only read/execute files in _/usr_ and write to _container_file_t_ ****files type on host file system. To prevent attacks by containers on each other, Multi-Category Security (MCS) is used.
+
+Using only one generic policy for containers is problematic, because of the huge variety of container usage. On one hand, the default container type ( _container_t_ ) is often too strict. For example:
+
+ * [Fedora SilverBlue][2] needs containers to read/write a user’s home directory
+ * [Fluentd][3] project needs containers to be able to read logs in the _/var/log_ directory
+
+
+
+On the other hand, the default container type could be too loose for certain use cases:
+
+ * It has no SELinux network controls — all container processes can bind to any network port
+ * It has no SELinux control on [Linux capabilities][4] — all container processes can use all capabilities
+
+
+
+There is one solution to handle both use cases: write a custom SELinux security policy for the container. This can be tricky, because SELinux expertise is required. For this purpose, the _udica_ tool was created.
+
+### Introducing udica
+
+Udica generates SELinux security profiles for containers. Its concept is based on the “block inheritance” feature inside the [common intermediate language][5] (CIL) supported by SELinux userspace. The tool creates a policy that combines:
+
+ * Rules inherited from specified CIL blocks (templates), and
+ * Rules discovered by inspection of container JSON file, which contains mountpoints and ports definitions
+
+
+
+You can load the final policy immediately, or move it to another system to load into the kernel. Here’s an example, using a container that:
+
+ * Mounts _/home_ as read only
+ * Mounts _/var/spool_ as read/write
+ * Exposes port _tcp/21_
+
+
+
+The container starts with this command:
+
+```
+# podman run -v /home:/home:ro -v /var/spool:/var/spool:rw -p 21:21 -it fedora bash
+```
+
+The default container type ( _container_t_ ) doesn’t allow any of these three actions. To prove it, you could use the _sesearch_ tool to query that the _allow_ rules are present on system:
+
+```
+# sesearch -A -s container_t -t home_root_t -c dir -p read
+```
+
+There’s no _allow_ rule present that lets a process labeled as _container_t_ access a directory labeled _home_root_t_ (like the _/home_ directory). The same situation occurs with _/var/spool_ , which is labeled _var_spool_t:_
+
+```
+# sesearch -A -s container_t -t var_spool_t -c dir -p read
+```
+
+On the other hand, the default policy completely allows network access.
+
+```
+# sesearch -A -s container_t -t port_type -c tcp_socket
+allow container_net_domain port_type:tcp_socket { name_bind name_connect recv_msg send_msg };
+allow sandbox_net_domain port_type:tcp_socket { name_bind name_connect recv_msg send_msg };
+```
+
+### Securing the container
+
+It would be great to restrict this access and allow the container to bind just on TCP port _21_ or with the same label. Imagine you find an example container using _podman ps_ whose ID is _37a3635afb8f_ :
+
+```
+# podman ps -q
+37a3635afb8f
+```
+
+You can now inspect the container and pass the inspection file to the _udica_ tool. The name for the new policy is _my_container_.
+
+```
+# podman inspect 37a3635afb8f > container.json
+# udica -j container.json my_container
+Policy my_container with container id 37a3635afb8f created!
+
+Please load these modules using:
+ # semodule -i my_container.cil /usr/share/udica/templates/{base_container.cil,net_container.cil,home_container.cil}
+
+Restart the container with: "--security-opt label=type:my_container.process" parameter
+```
+
+That’s it! You just created a custom SELinux security policy for the example container. Now you can load this policy into the kernel and make it active. The _udica_ output above even tells you the command to use:
+
+```
+# semodule -i my_container.cil /usr/share/udica/templates/{base_container.cil,net_container.cil,home_container.cil}
+```
+
+Now you must restart the container to allow the container engine to use the new custom policy:
+
+```
+# podman run --security-opt label=type:my_container.process -v /home:/home:ro -v /var/spool:/var/spool:rw -p 21:21 -it fedora bash
+```
+
+The example container is now running in the newly created _my_container.process_ SELinux process type:
+
+```
+# ps -efZ | grep my_container.process
+unconfined_u:system_r:container_runtime_t:s0-s0:c0.c1023 root 2275 434 1 13:49 pts/1 00:00:00 podman run --security-opt label=type:my_container.process -v /home:/home:ro -v /var/spool:/var/spool:rw -p 21:21 -it fedora bash
+system_u:system_r:my_container.process:s0:c270,c963 root 2317 2305 0 13:49 pts/0 00:00:00 bash
+```
+
+### Seeing the results
+
+The command _sesearch_ now shows _allow_ rules for accessing _/home_ and _/var/spool:_
+
+```
+# sesearch -A -s my_container.process -t home_root_t -c dir -p read
+allow my_container.process home_root_t:dir { getattr ioctl lock open read search };
+# sesearch -A -s my_container.process -t var_spool_t -c dir -p read
+allow my_container.process var_spool_t:dir { add_name getattr ioctl lock open read remove_name search write }
+```
+
+The new custom SELinux policy also allows _my_container.process_ to bind only to TCP/UDP ports labeled the same as TCP port 21:
+
+```
+# semanage port -l | grep 21 | grep ftp
+ ftp_port_t tcp 21, 989, 990
+# sesearch -A -s my_container.process -c tcp_socket -p name_bind
+ allow my_container.process ftp_port_t:tcp_socket name_bind;
+```
+
+### Conclusion
+
+The _udica_ tool helps you create SELinux policies for containers based on an inspection file without any SELinux expertise required. Now you can increase the security of containerized environments. Sources are available on [GitHub][6], and an RPM package is available in Fedora repositories for Fedora 28 and later.
+
+* * *
+
+*Photo by _[_Samuel Zeller_][7]_ on *[ _Unsplash_.][8]
+
+--------------------------------------------------------------------------------
+
+via: https://fedoramagazine.org/use-udica-to-build-selinux-policy-for-containers/
+
+作者:[Lukas Vrabec][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://fedoramagazine.org/author/lvrabec/
+[b]: https://github.com/lujun9972
+[1]: https://fedoramagazine.org/wp-content/uploads/2019/05/udica-816x345.jpg
+[2]: https://silverblue.fedoraproject.org
+[3]: https://www.fluentd.org
+[4]: http://man7.org/linux/man-pages/man7/capabilities.7.html
+[5]: https://en.wikipedia.org/wiki/Common_Intermediate_Language
+[6]: https://github.com/containers/udica
+[7]: https://unsplash.com/photos/KVG-XMOs6tw?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
+[8]: https://unsplash.com/search/photos/lockers?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText
diff --git a/sources/tech/20190507 Prefer table driven tests.md b/sources/tech/20190507 Prefer table driven tests.md
new file mode 100644
index 0000000000..0a41860207
--- /dev/null
+++ b/sources/tech/20190507 Prefer table driven tests.md
@@ -0,0 +1,521 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Prefer table driven tests)
+[#]: via: (https://dave.cheney.net/2019/05/07/prefer-table-driven-tests)
+[#]: author: (Dave Cheney https://dave.cheney.net/author/davecheney)
+
+Prefer table driven tests
+======
+
+I’m a big fan of testing, specifically [unit testing][1] and TDD ([done correctly][2], of course). A practice that has grown around Go projects is the idea of a table driven test. This post explores the how and why of writing a table driven test.
+
+Let’s say we have a function that splits strings:
+
+```
+// Split slices s into all substrings separated by sep and
+// returns a slice of the substrings between those separators.
+func Split(s, sep string) []string {
+ var result []string
+ i := strings.Index(s, sep)
+ for i > -1 {
+ result = append(result, s[:i])
+ s = s[i+len(sep):]
+ i = strings.Index(s, sep)
+ }
+ return append(result, s)
+}
+```
+
+In Go, unit tests are just regular Go functions (with a few rules) so we write a unit test for this function starting with a file in the same directory, with the same package name, `strings`.
+
+```
+package split
+
+import (
+ "reflect"
+ "testing"
+)
+
+func TestSplit(t *testing.T) {
+ got := Split("a/b/c", "/")
+ want := []string{"a", "b", "c"}
+ if !reflect.DeepEqual(want, got) {
+ t.Fatalf("expected: %v, got: %v", want, got)
+ }
+}
+```
+
+Tests are just regular Go functions with a few rules:
+
+ 1. The name of the test function must start with `Test`.
+ 2. The test function must take one argument of type `*testing.T`. A `*testing.T` is a type injected by the testing package itself, to provide ways to print, skip, and fail the test.
+
+
+
+In our test we call `Split` with some inputs, then compare it to the result we expected.
+
+### Code coverage
+
+The next question is, what is the coverage of this package? Luckily the go tool has a built in branch coverage. We can invoke it like this:
+
+```
+% go test -coverprofile=c.out
+PASS
+coverage: 100.0% of statements
+ok split 0.010s
+```
+
+Which tells us we have 100% branch coverage, which isn’t really surprising, there’s only one branch in this code.
+
+If we want to dig in to the coverage report the go tool has several options to print the coverage report. We can use `go tool cover -func` to break down the coverage per function:
+
+```
+% go tool cover -func=c.out
+split/split.go:8: Split 100.0%
+total: (statements) 100.0%
+```
+
+Which isn’t that exciting as we only have one function in this package, but I’m sure you’ll find more exciting packages to test.
+
+#### Spray some .bashrc on that
+
+This pair of commands is so useful for me I have a shell alias which runs the test coverage and the report in one command:
+
+```
+cover () {
+ local t=$(mktemp -t cover)
+ go test $COVERFLAGS -coverprofile=$t $@ \
+ && go tool cover -func=$t \
+ && unlink $t
+}
+```
+
+### Going beyond 100% coverage
+
+So, we wrote one test case, got 100% coverage, but this isn’t really the end of the story. We have good branch coverage but we probably need to test some of the boundary conditions. For example, what happens if we try to split it on comma?
+
+```
+func TestSplitWrongSep(t *testing.T) {
+ got := Split("a/b/c", ",")
+ want := []string{"a/b/c"}
+ if !reflect.DeepEqual(want, got) {
+ t.Fatalf("expected: %v, got: %v", want, got)
+ }
+}
+```
+
+Or, what happens if there are no separators in the source string?
+
+```
+func TestSplitNoSep(t *testing.T) {
+ got := Split("abc", "/")
+ want := []string{"abc"}
+ if !reflect.DeepEqual(want, got) {
+ t.Fatalf("expected: %v, got: %v", want, got)
+ }
+}
+```
+
+We’re starting build a set of test cases that exercise boundary conditions. This is good.
+
+### Introducing table driven tests
+
+However the there is a lot of duplication in our tests. For each test case only the input, the expected output, and name of the test case change. Everything else is boilerplate. What we’d like to to set up all the inputs and expected outputs and feel them to a single test harness. This is a great time to introduce table driven testing.
+
+```
+func TestSplit(t *testing.T) {
+ type test struct {
+ input string
+ sep string
+ want []string
+ }
+
+ tests := []test{
+ {input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ {input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ {input: "abc", sep: "/", want: []string{"abc"}},
+ }
+
+ for _, tc := range tests {
+ got := Split(tc.input, tc.sep)
+ if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("expected: %v, got: %v", tc.want, got)
+ }
+ }
+}
+```
+
+We declare a structure to hold our test inputs and expected outputs. This is our table. The `tests` structure is usually a local declaration because we want to reuse this name for other tests in this package.
+
+In fact, we don’t even need to give the type a name, we can use an anonymous struct literal to reduce the boilerplate like this:
+
+```
+func TestSplit(t *testing.T) {
+ tests := []struct {
+ input string
+ sep string
+ want []string
+ }{
+ {input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ {input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ {input: "abc", sep: "/", want: []string{"abc"}},
+ }
+
+ for _, tc := range tests {
+ got := Split(tc.input, tc.sep)
+ if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("expected: %v, got: %v", tc.want, got)
+ }
+ }
+}
+```
+
+Now, adding a new test is a straight forward matter; simply add another line the `tests` structure. For example, what will happen if our input string has a trailing separator?
+
+```
+{input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+{input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+{input: "abc", sep: "/", want: []string{"abc"}},
+{input: "a/b/c/", sep: "/", want: []string{"a", "b", "c"}}, // trailing sep
+```
+
+But, when we run `go test`, we get
+
+```
+% go test
+--- FAIL: TestSplit (0.00s)
+ split_test.go:24: expected: [a b c], got: [a b c ]
+```
+
+Putting aside the test failure, there are a few problems to talk about.
+
+The first is by rewriting each test from a function to a row in a table we’ve lost the name of the failing test. We added a comment in the test file to call out this case, but we don’t have access to that comment in the `go test` output.
+
+There are a few ways to resolve this. You’ll see a mix of styles in use in Go code bases because the table testing idiom is evolving as people continue to experiment with the form.
+
+### Enumerating test cases
+
+As tests are stored in a slice we can print out the index of the test case in the failure message:
+
+```
+func TestSplit(t *testing.T) {
+ tests := []struct {
+ input string
+ sep . string
+ want []string
+ }{
+ {input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ {input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ {input: "abc", sep: "/", want: []string{"abc"}},
+ {input: "a/b/c/", sep: "/", want: []string{"a", "b", "c"}},
+ }
+
+ for i, tc := range tests {
+ got := Split(tc.input, tc.sep)
+ if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("test %d: expected: %v, got: %v", i+1, tc.want, got)
+ }
+ }
+}
+```
+
+Now when we run `go test` we get this
+
+```
+% go test
+--- FAIL: TestSplit (0.00s)
+ split_test.go:24: test 4: expected: [a b c], got: [a b c ]
+```
+
+Which is a little better. Now we know that the fourth test is failing, although we have to do a little bit of fudging because slice indexing—and range iteration—is zero based. This requires consistency across your test cases; if some use zero base reporting and others use one based, it’s going to be confusing. And, if the list of test cases is long, it could be difficult to count braces to figure out exactly which fixture constitutes test case number four.
+
+### Give your test cases names
+
+Another common pattern is to include a name field in the test fixture.
+
+```
+func TestSplit(t *testing.T) {
+ tests := []struct {
+ name string
+ input string
+ sep string
+ want []string
+ }{
+ {name: "simple", input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ {name: "wrong sep", input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ {name: "no sep", input: "abc", sep: "/", want: []string{"abc"}},
+ {name: "trailing sep", input: "a/b/c/", sep: "/", want: []string{"a", "b", "c"}},
+ }
+
+ for _, tc := range tests {
+ got := Split(tc.input, tc.sep)
+ if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("%s: expected: %v, got: %v", tc.name, tc.want, got)
+ }
+ }
+}
+```
+
+Now when the test fails we have a descriptive name for what the test was doing. We no longer have to try to figure it out from the output—also, now have a string we can search on.
+
+```
+% go test
+--- FAIL: TestSplit (0.00s)
+ split_test.go:25: trailing sep: expected: [a b c], got: [a b c ]
+```
+
+We can dry this up even more using a map literal syntax:
+
+```
+func TestSplit(t *testing.T) {
+ tests := map[string]struct {
+ input string
+ sep string
+ want []string
+ }{
+ "simple": {input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ "wrong sep": {input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ "no sep": {input: "abc", sep: "/", want: []string{"abc"}},
+ "trailing sep": {input: "a/b/c/", sep: "/", want: []string{"a", "b", "c"}},
+ }
+
+ for name, tc := range tests {
+ got := Split(tc.input, tc.sep)
+ if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("%s: expected: %v, got: %v", name, tc.want, got)
+ }
+ }
+}
+```
+
+Using a map literal syntax we define our test cases not as a slice of structs, but as map of test names to test fixtures. There’s also a side benefit of using a map that is going to potentially improve the utility of our tests.
+
+Map iteration order is _undefined_ 1 This means each time we run `go test`, our tests are going to be potentially run in a different order.
+
+This is super useful for spotting conditions where test pass when run in statement order, but not otherwise. If you find that happens you probably have some global state that is being mutated by one test with subsequent tests depending on that modification.
+
+### Introducing sub tests
+
+Before we fix the failing test there are a few other issues to address in our table driven test harness.
+
+The first is we’re calling `t.Fatalf` when one of the test cases fails. This means after the first failing test case we stop testing the other cases. Because test cases are run in an undefined order, if there is a test failure, it would be nice to know if it was the only failure or just the first.
+
+The testing package would do this for us if we go to the effort to write out each test case as its own function, but that’s quite verbose. The good news is since Go 1.7 a new feature was added that lets us do this easily for table driven tests. They’re called [sub tests][3].
+
+```
+func TestSplit(t *testing.T) {
+ tests := map[string]struct {
+ input string
+ sep string
+ want []string
+ }{
+ "simple": {input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ "wrong sep": {input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ "no sep": {input: "abc", sep: "/", want: []string{"abc"}},
+ "trailing sep": {input: "a/b/c/", sep: "/", want: []string{"a", "b", "c"}},
+ }
+
+ for name, tc := range tests {
+ t.Run(name, func(t *testing.T) {
+ got := Split(tc.input, tc.sep)
+ if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("expected: %v, got: %v", tc.want, got)
+ }
+ })
+ }
+}
+```
+
+As each sub test now has a name we get that name automatically printed out in any test runs.
+
+```
+% go test
+--- FAIL: TestSplit (0.00s)
+ --- FAIL: TestSplit/trailing_sep (0.00s)
+ split_test.go:25: expected: [a b c], got: [a b c ]
+```
+
+Each subtest is its own anonymous function, therefore we can use `t.Fatalf`, `t.Skipf`, and all the other `testing.T`helpers, while retaining the compactness of a table driven test.
+
+#### Individual sub test cases can be executed directly
+
+Because sub tests have a name, you can run a selection of sub tests by name using the `go test -run` flag.
+
+```
+% go test -run=.*/trailing -v
+=== RUN TestSplit
+=== RUN TestSplit/trailing_sep
+--- FAIL: TestSplit (0.00s)
+ --- FAIL: TestSplit/trailing_sep (0.00s)
+ split_test.go:25: expected: [a b c], got: [a b c ]
+```
+
+### Comparing what we got with what we wanted
+
+Now we’re ready to fix the test case. Let’s look at the error.
+
+```
+--- FAIL: TestSplit (0.00s)
+ --- FAIL: TestSplit/trailing_sep (0.00s)
+ split_test.go:25: expected: [a b c], got: [a b c ]
+```
+
+Can you spot the problem? Clearly the slices are different, that’s what `reflect.DeepEqual` is upset about. But spotting the actual difference isn’t easy, you have to spot that extra space after `c`. This might look simple in this simple example, but it is any thing but when you’re comparing two complicated deeply nested gRPC structures.
+
+We can improve the output if we switch to the `%#v` syntax to view the value as a Go(ish) declaration:
+
+```
+got := Split(tc.input, tc.sep)
+if !reflect.DeepEqual(tc.want, got) {
+ t.Fatalf("expected: %#v, got: %#v", tc.want, got)
+}
+```
+
+Now when we run our test it’s clear that the problem is there is an extra blank element in the slice.
+
+```
+% go test
+--- FAIL: TestSplit (0.00s)
+ --- FAIL: TestSplit/trailing_sep (0.00s)
+ split_test.go:25: expected: []string{"a", "b", "c"}, got: []string{"a", "b", "c", ""}
+```
+
+But before we go to fix our test failure I want to talk a little bit more about choosing the right way to present test failures. Our `Split` function is simple, it takes a primitive string and returns a slice of strings, but what if it worked with structs, or worse, pointers to structs?
+
+Here is an example where `%#v` does not work as well:
+
+```
+func main() {
+ type T struct {
+ I int
+ }
+ x := []*T{{1}, {2}, {3}}
+ y := []*T{{1}, {2}, {4}}
+ fmt.Printf("%v %v\n", x, y)
+ fmt.Printf("%#v %#v\n", x, y)
+}
+```
+
+The first `fmt.Printf`prints the unhelpful, but expected slice of addresses; `[0xc000096000 0xc000096008 0xc000096010] [0xc000096018 0xc000096020 0xc000096028]`. However our `%#v` version doesn’t fare any better, printing a slice of addresses cast to `*main.T`;`[]*main.T{(*main.T)(0xc000096000), (*main.T)(0xc000096008), (*main.T)(0xc000096010)} []*main.T{(*main.T)(0xc000096018), (*main.T)(0xc000096020), (*main.T)(0xc000096028)}`
+
+Because of the limitations in using any `fmt.Printf` verb, I want to introduce the [go-cmp][4] library from Google.
+
+The goal of the cmp library is it is specifically to compare two values. This is similar to `reflect.DeepEqual`, but it has more capabilities. Using the cmp pacakge you can, of course, write:
+
+```
+func main() {
+ type T struct {
+ I int
+ }
+ x := []*T{{1}, {2}, {3}}
+ y := []*T{{1}, {2}, {4}}
+ fmt.Println(cmp.Equal(x, y)) // false
+}
+```
+
+But far more useful for us with our test function is the `cmp.Diff` function which will produce a textual description of what is different between the two values, recursively.
+
+```
+func main() {
+ type T struct {
+ I int
+ }
+ x := []*T{{1}, {2}, {3}}
+ y := []*T{{1}, {2}, {4}}
+ diff := cmp.Diff(x, y)
+ fmt.Printf(diff)
+}
+```
+
+Which instead produces:
+
+```
+% go run
+{[]*main.T}[2].I:
+ -: 3
+ +: 4
+```
+
+Telling us that at element 2 of the slice of `T`s the `I`field was expected to be 3, but was actually 4.
+
+Putting this all together we have our table driven go-cmp test
+
+```
+func TestSplit(t *testing.T) {
+ tests := map[string]struct {
+ input string
+ sep string
+ want []string
+ }{
+ "simple": {input: "a/b/c", sep: "/", want: []string{"a", "b", "c"}},
+ "wrong sep": {input: "a/b/c", sep: ",", want: []string{"a/b/c"}},
+ "no sep": {input: "abc", sep: "/", want: []string{"abc"}},
+ "trailing sep": {input: "a/b/c/", sep: "/", want: []string{"a", "b", "c"}},
+ }
+
+ for name, tc := range tests {
+ t.Run(name, func(t *testing.T) {
+ got := Split(tc.input, tc.sep)
+ diff := cmp.Diff(tc.want, got)
+ if diff != "" {
+ t.Fatalf(diff)
+ }
+ })
+ }
+}
+```
+
+Running this we get
+
+```
+% go test
+--- FAIL: TestSplit (0.00s)
+ --- FAIL: TestSplit/trailing_sep (0.00s)
+ split_test.go:27: {[]string}[?->3]:
+ -:
+ +: ""
+FAIL
+exit status 1
+FAIL split 0.006s
+```
+
+Using `cmp.Diff` our test harness isn’t just telling us that what we got and what we wanted were different. Our test is telling us that the strings are different lengths, the third index in the fixture shouldn’t exist, but the actual output we got an empty string, “”. From here fixing the test failure is straight forward.
+
+ 1. Please don’t email me to argue that map iteration order is _random_. [It’s not][5].
+
+
+
+#### Related posts:
+
+ 1. [Writing table driven tests in Go][6]
+ 2. [Internets of Interest #7: Ian Cooper on Test Driven Development][7]
+ 3. [Automatically run your package’s tests with inotifywait][8]
+ 4. [How to write benchmarks in Go][9]
+
+
+
+--------------------------------------------------------------------------------
+
+via: https://dave.cheney.net/2019/05/07/prefer-table-driven-tests
+
+作者:[Dave Cheney][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://dave.cheney.net/author/davecheney
+[b]: https://github.com/lujun9972
+[1]: https://dave.cheney.net/2019/04/03/absolute-unit-test
+[2]: https://www.youtube.com/watch?v=EZ05e7EMOLM
+[3]: https://blog.golang.org/subtests
+[4]: https://github.com/google/go-cmp
+[5]: https://golang.org/ref/spec#For_statements
+[6]: https://dave.cheney.net/2013/06/09/writing-table-driven-tests-in-go (Writing table driven tests in Go)
+[7]: https://dave.cheney.net/2018/10/15/internets-of-interest-7-ian-cooper-on-test-driven-development (Internets of Interest #7: Ian Cooper on Test Driven Development)
+[8]: https://dave.cheney.net/2016/06/21/automatically-run-your-packages-tests-with-inotifywait (Automatically run your package’s tests with inotifywait)
+[9]: https://dave.cheney.net/2013/06/30/how-to-write-benchmarks-in-go (How to write benchmarks in Go)
diff --git a/sources/tech/20190508 Innovations on the Linux desktop- A look at Fedora 30-s new features.md b/sources/tech/20190508 Innovations on the Linux desktop- A look at Fedora 30-s new features.md
new file mode 100644
index 0000000000..083a8c9768
--- /dev/null
+++ b/sources/tech/20190508 Innovations on the Linux desktop- A look at Fedora 30-s new features.md
@@ -0,0 +1,140 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Innovations on the Linux desktop: A look at Fedora 30's new features)
+[#]: via: (https://opensource.com/article/19/5/fedora-30-features)
+[#]: author: (Anderson Silva https://opensource.com/users/ansilva/users/marcobravo/users/alanfdoss/users/ansilva)
+
+Innovations on the Linux desktop: A look at Fedora 30's new features
+======
+Learn about some of the highlights in the latest version of Fedora
+Linux.
+![Fedora Linux distro on laptop][1]
+
+The latest version of Fedora Linux was released at the end of April. As a full-time Fedora user since its original release back in 2003 and an active contributor since 2007, I always find it satisfying to see new features and advancements in the community.
+
+If you want a TL;DR version of what's has changed in [Fedora 30][2], feel free to ignore this article and jump straight to Fedora's [ChangeSet][3] wiki page. Otherwise, keep on reading to learn about some of the highlights in the new version.
+
+### Upgrade vs. fresh install
+
+I upgraded my Lenovo ThinkPad T series from Fedora 29 to 30 using the [DNF system upgrade instructions][4], and so far it is working great!
+
+I also had the chance to do a fresh install on another ThinkPad, and it was a nice surprise to see a new boot screen on Fedora 30—it even picked up the Lenovo logo. I did not see this new and improved boot screen on the upgrade above; it was only on the fresh install.
+
+![Fedora 30 boot screen][5]
+
+### Desktop changes
+
+If you are a GNOME user, you'll be happy to know that Fedora 30 comes with the latest version, [GNOME 3.32][6]. It has an improved on-screen keyboard (handy for touch-screen laptops), brand new icons for core applications, and a new "Applications" panel under Settings that allows users to gain a bit more control on GNOME default handlers, access permissions, and notifications. Version 3.32 also improves Google Drive performance so that Google files and calendar appointments will be integrated with GNOME.
+
+![Applications panel in GNOME Settings][7]
+
+The new Applications panel in GNOME Settings
+
+Fedora 30 also introduces two new Desktop environments: Pantheon and Deepin. Pantheon is [ElementaryOS][8]'s default desktop environment and can be installed with a simple:
+
+
+```
+`$ sudo dnf groupinstall "Pantheon Desktop"`
+```
+
+I haven't used Pantheon yet, but I do use [Deepin][9]. Installation is simple; just run:
+
+
+```
+`$ sudo dnf install deepin-desktop`
+```
+
+then log out of GNOME and log back in, choosing "Deepin" by clicking on the gear icon on the login screen.
+
+![Deepin desktop on Fedora 30][10]
+
+Deepin desktop on Fedora 30
+
+Deepin appears as a very polished, user-friendly desktop environment that allows you to control many aspects of your environment with a click of a button. So far, the only issue I've had is that it can take a few extra seconds to complete login and return control to your mouse pointer. Other than that, it is brilliant! It is the first desktop environment I've used that seems to do high dots per inch (HiDPI) properly—or at least close to correctly.
+
+### Command line
+
+Fedora 30 upgrades the Bourne Again Shell (aka Bash) to version 5.0.x. If you want to find out about every change since its last stable version (4.4), read this [description][11]. I do want to mention that three new environments have been introduced in Bash 5:
+
+
+```
+$ echo $EPOCHSECONDS
+1556636959
+$ echo $EPOCHREALTIME
+1556636968.012369
+$ echo $BASH_ARGV0
+bash
+```
+
+Fedora 30 also updates the [Fish shell][12], a colorful shell with auto-suggestion, which can be very helpful for beginners. Fedora 30 comes with [Fish version 3][13], and you can even [try it out in a browser][14] without having to install it on your machine.
+
+(Note that Fish shell is not the same as guestfish for mounting virtual machine images, which comes with the libguestfs-tools package.)
+
+### Development
+
+Fedora 30 brings updates to the following languages: [C][15], [Boost (C++)][16], [Erlang][17], [Go][18], [Haskell][19], [Python][20], [Ruby][21], and [PHP][22].
+
+Regarding these updates, the most important thing to know is that Python 2 is deprecated in Fedora 30. The community and Fedora leadership are requesting that all package maintainers that still depend on Python 2 port their packages to Python 3 as soon as possible, as the plan is to remove virtually all Python 2 packages in Fedora 31.
+
+### Containers
+
+If you would like to run Fedora as an immutable OS for a container, kiosk, or appliance-like environment, check out [Fedora Silverblue][23]. It brings you all of Fedora's technology managed by [rpm-ostree][24], which is a hybrid image/package system that allows automatic updates and easy rollbacks for developers. It is a great option for anyone who wants to learn more and play around with [Flatpak deployments][25].
+
+Fedora Atomic is no longer available under Fedora 30, but you can still [download it][26]. If your jam is containers, don't despair: even though Fedora Atomic is gone, a brand new [Fedora CoreOS][27] is under development and should be going live soon!
+
+### What else is new?
+
+As of Fedora 30, **/usr/bin/gpg** points to [GnuPG][28] v2 by default, and [NFS][29] server configuration is now located at **/etc/nfs.conf** instead of **/etc/sysconfig/nfs**.
+
+There have also been a [few changes][30] for installation and boot time.
+
+Last but not least, check out [Fedora Spins][31] for a spin of Fedora that defaults to your favorite Window manager and [Fedora Labs][32] for functionally curated software bundles built on Fedora 30 (i.e. astronomy, security, and gaming).
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/fedora-30-features
+
+作者:[Anderson Silva ][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/ansilva/users/marcobravo/users/alanfdoss/users/ansilva
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/fedora_on_laptop_lead.jpg?itok=XMc5wo_e (Fedora Linux distro on laptop)
+[2]: https://getfedora.org/
+[3]: https://fedoraproject.org/wiki/Releases/30/ChangeSet
+[4]: https://fedoraproject.org/wiki/DNF_system_upgrade#How_do_I_use_it.3F
+[5]: https://opensource.com/sites/default/files/uploads/fedora30_fresh-boot.jpg (Fedora 30 boot screen)
+[6]: https://help.gnome.org/misc/release-notes/3.32/
+[7]: https://opensource.com/sites/default/files/uploads/fedora10_gnome.png (Applications panel in GNOME Settings)
+[8]: https://elementary.io/
+[9]: https://www.deepin.org/en/dde/
+[10]: https://opensource.com/sites/default/files/uploads/fedora10_deepin.png (Deepin desktop on Fedora 30)
+[11]: https://git.savannah.gnu.org/cgit/bash.git/tree/NEWS
+[12]: https://fishshell.com/
+[13]: https://fishshell.com/release_notes.html
+[14]: https://rootnroll.com/d/fish-shell/
+[15]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_C/
+[16]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Boost/
+[17]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Erlang/
+[18]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Go/
+[19]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Haskell/
+[20]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Python/
+[21]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Ruby/
+[22]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/developers/Development_Web/
+[23]: https://silverblue.fedoraproject.org/
+[24]: https://rpm-ostree.readthedocs.io/en/latest/
+[25]: https://flatpak.org/setup/Fedora/
+[26]: https://getfedora.org/en/atomic/
+[27]: https://coreos.fedoraproject.org/
+[28]: https://gnupg.org/index.html
+[29]: https://en.wikipedia.org/wiki/Network_File_System
+[30]: https://docs.fedoraproject.org/en-US/fedora/f30/release-notes/sysadmin/Installation/
+[31]: https://spins.fedoraproject.org
+[32]: https://labs.fedoraproject.org/
diff --git a/sources/tech/20190509 A day in the life of an open source performance engineering team.md b/sources/tech/20190509 A day in the life of an open source performance engineering team.md
new file mode 100644
index 0000000000..373983e8bc
--- /dev/null
+++ b/sources/tech/20190509 A day in the life of an open source performance engineering team.md
@@ -0,0 +1,138 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (A day in the life of an open source performance engineering team)
+[#]: via: (https://opensource.com/article/19/5/life-performance-engineer)
+[#]: author: (Aakarsh Gopi https://opensource.com/users/aakarsh/users/portante/users/anaga/users/gameloid)
+
+A day in the life of an open source performance engineering team
+======
+Collaborating with the community enables performance engineering to
+address the confusion and complexity that come with working on a broad
+spectrum of products.
+![Team checklist and to dos][1]
+
+In today's world, open source software solutions are a collaborative effort of the community. Can a performance engineering team operate the same way, by collaborating with the community to address the confusion and complexity that come with working on a broad spectrum of products?
+
+To answer that question, we need to explore some basic questions:
+
+ * What does a performance engineering team do?
+ * How does a performance engineering team fulfill its responsibilities?
+ * How are open source tools developed or leveraged for performance analysis?
+
+
+
+The term "performance engineering" has different meanings, which causes difficulty in figuring out a performance engineering team's responsibilities. Adding to the confusion, a team may be charged with working on a broad spectrum of products, ranging from an operating system like RHEL, whose performance can be significantly impacted by hardware components (CPU caches, network interface controllers, disk technologies, etc.), to something much higher up in the stack like Kubernetes, which comes with the added challenges of operating at scale without compromising on performance.
+
+Performance engineering has progressed a lot since the days of running manual A/B testing and single-system benchmarks. Now, these teams test cloud infrastructures and add machine learning classifiers as a component in the CI/CD pipeline for identifying performance regression in releases of products.
+
+### What does a performance engineering team do?
+
+A performance engineering team is generally responsible for the following (among other things):
+
+ * Identifying potential performance issues
+ * Identifying any scale issues that could occur
+ * Developing tuning guides and/or tools that would enable the user to achieve the most out of a product
+ * Developing guides and/or working with customers to help with capacity planning
+ * Providing customers with performance expectations for different use cases of the product
+
+
+
+The mission of our specific team is to:
+
+ * Establish performance and scale leadership of the Red Hat portfolio; the scope includes component level, system, and solution analysis
+ * Collaborate with engineering, product management, product marketing, and Customer Experience and Engagement (CEE), as well as hardware and software partners
+ * Deliver public-facing guidance, internal enablement, and continuous integration tests
+
+
+
+Our team fulfills our mission in the following ways:
+
+ * We work with product teams to set performance goals and develop performance tests to run against those products deployed to see how they measure up to those goals.
+ * We also work to re-run performance tests to ensure there are no regressions in behaviors.
+ * We develop open source tooling to achieve our product performance goals, making them available to the communities where the products are derived to re-create what we do.
+ * We work to be transparent and open about how we do performance engineering; sharing these methods and approaches benefits communities, allowing them to reuse our work, and benefits us by leveraging the work they contribute with these tools.
+
+
+
+### How does a performance engineering team fulfill its responsibilities?
+
+Meeting these responsibilities requires collaboration with other teams, such as product management, development, QA/QE, documentation, and consulting, and with the communities.
+
+_Collaboration_ allows a team to be successful by pulling together team members' diverse knowledge and experience. A performance engineering team builds tools to share their knowledge both within the team and with the community, furthering the value of collaboration.
+
+Our performance engineering team achieves success through:
+
+ * **Collaboration:** _Intra_ -team collaboration is as important as _inter_ -team collaboration for our performance engineering team
+ * Most performance engineers tend to create a niche for themselves in one or more sub-disciplines of performance engineering via tooling, performance analysis, systems knowledge, systems configuration, and such. Our team is composed of engineers with knowledge of setting up/configuring systems across the product stack, those who know how a configuration option would affect the system's performance, and so on. Our team's success is heavily reliant on effective collaboration between performance engineers on the team.
+ * Our team works closely with other organizations at various levels within Red Hat and the communities where our products are derived.
+ * **Knowledge:** To understand the performance implications of configuration and/or system changes, deep knowledge of the product alone is not sufficient.
+ * Our team has the knowledge to cover performance across all levels of the stack:
+ * Hardware setup and configuration
+ * Networking and scale considerations
+ * Operating system setup and configuration (Linux kernel, userspace stack)
+ * Storage sub-systems (Ceph)
+ * Cloud infrastructure (OpenStack, RHV)
+ * Cloud deployments (OpenShift/Kubernetes)
+ * Product architectures
+ * Software technologies (databases like Postgres; software-defined networking and storage)
+ * Product interactions with the underlying hardware
+ * Tooling to monitor and accomplish repeatable benchmarking
+ * **Tooling:** The differentiator for our performance engineering team is the data collected through its tools to help tackle performance analysis complexity in the environments where our products are deployed.
+
+
+
+### How are open source tools developed or leveraged for performance analysis?
+
+Tooling is no longer a luxury but a need for today's performance engineering teams. With today's product solutions being so complex (and increasing in complexity as more solutions are composed to solve ever-larger problems), we need tools to help us run performance test suites in a repeatable manner, collect data about those runs, and help us distill that data so it becomes understandable and usable.
+
+Yet, no performance engineering team is judged on how performance analysis is done, but rather on the results achieved from this analysis.
+
+This tension can be resolved by collaboratively developing tools. A performance engineering team can't spend all its time developing tools, since that would prevent it from effectively collecting data. By developing its tools in a collaborative manner, a team can leverage work from the community to make further progress while still generating the result by which they will be measured.
+
+Tooling is the backbone of our performance engineering team, and we strive to use the tools already available upstream. When no tools are available in the community that fit our needs, we've built tools that help us achieve our goals and made them available to the community. Open sourcing our tools has helped us immensely because we receive contributions from our competitors and partners, allowing us to solve problems collectively through collaboration.
+
+![Performance Engineering Tools][2]
+
+Following are some of the tools our team has contributed to and rely upon for our work:
+
+ * **[Perf-c2c][3]:** Is your performance impacted by false sharing in CPU caches? The perf-c2c tool can help you tackle this problem by helping you inspect the cache lines where false sharing is detected and understand the readers/writers accessing those cache lines along with the offsets where those accesses occurred. You can read more about this tool on [Joe Mario's blog][4].
+ * **[Pbench][5]:** Do you repeat the same steps when collecting data about performance, but fail to do it consistently? Or do you find it difficult to compare results with others because you're collecting different configuration data? Pbench is a tool that attempts to standardize the way data is collected for performance so comparisons and historical reviews are much easier. Pbench is at the heart of our tooling efforts, as most of the other tools consume it in some form. Pbench is a Swiss Army Knife, as it allows the user to run benchmarks such as fio, uperf, or custom, user-defined tests while gathering metrics through tools such as sar, iostat, and pidstat, standardizing the methods of collecting configuration data about the environment. Pbench provides a dashboard UI to help review and analyze the data collected.
+ * **[Browbeat][6]:** Do you want to monitor a complex environment such as an OpenStack cluster while running tests? Browbeat is the solution, and its power lies in its ability to collect comprehensive data, ranging from logs to system metrics, about an OpenStack cluster while it orchestrates workloads. Browbeat can also monitor the OpenStack cluster while users run test/workloads of their choice either manually or through their own automation.
+ * **[Ripsaw][7]:** Do you want to compare the performance of different Kubernetes distros against the same platform? Do you want to compare the performance of the same Kubernetes distros deployed on different platforms? Ripsaw is a relatively new tool created to run workloads through Kubernetes native calls using the Ansible operator framework to provide solutions to the above questions. Ripsaw's unique selling point is that it can run against any kind of Kubernetes distribution, thus it would run the same against a Kubernetes cluster, on Minikube, or on an OpenShift cluster deployed on OpenStack or bare metal.
+ * **[ClusterLoader][8]:** Ever wondered how an OpenShift component would perform under different cluster states? If you are looking for an answer that can stress the cluster, ClusterLoader will help. The team has generalized the tool so it can be used with any Kubernetes distro. It is currently hosted in the [perf-tests repository][9].
+
+
+
+### Bottom line
+
+Given the scale at which products are evolving rapidly, performance engineering teams need to build tooling to help them keep up with products' evolution and diversification.
+
+Open source-based software solutions are a collaborative effort of the community. Our performance engineering team operates in the same way, collaborating with the community to address the confusion and complexity that comes with working on a broad spectrum of products. By developing our tools in a collaborative manner and using tools from the community, we are leveraging the community's work to make progress, while still generating the results we are measured on.
+
+_Collaboration_ is our key to accomplish our goals and ensure the success of our team.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/life-performance-engineer
+
+作者:[Aakarsh Gopi ][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/aakarsh/users/portante/users/anaga/users/gameloid
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/todo_checklist_team_metrics_report.png?itok=oB5uQbzf (Team checklist and to dos)
+[2]: https://opensource.com/sites/default/files/uploads/performanceengineeringtools.png (Performance Engineering Tools)
+[3]: http://man7.org/linux/man-pages/man1/perf-c2c.1.html
+[4]: https://joemario.github.io/blog/2016/09/01/c2c-blog/
+[5]: https://github.com/distributed-system-analysis/pbench
+[6]: https://github.com/openstack/browbeat
+[7]: https://github.com/cloud-bulldozer/ripsaw
+[8]: https://github.com/openshift/origin/tree/master/test/extended/cluster
+[9]: https://github.com/kubernetes/perf-tests/tree/master/clusterloader
diff --git a/sources/tech/20190509 Query freely available exchange rate data with ExchangeRate-API.md b/sources/tech/20190509 Query freely available exchange rate data with ExchangeRate-API.md
new file mode 100644
index 0000000000..3db9708c81
--- /dev/null
+++ b/sources/tech/20190509 Query freely available exchange rate data with ExchangeRate-API.md
@@ -0,0 +1,162 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Query freely available exchange rate data with ExchangeRate-API)
+[#]: via: (https://opensource.com/article/19/5/exchange-rate-data)
+[#]: author: (Chris Hermansen https://opensource.com/users/clhermansen)
+
+Query freely available exchange rate data with ExchangeRate-API
+======
+In this interview, ExchangeRate-API's founder explains why exchange rate
+data should be freely accessible to developers who want to build useful
+stuff.
+![scientific calculator][1]
+
+Last year, [I wrote about][2] using the Groovy programming language to access foreign exchange rate data from an API to simplify my expense records. I showed how two exchange rate sites, [fixer.io][3] and apilayer.net (now [apilayer.com][4]), could provide the data I needed, allowing me to convert between Indian rupees (INR) and Canadian dollars (CAD) using the former, and Chilean pesos (CLP) and Canadian dollars using the latter.
+
+Recently, David over at [ExchangeRate-API.com][5] reached out to me to say, "the free API you mentioned (Fixer) has been bought by CurrencyLayer and had its no-signup/unlimited access deprecated." He also told me, "I run a free API called ExchangeRate-API.com that has the same JSON format as the original Fixer, doesn't require any signup, and allows unlimited requests."
+
+After exchanging a few emails, we decided to turn our conversation into an interview. Below the interview, you can find scripts and usage instructions. (The interview has been edited slightly for clarity.)
+
+### About ExchangeRate-API
+
+_**Chris:** How is ExchangeRate-API different from other online exchange-rate services? What motivates you to provide this service?_
+
+**David:** When I started ExchangeRate-API with a friend in 2010, we built and released it for free because we really needed this service for another project and couldn't find one despite extensive googling. There are now around 20 such APIs offering quite a few different approaches. Over the years, I've tried a number of different approaches, but offering quality data for free has always proven the most popular. I'm also motivated by the thought that this data should be freely accessible to developers who want to build useful stuff even if they don't have a budget.
+
+Thus, the main difference with our currency conversion API is that it's unlimited and requires no signup. This also makes starting to use it really fast—you literally just copy the endpoint URL and you're good to go.
+
+There are one or two other free and unlimited APIs, but these typically just serve the daily reference rates provided by the European Central Bank. ExchangeRate-API collects the public reference rates from a number of central banks and then blends them to reduce the risk of outlying values. It also does acceptance checking to ensure the rates aren't wildly wrong (for instance an inverted data capture recording US dollars to CLP instead of CLP to USD) and weights different sources based on their historical accuracy. This makes the service quite reliable. I'm currently working on a transparency project to compare and show the accuracy of this public reference rate blend against a proprietary data source so potential users can make more informed decisions on what type of currency data service is right for them.
+
+_**Chris:** I'm delighted that you've included Canadian dollars and Indian rupees, as that is one problem I need to solve. I'm sad to see that you don't have Chilean pesos (another problem I need to solve). Can you tell us how you select the list of currencies? Do you anticipate adding other currencies to your list?_
+
+**David:** Since my main aim for this service is to offer stable and reliable exchange rate data, I only include currencies when there is more than one data source for that currency code. For instance, after you mentioned that you're looking for CLP data, I added the daily reference rates published by the Central Bank of Chile to our system. If I can find another source that includes CLP, it would be included in our list of supported currencies, but until then, unfortunately not. The goal is to support as many currencies as possible.
+
+One thing to note is that, for some currencies, the service has the minimum two sources, but a few currency pairs (for instance USD/EUR) are included in almost every set of public reference rates. The transparent accuracy project I mentioned will hopefully make this difference clear so that users can understand why our USD/EUR rate might be more accurate than less common pairs like CLP/INR and also the degree of variance in accuracy between the pairs. It will take some work to make showing this information quick and easy to understand.
+
+### The API's architecture
+
+_**Chris:** Can you tell us a bit about your API's architecture? Do you use open source components to deliver your service?_
+
+**David:** I exclusively use open source software to run ExchangeRate-API. I'm definitely an open source enthusiast and am always getting friends to switch to open source, explaining licenses, and donating when I can to the projects I use most. I also try to email maintainers of projects I use to say thanks, but I don't do this enough.
+
+The stack is currently Ubuntu LTS, MariaDB, Nginx, PHP 7, and Memcached. I also use Bootstrap and Picnic open source CSS frameworks. I use Let's Encrypt for HTTPS certificates via the Electronic Frontier Foundation's open source ACME client, [Certbot][6]. The service makes extensive use of classic tools like UFW/iptables, cURL, OpenSSH, and Git.
+
+My approach is typically to keep everything as simple as possible while using the tried-and-tested open source building blocks. For a project that aims to _always_ be available for users to convert currencies, this feels like the best route to reliability. I love reading about innovative new projects that could be useful for a project like this (for example, CockroachDB), but I wouldn't use them until they are considered really bulletproof. Obviously, things like [Heartbleed][7] show that there are risks with "boring" projects too—but I think these are easier to manage than the potential for unknown risks with newer, cutting-edge projects.
+
+In terms of the infrastructure setup, I've steadily built and improved the system over the last nine years, and it now comprises roughly three tiers. The main cluster runs on Amazon Web Services (AWS) and consists of Ubuntu EC2 servers and a high-availability MariaDB relational database service (RDS) instance. The EC2 instances are spread across multiple AWS Availability Zones and fronted by the managed AWS Elastic Load Balancing (ELB) service. Between the RDS database instance with automated cross-zone failover and the ELB-fronted EC2 instances spread across availability zones, this setup is exceptionally available. It is, however, only in one locale. So I've set up a second tier of virtual private server (VPS) instances in different geographic locations to reduce latency and distribute the load away from the more expensive AWS infrastructure. These are currently with Linode, but I have also used DigitalOcean and Vultr recently.
+
+Finally, this is all protected behind Cloudflare. With a free service, it's inevitable that some users will choose to abuse the system, and Cloudflare is an amazing product that's vital to ExchangeRate-API. Our servers can be protected and our users get low-latency, in-region caches. Cloudflare is set up with both the load balancing and traffic steering products to reduce latency and instantly shift traffic from unhealthy parts of the infrastructure to available origins.
+
+With this very redundant approach, there hasn't been downtime as a result of infrastructure problems or user load for around three years. The few periods of degraded service experienced in this time are all due to issues with code, deployment strategy, or config mistakes. The setup currently handles hundreds of millions of requests per month with low load levels and manageable costs, so there's plenty of room for growth.
+
+The actual application code is PHP with heavy use of Memcached. Memcached is an amazing open source project started by Brad Fitzpatrick in 2003. It's not particularly glamorous, but it is an incredibly reliable and performant distributed in-memory key value store.
+
+### Engaging with the open source community
+
+_**Chris:** There is an impressive amount of open source in your configuration. How do you engage with the broader community of users in these projects?_
+
+**David:** I really struggle with the best way to be a good open source citizen while running a side project SaaS. I've considered building an open source library of some sort and releasing it, but I haven't thought of something that hasn't already been done and that I would be able to make the time commitment to reliably maintain. I'd only start a project like this if I could be confident I'd have the time to ensure users who choose the project wouldn't suddenly find themselves depending on abandonware. I've also looked into contributing to the projects that ExchangeRate-API depends on, but since I only use the biggest, most established options, I lack the expertise to make a meaningful contribution to such serious projects.
+
+I'm currently working on a new "Pro" plan for the service and I'm going to set a percentage of this income to donate to my open source dependencies. This still feels like a bandage though—answering this question makes me realize I need to put more time into starting an open source project that calls ExchangeRate-API home!
+
+### Looking ahead
+
+_**Chris:** We can only query the latest exchange rate, but it appears that you may be offering historical rates sometime later this year. Can you tell us more about the technical challenges with serving up historical data?_
+
+**David:** There is a dataset of historical rates blended using our same algorithm from multiple central bank reference sets. However, I stopped new signups for it due to some issues with the data quality. The dataset reaches back to 1990, and there were a few earlier periods that need better data validation. As such, I'm building a better system for checking and comparing the data as it's ingested as well as adding an additional data source. The plan is to have a clean and more comprehensively verified-as-accurate dataset available later this year.
+
+In terms of the technical side of things, historical data is slightly more complex than live data. Compared to the live dataset (which is just a few bytes) the historical data is millions of database rows. This data was originally served from the database infrastructure with a long time-to-live (TTL) intermediary-caching layer. This was largely performant but struggled in situations where users wanted to dump the entire dataset as fast as the network could handle it. If the cache was sufficiently warm, this was fine, but if reboots, new server deployments, etc. had taken place recently, these big request sets would "miss" enough on the cache that the database would have problematic load spikes.
+
+Obviously, the goal is an infrastructure that can handle even aggressive use cases with normal performance, so the new historical rates dataset will be accompanied by a preemptive in-memory cache rather than a request-driven one. Thankfully, RAM is cheap these days, and putting a couple hundred megabytes of data entirely into RAM is a plausible approach even for a small project like ExchangeRate-API.com.
+
+_**Chris:** It sounds like you've been through quite a few iterations of this service to get to where it is today! Where do you see it going in the next few years?_
+
+**David:** I'd aim for it to have reached coverage of every world currency so that anyone looking for this sort of software can easily and programmatically get the exchange rates they need for free.
+
+I'd also definitely like to have an affordable Pro plan that really resonates with users. Getting this right would mean better infrastructure and lower latency for free users as well.
+
+Finally, I'd like to have some sort of useful open source library under the ExchangeRate-API banner. Starting a small project that finds an enthusiastic community would be really rewarding. It's great to run something that's free-as-in-beer, but it would be even better if part of it was free-as-in-speech, as well.
+
+### How to use the service
+
+It's easy enough to test out the service using **wget** , as follows:
+
+
+```
+clh@marseille:~$ wget -O -
+\--2019-04-26 13:48:23--
+Resolving api.exchangerate-api.com (api.exchangerate-api.com)... 2606:4700:20::681a:c80, 2606:4700:20::681a:d80, 104.26.13.128, ...
+Connecting to api.exchangerate-api.com (api.exchangerate-api.com)|2606:4700:20::681a:c80|:443... connected.
+HTTP request sent, awaiting response... 200 OK
+Length: unspecified [application/json]
+Saving to: ‘STDOUT’
+
+\- [<=>
+] 0 --.-KB/s {"base":"INR","date":"2019-04-26","time_last_updated":1556236800,"rates":{"INR":1,"AUD":0.020343,"BRL":0.056786,"CAD":0.019248,"CHF":0.014554,"CNY":0.096099,"CZK":0.329222,"DKK":0.095497,"EUR":0.012789,"GBP":0.011052,"HKD":0.111898,"HUF":4.118615,"IDR":199.61769,"ILS":0.051749,"ISK":1.741659,"JPY":1.595527,"KRW":16.553091,"MXN":0.272383,"MYR":0.058964,"NOK":0.123365,"NZD":0.02161,"PEN":0.047497,"PHP":0.744974,"PLN":0.054927,"RON":0.060923,"RUB":0.921808,"SAR":0.053562,"SEK":0.135226,"SGD":0.019442,"THB":0.457501,"TRY":0- [ <=> ] 579 --.-KB/s in 0s
+
+2019-04-26 13:48:23 (15.5 MB/s) - written to stdout [579]
+
+clh@marseille:~$
+```
+
+The result is returned as a JSON payload, giving conversion rates from Indian rupees (the currency I requested in the URL) to all the currencies handled by ExchangeRate-API.
+
+The Groovy shell can access the API:
+
+
+```
+clh@marseille:~$ groovysh
+Groovy Shell (2.5.3, JVM: 1.8.0_212)
+Type ':help' or ':h' for help.
+\----------------------------------------------------------------------------------------------------------------------------------
+groovy:000> import groovy.json.JsonSlurper
+===> groovy.json.JsonSlurper
+groovy:000> result = (new JsonSlurper()).parse(
+groovy:001> new InputStreamReader((new URL('))
+groovy:002> )
+===> [base:INR, date:2019-04-26, time_last_updated:1556236800, rates:[INR:1, AUD:0.020343, BRL:0.056786, CAD:0.019248, CHF:0.014554, CNY:0.096099, CZK:0.329222, DKK:0.095497, EUR:0.012789, GBP:0.011052, HKD:0.111898, HUF:4.118615, IDR:199.61769, ILS:0.051749, ISK:1.741659, JPY:1.595527, KRW:16.553091, MXN:0.272383, MYR:0.058964, NOK:0.123365, NZD:0.02161, PEN:0.047497, PHP:0.744974, PLN:0.054927, RON:0.060923, RUB:0.921808, SAR:0.053562, SEK:0.135226, SGD:0.019442, THB:0.457501, TRY:0.084362, TWD:0.441385, USD:0.014255, ZAR:0.206271]]
+groovy:000>
+```
+
+The same JSON payload is returned as a result of the Groovy JSON slurper operating on the URL. Of course, since this is Groovy, the JSON is converted into a Map, so you can do stuff like this:
+
+
+```
+groovy:000> println result.base
+INR
+===> null
+groovy:000> println result.date
+2019-04-26
+===> null
+groovy:000> println result.rates.CAD
+0.019248
+===> null
+```
+
+And that's it!
+
+Do you use ExchangeRate-API or a similar service? Share how you use exchange rate data in the comments.
+
+--------------------------------------------------------------------------------
+
+via: https://opensource.com/article/19/5/exchange-rate-data
+
+作者:[Chris Hermansen ][a]
+选题:[lujun9972][b]
+译者:[译者ID](https://github.com/译者ID)
+校对:[校对者ID](https://github.com/校对者ID)
+
+本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
+
+[a]: https://opensource.com/users/clhermansen
+[b]: https://github.com/lujun9972
+[1]: https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/calculator_money_currency_financial_tool.jpg?itok=2QMa1y8c (scientific calculator)
+[2]: https://opensource.com/article/18/3/groovy-calculate-foreign-exchange
+[3]: https://fixer.io/
+[4]: https://apilayer.com/
+[5]: https://www.exchangerate-api.com/
+[6]: https://certbot.eff.org/
+[7]: https://en.wikipedia.org/wiki/Heartbleed
diff --git a/sources/tech/20190509 Red Hat Enterprise Linux (RHEL) 8 Installation Steps with Screenshots.md b/sources/tech/20190509 Red Hat Enterprise Linux (RHEL) 8 Installation Steps with Screenshots.md
new file mode 100644
index 0000000000..0b2d9e55c6
--- /dev/null
+++ b/sources/tech/20190509 Red Hat Enterprise Linux (RHEL) 8 Installation Steps with Screenshots.md
@@ -0,0 +1,256 @@
+[#]: collector: (lujun9972)
+[#]: translator: ( )
+[#]: reviewer: ( )
+[#]: publisher: ( )
+[#]: url: ( )
+[#]: subject: (Red Hat Enterprise Linux (RHEL) 8 Installation Steps with Screenshots)
+[#]: via: (https://www.linuxtechi.com/rhel-8-installation-steps-screenshots/)
+[#]: author: (Pradeep Kumar https://www.linuxtechi.com/author/pradeep/)
+
+Red Hat Enterprise Linux (RHEL) 8 Installation Steps with Screenshots
+======
+
+Red Hat has released its most awaited OS **RHEL 8** on 7th May 2019. RHEL 8 is based on **Fedora 28** distribution and Linux **kernel version 4.18**. One of the important key features in RHEL 8 is that it has introduced “ **Application Streams** ” which allows developers tools, frameworks and languages to be updated frequently without impacting the core resources of base OS. In other words, application streams will help to segregate the users space packages from OS Kernel Space.
+
+Apart from this, there are many new features which are noticed in RHEL 8 like:
+
+ * XFS File system supports copy-on-write of file extents
+ * Introduction of Stratis filesystem, Buildah, Podman, and Skopeo
+ * Yum utility is based on DNF
+ * Chrony replace NTP.
+ * Cockpit is the default Web Console tool for Server management.
+ * OpenSSL 1.1.1 & TLS 1.3 support
+ * PHP 7.2
+ * iptables replaced by nftables
+
+
+
+### Minimum System Requirements for RHEL 8:
+
+ * 4 GB RAM
+ * 20 GB unallocated disk space
+ * 64-bit x86 or ARM System
+
+
+
+**Note:** RHEL 8 supports the following architectures:
+
+ * AMD or Intel x86 64-bit
+ * 64-bit ARM
+ * IBM Power Systems, Little Endian & IBM Z
+
+
+
+In this article we will demonstrate how to install RHEL 8 step by step with screenshots.
+
+### RHEL 8 Installation Steps with Screenshots
+
+### Step:1) Download RHEL 8.0 ISO file
+
+Download RHEL 8 iso file from its official web site,
+
+
+
+I am assuming you have the active subscription if not then register yourself for evaluation and then download ISO file
+
+### Step:2) Create Installation bootable media (USB or DVD)
+
+Once you have downloaded RHEL 8 ISO file, make it bootable by burning it either into a USB drive or DVD. Reboot the target system where you want to install RHEL 8 and then go to its bios settings and set the boot medium as USB or DVD,
+
+### Step:3) Choose “Install Red Hat Enterprise Linux 8.0” option
+
+When the system boots up with installation media (USB or DVD), we will get the following screen, choose “ **Install Red Hat Enterprise Linux 8.0** ” and hit enter,
+
+
+
+### Step:4) Choose your preferred language for RHEL 8 installation
+
+In this step, you need to choose a language that you want to use for RHEL 8 installation, so make a selection that suits to your setup.
+
+
+
+Click on Continue
+
+### Step:5) Preparing RHEL 8 Installation
+
+In this step we will decide the installation destination for RHEL 8, apart from this we can configure the followings:
+
+ * Time Zone
+ * Kdump (enabled/disabled)
+ * Software Selection (Packages)
+ * Networking and Hostname
+ * Security Policies & System purpose
+
+
+
+
+
+By default, installer will automatically pick time zone and will enable the **kdump** , if wish to change the time zone then click on “ **Time & Date**” option and set your preferred time zone and then click on Done.
+
+
+
+To configure IP address and Hostname click on “ **Network & Hostname**” option from installation summary screen,
+
+If your system is connected to any switch or modem, then it will try to get IP from DHCP server otherwise we can configure IP manually.
+
+Mention the hostname that you want to set and then click on “ **Apply”**. Once you are done with IP address and hostname configuration click on “Done”
+
+
+
+To define the installation disk and partition scheme for RHEL 8, click on “ **Installation Destination** ” option,
+
+
+
+Click on Done
+
+As we can see I have around 60 GB free disk space on sda drive, I will be creating following customize lvm based partitions on this disk,
+
+ * /boot = 2GB (xfs file system)
+ * / = 20 GB (xfs file system)
+ * /var = 10 GB (xfs file system)
+ * /home = 15 GB (xfs file system)
+ * /tmp = 5 GB (xfs file system)
+ * Swap = 2 GB (xfs file system)
+
+
+
+**Note:** If you don’t want to create manual partitions then select “ **Automatic** ” option from Storage Configuration Tab
+
+
+
+Let’s create our first partition as /boot of size 2 GB, Select LVM as mount point partitioning scheme and then click on + “plus” symbol,
+
+
+
+Click on “ **Add mount point** ”
+
+
+
+To create next partition as / of size 20 GB, click on + symbol and specify the details as shown below,
+
+
+
+Click on “Add mount point”
+
+
+
+As we can see installer has created the Volume group as “ **rhel_rhel8** “, if you want to change this name then click on Modify option and specify the desired name and then click on Save
+
+