Interesting questions
-
0
votes1
answer259
viewsIs the Node server the only option to support maximum level of requests in an application?
For an application project you will need to support on the server an immense amount of requests such as a e-commerce on the day of black Friday or the server of a game developer on the first day of…
-
1
votes1
answer92
viewsList as function input
In Python 3.7 items of a list can be arguments of a function? def media(x,y,z): lista = [7,8,9]
-
0
votes1
answer152
viewsHow to add numbers in sequence in Javascript
I’m trying to figure something out, but I can’t. It has a function that takes a parameter, this parameter has a number and is basically to sum from 1 to the number of this parameter in sequence. As…
javascriptasked 5 years, 8 months ago MaioAmarelo 11 -
0
votes3
answers2419
viewsHow can I calculate elements in Javascript
I need to take the amount id="valorPorcentagem" which is the percentage value with the (id="valor_vendedor") and automatically add to id="comissao". Whereas: valorPorcentagem / 100 x valor_vendedor…
-
0
votes1
answer171
viewsCombobox with Mysql
I am not able to take the data from the unit table and put it in a combobox. The combobox does not work and appears to subanswer. I have a table called "tblutentes" with the name of the user and…
-
1
votes1
answer267
viewsParseint() is returning Nan
My code is this: arrayCods = lista.split(","); var i_rem = document.getElementById('listaUsuarios').value; //Até aqui tudo bem, a i_rem contém um valor numérico extraído do html. i_rem =…
-
0
votes0
answers12
viewsUsing express with Bunyan (logs)
I created a logger with two streams for two different apps as an example: const bunyan = require('bunyan'); const {LoggingBunyan} = require('@google-cloud/logging-bunyan'); class bunyanLogger {…
-
-1
votes1
answer63
viewsStruct member print print something strange
I’m doing a job that uses struct it’s all right but when it comes to listing the last one comes out with a strange character. My code is like this struct livro_cadastro{ int codigo; char obra[30];…
-
-3
votes1
answer119
viewsI wonder how you do to get the phone number with Avascript
The code I’m working on. var x = document.getElementsByTagName("details-contact")[1].innerHTML function abreLink() { var url = 'https://api.whatsapp.com/send?phone=55' + x +…
javascriptasked 6 years, 3 months ago Diogenes Oliveira 1 -
2
votes1
answer1711
viewsSimple text editor in C
I have the following exercise proposed: Make a program that mimics a text editor. Initially you will read the data typed by the user (lines of text) and create a vector in memory where the texts…
-
11
votes2
answers2940
viewsWhat is regression testing?
In the subject of Software Testing the teacher addressed a term called Regression Test, this within the software testing discipline. So this term has generated me some doubts regarding this…
-
4
votes1
answer829
viewsUrl friendly in ASP.NET Web Forms
I would like to know how to make URL friendly in C# ASP.NET. I tried to use in the file: global.asax but it didn’t work.
-
0
votes1
answer2032
viewsHow to generate a build (production) of an angular project?
I’m trying to generate the build of an Angular project, but every time I turn the command to it ng build is presented me several errors, but searching I could not solve, someone would have a light?…
-
3
votes1
answer369
views -
1
votes2
answers152
viewsHow do I store these values in the Torage locale?
I’m putting together a very simple system that makes simple counts. I need these values to remain written in HTML after the page is reloaded, I just haven’t learned yet how to manipulate the…
-
1
votes2
answers297
viewsPython calculator does not return function
I started using Python recently and am creating a calculator to train factors like function, input and function return within another function. However, my calculator is not working, it simply does…
-
1
votes1
answer595
viewsRead and Edit JSON File via JS!
So guys, I want to understand how JSON file reading and editing works. I’ve tried so many ways, but without any results. I will leave the base structure I already have here to understand my goal.…
-
0
votes2
answers58
viewsInsert values into an array with dimensions defined from a loop
Good afternoon, I am trying to save values in the form of an array from different text files, using a loop. I need the values obtained from the first iteration to be stored in the first line of the…
-
1
votes2
answers15896
viewsHow to stop an execution in Python?
I’m starting programming in Python and would like to know how to stop the program execution? In the language C for example, there is the equivalent command system("pause"). If I open IDLE, more…
-
0
votes0
answers16
viewsHow to correctly pass an authorization token in the header using Javascript and the Papa Parse library?
I’m using the library Papa Parse in Javascript to download some dataset in CSV format and then read the data. It was working perfectly until they implemented a token authentication in the database.…