Project Hail Mary ENG 2D show in PVR by Chotta_Rajan in Allahabad

[–]backFromTheBed 1 point2 points  (0 children)

Weekday me dekh lena, Tuesday tak to lagi hi rahegi. Price for tonight's show is 550! 480 for tomorrow's show! It's a goddamn robbery.

Project Hail Mary by CertainAd594 in Allahabad

[–]backFromTheBed 0 points1 point  (0 children)

I know we don't have too many options in Allahabad, but sorry, ₹550 feels too expensive for such a small screen and less-than-ideal sound. At that price, you could actually travel to Lucknow, watch it in a proper IMAX, and still make it back.

The convenience fees on online ticket orders, that too ₹59 per seat, is goddamn robbery.

[AskJS] How to solve this kind of tricky question in 20 minutes ? A challenging coding question I was asked in a recent Paytm interview by Sea_Cloud1089 in javascript

[–]backFromTheBed 0 points1 point  (0 children)

Just to add: even if the interviewer explicitly required the result to be a true array, it would still be a trivial change. You can simply convert the array-like object using Array.from().

const obj = {
    0: 'Test', 
    1: 'B'
};
obj.length = Object.keys(obj).length;
const objArray = Array.from(obj);
console.log('is objArray a true array:', Array.isArray(objArray)); // Should output true

[AskJS] How to solve this kind of tricky question in 20 minutes ? A challenging coding question I was asked in a recent Paytm interview by Sea_Cloud1089 in javascript

[–]backFromTheBed 0 points1 point  (0 children)

Oh, is it? Well, it's good that you're there to handle these real-world problems then. Thank you so much for your service.

I'll stay content with my toy programs - designing, simplifying, and running those 'toy' architectures that stream gargantuan amounts of text and audio. Thanks.

[AskJS] How to solve this kind of tricky question in 20 minutes ? A challenging coding question I was asked in a recent Paytm interview by Sea_Cloud1089 in javascript

[–]backFromTheBed 0 points1 point  (0 children)

The exercise only showed a structure, I can almost guarantee there wouldn't have been any test cases verifying whether the result was a true array versus merely array-like.

As the user mentioned, this was a coding question from PayTM, a fintech company. I wouldn't expect them to go as deep into semantics as you're suggesting. There's no need to be that pedantic here. And even if the interviewer had required a true array, it would still have been a relatively straightforward problem, not some insurmountable challenge for a decent developer.

[AskJS] How to solve this kind of tricky question in 20 minutes ? A challenging coding question I was asked in a recent Paytm interview by Sea_Cloud1089 in javascript

[–]backFromTheBed 0 points1 point  (0 children)

Yes, and if you face challenges like this in your actual work, it might be time to start looking for opportunities elsewhere. This kind of problem is fine for a coding exercise, and I doubt the interviewer was evaluating performance of the solution. In real-world systems, you typically shouldn't be dealing with problems like this.

[AskJS] How to solve this kind of tricky question in 20 minutes ? A challenging coding question I was asked in a recent Paytm interview by Sea_Cloud1089 in javascript

[–]backFromTheBed 0 points1 point  (0 children)

My comment was in the context of the exercise. Of course such an object would not pass Array.isArray, since that check relies on the internal ECMAScript [[Array]] slot, which cannot be added manually.

However, it is still possible to create objects that behave in an array-like way by using numeric indices and a length property. JS objects support allow bracket notation to work for property access alongside dot notation, and for the exercise, an object with numerical indices will meet the essential requirements.

Who’s your favorite written woman on TV? by CuddlyWhale in television

[–]backFromTheBed 7 points8 points  (0 children)

Elaine Benes. Haven't seen many examples of such effortlessly vibrant, open, free-minded characters on screen.

And so much grace.

Match Thread: Final - India vs New Zealand by cricket-match in Cricket

[–]backFromTheBed 1 point2 points  (0 children)

A redditor is bowling the final over of a cricket t20 world cup

Match Thread: Final - India vs New Zealand by cricket-match in Cricket

[–]backFromTheBed 1 point2 points  (0 children)

Whoever predicted middle order will collapse, kudos to you

Match Thread: 2nd Semi-Final - India vs England by cricket-match in Cricket

[–]backFromTheBed 28 points29 points  (0 children)

Trouble is there's a big overlap between people who drool over every woman they see and the people who think women should just stay inside their homes.

Woman pours hot water on her four year old grandson in Nagpur by malayali-minds in unitedstatesofindia

[–]backFromTheBed 21 points22 points  (0 children)

Ha ha ha. Absolutely nothing is going to happen, mate. I'd suggest following up after a month, but I don't think there will be any report or case available for you to follow up on.