因為 GitHub 中國連線問題,原本想嘗試也另外放一份 repo 在 gitee,沒想到 app 更改完測試才發現 gitee 有超過 1MB 的檔案無法直接讀取的限制。

同時也發現在導向登入頁時,會把 https 轉成 http... 嗯....
可以來刪帳號了 (刪的掉嗎?)

gitee-1mb-limit.png

後記

另有讀到可使用 Gitee Pages 靜態頁面 (類似 github pages) 將檔案掛進來,就可以跳過這個限制,不過要啟用這項服務,帳號也需要手機認證後才能使用,所以並未嘗試。

最終,因為沒有看到比較符合的選擇,所以直接將檔案切割成數個 1MB 的檔案的方式來處理。

既然有支援倚天、許氏等等注音鍵盤,其實再往回支援九宮格式的也沒什麼問題,只是九宮格式比較無標準,通常依每個不同品牌的手機就有不同,不品牌不同型號也可能不同,先試了幾種較常見的組合。

keyboard-bpmf-keypad2.png
keyboard-bpmf-keypad4.png

也嘗試 14 鍵的 QWERTY 鍵盤,一般應該比較適用於拼音式的輸入法,搭配一般輸入法也能正常使用,只是重碼相對會比較多。

keyboard-qwerty-k14.png

因應行列輸入法的特性,如果搭配了無方位鍵的鍵盤,那麼就直接忽略方位鍵吧 😎

keyboard-array.png

overall

  • Need to disable SIP more then ever since there's a new separated protected partition contains all system files
  • Need 2-copy of system fonts to disable system fonts since you can't delete or disable system fonts anymore
  • All apps are 64btis, includes AppleScript apps
  • Finder crashed on preview html file associated with Chrome?

beta6

  • Previous Firefox products issue fixed (possible related to jemalloc issue?)
  • Finder crashed when select a .html file fixed (might related to above issue?)
  • Finder and arrow keys now works as usual
  • Xcode 11b6 still have issue for accessing documents from DocumentBrowserViewController

beta5

  • Firefox/Thunderbird crashes on start Bugzilla
  • Much stable then b4

beta4

  • Unexpected crashes a lot, sometimes during shutdown/reboot process
  • DocumentBrowserViewController file accessing not working on simulator

beta3

  • UIDocumentController crashed on simulator
  • Finder and network driver slow issue fixes but still bit lag

beta2

  • Finder suffering serious performance issue on network driver
  • Xcode11 not working well with iOS12 runtime

beta1

  • Finder has wrong navigation behavior via keyboard (reported, but no response)

iOS keyboard extension 雖然一直是 persistence 方式存在,但是每次其實還是算重新執行,因此也產生很多不穩定的因素,iOS 12 修正了許多,這也是使得速度提升的一大原因。

OkidoKey 顯示比較影片,左邊是 iOS 11 右邊是 iOS12
看的出來左邊在每次切換至不同的輸入框時,鍵盤都會重新執行
而右邊則是保留原先的狀態,也就是"幾乎"是同一個鍵盤 👍

It's time to upgrade to iOS11 and preapre for upcoming OkidoKey 2.

finally we have the first public beta after 100 more days

okidokey-v2-chart.png

輸入法核心已重新設計的差不多,接下來會開始進行 OkidoKey 的重建計畫
因為會改採用 iOS Files 可以增加更多使用情境,但也表示又要從 iCloud Storage 再次轉回 Doducment base。
也因此僅會支援 iOS11,所以目前的考量暫時不會升級 OkidoKey Lite

抓幾個 Vultr 提供的機方測試,分別是 ping 及 100MB 檔案的下載速度

中華電信測速 (非機房)

  
PING hinet-hp.cdn.hinet.net (210.71.222.134): 56 data bytes  
64 bytes from 210.71.222.134: icmp_seq=0 ttl=58 time=5.236 ms  
64 bytes from 210.71.222.134: icmp_seq=1 ttl=58 time=7.129 ms  
64 bytes from 210.71.222.134: icmp_seq=2 ttl=58 time=7.008 ms  
64 bytes from 210.71.222.134: icmp_seq=3 ttl=58 time=7.676 ms  
64 bytes from 210.71.222.134: icmp_seq=4 ttl=58 time=7.231 ms  
64 bytes from 210.71.222.134: icmp_seq=5 ttl=58 time=7.446 ms  
64 bytes from 210.71.222.134: icmp_seq=6 ttl=58 time=7.426 ms  
64 bytes from 210.71.222.134: icmp_seq=7 ttl=58 time=10.068 ms  
64 bytes from 210.71.222.134: icmp_seq=8 ttl=58 time=7.240 ms  
64 bytes from 210.71.222.134: icmp_seq=9 ttl=58 time=17.252 ms  
  
--- hinet-hp.cdn.hinet.net ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 5.236/8.371/17.252/3.159 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0  6664k      0  0:00:15  0:00:15 --:--:-- 8053k  

Singapore

  
PING sgp-ping.vultr.com (45.32.100.168): 56 data bytes  
64 bytes from 45.32.100.168: icmp_seq=0 ttl=51 time=91.461 ms  
64 bytes from 45.32.100.168: icmp_seq=1 ttl=51 time=90.319 ms  
64 bytes from 45.32.100.168: icmp_seq=2 ttl=51 time=91.947 ms  
64 bytes from 45.32.100.168: icmp_seq=3 ttl=51 time=92.217 ms  
64 bytes from 45.32.100.168: icmp_seq=4 ttl=51 time=91.695 ms  
64 bytes from 45.32.100.168: icmp_seq=5 ttl=51 time=92.687 ms  
64 bytes from 45.32.100.168: icmp_seq=6 ttl=51 time=90.677 ms  
64 bytes from 45.32.100.168: icmp_seq=7 ttl=51 time=95.832 ms  
64 bytes from 45.32.100.168: icmp_seq=8 ttl=51 time=92.007 ms  
64 bytes from 45.32.100.168: icmp_seq=9 ttl=51 time=92.967 ms  
  
--- sgp-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 90.319/92.181/95.832/1.441 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0  4895k      0  0:00:20  0:00:20 --:--:-- 6091k  

New York (NJ)

  
PING nj-us-ping.vultr.com (108.61.149.182): 56 data bytes  
64 bytes from 108.61.149.182: icmp_seq=0 ttl=43 time=253.978 ms  
64 bytes from 108.61.149.182: icmp_seq=1 ttl=43 time=429.036 ms  
Request timeout for icmp_seq 2  
64 bytes from 108.61.149.182: icmp_seq=2 ttl=43 time=1010.707 ms  
64 bytes from 108.61.149.182: icmp_seq=3 ttl=43 time=313.185 ms  
64 bytes from 108.61.149.182: icmp_seq=4 ttl=43 time=537.873 ms  
64 bytes from 108.61.149.182: icmp_seq=5 ttl=43 time=454.388 ms  
64 bytes from 108.61.149.182: icmp_seq=6 ttl=43 time=373.173 ms  
64 bytes from 108.61.149.182: icmp_seq=7 ttl=43 time=294.522 ms  
64 bytes from 108.61.149.182: icmp_seq=8 ttl=43 time=219.287 ms  
64 bytes from 108.61.149.182: icmp_seq=9 ttl=43 time=436.969 ms  
  
--- nj-us-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 219.287/432.312/1010.707/214.490 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0  2243k      0  0:00:45  0:00:45 --:--:-- 3285k  

Tokyo, Japan

  
PING hnd-jp-ping.vultr.com (108.61.201.151): 56 data bytes  
64 bytes from 108.61.201.151: icmp_seq=0 ttl=50 time=97.360 ms  
64 bytes from 108.61.201.151: icmp_seq=1 ttl=50 time=87.504 ms  
64 bytes from 108.61.201.151: icmp_seq=2 ttl=50 time=98.334 ms  
64 bytes from 108.61.201.151: icmp_seq=3 ttl=50 time=92.966 ms  
64 bytes from 108.61.201.151: icmp_seq=4 ttl=50 time=103.641 ms  
64 bytes from 108.61.201.151: icmp_seq=5 ttl=50 time=89.665 ms  
64 bytes from 108.61.201.151: icmp_seq=6 ttl=50 time=98.118 ms  
64 bytes from 108.61.201.151: icmp_seq=7 ttl=50 time=92.235 ms  
64 bytes from 108.61.201.151: icmp_seq=8 ttl=50 time=93.268 ms  
64 bytes from 108.61.201.151: icmp_seq=9 ttl=50 time=98.122 ms  
  
--- hnd-jp-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 87.504/95.121/103.641/4.584 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0   814k      0  0:02:05  0:02:05 --:--:--  831k  

Seattle, Washington

  
PING wa-us-ping.vultr.com (108.61.194.105): 56 data bytes  
64 bytes from 108.61.194.105: icmp_seq=0 ttl=49 time=162.603 ms  
64 bytes from 108.61.194.105: icmp_seq=1 ttl=49 time=163.509 ms  
64 bytes from 108.61.194.105: icmp_seq=2 ttl=49 time=163.297 ms  
64 bytes from 108.61.194.105: icmp_seq=3 ttl=49 time=163.957 ms  
64 bytes from 108.61.194.105: icmp_seq=4 ttl=49 time=164.445 ms  
64 bytes from 108.61.194.105: icmp_seq=5 ttl=49 time=165.403 ms  
64 bytes from 108.61.194.105: icmp_seq=6 ttl=49 time=164.259 ms  
64 bytes from 108.61.194.105: icmp_seq=7 ttl=49 time=171.378 ms  
64 bytes from 108.61.194.105: icmp_seq=8 ttl=49 time=164.199 ms  
64 bytes from 108.61.194.105: icmp_seq=9 ttl=49 time=164.242 ms  
  
--- wa-us-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 162.603/164.729/171.378/2.327 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0  3996k      0  0:00:25  0:00:25 --:--:-- 4747k  

Silicon Valley, California

  
PING sjo-ca-us-ping.vultr.com (104.156.230.107): 56 data bytes  
64 bytes from 104.156.230.107: icmp_seq=0 ttl=51 time=131.030 ms  
64 bytes from 104.156.230.107: icmp_seq=1 ttl=51 time=133.122 ms  
64 bytes from 104.156.230.107: icmp_seq=2 ttl=51 time=132.985 ms  
64 bytes from 104.156.230.107: icmp_seq=3 ttl=51 time=133.115 ms  
64 bytes from 104.156.230.107: icmp_seq=4 ttl=51 time=133.232 ms  
64 bytes from 104.156.230.107: icmp_seq=5 ttl=51 time=133.056 ms  
64 bytes from 104.156.230.107: icmp_seq=6 ttl=51 time=132.944 ms  
64 bytes from 104.156.230.107: icmp_seq=7 ttl=51 time=133.353 ms  
64 bytes from 104.156.230.107: icmp_seq=8 ttl=51 time=133.033 ms  
64 bytes from 104.156.230.107: icmp_seq=9 ttl=51 time=134.070 ms  
  
--- sjo-ca-us-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 131.030/132.994/134.070/0.724 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0  3886k      0  0:00:26  0:00:26 --:--:-- 3961k  

Los Angeles, California

  
PING lax-ca-us-ping.vultr.com (108.61.219.200): 56 data bytes  
64 bytes from 108.61.219.200: icmp_seq=0 ttl=50 time=144.026 ms  
64 bytes from 108.61.219.200: icmp_seq=1 ttl=50 time=144.362 ms  
64 bytes from 108.61.219.200: icmp_seq=2 ttl=50 time=144.005 ms  
64 bytes from 108.61.219.200: icmp_seq=3 ttl=50 time=144.423 ms  
64 bytes from 108.61.219.200: icmp_seq=4 ttl=50 time=144.096 ms  
64 bytes from 108.61.219.200: icmp_seq=5 ttl=50 time=148.838 ms  
64 bytes from 108.61.219.200: icmp_seq=6 ttl=50 time=144.211 ms  
64 bytes from 108.61.219.200: icmp_seq=7 ttl=50 time=146.007 ms  
64 bytes from 108.61.219.200: icmp_seq=8 ttl=50 time=142.544 ms  
64 bytes from 108.61.219.200: icmp_seq=9 ttl=50 time=144.382 ms  
  
--- lax-ca-us-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 142.544/144.689/148.838/1.591 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0  3761k      0  0:00:27  0:00:27 --:--:-- 5197k  

Sydney, Australia

  
PING syd-au-ping.vultr.com (108.61.212.117): 56 data bytes  
64 bytes from 108.61.212.117: icmp_seq=0 ttl=48 time=295.905 ms  
64 bytes from 108.61.212.117: icmp_seq=1 ttl=48 time=520.829 ms  
64 bytes from 108.61.212.117: icmp_seq=2 ttl=48 time=211.618 ms  
64 bytes from 108.61.212.117: icmp_seq=3 ttl=48 time=213.624 ms  
64 bytes from 108.61.212.117: icmp_seq=4 ttl=48 time=289.710 ms  
64 bytes from 108.61.212.117: icmp_seq=5 ttl=48 time=214.779 ms  
64 bytes from 108.61.212.117: icmp_seq=6 ttl=48 time=424.617 ms  
64 bytes from 108.61.212.117: icmp_seq=7 ttl=48 time=341.948 ms  
64 bytes from 108.61.212.117: icmp_seq=8 ttl=48 time=257.989 ms  
64 bytes from 108.61.212.117: icmp_seq=9 ttl=48 time=216.696 ms  
  
--- syd-au-ping.vultr.com ping statistics ---  
10 packets transmitted, 10 packets received, 0.0% packet loss  
round-trip min/avg/max/stddev = 211.618/298.771/520.829/98.692 ms  
  
  
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current  
                                 Dload  Upload   Total   Spent    Left  Speed  
100  100M  100  100M    0     0   431k      0  0:03:57  0:03:57 --:--:--  333k  

不消說日本還是反應最快的,但頻寬成本也比其他機房高,而且那下載是怎麼回事啊 😂
新加坡看起來也還不錯,線路仍是會經過香港,不過頻寬以往有不穩定的問題,不知道現在狀況如何。
美西狀況差不多,澳洲...我選來亂的。

從 Laravel 上學到了不少東西,雖然還有大部份的內容未熟悉,不過一旦有脫節仍還是有升級不易的問題,雖然這裡是 lifetime side project。一段時間就會重頭開始打造 cms,這次受到 Laravel 的影響較深,也使用了不少 Symfony 的元件跟觀念,還是有很多底層的東西還未熟悉。

Server 環境也一併升級,應該還要一段時間修修補補,不過 php7 真的快的有感!!

似乎是 sierra 帶的 Tk 8.5 有相容的問題,將 Wish 換回前一個版本看來正常多了

  
cd /usr/local/git/share/git-gui/lib/Git Gui.app/Contents/MacOS  
mv Wish Wish.bak  
cp /System/Library/Frameworks/Tk.framework/Versions/8.4/Resources/Wish.app/Contents/MacOS/Wish ./  
  

如果是透過 brew 裝的 git 則應該是在 /usr/local/Cellar/git

Update: 11/11/2016

Wish 8.4 雖然沒有問題了,但是由於是使用較舊的 Carbon framework (ATUSI engine) 而不是 Cocoa (CoreText) 所以字實在太醜了。

改安裝 ActiveTcl 8.6,安裝的位置在 /Library/Frameworks/Tk.framework/Versions/8.6/Resources/Wish.app/Contents/MacOS/Wish,同樣再複製 Wish 給 git-gui 使用。