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:

What installed Windows Kits

Windows Kits are available in stand-alone downloads, but primarily they are deployed and upgraded by Visual Studio. Visual Studio 2013 includes Windows 8.1 SDK (for Windows Store apps and Windows desktop apps on Windows Vista SP2 or later) and the Windows 7.1A SDK (for Windows desktop apps on Windows Server 2003 SP1 or Windows XP … Read more

Text editor to open big (giant, huge, large) text files

Free read-only viewers: Large Text File Viewer (Windows) – Fully customizable theming (colors, fonts, word wrap, tab size). Supports horizontal and vertical split view. Also support file following and regex search. Very fast, simple, and has small executable size. klogg (Windows, macOS, Linux) – A maintained fork of glogg. Its main feature is regular expression search. It supports … Read more

No Module Named ‘_pywrap_tensorflow_internal’

I came across the same issue today, please switch to cuDNN v5.1 Library for Windows instead as @mickdelaney suggested and then try to Check environment settings of CUDA, normally all the settings of CUDA had been added to Windows environment Copy files in bin, lib and include of cuDNN to bin, lib and include of CUDA respectively. Normally the directory is C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA … Read more

What is the difference between Cygwin and MinGW?

As a simplification, it’s like this: Compile something in Cygwin and you are compiling it for Cygwin. Compile something in MinGW and you are compiling it for Windows. About Cygwin Cygwin is a compatibility layer that makes it easy to port simple Unix-based applications to Windows, by emulating many of the basic interfaces that Unix-based operating systems … Read more

how to edit or see the source code for dll files

It’s sort of difficult. I mean you can look at the file with a hex editor, but it’s not going to look nice. However, you can use 3rd party tools in order to get as much info you can about the .dll: Dependency Walker – useful to get the .dlls that your .dll depends on (and the functions that it need … Read more

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