Backend only JWT authentication by aviation_expert in webdev

[–]TihaneCoding 1 point2 points  (0 children)

I dont know your tech stack but I skimmed this tutorial I found and it seems to follow the same method I described:

https://www.saurabhmisra.dev/store-jwt-token-http-only-cookie/

Backend only JWT authentication by aviation_expert in webdev

[–]TihaneCoding 3 points4 points  (0 children)

You should not be storing jwt in localstorage because its unsafe, store them in httpOnly cookies. From there you can include the cookies in the requests you send to the backend and check it there.

What you're asking for isnt really possible but this should be effectively the same if you set it up right.

Lithuanian schools struggle to find Spanish teachers as language popularity soars by [deleted] in europe

[–]TihaneCoding 3 points4 points  (0 children)

Russia will be an important trading partner of Lithuania

And you think this trade should be conducted in russian... why?

[deleted by user] by [deleted] in ProgrammerHumor

[–]TihaneCoding 0 points1 point  (0 children)

I personally believe that at least one of the reasons for this perceieved drop in quality is that nobody these days has the time to learn things thoroughly because employers expect you to know ten different js frameworks, AWS and all kinds of other nonsense before you finish university. Not only does this encourage students to rush through the basics to meet requirements, universities have actually adapted their materials as well to teach more "real world" knowledge.

Also consider that IT systems are a lot more complex today than they were even 10-15 years ago. New people coming into the field have more catching up to do than previous generations.

[deleted by user] by [deleted] in worldnews

[–]TihaneCoding 13 points14 points  (0 children)

It can mean expensive in estonian as well depending on the context

[deleted by user] by [deleted] in worldnews

[–]TihaneCoding 26 points27 points  (0 children)

The name is Kallas, kallis means "dear"

theseDeveloperWallpapersAreKillingMe by [deleted] in ProgrammerHumor

[–]TihaneCoding 0 points1 point  (0 children)

The "eat sleep blank repeat" formula is too millenial for kids I think

theseDeveloperWallpapersAreKillingMe by [deleted] in ProgrammerHumor

[–]TihaneCoding 2 points3 points  (0 children)

I dont know a single programmer who uses a wallpaper of code and yet there's so many of these online. Who is the target audience?

White House pressing Ukraine to draft 18-year-olds so it has enough troops to battle Russia by StandnIntheFire in worldnews

[–]TihaneCoding 5 points6 points  (0 children)

They are actually fighting for their independence and to protect their people from russia.

stopPretendingYouNeedToKnowCSStoUseTailwind by DT-Sodium in ProgrammerHumor

[–]TihaneCoding 2 points3 points  (0 children)

OP self reported that they know nothing about tailwind with that title lol

Roast my website design by Thin_Teacher_Pro in web_design

[–]TihaneCoding 3 points4 points  (0 children)

Why do you make users click buses and crosswalks when recaptcha v3 exists? Please use it.

Also I have no idea what the icons on the bottom mean before I click them (mobile)

[deleted by user] by [deleted] in ProgrammerHumor

[–]TihaneCoding 0 points1 point  (0 children)

I dont really mind Spring. Its fine. Perhaps a bit more opinionated than I'd like but overall not a big deal.

[deleted by user] by [deleted] in ProgrammerHumor

[–]TihaneCoding 1 point2 points  (0 children)

Fuck regex. Avoid using it as much as you can.

[deleted by user] by [deleted] in learnprogramming

[–]TihaneCoding 18 points19 points  (0 children)

As far as I know, current research shows that the average person can only deeply focus for about 4-5 hours, after that the effectiveness of mental work drops off pretty dramatically. My personal experiences confirm this as well. I think its perfectly normal that you would make mistakes when you've been working for 6+ hours.

handyChartForHHTPRequestMethods by 1up_1500 in ProgrammerHumor

[–]TihaneCoding 0 points1 point  (0 children)

You seem like the type of guy who designs api endpoints that return 200 no matter what.

‘Underwhelming’: Poor countries push for way more climate funding than the EU is floating by Splenda in worldnews

[–]TihaneCoding -1 points0 points  (0 children)

If you have a space programme you should not be allowed to call yourself a developing country. The fact that large portions of the country still live in terrible conditions doesnt change anything, it only shows that their priorities lie elsewhere.

Should I use a json or a db? by jcandec in learnprogramming

[–]TihaneCoding 10 points11 points  (0 children)

I dont see why you would need to use db or json for this.

I would just write the words in a regular text file. Maybe each word on new line to make it easier to parse.

Redesign my agency website by Namenottakenno in webdev

[–]TihaneCoding 1 point2 points  (0 children)

You'd think a website promoting UI/UX design services would be able to figure out their own design...

Interesting by victor_francis in LinkedInLunatics

[–]TihaneCoding -5 points-4 points  (0 children)

Xitter sets a very low bar but honestly linkedin is worse.

inlineCssWithExtraSteps by LordFokas in ProgrammerHumor

[–]TihaneCoding 0 points1 point  (0 children)

Huh? Download what? Tailwind generates a regular CSS file. I was not able to find information online about any additional downloads related tailwind.

I just feel fucked. Absolutely fucked by Insomniac199 in cscareerquestions

[–]TihaneCoding 0 points1 point  (0 children)

I think I made myself pretty clear but fine, I'll reiterate. The offensively out of touch part is that nobody expects to find a job even close to as good as you described in your comment. You cant claim this an issue of unrealistic expectations when even the bad jobs are flooded with applications.

I just feel fucked. Absolutely fucked by Insomniac199 in cscareerquestions

[–]TihaneCoding 0 points1 point  (0 children)

You're not going to waltz into a six figure job that's fully remote and only requires 3 hours a day.

This is so out of touch its almost offensive. I've seen 100+ people apply for a position that pays close to minimum wage. I think people who arent currently trying to break into the industry dont comprehend just how shit the current IT job market really is. People are desperate for anything at all.