Author: akshay

  • [jog-journal] The Idea

    They say an idle mind is devil’s workshop. A jogger’s mind is god’s workshop then.

    I’m waking up at 4 am since I had a sweet dream yesterday.

    Some goons appear outside a hostel. They beat the two securitiy guys up and ask them to go inside, take the mobile phone from every guy sleeping inside, and hand it over to them. The clever securities went inside and woke all the guys up. The guys started coming out one by one and soon the goons fled seeing the crowd.

    When I woke up I had the realization that individually we are all powerless, but if we can wake people up to the reality, we can fend off any enemy.

    That was yesterday. Today I had no dream to wake up with. This thread is going on about licensing of a Telegram based bot. If the license is AGPL, does it protect the bot as we want it to be protected? I’ve sent an email to FSF because the answer isn’t clear from their FAQ either. Then I started making a teaching kit called “Internet elevator pitch for administrators” after wondering how I’d make my college Dean understand the importance of URLs. (My college’s official website is mmcrimysore.org.in. If you’re to visit it, you’ll be redirected to the subdomain of the website of the web developer (I’m ashamed to call that guy by this title). And the guy says the official URL will be used once the website is completed. Poor administration should have believed that.)

    It was 6 o’clock by then and fairly sunlit. And I was having a bit extra energy and so I went jogging to Kukralli kere. There are bulldozers around the entrance laying down huge pipes and I had to jog anti-clockwise today because the other entrance was blocked with soil. I remember reading somewhere that running anti-clockwise is good for the heart, but I wonder if that’s true for large circles (or even small circles). Also, what happens to the previous tar on the road when it is being retarred?

    Halfway through I noticed a woman running with a stooping posture. She didn’t look tired and she was young enough to be not having senile stoop. Do women assume certain positions while jogging to avoid uncomfortable jiggling of their breasts? Can this be avoided by wearing appropriate sports bra? If yes, maybe a bra-salesman can make a fortune at the entrance of Kukralli kere. After all there is already a leafy vegetables/hurbs guy, a glucometer guy, and even water purifier guys there.

    I was in the home stretch by then and I saw an Eagle being carried away by wind. Wind flows from water to land in the day, doesn’t it? That’s why there was wind I guess. And then a blue bird about the size of a small crane with 4 long fingers.

    I should write all this down on my blog! After switching to my website for all serious stuff I have been wondering what I’d do with this blog. Maybe this is the right place to write all these random thoughts. Maybe I should name it “Jog Journals”. Oh! That’d be fantastic. It’d keep me jogging every day because I’ve to write the journal and it’d keep me writing every day in turn.

    Just as I was fancying that idea something happened. I had been jogging regularly in first year. We had a group who’d go jogging and we’d complete the Kukralli round in 20 minutes and be back. But we lost that habit during university examinations. After that the only real reason that made me go jogging was this girl, in my immediate junior batch, who likes running a lot and whom I like a lot because of that. I knew she came to Kukralli every morning but I’d never ran into her despite adjusting my timing frequently. Incidentally right at the end of the round I saw her and she said “hey” and I said “hi”. Ha!

    I have absolutely no doubt that there will be enough interesting things/thoughts every day to fill this series with. Yes, a series, that’s the idea. Keep looking for the tag jog-journal.

  • Mozilla India Task Force Meetup – 2015

    Either of Shreyas or Jafar must have invited me to the Task Force meetup, and I got to be a part of the Mozilla India Task Forces.

    The 2015’s task forces were formed in an event at Bangalore (Lemon Tree hotel, Ulsoor lake) over 7, 8, 9, 10 May, 2015.

    On 7th and 8th, it was previous task force members discussing, evaluating, etc and planning.

    I reached the venue on 8th night.

    Day 1

    In the morning, George Roter talked about the mission of Mozilla and the goals for 2015.

    Afterwards, there was an activity to recall what Input -> Activities -> Output -> Outcome -> Impact was.

    After lunch, the task force concept was introduced. And all the task forces were introduced, including the newly proposed ones.

    Then we divided into groups based on the task force we were interested in joining.

    I joined policy and advocacy task force which was a newly formed Task Force to cover policy issues and also raise awareness about those, privacy, security, etc. We discussed our skills, our roles, our interests and what help we need. Later we aligned these to the Mozilla’s 2015 goals. More about the Task Force in the wiki.

    In the night, I downloaded the mozilla-central code from the mercurial repository and built my own firefox (ASDfox)

    Day 2

    Day 2 was really intensive. We wrote down our short term goals and long term goals for each task force.

    George did a workshop on Fennec, we made personas, discovered a lot of ideas and challenges.

    Towards the end, we finalized the strucutre of the task force and presented the important goals to the group.

    [These notes are super short because there is too much going on and I don’t even have time to note them down before forgetting, let alone expand.]

  • Everyone has an Angel and Devil in Them

    Last week I had (what I thought was) the rare privilege to have a conversation with Jimmy Wales, the reluctant-to-admit-so co-founder of Wikipedia.

    It was all a part of the #NetNeutrality campaign to save the Internet. I built a Firefox add-on called Zero Internet which would simulate what happens to a poor mother of three (who can’t afford a data-pack) when she visits the “Internet” through Internet.org.

    I submitted it to reddit, and for a few hours, it was the top post on r/india (which, to be honest, has been the rendezvous for sane Indian Internet users, and would have upvoted even if Deepika Padukone supported Net Neutrality).

    Surprisingly, Jimmy Wales responded (with harsh criticism), both on twitter and on reddit, as if he was personally leading Internet.org. He said:

    “This is deeply dishonest and makes me think you haven’t even done the most basic homework as to how this works.

    In all cases, people who are using Internet.org are on data plans (often daily plans or plans with quite restrictive data caps). One reason Facebook has been successful at getting ISPs to go along with this is that it is viewed as a win/win by the carriers – it gets people online and using data.

    For the very poor, if they can’t even afford a daily plan, then they don’t look at the Internet at all. At least this way they have something. For those who are a bit less poor, the program offers them a way to save money on data – they can look at some sites for free (like Wikipedia) and use their precious data for other things.

    Your plugin gives a completely false impression.”

    …which is quite contrary to what Mark Zuckerberg is making people believe (He says Internet.org is about bringing Internet access to those who do not have it yet) and also calling my add-on dishonest was dishonest. For poor people who can’t afford data plans, going out of the sites allowed by Internet.org is impossible. And that’s exactly what my add-on does.

    So, on twitter, I went on a couple of rounds of arguments over the issue. And it turns out Jimmy Wales really, truly believes that Internet.org is the only way for poor people in India to access Internet.

    Afterwards, Pirate Praveen helped me understand why I was feeling awkward.

    “the problem is with your expectation. We want angels and devils so we don’t have to think. But everyone has both these aspects in them. Just because someone does a lot of good is not a reason to support them when they do something wrong. Attacking someone who is in opposing camp is easy. But standing up to someone in your own group needs immense courage and conviction. Every privilleged person thinks its their god given mission to help the poor and show their kindness. They do not want to acknowledge that their privillege is the result of historic oppression and they are part of the reason why they remain poor. They think poor people needs charity and kindness. What we really need is a conscious collective effort to end systematic oppression of people and that will need questioning of our own roles and privilleges. Accepting our role in creating the poor is much harder than feeling good about helping poor.”

    In fact, I now have a tagline for Wikipedia (which I would have never thought about till last week)

    “Imagine a world in which every single person on the planet is given free access to *some* of all human knowledge. That’s what we’re doing.”

    NB: Jimmy Wales is an Objectivist. His life philosophy is based on that. And therefore any comment on where Objectivism gets it wrong is appreciated.

  • Internet Will Become Dramatically Useless in the Near Future, Unless What is Said in This Happens

    Allow me to introduce you to “net neutrality” if you haven’t heard of it yet.
    Hindu had an editorial about why it is important yesterday.

    Net Neutrality is the concept that all data traffic on the Internet should
    be considered equal. There shall be no discrimination.

    So, say,
    if you pay for 1MBps Internet, your ISP should give you 1MBps itself
    (neither high, nor low) no matter if you use torrents, or WhatsApp, or
    Facebook, or Wikipedia, or YouTube, or whichever site/service you’re
    connecting to.

    But, for people like Reliance, Airtel, Uninor,
    Vodafone, etc this is bad for their pocket. Because people won’t send
    SMS or make phone calls, they can get money only via data packs. And
    they are greedy for making more money.

    So, what they have been
    trying to do, is to charge people differently if they’re using Viber,
    WhatsApp, Facebook, etc. This comes in the form of “free” Wikipedia,
    “free” Facebook offers, or “special” Facebook packs, “special” WhatsApp
    packs, etc. These all give differential treatment for different
    services. And that is bad!

    Last week, they forced TRAI to release a
    consultation paper for “regulating” (read: putting restrictions on) these services (Over The Top services
    – Whatsapp, Facebook, etc.). According to this paper, a lot of ideas –
    like licensing the OTT services, slowing them down unless you pay TSPs
    more, making the OTTs pay the TSPs, etc – are being considered to be put
    in place.

    A lot of people are already campaigning to protect the
    Web by keeping it neutral. Example:

    What we need to do is: raise awareness of why net neutrality is important, and ask stakeholders to send their comments to advqos@trai.gov.in

    You can read more analogies and get links to the paper at learnlearn.in/net-neutrality/

    If anything is unclear, please ask in comments.

  • Free and Open-Source Software

    Imagine you discovered how to make a delicious cake. You are the only person in the world who knows how to make it. It is so tasty that you could make a fortune selling it. What would you do?


    If the first thought that came to your mind is to start a bakery and make profit out of selling the cake, think again.


    There would have been one point in your life when you did not know what a cake is. From that point, all your knowledge about cakes came from people around you. Sure, you made a discovery with your own effort, but the world empowered you to make that discovery.


    Now imagine, instead of making profit out of the cake, you let the recipe out. You let everyone in the world know how to make your cake. Suddenly, you are making a lot of people happy.


    Slowly, others modify your recipe to make even better cakes. Even you enjoy the new variations. And the whole world is grateful to you. You are immensely satisfied.


    But the world is not fair. Sometimes the world goes for less tasty, but heavily advertised cakes with top-secret recipes. And you wilt away into oblivion while the world conveniently forgets about your beautiful contribution to the world. The picture isn’t so rosy, is it?


    Image: “Free Software” by user ryyo on flickr



    Replace the cake with software and you just read a small introduction to the Free and Open-Source Software (FOSS) philosophy.


    If FOSS, “anyone is freely licensed to use, copy, study, and change the software in any way, and the source code is openly shared so that people are encouraged to voluntarily improve the design of the software.”


    Creating such software most often does not bring economic prosperity to the developer (the person or group who creates the software). But to a large extent, they always enjoy the satisfaction that is obtained from people’s appreciation of what they have made. Also, the world gains so much because others can make contributions (extra features, fixing security bugs), which will again benefit everyone using the software.


    But we do not code, what can we do? We can not be a cruel world. We can support this cooperative culture and appreciate the effort of those developers who are willing to share, learn, and create better products that we all use daily to make our lives easier.


    Here is a list of most common FOSS packages for you to use.
    Mozilla Firefox – for browsing
    GIMP – for photo editing
    Libre Office – for word processing, spreadsheet, presentations, etc.
    VLC – for playing media files
    7-zip – for file compression
    (compiled from) Wikipedia – for sharing knowledge!

    (ɔ)  Copyleft (No rights reserved)

  • When There’s Nothing Left to Say

    One of the many things I like in life is talking. I like to discuss things, dissecting events and analyzing situations. It gives me some kind of strange pleasure when there’s clarity in my mind on every way to think about an issue.

    Say, there is a forward on the IM client that is obviously a hoax. The things that go through my mind include but are not limited to:

    • Why is it a hoax?
    • Why is it believable?
    • Why do people believe in it?
    • Why do people forward it?
    • Why do even people who do not believe it forward it?
    • Why do people who forward it not take it seriously when asked about it?

    Following these thoughts to their completion makes me comfortable. It lets me classify the forward (the event) to a folder in my brain. The next time I see an event of the same kind, I know all the patterns surrounding it. And there is less need to think about it. This somehow simplifies thought.

    But the first time a new kind of event occurs, I spend a lot of time thinking about it, characterizing it, judging it. Sometimes this involves talking with, arguing with people (although most people do find this annoying). But the process gives me clarity. And clarity is golden.

    There are times when I see events repeat. I find it incredulously boring to talk about them when I have already gained clarity about it. That’s why I write things down. So that I can point people to my thoughts on the event. When they have a new way of looking at it, I will come back and discuss it.

    Some issues have been discussed so much that any more of discussions on it would be like eating after you’ve finished a buffet dinner – nauseating.

    Then there are issues about which talking is equivalent to whining. Things that can be fixed straightaway (or if not, that deserves to be attempted). Here, not doing what is logically the right action after discussion makes me nauseous. Therefore, sometimes, I shun away from the discussions altogether.

    Those are the times when there’s nothing left to say. Everything left is to be done.

  • Being Feminist

    Each day passing, I am turning more and more a feminist. Although I abhor extremism in feminism (I do not think calling every action of a man “sexist” is the right way to achieve gender equality), I cannot overstate the importance of visualizing the routine, systematized discrimination against women based on their gender alone.

    In this address to the UN as its woman ambassador, Emma Watson says how it is important for men to be participating in women empowerment programs. By alienating men from gender equality programs, we are just increasing the gender gap. Read more at HeForShe.org

    Yet, that is what some feminists do – give no respect to men, attack them on whatever they do or say.

    Read about the dongle joke that spiralled way out of control

    But all these are issues of fine adjustment. There are coarse course corrections to be made in countries like India.

    “India’s Daughter” is a documentary that was released today by BBC. And it shows how vulgar the mindset of many Indians are. If you watch that documentary, you get avulsed not by the guilty defending himself, but by the lawyers of the rapists trying to define the role of women in society.

    And to ban that outright is worse, from the Government of India. Anyhow, I have a few mirrors at learnlearn.in/indias-daughter/#mirrors

    I’ve found myself guilty of (unconsciously at times) discriminating against my female friends many times in the past. Every time it is discovered, I try to never repeat the mistake. Yet, there is so much to unlearn that I still commit new mistakes. Anyhow, I am a feminist. I know that manhood and womanhood are just two colours of human beings.

  • The Line Between Morality and Freedom – A Guide to the Confused

    Morality is a dilemma for many – “What is right for me is not necessarily right for you. Am I right in forcing you to see things my way?”

    Christopher Hitchens and Shashi Tharoor debate for over an hour in the above video about which is more important – “freedom of speech” or “not hurting others’ sentiments”.

    The dilemma is that if we concede to Tharoor’s argument and censor ourselves in whatever we say we will turn into a gun without bullet, and on the other hand if we follow what Hitchens says, to speak our mind out without worrying about the consequences, we will all turn into guns shooting each other.

    After thinking about this issue for weeks, literally, I have come up with a middle ground.

    First I’ll explain why it is necessary.

    We should do what we feel is right because otherwise we are doing it wrong. It is mean on our part to see “wrong” and not react. Do not conform to majority opinion, or minority opinion, or anyone’s opinion because they could all be wrong. We do not know the absolute truth, or the absolute right. But what we do know is our “rights” and our “truths”. Be courageous to put it forth.

    Now I am sure some of the readers will take it down the slippery slope and say that this argument favours terrorism – what they feel is right, they do. But I have not finished my point. Keep reading.

    But what if I am not sure what is right? In such a situation just listen to all sides and form an informed opinion which you are ready to change if proved wrong later. It is fine to change your opinion. You could support someone and later oppose them if it turned out you were wrong, or vice versa. You could support an ideology and later oppose it if that is better in the light of new knowledge.

    Okay, I know what is “right”. But am I right in forcing others into my “right”? They have their right to have their “right”, right?
    True that. This is where terrorists are wrong. While asserting their right they are taking away the others’ right to live, learn, etc. We can do what we feel is right as long as we don’t deny others their rights.

    Is that the ground-breaking middle ground insight that I promised? No. We have all heard “Your freedom ends where my nose begins”. But what we have not heard is how to swing our hands in such a way that it almost reaches the opponent’s nose and scares them, but does not touch their nose and cause harm.

    It is this line that we must aim at. A war in which both parties shoot, but not at each other. Where do they shoot then?

    They shoot into the consciousness of the society. I can explain.

    You know that ethyl alcohol is a harmful substance. When you see a lot of people drinking it, you feel like the government should ban it. But by banning drinking – even when a person is not a government servant, not responsible for anything, or is a dead waste in the world – you’re essentially shooting at the alcoholics and denying their right to drink whatever poison they want to (Note: Of course there’s a question about suicide being legal or not). There is an alternate way. Though it is more difficult and long, it puts you in a moral ease. And that way is to shoot your argument at the masses and convince them collectively that alcohol is a harmful substance. Like what Dr Dharav Shah does.

    You know that Bollywood/Tollywood/Kollywood/Sandalwood movies are produced by perverts who want to make money by tickling our dicks. You know that actors and actresses are selling their bodies off under the pretext of “doing it for the script”, “what the character demands”, and you feel the society is being exploited. But you shall not ask the government to ban these movies. You shall not tear the posters and make filming impossible. What you can do without consciousness prick is criticize them vehemently, call them what they are – hypocrites, expose their lies, and raise the society’s awareness about how they are being exploited.

    Still not sure you are right enough to do such good things for the society? Think of this. Collectively our society thinks very less. Its opinions are heavily shaped by the mainstream media and easily biased by glamour and money.

    It is a place which cannot understand sarcasm, takes words by the face value, and listens to celebrities (politicians and actors) – whatever shit they say.

    It is a place where emotion rules over logic, and superfluous thoughts and ideas triumph over deep, far-sighted visions on any day.

    And if you read so far be assured your “rights” and “wrongs” are better than those of 95% of this society.

  • Making of a Maker Party

    Mozilla is asking all of us to throw parties all over the world from July 15 to September 15. Webmakers all over the world are responding by hosting “Maker Parties” wherever they can.

    I did one too.

    This is a report for the sake of other webmakers.

    To begin with there was me. I have been getting a lot interested in the web ever since the Firefox 29 launch party in Bangalore a few months ago. Also, I was learning web developer’s power tools like yeoman after getting stuck with optimization of saMMsCRIthi ’14 website.

    And there was Swathi. The moment she heard about maker party she was excited and wanted to host one at her home. Since she had WiFi all we wanted was some participants.

    After postponing the event twice about 10 people were all set to attend on August 31, Sunday. I registered the event only two days before the party. And therefore there was no point asking Mozilla for some stickers or banners. So Swathi took colour prints of the webmaker logo, firefox logo, etc and made some awesome goodies on her own!

    The awesome self-made goodies by Swathi. Note that the maker party stickers on the left had double sided sticky tape behind it so that they could be stick-ed anywhere.

    Since our event was from 12 noon to 7 in the night, Swathi also had to take care of lunch. Thanks to her awesome mom for the nice food!

    I’d remixed a teaching kit and made this kit
    for a small maker party. But it was very boring what I came up with.
    So, most of the activities were planned an hour before they happened.

    I reached the venue at 10 am, well in advance to make sure everything would work fine, but that wasn’t necessary because the host had taken care of it all. All I had to do was get the WiFi password and make sure it was connectable. 10-12 I made a small webpage for the event which was useful in demonstration of some activities too.

    Luckily not all 12 of the people who wanted to come did come. Therefore everyone could sit in 2 couches + 3 chairs in one room.

    See how cramped everyone was. But that made working together easy.

    Around 1 we started with the IP by hand activity. I believe that people should understand the chain of events that happen whenever they do anything, and if they do they can easily understand everything else surrounding it. So the participants assumed the roles of browser, router, ISP, DNS, internet backbone, server, and domain name registrar. And then we sent IP like requests with originating address, to address, etc in a piece of paper.

    Immediately after that I could explain how the router works, how our 6 computers were connected to each other even if we removed the wire connection from Airtel. We went to 192.168.1.1 and learned how to configure the router. Then we went to 192.168.1.2 where I had the local version of the event webpage running and I explained how a server works. We pinged each other on the local network, we pinged google and was surprised at how different people got different IP addresses to ping (although we were all connected via the same internet connection). I explained the various load balancing issues involved.

    After that we started learning browser shortcuts. This could have been planned better with some competitive activity between teams. Instead we were just opening new tab, closing that, searching google, etc without using the mouse.

    An ultra-small quiz was held when we were all on India wiki. I would ask a question based on some sentence in the page like “Who ruled Gangetic plains from 606 to 647 CE?” and the teams would ctrl+f to find the answer.

    Then we had lunch.

    All plates were clean when we were done

    Following lunch I talked about domian name, URL structure, https connection, certificate. And the importance of making sure these are proper when we’re banking or shopping.

    Then we solved 3 privacy challenges. There could have been more challenges using the myriad privacy settings in facebook to hide things from people.

    Then I gave a small intro to all the tools available in google using the more -> even more page. We started typing on a Google doc, all of us at the same time.

    Then we used google search tricks, to uncover secrets about the participants and people we hate. We would use queries like:

    • “name of person”
    • name of person site:rguhs.ac.in
    • “name of person” +mysore

    Since most government details are put online (without any consideration of privacy) we could easily find some interesting stuff.

    To introduce the need for HTML I asked everyone to draw a small webpage for themselves in a piece of paper. They made nice shining pages. Then I asked them to reproduce what they did in notepad. Everyone would get stuck at line 1, because there’s no center align in notepad. Once stuck, I introduced thimble, and the need for mark up. With the concept in their head, all I had to tell them were “h1”, “p”, “a href=””, etc , and they soon started asking me the tag for inserting images, the attribute to restrict image size, etc. And they made these. I missed telling them to tag the makes and now it is difficult to find the beautiful makes.

    To wrap things I spoke about Mozilla and the open web.

    That web which makes you read this. Without which life would have been much more difficult. Which is consistently denied to many people in certain parts of the world. Which is under-utilized in most places sheerly due to ignorance. Which is scary for some, which is the only way to communicate for some. Which is the one biggest reason the world feels so small.

  • A Smartphone in ₹2000 – What is Firefox OS?

    Mozilla is all set to sell Firefox OS smartphones that costs $25 (~₹1500) in India.

    Who is Mozilla?
    Mozilla is to Internet what WHO is to world’s health.

    Mozilla is a community of “Mozillians” from all over the globe with a common mission – to build a better internet.

    Most of us know Mozilla as the non-profit organization behind the mighty web browser – Firefox. But Firefox is just a small part of what Mozilla does. Mozilla plays an active role in promoting the openness of web, bringing down disparity and bridging the digital divide, and empowering citizens all over the world for innovation.

    They do this through building products that transform the way we interact with the web, through educating the world about the web, and by influencing policy making in matters related to the web.

    A screenshot of the mozilla.org homepage

    What is Firefox OS?
    Firefox OS is an operating system for your mobile device, an alternative to Android, iOS, Windows, etc.

    It is built using the same set of tools that is used to build the web – HTML5 and other open web standards. This makes it easier for people to develop applications for Firefox OS. In fact, any website on the web can become an app on Firefox OS – because they are built using the same tools.

    What this means for the end user is that there will be a lot of apps – a lot of apps – that runs on Firefox OS.

    How is it different from Android, iOS, etc?
    There are differences at multiple levels.

    Everything in Firefox OS is a web app. In fact the entire user interface of Firefox OS is a web app. The camera app is a web app. The dialler app is a web app. These are all written in HTML5, css, and javascript, like the websites are written.
    In other operating systems, you write apps in different languages, like java, C#, etc. And this brings on the additional complexity of having to know those languages.

    Firefox OS needs very little resources. It runs on very low-end phones. The minimum hardware specs required are low, and the cost of devices in turn becomes low.

    But the most important unique feature of Firefox OS is that it is adaptive!

    3 screenshots of a Firefox OS phone showing how it is adaptive

    When you search for soccer, you get all the apps from all over the web related to soccer, and so on.

    Cool! Where do I buy a Firefox OS device?
    Like all other phones, you buy Firefox OS phones from shops! 😀

    Update:
    So, do I need an internet connection always on to run Firefox OS?
    No! Actually, there are two kinds of apps in firefox – hosted app, and packaged app.

    Packaged apps (like dialler, sms, cut the rope game) work offline (though they can connect to the web if needed). All the resources they need are already downloaded when you download the app initially (or when you buy your phone, in case of default apps).

    Hosted apps (like facebook), are hosted at their own websites. Hosted apps are usually used only when the content that is shown in the app is regularly changed online (think of news, social networks, etc).

    For all practical purposes, Firefox OS needs internet connection only in the cases the other platforms (android, iOS, etc) need internet – to update the system, to install new apps, to browse the web.