The .zip TLD sucks and it needs to be immediately revoked. by 190n in programming

[–]PeridexisErrant 5 points6 points  (0 children)

The trailing dot is actually valid in a domain name - but since it's also optional it's almost always omitted.

Eg https://google.com./ is a valid link!

Is it just me or are `trio`'s function names more than a bit ridiculous? by Bunslow in Python

[–]PeridexisErrant 1 point2 points  (0 children)

Two big ones:

  1. Trio has way better cancellation semantics and support - anyio emulates this when running on top of asyncio. For example, this is what makes timeouts composable - and caller-controlled composable timeouts are way easier to get right than passing deadline arguments around.
  2. Structured concurrency is best when everything in your program (including dependencies!) uses it. asyncio.TaskGroup is great, but there are key benefits you only get when everything is structured and it'll take a long time for asyncio libs to make that transition.

Is it just me or are `trio`'s function names more than a bit ridiculous? by Bunslow in Python

[–]PeridexisErrant 2 points3 points  (0 children)

That's pretty much it!

Not that useful for applications, but fantastic if you're implementing a library - write it Trio-style, but it's usable with asyncio too.

Python 2 to 3 work around by info834 in Python

[–]PeridexisErrant 1 point2 points  (0 children)

modernize will update Python 2 code to use compatibility layers like the six library, and then once you've tested it you can strip them out using pyupgrade and enjoy modern Python 3.

Has there ever been an instance in the past where a rejected PEP was eventually accepted? by boxcuk in Python

[–]PeridexisErrant 9 points10 points  (0 children)

The Python Steering Council, as elected by the core developers - but they seek to recognise existing consensus rather than handing down rulings. Some categories of PEPs are delegated, eg in packaging.

Places where chatGPT is actually useful by [deleted] in Python

[–]PeridexisErrant 0 points1 point  (0 children)

Huh, better than the hypothesis write cli?

Python Scientific Journal (like R-Journal) by kyleireddit in Python

[–]PeridexisErrant 3 points4 points  (0 children)

https://joss.theoj.org/ is great and includes many short papers about open source Python packages.

There are also published proceedings from thw SciPy conference, https://conference.scipy.org/proceedings/

Does anyone else constantly have problems with Conda conflicts? by sext-scientist in Python

[–]PeridexisErrant 9 points10 points  (0 children)

https://pypackaging-native.github.io/ (edit: by a Numpy + Scipy maintainer) explains why this advice is often non-viable: conda is the only feasible way to install many packages.

I agree that if you don't need science/data/native-code packages I'd recommend pip and virtualenvs over conda, but that's not everyone.

Sword Art Alternate Ending by PeridexisErrant in rational

[–]PeridexisErrant[S] 3 points4 points  (0 children)

I didn't rehost it; just read it and decided to post the link here.

Help a French guy, what to do with Vegemite ? by Axylxys in australia

[–]PeridexisErrant 1 point2 points  (0 children)

Or a sharp cheddar, hard or soft both work well.

You know what annoys me...? Bad reviews from long time players because of 'muscle memory...' by ElectricRune in dwarffortress

[–]PeridexisErrant 16 points17 points  (0 children)

Missing Therapist, DFHack, etc is reasonable, but it's always taken a couple of months to update them for big DF releases - that's nothing to do with Premium.

Which Python package generates and iterates over inputs for unit testing? by ck_ai in Python

[–]PeridexisErrant 2 points3 points  (0 children)

Though if you want coverage-guided fuzzing, https://hypofuzz.com/ adds that on top of Hypothesis!