All Questions

2
answers

When should I inactivate or delete a record? Good database practices

I have the following question: When should I inactivate a record? When should I delete a record? In case you would like a good practice tip, on which tables does I make a STATUS column? If the tables have this STATUS column I will do an...
asked on 27.10.2015 / 23:14
3
answers

When to use SQLite?

When should I and should not I use SQLite? I have a project that I plan to do I have no idea how many tables are going to be, but I believe more than 15 with at least a thousand lines in some tables. Would it be feasible to do it in SQLite...
asked on 26.11.2015 / 10:58
2
answers

How to create a C program and use graphical Java / C # interface?

I'm studying graphical interface in C, and I realized it's very complex and tiring. So I wanted to know if there is a way to create a C program and use a graphical interface in Java or C #. With frameworks or not ...     
asked on 07.09.2015 / 20:26
2
answers

Why invert the index of the array in a for, to popular the array, makes the process faster?

I was doing some tests in Java and noticed a very strange behavior. I made a two-dimensional array and populated the array in two different ways, filling in random numbers up to 2 ^ 31-1 and just changing its index. I got a considerable performa...
asked on 13.03.2014 / 04:09
2
answers

How to calculate the determinant of a matrix in javascript?

Eg: det([-1, -2, 3], [3, 3, 1], [-1, 2, -3]) // retorna 22 Eg: det([1, 2], [2, 5]) // retorna 1 Eg: det([8]) // retorna 8     
asked on 10.02.2014 / 21:12
3
answers

Writing and reading file via JavaScript

Is it possible (if so how) to do the following method with JavaScript? The person types in a form some arguments, When you click send it will execute a JavaScript code, In this code the function will get the form information and will ope...
asked on 03.03.2014 / 23:18
4
answers

How to copy commits from one branch to another?

I'm using the following workflow with git: I define a task I create a branch for it from the master Implement the task Pull in master I merge my branch into master I push the master However, I skipped step number (2) and got all...
asked on 17.02.2014 / 23:44
2
answers

How to implement the Standard Repository in C # with EF?

I want to make an implementation of the Repository pattern where I'll be using EntityFramework and have the following: p> Interface IRepository : public interface IRepository<T> where T : class { T GetById(int id);...
asked on 16.05.2014 / 21:37
1
answer

Place text side by side

I do not know if it's possible, but I'd like to know if I can get a text divided into two columns?     
asked on 02.03.2015 / 11:16
1
answer

Difference between pseudo-class (colon :) and pseudo-element (double colon ::) in CSS

I would like to know what are the differences between these two CSS concepts, in order to understand and point out what is one, and what may be the other. For example: :hover , ::before . What I've understood so far is that -...
asked on 09.10.2015 / 05:29