Interesting questions
-
0
votes0
answers36
viewsBug while running program in Pygame
I have a problem creating the game menu. What happens is that when I create the function draw_text, the program is on black screen and I notice that it shows nothing on the screen causing it not to…
-
0
votes4
answers183
viewsPdostatement::rowCount returns -1
I need to know how many records were entered in the query below. public function CadastraCliente() { $this->conn->beginTransaction(); try { $stmt = $this->conn->prepare(" INSERT INTO…
-
6
votes1
answer179
viewsWhat are digraphs in C?
Based on the question of graphs, what are digraphs? Why were they created? What are the sequences? Current compilers still allow you to use them?…
-
1
votes1
answer144
viewsCorrupted file while copying from one folder to another
I am locating and saving the files in a listbox1, as follows: procedure Localizar(DIR,ARQ: string; LIST: TStrings); var SR: TSearchRec; begin {Garante a barra no final do diretório} if…
-
-2
votes1
answer125
viewsCSS does not load after publication in Azure
I published an Asp.Net Core 2.1 application in Azure, but the CSS does not work, so the application is all messed up. In development environment, my application works normally. I noticed in devtools…
-
1
votes1
answer130
viewsWhy does this goroutin loop just repeat the last value?
This loop is always repeating the last value, consider the following: type unique struct { id, nonce uint64 } func (unique *unique) print() { fmt.Println(unique.id) } func main() { teste :=…
-
1
votes1
answer1419
viewsAccess a specific row and column from a C#list
How do I make a multidimensional list, and that I can add elements like this: List<List<String>> listaMultidimensional = new List<List<string>>();…
-
1
votes0
answers184
viewsError message when adding data in the form generated in the Phreeze framework
In all applications generated using the PHP Phreeze framework in local environment (Xampp), when adding a record through the form, which was also generated, the following error message is obtained…
-
0
votes1
answer100
viewsError while running Gradle
I’m not able to run a project in Android Studio. The project compiles normally, but when I try to run it the Following error occurs in the Gradle console:…
-
4
votes3
answers8495
viewsSimulate click when opening the page
There is way, when someone enters a website, a Javascript event "simulate" a click? In other words, Javascript click on the site automatically as soon as the person enters. In case I have an…
javascriptasked 10 years, 10 months ago Gonçalo 2,525 -
1
votes2
answers1038
viewsChange the div border and at the same time show the value in another HTML tag
I have a div that I’ll change the value borderRadius and she’ll round it up. And I have a input who’s kind range to control the rounding value. And at the same time I will display the value of range…
-
1
votes1
answer262
viewsGET 500 (Internal error) PHP
Good morning, I wrote a PHP class <?php private $v; private $v2; private $v3; public function __construct(){ printf("Objeto criado com sucesso!"); } public function setValor(){ $this->$v =…
-
2
votes1
answer88
viewsDifferent variable value in sub-select
I have the following query: SET @VAR = 'N'; SELECT 'TESTE1','OI',@VAR := 'S' AS T UNION ALL SELECT 'TESTE2','OI',@VAR AS T UNION ALL SELECT * FROM ( SELECT 'TESTE3','OI',@VAR AS T ) AS TAB UNION ALL…
mysqlasked 8 years, 9 months ago Cleber Griff 668 -
1
votes1
answer102
viewsSelect menu when clicking
I would like to create a javascript function that when the user clicks on some menu item it gets active, I did some research on the internet but could not play in my code. <nav…
-
2
votes1
answer863
viewsAre Keras and Tensorflow the same thing?
I walked vulture some tutorials of Tensorflow lately and I realized that the error reduction models, the interleaved mapping and normalization models and the layers models themselves of a neural…
-
0
votes1
answer240
viewsRun sh in java
I am trying to run a file in java with the following command System.out.println("Linux"); String[] env = {"PATH=/bin:/usr/bin/"}; String cmd = System.getProperty( "user.dir" ) +…
-
2
votes3
answers279
viewsIs there any way to replace these ifs?
if(inputUsuario >= 16.15 && inputUsuario < 16.20){ inputUsuario = 16.20; } if(inputUsuario >= 16.00 && inputUsuario < 16.15){ inputUsuario = 16.15; } if(inputUsuario…
-
0
votes1
answer57
viewsPerformance issues with Asp.Net Core 2.1?
I have an API written in Asp.Net Core 2.1 and I have some performance problem, I am not able to understand if the problem is in the code or the server. The problem boils down to the following, I…
api performance iis entity-framework-core asp-net-coreasked 5 years, 10 months ago Renner Oliveira 23 -
0
votes1
answer72
viewsHow to hide blocks for a route when going to a sub-route
I am using Ember 2 and things are complicated for those who have no Ember experience. I have the following routes consultas\ consultas\reserva And on my router.js is like this…
-
3
votes3
answers7306
viewsCheck if a process is not running and then run it
I need to run a certain command via terminal. However, this command should only be run if the terminal process is not running. If it is running, there is no need to do any other operation. How to do…