Interesting questions
-
2
votes2
answers179
viewsConsume Json and direct to a database using C#
I’m having trouble consuming a return json and convert it into object to then write in the database, my variables always return "null", I have tried several forms and always stay barred in this…
-
3
votes1
answer276
viewsAdd and Remove percentage proportionally
Doubt is in mathematics, a calculation that will be used in a program. Let’s assume I have 3 items with different percentages: Item 1 - 10% Item 2 - 40% Item 3 - 50% I want to remove for example 10%…
-
0
votes1
answer387
viewsCounter does not update data on the page using Reactjs and useState(), only when I place a console.log() can I see the result
I’m taking a Reactjs course, and I’m trying to follow all the code examples, but my code is the same as the instructor’s and yet mine is not working the same as his. Every time you click increment,…
-
0
votes0
answers139
viewsCheckbox - Display content according to active option (clicked)
I’m trying to display certain content according to the selected checkbox, until this step everything ok, I managed to get the content to be displayed. Now comes the second part which is where I am…
-
3
votes3
answers69
viewsProgram does not meet expected flow by reading and printing input
#include <stdio.h> #include <stdlib.h> int main() { int num1, num2, num3; printf("Digite o numero A e numero B para saber o resto da divisao resultante da divisao entre eles:\n");…
-
0
votes1
answer48
viewsDoubt regarding the existence of an "if" in the code
Question statement: Construct a function that will receive two Strings of varying sizes and will return True or False if all characters (regardless of whether they are upper or lower case) are…
-
1
votes2
answers550
viewsCheck if any input file has been changed
My form has several inputs like this: <input type="file" name="imagem_file[]" class="form-control"> <button id="btnProdutoImagem" class="btn btn-info btn-block">Cadastrar</button>…
-
1
votes1
answer151
viewsError in Javascript for Chekar Asp:Checkbox
Good morning. I have the following code: HTML: <asp:CheckBox ID="ckPergunta" runat="server" onchange='SelectChoices(this);' /> Javascript: <script type="text/javascript">…
-
1
votes1
answer33
viewsPreload of Photos
How do a Preload with loading or a gif in my photos. <?php $diretorio = '../fotos/'; $arquivos = scandir($diretorio); foreach($arquivos as $arquivo) { if(preg_match("/.+.[jJ][pP][eE]?[gG]$/",…
-
16
votes2
answers7712
viewsSearch for values in one data.frame and add to another (R)
I have 2 data.frames, the first is a data.frame that contains stock data and a column with a unique identifier (column "ISIN"), as an example below: Teste=data.frame(matrix(runif(20), nrow=5,…
-
1
votes2
answers85
viewsIs it possible to change the value of a Readonly with conditions?
Good morning. I didn’t find anything similar in many posts so I decided to ask you: is it possible to change the value of a readonly field? For example, suppose you have two fields (number 1 and…
-
0
votes0
answers119
viewsHow to access the Date tab from within the Android Device Monitor
Hello, I’m having a problem that I can’t access my tab even using the emulator or a physical device connected to the PC with a USB. This error may be due to some permission, but I don’t know how to…
-
1
votes1
answer69
viewslinks are leaving space
I was modifying my fixed bar on my site, and something occurred to me that I can’t fix: I have 1 nav that inside is 1 ul that inside is 4 lis and within each li has a a, what happens is that I am…
-
2
votes1
answer381
viewsProblems while trying to recover data from firebase Realtime database
I’m doing my TCC using Ionic 4 and firebase Authentication and Realtime Database, for a few days I ended up crashing when I try to recover only one user from the database, when the user data is…
-
2
votes1
answer273
viewsDo a get with optional parameters in Golang
I need to do an api where query using optional query string parameters. I tried something like: func (app *App) getFunctionarys(w http.ResponseWriter, r *http.Request) { v := r.URL.Query() Id :=…
golangasked 6 years, 8 months ago veroneseComS 2,752 -
2
votes0
answers39
viewsJavascript running without declaring variable
I’m practicing Javascript and decided to make a simple To Do List. I realized that my program identifies the variable tableTask memso without me declaring it. I delete the line let tableTask =…
javascriptasked 5 years, 11 months ago Daniel Carvalho de Oliveira 43 -
1
votes2
answers190
viewsCreate object and send by ajax - Codeigniter
Hello, Can help me create an object with this code and send by ajax. console.log("cadastro-assessoria trabalhando"); //Variáveis $(document).ready(function() {…
-
0
votes1
answer57
viewsHow to send input from a java app to a php file
How to send input from an android app written in java to a php file on the server? The file must store what the java code sent in a variable. How can I do this?
-
0
votes2
answers2968
viewsError org.hibernate.Lazyinitializationexception
Error when the drive class is filled with data in the database, if there is no record, I can access my xhtml normally. In the class I count with fetch = Fetchtype.EAGER, but in the class drive this…
-
-1
votes1
answer66
viewsMargin does not push content to the center
I recently asked a question because my margin top did not push my div down, following the example in the previous question I was able to solve, but now, using the same explanation of the previous…
cssasked 6 years, 10 months ago Fernando Munhoz 163