Skip to main content

Posts

Showing posts from May, 2024

Change based testing in a Yarn-managed monorepo

Change-Based Testing in a Yarn-managed monorepo Change-Based Testing in a Yarn-Based Monorepo In the world of software development, especially when working with large projects, efficiency is key. One approach to manage large codebases effectively is by using a monorepo, where multiple projects are stored in a single repository. Yarn, a popular package manager for JavaScript, provides powerful tools to manage such monorepos. One of the standout features is the ability to run commands across multiple workspaces with precision and efficiency. In this blog post, we'll explore how to leverage Yarn's capabilities for change-based testing, focusing on a specific command: yarn workspaces foreach --since --recursive --topological --exclude root -vv exec eslint src . Understanding the Command Before diving into the details, let's break down what this command does: yarn workspaces foreach : This is the base command to run a specified operation...

Are Code Challenges Useful?

Are Code Challenges Useful? Are Code Challenges Useful to Learn? In the rapidly evolving world of technology, staying relevant and sharpening your programming skills are crucial. One method that has gained popularity among both beginners and seasoned developers is the use of code challenges. But are these challenges genuinely useful for learning, or are they just a trendy distraction? Let's delve into the benefits and potential drawbacks of code challenges to understand their role in the learning process. The Benefits of Code Challenges 1. Reinforcement of Concepts Code challenges are excellent for reinforcing theoretical knowledge. They require you to apply concepts in practical scenarios, helping to cement your understanding. When you solve a problem using loops, data structures, or algorithms, the repetition and application in different contexts make these concepts more intuitive and memorable. 2. Problem-Solving...

Essential Linux Monitoring Tools in 2024

Essential Linux Monitoring Tools in 2024 Essential Linux Monitoring Tools in 2024 In the ever-evolving landscape of IT infrastructure, the role of a system administrator is critical to maintaining the health, performance, and security of Linux servers. With the multitude of monitoring tools available, it's essential to select the right ones to meet your specific needs. This blog explores the essential Linux monitoring tools every sysadmin should consider, categorized into command line, network, system, log, and infrastructure monitoring tools. Command Line Monitoring Tools 1. top/htop top and htop are quintessential for real-time monitoring of system processes. htop offers a more user-friendly and interactive interface compared to top . Real-time process monitoring. CPU, memory, and swap usage. Process management capabilities (kill, renice). 2. iotop iotop is a handy tool for monito...