DEV Community

Akash Kava profile picture

Akash Kava

Author of Web Atoms

Education

BE Computer Engineering

Work

Owner at NeuroSpeech Technologies Pvt Ltd

Last 250 comments

Dear JavaScript, I Hope this Email Finds You Well...

I think you need to see TypeScript without makeup, you will b...

Use an object instead of a switch

Even if it isn’t just mapping you can also use methods in obj...

You don't need classes

Your following statement is in contradiction to everything yo...

You don't need classes

Your example without class is less readable and unless docume...

Stackoverflow won't help me with this

They close all similar questions, search for best JavaScript ...

You DON'T need these to be a web dev

Knowing helps in solving problem. Didn’t some guy said that i...

Is there a suitable equivalent to `Function.caller` in modern JS?

Not possible but you can use symbols to store private data an...

Future Javascript: Javascript Pipeline Operators

Thanks for detailed answer, I do find sequence of functions i...

Future Javascript: Javascript Pipeline Operators

Parsing benefit is very small compared to feature overhead. A...

Future Javascript: Javascript Pipeline Operators

Can anyone explain benefit of this? Except for different synt...

String To Array In One Line : JavaScript

And all of array methods are generic and can be called on str...

Javascript academy #1: Primitive value vs reference value

In the same Stackoverflow link given in the last this is the ...

Javascript academy #1: Primitive value vs reference value

In JavaScript, primitive means immutable, they don’t live on ...

Haskell Quicksort in JavaScript

Quick sort done inefficiently = Bubble Sort

Transaction middleware in ASP.NET Core

Disposing transaction will rollback it anyway, so no need for...

Stop Writing JavaScript Like This

Hmm you are correct, people who built these performance metri...

Angular vs Blazor? A decision aid for web developers in 2022

Microsoft can and will probably abandon Blazor just like Silv...

Stop Writing JavaScript Like This

Android has V8 engine so it performs same as desktop, Safari ...

Stop Writing JavaScript Like This

Is it Android or iPhone?

Stop Writing JavaScript Like This

On mobile, difference is 90%, try it and then see. You are cr...

Stop Writing JavaScript Like This

Do some performance testing of both codes in first example an...

Business models of Free and Open Source software

GPL is open source. Open Source does not mean it is free in t...

Sourcegraph Code Search - The Developers’ Treasure Trove

Allow any public git to be indexed. As long as it is git. We ...

Optimization of .NET applications: a big result of small edits

One more small edit, public static bool IsKindEqual(this S...

Do you use Magic links?

Users like it, specially when they are not very tech savvy.

Do you use Magic links?

Recently we switched away from social accounts (as Google sta...

5 neat JavaScript tips

In which way the word "Reassigning destructured variable" is ...

5 neat JavaScript tips

Try it and show me a working example.

5 neat JavaScript tips

const user = { name: "Akash" }; let { name } = user; name = ...

5 neat JavaScript tips

Destructuring improves speed by accessing members by one time...

Why your website should work without JavaScript.

Yes here is the difference, website is what people expect to ...

Why your website should work without JavaScript.

Again, I think @konung made right point, you must calculate ...

Why your website should work without JavaScript.

I don't think anybody is actively blocking the JavaScript any...

The Shocking Immaturity of JavaScript

Its not problem with JavaScript, it is problem with money !!,...

Can you hack this? #1

It will return false only for NaN, because Number.POSITIVE_IN...

Finally Understanding the Advanced uses of "This" in Javascript

Thanks for clarification, I had assumed that IIFE captured th...

Finally Understanding the Advanced uses of "This" in Javascript

Well I was wrong, I learned that this is even available as ar...

TypeScript and why you should type your JS project

eslint-disable is superior to ESLint, its really difficult to...

TypeScript and why you should type your JS project

ts-ignore is superior to as any

Creating an outlined entry in Xamarin.Forms

GitHub repository for the code mentioned would be of great he...

Looking to learn Xamarin.Forms? Think again.

While I do agree for most of the points, Xamarin Forms is som...

JavaScript Interview Question #17: Sum of Two Empty Arrays

I believe if one has not learnt the basics in college/graduat...

JavaScript Interview Question #17: Sum of Two Empty Arrays

Dev trying to debug an error for couple of hours just because...

4 Takeaways (mistakes) From my First Big Javascript Project

Four take away from other side, I did Vue because it was ve...

Why I don't use Stack Overflow

I had once down vote on confirmed bug, Question was regarding...

Why I don't use Stack Overflow

I stopped using StackOverflow just because of -ve votes on ab...

Stop using the title "Full stack developer"

I honestly thing the real title should be “Full stack Integra...

What is your one most favorite website on the internet❤️?

Google isn’t a website where we find new interesting thing, i...

Best domain for student developer?

How much is Netlify’s own custom domain name mapping cost? I ...

Best domain for student developer?

I think spending on high value domain is the past, today many...

Payments - an unforeseen roadblock

Every year Stripe and other payment providers are adding lot ...

What Amazon Web Services do you use?

S3 and SES are only two non vendor locking services that we u...

React + Typescript === "headache"

Typing has limits in functional programming, TypeScript offer...

Posting YouTube-only articles is hurting the quality in Dev.to

Many articles are actually links to Medium which requires us ...

.Net 5 is PERFECT for DevOps

I am surprised to see no listing of Windows only features, if...

Avoiding Exceptions in ASP.NET Core

Isn't exception itself Railway Oriented Programming? I guess ...

Lack of confidence, need suggestion

What were the questions?

Reverse a string: awful answers only

Recursive reverse. function reverse(s) { if(!s) return...

GitLab joined legalized discrimination. Why does no one talk about this?

It’s not that simple, every software has many dependencies on...

JavaScript does not cache array.length

Well length is stored as a special field on object instead of...

I want to integrate a code editor in my platform

microsoft.github.io/monaco-editor/... I have created my own ...

I want to integrate a code editor in my platform

It’s a basic editor will compilation feature, you can watch a...

I want to integrate a code editor in my platform

Check monaco editor, it is what powers visual studio code and...

Why isn’t mainstream Linux available for mobile?

Oh, so in order to run OS on Pine64, OS has to be Android for...

Why isn’t mainstream Linux available for mobile?

Yes, my problem is other countries will suffer innovation due...

Why isn’t mainstream Linux available for mobile?

Project Sandcastle is interesting but too limited.

Why isn’t mainstream Linux available for mobile?

I guess it is just a moment when one company will release dua...

Why isn’t mainstream Linux available for mobile?

Pine64 is Android distro or is it independent of Android, is ...

Why isn’t mainstream Linux available for mobile?

Majority of developers use Linux and many organizations do us...

Why isn’t mainstream Linux available for mobile?

I think it just lacks community support, once a movement star...

8 Reasons Why Git is so Popular

I think the only reason I liked git was being able to investi...

Why isn’t mainstream Linux available for mobile?

Hmm but would it be that hard to monitor how it operates and ...

Why isn’t mainstream Linux available for mobile?

Wasn’t it same before Linux? And Linux did become successful,...

Why isn’t mainstream Linux available for mobile?

This was also the case with PC, Linux community did develop d...

Why isn’t mainstream Linux available for mobile?

Letting Google handle the rest is a big problem.

Why isn’t mainstream Linux available for mobile?

It will be open source, BSD or some strict license will be fo...

Witch one is batter for building E-Commerce website Asp.net core or Laravel

If you are familiar with C# then ASP.NET Core will be easy. T...

Why isn’t mainstream Linux available for mobile?

Its not only the dev environment that is missing, you can pro...

What extend it is "OK" to be tracked?

Its not that people don’t care, most people do not know that’...

Why isn’t mainstream Linux available for mobile?

Hmmm.. I guess ARM macs will be full locked machine, in which...

Why isn’t mainstream Linux available for mobile?

None for iPhone ?

Why isn’t mainstream Linux available for mobile?

Does it run on iPhone? I checked list of devices, I could'nt ...

How do you keep yourself productive?

Taking mind off of a same language/platform/framework/product...

Why Developers Should Invest in Stocks

Well I don't think Developers earn enough to invest in Stocks...

Apple has banned Fortnite, Epic Games is filing a lawsuit

People don't buy it as a game console, it is a general purpos...

How Azure Application Insights cost our company 4k USD in a couple of weeks

We filtered out all successful "GET" requests (which only too...

Typescript harder than JavaScript?

It seems that about 50% of Javascript people absolutely hate...

Apple has banned Fortnite, Epic Games is filing a lawsuit

Game consoles aren’t general purpose computers, and mobile ph...

Mozilla's layoffs are bad news for developers

Unless mozilla offers extra features for paid products, it is...

Apple has banned Fortnite, Epic Games is filing a lawsuit

I think it is time everyone does the same, 30% pay cut is hig...

Apple Takes Legal Action Against This Small Company’s Pear Logo

"Apple" trademark is owned by company which has nothing to do...

Optimizing complex SQL queries and stored procedures

Two images in this post aren't displaying, see the attached e...

Array Methods That .pop()

This is not correct, myShoppingList['juice'] returns a value...

TypeScript Functional Decorators w/ usecases

At Web Atoms, we are using decorator as follow, Bin...

How SVGs can be dangerous 👿

Yes I agree about copy and paste, it is dangerous. Well scrip...

How SVGs can be dangerous 👿

I don't think svg is dangerous here, because if anyone who ca...

Input Validation: Client-side or Server-side?

Client side validation is only helpful to save roundtrip to s...

The Future of "View Page Source"

Yes it is big pain, Stack Trace without line number is useles...

The Future of "View Page Source"

Better error messages with debug information helps in resolvi...

The Future of "View Page Source"

Source code of Web Assembly will not be available, or it will...

Why is Isomorphic JavaScript not longer talked about?

Another reason being, all business is moving to Apps, before ...

Daily Challenge #273 - Remove Duplicates

Interesting .. I wasn't aware of that.

Should Dictionaries Be Free/Open?

How about an app where users download/contribute and search? ...

Solving "Sum All Odd Fibonacci Numbers" / freeCodeCamp Algorithm Challenges

There is no point in calculating fib of old numbers, you can ...

How does database indexing work?

Same as Table of Index of a book, You look up chapter name an...

Daily Challenge #273 - Remove Duplicates

You are forgetting OLog(n) steps used by IntMap internally, i...

Should Dictionaries Be Free/Open?

Wikipedia is running out of money, displaying donate $5 frequ...

Should Dictionaries Be Free/Open?

If you want it to be free, start one and invite contributors ...

Which Language do you Find the hardest ?

English, it is the only most ambiguous language in the world....

How do you deal with null vs undefined?

I use undefined is a abort in binding, for example in Web Ato...

What is the most challenging thing in Typescript?

The one and only one most challenging thing about TypeScript ...

AWS vs Azure vs Google Cloud

Azure is super simple, but love for Aws and Gcp is biased, mo...

Will Ubuntu 20.04 Steal More Windows Users?

All combination of hardware always forced me to go back to wi...

Advanced TypeScript Exercises - Question 9

TypeScript has endless magic, doesn’t stop to amaze me.

How to cancel a promise in javascript ?

Promise cannot be cancelled, it is the process that returns...

V8Ception | How to implement V8 into your .NET applications.

As per Clear Script authors, github.com/Microsoft/ClearScri...

Getting More Out Of (And Into) Storage With JavaScript

SessionStorage and LocalStorage are synchronous, so not goo...

console.log(9007199254740992 + 1); Surprised by the result?

Well no, because all numbers have definitive limit in every...

Are early-stage startups "dead-by-default" when Coronavirus is causing significant harm to the world’s economy?

This is PAUSE, its not a dead end. This was very much in ...

Oh look, it's another ORM good/bad thread

ORM is not bad, in fact no framework or technology is bad i...

You Can Do it in SQL, Stop Writing Extra Code for it

Try it with 100 developers and let me know if all of them f...

Agency VS Product Company: Which One's Right for You?

It's easier to try new technologies at an agency This is n...

Finally I migrated from Chrome to Edge

Yes I did try Brave, but as mentioned in earlier comments, ...

Finally I migrated from Chrome to Edge

TOR is gray area marketplace, I don't think I want to insta...

Finally I migrated from Chrome to Edge

Yes Opera is good, I tried using it long time back, when th...

Finally I migrated from Chrome to Edge

Firefox is great, but as a secondary testing browser, its j...

Finally I migrated from Chrome to Edge

Yes I did, but I want to store all my cookies and history w...

How (and Why) To Implement a Stack in JavaScript

Doesn't JavaScript already have stack in Array, Array.push ...

WTF? Google Cloud Platform has a Cloud Service that Uses ML to help you find a job. How more meta can you get?

Isn’t it awful instead of awesome? Google cloud knows so mu...

Differences between Release and Debug build [assembler code included]

Well it will still not hit the breakpoint, what I wanted to...

Differences between Release and Debug build [assembler code included]

Did you try same example in release mode by turning off cod...

Why companies only search experts in frameworks and languages?

Because it takes years to master language and/or framework,...

Are you still happy with the decision to use TypeScript?

Defining type is often not an important task, so it leads t...

15 must-know JavaScript array methods in 2020

Try it in JSFiddler, Chrome, it does not work, it is wron...

15 must-know JavaScript array methods in 2020

Last one is wrong, myAwesomeArray.map(arr => arr * 10).f...

JavaScript developer must know these Console methods.

How about console.log("%cWarning message", "font: 2em sans-...

Understanding and Implementing Linked Lists in JavaScript with ES6

Entire DOM is a big nested linked list (graph), navigating ...

TypeScript Basics - A Definitive Guide

Typescript allows you to declare type declarations, in whic...

The 7 Myths of Learning to Code

Myth 1 is real, however one cannot judge without trying, yo...

What's an error message that made you laugh?

Please contact your administrator, I am the Administrator!!

How do you do language translations

In Web Atoms, we use Dependency Injection based on currentl...

Things you may not know about Chrome DevTools

Take screenshots directly from the developer console Wow...

Extending the String Prototype in JavaScript & TypeScript

It is simply bad, because whenever we share the code, we ne...

Why you shouldn't create your own authentication system

Because we don't want authentication to be outsourced to th...

Eliminating Nulls in C# with Functional Programming

Checking for null is simple step, always marshaling Option ...

Is there any 10x developers here?

What is 10x? The Fullstack (one man army)? or Leader of Tea...

Functors and Monads in Javascript

I tried Ramda and I don't see the benefit of writing code d...

Functors and Monads in Javascript

I am not fan of these cool things, problem is implementatio...

Stateful Serverless with Durable Functions

I don't really see point of Azure Functions as consumption ...

Where do the PROs learn ?

PROs explore, and then they share their experience. There i...

IndexedDB: Caching your data on the client side

Not necessary? Nested JSON is not fit for all problems, Rep...

Is apple destroying themselves

Apple chose death spiral many years ago, Walled Garden appr...

IndexedDB: Caching your data on the client side

Async was never problem, but trying to figure out joining, ...

5 easy wins for cleaner Javascript code 🧹

For most part, I am not interested in learning why, I am su...

Why clean code is not the norm?

Its a catch 22, An experienced developer understands Techni...

5 easy wins for cleaner Javascript code 🧹

VSCode with TSLint with auto correction does more than give...

IndexedDB: Caching your data on the client side

It's really pain to work with IndexedDB, WebSQL with Sqlite w...

Is Object-Oriented Programming "Dangerous"?

list.map(mapToWhatever) .filter(onlyBlue) .map(getChildren...

Is Object-Oriented Programming "Dangerous"?

I have explained it here, I found his claims very funny, chea...

Please don't post Paywalled Medium links

Also, no links to any article, I don't think dev.to should ...

TypeScript is a waste of time. Change my mind.

All arguments are applicable to one man army solutions, for...

Github Must Be a Free Platform

Well collaboration does not work easily with own git server...

TypeScript is a waste of time. Change my mind.

Clever marketing trick !! This post is just trying to get a...

Github Must Be a Free Platform

Tomorrow it can be any country, it’s time to get out of Git...

Is this burn out?

It is not burnout, it is common, and its very common that p...

Optimize the hell out of your Javascript programs with Memoization.

I believe the word is called caching and its very old techn...

This is why I hate Typescript

What is there to like?

OOP vs FP

I read author is "Full stack programmer....", which tells m...

Interview question: heap vs stack (C#)

Type is something you can always do typeof(x), you can never ...

Interview question: heap vs stack (C#)

My point is, you cannot use term value type for a field. Fiel...

What are some ways for non-programmers to get started in our industry?

Testing !!! Non tech people test better User interface des...

React Native just got better! The New Javascript Engine is here!

It would be great if it can be used without React, we defin...

Alcohol and developer culture

"Will I be seen as an uncool prude if I don't go out and d...

Interview question: heap vs stack (C#)

The string type deserves a special mention because it's a re...

Understanding Generators in Javascript - Javascript weekly

This is only possible when you have your conditions when yo...

Understanding Generators in Javascript - Javascript weekly

Generators are almost identical to enumerables in C#, the r...

How do you deal with creator burnout as a developer?

The main reason of burn out is, "I know everything, I can d...

Unlimited git repositories

Well that is just a git, what about issues, members and acc...

What Project Are You Working On?

I have built Web Atoms. This was built in 2010 when there w...

Alternatives Web development IDE – after Cloud9 moved to AWS Cloud9

Visual Studio Code remote development service is coming aro...

What If I Want My Website to Last for 100 Years?

I have my doubt that even Mankind itself will live for 100 ...

Improving SQL Query by Adding conditions in Joins

I looked at my query again and I found out that I had an ex...

Improving SQL Query by Adding conditions in Joins

I don't think that was the case, Execution plans for both q...

SPAs are way too much work

SPAs maintain state of Html Page, SSR unnecessary cause ent...

In RMDBS is join table bad for perfomance ?

RDBMS(s) are designed to perform better with joins, there a...

Function.bind.bind does not work in JavaScript

If this in JavaScript would be same as in other language, w...

The dangers of the unibrow(ser)

Firefox is still available, I think Google is becoming next...

Function.bind.bind does not work in JavaScript

Of course, no one would write code in f.bind(x).bind(y) poi...

Function.bind.bind does not work in JavaScript

Doesn't that make it interesting? Nobody writes such thing,...

Function.bind.bind does not work in JavaScript

That is interesting, I can check if prototype is undefined,...

VS Code misses an important WebStorm feature

Can you give me an example with code?

VS Code misses an important WebStorm feature

TSLint does display unused method warning. VS Code grays ...

VS Code misses an important WebStorm feature

I don't think WebStorm can detect unused public method, bas...

A Day, no, not Even an Hour, of Life on Stack Overflow

You can't spend all the time in Stack Overflow, people who ...

How do YOU deal with burnout?

Hmm.. employers must not block YouTube, in medicine studies...

How do YOU deal with burnout?

Lots of funny videos and songs on YouTube to stay away fro...

What should production CSS look like? Share your layout-to-web workflow

I have created Web Atoms Core, which has CSS styling as Jav...

What are your first ever projects that you worked on and what language were they in?

Pascal, it was great start, nice verbose language to begin...

Building a Startup completely in the Open

Is it good thing? Gmail will completely control your users ...

Building a Startup completely in the Open

Why on gmail? Why don’t you develop a mail server extension...

What’s your favorite JS interview question?

What will be output of (() => console.log(this)).bind("d...

What’s your favorite JS interview question?

You are wrong, if you use for(let i instead of for(var i it...

Clarifying GDPR

I don't believe any large-scale CEO will ever go to jail, F...

Clarifying GDPR

So finally, poor people cannot start internet startups anym...

Clarifying GDPR

The biggest problem with "Delete Data", users accidentally ...

How to implement real-time notifications in my web application when i can't afford service like firebase ?

What kind of notifications? Simple data push can be done wi...

What is the hardest thing about learning to code?

I said, 'my employees', so I am not directly managing teams...

How to Combat Information Overload?

Ideally you need a mentor (Jedi Master), and it should be y...

Much needed filterMap in JavaScript

Well we can have an independent function with array being f...

What is the hardest thing about learning to code?

Only if reviewer is smart, otherwise all code is great!!

What is the hardest thing about learning to code?

Yes that’s correct.

What is the hardest thing about learning to code?

You think I haven’t tried all this? It’s just their habit w...

What is the hardest thing about learning to code?

Learning has to be everyday, I can't send them to conferenc...

Fast growing architectures with serverless and .NET Core

Both AWS Lambda and Azure Functions are bad in long run. Th...

What is the hardest thing about learning to code?

Talk to your boss and tell them you need access to internet...

What is the hardest thing about learning to code?

My problem is opposite, my employees don’t spend time to lear...

Much needed filterMap in JavaScript

This way reduce can be used as map as well, nice trick but ...

Much needed filterMap in JavaScript

It is 80% slower, jsperf.com/array-filtermap/2

Much needed filterMap in JavaScript

Yes you got that right !!

How do you name your git branches?

+ master + dev + v2018 + feature1 + root + user1 ...

If async & awaits is used with Task in ASP.NET (C#), is there a need to manually create threads?

Unless you are having ASP.NET requests blocked and users fe...

How can we stop age discrimination in tech?

Nobody throws dollar bills in garbage !! I am sorry for my h...

A big rewrite

If the question did arise for rewrite, it needs rewrite !! ...

Caching Data in frontend

LocalStorage and SessionStorage both are synchronous operat...

If async & awaits is used with Task in ASP.NET (C#), is there a need to manually create threads?

Task is usually a small computation operation. Typically, i...

I dis-agree to all Google's Terms and Policy

Maps -> openstreetmap.org/ Drive -> OwnCloud I hones...

Default Function Parameters (ES6)

getSum(undefined, 2); //3 or getSum(void 0, 2); //3...

Default Function Parameters (ES6)

undefined logically means that you are not specifying the a...

Functional or OOP what's the big difference?

This is exact same comment on different article by me, dev....

Where to Put Response Metadata - Envelope or HTTP Headers?

Status code is useless, back in 80s where error codes were us...

You Can Do it in SQL, Stop Writing Extra Code for it

You can call database wrapper or full ORMs, but it is basic...

You Can Do it in SQL, Stop Writing Extra Code for it

For one man army with knowledge of SQL Injection, your argu...

Where to Put Response Metadata - Envelope or HTTP Headers?

Headers should only be used by underlying protocol implementa...

You Can Do it in SQL, Stop Writing Extra Code for it

Mocking is hard, creating unique instance of DB, seeding it...

You Can Do it in SQL, Stop Writing Extra Code for it

Primary reason not to do SQL was SQL Injection and wrong wa...

loading...