Sunday, January 17, 2021

Windows Notepad Icons Become White Blank Looking Document Page

In Windows 10, files and shortcuts that had a Notepad icon changed and the new icon appeared to be a blank white document page. For my computer, this was notice around 01/10/21. The “Site” (https://www.winhelponline.com/blog/change-default-icon-file-type-windows/) was helpful used in finding a resolution. The resolution fixing the problem was to edit the registry value from HKEY_CLASSES_ROOT\txtfile\DefaultIcon\%SystemRoot%\system32\imageres.dll,-102 to %SystemRoot%\system32\notepad.exe,-2. The DefaultIcon and the file it is located in have changed with versions of Windows. In some of the newer versions of the files referenced for the default icon, the icon referenced was not present. Associating applications to file extensions in Windows 10 settings is immediate but is not necessarily reflected in some registry key values after a registry refresh or reboot. The value in the key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.txt\UserChoice\ProgId\ on my computer was textfile. This value was txtfile on the “Site”. This entry could not be edited because of permissions so it could not have been inadvertently changed during the attempts to fix the problem. The permissions were changed and it was edited to txtfile. A more detailed discussion is at (Link->)White Icon Blog Page

 

Friday, August 28, 2020

ASTM D2502 Calculation of Petroleum Oil Molecular Weight

ASTM D2502 has a chart that is used to estimate the molecular weight of a petroleum oil based on two viscosities of the oil.  The chart requires several estimation and interpolations, which can introduce mistakes.  A calculation from mid 1985 using the 2 viscosities is presented (LINK->Calculation of a Petroleum Oil Molecular Weight). The calculated molecular weights compared to the ones determined from the chart have a difference of 2.3 standard deviations.  The calculation is valid for the entire chart. The Microsoft document is available by contacting the author for a Dropbox link.

An Excel workbook (MWPetOilFrom2Vis_VisCalcs.xlsm) and the exported VBA module (MWPetOilFrom2Vis_VisCalcs.bas) are available.  The function MW40_100 calculates the molecular weight from cSt viscosities at 40C and 100C. It converts the viscosities and checks if they are within the bounds of the chart.


Monday, May 25, 2020

DoE Document Describing the Method

The document "Using Design of Experiment Methods for Screening and Optimization of Factors when Results are Qualitative" had been uploaded and published to the WEB through Google Docs 2 months ago.  It did not seemed to be indexed.  A new versions has been uploaded and can be viewed on Google Docs.  It can also be viewed on this LINK-> blog   . Both have the same content.  The links in the other post Wed. August 7, 2019 are the same as in this post. 8/28/20 links to Google Docs removed.

Sunday, September 22, 2019

Update to Windows Performance Counter Event Errors

After installing all the performance counters that could be found for the services listed by lodctr /Q, a event viewer logged a couple of events associated with the performance counters.  This was used as an opportunity to run lodctr /R to check its affect on installed counters.  Some counter were lost. This is listed under Update 20190122 in LINK-> Performance Counter Event Errors

Wednesday, August 7, 2019

DoE, Great if Results aren't Qualitative and a Model Can Be Made

LINK-> (Using Design of Experiment Methods for Screening and Optimization of Quantitative Factors when Results are Qualitative) details the sequential use of traditional DOE (vertices generations and optimality selection) to generate a small set of trial experiments from the number of factors.  The best result from a set of experiments is used as the starting point for the next series of experiments.  It will eliminate unnecessary ones and optimize the others (screening and optimization) .  Its primary use is for situations when quantitative results are to difficult, impossible or time consuming to obtain or when a mathematical model of the system cannot be determined or it is not clear how to weight multiple responses.

Fixing Windows Performance Counter Event Errors

Windows performance counters can cause event errors like 1008, 1023, 2001 and 8317.  Information on fixing them is fragmented and the easily found reference information on using the Lodctr command to fix them is limited in depth. Link-> Performance Counter Event Errors discusses how Lodctr was used to resolve the events and items that may have caused others to have less success with the command.

Post Labels

Search This Blog