All Questions

1
answer

Detect Led Notifications Android Studio

I have a simple doubt, I am programming notifications, and I realize that when I involve the line of code: .setLights(Color.GREEN, 3000, 3000) It appears errors in cell phones that do not have the notification LED (such as cell phones with...
asked on 27.07.2018 / 08:18
1
answer

do not repeat table results

I have the following query SELECT DISTINCT HPNESTANC.ADNINGRES AS ESTANCIA1 , HPNESTANC.HESFECING AS FECHA_INGRESO FROM HPNESTANC WHERE EXISTS (SELECT MAX( HPNESTANC.ADNINGRES), MAX(HPNESTANC.HESFECING) FROM HPNESTANC WHERE HPNDEFCA...
asked on 03.07.2018 / 22:38
1
answer

Android Studio preview error

My problem is that after installing and updating Android Studio, I see an error in the design tab that does not let me see the appearance of the app or the changes I made to it. PC specifications:    Intel i3 2328m    4 gb Ram    Wind...
asked on 23.06.2018 / 02:00
2
answers

Retrieve total of items from combinations

I have the following table in a PostgreSQL database: CREATE TABLE combinaciones ( id serial NOT NULL, valor character varying NOT NULL, CONSTRAINT id_pk PRIMARY KEY (id) ) WITH (OIDS=FALSE); ALTER TABLE combinaciones OWNER TO post...
asked on 13.06.2018 / 02:04
2
answers

empty the records of a mysql table with event_scheduler 24h

I want to make every 24 hours vacíen the records of a table from the web. what I wear in javascript is this is not much but is more or less see the idea var now = new Date(); var hours = now.getHours(); if ((hours>=...
asked on 16.08.2018 / 00:16
1
answer

InsecurePlatformWarning when using pip on Ubuntu

I am observing an alert message (not an error) InsecurePlatformWarning when executing the pip command in Linux: $ pip search reportlab /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90:...
asked on 02.12.2015 / 15:39
3
answers

Items are missing when receiving Array

Everything works correctly for me by only collecting the values of an array, but when I collect the data of the two that is what I want, I am missing data, as I can do it to have them in the same activity: @Override protected String doInBa...
asked on 03.01.2016 / 15:11
2
answers

how to compare an item in a Haskell list

I was trying to make a function that compares a given item with a list and if the item is on the list it returns a Boolean. when compiling it, it throws this error at me and I do not understand what it refers to. I would appreciate your help...
asked on 14.09.2018 / 07:40
2
answers

I can not translate the dates into Wordpress theme

I have the following site in Wordpress where I have doctors' records with the days in English and I want to change them to Spanish: link I tried the crazy Translate, I tried editing the .po files directly and even went to review the php files...
asked on 30.04.2016 / 17:41
2
answers

How to delete a repeated character in C?

I am filling out a form with validations and there is a field that asks me for an average, and one of the rules to validate it is that it only contains one decimal point. Example: If the user types 2..2, ask the average question again....
asked on 12.04.2016 / 20:23