All Questions

2
answers

How, when and where to use the magic methods of PHP? Get and Set? What's the difference? Should I use them in all classes I create?

I'm starting in OOP and would like to know when, where and how I should use the magic methods GET and SET and if possible to cite their differences in practice. Should I use them in all classes I create? How will I know if it is necessary or not...
asked on 12.03.2015 / 02:15
1
answer

How is the life cycle of an ASP.NET 5 application?

This is a question I've always had (including in earlier versions of ASP.NET), but I'll ask here in the context of ASP.NET 5. The question is: when building an application with ASP.NET 5 we coded a Startup class that is responsible for se...
asked on 26.02.2015 / 03:41
2
answers

Block unwanted AJAX calls

I tested Google Plus, turned on Firebug and inserted a post. When analyzing Firebug I retrieved the URL where it was executed via AJAX. I copied the URL and ran it in the browser with the active session. It turned out to be an error:    F...
asked on 05.06.2014 / 13:59
4
answers

How to check if the user is online?

I'm developing a project in PHP and using MySQL as a database. I only have one question about how to chat: How to know which users are online right now?     
asked on 17.03.2014 / 18:08
3
answers

How to free all memory allocated by an object - Delphi

What is the best way to release all memory allocated by creating an object to the S.O. Let's not consider: Objeto.Free; Objeto := Nil; Sysutils.FreeAndNil(Objeto); Would there be more ways to free up memory for OS?     
asked on 18.02.2014 / 13:35
2
answers

How do I schedule releases for continuous integration with Jenkins?

I'm using the Jenkins tool for seamless integration, it's working normally. I tried to leave it scheduled to build every 3 hours, so I checked the "Build periodically" checkbox and left it as follows: * 3 * * * Letting it in this way genera...
asked on 08.01.2014 / 10:39
1
answer

upload without refresh with FormData, jquery

I need to update my script and I want to adapt my upload forms to be upados without the need to refresh. I did not use the script for third-party scripts so I searched and found this function of jQuery FormData . I did not rea...
asked on 09.12.2014 / 18:03
3
answers

Organize data in Excel to open as table in R?

I have a file with 50 comments and 3 variables in Excel (.xlsx) file, and I made it into .csv. I used banco1<- read.csv("teste1.csv") to create the table in R, but my 3 variables appear in the same column. How do I make them appear sep...
asked on 29.09.2014 / 05:19
2
answers

ASP.NET Identity and Windows Identity Foundation (WIF)?

Once again talking about ASP.NET Identity . There is another theme within the same subject that I believe to be of great importance to the community (especially to me, the main stakeholder). This is Windows Identity Foundation (WIF). What i...
asked on 19.05.2014 / 19:04
2
answers

What is memory segmentation?

I read about memory segmentation , however, I can not understand what memory segmentation really is and how it affects how my program works. Illustration See this sample program that generates a segmentation fault error: int main(void...
asked on 22.06.2017 / 18:36