All Questions

3
answers

Error in for loop: "incompatible types: int can not be converted to boolean"

I am new to StackOverflow and also programming in Java. I am going through exercises that I did in pseudocodigo to Java, and I find an error that I can not solve in the for loop. The idea of the exercise is to create a vector that contains fr...
asked on 12.06.2017 / 22:40
1
answer

Because my page does not fit the different screens

   I tried to center what the page is but I always have space left   to occupy almost always as in the sketch above, what happens?   leaves some words aligned horizontally. Index.html <!DOCTYPE html> <html lang="es">...
asked on 07.06.2017 / 10:56
1
answer

Securing routes under the same firewall

I have a symfony2 application with an api rest and a sonataAdmin backend. In the security.yml file I have the following: security: encoders: FOS\UserBundle\Model\UserInterface: bcrypt role_hierarchy: ROLE_ADMIN: [R...
asked on 18.05.2017 / 08:37
1
answer

How to get the names of the files in a directory? C ++

I have a media / map directory, in that folder there are many files, example ".mesh.xml", ".mesh", etc. I need to create a function that stores the names of the ".mesh" files in a string array and ignores the others including ".mesh.xml". C...
asked on 30.05.2017 / 00:10
1
answer

Jquery tooltip scrolls the contents of the table

I have a table html similar to this: <table class="table table-striped table-custom table-responsive"> <thead class="ordenable"> <tr> <th class="col-1" id...
asked on 31.05.2017 / 09:17
1
answer

Doubt with decimals Android (BigDecimal)

When I make an account to get the % of a number, I have a problem, I explain: I take 5% out of 7.74 and it's 0.3870 but I want you to only show me two numbers in the decimal part, that is < strong> 0.38 How can I do this? And anoth...
asked on 19.05.2017 / 15:59
1
answer

Problem when showing photo in an imageview

I am developing an application where I have an option to capture a photo with the camera and upload it to my server. Well I told you the following, the application worked very well, I could take the photo and upload it to my server, but I rea...
asked on 17.05.2017 / 17:07
2
answers

List assignments

a = [0,0] b = a b[0] += 1 print(a) Output: [1, 0] Why does a change when I change b ?     
asked on 02.02.2017 / 13:03
2
answers

Columns with the same height in Bootstrap

I have some columns each with a content, however as some have more content than others are higher and in general it looks ugly, is there any way to equal them all so they have the same height? I tried to class them that was height:100% bu...
asked on 31.01.2017 / 18:52
1
answer

Send variables $ _POST [] with header ("location: URL");

I have a PHP file in which I send the actions with forms in which there are inputs type hidden with the variables I need. But there comes a time when I need to reload the page and keep the variables of $_POST . The reload is necessary to a...
asked on 31.01.2017 / 09:57