|
I've noticed some of their samples do have flaws.
I think they are written by interns.
I usually post a comment when I find and fix a problem.
|
|
|
|
|
Here's what I found today:
public void GenerateDiffGram(string originalFile, string finalFile,
XmlWriter diffGramWriter)
{
XmlDiff xmldiff = new XmlDiff(XmlDiffOptions.IgnoreChildOrder |
XmlDiffOptions.IgnoreNamespaces |
XmlDiffOptions.IgnorePrefixes);
bool bIdentical = xmldiff.Compare(originalFile, newFile, false, diffgramWriter);
diffgramWriter.Close();
}
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: Unholy nightmares, testing for cases that never exist. Not returning error messages, using complex LINQ commands embedded in massing hierarchies of generics. Missing explicit tests, hard-coding the wrong things, including massive numbers of (n>0) third-party libraries to do trivial things. Doesn't this apply to all code?
|
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: skimps (eschews for sat prep) documentation and instead provides code for various languages
Just noting that the fact that someone can code (or even can't code) doesn't mean that they are capable of creating documentation much less something that is suitable as a tutorial.
|
|
|
|
|
Ennis Ray Lynch, Jr. wrote: GetAsync("http://www.contoso.com/");
Did they really use that URI?
Marc
|
|
|
|
|
Not in the open source solution but in the MS documentation, why/
|
|
|
|
|
|
Hi All,
The company I work for took the plunge and moved to larger offices as we had run out of space. The problems started well with the site being too far from the BT exchange to get fast broad band so we had to go with another supplier who mucked us around and we still don't have proper broadband access it is being done via a 4G modem. Everything that could be shifted was moved and the final heave happened. Can I find anything?
|
|
|
|
|
Well, you have clearly found your PC - or at least your phone!
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
And a network port that works Huzzah!
|
|
|
|
|
Shhh! IT will "fix" that if they catch on...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Umm, we don' have an IT dept. the rule here is you broke, you fix it, everyone's PC is different and we are small enough where a specialist IT dept is not really needed!
|
|
|
|
|
glennPattonWork wrote: Can I find anything? At least they told you where they moved to, not like that guy in documentation who's still going to the old location.
It was broke, so I fixed it.
|
|
|
|
|
Reminds me of Lilly Savage / Paul O'Grady on moving house:
"Never move on a weekend, or bank holiday.
The traffic will be bad, the parking will be difficult, and the kids'll notice and want to come as well."
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
OriginalGriff wrote: and the kids'll notice and want to come as well.
Gap year - the perfect time to move. We sent ours to Japan and France and then moved to Singapore while they were away!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Over the years as I have moved computers / upgraded computers / swapped laptops etc. I have created a backup copy (using a copy/paste) of the the old data from Documents /Desktop / whole drives etc.
Now I have multiple copies of various files in various states spread across NAS drives and other hard disks.
I have folders with backups like;
Backup-5-10-12
BigYin Backup @ 2010-03-32
BigYin Backup 2009-12-07
Laptop Backup - 09-01-24
Laptop_Backup_14_10_12
Win7_Recovery
Ex-DMA-XP-MAchine
ZZZ - Data / BigYin Backup 2009-12-07
ZZZ - Data / Daves-Laptop-6935-Backup
Backup_03_05_2013
and of course there is the current files with the automatic versioning / backup maintained by windows.
Has anybody got any [free] software recommendations (as in stuff you have actually used) that can help de-dupe/sort/restructure automatically/check for bit level difference/date info/filenames etc.etc.etc.
Or will I have to fire up VS and start to write my own, which I really couldn't be bothered with at the moment.
There must be many of you who are in this state and have been through similar exercises.
Cheers,
|
|
|
|
|
DaveAuld wrote: ZZZ - Data / BigYin Backup 2009-12-07
ZZZ - Data / Daves-Laptop-6935-Backup ZZ Top is written with double Z
Microsoft ... the only place where VARIANT_TRUE != true
|
|
|
|
|
Yeah, but this is a different band: ZZZTOP - similar music, but bigger beards.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
Totalcommander can be of great help (check similar files/directory by content).
~RaGE();
I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus
Do not feed the troll ! - Common proverb
|
|
|
|
|
What's wrong with WinMerge?
|
|
|
|
|
I took it for a spin, it almost fits the bill, but not quite.
|
|
|
|
|
|
Difficult to explain, but you need to compare left to right paths etc. I just want to point it at a drive and hit the 'shakedown' button.
It would then tell me, the files that are binary duplicates, same file names, last modified dates etc.
It would also then be good to automatically sieve all these files to a new location where only uniques were retained based on rules e.g. shortest path, keep newest, or something else I haven't thought of yet!
I'm thinking custom write may be order of the day..... Maybe a project for another day.
|
|
|
|
|