tandpfun / desmos-autosave

Chrome extension to automatically save desmos projects.
MIT License
5 stars 0 forks source link

Although this extension is great, it kind of worries me... #1

Open MathEnthusiast314 opened 2 years ago

MathEnthusiast314 commented 2 years ago

A better thing would be to link a local file to desmos and keep auto saving it to that file instead of creating a new graph link by Ctrl+S every 30 seconds or so :( Will cost too much on desmos servers and is not really worth it because desmos already implemented an "attempt recovery" feature.

tandpfun commented 2 years ago

You probably know a lot mode about Desmos than me, but doesn't every method of saving create a new link? I do think that I can remove some of the faster savings, like "10s", as those can cause some glitches.

I don't think it'll cause too much of a toll on Desmos, because you can also just hold down "cmd-s" to have the same effect but much faster. If there was a problem, they could implement ratelimits to prevent something like that.

Thank you for your concern though!

MathEnthusiast314 commented 2 years ago

Yes, every Ctrl+S creates a new link but that wasn't the point.

The point was that graph links are being created quickly even where subsequent graphs don't differ by a lot.

Destree: https://www.youtube.com/watch?v=Vks56T679ZQ&ab_channel=MathEnthusiast314

Sometimes when I render the destree I see huge chunks of the destree when graphs have a lot of graph history. This is mainly due to when users extensively save their graphs and when similarity percentages between versions of the graph is very close to 100%. This is also being done by userscripts and extensions.

Personally I save graphs only after I make a lot of progress on the graph (because we already have the 'attempt recovery' feature if something is lost). The similarity percentage between adjacent versions of my graphs is always <70%.

I also made a discord bot which specifically shows users the differences between graphs and a lot of the times I come across versions whose similarity percentage is 100% which overturns the whole point of showing the differences between graph expressions. image_2022-03-07_174750

This has to change for projects that work with graph history and it's ideal if there's not much clutter.

tandpfun commented 2 years ago

This makes sense, yeah. I don't think it's going to be easy to detect similarly and stuff (and I don't know if everyone wants that) but I can make it detect if the project has changes before saving.

I think that I need to revisit this and take a better look at how I can better integrate it with the program.

By the way, that's a really cool project!! I hope you don't mind if I poke around the code a bit to better understand desmos programs.

I really appreciate your concerns, expecially from someone who's a lot more experienced with the program!!

MathEnthusiast314 commented 2 years ago

Thanks! Yeah I don't mind you poking around the code:)