<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ankit Thakur</title>
    <description>The latest articles on DEV Community by Ankit Thakur (@ankit_thakur_d54323e1ae70).</description>
    <link>https://dev.to/ankit_thakur_d54323e1ae70</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3669067%2Fbac58c94-3b4a-42a8-a6d4-58c0f22b209f.png</url>
      <title>DEV Community: Ankit Thakur</title>
      <link>https://dev.to/ankit_thakur_d54323e1ae70</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ankit_thakur_d54323e1ae70"/>
    <language>en</language>
    <item>
      <title>Starbi</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Tue, 13 Oct 2026 09:02:54 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/starbi-2gjp</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/starbi-2gjp</guid>
      <description>&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Starbi&lt;/strong&gt; is a small custom PCB that works as a pocket sensor buddy. It's built around a Seeed XIAO ESP32-C3 and combines an OLED display, an MPU6050 motion sensor, a DHT11 temperature and humidity sensor, and two buttons. Tilt it, shake it, or leave it on your desk, and it shows what it senses on screen.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who would pay for it?&lt;/strong&gt; Makers, students, and workshop organizers. A first PCB is intimidating, and most people end up with a breadboard full of loose modules and jumper wires. Starbi is a finished, routed board with open design files, so someone can solder it, flash it, and have a working gadget in an afternoon.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The side hustle:&lt;/strong&gt; sell it as a solder-it-yourself kit (or pre-assembled) through hobbyist marketplaces and maker meetups, or bundle it with a paid beginner PCB workshop. Parts are cheap and the board is small. I haven't sold one yet, so this is the plan rather than a result.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;GitHub repo: &lt;a href="https://github.com/ThakuraAnki/Starbi" rel="noopener noreferrer"&gt;https://github.com/ThakuraAnki/Starbi&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;[Add a screenshot of the PCB editor or 3D view here]&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/ThakuraAnki/Starbi" rel="noopener noreferrer"&gt;https://github.com/ThakuraAnki/Starbi&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;I was already planning to make something like a Starbie, so I used it as my starting point. It's a guided project and a good first PCB. I followed the instructions in the original repo: &lt;a href="https://github.com/SharKingStudios/Starbie/tree/main" rel="noopener noreferrer"&gt;https://github.com/SharKingStudios/Starbie/tree/main&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Schematic.&lt;/strong&gt; I wired up the XIAO ESP32-C3, the OLED display, the MPU6050, the DHT11 sensor, and the two buttons.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Routing.&lt;/strong&gt; I moved into KiCad's PCB Editor to route everything, but doing it by hand got messy very fast. I looked up some routing tips online to keep things clean. Instead of dragging every ground line around the board, I added a full-board GND copper pour on the top layer so the ground connections happen automatically.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Problems I hit and fixed.&lt;/strong&gt; When I ran the Design Rules Check (DRC), a few errors came up for trapped, isolated ground pads: Pad 1 on the OLED, Pad 4 on the DHT11, and Pad 2 on J2. After some searching, I found that nearby traces were blocking the ground pour from reaching them. I fixed this by manually routing short bridge tracks from each of those pads out into the ground zone.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Result.&lt;/strong&gt; After the fix, DRC cleared with 0 unconnected pads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What I learned:&lt;/strong&gt; a ground pour saves a lot of routing work, but you still have to check that every ground pad can actually reach it. DRC caught what I couldn't see by eye.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;I couldn't have built this without other people's open work. The Starbie repo gave me a guided starting point instead of a blank canvas. KiCad is free and open source, so designing a real PCB cost me nothing. Even my routing fixes came from strangers sharing tips online.&lt;/p&gt;

&lt;p&gt;It also matters for the side hustle. Starbi is built on open hardware, so anyone can fork it, swap the sensors, or change the board shape. A small seller doesn't need a license or a gatekeeper. They only need the files, a PCB fab, and an idea. I want to pass that on by keeping my repo open for the next beginner who wants a first board.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Best Use of Arduino&lt;/strong&gt;: Starbi is built around the XIAO ESP32-C3, an Arduino-compatible board, and [programmed with the Arduino IDE / Arduino framework, confirm this].&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>LinguaPal</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Tue, 06 Oct 2026 10:42:43 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/linguapal-pb6</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/linguapal-pb6</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-week1-2026-10-05"&gt;Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;LinguaPal&lt;/strong&gt; is a multi-agent AI English tutor for ESL learners. It trains Reading, Pronunciation, Listening, Writing, and Spelling in one web app, and adapts to each learner's level on the CEFR scale (A1 to C2).&lt;/p&gt;

&lt;p&gt;An &lt;strong&gt;Orchestrator Agent&lt;/strong&gt; runs a 6-question placement test, adjusts difficulty from rolling session scores, and generates a &lt;strong&gt;10-minute daily plan&lt;/strong&gt; built around the learner's weakest skills. Five specialist agents handle the practice, each with its own system prompt and structured output:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Reading:&lt;/strong&gt; level-appropriate passages, 5 comprehension questions with a rationale for every answer, CEFR-tagged vocabulary, and tap-to-translate on any word (IPA, definition, and mother-tongue translation)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pronunciation:&lt;/strong&gt; the learner records their voice in the browser and gets a score out of 100, mispronounced words, IPA contrasts, and articulator tips&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Listening:&lt;/strong&gt; generated two-speaker dialogues, playback at 0.75x, 1.0x, or 1.25x, and a "Listen &amp;amp; Type" dictation mode with word-level diffing&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Writing:&lt;/strong&gt; grammar fixes with the exact replacement and the rule, vocabulary upgrades, tone evaluation, a polished rewrite, and a CEFR estimate&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spelling:&lt;/strong&gt; orthographic rule explanations, mnemonics, and mini-quizzes built from the learner's own logged mistakes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A &lt;strong&gt;spaced repetition engine&lt;/strong&gt; (SQLite, SM-2 algorithm) resurfaces words and errors right before the learner would forget them. A mascot owl, &lt;strong&gt;Pal&lt;/strong&gt;, encourages learners out loud, and streaks and XP keep them coming back. Mother-tongue help covers 12 languages.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How it gets people off the screen:&lt;/strong&gt; the daily plan is capped at 10 minutes, so it fits into a routine instead of eating an evening. Pronunciation drills get learners speaking out loud, and the dialogues train them to listen, so the practice carries into real conversations.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Who it's for:&lt;/strong&gt; ESL learners at any level who want daily, personalized practice without a tutor.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;📹 &lt;a href="https://drive.google.com/file/d/1ArhhNX5ewgsGONSpynexRSGVAJJdl2uY/view?usp=sharing" rel="noopener noreferrer"&gt;Watch the demo video&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/ThakuraAnki/English_Learning_Agents" rel="noopener noreferrer"&gt;ThakuraAnki/English_Learning_Agents&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;LinguaPal uses an &lt;strong&gt;Orchestrator + Specialist Agent&lt;/strong&gt; architecture. Each agent has a dedicated system prompt, a distinct teaching goal, and structured output, so the app can render scores, quizzes, and feedback reliably.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Layer&lt;/th&gt;
&lt;th&gt;Technologies&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Frontend&lt;/td&gt;
&lt;td&gt;React 19, Vite, Tailwind CSS&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Backend&lt;/td&gt;
&lt;td&gt;Node.js (ESM), Express 4, Multer for audio uploads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AI engine&lt;/td&gt;
&lt;td&gt;Google Gemini API via the &lt;code&gt;@google/genai&lt;/code&gt; SDK (&lt;code&gt;gemini-2.5-flash&lt;/code&gt;)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audio&lt;/td&gt;
&lt;td&gt;Browser &lt;code&gt;MediaRecorder&lt;/code&gt; for capture, Web Speech API (&lt;code&gt;SpeechSynthesis&lt;/code&gt;) for spoken playback&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Database&lt;/td&gt;
&lt;td&gt;SQLite via &lt;code&gt;better-sqlite3&lt;/code&gt; (WAL mode)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memory&lt;/td&gt;
&lt;td&gt;SuperMemo SM-2 spaced repetition&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Pronunciation scoring sends the learner's recording to Gemini's multimodal audio analysis. Every agent is exposed as its own REST endpoint group, which keeps the model layer separate from the rest of the app.&lt;/p&gt;

&lt;p&gt;The model layer is the one part that depends on a hosted API, and I'm upfront about that. Everything around it is open: the agent architecture, the SM-2 memory engine, SQLite, and the application code. With no API key set, the app falls back to a built-in &lt;strong&gt;Demo Mode&lt;/strong&gt; with curated drills, so anyone can clone the repo and try it right away.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Language learning is a space where cost and access decide who gets help. A paid tutor is out of reach for many ESL learners, and a tutor that depends on a metered closed API is only as affordable and available as that provider allows.&lt;/p&gt;

&lt;p&gt;Open innovation matters here for three reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Cost and access:&lt;/strong&gt; open-weight models can run locally or on cheap hardware, which makes free tutoring possible for learners and schools.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Privacy:&lt;/strong&gt; learners' voice recordings and writing are personal. Local inference keeps them on the learner's device.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Adaptability:&lt;/strong&gt; an open model can be tuned for specific first languages, accents, and common error patterns, which a closed API doesn't allow.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This project currently relies on Gemini, a closed API. I kept the agents as separate, swappable components so the provider can be replaced, and I published the code so others can take it further, including moving it to open-weight models.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Data Structure Mate cutey</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Mon, 05 Oct 2026 02:34:38 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/data-structure-mate-cutey-3f2b</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/data-structure-mate-cutey-3f2b</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/hacktoberfest-weekend-2026-10-01"&gt;Hacktoberfest Weekend Challenge: Build for a Friend&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;AI Mate&lt;/strong&gt; is an AI-powered study buddy for learning Data Structures and Algorithms (DSA).&lt;/p&gt;

&lt;p&gt;Many students struggle with DSA, not because the topics are impossible, but because nobody explains &lt;em&gt;why&lt;/em&gt; a solution works. AI Mate fixes that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Brute force to optimal:&lt;/strong&gt; Paste your worst-case solution and AI Mate walks you toward the optimal one, step by step, instead of just dumping the final code.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Real-world applications:&lt;/strong&gt; For every topic (Arrays, Strings, Linked Lists, Stacks, Queues, and more), it explains where that data structure is used in real software.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Level-based learning:&lt;/strong&gt; You pick your DSA level when you sign up (beginner, intermediate, advanced), and the explanations match it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Built-in quizzes:&lt;/strong&gt; After each explanation, AI Mate gives you short quizzes so you can check whether the concept actually stuck.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I built this for [my friend / classmates / juniors, fill in who] who kept copy-pasting ChatGPT answers and still couldn't explain their own code in interviews.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;🎥 &lt;a href="https://drive.google.com/file/d/1fMxErds0lXwllpFqe4cmwTGufl0NEMDR/view?usp=sharing" rel="noopener noreferrer"&gt;Watch the demo video&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Typical flow:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A student opens the website and logs in.&lt;/li&gt;
&lt;li&gt;They select their DSA level.&lt;/li&gt;
&lt;li&gt;They chat with &lt;strong&gt;DSA Mate&lt;/strong&gt;: ask about a topic, paste a brute-force solution, or request a quiz.&lt;/li&gt;
&lt;li&gt;AI Mate explains, optimizes, and quizzes them.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Code
&lt;/h2&gt;

&lt;p&gt;🔗 &lt;a href="https://github.com/ThakuraAnki/Low_Level_design_Practice_PlateForm" rel="noopener noreferrer"&gt;GitHub Repository&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How I Built It
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Architecture (high level):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Student → Frontend (login + chat UI)
              ↓
        Backend (request handler)
              ↓
        Backboard GPT API
              ↓
        Response → Frontend
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; The login screen, level selection, and chat interface. Student details (name, level) are stored in the browser's &lt;strong&gt;localStorage&lt;/strong&gt;, so there's no heavy database setup for a weekend build.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Backend:&lt;/strong&gt; A dedicated backend folder receives chat requests, attaches a teaching-style prompt, calls the &lt;strong&gt;Backboard GPT API&lt;/strong&gt;, and returns the response to the frontend. This also keeps the API key off the client.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt design:&lt;/strong&gt; The system prompt tells the AI to behave like a teacher: explain the intuition first, show the brute-force approach, identify the bottleneck, then guide toward the optimal solution, and finally offer a quiz.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Token limits:&lt;/strong&gt; To control API usage, each student session has a token limit. This is a known limitation, and I'd like to improve it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Challenges I faced:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Getting the AI to &lt;em&gt;teach&lt;/em&gt; rather than just answer took a lot of prompt iteration.&lt;/li&gt;
&lt;li&gt;Balancing response quality against token limits.&lt;/li&gt;
&lt;li&gt;[Add one real challenge you hit.]&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;What I'd add next:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Persistent accounts with a real database&lt;/li&gt;
&lt;li&gt;Progress tracking and weak-topic detection&lt;/li&gt;
&lt;li&gt;Code execution to test optimized solutions&lt;/li&gt;
&lt;li&gt;Support for Trees, Graphs, and Dynamic Programming&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why Does Open Innovation Matter?
&lt;/h2&gt;

&lt;p&gt;Most students go straight to a chatbot, copy the solution, and move on. They get answers but not understanding.&lt;/p&gt;

&lt;p&gt;Open innovation lets small builders like me take powerful public AI APIs and shape them for a specific, real problem. AI Mate doesn't replace the learning process; it works like a good teacher. It tells the whole story behind the code, shows why the brute force is slow, and quizzes you to confirm you understood. Anyone can fork it, change the prompts, and adapt it for their own classmates or subject.&lt;/p&gt;

&lt;h2&gt;
  
  
  My Agent Session
&lt;/h2&gt;

&lt;p&gt;[Add your DevRelay session link or &lt;code&gt;agent_session&lt;/code&gt; embed here, or delete this section if you didn't use one.]&lt;/p&gt;

&lt;h2&gt;
  
  
  Prize Categories
&lt;/h2&gt;

&lt;p&gt;Best Use of Backboard&lt;br&gt;
Build with R-CLI, Backboard's open-source terminal coding agent, compare open-weight models through a single Backboard API key, or give an open-source project's assistant memory and RAG.&lt;/p&gt;




</description>
      <category>devchallenge</category>
      <category>weekendchallenge</category>
      <category>hf26challenge</category>
    </item>
    <item>
      <title>Paging In OS</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Tue, 01 Sep 2026 16:19:41 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/paging-in-os-1430</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/paging-in-os-1430</guid>
      <description>&lt;p&gt;Paging in Operating System&lt;/p&gt;

&lt;p&gt;Paging is a memory management technique used by an Operating System (OS). It is used to manage the main memory efficiently and allows a process to use memory even when its data is not stored continuously in physical memory.&lt;/p&gt;

&lt;p&gt;In paging, the logical memory of a process is divided into fixed-size blocks called pages, while the physical memory (RAM) is divided into fixed-size blocks called frames. The size of a page and a frame is always the same.&lt;/p&gt;

&lt;p&gt;How Paging Works&lt;/p&gt;

&lt;p&gt;When a program is executed:&lt;/p&gt;

&lt;p&gt;The program is divided into fixed-size pages.&lt;br&gt;
The main memory is divided into fixed-size frames.&lt;br&gt;
The OS loads the required pages into available frames.&lt;br&gt;
A page table is maintained by the OS to keep track of which page is stored in which frame.&lt;br&gt;
When the CPU generates a logical address, the OS uses the page table to convert it into a physical address.&lt;br&gt;
Example&lt;/p&gt;

&lt;p&gt;Suppose a process has 4 pages:&lt;/p&gt;

&lt;p&gt;Page 0&lt;br&gt;
Page 1&lt;br&gt;
Page 2&lt;br&gt;
Page 3&lt;/p&gt;

&lt;p&gt;And RAM has available frames:&lt;/p&gt;

&lt;p&gt;Frame 0&lt;br&gt;
Frame 1&lt;br&gt;
Frame 2&lt;br&gt;
Frame 3&lt;/p&gt;

&lt;p&gt;The pages do not have to be stored continuously. For example:&lt;/p&gt;

&lt;p&gt;Page    Frame&lt;br&gt;
Page 0  Frame 2&lt;br&gt;
Page 1  Frame 0&lt;br&gt;
Page 2  Frame 3&lt;br&gt;
Page 3  Frame 1&lt;/p&gt;

&lt;p&gt;The page table stores this mapping.&lt;/p&gt;

&lt;p&gt;So, if the CPU wants to access Page 2, the OS checks the page table and finds that Page 2 is present in Frame 3.&lt;/p&gt;

&lt;p&gt;Logical and Physical Address&lt;/p&gt;

&lt;p&gt;A logical address in paging is divided into two parts:&lt;/p&gt;

&lt;p&gt;Logical Address = Page Number + Offset&lt;/p&gt;

&lt;p&gt;Page Number: Identifies the page.&lt;br&gt;
Offset: Identifies the exact location inside that page.&lt;/p&gt;

&lt;p&gt;The page number is used to find the corresponding frame from the page table. Then the frame number and offset are combined to create the physical address.&lt;br&gt;
Advantages of Paging&lt;br&gt;
It reduces external fragmentation.&lt;br&gt;
Memory can be used more efficiently.&lt;br&gt;
A process does not need to be stored in continuous memory.&lt;br&gt;
It makes virtual memory possible.&lt;br&gt;
Memory allocation becomes easier for the OS.&lt;br&gt;
Disadvantages of Paging&lt;br&gt;
It requires extra memory for maintaining page tables.&lt;br&gt;
Address translation can increase memory access time.&lt;br&gt;
It can cause internal fragmentation, especially when a page is not completely filled.&lt;br&gt;
Large processes may require large page tables.&lt;/p&gt;

</description>
      <category>computerscience</category>
      <category>learning</category>
      <category>software</category>
    </item>
    <item>
      <title>Types of Operating Systems</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Sun, 07 Jun 2026 08:24:04 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/types-of-operating-systems-g75</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/types-of-operating-systems-g75</guid>
      <description>&lt;p&gt;An operating system is the software that manages your computer's hardware and provides services to applications. But not all operating systems are built alike — different use cases call for very different designs.&lt;/p&gt;

&lt;p&gt;What is an Operating System?&lt;br&gt;
Think of an OS as the bridge between you and your hardware. When you click "open file," the OS handles the disk read, memory allocation, and screen rendering — all invisibly. Without it, every app would need to talk directly to hardware, which would be chaos.&lt;/p&gt;




&lt;p&gt;Batch OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Jobs collected and executed in groups without user interaction. Early IBM systems used this.
&lt;/h2&gt;

&lt;p&gt;Time-Sharing OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Multiple users share the CPU simultaneously via rapid context switching. Unix is a classic example.
&lt;/h2&gt;

&lt;p&gt;Real-Time OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Guarantees task completion within strict time deadlines. Used in pacemakers, flight systems.
&lt;/h2&gt;

&lt;p&gt;Distributed OS&lt;/p&gt;

&lt;h2&gt;
  
  
  Multiple machines appear as one unified system. Powers cloud computing platforms.
&lt;/h2&gt;

&lt;p&gt;Embedded OS&lt;br&gt;
Lightweight OS designed for specific hardware devices like routers, smartwatches, or printers.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>fundaments of OS</title>
      <dc:creator>Ankit Thakur</dc:creator>
      <pubDate>Thu, 18 Dec 2025 14:46:49 +0000</pubDate>
      <link>https://dev.to/ankit_thakur_d54323e1ae70/fundaments-of-os-3fg7</link>
      <guid>https://dev.to/ankit_thakur_d54323e1ae70/fundaments-of-os-3fg7</guid>
      <description>&lt;p&gt;-: What is an Operating System?&lt;br&gt;
Okay Lets understand Operationg System without knowing its actual definition suppose we have a computer and we want to Store something into our Memory So how will you store it without an operating system. I think you are blank now so You have to convert into binary number system and give to the hardware then store it. Lets take one more example what if I say you can’t open your devices without help of OS I know it is little bit surprising If you Don’t use OS then occur this Issues such as bulky and complex app(Hardware attraction must be System Software)(System Software is basically operates your Application Software), In easy word which application help us in providing basic interfaces such as file management, memory management, System Security, software updates)and Application software is provide actual works such as specific user tasks Such as video editing , Coding IDES &amp;amp; environment, there are so many examples) Operating system central part is Kernel, A kernel is the core component of an (OS)serving as the essential foundation that provides basic services for all other parts of the OS .&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Function of OS:-&lt;br&gt;
*Its provides user interface between user devices with its hardware.&lt;br&gt;
*Resource Manger (OS manages all the things our pc).&lt;br&gt;
*Hides Complexities (without knowing how data stores into memory ).&lt;/p&gt;

&lt;p&gt;Thnaku!&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09012yzrut7nb95mmdb0.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F09012yzrut7nb95mmdb0.webp" alt=" " width="462" height="280"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
