Xaree Lee
Xaree Lee
Nope, I did not. I'm not sure how to describe this issue in the React Native repo. How about that you report this issue there?
@mwouts I'm using VSCode and writing code in a .py file. VScode can run `#%%` cells in .py file. ```python # %% tags=["active-ipynb"] # print('this line is executed only in...
Hi, I encounter a problem with `require()` for images. ```js const flagImg = require('./img/Login_flag_1.png'); ``` and ESLint reports the error (import/no-unresolved): ``` 12:25 error Unable to resolve path to module...
謝謝回應。 不過我還是建議使用 GitHub Actions 配置 CI/CD 在打 tag 上新版本時,自動就可以觸發這些重複又瑣碎的事。這不是單純能否透過 homebrew 安裝的問題,因為目前是靠手動執行 PR。自動化本身是很有價值的。 1. 任何人都能夠過 homebrew 得知有新版本發布,並確保從 homebrew 都是最新版本 (雖然小麥本身也提供了自動更新機制)。 2. 支援 homebrew 意味著任何新電腦的配置,或是需要管理多台 mac 的安裝,都能透過腳本化自動執行。 這邊只是建議做個 GitHub Actions 的配置,過程並不難,而可以省下許多重複工作的時間,而且這項技能也能應用在其他 GitHub...
> 3. 目前小麥的 homebrew install 過程並不直觀,畢竟打完 `brew install mcbopomofo` 後還是得手動執行安裝程式。如果是以 IT 管理角度來看,我不確定是否 brew 有解決腳本化管理的需求? 或許可以考慮改用 `.pkg` 方式進行發布。鼠鬚管 (RIME/Squirrel) 是以此方式進行發布,且搭配 homebrew 可以直接安裝完成,並直接加入到 Input Sources 中,不需要再手動安裝或是到 System Prefereneces 中設定。 因為我已將 99% 配置...
> 小麥的設定都放在 `~/Library/Preferences/org.openvanilla.inputmethod.McBopomofo.plist` 中。Properly list 因為蘋果平台強勢了,應該已經不算是少見的格式。我個人是希望直接利用內建的設定格式。同樣也是減少 mission creep。 我不太確定 `McBopomofo.plist` 是否都是只放 user 的設定資料,還是 McBopomofo 本身有可能會去自動修改該 plist (例如版本更新而需要添加新的設定)。 若為是,則這本身存在一點小問題 (但目前不太大)。通常設定最好把 default settings 和 user settings 分開來,並且 user settings 可以覆蓋 default settings。...
I've checked that the module `[email protected]` which has a peer-dependency with `[email protected]` which has a peer-dependency with `react@^15.6.1`, and it leads to this issue. `node_modules/react-addons-perf/node_modules/react-dom/lib/ReactDebugTool.js:16:30`: ```js var ReactComponentTreeHook = require('react/lib/ReactComponentTreeHook');...
The `logResult` could take any function and any number of arguments for currying: ```js // the higher-order function implementation function logResult(func) { // how to annotate the parameter and return...
@awestroke Nice! Is there any way to make this generic type to be reusable? ```js // original declare function logResult(fn: T): T; // make the type be named and reusable...
Also for tvOS 9.0?