Giter Site home page Giter Site logo

Comments (3)

thoughtpolice avatar thoughtpolice commented on May 31, 2024

I'm working on something like this but the thing is, it's unclear what kind of diagnostics the previous script was really intending to provide, outside of just running extremely obvious checks like "is your router turned on". Which is fine, of course, sometimes the router's turned off!

We can do some better stuff, potentially, if we bake some extra logic into the CDN layer to give feedback. (For instance, an obvious one is "What Fastly datacenter is the user connecting to", which is potentially extremely relevant.) This has been part of my long-term goals with the new binary cache setup, but very low in priority vs having everything else work well.

I also think it would be nice if the script was actually nix run-able. For instance you could stuff a default.nix into the included gist that just used <nixpkgs> for dependencies (so you don't have to contact the cache anyway) to run everything for you.

Happy to hear any suggestions from Graham if he has them.

from infra.

zimbatm avatar zimbatm commented on May 31, 2024

The index.html can now be changed with terraform over here: https://github.com/NixOS/nixos-org-configurations/blob/7d5ff0a5526edeedcf22a39f50fd72e12a137f65/terraform/cache/index.html#L47-L49

All we need now is an updated diagnostic script.

from infra.

zimbatm avatar zimbatm commented on May 31, 2024

I did a quick pass in 93f42d6. Feel free to propose further improvements!

from infra.

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.