All Questions

2
answers

Difference from? attr: with? android: attr / on Android

What is the difference between specifying values in the attributes using ?attr: or using ?android:attr/ For example to apply the color of the text as if it were a deactivated control (soft gray) Directly: android:textColor=...
asked on 02.11.2016 / 16:40
2
answers

Some operations are overflowed in javascript [duplicated]

Good afternoon. guys I have the following problem. with a simple addition operation the following happens to me: 99.92+0.04 99.96000000000001 I do not know why that 1 is added at the end. This makes the results of operations do not give m...
asked on 28.10.2016 / 21:22
1
answer

Problem with (.) in friendly url

I have a website where I show a catalog of products, which with the famous friendly url, transforms said url. I have: www.miweb.com/productos/Plancha-para-ropa-nghkdk23 And redirect to: www.miweb.com/productos/productos.php?idproduct...
asked on 02.11.2016 / 13:45
1
answer

I can not generate the view of the posts in CodeIgniter

I follow this video: link Clicking on the individual posts does not load my view and I get this error:    "An uncaught Exception was encountered       Type: Error       Message: Call to undefined method Post :: getPostById ()      ...
asked on 01.09.2016 / 19:31
2
answers

How to use $ http.post and $ http.get in the same function?

A few weeks ago I started using AngularJs for an application of the typical administration style. My question is this: I use it with PHP, using the method $http.post sent the parameters to a file 'file.php', who takes the variables...
asked on 22.09.2016 / 22:48
1
answer

Obtain data of a promise in an Angular directive

I am working on a directive that needs information to work. This information must come from a promise. The problem is that the directive loads without the information because the promise takes more time to execute than the directive itself. Then...
asked on 22.09.2016 / 21:25
2
answers

Warnin of sqlsrv_fetch_array () expects parameter 1 to be resource

I'm going to the point, I'm doing a search engine and when I put certain names or data, the results are shown, the problem is with some others where nothing is shown and it shows me the following warning    Warning: sqlsrv_fetch_array () expe...
asked on 13.09.2016 / 20:12
1
answer

Paint a pixel with WebGL

I am trying to implement the Bresenham algorithm to paint lines with WebGL . I want to paint pixel by pixel of the line thanks to this algorithm. My question is, is there any way to paint a pixel in WebGL?     
asked on 06.09.2016 / 20:48
2
answers

SQL Contains: Escaping query operators

I had a query running for some time (mounted by JPA) when suddenly I was given an exception:    org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.orm.hibernate3.HibernateJd...
asked on 15.09.2016 / 10:17
3
answers

Generate button board by code in Android Studio

I'm working on an android application and I need to create a board (made of buttons). I already generated the board from the code of my java class, but the problem is that the buttons go out of sight (they leave the screen). I have already tr...
asked on 08.09.2016 / 19:08