Coder Social home page Coder Social logo

Comments (4)

mgechev avatar mgechev commented on May 18, 2024

I can see two common modules which we can reuse/share in future:

  • Google Analytics report parser. Currently, guess-ga and the one in the predictiveFetching branch are quite similar. The latter also processes page exists, which definitely makes sense.
  • Reports persistence. Currently, the GuessPlugin just caches the reports in a temporal storage. I see Katie is using MongoDB. I think this is another place for collaboration.
  • Models. Using Markov chain, there's not much to reuse because the model is quite simple already. When we design an appropriate NN, I'm pretty sure we'll be able to reuse it across the different projects. There are more unknowns here (where/how the model should be used, can we reuse the same model in the front-end & in the back-end, etc).

I'd love to figure out this week how best to position this work inside the repo. I'm currently thinking that we keep packages as-is for reusable modules that we deploy to npm (or we could roll Katie's work into a new package entry in there). I was otherwise viewing Katie's work as a workflow (which we'll hopefully eventually figure out the convergence points between compared to the rest of the packages we have).

To me \experiments\predictive-fetching-sites\ sounds pretty good. I also like workflows, however, I'm not sure if this will not trick people to think these are workflows for the webpack plugin. To me, a subdirectory called predictive-fetching-sites also sounds good.

from guess.

addyosmani avatar addyosmani commented on May 18, 2024

I like the idea of eventually trying to explore better code reuse for GA report parsing and the models we're using. @khempenius when you're ready, would you like to PR your changes in to either of the above locations (experiments or root\predictive-fetching-sites and we can update the docs to reflect the update?

from guess.

khempenius avatar khempenius commented on May 18, 2024

PR is here: #27

I ended up adding the code in ./experiments/guess-static-sites

from guess.

addyosmani avatar addyosmani commented on May 18, 2024

Closing now that we've landed this work. Thanks all!

from guess.

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.