All Questions

1
answer

How to create button in Android's behind code?

I'm developing an application where I download some images from the internet when the application is opened. I want, when I have these images downloaded, create a button for each image and put it in the background. But since I do not know how...
asked on 18.12.2014 / 20:09
1
answer

Execute procedure oracle

I created this procedure but I can not execute it. I have the following error when trying Execute:    PLS-00306: Incorrect number of argument types in call to 'SP_CARTAO' CREATE OR REPLACE PROCEDURE SP_CARTAO ( P_ID IN INT , P_ID_CAR...
asked on 01.12.2014 / 22:14
2
answers

PDO :: rowCount () returning -1

I have this routine below, which I used without problems with a MySQL database. However, I had to migrate to a SQL Server 2008 database, which was simple. The only problem is that, I do not know why my rowCount() is returning -1...
asked on 08.12.2014 / 18:15
2
answers

Execution of Instructions

I'm reading a book on Introduction to Computer Architecture. A section of the book reads as follows about the RISC interface of processors: "Each instruction typically takes a clock cycle." But the same book contains the following excerpt,...
asked on 25.11.2014 / 14:00
1
answer

Is there a standard "stack" data structure in Python?

If not, do you know a good non-standard module? I would need to work with stack , but I find it very strange that there is no standard stack (stack) module in Python and at the same time there is a queue (queue) module.     
asked on 25.11.2014 / 21:12
1
answer

How to manipulate the position of a div

I need to manipulate the position of two <div> in opposite motions. I searched in many places but found no explanation as to how such an effect can be done or how to do it. I did not want to ask for the answer, but I do not ev...
asked on 19.12.2014 / 16:53
1
answer

How do I get PDF content generated by Rotativa?

I'm using Rotativa for PDF generation from a .cshtml I can download the file through the application correctly using the command below: DadosConvite convidado = new DadosConvite(); convidado.nome = "teste"; return new Rotativa.ViewAsPdf("Conv...
asked on 24.11.2014 / 14:18
2
answers

Data window moving in time (t)

I want to make a Recursive prediction. I need every month (t) to move the data window from the last month to the next in a period (this period, that is, t + 1). dados<-read.table("C:/Biomedica/Doença/evolmensal.txt", header=T, dec=",") dado...
asked on 25.12.2014 / 23:36
1
answer

Make a generic vector in Java

How to create a dynamic vector in Java with generic programming? This vector must have an initial size of size 4 and be enlarged as new elements need to be inserted. The class must have: Standard Builder. Constructor with initial vector...
asked on 05.05.2016 / 16:23
1
answer

Deploy serializable in JSF

Why implement the serializable in the JSF managed bean? When to use and not to use? What is the serializable interface for?     
asked on 12.12.2014 / 05:15