All Questions

2
answers

Do I need to import a module several times?

I have a class file and a file for the main program, in the two files I need Pygame. I import the classes in the main program this way from classes import * . Do I need to import Pygame into the classes and into the main program, or is Pyg...
asked on 16.10.2017 / 12:41
2
answers

MySQL Query - Count of crosstable records

I have the following tables: EachtupleofthePageViewstable(main)containsasingle-pageview.Ifasinglepersoninthesamesession(Sessions)viewsthesamepage(Pages),anewtupleisnotaddedinPageViews>.InsteadthePageViews.quantityfieldisincremented.Inonerepo...
asked on 06.12.2017 / 11:21
2
answers

How to save changeable parameters in the system?

I have an ASP.NET MVC project and I use web.config to save some parameters that will be used by the system, but should not be changed by any users. Now I have to implement some other parameters that can be changed by users, without ha...
asked on 09.11.2017 / 20:37
1
answer

What tools to optimize C # code? [closed]

Code optimizer tools aim, for example: - Code Removal: removes any class code, attribute, or dead method that is not referenced and used in the project. - Rewrite and reduce functions: rename as much as possible to further increase mem...
asked on 16.11.2017 / 16:57
2
answers

Filter Different texts in different positions in R

Good afternoon. I have the following data: NOME <- c("MARIA 1001", "MARIA 1002A", "JOSE 1003B", "PEDRO 1003", "CARLOS 1019J", “ANTONIO 50”, “MARIA 80”) VALOR <- c(10, 20, 30, 40, 50, 60, 70) dados <- data.frame(NOME, VALOR) I need...
asked on 28.12.2017 / 15:14
1
answer

Is it possible to compile an app using Java and Kotlin together?

Can I be part of the code in Java and elsewhere with Kotlin? Can anyone tell me?     
asked on 22.03.2018 / 23:03
3
answers

Optimize video in HTML 5

I'm developing a website. In every header of this site will have a video, would be the same video for all 'headers'. I used the tag video of HTML5 even though it stayed like this: <div class="video-institutional hidden-...
asked on 13.12.2017 / 17:22
2
answers

What does float ("NaN") and float ("inf") mean in Python?

I've seen a code like this: def _min(*args): res = float('inf') for value in args: if value < res: res = value return res I would like to know what is a float ("inf") and a float ("NaN").     
asked on 07.04.2018 / 03:01
2
answers

How to escape characters in Windows Batch?

I have the following script: start "" "https://site.com.br/app/index.jsf?username=nomecabuloso&token=tokenzera" However, when I run it, it is no more than index.jsf , it opens the following url: https://site.com.br/app/index.jsf...
asked on 12.09.2017 / 16:23
2
answers

What does a "Thread Safety" class mean?

According to MSDN a WebApp Class (Microsoft.Owin.Hosting) is Thread Safety . What does this mean exactly? This class specifically has a method Start that:    Start a web app .... Would every request to this app...
asked on 26.07.2015 / 22:18