Pybites · @pybites
122 followers · 100 posts · Server fosstodon.org

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

#python #pythonprogramming #modules #encapsulation #namespacing #zenofpython #bestpractices #pitfalls #imports #dundermethods

Last updated 1 year ago

evtso · @evtso
28 followers · 215 posts · Server socel.net
Dohány Tamás · @iamdtms
60 followers · 1182 posts · Server mas.to

avagy: "Want to buy something?"

#pitfalls #ai

Last updated 1 year ago

Daniele de Rigo · @dderigo
127 followers · 85 posts · Server hostux.social

3/
"It’s not generally possible to avoid all , but the important thing is to recognize experimenter 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 , even when the intentions are good. Researchers need to become more aware of these " [3]

#conflictofinterest #bias #science #pitfalls

Last updated 2 years ago

Inautilo · @inautilo
105 followers · 259 posts · Server mastodon.social


“Make it easier” is not a product strategy · Why simplicity falls short as a standalone product strategy ilo.im/11aher

_____

#design #pitfalls #productdesign #uxdesign #uidesign #webdesign #strategy #simplicity #userresearch #usertesting

Last updated 2 years ago

Inautilo · @inautilo
88 followers · 181 posts · Server mastodon.social


“Most of our users are on Desktop” · What to consider when you analyze low mobile usage on your website ilo.im/10l6cy

_____

#business #pitfalls #DigitalAnalytics #webanalytics #analytics #tool #bias #website #webapp #desktop #mobile

Last updated 2 years ago

Aaron Wolf · @wolftune
216 followers · 753 posts · Server social.coop

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.

#pitfalls #socialmedia

Last updated 2 years ago

Daniel AJ Sokolov · @newstik
209 followers · 446 posts · Server law.builders

If you are building or operating a or , you want to . Common you must avoid. Watch the first half of this video for great :
youtube.com/watch?v=_uaaCiyJCF

#website #app #measure #userexperience #pitfalls #advice #latency

Last updated 2 years ago

CK's Technology News · @CKsTechNews
1567 followers · 708 posts · Server cktn.todon.de
DarkOperator 🚀 · @DarkOperator
962 followers · 708 posts · Server infosec.exchange
Inautilo · @inautilo
88 followers · 181 posts · Server mastodon.social

“How we present content to readers should never be defined by the publication tool.” — Rachel Andrew ilo.im/ywi7u

#pitfalls

Last updated 2 years ago

gaby_wald · @gaby_wald
70 followers · 16246 posts · Server framapiaf.org

"Bash Pitfalls -- This page is a compilation of common mistakes made by bash users. Each example is flawed in some way. " ... mywiki.wooledge.org/BashPitfal

#wooledge #mywiki #bash #pitfalls #mistakes

Last updated 3 years ago

gaby_wald · @gaby_wald
74 followers · 16277 posts · Server framapiaf.org

"Bash Pitfalls -- This page is a compilation of common mistakes made by bash users. Each example is flawed in some way. " ... mywiki.wooledge.org/BashPitfal

#mistakes #pitfalls #bash #mywiki #wooledge

Last updated 3 years ago

gaby_wald · @gaby_wald
84 followers · 16371 posts · Server framapiaf.org

"Bash Pitfalls -- This page is a compilation of common mistakes made by bash users. Each example is flawed in some way. " ... mywiki.wooledge.org/BashPitfal

#mistakes #pitfalls #bash #mywiki #wooledge

Last updated 3 years ago

ITSEC News · @itsecbot
687 followers · 32461 posts · Server schleuss.online
openoms · @openoms
1130 followers · 4036 posts · Server bitcoinhackers.org

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. twitter.com/kallerosenbaum/sta

#pitfalls #bitcoin

Last updated 5 years ago