All Questions

1
answer

Read values from a table in SQLite

I need help in the following situation: I need to get the values of a column in the bank and write these values into a variable, and then this variable will randomly generate one of those saved data. Below the class where I create the bank:...
asked on 13.06.2016 / 06:22
1
answer

AspNet MVC database first or code first

I have an AspNet MVC 5 project in which I will use Owin and identity, I needed to customize identity (attributes and relations) to meet my needs, however I already have all the "ready" bank tables ), in these already existing tables I'll create...
asked on 11.08.2016 / 14:53
2
answers

Error using plm - Error in x [! na.check]: (subscript) logical subscript too long

I'm using the plm package to do analysis on a dashboard. To structure the base as a panel, I used the pdata.frame function of the same package. With this, I had a panel with the following characteristics: Dai,Iwouldliketorunaregressio...
asked on 23.08.2016 / 19:15
1
answer

How to make a Carousel

I'm trying to create a Carousel on Android like this from this video , but it's not working too well.     
asked on 22.08.2016 / 20:20
1
answer

Alignment with string.format and unicode

I'm having trouble aligning strings when using .format() , for example when doing: >>> print '{:>6}'.format('agua'} agua >>> print '{:>6}'.format('água'} água Note that the first format comes out as expec...
asked on 21.09.2016 / 16:55
1
answer

Html.EditorFor losing value when restarting the page

I'm starting my html.editorfor with "0.00" like this: @Html.EditorFor(model => model.Preco, new { htmlAttributes = new { @Value = "0,00"} }) But when the user receives some validation message (ModelState.IsValid = false), the editorfor l...
asked on 20.08.2016 / 14:12
2
answers

How do I make a stopwatch down to a date?

Well this is the following I have a following date with one hour, and I would like to know how I could make a descending stopwatch, with days hours minutes and seconds until I get to that date and time. Example: The date set in the javascript...
asked on 16.08.2016 / 00:16
3
answers

Upload file with parameters in Silex with Angular-File-Upload

I'm doing a job with Angular (version 1.5.8) and using Silex as Web Service. To send the file to the Web Service I am using Angular-File-Upload (version 1.5.1), and my Angular service is like this: self.salvarAnexo = function (id, descricao, a...
asked on 12.08.2016 / 01:02
1
answer

Images are repeating in ImageViews

I have 54 images I need to show only 8, but there has to be a random selection and they can not be repeated, I'm programming on the Android Studio platform. I use this code it works quietly, it shows the results in 8 ImagemView , More ....
asked on 14.09.2016 / 04:28
1
answer

BD query without overloading the server

Hello everyone, good night! I need to perform several queries of an ID in an X table, but this is overloading my server and the connection with BD is off, I contacted my server and they informed me that they are trying multiple requests and s...
asked on 18.08.2016 / 02:39