New article:
⚠️Why you should avoid import * in Python 🐍
https://pybit.es/articles/why-you-should-avoid-import-in-python/
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
#python #pythonprogramming #modules #encapsulation #namespacing #zenofpython #bestpractices #pitfalls #imports #dundermethods
#python #pythonprogramming #modules #encapsulation #namespacing #zenofpython #bestpractices #pitfalls #imports #dundermethods
long-life cat
#illustration #comics #artwork #comicart #comicartist #tso #cat #inkdrawing #catcomic #aplomb #plum #pitfalls #comicpanel #longlife
#illustration #comics #artwork #comicart #comicartist #tso #cat #inkdrawing #catcomic #aplomb #plum #pitfalls #comicpanel #longlife
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]
#conflictofinterest #bias #science #pitfalls
#Design #Pitfalls
“Make it easier” is not a product strategy · Why simplicity falls short as a standalone product strategy https://ilo.im/11aher
_____
#ProductDesign #UxDesign #UiDesign #WebDesign #Strategy #Simplicity #UserResearch #UserTesting
#design #pitfalls #productdesign #uxdesign #uidesign #webdesign #strategy #simplicity #userresearch #usertesting
#Business #Pitfalls
“Most of our users are on Desktop” · What to consider when you analyze low mobile usage on your website https://ilo.im/10l6cy
_____
#DigitalAnalytics #WebAnalytics #Analytics #Tool #Bias #Website #WebApp #Desktop #Mobile
#business #pitfalls #DigitalAnalytics #webanalytics #analytics #tool #bias #website #webapp #desktop #mobile
We can feel compelled to reply to a wrong or dangerous statement…
Easier to drop that urge by dismissing poster as a "troll" or as "one of them"
Respecting poster as likely thoughtful person leads to replying
Plain text and other challenges still exist, so…
Unfairly disrespecting others and thus not replying can lead to *less* conflict (short-term at least), even if everyone was actually there in good-faith and aligned overall.
If you are building or operating a #website or #app, you want to #measure #UserExperience. Common #pitfalls you must avoid. Watch the first half of this video for great #advice:
https://www.youtube.com/watch?v=_uaaCiyJCFA
#latency
#website #app #measure #userexperience #pitfalls #advice #latency
A #guide to potential #liability #pitfalls for people running a #Mastodon instance
#guide #liability #pitfalls #mastodon
Researchers found #security #pitfalls in #IBM’s cloud infrastructure https://www.csoonline.com/article/3681450/researchers-found-security-pitfalls-in-ibm-s-cloud-infrastructure.html#tk.rss_all
“How we present content to readers should never be defined by the publication tool.” — Rachel Andrew https://ilo.im/ywi7u #pitfalls
Social Media: Thwarting The Phishing-Data Goldmine - Cybercriminals can use social media in many ways in order to trick employees. https://threatpost.com/social-media-phishing-data-goldmine/158997/ #multifactorauthentication #zero-trustsecurity #infosecinsider #remoteworkers #datagoldmine #workfromhome #websecurity #brianfoster #socialmedia #twitterhack #mobiliron #phishing #pitfalls
#pitfalls #phishing #mobiliron #twitterhack #socialmedia #brianfoster #websecurity #workfromhome #datagoldmine #remoteworkers #infosecinsider #zero #multifactorauthentication
RT @kallerosenbaum@twitter.com
Yearly reminder that it's important to have access to ALL public keys of your m-of-n multisig. If you only have n-1 of n pubkeys, you're rekt. Please store all pubkeys in multiple places. #bitcoin #pitfalls https://twitter.com/kallerosenbaum/status/993193566343135234