Posts by Lucas Dirani • 197 points
12 posts
-
0
votes1
answer161
viewsQ: Error connecting to database using Entity Framework
I am creating a WPF application, and decided to use the Entityframework to perform operations in my bank. I created a data model from an existing database in my Mysql Workbench, and the process was…
-
0
votes1
answer434
viewsQ: Many self relationship representation for many
I am creating an Entity-Relationship Model in which a Student can have many Students, thus characterizing many to many’s self-relationship. However, I am doubtful how to implement this relationship…
databaseasked Lucas Dirani 197 -
2
votes2
answers76
viewsQ: Doubt about functional or non-functional requirement
I recently started to read a little about functional and non-functional requirements, especially the various classifications that a non-functional requirement can have. However, I still have…
requirementsasked Lucas Dirani 197 -
0
votes2
answers539
viewsQ: Find consecutive numbers in a string in C#
I wonder if there is a simple way to find consecutive numbers (which are equal) in a string, so that it is possible to replace that string with a single value. For example: string input =…
-
0
votes1
answer495
viewsQ: How to generate a dynamic link within a condition in Thymeleaf?
I would like to know how I can generate a link within a condition in Thymeleaf. In my situation, if the condition is not satisfied, I wanted to create a link that would direct to a new form, in…
-
0
votes1
answer192
viewsQ: Creation and editing in the Spring Framework
I recently started to learn Spring, along with the Thymeleaf template engine for data display. However, I have been facing some problems that I cannot solve: When editing the Star Wars Movie entity,…
-
1
votes2
answers81
viewsQ: How to check dates in Javascript?
I have a form with two date inputs. One receives the start of the event, and the other the end of the event. With that in mind, I’m trying to create a Javascript function that makes it impossible…
javascriptasked Lucas Dirani 197 -
1
votes0
answers1474
viewsQ: How to make files available for download in PHP?
I wonder if it is possible to create files dynamically and make them available for download in PHP. Basically, I am recovering some data from the Database, and my idea was to automatically create a…
phpasked Lucas Dirani 197 -
2
votes0
answers48
viewsQ: Problems with HTTP Response
I’m studying the use of sockets and multithreading to mount an HTTP server in Java, but I’m going through some complications. When I run the server code, it opens correctly in Internet Explorer, but…
-
7
votes3
answers701
viewsQ: What to do when the argument passed in the constructor is invalid?
I’m playing a card game in Java, and one of the classes is responsible for starting the game. In the builder, I get the number of players who will participate. I am doing the validation of the…
-
4
votes1
answer399
viewsQ: What is the difference between Reverse Proxy and Forward Proxy?
I’m looking for the answer to this question, but most of the sources I consulted, including Stack Overflow itself, have not solved my question.
proxyasked Lucas Dirani 197 -
0
votes1
answer40
viewsQ: Problems to count and group fields in the database
I’m starting to study the SQL language and the interaction between the tables, and I came across an exercise in a list that I’m not able to solve. He asks the following: For each existing product…