All Questions

2
answers

Hexagon with css - blurry image

After many attempts I was able to transform an image into a hexagon with CSS only, I had many problems with SVG, js, etc. However, the image is perfect in IE (albeit unbelievable) and in Chrome it distorts a bit, it distorts Firefox a lot!...
asked on 27.05.2015 / 15:23
2
answers

How to sort the results of a ranking?

I'm developing a game, and in it I need to do a ranking according to the time it took the user to reach the end of the game. My question is, what kind of data should I use in my database to be able to organize when displaying the ranking?...
asked on 15.09.2015 / 19:05
5
answers

Read XML file in C #

I have a problem when reading an XML file in C #. In this this is a file of a pre-sale, and I have the following situation: in my xml I will have several pre-sales, and each pre-sale may have several items. So far so good, I'm able to identify t...
asked on 30.01.2015 / 20:39
1
answer

Rounding in C

I would like to know how I could ignore rounding in divisions, for example:    4/3 = 1.33 ... ~ 1 | 5/3 = 1.66 ... ~ 2 Right? I wanted to make a program in C, that in these cases, rounding is not done, because the idea is to increment...
asked on 20.07.2015 / 15:42
2
answers

How to create operators in C #?

How to create a C # operator? For example, There are operators like: * multiplicacao / divisao % percentual The question is: How can I create my own operator? For example: 100 ~ 2 = 200.8 Where ~ would be my operator that...
asked on 29.09.2015 / 05:50
1
answer

Tool for drawing graphics in java

I wonder if you have any tools with IReport that I can use to make a chart that looks like this image. I already used JFreechart, but I could not make it look alike! The values of the bars must be at the bottom and the labels at the top accordin...
asked on 03.02.2015 / 19:14
2
answers

What is the service layer in DDD?

Reading about DDD I've heard about the service layer and I'm a bit doubtful about it because from what I read a service can tell business logic. Basically the definition I saw is this:    Services are classes that contain business logic, but...
asked on 05.02.2015 / 19:28
2
answers

What is an extensible language?

I have found some extensible language definitions, extensible language , in which it is defined as a language that the programmer can modify. However, I did not quite understand how this can be done. Is it something related to syntax change?...
asked on 03.04.2017 / 22:21
1
answer

How do the selectors work, +, ~ in CSS?

Selector + div + p { font-size: 20px; } <div> </div> <p>Este é um paragrafo</p> <p>Este é outro paragrafo</p>    Get the first element found after your declaration. Selector ~ d...
asked on 04.04.2017 / 15:09
1
answer

Spring MVC integration and ratchet

I'm developing a system for my university's university restaurant with Spring MVC.    I need to connect the system with a TopData brand ratchet, which controls customer access to the restaurant. As I have never faced such a problem, I would l...
asked on 26.06.2017 / 14:49