Interesting questions
-
13
votes3
answers4221
viewsTake only the values before the character "=" using regular expression?
I have a file containing the following contents: Maringa=123123 Marialva=789789 Mandaguacu=123456 Cidadex=A341a2 How do I pick up only the characters before the =, using regular expression? I tried…
-
16
votes11
answers38715
viewsHow to check if the variable string value is number?
I am developing a program where the user type a data, then I have to check if the value is number to proceed with the operation, but if he type a non-numeric value he is alerted about the invalid…
-
-2
votes1
answer32
viewsProblem with simple circular list in C
I’m trying to make a circular list but whenever I compile this giving error. Could point me the error? #include <stdio.h> #include <stdlib.h> typedef struct lista { int info; struct…
casked 4 years, 9 months ago Guilherme Barbosa 11 -
1
votes2
answers391
viewsmysql_query returning false
I’m trying to get information from my database but it’s not returning content, only a fake boolean: require_once "config.php"; // database $sql = mysql_query("SELECT * FROM home") or die("MySQL…
-
2
votes1
answer448
viewsDecrease SQL database size [Oracle] - ORA-12953
I am working on a local Oracle XE database. But it has reached the 11 GB limit. ORA-12953: The request exceeds the maximum size allowed for the database, which is 11 GB. It turns out I deleted…
-
-2
votes1
answer19
viewsList and count results that repeat within an array
I have the following table ID| nome | Tipo 1 | Teste, João, Maria | Indicação 2 | Teste, Maria, José | Projeto de Lei 3 | Maria, José, João, Teste | Indicação 4 | Maria, João, José | Denúncia I…
-
1
votes2
answers1235
viewsHow to display mouse inactivity element?
For example, the user enters the page and, while not moving the mouse after a certain time, an element appears.
-
2
votes1
answer1344
viewsVue - How to apply a dynamic, data and data-free 'v-Mask' directive?
I’m using the v-Mask directive, but the component data is dynamic, so at certain times I use the component with mask and at other times without mask, but in the v-Mask directive, if I use it empty…
-
-3
votes1
answer36
viewsHow to keep all html within a 100% div height?
Hello How do I keep my html inside the background image without creating that white background and so that the Divs - yellow and black - also respect the 50% height within that height of the…
-
1
votes0
answers221
viewsI can’t initiate nodemon
I am trying to initialize a project with postgre access but it does not start when running the command. follows the error : Error: listen EADDRINUSE :::3000 at Object.exports._errnoException…
-
-1
votes1
answer72
viewsHow do I make the React application scroll down if the content doesn’t fit on the screen?
I thought it was natural that when the contents of HTML did not fit on the screen, the browser would automatically allow scrolling for easy viewing. In the following case, for example, I have the…
-
-2
votes1
answer28
viewsmy entry page is 1920x1080 but with a scrool on it
I want to take the scrool out of the page but when I put the position: Fixed it cuts the page and when I put the position: abosolute, gets an equal scrool on the page presented If anyone has the…
-
0
votes1
answer199
viewsSystem.Formatexception: 'String not recognized as valid Datetime
Hello, I am trying to update data from a row of a db sqlite, however I am having problem in a date field. I enter data in the Registered field with the following code, where Tb_data_registered is a…
-
6
votes1
answer407
viewsPhoto taken by my app does not appear in Gallery
When generating the photo through my app it correctly creates the folder and saves the photos taken there, but when I go in the Mobile Gallery is as if the photos did not exist, the default Android…
-
0
votes1
answer51
viewsWhat is the significance of the mutation rate in genetic algorithms?
Hello. Let’s say I set a mutation rate of 5% in an AG. What does that mean? What is it about the entire population, and for every individual, I’m going to go through all of his genes, and I make a…
-
3
votes2
answers374
viewsError while subtracting with no value fields (Android)
I got two camps like double, where the values should be subtracted. But when I do not enter any value in the field, an error occurs and the application closes. How can I solve this problem? Follows…
-
2
votes2
answers6996
viewsProgram that sums/multiplies 2 numbers and what’s between them and prints
I believe the logic of this programme is right, but the result is wrong. Make a program that receives two X and Y numbers, being X < Y. Calculate and show: the sum of the even numbers in that…
-
0
votes1
answer55
viewsWindows Forms, double click that opens a new Form
I have a table called Tournament and would like to make Doubleclick on the type of game open all the teams of that game. I have 4 buttons that represent the 4 games I have, in the 4 games I have the…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
0
votes3
answers86
viewsvuejs returns student object null when trying to search student by id
Galera. I have a problem right now. I was able to solve the 400 error, but now I’m not able to return the student’s data by the student’s id. Follow my code below: data() { return { student: { name:…