All Questions

2
answers

Register a ModelBinderProvider with Autofac in ASP.NET MVC

For an ASP.NET MVC5 application I have created a ModelBinderProvider for a certain type of data. If I add the new ModelBinderProvider to the BinderProviders collection in the Global.asax it works perfectly. ModelBinderProviders.BinderProvid...
asked on 13.05.2016 / 07:35
1
answer

How to count record, with multiple conditions

I am trying to make a query in MySQL, I have a table that contains the following: table: id, ano, m1, m2, m3, m4, m5, m6, m7 data: 10, 2016, I, P, L, I, L, P, I That is, what I want to achieve is...
asked on 19.08.2016 / 13:19
2
answers

Because my database file is so big in mongoDB

I have a query with the size of the database in mongoDB. I copied a Postgres table from 3 million records to mongoDB. The table in Postgres weighs 400Mb. The collection in mongoDB weighs 1.6Gb Is there something I'm doing wrong or just in...
asked on 19.08.2016 / 18:49
1
answer

How to relate an 'Object' to several 'Objects' Foreigkey

Asking for your support again, I am making an application to inventory the electrical and optical ports of various equipment, and it is not clear to me how to relate a model with several models. I have the following two objects: class ITarj...
asked on 20.08.2016 / 09:59
1
answer

how can I save my coordinates in mysql using "navigator.geolocation.getCurrentPosition"

Hello that such a friend turns out to be very stuck with this problem that happened to me in the work I want to save the coordinates latitude and longitude in php variable and then proceed to insert them in mysql but I can not make the javascrip...
asked on 19.08.2016 / 18:31
1
answer

Error using gmail login - android

The gmail login works for me already. The problem is that since I want to also use Facebook and Twitter login I want to separate the classes from each one and only call them within my login fragment. This is a login fragment:...
asked on 22.08.2016 / 19:12
1
answer

Why does the date of 1970 appear in the code of my page?

<?php if(isset($_POST['search'])) { $rankselect = $_POST['rankselect']; $i = 1; if($rankselect == 5) { ?> <div class="title-page" style="margin-bottom:15px;">BIG BOSSES</div> <table width="691" cellpadding...
asked on 21.08.2016 / 23:33
1
answer

How to save an image on Android without compressing it?

I'm making an Android application that captures images and saves them in the internal memory, but when I save them the images are compressed and I want them to be saved in original size without any kind of understanding. this is the code I'm...
asked on 10.09.2016 / 21:28
2
answers

C ++ request by member 'init' in 'mainRender', which is of type 'Renderer ()' which is not class

Hello I'm having problems with the methods of a class in my program, I think it's due to the distribution in different header files, I wanted to know in which particular cases this error occurs? error: request by member 'init' in 'mainRender'...
asked on 11.09.2016 / 22:15
6
answers

how to get the last id inserted in JSF and Primefaces?

I have a problem in showing the last inserted code and showing it in my web application as shown in the image when I press the new button. It shows me another window and where it says code I have to show P007 but it shows me 'P0061'. I le...
asked on 09.09.2016 / 03:43