Interesting questions
-
-3
votes1
answer1085
viewsUse of python Return
def repita(): x = 2 while n % x != 0: x += 1 repeat() while n > 1: n = n / x #aqui se encontra o primeiro problema, já que "n" não é reconhecido fora da função x += 1 if n % x != 0:#mesmo…
-
1
votes1
answer333
viewsHow to install Imagemagick in windows 7 [ 32 bits ]?
How do I install and configure ImageMagick in the windows 7 [ 32 bits ], and how do I put the commands on it? In my case, I need to put the remote: $ mkdir -p resultado $ mogrify -path resultado…
asked 11 years, 9 months ago Alexandre Lopes 2,769 -
0
votes1
answer498
viewsSerialization Localdatetime
I am trying to serialize an object that has a date with the Localdatetime class using Spring Boot, but the following error: 2016-10-09 18:28:26.218 WARN 17395 --- [ XNIO-2 task-2]…
-
-1
votes1
answer45
viewsI was able to search 1 more query in the database with PHP
I’m trying to do a search in my code, searching other fields, for example, looking for people who were registered with the mother’s name " so-and-so", but I’m not getting a logic... I can only…
-
0
votes1
answer298
viewsData in JSON format is not shown
Hello, I have the following php code: <?php require("config_local.php"); //conexao com o banco de dados $area = "eua"; $st = "ny"; $sql = $pdo->prepare("SELECT…
-
1
votes1
answer284
viewsBETWEEN with Inner Join does not work
I am having a problem when making a query using between with Internet, the query is simply not working, it returns the results as if the between was not in the query. What I’m doing wrong? SELECT *…
-
-5
votes2
answers55
viewsHow to format the date and month so that they are typed 0 in their formatting (day or month that goes from 1 to 9)?
I’m wanting to add a zero in the day and month in the date that the editData_devolucao receive. Like, instead of appearing day 05 is just 5 and in the month instead of appearing 06 appears only 6.…
-
6
votes1
answer518
viewsHow to make a program to calculate constant mathematical expressions
I have a job to build an algorithm that calculates expressions coming from a TXT file in this format. 10+20*(30)/ 25. I know this is a recursive descending analyzer, but I have no idea where to…
-
0
votes2
answers210
viewsProblems with the presentation of cshtml(Visual)
I have a cshtml, which is shown like this: A sequence of filters that are fixed. When I click search, then I get the return of a method in the controller via json by a jquery function and in the…
-
1
votes1
answer51
viewsJson how to present in a table
Good morning, I have a return in Json like this: { "dados": [ { "id": "1", "nome": "Geraldo", "login": "geraldo", "nivel": "1", "status": "1", "email": "[email protected]" }, { "id": "2", "nome":…
-
1
votes1
answer113
viewsRelationship in table with Include does not work
I can’t get my father table to include the dependent: var medicos = TabelaMedico.Include(m => m.Especialidade).ToList(); Displays the following error message: CS1660: Cannot Convert lambda…
-
1
votes1
answer82
viewsActivate the click event with a class
I’m trying to add an event click to a class that is not initially present on the page, since it is added later when the user enters the data. The element in question is this: <div class="tarefas"…
-
3
votes1
answer509
viewsTake values separated by spaces in C#?
I want to take the values, for example, 79 201 304 and store in one vector each number at one position. Example : int array[0] = 79; int array[1] = 201; int array[2] = 304; public static int…
-
2
votes1
answer47
viewsIf B is a subtype of A, why is a collection of B not a subtype of a collection of A?
Dice: public interface A { ... } public interface B extends A { ... } private Set<B> bs = new HashSet<>(); RecebeA qualquerCoisa = new RecebeA(bs); Why does the last line compile if the…
-
5
votes2
answers109
viewsHow to return to the previous state? (Vuex)
I am using Vuex to manage the states of my app and I am creating a forward button and a back, in case of my advance I use the function below: addUser() { const payload = { name: this.name, email:…
-
0
votes0
answers49
viewsDeprecationwarning in Matplotlib
Hello, I am using the version "pandas==1.0.4" and in my code below has generated the following Warning: MatplotlibDeprecationWarning: Passing the minor parameter of set_xticks() positionally is…
-
0
votes1
answer17
viewsProblem with Annotation after updating android studio
I have an implementation made with Socket.IO on android. However after I update the android studio, everything stopped working... I created routines to facilitate lib implementation, one of them is…
-
0
votes2
answers1331
viewsIntermediate vectors in C
People have to develop a code that reads the size of 2 vectors dps the elements of it (these vectors are increasing), transform into a single vector (it doesn’t have to be ordered), and then using…
-
1
votes2
answers336
viewsAndroid: Problem searching last id inserted with Sqlitedatabase (ORM Lite)
I am having a problem executing a query (with Ormlite) that adds the return to 'ultimaConfiguration' in which you should get the last 'id' inserted in the Configuration table. the method that…
-
1
votes1
answer110
viewsHow is the $Columns table structure that is referenced by the Ajax script organized when using the Datatables plugin on the server side?
I am using the Datatables plugin in PHP to list data from a database. Basically using the serverside option (https://datatables.net/examples/data_sources/server_side.html) , Voce should call a…