Race Updates Discord About Merch
Home Profile History Competitions Texts Messages Friends Upgrade

typeracer

Pit Stop

Record your races with a typeracer account:

Create Your Account
  • Save your race history and scores.
  • Customize your profile and racecar.
  • It’s free, why not?
Racer Emran (emranhossainsikder)
Race Number 1
Date Sat, 17 Jun 2023 13:46:38 +0000
Universe code
Speed 15 WPM Try to beat?
Accuracy 87.7%
Rank 3rd place (out of 3)

Text typed:

/** Loop waiting for a connection and a valid command */ while (true) { Socket socket = null; InputStream stream = null; try { socket = serverSocket.accept(); socket.setSoTimeout(10 * 1000); stream = socket.getInputStream(); } catch (AccessControlException ace) { log.warn("StandardServer.accept security exception: " + ace.getMessage(), ace); continue; } catch (IOException e) { log.error("StandardServer.await: accept: ", e); System.exit(1); }
Tomcat Server (software) by Apache Project (see stats)

Typing Review:

Race text:
/** Loop waiting for a connection and a valid command */ while (true) { Socket socket = null; InputStream stream = null; try { socket = serverSocket.accept(); socket.setSoTimeout(10 * 1000); stream = socket.getInputStream(); } catch (AccessControlException ace) { log.warn("StandardServer.accept security exception: " + ace.getMessage(), ace); continue; } catch (IOException e) { log.error("StandardServer.await: accept: ", e); System.exit(1); }
Time:
0:00
Speed:
Accuracy:
Typing replay:
Analysis:
Mistakes:
  1. /**
  2. Loop
  3. for
  4. a
  5. connection
  6. and
  7. command
  8. */
  9. (true)
  10. {
  11. Socket
  12. socket
  13. stream
  14. =
  15. null;
  16. socket
  17. serverSocket.accept();
  18. socket.setSoTimeout(10
  19. *
  20. 1000);
  21. stream
  22. socket.getInputStream();
  23. (AccessControlException
  24. ace)
  25. log.warn("StandardServer.accept
  26. security
  27. exception:
  28. ace.getMessage(),
  29. ace);
  30. continue;
  31. e)
  32. log.error("StandardServer.await:
  33. accept:
  34. ",
  35. e);
  36. System.exit(1);