<?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 Priyaranjan on Medium]]></title>
        <description><![CDATA[Stories by Priyaranjan on Medium]]></description>
        <link>https://medium.com/@ranjan2209?source=rss-6e69fe43b2fd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*qJvC2xcSz_bXC3DEKSCxxg.jpeg</url>
            <title>Stories by Priyaranjan on Medium</title>
            <link>https://medium.com/@ranjan2209?source=rss-6e69fe43b2fd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 08:44:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ranjan2209/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[Graduation speech submission]]></title>
            <link>https://medium.com/@ranjan2209/graduation-speech-submission-d9449f5ec4bc?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9449f5ec4bc</guid>
            <category><![CDATA[mba]]></category>
            <category><![CDATA[graduate-school]]></category>
            <category><![CDATA[babson-college]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Sat, 16 May 2026 19:11:19 GMT</pubDate>
            <atom:updated>2026-05-16T19:11:19.938Z</atom:updated>
            <content:encoded><![CDATA[<p><em>“The successful man is the one who had the chance and took it.”</em></p><p>- Roger Babson (1875–1967), founder of Babson College</p><p>This is the mantra I took to my heart while applying to Babson. And I was on Cloud nine when I got the admit letter. It just feels like yesterday when I left my whole life behind in India, crossed oceans, to begin my academic journey again. I still remember when I came to Olin Hall for the first time.</p><p>As we stand here today, a wave of emotions washes over us. Excitement for the future mingles with a tinge of nostalgia for the journey that brought us here. Almost two years ago, we were strangers to each other, united by a desire to learn, to grow, and perhaps, to build something remarkable. The journey from Beta-X to BCE, from First Night at Olin to Last Night at Olin was just memorable, and I wouldn’t trade it for anything else. Friends, every end is a new beginning. And as our wonderful and eventful journey comes to an end, here we are — excited to being a new journey!</p><p>I learnt here not just from textbooks and classes; but also from friends, who were with me — in the heat of brainstorming sessions fueled by sweat, grit and determination. From group assignments to project presentations, from gaining communication skills to building a story, my time here was filled with essential skills, giving me the confidence to stand tall and be heard in any situation.</p><p>Can you imagine a classroom where case studies become live consulting projects, and textbooks morph into launchpads for your entrepreneurial venture? That’s the result of Babson’s Centers and Institutes. Funded by generous donors and collaborating with on-campus organizations, these centers bridge the gap between theory and practice. Haven’t we all experienced it first-hand?</p><p>While networking with professionals outside, whenever I introduced myself saying that I am studying MBA at Babson College, I was getting used to hear “Oh, the best college for entrepreneurship”? Sure, the entrepreneurship spirit permeates these walls, but I have discovered so much more within myself. From Horn Library to Speech and Writing Centers, from Babson Arts to Weissman Foundry, from Spotlight events to Guest speakers at Student Club events, the learning was endless. I met new people having diverse interests, forged unbreakable bonds, and ignited a sense of shared identity, purpose and understanding. We challenged each other, debated ideas, dissected case studies, campaigned for elections, and pushed the boundaries of what we thought possible.</p><p>During one of the office hours discussions, I remember feeling overwhelmed by the sheer number of potential career paths. One of the Professors offered this piece of advice: “Don’t chase trends; chase your passion. The right opportunity will align with your core values and ignite your fire.” That conversation not only helped me navigate the career maze, but it also instilled in me the importance of staying true to myself during my professional journey. Don’t you agree that amongst all these invaluable experiences, the interactions with the incredible faculty truly stand out?</p><p>Babson didn’t just nurture our intellectual curiosity; it also became a breeding ground for our growth. We stumbled, we doubted, and sometimes, we failed. But here’s the beauty of it all — these stumbles weren’t solitary events. We learned from each other, picked each other up, gave feedback and nurtured, and celebrated each other’s triumphs. We grew with each other. We discovered a network of support that went beyond classes and grades — a community of peers who became family — Babson family.</p><p>Of course, there were frustrations, days that were so occupied that tested our physical and mental endurance, and moments where the weight of deadlines felt overwhelming. However, even in the face of these difficulties, a unique spirit emerged. We persevered with a kind of Babson grit, a tenacious spirit fueled by a shared belief in our potential and the power of our ideas.</p><p>Today, as we stand here and turn the page on this chapter, the quote by Roger Babson, keeps circling in my mind — “take a chance”. Degrees in hand, we’re not just graduates; we’re business partners, best friends, and a testament to the power of Babson’s unique environment. In a way our life begins, but in another way, it stops. This journey wouldn’t have been half as thrilling without every one of you by my side, so let’s not mourn the end, but celebrate the beginning. So, to my fellow graduates, lets walk out of these doors, not just as graduates, but as a force ready to shape the world. Congratulations class of 2024! We did it!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9449f5ec4bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Problems in US job market]]></title>
            <link>https://medium.com/@ranjan2209/problems-in-us-job-market-6cd278bfb7be?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cd278bfb7be</guid>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[employment]]></category>
            <category><![CDATA[usa]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Fri, 28 Jul 2023 05:40:26 GMT</pubDate>
            <atom:updated>2023-07-28T05:40:26.226Z</atom:updated>
            <content:encoded><![CDATA[<p>I came to Boston, Massachusetts, USA after working for 4 companies for almost 10 years in India. These companies were of all type — small, medium and large sized, private and public, and product as well as service based.</p><p><strong>Job search in India</strong></p><p>When I was working in India and looking for a job change, the most popular platform during those days was Naukri.com and HRs and HR consultants would call be looking for resumes to fill vacancies</p><p><strong>Job search in USA — Networking</strong></p><p>But, the way here is different. We have to network. I have networked with so many people with very less results. After meeting people, we have to send them LinkedIn connect request, which sometimes they don’t accept and keep the request pending (if you don’t want to accept, decline the request. There is no point in keeping the request pending). Also, why should I spend so much time meeting people when they are not even sure if they want to hire people? I have attended one of the events in college that was meant just for networking. As I am new to this culture, I attended, but I now realize that was just time-pass. Employees (Companies) are just looking for timepass and they think B-schools as one of their hangout spots.</p><p><strong>College Career Spotlight problems</strong></p><p>In one of the spotlights, one representative from a company came so far to college after spending one day of her time just let us know that they can apply for the vacancy on company’s career website. If I apply filter on LinkedIn, Indeed, or any job portal, even I can find that vacancy. There was no need for her to waste one day of salary to come to college just to tell us that we can apply for the vacancies on company’s career website.</p><p>And what advantage do we get when such companies come to college? We are not even treated as closed campus, the way it is considered in India.</p><p>And, according to me, it would benefit both — the organization and students, if the vacancy is advertised as the company will get best talent from US, and not just from Boston, and students will be selected based on merits rather than based on networking, or buttering/sugar coating/bootlicking/flattery.</p><p><strong>Job Fairs</strong></p><p>The events have many companies in attendance and it’s difficult to know everything about them or their product and services.</p><p>They also asks dumb questions — such as why do you want to work here. Clear and crisp answer for this is — I have crossed oceans to start a new life, away from my family, leaving my stable job, after taking huge education loan. So, to repay my education loan, and to pay my bills in one of the costliest cities in USA, I have to work in any company, and your company is one of them. Another way to answer such dumb question is — if you don’t hire people to do work, your competitors will, and eventually they will take over the market.</p><p><strong>International student/employee/H1B visa problem</strong></p><p>In case laid-off H1B visa holders, they have limited time and have to get a job with the pressure of ticking clock. Else, they will have to sell everything they have spent on — house, car, children’s education… And how can anyone in such a short time network and find another job?</p><p><strong>My case</strong></p><p>As I am looking for Product Manager internships and networking with people on LinkedIn who are in the position to hire such people, such as Director of Products, Vice-President of Products, etc. And to increase the chances of people to accept my connect request and help me, I am connecting with Alumni. But such people are very less — people who are alumni, working in USA, in a position who can hire a PM intern, accept my connect request and help me transition to PM, i.e., respond to LinkedIn message. And even when they respond, after some time, they start ghosting.</p><p>Also, I noticed many people who accept LinkedIn connection only for the sake of it. They never reply. No point in doing it. The only thing that you are getting is a number++.</p><p><strong>Job postings</strong></p><p>I have seen many positions that says that the role that I have applied for is not available. Why do they post it?</p><p>One of the posting is more than 2 years old and is still live:</p><p><a href="https://bloomenergy.wd1.myworkdayjobs.com/en-US/BloomEnergyCareers/job/Commercial-Ops-Intern_JR-16247">https://bloomenergy.wd1.myworkdayjobs.com/en-US/BloomEnergyCareers/job/Commercial-Ops-Intern_JR-16247</a></p><p>Another example of old job posting: <a href="https://jobs.gecareers.com/global/en/job/R3660131/Gas-Power-Modeling-Analyst-Internship-Co-op-Summer-2023">https://jobs.gecareers.com/global/en/job/R3660131/Gas-Power-Modeling-Analyst-Internship-Co-op-Summer-2023</a></p><figure><img alt="GE is still looking for interns for a position of last year" src="https://cdn-images-1.medium.com/max/1024/1*wYo8kp3jYST6t9eeQVBzIQ.png" /><figcaption>GE is still looking for interns for a position of last year</figcaption></figure><p>Some job postings are still listed, but we cannot apply: <a href="https://jobs.porsche.com/index.php?ac=jobad&amp;id=2099">https://jobs.porsche.com/index.php?ac=jobad&amp;id=2099</a></p><p>Some people have listed on LinkedIn that they are hiring and its been more than 2 years, they are still looking for a candidate:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5dGhjc8odOq0BfHroADsCg.png" /><figcaption>Its been 841 days and still looking to fill a position</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ttWWP4eyqkXYRM2NJbbfxA.png" /><figcaption>Its been 825 days and still looking to fill a position</figcaption></figure><p><strong>Concluding statements</strong></p><p>The culture here is different from that in India, but the journey challenging and is same for everyone, and we all have to go through it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cd278bfb7be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Glitch in LinkedIn]]></title>
            <link>https://medium.com/@ranjan2209/glitch-in-linkedin-39b1ac88a767?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/39b1ac88a767</guid>
            <category><![CDATA[linkedin]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Sat, 10 Jun 2023 19:53:31 GMT</pubDate>
            <atom:updated>2023-06-10T19:53:31.015Z</atom:updated>
            <content:encoded><![CDATA[<p>While browsing on LinkedIn, I was not able to see any updates.</p><p>Below are the snapshots:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-rBb09SspQi6nMHw_UzbiQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ftSl42ctNgDDm45ztLZigA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39b1ac88a767" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Improvement in LinkedIn]]></title>
            <link>https://medium.com/@ranjan2209/improvement-in-linkedin-5c1cc6d1a7db?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c1cc6d1a7db</guid>
            <category><![CDATA[linkedin]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Sun, 02 Apr 2023 15:57:54 GMT</pubDate>
            <atom:updated>2023-04-02T15:57:54.713Z</atom:updated>
            <content:encoded><![CDATA[<p><em>A picture is worth a thousand words</em></p><p>So here’s a snapshot of my LinkedIn homepage asking me whether I am hiring, even when it says that I am looking for opportunities, which is evident from my profile photo, job preferences and my search history</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vxrhyZYcbpw8w0h3F9j7uA.png" /><figcaption>My LinkedIn homepage</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c1cc6d1a7db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bug in Weather app in Windows]]></title>
            <link>https://medium.com/@ranjan2209/bug-in-weather-app-in-windows-f3d20e4336b1?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3d20e4336b1</guid>
            <category><![CDATA[microsoft]]></category>
            <category><![CDATA[microsoft-apps]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Tue, 21 Mar 2023 12:52:18 GMT</pubDate>
            <atom:updated>2023-05-04T07:22:56.610Z</atom:updated>
            <content:encoded><![CDATA[<p>Most of the time, I check the weather forecast — be it in mobile or laptop — for the day or next few days…</p><p>Living in Boston, Massachusetts, USA, which has one of the most unpredictable weathers, it has become a habit to check weather.</p><p>So yesterday, while logging in to Windows, I noticed that current temperature is -2<strong>°</strong>C, whereas the lowest for the day was 0<strong>°</strong>C</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wD3_eKCf8euec_cVjWZsag.png" /></figure><p>I tried to verify it in the MSN Weather App provided by Microsoft Store and noticed that it also has same discrepancy.</p><p>Current temperature was -1<strong>°</strong>C, whereas lowest for the day was 0<strong>°</strong>C</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l-VE_EsRrsMvQrWBTsaGcg.png" /></figure><p>This is a bug, which should be resolved as the data is used by many Microsoft users.</p><p><strong>Update:</strong> Noticed similar kind of bug again on Sun, 30 Apr 2023</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAvnVRmImNVHV7Dm5VvVDw.png" /><figcaption>Current, Max and Min temperature are same!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3d20e4336b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Visual Studio App Center]]></title>
            <link>https://medium.com/@ranjan2209/using-visual-studio-app-center-aaab0f908232?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaab0f908232</guid>
            <category><![CDATA[appcenter]]></category>
            <category><![CDATA[visual-studio-app-center]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Tue, 07 Mar 2023 03:19:55 GMT</pubDate>
            <atom:updated>2023-03-07T03:19:55.624Z</atom:updated>
            <content:encoded><![CDATA[<p>As we were living in lockdown to stop spreading the pandemic and increasingly moving to digital space, we have to be sure that<br>our apps don’t crash.</p><p>In case they crash, how do we know what led to the crash? How many times did the app crash? Where did users spend most of the time? How do we get all the logs at a centralized place?</p><p>In case of app usage, how do we know which element has been used how many times? In which location? What is the session duration?</p><p>To address these problems for one of the software that I have developed in my previous work experience, I chose Visual Studio App Center.</p><p>It’s part of the Microsoft Developer ecosystem, and has no extra cost. It is easy to setup and has many features to integrate real-time diagnostics in the application, to improve the code, to automate build and test, and to simplify distribution process.</p><p>This article presents some of the main features.</p><h3><strong>Set up your App Center account</strong></h3><p><strong>Apps</strong><br>To get started, add an app to your App Center account or accept an invite to someone else’s app. You can have different permission<br>levels for each app: <strong>Developer</strong>, <strong>Viewer</strong>, or <strong>Manager</strong></p><p><strong>Organizations</strong></p><p>Create an <strong>Organization</strong> to invite <strong>Collaborators</strong> and <strong>Administrators</strong> to work on your apps, and manage their permissions.</p><p><strong>Teams</strong></p><p>Create <strong>Teams</strong> within your organization to better manage large organizations and permission settings.</p><h3><strong>Analytics</strong></h3><p>Analytics works with Android, iOS, macOS, React Native, tvOS, UWP, WPF/WinForms, and Xamarin</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*d0ipFjpTGZc3ucItYJDbiQ.png" /><figcaption>Figure 1: Analytics overview</figcaption></figure><p>As we can see from the above snapshot of one crash, details like Country, Device, Language, OS, UserID, Stacktrace, Attachment, etc. are collected</p><p>This will allow the developer of the app to answer questions such as:</p><ol><li>What are the main devices being used?</li><li>Can I remove support for an old OS version?</li><li>Should I translate my app into a new language?</li><li>Are my users adopting my latest version?</li></ol><p>We can also log not only crashes, but also our own custom events, e.g., events of bookings in a hospitality app. As we can see form<br>the snapshot of custom event below, details like Count, Trend, Users, user Change, Count per user, etc. are collected.</p><p>This will allow the developer of the app to answer questions such as:</p><ol><li>What’s the top N content viewed?</li><li>What’s the most liked content?</li><li>What type of files do my users send?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6QlyB5gD84vFu5zfldZssQ.png" /><figcaption>Figure 2: Analytics custom events</figcaption></figure><p>Another important analytics that can be seen is log flow. This will show what is being received in real time. Its use cases are:</p><ol><li>Start of sessions</li><li>Crash details</li><li>Event details</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9kMnBnPaFilffTixWdZs0Q.png" /><figcaption>Figure 3: Analytics log flow</figcaption></figure><p>App Center has the facility to continuously export all the Analytics raw data into Azure Blob Storage and Azure Application Insights. Its benefits are:</p><ol><li>Unlimited data retention</li><li>Detailed Usage Analysis</li><li>Unified dashboard</li><li>Additional rich features from Application Insights such as funnels, retention</li></ol><p>In the example below, we’re looking at a specific event called BookTrip in the last 24 hours, split by country, and made by either an iPhone 6 or iPhone 6s</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*eGeaQVyiRzubBZPcY0gZ6g.png" /><figcaption>Figure 4: Azure application insights</figcaption></figure><h3><strong>Build</strong></h3><p>App Center Build service is used to build Android, iOS, macOS, and UWP apps<br>Features:</p><ol><li>Automatically release builds to testers and public app stores with App Center Distribute.</li><li>Run automated UI tests on thousands of real device and OS configurations in the cloud with App Center Test.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K_cW2kCvjrJNSGrMl5QnRA.png" /><figcaption>Figure 5: Build</figcaption></figure><p>App Center currently supports building apps in Git repositories hosted on:</p><ol><li>Azure DevOps</li><li>Bitbucket</li><li>GitHub</li><li>GitLab</li></ol><h3><strong>Test</strong></h3><p>App Center Test is a test automation service for native and hybrid mobile apps. Test Frameworks supported are:</p><ol><li>Appium (Open Source)</li><li>Calabash from Microsoft</li><li>Espresso from Google</li><li>Xamarin.UITest from Microsoft</li><li>XCUITest from Apple</li></ol><p><strong>Features:</strong></p><ol><li>Real devices — Real Android &amp; iOS devices that aren’t rooted or jailbroken, providing the best approximation of your users’ environment.</li><li>Screenshots — Screenshots are automatically captured for each test step and can be viewed side by side for all devices in a test report.</li><li>Logs — Device logs can be checked in a test run and stack traces for failed test steps.</li><li>Concurrent runs — Tests can be run on multiple devices simultaneously to speed up time to results.</li><li>Retention — Test results, including media assets, are stored for viewing for up to six months.</li></ol><h3><strong>Diagnostics</strong></h3><p>App Center Diagnostics is a cloud service that helps developers monitor the health of an application, delivering the data needed to understand what happens when an app fails during testing or in the wild. App Center Diagnostics automatically generates a crash log every time your app crashes on a real device or in a device simulator and uploads them to the App Center portal for analysis by the development team — eliminating the guesswork about what really happened in the app when it failed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fd2NVnt2gUVEl8mqpC00cQ.png" /><figcaption>Figure 6: Crashes</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NbCi7VxniiMW6TRwpH0uRw.png" /><figcaption>Figure 7: Crash group</figcaption></figure><h3><strong>Distribute</strong></h3><p>App Center Distribute is a tool for developers to quickly release builds to end user devices for beta app testing and public app stores. Distribute supports Android, iOS, macOS, UWP, WPF and WinForms apps which helps in managing app distribution across multiple platforms all in one place. Automate distribution workflow can be with App Center Build and public app store integrations. Upon the completion of a successful build, app can be released to TestFlight, Apple App Store, Google Play, and Intune.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5Nwwc5P5zO9y6NV_3SoVng.png" /><figcaption>Figure 8: Distribute</figcaption></figure><h3><strong>Conclusion</strong></h3><p>To build the right thing, we must take analytics reports seriously, and back up it up with data from a service like App Center’s Analytics. Balancing our apps’ metrics and engagement stats is never an easy task. The more we know, the easier it’ll be to make decisions. With numbers and opinions, we’re more likely to discover that something we think is a major issue doesn’t impact our users, or — more likely — the reverse. Our reports might not pick up something that’s a frequent point of contention in support ticket of our software. Once we nail the quantitative-qualitative combination, we’re on your way to work on apps that are fun to build and that beloved by your users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaab0f908232" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Copy and Paste the code from internet]]></title>
            <link>https://medium.com/@ranjan2209/copy-and-paste-the-code-from-internet-3231416c234b?source=rss-6e69fe43b2fd------2</link>
            <guid isPermaLink="false">https://medium.com/p/3231416c234b</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Priyaranjan]]></dc:creator>
            <pubDate>Sat, 25 Feb 2023 07:45:52 GMT</pubDate>
            <atom:updated>2023-03-07T02:07:59.084Z</atom:updated>
            <content:encoded><![CDATA[<p>Now, where did you hear this before? Every company tries to control its developers’ actions, but does management know what goes into the software? The combination of internet, open source code bases and search engines tempt every developer to search for a piece of code that probably exists already and does what one has to implement. If a new version of this code is then implemented with the same functionality, there’s no harm done. However, it’s not functionality that the developer is after, but a ready-made, cut-and-tried, consumable piece of code. Many developers mistakenly think open source code is fair game because it’s open and free. And most of the time, they do it “as a temporary measure”. Another way this happens is when a developer moves companies and copies part of his previous employer’s code into the new employer’s software. Again, “as a temporary measure”. This is just something that developers do. When I warn my colleagues about this, I see eyes glaze over at best.</p><p>In 2005, Google bought Android and gathered a team to build a mobile operating system that would rule the smartphone market in the upcoming years. As Sun Microsystems’ Java is a language that is suitable for building big things and at a large scale, Google took the wise decision to use Java and Linux kernel to develop Android because lots of developers already knew these technologies very well and they didn’t need to learn anything new to learn how to write apps in Java.</p><p><strong>Back then, Google tried to pay Sun $40 million to license Java for Android but talks fell apart.</strong></p><p>So, Google wrote the open source code from scratch and replicated whatever it couldn’t license from Sun.</p><p>In 2010, Oracle bought Sun and decided to label Google’s efforts as illegal. While this battle has many finer details including the 37 Java API packages, here, I’ll be telling about the portion of code Oracle claimed to be stolen and used as a base to accuse Google.</p><pre>private static void rangeCheck(int arrayLen, int fromIndex, int toIndex {<br>  if (fromIndex &gt; toIndex)<br>    throw new IllegalArgumentException(&quot;fromIndex(&quot; + fromIndex + &quot;) &gt; toIndex(&quot; + toIndex + &quot;)&quot;);<br>  if (fromIndex &lt; 0)<br>    throw new ArrayIndexOutOfBoundsException(fromIndex);<br>  if (toIndex &gt; arrayLen)<br>    throw new ArrayIndexOutOfBoundsException(toIndex);<br>}</pre><p>The above code implements the <em>rangeCheck</em> method for arrays. Note that arrays and range checking are very common in programming languages. It’s difficult to write <em>rangeCheck</em> method that is different from these lines. However, in this case the Android version of this method from Google is identical to the Java implementation from Oracle. Although Google tried very hard to make sure there are no literal copies from the Java implementation — they did a cleanroom implementation of Android — one developer somehow slipped in the <em>rangeCheck</em> implementation “as a temporary measure”.</p><p>So, let’s take a closer look at how the code got there. After a couple of days in court, Joshua Bloch was called as a witness by Oracle. Bloch used to work for Sun as a developer on the Java API’s. In 2004 he joined Google and in 2008 he started working on Android. However, while working for Google, he still contributed to the OpenJDK, an open implementation of the Java SE platform, controlled by Sun at the time (before Oracle bought Sun in 2010). One of the things he contributed was a much faster implementation for sorting arrays, based on the algorithm <a href="https://en.wikipedia.org/wiki/Timsort">TimSort5</a> used in Python. Both the old and new algorithm had the <em>rangeCheck</em> method in common, so he just copied it from the old implementation, as “a temporary measure”. And some way or other, this same <em>rangeCheck</em> method ended up in Android.</p><p>Arrays are as common as dirt in programming languages, and range checking is inherent to collections, such as arrays, list, dictionaries. It basically checks whether a data element is within a certain range before performing operations with it. For example, you always want to check whether <em>y</em> is different from <em>0</em> before dividing<em> x </em>by <em>y</em>, or whether <em>i</em> is between <em>0</em> and <em>9</em> before retrieving the <em>iᵗʰ </em>element of a 10-element list. If you don’t, or more aptly, if your programming environment doesn’t, your software fails.</p><p><strong>Lessons learnt</strong></p><p>Don’t copy source code blindly from internet</p><p>Don’t use third party libraries into software without checking its license. While doing TCC of a software that I have developed during my previous professional experience, I had to go through legal aspects whether the third-party libraries can be used. E.g.: <a href="https://serilog.net/">Serilog</a> :. I have used this open source library to log errors in text file in local computer. This library is Apache Licensed. All its details had to be mentioned in TCC form and the license have to be distributed with the installer.</p><p>If you are contributing to open source code, check its license. After contributing to it, you yourself may not be able to use the code. The same happened with Bloch (<a href="https://en.wikipedia.org/wiki/Google_LLC_v._Oracle_America,_Inc.">Google vs Oracle7</a>).</p><p>If code is not working, you cannot directly copy and paste the code in some online forum to ask help for it. In one of my previous organizations, our customer’s customer found out the code in Stack Overflow as they were scrapping internet every day, and the employee had to be fired as it harmed company’s reputation. Moreover, relationships soured between company and customer after this fiasco.</p><p>P.S: The employee had many appreciation emails from customer and had even won Best Performer of the Year Award the year before.</p><p>The Court ruled that Google’s use of the Java APIs was within the bounds of fair use (<a href="https://www.supremecourt.gov/opinions/20pdf/18-956_d18f.pdf">Docket no. 18–9568</a>). Both the companies spent huge amount to fight lawsuits in different courts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3231416c234b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>