All Questions

1
answer

What is ACID in database?

I'm not talking about web implementation indicator . Beyond the acronym, why is it important?     
asked on 11.05.2017 / 14:41
1
answer

How to put captions (subtitles) in videos?

How can I add subtitles / subtitles to video tag: <video> <source src="video/video.mp4" type="video/mp4"> </video>     
asked on 09.04.2017 / 03:07
1
answer

What is Component Object Model (COM)?

I was reading this question 1 here on the site and I came across some times with the term "COM objects". A brief survey showed me that COM means Component Object Model , but I could not extract more information than this. > What I w...
asked on 18.04.2017 / 15:36
2
answers

How to detect that the headset has been plugged in?

I've been noticing that every time I "plug in" the headset into my smarphone, a Deezer notification (music stream application) appears. ) already telling you to click and to open the application. According to the documentation that talks abo...
asked on 27.09.2017 / 16:14
2
answers

What does bank return INSERT 0 1 mean?

When I execute commands in the bank I have returns to and execution of the same ones. Doubt What does 0 mean INSERT 0 1 ? Example CREATE TABLE test( id SERIAL, name VARCHAR(50), PRIMARY KEY (id) ); input:...
asked on 28.06.2017 / 15:53
2
answers

LINQ query with sum

I have the following query in LINQ var dados = _db.Contratos .Where(a => a.Adesoes.Any(b => b.Pago)) .Select(a => new { Contrato = a.Numero, ValorTASenior = a.Adesoes.Where(b => b.Pago).Sum(b => b.Val...
asked on 14.12.2017 / 17:19
1
answer

How to clear a 301 redirect that has already been stored in the browser cache?

To get easy to understand the problem, I will call the site that had the redirection of "A" and the destination of "B" A 301 (rather than 302) redirect was made from site A to site B without any expiration date, since the server was not sendi...
asked on 06.10.2017 / 02:14
2
answers

"Deep Copy" without importing the "copy" module?

Is there any other way to perform a "Deep Copy" of objects in Python without using deepcopy() of the default library copy ? Could the code below be spelled otherwise? import copy class Xpto: pass lst = [ Xpto(), Xpto(...
asked on 21.10.2017 / 02:02
1
answer

Git, Doubt when I commit

I have a question about using git, and I would like the help of you. I have the following situation: I'm developing a new feature in my application, but I did not complete it completely. Let's assume that I'm developing on the pc at home....
asked on 18.10.2017 / 04:52
4
answers

How to identify and when to use Value Object?

I'm studying DDD from the books of Eric Evans and Vernon. During the reading I came across the Value Object implementation, I even understood the concept but could not abstract into a real situation within a domain. I joined the following t...
asked on 28.08.2017 / 21:04