All Questions

2
answers

Limit payment options only to PayPal accounts (no credit card)

I'm integrating the PayPal Express Checkout API. When the payer actually goes to the Paypal website to enter your details in order to make the payment, you are presented with the following options: PayPal account payment Payment by...
asked on 06.02.2014 / 20:39
1
answer

How to insert style into a Zend_Form_Element_Select element?

How can I insert a style into a option element using Zend_Form? I'm using Zend Framework 1 .     
asked on 20.01.2014 / 20:47
1
answer

"Geographic" location of indoor devices

In geographic locations, GPS or triangularization with cellular antennas is almost a "problem solved," even with features and facilities available in the API of the main operating systems for mobile devices such as Android and iOS. But how i...
asked on 27.07.2014 / 00:11
1
answer

How to generate JLabel or JTextField on mouse click?

I would like to know if there is a way to generate a JLabel or JTextField in the position where you click, in JPanel or JFrame . Is it possible?     
asked on 19.02.2014 / 17:51
4
answers

Divs floats in a container with height auto

I'm having a problem structuring a layout with some divs side by side and when it does not fit any more, they go down. And the main container needs to increase according to how many boxes you have. More or less like this: ButIdonot...
asked on 03.04.2014 / 18:55
1
answer

How to generate correlated variables in R?

I was able to create the uniform variables X and W , both with normal distribution, through the formula rnorm and R . However, I wanted to create the variables so that they had a -0.8 correlation value. What command...
asked on 23.03.2014 / 02:24
1
answer

Best Practices when modulating an application with EF and multi-bank

Let's say I want to model an application in .NET using EntityFramework as ORM and use one of its advantages, be "generic" for several RDBMS . So, for example, I want my application to accept working with Firebird ,...
asked on 09.05.2014 / 03:23
1
answer

Java Code Ponto2D, does not display distance correctly

package OrientacaoObjetos; public class Ponto2D { //campos publicos: nao existem restricoes p/ valores de x e y public double x, y; //constr. default: ponto definido na origem(0, 0) public Ponto2D() { x = 0; y = 0; }...
asked on 25.07.2015 / 00:22
2
answers

What does * (int *) mean?

I'm reading a code that has stuff like that. *(int *)ptrArray = intN; *(float *)ptrArray= floatN; It is clear that different types are being assigned to the same vector of type void* . The question is, what is the meaning of *(...
asked on 09.11.2015 / 14:09
1
answer

How to activate modal through the option in a select?

Example: When I select the "volvo" option, the modal appears ... <label>Recinto</label> <select class="form-control" data-toggle="modal" data-target="#cria-recinto"> <option data-toggle="modal" data-target="#cria-recint...
asked on 13.01.2016 / 03:45