All Questions

1
answer

Is it possible to copy files without using stream buffer?

In my application, I have a class that periodically backs up a pretty small (less than 1MB) file, but I'm doing some testing and after reading this answer , it seems to me that it has been suggested that you can make copies without having to us...
asked on 05.12.2016 / 11:58
1
answer

Plot Main Title com Text and formula y = a + betaX + Epsilon

These are the data: a=structure(c(2.96898844129164, 2.7849952585919, 2.4022019576164, 2.97749332978932, 3.23431466394159, 3.37620019711505, 3.3295390792587, 3.11646532271242, 2.84000702738219, 2.74301542351398, 2.07832874180711, 2.157405157...
asked on 26.11.2016 / 20:26
2
answers

I need a new random number for each line in a sql query (server)

I use the sql server . I need to use a random number in several different columns (the same random number) but I want a new random number on each line ... For example, let's assume that TABELAX has only 5 rows and I'll query the genre ......
asked on 16.11.2016 / 11:43
1
answer

What is the error in the while loop? moon language

What is the error in the loop? I wrote this code to print the sum of the first 10 prime numbers, I already checked the loops but could not find the error. It was to print the sum of the cousins until 29 but only printed 2. Vlwzao o / n=2 cont=...
asked on 29.11.2016 / 01:41
1
answer

In the specialized class should I use self or parent to access the variables?

I have two classes, an abstract ( Connector ) and a specialized class ( ConnectorWmi ) that extends Connector . My question is, considering the code below, in the specialized class I should instead call self :: $ connection , call parent :...
asked on 19.11.2016 / 21:13
1
answer

assign a value to the javascript variable

The problem is the following php returns me several buttons with a hidden input to identify the button. $nome = $mysqli->query("SELECT * FROM menbros ORDER BY id"); while ($row = $nome->fetch_assoc()) { $nome = $row['identifier']; $i...
asked on 06.11.2016 / 18:21
2
answers

Divide string into substrings and search for them in another

I am creating a function in which I will check if a endereço_A contains parts in a endereço_B , exemplifying: address_A AVENIDA JOÃO E MARIA B_address RUA JOÃO The result should return JOÃO , w...
asked on 01.12.2016 / 15:11
1
answer

Incomplete Edge

I need to make an element with this type of border. I found nowhere to diminish the size of the border. I found and I know only about the thickness.     
asked on 29.11.2016 / 20:50
1
answer

Difficulty in placing non-significant zeros in a converted binary number

I found a code on the web that converts decimals to binaries (32 bits), however I needed one of (256 bits) so I changed the code the way I thought it was correct, however after a certain size the non-significant zeros are added the correct way ....
asked on 27.11.2016 / 23:55
1
answer

Package bRasilLegis [command "getDetailsDownload"]

I need to collect the data of the deputies who were present in commissions, positions, etc. However, I can only do this with one deputy at a time. Is it possible that I can choose all at once? library(bRasilLegis) dep <- obterDetalhesDeputa...
asked on 02.01.2017 / 23:42