byby.dev

byby.dev @bybydev

About: random bits from a slow coder

Joined:
Sep 12, 2022

byby.dev
articles - 24 total

Compare two strings ignoring case in JavaScript

Strings are one of the most common data types in JavaScript, used to represent text and characters....

Learn More 14 1May 18 '24

How to check if a variable is list in Python

In Python programming, it is often crucial to determine the type of a variable for proper handling...

Learn More 2 0May 17 '24

How to shuffle an array in JavaScript

When we talk about "shuffling" an array, it means changing the order of the elements within the array...

Learn More 9 0May 16 '24

Converting between strings and numbers in JavaScript

In JavaScript, it's common to need to convert values between strings and numbers, for example when...

Learn More 6 1May 15 '24

Top 9 CSS and JavaScript Tooltip Libraries

Tooltip libraries provide pre-built functionality and components to easily create tooltips, popovers,...

Learn More 19 0May 14 '24

How to take unlimited arguments in JavaScript

Some functions are designed to be very flexible and general-purpose. By allowing an arbitrary number...

Learn More 18 3May 12 '24

Top 10 JavaScript Animation Libraries

Animation in JavaScript has advanced drastically in all directions you can imagine, from animating...

Learn More 266 10May 9 '24

How to parse and format a date in JavaScript

Parsing and formatting dates in JavaScript can be error-prone and require careful consideration of...

Learn More 1 0May 8 '24

Advanced string formatting with f-strings in Python

F-strings (formatted string literals) are a way to embed expressions inside string literals,...

Learn More 17 5May 7 '24

Top 7 Text-to-Image Generative AI Models

Text-to-image generative models are machine learning models that can generate images from natural...

Learn More 31 0May 6 '24

Top 10 SVG Pattern Generators

An SVG pattern generator is a tool that creates unique and customizable patterns using Scalable...

Learn More 108 6May 5 '24

How to remove last character from string in JavaScript

There are many scenarios where you may need to remove the last character from a string. For example,...

Learn More 5 10May 4 '24

Top 3 methods to filter a list in Python

In Python, lists are versatile data structures used to store collections of items. They are mutable,...

Learn More 13 3May 3 '24

What are main() and __name__ in Python?

Technically, Python doesn't require a specific main entry point like some other programming languages...

Learn More 11 0May 2 '24

How to check if a variable is number in Python

Python is a dynamically typed language, meaning that variables can change types during execution....

Learn More 5 0May 1 '24

How to remove elements from array in JavaScript

In JavaScript, there are several ways to remove elements from an array, each with its own advantages...

Learn More 26 4Apr 28 '23

How to slugify a string in JavaScript

A slug is a string that is used to uniquely identify a resource in a URL-friendly way. It is...

Learn More 57 4Apr 22 '23

Top 10 Best Vector Databases & Libraries

Vector database is a type of database that stores data as high-dimensional vectors, which are...

Learn More 26 1Apr 19 '23

Cracking the Frontend Interview

After having a job at your dream company, you often realise that tackling the interview is more...

Learn More 25 1Apr 7 '23

Top React Data Fetching Libraries

Fetching data in React using XMLHttpRequest and Fetch API is fine but require a lot of boilerplate...

Learn More 62 7Apr 1 '23

Type Narrowing vs Type Casting in TypeScript

TypeScript is a superset of JavaScript that adds static types to the dynamic language. One of the...

Learn More 20 2Mar 29 '23

An introduction to AI and ML for web developers

Artificial intelligence (AI) and machine learning (ML) are two of the most exciting and rapidly...

Learn More 20 0Mar 26 '23

How Senior Developers Sabotage Interviews

Coding interviews are a common part of the hiring process for software engineering positions. While...

Learn More 38 21Mar 20 '23

Why Rust has Such a Complex Syntax

Rust has a complex syntax because it is a systems programming language that aims to provide low-level...

Learn More 20 1Mar 20 '23