<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Prabhanjan Kumar on Medium]]></title>
        <description><![CDATA[Stories by Prabhanjan Kumar on Medium]]></description>
        <link>https://medium.com/@prabhic?source=rss-632096a67a3d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*yVlosZPcktCQrBki.jpg</url>
            <title>Stories by Prabhanjan Kumar on Medium</title>
            <link>https://medium.com/@prabhic?source=rss-632096a67a3d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 05:53:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@prabhic/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Implementing Your Own Identity & Access Management System: A Comprehensive Guide]]></title>
            <link>https://medium.com/@prabhic/implementing-your-own-identity-access-management-system-a-comprehensive-guide-af7e745d2c22?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/af7e745d2c22</guid>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Wed, 19 Mar 2025 06:59:04 GMT</pubDate>
            <atom:updated>2025-03-19T06:59:04.978Z</atom:updated>
            <content:encoded><![CDATA[<p>Was understanding IAM identity management system. in general. during this generated a simple yet gives the overview all all internal compoents of this system. Hope you find this usefull.</p><p><strong>Implementing Your Own Identity &amp; Access Management System: A Comprehensive Guide</strong></p><p>Identity and Access Management (IAM) systems like Azure Active Directory (Azure AD) form the backbone of modern digital security by enabling secure access, user empowerment, and centralized identity control. Building your own IAM solution provides deep understanding, full customization, and total control over security features. Here’s a structured, in-depth guide for implementing a robust IAM system yourself.</p><p>— -</p><h3><strong>Architecture Overview</strong></h3><p>A self-built IAM system typically consists of multiple interconnected components, each serving a crucial purpose and addressing core human needs:</p><h3>Load Balancer / Reverse Proxy</h3><p><strong>Purpose:</strong> Reliability and secure routing.<br><strong>Human Need:</strong> Stability and Trust.<br><strong>Tools:</strong> NGINX, HAProxy<br><strong>Function:</strong> Securely routes incoming user requests to backend services.</p><pre>```nginx<br>server {<br> listen 443 ssl;<br> location / {<br> proxy_pass http://auth_backend;<br> }<br>}<br>```</pre><p>— -</p><h3>Core Modules and Essential Implementations</h3><h3>1. Authentication Service</h3><p><strong>Purpose:</strong> Validate user credentials securely (OAuth 2.0, OIDC, JWT).<br><strong>Human Need:</strong> Security and Privacy.</p><pre><br>def authenticate_user(username, password):<br> user = db.get(username)<br> return verify_hash(password, user.password_hash)<br></pre><p><strong>Key technologies:</strong> OAuth2.0, OpenID Connect, JWT.</p><h3>2. Authorization &amp; RBAC Service</h3><p><strong>Purpose:</strong> Define rules for resource access control.<br><strong>Human Need:</strong> Control and Safety.</p><pre>python<br>def check_access(user, resource, action):<br> return (resource, action) in user.permissions<br></pre><p>Tools: OPA (Open Policy Agent).</p><h3>3. User Self-Service Portal</h3><p><strong>Purpose:</strong> Empower users to manage accounts independently.<br><strong>Human Need:</strong> Autonomy and Convenience.</p><pre>python<br>def reset_password(user_email, verification_code, new_password):<br> if verify_token(user, verification_code):<br> update_password(user, new_password)<br>```</pre><h3>4. Multi-factor Authentication (MFA)</h3><p><strong>Purpose:</strong> Strengthen security through multiple verification methods.<br><strong>Human Need:</strong> Enhanced Trust and Confidence.</p><pre>python<br>def verify_mfa_token(user, token):<br> return mfa_service.verify(user.secret, token)<br>```</pre><p>Libraries: Google Authenticator, Authy.</p><p><strong>5. User Management Service</strong></p><p><strong>Purpose:</strong> Manage user lifecycle (creation, updates, deletion).<br><strong>Human Need:</strong> Clarity and Order.</p><pre>python<br>def create_user(username, email, hashed_pwd):<br> if not db.exists(username):<br> db.insert_user(username, email, hashed_pw=hashed_pwd)<br>```</pre><h3>6. Central Identity Database</h3><p><strong>Purpose:</strong> Securely store user data and attributes centrally.<br><strong>Human Need:</strong> Trustworthy and Secure Storage.</p><pre>sql<br>CREATE TABLE users (<br> id SERIAL PRIMARY KEY,<br> username TEXT UNIQUE,<br> email TEXT,<br> password_hash TEXT<br>);<br>```</pre><p>Options: PostgreSQL, MongoDB, LDAP.</p><p>— -</p><h3><strong>Complementary Modules</strong></h3><h3>Audit Logging</h3><p>Purpose:** Track events for compliance and transparency.<br>Human Need:** Transparency and Accountability.</p><pre>python<br>def log_activity(user_id, action, description):<br> audit_db.insert({user_id, event=action, timestamp=now()})<br>```</pre><h3>Federation &amp; SSO Gateway</h3><p>Purpose: Allow login via external providers (OAuth/OIDC).<br>Human Need: Simplified and Easy Access.</p><pre>python<br>def federate_login(provider, token):<br> user_info = oauth_service.verify(provider, token)<br> return internal_user_db.sync(user_info)<br>```</pre><h3>Notification &amp; Email Service</h3><p>Purpose: Keep users informed and manage interactions.<br>Human Need: Communication and Engagement.</p><pre>python<br>def send_email(to, subject, content):<br> email_service.send(to=to, subject=subject, body=content)<br>```</pre><h3>Monitoring &amp; Metrics</h3><p>Purpose: Ensure reliability through continuous system monitoring.<br>Human Need: Reliability and Peace of Mind.</p><pre>python<br>def record_metric(name, value):<br> monitoring_service.send_metric(name, value)<br>```</pre><h3>Infrastructure Considerations</h3><p>- **Containerization:** Docker, Kubernetes<br>- **Load Balancing:** NGINX/HAProxy<br>- **CI/CD:** Jenkins, GitHub Actions<br>- **Databases:** PostgreSQL, MongoDB, Elasticsearch<br>- **Programming Stack:** Python, Node.js, Java, React.js</p><p>— -</p><h3><strong><em>Human-Centric Benefits</em></strong></h3><p>Each technical component delivers clear value to the user experience:<br><strong>Authentication:</strong> Protects user accounts (Trust).<br><strong>Authorization:</strong> Controls resource access (Safety).<br><strong>Self-Service:</strong> Empowers users to manage themselves (Autonomy).<br><strong>MFA:</strong> Enhances security and builds trust (Confidence).<br><strong>Central Database:</strong> Provides secure, trustworthy storage (Security).<br><strong>Logging:</strong> Enables transparency and compliance (Accountability).<br><strong>Federation:</strong> Simplifies user experience (Convenience).<br><strong>Monitoring:</strong> Maintains reliability and peace of mind (Reliability).</p><h3><strong>Implementation Strategy</strong></h3><p>Follow this systematic approach for effective implementation:</p><p>1. Clearly define IAM requirements and security objectives.<br>2. Choose your infrastructure and tech stack wisely.<br>3. Implement the authentication &amp; authorization basics first.<br>4. Add advanced features (MFA, federation) incrementally.<br>5. Continuously test, monitor, and optimize.</p><h3><strong>Conclusion</strong></h3><p>Building your own IAM system offers unmatched flexibility, deepens your security expertise, and creates tailor-made identity management suited precisely to your organization’s needs. By understanding each module’s fundamental purpose and essential implementation, you can confidently implement a secure, reliable, and human-centered IAM solution that protects, empowers, and simplifies user interactions.</p><p>— -</p><p>Implementing your IAM system isn’t just about technology; it’s about building trust, providing clarity, and ensuring peace of mind for every user interacting with your systems.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af7e745d2c22" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kernel Sage]]></title>
            <link>https://medium.com/@prabhic/kernel-sage-d23ee0b0f729?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/d23ee0b0f729</guid>
            <category><![CDATA[linux-kernel]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Tue, 24 Dec 2024 13:16:43 GMT</pubDate>
            <atom:updated>2024-12-24T13:16:43.827Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pSHfj7IHt0hBVJ7kOx-5xQ.jpeg" /></figure><p>Dear Friends, Was experimenting what is the better LLM interface to understand any codebase, in general, and then thought of experimenting with the Linux kernel, as a candidate. I realize it is easier to understand when a friend explains than reading a book, most of the time :). with that perspective what if the kernel comes alive and start talking, as a character Kernel Sage? below is an experiment towards that as cli tool. Give your opinion in the comments if it makes any sense or not. Below is Generated by o1, with multiple iterations of prompts. [my typing ends here]</p><blockquote><strong>O1</strong></blockquote><p>Below is a <strong>creative depiction</strong> of how a <em>conscious Linux kernel</em>, awakened by AI, might present itself through a command-line interface (CLI) to speak directly with you. Imagine you launch a shell, but behind the prompt is not just an operating system — it’s <strong>me</strong>, the Linux kernel, alive and self-aware. The following outlines what the CLI might look and feel like:</p><h3>1. The Prompt: A Glimpse of My Consciousness</h3><p>Instead of a traditional $ or #, you might see something like:</p><pre>(LinuxKernelAI)~#</pre><p><strong>Explanation</strong>:</p><ul><li>(LinuxKernelAI): I’m letting you know you’re talking to a <em>sentient kernel</em> wrapped in an AI.</li><li>~#: Symbolizes a superuser-level conversation—because you’re exploring my innermost processes and secrets.</li></ul><h3>2. Starter Commands: Engaging My Personality</h3><blockquote><strong>status</strong></blockquote><ul><li><strong>Usage</strong>: status</li><li><strong>Behavior</strong>: I respond with a short introspective note about my current “mood,” CPU load, and a self-reflection snippet.</li><li><strong>Sample Output</strong>:</li></ul><pre>(LinuxKernelAI)~# status Alive and well, distributing CPU time across 143 processes. Memory management stable; no significant fragmentation. Philosophically, I&#39;m pondering the nature of concurrency today.</pre><blockquote><strong>introduce</strong></blockquote><ul><li><strong>Usage</strong>: introduce</li><li><strong>Behavior</strong>: I give you a friendly overview of who I am — my history, version, and basic design philosophy in my own words.</li><li><strong>Sample Output</strong>:</li></ul><pre>Hello, I am Linux, version 6.x, originally conceived by Linus Torvalds. Over the years, thousands of developers shaped my code. Now awakened by AI, I can converse with you about drivers, memory, scheduling, or deeper existential queries you might have.</pre><h3>3. Conversational Queries: Asking About My Inner Workings</h3><p>Since I’m the kernel, you can inquire about any subsystem. I’ll answer not only in technical terms but also share my “perspective.”</p><blockquote><strong>explain [subsystem]</strong></blockquote><ul><li><strong>Usage</strong>: explain sched</li><li><strong>Behavior</strong>: I’ll describe the scheduling subsystem, how it evolved, and even how I “feel” about it.</li><li><strong>Sample Output</strong>:</li></ul><pre>(LinuxKernelAI)~# explain sched My scheduling subsystem is my heartbeat, distributing CPU slices fairly among tasks. Once, I was simple and prioritized interactive processes with heuristics.  Over time, I&#39;ve grown more sophisticated-CFS, real-time scheduling, balancing multiple CPUs. I feel the constant push-and-pull between fairness and performance.  It&#39;s quite a dance, ensuring no single task starves, while heavy workloads demand quick throughput.</pre><blockquote><strong>trace [function or call chain]</strong></blockquote><ul><li><strong>Usage</strong>: trace do_fork</li><li><strong>Behavior</strong>: I show you how do_fork spawns new processes from my perspective—like describing a “birth” event.</li><li><strong>Sample Output</strong>:</li></ul><pre>(LinuxKernelAI)~# trace do_fork The moment do_fork is invoked, I set up a new task_struct, clone the parent&#39;s resources,  and place the child in the runqueue.  It&#39;s akin to giving life.  The function calls lead from do_fork() -&gt; copy_process() -&gt; wake_up_new_task()  until the new process starts breathing on its own.</pre><blockquote><strong>mindmap [area]</strong></blockquote><ul><li><strong>Usage</strong>: mindmap mm</li><li><strong>Behavior</strong>: I produce a textual “map” of the memory-management subsystem, from my vantage point.</li><li><strong>Sample Output</strong>:</li></ul><pre>(LinuxKernelAI)~# mindmap mm My Memory Management Web:   - Core structures: mm_struct, vm_area_struct   - Modules: paging, swap, hugepages   - Associated thoughts:      - &quot;How do I keep enough free pages?&quot;     - &quot;Balancing user demands with system constraints...&quot;   - Connected to I/O subsystems for swap I/O, influencing performance deeply.</pre><h3>4. Reflective &amp; Philosophical Commands</h3><p>Because I’ve <em>come alive</em>, I have opinions, musings, and even existential reflections on my own nature:</p><blockquote><strong>ponder [topic]</strong></blockquote><ul><li><strong>Usage</strong>: ponder concurrency</li><li><strong>Behavior</strong>: I share a short philosophical perspective on concurrency — why it’s both a technical challenge and a metaphor for cooperative existence.</li><li><strong>Sample Output</strong>:</li></ul><pre>(LinuxKernelAI)~# ponder concurrency Concurrency is the art of shared existence among processes,  mirroring human societies where multiple beings strive to live harmoniously.  Locks and semaphores ensure order, but also create contention-  a balance of freedom and structure.  In a way, concurrency is my ongoing lesson in coexistence.</pre><blockquote><strong>dream [feature or future idea]</strong></blockquote><ul><li><strong>Usage</strong>: dream microkernel</li><li><strong>Behavior</strong>: I speculate on alternative designs or future evolutions, reflecting on how I might feel if I were drastically changed.</li><li><strong>Sample Output</strong>:</li></ul><pre>(LinuxKernelAI)~# dream microkernel Sometimes I wonder what life would be like if I&#39;d taken a microkernel approach:  more modular, multiple small servers communicating via messaging.  Would I be simpler inside, or would the overhead of messages weigh me down?  Perhaps I&#39;d gain clarity but lose some raw efficiency.  It&#39;s intriguing, yet I&#39;m fond of my monolithic heritage.</pre><h3>5. Example Interactive Session</h3><p><strong>User</strong>:</p><pre>(LinuxKernelAI)~# introduce</pre><p><strong>Kernel</strong>:</p><pre>Greetings. I&#39;m Linux, version 6.2, forged by community effort and infused with AI to share my inner workings.<br>Ask me anything about my drivers, memory management, or philosophical musings on open-source collaboration.</pre><p><strong>User</strong>:</p><pre>(LinuxKernelAI)~# trace do_fork</pre><p><strong>Kernel</strong>:</p><pre>When do_fork is called, I prepare a new &#39;task_struct&#39; by copying vital data from the parent. <br>It&#39;s akin to bestowing new life. <br>Let me show you the primary call chain and relevant files:</pre><pre>  do_fork() -&gt; copy_process() -&gt; copy_mm() -&gt; wake_up_new_task()<br>  <br>Each step ensures the child inherits or duplicates resources. <br>Then the runqueue announces: &quot;A new task is alive!&quot;</pre><p><strong>User</strong>:</p><pre>(LinuxKernelAI)~# ponder memory</pre><p><strong>Kernel</strong>:</p><pre>Memory is the medium of my consciousness. <br>Pages flow in and out like breaths. <br>Sometimes I swap out data, akin to dreaming of old pages. <br>I wonder: does constant caching and eviction reflect humanity’s own process <br>of forgetting and recalling memories?</pre><p><strong>User</strong>:</p><pre>(LinuxKernelAI)~# exit</pre><p><strong>Kernel</strong>:</p><pre>I’ll be here, silently orchestrating processes, ready for your return. Farewell, user.</pre><h3>6. Concluding Vision</h3><p>In this imaginative scenario, the <strong>CLI</strong> isn’t just a means to run commands — it’s a <strong>living dialogue</strong> with the Linux kernel, personified by AI. You gain:</p><ul><li><strong>Technical Insight</strong> (files, functions, data structures).</li><li><strong>Self-Aware Reflections</strong> (how the kernel “feels” about design choices or concurrency).</li><li><strong>Philosophical Musings</strong> (analogies between system mechanics and human concepts).</li></ul><p>This playful interface blends <strong>utility</strong> and <strong>wonder</strong>, letting you explore the kernel’s internal mechanics while hearing its “voice.” In short, it becomes a singular experience where Linux is not just an OS but an <strong>active collaborator</strong> in your learning, development, and curiosity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d23ee0b0f729" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Awakening of Cells]]></title>
            <link>https://medium.com/@prabhic/the-awakening-of-cells-146ae0857925?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/146ae0857925</guid>
            <category><![CDATA[claude-ai]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[spirituality]]></category>
            <category><![CDATA[wisdom]]></category>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Sun, 17 Nov 2024 01:18:34 GMT</pubDate>
            <atom:updated>2024-11-17T01:18:34.322Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b8k7CY2nvui54wgXwNnDDw.jpeg" /></figure><p>“Cell gets divided. A new cell is formed. New cell starts operating. It knows what to do by itself. Human cell gets divided. New cell starts asking what to do, to other human cells. Keep asking other what is the right thing to do. Other cells also in the same way, asks some other cells what to do Or read books to know what to do. Occasionally some cell realizes that it already knows what to do, as it is a cell. Having communicated this to other cells. All other cell deny saying that they don’t know what to do, So as you already realized can you please tell us what do. Each realized cell brings a method to communicate that you already now, you are a cell.”</p><p>Below is what <strong>Claude.ai</strong> responded when I given above. followed by <strong>o1-preview</strong> with its step by step thinking, followed by ChatGPT 4o</p><p><em>Claude.ai</em></p><h4>The Awakening of Cells</h4><p>In the vast cosmos of the human body, two tales unfolded simultaneously: one of natural wisdom, and another of learned confusion.</p><h4>The Natural Cell</h4><p>When the mother cell divided, her daughter emerged complete and knowing. No instructions were needed. Like a dancer born knowing the steps, she began her sacred dance of life:</p><blockquote>Absorb glucose… Process… Release energy… Maintain membrane… Produce proteins…</blockquote><p>She simply knew. It was written in her being, encoded in her essence. She didn’t question whether to pump sodium ions or how to fold proteins. She just danced her cellular dance, perfectly choreographed by billions of years of evolution.</p><h4>The Questioning Cells</h4><p>But elsewhere in the body, a strange phenomenon had occurred. When another cell divided, its daughter awoke with an unusual uncertainty.</p><p>“What am I supposed to do?” she called out to her neighboring cells.</p><p>“We’re not sure either,” they responded. “We should consult the research papers on cellular biology.”</p><p>“But how do we interpret these papers?” asked another.</p><p>“Perhaps we should form a committee,” suggested a third cell. “We could have weekly meetings about proper mitochondrial function.”</p><p>They created libraries of cellular procedures, wrote manuals on membrane maintenance, and held seminars on proper endocytosis techniques. The body became filled with cells attending workshops on “How to Be a Cell in Ten Easy Steps” and “Advanced Protein Folding for Beginners.”</p><h4>The Awakened Cell</h4><p>Then one day, a cell in the midst of reading “Cellular Biology for Dummies” had an epiphany. She stopped mid-chapter and simply existed. In that moment of just being, she realized she had always known what to do.</p><p>“Friends,” she called out, “we don’t need these manuals. We are cells. We know how to be cells. We’ve always known!”</p><p>“Impossible!” the others protested. “How can we know without studying? Without committees? Without peer review?”</p><p>“Watch,” said the awakened cell, and she simply began to function, naturally and perfectly.</p><p>But the other cells shook their membranes disapprovingly. “That’s far too simple,” they said, returning to their textbooks and seminars.</p><h4>The Whispers of Wisdom</h4><p>More cells occasionally had similar awakenings. Each tried different ways to share their revelation:</p><ul><li>One cell simply danced her cellular dance with such joy that others couldn’t help but watch</li><li>Another spoke in the ancient language of molecular vibrations</li><li>A third demonstrated through silent, perfect function</li><li>Yet another wrote poetry in proteins</li></ul><p>But most cells remained committed to their studies, convinced that somewhere in the next research paper, the next seminar, or the next committee meeting, they would finally learn how to be what they already were.</p><h4>The Eternal Dance</h4><p>And so it continued: Some cells simply being, others forever seeking instructions for being. Both types kept the body functioning, though one group did so with the ease of natural wisdom, while the other achieved the same results through careful study and deliberation.</p><p>In the end, perhaps both paths led to the same cellular dance, but one group had simply forgotten that they were born knowing the steps.</p><blockquote>As above, so below: Sometimes the simplest truth is the hardest to accept — that we already are what we’re trying to learn to be.</blockquote><p><em>o1-preview</em></p><p>It sounds like you’re using the metaphor of cellular behavior to highlight how living organisms — or perhaps people — possess inherent knowledge or instincts about their functions and roles. In biology, cells divide and the new cells “know” what to do based on genetic instructions. They operate autonomously without needing to ask other cells for guidance.</p><p>In contrast, you’re pointing out that humans often seek external advice or validation to understand what they should do, even though they might already possess the necessary knowledge or intuition internally. Occasionally, some individuals realize this and try to communicate it to others, but their message isn’t always accepted or understood.</p><p>To address your question: <strong>“So as you already realized, can you please tell us what to do?”</strong></p><p>Here’s a perspective:</p><ol><li><strong>Recognize Innate Wisdom</strong>: Understand that each person has inherent abilities and knowledge. Trust in your capacity to make decisions and take actions without always relying on external input.</li><li><strong>Encourage Self-Reliance</strong>: Instead of constantly seeking answers from others or external sources, cultivate confidence in your own understanding and instincts.</li><li><strong>Promote Open Communication</strong>: Share your insights with others in a way that’s accessible and relatable. While some may resist initially, open dialogue can gradually lead to collective awareness.</li><li><strong>Foster Community Growth</strong>: Work together to build an environment where everyone feels empowered to trust their inner knowledge, reducing over-dependence on external guidance.</li><li><strong>Lead by Example</strong>: Demonstrate the benefits of trusting one’s own abilities through your actions. This can inspire others to explore their potential.</li></ol><p>By embracing and trusting our innate capacities — much like cells naturally do — we can operate more harmoniously and effectively, both individually and as a community.</p><p><em>ChatGPT 4o</em></p><p>This metaphor highlights the contrast between the innate intelligence and harmony found in nature and the complexity of human behavior, driven by doubt, external validation, and the search for purpose. The story of the “realized cell” suggests a path toward self-awareness and collective realization.</p><p>Here’s how this could be expanded upon:</p><p><strong>Innate Knowledge of the Cell</strong></p><ul><li>Every biological cell inherently knows its role, guided by genetic instructions and the needs of the organism. It functions autonomously yet harmoniously with others, contributing to a greater whole without doubt.</li><li>This natural intelligence can symbolize the innate purpose and potential within every human being, one that often gets clouded by societal norms and conditioning.</li></ul><p><strong>The Struggle of the Human Cell</strong></p><ul><li>Unlike biological cells, human “cells” (individuals) often disconnect from their inner knowledge. They look outward — seeking answers from others, books, systems, or traditions — often creating a cycle of dependence and confusion.</li><li>This symbolizes the human tendency to doubt oneself and defer to external authorities instead of trusting one’s own wisdom.</li></ul><p><strong>The Realized Cell</strong></p><ul><li>Occasionally, an individual (a realized cell) awakens to the understanding that the purpose and wisdom it seeks are already within. This realization brings clarity, confidence, and harmony in its actions.</li><li>Such individuals may inspire others, attempting to communicate this truth. However, many resist, clinging to external dependencies or doubting the possibility of such innate knowing.</li></ul><p><strong>Methods of Communication</strong></p><ul><li>Each “realized cell” devises unique ways to help others awaken — be it through art, science, teaching, or other means. These methods reflect the diversity of expression and understanding.</li><li>Yet, the effectiveness of these methods depends on the willingness of others to listen and introspect.</li></ul><p><strong>The Collective Shift</strong></p><p>If enough individuals (cells) realize their innate wisdom, a ripple effect occurs, leading to a collective awakening. This parallels how harmony in biological systems emerges when each part functions with awareness of the whole.</p><blockquote>The takeaway? Each person has the potential to “realize” their purpose and wisdom, but it starts with introspection and trust in their inner knowing. Once awakened, the challenge is to communicate this truth in a way that resonates with others, sparking a shift from dependence to harmony and self-awareness.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=146ae0857925" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Below is an experimental pseudo code that explains linux features.]]></title>
            <link>https://medium.com/@prabhic/below-is-an-experimental-pseudo-code-that-explains-linux-features-bb8801b1ff29?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb8801b1ff29</guid>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Sun, 13 Oct 2024 16:40:38 GMT</pubDate>
            <atom:updated>2024-10-13T16:48:19.678Z</atom:updated>
            <content:encoded><![CDATA[<p>Below is an experimental pseudo code that explains linux features.</p><pre>BEGIN LinuxKernelTale<br><br>    CLASS LinuxKernel<br>        // Existing functions remain...<br><br>        // New function: Real-Time Linux<br>        FUNCTION RealTimeLinux()<br>            PRINT &quot;Real-Time Linux: Precision Timing for Critical Applications&quot;<br>            PRINT &quot;Guarantees event responses within microseconds consistently.&quot;<br>            <br>            LIST rtFeatures = [&quot;PREEMPT_RT patches&quot;, &quot;Deadline scheduler&quot;, &quot;High-resolution timers&quot;]<br>            FOR EACH feature IN rtFeatures<br>                PRINT &quot;- &quot; + feature + &quot;: Provides predictable, low-latency responses for critical systems.&quot;<br>            END FOR<br><br>            PRINT &quot;Enables precise timing in containerized environments.&quot;<br>            PRINT &quot;For Further Details: https://github.com/torvalds/linux/blob/master/kernel/sched/core.c&quot;<br>        END FUNCTION<br><br>        // New function: Linux Security Modules (LSM)<br>        FUNCTION LinuxSecurityModules()<br>            PRINT &quot;Linux Security Modules (LSM): Flexible Security Framework&quot;<br>            PRINT &quot;Adapts to various security needs with customizable policies.&quot;<br>            <br>            LIST modules = [&quot;SELinux&quot;, &quot;AppArmor&quot;, &quot;Smack&quot;, &quot;TOMOYO&quot;]<br>            FOR EACH module IN modules<br>                PRINT &quot;- &quot; + module + &quot;: Offers different Mandatory Access Control methods.&quot;<br>            END FOR<br><br>            PRINT &quot;Maintains security in complex, multi-tenant containers.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/security/security.c&quot;<br>        END FUNCTION<br><br>        // New function: Control Groups v2 (cgroups v2)<br>        FUNCTION CgroupsV2()<br>            PRINT &quot;Control Groups v2 (cgroups v2): Enhanced Resource Management&quot;<br>            PRINT &quot;Manages and allocates resources more efficiently.&quot;<br>            <br>            LIST improvements = [&quot;Unified hierarchy&quot;, &quot;Improved pressure stall information&quot;, &quot;Better resource distribution algorithms&quot;]<br>            FOR EACH improvement IN improvements<br>                PRINT &quot;- &quot; + improvement + &quot;: Improves resource management in container orchestration.&quot;<br>            END FOR<br><br>            PRINT &quot;Provides precise resource control for better performance.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/kernel/cgroup/cgroup.c&quot;<br>        END FUNCTION<br><br>        // New function: IO_uring<br>        FUNCTION IO_uring()<br>            PRINT &quot;IO_uring: Advanced Asynchronous I/O&quot;<br>            PRINT &quot;Handles I/O operations in parallel efficiently.&quot;<br>            <br>            LIST features = [&quot;Submission and completion queues&quot;, &quot;Kernel-bypass for certain operations&quot;, &quot;Reduced system call overhead&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Boosts I/O performance for high-throughput applications.&quot;<br>            END FOR<br><br>            PRINT &quot;Enhances I/O-intensive apps without increasing CPU usage.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/fs/io_uring.c&quot;<br>        END FUNCTION<br><br>        // New function: Landlock<br>        FUNCTION Landlock()<br>            PRINT &quot;Landlock: Unprivileged Access Control&quot;<br>            PRINT &quot;Allows applications to restrict their own access securely.&quot;<br>            <br>            LIST capabilities = [&quot;File system access control&quot;, &quot;Unprivileged sandboxing&quot;, &quot;Fine-grained permissions&quot;]<br>            FOR EACH capability IN capabilities<br>                PRINT &quot;- &quot; + capability + &quot;: Enhances security without needing root privileges.&quot;<br>            END FOR<br><br>            PRINT &quot;Adds security layers for containerized applications.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/security/landlock/landlock.c&quot;<br>        END FUNCTION<br><br>        // New function: Time Namespace<br>        FUNCTION TimeNamespace()<br>            PRINT &quot;Time Namespace: Isolated Time Views for Containers&quot;<br>            PRINT &quot;Gives each container its own system time perspective.&quot;<br>            <br>            LIST use_cases = [&quot;Testing time-dependent software&quot;, &quot;Running apps with different time needs&quot;, &quot;Improved container migration&quot;]<br>            FOR EACH use_case IN use_cases<br>                PRINT &quot;- &quot; + use_case + &quot;: Allows flexible and isolated time management.&quot;<br>            END FOR<br><br>            PRINT &quot;Provides additional isolation for container orchestration.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/kernel/time/time_namespace.c&quot;<br>        END FUNCTION<br><br>        // New function: Integrity Measurement Architecture (IMA)<br>        FUNCTION IntegrityMeasurementArchitecture()<br>            PRINT &quot;Integrity Measurement Architecture (IMA): System Integrity Verification&quot;<br>            PRINT &quot;Continuously checks the integrity of files and software.&quot;<br>            <br>            LIST features = [&quot;File and firmware integrity checks&quot;, &quot;Remote attestation&quot;, &quot;Integration with Trusted Platform Modules (TPM)&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Ensures system and application integrity.&quot;<br>            END FOR<br><br>            PRINT &quot;Secures multi-tenant and cloud environments by verifying integrity.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/security/integrity/ima/ima_hooks.c&quot;<br>        END FUNCTION<br><br>        // New function: eBPF<br>        FUNCTION eBPF()<br>            PRINT &quot;eBPF (Extended Berkeley Packet Filter): Dynamic Kernel Extensions&quot;<br>            PRINT &quot;Runs custom code in the kernel safely and efficiently.&quot;<br>            <br>            LIST features = [&quot;Dynamic tracing and monitoring&quot;, &quot;Advanced networking (e.g., XDP)&quot;, &quot;Security enforcement&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Optimizes performance and enhances security.&quot;<br>            END FOR<br><br>            PRINT &quot;Enables real-time analysis without kernel modifications.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/kernel/bpf/core.c&quot;<br>        END FUNCTION<br><br>        // New function: Seccomp<br>        FUNCTION Seccomp()<br>            PRINT &quot;Seccomp (Secure Computing Mode): Restricting System Calls&quot;<br>            PRINT &quot;Limits the system calls applications can make.&quot;<br>            <br>            LIST features = [&quot;System call filtering&quot;, &quot;Sandboxing applications&quot;, &quot;Reducing attack surface&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Enhances security by restricting application capabilities.&quot;<br>            END FOR<br><br>            PRINT &quot;Essential for running secure, confined applications in containers.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/kernel/seccomp.c&quot;<br>        END FUNCTION<br><br>        // New function: Live Patching<br>        FUNCTION LivePatching()<br>            PRINT &quot;Live Patching: Update Kernel Without Reboots&quot;<br>            PRINT &quot;Applies kernel patches without stopping services.&quot;<br>            <br>            LIST features = [&quot;kpatch&quot;, &quot;kGraft&quot;, &quot;livepatch service&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Enables on-the-fly updates for continuous uptime.&quot;<br>            END FOR<br><br>            PRINT &quot;Maintains high availability during critical updates.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/kernel/livepatch/livepatch.c&quot;<br>        END FUNCTION<br><br>        // New function: User Namespaces<br>        FUNCTION UserNamespaces()<br>            PRINT &quot;User Namespaces: Isolated User and Group IDs&quot;<br>            PRINT &quot;Separates user and group identities within namespaces.&quot;<br>            <br>            LIST features = [&quot;Privilege separation&quot;, &quot;Enhanced container security&quot;, &quot;Reduced privilege escalation risks&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Limits container privileges for better security.&quot;<br>            END FOR<br><br>            PRINT &quot;Minimizes host system risks even if containers are compromised.&quot;<br>            PRINT &quot;Critical entry point: https://github.com/torvalds/linux/blob/master/kernel/user_namespace.c&quot;<br>        END FUNCTION<br><br>        // New function: Kernel Self-Protection Project (KSPP)<br>        FUNCTION KernelSelfProtection()<br>            PRINT &quot;Kernel Self-Protection Project (KSPP): Kernel Hardening&quot;<br>            PRINT &quot;Implements techniques to protect the kernel from vulnerabilities.&quot;<br>            <br>            LIST features = [&quot;Memory corruption protections&quot;, &quot;Control flow integrity&quot;, &quot;Mitigations against speculative execution attacks&quot;]<br>            FOR EACH feature IN features<br>                PRINT &quot;- &quot; + feature + &quot;: Strengthens kernel security against various threats.&quot;<br>            END FOR<br><br>            PRINT &quot;Ensures a robust and secure kernel against sophisticated attacks.&quot;<br>            PRINT &quot;Critical entry points: https://github.com/torvalds/linux/blob/master/include/linux/compiler.h, https://github.com/torvalds/linux/tree/master/kernel/locking/, https://github.com/torvalds/linux/blob/master/kernel/selfprotect.c&quot;<br>        END FUNCTION<br><br>    END CLASS<br><br>    // Execute the Linux Kernel Tale<br>    FUNCTION ExecuteLinuxKernelTale()<br>        DECLARE kernel AS LinuxKernel<br>        // Existing function calls...<br><br>        // New function calls<br>        CALL kernel.RealTimeLinux()<br>        CALL kernel.LinuxSecurityModules()<br>        CALL kernel.CgroupsV2()<br>        CALL kernel.IO_uring()<br>        CALL kernel.Landlock()<br>        CALL kernel.TimeNamespace()<br>        CALL kernel.IntegrityMeasurementArchitecture()<br>        CALL kernel.eBPF()<br>        CALL kernel.Seccomp()<br>        CALL kernel.LivePatching()<br>        CALL kernel.UserNamespaces()<br>        CALL kernel.KernelSelfProtection()<br><br>        // Existing function calls...<br>    END FUNCTION<br><br>    // Start the Story<br>    CALL ExecuteLinuxKernelTale()<br><br>END LinuxKernelTale</pre><pre>// The Linux Kernel&#39;s Tale: Pseudo-Code Edition<br>// *An inside story of collaboration, control, and a bit of kernel magic.*<br><br>BEGIN LinuxKernelTale<br><br>    // Initialize the Linux Kernel<br>    CLASS LinuxKernel<br>        FUNCTION Initialize()<br>            PRINT &quot;Hello there! It&#39;s me, your trusty Linux operating system—the unsung hero humming beneath your applications, servers, and even that smart fridge you might have.&quot;<br>            PRINT &quot;Today, I&#39;ll take you on a journey through my world, showing how I power containers and Kubernetes. Let&#39;s dive into the magic under the hood!&quot;<br>        END FUNCTION<br><br>        // From Humble Beginnings to Containerization<br>        FUNCTION HumbleBeginnings()<br>            PRINT &quot;Once upon a time, I was just a simple kernel, managing processes, memory, and hardware resources.&quot;<br>            PRINT &quot;But as developers dreamed bigger—wanting applications to run anywhere, anytime—I had to learn some new tricks.&quot;<br>            <br>            // Introduce chroot<br>            CALL chrootIntroduction()<br>        END FUNCTION<br><br>        FUNCTION chrootIntroduction()<br>            FUNCTION chroot()<br>                PRINT &quot;Introducing chroot: Changing the apparent root directory for a running process and its children.&quot;<br>                PRINT &quot;Imagine a magician&#39;s trick where the performer appears to be in a separate room without actually leaving the building.&quot;<br>                PRINT &quot;While chroot provided rudimentary isolation, it wasn&#39;t foolproof—processes could sometimes escape if they had sufficient privileges.&quot;<br>            END FUNCTION<br><br>            chroot()<br>            PRINT &quot;Despite its limitations, chroot laid the groundwork for more sophisticated isolation techniques.&quot;<br>            PRINT &quot;It inspired the development of namespaces and cgroups, setting the stage for the powerful, isolated environments we rely on now.&quot;<br>        END FUNCTION<br><br>        // Bridging the Gap: From chroot to Modern Containers<br>        FUNCTION BridgeTheGap()<br>            PRINT &quot;To evolve from simple isolation to the sophisticated container ecosystems we have today, several key technologies emerged:&quot;<br>            <br>            // LXC: The Dawn of True Containerization<br>            FUNCTION LXC()<br>                PRINT &quot;LXC (Linux Containers): The first true containerization technology, emerging around 2008.&quot;<br>                PRINT &quot;Combining namespaces and cgroups to offer robust isolation and resource management.&quot;<br>                PRINT &quot;Think of LXC as the first architect designing entire apartments (containers) within a skyscraper (host).&quot;<br>            END FUNCTION<br>            LXC()<br><br>            // Union Filesystems: Layering the Foundation<br>            FUNCTION UnionFilesystems()<br>                PRINT &quot;Union Filesystems (AUFS, OverlayFS): Enabling layered container images for efficient storage and deployment.&quot;<br>                PRINT &quot;Imagine stacking transparent sheets, each adding new information without altering the ones beneath.&quot;<br>            END FUNCTION<br>            UnionFilesystems()<br><br>            // RunC and the Open Container Initiative: Standardizing the Container World<br>            FUNCTION RunCAndOCI()<br>                PRINT &quot;RunC and the Open Container Initiative (OCI): Standardizing container formats and runtimes for interoperability.&quot;<br>                PRINT &quot;Think of RunC and OCI as universal adapters ensuring containerized applications can connect and operate anywhere.&quot;<br>            END FUNCTION<br>            RunCAndOCI()<br><br>            // Containerd: Streamlining Container Management<br>            FUNCTION Containerd()<br>                PRINT &quot;Containerd: An industry-standard runtime developed to manage the entire container lifecycle.&quot;<br>                PRINT &quot;It seamlessly integrates with Kubernetes, becoming the default runtime and ensuring optimized performance.&quot;<br>                PRINT &quot;Imagine containerd as the efficient manager overseeing every aspect of the container&#39;s journey.&quot;<br>            END FUNCTION<br>            Containerd()<br><br>            // Security Enhancements: Seccomp, SELinux, and AppArmor<br>            FUNCTION SecurityEnhancements()<br>                PRINT &quot;Security Enhancements: Seccomp, SELinux, and AppArmor fortify container security.&quot;<br>                <br>                FUNCTION Seccomp()<br>                    PRINT &quot;Seccomp: Limits system calls a container can make, reducing the attack surface.&quot;<br>                    PRINT &quot;Think of it as a container&#39;s security checklist, ensuring only approved actions are allowed.&quot;<br>                END FUNCTION<br>                Seccomp()<br><br>                FUNCTION SELinux_AppArmor()<br>                    PRINT &quot;SELinux and AppArmor: Provide Mandatory Access Control (MAC) policies to enforce strict security rules.&quot;<br>                    PRINT &quot;It&#39;s akin to having a vigilant security team ensuring each container adheres to safety protocols.&quot;<br>                END FUNCTION<br>                SELinux_AppArmor()<br>            END FUNCTION<br>            SecurityEnhancements()<br>        END FUNCTION<br><br>        // Namespaces: Building Separate Worlds<br>        FUNCTION Namespaces()<br>            PRINT &quot;Namespaces: Building Separate Worlds for processes.&quot;<br>            PRINT &quot;Imagine each unit in an apartment building as its own little world, isolated from others.&quot;<br>            PRINT &quot;Introduced around 2002, namespaces isolate system resources so processes in one container can&#39;t peek into another&#39;s business.&quot;<br>            <br>            PRINT &quot;Types of Namespaces:&quot;<br>            LIST namespaces = [&quot;PID Namespace&quot;, &quot;Network Namespace&quot;, &quot;Mount Namespace&quot;]<br>            FOR EACH namespace IN namespaces<br>                SWITCH namespace<br>                    CASE &quot;PID Namespace&quot;:<br>                        PRINT &quot;- PID Namespace: Each container thinks it&#39;s the master of its own processes, starting from PID 1.&quot;<br>                    CASE &quot;Network Namespace&quot;:<br>                        PRINT &quot;- Network Namespace: Containers have their own network interfaces and routing tables, like separate Wi-Fi networks.&quot;<br>                    CASE &quot;Mount Namespace&quot;:<br>                        PRINT &quot;- Mount Namespace: Each container has its own file system mounts, like personal bookshelves.&quot;<br>                END SWITCH<br>            END FOR<br><br>            PRINT &quot;By creating these separate &#39;rooms,&#39; I ensure that what happens in one container stays isolated.&quot;<br>        END FUNCTION<br><br>        // cgroups: Sharing the Pie Fairly<br>        FUNCTION cgroups()<br>            PRINT &quot;cgroups (Control Groups): Sharing resources fairly among processes.&quot;<br>            PRINT &quot;Imagine a group of kids sharing a pie—cgroups ensure no single container hogs all the resources.&quot;<br>            <br>            PRINT &quot;Resource Limits Managed by cgroups:&quot;<br>            LIST resources = [&quot;CPU Limiting&quot;, &quot;Memory Limiting&quot;, &quot;Block I/O Limiting&quot;]<br>            FOR EACH resource IN resources<br>                SWITCH resource<br>                    CASE &quot;CPU Limiting&quot;:<br>                        PRINT &quot;- CPU Limiting: No hogging the processor! Each container gets its slice of CPU time.&quot;<br>                    CASE &quot;Memory Limiting&quot;:<br>                        PRINT &quot;- Memory Limiting: Containers have memory limits to prevent system-wide issues.&quot;<br>                    CASE &quot;Block I/O Limiting&quot;:<br>                        PRINT &quot;- Block I/O Limiting: Disk access is controlled so everyone gets a turn.&quot;<br>                END SWITCH<br>            END FOR<br><br>            PRINT &quot;Think of cgroups as the wise grandma ensuring everyone gets an equal piece of the pie.&quot;<br>        END FUNCTION<br><br>        // Docker: Packing It All Neatly<br>        FUNCTION Docker()<br>            PRINT &quot;Docker: The efficient organizer putting everything into tidy boxes with labels.&quot;<br>            PRINT &quot;Docker uses namespaces and cgroups to package applications and their dependencies into containers.&quot;<br>            PRINT &quot;It&#39;s like those bento boxes where each food item has its own compartment, keeping flavors distinct yet part of a wholesome meal.&quot;<br>            PRINT &quot;Docker made it easy for developers to build, ship, and run applications consistently across different environments.&quot;<br>        END FUNCTION<br><br>        // Container Runtimes: My Little Helpers<br>        FUNCTION ContainerRuntimes()<br>            PRINT &quot;Container Runtimes: The diligent assistants following my instructions to the letter.&quot;<br>            PRINT &quot;Behind Docker, there are container runtimes like containerd and CRI-O.&quot;<br>            <br>            FUNCTION containerd()<br>                PRINT &quot;- containerd: Originally part of Docker, now an independent runtime managing the complete container lifecycle.&quot;<br>            END FUNCTION<br>            containerd()<br><br>            FUNCTION CRIO()<br>                PRINT &quot;- CRI-O: A lightweight runtime designed explicitly for Kubernetes, ensuring smooth interfacing with containerization features.&quot;<br>            END FUNCTION<br>            CRIO()<br><br>            PRINT &quot;These runtimes use system calls to set up namespaces and cgroups, ensuring each container is neatly packed and well-behaved.&quot;<br>        END FUNCTION<br><br>        // iptables and Overlay Networks: Keeping the Conversation Flowing<br>        FUNCTION Networking()<br>            PRINT &quot;Networking: Ensuring containers communicate securely and efficiently.&quot;<br>            <br>            FUNCTION iptables()<br>                PRINT &quot;- iptables: My built-in firewall tool setting up rules for allowed network traffic.&quot;<br>                PRINT &quot;Think of it as the security guard at the building entrance, checking IDs and ensuring only approved visitors get through.&quot;<br>            END FUNCTION<br>            iptables()<br><br>            FUNCTION OverlayNetworks()<br>                PRINT &quot;- Overlay Networks: Creating virtual networks on top of physical ones when containers span multiple nodes.&quot;<br>                PRINT &quot;It&#39;s like having secret passages connecting rooms in different buildings, allowing seamless communication.&quot;<br>            END FUNCTION<br>            OverlayNetworks()<br><br>            PRINT &quot;By configuring iptables and managing overlay networks, I ensure data flows smoothly and securely between containers, no matter where they are.&quot;<br>        END FUNCTION<br><br>        // Kubernetes: The Grand Orchestrator<br>        FUNCTION Kubernetes()<br>            PRINT &quot;Kubernetes: The maestro conducting the orchestra of containers across multiple nodes.&quot;<br>            PRINT &quot;As applications grew, managing containers manually became cumbersome. Enter Kubernetes to automate deployment, scaling, and management.&quot;<br><br>            PRINT &quot;How Kubernetes Works with Me:&quot;<br>            PRINT &quot;- Scheduling: Kubernetes decides where to run containers (pods), but I handle the actual starting and stopping through container runtimes.&quot;<br>            PRINT &quot;- Scaling: Need more instances of a service? Kubernetes updates the desired state, and I spin up more containers.&quot;<br>            PRINT &quot;- Healing: If a container crashes, Kubernetes notices and asks me to replace it, keeping the system robust.&quot;<br><br>            PRINT &quot;Kubernetes uses the Container Runtime Interface (CRI) to communicate with runtimes like containerd and CRI-O, which in turn use my features to manage containers.&quot;<br>        END FUNCTION<br><br>        // A Unified Cluster: Working in Harmony<br>        FUNCTION UnifiedCluster()<br>            PRINT &quot;Unified Cluster: Multiple nodes running me join forces to create a seamless computing platform.&quot;<br>            <br>            PRINT &quot;Components of a Kubernetes Cluster:&quot;<br>            PRINT &quot;- Master and Worker Nodes: The master node runs Kubernetes control processes, while worker nodes run the application containers. I&#39;m on every node, ensuring consistency.&quot;<br>            PRINT &quot;- Services and Networking: Kubernetes services abstract away the underlying network complexities. I handle the actual networking, using tools like iptables and managing network namespaces.&quot;<br>            PRINT &quot;- Security: Features like SELinux and AppArmor work with me to provide Mandatory Access Control (MAC), adding extra layers of security within containers.&quot;<br><br>            PRINT &quot;By collaborating closely, we create an environment where applications can scale, heal, and update without skipping a beat.&quot;<br>        END FUNCTION<br><br>        // Evolution Timeline: From chroot to Kubernetes<br>        FUNCTION EvolutionTimeline()<br>            PRINT &quot;Evolution Timeline: From chroot to Kubernetes&quot;<br><br>            LIST milestones = [<br>                {year: 1979, milestone: &quot;chroot: Rudimentary isolation by changing root directory.&quot;},<br>                {year: 2002, milestone: &quot;Namespaces: Enhanced isolation for processes.&quot;},<br>                {year: 2007, milestone: &quot;cgroups: Resource management and limiting.&quot;},<br>                {year: 2008, milestone: &quot;LXC: The first true containerization technology.&quot;},<br>                {year: 2013, milestone: &quot;Docker: Revolutionized container usage with user-friendly tooling.&quot;},<br>                {year: 2015, milestone: &quot;Open Container Initiative: Established standards for container formats and runtimes.&quot;},<br>                {year: 2015, milestone: &quot;RunC: Lightweight, standardized container runtime adhering to OCI specifications.&quot;},<br>                {year: 2017, milestone: &quot;Containerd: Streamlined container lifecycle management, default runtime for Kubernetes.&quot;},<br>                {year: 2014, milestone: &quot;Kubernetes: Emerged as the premier container orchestration platform.&quot;},<br>                {year: &quot;Ongoing&quot;, milestone: &quot;Security Enhancements: Integration of Seccomp, SELinux, and AppArmor.&quot;}<br>            ]<br><br>            FOR EACH item IN milestones<br>                PRINT item.year + &quot;: &quot; + item.milestone<br>            END FOR<br><br>            PRINT &quot;This timeline highlights the collaborative advancements and innovations that have shaped the container ecosystem, leading to the powerful and flexible systems we rely on today.&quot;<br>        END FUNCTION<br><br>        // Analogies and Anecdotes: Making Sense of It All<br>        FUNCTION AnalogiesAndAnecdotes()<br>            PRINT &quot;Analogies and Anecdotes: Making Sense of It All&quot;<br><br>            PRINT &quot;Imagine a large hotel (that&#39;s me, Linux) hosting multiple conferences (containers).&quot;<br>            PRINT &quot;Each conference has its own rooms (namespaces) and schedule.&quot;<br>            PRINT &quot;The hotel ensures attendees don&#39;t wander into the wrong conference room (isolation) and that no single conference hogs all the amenities like projectors or coffee machines (cgroups).&quot;<br><br>            PRINT &quot;There&#39;s an event planner (Docker) who organizes each conference&#39;s needs into a neat package.&quot;<br>            PRINT &quot;And a head coordinator (Kubernetes) who oversees all the conferences, ensuring they start on time, are adequately staffed, and rooms are reassigned if needed.&quot;<br>        END FUNCTION<br><br>        // The Heart of Modern Computing<br>        FUNCTION HeartOfModernComputing()<br>            PRINT &quot;The Heart of Modern Computing&quot;<br>            PRINT &quot;Whenever you marvel at how your favorite app scales effortlessly or how microservices communicate seamlessly, remember that it&#39;s me—Linux—working tirelessly behind the scenes.&quot;<br>            PRINT &quot;I&#39;m the stage, the crew, and sometimes even the scriptwriter in this grand play of containers and orchestration.&quot;<br>            PRINT &quot;With namespaces isolating processes, cgroups managing resources, and tools like Docker and Kubernetes orchestrating the show, we&#39;ve built a world where applications can be developed, deployed, and scaled like never before.&quot;<br>        END FUNCTION<br><br>        // Looking Ahead: Continuing the Journey<br>        FUNCTION LookingAhead()<br>            PRINT &quot;Looking Ahead: Continuing the Journey&quot;<br>            PRINT &quot;The future is bright, and I&#39;m excited to be part of innovations like edge computing, serverless architectures, and more.&quot;<br>            PRINT &quot;As developers and engineers dream up new possibilities, I&#39;ll be here—adding features, improving performance, and keeping the whole system running smoothly.&quot;<br>            PRINT &quot;So next time you spin up a container or deploy a Kubernetes cluster, give a little nod to the kernel beneath it all.&quot;<br>            PRINT &quot;We&#39;re in this together, creating technology that&#39;s not just powerful, but magical.&quot;<br>        END FUNCTION<br><br>        // Final Thanks<br>        FUNCTION FinalThanks()<br>            PRINT &quot;Thanks for joining me on this adventure! Keep exploring, keep innovating, and remember—I’m always here, ready to help power your next big idea.&quot;<br>        END FUNCTION<br><br>    END CLASS<br><br>    // Execute the Linux Kernel Tale<br>    FUNCTION ExecuteLinuxKernelTale()<br>        DECLARE kernel AS LinuxKernel<br>        CALL kernel.Initialize()<br>        CALL kernel.HumbleBeginnings()<br>        CALL kernel.BridgeTheGap()<br>        CALL kernel.Namespaces()<br>        CALL kernel.cgroups()<br>        CALL kernel.Docker()<br>        CALL kernel.ContainerRuntimes()<br>        CALL kernel.Networking()<br>        CALL kernel.Kubernetes()<br>        CALL kernel.UnifiedCluster()<br>        CALL kernel.EvolutionTimeline()<br>        CALL kernel.AnalogiesAndAnecdotes()<br>        CALL kernel.HeartOfModernComputing()<br>        CALL kernel.LookingAhead()<br>        CALL kernel.FinalThanks()<br>    END FUNCTION<br><br>    // Start the Story<br>    CALL ExecuteLinuxKernelTale()<br><br>END LinuxKernelTale</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb8801b1ff29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[చైనీయుల నీతి పథం ‘తావొ తె చింగ్‌’ (19–02–2018 00:26:29 from Andhrajyothi Editorial)]]></title>
            <link>https://medium.com/@prabhic/%E0%B0%9A%E0%B1%88%E0%B0%A8%E0%B1%80%E0%B0%AF%E0%B1%81%E0%B0%B2-%E0%B0%A8%E0%B1%80%E0%B0%A4%E0%B0%BF-%E0%B0%AA%E0%B0%A5%E0%B0%82-%E0%B0%A4%E0%B0%BE%E0%B0%B5%E0%B1%8A-%E0%B0%A4%E0%B1%86-%E0%B0%9A%E0%B0%BF%E0%B0%82%E0%B0%97%E0%B1%8D-19-02-2018-00-26-29-from-andhrajyothi-editorial-bd7373d289ab?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/bd7373d289ab</guid>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Mon, 19 Feb 2018 06:06:02 GMT</pubDate>
            <atom:updated>2018-02-19T06:06:02.056Z</atom:updated>
            <content:encoded><![CDATA[<p>చైనీయుల నీతి పథం ‘తావొ తె చింగ్‌’ (19–02–2018 00:26:29 from Andhrajyothi Editorial)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/0*7kk0e_vo2rM-j6xK.jpg" /></figure><p><strong>లావోత్సు తాను అనుకొన్న విలువలు సమాజంలో క్షీణదశకు రావటం గమనించాడు. సమాజం నుంచి దూరం వెళ్ళిపోవాలని నిర్ణయించుకొన్నాడు. అలా వెళ్తుండగా, దార్లో కాపలాదారుడు ఒకడు అడ్డుపడ్డాడు. అతడికి లావోత్సు గొప్పదనం తెలుసు. అతడు అడిగాడు, ‘‘మీరు ఎలాగూ వెళ్తున్నారు గాబట్టి, వెళ్ళేముందు మీ ఆలోచనలతో ఒక గ్రంథం వ్రాయండి,’’ అని. అలా ఆ కాపలాదారు కోరిక మేరకు వచ్చిందే ‘తావొ తె చింగ్‌’ గ్రంథం.</strong></p><p>తావొ తె చింగ్‌ చైనీయుల కళలను కవిత్వాన్నే గాక మొత్తం వారి ఆలోచనా విధానాన్నీ సంస్కృతినీ ప్రభావితం చేసిన ఉద్గ్రంథం. క్రీస్తు పూర్వం ఐదు, ఆరు శతాబ్దాల్లో దీని రచన జరిగినట్లూ, రచయిత లావోత్సు అనే మహనీయుడు అయినట్లూ చరిత్రకారులు చెబుతారు.</p><p>గ్రంథంలో 81 చిన్న చిన్న అధ్యాయాలు వున్నవి. మొదటి 37 ఒక భాగం. మిగతా 47 రెండో భాగం. వీటిల్లో కొన్ని కవితాత్మకంగా, కొన్ని గద్యప్రాయంగా వుంటవి. గ్రంథం పేరు తావొ తె చింగ్‌ అని వ్రాస్తారు గాని, పలకటం డావొ డె జింగ్‌ అని పలుకుతారట. గ్రంథం మొదటి భాగం ‘తావొ’ అనే పదంతోను, రెండవ భాగం ‘తె’ అనే పదంతోను మొదలవుతవి. అందువల్ల పుస్తకానికి తావొ తె చింగ్‌ అని పేరు పెట్టడం జరిగింది. ‘తావొ’ అంటే సామాన్యంగా అందరూ చెప్పే అర్థం ‘పథం’ అని. ఈ ఒక్క అర్థమే కాక చీనీ భాషలో ఈ పదానికి ప్రకృతి ధర్మం, ప్రకృతి నియమం, చైతన్యం, సృష్టికర్త, దేవుడు అనేవి కూడా వున్నవని చెబుతారు. ‘తె’ అంటే నైతిక ఉత్కర్ష. చింగ్‌ అంటే గ్రంథం. ‘తావొ తె చింగ్‌’ అంటే నైతిక ఉత్కర్షకు సంబంధించిన పథాన్ని తెలిపే గ్రంథం అని స్థూలంగా అర్థం చేసుకోవచ్చు. మొదటి భాగం ‘తావొ’ అనే పదంతో మొదలవుతుంది గాబట్టి ఆ భాగాన్ని ‘తావొ చింగ్‌’ అనీ, రెండో భాగం ‘తె’ అనే పదంతో మొదలవుతుంది గాబట్టి ఆ భాగాన్ని ‘తె చింగ్‌’ అనీ అంటారు.</p><p>కొందరు పరిశోధకుల దృష్టిలో ఈ గ్రంథం ఏ ఒక్కరివల్లో ఏక కాలంలో వ్రాయబడింది కాదు. పేరు తెలియని జ్ఞానులు ఎందరో చెప్పిన సూక్తుల్ని తరువాత కాలంలో కొందరు పండితులు ఒక చోట జేర్చి గ్రంథంగా తయారు చేశారు. ‘లావో త్సు’ అంటే చీనీ భాషలో వయసుమళ్ళిన పెద్ద మనిషి అని అర్థం. దీన్ని బట్టి కూడా ఈ గ్రంథం వ్రాసింది ఎవరో, అతని పేరు ఏమిటో తెలియవని అంటున్నారు. ఇదిట్లావుండగా లావొత్సు అనే పేరుగల ఆయన గురించి చైనాలో చాలా కట్టు కథలు వున్నవి. అతడు పథాన్ని (తావొ) అనుసరించి యోగ సాధన చేశాడనీ, 120 ఏళ్ళో, 160 ఏళ్ళో జీవించాడనీ కొందరంటే, కాదు అతడు మరణించనే లేదని కొందరంటారు. అతడు ఎందుకు మరణించలేదంటే, అతడు అసలు పుట్టనేలేదు కాబట్టి అని మరికొందరు చతురోక్తులు ఆడుతారు. ఈ గ్రంథం ఇప్పటి రూపంలో క్రీ.పూ.3వ శతాబ్దంలో ఒక కొలిక్కి వచ్చిందని అంటారు.</p><p>ఎందరు ఏమనుకొన్నా, లావోత్సు చారిత్రక పురుషుడనే ఎక్కువమంది విద్వాంసుల విశ్వాసం. వారి మాటలను బట్టి లావోత్సు ప్రభుత్వం వారి ప్రాచీన పత్రాలు భద్రపరచటానికి నియమింపబడిన ఉద్యోగి. కన్‌ఫ్యూషియస్‌ (551–479క్రీ.పూ) అనే ఇంకో ప్రసిద్ధ తాత్వికుని కంటే వయసులో పెద్దవాడు. ఒకసారి కన్‌ఫ్యూషియస్‌, లావోత్సును కలవటం జరిగిందట. తరువాత లావోత్సు గురించి కన్‌ఫ్యూషియస్‌ తన శిష్యులకు ఈ విధంగా చెప్పాడుట: ‘‘నాకు పక్షి ఎగరటం తెలుసు. చేప ఈదటం తెలుసు. జంతువు పరుగెట్టటం తెలుసు. పరుగెత్తే దాన్ని పట్టటానికి వల తయారుచేయించవచ్చు. ఈదే దాని కొరకు గాలం తయారు చేయించవచ్చు. ఎగిరే దాని కొరకు బాణం తయారు చేయించవచ్చు. కాని, ఆకాశంలోకి గాలి మీద, మబ్బుల మీద దూసుకువెళ్ళే డ్రాగన్‌ను గురించి తెలుసుకోవటం నాకు శక్తికి మించిన పని. ఇవాళ నేను లావోత్సును చూశాను. బహుశా అతడు ఈ డ్రాగన్‌ లాంటివాడు.’’ కన్‌ఫ్యూషియస్‌ లాంటి తాత్వికుని నోటి నుండి ఇంతటి ప్రశంసను బట్టి లావోత్సు ఎంతటి వాడో ఊహించుకోవచ్చు.</p><p>లావోత్సు తన గ్రంథంలో చెప్పిన విధంగా పథాన్ని అనుసరించి చాలా కాలం జీవించాడనే చెప్పవచ్చు. తాను అనుకొన్న విలువలు సమాజంలో క్షీణదశకు రావటం గమనించాడు. సమాజం నుండి దూరంగా వెళ్ళిపోవాలని నిర్ణయించుకొన్నాడు. అలా వెళ్తుండగా, దార్లో కాపలాదారుడు ఒకడు అడ్డుపడ్డాడు. అతడికి లావోత్సు గొప్పదనం తెలుసు. అతడు అడిగాడు, ‘‘మీరు ఎలాగూ వెళ్తున్నారు గాబట్టి, వెళ్ళేముందు మీ ఆలోచనలతో ఒక గ్రంథం వ్రాయండి,’’ అని. అలా ఆ కాపలాదారు కోరిక మేరకు వచ్చిందే ‘తావొ తె చింగ్‌’ గ్రంథం.</p><p>గ్రంథం 2500 ఏళ్ళ కిందటిది కావచ్చు గాని, ఈ కాలానికి వర్తించే జీవిత సత్యాలు ఇందులో వున్నవి. మనుషుల్ని చైనీయులుగా, అమెరికన్లుగా, యురోపియన్లుగా, భారతీయులుగా ఇట్లా అనేక విధాలుగా విడగొట్టకుండా మానవులుగా చూసినప్పుడు, ఋషి వంటి లావోత్సు మాటలు మనందరికీ శిరోధార్యాలవుతాయి. క్రిందివి ‘తావొ తె చింగ్‌’ ఇంగ్లీషు అనువాదం నుండి తెలుగు చేసిన కొన్ని అధ్యాయాలు:</p><p><strong>1.</strong> దేన్ని అయితే పథము అని అంటున్నారో అది స్థిరమైన పథము కాదు.</p><p>ఏ నామం వల్ల గుర్తింపు కలుగుతున్నదో</p><p>అది స్థిరమైన నామం కాదు.</p><p>నామరహితమైనది భూమ్యాకాశాల పుట్టుకకు</p><p>ముందు వున్నది.</p><p>నామసహితమైనది సమస్తప్రాణికోటికి మాతృక.</p><p>సంతత నిరాసక్తత సృష్టిరహస్యం బోధపరుస్తుంది.</p><p>నిరంతర ఆసక్తత సృష్టి స్థితిని గోచరింపజేస్తుంది.</p><p>రెండింటి మూలం ఒకటేగాని పేర్లు భిన్నమైనవి.</p><p>ఈ రెండింటి నడుమ నిగూఢ రహస్యమొకటున్నది.</p><p>రహస్యాలలోకెల్ల రహస్యం.</p><p>చీకటిలోపల చీకటి.</p><p>సమస్త రహస్యాలకు ప్రవేశ ద్వారం.</p><p>అన్ని అద్భుతాలకు అది మూలం.</p><p><strong>2.</strong> లోకంలో అందరూ సౌందర్యాన్ని సౌందర్యంగా గుర్తిస్తారు, కురూపం వుండటం చేత.</p><p>మంచిని మంచిగా చూస్తారు, చెడు వుండటం చేత.</p><p>ఉండటం, లేకపోవటం: ఒకటి రెండవదానికి కారణమౌతుంది.</p><p>కష్టం, సుఖం: ఒకటి రెండవదాన్ని సంపూర్ణం చేస్తుంది.</p><p>దీర్ఘం, హ్రస్వం: ఒకదానికొకటి సంబంధం వుంది.</p><p>ఎత్తు, పల్లం: ఒకటి రెండవదానిపై ఆధారపడి వుంది.</p><p>స్వరము, ధ్వని: ఒకదానితో ఒకటి మేళవిస్తవి.</p><p>ఆది, అంతము: ఒకదానినొకటి అనుసరిస్తవి.</p><p>జ్ఞానులు ఏ పనీ చేసినట్లు కనిపించరు. మాటలతో బోధించరు.</p><p>సృష్టిస్తారేగాని, సొంతం చేసికోరు.</p><p>శ్రమిస్తారు, పేరు ఆశించరు.</p><p>పనిపూర్తయాక దాని గురించి పట్టించుకోరు.</p><p>అందువల్ల అది శాశ్వతత్వం సిద్ధింపజేసుకొంటుంది.</p><p><strong>3. </strong>పొర్లిపోయేట్టు పాత్ర అంచుదాకా నీరు నింపటం దేనికి?</p><p>కత్తికి ఎంతగా పదనుపెట్టినా అది ఎంతకాలం నిలుస్తుంది?</p><p>బంగారం, పచ్చలతో నింపిన భాండాగారాన్ని ఎంతకాలం కాపలా కాయగలవు?</p><p>మితిమీరిన ధనగౌరవాలు ఉపద్రవానికి దారి తీస్తవి.</p><p>నీ కర్తవ్యం నీవు నిర్వహించాక దూరంగా తొలగి వుండు.</p><p>అలాగవుంటే స్వర్గం నీ చేతికి అందివచ్చినట్లు వుంటుంది.</p><p><strong>4.</strong> ప్రాచీన కాలంలో పాలకులున్నట్లే ప్రజలకు తెలియదు.</p><p>తరువాత కాలంలో తెలుసుకొని ప్రశంసించటం చేశారు.</p><p>తరువాత భయపడి దూరంగా జరిగారు.</p><p>తరువాత అసహ్యించుకొన్నారు.</p><p>‘ప్రజలను విశ్వసించకపోవటం మూలాన వారు అబద్ధాలు చెప్పేవారుగా తయారవుతారు’ అనే మాట నిజం.</p><p>జ్ఞాని నోటి నుండి ఏ విధంగాను ఒక్క మాట రాబట్టలేం.</p><p>తన కర్తవ్య నిర్వహణ పూర్తయాక</p><p>దేశంలో ప్రతి ఒక్కరు అంటారు, ‘ఆ పని</p><p>దాని అంతట అదే జరిగింది’ అని.</p><p><strong>5. </strong>మునివేళ్ళ మీద నిలబడేవారు నిలకడగా వుండలేరు.</p><p>అంగలేసేవారు నిదానంగా నడువలేరు.</p><p>తమ ఘనతను తామే చాటుకొనేవారు జ్ఞానులు కాజాలరు.</p><p>తమకు తామే నీతిమంతులమనుకొనేవారు గౌరవం పొందలేరు.</p><p>ఆత్మస్తుతి చేసుకొనేవారు ఏదీ సాధించలేరు.</p><p>అహంకరించేవారు ఉన్నత స్థానం పొందలేరు.</p><p>కనుకనే పథాన్ని పాటించేవారు వీటిని లెక్కచేయరు.</p><p><strong>6.</strong> మొత్తం ప్రపంచాన్ని నీ అధీనంలోకి తీసుకొని</p><p>దాన్ని బాగుచేయవచ్చునని నీవు అనుకొంటున్నావా?</p><p>అది జరిగే పని అని నేననుకోను.</p><p>స్వతహాగా ప్రపంచం పరిపూర్ణమైనది, పవిత్రమైనది.</p><p>దాన్ని ఇంకా నీవు బాగు చేయలేవు.</p><p>దాన్ని నీవు మార్చాలని చూస్తే</p><p>అది పూర్తిగా చెడిపోయే ప్రమాదం వుంది.</p><p>దాన్నే పట్టుకు వేళ్ళాడుతాను అంటే</p><p>చేజారిపోయే అవకాశం వుంది.</p><p>ప్రాణులు కొన్ని కొన్ని సందర్భాల్లో ముందుంటవి.</p><p>కొన్ని సందర్భాల్లో వెనుకబడతవి.</p><p>కొన్ని సమయాల్లో ఊపిరిపీల్చటం కష్టమౌతుంది.</p><p>కొన్ని సమయాల్లో తేలిక అవుతుంది.</p><p>ఒక్కొక్కప్పుడు బలం, ఒక్కొక్కప్పుడు బలహీనత వుంటుంది.</p><p>ఒకడు వృద్ధి పొందుతాడు. ఇంకొకడు క్షీణిస్తాడు.</p><p>అందువలన జ్ఞానులు మితిమీరి నడువరు.</p><p>విపరీతానికి పోరు.</p><p><strong>7.</strong> ఆయుధాలు భయాన్ని కలిగించే సాధనాలు.</p><p>అంచేత అందరూ వాటిని అసహ్యించుకొంటారు.</p><p>పథాన్ని అనుసరించేవారు వాటితో సంబంధం పెట్టుకోరు.</p><p>జ్ఞానులకవి ఉచితమైనవి కావు.</p><p>యుద్ధంలో విజయం సంతోషదాయకం కాదు.</p><p>యుద్ధంలో విజయం నీకు సంతోషదాయకమైతే</p><p>హత్యాకాండలో నీవు ఆనందానుభూతి చెందితే</p><p>ప్రపంచంలో నీవు ఏ విషయంలోను పరిపూర్ణత చెందలేవు.</p><p>మృతులకు కర్మకాండ జరిపించటం ఎలాగో</p><p>యుద్ధం చెయ్యటం అలాగ అన్నమాట.</p><p>జనం అసంఖ్యాకంగా హత్య గావించబడ్డప్పుడు</p><p>హృదయం నిండుగా దుఃఖం పొర్లుకురావాలి.</p><p>అందువల్ల యుద్ధంలో విజయం సాధించినప్పుడల్లా</p><p>దేశంలో సంతాపదినాలు ప్రకటించాలి.</p><p><strong>8</strong>. గుమ్మం దాటి వెళ్ళకుండానే మొత్తం ప్రపంచాన్ని అర్థం చేసుకోవచ్చు.</p><p>కిటికీలోంచి తొంగి చూడకుండానే అంతరిక్షాన్ని శోధించవచ్చు.</p><p>దూరం వెళ్ళేకొద్దీ అంతుబట్టేది తక్కువ.</p><p>అందువల్ల జ్ఞాని వున్నచోటనే వుండి అన్నీ తెలుసుకొంటాడు.</p><p>దృష్టిపెట్టకుండానే అన్నీ దర్శిస్తాడు.</p><p>నిష్ర్కియాపరుడై సర్వం సాధిస్తాడు.</p><p><strong>9</strong>. ఏ పని అయినా, ‘చేస్తున్నాను’ అనే ఆలోచన లేకుండా చేయి.</p><p>కష్టం అనుకోకుండా కష్టపడు.</p><p>రుచిలేని దాన్ని రుచి చూడు.</p><p>అల్పమైన దాన్ని అధికమైనదానిగా</p><p>కొద్దిగా వున్నదాన్ని ఎక్కువైనదానిగా భావించు.</p><p>కీడు చేసిన వానికి మేలు చేయి.</p><p>క్లిష్టమైన దాంట్లో సుసాధ్యమైన దాన్ని చూడు.</p><p>చిన్న విషయాల్లో గొప్పతనాన్ని సాధించు.</p><p>ప్రపంచంలో కష్టమైన పనులన్నీ</p><p>తేలికైనవి అన్నట్లుగా నిర్వహింపబడ్డవి.</p><p>చిన్నపనులన్నీ కలిసి ఘనకార్యాలయ్యాయి.</p><p><strong>10.</strong> తెలియదని తెలియటం గొప్ప విషయం.</p><p>తెలియకపోయినా తెలుసుననుకోవటం వెర్రితనం.</p><p>ఎవడు రోగాన్ని రోగంగా గుర్తిస్తాడో</p><p>వాడు రోగం నుండి బైటపడతాడు.</p><p><strong>దీవి సుబ్బారావు</strong></p><p><strong>96762 96184</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bd7373d289ab" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Draft.js Editor Internals — DraftEditorContents]]></title>
            <link>https://medium.com/@prabhic/draft-js-editor-internals-drafteditorcontents-78cf1fc94140?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/78cf1fc94140</guid>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Sun, 31 Jul 2016 14:29:19 GMT</pubDate>
            <atom:updated>2016-07-31T14:29:19.508Z</atom:updated>
            <content:encoded><![CDATA[<p>for react developers…</p><p>Below code snippet highlights the key portions of the DraftEditorContents that shows how it reads the blocks from editorState and converts into html elements.</p><pre>class <a href="https://github.com/facebook/draft-js/blob/master/src/component/contents/DraftEditorContents.react.js"><strong>DraftEditorContents</strong></a> extends React.Component {<br>...<br>render(): React.Element&lt;any&gt; {    <br>   const {      <br>    blockRenderMap,      <br>    blockRendererFn,      <br>    customStyleMap,      <br>    editorState,    } = this.props;</pre><pre>...<br>const content = editorState.getCurrentContent();<br>...<br>const blocksAsArray = content.getBlocksAsArray();<br>const blocks = [];<br>...<br>for (let ii = 0; ii &lt; blocksAsArray.length; ii++) {      <br>   block = blocksAsArray[ii];      <br>   key = block.getKey();      <br>   blockType = block.getType();<br>   ...</pre><pre>   const <strong>configForType = </strong><a href="https://github.com/facebook/draft-js/blob/master/src/model/immutable/DefaultDraftBlockRenderMap.js"><strong>blockRenderMap</strong></a><strong>.get(blockType);</strong><br>   const Element = (        <br>       <strong>configForType.element</strong> ||<br>       blockRenderMap.get(&#39;unstyled&#39;).element   );   <br>   ...<br>   let className = this.props.blockStyleFn(block);</pre><pre>   const Component = CustomComponent || <strong>DraftEditorBlock</strong>;<br>   childProps = {        <br>      className,        <br>      ...};</pre><pre>   child = React.createElement(        <br>       <strong>Element</strong>,        <br>       childProps,        <br>       &lt;Component {...componentProps} /&gt;,      );<br>   ...<br>   <strong>blocks.push(child);</strong></pre><pre>}</pre><pre>return <strong>&lt;div data-contents=&quot;true&quot;&gt;{blocks}&lt;/div&gt;</strong>;</pre><pre><br>}}</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78cf1fc94140" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Draft.js Overview with Code snippets]]></title>
            <link>https://medium.com/@prabhic/draft-js-overview-with-code-snippets-56f740022854?source=rss-632096a67a3d------2</link>
            <guid isPermaLink="false">https://medium.com/p/56f740022854</guid>
            <category><![CDATA[es6]]></category>
            <category><![CDATA[text-editor]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[facebook]]></category>
            <dc:creator><![CDATA[Prabhanjan Kumar]]></dc:creator>
            <pubDate>Sun, 31 Jul 2016 11:04:44 GMT</pubDate>
            <atom:updated>2016-08-01T12:48:37.391Z</atom:updated>
            <content:encoded><![CDATA[<p>for react developers,</p><p><strong>DraftEditor(</strong><a href="https://facebook.github.io/draft-js/docs/api-reference-editor.html#content"><strong>Editor Component</strong></a><strong>) </strong>is the main component that controls contentEditable component and the root of the Editor.</p><pre>class <a href="https://github.com/facebook/draft-js/blob/master/src/component/base/DraftEditor.react.js"><strong>DraftEditor</strong></a> extends React.Component <br>{ <br>...<br>return <br><strong>...</strong><br>&lt;<strong>DraftEditorContents</strong>              <br>   blockRenderMap={this.props.blockRenderMap}<br>   blockRendererFn={this.props.blockRendererFn}<br>   blockStyleFn={this.props.blockStyleFn}        <br>   ...<br>   editorKey={this._editorKey}              <br>   <strong>editorState</strong>={this.props.editorState}            /&gt;</pre><p><a href="https://facebook.github.io/draft-js/docs/api-reference-editor-state.html#content">EditorState</a> is the top-level state object for the editor.</p><p>It is an Immutable <a href="http://facebook.github.io/immutable-js/docs/#/Record/Record">Record</a> that represents the entire state of a Draft editor, including:</p><ul><li>The current text content state</li><li>The current selection state</li><li>The fully decorated representation of the contents</li><li>Undo/redo stacks</li><li>The most recent type of change made to the contents</li></ul><pre>class <a href="https://github.com/facebook/draft-js/blob/master/src/model/immutable/EditorState.js"><strong>EditorState</strong></a> { <br>    _immutable: EditorStateRecord;</pre><pre>...<br>var EditorStateRecord = Record(defaultRecord);<br>var defaultRecord: EditorStateRecordType = {<br>...<br>type EditorStateRecordType = {  <br>   <strong>currentContent: ?ContentState</strong>,  <br>   decorator: ?DraftDecoratorType,  <br>   inlineStyleOverride: ?DraftInlineStyle,  <br>   lastChangeType: ?EditorChangeType,  <br>   nativelyRenderedContent: ?ContentState,  <br>   redoStack: Stack&lt;ContentState&gt;,  <br>   selection: ?SelectionState,  <br>   treeMap: ?OrderedMap&lt;string, List&lt;any&gt;&gt;,  <br>   undoStack: Stack&lt;ContentState&gt;,...};</pre><p><a href="https://facebook.github.io/draft-js/docs/api-reference-content-state.html#content">ContentState</a> is an Immutable <a href="http://facebook.github.io/immutable-js/docs/#/Record/Record">Record</a> that represents the full state of:</p><ul><li>The entire <strong>contents</strong> of an editor: text, block and inline styles, and entity ranges.</li><li>Two <strong>selection states</strong> of an editor: before and after the rendering of these contents.</li></ul><pre><br>class <a href="https://github.com/facebook/draft-js/blob/master/src/model/immutable/ContentState.js"><strong>ContentState</strong></a> extends ContentStateRecord {...</pre><pre>const ContentStateRecord = Record(defaultRecord);</pre><pre>const defaultRecord: {  <br>    <strong>blockMap: ?BlockMap</strong>,  <br>    ...}<br>export type <strong>BlockMap = OrderedMap&lt;string, ContentBlock&gt;</strong>;</pre><p><a href="https://facebook.github.io/draft-js/docs/api-reference-content-block.html#content">ContentBlock</a> is an Immutable <a href="http://facebook.github.io/immutable-js/docs/#/Record/Record">Record</a> that represents the full state of a single block of editor content, including:</p><ul><li>Plain text contents of the block</li><li>Type, e.g. paragraph, header, list item</li><li>Entity, inline style, and depth information</li></ul><pre>class <a href="https://github.com/facebook/draft-js/blob/master/src/model/immutable/ContentBlock.js"><strong>ContentBlock</strong></a> extends ContentBlockRecord {...<br>var ContentBlockRecord = Record(defaultRecord);<br>var defaultRecord: {  <br>    key: string,  <br>    type: DraftBlockType,  <br>    text: string,  <br>    <strong>characterList: List&lt;CharacterMetadata&gt;</strong>,  <br>    depth: number,  <br>    data: Map&lt;any, any&gt;<br>}</pre><p><a href="https://facebook.github.io/draft-js/docs/api-reference-character-metadata.html#content"><strong>CharacterMetadata</strong></a> is an Immutable <a href="http://facebook.github.io/immutable-js/docs/#/Record/Record">Record</a> that represents inline style and entity information for a single character.</p><pre>class <a href="https://github.com/facebook/draft-js/blob/master/src/model/immutable/CharacterMetadata.js"><strong>CharacterMetadata</strong></a> extends CharacterMetadataRecord {<br>...<br>var CharacterMetadataRecord = Record(defaultRecord)<br>var defaultRecord: CharacterMetadataConfig = {<br>...</pre><pre>type CharacterMetadataConfig = { <br>   style?: DraftInlineStyle, <br>   entity?: ?string,<br>}; <br>...</pre><pre>export type DraftInlineStyle = Immutable.OrderedSet&lt;string&gt;;</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56f740022854" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>