All Questions

1
answer

If possible, how can I work with integer values with 1 million digits or more in python?

I'm running some experiments with prime numbers and needed to process huge integers, however when trying to process a small routine an error occurs in the following line:   OverflowError: int too large to convert to float How can I...
asked on 14.09.2018 / 13:20
3
answers

Doubts about the count sql command

When I write the command select count(carga > 40) from cursos; what is the count logic that the count command is running? This command worked in mysql however it returned me a result that I could not identify the source. I co...
asked on 16.09.2018 / 03:25
2
answers

Align image next to text, respecting vertical spacing

I'm trying to make the images aligned to the right, respecting the spacing between the <p> tags, however it's getting like this: Ineedsomethinglikethis: MyHTMLcodelookslikethis: <p><img style="float:right" src="https://ww...
asked on 20.09.2018 / 23:25
1
answer

Select the first row of each group in MySQL

Suppose I have a table like this: item | group -------+-------- item a | group x item b | group y item c | group y item d | group x item e | group z And I want to select a single item to represent each group. Now, you should be thinkin...
asked on 27.08.2018 / 04:03
2
answers

Pulling elements from one list to another under a criterion in R

The vector below indicates the regressions that I have circled. regression_pairs=c("A~B", "C~D", "E~F", "G~H","I~J","K~L","M~N","O~P","Q~R") regression_pairs Below is the list where I saved the remainders of each regression residuals.ne...
asked on 22.08.2018 / 01:42
1
answer

How to join 2 SQL queries into a single one (one is an average value calculation and another search criteria with BETWEEN

I am setting up a system that finds providers in a specific region, calculates the average amount charged by them and brings this value. But before that he will only pick up the providers that are available on the requested date. I have these...
asked on 03.08.2017 / 15:32
1
answer

Schedule automatic updates in R

I have an algorithm in the R designed that retrieved data from a database, does some statistical calculations and produces a dashboard with kpis and graphs generated from those calculations. But, every time I want to update the information, I ha...
asked on 17.07.2017 / 01:58
1
answer

How to put special characters with :: after?

Here is the code, I want to put the character ©: h1::after{ content: &#169; }     
asked on 11.07.2017 / 16:22
2
answers

Why does not the battery pop?

With this code, the book tells me that this does not pop the stack, but why exactly does it not bang? #include <stdio.h> int main(){ int *p; while(1){ p = new int; } }     
asked on 18.07.2017 / 22:38
4
answers

Assigning Arrays in Java

I own two String Arrays and I have to compare them. After the comparison I must assign the repeated values in another Array. My problem is that I want to assign just the repeated Strings without the Strings that do not repeat. Code: //A...
asked on 16.07.2017 / 19:56