<?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[Engineering Hub - Medium]]></title>
        <description><![CDATA[The best way to learn something is to teach it. That’s why We, as a Team of Engineers, decided to establish Engineering Hub. Our goal is to share with our readers what We learn and to hone our skills. We are sure You will endeavor from this idea as much as We will. - Medium]]></description>
        <link>https://medium.com/engineering-hub?source=rss----f738848a57a9---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Engineering Hub - Medium</title>
            <link>https://medium.com/engineering-hub?source=rss----f738848a57a9---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 16:29:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/engineering-hub" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Sorting algorithms (C#, Java)]]></title>
            <link>https://medium.com/engineering-hub/https-medium-com-engineering-hub-sorting-algorithms-in-csharp-and-java-4615f6f87696?source=rss----f738848a57a9---4</link>
            <guid isPermaLink="false">https://medium.com/p/4615f6f87696</guid>
            <category><![CDATA[sort]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[csharp]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[sorting-algorithms]]></category>
            <dc:creator><![CDATA[Jeyhun Rahimov]]></dc:creator>
            <pubDate>Tue, 12 Nov 2019 13:17:40 GMT</pubDate>
            <atom:updated>2019-11-12T13:17:39.911Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-UuMZARf1iwe4gmo4qUUA.png" /></figure><p>Sorting algorithms are used to rearrange elements of arrays (lists) in particular order. Sorting mostly can be in numerical (0–9) and alphabetical ( A-Z) order.</p><p><strong>Why need?</strong></p><p>Sorting algorithms reduce the complexity of problems and used on Database searching etc.</p><p>Some of the common sorting algorithms are</p><ul><li>Selection Sort</li><li>Insertion Sort</li><li>Bubble Sort</li><li>Merge Sort</li><li>Quick Sort</li><li>Heap Sort</li><li>Counting Sort</li><li>Radix Sort</li><li>Bucket Sort</li></ul><p><strong>Selection sort.</strong></p><p>This is one of the simplest sorting algorithms.</p><ol><li>Find the smallest element in an array, replace it with the first element.</li><li>Find the smallest element in the unsorted part of an array, replace it with the second element.</li><li>Repeat this process until the end and array will be sorted at the end.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*hAP9BFr5wIkQtb0f5tBllA.png" /></figure><p><em>Code samples in C# and Java:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b987565e57fe4d29aa4bdb2d177ec488/href">https://medium.com/media/b987565e57fe4d29aa4bdb2d177ec488/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0e35321b5cbc7f9ca517e2a5cdbba341/href">https://medium.com/media/0e35321b5cbc7f9ca517e2a5cdbba341/href</a></iframe><p>Time Complexity is<strong> </strong>O(n2) as there are two nested loops. The selection sort is <strong>not stable</strong>.</p><p><em>A sorting algorithm is said to be </em><strong><em>stable </em></strong><em>if two objects with equal keys appear in the same order in sorted output as they appear in the input array to be sorted.</em></p><p>For example, [CC, AA, BZ, DD, BM] array after “stable” sorting algorithms will be [AA, BZ, BM, CC, DD]. As you see BZ and BM stay in their relative positions. But in <strong><em>unstable </em></strong>sort algorithm, they would be replaced:</p><p>[AA, BM, BZ, CC, DD]</p><p><strong>Insertion sort.</strong></p><p>Insertion sort is basically for a small number of elements. In this algorithm, you compare every element with the previous element. If the previous element is greater than your current element, you move that (previous) element to the next position. If not, you continue to find a great number.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/780/1*wbMnronniIQUzdMgo7Gmkw.png" /></figure><p><em>Code samples in C# and Java:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/58350f3092b3076499cf9eb0aa5f6bac/href">https://medium.com/media/58350f3092b3076499cf9eb0aa5f6bac/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7255a17dcfa579805e0aa101293a9fc2/href">https://medium.com/media/7255a17dcfa579805e0aa101293a9fc2/href</a></iframe><p>Time Complexity is<strong> </strong>O(n2) as inserting elements from an unsorted array into a sorted subsection of the array. The insertion sort is <strong>stable</strong>.</p><p><strong>Bubble sort.</strong></p><p>Bubble sort is a comparison-based algorithm that compares every pair of elements in an array and swaps them if they are in the wrong order.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/1*Uerofp127-wrRSBwR81T9Q.png" /></figure><p><em>Code samples in C# and Java:</em></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/356c0b23d90769456cf6e41a68fca884/href">https://medium.com/media/356c0b23d90769456cf6e41a68fca884/href</a></iframe><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/18fd702518f117490c1f9b6fe60923b1/href">https://medium.com/media/18fd702518f117490c1f9b6fe60923b1/href</a></iframe><p>Time Complexity is<strong> </strong>O(n²) as repeatedly passes through the unsorted part of the list. The bubble sort is <strong>stable</strong>.</p><p>Software developers should have knowledge about sorting algorithms. Sometimes, this helps them to solve some huge solutions with lists - by splitting it into small parts and applying relevant sort algorithms to lists. As well, this can help us to pass a coding interview in big companies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4615f6f87696" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hub/https-medium-com-engineering-hub-sorting-algorithms-in-csharp-and-java-4615f6f87696">Sorting algorithms (C#, Java)</a> was originally published in <a href="https://medium.com/engineering-hub">Engineering Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top 5 Open Souarce .NET projects]]></title>
            <link>https://medium.com/engineering-hub/top-5-open-souarce-net-projects-427ba7e4f43b?source=rss----f738848a57a9---4</link>
            <guid isPermaLink="false">https://medium.com/p/427ba7e4f43b</guid>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[dot-net-framework]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Эльвин Джамалов]]></dc:creator>
            <pubDate>Wed, 06 Nov 2019 23:14:10 GMT</pubDate>
            <atom:updated>2019-11-07T08:05:34.507Z</atom:updated>
            <content:encoded><![CDATA[<h3>Top 5 Open Source .NET projects</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FF00RPLzMhgdd6CKffJYAw.png" /></figure><p>.NET is a Powerful, Cross-platform, Open Source framework powered by <a href="https://www.microsoft.com/">Microsoft</a> for building apps any complexity.</p><p>Following are the Top 5 Open Source projects built in .NET that every developer should notice:</p><ol><li><strong>SignalR</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*cYaC5-3h7T1QKpymFfi-HQ.jpeg" /></figure><p>ASP.NET SignalR is a library for ASP.NET that makes it simple to add real-time web functionality to your applications. What is “real-time web” functionality? It’s the ability to have your server-side code push content to the connected clients as it happens, in real-time.</p><p><a href="https://github.com/SignalR/SignalR/">SignalR/SignalR</a></p><p>2. <strong>NUnit</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/314/1*sUBaD5FV5WA14AKq2sE2Lg.png" /></figure><p>NUnit is a unit-testing framework for all .NET languages initially ported from <a href="https://junit.org/junit5/">JUnit</a>.</p><p><a href="https://github.com/nunit">NUnit.org</a></p><p>3. <strong>Rhino.Mocks</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/581/1*QpfGBScEEpihU-VPXMHpoQ.png" /></figure><p>Dynamic Mocking Framework for .NET powered by <a href="https://ayende.com/blog/">Ayende Rahien</a>.<br> It’s purpose is to ease testing by allowing the developer to create mock implementations of custom objects and verify the interactions using unit testing.</p><p><a href="https://github.com/RhinoMocks/RhinoMocks">RhinoMocks/RhinoMocks</a></p><p>4. <strong>Castle Windsor</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*7PpPL0o2yuLCjGpa5QJi3Q.png" /></figure><p>A powerful tool for inversion of control container.<br>Castle Windsor aggregates the <a href="https://en.wikipedia.org/wiki/Microkernel">MicroKernel </a>and exposes a powerful configuration support. It is suitable for common enterprise application needs. It is able to register facilities and components based on the configuration and adds support for interceptors.</p><p><a href="https://github.com/castleproject/Windsor">castleproject/Windsor</a></p><p>5. <strong>DbUp</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*SpwFjZLNwNF_jh8YC2MfLg.png" /></figure><p>DbUp is a library written in .NET the purpose of which is to deploy changes to SQL Server Databases. It tracks the SQL Scripts and runs the ones that haven’t been run already to keep consistency in your database.</p><p><a href="https://github.com/DbUp/DbUp">GitHub - DbUp/DbUp: DbUp is a .NET library that helps you to deploy changes to SQL Server databases. It tracks which SQL scripts have been run already, and runs the change scripts that are needed to get your database up to date.</a></p><p>In custody, I would like to add that importing those libraries to the solution is as easy as adding a <a href="https://www.nuget.org/">NuGet package</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=427ba7e4f43b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/engineering-hub/top-5-open-souarce-net-projects-427ba7e4f43b">Top 5 Open Souarce .NET projects</a> was originally published in <a href="https://medium.com/engineering-hub">Engineering Hub</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Go: Docker for Golang application tests]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/engineering-hub/go-docker-for-golang-application-tests-5ee42c922a8?source=rss----f738848a57a9---4"><img src="https://cdn-images-1.medium.com/max/1200/1*WmYPlGWhqajnz54awxUA0Q.png" width="1200"></a></p><p class="medium-feed-snippet">Using Docker for Go unit and integration tests. Two different approaches: Docker runs with tests &amp; Go initialize Docker with needed&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/engineering-hub/go-docker-for-golang-application-tests-5ee42c922a8?source=rss----f738848a57a9---4">Continue reading on Engineering Hub »</a></p></div>]]></description>
            <link>https://medium.com/engineering-hub/go-docker-for-golang-application-tests-5ee42c922a8?source=rss----f738848a57a9---4</link>
            <guid isPermaLink="false">https://medium.com/p/5ee42c922a8</guid>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[go]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Kanan Rahimov]]></dc:creator>
            <pubDate>Sun, 03 Nov 2019 22:09:58 GMT</pubDate>
            <atom:updated>2021-07-27T11:29:23.651Z</atom:updated>
        </item>
    </channel>
</rss>