The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions. Or if you must, use the Back Room[^] - but enter at your own risk.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen. For those discussions where you wish to be a little more frank, use the Soapbox[^]
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
Some time in the last few months, I remember reading something of a rant about how difficult it was to add features to Oracle - something about having tests run for hours to days, hundreds of feature flags, causing completely random things to break, having to add hundreds of your own tests, and having to wait weeks for management approval after additional testing.
However, I can't seem to find it anymore. The only other clue I have is that I got to it through a link from the "Daily News" email.
I tried searching on the site, but I can't seem to find it.
I’ve replaced spinning hard drives (HDD) for SSDs in several computers recently and the difference is amazing. An SSD on a SATA interface is about 10 times faster than a 7200rpm HDD and about 13 times faster than a 5400rpm drive. On my wife’s 2012 laptop (Intel i3-2350M CPU running at 2.3 GHz with 4GB of DDR3-1333), I replaced the original 5400rpm HDD with an SSD and the computer is around 10 times faster. It boots in seconds rather than minutes (Windows 10 Home) and there’s no waiting for web pages to load, no pauses in videos, and so on. I’ve now done the same thing for three of her friends. Prices on good SSDs are incredibly low on Amazon right now. I’ve been using Samsung 860 EVO or SanDisk Extreme Pro SSDs.
To make the swap, you typically need just three things. The new SSD, a USB 3.0 external disk enclosure and disk cloning software. USB 3.0 enclosures from Sabrent or Inaco are in the $10 range. I’ve used the free versions of EaseUs Todo Backup or Aomei Backupper or Acronis TrueImage to do the cloning. Put the new SSD in the enclosure, clone your existing drive to the SSD and swap out the HDD. A serendipitous advantage is that, after the swap, you can put the old hard drive in the enclosure and use it for backups. Total cost can easily be under $100 depending on the size SSD you need.
With GHz CPUs and memory, if you're still running off a HDD, you're probably losing 75% or more of your computer's potential.
Note: I just refurbished by own desktop computer with an Intel H270 chipset motherboard and an M.2 SSD with a PCIe x4 interface (Samsung 960 EVO). The configuration is 3 times faster than hooking an SSD up to SATA, but you need a compatible motherboard and SSD, obviously.
2 things are dead now. ICE cars and mechanical drives. More so mechanical drives but yeah, it is truly beyond anything else, the #1 speed up shop in the arm you can do for your pc today.
The greater question is this today: With laptop manufactures falling all over themselves with hybrid drives, optane memory cache, and split ssd/mechanical drive setups all because windows 10 is soo doggy slow about starting up, what the heck is windows 10 doing? Where is the outrage?
My backup strategy is pretty simple: Invoking Robocopy from a small PowerShell script that works out the logic of identifying the backup drive, as its letter might not always be the exact same depending on what else I might happen to have hooked up. I like Robocopy because it's as simple as a recursive "copy star-dot-star", and it automatically skips anything that hasn't changed. Also, having a straight copy of the file system means I have direct access to any file, without relying on some BLOB that can only be accessed by some proprietary backup software that has to be installed on whatever system I hook up the backup drive to.
In any case…I have 2 backup drives (normally, one offline, sitting next to the computer, and the other at the office for monthly rotation). Both are in external USB enclosures. Both have started exhibiting the same problem where the machine would stop reading (writing?) at the same point on the same file (some large-ish file, but otherwise totally random in the sense that there’s nothing that sets it apart from plenty of others). CPU activity settles down to nothing, same with disk reads/writes, then I can’t kill Robocopy with Ctrl-C or kill the PowerShell session with Task Manager. Logging out/rebooting can’t “cleanly” terminate the process either, as it just sits there forever (I've let it run overnight) and I have to hard-reset the system. Or, yank out the USB cable--then the system comes back to life immediately. Not good—I fully expect this sort of thing to eventually result in corrupt files/file systems if I have to keep doing this.
After rebooting (or re-inserting the USB cable), if I restart the same copy operation, it may manage to proceed further, or get stuck at the same point on the same file again. With enough retries, I suppose I could complete the full backup eventually, but obviously that’s not the way to go.
Copying the offending file with Explorer to the backup drive again results in the same thing – it eventually just stops (doesn’t complain about any read/write error, just no further progress is made).
Everything at this point is suggesting a bad source file. But if I move the file elsewhere or delete it altogether, then the same thing happens again with the next large-ish file it might encounter. Or it might not.
I ran chkdsk /f on the source and both target drives. No problem whatsoever. I don't know how thorough chkdsk is, but it claims everything is squeaky clean.
The crazy solution? Hook up the backup drive to another system, and run the backup through a share across the LAN, instead of directly from local (internal) drive to local (USB) drive. Then all files can be read and the full backup completes without even a hint of any sort of slowdown at any point.
Since I'm copying across the LAN with the same USB cable, the only thing I have left to blame is the source computer's USB port. There's only one at the front, and the ones at the back are unfortunately rather difficult to reach (it's a lousy physical setup), but I'll have to try that just to confirm.
In the meantime...if I get the same thing through another port...what else is left I should I be looking for?
(and yes, the anti-virus remains completely quiet)
My backup set includes files that are tens of GBs in size, and I haven't seen any problem with those. I suppose I shouldn't have said that it only happens with large files, but rather, that I haven't seen it happen with small files.