All Questions

1
answer

Data structure that represents a deck of cards

I'm developing a project in Python where I have to play a card game. I am doubtful as to what the best data structure to use, according to the description provided: Each letter must be represented by a pair (,), in which both elements are str...
asked on 07.12.2017 / 14:05
1
answer

What are the acronyms DDL, DML, DQL, DTL and DCL?

I was setting up a permissions structure in the bank (GRANT, REVOKE), when I found this article and found it interesting to share, even to have here in SOpt. Original issue What is DCL? Font     
asked on 14.12.2017 / 12:39
3
answers

Clearing form fields

I have the following encoding and would like to clear the form from all fields that have the same name . But I do not know why it does not clear the fields PS: What properties of input text can I use for this kind of thing?...
asked on 17.05.2018 / 20:47
2
answers

Overlay graphics in R with ggplot

Hello, consider two data frames: df = the number of students who answered items A, B, C, D and E of a 6-question test ITENS <-c("A","B","C","D","E") Q.1 <-c(10,20,10,40,10) Q.2 <-c(5,25,0,50,10) Q.3 <-c(15,20,5,40,10) Q.4 &...
asked on 10.05.2018 / 16:01
3
answers

In structures (struct) is it necessary to use getters and setters or only in classes (class)?

Is it necessary to use setters and getters in structures to maintain good practices or is it only necessary in classes?     
asked on 13.12.2017 / 23:28
1
answer

What do these arguments mean in the "git-checkout" command?

I have the following command in Git to retrieve a file: git checkout (hash-commit)^ --(caminho-arquivo) In this command what does ^ and -- mean?     
asked on 23.04.2018 / 15:11
2
answers

Turn text into italic on hover!

Well, I have a paragraph and I want it to stay with font-style: italic; when I move the mouse over, what properties should I do in :hover ?! I would like it to be a 0.3-second transition     
asked on 23.12.2017 / 14:25
3
answers

Query on sql query

I have a question. I think it's not very complex, but I could not solve it. For example, I have this query: select * from Paciente where ClinicaID = 3 Your result would be these 3 records: NomePaciente HoraAtendimento Ativo Clinica...
asked on 28.11.2017 / 23:55
2
answers

What is the difference between the: nth-child and the: nth-of-type?

Most of the time I use : nth-of-type but I did not quite understand the difference between the two, can anyone explain?     
asked on 12.04.2018 / 19:47
2
answers

Find out if item is in array

How do I check if an item is in an array ? Ex: var Tabela : Array of String; begin Tabela[0] := 'Valor'; Tabela[1] := 'Value'; if Tabela[0] = 'Valor' then // do wathever; This would be the normal mode, but in a large array , it would tak...
asked on 18.10.2014 / 18:23