All Questions

1
answer

How to use for example this method public static boolean isConnectedWifi (Context context) in another class?

In a class I am validating the connection to the network in Android, and I would like to validate if the true value of that method in another class is executed by another method. Class 1 public static boolean isConnectedWifi(Context context...
asked on 22.06.2016 / 20:49
1
answer

Sessions in ASP .NET Core 1.0 and ASP .NET MVC 4

I am doing a series of tests in ASP.NET MVC Core 1.0 to see if it is convenient to migrate the project from MVC 4 to MVC Core 1.0 many of the errors that came out are already fixed. I have problems passing the parameters that contain sesio...
asked on 29.06.2016 / 23:38
2
answers

ordering __cmp__, order according to two parameters

Holaa the code is as follows, def es_numero(valor): return isinstance(valor, (int, float, long, complex) ) def es_cadena_no_vacia (valor): return isinstance (valor, (str)) class Hotel(object): def __init__ (self, nombre = '*...
asked on 13.08.2016 / 02:52
1
answer

Error with block variable not set

I have the error 91 in VBA with the following code: Dim i, c, b, a, With wsMissingSCM2.ListObjects("tblReportData2") .TableStyle = "TableStyleLight6" ' ' LocationColumn ' i = 1 .ListColumns(i).DataBodyRange.Hor...
asked on 23.06.2016 / 16:35
0
answers

Serializers - HyperlinkedModelSerializer: Validate your attributes (fields) [closed]

In restframework how could you validate the fields? I am using HyperlinkedModelSerializer . It happens that I have a model that specifies that for each type of identification document will have an exact number of digits, then I w...
asked on 19.07.2016 / 17:46
0
answers

My game performance goes down when I publish it on Google Play [closed]

I have developed a simple game in Unity for the Android platform. If I compile and import the APK to my device, the game works perfectly, but if I publish it and download it from the Google store, the performance goes down considerably, lowering...
asked on 04.08.2016 / 08:55
2
answers

Create query in a repository in spring

I have a repository and in its interface I want to create a function that requests a String and returns an object of type user, in mysql the syntax would be like this: SELECT C.NOMBRE FROM CLIENTE C, ALIAS A WHERE A.NOMBRE = 'bar' AND A.CLIENT...
asked on 02.03.2017 / 16:49
2
answers

MySQL SUM () grouping by the same ID in different columns

This is the problem to solve: I have a table, in which 1 to 5 different products are registered, but there is no order control when registering the products, in one record a product can be in the product_1 field and in another record it can b...
asked on 03.03.2017 / 00:45
1
answer

Error first column in a Google charts chart

When I create a timeline with google charts, I cut the first column and it does not look whole, because of the tests that I have done, it only happens if the 'div' of the chart is inside another 'div', instead, if it is directly on the page goes...
asked on 02.08.2016 / 10:31
1
answer

Page companies by category Rails

I am trying to paginate the companies by categories, with the idea that I have a similar view structure: ---------------------------- Categoria: Panaderia ---------------------------- Empresa: Panaderia X Empresa: Panaderia Y Empresa: Panaderi...
asked on 09.03.2017 / 18:13