All Questions

1
answer

When sorting an array removes data

I am programming a genetic algortimo so that this solves problems of linear programming, I am using C language, when calculating the limit of the variables I keep the values in a float type array, I need to order that array but it erases a data...
asked on 22.04.2018 / 18:42
1
answer

Click on recyclerview does not work and does not give an error

I am in full development of an application, I use fragments and one of them loaded a layout with a RecyclerView , at the beginning the click and long click were made, it does not give me any error, since the application works perfectly but...
asked on 08.01.2016 / 13:02
1
answer

IE9 does not show font family

I'm making a web page and I want to use the source nexa bold , I have downloaded the source and I have it in various extensions such as .otf , .eot , .wof , .ttf , and .svg , I want to clarify that this error only...
asked on 18.01.2016 / 16:36
1
answer

Create an executable from a python script (NumPy)

Sorry that seems like a very simple doubt, but it is the first time that I do this and I am having difficulties. I have created with spyder, a software that brings anaconda, a calculator of systems of equations, in which I have used the numpy mo...
asked on 07.05.2018 / 19:38
1
answer

Implement means and 95% CI for each subset of data using ggplot

I have a set of data that is more or less like this (note that this is a minimum example and that the limited data can affect the visual appearance of the obtained graph): y x z g 1 0 0 1 2 1 0 1 2 0 0.5 1 3 1...
asked on 10.04.2018 / 11:30
1
answer

Create a component in FireMonkey

Well, I hope you can help me. Some time ago I have been using a component that I made in VCL for delphi 2010 that consists of a rectangle that changes color according to three states as shown in the attached image. With three additional graphic...
asked on 09.04.2018 / 23:25
1
answer

PHP help does not recognize pdf type

$ _ FILES ["file"] ["type"] does not work with pdf, any other type such as jpg or png or csv recognizes them type pdf appears blank, I am working with php 5.6.31 Any other solution to recognize the type pdf would be very helpful, thanks     
asked on 07.05.2018 / 02:15
2
answers

Callbacks explanation of how it works

Hello, I'm new to this and I'm not entirely clear on how this code works, first print 'start', then 'finish' and then the callback since it is in an asynchronous subprocess, right? but I do not understand the syntax of suma(5,6,function(result...
asked on 09.04.2018 / 12:47
1
answer

Failures using 'std :: initializer_list' with 'const char *', 'const char * &' and 'std :: string'

I have a simple program that uses a variable template of type std::initializer_list that stores pairs that contain a type and a text: using name_t = const char *; template <typename key_t> using key_name_t = std::pair<key_t, n...
asked on 17.04.2018 / 09:29
2
answers

How to use addClass with Array selector in JQuery?

I need to collect all the elements that have the class "events" in an array, to later traverse the array in search of an attribute, for example, "blablabla". If you have "blablabla", I will add the class "newClass". I have done the test with...
asked on 18.04.2018 / 14:59