The WebP Image Format: Generate Smaller and Better-Looking Images

Introduction WebP is an Open Source image format developed by Google that offers the ability to generate smaller images compared to JPG and PNG formats while maintaining high quality. Unlike other formats, WebP supports transparency and animations, making it a versatile option for various types of media. By allowing users to set the quality ratio, WebP provides the flexibility to prioritize either smaller file sizes or better image quality. Overview:...

Things to Avoid in JavaScript (The Bad Parts)

Here is a quick list of things to avoid when writing JavaScript code: Avoid creating a new object by using new Object(). Instead, use the object literal syntax {}. Similarly, when creating arrays, favor [] over new Array(). Avoid unnecessary blocks, unless they are required by statements such as if, switch, loops, or try. Avoid assigning values inside the condition part of if or while statements. Never use loose equality operators == and !...

Thoughts on the Benefits of Maintaining a Small Business

Choosing to keep a small business intentionally has been a conscious decision for me. My goal has always been to have a successful indie business, and for me, success means certain elements: Independence: I never want to have a boss, and I want to live life on my own terms. Flexibility: I don’t want anyone else dictating when and how I work. Maintaining Control: I want to have full control over my business, avoiding external pressures....

Tips and Strategies for Landing Your First Software Engineering Job

In this post, I aim to provide valuable guidance on how to find your first job as a software engineer. Securing that initial role in the tech industry can be challenging, but once you have your foot in the door, it becomes easier to switch jobs and negotiate better salaries. Let’s dive into some tips and strategies to help you land that coveted programming position. Preparing for the Job Application Process Before you start applying to job openings, it’s crucial to adequately prepare yourself....

Tips for Effective Learning

As developers and software engineers, continuous learning is an essential part of our lives. With the ever-evolving technology landscape, it’s crucial to learn new skills and stay up-to-date with the latest trends. In this blog post, we will explore some strategies that can help you learn faster and more effectively. Overcoming Procrastination Procrastination can hinder your ability to learn effectively. It’s important to identify the factors that contribute to your procrastination and find ways to overcome them....

Tips for Improving Productivity as a Developer or Writer

Being productive is a common goal for many developers and writers. People often wonder how others manage to accomplish so much. In my case, I have created multiple free technical ebooks, published a blog post every day for over 400 days, and developed several online courses within just 9 months. While I don’t consider myself naturally productive, I have learned a few valuable strategies that have helped me stay focused and efficient....

Transitioning from No-Code to Some-Code: Embracing Control and Customization

In my recent journey, I found myself exploring something I had never done before: relying on a service to handle a website. As a senior developer, I have always strived to maintain full control over my projects. However, my perspective shifted when I discovered Notion—a platform that intrigued me with its ability to power websites, as I described in this post. In my post, I touched on the idea of hosting the landing page for my new course using Notion....

Triggering a Netlify, Vercel, or Cloudflare Pages Redeploy Using a Link

In this blog post, I’ll share a useful hack that can simplify your life: triggering a redeploy of your site on platforms like Netlify, Vercel, or Cloudflare Pages using just a link. When working with static sites, scheduling posts with future dates can be a bit tricky since they won’t be published until after their designated publishing date has passed. While platforms like WordPress have built-in features for this, static sites require a different approach....

Troubleshooting \"Too Many Redirects\" Error After Setting up SSL/TLS on Laravel Forge and Cloudflare DNS

If you encounter a “Too Many Redirects” error after setting up SSL/TLS on your Laravel Forge site with Cloudflare DNS, there is a simple solution to resolve this issue. Follow the steps below to fix the problem. Login to your Cloudflare account and navigate to the Cloudflare dashboard for your domain. Find the SSL/TLS option in the dashboard menu and click on it. You will see the Encryption Mode section, which is set to “Flexible” by default....

Troubleshooting Immediate Exits of Docker Containers

If you encounter a situation where a Docker container exits immediately after running it with the docker run command, and the container continues to exit whenever you attempt to start it using Docker Desktop, there is likely an issue that needs to be resolved. To identify the root cause of the problem, you can make use of the docker logs command. By running docker logs followed by the container’s name, you can examine the logs and gain insights into the underlying issue....