Pokai Chang

@z

Prime membership

Joined on Oct 5, 2015

  • (機身外觀長這樣,有沒有 -W 好像都長一樣) Admin Panel 與預設密碼 Admin panel 位置為 http://192.168.1.1 或 https://192.168.1.1。 預設的帳號是 cht,密碼為機器型號後四碼 (例如 RTF8207W-E → 07we) 加上機器的 MAC 後四碼 (例如 3c:53:9e:b0:63:c1 → 63c1),忽略所有符號且全小寫 (例如 07we63c1)。 安全隱憂 這台很奇葩,預設可以從外網連進 admin panel。
     Like 8 Bookmark
  • 機器學習:讓機器幫我們找一個函式來解決問題。(⇔ 傳統:我們寫出函式叫機器執行) 用來解決「解決問題的函式」會複雜到人寫不出來的問題。例如: 語音辨識 影像辨識 ⋯⋯ <small>https://youtu.be/Ye018rCVvOo?t=0</small>
     Like  Bookmark
  • TL;DR: <MyComponent onClick={handleClick} /> TL;DR: <MyComponent onClick={handleClick} /> Prop Name on[TargetName]EventName[PayloadType] EventName: 事件名稱,例如 Click -> onClick,Press -> onPress,Change -> onChange,Submit -> onSubmit。
     Like  Bookmark
  • When using Time Machine, the "Nix Store" volume will be backed-up just as the Recovery volume, but it won't be restored when restoring a Time Machine Backup in macOS Recovery. However, we can still manually restore the Nix Store volume from a Time Machine backup in macOS by using rsync or tmutil restore. First of all, you'll need to create the Nix Store volume and mount it to /nix if it isn't ready. On the commands below, we're using the create-darwin-volume.sh script taken from an PR to let nix installation support macOS 10.15, you can use whatever method suitable under the current era that does the same thing. Just note that it's not needed to do a multi-user Nix installation, if you've done it before in the system, again: # Create a volume for the nix store and configure it to mount at /nix. wget https://raw.githubusercontent.com/LnL7/nix/darwin-10.15-install/scripts/create-darwin-volume.sh bash create-darwin-volume.sh # The following options can be enabled to disable spotlight indexing of the volume, which might be desirable. sudo mdutil -i off /nix # Hides the "Nix Store" disk on Desktop, need to relaunch Finder to see effect.
     Like  Bookmark
  • eclecticlight.co 上,由前 MacUser 作者所撰的 14 篇 macOS Time Machine 深度系列文: Time Machine: 1 How it works, or fails to Time Machine: 2 What it writes in the log Time Machine: 3 Analysing automatic backups Time Machine: 4 Problems with backups Time Machine: 5 Changing Macs and more Time Machine: 6 Networked storage Time Machine: 7 Checking logs using Ulbow Time Machine: 8 Preventing problems
     Like  Bookmark
  • --- 原筆記在 Bear 裡,這是 paste 來分享用的 --- --- # 《Statecharts: A visual formalism for complex systems》摘要筆記 端看怎麼表達最容易因此中英夾雜、不是翻譯因此也許跟語句原本的意思有出入、有些解釋重要概念的原文會放在後面的括弧內、有些原文講得夠簡單就直接原句抄錄。 --- ## 論文大綱 - Sections 1: 帶出問題現況、視角和簡述 *statechart* 是什麼。 - Sections 2-5: 主要內容,介紹 *statechart* 這個解決辦法。 - Section 6: 介紹一些研究中的、可以擴充 *statechart* 基本形式的進階功能。 - Section 7: statecharts 的正式語義。 - Section 8: 討論一些前人嘗試擴充 flat state diagrams 的成果,例如 communicating state-machines and augmented transition-diagrams,並與 statechart 比較。 - Sec
     Like  Bookmark
  • # Side Projects 是不是有人提到 Side Project? ## App ![](https://camo.githubusercontent.com/95bf77085d7449f4ad910be1cba3beb86772e65c/68747470733a2f2f692e696d6775722e636f6d2f5a3477305a36542e6a7067) ### 進行中 * **A structural note app to organize your thoughts or knowledge (a.k.a. 樹狀筆記 app? macOS + iOS,目前主線)** * 重新寫一個 Google Inbox(發現 Gmail App 還算堪用所以暫緩) * 把散落在網路各處(Facebook、Google、Apple)的個人資料重新收集回來放入一個資料庫然後做各式利用的軟體集(macOS + iOS) ### 我有一個大膽的想法 * 閱讀器、知識管理、共讀社交平台(頗大) ### 已放棄 * 自動化記帳(類似 MoneyBook,iOS + And
     Like  Bookmark