---
layout: post
title: Weekly
category: Weekly
author: 东岳

---

# Weekly 01/14 - 01/20
周报第十六期
- 催稿人：[@ComMouse](https://github.com/ComMouse)
- 交稿人：[@at15](https://github.com/at15) [@swaylq](https://github.com/swaylq) [@arrowrowe](https://github.com/arrowrowe) [@ComMouse](https://github.com/ComMouse) [@LukeXuan](https://github.com/LukeXuan) [@gaocegege](https://github.com/gaocegege) [@tq5124](https://github.com/tq5124)

> long long time ago, there was a mie on fire
> by *@at15*

> 寒假第一期，提前祝大家新年快乐~
> by *@ComMouse*

## 新闻

> 本周度娘主场~

- [ECharts 3.0 正式发布](http://echarts.baidu.com/index.html)
    > by *@at15*

- [China’s Baidu Releases Its AI Code](http://www.technologyreview.com/news/545486/chinas-baidu-releases-its-ai-code/): “China’s Google” is joining U.S. tech giants in giving away some of its code
    > 还没细看 = =
    > by *@arrowrowe*

- [开源项目 Maintainers 对 GitHub 的建议](https://github.com/dear-github/dear-github)
    > 其中提到了不少有用的建议啊我觉得。
    > by *@at15*

## 学习

- [Machine Learning](http://www.cs.cmu.edu/~roni/10601-s16/)

    > Machine Learning course from CMU. Class videos are provided in the "Schedule“ section.
    >
    > 10-601 may be one of the most popular graduate courses at CMU. From my own opinion, the speaker describe the question quite well. I have registered the course, so if anyone need the assignments, ~~fell~~ feel free to contact me.
    >
    > by *@tq5124*

- [设计模式 in Python](https://github.com/faif/python-patterns):

    > 当时学的时候就没弄懂，看看代码感觉还成。。
    > recommended by *@gaocegege*

- [结对编程 VS 代码审查](http://blog.jobbole.com/61349/)

    > recommended by *@swaylq*

- [What is the difference between `git merge` and `git merge --no-ff`? ](http://stackoverflow.com/questions/9069061/what-is-the-difference-between-git-merge-and-git-merge-no-ff)

    > `git merge --no-ff` 这个 GitLab 和 GitHub 的 PR merge 时候的方式，跟一般直接 `git merge` 的区别.
    >
    > and @gaocegege :star: 1引起了你注意 ~~(意义不明）~~
    >
    > by *@at15*
    >
    > [![](http://i.stack.imgur.com/FMD5h.png)](http://stackoverflow.com/questions/9069061/what-is-the-difference-between-git-merge-and-git-merge-no-ff)

- [JS Tips](https://github.com/loverajoel/jstips)

    > 一天一个 js 小技巧，看了一下还不错~

    > recommended by *@swaylq*

- [WiFi 破解方法](http://www.williamlong.info/archives/4481.html)

    > 话说我以前是用工具抓包再用工具分析的，好复杂。

    > recommended by *@swaylq*

- [A Little Architecture](http://blog.cleancoder.com/uncle-bob/2016/01/04/ALittleArchitecture.html)
    (from *https://github.com/zenany/weekly/commit/e92f31a94092e8b8f499c512b36b76c2961f129f*)

    > 架构师做什么？决定用什么框架什么数据库？不是的，这些都是不重要的决定，那什么重要呢，自己看吧。

    > by *@at15*

- [2015 国内 node 总结](https://cnodejs.org/topic/5696e43e6272216e51bff67e)
    (from *https://github.com/zenany/weekly/commit/e92f31a94092e8b8f499c512b36b76c2961f129f*)

    > (有种大家果然还是过农历的节奏)

    > 里面提到了**消息系统，认证**，这几个可以好好看下，先挖个坑

    > by *@at15*

- [Announcing Wolfram Programming Lab][wolfram.announce.url]

[![Wolfram Programming Lab][wolfram.p.l.screenshot]][wolfram.p.l]

[wolfram.announce.url]: http://blog.wolfram.com/2016/01/19/announcing-wolfram-programming-lab/
[wolfram.p.l]: https://lab.open.wolframcloud.com/app/
[wolfram.p.l.screenshot]: http://blog.stephenwolfram.com/data/uploads/2016/01/wolfram-programming-lab-startup-screen.png

> recommended by *@arrowrowe*

## [专题] PostgreSQL

- [从 Postgres95 到 PostgreSQL9.5：新版亮眼特性](https://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=403539201&idx=1&sn=367aa9fa4f6a63359c5158314f84eccf&scene=0&key=41ecb04b05111003bc16002810a65cc29db00307c69820809801c2701b6ce71972cf3e3c1174ab1a7b3b401662f67b3e&ascene=0&uin=Mjc0NzI0MjkwNQ%3D%3D&devicetype=iMac+MacBookPro12%2C1+OSX+OSX+10.10.5+build(14F1509)&version=11020201&pass_ticket=oI9XFJ2A259JyEIqztL4lZrs9vkPe0algEw5RoV57VHYA7ko6Kb7AR%2FImDViloh4) pg 的一些优点

    > 其实不试一试感觉都不会知道

    > by *@at15*

- [Speeding Up PostgreSQL With Partial Indexes](http://blog.heapanalytics.com/speeding-up-postgresql-queries-with-partial-indexes/) pg 索引优化
    > recommended by *@swaylq*

## [专题] Docker

- [Docker 入门](http://prakhar.me/docker-curriculum/)
    (from *https://github.com/zenany/weekly/commit/e92f31a94092e8b8f499c512b36b76c2961f129f*)

    > 其实 Docker 官方的教程非常不错，连 cmd 都告诉你怎么打开....

    > by *@at15*


- [Docker Registry](https://docs.docker.com/registry/introduction/)

    > 想要把东岳目前的开发环境做成 registry。
    > by *@swaylq*

    > Re: 做做做
    > by *@arrowrowe*

    > Re: 做Docker Registry非常的简单，我觉得困难的是如何把开发环境打成Image。不过我觉得这是极好的，尤其是配合一些容器集群的手段，甚至可以生产环境直接跑Docker~
    > by *@gaocegege*

- [Docker 社区](http://dockone.io/)
- [Dockerfile 的最佳实践](http://crosbymichael.com/dockerfile-best-practices.html)
- [用 Docker 创建开发环境](https://medium.com/on-docker/development-environments-with-docker-89657c7b4ea2#.u3dgvw5sn)
- [使用 Docker Compose 创建 Django 开发环境](https://docs.docker.com/compose/django/)

    > recommended by *@swaylq*

## [专题] ng2 (Angular 2)

- [广发证券 Blog](https://github.com/gf-rd/blog/issues)

    > Issue 里讲的是 Angular2 的开发, 我们也该开始接触 Angular2 & React 了，老守着 Angular 1.x 肯定是不行的

    > by *@at15*

- [ngMaterial 2](https://github.com/angular/material2) Early Stage
    - btw. [ngMaterial 1](http://material.angularjs.org)

    > Angular Material 哪天支持 2 了我就用 2 了…

    > by *@LukeXuan*

## [专题] Authentication

- [理解 OAuth 2.0](http://www.ruanyifeng.com/blog/2014/05/oauth_2_0.html)

    > recommended by *@swaylq*

- [JSON Web Token - 在 Web 应用间安全地传递信息](http://blog.leapoahead.com/2015/09/06/understanding-jwt/)
- [八幅漫画理解使用 JSON Web Token 设计单点登录系统](http://blog.leapoahead.com/2015/09/07/user-authentication-with-jwt/?utm_source=tuicool&utm_medium=referral)

    > recommended by *@ComMouse*

- [Node.js] [Austack 认证即服务](https://github.com/arrking/austack-core)

    > 认证即服务，作者的成功案例 https://auth0.com/     似乎跟他的项目没什么关系...只是服务类型相同。 @swaylq 这些你可以看看，这种服务的你可以看下，即使不用它们，看看API也能基本猜到大致的实现方式了，而且大部分 API 设计的都是不错的，我说的是 Auth0, 当是 [socket.io](http://socket.io) 的登陆验证还是看的他们的博客。

    > by *@at15*

- [Java] [Central Authentication Service](https://github.com/Jasig/cas)

    > 我决定去试一下，如果能满足
    >
    > - 提供API/自定义常用界面
    >  - 支持 OAuth登陆 Authentication
    >  - 支持 OAuth授权 Authorize
    >  - 跟 PHP 项目集成, 目前主要是 Laravel
    >
    > 那就可以在内部的项目里先用起来了.
    > by *@at15*

- [PHP] [OAuth 2.0 bridge for Laravel](https://github.com/lucadegasperi/oauth2-server-laravel)

    > OAuth 2.0 Server for Laravel

    > recommended by *@swaylq*

## 组织与项目

- [萌娘百科需要开发的东西](http://zh.moegirl.org/%E8%90%8C%E5%A8%98%E7%99%BE%E7%A7%91:%E7%A8%8B%E5%BA%8F%E5%91%98%E6%8B%9B%E5%8B%9F%E4%B8%AD)
    - [他们的 GitHub 组织](https://github.com/moegirlwiki)

    > @arrowrowe
    > by *@at15*


- [gitQAQ](https://github.com/at15/gitQAQ)

    > @gaocegege 我们来写个 gh 吧  (我真是挖坑小王子啊....
    > by *@at15*

    > 烂尾项目系列……
    > by *某小编*

## 工具与脚本

- [typewriter](http://www.macupdate.com/app/mac/12077/typewriter-keyboard)  

    > 敲键盘自带打字机音效，感觉蛮有意思的。OS 10.11亲测可用

    > recommended by *@gaocegege*

- [docblockr](https://atom.io/packages/docblockr)

    > ![image](https://cloud.githubusercontent.com/assets/3363954/12452358/fc5fa0ac-bfc8-11e5-9580-9092e4a98639.png)

    > recommended by *@LukeXuan*

- [iScript](https://github.com/PeterDing/iScript)

    > 各种脚本 多是python，少数js。里面有一个脚本引起了我的注意，猜猜是哪一个

    > recommended by *@gaocegege*

- [babun](https://github.com/babun/babun)

    > win 下的 bash，有些厉害的。

    > recommended by *@gaocegege*

- [google-diff-match-patch](https://code.google.com/p/google-diff-match-patch/)

    > Google's Diff Match Algo

    > recommended by *@ComMouse*

## 技巧

- [Emoji cheatsheet](http://www.emoji-cheat-sheet.com/)

    > 再也不怕 GitHub 里不会用 emoji 卖萌啦 :laughing:

    > recommended by *@arrowrowe*

- [How To Achieve Atom Editor Transparency](http://atom.transparent.gh)
[![Screenshot of the Transparent Atom][atom.transparent.screenshot]][atom.transparent.gh]

[atom.transparent.gh]: https://github.com/transcranial/atom-transparency
[atom.transparent.screenshot]: https://github.com/transcranial/atom-transparency/raw/master/screenshot.png

    > cc @at15 @LukeXuan

    > recommended by *@arrowrowe*

    > Re: 第一眼以为是游戏....

    > by *@at15*
