All Questions

1
answer

How does "position: sticky" work?

The sticky is a new value of the position property and I read a little and understood that it is possible to create HTML elements that behave at one time as position: fixed and in another as position: relative dependi...
asked on 23.11.2016 / 12:47
1
answer

How to handle exception in a Webview?

I wanted to know how to handle exceptions in my Webview, because sometimes the site is off, and the page does not load, and sometimes crashes the application. I tried a try catch on load, but it does not enter the exception, I want it...
asked on 24.10.2014 / 22:15
3
answers

How to make a flex container have the width of the internal divs?

Good afternoon, I'm creating a layout with height:100% where I have 2 groups, and within each group I align the DIV s vertically and if any DIV does not fit in height max or there is resize da page, it goes to...
asked on 06.10.2016 / 17:24
1
answer

Translations dictionaries should use the original strings as keys?

I have already built a few multilingual systems and sites, and in the tools I knew there seems to be a tendency to use string in the original language of the application (usually English) p> For example, in a POT file of gettext :...
asked on 18.05.2015 / 23:01
2
answers

Why are floating-point primitives divided or multiplied by certain multiples of 10 displayed in scientific notation?

In this answer we can see that Java has a peculiarity when displaying the result in certain types of operations with types primitives that have a floating point, such as division by multiples of 10, which can be seen in the example taken from...
asked on 21.12.2017 / 20:00
1
answer

RFC6530 - Check if variable contains a well-formatted e-mail address in PHP

Recently adopted by Gmail as published in Official Gmail Blog , and as defined in RFC 6530 : Assuming a valida_email() function that would return Boolean: echo valida_email("té[email protected]"); // devolve TRUE echo valida_email(...
asked on 08.11.2014 / 01:48
3
answers

What is the difference between the match () and find () methods of the Matcher class?

I'm trying to understand the difference in use of these two class methods Matcher , but I could not quite understand the description of the documentation that says:    public boolean matches ()   Attempts to match the entire region agains...
asked on 02.10.2017 / 14:32
3
answers

What are unions? Why use them inside structs?

I would like to understand the differences between union and struct . I noticed that both can be accessed in the same way: u.membro uPrt->membro s.membro sPrt->membro In practice I've seen several codes using unions...
asked on 13.01.2015 / 12:53
1
answer

Performance Webpack Build.js

I'm starting with Webpack. It compiles all javascript and css files into a single file Build.js , Bundle.js , whatever ... In the end it generates a fully mined file using the Production Node command, but it nevertheless gener...
asked on 20.10.2017 / 21:03
2
answers

Is it possible to create an uppercase input and maintain the lowercase placeholder in CSS only?

How can I leave my lowercase placeholder and my uppercase text in css? I've tried: input { text-transform: uppercase; } <input type="text" placeholder="usuário">     
asked on 18.12.2015 / 19:31