GithubHelp home page GithubHelp logo

Show PBs/NRs/WRs about ccm HOT 6 OPEN

jfly avatar jfly commented on June 15, 2024
Show PBs/NRs/WRs

from ccm.

Comments (6)

coder13 avatar coder13 commented on June 15, 2024

Should this instead query the wca site rather than import the latest wca db export? This would stay the most up to date but require the wca site be changed to support this.

from ccm.

jfly avatar jfly commented on June 15, 2024

I'd be open to the idea of adding an API to facilitate this to the WCA website, however I'm not sure what that would look like. I feel that if we're not clever, we'll end up querying the WCA website for the same thing many times.

from ccm.

FatBoyXPC avatar FatBoyXPC commented on June 15, 2024

Since those records don't change much, could we calculate them every time we submit results, then cache them somewhere?

from ccm.

jfly avatar jfly commented on June 15, 2024

Caching them "somewhere" sounds like it might end up being the same amount of work as just slurping in the WCA db export. One nice thing about the WCA db export is we never need to worry about cache invalidation, we just clobber everything.

from ccm.

FatBoyXPC avatar FatBoyXPC commented on June 15, 2024

Yeah, I can definitely see the nice thing about that. However, I really think this is more of an API task. While I'm not convinced we need to stop doing the export (because it could be very useful still), I like having an API point for records I suppose.

from ccm.

jfly avatar jfly commented on June 15, 2024

I could see a web timer being interested in letting you know how you're doing compared to your WCA pbs, so I'm not at all opposed to this.

from ccm.

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.