All Questions

1
answer

Because blank spaces are generated in my input value

<input type="text" class="form-control txt_respuesta54_act" name="txt_respuesta54_act" required value=" <?php if ($trim == 1){echo trim($respuesta_Trans_Q2);} elseif ($trim == 2){echo $respuesta_Trans_Q3;} elseif ($trim == 3...
asked on 30.01.2018 / 22:22
1
answer

Problem with the use of python classes

When I run my program it gives me this error:    new = colony.Colonia (self .__ tasks, self .__ times)   UnboundLocalError: local variable 'colony' referenced before assignment my class is the following: import tareas import hormiga imp...
asked on 30.01.2018 / 19:35
1
answer

Problems in mysql workbench "Error Code: 1005. (errno: 150" Foreign key constraint is incorrectly formed ")"

I have this problem in a database for a final school project    Error Code: 1005. Can not create table gymn-os . maestros (errno: 150 "Foreign key constraint is incorrectly formed") Here I leave the script of the database I h...
asked on 25.08.2017 / 21:22
1
answer

Google play does not mark any compatible device for my apk

I have 5 updates of my app modifying the AndroidManifest.xml to be if I get that the tab is different to compatible devices: 0 and I'm not successful appsheet . If you could help me please. AndroidManifest.xml <?xml version="1.0" enco...
asked on 30.08.2017 / 22:16
1
answer

C Search and write to a txt file

I need help: / this program is supposed to look for a text in a txt file, if this text is there, then it generates another text and if that is not it writes it. for example: Aleatoreamente gender INSERT INTO ALUM_PROF VALUES (2,4); And I look...
asked on 29.08.2017 / 02:11
3
answers

Store a sub-list of objects

I have a question about how to make a partition of an Object List. What I want is that I have a List with 1000 objects and I want to create a sublist to have 500 objects on one side and another 500 on the other. I have an object class called...
asked on 30.08.2017 / 15:09
2
answers

Create predicate using operator: -op?

I have some doubts about the operator: -op in Prolog, because I can not handle it. My exercise is focused on creating a predicate that from a list attribute-value, whose format is [a1 => v1, a2 => v2, ..., aN => vN], get the value of a attribute...
asked on 31.08.2017 / 16:25
1
answer

Gettext does not translate into PHP web

My system is Ubuntu 14.04.1, with apache 2 with PHP 5.5.9-1ubuntu4.22 Problem: I want to translate my web application made in PHP with Gettext and I can not get it translated. So I created a new project with the minimum necessary to make tran...
asked on 31.08.2017 / 08:34
1
answer

SVG graph, with embedded javascript, I use getElementById () does not work correctly in IE11

I want to modify or see some values when I focus on an element of an SVG drawing. This works correctly in Chrome and Firefox. But when using IE11, it does not work. What could be the cause? Are there some JS libraries that resolve these incompat...
asked on 02.09.2017 / 23:32
1
answer

Correct format for links in W3C

I have a site that has a footer where the following string is included to link internal links (I speak of an HTML document): <a href="<?php echo url_for('nosotros/aviso-legal#top'); ?>" title="Aviso legal"> At the same time it...
asked on 21.01.2017 / 17:44