Better HN
topnewbestaskshowjobs
Log inSign up

npmn2

6 karma · joined Nov 16, 2018 (8y ago) · 5 submissions

Submissions

comment 6y ago · link · parent

Try using vscode remote over ssh, it connects to the machine over ssh and the experience is mostly seamless. Highly recommended.

2.

An Account of Harassment Faced by a Scheduled Caste Professor in IIT Kanpur(kafila.online ↗)

2 points · by npmn2 · 7y ago · discuss

comment 7y ago · link · parent

It is not needed for displaying the notification but specifically targeting users. You would usually call an FCM function to get a token, which can be used to specifically target that user and is stored in the database. To send a notification to your customised target audience based on user-generated events, it becomes essential to use web-service that does it for you.

For example- Let's say you wish to send a notification to user A when user B sends him a message. In this scenario, you can call another FCM fn, using the token user A had generated. Of course you can use the web dashboard to send the notifications, but in this case, you would not be able to send event-based notification reliability and in real-time. Other services also work in a similar manner.

comment 7y ago · link · parent

ahh.. supporting 400 different providers is a full-time and fairly painful job. Anyways their space is pretty crowded as well.

comment 7y ago · link · parent

Ok, I learned to drive in Kanpur, infamous for drivers not following anything. Driving around there, you felt alive as you needed to constantly scan the road for potholes, unpredictable vehicles, unannounced speed bumps, running pedestrians, animals and high beam oncoming traffic with no lane separation. Bad Side, driving in other cities has painfully boring and an easy task for me, as you now have lesser variables to worry about.