All Questions

1
answer

What is the difference between a statement and an expression?

In the programming world these are two terms that are widely used, but sometimes I see people using them (sometimes even experienced professionals) as if they are interchangeable. Is this valid? When does each term apply?     
asked on 27.11.2016 / 23:21
1
answer

What tools are available for creating C # project installers?

I'm having trouble finding a satisfactory installer solution for my Windows forms and WPF applications. What does Microsoft have to offer or do I have flexibility? What do you use? What do you recommend?     
asked on 13.05.2016 / 13:07
1
answer

What does Traceback mean?

When creating some basic programs in Python, I occasionally run into errors that bring the word traceback , so I was curious to find out what traceback meant.     
asked on 05.11.2016 / 19:40
1
answer

Rewrite URL for root access but not block access to sub-domains

I have the following code that rewrites the URL you entered to correctly identify the areas, sub-areas, and content ID that the visitor is trying to access: # Rewrite the url <IfModule mod_rewrite.c> RewriteEngine On # Redirect whe...
asked on 25.01.2014 / 19:14
4
answers

Within a decision structure, does the order of the terms change the result?

Is there any difference between: if (variavelA == variavelB) and if (variavelB == variavelA) In Java and C #, is there any difference between the examples? I emphasize that the question is not limited only to the == operator, bu...
asked on 25.05.2014 / 18:30
1
answer

How to keep an updated git repository with another?

I have two repositories in GitHub, the second one being a clone of the first, and for the time being private (for security reasons). I cloned this second on my machine so I could work on it, but besides my own commits I also need to keep it u...
asked on 12.11.2015 / 01:54
2
answers

How to use a variable contained in another PHP page?

Well, good afternoon. How do I use a variable from an X.php file on the Y.php page? I want to do, for example, the following: <?php $Frase = "minha frase"; ?> On my Y page I want to get the value of one of these variables, eg: &l...
asked on 16.11.2015 / 17:19
2
answers

Association with scope in Ruby on Rails

I have a Ruby on Rails application in which I have licenses, items that can be licensed, and a table that lists the two (What items in what quantity are present in the license?). Analogously to the items in a shopping cart. Some of the items...
asked on 13.12.2013 / 19:46
2
answers

How do you read comma sentences in JavaScript?

Today I was testing minify my code and I was in doubt about the conversion. Original Code Loader = (function(Configure){ var CurrentAction = null; var loaded = []; loader = function(){} loader.prototype = { chec...
asked on 20.07.2016 / 16:34
3
answers

Error: Mcrypt required in Laravel 4

I made a new installation of Laravel 4. I have all the system requirements are correct. However, when I try to use artisan to run the key:generate command, to configure my APP, I can not. It returns me the following error:    Mc...
asked on 07.01.2014 / 19:48