All Questions

1
answer

What is the difference between ordered, unordered and sorted?

These terms are used in some data structures to define how the elements are inserted and maintained, what does each one mean? Sorted and ordered mean the same thing? Unordered does it mean it is random?     
asked on 29.11.2016 / 16:38
2
answers

How to make a marquee without the tag marquee?

I need to use a marquee , but as everyone is saying marquee is a prehistoric thing and should not be used anymore, I am in doubt as to what to use in his place. On the MDN website it says this:    This feature is deprecated. While it may s...
asked on 04.04.2014 / 23:19
2
answers

How many parameters should a method have?

What is the maximum number of parameters a method should have? When should you consider that there are too many parameters? And what to do in this case? Tupiniquim and object-oriented version of the question: design - How many paramete...
asked on 12.04.2017 / 12:19
2
answers

What is the hell of the callbacks?

Going through some recent research, I came up with an unfamiliar term for myself: "The callback hell." I was curious and decided to research a little, arriving at the following code snippet: fs.readdir(source, function (err, files) { if (...
asked on 08.03.2017 / 14:11
1
answer

How to find out if JavaScript is disabled?

How can I check and display the message to the user that the browser's JavaScript is disabled? For example, it will do something, and if its JavaScript is disabled I show this message to it, so that it will enable in the browser. What code ca...
asked on 15.09.2014 / 16:46
1
answer

Name conventions for variables and functions in Python?

In R , there is a lot of freedom and variety in function names between packages. Names with dot ( get.this ), names with camelCase ( getThis ), names with underline ( get_this ). This has its pros and cons: but the fact i...
asked on 09.03.2014 / 02:54
1
answer

What is the minimum size of an object in memory?

I received an answer in my question that talks about an overhead that the object has. Every object has this overhead ? Does an object with no data also have this overhead ? Is there an object of size 0?     
asked on 27.04.2017 / 14:52
6
answers

Open Multiple Bootstrap Modes

According to the bootstrap documentation: Modal    Multiple modals are not supported and require additional code. I'm trying to open several modals inside others, these modals are called external files with data-remote and I'm ha...
asked on 17.08.2015 / 13:13
3
answers

How to choose a digital certificate? What to take into account?

I'm working in a virtual store, and I need to know the best certificate regarding Cost x Benefit , I need to indicate a certificate for the client, but this is the first time I work with a Remembering that because it is a virtual store, it w...
asked on 27.07.2015 / 20:05
2
answers

Why does jQuery fadeIn not work if element has zero opacity?

I have an element with zero opacity defined via JavaScript. In practice, this is equivalent to: <div style="opacity: 0"></div> My intention is to use jQuery to make a fade-in effect on the element. I've tried the following:...
asked on 17.01.2014 / 20:10