All Questions

1
answer

3D Histogram using ggplot2

I have data from a two-dimensional distribution, for example, uniform. I want to make a histogram with this data. I tried the package plot3D , but it was not very cool. teste = matrix(runif(100), ncol = 10) plot3D::hist3D(z = teste, bt...
asked on 13.06.2016 / 22:11
1
answer

Login on facebook with python

I would like, for educational reasons, to log into facebook with a python script. I tried the requests import requests s = requests.Session() post_url = 'https://www.facebook.com/login.php?login_attempt=1&lwv=110' headers = {"User-agen...
asked on 26.07.2016 / 21:51
1
answer

Search in two tables MySQL

Is it possible to give a "select" by merging two tables in MySQL? for example: I have a table named favorites that saves id and strong id . the idea is to go through the favorites table merged with the posts table, (where title, cont...
asked on 10.10.2016 / 17:40
2
answers

Send checkbox with ajax jquery php

I have the form to send / work perfect with the other fields, but I can not receive the checkbox selections. I need help getting / manipulating in php: HTML: <div class="input-group"> <label for="servicos">NECESSITA EMBALAGE...
asked on 10.05.2016 / 21:33
2
answers

How to remove ProgressBar margins?

I added a ProgressBar simple to a LinearLayout , however I noticed that it generates a margin above and below, as it is in the image:    Thesetwowhitestripes,Itriedtoremoveanyway,theonlyonesthat"seem to eventually" work are the...
asked on 17.10.2016 / 16:58
2
answers

Scraping in Python - read pdf

I've done a scrapping in Python which takes a URL from any PDF, reads and returns, however in some PDFs I'm having the problem come with some characters like this:    ". \ nO \ xc3 \ xb3rg \ xc3 \ xa3o also \ xc3 \ xa9m discloses   result \...
asked on 19.09.2016 / 21:42
1
answer

What are "columns generated" in MySQL and what would your applications be?

I downloaded the new version of the MySQL workbench and when I was creating a table, I noticed a new field property called Generated Column . On the MySQL site, this is a new implementation of MySQL 5.7.5 , but it has not been very clear to...
asked on 28.05.2016 / 17:18
1
answer

Define array id () php

I have the following array () Array ( [camposdb] => Array ( [51] => Array ( [0] => cpf_cnpj [1] => nome_razaosocial [2] => cod_c...
asked on 08.09.2016 / 03:15
2
answers

What is the advantage of using JUnit to test methods of a class?

I've created an application that basically is a class that tests whether the methods of another class are returning the expected values. My teacher asked me to rephrase this class as a JUnit test case. I did as he asked, but in the end I get the...
asked on 05.04.2016 / 15:12
2
answers

Doubt about algorithms of ordering in constant time

I need to solve a exercise with the following statement:    As input we have a vector of n elements, where each element has a value between 0 and k . In addition we have two integer values a and b . We must answer how many elements in...
asked on 28.04.2014 / 00:18