September 2004 - Posts
Quite often, I switch back and forth between working on my desktop and on my laptop. I might go out to a coffee shop, over to my fiancee's, to my parents, or to campus, and want to bring my work with me. I'll usually be in the middle of something and not in a place where I want to check it in to source control, but I want to have my latest files on my laptop.
Anybody have any good recommendations for keep files in sync between two PCs? Mainly want something that is quick to run, can do some sort of profiles (copy files for Project X or copy files for Project Y) and that only transfers new files, rather than everything. I've found a number of utilities out there, but some of them look old/ugly and not incredibly user friendly.
Has anybody else noticed an issue with laptops running Service Pack 2 and resuming after sleeping? After putting the laptop to sleep for a while, when you open it back and it resumes, it either takes a really rediculously long time to come back to life or it just never does it. And if it does resume, afterwards it continues to run incredibly slow. I've noticed this so far on 2 laptops, my new IBM Thinkpad T40 and my fiancee's Toshiba Satellite.
I've already tried disabling the Security Center service, but doesn't seem to do it. My next thing will be to disable my antivirus (Panda Titanium Antivirus) and see if it is an issue with that, since its icon does come up on the welcome screen first while resuming.
Anyone else had this issue and possibly know of a solution?
Update: I've been tinkering with it some more and found out that it doesn't have anything to do with my antivirus software, since it'll still do it with it completely disabled. Also, it has nothing to do with suspend/sleep/standby vs. hibernation. I had it hibernate and it still did it when I turned it back on. In fact, it was even worse. It could go to standby for while and be ok, but have it hibernate for any amount of time, and it is stuck.
Update (9/13/04): I finally found the cause of my woes. As it turns out, the cause was my antivirus software (Panda Titanium Antivirus 2004). After resuming, I went to try and load the task manager and I came back a while later when it had finally opened. I managed to get to the process list and saw that the process pavsrv51.exe was taking up 100% of the cpu time. I couldn't find anything about the issue anywhere, and I've been having a few annoyances with it, so I uninstalled it. Trying out BitDefender Professional now and it works great. Will probably end up sticking with it.
Omar posted that a performace fix for System.Drawing.Imaging made it into .NET 1.1 SP1. This is good, since we'd like to use it in Community Server (once we find out if it still uses unmanaged code).
However, one important thing came up... what if we build it to use that function and the client doesn't have SP1? What will happen then? Will the application throw an exception and die? Would it hopefully be compiled intelligently so that it was running on straight 1.1 it would default to the old method? Or would we have to do some lovely magic with reflection to see if the method exists, and default to the old one?
This posed the question, should there be API changes in service packs? It seems innocent enough to add a new method with additional parameter, but service packs are just service packs. It is still .NET 1.1, but if you compile against a service pack, are you loosing compatibility with everyone who is running 1.1 and not your patch level?
I may be way off base, since MS might have made it so that at runtime it will automatically check or the new method is compiled in with the code and doesn't rely on the user having SP1. Just some food for thought.