Posts by Guilherme Bigois • 348 points
17 posts
-
2
votes2
answers75
viewsA: How to repeat a code snippet given times?
Python has two commands for loop for repetition of suites: for and while. LOOP FOR For the lasso for, it will be necessary to use the function range (which takes as its initial parameter the amount…
pythonanswered Guilherme Bigois 348 -
9
votes1
answer55
viewsQ: What is the default for naming modules (fonts) in Python?
In Java we have the custom of creating fonts with the first uppercase letter for example: Carrinho.java and DetalheCompraFragment.java. But so far I have not found a standard for naming modules in…
-
2
votes1
answer226
viewsQ: Meaning of . CH in the Clipper and ADVPL languages?
When we use a language like Clipper or ADVPL, we usually use libraries (includes) .CH, I STILL DON’T KNOW WHAT IT MEANS. In C language, these header files have the suffix . H, which means Header…
-
0
votes1
answer189
viewsA: ADVPL - Set focus on an MVC field
I haven’t tried it yet, but maybe this link will help you: How to Focus on a MVC Component It shows how to focus on the grid, but it may also be possible to focus on the enchoice of MATA010.…
-
-1
votes1
answer493
viewsQ: PLSQL - Procedure for Password Encryption
I searched on the internet a precedent for encrypt the users password, however I only found functions. There is how to generate a Procedure to carry out this process? CREATE OR REPLACE FUNCTION…
-
0
votes1
answer312
viewsQ: Java waiting for the end of a . bat
I have the following scenario: I have a Java application with Swing; Where through a jTextField, I get a piece of information; With this information, I create a . bat This . bat calls a file . exe…
javaasked Guilherme Bigois 348 -
1
votes1
answer77
viewsA: Insert error in Oracle database with Java
The error message described in JOptionPane says a syntax error is happening. When looking at variable syntax sql in the method inserir(), I noticed that a "T" is missing in the function .nextval of…
-
0
votes1
answer77
viewsQ: Insert error in Oracle database with Java
When I make a set of insertions in the bank, it says that only the information of the course were inserted, but gang nay. Console STATUS DE CURSO: true STATUS DE CURSO: false Joptionpane Touradao…
-
0
votes0
answers100
viewsQ: How to insert Google Analytics charts into HTML?
I need to insert the customer’s Google Analytics charts into the Dashboard of his website. How to do this? Example:…
-
0
votes2
answers26
viewsQ: Error in the formation of the website title
I’m having a problem on a client’s website, it has several product pages and I created a page called mostra_produto.php, but the function that calls the title is returning with problem. ERROR: CODE:…
-
0
votes2
answers2437
viewsA: Invert Simple List
I don’t know if I understood the doubt right, but to reverse the positions, you can do so: 1) Create a counter in the class and increment it within the method insere class ListaSimples: public void…
-
0
votes1
answer62
viewsA: Null.point.Exception when executing another class method
1) Use the reference instead of the type: opcao = Variaveis.getENTRADA().nextInt(); Exchange for: opcao = variaveis.getENTRADA().nextInt(); 2) Static does not generate object: private static…
-
1
votes1
answer494
viewsA: Spring error starting server
I solved it like this: Add Java to Environment Variables; Remove the project and delete the Workspace folder; Create a new Workspace (so you have the default settings); Import the project as Java…
-
1
votes1
answer494
viewsQ: Spring error starting server
I imported a Maven project that worked perfectly before, but now I’m with it giving error. Every time I try to fix this error, I keep changing the versions of Java, deleting and importing again and…
-
5
votes3
answers1022
viewsQ: You’re a builder, right?
I’d like to understand why this class has two builders and why one of them has everything in it this and not separated as in the other. This changes something? Normal builder: public…
-
0
votes1
answer1053
viewsQ: What are/do these dependencies?
I started working with programming about three weeks ago, they gave me the code and I’m lost. Until yesterday I only knew how to leave the Eclipse terminal, and now I have all these libraries (I…
-
0
votes1
answer1391
viewsQ: How do I login?
I’m having a problem logging in. I have a simple page: I only need to consult in the database if the value informed by the user is equal. This one here: Model: @Entity public class User { @Id…