This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO 2021-07-13 14:14:49,825] e2e.py: 781 ... still waiting for command to finish (85950 seconds) ... | |
[INFO 2021-07-13 14:15:19,852] e2e.py: 781 ... still waiting for command to finish (85980 seconds) ... | |
[INFO 2021-07-13 14:15:49,171] e2e.py: 781 ... still waiting for command to finish (86010 seconds) ... | |
[INFO 2021-07-13 14:16:19,560] e2e.py: 781 ... still waiting for command to finish (86040 seconds) ... | |
[INFO 2021-07-13 14:16:49,650] e2e.py: 781 ... still waiting for command to finish (86070 seconds) ... | |
[INFO 2021-07-13 14:17:19,317] e2e.py: 781 ... still waiting for command to finish (86100 seconds) ... | |
[INFO 2021-07-13 14:17:50,003] e2e.py: 781 ... still waiting for command to finish (86130 seconds) ... | |
[INFO 2021-07-13 14:18:20,098] e2e.py: 781 ... still waiting for command to finish (86161 seconds) ... | |
[INFO 2021-07-13 14:18:50,144] e2e.py: 781 ... still waiting for command to finish (86191 seconds) ... | |
[INFO 2021-07-13 14:19:19,719] e2e.py: 781 ... still waiting for command to finish (862 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-07-13 11:53:27,029 INFO updater.py:241 -- [1/7] Waiting for SSH to become available | |
2021-07-13 11:53:27,029 INFO updater.py:244 -- Running `uptime` as a test. | |
2021-07-13 11:53:27,068 INFO command_runner.py:361 -- Waiting for IP | |
2021-07-13 11:53:27,119 INFO command_runner.py:369 -- Not yet available, retrying in 5 seconds | |
2021-07-13 11:53:32,386 INFO command_runner.py:369 -- Not yet available, retrying in 5 seconds | |
2021-07-13 11:53:37,431 INFO command_runner.py:369 -- Not yet available, retrying in 5 seconds | |
2021-07-13 11:53:42,474 INFO command_runner.py:366 -- Received: 52.38.18.250 | |
2021-07-13 11:53:42,474 INFO log_timer.py:27 -- NodeUpdater: ins_kjnUu8eNaXanezjjmDYMgTfD: Got IP [LogTimer=15428ms] | |
2021-07-13 11:53:42,474 VINFO command_runner.py:509 -- Running `uptime` | |
2021-07-13 11:53:42,474 VVINFO command_runner.py:512 -- Full command is `ssh -tt -i /tmp/secret3liz_60k -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o IdentitiesOnly=yes -o ExitOnForwardFailure=yes -o ServerAliveInterval=5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-07-06 19:57:43,117 INFO worker.py:740 -- Connecting to existing Ray cluster at address: 192.168.86.157:6379 | |
(pid=60632) 2021-07-06 19:57:44,187 INFO http_state.py:72 -- Starting HTTP proxy with name 'SERVE_CONTROLLER_ACTOR:SERVE_PROXY_ACTOR-node:192.168.86.157-0' on node 'node:192.168.86.157-0' listening on '127.0.0.1:8000' | |
2021-07-06 19:57:45,140 INFO api.py:716 -- Started detached Serve instance in namespace 'ns'. | |
2021-07-06 19:57:45,146 INFO api.py:418 -- Updating deployment 'Fail'. | |
(pid=60634) INFO: Started server process [60634] | |
(pid=60632) 2021-07-06 19:57:45,241 INFO backend_state_manager.py:885 -- Adding 1 replicas to backend 'Fail'. | |
(pid=60632) 2021-07-06 19:57:45,247 INFO runtime_env.py:114 -- Using preinstalled conda environment: ray | |
(pid=60632) Adding SHOULD_START to replica_tag: Fail#bHWVIB, backend_tag: Fail | |
(pid=60638) 2021-07-06 19:57:47,354 ERROR backend_worker.py:83 -- Exception while running deployment class __init__: division by zero | |
(pid=60638) 2021-07-06 19:57:47,354 INFO backen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1.1 Implement an algorithm to determine if a string has all unique characters. What if you cannot use additional data structures. | |
public boolean isUnique(String s){ | |
int length = s.length(); | |
// ASCII table only has 128 unique characters, incluing commands | |
if(length > 256) return false; | |
boolean[] table = new boolean[256]; | |
for(int i = 0; i < length; i++){ | |
// Read ASCII int value of character | |
int code = (int) s.charAt(i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Evaluate | |
{ | |
public static void main(String[] args) | |
{ | |
Stack<String> ops = new Stack<String>(); | |
Stack<Double> vals = new Stack<Double>(); | |
while(!StdIn.isEmpty()) | |
{ | |
String s = StdIn.readString(); | |
if (s.equals("(")) ; |