HNHacker News
TopNewBestAskShowJobs

languageserver

83 karma · joined April 9, 2022

submissionscomments
languageserver··on Twitter accounts dropping “.eth” from usernames
In the USA, one of the world's most populous spanish-speaking countries, Spanish communication is often conducted using -x ending, even by the president.
languageserver··on Twitter accounts dropping “.eth” from usernames
This is exactly why people are aiming to change this forced behavior. Language reflects society and the only reason why male terms are considered "general" by some parts of the population is because men for centuries repressed the female populations and the non-binary.

this is unfortunately one of those times where "I have no opinion" is an opinion

languageserver··on rand() may call malloc()
> That code is indeed wrong, but the error consists in using "long" instead of "unsigned long".

Is this not what I was referring to? I would like to learn more, I think we have the same reasoning, but I am bad at explaining. It think perhaps it could be a good learning experience to HN if you could say exactly what lines you believe are wrong.

languageserver··on rand() may call malloc()
The size of a long is not defined, and is platform dependent. It may be the size of int.

Likewise

if (s < 0) s += 2147483647;

Overflow/underflow is UB in this case, and who says it is 32 bit in the first place?

languageserver··on Twitter accounts dropping “.eth” from usernames
> Maybe the kindest thing is not to play along with your language game.

My comment was in response to someone indicating that certain European languages forced you to know the gender of the person you were speaking to. So, the "language game" is already ongoing. This is why people have constructed careful expansions to the grammar, to make language non-genderized.

What is the alternative? To assume everyone identifies as a male?

languageserver··on rand() may call malloc()
It reads like a marketing blog post. Written as if this was one of those "I dissambled a printer driver to discover a race condition that could cause privilege escalation and I made a CVE that saved millions of PCs around the world" or something, but really it is just someone who took the time to read 10 lines of badly written C.
languageserver··on rand() may call malloc()
it is one of the unfortunate things about C, a language I love and defend dearly, is that on one hand it makes few assumptions about the system and is "bare metal" enough to shoot yourself, but at the same time it makes no assumptions about what is now agiven on modern systems
languageserver··on rand() may call malloc()

  int
  rand_r (unsigned int *seed)
  {
        long k;
        long s = (long)(*seed);
        if (s == 0)
          s = 0x12345987;
        k = s / 127773;
        s = 16807 * (s - k * 127773) - 2836 * k;
        if (s < 0)
          s += 2147483647;
        (*seed) = (unsigned int)s;
        return (int)(s & RAND_MAX);
  }

Who on this green Earth wrote this??

   long s = (long)(*seed);
languageserver··on Twitter accounts dropping “.eth” from usernames
well, luckily most languages are modernizing to accommodate marginalized people! Historical patterns are no excuse to deliberately misgender or genderify language. E.g. for Spanish a lot of people use an X or @ instead of -o -a, same in German. In Scandinavia hön as a pronoun.

In mean eyes what is most important: grammatical correctness or kindness?

← PreviousPage 3 of 3