Code Monkey home page Code Monkey logo

Comments (1)

undergroundwires avatar undergroundwires commented on September 2, 2024

Thank you for nice comment at the end and good suggestions.

This is one of the most desired features, see #59. And we're slowly getting there.

However you suggest some new and great ideas that were never bourght of before:

  1. What's new section. I'm not sure how the implementation will look like though. I see two potential solutions:

    • User metadata. privacy.sexy in that case needs to store all IDs (ID feature will be released in next release #262). Along with hashes of codes+revert codes. This can be stored in user metadata and once the file is imported, it can be compared to the new hashes. This way we can detect the changes. But it will miss newly added categories/scripts , we need to either write ALL existing IDs as metadata. This will bloat user metadata.
    • privacy.sexy internal data. Privacy.sexy internally stores hashes for scripts and the list of scripts in its previous versions. It checks the version field in user data (say an old version, 0.13.2) and compares that version against to current version to figure out the diff (changed scripts and newly added scripts). This will require some CI/CD to generate this data on each release. This sounds better.
  2. Provide revert code along with the script. This can be commented out as you say, or a completely different file can be provided. A dialog is shown once the user clicks on "Download", we can show "Download revert script" on that screen. And for the desktop application, it already stores scripts you run, and it can automatically generate and store their revert scripts.

It would be very nice to have two different issues for these so we can track them, discuss separately and get actually implemented. I believe the main suggestion is duplicate of #59.

from privacy.sexy.

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.