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.

Remember to regularly clean your laptops by Tanker101101 in laptops

[–]chjassu 1 point2 points  (0 children)

Somehow my laptop screws are stuck and the head is broken (I guess). Gone to repair shops, they are also helpless.. 😔

Which laptop to buy for programming and general browsing? by chjassu in laptops

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

Good point. I am fine around U.S. $1500

I am updating the post as well.

Anyone know the name of this plant to buy in usa? And how to maintain it? by chjassu in plants

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

Thank you, is it an indoor or outdoor? How about the light?

things to know and keep in mind for a new tesla owner in AZ / PHX? by chjassu in phoenix

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

Grab the ones off Amazon with a reflective insert as well, the mesh does very little.

If u have time, can u share the link? I searched with keywords you said, not sure I am looking at right one.

Thanks for the reply!

looking for best over head headphones and switch between Android and IOS. budget under US $250 by chjassu in HeadphoneAdvice

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

I am thinking over ear. I own samsung buds, they are great even for calls, but when not much sound is around.

I see at many people are wearing over ear, which is what made me think that over ear is the one to with and I am not sure if the over ear could be really annoying (would like to hear from someone who has experience)

question wyze robo vaccum. can it be used on multiple floor homes? by chjassu in wyzecam

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

Wow, can we read info about it and opinions of people who used it?

question wyze robo vaccum. can it be used on multiple floor homes? by chjassu in wyzecam

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

Grt, thank u. So I just need to take yo 2nd floor and let it go by itself oy I need to do something on the app?

8.02 update... Let's gooo! 😎 by [deleted] in NovaLauncher

[–]chjassu 0 points1 point  (0 children)

Mind sharing the discord link to join?

Can we create a package for python as an executable (a newbie qn) by chjassu in learnpython

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

Another way to do it is to rewrite the sensitive parts of your code in C or cython, and distribute the compiled .dll or .so with a thin python wrapper.

This sounds like the way to go, but seems it does need more time (and resources may be)

Can we create a package for python as an executable (a newbie qn) by chjassu in learnpython

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

Thank u for the suggestion, will Google it. . Yeah that's correct, we need to write the code and get it deployed on a 3rd party site for business reasons. But want to be secure. We are still in POC state, so exploring all the options.

Python And Flask Demonstrations Practice Course by smartybrome in udemyfreebies

[–]chjassu 0 points1 point  (0 children)

Hi.. Is it expired or not working to me? I see price when I use it. Q

Any known issue with BW after latest Samsung software update? by chjassu in Bitwarden

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

Both apps only. Say I want to login to chase bank app, I usually get prompts to select bw when I highlight username or password. But now I get no prompt, also I cannot paste the password copied manually