DEV Community

Cover image for ๐ŸŒ Where Are DEV Users Coming From?

๐ŸŒ Where Are DEV Users Coming From?

Boris Jamot โœŠ / on November 30, 2018

As you may already know, dev.to has an API to fetch articles and users. Let's give it a try with my favorite HTTP client, httpie: http https://...
Collapse
ย 
ben profile image
Ben Halpern โ€ข

Cool!!

Collapse
ย 
yaser profile image
Yaser Al-Najjar โ€ข

I guess you might want to add throttling on the API based on IP ;)

Collapse
ย 
ben profile image
Ben Halpern โ€ข

Yes, but itโ€™s also served from our CDN so itโ€™s not a resource-gobbling endpoint.

ย 
biros profile image
Boris Jamot โœŠ / โ€ข โ€ข Edited

๐Ÿ˜ฑ

Collapse
ย 
matteojoliveau profile image
Matteo Joliveau โ€ข

Although cool in and of itself, this also highlights why using autoincremented ids is not a good idea when it comes to protecting users privacy (this is not the case of course since I don't see any critical data in the JSON response).

I always use UUIDs for exactly that reason, and also because it helps when building distributed systems (id clashing is less probable with them)

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

I'm sorry, my english level is quite low. Should I have written "scrape" ?

Collapse
ย 
link2twenty profile image
Andrew Bone โ€ข

I wouldn't say your English is bad, your writing is better than a lot of native speakers ๐Ÿ˜‰

Collapse
ย 
stefandjokic profile image
Stefan ฤokiฤ‡ โ€ข

At the time of posting this, DEV has 119,105 registered users. This is so cool ๐Ÿ˜
dev.to/api/users/119105

Collapse
ย 
nomangul profile image
Noman Gul โ€ข
Collapse
ย 
chiangs profile image
Stephen Chiang โ€ข

What about me? I'm in Norway...says so on my profile :P

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

Norway: 33 users.

Collapse
ย 
chiangs profile image
Stephen Chiang โ€ข

i'm sure there's quite a few from Denmark as well :)

Thread Thread
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

Sure, but there are a lot of other countries I didn't put in the list because their count of users is low.

Thread Thread
ย 
chiangs profile image
Stephen Chiang โ€ข

Ah I see, I just assumed it was a complete list because of this line:

Let's have a look at the full statistics below:

And to be fair 38 is more than Ireland ;)

Thread Thread
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

In fact, Norway and Denmark are in "other locations".

Collapse
ย 
cosminpopescu14 profile image
Cosmin Popescu โ€ข

I am from Romania. :D

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

Romania: 45 (Incl Bucharest)

Collapse
ย 
xelaflash profile image
xelaflash โ€ข

Nice, it shows that this is a small world!
I'm ๐Ÿ‡ซ๐Ÿ‡ท, but living in Barbados ๐Ÿ‡ง๐Ÿ‡ง, i would be interested in knowing if i'm the only one from there? ๐Ÿค”

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข
db.getCollection("users.dev.to").find({"location": /\bbarbados\b/i})
{
    "_id" : ObjectId("5bdb776102a47d33d338dcad"),
    "type_of" : "user",
    "id" : 46999,
    "username" : "xelaflash",
    "name" : "xelaflash",
    "summary" : "I'm Alex, i've learned coding in 2018, i'm now willing to start my freelance career.\r\nHere to learn and grow... and learn but mostly learn ๐Ÿ˜",
    "twitter_username" : "GhostXela",
    "github_username" : "Xelaflash",
    "website_url" : "",
    "location" : "Barbados",
    "joined_at" : "Nov 27, 2017",
    "profile_image" : "https://res.cloudinary.com/practicaldev/image/fetch/s--czVpA4Fy--/c_fill,f_auto,fl_progressive,h_320,q_auto,w_320/https://thepracticaldev.s3.amazonaws.com/uploads/user/profile_image/46999/256a85b6-8a6d-44c2-b7c6-f7cee7aca32f.png"
}
Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

I'll have a look at your query this evening.

Collapse
ย 
lugodan profile image
Dan Lugo โ€ข

1 of 57 from South Africa!

Collapse
ย 
elmuerte profile image
Michiel Hendriks โ€ข โ€ข Edited

Why?
I've been on the internet since 1997. I have never bothered about location, age, sex, species. (Although secretly I would be excited to converse with a cat.)

Collapse
ย 
ryuuji159 profile image
Daniel Cortรฉs โ€ข

Looks like I didn't fill my location, add one for chile

Collapse
ย 
sduduzog profile image
Sdu โ€ข

I'm probably responsible for ~10% of users from South Africa. And might grow ๐Ÿ˜Œ

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

South Africa: 72 (Incl Cape town, Johannesburg)

Collapse
ย 
venoel profile image
venoel โ€ข

I even did not know here is registration.

Collapse
ย 
itachiuchiha profile image
Itachi Uchiha โ€ข

I'm from Turkey.

Collapse
ย 
marcorichetta profile image
Rich โ€ข

๐Ÿ‡ฆ๐Ÿ‡ท ๐Ÿ’ช

Collapse
ย 
simo97 profile image
ADONIS SIMO โ€ข

Seem like there is not a lot of people from Cameroon....๐Ÿ‡จ๐Ÿ‡ฒ๐Ÿ‡จ๐Ÿ‡ฒ๐Ÿ‡จ๐Ÿ‡ฒ

Collapse
ย 
subsr97 profile image
Subramanian ๐Ÿ˜Ž โ€ข

A bit late.
I'm from India! ๐Ÿ‡ฎ๐Ÿ‡ณ

Collapse
ย 
purwnt profile image
Purwanto โ€ข

Good Job, I'm from Indonesia

Collapse
ย 
ryuheechul profile image
Heechul Ryu โ€ข

No Koreans? :(

Collapse
ย 
awwsmm profile image
Andrew (he/him) โ€ข

Where my other 32 Irish at? ๐Ÿ‡ฎ๐Ÿ‡ช

Collapse
ย 
ash1eyish profile image
Ashley Maria โ€ข โ€ข Edited

"Full" statistics

Collapse
ย 
juanfrank77 profile image
Juan F Gonzalez โ€ข

Latam represent!

Collapse
ย 
nans profile image
Nans Dumortier โ€ข

It might be interesting to see how the proportion of the different nationalities evolve with time!
Maybe one day we'll spot that dev.to is booming in an unexpected country!
Cheers from France ๐Ÿ‡ซ๐Ÿ‡ท :)

Collapse
ย 
aibolik profile image
Aibol Kussain โ€ข

Oh, that's interesting, how many arr there people from Kazakhstan and Belarus?) Just curious

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข
  • Kazakhstan: 6 (Incl Almaty)
  • Belarus: 26 (Incl Minsk)
Collapse
ย 
bennypowers profile image
Benny Powers ๐Ÿ‡ฎ๐Ÿ‡ฑ๐Ÿ‡จ๐Ÿ‡ฆ โ€ข

ื™ืฉืจืืœ ืืคื™ืœื• ืœื ื”ื•ืคื™ืข ื‘ืจืฉื™ืžื”! ื™ืœืœื” ื—ื‘ืจ''ื” ืงืฆืช ื’ืื•ื•ื” ืœื ื™ื”ืจื•ื’ ืืชื›ื.

Collapse
ย 
biros profile image
Boris Jamot โœŠ / โ€ข

ืจืง ืฉืœื•ืฉื™ื ื•ืฉืœื•ืฉื” ืžืฉืชืžืฉื™ื ืžื’ื™ืขื™ื ืžื™ืฉืจืืœ

Collapse
ย 
bennypowers profile image
Benny Powers ๐Ÿ‡ฎ๐Ÿ‡ฑ๐Ÿ‡จ๐Ÿ‡ฆ โ€ข

ื–ื” ืขื•ื•ืœื” ื—ื™ื™ื‘ื™ื ืœืฉืคืจ ืืช ื”ืžืฆื‘. ื’ื ื‘ืืจืฅ ืžื’ื™ืขื” ืœื”ื dev.to!

Thread Thread
ย 
bengreenberg profile image
Ben Greenberg โ€ข

ืกื‘ื‘ื”! ื ืชื—ื™ืœ ืœื›ืชื•ื‘ ื›ืžื” ืคื•ืกื˜ื™ื ื‘ื‘ืœื•ื’ ื‘ืขื‘ืจื™ืช

Thread Thread
ย 
bengreenberg profile image
Ben Greenberg โ€ข

ืื‘ืœ, ืื ื™ ืจืง ืจื•ืื” ืืช ื–ื” ืžื™ืžื™ืŸ ืœืฉืžืืœ ืชืžื™ื›ื” ื‘ืฉืคื” ืœื ื’ื“ื•ืœ ื›ืืŸ.

Thread Thread
ย 
bennypowers profile image
Benny Powers ๐Ÿ‡ฎ๐Ÿ‡ฑ๐Ÿ‡จ๐Ÿ‡ฆ โ€ข

ืชืจื’ื•ื ื—ื•ืคืฉื™: PR in flight?

@ben How can we improve support for RTL languages on dev.to?