XIO

xWire

Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.

@trey.io - Trey Hunner

Python & Django team trainer I help folks sharpen their Python skills with https://PythonMorsels.com 🐍πŸͺ I also blog at https://treyhunner.com & run https://Whereabouts.Earth PSF Fellow. YIMBY. 95% vegan.

Python Tip #315 (of 365): Don't reach for random.random. 🧡 Need a random integer? Don't multiply a random float and con

Python Tip #315 (of 365): Don't reach for random.random. 🧡 Need a random integer? Don't multiply a random float and convert the result. The randint function does that more directly. Do this: random.randint(1, 6) Not this: int(random.random() * 6) + 1 #Python #DailyPythonTip https://pym.dev/random-numbers/

I've been wanting a term for this! I think economists call this "negative-sum behavior", but I like @hankgreen.bsky.soci

I've been wanting a term for this! I think economists call this "negative-sum behavior", but I like @hankgreen.bsky.social's term better. Free riding, rent-seeking, & negative externalities CAN be negative-sum, but aren't always. Deadweight loss describes the vanished value, but NOT the behavior. https://youtu.be/8aynUCHKnlA?si=Q03vnoxf2RdI15Tm

Apparently the 15 years anniversary of the #EditorConfig project was 3 weeks ago. I made a vim plugin and convinced myse

Apparently the 15 years anniversary of the #EditorConfig project was 3 weeks ago. I made a vim plugin and convinced myself I could figure out how to make extensions for the other text editors. I'm glad I reached out to Hong Xu to ask if he was interested in teaming up. https://github.com/editorconfig/editorconfig-vim/commit/21af375dce0591f4d77db7ebcfa26eb1db2e9198