<?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 Waragon Manothumsatit on Medium]]></title>
        <description><![CDATA[Stories by Waragon Manothumsatit on Medium]]></description>
        <link>https://medium.com/@ping.waragon?source=rss-4eccd254cbae------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wGhXF_sgWTkcYSLqM6KBww.png</url>
            <title>Stories by Waragon Manothumsatit on Medium</title>
            <link>https://medium.com/@ping.waragon?source=rss-4eccd254cbae------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 10:24:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ping.waragon/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[Mock Server with Stubby & Docker-compose ภายใน 5 นาที]]></title>
            <link>https://medium.com/@ping.waragon/mock-server-with-stubby-docker-compose-%E0%B8%A0%E0%B8%B2%E0%B8%A2%E0%B9%83%E0%B8%99-5-%E0%B8%99%E0%B8%B2%E0%B8%97%E0%B8%B5-3e5b9637ebdc?source=rss-4eccd254cbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e5b9637ebdc</guid>
            <category><![CDATA[mockup]]></category>
            <category><![CDATA[mock-server]]></category>
            <category><![CDATA[rest-api-testing]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[Waragon Manothumsatit]]></dc:creator>
            <pubDate>Thu, 14 Oct 2021 15:44:30 GMT</pubDate>
            <atom:updated>2021-10-14T15:44:30.098Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>หลายครั้งที่เวลาที่เราทำงานแล้วต้องการ mock api response จาก server ขึ้นมา ไม่ว่าจะเพื่อแทนที่ stub (การตัดเส้น api) หรือ ให้ frontend นำไปแสดงผล ผมเลยอยากลองนำเสนอวิธีที่ค่อนข้างง่าย มีโครงสร้างชัดเจนและรวดเร็วด้วย <a href="https://github.com/azagniotov/stubby4j#advantages-of-using-stubby4j-http-stub-server">stubby4j</a></p><h3>Prerequisite</h3><ul><li>docker</li><li>docker-compose</li></ul><h3>Getting Started</h3><p>เริ่มจากขั้นแรกสร้างไฟล example.yaml ขึ้นมาก่อน</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e89507298ef168f0f297d1a33d2c4a0/href">https://medium.com/media/4e89507298ef168f0f297d1a33d2c4a0/href</a></iframe><p>สร้าง docker-compose.yaml ไฟลขึ้นมา</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1085d805a62a2b1debb1173ef661cbb2/href">https://medium.com/media/1085d805a62a2b1debb1173ef661cbb2/href</a></iframe><p>ตัวอย่างสำหรับ volume สามารถใช้ relative path ได้</p><pre>- “./:/home/stubby4j/data”</pre><p>จากนั้นก็รันคำสั่ง</p><pre> docker-compose up -d</pre><p>ตัว stubby จะ expose ออกมาทั้งหมด 3 port ประกอบด้วย</p><ul><li>Stubs api — — — — — <a href="http://localhost:8882/">http://localhost:8882</a></li><li>TLS stubs api — — — <a href="https://localhost:7443/">https://localhost:7443</a></li><li>Dashboard — — — — <a href="http://localhost:8889/status">http://localhost:8889/status</a></li></ul><p>หลังจากรันแล้วเมื่อลอง เข้าผ่าน browser จะได้ผลลัพท์ดังนี้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/409/1*IZAYC7qxda2JYkWCLHBEPg.png" /><figcaption>stubs api</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*uB3uv5I9yPPS6iVFHTvpvA.png" /><figcaption>tls stubs api</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/796/1*WaYzVnAjXT9CQorlFVphMA.png" /><figcaption>dashboard</figcaption></figure><blockquote><em>Hooleyy สำเร็จแล้วววว!!!</em></blockquote><p>หลังจากนั้นหากเราต้องการเพิ่ม api ก็สามารถเพิ่มในไฟล example.yaml ได้เลยโดยไม่ต้อง docker-compose up ใหม่</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0ab2ceb03c2c4ab0acc4de172a047071/href">https://medium.com/media/0ab2ceb03c2c4ab0acc4de172a047071/href</a></iframe><h3>แถมม!! ทำให้ mock server เรา clean ขึ้น</h3><p>การทำ api ข้างต้นอาจยังไม่มีโครงสร้างชัดเจนดังนั้นเราสามารถแยก yaml ตาม service ต่างๆได้ สามารถศึกษาโครงสร้างได้จากตัวอย่าง</p><p><a href="https://github.com/dolphinep/stubby-example">dolphinep/stubby-example: mock api server by using stubby4j (github.com)</a></p><ol><li>สร้าง stubs.yaml</li></ol><pre>includes:<br>   - example.yaml <br>   - ./3rd-party-name/3rd-party-name.yaml</pre><p>2. แก้ไข docker file</p><pre>environment:</pre><pre>YAML_CONFIG: stubs.yaml</pre><p>3. สร้าง folder 3rd-party-name ขึ้นมา แล้วเพิ่ม json body request and response</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*_qhHJvv02vS9vXQVSdN3KQ.png" /></figure><p>4. create 3rd-party-name.yaml</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/96a81586e6373c2d7390b2463befebef/href">https://medium.com/media/96a81586e6373c2d7390b2463befebef/href</a></iframe><h3>Remarks</h3><ul><li>ถ้า request เราใส่ body หรือ file ไว้ ตอนที่ ยิง request ไปต้องส่งด้วย body รูปแบบเดียวกันเท่านั้น ไม่เช่นนั้นจะเจอ 404 not found (ทางที่ดีไม่ต้องใส่เลยดีกว่า)</li><li>url support regex format</li><li>Fault injection: bad response, latency time etc..</li><li>Logs for debug</li><li>Serve binary files</li><li>Support HTTP Authorizations: Basic, Bearer Token &amp; others</li><li>สามารถศึกษารูปแบบเพิ่มเติมจาก document โดยตรงได้ทาง <a href="https://github.com/azagniotov/stubby4j#quick-start-example">azagniotov/stubby4j: An HTTP server for stubbing external systems in both Docker and non-containerized environments for integration, contract and behavior testing. (github.com)</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e5b9637ebdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Winning SET game with python (part1)]]></title>
            <link>https://medium.com/@ping.waragon/winning-set-game-with-python-part1-90e7a4a31d8b?source=rss-4eccd254cbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/90e7a4a31d8b</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[games]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Waragon Manothumsatit]]></dc:creator>
            <pubDate>Sun, 19 Sep 2021 17:01:23 GMT</pubDate>
            <atom:updated>2021-09-19T17:01:23.002Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://setwithfriends.com/">Set with Friends</a> ← สามารถลองเล่นเกมนี้ก่อนได้ที่นี่ (single/ multiplayer)</p><p><strong>🥑table of contents</strong></p><ul><li>part 1: introduction + solve set game with python cli</li><li><a href="https://medium.com/@ping.waragon/winning-set-game-with-python-part2-2f37ca9914ab">part 2: using bot to solve set game</a></li></ul><p>🍏<strong>preparation</strong></p><ul><li>***python 3</li><li>selenium + chrome web driver (part2)</li></ul><h3>PART 1🥦</h3><p>ช่วงนี้ work from home หลายคนอาจเคยได้เข้าไปทำงานใน gather.io ซึ่งเป็นที่ๆให้เรารู้สึกเหมือนได้ไปทำงานที่ออฟฟิต โดยใน gather นั้นมีเกมหนึ่งที่อาจสร้างความมึนงง ปวดหัวให้กับเพื่อนๆมาแล้วนั่นก็คือ เกม set นั่นเอง😐</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*wEa2QCmpcWCKJDzWXu9B0Q.png" /></figure><p>ก่อนอื่นเรามาทำความรู้จักเกม <a href="https://setwithfriends.com/"><strong>set </strong></a>กันซักเล็กน้อยจาก link นี้ <a href="https://setwithfriends.com/help"><strong>how_to_play</strong></a><strong> </strong>จากรูปด้านล่างจะเห็นว่า มี 3 รูปแบบ(oval, sprout, diamond), 3 จำนวน(1, 2, 3), 3 สี(red, green, purple) และ 3 ลาย(outline, filled, striped)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*sIDslOPX0LKJyAeXFNQAyQ.png" /><figcaption>รูปแบบการ์ดต่างๆ</figcaption></figure><p>โดยวิธีการเล่นคือเราต้องหา 3 การ์ดที่ all unique ต่อกัน หรือ all same ต่อกัน เช่น จากภาพด้านบนเราสามารถหยิบได้ 2 set คือ row 1(same shape, same color, same number, different pattern) และ row 2(different shape, different color, different number, same pattern)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N9vpSqJJyvExig8_htoI9Q.png" /><figcaption>main game</figcaption></figure><p>หลังจากเข้าใจกฏเบื้องต้นกันแล้วเรามาเริ่มเขียน code กันเถอะ</p><p>source code available <a href="https://github.com/dolphinep/solve-set-game"><strong>here</strong></a><strong> </strong>หาก clone code แล้วสามารถลองเล่นได้จากคำสั่ง</p><pre>python set_sol1.py</pre><h4>Design 🤡</h4><p>จากภาพจะเห็นว่ามี 12 pieces แต่ละรูปจะมี ลักษณะที่แตกต่างกัน ในที่นี้จะเรียกแต่ละการ์ดว่า piece โดยจะมี attribute ต่างๆกัน 4 แบบดังนี้get pieces → get each pieces attribute → solve problem</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6a914f999bf80dc210be27ae8180384/href">https://medium.com/media/f6a914f999bf80dc210be27ae8180384/href</a></iframe><h4>Execution 🌶️</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*305vAuizWsHnIcldDBjUOA.png" /><figcaption>solve with cli</figcaption></figure><p>จากภาพข้างต้น ตัวเลข 4 เหลืองคือ input โดยเราจะรับจำนวน piece มาก่อน(4) แล้วใส่ค่าของแต่ละ piece ตาม pattern &lt;number shape color shading&gt;</p><p>ในส่วนของ logic การคำนวนเราจะสุ่มหยิบแบบ combinations มาเช่น 4 เลือก 3 หลังจากนั้น มาดูว่ามี piece แต่ละแบบแตกต่างกันอย่างไร จากกฏของเกม เราสามารถเลือกได้คือ จำนวน, รูปร่าง, สี , ลาย เหมือนกันหมด หรือ แตกต่างกันทั้งหมด</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/42ba6f4846eca6ea5c09ee43e2f72358/href">https://medium.com/media/42ba6f4846eca6ea5c09ee43e2f72358/href</a></iframe><p>หลังจากคำนวนเสร็จเราจะได้คำตอบดังนี้ โดยตัวเลขตัวแรกคือ index (เรียงจาก ซ้ายไปขวา บนลงล่าง) 😎</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/1*M8O4gpwBR5gU5sEvpK1OJQ.png" /></figure><p>ใน PART ต่อไปเราจะ ใช้ bot สร้าจาก selenium เล่นแทนเรา 🤖</p><p>มาต่อกันที่ PART2 …</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90e7a4a31d8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Winning SET game with python (part2)]]></title>
            <link>https://medium.com/@ping.waragon/winning-set-game-with-python-part2-2f37ca9914ab?source=rss-4eccd254cbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f37ca9914ab</guid>
            <category><![CDATA[selenium]]></category>
            <category><![CDATA[games]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Waragon Manothumsatit]]></dc:creator>
            <pubDate>Sun, 19 Sep 2021 16:59:17 GMT</pubDate>
            <atom:updated>2021-09-19T17:01:50.106Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://setwithfriends.com/">Set with Friends</a> ← สามารถลองเล่นเกมนี้ก่อนได้ที่นี่ (single/ multiplayer)</p><p><strong>🥑table of contents</strong></p><ul><li><a href="https://medium.com/@ping.waragon/winning-set-game-with-python-part1-90e7a4a31d8b">part 1: introduction + solve set game with python cli</a></li><li>part 2: using bot to solve set game</li></ul><p>🍏<strong>preparation</strong></p><ul><li>python 3</li><li><strong>***selenium + chrome web driver (part2)</strong></li></ul><p>นี่ก็เป็น part ที่ 2 แล้วนะครับสำหรับซีรียเกม set พาร์ทนี้จะลงรายละเอียดค่อนข้างเยอะหากมีข้อสงสัย หรือแนะนำสามารถ comment ได้นะครับ</p><h3>Installation🍒</h3><p>สำหรับคนที่เคยลงแล้วสามารถข้ามส่วนนี้ไปได้เลยนะครับ</p><h4>chrome web driver🍋</h4><ol><li>checking chrome version &lt;… → settings → about chrome&gt;</li><li>download web driver <a href="https://chromedriver.chromium.org/downloads">here</a> ตาม version ข้างต้น(เอาแค่เลขตัวหน้าเหมือนๆกันก็พอ)</li><li>วาง chromedriver.exe ไว้ที่ไหนก็ได้แต่ copy path มาแปะด้วยใน code ด้วย</li></ol><pre>driver = webdriver.Chrome(&#39;C:/Users/w.manothumsatit/Learning/Python/chromedriver.exe&#39;)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k8XhhX_8hISC2kJ9UZIfzw.png" /></figure><p><strong>selenium </strong>🍌</p><p>สามารถ download ได้จาก cli หรือ ตาม <a href="https://selenium-python.readthedocs.io/installation.html">document</a></p><pre>pip install selenium</pre><h3>START🍓</h3><p>เช่นเคย source code available <a href="https://github.com/dolphinep/solve-set-game"><strong>here</strong></a><strong> </strong>(don’t forget to change web driver path) แนะนำให้ load source code มาดูประกอบนะครับ</p><pre>python autoplay.py</pre><h4>Breakdown elements</h4><p>right click on game and then inspect elements with icon below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/546/1*-PzRjPsqr1aSqGVfnJsKeg.png" /></figure><ol><li>finding new private game button: get element by <strong>XPath</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kq5BSQeaBOKuvhFMQfjUEg.png" /><figcaption>first page</figcaption></figure><pre>new_private_button = wait.until(EC.element_to_be_clickable((By.XPATH, &#39;//*[@id=&quot;root&quot;]/div/div/div[3]/div[1]/button[2]&#39;)))</pre><pre>new_private_button.click()</pre><p>2. finding start game button: get element by <strong>XPath</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wVsW_-9Ln1UmrpfTxomN_g.png" /><figcaption>private game page</figcaption></figure><pre>start_button = wait.until(EC.element_to_be_clickable((By.XPATH, &#39;//*[@id=&quot;root&quot;]/div/div/div[2]/div/div[2]/button&#39;)))</pre><pre>start_button.click()</pre><p>3. finding element in main game: get element by <strong>Class Name</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KwASwiUhqQiSjPG4nfpWMQ.png" /><figcaption>1 piece</figcaption></figure><p>จากภาพด้านบนจะเห็นว่า รูปที่ visible จะมี class jss82 อยู่ (only enter game first time) เราจะ get pieces เหล่านี้มา เป็น list</p><pre>visibility_cards =  driver.find_elements_by_class_name(&#39;jss82&#39;)</pre><p>4. transform each piece into our Piece class</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XM_6P5AZjUE4KlO7688mWA.png" /><figcaption>break down each piece</figcaption></figure><p>จากภาพจะเห็นว่า</p><ul><li>piece แรกจะมี element svg(class jss80)อยู่ 3 ตัว = number</li><li>มีสีคือ ม่วง = fill:”#800080&quot;</li><li>รูปร่างคือ href:”#squiggle”</li><li>pattern ต้องดูจาก mask=”” และ fill=”transparent” หรือไม่</li></ul><p>จากนั้นแปลงเป็น function</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/599fc5a53c6ed27870b5cb6e83b39dd0/href">https://medium.com/media/599fc5a53c6ed27870b5cb6e83b39dd0/href</a></iframe><p>5. solve pieces list with logic form part1</p><p>6. apply loop while to replay each turn</p><h4>Result 🍈</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*MJyJiwm0aq2fGUy-zYJetQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VXxnZAmtxLVkPGFFvmgQzQ.png" /></figure><h3>To be imporve🍇</h3><ul><li>speed up code: get_attribute ของ selenium ช้ามากทำให้แต่ละเทิร์นใช้เวลานาน, แต่ละเทิร์น breakdown แค่ piece ที่เพิ่มมาใหม่</li><li>this code using for only normal mode ลองสร้างสำหรับ set-chain and ultra-set mode</li><li>apply to play in online mode</li></ul><p>ขอบคุณทุกคนที่อ่านมาถึงตรงนี้ หากมีข้อสงสัยเพิ่มเติมหรือมีข้อแนะนำสามารถ comment ได้นะครับ</p><p>`💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f37ca9914ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ฝึกงานครั้งแรกที่ Emetworks (Line API and React web)]]></title>
            <link>https://medium.com/@ping.waragon/%E0%B8%9D%E0%B8%B6%E0%B8%81%E0%B8%87%E0%B8%B2%E0%B8%99%E0%B8%84%E0%B8%A3%E0%B8%B1%E0%B9%89%E0%B8%87%E0%B9%81%E0%B8%A3%E0%B8%81%E0%B8%97%E0%B8%B5%E0%B9%88-emetworks-line-api-and-react-web-9fd90bad6d6e?source=rss-4eccd254cbae------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fd90bad6d6e</guid>
            <category><![CDATA[line]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Waragon Manothumsatit]]></dc:creator>
            <pubDate>Wed, 09 Oct 2019 05:10:48 GMT</pubDate>
            <atom:updated>2019-10-09T05:10:48.269Z</atom:updated>
            <content:encoded><![CDATA[<p>ก่อนอื่นเรยขอแนะนำตัวก่อน ผมกำลังศึกษาอยู่ในชั้นปีที่ 2 คณะวิศวกรรมศาสตร์ จุฬาลงกรณ์มหาวิทยาลัย ซึ่งตามปกติของมหาลัยจะให้นักศึกษาฝึกงานตอนชั้นปีที่ 3 แต่เนื่องด้วยผมไม่อยากอยู่เฉยๆในช่วงปิดเทอม ครั้นจะหาความรู้อ่านเองก็ไม่ค่อยมีสมาธิ ไม่รู้จะเริ่มต้นจากตรงไหน จึงมีความคิดที่จะหาที่ฝึกงานดู โชคดีที่พี่ของผมทำงานสาย developer อยู่จึงลองถามว่าที่บริษัทมีรับเด็กฝึกงานไหม และนี่ก็เป็นจุดเริ่มต้นของผมกับบริษัท Emetworks</p><blockquote>“วันแรกก็โดนแล้ว”</blockquote><p>สืบเนื่องจากคืนก่อนหน้า ผมได้เตรียมตัวก่อนไปฝึกงานตามปกติ เตรียมชุดนักศึกษา เตรียมอ่านประวัติบริษัทว่าทำอะไรบ้าง เชคไลน์กลุ่มอย่างดิบดี และเห็นว่าพี่ๆก็นัดผมไปตอน 7.00 น. ด้วยความที่ไม่ได้คิดไรมาก วันแรกแล้วไหนๆก็ไหนๆไปเช้าๆจะก็คงไม่เป็นไร อาจจะต้องเตรียมตัวลงโปรแกรม พอไปถึงป้าที่ทำความสะอาดออฟฟิตอยู่ถึงกับงง เพราะผมไปเช้ามาก ปกติเวลานี้ยังไม่มีบริษัทไหนมา(คิดในใจ “กูโดนแล้ววววว”) และพี่ที่รับผิดชอบมาเปิดประตูให้ก็คือพี่หนึ่ง <a href="https://medium.com/u/8671e17d4bf5">Sitthi Thiammekha</a> นั่นเอง</p><blockquote>“พื้นความรู้ = null”</blockquote><p>หลังจากโดนรับน้องไปเบาๆ ผมก็ได้เริ่มงานจริงๆซะที ระหว่างลงโปรแกรมนู้นนี่ พี่เค้าก็ถามผมด้วยศัพท์ต่างๆ ตั้งแต่ Line API, JavaScript, Nodejs, React, MongoDB ฯลฯ ผมนี่แทบทรุด55555 เพราไม่เคยรู้จักเลย อาจจะเคยผ่านๆหูผ่านตามาบ้างแต่ด้วยความที่มหาลัยเคยเขียนแต่ java, python, c++ พอมาเจอนี่ก็ช็อคไปพอสมควร</p><blockquote><strong>*ได้แต่คิดในใจว่าเอาว่ะ ไม่เคยทำ ไม่ได้แปลว่าทำไม่ได้</strong></blockquote><p>แล้วผมก็เริ่มศึกษาจาก Line API ก่อนจากบทความของพี่หนึ่งคนเดิมจากบทความนี้</p><p><a href="https://medium.com/linedevth/line-bot-101-447e427d62c7">LINE Bot 101 — จับมือทำบอท</a></p><p>ในระหว่างฝึกงานก็มีน้องฝ้าย จากม.ศิลปากรมาฝึกด้วย ซึ่งเข้ามาฝึกก่อนผมประมาณ 2 สัปดาห์ ทำให้ผมเรียนรู้ได้ไวขึ้น ผมใช้เวลาเกือบสัปดาห์ในการทำความเข้าใจเรื่องต่างๆตั้งแต่ React คืออะไร? JavaScript มันต่างกับ java มาก โดยต้องขอบคุณพี่หนึ่ง พี่กานต์ พี่แบงค์ พี่อาร์ม ที่คอยอธิบายผมตั้งแต่ชั้นรากหญ้าต้องเรียกว่าตั้งแต่แก้บัคตอนลงโปรแกรม</p><blockquote>“บรรยากาศในการทำงาน +กิจวัตรประจำวัน”</blockquote><p>หลังจากฟังผมโม้เรื่องที่ได้เรียนรู้แล้วสิ่งที่ไม่พูดไม่ได้ก็คือบรรยากาศการทำงาน พี่ๆทุกคนเฮฮามาก ชงมุก ตบมุกกันตั้งแต่วันแรก เรียกได้ว่าเหมือนอยู่กับเพื่อนมาก แต่พอถึงเวลาทำงานจริงๆก็เข้าโหมดจริงจังกัน</p><p>เวลาเข้างานคือ 9.00 ถึง 18.00น. หลังเลิกงานถ้าพี่ๆว่างก็จะชวนไปกินข้าวกัน นั่งฟังเพลงเพลงกัน ผมชอบในส่วนนี้นะรู้สึกได้มีปฏิสัมพันธ์กับคนในบริษัท</p><blockquote>“รุปแบบการทำงาน”</blockquote><p>การทำงานที่นี่ใช้แนวคิดแบบ agile ต้องขอบคุณพี่เจี๊ยบกับพี่เกด(scrum master ของทีม) ที่ช่วยอธิบายเรื่องนี้ โดยปกติบริษัทจะแบ่งงานเป็น sprint แล้วแต่ว่างานหนักแค่ไหน โดยในตอนเริ่มก็จะมีการทำ sprint planning and review อารมณ์ประมาณวางแผนงานว่าใน 1 sprint มีงานอะไรบ้างที่ต้องทำ และให้คะแนนเท่าไหร่ แล้วจะแบ่งกันทำอย่างไร นอกจากนี้ในแต่ละวันก็จะมี daily คุยกันว่าเมื่อวานทำอะไร เจอปัญหาอะไร จะแก้ไขอย่างไร วันนี้จะทำอะไร ส่วนนี้เองทำให้ผมเข้าใจการทำงานเป็นทีมมากขึ้น</p><blockquote>“โปรเจคที่ได้รับมอบหมาย”</blockquote><p>ผมได้รับมอบหมายโปรเจคการทำ Line Chat Bot ที่ต้องทำ Liff(web application) เชื่อมด้วย ตอนเห็นครั้งแรกก็คิดว่าคงพอทำได้อยู่(มั้ง?) แล้วพอเริ่มทำ สิ่งที่เราต้องทำมันมากกว่านั้น ต้องมีการใช้ Data Base ในที่นี้คือ mongoDB (ฟังชื่อครั้งแรกนี่นึกถึงมะม่วงก่อนเรย555) แถมยังต้องทำ cms สำหรับ admin ฟังดูวุ่นวายไปหมด แต่ในใจลึกๆก็คิดว่าคนอื่นทำได้เราก็ต้องทำได้</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*cZSx6jb1S3AQ6BW4GPCQpw.jpeg" /></figure><blockquote>“ทำความรู้จักกับ React ครั้งแรก”</blockquote><p>รู้สึกได้ถึงความยากเพราะต้องเรียนรู้อะไรเยอะมากทั้ง เข้าใจ Router DOM การทำงานของเว็บ, การเขียน javascript, หัดใช้ state, async await function, และอื่นๆอีกมากมาย ตอนหาอ่านครั้งแรกถึงกับท้อเพราะไม่เข้าใจแม้แต่ส่วนเดียว จนแบบไม่ไหวละต้องลองเริ่มทำละ โดยใช้ create-react-app เริ่มต้นโปรเจคก่อนแล้วไปคลำเอาทีหลัง ศึกษาจาก stackoverflow บ้าง medium board บ้าง ถามพี่ๆบ้างจนเริ่มรู้สึกถึงความว้าววววว! lib มีให้ใช้เยอะมาก พอเริ่มเล่นไปเรื่อยๆก็รู้สึกว่ามันค่อนข้างง่ายเราทำอะไรได้หลอกหลายมาก จะติดตรงที่ ถ้าต้องใช้ css มาแก้บางทีอาจจะมีหัวร้อนบ้าง555</p><blockquote>“Outing”</blockquote><p>หลังจากมาอยู่ได้ประมาณ 1 เดือนพี่ๆเค้าก็จัด outing กัน ก็เป็นความรู้สึกแปลกใหม่ดีเพราะมันไม่ได้ไปเที่ยวเฉยๆ ในช่วงการคืนเราก็มีการจัด meeting แลกเปลี่ยนความรู้กัน ว่าแต่ละคนได้ทำอะไรบ้าง ได้ฟังพี่ๆจากไซตอื่นเล่าถึงความรู้ในด้านใหม่ๆทั้ง Laravel, Vue รวมไปถึงด้าน network</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nEXs6WYeFUJE_BZpDbKP1Q.jpeg" /></figure><blockquote>— — — — — — — — — — สรุป — — — — — — — — — — — — —</blockquote><p>การมาที่เป็นประสบการณ์ที่ดีมากๆของผม ก่อนมาฝึกงานกับหลังมาฝึกงานผมเปลี่ยนไปมาก การได้ลองทำโปรเจคตั้งแต่ planning จน deploy ความรู้ที่ได้จากที่นี่เปลี่นโลกของผมไปเยอะมาก ตอนนี้ผมมีความรู้สึกอยากเรียนรู้เรื่องใหม่ๆตลอด ต้องขอบคุณพี่ๆทุกคน และ บริษัท Emetworks มากๆนะครับที่ให้ผมได้มาฝึกงานที่นี่</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*wOLh2mkUaYytu6HCOxjOgA.jpeg" /><figcaption>เลี้ยงส่ง</figcaption></figure><p>*นี่ก็เป็นบทความแรกของผม หากบทความนี้ผิดพลาดตรงไหน ต้องขออภัยด้วยครับ</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fd90bad6d6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>