writing.exchange is one of the many independent Mastodon servers you can use to participate in the fediverse.
A small, intentional community for poets, authors, and every kind of writer.

Administered by:

Server stats:

334
active users

#pitfalls

0 posts0 participants0 posts today

#Netanyahu Cometh.

👀 He has some #danger zones according to the #AP.

“There are a few land mines and #pitfalls on this #trip Eytan Gilboa, an expert on U.S.-#Israel relations at Israel’s Bar-Ilan University, said before #Biden’s withdrawal. “He is thought of as a political #wizard who knows how to #escape from #traps. I am not sure he still #knows how to do that.”

apnews.com/article/israel-bide

AP News · Israel's Netanyahu walks political tightrope following Biden's exitBy AAMER MADHANI

New article:

⚠️Why you should avoid import * in Python 🐍
pybit.es/articles/why-you-shou

Covering:
- Why modules are great and namespacing explained
- Why import * is a problem
- A practical example where a function gets overriden
- The recommended way to do imports
- What PEP8 has to say about this
- Protection workaround, use __all__ to define your module's public interface

PyBites⚠️Why You Should Avoid Import * In Python 🐍 - PyBitesHowever, not all ways of using modules are equally beneficial. In this article, we will discuss why using import * can be more problematic than it's worth,
Replied in thread

3/
"It’s not generally possible to avoid all #ConflictOfInterest, but the important thing is to recognize experimenter #bias as the rule rather than the exception, identify possible threats [...] to study validity, take stringent steps to counteract these, and report openly"

"being a good scientist often conflicts with our natural human tendencies" [1]

"Faulty reasoning results in shoddy #science, even when the intentions are good. Researchers need to become more aware of these #pitfalls" [3]