All Questions

1
answer

How to create buttons forward and back QUI PyQt4

Hello, I'm new to PyQt and I have a question, I need to create a program with several steps, or screens, where the user will do their processing on each screen and clicking 'next' to the next screen or if he wants to edit something earlier, it w...
asked on 23.10.2015 / 23:45
2
answers

References daughters and service pattern

A heavily used pattern in DDD , is service pattern . My question is, where is the logic for references to "daughters"? For example, a use case, Pedido that has Produtos public class Pedido { public int Id {ge...
asked on 09.10.2015 / 01:07
1
answer

Avoid removing the TestProvider from the Mock Location

I'm trying to mock location for use in another application, but that application is removing my TestProvider, making it impossible to mock the location. How can I prevent this other app from removing my TestProvider ? The code that the ot...
asked on 30.11.2015 / 18:16
2
answers

How to save files to a server via Java?

I need to save a file to a server using Java . In my case, I need to save a json file. Can I save a file normally on my computer, but how do I save directly to a remote server? Here is an example that saves a file to my computer. My...
asked on 02.12.2015 / 16:45
1
answer

javax.persistence.PersistenceException (no security manager: RMI class loader disabled)

I created a policy file that gives the permission for my machine to run both the client and the server, I also passed the ports to them. Inside the server I instantiate RMI Security (since if I take it the policy does not work) Server started...
asked on 22.11.2015 / 17:01
1
answer

Insert php with object as parameter

I would like to understand how I can do an insert function in php that uses an object as a parameter. Example: class Aluno{ private $nome; private $curso; } getters e setters... public function insere(Aluno $aluno){ // suponho que aqui...
asked on 28.11.2015 / 00:54
5
answers

Console Application without displaying console window

I have a Console Application in which I use to run routines of my system. I'm running this console from the Task Scheduler, every time it runs, it blinks on the screen. Opens, executes the process, and closes. I do not want the console to appear...
asked on 13.11.2015 / 19:42
3
answers

Send parameters via GET

I am making a request as follows. http://localhost/sistema-agenda-server/tarefas/listAll?id=1 I asked to see the response in the generated sql and got the following answer: SELECT * FROM tarefas WHERE idu_tar=:id : id was not changed to...
asked on 05.11.2015 / 01:05
1
answer

Change icon action back with fragment

Good morning, I'm having trouble changing the back icon action
asked on 03.11.2015 / 14:34
1
answer

How to recover commit removed?

Consider the following story: In the local repository I committed A and B. I pushed the repository on the server. I went back to the local repository and made changes. I removed commit B from the local repository (using the command bel...
asked on 02.11.2015 / 19:38