All Questions

1
answer

Select (combobox) Dynamic

I need to use a dynamic select on my page, in which when I select the state (UF), it shows me in the next select only the cities of this UF. In the same way the neighborhoods. All of this information is already in the database....
asked on 16.02.2017 / 20:27
1
answer

MVVM, Should I use ICommand on all controls?

The use of commands through the ICommand interface is part of the MVVM. The question is, should I use commands on all controls? Even those who are not connected with the business rule? For example, a HambugerButton wh...
asked on 31.12.2016 / 21:06
1
answer

Create customizable parameter for Application Insights

In a WebForms project (C # - .NET 4.6.2) I'm using Azure's Application Insights telemetry I'd like to send a custom parameter to the statistic. / p> I basically want to send the ClientId to the telemetry, so I would know to identify some bo...
asked on 30.01.2017 / 11:59
1
answer

Importing a txt file in PostgreSQL 9.6

Personal I have the following problem: I have a file in txt format with the following information: 1;Helder;Masculino;GO 2;João;Masculino;RJ 3;Maria;Feminino;PR 4;Pedro;Masculino;MA I used this example to test the import to postgres 9.6, bu...
asked on 04.01.2017 / 13:28
4
answers

How to delete file or folder in C Language

How to delete a file or folder by code in c language, I already tried to use the remove(pt); method but it did not work, I tried using DOS commands and it did not work either.     
asked on 17.02.2017 / 20:56
1
answer

Save relationship 1: 1 in Laravel 5.3

In my scenario, I have the tables of users and teachers, where a teacher has a user, so I have a 1:1 relation. Migrations: create_users_table Schema::create('users', function (Blueprint $table) { $table->increments('id'...
asked on 07.01.2017 / 01:33
2
answers

Store multiple select in a column only with PHP / javascript + MySQL

I'mhavingahardtimestoringselectmultiplesinthesametablefield.Inthiscase,whenfillingouttheformandmarkingmorethanoneselect,itstoresonlyoneandtheinputquantityfieldthatisinjavascriptdoesnotstore.HowcouldIdoittostoreeverything<?phperror_reporting...
asked on 18.01.2017 / 23:07
1
answer

What formula is used to calculate FPS in a game?

I'm creating a game in java using lwjgl3, I've seen many algorithms but they're all different from each other. So simplifying my code would be like this: start(); while(running){ update(); render(); } exit(); What formula could...
asked on 02.01.2017 / 20:14
1
answer

Is it possible to run a different PHP in a particular folder?

I have a problem: The server uses PHP 5.3, which is very old but can not be changed. I have a script that requires PHP 5.4 +, is the Ratchet websocket. Is it possible to install a separate PHP to be used only in the folder where this script i...
asked on 24.01.2017 / 17:53
1
answer

In Python is there any debug function equivalent to PHP's "print_r" or "var_dump"?

In Python is there any debug function equivalent to print_r or var_dump of PHP? For example, in PHP: $valor = 'Hello'; var_dump($valor); string(5)'Hello' In Python would have some similar function for debug?     
asked on 10.01.2017 / 16:54