All Questions

2
answers

Show if the person is of legal age or not

Can anyone help me with an exercise in visualg? is as follows: Exercise calls like this:    Write a program that reads a person's age. At the end, display whether or not that person is of age.       Console       What is your age: 17.     ...
asked on 21.07.2017 / 14:14
2
answers

How to do the Hosmer-Lemeshow test in R?

I have a set of data to make the logistic regression of the dependent childbirth variable that is qualitative binary. With the command below I get the multivariate logistic model in the R program: GLM.1 <- glm(parto ~ trabalho + financia...
asked on 07.08.2017 / 20:26
1
answer

Regex custom time in python 3

I need to create a regex that accepts the following entries: 8:00 8 horas 8h 8h30 (8h 30) 8h30min (8h 30 min) 8h30minutos (8h 30 minutos) And I came up with the following: ((\d{1,2}:\d{1,2}) | (\d{1,2}\s+\bhoras\b) | (\d{1,2}...
asked on 18.08.2017 / 15:24
1
answer

Find list of Json objects from the localStorage by the name of their keys

I know that the localStorage of browsers stores data in key-value format, and that I can retrieve Json objects saved there through the key. Now what I need to do is recover all the records whose key starts with "Deposit". This is because I want...
asked on 29.04.2018 / 16:43
2
answers

Tablespace and data files in Oracle

Is a tablespace a data file that stores multiple tables, such as a zip file? What is the relationship between tablapace and data file?     
asked on 11.08.2017 / 23:10
1
answer

How to leave more than one transparent panel?

Implementing the response response, I was able to leave a transparent panel. However, to be able to organize the way I want, I wanted to use more JPanels , with different layout managers. But when I do this, they do not become transpa...
asked on 01.04.2018 / 19:59
1
answer

Error using Mock: Wanted but not invoked: Actually, there were zero interactions with this mock

I am making a list of exercises and I am in doubt about the following:    Exercise 3 - The verify method, from the org.mockito.Mockito.verify package, is   used to check the amount of times a method is invoked.   Add in the ATest class a test...
asked on 01.04.2018 / 05:23
1
answer

Converting String in ArrayList

I am getting in my java code a variable with the following value String arquivo = "CNPJ;INSCRICAOESTADUAL;COD_IBGE;DT_OPE;VLR_CARTAO_CRED;VLR_CARTAO_DEB 35083840049;0;4312476;13/01/2018;0.00;66.00 35083840049;0;4312476;18/01/2018;33.00;26.00 3...
asked on 24.05.2018 / 19:53
1
answer

Send two triangles to a vertex shader. OpenGL, C ++, GLSL

I'm learning in college graphics processing with OpenGL in C ++. We are using the GLFW and GLEW libraries. My program consists of creating two triangles in different parts of the window. I created an array with the coordinates of the triangle, a...
asked on 06.05.2018 / 04:01
1
answer

R - Select elements of a data frame with a column that has the same name as a global variable with 'dplyr'

Consider the following data.frame and variable x df <- data.frame(x = c(rep(0, 10), rep(1, 10)), y = 1:20) x <- 0 I tried to use dplyr to select elements from column x equal to global variable x li...
asked on 10.04.2018 / 22:53