All Questions

4
answers

How to implement journaling in Python?

I need to do a series of operations involving binary files (you can not use BD), and I need to ensure that they finish successfully even in the middle of the operation. To do this, I see no way out but to implement a journaling system manuall...
asked on 14.02.2014 / 06:53
3
answers

Can the problem be solved in practice?

The problem of the stop can be explained as: given a program and an entry for it, will it complete its execution and return a response or will it go into an infinite cycle? This was proven undecidable by Turing, unquestionable. The point is:...
asked on 29.08.2014 / 02:22
1
answer

How to install a Windows Service without Setup?

I have a Windows Service project in Visual Studio in C #, however, I need to install this project from lines of code, without using # Is there any way to do this?     
asked on 18.04.2014 / 15:28
1
answer

HTML5 print screen automatically

Is it possible or is there any html5 / javascript / jquery library that allows me to take a print out of the window or a div and save it automatically without requiring the user's permission? I've tried window.print() but it asks for u...
asked on 25.02.2014 / 15:06
4
answers

Database and transaction control in operations with values

In my project I need to develop a system of transactions where the user will put credit and the services that he has contracted will consume these credits. I built the following structure but I do not know if it's the best way to do it: Usu...
asked on 27.11.2014 / 16:00
1
answer

What is the __future__ module for?

I have seen in some codes written in Python the following statement: from __future__ import print_function What is the purpose of this __future__ module? When do I need to import it into a script I'm doing? Why is it, unlike th...
asked on 03.05.2016 / 05:21
3
answers

What happens to the 3-digit hexadecimal colors?

I've always been curious to know what happens in a 3-digit hexadecimal expression of a color in CSS. For example, you have 000 and 000000 , which is black. E fff or ffffff that is white. There are also other colors...
asked on 13.02.2017 / 13:29
2
answers

What is an upsert?

I saw the term UPSERT in a blog and would like to better understand how it works. Does it designate what kind of operation? In what situations can it be used? Does it have idempotency ?
asked on 22.08.2018 / 20:30
2
answers

What is the purpose of a static constructor?

I've always used constructors as follows: public MinhaClasse() { //Algo ... } However, I discovered that in C # it is possible to create a static constructor as follows: public class MinhaClasse { public string Propriedade { get;...
asked on 03.07.2016 / 23:39
2
answers

What would a tree and a forest be?

Sometimes here, I found here in the OS , questions about trees, graphs and even forests, in the most diverse languages, but In programming, what would a tree be? And what would a forest be? Is it an evolution of the tree, or a set of trees?...
asked on 30.06.2017 / 15:12