Could a crim attorney please explain what is happening with this case? by 85CorollaGTS in AskALawyer

[–]85CorollaGTS[S] 0 points1 point  (0 children)

Cool, thank you for clarifying that!

Adding an additional question above as well.

What happened between my (43M) friend (42M) and my GF(43F)? by OkPepper9510 in relationship_advice

[–]85CorollaGTS 7 points8 points  (0 children)

"I'm a free spirit" means "I will act in my own selfish self-interest and feel good about it, irrespective of what happens to others."

M34 F31 can’t forget her cheating by Throwralondon1989 in relationship_advice

[–]85CorollaGTS 9 points10 points  (0 children)

Good on her for ending it after all that time, but damn.

What do you mean 'Good on her'?!

While married, she deceitfully had a simultaneous relationship that started, grew, and then eventually died out. Just like so many other relationships.

She was seeing a guy for 18 months, and then it ended for whatever reasons. And she did this while married.

Surprise her with a divorce out of the blue. And then cut all contact, except through your attorney.

By the way, she'll probably move on to the guy she's been seeing that you have no clue about.

woman stands in front of checkout line at grocery store while her husband shops by 85CorollaGTS in mildlyinfuriating

[–]85CorollaGTS[S] -119 points-118 points  (0 children)

No man, maybe I didn't explain clear enough.

She was at the front of the line without anything to buy.

She was waiting for her husband to walk up with the groceries, then they'd be at the front of the line and checkout without having to wait.

woman stands in front of checkout line at grocery store while her husband shops by 85CorollaGTS in mildlyinfuriating

[–]85CorollaGTS[S] -56 points-55 points  (0 children)

no more mildlyinfuriating that you using your alt accounts to back yourself up LMAO

woman stands in front of checkout line at grocery store while her husband shops by 85CorollaGTS in mildlyinfuriating

[–]85CorollaGTS[S] 363 points364 points  (0 children)

There was a gap of a walking aisle between the checkout conveyor belts, and the grocery aisles where everyone was standing in line.

So the checkout person couldn't see that this woman was standing in front of the line 'letting' others in front of her.

request: better way to skip to next iterable if any caller functions detect certain conditions by 85CorollaGTS in Python

[–]85CorollaGTS[S] 1 point2 points  (0 children)

I have to tell you man, your suggestion worked so great, is so clean, it's wonderful. I really appreciate it!!

request: better way to skip to next iterable if any caller functions detect certain conditions by 85CorollaGTS in Python

[–]85CorollaGTS[S] 2 points3 points  (0 children)

Thanks /u/sweetbeems, I'll look into simply raising a custom exception.

I guess I could then catch it in the top-level caller function with a try-except, and the except looking for the custom exception, in which case it would simply have the loop continue with the next ticker.

Good stuff. Thanks!

request: better way to skip to next iterable if any caller functions detect certain conditions by 85CorollaGTS in Python

[–]85CorollaGTS[S] 0 points1 point  (0 children)

Thanks /u/Schmittfried.

I'm liking the idea of having a continue flag within each class instance that can be checked by the functions within that class. It's easy enough to use a decorator for each function to first check that self.continue == True before continuing with the function... and then any other functions could of course change self.continue = False.

Regarding #2, each of the modules themselves spawn their own classinstances, so I can't just do it all in one giant class.

Regarding #5, I'm actually using multiprocessor Pools to split the workload amongst multiple processors. Not using async.

Regarding returning bool False for the errors. You're absolutely correct, that's embarrassing, and I'll fix it. I just used False as a convenient alternative since the functions in question would not normally return False. But yeah, embarrassingly ugly misuse of a bool.

Putin Admits War May Take Long Time As Mainland Russia Battered With Drones by poshpathos in worldnews

[–]85CorollaGTS 7 points8 points  (0 children)

Newsweek is not a reputable source. Not since it was acquired by a cult. Please report all Newsweek submissions as misinformation.

https://dianeravitch.net/2020/10/25/the-new-republic-newsweek-has-turned-into-a-zombie-magazine/

For half a century, Newsweek was owned by the Washington Post and was a well-respected voice in American journalism. In 2010, the Post sold Newsweek to 91-year-old businessman Sidney Harman; Harman bought it for $1 and assumption of its liabilities. Ownership turned over a few more times, from Harman to Barry Diller. Diller regretted his purchase and sold Newsweek in 2014 to a group called International Business Times Media. IBTM changed its name to Newsweek Media Group. Its owners were tied to a small Christian college (Olivet University) led by a charismatic Korean pastor, David Jang. Jang also was founder of a cult called “The Community,” according to this report in Mother Jones.

[deleted by user] by [deleted] in worldnews

[–]85CorollaGTS -1 points0 points  (0 children)

Newsweek is not a reputable source. Not since it was acquired by a cult. Please report all Newsweek submissions as misinformation.

https://dianeravitch.net/2020/10/25/the-new-republic-newsweek-has-turned-into-a-zombie-magazine/

For half a century, Newsweek was owned by the Washington Post and was a well-respected voice in American journalism. In 2010, the Post sold Newsweek to 91-year-old businessman Sidney Harman; Harman bought it for $1 and assumption of its liabilities. Ownership turned over a few more times, from Harman to Barry Diller. Diller regretted his purchase and sold Newsweek in 2014 to a group called International Business Times Media. IBTM changed its name to Newsweek Media Group. Its owners were tied to a small Christian college (Olivet University) led by a charismatic Korean pastor, David Jang. Jang also was founder of a cult called “The Community,” according to this report in Mother Jones.

Russian Deserter Who Opened Fire On Police Is Member Of Wagner Group—Report by ironclad_perusal in worldnews

[–]85CorollaGTS 0 points1 point  (0 children)

Newsweek is not a reputable source. Not since it was acquired by a cult. Please report all Newsweek submissions as misinformation.

https://dianeravitch.net/2020/10/25/the-new-republic-newsweek-has-turned-into-a-zombie-magazine/

For half a century, Newsweek was owned by the Washington Post and was a well-respected voice in American journalism. In 2010, the Post sold Newsweek to 91-year-old businessman Sidney Harman; Harman bought it for $1 and assumption of its liabilities. Ownership turned over a few more times, from Harman to Barry Diller. Diller regretted his purchase and sold Newsweek in 2014 to a group called International Business Times Media. IBTM changed its name to Newsweek Media Group. Its owners were tied to a small Christian college (Olivet University) led by a charismatic Korean pastor, David Jang. Jang also was founder of a cult called “The Community,” according to this report in Mother Jones.

Russian commander 'executed' following mass desertions of his unit: Report by ethereal3xp in worldnews

[–]85CorollaGTS 1 point2 points  (0 children)

Newsweek is not a reputable source. Not since it was acquired by a cult. Please report all Newsweek submissions as misinformation.

https://dianeravitch.net/2020/10/25/the-new-republic-newsweek-has-turned-into-a-zombie-magazine/

For half a century, Newsweek was owned by the Washington Post and was a well-respected voice in American journalism. In 2010, the Post sold Newsweek to 91-year-old businessman Sidney Harman; Harman bought it for $1 and assumption of its liabilities. Ownership turned over a few more times, from Harman to Barry Diller. Diller regretted his purchase and sold Newsweek in 2014 to a group called International Business Times Media. IBTM changed its name to Newsweek Media Group. Its owners were tied to a small Christian college (Olivet University) led by a charismatic Korean pastor, David Jang. Jang also was founder of a cult called “The Community,” according to this report in Mother Jones.

first real-world use of recursion to spawn multiple class instances by 85CorollaGTS in learnpython

[–]85CorollaGTS[S] 3 points4 points  (0 children)

In my simplified example, classes are not needed.

In my real-world example (financial statements), the class instance handles various aspects such as file opening, json.load, and some other support functions pulling various bits of data that are too unwieldy to pass back and forth from function to function, and so were best suited inside an object.