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 Linsk (linsk)
Race Number 25
Date Mon, 25 Feb 2019 14:05:05 +0000
Universe code
Speed 54 WPM Try to beat?
Accuracy 95.8%
Rank 3rd place (out of 3)
Opponents paraphrohn (1st place)

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. connection
  2. (true)
  3. {
  4. InputStream
  5. serverSocket.accept();
  6. socket.setSoTimeout(10
  7. 1000);
  8. socket.getInputStream();
  9. {
  10. log.warn("StandardServer.accept
  11. exception:
  12. {
  13. log.error("StandardServer.await:
  14. System.exit(1);