Interesting questions
-
0
votes1
answer56
viewsCode not working
I’m trying to solve a problem of the site Urionlinejudge (problem link) and I’m getting a mistake like Time limit exceeded, and I’m having trouble identifying the problem. I can imagine that it is…
-
-2
votes1
answer40
viewsMuch of my site has become a link
Can anyone tell me what the problem is? I was trying to make a common site and made the login page.php, but when I put the link in the menu of index.php my entire site became a link. Now everywhere…
-
0
votes1
answer67
viewsRelationship belongsTo
I wonder if it’s possible to do this kind of relationship in the cakephp model, if it’s possible, show me how, because I’m not getting it. Way I need to: public $belongsTo = array( Status =>…
cakephpasked 7 years, 10 months ago Marcos Henzel 797 -
-1
votes1
answer29
viewsScheduled Backup in Azure SQL Database
I know that the backups in SQL Azure are automatic, but how can I make a configuration in them? Schedule for a certain time?
-
1
votes1
answer2014
viewssuper.onBackPressed() or Finish()?
What is the difference between the methods? in the case of super.onBackPressed() can only be used within the right onBackPressed() method?
-
-3
votes1
answer299
viewsAdd products without refresh
Good morning, when adding a product to your cart every time you update your browser it increases the product by +1. How to prevent this? This is how to add it: //adiciona produto…
phpasked 8 years, 9 months ago Clayton Campos 107 -
0
votes4
answers91
viewsHow to transform a "for" repeat code into "while" in Javascript?
var ordinais = ['primeira', 'segunda', 'terceira', 'quarta']; var media=0; for (var i = 0; i < ordinais.length; i++) { var nota = prompt("Informe a " +…
-
0
votes1
answer45
viewsDynamic joptionpane in Java: combobox
Is it possible to make Joptionpane dynamic ? I’m having difficulty registering new entries in the countrys array[]. I’m using Java 1.8 sdk Code import javax.swing.JOptionPane; import…
-
2
votes1
answer297
viewsRegister a Devise "User" through Seeds.Rb
I’m finishing a project and want to create a default user. The entire user registration structure is carried out by the Developer embedded in rails_admin. Through search I found this syntax below…
-
0
votes1
answer29
viewsUpdate to an A table of distinct numbers using table B of repeated numbers
I have a table (A) of distinct numbers and need to update several fields of this table according to the distinct number, only the other table (B) that will serve to update has the different numbers…
sql-updateasked 5 years, 2 months ago joaosantana77 1 -
0
votes1
answer3685
viewsseparate Divs HTML
Hello! Using the bootstrap, can you tell how I can align the Divs ? (col-Md-6) ? but in the first half, I need to divide the grid in two . <div class="col-md-6"> <div class="row">…
-
3
votes3
answers2734
viewsHow to use the REPEAT command in this algorithm?
I have the following question but could not understand how to do using the command REPITA: Write an algorithm that asks for the age of several people (USE REPEAT). Please report the total number of…
portugolasked 7 years, 5 months ago Vitor Cardoso 105 -
2
votes2
answers574
viewsHow to find out if a number is subnumber
I would like a code, with explanation (if possible of course), to know if one number is sub number of another. Example: P=101 Q=100001010057 Soon P is sub number of Q. Grateful from now on.…
-
1
votes1
answer423
viewsHow can I persist data using Arraylist?
I need my Arraylist data structure to be visible in more than one method of my Products class. This is how I’m working: package estoque; import java.awt.Component; import javax.swing.JOptionPane;…
-
1
votes2
answers130
viewsError in Javascript
Could someone tell me how to JOIN to fill the data automatically from the description field. Accuses this error Notice: Trying to get property of non-object in…
-
1
votes2
answers333
viewsQuery using Mongoose in Nodejs always returns null even within asynchronous method
I am trying to recover a document in my Database using Mongoose in Node.js but it always returns Null. My problem before was the asynchronous method, but now everything is running within it. And I’m…
-
0
votes1
answer24
viewsFbsqlexception in the INSERT method with Returning
I’m trying to make an INSERT in my bank (Firebird) with Returning to return the registered ID, however, when it arrives at the line stmt.executeUpdate() i get the Exception Fbsqlexception. Insert…
-
-1
votes1
answer65
viewsSelect items and sort objects list
I’m learning how to use the Github API and for that I took a user to use as an example. I am getting a list of objects and need to select the names of the 3 oldest items and leave them in ascending…
-
-2
votes1
answer133
viewsjava.lang.Nosuchmethooverthrow: No virtual method group(Ljava/lang/String;)Ljava/lang/String;
Oie I have a problem with an app in Android Studio, it compiles and runs on my phone, but when I click on some button it gives this error. Error: E/AndroidRuntime: FATAL EXCEPTION: main Process:…
-
12
votes2
answers1331
viewsWhat is the difference between Animation and Transition CSS
What is the difference between the properties animation: and transition: of the CSS?