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

---

# Weekly 04/07 - 04/13

周报第二十八期

- 催稿人：[@at15][gh-at15]
- 交稿人：
  - [@at15][gh-at15]
  - [@arrowrowe][gh-mie]
  - [@ComMouse][gh-dou]
  - [@LukeXuan][gh-luke]
  - [@gaocegege][gh-cece]
  
[gh-at15]: https://github.com/at15
[gh-sway]: https://github.com/swaylq
[gh-mie]: https://github.com/arrowrowe
[gh-dou]: https://github.com/ComMouse
[gh-luke]: https://github.com/LukeXuan
[gh-cece]: https://github.com/gaocegege
[gh-tq]: https://github.com/tq5124
[gh-lp]: https://github.com/Bluemit
[gh-im]: https://github.com/InubashiriMomizi
[gh-oncemore]: https://github.com/oncemore2020

## Javascript

雷锋塔还是比雷锋受欢迎啊，说明大家还是喜欢白娘子

> Note: all from [@arrowrowe][gh-mie] if no author specified

- Node Hero Ch3: [Understanding Async Programming in Node.js](https://blog.risingstack.com/node-hero-async-programming-in-node-js/)
from [@arrowrowe][gh-mie]
- A detailed and friendly Promise guiding book: [JavaScript Promiseの本](http://azu.github.io/promises-book/) (Chinese: [JavaScript Promise迷你书](http://liubin.org/promises-book/)).
- Note its recommendations ([JavaScript: The Good Parts](http://shop.oreilly.com/product/9780596517748.do), [JavaScript Patterns](http://shop.oreilly.com/product/9780596806767.do), [JavaScript: The Definitive Guide, 6th Edition](http://shop.oreilly.com/product/9780596805531.do) etc.) as well.
- Other recommendations: [Bluebird](http://bluebirdjs.com/docs/getting-started.html)'s [API Reference](http://bluebirdjs.com/docs/api-reference.html) and [Why Promises](http://bluebirdjs.com/docs/why-promises.html).
- [Minty.js](https://github.com/lumpy-turnips/minty). Run your code through Minty.js to see the state of your variables as each line executes.
- https://github.com/Fooidge/PleaseJS 
> Please.js is a polite companion that wants to help you make your projects beautiful. It uses HSV color space to create random pleasing colors as well as color schemes based on a given color. It has two core functions and a bunch of little helpers for you to use.
- https://github.com/icepy/Front-End-Develop-Guide
- https://github.com/mzabriskie/axios
> Promise based HTTP client for browser and node.js
- Emoji helpers as CLI with node: [emoji-cli](https://www.npmjs.com/package/emoji-cli) and [emomi](https://github.com/InubashiriMomizi/emomi).
- [WebTorrent Desktop](https://webtorrent.io/desktop) (GitHub: [feross/webtorrent-desktop](https://github.com/feross/webtorrent-desktop)), The streaming torrent client.
- [Analyzing the NPM dependency network](https://medium.com/graph-commons/analyzing-the-npm-dependency-network-e2cf318c1d0d)
![NPM](https://cdn-images-1.medium.com/max/1200/1*MrEp6Y0l1B7Ixt5mfE3fWA.png)
- [Tern](http://ternjs.net/) (GitHub: [ternjs/tern](https://github.com/ternjs/tern)), a stand-alone, editor-independent JavaScript analyzer that can be used to improve the JavaScript integration of existing editors.
- [Webpack — The Confusing Parts](https://medium.com/@rajaraodv/webpack-the-confusing-parts-58712f8fcad9)
- https://github.com/froala/wysiwyg-editor another wysiwyg editor
- https://github.com/maxogden/art-of-node e ... I am not very interested in node now /w\
- https://github.com/yiom/sketchpad a simple sketch pad cc @arrowrowe 
- http://leafletjs.com/ an open-source JavaScript library
for mobile-friendly interactive maps from `@年轻漂亮的肥皂小姐`   用的是 openstreetmap的数据
- https://github.com/jakubfiala/atrament.js another js lib for drawing
- https://github.com/mperham/sidekiq.js js port for sidekiq from author of sidekiq 0.0
- https://github.com/relax/relax next gen cms on ~~php~~ Nodejs
![Bell Curve for JavaScript App's Complexity and Size](http://www.planningforaliens.com/images/bell_curve.png)
![Bell Curve for JavaScript App's Complexity and Size, and Where are YOU](http://www.planningforaliens.com/images/bell_curve_2.png)


## PHP

世界上最好的语言和(在我看来)没什么新意的社区

- [PSR-7 By Example](https://mwop.net//blog/2015-01-26-psr-7-by-example.html)

跟楼上JS比有点寒酸的厉害啊....

## Database

- https://github.com/showcases/nosql-databases 
- https://github.com/rethinkdb/rethinkdb
> RethinkDB is the first open-source scalable database built for realtime applications. It exposes a new database access model -- instead of polling for changes, the developer can tell the database to continuously push updated query results to applications in realtime

## Bilibili

- [B站2000万用户分析](http://ursb.me/2016/02/23/B%E7%AB%992000%E4%B8%87%E7%94%A8%E6%88%B7%E5%88%86%E6%9E%90/) (GitHub: [airingursb/bilibili-user](https://github.com/airingursb/bilibili-user))
- [B站用户报告](http://ursb.me/bilibili-report/) (GitHub: [airingursb/bilibili-report](https://github.com/airingursb/bilibili-report))
- [bfs](http://mp.weixin.qq.com/s?__biz=MzAwMDU1MTE1OQ==&mid=406016886&idx=1&sn=f5aa286373fb981c9de904568fe7ddb2&scene=1&srcid=0411lD1Vhr9rxsBuptwBFpCq#rd) b站的小文件系统 (不是广搜....)
- bfs的代码(居然在gh上 \w/) https://github.com/Terry-Mao/bfs
> 从那篇文章里找到的作者 https://github.com/Terry-Mao 他的其他一些golang的项目 cc @gaocegege 
- https://github.com/Terry-Mao/gopush-cluster
- https://github.com/Terry-Mao/goim
- https://github.com/fuckbilibili b站api什么的...

## Architect 

- [序列化和反序列化](http://www.infoq.com/cn/articles/serialization-and-deserialization)
> 其中有各种 RPC 序列化方式的介绍 from [@ComMouse][gh-dou]

- [秒杀业务架构优化之路](http://www.infoq.com/cn/articles/flash-deal-architecture-optimization)
> 比较通用的秒杀业务优化流程，从浏览器端到数据库层都给出了解决方案 from [@ComMouse][gh-dou]

- https://github.com/mmcgrana/services-engineering cc @gaocegege @tq5124 

## News

- [OS X/iOS 系统漏洞整理](http://mp.weixin.qq.com/s?__biz=MzIyMzE4MTMyMw==&mid=401923379&idx=1&sn=22cdf99ea6417820ef4d49516c53ee86&scene=1&srcid=0407iSQfq96fSiCDJvCYhShh&from=groupmessage&isappinstalled=0#wechat_redirect) 
from [@Swaylq][gh-sway]
- [GitLab Pages](http://pages.gitlab.io/)
- What just happened to [Greenkeeper](https://greenkeeper.io/): [_Your “just” considered harmful_](https://medium.com/@boennemann/your-just-considered-harmful-679db7366b95). Fake robot PRs? "Just" merge them totally trusting? See what's going on here.

## 教学

- [Composing Programs](http://composingprograms.com/), a free online introduction to programming and computer science.
- [ungit](https://github.com/FredrikNoren/ungit)
Decorators & metadata reflection in TypeScript: From Novice to Expert
- [PART I: Method decorators](http://blog.wolksoftware.com/decorators-reflection-javascript-typescript)
- [PART II: Property decorators & Class decorators](http://blog.wolksoftware.com/decorators-metadata-reflection-in-typescript-from-novice-to-expert-part-ii)
- [PART III: Parameter decorators & Decorator factory](http://blog.wolksoftware.com/decorators-metadata-reflection-in-typescript-from-novice-to-expert-part-3)
- [PART IV: Types serialization & The metadata reflection API](http://blog.wolksoftware.com/decorators-metadata-reflection-in-typescript-from-novice-to-expert-part-4)
- ......Subscribe via [RSS](http://blog.wolksoftware.com/feed)!

## 学术

虽然不读PHD，但是还是要装出一副关心科研的样子。

- https://zenodo.org/ research shared cc @sxjscience
- [Semantic Mining of Social Network](http://keg.cs.tsinghua.edu.cn/jietang/publications/book15-tang-Semantic-Mining-Social-Networks.pdf)


## 游戏

话说rust的服务器还没搭起来

- https://github.com/AlexNisnevich/untrusted 
> A meta-JavaScript adventure game by Alex Nisnevich and Greg Shuflin. http://alex.nisnevich.com/untrusted/


## 烩菜

大晚上整理weekly起这个标题真是折磨自己

- https://github.com/soimort/you-get readme里fork you的配图大赞
- https://github.com/BBC-News/wraith
> Wraith — A responsive screenshot comparison tool from [@at15][gh-at15]

- https://angular.io/docs/ts/latest/guide/router.html#!#base-href
> 看 ng2 才知道了 html 的 base tag https://developer.mozilla.org/en/docs/Web/HTML/Element/base

- [Veertu](http://veertu.com/) OS X native virtualization box provider. from [@LukeXuan][gh-luke]
- [Space Radar Electron](https://github.com/zz85/space-radar), a space visualizer that allows interactive Sunburst and Treemap charting of your disk space and memory.
- [WebUSB API](https://wicg.github.io/webusb/)
- [Mathics](https://mathics.github.io/) (GitHub: [mathics/Mathics](https://github.com/mathics/Mathics)), A free, light-weight alternative to Mathematica.
- https://github.com/passy/givegif cc @gaocegege @swaylq @LukeXuan have elder in your console \w/

From https://github.com/zenany/weekly/commit/d16a344e249456e6341362cadb9b24109c65aab5

**What are CSS Modules and why do we need them?**  

- https://css-tricks.com/css-modules-part-1-need  
- https://speakerdeck.com/vjeux/react-css-in-js  
> 另外 ng2 的 css 是 scope 的，btw:很久没有关注 css 了.... 奉行自己能用即可不考虑浏览器兼容的原则

作者整理了各个游戏引擎目前的 Star 及贡献者数等指标 
- http://diycode.cc/topics/16 
> cc @ComMouse 里面有个国产的白鹭，支持flash和h5转化

MS放弃VBA，可以用Node写office插件了
- http://www.infoq.com/cn/news/2016/04/Node-for-Office
- https://channel9.msdn.com/Events/Build/2016/P552

## Future

> - 人不能苟且，要看到远方。 - @arrowrowe
- 鉴于咩在项目写不完的时候去看番了，我就去看小电影了 - @at15
- 明明就没有什么要写的 - @xsfour
- Luke is playing Doata2 - @LukeXuan
- TT - @ComMouse
- 我已经什么都忘了(感觉一打女主要出现在失忆的男主身边了) - @scott
- 说好的早就写完了呢 - 一直不明真相(一清二楚)的圈老师

### 咩抖酱，升级版的阿姨

功能包含但不限于

- 基于 Joomla 的外包开发和维护
- 常见问题自动解答，ie: `Linux 是什么? Miebot: LTFM`, `婶婶为什么还是单身? Miebot: My lips are sealed`,
 `策策为什么总是挖坑? Miebot: 因为他从来不填`, `小福福萌么? Miebot: 蠢而不萌谓之福`,`乾乾是gay么? Miebot: If you
 are a gay, then you sway and sway`
- 回答错误被打时自动逃离战场
- 体感游戏，ie: `定时跪键盘 cc@圆圆`，`咩的20种烹饪方式 cc@阿姨`
- 搜索, ie:`咩抖，咩抖，告诉我哪家酸菜鱼特价`
- 帮立Flag，etc

- https://github.com/itsabot/abot 

> Abot makes it easy and fun to build your own digital assistant, 
and we include everything you need to get started. https://www.itsabot.org

cc @arrowrowe @LukeXuan do you want make a 咩抖酱? from [@at15][gh-at15]

- https://github.com/OpenKinect/libfreenect2

> Opensource driver for kinect for windows v2 from [@at15][gh-at15]

- https://github.com/jaeksoft/opensearchserver  got a lot of features like OCR, but elasticsearch is already there ... 

- [Why Everyone Hates Go](http://npf.io/2014/10/why-everyone-hates-go/)
- https://github.com/mmcgrana/gobyexample
- https://github.com/a8m/go-lang-cheat-sheet (guess this one may duplicate)

> 组织决定了，阿姨和咩抖酱都用 golang 来写

- [How we built a recommendation system that helps readers discover 38 million interesting articles per month](https://medium.com/taringa-on-publishing/how-we-built-a-recommendation-system-that-helps-readers-find-38mm-interesting-articles-per-month-f6541168794b)

> How we wrote Miebot that drove everyone crazy


### Dy SRE

功能包含但不限于

- 叮，同去又挂了
- 叮，GitLab今天发布了3个新版本
- Duang，咩抖酱瞎说话又被打了

- https://github.com/firehol/netdata 
> Real-time performance monitoring, done right! http://netdata.firehol.org

- https://github.com/mperham/inspeqtor
> Inspeqtor monitors your application infrastructure. It gathers and verifies key metrics from all the moving parts in your application and alerts you when something looks wrong. **It understands the application deployment workflow so it won't bother you during a deploy.**
cc @gaocegege 

### Dy Home

功能包含但不限于

- 组织记录, ie: `波总捐款1亿，改组东岳，只收单身女性成员`
- 成员历程，ie: `婶婶已经持续单身了30年，请期待下一个十年！刚把爹`
- 彩蛋, ie: `打开console之后利用chrome的bug塞满c盘`

> https://github.com/Aufree/laravel5-cheatsheet
另外他们的about页面做的还可以，我们可以参考下 http://estgroupe.com/ cc @arrowrowe from [@at15][gh-at15]