All Questions

1
answer

Write to a file mapped in memory (using mmap)

I'm trying to learn how to use mmap; I have managed to read from a file mapped in memory, however when trying to write I constantly get a "segmentation fault". The code (to write) that fails me is the following: #include <stdlib.h> #in...
asked on 20.02.2018 / 12:23
3
answers

Inquiry about Laravel and Eloquent

I have a form with two select and two date fields, when I click on the button it makes me a query with the value of the two select and "whereBetween" between the dates, is there any way of doing that I only consult according to the select in tho...
asked on 14.02.2018 / 12:18
1
answer

Subtract two values from different tables [closed]

How could I subtract two values from different tables in SQL? I want a column to subtract the user's vacant days off. These days must be the difference between the days you have requested in the applications and the days you have vacations per y...
asked on 26.02.2018 / 12:15
1
answer

ImageView with Android Java Notification Counter

I would like to know if there is any control, library or if I have to do it by hand, to be able to implement a counter in an imageview, what I mean is, I need to replicate something like this I refer to the image with a red circle that...
asked on 19.02.2018 / 19:44
2
answers

Search and print python file path

Dear users of the StackOverflow community ... I'm looking for a function in Python that allows me to find the path of a file. for example I know that I have a program called pycharm64.exe, or simply pycharm but I do not know the route ... I l...
asked on 07.02.2018 / 16:05
1
answer

Problem when verifying that my user is in the ORACLE database

Is there any kind of conflict with rowCount? The sentence I understand is fine, and I'm using PDO, which also did not give me problems before. The field in the database is VARCHAR2. I attach my code: $user = 'pepito' $con = conne...
asked on 13.02.2018 / 13:41
1
answer

Use Label a as a container

Good morning, I'm doing an exercise with HTML and I have a doubt, I'm enclosing a label <a> a <div> and within this same there is a label <p> and other <img> and it works well and as I want, my...
asked on 25.02.2018 / 19:20
1
answer

TableView reactive in swift

I was thinking about creating a UiTableView that follows the pattern MVVM (Model-View-ViewModel) to be able to make the data in the table refresh automatically when there is a change in these, be it a new element, an update or a deletion wit...
asked on 22.02.2018 / 16:25
1
answer

Block the comma key "," in Android Studio XML

I want to prevent a user from entering a comma "," in a EditText , investigate what can be done with the property of android:digits=”” but you have to enter the remaining characters, there will be a property to block that property i...
asked on 27.02.2018 / 20:09
2
answers

android studio error Unable to locate adb

I am starting the development of app with android studio with jre and jvm that I copy below. Android Studio 3.2.1 Build #AI-181.5540.7.32.5056338, built on October 8, 2018 JRE: 1.8.0_152-release-1136-b06 amd64 JVM: OpenJDK 64-Bit Server VM by...
asked on 19.10.2018 / 19:36