All Questions

1
answer

Why does 'window.alert ()' work in the navigation between tabs and the 'window.focus ()' does not?

I have the following method: (function(){ window.addEventListener('blur', openChat); window.addEventListener('pagehide', openChat); })(); function openChat(){ setTimeout(function(){ alert('Há uma mensagem nova!...
asked on 12.04.2016 / 00:24
1
answer

How to retrieve via C # the page HTML generated with AngularJS?

How to retrieve the HTML code of a page that uses AngularJS to process some information and generate a chart? I was able to easily retrieve the HTML code using WebRequest as demonstrated in the example below, but the content (graphic) generated...
asked on 29.02.2016 / 15:08
1
answer

Error: "You must add a reference to assembly 'System.Runtime.Serialization'"

I'm having this error:    The type 'System.Runtime.Serialization.IExtensibleDataObject' is   defined in an assembly that is not referenced. You must adda reference   to assembly 'System.Runtime.Serialization,   Version = 3.0.0.0, Cultur...
asked on 09.02.2016 / 21:23
1
answer

Web service orchestration

In many sites and articles, the term service orchestration is displayed. But what does it mean to orchestrate services and processes in web services terminology?     
asked on 11.02.2016 / 14:18
3
answers

How do I log in to a desktop application via a web application?

I have a web application developed with ASP.NET MVC and login by storing the data in the Session. I have another application, but desktop, which does some tasks that can not be done on the web, but this application needs to be authenticated w...
asked on 18.02.2016 / 14:24
2
answers

How to make an INNER JOIN does not repeat information

I have the following SQL INNER JOIN : $sqlxml = " SELECT clientes.id, clientes.nome, clientes.status, clientes.cliente, clientes.tipo, clientes.disponibilidade, imoveis.id, imoveis.cod, imoveis.status, imoveis.vanual, COUNT(imoveis.id) AS im...
asked on 14.03.2016 / 17:51
2
answers

Modifying an item from a list shared by multiple threads

I have the following pseudo-code: public void Associar(List<Data> dados) { List<Task> tasks = new List<Task>(); foreach(dado in dados) { tasks.Add(AdicionarAsync(dado)); } Task.WaitAll(tasks.ToArray());...
asked on 22.06.2016 / 22:04
1
answer

Query in a Web Service every 1 minute [closed]

I have a Web Service in JSON, which I'm querying through a PHP page and saving the data to a MySQL database. This Web Service contains information from some sensors and every 1 minute I wanted to do this query and save that data in the database....
asked on 06.04.2016 / 21:54
3
answers

Expand or Minimize code snippet in eclipse

It would be possible to minimize orexpand justasnippetofcodeinsidea{...},exampleblock using the eclipse IDE?     
asked on 12.11.2018 / 13:40
1
answer

Stargazer changing the position of the dependent variable

Considering the quantile regressions. library(quantreg) > x=rnorm(100,12,2) > y=rnorm(100,0,4) a<-rq(y~x,tau = .10) b<-rq(y~x,tau = .15) c<-rq(y~x,tau = .20) d<-rq(y~x,tau = .25) As I just have a constant and an explanat...
asked on 16.05.2016 / 22:40