DEV Community

Nishchal Gautam profile picture

Nishchal Gautam

also checkout my github organization https://github.com/fossapps

All 107 comments

Beware of excess of "best practices"

It doesn't take long to setup branching and ci/cd pipelines, ...

Beware of excess of "best practices"

If the only reason you do branching and tests because of exte...

GraphQL RBAC without JWT Roles

Obviously what I meant here was one shouldn't issue a jwt whi...

GraphQL RBAC without JWT Roles

Jwts aren't issued for a day, it's at most 30 mins, 15 being ...

Mistakes I made while learning Web Development as a beginner

Out of biggest adapter of php, fb learnt its shit so they wen...

Mistakes I made while learning Web Development as a beginner

Same here

GitHub Copilot: My experience after one week usage

I just hope it doesn't learn from bad programmers.

Authentication and Authorisation 101

For jwt, you mentioned, it's either a symmetric key or a asym...

Do you listen to music while coding?

For me, it depends on what kind of work I'm doing, if I'm doi...

Why your website should use dithered images

Did you read full article? He has specifically written its no...

Should I use Linux?

These are the type of responses I absolutely hate, "it's not ...

How long does it take for your test suite to run?

having worked in big companies with about 1.5 hours of comple...

Typescript Without Compilation

I was expecting a browser based compilation step, this post w...

Can the class containing `main` be private?

I'm not sure if I follow, basically your java vm will simply ...

11 Reasons I love Linux, and 1 why I don't

I highly suggest not to use it on a VM though, because the po...

The Ultimate Guide to JWT client side auth (Stop using local storage!!!)

also this: Google will join Safari and Firefox in blocking ...

The Ultimate Guide to JWT client side auth (Stop using local storage!!!)

A few things, I don't agree with: When you say refresh toke...

Can the class containing `main` be private?

Yes, you can make it private, but your JRE (runtime) calls Yo...

11 Reasons I love Linux, and 1 why I don't

To be honest, there are viruses for Linux, but it doesn't aff...

The Ultimate Guide to JWT client side auth (Stop using local storage!!!)

You don't, you don't even need pub key to know when it expire...

The Ultimate Guide to JWT client side auth (Stop using local storage!!!)

Why does your refresh token look like a jwt? Having api call...

Learnt to code, learnt the framework, landed the job - what next?

Look to work under someone, that was the best thing that happ...

Does the `var` keyword affect performance in Java?

TIL: there's a var keyword in Java which does type inference,...

My home internet setup

that's sad, my recommendation would be to set that up with se...

My home internet setup

sorry to hear that, personally never had that issue, I had a ...

Fed up with Git conflicts😤?: Rebase regularly and chill!

me personally, if there's a update thing on PR, I simply run:...

Should I use Linux?

dev.to/cyberhck/os-wars-let-s-sett... TLDR: use what you're m...

Should I use Linux?

Thank you! same experience here, people who think WSL2 is goo...

How to Determine if a String is a Palindrome (in JavaScript)

Less complexity? About performance, you can scale out, you ne...

Vue over React just for the syntaxis? :(

Of course, for some people it's easier to read vue files, no ...

Vue over React just for the syntaxis? :(

What happens when you call a mutation which doesn't exists? W...

Vue over React just for the syntaxis? :(

Thanks for the article, that says exactly what I mean, but ne...

Vue over React just for the syntaxis? :(

You didn't understand what I meant, of course, it's not that,...

Vue over React just for the syntaxis? :(

Of course no doubt about it, if someone doesn't know react no...

Vue over React just for the syntaxis? :(

That's not necessarily a good thing, react scales with number...

Vue over React just for the syntaxis? :(

Vuex is the reason I hated vue, you have mutation, when you c...

Vue over React just for the syntaxis? :(

If you're writing react and view layer isn't separate from bu...

Algorithm Practice: Fizzbuzz problem

don't ever use else, const getText = i => { if (i %...

What is Redux, really? – Part 3

as long as you don't need SSR, it works, but as soon as you w...

High level view and logic separation in React

Personally, I put data in redux, business logic in saga, and ...

TypeScript is slow. What can we do about it?

Try a i7 ssd computer with Linux on it and see if you notice ...

What OS do you use for development?

I used the standard KDE version because I loved the UI

Implementing a Basic Binary Search Tree in JavaScript

Nice use of recursion, I'll give it a try with typescript soo...

Recursion in Javascript

Check my post on my profile, I did quick sort in typescript u...

What's you favorite headless CMS?

I never used one, but when I have a use case I'm giving strap...

What OS do you use for development?

The first time I setup arch, it took me 13 days to get it ful...

What OS do you use for development?

For database, use jetbrains datagrip on Linux systems

What are you glad you no longer use?

Php - > golang - > dotnet core (I'm ashamed even to adm...

GitHub to replace 'master' with 'main' starting next month

My muscle memory types git checkout master, so if I manually ...

Typing practice

I didn't use something like that when I was learning, I did j...

Rejection Hurts

I'd love the rejection emails, the problem is that they don't...

Let's talk about how React is only a view layer

well, IMO, as soon as you use any of the hooks from redux, li...

Let's talk about how React is only a view layer

what I meant is, as soon as you mix ui and data (if you use u...

VS Code Shortcuts That I Would Teach Myself if I Had a Time Machine With Limited Fuel

I use forward and backward button on my mouse

Is linux good enough for everyday programming?

Where did I miss that? author of a comment said "putting them...

Is linux good enough for everyday programming?

Actually, I strongly disagree, ideally I should be able to wo...

Is linux good enough for everyday programming?

Actually re-reading it, yes, I hear it too, I'm sorry about i...

Is linux good enough for everyday programming?

Where have I put someone down? I'm just expressing my thought...

Is linux good enough for everyday programming?

Yeah, and even if I see a carpenter trying to drive a screw w...

Is linux good enough for everyday programming?

How can you talk about expanding horizon when you aren't will...

Is linux good enough for everyday programming?

I don't understand this, for frontend work, I've never had to...

Is linux good enough for everyday programming?

again, you're using wrong tool for the job and blaming a OS f...

Do you use OpenAPI standards or something else ?

I use swashbuckle (which uses swagger, now known as OpenAPI) ...

Is linux good enough for everyday programming?

He wrote about it, I understand, but the question again is: ...

Is linux good enough for everyday programming?

I'm using MX2 and MX3 mouse, I've had no issues, like I said,...

How do you stay motivated with your side projects?

For me, I start by documenting and doing research before I wr...

Is linux good enough for everyday programming?

Author is talking about programming, not designs, so jumping ...

What are the major lessons from the Twitter hack?

not what was your pet's name or something I don't know if ...

How I simplified my import paths in TypeScript

IDEs might get confused with this, if you're using an editor ...

What are the major lessons from the Twitter hack?

support people will need to be able to recover accounts, but ...

If I'm right Github's UI changed just now

Gh started this on beta a while ago since then I'm using it

Why and how I built a platform to help developers find remote jobs.

Wow! The site looks good, decent number of job postings, I ...

Challenge-- Capitalize each word in a string

This is mixing functional, I find it a bit weird, what I'd ...

Stack Overflow is leaking user emails

I don't use gravatar that way, I have a picture url on my d...

Do you merge branches locally or create pull requests for personal projects?

I protect my master branch, unless my ci says that changes ...

My Review of Nginx

You can disagree, in this case of nginx, I like the syntax,...

My Review of Nginx

All the other points are good, but ugly syntax isn't someth...

Should devs unionize?

I was doing some research on this, for same job, the skills...

24 modern ES6 code snippets to solve practical JS problems

These are the worst piece of advice I saw, sorry, I'm just ...

Is “Defensive Programming” actually healthy?

I generally avoid using else, in this case I'd have used sw...

Why I still love Ruby

blog.iron.io/how-we-went-from-30-s... I don't think perfor...

Round Robin implementation in C#

I like this implementation of round robin, it just does one...

"git nah" and more handy Git aliases

Instead of specifying branch name develop, which might get ...

I am making a game, need help!

What the fuck is this guy talking about? Can we not have th...

How do you handle asynchronous requests in ReactJS?

I don't have a running example which you can just clone and...

How do you handle asynchronous requests in ReactJS?

I handle API calls completely differently. First I don't wr...

Why Choose A Public DNS?

Same impression here, I also hated the spelling errors, com...

I rebuilt my portfolio🌻 Now it loads in 1.6s 🎉 Here's how I did

Yes, I do mobile first which loads everywhere, and responsi...

How to organize your Asp.net core Startup file

don't know why I didn't think of this, I had a story to tidy ...

Switching back to my old buddy Sublime Text from VS Code 🤷🏻‍♂️

laughs in intellij

Easy micro-interactions in CSS (Pt1): Hamburger menu icons

My favorite was second one, looks really good, and not a fa...

I want my credit!

You did awesome by leaving, What's the point of doing inte...

100% test coverage: Why or why not?

If you just wrote a test and it put your coverage up to 100...

I want my credit!

Then they're paying indirectly, to train you, as well as th...

Why do great developers love writing tests?

For me, I just find it fun to do so, specially with tdd, it...

I want my credit!

They are paying your salary, whatever you do, belongs to th...

Let's understand QuickSort the easy way

Nice, showing quick sort is really difficult, but they pull...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

Your title suggests to ditch framework and go with web comp...

It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

Dude, framework aren't only about writing components, like ...

New Redux Hooks: A Before And After Comparison. Are They Better?

I don't know where you got that from, like I mentioned befo...

New Redux Hooks: A Before And After Comparison. Are They Better?

To be honest redux hooks sucks, I think they just released fo...

loading...