<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jim Chien on Medium]]></title>
        <description><![CDATA[Stories by Jim Chien on Medium]]></description>
        <link>https://medium.com/@gcobcqwe1?source=rss-93cd1f835dbe------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zqk3F4ArZ1cjOABP-7eXFw.png</url>
            <title>Stories by Jim Chien on Medium</title>
            <link>https://medium.com/@gcobcqwe1?source=rss-93cd1f835dbe------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 14:17:27 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gcobcqwe1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Eat that frog]]></title>
            <link>https://medium.com/@gcobcqwe1/eat-that-frog-e327ee599ecf?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/e327ee599ecf</guid>
            <category><![CDATA[time-management]]></category>
            <category><![CDATA[eat-that-frog]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Mon, 22 Jun 2020 05:30:19 GMT</pubDate>
            <atom:updated>2020-06-22T05:30:19.590Z</atom:updated>
            <content:encoded><![CDATA[<h3>Chapter 0 吃掉那隻青蛙</h3><ol><li>選擇</li><li>行動導向</li><li>3D (Decision, Discipline, Determination)</li><li>模仿成功人士</li></ol><h3>Chapter 1 訂定明確目標</h3><ol><li>確定你要的是什麼</li><li>寫下來</li><li>設定期限</li><li>列下任務</li><li>設定計畫 (優先順序, 畫關聯性)</li><li>立即行動</li><li>堅持每天做一點</li><li>勿把不重要的事做得很完整</li><li>精確地找出你想要什麼，你必須對一切請處明瞭，開始工作前，請先寫下你的目標與目的</li></ol><h3>Chapter 2 事先計畫每一天</h3><ol><li>6P (Proper Prior Planning Prevents Poor Performance)</li><li>針對不同目的，製作不同表格</li><li>列出計畫步驟</li><li>10 / 90 =&gt; 10%時間規劃，省下90% 工作所需時間</li><li>在紙上思考，花1分鐘計畫，就能為你省下5~10分鐘執行時間</li></ol><h3>Chapter 3 80/20法則</h3><ol><li>先做20%最重要的事</li><li>先做困難的事</li><li>20%的活動便能決定80%的結果，永遠要將你的心力專注在重要性在前20%的工作上</li></ol><h3>Chapter 4 考慮後果</h3><ol><li>5 / 10 / 20年</li><li>做或不做，影響?</li><li>能為我帶來最高價值的活動是?</li><li>假如做得好的話，什麼只有我能做且真正能創造不同的事?</li><li>如何利用時間，才能創造最大價值?</li><li>最重要的工作及優先事項指的是，那些會為你的人生或工作帶來最正面或最嚴重後果的事情，要將你的精神投注在那些事項上</li></ol><h3>Chapter 5 創造性拖延</h3><ol><li>拖延低價值任務，先做高價值</li><li>把耗時活動擺在最後(少看電視-&gt;多陪家人 or 看書)</li><li>Zero-based thinking</li><li>既然你無法完成所有工作，務必須學會刻意拖延不重要的工作，如此你才會有足夠的時間完成真正重要的工作</li></ol><h3>Chapter 6 不斷實踐ABCDE法</h3><ol><li>專心</li><li>A: 非常重要，一定要做 / B: 應該做，必須做 / C: 做或不做都沒有甚麼差別 / D: 可以委外的工作 / E: 可以完全忽略不做</li><li>培養事情輕重緩急與優先權</li><li>開始執行工作計畫表上的工作之前， 先花點時間按其價值與優先性加以規劃，以確保自己是從最重要的活動開始著手</li></ol><h3>Chapter 7 聚焦於關鍵成果領域</h3><ol><li>每個工作 5~7 key result area (KRA)</li><li>列出每個key result (1~10分)</li><li>補齊弱項</li><li>與上司討論</li><li>找出哪些是你為求良好表現絕對必須達到的成果，然後把整天心力都放在這些事情上</li></ol><p>EX:<br><strong>Software Engineer</strong></p><ol><li>按專案進度完成所有功能開發</li><li>維護legacy</li><li>確保程式品質跟穩定</li><li>提升軟體開發速度</li><li>創新研發</li><li>知識學習與分享</li></ol><h3>Chapter 8 3的法則</h3><ol><li>3大核心工作</li><li>一天只做一件事(先後順序)</li><li>行動</li><li>快速清單法</li><li>找出工作終將帶來90%貢獻的3項工作，把焦點放在這些事物上。如此一來，你將有更多的時間留給你的家庭和個人生活</li></ol><h3>Chapter 9 充分準備再行動</h3><ol><li>環境準備</li><li>80%把握就動手</li><li>踏出第一步</li><li>開始工作前要讓一切就緒，將你可能需要的所有文獻、資料、工具、素材與數據都蒐集，以便讓工作順利進行</li></ol><h3>Chapter 10 一次只做一點</h3><ol><li>一口一口吃</li><li>一次執行一步驟</li><li>只要一次完成1個步驟，你便能完成最大、最複雜的工作</li></ol><h3>Chapter 11 提升關鍵技能</h3><ol><li>永遠不要停止學習</li><li>每天閱讀工作領域資料 30~60分鐘</li><li>參加研討會、課程、盡量坐前排</li><li>再通勤時間聽知識型廣播</li><li>針對你的關鍵工作，你所具備的知識與技能越多，就能越迅速地開始進行，且愈快完成工作、清楚判斷出自己最擅長或可能擅長的是，然後全心投入，把這些事情做的盡善盡美</li></ol><h3>Chapter 12 認清你的關鍵限制</h3><ol><li>找出限制因素</li><li>80/20</li><li>找出會影響你迅速達成最重要目標的瓶頸或阻礙點，無論內在或外在的，然後集中精神加以消除</li></ol><h3>Chapter 13 鞭策自己</h3><ol><li>訂期限，設壓力</li><li>強迫系統</li><li>想像自己即將出門1個月，然後以出門前必須做完所有重要工作的態度來工作</li></ol><h3>Chapter 14 激勵自己採取行動</h3><ol><li>保持樂觀，不要跟別人抱怨</li><li>正面思考</li><li>想什麼，什麼就會成真</li><li>要做自己的啦啦隊長，找出每個情況的有益之處。將其精力投注在找出解決辦法上，而非問題上，要永遠保持樂觀與建設性的態度</li></ol><h3>Chapter 15 科技事糟糕的主人</h3><ol><li>每天關掉手機科技1小時</li><li>數位戒毒</li><li>從科技成癮中拿回你的時間，試著有時關掉他們</li></ol><h3>Chapter 16 科技是最棒的僕人</h3><ol><li>分層級</li><li>找一款能保持專注提升效率的APP</li><li>讓科技工作協助你處理最重要的事，遠離不重要的事</li></ol><h3>Chapter 17 專注</h3><ol><li>11AM and 3 PM 檢查信件</li><li>工作90 mins 休息15 mins</li><li>關掉一切會讓自己分心的事物</li><li>當有事情讓你分心，或干擾你去做那些最重要的工作時，就要想辦法停止那些雜事</li></ol><h3>Chapter 18 切割工作</h3><ol><li>把大項目切割成多個小項目</li><li>行動</li><li>拆解那些龐雜的工作，然後從細項工作開始做起</li></ol><h3>Chapter 19 騰出塊狀時間</h3><ol><li>在行事曆上所訂時間</li><li>30 mins / 60 mins / 90 mins</li><li>將每日分割成一大段一大段的時間，在這些時段，你必須專注地進行重要工作</li></ol><h3>Chapter 20 製造緊迫感</h3><ol><li>別等待，永遠沒有適當時機</li><li>進入心流(沉靜)</li><li>建立動力意識(越來越得心應手)</li><li>馬上行動</li><li>養成迅速執行重要工作的習慣，建立起做事迅速確實的名聲</li></ol><h3>Chapter 21 專注執行每項工作</h3><ol><li>持續</li><li>別等待</li><li>自律</li><li>訂出清楚的優先順序，立即從最重要的工作著手，然後努力不懈地工作，直到100%完成為止，這便是達成高度表現與最大個人生產力的真正關鍵</li></ol><p>做就對了! 現在就吃掉那隻青蛙!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e327ee599ecf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pass The AWS Associate Exam]]></title>
            <link>https://medium.com/@gcobcqwe1/pass-the-aws-associate-exam-93e9907b3ac8?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/93e9907b3ac8</guid>
            <category><![CDATA[certification]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Mon, 01 Jun 2020 10:39:33 GMT</pubDate>
            <atom:updated>2020-06-01T22:41:52.585Z</atom:updated>
            <content:encoded><![CDATA[<h3>Reminders:</h3><ul><li>Practice AWS often</li><li>Participate in AWS events, such as re-invent, summit, awsome day</li><li>For me, I choose my native language because I can translate it in English when I have an exam.</li><li>You can mark uncertain questions</li><li>Always bring you credit card and ID card</li><li>The questions are answerable by multiple-choice or single answer only</li><li>Register online training camp hold by AWS</li><li>Preparation time: 1~2 months</li></ul><h3>Direction:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ycsT3rYFKo65Igynprcllw.png" /></figure><p>Udemy:</p><p>acloudguru. (Around 13USD):</p><p><a href="https://www.udemy.com/course/aws-certified-developer-associate">AWS Certified Developer: AWS Developers Certification Training</a></p><p>You can just watch the exam tips or summary if you already understand it.</p><p>Learning Path:</p><p>Follow the path with Udemy</p><p><a href="https://jayendrapatil.com/aws-certified-developer-associate-june-2018-exam-learning-path/">AWS Certified Developer - Associate DVA-C01 Exam Learning Path</a></p><p>Quizlet:</p><p>You can read it in the commute, it’s really useful for me. Moreover, some of the question concepts reach the real exam.</p><p><a href="https://quizlet.com/396992903/aws-certified-developer-quiz-flash-cards">AWS Certified Developer — Quiz</a></p><h3>Good Articles:</h3><p>Faqs: <a href="https://aws.amazon.com/tw/faqs/">https://aws.amazon.com/tw/faqs</a></p><p>AWS Community Hero: https://shazi.info/aws-certified-developer-associatesda-c01-%e8%80%83%e8%a9%a6%e6%ba%96%e5%82%99/</p><p>AWS learning experience: <a href="https://godleon.github.io/blog/AWS/AWS-Learning-Notes-IAM/">https://godleon.github.io/blog/AWS/AWS-Learning-Notes-IAM/</a></p><p>How To Pass The AWS Certified Developer Associate Exam: <a href="https://medium.com/faun/passing-the-aws-certified-developer-associate-exam-c83c894cb780">https://medium.com/faun/passing-the-aws-certified-developer-associate-exam-c83c894cb780</a></p><p>The AWS Certified Developer Associate (DVA-C01) Exam Guide: <a href="https://digitalcloud.training/2020/03/03/aws-developer-associate-exam/">https://digitalcloud.training/2020/03/03/aws-developer-associate-exam/</a></p><p>Whitepaper(Optional)</p><h3>Place:</h3><p>Pearson VUE:</p><p>Address: Systex_Taipei 14F, №99 Fuxing N. Road Taipei, N/A 10595 Taiwan</p><h4>[中文]</h4><h3>事前準備:</h3><ul><li>平時多使用AWS以及參加活動，像re-invent, summit, awsome day…</li><li>選擇簡體中文版本(考試過程中可以切換英文)</li><li>不確定的話可以先標記</li><li>考試當天帶信用卡 身分證</li><li>題目會說單選或者複選</li><li>參加免費的線上認證訓練營(可以了解方向)</li><li>大約花費1~2個月準備</li></ul><h3>考試方向:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ycsT3rYFKo65Igynprcllw.png" /><figcaption>了解會考試方向(基本上Udemy影片都有上)</figcaption></figure><p>Udemy:</p><p>我是選擇acloudguru(特價時390元台幣):</p><p><a href="https://www.udemy.com/course/aws-certified-developer-associate">AWS Certified Developer: AWS Developers Certification Training</a></p><p>他的模擬題蠻多觀念(DDB throughput, KMS, Lambda limit…)有命中，全部看完，然後有把握的章節只看最後exam tips and summary(可以節省很多時間)</p><p>Learning Path:</p><p>照著他整理的方向去準備搭配Udemy</p><p><a href="https://jayendrapatil.com/aws-certified-developer-associate-june-2018-exam-learning-path/">AWS Certified Developer - Associate DVA-C01 Exam Learning Path</a></p><p>Quizlet:</p><p>通勤時間看的，蠻多觀念模擬題有命中的，可以隨時觀看</p><p><a href="https://quizlet.com/396992903/aws-certified-developer-quiz-flash-cards/">AWS Certified Developer — Quiz</a></p><h3>好文分享:</h3><p>Faqs: <a href="https://aws.amazon.com/tw/faqs/">https://aws.amazon.com/tw/faqs</a></p><p>AWS Community Hero: <a href="https://shazi.info/aws-certified-developer-associatesda-c01-%e8%80%83%e8%a9%a6%e6%ba%96%e5%82%99/">https://shazi.info/aws-certified-developer-associatesda-c01-%e8%80%83%e8%a9%a6%e6%ba%96%e5%82%99/</a></p><p>AWS 學習筆記: <a href="https://godleon.github.io/blog/AWS/AWS-Learning-Notes-IAM/">https://godleon.github.io/blog/AWS/AWS-Learning-Notes-IAM/</a></p><p>How To Pass The AWS Certified Developer Associate Exam: <a href="https://medium.com/faun/passing-the-aws-certified-developer-associate-exam-c83c894cb780">https://medium.com/faun/passing-the-aws-certified-developer-associate-exam-c83c894cb780</a></p><p>The AWS Certified Developer Associate (DVA-C01) Exam Guide: <a href="https://digitalcloud.training/2020/03/03/aws-developer-associate-exam/">https://digitalcloud.training/2020/03/03/aws-developer-associate-exam/</a></p><p>Whitepaper(選擇性看)</p><h3>考場:</h3><p>恆逸(Pearson VUE):</p><p>地址: Systex_Taipei 14F, №99 Fuxing N. Road Taipei, N/A 10595 Taiwan</p><p>單人的包廂，冷氣有點冷，環境乾淨，會給你一張護貝的板子以及蠟筆，方便你筆記 。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93e9907b3ac8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ES6 Overview]]></title>
            <link>https://medium.com/@gcobcqwe1/es6-overview-fe47a6de72e0?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe47a6de72e0</guid>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Mon, 16 Dec 2019 07:01:06 GMT</pubDate>
            <atom:updated>2019-12-16T07:01:24.640Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Tooling:<br></strong>Use babel to transpile ES6 into ES5 for static builds<br>Use babelify to incorporate babel into your Gulp, Grunt, or npm run build process<br>Use Node.js v4.x.x or greater as they have decent ES6 support baked in, thanks to v8</p><p><strong>Promises:<br></strong>Promise.resolve(value) =&gt; creates a promise that’s fulfilled with the provided value<br>Promise.reject(reason) =&gt; creates a promise that’s rejected with the provided reason<br>Promise.all(…promises) =&gt; creates a promise that settles when all …promises are fulfilled or 1 of them is rejected<br>Promise.race(…promises) =&gt; creates a promise that settles as soon as 1 of …promises is settled</p><p><strong>Arrow Functions:<br></strong>function A = () =&gt; {<br> console.log(‘test’)<br>}<br>[1, 2].map(x =&gt; x * 2)</p><p><strong>Classes:<br></strong>Before:<br>function Car () {<br> this.fuel = 0;<br> this.distance = 0;<br>}<br>Car.prototype.move = function () {<br> this.distance ++<br>} <br>After:<br>class Car {<br> constructor () {<br> this.fuel = 0<br> this.distance = 0<br> }<br> move () {<br> this.distance += 1<br> }<br>}</p><p><strong>Modules:<br></strong>exports、module.exports、export、export default:<br>require: Node / ES6 <br>export / import : Only ES6 <br>module.exports / exports: Only Node<br>Node:<br>1. node =&gt; common.js<br>2. exports =&gt; module.exports =&gt; {};<br>3. exports、module.exports call by reference =&gt; same reference<br>4. require method=&gt; fetch module from module.exports rether than exports, so we can redirect exports value<br>ES6:<br>export、export default<br>1. export / export default<br>export default value<br>import value from ‘baz’<br>export value<br>import {value} from ‘baz’<br>import * as foo from ‘foo’<br><a href="https://segmentfault.com/a/1190000010426778">https://segmentfault.com/a/1190000010426778</a></p><p><strong>Assignment Destructuring:<br></strong>var foo = { bar: ‘pony’, baz: 3 }<br>var {bar, baz} = foo<br>console.log(bar)<br>// &lt;- ‘pony’<br>console.log(baz)<br>// &lt;- 3<br>case: export function</p><p><strong>Spread Operator and Rest Parameters:<br></strong>rest operator:<br>Convert (1,3,5,7,9) to [1,3,5,7,9]<br>let avg = function(…arr){<br> console.log(arr) // [1,3,5,7,9]<br> let sum = 0;<br> for(let i = 0; i &lt; arr.length; i++){<br> sum += arr[i];<br> }<br> return sum / arr.length;<br>}<br>console.log(avg(1,3,5,7,9)); // 5</p><p><strong>spread operator:<br></strong>Convert [1,2,3,4,5] to 1,2,3,4,5<br>let number = [1,2,3,4,5];<br>console.log(Math.max(…number)); // 5<br>console.log(…number); // 1,2,3,4,5</p><p><strong>Arrow Functions:<br></strong>function A = () =&gt; {<br> console.log(‘test’)<br>}<br>[1, 2].map(x =&gt; x * 2)</p><p>Template Literals:<br>var host = ‘ponyfoo.com’<br>var text = `this blog lives at ${host}`<br>console.log(text)</p><p><strong>Object Literals:<br></strong>module.exports = {<br> getItem: getItem,<br> setItem: setItem,<br> clear: clear<br>} =&gt; module.exports = { getItem, setItem, clear }</p><p><strong>*Let and Const(block-scope):<br></strong>const: can’t change and need to initiate<br>let(block-scope): for loop, ({} or ())<br>var</p><p><strong>Symbols:<br></strong>Symbols are immutable and unique<br>Symbol(), Symbol(), Symbol(‘foo’) and Symbol(‘foo’) are all different<br>var race = {<br> protoss: Symbol(),<br> terran: Symbol(),<br> zerg: Symbol()<br>}</p><p>race.protoss !== race.terran // true<br>race.protoss !== race.zerg // true</p><p><strong>Iterators:<br></strong>var someString = ‘hi’;<br>var iterator = someString[Symbol.iterator]();<br>iterator.next(); // { value: “h”, done: false }<br>iterator.next(); // { value: “i”, done: false }<br>iterator.next(); // { value: undefined, done: true }</p><p><strong>Generators(yield):<br></strong>function* foo(index) {<br> while (index &lt; 2) {<br> yield index++;<br> }<br>}<br>const iterator = foo(0);<br>console.log(iterator.next().value);<br>// expected output: 0<br>console.log(iterator.next().value);<br>// expected output: 1</p><p><strong>Maps:<br></strong>hash-map <br>Map adheres to iterable protocol<br>Iterate over map with for (let [key, value] of map), the spread operator, Array.from, etc<br>let map = new Map()</p><p><strong>WeakMaps:<br></strong>Similar to Map, but not quite the same<br>Can’t use for…in, size, clear</p><p><strong>Set:<br></strong>Set doesn’t have keys, there’s only values<br>let set = new Set()</p><p><strong>WeakSets:<br></strong>Can’t use for…in, size</p><p><strong>Proxies:<br></strong>Proxies are created with new Proxy(target, handler), where target is any object and handler is configuration<br>The default behavior of a proxy acts as a passthrough to the underlying target object<br>Handlers determine how the underlying target object is accessed on top of regular object property access semantics<br>You pass off references to proxy and retain strict control over how target can be interacted with<br>Handlers are also known as traps, these terms are used interchangeably</p><p><strong>Reflection:<br></strong>Reflection is a new static built-in (think of Math) in ES6<br>Reflection methods have sensible internals, e.g Reflect.defineProperty returns a boolean instead of throwing<br>There’s a Reflection method for each proxy trap handler, and they represent the default behavior of each trap<br>Going forward, new reflection methods in the same vein as Object.keys will be placed in the Reflection namespace</p><p><strong>Math(feature):<br></strong>Math.sign — sign function of a number<br>Math.trunc — integer part of a number<br>Math.cbrt — cubic root of value, or ∛‾value<br>Math.expm1 — e to the value minus 1, or evalue — 1<br>Math.log1p — natural logarithm of value + 1, or ln(value + 1)<br>Math.log10 — base 10 logarithm of value, or log10(value)<br>Math.log2 — base 2 logarithm of value, or log2(value)<br>Math.sinh — hyperbolic sine of a number<br>Math.cosh — hyperbolic cosine of a number<br>Math.tanh — hyperbolic tangent of a number<br>Math.asinh — hyperbolic arc-sine of a number<br>Math.acosh — hyperbolic arc-cosine of a number<br>Math.atanh — hyperbolic arc-tangent of a number<br>Math.hypot — square root of the sum of squares<br>Math.clz32 — leading zero bits in the 32-bit representation of a number<br>Math.imul — C-like 32-bit multiplication<br>Math.fround — nearest single-precision float representation of a number</p><p><strong>Number(feature):<br></strong>Number.isNaN and Number.isFinite =&gt; are like their global namesakes, except that they don’t coerce input to Number<br>Number.parseInt and Number.parseFloat =&gt; are exactly the same as their global namesakes<br>Number.isInteger =&gt; checks if input is a Number value that doesn’t have a decimal part<br>Number.EPSILON =&gt; helps figure out negligible differences between two numbers — e.g. 0.1 + 0.2 and 0.3<br>Number.MAX_SAFE_INTEGER =&gt; is the largest integer that can be safely and precisely represented in JavaScript<br>Number.MIN_SAFE_INTEGER =&gt; is the smallest integer that can be safely and precisely represented in JavaScript<br>Number.isSafeInteger =&gt; checks whether an integer is within those bounds, able to be represented safely and precisely</p><p><strong>Array(feature):<br></strong>Array.from =&gt; create Array instances from arraylike objects like arguments or iterables<br>Array.of =&gt; similar to new Array(…items), but without special cases<br>Array.prototype.copyWithin =&gt; copies a sequence of array elements into somewhere else in the array<br>Array.prototype.fill =&gt; fills all elements of an existing array with the provided value<br>Array.prototype.find =&gt; returns the first item to satisfy a callback<br>Array.prototype.findIndex =&gt; returns the index of the first item to satisfy a callback<br>Array.prototype.keys =&gt; returns an iterator that yields a sequence holding the keys for the array<br>Array.prototype.values =&gt; returns an iterator that yields a sequence holding the values for the array<br>Array.prototype.entries =&gt; returns an iterator that yields a sequence holding key value pairs for the array<br>Array.prototype[Symbol.iterator] =&gt; exactly the same as the Array.prototype.values method</p><p><strong>Object(feature):<br></strong>Object.assign =&gt; recursive shallow overwrite for properties from target, …objects<br>Object.is =&gt; like using the === operator programmatically, except it’s true for NaN vs NaN and false for +0 vs -0<br>Object.getOwnPropertySymbols =&gt; returns all own property symbols found on an object<br>Object.setPrototypeOf =&gt; changes prototype. Equivalent to Object.prototype.__proto__ setter</p><p><strong>Strings and Unicode(feature):<br></strong>String Manipulation:<br>String.prototype.startsWith =&gt; whether the string starts with value<br>String.prototype.endsWith =&gt; whether the string ends in value<br>String.prototype.includes =&gt; whether the string contains value anywhere<br>String.prototype.repeat =&gt; returns the string repeated amount times<br>String.prototype[Symbol.iterator] =&gt; lets you iterate over a sequence of unicode code points (not characters)<br>Unicode:<br>String.prototype.codePointAt =&gt; base-10 numeric representation of a code point at a given position in string<br>String.fromCodePoint =&gt; given …codepoints, returns a string made of their unicode representations<br>String.prototype.normalize =&gt; returns a normalized version of the string’s unicode representation</p><p><strong>Reference:<br></strong><a href="https://ponyfoo.com/articles/es6">https://ponyfoo.com/articles/es6</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe47a6de72e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Design pattern — Adapter]]></title>
            <link>https://medium.com/@gcobcqwe1/design-pattern-adapter-80934881d197?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/80934881d197</guid>
            <category><![CDATA[design-patterns]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Thu, 05 Dec 2019 04:08:00 GMT</pubDate>
            <atom:updated>2019-12-05T04:08:00.971Z</atom:updated>
            <content:encoded><![CDATA[<h3>Design pattern — Adapter</h3><p>Adapter:<br>Original: B -&gt; B view<br>New: A -&gt; Adapter(B converter) -&gt; B -&gt; B view</p><p>Applicability:<br>1. Use the Adapter class when you want to use some existing class, but its interface isn’t compatible with the rest of your code.<br>For Example:<br>2. Use the pattern when you want to reuse several existing subclasses that lack some common functionality that can’t be added to the superclass.</p><p>Pros:<br>1. Single Responsibility Principle. <br>You can separate the interface or data conversion code from the primary business logic of the program.<br>2. Open/Closed Principle. <br>You can introduce new types of adapters into the program without breaking the existing client code, as long as they work with the adapters through the client interface.</p><p>Cons:<br>1. The overall complexity of the code increases because you need to introduce a set of new interfaces and classes. Sometimes it’s simpler just to change the service class so that it matches the rest of your code.</p><p>Case: Parser, version compatible</p><p>Reference:<br><a href="http://twmht.github.io/blog/posts/design-pattern/adapter.html">http://twmht.github.io/blog/posts/design-pattern/adapter.html</a><br><a href="https://refactoring.guru/design-patterns/adapter">https://refactoring.guru/design-patterns/adapter</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80934881d197" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tagtoo如何利用AI減少廣告的浪費]]></title>
            <link>https://medium.com/@gcobcqwe1/tagtoo%E5%A6%82%E4%BD%95%E5%88%A9%E7%94%A8ai%E6%B8%9B%E5%B0%91%E5%BB%A3%E5%91%8A%E7%9A%84%E6%B5%AA%E8%B2%BB-86e5f302b693?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/86e5f302b693</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[meetup]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Tue, 22 Oct 2019 12:41:40 GMT</pubDate>
            <atom:updated>2019-10-22T12:41:40.138Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>AI廣告：</strong></h4><p>1.算完有幫助，但受眾小<br>2.算完但比不上其他條件（雙十一， 消費卷 =&gt; 消費者直接購買）</p><h4><strong>一開始導入AI可能遇到的事情：</strong></h4><p>1.人手不足<br>2.會分析但缺乏domain knowledge<br>3.資料並未整合方便使用 =&gt; 資料要正規化格式化<br>4.同事對於產品理解度不足<br>5.如何增加迭代效率=&gt;實驗新模型<br>6.對於成果驗證不了解 =&gt;實際情形跟預期（封閉測試）不同<br>7.能否持續AI導入</p><h4><strong>案例：</strong></h4><p>曝光增加轉換率or點擊率</p><p>＊怎樣增加找到對的人 =&gt; 怎樣降低錯誤的人</p><h4><strong>現今：</strong></h4><p>10000 =&gt; 轉換10個商品</p><p>導入AI =&gt;<br>找不會絕對購買的使用者</p><h4><strong>資料分析：</strong></h4><p>找出客戶有看，也去其他家看 購買率</p><p>10/22<br>10/1 10/2 10/3 建模 測試資料<br>10/4 驗證 &gt; 99.5</p><p>新用戶10/22進來<br>抓10/19 10/20 10/21資料來驗證</p><p>10/22後 看有沒有誤殺（原本沒買但有買）<br>誤殺率要是量化</p><p>很強自動化部屬 =&gt; 每天都要換模型</p><p>找到對的人 =&gt; 永遠做不好<br>反著做降低錯誤</p><p>人工智慧=&gt;客戶行為模式的了解=&gt;抽絲剝繭<br>AI簡單，但要有那個mindset，知道資料如何運用</p><h4>資料是否能做AI，分不同層級：</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IkFDRPJ2_x3ZqJIFQSgiVg.jpeg" /></figure><h4>Q&amp;A:</h4><p>從無到有，大約花多少時間？<br>2, 3個人，從無到有，第一個模型花3個月 =&gt; 3 4個月建基礎re-schema =&gt; 實驗1個月 =&gt;下個月上線 =&gt; 又花兩個月驗證</p><p>結果回推的結果有什麼想法？<br>不知道為什麼這樣的解果 =&gt; 不過點擊率確實有上升</p><p>如何取得資料？<br>做廣告所以廠商給資料，是一個門檻，掌握在少數公司身上</p><p>如何解決一開始導入AI可能遇到的事情1和2？<br>需要很了解客戶 <br>新創 =&gt; CEO下來做，因為瞭解客戶與產業<br>AI是助攻，不是主菜</p><p>CNN是自己做的？<br>產業 =&gt; 看論文 =&gt; 實作 =&gt; 模型<br>讀新的paper 了解有沒有符合產業的新模型可以使用</p><p>Safari動態給cookies 要如何取得用戶資料？<br>還是有辦法取得用戶資料</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86e5f302b693" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Js call by sharing]]></title>
            <link>https://medium.com/@gcobcqwe1/js-call-by-sharing-70e722ee743a?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/70e722ee743a</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[call-by-sharing]]></category>
            <category><![CDATA[call-by-reference]]></category>
            <category><![CDATA[call-by-value]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Wed, 09 Oct 2019 11:43:22 GMT</pubDate>
            <atom:updated>2019-10-09T11:43:22.383Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://hackernoon.com/tagged/javascript">JavaScript</a> is an Object-Oriented language: this means that most things in JavaScript are <strong>Objects</strong>. The only elements that are not objects are the <strong>Primitive Data Types: </strong><em>string</em>, <em>number</em>, <em>boolean</em>, <em>null</em> and <em>undefined.</em> These Primitive Data Types also are<em> </em><strong>immutable</strong>, which means that once created they cannot be modified.</p><p>Objects are passed <em>By Reference</em>. Objects ( function, array, map, etc)</p><p>Call by value: (Something wrong!)</p><pre>if (!this.symbolToConditionToPricesTree[data.symbol]) {<br>   this.symbolToConditionToPricesTree[data.symbol] = {}<br>}<br>let tree = this.symbolToConditionToPricesTree[data.symbol][data.condition]<br>if (!tree) {<br>   tree = new AVLTree()<br>}<br>tree.insert(data.amount, data.uid)</pre><pre>Error: <br>this.symbolToConditionToPricesTree[data.symbol][data.condition] always keep undefined.</pre><p>Call by reference:</p><pre>if (!this.symbolToConditionToPricesTree[data.symbol]) {<br>   this.symbolToConditionToPricesTree[data.symbol] = {}<br>}<br>let tree = this.symbolToConditionToPricesTree[data.symbol][data.condition]<br>if (!tree) {<br>   tree = new AVLTree()<br>   this.symbolToConditionToPricesTree[data.symbol][data.condition] <br>   = tree<br>}<br>tree.insert(data.amount, data.uid)</pre><p>Be careful, when you need to change the variable.</p><p>Reference:</p><p><a href="https://hackernoon.com/grasp-by-value-and-by-reference-in-javascript-7ed75efa1293">Grasp &quot;By Value&quot; and &quot;By Reference&quot; in JavaScript | Hacker Noon</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70e722ee743a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[THE GOOD, THE BAD, & THE UGLY OF SERVERLESS COMPUTING]]></title>
            <link>https://medium.com/@gcobcqwe1/the-good-the-bad-the-ugly-of-serverless-computing-d0ebed47475c?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/d0ebed47475c</guid>
            <category><![CDATA[serverless]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Sat, 07 Sep 2019 20:18:20 GMT</pubDate>
            <atom:updated>2019-09-07T20:18:20.785Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.cloudbolt.io/blog/the-good-the-bad-the-ugly-of-serverless-computing/">The Good, The Bad, &amp; The Ugly of Serverless Computing</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d0ebed47475c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Announcing improved VPC networking for AWS Lambda functions]]></title>
            <link>https://medium.com/@gcobcqwe1/announcing-improved-vpc-networking-for-aws-lambda-functions-f4f713096bca?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4f713096bca</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[lambda]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Sat, 07 Sep 2019 20:00:30 GMT</pubDate>
            <atom:updated>2019-09-07T20:00:30.390Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://aws.amazon.com/tw/blogs/compute/announcing-improved-vpc-networking-for-aws-lambda-functions/">Announcing improved VPC networking for AWS Lambda functions | Amazon Web Services</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4f713096bca" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Compare node.js websocket library]]></title>
            <link>https://medium.com/@gcobcqwe1/compare-node-js-websocket-library-acf172197aa0?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/acf172197aa0</guid>
            <category><![CDATA[socketio]]></category>
            <category><![CDATA[uwebsocket]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[websocket]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Fri, 16 Aug 2019 09:05:30 GMT</pubDate>
            <atom:updated>2019-08-16T09:19:15.423Z</atom:updated>
            <content:encoded><![CDATA[<h3>Websocket:</h3><p>1. It is the protocol which is established over the TCP connection<br>2. It provides full-duplex communication on TCP connections.<br>3. Proxy and load balancer is not supported in WebSocket.<br>4. It doesn’t support broadcasting.<br>5. It doesn’t have a fallback option.</p><h3>Websocket server:</h3><h4>uwebsocket: (2.1k)</h4><p>1. 500 MB memory usage per million<br>2. 10x vanilla performance <br>3. most lightweight, efficient &amp; scalable WebSocket server <br>4. no client-side library, but we can use other client-side libraries.</p><p>Why you should never use Socket.IO<br>µWS is one of the most lightweight, efficient &amp; scalable WebSocket server implementations available. It features an easy-to-use, fully async object-oriented interface and scales to millions of connections using only a fraction of memory compared to the competition. While performance and scalability are two of our top priorities, we consider security, stability and standards compliance paramount.</p><p>Latest release:<br>npm install uNetworking/uWebSockets.js#v15.11.0<br>License:<br>Apache 2.0 <br>Github:<br><a href="https://github.com/uNetworking/uWebSockets.js">https://github.com/uNetworking/uWebSockets.js</a></p><h4>socket.io: (43k)</h4><p>1. It helps in broadcasting to multiple sockets at a time and handles the connection transparently.<br>2. It works on all platform, server or device ensuring the equality, reliability, and speed.<br>3. It automatically upgrades the requirement to WebSocket if needed.<br>4. It is a custom real-time transport protocol implementation on top of other protocols.<br>5. It requires both libraries to be used Client side as well as a server-side library.<br>6. IO works on work-based events. there are some reserved events which can be accessed using the Socket on server side like Connect, message, Disconnect, Ping and Reconnect.<br>7. There are some Client based reserved events like Connect, connect- error, connect-timeout and Reconnect etc.<br>8. engine.io hasn’t migrated uws <a href="https://github.com/socketio/engine.io/pull/583">https://github.com/socketio/engine.io/pull/583</a></p><p>Why do we need Socket.IO:<br>1. It handle all the degradation of your technical alternatives to get full duplex communication in real time.<br>2. It also handles the various support level and the inconsistencies from the browser.<br>3. It also gives the additional feature room support for basic publish infrastructure and thinks like automatic reconnect.</p><p>Latest release:<br>npm install socket.io<br>License:<br>MIT<br>Github:<br><a href="https://github.com/socketio/socket.io">https://github.com/socketio/socket.io</a></p><h4>socketcluster: (5k)</h4><p>1. Resilient on both the client and backend — Process crashes, lost connections and other failures are handled seamlessly.<br>2. SocketCluster is a pure WebSocket (no polling hack) solution<br>3. Open source alternative to pub/sub ‘as-a-service’.<br>4. Client sockets automatically reconnect (by default) if they lose the connection.<br>5. Any kind of real-time app or service which needs to scale to millions of users.<br>6. support uws</p><p>Latest release:<br>npm install socketcluster <br>License:<br>MIT<br>Github:<br><a href="https://github.com/SocketCluster/socketcluster">https://github.com/SocketCluster/socketcluster</a></p><h4>ws: (12.1k)</h4><p>Latest release:<br>npm install ws<br>License:<br>MIT<br>Github:<br><a href="https://github.com/websockets/ws">https://github.com/websockets/ws</a></p><h3>Performance:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Is5CLyPY-dXH1_HST0kCpA.png" /><figcaption>reference:<a href="https://github.com/uNetworking/uWebSockets/blob/master/misc/websocket_lineup.png">https://github.com/uNetworking/uWebSockets/blob/master/misc/websocket_lineup.png</a></figcaption></figure><h3>Reference:</h3><p>websocket vs socket.io:<br><a href="https://www.educba.com/websocket-vs-socket-io/">https://www.educba.com/websocket-vs-socket-io/</a><br>socketcluster:<br><a href="https://socketcluster.io/#!/">https://socketcluster.io/#!/</a><br>Millions of active WebSockets with Node.js: <br><a href="https://medium.com/@alexhultman/millions-of-active-websockets-with-node-js-7dc575746a01">https://medium.com/@alexhultman/millions-of-active-websockets-with-node-js-7dc575746a01</a><br>You should not use socket.io:<br><a href="https://www.ctolib.com/topics-79390.html">https://www.ctolib.com/topics-79390.html</a><br>Why you need a framework with your WebSockets:<br><a href="https://hackernoon.com/why-you-need-a-framework-with-your-websockets-98330827e3e">https://hackernoon.com/why-you-need-a-framework-with-your-websockets-98330827e3e</a><br>Backend scaling for multiplayer HTML5 games:<br><a href="https://www.reddit.com/r/gamedev/comments/6gjgnx/backend_scaling_for_multiplayer_html5_games/">https://www.reddit.com/r/gamedev/comments/6gjgnx/backend_scaling_for_multiplayer_html5_games/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acf172197aa0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Serverless set Lambd aVPC]]></title>
            <link>https://medium.com/@gcobcqwe1/serverless-set-lambd-avpc-fb7f187473b5?source=rss-93cd1f835dbe------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb7f187473b5</guid>
            <category><![CDATA[vpc]]></category>
            <category><![CDATA[serverless]]></category>
            <category><![CDATA[lambda]]></category>
            <dc:creator><![CDATA[Jim Chien]]></dc:creator>
            <pubDate>Thu, 15 Aug 2019 04:00:48 GMT</pubDate>
            <atom:updated>2019-08-16T23:39:44.748Z</atom:updated>
            <content:encoded><![CDATA[<h3>Serverless set Lambda VPC</h3><p>Lambda set VPC:</p><p>serverless.yml</p><pre>vpc:<br>securityGroupIds (required):<br>  - sg-securityGroupId1<br>subnetIds (required, at least 2 subnets):<br>  - subnet-subnetId1<br>  - subnet-subnetId2</pre><p>VPC: # Optional VPC. But if you use VPC then both subproperties (securityGroupIds and subnetIds) are required</p><ul><li><a href="https://forum.serverless.com/t/lambda-deploy-into-vpc/5829/3">Lambda Deploy into VPC</a></li><li><a href="https://serverless.com/framework/docs/providers/aws/guide/serverless.yml">Serverless Framework - AWS Lambda Guide - Serverless.yml Reference</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb7f187473b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>