All Questions

2
answers

Criteria API - Hibernate vs JPA 2

I'll try to phrase this question as unthinkingly as possible in the spirit of stackoverflow in English. For a new project I need to make the decision between using the JPA 2 or Hibernate API (while it is technically possible to mix the two, for...
asked on 18.12.2013 / 15:17
2
answers

Binary search in linked list [closed]

How can I perform a binary search on a simple linked list with head? Also if it is possible to do this, if there is any special method. In the EP I can not count the number of elements in this list beforehand, I have to search and insert a cell...
asked on 26.11.2015 / 03:15
3
answers

Adding and removing styles from a particular selection at the click of a button

I have a function in javascript that applies a particular style in some classes, and I would like to know how to do this style by clicking the same button. var botao = document.getElementById("troca"); var cores = document.getElementsByClassNa...
asked on 26.11.2015 / 22:29
2
answers

Translation of the word flush

I am preparing reference material on functional programming using the OCaml language and would like a good translation into Portuguese of the word flush , commonly found in the description of inbound and outbound operations. More prec...
asked on 14.04.2015 / 21:31
3
answers

Pure Java and Android Application

I'm a beginner in Java. I preferred to start studying pure Java, that is, I discarded studying through dragging components. I knew JavaFX; I preferred to study the construction of these components at hand as well. I learned many things, many eve...
asked on 06.08.2015 / 14:33
2
answers

What is the difference between repeat and while on the moon?

Is there any difference in the usability of repeat and while on the moon? In my opinion, the two seem to have the same purpose. Not taking into account the syntax, is there any difference between them, however minimal?     
asked on 18.12.2015 / 14:48
1
answer

Difference between high-order and first-class functions

Functional language, what is the difference between high-order functions and first-class functions in> first-class functins )? In JavaScript, what would be the difference between these two types of functions?     
asked on 02.04.2014 / 14:51
1
answer

fatal: Not a git repository

I created a repository in GitHub and then I was playing files by Git using cd C:\Users\Nikolai\Desktop\exercicios-c git remote add origin https://github.com/NikolaiCinotti/exercicios-c.git git push -u origin master And I got the error:...
asked on 17.08.2016 / 21:35
2
answers

What is the advantage of using languages that compile for other languages?

We were discussing in Stackoverflow's chat about languages like Moonscript and CoffeeScript. They are two languages that compile for other languages. Moonscript for Lua and CoffeScript for Javascript. I noticed in relation to both that the...
asked on 09.12.2015 / 12:21
1
answer

What would a NuGet be?

I noticed that in several programs and in several places they use NuGet , I even had to use one myself, but I used it without knowing the definition of it, can I say that it would be an extension? >     
asked on 22.03.2018 / 12:37