Interesting questions
-
0
votes0
answers5
viewsWelcome file list does not work
Hello, before posting here I searched in several forums and could not find a solution. I have a Maven project, jsf 2.3, it works, but when starting Tomcat I would like to welcome page, but it does…
-
-1
votes1
answer37
viewsFlask import problem (Unable to import 'controllers' pylint(import-error)
Good evening, I’m starting to program now and I’m trying to make a simple system using the Flask framework, but during the organization of the files I came across the problem of the title, I’m not…
-
1
votes2
answers2331
viewsSave to database using jquery
I need to take the data typed in my modal window and set it in the database. Below follows the pages. listarUsuario.php <div class = "conteudo"> <div class="container-fluid"> <div…
-
4
votes1
answer77
viewsHow do the methods used within classes work?
It is very common in Ruby to use methods within classes, such as attr_accessor, or even libraries, such as validates_presence_of, ruby on Rails. I would like to create: class Person add_name_getter…
rubyasked 6 years, 1 month ago Luiz Felipe 32,886 -
5
votes3
answers394
viewsWhat does it mean to assign Math.Random() > 0.5 to a variable?
What does that mean Math.random() > 0.5; in a boolean? Here is an example: class Pro { public static void main(String[] args) { int numero = 10; boolean[] array = new boolean[numero]; for(int i=…
-
0
votes1
answer55
viewsI created my project, I’ve been editing every day, and recently out of nowhere he failed to recognize an existing namespace
I created my project in Visual Studio 2013, I’ve been editing every day, and recently out of nowhere it failed to recognize an existing namespace. The namespace appears in red with the message "The…
-
2
votes1
answer104
viewsMysql table with lots of data
Case in point: I have a system with approximately 5 million records, it is recommended to use a single Mysql table to save, for example tabela_empresas_brasil? since every time the user performs a…
-
0
votes0
answers14
viewsTDD with Jest and sequelize - POSTGRES Migration error for SQLITE
I am implementing TDD with Jest in a Node with express application, my database is POSTGRES and I have several sequelize Migrations already configured, and for my test scenarios I am running these…
-
2
votes1
answer806
viewsPandas: Dataframe information comparison
I have 2 Dataframes imported from CSV CSV1 4616; CCIVIL_03/decreto/2003/D4616.htm 4617; CCIVIL_03/decreto/2003/D4617.htm 4618; CCIVIL_03/decreto/2003/D4618.htm 4619; CCIVIL_03/decreto/2003/D4619.htm…
-
1
votes1
answer54
viewsProblems submitting multi-line forms
I need a light, because, I’m days trying to understand this reasoning of Array in PHP. Follow my headache: <div class="content"> <form action="" method="POST"> <table>…
phpasked 7 years, 10 months ago user93488 -
9
votes1
answer1033
viewsGet index back to front
Imagine I have the following string: string texto = "Stackoverflow em Português"; If I want to know the index of the first space, just: int index = texto.IndexOf(" "); But in this case I have two…
-
-1
votes1
answer119
viewsWho first executes the condition or code block in Python?
I’m having a problem and I believe it’s because of the execution order I can’t run such a block of code if it doesn’t go through a condition first if it won’t go wrong, and once I hear that in C it…
-
2
votes2
answers139
viewsBootstrap 3 Datetimepicker
Gentlemen., I have had difficulties in understanding the documentation regarding Bootstrap 3 Datepicker v4. I couldn’t figure out how to trigger the event dp.show() for a specific element,…
-
5
votes2
answers5888
viewsTime calculation based on GMT and daylight saving time
I have a problem where I need to calculate the time in a certain place in the world. The calculation should happen and the only information I have at hand is GMT of the site. EX: -1, 2, -3, etc. I…
-
0
votes4
answers1271
viewsError in setting Route Orange 8?
I know it might be a beginner question, but I really can’t solve it, and I put the address in the browser the route works, but when I call from blade doesn’t work. I created a new route and I am…
-
0
votes1
answer39
viewsHow to calculate the frequency the data appears on Django?
Hi, I’m making a search bar with filters, in it the user can choose whether to sort by frequency or sort by another field (which is ordering everything right), what gives problem is when searching…
-
1
votes0
answers33
views3 different images with 3 buttons to open the text
3 different images with 3 buttons to open each a different text. Only the first button works and the second and third texts when the first button is pressed move with the movement of the first text.…
javascriptasked 8 years, 9 months ago Fatima 11 -
4
votes1
answer75
viewsWhen to use local classes in Java?
I learned that it is possible to declare classes within blocks as methods, for example: void exemplo() { class teste { } } But when local classes come in handy?…
-
0
votes0
answers42
viewsHow to generate a subcategory from the previous selection? Combobox
I am developing a People Management system. I have an html form for the insertion of some data. I need to separate the positions in their respective sectors, ie the sector will be the category and…
-
1
votes1
answer685
viewsADB Eclipse error
[2014-11-20 13:52:43 - Chegouahora] The Connection to adb is down, and a Severe error has occured. [2014-11-20 13:52:43 - Chegouahora] You must Restart adb and Eclipse. [2014-11-20 13:52:43 -…