All Questions

1
answer

I can not insert data into the array

I linked two drives to this product, but when I select it I have no way of linking to another new drive, since% is done at all, not being distinguished a new record that I try to link to As below, I am trying to register the drive code P1, af...
asked on 31.10.2017 / 20:46
1
answer

Can I prevent the user's screen from being deleted on a page?

I believe that all operating systems have the option to turn the screen off after a certain amount of user inactivity, mainly as a way to save battery power, but it is not always wanted to do so. For example, when watching a video, the user m...
asked on 30.10.2017 / 14:03
2
answers

How to find a reserved word in a sentence?

I'm creating a routine to search for reserved words in a text (people's names). I have already tested with Contains() and IndexOf() . It works well most of the time. However in some words the return does not satisfy. Example: CORAL...
asked on 01.11.2017 / 17:50
1
answer

Link does not send parameters and redirects to Servlet

I placed in my index page where I have three links one with the name of T-shirts, Bermudas and Pants in which% I put% so that when I clicked the link it was redirected to the servlet and sent the parameters according to the link, but that does n...
asked on 01.11.2017 / 20:48
1
answer

Max of a numeric field returning NA

I'm starting to learn R and I came across a situation I do not understand. I downloaded ENEM 2014 data (CSV file) and read it using: dados_enem <- read.csv(file="MICRODADOS_ENEM_2014.csv", header = TRUE, sep = ",") When I ask you to calc...
asked on 25.02.2016 / 14:56
1
answer

Filter using calculated value does not work in Django

I have a template in Django with fields largura and comprimento , and I would like to filter it by area: class Projeto(models.Model): largura = models.DecimalField(decimal_places=0, max_digits=4, default=0) comprimento = m...
asked on 07.04.2016 / 15:42
1
answer

Sort sequence of numbers in database with PHP

I'm having trouble developing a system that changes a sequence of numbers. I need this sequence to arrange items in the correct order. When saving an item in the bank, it receives a number for the sequence 1, 2, 3 ... and so on. I decided to...
asked on 13.05.2016 / 15:44
1
answer

Dependency injection in .NET Core

I am migrating a WebAPI project with .NET Framework 4.6 for .NET Core. In my project I use Unity to do Dependency Injection: var container = new UnityContainer(); DependencyResolver = new UnityDependencyResolver(container); container.Regist...
asked on 03.11.2017 / 22:09
1
answer

Configuration of service worker

Can you configure the code below the service worker to ignore the cache if the request that comes from the server is 200? My service worker is picking up routes that exist and are not cached and generating several errors in the application. W...
asked on 03.11.2017 / 15:08
2
answers

Why does the new ActionListener instance receive a parenthesis and a; (semicolon) at the end?

I've never seen this kind of code structure in the instance, what does it do?    The ActionListener class to instantiate it needs to be put like this: ActionListener trataEventos = new ActionListener(){ public void actionPerformed(java.aw...
asked on 01.04.2016 / 16:06