Posts

Manjaro KDE No. Mint Yes.

tl;dr. Manjaro KDE - it's super cute, but maybe not for me. My laptop has been a wretched mess for the past couple of weeks. The reason was silly - the OS disk partition that I initially gave 30GB to was out of space, and there was no way I could extend it, even though I had over 200GB free in my other partitions. It required an empty space right after the OS partition - no fragments. :/ So, after about 2 weeks of cribbing and waiting for a new laptop to magically appear at my door, I succumbed to it. I couraged to format my disk and re-install my OS. I had been using Linux Mint 17.x Cinnamon for about 2 years now, and thought it'd be nice to go for a change. Manjaro KDE, based on ArchLinux. People on the internet seemed to love it. Plus it was Arch. It seemed perfect. Except. Now that I have it, I dislike it. It's too Windows-y. It's just very cute. Everything looks so beautiful! I know, I know, I love good design, and all the nice little icons and setting

Is All of Webdev Just A Pile of Hacks?

tl; dr : This post on hackernews. I had written a (not so structured) blogpost on how web dev is insanely different from app dev, comparing UI design, backend code, and flow of the app/webapp. And how webdev is just hacky. I've seen so many profiles on LinkedIn/personal websites where people proudly designate themselves as ardent lovers of JS . No offence, but huh, lol . You can be really good at JS, but it's just very hard to fall in love with, unlike languages like Java and Python. Now I don't entirely dislike JS - I understand why it is the way it is, and the history of the Internet and yada yada. But all frameworks, all libraries built using JS felt like attempts at revival of something that should have long died. Every new framework gives JS lovers (honestly no offence) a little bit of hope and adds a year or two to its survival. JS is a hack on top of a series of hacks! They have fake classes and now  pretend inheritance in React (I used refactored a lot of code

Firebase Auth | The Debug vs Release Signature Problem

tl;dr 1. Update Firebase console with SHA1 of your release keystore. 2. Re-download google-config.json file. 3. Place your release keystore in the same folder as your gradle file and update gradle with the code below. 4. Tadaa! Authenticating a user can be frustratingly tricky at times. I use Firebase all the time to do all server related tasks - I used to create my own Python Flask server prior to this. You literally have to write no server side code, and it's all for free. All steps at the Firebase Auth documentation are straightforward, except for the part that requires you to add the google-config.json with correctly configured SHA1 key. I got stuck at this one point, and I'm certain most developers will at the same place. It took me hours to do this the right way. Here's what you do : Firebase Auth requires SHA1 fingerprint of your release keystore. Run the keytool command given in the docs. keytool -exportcert -list -v -alias alias_name -keystore path

Emails can definitely be better

I've found a place I'd quite like to work for. Superhuman . They're a group of 10ish top class developers/creative minds - several Indian, based in San Francisco. They're working on a very simple, every day problem - emails. At first, I know the idea doesn't groundbreaking, and a whole lot of companies have worked on something of this sort. Plus ideas like these usually get eaten up by bigger companies with more resources. But these super creative people with contacts all over bay area, and infinite cash flow, immersing themselves into working on a long term project can make it groundbreaking. Here's what they're doing. Simple words, changing the way email is today. Making it beautiful. Emails clients are supposed to be clean and sleek. GMail is ugly, both on Android and the web. Material Design isn't always the ideal design pattern for all types of applications. iOS' design pattern for an email client is quite nice.  Insights about the pers

Android Dependencies and Version Numbers

If you've done any development, you probably know how quickly libraries upgrade versions. Keeping track of the version number to compile the library with is always difficult. On Android, a lot of developers use dynamic dependencies using the '+' notation like so - compile  ' com . android . support :cardview - v7 : 24+ ' This is terrible! Dynamic dependencies may end up doing unexpected things to your app and you won't know why. You may be saving time and always have the latest version while compiling, but this laziness may cost you a lot of time when you don't understand why your code isn't working. Read more here  ( A really, really nicely formatted blog, ftr. Blog goals - make blog look this pretty. ) Alright. I used to go to Android's dev website to check versions every time I'd want to use a support library. They keep updating very frequently. The other place for all other open source libraries is either github repo or Maven central

Indiegogo | Onion Omega2

Image
Omega2 by Onion . A super small WiFi enabled Linux server. It's a computer that costs $5. You can power it with LiPo batteries (:D), it has WiFi built in, and is made by a group of super enthusiastic people. It's everything your electronic hardware design course taught you about Arduino and Raspi, except it's one third the size and one fifth the price. For those interested :D And it's my first contribution to an Indiegogo campaign. $5   :)  Downside, it'll ship some time in December '16. What am I planning to use this for? I'm probably going to do something with the Omega2 and this nanoquad. The WiFi on board of both the quad and the Omega2 makes things easier. :D (Okay, the quadcopter's website sucks. Don't judge it on that. Their nanoquads are just like the Crazyflie's, except 5 times cheaper. I'm going to write a blogpost on the Pluto quad as soon as it arrives!)

15 Million Merits

Image
Black Mirror . A British TV series based on futuristic worlds depicting the problems of today, especially ones to do with technology. Each episode has a different story line, with different actors in different worlds. The name is perfectly fitting - when a screen is off, it looks like a black mirror. Every episode is a morbid reality of our society, a dark reflection of what the screen, technology has done to us, how we see ourselves as a society. Charlie Brooker, the creator of the series says this (couldn't help but smile at this) - The irony is, how we're all watching the series on our laptop, television, or mobile phone, and at the end of each episode when the screen cuts to black, we see our own reflection on that dark screen, the black mirror. Forward to 4:31 seconds, if it doesn't on its own. Each episode is a perfect allegory. I saw 15 million merits recently, and couldn't help but notice all the hidden metaphors to reality - frankly, they're hidden

Can you solve this?

You have a sheet with several numbers written on them. You have to fill in operators to make the left side balance the right side. You can use   any operator, and as many as you'd like. You can use brackets. You cannot write any number on the sheet. So, square root works because there's a symbol for square root. Cube root doesn't because it requires you to write 'three' in the root symbol. Similarly, you can't square a number, because it requires you to write 'two' in the superscript. You also cannot use decimal as it requires you to write '0' in front of the dot. Here's the question -  0 0 0 = 6 1 1 1 = 6 2 2 2 = 6 3 3 3 = 6 4 4 4 = 6 5 5 5 = 6 6 6 6 = 6 7 7 7 = 6 8 8 8 = 6 9 9 9 = 6 I'll give you the answer to the first.  6 + 6 - 6 = 6 Can you solve the rest? -- It took me almost half an hour to complete.

The Population Problem

Brief, unstructured, but have always wanted to put this through. Many questions and not  critically thought ideas. The root of most human induced problems is large population. I feel any race/city/organization/institution that limits it size to as much as it can handle will function better than those that grow uncontrollably. Now this sounds obvious, but surely other than the Chinese no one seems to be following this. The obvious issues - Day to day troubles - Road traffic. Queues in supermarkets. Local transport, metro, buses, trains always crowded. Education - Can the government provide education to  everyone ? What is the selection of students? Creates division and hierarchy amongst institutions - not everyone gets to study at a top tier institute. On what basis is an individual considered worthy of a top level education? Employment - Where do you generate so many jobs? Even if you push in more people into each domain, say increase the size of police force as the overall

The Zoo of Jobs

The more I think about it, the more I feel I've made a big mistake. Or maybe I haven't. Imagine this . You're on an indefinite term in jail. No, jail's too harsh. Let's call this a zoo . You're one of those many human-animals that are captured, and kept in protection in the zoo. You've been captivated for months now, and have hated every minute of the feeling. You're wise, you're strong, but like every other human-animal, you live in this zoo, waiting for the day you'll be free. Every day you dream of what this day would have been like had you been free - from the city you would choose to live in to the people you'd like to do meet and do business with, the food you'd eat and the place you'd like to call home. If only you were free right this very day . Every week or so, the zoo has visitors- people from the industry, factory owners who tour the zoo and observe the animals inside. These visitors spend hours trying to find a right f