I was coding html with Visual studio, and became so frustrated that CSS sometimes didn’t work and there were some mysterious white gaps.
After struggling for hours I noticed that there were some “
﻿” in the code.
These characters are byte order marks (BOMs), aka “zero width no-break space”, which are totally invisible in the editor (but if you open it in Word and show the hidden marks, they’ll show). In Word they can be replaced with ^u8520.
Visual Studio saves UTF-8 files “with signature” by default, which also saves the BOM characters.
The remedy is to choose the encoding “UTF-8 without signature”.
On April 9, during Prof. Villani’s visit to Shanghai, we had an interview with him on behalf on Turing Book. We would like to thank Prof. Villani for having this interview, and Prof. Yaguang Wang of Shanghai Jiao Tong University and Prof. Benoît Vermander of Fudan University for the coordiation.
Continue reading “Interview with Prof. Cédric Villani”
Windows never fails to give surprises. Windows always fails to give surprises. One hour ago, out of the blue (pun intended) my Windows 10 went to the blue (screen of death) of some VIDEO_TDR_FAILURE. Maybe I was pushing the system to its limit, I thought. So naturally I rebooted. To my horror, the system now comes directly to another blue screen, saying “BAD_SYSTEM_CONFIG_INFO”.
The system automatically went through some diagnosis and to no avail. I rebooted to safe mode, to no avail.
According to Microsoft, “This bug check indicates that there is an error in the registry.” The solution is:
- Try restarting the computer by selecting “last known good configuration” in the boot options.
- If the restart does not fix the problem, the registry damage is too extensive. You must reinstall the OS or use the Emergency Repair Disk (ERD) that you previously created by using the Windows Backup tool.
Well, that is very informative – but indeed it is, which tells us to look into the registry. So I boot into the command prompt, go to
D:\Windows\System32\config which is where the registry is stored. In this directory there is a hidden folder called
RegBack which is a backup of the registry. That is our savior.
So I created another backup folder, copied everything into the backup folder, and used the files in
RegBack to overwrite those in
D:\Windows\System32\config. Reboot, and the system is back to life.
I recently tried to uninstall VMware player 7.1.2 – you know what? It popped up an error
The MSI '' failed
What exactly does it mean?… Well there’s a KB article on it kb.vmware.com/kb/1031302, which … again tells you ALMOST nothing. Look at the 500+ voting of 1 star.
Continue reading “VMware Player upgrade / uninstallation error”