Music update - July 2017

The past month has been pretty good in terms of the amount of new music that I have heard (although the albums are pretty old themselves)

The Suburbs - Arcade Fire - 2010

cover

This album won the Grammy Album of the Year award in 2010. Before this, I had heard only the second track, Ready to Start. That I absolutely loved, but after listening to the whole album, I am thoroughly spoiled now and I don’t know what to pick.

We Used to Wait, Sprawl I, Sprawl II: I am not inseparable from these three now. The two Sprawls tie seamlessly into each other. And We Used to Wait is such a strong throw-back... Read More

The Siege of Trencher's Farm vs. Straw Dogs (2011) - How loose an adaptation is it?

I just completed The Seige of Trencher’s Farm by Gordon Williams. I also just completed watching 2011 remake of the loose adaptation Straw Dogs (2011).

Fair Warning: HUGE Spoilers ahead.

The adaptation is pretty loose, the whole sexual angle that Kate Bosworth brings into the movie is completely non-existent in the book. There’s also a child in the book, and Louise herself (George’s wife) doesn’t seem to have lived in Trencher’s when she was a kid. She’s from England but not exactly from the place that they have come to stay at for a year.

So, in the book, George, Louise and Karen (8) come to stay at Trencher’s Farm for a year.

Same in the movie, only... Read More

Switching to SuperTab; A new Crichton thriller, WHAT?!

Ever since I started using Vim as my primary browser, I have been using YouCompleteMe as the completion plugin. It works fine, it is annoying because it tries to autocomplete everything and sometimes that gets in the way of navigation using the arrow keys. In any case, I was fairly happy with the plugin’s performance because it never really slowed down my editing experience. Until a couple of weeks ago.

That was when I saw that the editor just hung for some amount of time, and it was really trying to find suggestions for the word I was typing. This was really hampering the time it took for me to actually write code. And thus, I set out on... Read More

Generating Git Punchcard plot from the terminal

Around 6 pm today, I found guanqun/git-punchcard-plot.

At 10:45 pm, approximately 4 hours later (of which I spent rather less time writing stuff, I opened PR #7.

Once I cloned the repository, I realised that you need to put the git-punchcard python script in your PATH for it to start working as git punchcard. I didn’t need any of that, I did really want to see a punchcard though. So, I put it there, (Note 1: Take path from the CLI if provided!)

When I generated the punchcard for a repository, it looked like this:

before

It looked okay. The opacity was a problem. I might have made fewer commits during those... Read More

Setting milestones to understand TLS

I downloaded the TLS IETF draft. It’s 104 pages long, That’s as big as Rita Hayworth and Shawshank Redemption.

This is perhaps my 100th attempt at reallt understanding the internals of how TLS works. My end goal is simple here: I want to know how a secure channel is established between a server and a client. I don’t want an apples-and-oranges-are-fruits level understanding of it, I have that. I know all the digital signature and public key cryptography analogies that are out there. I want to be able to form a general idea of HOW each step works, why it is required, and how that particular step fits in the larger scheme of things.

I started with Wireshark and captured... Read More

Learning React -> Understanding why Redux -> More time spent!

So, I had this idea for an app. It’s a pretty basic app and it takes the current location and prints some distances. It does all of this stuff without an active internet connection because GPS DOES NOT NEED INTERNET. It drives me crazy that Google Maps won’t download the area that I live in (which they might know because I occasionally have to turn on Location Services on my phone) or any location that I tell it to.

From their POV, it’s probably not the best because most of the traffic related data on Google Maps is crowd sourced and you ain’t getting no data from a phone that is offline.

So, I decided to leap frog that and... Read More

Old Habits Die Hard, Criminal show - GET IT

I find myself thinking about what to write every day. This has been happening everyday since the end of the 100 days.

A general update, is what this post is.

I am reading Apt Pupil. The book has gone literally nowhere since I started it. Since this is a book of four stories, I don’t even know how much of it I have read, it must be 20-30 pages and the book is slowly progressing somewhere. This initial period of intrigue that exists right before the explosive event and the chase that happens in the end + climax of the book seems to be a common theme in Stephen King books.

I have also been raving about the Read More

Day 100 - Shawshank Redemption + The Last Post in this series

HELL YEAH, WE ARE FINALLY HERE.

(Prologue: This is going to be a normal Ep 100 post. My thoughts about this series, the things I wrote about (and didn’t), the days I really did write well etc will all be covered in a different post.

rita-hayworth

That is Rita Hayworth. She was the one that Andy Dufresne began with. For 27 years he toiled, and made it out. It’s an amazing novella! I kind-of knew the ending but was blocking it off so I could still enjoy the book. The revelation is not the climax and I think that’s where the story really excels. In telling the story of two men, vastly different from each other, but... Read More

Day 99 - Mongoose + async act up to create cocktail

I found another really strange thing that happens with Mongoose when used inside Async.

let mongoose = require('mongoose'); mongoose.connect(db_conn_string); let util = require('util'); let async = require('async'); let Schema = mongoose.Schema; let ObjectId = Schema.ObjectId; var PersonSchema = new Schema({ name: { type: String }, username: { type: String, required: true, Read More
  

Day 98 - Rains a bit, Floods a lot in Koramangala

08:00 pm: Walk into a restaurant for dinner with a few friends and seniors from IIT KGP.

11:30 pm: Decide to step outside and be faced with one feet of water in every direction the eye can see.

Reaction: WHAT THE FUCK HAPPENED HERE?

The best reference to come up with here is: July 26, 2005, Bombay

I was there, 9 years old at the time. Hardly understanding what the fuss was about, schools weren’t there for a few days I was definitely real happy about THAT. There was a lot of stuff going on at that time in the city, I got to know of most of them after the fact. As stories that were recounted several times... Read More