168 karma · joined September 9, 2019
Edited: I'm talking specifically about Chinese tutoring industry. One comment below gives a very detailed description, which perfectly explains why I think it's worthless. We are all in the process of a revolution initiated by wiki/scihub/libgen. Whether agree with me or not, you are welcome.
In our team c-string is prefixed with sz_, e.g. char sz_name[13], and we always use a safe subset(or a safe replacement) of strxxx functions with these sz_ prefixed variables. Using memxxx with sz_ variables is explicitly forbidden, since it may break the NULL-terminating contract.
The sz_ prefix convention is by no ways like the hungarian naming nonsense. Suppose that you have "char sz_name[13]" in a structure of configuration parameters, sz_ tells the guy changing the field to keep it NULL-terminated, if they don't, it's their fault. On the other side, users of this field can safely use printf("%s", sz_name) without the risk of crashing the program.
For safe replacements of strcpy, I recommend: https://news.ycombinator.com/item?id=27537900
https://chromium.googlesource.com/chromium/src/+/refs/heads/... https://developer.mozilla.org.cach3.com/en-US/docs/Mozilla/D...
Please note that 16G RAM is assumed, I use 32G on my own laptop. I use Eclipse CDT for more than ten years successfully on all kinds of embedded projects.
Eclipse CDT, the long time king in embedded world, has been deliberately hidden from the default list. You have to click 'all results' to see it. Such a nasty trick!
PS: Eclipse can support all project long before LSP/Clion appeared, provided that 'CDT GCC Build Output Parser' is setup properly.
If it were a joke, it's not funny.
Let's guess where your father's mask is made during this pandemic. Given that China has provided 200 billion masks, the answer is almost obvious. Please throw away all your masks made in China, right away!
I'm also curious how long it will take you to find a country that is both willing and able to sell you masks during this pandemic.
Last time when I praised CDT for embedded Linux developing, I was downvoted by these vim/clion lovers...
I remembered that around 2011 I've tried Qt Creator, and it was a bad experience since I did know how to cope with several build systems. I've no idea how QtCreator's multiple build system support is now. For the same reason, CLion is not good enough to compete with CDT.
LLVM/LSP/Vscode/CLion, these are all exciting and have a lot of fans. Unfortunately, none of them is good enough in this subfield.
Check the linked article for more details: https://developer.mozilla.org/en-US/docs/Mozilla/Developer_g...
No need to configure tons of vim plugins, you have tons of powerful features in the default settings, like type hierarchy, call hierarchy, debugging etc.
As believer of HEALTHY democracy, I've never made any such implications. Guys from US/UK/EU claiming Taiwan is a country should go protesting right away, don't let democracy down!
As I already said, if democracy doesn't work in your country, don't waste your time caring about China/TW/HK unless you actually live there.
That a legal government of a modern democratic country cannot represent its people is a horrendous claim. As a strong believer of democracy, I'd rather assume that you were the minority in this case. The everyone claim may hold true for everyone you know (among the minority of your country of course).
I suggest fixing it ASAP. For example, the op can protest to urge his/her government to recognize Taiwan as a country, which will be "a beautiful landscape" as described by Nancy Patricia Pelosi.
Really? Does your government officially call Taiwan "a country"? Show us the proof. Considering only 15 countries in this universe still do this, it's almost safe to guess NO.