A definitive guide to API-breaking changes in .NET

I would like to gather as much information as possible regarding API versioning in .NET/CLR, and specifically how API changes do or do not break client applications. First, let's define some...

Cannot Create New Team Project TFS2010 TF249063 TF218017

Server: Windows 2008 R2 Standard Team Foundation Server 2010 WSS 3.0 TFS Configuration: Single Server instalation (including SharePoint) The following error occurs when trying to create a new team...

Class property using Python C-API

What is the best way to create class properties (as here and here) using the Python C-API? Static properties would also work in my case. Follow up: I tried to implement yak's suggestion. I defined...

Dapper Deserializing XML

If I have XML stored in an nvarchar, does Dapper (or Dapper extensions) have a means to deserialize the XML into a DataContract type or a type with XmlRoot / XmlElement annotations? If it does not...

Change Content Type for files in Azure Storage Blob

I use only Microsoft Azure Storage and no other Azure products/services. I upload files to my storage blob via ftp type client (GoodSync), and I need to change the content type of all the files...

Path extension and MIME type of file in swift

I'm learning swift , and I made a table with cells that show an image ,and classes in groups by MIME TYPE (using path extension). I had a question about extensions. If the images (for example,...

How do you format code on save in VS Code

I would like to automatically format TypeScript code using the build-in formatter when I save a file in Visual Studio Code. I'm aware of the following options, but none of them is good...

Zephir curl dependency

How to properly introduce the curl extension as a dependency? Simply trying to create an array that references constants from the curl extension like so public function __construct() { let...

PostgreSQL data provider missing from wizard in Visual Studio 2015

I've spent a day trying to migrate an Entity Framework 6 SQL Server CE to PostgreSQL. I've copied the database over fine, but I can't seem to get the data provider to work. Firstly I tried the...

Spark Sql: Loading the file from excel sheet (with extension .xlsx) can not infer the schema of a date-type column properly

I have a xlsx file containing date/time filed (My Time) in following format and sample records - 5/16/2017 12:19:00 AM 5/16/2017 12:56:00 AM 5/16/2017 1:17:00 PM 5/16/2017 5:26:00 PM 5/16/2017...

Examples of Visual Studio "GoTo Definition" for custom language?

Are there examples of implementing a custom language extension (textual DSL) in Visual Studio 2017, with support for "GoTo Definition"? It seems there is not enough flexibility in the...

`jupyterlab` doesn't recognize `nodejs` and `npm` installations

I'm having troubles installing the jupyterlab_bokeh extension. $ jupyter labextension install jupyterlab_bokeh Errored, use --debug for full output: ValueError: Please install nodejs and npm...

Using Sphinx Extension to convert svg to pdf

My company is using Sphinx to create the manuals for our products. Our products are shipped with PDF and HTML documentations. We are using Windows as a sole developer environment. A necessary...

Flutter: "Lost connection to device" error after Hot Reload

Here's the full error from the debug console: Launching lib\main.dart on Android SDK built for x86 in debug mode... Built build\app\outputs\apk\debug\app-debug.apk. I/FlutterActivityDelegate(...

logging.AddAzureWebAppDiagnostics() does not work in .net core 2.2

I've updated my project from .net core 2.1 to 2.2 and then logging.AddAzureWebAppDiagnostics() in Program.cs no longer works. public static IWebHost BuildWebHost(string[] args) => ...

Add optional parameter to Android Kotlin class

I've created an extension of DialogFragment(): class AlertDialogFragment(context: Context, val positiveButtonText: String, val...

VSCode autocomplete and IntelliSense are not working within backticks

I'm working with Gatsby project. When I type code inside backticks(`), template literals, VSCode doesn't show IntelliSense or autocomplete. I installed a bunch of snippet extensions. But that...

The type arguments for method Queryable.OrderBy cannot be inferred from the usage

I am try to create a common extension method which sorts list of object by a specific property. I am getting the below error for my code. The type arguments for method Queryable.OrderBy cannot be...

Why do I get the error: "cannot communicate with the debug host process" when attempting to execute an SSIS package?

I create a new package in SSIS and when I try to run the package, SSIS returns the following error (displayed in a Visual Studio Error Dialog): "Cannot communicate with the debug host process. ...

How to serve apple-app-site-association file on /apple-app-site-association page in ReactJS

I'm having a lot of trouble with serving a apple-app-site-association file in ReactJS project. I've searched a lot of GitHub issues pages (for ReactJS, Gatsby, and Angular), forums, and a lot of...

Receiving push notifications from iCloud on Apple Watch

I have an app that supports both iOS and watchOS. They operate on data stored in iCloud. What I am trying to do is receive notifications on the Apple Watch when data changes on the iCloud server...

React, Typescript - Cannot find module ... or its corresponding type declarations

I created a new project using create-react-app and yarn 2 in vs code. The editor throws errors while importing every installed library like this: Cannot find module 'react' or its corresponding...

To load an ES module, set "type": "module" in the package.json or use the .mjs extension

I am trying to run on desktop this repository a vscode extension. I cloned it locally and run npm install Press f5 on vscode editor and got an error Process exited with code 1 (node:1404) Warning:...

How to disable auto new-line in VS Code?

so the problem is after I've inserted Angular extension in VS Code, I constantly get across all files(.ts, .html, .css) auto new-line after typing single letter or multiple lines of code. It's...

BROWNIE - installation issue

I am trying to install Brownie and get the following error " PS C:\Python39> pip install eth-brownie Collecting eth-brownie Using cached eth_brownie-1.14.6-py3-none-any.whl (207 kB) ...

I'm getting the error message "Cannot convert input parameter" when trying to use my service bus triggered function, why?

Is there a way to create azure function that will expect object of ServiceBusReceivedMessage as parameter? like this: [Function("Function1")] public static void Run( [ServiceBusTrigger("...",...

PIP failed to build package cytoolz

I'm trying to install eth-brownie using 'pipx install eth-brownie' but I get an error saying pip failed to build package: cytoolz Some possibly relevant errors from pip install: ...

Foreign key created in shadow and appending random 1 to column name - ASP:NET EF Core

When I migrate my new models and data I get the following error for multiple foreign keys: The foreign key property 'InsurancePolicy.InsuranceSubjectID1' was created in shadow state because a...

Extension method, when called on a null object, is called on the wrong type

fun main() { val set: Set<Int>? set = null val emptySet: Set<Int> = set.orEmpty() } Can't figure out why even when explicitly typing the set variable as Set <Int>? the compiler...

Pandas ExtensionDtype / ExtensionArray custom format for to_csv

In pandas extension interface (ExtensionDtype + ExtensionArray), is it possible to use a custom formatting when calling the to_csv function on a Series or a DataFrame which contains column of such...