Docker for Windows error: “Hardware assisted virtualization and data execution protection must be enabled in the BIOS”

If the features described are enabled, the problem is with Hyper-V that is disabled or Hypervisor agent not running. SOLUTION A (If Hyper-V is totally disabled or not installed) Open PowerShell as administrator and Enable Hyper-V withdism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All SOLUTION B (If Hyper-V feature is already enabled but doesn’t work) Enable Hypervisor with Now restart the … Read more

What is the ASCII Code of ½?

I want to print the value ‘½’ in a file. I searched for the ascii value of this as Alt+(ascii Value) will give you the same. To my surprise I found 2 ascii values for this symbol in various sites. One is 171 and the other is 189. I tried to write this symbol by … Read more

Can’t start hostednetwork

This happen after you disable via Control Panel -> network adapters -> right click button on the virtual connection -> disable To fix that go to Device Manager (Windows-key +x+ m on windows 8, Windows-key +x then m on windows 10), then open the network adapters tree , right click button on Microsoft Hosted Network Virtual Adapter and click on enable. Try now with … Read more

where does Silverlight app’s executable/assembly/whatever actually get installed on my hard drive?

I installed a silverlight app on Windows 7, it put up a shortcut on the desktop and it works fine. E.g. works fine without internet connection. What worries me is, it’s unclear where exactly that app now is on my machine. I examined this desktop shortcut and it says “C:\Program Files (x86)\Microsoft Silverlight\sllauncher.exe” [Random Integer].[Url … Read more

Using GNU Scientific Library (GSL) under Windows x64 with MinGW

When you build projects for MinGW, under MSYS, you should always specify a –prefix argument to ./configure; (the /usr/local default specifies an MSYS specific path, which is entirely unsuitable for MinGW application development). In your case, you should have configured GSL thus: or, better still, segregate the build files from the sources, (e.g. as a subdirectory of the GSL top source directory): … Read more

UnicodeDecodeError: ‘charmap’ codec can’t decode byte X in position Y: character maps to

The file in question is not using the CP1252 encoding. It’s using another encoding. Which one you have to figure out yourself. Common ones are Latin-1 and UTF-8. Since 0x90 doesn’t actually mean anything in Latin-1, UTF-8 (where 0x90 is a continuation byte) is more likely. You specify the encoding when you open the file:

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)