@tecnoysoft Según ellos es para conocer la demografía de sus usuarios. Yo a todas esas contesté: "prefiero no contestar". Así he podido dar mi opinión sin contestar a ese tipo de preguntas invasivas.
Normalmente no participo en este tipo de cosas pero en el caso de Mozilla he hecho una excepción ya que ahora mismo no tenemos muchas alternativas en navegadores gráficos ya que las alternativas principales están basadas precisamente en Firefox: librewolf y tor browser por ejemplo.
Mozilla wanna know what our dream is. I already told them that we want what they promised in the beginning, and that we don't want ads and AI crap. Now it's your turn.
🇪🇸 Mozilla quiere saber cuál es nuestro sueño. Yo ya les he hecho saber que queremos lo que prometieron al principio de su fundación y que no queremos publicidad ni porquerías del mundo IA. Ahora es tu turno.
@PaniczGodek because char, unsigned char and signed char are integer types.
A char can contain a value from -128 up to 127. 0x80 is 128 so when you set 0x80 to a char variable it's going to overflow. That's why your if fails because you are comparing if your char is 128 and it's not.
If you use an unsigned char which can hold values from 0 to 255 then your if is going to work as expected.
@PaniczGodek Sorry I thought you where talking about the conversions.
Your sample of the int overflow is going to get caught if you set the warning flags of the compiler, and because your affirmation sounded odd to me, I tested your sample on GNU/Linux with GCC 12 and on OpenBSD with clang 16 and I got exactly the same result.
@tylermumford Using a language that you feel more comfortable with is good, and I don't think it's silly to be scared. Maybe you're not scared by the language, maybe you just have a deep respect for it: with great power comes great responsibility 🕷️ 😉
Why so many people hate C? Because the C language assumes you know what you’re doing and lets you. If you don't know what you are doing you can learn or you can hate the language.
⌨️ Tinkering with computers💡 Someday will learn electronics:tux: All things *NIX :freebsd: :openbsd: :netbsd::emacs: Emacs User🌱 Always learning, experimenting and building from curiosity🇪🇺 Living in Europe🏛️ I like to talk and exchange ideas in a civilized way with civilized people🚫 Bigots are not welcomePosts almost in English, sometimes in Spanish, released under CC BY-NC-ND 4.0 International https://creativecommons.org/licenses/by-nc-nd/4.0/