All Questions

1
answer

When should I worry about UX?

Recently I've seen some posts about what UX is (User Experience) and this part seems to me to be understandable about "what is it?" However, I wanted to know when I should worry about UX. I am a web developer and I usually make CRUD systems f...
asked on 23.08.2018 / 19:36
3
answers

How to get the executable path open in C #

How do I get the project path in C #? Is there a function? Or do I have to type the full path in my application?     
asked on 12.02.2014 / 19:02
4
answers

Difficulty in storing property in object in Javascript

I'm having a difficulty (which is probably pretty silly) in storing a value in a property of an object in Javascript. I have done something similar recently using this.propriedade = valor within the "constructor" function and I had no pro...
asked on 31.01.2014 / 19:47
4
answers

Perfomance in MySQL with InnoDB in large data table

I currently have a table with about 6 million records that in turn perform a lot of I / O operations, so in designing the project I chose to use InnoDB instead of MyISAM in MySQL, after all, lock would be per page, not per table. But I ha...
asked on 29.01.2014 / 23:31
3
answers

How to do a select within a condition?

How can I do to create a script in SQL where a SELECT runs, and according to the result of a column of this first, a certain condition of another table? example: select * from tabela as t SE t.saldo = 0 entao WHERE t2.outracondicao =...
asked on 14.09.2018 / 13:19
3
answers

SQL Query Add duplicate value

When executing the SQL query I get the following result; However,Iwouldliketoreceivetheresultasfollows; SQL Query executed; SELECT CODIGO_BARRAS.barra, produtos_eventos.quantidade FROM PRODUTOS_EVENTOS,...
asked on 28.12.2018 / 14:15
2
answers

Open and close the code or use variable?

Two scripts with the same result: Example 1: <?php ...códigos PHP acima... $tabela = '<table>'; $tabela .= '<tr>'; $tabela .= '<th> Valor1 </th>'; $tabela .= '<th> Valor2 </th>'; $tabela .= '<th...
asked on 25.07.2018 / 17:54
3
answers

Operation in PHP. Multiplication using percentage

<?php echo $i['sellingStatus'][0]['currentPrice'][0]['__value__']; ?> How can I multiply% by% by 2 and then add 60% to the total value? Example: Valor = 10 Multiplica por 2 = 20 Acrescenta 60% = 20 * 60% = 12 Total = 20 + 12 = 32....
asked on 31.03.2014 / 14:20
2
answers

How to make concentric circles in the plot of r

I need to make concentric circles, preferably displaced from the source, in the plot() function to serve as a visual reference for a function. I tried abline() , but I did not succeed.     
asked on 15.05.2018 / 15:55
2
answers

How to log in only active users?

In authentication, in addition to the data required to log in, I want only those with status ativo = 1 to log in, but I do not know how to do this. table user: id username email password ativo UserController public function...
asked on 08.01.2014 / 03:44