<?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 Shilu Shrestha on Medium]]></title>
        <description><![CDATA[Stories by Shilu Shrestha on Medium]]></description>
        <link>https://medium.com/@lilsunsyn?source=rss-d2d9d2d66da------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ckAMd0nrbX35UqFI9ROdmQ.jpeg</url>
            <title>Stories by Shilu Shrestha on Medium</title>
            <link>https://medium.com/@lilsunsyn?source=rss-d2d9d2d66da------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 15:11:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@lilsunsyn/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[When Poussey got killed]]></title>
            <link>https://lilsunsyn.medium.com/when-poussey-got-killed-d91bdddf41de?source=rss-d2d9d2d66da------2</link>
            <guid isPermaLink="false">https://medium.com/p/d91bdddf41de</guid>
            <category><![CDATA[blm]]></category>
            <category><![CDATA[emotions]]></category>
            <category><![CDATA[racism]]></category>
            <category><![CDATA[oitnb]]></category>
            <dc:creator><![CDATA[Shilu Shrestha]]></dc:creator>
            <pubDate>Tue, 03 Nov 2020 17:17:45 GMT</pubDate>
            <atom:updated>2020-11-03T17:17:45.861Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I know what Black Lives Matters really means. I have been watching this series Orange is the New Black (OitNB) till season 4 now. Although these people are convicts you kind of get attached with every inmate, good or bad. Poussey’s death just made me see the death of George Floyd up close. It made me wonder how many must have died like that.</p><p>Incase you haven’t watched OitNB, it a series in Netflix of women criminals in prison for various reason. Poussey is one of the characters, which I’d like to call an unlucky one who took a single wrong turn and ended up in jail.</p><p>She’s intelligent, smart, fun, kind and moreover looking for good life. A life we normally idealize with a roof to live in a good partner and a good job. She’s a very affectionate character which doesn’t really suits to be in a prison but she is there.</p><p>So when a character like that is killed and then the crime is covered posing her as a criminal and the killer as victim this truly sucks. No wonder Black Lives Matter is there, it is a fact that is being depicted in the series. I’m not sure how many us would really agree to this, but I really felt how the system really works. I’m not even from America and I feel like this is the case in every other corner of the world. If it’s not Black it’s Brown or it’s Dalit or it’s Gay or it’s Women or a kid.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d91bdddf41de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Kotlin]]></title>
            <link>https://medium.com/series/getting-started-with-kotlin-4e9998826141?source=rss-d2d9d2d66da------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e9998826141</guid>
            <dc:creator><![CDATA[Shilu Shrestha]]></dc:creator>
            <pubDate>Fri, 15 Dec 2017 11:17:23 GMT</pubDate>
            <atom:updated>2017-12-20T08:28:17.517Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been building Android Apps for over 5 years now. Started off in java and now a big shift to Kotlin took me quite some time to get accustomed to it. So here, I’m sharing some nutshell of Getting started with Kotlin.</p><p>So we all know why Kotlin, if you want me to cover that do let me know as well. However, when I saw all the hype Kotlin created after being announced the official language of Android Development. I wanted to get into the nitty-gritty stuff that to say the language itself. So if I’m about to shift my existing knowledge better start from scratch right?</p><p>So here, I’ll share the basics. The language itself.</p><p>Lets Begin!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/320/1*N1q9IEuY8h-XtFrISadB2Q.gif" /></figure><h3>Variables</h3><p>Kotlin has two types of variables ie <strong><em>val</em></strong> and <strong><em>var.</em></strong></p><p><strong><em>val</em></strong>: Use this if you want to define an immutable variable, a constant.</p><pre>val firstName: String = &quot;Shilu&quot;<br>val lastName = &quot;Shrestha&quot;</pre><p>Notice how we don’t explicitly declare the type of <strong><em>lastName. </em></strong>Kotlin is a strongly typed language that supports type inference or deduction. The compiler handles type inference.</p><p><strong><em>var</em></strong>: Use this to declare a variable.</p><pre>var address = &quot;Kathmandu, Nepal&quot;<br>// later<br>address = &quot;Lalitpur, Nepal&quot;<br>// however, we can&#39;t do this<br>address = 123456</pre><p>Using <strong><em>val</em></strong> the value of the variable can change, but its type cannot.</p><h3>Strings</h3><p><strong><em>Strings</em></strong> are similar to java however, a lot powerful than in java. <strong><em>Strings</em></strong> can be declared using a double quotes or triple but not single which is used in <strong><em>Character</em></strong> types.</p><pre>val message = &quot;Hello, world!\n&quot;</pre><pre>// using triple quote<br>val text = &quot;&quot;&quot; <br> Dear Readers,<br>   Start of new line here. <br>&quot;&quot;&quot;</pre><p>One cool feature that I loved with Strings in Kotlin is String templates and String Interpolation.</p><pre>var first = &quot;Shilu&quot;<br>var last = &quot;Shrestha&quot;<br>val str = &quot;Hello $first $last&quot;</pre><pre>// add logics and even an arbitrary expression <br>println(&quot;Wow you have a ${if(first.length &gt; 7) &quot;long&quot; else &quot;short&quot;} name&quot;)<br>// how cool is that!</pre><h3>Numbers</h3><p>Numbers are some-wart similar to Java.</p><p>Numbers</p><ul><li>Long — 64 bit</li><li>Int — 32 bit</li><li>Short — 16 bit</li><li>Byte — 8 bit</li></ul><p>Floating</p><ul><li>Double — 64 bit</li><li>Float — 32 bit</li></ul><p>You can use underscores to make number constants more readable:</p><pre>val oneMillion = 1_000_000<br>val creditCardNumber = 1234_5678_9012_3456L<br>val socialSecurityNumber = 999_99_9999L<br>val hexBytes = 0xFF_EC_DE_5E<br>val bytes = 0b11010010_01101001_10010100_10010010</pre><p>Every number type supports the following conversions:</p><ul><li>toByte(): Byte</li><li>toShort(): Short</li><li>toInt(): Int</li><li>toLong(): Long</li><li>toFloat(): Float</li><li>toDouble(): Double</li><li>toChar(): Char</li></ul><pre>val age = &quot;45&quot;<br>if(age.toInt() &gt; 50){<br>// do something<br>}</pre><h3>Also find this in my <a href="https://techtrendzy.wordpress.com/category/tutorials/kotlin/">B<strong>log</strong></a></h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e9998826141" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>