Interesting questions
-
5
votes1
answer6498
viewsHow to Build a Webservice to Synchronize Android and Mysql Sqlite Database
I built an android app that stores basic information about a contact in Sqlite: Name, Telephone, E-mail, Address among others. I searched a little and from what I understood, what I can do is use a…
-
4
votes2
answers2008
viewsSave multiple instances of a class to a List in Java
I have a college job that I need to create several instances of an object Pessoa and save these instances in a listing to show the user when needed (this will work as a database). Since we haven’t…
-
3
votes1
answer129
viewsjQuery external page Toggle effect via require or include PHP
I’m creating a user menu, it stays on a page the part that is incorporated to other pages like index and home for example. It assumes the role of a widget that is only shown if there is session…
-
1
votes1
answer1218
viewsPrevent typing letters into the angular input
how to prevent letters being typed into a input where only angular numbers should be typed? Only with directives is it possible?
-
1
votes1
answer50
viewsVolley Android - GET to return list of videos from a playlist - JAVA
Hello, I’m using the android library Volley to make a GET call (https) to return to me the Json of the videos of a specific playlist. Basically my current GET request is this: String url…
-
3
votes1
answer223
viewsOverride Property() in Child Class
A few days ago I asked a similar question to this, however, the method employed in creating the property was via decorators (@property and @name.setter). Here I am creating the property via function…
-
3
votes2
answers58
viewsJson return from php to jquery ui
I have a php code that returns data in JSON. When it has only one value returns as it should: ["[email protected]"] When more than one value is found returns as follows: [, "[email protected]",…
-
3
votes1
answer215
viewsAssemble news by grouping results by user class
I am developing a news system where a certain user class will be able to post one or more news for everyone to see it works perfect, more for a better view would like these messages to be grouped by…
-
0
votes1
answer72
viewsCreate filter to select data without duplicity, from rules applied to variables
I have constantly uploaded a data frame with more than 6 million records and 40 variables (columns). From these records, I need to select only one record per patient and that this record is as…
rasked 4 years, 5 months ago Ronaldo Jesus 1 -
3
votes2
answers316
viewsjson_encode returns the asort() order
The method asort() is used to sort arrays, without losing the index. I sort both the SQL search and the array. However, when sending the data via JSON (using json_encode), he rearranges the keys.…
-
1
votes1
answer53
viewsImage with zoom option or image-based map view
I’m developing an application where I need to insert a map of an internal location (so apple’s map view has not registered ) I wonder if it has how to mount a mapView (mounting the internal location…
-
0
votes0
answers28
viewsProblems with horizontal Nav-tab
I have a vertical Nav-tab component that works properly. When I add a horizontal Nav-tab inside a tab, it takes the shape of vertical. Does anyone know how to fix this? I’m using a bootstrap…
-
0
votes1
answer372
viewsAngular login visible in the request header
Everybody, Good afternoon. I need some help. My backend was written in nodejs and this one on IIS. My frontend is in angular and it’s still on my machine being debugged. My login page is working as…
-
2
votes2
answers286
viewsHow to increment from 0 to 10 inside a Javascript setInterval
setInterval(function() { var x = 0; x++; console.log(x);}, 1000); }
javascriptasked 7 years, 7 months ago Genio17full 21 -
1
votes1
answer320
viewsCodeigniter and MYSQL - Query using CASE WHEN returning different result
I’m using the Code Igniter 3 and I’m doing a database query with the following code in the file Model: $this->db->select("*"); $this->db->where("CASE WHEN code = '001' THEN '1' WHEN code…
-
4
votes4
answers89
viewsRepetition is not equivalent to one second
How much would be the limit value for a repeat to be compared to a second? For example: for x in range(0, 1000): print("1 segundo")
-
2
votes2
answers120
viewsProblem catching latitude and longitude android 5
My code does not get location on android 5, public void pegaLocalizacao() { LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); location =…
androidasked 7 years, 1 month ago Juliano Morche 116 -
0
votes1
answer56
viewsCodeigniter - Retrieve bank categories
I have a table ''category'' in the database and it has the column 'id' and 'title', I am recovering the same in several menu’s dropdown, but loads all categories of the database but I would like to…
-
0
votes2
answers38
viewsError while trying to install wordpress
I’m trying to install the wordpress on my local server using xampp but I get the following error: Sorry, but I can’t write the wp-config.php file. You can create the wp-config.php file manually and…
-
1
votes3
answers392
viewsHow to use reduce in an object array in React
import React from 'react'; const App = () => { const fruits = [ { name: "banana", cor: "yellow", price: 2 }, { name: "cherry", cor: "red", price: 3 }, { name: "strawberry", cor: "red", price: 4…