<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Avil Page (Posts about musings)</title><link>https://avilpage.com/</link><description></description><atom:link href="https://avilpage.com/tags/musings.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><lastBuildDate>Sat, 27 Jun 2026 09:48:46 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Cube &amp; Cubicle</title><link>https://avilpage.com/2024/10/cube-cubicle.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;h4&gt;Rubiks Cube&lt;/h4&gt;
&lt;p&gt;When I was in college, I was traveling to a friend's place and missed bus at midnight. The next bus was at 4 AM. While I was bored waiting for the bus, I found Rubik's Cube in a shop.&lt;/p&gt;
&lt;p&gt;I scrambled the cube and spent the next 4 hours trying to solve the cube. I managed to solve one color. When I tried to solve the next color, the pieces in the previous layer started missing.&lt;/p&gt;
&lt;p&gt;Even after spending a lot of time in the next 3 weeks, I couldn't solve it and gave up.&lt;/p&gt;
&lt;p&gt;After a couple of years, when I "learnt" about the internet, I searched and found simple algorithms to solve the cube. Within a few days, I was able to solve the cube in a minute.&lt;/p&gt;
&lt;h4&gt;Office Cubicles&lt;/h4&gt;
&lt;p&gt;In the final year of college, there were placements. When I was preparing resume, I included "I can solve Rubik's Cube in a minute" in it.&lt;/p&gt;
&lt;p&gt;During the interview, interviewer asked me if I can really solve the cube in a minute. He asked me to get my cube and show him during the lunch break. I did.
Luckily, I got hired.&lt;/p&gt;
&lt;p&gt;Even though, I was hired for Wipro I didn't join. I went to Bangalore and started applying for start-up jobs.&lt;/p&gt;
&lt;p&gt;I went for an interview at a web development company in Malleswaram, Bangalore. The CEO looked at my résumé, took out a cube from his desk. He handed the cube to me, showed an empty cubicle behind me and said, "If you solve the cube in a minute, that cubicle is yours."&lt;/p&gt;
&lt;p&gt;Just by learning the cube, I was able to land a job an at an MNC(Multi National Company) and a startup as well.&lt;/p&gt;</description><category>musings</category><category>rubiks-cube</category><guid>https://avilpage.com/2024/10/cube-cubicle.html</guid><pubDate>Thu, 31 Oct 2024 03:35:37 GMT</pubDate></item><item><title>Midnight Coding for Narendra Modi &amp; Ivanka Trump</title><link>https://avilpage.com/2024/08/midnight-coding-narendra-modi-ivanka-trump.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;p&gt;&lt;img src="https://avilpage.com/images/midnight-modi-trump.png" alt="GES 2017, modi trump mitra"&gt;&lt;/p&gt;
&lt;h4&gt;Introduction&lt;/h4&gt;
&lt;p&gt;In 2017, GES Event was held in Hyderabad, India. Narendra Modi (the Prime Minister of India) &amp;amp; Ivanka Trump (daughter of the then US President Donald Trump) were the chief guests.&lt;/p&gt;
&lt;p&gt;At that time, I was part of Invento team, and we decided to develop a new version of Mitra robot for the event.&lt;/p&gt;
&lt;h4&gt;The Challenge&lt;/h4&gt;
&lt;p&gt;We had to develop the new version of Mitra robot in a short span of time. Entire team worked day and night to meet the deadlines and finish the new version.&lt;/p&gt;
&lt;p&gt;We went to Hyderabad from Bangalore a few days before to prepare for the event. We have cleared multiple security checks, did some demos for various people before the event.&lt;/p&gt;
&lt;p&gt;A day before the event, around 9 PM we discovered a critical bug in the software. Due to that bug, the Robot motors were running at full speed which was dangerous. If the robot hits someone at full speed, it could cause serious injuries.&lt;/p&gt;
&lt;p&gt;I spent a few hours debugging the issue and even tried rolling back a few versions. Still, I couldn't pinpoint the issue.&lt;/p&gt;
&lt;p&gt;Since we need only a small set of Robot features, we decided to create a new version of the software with only limited features. I spent the next few hours creating a new release.&lt;/p&gt;
&lt;p&gt;After that, we spent the next few hours doing extensive testing to make sure there are no bugs in the new version.&lt;/p&gt;
&lt;p&gt;It was almost morning by the time we were done with testing. We quickly went to hotel to have some rest and get back early for the event.&lt;/p&gt;
&lt;h4&gt;Conclusion&lt;/h4&gt;
&lt;p&gt;Mitra robot welcoming Modi &amp;amp; Trump went very well. You can read about Balaji Viswanathan's experience at GES 2017 on Quora&lt;sup id="fnref:quora"&gt;&lt;a class="footnote-ref" href="https://avilpage.com/2024/08/midnight-coding-narendra-modi-ivanka-trump.html#fn:quora"&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://avilpage.com/images/midnight-modi-trump-anand.jpg" alt="GES 2017, modi trump mitra anand"&gt;&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:quora"&gt;
&lt;p&gt;&lt;a href="https://www.quora.com/How-was-Balaji-Viswanathans-overall-experience-attending-the-Global-Entrepreneurship-Summit-2017-held-in-Hyderabad-Where-his-Inventos-Mitra-is-launched"&gt;Answer on Quora&lt;/a&gt; &lt;a class="footnote-backref" href="https://avilpage.com/2024/08/midnight-coding-narendra-modi-ivanka-trump.html#fnref:quora" title="Jump back to footnote 1 in the text"&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description><category>musings</category><guid>https://avilpage.com/2024/08/midnight-coding-narendra-modi-ivanka-trump.html</guid><pubDate>Sun, 18 Aug 2024 00:25:43 GMT</pubDate></item><item><title>On Resuming Writing Challenge</title><link>https://avilpage.com/2022/01/resuming-writing-challenge.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;p align="center"&gt;
&lt;img height="300" width="800" src="https://avilpage.com/images/writing_challenge.jpg"&gt;
&lt;/p&gt;

&lt;p align="center"&gt;
Photo by Kaboompics on Pexels
&lt;/p&gt;

&lt;p&gt;In 2018, I decided to write at least one blog post per month throughout the year. Even though I tried to write posts every month, I couldn't publish anything in few months.&lt;/p&gt;
&lt;p&gt;In 2019, I went a step ahead and made a legal(?) agreement with a friend. I paid him 1,00,000 rupees (~1,200$) and told him that he could keep the money as a reward if I failed to write a blog post every month.&lt;/p&gt;
&lt;p&gt;This agreement kept me on my toes. I didn't miss writing a single month in 2019. I stayed awake on the last days of the month to finish and publish the post before midnight.&lt;/p&gt;
&lt;p&gt;In 2020, I took up the challenge again and I was able to write at least one post every month.&lt;/p&gt;
&lt;p&gt;In 2021, I didn't take up the challenge. I wrote just three posts in the entire year.&lt;/p&gt;
&lt;p&gt;In the two years when I took the challenge, even though I wrote a few mediocre articles, I wrote a few good articles. In the other two years when I didn't take the challenge, my writing quality and quantity declined.&lt;/p&gt;
&lt;p&gt;Due to this, I decided to take up the writing challenge again this year.&lt;/p&gt;
&lt;p&gt;Instead of limiting the 1,00,000 reward to my friend, I decided to extend it to all the readers.&lt;/p&gt;
&lt;p&gt;The first person who calls out that there is no new blog post in a month will get the 1,00,000 reward. The next three people will get a small gift as a token of appreciation.&lt;/p&gt;
&lt;p&gt;I will try my best to write at least one post every month. Let's wait till the end of the year and see how it goes.&lt;/p&gt;</description><category>musings</category><guid>https://avilpage.com/2022/01/resuming-writing-challenge.html</guid><pubDate>Wed, 19 Jan 2022 00:36:06 GMT</pubDate></item><item><title>A Typo Got Me $100 Bug Bounty</title><link>https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;h4&gt;Introduction&lt;/h4&gt;
&lt;p&gt;On a lazy evening, while on a call with a friend, I made a typo while entering the url. Instead of typing &lt;a href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html"&gt;http://app-00421.on-aptible.com&lt;/a&gt;, I typed &lt;a href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html"&gt;http://app-00412.on-aptible.com&lt;/a&gt;&lt;sup id="fnref:aptible"&gt;&lt;a class="footnote-ref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fn:aptible"&gt;1&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;
&lt;p&gt;In this article, lets see how this typing mistake got me a bug bounty.&lt;/p&gt;
&lt;h4&gt;Vulnerability&lt;/h4&gt;
&lt;p&gt;A &lt;a href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html"&gt;bug bounty program&lt;/a&gt;&lt;sup id="fnref:bb"&gt;&lt;a class="footnote-ref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fn:bb"&gt;2&lt;/a&gt;&lt;/sup&gt; is a deal offered by companies by which individuals can receive recognition and compensation for reporting bugs, security exploits and vulnerabilities.&lt;/p&gt;
&lt;p&gt;Aptible provides HIPAA&lt;sup id="fnref:hipaa"&gt;&lt;a class="footnote-ref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fn:hipaa"&gt;3&lt;/a&gt;&lt;/sup&gt; compliant PAAS platform so that healthcare companies can deploy their apps without compliance hassle.&lt;/p&gt;
&lt;p&gt;After deploying an application on aptible, users can create an endpoint for public access. For this purpose, atpible generates domain names in sequential order.&lt;/p&gt;
&lt;p&gt;Due to this, a set of publicly exposed servers will have incremental domain names. A lot of companies use these sequentially generated domain names for staging &amp;amp; testing purposes. In general, many companies don't bother about implementing security best practices on non-production servers.&lt;/p&gt;
&lt;p&gt;When I was trying to access a demo site at &lt;a href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html"&gt;http://app-00421.on-aptible.com&lt;/a&gt;, I made a typo and visited &lt;a href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html"&gt;http://app-00412.on-aptible.com&lt;/a&gt;. This site was a staging site of some other company without any authentication. The company's source code, AWS keys and a lot of sensitive information was publicly accessible.&lt;/p&gt;
&lt;p&gt;I quickly emailed that company regarding this issue and they took their site offline. As per &lt;a href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html"&gt;Aptible disclosure policy&lt;/a&gt;&lt;sup id="fnref:disclosure"&gt;&lt;a class="footnote-ref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fn:disclosure"&gt;4&lt;/a&gt;&lt;/sup&gt;, this bug is out of scope. Howev er, I sent an email to their team regarding the severity of the issue. Since sequential domain names are generating additional target surface for attackers, I suggested to move to random urls.&lt;/p&gt;
&lt;p&gt;For this disclosure, they have provided a bounty of 100$ and Aptible decided to move away from sequential domain names.&lt;/p&gt;
&lt;div class="footnote"&gt;
&lt;hr&gt;
&lt;ol&gt;
&lt;li id="fn:aptible"&gt;
&lt;p&gt;URL has been changed for anonymity. &lt;a class="footnote-backref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fnref:aptible" title="Jump back to footnote 1 in the text"&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:bb"&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Bug_bounty_program"&gt;https://en.wikipedia.org/wiki/Bug_bounty_program&lt;/a&gt; &lt;a class="footnote-backref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fnref:bb" title="Jump back to footnote 2 in the text"&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:hipaa"&gt;
&lt;p&gt;&lt;a href="https://en.wikipedia.org/wiki/Health_Insurance_Portability_and_Accountability_Act"&gt;HIPAA - Wikipedia&lt;/a&gt; &lt;a class="footnote-backref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fnref:hipaa" title="Jump back to footnote 3 in the text"&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li id="fn:disclosure"&gt;
&lt;p&gt;&lt;a href="https://www.aptible.com/legal/responsible-disclosure/"&gt;https://www.aptible.com/legal/responsible-disclosure/&lt;/a&gt; &lt;a class="footnote-backref" href="https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html#fnref:disclosure" title="Jump back to footnote 4 in the text"&gt;↩&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;</description><category>HealthIT</category><category>musings</category><category>security</category><guid>https://avilpage.com/2021/10/typo-lead-to-bug-bounty.html</guid><pubDate>Mon, 25 Oct 2021 03:22:19 GMT</pubDate></item><item><title>Why My Grandma Can Recall 100+ Phone Numbers, But We Can't</title><link>https://avilpage.com/2019/05/total-recall-grandma-phone-numbers.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;p&gt;On a leisure evening, as I was chit chatting with my grandma, my phone started ringing. Some one who is not in my contacts is calling me. As I was wondering who the heck is calling, my grandma just glanced at my screen and said, "Its you uncle Somu, pick up the phone". I was dumbstruck by this.&lt;/p&gt;
&lt;p&gt;Later that evening, I asked my grandma to recall the phone numbers she remembers. She recalled 30+ phone numbers and she was able to recognize 100+ phone numbers based on the last 4 digits of the mobile.&lt;/p&gt;
&lt;p&gt;That came as a surprise for me as I don't even remember 10+ phone numbers now. Most of the smart phone users don't remember family and friends phone numbers anymore.&lt;/p&gt;
&lt;p&gt;A decade back, I used to remember most of my relatives and friends phone numbers even though I didn't had a phone. My grandma used to use a mini notebook to write all the phone numbers. I was worried about this mini notebook as it can get lost easily and it is always hard to find when required.&lt;/p&gt;
&lt;p&gt;Since my grandma didn't have any contacts in her phone, she gets a glimpse of number every time someone calls her. She also dials the number every time she has to call someone. With this habit she is able to memorize all the numbers.&lt;/p&gt;
&lt;p&gt;I, on the other hand started using a smart phone which has all the contacts. I search my contacts by name when I have to dial someone and there is no need to dial the number. Also whenever someone call me, their name gets displayed in large letters and I never get to focus on the number. Due to this, I don't remember any of the phone numbers&lt;/p&gt;
&lt;p&gt;After this revelation, I started an experiment by disabling contact permissions for dialer app. With this, I am forced to type the number or select appropriate number from the call history and dial it. This was a bit uncomfortable at first. Soon I got used to it as recognized more and more numbers.&lt;/p&gt;
&lt;p&gt;This might seem unnecessary in the smart phone age. But when you are traveling or when your phone gets switched off, it's hard to contact people. Even if someone gives their phone, it is of no use if I don't remember any numbers.&lt;/p&gt;
&lt;p&gt;Also it is important to remember phone numbers of family and friends which might be needed in case of emergencies.&lt;/p&gt;</description><category>musings</category><guid>https://avilpage.com/2019/05/total-recall-grandma-phone-numbers.html</guid><pubDate>Thu, 20 Jun 2019 15:51:21 GMT</pubDate></item><item><title>How BMTC Is Exploiting Crores From Bangalore Citizens?</title><link>https://avilpage.com/2017/02/bmtc-exploiting-crores-from-bangalore-citizens.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;p&gt;&lt;a href="http://mybmtc.com" target="_blank"&gt;BMTC&lt;/a&gt; (Bengaluru Metropolitan Transport Corporation) is a government agency which operates the public transport bus service in Bangalore, India. It holds monopoly as it is the only choice for public transportation.&lt;/p&gt;
&lt;h3&gt;Fare Calculation&lt;/h3&gt;
&lt;p&gt;BMTC considers ~2KM distance as a stage and the &lt;a href="https://www.mybmtc.com/general-service?fareid=gns&amp;amp;qt-home_quick_tab_bottom=2" target="_blank"&gt;fares for each stage&lt;/a&gt; are as follows.&lt;/p&gt;
&lt;p align="center"&gt;
&lt;img src="https://avilpage.com/bmtc-fare-charges.png" width="600px"&gt;
&lt;/p&gt;

&lt;p&gt;Let's say, you want to travel from Indira Nagar to BTM Layout, it will cover 5 stages. So, BMTC charges 19₹ for that.&lt;/p&gt;
&lt;h3&gt;Exploitation?&lt;/h3&gt;
&lt;p&gt;If you travel from Indira Nagar KFC signal to Doopanahalli Arch(1.2KM), which comes under 1 stage, you have to pay 5₹.&lt;/p&gt;
&lt;p&gt;On the other hand, if you travel from Indira Nagar KFC signal to Doopanahalli bustop(1.4KM), you have to pay 12₹.&lt;/p&gt;
&lt;p align="center"&gt;
&lt;img src="https://avilpage.com/images/bmtc-fares.png"&gt;
&lt;/p&gt;

&lt;p&gt;How can BMTC charge 5₹ for the first 1.2KM and 7₹ for the subsequent 0.2KM?  If BMTC charges, 5₹ for 1st stage. Then it should charge 5₹ + extra for next stage. But it shouldn't be more than 10₹.&lt;/p&gt;
&lt;p&gt;You can just take 1 ticket(5₹) for 1st stage(1.2KM) and one more ticket(5₹)  for the next stage(0.2KM).  You can just travel 2 stages with 2 tickets for 10₹.&lt;/p&gt;
&lt;p&gt;Turnsout BMTC is charging 3₹ extra on every ticket which covers atleast 2 stages.  As lakhs of people travel in BMTC buses daily, in a month, this 3₹ turns into crores of rupees.&lt;/p&gt;
&lt;p&gt;I am not sure when BMTC has started charging like this. A month back, I sent them an email asking for an explaination of unfair bus tickets and they haven't replied yet.&lt;/p&gt;
&lt;h3&gt;Update:&lt;/h3&gt;
&lt;p&gt;After sending this to BMTC officials, they have reduced 2nd stage bus fare by 2 Rs. Thanks to &lt;a href="https://twitter.com/philentropist"&gt;Gopala Kallapura&lt;/a&gt;, &lt;a href="https://twitter.com/kracetheking"&gt;Krace Kumar&lt;/a&gt; &amp;amp; &lt;a href="https://twitter.com/thej"&gt;Thegesh GN&lt;/a&gt; for supporting the issue.&lt;/p&gt;</description><category>bangalore</category><category>governance</category><category>musings</category><guid>https://avilpage.com/2017/02/bmtc-exploiting-crores-from-bangalore-citizens.html</guid><pubDate>Sun, 05 Feb 2017 17:08:16 GMT</pubDate></item><item><title>Why Blog Posts Are Better Than Scientific Papers?</title><link>https://avilpage.com/2017/01/blog_posts_are_better_than_scientific_papers/</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;p&gt;Titus Brown wrote a blog post on why &lt;a href="http://ivory.idyll.org/blog/2017-top-ten-reasons-blog-posts.html"&gt;blog posts are better than scientific papers&lt;/a&gt;. Here are few more reasons for that.&lt;/p&gt;
&lt;h3&gt;Fast&lt;/h3&gt;
&lt;p&gt;Publishing blog posts is lightning fast(how fast can you type?). You can just publish it with a click after writing. However with scientific papers you have to wait months to get your work published.&lt;/p&gt;
&lt;h3&gt;Mutability&lt;/h3&gt;
&lt;p&gt;Blog posts are easy to edit. If you are using a version controlled system like git, any one can easily collaborate. You can also leave comments on (most) blog posts and can have discussion with the author and/or others. Scientific papers once published are hard to change.&lt;/p&gt;
&lt;h3&gt;No Gatekeepers&lt;/h3&gt;
&lt;p&gt;To publish blog posts, you can setup your own blog or use services like &lt;a href="http://medium.com"&gt;medium&lt;/a&gt;. There are no gatekeepers who says that you can't publish a blog post because they thinks its not worth it.&lt;/p&gt;
&lt;h3&gt;Organic&lt;/h3&gt;
&lt;p&gt;Blog posts tend to be casual and organic. You can crack a joke and readers will enjoy it. Scientific papers are formal. You spray some sarcasm and your paper never gets published.&lt;/p&gt;</description><category>musings</category><guid>https://avilpage.com/2017/01/blog_posts_are_better_than_scientific_papers/</guid><pubDate>Sun, 08 Jan 2017 17:03:38 GMT</pubDate></item><item><title>What Is The Meaning Of Life?</title><link>https://avilpage.com/2016/12/the-meaning-of-life.html</link><dc:creator>Anand Reddy Pandikunta</dc:creator><description>&lt;p&gt;The meaning of life is&lt;/p&gt;
&lt;blockquote cite="https://en.oxforddictionaries.com/definition/life"&gt;

the condition that distinguishes animals and plants from inorganic matter, including the capacity for growth, reproduction, functional activity, and continual change preceding death.

&lt;/blockquote&gt;

&lt;p&gt;Source: Oxford Dictionary&lt;/p&gt;</description><category>featured</category><category>musings</category><guid>https://avilpage.com/2016/12/the-meaning-of-life.html</guid><pubDate>Sun, 25 Dec 2016 18:29:23 GMT</pubDate></item></channel></rss>