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...
- Modified
- 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 ...
- Modified
- 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...
- Modified
- 10 Jul at 09:1
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?...
- Modified
- 8 May at 20:34
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...
- Modified
- 15 Aug at 15:44
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...
- Modified
- 29 Apr at 17:38
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. ...
- Modified
- 1 May at 00:57
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 ...
- Modified
- 15 Jun at 07:56
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...
- Modified
- 29 Apr at 20:15
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); });...
- Modified
- 2 Oct at 11:8
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...
- Modified
- 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; } ...
- Modified
- 29 Apr at 12:51
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...
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)? `...
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....
- Modified
- 11 Jul at 06:44
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 ...
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 ...
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...
- Modified
- 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...
- Modified
- 28 Apr at 16:31
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...
- Modified
- 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. ...
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.
- Modified
- 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) ...
- Modified
- 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/.....
- Modified
- 28 Apr at 13:5