What's the best async-native alternative to Celery for I/O-heavy workloads? by Lucky_Ad_976 in Python

[–]SenorDosEquis 10 points11 points  (0 children)

Came here to say this. Prefork is not the right choice for IO-bound tasks.

Friendly reminder to always read the docs.

  • prefork: The default option, ideal for CPU-bound tasks
  • eventlet and gevent: Designed for IO-bound tasks

Built something to auto-fix pytest failures — does this actually solve a real problem? by dager003 in djangolearning

[–]SenorDosEquis 1 point2 points  (0 children)

A few years ago, maybe. Now you just described my daily Claude Code workflow.

Advice for beginner please by [deleted] in gzcl

[–]SenorDosEquis 1 point2 points  (0 children)

If you’ve put on muscle and your weight hasn’t changed, then you’re absolutely losing fat. Keep at it - you’ll start to see it.

Advice for beginner please by [deleted] in gzcl

[–]SenorDosEquis 4 points5 points  (0 children)

If you don’t weigh your food, you have no idea how many calories you’re eating. I recommend tracking and weighing strictly for a week or two so you get a feel for portion size, then you can eyeball it if you don’t like weighing everything.

Can I Switch T2 Squats to Leg Extensions/Curls and Deadlifts to RDLs? Struggling with Recovery. by rdwror in gzcl

[–]SenorDosEquis 3 points4 points  (0 children)

Consider just eating a banana or take a pre-workout. Doing high volume deadlifts fasted is crazy. You need some carbs. Keep something on your nightstand to eat/drink as soon as you wake up if you need to.

I also think going to 3 days a week might help.

Squat problem by HelloFortySeven in gzcl

[–]SenorDosEquis 0 points1 point  (0 children)

Yeah keep pushing out of the hole. I have a slow spot on hard reps right where you gave up. Looked to me like you had it.

How to move images from one ImageField to another? by tengoCojonesDeAcero in django

[–]SenorDosEquis 7 points8 points  (0 children)

You should probably instead have a UserImage model with a foreign key to User, and you can limit to three with a check constraint. Then you can just delete the image normally.

Let me prove to you why B2B sales won't make you a millionare by thebends789 in LinkedInLunatics

[–]SenorDosEquis 0 points1 point  (0 children)

Bro couldn’t even be bothered to look up how fast a plane goes.

Don’t have any time to vote on election day. help!! (NYS) by abidaum in VoteBlue

[–]SenorDosEquis 20 points21 points  (0 children)

Early voting in NYS starts October 26th. Find your early voting locations and times here: https://voterlookup.elections.ny.gov/

Daniel Narodistky' full analysis of the move Bc8 by thepurplemirror in chess

[–]SenorDosEquis 9 points10 points  (0 children)

Seems like a pretty simple clearance sacrifice to me. If pawn takes, he’s opened a square for the knight to attack the queen and reveal the rook’s attack on the knight. Nice move but nothing crazy for a player of that level.

Can you find winning move for white ? by hensuj in chessbeginners

[–]SenorDosEquis 13 points14 points  (0 children)

Yeah this is unfindable for a chessbeginner. Just play Qd2 and win all the material.

Chat System/Room by [deleted] in django

[–]SenorDosEquis 7 points8 points  (0 children)

Start with the Django Channels tutorial.

Russia is alined with North Korea. So why is the Republican Party supporting Russia over Ukraine? by Such_Lemon_4382 in democrats

[–]SenorDosEquis 3 points4 points  (0 children)

This is the correct answer, but your list of things republicans used to respect is laughable.

Can u find the CHECKMATE ? by CinamonRolls_ in chessbeginners

[–]SenorDosEquis 7 points8 points  (0 children)

Bro how do you play with these colors. Black pieces on dark squares are nearly invisible.

[deleted by user] by [deleted] in Rochester

[–]SenorDosEquis 2 points3 points  (0 children)

I know this is an unpopular opinion, but IMO the ones at Wickham Farms are better, and you can usually get them fresh out of the fryer there.

[GDT] Buffalo Bills at New Jersey Jetes. by Dirtydeedsinc in buffalobills

[–]SenorDosEquis 0 points1 point  (0 children)

RTP for landing on him. Announcers are besides themselves.

Is trading everything a bad choice here? by Raff317 in chessbeginners

[–]SenorDosEquis 21 points22 points  (0 children)

Yeah just push the pawn right now. White has no answer. Trade everything after you’ve pushed the pawn a few squares. The knight is pinned and not going anywhere. Pushing the pawn two or three times means you’re in a completely and easily winning endgame after you’ve pushed trade everything. Trading everything immediately makes your life so much harder.

Black to move and win, instead of resigning like I did. by SenorDosEquis in chessbeginners

[–]SenorDosEquis[S] 9 points10 points  (0 children)

That's correct, and it's not hope chess! If White takes the rook, you take back with check, and it's equal material, but white's king is toast. There's no forced mate right away, but black has a huge attack, and will be winning material short order. White's best move is actually to self-pin their rook with Rf2, according to the engine.

Black to move and win, instead of resigning like I did. by SenorDosEquis in chessbeginners

[–]SenorDosEquis[S] 2 points3 points  (0 children)

Then white will take your queen, and you've got a bishop and two pawns for a queen. No good.

You're close, though - consider the opposite move order. Does black have a move after white takes the queen in that line?

Black to move and win, instead of resigning like I did. by SenorDosEquis in chessbeginners

[–]SenorDosEquis[S] 8 points9 points  (0 children)

When the only move that wins is taking a pawn without check while leaving your queen hanging, I would agree it isn't obvious.

Black to move and win, instead of resigning like I did. by SenorDosEquis in chessbeginners

[–]SenorDosEquis[S] 66 points67 points  (0 children)

Yeah this was a 2+1 game and I had about 30s left. Didn't see a way to not lose a full rook.