React-Native Button style not work

# Import_this ``` import {AppRegistry, Text, View, Button, StyleSheet} from 'react-native'; ``` This my React Button code But style not working Hare ... ``` <Button onPress={this.onPress.bi...

The "ResolveLibraryProjectImports" task failed unexpectedly

I have a Xamarin project, which is based on `MvvmCross`. The project is for both iOS and Android. I opened this project in Visual Studio 15. I got some errors, which I solved in no time. There are som...

How to create a hyperlink in Flutter widget?

I would like to create a hyperlink to display in my Flutter app. The hyper link should be embedded in a `Text` or similar text views like: `The last book bought is <a href='#'>this</a>` Any hint t...

24 Apr at 08:40

Spring boot: Unable to start embedded Tomcat servlet container

I'm new to Spring Boot and having with error while running my application. I'm following a tutorial and I believe I'm having proper parent and dependencies with POM, please help me main class: ``` ...

AWS Lambda: Task timed out

We have been asked for my school project to write a Java code that runs in AWS Lambda. It is supposed to get the source code of the specific URLs and then upload it to an S3 bucket. The Java code shou...

24 Apr at 00:50

Visual Studio Code Search and Replace with Regular Expressions

I want to use "Search And Replace" in Visual Studio Code to change every instance of `<h1>content</h1>` to `#### content` within a document using a Regular Expression. How can I accomplish that?

8 Aug at 11:17

Why doesn't returning by ref work for elements of collections?

The following example of returning by reference is from [What’s New in C# 7.0](https://blogs.msdn.microsoft.com/dotnet/2016/08/24/whats-new-in-csharp-7-0/): ``` public ref int Find(int number, int[] ...

23 Apr at 23:6

Visual Studio Code pylint: Unable to import 'protorpc'

I'm using [pylint](https://github.com/DonJayamanne/pythonVSCode/wiki/Linting#pylint) in [Visual Studio Code](https://code.visualstudio.com/) to develop a Google App Engine (GAE) [Cloud Endpoint API in...

Authorization in ASP.NET Core. Always 401 Unauthorized for [Authorize] attribute

For the first time I'm creating Authorization in ASP.NET Core. I used tutorial from here [TUTORIAL](https://dev.to/samueleresca/developing-token-authentication-using-aspnet-core) The problem is when ...

How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

I have some code that uses JAXB API classes which have been provided as a part of the JDK in Java 6/7/8. When I run the same code with Java 9, at runtime I get errors indicating that JAXB classes can...

1 Mar at 12:45

Put request with simple string as request body

When I execute the following code from my browser the server gives me 400 and complains that the request body is missing. Anybody got a clue about how I can pass a simple string and have it send as th...

2 Mar at 11:21

Sort an array of objects in React and render them

I have an array of objects containing some information. I am not able to render them in the order I want and I need some help with that. I render them like this: ``` this.state.data.map( (i...

28 Feb at 08:24

Error (-215) size.width>0 && size.height>0 occurred when attempting to display an image using OpenCV

I am trying to run a simple program that reads an image from OpenCV. However, I am getting this error: ``` error: ......\modules\highgui\src\window.cpp:281: error: (-215) size.width>0 && size.height>...

24 Apr at 11:53

Unable to start Docker service with error "Failed to start docker.service: Unit not found."

I have installed Docker with `yum install docker`: ``` $ uname -a Linux caspgval4 3.10.0-229.20.1.el7.x86_64 #1 SMP Wed Nov 4 10:08:36 CST 2015 x86_64 x86_64 x86_64 GNU/Linux $ docker --version Dock...

1 Aug at 18:55

Why Entity Framework performs faster than Dapper in direct select statement

I'm new to using ORM in dealing with database, Currently I'm making a new project and I have to decide if i'll use Entity Framework or Dapper. I read many articles which says that Dapper is faster tha...

24 Dec at 14:3

How can I enable VIM for mac in Visual Studio?

I just got Visual Studio for my Mac. Although in Beta, it seems nice. Unfortunately, I can't seem to figure out where VIM could be. I've searched the marketplace, but cannot load any file or extension...

23 Apr at 09:13

Name ValueTuple properties when creating with new

I know I can name parameters when I create a tuple implicitly like: ``` var me = (age: 21, favoriteFood: "Custard"); ``` Is it possible to name parameters when a tuple is created explicitly? i.e. ...

23 Apr at 16:18

OrmLite db.Select not return response

I use Servietack and OrmLite in our project. When the request (Db.Select) is sent, after much time, no response return. ``` public object Get(GetCategoryNews request) { var PageCo...

25 Apr at 19:16

Display error message on the view from controller asp.net mvc 5

I am new to web development and trying to learn ASP.Net MVC 5. I am looking for one record in database if the record is not found then I want to display an error message to the user. Below is my attem...

22 Apr at 15:46

How to add .Net framework prerequisite to setup install

I have a C# WinForms project in MS Visual Studio . I have added a Visual Studio Installer Setup Wizard Project to create an installer for my application. This is my first time using an installer proje...

How to call ajax in Wordpress

My ajax call output is always showing 0 as output don't know why In `functions.php` I have this code ``` function get_data() { $abc = '1'; $result = $wpdb->get_results("SELECT * FROM ".$wpd...

24 Mar at 11:33

Angular 4: How to include Bootstrap?

I'm a backend developer and I'm just playing around with Angular4. So I did this installation tutorial: [https://www.youtube.com/watch?v=cdlbFEsAGXo](https://www.youtube.com/watch?v=cdlbFEsAGXo). Giv...

22 Aug at 18:33

Reading settings from a Azure Function

I'm new to [Azure's function](https://learn.microsoft.com/en-us/azure/azure-functions/)... I've created a new timer function (will be fired every 30 minutes) and it has to perform a query on a URL, th...

30 Nov at 16:13

Failed form propType: You provided a `value` prop to a form field without an `onChange` handler

When I load my react app I get this error in the console. > Warning: Failed form propType: You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only ...

22 Apr at 06:50

How do you run unit tests for a specific target framework in Visual Studio 2017/2019?

I am really loving the new `.csproj` format. It is so much better than that dreaded (limited) `project.json`. However, there is one thing that I am trying to work out. I have merged my (multiple) tes...