All Questions

1
answer

JPA, Hibernate, Spring MVC, Maven - Definition

I have many doubts in definitions! My goal is to build an architecture of a system, but the definitions of JPA, HIBERNATE, SPRING MVC, MAVEN, are obscure. JPA: Nothing is more than a specification (ok) Hibernate: Persistence Provider,...
asked on 24.06.2016 / 01:57
1
answer

Access values within an array from the index

I have a x variable with the following content inside: x = [ { id: '1', name: 'name, } ] And I thought that to access id was x.id , but it is not so. How to access?     
asked on 22.05.2016 / 20:24
1
answer

Is it right to create my HTML tags?

I'm creating a website and I do not really like to be adding classes and id's because I think this makes the HTML a bit dirty. The system I'm developing will not be indexed by search engines because it's a small web app that contains a privat...
asked on 03.07.2016 / 00:19
1
answer

How does Django create and verify tokens to reset password?

Given a template to reset password already implemented by Django, in the following views: django.contrib.auth.password_reset django.contrib.auth.password_reset_done django.contrib.auth.password_reset_confirm django.contrib.auth.passwor...
asked on 07.06.2016 / 13:42
1
answer

Limit login attempts by time and quantity

I am working on a login system with php and mysql and this doubt arose because I do not know if this can only be considered something "acceptable" as another security tool in the login process. > Well say the idea is to limit the...
asked on 05.06.2016 / 19:09
1
answer

Use "FieldByName" or the associated variable?

I have a doubt that maybe it's silly ... But it takes a little bit of peace. When I have a ClientDataset , a MemoryTable or a Query , how do I get the value of a field using FieldByName() or the variable associated w...
asked on 12.07.2016 / 03:40
1
answer

What is the difference between sorted () and .sort ()?

Why is the sorted() function considered more direct than the .sort() method used in lists with tuples?     
asked on 29.04.2016 / 19:32
3
answers

Out Of Memory When Running a GetFiles in a Very Large Directory

I currently have a directory with multiple subdirectories that have more than 3 million files. I need to map only the directory where these files are. And this mapping should be separated by file type. The big problems are when I run a .Ge...
asked on 18.07.2016 / 15:39
1
answer

AngularJS - What is the best practice when uploading images?

I've implemented this solution to upload the images: MaquinaResource.save($scope.maquina, function (data, responseHeaders) { var formDataImage = new FormData(); for(var i = 0 ; i < $scope.images.length; i++) { formDataImage.ap...
asked on 21.06.2016 / 15:36
1
answer

Is a background loaded even when a rule is not applied to an element?

I do not know if the title of the question is clear, I will try to explain as clearly as possible. I'm studying about responsive sites and I try my best not to use large images so the site does not stay slow. I saw that I can create different si...
asked on 02.04.2015 / 20:07