All Questions

2
answers

How does the Javascript history object work?

I wonder if there is a limit of URLs to be retrieved or not, does it have access to the entire history?     
asked on 11.01.2017 / 12:20
2
answers

How do I leave some invisible image on love2d?

How do I set the visibility of some image in Love2d? Like for example, let it 10%, 25% or 50% visible.     
asked on 05.01.2017 / 00:26
1
answer

Difference between table temporary and table variable

In SQLServer there are table and variable table and variable table features. What would be the most advantageous or best option to put in a procedure that inserts the query that was returned from a SELECT , and can store an average of 2 t...
asked on 24.05.2017 / 13:47
2
answers

How to add elements from a list and return the result as an integer?

I need to set the function soma_elementos This function receives a list with integers and returns an integer corresponding to the sum of the elements of the list received. How do I do this? def soma_elementos(lista): l = []     
asked on 28.04.2017 / 08:24
1
answer

What is the difference between exec (), system () and passthru ()?

What are the differences between these functions? Is there a specific situation to use each function? If it exists, give examples of these situations.     
asked on 26.05.2017 / 16:22
1
answer

The entity or complex type '*' can not be constructed in a LINQ to Entities query

I can not do this? public List<Filial> GetAll() { //Mostra todos os registros incluindo os desativados para os Administradores var ret = _db.Filiais.AsNoTracking() .Where(e => e.Visible) .Orde...
asked on 07.02.2017 / 15:48
1
answer

Doubt about Many-to-Many Relationship EF

I am doubtful in a following Rule: I have N Products and N Coins. From this relationship I will have the ProductMode table: ProdutoMoeda Id - ProdutoId - MoedaID - Nome 1 2 1 ProdutoNome + MoedaNome 2 1 1...
asked on 17.05.2017 / 17:47
1
answer

Is it incorrect to change the arguments in an extended classes in PHP?

Is it incorrect (or "semantically incorrect") to change the arguments in an extended classes in PHP? For example I created this class: class Bar { public function __construct($message, $code, $timer) { var_dump($message, $co...
asked on 30.12.2016 / 23:00
1
answer

What is an event handler?

I've read what an event , but then I saw that there are event handlers, event handler . What is an event handler ? What are they serving and where are they used? Are there in all languages?
asked on 25.05.2017 / 21:21
4
answers

Compare and update data from an HTML table with data returned via JSON?

Problem: I have a table that is populated by data coming from multiple JSON files, so far no problem. The problem is that I need to update the data if the values contained in the JSON are different from what is in the table, but without changing...
asked on 22.02.2017 / 13:46