Interesting questions
-
0
votes1
answer55
viewsFragments setArguments and getArguments error
I’m trying to pass some information from Activitymain to a fragement but android is complaining, in Activitymain I pass the values so: if (f_caixaTexto== null) { f_caixaTexto = new…
-
2
votes1
answer273
viewsCancel button on a timer
Hello, I was doing a timer that went up to 100 and then to, and then I had the brilliant idea to put a cancel button on the count. I did some things only that when he says "To cancel type "c"" the…
-
0
votes1
answer75
viewsProxy problems with Okhttp
I’m using the library Okhttp to request my application to the facebook api, but I need to work on a proxy network, when instantiating OkHttpClient() and call OkHttpClient.newCall(request).execute()…
-
7
votes2
answers1386
viewsMail function and its limits
I am developing a tool to send bulk emails to a list of 20,000 emails, and the script is this: <?php $path = "listas/lista1.txt"; $ponteiro = fopen ("$path", "r"); $conteudo = fread ($ponteiro,…
-
6
votes1
answer1338
viewsHow to get phone number via facebook API
I am implementing login via facebook on my site and it seems that it is no longer possible to get the phone number of the user, even with your authorization.…
-
3
votes2
answers3673
viewsLinear regression with python
I need to do the linear regression calculation, but I read that there is no possibility to use/install scipy in windows. Is there any other scipy-like library to perform this kind of calculation? Or…
-
0
votes2
answers436
viewsPHP instruction executed directly by Mysql
Currently, as the sending of the email was giving a lag in the application, because it has to connect with Gmail etc, I transferred to the server the mission to send these messages, as follows::…
-
0
votes0
answers379
viewsConsult Mysql to bring events before, during and after the current date
I asked this question but it had not become very clear the code so I decided to post again with it complete. I seek the help of friends for a solution if possible of this code. I have a mysql…
-
2
votes2
answers2490
viewsPhonegap x native application
Phonegap x native application: What are the main advantages and disadvantages of the two.
-
-4
votes1
answer558
viewsHow to read and display data in Android Studio?
How to read the data typed by the user in an Edittext and display in a new Activity in Android Studio? I’ve tried a few ways, but when showing it in the other Activity only appears "false".
-
0
votes1
answer73
viewsHow to access in Viewmodel, a Listview q is in a View?
So I have a page called Filmeview on it I have: <ListView BackgroundColor="WhiteSmoke" SeparatorColor="Blue" x:Name="listaFilme"> and I have a Viewmodel class: FilmeService filmeService = new…
-
0
votes1
answer1629
viewsGenerate random characters with the Random class
I was given the following code to help in the resolution of an exercise. Random gerador = new Random(); gerador.setSeed(4); System.out.println((char)(’a’ + (Math.abs(gerador.nextInt()) % 26))); I…
-
0
votes1
answer39
viewsSQL query returns duplicated and error value
I have the following query but it is returning duplicate and wrong results. Arthur should show 0 and not 30.…
sqlasked 8 years, 11 months ago Diana Madeira 485 -
3
votes2
answers507
viewsHow to make a div Scale without changing the child elements?
How do I make the content opacity and size within paragraphs not change when the transition occurs?! #quadrados{ padding-top: 2vw; overflow: hidden; width: 100%; height: 30.5vw;…
-
-2
votes1
answer572
viewsCalling another file function, NODE
Good afternoon, I would like to know how to pull the function of a mini-program to a program in JS, check Note.js containing the function verificaNota, I would like to know how to pull this function…
-
3
votes2
answers24995
viewsJavascript function that completes the field with zeros on the left
I have a field that accepts 4 digits, I would like that, after filling the field, when switching to another field, if the 4 digits are not typed, that the field is auto completed with zeros on the…
javascriptasked 9 years, 10 months ago Raphael Teodoro 335 -
0
votes1
answer27
viewsWhat chcp are there or how do I know which ones I have?
I’m seeing a little bit about batch, and I’d like to know which pages of code there are or where to find them. So far, I have found the following CHCP using a bruteforce script set var=%1 :loopset…
-
0
votes0
answers41
viewsHow to not duplicate my LISTAGG
Follows my sql to low oracle use SELECT DISTINCT pf.nome AS servidor, m.matricula AS matricula, ca.descricao AS funcao, TO_CHAR(c.dataadmissao, 'dd/mm/yyyy') AS admissao, LISTAGG(ev.descricao, ',')…
-
0
votes0
answers110
viewsPersist child objects with parent id 1:N
Guys I’m having difficulty in relationships with Hibernate, I have a 1:N relationship between Provider and Address (1 provider may have N addresses). My problem is this, when I try to persist a…
-
-2
votes1
answer134
viewsBufferedimage does not appear on the screen
I’m learning Java and I needed to use Bufferedimage, but for some reason this doesn’t seem to work Error is that the drawing does not appear in the panel, I followed several tutorials but still not…