All Questions

1
answer

Convert Stack Trace to String in JAVA

What would be the best way to convert Stack Trace from Exception to String ?     
asked on 08.11.2016 / 14:00
1
answer

Calculation Probabilities T-Student in the R

I have the mean and standard deviation of my distribution: mean = -0.49 ; sd=3.029041 How do I calculate the probability of y being a standard deviation below the mean using T-Student with 85 degrees of freedom? Would it be:...
asked on 30.10.2016 / 20:21
1
answer

How to read Yaml with Python?

How do I read a file or Yaml code with Python? Is it necessary to install anything, or can you do it natively? Example: fruits: - Apple - Orange - Strawberry - Mango     
asked on 16.11.2016 / 11:50
1
answer

Difference between sorting methods selection dort, insert sort and bubble sort

I am studying the Data structure discipline and I am developing C ++ programs. I know basically three sorts of sorts (sorts sort, insertion sort and bubble sort), but I do not know in detail the difference between three types. What are t...
asked on 11.11.2016 / 22:29
2
answers

System modulation

I'm developing a C # system with WinForms of Livestock Control for a farm, and will communicate with a scale to improve the weighing process. Some of the features are (Invoice entry, vaccination, casualties, transfers, purchases, stock). I...
asked on 26.10.2016 / 16:09
1
answer

NullPointerException error in java

I have a class of type User that has as attribute a vector of Sensors , and class Sensors has as attribute a vector of Data . After creating five User objects and saving them to a txt file, I populated 3 Sensor objects...
asked on 21.07.2015 / 01:02
1
answer

Database duplicate

Database duplicate would be rows of a table that are repeated? Or would it be something more complex ?, this question fits into the context of database relationships     
asked on 09.11.2016 / 13:24
2
answers

Laravel 5.3 Trying to get property of non-object

Good morning! I followed what is said in this tutorial to fill values in a view: link And I did the same scheme on my controller: public function select_cursos_disciplinas() { $cursos = DB::table('select * from cursos'); $discipli...
asked on 03.11.2016 / 12:58
2
answers

Should the Domain layer depend on Infrastructure?

I'm reading the Evans book on DDD and I came across the following quote:    The Infra layer does not perform any action on the domain layer, because it is below it, because it is below it should not have specific knowledge about the domain it...
asked on 08.07.2015 / 02:43
2
answers

How to send queries simultaneously to test the efficiency of Transactions in MySQL?

I have an InnoDB table in MySQL where I store a user's account balance. To give a% of the balance I use Transactions to prevent two or more queries from attempting to give UPDATE simultaneously and end up corrupting the balance amount...
asked on 06.07.2015 / 10:07