<?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 Mohammad Adnan Shuvo on Medium]]></title>
        <description><![CDATA[Stories by Mohammad Adnan Shuvo on Medium]]></description>
        <link>https://medium.com/@ahmedadnanshuvo?source=rss-bf5b3a6301c7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zBXH_ZjvZZOF6PgoqVZfSA.jpeg</url>
            <title>Stories by Mohammad Adnan Shuvo on Medium</title>
            <link>https://medium.com/@ahmedadnanshuvo?source=rss-bf5b3a6301c7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 20:22:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ahmedadnanshuvo/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[Algorithm: An Evolution of Modern Technology]]></title>
            <link>https://medium.com/@ahmedadnanshuvo/algorithm-an-evolution-of-modern-technology-7c5e8582a367?source=rss-bf5b3a6301c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c5e8582a367</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[algorithmic-bias]]></category>
            <category><![CDATA[what-is-algorithm]]></category>
            <category><![CDATA[evolution-of-technology]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Mohammad Adnan Shuvo]]></dc:creator>
            <pubDate>Tue, 24 Aug 2021 05:23:57 GMT</pubDate>
            <atom:updated>2025-06-14T12:46:19.058Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jjDUKY3yXj2ak2L2" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>More or less, almost everyone on this planet uses the algorithm. Without the algorithm, we just can’t imagine the technologies that we have been witnessing every day. From cars to elevators, smartphones to laptops, almost all the devices and technologies require algorithms. The algorithm can be compared with Aladdin’s magic lamp because the algorithm has made our lives much easier, faster, and even better.</p><p>So before diving into the story of the algorithm, we must know the proper definition of it. The algorithm is a finite set of instructions for performing various types of computational tasks. To say it more genuinely, any instruction or rule for solving any problem can be regarded as an algorithm. For instance, you need to bake a cake, but you don’t know how to do it. Now you need the recipe to bake your desired cake. Here, the recipe is an algorithm because the recipe will give you guidance on how to bake the cake.</p><h3>Ways of Expressing an Algorithm</h3><p>The algorithm could be expressed in various ways. Flowcharts, natural language, Pseudocode, programming language, drakon-charts, and control tables are amazing common ways of presenting or signifying algorithms. Let’s discuss all these methods to symbolise algorithms.</p><ol><li><strong><em>Flowcharts:</em></strong> Flowcharts are remarkable types of diagrams that are used to represent the state of a workflow or process. To express algorithms step-by-step, flowcharts are widely used. In flowcharts, different kinds of tables with multiple kinds of colours are applied to represent the algorithms step-by-step. Each table is connected to another using arrow signs to make the diagram easy and convenient.</li><li><strong><em>Natural Language:</em></strong> Natural language is the human-understandable language that we employ to communicate with each other. To express algorithms, natural language is not considered an ideal method because there are huge quantities of natural languages, and this could make the algorithm verbose and ambiguous.</li><li><strong><em>Pseudocode:</em></strong> Pseudocode is the most appropriate way of expressing Algorithms. Pseudocode is the structured convention of programming languages, but it is mostly used for human reading rather than machine reading. The approach of pseudocode was invented to make the instructions of algorithms easy and human-readable.</li><li><strong><em>Programming Languages:</em></strong> Programming languages are utilised to give instructions to the machines and are one of the crucial methods of representing algorithms. Programming languages are the languages that are used to implement algorithms into machines to generate the desired output. The expression of algorithms using programming could be a little bit difficult, as programming languages include some technical tasks.</li><li><strong><em>Drakon-charts:</em></strong> Drakon is a visual language mostly used for visualising algorithms. Drakon-chart and flowchart are quite similar because both of approaches use diagrams to express the steps or workflows of algorithms. Drakon can also be used as a modelling language and a hybrid programming language.</li></ol><p>6. <strong><em>Control-tables:</em></strong> in control tables, various tables are used to show or depict the workflows of algorithms. To say more clearly, the main purpose of using a control table is to control the programs. Note that, control table does not require any hard and fast rules for its structure to control any program.</p><h3>Types of Algorithms</h3><p>Algorithms can be designed using various types of patterns. The fact of having such various types of patterns is massively dependent on the consumption of time and space taken by algorithms. An algorithm can be designed in numerous ways, but the time and memory consumption should also be examined to make the algorithm faster and lighter, and that is why a variety of approaches or patterns are practised to design algorithms. The most crucial and widely used types of algorithms are discussed below.</p><ol><li><strong><em>Dynamic Programming: </em></strong>Dynamic programming uses optimal solutions by breaking the problems into various sub-problems. In the dynamic programming approach, the recursion mechanism is vastly used to find the primary solution without exploring the overall solutions and this primary solution is called the optimal solution. Floyd-Warshal for finding all pairs shortest path, longest common subsequence (LCS), matrix chain multiplication, Bellman-Ford for finding the shortest path, etc are some common algorithms that are used in the dynamic programming approach.</li><li><strong><em>Greedy Algorithm:</em></strong> Just like dynamic programming, the greedy algorithm strategy is also used in optimisation problems. The optimal solution is found in every step of the algorithm by making a sequence of choices. Although the greedy method is capable of providing locally optimised solutions, it can not be guaranteed that the approach will generate the globally optimal solution. Some algorithms using the greedy approach are worth mentioning- Fractional Knapsack, Dijkstra Algorithm, Prim’s Algorithm, and Kruskal’s Algorithm are some good examples of the greedy approach.</li><li><strong><em>Divide and Conquer:</em></strong> As the name suggests, the divide and conquer approach divides the problems into many sub-problems. Then the sub-problems are solved step-by-step. Finally, the solved sub-problems are joined again, which is called the segment of conquering. Merge sort, Quick sort are popular examples of divide and conquer algorithms.</li><li><strong><em>Simple recursion algorithm:</em></strong> A function is said to be a recursive function if it calls itself repeatedly as long as the base case is not satisfied. Loop and recursion are mostly similar, but when it comes to the point of time and space complexity, sometimes it is ideal to apply recursion over a loop. Finding the Fibonacci series, the Knapsack algorithm, Floyd-Warshal, and finding the factorial of N numbers are great instances that could be solved efficiently with recursion. <br> 🚀 <strong>Level up your skills with bonus resources I’ve only shared on my blog.</strong><br> 👉 <a href="https://zeylosoft.com/">Start exploring now</a></li></ol><h3>Sum Up</h3><p>Last but not the list, all the technologies that we have today, had immense evolution through the means of algorithms. From day to night, we are massively dependent on algorithms as the technologies are most likely to control us. We just cannot think of a single moment without smart technologies, and it is the algorithm that makes the technologies more marvellous and smarter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c5e8582a367" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What are cookies in web technology???]]></title>
            <link>https://medium.com/@ahmedadnanshuvo/what-are-cookies-in-web-technology-52e54e3dfb11?source=rss-bf5b3a6301c7------2</link>
            <guid isPermaLink="false">https://medium.com/p/52e54e3dfb11</guid>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[web]]></category>
            <category><![CDATA[web-cookies]]></category>
            <dc:creator><![CDATA[Mohammad Adnan Shuvo]]></dc:creator>
            <pubDate>Wed, 28 Jul 2021 16:56:16 GMT</pubDate>
            <atom:updated>2025-06-14T12:47:29.542Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Fq3oHFqDkSoSKdiW" /><figcaption>Photo by <a href="https://unsplash.com/@thecreative_exchange?utm_source=medium&amp;utm_medium=referral">The Creative Exchange</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Definition of cookies</h3><p>The cookies are some pieces of data created by the web servers that the users try to access or visit. The cookies are placed on the web browsers which the users use to access any website. The main purpose of using web cookies is to enhance the experience of web browsing. Without web cookies, users need to log in particularly for each page to access websites that use an authentication process to access it. By the means of cookies, users don’t need to give their username and password each time for each page because websites can have records of users’ data to identify them by using cookies about by which id users access the website and how many times with the same id visitors visit websites.</p><h3>Now, let’s explore how cookies work</h3><p>The functionality of web cookies is as simple as it is. When a user visits a website, the website sends some data according to the activities of the user on the website. The data is stored locally on the web browser. When the user visits the same website in the future, the web browser sends back the data to the website, and this is how the website identifies the user activities to increase the user experience of web browsing. Let’s make this clearer with an example, when a user adds an item to the shop cart and leaves the site without saving or buying that item, that website will still place the added item to the shop cart when the user visits that website in the future. Here’s another instance of web cookies; usually we don’t need to fill up the forms provided on the website that we previously visited and filled up the forms with required information because the website records our data and placed them in our web browser as cookies. Whenever we visit the same website and try to fill up any form, there will be some suggestions of our previous information that we used to fill up any or same form on the same website.</p><h3>The origin of web cookies</h3><p>If we study history, we can find two kinds of cookies. One is called “Magic Cookie” and the second one is “HTTP Cookie”. A magic cookie is a small packet of data that could be sent from one program to another without changes. Although HTTP Cookie was invented from the concept of Magic Cookie, Magic Cookie is considered an obsolete cookie because the cookies all the technologies using today are HTTP cookies. Internet pioneer and web programmer <strong><em>Lou Montulli</em></strong> invented web cookies for the first time in 1994. <strong><em>Low Montulli</em></strong> was then an employee of Netscape Communications, an American computer services company. Outside the lab, the first use of cookies was made to check if the Netscape website users already visited the website. When the fact of cookies was first introduced, very few had awareness of it until a daily newspaper named <strong><em>Financial Times</em></strong> published news about the marvel of web cookies.</p><h3>Various types of cookies</h3><p>With the persistence of technologies, there are various kinds of cookies to help the users to have magnificent web browsing experiences. Followings are some top most crucial types of cookies that we are using today-</p><ol><li><strong><em>Session Cookies</em></strong></li></ol><p>Session cookies are some temporary cookies created by the server as long as the user visits the website. When the user leaves the website, the session cookies are automatically deleted from the browser. Here session stands for the time or period the users spend on the websites. As session cookies last for a very short time, they are saved on the RAM (Random Access Memory) and don’t have any interference to the hard drive.</p><p><strong><em>2. Persistence cookies</em></strong></p><p>Persistence cookies are cookies that are stored on the browser for a specific amount of time. Persistence cookies are also known as tracking cookies because some advertisers may track users’ information or spy on the user’s activities on the internet using persistence cookies. Persistence cookies help to remember users’ information on the browsers so that whenever users visit the websites, the server of the websites can identify the users and can offer the best content according to the user’s previous choices. Persistence Cookies are more useful when users need authentication to log in or access any website. If the cookies do not work persistently, the users must log in particularly for each page of the websites. The duration for how long Persistence Cookies can be stored will depend on the web browsers although users can delete all the cookies from the web browsers at any time.</p><p><strong><em>3. First-Party Cookies</em></strong></p><p>First-Party Cookies are created by the website itself on which the visitors visit. The term First-Party refers to indicate that these cookies are sent and received between the web servers and web browsers and there could not be involved any Third-Party Cookies. First-party cookies are quite safe for users because no malicious advertisers can track or spy on users’ online activities that easily.</p><p><strong><em>4. Third-Party Cookies</em></strong></p><p>Third-party cookies are not created by the website on which the users are currently visiting, instead, these kinds of cookies are provided by the online advertisers or social media websites placed on the websites the users are currently on. These kinds of cookies can be harmful to users as online advertisers and malicious attackers can track or spy on the users’ online activities via third-party cookies. For example, all types of online advertisements on websites create third-party cookies to place the most relevant advertisements.</p><h3>Three major functions of cookies</h3><p>By now, we know the purposes of using cookies. Cookie has made the browsing experience magnificent by performing several unavoidable tasks. There are three major tasks for which cookies are mostly used. Let’s discuss all three of them.</p><ol><li><strong><em>Authentication</em></strong></li></ol><p>Authentication is one of the most important functions the cookies are used for. Once the websites identify users id, cookies help the websites to remember the user id and this process help the users to avoid login for each page. Cookies also associate websites to find out by which id users log in.</p><p><strong><em>2. Session Management</em></strong></p><p>Cookies help the website to know how many visitors visit a website and for how long each visitor stays on that website. A cookie-based session starts when a user or a visitor visits a website and the session ends when the visitor leaves the website.</p><p><strong><em>3. Tracking</em></strong></p><p>Cookies are highly used to track users’ habits on websites. Online advertisements and other third-party cookies are used to track visitors’ online movements. despite having some flaws, tracking associates websites to remember users’ preference of contents.</p><h4>Drawbacks of web cookies</h4><p>There are no unmixed-blessings on the earth. Everything has its dark side and web cookies are no exception. Cookies also have some negative impacts. Privacy vulnerability is a major thread for all users. As websites can track users’ online movements, it’s very likely to expose users’ privacy. Malicious advertisers and cyber attackers can use third-party cookies to steal users’ confidential data from users’ local devices. In addition, various kinds of malware can also be ignited to harm users’ devices through cookies. As mentioned earlier, cookies are a set of data so cookies need space on the hard drive to be stored. So more the users use cookies, the more space on the hard drive will require and that can make the devices slower than ever.</p><p>🚀 <strong>Level up your skills with bonus resources I’ve only shared on my blog.</strong><br> 👉 <a href="https://zeylosoft.com/">Start exploring now</a></p><h3>Sum up</h3><p>Last but not the least, the disadvantages of cookies will not outweigh their positive contributions. The invention of web cookies has taken the web browsing experience to another level. Cookies help websites to understand the choices of visitors and that makes the websites provide the most suitable content for the visitors. Cookies aid the users to save their valuable time because they don’t need to be logged in for each page on a website that requires an authentication process to access its contents. Furthermore, by the means of web cookies, users don’t need to see or observe irrelevant online advertisements because websites know visitors’ interests via web cookies.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52e54e3dfb11" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>