All Questions

1
answer

Local MySQL synchronization with remote

I would like to know if it is possible to replicate a local MySQL database with the remote. I use PhpMyAdmin and I do not know if it will be possible because I do not have a fixed IP to find the other one.     
asked on 06.07.2016 / 12:54
3
answers

Count or Count ()

Having a list, what is the best way to know the number of items on this list and what is the difference? if (minhaLista.Count > 0) ; or if (minhaLista.Count() > 0) ;     
asked on 07.10.2016 / 18:43
4
answers

Regex - Get text up to a certain string

I would like to get the text up to the characters a) and if possible and the replies also separated using Regex? pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergunta pergun...
asked on 28.11.2017 / 20:05
2
answers

Priority in progressdialog

Is it possible to prioritize progressdialog vs. Thread ? In my app, after clicking a button, I need to freeze progressdialog for 2 seconds. After that, I generate a query to my webservice , and as soon as I return the d...
asked on 26.02.2015 / 18:41
1
answer

Is there any technical reason for the Observer pattern or the like not being used independently of the observed object?

We often use things we do not even think about because it's like this. I do not like to place mechanism pendants on an object that is domain specific. If I have a screen control or a client that has some action that triggers an event my no...
asked on 30.07.2018 / 15:16
3
answers

How do objects created following singleton work?

I would like to understand how objects created following the singleton design pattern work in javascript. My main doubts are about the methods and attributes of this object, where and how to create them, and where and how to access them. I...
asked on 24.12.2015 / 19:23
2
answers

Redirect from Http to Https in Owin + OAuth + ExternalLogin

In the Host where my application is hosted, it uses ARR to redirect all pages to Https . The problem is that in the way that the code for asp.net mvc is configured, it means that the request is http , even though it is h...
asked on 22.10.2015 / 19:56
1
answer

What are the differences between mocks and fakes?

When we implement testing on a software, Mocks and Fakes are two techniques or approaches to isolate code being tested from the rest of the system. Without going into the subject: Mocks are like empty shells with predefined behaviors,...
asked on 02.02.2016 / 02:09
3
answers

Splash Screen loading with application

My application, when starting, does the first search in the database. Since I use Hibernate , this first connection is a bit more time consuming because it assembles all the database mapping. I'm thinking of adding a Splash Screen at the b...
asked on 24.07.2015 / 14:22
1
answer

How to send an audio file from Android phone to computer?

I'm working on an Android app that makes phone call recording on a mobile device. I just need to send a copy of the audio file to the computer via TCP / IP. I already have a function that sends text to the computer. But how to send an audio f...
asked on 20.09.2016 / 04:00