HackerTrans
TopNewTrendsCommentsPastAskShowJobs

unanimous

no profile record

comments

unanimous
·il y a 4 mois·discuss
Out of curiosity, I tried running `~True` in a Python 3.14.2 repl and got this output (the -2 is part of the output):

>>> ~True

<python-input-1>:1: DeprecationWarning: Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. This returns the bitwise inversion of the underlying int object and is usually not what you expect from negating a bool. Use the 'not' operator for boolean negation or ~int(x) if you really want the bitwise inversion of the underlying int.

-2
unanimous
·il y a 9 mois·discuss
Many email service providers give you the option to fetch all emails from a different service not just as a one-time thing, but ongoing. I'm not sure how that could be set up when running your own email server, but I bet there's a way. Even if there isn't, you can set up automatic forwarding in Gmail.

There's a chance forwarding is better than fetching. I once had a Gmail account stolen, and account recovery was locked for some reason, but email forwarding had been set up and I was still able to get all emails the address received.

In case it's relevant, I happen to use Fastmail now and their "mail fetch" feature involves imap.
unanimous
·il y a 10 mois·discuss
True, that meaning seems to be typical now. The opposite is the original meaning though.

> Scores of authors use the phrase “steep learning curve” or “sharp learning curve” in reference to a skill that is difficult to master. . . . Nevertheless, from the standpoint of learning theory, these and other authors have it backward, because a steep learning curve, i.e., a curve with a large positive slope, is associated with a skill that is acquired easily and rapidly (Hopper et al., 2007).

Source: Fifty psychological and psychiatric terms to avoid: a list of inaccurate, misleading, misused, ambiguous, and logically confused words and phrases (https://www.frontiersin.org/journals/psychology/articles/10....)