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 drialo (drialo)
Race Number 2
Date Wed, 2 Oct 2024 07:34:01 +0000
Universe code
Speed 16 WPM Try to beat?
Accuracy 95.4%
Rank 2nd 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. null;
  2. serverSocket.accept();
  3. socket.setSoTimeout(10
  4. 1000);
  5. stream
  6. socket.getInputStream();
  7. (AccessControlException
  8. ace)
  9. {
  10. log.warn("StandardServer.accept
  11. exception:
  12. "
  13. ace.getMessage(),
  14. continue;
  15. e)
  16. log.error("StandardServer.await:
  17. accept:
  18. e);