|
I think MS breaks something after every update...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I wonder if it is because...
Visual Studio 2022 uses WebView2 (web browser control) as the "connection point".
And possibly the WebView2 times out every 20 minutes (like a web browser session).
That sounds plausible & likely fail for devs who use controls but don't consider all that they do.
Also, someone else has mentioned this & posted at StackOverflow[^].
|
|
|
|
|
|
Using an arbitrary precision calculator (bc 1.07.1)
scale=100
1.0/3
.3333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
last/3
.1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
last/3
.0370370370370370370370370370370370370370370370370370370370370370370370370370370370370370370370370370
last/3
.0123456790123456790123456790123456790123456790123456790123456790123456790123456790123456790123456790 looks like there are no 8's
[edit, with non-zero caffeine level] or, more succinctly
81*12345679 = 999999999 [/edit]
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
modified 11-Jun-22 20:45pm.
|
|
|
|
|
For extra credit: Does this happen in other bases? All bases? What are the required conditions?
Example:
In base 7, does 0.012346... x (some integer power) == 1?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I hope you're asking that question because you know the answer...and you're going to tell me.
|
|
|
|
|
raddevus wrote: I hope you're asking that question because you want to know the answer...
FTFY
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
|
raddevus wrote: 1.1111111111111111 / 3 = 0.037037037037037035
0.037037037037037035 / 3 = 0.012345679012345678
Looks like you've added an extra 0 after the decimal point.
Either that, or you started with 1 rather than 10 .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
You are correct, I was actually messing with the remainder but I didn't want to explain all of that.
This is a good test of Engineering Skills & you have passed with an A+.
|
|
|
|
|
is there any good diff tool to recommend?
diligent hands rule....
|
|
|
|
|
I've used Windiff and was fairly happy with it. You can find free downloads online.
Now that GitHub is integrated with Visual Studio, I just use that to look at diffs. If I had to diff something that wasn't in my repository, I'd probably add the first version of it to the repository, stage it, then add the second version, look at the diff, and later remove them from the repository. Or use Windiff.
|
|
|
|
|
thanks for sharing your tricks!
I find some new tools that I am not familiar with, so curious to see any people using them:
Meld - What is Meld? Meld is a visual diff and merge tool targeted at developers.
Beyond Compare - Beyond Compare allows you to compare files and folders.
kdiff3 - KDiff3 is a file and directory diff and merge tool which compares and merges two or three text...
Araxis Merge - Home of the award-winning Araxis Merge two and three-way file comparison (diff) and merging application, Araxis Find Duplicate Files, Araxis Replace In Files, and the Araxis Ketura issue tracking, project scheduling and time tracking application.
AptDiff - AptDiff is a visual text / binary files comparison and merging utility for Windows.
P4Merge - A valuable tool for diagnosing continuous integration bugs, Folder Diff also measures how much code must be resolved in pending merge scenarios. Visually compare two versions using image diff within P4Merge to determine changes made.
diligent hands rule....
modified 11-Jun-22 14:31pm.
|
|
|
|
|
+1 for Beyond Compare. I've been using it for years. I use it for comparing file-to-file and for synching folders. It's file copy is much faster than dragging and dropping with explorer.
|
|
|
|
|
WinDiff is my simple favorite. It's quick & easy to use for comparing two files but if you have two directories to compare it is even better. Its a little odd if you've never used it, but once you use it a couple of times it is the leader for simplicity.
I couldn't believe when they removed it & didn't make it available any more. In my mind they removed it, but didn't provide any replacement. Just kind of nutty. I went back to an older machine & saved off the windiff64.exe & windiff.exe so I'd always have them on my dev machines.
|
|
|
|
|
|
Heh,
I remember that contest. Spent a weekend reviewing all of the contest entries. The best implementation didn't win and didn't even enter the contest.
This guy posted his code[^] into the discussion forum. It outperformed all of the others by a wide margin and I couldn't find any errors. Unfortunately he never officially entered the contest. It's his only post on the site.
|
|
|
|
|
Yeah, I still use my entry occasionally -- such as last week.
|
|
|
|
|
VisualSVN here.
I guess that means Tortoise SVN but anyway is integrates with visual studio and really rocks for me.
|
|
|
|
|
Message Closed
modified 11-Nov-22 12:54pm.
|
|
|
|
|
I used KDidff old version.
diligent hands rule....
|
|
|
|
|
Meld. Used it for years on Linux. Haven’t done a diff in windows for 20 years or so. There might be something better on that side of the fence.
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Meld is my weapon of choice too.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I use WinMerge. It's open-source, still maintained, and available in both 32- and 64-bit versions (for those who have really large files... )
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Agreed.
Software Zen: delete this;
|
|
|
|