<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Rumesh Madhusanka</title>
    <description>The latest articles on Forem by Rumesh Madhusanka (@rumeshmadhusanka).</description>
    <link>https://forem.com/rumeshmadhusanka</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F288259%2F8c1c0858-7673-4b92-9f2b-f4f8aa9d130c.jpeg</url>
      <title>Forem: Rumesh Madhusanka</title>
      <link>https://forem.com/rumeshmadhusanka</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/rumeshmadhusanka"/>
    <language>en</language>
    <item>
      <title>OS threads vs User threads</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Thu, 19 Nov 2020 10:51:28 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/os-threads-vs-user-threads-ead</link>
      <guid>https://forem.com/rumeshmadhusanka/os-threads-vs-user-threads-ead</guid>
      <description>&lt;p&gt;why do many programming languages map their threads to kernel level threads?&lt;br&gt;
Programming languages like go uses user level threads and gained a good amount of efficiency. But why not others(Java, Python...) have followed the same approach?&lt;/p&gt;

</description>
      <category>help</category>
      <category>programming</category>
    </item>
    <item>
      <title>Examples for bad software architecture</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Fri, 22 May 2020 10:18:49 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/examples-for-bad-software-architecture-24eh</link>
      <guid>https://forem.com/rumeshmadhusanka/examples-for-bad-software-architecture-24eh</guid>
      <description>&lt;p&gt;What are the existing well known software that has bad architecture and can be redesigned to improve its quality? I need this information to carry out a case study.&lt;/p&gt;

</description>
      <category>help</category>
      <category>architecture</category>
      <category>software</category>
      <category>discuss</category>
    </item>
    <item>
      <title>How to log everything?</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sun, 23 Feb 2020 16:57:33 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/how-to-log-everything-34dn</link>
      <guid>https://forem.com/rumeshmadhusanka/how-to-log-everything-34dn</guid>
      <description>&lt;p&gt;It is possible to log everything happens in a software such as user clicks, database queries etc and then use those logs to find out when a bug arises. Is there a standard way to do that? What should be logged and what should be kept out of it?&lt;/p&gt;

</description>
      <category>log</category>
      <category>debugging</category>
      <category>help</category>
    </item>
    <item>
      <title>Data privacy and protection in healthcare</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Thu, 20 Feb 2020 06:07:27 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/data-privacy-and-protection-in-healthcare-33d1</link>
      <guid>https://forem.com/rumeshmadhusanka/data-privacy-and-protection-in-healthcare-33d1</guid>
      <description>&lt;p&gt;I am developing a medical health record system which emphasizes on data privacy and protection for my semester long project. &lt;/p&gt;

&lt;p&gt;Could you name good source to refer about data privacy and security in healthcare?&lt;/p&gt;

&lt;p&gt;Personal experiences on developing duch systems, examples are helpful too.&lt;/p&gt;

</description>
      <category>privacy</category>
      <category>healthcare</category>
      <category>help</category>
      <category>ideas</category>
    </item>
    <item>
      <title>Node Express REST API</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Thu, 02 Jan 2020 10:43:41 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/node-express-rest-api-3c32</link>
      <guid>https://forem.com/rumeshmadhusanka/node-express-rest-api-3c32</guid>
      <description>&lt;p&gt;My semester end project for an Airline Reservation System.&lt;/p&gt;

&lt;p&gt;Node Express REST API&lt;/p&gt;

&lt;h2&gt;
  
  
  Features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Triggers&lt;/li&gt;
&lt;li&gt;Functions&lt;/li&gt;
&lt;li&gt;Views&lt;/li&gt;
&lt;li&gt;Stored procedures&lt;/li&gt;
&lt;li&gt;Indexing &lt;/li&gt;
&lt;li&gt;&lt;p&gt;Using transactions where necessary in Database&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Node Express REST API&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Using promises&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Documentation with &lt;code&gt;Swagger&lt;/code&gt;(Open API 2.0)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Centralized error handling&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Passwords hashed using &lt;code&gt;bcrypt&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Authentication with &lt;code&gt;jwt&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;User input validation using &lt;code&gt;hapi/joi&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Uses &lt;code&gt;promise-mysql&lt;/code&gt; and connection pooling&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Load balancing using &lt;code&gt;pm2&lt;/code&gt; process management&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Using &lt;code&gt;Docker&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;MIT license&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;code&gt;Grafana&lt;/code&gt; for Realtime Report generation &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Source code: [&lt;a href="https://github.com/rumeshmadhusanka/DB-API"&gt;https://github.com/rumeshmadhusanka/DB-API&lt;/a&gt;]&lt;/p&gt;

</description>
      <category>node</category>
      <category>showdev</category>
      <category>api</category>
      <category>example</category>
    </item>
    <item>
      <title>What is the coolest Linux disto you have used?</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 17:54:15 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/what-is-the-coolest-linux-disto-you-have-used-1b54</link>
      <guid>https://forem.com/rumeshmadhusanka/what-is-the-coolest-linux-disto-you-have-used-1b54</guid>
      <description>&lt;p&gt;🐧&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>How much experience need to be a freelancer? 🙃</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 17:50:08 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/how-much-experience-need-to-be-a-freelancer-22ng</link>
      <guid>https://forem.com/rumeshmadhusanka/how-much-experience-need-to-be-a-freelancer-22ng</guid>
      <description>&lt;p&gt;What is your opinion on going freelancing?&lt;br&gt;
Some tips for a newbie for freelance 😉&lt;/p&gt;

</description>
      <category>watercooler</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How much testing should cover</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 17:41:03 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/how-much-testing-should-cover-3ghh</link>
      <guid>https://forem.com/rumeshmadhusanka/how-much-testing-should-cover-3ghh</guid>
      <description>&lt;p&gt;What does it means "92% coverage" ?&lt;br&gt;
How is code coverage measured?&lt;br&gt;
How much should testing cover?&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>testing</category>
      <category>explainlikeimfive</category>
    </item>
    <item>
      <title>Where to use encryption 🤔</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 17:36:01 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/where-to-use-encryption-3h20</link>
      <guid>https://forem.com/rumeshmadhusanka/where-to-use-encryption-3h20</guid>
      <description>&lt;p&gt;I am developing a nodejs rest API and a react frontend which uses the API. I hope to deploy them on azure. Do I need to enable encryption between the front end and the backend?&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;OR&lt;/strong&gt;&lt;br&gt;
Is it enough to enable encryption only on the front end?&lt;br&gt;
(I do not plan to expose the API to third parties)&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>help</category>
      <category>encryption</category>
      <category>react</category>
    </item>
    <item>
      <title>When to use/not use an ORM</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 12:19:17 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/when-to-use-not-use-an-orm-57fj</link>
      <guid>https://forem.com/rumeshmadhusanka/when-to-use-not-use-an-orm-57fj</guid>
      <description>&lt;p&gt;ORMs ease out the pain of writing the data access layer by ourselves. But, have you ever come across a situation where an ORM is not suitable to do it's job?&lt;/p&gt;

</description>
      <category>discuss</category>
      <category>sql</category>
      <category>orm</category>
    </item>
    <item>
      <title>Transport layer protocol for High frequency trading</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 12:06:29 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/transport-layer-protocol-for-high-frequency-trading-5gjl</link>
      <guid>https://forem.com/rumeshmadhusanka/transport-layer-protocol-for-high-frequency-trading-5gjl</guid>
      <description>&lt;p&gt;Some people say TCP is too slow for HFT,  and UDP is not reliable. Therefore Fintech companies come up with their own transport layer protocol.&lt;br&gt;
What are would be the characteristics of such protocol?&lt;br&gt;
Are there any non proprietary protocols out there? &lt;/p&gt;

</description>
      <category>highfrequencytrading</category>
      <category>networking</category>
      <category>tcpip</category>
      <category>help</category>
    </item>
    <item>
      <title>Move from one licence to another</title>
      <dc:creator>Rumesh Madhusanka</dc:creator>
      <pubDate>Sat, 28 Dec 2019 11:52:27 +0000</pubDate>
      <link>https://forem.com/rumeshmadhusanka/move-from-one-licence-to-another-4lpk</link>
      <guid>https://forem.com/rumeshmadhusanka/move-from-one-licence-to-another-4lpk</guid>
      <description>&lt;p&gt;Suppose I create an open source software and distribute it under a particular license. After a while, if I want to change the licence to more restrictive open source licence how can I do that?&lt;/p&gt;

&lt;p&gt;Is there any particular procedure to follow?&lt;/p&gt;

</description>
      <category>licensing</category>
      <category>help</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
