All Questions

1
answer

Can parameters be passed to a function its own return value?

Hi, I'm trying to do a filter but I need the filter output data to go through the N times filter again, until I get the data I'm looking for. But can this be done in python? I need to do it with the use of calls to a filter function determined b...
asked on 06.07.2018 / 23:59
2
answers

How can I make a menu on an image?

I hope and you can help me with a question I have since I do not know much about css yet. Well, how can I make a menu on an image with css example I have the following html and css code: <div class="image-menu"> <img src="images/i...
asked on 05.07.2018 / 22:45
2
answers

PHP - Delete values of a variable $ _POST with str_replace

Good day. I would like to delete some values of a query that I receive via POST. I have a variable $ query which receives the value = SELECT * FROM equipos WHERE () AND (( nombre='computadora' OR nombre='mouse' OR nombre='teclado' )) AND (( d...
asked on 04.07.2018 / 21:39
1
answer

C # - High memory consumption using iTextSharp

I have the following code, the objective is to open a file pdf , calculate the hash of it and keep the file in memory (approximately 20 seconds) to later sign it and save it. What happens, a pdf of 90mb is loaded and when y...
asked on 03.07.2018 / 16:33
1
answer

Access data in a tuple

I have the following code: import firebase_admin from firebase_admin import credentials from firebase_admin import db cred = credentials.Certificate("2.json") firebase_admin.initialize_app(cred,{ 'databaseURL':'https://new1-3b819.firebase...
asked on 12.07.2018 / 16:46
1
answer

QFrame without mosaic and centered

I have the following code: from PyQt5 import QtCore, QtWidgets, uic from functools import partial class MainWindow(QtWidgets.QMainWindow): def __init__(self, parent=None): super(MainWindow, self).__init__(parent) uic.loa...
asked on 12.07.2018 / 17:32
1
answer

Consult MongoDB from Python

I'm trying to make a query to MongoDB from Python, I'm just getting into these technologies. I have this code import pymongo from pymongo import MongoClient client = MongoClient() db = client.crawler.users res = db.find() print( res )...
asked on 06.07.2018 / 22:17
1
answer

Where to place my DbSet in my project with Entity Framework?

Well this may be a silly question but I would like to know how other people who use this framework work. I am new using these technologies, I am using Visual Studio with ASP.NET MVC 5 and Entity Framework and I have just started a new project, I...
asked on 08.07.2018 / 04:18
1
answer

Count ascending sequence

I have to do an exercise that receives numbers from the keyboard until I enter a 0 and show the number of ascending sequences (Example: 15, 9, 5, 3, 4, 6 has only 1 sequence). I did it like this: int i; int a[50]; int ascendente; printf ("Ingr...
asked on 16.07.2018 / 17:45
1
answer

Assign different actions to a Floating Button on Android

I have a FloatingActionButton general and 3 Fragments that are loaded with a ViewPager Following the Google Design Guide , show that FloatingActionButton is in parent and not in each fragment video: lin...
asked on 21.07.2018 / 09:21