oren — 6/12/2022, 12:47:24 PM

Finished my wasteof ranking website!

https://wasteof-ranking.vercel.app

It thinks I’m overrated :(

♥ 4 ↩ 2 💬 24 comments

comments

allyz:

lmao it’s blocked on my computer :’) school laptop moment

6/12/2022, 11:04:16 PM
oren:

Probably cause its vercel

6/13/2022, 1:01:53 AM
allyz:

heart been broke so many times

6/13/2022, 9:07:51 AM
codelikecraze:

Lol, we want the actual results for Jeffallo.

6/12/2022, 3:47:50 PM
oren:

You can get the raw results by sending the accept: application/json header

6/12/2022, 5:16:33 PM
oren:

or by going to /user/jeffalo/__data.json

6/13/2022, 3:49:39 PM
codelikecraze:

Terrible, it says I’m underrated. I am overrated.

6/12/2022, 3:46:29 PM
codelikecraze:

Darn you, you did it early.

6/12/2022, 3:45:03 PM
zu:

I'm overrated 😭💔

My average followers follow count is only 12

6/12/2022, 1:36:38 PM
non-biased-news:

This account is overrated - but not @radi8

6/12/2022, 1:02:03 PM
oren:

That's what i thought

6/12/2022, 1:06:18 PM
non-biased-news:

You made it so jeffalo is underrated :)

6/12/2022, 1:26:32 PM
oren:

Yeah :)

6/12/2022, 1:52:31 PM
non-biased-news:

:)

6/12/2022, 1:53:26 PM
micahlt:

Apparently I'm overrated as well - how is this calculated again?

6/12/2022, 12:55:23 PM
oren:

It gets all your followers and gets the average of their follower count. If yours is less than the average you're underrated. If yours is greater than the average you're overrated

6/12/2022, 1:05:23 PM
micahlt:

Weird… okay then.

6/13/2022, 12:14:47 AM
oren:

here’s the code: https://github.com/Oren-Lindsey/wasteof-ranking/blob/eb0b7e163cc95a6a39b829d1c946b71d5e050867/src/routes/user/%5Bname%3Dvalidname%5D/index.js#L61

6/12/2022, 1:08:03 PM
nebulous:

it doesn't intake uppercase letters

6/12/2022, 12:52:13 PM
oren:

there are no wasteof users with uppercase names but yeah i’ll fix that

name.toLowerCase()

6/12/2022, 12:53:02 PM
nebulous:

yeah bc wasteof makes them lowercase

@jeffalo why??

6/12/2022, 12:53:29 PM
jeffalo:

lowercase usernames have a nostalgic style that i cannot explain

6/12/2022, 1:24:51 PM
jeffalo:

don't assume that usernames are always lowercase. it could break in the future

6/12/2022, 1:24:30 PM
oren:

Ok

6/12/2022, 1:40:02 PM