How can I compare (directory) paths in C#?

If I have two DirectoryInfo objects, how can I compare them for semantic equality? For example, the following paths should all be considered equal to...

Optimize managed to native calls

What can be done to speed up calling native methods from managed code? I'm writing a program which needs to be able to manage arbitrarily-sized lists of objects and retrieve information from them...

Deploying Projects on EC2 vs. Windows Azure

I've been working with Windows Azure and Amazon Web Services EC2 for a good many months now (almost getting to the years range) and I've seen something over and over that seems troubling. When I...

How to get multi table results of an stored procedure using SimpleJDBCCall in spring?

I'm implementing a Spring+ MSSQL Server 2008 application. I use SimpleJDBCCall API to execute stored procedures and retrieve results. For stored procedures with mono table results, it works fine,...

c# mono raspberry pi GPIO with Raspberry# getting Operation is not valid

I'm trying to use Raspberry# library to perform basic task whith GPIO pin on Raspberry PI (on and off). As per example on github:...

"configure: error: mcs Not found" during configure mono-addins on CentOS

I'm trying to install MonoDevelop 4 on CentOS 7 as described in this post: https://stackoverflow.com/questions/16900575/install-mono-and-monodevelop-on-centos-5-x-6-x/17034163#17034163, but when...

Could not find the preLaunch task 'build'

To configure Visual Studio Code to debug C# scripts on OSX, I followed through all the steps listed in the article below: Debugging C# on OSX with Visual Studio Code When I tried to debug the...

How to pass a delegate or function pointer from C# to C++ and call it there using InternalCall

I have the following setup in C#: public delegate void CallbackDelegate(string message); [MethodImplAttribute(MethodImplOptions.InternalCall)] public static extern void...

Xamarin.Forms ListView ItemsSource - Async Update NullReferenceException

I’m having trouble updating the ItemsSource on a listview after it has been laid out. I’m using an asynchronous call to a web service to populate the table, and it works fine if I await...

Convert from Flux to Mono

How can I convert from a Flux with 1 element to a Mono? Flux.fromArray(arrayOf(1,2,1,1,1,2)) .distinct() .take(1) How do I make this a Mono(1)?

Asterisk MixMonitor records the two legs different in length

I am trying to record calls in Stereo using MixMonitor to record and sox to mix the two legs into one stereo wav file. At the end of each call there are 4 files: 1) Caller recording, (Mixmonitor...

Building & running headless unity3D game in ubuntu docker container

I was trying to find a way how to build and run my game from a Ubunty-based linux container just using command line. Even though I was able to find few containers on DockerHub, neither of them...

ngRx inherited Effects classes not working

I have two applications in a mono-repo, one will be a free subset of the other, so all of the functionality in the free one is included in the not-free one. I'm trying to set up my Effects so that...

Unity - A scripted object has a different serialization layout when loading error

The game has run on my iPhone 8 Plus before, and it has worked with no issues up until now. Now I get the following output in Xcode during the app's runtime: 2019-03-25 02:16:01.659981+0000...

Unity IL2CPP Error : section name section has wrong type: 2621440

I'm trying to build my game to android 64 bit with Unity 2018.3.3, but IL2CPP crashes ! every thing works fine when I build with Mono but it only give 32 bit apk ! When I build an Empty Project...

JsonSerializationException: Unable to find a constructor for unity webgl build

I serialize a class in an azure function app and collect it via response to post in Unity3d. It's a WebGL project and it works fine on Editor but throws exception on browser...

Pip Pythonnet option --single-version-externally-managed not recognized

Trying to install pythonnet 2.4.0 on Ubuntu 18.04 Bionic on Windows WSL, I get following error. Mono version installed is 5.20.1.34 and Python 3.6 ---------------------------------------- Failed...

GitOps - Config in same repo or seperate repo?

Firstly this is in the context of a mono-repo application that runs inside Kubernetes. In GitOps my understanding is everything is declarative and written in configuration files such as YAML. This...

How to properly implement microsoft text to speech in PHP

Am trying to implement microsoft text to speech in php by following the tutorials in the link below. Microsoft API Link here is the API Sample post request POST /cognitiveservices/v1...

Spring Webflux - reactive repository saveAll(Iterable<S>) vs saveAll(Publisher<S>)

Small question about the webflux reactive repository, especially about the methods saveAll Flux saveAll(Iterable var1); versus Flux saveAll(Publisher var1); Wanted to compare, I wrote the...

How to validate/process the Spring WebClient response?

So the app flow is like: Spring app receives the request -> {"id": "UUID"} Calls the external web service using the WebClient Validate the response received in step 2 from WebClient. Return true...

Visual Studio 2019 Live Unit Testing Crashes

I'm trying to use Live Unit Testing with my nUnit tests, but it crashes every time I start it. It crashes whether I start it manually or on solution load. I've restarted VS multiple times,...

Blazor running in VS2019 works in debug but not release

I'm developing a blazor application using VS 2019. The app works great in debug mode - it compiles builds and runs without an issue. But I switch to Release or try to publish the app using the...

i got crash when record : "required condition is false: format.sampleRate == hwFormat.sampleRate" afterweb rtc call

my record work normally, but the problem is after WebRTC call, i got crash required condition is false: format.sampleRate == hwFormat.sampleRate here is how i start crash and installTap: func...

Fontsize in custom class with XeLatex and fontspec

I'm working on a couple of latex templates that belong together (letter, article, report). I've achieved nearly all my objectives except for a single one, having the font size change using the...

How to wrap a Mono in an outer Mono with timeout?

I have a method that returns an async Mono. It could be a long running webservice call, database lookup, or whatever. Now I want to set a maximum timeout of that long running method of 60s. After...

Unity 2020.3.xx Gradle build failed

I've been working some android unity project but when i try to build i got some Errors Here is one; **Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for...

react-hook-form not working when onSubmit called

I'm trying to have react forms save and then update some user settings. import React, { useState, useEffect } from "react"; import Dropdown from "components/Settings/Preferences/Dropdown"; import...

Blazor .Net 6.0 Hot Reload

I have an asp.net hosted blazor wasm app that I just upgraded from 5.0 to 6.0. When trying hot reload either from VS 2022 or from dotnet watch run I get the following error in the browser...

Springboot 2.6.0 / Spring fox 3 - Failed to start bean 'documentationPluginsBootstrapper'

I'm trying to initiate a Springboot project using Open Jdk 15, Springboot 2.6.0, Springfox 3. We are working on a project that replaced Netty as the webserver and used Jetty instead because we do...