(anti-)virus preventing my apps from working? - antivirus

On my other PC (windows XP SP2) i ran my app from my main pc using msvc05 to sort files across the network and found it couldnt move directories. One app i used on that PC couldnt function properly. All the files were automatically read only. Now on this PC i have the same symptom. Nothing act funny quiet yet (tortoiseSVN did but i am not sure readonly was the problem) but i know eventually it will. Why is everything read only? i googled the problem and it said turn off bitdefender. I havent DL bitdefender. I DL norton antivirus and gave my comp a scan, no virus came up. Whats going on?
NOTE: On this pc the read only box does not have a checkmark but a square. Going into the folder all files have a empty box. I turned on view invisible files and system files. I dont see anything in that folder. The other PC i think may have checkmarks but i am unsure.

Are you sure you (or your app_) has the rights to write in those directories?
If you only have read rights, it apears as if the files are readonly.

Related

Export to Java application deletes files

When I wanted to export the model I was working on as a Java application, I encountered an error regarding the databases I loaded into the model. When I said OK to the error, I realized that all the files in the folder I wanted to create the Java application were deleted. That folder was desktop by the way.
Right now all the files (i mean all of them!) on my desktop are deleted and they don't even show up in the recycle bin. How are we going to solve this situation? How can AnyLogic have the authority to delete all files in that folder? How is this authority not shared with me and not warned beforehand?
When you work with software in general, you need to have a version control in place that will allow you to recover your information. These problems occur, and if AnyLogic has access to your computer it's because you grant the permission and it needs the permission. If you make your desktop your project folder, then i would say you are to blame.. why would you do that...
Using GIT as Ben commented, is always a good idea... but it requires you to be conscious about when you commit a version.
What I do, is I use dropbox and all my projects are done in a dropbox folder... the good thing is that dropbox always saves automatically all the files on the folder... this has saved my life multiple times and I suggest you to do something like that in the future. So on one hand you have the autosaving features, which is useful, but sometimes you erase everything by mistake, and the autosave is not useful, but dropbox saves no matter what.

Unity crashes during build

Whenever I try to start the build process, I select the path, and Unity immediately freezes. There is no warning or error. Eventually it just silently closes the editor completely, and nothing has been exported.
I tried using an empty scene as the only scene selected for export, that too has failed.
I am running on a 2017 Macbook pro, i7, 16Gb DDR
Has anyone encountered this behaviour?
There's really not much to diagnose here as your issue could be anything (your computer specs are fine, btw). Since this isn't specifically programming related, I'll point you to the GameDev StackExchange to ask there. Either way, here are some things you can try:
Look for the editor logs for clues.
Make sure you don't have build scripts with infinite loops.
Close Unity, delete the "Library" directory along with all its contents, and re-open Unity and try again or...
Reinstall Unity.

Default Windows Dialog Browsing does not show "My Computer" nor "Drives"

Don't know if it's related to Eclipse, but it happened in Eclipse, so my first assunption will be, that it's something that has to do with Eclipse.
The problem is, for some strange reason, all of a sudden, whenever I can "browse" within Eclipse for a file/project, or whatever it is, the default window that is being shown does not contain any drives on my computer, and only a Desktop plus my user's windows folder. It is shown below:
As you clearly see, there is no way to go to the "My Computer" or any drive. I have a workaround (for now), but it will become pretty irritating fast, so I'm looking for a solution that caused all this. The workaround anyway, is typing the "C:\" or any drive letter, and hitting Browse button afterwards. If I do this, all is back to normal:
Anybody can help out a fellow programmer, who had the same weird case?
Thank God, the internet. After searching for almost 2 hours for this, I got lucky and found this thread:
http://forums.cnet.com/7723-19411_102-412058/browse-for-folder-missing-computer-and-libraries/
Well, when you have 16GB of RAM, 2 monitors, and 2 SSD drives (for some of you it might not be much, but for me it is), you kinda tend to loose yourself into thinking how "powerful" your machine is ;).
The answer was just like for the user in the above thread. I did have a lot of items on my desktop, that increased today. Seems at one point today I "crossed" the magical line, which broke the "Browse Dialog".
In anyway, posting here, if someone else will run into this issue in the future. I hope it will be helpful to someone.

Command prompt use on pen drive

I am using windows 7. In my pen drive there was some data. I had scanned it with Antivirus. There were some viruses and they were healed by Antivirus. But I am not able to see the files inside the Pen drive after that. I enabled hidden files visibility also. I tried to use Command prompt also with dir command, but it didn't work. dir is working for other drives, but not for the pen drive. In Pen drive, the used space is still the same as before the virus got in the pen drive. So I concluded data is still there, but I can't see it.
Can anyone tell me any other way to browse the data of pen drive since the data is really important?
i've got this once,try making system file visible
you can refer this for better understanding and to solve in case problem is what i suspect

How do "directory VIEWS" auto-update their file list?

I am just curious about this.
I had a network folder open on one computer viewing the files in the folder. From another computer I opened the same folder on the network and deleted a file. On the first computer the deleted file immediate disappeared from the list.
The only way that I can think of how it knows that is that it is constantly checking the contents of the open folder. But that sounds like it would waste a lot of resources to do, but I cannot think of any other way it could do that. So I was just wondering...how does that work?
Thanks.
It's probably a push notification. Rather that the client computer constantly checking, the server sends a message to the client when a change is made.
You never specified what platform you're interested in. In general, the only thing that is portable is polling to see when a file or directory has been updated. Polling once a second or so is generally not too expensive, though over a network file system it may be too much.
Various platforms offer a variety of solutions for being notified when filesystems change. Moder versions of Linux provide inotify. Mac OS X provides the FSEvent system. On Windows there is a directory change notification system.