把電子墨水螢幕透過 VNC 當作外接螢幕

上個禮拜在 Hacker News 上看到的專案,把電子書閱讀器拿來當作外接螢幕:「eInk VNC for Kobo e-readers」,對應的討論在「Show HN: A VNC viewer for eInk devices capable of 30 FPS when writing text (zmarshall.nl)」這邊。

作者提供的 screenshot 看起來效果還不錯:

source code 在 GitHub 上的 everydayanchovies/eink-vnc,看起來算是實驗性質,在 warning 的段落可以看到:

The screen can refresh up to 30 times per second, this will degrade the eInk display rapidly. Do not use with fast changing content like videos.

Furthermore, this tool was only tested on a single device (Kobo Libra 2). It is possible that it will damage yours. I cannot be held responsible, use this tool at your own risk.

Hacker News 上有看到一個有趣的專案 The Modos Paper Laptop,是一台用電子紙的筆電:

不過好像還在開發階段...

可以看 Chrome Extension 程式碼的 Chrome extension source viewer

好像沒有提過「Chrome extension source viewer」這個套件,來介紹一下...

這個套件可以在尚未安裝前看 Chrome Web Store 裡 extension 的原始程式碼,算是可以在安裝前看一下 extension 在幹什麼。

以前還會遇到會 obfuscated code,導致很難看出來在幹什麼,但在 2018 年以後 Google 公告直接禁止這類行為,就不太會遇到這種情況了 (除非是很舊的 extension):「Trustworthy Chrome Extensions, by default」。

先前跟 Brave 還會打架,不過後來看起來沒這個問題了...

jless:檢視 JSON 的工具

前幾天在「Show HN: Jless, a command-line JSON viewer (pauljuliusmartinez.github.io)」這邊看到用 Rust 寫的 jless 這個工具,官網有個動圖可以參考:

這樣方便不少,就不需要自己在對半天...

另外也剛好拿來練手,把 Rust 寫的套件包成 Ubuntu PPA:「PPA for jless」。

主要是 cargo vendor 這個指令可以把相依套件都抓下來放到 vendor/ 下面,然後設定 .cargo/config.toml 後就可以在本地端處理了,這對於 build farm 限制 internet 連線的情況會好用很多...