All Questions

2
answers

How to do autocomplete JqueryUi with PHP return multiple data?

I have two inputs , I'm using automplete in only one. The autocomplete code: $(document).ready(function() { $.getJSON('include/funcoes/carrega_cidades.php', function(data){ var dados = []; $(data).each(function(key, value...
asked on 11.12.2015 / 20:32
1
answer

How to list every day between two dates for more than one record (Oracle)

I applied an orientation of another topic and it worked cool when you only have one record in the table with the range, but I had problems when the same record has more than one date range. Using the query below: select trunc(to_date(X.DT_E...
asked on 17.05.2018 / 12:09
1
answer

SQL Server JOINS vs Subquerys

I was doing some queries, and there was a need to perform grouping of a table that was in a JOIN within the query. For example. Sales table. +----+---------+------------+----------+ | Id | Cliente | Data | Vendedor | +----+---------...
asked on 20.03.2018 / 22:13
1
answer

How to compare relative execution time of fast algorithms?

@Sack asked the following performance questions: What is the most performative way to convert an int to the sum of your digits? What is the most performative way to convert int [] to int? So far, he has got two answers to the first...
asked on 27.11.2017 / 13:35
2
answers

Node.js compile the JavaScript that runs on the server?

According to the V8 documentation, it compiles JavaScript for machine code as an optimization strategy. So, does the JavaScript running on the server via Node.js compile or interpret?     
asked on 29.03.2017 / 13:22
1
answer

Error executing main report - Jasper Studio

I am generating a report in Jasper Studio, where the main report has N sub reports, and one of those reports has a connection to a database other than the main report. When I run the main report in Jasper Studio the first time I get the follow...
asked on 24.05.2018 / 13:21
2
answers

Check if username is unique in real time

Hello, guys! Currently, to check if a user name is unique, I do the most basic. I send the POST to a PHP page that checks in MySQL, only then returns the error. cadastro.php: <form role="form" action="https://<?php print $_SERVER['HTTP...
asked on 01.11.2017 / 21:34
2
answers

What is the difference between directive and component?

It seems that in newer versions, in addition to the directive method, Angular 1 also has a method called component . I would like to understand the main differences between one and the other. What are the main differences be...
asked on 13.03.2017 / 19:21
1
answer

How to compile a Java 9 project with Lombok in Gradle?

TL; DR    How to pass multiple parameters -J--add-opens=<pacote>=ALL-UNNAMED so that Gradle uses them when invoking javac ? Details I have a HelloWorld.java code using Lombok in Java 9: import lombok.NonNull;...
asked on 14.11.2017 / 16:36
1
answer

Updating application (C #) in real time with the Database (Mysql)

I'm creating a client server application, the application would run on multiple machines using the same database (mysql) on an online server. I would like as soon as the data in a table were changed, inserted or even deleted, the other applic...
asked on 20.05.2017 / 07:31