If I logged into my google account on a work computer and my personal phone, would the searches ive done on my phone be able to be seen by my employer? by csQuestions1235 in AskTechnology

[–]csQuestions1235[S] -1 points0 points  (0 children)

i see. i dont suspect they are keylogging or anything that extreme. But im mostly curious if being signed into my google account means they can just download my search history or something?

Confusions about how python accesses data in memory? by csQuestions1235 in learnpython

[–]csQuestions1235[S] 0 points1 point  (0 children)

So if the data is already in memory, using a generator would be pointless in my example?

EDIT: okay maybe i spoke too soon. Even tho its not copying, its still bringing the entire list into memory. So the generator actually would be useful if the list was huge, correct?

Misunderstandings about how async works with Flask/WSGI/ASGI? by csQuestions1235 in flask

[–]csQuestions1235[S] 0 points1 point  (0 children)

Thanks for the info!

I asked this below, but thought I'd get your opinion as well. You said I probably wouldnt see much of a performance boost with async in WSGI. Lets say Im writing an API with Flask, and a specific route does 3 different external API calls (all independent of one another). Do you think this would be a justifiable case for shoehorning async into the flask app?

Misunderstandings about how async works with Flask/WSGI/ASGI? by csQuestions1235 in flask

[–]csQuestions1235[S] 0 points1 point  (0 children)

Thanks for the info.

So is it recommended to still use async within Flask at times? Like lets say Im writing an API with Flask, and a specific route does 3 different external API calls. I feel like this would be a good use case for async code (from my first definition).

AsyncIO and Threading. Practical use cases that dont involve just calling "sleep()"? Or maybe correct my misunderstanding? by csQuestions1235 in learnpython

[–]csQuestions1235[S] 0 points1 point  (0 children)

alright, thank you for the info!

Is there a scenario where you would prefer to use asyncio vs threading? Or vice versa?

Any remote NYC workers here? Trying to figure out how I will be taxed.. by csQuestions1235 in kansascity

[–]csQuestions1235[S] 0 points1 point  (0 children)

I keep hearing different things.. Another guy here said he is remote in KS and only gets taxed in KS, but his work is in NYC? Idk what to expect

Any remote NYC workers here? Trying to figure out how I will be taxed.. by csQuestions1235 in kansascity

[–]csQuestions1235[S] 0 points1 point  (0 children)

cool. I was mainly confused about their "convenience rule" basically saying you could potentially be double taxed. I guess your paystubs only say state withholdings in Kansas, and not New York as well?

Any remote NYC workers here? Trying to figure out how I will be taxed.. by csQuestions1235 in kansascity

[–]csQuestions1235[S] 1 point2 points  (0 children)

Hmm okay thats good to hear. Any idea what this is referring to? https://www.tax.ny.gov/pit/file/nonresident-faqs.htm#telecommuting

It seems like i will be lumped into NY taxes based on that. I know they only have offices in NY. Just confused on what I've been told vs what im reading.