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 Grant (grantly)
Race Number 34
Date Sat, 31 Aug 2024 03:19:37 +0000
Universe code
Speed 54 WPM Try to beat?
Accuracy 93.3%
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. waiting
  4. a
  5. valid
  6. command
  7. (true)
  8. {
  9. Socket
  10. socket
  11. null;
  12. {
  13. =
  14. serverSocket.accept();
  15. socket.setSoTimeout(10
  16. =
  17. socket.getInputStream();
  18. }
  19. (AccessControlException
  20. {
  21. log.warn("StandardServer.accept
  22. +
  23. continue;
  24. }
  25. log.error("StandardServer.await:
  26. e);
  27. System.exit(1);
  28. }