DEV Community

Andrei Gatej profile picture

Andrei Gatej

404 bio not found

Last 250 comments

09 - Token Creation

Thanks for sharing, I think this is a great series, a lot of ...

Why you are (probably) using the wrong theme

I've been in a similar situation and ended up using the defau...

Control your Monorepo 🗄️

That’s great! I plan to start a new project and the last time...

A Little Closer to Becoming a Full-Stack Developer (or Bald, Probably Bald...)

IMO what's happening is normal, it is part of the process. I...

Control your Monorepo 🗄️

Thanks for sharing, it was a great read! I have one question...

Load Balancing Methods Explained

Thanks for sharing! I have a question. What happens when the...

How does a software developer apprenticeship in Germany look like?

Curiosity-driven learning in self-driven projects. Sounds ...

How to implement WhatsApp like End-to-end encryption?

Sorry for the late reply. No, I just did a quick search to se...

Performant Pagination Technique for SQL databases

Thank you very much!

Performant Pagination Technique for SQL databases

Thanks for sharing, but what would be the approach when the I...

Angular CLI shortcuts for generating components

Thanks for sharing. There is also one that I found really u...

Should we dig deeper into the development tools we use?

Thanks for sharing, I wish I could press the like button more...

How to implement WhatsApp like End-to-end encryption?

I don't think there is a way to solve this with the current a...

How to implement WhatsApp like End-to-end encryption?

Never head of Diffie–Hellman before, thanks for mentioning it...

How to implement WhatsApp like End-to-end encryption?

Thanks for the reply. Referring to the first question, so th...

How to implement WhatsApp like End-to-end encryption?

Thanks for sharing, I found it very helpful! I have a few qu...

Scale from Zero to Millions of Users

Thanks for sharing! It was a great read. I have a couple of ...

My first DevOps job interview Part 2 of 3

Thanks for your input!

My first DevOps job interview Part 2 of 3

Thanks for sharing. I didn't know about devopswithkubernetes,...

Background Music for Coding for Every Taste🎶

For me, the music in the background has to have lyrics. Other...

My first DevOps job interview Part 1 of 3

Thanks for sharing, I found it very helpful. Looking forward ...

10 useful VS Code shortcuts you should know ()

Thanks for sharing! Didn't know about Wrap with Abbreviation,...

The Enterprise DevOps Mindset

Sure! I could say that this journey has been a bit scattered...

The Enterprise DevOps Mindset

I’m at the beginning of my DevOps journey and all I can say i...

TIL: RxJS Observables are unicast and we can multicast them.

As how you might expect, under the hood of these “share*” ope...

TIL: the Git -p flag!

I don't think I can provide much value through an article, co...

TIL: the Git -p flag!

There is also git add -i, very useful most of the times!

Cryptography for programmers 3: Hashes, MACs & JWT

Hello! Thank you very much for these articles, they are very ...

Angular's main advantages and libraries to use

Thanks for sharing! You might want to replace AngularJS with...

Share your portfolio if you want feedback! (CLOSED)

andreigatej.dev Thanks for the opportunity!

Do you really need to merge docker layers ?

Interesting. Thanks for sharing!

I wish I knew this when I was younger...

Thank you for sharing! I'd say I'm too young to give an advi...

Node.js + Angular 11: JWT Authentication & Authorization example

Makes sense. Thank you for sharing!

Node.js + Angular 11: JWT Authentication & Authorization example

Where would that malicious script come from, assuming that th...

Node.js + Angular 11: JWT Authentication & Authorization example

Apart from XSS attacks, which are less likely to happen IMO i...

What tech did you use to build your personal website/portfolio? 2020 Edition!

I built mine, andreigatej.dev, with Gatsby and I could say it...

A Love Letter to Intellectual Rabbit-Holes (pt 2): Angular

Thanks for sharing! I'd recommend checking out indepth.dev,...

Setting Up Width of Images In CSS

Makes sense! Thank you very much

Setting Up Width of Images In CSS

Thanks for sharing! By setting max-width of 100% to an imag...

I landed an awesome new job and started last week!

I'm glad for you! I'm impatiently waiting for a day like that...

How Webpack uses dependency graph to build modules

Thanks for sharing! I think that by using this approach, it'...

I start my new job as a software engineer tomorrow!!

How did it go?

An Answer a Day on StackOverflow

Thanks for sharing and keep up the good work! I’ve learned a...

Do you Read your Reading List?

Still confident that one day I will read(and understand) them...

5 Tips To Work Smart

Thanks for sharing! But how can a thing be urgent, but not i...

A thorough exploration of Angular Forms

Thank you! I wrote other articles on Angular and its ecosyste...

Is Stack Overflow profile relevant in resume?

In my case, it’s one of the strongest points. But it also ref...

Cryptography for programmers 3: Hashes, MACs & JWT

Thanks for such an informative answer! Maybe the public and ...

Cryptography for programmers 3: Hashes, MACs & JWT

Great article, thanks for sharing! AFAIK, one can also use a...

20 YouTube Channels to Follow for Web Developers

Thanks for sharing! I’d also add Fredrik Christenson Husse...

Comparing Data Handling in MySQL and PostgreSQL: the RETURNING clause and CTE's

Got it! Thank you!

Comparing Data Handling in MySQL and PostgreSQL: the RETURNING clause and CTE's

Yes, thank you very much. So with both approaches, only one ...

Comparing Data Handling in MySQL and PostgreSQL: the RETURNING clause and CTE's

Great article, thank you for sharing? I’d be curious to know...

🎉Review 23: Portfolios and Themes (and copies) | #elefDoesCode

Thank you for the review and feedback!

What was your win this week?

I finally finished and deployed my portfolio website: andreig...

HOW TO PUT A ANGULAR APPLICATION TO A DOCKER CONTAINER

I think an improvement as far as the time is concerned would ...

10 YouTube Channels That Make You A Better Developer [2020]

These are my fav channels, can’t recommend them enough: you...

Task queues and why do we need them.

Makes perfect sense! Thank you very much

Task queues and why do we need them.

Thank you for the article! It was a great read. I have a sma...

RxJS code on a deeper level.

Thanks for sharing! I also explored its source code a couple...

What language or tool are you curious about, but have not found the time to use or learn?

Have you considered reading its source code?🤔

🙅‍♂️ Stop trying to learn RxJS

rxjs's fatal flaw in this regard is the Observable's influen...

My First Rust SO Accepted Answer

I’m 90% decided to try Go, as I tend toward web dev and I’m v...

🙅‍♂️ Stop trying to learn RxJS

Could you elaborate on rubico can do it more concisely, more ...

🙅‍♂️ Stop trying to learn RxJS

About one year ago I started learning Angular, that’s when I ...

🙅‍♂️ Stop trying to learn RxJS

Awesome! I’m sure it will be a fun journey. I’d recommend cr...

🙅‍♂️ Stop trying to learn RxJS

I’d say everything. It’s all about linked lists and OOP conce...

🙅‍♂️ Stop trying to learn RxJS

Have you tried reading RxJS’ source code? I bet you’ll learn ...

What do you listen to while coding/designing?

Mostly metal(symphonic, alternative, Nu), as well as old hip-...

Enhancing Nodejs Performance

Awesome! Looking forward. I’m really curious about the AWS p...

My First Rust SO Accepted Answer

Congrats!! Rust seems to be really interesting, I’m (almost...

Senior front end dev here, ask me anything!

Hey, thanks for the opportunity! Do you think Stack Overflow...

Testing npm packages against multiple versions of their peer dependency

Very interesting! Thanks for sharing! I think an alternative...

CSS Flexbox : Creating fixed size Cards

You could try to add: ‘flex-basis: 0; flex-grow: 1’ to each c...

How I Write Marble Tests For RxJS Observables In Angular

You can avoid to explicitly specify the scheduler by running ...

Flexible Caching and Refreshing with RxJS in Angular

Thanks for the article! I think I found a little bug. Or am...

Control flow and Common Control Structures in Go

Great series! Thanks for sharing! I’m a JavaScript dev, but ...

Advanced TypeScript Exercises - Question 7

Good ones! TypeScript Playground

Do you know GRASP? Part 3 - Cohesion and Coupling

Great series! Thank you 👍🏼

Angular Developer Roadmap for 2020 🌈

Thanks for sharing! For more in-depth stuff, I’d recommend...

NgRx Selector Performance

Great article 👍🏼 Thank you!

RxJS: Typing zipWith

Great article! Learned a lot, thank you!

Best Courses / Resources / Tutorials to Learn Typescript & Angular?

Hello! My favorite resource is Angular In Depth. You’ll de...

Template Forms are just as powerful as Reactive Forms

Thanks for the article! Do you want to validate the email...

A thorough exploration of Angular Forms

Thank you for the kind words! multi: true is indeed requir...

Inheritance vs Composition

This was a great article! Thank you for sharing!

What is best source to master Angular in 2021 ?

I’d say that one of the best sources would actually be the ...

Baking Configuration into your Angular App Pie

Great article!

Dynamic Layout parts in Angular

Thanks for sharing! I’m skeptical about libraries, but I d...

Dynamic Layout parts in Angular

No, you’re right. I think there is a way to mitigate this ...

Dynamic Layout parts in Angular

Hi! I’d follow this approach: create a custom injection ...

Day 57 : It was a good day

That’s my favorite song!!😎

How to Improve Your (Junior) Developer Resume Bullets

Thanks for sharing! Do you think contributing to the commu...

NgNotes - Don't ever subscribe!

Interesting approach! One thing that seems a little counte...

How to Become an Angular GDE

I’m very thankful to the Angular community for making me lo...

Best tutorial for Vue to Angular switchers?

I love angular and its ecosystem. It indeed seemed a little...

Best tutorial for Vue to Angular switchers?

Hi! I’ve been in the same situation! Switched to angular an...

Angular State Management Options

Hi! I’m very passionate about angular, even though I have mer...

10 VSCode shortcuts to code faster ✌🏻

In addition to nr 2): you can add ‘:’ after ‘@‘ in order to...

That's why your Angular Interceptor may NOT WORK! 😥 [5 seconds fix]

Hi! I tried to reproduce the problem, but everything seems...

Web Dev Cheat Sheets

I think this might be useful: github.com/mbeaudru/modern-js...

Kill an anoying "invisible" process running in localhost 🔫😒

Being a Linux user, killall node works every time!

What are you excited to learn next?

I can’t wait to find some time to learn ngrx! Now that I g...

What are you excited to learn next?

I started learning Angular in June and it became my favorit...

The meaning of union and intersection types

I think I finally understood it! So it’s typescript’s mag...

The meaning of union and intersection types

This was a great article! Thank you. I’m still not 100% su...

Angular: Build more dynamic components with ngTemplateOutlet 🎭

Also, if you want to project multiple elements under the sa...

CSS Interview Questions Feedback

IMO, it is recommend to use ‘rem’ and that’s because the va...

Error Handling in RxJS — Building an RxJS PubSub

Nice approach! Thanks for sharing. As an alternative, coul...

The magic known as MySQL FULLTEXT index.

HI! Thanks for sharing! Just a small question: after di...

Why Your Angular App Is Not Working: 7 Common Mistakes

I’m not sure it would be accessible in feature modules as y...

Performance tips for VueJS applications

On tip was to use map instead of arrays. It requires more ...

Performance tips for VueJS applications

Interesting. What’s the reason behind this?

Building an enterprise-grade Angular project structure

Very interesting! Do you have a small project or something s...

Why Your Angular App Is Not Working: 7 Common Mistakes

Thank you for the article! Referring to #5, wouldn’t it be...

RxJS Patterns: Efficiency and Performance

Thanks for sharing! RxJS fascinates me, so I always enjoy ...

which tech/language/framework are you thinking of learning next.

I’d like to find some time to explore Angular’s source code...

Must-know Javascript concepts and functionalities

Hi! I will just share my little story. I started learning ...

Using ng-content for Content Projection

You can also avoid unnecessary inserted DOM elements by usi...

JavaScript modules, the good, the bad and the ugly 🧐

Thanks for sharing! Here is a follow-up article about ES M...

Tips to Practice! & Build Projects!! 🚀

Great article! Another thing that turned out well for me i...

CSS Quickies: position

Thank you for this article! Again Imagine the red dot but...

GraphQL: Schema, Resolvers, Type System, Schema Language, and Query Language

Great article! I started learning GraphQL a few days ago ...

Clarifying RxJS Observables under 5 minutes

Promises won't restart when you write multiple then method...

Promise.all (ES2015) vs Promise.allSettled (ES2020). What's changed? 🤔

Thanks for sharing! As far as I know, you can achieve the ...

How To Take Notes on Everything

Thanks for the article! I’d also like to share my way of ta...

Understanding Microtasks and tasks in JS

This article made things clear for me as well!

My React stack for 2019

I’d also recommend trying rxjs! It’s simply awesome!

Boilerplate for Vue.js component on TypeScript

Thanks for sharing! I love working with Vue(as well as with...

Which foreign languages did you study?👨‍🎓

Romanian - native English - advanced(maybe) Italian - int...

Pass all props to children in Vue

Also I didn’t know about what $attrs exactly does, so thank...

Pass all props to children in Vue

You're right. It might not be suitable for this problem. ...

Which is the best practice for node user authentication and session handling?

I think it depends. Each solution has its cons and pros. ...

Pass all props to children in Vue

Thanks for sharing! I suggest taking a look at Vue.observa...

Angular Developer Resume Sample & Template (A/B Tested Word Version)

Wouldn’t it be more recommended to be less specific in a resu...

Don't follow RxJS Best Practices

Also, setting that value to false won’t be enough. You must...

Advanced Vue: Controlling Parent Slots (Case Study)

Interesting problem! I’d use vm.$root.$on and vm.$root.$e...

Prepare for a home assessment interview with React.Js and JavaScript

How did the interview go?

Working on multiple windows in VS Code? Simple trick to increase productivity!

There is also a great extension that could serve the same pur...

Building Chat Web Components with StencilJS and Ionic 4

I’ve been wanting to try StencilJS and Ionic for a while. ...

10 Great Programming Projects to Improve Your Resume and Learn to Program

Nowadays I prefer exploring and eventually contributing to ...

10 Great Programming Projects to Improve Your Resume and Learn to Program

Great list! I did something similar to nr6 and I can tell t...

Git TIP - Why you should not keep a local master branch ?

I was thinking of the same question!

things you should know before a dev interview (part 1 of n)

I’ve been writing sql a lot these days while working on an ...

Welcome Thread - v36

Hi! I’m using Angular 8🤔

Name Three Goals You Have Before The Year Ends?

Perform well at a contest which will take place in a few d...

Docker Containers vs VMs

Great post! I plan on starting learning Docker soon and th...

What motivates you?

Apart from passion, for me it’s a just a dream that I have....

The Best Newsletters to Subscribe to for a Frontend Developer

Thanks for sharing! I'd would also recommend Khalil Stemml...

Why I Moved My Notes to Trello

Interesting idea! I’ve also written a utility that moves ...

Why I Moved My Notes to Trello

I also use Trello for the same purpose as well! My favori...

My Mom wants to learn programming, where would she even begin?

What I think she needs is a curriculum. There are a lot of ...

Resource List - What Twitch streams and YouTube channels for developers do you follow?

Thanks for sharing! I would highly recommend checking out...

8 secrets Vue Developers must know

I’ll give it another try tomorrow and I’ll let you know how...

8 secrets Vue Developers must know

Your snippet. There’s a likelihood of me doing something wr...

Becoming an 18 Year Old Software Developer

Reading this article almost felt like reading certain chapter...

8 secrets Vue Developers must know

Doesn’t seem to work. 🤔

8 secrets Vue Developers must know

Really great tips! Thanks for sharing! Here’s my little ti...

Transpile modern language features with Babel

Thanks for the series! Looking forward to the next post!

Faster way to appendElements in js 👨🏻‍💻

Hi! Yes, I can’t see the initial example either. They might...

Signs of Good Learner. Before a Good Professional, Become a Good Learner

Really enjoyed the article. Thank you!

Am I weird?

I can’t imagine working without listening to music. My favo...

Essential Senior Dev Skill: Solving Problems With Patterns

Even though I’ve read this article from a “junior” dev’s pe...

How to Reverse a Given String in Javascript

Thanks for sharing! Here’s my favorite way to reverse a st...

Vue without View - An Introduction to Renderless Components

Thanks for referring to some great resources! Speaking of...

RxJS and Angular, I'm not feeling it

In my opinion, rxjs is a great tool and has a lot of use ca...

Complex and Dynamic Form Design in Angular (Part 1 - Form Group)

I’ve explored a little bit the repo and I’m wondering what’...

Observable Web Workers, a deep dive into a realistic use case

Really cool article! I never actually tried web workers my...

Angular services without Angular? Thank you Typescript

I really like the fact that you shared a real use case for ...

The Magic of Vue's Dynamic Components For Lists of Data

As far as I know, if you provide a string for the ispropert...

Complex and Dynamic Form Design in Angular (Part 1 - Form Group)

Thanks for sharing! Where would you put those form files?...

Vue without View - An Introduction to Renderless Components

Interesting approach! As far as I know, one way to optimi...

How to Plan and Execute an App Backend?

Looking forward to the article!

Implementing undo-redo with NgRx or Redux

I recently have attempted to implement an undo/redo feature...

Vue's Darkest Day

At end of the day, like any other framework, Vue is just a ...

NodeJs Singleton Injector

Interesting! You can also get a singleton just by exporti...

Faster way to appendElements in js 👨🏻‍💻

I think you can improve the performance even more if you cl...

Reduce Promises memory usage in Node.js

Really interesting problem! Thanks for sharing! I don’t k...

Debounced Aggregated (Buffered) Actions with RxJS 6 or How to stop making your users wait

Very concise and useful! Thanks!

Front-end best practices (featuring Vue.js)

A lot of useful tips! Thank you! A practice that I always ...

Selecting multiple DOM elements with destructuring and map

Great tip! Something I always use when writing vanilla js...

Friday Showcase

I’ve been quite busy the last month, but I plan on continui...

How can I live with my insatiable desire of knowing everything about the web world?

I’m happy to say that I’m in a very similar situation. Th...

Leveling Up Your Terminal/Command-Line Navigation

Thanks for sharing! I would also add: CTRL + SHIFT + T:...

What is your favourite frontend framework or tool?

I’m glad you asked! I started learning Vue because at tha...

What is your favourite frontend framework or tool?

I’ve been using and leaning Angular these days and it has e...

Quitting my first job

Thank you for sharing! Conversely, I started a collaborati...

Angular Pipes: Integrated Unit Testing

Thanks a lot for sharing! Keep it up! In your experience, ...

RxJS learning cliff and developers mental health

I just discovered that you can do state management with onl...

Refactoring old code vs Rewriting everything for long-term?

It will be a true challenge now that it’s been a month sinc...

RxJS learning cliff and developers mental health

I started learning Angular just a few days ago and yesterda...

Having a good night's sleep is very important for programmers

Thanks for bringing out this topic! I’m in the habit of spe...

How do you find all pairs of an integer array whose sum is equal to a given number?

Another solution would be to use a map(or a dictionary in p...

Why Angular inDepth is one-of-a-kind and how I joined the cause

Thank you very much!

Why Angular inDepth is one-of-a-kind and how I joined the cause

Hi! I’m glad I found your article. I would really appreci...

Smarter git checkout with fzf

Hmm, I didn’t take those cases into account. I guess here c...

Smarter git checkout with fzf

Interesting alternative! They way I’ve been dealing with sw...

Why don't you use docker?

I really like the way you explain things! Thanks for sharin...

Music for coding – what do you listen to?

Nah, that’s not my kind. This is something really nice!

My Most Used Git Commands

Thanks for sharing! git stash apply stash@{n} can be repla...

Music for coding – what do you listen to?

I can’t feel comfortable with any other kind of music but h...

What are you looking to accomplish this next week?

I’m going to (at least) implement my first auth system whic...

10 Youtube Channels To Follow As a Junior Web Developer / Designer

Great list! I would also recommend Fredrik Christenson’s ch...

Utilizing machine capability in NodeJS using the cluster module 1

Great article. Thanks! Keep up the good work!

Refactoring old code vs Rewriting everything for long-term?

It is indeed fantastic. Even though I decided not to rewri...

Refactoring old code vs Rewriting everything for long-term?

Thanks! You too!

Where's my inheritance? Understanding the Liskov Substitution Principle

Really enjoyed the article! I like the way you explain thin...

Refactoring old code vs Rewriting everything for long-term?

Thank you for sharing your thoughts! Now I reached a poin...

Refactoring old code vs Rewriting everything for long-term?

Definitely something that's worth being considered. Thank ...

Refactoring old code vs Rewriting everything for long-term?

Thank you! I will definitely follow your advice. I’ve heard ...

Refactoring old code vs Rewriting everything for long-term?

I didn’t think about this alternative. I have already start...

Refactoring old code vs Rewriting everything for long-term?

Thanks for the reply! On second thoughts, a complete rewri...

Neither You nor Your Work Has to be Perfect

In my opinion, perfectionism sometimes stems from your ambi...

Lazy Loading With IntersectionObserver API

Thanks for such a detailed and explanatory answer! It defin...

Are algorithms, complexity & data structures still relevant?

Hi! Thanks for sharing. IMHO, algorithms and data structur...

Lazy Loading With IntersectionObserver API

Hi! Thanks for sharing! As far as I’ve noticed, the numbe...

How creating a solid schedule of study helped me to learn more and effectively.

I subscribe to your idea. My main goal is actually to not w...

Tips to use VSCode more efficiently

A lot of useful stuff! Thanks! Do you have any idea how co...

How creating a solid schedule of study helped me to learn more and effectively.

Thanks for sharing! I don’t think pomodoro technique woul...

Coding tips and tricks... mostly React related 😃

Thank you for sharing!

Vue.js: Sharing data between components with Vue.observable()

Thanks! I’m really glad you found this useful!

My first React Project 😆

Looks nice! Keep up the good work! Once you learn about re...

Which way of centering via Flex do you prefer?

I didn’t know about the second one, but I definitely should...

Vue.js: Sharing data between components with Vue.observable()

Thanks for the feedback!

setTimeout vs setImmediate vs process.nextTick

Thanks for pointing out the difference between them! One thi...

SPAs: Have Your Cache And Eat It Too

Ok. Thanks!

SPAs: Have Your Cache And Eat It Too

It makes sense now. So to make sure that I understood, the ...

SPAs: Have Your Cache And Eat It Too

Thank you for sharing! One thing I didn’t fully understand...

Node gems

Thank you for sharing! I have a suggestion. Whenever you ...

Java Daily Coding Problem #001

If you do, please let me know what the results are! Thanks...

Java Daily Coding Problem #001

I think it depends on how set works under the hood. At fir...

Java Daily Coding Problem #001

I’d use a set and iterate over the list and for each elemen...

Execute Promise-based code in order over an array

Hi! Here is what I meant. I also linked the resource where...

Execute Promise-based code in order over an array

‘How would I use .then() and jump to the next iteration ste...

A Dead simple object validator

I like the idea! But what’s the use case for async/await? ...

Free & Production-Ready UI-Kits for Vue.js

Thank you for sharing!

Real World Developer's Problems: API Versioning

Could you please elaborate on why using a custom request he...

Reaching Out - Worries About my Journey as a Developer so Far

IMHO, you shouldn’t only rely on a mentor. In my world, a m...

Generate a PDF from HTML with puppeteer

The app isn’t hosted (yet), it is all on localhost. I haven...

Productive Git for Developers

Thank you! :)

Generate a PDF from HTML with puppeteer

I've gone through something similar a few days ago... and i...

VS Code settings you should customize

Is there a way to see all these variables in once place? Or...

My first open source project

Thank you!

Solve* all your problems with Promise.allSettled()

As far as I know, there is a way to get a promise resolved ...

Vue during coffee break - using v-model with custom components.

I remember this topic was a hard one to grasp when I first st...

Programming is Hard

This comment made my day even better!

loading...