Dialecticus

Belgrade, Serbia

Age: 40

Mihajlo Cvetanović, Belgrade, Serbia

1d
comment TortoiseSVN is running very slow
The problem might be a reverse DNS lookup on SVN server's IP address during SSL handshake. Make sure there's reverse DNS record for SVN server.
1d
answered How to give warning message in Visual Studio when passed an unappropriate parameter to a method?
2d
comment C# How to compress windows screen
Possible duplicate. Also, try searching for SPI_SETWORKAREA.
Aug
31
comment Programmatically indenting or bulleting text in a WPF RichTextBox
Also, I don't know the answer, but while you wait for one you can search for "wpf richtextbox flowdocument programmatically" and try to figure it out yourself. FlowDocument is property of RichTextBox that contains the formatted document.
Aug
31
comment Programmatically indenting or bulleting text in a WPF RichTextBox
If you don't want this question closed I propose that you reword it so that it is obvious (more than it is now) that you already have a solution that is not good enough for you.
Aug
30
revised C# AES encryption / decryption returning incorrect result
added 237 characters in body
Aug
30
answered C# AES encryption / decryption returning incorrect result
Aug
29
comment How to detect a keypress without focus in a console application
Why is it a problem that the code is too long? Does it work?
Aug
29
answered C# Node pointer issue
Aug
27
comment A Generic way to create a checkable context menu from a list of enum values
You could make a submenu in code instead of xaml.
Aug
22
comment How to write a C/C++ program to know the GCC compiler version?
Probably the former, and so the question is probably duplicate of stackoverflow.com/q/1936719
Aug
22
comment Add all the values between 100 and 4000000 inclusively that are divisable by 3 or 5 but not both 3 and 5
They talk about Java. So okay, in Java ^ is overloaded so it's also logical XOR. But what if the language of OP's code is not Java?
Aug
22
comment Add all the values between 100 and 4000000 inclusively that are divisable by 3 or 5 but not both 3 and 5
In what language does ^ denotes a logical XOR? In all C-like languages (C, C++, C#, Java, JavaScript) it's bitwise (binary) XOR. I mentioned undefined behavior because ^ is bitwise XOR, and === probably does not return bitwise result.
Aug
22
comment Add all the values between 100 and 4000000 inclusively that are divisable by 3 or 5 but not both 3 and 5
Operator ^ usually denotes binary XOR, not logical XOR, and should not be mixed with other logical operators. I don't know what operator === stands for, so beware of potential errors and undefined behaviors.
Aug
22
comment Add all the values between 100 and 4000000 inclusively that are divisable by 3 or 5 but not both 3 and 5
What language is this? What does the expression i % 3 || i % 5 === 0 mean? It looks a bit suspicious to me. In any case, assuming that you have A || B right, what you actually need is "exclusive OR", or "XOR": A && !B || !A && B.
Aug
18
comment How to check when the file was deleted using tortoisesvn in Windows 7?
@Varun what happens if you enter a file name that is certainly there?
Aug
18
comment How to check when the file was deleted using tortoisesvn in Windows 7?
Sorry, no reference apart from what I've seen. In 1.7 I selected old revision in the log, and then right-clicked on a file that was deleted afterwards, and selected "Show log" in the menu. Tortoise got confused, and couldn't show me the log for just that file. The same operation works fine in the latest Tortoise version.
Aug
18
comment How to check when the file was deleted using tortoisesvn in Windows 7?
You did not mention it, but I'll just chip in. Setting the range with dates and revisions seems to be bugged for deleted files in TortoiseSVN 1.7. Should install the latest version, or at least the latest 1.8.x version.
Aug
14
comment Why does the compiler complain about the code
The problem is most likely at the end of the last included header before the #include <assert.h>, because that's what is immediately before the compiler error. Very often the problem is that class declaration lacks a semicolon.
Aug
14
reviewed Approve suggested edit on Why does the compiler complain about the code
1 2 3 4 5