http://cc.bingj.com/cache.aspx?d=1462716999241&mkt=de-DE&set...
http://cc.bingj.com/cache.aspx?d=1462716999241&mkt=de-DE&set...
None of that helps this guy. I understand that. Maybe Visual Studio Code could have worded it better. This guy played fast and loose with the safety and integrity of his work and he was bit by it. I do feel for him, but more in the way I feel for anyone that does a stupid thing they should have thought more about first, but this is more a problem of him not understanding what he was doing and the category of software he was giving control of all of his files to. If you plugged your weirdly formatted USB drive (but usable by your other systems) into a computer and it said "We can't read this! Should we reformat?" you probably shouldn't click yes if you don't have backups of what was on that USB drive.
You really need to use other editors if you think so. Removing 15k files without any warning is a pretty lame move from editor developers.
https://web.archive.org/web/20170817134400im_/https://user-i...
- delete a.txt
- delete b.txt
- delete 123 changed lines from c.txt
As it's worded it's quite vague what's going to be discarded from where and how. Presumably if you know which button you clicked, it's more clear, but if you mis-click and don't know what you clicked, you can quite easily make the same mistake.
Finally, he's right that programs shouldn't be deleting files without a way to recover them in 2017. That operation should require the same level of directed intentionality as launching a nuclear missile.
I named it *.bas, which the interpreter actually ran despite that being a terrible name for anything.
Yeah, I lost all of the other programs in the directory.
Use backups and source control. Sometimes you need to learn things the hard way, but this one, take it from us. :)
Also, I feel bad saying it, but I haven't laughed this hard in a while.
With that kind of a message, it's amazing how he didn't think twice about discarding them. Especially when he didn't have a proper source control before.
You have to wonder if he actually learnt a valuable lesson or just ran away blaming Microsoft...
> I don't need to explain why I don't have a private repo with my stuff. It is the software's concern NOT to destroy the integrity of a computer like a damn virus. You come here, see my despair and berate me for something that was not my fault, and has happened to a lot of other people? Fuck you.
This person seemed to have his project under Git version control... but he hadn't committed for 3 months, which implies he viewed Git as an inconvenience at best. Perhaps the company is just passing around some project scaffolding?
Any other GUI over your version control software is going to have the option to discard recent changes. Discarding changes sounds like a potentially damaging thing, so it makes sense that you'd want to gate it with a warning dialogue. But they did gate it, and if files are deleted in the process, they do say DELETED in caps, and then they gate you again with another popup by saying IRREVERSIBLE in caps.
Adding a third popup gate would be excessive.
I get nervous when I haven't commited for 2-3 days. Since I don't want to commit broken code, I make a patch and send it somewhere for peace of mind. In addition to that I have an editor add-on that saves a copy every single time I save a file. One time it allowed me to recover the work of several days.
You don't need backups until you do. Some people learn the hard way.
This sounds very useful! Is this addon for vscode? Please educate me :-)
I get nervous when I haven't commited for 2-3 hours. I can't even begin to comprehend how someone could make 5000+ file changes to a git repo for 2-3 months and not commit once. He probably didn't know about version control, and was working on someone else's project?
This setup allows me to use AWS snapshots to have the disk backed up (crash consistently) once a day (but it could be once an hour or even less). I shut down the AWS instance when I do not use it because it starts up again in seconds when I need it.
When I do not have a fiber connection at hand, I can use my 4G phone as a personal hotspot with 60-80ms latency to AWS Ireland from my country, which gives a great experience with RDP, has been a game changer when in the move.
Since RDP traffic is about only 10MB/hour, even if you work 160 hours a month using the 4G phone you are at 1.6GB/month, which costs about EUR 7/month.
I happen to use various Macs as client machines, but their role is mostly a thin client with occasional web browsing.
This VDI approach allows the Mac specs to be quite low (one of my Macs was bought in 2009). In any case, if I ever need to upgrade because of software becaming heavier, I just need to change the AWS instance type.