Nepal AI & ML Hub

Nepal AI & ML Hub

Share

12/07/2026

๐Ÿ“˜ Git Interview Preparation โ€“ Question #1 ๐Ÿ’ป

๐ŸŽฏ Interview Question:
What problem does Git solve that ordinary file copying does not?

Many beginners manage projects by creating folders like:
๐Ÿ“ project_v1
๐Ÿ“ project_v2
๐Ÿ“ project_final
๐Ÿ“ project_final_final ๐Ÿ˜…

While this works for small projects, it quickly becomes confusing and inefficient.

โœ… Git solves this by providing Version Control.

With Git, you can:
โœ” Track every change made to your code
โœ” Know what changed, when it changed, and who changed it
โœ” Restore previous versions if something breaks
โœ” Collaborate with multiple developers without overwriting each otherโ€™s work
โœ” Create branches to develop new features safely
โœ” Merge changes efficiently into the main project

๐Ÿ’ก Interview Tip:
A strong answer isnโ€™t just โ€œGit is version control.โ€ Explain why version control mattersโ€”Git provides history, collaboration, traceability, and recovery, which ordinary file copying cannot.

๐Ÿš€ Sample Interview Answer:
โ€œGit solves the problem of version control. Unlike ordinary file copying, Git records every change to a project, tracks who made each change and when, allows developers to compare versions, restore previous states, collaborate using branches and merges, and maintain a reliable history of the entire project.โ€

๐Ÿ“š This is Question #1 in my Git Interview Preparation Series. More interview questions and practical coding content are coming soon!

12/07/2026

๐ŸŒ Networking Tip: Why Your Wi-Fi Shows โ€œConnectedโ€ but Thereโ€™s No Internet ๐Ÿ“ถ

Have you ever noticed this situation?

โœ… Your laptop is still connected to Wi-Fi.
โŒ But suddenly, thereโ€™s no internet access.

Many people immediately blame an IP conflict or think their laptopโ€™s Wi-Fi is broken. However, thatโ€™s not always the real problem.

๐Ÿ’ก In many cases, the issue is actually an Uplink/Backhaul Failure (also called WAN Connectivity Loss).

This happens when:
๐Ÿ”น Your Wi-Fi extender or secondary router loses its connection to the main router or ISP.
๐Ÿ”น Your laptop remains connected to the extender, so Wi-Fi still appears โ€œConnected.โ€
๐Ÿ”น Since the extender no longer has internet from the main router, your laptop cannot access the internet.

Common causes:

โœ” Weak signal between the main router and extender
โœ” Wireless interference
โœ” Router firmware bugs or overload
โœ” ISP connection interruptions
โœ” Faulty Ethernet cable (for wired backhaul)
โœ” Power instability or device overheating

Key takeaway:

Your laptop isnโ€™t the problemโ€”the extender or secondary router has lost its path to the internet.

Understanding how data flows through a network makes troubleshooting much faster and prevents unnecessary configuration changes.

๐Ÿ“š Every networking problem is an opportunity to learn something new. Keep exploring, keep troubleshooting, and keep building your networking skills!

12/07/2026

๐Ÿ Python OOP Challenge โ€“ Car & ElectricCar ๐Ÿš—โšก

Today I explored one of the most important concepts in Python: Object-Oriented Programming (OOP).

In this challenge, I built a Car class and an ElectricCar class to understand how real-world objects can be modeled using Python.

๐Ÿ“š Concepts I practiced:

โœ… Classes & Objects
โœ… Constructors (__init__)
โœ… Encapsulation (Private Attributes)
โœ… Inheritance
โœ… Method Overriding (Polymorphism)
โœ… Class Variables
โœ… Static Methods
โœ… Using super() to inherit from the parent class

This project demonstrates how an ElectricCar inherits from the Car class while overriding the fuel type method to represent battery-powered vehicles. It also uses a private attribute for the car brand, a class variable to count the total number of cars created, and a static method that can be called without creating an object.

๐Ÿ’ก Key takeaway:
OOP helps us write cleaner, reusable, scalable, and more maintainable code. Mastering these concepts is essential for software development, backend engineering, AI applications, and large Python projects.

๐Ÿš€ Challenge for you:
Can you extend this project by adding methods like start_engine(), stop_engine(), calculate_range(), or create new classes such as SportsCar, Truck, or HybridCar? Share your ideas or code in the comments!

Every challenge brings me one step closer to becoming a better Python Developer and AI Engineer.

12/07/2026

๐Ÿ Python Challenge #2 โ€“ Automate Your Development Environment โšก

Why update Python and VS Code manually when Python can do it for you?

In todayโ€™s challenge, I built a simple automation script using Pythonโ€™s subprocess module to update both Python and Visual Studio Code with just a few lines of code.

import subprocess
# Update Python
subprocess.run(["winget", "upgrade", "Python.Python.3"])
# Update VS Code
subprocess.run(["winget", "upgrade", "Microsoft.VisualStudioCode"])

๐Ÿ’ก What I learned:
โœ… Using the subprocess module to execute system commands
โœ… Automating repetitive development tasks
โœ… Leveraging Windows Package Manager (winget) for software updates
โœ… Writing practical Python scripts that save time and improve productivity

Every small automation script is another step toward becoming a better Software Engineer and AI Engineer. The goal isnโ€™t just to write codeโ€”itโ€™s to solve real-world problems efficiently.

๐Ÿš€ Challenge for you:
Can you improve this script by checking whether winget is installed first, handling errors gracefully, and displaying user-friendly success or failure messages? Share your solution in the comments!

11/07/2026

Interview Preparation

Question: What happens internally when you execute a Python program?

11/07/2026

๐Ÿ Mini Project Challenge: Engineering Environment Verification ๐Ÿ’ป

Every great software engineer starts with the basics. Before building advanced applications, itโ€™s important to understand the environment where your code runs.

In this mini project, I created a Python script that displays:
โœ… Python Version
โœ… Operating System
โœ… OS Release
โœ… Current Working Directory

This simple project helped me learn how to use Pythonโ€™s built-in modules:

* sys
* platform
* os

Small projects like this strengthen the fundamentals that every AI Engineer, Software Developer, and Data Scientist needs.

๐Ÿš€ Learning one project at a time on my journey to becoming an AI Engineer.

Want your school to be the top-listed School/college in Kathmandu?
Click here to claim your Sponsored Listing.

Website

Address


Kathmandu