# Weekly

Mar 16, 2016 • 东岳

# Weekly 03/10 - 03/16

周报第二十四期

- 催稿人：@swaylq
- 交稿人：@at15 @arrowrowe @LukeXuan @gaocegege @Bluemit

## 人机大战 | すごい

- AlphaGo 4:1 完胜 李师石
  - AlphaGo的分析 - 远东轶事 - 知乎专栏,
  - 一张图解AlphaGo原理和弱点, AlphaGo并非不可战胜的.

## Docker 专栏

- 博客

  - 用 vps 搭一个自己的 Docker hub mirror
  - 玩转 Docker 镜像
  - 使用 Docker 容器应该避免的 10 个事情
  - 配置 Docker 镜像下载的本地 mirror 服务

  > 许多用户依然像对待典型的虚拟机那样对待容器。但是他们都忘记了除了与虚拟机相似的部分，容器还有一个很大的优点：它是一次性的。这个特性“本身”促使用户改变他们关于使用和管理容器的习惯；我将会向您解释在容器中不应该做这些事，以确保最大地发挥容器的作用.

- 案例

  - Gitlab 的 Docker image, a better gitlab docker image, more detailed documentation.
  - 10个精选的容器应用案例

## 静态网站生成

- statinamic, a static website generator to create dynamic website using React components.
- ink, 国人用golang写的静态博客生成器.

## 关注前端

- 新闻

  - State of the Art JavaScript in 2016

  > 如果你最近没怎么关注前端新技术，可以看看这篇文章了解. @at15

- 博客

  - All JS Libraries Should be Authored in TypeScript, six reasons for using typescript.
  - Angular is a Design Pattern

  > One of the major realizations we’ve had from working on Ionic 2 is how similar Angular 2 and Angular 1 are at a high level, and how understanding this will help developers move from Angular 1 to Angular 2 far more easily. In many ways, Angular 2 isn’t really a new framework at all, just a new implementation of the same one we’ve come to know and love. @at15 - 专访｜前端布道师@张克军

  > 这几点分享不错: - 出现瓶颈取决于视野，当看不到发展方向和趋势时，便会苦于没有突破 - 工程师的三个时期：菜鸟期（2-3年）、成熟期、创造期 - 前端工程师如何发展的可能性：专家、极客、自由开发者、转型. @at15

- Promise 专栏

  - MDN: Promise
  - Promises/A+, an open standard for sound, interoperable JavaScript promises—by implementers, for implementers.

  - 著名实现

    - kriskowal/q
    - bluebird
    - arrowrowe/romi

    > 写了个仅用于理解原理的实现, 逻辑上还是不严密, 比如 5aaeb94 - L71 是有问题的. 欢迎继续加强或构造新测试! @arrowrowe

- NPM

  - 往期回顾 - Weekly/21: npm 混合公共仓库和私有仓库
  - Lint & Test & Coverage? Only know ESLint & Mocha & Istanbul? See xo, ava and nyc.

  > 以前一直用前三者... 新项目 Romi 试了下后三种, 感觉也挺好的. (确实更方便了......) @arrowrowe - Sinopia, a private/caching npm repository server.

- Node.js

  - How to get a performance boost using Node.js native addons
  - 重现: arrowrowe/node-addon-playground

## 项目集锦

- PHP

  - oauth2-server-php, A library for implementing an OAuth2 Server in php.
  - Lychee, self-host photo management.
  - Attendize, open source ticket manage system.
  - https://github.com/marcioAlmada/yay

  > Yay is a high level PHP preprocessor (new) macro { $ } >> { $this } // this shorthand `php // source | // expansion class Foo { | class Foo { protected $a = 1, $b = 2, $c = 3; | protected $a = 1, $b = 2, $c = 3; | function getProduct(): int { | function getProduct(): int { return $->a * $->b * $->c; | return $this->a * $this->b *$this->c; } | } } | }` by @at15

- Laravel

  - Activitylog, 记录用户操作.
  - 7to5, 把 php7 代码转成 php5.

- 其它

  - GifHub, Quickly insert GIFs in GitHub comments
  - piwik

  > Piwik is the leading open alternative to Google Analytics that gives you full control over your data. Piwik lets you easily collect data from websites, apps & the IoT and visualise this data and extract insights - glide, package management tool for golang.

  > package management tool for golang, use vendor (which is support by default in 1.6 @gaocegege you can use environment variables to enbable it in 1.5.x, set `GO15VENDOREXPERIMENT` to 1) a short explain for vendor by the author? of this tool http://engineeredweb.com/blog/2015/go-1.5-vendor-handling/ guess we could move Ayi from godeps to glide. @at15 - wakatime, Command line interface used by all WakaTime text editor plugins.

  > the cli tool used by all wakatime plugin, if it use waka time api, then we can impl a wakatime server, and use it for project management. @at15 - che, Eclipse IDE. Open source workspace server and cloud IDE maybe better than https://c9.io/

  > it uses docker. @at15

## 花边

- Pygments, utility used to highlight syntax.

  Sample Usage:

  `alias ccat='pygmentize -g -O style=colorful,linenos=1'`

- Minecraft to run artificial intelligence experiments

- openresty 最佳实践 from 360

- ownCloud 9.0 发布，更好的跨服务器共享和扩展性 (原文: 9.0 is the biggest ownCloud release so far) from @at15

- Steam Web Api, steam API, steam 支持 openid

- Mozilla 在 Firefox 46.0 中再次拿 GTK3 集成来挑逗 Linux 用户们