<?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 Ruwan Abeykoon on Medium]]></title>
        <description><![CDATA[Stories by Ruwan Abeykoon on Medium]]></description>
        <link>https://medium.com/@ruwanta?source=rss-bf5c837426ff------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Ybu2fOgdnqG4Q10G.</url>
            <title>Stories by Ruwan Abeykoon on Medium</title>
            <link>https://medium.com/@ruwanta?source=rss-bf5c837426ff------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 09:02:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ruwanta/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[Not Every Change Needs a Formal Test Plan — When Unit Tests Are Truly Enough]]></title>
            <link>https://medium.com/@ruwanta/not-every-change-needs-a-formal-test-plan-when-unit-tests-are-truly-enough-14abc192f303?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/14abc192f303</guid>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[softwarequalityassurance]]></category>
            <category><![CDATA[software-quality-engineer]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Fri, 02 Jan 2026 03:50:25 GMT</pubDate>
            <atom:updated>2026-01-02T03:50:25.840Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not Every Change Needs a Formal Test Plan — When Unit Tests Are Truly Enough</h3><p><strong>While I was forming a QE department as Director of QA I found that the Development/Test process sometimes just follows without much value addition</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NuOGP99VWpVH3dSFFhm3Mg.jpeg" /></figure><p>Many times, we were enforcing full test plans, detailed test cases, regression runs, and sign-offs even for the tiniest internal-only changes.</p><p>The ceremony looked impressive on paper, but in reality, it was mostly <strong>process theater</strong> — creating the illusion of quality without actually moving the needle on risk reduction. In 2025–2026, many engineering teams still live with a kind of <strong>“testing fundamentalism”</strong>: every pull/merge request, no matter how small, must have:</p><ul><li>a test plan document</li><li>several new integration/end-to-end test cases</li><li>full regression suite execution</li><li>sometimes even a separate QA review phase</li></ul><p>While this approach makes sense for medium-to-large features, architectural refactorings or changes that touch many modules, it becomes <strong>wasteful</strong> and even <strong>harmful</strong> when applied to small, low-risk modifications.</p><p>The pragmatic reality is: <strong>Not every piece of work requires a formal test plan.</strong></p><h3>When Unit Tests + Good Existing Coverage Are Sufficient</h3><p>There are two very common categories of changes where a well-written unit test (or a small set of unit tests) is usually more than enough:</p><p>1. <strong>Simple, isolated bug fixes</strong><br> Example: null-pointer crash in a rarely used helper method, wrong rounding in an internal calculation, off-by-one in a private parsing function</p><p>2. <strong>Adding new isolated capabilities</strong> without changing existing behaviour <br> Examples that usually qualify:<br>Support for a new encryption algorithm/cypher suite (e.g. adding XChaCha20-Poly1305 beside existing AES-GCM)</p><ul><li>Adding a new compression method to an internal archival routine</li><li>Implementing a new logging format that the old one still fully supports</li><li>Adding a new optional field to an internal data structure with backwards-compatible defaults</li></ul><h3>Two Key Criteria — The “Low-Risk Change” Checklist</h3><p>You can safely skip formal test plans and heavy regression testing when <strong>both</strong> conditions are true:</p><p>1. <strong>The change is logically transparent to the caller</strong><br> → No external/public API is modified (signature, contract, error codes, performance category, observability points, etc.) <br> → Existing callers continue to work exactly the same way (same inputs → same outputs)</p><p>2. <strong>The change is well isolated</strong><br> → Lives mostly inside one <strong>module / one class / one file</strong> (or a <strong>very small</strong> number of closely related files) <br> → Doesn’t require coordinated modifications across many layers/teams/services</p><p>When both criteria are met **and** the codebase already enjoys **good-to-excellent unit test coverage** (typically ≥75–85% on the affected area + solid coverage of the surrounding modules), then adding/changing a handful of targeted unit tests is usually the **rational maximum** level of verification needed.</p><h3>Quick Decision Table</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d7af9b96dd252bc48421a294b22deb2f/href">https://medium.com/media/d7af9b96dd252bc48421a294b22deb2f/href</a></iframe><h3>Important Safety Guardrails</h3><p>Skipping formal test plans is <strong>only safe</strong> when the team maintains these healthy practices:</p><ul><li>High branch coverage on business-critical/hot paths (≥80–90%)</li><li>Meaningful assertions (not just “doesn’t crash”)</li><li>Fast &amp; reliable CI with pre-merge unit test execution</li><li>Reasonable degree of static analysis + linters</li><li>Blameless post-mortem culture when regressions occasionally slip through (they will — accept it)</li></ul><h3>Bottom Line</h3><p><strong>Good engineering is not a maximum ceremony for every change.</strong><br>It’s an <strong>appropriate ceremony for the actual risk</strong>.</p><p>When the risk is genuinely very low (isolated change + no public contract modification + strong existing safety net), insisting on full test plans becomes <strong>process debt</strong> rather than quality investment.</p><p><em>Trust your unit tests. <br>Trust your coverage metrics. <br>And let small, boring, safe changes stay small, boring and fast.</em></p><p>That’s how high-velocity, high-quality teams really ship in 2026. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14abc192f303" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Fox Hunting as SWL]]></title>
            <link>https://medium.com/ruwanta-radio/fox-hunting-as-swl-187638e75db8?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/187638e75db8</guid>
            <category><![CDATA[ham-radio]]></category>
            <category><![CDATA[direction-finder]]></category>
            <category><![CDATA[fox-hunting]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Thu, 13 Apr 2023 01:19:51 GMT</pubDate>
            <atom:updated>2023-04-13T01:19:51.167Z</atom:updated>
            <content:encoded><![CDATA[<p>This is to tell how couple of SWL got together and participated on Fox Hunt event on held by <a href="https://rssl.lk/">RSSL</a>.</p><h3>No ! we do not kill animals !</h3><p>Some of you may think, oh well these people going to hunt live Foxes. No, not at all. Fox hunt is an event where radio researchers participate a friendly competitive event of finding a hidden radio transmitter, using various techniques and tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Rlx-bANkxFHinRIjB_oMvQ.jpeg" /><figcaption>By Winslow Homer — The Athenaeum: Home — info — pic, Public Domain, <a href="https://commons.wikimedia.org/w/index.php?curid=8825940">https://commons.wikimedia.org/w/index.php?curid=8825940</a></figcaption></figure><h3>Train and prepare for emergency through fun</h3><p>The intention in my opinion for the annual fox hunt activity is to keep radio researchers prepared for emergencies where radio location finding is needed. Search and rescue operation is something where it needs different skills and as much ass many people co-ordinating, yet attempting to reach fast as possible with multiple routes.</p><p>Think of a situation where an aircraft crashed onto the thick jungle. Arial survey may not find any trace. However most likely there will be a distress radio beacon active for days on the crash site. The fastest way to locate the crash site is by locating the radio beacon by radio location. This is why an interested radio researcher would keep the tools and skills updated by participating this activity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMNcWrO7Li6LDOx4Fiz92A.jpeg" /><figcaption>Tracking wild life with radio beacon is one of the conservation activity with RDF (picture: By USFWS Mountain-Prairie — Tracking Mountain Lions, Public Domain, <a href="https://commons.wikimedia.org/w/index.php?curid=30697830">https://commons.wikimedia.org/w/index.php?curid=30697830</a>)</figcaption></figure><h3>Licensed HAMs and SWL</h3><p>Radio researchers, who does not have radio transmission license on the public airwaves is called SWL (Short Wave Listener). There were times where only high frequency (HF)band is the highest band available for radio communications and broadcasting. So anyone who do research while not having transmission license were called Short Wave Listener. But there are much more activity on much higher bands these days.</p><p>The Fox Hunt was traditionally thought as an event where licensed HAMs participate and excels as they have the most knowledge and wealth of experience on adopting to varying situations.</p><p>RSSL generously allows SWLs to participate on the fox hunt event as it only requires one to listen or receive the radio signals. Couple of RSSL members who has not yet got license got together and though of forming all SWL team to compete for the event on 2019.</p><h3>Preparation</h3><p>We had initial discussion with the members, and came up with a strategy.</p><p>Had lot of advice and got past experience from an expert HAM <a href="https://www.qsl.net/4s7vj/">Wije (4S7VJ)</a></p><p>Use RTL SDR With Laptop to receive the signal and compare signal strength</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KGpKMwlLiCf33IV8fJ5pqA.jpeg" /><figcaption>Testing the tape measure antenna with RTL SDR and CubicSDR</figcaption></figure><p>Build a portable VHF fox-hunt antenna using steel measuring tape [1]. This will help to find the general direction of the transmitter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lf6n_-RXVs-OlMGoeWZqlQ.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dbzrE0-oXMIwoahM6uVl-w.jpeg" /><figcaption>Simple antenna build. Material and the builder.</figcaption></figure><p>Build a magnetic loop antenna tuned to the fox hunt frequency to find out the sharp null. This will help to narrow down the signal path.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*vtVpcifkpNo88RyOhggEag.png" /><figcaption>The MagLoop (Small Loop) antenna. Used by Deep and Chinthaka. The signal was strong in this location and sharp null finding provided better result.</figcaption></figure><p>Wije also explained that it is very difficult to find the location when we are close to last 500m of the transmitter as the signal tend to reflected by any object nearby. Tips of using attenuator, and removing the antenna ans use a paper clip are tried and tested methods on this situation. However we did not have access to attenuator nor a transceiver. Therefore we thought of building a auxiliary antenna for third harmonic, which is in UHF band to pinpoint the fox when we are closer to the fox. link [2]. This has proven to work in the close proximity where the UHF band 3rd harmonic signal was really able to pinpoint the fix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w1RGYyNaFJBLJWm3R2A8Kw.jpeg" /><figcaption>Another trick,:The tapes can be folded to change the resonance to UHF band near the fox. Then use the reflector foil to block the signals from the back side. (Deep and Chathuranga)</figcaption></figure><h4>References</h4><p>[1] Tape measure antenna <a href="http://theleggios.net/wb2hol/projects/rdf/tape_bm.htm">http://theleggios.net/wb2hol/projects/rdf/tape_bm.htm</a></p><p>[2] Wije’s page with loads of knowledge: <a href="https://www.qsl.net/4s7vj/">https://www.qsl.net/4s7vj/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=187638e75db8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ruwanta-radio/fox-hunting-as-swl-187638e75db8">Fox Hunting as SWL</a> was originally published in <a href="https://medium.com/ruwanta-radio">ruwanta-radio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I hate “Pagination” — on UI and API design.]]></title>
            <link>https://medium.com/ruwanta-on-iam/why-i-hate-pagination-on-ui-and-api-design-28742ccf503a?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/28742ccf503a</guid>
            <category><![CDATA[pagination]]></category>
            <category><![CDATA[api-integration]]></category>
            <category><![CDATA[ui-ux-design]]></category>
            <category><![CDATA[software-architecture]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Wed, 12 Apr 2023 08:44:45 GMT</pubDate>
            <atom:updated>2023-08-02T12:09:01.049Z</atom:updated>
            <content:encoded><![CDATA[<h3>Why I hate “Pagination” — on UI and API design.</h3><h3>The ugly side of pagination</h3><p>The famous quote “<a href="https://digitalsynopsis.com/tools/google-serp-design/"><em>The best place to hide a dead body is page 2 of Google search results.</em></a>” vs the demand for pagination by the customers on API prompted me to write this.</p><p>I was fond of pagination on User Interface (UI) when I started my programming journey. Most of the products, solutions and projects I built between 2001–2011 had a lot of paginated tables, and page controls and even went on having a “page-info object” pass back and forth with server and client. However gaining maturity, having experienced the load on the server, and the end users’ behaviours, etc.. prompted me to re-evaluate better options. Then came the new UI concepts from the social media applications and I immediately feel fond of their better User Experience (UX) without pagination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ARZIqycai5MR7KHkY9ABbg.jpeg" /><figcaption>Pagination needs to be burned as it is hard for the user</figcaption></figure><p>Then came an instance where I had to quickly develop <a href="https://docs.wso2.com/display/IS550/Receiving+Alerts">“Alerts” for “Identity Server Analytics”</a>. Ironically, I fell into the trap of pagination despite having the knowledge that pagination is a bad UX and bad on the server. Partly because I was asked to develop this in a short time, and partly because the base framework (<a href="https://docs.wso2.com/display/DAS310/Analyzing+HTTPD+Logs">WSO2 DAS)</a> had all the necessary page controls and pagination APIs. Well, the lessons learnt again; The paginated UI is not much useful.</p><p>I had to convince a lot of seasoned developers who have been fond of ’80s UI concepts and novice software architects who have been insisting on the need for pagination, maybe it is for developing UI, maybe it is for integration requirements. However, most of them changed their minds when I explained the severe drawbacks of pagination and then showed them the much better alternatives.</p><h3>Why do people demand pagination?</h3><h4>Easy</h4><p>It is easy to write a UI to impress your manager at first glance. Yes, managers typically want to see some table with some kind of data, even if they do not make sense. However, your manager will be disappointed when they want to access a relevant piece of data as it is hard to find interesting pieces of data with pagination. Then there is always a lack of valuable information on the record at a glance when they ultimately find the relevant record(s). It is nearly impossible to compare two records which fall within two pages of the result set.</p><h4>Fast</h4><p>If you are a UI designer, you are tempted to put a table to show records, since it is easy for demos. Tables look awesome when there are not enough data (which is typical when you do the demos). The UI feels rich and full when you place a table with page controls even if there are no data.</p><figure><img alt="Shows people jump charge batteries with assault riffle. It is quick and works, but is it safe?" src="https://cdn-images-1.medium.com/max/542/1*4NCIYnrYhvBUVYa_yZCSJQ.jpeg" /><figcaption>It is easy and gets the job done fast. But would that be safe?</figcaption></figure><h3>Disadvantages of Pagination.</h3><h4>Not Natural</h4><p>UX of pagination is not natural. One source says that page controls are something invented around 1960 for Multics operating to manage limited computer resources to present a large result set [https://multicians.org/paging-experiment.pdf]. Pagination is also thought to resemble the way people navigate through a book.</p><h4>Record Oriented</h4><p>The record is some kind of fact that never changes. A typical example is a bank transaction, which once performed will never get deleted or changed. Typical data in modern society is not record-oriented (e.g. Social media Posts, Advertisements etc. more resembles a tree or graph). Presenting these in pagination is counterintuitive.</p><h4>User fatigue</h4><p>It is hard to navigate across pages. You will get fatigued if you try to navigate on more than a few pages to find a few interesting records or if you are trying to scan through all the records.</p><h4>Goldfish memory</h4><p>We need to think that the attention span of a human is low as 10 seconds and getting lower by the day (reference <a href="https://www.wyzowl.com/human-attention-span/)">https://www.wyzowl.com/human-attention-span/)</a> as we tend to pass a lot of mundane tasks to technology. Hence the chance of a person clicking on the “Next”, ”Back”, and “Page Number” buttons is very low and takes the person&#39;s attention away from the main task of the application. Just think how many times you have clicked the page buttons on your online bank application recently. I bet it is next to none despite the bank transactions presented are record-oriented data which fits perfectly for the domain of pagination.</p><h4>Mechanical Sympathy</h4><p>Software must be written to understand the hardware. A lot of developers and managers fail to understand this until they start paying the price for higher capacity hardware or unnecessary large bills for cloud providers. At this point it is too late to change the architecture and/or API contract and the service thus offered keeps on bleeding money to keep the backward compatibility. Pagination is one of the major consumers of memory and DB queries which typically goes to waste. This is because the listing result on the API has to keep a lot of data in stateful (session) memory anticipating the user would navigate to the next or random pages, while 99% of the time user will just see the first page and do another query discarding the previous paged result. This means the service spends money unnecessarily without productive work but had to keep it spending, which affects the bottom line of IT business.</p><h3>Ok, pagination is bad but what are the better options?</h3><p>Definitely yes.</p><h4>Infinite scrolling</h4><p>This pattern is more widespread with the adaptation of cloud-native applications and the social media boom coupled with the popularity of mobile applications. Users find it easy to browse through the content just by finger and then pick the interesting item. You can argue that there are places where i<a href="https://uxplanet.org/ux-infinite-scrolling-vs-pagination-1030d29376f1">nfinite scrolling is not suitable</a>. However, I found that the places where “infinite scroll” is not suited are in the minority and in very specific circumstances.</p><h4>Filtering</h4><p>This is by far the best in terms of usability in my opinion. Think of the way we access “Search Engines” like Google. The cloud-based mail services such as “Gmail” or “Yahoo”. We do not use their page controls but use the search field to put the desired keywords and expect the server to perform the necessary filtering for us. Then we would refine the search by adding more words to narrow down the list if the results are too large.</p><h3>How about integration?</h3><p>Ok, we can do better UX without pagination, but what if you want to consume all the results on a particular query from an API by another application?</p><p>This is by far the valid requirement which requires pagination. Returning a large result in a single JSON/XML payload containing all the records is not going to be efficient and will explode server-side and client-side memory.</p><p>You need to think of this as an integration problem. REST API is not the best technology for this where it is designed to be stateless and state transformation is performed on POST/PUT/PATCH methods.</p><h4>There are better technologies that exist for this</h4><p><a href="https://techdozo.dev/grpc-synchronous-and-asynchronous-server-streaming-rpc/">gRPC async stream</a></p><p><a href="https://jvmaware.com/streaming-json-response/">HTTP Streaming</a></p><p><a href="https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events">Server sent events (SSE)</a></p><blockquote>o Via HTTP2</blockquote><blockquote>o Via WebSocket</blockquote><p>There are a few fundamental aspects which are common and desirable regardless of the chosen wire protocol above.</p><h4>Easy on the server</h4><p>The server sends the data as a stream as and when it keeps reading them from the storage. So no need to keep the state or session in memory expecting any subsequent requests</p><h4>Server back-pressure</h4><p>The server can have a back-pressure mechanism where the server will not read more data until the client can drain the data.</p><h4>Easy on the client</h4><p>The client can process the record item one by one and does not have to maintain a session or large result set in memory.</p><h4>Client back-pressure</h4><p>The event queue does not fill up unnecessarily as most wire protocols support a back-pressure mechanism to the server if the client is slow in processing data. Hence memory consumed by the client is also minimal.</p><h3>In summary,</h3><p>Pagination on API or UI is generally not a desired or acceptable solution for most applications. However, there are very few instances the pagination is required. You are the best person to know whether you really need the pagination. Evaluate critically considering UX and cost (server/client resource consumption). Do not fall into the trap of pagination blindly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28742ccf503a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ruwanta-on-iam/why-i-hate-pagination-on-ui-and-api-design-28742ccf503a">Why I hate “Pagination” — on UI and API design.</a> was originally published in <a href="https://medium.com/ruwanta-on-iam">ruwanta-on-iam</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Five reasons to become a HAM Operator in Sri Lanka]]></title>
            <link>https://medium.com/ruwanta-radio/five-reasons-to-become-a-ham-operator-in-sri-lanka-10b1b36a6999?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/10b1b36a6999</guid>
            <category><![CDATA[entertainment]]></category>
            <category><![CDATA[amateur-radio]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[sri-lanka]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Mon, 06 Jul 2020 03:19:05 GMT</pubDate>
            <atom:updated>2020-07-15T15:52:31.308Z</atom:updated>
            <content:encoded><![CDATA[<p>Some of you may wonder, what are the advantages of HAM radio, when there is much more robust, wide-spread and easy accessible communication modes? For example, anyone can easily talk to a person on the other side of the world using Phone or VoIP software, having very good quality audio, video and data.</p><p>HAM radio is also known as Amateur Radio. The name misleads here. <strong>Amateurs</strong> <strong>are in fact Experts</strong> in using any piece of metal as an Antenna, and able to communicate long distance with few basic electronic components (e.g one Transistor, few capacitors, few coils and a battery) wired together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/510/1*2uWa3yqHDVETU7ZQLX0O0g.jpeg" /><figcaption>Ravana 1, Sri Lankan experimental satellite operates its communication in HAM Bands</figcaption></figure><h3>No reliance of any infrastructure</h3><p>Over the years our Island has developed communication infrastructure. We have put up lot of mobile towers, extended our wired network to remote areas, and most of the densely populated areas are being serviced with Fiber-Optic cables.</p><p>However all connectivity now happens through a handful of submarine cables all of which are terminated at three stations in Sri Lanka. We do not have a single point of failure as such, but most traffic passes through Colombo station, which is almost like a single point. We can recall an incident in <a href="https://www.networkworld.com/article/2324749/sri-lankan-internet-services-restored-after-cable-cut.html">2004 [1]</a> break in one of the submarine cables, thus causing very slow internet connectivity. Also the Padukka satellite station, which provided the connectivity to the world for decades is now converted to a museum. Hence we only rely on submarine cables.</p><p>Our cellular network has improved and penetrated all over the country. However they can only function for a few hours without grid power, the Achilles heel of the existing communication infrastructure.</p><p>On the contrary, HAM radio equipment needs no permanent connectivity. No permanent power source, no permanent antenna, etc.. It can be operated by a solar panel, small generator or even a car battery. These equipment can be carried over to any emergency location, by means of any available transport. They can even be carried over a back-pack and operated on a mountain top, providing instant communication across the world.</p><p><a href="https://www.lankabusinessonline.com/sri-lanka-tsunami-amateur-call-2/">The classic example was HAM radio operators were able to establish contacts after the tsunami on 2004, which caused a massive shut-down on the communication infrastructure in the affected area. [2]</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wcnft-euOmj3Zg4E1u0zOg.jpeg" /><figcaption>Summit on the Air blog : <a href="http://vk3zpf.com/2016/02/learning-morse-code.html">http://vk3zpf.com/2016/02/learning-morse-code.html</a></figcaption></figure><h3>Experimentation</h3><p>The main purpose of HAM activity is to do experimentation on radio waves and radio propagation. The <a href="https://www.itu.int/itunews/manager/display.asp?lang=en&amp;year=2007&amp;issue=08&amp;ipage=amateur-radio&amp;ext=html">ITU</a> [3], which is the worldwide coordinating body for radio waves, has correctly recognised the need for experimentation and self training of professionals. The body has allocated frequency bands for amateur experimentation. A knowledgeable reader would already know that there are different characteristics in different frequency bands, from Medium Wave(MW), Short Wave(SW), VHF, UHF, SHF… and so on. For example, Satellite communication usually on SHF, whereas long distance broadcasting is on MW.</p><p>Having allocated the experimental bands on each segment allows the professional to do self experiments on each bands.</p><h3>Outdoor expeditions</h3><p>There are numerous outdoor activities some of us are participating in. Few are listed below.</p><ul><li>Off-Road/4x4 trails</li><li>Hiking</li><li>Camping</li><li>Sailing</li></ul><p>Participants in these activities would know first hand that the normal cellular network is not much usable in many instances.</p><p>Radio communication equipment is one of the greatest assets in these activities.</p><p>However there is very little penetration on HAM radio in this area in Sri Lanka. There is a great potential to increase the safety of these activities having the HAM license and equipment available on these activities.</p><h3>Prestige</h3><p>It is a prestige having the HAM license in anywhere in the world. It shows that the licence holder is a respectable person who can handle advanced technology. It also shows that the person is keen on learning things which do not directly have financial benefit.</p><p>An identifier named as a “Callsign”, for each Sri Lankan HAM operator is given by TRC-SL, which is unique across the world. Having the callsign on your profile will add a value on the profile, like one has a masters degree or higher qualifications.</p><p>The HAM radio licensee is screened by “Ministry of Defence” prior to granting the license. This also is a good indicator for the character of the license holder.</p><h3>As a hobby</h3><p>The most important part of any activity is the joy of doing it. Participating in contacts via HAM bands provides very good entertainment and fun.</p><p>For example, let’s take the recent lock-down due to COVIC-19. There were two ways in which Sri Lankans could make social contacts while keeping physical distance. The Internet is one, the other is HAM Radio.</p><p>However, the fun part of the HAM radio is that it is like playing a video game, where you face many unexpected situations due to environmental factors, like Day/Night, Sun spot, Seasons, Storms, Rain, etc.. Planning and finding solutions in order to operate the radio, provides challenges we need to keep our brain at its peak and also joy.</p><p>Also HAM radio has been there for years and will be there for years to come, while adding new modes of communications, including digital modes. However it has not outdated over centuries of presence, and it will be. This activity will also be a good choice after retirement, as one can indulge with the activity without leaving his or her own room, at the worst conditions on health and any other.</p><h3>Summary</h3><p>This article describes the advantage of getting into HAM radio activity, irrespective of what you are. You can be an adventurous person on outdoor or like to be inside the home comfortably, HAM radio is one of the activities that fits for all.</p><p>Please see my other blog on how to pass the <a href="https://medium.com/ruwanta-radio/passing-the-amateur-radio-examination-in-sri-lanka-4bfed8fadb2c">amateur radio exam </a>in Sri Lanka</p><h3>References</h3><p>[1] <a href="https://www.networkworld.com/article/2324749/sri-lankan-internet-services-restored-after-cable-cut.html">https://www.networkworld.com/article/2324749/sri-lankan-internet-services-restored-after-cable-cut.html</a></p><p>[2] <a href="https://www.lankabusinessonline.com/sri-lanka-tsunami-amateur-call-2/">https://www.lankabusinessonline.com/sri-lanka-tsunami-amateur-call-2/</a></p><p>[3] <a href="https://www.itu.int/itunews/manager/display.asp?lang=en&amp;year=2007&amp;issue=08&amp;ipage=amateur-radio&amp;ext=html">https://www.itu.int/itunews/manager/display.asp?lang=en&amp;year=2007&amp;issue=08&amp;ipage=amateur-radio&amp;ext=html</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10b1b36a6999" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ruwanta-radio/five-reasons-to-become-a-ham-operator-in-sri-lanka-10b1b36a6999">Five reasons to become a HAM Operator in Sri Lanka</a> was originally published in <a href="https://medium.com/ruwanta-radio">ruwanta-radio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Passing the Amateur Radio examination in Sri Lanka]]></title>
            <link>https://medium.com/ruwanta-radio/passing-the-amateur-radio-examination-in-sri-lanka-4bfed8fadb2c?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bfed8fadb2c</guid>
            <category><![CDATA[amateur-radio]]></category>
            <category><![CDATA[licensing]]></category>
            <category><![CDATA[ham-radi]]></category>
            <category><![CDATA[sri-lanka]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Sun, 21 Jun 2020 06:38:17 GMT</pubDate>
            <atom:updated>2020-06-21T06:38:17.053Z</atom:updated>
            <content:encoded><![CDATA[<p>This is blog is intended to the residents in Sri Lanka, who are keen on getting Amateur Radio License. The first step is passing the examination held by the “Telecom Regulatory Commission of Sri Lanka” (TRCSL)[1].</p><p>This article explains the process of getting passed on all three class of tests offered by TRCSL.</p><p>Amateur Radio is also known as HAM Radio.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*hKGANARS_hWl4MRjt7_uvg.jpeg" /></figure><h3>Bit of Background</h3><p>Sri Lanka has three classes of amateur licenses issued by TRCSL. TRCSL is the competent authority for the Radio Spectrum management of Sri Lanka. Think the TRC as the counterpart of FCC in USA.</p><p>TRC offers three classes of licenses</p><ol><li>Novice Class</li><li>General Class</li><li>Advanced Class</li></ol><h3>What License Class to Choose?</h3><p>“Novice Class” license allows a person to operate on popular VHF (144–146 MHz) among some other lesser used HF bands. It was observed that exam paper for “Novice Class” is somewhat difficult than that of “General class” on last few exams (as of year 2019)</p><p>“General or Advance” class license allows all the available amateur bands to be used by the license holder. This includes 9 HF Bands, 2 VHF Bands, and many UHF and higher bands.</p><p>However Advance class license allows twice maximum power radiated by the operator compared to the power limitation for General class license holder. However, almost all activities can be performed within the power limit of “General Class” license. There is no much practical need to radiate more than 500 W output in HF (SSB) and 25W in VHF in normal amateur operations.</p><p>Getting Advance Class is a prestige, which allows to radiate 1000W in HF(SSB) and 50W in VHF and above. Candidate needs to demonstrate proficiency of Morse code copying and sending, in addition to respective written test to get the Advance Class licence. Current requirement is 5 words-per-minute.</p><h3>Structure and Syllabus of the exam</h3><p>The Novice and General class exams consists of two papers, each has MCQ type questions. Candidate has to get more than 50% of marks for each of the papers.</p><p>The first paper is about basic electronic theories, elementary Radio Frequency theories, and some common terms used in Amateur Radio.</p><p>Second paper is mostly concerned about the regulations and operating practices applicable for Amateur Radio operation.</p><p>Both are very easy. Someone has done GCE(A/L) Exam will find the electronic theory paper very easy. However the syllabus is designed such that to allow a person, who has followed non-science stream, to be able to get hold of the theory paper and get pass the exam.</p><p>The regulation and operating practice paper is something someone has to do cram on, as it contains bit of do’s and don’ts on transmitter operation. This is mainly focused on how not causing any undesirable effect on person or equipment, owned by you or a third party.</p><h3>How to get ready</h3><p>There are quite a few online resources available for preparation for the exam. A syllabus published by <a href="https://www.qsl.net/4s7vj/">Wijay (4S7VJ) [2]</a> will be most helpful.</p><p>The best cause of action is to talk to an existing HAM license holder who is also active for any guidance. Also you can reach out one of the two active HAM clubs in Sri Lanka <a href="http://www.rssl.lk/">RSSL [3] </a>and <a href="https://www.aral.lk/">ARAL [4]</a>. The members and officers of those clubs are very friendly and will guide you in the process at each step.</p><h3>Waiting for exam</h3><p>TRC SL generally conduct the Amateur Radio Operators Exam once a year. The application date will be put into the Government Gazette. However it is much easier to become member of one of the clubs, to get notifications of the exam and process, as reading through Gazette is a time consuming task for an individual.</p><p>You will get ample time to prepare the exam once it is gazetted. Typically there will be six month for the date of the exam from the date of call for application.</p><h3>The Exam day</h3><p>Calculators are allowed on the exam. However there is no need of the calculator as most of the calculations are usually a simple calculations you can do with pen and paper.</p><p>It is <strong>not </strong>an<strong> </strong>open-book exam. No communication devices are allowed.</p><p>The Novice and General class exam will be finished around mid-day. So you may take a half-day leave if you are employed.</p><h3>Waiting for results</h3><p>The agonising part of the process is the time it takes form the Exam and Results. It can take any amount of time, as the Exam process is handled via many government organisations, including Department of Examinations.</p><p>The candidates will be eventually notified by TRC-SL of their results. Passed candidates are required to apply for license within stipulated time, (typically within two years) to obtain the license.</p><p>Advanced Class examination process is not over. Passed candidates now have to apply and pass the Morse test (5 WPM).</p><h3>References</h3><p>[1] <a href="http://www.trc.gov.lk/amateur-services.html">http://www.trc.gov.lk/amateur-services.html</a></p><p>[2] <a href="https://www.qsl.net/4s7vj/">https://www.qsl.net/4s7vj/</a></p><p>[3] <a href="http://www.rssl.lk/">http://www.rssl.lk/</a></p><p>[4] <a href="https://www.aral.lk/">https://www.aral.lk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bfed8fadb2c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ruwanta-radio/passing-the-amateur-radio-examination-in-sri-lanka-4bfed8fadb2c">Passing the Amateur Radio examination in Sri Lanka</a> was originally published in <a href="https://medium.com/ruwanta-radio">ruwanta-radio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ආධුනික ගුවන් විදුලි ක්‍රියාකරු විභාගය]]></title>
            <link>https://medium.com/ruwanta-radio/%E0%B6%86%E0%B6%B0%E0%B7%94%E0%B6%B1%E0%B7%92%E0%B6%9A-%E0%B6%9C%E0%B7%94%E0%B7%80%E0%B6%B1%E0%B7%8A-%E0%B7%80%E0%B7%92%E0%B6%AF%E0%B7%94%E0%B6%BD%E0%B7%92-%E0%B6%9A%E0%B7%8A-%E0%B6%BB%E0%B7%92%E0%B6%BA%E0%B7%8F%E0%B6%9A%E0%B6%BB%E0%B7%94-%E0%B7%80%E0%B7%92%E0%B6%B7%E0%B7%8F%E0%B6%9C%E0%B6%BA-711d97cf3387?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/711d97cf3387</guid>
            <category><![CDATA[licensing]]></category>
            <category><![CDATA[sri-lanka]]></category>
            <category><![CDATA[sinhala]]></category>
            <category><![CDATA[amateur-radio-operator]]></category>
            <category><![CDATA[ham-radio]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Sun, 21 Jun 2020 06:37:36 GMT</pubDate>
            <atom:updated>2020-06-21T06:37:36.124Z</atom:updated>
            <content:encoded><![CDATA[<p>ඔබ ආධුනික ගුවන්විදුලි බලපත්‍රය ලබා ගැනීමට උනන්දුවක් දක්වන්නේ නම්, පළමු පියවර වන්නේ <a href="http://www.trc.gov.lk/amateur-services.html">“ශ්‍රී ලංකා විදුලි සංදේශ නියාමන කොමිෂන් සභාව”</a> (TRCSL) විසින් පවත්වනු ලබන විභාගය සමත් වීමයි.<br>මෙම ලිපියෙන් TRCSL විසින් පිරිනමනු ලබන පරීක්ෂණ තුනම සමත් වීමේ ක්‍රියාවලිය පැහැදිලි කරයි.<br>ආධුනික ගුවන්විදුලිය HAM රේඩියෝව ලෙසද හැඳින්වේ.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*hKGANARS_hWl4MRjt7_uvg.jpeg" /></figure><h3>පසුබිම</h3><p>TRCSL විසින් ආධුනික ගුවන්විදුලි බලපත්‍රය, පන්ති තුනක් යටතේ නිකුත් කරනු ලැබේ. TRCSL යනු ශ්‍රී ලංකාවේ ගුවන්විදුලි තරංග කළමනාකරණය සඳහා වන නිසි අධිකාරියයි.</p><ol><li>Novice Class (නවක පන්තිය)</li><li>General Class</li><li>Advanced Class</li></ol><h3>තෝරා ගැනීමට ඇති බලපත්‍ර පන්තිය කුමක්ද?</h3><p>“Novice Class”(නවක පන්තිය) බලපත්‍රය ජනප්‍රිය VHF (144–146 MHz) මත ක්‍රියා කිරීමට ඉඩ සලසයි. “Novice Class”” සඳහා වූ විභාග ප්‍රශ්න පත්‍රය, පසුගිය විභාග කිහිපයේ (2019 වර්ෂය වන විට) “සාමාන්‍ය පන්තියට” වඩා තරමක් දුෂ්කර බව නිරීක්ෂණය විය.</p><p>“General Class”(සාමාන්‍ය පන්ති) බලපත්‍රය, පවතින සියලුම ආධුනික තරංග භාවිතා කිරීමට ඉඩ දෙයි. මෙයට HF තරංග 9 ක්, VHF තරංග 2 ක් සහ UHF සහ ඉහළ තරංග ඇතුළත් වේ.</p><p>“Advanced Class” බලපත්‍රය “General Class” පන්තියේබලපත්‍ර හිමියාගේ බල සීමාව මෙන් දෙගුණයක් දක්වා ලබාදී ඇත.</p><p>කෙසේ වෙතත්, “General Class බලපත්‍රයේ බල සීමාව තුළ සෑම ක්‍රියාකාරකමක්ම පාහේ සිදු කළ හැකිය. සාමාන්‍ය ආධුනික මෙහෙයුම් වලදී HF (SSB) හි 500 W සහ VHF හි 25W ට වඩා වැඩි විකිරණ ප්‍රමාණයක් විකිරණය කිරීමට එතරම් ප්‍රායෝගික අවශ්‍යතාවයක් නොමැත.</p><p>“Advanced Class” පන්තිය ලබා ගැනීම කීර්තියක් වන අතර එමඟින් HF (SSB) හි 1000W සහ VHF සහ ඊට ඉහළින් 50W විකිරණය කිරීමට ඉඩ ලබා දේ. අත්තිකාරම් පංතියේ බලපත්‍රය ලබා ගැනීම සඳහා අදාළ ලිඛිත පරීක්ෂණයට අමතරව Morse කේත පිටපත් කිරීම සහ යැවීම පිළිබඳ ප්‍රවීණතාවය අපේක්ෂකයා විසින් පෙන්විය යුතුය. වත්මන් අවශ්‍යතාවය විනාඩියකට වචන 5 කි.</p><h3>විභාගයේ ව්‍යුහය සහ විෂය නිර්දේශය</h3><p>“Novice Class” හා “General Class” විභාගය ප්‍රශ්නපත්‍ර දෙකකින් සමන්විත වන අතර, එක් එක් ප්‍රශ්න පත්‍ර සඳහා ලකුණු 50% කට වඩා ලබා ගත යුතුය. ප්‍රශ්නපත්‍රය MCQ වර්ගයේ ප්‍රශ්ණ 40 හෝ 50 සහිත වේ</p><p>පළමු ප්‍රශ්නපත්‍රය මූලික ඉලෙක්ට්‍රොනික න්‍යායන්, ප්‍රාථමික ගුවන් විදුලි න්‍යායන් සහ ආධුනික ගුවන්විදුලියේ භාවිතා වන පොදු යෙදුම් පිළිබඳව වේ.</p><p>දෙවන ලිපිය බොහෝ දුරට ආධුනික ගුවන්විදුලි මෙහෙයුම් සඳහා අදාළ වන රෙගුලාසි සහ මෙහෙයුම් භාවිතයන් ගැන සැලකිලිමත් වේ.</p><p>දෙකම ඉතා පහසුය. අ.පො.ස. (උසස් පෙළ) විද්‍යා/ගණිත අංශයෙන් විභාගයට සහභාගී වී ඇත්නම්, විද්‍යුත් න්‍යාය ප්‍රශ්ණපත්‍රය ඉතා පහසු වේ. කෙසේ වෙතත්, විෂය නිර්දේශය සැලසුම් කර ඇත්තේ විද්‍යා නොවන විෂය පථයක් අනුගමනය කළ පුද්ගලයෙකුට, විභාගය සමත්වීමට හැකි වන පරිදි ය.</p><p>නියාමනය සහ මෙහෙයුම ප්‍රශ්නපත්‍රය, පාඩම් කලයුතු එකකි යුතු දෙයකි. මන්ද එය සම්ප්‍රේෂක ක්‍රියාකාරිත්වය පිළිබඳ කළ යුතු හා නොකළ යුතු දේ අඩංගු වන බැවිනි. මෙය ප්‍රධාන වශයෙන් අවධානය යොමු කර ඇත්තේ ඔබට හෝ තෙවන පාර්ශවයකට හෝ උපකරණවලට කිසිදු අහිතකර බලපෑමක් ඇති නොකර Radio Transmission කරන්නේ කෙසේද යන්න පිළිබඳව ය.</p><h3>සූදානම් වන්නේ කෙසේද</h3><p>විභාගය සඳහා සූදානම් වීම සඳහා අවශ්‍ය දැනුම ලබාගැනීමට මාර්ග කිහිපයක් ඇත. <a href="https://www.qsl.net/4s7vj/">විජේරත්න මහතා (4S7VJ) [2] </a>සම්පාදනය කරන ලද විෂය නිර්දේශයක් වඩාත් ප්‍රයෝජනවත් වනු ඇත.<br>මග පෙන්වීම සඳහා දැනට ක්‍රියාකාරී වනHAM බලපත්‍ර දරන්නෙකු සමඟ කතා කිරීම උපකාර වනු ඇත. එසේම ඔබට ශ්‍රී ලංකාවේ ක්‍රියාකාරී HAM සමාජ දෙකෙන් එකක සහය ලබා ගත හැකිය <a href="http://www.rssl.lk/">RSSL [3]</a> සහ <a href="https://www.aral.lk/">ARAL [4]</a>. එම සමාජ වල සාමාජිකයින් සහ නිලධාරීන් ඉතා මිත්‍රශීලී වන අතර සෑම පියවරකදීම මෙම ක්‍රියාවලිය සඳහා ඔබට මග පෙන්වනු ඇත.</p><h3>වැදගත් වෙබ් අඩවි</h3><p>[1] <a href="http://www.trc.gov.lk/amateur-services.html">http://www.trc.gov.lk/amateur-services.html</a></p><p>[2] <a href="https://www.qsl.net/4s7vj/">https://www.qsl.net/4s7vj/</a></p><p>[3] <a href="http://www.rssl.lk/">http://www.rssl.lk/</a></p><p>[4] <a href="https://www.aral.lk/">https://www.aral.lk/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=711d97cf3387" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ruwanta-radio/%E0%B6%86%E0%B6%B0%E0%B7%94%E0%B6%B1%E0%B7%92%E0%B6%9A-%E0%B6%9C%E0%B7%94%E0%B7%80%E0%B6%B1%E0%B7%8A-%E0%B7%80%E0%B7%92%E0%B6%AF%E0%B7%94%E0%B6%BD%E0%B7%92-%E0%B6%9A%E0%B7%8A-%E0%B6%BB%E0%B7%92%E0%B6%BA%E0%B7%8F%E0%B6%9A%E0%B6%BB%E0%B7%94-%E0%B7%80%E0%B7%92%E0%B6%B7%E0%B7%8F%E0%B6%9C%E0%B6%BA-711d97cf3387">ආධුනික ගුවන් විදුලි ක්‍රියාකරු විභාගය</a> was originally published in <a href="https://medium.com/ruwanta-radio">ruwanta-radio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Become an expert on Adaptive Authentication with Identity Server in 10 minutes]]></title>
            <link>https://medium.com/@ruwanta/become-an-expert-on-adaptive-authentication-with-identity-server-in-10-minutes-1bc68efb521e?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/1bc68efb521e</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[wso2-identity-server]]></category>
            <category><![CDATA[adaptive-authentication]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Sun, 31 May 2020 04:51:16 GMT</pubDate>
            <atom:updated>2020-05-31T04:51:16.181Z</atom:updated>
            <content:encoded><![CDATA[<p>The requirement of strong authentication is something any IAM system must have these days. However, strong authentication is not so user friendly on most day-to-day tasks like reading this blog post. What we need is the strong authentication done on reading a sensitive information or doing some critical operations. The strong authentication needs to adapt to the need, without being hindrance.</p><figure><img alt="Chameleon is an expert on adopting the colour of the environment" src="https://cdn-images-1.medium.com/max/1024/1*Om8yHixJqUhCLH97rPoSJw.jpeg" /><figcaption>Chameleon is a master of Adaptation to its environment</figcaption></figure><blockquote>Please note that this is not a tutorial, but to allow you to understand the thinking process which allows you to define adaptive authentication solution. It would be better you read through this article fully, understanding each section. You may read this article back and forth to understand how a solution is built.</blockquote><blockquote>You are advised to follow <a href="https://is.docs.wso2.com/en/5.9.0/learn/adaptive-authentication/">“Learning Adaptive Authentication on WSO2 IS”</a> if you want to try out any of the below steps. However I made this article so that, it is easy for you to grasp the concepts, even without reading it or, trying out it in WSO2 Identity server.</blockquote><h3>Start With plain English</h3><p><em>(or your own language)</em></p><p>All starts by writing down the authentication flow you want to achieve in simple English.</p><p>Lets take the following simplified set of requirements your business may want you to implement,</p><ul><li>My application has two authentication steps at maximum</li><li>If user is of low risk score, then it is sufficient to show the first step only.</li><li>If user has high risk score then the second step needs to be presented.</li><li>I need user name and password as the first step</li><li>Second Step is Google TOTP.</li><li>Calculation of Risk score is done by my own Analytics engine.</li><li>I need to call this analytics engine to get the risk score.</li><li>Some data, such as IP address, Time, Device Information needed to calculate risk score.</li><li>IdP (Identity Provider) should prompt second factor when “Risk Score” is high.</li><li>Each failure of authentication needs to be published to my “Analytics Engine”</li></ul><h3>Extract the Actions out of requirements</h3><p>Now it is time to extract actionable items (Verbs) having above in plain language and Constructs (Nouns).</p><ul><li>My application has <strong>two</strong> authentication <strong>steps</strong> at maximum.<em> So we need to execute those two steps. No magic here.</em></li></ul><p>executeStep(1) and executeStep(2)</p><ul><li>If user is of <strong>low risk</strong> score, then it is sufficient to show the <strong>first step </strong>only. If user has <strong>high risk </strong>score then the <strong>second step </strong>needs to be presented</li></ul><p>It is matter of writing simply,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*KrddzrSeQzydHtN5ESc9vg.png" /></figure><h3>Configure Authenticators you want on each step</h3><p>Lets take the statements</p><ul><li>I need user name and password as the first step</li><li>Second Step is Google TOTP.</li></ul><p>We configure this in the Step 1 and Step 2 as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/680/1*QbMt7dmyrdgSTXkQn2PfsA.png" /><figcaption>Advance Authentication Steps in Identity Server Carbon Console. This is the standard way to configure on versions prior to 5.11.0</figcaption></figure><h3>Add the logic which helps the decision making</h3><p>Now it is time to think of how the values are taken for decision making. The below statements are the statements which supply the decision values to our hypothetical scenario.</p><ul><li>Calculation of Risk score is done by my own Analytics engine.</li><li>I need to <strong>call this analytics</strong> engine to <strong>get the risk</strong> <strong>score</strong>.</li></ul><p>Well, it is a simple function call</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AnwBSGWL4sY6uQJyFOqBHQ.png" /></figure><p>However, Its elaborate form is follows, this is how we get the results. Think that analytics engine will take unspecified amount of time to respond with its result. Assuming it can take few minutes to respond in worst case; We do not want to wait, but perform the rest of the tasks whenever the results are available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rjf0aR_VuO445uffZkKYHw.png" /></figure><h3>Enhance our decision logic</h3><p>Then we will look at the following statement and make modification to our skeleton if-then-else statements we did at the beginning.</p><ul><li>Policy should prompt <strong>second factor</strong> when “Risk Score” is high.</li></ul><p>So, it means, we have to show “Step 1” and “Step 2” when risk score is high, and only “Step 1” when risk score is low.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RzTGRXQzpYteiluDoe_j0w.png" /></figure><h3>Failures matter more than Success</h3><p>Now things become little more interesting. We need to do something <strong>on failure !, </strong>not only the success case. This is the adaptation at its best.</p><p>lets take the below statement,</p><ul><li>Each <strong>failure of authentication</strong> needs to be <strong>published</strong> to our “Analytics Engine”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FRHL5mouO-F3HzRmnSkWRA.png" /></figure><h3>Little bit if theory</h3><p>The Adaptive script in WSO2 Identity Server is designed to be written as an event driven mechanism. For an event driven programming, all external interactions are treated as creating an “Action” and “Listening” and “Reacting” to an external event correspond to that Action.</p><figure><img alt="WSO2 Identity Server: Authentication Flow handling" src="https://cdn-images-1.medium.com/max/787/1*XWE6O7OUYTjUhR8ph2JA8g.png" /><figcaption>Simplified diagram of how the Adaptive Authentication works in WSO2 Identity Server</figcaption></figure><h3>Iterative Approach</h3><p>You would have noticed that developing an adaptive authentication is an iterative approach. This helps in current trend in Agile development with fast phased Digital Transformation in Identity space.</p><p>The Adaptability includes the logic to be modified at any point of time, when adding new requirement, without structural compromise of the entire solution. You need to start simple with the simplest requirement first, then adopt it with the requirements gets complex by adding more and more simple logic into respective logical block.</p><h3>Ok, what next ?</h3><p>Now you are an Expert !. Go and play around different cases you can think of and see how it can be achieved easily.</p><p><strong><em>Tip</em></strong><em>: Script Templates will help you to get some of the common patterns quickly.</em></p><h3>Take away</h3><p>Start Simple when designing an adaptive authentication.</p><p>Iterative or Agile approach fits best</p><p>Use simple constructs.</p><p>Below is the full script used on this article only for illustration purposes.</p><h3>Full Script</h3><p><em>The following full script is only for illustration purposes and for the sake of completeness only.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*zpndmwkEspMRVnC9evoxyg.png" /></figure><h3>References</h3><ul><li><a href="https://is.docs.wso2.com/en/5.9.0/learn/adaptive-authentication/">Adaptive Authentication - WSO2 Identity Server Documentation</a></li><li><a href="https://medium.com/@ruwanta/adaptive-authentication-with-scriptable-language-4199da33804">Adaptive Authentication with Scriptable Language</a></li><li><a href="https://medium.com/@htamahc/adaptive-authentication-for-five-year-olds-bc4c256c1c1e">Adaptive Authentication for Five Year-olds</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1bc68efb521e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[WSO2 Identity Server += Adaptive authentication script ; // A true story]]></title>
            <link>https://medium.com/@ruwanta/wso2-identity-server-adaptive-authentication-script-a-true-story-9b3eae5db226?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b3eae5db226</guid>
            <category><![CDATA[wso2-identity-server]]></category>
            <category><![CDATA[adaptive-authentication]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Mon, 25 May 2020 09:26:27 GMT</pubDate>
            <atom:updated>2020-05-25T09:26:27.604Z</atom:updated>
            <content:encoded><![CDATA[<h3>WSO2 Identity Server += Adaptive authentication script ; // A true story</h3><p>This is going to be a short blog about how the current authentication script feature was introduced into WSO2 Identity server, which provides more flexibility to develop adaptive authentication solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TXvHb4jTNRwy80-_zP9gzw.jpeg" /><figcaption><strong>“Rome wasn’t built in a day” </strong>so does the WSO2 Identity Server</figcaption></figure><h3>Demanding Customer</h3><p>There was a very demanding customer who requested to support “ACR” [1] and “AMR”[2] , and wanted ACR to be taken in from OIDC request, process and return the required ACR and AMR values. The representative from the customer side was very technical and also a demanding person.</p><p>I jumped in to do this, at the moment someone asked me, if I can do this improvement for the customer. At the time I was relatively new to Identity Server team, thus I thought, “Well, this is a good opportunity to learn the intrinsics of the Identity Server”.</p><h3>First Cut</h3><p>The protocol part of improvement was done in quick time. However I faced a challenge of demonstrating the capability to the customer and the team. The idea of ACR and AMR is that the IdP (Identity Provider) will make a decisions based on ACR and provide different levels of assurance. Traditional way to demonstrate this was to write extensions, compile and put the binary to the Identity Server as extension. This process was so rigid that it was a challenge to demonstrate different use cases fast.</p><p>So I thought, well what if the flow is represented as an XML construct. Why the heck XML ? you may ask. Well. being old school person, I am in love with XML😀🥱, and can do anything virtual, with XML. I built the Object model and its XML representation taking some input from BPEL [3]. Object model was made as a “Graph”, which allows the authentication sequence to flow to have,</p><ol><li>linear sequences</li><li>Branch (if then else or switch cases)</li><li>Cycles</li></ol><p><em>(By the way, This “Graph” legacy is still exists in Identity Server as “GraphBasedSequenceHandler”)</em></p><p>Now the demonstrations could be done fast. The XML being outside of the binaries, and could be edited by a person who is not an expert on Identity Server internal intricate constructs. Customer was very happy that any authentication flow changes can be done fast with the XML.</p><h3>Second Phase</h3><p>Being done the demonstration, and I had to move on to another area. The project was taken up by Gayan, one of my colleague in Identity Server team, who had lot of experience in the domain and the internals of the Identity Server. Alas! he was not impressed with XML, albeit he liked the dynamic nature of the “Graph”.</p><p>We had few heated discussions. Gayan who was maintaining that XML is not a developer friendly(which I also agree) on one side and me maintaining that it is fast as native in execution ad the XML is taken as data for Java code to execute its logic.</p><h3>Conflict and Resolution</h3><p>Prabath, who was the chief architect behind Identity Server intervened on this debate. Prabath suggested to use Javascript instead of XML. Well this was entirely not acceptable for me. I was always thinking in terms of performance, and the Javascript is big no-no on performance compared to Java.</p><p>Gayan on the other hand delighted. He took few nights and came up with performance comparison on few use cases of Identity Server authentication flow. One was done with traditional Java code and the other was done with related dynamic decisions made with Javascript using Nahsorn engine.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*rNWfJk6EWQWygEqPR4u59A.jpeg" /></figure><p>Back to back Performance test proves having Javascript does not make any difference on the Dynamic decision making and can replace the XML based branch logic.</p><p>Gayan eventually won the argument and we shed the XML notation of representing the decision logic and adopted Javascript based decision logic instead.</p><h3>Third Phase</h3><p>Gayan managed to get the necessary attention from the community about the script based dynamic authentication flow. We named this as such, “Dynamic Authentication”</p><p>Later we realised that we could do more with this approach. Few other seasoned engineers joined the effort to improve it further so that any of the adaptive authentication use cases can be done with this way. We did the public release of this feature on Identity Server 5.7.0 [4]</p><h3>Take-away</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/142/1*bXBPM2B4VckbFqaulXA-3g.jpeg" /></figure><p>Never settle. Always find a better way to improve and do things efficient</p><p>Debating is good. Feel free to question and debate objectively.</p><h4>References</h4><p>[1] ACR(Authentication Context Class) <a href="https://ldapwiki.com/wiki/Authentication%20Context%20Class">https://ldapwiki.com/wiki/Authentication%20Context%20Class</a></p><p>[2] AMR(Authentication Method Reference) <a href="https://tools.ietf.org/html/rfc8176">https://tools.ietf.org/html/rfc8176</a></p><p>[3] BPEL <a href="https://en.wikipedia.org/wiki/Business_Process_Execution_Language">https://en.wikipedia.org/wiki/Business_Process_Execution_Language</a></p><p>[4] IS 5.7.0 <a href="https://docs.wso2.com/display/IS570/Adaptive+Authentication">https://docs.wso2.com/display/IS570/Adaptive+Authentication</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b3eae5db226" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Observability: an integral part of operations in IAM and API Security]]></title>
            <link>https://medium.com/@ruwanta/observability-an-integral-part-of-operations-in-iam-and-api-security-e03618441995?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/e03618441995</guid>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Sun, 10 May 2020 04:19:47 GMT</pubDate>
            <atom:updated>2020-05-10T04:19:47.455Z</atom:updated>
            <content:encoded><![CDATA[<p>Todays IAM solutions are not only ones to manage identity by interacting with the end user. They interacts with numerous other systems already in place as well as new systems which is being commissioned. Each interaction by an end user is a valuable transaction. In the competitive world even a seemingly non-important activity like a guest user reading though a product review page is vital for the business success.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*qo7xUurPjQt2pl8mc6zNrg.png" /><figcaption>Segregating the Monolith: Observability on Micro-services helps to understand the interactions and any potential Bugs</figcaption></figure><p>IAM systems plays a central role in controlling access to various resources. This puts considerable stress and strain to the system. Often any external connectivity issue, however rare may cause irrecoverable damage to the business. Also it is an inevitability that any connectivity go wrong, according to famous “<strong>Murphy’s law”</strong></p><p>Hence IAM system needs proper tracing mechanism for each transaction so that dev-ops to customer service teams can diagnose and rectify any issue promptly, so that future issues can be mitigated.</p><p>Tracing the user interaction is a balancing art, when it comes to IAM in contrast to any other “Integration” system. The IAM systems primary focus is on “People Security and Privacy”. Hence it is imperative to not to reveal any sensitive information in the tracing mechanism. For example, an audit log having users credit card details is not a accepted log at any level, however there needs a record where user has done an update on the credit card details form one number to another number.</p><p>This comes to the question of how to have correct balance between tracing and privacy.</p><h3>What can be done with it</h3><p>There are numerous uses of having even simple observability when orchestrating set of disparate services.</p><ol><li>Understand what happens on a transaction when there are many services involved</li><li>Help to pinpoint the failure, if something goes wrong</li><li>Understand any performance bottleneck on service chain</li><li>Billing and monetization</li><li>Capacity Planning</li><li>Threat and Fraud detection</li></ol><h3>Use of the request correlation</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pbj--IHhOxH9upYUjwgwcA.png" /></figure><p>There will be at least one outbound I/O call from the service to another system to perform any read or write operation in response to inbound service request. There will be multiple of such I/O call in a system implementing a complex logic. IAM system needs to be thought as executing a complex logic, this naturally it will have multiple I/O read/write calls.</p><p>These I/O calls would include, <em>Database Queries, LDAP Search/Update, External Service calls(SOAP, REST, etc..) and occasionally File read/write.</em></p><p><em>However, We do not consider “logging” itself, as a I/O call needed to execute the logic</em></p><p>Understanding how these I/O calls behave in real load serving real traffic is an essential requirement for Dev-Op point of view as it provides them the insight of performance matrices of each subsystem. Having these information allows to plan for the capacity changes, fine tune and most importantly detect possible catastrophic failures before it happens.</p><p>Think of a typical scenario. Typically DBA will allocate limited space on a Database schema for a system. You are running happily over years, and performance has been good. However the database table-space was growing day by day without your (or the DBA s) notice. There is a condition where you reach near the allocated space (you do not still notice). Having a correlation mechanism for request to your internal Database calls will reveal that the Database suddenly taking extra time to execute query consistently. It will provide you early warning before reaching the capacity limit days or weeks before catastrophic failure happens due to Database fill up, if you have proper monitoring on the relevant information.</p><h3>Use of the transaction correlation</h3><p>There will be multiple system s collaborate to serve a user transaction.</p><p>For example think of a typical online store, where user logs, add items to the cart, calculate total amount, apply any loyalty discounts, perform payments, and finally notification to delivery agent. This process involves multiple systems developed or maintained by different vendors. It is a general business requirement to trace what happened to a particular transaction if customer inquires about a problem in the process. We need a way to correlate single transaction across all of these “Micro-Services”, “Api Gateways”, “Token Issuer”, and “Token Validators”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/805/1*hGgZ9X9UQE-p45lF5tTn6g.png" /><figcaption>Transaction: represented in a fishbone diagram helps understand what is going under the hood and helps to troubleshoot.</figcaption></figure><p>The transaction correlation requirement is a business requirement which directly helps customers of the organisation. In IAM terms it helps the “End User Persona”</p><p><a href="https://opentracing.io/">Open Tracing</a>[1] is one such specification and set of tools around observability and tracing requirements for “Transaction Correlation”</p><p>The complexity occurs where an organisation which has different systems, which we can not adopt to single standard. Usually each system will have its own correlation mechanism, where the external gateways needs to map the respective attribute form the request as the correlation identifier.</p><p>Another side effect of observability is that it can generate a report on service usage with each system and the time of usage. This can be used to perform fine-grained billing functions if there is a requirement to do API monetzation.</p><h3>Best Practices of correlation logging</h3><p>Keeping <strong>separate and forgettable </strong>link between User Identifier and request/transaction mapping. Ideally the logs used in correlation should not have any “Personal Information”(PI) or “Personally Identifiable Information” (PII). It only needs to correlate a set of requests from a single transaction. the correlation logs needs to be deleted from the system after reasonable time where the business does not need them. for example, consider the buyer protection period of an online store. There is no need to keep the correlation log more than twice the buyer protection time.</p><p>There may be a separate “Transaction” log or “Audit Log” which is maintained for legal purposes which can have the a correlation Identifier for the Observability logging, for further diagnostics. However this “Transaction or Audit” log needs to be exposed to only very few authorised people, for customer care or forensic purposes, as it contains privacy related data. Someone can extract the correlation Identifier from Audit log should a requirement comes to identify how the interaction happened on different systems with Observability.</p><h3>Summery</h3><p>Observability defines that each system interactions should be transparent to the Dev-Op for the purpose of</p><p>1. Optimizing interactions</p><p>2. Troubleshoot interactions</p><p>3. Rectify errors or tune up any slow systems</p><p>4. Capacity Planning</p><p>5. Billing for service usage</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*MhrhNvyFMyKyJPlHZcKCBQ.png" /><figcaption>Observability on the Identity and the interactions helps to server your customer better</figcaption></figure><p>On a pure Open Source IAM product <strong>“</strong><a href="https://is.docs.wso2.com/en/next/"><strong>WSO2 Identity Server</strong></a><strong>”</strong>, correlation can be achieved by adding a HTTP header to the request e.g. “X-Correlation-ID”. This will be traceable via all other products and any custom services you may write. [2]</p><p>[1] <a href="https://opentracing.io/">https://opentracing.io/</a></p><p>[2] <a href="https://is.docs.wso2.com/en/next/setup/working-with-product-observability/">https://is.docs.wso2.com/en/next/setup/working-with-product-observability/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e03618441995" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We may be living inside a Black Hole]]></title>
            <link>https://medium.com/@ruwanta/we-may-be-living-inside-a-black-hole-84ed7011d1c3?source=rss-bf5c837426ff------2</link>
            <guid isPermaLink="false">https://medium.com/p/84ed7011d1c3</guid>
            <category><![CDATA[astrophysics]]></category>
            <category><![CDATA[thought-experiment]]></category>
            <dc:creator><![CDATA[Ruwan Abeykoon]]></dc:creator>
            <pubDate>Mon, 18 Mar 2019 03:49:39 GMT</pubDate>
            <atom:updated>2019-03-18T03:49:39.533Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog is about a different philosophy around current understanding of the universe. You would find it interesting, if you have basic understanding of the current findings in astronomy. However please be warned that this is not a good source for educational purposes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XzzComKuEaXzUUj3clFJ-Q.png" /><figcaption>Blackhole in our Universe is translated to entirely new Universe, and Our Observable Universe is translated to a Blackhole in another universe.</figcaption></figure><h4>Birth of universe</h4><p>Current understanding of the universe has been that it is created around 13.8 Billion years ago. It is observed that the universe is ever expanding and new space is cerated out of the void.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F__4pbA5sy7uk74CY48hwQ.jpeg" /><figcaption>Big Bang: Expansion of Universe (<a href="https://en.wikipedia.org/wiki/Big_Bang">https://en.wikipedia.org/wiki/Big_Bang</a>)</figcaption></figure><h4>Space is uniformly distributed</h4><p>It also theorized that we see the space in the same way irrespective of where we live in the space. For example the distribution of far galaxies would be the same if we observe the universe in a point near earth or at a point 13 million light years away. We will observe a bubble around us where we see nearby stars, far galaxies, and importantly the CMB (Cosmic Microwave background)</p><h4>Cosmic Microwave background Radiation(CMBR)</h4><p>An advanced telescope (<a href="https://en.wikipedia.org/wiki/Wilkinson_Microwave_Anisotropy_Probe">WMAP</a>) has observed that there is an an afterglow of microwave radiation at every location of the space. There is no specific direction. There is no point or an area of origin. This radiation is present everywhere. Anything resembling “The Force” in Star-Wars ?, Not really. This is just like scattered light at a foggy day.</p><p>The “venerable c” (referred as speed of light in free space for convenience) produces an interesting phenomenon. The far we look into the universe, we could observe what happened in the past. If we look at an object one light year away, what we see is really what was happened a year before. If we look at an object 13Billion light years away, we see what happened 13 Billion years ago. Now, what if we observe 13.8 billion light years away? we will see the beginning of the universe.</p><h3>Observable Universe</h3><p>Astronomers calculate that any earthling could only observe the universe within a sphere centered on earth having diameter of around 46 billion light years. This is due to our current understanding that universe is expanding uniformly at each location of the space. Thus there is a particular distance from earth such that even it travels at speed “c” it will never reach earth. We also can not reach that point as we are unable to send any information faster than “c”. Hence our observable universe is constrained within this bubble. Everything outside is unknown to us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*goRvXo_HNhbysWP_ZjLfCA.png" /><figcaption>Artist’s <a href="https://en.wikipedia.org/wiki/Logarithmic_scale">logarithmic scale</a> conception of the <em>observable universe</em> with the <a href="https://en.wikipedia.org/wiki/Solar_System">Solar System</a> at the center, inner and outer <a href="https://en.wikipedia.org/wiki/Planets">planets</a>, <a href="https://en.wikipedia.org/wiki/Kuiper_belt">Kuiper belt</a>, <a href="https://en.wikipedia.org/wiki/Oort_cloud">Oort cloud</a>, <a href="https://en.wikipedia.org/wiki/Alpha_Centauri">Alpha Centauri</a>, <a href="https://en.wikipedia.org/wiki/Perseus_Arm">Perseus Arm</a>, <a href="https://en.wikipedia.org/wiki/Milky_Way_galaxy">Milky Way galaxy</a>, <a href="https://en.wikipedia.org/wiki/Andromeda_galaxy">Andromeda galaxy</a>, nearby <a href="https://en.wikipedia.org/wiki/Galaxy">galaxies</a>, <a href="https://en.wikipedia.org/wiki/Cosmic_Web">Cosmic Web</a>, <a href="https://en.wikipedia.org/wiki/Cosmic_microwave_radiation">Cosmic microwave radiation</a> and the Big Bang’s invisible plasma on the edge. (<a href="https://en.wikipedia.org/wiki/Observable_universe">https://en.wikipedia.org/wiki/Observable_universe</a>)</figcaption></figure><p>This is “singularity” where we can not define what is happening in the region outside. The edge of this observable universe is our “event horizon”; Nothing will escape outside this event horizon.</p><h3>The Black Hole</h3><p>People who have even little knowledge about astronomy would be scared of the celestial monster, <strong>The Black Hole. </strong>This is thought to be a heavy dead star which has a gravitational effect around it so that even light would not escape from it.</p><p>Astrophysicists think that any information, particle or energy entering into blackhole will be lost forever from outside. The edge of the blackhole is called “event horizon” in which anything passes beyond it will never return. And we will not be able to define what is happening inside the black hole. Nothing escapes from it. Sounds familiar ?, well the property is the same as our “observable universe”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*sGjVNRT2h1LDWnYqAm1Mwg.jpeg" /><figcaption>Decades of simulations suggest this is what gas and dust look like spiraling around a black hole. We could soon see the real thing. (Roen Kelly/Discover ,<a href="http://discovermagazine.com/2018/apr/black-hole-close-up">http://discovermagazine.com/2018/apr/black-hole-close-up</a>)</figcaption></figure><h3>Inverse of a point as a Sphere</h3><p>If we think about the geometry, take a small sphere. Look at it from the outside and think that you are unable to see what is inside. This sphere is made out of infinitely flexible material. Now imagine if you can turn the sphere around you so that you are now inside a sphere, where the surface of the original sphere is always facing towards you. Every point in the original sphere, where you could observer from outside is now visible in the inside surface of the transformed sphere. You can not still not see the outside of the sphere. This is a mathematical transformation of the co-ordinate system, and does not violate any theory.</p><p>Thinking on above analogy we can argue that there is an entire universe inside of a black hole. We are also living inside a blackhole within another universe.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FQTOBxlFjgc0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DQTOBxlFjgc0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FQTOBxlFjgc0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/2a967dc7398ad6bb98d91a069fd9ab06/href">https://medium.com/media/2a967dc7398ad6bb98d91a069fd9ab06/href</a></iframe><p>Hence the argument goes that we can observer many number of blackholes in our universe. Each blockhole hosts another universe inside. We are also inside a blackhole in another universe. Each universe may be connected to each other directly or indirectly. This can be viewed as our universe is inside its own, but it does not contradicts as it is simply a mathematical co-ordinate translation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/881/1*dC-MqeTP7LS8wAzPASYoSw.jpeg" /><figcaption>Each universe is contained within others by means of black-holes.</figcaption></figure><h3>What about the Big bang</h3><p>Widely known big-bang event in our universe can be thought as a blackhole forming super-nova explosion in another universe.</p><h3>What about the dark energy, dark matter, expansion of universe</h3><p>Our universes is thought thought to have a large, yet unaccounted energy and matter. This can be thought as the influence of the containing universe. The dark energy/matter we observe may be the matter and energy entering into our universe via black-holes event horizon. Our universe expands as it swallows matter/energy from the host universe, as a black hole.</p><h3>White Hole as opposite of Black hole</h3><p>Some physicists argue that White Hole, which has all the opposite behavior of Black hole as an answer to information paradox of Black hole. Possible detection is also made(<a href="https://medium.com/futuresin/did-we-detect-a-white-hole-16b97f44347a">Did We Detect a White Hole?</a>).</p><h3>Conclusion</h3><p>There is no real conclusion... It opens up one possibility of the shape of the universe. There are more advanced theories discussed by experts on this subject. This article no means suggest anything serious, but serves as only a thought experiment of a novice enthusiast.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84ed7011d1c3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>