All Questions

2
answers

Fill combobox with database, but start with white

I have a combobox that I filled with this database query: select ' ' as usr_entrada, null as no_servicio union select usr_entrada, No_Servicio from Telemarketing where Id_Sucursal='cordoba' The idea of the union is to add a blank row to th...
asked on 31.07.2017 / 14:58
1
answer

C ++, execute binary from a byte array

I am trying to use function pointers pointing to a binary stored in byte array, but it always results in segmentation fault. unsigned char byteProg[] = {0x7F,0x45,0x4C,0x46,0x02,0x01,0x01,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x02,.......
asked on 29.07.2017 / 18:34
2
answers

Variable that traverses the for is not updated

I am trying that when the for exterior% completes an iteration, the variable i is updated, in the way that is indicated in the if after the for internal ( if i+self.nGroups > n ) for i in 0..n for j in 0.....
asked on 27.07.2017 / 18:49
1
answer

Doubt with xml and laravel

Good, I'm new to the framework, I have a question about an XML that I'm doing in a project that is laravel, the detail is that I'm doing it entirely with php but when I want to visualize what I've done, I can not . here I leave my code <...
asked on 24.08.2017 / 22:20
2
answers

Loop do while in vba

I have made a module that according to what number you enter with the conditional if, I get a message or another. I have created a repetition with the loop do ... loop, so that I only introduce from 1 to three and if I do not ask for it again...
asked on 22.08.2017 / 15:33
2
answers

ng-repeat for array of images

I have a function that calls the element 'categories' of the BD. This 'Categories' table has a field called 'gallery' which is an array of images. I want to do a ng-repeat that shows me the images of this field. the code that I have, but that do...
asked on 31.07.2017 / 19:46
1
answer

Regular expression for django url with slug containing "/"

The idea is to create a regular expression to configure the url I have 2 models, category and articles. The article model has a FK to category and the slug makes the join correctly slug (category) / slug (article). I want to use the separator...
asked on 23.08.2017 / 03:13
1
answer

I have this error in my view: "View's SELECT contains a subquery in the FROM clause" What do I do?

I want to convert the following query into a view, but I still get the error mentioned above. This is my query: SELECT C.id_pdmatriz, C.id_proveedor, C.Precio , x.Nombre , p.Nombre FROM ( SELECT MIN(A.Precio) AS Precio , A.id_pdmatriz FROM pro...
asked on 18.08.2017 / 15:37
1
answer

How to create a list with indeterminate levels?

More than 1 month ago I asked the following question: How do I create ul and li with a recursive function? and I was solved the problem I had. Currently I need to make a menu with indeterminate levels (the user is the one that will form...
asked on 25.08.2017 / 08:40
3
answers

Change the value of a variable if it meets a condition in R

I need to change the value of a variable. One of them is called Village and one of them is called site . One of the Villages that is called esperanza_paleta has value 5 in variable site and I want that 5 chan...
asked on 24.08.2017 / 16:53