Posts by Vynstus • 462 points
33 posts
-
5
votes3
answers635
viewsQ: Local Push Notification iOS
I’m using the lib React-Native-push-notification to schedule notifications in an app,. For Android I am able to create, but the same does not work for iOS. I wonder if you have any alternative to…
-
5
votes1
answer899
viewsQ: React Native - Schedule Local Notifications
I’m using the library React Native Push Notifications to schedule notifications, but I’m facing a problem I don’t know if it’s possible to resolve with this lib. I have to schedule a notification…
-
2
votes2
answers1101
viewsQ: Cloud Firestore - Composite query
I’m making a query in my database in the firestore, but when I put two where nested, I get the following error: Error getting documents Error: Firestore: Operation was rejected because the system is…
-
1
votes1
answer542
viewsQ: Multiprocessing in Python
I’m creating processes using multiprocessing in Python, but need to create processes within other processes, ie child processes. It is possible to do this using multiprocessing? Code: import time…
-
2
votes1
answer57
viewsQ: String Validations
I’ve been researching how to validate e-mail, dates, times etc. And in the case of e-mail, I found a code like this: /^.+@.+\..{2,}$/;. It is incomplete. But I wanted to understand what these…
-
2
votes1
answer293
viewsQ: Disable native browser validation
Would you like to know how to disable native browser validation in a form? I would just like to leave my validation in Jquery. What I wanted to take is this text box "Fill in this field.". Any…
-
1
votes1
answer48
viewsQ: Email appraisal
I have a problem analyzing the email on form registration, what I would like to do is that as soon as the user insert his email in the field email, the site already evaluate the email in the…
-
0
votes2
answers93
viewsQ: Center form
Would anyone know how to center a form within a container with *bootstrap? Example: <div class="container"> <div class="row"> <div class="col-md-12"> <!-- Centralizar este form…
twitter-bootstrapasked Vynstus 462 -
3
votes2
answers1308
viewsQ: Horizontal ruler with text
I wonder how I could make a horizontal ruler in HTML or CSS with a text in its center. I only know the command <HR> HTML, but it looks like it won’t let me put a text in its center. Does…
-
2
votes1
answer35
viewsQ: Consult the most duplicated record
I have a problem to recover the teacher who teaches more subjects in this table, in which case I want to recover the code that has more duplicated records in the cod_prof column. create table…
-
2
votes1
answer510
viewsQ: Format Textarea Javafx
I am creating a kind of Notepad, and I am trying to find some form, so that the úsuario can format its letter, size, color etc in a Javafx Textarea. Would anyone know if Javafx has a specific…
-
0
votes1
answer1221
viewsQ: Javafx in the Eclipse
Does anyone know how to install Javafx in the eclipse? I tried to find it on the internet but found nothing useful. If anyone can help, thank you. Eclipse Version: Luna Service Release 2 (4.4.2)…
-
2
votes1
answer562
viewsQ: Facebook login on desktop applications
I wonder if there is a Facebook API for desktop applications, so I can integrate in it, login using facebook account etc. I registered and created my application on the site of facebook developers,…
-
1
votes1
answer43
viewsQ: How to use something similar to Borderlayout in Qt?
I’m doing a project using Qt, and I missed the BorderLayout, Would anyone know if he exists in Qt? If not, there’s one that looks like him?
-
1
votes1
answer136
views -
4
votes4
answers1541
viewsA: What is the difference between "++$variable" for "$variable++"?
They are two forms of increment, pre-fixed and post-fixed. Both do the same thing, that is, increase the variable. A difference can be noted in the example below: Example of post-fixed: int x = 1;…
-
11
votes1
answer338
viewsQ: C libraries outside the ANSI standard
I am aware that, a C program in ANSI standard can be compiled both on Windows, both on Linux. But when it comes to using sockets? That’s not part of the pattern ANSI C? Because when I use sockets in…
-
3
votes3
answers219
viewsA: What is the whole argument in Exit() for?
If an integer value is passed, nothing is returned. Parameter 0 indicates that the executed code was successful. Parameter 1 is the opposite, that is, it indicates that there is an error in the…
-
4
votes2
answers348
viewsQ: Creating string in PHP
It is possible to create a PHP variable of type string that contains so many bytes, that is, defined by the programmer? Example in C: char string[20]; In this case, string will always have 20 bytes,…
-
4
votes4
answers18115
viewsQ: Convert Array to String
Why when I convert the array to a string it doesn’t convert all the keys of the right array: Code: <?php $bMsg3 = array( $at1 = 0, /* Inteiro */ $at2 = "", /* String */ $at3 = 0.0, /* Float */…
-
4
votes2
answers212
viewsQ: Creating buffers in PHP
Staff need to create in PHP a buffer (string) from a data set (array) to send via socket. In this buffer i want all attributes of the set that are stored in it, obey its size. Example: Whether I…
-
2
votes1
answer149
viewsQ: Creating a set of variables in PHP
I am new to PHP, and I have some doubts. I noticed that when variables are created, types are not specified. So: how do I create the variables of type short int, int and char? It creates the type of…
-
3
votes1
answer492
viewsQ: Select com Update
Would anyone know if there is an SQL calling to run a SELECT using LOCK IN SHARE MODE registry and running an UPDATE at the same time? example: SELECT * FROM Nome_Tabela WHERE id = 5 LOCK IN SHARE…
-
6
votes1
answer27217
viewsQ: Rounding in C
I wonder how I could ignore rounding in divisions, for example: 4/3 = 1,33... ~ 1 | 5/3 = 1,66... ~ 2 Right? I wanted to make a program in C, that in these cases, the rounding is not done, because…
-
5
votes2
answers661
viewsQ: Where to create macros in C?
In terms of good programming practices, if I want to create a macro, for example, a macro that has about 30 lines of code, I should implement it in the archive .c or in the .h? What is good…
-
3
votes2
answers169
viewsQ: Static library
I created a static library on C, that is, after compiled the file .c, generated a file with extension .a. In the archive .c implemented some functions. How could I read that lib in another program…
-
5
votes2
answers2330
viewsQ: Registration lock
How could I lockar a record in Mysql? For example, I have a record that is being accessed by the user 000, and I want to lock this record so that users other than 000 cannot access it. That is…
-
5
votes2
answers1314
viewsQ: Configure the compiler output path in Netbeans
Would anyone know how to configure in Netbeans, so that when I compile a project, it manages the executable in a given folder? In the project properties, you have the binding option, which I believe…
-
0
votes2
answers1955
viewsA: Adding numbers from an array
Create a variable that takes the sum of the array, for example: int somaTotal; somaTotal = somaTotal + atoi(linha[Indice]) Something like, I used atoi which is a C function that turns char into…
-
1
votes1
answer743
viewsQ: Socket TCP in C
I’m having trouble sending a 32k buffer from a client to a server. For example: I have an A program on one machine, which is the client, and a B program on another machine, which is the server. When…
-
5
votes1
answer1174
viewsQ: Copying table in Mysql
Need to make a copy of a table in Mysql for a simulation, is there any function for it? How could I do that?
-
4
votes2
answers225
viewsQ: Source code in Projects
If I have 10 projects in Netbeans, these 10 projects will use a log recording system, this system contains a log. h and a Log.c. Since all projects will have to use these two log files to generate…
-
-1
votes2
answers113
viewsQ: Calling function without signature knowledge
If I have a function called calculator() in C. And I want to call this function, obviously I would call it by name, ie by her signature. But if I don’t know the signature of this function, and its…