All Questions

1
answer

Insert line break (enter) using HTML codes

I'm trying to put an enter / line break ( \n , <br /> , etc) in title of an html element. For that, I was searching for HTML Codes something equivalent to the &nbsp used to give a "space". I found few referenc...
asked on 08.09.2014 / 11:43
2
answers

All keys work as enter

I'm developing a small system in PHP where the user just passes a badge and press enter. Somehow I need to make this enter automatic after a few seconds (the button is already in the focus after filling in the field) or when passing the badge ag...
asked on 24.08.2015 / 19:52
3
answers

How does the Xor Swap algorithm work?

I was studying bitwise operations and came across the Xor Swap algorithm. I understand what it does (it exchanges the value of two variables), but I do not understand how it does it, at the computation and coding level. Follow the algorithm i...
asked on 17.03.2014 / 01:27
2
answers

Is it better to parameterize your PreparedStatement even if the value is fixed?

I always read the blog Java Revisited and I was reading the article today Why use PreparedStatement in Java JDBC - Example Tutorial . At one point the author talks about parameterization of queries, it is better, safer and more performative to...
asked on 14.02.2014 / 19:25
2
answers

What is the meaning of a "Manifest" file in programming?

I believe I have already seen a file called manifest related to some libraries of certain programming languages. If I remember correctly, there is a manifest in Android Studio. I also remember seeing a file called manifest.json in...
asked on 25.06.2016 / 23:11
2
answers

How do I search for the default printer and print plain text on a dot matrix printer in .Net?

We have a thermal printer that does not support graphics printing - in this case, I'll have to send simple texts for it. Considering that our application will run on several different computers, each of them connected to a different printer a...
asked on 17.12.2013 / 15:02
2
answers

Curiosity about equality of Integers

Why System.out.println(Integer.valueOf("0")==Integer.valueOf("0")); System.out.println(Integer.valueOf("1000")==Integer.valueOf("1000")); returns true false ? ps. I know == is different from equals()     
asked on 31.01.2014 / 05:36
1
answer

What makes Python a multiparadigma programming language?

on this Wikipedia page lists some examples of multiparadigma language like C ++, Groovy , Oz, Ruby, Scala, Swift, Groovy and even Python . I particularly did not find the explanation so objective considering it. What makes Python a multipar...
asked on 23.02.2017 / 18:25
4
answers

What is the practical use of bitwise operators in PHP?

The bitwise bit operators used to manipulate specific bits are somewhat unusual (not to say rare) use in a PHP application. If we talk about escovação de bits in compiled languages, such as C/C++ , it is easier to understand...
asked on 01.03.2016 / 21:56
1
answer

How does the decolar.com site perform the fare search?

I'm thinking of creating some services to monitor airline fares and would like to know how the decolar.com website performs its searches. I mean, what kind of strategy does it use, whether it's some kind of request on a specific URL of the sites...
asked on 26.02.2014 / 18:07