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 Mash (krazykart)
Race Number 4
Date Sat, 24 Jun 2023 17:47:17 +0000
Universe code
Speed 30 WPM Try to beat?
Accuracy 94.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. Loop
  2. for
  3. */
  4. while
  5. {
  6. null;
  7. stream
  8. {
  9. socket
  10. serverSocket.accept();
  11. socket.setSoTimeout(10
  12. socket.getInputStream();
  13. }
  14. (AccessControlException
  15. log.warn("StandardServer.accept
  16. exception:
  17. ace.getMessage(),
  18. ace);
  19. (IOException
  20. log.error("StandardServer.await:
  21. ",
  22. e);
  23. System.exit(1);
  24. }