Interesting questions
-
0
votes1
answer40
viewsHow to load an audio bit as I play?
I have a server where I host files .wav (audio media). The problem is that these audios are very large and when I will implement a tag <audio> or <video> in my HTML, first it downloads…
-
0
votes1
answer21
viewsJekyll - Errors with paths
I’m developing a blog in Jekyll and is making some mistakes with the URL’s. When I use {{ site.url }} and I don’t put the bar after this variable, the paths are as follows: localhost:4000assets,…
-
1
votes3
answers341
viewsDoubt in Vue computed method using Vuex
I have the following code below using Vue.js and Vuex. This code increments and decreases value as a counter. I would like to know what the method refers to count inside computed in Vue instance. I…
-
9
votes1
answer420
viewsHow can I "postpone" the startup of a property?
There are situations where the property initialization is not possible to be made in the declaration, its value is only known later. An example of this is, on Android, references to views of a…
-
1
votes4
answers1661
viewsRedeem name and show in option through id
I have a id table, example: user with id = 1, how can I get this user’s name using the id of it and show in a input? I did so: while ($dados = mysql_fetch_array ($sql)) {?> <option…
-
0
votes0
answers16
viewsThe slim route is not catching the callable
He takes the methods and Patterns, but it looks like he’s ingorando the callable. $group->group('/figure', function (\Slim\Routing\RouteCollectorProxy $group) { $group->map(['GET'],…
-
-1
votes1
answer580
viewsPlaying mp3 music in Python
all right? Well I come here to ask for a solution regarding playing mp3 music in Python. I imported the Pygame library and used the mixer module to play python music: import pygame pygame.init()…
-
1
votes1
answer105
views.htaccess - Two websites, different domains in the same hosting
Guys to with a question, I wonder if it is possible to redirect a domain to a subfolder of a hosting with a website without changing the browser URL via . htaccess. Example: domain 1 - Accommodation…
-
3
votes2
answers873
viewsDifference between two Multidimensional Arrays with PHP
I have these two multidimensional arrays and would like the difference between them, similar to what the function array_diff does, but with multidimensional arrays: $array_1: Array ( [0] => Array…
-
1
votes0
answers60
viewsGoogle Maps Indoor
I’m creating an android application, and I’m making use of the Google Maps api, on the google maps website, have the option of indoor maps, and I’m trying to use them in my application, however when…
-
0
votes1
answer341
viewsHow to fix the position of a header independent of the screen size?
Basically I’m building a burger menu and the same has this blue bar as shown on the screen below: But the more I press this screen, the smaller the size of this bar, which ends up hiding the button:…
-
1
votes1
answer241
viewsRuntime error in python 3.8 - URI
I’m practicing some examples in the URI Online Judge and I’ve come up with this example: And I tried the following solution: numeros = input().split(); N1, N2, N3, N4 = float(numeros[0]),…
-
-3
votes1
answer55
viewsHow to access specific information within a View Bag Asp.net
I’m doing a project where we have to create a social network where the user can post something. After doing the post It has to appear what he posted his name and profile picture. For now I have it…
-
0
votes1
answer164
viewsreturn of a PHP page for high chart montage
I’m putting together a chart highcharts dynamic, but I have a problem, I need to take a value of a PHP page and put in the point y of the graph, for this I use a function javascript called a priori…
-
1
votes1
answer163
viewsTransform XML contained in a json string
Hello, I need to turn a XML contained in a string into a json object. How do I do this? I have tried some native PHP functions unsuccessfully. <?xml version="1.0" encoding="UTF-8"?>…
-
0
votes2
answers398
viewsDynamic size Pagefooter on iReport
When creating a report on iReport and would like the PageFooter had its dynamic size according to the components that were visible within it. Not all the components of PageFooter will be visible on…
-
0
votes1
answer1397
viewsTypeerror: '<' not supported between instances of 'float' and 'str'
I need to calculate the median of the variables in a database, but it’s giving error. This error does not occur when using np.Mean in order to calculate the average. The database can be found easily…
-
1
votes1
answer223
viewsHow to style the fieldset tag using id attribute?
I’m trying to put a {background-color: aqua;} on the tag fieldset, using id="003" and addressing the style to the external file .CSS. But no change is happening. When I write to the HTML file:…
-
-2
votes2
answers46
viewsDoubt with relationships N to N or 1 to N
Given the following scenario. I have 1 user table and a login table, for example. I need to create my domain class that maps these BD entities. In the login table, I get Idusuario. How it looks in…
-
0
votes1
answer1406
viewsHow to delete an item from the cart? - Session
Hi, I’m making a shopping cart and I can’t seem to delete an item from Session. I’ve tried several ways, but I don’t understand why it doesn’t work. Could someone give me a light? (I’m new to php)…