All Questions

1
answer

Multiple inheritance and diamond problem

What is the diamond problem? How do languages treat you? And they treat differently because there is such a difference?     
asked on 31.08.2017 / 15:12
2
answers

What status code to use when there is no bank record to return in an HTTP request?

I have an endpoint that returns a list of products. So, if there's any data in this list, I'll set the HTTP status code to 200, and if it does not, I just return a json saying that no record was found and the status code of HTTP 200. My en...
asked on 12.06.2017 / 00:40
1
answer

When to use vertical-align?

I have a notion that in certain cases it is recommended to use this property instead of text-align , margin or position . But I do not know why or how vertical-align works. Also, how do you use this property?    ...
asked on 04.11.2014 / 02:39
1
answer

removeAttr ('required') obsolete?

I have the following line in my code: $('#infs').removeAttr('required'); And when I use the jQuery Migrate plugin, I get the following warning in the debug:    JQMIGRATE: jQuery.fn.removeAttr no longer sets boolean properties:   requ...
asked on 25.07.2017 / 17:21
1
answer

Plot grid histograms with fixed Y axis - R

I would like to plot two (or more) histograms in R where the Y axis prevails a global value for all histograms. I do not want overlapping histograms, but rather side by side. The more histogram I am, it adds (to the right) of the plot and all wi...
asked on 05.06.2017 / 18:56
2
answers

convert json into javascript array

How do I convert the following json into array : { '0': '{ "codBanco":"085","banco":"cecred","cedente":"Aluno 2","datas":"2017/08/30","nosso_numero":"00042200000000099","cedente_cnpj":"06624079975","agencia":"01066","codigo_cedente":...
asked on 23.08.2017 / 20:55
1
answer

Database changes with ASP.NET MVC 5

I'm starting some independent projects using ASP.NET MVC 5 with Entity Framework, and more learning from technology. And at the moment I had a great doubt. I used the generated code through a connection to the database, creating an ADO.NET En...
asked on 02.09.2014 / 03:12
1
answer

Pass as parameter the "visibility"

How do I pass a visibility parameter and then set it? Ex: private void _setVisibility(View.VISIBLE a){ _viewLineStatus.setVisibility(a); }     
asked on 01.09.2014 / 20:51
1
answer

Working with Currency (decimal)

I'm working on a project where I had to use decimal for Currency field. As the American standard and different from the Brazilian soon had some difficulties. I found some examples of how to deal with it, but I did not get much succe...
asked on 08.11.2014 / 03:18
1
answer

Monitoring REST API status

I am learning and trying to resolve a case of a POST request where a large body is being sent to be processed by the API and return is a job ID to access the result. It turns out that the time the API takes to process can vary depending...
asked on 22.12.2014 / 14:06