<?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 Alan Chang on Medium]]></title>
        <description><![CDATA[Stories by Alan Chang on Medium]]></description>
        <link>https://medium.com/@alanchang_66209?source=rss-53eaf9f8baa9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*FVk6vPGEo5bzrGKs.</url>
            <title>Stories by Alan Chang on Medium</title>
            <link>https://medium.com/@alanchang_66209?source=rss-53eaf9f8baa9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 06:56:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alanchang_66209/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[Beetle Coin MasterNode (MN) and Proof-of-Stake (POS) Rewarding Observation]]></title>
            <link>https://medium.com/@alanchang_66209/beetle-coin-masternode-mn-and-proof-of-stake-pos-rewarding-observation-de0754acf10d?source=rss-53eaf9f8baa9------2</link>
            <guid isPermaLink="false">https://medium.com/p/de0754acf10d</guid>
            <category><![CDATA[beetlecoin]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[proof-of-stake]]></category>
            <category><![CDATA[bitcoin-mining]]></category>
            <category><![CDATA[blockchain]]></category>
            <dc:creator><![CDATA[Alan Chang]]></dc:creator>
            <pubDate>Thu, 08 Feb 2018 06:59:15 GMT</pubDate>
            <atom:updated>2020-08-18T05:15:30.885Z</atom:updated>
            <content:encoded><![CDATA[<p>There are three major rewarding systems for cryptocurrency nowadays. The first one Proof-of-Work (POW) applied in bitcoin uses computationally intensive puzzles in order to validate transactions and create new blocks. The second one Proof-of-Stake (POS) [1] choses new blocks via various combinations of random selection and wealth or age. The masternode (MN) is another form of staking. The Beetle Coin [2] applies all of these. MN and POS are focused in this article.</p><p>POS is rewarded by creating the new block. One factor of the algorithm to chose the winner bases on the weight defined by the coin age and amount. The coin age means how long you keep coins in the wallet and is reset to zero after getting the reward. Current POS reward is 312.5 BEET before 50000 blocks.</p><p>MN gets the reward in the round-robin way with randomness [3]. MNs are randomly selected for the reward in each block from a list once they reach the top 10% of the total count of MNs, and moved to the back of the list. As more MNs are created, the duration between rewards increases. Due to the selection algorithm, there is always an aspect of randomness, but in the long term all MN owners should receive similar rewards. The statistical frequency is determined by the total number of MN. Current MN reward is 937.5 BEET before 50000 blocks and frequency is 17 hours with 458 nodes [4]. You may get 2 rewards in 2 hours because you were the last node in the previous round and the first one in the next round. In contrast, you may wait 1 day without any reward because you are the last in the next round. Moreover, you may wait many days without any reward because you are always not chosen very unluckily even if you’re in the top 10%. No worries, you will be chosen finally and get average rewards in the long term.</p><p>To setup a MN, you need 50000 BEET in the wallet and associate them to the MN. Please note this 50000 BEET cannot be applied for POS. If you want to get both MN and POS rewards, remember to hold the MN rewards as the POS coins.</p><p>Donation Addresses:</p><p>Bitcoin [$BTC] bc1qva36jyaqnwzrupd67u9dpk7jvfqv4uqlm7pc7w</p><p>Ethereum [$ETH] 0x1aEEF238961aE4E6a4643B98B3dDd367b8BbdC45</p><p>References:</p><p>[1] <a href="https://en.wikipedia.org/wiki/Proof-of-stake">Proof-of-Stake (POS)</a></p><p>[2] <a href="https://beetlecoin.io/">Beetle Coin</a></p><p>[3] <a href="https://dashpay.atlassian.net/wiki/spaces/DOC/pages/33947684/Understanding+masternodes">Understanding masternodes</a></p><p>[4] <a href="https://masternodes.online/currencies/BEET/">masternodes.online</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de0754acf10d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[曼谷觀察 2017]]></title>
            <link>https://medium.com/@alanchang_66209/%E6%9B%BC%E8%B0%B7%E8%A7%80%E5%AF%9F-2017-508815315d0c?source=rss-53eaf9f8baa9------2</link>
            <guid isPermaLink="false">https://medium.com/p/508815315d0c</guid>
            <category><![CDATA[massage-therapy]]></category>
            <category><![CDATA[grabtaxi]]></category>
            <category><![CDATA[bangkok]]></category>
            <category><![CDATA[thailand]]></category>
            <category><![CDATA[uber]]></category>
            <dc:creator><![CDATA[Alan Chang]]></dc:creator>
            <pubDate>Thu, 23 Nov 2017 14:57:41 GMT</pubDate>
            <atom:updated>2017-11-23T14:57:41.591Z</atom:updated>
            <content:encoded><![CDATA[<p>在曼谷機場轉機很多次，也來過曼谷幾次，都是跟團或是朋友安排好的行程，這次是自己出差安排行程，對這個城市有比較多一點認識。</p><p>因為是臨時決定的行程，會場旅館已經沒有空房，五天行程因為預算住了三間旅館，會場捷運沒有到，計程車是這次出差主要交通工具。為了要收據本來打算用Uber，在叫車時卻一直出現不支援支付的錯誤，還好泰國有另一個叫車APP Grab，跟Uber類似而且支援交通工具更多。這裡車資不高，但是交通況狀很差，汽車感覺比機車多，好像每個時段都是rush hour，三公里的車程要半小時以上。為了搶時間，司機開車都很兇不怕碰撞，跟埃及很像。有一天為了趕會議，第一次坐計程機車，比汽車快多也恐怖多了。</p><p>這裡有亞洲最新的事物，也保有泰國傳統，市容新舊差異大，在Siam有密集又巨大的百貨，河岸有興建中更大的賣場，同時也可以看到市區的老舊矮房。星巴克在大樓的兩邊可以各開一間，同樣商店走幾步路就重覆。男生的購物選擇不多，精品比台灣貴，最後只選了幾件當地名牌的合身短T [1]，比較特別的是這裡的百貨可以試穿，但是沒有更衣室，必須在店員還有其他人面前脫掉上衣。</p><p>第一天住河岸Hilton，搭了夜船去新開的碼頭夜市，風景很好但是湄公河很濁，夜市規畫的很好，有摩天輪適合拍照，各種食物紀念品都買的到，相對來講價格是高一點。東南亞的食物因為天氣熱，味道都比較重，不管是路邊攤還是飯店自助餐都很對我的味，這幾天吃了米粉湯、芒果糯米飯、香蕉煎餅、椰奶冰沙、泰式奶茶、泰式酸辣湯、泰式湯圓、綠咖哩炒飯、烤雞肉串、Hokkaido Cheese Toast，還沒有遇到地雷。</p><p>每個人聽到我要去泰國，都叫我去按摩，上網找了按摩券，有泰式跟芳療，同事說不要選泰式，會被按摩大嬸十指緊扣，所以我選了芳療，結果還是被十指緊扣了。最後一晚按摩完已經十一點多了，深夜的曼谷還是很熱鬧，在路上會被按摩妹摟腰搭訕，跟白天很不一樣，但是不會有很危險的感覺。</p><p>因為在計程車上花了蠻多時間塞車，有試著跟司機聊天，英文都不太行，比較高級計程車的司機會比較敢講。泰國的物價比台灣低一點，司機說有教育程度起薪是15000泰銖，沒有教育背景是9000 [2]，所以生活上是比台灣辛苦的。看到路邊很多按摩店，司機卻說泰國人自己是不按摩的，但是一直說Thai girl很好，要我跟她們學一點泰文。也講到他不坐捷運，因為太擠又常壞，車廂是買二手的。另外也告訴我他覺得計程機車很危險。</p><p>十一月這個時間點不會太熱，適合來曼谷，不過還是建議兩個人同行，可以嘗試比較多食物，晚上的行程也比較好安排。</p><p>參考資料:</p><p>[1] <a href="https://www.facebook.com/policebodysize/">Police Bodysize</a></p><p>[2] <a href="https://crossing.cw.com.tw/blogTopic.action?id=533&amp;nid=6662&amp;utm_source=Facebook&amp;utm_medium=Social&amp;utm_campaign=Daily">近十年內泰國薪資漲了一倍，台灣呢？</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=508815315d0c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android TV Updates 2017]]></title>
            <link>https://medium.com/@alanchang_66209/android-tv-updates-2017-d1655fbbcfe3?source=rss-53eaf9f8baa9------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1655fbbcfe3</guid>
            <category><![CDATA[smart-tv]]></category>
            <category><![CDATA[android-tv]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[android-oreo]]></category>
            <dc:creator><![CDATA[Alan Chang]]></dc:creator>
            <pubDate>Tue, 21 Nov 2017 08:43:53 GMT</pubDate>
            <atom:updated>2017-11-21T08:43:53.070Z</atom:updated>
            <content:encoded><![CDATA[<p>Android TV是Google推出的智慧型電視平台 [1]，基於Android系統提供電視專用的使用者界面。由於共用Android系統，對開發者來說，有一致性的系統架構與環境。對使用者來說，有熟悉的操作界面與功能，並且可以使用現有的豐富APP資源。</p><p>相對於手機的GMS (Google Mobile Services)，Google正式為電視版本正名為GTVS (Google TV Services)，提供Android TV的認證。在硬體規格上，CPU調低三成DMIPS，記憶體調降一半。在使用者界面上，除了提供標準Launcher外，也開放給電信客戶自訂界面。</p><p>隨著Oreo 8.0更新，Launcher也重新設計，移除了Recommendation Row，新增了Notification、Widget、與Channel，並加入Assistant，結合雲端及AI提供語音控制。底層架構導入了Treble [2]，在系統跟底層定義了Vender Interface，同步要求VTS (Vendor Test Suite)測試 [3]，讓Android版本升級更容易。</p><p>Google已經開始推展Android TV，並聽取電信營運商意見開放各項界面，聽取廠商意見降低硬體規格。除了零售市場外，在電信市場也有一些成果。可以持續觀察對Linux機上盒的影響。</p><p>參考資料:</p><p>[1] <a href="https://en.wikipedia.org/wiki/Android_TV">Android TV From Wikipedia, the free encyclopedia</a></p><p>[2] <a href="https://source.android.com/devices/architecture/treble">Treble</a></p><p>[3] <a href="https://source.android.com/devices/tech/vts/">Vendor Test Suite (VTS) &amp; Infrastructure</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1655fbbcfe3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[高動態範圍影像 (HDR)]]></title>
            <link>https://medium.com/@alanchang_66209/%E9%AB%98%E5%8B%95%E6%85%8B%E7%AF%84%E5%9C%8D%E5%BD%B1%E5%83%8F-hdr-88f27a712f9e?source=rss-53eaf9f8baa9------2</link>
            <guid isPermaLink="false">https://medium.com/p/88f27a712f9e</guid>
            <category><![CDATA[hdr]]></category>
            <category><![CDATA[dolby-vision]]></category>
            <category><![CDATA[hlg]]></category>
            <category><![CDATA[hdr10]]></category>
            <category><![CDATA[oetf]]></category>
            <dc:creator><![CDATA[Alan Chang]]></dc:creator>
            <pubDate>Mon, 10 Apr 2017 07:08:20 GMT</pubDate>
            <atom:updated>2017-04-10T07:08:20.559Z</atom:updated>
            <content:encoded><![CDATA[<p>動態範圍(dynamic range)是信號最大值和最小值的比值，高動態範圍影像(high-dynamic-range video)可以呈現更多明暗細節，以及不直接相關的更多色彩。對於顯示設備電視來說，支援HDR代表具備更高的對比、更高的亮度、以及更多的色彩，並且可以解碼HDR格式。</p><p>影像處理過程可以分為三部分，截取、傳輸、與成像。影像截取由攝影機把真實世界的光轉換成電子訊號(OETF, Optical-Eletro Transfer Function)，顯示設備成像則是將電子訊號轉換成光(EOTF)來還原影像，由於電子元件特性與訊號最佳化處理，攝影機與顯示設備轉換訊號並不是直接的反函數，中間需要另一個轉換函數(OOTF) [1]。</p><p>目前主要的HDR標準有三種，HDR10、Dolby Vision、與HLG (Hybrid Log-Gamma)。HDR10與Dobly Vision在影像截取後直接把訊號轉換成參考顯示設備(mastering display)的光訊號(OOTF)，再以EOTF的反函數轉換成電子訊號，把重點放在EOTF的最佳化上(PQ, Perceptual Quantizer) [2]，影像傳輸的是參考顯示設備的絕對訊號(display referenced)。由於最終顯示設備與參考顯示設備能力不同，需要將參考顯示設備的資料(metadata)傳送給最終顯示設備做為訊號轉換參考(OOTF)，HDR10整部影片使用同一組參考資料(static metadata)，而Dolby Vision則是每個畫面可以有不同的參考資料(dynamic metadata)，所以訊號轉換可以比較不失真 [3]。HLG跟目前SDR (Standard Dynamic Range)做法類似，影像傳輸的訊號為攝影機直接截取轉換後的電子訊號(OETF)，為真實世界記錄下的相對訊號(scene referenced)，在最終顯示設備才對攝影機的訊號做轉換(OOTF)，因此不需要參考顯示設備的參考資料(metadata)，較適合用於直播節目。</p><p>在影片與電視的支援度上，以開放標準的HDR10最廣，Dolby Vision需要授權及硬體晶片，目前只有在中高階電視，HLG因為最晚標準化，目前支援度最低，不過跟HDR10一樣，可以透過韌體更新支援。</p><p>參考資料:</p><p>[1] <a href="https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2100-0-201607-I!!PDF-E.pdf">ITU-R BT.2100–0 Image parameter values for high dynamic range television for use in production and international programme exchange</a></p><p>[2] <a href="https://www.smpte.org/sites/default/files/23-1615-TS7-2-IProc02-Miller.pdf">Perceptual Signal Coding for More Efficient Usage of Bit Codes</a></p><p>[3] <a href="https://www.smpte.org/sites/default/files/2017-01-12-ST-2094-Borg-V2-Handout.pdf">SMPTE ST 2094 and Dynamic Metadata</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=88f27a712f9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>