windows-10

What does “Beta: Use Unicode UTF-8 for worldwide language support” actually do?

南笙酒味 提交于 2019-12-18 02:49:10
问题 In some Windows 10 builds (insiders starting April 2018 and also "normal" 1903) there is a new option called "Beta: Use Unicode UTF-8 for worldwide language support". You can see this option by going to Settings and then: All Settings -> Time & Language -> Language -> "Administrative Language Settings" This is what it looks like: When this checkbox is checked I observe some irregularities (below) and I would like to know what exactly this checkbox does and why the below happens . Create a

WPF ListBox Highlight in Windows 10

让人想犯罪 __ 提交于 2019-12-18 01:05:16
问题 I'm fairly new to WPF but experienced in .NET (Winforms). I'm trying to manipulate the highlight style of a listbox to control the focused and unfocused color of the selected item. Every single tutorial on this that I have found uses a custom style to assign a new value to the SystemColors.HighlightBrushKey and SystemColors.ControlBrushKey. But it isn't working. After countless hours trying to get this to work, it occurred to me that maybe it was OS related. I had been trying it on a Windows

NetBeans IDE scaling on Windows 8/10

别等时光非礼了梦想. 提交于 2019-12-17 21:40:46
问题 I'm trying to run NetBeans under Windows 8.1 on a screen with a high DPI. Windows itself has scaling enabled to 400% and everything else looks just fine. However, when I start NetBeans, it runs as if there's no scaling enabled and I just see tiny little letters in the IDE. I did check the properties under which the IDE starts and they do have "Enable scaling for this program" checked. I could increase font size in the editor and the error log, which would at least enable me to view what I'm

TensorFlow on Windows: “pip install tensorflow” fails

我只是一个虾纸丫 提交于 2019-12-17 21:36:32
问题 I am using Visual Studio 2015, Python 3.5.2, Windows 10, and have recently upgraded pip to 9.0.1. I am trying to install Tensorflow 0.12 on my system. I tried to use VS's built in "Install Python Package" function, as well as command prompting pip install python Both ways I get the same error: Installing 'tensorflow' Collecting tensorflow Could not find a version that satisfies the requirement tensorflow (from versions: ) No matching distribution found for tensorflow 'tensorflow' failed to

rc.exe no longer found in VS 2015 Command Prompt

醉酒当歌 提交于 2019-12-17 21:26:54
问题 I just installed Windows 10 Creators Update (version 10.0.15063). I have multiple versions of Visual Studio installed (2012, 2013, 2015 and 2017). I installed VS 2017 only a couple weeks ago. Problem CMake (version 3.8.1) no longer finds the C/C++ compiler when run inside a "VS2015 x64 Native Command Prompt" (it does work properly when run inside a VS 2017 command prompt). Reproduction Content of CMakeLists.txt : project (test) add_executable (test test.cpp) (Content of test.cpp is irrelevant

git rebase -i shows wrong commit history after a rebase and force push

非 Y 不嫁゛ 提交于 2019-12-17 20:40:48
问题 I encountered an interesting problem after rebasing a branch on another branch; git rebase -i HEAD~n shows not only the wrong commit history (the old branch) but also the incorrect amount of commits. What I want to do I want to be able to do a git rebase -i HEAD~n on the correct commit history in order to squash a leftover commit from the old branch I based my branch on. What I did to cause the issue # On another Feature branch git branch -b NewFeautureBranch # Develop my commit git add

How to create Java project in Netbeans, without using Maven as default?

ε祈祈猫儿з 提交于 2019-12-17 20:14:48
问题 I'm currently trying to create a basic Java project. The first option that appears is "Java with Maven", which I already used, but isn't giving me the "Create Main Class" option that I need. I'm using Apache Netbeans IDE 11.0, running on Windows 10, x64. I've given it a whole day, updating and installing the most recent JDK versions I found, and still I'm unable to make it work. I've also read this answer, but it's not working: Can't create project on Netbeans 8.2 Here's an image of what I'm

C# change app language programmatically UWP realtime

倖福魔咒の 提交于 2019-12-17 18:18:12
问题 In my application for each language string resources are stored separately and are displayed depending of type of language environment. I want to change the language in the application settings. How do I realize that after the language selection instantly apply it in the user interface? 回答1: We can use ApplicationLanguages.PrimaryLanguageOverride to change the language during runtime without restart the app. For example: I have two languages supported "en" and "fr", localized message will

'From/import' is not recognized as an internal or external command, operable program or batch file

两盒软妹~` 提交于 2019-12-17 17:09:01
问题 I'm having trouble importing Machine Learning algorithms from scikit-learn. I have it installed but whenever I type for example "from sklearn.naive_bayes import GaussianNB" it says " 'from' is not recognized as an internal or external command, operable program or batch file. I'm using Anaconda on Windows 10. Is it compatibility issue? Am I missing something? Idk I'm still new to Python so I feel lost. Thanks 回答1: That needs to be run in the Python REPL, not at a command line. Be sure to start

Is Task Manager a special kind of 'Always on Top' window for windows 10?

戏子无情 提交于 2019-12-17 16:49:21
问题 If my window has the 'always on top' extended style set, I would expect it to be on top of all windows that do not have the 'Always on top' style set and those windows that have the 'Always on top' style set but were activated before my window was activated. To test this feature, I open the task manager window - set it to always on top and then I open my window ( myWindow ). In Windows 7, I observe the expected behaviour - myWindow comes on top of the task manager. However, in Windows 10,