<%- post.title %>
8 |17 | <%= theme.excerpt_link %>... 18 |
19 | <% } %> 20 |├── .editorconfig ├── .gitignore ├── .travis.yml ├── .travis ├── deploy-key.enc └── ssh_config ├── CHANGELOG.md ├── LICENSE.txt ├── README.md ├── _config.yml ├── guideline └── convention.md ├── package.json ├── scaffolds ├── draft.md ├── page.md ├── photo.md └── post.md ├── source ├── CNAME ├── _drafts │ ├── 2015-02-20-iojs-roadmap.md │ ├── npm-weekly-23.md │ ├── npm-weekly-24.md │ ├── npm-weekly-25.md │ ├── npm-weekly-26.md │ ├── npm-weekly-27.md │ ├── npm-weekly-28.md │ ├── npm-weekly-29.md │ ├── npm-weekly-30.md │ ├── npm-weekly-31.md │ ├── npm-weekly-32.md │ ├── weekly-update-april-17th.md │ └── weekly-update-april-24th.md ├── _posts │ ├── 2015-02-06-weekly.md │ ├── 2015-02-12-io-js-and-node-js-foundation.md │ ├── 2015-02-13-getting-to-know-io-js.md │ ├── 2015-02-13-weekly.md │ ├── 2015-02-15-npm-weekly-5.md │ ├── 2015-02-22-io-js-weekly-2015-02-20.md │ ├── 2015-02-24-npm-weekly-6.md │ ├── 2015-03-04-npm-weekly-7.md │ ├── 2015-03-07-io-js-week-of-february-27th.md │ ├── 2015-03-08-weekly-update-2015-03-06.md │ ├── 2015-03-12-npm-weekly-8.md │ ├── 2015-03-15-weekly-update-march-13th.md │ ├── 2015-03-18-npm-weekly-9.md │ ├── 2015-03-20-weekly-update-march-20th.md │ ├── 2015-04-01-weekly-update-march-27th.md │ ├── 2015-04-04-npm-weekly-10.md │ ├── 2015-04-06-weekly-update-april-3rd.md │ ├── 2015-04-12-npm-weekly-11.md │ ├── 2015-04-15-weekly-update-april-10th.md │ ├── 2015-04-18-npm-weekly-12.md │ ├── 2015-04-30-npm-weekly-13.md │ ├── 2015-04-30-npm-weekly-14.md │ ├── 2015-05-05-building-a-better-node-community.md │ ├── 2015-05-17-npm-weekly-15.md │ ├── 2015-05-17-npm-weekly-16.md │ ├── 2015-05-31-npm-weekly-17.md │ ├── 2015-05-31-npm-weekly-18.md │ ├── 2015-05-31-weekly-update-may-15th.md │ ├── 2015-05-31-weekly-update-may-1st.md │ ├── 2015-06-24-npm-weekly-19.md │ ├── 2015-06-26-npm-weekly-20.md │ ├── 2015-07-10-npm-weekly-21.md │ ├── 2015-07-21-npm-weekly-22.md │ └── 2015-08-23-npm-weekly-25.md └── about-us │ └── index.md └── themes ├── casper ├── .gitignore ├── LICENSE ├── README.md ├── _config.yml ├── layout │ ├── archive.ejs │ ├── casper │ │ ├── after_all.ejs │ │ ├── footer.ejs │ │ ├── head.ejs │ │ ├── header.ejs │ │ ├── index.ejs │ │ ├── post.ejs │ │ └── post │ │ │ ├── author.ejs │ │ │ ├── comments.ejs │ │ │ ├── meta.ejs │ │ │ ├── navigation.ejs │ │ │ └── share.ejs │ ├── category.ejs │ ├── index.ejs │ ├── layout.ejs │ ├── page.ejs │ ├── post.ejs │ └── tag.ejs └── source │ ├── css │ ├── normalize.css │ └── screen.css │ ├── fonts │ ├── icons.dev.svg │ ├── icons.eot │ ├── icons.svg │ ├── icons.ttf │ └── icons.woff │ └── js │ ├── index.js │ └── jquery.fitvids.js └── landscape ├── Gruntfile.js ├── LICENSE ├── README.md ├── _config.yml ├── layout ├── _partial │ ├── after-footer.ejs │ ├── archive-post.ejs │ ├── archive.ejs │ ├── article.ejs │ ├── footer.ejs │ ├── google-analytics.ejs │ ├── head.ejs │ ├── header.ejs │ ├── mobile-nav.ejs │ ├── post │ │ ├── category.ejs │ │ ├── date.ejs │ │ ├── gallery.ejs │ │ ├── nav.ejs │ │ ├── tag.ejs │ │ └── title.ejs │ └── sidebar.ejs ├── _widget │ ├── archive.ejs │ ├── category.ejs │ ├── recent_posts.ejs │ ├── tag.ejs │ └── tagcloud.ejs ├── archive.ejs ├── category.ejs ├── index.ejs ├── layout.ejs ├── page.ejs ├── post.ejs └── tag.ejs ├── package.json ├── scripts └── fancybox.js └── source ├── css ├── _extend.styl ├── _partial │ ├── archive.styl │ ├── article.styl │ ├── comment.styl │ ├── footer.styl │ ├── header.styl │ ├── highlight.styl │ ├── mobile.styl │ ├── sidebar-aside.styl │ ├── sidebar-bottom.styl │ └── sidebar.styl ├── _util │ ├── grid.styl │ └── mixin.styl ├── _variables.styl ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ └── fontawesome-webfont.woff ├── images │ └── banner.jpg └── style.styl ├── fancybox ├── blank.gif ├── fancybox_loading.gif ├── fancybox_loading@2x.gif ├── fancybox_overlay.png ├── fancybox_sprite.png ├── fancybox_sprite@2x.png ├── helpers │ ├── fancybox_buttons.png │ ├── jquery.fancybox-buttons.css │ ├── jquery.fancybox-buttons.js │ ├── jquery.fancybox-media.js │ ├── jquery.fancybox-thumbs.css │ └── jquery.fancybox-thumbs.js ├── jquery.fancybox.css ├── jquery.fancybox.js └── jquery.fancybox.pack.js └── js └── script.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = space 5 | indent_size = 2 6 | end_of_line = lf 7 | charset = utf-8 8 | trim_trailing_whitespace = true 9 | insert_final_newline = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [Makefile] 15 | indent_style = tab 16 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Thumbs.db 3 | db.json 4 | *.log 5 | node_modules/ 6 | public/ 7 | .deploy*/ -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | 3 | node_js: 4 | - '0.12' 5 | 6 | before_install: 7 | # Decrypt the private key 8 | - openssl aes-256-cbc -K $encrypted_383050e1c0e9_key -iv $encrypted_383050e1c0e9_iv -in .travis/deploy-key.enc -out ~/.ssh/id_rsa -d 9 | # Set the permission of the key 10 | - chmod 600 ~/.ssh/id_rsa 11 | # Start SSH agent 12 | - eval $(ssh-agent) 13 | # Add the private key to the system 14 | - ssh-add ~/.ssh/id_rsa 15 | # Copy SSH config 16 | - cp .travis/ssh_config ~/.ssh/config 17 | # Set Git config 18 | - git config --global user.name "Bo-Yi Wu" 19 | - git config --global user.email appleboy.tw@gmail.com 20 | # Install Hexo 21 | - npm install hexo-cli -g 22 | 23 | script: 24 | - hexo gm 25 | - hexo deploy 26 | 27 | branches: 28 | only: 29 | - master 30 | -------------------------------------------------------------------------------- /.travis/deploy-key.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nodejs/nodejs-zh-TW/2ec8d69af29827866f59dafc146ca65f53784e1c/.travis/deploy-key.enc -------------------------------------------------------------------------------- /.travis/ssh_config: -------------------------------------------------------------------------------- 1 | Host github.com 2 | User git 3 | StrictHostKeyChecking no 4 | IdentityFile ~/.ssh/id_rsa 5 | IdentitiesOnly yes 6 | -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- 1 | This software is licensed under the MIT License. 2 | 3 | Copyright(c) iojs/iojs-tw and other contributors. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # iojs-tw 2 | 3 | [](https://travis-ci.org/nodejs/iojs-tw) [](https://gitter.im/iojs/iojs-tw?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) 4 | 5 | [台灣官方網站](http://tw.iojs.org/) 6 | 7 | ## 協作方法 8 | 9 | 1. 歡迎想要協助翻譯、推廣或各類貢獻的人,以任何形式進行貢獻,若遇到任何問題,可隨時發起一則議題(issue)進行討論。 10 | 2. 如果想要直接加入翻譯團隊,請至 [入坑申請](https://github.com/iojs/iojs-tw/issues/2) 回應,並於文內做簡短自我介紹。 11 | 3. 有任何工作項目待執行(如發起某一份文件的翻譯),請直接到 [Issue](https://github.com/iojs/iojs-tw/issues/new) 發出一則議題。 12 | 4. 發現任何問題需要進行討論,直接到 [Issue](https://github.com/iojs/iojs-tw/issues/new) 發起討論,並對應到一個 label 13 | 5. 如果想要貢獻及修改 repo 裡的資料,歡迎直接發 [Pull request](https://github.com/iojs/iojs-tw/pulls) ,並在 assignee 指定一個 Reviewer。 14 | 6. 請直接於 issue 後回文,無論是要幫忙翻譯部分內容還是進行討論,若有完成工作,也請回文進行回報。 15 | 16 | ## 工作流程 17 | 18 | 工作流程採用 [GitHub Flow](https://guides.github.com/introduction/flow/index.html),且需遵守 [書籍寫作規範](./guideline/convention.md)。 19 | 20 | 1. 發現任何問題需要進行討論,直接到 [Issue](https://github.com/iojs/iojs-tw/issues/new) 發起討論,並對應到一個 label。 21 | 2. 如果發現資料有需要進行更新,歡迎直接發 [Pull Request](https://github.com/iojs/iojs-tw/pulls) ,並在指定一個 Reviewer。 22 | 3. 當項目完成討論,合併後將會進行項目的 `close`。 23 | 24 | ## 志工招募 25 | 26 | 有志者直接上 [Issue](https://github.com/iojs/iojs-tw/issues/2) 留言後進行入坑申請。目前人力需求。 27 | 28 | * 翻譯(英文翻譯中文,或者簡體中文翻譯成繁體中文 XD) 29 | * 社群媒體 [發佈人員](https://github.com/iojs/iojs-tw/issues/5) 30 | * 網站製作人員 31 | * 設計專長人員 32 | 33 | ## 社群媒體 34 | 35 | 歡迎關注下列社群帳號,以獲得 iojs-tw 的最新資訊 36 | 37 | Twitter [@iojs-tw](https://twitter.com/iojs_tw): 目前由下列社群成員協助管理 (名稱排序) 38 | - [clonn](https://github.com/clonn) 39 | - [dca](https://github.com/dca) 40 | - [jessy1092](https://github.com/jessy1092) 41 | 42 | 目前既有的 Node.js 社群帳號 43 | 44 | - Twitter [@NodejsTaiwan](https://twitter.com/NodejsTaiwan) 45 | - [Node.js Taiwan 粉絲頁](https://www.facebook.com/NodeJS.tw) 46 | - [Node.js Taiwan 社團](https://www.facebook.com/groups/node.js.tw) 47 | - [Node.js Taiwan Youtube](https://www.youtube.com/user/nodejsTaiwan) 48 | - [Node.js Taiwan google plus](https://plus.google.com/106619802476745918068) 49 | 50 | ## 貢獻者 51 | 52 | 請參照 [Contributors Link](https://github.com/iojs/iojs-tw/graphs/contributors) 53 | 54 | ## 授權 55 | 56 | * 程式碼採取 [MIT License](https://github.com/iojs/iojs-tw/blob/master/LICENSE.txt) 57 | * 翻譯採取 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) [@iojs-tw](https://github.com/iojs/iojs-tw) 58 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | # Hexo Configuration 2 | ## Docs: http://hexo.io/docs/configuration.html 3 | ## Source: https://github.com/hexojs/hexo/ 4 | 5 | # Site 6 | title: iojs 台灣 7 | subtitle: 8 | description: 9 | author: iojs 台灣 10 | language: zh-TW 11 | timezone: 12 | 13 | # URL 14 | ## If your site is put in a subdirectory, set url as 'http://yoursite.com/child' and root as '/child/' 15 | url: http://tw.iojs.org 16 | root: / 17 | permalink: :year/:month/:day/:title/ 18 | permalink_defaults: 19 | 20 | # Directory 21 | source_dir: source 22 | public_dir: public 23 | tag_dir: tags 24 | archive_dir: archives 25 | category_dir: categories 26 | code_dir: downloads/code 27 | i18n_dir: :lang 28 | skip_render: 29 | 30 | # Writing 31 | new_post_name: :year-:month-:day-:title.md # File name of new posts 32 | default_layout: post 33 | titlecase: false # Transform title into titlecase 34 | external_link: true # Open external links in new tab 35 | filename_case: 0 36 | render_drafts: false 37 | post_asset_folder: false 38 | relative_link: false 39 | future: true 40 | highlight: 41 | enable: true 42 | line_number: true 43 | tab_replace: 44 | 45 | # Category & Tag 46 | default_category: uncategorized 47 | category_map: 48 | tag_map: 49 | 50 | # Date / Time format 51 | ## Hexo uses Moment.js to parse and display date 52 | ## You can customize the date format as defined in 53 | ## http://momentjs.com/docs/#/displaying/format/ 54 | date_format: YYYY-MM-DD 55 | time_format: HH:mm:ss 56 | 57 | # Pagination 58 | ## Set per_page to 0 to disable pagination 59 | per_page: 10 60 | pagination_dir: page 61 | 62 | # Extensions 63 | ## Plugins: https://github.com/hexojs/hexo/wiki/Plugins 64 | ## Themes: https://github.com/hexojs/hexo/wiki/Themes 65 | theme: casper 66 | 67 | # Deployment 68 | ## Docs: http://hexo.io/docs/deployment.html 69 | deploy: 70 | type: git 71 | repo: git@github.com:nodejs/iojs-tw.git 72 | branch: gh-pages 73 | 74 | feed: 75 | type: atom 76 | path: /atom.xml 77 | limit: 20 78 | 79 | disqus_shortname: iojs-tw 80 | -------------------------------------------------------------------------------- /guideline/convention.md: -------------------------------------------------------------------------------- 1 | # 書籍寫作規範 2 | 3 | ## 專有名詞 4 | 5 | 有鑑於台灣名詞使用方式經常以中英文混合方式為主,為了方便所有翻譯人員,以下為技術類專有名詞,常見中英文翻譯對照列表如下。 6 | 7 | | English | 中文翻譯 | 程式碼 | 8 | | --- | --- | --- | 9 | | Array | 陣列 | [] | 10 | | CommonJS | CommonJS | - | 11 | | ECMAScript | ECMAScript| - | 12 | | ES6 | ES6| - | 13 | | Framework | 框架 | - | 14 | | Immediately-Invoked Function Expression | 立即函式 | (function () {})(); | 15 | | - | 具名函式 | function fnName() {} | 16 | | - | 匿名函式 | var fn = function () {}; | 17 | | Node.js | Node.js | - | 18 | | JavaScript | JavaScript| - | 19 | | closure | 閉包 | - | 20 | | export | export | - | 21 | | io.js | io.js | - | 22 | | npm | npm | - | 23 | | nvm | nvm | - | 24 | | module | 模組 | - | 25 | | null | null | null | 26 | | package | 套件 | - | 27 | | undefined | undefined | undefined | 28 | 29 | ## 中英文混雜 30 | 31 | 中英文夾雜時,必須要使用『半型空白』隔開 32 | 33 | #### 中英文混搭專有名詞範例, 34 | 35 | 此書獻給所有 Node.js 以及對於 JavaScript 熱愛的程式開發者 36 | 37 | 38 | ## 標點符號 39 | 40 | 以中文全形標點符號為主。 41 | 42 | * ,、。!「」() 43 | 44 | 遇英文段落(整句)採用一般(半形)標點符號。 45 | 46 | 中文與英文單字之間以一個空白字元隔開,標點符號與英文單字之間不需要空隔。 47 | 48 | 這是為了讓排版顯示的自動斷詞斷句可以正確運作,以及增加中英文混雜段落的閱讀舒適。 49 | 50 | 更多詳細排版規則請參考[中文文案排版指北](https://github.com/sparanoid/chinese-copywriting-guidelines) 51 | 52 | #### 標點符號範例 53 | 54 | Node.js 是一種適合用於 Server-side 的開發框架(Framework),相當 Nice! 55 | 56 | ## 特殊排版說明 57 | 58 | 中文同一段落為了方便編輯,可以將句子斷行;\ 59 | 但行尾必須加上半形「\」倒斜線符號。\ 60 | 因為在 HTML、EPUB 或 MOBI 格式中,\ 61 | 換行字元會被當做空白字元處理,導致增加過多影響版面美觀的空格。 62 | 63 | ## 程式碼風格 64 | 65 | 統一使用 [idiomatic.js](https://github.com/rwaldron/idiomatic.js) (討論:[#9cf7787](https://github.com/nodejs-tw/nodejs-book-beginner-guide/commit/9cf77875a00d3f255bd1b33a3fcf60f7238d992c)) 66 | 67 | ## Markdown 風格 68 | 69 | ### 章節標題設定 70 | 71 | * 章節標頭為 H1, # 72 | * 章節底下第一層目錄為 h2, ## 73 | * 章節底下第二層目錄為 h3, ### 74 | 75 | `#` 與標題間要保留 1 個空格。 76 | 77 | ### 無序清單 78 | 79 | 開頭無 whitespace 80 | 81 | ```markdown 82 | 1. item 1 83 | 2. item 2 84 | ``` 85 | 86 | ### 有序清單 87 | 88 | 開頭無 whitespace 89 | 90 | ```markdown 91 | * item 1 92 | * item 2 93 | ``` 94 | 95 | ### 程式碼區塊 96 | 97 | 只有一行、不需要 Highlight,或是一般的 command line 操作指令說明,\ 98 | 使用標準 Code 寫法。 99 | 100 | ``` 101 | This is line One 102 | This is line Two 103 | ``` 104 | 105 | 使用 inline code block,並指定 language type。 106 | 107 | ```javascript 108 | if (something) { 109 | alert('test'); 110 | } 111 | ``` 112 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "iojs-tw-site", 3 | "version": "0.0.0", 4 | "private": true, 5 | "hexo": { 6 | "version": "3.0.0" 7 | }, 8 | "dependencies": { 9 | "hexo": "^3.0.0-rc.4", 10 | "hexo-deployer-git": "0.0.3", 11 | "hexo-generator-archive": "*", 12 | "hexo-generator-category": "*", 13 | "hexo-generator-feed": "^1.0.0", 14 | "hexo-generator-index": "*", 15 | "hexo-generator-minify": "^0.1.0", 16 | "hexo-generator-tag": "*", 17 | "hexo-renderer-ejs": "*", 18 | "hexo-renderer-marked": "^0.2.4", 19 | "hexo-renderer-stylus": "^0.2.0", 20 | "hexo-server": "^0.1.2" 21 | }, 22 | "scripts": { 23 | "start": "hexo server" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /scaffolds/draft.md: -------------------------------------------------------------------------------- 1 | title: {{ title }} 2 | tags: 3 | --- 4 | -------------------------------------------------------------------------------- /scaffolds/page.md: -------------------------------------------------------------------------------- 1 | title: {{ title }} 2 | date: {{ date }} 3 | --- 4 | -------------------------------------------------------------------------------- /scaffolds/photo.md: -------------------------------------------------------------------------------- 1 | layout: {{ layout }} 2 | title: {{ title }} 3 | date: {{ date }} 4 | tags: 5 | --- 6 | -------------------------------------------------------------------------------- /scaffolds/post.md: -------------------------------------------------------------------------------- 1 | title: {{ title }} 2 | date: {{ date }} 3 | tags: 4 | --- 5 | -------------------------------------------------------------------------------- /source/CNAME: -------------------------------------------------------------------------------- 1 | tw.iojs.org 2 | -------------------------------------------------------------------------------- /source/_drafts/npm-weekly-23.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #23 : how-to’s, big numbers, and your upcoming talks" 2 | date: 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | ## [npm weekly #23: how-to’s, big numbers, and your upcoming talks](http://blog.npmjs.org/post/125843929361/npm-weekly-23-how-tos-big-numbers-and-your) 8 | 9 | [Sign up for the weekly](https://www.npmjs.com/npm-weekly) and get this sent to you instead! 10 | 11 | ## how to create and publish your first node.js module 12 | 13 | [](https://medium.com/@jdaudier/how-to-create-and-publish-your-first-node-js-module-444e7585b738) 14 | 15 | Do you have a friend who wants to get started with Node.js modules? Here’s a great [tutorial](https://medium.com/@jdaudier/how-to-create-and-publish-your-first-node-js-module-444e7585b738) from [@jdaudier](https://twitter.com/jdaudier). 16 | 17 | ## giving a talk about npm? 18 | 19 | Learning about npm is easier when you’re doing it with other people. If you’re giving a talk about npm, we’d love to feature it in the Weekly. Just reply to this note or [fill out this form](http://npmjs.hs-sites.com/npm-talks?utm_campaign=newsletter20150804) with your talk’s details. 20 | 21 | ## big numbers are big 22 | 23 | Holy wah, you’ve been busy. Last week, the npm community 24 | 25 | * broke the record of downloads for each day of the week, every single day; 26 | * broke the all-time record for daily downloads; 27 | * broke the all-time record for highest rate of requests; 28 | * achieved 1.9 billion monthly downloads; 29 | * achieved 170,000 packages in the npm registry. 30 | 31 | If you don’t [follow Laurie on Twitter](https://twitter.com/intent/follow?screen_name=seldo), you’ve missed more amazing stats-’n’-graphs. See, e.g., [npm requests per region, and the resulting global traffic graph](https://twitter.com/seldo/status/625777632089542657). 32 | 33 | ## …and speaking of numbers 34 | 35 | We frequently get questions about npm’s download stats — what do and don’t we count?, are an author’s package download counts “real”?… — so here’s a detailed post for the curious: [how npm download counts work](http://blog.npmjs.org/post/92574016600/numeric-precision-matters-how-npm-download-counts?utm_campaign=newsletter20150804). 36 | 37 | ## did you know? 38 | 39 | If you’re having trouble using a module, try `npm owner ls`. 40 | 41 | It’s a one-step way to find a module’s contributor so you can get in touch. Also, `npm bug` will open the GitHub issues page in a new browser window. 42 | 43 | And of course, if you’re having trouble installing a module from our registry, we’re always here to help: [support@npmjs.com](mailto:support@npmjs.com). 44 | 45 | ## [your stuff here] 46 | 47 | What are you working on? Who’s doing inspiring things? What projects could use a hand? 48 | 49 | Drop us a note with your suggestions for the Weekly. Just reply to this email with your ideas. 50 | 51 | ## tweet of the week / dept of awwww 52 | 53 | > npm i baby -g [](https://twitter.com/adambretz/status/623567894576652288)—Adam Bretz @adambretz [July 21, 2015](https://twitter.com/adambretz/status/623567894576652288) 54 | 55 | 原文:[npm weekly, #23](http://blog.npmjs.org/post/125843929361/npm-weekly-23-how-tos-big-numbers-and-your),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 56 | -------------------------------------------------------------------------------- /source/_drafts/npm-weekly-24.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #24 : semver explained, amazing videos, pizza" 2 | date: 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | ## [npm weekly #24: semver explained, amazing videos, pizza](http://blog.npmjs.org/post/126588929320/npm-weekly-24-semver-explained-amazing-videos) 8 | 9 | [Sign up for the weekly](https://www.npmjs.com/npm-weekly) and get this sent to you instead! 10 | 11 | [ in my package.json?")](http://) 12 | 13 | ## who moved my cheese put a caret (^) in my package.json? 14 | 15 | When you execute `npm install` in a clean project directory, package.json specifies the version of each dependency that gets installed. But npm makes it possible to specify a range of accepted versions instead of exact version numbers. 16 | 17 | If this sounds a) awesome and b) worth understanding in detail, we highly recommend [this neat ByteArcher explainer on Semver](http://bytearcher.com/articles/semver-explained-why-theres-a-caret-in-my-package-json/ "Semver explained - why there's a caret (^) in my package.json?"). 18 | 19 | ## awesome videos for learning all the things 20 | 21 | The [Cyberwizard Institute](http://cyber.wizard.institute/ "Cyberwizard Institute") is an open, collaborative, and free programming school based out of Oakland’s [Sudo Room hackerspace](http://sudoroom.org/ "Sudo Room | Creative community and hackerspace"). They’ve got [a nice workshop on using npm](https://www.youtube.com/watch?v=B-IRNyMdYD0 "Cyber Wizard Institute: npm and using npm modules - YouTube"), and many many more helpful videos [on their YouTube channel](https://www.youtube.com/channel/UCzDHOdHNitu70iiva25rV7w "Cyber Wizard Institute - YouTube"). 22 | 23 | ## two ways to help npm! 24 | 25 | How do you improve upon perfection? One way to find out. Actually, two!: 26 | 27 | ### schedule a usability session 28 | 29 | As part of our ongoing focus on making developers’ lives easier, we need your help participating in [a 30-minute usability session](https://calendly.com/npm/ux "Calendly - Nick Cawthon") with **Nick Cawthon**, our new head of design & UX. Laugh, cry, screenshare — and help us improve our product. 30 | 31 | ### help us test Orgs 32 | 33 | Coming this fall, **Orgs** will streamline the process for delegating permissions, managing roles, and collaborating with your team on publishing and sharing packages. But first, we need a small number of teams to help with testing and feedback. If you and your team would like early access to our newest feature, [sign up here](http://info.npmjs.com/test-orgs?utm_campaign=newsletter20150813 "help us test npm Orgs") to help out. 34 | 35 | ## new humans 36 | 37 | Oh geez, we’re still growing. 38 | 39 | * [Aria Stewart](https://twitter.com/aredridel "Aria Stewart (@aredridel) | Twitter") joins our www team remotely from Boston via PayPal, where she worked extensively on Kraken. 40 | * [Nick Cawthon](https://twitter.com/ncawthon "Nick Cawthon (@ncawthon) | Twitter") joined this week to run design & UX. He laid out his plans [on our blog](http://blog.npmjs.org/post/126455035030/hello-and-lets-talk?utm_campaign=newsletter20150813 "The npm Blog — Hello... and Let’s Talk"). 41 | * Back in the day, [Jon Cowperthwait](https://twitter.com/cowperthwait "Cowperthwait (@cowperthwait) | Twitter") worked with CTO Laurie at [awe.sm](https://web.archive.org/web/20140405115445/http://totally.awe.sm/about/#~pl6jScfWfv3hr7 "awe.sm | About awe.sm"); now he’s here to help Kasey market all the things. 42 | 43 | ## looking for work? 44 | 45 | If you’re not doing Node.js in your job, and you’d like to be, get a load of [these companies looking for JavaScript and Node.js developers](https://www.npmjs.com/whoshiring?utm_campaign=newsletter20150813 "Who’s Hiring? | npm"). (_Have companies to add to this list? email [whoshiring@npmjs.com](mailto:whoshiring@npmjs.com)!_) 46 | 47 | ## big numbers are big, cont’d 48 | 49 | Holy wah, a new record: in the last 30 days, [npm users have downloaded over **2 billion packages**](https://twitter.com/seldo/status/631289016101441537 "Laurie Voss on Twitter: "npm users have downloaded over 2 billion packages in the last 30 days: http://t.co/9IWGbwZqNZ""). Also: in the 20 months since npm, Inc. started, the registry got 300% bigger, and registry traffic has grown 1100%. 50 | 51 | ## have an idea for the Weekly? 52 | 53 | We love hearing from you. Just [drop us a note](mailto:jec@npmjs.com) with your suggestions for the Weekly and heads-ups of what’s up. 54 | 55 | [](https://www.npmjs.com/package/dominos) 56 | 57 | ## hungry? 58 | 59 | Of the 173,288 (and counting!) packages on the [npm registry](https://www.npmjs.com/?utm_campaign=newsletter201508113 "npm"), this is possibly the most edible. Here’s a fun package for ordering pizza from Domino’s: [npm: dominos](https://www.npmjs.com/package/dominos "dominos"). 60 | 61 | 原文:[npm weekly, #24](http://blog.npmjs.org/post/126588929320/npm-weekly-24-semver-explained-amazing-videos),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 62 | -------------------------------------------------------------------------------- /source/_drafts/npm-weekly-25.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #25 : dist-tag, talking to Microsoft, semicolon trolling" 2 | date: 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | ## [npm weekly #25: dist-tag, talking to Microsoft, semicolon trolling](http://blog.npmjs.org/post/127157174356/npm-weekly-25-dist-tag-talking-to-microsoft) 8 | 9 | 10 | 11 | [Sign up for the weekly](https://www.npmjs.com/npm-weekly?utm_campaign=newsletter20150820 "Subscribe to the weekly") and get this sent to you instead! 12 | 13 | [](https://docs.npmjs.com/cli/dist-tag?utm_campaign=newsletter20150820 "dist-tag | npm Documentation") 14 | 15 | ## let’s talk about distribution tags 16 | 17 | You might have noticed that it’s possible to install `npm@latest`, which fetches npm 2.13.5, or `npm@beta`, which fetches npm 3.3.0\. Those tags, `latest` and `beta`, are examples of **distribution tags**, and they’re pretty great. 18 | 19 | Tagging enables multiple streams of development — think “stable” and “canary” — in order to test out changes before they’re widely used by everyone, and lets users decide whether they want to opt in to testing new things or just want your package to work. (Consider using `latest` to mean “the newest we intend most people to use”, not just “the newest.”) 20 | 21 | Add, remove, and enumerate distribution tags with [dist-tag](https://docs.npmjs.com/cli/dist-tag?utm_campaign=newsletter20150820 "dist-tag | npm Documentation"). 22 | 23 | (Also on the subject of versions: if you missed it, check out [last week’s explainer on semantic versioning](http://blog.npmjs.org/post/126588929320/npm-weekly-24-semver-explained-amazing-videos?utm_campaign=newsletter20150820 "npm weekly #24: semver explained, amazing videos, pizza").) 24 | 25 | ## let’s improve the Windows development experience 26 | 27 | Over 40% of the developers who use npm’s registry are running Windows — a number which more or less held steady for a year, and now is increasing month over month — so anything that improves the process of Node development on a Windows machine has a major impact. 28 | 29 | The good news is that we have a monthly check-in with [Microsoft’s Visual Studio team](https://channel9.msdn.com/Blogs/Seth-Juarez/Nodejs-Tools-for-Visual-Studio "Node.js Tools for Visual Studio | Seth Juarez | Channel 9") to keep an open line and make things more awesome. The also-good news is that you can help. Do you develop in Windows? What works, what hurts, and what’s on your wish list? Let us know: [tweet](https://twitter.com/intent/follow?screen_name=npmjs "npmbot (@npmjs) | Twitter"), [email](mailto:wombat-cowp@npmjs.com), or reach out through any of the other usual channels. 30 | 31 | ## let’s test npm Orgs 32 | 33 | We have received actual fan mail about our upcoming **Orgs** support for teams and groups, and we hope you’ll love it too. Want to try this out before our release later this fall? [Sign up for the beta](http://info.npmjs.com/test-orgs?utm_campaign=newsletter20150820 "help us test npm Orgs"). 34 | 35 | ## let’s help Nick with usability testing 36 | 37 | We’re also still looking for volunteers to participate in a [30-minute usability session](https://calendly.com/npm/ux "Calendly - Nick Cawthon") to shape upcoming improvements to package discovery, registry pages, and managing npm features. This is your chance to influence a tool used over 2 billion times in the last month alone, and score [neat swag](http://shop.npmjs.com?utm_campaign=newsletter20150820 "npm swag store"). Can you lend a hand? 38 | 39 | ## let’s welcome another new human 40 | 41 | [Angela Eichner](http://twitter.com/siliconvallygrl "SiliconVallyGrl (@SiliconVallyGrl) | Twitter") comes to us this week from Loggly to help bring npm to the largest names in technology, finance, and commerce. If you’re looking to support npm for large teams, self-host the npm registry on premise, or talk custom solutions, [get in touch](mailto:angela@npmjs.com). 42 | 43 | ## let’s make these Weeklies better 44 | 45 | What are you working on? Who’s doing inspiring things? What projects could use a hand? 46 | 47 | Drop us a note with your suggestions for the Weekly. Just reply to this email with your ideas. 48 | 49 | ## let’s teach the controversy: standard 50 | 51 | [standard](https://www.npmjs.com/package/standard?utm_campaign=newsletter20150820 "standard") is a module that enforces consistent JavaScript style in your project. 52 | 53 | [semicolons](https://www.npmjs.com/package/semicolons?utm_campaign=newsletter20150820 "semicolon") requires semicolons and will throw an exception if every line does not end with one. 54 | 55 | We absolutely do not recommend attempting to use both of these at the same time. 56 | 57 | #### sponsored 58 | 59 | ## let’s get you a Node job 60 | 61 | [Hired](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent") connects Node developers with over 2,500 vetted tech companies in 13 major tech hubs, probably including yours. Developers on Hired receive an average of 5 interview requests within a week. Looking for a job? [Check them out](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent"). 62 | 63 | 原文:[npm weekly, #25](http://blog.npmjs.org/post/127157174356/npm-weekly-25-dist-tag-talking-to-microsoft),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 64 | -------------------------------------------------------------------------------- /source/_drafts/npm-weekly-28.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #28 : how to do many things" 2 | date: 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | ## [npm weekly #28: how to do many things](http://blog.npmjs.org/post/128823264455/npm-weekly-28-how-to-do-many-things) 8 | 9 | 10 | 11 | [Sign up for the Weekly](https://www.npmjs.com/npm-weekly?utm_campaign=newsletter20150910 "sign up for the npm Weekly") and get this sent to you instead! 12 | 13 | [](https://www.npmjs.com/?utm_campaign=newsletter20150910) 14 | 15 | ## how to mail selfies to your mom 16 | 17 |  18 | 19 | Russell at [lob.com](https://lob.com/ "Lob - APIs for Print, Mail, Postcards, Photos, & Letters") wrote an in-depth tutorial that shows how to build an [Express.js](https://www.npmjs.com/package/express "express") app that prints and mails a postcard of any of your Instagram photos. It’s _fantastic_. 20 | 21 | We highly recommend checking out [the tutorial](https://lob.com/blog/building-an-instagram-postcard-app-in-express-js/ "Build an Instagram Postcard App with Express.js + Lob") and [a working demo](http://demos.lob.com/instagram/ "Instagram + Lob Postcards"). a) It’s fun to build something cool, and b) This is the kind of tutorial we hope will proliferate within the npm community. Give it a whirl and let us know how it goes. 22 | 23 | (Our address is 1999 Harrison Street, ste. 1150, Oakland, CA 94612, USA, by the way. Oh, no reason.) 24 | 25 | ## how to spam your Slack 26 | 27 | While you’re in a building mood: 28 | 29 | If you’re an absolute beginner — or just love [unleashing Markovian havoc upon your colleagues](https://twitter.com/maybekatz/status/621116757458030592 "Kat Marchán on Twitter: "Our Loudbot at @npmjs is feeling particularly euphoric today /cc @rod11 http://t.co/BARQ5UAij4"") — don’t miss this from our own [Shivani Negi](https://github.com/imshivs "imshivs (Shivani Negi)"): 30 | 31 | [How to Build A Slackbot + Deploy an App to Heroku for Absolute Beginners](http://blog.npmjs.org/post/128237577345/how-to-build-a-slackbot-deploy-an-app-to-heroku?utm_campaign=newsletter20150910 "The npm Blog — How to Build A Slackbot + Deploy an App to Heroku...") takes you step-by-step through getting Node.js & npm set up in your dev environment, cloning [CJ](https://github.com/ceejbot "ceejbot (C J Silverio)")’s [LOUDBOT](https://github.com/ceejbot/LOUDBOT-SLACK "ceejbot/LOUDBOT-SLACK"), and getting it up on Heroku. 32 | 33 | TRUST US, IT’S COOL. 34 | 35 | ## how to learn something new about npm 36 | 37 | If you somehow forgot to make it to [ToulouseJS](http://toulousejs.francejs.org "Toulouse JS - L'évènement JavaScript du Sud-Ouest") this week, all is not lost. [Matt Winchester](https://github.com/mwinche "mwinche (Matt Winchester)") sends word of his rad talk at [UtahJS](http://conf.utahjs.com "UtahJS Conference - Friday September 25, 2015"): 38 | 39 | > [Why we love the letters n p m](http://conf.utahjs.com/schedule "Schedule :: UtahJS Conference - Friday September 25, 2015"): Ninja parade month? Nixon’s Presidential mistakes? Just what does npm mean? What does it do? Can it benefit front end development? We’ll take a tour of npm’s package making features. From installing to linking to semver, I’ll neatly present machinations that can benefit your development! 40 | 41 | It’s coming up **Friday, September 25**. Tickets are [here](http://www.eventbrite.com/e/utahjs-conference-2015-tickets-18118982364?aff=confsite "UtahJS Conference 2015 Tickets, Salt Lake City | Eventbrite"). 42 | 43 | ## how to score an npm tee-shirt 44 | 45 | We’re working on big improvements to package discovery and publishing and managing private modules, so we’re looking for willing guinea pigs to share opinions and feedback. In exchange for participating in a 30-minute usability session, you get the thanks of a grateful wombatariat; also, [free things](http://shop.npmjs.com?utm_campaign=newsletter20150910 "the npm swag store"). 46 | 47 | [Sign up here](https://calendly.com/npm/ux "Calendly - Nick Cawthon"). 48 | 49 | ## how not to sound like a jerk 50 | 51 | [](http://alexjs.com "Alex - Catch insensitive, inconsiderate writing") 52 | 53 | Odds are none of us intends to exclude or hurt fellow members of the community, but polarizing and gender-favoring language has a way of slipping into what we write. Sometimes it’s a big help to have a second set of eyes that can look things over, notice what we’ve overlooked, and nudge us towards being more considerate and inclusive. 54 | 55 | Check out [alex](http://alexjs.com "Alex - Catch insensitive, inconsiderate writing"), which helps “catch insensitive, inconsiderate writing” by identifying possibly offensive language and suggesting helpful alternatives. 56 | 57 | #### sponsored [[?](http://info.npmjs.com/sponsorship?utm_campaign=newsletter20150910 "sponsor the Weekly")] 58 | 59 | ## how to get a Node job 60 | 61 | [Hired](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent") connects Node developers with over 2,500 vetted tech companies in 13 major tech hubs, probably including yours. Developers on Hired receive an average of 5 interview requests within a week. Looking for a job? [Check them out](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent"). 62 | 63 | 原文:[npm weekly, #28](http://blog.npmjs.org/post/128823264455/npm-weekly-28-how-to-do-many-things),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 64 | -------------------------------------------------------------------------------- /source/_drafts/npm-weekly-31.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #31 : npm 3 speed fixes, modules demoed in the browser, tossed salad and scrambled eggs" 2 | date: 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | [Sign up for the Weekly](https://www.npmjs.com/npm-weekly?utm_campaign=newsletter20151002 "sign up for the npm Weekly") and get this sent to you instead! 8 | 9 | [](http://osfeels.com "Open Source & Feelings") 10 | 11 | ## npm is at Open Source & Feelings 12 | 13 | It’s a light Weekly this week because a good chunk of our humans are at [Open Source & Feelings](http://osfeels.com "Open Source & Feelings"). If you are, too, we have three requests: 14 | 15 | 1. Say hi. [Isaac](https://twitter.com/izs "lake merrittocracy (@izs) | Twitter"), [Laurie](https://twitter.com/seldo "Laurie Voss (@seldo) | Twitter"), [Aria](https://twitter.com/aredridel "Aria Stewart (@aredridel) | Twitter"), [Ernie](https://twitter.com/ehsalazar "Ernie Salazar (@ehsalazar) | Twitter"), [Forrest](https://twitter.com/othiym23 "Forrest L Norvell (@othiym23) | Twitter"), [Jeff](https://twitter.com/jefflembeck "Jeff Lembeck (@jefflembeck) | Twitter"), [Kat](https://twitter.com/maybekatz "Kat Marchán (@maybekatz) | Twitter"), and [Rebecca](https://twitter.com/ReBeccaOrg "Rebecca v7.3.2-beta1 (@ReBeccaOrg) | Twitter") are around, and make for good conversation. 16 | 2. [](https://partners.npmjs.com/weekly/weekly31/eeeee.jpg "eeeeee")See Isaac speak. **Saturday at 12:30pm**, he’ll present _Non-Violent Communication for Fun, Profit, and Self Defense_: 17 | 18 | > Turn conversations away from blame and antagonism, towards meaningful connection and opportunities for growth and collaboration 19 | 20 | It’s a profoundly important toolkit when collaborating with others in the open source community, because 21 | 22 | > Open source is a social machine, and compassion helps keep the gears from grinding to a halt. 23 | 24 | Check it out. 25 | 3. Show us your laptop. The OSFeels swagbag includes an OSFeels-exclusive Wombat sticker from [Jon Q](https://twitter.com/itsjonq). Stick it on, snap a pic, tweet it with the hashtag **#wombatlove**, and good things will come to you. 26 | 27 | ## npm is getting faster 28 | 29 | It wasn’t much of a secret that the first versions of npm 3 have been … slower than we like. In one typical example, `npm ls` in npm 2 on a MacBook took around 5 seconds; the same command in npm 3 was closer to 00:50. 30 | 31 | Good news, by which we mean great news: in [npm 3.3.6](https://github.com/npm/npm/releases/tag/v3.3.6 "Release v3.3.6 · npm/npm"), we’ve made huge strides at tuning performance to get things sped back up. We found one example of something going from _6 minutes_ down to _14 seconds_. Rebecca [gently suggests](https://github.com/npm/npm/releases/tag/v3.3.6 "Release v3.3.6 · npm/npm"): 32 | 33 | > Performance just got 5 bazillion times better. 34 | 35 | Yooge. 36 | 37 | 3.3.6 is `next` at the moment, and `latest` next week. Let us know how it goes. 38 | 39 | ## npm is part of NewCo Oakland 40 | 41 | [](http://oak.newco.co/schedule-2015/ "NewCo Oakland Festival 2015") 42 | 43 | We plugged this last week, but there are still some tickets available to participate in [NewCo](http://newco.co "Home - NewCo : NewCo")’s first annual Oakland Festival. 44 | 45 | **Thursday, October 8** at **3pm**, we hope you’ll stop by [npm, Inc. World Headquarters and Yak Sanctuary](http://blog.npmjs.org/post/128294648715/npm-weekly-27-noderedis-dependencies-and-the#oakland "oh-oh-oh-Oakland, get down"). Isaac talks work/life balance; you see our digs & snag swag; everyone wins. 46 | 47 | Tickets: [NewCo Oakland](http://oak.newco.co/schedule-2015/ "2015 Schedule - NewCo Oakland : NewCo Oakland"). Use the discount code **HC30OAK** for 30% off. 48 | 49 | ## npm modules are demoed in the browser 50 | 51 | [](https://tonicdev.com "Tonic: a better REPL for node.js") 52 | 53 | If you’ve ever used [JSFiddle](https://jsfiddle.net "Create a new fiddle - JSFiddle") to try out or demonstrate JavaScript snippets online, you’re gonna dig [Tonic](https://tonicdev.com "Tonic: a better REPL for node.js"). 54 | 55 | Tonic lets you `require()` any module in npm and run it right in your browser, which comes in handy for blog posts, docs, teaching, or just more easily showing off cool things. 56 | 57 | #### sponsored [[?](http://info.npmjs.com/sponsorship?utm_campaign=newsletter20150924 "sponsor the Weekly")] 58 | 59 | [Hired](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent") connects developers with over 2,500 vetted tech companies in 13 major tech hubs, probably including yours. Developers on Hired receive an average of 5 interview requests within a week. Looking for a job? [Check them out](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent"). 60 | 61 | 原文:[npm weekly, #31](http://blog.npmjs.org/post/130359991775/npm-weekly-31-npm-3-speed-fixes-modules-demoed),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 62 | -------------------------------------------------------------------------------- /source/_drafts/weekly-update-april-17th.md: -------------------------------------------------------------------------------- 1 | title: "io.js Week of April 17th" 2 | tags: 3 | categories: iojs 週報 4 | --- 5 | 6 | ## io.js 1.7 釋出 7 | 8 | 本週我們釋出了io.js v1.7.0 和 v1.7.1 兩個版本,完整的更新日誌可以到 GitHub 上面看。 9 | 10 | ### 主要更新 11 | 12 | * **build:** A syntax error in the Makefile for release builds caused 1.7.0 to be DOA and unreleased. (Rod Vagg) #1421. 13 | * **C++ API:** Fedor Indutny contributed a feature to V8 which has been backported to the V8 bundled in io.js. SealHandleScope allows a C++ add-on author to seal a HandleScope to prevent further, unintended allocations within it. Currently only enabled for debug builds of io.js. This feature helped detect the leak in #1075 and is now activated on the root HandleScope in io.js. (Fedor Indutny) #1395. 14 | * **ARM:** This release includes significant work to improve the state of ARM support for builds and tests. The io.js CI cluster’s ARMv6, ARMv7 and ARMv8 build servers are now all (mostly) reporting passing builds and tests. 15 | * ARMv8 64-bit (AARCH64) is now properly supported, including a backported fix in libuv that was mistakenly detecting the existence of epoll_wait(). (Ben Noordhuis) #1365. ARMv6: #1376 reported a problem with Math.exp() on ARMv6 (including Raspberry Pi). The culprit is erroneous codegen for ARMv6 when using the “fast math” feature of V8. — nofast_math has been turned on for all ARMv6 variants by default to avoid this, fast math can be turned back on with — fast_math. (Ben Noordhuis) #1398. Tests: timeouts have been tuned specifically for slower platforms, detected as ARMv6 and ARMv7. (Roman Reiss) #1366. 16 | * **npm:** 升級 npm 至 2.7.6 版, 請參閱其版本資訊。 17 | 18 | ### 已知問題 19 | 20 | * 在 beforeExit 執行未參考的 timer 仍存在一些問題需要解決 [#1264](https://github.com/iojs/io.js/issues/1264)。 21 | * REPL 的代理配對會導致終端凍結 [#690](https://github.com/iojs/io.js/issues/690)。 22 | * process.send() 如同文件所建議並非同步,在 1.0.2 版新增了回歸,請見 [#760](https://github.com/iojs/io.js/issues/760) 及修改 [#774](https://github.com/iojs/io.js/issues/774)。 23 | * 當某個DNS查詢正在處理中,呼叫 dns.setServers() 會導致程序崩潰在某個失敗的斷言 [#894](https://github.com/iojs/io.js/issues/894)。 24 | * readline 處理跳脫字元會不正確 [#1403](https://github.com/iojs/io.js/issues/1403) 25 | 26 | ## 社群更新 27 | 28 | * Difference between io.js and The Node Foundation iojs/io.js#1416. 29 | * NPM launches private modules and npm inc raises. 30 | * Thoughts of Node.js Foundation on Medium. 31 | * io.js v1.8.0 crypto performance on io.js wiki. 32 | * io.js mention on Oracle’s blog. 33 | * State of the io.js Build April 2015 34 | 35 | ## 即將舉行的活動 36 | 37 | * [JSConf 烏拉圭](http://jsconf.uy/)的門票已經開賣, 時間是 4/24~4/25 於烏拉圭蒙特維多。 38 | * [NodeConf Adventure](http://nodeconf.com/)門票開賣,時間是 6/11~14 於加州沃克溪農場。 39 | * [CascadiaJS](http://2015.cascadiajs.com/)門票開賣,時間是 7/8~7/10 於華盛頓州。 40 | * [NodeConf EU](http://nodeconf.eu/)門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 41 | 42 | 原文:[io.js Week of April 17th](https://medium.com/node-js-javascript/io-js-week-of-april-17th-e4c6f2db7659),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 43 | -------------------------------------------------------------------------------- /source/_drafts/weekly-update-april-24th.md: -------------------------------------------------------------------------------- 1 | title: "io.js Week of April 24th" 2 | tags: 3 | categories: iojs 週報 4 | --- 5 | 6 | ## io.js 1.8.1 release 7 | 8 | This week we had one io.js release v1.8.1, complete changelog can be found on GitHub. 9 | 10 | ### Notable changes 11 | 12 | * **NOTICE:** Skipped v1.8.0 due to problems with release tooling. See #1436 for details. 13 | * **build:** Support for building io.js as a static library (Marat Abdullin) #1341 14 | * **deps:** Upgrade openssl to 1.0.2a (Shigeki Ohtsu) #1389 15 | * Users should see performance improvements when using the crypto API. See here for details. 16 | * **npm:** Upgrade npm to 2.8.3. See the release notes for details. Includes improved git support. 17 | * **src:** Allow multiple arguments to be passed to process.nextTick (Trevor Norris) #1077 18 | * **module:** The interaction of require(‘.’) with NODE_PATH has been restored and deprecated. This functionality will be removed at a later point. (Roman Reiss) #1363 19 | 20 | ### Known issues 21 | 22 | * Some problems with unreferenced timers running during beforeExit are still to be resolved. See #1264. 23 | * Surrogate pair in REPL can freeze terminal #690 24 | * process.send() is not synchronous as the docs suggest, a regression introduced in 1.0.2, see #760 and fix in #774 25 | * Calling dns.setServers() while a DNS query is in progress can cause the process to crash on a failed assertion #894 26 | * url.resolve may transfer the auth portion of the url when resolving between two full hosts, see #1435. 27 | * readline: split escapes are processed incorrectly, see #1403 28 | 29 | ## Community Updates 30 | 31 | * Fedor Indutny opened discussion about removing TLS newSession and resumeSession event. iojs/io.js#1462 32 | * Proposal to change the C HTTP parser JS HTTP parser here 33 | * NPM founder talks about io.js at InfoWorld 34 | * Proposal to add mikeal, mscdex, shigeki as new TC members. iojs/io.js#1483 35 | 36 | ## Upcoming Events 37 | 38 | * JSConf Uruguay tickets are on sale, April 24th & 25th at Montevideo, Uruguay 39 | * NodeConf Adventure tickets are on sale, June 11th — 14th at Walker Creek Ranch, CA 40 | * CascadiaJS tickets are on sale, July 8th — 10th at Washington State 41 | * NodeConf EU tickets are on sale, September 6th — 9th at Waterford, Ireland 42 | 43 | 原文:[io.js Week of April 24th](https://medium.com/node-js-javascript/io-js-week-of-april-24th-bd67dcbdfa65),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 44 | -------------------------------------------------------------------------------- /source/_posts/2015-02-06-weekly.md: -------------------------------------------------------------------------------- 1 | title: io.js 週報 - 2015.02.06 2 | date: 2015-02-06 20:46:25 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | [Atom](https://atom.io/) & [nw.js](http://nwjs.io/) 開始採用 io.js, Linux Tracing .. 等等。 8 | 9 | 每周五我們都會發布關於 io.js 的最新發展。 10 | 11 | 回顧整個一月份的社群貢獻,io.js 共有 294 次提交,是 Node 近三年來第三活躍的月份,(2012 年 2 月份有 308 次提交)。隨著社群貢獻的成長,預計二月份會有更多產出。 12 | 13 | 0. 發布 [v1.1.0](https://iojs.org/dist/v1.1.0/),詳細資訊請參考[更新紀錄](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md#2015-02-03-version-110-chrisdickinson)。 14 | 0. Sam Newman lands [簡化了 Stream 建構方法](https://github.com/iojs/io.js/commit/50daee7243a3f987e1a28d93c43f913471d6885a)。 15 | 0. 正在進行 [加入 **Linux Tracing** (LTTNG) 的工作](https://github.com/iojs/io.js/pull/702)。 16 | 0. 隨著我們加強在 io.js debugging 工作,[Google 分享了部分在 V8 和 Chrome 中應用的追蹤技術](https://github.com/iojs/io.js/issues/671#issuecomment-73191538)。 17 | 0. [**Travis CI** 增加了 io.js 的支援](http://docs.travis-ci.com/user/build-environment-updates/2015-02-03/)。 18 | 0. [**Codeship** 支持 io.js](https://codeship.com/documentation/languages/nodejs/#iojs)。 19 | 0. [**Atom 編輯器**轉移到 io.js](https://github.com/atom/atom/releases/tag/v0.177.0)。 20 | 0. [**nw.js**(前身是 **node-webkit**)轉移到 io.js](https://github.com/nwjs/nw.js/issues/2742)。 21 | 0. **Tessel** 硬體新產品[將支援 io.js](http://blog.technical.io/post/110115579867/upcoming-hardware-from-technical-machine)。 22 | 0. Chris Dickinson 增加了 [6 位新的貢獻者](https://github.com/iojs/io.js/issues/680#issuecomment-73089691),活躍的貢獻者目前**共有 23 名**。 23 | 0. 正在制定[穩定及相容性策略](https://github.com/iojs/io.js/issues/725),歡迎踴躍參加。 24 | 0. 我們開始[接受各大公司的回饋意見](https://github.com/iojs/roadmap/issues/13)。如果您有我們遺漏掉的的公司的聯絡方式,請告知我們。 25 | 0. 下週舉行 [**Node summit**](http://nodesummit.com/),將會有許多演講和與會者。 26 | 0. [技術委員週會](https://www.youtube.com/watch?v=IhXa2FmtBI4)。 27 | 0. [網站工作群組會議](https://www.youtube.com/watch?v=SBJaXUA0lSY)。 28 | 0. [追蹤工作會議](https://www.youtube.com/watch?v=Oar2yB5SPtA)。 29 | 30 | 原文:[io.js Week of February 6th 2015](https://medium.com/node-js-javascript/io-js-week-of-february-6th-2015-e185388549a4),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 31 | -------------------------------------------------------------------------------- /source/_posts/2015-02-12-io-js-and-node-js-foundation.md: -------------------------------------------------------------------------------- 1 | title: io.js 和 node.js 基金會 2 | date: 2015-02-12 20:46:25 3 | tags: 4 | categories: iojs 好文 5 | --- 6 | 7 | 調解的現況 8 | 9 | 一週之前,Joyent 的 CEO,Scott Hammond 邀請 [io.js 技術委員會成員](https://github.com/iojs/io.js/blob/v1.x/GOVERNANCE.md#technical-committee) (Technical Committee) 參與一個非公開的會議並說明他的想法 - 成立 node.js 基金會並希望讓 io.js 重新回到 node.js 專案。 10 | 11 | 在短短數個月之中,io.js 已經成長到擁有 23 位活躍核心成員、數個工作小組、27 種語言在地化團隊。在優秀的社群支持之下,能夠快速地提供高品質的軟體。我們之所以能夠做到這樣,都是因為我們採取開放式管理的架構,為社群重新注入活力並吸引更多的貢獻者加入這個專案,更甚於 node.js 過往。 12 | 13 | 唯一能讓 io.js 更好的就是停止質疑我們與 node.js 分開之後的未來。我們很希望把這一切拋在腦後,但是我們也無法輕易犧牲好不容易達到的成果,以及那些讓我們達到現今成果的理念及開放式管理。 14 | 15 | 與 Joyent 的對話還在進行中,一旦 node.js 基金會有了雛形,你們將會在 io.js 的 Github 中看到 io.js 是否應該加入的 issue,將會在公開的 TC 會議中討論並投票,一切都遵照我們已經建立起的管理方式。 16 | 17 | 對於社群而言,一切都不會改變。請持續提交 pull requests 到 [io.js](https://github.com/iojs/io.js),加入27 個[語言在地化團隊](https://github.com/iojs/website/issues/125)之一,貢獻到 io.js 工作小組 ([streams](https://github.com/iojs/io.js), [website](https://github.com/iojs/website), [evangelism](https://github.com/iojs/website/labels/evangelism), [tracing](https://github.com/iojs/tracing-wg), [build](https://github.com/iojs/build), [roadmap](https://github.com/iojs/roadmap))以及採用 io.js 在你的應用程式之中。我們會持續釋出並改善 io.js 即使它的名字可能會在某天改變。☺ 18 | 19 | 原文:[io.js and a node.js Foundation](https://medium.com/@iojs/io-js-and-a-node-js-foundation-4e14699fb7be),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 20 | -------------------------------------------------------------------------------- /source/_posts/2015-02-13-getting-to-know-io-js.md: -------------------------------------------------------------------------------- 1 | title: "初探 io.js" 2 | date: 2015-02-13 21:24:18 3 | tags: 4 | categories: iojs 好文 5 | --- 6 | 7 | 就在上個星期,開始在 Twitter 上面釋出 [io.js](http://iojs.org) 相關訊息,io.js 是一個以 Joyent 手中的 [Node.js](http://nodejs.org/) 為基礎,並且與 npm 相容的 fork 出來的專案。 8 | 9 | ## 為何要 fork Node.js? 10 | 11 | io.js 團隊大部分的成員來自於原本 [Node.js 核心團隊](https://github.com/iojs/io.js/blob/v1.x/README.md#current-project-team-members)。在八月時候成立了一個 [Node Forward] 目標就是嘗試讓社群協助 Node.js 的成長。 12 | 13 | > 透過社群合作力量來影響 Node, JavaScript 以及他的 Ecosystem 14 | 15 | 而以下才是 Node.js 被社群 fork 出來的前情提要的首要指標, 16 | 17 | > 有些問題的決定權只在某些人手上,並沒有被分散下去,但是這些人力是分散在不同的小專案,所以人力是無法滿足這些小專案的快速發展。這些都需要更多貢獻者來達到目標。 Node Forward 就是一個這樣組織,希望讓更多貢獻者可以解決以上問題。 18 | 19 | 最後社群的協助還是不能解決 Node 商業考量目的。基於以上種種理由 io.js 就如此誕生了。 20 | 21 | [Isaac Schlueter](https://twitter.com/izs) Node.js 核心貢獻者之一,提供了很多[背後故事](http://blog.izs.me/post/104685388058/io-js)說明為何要 fork Node.js 的原因。 22 | 23 | 其中一個主要的理由,希望藉由這兩個不同專案 (io.js, Node.js) 未來終究有合併的一天。 24 | 25 | 26 | 27 | ### io.js 新特徵 28 | 29 | 首先 io.js 採用正確的[版本語意 (semver)](http://semver.org/) ,從 1.0.0 開始,這就是最大跟 Node.js 的不同。 30 | 31 | [jQuery blog](http://blog.jquery.com/2014/10/29/jquery-3-0-the-next-generations/) 對於這個部分發表了為什麼版本語意的重要性。 32 | 33 | > 版本語意在版本控管上是一件很重要的事情。在通則上,semver 賦予開發者或者開發工具一個很好的方向,讓大家知道版本更新的指標方法。可以從版本號碼知道目前是 MAJOR, MINOR, PATCH 是有格式軌跡可循,讓大家可以方便參考。在 semver 中,如果 MAJOR 號碼改變,開發者就知道這個版本有可能 API 會改變。 34 | 35 | ### V8 engine 更換 36 | 37 | io.js 更新了 V8 JavaScript engine,更新到 3.31.74.1。最明顯的特徵就是可以完整支援 ES6 特性,並且不需要再加上 `--harmony` 這個指標。 38 | 39 | #### 相容 ES6 特性 40 | 41 | 在 io.js 可以很順暢的執行 ES6 功能,功能如下列表 42 | 43 | * [Block scoping (`let`, `const`)](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-let-and-const-declarations) 44 | * Collections ([`Map`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-map-objects), [`WeakMap`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-constructor-properties-of-the-global-object-weakmap), [`Set`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-set-objects), [`WeakSet`](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-constructor-properties-of-the-global-object-weakset)) 45 | * [Generators](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generator-function-definitions) 46 | * [Binary and Octal literals](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-literals-numeric-literals) 47 | * [Promises](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-promise-jobs) 48 | * [New String methods](http://www.sitepoint.com/preparing-ecmascript-6-new-string-methods/) 49 | * [Symbols](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-ecmascript-language-types-symbol-type) 50 | * [Template strings](https://people.mozilla.org/~jorendorff/es6-draft.html#sec-static-semantics-templatestrings) 51 | 52 | #### 新模組 53 | 54 | io.js 增加幾個實驗性的核心模組 55 | 56 | * [smalloc](https://iojs.org/api/smalloc.html): 讓您透過 allocation/deallocation/copying 存取外部記憶體 57 | * [v8](https://iojs.org/api/v8.html): 暴露 iojs 中 v8 的 events and interfaces。 58 | 59 | 你可以在 [io.js changelog](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 上看到這些完整列表。 60 | 61 | ### 開始使用 io.js 62 | 63 | 開始使用 io.js 在 Node.js 應用裡面,使用方法跟使用 Node.js 一樣,唯一差異就是執行名稱不一樣了 64 | 65 | Node.js 66 | 67 | ``` 68 | $ node app.js 69 | ``` 70 | 71 | io.js 72 | 73 | ``` 74 | $ iojs app.js 75 | ``` 76 | 77 | #### Node 版本管理 78 | 79 | [Node version manager (nvm)](https://github.com/creationix/nvm), 就是一個幫助管理不同 Node.js 版本的工具,現在已經可以支援 io.js ,你可以透過以下的指令,找到 io.js 目前可安裝版本,接著進行安裝 io.js 80 | 81 | ``` 82 | $ nvm ls-remote v1 83 | iojs-v1.0.0 84 | iojs-v1.0.1 85 | iojs-v1.0.2 86 | iojs-v1.0.3 87 | ``` 88 | 89 | 然後在你的專案中,安裝各別不同的 io.js 版本。 90 | 91 | $ nvm install iojs-v1.0.3 92 | 93 | **Note:** 在本文編寫的時期,本人建議透過 nvm 安裝 io.js。許多早期安裝 io.js 的使用者透過 io.js 的安裝方式還是會影響到 Node.js 原本正常運作。 nvm 可以讓你在不同版本之間運作順暢。 94 | 95 | ### 立刻體驗 96 | 97 | 想要開始嘗試 io.js 的 Atlassian Connect add-on? 你可以快速取得 HipChat add-on 進行運作 io.js 以及相關 ES6 特徵像是 Generators 這些,可以透過以下步驟執行, 98 | 99 | 1. 到[HipChat Add-ons Quick Start guide](https://www.hipchat.com/docs/apiv2/quick_start?utm_source=dac&utm_medium=blog&utm_campaign=getting-to-know-iojs) 根據畫面指示並且取得 add-on ,執行[atlassianlabs/ac-koa-hipchat](https://bitbucket.org/atlassianlabs/ac-koa-hipchat?utm_source=dac&utm_medium=blog&utm_campaign=getting-to-know-iojs) framework 100 | 101 | 2. `vagrant ssh` 設定 vagrant server , 透過指令進行安裝 nvm 102 | 103 | ``` 104 | $ curl https://raw.githubusercontent.com/creationix/nvm/v0.23.0/install.sh | bash 105 | ``` 106 | 107 | 將著將會安裝 nvm ,安裝結束後需要輸入 `exit` 關閉掉終端機. 108 | 109 | 3. 開啟 `package.json` 並進行修改 110 | 111 | ``` 112 | "scripts": { 113 | "web": "iojs web.js", 114 | "web-dev": "nodemon --harmony -e js,json,css,hbs web.js" 115 | }, 116 | ``` 117 | 118 | 4. 再次執行 `vagrant ssh` 重新開啟服務,並且重新啟動 Node.js 伺服器 119 | 120 | ``` 121 | $ cd project && npm start web 122 | ``` 123 | 124 | 將會啟動 Koa HipChat add-on 伺服器,你可以透過註冊你的 add-on 在 HipChat room 裡面設定,透過以下網址, 125 | 126 | ``` 127 | https://xxxxxxxx.ngrok.com/addon/capabilities 128 | ``` 129 | 130 | 如果你輸入 `/hello`,HipChat add-on 將會回應你一個 "HI" ,恭喜,目前已經成功透過 io.js 以及 ES6 相關的使用。 131 | 132 | ### 建議何時開始使用 io.js 133 | 134 | 這應該是最多人會問到的問題,現在就可以開始使用 io.js 了嗎? 135 | 136 | 就是現在,io.js 在本文編寫時期大約為 v1.0.3 ,還是屬於 `Unstable` 階段。像是 nvm 還是會有一些小問題。還沒有太多公司宣布他們開始支援 io.js 。如果你是一個早期使用者,並且開始嘗試一些自己的 add-ons ,並且將發現的 issue 工佈到 io.js issue 列表。 最後現在可能還是有點早切換到 io.js ,但是持續關注它也許接下來 io.js 會成為 JavaScript 伺服器平台流行趨勢。 137 | 138 | ### 補充 139 | 140 | 目前 io.js 已經進入 v1.2.0 版本,並且已經宣告穩定,目前也有許多廠商宣告支援 io.js,所以可以安心服用,如有任何問題,歡迎到 [io.js 官方 issue](https://github.com/iojs/io.js/issues) 進行討論或者 bug 回報 141 | -------------------------------------------------------------------------------- /source/_posts/2015-02-13-weekly.md: -------------------------------------------------------------------------------- 1 | title: io.js 週報 - 2015.02.13 2 | date: 2015-02-14 02:00:00 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | 29 個語系本地化,1.2.0 釋出 .. 等等。 8 | 9 | ## io.js 已經支援... 10 | 11 | * [Postmark](http://blog.postmarkapp.com/post/110829734198/its-official-were-getting-cozy-with-node-js) 12 | * [node-serialport](https://github.com/voodootikigod/node-serialport/issues/439) 13 | * [Microsoft Azure](http://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-iojs/) 14 | 15 | ## io.js 在 Github 的 star 數量已經突破 10,000 16 | 17 | io.js 於 2/13 在 Github 上已經到達 10,000 stars 的目標。若非 JavaScript 背後這個令人驚豔的社群支持,我們是不可能能夠有如此的成績,感謝大家! 18 | 19 | 20 | 21 | ## io.js 1.2.0 釋出 22 | 23 | * **stream:** [簡化的 stream 建構子](https://github.com/iojs/readable-stream/issues/102) 24 | * **dns:** [lookup() 增加'all'的設定,預設值為 false。當此打開此選項之後,呼叫該方法將會回傳一個陣列包含所有該主機名稱的所有位址](https://github.com/iojs/io.js/pull/744)。 25 | * **assert:** deepEqual() 移除 prototype 屬性比對並新增 deepStrictEqual() 方法,功能同 deepEqual(),但在比對 primitives 時使用嚴格相等檢查。 26 | * **tracing:** [當編譯時使用 --with-lttng 會增加 LTTng (Linux Trace Toolkit Next Generation) 的功能](https://github.com/iojs/io.js/pull/702)。 27 | * **docs:** 大量的文件更新以及新增關於錯誤的文件,包含 JavaScript 錯誤、V8 和 io.js 相關錯誤的細節。 28 | * **npm** 升級到 2.5.1 29 | * **libuv** 升級到 1.4.0,請參閱[更新紀錄](https://github.com/libuv/libuv/blob/v1.x/ChangeLog)。 30 | * 增加新的協力者: Aleksey Smolenchuk ([@lxe](https://github.com/lxe)) 和 Shigeki Ohtsu ([@shigeki](https://github.com/shigeki))。 31 | 32 | ## 對國際社群敞開大門 33 | 34 | 請參閱 Medium 上的[原文](https://medium.com/@mikeal/how-io-js-built-a-146-person-27-language-localization-effort-in-one-day-65e5b1c49a62)。 35 | 36 | * 把感興趣的開發者加入到原屬語言的團隊。 37 | * 團隊註冊自己的推特帳號以及其他相關的社交媒體。 38 | * 團隊訂立自己的協作方式,成為“社群組織者”,而非單單“翻譯者”。 39 | 40 | ### 本地化的情況 41 | 42 | * 第一天就有 146 位成員屬名願意協助本地化的工作 (目前已經超過 160 位)。 43 | * 在第一天就有 27 個語系的社群成立 (目前已經到達 29 個)。 44 | 45 | ### 本地化社群 46 | 47 | * [iojs-bn](https://github.com/iojs/iojs-bn) 孟加拉社群 48 | * [iojs-cn](https://github.com/iojs/iojs-cn) 中國社群 49 | * [iojs-cs](https://github.com/iojs/iojs-cs) 捷克社群 50 | * [iojs-da](https://github.com/iojs/iojs-da) 丹麥社群 51 | * [iojs-de](https://github.com/iojs/iojs-de) 德國社群 52 | * [iojs-el](https://github.com/iojs/iojs-el) 希臘社群 53 | * [iojs-es](https://github.com/iojs/iojs-es) 西班牙社群 54 | * [iojs-fa](https://github.com/iojs/iojs-fa) 伊朗社群 55 | * [iojs-fi](https://github.com/iojs/iojs-fi) 芬蘭社群 56 | * [iojs-fr](https://github.com/iojs/iojs-fr) 法國社群 57 | * [iojs-he](https://github.com/iojs/iojs-he) 希伯來社群 58 | * [iojs-hi](https://github.com/iojs/iojs-hi) 北印度社群 59 | * [iojs-hu](https://github.com/iojs/iojs-hu) 匈牙利社群 60 | * [iojs-id](https://github.com/iojs/iojs-id) 印尼社群 61 | * [iojs-it](https://github.com/iojs/iojs-it) 義大利社群 62 | * [iojs-ja](https://github.com/iojs/iojs-ja) 日本社群 63 | * [iojs-ka](https://github.com/iojs/iojs-ka) 喬治亞社群 64 | * [iojs-kr](https://github.com/iojs/iojs-kr) 韓國社群 65 | * [iojs-mk](https://github.com/iojs/iojs-mk) 馬其頓社群 66 | * [iojs-nl](https://github.com/iojs/iojs-nl) 荷蘭社群 67 | * [iojs-no](https://github.com/iojs/iojs-no) 挪威社群 68 | * [iojs-pl](https://github.com/iojs/iojs-pl) 波蘭社群 69 | * [iojs-pt](https://github.com/iojs/iojs-pt) 葡萄牙社群 70 | * [iojs-ro](https://github.com/iojs/iojs-ro) 羅馬尼亞社群 71 | * [iojs-ru](https://github.com/iojs/iojs-ru) 俄羅斯社群 72 | * [iojs-sv](https://github.com/iojs/iojs-sv) 瑞典社群 73 | * [iojs-tr](https://github.com/iojs/iojs-tr) 土耳其社群 74 | * [iojs-tw](https://github.com/iojs/iojs-tw) 台灣社群 75 | * [iojs-uk](https://github.com/iojs/iojs-uk) 烏克蘭社群 76 | 77 | ## io.js 以及 node.js 78 | 79 | 請參閱 Medium 上的[原文](https://medium.com/@iojs/io-js-and-a-node-js-foundation-4e14699fb7be) 80 | 81 | * Joyent 的 CEO,Scott Hammond 表明他希望把 io.js 帶回到 node.js 之中。 82 | 83 | ### io.js 在短短的幾個月... 84 | 85 | * 已經擁有 23 位活躍的核心成員 86 | * 擁有數個工作小組 87 | * 擁有 29 個語系本地化小組 88 | * 比起 node.js 有更多的貢獻者 89 | * 在優秀社群的支援之下,以良好的節奏釋出高品質的軟體 90 | 91 | > 我們很希望把這一切拋在腦後,但是我們也無法輕易犧牲好不容易達到的成果,以及那些讓我們達到現今成果的理念及開放式管理。 92 | 93 | ### 未來 94 | 95 | * 與 node.js 基金會的對話正持續進行中。 96 | * 一旦 node.js 基金會有了雛形,你們將會在 io.js 的 Github 中看到 io.js 是否應該加入的 issue,將會在公開的 TC 會議中討論並投票,一切都遵照我們已經建立起的管理方式。 97 | 98 | > 對社群來說,什麼都不會改變。 99 | 100 | ### 現在我們可以做什麼 101 | 102 | * 貢獻並提交你的 pull requests 到 io.js。 103 | * 加入 [27 個本地化團隊](https://github.com/iojs/website/issues/125)之一。 104 | * 貢獻到 io.js 工作小組 ([streams](https://github.com/iojs/readable-stream), [website](https://github.com/iojs/website), [evangelism](https://github.com/iojs/website/labels/evangelism), [tracing](https://github.com/iojs/tracing-wg), [build](https://github.com/iojs/build), [roadmap](https://github.com/iojs/roadmap)) 之中。 105 | * 持續採用 io.js 在你的應用程式之中。 106 | 107 | 原文:[io.js Week of February 13th 2015](https://medium.com/node-js-javascript/io-js-week-of-february-13th-2015-7846b94074a2),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 108 | -------------------------------------------------------------------------------- /source/_posts/2015-02-15-npm-weekly-5.md: -------------------------------------------------------------------------------- 1 | title: npm 週報 2015-02-13 2 | date: 2015-02-15 12:00:00 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 你希望可以[直接收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 8 | 9 | ### CLI 有什麼更新 10 | 11 |  12 | 13 | 你或許有注意到從 npm@2.6.0 之後出現的警告訊息。 14 | 15 | 我們將會在 npm@3 的時候移除 `engineStrict` 這個 package.json 設定,所以你在 npm@2.6.0 之後就會看到關於這個變更的警告訊息。你仍然可以在你的 .npmrc 中設定 engine,因為在套件中設定 engine 的限制從來就沒有正常的運行,所以我們決定把它移除。 16 | 17 | 我們也會在 npm@3 改變 peerDependencies 的行為。我們將不再自動下載 peer dependency,取而代之的是,顯示警告訊息提醒你 peer dependency 沒有被安裝。所以你必須要自行處理 peerDependencies 的衝突,從長遠來看,這個改變將會減少套件相依性造成的棘手問題。 18 | 19 | ### npm@3 將會有什麼新改變 20 | 21 | npm@3 之後,你的 node_modules 目錄將更為扁平,所有的依賴套件以及它們各自依賴的套件 (以及更上層的依賴套件) 都將置於第一層。只有他們發生衝突的時候,才會移到下一層目錄。此一改變將大大改善 Windows 使用者。 22 | 23 | ### 如何使用 npm 24 | 25 |  26 | 27 | npm 有了一個新的互動式教學 - [how-to-npm](https://www.npmjs.com/package/how-to-npm)。學習如何發佈並更新套件到 npm,以及其他維護的工作。不需要擔心發佈到公用的套件庫之中,它只會上傳到一個運行在你電腦上假的套件庫。 28 | 29 | ### Node 基金會 30 | 31 | Joyent 在這星期宣布他們將會籌組 Node.js 基金會。這對於支持 JavaScript 社群,吸引更多企業投資邁向了一大步。這一切尚處於早期階段,但是我們期待這個舉動對於 Node.js 專案以及 JavsScript 社群普及的影響。 32 | 33 | 原文:[npm Weekly, #5](http://blog.npmjs.org/post/110924823920/npm-weekly-5),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 34 | -------------------------------------------------------------------------------- /source/_posts/2015-02-22-io-js-weekly-2015-02-20.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.02.20" 2 | date: 2015-02-22 12:46:24 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | ## io.js 釋出 1.3.0 8 | 9 | 值得注意的改變包括: 10 | 11 | * **url**: `url.resolve('/path/to/file', '.')` 現在會回傳包括尾端斜線的 `/path/to/`,`url.resolve('/', '.')` 則回傳 `/` [#278](https://github.com/iojs/io.js/pull/278) (Amir Saboury) 12 | * **tls**: `tls` 和 `https` 預設加密套件改用 PFS ([Perfect Forward Secrecy](http://en.wikipedia.org/wiki/Forward_secrecy),一種兼容於主流瀏覽器加密套件) 。此外,不安全的 RC4 加密已經被移除。如果你真的需要 RC4,請指定自己的加密套件。 [#826](https://github.com/iojs/io.js/pull/826) (Roman Reiss) 13 | 14 | 15 | 16 | ## 社群中的重要事件 17 | 18 | * **Node 管理** - [William Bert](https://twitter.com/williamjohnbert) 建立 http://nodegovernance.io/ 來警告 Joyent 的執行長 Scott Hammond,社群希望 Node 基金會的技術委員會能基於 io.js 的開放式治理模式。社群的回應真是 _太棒了_! 19 | * **Node.js 和 io.js 效能提高** - Raygun.io 最近對 Node.js 和 io.js 兩者都做了效能測試,並且都藉由釋出提高了效能. 20 | * **LTTng 基礎** - 使用者 jgalar 在 asciinema 上建立使用 io.js 的 [LTTing 基礎](https://asciinema.org/a/16785) 21 | * **io.js 規劃路線投影片** - 展示 io.js 當前規劃路線的投影片。 22 | 23 | ### 已經支援 io.js 的 24 | 25 | * [TravisCI](https://travis-ci.org/) 新增 io.js。每週更新張貼的最後一天,Hiro Asari (あさり) [推了一則 tweet](https://twitter.com/hiro_asari/status/566268486012633088) 說 10% 的 Node 專案已經運行 io.js。 26 | * @thlorenz 更新 [nad](https://github.com/thlorenz/nad),Node Addon 開發者,以 [支援 io.js](https://twitter.com/thlorenz/status/566328088121081856)。 27 | * [Catberry.js](https://github.com/catberry/catberry) 增加 io.js 的支援。 28 | * mongodb 的官方 node 模組在 [v. 2.0.16 2015-02-16](https://github.com/mongodb/node-mongodb-native/blob/2.0/HISTORY.md) 支援 io.js。 29 | * [The Native Web](http://www.thenativeweb.io/) 現在擁有 [io.js Docker 容器](https://registry.hub.docker.com/u/thenativeweb/iojs/) 30 | * [okTurtles](https://okturtles.com/) 的 [DNSChain](https://github.com/okTurtles/dnschain) 增加對 io.js 的支援。 31 | * [actionHero](http://www.actionherojs.com/) 的 [TDPAHACLPlugin](https://github.com/neilstuartcraig/TDPAHACLPlugin) 和 [TDPAHAuthPlugin](https://github.com/neilstuartcraig/TDPAHAuthPlugin) 現在支援 io.js。 32 | * [node-sass](https://npmjs.org/package/node-sass) 在 node-sass [v. 2.0.1](https://github.com/sass/node-sass/issues/655) 增加對 io.js 1.2 的支援。 33 | * [total.js](https://www.totaljs.com/) 在 [v. 1.7.1](https://github.com/totaljs/framework/releases/tag/v1.7.1) 增加對 io.js 的支援。 34 | * [Clever Cloud](https://www.clever-cloud.com/) 已經增加 [io.js 的支援](https://www.clever-cloud.com/blog/features/2015/01/23/introducing-io.js/) 35 | 36 | ## io.js 工作小組會議 37 | 38 | * io.js 追蹤工作小組會議 - 2015 二月 19: [YouTube](https://www.youtube.com/watch?v=wvBVjg8jkv0) - [Minutes](https://docs.google.com/document/d/1_ApOMt03xHVkaGpTEPMDIrtkjXOzg3Hh4ZcyfhvMHx4/edit) 39 | * io.js 建置工作小組會議 - 2015 二月 19: [YouTube](https://www.youtube.com/watch?v=OKQi3pTF7fs) - [SoundCloud](https://soundcloud.com/iojs/iojs-build-wg-meeting-2015-02-19) - [Minutes](https://docs.google.com/document/d/1vRhsYBs4Hw6vRu55h5eWTwDzS1NctxdTvMMEnCbDs14/edit) 40 | * io.js 技術委員會會議 - 2015 二月 18: [YouTube](https://www.youtube.com/watch?v=jeBPYLJ2_Yc) - [SoundCloud](https://soundcloud.com/iojs/iojs-tc-meeting-meeting-2015-02-18) - [Minutes](https://docs.google.com/document/d/1JnujRu6Rfnp6wvbvwCfxXnsjLySunQ_yah91pkvSFdQ/edit) 41 | * io.js 網站工作小組會議 - 2015 二月 16: [YouTube](https://www.youtube.com/watch?v=UKDKhFV61ZA) - [SoundCloud](https://soundcloud.com/iojs/iojs-website-wg-meeting-2015-02-16) - [Minutes](https://docs.google.com/document/d/1R8JmOoyr64tt-QOj27bD19ZOWg63CujW7GeaAHIIkUs/edit) 42 | 43 | 原文:[io.js Week of February 20th 2015](https://medium.com/node-js-javascript/io-js-week-of-february-20th-2015-48486615980),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 44 | -------------------------------------------------------------------------------- /source/_posts/2015-02-24-npm-weekly-6.md: -------------------------------------------------------------------------------- 1 | title: npm 週報 2015-02-24 2 | date: 2015-02-24 12:00:00 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 我們決定將改變排程,將週報改到星期二,這也是為什麼你現在會看到這篇的原因。不過你仍然可以選擇[直接收到週報](https://www.npmjs.com/npm-weekly)的方式。 8 | 9 | ## CLI 的新功能 10 | 11 | npm 的最新版號是 2.6.0。在這版本中加入一個新的指令 `npm logout`,在以 auth tokens 取代帳號密碼這種更好認證方法的路上,又向前邁進了一步。 12 | 13 | 當你登入到支援 token-based 認證方式的套件庫,這個指令將告訴伺服器終止 token 的 session,所有裝置上的 token 都將無效,而不單只有目前使用的裝置。 14 | 15 | ## npm@3 將會有什麼改變 16 | 17 |  18 | 19 | 在上週的週報中有提到在 npm@3 將會有扁平化的 node_modules 目錄結構。這個星期我們將展示它會對於 npm 其他的工具的影響。舉個例子,當你安裝 event-emitter。如果你執行 ls node_modules,你將會看到所有的依存套件處在同一層中,但是當你執行 npm ls 的指令,你會看到依存關係樹。這是因為 npm 工具將會知道依存套件之間真正的關聯。 20 | 21 | ## 每月達到十億次的下載量 22 | 23 |  24 | 25 | npm 跨過了一個[重大的里程碑](https://twitter.com/seldo/status/566403297368485888),這是我們的「月下載次數」首次超過了十億次的下載量。我們有了第一個超過十億個套件被下載的 30-天 視窗 (見圖)。這是相當大的套件數量。 26 | 27 | 28 | ## jQuery 開發者,歡迎! 29 | 30 | 如果你沒注意到這個消息,jQuery 擴充套件庫目前只提供讀取的功能,他們建議開發者們將擴充發佈到 npm 上。我們撰寫了提供開發者可以輕鬆轉換,以 [Publishing your jQuery plugin to npm, the quick and dirty way](http://blog.npmjs.org/post/111475741445/publishing-your-jquery-plugin-to-npm-the-quick) 這篇文章作為開頭。 31 | 32 | 原文:[npm weekly, #6](http://blog.npmjs.org/post/111968476155/npm-weekly-6),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 33 | -------------------------------------------------------------------------------- /source/_posts/2015-03-04-npm-weekly-7.md: -------------------------------------------------------------------------------- 1 | title: npm 週報 2015-03-04 2 | date: 2015-03-04 12:00:00 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 本週的 npm 最新消息,同樣也[可以透過 email 訂閱](https://www.npmjs.com/npm-weekly)。 8 | 9 | # CLI 的新功能 10 | npm@2.6.1 無意中修復了許多關於 `npm update -g` 的問題,只是簡單地將 `--dpeth=0` 作為 `npm outdated` 的預設值。 11 | 12 | # 參閱最新的路線圖 13 | 14 | 隨著 npm@3 的臨近,CLI 團隊將即將到來的版本以及未來規劃列在[路線圖](https://github.com/npm/npm/wiki/Roadmap)之中,將會按照其優先順序來更新,如果你想知道詳細內容的話,可以前往參閱。 15 | 16 | # 使用 Jquery Plugins 17 | 18 | 上週我們提到如何發佈你的 jQuery plugins 到 npm,這次我們將展示如何[使用](http://blog.npmjs.org/post/112064849860/using-jquery-plugins-with-npm)別人發佈的 plugins,即使它們不是 CommonJS 模組。 19 | 20 | # 我們喜歡的模組 21 | 22 | [nock](https://www.npmjs.com/package/nock) 是一個可以幫助攔截 HTTP 流量的工具,它提供非常簡潔的 API 可以模擬一或多個 requests 然後回傳自訂的 headers,狀態碼或回應信息等。它同時也支援[串連](https://www.npmjs.com/package/nock#chaining)多個呼叫,模擬[延遲](https://www.npmjs.com/package/nock#delay-the-response),以及[關閉網路流量](https://www.npmjs.com/package/nock#enabledisable-real-http-request)。npm 團隊運用 nock 在許多我們的程式碼之中來提升測試的速度並隔離測試。 23 | 24 | 原文:[npm weekly, #7](http://blog.npmjs.org/post/112610795275/npm-weekly-7),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 25 | -------------------------------------------------------------------------------- /source/_posts/2015-03-07-io-js-week-of-february-27th.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.02.27" 2 | date: 2015-03-07 23:07:40 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | 8 | _注意:版本 **1.4.0** 已經編譯完成並加上標籤但是尚未釋出。在過程中一個 libuv 的臭蟲被發現所以這次的釋出將被棄置,我們將會提升版本號到 1.4.1 以避免造成混淆。_ 9 | 10 | ## 主要更動 11 | 12 | * **process** / **promises**:每當有 `Promise` 被回絕而且沒有在 `Promise` 上附加錯誤處理程式,現在 `process` 會在該輪的事件迴圈內發出一個 `'unhandledRejection'` 事件。而每當 `Promise` 被回絕而且它有附加錯誤處理程式時,現在它會在下一輪事件迴圈發出一個 `'rejectionHandled'` 事件。 [#758](https://github.com/iojs/io.js/pull/758) (Petka Antonov) 13 | * **streams**:現在可以使用正規的 stream 作為 `tls.connect()` 的底層 socket [#926](https://github.com/iojs/io.js/pull/926) (Fedor Indutny) 14 | * **http**:當 `http.ClientRequest` 被客戶端棄置的時候,會發出一個新的 `'abort'` 事件。 [#945](https://github.com/iojs/io.js/pull/945) (Evan Lucas) 15 | * **V8**:升級 V8 版本到 4.1.0.21。包含一個禁止訪問的修補,當禁止之後被解除時應該可以得到細節的資訊。有一個破壞性的 ABI 變更不會在這次的升級之中,可能會在 io.js 合入 V8 4.2 版本的時候加上去。參閱 [#952](https://github.com/iojs/io.js/pull/952) 的討論。 16 | * **npm**:升級 npm 版本到 2.6.0。包含支援新註冊系統和為了 `npm@3` 準備的功能。參閱 [npm CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v260-2015-02-12) 以了解細節。總結: 17 | * [#5068](https://github.com/npm/npm/issues/5068) 增加新的登出指令,它對基於 bearer 和 basic 認證的客戶端有幫助。 18 | * [#6565](https://github.com/npm/npm/issues/6565) 提醒 `peerDependency` 的行為改變了並增加了說明文件。 19 | * [#7171](https://github.com/npm/npm/issues/7171) 提醒 `package.json` 中的 `engineStrict` 屬性將會在下一個 npm 主版號移除 (即將到來!) 20 | * **libuv**:升級版本到 1.4.2。參閱 [libuv 變更日誌](https://github.com/libuv/libuv/blob/v1.x/ChangeLog) 以了解修補的細節。 21 | 22 | # ARM 提供 io.js 在 ARMv8 上的支援 23 | 24 | ARM 已經聯繫 io.js 建置工作小組的領導者 Rod Vagg,提供他們對 io.js 專案的支援。 ARM 和他們的硬體合作夥伴已經上了軌道讓 ARMv8 成為可運作的伺服器平台,伺服器端 JavaScript 靈活的特性也讓他們完美契合地運行在新的 ARM 上面。 25 | 26 | 因為 ARMv8 已經被行動設備製造商採用,新版本的 V8 已經有很好的支援。因為 V8 在 Android 中的角色很關鍵,io.js 非常適合去追蹤它的支援情況,更甚至貢獻給 v8 會讓我們與 V8 團隊有新的關係。 27 | 28 | 從 io.js 專案開始的時候,Rod 一直倡導 ARM 對於 io.js、物聯網、愛好者和伺服器使用的角色。我們已經在每次釋出對裝置做 ARMv6 的建置,例如:Raspberry Pi。並且對許多受歡迎的裝置做 ARMv7 的建置 (包括基於 ARM 的雲端平台 Online Labs,也對 io.js 提供幫助)。ARMv8 邏輯繼承這些,但也有令人興奮的潛力來建置伺服器端應用程式,特別是它給予新的 64-bit 支援。 29 | 30 | 建置團隊被獲准使用 Linaro ARMv8 伺服器叢集,正在進行跟 io.js CI 平台的整合,這最終應該能導向正規的 ARMv8 二進位檔釋出。 31 | 32 | # 社群更新 33 | 34 | * [**和解提案**](https://github.com/iojs/io.js/issues/978):io.js 著手開始進行對於 Node.js 基金會的和解草案。目前還是初期草案階段,因此來自社群的意見是非常重要的,請大家踴躍反應。 35 | * **New internal C++ Streams API**:一個全新的 [C++ Streams API] 在這週增加到 io.js 之中,允許你可以將 TLS stream 包裝成另一個 TLS stream。 36 | * **io.js 路徑圖**:[路徑圖](https://github.com/iojs/io.js/blob/v1.x/ROADMAP.md) 是對 io.js 未來的規劃。它描述關於穩定性策略的規劃以及列出 io.js 的當務之急。 37 | * **路徑圖的投影片已經完成等待翻譯**:一系列之於 io.js 路徑圖的投影片已經[完成可以進行翻譯](https://github.com/iojs/roadmap/issues/18)。你覺得你可以向周遭的群體做簡報嗎?留下你的意見,我們會與你協作幫你預備好簡報! 38 | * **Microsoft io.js How-To for Azure Websites**: 微軟 發佈一篇關於他們 Azure 平台的[入門教學](http://azure.microsoft.com/en-us/documentation/articles/web-sites-nodejs-iojs/),描述如何在 Azure 上使用 io.js。 39 | * **Floobits moves to io.js**: 配對編程軟體 Floobits [將他們的平台轉移到 io.js](https://news.floobits.com/2015/02/23/on-moving-to-io.js/),因為對於 Node 過於緩慢的釋出感到挫折,對於可以開始使用 ES6 的新功能而又不需要增加 `--harmony` 的參數,他們也覺得從 0.10.0 到 0.12.0 的改動並不是非常明顯。 40 | * **Anand Mani Sankar's _Node.js vs io.js: Why the fork?!?_**: Anand 寫了一篇很不錯也相當客觀的 [io.js 近期歷史的文章](http://anandmanisankar.com/posts/nodejs-iojs-why-the-fork/#.VO82hE60PVw.twitter),也提及我們希望藉由 io.js 實現什麼。可以幫助哪些沒有參與到社群之中的人可以瞭解目前的狀況。 41 | * **iojs-jp - New io.js Japanese Blog**: iojs-jp 社群建立了[本地化的部落格](http://blog.iojs.jp/),用當地的語言來傳遞 io.js 的消息。如果你感興趣,快去看看吧! 42 | * **iojs-cn - New io.js Chinese Blog**: 類似於 iojs-jp 社群,iojs-cn 社群也成立了[本地化的部落格](http://cn.iojs.org/),用中文來發佈關於 io.js 的文章。如果你對於 iojs-cn 或 iojs 中文新聞感到興趣的話,請不要錯過! 43 | * **[檢閱路徑圖投影片](https://www.youtube.com/watch?v=etI_UD4wXlo)** - 在釋出前對 io.js 路徑圖簡報的檢閱,確保它有符合專案的目標。 44 | 45 | # 對 io.js 的支援增加 46 | * **[Wallby.js](http://wallabyjs.com/)**,一個 JavaScript 的即時測試函式庫,釋出了 1.0 版本並[增加對 io.js 的支援](http://dm.gl/2015/02/23/wallaby-version-one/)! 47 | * **[jsdom](https://github.com/tmpvar/jsdom)**,針對 WHATWG DOM 和 HTML 標準的實作,剛釋出了 [4.0.0 版本](https://github.com/tmpvar/jsdom/blob/master/Changelog.md#400) 並且加入了 io.js 的依賴需求。 48 | * **[give](https://github.com/mmalecki/give)** 的作者[發了一則推文](https://twitter.com/maciejmalecki/status/569629100215816192) 宣布新版的 give 將會增加對 io.js 的支援。Give 是基於 git 的 node.js/io.js 版本控制器。 49 | * **Firebase Realtime Client**,Firebase 官方的 web/node.js 客戶端,[宣布](https://twitter.com/FirebaseRelease/status/570000737343647744) 他們將於 [2.2.1](https://www.firebase.com/docs/web/changelog.html#section-realtime-client) 開始支援 io.js。 50 | * **Semaphore**,提供持續整合服務商,在 [2015/2/24 平台更新](https://semaphoreapp.com/blog/2015/02/17/platform-update-on-february-24th.html?utm_source=twitter&utm_medium=social&utm_content=platform_update_launch&utm_campaign=platformupdate)中[宣布](https://twitter.com/semaphoreapp/status/570987355005431809)將會支援 io.js。 51 | 52 | 原文:[io.js Week of February 27th](https://medium.com/node-js-javascript/io-js-week-of-february-17th-9422a589302a),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 53 | -------------------------------------------------------------------------------- /source/_posts/2015-03-08-weekly-update-2015-03-06.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.03.06" 2 | date: 2015-03-08 19:22:51 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | 8 | Buffer.indexOf()、Tessel 2 以及更多消息。 9 | 10 | # io.js 1.5.0 釋出 11 | 12 | [@rvagg](https://github.com/rvagg) 在 3/6(五)釋出了 io.js [v1.5.0](https://iojs.org/dist/latest/)。可以在 [Github](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 上找到完整的變更日誌。 13 | 14 | ## 主要更動 15 | 16 | * **buffer:** 提供 Buffer#indexOf() 方法,啟發自 [Array#indexOf](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf)。接受 String、Buffer 以及 Number 型態。Strings 將視為 UTF8。 (Trevor Norris) [#561](https://github.com/iojs/io.js/pull/561) 17 | 18 | * **fs:** 「fs」 的方法不再對 options 物件屬性執行 hasOwnProperty() 檢查,以允許 options 物件擁有 apply prototype 的屬性。 (Jonathan Ong) #635 19 | 20 | * **tls:** 一個由 PayPal 回報,可能是 TLS 記憶體洩漏的問題。近期對於 **stream_wrap** 的更動可能造成問題。問題回報於 [#1078](https://github.com/iojs/io.js/pull/1078),你可以在 [#1075](https://github.com/iojs/io.js/issues/1075) 得知目前的進展。(Fedor Indutny) 21 | 22 | * **npm:** npm 升級至 2.7.0,細節請參閱[更新項目](https://github.com/npm/npm/blob/master/CHANGELOG.md#v270-2015-02-26),其中解釋了為什麼這個原本可能是主要版號升級變成了次要版號。 23 | 24 | * **TC:** Colin Ihrig (@cjihrig) 從 TC 退出,因為他希望可以放更多心力在程式撰寫上並減少開會時間。 25 | 26 | ## 已知的問題 27 | 28 | * 可能與 TLS 相關的記憶體洩漏,細節請參閱 [#1075](https://github.com/iojs/io.js/issues/1075)。 29 | 30 | * Windows 仍舊有使用者回報存在一些測試錯誤的情形,我們正優先追查這些問題的原因。細節請參閱 [#1005](https://github.com/iojs/io.js/issues/1005)。 31 | 32 | * 在 REPL 中代理對 (Surrogate pair) 會凍結終端 [#690](https://github.com/iojs/io.js/issues/690) 33 | 34 | * 不能編譯 io.js 為靜態函式庫 [#686](https://github.com/iojs/io.js/issues/686) 35 | 36 | * 1.0.2 重新加入的 process.send() 不如文件上所說為同步地,參閱 [#760](https://github.com/iojs/io.js/issues/760) 和 [#774](https://github.com/iojs/io.js/issues/774) 的修補 37 | 38 | # 社群消息 39 | 40 | * 聽到 io.js 與 最新版 node.js 沒有受 [FREAK Attack](https://freakattack.com/) 影響,應該鬆一口氣吧。你正使用著 io.js 或最新版的 node.js 對吧? 41 | 42 | * Walmart 贊助了建構的機器來運行 io.js Jenkins 持續整合系統。[@iojs/build](https://github.com/orgs/iojs/teams/build) 團隊開始著手進行 SunOS 版本(正如你可以從 node.js 取得的一樣)。不過在此之前,有一個 V8 的臭蟲([iojs/io.js#1079](https://github.com/iojs/io.js/pull/1079))必須要先修復。 43 | 44 | * 此外,我們也在此感謝以下的企業,對於 io.js 提供硬體以及相關的技術/支援/工程師的協助: 45 | 46 | * Digital Ocean (主要是 Linux) Rackspace (主要是 Windows) Voxer (OS X 和 FreeBSD) NodeSource (ARMv6 & ARMv7) Linaro (ARMv8) Walmart (SmartOS / Solaris) 47 | 48 | * io.js 社群很努力的進行本地化的工作。目前有超過 20 種語系內容發佈到 [io.js.org](http://iojs.org/) 以及 i18n 社群網站上。此外,i18n 的連結也已經加到網站的頁面底部便與使用。你懷念自己的語系嗎?[來協助我們吧!](https://github.com/iojs/website/blob/master/TRANSLATION.md) 49 | 50 | * 既然提到翻譯,io.js [路徑圖的簡報](http://roadmap.iojs.org/)已經更新並加上其中語系的連結。 51 | 52 | * PayPal 做了一個實驗來比較 [Kappa](https://www.npmjs.com/package/kappa) 運行在 io.js、node.js 0.12,以及 node.js 0.10。PayPal 團隊也發現了可能造成記憶體洩漏的問題。一開始的問題回報在 [#1078](https://github.com/iojs/io.js/pull/1078),後續的處理在 [#1075](https://github.com/iojs/io.js/issues/1075)。 53 | 54 | * [**NodeSource**](http://nodesource.com/) 開始提供 Ubuntu/Debian 的[程式包](https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories),正如給 RHEL/Fedora 一樣。 55 | 56 | * io.js [Docker版本](https://registry.hub.docker.com/u/library/iojs/),是一、二月中,十三個新加入的 [Docker 官方容器](http://blog.docker.com/2015/03/thirteen-new-official-repositories-added-in-january-and-february/)的其中之一。 57 | 58 | * NodeBots 以及 IoT 的人們應該會很高興聽到這個剛發佈的消息 - [**Tessel2**](http://blog.technical.io/post/112787427217/tessel-2-new-hardware-for-the-tessel-ecosystem) 將[原生支援 io.js](http://blog.technical.io/post/112888410737/moving-faster-with-io-js)。 59 | 60 | * [**@maxbeatty**](https://twitter.com/maxbeatty) 正忙於建置新版的 [jsperf.com](http://jsperf.com/) 後端,運行於 io.js 以及完全開放原始碼。歡迎貢獻者! 61 | 62 | * 部落格: @eranhammer 寫了一篇名為 [The Node Version Dilemma](http://hueniverse.com/2015/03/02/the-node-version-dilemma/) 的文章,其中討論了許多不同版本的 node.js / io.js,建議該使用哪個版本及在何時使用。 63 | 64 | # 對 io.js 的支援增加 65 | 66 | * [**scrypt**](https://npmjs.com/scrypt) 已經支援 io.js,細節可以參閱這個 [Github Issue](https://github.com/barrysteyn/node-scrypt/issues/39)。 67 | * [**proxyquire**](https://github.com/thlorenz/proxyquire) 發佈 v1.3.2 並支援 iojs。 68 | 69 | 原文:[io.js Week of March 6th](https://medium.com/node-js-javascript/io-js-week-of-march-6th-2f9344688277),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 70 | -------------------------------------------------------------------------------- /source/_posts/2015-03-12-npm-weekly-8.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 2015-03-10" 2 | date: 2015-03-12 16:56:11 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | 本週的 npm 最新消息,同樣也[可以透過 email 訂閱](https://www.npmjs.com/npm-weekly)。 9 | 10 | 11 | ## CJ 分享 Node.js Scale 議題 12 | 13 | 在數週前的 Node Summit,CJ 分享了一個很棒的主題,是關於 [Node.js at scale](http://nodesummit.com/media/node-js-at-scale/)。 14 | 15 | ## 私有 modules 幾乎都在這裡 16 | 17 | 如果你對於私有 npm module 有興趣的話,歡迎[告訴我們](http://blog.npmjs.org/post/113172137370/npm-private-modules-are-coming-soon),歡迎在底下留言。 18 | 19 | ## jQuery 及 npm 第三波 20 | 21 | 在前幾週,我們分享了如何透過 npm 發佈 jQuery plugin。本週我們將跟你說[如何對 jQuery plugin 做點小改變](http://blog.npmjs.org/post/112712169830/making-your-jquery-plugin-work-better-with-npm),讓你的使用者更容易的透過 npm 工具(如 Browserify)來使用你的 plugin。 22 | 23 | ## CLI 新功能 24 | 25 | npm@2.7.0, 這個版本中增加了一些小功能 26 | 27 | * 新增 `--dev` or `--prod` 參數搭配使用。 28 | * 當你使用 [npm run-scrip](https://docs.npmjs.com/misc/scripts) 的時候並且設定在 package.json,只會顯示兩種列表:一種是列出 postpublish 預載模式,另一種是列出使用者自定的 npm run。 29 | * 當你使用 npm init 進行設定你的 package.json ,現在可以加入 scope。 30 | 31 | 感謝 npm 貢獻者 [@watilde](https://twitter.com/watilde) 的修正並且翻譯[大量 npm 文章給日本朋友](https://medium.com/@watilde) :) 32 | 33 | 原文:[npm weekly, #8](http://blog.npmjs.org/post/113262605295/npm-weekly-8),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 34 | -------------------------------------------------------------------------------- /source/_posts/2015-03-15-weekly-update-march-13th.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.03.13" 2 | date: 2015-03-15 09:02:55 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | 8 | # io.js 釋出 1.5.1 版 9 | 10 | [@rvagg](https://github.com/rvagg) 在 3/9 (一) 釋出了 io.js [v1.5.1](https://iojs.org/dist/v1.5.1/)。可以在 [GitHub 上](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 找到完整的變更日誌。 11 | 12 | ### 主要變更 13 | 14 | * **tls**: 之前回報的 TLS 記憶體洩漏已經在這次釋出中藉由多個 commit 解決了。現在的測試指出,_可能_ 還有一些洩漏問題。完整的進度追蹤在 [#1075](https://github.com/iojs/io.js/issues/1075)。 15 | * **http**: 修復一個回報在 [joyent/node#9348](https://github.com/joyent/node/issues/9348) 和 [npm/npm#7349](https://github.com/npm/npm/issues/7349) 的錯誤。當 `'error'` 事件發生時,待處理 (pending) 的資料沒有被完整讀出,導致 `socket.destroy()` 的一個 assert 失敗。 (Fedor Indutny) [#1103](https://github.com/iojs/io.js/pull/1103) 16 | 17 | ### 已知問題 18 | 19 | * 可能仍然有與 TLS 相關的記憶體洩漏,細節請參閱 [#1075](https://github.com/iojs/io.js/issues/1075)。 20 | * Windows 仍舊有使用者回報存在一些測試錯誤的情形,我們正優先追查這些問題的原因。請參閱 [#1005](https://github.com/iojs/io.js/issues/1005). 21 | * 在 REPL 中代理對 (Surrogate pair) 會凍結終端 [#690](https://github.com/iojs/io.js/issues/690) 22 | * 不能編譯 io.js 為靜態函式庫 [#686](https://github.com/iojs/io.js/issues/686) 23 | * 1.0.2 重新加入的 `process.send()` 不如文件上所說為同步地,參閱 [#760](https://github.com/iojs/io.js/issues/760) 和 [#774](https://github.com/iojs/io.js/issues/774) 的修補 24 | * 當 DNS 查詢進行到一半時呼叫 `dns.setServers()`,會導致程序當機並 assert 失敗 [#894](https://github.com/iojs/io.js/issues/894) 25 | 26 | # 社群消息 27 | 28 | * [Tony Pujals](https://twitter.com/subfuzion) 在 [BayNode](http://www.meetup.com/BayNode/events/220246228/) 做了一個關於 io.js 未來規劃的簡報。影片已經在 3/9 上傳到 [vimeo](https://vimeo.com/121707989),簡報也可以提供給任何人於[各地討論會](ron.buell@rd.io)上使用。 29 | * [Johan Bergström](https://github.com/jbergstroem) 為了 io.js 正準備向 [V8](https://codereview.chromium.org/990063002) 提交一個修補,要在最新版中加入對 Solaris 的支援。 30 | * [NodeUp 84集](http://nodeup.com/eightyfour) 是有關 io.js 最新消息的第一集,參加者是 [Mikeal Rogers](https://github.com/mikeal),[Trevor Norris](https://github.com/trevnorris),以及 [Bradley Meck](https://github.com/bmeck)。 31 | * [Mikeal Rogers](https://github.com/mikeal) 接受 [Descriptive](http://descriptive.audio) 於單元稱 [We've Never Had This Many Active Contributors to Core Before](http://descriptive.audio/episodes/12) 中接受採訪。 32 | * [Mark Wolfe](https://twitter.com/wolfeidau) 在 [@melbjs](https://twitter.com/melbjs) 討論會上給了一個 [talk about io.js](https://twitter.com/wolfeidau/status/575785856545378304) 的簡報, 33 | * [dockeri.co](http://dockeri.co/) 正式運行在 io.js 之上,你可以在[這邊](https://twitter.com/wjblankenship/status/575867637680369665)看到公告。 34 | * [Node.js Advisory Board](https://nodejs.org/about/advisory-board/) 正式開始討論 [io.js/Node.js reconciliation proposal](https://github.com/iojs/io.js/issues/978) 和解草案,你可以在[這裡](https://github.com/joyent/nodejs-advisory-board/blob/master/meetings/2015-03-09/minutes.md#nodejsiojs-reconciliation-bb)看到會議記錄。 35 | * 2015-03-11 的 io.js 技術委員會議可以在 [這裡](http://www.youtube.com/watch?v=xXLnNSL0qvU) 看到 36 | 37 | # 即將舉行的活動 38 | 39 | * [NodeConf](http://nodeconf.com/) 的門票正式販售,6/8~9 於加州奧克蘭。NodeConf Adventure 是 6/11~6/14 於加州沃克溪農場。 40 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 41 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 42 | 43 | 原文:[io.js Week of March 13th](https://medium.com/node-js-javascript/io-js-week-of-march-13th-e3024cc66802),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 44 | -------------------------------------------------------------------------------- /source/_posts/2015-03-18-npm-weekly-9.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #9 2015-03-17" 2 | date: 2015-03-18 13:48:04 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | 本週的 npm 最新消息,同樣也[可以透過 email 訂閱](https://www.npmjs.com/npm-weekly)。 9 | 10 | ## 一個暫行性的 CLI 小問題 11 | 12 | 只是一個小小的通知,給有使用`npm shrinkwrap --dev`的使用者,在上週的`npm@next`版本中(即`2.7.2`版),這個指令有個[次要的臭蟲](https://github.com/npm/npm/issues/7641)。[弗里斯特](https://twitter.com/othiym23)馬上進行修補並且標上了新的`npm@next`標籤。感謝 [dan_abramov](https://twitter.com/dan_abramov) 回報了這個非常有幫助的問題以及對`npm@next`的測試。 13 | 14 | 如果你不知道什麼是`npm@next`,它是一個 npm 版本,將會在該版本的下一週釋出成穩定版,而該穩定版會標上`npm@latest`的標籤。當你執行了`npm install -g npm`,你會取得`npm@latest`版本。但如果你想要成為測試者,試用最新的功能,確保它是的確穩定的版本,那你可以使用`npm install -g npm@next`來取得。我們 <3 測試者。 15 | 16 | ## npm@3 將會帶來什麼? 17 | 18 | 說到`npm shrinkwrap`,在`npm@3`中,使用 shrinkwrap 會更加方便。當你在專案目錄下安裝或移除某個模組時,加上`--save`參數, npm 將會為你自動更新`npm-shrinkwrap.json`。只要你都是使用 npm 指令來管理你在 `package.json` 裡的相依性(而不是手動編修檔案),`npm-shrinkwrap.json`將會自動同步。 19 | 20 | ## 來自社群 21 | 22 |  23 | 24 | 你是否曾經遇過,同時撰寫一種應用程式以及一種模組,而該應用程式同時也使用了該模組?你是否使用 `npm link`來做這件事?如果沒有,你可能會想看看 egghead.io 影片,[使用 npm link 來使用"開發中"的 node 模組](https://egghead.io/lessons/node-js-using-npm-link-to-use-node-modules-that-are-in-progress) 25 | 26 | [Ben Clinkinbeard](https://twitter.com/bclinkinbeard),該影片的拍攝者,同時也是 PR 背後的作者,讓最近釋出的 [Angular 1.3.14 instantaneous-browserification](https://github.com/angular/angular.js/blob/master/CHANGELOG.md#1314-instantaneous-browserification-2015-02-24) 能夠與 Browserify 更好的結合。所以,感謝 Ben! 27 | 28 | ## 預先收集的集合 29 | 30 | 我們正在規劃 npm 的一個新功能,稱之為集合(原文 collections)。這將會是由用戶撰寫的指南,告訴你如何在一個漂亮的佈局下同時使用多個 packages。 31 | 32 | 在此期間,人們正在製作他們自己的集合。[Zeke](https://twitter.com/zeke) 已經收集了[一堆集合](https://github.com/npm/newww/issues/313),看看人們做了些什麼。如果你也有集合,歡迎告訴我們,你也可能會想要看看其他人的集合,他們非常整齊漂亮。 33 | 34 | 原文:[npm weekly, #9](http://blog.npmjs.org/post/113882628280/npm-weekly-9),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 35 | -------------------------------------------------------------------------------- /source/_posts/2015-03-20-weekly-update-march-20th.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.03.20" 2 | date: 2015-03-20 09:02:55 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | io.js 1.6.1, openssl 升級, 社群活動及其他事項。 8 | 9 | 這週我們釋出兩個 io.js 版本,[v1.6.1](https://iojs.org/dist/v1.6.1/) 及 [v1.6.0](https://iojs.org/dist/v1.6.0/),完整的更新項目可以在 [Github](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 上找到。 10 | 11 | ## io.js 1.6 釋出 12 | 13 | ### 1.6.1 14 | 15 | * **path:** path.resolve()新增型別檢查 [#1153](https://github.com/iojs/io.js/pull/1153),不包含某些特殊案例,特別是 path.dirname(undefined)。已經放鬆 path.dirname()、path.basename() 以及 path.extname() 的型別檢查(Colin Ihrig)[#1216](https://github.com/iojs/io.js/pull/1216)。 16 | * **querystring:** 對於 querystring.parse() 以及 querystring.stringify() 所做的最佳化 [#847](https://github.com/iojs/io.js/pull/847) 妨礙了數字被 querystring.escape() 正確轉換,導致測試出現死角 [#1208](https://github.com/iojs/io.js/issues/1208)。這個臭蟲以及測試都已經被修復 (Jeremiah Senkpiel) [#1213](https://github.com/iojs/io.js/pull/1213)。 17 | 18 | ### 1.6.0 19 | 20 | * **node:** 一個新的 -r 或 — require 命令列參數可以用來在起始階段預先載入模組 (Ali Ijaz Sheikh) [#881](https://github.com/iojs/io.js/pull/881)。 21 | * **querystring:** parse() 及 stringify() 效能更快了 (Brian White) [#847](https://github.com/iojs/io.js/pull/847)。 22 | * **http:** http.ClientRequest#flush() 方法已被棄置,取而代之的是 http.ClientRequest#flushHeaders(),與 Node.js v0.12 的改變相同 [joyent/node#9048](https://github.com/joyent/node/pull/9048) (Yosuke Furukawa) [#1156](https://github.com/iojs/io.js/pull/1156)。 23 | * **net:** 允許 server.listen() 接受字串作為 port 的參數,例如 { port: “1234" } 以符合 [joyent/node#9268](https://github.com/joyent/node/pull/9268) 中 net.connect 接受相容格式的參數 (Ben Noordhuis) [#1116](https://github.com/iojs/io.js/pull/1116)。 24 | * **tls:** 回報的記憶體洩漏問題有更進一步的處理,儘管在這問題中顯示出這是個次要問題,可在 [#1075](https://github.com/iojs/io.js/issues/1075) 追蹤問題。 25 | * **v8:** 修補一個整數溢位的問題,當 max_old_space_size 的數值大於 4096 的時候 (Ben Noordhuis) [#1166](https://github.com/iojs/io.js/pull/1166)。 26 | * **platforms:** io.js CI 回報已經通過 **FreeBSD** 以及 **SmartOS** (Solaris)。 27 | * **npm:** 升級至 2.7.1,細節請參閱 [npm CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v271-2015-03-05) 28 | 29 | ### 已回報問題 30 | 31 | * 可能存在與 TLS 相關的記憶體洩漏問題,細節在 [#1075](https://github.com/iojs/io.js/issues/1075)。 32 | * Surrogate pair in REPL can freeze terminal #690 33 | * io.js 無法編譯成靜態函式庫 [#686](https://github.com/iojs/io.js/issues/686) 34 | * process.send() 不是文件所建議的非同步,降級問題發生於 1.0.2 版,詳情請見 [#760](https://github.com/iojs/io.js/issues/760) 以及修正 [#774](https://github.com/iojs/io.js/issues/774) 35 | * 當 DNS 查詢進行中的時候呼叫 dns.setServers() 將會導致程序崩潰 [#894](https://github.com/iojs/io.js/issues/894) 36 | 37 | ## 社群更新 38 | * browserify 開始支援 io.js,可以到[這裡](https://twitter.com/yosuke_furukawa/status/577150547850969088)看到公告。 39 | * express.js 加入對 io.js 的支援。 40 | * 在過去的兩週,我們能夠訪問來自 Joyent 的硬件,並且引入了一個 V8 的補丁,所以可以成功構建 io.js。在那之後我們致力通過 [SmartOS](https://github.com/iojs/build/pull/64) 和 [FreeBSD](https://github.com/iojs/io.js/pull/1167) 上的測試,經過這兩天測試通過了,這要歸功於構建團隊和 [Johan Bergström](https://github.com/jbergstroem)。 41 | * [Petka Antonov](https://github.com/petkaantonov) 提出在 io.js 中實作 workers(需要加上實驗旗標來啟用),你可以到[這裡](https://github.com/iojs/io.js/pull/1159)參與討論。 42 | * io.js 把 openssl [升級](https://github.com/iojs/io.js/pull/1206)到 1.0.1m。 43 | 44 | ## 即將舉行的活動 45 | * [NodeConf](http://nodeconf.com/) 的門票已經開始販售,6/8-9 於加州奧克蘭,NodeConf Adventure 則是 6/11-14 於加州沃克溪農場。 46 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 47 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 48 | 49 | 原文:[io.js Week of March 20th](https://medium.com/node-js-javascript/io-js-1-6-release-1df38cf64e6c),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 50 | -------------------------------------------------------------------------------- /source/_posts/2015-04-01-weekly-update-march-27th.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.03.27" 2 | date: 2015-04-01 15:25:28 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | 8 | ## io.js 1.6.2 釋出 9 | 10 | 這週我們有一個新版本釋出 [v1.6.2](https://iojs.org/dist/v1.6.2/),完整的更新日誌可以在 [Github](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 找到。 11 | 12 | ## 值得注意的更動 13 | 14 | * **Windows:** 再一次,進行中改善可以在測試案例看到結果。如同 v1.4.2 更新日誌,CI 系統及設定問題阻礙了 Windows 測試正確地回報結果,這個問題及代碼似乎已經完全解決。 15 | * **FreeBSD:** 一個影響 io.js/Node.js 的[核心臭蟲](https://lists.freebsd.org/pipermail/freebsd-current/2015-March/055043.html)已經被[發掘](https://github.com/joyent/node/issues/9326)且修補已經出爐避免io.js被影響(Fedor Indutny)[#1218](https://github.com/iojs/io.js/pull/1218)。 16 | * **module:** 現在你可以用 `require('.')` 來取代 `require('./')`,這個考慮是個臭蟲修補(Michaël Zasso)[#1185](https://github.com/iojs/io.js/pull/1185)。 17 | * **v8:** 更新到 4.1.0.25 包含— `max_old_space_size` 數值大於 4096 及支援 Solaris,兩者都已經包含在 io.js。 18 | 19 | ## 已知問題 20 | 21 | * 有個微小的記憶體洩漏可能仍然存在,但是已經是適當地被識別出來,詳細請見 [#1075](https://github.com/iojs/io.js/issues/1075)。 22 | * REPL 的代理配對會導致終端凍結 [#690](https://github.com/iojs/io.js/issues/690) 23 | * io.js 不可能編譯成靜態函式庫 [#686](https://github.com/iojs/io.js/issues/686) 24 | * `process.send()` 如同文件所建議並非同步,在 1.0.2 版新增了回歸,請見 [#760](https://github.com/iojs/io.js/issues/760) 及修改 [#774](https://github.com/iojs/io.js/issues/774) 25 | * 當某個DNS查詢正在處理中,呼叫 `dns.setServers()` 會導致程序崩潰在某個失敗的斷言 [#894](https://github.com/iojs/io.js/issues/894) 26 | 27 | ## 社群更新 28 | 29 | * Node.js 技術管理草案已經提出,可以在這裡[觀看](https://github.com/joyent/nodejs-advisory-board/pull/30)。 30 | * Microsoft Visual Studio 團隊釋出了 Node.js Tools 1.0 for Visual Studio,這次釋出包含豐富的編輯器、代碼補完、互動視窗、進階除錯及效能評測。請見[公告](http://blogs.msdn.com/b/visualstudio/archive/2015/03/25/node-js-tools-1-0-for-visual-studio.aspx)。 31 | * [SPM 監控支援 node.js 及 io.js](http://blog.sematext.com/2015/03/30/nodejs-iojs-monitoring/),監控可加入效能監測、通知及異常偵測。 32 | 33 | ## 即將舉行的活動 34 | * [NodeConf](http://nodeconf.com/) 的門票已經開始販售,6/8-9 於加州奧克蘭,NodeConf Adventure 則是 6/11-14 於加州沃克溪農場。 35 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 36 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 37 | * [nodeSchool 東京](http://nodejs.connpass.com/event/13182/) 將會在 4/12 於日本東京舉辦。 38 | 39 | 原文:[io.js Week of March 27th](https://medium.com/node-js-javascript/io-js-week-of-march-27th-9555f36bbb9a),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 40 | -------------------------------------------------------------------------------- /source/_posts/2015-04-04-npm-weekly-10.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 2015-03-31" 2 | date: 2015-04-04 21:25:38 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | ## Angular 增加對 Browserify 的支援 9 | 10 |  11 | 如果你沒注意到這個消息,Angular 在最近新版本中提到在 [1.3.14 instantaneous-browserification](https://github.com/angular/angular.js/blob/master/CHANGELOG.md#1314-instantaneous-browserification-2015-02-24) 將對 Browserify 有更好的支援。這意謂著你的套件相依可以幫你處理一些相依樹的問題。如果要使用這個新個功能,對模組以及應用程式都需要做一些[調整](http://blog.npmjs.org/post/114584444410/using-angulars-new-improved-browserify-support)。 12 | 13 | ## CLI 有什麼新功能? 14 | 15 | 我們在最近幾週釋出補丁版本(如果你不了解什麼是語意化版本,這種釋出版本代表我們並沒有增加新的功能)。主要是對於測試套件的修復。如果你也希望幫忙讓 npm 在 Travis 上轉為綠燈,請參閱 Forrest [徵求幫忙的文章](https://twitter.com/othiym23/status/579103004797706240)。 16 | 17 | ## 社群 18 | 19 |  20 | 21 | [nearForm](http://www.nearform.com/) 的成員在 [Tips for coding with #Nodejs: Making use of the extensive @npmjs ecosystem](http://www.nearform.com/nodecrunch/coding-with-nodejs/) 一文中討論關於他們評估套件的策略。可以從中得到許多啟發,而且正如他們所指出的,你也可以檢閱程式碼。[Aria Stewart](https://twitter.com/aredridel) 有一個關於[如何閱讀程式碼](https://github.com/aredridel/how-to-read-code/blob/master/how-to-read-code.md)的分享。 22 | 23 | ## 你如何選擇套件? 24 | 25 | nearForm 的成員提到他們如何挑選套件,那你呢?今年我們其中一個目標就是能更方便地找到對你有幫助的套件,所以我們[很希望能夠聽到](http://blog.npmjs.org/post/115128654255/how-do-you-choose-packages)你是用什麼方法來做決定的。 26 | 27 | 原文:[npm Weekly, #10](http://blog.npmjs.org/post/115129655415/npm-weekly-10),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 28 | -------------------------------------------------------------------------------- /source/_posts/2015-04-06-weekly-update-april-3rd.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.04.03" 2 | date: 2015-04-06 23:49:54 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | ## v1.6.3 釋出 8 | 9 | 這週我們有一個新版本釋出 [v1.6.3](https://iojs.org/dist/v1.6.3/),完整的更新日誌可以在 [Github](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 找到。 10 | 11 | ## 值得注意的更動 12 | 13 | * **fs:** 某些情況下,`fs.writeFileSync()`、`fs.writeFile()` 的附加模式以及 `fs.writeFileSync()` 會造成損毀,問題被回報在 [#1058](https://github.com/iojs/io.js/issues/1058),修正在 [#1063](https://github.com/iojs/io.js/pull/1063)(Olov Lassus)。 14 | * **iojs:** 一個“內部模組” API 已被導入,它允許核心代碼在 JavaScript 模組不在公開它們為一個開放API前提下,共享這個模組,這個功能只給核心使用 [#848](https://github.com/iojs/io.js/pull/848)(Vladimir Kurchatkin)。 15 | * **timers:** 兩個次要問題已被修復: 16 | * `Timer.close()` 現在是適當地冪等 [#1288](https://github.com/iojs/io.js/issues/1288)(Petka Antonov)。`setTimeout()` 現在在回呼中呼叫 `unref()` 只會執行一次回呼函式 [#1231](https://github.com/iojs/io.js/pull/1231)(Roman Reiss)。注意:仍然有其他未解決的顧慮,例如 [#1152](https://github.com/iojs/io.js/pull/1152)。 17 | * **Windows:** 加入 “延遲-載入 掛鉤”,用來編譯 Windows 附加元件,這應能緩解 Windows 使用者在 io.js 上使用附加元件的某些問題 [#1251](https://github.com/iojs/io.js/pull/1251)(Bert Belder)。 18 | * **V8:** 次要臭蟲修復,升級 V8 至 4.1.0.27。 19 | * **npm:** 升級 npm 至 2.7.4。詳情請見 npm 的 [CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v274-2015-03-20)。 20 | 21 | ## 已知問題 22 | 23 | * 某些存在於計時器與`unref()`仍待解決。請見 [#1152](https://github.com/iojs/io.js/pull/1152)。 24 | * REPL 的代理配對會導致終端凍結 [#690](https://github.com/iojs/io.js/issues/690) 25 | * io.js 不可能編譯成靜態函式庫 [#686](https://github.com/iojs/io.js/issues/686) 26 | * `process.send()` 如同文件所建議並非同步,在 1.0.2 版新增了回歸,請見 [#760](https://github.com/iojs/io.js/issues/760) 及修改 [#774](https://github.com/iojs/io.js/issues/774) 27 | * 當某個DNS查詢正在處理中,呼叫 `dns.setServers()` 會導致程序崩潰在某個失敗的斷言 [#894](https://github.com/iojs/io.js/issues/894) 28 | 29 | ## 社群更新 30 | 31 | * [Scaleway](https://www.scaleway.com/) 提供某些 ARM 資源給 io.js 的 測試/建置 基礎結構。 32 | * Medium 上新發佈的文章,有關與 Node.js 的一致:[幫助我們調和 node.js 及 io.js](https://medium.com/node-js-javascript/help-us-reconcile-node-js-and-io-js-c060a9ec1bd4) 33 | * [Reactive-Extensions/RxJS](https://travis-ci.org/Reactive-Extensions/RxJS/builds/56671837) 新增對 iojs 支援 34 | * 合併 [joyent/nodejs-advisory-board#30](https://github.com/joyent/nodejs-advisory-board/pull/30) 35 | * Mikeal Rogers 正在致力於調和專案生命週期及 io.js 工作小組 [joyent/nodejs-advisory-board#33](https://github.com/joyent/nodejs-advisory-board/pull/33) 36 | * Rod Vagg 開了論壇,有關 Node.js 的一致 [iojs/io.js#1336](https://github.com/iojs/io.js/issues/1336) 37 | 38 | ## 即將舉行的活動 39 | 40 | * [NodeConf](http://nodeconf.com/) 的門票已經開始販售,6/8-9 於加州奧克蘭,NodeConf Adventure 則是 6/11-14 於加州沃克溪農場。 41 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 42 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 43 | * [nodeSchool 東京](http://nodejs.connpass.com/event/13182/) 將會在 4/12 於日本東京舉辦。 44 | 45 | 原文:[io.js Week of April 3rd](https://medium.com/node-js-javascript/io-js-week-of-april-3rd-a4e1fe0c38c1),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 46 | -------------------------------------------------------------------------------- /source/_posts/2015-04-12-npm-weekly-11.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 2015-04-07" 2 | date: 2015-04-12 00:02:31 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | ## npm 語意化版本計算器 9 | 10 |  11 | 12 | 弄清楚語意化版本的範圍是一件難事...所以我們做了這個[計算器]((http://semver.npmjs.com/))來幫忙。 13 | 14 | ## CLI 有什麼新功能? 15 | 16 | 上週又我們另一個專注於臭蟲修復的一週。你可以在[路徑圖](https://github.com/npm/npm/wiki/Roadmap#othiym23--forrest-l-norvell-twitter-othiym23)中查看這週將優先處理的項目。 17 | 18 | ## Page rank for npm 19 | 20 |  21 | 22 | [Andrei Kashcha](https://twitter.com/anvaka) 製作了一個視覺化的 [npm 宇宙]((http://anvaka.github.io/allnpmviz3d)),另一個有趣地運用 npm 的資料,運用網頁排名來幫助你[尋找 npm 上的套件](http://anvaka.github.io/npmrank/online)。 23 | 24 | ## 社群消息 25 | 26 | 如果你是在團隊合作內,透過全域模組建立每位成員的開發環境,對於建立一個專案而言這將會個麻煩。不這麼做將是個好選擇。Joe Zimmerman 解釋如何透過 npm run scripts [建立](http://www.joezimjs.com/javascript/no-more-global-npm-packages/)開發依賴的套件。 27 | 28 | 原文:[npm Weekly, #10](http://blog.npmjs.org/post/115777167035/npm-weekly-11),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 29 | -------------------------------------------------------------------------------- /source/_posts/2015-04-15-weekly-update-april-10th.md: -------------------------------------------------------------------------------- 1 | title: "io.js 週報 2015.04.10" 2 | date: 2015-04-15 08:47:01 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | ## io.js 1.6.4 release 8 | 9 | 這週我們有一個 io.js 釋出版本 [v1.6.4](https://iojs.org/dist/v1.6.4/),完整的更新項目可以在 [GitHub](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 上找到。 10 | 11 | ### 主要更新 12 | 13 | * **npm:** npm 升級到 2.7.5,細節可以參閱 [npm CHANGELOG.md](https://github.com/npm/npm/blob/master/CHANGELOG.md#v275-2015-03-26)。這個版本包含了兩個重要的安全性更新。 14 | * **openssl:** OpenSSL 1.0.2a [#1325](https://github.com/iojs/io.js/pull/1325) (Shigeki Ohtsu) 前期準備工作已經完成。更多細節可以參考 [#589](https://github.com/iojs/io.js/issues/589)。 15 | * **timers:** 未被參考 timers 所造成記憶體洩漏的問題已經被修復,包含一些 timers 相關的問題 [#1330](https://github.com/iojs/io.js/pull/1330) (Fedor Indutny)。這些修復了在 [#1075](https://github.com/iojs/io.js/issues/1075) 回報的問題。 16 | * **android:** 現在已經可以編譯讓 Android 以及相關設備使用的 io.js 版本 [#1307](https://github.com/iojs/io.js/pull/1307) (Giovanny Andres Gongora Granada)。 17 | 18 | ### 已知問題 19 | 20 | * 在 beforeExit 執行未參考的 timer 仍存在一些問題需要解決 [#1264](https://github.com/iojs/io.js/issues/1264)。 21 | * REPL 的代理配對會導致終端凍結 [#690](https://github.com/iojs/io.js/issues/690)。 22 | * io.js 不可能編譯成靜態函式庫 [#686](https://github.com/iojs/io.js/issues/686)。 23 | * process.send() 如同文件所建議並非同步,在 1.0.2 版新增了回歸,請見 [#760](https://github.com/iojs/io.js/issues/760) 及修改 [#774](https://github.com/iojs/io.js/issues/774)。 24 | * 當某個DNS查詢正在處理中,呼叫 dns.setServers() 會導致程序崩潰在某個失敗的斷言 [#894](https://github.com/iojs/io.js/issues/894)。 25 | 26 | ### 社群更新 27 | 28 | * Node 基金會的開發策略草案在[這邊](https://github.com/jasnell/dev-policy)。 29 | * io.js [支援](https://twitter.com/rvagg/status/586050873349939201) ARMv8 / ARM64 平台。 30 | * 持續著 [node.js/io.js](https://github.com/jasnell/dev-policy) 新開發方針的工作。 31 | * [星期三](https://www.youtube.com/watch?v=OjlK8k10oyo)的 TC 會議。 32 | 33 | ### 即將舉行的活動 34 | 35 | * [JSConf 烏拉圭](http://jsconf.uy/)的門票已經開賣,時間是 4/24~4/25 於烏拉圭蒙特維多。 36 | * [NodeConf Adventure](http://nodeconf.com/) 則是 6/11-14 於加州沃克溪農場。 37 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 38 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 39 | * [nodeSchool 東京](http://nodejs.connpass.com/event/13182/) 將會在 4/12 於日本東京舉辦。 40 | 41 | 原文:[io.js Week of April 10th](https://medium.com/node-js-javascript/io-js-week-of-april-10th-cbf6cf32409),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 42 | -------------------------------------------------------------------------------- /source/_posts/2015-04-18-npm-weekly-12.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #12" 2 | date: 2015-04-18 01:24:32 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | ## npm 週報 #12 9 | 10 |  11 | 今天開始就可以使用[私有模組](https://www.npmjs.com/private-modules)。 12 | 13 | ## 升級到 npm@next 14 | 15 | npm@2.8.1 有幾個變更能夠更簡單地使用私有模組。如果你已經註冊了 npm 私有模組,馬上用 `sudo npm install -g npm@next` 升級到 npm@next吧。 16 | 17 | ## npm 的 git 集成功能運作正常 18 | 19 | 使用 git 依賴套件上的問題已經存在一陣子了,但是在週末釋出的 npm@2.8.1,我想我們已經做了大量的改進。如果你有使用這個功能,可以去試試看並讓我們知道! 20 | 21 | 22 | 原文:[npm Weekly, #12](http://blog.npmjs.org/post/116391174580/npm-weekly-12),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 23 | -------------------------------------------------------------------------------- /source/_posts/2015-04-30-npm-weekly-13.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #13" 2 | date: 2015-04-30 08:56:21 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 |  9 | 10 | ## 解決 npm 的困難問題: 套件命名 11 | 12 | 隨著上週推出的私有模組,我們在此介紹一個新的功能:套件領域。如果你是 npm 註冊用戶,那你已經有一個屬於你的領域,如果你想知道如何使用它, 請參閱[這篇](http://blog.npmjs.org/post/116936804365/solving-npms-hard-problem-naming-packages)說明。 13 | 14 | ## npm 在紐約 15 | 16 | 幾位 npm 的成員將在下週出現在紐約,歡迎來打聲招呼。[Lin](https://twitter.com/linclark) 將會參加 [EmpireJS](http://empirejs.org/) (April 26-27) 以及會在 [NodeDay](http://nodeday.com/) (April 28) 有個演講,[Isaac](https://twitter.com/izs) 也會參加。 如果你想在 NodeDay 上聊聊,這邊還有一些[門票](https://ti.to/node-day-2015/node-day-new-york/with/udwwbu3-n9q)。 17 | 18 | ## 社群消息 19 | 20 | Piggybank 寫了一篇如何在 Heroku 上使用 npm 私有模組的教學。即便你沒有使用 Heroku,你或許可以參考第四步驟,建立專案的 .npmrc。這適用於任何持續整合系統。 21 | 22 | ## CLI 消息 23 | 24 | 上週我們有一個錯誤修正,讓 npm 對於 git 的支援更加穩定。另外也感謝 [Sam Mikes](https://twitter.com/sammikes)指出 CouchDB 與新版 Node/io.js 的問題。 25 | 26 | 原文:[npm Weekly, #13](http://blog.npmjs.org/post/117031297945/npm-weekly-13),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 27 | -------------------------------------------------------------------------------- /source/_posts/2015-04-30-npm-weekly-14.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #14" 2 | date: 2015-04-30 14:40:45 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | ## Cordova 套件轉移到 npm 9 | 10 |  11 | 12 | 現在有許多框架持續將套件轉移到 npm 的趨勢,Apache Cordova 宣布將其核心套件轉移到 npm,也鼓勵插件開發者這麼做。假如您是 Cordova 開發者,請直接閱讀[開發指南](http://cordova.apache.org/announcements/2015/04/21/plugins-release-and-move-to-npm.html)。 13 | 14 | ## CLI 消息 15 | 16 | npm@next 這周帶來了 2.9.0 版本,此更新有兩個小修正,當您使用 `npm outdated` 或 `npm update` 指令更動本地端套件時,版本前面的前置名稱現在可以透過 npm 來設定了。 17 | 18 | ## 部署 github 頁面 19 | 20 | 您還在維護個人 Github 網站嗎?您可以透過 [npm run scripts](https://docs.npmjs.com/cli/run-script) 指令讓部署過程更順暢。Jessica Lord 寫了一個[簡單範例](https://github.com/jlord/git-it/blob/master/package.json#L14-L17)在 git-it 套件內。 21 | 22 | 原文:[npm Weekly, #14](http://blog.npmjs.org/post/117716297055/npm-weekly-14),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 23 | -------------------------------------------------------------------------------- /source/_posts/2015-05-05-building-a-better-node-community.md: -------------------------------------------------------------------------------- 1 | title: "打造一個更好的 Node 社群" 2 | date: 2015-05-05 00:45:52 3 | tags: 4 | categories: iojs 文章 5 | --- 6 | 7 | 8 |  9 | 10 | 在早些日子,事情是比較簡單的。很少人依賴 Node,也很少人使用它,甚至更少人用 Node 來工作。 11 | 12 | 當發生一個大問題時,我們六個人就會提出來討論。這個團隊沒什麼優點,就只是大家在一起討論而已。它既不民主,也不開源。而且顯而易見的,團隊不會持續著很久。我想稱呼他為「Node Illuminati」。我堅持。 13 | 14 | 我們討論出了早期的 Buffers 和 Streams,並且持續進行了幾個月。這個核心團隊變得更國際化了。「Node Illuminati」並沒有跟著擴充。 15 | 16 | 我去參加了一個論壇,接著我們發現到 Node 變得越來越龐大。接著我去了另外一個更接近「Illuminati」的論壇,當然這個論壇遠遠超過六個人。我們再次想通了 Streams,至少我們這樣認為。 17 | 18 | 一年過去了。我又去了另外一個論壇。我們發現到 Node 已經相當龐大了。在 Node core 的工作對比於模組,真是黯然失色。我嘗試在其他的論壇談一些 Node core 的東西,但是還是失敗了。但我遇到了 Raquel,而且 Chris 說服她用 Node 來做機器人,所以我想這也算是一次成功了吧。 19 | 20 | 我們認為模組已經足夠小到讓一個人來運作。模組後來又變得更小了,小到一個人可以寫幾百個模組,這遠遠超過他們所能維護的範圍。 21 | 22 | 我加入了幾個貢獻者到[request](https://github.com/request/request)專案裡面,他們做了一些相當好的貢獻。但後來他們就消失不見了,所以我接著做了大部分的工作。 23 | 24 | Rod 發現了更好的方式來管理專案。Git 在"移除"工作上做得相當好。要知道,讓人們對專案作出貢獻是很難的,但當你給了他們專案的管理權後,他們會出更多的貢獻。即使有人搞雜了一些東西,Git 在後續處理上相當容易。 25 | 26 | 我把所有對專案有貢獻的人變成協作者。我並沒有把這樣的內容寫下來成為一個政策。我並沒有針對自己的內容送 pull request。我做出這些決定並沒有蒐集或尋求誰的回饋。我加入更多對專案有貢獻的人成為協作者。然後,他們又消失了。我繼續接著做了大部分的工作。 27 | 28 | 當你不寫文件時,你靠的是文化的規範。當你的文化都很像,也就意味著你沒有辦法吸引不在這個文化內的人們。當你在掌控這些事情的時候,即使你說你不是獨裁者,但也很難說服人了。人們都不喜歡獨裁的人,他們會傾向離開或反抗。 29 | 30 | 於是我寫下了貢獻的政策。我把自己的內容送了 pull request。我開始向其他的貢獻者尋求回饋。令人驚喜的事情發生了,不管是已經加入或是新加入的人都有更多的貢獻。他們貢獻更多,也持續關注在這個專案上。 31 | 32 | Substack 寫了教學手冊。Rod 和 Tim 很喜歡這份手冊,所以他們用相同的格式寫了更多的教學手冊。Max 和 Brian 把所有的教學手冊放到網站上,並且建立了一個 repository 讓需要的人們可以隨時取得。這個專案叫做 NodeSchool,一直持續到現在。 33 | 34 | 我詢問有沒有人想要舉行在地化的 NodeSchool 活動,並且分享他們從參與者身上學到的東西。這些活動比我參加過的任何活動成長的都快,但終究遇到了瓶頸。 35 | 36 | Max 和 Jessica 寫下了 NodeSchool 的[理念](http://nodeschool.io/about.html)、[如何舉辦一個新的 workshop](http://nodeschool.io/building-workshops.html)和 [如何舉辦更多的活動](https://github.com/nodeschool/organizers/blob/master/README.md#how-to-start-a-new-nodeschool-chapter)。我們讓每一個活動的籌辦者變成 [NodeSchool](https://github.com/nodeschool) 的共同擁有者。我們讓[每個參加活動的參與者變成活動的所有人](https://github.com/nodeschool/organizers/blob/master/README.md#3)。[NodeSchool 再一次成長](http://nodeschool.io/chapters.html)。 37 | 38 | 人們可以做的事情並不如理論上的廣範與開闊。人們是可以把事情做好的,當你把事情清楚且明確的告訴他們可以做什麼,會有更多人投入。他們不會像你一樣,當所有沒有被寫下來的假設,都會變成一種阻礙。當人們跟你越不一樣,這些阻礙會變得越來越多,然後當這些人們跟你的出生背景不一樣,或是跟你不在一個社會階級時,阻礙就會越來越多。 39 | 40 | 人們喜歡做他們屬於自己的工作,而這樣的所有權是可以被分享的。同樣的需要有責任感。如果你放棄自己的專屬所有權,如果你把事情寫下來,如果你明確的告訴大家該如何參與,你會成長的,同時,你的工作會比你自己擁有一切變得更佳美好。 41 | 42 | 原文:[Building a Better Node Community.](https://medium.com/node-js-javascript/building-a-better-node-community-3f8f45b45cb5),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 43 | -------------------------------------------------------------------------------- /source/_posts/2015-05-17-npm-weekly-15.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #15" 2 | date: 2015-05-17 14:50:45 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | 你希望可以[收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 9 | 10 | ## registry in a box 11 | 12 |  13 | 14 | 有鑒於去年在 NodeConf 時,要能夠完整執行 npm install 所遭遇的挑戰,[Bryan English](https://twitter.com/bengl) 提出了 [registry in a box](https://www.npmjs.com/package/reginabox)。這個套件能提供「可被查詢的 npm 鏡像,適合像 NodeConf 這類網路通暢但是對外頻寬有限 15 | 的情況」。別忘了在參加六月 [NodeConf Adventure](http://nodeconf.com/) 之前先安裝好。 16 | 17 | ([圖片](https://secure.flickr.com/photos/matthewbergman/14565350776/in/album-72157645452192986/)來自 [Matthew Bergman](https://twitter.com/FotoVerite)). 18 | 19 | ## CLI 新功能? 20 | 21 | 在這週的 npm@next 你可以看到更多對於 git 支援的改良。如果你在專案中有需要依賴多個分支的情況,或許你會想試試 npm@2.9.1 並驗證看看在你的專案 22 | 是否運行正常。你可以透過 npm install -g npm@next 來試試看。 23 | 24 | ## npm 團隊加入新成員 25 | 26 | npm 團隊目前增加了許多成員,第一位成員已經到職!讓我們歡迎 [Ernie Salazar](https://twitter.com/ehsalazar) 加入團隊,假如您透過 [support@npmjs.com](mailto:support@npmjs.com) 或 [@npm_support](https://twitter.com/npm_support) 來聯絡我們,Ernie Salazar 會負責幫忙回覆或解決您的問題。 27 | 28 | 原文:[npm Weekly, #15](http://blog.npmjs.org/post/118232691905/npm-weekly-15),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 29 | -------------------------------------------------------------------------------- /source/_posts/2015-05-17-npm-weekly-16.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #16" 2 | date: 2015-05-17 14:50:48 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 你希望可以[收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 8 | 9 | ## 免費試用 npm 私有模組 10 | 11 |  12 | 13 | 想試試私有模組的功能嗎?如果你在這個週五之前(5/15)用 **npm-weekly** 這個折扣代碼註冊的話,你就可以免費試用一個月的時間。 14 | 15 | ## CLI 有什麼新功能? 16 | 17 | 支援 SPDX!!! 18 | 19 | 如果你在企業中從事夠多的開發的話,你就會知道了解軟體授權是一件非常重要的事。幸運的是,Linux 基金會制定了 SPDX,一種讓授權資訊便於透過 20 | 程式分析的格式。感謝 [Kyle Mitchell](https://twitter.com/kemitchell),npm 將會鼓勵以 SPDX 的方式來標註套件的授權資訊。 21 | 22 | 從長遠來看,如果所有的套件都開始使用這個格式來標註它們的授權資訊,將有許多人因而受惠。想知道更詳細的內容可以參閱 [CHANGELOG](https://github.com/npm/npm/blob/master/CHANGELOG.md#v2100-2015-05-8)。 23 | 24 | 25 | ## 建立一個簡單的命令列介面工具 26 | 27 | 我們曾經問過你們打算如何使用私有模組的功能,一個經常出現的答案就是,給團隊成員們用於開發專案的命令列介面工具。 28 | 29 | 這篇文章將教你們[透過建立可重複使用的 npm run scripts 來簡化開發流程](http://blog.npmjs.org/post/118810260230/building-a-simple-command-line-tool-with-npm)。 30 | 31 | 原文:[npm Weekly, #16](http://blog.npmjs.org/post/118819863320/npm-weekly-16),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 32 | -------------------------------------------------------------------------------- /source/_posts/2015-05-31-npm-weekly-17.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #17" 2 | date: 2015-05-31 16:11:30 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 你希望可以[收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 8 | 9 | ## 一個更好的命令列工具 10 | 11 |  12 | 13 | 上個禮拜我們展示如何建置一個簡單的命令列工具給你看。這個禮拜,我們告訴你如何改進你的工具。 14 | 15 | - [增加子命令到命令列工具](http://blog.npmjs.org/post/119317128765/adding-subcommands-to-your-command-line-tool) 16 | - [讓命令列工具變成可設定的](http://blog.npmjs.org/post/119377806820/making-your-command-line-tool-configurable) 17 | 18 | ## npmHumans++ 19 | 20 | 我們增加了一個新人,現在在 registry 團隊。[Ryan Day](https://twitter.com/soldair) 將會加入 [CJ](https://twitter.com/ceejbot)、[Ben](https://twitter.com/BenjaminCoe) 和 [Maciej](https://twitter.com/maciejmalecki) 來確保 registry 可以跟上不斷上升的流量。 21 | 22 | ## npmHumans.speak() 23 | 24 |  25 | 26 | 說到曾經爆衝的流量,[CJ](https://twitter.com/ceejbot) 禮拜五將會在 [Web Rebels](https://www.webrebels.org/) 和禮拜六在 [NodeConf One-Shot Oslo](http://oslo.nodeconf.com/) 談論團隊如何讓 registry 擴展。 27 | 28 | 如果你對 [在 npm@3 可以期待什麼](https://www.youtube.com/watch?v=9I2KgK2mYGM&feature=youtu.be&t=31m24s) 有興趣,可以參考 [Rebecca’s](https://twitter.com/ReBeccaOrg) 在 Boston Ember 聚會的談話。 29 | 30 | 還有 [Raquel](https://twitter.com/rockbot) 用播客談到關於她成為一個 Web 開發者的旅程在 [很開心,Isaac 寄了 Email 給我](http://descriptive.audio/episodes/18)。 31 | 32 | ## nodeschool 國際日 33 | 34 | 想要學 Node?這個星期六將會有 NodeSchools [在世界各地](http://nodeschool.io/international-day/) 舉辦。 35 | 36 | 如果你在學找如何學習 (或教) npm,可以嘗試 [how-to-npm workshop](https://www.npmjs.com/package/how-to-npm)。 37 | 38 | ## 視覺化的 spdx 支援 39 | 40 | 在上個禮拜的 weekly,我們談到 SPDX。隨著 SPDX License Expression Syntax,你可簡單的用工具找出你的程式碼的許可方式。這對企業使用者非常好。 41 | 42 | 如果你想知道哪個套件有可解析的許可證字串 (還有哪個沒有),可以查看 Kyle Mitchell 的新網站,[npm1K](http://npm1k.org/)。 43 | 44 | 原文:[npm Weekly, #17](http://blog.npmjs.org/post/119399973890/npm-weekly-17),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 45 | -------------------------------------------------------------------------------- /source/_posts/2015-05-31-npm-weekly-18.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #18" 2 | date: 2015-05-31 16:11:33 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 你希望可以[收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 8 | 9 | ## 許多的模組 10 | 11 |  12 | 13 | 截至[禮拜六](https://twitter.com/ReBeccaOrg/status/601920015592460288),npm 擁有所有模組 registry 裡面最多的模組,包括任何的計量… 針對任何程式語言。 感謝你所有的貢獻 :) 14 | 15 | ## wombats 在 jsconf 16 | 17 |  18 | 19 | NPM 贊助直播 [記錄在 JSConf](https://twitter.com/linclark/status/603580915130966017),這個禮拜 41.6% 的 npm 團隊將會在 JSConf (表示我們是 ~1% 的參與者)。與會的 wombats 有 (從右到左) [Rebecca](https://twitter.com/ReBeccaOrg)、[Ryan](https://twitter.com/soldair)、[Lin](https://twitter.com/linclark), [Forrest](https://twitter.com/othiym23) 和 [Laurie](https://twitter.com/seldo)。我們會很高興認識你,所以如果你看到我們記得說聲嗨。 20 | 21 | ## 尋找更多 wombats 22 | 23 | 我們有大量的新職缺清單。 24 | 25 | - [UX/UI 設計師](https://www.npmjs.com/jobs#ux-ui-designer) 26 | - [團隊領導](https://www.npmjs.com/jobs#team-lead-www-team) 27 | - [前端工程師](https://www.npmjs.com/jobs#frontend-engineer-www-team) 28 | - [後端工程師](https://www.npmjs.com/jobs#backend-engineer-www-team) 29 | 30 | 更多詳細內容請參考[職缺頁面](https://www.npmjs.com/jobs)。 31 | 32 | ## 視覺化你過期的依賴套件 33 | 34 |  35 | 36 | 感謝 [Emmanouil Konstantinidis](https://twitter.com/iamemmanouil/status/598504437582278656),你可以用 [npm.click](http://npm.click/#/) 得到一個你的 package.json 檔案中過期依賴套件的清楚視覺化… 並且如果你在想是否這些更新會破壞你的建置,可以嘗試 [next-update](https://www.npmjs.com/package/next-update) 來看是否更新會破壞你的測試。 37 | 38 | ## 互動式的命令列工具 39 | 40 |  41 | 42 | 幾個禮拜前我們展示了如何[建置一個簡單命令列工具](http://blog.npmjs.org/post/118810260230/building-a-simple-command-line-tool-with-npm) 來管理你的開發過程,還有如何添加選項到你的指令。如果你想要了解如何使他可互動,你可以查看 [cut-release](https://github.com/bjoerge/cut-release/blob/master/bin/cut-release.js) 專案作為範例。它使用 [inquirer](https://www.npmjs.com/package/inquirer) 來提示選項給使用者。 43 | 44 | 原文:[npm Weekly, #18](http://blog.npmjs.org/post/120036339840/npm-weekly-18),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 45 | -------------------------------------------------------------------------------- /source/_posts/2015-05-31-weekly-update-may-15th.md: -------------------------------------------------------------------------------- 1 | title: "io.js Week of May 15th" 2 | date: 2015-05-31 16:09:32 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | ## io.js 新聞 8 | 9 | 我們很高興宣告 **“io.js 決定加入 Node 基金會”**。組織名稱將改名為 nodejs。 10 | 11 | 如同第一步,我們將從 iojs 組織移動到 nodejs 組織,並逐漸地收斂到 joyent/node。我們將會持續釋出 io.js 直到收斂完成。 12 | 13 | 如果你想更仔細知道有關收斂計畫,請見 [jasnell 儲存庫](https://github.com/jasnell/dev-policy/blob/master/convergence.md)。如果你想要問問題,歡迎詢問 [@Fishrock123](fishrock123@rocketmail.com)。討論記錄在[這裡](https://github.com/nodejs/node/issues/1664)。 14 | 15 | ## 社群更新 16 | 17 | * [效能決勝](https://raygun.io/blog/2015/05/performance-showdown-node-js-vs-io-js-v2-0-0/): Node.js vs. io.js v2.0.0. 18 | * 微軟將 [node.js](https://github.com/Microsoft/node) 執行在他們的 JavaScript VM Chakra。 19 | * {node,io}.js [評效圖表](http://thlorenz.com/benchgraph/). 20 | * [技術委員會成員](https://twitter.com/rvagg/status/598605393636429825) 決定移動 io.js 到 Node 基金會並將組織名稱改名為 nodejs。 21 | * 硬體工作小組會議在 [YouTube](https://www.youtube.com/watch?v=EFJVMGRtDWE). 22 | * io.js/node.js 建置收斂會議在 [YouTube](https://www.youtube.com/watch?v=8dxkM9vHmrY). 23 | * 技術委員會會議在 [YouTube](https://www.youtube.com/watch?v=UbYiFLf7MpU). 24 | 25 | ## 即將舉行的活動 26 | 27 | * [NodeConf Adventure](http://nodeconf.com/) 門票已經開賣,6/11-14 於加州沃克溪農場。 28 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 29 | * [BrazilJS Conf](http://braziljs.com.br/) 門票開始販售,時間是 8/21~8/22 於阿雷格里港。 30 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 31 | 32 | 原文:[io.js Week of May 15th](https://medium.com/node-js-javascript/io-js-week-of-may-15th-9ada45bd8a28),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 33 | -------------------------------------------------------------------------------- /source/_posts/2015-05-31-weekly-update-may-1st.md: -------------------------------------------------------------------------------- 1 | title: "io.js Week of May 1st" 2 | date: 2015-05-31 16:09:20 3 | tags: 4 | categories: iojs 週報 5 | --- 6 | 7 | 8 | ## io.js 2.0 候選版本 9 | 10 | 這週我們釋出 [v2.0](https://iojs.org/download/nightly/v2.0.0-nightly20150501b4ad5d7050/) 的候選版本,完整的更新項目在很快的就可以在 [Github](https://github.com/iojs/io.js/blob/v1.x/CHANGELOG.md) 上看到。 11 | 12 | ## 社群更新 13 | 14 | * [johnny-five](http://johnny-five.io/) 新網站公布。 15 | * iojs.io 網域已經貢獻給專案,該網址將會重導至 iojs.org [iojs/io.js#1534](https://github.com/iojs/io.js/issues/1534) 16 | * david-dm.org 目前[運行於](https://twitter.com/_alanshaw/status/592855646124531713) iojs。 17 | * io.js v2.0 最終測試版已經[釋出](https://iojs.org/download/nightly/v2.0.0-nightly20150501b4ad5d7050/)。 18 | * io.js [ARM 叢集](https://twitter.com/rvagg/status/593226114992087041)持續增加。 19 | * 增加新一批提交者 [iojs/io.js#1552](https://github.com/iojs/io.js/issues/1552)。 20 | * io.js 4/29 的 TC 會議已經上傳到 [YouTube](https://www.youtube.com/watch?v=-e675TT4WEA) 以及 21 | [SoundCloud](https://twitter.com/dotproto/status/594145574204510208)。 22 | * io.js/node.js [程式碼收斂計劃草案](https://github.com/jasnell/dev-policy/blob/master/convergence.md)。 23 | * 建立 io.js/node.js 原碼收斂的[專案庫](https://github.com/jasnell/node.js-convergence)。 24 | * Node.js 基金會 管理/收斂會議已上傳到 [YouTube](https://www.youtube.com/watch?v=u9h0s3YtNAU)。 25 | * 微軟釋出基於 Electron (AtomShell) 的 [Visual Studio Code](https://code.visualstudio.com/)。 26 | * [Modulus](http://blog.modulus.io/upcoming-updates-for-nodejs-applications) 即將支援 io.js。 27 | * Yosuke Furukawa 建立了 [iojs-new-features](https://github.com/yosuke-furukawa/iojs-new-features) 介紹即將出現在 io.js v2.0 的變更。 28 | 29 | ## 即將舉行的活動 30 | 31 | * [NodeConf Adventure](http://nodeconf.com/) 門票已經開賣,6/11-14 於加州沃克溪農場。 32 | * [CascadiaJS](http://2015.cascadiajs.com/) 門票開賣,時間是 7/8~7/10 於華盛頓州。 33 | * [BrazilJS Conf](http://braziljs.com.br/) 門票開始販售,時間是 8/21~8/22 於阿雷格里港。 34 | * [NodeConf EU](http://nodeconf.eu/) 門票開賣,時間是 9/6~9/9 於愛爾蘭瓦特福。 35 | 36 | 37 | 原文:[io.js Week of May 1st](https://medium.com/node-js-javascript/io-js-week-of-may-1st-362e01678d48),作者:[@iojs](https://medium.com/@iojs),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 38 | -------------------------------------------------------------------------------- /source/_posts/2015-06-24-npm-weekly-19.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #19 npm is massive + new lifecycle events" 2 | date: 2015-06-24 22:35:11 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | 你希望可以[直接收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 9 | 10 | ## npm 是龐大的 11 | 12 |  13 | 14 | [了解 npm](https://unpm.nodesource.com/) 使我們大吃一驚,[Hugh Kennedy](https://twitter.com/hughskennedy) 把 NodeSource 的 [N|Sight](https://nodesource.com/nsight) 專案放在一起做成的視覺化… 還有這是 [Dan Shaw](https://twitter.com/dshaw) 對它的解釋:[npm 是龐大的](https://medium.com/@nodesource/npm-is-massive-2bdd9417591c)。 15 | 16 | ## CLI 有什麼新功能? 17 | 18 | 我們已經有幾個禮拜沒有出週報,所以我們沒有提到新的生命週期掛鉤,preversion 與 postversion。無論何時你輸入 npm version 來跳升你的 package.json 檔案中的版本號並在 git 添加 tag,任何你定義在 package.json 的 preversion [套件腳本](https://docs.npmjs.com/misc/scripts)將會被預先執行且 postversion 將會在之後被執行。 19 | 20 | 這將會對一些事情特別方便,例如:在釋出前轉譯你的 ES6 程式碼程 ES5…並且 [Lin](https://twitter.com/linclark) 下星期將會在 [jQuerySF](http://jquerysf.com/) 談到這個。 21 | 22 | ## 為何我們贊助 jsconf 的直播轉錄 23 | 24 | [Isaac](https://twitter.com/izs) 解釋[為何 npm 看重會議的直播轉錄](http://blog.npmjs.org/post/120056493625/sponsoring-captioning-at-jsconf-2015)和為何我們在今年的 JSConf 贊助它。 25 | 26 | ## 大量湧入的人們 27 | 28 | 許多的人… 29 | 30 | 幾個星期前,[Kat Marchán](https://twitter.com/maybekatz) 加入了 CLI 團隊。Kat 不只擁有開發工具的經驗,也有許多使用前端建置系統的經驗,讓我們非常興奮的開始摩拳擦掌迎接紮實的前端支援。 31 | 32 | 然後 [Shivani Negi](https://twitter.com/imshivs) 成為我們的暑期實習生。她開始熟悉 npm 程式碼庫來看她想要專注在哪裡。 33 | 34 | 全端開發者 [Jeff Lembeck](https://twitter.com/jefflembeck) 加入了 WWW 團隊。他將會幫助我們更容易使用網站去發現正確的套件。 35 | 36 | 作為行銷副總裁,[Kasey Byrne](https://twitter.com/kaseybyrne) 正在負責產品的行銷工作,例如:[npm 私有模組](https://www.npmjs.com/private-modules)和 [npm Enterprise](https://www.npmjs.com/enterprise)。 37 | 38 | [Emily Ross-Brown](https://twitter.com/EmilyUna65) 加入作為我們第一個 C-team 的特別助理並幫助讓執行更有效率。 39 | 40 | [Stephanie Snopek](https://twitter.com/StephSnopek) 加入支援團隊來幫助你解決任何你寄去 [support@npmjs.com](support@npmjs.com) 或 [@npm_support](https://twitter.com/npm_support) 的問題。 41 | 42 | 此外,還有一個額外的人下星期將會加入。 43 | 44 | ## 設計師們,你想成為一個 npm 人嗎? 45 | 46 | 我們正在尋找一個 UX/UI 設計師來幫助我們設計一些精實且有挑戰性的功能。[會是你嗎?](https://www.npmjs.com/jobs#ux-ui-designer) 47 | 48 | ##來自 nodeconf 的 便利模組清單 49 | 50 | 上星期是 NodeConf。許多有用的東西傳了出來,但其中一個我們想要分享的是 這個[酷模組的清單](https://gist.github.com/beaugunderson/97e5e03fff14da8073dc)。我們特別喜歡[參與模組部分](https://gist.github.com/beaugunderson/97e5e03fff14da8073dc#from-participatory-modules-session),包括可以讓你的模組更好的模組。感謝 [Beau Gunderson](https://twitter.com/beaugunderson) 分享他的筆記。 51 | 52 | 原文:[npm Weekly, #19](http://blog.npmjs.org/post/121795139990/npm-weekly-19-npm-is-massive-new-lifecycle),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 53 | -------------------------------------------------------------------------------- /source/_posts/2015-06-26-npm-weekly-20.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #20 npm 3 來了!" 2 | date: 2015-06-26 15:14:32 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | 你希望可以[直接收到](https://www.npmjs.com/npm-weekly) npm 最新更新的消息嗎? 9 | 10 | ## 離 npm@3 只剩幾個小時! 11 | 12 |  13 | 14 | 熱烈期待 npm 3 將會在今天 (或明早,看你的時區) 有一個官方 npm 釋出。 15 | 16 | 有幾件事情需要注意: 17 | 18 | 1. 當你使用 `npm install -g npm` 指令,將仍會下載 npm@2 直到我們完成 npm@3 的測試。你可以用 `npm install -g npm@3.0-latest` 下載測試版。 19 | 2. npm@3 將會測試直到我們滿意他的穩定性和破壞式變更對社群的影響。 20 | 3. 其中一個破壞式變更是 `peerDependencies` 的運作方式。如果你有使用 peerDependencies 的模組,請確認你瞭解變更。我們將會迅速寫一篇有關這個的部落格文章。 21 | 22 | 如果你等不及要得知所有的變更和新功能,你可以查看 [CHANGELOG](https://github.com/npm/npm/blob/multi-stage/CHANGELOG.md) 的草稿。 23 | 24 | ## 邁向更好的前端支援 25 | 26 | npm 現在是許多前端社群的 registry 選擇,但我們在前端經驗沒有縫隙之前仍有很長一段路要走。我們已經在之前 [談到這個](http://blog.npmjs.org/post/101775448305/npm-and-front-end-packaging),而且 peerDependencies 的變更是往這個方向的一小步。 27 | 28 | CLI 團隊的領導者 [Forrest](https://twitter.com/othiym23),將會更新 CLI 路線圖 在接下來幾個主版本釋加入對前端使用案例有更好的支援的計畫。 29 | 30 | 在這段時間,人們持續思考核心之外的點子。最近其中一個吸引目光的是 [Aria Stewart](https://twitter.com/aredridel) 的 [copy-browser-modules](https://www.npmjs.com/package/copy-browser-modules)。如果你嘗試過,讓我們知道你讓他如何運作 :) 31 | 32 | ## 額外的人 33 | 34 | 我們上星期有大量湧入的人們,而且已承諾這個星期還有另一個額外的人。額外的人已經到了! [Chris Dickinson](https://twitter.com/isntitvacant) 加入了 registry 團隊。他將會花一些時間追蹤 Node 中影響 registry (還有反過來的狀況) 的問題。他也會幫我們引入 [npm 私有模組](https://www.npmjs.com/private-modules) 對組織和團隊的支援,這使我們非常興奮並持續他對 Node.js 的貢獻。 35 | 36 | ## 深入了解 npm registry 37 | 38 | 如果你有興趣了解更多 registry 相關的東西與它如何運作,你應該查看幾個禮拜前 [CJ](https://twitter.com/ceejbot) 在 NodeConf One-Shot Oslo 的 [深入了解 registry](https://www.youtube.com/watch?v=mGh3lW9oAgk)。 39 | 40 | 41 | 原文:[npm Weekly, #20](http://blog.npmjs.org/post/122450408965/npm-weekly-20-npm-3-is-here-ish),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 42 | -------------------------------------------------------------------------------- /source/_posts/2015-07-10-npm-weekly-21.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #21 : npm 3 更新 + react.js 元件工具" 2 | date: 2015-07-10 17:00:49 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | [訂閱](https://www.npmjs.com/npm-weekly) npm 週報 9 | 10 | ## npm 3 beta 測試者們 11 | 12 | 如果你是位 npm@3 beta 測試者,在此通知:下載 npm@3 最新及預備版(next versions)的標籤已經更改。現在請改用 `npm@3.x-next` 及 `npm@3.x-latest`。詳細請見 [CHANGELOG](https://github.com/npm/npm/blob/master/CHANGELOG.md)。同樣地,感謝各位給予我們的協助消滅各種臭蟲! 13 | 14 | 當 [Forrest](https://twitter.com/othiym23) 離開,[Kat](https://twitter.com/maybekatz) 加入許多東西到 npm@2,詳細請見 [CHANGELOG](https://github.com/npm/npm/blob/master/CHANGELOG.md#v2130-2015-07-02)。 15 | 16 | ## npm 3 beta 給 windows 用戶帶來好消息 17 | 18 | [Rebecca](https://twitter.com/ReBeccaOrg) [告訴 InfoQ](http://www.infoq.com/news/2015/06/npm) 有關 npm@3,特別是安裝程序的改變將會幫助 Windows 用戶。 19 | 20 | ## 私有模組的後續檢視 21 | 22 | 我們已經透過 email 警示私有模組的用戶們,萬一你沒有收到,再次通知,上週有個私有模組的安全性議題。私有模組的 Metadata 洩漏,但不包括整包內容以及私人用戶訊息。詳細請見[後續檢視](http://status.npmjs.org/incidents/6r2jr0dd9kd5)一文。 23 | 24 | ## react podcast 廣播有關 webpack 對上 browserify 25 | 26 | 如果你正在使用 React.js 元件,你可能會想聽 React Podcast 廣播 [Webpack 對上 Browserify](http://reactpodcast.com/2015/06/webpack-vs-browserify/),用來管理前端模組相依的工具。長度大約 7 分鐘。 27 | 28 | 相同主題,[Lin](https://twitter.com/linclark) 在上個月 jQuerySF 上說明了[如何在 npm 使用 Browserify(及 Babel)](https://youtu.be/Tjwm9yPzBGg?t=6913)來管理前端模組,並且將會在八月的 [React Rally](http://www.reactrally.com/) 演講有關 Webpack。 29 | 30 | ## npm 現在是我的片段資料庫 31 | 32 | [Sindre Sorhus](https://twitter.com/sindresorhus) 在他的 AMA(問我任何事)說明了他如何使用 npm 作為一種用來[捕獲(capture)他的程式碼片段](https://github.com/sindresorhus/ama/issues/10#issuecomment-117766328)的方式。 33 | 34 | 說明了當你可以 require 它的時後,為何要複製貼上,以及有個清楚意圖的益處。當你在片段中修正一個臭蟲,你只需要更新一個模組,而不是手動修正所有用到片段的地方。 35 | 36 | 原文:[npm Weekly, #21](http://blog.npmjs.org/post/123564120105/npm-weekly-21-npm-3-updates-react-js),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 37 | -------------------------------------------------------------------------------- /source/_posts/2015-07-21-npm-weekly-22.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #22 : 年度的改變遊戲規則者" 2 | date: 2015-07-21 21:24:40 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | [註冊](https://www.npmjs.com/npm-weekly) weekly 並讓它發送給你來取代。 9 | 10 | ## 年度的改變遊戲規則者 11 | 12 |  13 | 14 | 我們在 the net awards [年度的改變遊戲規則者](https://thenetawards.com/vote/game-changer/) 的名單上!感謝每個提名我們的人! 15 | 16 | ## nodeup 上有 npm 3 的背景故事 17 | 18 | 想知道我們是如何走到 npm 3?[Rebecca](https://twitter.com/ReBeccaOrg)、[Forrest](https://twitter.com/othiym23) 和 [Kat](https://twitter.com/maybekatz) 在 [NodeUp Podcast](https://soundcloud.com/nodeup/89-an-npm-3-show) 上給你完整的背景故事和最新消息。 19 | 20 | ## npm 3 beta 測試者:請升級到 3.1.2! 21 | 22 | 原來是有一個 bug 在 npm@3.1.1 (這使它難以在本地下載模組),所以昨天 Rebecca 跳脫週期[釋出一個新的版本](https://github.com/npm/npm/releases/tag/v3.1.2)。你可以藉由 `npm install -g npm@v3.x-next` 升級。 23 | 24 | ## 談到升級 (windows 使用者)… 25 | 26 | 如果你想要在 windows 上升級 npm,請查看 [npm-windows-upgrade](https://github.com/felixrieseberg/npm-windows-upgrade)。 27 | 28 | 在 Windows 上升級 npm 需要幾個手動步驟以確保 PowerShell/CMD 找得到新版 npm。這個是 Microsoft DX 工程師為了 npm 和 Node 用 :heart: 做的小工具,把過程簡化成一個簡單指令。 29 | 30 | ## 對 prepublish 感到疑惑? 31 | 32 | [Stephan Bönnemann](https://twitter.com/boennemann) [解釋了](https://medium.com/@boennemann/what-is-npm-s-prepublish-and-why-is-it-so-confusing-a948373e6be1) 圍繞 prepublish 生命週期腳本的疑惑和為什麼它的奇怪行為可能其實比它看起來的更有幫助。 33 | 34 | ## nodeschool 奧克蘭 35 | 36 | 想要學習如何寫 Node?這週末在 NodeSchool 奧克蘭來 [npm 辦公室](https://www.google.com/maps?q=200+Frank+H.+Ogawa+Plaza,+5th+Floor,+Oakland+CA+94612)與 其他學習者和導師一起廝混。空間有限,所以請一定要[註冊](https://ti.to/nodeschool-oakland/july-at-npm)。 37 | 38 | 如果你想要從家裡跟隨,你可以查看[所有的工作坊](http://nodeschool.io/)並藉由 npm 下載它們。 39 | 40 | 原文:[npm Weekly, #22](http://blog.npmjs.org/post/124107955005/npm-weekly-22-game-changer-of-the-year),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 41 | -------------------------------------------------------------------------------- /source/_posts/2015-08-23-npm-weekly-25.md: -------------------------------------------------------------------------------- 1 | title: "npm 週報 #24 : dist-tag, talking to Microsoft, semicolon trolling" 2 | date: 2015-08-23 09:38:32 3 | tags: 4 | categories: npm 週報 5 | --- 6 | 7 | 8 | [加入週報](https://www.npmjs.com/npm-weekly?utm_campaign=newsletter20150820 "訂閱週報")將會寄送這個給你! 9 | 10 | [](https://docs.npmjs.com/cli/dist-tag?utm_campaign=newsletter20150820 "dist-tag | npm 文件") 11 | 12 | ## 話說散佈標籤 13 | 14 | 你或許已經知道安裝 `npm@latest` 會取得 npm 2.13.5 或者安裝 `npm@beta` 會取得 npm 3.3.0。`latest` 及 `beta` 這些標籤是很棒的 **散佈標籤** 示範。 15 | 16 | 標籤開啟了多個開發流(streams)— 試想 "穩定" 及 "金絲雀(canary)" - 為了能夠在被使用者廣泛地採用之前進行測試,並且讓使用者測試新功能或試試看你的模組是否正常運作。(把 `latest` 視為”我們希望大多數使用者所使用的最新版本“,而非單純的”最新版“) 17 | 18 | 新增、修改或列舉散步標籤請使用 [dist-tag](https://docs.npmjs.com/cli/dist-tag?utm_campaign=newsletter20150820 "dist-tag | npm 文件"). 19 | 20 | (Also on the subject of versions: if you missed it, check out [last week’s explainer on semantic versioning](http://blog.npmjs.org/post/126588929320/npm-weekly-24-semver-explained-amazing-videos?utm_campaign=newsletter20150820 "npm weekly #24: semver explained, amazing videos, pizza").) 21 | 22 | (以及有關版號主題:如果你錯過了,請見[上週的語意版號解釋一文](http://blog.npmjs.org/post/126588929320/npm-weekly-24-semver-explained-amazing-videos?utm_campaign=newsletter20150820 "npm 週報 #24: semver 說明、驚艷影片、比薩")) 23 | 24 | ## 提升 Windows 開發體驗 25 | 26 | 使用 npm registry 的開發者中,超過 40% 的開發者使用 Windows - 這數字已保持將近一年,現在逐月的成長中 - 所以任何提升 Windows 平台的 Node 開發程序有重大影響。 27 | 28 | 好消息是我們與 [Microsoft’s Visual Studio 團隊](https://channel9.msdn.com/Blogs/Seth-Juarez/Nodejs-Tools-for-Visual-Studio "Node.js Tools for Visual Studio | Seth Juarez | Channel 9")有每月 check-in,以保持溝通暢通並且讓事情做得更棒。同樣的好消息是你也可以協助。你是否也在 Windows 平台上進行開發呢?什麼可以運作?什麼不行?或者你有個希望清單?讓我們知道:[tweet](https://twitter.com/intent/follow?screen_name=npmjs "npmbot (@npmjs) | Twitter") 或 [email](mailto:wombat-cowp@npmjs.com) 或任何其他經常聯絡的到我們的管道皆可。 29 | 30 | ## 測試 npm 組織 31 | 32 | 我們收到真實狂熱粉絲的信件,有關我們即將推出的 **組織(Orgs)** 支援,我們希望你也會喜歡。想要在正式推出前試試嗎?[按此加入 beta 測試](http://info.npmjs.com/test-orgs?utm_campaign=newsletter20150820 "幫助我們測試 npm 組織")。 33 | 34 | ## 協助 Nick 可用性測試 35 | 36 | 我們仍在持續徵求自願者參與一個 [30 分鐘可用性會期](https://calendly.com/npm/ux "Calendly - Nick Cawthon"),為了形成接下來對模組探索、registry頁面以及npm管理功能的提升。這是一個機會可以影響一個工具,這個工具過去一個月被單獨使用超過20億次,另外也請給 [neat swag](http://shop.npmjs.com?utm_campaign=newsletter20150820 "npm swag store") 評分。你可以幫忙嗎? 37 | 38 | ## 歡迎另一位新人 39 | 40 | 來自 Loggly 的 [Angela Eichner](http://twitter.com/siliconvallygrl "SiliconVallyGrl (@SiliconVallyGrl) | Twitter") 在這週加入我們,協助 npm 成為科技、財務及商業界中名號最響亮的名字。如果你也想要協助 npm 成為更大的團隊、有意的自主持有 npm registry 或談論客製解決方案,請[與我們聯絡](mailto:angela@npmjs.com)。 41 | 42 | ## 讓週報更好 43 | 44 | 你正在做什麼?誰正在做些啟發世人的事?哪些專案需要幫忙? 45 | 46 | 告訴我們你對週報有什麼建議。直接回覆這封信件告訴我們你的想法。 47 | 48 | ## 講授論點:standard 49 | 50 | [standard](https://www.npmjs.com/package/standard?utm_campaign=newsletter20150820 "standard") 是一個模組,用來強迫專案有一致的 JavaScript 風格。 51 | 52 | [semicolons](https://www.npmjs.com/package/semicolons?utm_campaign=newsletter20150820 "semicolon") 要求分號並且丟出例外,如果每一行結尾沒有分號。 53 | 54 | 我們絕對不建議一次使用上述兩個風格。 55 | 56 | #### 贊助 57 | 58 | ## 獲得 Node 工作 59 | 60 | [Hired](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent") 連接超過 2,500 個審查過的科技企業,13 個主要科技樞紐的 Node 開發者,可能也包含你的科技樞紐。Hired 的開發者平均一週內收到 5 個面試邀請。正在找工作?[試試 Hired](http://hired.com/?utm_source=npmjs&utm_medium=newsletter "Hired - Marketplace for Recruiting Startup & Tech Talent"). 61 | 62 | 原文:[npm weekly, #25](http://blog.npmjs.org/post/127157174356/npm-weekly-25-dist-tag-talking-to-microsoft),作者:[@npm](http://blog.npmjs.org/),翻譯 [@iojs-tw](https://github.com/iojs/iojs-tw),授權 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) 63 | -------------------------------------------------------------------------------- /source/about-us/index.md: -------------------------------------------------------------------------------- 1 | title: "關於我們" 2 | date: 2015-02-14 18:18:29 3 | --- 4 | 5 | 部落格程式碼及文章皆放自 [iojs-tw Github Repository](https://github.com/iojs/iojs-tw)。 6 | 7 | ## 協作方法 8 | 9 | 1. 歡迎想要協助翻譯、推廣或各類貢獻的人,以任何形式進行貢獻,若遇到任何問題,可隨時發起一則議題(issue)進行討論。 10 | 2. 如果想要直接加入翻譯團隊,請至 [入坑申請](https://github.com/iojs/iojs-tw/issues/2) 回應,並於文內做簡短自我介紹。 11 | 3. 有任何工作項目待執行(如發起某一份文件的翻譯),請直接到 [Issue](https://github.com/iojs/iojs-tw/issues/new) 發出一則議題。 12 | 4. 發現任何問題需要進行討論,直接到 [Issue](https://github.com/iojs/iojs-tw/issues/new) 發起討論,並對應到一個 label 13 | 5. 如果想要貢獻及修改 repo 裡的資料,歡迎直接發 [Pull request](https://github.com/iojs/iojs-tw/pulls) ,並在 assignee 指定一個 Reviewer。 14 | 6. 請直接於 issue 後回文,無論是要幫忙翻譯部分內容還是進行討論,若有完成工作,也請回文進行回報。 15 | 16 | ## 工作流程 17 | 18 | 工作流程採用 [GitHub Flow](https://guides.github.com/introduction/flow/index.html),且需遵守 [書籍寫作規範](./guideline/convention.md)。 19 | 20 | 1. 發現任何問題需要進行討論,直接到 [Issue](https://github.com/iojs/iojs-tw/issues/new) 發起討論,並對應到一個 label。 21 | 2. 如果發現資料有需要進行更新,歡迎直接發 [Pull Request](https://github.com/iojs/iojs-tw/pulls) ,並在指定一個 Reviewer。 22 | 3. 當項目完成討論,合併後將會進行項目的 `close`。 23 | 24 | ## 志工招募 25 | 26 | 有志者直接上 [Issue](https://github.com/iojs/iojs-tw/issues/2) 留言後進行入坑申請。目前人力需求。 27 | 28 | * 翻譯(英文翻譯中文,或者簡體中文翻譯成繁體中文 XD) 29 | * 社群媒體 [發佈人員](https://github.com/iojs/iojs-tw/issues/5) 30 | * 網站製作人員 31 | * 設計專長人員 32 | 33 | ## 社群媒體 34 | 35 | 歡迎關注下列社群帳號,以獲得 iojs-tw 的最新資訊 36 | 37 | Twitter [@iojs-tw](https://twitter.com/iojs_tw): 目前由下列社群成員協助管理 (名稱排序) 38 | - [clonn](https://github.com/clonn) 39 | - [dca](https://github.com/dca) 40 | - [jessy1092](https://github.com/jessy1092) 41 | 42 | 目前既有的 Node.js 社群帳號 43 | 44 | - Twitter [@NodejsTaiwan](https://twitter.com/NodejsTaiwan) 45 | - [Node.js Taiwan 粉絲頁](https://www.facebook.com/NodeJS.tw) 46 | - [Node.js Taiwan 社團](https://www.facebook.com/groups/node.js.tw) 47 | - [Node.js Taiwan Youtube](https://www.youtube.com/user/nodejsTaiwan) 48 | - [Node.js Taiwan google plus](https://plus.google.com/106619802476745918068) 49 | 50 | ## 貢獻者 51 | 52 | 請參照 [Contributors Link](https://github.com/iojs/iojs-tw/graphs/contributors) 53 | 54 | ## 授權 55 | 56 | * 程式碼採取 [MIT License](https://github.com/iojs/iojs-tw/blob/master/LICENSE.txt) 57 | * 翻譯採取 [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/deed.zh_TW) [@iojs-tw](https://github.com/iojs/iojs-tw) 58 | -------------------------------------------------------------------------------- /themes/casper/.gitignore: -------------------------------------------------------------------------------- 1 | # gitignore file, modified from kernel srctree 2 | # 3 | # NOTE! Please use 'git ls-files -i --exclude-standard' 4 | # command after changing this file, to see if there are 5 | # any tracked files which get ignored after the change. 6 | 7 | # 8 | # Normal rules 9 | # 10 | .* 11 | \#*# 12 | 13 | # Numerous always-ignore extensions 14 | *.bak 15 | *.tmp 16 | *.patch 17 | *.diff 18 | *.err 19 | *.orig 20 | *.log 21 | *.rej 22 | *.swo 23 | *.swp 24 | *.zip 25 | *.vi 26 | *~ 27 | *.sass-cache 28 | 29 | # git files that we don't want to ignore even it they are dot-files 30 | !.gitignore 31 | !.mailmap 32 | 33 | # stgit generated dirs 34 | patches-* 35 | 36 | 37 | # 38 | # Development tools 39 | # 40 | 41 | # SCM Folders to ignore 42 | .hg 43 | .svn 44 | .CVS 45 | .idea 46 | dist 47 | 48 | # C/C++ Generated files 49 | *.o 50 | *.o.* 51 | *.a 52 | *.s 53 | *.so 54 | *.so.* 55 | *.so.dbg 56 | *.bin 57 | 58 | # Python Generated files 59 | *.pyc 60 | *.pyo 61 | 62 | # cscope files 63 | cscope.* 64 | ncscope.* 65 | 66 | 67 | # 68 | ## OS/Editor folders and files 69 | # 70 | .DS_Store 71 | ._* 72 | Thumbs.db 73 | .cache 74 | .project 75 | .settings 76 | .tmproj 77 | *.esproj 78 | nbproject 79 | *.sublime-project 80 | *.sublime-workspace 81 | 82 | # node.js 83 | node_modules 84 | 85 | 86 | # 87 | # User define 88 | # 89 | tmp/* 90 | 91 | -------------------------------------------------------------------------------- /themes/casper/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2014 Yu-Zhi Chen 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /themes/casper/README.md: -------------------------------------------------------------------------------- 1 | # casper 2 | 3 |  4 | 5 | [Ghost Casper] hexo port, a really minimalist theme. 6 | Preview: [live demo](http://kywk.github.io/hexo-theme-casper) 7 | 8 | ## Installation 9 | 10 | ### Install 11 | 12 | ``` bash 13 | $ git clone https://github.com/kywk/hexo-theme-casper.git themes/casper 14 | ``` 15 | 16 | ### Enable 17 | 18 | Modify `theme` setting in `_config.yml` to `casper`. 19 | 20 | ### Update 21 | 22 | ``` bash 23 | cd themes/casper 24 | git pull 25 | ``` 26 | 27 | 28 | ## Configuration 29 | 30 | ``` yml 31 | # config 32 | cover: //blog.ghost.org/content/images/2013/Nov/cover.png 33 | logo: //blog.ghost.org/content/images/2013/Nov/bloglogo_1-1.png 34 | bio: 'A designer, developer and entrepreneur. Spends his time travelling the world with a bag of kites. Likes journalism and publishing platforms.' 35 | 36 | # Content 37 | excerpt_link: Read More 38 | 39 | # Miscellaneous 40 | rss: 41 | ``` 42 | - **cover** - Cover for index page. 43 | - **logo** - Your website logo. 44 | - **bio** - Descript yourself. 45 | - **rss** - RSS subscription link (change if using Feedburner) 46 | - **google_analytics** - Google Analytics id. 47 | 48 | ## Original Casper Copyright & License ## 49 | 50 | Copyright (C) 2013 Ghost Foundation - Released under the MIT License. 51 | 52 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 53 | 54 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 55 | 56 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 57 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 58 | 59 | 60 | [Ghost]: http://github.com/tryghost/ghost/ 61 | [Ghost Casper]: https://github.com/TryGhost/Casper 62 | -------------------------------------------------------------------------------- /themes/casper/_config.yml: -------------------------------------------------------------------------------- 1 | # config 2 | cover: http://1.bp.blogspot.com/-zrhW3T2dWms/UoSI5dA6kfI/AAAAAAAAgb0/CXg-d8_JZLY/s1600/1700x630w.png 3 | logo: http://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Io.js_logo.png/105px-Io.js_logo.png 4 | bio: 'iojs 台灣繁體中文翻譯小組' 5 | 6 | # Content 7 | excerpt_link: 繼續閱讀 8 | 9 | # Miscellaneous 10 | rss: atom.xml 11 | -------------------------------------------------------------------------------- /themes/casper/layout/archive.ejs: -------------------------------------------------------------------------------- 1 | <%- partial('casper/index') %> 2 | -------------------------------------------------------------------------------- /themes/casper/layout/casper/after_all.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | <% if (theme.google_analytics) { %> 7 | 18 | <% } %> 19 | <% if (config.disqus_shortname){ %> 20 | 31 | <% } %> 32 | <% if (theme.fancybox){ %> 33 | 34 | 35 | 51 | <% } %> 52 | 53 | -------------------------------------------------------------------------------- /themes/casper/layout/casper/footer.ejs: -------------------------------------------------------------------------------- 1 | 2 | 11 | -------------------------------------------------------------------------------- /themes/casper/layout/casper/head.ejs: -------------------------------------------------------------------------------- 1 | <% 2 | var title = page.title; 3 | 4 | if (is_archive()){ 5 | title = 'Archives'; 6 | 7 | if (is_month()){ 8 | title += ': ' + page.year + '/' + page.month; 9 | } else if (is_year()){ 10 | title += ': ' + page.year; 11 | } 12 | } else if (is_category()){ 13 | title = 'Category: ' + page.category; 14 | } else if (is_tag()){ 15 | title = 'Tag: ' + page.tag; 16 | } 17 | %> 18 |
19 | 20 | 21 |17 | <%= theme.excerpt_link %>... 18 |
19 | <% } %> 20 |18 | <%= theme.excerpt_link %> 19 |
20 | <% } %> 21 | <% } else { %> 22 | <%- post.content %> 23 | <% } %> 24 |
留言
3 | 4 | <% if(config.disqus_shortname) { %> 5 | 6 | 7 | <% } %> 8 |