All Questions

2
answers

Identify your smartphone in a unique way

I have an application that needs to uniquely identify a device. Even if the user removes and installs the app again, I would like the handle to remain the same. At first I thought about using the device's IME, but reading documentation ,...
asked on 19.07.2018 / 18:04
2
answers

What is the reason for using DbMigration in CodeFirst?

What is the purpose of using DbMigration when developing a project using CodeFirst? Is using it a good practice, or is it something that does not cause major impacts on the implementation and / or maintenance of the system?     
asked on 22.06.2014 / 00:37
1
answer

How to know which object is focused at runtime

I saw that you already have a similar question with mine only that is in C # . I'm doing a field check routine and when one of the date fields is blank it gives the message. I need when one of these fields is in focus, show the field nam...
asked on 06.04.2018 / 21:18
1
answer

Is it wrong to show something to the user?

Well I'm starting now in the poo area, I saw in a class where I'm watching on YouTube that it was wrong Methods write something on the screen, and how would I show if something wrong happened in a particular action that the user did . Example...
asked on 27.06.2018 / 15:59
1
answer

How to reduce the spacing between characters printed with \ t in C ++?

I wanted to put the columns closer so that they do not happen as in figure 2. int i,j,elemento; for(i=0; i<elemento; i++){ for(j=-elemento; j<=elemento; j++){ if(i >= abs(j)) { cout<<"\t"<<abs(j)+1...
asked on 31.08.2018 / 20:11
2
answers

What is the problem of returning a local variable?

What can happen if I return a local variable? I read on the internet that it is not a good idea to return a local variable. Maybe because the variable when exiting the function is deleted? Example: std::string StrLower(std::string str) {...
asked on 22.04.2018 / 14:56
2
answers

How to execute the tapply function for multiple dataframes in R?

I want to execute only ONE tapply function and get results for each of the dataframes at one time: dataset1<-data.frame(group = rep(c('a','b','c','d'), 3, each = 3), number1 = c(1:36), number2 = c(1:36)) dataset...
asked on 18.08.2018 / 04:28
1
answer

Publishing packages in the NPM repository

How to publish a package made by me in the npm repository for other programmers to test?     
asked on 11.05.2018 / 22:35
2
answers

Data Modeling: Integrity vs. Performance

In the company I work for, there is a data architecture I've never seen before, and I wonder if this is common, or if it's a new market trend. Just to mention the bank is Oracle. Here are some points: There is almost no relationship between...
asked on 03.05.2018 / 16:36
1
answer

Float with PHP precision

I am bringing the sum of the values from the database and as a result it returns me according to the example below:    6.3285714285714 I would like it to look like this:    6.32 I've tried ceil() and round() , but both...
asked on 25.07.2018 / 22:51