if (String.Compare(myString, ALL_TEXT, StringComparison.OrdinalIgnoreCase) == 0)
OK(not obvious what true means)
if (String.Compare(myString, ALL_TEXT, true) == 0)
BAD: (non null safe)
I’ve noticed multiple messages from SQL Server in EventLog on my machine
Login failed for user ‘NT AUTHORITYANONYMOUS LOGON’. Reason: Token-based server access validation failed with an infrastructure error. Check for previous errors. [CLIENT: 10.222.25.129]
I’ve found that there are machines of my co-workers, but they were not sure, which processes tried to access my SQL server.
I’ve tried a few things and finally in SQL Server Configuration Manager disabled tcp, as it was suggested in
I’ve downloaded Windows Identity Foundation from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17331,
but when I was trying to install, it returned
Windows Update Standalone Installer
Installer encountered an error: 0x80070003
The system cannot find the path specified.
I’ve tried a few other similar downloads, and all had the same error,
Finally I’ve realized, that they don’t want to run from shared drive.
After I’ve copied to local drive Windows6.1-KB974405-x64.msu, I was able to install it.
I’ve recently read the post The Mooney Project » Reusable Code Is Bad.
Also I disagree with the title of the post, most of the issues in the text are valid and important.
Mike Mooney is mostly talking of creating customizable applications, that have hundreds of configuration settings.
Most close to my opinion is a comment from Geoff H
Design libraries for reuse, glue code to bind together, and logic code to call libraries through the glue.
When I am writing an individual method, I am asking myself, how generic is the logic, is it only be useful for this feature, or to different parts of my application, or can be used as an extension of .Net framework. Depending on this , I will move the common logic to one or another of my libraries. Sometimes, when I will looking to which class/dll should I add this new method, I will recognize, that our library already has the same or very similar method, and I don’t need to write it again.
I’ve tried to work out, is it good to use firstname.lastname@example.org to convert and send documents to Kindle DX.
Amazon description is not very clear, and it’s not obvious, that DX doesn’t support WiFi.
Finally I understood, that sending to email@example.com just sends the email to your email address attempting to convert attachments to azw fromat.
You can then transfer the document to your Kindle through the USB cable.
Keep in mind that IE support to send html page in email body, but not directly as attachment, Also images from html pages were not converted properly.
So I decided do not bother with this free kindle service.
Much simpler is to Download Calibre ,save any html file from browser(using ctrl-S in FireFox), and use Calibre to send the file(s) to Kindle through USB connection.
UPDATE: Recently I’ve started to use Instapaper and found the article
I am using Kindle DX 3G browser, but wasn’t able to save links< as it was suggested in the article.
Fortunately, comments have a link to http://www.wordcycler.com/help.html, which allow to copy every saved to instapaper document to the Kindle as soon as Kindle connected to my machine.
It is much simpler than Calibre.
I’ve put together a few links regarding search systems on desktop/enterprise level