Git Product home page Git Product logo

Comments (6)

boehs avatar boehs commented on June 1, 2024

So I'm working on this but the query I'm using to find missing comments is slow as HELL (think a hour at most slow)

https://github.com/boehs/ltc/blob/master/analysis/missingcomments.pgsql

Need to find something better, I assume the time researching a faster query will actually be shorter than resuming

from ltc.

boehs avatar boehs commented on June 1, 2024

streaming makes this like a tiny issue

from ltc.

boehs avatar boehs commented on June 1, 2024
  • theroretical number of comments: 319458
  • actual comments: 319672
  • missing comments: -214
  • negative comments (might reduce sum) -420
  • which means 206 are unaccounted for

from ltc.

boehs avatar boehs commented on June 1, 2024

forgot disqus

from ltc.

boehs avatar boehs commented on June 1, 2024

Disqus has like an interesting API

forums/listPosts

Possible fields of interest

  • message: html message
  • likes/dislikes
    • points (likes-dislikes?)
  • author
    • name
  • thread
    • link
  • createdAt
  • thread (another request?)

And less interesting fields

  • author
    • url
    • location
    • username

Notes

  • Not sure the best way to identify where the comment was made, I think I need to make another request to get the thread which I really don't want to do but
    • actually you can use related: thread which is awesome
  • limit=100 can save 5x requests (default is 20)

from ltc.

boehs avatar boehs commented on June 1, 2024

we've archived 98055 disqus comments. Probably ~3% was missed due to extensive filtering

from ltc.

Related Issues (3)

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.