Monday, 28 May 2018

Windows 7 Chrome View Password Manager Vault Crashes Windows Password

When trying to view a saved chrome password in the chrome password manager

chrome://settings/passwords

we are prompted to enter our windows password in a normal windows message box, but in that box when we enter the correct password or click cancel, the whole chrome crashes.

After a lot of searching I found that the solution was to create a shortcut for chrome and launch it with flag / option

 --disable-features=CredUIPromptForWindowsCredentials

in the shortcut target

This caused a different popup window to come up for the password, and this one actually works

I hope this helps someone else

Monday, 9 February 2015

Very good Regular Expressions (RegEx) tutorial

The best I found on the web so far for learning or refreshing RegEx knowledge:

http://regexone.com/

And a very good site for writing and testing RegExes on the fly:

http://www.regexr.com/



Thursday, 27 November 2014

Troubleshooting startup performance issues for Visual Studio.

This is a very good blog post about troubleshooting startup performance issues for Visual Studio:

http://startbigthinksmall.wordpress.com/2011/11/08/activity-log-profiler-find-out-which-extension-is-slowing-down-your-visual-studio/

In summary, start VS with the /log flag:

"C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\devenv.exe" /log

(11.0 is for VS 2012, will need to be different for other versions of course).

Also download this xsl file:

https://github.com/lcorneliussen/ActivityLogProfiler/raw/master/ActivityLogProfiler.xsl 

and place it into folder:

%AppData%\Roaming\Microsoft\VisualStudio\xx.x (version number) 

Then delete the original xsl file ActivityLog.xsl, and make a copy of the downloaded xsl file, then rename that copy as the original (ActivityLog.xsl). We want to keep a copy of the downloaded one, because each VS startup overwrites the .xsl....

Then open the ActivityLog.xml file with internet explorer and examine the startup information.

Tuesday, 11 February 2014

duplicate code detection

This seems like a stable project in working condition, it is worth a test. http://sourceforge.net/projects/pmd/

Another one that produces fancy graphs, but probably requires more reading of the documentation in order to actually understand what the output means http://www.ccfinder.net/ccfinderxos.html

Also interesting tool to try is the successor to Microsoft Labs PEX, Microsoft CodeDigger

Microsoft CHESS tool for concurrency testing

Monday, 12 August 2013

performance comparison ramdisk vs ssd

ok being the performance freak that I am, I wanted to know how much faster is a ramdisk vs an SSD (if it is at all of course). So I compared my ramdisk running on BondDisk, vs my Samsung 840 Pro (which runs at almost half speed thanks to my laptop having only SATA 2 :/)

The results leave no room for doubt... ramdisk all the way, for performance critical applications... almost 10 times faster... now if only BondDisk could create a bigger ramdisk...


Ramdisk (BondDisk)


Samsung 840 Pro on SATA2