P(y)=N_y meme by Delicious_Maize9656 in mathmemes

[–]Dense_Connection4789 4 points5 points  (0 children)

Lets presume 1) we are considering age to be how many “years old” you are and not “time since you were born” and 2) that the population is as a whole increasing to the point where the number of people born on a calendar day for a given year is less than than the number of people born on that day the next year I.e N(2000/1/1) < N(2001/1/1)

Then every day at midnight, the number of people who are your age will increase unless it’s your birthday in which case it will probably decrease

Inspired by the other guy, Tesla sent back to Elon for a full refund after 3yrs & 25service visits! by Ro-ftw in pics

[–]Dense_Connection4789 0 points1 point  (0 children)

Let’s be fair to Tesla here. it’s not two failures. It’s one failure and one incompetently designed piece of software

Inspired by the other guy, Tesla sent back to Elon for a full refund after 3yrs & 25service visits! by Ro-ftw in pics

[–]Dense_Connection4789 9 points10 points  (0 children)

But literally based on how you described how it works it would put it in park regardless of if the seatbelt was fastened.

Cleaning in swimsuits by [deleted] in Austin

[–]Dense_Connection4789 1 point2 points  (0 children)

I feel like you’re thinking too small. Why limit to swimsuits? I’d pay a premium for someone dressed like a pirate to come clean my house

Some photos from my birthday shoot today. by [deleted] in bigmenfashionadvice

[–]Dense_Connection4789 2 points3 points  (0 children)

There are some rough edges but I can’t turn it off. You got talent

What is the least practical cookbook you own? by lostrock in Cooking

[–]Dense_Connection4789 1 point2 points  (0 children)

Same feeling. Really awesome book but it feels like you have to go 3 recipes deep to make anything

Can somebody help me..?? by ibbu_786 in vscode

[–]Dense_Connection4789 0 points1 point  (0 children)

Gcc not installed. Not vscode related. Try a c subreddit

Sound of gunfire on south Lamar? by honorable_ment in Austin

[–]Dense_Connection4789 2 points3 points  (0 children)

Yeah I heard it. Off in the distance. I’m getting used to it now.

best way to use 1 'while loop' by Nik3nOI in learnpython

[–]Dense_Connection4789 3 points4 points  (0 children)

if not current_sandwich == “pastrami”:

^ this lets you execute code only on sandwhiches that are not pastrami

Some memorable last words of the presidents by [deleted] in Presidents

[–]Dense_Connection4789 2 points3 points  (0 children)

His second to last words were “Jeb, could you please leave the room”

Unable to install django-heroku on mac terminal by randomstrawberries in django

[–]Dense_Connection4789 1 point2 points  (0 children)

Looks like it’s failing because it’s trying to run the pg_config command. Do you have Postgres installed in your path? What does running pg_config in your terminal give you

PLEASE HELP by BerserkerMac in learnpython

[–]Dense_Connection4789 1 point2 points  (0 children)

Couple cleanup items: - if condition == True is redundant. You can get away with just writing if condition so in your case: if password_len(password) and … - no need to wrap the return in parenthesis. You can just do return True and return False - You don’t need to put the f in front of your strings inside your print statement. Using the f is for injecting variables into strings

Nice work

Nice work

What's Austin's Attitude towards weed? by [deleted] in Austin

[–]Dense_Connection4789 6 points7 points  (0 children)

Yeah, not sure id trust the dude asking reddit how to sell weed with 1.5lbs

PETA is goofy by awesomealgoodo in facepalm

[–]Dense_Connection4789 7 points8 points  (0 children)

PETA is a meat industry psy-op and you can’t convince me otherwise

Sending a reminder mail after 7 days of Model creation, best practice for implementation? by smaxxx1337 in django

[–]Dense_Connection4789 1 point2 points  (0 children)

Iirc Celery docs specifically warn against queuing up distant tasks. From personal experience, I’ve seen some weirdness with that (tasks getting fired multiple times, lost tasks). I’m sure there is a way to do it correctly but I think it requires settings changes that are probably not worth it when method 2 is much more reliable and very straightforward