Hacker News new | ask | show | jobs
by totetsu 2183 days ago
> Version control

The other day I tried to reverse engineer a lego mindstorm program from a pan across it in a youtube video(stitching together screenshot frames with Hugin panorama editor), only to find that that visual language was dependent of a silverlight app, and OSX had deprecated it, so I could only use scratch to re-create the logic. Then the scratch editor crashed and corrupted my project file, which when opened in a text editor was just a big encoded data blob. So I started from scratch and took to copying the file (file (1), file (2)..) every so often.. I did not feel like the future to me..

2 comments

That sounds like a workflow issue. Instead of arbitrarily renaming files, which is what we used to do back in the 90's, 80's and probably before, you could have used something like git to take care of backups and version control.

Of course it doesn't feel like the future when you are maintaining your code with something other than modern practices.

What version of Scratch are you using?
I was using the lego mindstorm classroom program that has scratch built in, so I'm not sure of the exact details. It autosaved the project on every change, and didn't even tell me where it was keeping the files. The first time I was using it, it suddenly told me it couldn't open my project. So I found the save folder and just duplicated my recreated project as I went along. Not an ideal workflow, but fine for a few hours project.
The new Scratch 3 works right in the browser. There is a Lego Mindstorm extension for it, you just have to install this program called Scratch link to bridge the web to the hardware.