DEV Community

Cover image for The Dev.to Feed Algorithm πŸ€–

The Dev.to Feed Algorithm πŸ€–

Justin Mancinelli on January 23, 2020

TL;DRπŸ‘‡ I used to develop apps. I still do, but I used to, too Back in 2007/2008, I learned Ruby on Rails and developed two prototype si...
Collapse
 
ben profile image
Ben Halpern

This is really timely because we've just begun the phase of overhauling this. @nickytonline and @joshpuetz should check this out πŸ˜„

Collapse
 
piannaf profile image
Justin Mancinelli

Ha, really glad I added the disclaimer

by the time you read this, master has probably moved on.

Really happy you all keep iterating on every aspect, with community involvement πŸ™Œ, to keep improving

Collapse
 
madza profile image
Madza • Edited

Reminds me of Jose Aguinaga's famous article about JS development.
First line: No new frameworks were made during the writing.
Top comment below: I highly doubt that.

Collapse
 
nickytonline profile image
Nick Taylor

Thanks for sharing Justin. πŸ”₯

Collapse
 
madza profile image
Madza • Edited

Someone should do this about YouTube recommendations algo.

Collapse
 
felixdorn profile image
FΓ©lix Dorn

Someone should make an article about propretary software :p

Collapse
 
emma profile image
Emma Goto πŸ™

Fetch a collection of stories that have been published some time in the last 2 to 6 hours and score above -15

I set up an RSS feed from my website and was using that to publish to DEV, but since I don't have timestamps set up properly on my RSS feed when it published to DEV it would immediately show as published "20 hours ago". Once I started going in and manually modifying the timestamps it seems like more people have been viewing my posts. I guess this is why!

Collapse
 
piannaf profile image
Justin Mancinelli

Definitely. This reminds me of a PR I saw not too long ago

Ability to backdate a post #3455

Is your feature request related to a problem? Please describe. Unable to change publish date. I personally wish to back date a post, but there is no way to set the publish date (or time) for a post.

Describe the solution you'd like Add a custom variable for publish_date

Describe alternatives you've considered Time travel?

Additional context In lieu of being able to delete/edit comments on an old post I have duplicated and republished it as a new post, but the date does not/cannot reflect the origin publish date.

Semi related to #3274 and #1363

And @jess posed a great question

if a post is backdated, would we still surface it as new content?

Collapse
 
joshpuetz profile image
Josh Puetz

Just wanted to add another thanks for this deep dive @piannaf as I've been referencing it over the past day. First up is getting all of these pieces in the same place: while technically someone could change the feed algorithm right now, one would need to change code in multiple places. That's part of what we're trying to improve!

Collapse
 
piannaf profile image
Justin Mancinelli

Wow, thanks! That's an unintended side-effect I'm really glad has been beneficial.

Collapse
 
rhymes profile image
rhymes

This is awesome Justin! Thank you for the deep dive!

Collapse
 
anshbansal profile image
Aseem Bansal

Thank you for taking the time to answer the question in such detail. I believe many users were expecting only to view the tags, users they are following chronologically perhaps like a RSS feed.

Collapse
 
piannaf profile image
Justin Mancinelli

Yeah, when I first joined, that's what I expected "feed" to mean. Pretty quickly discovered that wasn't the case. But I've been happy with the recommendations because I like seeing things outside my chosen bubble from time to time.

Can understand, though people getting upset if they put -100 on a tag and still saw it anywhere

Collapse
 
hanzlahabib profile image
hanzlahabib

Thanks for sharing, @justin

Collapse
 
aweysahmed profile image
Aweys Ahmed

Thanks for sharing this post. I have a better understanding of how posts are selected for display.

Collapse
 
ziizium profile image
Habdul Hazeez

This is interesting!

Collapse
 
avatarkaleb profile image
Kaleb M

Really cool thank you for posting this

Collapse
 
tonymet profile image
Tony Metzidis

Are there tools for users to tune their feed , e.g. to show content with higher experience level?

Collapse
 
piannaf profile image
Justin Mancinelli

"Content customization" allows you to change experience level

Content Customization
-- dev.to/settings/ux


Changing the weight on tags you follow alters the frequency they'll show up in your feed. They can be positive or negative (anti-follow)

tag following
-- dev.to/dashboard/following_tags


Following users and orgs increases the chance they will be in your feed

Collapse
 
tonymet profile image
Tony Metzidis

threadkiller thanks!

Collapse
 
tonymet profile image
Tony Metzidis

anyone have the org list?

Collapse
 
xanderyzwich profile image
Corey McCarty

Thanks for the writeup

Collapse
 
espoir profile image
Espoir Murhabazi

This is nice...
So what happens when an anonymous user logged in?

Collapse
 
nicolrx profile image
nico_lrx

I added the offset trick to the home page of dicopedia.com, it works great! Thanks!