<?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 Mohamed Vishah on Medium]]></title>
        <description><![CDATA[Stories by Mohamed Vishah on Medium]]></description>
        <link>https://medium.com/@vishah?source=rss-c3ce5933029c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Stories by Mohamed Vishah on Medium</title>
            <link>https://medium.com/@vishah?source=rss-c3ce5933029c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:08:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@vishah/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[Maldives — Paradise or Data Hub — Choices for the country]]></title>
            <link>https://medium.com/@vishah/maldives-paradise-or-data-hub-choices-for-the-country-cf51bb141032?source=rss-c3ce5933029c------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf51bb141032</guid>
            <dc:creator><![CDATA[Mohamed Vishah]]></dc:creator>
            <pubDate>Thu, 05 Mar 2020 09:59:21 GMT</pubDate>
            <atom:updated>2020-03-05T09:59:21.424Z</atom:updated>
            <content:encoded><![CDATA[<h3>Maldives — Paradise or Data Hub — Choices for the country</h3><p>New Data Economy Presents Opportunities for Maldives to become the next Singapore of the Data Age. But a different approach will be required.</p><p>“Data is the new Oil”. The quote goes back to 2006, and is credited to Mathematician Clive Humby, but has recently picked up more steam after the Economist published a 2017 report titled “The world’s most valuable resource is no longer oil, but data”</p><p>Alarming new research suggests that failure to source renewable energy could make data centres one of the biggest polluters in just seven years. The rapid adoption of data-hungry machines and services is driving the need for more power to keep the lights on in the data centres of the world. As analysts estimate as many as 50 billion devices to be connected by 2020, with some statistics pointing to more than 100 billion a further five years down the line, new alarming research suggests that data centres will be one of the biggest energy consumers on the planet, beating many countries’ energy consumption levels.</p><p>According to a paper to be published by US researchers before the end of the year, the ICT industry is posed to be responsible for up to 3.5% of global emissions by 2020, with this value potentially escalating to 14% by 2040, according to Climate Change News.</p><p>Researchers say this will be directly related to the fact that the data centre sector could be using 20% of all available electricity in the world by 2025 on the back of the large amounts of data being created at a faster speed than seen ever before. The figures meet those published by Swedish researcher and Senior Expert Life Cycle Assessment at Huawei, Anders Andrae in 2016 in his “Total Consumer Power Consumption Forecast”.</p><p>Andrae predicts that by 2025, data centres will amount to ICT’s largest share of global electricity production at 33%, followed by smartphones (15%) networks (10%) and TV (9%).</p><p>What does this mean for the future? While Data will be the next oil the real estate that is required to hold the data requirements which is growing at an alarming rate could be the next climate change issue apart from Cars. Truly the industrial era problem of brick and mortar industry and automotives creating power consumption has shifted to technology and data hungry machines creating more power consumption and therefore issues for climate change.</p><p>One the countries that is very keen on controlling limate change is the Maldives. The archipelago has reasons for this as it has the risk of going under water if climate change is not controlled soon.</p><p>I would like to describe an opportunity for the Maldives to not only contribute to this problem but also to become an integral central part of the new Data Economy and therefore prosper as a Data Hub for the future and become the next Singapore in the new economy.</p><p>There is extensive research done by Microsoft now to produce “undersea” Data Centers. This gives huge benefits considering the above scenario explained which could potentially be a game changer in an increasingly Data Centric world.</p><p>Check out project Natick ( <a href="https://natick.research.microsoft.com/">https://natick.research.microsoft.com/</a>) from Microsoft Research where the ambition is to create Under Sea Data Centers f which provide two main benefits. Low Latency as more than 50% of the world’s population lives within 200 KM of Sea coast and Green energy to maintain the data centers with lower power consumption due to inherent cooling provided by the sea and better generation of power via Tidal and Wind energies for the data center.</p><p>Consider now the case of how actually Data Flows globally especially into Asia. Considering the peninsular nature of lower Asia most of the submarine cables take a route that is well connected to the Maldives thanks to the efforts of the local Telco Dhiraagu which invested long time back in connecting the world to the Maldives and all the islands of the Maldives via undersea cable. See picture extract from <a href="https://www.submarinecablemap.com/#/">https://www.submarinecablemap.com/#/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/0*BV1Si_qezhM5piZ1" /></figure><p>This provides Maldives with the real estate and the HUB characteristic of becoming the center where most of these under sea Data Centers can be set up. The unique characteristics of the Atoll structure with many lagoons around the islands, most of them being uninhabited and available for this purpose also makes Maldives the ideal location for this. Considering that more than 60% of the world’s population lives closer to this “junction of world data” Maldives has the unique characteristic that is providing this unique opportunity to become the WORLDs Data Hub.</p><p>If we step back and learn from other times when such an advantage was exploited, Singapore comes as a great example. While Singapore’s geographical location at the crossroads of important trade lines has been favorable, its pre-eminence as a global hub port has not been by chance. Strategic vision and leadership, with the courage to make bold decisions, have been vital in enabling Singapore to stay ready for the future, be a pacesetter, reap first-mover advantages, and thrive in a dynamic global industry.</p><p>This is where this article also calls out to the Maldives populace to build the same bold vision forge partnerships with the research from Microsoft, provide and promote Maldives as a strong Global Data Hub considering the above arguments and characteristics.</p><p>This has the potential of changing the fortunes of the countries young highly talented young population into the right future. I have been in the Maldives and worked there. I have interacted with the young population there and the unique characteristic that I observed was as below. The high tech talent of these young men and women is unparalleled. I have met and worked with the CEO of Dhiraagu Ismail Rasheed who was toweringly inspirational with his strong motivation of nation building and how he was instrumental in creating the first submarine cables that Maldives. I also met the young people not just from Dhiraagu but in general whose technical capability is world class. I have worked with many geographies in Asia, North America, Middle East but I found the Maldivian technocrats to be one among the best in the world. Their uniquely creative ability combined with keen no-nonsense approach to technology can be a very potent force for the nation especially in the Digital age. I also observed the strong feeling for HOME and the NATION and people do want to stay and work in the Maldives even if they could potentially become global citizens with their extreme talent.</p><p>The Governance of the country can utilize this strong talent and create a large scale new economic wave using the above direction of Making Maldives a Data Hub for the world. This will create enough scale, employment and innovation to put Maldives on the High Tech Roadmap of the world very quickly and in a measured way, in my humble opinion.</p><p>Being a strong supporter of the country due to the strong bonds I formed with dear friends when I lived and worked there, I wanted to express my ideas with all humility, and if this indeed becomes a reality I will be the person with most satisfaction. I express my sincere thanks to the MOSS for giving me the opportunity to express my thoughts here.</p><p>Pavan Kumar Malladi</p><p>Former Director of IT Dhiraagu</p><p>Present Vice President — Region Head CE at Tech Mahindra</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf51bb141032" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Congestion Control Mechasims]]></title>
            <link>https://medium.com/digitalraajje/congestion-control-mechasims-3110296b2fc1?source=rss-c3ce5933029c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3110296b2fc1</guid>
            <dc:creator><![CDATA[Mohamed Vishah]]></dc:creator>
            <pubDate>Mon, 17 Feb 2020 06:34:09 GMT</pubDate>
            <atom:updated>2020-02-17T06:34:09.199Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*mtSyJcxyi_Dcthm0pm5I-w.jpeg" /></figure><p>Network congestion refers to the reduced quality of service, reduced speed and delays in establishing connections between computers in the network. If a network node is not able to keep up forwarding the traffic at the same rate as it is receiving traffic, these nodes become choke points of the network. When a network is in this condition, it settles into a stable state where quality of service, packet delay and packet loss are extremely poor and throughput is very low compared to demand.</p><p>Congestion control mechanisms aid in managing traffic entry to a network to avoid congestion collapse.</p><h3><strong>Slow Start</strong></h3><p>Slow Start was the first congestion control implementation for TCP developed by Jacobson and Karels. In Slow Start, the rate at which the sender can transmit data is based on the rate at which the receiver sends acknowledgements. This enables equilibrium such that incoming and outgoing packets to and from the network are maintained at the same rate.</p><p>In Slow start the number of segments sent at the start is small (which implies slow bandwidth for the connection) and is increased gradually as it gets confidence about network throughput.</p><p>The Slow Start transmission window (number of segments sent) is managed by the CWND (Congestion Window) flag. Slow start starts with a small window size (CWND is set to maximum TCP segment size of client OR recipients allowed window; which of is has the lower value)</p><p>SSTHRESH defines the threshold till which CWND will keep on incrementing by one for each acknowledgement received back to the client. When the value of CWND passes SSTHRESH value, the congestion window has closely reached network capacity. From here onwards Congestion-Avoidance algorithm is used, where for each acknowledgement received the value of CWND is increased only b by 1/CWND.</p><p>If a client fails to receive an acknowledgement it assumes there is congestion in the path and reduced SSTHRESH is reduced by setting it to half of current window size. Window Size set to 1 by setting CWND to 1.</p><p>The above steps are for the client-end of the connection. Even if the client has passed Slow Start phase the server might still be in Slow Start mode if it has not send any data back to the client except acknowledgements for TCP segments sent by the client.</p><p>Experiments with Slow Start in TCP found 200% increase in non-retransmit bandwidth using Slow-Start compared to prior TCP implementation without Slow-Start which only used 35% of the bandwidth due to retransmission. Slow Start makes the bottleneck path to be at maximum capacity due to window size being increased till ACK is not received and on timeouts window size is made half the maximum window size allowed by bottleneck. This leads to oscillation as the process is iterated over.</p><p>Slow-Start is a TCP Standard for Congestion-Control and Avoidance and most TCP implementations either utilize or modify the slow-start method.</p><h3><strong>Random Early Detection</strong></h3><p>The main goal of RED is to help in congestion avoidance by monitoring gateway queue and controlling queue size by either dropping incoming packets or marking packet headers with a certain congestion probability. To avoid bias on traffic bursts the packet drops are done at even spaced slots.</p><p>RED calculates average queue size, and for longer-lived congestion (indicated by increase in average queue size) randomly notifies some connections to reduce size of windows.</p><p>To calculate the average queue size RED uses the following algorithm:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/0*qEBWoCo2C2x_CEo1" /></figure><p>When a new packet is received to an empty queue it finds number of packets <strong>m</strong> that could have been transmitted during the idle time till the current time and then calculates the average queue size assuming m packets were transmitted during idle period. queue Weight variable is derived by RED algorithm by taking in the size and period of queue size bursts. RED can either drop the packet to indicate congestion or in supported transport protocols, set a bit in every arriving packet header, when a maximum threshold for average queue size is increased. This allows RED gateways to support current TCP/IP networks and paves the path for gradual implementation on the internet. If the average queue size is less than minimum threshold(minth) no packets are marked. If the average queue size is between minimum and maximum threshold incoming packets are marked with a probability Pb which is a function of average queue size (Floyd, 1993).</p><p>Connections with larger input bandwidth will have a higher probability of being marked since they can contribute to an increase in queue size as well as have larger number of input packets (received since last packet drop) (Lin, 1997).</p><h4><strong>Performance</strong></h4><p>The authors performed tests comparing Drop-Tail, RED and random-drop gateways and found that RED was not biased against burst traffic unlike the other two as well as showing larger throughput for smaller buffer-sizes (Floyd, 1993).</p><h4><strong>Fairness</strong></h4><p>In a setup with several flows where many are in slow-start mode at the same time, either max_thresh can be hit or some connections may not receive congestion indications. This will lead to unfairness.</p><h4><strong>Compatibility with Current Technology</strong></h4><p>RED is one of the most commonly used congestion-avoidance algorithms used. Cisco uses an enhanced version of RED Weighted RED(WRED) and Distributed WRED(DWRED) in its platforms (cisco.com, 2013)</p><h3><strong>Explicit Congestion Notification</strong></h3><p>If source and gateway support ECN, it provides a way to notify congestion without the need to drop packets. The client does not have to wait for timeout or three consecutive acknowledgements since gateway informs the client of congestion as it occurs, through the ECN bit set in packet header for packets that would have been otherwise dropped. When the client receives a packet with ECN set, it should take actions to avoid congestion by halving CWND. This is done only once per RTT to avoid multiple reactions to congestion indications. When a packet is dropped, TCP responds by initiating slow-start phase and retransmitting the segment.</p><p>To follow this guidelines, the following implementation was done.</p><ul><li>Gateways can set the ECN bit in packet header. This is to notification of congestion probability while the queue has not yet maxed.</li><li>In response to a received ECN bit, the client sets ECN bit in the next ACK issued by the client.</li><li>If three ACKs are received to a packet which has been acknowledged before and if the client hasn’t responded to congestion in last RTT, Fast Retransmit and recovery procedures are initiated.</li><li>If after sending a response to an ECN, and client receives three ACKS for the same lost segment, the client will not decrease ssthresh and cwnd, and the packet for the ACK is retransmitted and Fast recovery is done by using the ACKS to set the time of outgoing packets.</li></ul><h4><strong>Performance</strong></h4><p>In simulations done by the authors, five connections with high data/transmission rate were used. the gateway is congested. RED gateway with ECN bit setting capability was compared with drop-tail gateway and a RED gateway that drops packets to notify congestion. The results show ECN-capable gateway as having high throughput and low packet delay over various conditions regardless of the size of buffer, window size, TCP clock granularity or RED gateway variation. Tests were also done with RED g/w that drop packets. It was found under certain conditions, without ECN bit also an acceptable level of throughput and delay was achievable. Using ECN that doesn’t drop packets at highly congested networks leads to low performance. AQM implementations of ECN fixes this issue.</p><h4><strong>Fairness</strong></h4><p>Connections with larger round-trip times will have lower performance since it takes longer to identify and react to congestion due to single ECN bit notification.</p><h4><strong>Compatibility with Current Technology</strong></h4><p>Microsoft Windows (from Vista onwards), MAC OSX, Linux (2.3 onwards), FreeBSD, NetBSD, Cisco (from 12.2(8)) onwards, Sun, IBM and various tools support ECN.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3110296b2fc1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digitalraajje/congestion-control-mechasims-3110296b2fc1">Congestion Control Mechasims</a> was originally published in <a href="https://medium.com/digitalraajje">digitalraajje</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bash History]]></title>
            <link>https://medium.com/digitalraajje/bash-history-105b2934053d?source=rss-c3ce5933029c------2</link>
            <guid isPermaLink="false">https://medium.com/p/105b2934053d</guid>
            <dc:creator><![CDATA[Mohamed Vishah]]></dc:creator>
            <pubDate>Thu, 13 Feb 2020 12:33:18 GMT</pubDate>
            <atom:updated>2020-02-16T05:41:34.721Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tuvaGWUFDKORQ0gFLIGDmQ.jpeg" /></figure><h4>Command-line history</h4><p>Bash is a command like shell, a program that provides an environment to run command line programs. Typical programs we use every day use a graphical user interface, where users provide input to the programs through clicking buttons, or selecting options from dropdown menus or entering text into text boxes.</p><p>Unlike these GUI applications, running command-line programs require writing the name of the program on a command line shell. Instead of running different functions by clicking options on the menu bar, in command-line programs, options to instruct different actions on the program are written as text along with the command. In addition to these, the user has to provide any other data required for the program to run.</p><p>For example:</p><p>* Command</p><blockquote>ls -l /var/log</blockquote><p>*Output</p><blockquote>-rw-r — — — 1 root adm 2043 Sep 23 06:25 syslog.2.gz</blockquote><blockquote>-rw-r — — — 1 root adm 25081 Sep 21 06:25 syslog.3.gz</blockquote><blockquote>-rw-r — — — 1 root adm 25830 Sep 16 06:25 syslog.4.gz</blockquote><blockquote>-rw-r — — — 1 root adm 15346 Sep 7 06:25 syslog.5.gz</blockquote><blockquote>-rw-r — — — 1 root adm 26010 Aug 30 06:25 syslog.6.gz</blockquote><blockquote>-rw-r — — — 1 root adm 64550 Aug 25 06:25 syslog.7.gz</blockquote><p>where ‘ls’ is a command that lists contents of a directory. ‘-l’ instructs ls program to show the output in a more detailed fashion. ‘/var/log’ is the directory whose contents we want to list.</p><p>Output of the commands can also get redirected as the input of other programs by using pipes. ‘wc’ is another command which accepts a file as input and ‘-l’ option to ‘wc’ will display the number of lines in the given file. Instead of providing a file for ‘wc’ , in the following example, we are passing the output of another command as the input of wc command. The resulting output will be 6 for the output of ls above.</p><blockquote>ls -l /var/log|wc -l</blockquote><blockquote>Combination of commands using PIPE ‘|’ can frequently get longer than this. In addition typically users will enter a lot of commands in succession.What if a user wants to re-execute the above command but with a different directory ‘/etc/sysconfig/’?.</blockquote><p>It is tedious to rewrite long commands over and over again.Performing tasks in such a redundant fashion is not a UNIX way of doing things. This is where bash history functions come to play.</p><p>The bash shell comes packed with many tricks to help in easing and speeding up the workflow of sysadmins and developers. All the commands entered in the terminal are stored in bash history file up to a certain limit. The number of commands maintained by the bash history file can also be adjusted by the users by modifying the HISTSIZE setting in the bash configuration file. Each of the commands are numbered in the file so that it can be referenced easily and the sequence in which they were entered by the user can easily be identified.</p><p>Typing the command `history` will show all the commands stored in the history file. If only the last 5 commands are to be viewed, pass a number — 5 in this case — as an argument to the command.</p><blockquote>history 5</blockquote><blockquote>50 history</blockquote><blockquote>51 man history</blockquote><blockquote>52 history 10</blockquote><blockquote>53 history</blockquote><blockquote>54 history 5</blockquote><p>Output of the `history` command(which shows all commands entered in history) when piped to the grep command (which searches for a string in a file), will show all entries in history which has the matches search string.</p><p>For example, to list all instances where cd command was issued, type the following.</p><blockquote>history | grep cd</blockquote><blockquote>33 cd Pictures/</blockquote><blockquote>37 cd ..</blockquote><blockquote>39 cd Desktop/</blockquote><blockquote>61 cd /usr/bin/</blockquote><p>In addition to piping history command output to grep command to perform search, bash also provides a more convenient key combination to perform search. By pressing CTRL-r key and beginning typing part of the command you want to recall, bash will show the most immediate match for the entered search query. If you would like to go further back in history for the searched matches, press CTRL-r as many times as needed.</p><p>If you already entered part of a command to the terminal, and wanted to search in history for the command, instead of pressing CTRL-r and retyping the search query, you can first press CTRL-a, which will place the cursor at the beginning of the line. Then press CTRL-r which will start the reverse history search process. Now you can press CTRL-y to paste what was already entered terminal as a search string and then press CTRL-r to search backward in history.</p><p>If you don’t want to search history for a string, but only want to scroll through history one by one, use CTRL-p which is used to scroll back in history, and CTRL-n to scroll forward.</p><h4>Event Designators</h4><p>Since each command we issue has an indexing number associated with it in bash history, this number in turn can be used to rerun the command. For example by typing exclamation mark 50 will recall and re execute the command associated with history index number 50</p><blockquote>!50</blockquote><p>In addition to referring to a previous command by its index number, you can also refer to a previous command by using its relative position in history. The syntax used for this is !-n where n is the relative position in history. If we want to re-execute the previous command the syntax will be !-1, If we want to re-execute the command we executed before that it will be !-2 and so on.</p><blockquote>10 cat rat.txt</blockquote><blockquote>11 ps -e</blockquote><blockquote>12 ls *fish*</blockquote><blockquote>13 ls *cat*</blockquote><blockquote>14 ls *meow*</blockquote><p>To view files and directories with the word ‘fish’ in its name we used `ls *fish*`. This command was the third last command we have issued. Hence to rerun this command we have to type the following.</p><blockquote>!-3</blockquote><p>Bash provides a simpler way to re-execute the previous command, instead of using !-1. To re-run previous command you can also use the following.</p><blockquote>!!</blockquote><p>!-n and !! contains the full strings of the commands pointed by them. This means that in addition to using these bash history shortcuts to recall previous commands as is, we can use these pointers to modify a previous command.</p><p>For example after running` ls *.xml ` to view all xml files in the current directory, it is also then required to list all php files in addition to xml files. For that we can run `!! *.php` which will recall the previous command with !! and append the search wildcard ‘*.php’ to it.</p><blockquote>ls *.xml ← list all xml files in the current directory</blockquote><blockquote>phpunit.xml ← output of above command</blockquote><blockquote>!! *.php ← typing this</blockquote><blockquote>ls *.xml *.php ← results in this</blockquote><p>phpunit.xml server.php ← output of above command</p><p>To search back in history for a command beginning with a string, and if a match is found to immediately execute it use ! followed by search string.</p><blockquote>!ls</blockquote><p>search backward in history for a line beginning with `ls` and if match is found immediately to execute it.</p><p>If the search string can be anywhere in the command, not necessarily at the beginning, you can use !?search-string? syntax.</p><blockquote>!?cat?</blockquote><p>if the most recent entry in history matching the string ‘cat’ is</p><blockquote>`vim cat.txt`</blockquote><p>bash will immediately run that command, which opens the file cat.txt in vim text editor.</p><p>If you would like to open the file in emacs text editor instead, you can perform a search and replace functionality of bash history. History search and replace has the following syntax:</p><blockquote>^search^replace^</blockquote><p>So to perform the task at hand, we will have to issue</p><blockquote>^vim^emacs^</blockquote><h4>Word Designators</h4><p>Word designators are used to match part of the command line, which are recalled by an event designator. The parts matched are represented by parts in the command line which are surrounded by white space. Words in a command line can be represented by numbers or special characters representing their position in the command-line string. Word designators are given after entering `:` character after an event designator.</p><p>For example !! event designator points to and contains the previous command issued. If the previous command is `ls /var/www/logs/`, to change the working directory to /var/www/logs without typing the path again, use `cd !!:1` where `:1` represents the first argument or first word in the string contained in the event designator.</p><p>In the example !! refers to `ls /var/www/logs` and the first word in it is `/var/www/logs`.</p><p>ls /var/www/logs</p><p>cd !!:1</p><p>where !! is `ls /var/www/logs` and</p><p>:1 resolves to `/var/www/logs` and</p><p>cd !!:1 resolves to `cd /var/www/logs`</p><p>ls command can have more than one argument. For example</p><p>ls a/ b/ c/ d/</p><p>shows the list of files and directories in a, b,c and d directories. Here the first argument to ls is a/ which can be represented by ^ and the last argument is d/ which can be represented by the $ symbol. To represent all arguments * can be used</p><p>Wild cards can also be used to match arguments in a word designator.</p><p>!!:1*</p><p>resolves to a/ b/ c/ d/</p><p>!!:1-$</p><p>resolves to a/ b/ c/ d/</p><p>!!:^-3</p><p>resolves to a/ b/ c/</p><p>!!:*</p><p>resolves to a/ b/ c/ d/</p><p>Unix philosophy is all about making it efficient for the users to perform tasks. Using bash history functions will let you reduce your typing, speed up your work and help to reduce mistakes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=105b2934053d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digitalraajje/bash-history-105b2934053d">Bash History</a> was originally published in <a href="https://medium.com/digitalraajje">digitalraajje</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I learnt not to use Windows]]></title>
            <link>https://medium.com/digitalraajje/how-i-learnt-not-to-use-windows-2013671314ce?source=rss-c3ce5933029c------2</link>
            <guid isPermaLink="false">https://medium.com/p/2013671314ce</guid>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Mohamed Vishah]]></dc:creator>
            <pubDate>Wed, 12 Feb 2020 09:10:39 GMT</pubDate>
            <atom:updated>2020-02-12T09:10:39.220Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*9GpOkZbSt2TBMFfVIilm5w.png" /></figure><p>I have not used Windows for the past 17 years, the last version of Windows that I used being Windows XP. Migrating to Linux has been a pleasant experience in terms of its stability, security, user friendliness and opportunity to learn. Most importantly it has been liberating experience in using various Linux Operating systems over the years.</p><p>My first Linux Operating System was RedHat. It was love at first glance. The gnome and KDE desktop environment had beautiful icons, you could even rotate the icons in the desktop. It was blazingly fast and didn’t crash every other hour like in Windows. I could leave the system up for months without the system crashing, or system slowing down due to memory leaks like that happen in Windows. There were no BSODs in Linux.</p><p>There were so many packages including games, photo editing software, Office Suite, media players etc. that all came in the installation media. This was the time where Computer memory and hard disk space was limited. Even after installing every single software package that came in installation CDs to the hard disk, the used hard disk space was way less than it would have been if you installed similar featured software in a Windows installation. This small hard disk footprint is due to Linux software using shared libraries amongst software packages. For example, two image editing software in Linux may use the same shared image editing library instead of bundling duplicate code with each software.</p><h3>Not Innovative</h3><p>Linux Operating systems is where innovation happens first in the software world. For example, if we have a look at desktop shells, window animations, multiple virtual desktops, desktop widgets, desktop search, these and many more features were first introduced by Linux desktop environments. Windows users are confined to a functionally limited, unstable mess of an Operating System. It would be wise to move to Linux now. Linux, because a computer is a terrible thing to waste.</p><h3>Not Secure</h3><p>Linux is much more secure than Windows. There are multiple layers of security, from file permissions architecture to network firewalls and access control security policy management software bundled in Linux. Linux doesn’t tend to give users administrative rights by default. We all are familiar with the virus infested world of Windows. Even if a virus were to infect a Linux program, it wouldn’t be able to do system wide damage. There are millions of developers contributing to the Linux operating system ecosystem. They include security specialists who regularly go through the openly viewable code of the software to find any security vulnerabilities and patch them up with security fixes as soon as they are found. Microsoft has historically had a lot of delay in patching up security vulnerabilities even if they were notified about it. For vulnerabilities in there software that are not known by microsoft, hackers and government have been using the vulnerabilities to gain access to computer systems for ages. Irrespective of the amount of money Microsoft has, they will not be able to hire all the leading security and software experts into their company to secure their software. Due to the open nature of Open Source Software,millions of developers in the community submit fixes to Open Source software freely or even are paid by their own companies to do it. IBM, RedHat or Amazon and many other large companies hire experts to develop, test and secure Open Source software.</p><p>Microsoft Windows Operating systems also has universal back doors which allows Microsoft to delete your files, force upgrades and to allow the U.S government/NSA to peek into your personal files. It is a national security risk to use Windows in the government. In addition respectable security experts have alerted that writable microcode for Intel and AMD systems can be utilized by U.S government to gain access to your data, with the help of Microsoft.</p><p>Internet Explorer and Edge browsers have many flaws, allowing hackers to access logins stored in them. Likewise many other software included in Windows have flaws, which are utilised by hackers and U.S government for a long time before microsoft patches them, that then only due to pressure by the IT community. .</p><p>Some European governments as veered away from using Windows in high confidentiality areas due to the many security issues with Windows and have adopted Linux. It is not possible to include a backdoor in Linux Kernel or Open SSH without users being immediately aware of its presence due to the freedom Open Source gives to study what is included in the software that users use.</p><h3>Forces older hardware to be redundant</h3><p>Microsoft, to sell their operating system has agreements with computer vendors like DELL to install Windows by default into the PCs and laptops sold. Vendors will want users to purchase new computers frequently and Microsoft also benefits when users purchase newer versions of its operating systems. To run a Windows 10 successfully, you will need to meet its minimum hardware requirements. Linux Operating systems on the other hand, can be installed on the oldest of hardware to perform tasks. Evenon high-end systems, Linux, due to its efficiency would take the edge in speed and stability. Microsoft has no incentive to make its operating system run efficiently in older hardware.</p><h3>Anti Competitive Behavior</h3><p>Microsoft manages and unleashes patent trolls to intimidate competing software. The company continues to use software patents to threaten FLOSS software developers to kill competing FLOSS software. Threat of patent trolls also forces many businesses to adopt Microsoft software in addition or in replacement of FLOSS software. Many FLOSS projects don’t have enough finance for an extended legal battle, and many users would rather adopt Microsoft technologies rather than face legal repercussions over perceived threats from continuous legal fear mongering. Software patents are a hindrance to innovation, where simple concepts like ‘swipe to unlock’ and ‘enlarging an icon by moving cursor over them’ can be owned by a single company. Even a small software application can contain many patents belonging to mega corporations, without the developer being aware of the features being patents. The fashion or culinary industry is thriving without businesses owning recipes or designs of clothes. Software patents as a protected virtual asset of companies, were introduced by companies like Microsoft through their well-financed lobbyists, by buying out corrupt politicians.</p><p>Microsoft also has a history of using their monopoly in the desktop operating system market to introduce non standard, proprietary extensions to their services, forcing the users to use Microsoft software. For example, Microsoft had used Active X technologies in their websites, and forced other companies to adopt it. Hence users had to use Microsoft Operating system to view websites which uses those non standard, proprietary technologies.</p><h3>Restricts Users Freedom</h3><p>Most Importantly using Free/Libre Open Source Operating system instead of Windows will give users freedom and protection over their data and software. The freedoms Free/Libre Open Source software promises and are enforced in FLOSS software though FLOSS licensing are:</p><ul><li>The freedom to run the program as you wish, for any purpose (freedom 0).</li><li>The freedom to study how the program works, and change it so it does your computing as you wish (freedom 1). Access to the source code is a precondition for this.</li><li>The freedom to redistribute copies so you can help others (freedom 2).</li><li>The freedom to distribute copies of your modified versions to others (freedom 3). By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.</li></ul><p>Due to all these reasons there is no reason right now, with regards to usability, security, features, power of customization, dependability and cost that the government, businesses and users should not move to Linux, especially in Maldives where migration to Open Source operating systems would be a much easier task. Much larger countries have done it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2013671314ce" width="1" height="1" alt=""><hr><p><a href="https://medium.com/digitalraajje/how-i-learnt-not-to-use-windows-2013671314ce">How I learnt not to use Windows</a> was originally published in <a href="https://medium.com/digitalraajje">digitalraajje</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>