Code Monkey home page Code Monkey logo

Comments (3)

lemon24 avatar lemon24 commented on July 18, 2024

Related: #292 / c7e516f.

from reader.

lemon24 avatar lemon24 commented on July 18, 2024

Hmm... it seems recent sort was not set correctly (new entry shows way up in the feed); need to look more into this.

Update: also, it doesn't stop the flip flopping.

Update #2: it did stop the flip flopping, but update still adds one issue every time (the one the plugin deletes right away); this is expected / unavoidable without some kind of tombstone (#96 (comment)).

from reader.

lemon24 avatar lemon24 commented on July 18, 2024

The issue fixed by fc80a49 (and in part, this whole issue), happened because dedupe happens at different points between "on-line" dedupe (after an entry is added/updated), and backfill (on demand, for groups of entries that are all the same). This could arguably be fixed by making "on-line" be more like backfill; related: #246 (comment).

Also related, in case we unify the pipelines:

# unlike _get_entry_groups, we cannot rely on e.last_updated,
# because for duplicates in the feed, we'd end up flip-flopping
# (on the first update, entry 1 is deleted and entry 2 remains;
# on the second update, entry 1 remains because it's new,
# and entry 2 is deleted because it's not modified,
# has lower last_updated, and no update hook runs for it; repeat).
#
# it would be more correct to sort by (is in new feed, last_retrieved),
# but as of 3.14, we don't know about existing but not modified entries
# (the hook isn't called), and entries don't have last_retrieved.

from reader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.