All Questions

2
answers

Simple XML Reader: I can not convert nodes to HTML or limit the number of items

I've used SimpleXMLReader to make parse of a gigantic XML structure, that has more than 25mb. My code works normally, however, I have two problems: I can not turn Xpath into HTML . Well, I studied it, and I saw that it's n...
asked on 05.06.2017 / 09:46
2
answers

Calculate expiration date

I have a column named START in DATETIME format in MySQL and I would like to check if each row is expired and / or how many days are left to win that row, taking into account that the row expires in 30 days after the START date . I thought of...
asked on 08.09.2015 / 21:52
2
answers

Declare Setdouble - JAVA

I wanted to know how to declare a set with a generic type that is not a class. Example: Set<double> . All the examples I've seen the set is of a class. I'm starting to see now to see sets. I need to make a Set that has 2...
asked on 27.08.2015 / 12:17
1
answer

List three-dimensional table

I have a table that I want to print all its values. Example: local table_2 = { ["tabela1"] = "360Mhz", "demo", "teste", ["tabela2"] = "360Mhz", "demo", "teste" } for k,v in pairs(table_2) do print(k,v) end How can I print the 4...
asked on 20.08.2015 / 12:16
2
answers

Click event gets lost on next page in pagination

I have developed a simple pagination page for my studies and am having a problem in the click event when I go to the next page. On the first page the event works but when I go to the next one the event seems to get lost. What can it be? Below...
asked on 25.08.2015 / 21:27
1
answer

Error log in Java application

We developers when coding, we have how to track the process of running a software through the output of the IDE, but when the software goes to production and we no longer have the development environment, how can we map an error that happened fo...
asked on 31.08.2015 / 20:30
2
answers

a: hover stops working with: visited or: link

I made 5 links and set them to change color, using a:hover and a:visited . The problem is that when I use a:visited , the a:hover settings stop working, so do I use a:link . What exactly am I doing wrong? <di...
asked on 30.08.2015 / 03:47
1
answer

Values within a given range

I want to make the following formula but I can not. I do not know if it is with =SE() , but what I need to know is whether a value is within a range (1 to 2) or not. =SE(A1<=B1>=C1;1;0) If cell A1 is less than or equal to cell B...
asked on 18.08.2015 / 16:50
2
answers

How to create a Bubble Plot

Anyone with experience in formulating this chart? I am very much in doubt, especially in the diameter of the circles and in the placement of the X-axis variable. I am a doctoral student at UFPE and many statisticians that I looked for did not kn...
asked on 24.08.2015 / 00:04
3
answers

How to open remote content with python?

In PHP, when I want to get a remote content (some url, for example), I use the proper functions to open files and this works perfectly. Example: file_get_contents('http://pt.stackoverflow.com/') And in Python, what is the correct way to...
asked on 13.08.2015 / 17:26