Xcode 16 天坑。簡單來說:
- 在 Xcode 16 新增專案,預設還在用 Swift 5 Language Mode(介面寫 Language Version,是舊名詞)
- 在 Xcode 16 新增 SPM,預設會是 Swift 6
總之,建立新專案時請記得改成自己要的 Language Mode
ChatGPT 🤝 VS Code, Xcode, Terminal, iTerm2
ChatGPT for macOS can now work with apps on your desktop. In this early beta for Plus and Team users, you can let ChatGPT look at coding apps to provide better answers.
We’re proud to announce the all-new Mac mini—our first carbon neutral Mac! It’s completely redesigned around Apple silicon, built for Apple Intelligence, and delivers phenomenal performance in a super compact design.
🔥 How I broke the internet today and what lessons can we learn from it? #Crowdstrike 🧐
Several things that make it a good fake that worked: 👇
1. No culprit named yet, I bring it on a platter, people like to have a culprit.
2- The culprit seems completely stupid, he is proud of his stupidity, he... takes his afternoon off on... the first day of work...
3- This falls right into a huge buzz in which people absolutely need to have new information, and a fake is by nature new, you won't read it anywhere else
4- In English = very easy to share internationally, with the vast majority of people who have no idea who I am.
5- Baby fingers are stupid, but they distract people from other things (like the fact that I have a horn on my head because of bad clipping)
6- Confirmation bias: People want to believe it, it's so funny. “I like the information, so it is true.”
7- The information is pushed ironically by people who know that it is a joke, and then it arrives in the litteral zone which amplifies it even stronger.
```
if myString.count > 0 {
// `myString` isn't empty
}
```
This code seems pretty reasonable, doesn't it? 😌
But it actually hides quite a serious issue!
Can you guess what that issue is? 🤨