Weizhong Yang a.k.a zonble

Results 10 comments of Weizhong Yang a.k.a zonble

通常遇到這種狀況,會先建議把 LINE 關掉之後,重新把 LINE 打開看看。 在 macOS 上,系統會幫您正在打字中的應用程式與輸入法應用程式之間建立一條連線,有的時候,作業系統就是沒有幫我們把連線建立起來;而這時候通常重開應用程式就可以解決。

這樣就有點麻煩了,我在我自己的機器上無法重現這個問題。 ![Screen Shot 2022-02-04 at 1 10 43 AM](https://user-images.githubusercontent.com/53011/152393286-204b3294-5884-4aaf-a1fe-584ed2bae16d.png)

I guess we can extract a DTO from the preferences and then put it into `KeyHandlerInput`, so the key handler can just depends on the input data but no other...

這應該是被我搞壞了…。 簡單的修法是先在加詞表格加一段這個 ``` 資料夾 ㄗ-ㄌㄧㄠˋ-ㄐㄧㄚˊ ``` 用 "Edit User Phrase" 修改之後存檔。

在 macOS 輸入法框架的設計中,並不會將單次點擊 Shift 按鍵的行為,送到像是小麥輸入法這樣的程式上。所以技術上可行的作法是,輸入法程式要跳過蘋果所規範的輸入法框架,直接暴力攔截「所有」的硬體事件,包括鍵盤滑鼠,然後找到單次點選 Shift 的事件。而且,就算用戶切到了其他輸入法,甚至用戶根本沒在打字,都在監聽「所有」的事件。 這就不是技術問題了,是道德的問題。輸入法的作者,或是任何軟體的作者,應該對可以接觸多少用戶資料,要有自律,如果可能會有濫用情形的行為,一開始就不應該做。以我的立場,我知道那邊有條道德的紅線,我就不會去碰。人沒有道德就只是禽獸而已。

我覺得比較合理的作法是,我們可以寫信給蘋果考慮是否要把單次點選 Shift 的事件開放到 IMK 當中,然後有了這個 API 再說。

Actually I need some test cases to know about the memory usage while there is an extraordinary amount of incoming responses. Maybe we can try not to fetch all the...

Oh, wait. Plurk API only allows us to set offset, but we are unable to set limits. Maybe what we can do is to make another autorelease pool to release...

Maybe we can fork bsjsonadditions, but I am not sure how much does it help.

這個問題好久了,還有發生嗎?