<?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 NB on Medium]]></title>
        <description><![CDATA[Stories by NB on Medium]]></description>
        <link>https://medium.com/@imkk000?source=rss-6dc7b85f0dfd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*cGH8dAQYTOAiZrD4Iq_Dqg.png</url>
            <title>Stories by NB on Medium</title>
            <link>https://medium.com/@imkk000?source=rss-6dc7b85f0dfd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 03:52:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@imkk000/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[After 8 Years of Software Engineer]]></title>
            <link>https://medium.com/@imkk000/after-8-years-of-software-engineer-c475705a9d94?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/c475705a9d94</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[mindset]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Sun, 15 Mar 2026 01:54:00 GMT</pubDate>
            <atom:updated>2026-03-16T02:07:20.990Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m a software engineer working with Go. This blog is a checkpoint — a place to write down what I know, what I’ve learned, and how I’ve grown since day one of my career. That includes useful techniques, my mindset, and how I navigate the AI era.</p><h4>Experience</h4><p>My journey with computers started in elementary school — helping my mom enter accounting transactions into software. From there, curiosity took over. I got into gaming and wondered how games were made, which led me to modding Red Alert maps and tweaking objects my own way.</p><p>I studied Computer Engineering. After graduation, I trained across the full SDLC — software testing, Agile, and Scrum — which gave me the big picture of how software moves from idea to production.</p><p>My career went from QA Engineer doing automation testing, to Software Engineer, to DevOps. Along the way I learned to build, test, and ship software to production with Kubernetes — including setting up my first pipeline from scratch.</p><p>Beyond technical work, I started mentoring teammates, running knowledge-sharing sessions, and managing people within the team. I began to see the bigger picture not just in systems, but in people.</p><p>Outside work, I reverse engineer games, write bots, and debug software for fun. That’s what naturally pulled me toward cybersecurity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aX4GA5I0xW_DDDj9Nbno7A.png" /><figcaption>My life in brief</figcaption></figure><h4>Who am I?</h4><p>I started by analyzing myself as much as I could. Who am I? What do I like? What makes me happy? What does my ideal workspace look like? What topics interest me? What are my strengths and weaknesses?</p><p>Asking questions leads to root answers. As a thinker, this is one of my strengths — I enjoy learning new things, building my own theories, and solving problems like puzzles. I always ask what-if. I see patterns everywhere.</p><p>I learn best through visualization. I’m open-minded and comfortable with possibilities, I tend to spot patterns across unrelated domains, I always think like an attacker when reviewing any product or software I work on, and I treat honest feedback from others as a mirror — a way to see myself more clearly.</p><p>But I have weaknesses too. I rarely stick to a fixed plan because I know things change, so I improvise instead. My communication is direct and honest — sometimes too blunt.</p><h4>Mindset</h4><p>I always start with the overview to build a clear big picture, then dive into each topic deeply. For example, when I wanted to understand how finance works, I started by investing in gold, crypto, and stocks. Sometimes I implement things from scratch just to understand how they truly work.</p><p>I used to believe in perfectionism, but I’ve realized nothing is truly perfect. Instead, I aim for balance — comfort and security, clean code and performance. Good enough in the right places.</p><p>I understand every line I write and always have a reason for putting it there. I prefer simplicity first, complexity later — make it work, make it right, make it fast. I trust YAGNI (You Aren’t Gonna Need It) and avoid over-engineering. Think about the mansion, but start with a straw house — then add cement, brick, and build up from there. Prove the small idea first, then combine. Fast feedback loop.</p><p>I trade off everything before making a choice — I need to understand the differences first. I take more time to choose wisely because the wrong choice creates technical debt. The right tool for the right problem, nothing more.</p><p>Break on design is better than crisis on production. I spend time thinking and simulating how things can break — the product, the flow, the user journey. Fixing later is always more expensive than preventing it early.</p><p>Quality first, quantity later. Between maintainability, readability, and performance — I choose the first two. Code is written for humans to maintain, not for machines or AI. Testability included. Ultimately, code is a business tool — but “ship fast, fix later” is a trap. The cost of fixing later always outweighs the cost of doing it right the first time.</p><p>Knowledge sharing is one of the best ways to learn — you learn twice: once when you discover it, once when you teach it. It forces me to summarize and organize my thinking. Not to show off or prove I’m smarter, but because I want you to know it too. Someday it will be useful — to you, to the team.</p><p>I use other people’s ideas as a whetstone — discussion sharpens my thinking. I’m open-minded because I can learn from anyone. Sometimes I only realize what I think when I say it out loud to someone else. And I love being corrected. No ego, no bias — we’re solving the same problem. I stopped working alone. Honestly, I used to love it. But collaboration is better. Learning to trust others is harder than doing everything alone. But carrying it all yourself is exhausting — and it doesn’t scale.</p><p>I believe in 1% improvement — small habits to fight procrastination. Small goals build toward big ones. For me that looks like 5 minutes of typing practice daily, reading one blog post, or studying something new for just 10 minutes a day.</p><p>I focus on foundation — the pillars that hold everything up. Is my foundation ever enough? Never. But I keep challenging myself to grow. The more foundation you build, the more you can choose the right challenge and apply the right tool to the right job. That’s why I learn as much as I can. I never know when the day will come that I need it — so I prepare myself first.</p><p>My approach is to start with static knowledge first — data structures, algorithms, design patterns, basic security. Everything has a layer. Data structures underlie algorithms. Algorithms inspire design patterns. Learn the bottom layer first, then build up.</p><p>I designed my own way to learn. First I learned how to learn, then I found the most efficient approach for me. I’m visual — I start with a picture, simulate it in my head, then write it down or say it out loud.</p><h4>Adapting in the AI Era</h4><p>I use AI as a tool and a thinking partner — not a replacement. I don’t trust AI to write my entire project. Instead I ask what-if questions, impossible questions, research and analysis questions that no one else is asking on the internet.</p><figure><img alt="my claude prompt configuration" src="https://cdn-images-1.medium.com/max/527/1*vzn_7zOksl9BDNqypbCVYA.png" /><figcaption>My personal prompt configuration</figcaption></figure><p>I never stopped researching on my own. I still read blogs, documentation, textbooks, watch YouTube, and search. Because if AI collapses one day, I can still do it myself. Depending on AI as a life tool is a risk.</p><p>I wasn’t hyped by AI like everyone else. I tried Gemini, ChatGPT, Kimi, and eventually settled on Claude. But I didn’t stop there — I went deeper. I asked philosophical questions to understand how AI thinks. I learned that underneath it all, AI is just math. I trained my first model based on LLaMA 3, explored fine-tuning, and learned how to prepare good and bad datasets. Every step, I used AI to teach me — then verified everything myself.</p><p>Like this blog — I don’t write perfect grammar, but every idea is mine. I bring the thinking, AI helps organize it. That’s my relationship with AI, like TARS and Cooper in Interstellar — honesty set to 90%, trust earned through testing and questioning, but the final call always belongs to the human.</p><figure><img alt="Me and My AI preferences" src="https://cdn-images-1.medium.com/max/1024/1*O78GHb5kEanHV7Q409t7AA.png" /><figcaption>Source: r/interstellar — reddit.com/r/interstellar/comments/1hb2s5e</figcaption></figure><h4>Summary</h4><p>I don’t know if this is good enough or what a good engineer should do. But this is what I’ve learned from my past. AI makes mistakes. I make mistakes too. The difference is I learn from them and improve. At the end of the day, I’m just a human.</p><p><strong><em>Disclaimer:</em></strong><em> This comes from my own thinking, opinions, experiences, and perspective.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c475705a9d94" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple Command for SSH]]></title>
            <link>https://medium.com/@imkk000/simple-command-for-ssh-cfc0e2b32aea?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfc0e2b32aea</guid>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Sun, 04 Jul 2021 11:58:08 GMT</pubDate>
            <atom:updated>2021-07-04T11:58:08.432Z</atom:updated>
            <content:encoded><![CDATA[<h4>Experiment Note</h4><p>If you don’t have rsa key, please generate with this command. You will get rsa private key and public key into<strong> $HOME/.ssh/id_rsa</strong>, but you can custom path when you run this command.</p><pre><strong>ssh-keygen -t rsa -b &lt;bit-size&gt; -C &quot;your comment</strong><strong>&quot;<br></strong>e.g. ssh-keygen -t rsa -b 4096 -C &quot;nattakit.boonyang@gmail.com&quot;<br><br>Generating public/private rsa key pair.<br>Enter file in which to save the key (/Users/kk/.ssh/id_rsa):<br>Enter passphrase (empty for no passphrase):<br>Enter same passphrase again:<br>Your identification has been saved in a.<br>Your public key has been saved in id_rsa.pub.<br>The key fingerprint is:<br>SHA256:sUuJUAHAStKscOiH70b3Tv4QQgWa8A/k0g1PMRx0/ac <a href="/service/mailto:nattakit.boonyang@gmail.com">nattakit.boonyang@gmail.com</a><br>The key&#39;s randomart image is:<br>+---[RSA 4096]----+<br>| *.++O*+.        |<br>|+.@ Bo+  .       |<br>|==.B.+  . .      |<br>|oo..+. . + . .   |<br>|  o  o..S   o    |<br>|   o ..... E     |<br>|  o . .o.        |<br>|   o  o..        |<br>|  .   .o..       |<br>+----[SHA256]-----+</pre><p>Copy your key into a server that you need to access without password</p><pre><strong>ssh-copy-id -i ~/.ssh/id_rsa user@host</strong> -p &lt;custom port&gt;<br>e.g. ssh-copy-id -i ~/.ssh/id_rsa ubuntu@example.com</pre><p>Enable this line on your server for access by RSA and restart ssh server</p><pre>sudo nano /etc/ssh/sshd_config<br><strong>PubkeyAuthentication yes # add or uncomment this line<br></strong>sudo /etc/init.d/ssh restart</pre><p>Create or edit <strong>~/.ssh/config </strong>for apply rsa key to specific hostname</p><pre>sudo nano ~/.ssh/config</pre><pre><strong>Host &lt;hostname or ip address&gt;<br>    IdentityFile ~/.ssh/id_rsa</strong></pre><p>Try to connect into server</p><pre><strong>ssh user@host</strong> -p &lt;custom port&gt;<br>e.g. ssh ubuntu@example.com</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfc0e2b32aea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Containerd with Systemd]]></title>
            <link>https://medium.com/@imkk000/run-containerd-with-systemd-2b115f8f7d0?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/2b115f8f7d0</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Fri, 12 Mar 2021 16:10:04 GMT</pubDate>
            <atom:updated>2021-03-12T16:10:04.217Z</atom:updated>
            <content:encoded><![CDATA[<h4>My Experiment: Kubernetes from scratch</h4><blockquote>Hello everyone, today I’d like to share my experiment with containerd and try to start them from scratch, so I don’t need to install this package from other package manager in linux system.</blockquote><h3><strong>Why containerd?</strong></h3><p><strong>Containerd</strong> is lightweight of containerized engine. Mostly container tool like <strong>Docker</strong> use it (also <strong>Kubernetes </strong>in the future).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FkuAjQsAVCtvtf_lOYASXg.png" /><figcaption>Docker x Containerd — Reference: <a href="https://www.docker.com/blog/docker-engine-1-11-runc/">https://www.docker.com/blog/docker-engine-1-11-runc/</a></figcaption></figure><h3>Download containerd</h3><p>Install containerd follow up guideline, or download container.d binary, and then copy binary files into <strong>/usr/local/bin/</strong></p><p><a href="https://containerd.io/downloads/">containerd - containerd downloads</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3efd6a594094533caba65e221b2dea98/href">https://medium.com/media/3efd6a594094533caba65e221b2dea98/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NNEXEFW6PKbJ0F8bxCLSLg.png" /><figcaption>Download and Extract Containerd Binary Files</figcaption></figure><p>Use <strong>which</strong> and <strong>containerd version</strong> command for check containerd that copy into bin directory and we can access from anywhere</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*IkaGVzl2MEB2vkEpxrWnmw.png" /><figcaption>Check containerd after copy into target directory</figcaption></figure><h3>Enable containerd.service in systemd</h3><p>Create file name: <strong>containerd.service</strong> and put this file into <strong>/etc/systemd/system/ </strong>or<strong> /lib/systemd/system/</strong> (might be used super user)</p><p><a href="https://github.com/containerd/containerd/blob/master/containerd.service">containerd/containerd</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/320510acdbe02a0c1e2b0be6bfe1be97/href">https://medium.com/media/320510acdbe02a0c1e2b0be6bfe1be97/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*QDD6QUAc46yhl1JsZupZiA.png" /><figcaption>Create containerd.service and copy into systemd directory</figcaption></figure><p>Generate default containerd config from containerd binary, create directory <strong>/etc/containerd</strong>, move <strong>config.toml</strong> into this one</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/034c8447ac7a4caea8d0862baaee76fc/href">https://medium.com/media/034c8447ac7a4caea8d0862baaee76fc/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*UkHovbh0DBZz4hIfPp7wsA.png" /><figcaption>Generate containerd default config</figcaption></figure><p>Start containerd with systemd</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/959f5a820e10027022bf28bb3b461ac2/href">https://medium.com/media/959f5a820e10027022bf28bb3b461ac2/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*lAwM5HXY0o7ysvx_1TxU-g.png" /><figcaption>Enable and Start Containerd as Service</figcaption></figure><p>Clean working directory after you finish</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2aded8044a006534b349c53e7cd395a1/href">https://medium.com/media/2aded8044a006534b349c53e7cd395a1/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*2c5EOkci6uekx0g2UhP1Ig.png" /><figcaption>Clean</figcaption></figure><h3>How to run container via containerd</h3><p>Use <strong>ctr</strong> (containerd CLI) for check containerd available. Must run ctr with super user because may not have permission for access <strong>containerd.sock</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V2sYCMoLbwQUg4OnPGfKGQ.png" /><figcaption>Containerd CLI with Help Command</figcaption></figure><p>Run containerd version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jnILP7f05ixlpjzKf7GvCA.png" /><figcaption>Try to get version without sudo</figcaption></figure><p>Pull <strong>docker/whalesay</strong> image from docker hub</p><p><a href="https://hub.docker.com/r/docker/whalesay/">Docker Hub</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*gA0VPp9bgkOupUoy4lCSTQ.png" /><figcaption>Containerd pulling image from docker hub</figcaption></figure><p>Run container tagname: <strong>docker.io/docker/whalesay:latest </strong>but get some error with <strong>runc </strong>because does not install runc</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/1*g1dmZIRwl_8VYlLnY_S3PA.png" /><figcaption>Try to run whalesay after pull image</figcaption></figure><p>Download <strong>runc</strong> binary file from release repository with <strong>wget</strong></p><p><a href="https://github.com/opencontainers/runc/releases/tag/v1.0.0-rc93">Release runc 1.0-rc93 -- &quot;I never could get the hang of Thursdays.&quot; · opencontainers/runc</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*Yokhs7XtK0fRblw1Upt_tg.png" /><figcaption>Release on runc repository</figcaption></figure><p>Download <strong>runc.amd64 </strong>and copy into <strong>/usr/bin/runc</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*Flagudc74BQJUrmKMU0sEQ.png" /><figcaption>Download runc and move into bin directory</figcaption></figure><p>Delete previous container, run again after copy runc binary</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/395221c973f284fa050ae46c15786ec7/href">https://medium.com/media/395221c973f284fa050ae46c15786ec7/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*74nUc4PY783BmpLsjsQNdw.png" /><figcaption>After move runc into directory, delete error container and run container again</figcaption></figure><p>Remove <strong>runc.amd64</strong> in working directory</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/40ba93637064f6ef99ae37fe64e67791/href">https://medium.com/media/40ba93637064f6ef99ae37fe64e67791/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*n8xmVsIy6sxqTOt7ojkA3Q.png" /><figcaption>Delete runc.amd64 in working directory</figcaption></figure><blockquote>This is my experiments that create many tools from scratch for learn how they work with together, so next part I will try to integrate containerd with docker and kubernetes. If you have any question, please do comment in this blog. Thank you reader. See you next blog :)</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b115f8f7d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Compile Go 2 From Repository]]></title>
            <link>https://medium.com/@imkk000/compile-go-2-from-repository-64d9bf55e65b?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/64d9bf55e65b</guid>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Sun, 07 Mar 2021 16:06:51 GMT</pubDate>
            <atom:updated>2021-03-07T18:25:50.435Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OdiMGMcc_1s155MoIp-A1w.png" /><figcaption>google git branch: dev.go2go</figcaption></figure><h3>Why we should use Go2?</h3><p>Go will release to support <a href="https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md"><strong>Generic Type</strong></a>. In my opinion, it’s big changed and <strong>impact to all Go Developer</strong>. It may make our life easily to develop function and method without code duplication. Basically we do that. For now they don’t release yet, so we must learn it and prepare yourself. I think many project will migrate to this one, so you’d like to read other project you must know about it.</p><p><a href="https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md">Type Parameters - Draft Design</a></p><h3>Guide from Go2Go Readme</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vxtg4NrlzHq2HJlEoQjMMA.png" /><figcaption>go2go readme</figcaption></figure><h3>Clone Repository</h3><p><a href="https://go.googlesource.com/go/+/refs/heads/dev.go2go">refs/heads/dev.go2go - go - Git at Google</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/812/1*im-FuF7cEGTy-sLxoiQnJA.png" /><figcaption>Git clone go repository with branch: dev.go2go</figcaption></figure><h3>Change directory to go2go/src</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/307/1*uI16hQ6QSQ1S0Al1GK1ivA.png" /><figcaption>Change directory to go2go/src</figcaption></figure><h3>List all file for build</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/664/1*4-Qw3bBpa51WtAXTrucvkA.png" /><figcaption>Run script for test and compile</figcaption></figure><h3>Run all.bash for test and build go</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*FurvV9jmYQgb50e5gDz8Fg.png" /><figcaption>Run all.bash for build dependency</figcaption></figure><h3>Export PATH to use Go2Go</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*-l7SZ4BmqpBmwOhWDWz6mQ.png" /><figcaption>Set PATH for Go2Go and GO2PATH</figcaption></figure><h3>Run Go Tool Go2Go</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*C7gD_OiXe4_jw8KAEfTxCA.png" /><figcaption>Run get version and go tool go2go help</figcaption></figure><h3>List of command for copy &amp; paste</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f2503756fd384a812b0d2417f67fbbee/href">https://medium.com/media/f2503756fd384a812b0d2417f67fbbee/href</a></iframe><h3>Alternative way to run Go2Go</h3><h4>Run on Go2Go playground</h4><p>Playground that is very nice. We are easy to share our code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*qCRDhQBu1qcfA2M1ASO4Bw.png" /><figcaption>Go2Go playground</figcaption></figure><p><a href="https://go2goplay.golang.org/">The go2go Playground</a></p><h4>Run with docker</h4><p>Docker can run everywhere that you have docker but I think it use a lot of resources for local machine (VM — only Windows and MacOS)</p><p><a href="https://hub.docker.com/r/levonet/golang">Docker Hub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64d9bf55e65b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dolt — Using SQL Database like Git]]></title>
            <link>https://medium.com/@imkk000/dolt-using-sql-database-like-git-86a51fda2925?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/86a51fda2925</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Sun, 07 Mar 2021 14:36:21 GMT</pubDate>
            <atom:updated>2021-03-07T14:36:21.162Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dolt — Using SQL Database like Git</h3><blockquote>For today I review about fundamental of Git again because I forgot some content like Merge vs Rebase, Git workflow, Worktree, etc. Suddenly I found keyword <strong>Git for Data</strong>, so I’d know what is difference with Git, so I learn and write in this blog.</blockquote><h3>What is Dolt?</h3><p>Dolt is <a href="https://github.com/dolthub/dolt">opensource</a> SQL database. You can run base command like Git for manage your data, create new branch, checkout to it, insert new data, commit them, get log information, and diff changed data. They have private and public repository on <a href="https://www.dolthub.com/">Dolthub</a>.</p><p>In my opinion, it’s so familiar with Git, but doesn’t exactly the same, because it focus on the data. It’s work well with Public Data Source.</p><h3>Use Case</h3><ul><li>For QA / tester, initial data set for test with SQL database in each branch such as data-set-for-integration-test, data-set-for-end-to-end-test. Switch branch into it when you need to test in difference data set.</li><li>For infrastrucutre, snapshot data with specific table. Export and import them when need, and track changed data by log time, commit hash.</li><li>For your teammate, you can share the data in your local machine with your team. Pull it in their machine, and merge your data with their data.</li></ul><blockquote>Dolt = Version Control of Data System</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3uqu5xogFFqA6vs0RpGH8w.png" /><figcaption>Dolt Command in CLI</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/821/1*vxOibK_5YGrCHe-U1XA8jA.png" /><figcaption>When run command: dolt log</figcaption></figure><h3><strong>My Example</strong></h3><p>Create new database and table.</p><ul><li>Database name: dolt_example</li><li>Table name: User (ID int)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*uP5QZOHW0WZq57ocBrkv4g.png" /><figcaption>Dolt Schema Show</figcaption></figure><p>Create new branch name</p><ul><li>master</li><li>add-new-user</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*L5_oLGVKWZIVVJFCPR5wbA.png" /><figcaption>Dolt Example Branch</figcaption></figure><p>Insert new data into user table that data come from difference branch and merge them into master branch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*U7yvU5TFJC7NP6KtOoDtng.png" /><figcaption>Dolt SQL SELECT from user table</figcaption></figure><p>Insert new data (id = {6, 7, 8}) into user table and try to run data diff. You can run checkout for discard changes data if need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*Lug4AbsxbTKTo3Z1HAKPNg.png" /><figcaption>Dolt get status in master branch and diff user table</figcaption></figure><p>Run <strong>snapshot data</strong> into dolt database with mysql compatible server. the database can CRUD from other process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eSW4FB4FGXLnYjmeiSn3Gw.png" /><figcaption>Dolt run mysql compatible server</figcaption></figure><p>Insert data (id = 9) from other process via mysql compatible server, and data change immediately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*SuuN9wDQqItXFc2MVbvFQg.png" /><figcaption>Dolt diff after insert data from other process</figcaption></figure><p>Commit new data change for backup into data revision</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*CNTMUTZPedJMCMmz3fAqhg.png" /></figure><p>Export to sql command file for make sure data that should be backup</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*dPhxsQ3xaf9q11b8DgUeIw.png" /><figcaption>Dolt export table user into sql command file</figcaption></figure><p>Import data from SQL command file. They force to do with dolt sql command</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*V3GmuwTEK-Ldsf7OviArMg.png" /></figure><p>So I read file and send into stdin with pipe</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*9GjECpquadH4NfXCQGlUfg.png" /><figcaption>Dolt import table</figcaption></figure><p>Remove table user and import from sql command and checkout from revision HEAD for move to before remove table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/877/1*GcuOmv6kLlbQaAXFTpNPHw.png" /><figcaption>Dolt remove table and checkout to revision HEAD</figcaption></figure><p><a href="https://github.com/imkk-000/dolt-example">imkk-000/dolt-example</a></p><blockquote>This tool is very useful when you use to the right work, also concept of Git is very nice, and show me that we can adapt it with other problem solver, and make our working life easier. Thanks my reader. See you next blog. :)</blockquote><h3>Reference</h3><ul><li><a href="https://github.com/dolthub/dolt">GitHub - dolthub/dolt: Dolt - Git for Data</a></li><li><a href="https://docs.dolthub.com/introduction/why-dolt">Why Dolt</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=86a51fda2925" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ลองดัก Stdout สำหรับ Test ใน Golang]]></title>
            <link>https://medium.com/@imkk000/%E0%B8%A5%E0%B8%AD%E0%B8%87%E0%B8%94%E0%B8%B1%E0%B8%81-stdout-%E0%B8%AA%E0%B8%B3%E0%B8%AB%E0%B8%A3%E0%B8%B1%E0%B8%9A-test-%E0%B9%83%E0%B8%99-golang-4e957ddffc6f?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e957ddffc6f</guid>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Sun, 04 Aug 2019 06:27:37 GMT</pubDate>
            <atom:updated>2019-08-04T09:40:16.754Z</atom:updated>
            <content:encoded><![CDATA[<h3>ลองดัก Stdout เพื่อใช้ใน Test ของ Golang</h3><blockquote>สวัสดีครับ ผมอั๋นเอง ห่างหายไปนานเป็นปีเลยกับการเขียน Blog แล้วพอดีช่วงนี้ได้เล่นนู้นนี่ด้วย ถ้าผมว่างก็นั่งทำโจทย์แก้ปัญหาตามพวกเว็บ Hackerrank อยู่บ้าง จริงๆ อยากฝึกเขียนโปรแกรมแบบ TDD ด้วยภาษา Golang จากการทำโจทย์นี้เอง ก็เป็นที่มาของ Blog นี้ โดยผมจะเริ่มเล่าจากปัญหาก่อน แล้วค่อยยกตัวอย่างให้เห็นภาพมากขึ้นครับ</blockquote><blockquote>มาเริ่มกันเลย…</blockquote><h4>เล่าปัญหาและความจำเป็น</h4><p>ต้องบอกก่อนว่าโจทย์แก้ปัญหาที่ผมทำส่วนใหญ่จะให้เรารับค่ามา แล้วเอาค่าไปประมวลผลบางอย่างให้ได้ผลลัพธ์ตามที่โจทย์ต้องการ แล้วแสดงผลออกทางหน้าจอ ซึ่งวิธีการเดิมที่ผมใช้อยู่ก่อน คือ สั่ง compile กับ run แล้วก็นั่งพิมพ์ input เข้าไปทีละตัว หรือบางครั้งจะใช้วิธีเอา input ใส่ลงไฟล์ แล้วส่ง input เข้าไปในโปรแกรมโดยใช้พวก I/O Operator แทน แล้วเปลี่ยนให้เขียน output ลงไฟล์ด้วย จากนั้นค่อยเอาไฟล์ output ที่คาดหวังกับ output ที่ได้จากโปรแกรมที่เขียนมาเทียบกันโดยใช้โปรแกรมพวก diff จากที่เห็นยุ่งยากน่าดูเลย เพราะต้องสั่งรันแบบนี้ตลอดที่รันโปรแกรม ผมเลยมองหาวิธีอื่นๆ ที่มาช่วยให้ผมไม่ต้องทำแบบนี้ซ้ำๆ ครับ</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*IjNxI9AvfFyoYfMXiRp05A.png" /><figcaption>Explanation My Problem</figcaption></figure><p>จนมาเจอว่าเจ้า Golang เองก็มี Pipe ให้ใช้นะ แล้วพวก Package Fmt กับ Log ใน Golang เนี่ย ส่วนใหญ่เขียนลง Standard Output ทั้งนั้นเลย ผมเลยคิดว่า ถ้าผมสามารถดักเจ้า Standard Output ได้ ผมจะสามารถเอา Output ที่ได้จากโปรแกรมมาเทียบกับ Output ที่ผมเตรียมไว้ได้ โดยจะเขียนทั้งหมดให้อยู่ในไฟล์ Test ไปเลย ส่วนเรื่อง Input ก็แค่เปิดอ่านจากไฟล์ แล้วส่งเข้าไปใน Standard Input เลย ประมาณนี้ครับ</p><h4>Pipe คืออะไร?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*jodj9clLzd68Z-we8OA4Ew.gif" /><figcaption>ตัวอย่าง Pipe ในภาษา C [Reference Image: <a href="http://unixwiz.net/techtips/remap-pipe-fds.html">http://unixwiz.net/techtips/remap-pipe-fds.html</a>]</figcaption></figure><p><strong>Pipe ทำหน้าที่เป็น “ท่อ”</strong> โดยลักษณะของท่อทั่วไป คือ จะมีสองฝั่ง เข้า (In) กับออก (Out) <strong>ในทาง Programming ก็เหมือนกันครับ เหมือนไฟล์ที่ทำได้ทั้งอ่าน (Read) และเขียน (Write) ไปพร้อมกัน</strong></p><p>ซึ่งส่วนนึงในภาษา Golang ก็ได้รับอิทธิพลมาจากภาษา C บางส่วน ไม่แปลกที่ตัวภาษาเองจะ Provide API เรื่องของ Pipe ให้ใช้งานด้วย <strong>สามารถเรียกใช้ผ่าน Package os ในรูปแบบของ os.Pipe()</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sdzJWextNfo8aXjV1QHQAg.png" /><figcaption>From Go Docs: <a href="https://golang.org/pkg/os/#Pipe">https://golang.org/pkg/os/#Pipe</a></figcaption></figure><p>Pipe จาก Go Docs อธิบายวิธีใช้ไว้คร่าวๆ โดย</p><p>ถ้าเราเรียกใช้ฟังก์ชัน os.Pipe() จะได้ค่ากลับมา 3 ค่า คือ</p><ol><li><strong>r (Read) —</strong> ใช้สำหรับอ่านของที่อยู่ใน Pipe</li><li><strong>w (Write) —</strong> ใช้สำหรับเขียนของลง Pipe</li><li><strong>err (Error) — </strong>ใช้ดูว่ามี Error ไหม ตอนที่ประกาศจอง Pipe</li></ol><p>เรื่องวิธีใช้งานสำหรับใครที่เคยเขียนของลงไฟล์ อ่านของในไฟล์ ก็พอที่จะใช้งาน Pipe ได้แล้ว เพราะตัวอ่านกับเขียนมี Type เป็นไฟล์เลยครับ</p><h4><strong>ตัวอย่างกันหน่อย</strong></h4><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/81e4df814c0c14af23a6f68f78ae5eb1/href">https://medium.com/media/81e4df814c0c14af23a6f68f78ae5eb1/href</a></iframe><p>จากโค้ดข้างบน วิธีการที่ผมใช้ คือ</p><ul><li>ทำการสร้าง Pipe ขึ้นมา 1 อัน จะได้ pipe reader, pipe writer ออกมา</li><li>แมพตัว pipe writer เข้าไปที่ os.Stdout จากเดิมให้แสดงผลออกทางหน้าจอ ให้เขียนค่าลงไปใน pipe writer ของเราแทน</li><li>เรียกใช้ฟังก์ชันที่จะเทส ในที่นี้ใช้เป็น TargetFunction รับตัวเลข 1 ตัว และแสดงผลออกทางหน้าจอว่า “number is ” ตามด้วยตัวเลขที่รับเข้ามา</li><li>สั่งปิดตัว pipe writer เพื่อเวลาเราอ่านค่าจาก pipe (กรณีที่ผมเจอ คือ ถ้าไม่ปิด มันเป็น infinity ลูป เพราะมันหา end of file ไม่เจอ)</li><li>กลัวลืมปิด pipe reader ผมจึงใส่ defer คู่กับตอนที่ปิด pipe writer ไปเลย</li><li>อ่านค่าใน pipe reader ทั้งหมดด้วย ioutil.ReadAll จะได้ค่าเป็น array of bytes (ถ้าไม่ปิด pipe writer มันจะอ่านของด้วย ReadAll ไม่ได้ ต้องไปใช้วิธีอ่านทีละบรรทัดแทน)</li></ul><p>อันนี้โค้ดตัวอย่างข้างบน ลงไว้ใน Go Playground สามารถลองกดเล่นดูได้ครับ</p><p><a href="https://play.golang.org/p/NKui3dRzM-N">The Go Playground</a></p><h4>ตอนนำไปใช้กับงานจริง</h4><ul><li><strong>ถ้ารันเทส — ผ่าน</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*aHfd2zBobsruGB2WcLt6iw.png" /><figcaption>If Expected Output Equal Actual Output, Print “PASS”</figcaption></figure><ul><li><strong>ถ้ารันเทส — ไม่ผ่าน</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eOXXBYO-hsKnsjwpO66HcA.png" /><figcaption>If Expected Output Not Equal Actual Output, Print “FAIL” And Error</figcaption></figure><ul><li><strong>วิธีเขียน Test Case</strong></li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f48541fd13f936ecb2d7283de558657c/href">https://medium.com/media/f48541fd13f936ecb2d7283de558657c/href</a></iframe><p>อันนี้ คือ ที่เก็บโจทย์ของผม ที่ได้นำเอาวิธีการดัก Stdout แบบที่อธิบายไว้ไปใช้งาน ตอนนำไปใช้จริง ผมอาจจะไม่ได้เขียนดัก Error ทั้งหมด เพราะอยากให้มันอ่านง่าย เลยไม่ได้สนใจ Error มากนัก แต่ถ้าเกิดต้องนำไปใช้งานกับอะไรที่สำคัญก็ต้องระวังเรื่องของ Error ด้วยนะครับ</p><p><a href="https://github.com/imkk-000/hackerrank-practice/tree/master/project_euler/7_10001st_prime">imkk-000/hackerrank-practice</a></p><h4>Suggestion From Others</h4><p>หลังจากที่ได้คำแนะนำจากพี่ <a href="https://medium.com/u/9d85239d3f68">Apipol Sukgler</a> ให้ลองใช้ Go Exec ก็ได้ผลตอบรับที่ไม่เลวเลย โดยจะใช้วิธีอ่าน Expected Output จากไฟล์ หรือจะใส่ค่าเข้าไปในตัวแปร แล้วแปลงให้เป็น Reader เพื่อจะแมพกับตัว Stdin ได้ และตัว Go Exec เองก็มีคำสั่งที่ใช้พ่นตัว Stdout ออกมาให้เป็น Array of Byte ด้วย ทำให้เอาค่าไปใช้งานได้เลยสะดวกขึ้นครับ</p><p><strong>แปะตัวอย่างการใช้ด้วย Go Exec ครับ</strong></p><p><a href="https://github.com/imkk-000/go-capture-stdout-with-exec/blob/master/main_test.go">imkk-000/go-capture-stdout-with-exec</a></p><blockquote>สำหรับวันนี้ผมก็ขอจบ Blog เพียงเท่านี้ หากเพื่อนๆ พี่ๆ มีข้อเสนอแนะอะไรหรือไม่เข้าใจตรงไหน อยากให้อธิบายเพิ่มเติม สามารถ Response ทิ้งไว้ ผมยินดีรับทุกความคิดเห็นครับ ขอบคุณครับ :D</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e957ddffc6f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflect [17/06/61] — สิ่งที่ได้รับวันนี้]]></title>
            <link>https://medium.com/@imkk000/reflect-%E0%B8%AA%E0%B8%B4%E0%B9%88%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%99%E0%B8%B5%E0%B9%89-8d34bb2cb5ce?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d34bb2cb5ce</guid>
            <category><![CDATA[sck-seal]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Tue, 17 Jul 2018 15:04:42 GMT</pubDate>
            <atom:updated>2018-07-17T17:12:26.433Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีครับ วันนี้ผมก็อยากมาแชร์สิ่งที่ได้รับในวันนี้ ให้อ่านกันครับ</p><p>วันนี้ก็ได้มีโอกาสเข้าไป Co-training มาครับ ซึ่งวันนี้ช่วงเช้าก็ได้พี่ ๆ พาทำเรื่องของ A-DAPT Blueprint โจทย์เป็นโจทย์การโอนเงินกับโจทย์ตัด Point ครับ โดยพี่ ๆ ก็พาไล่จนถึงการแตก Task งานเลย จากนั้นก็ให้ทีมที่เป็น Developer (Dev) ไปรวมกับทีมที่เป็น Business Analyst (BA) เพื่อทำเรื่องของ Refinement ด้วยครับ</p><p>ได้รู้จักจริง ๆ ว่าการทำ Refinement กับออกแบบ A-DAPT Blueprint แบบหลาย Scenario การทำแยก Customer Visible โดยส่วนนี้จะเป็นการพูดคุยเรื่องของ Business ซะมากกว่า แล้วก็ให้ทีม Dev นำไปออกแบบพวก Logic Function การทำงานอีกทีนึง</p><p>ซึ่งปกติเรื่องพวกนี้ ตัวผมจะทำกันเองซะมากกว่า ทำให้ภาพที่จำอยู่ในหัว คือ ทำเอง Dev เอง ใช้เอง แต่พอได้เห็นว่าจริง ๆ แล้วมันไม่ใช่ ก็ได้เห็นมากขึ้นว่า จะเอาไปใช้งานจริง ๆ ต้องคุยกับใครบ้าง</p><p>ต่อมาเรื่องของเจ้า A-DAPT Blueprint นี่แหละ ผมพยายามไม่จำมันนะ แต่ผมอยากเข้าใจ อยากรู้ว่าจริง ๆ แล้วแต่ละส่วนมันมีประโยชน์อะไร ทำไมถึงต้องมี คือ ไม่มีได้ไหม</p><p>วันนี้ก็ได้พี่ ๆ มาช่วยตอบบางส่วนแล้วว่า จริง ๆ แล้ว ส่วนต่าง ๆ ที่มีใน A-DAPT Blueprint เนี่ย มันขาดกันไม่ได้เลย เนื่องจากถ้าเรามีแค่ UI เราก็รู้นะว่าเราจะต้องมีการทำงานที่ผู้ใช้เห็นยังไง แต่ถ้าเราไม่มี Acceptance Test ด้วย ก็ทำให้เราไม่เห็นอยู่ดีว่าสิ่งที่เราทำนั้นมันถูกต้องหรือเปล่า อะไรแบบนี้</p><p>คือ ส่วนตัวอยากได้เรื่องของการ Design การคิด วิเคราะห์ วางแผน บ้าง อยากแค่ตามเพื่อน ๆ ในทีมให้ทัน เพราะผมรู้ว่าเรื่องพวกนี้เป็นจุดอ่อนสำหรับผมมาก ๆ วันนี้ทั้งวันก็พยายามคิดตามคนที่มาเข้าอบรมอยู่ตลอดเลยนะ</p><p>บางครั้งก็อยากพูดนะ แต่ก็ต้องเงียบ รู้สึกไม่ค่อยเป็นตัวเอง บ่อยครั้งที่ต้องเดินไปพูดกับพี่ ๆ เพื่อน ๆ ในทีมแทน ตัวผมจะได้ไม่รู้สึกอึดอัดมาก ซึ่งถ้าผมตัดเรื่องพวกนี้ออกไปจากหัวบ้าง ผมคงจะรู้สึกมีความสุขในการทำงานแบบนี้มากกว่านี้ก็ได้</p><blockquote>ดังนั้น ช่วงฝึกงานนี่แหละ เป็นช่วงที่ใช้ค้นหาตัวเองได้ดีเลย จะได้รู้จักตัวเองเพิ่มขึ้น และปรับปรุงให้พร้อมสำหรับการทำงานจริง ๆ ในอนาคตครับ</blockquote><blockquote>ขอบคุณครับ :D</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d34bb2cb5ce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflect [16/07/61] — สิ่งที่ได้รับวันนี้]]></title>
            <link>https://medium.com/@imkk000/reflect-16-07-61-%E0%B8%AA%E0%B8%B4%E0%B9%88%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%99%E0%B8%B5%E0%B9%89-a26f51da34c7?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/a26f51da34c7</guid>
            <category><![CDATA[sck-seal]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Mon, 16 Jul 2018 16:24:07 GMT</pubDate>
            <atom:updated>2018-07-16T16:24:07.876Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีครับ วันนี้ผมก็อยากมาเล่าให้ฟังครับ ว่าวันนี้ผมได้รับอะไรมาบ้างครับ</p><p>จากวันนี้พอดี ช่วงเช้าได้ทำ Coding Dojo ด้วยโจทย์การบวกเลขโรมันครับ ซึ่งหลัก ๆ โจทย์ก็เป็นพวก Algorithm ซะมากกว่า แถมเป็นเรื่องที่ตัวเองไม่เคยทำได้เลย นั่งคิด Logic อยู่นาน ก็ไม่ออกสักทีครับ</p><p>สุดท้ายก็ไม่เสร็จ แต่ที่ได้เพิ่มขึ้นก็แค่เรื่องของการแยก Package ที่ใช้ Test ออกจาก Package ของ Production Code</p><p>ก็ได้พยายามปรับ Coding Standard ของตัวเองด้วย เพราะมีที่ได้รับมาจากพี่ปุ๋ยบ้าง ส่วนตัวในภาษา Go ก็ถือว่าเป็นเด็กใหม่มาก ๆ ครับ เรื่องเครื่องมือ เรื่อง Syntax ภาษาก็ยังไม่แม่นดี แถม Go Tour ก็ยังเล่นไม่จบเลย</p><p>ต่อมาก็ได้รับหน้าที่มาช่วยอีกโปรเจคนึง เป็นเรื่องของการโอนเงิน ก็ต้องมาไล่ออกแบบกันใหม่ ซึ่งก็มึนไปอีก แต่ก็พยายามกระตุ้นตัวเองให้ Alert อยู่ตลอด ให้นานที่สุดเท่าที่ตัวเองจะไหว จะได้รู้สึกไม่ตึงเกิน และมันจะพร้อมรับอะไรใหม่ ๆ</p><p>ซึ่งวันนี้ก็ได้ลองทำอะไรใหม่ ๆ ด้วย เช่น เรื่องของการทดสอบก็ได้รู้ว่าถ้าหากเรามองภาพใหญ่ของระบบเราออก การทดสอบแต่ละส่วนมันก็จะง่ายขึ้น</p><p>เพราะเราก็พอจะรู้แล้วว่าพฤติกรรมการทำงานในแต่ละส่วนของระบบนั้น ต้องทำยังไง พอจะเอามาเขียนจริง ๆ ก็จะได้มองออกว่าจะทำยังไงให้ทดสอบได้ง่าย ๆ ด้วยครับ</p><p>วันนี้ก็ปล้ำอยู่กับมันนานมาก เรื่องของการทดสอบเนี่ย จนเวลาหมดไปแบบไร้ค่ามาก ๆ แต่ก็ทำให้รู้เพิ่มอีกว่าตัวเองยังขาดเรื่องของการทดสอบแบบนี้มาก ๆ</p><blockquote>ดังนั้น ช่วงนี้จะต้องฝึกเพิ่มขึ้นอีกเยอะเลยครับ</blockquote><blockquote>ขอบคุณครับ :D</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a26f51da34c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflect [13/07/61]— สิ่งที่ได้รับวันนี้]]></title>
            <link>https://medium.com/@imkk000/reflect-13-06-61-%E0%B8%AA%E0%B8%B4%E0%B9%88%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%99%E0%B8%B5%E0%B9%89-36b62413fc?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/36b62413fc</guid>
            <category><![CDATA[sck-seal]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Sun, 15 Jul 2018 05:52:33 GMT</pubDate>
            <atom:updated>2018-07-16T15:52:10.357Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีครับ สำหรับวันนี้ผมก็อยากมา Reflect สิ่งที่ได้ในวันนี้ให้อ่านกันครับ</p><p>เริ่มเช้าด้วยการพูดคุย วันนี้มีการพูดคุยกันเพิ่มมากขึ้นอีกครับ ผมได้เห็นคนในทีมทุกคนมีความตั้งใจที่ต้องการให้งานเสร็จ มีการถกเถียงแบบดุดันมากขึ้น กล้าพูด กล้าแสดงความคิดเห็น เสมือนเป็นงานของตัวเองจริง ๆ แม้งานที่ทำจะไม่ได้ออกมาดีสำหรับคนอื่น ๆ แต่ผมเชื่อว่าสำหรับคนในทีม พวกเขาทำเต็มที่แล้วครับ</p><p>ซึ่งในขณะที่ผมนั่งเงียบ ผมก็นั่งเฝ้ามองทุก ๆ คนทำงาน วันนี้มีบางจุดที่รู้สึกขัดแย้งกับที่ตัวเองเข้าใจ แต่ผมก็พยายามเงียบมันเอาไว้ เพราะเห็นว่าทุก ๆ คนในทีมกำลังเข้าใจไปในทางเดียวกัน การที่ผมมานั่งขัดทุก ๆ อย่าง อาจจะทำให้งานไม่ขยับเลยก็เป็นได้</p><p>สำหรับตอนนี้ผมก็พยายามหาวิธีใหม่ ๆ มาลองใช้กับตัวเองดู ซึ่งบอกได้เลยว่า วันนี้ผมรู้สึกอึดอัดมาก เนื่องจากปกติเป็นคนชอบพูด ชอบขัด ถ้ามันรู้สึกขัดแย้งกับตัวเอง</p><p>และได้รู้ตัวเองเพิ่มอีกว่าตัวผมต้องพัฒนาเรื่องของการวางแผนในการทำงานเพิ่มขึ้น ต้องใส่ใจรายละเอียดเพิ่มขึ้น ต้องหัดสังเกตคนรอบข้างเพิ่มขึ้น ต้องลดเรื่องการคิดถึงคนอื่นลงและเอาเวลาไปคิดถึงสิ่งที่ต้องทำดีกว่า</p><p>สุดท้ายของวันนี้พี่เอได้ให้ทุก ๆ คนในทีมเขียนสิ่งที่ต้องการความช่วยเหลือจากคนอื่น และให้ชมคนอื่น คนละข้อ คือ มันทำให้ผมเห็นมากขึ้นว่าคนอื่น ๆ ในทีมคิดกับผมยังไงบ้าง</p><blockquote>สำหรับตัวผมตอนนี้ก็นับว่าโชคดีมาก ๆ ที่ได้รับรู้ว่าตัวเองต้องปรับปรุงอะไร ก่อนที่จะสายไปกว่านี้ครับ</blockquote><blockquote>ขอบคุณครับ :D</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36b62413fc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reflect [12/07/61] — สิ่งที่ได้รับวันนี้]]></title>
            <link>https://medium.com/@imkk000/reflect-12-06-61-%E0%B8%AA%E0%B8%B4%E0%B9%88%E0%B8%87%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B9%84%E0%B8%94%E0%B9%89%E0%B8%A3%E0%B8%B1%E0%B8%9A%E0%B8%A7%E0%B8%B1%E0%B8%99%E0%B8%99%E0%B8%B5%E0%B9%89-5d688a7f187?source=rss-6dc7b85f0dfd------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d688a7f187</guid>
            <category><![CDATA[sck-seal]]></category>
            <dc:creator><![CDATA[NB]]></dc:creator>
            <pubDate>Thu, 12 Jul 2018 16:43:02 GMT</pubDate>
            <atom:updated>2018-07-16T15:52:38.737Z</atom:updated>
            <content:encoded><![CDATA[<p>สวัสดีครับ วันนี้ก็ขอสั้น ๆ สำหรับการ Reflect ตัวเองครับ</p><p>วันนี้ก็ได้ฝึกเรื่องของการออกแบบเพิ่มขึ้นครับ จากโจทย์ที่ใช้เป็นโจทย์ OX แต่ก็ยังมีหลาย ๆ ส่วนที่ยังพลาดอยู่มาก เช่น ยังมีการพุ่งเข้าหาผลลัพธ์สุดท้าย แทนที่จะมานั่งคิดถึงสิ่งที่เกี่ยวข้องเพื่อให้ได้ของนั้นออกมา</p><p>ยังต้องปรับเรื่องของ Syntax Go ด้วย เพราะบางอย่างที่เอามาใช้ยังเข้าใจมันยังไม่ดีพอ ก็เอามาใช้แล้ว พอเกิดปัญหาก็เลยติดยาว ๆ เป็นต้น</p><p>แต่ในการทำงานเป็นทีมก็ได้เรื่องของการสื่อสารมากขึ้น กล้าพูดมากขึ้น ทั้งที่ผิดบ้าง มั่วบ้าง กล้าถามในสิ่งที่ไม่เข้าใจมากขึ้น</p><p>และได้ลองสังเกตตัวเองเพิ่มขึ้นอีกว่าช่วงเวลาทำงาน ช่วงไหนที่คิดได้ดี (หัวลื่น) มากที่สุด ก็จะได้พยายามปรับให้ตัวเอง อยู่ในความรู้สึกแบบนั้นให้ได้</p><blockquote>ตลอดช่วงเวลาที่ต้องทำงานครับ</blockquote><blockquote>ขอบคุณครับ :D</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d688a7f187" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>