All Questions

3
answers

Difference between type text and varchar type in SQL Server

What's the difference between using type text instead of type varchar to store information in the database? Is there a performance problem? So I have a table in the database that has a text column and it several times timeout error...
asked on 17.12.2014 / 17:36
4
answers

How to determine if a number is a power of 2?

I need to develop an algorithm in VisuAlg where I enter a number and it tells me whether it is a power of 2 or not. What strategies can I use?     
asked on 01.06.2016 / 02:51
3
answers

Is it correct to prefix variable names with their type?

Is it customary / correct to use variables where the first letter refers to your typing? Eg: string sVariavel; int iVariavel; , etc ... EDIT: The name said is Hungarian notation . Is this a good practice? What is the good...
asked on 07.07.2016 / 15:37
3
answers

What is and what is a checksum for?

I was reading a question here on the site and I came across the term checksum . Several other times I've seen this term being used when talking about transferring files or some important data. After all, what is and what is the purpos...
asked on 01.03.2016 / 12:01
4
answers

Separate repeated values from a list

I have a list like this: [1,1,1,2,2,1,5,3,4,3,4] How to generate a new list with only one value each: [1,2,3,4,5] The first list is List<int> second can come in any type of list.     
asked on 29.03.2017 / 19:55
3
answers

How to generate an executable .jar using Maven?

Is it necessary to do some extra configuration to generate an executable .jar by Maven? As I've never used this technology in development desktop I'm a bit lost. When I build the project (the logs show that I built it successfully) and try...
asked on 11.06.2015 / 23:20
4
answers

How do I know if the date is the last day of the month?

I have a date saved in the database, and before I show it on the grid, I need to know if it's the last day of the month. I need this information to present it in a different color.     
asked on 18.08.2016 / 02:03
4
answers

How to share a Java project with a team? [closed]

Does anyone know of any versioning that allows you to work as a team using Java? For example, a Word Online , where everyone changes the file in real time, and changes are saved to the server.     
asked on 22.06.2016 / 18:59
4
answers

Software to create Class Diagram [closed]

I would like to know what softwares are used or if there is any online site to create class diagrams, could anyone tell me?     
asked on 11.10.2016 / 20:10
5
answers

What is actually the array?

Initially, it seems like a silly question. But my goal here is to come up with a more concrete concept about array . In languages such as JavaScript, array is an object that allows you to add and remove members to a sort of list. This list...
asked on 21.04.2017 / 16:49