All Questions

2
answers

How to display quotation marks in echo in PHP?

I'm developing an application that uses PHP + AJAX and I came across a boring problem. AJAX only recognizes the function if it is like this: onclick="remover_musica_ftp('0','Deposito de bebida' );" I'm using PHP to "print" these values in t...
asked on 16.08.2014 / 09:46
3
answers

Clone class objects using ICloneable

I'm trying to use the Interface ICloneable to copy an object, but I'm having a problem when it is owned by a class because ICloneable does not create a new memory address for these objects, but keeps pointing to the original memory address o...
asked on 07.04.2014 / 13:37
2
answers

Create new array from a fairly large first array efficiently

Dear, in R, I have a very large database and I want to create new columns. I will try to explain my problem with a very small matrix. Next, "1" means private school and "2", publishes. I have for example a database >Data Casa Escola 1...
asked on 16.08.2014 / 00:21
1
answer

How do I get the position of a certain element in a list through a specific attr?

I have a UL with some items. For example <ul class='ordemQuestoes'> <li idquestao="28" >Questao 28</li> <li idquestao="2" >Questao 2</li> <li idquestao="17" >Questao 17</li> </ul>...
asked on 28.11.2014 / 19:19
1
answer

$ .getJSON does not write return on variables

I created a function that takes the values of a JSON and (should send those values to variables inside the function) so I could use these variables in the continuation of the function. The problem is that when I run the function it does not retu...
asked on 12.09.2014 / 20:12
3
answers

How to do PHP and MySQL pagination?

I want to make a pagination on my blog. I will not have 50 posts on the first page, so I want to limit the page to the last 15 posts added and then clicking the "older posts" button will show me the oldest posts. In the background I do not want...
asked on 23.07.2014 / 16:14
3
answers

TypeError: not all arguments converted during string formatting (Python 3.4)

I'm new to programming and trying to make a simple exercise code to calculate a phone bill: t = float(input('Digite a quantidade de minutos gasta: ')) if t < 200: p = t * 0,2 if t >= 200 and t < 400: p = t * 0,18 if t >= 4...
asked on 22.02.2015 / 13:23
2
answers

What is the daily meeting for the SCRUM methodology?

In my superficial look at age-based methodologies and book-based administration, a recurring or fixed meeting followed by short intervals are useless. The question is:  What distinguishes the daily meeting of SCRUM from other existing meetings...
asked on 19.08.2014 / 16:21
4
answers

Team Synchronization () PHP and JavaScript

If I generate a time() on the PC purchased in Brazil it will result in a team according to our time and such, if I repeat the process in China, USA or any other location with a local PC time() will be different. My doubts are: H...
asked on 14.04.2015 / 01:20
3
answers

List files from a folder in Python

I'd like to know how to use the library os to list files from a given directory .     
asked on 09.05.2015 / 17:13