log.nikhil.io

Posts from August 2019 12

I fight Crime. And I Read.

In Ramayya Vasthavayya, Avinash is a mononymous “Central Crime Branch” officer who, according to the barcode on his IDENTITY CARD, loves new-agey mind meld books. Or so I gather. Couldn’t decipher the other barcode but submit that it might reveal his preference for reasonably priced cutlery sets at Bed Bath & Beyond.

Netflix’s “Secret” Genre List

A list of sub-genres you cannot view easily on Netflix. From a Reddit thread on the subject:

This is ridiculous. What kind of hubris does Netflix have to think that their recommendation engine is better than browsing by category? Browsing by category has been the standard for browsing things since categories of things has existed. Some VP of product made his bonus by convincing someone that his ML team could do better. “Yeah, just remove it and let us populate 15 movies randomly in a whimsical fictitious category like ‘movies with dogs and music’. People will love it.”

and

Because the studios pay Netflix (via discounted licensing) for favorable placement on those “recommended viewing” lists.

Always follow the money.

Baghban · 2003 · IMDb · F

Jaspreet Singh on the awful abandonment fantasy beloved by desi parents (starts around 1:10. Here’s the entire shitshow.)

Yakeen maan-na, Baghban dekhne se pehle mujhe idea bhi nahin aaya tha ki maa-baap ko nikaala bhi jaa sakta hai.

Computers Are Fast

A nice little quiz meant to illustrate how much your typical Python and Bash code can accomplish in one second.

If the answer is 38,000, both 10,000 and 100,000 are considered correct answers. The goal is to not be wrong by more than 10x :)

and

A newer computer won’t make your code run 1000x faster :)

Florence

Beautiful, astoundingly well-crafted, painfully short work of interactive art.

Manmarziyaan · 2018 · IMDb · B+

Watched with Paaji. Third Anurag Kashyap and Amit Trivedi film. Superb. Maybe a little too drawn out at times (gotta fit in all 14 tracks of that sweet Trivedi score) and was dismayingly Hum Dil De Chuke Sanam-predictable towards the end.

Gray Waala Shade” (with the accompanying opening scenes) is a magnificent song12.

  1. Yes, yes, “Daryaa” too. 

  2. Kashyap saw Poonam and Priyanka Shah on this viral Bharatnatyam video before asking them to be part of the movie. 

How to Buy a Bob Ross

Was watching an episode or two of Joy of Painting with my sister when we wondered what happened to all the finished paintings on his show.

Now we know.

Digital Octopode

Never knew this was a thing. Behold a pliable, $200 digital model of an octopus for 3D Studio Max (with “72366 Faces and 71879 Vertices.”)

Why Hulls are Painted Red

TL;DW: This is “anti-fouling” that repels barnacles, algae, and mollusks by emitting “biocides”. This is desirable because they cause drag (think fuel) and structural damage. Red because traditionally some oxide of Copper.

Also this:

In nature bright colours serve as a warning and to stay away. Ships are very territorial and have even been known to attack people.

Love, Knowledge, and Compassion

Three passions, simple but overwhelmingly strong, have governed my life: the longing for love, the search for knowledge, and unbearable pity for the suffering of mankind. These passions, like great winds, have blown me hither and thither, in a wayward course, over a great ocean of anguish, reaching to the very verge of despair.

I have sought love, first, because it brings ecstasy – ecstasy so great that I would often have sacrificed all the rest of life for a few hours of this joy. I have sought it, next, because it relieves loneliness – that terrible loneliness in which one shivering consciousness looks over the rim of the world into the cold unfathomable lifeless abyss. I have sought it finally, because in the union of love I have seen, in a mystic miniature, the prefiguring vision of the heaven that saints and poets have imagined. This is what I sought, and though it might seem too good for human life, this is what – at last – I have found.

With equal passion I have sought knowledge. I have wished to understand the hearts of men. I have wished to know why the stars shine. And I have tried to apprehend the Pythagorean power by which number holds sway above the flux. A little of this, but not much, I have achieved.

Love and knowledge, so far as they were possible, led upward toward the heavens. But always pity brought me back to earth. Echoes of cries of pain reverberate in my heart. Children in famine, victims tortured by oppressors, helpless old people a hated burden to their sons, and the whole world of loneliness, poverty, and pain make a mockery of what human life should be. I long to alleviate this evil, but I cannot, and I too suffer.

This has been my life. I have found it worth living, and would gladly live it again if the chance were offered me.

– Bertrand Russell, What I Have Lived For

Hellboy (2019) · 2019 · IMDb · D

Why?

This travesty should make it very clear that Guillermo del Toro loves and paints his monsters better than anyone else in the business.

Two Levels of Not Giving a Fuck

No Code is the best way to write secure and reliable applications. Write nothing; deploy nowhere.

Start by not writing any code.

Brilliant. I love both the presence and contents of the Dockerfile in that repo. As is always the case with such projects, the issues and pull requests are 💯

And if one is tempted to go against the tenets of No Code, there’s always my beloved fuckitpy, a (strangely well-thought-out) “Python error steamroller”1:

@fuckit
def buggy_function():
    problem_solved

@fuckit
class BuggyClass(object):
    def __init__(self):
        everything_works_now

And:

This module is like violence: if it doesn’t work, you just need more of it.

  1. Inspired by FuckitJS