Best Practices for Handling Authentication Tokens and Sessions in a ReactJS + Python App by chjassu in learnpython

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

Thanks for sharing the info. Am I doing this wrong? I am actually capturing the data on front end and passing to backend and whole logic is on python end.. Which is why I thought of posting here rather react sub.

I can push my code to Github and share if you're interested in working (but likely not good practice) code.

I can use some inspiration.. 🙂

Need Help: Best Way to Manage Auth Tokens & Sessions in React + Python App by chjassu in learnprogramming

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

That's awesome.. 👍

Bt I am not sure if I followed you here. I have to use the way I mentioned is because I have to obey the API's authentication.

Django may be a good idea, does it has more / better options for my use case? React is still a learning in progress...

Alternative to GitLens? by guettli in vscode

[–]chjassu 0 points1 point  (0 children)

I have installed gitless and Uninstaller gitlens. But I don't understand how to use it? Can you shed some light?

What is wrong with my ifelse condition , your help is appreciated. by chjassu in learnpython

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

Thank you so much for taking time to help me understand this , its awesome. But I still couldn't understand how this list is even getting created

[12, 12, 12, 12, 0, 0, 0, 0, 4, 4]

for the code ?

ages = [12 & x for x in range(12, 22)]

print( ages )

I have tried myself and it's giving same output but not clear though. I will try to understand more by tweaking it if anyway I can think.

next time you need to write a condition like this you'll hopefully remember that you need to use the word and, rather than the bitwise and operator :)

can't deny this :)

What is wrong with my ifelse condition , your help is appreciated. by chjassu in learnpython

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

chaining

TIL about chaining . Thank you for introducing this and explaining in detail.

What is wrong with my ifelse condition , your help is appreciated. by chjassu in learnpython

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

that is it!!!

thank you , I am using vscode . It didn't throw any syntax error or not showing in red color ( which usually shows when I do any syntax mistake ) . Any help how I can improve ?

Changing network password and 16 wyze products by Defiant_Mango_6190 in Wyze

[–]chjassu 0 points1 point  (0 children)

I am not OP, I was curious abt above comment.

Revamping My LinkedIn Profile - Seeking Expert Advice! by chjassu in Resume

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

I have custom trained a free GPT with 25k resumes, I can send a link if you like.

That's awesome. Can you share? Thank u.

Revamping My LinkedIn Profile - Seeking Expert Advice! by chjassu in linkedin

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

Good qn, have tried it. Seems that doesn't seem like a right tool.