benawad / vsinder

Dating App for VSCode
Apache License 2.0
2.47k stars 175 forks source link

[Feature Request] Dead user recommendations #137

Closed unDeadHerbs closed 3 years ago

unDeadHerbs commented 3 years ago

As this app becomes more popular, the number of ex-users will increase. It is undesirable for current users to have to sift though these ex-users while using the app, particularly as they won't know which they are.

I propose adding a "distance punishment" for users based on how recently they were logged in. Some possible requirements:

miles distance_punishment(seconds t /*time since last login*/){
   seconds day=24*60*60;
   t-=3*day; // Three day initial offset.
   if(t<=0) return 0;
   miles earth_C=24901;
   seconds month=30*day;
   seconds range=month-3*day;
   if(t>=range) return earth_C;
   return earth_C*(2^(t/range)-1);
}

This would also work well in conjunction with #116, as this would functionally mask many users' true locations.