All Questions

2
answers

Property all in CSS. What is it for and how does it work?

I was looking at CSS properties and I knew all , I just found it a bit confusing. I know it has 4 states. They are: initial , inherit , revert and unset . But I do not quite understand how each one works. Qu...
asked on 08.10.2018 / 16:55
4
answers

What happens when I convert int to char?

An integer has 4 bytes , whereas a char has only 1 byte . When I make this definition: int a = 1000; // 1111101000 char b = (char) a; I think it will only take 1 byte of data, but what I want to know is whether it will pick up a...
asked on 21.03.2014 / 21:30
3
answers

Select elements that contain a particular "date" attribute

On the page there are several elements with data attributes. To avoid going to add CSS classes to the elements, making the page code denser, I would like to select elements by the name of the data attribute. Example <div id...
asked on 14.01.2014 / 15:33
3
answers

How do I make the Caps Lock key warning activated?

How do I make a warning when the Caps Lock key is enabled in the password field? At first I would like solutions in pure JavaScript, but using jQuery and related will be accepted.     
asked on 10.05.2017 / 19:29
1
answer

What is the difference between WCF and a Web Services?

I've always worked with Web Services, but lately I've seen a lot about WCF, so my question came. What is the difference between WCF and a Web Services? Is there any improvement between one or the other or something that is better to use be...
asked on 26.06.2017 / 15:56
2
answers

When and why should we use SVG?

I develop for Android already has enough time, program natively, to be more specific. But lately I have had some doubts about using in-app images. At some point we will make some application that uses a vast amount of images and then a problem a...
asked on 15.12.2016 / 15:04
2
answers

Receive variable value without passing parameter

I have the following method: private string toCamelCase(string text) { text = string.Format("{0}{1}",text.Substring(0, 1).ToLower(),text.Substring(1)); return text; } To use it I need to call it like this: toCamelCase("OlaMundo");...
asked on 26.11.2014 / 15:20
2
answers

What is the purpose of the = operator in MySQL?

SELECT * FROM 'client' WHERE avatar <=> NULL This returned the only two items you have in the database, both for <=> and = . Another test I did was with <=> , which returns all items that the =...
asked on 09.06.2017 / 21:46
2
answers

Customize comparison between javascript objects

How do I determine what value javascript should use for logical operations on objects? I'm creating a competency object that needs the following features: Encapsulates the logic of creating a competency: month / year in MM / YYYY format...
asked on 28.11.2014 / 17:34
1
answer

Generic Tree, how to do?

I'm trying to mount a Generic Tree in java to mount a Boolean expression inside a genetic expression algorithm, this tree would store several types of variables, I'm not sure which is the most optimized way to do this, I was thinking of saving l...
asked on 03.07.2014 / 23:13