News Articles programming

State of the Web: Serverless Functions

Serverless functions (also known as Function as a Service) execute code statelessly on the Cloud. This means that they can do things like scale infinitely and run anywhere. There are many different serverless function providers, like AWS Lambda, Cloudflare Workers, and Vercel. Background of Serverless Functions Google created the first serverless model in their Google […]

How does asynchronous JavaScript work behind the scenes?

Introduction: Before going deep into the core of the JavaScript runtime and how async code tasks are run behind the scenes, letโ€™s get the basics clear. JavaScript is a single-threaded language. This means it has only one call stack and one memory heap. Hence, it can only execute one code at a time. In other […]

Light Out game | Day 12

Today I have made a Light Out Game , Not From the Scratch ๐Ÿ˜… It was an Exercise of the React Course BY Colt Steele. The Game Look Like This ๐Ÿ‘‡ Working When you clicks on any cell it will toggles his neighbouring cells. When all the Cells are off you won the Game. Your […]

Defensive & offensive programming

Defensive programming is a term that many programmers have heard of. It’s related to error handling and having correct programs. For some programs, defensive programming is essential. For others, it may be useful to use here and there. Along with that, there’s also offensive programming. In this article, we’ll start by examining “normal programming”. We’ll […]

Saving Millions of Images Series [Part Four]

Using Cloudflare CDN for your needs While working on this series: “storing one billion images on your floppy disk,” I explored what is going on at the CDN service providers market. And while digging on the web, I figured out that Cloudflare, as one of the most prominent players – recently launched their CDN service, […]

JavaScript Functions Explained – Part 1

Easy to understand example codes, animations (hand made by me). This article and videos is designed for both “Desktop” & “Mobile” users. If you are a visual “mobile” person, the above video is for you. In JavaScript Variables, we learned where&how to stick your Data. But what about the actions that manipulate the Data? We […]

What is an IIFE in Javascript?

IIFE An IIFE is (Immediately Invoked function Expression) that runs as soon it is defined. (function () { var number = Math.random() * 10 console.log(number >= 5) })() It is a design pattern also known as self executing anonymous function and contains two major parts The first is the anonymous function with lexical scope enclosed […]

Deep dive into React codebase [EP2: What package from the repo is the most popular on npm?]

Preface In the previous episode we laid the foundation of our React understanding and now we are ready to continue the journey! Today we’ll find out about other packages, that live in the React monorepo, why they are there, and which package is the most popular on NPM! But before doing that, let’s quickly recall […]

Making Gmail Notification Extensions without logging in: A Step By Step Guide

Blue Bell Gmailโ„ข notification tool I was searching for a simple extension that would allow me to quickly view new e-mails received. I found some of the greatest extensions. But what impressed me the most is their ability to show my Gmail without asking for my password explicitly. Honestly, this was a real shock to […]

java traditional method to remove duplicate String

I just saw a post in dev someone solved same problem using collections in java. so i thought let me try the same problem to solve in traditional way` public class Main { public static void main(String[] args) { String s=”abbvcddgtttt”; char c[]=s.toCharArray(); char cc[]=new char[c.length]; int index=0; char same=’ ‘; for(int i=0;i<c.length;i++) { for(int […]

An Innovative Idea for Holding State in CSS

When it comes to CSS and HTML, application state falls into these categories: cascade state: classes/checkbox state/other dom pseudo state: based on current user interaction animation state: pre-determined series, triggered by cascade and/or pseudo state transition state: easing between the cascade and/or pseudo states when they change These are the building blocks for all UX […]

SQL Basics (Zero to Hero)- Part 01

SQL – Structured Query Language A table is a collection of related data entries and it consists of columns and rows. Eg: SELECT * FROM Customers; –> It will retrieve all records data from customer table. Semicolon is the standard way to separate each SQL statement in database systems that allow more than one SQL […]

Component Communication (Parent to Child & Child to Parent)

Today we will learn one of the most important topic in Angular – how to communicate between two components when they have a parent child relationship. ๐Ÿ”ด Prerequisite ๐Ÿ”ด You need to know (if not please follow the link associated)- ๐Ÿ”ต What is a component in Angular ๐Ÿ”ต How to create a component in Angular […]

Hangman Project | Day 11

Today I have Made and Small React Project ๐Ÿ‘‡ Happy Coding โ˜บ๏ธ Source: DEV Community

Are the codes written/read left to right ?! (a misconception among beginners)

Before we begin, we would like to mention that if you are a professional programmer, this article will most probably be a repeat for you, But if you think you are just starting out, or even as an experienced programmer, you are looking to rethink this concept, reading this article is not a waste. In […]

Remove Duplicate Characters from given string(Java)

Program to print to Remove Duplicate Characters from given string package InterviewPrograms; import java.util.LinkedHashMap; import java.util.Map; import java.util.Set; public class RemoveDuplicateFromString { public static void main(String[] args) { String str = “abbaaca”; char y[] = str.toCharArray(); int size = y.length; Map<Character, Integer> map = new LinkedHashMap<>(); int i = 0; while (i != size) { […]

10 React Projects to Build in 2022 – GitHub

Without wasting your time, here’s a list of cool projects for beginners. Part 1 || Create a Simple App separating the heading component Access the Repo: โœ”๏ธ Part 2 || Create a ContactList App using React Properties Access the Repo: โœ”๏ธ Part 3 || Create an Emojipedia App by Mapping_Data_To_Components Access the Repo: […]

Reverse Each word in a String

Program to Reverse each word in String package InterviewPrograms; import java.util.Scanner; public class ReverseEachWord { // Method 01 public static String revWordsOfString(String str) { // s1.Split the String with whitespace String[] words = str.split(” “); // s2. Using for each loop read each word and reverse it String revstr = “”; for (String w : […]

Sitemap | Terms | Privacy | Cookies | Advertising

Senior Software Developer

Creator of @LzoMedia I am a backend software developer based in London who likes beautiful code and has an adherence to standards & love's open-source.