All Questions

1
answer

How was the relationship between Web Api and Asp.NET MVC in Asp.NET 5?

In ASP.NET 4.6 or lower there were differences between Web Api and Asp.Net MVC. controller , for example, can inherit from controller or ApiController . However, with the arrival of Asp.Net 5 , it will not have t...
asked on 23.02.2016 / 18:46
3
answers

Why am I 'calling' the subclass method?

public class A { public String imprimir() { return "A"; } } public class B extends A { public String imprimir() { return "B"; } } public class C extends B { public String imprimir() { return "C"; } }...
asked on 05.09.2018 / 20:39
1
answer

How to install the dependencies of a Durandal project using Mimosa?

Let me explain the question. I would know the answer if the question were: "Como instalar as dependências de um projeto Laravel usando Composer?" In the PHP world, using Composer , we can create a project from a skeleton ready, using the...
asked on 22.02.2014 / 00:34
3
answers

How does the Include directive work?

Does "include" of C ++ do exactly what? I know it "imports" a header / library. But if I have a Header.h with: #include <string> using namespace std; string a() { return "PTSO"; } and in Main.cpp: #include <string> #include "H...
asked on 24.12.2014 / 11:31
2
answers

Spring Security with Java EE

Hello, I'm developing a Maven Enterprise Application EAR project and I'm currently implementing the authorization part using Spring Security with Annotation instead of xml. Project Structure: FileAppConfig.javapackagebr.com.seguranca.confi...
asked on 11.05.2015 / 16:21
1
answer

Create python executable: PyOS_InputHook is not available for interactive use of PyGTK

I just finished my first program with python and would like to create an executable for distribution. However, I'm having a hard time doing this. I've tried using py2exe , pyinstaller and cx_freeze to no avail. After reading many opinions a...
asked on 21.12.2015 / 02:20
1
answer

What are closures and what is their use?

The answer to this lambda question What are lambda expressions? And what's the point in using them? talks about closures and expressions tree, however, does not have a clear example of what they are in fact and what their main use. So what are...
asked on 03.09.2014 / 22:11
5
answers

Optimize function to include classes also looking in sub-directories

I have the following function to include classes when we are trying to use a class that has not yet been defined: /** * Attempt to load undefined class * @param object $class_name object class name */ function __autoload($class_name) {...
asked on 16.01.2014 / 16:40
1
answer

Scatter plot with marginal histograms

I would like to know if there is a way to make a graph similar to this in R: Is it possible to make a scatterplot plot and to the side or bottom, how does it display the image, put the histogram representing the data?     
asked on 16.01.2015 / 19:53
1
answer

What are the differences between TreeSet, HashSet and LinkedHashSet?

The idea of Set is not to allow repeated elements, in Java there are three implementations TreeSet , HashSet and LinkedHashSet found some differences In this answer , I would like to know in detail if there are others and in...
asked on 15.06.2018 / 17:12