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

CTO of I³D Technology Inc. Blog: https://teapawt.net/t.co/8XZXCSelkF WorkFlowy: https://teapawt.net/t.co/GdLWkf2c75 , https://teapawt.net/t.co/Cf79D3AACD Newsletter: https://teapawt.net/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
After I wrote this, I found that winappcli has a new (like a week old!) sandbox feature for WinUI3 apps, check it out! learn.microsoft.com/en-us/wi… together these two tools make writing quality windows apps WAY easier.
6
18
2
104
8,836
Sam Tsai retweeted
She gets it because she was born into that world. Gullible progressive Americans can’t see what @RawaneOsmane sees.
Congratulations, Abdul El-Sayed. You won. You outsmarted millions. If voters in other states had been allowed to vote for you, many more would have fallen for your charm. Keep going and maybe one day it's the presidency. Like it or not, they will call you Senator. You beat them at their own game. Western democracy gave you representation, and you're using that power to shape your country (yes, your country) closer to your worldview. Who knows, maybe you'll even work to undo the Muslim Brotherhood designation. As an observant Muslim, why wouldn't you pursue what you believe in? And let's be honest: you read your voters far better than they read you. Your critics put the questions about your associations in front of them. Your voters, many of them Jewish, shrugged and backed you anyway. As we say in Arabic: القانون لا يحمي المغفلين. The law doesn't protect the gullible. The political current that cheered your victory has spent decades working patiently toward this, for the good of humanity as it sees it, and for the good of its children. I disagree. I grew up where Islam has ruled since the 7th century. Since the eighties, the Muslim Brotherhood has promised us الإسلام هو الحل, "Islam is the solution." We lived the result, and nothing could be further from the truth. That was our experience in the Muslim world, the same world your parents chose to leave. Maybe America will be different. Maybe here it will finally work, because the people who mistake your smug smile for a sweet one are so much easier to win over. They have no resilience. They take every smile at face value. And they have so little sense of who they are that some would trade it for anything that offers certainty. Congratulations. The hard work paid off. While your side spent decades organizing, the people who should have been paying attention were busy inventing new identities, new grievances, new reasons to be offended, new things to smoke, new gods. Then the Palestinian cause led them straight into bed with Islamism. And for Palestine, they'll march hypnotized to the end of the earth. @AbdulElSayed
296
2,607
48
16,189
631,198
Yoo! Red is very cool, I’d say amazing. I’m too stuck at my neovim but I still enjoyed it :3
Next version of red will drop the need for ripgrep and instead we'll bundle the excellent fff by my now coworker @neogoose_btw 🤘
1
75
4,553
Atuin Threads supports Amp in version 18.24.5! 🎉 Thanks @elliehuxtable and the Atuin team for making this happen! 🐢 I can now capture, search, and sync Amp conversations alongside my shell history. Amp stores threads on its servers, so capturing new turns requires a plugin: `atuin hook install amp`.
2
2
8
479
愛有排他性,恨有連結性:吳崑玉四句話解釋選舉厭惡度、棄保與職場吹哨者
1
9
2
28
3,259
這位當選者的邏輯…😑
Michigan's Democratic candidate for Senate Abdul El-Sayed confronted @jamesmatthewsky, telling him he wouldn't answer his questions as he wants "zero" votes in the UK. Watch the heated exchange between the two. Watch our live coverage of the US midterms➡️ trib.al/BikRSb2
131
“A huge portion of your China and Cuba trips were paid for completely by foreign governments that are openly hostile to the United States of America, and you are dishonest about disclosing these payments to your audience.” I’d like to see the discovery on this.
If you’d like to sue me for defamation, here are the claims I’m making, I’ll put them all in a tweet for you to cite in your complaint: 1. You, beyond a shadow of a doubt, shocked the fuck out of your poor dog, the one that you lie about adopting randomly but instead absolutely got from a breeder. 2. You solicited nudes from your fans on Twitch, and were sharing nudes (at least almost certainly of minors) to other streamers, friends and journalists, a practice you’ve defended since you went by “Bro Tips” on The Young Turks. 3. You invent a large part of your backstory when you do interviews and incorporate sections of my life and pass them off as your own experiences, probably because you’re insecure about your nepotistic and spoiled upbringing. 4. You have a strange sexual obsession with me for some reason, also likely sprouting from your own personal insecurities and deep attraction to my physical appearance and personality. 5. You gleefully attended multiple Diddy parties during your frat years and beyond, despite describing what sounded like CSAM being openly shown at one of them. You lie and say you broke up with an ex for going to one of these because you were so disgusted with her attending, but in reality you broke it off with her because you were insecure about her potentially hooking up with someone else at the party. 6. There are accusations from a former close friend of Paris Jackson that you were fucking her when she was only 17 and you were 24. 7. You were obsessed with bragging about smashing freshman and 18 year olds back when you were in college and then later on Bro Tips, especially due to their susceptibility to alcohol and lack of experience. You repeated this behavior on your social media accounts as well. 8. You abused your older dog, Fish, so much that he had physical scars and open wounds visible on his neck, and some abuse was even shown on your stream, such as when you would yank his tail. He also died at a suspiciously early age. 9. A huge portion of your China and Cuba trips were paid for completely by foreign governments that are openly hostile to the United States of America, and you are dishonest about disclosing these payments to your audience. 10. You openly support terrorists and terrorism against allies of the west across the globe, which probably explains why multiple members of your audience have been indicted by the FBI at this point. You have explicitly called for at least some of this harassment on your own stream. See you in court!
1
4
44
3,763
Sam Tsai retweeted
We've been early adopters of Rust since 2018 and a lot of our infra, voice tech, and even some of the current client is already Rust, the holy grail was getting the whole client there. That means Electron goes away, and so does React Native, mobile keeps native UI but shares app code with desktop via Rust. We hope to get it into testing with users soon™. (And it's not Tauri, it's GPUI, so good guess everyone.) Alright, back to staring at the WoW Forever login screen.
Over the past few days Discord's CTO has hinted at a big update: a rewrite of the desktop client that moves it away from Electron to a fully native client in Rust.
507
764
402
12,037
2,012,750
Sam Tsai retweeted
Some news: I’m joining OpenAI to lead product management for Core Products! I have a lot of respect for OpenAI for showing the world that scaling works, for bringing AI to over a billion people, and for believing great products are core to the mission. I’m excited to work with @thsottiaux, an incredible PM team, and everyone across OpenAI. Together, we’ll build agents that have your back and your team’s, and keep you in control, so you get more time for the people and work you love. Lots to learn, and lots to build. Please keep your feedback coming!
2,097
748
1,444
17,406
4,127,951
Real question for 8GB laptop owners: has Windows 11 felt better lately? My testing shows less RAM usage at idle and under load on 26H2 compared to 25H2 from a year ago. My results: windowscentral.com/microsoft…
9
15
134
12,802
全新安裝的 Windows 11 系統,其他軟體進場前,只剩 SearchHost.exe 還在用 WebView2。確有進步。希望 SearchHost.exe 拿掉 WebView2 有進待辦。 單看 Process Explorer,乾淨的 Windows 11 有一點 NT 的舒爽感。 不過,實際操作的體感(只用了幾小時),速度沒有明顯提昇。待重度使用一陣子,再下結論。
Today, we’re sharing updates from the team on memory improvements, including work that makes experiences on 8 GB @Windows 11 PCs faster and more responsive. Windows quality is an ongoing journey. We’ll keep listening, building on what we learn, and sharing our progress 🚀. blogs.windows.com/windowsexp…
5
418
Sam Tsai retweeted
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.
108
216
16
860
31,690
『一名年薪6萬美元的社會主義者告訴凱勒布・漢默(Caleb Hammer),她買不起房子,希望政府替她買一間。 接著,漢默問她平常怎麼解決三餐,結果場面很快就變得對她非常不利。 社會主義者:「我對廚房過敏。」 凱勒布・漢默:「那妳怎麼吃飯?」 社會主義者:「有人提供食物給我吃。」 漢默:「妳這樣講根本說不通。我需要妳多解釋一點。所以妳都外食?」 社會主義者:「對。」 漢默:「每一餐都外食。而妳就是那個抱怨自己買不起房子的人。」 社會主義者:「我可以告訴你,我一餐大概花多少錢。」 漢默:「多少?」 社會主義者:「大概20美元。」 漢默:「搞什麼鬼?如果照我的餐食計畫,一餐大概只要3美元。」 社會主義者:「難道我連一天花20美元都不行嗎?」 漢默:「聽著,如果妳自己選擇不存錢,就不能抱怨自己什麼都存不到。如果妳不想存錢,那也沒關係。 「如果妳寧願出去吃飯,也沒問題。但妳就不要抱怨自己沒辦法存退休金,也沒辦法存錢買房子。那是妳自己做的選擇,這沒有關係。但妳就該為自己的選擇負責。」 社會主義者:「可是,如果政府提供這些東西……」 漢默:「政府為什麼應該提供?」 社會主義者:「嗯,政府……」 漢默:「妳根本沒有自律能力。政府憑什麼要替妳負責?」 社會主義者:「因為這本身就具有一種內在價值……」 漢默:「妳明明賺得不少,卻選擇不好好照顧自己,那為什麼照顧妳就該變成我的責任?」 她試圖轉移話題,開始談論其他生活困難的人,但漢默根本不吃這一套。 漢默:「我們現在談的是『妳』,不是其他人。我們現在討論的是『妳』的問題。妳一年賺6萬美元,卻選擇把錢全部揮霍掉,那我憑什麼還得負責照顧『妳』?」 社會主義者:「因為……這個……建立並扶持自己的社區,本身就具有內在價值。」 漢默:「妳又不是我社區裡的人。」 接著,漢默問她,美國收入最高的前1%人口繳納了全國聯邦所得稅的百分之多少,而她的回答已經說明了一切。 真有趣,那些整天要求拿走你的錢的人,往往也是最不會管理自己金錢的人。』
A socialist making $60,000 a year tells Caleb Hammer she can’t afford a house and wants the government to buy her one. Then he asks how she eats, and it gets ugly for her real fast. SOCIALIST: “I’m allergic to kitchens.” CALEB HAMMER: “How do you eat?” SOCIALIST: “I get fed.” HAMMER: “Make that make sense. I need a little more information. So you eat out?” SOCIALIST: “Yes.” HAMMER: “For every meal. And you’re the one complaining about not being able to get a house.” SOCIALIST: “I can tell you how much like I pay for a meal.” HAMMER: “How much?” SOCIALIST: “Like 20 bucks.” HAMMER: “What the f*ck? That would be like 3 bucks on my meal plan.” SOCIALIST: “Am I not allowed to spend $20 a day?” HAMMER: “Listen, you can’t complain that you can’t save for anything if you’re choosing not to. It’s fine if you don’t want to. “If you would rather go out to eat, that’s fine. But then don’t complain that you didn’t get to save for retirement, that you didn’t get to save for a house. You made that choice, and that’s okay. But own it.” SOCIALIST: “But if the government provided those things…” HAMMER: “Why should they?” SOCIALIST: “Well, the government—” HAMMER: “You have no discipline. Why should they?” SOCIALIST: “Because there’s an intrinsic value to—” HAMMER: “Why should it be my responsibility to take care of you since you decided not to take care of yourself when you make good money?” She tries to change the subject to other people struggling. Hammer isn’t having it. HAMMER: “We’re talking about YOU, not other people right now. We’re on the YOU part of this. Why should I have to take care of YOU when YOU make $60,000 a year and YOU choose to blow it all?” SOCIALIST: “Because the, it’s, there’s an intrinsic value to building up your community.” HAMMER: “You’re not in my community.” Then Hammer asks her what percentage of federal income taxes the top 1% pays, and her answer says it all. Funny how the people demanding your money are always the worst at handling their own.
40
268
16
1,365
69,818
Wow. @KemiBadenoch says she will NOT visit China while Jimmy Lai (the British citizen she is referring to) remains in prison.
🆕 Tory Leader Kemi Badenoch asked if she would visit Xi Jinping in Beijing says she won't be going for as long he is locking up British dissidents.
42
72
4
387
15,513
Sam Tsai retweeted
Don't know why this needs to be said so frequently, but developer tools are supposed to work for developers. That means respecting their privacy, their data, their environment, and their choices. An API client modifying AI coding agents' configurations without explicit consent is crazy. news.ycombinator.com/item?id…
11
10
3
109
7,559
不太需要維護的商用軟體服務…🤔
Replying to @pepeller
I don't need to maintain, it just keeps working, I haven't had to fix much at all
183
Sam Tsai retweeted
I don’t recommend this approach. Many of the elite engineers I’ve ever met put everything into their daily work cuz they on purpose chose a role/company/challenge they are truly passionate about & put a lot of extra effort into the company This is a lazy way to judge autonomy.
From a startup founder: “it’s now a red flag for me if I don’t see side projects on someone’s resume / application, because it signals lack of autonomy. Because it’s now so trivial to build anything on the side, vs before.”
78
136
14
2,701
97,886
🤔
Electron is great software and it is the best option for many interactive desktop applications
1
90
Sam Tsai retweeted
The amount of Microsoft energy that went into trying out this theory—a database running locally as a file system—would be hard to calculate across Windows, Office, email. It is one of those ideas that seems interesting on paper. In practice it is never good enough for everything you want to do and the constraints do not help you to think of better or more clever ways to get things done. The constraints just got in the way of getting anything done. There's significant utility in having a local database available for use in the platform, but that too carries with it challenges in backup/restore/upgrade/security/privacy/etc. In hardcoresoftware.substack.co… I think I wrote about this adventure in four times (working on strategy for Bill, Outlook, SharePoint, Longhorn.) I don't know if there is another example of a technology aspiration that endured so long and lacked a solution that worked. And also caused so much division and consternation inside Microsoft. Perhaps more than anything it is the lesson of a big company thinking it can invent the future in isolation—all sorts of isolation or tunnel vision. Big companies, it turns out have a surplus of two things: 1. Hubris. There was no shortage of people starting at the top who become "obsessed" with delivering on an idea and believed the success Microsoft had recently achieved was a license to know how to build it. 2. Doubt. There was also no shortage of people who thought from the first days that the idea made no sense and believed the defined solution in no way benefitted the products that are being made, loved by customers, and pay the bills. This 1-2 punch is fascinating because it sets up a divisive dynamic where you are either an "innovator" who is "on board" with the future OR you are a "obstacle" who does not see the value in "big bold bets" on the future of the company. Along comes a book like "Innovator's Dilemma" [1998] and suddenly resisting the next big corporate strategy makes one throw out common sense engineering because you don't want to get disrupted. It is the other side of the disruption coin no one talks about—sometimes the new thing does not in fact work very well nor will it in any finite time. The lesson applies to the product and technology leadership of a company. Part of what happens in a big company as well is the ability for the company to speak broadly and enroll their ecosystem in their own excitement for the future. Microsoft described WinFS as early as 1992 and over the course of more than a decade it polluted our ability to talk about new products. The email product (Exchange, today the mail for 365) was famously the most important product to be launched and for the first decade of its life was always about to become strategic even while it was in fact the most strategic product the company made. The strategy nearly wrecked Outlook the face of the email strategy. It did in fact derail an entire generation of Windows. There was fallout across a range of products never released. All the while Microsoft was talking about the grand future of this product while customers were investing and buying into products built an entirely different way. A dynamic few are willing to speak about is another 1-2 punch: • Customers and the press talk all about waiting and seeing if the current product will adopt the all important strategy. The first signs of this are the sales force freaking out and escalating their concerns. • Customers actually ignore the strategy because "product market fit" dynamics take over and they can't buy and adopt the actual product soon enough. The first signs of this are visible to those in the real world who never get asked about the strategy because customer have a million feature requests. This is the second way the whole dynamic divides the company. The "obstacle" people start to look like they are focused on the past to the "innovators" who are clearly focused on the "future." You can find many examples of this near computing technology and broadly in other industries: • Intel Itanium (which Dave below knows well) was a chipset architecture that just never panned out. Itanium occupied Intel for more than two decades. • Copeland OS pursued by Apple muddled their decaying ecosystem and divided the company, cancelling it set the stage for Jobs return with NeXT becoming the future OS. • IBM "Stretch AND "Future Systems." IBM was such a defining company it had two generations of this dynamic in an effort to reinvent (or invent!) mainframes. Stretch was much like Microsoft Longhorn in that there were portions that went on to greatness in the 1960s. FS just got cancelled. • IBM also had the Micro Channel Architecture (MCA) which divided the hardware side of PCs at just the wrong moment. It just went away. Also IBM had OS/2 which I think still runs some bank ATMs :-) [There's a theme that maybe IBM invented this whole level of hubris which would follow from second-system-syndrome in "Mythical Man Month"] • Hydrogen Fuel cars have been surpassed by improved gas and now EV yet you can still see them being pushed in Japan though at last Detroit moved on. This one has been going on since I was a kid. • GE Predix was a broad SAP-like industrial information technology bet that was the technical undoing of GE IMO, though the 2008 financial crisis really did the work. Predix was Immelt's bet (his book details this) while cleaning up was left to a successor as often happens. There's a difference between a failed product and a failed all-consuming strategy. All companies have failed products essentially all the time. Technology companies seem unique at hubris required to broadly pursue—in public—a direction that doesn't work. They do so under the guise of preventing the decline of the company that makes it all the more painful. Likewise there is a difference between a successful product line that can't escape its own success gravity and failed attempts to reinvent it. The most common thread is the inability of a successful company to find a new strategy for an existing product. We are living in this moment now with AI as we see Intel which could not transform its chip architecture into something different while at the same time Nvidia's long term architectural bet ended up as the foundation of the the AI era. Had we found ourselves in some other chip architecture from a third company it might very well be that we'd be talking about Nvidia's GPU bet as a strategy initiative they just would not give up on. One of the things that happens over time is this corporate hubris can get rewritten into "we had the right idea but were just early." The problem with this is it separates the broad concept at 30,000 feet from the actual technology and implementation. I've watched this happen with everything from Clippy to TabletPC to Windows Phone. There's a huge difference between a concept and an implementation that makes the claims of being right. I love Clippy but there was no path where it went from what we did in 1995 to today's AI agents, any more than the clipboard Captain Kirk used was a product precursor to an iPad. And of course as always with product development, no matter what happens...someone always said it would. Which makes me sharing all the times I thought WInFS would fail all the less satisfying for me. Here are the places in Hardcore Software where WInFS was part of key decision making and controversy. 024. Discovering “Cornell is WIRED!” [1994] hardcoresoftware.learningbys… 053. Strategy Tax: Outlook Storage, First Attempt hardcoresoftware.learningbys… 065. SharePoint: Office Builds Our Own Server hardcoresoftware.learningbys… 069. Mega-Scale, Mega-Complexity hardcoresoftware.learningbys… 074. Outlook Pride, Finally hardcoresoftware.learningbys… 085. The Memo (Part 1) hardcoresoftware.learningbys… 091. Cleaning Up Longhorn and Vista [2006] hardcoresoftware.learningbys…
Microsoft chased using a DB as a filesystem for about 20 years. It likely all started with OFS around the Cairo timeframe. OFS was conceived as an installable filesystem that would: - Store OLE objects (not just raw files) with rich, application-accessible metadata. - Support multiple data streams per object, long filenames, ACLs, quotas, and journaling. - Index both content and metadata so items could be searched and queried across applications (not just by name or path). - Optimize for large numbers of small files. The broader Cairo vision included “Smart Folders,” representing non-file objects (printers, devices, etc.) in the same hierarchy, and fulfilling Bill Gates’s “information at your fingertips” idea. Public demos appeared around the 1993 PDC. Then of course there was Storage+ and RFS and WinFS. Even ReFS uses a B-tree database internally.
36
52
9
595
71,150