Interesting questions
-
-1
votes1
answer39
viewsjava database connection
Well I did a class to make the connection with fingered bank: /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools |…
-
0
votes0
answers51
viewsC# files I need to send to the client (put in an installer for example)
Good night, Which files are required in my EXE distribution? The briefcase pusblish is because I clicked to publish once to test and now it is always generated every Debug or Release (If someone…
-
1
votes1
answer461
viewsJavascript function triggered after clicking div and save data in the database
I wanted to know if you can put a javascript function after clicking and dragging a div (better still: after "drop" the div). I intend to make a code so that every time I move the div to a table…
-
1
votes0
answers110
viewsJoin two df using the sqldf function
I’m trying to put two tables together using the same species id, but I’m not getting it. Below follow the steps: Importing the fixed file to TNRS for R hp<-fread('tnrs_final.txt', header=T) Now…
-
1
votes1
answer2505
viewsChange attribute of an object array in the state in the application
to try to make an attribute of one of the objects in an array of objects switch between true and false follows code: Initial state: constructor(props) { super(props) this.state = { post: [{ nome:…
-
1
votes1
answer38
viewsHow to limit a value entered/modified by the memory address?
To limit a value that has been entered/changed by the memory address? PS: I can not limit by function, this function is just an example function showing the problem, I will need to pass this object…
-
1
votes2
answers10008
viewshow to remove n from a python string
I’m trying to delete control sequences (\n, \t, \u) of strings in Python and I can’t even with replace, nor with re.sub(). How could I do? I tried, and they didn’t work : p = re.sub('\n', '', p)…
-
-2
votes1
answer39
viewsCalculate the product within a for loop
I need to calculate the product of 3 numbers inside a loop for, but the code I made is going wrong, multiplying something bizarre that I couldn’t even understand, for example, if I input 1, 1, 1, it…
-
1
votes2
answers101
viewsWhy doesn’t this work in Javascript?
Why can’t I declare an "address" variable at the beginning of the class definition? And how the JavaScript can declare class variables using only this.nome_variavel? class Pessoa { var endereco;…
-
1
votes1
answer44
viewsHow to reallocate the input(color) color palette box?
html, has a type of input that click opens a color palette for the user to choose a color: <input type='color'> I was wondering if there’s any way to edit this box that pops up, I’m mainly…
-
1
votes0
answers68
viewsHow to calculate the values of a function in an entire range when only the values in the integers are known?
someone can help me, please? I’m trying to write a function in Python (I use 3) that implements the following code that is in Mathematica:…
-
0
votes1
answer197
viewsJava - Canvas flashes when redesigning the screen
I’m making a graphical application with the class Component, but every time I delete the canvas to draw a new frame, Canvas flashes! The clearBackground function: public void clearBackground() {…
-
1
votes1
answer167
viewsError loading source: OTS Parsing error: Cmap: Failed to parse format 4
I’m having trouble for the browser to use a custom font! In the css folder I have the fonts folder, and inside the fonts folder is the file prompt.ttf but when I upload the file to the server, I do…
-
15
votes1
answer1873
viewsMobile App Multiplatform with Xamarin
Setting This question is more about architecture. I recently started learning Xamarin to develop Mobile Apps, Xamarin, which until then has been very flexible, has bindings for native Android and…
-
2
votes1
answer718
viewsHow to create button in a Simpleadapter with event click excluding item
I set up a list in an android app that is a simple list using SimpleAdapter. What I need now is to delete the item from the list, but I don’t know how I would do it because I couldn’t get the…
-
2
votes1
answer776
viewsHow can I clean the buffer?
I am working with file. I have difficulties cleaning the buffer already used the fflush(stdin) after reading but it doesn’t work. void EscreverFicheiro(FILE * ptr,LISTA dados){ ptr =…
-
0
votes1
answer44
viewsJavascript function does not execute when selecting a radio button
I created a Javascript function that needs to be executed every time one of the buttons on the radio button is selected. But nothing happens. Follow the code: <script> document.write( )…
-
0
votes1
answer2324
viewsLocating values in a python array and assigning specific values
I have the following vector: posicao = [47, 62, 24, 18, 47, 62, 63, 78, 68, 87, 24, 18, 68, 87, 63, 78] I need to search in this vector the values [24, 18]. After locating them all, I need to assign…
-
3
votes1
answer1272
viewsHow to return the index of a matrix and its value in different variables?
I have a matrix of the following structure Matriz[indice][valor] How I return the index in one variable, and the value in another? Odd example: $indice = $matriz[indice] And for the value: $valor =…
-
0
votes1
answer23
viewsPlugins Wordpress Sign Up/User List
Good morning, everyone, I’m starting to use wordpress and I’m trying to make the features of registration and listing application users. I managed to register with the plugin Formidable, but I’m…