Questions tagged [guess.js]

Libraries & tools for enabling Machine Learning driven user-experiences on the web

Guess.js provides a collection of libraries for enabling machine-learning driven experience for the Web.

Currently, the project has two main modules:

  • Predictive prefetching for static websites
  • Predictive prefetching for JavaScript frameworks

You can explore how to use both modules of Guess.js in the guides on the left.

For more explanations see documentation.

5 questions
2
votes
0 answers

Nextjs - router.prefetch doesn't prefetch

I have followed the instructions here in https://guess-js.github.io/docs/next. First run the command: mkdir guess-next && cd guess-next && touch package.json Then fill the /package.json with: { "name": "guess-next", "scripts": { "start":…
kodfire
  • 1,612
  • 3
  • 18
  • 57
1
vote
1 answer

How to setup guessjs in an angular cli project using the ui-router?

I am trying to setup guessjs for prefetching some of my modules currently via a static routes.json file. The project uses angular cli with custom webpack config as described here https://guess-js.github.io/docs/angular However, the project uses UI…
jerry
  • 377
  • 3
  • 17
0
votes
2 answers

How do I do if word_pick not == random_choice?

import random import time import sys from colored import fg color1 = fg("red") color2 = fg("blue") color3 = fg("green") color4 = fg("yellow") for x in (color1 + "Hi,\nThis is a word guessing game, you will have to guess the answer from 100…
0
votes
1 answer

How do I correctly use isinstance() in my random number guessing game or is another function needed?

I want this number guessing game to be able to catch every possible exception or error the user enters. I've successfully prevented the use of strings when guessing the number, but I want the console to display a custom message when a float is…
0
votes
1 answer

Integrating Google Tag Manager with gatsby-plugin-guess-js

I am currently working on a Gatsby project that is already using Google Tag Manager to handle Google Analytics. I would like to incorporate gatsby-plugin-guess-js with this site to help with performance, however without using…
Dahmon
  • 1
  • 1
  • 1