Sam Tsai (@mhtx) header
Sam Tsai (@mhtx) profile picture

CTO of I³D Technology Inc. Blog: https://xitter.gq/t.co/8XZXCSelkF WorkFlowy: https://xitter.gq/t.co/GdLWkf2c75 , https://xitter.gq/t.co/Cf79D3AACD Newsletter: https://xitter.gq/t.co/JJN544mG0P 🚭

Taipei, Taiwan
Joined January 2008
Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)Photo by Sam Tsai (@mhtx)
我辦了一份以 C++ 為主題的電子報,每月兩期。《大山姆的機機車車》要讓讀者: ㊀ 十分鐘內決定丟垃圾桶還是後送做進一步處理 ㊁ 三十分鐘內獲取至少一項有用的資訊 ㊂ 從頭到腳讀完,不應該超過一小時 ㊃ 充當引路人,開通更多資訊渠道 資訊何其多,山姆讀的優,歡迎訂閱唷。thecpp.news
5
34
3
124
Sam Tsai retweeted
我們做了一個給家用開伙的免費 App「Mogu:每週買菜清」,現在上架 App Store 了!把這週要煮的菜跟材料填好,它會自動整理成一張採購清單,標出每樣材料是哪一餐要用的,順便也能把日用品一起記進去。 這個 App 的起源,是我幫老婆買了一份 Claude Code 訂閱,並且大概說一下可以怎麼操作,他在幾天後給了我一版網頁原型。 我就按照這個原型打磨一下後變成了原生的 App,每天被催著趕快用到 TestFlight 測試,現在他安排菜單都會使用這個 App 了。 他完全沒有任何程式背景,之前買菜都是用記事本,所以他知道他想要怎樣的排序。 首先他會先安排每天的菜單,把食材列出來然後到超市採買,這避免了每次逛超市才在規劃要買導致食材多買的問題。 這是以前我完全不敢想像的事,但因為 AI 我們共同開發出來了一款 App,現在他的創意爆發,我們正在打造一款的網頁遊戲😂 apps.apple.com/tw/app/mogu-%…
5
16
80
2,853
為了增加 toui 短網址服務的韌性,今日起 toui 將短網址與官網使用的域名分流,之後 toui 的短網址會使用 toui.to 而官網服務則是保持用 toui.io。 過去已經建立的短網址不會受影響。 toui.io/zh/blog/new-short-li…
3
7
316
Sam Tsai retweeted
I wrote about how an unlikely candidate (Puma Shen) in an unlikely race (Taipei mayoral election) is shaking up Taiwan politics. He's wanted by China, but the bigger picture here is how he has become an overnight sensation who could help win the DPP several critical races this month even if he loses Taipei. worldpoliticsreview.com/puma…
8
31
1
159
5,422
Sam Tsai retweeted
我寧願犧牲一點記憶體 footprint 用 Electron,也不要一個原生 App 但是功能半殘,唯一拿來說嘴的是原生 + 佔用體積小。另外就是很多應用,最後的效能瓶頸會卡在 IO-bound 本身,所以到最後邊際效益可能遞減。 當然 AI 的出現我們可以貪心一點既要又要還要,不過現階段的精力會先放在別的地方。
效能好跟佔用體積小的前提是功能面要先符合需求
1
1
11
807
Sam Tsai retweeted
戒掉精神內耗最有效的方法,是幫你的焦慮設定一個可以被打臉的條件,讓問題具有可證偽性。 什麼是可證偽性?一個命題或假設,必須存在可以被證明是錯的條件,它才是有意義且科學的。 如果這件事成功了是因為我努力;如果失敗了是因為我命不好。你永遠無法證明它,同時也讓你徹底失去調整與行動的空間。 因為沒有定義什麼叫做失敗,大腦就會不斷尋找負面證據來折磨自己,卻永遠得不到一個確定的結論。 可證偽性是反直覺的,因為它代表你要接受「我可能錯了」的心態。 我記得大學的統計學教授常常把這句話掛在嘴邊「機率就是比例,統計就是猜」。既然是猜那就一定會猜錯,只是統計這門學科提供了各種工具來量化猜錯的代價,誠實面對不確定性。或許念統計也是個擺脫內耗的好方法。
10
66
2,600
Sam Tsai retweeted
專為 AI agent 打造的開源、極速沙箱!最剛開始是為了 HinaCode 的 tiny VM。 sbx 能在數十毫秒內為 AI agent 建立一台全新、隔離的 Linux 機器,讓它執行程式、操作桌面或瀏覽器,並在工作完成後直接丟棄。 預設的使用場景是你有一台隨時開啟的 VM,每個沙箱都是從已開機範本快照還原的 Firecracker microVM,擁有獨立核心、可寫入磁碟、可即時觀看的 1280x800 桌面、對外連線白名單,以及內建電腦操作工具的 MCP 伺服器。 github.com/kjj6198/agent-san…
1
1
22
980
以前最最受不了的惱人體驗:「檔案總管」的反應越來越慢..越來越慢...越來越慢。慢到受不了,手動讓它重生。 升級到 26H2 後,竟然,沒有關機,也沒有重開機,休眠數十回之後,「檔案總管」依舊反應靈敏... 不可能,這萬萬不可能吶🤯
全新安裝的 Windows 11 系統,其他軟體進場前,只剩 SearchHost.exe 還在用 WebView2。確有進步。希望 SearchHost.exe 拿掉 WebView2 有進待辦。 單看 Process Explorer,乾淨的 Windows 11 有一點 NT 的舒爽感。 不過,實際操作的體感(只用了幾小時),速度沒有明顯提昇。待重度使用一陣子,再下結論。
7
404
有趣的影片。
1
117
Sam Tsai retweeted
luke is porting opencode from electron to rune look how fast it launches, it's completely instant, doesn't even feel like a cold start once we're done we're going to teach the world how to do this and then everyone can stop complaining about electron
131
52
12
2,374
178,498
這四年來,感覺桃園市的發展陷入了停滯。對於桃園沒有好好發展,我自己最在乎、也最有感的是這幾件事: ​1) 「桃園A7公滯一滯洪池」原本可以像高雄或甚至新北的滯洪池公園那樣去規劃開發——保留水域空間讓居民可以坐在周邊休憩欣賞,並設置遊樂設施讓孩子們玩耍。 1/6
4
14
1
43
2,993
🤔
Replying to @cradrrat
We have dumped JAX/SGLang and rewritten the entire RL and inference stack from scratch in C/C++, which took some extra time. Training (aka pre-training) is done. Lot of cleanup was needed on the SFT data to get that mostly right. Now, 4.8 is in RL and the evals are starting to climb. We will do a soft rollout to Bot users later this week and see how it goes. Grok 4.8 will bear no resemblance to 4.7 (thankfully). It is not yet incredible, but, this time, the foundations are built right, so I expect it to evolve to be something special.
77
Replying to @elonmusk @cradrrat
I use C/C++ for all my projects. Debt Badge, Clucks Capacitor, homemade power-wall, sculpting software for my haptic interface. I suppose with AI assisting, the clunkiness of developing in C disappears and the efficiency shines. How soon until the language doesn’t matter?
631
599
570
15,211
1,890,554
如果你的産品跟使用者互動的 UI 不到史詩級的複雜度,可考慮使用 CUI 這類跨平台,輕量級,有夠多 UI 元件的方案。挑選 Electron/Tauri 的條件最好嚴苛到,閉關七七四十九天後,再做決定。 CUI 初體驗,還算 AI 友善。考慮用在下一個寫給廠商用的工具(如果還有生意...😅 buff.ly/tVjihT9
5
353
「一言不合,自幹一個,自爽一波」。我覺得很好。 但,才自爽一個禮拜(或一個月),就回頭瞧不起原作?AI Slop 建構來的自信,總是不堪一擊。
1
18
571
我國國防部@MoNDefense 10月8日至11月8日公布之共機艦襲擾動態,套疊我國國安會吳秘書長@josephwutw 所公布之船艦動態(估繪)。 可發現相比2024與2025年之同樣時段,2026年10/8~11/8的公務船每日通報艘數累計則為最高、共艦每日通報艘數累計為次高、共機通報總架次則為最低。
The #PRC is such a big bully. In addition to the high number of air sorties indicated earlier, the #PLAN & #CCG have also deployed 100+ vessels in the #WesternPacific as of now. #Taiwan is staying vigilant. We won’t provoke, but we won’t bow to any pressure.
8
123
4
641
38,330
Sam Tsai retweeted
Nice! Glad to see Taiwan to flexing those muscles. 🇹🇼💪
Taiwan cancelled trade talks with Malaysia following PM Anwar Ibrahim’s “One China” remarks, with potential repercussions for chips investment. A source described the reaction to Anwar’s words among Taipei’s leadership as one of “pure anger.” w/@imnormgoh asia.nikkei.com/politics/int…
6
31
287
5,646