All Questions

1
answer

Tables with unconventional names such as ABC1234

I've seen some that some systems adopt a different way of naming tables with letters and numbers like ABC1234, XX_900 , etc. These days I've been working on creating some queries on a system that uses this type of approach, more than...
asked on 14.01.2017 / 13:36
1
answer

Problem with Nuget Packages Visual Studio

Trying to compile the application, I come across the error:    Severity Code Description Project File Line Suppression State   Error This project references NuGet package (s) that are missing on   this computer. Use NuGet Package Restore to d...
asked on 15.02.2017 / 18:22
2
answers

MySQL does not use the index in the query (inner join)

I have a query that is taking a while to execute, analyzing explain I see that MySQL is not using the index in one of the tables. Tables: CREATE TABLE 'rel_financeiro' ( 'protocolo' char(13) NOT NULL, 'aceito' datetime DEFAULT NULL,...
asked on 19.11.2015 / 22:00
1
answer

Help with RGB color in 16bit Hexadecimal

So, I'm creating an editor for a PS2 football game in C #. And the "color system" of the game is RGB, and so far everything was going very well, because I was encountering with "normal" Hex codes in the game how to choose the color R: 255 G: 255...
asked on 03.04.2017 / 21:20
2
answers

Convert time format in seconds

I have a value displayed by a json: "tempoShoutcast":"03:11:48" How can I make this format for seconds?     
asked on 11.01.2017 / 07:15
1
answer

Should we neglect the return of functions in C that already receive the desired value by the parameter by reference?

Looking at the documentation from scanf() I saw it return a value, but I see the codes using her without making use of this return. Is this right?     
asked on 13.03.2017 / 14:35
2
answers

Catch only last month using R

I need to extract the last monthly values from column 2 of dataframe ntnb45 . Is there any direct way to do this in R? library(GetTDData) ntnb <- download.TD.data('NTN-B') ntnb45 <- read.TD.files(dl.folder = 'TD Files',maturity = '...
asked on 24.03.2017 / 21:20
1
answer

Converting TextView value to double

Good afternoon, in my project I'm having the following problem. At the same time there is an activity in which products are added. To add a product, fill in the Name, Quantity and Unit Value fields. The quantity and unit value fields are multipl...
asked on 02.04.2017 / 19:11
1
answer

How to Generate Secure Tokens Dynamically

Misc applications use token authentication to securely communicate on the network. However, using dynamically generated tokens, the likelihood of it breaking significantly decreases. So here's the question: How to dynamically generate dynamic to...
asked on 22.02.2017 / 13:15
2
answers

Sound only plays in debug mode

Why does the sound only play in debug mode? Uri notification = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION); MediaPlayer mp = MediaPlayer.create(getApplicationContext(), notification); mp.start(); mp.reset(); mp.release();...
asked on 10.05.2017 / 11:45