Posts by ProgramandoMil • 357 points
12 posts
-
1
votes2
answers104
viewsA: Java2d time-based drive
I made some changes to the loop: The first big mistake is that I was ignoring the design phase to do the calculations (occurs shortly after the call to logics()), which is a big mistake since the…
-
3
votes2
answers104
viewsQ: Java2d time-based drive
I’m trying to move an object using Java2d but I’m having some problems, I have following method: public void logics() throws Exception{ before = System.nanoTime(); loop.logics(diff); after =…
-
0
votes1
answer98
viewsQ: Reference return with possibility of invalid object
I have a class of a B tree that has a search method, the search method must return a reference to the value associated with the search key, so the user can change it if he wants, this is a pair used…
c++asked ProgramandoMil 357 -
2
votes1
answer61
viewsA: animation in image
Like I said, you need to add a test, I did it here: $(document).ready(function() { $('body').mousemove(function(e){ var hw = parseInt($("#box").css("width"))/2; if(e.pageX - hw < 0)…
-
2
votes1
answer150
viewsA: How to add Actor on a Screen with Libgdx?
Maybe it’s because Voce is not setting the Stage viewport, the viewport is used to determine how the Stage will be shown on the screen, I don’t see Voce doing this in your code, Voce can see how to…
-
1
votes0
answers243
viewsQ: UDP client and server send data but do not receive (C windows)
Hello I am trying to create an application that performs data exchange on the network, for that there is an initial connection using TCP sockets that is working normally, then comes the use of UDP…
-
1
votes1
answer51
viewsQ: Cmake 3.11 failed to compile REGEX
I’m trying to set up a library with Cmake 3.11 and I’m getting a build error from a REGEX string, the project asks for FLEX 2.5 with the function find_package: find_package(FLEX 2.5 REQUIRED) This…
compilationasked ProgramandoMil 357 -
0
votes1
answer386
viewsQ: PHP session is not configured
I’m using session_start to create a session for the user when he is authenticated to the server, but the session is not being maintained in the page exchange, I am using AJAX requests to…
-
5
votes1
answer1747
viewsA: AJAX request gives error and status "canceled"
Ok problem solved, I had to add a parameter to the click callback and use the method .preventDefault() in the event, to prevent the default behavior of submitting the form. Source:…
-
1
votes1
answer1747
viewsQ: AJAX request gives error and status "canceled"
I have that code: $("#go").click(function(){ var email = $("#email").val(); var password = $("#password").val(); $.ajax({ dataType:'html', type: 'post', data: 'email=' + email + '&password=' +…
-
3
votes1
answer439
viewsQ: Jframe Paint method does not show the drawings on the screen
I overloaded the method paint and I’m using the Graphics2d class to try to make the drawings, but nothing is being drawn on the screen, I could see with the Debugger that the method is run…
-
3
votes1
answer191
viewsQ: Interpreting XML with Jquery
I made a script with Jquery to use AJAX and it’s working. The problem is when interpreting the XML is returned, the XML is the result of a login attempt, it contains information indicating whether…