Discuss Scratch

-Radical-
Scratcher
500+ posts

Some new API stuff

Can confirm what? I stated 3 things.
Firedrake969
Scratcher
1000+ posts

Some new API stuff

yay I wrote a script inspired by some of our discussions
https://gist.github.com/Firedrake969/f9ef983a7fbe1dc07692443fb3016f3f

I should do the same w/followers and following

Last edited by Firedrake969 (May 21, 2016 23:23:35)

Jonathan50
Scratcher
1000+ posts

Some new API stuff

-Radical- wrote:

I'm done, and the video is now uploading to YouTube. Here's the list of users:

(edit : On second thought, I'll just post a link to a file.)

Edit2 : http://www.filedropper.com/usersindexed

edit3 : Here's the youtube video: http://scratch.mit.edu/discuss/youtube/FrkZbEuRoS4
A list of what users?
Jonathan50
Scratcher
1000+ posts

Some new API stuff

-Radical- wrote:

I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257f


Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
Wow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
And why am I on there?
Firedrake969
Scratcher
1000+ posts

Some new API stuff

Jonathan50 wrote:

-Radical- wrote:

I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257f


Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
Wow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
And why am I on there?
I'm guessing that it uses the production API which has all the production data (ie the main site's API and data)
Jonathan50
Scratcher
1000+ posts

Some new API stuff

Firedrake969 wrote:

Jonathan50 wrote:

-Radical- wrote:

I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257f


Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
Wow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
And why am I on there?
I'm guessing that it uses the production API which has all the production data (ie the main site's API and data)
Then I think it would be a lot longer and I wouldn't be near the top… (But why am I there anyway?) But @-Radical-'s Datablocks account is not called “-Radical-”. This is confusing…

Last edited by Jonathan50 (May 22, 2016 00:22:27)

Firedrake969
Scratcher
1000+ posts

Some new API stuff

Jonathan50 wrote:

Firedrake969 wrote:

Jonathan50 wrote:

-Radical- wrote:

I'm in a pretty good mood today, so guess what? You win! https://gist.github.com/Radical-from-Scratch/a70672cfed2d11c37fc71482d6e8257f


Also, there are a *few* repeats (I am #1 and #333 but it's mostly no repeats)
Wow, how many of those got one from Scratch Day and how many used Dylan5797's exploit??
And why am I on there?
I'm guessing that it uses the production API which has all the production data (ie the main site's API and data)
Then I think it would be a lot longer and I wouldn't be near the top… (But why am I there anyway?) But @-Radical-'s Datablocks account is not called “-Radical-”. This is confusing…
I'm 99% sure that it's not using the data-blocks database because liam48D is on it.

How do you know you wouldn't be near the top? Maybe -Radical- is following someone who's following you or something.
Jonathan50
Scratcher
1000+ posts

Some new API stuff

Firedrake969 wrote:

I'm 99% sure that it's not using the data-blocks database because liam48D is on it.

How do you know you wouldn't be near the top? Maybe -Radical- is following someone who's following you or something.
If it was the list of all the registered users on scratch.mit.edu in order of who registered first/last I certainly would not be at the top. I don't think @-Radical- would have a thousandth of the time it would take to manually list all of the 11,940,004+ users in his desired order.

EDIT: The list has 5025 users?

Last edited by Jonathan50 (May 22, 2016 00:30:24)

Firedrake969
Scratcher
1000+ posts

Some new API stuff

Jonathan50 wrote:

Firedrake969 wrote:

I'm 99% sure that it's not using the data-blocks database because liam48D is on it.

How do you know you wouldn't be near the top? Maybe -Radical- is following someone who's following you or something.
If it was the list of all the registered users on scratch.mit.edu in order of who registered first/last I certainly would not be at the top. I don't think @-Radical- would have a thousandth of the time it would take to manually list all of the 11,940,004+ users in his desired order.

EDIT: The list has 5025 users?
It's probably not all registered users, since the following/follower connections probably aren't complete (i.e. some users don't follow anyone and don't have any followers, and there are probably little “islands” of users who are related via following/follower connections)

Last edited by Firedrake969 (May 22, 2016 00:34:51)

-Radical-
Scratcher
500+ posts

Some new API stuff

Data Blocks retrieves data from this website.

I stopped the script at 5000 users.


It is possible for the list to come back to you. (Check who user # 333 is)
Firedrake969
Scratcher
1000+ posts

Some new API stuff

Don't index users twice

if <not <[usernames v] contains [username]>> then
// do stuff here
end
-Radical-
Scratcher
500+ posts

Some new API stuff

Oh well, nothing to be done now.
BKFighter
Scratcher
1000+ posts

Some new API stuff

-Radical- wrote:

Can confirm what? I stated 3 things.
That most don't have repeats but that you are on there twice.
-SuperScratch-
Scratcher
100+ posts

Some new API stuff

Why am I on that list?
liam48D
Scratcher
1000+ posts

Some new API stuff

-SuperScratch- wrote:

Why am I on that list?
A following/followers connection branched to you.
-Radical-
Scratcher
500+ posts

Some new API stuff

-SuperScratch- wrote:

Why am I on that list?
There are only 2 ways you could NOT be on that list.

1) I stopped before it could get to you.
2) Nobody is following you.
-SuperScratch-
Scratcher
100+ posts

Some new API stuff

o

liam48D wrote:

-SuperScratch- wrote:

Why am I on that list?
A following/followers connection branched to you.
oh ok

-Radical- wrote:

-SuperScratch- wrote:

Why am I on that list?
There are only 2 ways you could NOT be on that list.

1) I stopped before it could get to you.
2) Nobody is following you.
Oh ok
Firedrake969
Scratcher
1000+ posts

Some new API stuff

List of 11761 users before I stopped it, and no duplicates
Jonathan50
Scratcher
1000+ posts

Some new API stuff

What is the list of users of???
jTron
Scratcher
100+ posts

Some new API stuff

Jonathan50 wrote:

What is the list of users of???
this is your, what, third time asking this question?

The list of Scratch (main site) users, collected recursively by starting with one user, gathering all their followers (or who they're following, or both, I'm not entirely sure), rinse, repeat.

Last edited by jTron (May 22, 2016 22:51:36)

Powered by DjangoBB