All Questions

1
answer

How to receive multiple socket requests on a single server?

Hello! I'm doing a server / client schema program in Python where I wanted to have only one server and multiple clients. Let's say we have 3 clients each making a request to the server per socket connection, how is it that: 1: Could the...
asked on 19.02.2017 / 00:16
2
answers

What's going wrong? BD + Laravel

I'm having a blade form picking up the values from the database. In it I have a date field not required to be filled. When you register an empty date, the results screen displays the date "01/01/1970" . How do I change this behavior...
asked on 13.01.2017 / 17:33
2
answers

Delete placeholder value in input when clicking using AngularJS

Does anyone know how I can delete the placeholder value when I click on the field using AngularJS only? Example: When clicking, automatically add the word name. <input type="text" ng-model="inputText" placeholder="Nome" />...
asked on 06.02.2017 / 14:35
2
answers

How do I rotate an arrow within a circle using Java2D?

Previously, I asked " How to draw an arrow using Java2D? and now with the arrow drawn correctly and positioned within my circle, I would like to have the arrow turn inside the circle so that the center of the circle is the fixed reference point...
asked on 10.10.2017 / 13:39
1
answer

What is a framework abstraction?

In another question I've made here in the Stack Overflow over the organization of folders in a given project, I received a comment saying:    Folder structure ends up being a more "personal" footprint, the point is you respect the paradigms...
asked on 27.04.2017 / 19:41
1
answer

What are anti-design software standards?

Is there a catalog of them for reference, just as it exists for design patterns? Anti-patterns are the same as bad practices?     
asked on 12.03.2017 / 12:43
2
answers

What is the purpose of the RecyclerView.Adapter class when using RecyclerView?

To use RecylerView from Android we need to create a CustomAdapter class that extends from abstract class RecyclerView.Adapter , then implement three methods that are: onCreateViewHolder onBindViewHolder ge...
asked on 18.09.2017 / 00:00
3
answers

What files from a MEAN project should I send to GitHub?

I created a MEAN project in MVC and I'm trying to put it in GitHub, but I'm not sure what to send. If I try to send the folder all it gives error saying that there are more than 2 thousand files because of the modules of NodeJS, Bower, etc. So w...
asked on 23.09.2017 / 01:18
3
answers

Difference between Immediate Child and First-Child?

Could anyone help me with the difference between these two concepts? From what I understand both mean the same thing ... but by performing the test below, the text got the formatting of the pseudo-selector div > p { font-family: Gara...
asked on 25.04.2017 / 04:25
2
answers

Rename the levels of a factor based on a data frame

Suppose I have the date frame iris , present in the memory of R: head(iris) Sepal.Length Sepal.Width Petal.Length Petal.Width Species 1 5.1 3.5 1.4 0.2 setosa 2 4.9 3.0 1.4...
asked on 02.12.2017 / 20:11