<?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 Jerome Lin on Medium]]></title>
        <description><![CDATA[Stories by Jerome Lin on Medium]]></description>
        <link>https://medium.com/@jeromelinshare?source=rss-f38552357f70------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*nly3XsS2dT8QBhH__8q5bg.png</url>
            <title>Stories by Jerome Lin on Medium</title>
            <link>https://medium.com/@jeromelinshare?source=rss-f38552357f70------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 13:07:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeromelinshare/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[互動式時間軸編輯器]]></title>
            <link>https://medium.com/coding-learning-sharing/%E4%BA%92%E5%8B%95%E5%BC%8F%E6%99%82%E9%96%93%E8%BB%B8%E7%B7%A8%E8%BC%AF%E5%99%A8-02ffde57b4d2?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/02ffde57b4d2</guid>
            <category><![CDATA[timeline]]></category>
            <category><![CDATA[html]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[editor]]></category>
            <category><![CDATA[report]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Thu, 19 Mar 2026 19:49:59 GMT</pubDate>
            <atom:updated>2026-03-20T14:26:52.081Z</atom:updated>
            <content:encoded><![CDATA[<h4>本工具為一款輕量級時間軸編輯器，無需註冊、即時預覽，打造專業級事件紀錄，無論個人資料整理或者工作報告都能派上用場。無論是整理長達數年的專案里程碑，還是撰寫個人生涯的大事記，我們總是在尋找一個既輕量又專業的呈現方式。這款時間軸編輯器，正是為了追求「直覺編輯、純粹數據、高品質輸出」的你而設計</h4><h4>工具預覽</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/0*TJ2rVqc1ny6AtZnU.jpg" /></figure><h4>工具介紹</h4><p><strong>讓紀錄更有層次，讓呈現更有深度</strong></p><h3>🚀 擁抱完全的自由：離線版工具包</h3><p>如果您追求更極致的效率與數據安全，我特別將此工具打包成<strong>完整的離線 HTML 版本</strong>提供購買。這不僅是一個工具，更是您的專屬離線工作站。<strong>只要瀏覽器就能開啟立即使用</strong>。</p><ul><li><strong>🔒 隱私至上：</strong> 檔案完全在您的本地瀏覽器運行，<strong>資料絕不經過伺服器</strong>，適合處理敏感商業或個人資訊。</li><li><strong>⏳ 終身買斷：</strong> 一次性費用，永久擁有。無需註冊、無需訂閱，即使在無網路環境也能隨時編輯。</li><li><strong>⚡ 輕量極簡：</strong> 單一檔案結構，不佔空間，甚至可以放進隨身碟隨身攜帶。</li><li><strong>🛠️ 高擴充性：</strong> 適合開發者自行修改 CSS 或擴充邏輯，打造 100% 符合個人美感的工具。</li><li><strong>🛠️ 輕鬆無負擔：</strong> 只需要一杯咖啡的價格，two dollar 即可入手。</li></ul><p><strong>👉 </strong><a href="https://ko-fi.com/s/48f4e26b4d"><strong>立即前往我的網店獲取離線版</strong></a></p><h3>✨ 工具核心特色</h3><p>這款編輯器拋棄了複雜的後台，所有編輯都在前端「即看即得」：</p><p><strong>雙層級架構</strong>: 支援新增多個「時期」區塊，每個時期內可容納數個「事件」節點。</p><p><strong>視覺自定義</strong>: 可針對不同「時期」設定專屬顏色，透過視覺區隔快速分類。</p><p><strong>全場域編輯</strong>: 從主標題、副標題到事件描述，所有文字點擊即可修改，支援即時刪除。</p><p><strong>數據導入導出</strong>: 具備 JSON 匯入/匯出功能，方便跨裝置同步或二次編輯。</p><p><strong>高品質輸出</strong>: 一鍵生成 PNG 圖片下載，完美對應簡報排版或社群分享。</p><p><strong>隱私權保證</strong>: 本工具不蒐集、上傳、儲存您的個人資料，請安心使用。</p><h3>🎯 誰適合使用這款工具？</h3><p>專案經理歷史愛好者創作者/小說家求職者(視覺履歷)年度總結紀錄</p><h3>📖 快速上手指南</h3><ol><li><strong>定調：</strong> 在頂部編輯您的時間軸大標題與副標題。</li><li><strong>規劃：</strong> 點擊「新增時期」，並為不同階段設定識別色。</li><li><strong>填充：</strong> 在時期區塊內點擊「新增事件」，輸入時間點、標題與詳細描述。</li><li><strong>備份：</strong> 隨時點擊「匯出 JSON」保存當前進度。</li><li><strong>產出：</strong> 下載 PNG 圖片，收獲精美成果。</li></ol><h3>工具</h3><blockquote><a href="https://jeromelearning.blogspot.com/2026/03/blog-post.html"><strong>前往工具連結</strong></a></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02ffde57b4d2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/%E4%BA%92%E5%8B%95%E5%BC%8F%E6%99%82%E9%96%93%E8%BB%B8%E7%B7%A8%E8%BC%AF%E5%99%A8-02ffde57b4d2">互動式時間軸編輯器</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[不是你看錯盤，是你沒看過所有路徑：一個把每條交易可能性都攤開來看的工具]]></title>
            <link>https://medium.com/coding-learning-sharing/%E4%B8%8D%E6%98%AF%E4%BD%A0%E7%9C%8B%E9%8C%AF%E7%9B%A4-%E6%98%AF%E4%BD%A0%E6%B2%92%E7%9C%8B%E9%81%8E%E6%89%80%E6%9C%89%E8%B7%AF%E5%BE%91-%E4%B8%80%E5%80%8B%E6%8A%8A%E6%AF%8F%E6%A2%9D%E4%BA%A4%E6%98%93%E5%8F%AF%E8%83%BD%E6%80%A7%E9%83%BD%E6%94%A4%E9%96%8B%E4%BE%86%E7%9C%8B%E7%9A%84%E5%B7%A5%E5%85%B7-3b703433ce50?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b703433ce50</guid>
            <category><![CDATA[投資風險管理]]></category>
            <category><![CDATA[trading-strategy]]></category>
            <category><![CDATA[投資模擬]]></category>
            <category><![CDATA[市場震盪]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Sun, 08 Feb 2026 00:56:46 GMT</pubDate>
            <atom:updated>2026-02-08T01:19:13.884Z</atom:updated>
            <content:encoded><![CDATA[<p>近來美股與台股的波動顯著增加，常看到「隔日跳空、隔周翻盤」的現象。在這種市場，交易成果往往不是因為方向判斷失誤而失敗，而是因為交易過程中的成本累積與資金暴露。要理解這一點，最簡單的方法是：把一個價格路徑中所有可能的交易組合都列出來，逐一量化它們的成本、稅負與最終淨利。這正是本工具的目的。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MSBZcrASCOubkYjwjBhyMA.png" /></figure><h3>前言</h3><p>近幾個月的盤勢告訴我們一件事：市場變得更不講理。指數能在一天內暴漲，也能在隔日血崩。這種「高頻劇烈震盪」把很多投資人的獨門方法撕成碎片— —但這並不是你方向判斷錯，而是過程撐不住、成本吞噬了勝利果實。</p><p>在這種環境，想像自己只做「一次買、一次賣」就能贏，是一種奢侈。現實經常是：你可能先加碼、又平倉、再進場，或在不同時間點分批執行。每一個小動作都會讓手續費、稅、滑價慢慢消耗淨利。如果不把每一條可能的路徑攤開來看，你永遠不會知道哪一個決策在「過程」中被炸掉。</p><h3>契機與工具介紹</h3><p>基於這個出發點，我做了一個簡單而直接的工具：<br>它不是預測市場，而是把<strong>所有可能的價格路徑</strong>和<strong>每種交易組合（包含加碼、平倉再進場）</strong>一次列出，用圖表把每條路徑、每種組合變成可視化的結果。透過這個工具，你可以：</p><ul><li>看到每個交易組合的成本、稅後所得、每筆交易損益</li><li>對比「加碼一路抱」、「先平倉再進場」等策略在同一價格走勢路徑下的差異</li><li>用成本門檻快篩掉那些在中途就會<strong>爆掉</strong>資金的策略</li><li>點選某一路徑，圖表上會標出買賣點，直觀理解為何賺或賠</li></ul><h3>使用此工具的理由</h3><p>為什麼這麼重要？因為在震盪市場，<strong>不是哪個方向正確，而是你能不能承受過程</strong>。一個看起來合理的勝率，可能被多次小額手續費和稅率徹底吃光；一個看似激進的加碼策略，若在錯的時間點操作，會讓資金暴露在更大的風險中。</p><p>這個工具的目標非常明確：幫你<strong>把決策的代價量化</strong>，把「我感覺會怎樣」變成「數字告訴你會怎樣」。如果你是那種想知道「如果我在 T1 加碼、T3 平倉，跟直接抱到 T4 差多少？」的人，這個工具會比任何直覺更有幫助。</p><blockquote><em>試一次，不是為了告訴你該買或賣，而是為了讓你在下一次下單前，知道你在承擔什麼。</em></blockquote><h3>工具連結</h3><p><a href="https://jeromelearning.blogspot.com/2026/02/blog-post.html">data:post.title</a></p><h3>使用與觀察</h3><ul><li>在高震盪時，<strong>分批進場不一定比一次買更好</strong>，成本與稅負可能會侵蝕優勢</li><li>成本門檻能快速幫你找出「紙上策略」中，哪些在實務上會因資金壓力被淘汰</li><li>多次再進場會增加操作複雜度與滑價風險，模擬能幫你衡量是否值得嘗試</li><li>熊市走勢或者個股效用疲弱下，一味加碼只會徒增風險；這符合獲利越大，風險越大原則。但你的資金真的足以支撐嗎?</li></ul><h3>同場加映：怎麼製造「損益為 0」的情況</h3><p>公式：要讓單次交易 profit = 0，必須滿足</p><blockquote><strong><em>sellPrice * (1 — sellFee — sellTax) — buyPrice * (1 + buyFee) = 0</em></strong></blockquote><p>假設 buyPrice 100、buyFee=0.1425%、sellFee=0.1425%、sellTax=0.3%</p><p>帶入公式，那麼就會變成</p><blockquote>sellPrice * 0.995575–100.1425 = 0</blockquote><p>因此，賣價就會是</p><blockquote>sellPrice = 100.5876</blockquote><p>這表示買進價格的下一次<strong>上漲 0.5876%</strong> 就是損益打平</p><p>這可以在工具中設定上漲幅度來達成，歡迎大家多玩玩、多多觀察</p><h3>免責聲明</h3><p>本工具僅為模擬與教育用途，所有結果基於使用者輸入之參數與假設，並不構成任何投資建議。實際交易可能受滑價、流動性與心理因素影響，請自行評估風險並對您的投資決策負責。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b703433ce50" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/%E4%B8%8D%E6%98%AF%E4%BD%A0%E7%9C%8B%E9%8C%AF%E7%9B%A4-%E6%98%AF%E4%BD%A0%E6%B2%92%E7%9C%8B%E9%81%8E%E6%89%80%E6%9C%89%E8%B7%AF%E5%BE%91-%E4%B8%80%E5%80%8B%E6%8A%8A%E6%AF%8F%E6%A2%9D%E4%BA%A4%E6%98%93%E5%8F%AF%E8%83%BD%E6%80%A7%E9%83%BD%E6%94%A4%E9%96%8B%E4%BE%86%E7%9C%8B%E7%9A%84%E5%B7%A5%E5%85%B7-3b703433ce50">不是你看錯盤，是你沒看過所有路徑：一個把每條交易可能性都攤開來看的工具</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【疑難排解】macOS 使用外接 USB 裝置開機]]></title>
            <link>https://medium.com/coding-learning-sharing/%E7%96%91%E9%9B%A3%E6%8E%92%E8%A7%A3-macos-%E4%BD%BF%E7%94%A8%E5%A4%96%E6%8E%A5-usb-%E8%A3%9D%E7%BD%AE%E9%96%8B%E6%A9%9F-0f69425b548f?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f69425b548f</guid>
            <category><![CDATA[option-key]]></category>
            <category><![CDATA[boots]]></category>
            <category><![CDATA[usb]]></category>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[esxi]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Sun, 13 Apr 2025 13:21:23 GMT</pubDate>
            <atom:updated>2025-04-15T19:41:04.609Z</atom:updated>
            <content:encoded><![CDATA[<h4>想讓 Apple Mac 機器從外接 USB 裝置開機，比如你在仍搭載 intel 晶片的機器上保持按住 Option key 後卻不總是管用，該怎麼把問題一一排除?</h4><h3>前言</h3><p>常在 Mac 機器上安裝或啟動 OS 系統的人，應該會對底下的畫面挺熟悉的:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I1ghxSGuuHQo0Os_7c6UUg.png" /><figcaption>AI 改圖，非實際畫面</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Nf7TNmmSTNYCnEI3RkpWLg.png" /><figcaption>取自 Apple 官方</figcaption></figure><p>假設你是使用搭載 intel 晶片的 Mac 裝置 (e.g. Mac mini)，應該會在開機過程，持續按住 Option key (對應以 Windows 為基準的鍵盤的 Alt 按鍵) 去開進選擇開機裝置的畫面。(搭載 Apple 晶片，e.g. M2、M4 晶片，則是按住電源按紐)。但是這套流程可能卻不總是很順利，可能隔一陣子發現失靈了，這或許即便是在相同的舊裝置進行操作的情況下也是如此。本篇主要想提供一些思路，讓相關人員可以進行排查並解決問題。</p><h3>不同 USB Version 的相容性</h3><p>USB 隨著技術發展，已經出過了不少版本，包括 USB 2.0、USB 3.0、USB 3.1、USB 3.2 以及目前的 USB 4 等等。每個版本基本上都是向後兼容的，也就是 USB 3 的接口，可以讀 USB 2 的裝置，因此也不至於會因為混用而導致出什麼大問題。不過這些不同的版本規格在市場上的名稱也因為重命名等因素，令人眼花撩亂，可以參考下圖:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tV9a9m8w3E_1tGiOrbKl5w.png" /></figure><p>而最為大眾所熟知的應該就是黑色接口以及藍色接口了，這是一般我們可以從實體物件上簡單辨識 USB 2 以及 USB 3 的方式。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q8GI8tj_xsVdWDNmkAswJQ.png" /><figcaption>AI 生成，非實際影像</figcaption></figure><p>以 Mac mini（2014 年末）Macmini7,1 為例，上面是有 4 個 USB 3.0 (up to 5 Gbps) 的。雖說是 USB 3，但其接口其實並不是藍色的就是了…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/692/1*mM_jbasLe7uZ-v4RDroV-Q.jpeg" /></figure><p>那這次我本身有遇過的現象是，想透過 Option key 進到選擇開機裝置時，經過好幾顆隨身碟，加上寫入不同系統版本的開機程式的各種組合的試驗，發現但凡是使用 USB 3 的隨身硬碟，都會沒有反應，直接進到原本的 macOS 系統，即便其中也包含 USB 3.0 (USB 3.2 Gen 1) 是同規格，也還是如此。</p><p>我的這些嘗試主要是發生在 ESXi installer (v7、v8) 會有上述的現象，其他則是不確定。而如果是已經透過 ESXi installer 安裝 ESXi 系統到另一個外接 USB 硬碟的話，由於重新開機就能直接進 ESXi 系統，就沒特別另外做額外的試驗了。</p><p>P.S. 關於在有連接多個系統的情況下， mac 預設會開進哪個系統這是另外一件事；而 ESXi 支援 mac 到什麼程度，也不在本篇要討論的範圍。因此這兩件事就不在本篇多做延伸討論了。</p><p>總而言之，我推測這可能是因為不同產品上 USB 接口與 USB 外接裝置相容性問題造成的，而不僅僅只是受到 USB 標準以及版本等等因素的影響。</p><h3>其他相關有用的參考連結</h3><ul><li><a href="https://support.apple.com/zh-tw/guide/mac-help/mchlp1034/mac">更改 Mac 啟動磁碟</a></li><li><a href="https://support.apple.com/zh-tw/guide/mac-help/cpmh0038/mac">Windows 與 Mac 名詞對照表</a></li><li><a href="https://support.apple.com/zh-tw/101578">為 macOS 製作可開機安裝磁碟 - Apple 支援 (台灣)</a></li><li><a href="https://support.apple.com/zh-tw/102342">如果 Mac 啟動後顯示有齒輪圖像的「選項」 - Apple 支援 (台灣)</a></li><li><a href="https://support.apple.com/zh-tw/102852">辨識 Mac mini 機型 - Apple 支援 (台灣)</a></li><li><a href="https://support.apple.com/zh-tw/111931">Mac mini（2014 年末）- 技術規格 - Apple 支援 (台灣)</a></li></ul><h3>總結</h3><p>本篇主要提供一些思路，當發現 Option key 在開機階段無法作用時，可以從 USB 本身去嘗試與排解。而畢竟出問題的因素可能有很多，不見得能夠很好去列舉，也很可能列舉不完，剩下的就只能依賴當下環境去做判斷了。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f69425b548f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/%E7%96%91%E9%9B%A3%E6%8E%92%E8%A7%A3-macos-%E4%BD%BF%E7%94%A8%E5%A4%96%E6%8E%A5-usb-%E8%A3%9D%E7%BD%AE%E9%96%8B%E6%A9%9F-0f69425b548f">【疑難排解】macOS 使用外接 USB 裝置開機</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【解決方案】Windows 環境變數太大，無法編輯與儲存]]></title>
            <link>https://medium.com/coding-learning-sharing/%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-windows-%E7%92%B0%E5%A2%83%E8%AE%8A%E6%95%B8%E5%A4%AA%E5%A4%A7-%E7%84%A1%E6%B3%95%E7%B7%A8%E8%BC%AF%E8%88%87%E5%84%B2%E5%AD%98-122a6bddc4a8?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/122a6bddc4a8</guid>
            <category><![CDATA[2047]]></category>
            <category><![CDATA[environment-variables]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[windows]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Fri, 04 Apr 2025 02:09:53 GMT</pubDate>
            <atom:updated>2025-04-04T02:09:53.724Z</atom:updated>
            <content:encoded><![CDATA[<h4>在 Windows 編輯環境變數，遇到了超出 2047 字元長度限制而無法儲存，一時之間是有些苦惱，難不成要縮減已經存在的內容了嗎?</h4><h3>前言</h3><p>在 Windows 編輯環境變數，儲存時跳出系統通知 “<strong>此環境變數太大，此對話方塊允許將值的長度設定成最多 2047 個字元。</strong>”。這一般最常會在系統的 <strong>Path</strong> 變數上， 隨著自行設定或者安裝新的應用程式、軟體，不斷地將各種不同的執行檔路徑或者程式庫路徑附加到 <strong>Path</strong> 變數上，很快地就會遇到這個情況。這時，要你一時之間去整理這些雜亂的超長變數內容，顯然是一個大麻煩。更不用說，即便摒棄掉各種不需要的路徑，或是縮短存放路徑 (透過 symbolic link 或者改變實體存放位置等等)，還是超出了此 2047 字元的長度限制的狀況了。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*Lti41lhMrM5khZH1lhDMSA.jpeg" /></figure><h3>環境</h3><p>作業系統: Windows 10 家用版 x64</p><p>本篇將以此版本的作業系統進行說明，相關設定可能會與其它版本有所差異 (e.g. 開啟位置、設定有效性、etc.)。</p><h3>如何編輯系統環境變數?</h3><p>首先還是得來簡介一下遇到此問題的發生背景，以下是如何開啟系統環境變數的編輯視窗步驟:</p><blockquote>1. 對 Windows 桌面左下角的 Windows 圖案，點擊滑鼠右鍵<br>2. 左鍵選擇 “設定”，開啟 Windows 設定<br>3. 依序點擊 系統 &gt; 關於 (更新的 Windows 10 版本會是系統資訊) &gt; 相關設定 區塊下的 “進階系統設定”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZR83SteTb4a-h6kWmdejqA.jpeg" /><figcaption>Windows 進階系統設定</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/613/1*nz9uLRWMvX4gHFEElOgcgA.jpeg" /><figcaption>開啟環境變數</figcaption></figure><p>這裡會看到兩個區塊，分別為 “使用者變數” 以及 系統變數。由於我們是可以設定多個不同的使用者帳號去登入到 windows 桌面的，因此故名思義 “使用者變數”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/794/1*OF2mTF4BXcNv6GZvKty0HA.jpeg" /></figure><p>對要修改的環境變數進行編輯 (滑鼠左鍵連點兩下 or 選取變數後，點擊 “編輯”) 時，可能會出現以下兩種編輯視窗，一般是使用 “；” 切割為多行內容顯示的視窗，另一種則是單行的編輯視窗，不過有時候多行內容還是會用單行的視窗來顯示就是了 (可能是 bug 或者是某個特定條件決定)。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*YDM1cCdbh6pvrfzfMFZllg.jpeg" /><figcaption>編輯系統變數 (多行顯示)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/839/1*R9E6Y1pp6hhMdGCwgfWZXg.jpeg" /><figcaption>編輯系統變數 (單行顯示)</figcaption></figure><h3>重製問題</h3><p>當我們對一個存有超長內容的變數進行修改並儲存時，就會遇到此現象。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*ZHz-D5syACYLaPGN49zlYg.jpeg" /></figure><h3>使用登錄編輯程式保存環境變數</h3><p>我們可以用以下的步驟來開啟 “登錄編輯程式” 來修改並儲存 超出 2047 字元限制的環境變數:</p><blockquote>1. Win + R 打開 “執行” 視窗，輸入 “<strong>regedit</strong>” 後，按下確定<br>2. 前往 “<strong>電腦\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment</strong>” 即可看到系統環境變數清單</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/513/1*94iKfLIK67O_J_4EIGOtTw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*T1Fz6OHVvsrf3zLEjEyvxg.jpeg" /></figure><p>順帶一提，如果是要修改 “使用者變數” 的話，位置是在 “<strong>電腦\HKEY_USERS\&lt;SID&gt;\Environment</strong>”</p><p>可以跟在系統變數視窗的內容相互比較，找到你要設定的對象 (e.g. 在有建立多個使用者帳號的情況下)</p><p>P.S. SID 是指 安全性辨識碼 (Security identifiers)，可用來代表你的使用者帳號。本機帳號的 SID 開頭一般是 “S-1–5” (SECURITY_NT_AUTHORITY)，撇除掉系統固定、已知的 SID 後，你的使用者帳號可能是 “S-1–5–21”、”S-1–5–22&quot; 開頭等等。</p><p>關於 SID 的更多資訊可以參考以下連結:</p><p><a href="https://learn.microsoft.com/zh-tw/windows-server/identity/ad-ds/manage/understand-security-identifiers">安全性識別碼</a></p><h3>額外延伸探討</h3><p>事實上，透過一些手段去繞過這樣的系統限制，是可能仍然會有使用上的問題的，比如應用程式或者命令提示字元在調用了某個特定函式或者讀取超出長度限制的環境變數時，是無法正常運作的。不見得是會讓程式出錯，可能是會產生不正確的結果出來。比如底下就有一些討論:</p><ul><li><a href="https://microsoft.public.vc.language.narkive.com/Ajjx9pW9/shellexecuteex-fails-for-long-arguments">ShellExecuteEx fails for long arguments</a></li><li><a href="https://learn.microsoft.com/en-us/windows/win32/shell/shlwapi-wrappers?redirectedfrom=MSDN#shellexecuteex">SHLWAPI Wrapper Functions - Win32 apps</a></li><li><a href="https://devblogs.microsoft.com/oldnewthing/20100203-00/?p=15083">What is the maximum length of an environment variable? - The Old New Thing</a></li><li><a href="https://devblogs.microsoft.com/oldnewthing/20031210-00/?p=41553">What is the command line length limit? - The Old New Thing</a></li><li><a href="https://web.archive.org/web/20071020044153/http://support.microsoft.com/kb/906469">A returned path environment variable is truncated to 1,024 bytes on a Windows Server 2003-based or Windows XP-based computer</a></li></ul><h3>結論</h3><p>本篇提供了在 Windows 編輯環境變數，遇到了超出 2047 字元長度限制而無法儲存的解決方案以及相關的概念說明，並拋出了其他額外的延伸注意事項。旨在希望讀者在操作前、後，能明知後果以及影響範圍，避免遇到了更多的問題而摸不著頭緒。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=122a6bddc4a8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-windows-%E7%92%B0%E5%A2%83%E8%AE%8A%E6%95%B8%E5%A4%AA%E5%A4%A7-%E7%84%A1%E6%B3%95%E7%B7%A8%E8%BC%AF%E8%88%87%E5%84%B2%E5%AD%98-122a6bddc4a8">【解決方案】Windows 環境變數太大，無法編輯與儲存</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[目錄]]></title>
            <link>https://medium.com/coding-learning-sharing/%E7%9B%AE%E9%8C%84-5620aafd4d6b?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/5620aafd4d6b</guid>
            <category><![CDATA[stock-market]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[overview]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Fri, 17 Mar 2023 13:14:27 GMT</pubDate>
            <atom:updated>2026-05-02T22:24:57.106Z</atom:updated>
            <content:encoded><![CDATA[<h4>為方便讀者搜尋回顧，建立此清單以維護文章。</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/110/1*VHXqS4tFElX-zeXT7MgQ6Q.png" /></figure><blockquote><strong>優惠</strong></blockquote><p><a href="https://jeromelearning.blogspot.com/2024/06/blog-post.html">data:post.title</a></p><blockquote><strong>自我研發工具</strong></blockquote><ul><li><a href="https://jeromelearning.blogspot.com/2023/03/blog-post.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/06/youtube.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/07/blog-post.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/07/blog-post_14.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/07/blog-post_18.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/07/blog-post_20.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/08/blog-post.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/09/blog-post.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2026/02/blog-post.html">data:post.title</a></li><li><a href="https://medium.com/coding-learning-sharing/%E4%B8%8D%E6%98%AF%E4%BD%A0%E7%9C%8B%E9%8C%AF%E7%9B%A4-%E6%98%AF%E4%BD%A0%E6%B2%92%E7%9C%8B%E9%81%8E%E6%89%80%E6%9C%89%E8%B7%AF%E5%BE%91-%E4%B8%80%E5%80%8B%E6%8A%8A%E6%AF%8F%E6%A2%9D%E4%BA%A4%E6%98%93%E5%8F%AF%E8%83%BD%E6%80%A7%E9%83%BD%E6%94%A4%E9%96%8B%E4%BE%86%E7%9C%8B%E7%9A%84%E5%B7%A5%E5%85%B7-3b703433ce50">不是你看錯盤，是你沒看過所有路徑：一個把每條交易可能性都攤開來看的工具</a></li><li><a href="https://jeromelearning.blogspot.com/2026/03/blog-post.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2026/05/112-113-114.html">data:post.title</a></li></ul><blockquote><strong>券商 API</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/%E5%85%83%E5%A4%A7api%E5%8D%B3%E6%99%82%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%B8%80-f431aa86477a">元大API即時行情串接(一)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E5%85%83%E5%A4%A7api%E5%8D%B3%E6%99%82%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%BA%8C-e4d67b9dce51">元大API即時行情串接(二)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E5%85%83%E5%A4%A7api%E5%8D%B3%E6%99%82%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%B8%89-f999db5db260">元大API即時行情串接(三)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E5%85%83%E5%A4%A7api%E5%8D%B3%E6%99%82%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E5%9B%9B-254db59a945f">元大API即時行情串接(四)</a></li></ul><p>-----------------------------------------------------------------------------------------------------------</p><ul><li><a href="https://medium.com/coding-learning-sharing/%E7%BE%A4%E7%9B%8Aapi%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%B8%80-19bc3169f6bb">群益API行情串接(一)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E7%BE%A4%E7%9B%8Aapi%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%BA%8C-706161f5146f">群益API行情串接(二)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E7%BE%A4%E7%9B%8Aapi%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%B8%89-2c0091fd3ada">群益API行情串接(三)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E7%BE%A4%E7%9B%8Aapi%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E5%9B%9B-2ab0e99819b7">群益API行情串接(四)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E7%BE%A4%E7%9B%8Aapi%E8%A1%8C%E6%83%85%E4%B8%B2%E6%8E%A5-%E4%BA%94-379e3f8fb40f">群益API行情串接(五)</a></li></ul><blockquote><strong>Python</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/matlab%E7%88%AC%E8%9F%B2-%E4%BB%A5%E4%B8%8B%E8%BC%89%E5%8F%B0%E7%81%A3%E6%9C%9F%E4%BA%A4%E6%89%80%E7%9A%84%E5%85%AC%E9%96%8B%E8%B3%87%E6%96%99%E7%82%BA%E4%BE%8B-1a86f5878043">MATLAB爬蟲(以下載台灣期交所的公開資料為例)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E4%BD%BF%E7%94%A8python%E7%B7%A8%E5%AF%AB%E8%A7%A3%E5%A3%93%E7%B8%AE%E5%B7%A5%E5%85%B7-6108c96181cf">使用Python編寫解壓縮工具</a></li><li><a href="https://medium.com/coding-learning-sharing/%E7%AB%B6%E8%B3%BD%E5%9C%96%E7%B9%AA%E8%A3%BD-%E4%B8%80-2c2cede564c9">競賽圖繪製(一)</a></li><li><a href="https://medium.com/coding-learning-sharing/python%E7%88%AC%E8%9F%B2-%E4%BB%A5youtube%E5%B7%B2%E6%8E%88%E6%AC%8A%E5%BD%B1%E7%89%87%E7%82%BA%E4%BE%8B-%E4%B8%80-b3ebd0fcf23e">Python爬蟲(以Youtube已授權影片為例)(一)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E8%A3%BD%E4%BD%9C%E5%8F%AF%E6%94%9C%E7%89%88python-98848d73f8a9">製作可攜版Python</a></li></ul><blockquote><strong>MATLAB</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/matlab%E8%BB%9F%E9%AB%94%E4%BB%8B%E9%9D%A2%E5%9F%BA%E7%A4%8E%E4%BB%8B%E7%B4%B9-ced19ca6958d">MATLAB軟體介面基礎介紹</a></li><li><a href="https://medium.com/coding-learning-sharing/matlab%E7%B0%A1%E5%96%AE%E6%8C%87%E4%BB%A4%E6%93%8D%E4%BD%9C-dc0c57f941e4">MATLAB簡單指令操作</a></li><li><a href="https://medium.com/coding-learning-sharing/matlab%E5%8F%AF%E8%A6%96%E5%8C%96%E5%9C%96%E5%BD%A2-%E6%90%AD%E9%85%8Dgoogle%E6%90%9C%E5%B0%8B%E5%99%A8calculator%E6%B8%B2%E6%9F%93%E5%BC%95%E6%93%8E-682647ea25a3">MATLAB可視化圖形(搭配Google搜尋器Calculator渲染引擎)</a></li><li><a href="https://medium.com/coding-learning-sharing/matlab%E7%88%AC%E8%9F%B2-%E4%BB%A5%E4%B8%8B%E8%BC%89%E5%8F%B0%E7%81%A3%E6%9C%9F%E4%BA%A4%E6%89%80%E7%9A%84%E5%85%AC%E9%96%8B%E8%B3%87%E6%96%99%E7%82%BA%E4%BE%8B-1a86f5878043">MATLAB爬蟲(以下載台灣期交所的公開資料為例)</a></li></ul><blockquote><strong>Windows</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/windows-%E5%B7%A5%E4%BD%9C%E6%8E%92%E7%A8%8B-56989747a1ce">Windows 工作排程</a></li><li><a href="https://medium.com/coding-learning-sharing/windows%E9%81%A0%E7%AB%AF%E6%A1%8C%E9%9D%A2%E9%80%A3%E7%B7%9A-7d58026f082">Windows遠端桌面連線</a></li><li><a href="https://medium.com/coding-learning-sharing/%E6%AA%94%E6%A1%88%E7%B3%BB%E7%B5%B1%E7%9A%84%E9%85%8D%E7%BD%AE%E5%96%AE%E4%BD%8D-d15af6e8110e">檔案系統的配置單位</a></li><li><a href="https://medium.com/coding-learning-sharing/cmd%E6%B8%B8%E6%A8%99%E6%B6%88%E5%A4%B1%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-2c5891e2008e">CMD游標消失解決方案</a></li><li><a href="https://medium.com/coding-learning-sharing/%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-windows%E6%9B%B4%E6%96%B0%E7%99%BC%E7%94%9F%E5%95%8F%E9%A1%8C-4258f47482c">【解決方案】Windows更新發生問題</a></li><li><a href="https://medium.com/coding-learning-sharing/%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-windows-%E7%92%B0%E5%A2%83%E8%AE%8A%E6%95%B8%E5%A4%AA%E5%A4%A7-%E7%84%A1%E6%B3%95%E7%B7%A8%E8%BC%AF%E8%88%87%E5%84%B2%E5%AD%98-122a6bddc4a8">【解決方案】Windows 環境變數太大，無法編輯與儲存</a></li></ul><blockquote>Mac</blockquote><p><a href="https://medium.com/coding-learning-sharing/%E7%96%91%E9%9B%A3%E6%8E%92%E8%A7%A3-macos-%E4%BD%BF%E7%94%A8%E5%A4%96%E6%8E%A5-usb-%E8%A3%9D%E7%BD%AE%E9%96%8B%E6%A9%9F-0f69425b548f">【疑難排解】macOS 使用外接 USB 裝置開機</a></p><blockquote><strong>工具</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/%E7%B7%9A%E4%B8%8A%E8%AA%B2%E7%A8%8B%E5%B9%B3%E5%8F%B0-google-classroom-3e87e2eadaad">線上課程平台 - Google Classroom</a></li><li><a href="https://medium.com/coding-learning-sharing/microsoft-teams%E7%9B%B8%E9%97%9C%E8%A8%AD%E5%AE%9A-646a15b5920d">Microsoft Teams相關設定</a></li></ul><blockquote><strong>Visualization</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/matlab%E5%8F%AF%E8%A6%96%E5%8C%96%E5%9C%96%E5%BD%A2-%E6%90%AD%E9%85%8Dgoogle%E6%90%9C%E5%B0%8B%E5%99%A8calculator%E6%B8%B2%E6%9F%93%E5%BC%95%E6%93%8E-682647ea25a3">MATLAB可視化圖形(搭配Google搜尋器Calculator渲染引擎)</a></li><li><a href="https://medium.com/coding-learning-sharing/%E7%AB%B6%E8%B3%BD%E5%9C%96%E7%B9%AA%E8%A3%BD-%E4%B8%80-2c2cede564c9">競賽圖繪製(一)</a></li></ul><blockquote><strong>Game</strong></blockquote><p><a href="https://medium.com/coding-learning-sharing/game-doodle%E5%86%A0%E8%BB%8D%E5%B3%B6%E9%81%8B%E5%8B%95%E6%9C%83-doodle-champion-island-games-c96910793efb">【Game】Doodle冠軍島運動會(Doodle Champion Island Games)</a></p><blockquote><strong>News</strong></blockquote><ul><li><a href="https://medium.com/coding-learning-sharing/news-google-workspace-for-education-g-suite-%E6%95%99%E8%82%B2%E7%89%88%E7%9A%84%E6%96%B0%E7%89%88%E6%9C%AC-a0b72eafac0c">【News】Google Workspace for Education(G Suite 教育版的新版本)</a></li><li><a href="https://medium.com/coding-learning-sharing/news-windows-defender-bug%E5%B0%8E%E8%87%B4%E5%A4%A7%E9%87%8F%E6%AA%94%E6%A1%88%E5%8D%A0%E7%94%A8%E7%A1%AC%E7%A2%9F-c0cd26e0dce4">【News】Windows Defender Bug導致大量檔案占用硬碟</a></li><li><a href="https://medium.com/coding-learning-sharing/news-%E7%B4%93%E5%9B%B0%E8%A8%88%E7%95%AB4-0-%E7%B7%9A%E4%B8%8A%E6%9F%A5%E8%A9%A2%E7%B3%BB%E7%B5%B1%E4%BD%BF%E7%94%A8%E4%BB%8B%E7%B4%B9-74d444f76788">【News】紓困計畫4.0-線上查詢系統使用介紹</a></li><li><a href="https://medium.com/coding-learning-sharing/news-google%E5%B1%A2%E6%AC%A1%E5%81%9C%E6%AD%A2%E9%81%8B%E4%BD%9C-%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-1a3d45204ca5">【News】Google屢次停止運作 解決方案</a></li><li><a href="https://jeromelearning.blogspot.com/2024/05/google-my-maps60.html#google_vignette">data:post.title</a></li></ul><blockquote>生活</blockquote><ul><li><a href="https://jeromelearning.blogspot.com/2025/01/2025.html">data:post.title</a></li><li><a href="https://jeromelearning.blogspot.com/2025/01/e931-e.html">data:post.title</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5620aafd4d6b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/%E7%9B%AE%E9%8C%84-5620aafd4d6b">目錄</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[製作可攜版Python]]></title>
            <link>https://medium.com/coding-learning-sharing/%E8%A3%BD%E4%BD%9C%E5%8F%AF%E6%94%9C%E7%89%88python-98848d73f8a9?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/98848d73f8a9</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[embeddables]]></category>
            <category><![CDATA[portable]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Sun, 23 Oct 2022 12:53:39 GMT</pubDate>
            <atom:updated>2026-02-08T02:06:27.918Z</atom:updated>
            <content:encoded><![CDATA[<h4>Python的安裝非常簡單與便利，但有時候我們仍然需要一個可以隨身帶著走的Python環境，讓我們得以不透過將程式打包成執行檔等方式，快速有一個執行與使用的環境。</h4><h4>前言</h4><p>說是可攜版，其實就是使用Python的嵌入式版本，簡單來說，這樣的嵌入式版本，可以讓我們把特定一個版本號的Python執行環境帶到一個合適(相容)的作業系統當中。基本上如此做的目的或好處是，我們<strong>可以與某個(些)會取用到Python的應用程式一起安裝(安裝該應用程式時，直接將Python的嵌入式版本給解壓縮出來，放到適當的位置)</strong>或者<strong>直接使用(此應用程式本身也是可攜版的情況下)</strong>，而不必另外去取得某個相容版本的Python，並重新安裝它。這聽起來應該是很不錯的，因為這也方便控管該版本的應用程式本身附帶的Python，其版本是相容的，避免使用者安裝錯誤導致非預期問題發生。</p><h4>使用環境</h4><p>作業系統: Windows 10 64-bit</p><p>Python版本: 3.10.7 64-bit</p><h4>取得Python嵌入式版本</h4><p>我們可以先到Python官方網站去下載各種版本的Python，如以下連結:</p><p><a href="https://www.python.org/downloads/">Download Python</a></p><p>通常在某個release版本下，我們可以看到如以下畫面:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FE64arwr48aEoYfbLz74Wg.png" /></figure><p>一般而言，可以選擇<strong>installer</strong>的版本，畢竟會有安裝程式的GUI視窗引導。但這邊選擇<strong>embeddable package</strong>。當然，想要選擇32位元或者64位元，就依據自己的情況去下載。</p><p>打開下載下來的壓縮檔，可以看到其內容物很簡單，基本上也沒有子目錄:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CGYI3f67SZ5mkybTyd06ZA.png" /></figure><p>這次會動用到的東西基本上，是上圖中的紅框所框起來的檔案，其中，我們可以看到<strong>python.exe</strong>，這是平常我們呼叫Python執行指令或者py檔的來源檔案。此外，還有看到<strong>pythonw.exe</strong>，這是一個忽略console視窗的執行檔，執行時不會有console視窗跑出來，與之對應的是pyw副檔名的檔案(如下圖所示)，這可以用來做一些有趣，背景運行的東西。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/1*F8do8jrPEx1Wjr3wEmCATQ.png" /></figure><p>而整個壓縮檔裡面，還有放置一個<strong>python310.zip</strong>的壓縮檔，裡面主要存放著經過Compile的內建函式庫，以<strong>bytecode</strong>形式呈現(pyc檔)，除了這個之外，當然也還是會有一些額外的東西。</p><h4>取得pip</h4><p>我們可以注意到，裡面其實不含pip套件管理程式的，假設需要一些使用到第三方套件，不管是在可攜式環境或者純粹用作測試、暫時性的用途，可能就有點綁手腳。當然，我們也可以自己把pip整合進這個嵌入式版本裡面。</p><p>為了讓安裝pip的過程更簡便，我們是可以透過腳本來進行安裝的:</p><p><a href="https://github.com/pypa/get-pip">GitHub - pypa/get-pip: Helper scripts to install pip, in a Python installation that doesn&#39;t have it.</a></p><p>主要我們需要取得get-pip.py檔案，並透過這個腳本來自動化pip的安裝過程:</p><p><a href="https://bootstrap.pypa.io/get-pip.py">https://bootstrap.pypa.io/get-pip.py</a></p><p>下載好get-pip.py後，我們將其放進解壓縮後的python資料夾中:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*tCJKfYQqPxU2M2e8dg2p6w.png" /></figure><p>因為這個腳本本身就是個Python程式碼，我們只要透過以下指令執行該目錄下的get-pip.py即可。</p><blockquote>python get-pip.py</blockquote><p>執行過程如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C6mV8oB06AGOU0wEj8QvFQ.png" /></figure><p>這個安裝過程是沒有主動添加環境變數的，這也符合我們想要達到可攜式的目的。</p><p>安裝後基本會出現兩個資料夾，如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*Z-_FiMBmaCO86we73BDDRw.png" /></figure><p>pip.exe(or pip3.exe)便在Scripts資料夾當中。</p><blockquote>這邊要特別注意到，pip的安裝會綁死當前路徑，所以擅自將pip檔案移動到其他地方，除非特地自己去修改成適當的路徑，不然執行是會有問題的。所以如果是有執行pip的需求，基本上是額外進行的，無法一起打包。</blockquote><p>確實到目前這步，pip的安裝就完成了，但如果這個時候，就想使用pip，可能會出現以下錯誤訊息:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XO0pznbaelNRnDFM2UZQKA.png" /></figure><p>錯誤訊息提示說找不到pip模組，這是因為適當的路徑設定並沒有載入成功，為了可以讀取到pip模組，需要修改<strong>python310._pth</strong>(若是使用其他版本則依版本號為主)，取消註解<strong>import site</strong>這行。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*8uMtGe8DhewOk61URegYsw.png" /></figure><p>為了知道有無<strong>import site</strong>這行的差異，我們可以透過以下指令確認路徑有哪些改變。</p><blockquote>python -c &quot;import sys; print(sys.path);&quot;</blockquote><p>取消註解前:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3cZLSpB7U5AFwRwbAW-d9w.png" /></figure><p>取消註解後:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V2UxdO4-9oanGazrRfkgAg.png" /></figure><p>可以看到<strong>import site</strong>，有一個作用是找到<strong>Path\to\Lib\site-packages</strong>並將其加入到模組搜尋路徑中。</p><p>此外，也可以觀察到其他兩個路徑則是對應到<strong>python310._pth</strong>的前兩行所指定的位置。</p><p>我們還可以做個測試，如果將<strong>python310._pth</strong>當中的每一行都註解，則會出現以下錯誤訊息:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZT6Vix622Xd-x08HLExwOg.png" /></figure><p>除了設定好載入路徑之外，我們還可能需要在根目錄中手動添加一個<strong>DLLs</strong>資料夾，這個是為了避免執行過程中找不到這個資料夾位置。</p><p>總而言之，我們現在應該可以執行pip了。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/967/1*u1ki2ul5hf4SlsfPGTkLpA.png" /></figure><h4>解壓縮<strong>python310.zip</strong></h4><p>前面也有提到<strong>python310.zip</strong>，裡面有許多資料夾以及檔案，其中就有包含pickle檔，比如<strong>Path\to\python310.zip\lib2to3\Grammar3.10.4.final.0.pickle</strong>。</p><p>而基本上，python使用內建功能在解析pickle檔時，會無法正常讀取壓縮檔當中的pickle檔(除非修改成解析前先進行解壓縮再讀取pickle檔)，所以這邊為了方便，才需要事先手動解壓縮<strong>python310.zip</strong>，解壓縮後的資料夾名稱也要是<strong>python310.zip(</strong>為了避免名稱相同而衝突，需要先刪除原本的<strong>python310.zip</strong>壓縮檔或者改變其名稱，這是因為在Windows當中，檔案含副檔名的名稱與資料夾名稱也不能相同)。</p><p>而為何一定要<strong>python310.zip</strong>這個名字，當然是因為前面的<strong>python310._pth</strong>就是這樣設定。</p><p>最後的目錄結構大致上如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1020/1*3yP2H4ynD7CKSNOLAXs7aQ.png" /></figure><h4>移動已安裝好的pip會發生的狀況</h4><p>前面我們有提到，安裝好的pip其實是會綁死安裝路徑的(寫在pip.exe檔中)，所以移動pip之後，除非原本安裝路徑的pip.exe仍存在，不然執行是會出錯的。如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5aaQlK71PZD2otk8M9OrZQ.png" /></figure><p>前後兩個<strong>pip -V</strong>，兩個的差別在於前者是在原本的pip.exe仍存在在原先安裝的路徑上執行的結果，可以看到雖然pip.exe被複製到其他地方後(所以原本的pip.exe仍存在)，仍綁定在舊路徑。</p><p>下圖為使用文字編輯器打開查看，可以看到路徑如何被綁定:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Z1JOsHdvHWLXKKOhzVZlw.png" /></figure><h4>結論</h4><p>本篇主要是介紹如何製作自己的可攜式Python環境，比起直接透過installer安裝，麻煩了許多，也有一些細節要特別注意，往後的執行才不會出錯。若是單純作為一個穩定版本、嵌入、可攜式用途，基本上pip就不需要特別打包在一起。</p><p>不過如果是想要把已經製作好且包含pip的可攜版Python複製或移動出來到其他地方，為了讓pip可以使用，第一可以修改在相關檔案所綁定的路徑，第二當然是寫個腳本去自動安裝pip，如此可以透過點擊就能直接安裝，也可以自行添加一些其他的功能，做環境的預處理。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98848d73f8a9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/%E8%A3%BD%E4%BD%9C%E5%8F%AF%E6%94%9C%E7%89%88python-98848d73f8a9">製作可攜版Python</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【Game】Doodle冠軍島運動會(Doodle Champion Island Games)]]></title>
            <link>https://medium.com/coding-learning-sharing/game-doodle%E5%86%A0%E8%BB%8D%E5%B3%B6%E9%81%8B%E5%8B%95%E6%9C%83-doodle-champion-island-games-c96910793efb?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/c96910793efb</guid>
            <category><![CDATA[games]]></category>
            <category><![CDATA[doodle冠軍島運動會]]></category>
            <category><![CDATA[google-doodle]]></category>
            <category><![CDATA[news]]></category>
            <category><![CDATA[2020東京奧運]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Sat, 24 Jul 2021 12:00:38 GMT</pubDate>
            <atom:updated>2026-02-08T02:06:21.035Z</atom:updated>
            <content:encoded><![CDATA[<h4>Google常常在其搜尋引擎上發布彩蛋，有的是透過下特定關鍵字來觸發，讓搜尋畫面有不同的特效。，而有的單純就在首頁上，直接可以讓人玩遊戲!</h4><h3>前言</h3><p>Google常常在其搜尋引擎上發布彩蛋，有的是透過下特定關鍵字來觸發，讓搜尋畫面有不同的特效。而若是在一些特殊紀念日、節慶或是重大活動發生時，就在首頁上，直接可以讓人玩遊戲!</p><p><strong>Google Doodle</strong>便是Google用來呈現的一個媒介，很多時候，首頁的Google商標圖案，會在一些特殊節日與慶典時被替換。而<strong>Google Doodle</strong>的表現有多種形式，從單純靜態，給人欣賞藝術的圖像，到互動式，甚至能用來玩遊戲呢!</p><p>而在2021.07.23這天，也就是<strong>2020東京奧運的開幕日</strong>，<strong>Doodle冠軍島運動會</strong>(<strong>Doodle Champion Island Games</strong>)在Google搜尋引擎首頁上發布了。</p><h3><strong>Doodle冠軍島運動會</strong>(<strong>Doodle Champion Island Games</strong>)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*PMYVdRRQSBM8jh8XYZZRGg.png" /></figure><p>這項消息除了Google首頁有曝光之外，在Youtube平台上，<strong>GoogleDoodles</strong>頻道中也有發布一系列的小動畫影片:</p><p><a href="https://www.youtube.com/user/googledoodles/videos">GoogleDoodles</a></p><p>同時，<strong>Google Doodle</strong>的網站也有相關消息與詳細介紹，包含幕後花絮、角色設計構想以及遊戲故事的蒐集等等:</p><p><a href="https://www.google.com/doodles/doodle-champion-island-games-begin">Doodle Champion Island Games Begin!</a></p><p><strong>Doodle冠軍島運動會</strong>主要有桌球、馬拉松、橄欖球、攀岩、滑板、水上芭蕾以及射箭等等運動項目，讓玩家去進行競賽，基本上都是相對容易的關卡，畢竟不是要去難倒玩家。有的項目有中階難度以及高階難度，可以滿足玩家的挑戰欲。在基本的關卡分數達標並獲得勝利後，可以獲得一些卷軸，並且得到該項目的冠軍頭銜。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*GDBU0xMfAwat8tlK4fAKVw.png" /></figure><p>而玩家在抵達冠軍島中心後，首先可以看到七座雕像，代表七個不同運動項目的冠軍，在那裡可以選擇加入隊伍，有紅藍黃綠四種顏色，正好是Google商標有的顏色，而這四種顏色對應的代表角色分別是鳥、牛、狐狸與河童。<br>而我玩的時候是選擇黃隊，狐狸提示說可以透過地圖系統，瞬間移動到指定比賽地點。選擇不同隊伍，在遊戲過程中，各自的代表角色給的提示應該也會有所不同。</p><p>此外，這個遊戲還包含了許多日本各地的小故事與角色等等不同的在地元素，所以不只是單純玩Game，還能體驗當地的文化。</p><p>遊戲中玩家除了需要獲得所有項目的冠軍頭銜，若有興趣，也能解解支線任務，頗有趣味，而部分支線任務比較囉嗦，甚至隱藏在比較邊角的地方，所以某方面也挺需要動腦筋的，明明知道大概在地圖上哪個位置，但卻找不到~。</p><p>而遊戲中也有一些成就可以去達成，其實提示都挺充足，地圖也不大，所以基本在兩、三個小時內可以通關並完成所有成就。</p><h3>成就</h3><blockquote>1. 愛書人<br>2. 降雨終結者<br>3. 健身房激勵大師<br>4. 年度最佳建築工人<br>5. 馬拉松保姆<br>6. 姊妹團員推手<br>7. 藝術家的學徒<br>8. 隱居圓夢者<br>9. 麵包店房地產經紀人<br>10. 點亮燈籠者<br>11. 找回球拍<br>12. 止風者<br>13. 午休時間到<br>14. 溫泉救星<br>15. 尋找獎盃大師<br>16. 打破僵局<br>17. 皇家實習箭矢收集員<br>18. 鬼魂快遞<br>19. 山區救援大作戰<br>20. 秘密滑板公園會員<br>21. 桃子獵人<br>22. 尋回幸運箭</blockquote><h3>遊玩影片</h3><p>以下連結為本人遊玩紀錄:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FqJ5BfwcjuHQ&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DqJ5BfwcjuHQ&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4e6002cf274173992d0f52f869596a7f/href">https://medium.com/media/4e6002cf274173992d0f52f869596a7f/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c96910793efb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/game-doodle%E5%86%A0%E8%BB%8D%E5%B3%B6%E9%81%8B%E5%8B%95%E6%9C%83-doodle-champion-island-games-c96910793efb">【Game】Doodle冠軍島運動會(Doodle Champion Island Games)</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【News】Google屢次停止運作 解決方案]]></title>
            <link>https://medium.com/coding-learning-sharing/news-google%E5%B1%A2%E6%AC%A1%E5%81%9C%E6%AD%A2%E9%81%8B%E4%BD%9C-%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-1a3d45204ca5?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a3d45204ca5</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[crash]]></category>
            <category><![CDATA[apps]]></category>
            <category><![CDATA[mobile]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Tue, 22 Jun 2021 06:05:32 GMT</pubDate>
            <atom:updated>2026-02-08T02:06:14.190Z</atom:updated>
            <content:encoded><![CDATA[<h4>今天手機Google App總是屢次停止運作，導致影響使用，本篇將給出幾個可能的推測與解決方案。</h4><h3>前言</h3><p>今天2021.06.22，大約台北時間中午時候，手機的Google App背景任務一直崩潰，導致無限的跳出停止運作的通知，嚴重影響使用。</p><p>話不多說，先上圖:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_PV6fsDuWMw5XwozRZLd_g.jpeg" /></figure><h3>推測</h3><p>如下圖所示，根據出錯的資訊，可以看到是背景任務 <strong>UPDATE_HOTWORD_MODELS</strong>崩潰了，代表可能跟更新最新的熱門關鍵字模型有關，這個模型的用途可能用在語音辨識或文字辨識。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kyiE6cY1aHtQysbhTXAHSA.jpeg" /></figure><p>如下圖所示，繼續往下看，可以發現與speech有關，或許是用在語音辨識更為可能，比方說Google Assistant。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EcHUKBtXrpjCqgr1LUhXrw.jpeg" /></figure><p>關於Hotword model，我這邊有查到了一些資訊，供參考:</p><p><a href="https://patents.google.com/patent/US9263042">US9263042B1 - Providing pre-computed hotword models - Google Patents</a></p><h3>解決方式</h3><blockquote><strong>解決方案1:</strong></blockquote><blockquote>將Google App更新至最新版</blockquote><p>而在昨天，也就是2021.06.21日，Google App也有發佈更新，或許也跟這一波更新有關，因此我個人先初步更新到最新版，然而問題並未解決。如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AFCart5HPMqeIakqS0T9Jw.jpeg" /></figure><blockquote><strong>解決方案2:</strong></blockquote><blockquote>將Google App解除安裝，一般會回退到手機原廠預設的那個最初版本</blockquote><h3>結論</h3><p>因為是背景任務突然崩潰，明明沒有主動開啟Google，卻收到停止運作的跳出視窗，這確實令人苦惱，而且影響使用。</p><p>本篇就給出兩個基本的作法，第一是更新、升級至最新版，第二是回退至原廠初始版本。根據不同的使用者，應該不一定說哪種才有效。至少我朋友是透過第一個方案解決，而我則是第二個方案才解決。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a3d45204ca5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/news-google%E5%B1%A2%E6%AC%A1%E5%81%9C%E6%AD%A2%E9%81%8B%E4%BD%9C-%E8%A7%A3%E6%B1%BA%E6%96%B9%E6%A1%88-1a3d45204ca5">【News】Google屢次停止運作 解決方案</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【News】紓困計畫4.0-線上查詢系統使用介紹]]></title>
            <link>https://medium.com/coding-learning-sharing/news-%E7%B4%93%E5%9B%B0%E8%A8%88%E7%95%AB4-0-%E7%B7%9A%E4%B8%8A%E6%9F%A5%E8%A9%A2%E7%B3%BB%E7%B5%B1%E4%BD%BF%E7%94%A8%E4%BB%8B%E7%B4%B9-74d444f76788?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/74d444f76788</guid>
            <category><![CDATA[線上查詢系統]]></category>
            <category><![CDATA[紓困4]]></category>
            <category><![CDATA[紓困]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Mon, 07 Jun 2021 08:40:32 GMT</pubDate>
            <atom:updated>2026-02-08T02:06:07.980Z</atom:updated>
            <content:encoded><![CDATA[<h4>政府所實施的紓困計畫，我們可以透過線上查詢系統得知是否符合資格，但是...由於人流眾多等等因素，連在線上也得排隊...</h4><h3>前言</h3><p>由於疫情關係，停班、停課、WFH、線上遠距教學等等方案接著實施，民眾的生活方式也跟著改變，外出戴口罩、噴酒精消毒，能不外出就不外出，盡量減少在外逗留的機會。</p><p>這樣的情況令許多人的生活受到影響，政府啟動紓困計畫4.0，也開放了線上查詢網站給民眾去使用。</p><p>但是由於這是熱門話題，且與人民自身的權益息息相關，才剛開放就出現了一些情況 - <strong>網站分流</strong>。</p><p>本篇將主要提及遇到網站分流(針對110年度自營作業者或無一定雇主之勞工生活補貼線上查詢系統)的解決方式。</p><p>相關參考資料與官方詳細說明:</p><ul><li><a href="https://covid19.mohw.gov.tw/ch/cp-5188-61205-205.html">衛生福利部</a></li><li><a href="https://www.mol.gov.tw/announcement/2099/49641/">中華民國勞動部全球資訊網 - 勞動部110年自營作業者或無一定雇主之勞工生活補貼，首批去年曾請領且符合今年資格條件的100萬餘人，勞保局將於6月4日起入帳。</a></li><li><a href="https://www.mol.gov.tw/topic/44761/48532/?roleL1=48551&amp;roleL2=48569">中華民國勞動部全球資訊網 - 自營作業者及無一定雇主勞工</a></li></ul><h3>線上查詢系統(110年度自營作業者或無一定雇主之勞工生活補貼)</h3><p>以下先附上網址</p><p>一般<strong>線上填表查詢(免插卡雙號，健保卡+戶號)</strong>連結:</p><p><a href="https://edesk.1955.gov.tw/na/na_gsp_login.jsp">https://edesk.1955.gov.tw/na/na_gsp_login.jsp</a></p><p><strong>憑證登入(讀卡機</strong>+<strong>自然人憑證)連結</strong>:</p><p><a href="https://edesk.bli.gov.tw/na/">e 化服務系統 : 個人網路申報及查詢作業</a></p><p>紓困的條件其實挺嚴苛的，每次補助的對象也不完全相同，因此若能善用政府給的線上查詢系統，確實會方便許多。</p><p>不過這個系統因為人流眾多導致排隊與分流的情況，雖然網站會自動刷新等待時間，但是容易其實時間一長，很容易忽略掉，總不可能一直盯著螢幕。</p><p>如下圖所示(1, 過程中是自動刷新，並未手動重新載入頁面):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KvfN5tVoA2XlPOFQK3oWag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFA_kf_9uhiQ_M5UNGlWUQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/863/1*7gU6-SSc22JK-82a-NIidg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MvuOGfKZScnuUrEPga1cfQ.png" /></figure><p>如下圖所示(2):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H6RmoGdP_hy-cMCGAmLbVA.png" /></figure><p>可以看到時間跳來跳去，而且久得不得了。</p><p>當然最簡單的方式是過一陣子等人潮退去在查詢也行。</p><p>不過會網站塞車的網頁，除非只有開放唯一查詢管道，其實往往都是那種不需要特別準備額外設備的介面，像是<strong>免插卡雙號查詢系統</strong>。</p><p>而我們還能透過<strong>讀卡機</strong>，以<strong>自然人憑證</strong>去登入，這種方式以目前來說不太需要排隊，若比較急著想看到結果的人可以嘗試看看。</p><p>以下將會講述一下這個管道的使用方式。</p><p>登入網站後，系統會提示要安裝<strong>安控模組</strong>，就像是一般使用讀卡機登入郵局或銀行等線上網站的步驟一樣。如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mDJIan1Ec2HTdqrR-kzDfg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQgNI3A06hCPVhnGRzr8EA.png" /></figure><p>不過不太一樣的是，若使用Chrome，他還需要安裝<strong>SmartPKI 多憑證安控模組擴充套件</strong>，屬於<strong>Chrome擴充功能</strong>。</p><p>一般而言，依序按確定會幫你自動下載需要的安裝執行檔，或導到指定的安裝頁面。若沒有自動下載的話，可以透過以下連結進行下載與安裝:</p><ul><li><a href="https://chrome.google.com/webstore/detail/smartpki-%E5%A4%9A%E6%86%91%E8%AD%89%E5%AE%89%E6%8E%A7%E6%A8%A1%E7%B5%84%E6%93%B4%E5%85%85%E5%A5%97%E4%BB%B6/jhffgcfmcckgmioipfnmbannkpncfipo">SmartPKI 多憑證安控模組擴充套件</a></li><li><a href="https://edesk.bli.gov.tw/qa/main3.htm">下載區</a></li></ul><p>在擴充套件的部分，網站說明底下有提示需要安裝安控模組，可以透過第二個連結所附帶的安裝執行檔進行安裝。而且官方網站也有附上安裝說明與問題解釋，其實非常詳細，知道怎麼操作不困難，通常只是不知道有這樣的管道可以使用而已。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/861/1*KBwkDiwlIXhc_maQJ8rRaA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*Z4mYqN5Gr70GI-rGKLtjOg.png" /></figure><p>安裝完預設會在系統碟的以下路徑上:</p><blockquote>C:\Users\&lt;user name&gt;\AppData\Roaming\Zhanxin</blockquote><p>一切準備就緒之後，就能夠進行登入。並且以目前來說，不像是免插卡的管道人流眾多，因此能夠馬上查詢結果。</p><p>登入後在該頁面左上方選項可以進行查詢，如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*XJm_I9aECdzkx_IqN38NNA.png" /></figure><h3>其他</h3><p>雖說在<strong>110年度自營作業者或無一定雇主之勞工生活補貼</strong>查詢資格的部分有兩種管道可以使用，並且能稍微解決網站分流問題。但<strong>110年度因應疫情擴大急難紓困線上申辦系統</strong>就不是這樣了，目前看起來，線上就這個管道，因此一旦啟動分流，就只能乖乖等待了。</p><p>網站如下:</p><p><a href="https://1957.gov.tw/">https://1957.gov.tw/</a></p><p>分流情況如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SKLMwA8b1md-VAQwMNZxwQ.png" /></figure><h3>結語</h3><p>每次紓困計畫或者相關補助出來，就算是不太可能是補助對象，但總會想知道自己有沒有那個機會符合資格，偏偏補助的方案眾多，每個方案的條件也一堆，常常不知道自己符不符合，胡亂申請或許還會增加審查與相關負責人員的負擔。</p><p>因此，最好能提供查詢的管道，並且我們也能夠去善用它。</p><p>而這樣的工具或者管道，可能多多少少都會有一些缺點，因此，在這篇文章特別提及一些解決方式。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74d444f76788" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/news-%E7%B4%93%E5%9B%B0%E8%A8%88%E7%95%AB4-0-%E7%B7%9A%E4%B8%8A%E6%9F%A5%E8%A9%A2%E7%B3%BB%E7%B5%B1%E4%BD%BF%E7%94%A8%E4%BB%8B%E7%B4%B9-74d444f76788">【News】紓困計畫4.0-線上查詢系統使用介紹</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[【News】Windows Defender Bug導致大量檔案占用硬碟]]></title>
            <link>https://medium.com/coding-learning-sharing/news-windows-defender-bug%E5%B0%8E%E8%87%B4%E5%A4%A7%E9%87%8F%E6%AA%94%E6%A1%88%E5%8D%A0%E7%94%A8%E7%A1%AC%E7%A2%9F-c0cd26e0dce4?source=rss-f38552357f70------2</link>
            <guid isPermaLink="false">https://medium.com/p/c0cd26e0dce4</guid>
            <category><![CDATA[windows-defender]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[windowsupdate]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[news]]></category>
            <dc:creator><![CDATA[Jerome Lin]]></dc:creator>
            <pubDate>Mon, 10 May 2021 13:20:41 GMT</pubDate>
            <atom:updated>2026-02-08T02:05:09.321Z</atom:updated>
            <content:encoded><![CDATA[<h4>近期的Windows Update，Windows Defender出現了一些Bug，這個Bug可能會無時無刻產生出數個零碎檔案，最終導致許多硬碟可用空間的消耗。</h4><h3>前言</h3><p>一般在執行Windows Update時，可能也會一併對Windows Defender進行修正或添加新的功能與防護。但在近期某個版本開始，啟用Windows Defender的使用者可能會發現硬碟的可用空間快速減少。</p><p>這個可能是因為Windows Defender的Bug所導致，這次的Bug會一直產生無數個零碎細小的檔案，很可能一天就產生了幾十GB的硬碟佔用空間，聽起來就相當令人困擾。</p><h3>相關反應事件</h3><p>目前有一些新聞與論壇其實都有表示相關的問題，因為受影響的使用者眾多，所以挺容易發現的。</p><p>以下先附上相關的參考連結:</p><ul><li><a href="https://www.bleepingcomputer.com/news/microsoft/windows-defender-bug-fills-windows-10-boot-drive-with-thousands-of-files/">Windows Defender bug fills Windows 10 boot drive with thousands of files</a></li><li><a href="https://www.deskmodder.de/blog/2021/05/05/windows-defender-msmpeng-dll-fuellt-den-ordner-windowsdefender-scan-history-fix-kommt-am-donnerstag-6-05-21/">Windows Defender MsMpEng.dll füllt den Ordner windows defender/scan/history - Fix kommt am Donnerstag 6.05.21</a></li><li><a href="https://docs.microsoft.com/en-us/answers/questions/378578/windows-defender-creating-thousands-of-files.html">Windows Defender creating thousands of files - Microsoft Q&amp;A</a></li><li><a href="https://betanews.com/2021/05/05/windows-defender-files-windows-10/">Windows Defender bug creating thousands of files on Windows 10 systems</a></li></ul><h3>說明</h3><p>根據目前的相關回饋與反應，這樣的事件最早是從<strong>2021年4月28日</strong>開始的，而出問題的地方是<strong>Windows Defender Engine</strong>(<strong>version 1.1.18100.5</strong>)。</p><p>如果想要確認版本的話，有很多種方法。</p><p>可以直接找到目標檔案路徑，如下所示:</p><pre><strong>%ProgramData%</strong>\Microsoft\Windows Defender\Definition Updates\{XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}\<strong>mpengine.dll</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*r1ihcPLy9wE-zwSl2ebFRg.png" /></figure><p>或是透過<strong>Windows安全性</strong>介面，如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bgDrtNLPZR37gjnl53zYWg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NzJFt8H4uAUWZzWjpQSp8g.png" /></figure><h3>可能的解決方式</h3><ol><li>依目前來看在<strong>version 1.1.18100.6</strong>版本能解決這樣的Bug。因此，若目前你的<strong>Windows Defender Engine</strong>版本低於這個版本的，盡量先去進行Windows Update，避免這個問題的發生。</li></ol><p>2. 關閉<strong>Real-time protection of Windows Defender</strong>。</p><p><a href="https://support.microsoft.com/en-us/windows/turn-off-defender-antivirus-protection-in-windows-security-99e6004f-c54c-8509-773c-a4d776b77960">Turn off Defender antivirus protection in Windows Security</a></p><p>3. 又或者是使用其他的防毒軟體，並且確認已關閉<strong>Windows Defender</strong>。</p><p>如果要直接關閉<strong>Windows Defender</strong>也有許多種方式:</p><pre>1. 透過<strong>本機群組原則編輯器</strong>(<strong>Win + R</strong> =&gt; Enter <strong>gpedit.msc</strong>)<br>2. 透過<strong>電腦管理</strong>=&gt;<strong>服務與應用程式</strong>=&gt;<strong>服務</strong></pre><p>接著，找到<strong>Microsoft Windows Defender</strong>相關字眼的服務或選項進行調整就行了，看是要改成手動啟動或是直接關閉。</p><h3>推估</h3><p>由於我本身是使用<strong>Avira AntiVirus</strong>(<strong>小紅傘</strong>)，所以<strong>Windows Defender</strong>的部分功能我並未開啟，或許是因為這個原因，我並未發現有何異狀，至少沒出大問題。</p><p>然而為了以防萬一，我還是去找了相關的訊息。</p><p>根據這樣的事件發生，最早是從<strong>2021年4月28日</strong>開始，而在這個時間點<strong>Windows Update</strong>上有一個<strong>KB5001391</strong>的累積更新。</p><p><a href="https://support.microsoft.com/help/5001391">April 28, 2021-KB5001391 (OS Builds 19041.964 and 19042.964) Preview</a></p><p>而我當初進行更新時，是在<strong>2021年5月4日晚上</strong>左右，<strong>2021年5月5日凌晨</strong>更新完畢，如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*-b-Bee2UeLw0piMYlos4pw.png" /></figure><p>所以我又去找了與<strong>Windows Defender</strong>相關的資料夾或檔案:</p><pre><strong>%ProgramData%</strong>\Microsoft\Windows Defender\Scans</pre><p>在差不多的時間點，這個資料夾底下放著許多<strong>Binary files</strong>，顧名思義，這些都是以二進制進行存放的檔案，其功能不一定只是文字而已，可以是某一個可執行的檔案等等，有著不同的應用，如果我們不知道怎麼去解讀這些以二進制存放的資料，我們也無法輕易知道其功能。話說回來，這些檔案加起來也有181MB啊~。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*DfA0mJVgQtR-QrcE9BUfPw.png" /></figure><p>另一條路徑，是主要的問題所在，也就是這次事件會產生的大量零碎檔案所在資料夾位置:</p><pre><strong>%ProgramData%</strong>\Microsoft\Windows Defender\Scans\History\Store</pre><p>同樣在差不多的時間，基本上就是從<strong>2021年5月5日2點07分</strong>開始，陸續產生大量的檔案，在這個時間點之前，估計是因為我本身並不常使用這項功能，所以也就兩個歷史紀錄檔。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*7N60cGKBJD81yf2rmsLerQ.png" /></figure><p>這樣的情況只持續到<strong>2021年5月5日2點11分</strong>，如下圖所示<strong>:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*_1OKRYpS8zTuOnVTRV9olQ.png" /></figure><p>這是為何呢?我猜是因為接下來我所使用的<strong>Avira AntiVirus</strong>(<strong>小紅傘</strong>)接著開始執行了，如下圖所示:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*x3HwkyQemlnqoeYg6Li2tg.png" /></figure><p>以上都是推測，不管是因為何種原因，又或者其實單純只有產生幾百個檔案是屬於正常現象(畢竟我這邊最終並未發生產生好幾GB的小檔案情況發生)。</p><p>我們也能夠去推估，這樣的小檔案所造成的影響，不僅僅只是因為大量，還得考慮<strong>檔案系統</strong>的<strong>配置單位</strong>，在先前我也有發布一篇文章專門介紹這個東西，簡而言之，一個檔案在儲存系統上所佔用的空間，並非是其檔案大小，而是該檔案系統當初所決定的<strong>配置單位的倍數</strong>，<strong>檔案系統</strong>的<strong>配置單位</strong>就是<strong>最小的存放單位</strong>。</p><p>以<strong>NTFS</strong>檔案系統來說，通常都是使用<strong>4 KB</strong>大小的單位，每個小檔案卻只有1KB至2KB，很明顯，可用空間的消耗會是原本檔案大小的2至4倍，非常可怕的。</p><p>因此，這樣的問題無論有沒有發生，我們都非常需要去重視它。</p><h3>結論</h3><p>本篇我們提到了近期的<strong>Windows Update</strong>，<strong>Windows Defender</strong>出現了一些Bug，這個Bug可能會無時無刻產生出數個零碎檔案，最終導致許多硬碟可用空間的消耗。</p><p>出問題的元件與版本主要是<strong>Windows Defender Engine</strong>(<strong>version 1.1.18100.5</strong>)。</p><p>並且我們給出了一些解決方式，並從Windows Update上推估相關的可能緣由。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c0cd26e0dce4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/coding-learning-sharing/news-windows-defender-bug%E5%B0%8E%E8%87%B4%E5%A4%A7%E9%87%8F%E6%AA%94%E6%A1%88%E5%8D%A0%E7%94%A8%E7%A1%AC%E7%A2%9F-c0cd26e0dce4">【News】Windows Defender Bug導致大量檔案占用硬碟</a> was originally published in <a href="https://medium.com/coding-learning-sharing">Coding Learning Sharing</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>