All Questions

2
answers

Simultaneous calls in RESTful service

Hello, I am having doubts on how to make fun calls (about 100) simultaneous on a REST service. The code example I have is the following: using (var http = new HttpClient { BaseAddress = new Uri("some url") }) { using (var httpContent =...
asked on 13.09.2017 / 05:52
1
answer

C ++: Adding ".cpp" implementations in Visual Studio and GCC

In C ++, what you observe in a quick internet search is the guideline that only ".h" files should be included. A sample of this can be seen here and especially here . In Visual Studio, adding only ".h" with #include ... is not a pr...
asked on 05.10.2017 / 03:43
1
answer

Losing image quality when resizing in pygame

I have some card images in size 140x190 and I'm using the pygame.trnasform.scale method to resize to 105x143 which is a proportional value. But it is losing quality, whereas the images of verses that are basically a background color and a...
asked on 28.10.2017 / 16:06
1
answer

query executes in bank but in project points error

I have a query native: SELECT dist.nome Distrito, enti.nome Entidade, dist.id_distrito, dist.codigo_dne, dist.id_entidade, dist.id_municipio, dist.id_uf, dist.flag_ativo, muni.nome Municipio, unfe.nome UF...
asked on 05.10.2017 / 13:52
1
answer

How to return 2 objects at the same time in a method in Java?

public class Equacao2Grau { int a, b, c; public int CalculoDelta(){ return (int) (Math.pow(b, 2) - 4*a*c); } public int FormulaQuadratica(){ int x1 = (int) (-b + Math.sqrt(CalculoDelta(...
asked on 12.09.2017 / 21:48
1
answer

Formatting chart values using Syncfusion for Xamarin Forms

I'm using Syncfusion to create graphics in Xamarin Forms . By studying the documentation , I could not find a way to format the values in my chart, example: IwantthesevaluesformattedforBraziliancurrency:October-R$14,421.52Doesanyonek...
asked on 04.10.2017 / 15:47
1
answer

JavaScript alert Does not work in Firefox and Chrome

I'm trying to generate a wrong password alert in JavaScript. It is for a web application that works in .NET. This alert works in IE, but we're porting the system and wanted it to work in both IE and Firefox and Chrome. ClientScript.RegisterSta...
asked on 18.10.2017 / 18:28
1
answer

Pick up Strings from other Activitys [closed]

How do I get a String, or more, from another Activity, and then use it in another Activity, does anyone there know how to tell me?     
asked on 24.10.2017 / 05:40
1
answer

Problem using $ _SESSION in PHP 7.1.10

I have two servers running PHP, one in the 5.4.45 version and another 7.1.10 . When running the files below in the same url, only the older version of PHP shows the values of the "Test" session. In the 7.1.10 version the Array is empty....
asked on 24.10.2017 / 03:41
1
answer

Bind by position in SQL Server using Node JS (MSSQL)

I would like to know if you can bind the parameters by position instead of the name using mssql in NodeJS. Ex: //Por nome return pool.request() .input('input_parameter1', sql.Int, 10) .input('input_parameter2', sql.Int, 20) .query('select *...
asked on 01.11.2017 / 13:55