Interesting questions
-
0
votes1
answer13
viewsError in javaEE context-root using Jboss
I have an error project, I have error messages in the configuration files: 404 - Not Found jboos-web.xml web xml.…
-
14
votes4
answers2496
viewsPerformance of COUNT(*) and COUNT(1)
What’s the difference between COUNT(1) and COUNT(*) in an SQL query. For example: SELECT COUNT(1) FROM USUARIOS; and SELECT COUNT(*) FROM USUARIOS; Is there any difference of interactions within…
-
3
votes4
answers543
viewsVariables operating in more than one method
I tried to make a simple console calculator, only I wanted to create several methods to make it well organized. The problem is that in the method of storing the variables, it stores, but when it…
-
0
votes1
answer37
viewsI need help to create a condition to calculate the quantity of the product
The code below is with the function of adding the item by checkbox, need help so that it was by quantity, in the case of input in which the user will insert the quantity and calculate according to…
-
10
votes2
answers224
viewsWhat is the underscore ( _ ) "inside" of a Javascript number?
I realized I can use underscores (_) between numeric literals in Javascript. For example: const testA = 1_000_000_000; console.log(testA); // => 1000000000 const testB = 1000000_0 + '_0_' + 1_0;…
-
0
votes1
answer39
viewsFunction does not arrive at endpoint - Ionic 3 + Nodejs API
In an app in Ionic 3 I have this function validarCupom() that when called sends a GET to , if it has the return 200 (OK), then calls the other function setBonificacaoConveniado(). Below is the…
-
-1
votes2
answers71
viewsIs it possible to manipulate the numbers of a randint?
For example, I wanted the numbers generated by a randint were 350, 400, 450 and 500. You could do that?
python-3.xasked 7 years, 6 months ago Marcos Lorhan 103 -
1
votes2
answers622
viewsHow to Split Javascript using multiple tabs and without removing them?
I have the following Javascript code: if (v.includes("'!'")) var separators = ["\\\''", '\\\&', '\\\#', '\\\|']; else var separators = ["\\\''", '\\\'', '\\\&', '\\\#', '\\\|']; var…
-
3
votes2
answers114
viewsMethods with more than one Generic
It is possible to create a method using more than one type of Generic, sort of like this. public static TResult ToEntityForType<TResult>(this DataRow row, TType type) where TType : Type {…
-
0
votes1
answer89
viewsPlacing delete method inside a Jquery append
Guys I’m with the following situation, I make an append and inside it I need to send a delete method, to treat it in the web service I’m having doubts, I’ve tried to create a form inside, but it…
-
-1
votes1
answer92
viewsWhat’s wrong with this Python code?
So I’m learning Python from the video course and I’m in class 9, Ex23, and I’m trying (in a mathematical way) to show the numbers divided to the person, only he’s wrong, and I have no idea what to…
-
6
votes1
answer303
viewsCode block freezing and does not release Exception
I am using the Twain library for scanner,and the application lists some devices that when selecting does not work,so I debugged and saw that it does not launch the Exception I treated, and yes it…
-
-2
votes1
answer385
viewsHow to create a categorical variable in R?
I have a base with columns: USUARIO, MÊS, ANO and compra_mês. I would like to create variables dummy based on compras_mês for USUARIO, every month of the year. USUARIO MÊS ANO compras_mês…
rasked 6 years, 12 months ago Izak Mandrak 1,059 -
1
votes1
answer40
viewsHelp to query a single database user’s information with JSON
This is the code that works with the img.php file function loadContato(){ var location = $('.result_File'); var item = ""; $.getJSON("img.php", function(dado){ item += '<p>' + dado[0].username…
-
0
votes1
answer66
viewsSwift - Indicator Activity not showing
I have a code to show you activity indicator on Swift, but is not working properly. The activity indicator does not appear, even after all the code within the func de configuração is loaded…
-
4
votes2
answers805
viewsHow to define a global alias in BASH?
I’m using the Terminal in the Linux and I’m tired of repeating the same commands all the time. For example, I use a command practically all day, then I create an alias to make things easier.…
-
0
votes1
answer63
viewsHow to display different categories lists on the same page using Laravel 5.3
Good morning, I’m using Laravel 5.3, and I need to put together a page with a list of categories, and each category is a dropdown that should present the link to the products of these categories,…
-
0
votes1
answer163
viewsHow to register in Wordpress database from Advanced custom field
On my site you can insert new photo albums from the ACF. I created a table in the database that contains the album information, such as name, location, date, etc. Only I have no idea how to insert…
wordpressasked 8 years ago Lais Aguiar 25 -
37
votes8
answers3054
viewsWhen to use Waterfall and when to use Scrum?
There is a clear way to determine when a software development project should be conducted using a methodology Waterfall or use Scrum? What criteria should be observed to choose one or the other?…
-
1
votes2
answers159
viewsHow to pass the answer received by Volley to a Global variable?
Good afternoon, I was wondering how I could spend one JSONObject received in Volley for a global variable: public class ReceberObjeto { private JSONObject res; public ReceberObjeto(String URL,…