<?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 Nguyen Sy Thanh Son on Medium]]></title>
        <description><![CDATA[Stories by Nguyen Sy Thanh Son on Medium]]></description>
        <link>https://medium.com/@thanhson1085?source=rss-aecd9f3f92dc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JGqvL3jvUyfJfb-M.jpg</url>
            <title>Stories by Nguyen Sy Thanh Son on Medium</title>
            <link>https://medium.com/@thanhson1085?source=rss-aecd9f3f92dc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 15:37:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@thanhson1085/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[Sử dụng Metamask kết nối với Vietnam Ethereum Testnet]]></title>
            <link>https://medium.com/vischub/s%E1%BB%AD-d%E1%BB%A5ng-metamask-k%E1%BA%BFt-n%E1%BB%91i-v%E1%BB%9Bi-vietnam-ethereum-testnet-77512c6d7387?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/77512c6d7387</guid>
            <category><![CDATA[blockchain]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Wed, 10 Jan 2018 15:28:42 GMT</pubDate>
            <atom:updated>2018-01-16T10:53:04.499Z</atom:updated>
            <content:encoded><![CDATA[<p>Ở bài viết trước, Việt đã hướng dẫn các bạn <a href="https://medium.com/vischub/tham-gia-testnet-vet-vietnam-ethereum-testnet-6a0fab4a6302">sử dụng Geth để kết nối với Vietnam Ethereum Testnet (VET)</a>. Trong bài viết này, mình sẽ hướng dẫn các bạn sử dụng ví Metamask để kết nối với VET.</p><p>Trước hết, bạn cần sử dụng trình duyệt Chrome và cài đặt Metamask Plugin, bạn có thể tham khảo bài viết <a href="https://medium.com/vischub/ethereum-101-t%E1%BA%A1o-v%C3%AD-v%E1%BB%9Bi-metamask-d6c51bdde762">Cài đặt/Sử dụng Metamask của Việt</a>.</p><p>Sau khi có Metamask, vào phần kết nối mạng, chọn `Custom RPC` như hình sau:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*1fm1r9wHxWQzIFuhCqV61g.png" /><figcaption>Chọn Custom RPC</figcaption></figure><p>Khi màn hình Setting xuất hiện, bạn gõ <a href="https://vet-rpc.visc.network/">https://vet-rpc.visc.network</a> vào textbox New RPC Url.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/349/1*H5ONuzWBu-NREsP710c-rA.jpeg" /><figcaption>https://vet-rpc.visc.network</figcaption></figure><p>Sau đó, bạn click Save. Như vậy, bạn đã kết nối xong vào VET.</p><p>Bước tiếp theo bạn cần có ETH để trả phí Gas cho việc triển khai Smart Contract. Để có 100 ETH, bạn có thể comment địa chỉ ví của bạn vào post sau: <a href="https://goo.gl/ZdzMPU">https://goo.gl/ZdzMPU</a>.</p><p>Sắp tới VET sẽ xây dựng trang Faucet để mọi người có thể chủ động lấy ETH (tương tự trang Faucet của Rinkeby).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/704/1*IbLC1NP_H8Hz827wXHwOlA.png" /><figcaption>Ví của bạn khi có 100 ETH</figcaption></figure><p>Như vậy bạn đã có thể sử dụng để phát triển Dapp, Smart Contract.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=77512c6d7387" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vischub/s%E1%BB%AD-d%E1%BB%A5ng-metamask-k%E1%BA%BFt-n%E1%BB%91i-v%E1%BB%9Bi-vietnam-ethereum-testnet-77512c6d7387">Sử dụng Metamask kết nối với Vietnam Ethereum Testnet</a> was originally published in <a href="https://medium.com/vischub">VISCHub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to start building an ICO Smart Contract]]></title>
            <link>https://medium.com/tomochain/how-to-start-building-an-ico-smart-contract-4c8864cff3a8?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c8864cff3a8</guid>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[initial-coin-offering]]></category>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Fri, 10 Nov 2017 03:31:37 GMT</pubDate>
            <atom:updated>2018-08-17T10:50:51.527Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-qbgaVmrqA0XPoOxMlktLw.png" /></figure><p>ICO (Initial Coin Offering) is a new way to raise fund for startups. There are many steps we have to be done before launching an ICO. One of them is writing ICO Smart Contract. Actually, ICO Smart Contract source code is quite simple. I think that, in the near future, there will be ICO Platform to help you create Smart Contract in some of mouse clicks.</p><p>However, Blockchain and Smart Contract is still new with developers, and Smart Contract development process is still complicated. So developer will think that there are a lot of things to learn before creating an ICO Smart Contract.</p><p>I created a documents to guide developers who have experiences in development but are new in Blockchain and Smart Contract. The document will show you step by step to create an Simple ICO Smart Contract and deploy it to Local Environment or Testnet (Ropsten).</p><p>For the document, you can take a look to link: <a href="https://erc20token.sonnguyen.ws/">https://erc20token.sonnguyen.ws</a></p><p>The document is open source under MIT License, now there is only English version. So contributions are always appreciated. The source code of documents and demos are published to Github at link: <a href="https://github.com/thanhson1085/DemoCoin">https://github.com/thanhson1085/DemoCoin.</a></p><p>The smart contract that we used in my tutorial is very simple and only for education purpose. In fact, the scenario for ICO is more complicate and we need to comply the law of country where you want to sell your token.</p><p>Beside the law, you should concern to the security issue for your smart contract. Try to make your contract as simple as possible (Security loves simple). And reading the <a href="https://github.com/ConsenSys/smart-contract-best-practices">smart contract best practice document,</a> learn from the fails (as DAO, <a href="https://sonnguyen.ws/hacked-parity-multisig-wallet-ropsten-testnet/">Parity MutliSig Wallet</a>) before start coding.</p><p>Good luck!</p><p>See on my blog: <a href="https://sonnguyen.ws/how-to-get-started-building-ico-smart-contract/">https://sonnguyen.ws/how-to-get-started-building-ico-smart-contract/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c8864cff3a8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tomochain/how-to-start-building-an-ico-smart-contract-4c8864cff3a8">How to start building an ICO Smart Contract</a> was originally published in <a href="https://medium.com/tomochain">TomoChain</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I hacked Parity Multisig Wallet — Ropsten Network]]></title>
            <link>https://medium.com/tomochain/i-hacked-parity-multisig-wallet-ropsten-network-89241af06fd1?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/89241af06fd1</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[smart-contracts]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[ethereum]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Thu, 09 Nov 2017 01:25:34 GMT</pubDate>
            <atom:updated>2018-08-17T10:51:20.344Z</atom:updated>
            <content:encoded><![CDATA[<p>Parity MultiSig Wallet was hacked in 7 November 2017 (see the details here <a href="https://paritytech.io/blog/security-alert.html">https://paritytech.io/blog/security-alert.html</a>). The hack destroyed 1% of Ethereum’s valuation.</p><p>Today, I try to investigated the vulnerability and re-do exactly what hacker did with Parity Wallet’s smart contract.</p><p>There are two main steps I need to do:</p><ul><li>Create Parity Multisig Wallet in Ropsten Testnet</li><li>Try to hack it</li></ul><p>I recorded all steps I did in the video.</p><p><a href="https://www.youtube.com/watch?v=qGWdBRU9-g0">https://www.youtube.com/watch?v=qGWdBRU9-g0</a></p><p>At the first step, I red <a href="https://github.com/paritytech/parity/blob/c4196a5de31e0b97ec42d5263d9db404cea4a776/js/src/contracts/snippets/enhanced-wallet.sol">the source code of Multisig Wallet.</a> Parity Multisig Wallet contains two main contracts — Wallet Contract and WalletLibrary Contract. Wallet Contract stores ETH, WalletLibrary contains functions to implement almost features of a multisig wallet.</p><p>After understanding a little bit, I tried to deploy the MultiSig Wallet to Ropsten Testnet using <a href="https://remix.ethereum.org/">Remix IDE</a> and Metamask</p><p>Now, I show you the steps to deploy the contracts.</p><h2>Step 1: Installation</h2><p>Open Metamask, select Ropsten Network, create two account (User Accout and Hacker Account) and get free ETH.</p><p>Open Remix IDE, select Solidity compiler version `soljson-v0.4.10+commit.f0d539ae.js`. Create file Wallet.sol and copy/paste the source code to the file.</p><h2>Step 2: User deploys WalletLibrary Contract</h2><p>On Metamask, select User Account. In Remix IDE, select WalletLibrary Contract and click create button to deploy. Waiting for the deployment finished.</p><p>After that, copy the address of WalletLibrary (with me, it is <a href="https://ropsten.etherscan.io/address/0x6bc323538bad65bbde22f908f9a8f180ea4078fe#code">0x6bc323538bad65bbde22f908f9a8f180ea4078fe</a>) and paste it into line 448 in Wallet.sol file. This step means we link Wallet Contract to WalletLibrary Contract that we just deployed.</p><h2>Step 3: User deploys Wallet Contract</h2><p>Wallet Contract has some constructor parameters, so we need to complete it. In my case, it is [&quot;0xd088d9c6abb936260BF4540026C8F0aDFfD09836&quot;], 1, 1000. `0xd088d9c6abb936260BF4540026C8F0aDFfD09836` is User Account Address.</p><p>Now click create button to deploy the Wallet Contract. This contract is multi-signature wallet and store ETH.</p><h2>Step 4: What hacker did?</h2><p>This step, I will do things like Hacker did.</p><p>I open Metamask, select Hacker Account. I open Remix IDE, copy/paste the source code to Wallet.sol file. I do not need to deploy WalletLibrary contract again (Hacker was same). In Remix IDE, I select WalletLibrary Contract, and copy/paste the address of Wallet Library to address textbox and click address button. Now I have WalletLibrary Contract in my IDE.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*nTpkgErv2Q6qtAsP.jpg" /></figure><p>Now, I run initWallet function</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*8a65G3FvN2lSkBYt.jpg" /></figure><p>And run kill function.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/0*3TOgWcyshQo7CLo6.jpg" /></figure><p>So the WalletLibrary was died.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*xXiyoX_OsvGIH5P-.jpg" /></figure><h2>Conclusions</h2><p>I think that hacker do not want to burn 500.000 ETH. He just want to send 500.000 ETH to his wallet, so he called kill function. Because I checked kill function source code:</p><pre>function kill(address _to) onlymanyowners(sha3(msg.data)) external {<br>    suicide(_to);<br>}</pre><p>It means that if kill function is called, the contract will be died and send all the balance to his wallet. But he had a mistake. 500.000 ETH is not stored in WalletLibrary Contract, It is stored in Wallet Contract. So the result is 500.000 ETH was frozen, and he got nothing.</p><p>That is a bad day with Ethereum Community and hacker as well.</p><h2>References</h2><p><a href="https://goo.gl/v3iwfB">Parity Multisig Hacked. Again</a></p><p><a href="https://goo.gl/zSCaxv">Parity Multi-sig wallets funds frozen (explained)</a></p><p>See on my blog: <a href="https://sonnguyen.ws/hacked-parity-multisig-wallet-ropsten-testnet/">https://sonnguyen.ws/hacked-parity-multisig-wallet-ropsten-testnet/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89241af06fd1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tomochain/i-hacked-parity-multisig-wallet-ropsten-network-89241af06fd1">I hacked Parity Multisig Wallet — Ropsten Network</a> was originally published in <a href="https://medium.com/tomochain">TomoChain</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gọi vốn thông qua tiền thuật toán (ICO)]]></title>
            <link>https://medium.com/vischub/g%E1%BB%8Di-v%E1%BB%91n-th%C3%B4ng-qua-ti%E1%BB%81n-thu%E1%BA%ADt-to%C3%A1n-ico-67a7d377b734?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/67a7d377b734</guid>
            <category><![CDATA[ethereum]]></category>
            <category><![CDATA[ico]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Mon, 30 Oct 2017 16:05:57 GMT</pubDate>
            <atom:updated>2017-10-31T15:35:40.267Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCSWZ6feWxO_SeJ5f6SLww.jpeg" /></figure><p>ICO là quá trình gọi vốn bằng tiền thuật toán (hay còn gọi là tiền ảo, cryptocurrency). Khác với hình thức gọi vốn truyền thống, gọi vốn qua tiền ảo sẽ giúp các công ty tiếp cận nhanh đến các nhà đầu tư (đặc biệt là các nhà đầu tư sở hữu tiền thuật toán) với quy mô toàn cầu.</p><p>Với hình thức gọi vốn này, các nhà đầu tư cần phát hành Token trên các nền tảng Blockchain (phổ biến nhất là Ethereum, trong nội dung bài viết này mình chỉ đề cập đến việc phát hành Token trên nền tảng Ethereum). Hiện nay, việc phát hành Token trên Ethereum đã được chuẩn hoá theo tiêu chuẩn ERC20 (<a href="https://github.com/ethereum/eips/issues/20">https://github.com/ethereum/eips/issues/20</a>). Dữ liệu về Token được lưu trong Smart Contract. Vì vậy, các công ty phát hành Token thường thuê các Developer (hoặc các bên thứ 3) viết các Smart Contract này.</p><p>Để có thể xây dựng một Smart Contract cho việc gọi vốn, các bạn có thể tham khảo tài liệu mình đã chuẩn bị tại link: <a href="https://erc20token.sonnguyen.ws/">https://erc20token.sonnguyen.ws/</a>. Tài liệu này là tại liệu mở, hiện tại chỉ mới có bản tiếng Anh. Đối tượng sử dụng của tài liệu là các Developer đã có những hiểu biết cơ bản về Blockchain và thành thạo một ngôn ngữ lập trình (đặc biệt NodeJS). Toàn bộ nội dung của tài liệu và mã nguồn sử dụng trong tài liệu mình đã đưa lên Github (<a href="https://github.com/thanhson1085/DemoCoin">https://github.com/thanhson1085/DemoCoin</a>). Rất mong nhận được sự đóng góp thêm từ phía cộng đồng.</p><p>Bên cạnh việc chuẩn bị Smart Contract, các công ty phát hành Token cũng cần phải có các bài báo kỹ thuật (White Paper), trong đó có trình bày đến việc Token sẽ được tích hợp như thế nào trong các sản phẩm của công ty. Hiện nay, một số nước không chấp nhận hình thức gọi vốn này. Vì vậy, các công ty cần nghiên cứu kỹ vấn đề luật pháp để tránh những điều không có thể xảy ra.</p><p>Việc gọi vốn thông qua tiền kỹ thuật số thực chất là việc bán Token. Token đó có bán được hay không phụ thuộc vào khả năng thuyết phục nhà đầu tư của bạn.</p><p>Chúc các bạn thành công.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67a7d377b734" width="1" height="1" alt=""><hr><p><a href="https://medium.com/vischub/g%E1%BB%8Di-v%E1%BB%91n-th%C3%B4ng-qua-ti%E1%BB%81n-thu%E1%BA%ADt-to%C3%A1n-ico-67a7d377b734">Gọi vốn thông qua tiền thuật toán (ICO)</a> was originally published in <a href="https://medium.com/vischub">VISCHub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to build a simple AI with Tensorflow]]></title>
            <link>https://medium.com/@thanhson1085/how-to-build-a-simple-ai-with-tensorflow-3485a89c9477?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/3485a89c9477</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[tensorflow]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Wed, 19 Apr 2017 10:45:45 GMT</pubDate>
            <atom:updated>2017-04-19T10:45:45.298Z</atom:updated>
            <content:encoded><![CDATA[<p>I am not Data or AI scientist, I am just a Developer. I tried to learn AI in my free time. There are a lot of information from Internet. After reading many many articles and source codes, I still did not find the approach. I confused by many AI algorithms as CNN, Logistic Regresstion, K-Tree, N-Tree … As you know, I am a developer, so I did not understand at all. :).</p><p>Finally, I find the solution. The thing I need just Tensorflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/0*J9AUVuJvkrbq_m01." /></figure><p>To start, I try to build AI that can classify Dog/Cat Image. I followed the steps below.</p><h3>Step 0 — Installation</h3><p>I installed Tensorflow on my Ubuntu 14.04 Server by commands:</p><blockquote>sudo apt-get install python-pip</blockquote><blockquote>sudo pip install virtualenv</blockquote><blockquote>virtualenv -p /usr/bin/python3 env</blockquote><blockquote>. env/bin/activate</blockquote><blockquote>pip — version</blockquote><blockquote>pip install — upgrade tensorflow</blockquote><p>To understand this, you have to understand Python, PIP and Virtualenv</p><h3>Step 1 — The Samples</h3><p>I search Dog/Cat Image on Google Image. After that, I resize/save them to my local storage.</p><p>Please see link: <a href="https://github.com/thanhson1085/Hello-AI/tree/master/dataset/training_set">https://github.com/thanhson1085/Hello-AI/tree/master/dataset/training_set</a></p><h3>Step 2 — Training</h3><p>After having the samples, I started to research to train my AI. I found the solution here: <a href="https://github.com/thanhson1085/Hello-AI/blob/master/retrain.py">https://github.com/thanhson1085/Hello-AI/blob/master/retrain.py</a></p><p>It was copy from Tensorflow Example: <a href="https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/image_retraining/retrain.py">https://github.com/tensorflow/tensorflow/blob/master/tensorflow/examples/image_retraining/retrain.py</a></p><p>Now, I run command to train my AI by using Inception V3 Model and my Training Dataset</p><blockquote>python retrain.py — bottleneck_dir=tmp/bottlenecks — how_many_training_steps 500 — model_dir=tmp/inception — output_graph=output/retrained_graph.pb — output_labels=output/retrained_labels.txt — image_dir=dataset/training_set/</blockquote><p>The most import thing is the output file output/retrained_graph.pd. This is the trained model file, I will use this file for my AI.</p><h3>Step 3 — AI Service</h3><p>After having the trained model file. I wrote the AI Service. I used Flask Framework to handle uploading image. When user uploads a image, my AI service will check it is CAT or DOG. Please see the source code:</p><blockquote>file.save(file_path)</blockquote><blockquote>thisis = app.catordog.run(file_path)</blockquote><p>For the details, see file <a href="https://github.com/thanhson1085/Hello-AI/blob/master/app.py">https://github.com/thanhson1085/Hello-AI/blob/master/app.py</a> and <a href="https://github.com/thanhson1085/Hello-AI/blob/master/catordog.py">https://github.com/thanhson1085/Hello-AI/blob/master/catordog.py</a></p><h3>Step 4 — Deployment</h3><p>Now, everything is reading to deploy. I chose Heroku to run my AI service <a href="https://thanhson1085-hello-ai.herokuapp.com/">https://thanhson1085-hello-ai.herokuapp.com/</a></p><p>Finally, we have a simple AI, we understand how it works, how to train it and what is most important thing we need to build a AI.</p><p>Thanks for your reading!</p><p>Source: <a href="https://sonnguyen.ws/first-ai-application/">https://sonnguyen.ws/first-ai-application/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3485a89c9477" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Open Tour — Hội tụ mở để cùng phát triển]]></title>
            <link>https://medium.com/dockervietnam/open-tour-h%E1%BB%99i-t%E1%BB%A5-m%E1%BB%9F-%C4%91%E1%BB%83-c%C3%B9ng-ph%C3%A1t-tri%E1%BB%83n-fa99f052fa37?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa99f052fa37</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Sun, 19 Feb 2017 16:58:53 GMT</pubDate>
            <atom:updated>2017-02-20T02:34:59.315Z</atom:updated>
            <content:encoded><![CDATA[<p>Open Tour khởi đầu từ ý tưởng cộng tác, giúp đỡ nhau của 03 cộng đồng nguồn mở tại Việt Nam gồm OpenCPS, Vietnam OpenStack và Docker Hanoi. Open Tour là một chuỗi các hoạt động, sự kiện hướng tới mục đích xây dựng hệ sinh thái FOSS Việt Nam, xây dựng mạng lưới chuyên gia FOSS, thúc đẩy việc sử dụng, ứng dụng và phát triển FOSS tại Việt Nam, đặc biệt trong khu vực các doanh nghiệp ICT và các cơ sở đào tạo, trên cơ sở tiếp thu tư tưởng và mô hình hoạt động của cộng đồng FOSS thế giới, và thông qua các hoạt động chia sẻ, quảng bá.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gMJicMOOiRqtUmFtn2iSGA.jpeg" /><figcaption>Open Tour — Hội tụ mở để cùng phát triển</figcaption></figure><p>Để mở đầu cho chuỗi các hoạt động của OpenTour sẽ là sự kiện: “<strong>Tối ưu môi trường phát triển phần mềm với teracy-dev</strong>” — người trình bày là Hoạt Lê, Co-founder, CEO của Teracy. Diễn ra vào ngày <strong>23/02/2017 tại </strong><a href="https://www.facebook.com/pages/Toong-Ho%C3%A0ng-%C4%90%E1%BA%A1o-Thu%C3%BD/1644988129146285"><strong>Toong Hoàng Đạo Thuý</strong></a><strong>, 25T2 Hoàng Đạo Thúy, Hà Nội.</strong></p><p>Agenda:<br>- Giới thiệu về OpenTour.<br>- teracy-dev: bộ công cụ giúp tối ưu môi trường phát triển phần mềm dành cho developer dựa trên Docker:<br>+ Giới thiệu<br>+ Vấn đề hiện tại của developer:<br>+ Trước khi có Docker<br>+ Trước khi có teracy-dev<br>+ Cách tiếp cận và giải quyết thông qua bộ công cụ Teracy-dev<br>+ Câu chuyện 4 năm với Teracy-dev<br>+ Sự xuất hiện của Docker trong Teracy-dev<br>- Demo các dự án thật<br>- Hỏi đáp</p><p>Mọi người quan tâm có thể đăng ký tại link sau: <a href="https://goo.gl/forms/ebnH90V6UHEsgyXa2">https://goo.gl/forms/ebnH90V6UHEsgyXa2</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa99f052fa37" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dockervietnam/open-tour-h%E1%BB%99i-t%E1%BB%A5-m%E1%BB%9F-%C4%91%E1%BB%83-c%C3%B9ng-ph%C3%A1t-tri%E1%BB%83n-fa99f052fa37">Open Tour — Hội tụ mở để cùng phát triển</a> was originally published in <a href="https://medium.com/dockervietnam">Docker Vietnam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Starting a Microservices Project with NodeJS and Docker]]></title>
            <link>https://medium.com/@thanhson1085/starting-a-microservices-project-with-nodejs-and-docker-f4b9be483340?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4b9be483340</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[microservices]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Wed, 15 Feb 2017 17:32:01 GMT</pubDate>
            <atom:updated>2017-02-15T17:32:46.703Z</atom:updated>
            <content:encoded><![CDATA[<p>Last year, I tried to build a starter project with Microservices pattern and DevOps culture. My source code is not perfect and there are many issue need to improve. However, I archived some goals, so I would like to share it to all of you. Please see my source code in Github <a href="https://github.com/thanhson1085/bean-seed">here</a>.</p><p>In this source code, I built two services, one for Frontend <a href="https://github.com/thanhson1085/bean-seed/tree/master/site-seed">AngularJS and Bootstrap</a>, one for Backend <a href="https://github.com/thanhson1085/bean-seed/tree/master/api-seed">ExpressJS and Mongoose</a>. All services in this project is dockerized and pushed to Docker Hub. You can read Dockerfile in each service for further details. To create a new service, you just create a new directory, writing source code for that service and update docker-compose.yml file. All Restful APIs should have documents, so I used Swagger Specs to write the document. It is really cool.</p><p>If you are many separate services, you can use my tool — <a href="https://github.com/thanhson1085/swagger-combined">swagger-combined</a> to combine all Swagger Document to only one document.</p><p>All long task should be processed asynchronously in background. I know RabbitMQ and Kafka can help me. But in this case, I choose Redis and Kue Library to keep the project simple.</p><h3>Run</h3><p>The Orchestration of Project is written in <a href="https://github.com/thanhson1085/bean-seed/blob/master/docker-compose.yml">docker-compose.yml</a> file. So it is so easily to understand and run the project.</p><p>docker-compose up</p><h3>Using Vagrant and Virtualbox</h3><p>We also start from Virtual Machine layer with Vagrant.</p><p>vagrant up</p><p>After that, you can access the application via link: <a href="http://172.20.20.20/">http://172.20.20.20</a></p><p>You can read <a href="https://github.com/thanhson1085/bean-seed/blob/master/Vagrantfile">Vagrantfile</a> to understand what we need to prepare for VMs.</p><h3>Monitor &amp; Logs</h3><p>This starter project also fully supports monitor by using Telegraf, InfluxDB, Grafana and Kapacitor. Supports centralizing Logs with fluentd, Kibana and Elasticsearch.</p><h3>System Architecture</h3><p>With the source code, we will have a system architecture as below</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*EaihVQexkCateN_ax3L5OA.jpeg" /><figcaption>DevOps Microservices Starter Project</figcaption></figure><p>Thank you for your reading. Please give me comments if there is any issue need to improve or fix.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4b9be483340" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tổng kết meetup cuối năm về Docker & Rancher]]></title>
            <link>https://medium.com/dockervietnam/t%E1%BB%95ng-k%E1%BA%BFt-meetup-cu%E1%BB%91i-n%C4%83m-v%E1%BB%81-docker-rancher-cffafb56f247?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/cffafb56f247</guid>
            <category><![CDATA[rancher]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[meetup]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Fri, 23 Dec 2016 05:57:58 GMT</pubDate>
            <atom:updated>2017-12-30T05:36:21.711Z</atom:updated>
            <content:encoded><![CDATA[<p>Docker đã ngày càng trở nên gần gũi với những người làm việc trong ngành IT. Tuy nhiên, những người sử dụng thành thạo Docker vẫn thường là những Sysadmin hoặc Developer thành thạo sử dụng dòng lệnh (command line). Vì vậy, có rất nhiều người nhận xét rằng họ cảm thấy khó khi tiếp cận với Docker. Và Rancher ra đời đã giải quyết được vấn đề đó. Sau một thời gian tìm hiểu Docker và Rancher, các kỹ sư tại công ty Eway nhận thấy rằng họ đã lựa chọn đúng.</p><p>Với mục đích giao lưu chia sẻ và xây dựng cộng đồng ngày càng lớn mạnh, công ty Eway đã hợ tác với nhóm Docker Hanoi để tổ chức meetup về Docker &amp; Rancher tại văn phòng công ty Eway.</p><p>Meetup đã diễn ra trong không khí rất ấm cúm, thân thiện tại công ty EWAY. Speaker chia sẻ rất nhiệt tình về Rancher. Mọi người tham gia đã có nhiều câu hỏi thú vị, làm cho meetup càng về sau càng sôi nổi.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WhDNTgcxIG142K6EowvCdA.jpeg" /></figure><p>Sau meetup, một người tham gia được phỏng vẫn cho biết:<br>“Rancher rất là tiện vì chỉ cần thao tác chuột qua giao diện web là có thể dựng được cả một hệ thống lớn có đầy đủ load balance, cluster, services… Rancher còn là mã nguồn mở, và cộng đồng khá lớn, vì vậy có rất nhiều template được chia sẻ. Tôi nghĩ rằng khi về nhà mình sẽ cài thử Rancher để trải nghiệm thêm”.<br>Meetup đã diễn ra rất thành công, chân thành cảm ơn công ty EWAY, Speaker Nghi Nguyen và tất cả mọi người đã tham gia meetup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*50zSGlZ2P6YkRz_CsIn6Hg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cffafb56f247" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dockervietnam/t%E1%BB%95ng-k%E1%BA%BFt-meetup-cu%E1%BB%91i-n%C4%83m-v%E1%BB%81-docker-rancher-cffafb56f247">Tổng kết meetup cuối năm về Docker &amp; Rancher</a> was originally published in <a href="https://medium.com/dockervietnam">Docker Vietnam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Sở hữu Docker Image đầu tiên]]></title>
            <link>https://medium.com/dockervietnam/s%E1%BB%9F-h%E1%BB%AFu-docker-image-%C4%91%E1%BA%A7u-ti%C3%AAn-6f687949ad6c?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f687949ad6c</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[docker-image]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Thu, 22 Dec 2016 02:31:59 GMT</pubDate>
            <atom:updated>2017-12-30T05:37:17.006Z</atom:updated>
            <content:encoded><![CDATA[<p>Trong bài viết này mình sẽ chia sẻ các bạn sơ lược về cách tạo một Docker Image và đẩy nó lên Docker Repository.</p><p>Trước tiên chúng ta cần cài đặt Docker lên máy của mình, và tạo một tài khoản ở site <a href="https://hub.docker.com/">https://hub.docker.com/</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*4EaPmvyhWQ_To8HQXmnCBA.png" /></figure><p>Tiếp đến, chúng ta mở Terminal lên gõ lệnh:</p><pre><strong>docker</strong> login</pre><p>Sau khi gõ lệnh, bạn cần nhập Username và Password các bạn đã đăng ký ở Docker Hub.</p><p>Sau đó, chúng ta tạo một Dockerfile đơn giản như sau:</p><pre>FROM ubuntu:14.04<br>MAINTAINER [TEN_CUA_BAN]<br>RUN apt-get update</pre><p>Các bạn có thể thấy, trong Dockerfile này, mình sử dụng Image Ubuntu 14.04, và chưa có một cài đặt mở rộng nào. Tùy vào mục đích của Docker Image mà bạn có thể chỉnh sửa Dockerfile theo ý của mình.</p><p>Sau khi hoàn tất Dockerfile, chúng ta sẽ tiến hành Build một Docker Image với lệnh:</p><pre>sudo chmod 755 Dockerfile<br>sudo docker build -t=&quot;thanhson1085/firstimage&quot; .</pre><p>Trong đó, thanhson1085/firstimage là tên của Image.</p><p>Sau khi hoàn tất Build Docker Image. Chúng ta nên tiến hành chạy thử. Với trường hợp của mình. Mình chạy thử với lệnh sau:</p><pre>sudo docker run -t -i thanhson1085/firstimage /bin/bash</pre><p>Cuối cùng, chúng ta đưa Docker Image của mình lên Docker Hub</p><pre>sudo docker push thanhson1085/firstimage</pre><p>Sau khi lệnh hoàn tất, bạn có thể đăng nhập trang hub.docker.com để kiểm tra lại quá trình đẩy Docker Image.</p><p>Để tìm hiểu sâu hơn về Docker, các bạn có thể tham gia cộng đồng Docker Hà Nội tại <a href="http://www.meetup.com/Docker-Hanoi/">http://www.meetup.com/Docker-Hanoi/</a><br>Hoặc Facebook Page: <a href="https://www.facebook.com/dockerhanoi/">https://www.facebook.com/dockerhanoi/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f687949ad6c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dockervietnam/s%E1%BB%9F-h%E1%BB%AFu-docker-image-%C4%91%E1%BA%A7u-ti%C3%AAn-6f687949ad6c">Sở hữu Docker Image đầu tiên</a> was originally published in <a href="https://medium.com/dockervietnam">Docker Vietnam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Meetup tháng 12/2016 về Docker và Rancher]]></title>
            <link>https://medium.com/dockervietnam/meetup-th%C3%A1ng-12-2016-v%E1%BB%81-docker-v%C3%A0-rancher-6a64545bbea5?source=rss-aecd9f3f92dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a64545bbea5</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[rancher]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[Nguyen Sy Thanh Son]]></dc:creator>
            <pubDate>Fri, 16 Dec 2016 03:41:17 GMT</pubDate>
            <atom:updated>2017-12-30T05:37:00.847Z</atom:updated>
            <content:encoded><![CDATA[<p>Đây là một meetup tổng kết cuối năm của nhóm Docker Hanoi hợp tác cùng công ty công nghệ Eway. Meetup được tổ chức vào lúc 18:30–21:00 ngày 22 tháng 12 năm 2016 tại Công ty Eway, toà nhà VET Hoàng Quốc Việt.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lRqKWfoSC8ykzvpHTF5lvg.png" /><figcaption>Docker &amp; Rancher</figcaption></figure><p>Để tham gia sự kiện, anh chị em chỉ cần điền vào form ở link sau <a href="http://bit.ly/dockerhanoi-rancheros">http://bit.ly/dockerhanoi-rancheros</a></p><p>Chủ để của Meetup tháng 12 là “Building scalable and high-availability Service with Docker &amp; Ranche”. Diễn giả là một kỹ sư cao cấp đến từ công ty Eway.</p><p>Chi tiết nội dung được sơ lược như sau:</p><p>• Multi-Host Docker Container Management</p><p>• Linking Services</p><p>• Sidekicks</p><p>• Load Balancer</p><p>• Zero Downtime Deployment</p><p>• MonitoringDebugging</p><p>Nếu anh em chưa biết nhiều về Rancher, có thể tham khảo thêm tại <a href="http://rancher.com/rancher-os/">http://rancher.com/rancher-os/</a>.</p><p>Trang Meetup của sự kiện <a href="https://www.meetup.com/Docker-Hanoi/events/236217437/">https://www.meetup.com/Docker-Hanoi/events/236217437/</a>. Docker Hanoi luôn chào đón tất cả anh chị em quan tâm công nghệ.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a64545bbea5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dockervietnam/meetup-th%C3%A1ng-12-2016-v%E1%BB%81-docker-v%C3%A0-rancher-6a64545bbea5">Meetup tháng 12/2016 về Docker và Rancher</a> was originally published in <a href="https://medium.com/dockervietnam">Docker Vietnam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>