Posts by mikaellemos033 • 94 points
9 posts
-
0
votes2
answers87
viewsA: How do Orms, like Active Record, generate SQL code?
Actually my doubt was another, I was not in doubt of how the querie is created. my doubt basically was this: How an expression like that is transformed: { (id > 1) & (created_at <…
-
2
votes2
answers87
viewsQ: How do Orms, like Active Record, generate SQL code?
I’d like to know how Orms in ruby transform a proc/lambda like this: { (id > 1) & (created_at < Time.now) } in something like " id > 1 and created_at < '2018-01-25' ".…
-
2
votes1
answer4307
viewsA: How to make a program differentiate even and odd numbers in python
You need to use an operator called module, because it will divide the number, and return you the rest, so if a number divided by 2 returns zero, it will be even otherwise it will be odd. example: 4…
python-3.xanswered mikaellemos033 94 -
1
votes1
answer163
viewsQ: Why deploy with PHP is simpler?
I have the following question, because deploy with PHP is simpler than with other languages like PYTHON or RUBY? I know there are many Stacks ready, but when it is to move up such an application in…
-
1
votes2
answers805
viewsQ: Is it correct to use JSON to store data that does not need to be in a database?
Ex: In the company where I work they have put in my code a large amount of data that does not need to be in the database, but is not text or actual content. They are a lot of validations and…
-
0
votes0
answers299
viewsQ: Problems with SMTP connection on Uol Host
Hello, I’m having a problem, I can’t send an authenticated email via SMTP by Uol Host, the client has a windows hosting with PHP 5.2, and every time I try to send the email appears connect() failed…
-
0
votes1
answer182
viewsQ: Problems with 777 and PHP permission
I have a problem involving PHP and 777 permission. On my server, there is an uploads folder with permission 777, and a hacker managed to upload a file .php in that folder, which changed everything…
-
1
votes1
answer345
viewsQ: How can I get permission publish_actions from facebook?
I’m developing an app on Facebook and I need permission publish_actions. In the documentation it says that I have to have an approval and that it is possible to test it by creating a test…
-
0
votes1
answer85
viewsQ: Problems with PHP 5.2
I made a page of Admin for a website and when I climbed on the server I found out that the PHP version is 5.2 and there is no way I can update, the server always introduce me error in function…
phpasked mikaellemos033 94