Angular 2 beta.17: Property 'map' does not exist on type 'Observable<Response>'

I just upgraded from Angular 2 to , which in turn requires rxjs 5.0.0-beta.6. (Changelog here: [https://github.com/angular/angular/blob/master/CHANGELOG.md#200-beta17-2016-04-28](https://github.com/a...

18 Sep at 12:9

Dapper Parameter replace not working for Top

This is my sql ``` var maxLimit =100; var sql = "Select Top @MaxLimit from Table WHere data =@Id" conn.Query<Result>(sql, new { Id = customerId, MaxLimit = maxLimit ...

29 Apr at 20:31

Keras model.summary() result - Understanding the # of Parameters

I have a simple NN model for detecting hand-written digits from a 28x28px image written in python using Keras (Theano backend): ``` model0 = Sequential() #number of epochs to train for nb_epoch = 12...

Using Windows Authentication in ASP.NET

I'm trying to use Windows Authentication in my ASP.NET application. Whenever I try to view the app it sends me to a login page. How can I make it work without having to manually login via the browser?...

Alternative solution to HostingEnvironment.QueueBackgroundWorkItem in .NET Core

We are working with .NET Core Web Api, and looking for a lightweight solution to log requests with variable intensity into database, but don't want client's to wait for the saving process. Unfortunate...

Nuget Package ... does not exist in project ... Package ... Already exists in folder

I've been fighting with this error for several hours and can't come up with a solution that works. I have an ASP.Net API within a multi-project solution which has its references/dependencies improper...

Using ASP.NET Core's ConfigurationBuilder in a Test Project

I want to use the `IHostingEnvironment` and `ConfigurationBuilder` in my functional test project, so that depending on the environment the functional tests run using a different set of configuration. ...

Web Service template missing from Visual Studio 2015 Professional

I've been tasked with creating a custom web service for a client solution. I've recently installed Visual Studio Pro 2015 and I can't seem to find the template for an .asmx Web Service. I remember it ...

Why use async with QueueBackgroundWorkItem?

What is the benefit of using `async` with the ASP.NET `QueueBackgroundWorkItem` method? ``` HostingEnvironment.QueueBackgroundWorkItem(async cancellationToken => { var result = await LongRunningM...

How to get response from S3 getObject in Node.js?

In a Node.js project I am attempting to get data back from S3. When I use `getSignedURL`, everything works: ``` aws.getSignedUrl('getObject', params, function(err, url){ console.log(url); });...

How can I generate a self-signed cert without using obsolete BouncyCastle 1.7.0 code?

I have the following code which generates a nice self-signed cert, works great, but I'd like to update to the latest BouncyCastle (1.8.1.0) and I'm getting warnings about obsolete usage: ``` var pers...

29 Apr at 15:21

Testing properties with private setters

Currently in a part of my project a domain object like below exists: ``` public class Address { public virtual string HouseName { get; set; } public virtual string HouseNumber { get; set; } ...

Getting DefaultNetworkCredentials to pass through to WCF Service

I have a WCF service I have created in a WebApplication with the following configuration in web.config ``` <service name="RedwebServerManager.WebApplication.DesktopService" behaviorConfigu...

29 Apr at 11:0

How do I install a pip package globally instead of locally?

I am trying to install flake8 package using pip3 and it seems that it refuses to install because is already installed in one local location. How can I force it to install globally (system level)? `...

29 Apr at 12:51

How to convert numpy arrays to standard TensorFlow format?

I have two numpy arrays: - - What shape do the numpy arrays need to have? Additional Info - My images are 60 (height) by 160 (width) pixels each and each of them have 5 alphanumeric characters....

Error in blob's returned coordinates

I am trying to detect and crop a photo out of a blank page, at unknown random locations using AForge, following the article [Here](http://www.aforgenet.com/articles/shape_checker/) I have downloaded ...

28 Apr at 20:51

How to run bootRun with spring profile via gradle task

I'm trying to set up gradle to launch the `bootRun` process with various spring profiles enabled. My current `bootRun` configuration looks like: ``` bootRun { // pass command line options from ...

28 Apr at 18:57

How to make a ReadOnlyCollection from a HashSet without copying the elements?

I have a private `HashSet<string>` which is the backing field of a read-only property which should return a read-only collection such that callers cannot modify the collection. So I tried to: ``` pub...

28 Apr at 18:51

Truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all()

I want to filter my dataframe with an `or` condition to keep rows with a particular column's values that are outside the range `[-0.25, 0.25]`. I tried: ``` df = df[(df['col'] < -0.25) or (df['col'] >...

Can you have an interface be dependent on a class?

I'm studying SOLID principles and have a question about dependency management in relation to interfaces. An example from the book I'm reading ( by Gary McLean Hall) shows a `TradeProcessor` class tha...

Angular 2 - View not updating after model changes

I have a simple component which calls a REST api every few seconds and receives back some JSON data. I can see from my log statements and the network traffic that the JSON data being returned is chan...

26 Jan at 10:38

Bluetooth Pairing (SSP) on Windows 10 with 32feet.NET

I've just started a project that will require me to pair a Windows 10 tablet with another bluetooth device. I decided to start with a simple windows forms app to familiarise myself with the process. ...

16 Jul at 16:46

How can I generate a tsconfig.json file?

How can I generate a `tsconfig.json` via the command line? I tried command `tsc init`, but this doesn't work.

21 Apr at 23:12

Issue with ORM Lite Composite Key Workaround

I am implementing the composite key workaround suggested here: [https://github.com/ServiceStack/ServiceStack.OrmLite/#limitations](https://github.com/ServiceStack/ServiceStack.OrmLite/#limitations) ...

28 Apr at 13:27

Combine Web API 2 and Service Stack in one app

I am developing an application with Angular 1.5 and Web API 2, but I would like to switch to ServiceStack. The app is running already in production. The idea is to have v1 with Web API (.../api/v1/.....

28 Apr at 13:5