Jump to...
redirecting...

Log for #sitcon

<DennyHuang>: Fedora 28 TG 字體QQQQ
<DennyHuang>: 那個 Arch 炸裂過的 @Ti_wb 有沒有參考文件...
<tonyhhyip>: (reply @DennyHuang) 換 Ubuntu 好了(被打
<DennyHuang>: 坐等 sitcon.camp 出現
<tonyhhyip>: (敲碗
<DennyHuang>: 怎麼這麼難得 DNS 改了 8.8.8.8 卻等了很久沒有穩定拿到新的
<mmis1000>: 更新了 A 紀錄, github 卻毫無反應沒刷新成 https .-.
<mmis1000>: 看來要讓 dns 紀錄飛一下
<mmis1000>: @DennyHuang github 好像換主機了,所以 A 記錄要換,支援 https 跟原本的不是同一個 ip
<DennyHuang>: (@mmis1000: @Denn...) 嗯 我換了
<mmis1000>: 如果原本就是 CNAME 就沒差
<DennyHuang>: (@DennyHuang: 怎麼這麼難...) 所以我才這麼說
<mmis1000>: 是說中華的馬上就刷新成新的了
<mmis1000>: 難得這麼不雷
<DennyHuang>: 8.8.8.8 剛剛是有刷到 但是沒到很穩定有
<mingtsay>: 1.1.1.1 呢
<mmis1000>: 是說 github 到底吃誰的紀錄,還是被 github 的本機快取裱了,怎麼這麼久?
<DennyHuang>: 我也不懂怎麼還沒生效
<mingtsay>: (@DennyHuang: 怎麼這麼難...) 我以前每次改都不會拿到,要等大概半小時QAQ
<tonyhhyip>: 1.0.0.1 已生效
<mingtsay>: 反而 168.95.192.1 馬上拿到新的
<tonyhhyip>: 我的 8.8.4.4 更新了
<tonyhhyip>: 感覺是 Route53 lag 了
<DennyHuang>: (@tonyhhyip: 感覺是 R...) camp 在 Google Domains
<tonyhhyip>: 我在 CF 的 domain 都更新了
<DennyHuang>: 我說的是"穩定"好ㄇ
<DennyHuang>: 現在有了
<mmis1000>: 等好久阿...
<mmis1000>: 這樣應該是有正確設定的意思吧?
<tonyhhyip>: (@mmis1000: 這樣應該是...) 應該就是了
<mmis1000>: 可是還是沒有 .-.
<tonyhhyip>: 我決定明天再啟動 HTTPS, 不行就發 support ticket
<mmis1000>: 一直看到他在沒 cert 跟 dns 設定錯誤中間跳,無奈
<mmis1000>: 明天再看看好了
<tonyhhyip>: 說好的支援了?
<tonyhhyip>: Unavailable for your site because you have a custom domain configured
<tonyhhyip>: Github 你騙我嗎?
<mmis1000>: 搞不好是 issue cert 的服務被 github ddos到當機了
<hfhchan>: 不是 let's encrypt 嗎
<mmis1000>: github有多少個網域,換日後全塞給 let's encrypt,跟dos有啥差別(?
<hfhchan>: Let's encrypt 的數據顯視有某一天吃過 1 200 000 個新 cert 🤔
<mmis1000>: 這個網域數量github應該也有吧
<mmis1000>: 而且不用一天,一小時內就給你全塞進去
<hfhchan>: Dec 09 2016 1.27M
<tonyhhyip>: 比較像 GitHub 的 DNS 炸飛
<mmis1000>: 我的已經刷新了,卡再issue cert
<hfhchan>: 至今才有 53.6M cert 在用🤔
<mmis1000>: 我想明天早上大概就好了
<tonyhhyip>: 直接卡在 because you have a custom domain configured
<mmis1000>: 總不可能卡那麼久
<mmis1000>: (@tonyhhyip: 直接卡在 ...) 要先移除在重加
<hfhchan>: (@hfhchan: Dec 0...) 每秒 14.7 張 🤔
<hfhchan>: (@mmis1000: 要先移除在...) 再
<mmis1000>: 不然他壓根兒不會 rescan
<tonyhhyip>: (@hfhchan: 每秒 14...) 很少了, C10K 都沒有
<tonyhhyip>: (@mmis1000: 不然他壓根...) 我靠!
<hfhchan>: (@tonyhhyip: 很少了, ...) 找 Licson 炸爆你 server 😏
<tonyhhyip>: (@mmis1000: 要先移除再...) @DennyHuang ^
<tonyhhyip>: (@hfhchan: 找 Lic...) CF 表示沒感
<mingtsay>: (@tonyhhyip: 直接卡在 ...) 我直接塞 CF 底下了
<mmis1000>: If you're updating the IP address of an existing A record, first remove and then re-add your custom domain to your GitHub account to trigger the process of enabling HTTPS.
<tonyhhyip>: (@mingtsay: 我直接塞 ...) 我本來都是
<mingtsay>: (@mmis1000: 要先移除再...) 這怎麼弄
<DennyHuang>: 什麼東西移除重加??
<DennyHuang>: 喔喔 靠北
<tonyhhyip>: (@mingtsay: 這怎麼弄) Custom domain 清空 save, 然後重新輸入 custom domain
<mmis1000>: 清空按確定,填回去再按一次去訂
<mmis1000>: 應該吧
<mingtsay>: 我試試看
<mingtsay>: (reply @mmis1000) Unable to commit CNAME to protected branch.
<tonyhhyip>: (@mingtsay: Unabl...) 你設定的問題
<mingtsay>: 一定要透過 Web UI 嗎
<mingtsay>: 自己 commit 的 CNAME 無效?
<mmis1000>: 一樣意思阿
<tonyhhyip>: (@mingtsay: 自己 co...) 分兩次 push
<mmis1000>: 他就是幫你戳 commit 而已
<mingtsay>: (@mmis1000: 一樣意思阿) 可是我是自己 commit 的耶
<mmis1000>: (reply @mmis1000) 一樣
<mingtsay>: 還是 commit 的 log 一定要特定名稱?
<mmis1000>: 那個按鈕就是幫你改完檔案 commit 推上去
<mmis1000>: 沒有
<mmis1000>: 只要有改就會觸發
<mingtsay>: 可是我有改啊OAO 還是他覺得第一個 commit 不能算
<mmis1000>: 那是6天前的事了吧...
<mmis1000>: 他今天才支援https的耶?
<tonyhhyip>: @mmis1000 我的 domain 完成了
<mingtsay>: 咦
<mingtsay>: 那我 git push -f 會觸發嗎
<mmis1000>: (@mingtsay: 那我 gi...) 阿災
<mmis1000>: 我還有遇過他漏commit的
<mingtsay>: 有辦法不改檔案內容重新commit嗎(
<mmis1000>: 老實說我也不懂他的判定標準
<mingtsay>: 例如去touch它
<mmis1000>: 連續] force push 兩次如何?
<mingtsay>: 啊乾 git 是不是不會紀錄 mtime 啊
<mmis1000>: 先 push 個改掉的,再 force push 回原本的
<tonyhhyip>: 改用 GitLab Page 好了(?
<mmis1000>: (@mingtsay: 啊乾 gi...) 他只記錄commit時間,檔案本身時間不管
<tigercosmos>: git commit —amend
<tigercosmos>: 可以強制改動 commit 紀錄
<tigercosmos>: git push -f 他就會當成是新的
<mmis1000>: 可是要移除過才會觸發rescan阿
<mmis1000>: 光改commit message沒意義
<mingtsay>: (@mmis1000: 可是要移除...) 哦哦要移除
<tigercosmos>: 是整條 commit hash 就變了
<mingtsay>: 那可以 force push 成 empty repo 嗎
<mingtsay>: 貌似可以 -d ?
<mmis1000>: commit hash從來不會變,變的事head的位置
<mmis1000>: (@mingtsay: 那可以 f...) 你就先 git rm CNAME git commit -m 'remove' git push -f git reset HEAD^ git push -f
<mingtsay>: 好主意
<tigercosmos>: (@mmis1000: commi...) 沒有吧 原本那條就被蓋掉了啊 等同 squash 吧
<mmis1000>: (@tigercosmos: 沒有吧 原...) git 從來沒辦法變更任何的 commit hash,他只能創一條新的
<tigercosmos>: 我的意思其實就是這樣啊 新建一個 砍掉一個
<mmis1000>: 而且原本那條其實還在
<mmis1000>: 你用 git checkout hash可以去把它撿回來
<mmis1000>: 除非你下了 git gc 跟 git reflog 把沒用到的全清了
<tigercosmos>: 恩
<mmis1000>: 在 git 真的清掉實體檔案之前,不論你幹了多離譜的事都還有救
<tonyhhyip>: 那麼 GitHub 中能用 hash 撿回來嗎?
<mmis1000>: 問某個 git 大神
<tonyhhyip>: (@tonyhhyip: 那麼 Gi...) @DennyHuang
<mmis1000>: 我只知道 local 可以撿
<mmis1000>: 遠端的要怎麼撿我不知道
<mmis1000>: 看來 cert 真的卡了,明天早上再看好了...晚安
<mingtsay>: (@mmis1000: 你就先 ...) https://i.imgur.com/H8addGr.jpg
<tonyhhyip>: 要等 DNS cache 過來才行
<mmis1000>: (reply @mingtsay) 等dns紀錄飛一下
<mingtsay>: 是設什麼
<mingtsay>: CNAME 到這個 Repo 的 host 嗎
<mmis1000>: 看你是怎麼設的
<mmis1000>: 如果要變更,變更完都要重新 push 一下才會觸發更新
<mingtsay>: OK
<tonyhhyip>: 總結一下經驗: 1. 先改 DNS record 2. 把 DNS 放到 cache timeout 3. 把原來的 CNAME 刪掉 3. 把 CNAME 加回去
<mmis1000>: 是說那 4 個新增移除檔案的 commit 有夠醜的...我是不是來 force push 一下把它弄掉比較好?
<mmis1000>: (@tonyhhyip: 總結一下經...) 👍
<mmis1000>: 然後記得確認一下 repo 裡沒有用到 http:// 的資源,不然輕則被標是成不安全,嚴重則掛掉
<mmis1000>: 或是先設成例外硬是進去看一下有沒有出事
<james58899>: (@DennyHuang: 那個 Ar...) TG包的fontconfig版本太老吃不了新的設定檔
<james58899>: 所以請自己patch改用系統fc重新編譯
<james58899>: (@DennyHuang: 怎麼這麼難...) 不,8888的TTL一直都有問題啊 只要一直有人在請求TTL就會無限延長
<S_ean>: (@james58899: 所以請自己...) 有通用的嗎? 還是各系統都不同😰
<james58899>: (@S_ean: 有通用的嗎...) arch是拿debian那邊的去用
<S_ean>: 那怎麼沒人 PR 去官版 🤔
<davy_0xff>: 所以只要新掛的custom domain 都會被GitHub 拿去 request 一個 cert?
<davy_0xff>: 聽起來怎麼有點恐怖
<davy_0xff>: (reply @mmis1000) 我在想 GitHub 說不定是搜集一段時間一起 request 一張 SNI 給好幾個一起用? 有沒有已經成功的勇者回報一下XD?
<toppy368>: (@seadog007: 交大本來就...) 全台最有名的黑學校
<RSChiang>: (@S_ean: 那怎麼沒人...) 官方雖然開源但不太收PR (´・ω・`)
<seadog007>: (@mmis1000: 而且原本那...) github有auto gc 吧
<Haraguroicha>: (@chuanchan1116: 原來 ng...) 但是支援超少,然後不怎好用
<S_ean>: (@RSChiang: 官方雖然開...) 是沒錯,但 TDesktop 算比較開放的了 https://github.com/telegramdesktop/tdesktop/pulls?q=is%3Apr+is%3Aclosed
<james58899>: github page的https可以用在子域名?
<james58899>: 喔看起來可以
<james58899>: 慢慢等
<ws23ya>: (浮上來 這裡有台科學生..今天有在學校的 或是會路過台科有空幫我個小忙的人嗎XD?
<squirrel532>: 安安
<pokaichang72>: (明天才會在台ㄎ
<ws23ya>: 感謝樓上們XD 松鼠ㄉㄉ已經幫忙我處理了 \讚嘆松鼠ㄉㄉ/
<DennyHuang>: 喔喔喔 他有 https ㄌ https://sitcon.camp/2017/
<mmis1000>: 我的還在排隊阿...(趴
<james58899>: (@mmis1000: 我的還在排...) 我的也還卡住中
<james58899>: 他真的有在跑嗎🌚
<james58899>: 人家cloudflare剛開通時幾小時就搞定了
<danny8376>: 可能是人工批次處理 別太急(X