<?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 Zora on Medium]]></title>
        <description><![CDATA[Stories by Zora on Medium]]></description>
        <link>https://medium.com/@zora2002?source=rss-3eb0d2b9fc1c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YqheC-_0DOnJt8KanpSWfw.jpeg</url>
            <title>Stories by Zora on Medium</title>
            <link>https://medium.com/@zora2002?source=rss-3eb0d2b9fc1c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 15:48:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zora2002/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[Obsidian + GitHub]]></title>
            <link>https://zora2002.medium.com/obsidian-github-311b433e60d8?source=rss-3eb0d2b9fc1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/311b433e60d8</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[obsidian]]></category>
            <category><![CDATA[notes]]></category>
            <dc:creator><![CDATA[Zora]]></dc:creator>
            <pubDate>Wed, 17 Apr 2024 09:51:51 GMT</pubDate>
            <atom:updated>2024-04-17T09:54:26.424Z</atom:updated>
            <content:encoded><![CDATA[<p>(網路流量提醒：本文會有大量的教學圖片)</p><h3>前言</h3><p>經歷過 Evernote 逃難潮和 HackMD 圖片的不告而別，身為一位免費仔，看過這篇<a href="https://www.facebook.com/groups/f2e.tw/posts/7122674531103184/">討論</a>後，決定把最後的信心獻給 Obsidian + GitHub。</p><p>如果跟我一樣有下列筆記需求，可以參考看看這次的內容</p><ol><li>免費仔</li><li>No養套殺</li><li>筆記中常使用圖片</li><li>表格介面</li><li>裝置限制</li></ol><h3>Obsidian + GitHub 的優缺</h3><p>背景：本身是一位前端工程師，對 Git、VS Code、Markdown 熟悉，所以一些技術面的困難，這邊不客觀的沒有列入缺點 😅</p><p>優點：</p><ol><li>筆記都是 md 檔：因為通用性，不怕腳麻搬不走，或是轉換格式成本</li><li>圖片不會上傳到 imgur 或筆記平台(隱私問題)，PDF也可以上傳(不用再轉圖片)</li><li>Obsidian v1.5 開始，有優秀的 Markdown table 編輯介面 ：我在HackMD 很常想寫表格又想到後續維護就放棄改條列式</li><li>筆記大小和傳輸量不受限制 ：以前 Evernote 免費方案，限制每則筆記大小25MB，一個月最多上傳60MB，有時候幾張圖片就爆了</li><li>可離線編輯：去外面咖啡廳寫筆記時，不想連 Wi-Fi ，也不想一直開著手機熱點，這時離線就很方便(還可以專心)</li><li>有許多 Extension，可自訂主題、字型</li><li>關聯圖和雙向連結：有次學到一個概念記在A筆記，後來實作不小心又踩坑，就寫了一篇踩坑大全B筆記，收集踩過的坑。雖然可以在B筆記貼連結，但連結常常是 `https://平台Domain/A筆記ID/#段落名稱`。如果段落名稱改了，要再去改B筆記裡A筆記的連結，維護很辛苦。Obsidian 可以輕鬆連結，修改A筆記時自動更新B筆記裡的title和link，關聯圖也可以一目了然知道有哪些BCD筆記連結了A筆記</li></ol><p>缺點：</p><ol><li>因為是搭配 GitHub ，所以<strong>手機上</strong>不像Notion、Evernote 這種專門做APP針對手機體驗，免費閱覽只能透過 GitHub，應急看一下還…勉強可以，但圖片沒辦法呈現。當然，付費版 Obsidian 是可以解決這個問題。</li><li>比起 HackMD ，分享給他人沒辦法及時，要轉 PDF 或用 Extension 產生分享連結。協作需要付費(<a href="https://notes.nicolevanderhoeven.com/obsidian-playbook/Using+Obsidian/05+Saving+syncing+and+sharing+your+notes/Sharing+your+notes">參考</a>)</li></ol><h3>安裝(入門)</h3><ol><li>先到 GitHub 建立一個專案(可以選 Private，不會影響後面的筆記存取)</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/849/1*Y3wisAT-c4L6yXtJ-P-4hA.png" /></figure><p>2. 下載 GitHub Desktop <a href="https://desktop.github.com/">https://desktop.github.com/</a> (也可以用 VS Code)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tZZX3CtGMRVLEwCvhCHZ-g.png" /></figure><p>3. 開啟 GitHub Desktop ，選 Options</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1SaUuJJe31oesuxZFarQ-g.png" /></figure><p>4. 登入 GitHub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bXAwf5kswc1FDkIeCqlaEw.png" /></figure><p>5. clone 剛剛建立的專案</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ezi8W1L1ESD6t4i1SXrBoQ.png" /></figure><p>6. 選擇專案、Path (預設可能是 vault 資料夾，個人習慣與專案名稱一致)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w9qgHcNMVfXMU6Oab4a6sw.png" /></figure><p>7. 下載 Obsidian <a href="https://obsidian.md/download">https://obsidian.md/download</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DhlBjDhQtkxxLd2QUxqMCg.png" /></figure><p>8. 注意要下載1.5以上的版本，才有圖像化的表格可以用喔。語言選繁中。最後開啟並選擇我們剛clone好的專案</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3QsZ2NVVIdme1Mc7PpVGA.png" /></figure><p>9. 成功進入到 Obsidian 編輯畫面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GG4NW7JSsG1M-BAVfBI83g.png" /></figure><p>10. 回到 GitHub Desktop，可以發現有自動新增一些 Obsidian 的設定</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*72KMuyFS2Zhox0EfaxOQTA.png" /></figure><p>11. 先下個commit</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VQhGc6OMw4yd-UfgO8WY0g.png" /></figure><p>12. push 到 GitHub</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mPUUiUT-1yd4d1EdcuHv2Q.png" /></figure><p>13. 來 GitHub 網頁上查看，commit &amp; push 成功</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*s69Y2QR3JpZGOZdIdkcRTQ.png" /></figure><p>14. 新增筆記。資料夾命名可以加數字，方便排序</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*998p8z-udz4b_X0pq7PeQA.png" /></figure><p>15. 寫好後一樣回到 GitHub Desktop，將異動 commit &amp; push 上去</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gQloFhgxbX4VQ9UL0RcF3Q.png" /></figure><p>16. GitHub 網頁上查看筆記檔案，已上傳成功</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9NTsEeavsi-xf_7L_Dwhkw.png" /></figure><h3>介面</h3><p>左右兩邊可點擊打開選單</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e_fvBfMpoUhv3DnVGJNurQ.png" /></figure><p>可以查看本篇大綱</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GYRhAyNKjK68e0KPJjmJGA.png" /></figure><p>查看全部筆記用了那些屬性</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1bAWE5KcRo6zeckL1t7-wA.png" /></figure><p>全部筆記用了那些標籤</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MSlqkaLsMVBxiSUvOE1K4Q.png" /></figure><p>恭喜完成入門🎉</p><p>這邊推薦大家先暫停一下， Google 搜尋 `Obsidian` 與 `卡片盒子` 的一些概念，這樣會更清楚這款軟體的魅力喔 (<a href="https://vocus.cc/article/643a1359fd8978000169502a">參考</a>)</p><p>如果已經對概念有點了解的話，下一步：常見功能 Let’s go ~</p><h3>常見功能 - 01 自動上傳</h3><p>1 開啟左下角的設定，選第三方外掛程式，並啟用</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9CR-lJLfrfx2WEniWkPE3w.png" /></figure><p>2 選這個擴充套件</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tIpE16eqeOYANWpF6l7hdg.png" /></figure><p>3 選安裝</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gUVk_OVtoN1Gb7o9-zW8Kw.png" /></figure><p>4 再點啟用</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6OX4Mfpj5VnQP_vadkFyKg.png" /></figure><p>5 點Git 或 點設定</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x0Auf8NaOSy7Rl5yb3v8rg.png" /></figure><p>6 可以設定每隔幾分鐘備份一次</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3dPD1wNilsRlkUO_IYFMgQ.png" /></figure><p>7 記得輸入名子和信箱</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dMetC7DufkzHGjXzfdKwpQ.png" /></figure><p>8 之後回來編輯，時間到如果成功自動commit，畫面會像右上角這樣</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RBYCMNtkiuC7iNsewiUjSg.png" /></figure><p>9. 也很快會出現push通知</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ku6icCpKL2mA0IpWNXxWDA.png" /></figure><p>10 如果自動備份設定時間較長(例如：60分)，離開時透過 GitHub Desktop 檢查是否還有未保存的內容，再關掉比較安全喔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dK_ckdf-5BYOa7qRy0Dq2Q.png" /></figure><h3>常見功能 - 02 分享 (檢視)</h3><p>1 下載擴充 <a href="https://github.com/alangrainger/share-note">https://github.com/alangrainger/share-note</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EoZbBWGTi9-175lEMAE2JA.png" /></figure><p>2 點擊產出分享連結</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JkfjaN110c4xf7bWD3o7_g.png" /></figure><p>3 等他生成</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lepFzuiNrvUzNXPrLWC5BA.png" /></figure><p>4 屬性會自動出現</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*g6fnwm06NOf69np6BCC2Pw.png" /></figure><p>5 無痕測試 -&gt; 成功 :D</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fn_uAhdFU_eDeg5d3HyyMQ.png" /></figure><p>6 點擊更新icon，就可以更新內容。更新時間會自動更新，不用手動調整</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mkS0R6-o64P-46svKyA0Xg.png" /></figure><p>7 刪除連結</p><p>方式1: 手動刪除</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7IR0iuTBRQVAJw-jTxCwDA.png" /></figure><p>方式2: 預設失效</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ik0I2rtfsSBQ3CMuZM2PcA.png" /></figure><p>8 刪除/失效後畫面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GG3GDChkbnLHVT6fP6wTEw.png" /><figcaption>不管是手動刪除，還是自動失效，後續文章屬性的資訊不會清空 (屬性還是看得到連結、時間，點下去404而已)，要自己清理屬性</figcaption></figure><h3>常用功能 - 03 貼上連結自動生成標題</h3><p>下載這個擴充</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pFq6CywZvZeLEvZxNFf0nQ.png" /></figure><p>效果如下</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZoWvuYtZUPCd2LB4nPhouA.gif" /></figure><h3>常用功能 - 04 圖片尺寸大小</h3><p>(這個不用裝擴充套件)</p><p>![[test_image.png]]，在png後面加上 |300 或 |400，就可以調整圖片大小</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hPhniu4n6hBKipYw_S1gKg.gif" /></figure><p>以上是這次簡單的 Obsidian + GitHub 介紹，如果對 Heptabase 有興趣，可以參考這部<a href="https://www.youtube.com/watch?v=ynTxP4iFt-s">影片</a>，我覺得也是入門好懂。</p><p>最後，關於做筆記的誤區，也推推這部<a href="https://youtu.be/5kNCcpM61eo?si=0GBdLG_KddPwmdhs">影片</a>。</p><blockquote>工具只是工具，適合自己的方法才是最重要的。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uIs7dsUH4kDHkUI2" /><figcaption>Photo by <a href="https://unsplash.com/@bto16180?utm_source=medium&amp;utm_medium=referral">Humberto Arellano</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=311b433e60d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Git：Rebase ! 改變過去多筆Commit]]></title>
            <link>https://zora2002.medium.com/git-rebase-%E6%94%B9%E8%AE%8A%E9%81%8E%E5%8E%BB%E5%90%A7-33d44c7f3f92?source=rss-3eb0d2b9fc1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/33d44c7f3f92</guid>
            <category><![CDATA[rebase]]></category>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[commit]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Zora]]></dc:creator>
            <pubDate>Wed, 10 Nov 2021 08:37:19 GMT</pubDate>
            <atom:updated>2024-10-17T09:57:26.380Z</atom:updated>
            <content:encoded><![CDATA[<h3>Git：Rebase ! 改變過去多筆Commit</h3><p>在一些作品設定中，改變過去必須付出龐大的代價。輕者吐血，重者少吃一餐(?)。但這些角色仍擁有不凡的魅力，所以如果學會改變過去(的commit)，you are awesome, too ! : D</p><h3>DEMO</h3><p>用 rebase 修改 111、222、333 這些無意義的註解</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*k5s5Q0C_tqGk18lGg_79Jg.gif" /></figure><h3>0. 假設情境</h3><p>下圖黃框處的3個commit，描述太簡單不便於維護，想修改一下</p><p>接下來分享如何透過git rebase修改</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*AmcIwuzc0bLZfrPZV4_S8w.png" /></figure><h3>1. 選擇修改範圍</h3><pre>git rebase -i [停損的commit]</pre><p>在命令選擇區中，輸入 git rebase -i [停損的commit]，告訴程式我們要修改的範圍。</p><p>以下圖為例，假設我們不需要修改 &quot;feat: 初始化&quot;，只需要修改最新的三筆，所以 &quot;feat: 初始化&quot; 這筆是我們的停損點，其commit編號為：05146551。因此在命令選擇區輸入：</p><p>git rebase -i 05146551</p><p>再按下 Enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*dslLnBdNBUCTsOeDnAQBJQ.png" /></figure><p>vim編輯器的介面就出現了。</p><p>vim是一種編輯器，用法會跟一般編輯器略有不同。有三種模式：一般指令模式、編輯模式、指令列命令模式。想了解更多可參考<a href="http://linux.vbird.org/linux_basic/0310vi.php"><strong>鳥哥的 Linux 私房菜</strong></a>的9.2章節。</p><p>另外，這裡可以透過commit比對發現，順序是由舊到新排序喔</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*Wpibmjb3mYCawL_xgT5HOg.png" /></figure><p>這時不能打字，是因為我們還在預設的&quot;一般指令模式&quot;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*Llwf7567iEdMJFwmfOXq5Q.png" /></figure><p>按下 i 鍵，底下出現 &quot;-- 插入 --&quot;，代表已經進入&quot;編輯模式&quot;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*LcJoyUGknd41aERY8lIi_A.png" /></figure><p>將三筆前面的 pick 改成 r ，代表待會要個別修改這三筆。</p><p>如果突然覺得，第二筆不用修改，第二筆的 pick 不用改成 r。待會只會個別修改第一筆和第三筆。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*uguYAJWkjYSzIXDfIVaIAQ.png" /></figure><p>再來直接按下 Esc 鍵，告訴vim退出編輯模式。底下的&quot; -- 插入 --&quot;也不見了</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*RhtpRFJ7SZJGnHXzyr9H1w.png" /></figure><p>接著直接輸入 &quot; :wq &quot;，這個指令代表我們 &quot;保存編輯內容並離開編輯器&quot;（想了解指令細節，一樣可參考<a href="http://linux.vbird.org/linux_basic/0310vi.php"><strong>鳥哥的 Linux 私房菜</strong></a>的9.2章節）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/888/1*agHU8f2mf0wSYhkAocXEaQ.png" /></figure><p>按下 Enter 出現下圖，這是第一筆commit修改編輯器介面，也代表開始進行commit個別修改囉</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*F8PLhQqext_l2JhgxZesJQ.png" /></figure><h3>2. Commit個別修改</h3><p>首先注意到兩點：1. 我們是先修改三筆中最舊的那一筆。2. 目前還不是編輯模式。所以一樣按下 i 鍵</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/1*F8PLhQqext_l2JhgxZesJQ.png" /></figure><p>底下出現 &quot;-- 插入 --&quot;，這樣就成功在&quot;編輯模式&quot;了</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*fkTQjlp7Nnhl9VX8WVnI-Q.png" /></figure><p>修改成便於自己或他人查看的內容</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/1*BUqy9MJZD6b60aQTALQaJQ.png" /></figure><p>修改好後，一樣按下 Esc 鍵 退出編輯模式，輸入 &quot; :wq &quot; (保存並離開) 按Enter。這樣我們第一筆就修改好了。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*G2cA9CFCYksXHCTMxl4NKQ.png" /></figure><p>第一筆修改好後，會自動進入第二筆的修改編輯器介面。</p><p>下圖可以發現，分支已有不同變化，且從紅框(剛剛修改的第一筆)顯示得知：改過後，有新的commit編號。這裡先爆個小雷：三筆全部修改完後，新的commit編號會蓋過舊的編號，所以最後<strong>commit編號也會變得不同</strong>。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/891/1*rpJFbIW7Xv1h6EfmuLyprg.png" /></figure><p>接著一樣的步驟：按 i 鍵，修改第二筆內容，按 Esc 鍵，輸入 :wq ，Enter，進入第三筆</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/1*PT-hPCEvja__NMfghPw88A.png" /></figure><p>第三筆一樣的步驟：按 i 鍵，修改第二筆內容，按 Esc 鍵，輸入 :wq ，Enter</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*WGS8009QaE2V6mJABtH3aQ.png" /></figure><h3>3. 修改完成</h3><p>Enter後，已經沒有需要修改的Commit了，就回到了命令選擇區</p><p>這三筆commit編號也如同前面爆的小雷一樣，編號煥然一新</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*geWahxVL5sXWl8yxzwg6Yg.png" /></figure><h3>4. 中途離開</h3><p>操作過程難免會出現些例外情況，頭都洗下去了...還是可以重來</p><p>還記得我們常輸入的 :wq 的 q 代表離開對吧，只輸入 :q 就不會保存本次修改，直接離開囉。但如果有異動過內容，系統會提示你要加驚嘆號變成 :q!，才能不保存修改且強制離開</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/807/1*094tl4B-0NZx1P-q5X_JeA.gif" /></figure><h3>The END</h3><p>git rebase 修改多筆的方式，主要就是編輯器模式的切換和那幾個指令。多練習幾次，相信你也可以成為改變過去的「辣個人」 😎</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-_yFx_5nNNBEoPiBBnQu5w.png" /></figure><h3>參考來源</h3><ol><li><a href="https://gitbook.tw/chapters/rewrite-history/change-commit-message.html">為你自己學 Git - 【狀況題】修改歷史訊息</a></li><li><a href="http://linux.vbird.org/linux_basic/0310vi.php">鳥哥的 Linux 私房菜 - 第九章、vim 程式編輯器</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=33d44c7f3f92" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recap： How To Ask Questions The Smart Way]]></title>
            <link>https://zora2002.medium.com/%E9%96%B1%E8%AE%80%E7%AD%86%E8%A8%98-how-to-ask-questions-the-smart-way-%E4%B8%8A%E9%9B%86-a8d18f010071?source=rss-3eb0d2b9fc1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8d18f010071</guid>
            <category><![CDATA[ask]]></category>
            <category><![CDATA[notes]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Zora]]></dc:creator>
            <pubDate>Wed, 19 Dec 2018 03:35:49 GMT</pubDate>
            <atom:updated>2024-04-12T08:37:53.621Z</atom:updated>
            <content:encoded><![CDATA[<p><em>原文開頭：</em><a href="http://www.catb.org/~esr/faqs/smart-questions.html"><em>In the world of hackers, the kind of answers you get to your technical questions depends as much on the way you ask the questions as on the difficulty of developing the answer. This guide will teach you how to ask questions in a way more likely to get you a satisfactory answer.</em></a></p><p>因此，標題的提問是指：對程式語言技術上有問題，進而向論壇或社群提問。所以如果要演講提問、愛情提問、理財提問…等等，以下內容幫助並不大。以及接下來的內容不是心得，只是單純紀錄<a href="https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way">中譯文章</a>中重要的點，和自己的一些比較白話的筆記。</p><p>目錄：</p><p><a href="#fc59">I. Introduction</a><br><a href="#b3ae">II. Before You Ask</a><br><a href="#8b91">III. When You Ask</a><br><a href="#e497">IV. How To Interpret Answers</a><br><a href="#bca2">V. On Not Reacting Like A Loser</a><br><a href="#af84">VI. Questions Not To Ask</a><br><a href="#2a6c">VII. Good and Bad Questions</a><br><a href="#3786">VIII. If You Can’t Get An Answer</a><br><a href="#a14f">IX. How To Answer Questions in a Helpful Way</a></p><h3>I. Introduction/前言</h3><ol><li>黑客們喜愛有挑戰性的問題<br>有挑戰性的問題就像發現新的遊戲一樣，提升自己的經驗值與思維</li><li>聽說黑客會蔑視新手的提問<br>有些黑客會有傲慢，因此會讓人誤會。但黑客偏愛挑戰性問題是一定的</li><li>時間殺手<br>伸手牌、不爬文 ，黑客們稱這種人為losers</li><li>去找專門的商業公司簽合約解決<br>雪花般的提問中，明顯的看出有些人只是要用工具達成目的，不願意多花心力去學習技術細節。這沒有不對，每個人生活重心不同，如果每個人都花一大堆時間再學習技術，誰來關心政治，誰來推動環保。但這時候，如果希望問題可以被解決，而不是想學習細節，應該找技術支援服務公司，而不是找黑客。</li><li>師父引進門，修行在個人<br>不必很高等才能向黑客發問，但要表現出自己是願意學習、觀察、思考，舉一能反三的思路。</li></ol><h3>II. Before You Ask/提問前</h3><ol><li>七個try<br>．準備提問的論壇的舊文章中(爬文)<br>．上網搜尋<br>．閱讀手冊<br>．閱讀常見問題文件（FAQ）<br>．自己檢查或試驗<br>．向身邊的強者朋友打聽<br>．如果你是程式開發者，請嘗試閱讀原始碼來找到答案</li><li>告訴對方自己做了甚麼努力<br>例如：我用那些關鍵字搜尋但沒有結果；我檢查過A部份了，應該還要從甚麼方向檢查？</li><li>不一定會得到答案<br>對方沒有收一毛錢，黑客不是免費顧問</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jBAIJWJLFOTTg9-0" /><figcaption>Photo by <a href="https://unsplash.com/@willpower?utm_source=medium&amp;utm_medium=referral">William Stitt</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>III. When You Ask/提問中</h3><h4>i. Choose your forum carefully/慎選論壇</h4><ol><li>成為邊緣人的方法<br>．在與主題不合的論壇上貼出你的問題<br>．在探討進階技術問題的論壇張貼非常初級的問題；反之亦然<br>．在太多的不同新聞群組上重複轉貼同樣的問題（cross-post）<br>．向既非熟人也沒有義務解決你問題的人發送私人電郵</li><li>成為關注者的小撇步<br>．有些論壇有常見問題、精華區、考古文，新手可以先去找找看(其實就是爬文)<br>．發文前先看看其他文章和回應，了解該區的發文文化<br>．比起私人論壇，在公共論壇提問容易得到有用的回答，因為黑客較願意回答那些能幫助到許多人的問題</li></ol><h4>ii. Stack Overflow/S家族</h4><ol><li>Search, <em>then</em> ask on Stack Exchange</li><li>常用網站<br>．Super User ：通用的電腦問題(如果跟程式碼或是寫程式無關，只是一些網路連線之類的，請到這裡)<br>．Stack Overflow ：寫程式有關的問題<br>．Server Fault ：伺服器和網管相關的問題</li></ol><h4>iii. Web and IRC forums</h4><p>特定 Linux 版本的問題，先去該版本的論壇發問，否則黑客可能僅僅回覆 “用我們的版本”</p><h4>iv. As a second step, use project mailing lists</h4><ol><li>這裡的mailing lists，應該是指整組專案的郵件地址或聯絡方式</li><li>有問題向mailing lists聯絡，而非找寄信其中一個開發者發問，為了：<br>．讓整個專案的人都能了解情況。如果有大量重複的問題，改版的契機比較不會有人狀況外<br>．分散開發者的負擔，有時開發者很忙也沒辦法回覆<br>．有些mailing lists會被封存，封存的內容將被搜尋引擎索引</li><li>找不到mailing lists，可向專案維護者發信，但記得：<br>．信內容說明已嘗試如何找mailing lists但找不到<br>．註記歡迎信件轉發給整個專案組的人(畢竟還是私人郵件，要先得到發件者的同意)</li><li>如果有分使用者提問和開發者提問：不會動到原始碼 → 使用者提問<br>(如果一直沒有人回覆，也確定自己的問題真~的很特別，就試著往開發者提問貼)</li></ol><h4>v. Use meaningful, specific subject headers/好好寫標題</h4><ol><li>抓住注意力：大約50字(英文)以內的標題</li><li>別用這樣字：幫幫忙、跪求、急、PLEASE HELP ME!!!!</li><li>object — deviation<br>．object：出問題的物件，在甚麼環境下<br>．deviation：出現甚麼與期望不同的情況<br>．範例：M100r的羅技滑鼠，在某牌顯示卡，某型號晶片組環境下 — 會變形</li><li>自己在回覆中提出問題：視情況修改內容標題(&quot;Re:題目&quot;的方式容易被略過，但有些網站會強制引用原標題，因此這裡筆記視情況)、適當引用並刪減前文的內容</li></ol><h4>vi. Make it easy to reply/便於回覆</h4><p>結尾如果寫：Please send your reply to xx@xx.xx，通常都懶得回覆。改成：方法一：有自動回覆的連結或按鈕；方法二：選能自動有回覆欄的(Gmail)</p><h4>vii. Write in clear, grammatical, correctly-spelled language</h4><ol><li>英語非提問者的母語，大家有比較寬的容錯忍度，但思路不能跟著減</li><li>請用英語或回覆者的母語溝通</li><li>母語非英語，可備註：<br>．English is not my native language; please excuse typing errors.<br>．If you speak $LANGUAGE, please email/PM me; I may need assistance translating my question.<br>．I am familiar with the technical terms, but some slang expressions and idioms are difficult for me.<br>．I’ve posted my question in $LANGUAGE and English. I’ll be glad to translate responses, if you only use one or the other.</li></ol><h4>viii. Send questions in accessible, standard formats/排版</h4><ol><li>注意郵件裡字數斷行問題(手機版)</li><li>關閉微軟的智慧引號功能</li><li>慎用表情符號</li></ol><h4>ix. Be precise and informative about your problem</h4><ol><li>仔細描述問題</li><li>發生的環境<br>（機器配置、作業系統、應用程式…等；經銷商的發行版和版本號，如： Fedora Core 4、Slackware 9.1等）</li><li>做過哪些努力(怎麼理解問題和解決方式)</li><li>為何用這樣的方式解決問題</li><li>描述最近做過什麼可能相關的硬體或軟體變更</li><li>盡可能的提供一個可以重製這個問題的既定環境的方法</li></ol><p>延伸閱讀：<a href="https://www.chiark.greenend.org.uk/~sgtatham/">Simon Tatham</a> 《<a href="https://www.chiark.greenend.org.uk/~sgtatham/bugs-tw.html">如何有效的回報錯誤</a>》</p><h4>x. Volume is not precision/講重點</h4><p>不要直接把全部的程式碼貼上去，自己要經過整理，這樣可以：</p><ol><li>提高得到回覆率</li><li>提高得到有用的答案</li><li>整理過程可能自己就有答案了(類似小黃鴨偵錯法)</li></ol><h4>xi. Don’t rush to claim that you have found a bug/和平包容友善</h4><ol><li>使用軟體中遇到問題，除非非常、非常的有根據，或者能提供解決辦法，不要動輒聲稱找到了Bug</li><li>不要用指責的語氣告訴維護者有Bug</li></ol><h4>xii. Grovelling is not a substitute for doing your homework</h4><p>“I know I’m just a pathetic newbie loser, but…”.，別這樣</p><h4>xiii. Describe the problem’s symptoms, not your guesses</h4><p>講清楚情況，而不是自己猜測，例：<br>．錯誤：XX牌螢幕無法顯示，我猜是不是線路，請問我該怎麼檢查?<br>．正確：XX牌螢幕做了甚麼之後無法顯示，我試過A方法、B方法都無效，請問接下來…</p><p>這好像病人一進門就告訴醫生，自己好像得了流感，能打甚麼針？(醫生：我都還沒診斷…?!）</p><h4>xiv. Describe your problem’s symptoms in chronological order</h4><p>操作步驟、操作紀錄整理(cmd、git bash)</p><h4>xv. Describe the goal, not the step</h4><p>如果想弄清楚如何做某事（而不是報告一個Bug），在開頭就描述目標，然後才陳述重現你所卡住的特定步驟，例：<br>．錯誤：如何從某繪圖程式的顏色選擇器中取得十六進制的的 RGB 值？<br>．正確：我正試著用替換一幅圖片的色碼成自己選定的色碼，現在知道的唯一方法是編輯每個色碼區塊， 但卻無法從某繪圖程式的顏色選擇器取得十六進制的的 RGB 值。→可能得到的回覆：建議採用另一個更適任的工具</p><h4>xvi. Don’t ask people to reply by private e-mail</h4><ol><li>黑客們認為問題的解決過程應該公開、透明</li><li>讓回覆者來決定是否私下回答</li></ol><h4>xvii. Be explicit about your question</h4><p>明確表述需要回答者做什麼，如提供指點、發送一段程式碼、檢查你的補丁、或是其他…等等</p><h4>xviii. When asking about code</h4><ol><li>程式碼貼上去可以註記第幾行預期如何，卻發生如何</li><li>如果可以，提供最精簡的臭蟲展示測試示例（bug-demonstrating test case）</li></ol><h4>xix. Don’t post homework questions</h4><p>家庭作業可以得到提示，但別求答案</p><h4>xx. Prune pointless queries</h4><ol><li>結束提問不要贅句，例： “Can anyone help me?” or “Is there an answer?”</li><li>In general, asking yes-or-no questions is a good thing to avoid</li></ol><h4>xxi. Don’t flag your question as “Urgent”, even if it is for you</h4><ol><li>這只是自己很急，並不是大家都很緊急的事，這樣寫會比較沒禮貌</li><li>如果真的一定得這樣寫，有禮貌地說明原因，或許有些人會接受</li></ol><h4>xxii. Courtesy never hurts, and sometimes helps</h4><p>禮多不怪，發文感謝閱讀者，有人回覆也記得謝謝</p><h4>xxiii. Follow up with a brief note on the solution</h4><p>取之於社會，用之於社會</p><p>當問題解決後，記得修改標題(例：已解決)，並自己整理一份或說明最後如何解決，讓回覆者和大眾都能閱讀</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*odqJ5fslWG4j5D7G" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>IV. How To Interpret Answers/看懂回覆</h3><h4>i. RTFM and STFW: How To Tell You’ve Seriously Screwed Up</h4><p>RTFM ：Read The Fucking Manual<br>STFW：Search The Fucking Web(估狗)</p><h4>ii. If you don’t understand…</h4><p>回應中有看不懂得詞，要先自己爬文，不要馬上反問</p><h4>iii. Dealing with rudeness</h4><ol><li>有些黑客講話比較直接，如果覺得被冒犯，試著平靜地反應。假設真的是黑客不禮貌，大家都會說句公道話。<br>如果自己先發火，可能會不容易站住腳</li><li>糾正無禮的言論與開始一場毫無意義的口水戰僅一線之隔</li></ol><h3>V. On Not Reacting Like A Loser</h3><ol><li>不小心成為Loser被攻擊時，只能熬過去</li><li>友善和有用：友善的環境回覆者減少；有用的環境免不了洗臉</li><li>別讓自己捲入口水戰</li></ol><h3>VI. Questions Not To Ask</h3><ol><li>Q: Where can I find program or resource X?<br>(去找估狗</li><li>Q: How can I use X to do Y?<br>(寫清楚問題，有做努力了嗎？</li><li>Q: How can I configure my shell prompt?<br>(RTFM</li><li>Q: Can I convert an AcmeCorp document into a TeX file using the Bass-o-matic file converter?<br>(自己先試試看</li><li>Q: My {program, configuration, SQL statement} doesn’t work<br>(然後？</li><li>Q: I’m having problems with my Windows machine. Can you help?<br>(好啊，改Linux</li><li>Q: My program doesn’t work. I think system facility X is broken.<br>(根據呢？</li><li>Q: I’m having problems installing Linux or X. Can you help?<br>(去找 Linux 使用群組者尋求實際的指導吧</li><li>Q: How can I crack root/steal channel-ops privileges/read someone’s e-mail?<br>(母湯按捏</li></ol><h3>VII. Good and Bad Questions</h3><p>B：我可以在哪裡找到XX資料(STFW<br>G：我想找XX資料，用甚麼關鍵字餵過估狗，仍然找不到，請問有其他關鍵字嗎？(√有自己努力過</p><p>B：I can’t get the code from project foo to compile. Why is it broken?(傲慢<br>G：The code from project foo doesn’t compile under Nulix version 6.2. I’ve read the FAQ, but it doesn’t have anything in it about Nulix-related problems. Here’s a transcript of my compilation attempt; is it something I did?(√有提供環境、√有看過FAQ、√檢視自己</p><p>B：I’m having problems with my motherboard. Can anybody help?(bye<br>G：I tried X, Y, and Z on the S2464 motherboard. When that didn’t work, I tried A, B, and C. Note the curious symptom when I tried C. Obviously the florbish is grommicking, but the results aren’t what one might expect. What are the usual causes of grommicking on Athlon MP motherboards? Anybody got ideas for more tests I can run to pin down the problem?(√問題講清楚、√非伸手牌</p><h3>VIII. If You Can’t Get An Answer</h3><ol><li>太忙沒時間回覆</li><li>不知道答案沒回覆</li><li>自己花錢去找專家解決吧</li></ol><h3>IX. How To Answer Questions in a Helpful Way</h3><ol><li>態度和善</li><li>對初犯者私下回覆</li><li>不確定就不要亂指路</li><li>幫不了忙就別浪費發問者的時間</li><li>試探性的反問以引出更多的細節。有時候是發問者和回覆者一起成長</li><li>解決發問者問題後，也可以向專案維護者提供這次QA心得</li><li>不要給魚，要教如何釣魚</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dlebCrpQEbomBGpO" /><figcaption>Photo by <a href="https://unsplash.com/@rawpixel?utm_source=medium&amp;utm_medium=referral">rawpixel</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Mar. 2023</p><p>過了4年多再回來看這份筆記，雖說一開始的提要說對生活中的提問可能沒什麼幫助，但不要為難對方通靈的概念，其實在生活中也是通用的。例如：跟醫生說明病症的時候、家電有問題向客服反應的時候、刷榜遇到疑難雜症向其他粉絲提問的時候，多少都會應用到上述的概念。</p><p>每個人的生活經歷不同，也許沒辦法完全理解或者一次就做到最好。但盡量將心比心地思考對方的立場，提供適當的資訊，我想應該都可以讓事情往更好的方向發展的 : )</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8d18f010071" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Daily UI]]></title>
            <link>https://zora2002.medium.com/daily-ui-%E7%B8%BD%E7%9B%AE%E9%8C%84-223c9d75a7eb?source=rss-3eb0d2b9fc1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/223c9d75a7eb</guid>
            <category><![CDATA[adobe-xd]]></category>
            <category><![CDATA[adobe-photoshop]]></category>
            <category><![CDATA[dailyui]]></category>
            <category><![CDATA[adobe-illustrator]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Zora]]></dc:creator>
            <pubDate>Wed, 03 Oct 2018 07:23:02 GMT</pubDate>
            <atom:updated>2024-10-17T09:54:41.596Z</atom:updated>
            <content:encoded><![CDATA[<p>View <a href="https://www.behance.net/gallery/70876971/Daily-UI">Project on Behance</a> 🚀</p><p>2018–2020 陸陸續續完成的 Side Project，其中有幾個案例自己特別喜歡</p><ol><li>#024 Boarding Pass</li></ol><figure><img alt="024_Boarding Pass" src="https://cdn-images-1.medium.com/max/536/1*K7WqOn-FbAGfBhrJoCGevQ.jpeg" /><figcaption>#024 Boarding Pass</figcaption></figure><ul><li>機票夾在護照裡的時候，我總覺得如果閱讀方向可以一致，應該會順眼多。但現實中，幾乎都是橫式設計，猜測可能受部分語系文字長度、掃描機設計等其他歷史因素影響，或是…只有我喜歡直式😂 無論如何，反正是自己的 Side Project，就來實現自己的小願望</li><li>透過這次認識到原來機票上的條碼叫做 PDF417條碼</li><li>原本條碼放在虛線上方，怕萬一撕破就不能掃，所以改往上挪</li></ul><p>2. #037 Weather</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wQ9cMeGMuBf5p9suyrbD8w.gif" /><figcaption>#037 Weather</figcaption></figure><ul><li>可能以前就對天氣有些興趣，不知不覺，就實作出來了。從設計到開發，都蠻愉快的</li><li>過程中還遇到 CORS 再跑去摸索 GCP 等技術自我突破，也如同各路前輩的建議，Side Project 從自己有興趣的下手，熱情才能支持自己走得久</li><li>謝謝氣象署提供 open data API，才能做出這個可愛的孩子</li></ul><p>最後，2024年再回顧，發現自己也是埋了不少諧音梗😂果然是台灣人的宿命</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*zATw7_ByfxHgIOwpIpeLxg.png" /><figcaption>#019 Leaderboard</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=223c9d75a7eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>