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 cerealkiller (cerealkillerdvorak)
Race Number 72
Date Sat, 8 Feb 2025 16:55:21 +0000
Universe code
Speed 36 WPM Try to beat?
Accuracy 90.5%
Rank 1st 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. connection
  5. and
  6. valid
  7. */
  8. while
  9. {
  10. Socket
  11. socket
  12. InputStream
  13. {
  14. socket
  15. serverSocket.accept();
  16. socket.setSoTimeout(10
  17. *
  18. stream
  19. socket.getInputStream();
  20. }
  21. (AccessControlException
  22. ace)
  23. log.warn("StandardServer.accept
  24. security
  25. exception:
  26. ace.getMessage(),
  27. continue;
  28. (IOException
  29. e)
  30. {
  31. log.error("StandardServer.await:
  32. ",
  33. e);
  34. System.exit(1);