<?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 Vishakha Gawande on Medium]]></title>
        <description><![CDATA[Stories by Vishakha Gawande on Medium]]></description>
        <link>https://medium.com/@vishakha268g?source=rss-2d90122515a3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*lp_W01koSUfTDe3U605IrQ.jpeg</url>
            <title>Stories by Vishakha Gawande on Medium</title>
            <link>https://medium.com/@vishakha268g?source=rss-2d90122515a3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 11:25:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishakha268g/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[Inter-process Communication using Named pipes]]></title>
            <link>https://vishakha268g.medium.com/inter-process-communication-using-named-pipes-14e25609458f?source=rss-2d90122515a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/14e25609458f</guid>
            <dc:creator><![CDATA[Vishakha Gawande]]></dc:creator>
            <pubDate>Fri, 23 May 2025 09:35:19 GMT</pubDate>
            <atom:updated>2025-05-23T09:35:19.451Z</atom:updated>
            <content:encoded><![CDATA[<p>Inter-process communication refers to the techniques and mechanisms that allow two or more processes (programs) to communicate and share data with each other. Since processes have isolated memory, IPC enables collaboration between separate apps or services running on the same machine or across the network.</p><p><strong>Following are the different mechanisms of inter-process communication:</strong><br><br><strong>Named pipes (FIFO):</strong> Allows message-passing between processes via a name-based pipe.<br><strong>Sockets:</strong> Facilitate communication over a network, providing a standard connection. <br><strong>Remote Procedure Calls (RPC): </strong>A higher-level mechanism for exchanging information between processes. <br><strong>Signals:</strong> Asynchronous communication method, used for signaling events to one or more processes.</p><p><em>In this article, the main focus is on the Named-Pipe communication:</em></p><p>Named-Pipe communication is a bi-directional communication channel primarily used for processes running on the same machine, but it can also support remote communication over a network. A pipe is a communication channel that allows one process to pass information to another. A named pipe communication is mostly used when both processes are running on the same machine and need fast, secure communication.</p><p><strong>Step-by-step implementation:</strong></p><p>Named-Pipe Server:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PrOMcidhHa4kyLReZn9JxQ.png" /><figcaption>PipeServer.cs</figcaption></figure><p>Named-Pipe Client</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6sY4Jfu1EqMgXcvEBodwA.png" /><figcaption>PipeClient.cs</figcaption></figure><p><strong>To start the communication, follow below steps:</strong><br>1. Build both server and client application<br>2. Start server process<br>3. Start Client process<br>4. Once the processes are started, the exchange of message can be done.</p><p><strong>Advantages of Named-pipe communication:</strong></p><p>1. It supports <strong>bi-directional communication</strong>, data can be sent both to and from the server and client simultaneously.<br>2. Named-Pipe communication <strong>efficient and fast</strong> for local inter-process communication.<br>3. A single server can create multiple instances of the same named pipe, allowing it to <strong>handle multiple client connections</strong> simultaneously.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14e25609458f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Test Driven Development]]></title>
            <link>https://vishakha268g.medium.com/understanding-test-driven-development-067d1090eeec?source=rss-2d90122515a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/067d1090eeec</guid>
            <dc:creator><![CDATA[Vishakha Gawande]]></dc:creator>
            <pubDate>Fri, 21 Feb 2025 17:03:25 GMT</pubDate>
            <atom:updated>2025-02-21T17:21:04.371Z</atom:updated>
            <content:encoded><![CDATA[<p>TDD is a software development process that involves writing automated tests before writing code.</p><p>The test-driven development approach is mainly used to save the efforts that need to be taken to resolve the issue that might have introduced some time ago.</p><p>TDD helps ensure that the codebase remains reliable and bug-free by catching errors early in the development process. It promotes better design decisions, as writing tests first forces developers to think more clearly about the functionality they are implementing.</p><p>Benefits of TDD:</p><p>1. Small test: The development is started by writing the smaller tests for smaller modules.</p><p>2. Refactor early, not late: If the tests are written earlier, then the code is refactored early to solve any issue.</p><p>3. Run tests frequently: Run tests to catch errors early</p><p>Steps in TDD:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/1*iJWxTzyHSRaOjZQp9VOKXQ.png" /></figure><ol><li>Start with a tests</li><li>Run tests to catch errors, get the <strong>red</strong> test to get the failing scenarios</li><li>Fix code</li><li>Re-run the test, to get the tests <strong>green</strong>, get the successful scenarios</li><li>Refactor the code</li></ol><p>Advanced TDD techniques:</p><ol><li><strong>Mocking</strong>: Simulates interactions with the system to check if they happen as expected.</li><li><strong>Stubs</strong>: Provides predefined responses to method calls to simulate input.</li><li><strong>Dummy</strong>: Fills parameter spaces with objects that aren’t used in the test.</li><li><strong>Fakes</strong>: Simplified versions of real objects used to speed up tests with real-like behavior.</li></ol><p>When to use which:</p><ol><li><strong>Mock:</strong></li></ol><p>When you need to verify the exact interactions with a dependency, including the sequence of calls and arguments.</p><p><strong>2. Stub:</strong></p><p>When you just need a simple, predictable response from a dependency to test a specific part of your code.</p><p><strong>3. Dummy:</strong></p><p>When you need a placeholder object to fill a parameter in a function or method, but you don’t need the object’s functionality or data it contains.</p><p><strong>4. Fakes:</strong></p><p>When you need to stimulate a real dependency in your SUT, but want a simplified or faster alternative that still provides a realistic behaviour, particularly when dealing with complex or time-consuming external systems like databases or network calls.</p><p>By using TDD and these advanced techniques effectively, you can not only write better code but also improve the design and maintainability of your system over time. If you want to dive into more advanced mocking frameworks, you can investigate tools like Moq or NSubstitute that integrate well with NUnit or other testing frameworks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=067d1090eeec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding difference between OpenAI and DeepSeek]]></title>
            <link>https://vishakha268g.medium.com/understanding-difference-between-openai-and-deepseek-5665a91bbf35?source=rss-2d90122515a3------2</link>
            <guid isPermaLink="false">https://medium.com/p/5665a91bbf35</guid>
            <dc:creator><![CDATA[Vishakha Gawande]]></dc:creator>
            <pubDate>Thu, 30 Jan 2025 15:59:38 GMT</pubDate>
            <atom:updated>2025-01-30T17:39:19.252Z</atom:updated>
            <content:encoded><![CDATA[<p>OpenAI (ChatGPT) : ChatGPT is a conventional AI designed for tasks like answering questions, writing content, and having interactive discussions. Its strengths lie in generating human-like text for a wide range of tasks.</p><p>DeepSeek : DeepSeek is focused on analyzing and extracting insights from large datasets or specialized documents. DeepSeek is mainly used for data analysis and information retrieval.</p><p>Here’s the comparison between OpenAI and ChatGPT:</p><p>OpenAI:</p><p>1. Purpose: OpenAI is designed for natural language understanding and generation. Its used to have conversations, answer questions, help with writing, brainstorming and more.</p><p>2. Technology: OpenAI uses large language model, trained on vast amounts of text data which helps to generate human like responses.</p><p>3. Use: Its widely used for tasks like content creation, coding, customer support, personal coaching and learning.</p><p>4. Strengths: Its able to handle wide range of topics, and great for tasks that require generating or understanding text in natural and conversational ways.</p><p>DeepSeek:</p><p>1. Purpose: Deepseek is focused on analysing and extracting insights from large, specialized datasets, like academic papers, business reports or industry specific data.</p><p>2. Technology: Deepseek uses AI and machine learning techniques to process and understand large collection of data, often in fields like legal, scientific or financial domains.</p><p>3. Use: Its mainly used by professional or researchers who need to search through large volume and complex data to find relevant information or trends.</p><p>4. Strengths: Excellent for specialized data analysis, research, and information retrieval from large data.</p><p>The choice between the two depends on whether you need a chat-based assistant or a tool to dig into large set of data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5665a91bbf35" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>