Posts by David Ferrari • 67 points
10 posts
-
0
votes0
answers59
viewsQ: Unit Test C# best practice
I have a test code for a method until quite simple to check. public bool EmPeriodoDeExigencia(ParametroProrrogacao parametroProrrogacao, Requerimento requerimento) { PreCondicao .Para("Determinar o…
-
0
votes2
answers86
viewsQ: How best to separate the two lists in C# by doing an operation with each side of the split
This questioning came to my head in an activity I was doing here at work. What would be the best way to do this operation? The example I bring would be say we have a T object, and we have a List, if…
c#asked David Ferrari 67 -
1
votes0
answers93
viewsQ: Multi-screen configuration Visual Studio 2019
Well basically I have 2 screens, one treated as primary by windows, and another as secondary. When compiling a code on the secondary screen that is where I leave the code the execution happens on my…
visual-studioasked David Ferrari 67 -
0
votes0
answers46
viewsQ: PHP hello world, strange problem
I’m having a strange problem in a simple hello world with php, I use XAMPP in the latest version, and when declaring the most basic code: <?php echo "Hello World" ?> Instead of the result…
phpasked David Ferrari 67 -
-1
votes2
answers59
viewsQ: Integer values on the terminal
I need to sum the odd numbers between two values. In online compilers the code works as predicted, adding any odd input values and giving the expected output, but in my terminal (4.15.0-34-Generic)…
-
3
votes1
answer335
viewsQ: Req and Res no nodejs, problem in understanding arguments
I found myself with the problem of understanding in depth what res and req means in Node js, but it is necessary to understand the problem, I understand everything about what res is, and what req is…
-
0
votes3
answers781
viewsA: Python Help: Exercise School Year
Then, the calculation will be based on the date variables that the user will input. The year of the child will be the decrease between the variable year we are and year of birth. So let’s call birth…
pythonanswered David Ferrari 67 -
1
votes1
answer893
viewsQ: Nodejs function, functioning
app.get('/', function(req, res){ res.send('Ola Mundo'); }); In the case of this simple code just to illustrate we have a function in nodejs with 2 parameters the request and the answer, I was…
-
0
votes0
answers20
viewsQ: Query in Mysql to call table data
In the case of the use of query SELECT * FROM, there is the possibility to bring all data from the table, but without ordering 1 or 2 columns? Because in the case of a huge table, it’s much easier…
mysqlasked David Ferrari 67 -
0
votes1
answer40
viewsQ: If there are spaces in folders or images, how is it resolved?
In case I am learning WEB(HTML,php,Css and Javascript), and for html there is the function of by images, but I came across the difficulty of sending an image if it has spaces in the name or in the…