AKP-Hub | Digital Marketing

From Coding to Systems Thinking: What I Realized After Exploring How Software Actually Works

Vibe Coding and Iterative Development

Introduction: When Coding Feels Like Everything

At the beginning, I used to think coding was everything.

Learn languages.
Build projects.
Write more code.

That was the goal.

But as I explored more, things started changing.

The Exploration Phase

I didn’t just stay at coding.

I started asking deeper questions:

  • How does code actually run? (CPUs, compilers)
  • Why do we have CPUs, GPUs, different architectures?
  • How do systems communicate across machines? (Networking)
  • How are large-scale applications structured?
  • How do simulations model real-world behavior? (CFD)
  • How is AI changing development itself?

At first, these felt like completely different topics.

But slowly, a pattern started to appear.

The Realization: Nothing Is Isolated

None of these are separate.

They are all layers of the same system.

A hierarchy.
A chain.
A flow.

Breaking It Down Simply

At the base, everything starts with a human idea.

Sometimes now, even AI helps generate that high-level logic.

That idea becomes code.

That code is translated using compilers or interpreters into machine instructions—binary.

Those instructions are executed by hardware:

  • CPUs
  • GPUs
  • Memory (RAM, cache, storage)

Then systems communicate through:

  • protocols
  • networks
  • distributed architectures

And even something like simulation software:

Tools like CFD engines are still just programs—

executing machine code, solving equations, producing approximations of reality.

Everything Connects

What looks like different domains:

  • software development
  • hardware
  • networking
  • simulation
  • AI

Are actually just different layers of one system.

The Most Important Layer: Thinking

And this is where everything changed for me.

All these layers—
code, hardware, networking, simulation—

are useless without one thing:

Thinking.

The Shift

Earlier, I focused on:

  • learning languages
  • building features
  • writing code

But no one really teaches:

  • understanding systems
  • interpreting requirements
  • thinking through problems
  • designing solutions

Why Projects Actually Fail

Most systems don’t fail at execution.

Not at code.
Not at deployment.

They fail at thinking.

  • wrong assumptions
  • unclear requirements
  • poor system design
  • lack of iteration

That’s where things break.

Coding Is Just the Tip

Coding feels important because it’s visible.

Code is just the surface layer.
Systems are everything underneath.

Developers vs Engineers vs Thinkers

  • Developers write code
  • Engineers understand systems
  • Very few focus on thinking

And thinking is what connects everything.

The Bigger Ecosystem

Beyond code, there are:

  • infrastructure
  • cloud systems
  • drivers
  • data pipelines
  • system architecture

But all of them depend on one thing:

👉 understanding the problem correctly

A Simple Analogy

If building software is like painting:

  • Code = colors
  • CPU = canvas
  • Network = brushes
  • Simulation = visual depth

But without a blueprint,

nothing works.

Conclusion: The Real Skill

The biggest shift for me was this:

From:
“I write code”

To:
“I try to understand systems”

execution builds features
thinking builds systems

And systems are what actually matter.

About Me

I focus on building systems, not just writing code.

My work revolves around:

  • System Design
  • AI-assisted Development
  • Document Automation (NotesForge)
  • Engineering Thinking & Simulations

Explore more:

GitHub:
https://github.com/Ashish-Krishna-Pavan-git

Email:
ashish@akpghub.live

LinkedIn:
Connect on LinkedIn

Written by Ashish Krishna Pavan Gade

Why Most Software Projects Fail (And It’s Not Because of Code)

why software projects fail
Vibe Coding and Iterative Development

Why Most Software Projects Fail (And It’s Not Because of Code)

Introduction: The Wrong Thing We Blame

When a software project fails, the first instinct is predictable.

We blame the code.

“There were bugs.”
“Deployment failed.”
“The system wasn’t stable.”

But here’s something I’ve started realizing while building and observing systems:

Code is rarely the real problem.

Most of the time, code-related issues are visible, fixable, and expected. The real failures happen much earlier—before a single line of code is even written.

Coding Is a Tool. Product Development Is a System

There is a fundamental misunderstanding in how many developers approach building software.

We treat coding as the core activity.

But coding is just execution.

A product is much more than that.

A real system includes:

  • Architecture
  • Business logic
  • User experience
  • Constraints
  • Deployment environment
  • Feedback loops

Code is just one layer inside that system.

You can write perfect code and still build a failed product.

Vibe Coding and Iterative Development

Where Projects Actually Start Failing

From experience and observation, most failures come from a few consistent patterns:

1. Unclear Problem Statement

If the problem itself is not clearly defined, everything built on top of it becomes unstable.

You end up solving:

  • the wrong problem
  • a partial problem
  • or an imagined problem

And no amount of clean code can fix that.

2. Assumptions Instead of Validation

Many systems are built on assumptions like:

“Users will need this feature”
“This workflow makes sense”
“This design is intuitive”

But assumptions without validation lead to misalignment.

A system that works technically can still fail functionally.

3. Overengineering Too Early

Another common mistake:

Trying to build everything upfront.

full architecture
all features
complete scalability

before even knowing if the core idea works.

This leads to:

wasted effort
complexity
delayed feedback

4. Lack of Iteration

This is probably the biggest one.

Many projects follow this pattern:

Plan → Build → Deploy → Hope it works

Plan → Build → Test → Learn → Improve → Repeat

Without iteration, there is no correction.

Without correction, failure is almost guaranteed.

Vibe Coding and Iterative Development

The Perfection Trap

There’s also a mindset issue.

We try to build something “perfect” from the start.

But software doesn’t work that way.

A better approach is:

Build something functional early. Improve it continuously.

Because:

  • 70% solution delivered early
  • is often more valuable than
  • 100% solution delivered too late.

What Actually Works in Real Systems

From practical experience, successful systems tend to follow a few principles:

Small Builds

Break the system into smaller components. Deliver incrementally.

Early Testing

Test assumptions early instead of validating after full development.

Continuous Feedback

Real users reveal real problems.

Iterative Development

Each version improves based on:

  • usage
  • feedback
  • observed failures

The Missing Piece: The User

Another critical factor often ignored:

The user.

You can design:

  • a clean architecture
  • an efficient backend
  • a scalable system

But if the user experience is poor or misaligned:

the product fails anyway.

So system design must include:

  • usability
  • clarity
  • accessibility

Tools vs Products

This is an important distinction.

A Tool

  • solves a direct task
  • has a defined input → output
  • limited scope

A Product

  • solves a broader problem
  • integrates multiple systems
  • adapts to user behavior
  • evolves over time

A tool can be correct and still not be useful.

A product must be useful first.

Why Thinking Matters More Than Code

Bad code can be fixed.
Bad thinking breaks everything.

Because thinking defines:

  • what to build
  • why to build
  • how to structure it
  • how it evolves

Code just implements those decisions.

Real-World Perspective

In both:

Service-based systems
business logic comes from client requirements

Product-based systems
direction comes from user experience and feedback

In both cases:

  • thinking → defines success
  • coding → executes it

Conclusion: Systems Are Built, Not Written

Software is not just about writing code.

It’s about building systems that:

  • solve real problems
  • adapt over time
  • improve through iteration

The shift every developer eventually needs to make is this:

From:
“I write code”

To:
“I design systems”

Explore & Connect

Written by Ashish Krishna Pavan Gade

Simulations Are Not Reality: What Engineers Often Miss in CFD and Numerical Analysis

CFD simulation basics
Vibe Coding and Iterative Development

Simulations Are Not Reality: What Engineers Often Miss

Alright, so this part of the blog is a bit different.

I actually spoke this out loud and converted it to text.

Because I wanted this to feel natural — like I’m explaining it, not just writing it.

Simulations Are Not Reality

Let’s start with a simple thought.

Simulations are not reality.

At best, they are approximations.

In my view, a simulation is just:

A mathematical representation of a real-world scenario.

But to make that happen, we introduce a lot of things:

  • mesh
  • solvers
  • boundary conditions
  • assumptions

And this is where things get interesting.

Because all of these are not real.

They are constructed representations.

Are we simulating reality…
or simulating our assumptions about reality?

Why Do We Even Use Simulations?

If simulations are not exact, then why use them?

Simple.

Because real-world experiments are:

  • expensive
  • time-consuming
  • sometimes dangerous

Take an example:

  • testing a high-speed car
  • analyzing airflow on a drone
  • studying pressure on structures

Doing this physically costs a lot.

Simulation allows us to:

  • test faster
  • reduce cost
  • experiment safely
Vibe Coding and Iterative Development

The Hidden Dependency: Assumptions

Every simulation depends on three critical things:

  • the model
  • the mesh
  • the boundary conditions

If any of these are wrong, the result will also be wrong.

For example:

  • incorrect velocity input
  • wrong pressure conditions
  • unrealistic domain size

Even small mistakes can lead to completely different outcomes.

A simulation is only as good as the assumptions behind it.

Mesh Is Not Reality

Mesh is not physical.

It is a computational structure.

We take a large domain and divide it into thousands or millions of small cells.

Because computers cannot solve continuous space directly.

  • better accuracy → smaller mesh
  • faster results → larger mesh

This is always a trade-off.

Solvers Don’t “Understand” Physics

Solvers don’t actually “understand” physics.

They just apply equations.

  • continuity equations
  • Navier–Stokes equations

They take inputs and compute outputs.

There is no understanding.
Only calculation.
Vibe Coding and Iterative Development

Iterations and Convergence

When we run simulations, we use iterations.

More iterations usually mean better results.

Convergence does not always mean correctness.

You can get a converged solution that is completely wrong.

Because the setup itself might be incorrect.

Safety Margins and Practical Engineering

  • 10% increase
  • 15% safety buffer

Why Simulations Still Matter

  • understand system behavior
  • test multiple scenarios quickly
  • improve designs before manufacturing

The Real Insight

The power of simulation is not in the software.
It is in the person using it.

Final Thought

Simulations are approximations built on assumptions.

It’s about understanding what you are solving.

References

Explore & Connect

Written by Ashish Krishna Pavan Gade

From Tool to Product: Rebuilding a Document Automation System with NotesForge

Vibe Coding and Iterative Development

From Tool to Product: Rebuilding a Document Automation System with NotesForge

The Evolution of an Idea into a System

The idea of automating documentation didn’t start as a product.

It started as a small experiment.

I had been using Generative AI before — building things like a city dashboard and prediction systems — so naturally, I explored the same approach here.

Soon, it became a simple Streamlit-powered application.

It worked.

And honestly, I was happy with it.

That’s when I got introduced to something people now call “vibe coding.”

The Lure of Vibe Coding

At the start, it was fun.

I enjoyed building small applications and scripts using AI.

But something felt different.

Not exciting — different.

Because earlier, when I used AI, I still understood what was happening:

  • Python
  • Streamlit
  • Logic
Building something without really knowing how it works is powerful, but also dangerous.

Vibe coding was the idea of building something without fully understanding the system behind it.

That part was uncomfortable.

Not because it was new.

But because it removed the need to understand.

The Dopamine Side of Vibe Coding

Let’s be real.

The dopamine is real.

  • You type something → it builds
  • You think of a feature → it appears
  • You imagine a workflow → it executes

It feels powerful.

Especially for beginners or even intermediate developers.

You feel like you're creating something meaningful.

Blind usage definitely reduces depth of thinking.

You slowly stop reasoning and start depending on generation.

That is the risk.

document automation
Vibe Coding and Iterative Development

Learning to Think Beyond Generated Code

The Rehabilitation from Vibe Coding

Instead of stopping AI usage, I changed how I used it.

Here’s what actually helped:

  • Improving logical thinking
  • Learning prompt engineering
  • Understanding product requirements
  • Focusing on system design
You do not always need to master every language deeply, but you must understand what your system is doing.

A Simple Way to Think About It

Imagine a team building a product in two weeks.

Instead of everyone just coding randomly:

  • Some focus on development
  • Some review and validate
  • Some manage system integrity

Even if a few developers use AI to accelerate coding, others ensure structure and correctness.

It is not about replacing thinking.

It is about distributing effort smarter.

When Should You Use Vibe Coding?

Honestly — anyone can use it.

But with conditions:

  • Understand privacy and data integrity
  • Think about system design
  • Do not skip reasoning

When used correctly, it helps in:

  • Faster prototyping
  • Prompt engineering skills
  • System-level thinking
  • Innovation
  • Resource optimization
A working tool is not the same thing as a finished product.

The Real Shift: Tool vs Product

At some point, I realized something important:

I didn’t build a product.

I built a tool.

A tool works.

A product feels right to use.

That realization changed everything.

Vibe Coding and Iterative Development

Architecture, Scaling, and Final Lessons

The Anatomy of NotesForge

The system evolved into a structured architecture:

Workspace Layer

  • Where users interact
  • Structured editing
  • Workflow controls

Processing Layer

  • DOCX and formatting engine
  • Validation and transformation

Output Layer

  • Document preview
  • Export system

This separation turned a script into a system.

Multi-Environment Design

  • Web (browser-based)
  • Windows (local runtime)
  • Linux systems
  • Docker environments

Each environment has different capabilities.

Instead of forcing everything to work everywhere, the system adapts based on the runtime environment.

Runtime-Aware Behavior

  • PDF processing is disabled in browser environments
  • Fully enabled in local and Docker setups

This keeps the system stable and predictable.

Deployment Architecture

  • Frontend → React hosted on Vercel
  • Backend → Python hosted on Render

Conclusion

  • Vibe coding is powerful, but only with control
  • A working tool is not a finished product
  • Systems must be designed, not just generated
  • AI accelerates building, but not thinking
  • Real engineering is about structure and experience

References

Written by Ashish Krishna Pavan Gade

CFD Analysis of a Quadcopter Drone Using ANSYS Fluent

Vibe Coding and Iterative Development

CFD Analysis of a Drone Using ANSYS Fluent

Understanding Airflow Around a Quadcopter

Simulation has become an essential tool in modern engineering. Before building physical prototypes, engineers often use Computational Fluid Dynamics (CFD) to understand how air flows around a design.

In this project, I performed a CFD analysis of a quadcopter drone model using ANSYS Fluent to visualize airflow behavior and velocity distribution around the structure.

The goal was to understand:

  • airflow interaction with drone geometry
  • velocity distribution around rotors and body
  • pressure variation across the structure

This simulation demonstrates how CFD tools help engineers analyze aerodynamic behavior in early design stages.

Step 1: Importing the Drone Geometry

A quadcopter model was downloaded from GrabCAD and imported into ANSYS Geometry as a STEP file.

The STEP format preserves geometry accurately across CAD platforms and is widely used in simulation workflows.

After importing the geometry, the drone structure became the base model for the simulation. However, CFD simulations require both the object and the surrounding fluid domain.

Step 2: Creating the Fluid Domain

To simulate airflow, a bounding air volume was created around the drone.

  • Create a large box representing the air domain
  • Subtract the drone geometry using Boolean operations

This produces the region where airflow will be simulated. The domain must be large enough to avoid boundary effects influencing results.

Step 3: Meshing the Model

Meshing divides the simulation space into thousands or millions of computational cells. Each cell is where the governing fluid flow equations are solved.

Important steps included:

  • generating surface mesh around the drone
  • refining mesh near complex geometry
  • creating named selections

Key simulation regions:

  • inlet
  • outlet
  • drone body
  • rotor regions
  • fluid domain

A high-quality mesh directly affects simulation accuracy and stability.

Step 4: Setting Up the CFD Simulation

The model was then imported into ANSYS Fluent.

Flow Model

k–ω SST (Shear Stress Transport)

This turbulence model is widely used in aerodynamic simulations because it accurately predicts boundary layer behavior and flow separation.

Material Definition

Fluid: Air

Boundary Conditions

Velocity Inlet

Velocity = 5 m/s

Represents incoming airflow toward the drone.

Pressure Outlet

Allows airflow to exit while maintaining stable pressure conditions.

Wall Conditions

Drone surfaces were treated as no-slip walls, meaning fluid velocity at the surface equals zero.

Step 5: Solver Initialization

Initialization sets starting values for:

  • velocity
  • pressure
  • turbulence variables

The solver was run for:

300 – 600 iterations

During these iterations the solution converges toward a stable flow field.

Step 6: Flow Visualization

Velocity Magnitude Contours

Velocity contour plots reveal airflow speed around the drone.

  • High velocity → red / yellow
  • Low velocity → blue / green

These contours show acceleration around curved surfaces and wake regions behind the drone.

Pathline Visualization

Pathlines illustrate how fluid particles move through the flow field.

  • flow direction
  • turbulence regions
  • wake formation

CFD Workflow Overview

CAD Model ↓ Fluid Domain Creation ↓ Mesh Generation ↓ ANSYS Fluent Solver Setup ↓ Iterations / Convergence ↓ Flow Visualization

Why CFD Is Important in Drone Design

  • improves aerodynamic efficiency
  • reduces drag
  • optimizes propeller placement
  • improves stability and flight time
  • reduces noise generation

CFD allows engineers to evaluate designs digitally before physical prototypes are built.

Conclusion

Computational Fluid Dynamics has become a critical tool in modern engineering design.

By simulating airflow around a quadcopter drone, engineers can visualize velocity patterns, understand aerodynamic interactions, and optimize performance before manufacturing prototypes.

Even simplified simulations provide valuable insights into fluid behavior around real-world designs.

References

  • ANSYS Fluent Documentation
  • Introduction to CFD – Versteeg & Malalasekera
  • ANSYS Learning Resources

Compilers vs Interpreters: How Code Becomes CPU Instructions

Vibe Coding and Iterative Development

Translating Human Abstraction Into Machine Execution

Modern programming languages allow developers to write expressive and readable code.

if (x > 5) { run(); } print("Hello World")

However, the CPU cannot understand any of this. Processors only execute machine instructions represented as electrical signals and binary numbers.

Human Readable Code
↓
Machine Level Execution

Bridging this gap is the job of compilers and interpreters.

The Hardware Reality: CPUs Execute Voltages, Not Logic

Although we think of computers executing logical operations, the hardware itself is simply processing electrical signals across billions of transistors.

A CPU does not understand:

  • variables
  • functions
  • objects
  • loops

Instead, it understands instructions such as:

MOV AX, 61h ADD R1, R2 JMP 0x400200

Encoded in machine code:

10110000 01100001

Source Code Is a Human Interface

Programming languages exist to make complex logic easier for humans to express.

  • C – system-level programming
  • C++ – high-performance applications
  • Python – scripting and automation

These are human abstractions. CPUs cannot run them directly.

Ahead-of-Time Compilation (AOT)

Source Code (.c)
↓
Lexer / Parser
↓
Abstract Syntax Tree (AST)
↓
Optimizer
↓
Assembly Code
↓
Machine Code

Once compiled, the program becomes a standalone executable.

program.exe program.out

Why Compiled Languages Are Fast

Advantages

  • maximum execution speed
  • efficient memory usage
  • direct hardware interaction

Disadvantages

  • longer build time
  • platform dependency

Interpreted Languages: On-the-Fly Translation

Source Code
↓
Interpreter
↓
Translate Instruction
↓
Execute on CPU

This translation happens continuously during runtime.

Python's Virtual Machine Model

Python Source (.py)
↓
Compiler
↓
Bytecode (.pyc)
↓
Python Virtual Machine
↓
CPU Execution

The Execution Trade-Off

Compiled Languages • Very fast execution • Efficient memory usage Interpreted Languages • Slower runtime • Flexible development

JIT Compilation: Bridging the Gap

Source Code
↓
Bytecode Interpreter
↓
Profiler detects hot paths
↓
JIT Compiler
↓
Native Machine Code

Languages using JIT include:

  • Java
  • JavaScript (V8 engine)
  • .NET
  • PyPy

The Translation Layer

Human Code
↓
Compiler / Interpreter
↓
Operating System
↓
CPU Instructions
↓
Electrical Signals

Bare Metal Execution

.text → executable instructions .data → initialized variables .bss → uninitialized variables

The operating system loads these sections into memory and the CPU executes them directly from RAM.

Why This Matters for Developers

  • write more efficient code
  • understand performance bottlenecks
  • optimize memory usage
  • debug system-level issues

This knowledge is especially useful in:

  • operating systems
  • high-performance computing
  • embedded systems
  • cybersecurity
  • compiler development

Conclusion

Compilers and interpreters form the bridge between human creativity and machine execution.

Programming languages allow developers to express complex ideas in readable forms, but the hardware ultimately executes binary instructions.

Understanding this translation layer reveals how deeply interconnected computing systems are—from source code to electrical signals inside processors.

References

What Happens When You Type a URL in Your Browser

Vibe Coding and Iterative Development

What Happens When You Type a URL in Your Browser

At first glance, loading a website seems trivial. You open your browser, type something like:

https://www.example.com/index.html

Press Enter. And within milliseconds the page appears.

But under the hood, this single action triggers a complex chain of networking protocols, cryptographic handshakes, routing systems, and rendering engines working together.

Loading a website involves several layers of the internet stack:

  • DNS resolution
  • TCP connection establishment
  • TLS encryption
  • HTTP request and response
  • Server processing
  • Browser rendering

All of this typically happens within a few hundred milliseconds.

Step 1: URL Deconstruction and Pre-Flight Checks

The browser first analyzes the structure of the URL.

https://www.example.com/index.html

This URL contains several components:

  • Scheme / Protocol → https
  • Subdomain → www
  • Domain → example.com
  • Path → /index.html

Before contacting any server, the browser performs several checks.

Local Cache Check

The browser checks whether the domain’s IP address is already stored in cache. If so, the DNS lookup step can be skipped.

HSTS Check

If the site previously enforced HTTPS using HTTP Strict Transport Security, the browser ensures the connection remains encrypted.

Protocol Upgrade

If a user enters http://, the browser may automatically upgrade it to https:// depending on security policies.

Step 2: DNS Resolution – Finding the Server

Humans use domain names like:

google.com example.com github.com

But computers communicate using IP addresses. DNS (Domain Name System) translates domain names into IP addresses.

The resolution process usually follows these steps:

Browser Cache

The browser checks whether the IP address is already known.

Operating System Cache

The OS checks its DNS cache.

Recursive Resolver

If not found, the request is sent to a recursive resolver (often your ISP or public DNS like Cloudflare or Google DNS).

Root Servers

The resolver asks which server manages .com domains.

TLD Servers

The .com server identifies the authoritative DNS server.

Authoritative Server

The authoritative server returns the IP address.

example.com → 93.184.216.34

Step 3: Establishing the TCP Connection

Once the browser knows the server’s IP address, it establishes a TCP connection.

TCP ensures reliable communication through ordered delivery, error checking, and retransmission.

TCP Three-Way Handshake

1. Client → Server SYN 2. Server → Client SYN-ACK 3. Client → Server ACK

After this handshake, a reliable connection is established.

Step 4: TLS Handshake – Securing the Connection

Most websites use HTTPS, which means the connection must be encrypted. This is handled by TLS (Transport Layer Security).

The TLS handshake works as follows:

  • Client sends supported encryption algorithms
  • Server sends certificate
  • Browser verifies certificate authority
  • Secure encryption keys are generated

Once complete, all communication becomes encrypted.

Step 5: HTTP Request – Asking for the Resource

After the connection is secure, the browser sends an HTTP request.

GET /index.html HTTP/1.1 Host: www.example.com User-Agent: Mozilla/5.0 Accept-Language: en

This request tells the server what resource is needed and which domain is being accessed.

Step 6: Server Processing

Modern web infrastructure usually involves several layers:

Client ↓ CDN ↓ Load Balancer ↓ Web Server ↓ Application Server ↓ Database

CDN

Caches static content closer to users.

Load Balancer

Distributes traffic across servers.

Web Server

  • Nginx
  • Apache

Application Server

  • Node.js
  • Python
  • Java
  • Go

Database

  • SQL
  • NoSQL

Step 7: HTTP Response

The server returns a response such as:

HTTP/1.1 200 OK Content-Type: text/html Content-Length: 1245

Common status codes:

200 → Success 301 → Redirect 404 → Not Found 500 → Server Error

The response body contains the webpage content.

Step 8: Browser Rendering

Receiving HTML is only the beginning. The browser must convert it into a visible page.

This process is called the Critical Rendering Path.

1. Parse HTML → DOM Tree 2. Parse CSS → CSSOM 3. DOM + CSSOM → Render Tree 4. Layout → Calculate positions 5. Paint → Draw pixels

Additional resources like images, CSS, and JavaScript may trigger more requests.

The Millisecond Symphony

Although complex, the entire process happens extremely quickly.

Several layers coordinate simultaneously:

  • Application Layer – HTTP, DNS
  • Security Layer – TLS encryption
  • Transport Layer – TCP communication
  • Network Layer – IP routing

Conclusion

Loading a website involves far more than retrieving a file from a server.

Behind every webpage lies a chain of networking protocols, encryption systems, server infrastructure, and browser rendering engines.

Understanding this lifecycle helps developers, engineers, and cybersecurity professionals better understand how modern web systems operate.

What appears to be a simple browser action is actually a global orchestration of distributed systems operating together in milliseconds.

References

How CPUs Actually Work: From Instructions to Execution

Vibe Coding and Iterative Development

How CPUs Work Actually

From Instructions to Execution

How CPUs Work Actually means, Computers appear to perform complex tasks effortlessly—running applications, rendering graphics, processing data, and executing billions of calculations per second.

At the center of all this activity is a single component: the CPU (Central Processing Unit).

Often described as the brain of the computer, the CPU is responsible for executing instructions that make software function.

But what actually happens inside a CPU when a program runs?

Understanding this requires looking at several key concepts:

  • instructions
  • instruction execution cycles
  • memory hierarchy
  • pipelining and parallelism

Let’s explore how CPUs truly work.

What Is a CPU?

The CPU is the component responsible for executing program instructions.

Every program—from a simple calculator to a complex operating system— is translated into machine instructions that the CPU understands.

These instructions perform operations like:

  • adding numbers
  • moving data between registers
  • comparing values
  • storing results in memory

Even the most complex software eventually breaks down into millions or billions of these small operations.

Modern CPUs execute billions of instructions per second.

Core Components of a CPU

Control Unit

The control unit coordinates all operations inside the CPU.

  • decides which instruction executes next
  • controls data movement
  • activates required components

It acts like a traffic controller inside the processor.

Arithmetic Logic Unit (ALU)

The ALU performs mathematical and logical operations.

  • addition
  • subtraction
  • comparisons
  • bitwise operations

Whenever a program performs calculations, the ALU executes them.

Registers

Registers are extremely fast storage locations inside the CPU.

  • temporary values
  • intermediate results
  • instruction addresses

Registers are significantly faster than RAM because they exist directly inside the processor.

Cache Memory

Cache is a small but extremely fast memory located near the CPU.

Most CPUs contain multiple levels:

  • L1 Cache – smallest and fastest
  • L2 Cache – larger but slightly slower
  • L3 Cache – shared across CPU cores

Cache stores frequently used data so the CPU doesn't repeatedly access slower RAM.

The Instruction Execution Cycle

CPU operation follows a repeating process called the Instruction Cycle.

Fetch

The CPU fetches the next instruction from memory using the Program Counter (PC).

Decode

The control unit interprets the instruction and determines what operation must occur.

Execute

The ALU performs the required operation such as arithmetic or comparisons.

Write Back

The result is written back into registers or memory.

This cycle repeats billions of times per second.

Memory Hierarchy

One of the biggest performance challenges is memory access speed.

CPUs process data extremely fast, but retrieving data from memory can be slower.

This leads to the concept of memory hierarchy.

Registers → Fastest L1 Cache L2 Cache L3 Cache RAM Storage (SSD/HDD) → Slowest

The closer the memory is to the CPU, the faster it operates.

Instruction Pipelining

To increase efficiency, modern CPUs use pipelining.

Instead of executing instructions sequentially, different stages overlap.

Example pipeline:

Instruction 1 → Execute Instruction 2 → Decode Instruction 3 → Fetch

This allows multiple instructions to be processed simultaneously.

Multi-Core Processing

Modern processors contain multiple cores.

  • Dual-core → 2 cores
  • Quad-core → 4 cores
  • Octa-core → 8 cores

Each core can execute instructions independently, allowing computers to run multiple tasks at once.

From Source Code to CPU Instructions

Programs written by developers must be translated before the CPU can run them.

Source Code (C / C++ / Python) ↓ Compiler / Interpreter ↓ Assembly Language ↓ Machine Code ↓ CPU Execution

Ultimately, CPUs only understand binary instructions made of 0s and 1s.

Why Understanding CPUs Matters

Many developers focus only on high-level frameworks, but understanding CPUs helps write efficient software.

  • performance optimization
  • memory efficiency
  • parallel programming
  • systems engineering

Fields like operating systems, game engines, and high-performance computing rely heavily on CPU-level understanding.

Conclusion

The CPU is one of the most remarkable components in computing.

Its operation can be understood through several key ideas:

  • instruction execution cycles
  • memory hierarchy
  • pipelining
  • parallel processing

Every program we use ultimately depends on billions of instructions executed by the CPU every second.

Understanding this foundation helps developers build faster and more efficient systems.

References

Vibe Coding and Iterative Development: From Personal Prototype to SaaS Platform

Vibe Coding and Iterative Development

Vibe Coding and Iterative Development

Is the Art of Programming Dead?

In recent years, the rise of AI-powered coding tools has sparked a new debate in the developer community: Is programming becoming obsolete?

Tools like GitHub Copilot, OpenAI Codex, Claude Code, and Cursor can generate code, debug errors, and scaffold entire projects. This shift has led to what many developers now call vibe coding.

However, programming has never simply been about writing code. It is about designing systems that solve real-world problems.

Software Architecture Layers

Frontend Technologies

  • HTML
  • CSS
  • JavaScript
  • React

These technologies control the user interface and user experience.

Backend Technologies

  • Python
  • Java
  • C
  • C++

Backend systems handle application logic and processing.

Databases

  • SQL
  • NoSQL

Databases store structured and unstructured data.

Programming Languages and Their Evolution

Programming languages have evolved dramatically over time.

Early computers used machine code and assembly language, which directly interact with hardware instructions.

Modern languages introduced abstraction.

C C++ Java Python Go Rust

These languages allow developers to focus on system logic rather than hardware instructions.

The Impact of AI on Software Development

AI tools now assist developers by:

  • Generating boilerplate code
  • Suggesting implementations
  • Identifying bugs
  • Refactoring code
  • Explaining unfamiliar libraries

This dramatically speeds up development workflows.

What Is Vibe Coding?

Vibe coding refers to building systems using AI-assisted tools by describing functionality instead of writing every implementation detail manually.

  • Generate project structure
  • Implement APIs
  • Write UI components
  • Debug syntax errors
  • Suggest improvements

However, developers still define architecture, data models, and system structure.

Iteration: The Real Engine of Software Development

Most successful systems evolve through iterative development.

Idea → Build → Test → Improve → Repeat

Each iteration improves the system architecture.

The NotesForge Journey

NotesForge started as a Python experiment designed to convert structured notes into formatted documents.

Version Evolution

Version 1 — Prototype

The first version validated the concept of automated document formatting.

Version 2 — Personal Model

Formatting capabilities improved and the tool became usable for personal notes.

Version 3 — Streamlit Application

A Streamlit interface enabled interactive use through a web UI.

Version 4 — Marker-Based Formatting

Markers allowed precise structural formatting.

Version 5 — Full Stack Transition

The architecture transitioned toward a full stack system.

Versions 6–7 — Platform Evolution

  • Marker-based document engine
  • Customizable themes
  • Template systems
  • Code formatting blocks
  • Headers and footers

Final architecture:

  • Frontend: React
  • Backend: FastAPI
  • Deployment: Vercel + Render

Lessons Learned from Iteration

Architecture Emerges Through Iteration

Initial prototypes rarely represent final system design.

AI Accelerates Experimentation

AI tools allow rapid testing of ideas.

Clear Thinking Remains Essential

AI requires strong architectural direction.

Small Ideas Can Grow

Many successful platforms begin as simple experiments.

The Future of Vibe Coding

  • System architecture
  • Problem definition
  • Modular design
  • Integration of complex systems

Developers will increasingly focus on system design while AI assists with implementation.

Conclusion

NotesForge started as a personal productivity experiment.

It evolved into a deterministic document automation system that replaces repetitive formatting with structured logic.

Innovation is not always about adding intelligence.

Sometimes, it is about removing unnecessary complexity.

Explore the Project

GitHub Repository:

https://github.com/Ashish-Krishna-Pavan-git/notes-Forge/

NotesForge Professional Applicaion:

https://notes-forge-ruddy.vercel.app/

References

Building a Deterministic Document Automation System with Python

Most productivity problems are not complex.

They are repetitive.

For me, that problem was document formatting.

Every day, I spent nearly 30 minutes formatting structured notes into professional documents:

  • Adjusting font sizes

  • Changing heading colors

  • Fixing spacing

  • Aligning bullet lists

  • Styling tables

  • Applying borders and margins

For a 10-page document, that adds up quickly.

Instead of optimizing the template, I decided to rethink the system.

Deterministic

The Real Problem: Manual Document Formatting Is Inefficient

Formatting is not creative work.

It is mechanical repetition.

And most people solve it using one of three approaches:

  1. Manual formatting in Word

  2. Templates

  3. AI-based formatting tools

Each has trade-offs.

Templates reduce work but still require correction.
AI APIs introduce cost, unpredictability, and external dependency.
Local LLMs require significant hardware resources.

I wanted something else:

  • Predictable

  • Fast

  • Offline

  • Fully customizable

  • Architecturally clean

That’s how NotesForge began.

Why I Didn’t Use AI

As someone familiar with transformers, RAG systems, and generative AI workflows, building an AI-powered formatter seemed natural.

But after testing multiple approaches, I rejected AI for this use case.

1. API-Based AI Limitations

  • Paid usage

  • Rate limits

  • Dependency on external services

  • Non-deterministic outputs

Formatting needs consistency. Not creativity.

2. Local LLM Constraints

  • High GPU requirements

  • Slow inference on consumer hardware

  • Significant power consumption

  • Overkill for structured formatting

Using probabilistic models to apply font sizes is unnecessary.

This is a deterministic problem. So I built a deterministic solution.

Introducing NotesForge

NotesForge is a modular document automation system built using:

  • Python

  • Streamlit

  • python-docx

  • JSON-based configuration

It transforms structured plain text into professionally formatted Word and PDF documents in seconds.

  • No AI APIs.
  • No heavy models.
  • No unpredictability.
Deterministic document automation architecture showing modular MVC design with Streamlit frontend, configuration layer, and python-docx document builder

The Role of Claude and GPT in Building NotesForge

Although NotesForge is intentionally deterministic and does not rely on AI APIs at runtime, generative AI played a strategic role during development.

This distinction is important.

AI was not used as a feature.
It was used as a development accelerator.

Why Claude?

Claude (Sonnet 4.5) was primarily used for:

  • Logic refinement

  • Structural improvements

  • Reviewing classification flows

  • Stress-testing edge cases

Its strength lies in reasoning-heavy outputs and architectural thinking.
It helped refine regex ordering, detection hierarchy, and modular breakdown.

But the final implementation logic was reviewed, rewritten, and structured manually.

Claude assisted.
It did not replace engineering decisions.

Why GPT?

GPT was used differently.

Primarily for:

  • Research on Streamlit architecture

  • Understanding python-docx XML styling patterns

  • Exploring modular design strategies

  • Comparing deterministic vs probabilistic workflows

It acted more as a research partner than a code generator.

Why Not Use AI in the Final Product?

This is the critical architectural insight.

AI helped build the system.

But AI was deliberately excluded from the runtime system.

Reasons:

  • Formatting is deterministic.

  • Predictability is more valuable than creativity.

  • API costs are unnecessary for structured logic.

  • Local LLM overhead is unjustified for rule-based tasks.

In other words:

AI accelerated development.
Deterministic logic powers execution.

A Practical Hybrid Philosophy

This project represents a modern development pattern:

Use AI to think faster.
Use engineering to design.
Use logic to execute.

That distinction matters.

NotesForge is not anti-AI.
It is anti-misuse-of-AI.

Architecture: Modular MVC Design

NotesForge follows a modular MVC-inspired architecture.

System Flow

User → Frontend → Configuration Layer → Business Logic → DOCX/PDF Output

Frontend Layer (Streamlit):

Handles:

  • Text input

  • Live preview

  • Theme switching

  • Settings customization

  • Download generation

Configuration Layer:

  • ConfigManager (JSON-based settings)

  • ThemeManager (preset and custom themes)

  • 150+ configurable styling parameters

Business Logic Layer (Core Engine):

Contains:

  1. TextAnalyzer

  2. DocumentBuilder

  3. PDFBuilder

Each module has a single responsibility.

How the Intelligent Classification Engine Works

The core of deterministic document automation lies in structured pattern detection.

For every line of text, the system:

  1. Cleans markdown artifacts

  2. Applies ordered regex classification

  3. Assigns semantic type

Priority hierarchy ensures predictable results.

The engine detects:

  • Day headings

  • Topic headings

  • Section headings

  • Bullets and numbered lists

  • Shell commands

  • Code blocks

  • File paths

  • Tables (pipes, spaces, tabs)

  • Labels (Example:, Note:, Steps:)

  • Quotes

  • Mathematical formulas

This structured detection ensures consistent formatting.

Document Generation Engine

Once classification completes:

  1. A new Word document object is created

  2. Header and footer applied

  3. Margins and borders configured

  4. Each classified element styled using config rules

  5. Tables built with alternating row colors

  6. File saved and returned

PDF generation uses DOCX conversion with fallback handling.

Performance benchmarks:

  • 100 lines: ~0.2 seconds

  • 1000 lines: ~1.5 seconds

  • 10,000 lines: ~15 seconds

The system scales efficiently.

Key Features​:

  • 10+ content types auto-detected

  • 50+ commands recognized (expandable)

  • 6 built-in themes

  • 150+ customization options

  • Live preview with statistics

  • Real-time theme switching

  • Modular architecture

  • JSON-based configuration

  • Cross-platform support

Real-World Impact

Manual workflow: ~30 minutes per document
NotesForge workflow: 30–90 seconds

Beyond speed, the real value is:

  • Consistency

  • Reusability

  • Config-driven styling

  • Reduced cognitive load

  • Professional output

This system is now part of my daily workflow.

Why Deterministic Systems Still Matter

There is a growing assumption that AI should power every solution.

But deterministic systems are:

  • Predictable

  • Auditable

  • Lightweight

  • Fast

  • Cost-free after development

Not every problem requires probabilistic reasoning.

Some require structured logic.

NotesForge is an example of choosing architecture over hype.

Future Enhancements

Planned improvements include:

  • Enhanced heading detection

  • LaTeX equation support

  • Dark mode UI

  • Template library

  • Batch processing

  • Cloud sync

  • Optional AI-assisted workflow

The core engine remains deterministic.

Conclusion

NotesForge started as a personal productivity experiment.

It evolved into a deterministic document automation system that replaces repetitive formatting with structured logic.

Innovation is not always about adding intelligence.

Sometimes, it is about removing unnecessary complexity.

Explore the Project

References

Now that you have an overview about NotesForge take a look on official documents for more information,

For discussions: ashish@akpghub.live or LinkedIn: Ashish Krishna Pavan Gade