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

---

# Weekly 04/14 - 04/20

周报第二十九期

- 催稿人:
  [@swaylq][sway]
  (由 [@arrowrowe][mie] 代理)
- 交稿人:
  [@at15][at15]
  [@swaylq][sway]
  [@arrowrowe][mie]
  [@ComMouse][dou]
  [@gaocegege][cece]
  [@InubashiriMomizi][im]
  [@sxjscience][sxj]

[at15]: https://github.com/at15
[sway]: https://github.com/swaylq
[mie]: https://github.com/arrowrowe
[dou]: https://github.com/ComMouse
[luke]: https://github.com/LukeXuan
[tq]: https://github.com/tq5124
[cece]: https://github.com/gaocegege
[lp]: https://github.com/Bluemit
[im]: https://github.com/InubashiriMomizi
[sxj]: https://github.com/sxjscience
[rainux]: https://github.com/rainux

[ce37552]: https://github.com/zenany/weekly/commit/ce37552ad4ff044eb606609e9e6e2e546607495f

## For Productivity

### Editor and Extension

- [Visual Studio Code 1.0!](https://code.visualstudio.com/blogs/2016/04/14/vscode-1.0)

  > Visual Studio Code 更新后, 变成中文版本了, 而且多了很多 theme, 更加好用了. _[@gaocegege][cece]_
- [Micro](https://github.com/zyedidia/micro), a __terminal-based__ text editor that aims to be easy to use and intuitive, while also taking advantage of the full capabilities of modern terminals. (And it's written in Golang.)
- [Kite](https://kite.com/), your programming copilot, augments your coding environment with all the internet’s programming knowledge.See its plugins at [kiteco/plugins](https://github.com/kiteco/plugins) (currently IntelliJ, Atom, Sublime, Vim available).

### Mac Apps

- [Hammerspoon](http://www.hammerspoon.org/) (GitHub: [Hammerspoon/hammerspoon](https://github.com/Hammerspoon/hammerspoon)), a tool for powerful automation of OS X.

  > 推荐一个可编程（使用 Lua）的效率工具 Hammerspoon. 一个 app 优雅搞定 Manico, Slate, SizeUp 等一堆工具解决的问题. [这](https://github.com/rainux/home/tree/master/.hammerspoon) 是我的配置文件, 使用 Moonscript 编写, 配置应该是自解释的. _[@rainux][rainux]_
- [Medis](http://getmedis.com/) (GitHub: [luin/medis](https://github.com/luin/medis)), a beautiful, easy-to-use Mac database management application for Redis, built with Electron.

## Backend

- Laravel Repository Pattern
  - [Using Repository Pattern in Laravel 5](https://bosnadev.com/2015/03/07/using-repository-pattern-in-laravel-5/)
  - [andersao/l5-repository](https://github.com/andersao/l5-repository), Laravel 5 Repositories to abstract the database layer.
  - [anlutro/laravel-repository](https://github.com/anlutro/laravel-repository), pseudo-repositories on top of Laravel's ORM.
  - [Bosnadev/Repositories](https://github.com/Bosnadev/Repositories), Laravel Repositories, a package for Laravel 5 which is used to abstract the database layer.
- [Class Preloader](https://github.com/ClassPreloader/ClassPreloader), optimizes class loading performance by generating a single PHP file containing all of the autoloaded files for a specific use case.
- [給網站初學者的建議：用 RUBY ON RAILS 非常辛苦，用 PHP 非常舒服](http://blog.turn.tw/?p=2881)

  > 难得有赞扬世界上最好语言的文章. _[@ComMouse][dou]_

## Frontend

### Quality Assurance

- [alibaba/F2etest](https://github.com/alibaba/f2etest), 一个面向前端, 测试, 产品等岗位的多浏览器兼容性测试整体解决方案.
- [Welcoming JSCS to ESLint](http://eslint.org/blog/2016/04/welcoming-jscs-to-eslint), the JSCS team is now part of the ESLint team!

### Security

- [AJAX Security Cheat Sheet](https://www.owasp.org/index.php/OWASP_AJAX_Security_Guidelines)

### SVG

- [How to work with SVG icons](http://fvsch.com/code/svg-icons/how-to/) (中译: [SVG 图标制作指南](http://qianduan.guru/2016/04/17/How-to-work-with-SVG-icons/), 同时发布在 [知乎专栏](http://zhuanlan.zhihu.com/p/20753791))

### Libraries and Frameworks

- Angular
  - [colthreepv/angular-login-example](https://github.com/colthreepv/angular-login-example), a stand-alone project showing how to make a robust angular application serving access permissions from Server.
- React
  - [REACT NATIVE 蛮荒开发生存指南](http://www.desgemini.com/?p=77) (from [zenany/weekly@ce37552][ce37552])
- More JavaScript Libraries
  - [Hjson, the Human JSON](http://hjson.org/) (GitHub: [laktak/hjson](https://github.com/laktak/hjson)).
  - [browserstate/history.js](https://github.com/browserstate/history.js), gracefully supports the HTML5 History/State APIs (pushState, replaceState, onPopState) in all browsers.

    > Badge 是亮点... 项目 13 年之后就没有更新了, 不过或许曾经 inspire 了很多前端 router 的实现? _[@at15][at15]_
  - [WhitestormJS](http://whitestormjs.xyz/), a framework for 3D web apps built with [Three.js](http://threejs.org/) technology.
  - [niklasvh/html2canvas](https://github.com/niklasvh/html2canvas), takes "screenshots" of webpages or parts of it, directly on the users browser.

    > In fact it rebuilds the DOM in a canvas... _[@arrowrowe][mie]_
- Java and Scala
  - [Vaadin](http://vaadin.com/) (GitHub: [vaadin/vaadin](https://github.com/vaadin/vaadin)), a Java framework for building modern web applications that look great, perform well and make you and your users happy.

### More

- [Finally, CSS In JavaScript! Meet CSSX](https://www.smashingmagazine.com/2016/04/finally-css-javascript-meet-cssx/)
- [Bluebird in the wild: Advanced promise-based workflows](http://blog.runnable.com/post/143035495456/bluebird-in-the-wild-advanced-promise-based) (reference: [API Reference | bluebird](http://bluebirdjs.com/docs/api-reference.html))
- Continue the _Node Hero_ series! It's the 4th already: [Your First Node.js HTTP Server](https://blog.risingstack.com/your-first-node-js-http-server/).
- [百度 H5](http://h5.baidu.com/) (from [zenany/weekly@ce37552][ce37552])

  > 百度的 H5 工具, 文档感觉有点粗糙, 不知道产品怎么样. _[@at15][at15]_
- [Reveal.js controlled by gestures based on WebCam](https://github.com/willy-vvu/reveal.js)

  > [@ComMouse][dou] 小豆要用手势来讲? _[@at15][at15]_
  >
  > 那个貌似只能当玩具... _[@ComMouse][dou]_

## Design

- [Don’t design like a programmer](http://www.uxdesignedge.com/2010/03/dont-design-like-a-programmer/)

  > The more important thing is, don't give a programmer the liberty to design... Everyone wants to be an artist... _[@at15][at15]_
  >
  > We’ve all used a form to login, submit a help request, place an order, book a flight, schedule a meeting and perform countless other data entry tasks. Forms are the mainstay of business applications.
  >
  > Any seasoned web developer can slap together an HTML form with all the right tags. It's more challenging to create a cohesive data entry experience that guides the user efficiently and effectively through the workflow behind the form.
  >
  > _That_ takes design skills that are, to be frank, well out of scope for this chapter.
  >
  > _[Froms | Angular 2 for TypeScript](https://angular.io/docs/ts/latest/guide/forms.html)_
- [从《中文排版需求》开始](http://www.typeisbeautiful.com/2015/04/9171/), 中文排版指南. (from [zenany/weekly@ce37552][ce37552])

## Golang

- [Go Books](https://github.com/dariubs/GoBooks)
- Torrent related stuff in Golang.
  - [colthreepv/golang-torrent-recap](https://github.com/colthreepv/golang-torrent-recap), a torrent library for Golang.
  - [anacrolix/torrent](https://github.com/anacrolix/torrent), full-featured BitTorrent client package and utilities.
  - [Sioro-Neoku/go-peerflix](https://github.com/Sioro-Neoku/go-peerflix), watching while downloading.

## Linux, Ubuntu, Docker etc.

- [docker-alpine](https://github.com/gliderlabs/docker-alpine), a super small Docker image based on [Alpine Linux](http://alpinelinux.org/).
- [sysdig](http://www.sysdig.org/) (GitHub: [draios/sysdig](https://github.com/draios/sysdig)), universal system visibility with native container support.
- [Snappy Ubuntu Core](https://developer.ubuntu.com/en/snappy/), Ubuntu for IoT.

  > Seems to be a new package system or small os image? _[@at15][at15]_
- [Snappy](https://github.com/ubuntu-core/snappy), the software at the heart of Ubuntu Core.

## Reading List

### Deep Learning etc.

- [Deep Learning](http://www.deeplearningbook.org/), an MIT Press book, a resource intended to help students and practitioners enter the field of machine learning in general and deep learning in particular.
- [Deep Learning Tutorial Series for NLP](http://www.thoughtly.co/blog/category/deep-learning-tutorial-series/)
- [Code samples for _Neural Networks and Deep Learning_](https://github.com/mnielsen/neural-networks-and-deep-learning)
- [GPUImage 2](https://github.com/BradLarson/GPUImage2), a BSD-licensed Swift framework for GPU-accelerated video and image processing.

### Algorithms

- [xtaci/algorithms](https://github.com/xtaci/algorithms), C++ 的各种算法实现.

  > 看看别人写的代码才觉得自己写的 style 好差劲. _[@gaocegege][cece]_
- [Fantasy Land Specification](https://github.com/fantasyland/fantasy-land), specification for interoperability of common algebraic structures in JavaScript.

### Continuous Delivery

- [Chef](http://chef.io/) (GitHub: [chef/chef](https://github.com/chef/chef)), a systems integration framework, built to bring the benefits of configuration management to your entire infrastructure. See also [Facebook Chef cookbooks](https://code.facebook.com/posts/1909042435988955/facebook-chef-cookbooks/).

### More

- [How to be a Programmer](https://github.com/braydie/HowToBeAProgrammer) ([中译](https://github.com/ahangchen/How-to-Be-A-Programmer-CN)) (from [zenany/weekly@ce37552][ce37552])
- [Ever Wondered Why We Use 192.168.X.X IP Addresses At Home?](http://trendblog.net/ever-wondered-use-192-168-x-x-ip-addresses-home/)
- [DBAD](http://www.dbad-license.org/) (GitHub: [philsturgeon/dbad](https://github.com/philsturgeon/dbad)), the "Dont Be a Dick" Public License.

## Community

- [Ask.GitHuber.cn](http://ask.githuber.cn/)

  > 国内 github user group~? _[@gaocegege][cece]_
- [第二届 GOPHER CHINA 大会](http://www.gopherchina.org/) (from [zenany/weekly@ce37552][ce37552])

## News

- [Google CDN Beta is here… and it’s already one of the fastest CDNs out there!](http://blog.speedchecker.xyz/2016/04/18/google-cdn-beta-is-here-and-it-brings-more-than-meets-the-eye/)
