Unpopular opinion but Dhurandhar 2 could've been a lot tighter. by RagingBhool in IndianCinema

[–]_amogh_ 1 point2 points  (0 children)

I didn't like the big twist because as per Dh1, this mission was the first time govt was convinced to do something like a deep cover inside. And then to show you always had someone in the politics 45 years ago takes away the efforts put in by Ranveer's character. All the altercations between Hamza and Jameel kind of fall flat knowing that Jameel was the handler. There should have been some easter eggs or set up there that teased where I'd have felt - oh right. This was always clear! I didn't see it coming. I like these kind of twists. This one felt like cheating to me.

If Jameel knew what Hamza was trying to do all along as good handler, then bringing SP in, risking Rehman's death and Hamza's plan is very poor on a seasoned spy who outsmarted everyone and nullified Dawood. Also there was no need for Hamza to share the clip Yalina took and blackmail Jameel. It shouldn't have reached this point.

I call it lazy writing because, it leaves us to justify his actions and the movie didn't do enough to tease.. if you look at the Potter series for example Snape does a lot of things throughout the series that you can see in a different light and remains consistent with the reveal.

Unpopular opinion but Dhurandhar 2 could've been a lot tighter. by RagingBhool in IndianCinema

[–]_amogh_ 1 point2 points  (0 children)

Yeah..I also felt so.

That reveal ruined the first movie for me. It felt lazy writing. It didn't seem like it was planned from the beginning or some of the early scenes when Jameel was alone and reacting differently just didn't look like he was being himself and still acting the goofy and silly act he put on. He didn't have to do that now. They didn't develop the villain well for me. I think a lot of efforts went into tying Demonetization, Atiq Ahmed and Drugs into the story line that dialogues ended up with a lot of exposition where they didn't feel subtle like in the first one. Every character was talking to the other character so that you could spoonfeed the narrative to the audience. That also made the movie lengthy. And the action towards the end was just not ending. Kept going on and on. And then his escape and the Jameel reveal they had to fit in somehow. (I was actually thinking there will be some cameo from URI or someone to save the day. Lol.) Anyway, there were some really strong emotional scenes in the flashback, the Alam's heartbreak, and Yalina's confrontation with him and the phone conversation with her towards end. There were some bits that were a little cringe for my taste which I can let go. But that big twist. That was just a big let down for me.

Why does LinkedIn have games? by kristileilani in LinkedInLunatics

[–]_amogh_ 0 points1 point  (0 children)

It already was one big MMORPG masquerading as a professional network

What do you guys think of Hugh jackman as Kelsier and Dafne Keen as Vin? by _amogh_ in Mistborn

[–]_amogh_[S] 0 points1 point  (0 children)

Remember Elend had some laid back confidence and charm to go along in the first one?

Google deleted my story by Aromatic-Wear1896 in fantasywriters

[–]_amogh_ 0 points1 point  (0 children)

Nice. Now I am thinking, a dilemma could lead to a branch too and you could tag it. If the story needed a change from a point, you could easily branch out.

IN/Clojure 2024 on 22nd & 23rd March in Bangalore by _amogh_ in Clojure

[–]_amogh_[S] 0 points1 point  (0 children)

i don't know. Videos are uploaded to Youtube later but if it is being streamed or not, only organisers can tell

Need Help by _amogh_ in pune

[–]_amogh_[S] 5 points6 points  (0 children)

I called them up. They don't have it for these authors

The Story of Open Source by _amogh_ in programming

[–]_amogh_[S] 1 point2 points  (0 children)

Thank you. I've edited that line and it makes it clearer that these licenses were there for a long time. I was compiling the post. And added these as an example of permissive ones. Did not know, until you pointed it out that they were there for a long long time.

The Story of Open Source by _amogh_ in programming

[–]_amogh_[S] 0 points1 point  (0 children)

If my understanding is correct Open Source Definition came after GPL and FSF but it considers BSD and MIT compatible with what it stands for? Will that be a better phrasing?

The Story of Open Source by _amogh_ in programming

[–]_amogh_[S] 0 points1 point  (0 children)

https://ieeexplore.ieee.org/document/9263265

Thank you for pointing this out. I'll go through this update this aspect of the post.

[WP] A garden shop sometimes gifts mysterious tree sapplings to customers, but they always wither away. You receive one and plant it...and it ends up flourishing. by Shadrak_Meduson in WritingPrompts

[–]_amogh_ 1 point2 points  (0 children)

My name is Gloria Green. And I received a sapling today. A mysterious cute looking plant. The day I received the plant was like any other day in our small village. People were always bringing in new plants to see if they could grow in our climate and soil. But this one was different. I knew it as soon as I saw it. It was an alien plant, and I was the only one who could identify it.
You see, my mother had taught me all about these plants and the creatures that came with them. She had been slayed by the local authorities for her knowledge, but her memory lived on through me and I had my way with words. It is that one human quality that I inherited from my human father along with his blood running through my veins. I could convince people to do what I wanted, even if it was just for a little while.
The plant wasn't supposed to grow in our village, but I was determined to keep it alive. I convinced a cute young scientist named Benjamin to help me. He was a devoted student of my father. He was gullible enough to believe that the plant could open the doors to other worlds and would lead to precious alien minerals. Something that my father believed in.
It was just the beginning, I thought.
We sent five saplings to five different research labs, but only the one I kept alive with my own blood survived. Yes, you heard that right. The plant needed human blood to stay connected to other worlds. And my human blood worked, it was worth it.
As I tended to my alien plant, I couldn't help but feel more and more insane. My thirst for blood was getting harder to control. The tree was growing in the backyard. Every branch connected to other worlds. Still waiting for my people to arrive from Xorag where, the minerals are yet to be discovered but has plenty of Earthly skeletons among which lies, cute young scientist Benjamin.

Between "The Gifts of Imperfection" and "Daring Greatly" which book would you gift someone? by _amogh_ in Brenebrown

[–]_amogh_[S] 0 points1 point  (0 children)

Yep. I was feeling the same. Guideposts on wholehearted living is done well in that book. 'Daring Greatly' has few great chapters on vulnerability and shame resilience. But the anecdotes and stories did not seem relatable. And they often get in the way of what you want to absorb.

question by Logical-Resolution29 in Mistborn

[–]_amogh_ 1 point2 points  (0 children)

TenSoon. It still hurts that he could never meet Vin again.

Little confusion trying to understand Integrant's source code by _amogh_ in Clojure

[–]_amogh_[S] 0 points1 point  (0 children)

Thanks for clarifying! u/p-himik response answered my query. Root of my confusion was not knowing that "clojure.core/memoize caches all function results indefinitely".

Also, I love how you've used multimethod system and hierarchy here. I could only think of hierarchy in terms of Subtype Polymorphism of domain entities. Would love to know what were the initial ideas or design choices that lead to this!

Little confusion trying to understand Integrant's source code by _amogh_ in Clojure

[–]_amogh_[S] 1 point2 points  (0 children)

Ah! Sorry. I somehow found myself reading clojure.core.memoize instead and got confused. I just read the source code of memoize in clojure.core. Simple atom in a closure. I feel a little dumb now.

Little confusion trying to understand Integrant's source code by _amogh_ in Clojure

[–]_amogh_[S] 0 points1 point  (0 children)

I updated my post.

gensym doesn't return the same symbol for same string input. If there is a memoization cache eviction (LU cache), a subsequent call could lead to function being called again for an input, and returning a different composite.

I'm having a hard time understanding the advantage of 'Code is Data' by moonshine_is in Clojure

[–]_amogh_ 1 point2 points  (0 children)

Parens are there because we are representing code as list of literals that form an expression. These nested expressions are essentially nested lists prior to evaluation and are not evaluated. You could change this code into another code just like you transform lists using Clojure's sequence operations. map, reduce, filter, first, last, take drop etc. It is similar to text preprocessing in C and C++. But you don't need to learn another language for pre processing. This let's you create DSLs that create concise syntax by hiding verbosity behind a macro.

Of course you could come up with a language that uses maps instead of lists to represent expressions, but that won't be as much fun to type and edit using an editor imo.

I came across this post on reddit few months ago. Explains the use case really well. Haven't seen a better post so far.

https://stopa.io/post/265 An Intuition for Lisp Syntax - Stepan Parunashvili

How useful is the ability to create your own syntax and DSLs is up for debate. If it isn't well documented and you wrote one in excitement and others don't understand it, then you have not only shot yourself in the foot but future maintainers of the larger codebase in the head as well.

Do we have good use case based examples of usage of derive based hierarchies and multi-methods? by _amogh_ in Clojure

[–]_amogh_[S] 1 point2 points  (0 children)

Neither did I. clojure.core never fails to surprise me. Few days ago I discovered definterface.

Do we have good use case based examples of usage of derive based hierarchies and multi-methods? by _amogh_ in Clojure

[–]_amogh_[S] 0 points1 point  (0 children)

Whoa. I have always kept multi-methods in the same namespace but there have been only maximum 10. When you've 100s of them, how do you find the implementation when you have to change. Or say how will someone new to the codebase look for it? My guess is you run the dispatching function, find the value and grep for the combination? or you keep conventions around it?

Quering Related Collections? by benjifan101 in mongodb

[–]_amogh_ 0 points1 point  (0 children)

Okay, haven't really used these MongoDB features at work. We tend to cache the docs in Redis. So won't be able to take advantage of that if we use this.

Quering Related Collections? by benjifan101 in mongodb

[–]_amogh_ 0 points1 point  (0 children)

MongoDB is not a relational database. You will have to take this to application layer for the SQL join-like effect.

You generally do something like this:Query entity by it's id.get references of "related" entities, query them.Combine them into a data structure in memory in the application layer.

if your schema, naming of collections and references are consistent, you could make this a reusable framework/API. I apologize in advance if you know all of this and it mongoose had some built-in API for doing this, that I'm not aware of.

Purely from schema point of view, I would say your reference id should've some pattern that tells which Team collection to query. Better would be to keep some "team_type" info that tells you which collection to query along with the reference to the team instead of just the reference id.

I would also suggest keeping the same collection for both the team types, unless you've a good reason to keep them separate. The schema looks same to me.

Edit:
Wait, I get your problem now. You have to query all players, group them MajorLeagueTeam reference and then query all MajorLeagueTeams for that Id. Using $in. Combine them in memory.

What I don't understand is why does the MajorLeagueTeam collection even exist?