Giter Site home page Giter Site logo

Comments (2)

p7k avatar p7k commented on June 17, 2024

hrrm, need to look at the code to see what you mean by 'not processing events with the same uid as in db'. i would think that we would be pretty safe by saving Event's last mod timestamp and maybe the last state of the event. the last state is prolly an overkill at this point but would be nice to have on the page "Pasha's Death changed from 2050 to 2025."

from missionclick.

skwp avatar skwp commented on June 17, 2024

actually i was thinking about versioning/state - i think it's a good idea because most of these events are pretty shittily described in the feeds. what we could do is open up the system so it would be like a wikipedia - you can come in and fix the description for the event, with rollback capability. rails has a plugin that handles that sort of thing more or less. for the future of course..

for now you're right just need to check the timestamp. my code right now checks if i have a uid in the db, i simply skip inserting the event into the db from the feed.

from missionclick.

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.