All Questions

2
answers

Declaring a class with a reserved word name is a good idea?

Generally, when we are going to define names for class and functions, there is a concern when colliding with palavras-chaves of language. The curious thing is that I noticed that in PHP it is allowed to define class and functions with...
asked on 02.03.2015 / 13:49
1
answer

How to safely pass the token after authentication for angular application

I'm developing an angular addin for outlook - Office365 for a management application "Jasmin Software". The application is divided into two parts, A 1 is a javasscript application to handle authentication on the Aouth2 server, the second is the...
asked on 14.03.2018 / 18:06
2
answers

Form validation in HTML5

I'm doing a validation form using HTML5 and its own tags to validate the fields. I'm using the PATTERN , which limits the character type. But it does not work ... Fields are not being blocked. "Code", only numbers and "Name", only letters. C...
asked on 06.03.2015 / 18:12
2
answers

Why is the numbering of the months of the Date object starting at zero?

For example: var data:Date = new Date(); trace(data.month); //Supondo que o mês seja Janeiro: 0 I'd like some details as I know it's not just in ActionScript and Javascript that this happens. Why not simplify the month counter so that in a...
asked on 28.04.2014 / 15:00
2
answers

Executing JAR by Browser

I'm having trouble figuring out how to do it: What I Wish I want to create a Chrome / Firefox extension that when I press a button on the html of my extension, it runs a .JAR file going through the user settings parameter in the extension....
asked on 30.04.2014 / 22:52
2
answers

Is it bad to use the default PHP session engine?

I realize that many frameworks , like Codeigniter and Laravel 3 and 4 use a proprietary session storage mechanism. They do not use the default PHP mechanism (Variable $_SESSION and session_start , among other things). And when I...
asked on 26.01.2016 / 14:15
2
answers

Why is it not recommended to use DefaultTableModel?

I looked at some sites on how to fill a table in java, and many were suggested to avoid DefaultTableModel ? Why should you avoid using this class for cases of more complex objects? What does it imply in your use?     
asked on 18.01.2017 / 12:04
3
answers

How to sort an array by values?

Suppose I have the following data. Data = [3,5,1,7,3,9,10]; If I try to use the sort method in this array, sorting is done as if the data were not numeric. Data.sort() But the data type is numeric when I run the following function:...
asked on 20.03.2014 / 13:37
2
answers

VBA / Excel Combobox: Disable Auto-Complete

I am typing a text that is in a ComboBox of VBA / Excel , but the initial part of the text matches another text already included in the list, which I do not want), it changes the position of the list (the index). Can you handle this? When...
asked on 24.11.2015 / 22:27
1
answer

How to make a bubble chart, each filled in according to a ratio

I'm trying to make a chart look like this in R : Thechartisavailableat link . I do not need it to be dynamic like the link, but if it is, that's fine. In it, each bubble is divided between the colors blue and red according to the pr...
asked on 15.12.2015 / 16:26