All Questions

1
answer

How to extract values from the statistics calculated by the function linhom (L-function for inhomogeneous spatial point processes)?

I have to analyze the spatial pattern of some cacti distributions in the field, and since they are heterogeneous, I can not use Ripley's K function (and corresponding L function) for stationary patterns. With the spatstat package, I computed and...
asked on 03.08.2015 / 01:40
1
answer

Use cases Concept and use cases Process

In software engineering we have the famous use cases. In a college job I come across the following: UCC - Concept use cases UCP - Case use cases UCR - Relational Usage Cases UCR - would be the use cases related to reporting. B...
asked on 12.05.2016 / 12:23
1
answer

How do branches work in GIT in relation to SVN?

It is known that in SVN, when you create a branch (or even a tag ), a copy of the trunk files is made to the folder inside the < strong branches . Gradually I've been using git and realized that when creating a branch it does...
asked on 18.09.2015 / 18:26
2
answers

Why copy the prototype method instead of directly using it?

I was confused when I saw a particular javascript library code - undescore.js . I can not remember the snippet of the code, but it was something like what I saw. var filter = Array.prototype.filter; var meu_array = [1, 2, 3, 4, 5, 6...
asked on 01.08.2015 / 18:45
1
answer

Access null pointer is not generating error

Testing the code below, I noticed strange behavior. It is working when it should not. The correct thing, in my view, was to give a segmentation fault and abort, but it looks like the compiler is doing some magic to fix the code. What happens?...
asked on 09.08.2016 / 17:37
1
answer

What is the comma for?

The comma is what? Just a construction of language? An operator? Why does it exist? This question is based on what you saw in Returning or extracting more than one value from a function? . return base2, base3, base4     
asked on 06.01.2017 / 12:08
1
answer

Change vertices of a plane by rotating

I have a plan on the screen and I want to rotate it by 5 degrees, without using glRotate , I have the code: #include <GL/glut.h> #include <math.h> #include <stdio.h> #define HEIGHT 500 #define WIDTH 500 #define POINTS...
asked on 26.11.2016 / 23:37
3
answers

Import eclipse project into the latest Android Studio API

I did the project import from an eclipse app to Android Studio. The import occurred smoothly and the gradle was created. However, I notice that the visual components like EditText, ProgressBar, AppBar, Button are with an outdated look, of versio...
asked on 03.05.2016 / 18:18
1
answer

Is there any way to test a route using the PHP unit in Laravel?

I really like to use PHPunit to create unit tests for my libraries. Always, before doing git commit , I run it to see if any changes affected what was previously working. I'd also like to be able to test route by route in L...
asked on 20.04.2016 / 22:15
1
answer

"[-4:]" What is this syntax?

I have the following expression: namer = name[-4:] Where name gets a name, but what does this [-4:] mean?     
asked on 05.11.2015 / 23:01