Interesting questions
-
-1
votes1
answer210
viewsVariable pom.xml that shows the location of the file
I use Ubuntu 18.04. My project is on an NTFS partition. I need to know which variable shows the location the pom.xml file is in. I’m using the ${basic} variable, but it’s not showing where the…
-
0
votes1
answer20
viewsChild class does not recognize protected mother class variable
I have a user class that does not see protected variable of the class that it inherits the code is as follows abstract class Model{ protected $conn; public function __construct(){ $conn =…
-
1
votes1
answer849
viewsError executing query in Postgresql
After executing this query: SELECT p.name as nomerecebe, r.created_at as datarecebimento, r.original_amount as valorboleto, rs.name as statusr, SUM(r.original_amount) as total FROM people as p,…
-
1
votes1
answer186
viewsCreate alias for columns of a table in Laravel
Is it possible to create alias for the columns name of a table in using the Laravel Model? Example: I have a table questao with the columns: id questao disciplinas_id serie_id professor_id It would…
-
0
votes2
answers103
viewsMy container with Springboot is climbing before the container with Mysql finishes climbing
Docker-Compose.yml version: '3.5' services: marvel-api: build: my-api container_name: my-api depends_on: - my-api-bd restart: always ports: - 8080:8080 my-api-bd: build: my-api-bd restart: always…
-
0
votes1
answer737
viewsjavascript - Uncaught Typeerror: Cannot read Property 'Odd' of Undefined
Hello! In my Javascript code I get the following error: "Uncaught Typeerror: Cannot read Property 'Odd' of Undefined" Since I’m new in the area, I don’t quite understand how to solve the problem,…
javascriptasked 7 years, 11 months ago Joana 13 -
-2
votes2
answers114
viewsMost efficient algorithm to find indices of the 2 elements of a list whose sum is equal to a certain value
The Challenge is simple, find two numbers from a given list that if summed result in a specific number and return the index of those numbers. That I solved, the problem is that in addition the…
-
0
votes1
answer40
viewsHow to identify if one observation is in the same group as another?
I have a date.frame with the columns: cnpj_root, id_m_f, municipio and Uf I need to check the amount of cnpj_root that exists in each municipality and check if the matrix (1) is in the same…
-
10
votes1
answer187
viewsHow to identify an invalid graph for operator allocation problem per machine?
Recently I was answering a question (Machine Scheduling - Graph Theory), but there was an open problem that I could not solve: Given any graph, identify if it is valid for the operator allocation…
-
1
votes0
answers29
viewsError using google sheets
A Google Sheets user made a call with an error in the use of Google Sheets. He worked with someone else’s shared spreadsheet and had full permission on the document. As she no longer needed to share…
-
-1
votes1
answer75
viewsChar matrix reference error
I’m trying to make a code for questions, however he error, I believe it’s time to pass the matrix by reference. Code to follow: #include <stdio.h> #include <stdlib.h> #include…
-
4
votes4
answers6834
viewsFind character in string
How to find the position of a given character, where the string has many of these characters in the same string, for example: find the 3rd letter X in the string Y. some way to accomplish this?…
-
0
votes0
answers59
viewsHow to Get a Non-expert PDF on the Web using PHP
Well, I’m trying to make use of a PDF through your link. I’m using a library called PDF Parser. The problem is that the PDF does not have a direct link. When accessing the link, a key is passed as…
-
0
votes1
answer47
viewsUncaught Typeerror: $(...). removeClass(...). affix is not a Function at Htmldocument.<Anonymous>
I have the problem in jQuery, tells me that affix is not a function, I have done everything I know and more and yet I could not fix it. Can help me? jQuery(document).ready(function($){ if (…
jqueryasked 7 years, 9 months ago Isaac Sánchez Spagnol 1 -
3
votes1
answer94
viewsCheck between date ranges?
Table Ciclos: I have the date 2018-07-05 How could I ride a query between the intervals of CiDtIni and CiDtFim according to the date above?…
sql-serverasked 7 years, 11 months ago Igor Carreiro 1,917 -
2
votes1
answer851
viewsTotal and subtotal in Django template using lists
How do I calculate the subtotal and total per store (store) in the view to play the results in the template? In this case I’m using lists. def quotation_list(request): stores =…
-
0
votes2
answers133
viewsTreatment JSON
Through JQUERY, I need to make a request via POST where I’ll get a JSON with a token. The JSON return I get after sending the POST is this: { "Token": "e27bb0a7-e65b-4cc3-a82e-7a2a3c26a248",…
-
1
votes1
answer609
viewsUpdate modal content dynamically
I have a table with up to 10 services listed, and each row has a refresh button. By clicking the refresh button, a modal window opens with the data of this line, as well as a form for change.…
-
1
votes1
answer235
viewsHow to sort a python dictionary in descending order?
How can I order this dictionary so that it is in descending order: dict= {'1': array([44, 32, 56, 57, 43, 21, 36, 35, 39, 27, 23, 24, 25, 26, 31, 28, 29, 30, 20, 22, 18, 19, 8, 1, 33, 2, 3, 4, 0, 6,…
-
0
votes1
answer233
viewsHow to use the Google Maps API on a Windows Form in c#?
I’m having trouble with how to do that. My TCC has a tab where there are some addresses (Label), where, when clicking, I want the address to appear in Maps. I’ve thought about using Webbrowser, but…