The Miracle Sudoku
Trust me and take 25 minutes out to watch this. Just trust me.
Trust me and take 25 minutes out to watch this. Just trust me.
I came across Apple’s COVID-19 mobility dataset in mid-May. Instantly, I was curious. I have been interested in understanding how the world is changing ever since the pandemic begam, and thinking about what it means in the short and long-term.
As I started exploring the data and seeing some interesting patterns in there, I started thinking about if there were ways I could share it and make it public. Of course, there’s always Jupyter Notebooks, but I don’t enjoy making my notebooks overtly formal and presentable.
Around that time, I remembered streamlit (a UI framework for converting simple Python apps into websites) as something I had wanted to try for a few months. Next question: How do I host it? Well, I had heard and read about Heroku1 being a simple and fast way to deploy websites and web apps.
Lo and behold, it all came together over a weekend into something I like. I just updated it today with more recent data and some additional notes.
I host my website using Netlify, which is great for static-sites. There is probably a way to get streamlit to output a static site, but I went with the easiest path to get it out there. ↩︎
On January 31, 2020, when USA started restricting entry into USA from China, I felt lucky that it happened then, and not 20 days earlier when I was flying through Beijing on my way back to USA. Little did I imagine then that it was only the beginning of what was to come in the next few months (years?).
Over the last 6-weeks, SARS-CoV-2 (2019-nCoV) has transformed the world as I knew it. During this time, I have been thinking a lot more about what this will do to us as a species, us as human beings, and us as citizens. Watching TV shows where people are not distancing from one another, hanging out outside their home or even going to an office, feels weird!
This is a non-exhaustive, unorganized (possibly updating) list of things I think will change as we tackle this pandemic and thereafter.
A few days back, someone reached out to me suspecting that their Instagram account had been hacked. What followed was me helping them work through every available way to lock down their account and then convincing them that they had done everything and it didn’t seem like it was hacked. In the process, though, as a proof-of-concept, I followed the same procedure I helped them go through. That brings me to what I learnt about Instagram and its account security practices.
I am obsessive about the security of my online accounts, including ones that I only use occasionally. I don’t repeat passwords, I have 2FA enabled on all such services, and I use an authenticator app for it to avoid the possibility of SIM swapping. I am not an expert, but I am curious, cautious and fairly literate on security best practices. With this, I started investigating what different ways exist to identify if an Instagram account had been hacked, and what can be done to salvage it.
Instagram offers a simple ‘Login Activity’ page that provides a list of locations and devices from which your account was accessed. A quick glance at it and I suspect it comes from the IP address location provided by ISPs. (Instagram does not have access to the location data on my phone.) It potentially has duplicates of the same device, so is not foolproof, but it is a good sanity check. If there’s no device-location pair on this list that you don’t recognize (and haven’t received an email from Instagram telling you about a recent login), there’s a low probability that your account could be hacked. Great.
But what if there is an unknown device there? What do you do then? Well, you try to kick them out. Step one would be to log that device out, but that leaves the possibility that it will be able to log back in, almost immediately. Why, you ask? Well, Instagram has a surprisingly ridiculous setting, ‘Saved login information’, that is turned on by default, and saves the login information to the mobile app. So, even if you log a device out, chances are that it can log back in almost immediately given the login information is saved. Not good, but not alarming either. After all, it is a Facebook product.
So how do you actually force a login from every device? Astonishingly, there’s no way to do this. Articles all over the internet will tell you to change your password, which will force a password entry on every device. I tried that, and it worked, but only sort of.
At this point, Instagram logs out every other device that was previously logged in to the account. Cool. However, when you try to login again, it gives you a choice: a) Use Facebook to login, or b) Enter the new password (without a 2FA prompt or email notification about login). (b), in and of itself, is terrible, but it is (a) that got me even more worried. I disconnected my Facebook account from Instagram a few years back. And despite Instagram’s constant attempt to lure me into re-connecting them with dark patterns, I have resisted and consciously ensured I do not connect them together.
I tapped ‘Use Facebook to login’. Lo and behold, I was in my Instagram account! No new password, no 2FA code, no email from Instagram about a new login, no email from Facebook about my Facebook account being used to login to another service. I was in. Business as usual.
I was dazed. I checked Facebook to see if any other ‘app’ was connected to my account or had used Facebook for login. Nada.
To recap, I changed my password on a 2FA enabled, Facebook-disconnected Instagram account. On a different device, I could login to my Instagram account without my password, 2FA code or authenticating my Facebook account. I didn’t receive an email from Instagram or Facebook about the login.
In real world, what this means is that if someone gains access to your Facebook account, they can probably extend it and gain access to your Instagram account. Someone will keep chasing a red herring and try to beef up their Instagram security, all while the perpetrator can conveniently gloss over all of those changes by simply using Facebook to login to Instagram every single time, with not even a whiff to the victim.
Ludicrous.
For over 3 years now, since I moved to USA, I have primarily relied on Apple Maps for all of my travel and mapping needs. And the reasons for it, in more or less my order of priority, are pretty simple:
Almost about a month ago, I visited the Statue of Unity (SoU), Sardar Vallabhbhai Patel’s statue near Baroda. Hailed as the biggest statue in the world, this was my first experience of visiting a tourist destination in India after living and traveling in USA for over 3 years. Here are some of my thoughts and observations from that visit, in approximate order of my visit:
The transportation between different sights of attraction in the Statue of Unity complex.
Sardar Sarovar Dam from the viewpoint near Statue of Unity.
I am glad I went to Statue of Unity. I learnt a little more about Patel, but a lot more about my country.
Over the years, one thing that consistently bothered me was my inability to read and finish books. I started a lot of books, but finished rarely any. Over time, I lost interest in reading books. I read a lot of articles, blogs and news stories, some tens of thousands of words long, but I never got around to reading books.
In late November, I decided that I wanted to change this about myself and that I wanted to read more. For that, I needed a book that would keep me hooked, keep me interested. Over the last year, I had read and heard a lot of praise for Sapiens, and I was certain that that was the book I wanted to read. And so, it was.
I just finished reading the book last night, and to say it was an eye-opener, is an under-statement. It is an astute account of the rise of homo sapiens, the various revolutions that have occurred over the last several millenia, and goes on to lucidly describe the dominant (and other theories) surrouding each one of them.
One of its primary gifts to me was a new perspective. I had accepted humanity as it exists today (capitalism, social structure, religions, agricultural practices, etc.) without sufficiently understanding how they came to be. I now understand a little more about the story of the homo sapiens than I ever did.
Harari helped me learn more by questioning the why, which I hadn’t earlier, out of my arrogance, ignorance or both.
One of the most profound quotes of the book appears in the ‘Afterword’ and summarises everything the book goes over ever so succintly:
Seventy thousand years ago, homo sapiens was still an insignificant animal minding its own business in a corner of Africa. In the following millenia it transformed itself into the master of the entire planet and the terror of the ecosystem. Today it stands on the verge of becoming a god, poised to acquire not only eternal youth, but also the divine abilities of creation and destruction.
Here’s to the next book, and then a few more .
There were a few things towards the end of 2019 that made me happy. ‘They’ being chosen as word of the year, was one among them.
Over the last year, I have started using ‘they’ frequently as pronouns for people whose pronouns I did not know, and it started from something really simple: I choose to not give pronouns to someone else. I want to let them be them, pick their pronouns, respect their identity, and not judge them.
I’m not perfect, and I’m still learning. But I’m extremely glad that in 2019, my word of the year was the same .
I have had my personal website since early 2012. Since then, I have used a typical website hosting model and relied heavily on CMSes like WordPress to help me host things that I write.
Over time, I have realized I was ambitious with what I set out to do and didn’t actually keep up with the various sub-sites that I created. That led to many of those WP installations becoming unused. However, in the 7+ years since, across multiple website hosting provider migrations and services, it was a painful process to keep those sites running. So, recently, I archived those sub-sites.
When I archived all those sub-sites, I realized my website was pretty lean and mostly composed of static pages, except the CMS used for my micro blog. I also stumbled upon the world of static site generators at about the same time.
It took a while, but I found a solution that made me happy in Hugo for generating my micro blog, and moved away from complex hosting solutions to a GitHub-linked Netlify website. That brings us to now .
Look around, and let me know if you see anything out of the ordinary and let me know. Ah, I also route mail for my domain through ImprovMX now!
Among the first set of Apple TV+ shows, ‘For All Mankind’ excited me more than others. Over the last few days, I have watched some of the released episodes and I’m really impressed by it. I think it is a compelling story-line.
The plot of the show is fairly simple: What if Russians landed a human on the moon before the USA? How would the space race unfold after that event? How swiftly would space progress unfold thereafter?
Having throughly enjoyed another alt-reality show (I’m looking at you, ‘The Man in the High Castle’), ‘For All Mankind’ was supposed to be right up my alley, and I haven’t been disappointed .