All Questions

1
answer

Resolution with Prolog

Good afternoon, I have encountered a problem with my teacher in the Prolog class. My professor says that we can make a resolution with the following program mag(paris,mag_a). mag(paris,mag_b). mag(lyon,mag_c). mag(lyon,mag_d). liste(M):-mag...
asked on 26.04.2016 / 22:13
2
answers

ASP.NET MVC5 How can I create a CRUD for the AspNetUsers table

How can I create a CRUD for the AspNetUsers table, creating a MVC 5 controller with views using Entity Framework This is the structure of the table: AspNetUsers This is the Model: IdentityModels namespace Portal.Models { publi...
asked on 04.05.2016 / 00:03
2
answers

DatePicker in Spanish

Do you know if you can put DatePicker in Spanish? It's a pijotada but it's in English format and I'd like to have it in Spanish.     
asked on 11.05.2016 / 12:30
2
answers

How to show and hide divs and vary class crossed out?

I am working with a price table and as you can see the total price varies through the action ws-plus and ws-min , this part I have it done. Now, what I need is to work with the actuators. By default I want the "item that varies p...
asked on 09.04.2016 / 13:43
1
answer

Pylint - Too many boolean expressions in if statement

Good afternoon I have the following code snippet: content_view = cleaned_data.get('content_view') show_content = cleaned_data.get('show_content') show_children = cleaned_data.get('show_children') footer_title_1 = cleaned_data.get('footer_titl...
asked on 02.05.2016 / 22:13
2
answers

Great efficiency problem. Tips to optimize hash table in C?

Good morning, I am implementing the Greedy algorithm to color graphs. Graphs can have up to 1 000 000 of vertices. All integers are uint_32 , and to save them I use a hash table that uses dynamic arrays to solve collisions (and not...
asked on 29.04.2016 / 17:37
1
answer

Internal menu search

I have a menu in html with an amount x of lists that in turn have labels to, how can I implement a search engine, to show the "a" links since they are enough, and redirect me to the selected link? I have: <li class="lista"> <a hr...
asked on 05.04.2016 / 17:40
1
answer

The navigation drawer does not open

I'm making an application in Android Studio, in which I use a NavigationDrawer. I have the problem when clicking on the button that would open the navigation menu does not, but it does allow me to drag the navigation from left to right so that i...
asked on 28.04.2016 / 16:08
1
answer

Compare two chains, apparently they are the same

I'm trying to compare 2 string . the first I get it from a array , the second I get it from reading a directory. The problem is that I'm trying to compare that the name of the array matches that of the file that is reading and are id...
asked on 08.04.2016 / 19:41
3
answers

Default value to an input in HTML

I have a form that will register your name, surnames, etc. and I have a field that asks for a number, I already register well, now I would like it if the number field is empty that I insert something by default, example: 0. In the form I get...
asked on 11.04.2016 / 16:44