coffeewithalex

joined 1 year ago
[–] coffeewithalex 5 points 1 year ago (2 children)

Is this the roaring twenties, from 100 years ago? Did the last 100 years not happen? Did hundreds of million of people suffer in vein and nothing was learned?

[–] coffeewithalex 4 points 1 year ago

I don't know, it seems more like inevitability at this point. Nothing will happen. It's too slow of a process for the majority of people to think that "the time is now". I'm still waking up at night by muscle car drivers revving their engines. Fuel is pouring and making it's way back into the atmosphere and it's just got gonna change.

[–] coffeewithalex 2 points 1 year ago

Turn on my Lelit Kate, go take a shower, weigh 24.2 grams of my locally medium roasted Arabica beans, grind with a finely tuned grind setting (to get 9 bars is pressure), comb a bit and give it around 8 careful taps to get a level fluffy basket. Tamp it hard, with the priority being to stay level. Put a steel mesh on top, drive it in, push the button and wait for 27 seconds as the 2 glasses get a significantly caffeinated and flavorful coffee. Add some whole milk and ice, and serve to me and my wife, with a Belgian waffle or croissant.

[–] coffeewithalex 8 points 1 year ago

This, but, with DatabaseConnection being a singleton, and preventing multiple enter clauses.

You can ensure it's a singleton by modifying how a new object is built, by overriding the new dunder method. If an instance exists, return that, otherwise create a new one.

[–] coffeewithalex 2 points 1 year ago (1 children)

Yes. But. Not sexual nudity. Nudity is fine in itself, but the fact that most people see it as sexually explicit, sexually suggestive, or an actual sexual activity, is the problem. Consciously I am for this, but subconsciously I'd still react to nudity as sexual (as most other people), because I've not yet encountered enough non-sexual nudity to get used to it. It's like going to a beach - at first it's "niiice sexy bodies", but on the second day it's like "meh, people making it hard to get to the water". It's the novelty.

[–] coffeewithalex 26 points 1 year ago (4 children)

Wear whatever the hell you want, right? Screw genders and made up rules around them.

[–] coffeewithalex 0 points 1 year ago

So you know that there's places where you don't exist? It's called everywhere else, but unfortunately I'm stuck with a dishonest person who keeps on spewing fallacies.

[–] coffeewithalex 2 points 1 year ago (2 children)

That can't be achieved due to dependency compatibility. What if you installed y==1.4, and froze it for a while, and then you install x==3.2, and it depends on y==1.5 or later?

pyproject.toml defines dependency restrictions, so it will be in accordance with that, but the lock file will change every time you add/remove dependencies. Naturally.

[–] coffeewithalex 11 points 1 year ago (6 children)

It's worth noting that there are basically just 3 systems worth considering, maybe even just 2.

pip is usually part of the python distribution, so any lightweight project can be finished in 1-5 minutes with pip. It's also quite widespread and the vast majority of publishers (if not all) target pip compatibility.

Poetry is a great project management framework and it deals with dependency management beautifully. If you're doing any data engineering or backend development, for any project that has more than 1 dependency and 200 lines of code, then Poetry is probably the best tool to use. Poetry makes the whole mess with helper tools like pip-tools seem outdated.

Conda is for the crazy world of data science libraries where developers don't bother with compatibility too much. Conda does it for them. And the users of those libraries can benefit from using conda.

I think the big competition is between poetry and pip. Maybe one day poetry will come as part of some Python distributions.

[–] coffeewithalex 1 points 1 year ago

Then your problem is the judicial system, isn't it?

[–] coffeewithalex 0 points 1 year ago (2 children)

So how is the police supposed to stop murderers who threaten to murder them? Care to elaborate your ultimate wisdom?

[–] coffeewithalex 1 points 1 year ago (1 children)

Well it's good that you care. It's the multitude of opinions and open discussion, what makes a democracy work.

Unfortunately we have siloes of opinions, so you're pretty much either trying to yell in an echo chamber or at best, argue with a moderate like me. The moment you're faced with the people leaning right, some of the rhetoric might be scary for them, and they might retract further into their own silo, where more and more extremist views are tolerated.

The key to a functioning society, is moderation in enforcement of law (so that the state continues to be the only one who is able to, and expected to exert force), and understanding of each other so that it remains an open dialog.

I'm originally from a country where society has degraded into 2 irreconcilable camps, and it got to the point where I can't even stand my own parents because their echo chambers had lead them to extreme extremes. And I'm not the only one.

Right now what is paramount is a government that optimizes social well-being (think Finland), and the enforcement of those laws, because everyone from Putin (and the general club of autocrats) to fundamentalist fascists everywhere else, want to destabilize that right now. A prosperous democracy is a threat to all of them. Whether you like it or not, we are in the middle of an ideological war.

view more: ‹ prev next ›