All Questions

1
answer

In Python django, if I want the regex to detect from 6 characters to infinity, [\ w -] {6, infinite} what is the quantifier?

url(r'^(?P<foo>[\w-]{6, })/$', view) In django if I want the regex to detect from 6 characters to infinity, {6, infinito} , do I leave it blank, or how should I express it? This way it works but I'm not sure ...     
asked on 07.02.2017 / 04:30
2
answers

How can permissions be established without conflicts between users and groups?

I'm having trouble finding a balance between the owners' permissions and groups of directories and files. As the development of the application progresses, the intervening processes increase. And each of them run with different owners and gro...
asked on 27.03.2017 / 13:09
1
answer

BroadCast Receiver java.lang.NullPointerException

I'm doing an Android application for a barcode grabber, basically what the application does is: From a navigation menu I select a winery that takes me to a fragment and in this fragment I have a spinner and two text view, I select a spinner p...
asked on 25.10.2016 / 17:06
2
answers

Obtain properties of an object which belongs to another object

Greetings. I've been trying to know how to get the properties of an object that is at the same time inside another object. This comes as a result of a programming book. The code is as follows. 1st we have the object: function Co...
asked on 22.02.2017 / 17:06
5
answers

[Ljava.lang.Object; can not be cast

I have the following problem, I want to make a query to my db, to bring a list of a related class, all worked with hibernate, but when I want to print on the screen it throws me the following error: Exception in thread "AWT-EventQueue-0" java....
asked on 09.10.2016 / 22:19
3
answers

Show what is selected from a select

How to display data in a <input> of JavaScript, according to what is selected from <select> ? <script type="text/javascript"> function mostrarprecio() { if (document.getElementById('pizza').value = "0")...
asked on 15.10.2016 / 20:48
3
answers

Graph data already read from .xls files in html5

This button must be programmed to read a file in Excel with two columns, the first with data (x) and the second with data (y). the new records must be graphed but I have not yet achieved it. var lineChartData = { "datasets": [{ "data": [...
asked on 05.10.2016 / 23:21
1
answer

As valid by jquery that my message field does not contain a space?

I want to validate my textarea so that you do not write a blank space at the beginning if( $("#comments").val() == "" || $("#comments").attr("value").match(/^/s+$/)){ $("#comments").focus().after("<span class='error'>This field is r...
asked on 27.10.2016 / 12:52
2
answers

Problem when deleting with php in a mysqli database

I am making a form in which you can already save perfectly in the mysqli database, and I already get the data in an html. Now what I want is to erase with a button. The thing is that it deletes, but always the last record, and not which one...
asked on 25.10.2016 / 23:49
1
answer

Two linked selections (Country and Province) that do not link

I have two selections, one I charge the countries, in the other the provinces that "reacts" according to the country that was selected first. Just consulted how to bring from a BD the code of a country and make that select countries show me the...
asked on 29.07.2017 / 15:42