All Questions

1
answer

How to optimize the removal of rows in an array?

I have an array of dimensions: > dim(filtro1) [1] 2806519 31 I need to remove rows from this array that meet a condition. So far so good. However, the computationally looping for this has been very expensive (time consuming - 8 to 1...
asked on 22.12.2018 / 12:52
1
answer

CSS: Border Radius

I'm doing a project where I'm using border radius to make a vertical menu. I would like the Menu to have the radius border straight, in this rounded way: Andit'scurrentlygettingthisway: .teste{ height:12%; width:65%; background-co...
asked on 04.07.2018 / 16:33
1
answer

Sorting HashMap by value and assigning a value using java 8

I currently have the following functional scenario: A list of the Studios class with id and name: List<Studios> studios; I count repeated names in List as follows: Map<String, Integer> counts = new HashMap<...
asked on 21.09.2018 / 14:41
1
answer

In CSS how do I align Numbers with Text in Classic Fonts?

I'm using a Font-Face that has the old typographic style in the numerals and I want to align them with the text. Seethatthenumbersinthisfontfollowtheoldpattern,wherethenumberisalignedwiththeascendinganddescendingfont,notthebase-lineSo...
asked on 17.10.2018 / 19:58
1
answer

Is it appropriate to use layers in an application using microservices?

Structuring a layered web application is used only in monolithic applications or also in micro-services? Presentation layer Application layer Business logic layer Data access layer
asked on 20.12.2018 / 17:09
2
answers

What is the output tag for?

I'd like to know what the <output> tag is for. I saw this example here on the internet: <form onsubmit="return false" oninput="o.value = a.valueAsNumber + b.valueAsNumber"> <input name="a" type="number" step="an...
asked on 10.07.2018 / 21:35
2
answers

Error executing the cordova build command

I'm running the command build cordova (after finishing the settings exemplified at this link: PhoneGap The Command-Line Interface ). But Node.js returns this error:    Generating config.xml from defaults for platform "android"   P...
asked on 19.02.2014 / 15:34
1
answer

Create a method in a function involved

asked on 06.02.2014 / 14:01
1
answer

Recursion in R error

I have the following recursive function: tamanho <- function(v){ if (is.null(v)){ return(0) } i <- tamanho(v[-1])+1 return(i) } I'm using RStudio, and when I call the function with this example: tamanho(c(1,2,3,5)) gi...
asked on 21.10.2018 / 03:03
1
answer

What is the difference between numeric and integer vectors?

In R, identical vectors (containing the same numbers) can assume the numeric and integer classes. For example: x<-(1:5) class(x) [1] "integer" x<-c(1,2,3,4,5) class(x) [1] "numeric" Why does this occur? Which vector...
asked on 19.10.2018 / 03:30