Skip to Content

David Cao

David is a Cloud & DevOps Enthusiast. He has years of experience as a Linux engineer. He had working experience in AMD, EMC. He likes Linux, Python, bash, and more. He is a technical blogger and a Software Engineer. He enjoys sharing his learning and contributing to open-source.

You’ve been using Linux for a while, so you know the basics: ls, cd, cp.But now you’re stepping up your game. You need more. You’re ready to unlock the power of the Linux command line to elevate your workflow—whether it’s programming, system administration, or just being more efficient in your day-to-day tasks. Well, that’s exactly …

Read More about Still Using Old Linux Commands? Discover These New Powerful Command Line Tips!

When you’re working with Linux systems, particularly those using systemd, journalctl is an essential tool for accessing and managing logs. journalctl provides a powerful and flexible way to query logs, troubleshoot issues, and monitor system events. In this guide, we’ll walk through everything you need to know about journalctl—from basic commands to advanced filtering techniques. …

Read More about A Complete Guide to Using journalctl for System Logging in Linux

When working with Red Hat-based systems (like RHEL, CentOS, or Fedora), it’s important to be able to check when the system was rebooted and understand the reasons behind it. System reboots can happen for various reasons such as updates, crashes, manual reboots, or hardware failures. Here’s how you can check the reboot logs on Red …

Read More about 6 ways to Check System Reboot Logs on Linux

When working with databases, one of the most common questions you may find yourself asking is, “How many rows are in this table?” In PostgreSQL, the answer might not be as straightforward as it seems at first glance. Although the SQL command to count rows appears simple, the underlying mechanics and performance implications can be …

Read More about Still Using COUNT(*) to Count Rows? Explore Faster Alternatives!

Managing users in Linux is an essential aspect of system administration. Linux provides a number of commands for creating, deleting, and modifying user accounts. Below is a guide to some basic Linux user management commands that are commonly used: Key Commands for Linux user management 1. Viewing Current Users and Information List all users: To …

Read More about Basic linux commands For user management

PostgreSQL, as one of the most advanced and widely used relational database management systems (RDBMS), offers a range of system views that can be utilized for monitoring and diagnosing database operations. These system views provide insights into the internal state of the database, such as resource usage, query performance, locks, connections, and system activity, making …

Read More about Top 9 PostgreSQL System Views for Better Database Monitoring and Troubleshooting

As a parent, helping your child with math homework can sometimes feel challenging, especially when dealing with complex problems in subjects like geometry. My son, who is currently in 7th grade, recently came across a geometry problem that required finding when two rotating rays become perpendicular to each other. At first, I wasn’t sure how …

Read More about Using AI and HTML Animation to Solve a Geometry Problem: An Interactive Learning Approach

As AI tools continue to make waves in the software development world, many non-technical colleagues—such as product managers (PMs) and designers—are eager to jump on the bandwagon and explore how they can use these tools to write code. With the promise of simplifying the development process, particularly for creating UI components or prototypes, it’s no …

Read More about Managing AI in Software Development: How to Guide Non-Technical Colleagues Who Want to Write Code

The landscape of software engineering is changing, and much of this transformation is driven by Artificial Intelligence (AI). With the rise of tools like GitHub Copilot and other generative AI models, we’ve seen a dramatic increase in how AI is helping engineers. But what does this shift really mean for developers, and how will it …

Read More about How AI-Assisted Coding Will Transform Software Engineering: Hard Truths and Practical Insights

When I decided to learn PostgreSQL, I knew I needed a hands-on approach, especially given the complexities of databases and the need for a solid understanding of SQL. I had some basic knowledge of SQL from working with MySQL and other databases, but PostgreSQL was a different beast. I needed something that could guide me …

Read More about My Experience Learning PostgreSQL with Google NotebookLM