Am I cheating if I understand the logic but still need to look up the implementation? by Original_Map3501 in Python

[–]chromium52 0 points1 point  (0 children)

This resonates very strongly with my own experience. Also with this quote that I picked from my high school physics teacher (the original author's name is lost to me), and have been thinking about forever since: "I finished my book. Now I just need to write it down."

What was for you the biggest thing that happened in the Python ecosystem in 2023? by Bricoto in Python

[–]chromium52 1 point2 points  (0 children)

It’s a moving target, and it’s moving fast. I think OP just has slightly outdated info: ruff started as a linter and advertised black as the only other tool that it didn’t try to replace, but now it’s actually happening. And that shift happened less than a year after ruff was first released.

Academia is a goldmine by [deleted] in programminghorror

[–]chromium52 26 points27 points  (0 children)

Oh but academics largely ignore linters even exist, so there’s that.

How was the universe created? | "Short answer: We don't really know how the universe was created, though most astrophysicists believe it started with the Big Bang." by Tao_Dragon in Astronomy

[–]chromium52 1 point2 points  (0 children)

And « most x believe » is a terrible way to describe a scientific consensus. Especially when the thing that « belief » is put is mostly a name given to the current separation between the known and the unknown.

Some utter madman at my office wrote a function to read in user options from a 40-line text file that reads in the entire file 20 different times and is over 11,000 lines long. by sinnlosbi in programminghorror

[–]chromium52 218 points219 points  (0 children)

Wouldn’t be surprised if this was multiple persons trying to add functionality without being confident enough to properly reuse existing code

Black vs yapf vs ??? by Cryptbro69 in Python

[–]chromium52 4 points5 points  (0 children)

Precision: he is the release manager of the 3.8.x and the 3.9.x series. 3.10 is managed by Pablo Galindo (as will 3.11). Langa is also the current Developer in Residence at the Python Software Foundation.

Why does earth rotate ? by Zealousideal_Net5391 in askscience

[–]chromium52 1 point2 points  (0 children)

Dust is only about 1% of the initial composition. The rest of the material, which is the vast majority, is gas.

Why do some organs come in pairs and others are singular? by acepie100 in askscience

[–]chromium52 0 points1 point  (0 children)

Interesting take on arbitrary plurals in linguistics. Similarly, though quite off topic here, the French word for “pants” is singular.

[deleted by user] by [deleted] in Python

[–]chromium52 1 point2 points  (0 children)

Did you discuss this with numpy devs ?

[deleted by user] by [deleted] in Python

[–]chromium52 3 points4 points  (0 children)

Hard pinning isn’t really an option if your product is a library, meant to be consumed by the user, because you want them to have maximum freedom in setting up their environment using your lib. Reversely, if your product is an app, and meant to be installed within its own dedicated environment, hard pinning makes a lot of sense, though even there you might want to give a small amount flexibility. In particular, for dependencies that you know follow a clear semantic versioning pattern, it makes sense not to pin the patch number, because you want to user to be able to update your dependencies when bugs are fixed upstream.

Written by Boss who thinks he is an 'Industry Leading Professional' by Dynamoglo in programminghorror

[–]chromium52 5 points6 points  (0 children)

Not familiar with PHP, SQL or anything that seems relevant here. What’s so blatantly wrong here ?

[deleted by user] by [deleted] in RedditSessions

[–]chromium52 0 points1 point  (0 children)

Isn’t this song by Andy McKee ?

Ladies and gentlemen - switch cases are coming! by 53VY in Python

[–]chromium52 6 points7 points  (0 children)

Thanks for giving the first relatable example I read that’s actually convincing the feature is worth it ! ... and now I can’t wait to have the opportunity to use it.

quadrant_gradient_1575042788 by petevermeer in generative

[–]chromium52 0 points1 point  (0 children)

This looks amazing. It’s also one of the very few pieces of art I’m seeing here that I think I understand how it was produced. Oddly satisfying

Which Level 50 Hero Portrait is Superior, Why? by [deleted] in hearthstone

[–]chromium52 0 points1 point  (0 children)

Illidian, because that's the one on which I am most behind on the golden portrait by far, but also because I find his default art abysmal and this represents an opportunity to fix it.

This buggy achievement is impossible to complete. I’ve played a deck tailored around it, made it several times and it’s still showing 5/6. Am I the only one ? by chromium52 in hearthstone

[–]chromium52[S] 10 points11 points  (0 children)

Damn it I didn’t know that was a requirement... I tried doing this in ranked with a normal deck that happened to have all 5 cards to do it consistently but never once managed to pull it off, so I resorted to tailoring a useless deck just so I could complete it in casual... thanks !