Interesting questions
-
0
votes1
answer41
viewsError compiling code in eclipse
I have a small problem when compiling this code, after I compile the following error appears: Exception in thread "main" java.lang.Arrayindexoutofboundsexception: 10 I’ve searched elsewhere, and…
javaasked 8 years, 9 months ago italo vinicius 59 -
0
votes0
answers45
viewsIDE Pycharm on Windows
I already have a habit of using Pycharm over GNU/Linux, and by force majeure I will have to use it over Windows. The problem is this: When running the python script from the IDE, a python Crawler,…
-
2
votes1
answer277
viewsSecond Level Cache - JPA and Eclipselink
I would like to totally disable the JPA/Eclipselink cache, but I’m not getting it. I can disable the first level cache using: query.setHint("javax.persistence.cache.storeMode",…
-
0
votes2
answers479
viewsHow to filter items in the Foreign key field of the Django form?
Good evening! I’m new to python/djagno, and I’m new to the community, too, that’s my first question. What I want to do is filter the items from a selection list of a Foreign key (Template) on the…
-
1
votes2
answers1023
viewsRoute Post is not being recognized (Laravel)
Good, I’m still new to using the Laravel 5, but I have a problem of Routes that I can not find solution anywhere (just the same problem Here and with no viable solution) Let me explain, in the…
-
0
votes2
answers482
viewsInsert time and time into database
I want to enter the time and date separately in the database, which have the fields timestamp and data, respectively. I have the following code on the insert button: SqlCommand sqlInsertCabecalho =…
-
1
votes3
answers650
viewsJquery calculate average and insert the result into the average field that is disable
Good afternoon, Needed to calculate the average of the values inserted in the 4 text boxes, and only to learn the average result in the middle text box after all are filled HTML <div…
jqueryasked 10 years, 2 months ago Laranja Mecânica 499 -
1
votes1
answer559
viewsIonic error to start app
I’m starting my studies with Ionic v2. I upgraded the Ionic version to v2 however when I run the command ionic start wiltonfinances blank --v2 and displayed an error message. See the information…
-
0
votes0
answers7
viewsHow to capture the backbutton event on a PWA (Ionic5/Angular11/Capacitor) site by clicking the back button of an Android phone
I used the following code: import { Component, OnInit, OnDestroy, ViewChild } from '@angular/core'; import { Location } from '@angular/common'; import { Platform, AlertController, IonRouterOutlet }…
-
0
votes1
answer360
viewsHow do I let div overlap the other div?
How do I leave the div #inner-block in the foreground? #block-1 { position: absolute; width: 200px; height: 200px; top: 10px; left: 10px; background-color: #999; z-index: 1; } #inner-block {…
-
4
votes1
answer616
viewsThread problem
public class ThreadTest implements Runnable { private String word; private long time; public ThreadTest(String word,long time){ this.word = word; this.time = time; } public void run() { try {…
-
0
votes1
answer56
viewsHow to avoid the intersection of 2 objects
I have a game problem I’m developing. The problem is, I’ve got two planes that can stand on top of each other and I don’t know what to do, any suggestions? Plane code1 int vBola=550; int CBola=600;…
-
4
votes2
answers528
viewsWhat is the difference between tag and element and html document and page?
I would like to know the differences between an element for a tag in HTML. Example 1 The example below is an element or a tag? <p></p> Example 2 And in the example below is tag or…
htmlasked 6 years, 1 month ago joão batista 75 -
0
votes1
answer505
viewsConvert sum of minutes to hours format (eg 70min = 01:10) with jquery
I have the following script that takes the hours and minutes of each day of the week, where the variables that start with m are the minutes of each day of the week (coming from a select) and those…
-
6
votes1
answer208
viewsjQuery validate - skip_or_fill_minimum rule does not fire if used more than once
I have a form that consists of four inputs and they are grouped in pairs. The rule for this form is very simple, if I fill in one of the pair’s inputs, I have to fill in the other as well or fill…
-
1
votes0
answers31
viewsDoubt about the Redux-React store
I have three rooms: import { combineReducers } from 'redux'; import formularios from './formReducer'; import userLogin from './userReducer'; import errorReducer from './errorReducer'; export default…
-
2
votes1
answer228
viewsHow to resolve a synchronization with the server when there is connection drop on Android?
I’m making an application, where has a job registration in Sqlite that should be synchronized with the server in PHP with Mysql. After doing a lot of research, I couldn’t find any answers to my…
-
2
votes1
answer43
viewsProblem with running order of endpoints in Express with conflicting paths
I have this question about endpoints express bred. In this first section, the endpoint /anuncios/:search must search in the fields descricao and nome by the text reported. Therefore, a call…
-
2
votes1
answer669
viewsProblem to export table in xls format with PHP
Good afternoon. I have a button that generates a file . xls that should bring a spreadsheet from an SQL query... The file is generated, the problem is that a message appears in Excel saying that the…
-
0
votes1
answer24
viewsProblems using nested_attributes and Devise
I’m creating a user settings form that uses Devise, I’m using nested Attributes, but for some reason the settings record is not updated, but deleted, someone has any idea what might be going on?…