What is Memoization? How and When to Memoize in JavaScript and React
Hi everyone! In this article we will talk about memoization, an optimization technique that can help make heavy computation processes more efficient. We will start by talking about what memoization is and when it’s best to implement it. Later on we will give practical examples for JavaScript and React. Table
An introduction to high-dimensional hyper-parameter tuning
by Thalles Silva An introduction to high-dimensional hyper-parameter tuning Best practices for optimizing ML models If you ever struggled with tuning Machine Learning (ML) models, you are reading the right piece. Hyper-parameter tuning refers to the problem of finding an optimal set of parameter values for a learning algorithm. Usually,
How to optimize your JavaScript apps using Loops
Everyone wants high-performance apps — so in this post, we’ll learn how to achieve that goal. One of the easiest and most neglected things you can do to boost the performance of your JavaScript applications is to learn how to write properly high performing loop statements. The idea of this
How to identify and resolve wasted renders in React
by Nayeem Reza How to identify and resolve wasted renders in React So, recently I was thinking about performance profiling of a react app that I was working on, and suddenly thought to set a few performance metrics. And I did come across that the first thing I need to
How to leverage Docker multi-stage builds to optimize your dockerfiles and images
by Kumar Rishav How to leverage Docker multi-stage builds to optimize your dockerfiles and images Photo by Jose Carbajal [https://unsplash.com/@jocac?utm_source=medium&utm_medium=referral] on Unsplash [https://unsplash.com?utm_source=medium&utm_medium=referral]Multi-stage builds are a new feature requiring Docker 17.05 or higher on the daemon and client. They’re useful in building complex/multi step images while keeping them easy to
Hyperparameter Optimization Techniques to Improve Your Machine Learning Model’s Performance
When working on a machine learning project, you need to follow a series of steps until you reach your goal. One of the steps you have to perform is hyperparameter optimization on your selected model. This task always comes after the model selection process where you choose the model
Minify CSS – CSS Minifying and Compression Explained
Minification is the process of reducing code size to reduce the size of your files. So how does this apply to CSS? Take a look at this code: h1 { color: yellow; } p { color: pink; } And the compressed version of it: h1 {
10 JavaScript Hacks Every Web Developer Should Know
If you optimize your JavaScript code with these hacks, it can help you write cleaner code, save resources, and optimize your programming time. According to RedMonk [https://redmonk.com/sogrady/2020/07/27/language-rankings-6-20/], JavaScript is the most popular programming language. Furthermore, SlashData estimates that around 12.4 million developers [https://www.slashdata.co/free-resources/developer-economics-state-of-the-developer-nation-19th-edition?] use JavaScript, which also includes Coff