DEV Community

Discussion on: How I Found the Best Posting Times on dev.to With NodeJS(+ Usable Code)

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

Or you could...if you were really silly...just:

  • download 250k+ worth of live articles on dev.to using the API over the space of about 15 days so as not to get rate limited,
  • store them all in a database (well over 10GB…and that is just text not images!)
  • and then query that database based on likes (per post) vs time posted, removing the top 5% and bottom 5% to make it slightly more accurate and output it all to a simple table.

I would imagine the results would look something like this if anyone was silly enough to attempt to do it (third table):

inhu.co/dev_to/analyse/timeofday.php

But nobody would be silly enough to do that now would they? 😉

Being serious for a second, I didn't think to break it down by tag...might have to look into that if I ever get around to finishing that project as that is a great idea!

Great post, as you can probably tell I find stuff like this really interesting! ❤🦄

Collapse
 
zippytyro profile image
Shashwat Verma

This is a better approach I think, the person didn't knew about the API

Collapse
 
grahamthedev profile image
GrahamTheDev

Their approach was far more efficient though, I just brute forced it!

The DEV API is not well publicised either to be fair, so it is easy to miss.

Collapse
 
z2lai profile image
z2lai

What on earth do these numbers and colors mean? Did I miss the legend?

Collapse
 
grahamthedev profile image
GrahamTheDev • Edited

No it is for personal use so it is not user friendly!, I just happened to share it in case it was useful for someone. The numbers are reactions / article released at a given time as an average. The colours are just a heat map, dark green is best (and yes the colours are awful!) 🤣

Collapse
 
renanfranca profile image
Renan Franca

I am about to ask you on another article discussion (that you share the tables link) how did you get the final result 🤣

Thanks!

Collapse
 
techman09 profile image
TechMan09

Love it!

Collapse
 
dmk1111 profile image
dmk1111

Could you please share which time zone do you use in this table? Thanks!

Collapse
 
grahamthedev profile image
GrahamTheDev

It is GMT, hope that helps!