All Questions

2
answers

How do I sign in through my application on Microsoft Live?

I would like to know how I can sign in through my application, either Web or Desktop, on Live? I've been looking for a few things, but I have not been successful. UPDATE So, as bfavaretto suggested, I downloaded a sample from microsof...
asked on 13.01.2014 / 19:21
3
answers

How to determine the ordering of accented characters in MySQL?

My table uses "utf8-general-ci" so all accents are OK. But when I have for example Aa, Ac and Ab and I want to filter "alphabetically", the result is: Aa Ac Ab On Excel, the result is: Aa Ab Ac Which is more logical. How...
asked on 19.02.2015 / 19:45
2
answers

calculate the difference between two dates in months in the R

How do I calculate the difference between two dates in months in R? Suppose both dates: x <- as.Date("2014-01-07") y <- as.Date("2015-03-17") I can easily calculate in seconds, minutes, hours, etc. using the difftime functio...
asked on 10.06.2015 / 22:23
1
answer

Relationship between list of requirements and use cases

As you begin to develop a system, and even throughout the development process, it is common to maintain a list with the functional requirements of it. In my understanding, we always start by putting this list together, and then we write use case...
asked on 22.02.2015 / 18:29
2
answers

How to get the return of an instantiated function (new + return) - Javascript

I have a function where I assign values in this, because it will be instantiated function Teste(){ this.valor='Valor no this'; return "Valor no return"; } Instantiate it var t = new Teste(); But now, how do I get the string "Val...
asked on 09.02.2015 / 12:02
3
answers

Architecture problem where access to construction methods must be controlled

I have a tree class that will have the addition of trunks, branches, leaves and fruits. I need the class to give access to certain methods only after others and that previous ones can not be access again. Example: public class Arvore...
asked on 15.06.2015 / 23:46
1
answer

Separate string by number of characters

I'm developing a component to read the file submitted by DataPrev with the list of monthly obituaries. This file is a TXT and every 210 characters is a different person. The documentation can be seen at this link : SISOBI . I'm used...
asked on 13.03.2015 / 16:09
1
answer

Laravel 5 - Remove public from URL

I've developed a form and need to "play" it on the production server . I do not have any type of server access (Linux, Slackware). I access my application through the link url. With the script below I get only the message Sorry, the page y...
asked on 10.04.2015 / 16:07
2
answers

Best way to do an Action that does not return data

I am making an ajax call to change an object. The call does not have to return anything. Only the code http 200 (OK) or 500 (error). I'm using the following code in the action but I do not know if it's the best: return new EmptyResult(); Wh...
asked on 16.01.2015 / 01:54
1
answer

Element leaves the place in "out-zoom"

In this site , the menu is ul inline , it is inside div with indefinite width of dark color. In ul I put margin-left to align with the bottom blocks ... It happens that in another resolution or when shooting the zo...
asked on 26.10.2014 / 00:10