Posts by motorola • 360 points
11 posts
-
2
votes1
answer203
viewsQ: Ternary relationship of entities in a relational scheme would be counter-normative, and how to do this mapping in Entity framework 6?
Taking as an example: We can abstract the relationship in several ways, one of them would be putting relation of N p/ N between project and skills needed, while another for employee and skills…
-
3
votes0
answers77
viewsQ: Are web security standards insufficient?
Well, above all, in addition to the issue I will raise here, I would also like to raise a debate, the security standards for system authentication are not insufficient? Context of the problem: I…
-
1
votes2
answers932
viewsA: How to store values of a list in individual variables without knowing its size?
There is no point in storing each value of the list in different variables, remembering that a list is a vector of variables and has as one of the objectives precisely not having to declare N…
-
0
votes2
answers324
viewsA: How to access parameters received from a class in an external javascript function?
Put input parameters as function argument, for example: class Helper { constructor(user) { this.user = user; } } rebeceUser function (variavelQualquer) { console.log(variavelQualquer); // recebe…
-
1
votes2
answers560
viewsA: Center a td according to width size
Say you put that the td size occupies 50% of the div, by default the object will be positioned on the left and top of the div, to let it center, "push it" 25% to the right, thus letting the item…
-
0
votes2
answers90
viewsA: How to change an element after an action on the page?
I don’t know much about css, but I know it can be easily done in Javascript. Create an event for when the input is not empty then "title" gains a style attribute function pintaTitulo(){ var titulo =…
-
6
votes4
answers4308
viewsA: Load component only after finishing HTTP requests
The Http get method is an asynchronous method, i.e., after starting its execution, the application starts a new thread for it, and continues the default execution of its other methods. It is very…
-
1
votes1
answer30
viewsQ: How is it possible not to use a dependency to compile, but to use it at runtime?
Studying build tools like Maven, I saw that it is possible to declare the scope of a dependency only as Runtime, which would make it impossible to compile a code that uses it. As this is possible,…
-
2
votes1
answer1466
viewsQ: How to store the return value of a function in a local variable in C?
I created a function that returned a certain value when using this function in the function main of the program, how can I store its return, and for example, display this return in a printf in main?…
-
2
votes2
answers363
viewsQ: if-Else command is not working
In one of the exercises of a book I’m reading, I’m asked to trace a person’s "profile" according to the year she was born (like those Facebook tests) but in order to limit the possibility of what is…
-
0
votes1
answer63
viewsQ: Why can’t I change a variable in C by performing an arithmetic operation with it?
I’m not getting the expected result: libraries ... int main (void){ float c,r; setlocale(LC_ALL,""); printf("Digite o salário\n"); scanf("%f",&c); printf("Digite o reajuste percentual:\n");…