windows-10

Spark on windows 10 not working

假如想象 提交于 2019-12-12 23:20:20
问题 Im trying to get spark working on win10. When i try to run spark shell i get this error : 'Spark\spark-2.0.0-bin-hadoop2.7\bin..\jars""\ is not recognized as an internal or external command,operable program or batch file. Failed to find Spark jars directory. You need to build Spark before running this program. I am using a pre-built spark for hadoop 2.7 or later. I have installed java 8, eclipse neon, python 2.7, scala 2.11, gotten winutils for hadoop 2.7.1 And i still get this error. When I

Upload UWP app to Microsoft Store in all 3 platforms (x86, x64, ARM)

本小妞迷上赌 提交于 2019-12-12 23:04:46
问题 I have a 3rd party DLL (in all 3 platforms x86, x64 and ARM) referring in my UWP app. Due to this reason I have to change my reference manually each time I need to build my UWP app to specific platforms. Now I need to publish the app to the store but I can't select all platforms due to the manual handling of the 3rd party DLL. I tried building the app in release mode separately and tried to upload to the store but it does not allow. Only way possible is by selecting all 3 platforms in the

Can't establish connection using StreamSocket (universal windows)

柔情痞子 提交于 2019-12-12 18:27:40
问题 Im trying to follow this code sample from microsoft, who is a basic code for sending/receiving data over network from windows 10 computer/phone. Im on VS2015, i have a phone on W10 and my computer also. The problem is that my application seems to create packet and send one to establish the connection (i have seen this packet with wireshark), but i never received it on the server side. Here is code to listen port from the actual internet connection available and wait for a connection : public

Wrong alignment of ContextMenu and Popup WPF controls on Windows 10

喜欢而已 提交于 2019-12-12 17:46:03
问题 It's really strange problem which I hope somebody knows how to solve. Situation: Our WPF project has a form on which we show context menus (ContextMenu control) and popups (Popup control) in response on some user actions. In most cases it happens on mouse click on some text block. Here is an example: popup = new Popup { Placement = PlacementMode.Relative, PlacementTarget = textBlock, StaysOpen = false }; . . . . . //later on mouse click: popup.IsOpen = true; The popup must appear aligned to

Hyper-V W10 (Host) Ubuntu 18.04 (Guest): Why does enhanced session mode not work?

倾然丶 夕夏残阳落幕 提交于 2019-12-12 14:08:32
问题 I have installed Ubuntu 18.04 as a guest system on a Windows 10 host system using Hyper-V and I want to use the guest system in full-screen mode. To resize the screen as far as I have learned I need to run the guest system in enhanced session mode. If I am connecting to the guest system it neither lets me choose the screen size nor activate the Enhanced Session Mode. Enhanced Session Mode (User) and Enhanced Session Mode Policy (Server) are activated under the Hyper-V Settings. I have also

Intellij Idea Terminal shortcut not working

佐手、 提交于 2019-12-12 13:43:29
问题 I am currently using Intellij Idea 2016.2.4 and running on Windows 10. I have noticed that the Alt+F12 command for opening the Terminal and the Alt+F7 command for Finding Usages of a particular method have both stopped working. I have tried the following: File -> Invalidate Caches and Restart Re-import project Change Keymap scheme Reinstall Intellij (no settings were kept) It seems that Windows 10 is somehow using the Alt+F12 and Alt+F7 key combinations for some other shortcut. Is this any

How to back up anaconda environment in Windows 10?

那年仲夏 提交于 2019-12-12 13:04:23
问题 Recently, my anaconda environment got broken due to certain bad conda package upgrade. Due to this back experience, I would like to back up my anaconda environment for future easy recovery. What I did to back up was to zip up the entire folder at C:\ProgramData\Anaconda3 . Is this the correct way? I am using Windows 10, anaconda python v3.6 64-bit. 回答1: It doesn't really make sense to zip up a conda environment for back up purposes since there are other ways to do this which may be more

HTML Parser for Windows 10 (UWP)

我们两清 提交于 2019-12-12 12:46:57
问题 Is there any HTML parser using X-Path for UWP - Windows 10? What's the easy/best way of exploring HTML in Windows 10 ? 回答1: Solution 1: Install-Package HtmlAgilityPack https://www.nuget.org/packages/HtmlAgilityPack/ Solution 2: Parsing Html private async void Parsing(string website) { try { HttpClient http = new HttpClient(); var response = await http.GetByteArrayAsync(website); String source = Encoding.GetEncoding("utf-8").GetString(response, 0, response.Length - 1); source = WebUtility

Target code for a specific version of Windows 10, like Build 10586

纵饮孤独 提交于 2019-12-12 12:27:51
问题 As you know ElementCompositionPreview.GetElementVisual is accessible on Windows 10 Build 10586, I would like to have one application that can target both Build 10586 and Build 10240. Does anyone have an idea of how I could use Compositor and ElementCompositionPreview.GetElementVisual when the application is running on Build 10586 and something else when it is running the build 10240. Something like this: #if WINDOWS_UWP Build 10586 _compositor = new Compositor(); _root =

Can I install IE7 and IE8 in Windows 10?

大城市里の小女人 提交于 2019-12-12 10:55:49
问题 I'm using Windows 10 and IE 11. I wanna install IE7 and IE8 to test javascript. I followed these links to download IE7 - IE8: https://www.microsoft.com/en-us/download/internet-explorer-7-details.aspx https://www.microsoft.com/en-us/download/internet-explorer-8-details.aspx But, the page gave me error message: Internet Explorer 7(8) is not compatible with your system. You are running Windows 10 64-bit. Although Internet Explorer 7(8) will not run on your system, you can download Internet