Skip to main content

Posts

Showing posts matching the search for programming

Linear Programming VS Dynamic Programming

When considering about the difference between Linear Programming (LP) and Dynamic Programming (DP) isn't just about "math vs. code"; it’s about the structure of the decision space . LP is about spatial optimization within fixed boundaries(finding the best arrangement at one point in time within fixed constraints), while DP is about temporal optimization through a sequence of connected choices(finding the best outcome over time by breaking a problem into stages). Image generated with AI Common Equations ⭕ Dynamic Programming (DP):   DP is a general framework used when a problem  has "overlapping subproblems" and an "optimal substructure". It is the standard for sequential decision-making, such as finding the shortest path or managing inventory over time.   ⭕Linear Programming (LP):  LP is a powerful tool for large-scale resource allocation where systems are highly structured. It is widely used in industries for logistics, production planning, and ...

Programming Without and With AI

đź‘€Programming Without AI refers to traditional software development, where a computer program is designed to perform a specific set of tasks based on explicit rules coded by the programmer. Traditional  programming without AI relies on explicit rules and instructions written by humans. Every possible situation has to be anticipated in advance, and the program follows fixed logic to produce results.  In contrast, programming with AI allows systems to learn from data, adapt to new situations, and improve over time . The image below illustrates the fundamentals of AI, showing how it expands from general Artificial Intelligence into Machine Learning, Neural Networks, and Deep Learning , each adding more advanced capabilities. AI Layers Explained This layered structure highlights how modern AI has moved beyond simple rule-based systems into powerful learning models capable of tasks such as image recognition, natural language processing, and autonomous decision-making.  đź‘€ Bef...

Why are APIs so important?

This is a common example which is used to give the introduction to APIs - think of it as a waiter in a restaurant: you (the application) tell the waiter what you want from the kitchen (another application). The waiter (the API) takes your request, communicates it to the kitchen, and then brings the response (your food) back to you. You don't need to know how the kitchen operates, just how to order from the menu. APIs, or Application Programming Interfaces, act as a contract for communication between different software systems. They allow one piece of software (the client) to request services or data from another piece of software (the server or service provider) in a defined and structured way, without needing to know the internal workings of the other system. They are essentially a set of protocols that govern how software applications should interact. Now below I have discussed about the basics of APIs: types(web APIs and other types) and about the components of APIs. API Types A...

.NET Ecosystem Overview - Roadmap

In this blog series we'll discuss about a roadmap to learn .NET framework. There are 10 stages in this roadmap below I have listed the stages which will guide you when learning this framework; Understanding What .NET Really Is The .NET Framework was introduced by Microsoft in 2002 to solve a common problem developers faced at the time: fragmented languages, inconsistent libraries, and unreliable tooling. Microsoft’s goal was to provide a single, consistent platform where developers could build desktop applications, web applications, and services using shared libraries and a unified runtime. As technology evolved, so did .NET. The original .NET Framework was limited to Windows and is now considered legacy. To meet modern needs such as cross-platform development and cloud computing, Microsoft introduced .NET Core, which later evolved into today’s unified .NET (versions 5, 6, and beyond). This modern .NET runs on Windows, Linux, macOS, containers, and even IoT devices. Today, large-sc...